=s||w){l={cp:p,segment:v};break}}if(l)break}var y=l.cp,m=l.segment,x=(s-h)/m.length,k=m.t1-m.t0,E=c?m.t0+k*x:m.t1-k*x;E=Tt(0,E,1),t=Ot(y.p0,y.p1,y.p2,E),i=Kc(y.p0,y.p1,y.p2,E);break;case"straight":case"segments":case"haystack":for(var S,_,C,j,O=0,P=r.allpts.length,T=0;T+3=s)break;var A=s-_,L=A/S;L=Tt(0,L,1),t=Pt(C,j,L),i=Xc(C,j);break}o("labelX",n,t.x),o("labelY",n,t.y),o("labelAutoAngle",n,i)}};s("source"),s("target"),this.applyLabelDimensions(e)}},Uc.applyLabelDimensions=function(e){this.applyPrefixedLabelDimensions(e),e.isEdge()&&(this.applyPrefixedLabelDimensions(e,"source"),this.applyPrefixedLabelDimensions(e,"target"))},Uc.applyPrefixedLabelDimensions=function(e,t){var n=e._private,r=this.getLabelText(e,t),i=this.calculateLabelDimensions(e,r),a=e.pstyle("line-height").pfValue,o=e.pstyle("text-wrap").strValue,c=Fe(n.rscratch,"labelWrapCachedLines",t)||[],u="wrap"!==o?1:Math.max(c.length,1),s=i.height/u,l=s*a,f=i.width,h=i.height+(u-1)*(a-1)*s;Ve(n.rstyle,"labelWidth",t,f),Ve(n.rscratch,"labelWidth",t,f),Ve(n.rstyle,"labelHeight",t,h),Ve(n.rscratch,"labelHeight",t,h),Ve(n.rscratch,"labelLineHeight",t,l)},Uc.getLabelText=function(e,t){var n=e._private,r=t?t+"-":"",i=e.pstyle(r+"label").strValue,a=e.pstyle("text-transform").value,o=function(e,r){return r?(Ve(n.rscratch,e,t,r),r):Fe(n.rscratch,e,t)};if(!i)return"";"none"==a||("uppercase"==a?i=i.toUpperCase():"lowercase"==a&&(i=i.toLowerCase()));var c=e.pstyle("text-wrap").value;if("wrap"===c){var u=o("labelKey");if(null!=u&&o("labelWrapKey")===u)return o("labelWrapCachedText");for(var s="",l=i.split("\n"),f=e.pstyle("text-max-width").pfValue,h=e.pstyle("text-overflow-wrap").value,d="anywhere"===h,b=[],p=/[\s\u200b]+/,g=d?"":" ",v=0;vf){for(var k=w.split(p),E="",S=0;SP)break;T+=i[N],N===i.length-1&&(L=!0)}return L||(T+=A),T}return i},Uc.getLabelJustification=function(e){var t=e.pstyle("text-justification").strValue,n=e.pstyle("text-halign").strValue;if("auto"!==t)return t;if(!e.isNode())return"center";switch(n){case"left":return"right";case"right":return"left";default:return"center"}},Uc.calculateLabelDimensions=function(e,t){var n=this,r=ye(t,e._private.labelDimsKey),i=n.labelDimCache||(n.labelDimCache=[]),a=i[r];if(null!=a)return a;var o=1,c=e.pstyle("font-style").strValue,u=o*e.pstyle("font-size").pfValue+"px",s=e.pstyle("font-family").strValue,l=e.pstyle("font-weight").strValue,f=this.labelCalcDiv;f||(f=this.labelCalcDiv=document.createElement("div"),document.body.appendChild(f));var h=f.style;return h.fontFamily=s,h.fontStyle=c,h.fontSize=u,h.fontWeight=l,h.position="absolute",h.left="-9999px",h.top="-9999px",h.zIndex="-1",h.visibility="hidden",h.pointerEvents="none",h.padding="0",h.lineHeight="1","wrap"===e.pstyle("text-wrap").value?h.whiteSpace="pre":h.whiteSpace="normal",f.textContent=t,i[r]={width:Math.ceil(f.clientWidth/o),height:Math.ceil(f.clientHeight/o)}},Uc.calculateLabelAngle=function(e,t){var n=e._private,r=n.rscratch,i=e.isEdge(),a=t?t+"-":"",o=e.pstyle(a+"text-rotation"),c=o.strValue;return"none"===c?0:i&&"autorotate"===c?r.labelAutoAngle:"autorotate"===c?0:o.pfValue},Uc.calculateLabelAngles=function(e){var t=this,n=e.isEdge(),r=e._private,i=r.rscratch;i.labelAngle=t.calculateLabelAngle(e),n&&(i.sourceLabelAngle=t.calculateLabelAngle(e,"source"),i.targetLabelAngle=t.calculateLabelAngle(e,"target"))};var Qc={},Zc=28,Jc=!1;Qc.getNodeShape=function(e){var t=this,n=e.pstyle("shape").value;if("cutrectangle"===n&&(e.width()1&&void 0!==arguments[1])||arguments[1];if(t.merge(e),n)for(var r=0;r=e.desktopTapThreshold2}var P=r(t);v&&(e.hoverData.tapholdCancelled=!0);var T=function(){var t=e.hoverData.dragDelta=e.hoverData.dragDelta||[];0===t.length?(t.push(m[0]),t.push(m[1])):(t[0]+=m[0],t[1]+=m[1])};o=!0,n(p,["mousemove","vmousemove","tapdrag"],t,{x:l[0],y:l[1]});var A=function(){e.data.bgActivePosistion=void 0,e.hoverData.selecting||c.emit({originalEvent:t,type:"boxstart",position:{x:l[0],y:l[1]}}),d[4]=1,e.hoverData.selecting=!0,e.redrawHint("select",!0),e.redraw()};if(3===e.hoverData.which){if(v){var L={originalEvent:t,type:"cxtdrag",position:{x:l[0],y:l[1]}};y?y.emit(L):c.emit(L),e.hoverData.cxtDragged=!0,e.hoverData.cxtOver&&p===e.hoverData.cxtOver||(e.hoverData.cxtOver&&e.hoverData.cxtOver.emit({originalEvent:t,type:"cxtdragout",position:{x:l[0],y:l[1]}}),e.hoverData.cxtOver=p,p&&p.emit({originalEvent:t,type:"cxtdragover",position:{x:l[0],y:l[1]}}))}}else if(e.hoverData.dragging){if(o=!0,c.panningEnabled()&&c.userPanningEnabled()){var N;if(e.hoverData.justStartedPan){var I=e.hoverData.mdownPos;N={x:(l[0]-I[0])*u,y:(l[1]-I[1])*u},e.hoverData.justStartedPan=!1}else N={x:m[0]*u,y:m[1]*u};c.panBy(N),e.hoverData.dragged=!0}l=e.projectIntoViewport(t.clientX,t.clientY)}else if(1!=d[4]||null!=y&&!y.pannable()){if(y&&y.pannable()&&y.active()&&y.unactivate(),y&&y.grabbed()||p==w||(w&&n(w,["mouseout","tapdragout"],t,{x:l[0],y:l[1]}),p&&n(p,["mouseover","tapdragover"],t,{x:l[0],y:l[1]}),e.hoverData.last=p),y)if(v){if(c.boxSelectionEnabled()&&P)y&&y.grabbed()&&(g(x),y.emit("freeon"),x.emit("free"),e.dragData.didDrag&&(y.emit("dragfreeon"),x.emit("dragfree"))),A();else if(y&&y.grabbed()&&e.nodeIsDraggable(y)){var D=!e.dragData.didDrag;D&&e.redrawHint("eles",!0),e.dragData.didDrag=!0;var M=c.collection();e.hoverData.draggingEles||b(x,{inDragLayer:!0});var R={x:0,y:0};if(j(m[0])&&j(m[1])&&(R.x+=m[0],R.y+=m[1],D)){var B=e.hoverData.dragDelta;B&&j(B[0])&&j(B[1])&&(R.x+=B[0],R.y+=B[1])}for(var H=0;H0&&e.redrawHint("eles",!0),e.dragData.possibleDragElements=l=o.collection()),s!=f||e.dragData.didDrag||e.hoverData.selecting||null!=s&&s._private.selectable&&(e.hoverData.dragging||("additive"===o.selectionType()||h?s.selected()?s.unselect(["tapunselect"]):s.select(["tapselect"]):h||(o.$(t).unmerge(s).unselect(["tapunselect"]),s.select(["tapselect"]))),e.redrawHint("eles",!0)),e.hoverData.selecting){var p=o.collection(e.getAllInBox(u[0],u[1],u[2],u[3]));e.redrawHint("select",!0),p.length>0&&e.redrawHint("eles",!0),o.emit({type:"boxend",originalEvent:i,position:{x:c[0],y:c[1]}});var v=function(e){return e.selectable()&&!e.selected()};"additive"===o.selectionType()||h||o.$(t).unmerge(p).unselect(),p.emit("box").stdFilter(v).select().emit("boxselect"),e.redraw()}if(e.hoverData.dragging&&(e.hoverData.dragging=!1,e.redrawHint("select",!0),e.redrawHint("eles",!0),e.redraw()),!u[4]){e.redrawHint("drag",!0),e.redrawHint("eles",!0);var w=f&&f.grabbed();g(l),w&&(f.emit("freeon"),l.emit("free"),e.dragData.didDrag&&(f.emit("dragfreeon"),l.emit("dragfree")))}}u[4]=0,e.hoverData.down=null,e.hoverData.cxtStarted=!1,e.hoverData.draggingEles=!1,e.hoverData.selecting=!1,e.hoverData.isOverThresholdDrag=!1,e.dragData.didDrag=!1,e.hoverData.dragged=!1,e.hoverData.dragDelta=[],e.hoverData.mdownPos=null,e.hoverData.mdownGPos=null}}),!1);var C,O,P,T,A,L,N,I,D,M,R,B,H,G=function(t){if(!e.scrollingPage){var n=e.cy,r=e.projectIntoViewport(t.clientX,t.clientY),i=[r[0]*n.zoom()+n.pan().x,r[1]*n.zoom()+n.pan().y];if(e.hoverData.draggingEles||e.hoverData.dragging||e.hoverData.cxtStarted||S())t.preventDefault();else if(n.panningEnabled()&&n.userPanningEnabled()&&n.zoomingEnabled()&&n.userZoomingEnabled()){var a;t.preventDefault(),e.data.wheelZooming=!0,clearTimeout(e.data.wheelTimeout),e.data.wheelTimeout=setTimeout((function(){e.data.wheelZooming=!1,e.redrawHint("eles",!0),e.redraw()}),150),a=null!=t.deltaY?t.deltaY/-250:null!=t.wheelDeltaY?t.wheelDeltaY/1e3:t.wheelDelta/1e3,a*=e.wheelSensitivity;var o=1===t.deltaMode;o&&(a*=33),n.zoom({level:n.zoom()*Math.pow(10,a),renderedPosition:{x:i[0],y:i[1]}})}}};e.registerBinding(e.container,"wheel",G,!0),e.registerBinding(window,"scroll",(function(t){e.scrollingPage=!0,clearTimeout(e.scrollingPageTimeout),e.scrollingPageTimeout=setTimeout((function(){e.scrollingPage=!1}),250)}),!0),e.registerBinding(e.container,"mouseout",(function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseout",position:{x:n[0],y:n[1]}})}),!1),e.registerBinding(e.container,"mouseover",(function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseover",position:{x:n[0],y:n[1]}})}),!1);var Y,z,F,V,$=function(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))},q=function(e,t,n,r){return(n-e)*(n-e)+(r-t)*(r-t)};if(e.registerBinding(e.container,"touchstart",Y=function(t){if(_(t)){w(),e.touchData.capture=!0,e.data.bgActivePosistion=void 0;var r=e.cy,i=e.touchData.now,a=e.touchData.earlier;if(t.touches[0]){var o=e.projectIntoViewport(t.touches[0].clientX,t.touches[0].clientY);i[0]=o[0],i[1]=o[1]}if(t.touches[1]){o=e.projectIntoViewport(t.touches[1].clientX,t.touches[1].clientY);i[2]=o[0],i[3]=o[1]}if(t.touches[2]){o=e.projectIntoViewport(t.touches[2].clientX,t.touches[2].clientY);i[4]=o[0],i[5]=o[1]}if(t.touches[1]){e.touchData.singleTouchMoved=!0,g(e.dragData.touchDragEles);var c=e.findContainerClientCoords();D=c[0],M=c[1],R=c[2],B=c[3],C=t.touches[0].clientX-D,O=t.touches[0].clientY-M,P=t.touches[1].clientX-D,T=t.touches[1].clientY-M,H=0<=C&&C<=R&&0<=P&&P<=R&&0<=O&&O<=B&&0<=T&&T<=B;var u=r.pan(),s=r.zoom();A=$(C,O,P,T),L=q(C,O,P,T),N=[(C+P)/2,(O+T)/2],I=[(N[0]-u.x)/s,(N[1]-u.y)/s];var f=200,h=f*f;if(L=1){for(var S=e.touchData.startPosition=[],j=0;j=e.touchTapThreshold2}if(r&&e.touchData.cxt){t.preventDefault();var k=t.touches[0].clientX-D,E=t.touches[0].clientY-M,S=t.touches[1].clientX-D,N=t.touches[1].clientY-M,R=q(k,E,S,N),B=R/L,G=150,Y=G*G,z=1.5,F=z*z;if(B>=F||R>=Y){e.touchData.cxt=!1,e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var V={originalEvent:t,type:"cxttapend",position:{x:c[0],y:c[1]}};e.touchData.start?(e.touchData.start.unactivate().emit(V),e.touchData.start=null):o.emit(V)}}if(r&&e.touchData.cxt){V={originalEvent:t,type:"cxtdrag",position:{x:c[0],y:c[1]}};e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),e.touchData.start?e.touchData.start.emit(V):o.emit(V),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxtDragged=!0;var U=e.findNearestElement(c[0],c[1],!0,!0);e.touchData.cxtOver&&U===e.touchData.cxtOver||(e.touchData.cxtOver&&e.touchData.cxtOver.emit({originalEvent:t,type:"cxtdragout",position:{x:c[0],y:c[1]}}),e.touchData.cxtOver=U,U&&U.emit({originalEvent:t,type:"cxtdragover",position:{x:c[0],y:c[1]}}))}else if(r&&t.touches[2]&&o.boxSelectionEnabled())t.preventDefault(),e.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,e.touchData.selecting||o.emit({originalEvent:t,type:"boxstart",position:{x:c[0],y:c[1]}}),e.touchData.selecting=!0,e.touchData.didSelect=!0,i[4]=1,i&&0!==i.length&&void 0!==i[0]?(i[2]=(c[0]+c[2]+c[4])/3,i[3]=(c[1]+c[3]+c[5])/3):(i[0]=(c[0]+c[2]+c[4])/3,i[1]=(c[1]+c[3]+c[5])/3,i[2]=(c[0]+c[2]+c[4])/3+1,i[3]=(c[1]+c[3]+c[5])/3+1),e.redrawHint("select",!0),e.redraw();else if(r&&t.touches[1]&&!e.touchData.didSelect&&o.zoomingEnabled()&&o.panningEnabled()&&o.userZoomingEnabled()&&o.userPanningEnabled()){t.preventDefault(),e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var W=e.dragData.touchDragEles;if(W){e.redrawHint("drag",!0);for(var X=0;X0&&!e.hoverData.draggingEles&&!e.swipePanning&&null!=e.data.bgActivePosistion&&(e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),e.redraw())}},!1),e.registerBinding(window,"touchcancel",F=function(t){var n=e.touchData.start;e.touchData.capture=!1,n&&n.unactivate()}),e.registerBinding(window,"touchend",V=function(r){var i=e.touchData.start,a=e.touchData.capture;if(a){0===r.touches.length&&(e.touchData.capture=!1),r.preventDefault();var o=e.selection;e.swipePanning=!1,e.hoverData.draggingEles=!1;var c,u=e.cy,s=u.zoom(),l=e.touchData.now,f=e.touchData.earlier;if(r.touches[0]){var h=e.projectIntoViewport(r.touches[0].clientX,r.touches[0].clientY);l[0]=h[0],l[1]=h[1]}if(r.touches[1]){h=e.projectIntoViewport(r.touches[1].clientX,r.touches[1].clientY);l[2]=h[0],l[3]=h[1]}if(r.touches[2]){h=e.projectIntoViewport(r.touches[2].clientX,r.touches[2].clientY);l[4]=h[0],l[5]=h[1]}if(i&&i.unactivate(),e.touchData.cxt){if(c={originalEvent:r,type:"cxttapend",position:{x:l[0],y:l[1]}},i?i.emit(c):u.emit(c),!e.touchData.cxtDragged){var d={originalEvent:r,type:"cxttap",position:{x:l[0],y:l[1]}};i?i.emit(d):u.emit(d)}return e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxt=!1,e.touchData.start=null,void e.redraw()}if(!r.touches[2]&&u.boxSelectionEnabled()&&e.touchData.selecting){e.touchData.selecting=!1;var b=u.collection(e.getAllInBox(o[0],o[1],o[2],o[3]));o[0]=void 0,o[1]=void 0,o[2]=void 0,o[3]=void 0,o[4]=0,e.redrawHint("select",!0),u.emit({type:"boxend",originalEvent:r,position:{x:l[0],y:l[1]}});var p=function(e){return e.selectable()&&!e.selected()};b.emit("box").stdFilter(p).select().emit("boxselect"),b.nonempty()&&e.redrawHint("eles",!0),e.redraw()}if(null!=i&&i.unactivate(),r.touches[2])e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);else if(r.touches[1]);else if(r.touches[0]);else if(!r.touches[0]){e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var v=e.dragData.touchDragEles;if(null!=i){var w=i._private.grabbed;g(v),e.redrawHint("drag",!0),e.redrawHint("eles",!0),w&&(i.emit("freeon"),v.emit("free"),e.dragData.didDrag&&(i.emit("dragfreeon"),v.emit("dragfree"))),n(i,["touchend","tapend","vmouseup","tapdragout"],r,{x:l[0],y:l[1]}),i.unactivate(),e.touchData.start=null}else{var y=e.findNearestElement(l[0],l[1],!0,!0);n(y,["touchend","tapend","vmouseup","tapdragout"],r,{x:l[0],y:l[1]})}var m=e.touchData.startPosition[0]-l[0],x=m*m,k=e.touchData.startPosition[1]-l[1],E=k*k,S=x+E,_=S*s*s;e.touchData.singleTouchMoved||(i||u.$(":selected").unselect(["tapunselect"]),n(i,["tap","vclick"],r,{x:l[0],y:l[1]})),null!=i&&!e.dragData.didDrag&&i._private.selectable&&_0)return b[0]}return null},h=Object.keys(l),d=0;d0?f:Vt(i,a,e,t,n,r,o)},checkPoint:function(e,t,n,r,i,a,o){var c=hn(r,i),u=2*c;if(Zt(e,t,this.points,a,o,r,i-u,[0,-1],n))return!0;if(Zt(e,t,this.points,a,o,r-u,i,[0,-1],n))return!0;var s=r/2+2*n,l=i/2+2*n,f=[a-s,o-l,a-s,o,a+s,o,a+s,o-l];return!!Qt(e,t,f)||(!!nn(e,t,u,u,a+r/2-c,o+i/2-c,n)||!!nn(e,t,u,u,a-r/2+c,o+i/2-c,n))}}},registerNodeShapes:function(){var e=this.nodeShapes={},t=this;this.generateEllipse(),this.generatePolygon("triangle",sn(3,0)),this.generatePolygon("rectangle",sn(4,0)),e["square"]=e["rectangle"],this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle(),this.generatePolygon("diamond",[0,1,1,0,0,-1,-1,0]),this.generatePolygon("pentagon",sn(5,0)),this.generatePolygon("hexagon",sn(6,0)),this.generatePolygon("heptagon",sn(7,0)),this.generatePolygon("octagon",sn(8,0));var n=new Array(20),r=fn(5,0),i=fn(5,Math.PI/5),a=.5*(3-Math.sqrt(5));a*=1.57;for(var o=0;o=e.deqFastCost*p)break}else if(i){if(d>=e.deqCost*u||d>=e.deqAvgCost*c)break}else if(b>=e.deqNoDrawCost*fu)break;var g=e.deq(t,f,l);if(!(g.length>0))break;for(var v=0;v0&&(e.onDeqd(t,s),!i&&e.shouldRedraw(t,s,f,l)&&r())},o=e.priority||Pe;n.beforeRender(a,o(t))}}}},du=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:je;c(this,e),this.idsByKey=new qe,this.keyForId=new qe,this.cachesByLvl=new qe,this.lvls=[],this.getKey=t,this.doesEleInvalidateKey=n}return s(e,[{key:"getIdsFor",value:function(e){null==e&&Te("Can not get id list for null key");var t=this.idsByKey,n=this.idsByKey.get(e);return n||(n=new Xe,t.set(e,n)),n}},{key:"addIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).add(t)}},{key:"deleteIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e)["delete"](t)}},{key:"getNumberOfIdsForKey",value:function(e){return null==e?0:this.getIdsFor(e).size}},{key:"updateKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t),r=this.getKey(e);this.deleteIdForKey(n,t),this.addIdForKey(r,t),this.keyForId.set(t,r)}},{key:"deleteKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteIdForKey(n,t),this.keyForId["delete"](t)}},{key:"keyHasChangedFor",value:function(e){var t=e.id(),n=this.keyForId.get(t),r=this.getKey(e);return n!==r}},{key:"isInvalid",value:function(e){return this.keyHasChangedFor(e)||this.doesEleInvalidateKey(e)}},{key:"getCachesAt",value:function(e){var t=this.cachesByLvl,n=this.lvls,r=t.get(e);return r||(r=new qe,t.set(e,r),n.push(e)),r}},{key:"getCache",value:function(e,t){return this.getCachesAt(t).get(e)}},{key:"get",value:function(e,t){var n=this.getKey(e),r=this.getCache(n,t);return null!=r&&this.updateKeyMappingFor(e),r}},{key:"getForCachedKey",value:function(e,t){var n=this.keyForId.get(e.id()),r=this.getCache(n,t);return r}},{key:"hasCache",value:function(e,t){return this.getCachesAt(t).has(e)}},{key:"has",value:function(e,t){var n=this.getKey(e);return this.hasCache(n,t)}},{key:"setCache",value:function(e,t,n){n.key=e,this.getCachesAt(t).set(e,n)}},{key:"set",value:function(e,t,n){var r=this.getKey(e);this.setCache(r,t,n),this.updateKeyMappingFor(e)}},{key:"deleteCache",value:function(e,t){this.getCachesAt(t)["delete"](e)}},{key:"delete",value:function(e,t){var n=this.getKey(e);this.deleteCache(n,t)}},{key:"invalidateKey",value:function(e){var t=this;this.lvls.forEach((function(n){return t.deleteCache(e,n)}))}},{key:"invalidate",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteKeyMappingFor(e);var r=this.doesEleInvalidateKey(e);return r&&this.invalidateKey(n),r||0===this.getNumberOfIdsForKey(n)}}]),e}(),bu=25,pu=50,gu=-4,vu=3,wu=7.99,yu=8,mu=1024,xu=1024,ku=1024,Eu=.2,Su=.8,_u=10,Cu=.15,ju=.1,Ou=.9,Pu=.9,Tu=100,Au=1,Lu={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},Nu=He({getKey:null,doesEleInvalidateKey:je,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:Ce,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),Iu=function(e,t){var n=this;n.renderer=e,n.onDequeues=[];var r=Nu(t);te(n,r),n.lookup=new du(r.getKey,r.doesEleInvalidateKey),n.setupDequeueing()},Du=Iu.prototype;Du.reasons=Lu,Du.getTextureQueue=function(e){var t=this;return t.eleImgCaches=t.eleImgCaches||{},t.eleImgCaches[e]=t.eleImgCaches[e]||[]},Du.getRetiredTextureQueue=function(e){var t=this,n=t.eleImgCaches.retired=t.eleImgCaches.retired||{},r=n[e]=n[e]||[];return r},Du.getElementQueue=function(){var e=this,t=e.eleCacheQueue=e.eleCacheQueue||new a((function(e,t){return t.reqs-e.reqs}));return t},Du.getElementKeyToQueue=function(){var e=this,t=e.eleKeyToCacheQueue=e.eleKeyToCacheQueue||{};return t},Du.getElement=function(e,t,n,r,i){var a=this,o=this.renderer,c=o.cy.zoom(),u=this.lookup;if(0===t.w||0===t.h||isNaN(t.w)||isNaN(t.h)||!e.visible())return null;if(!a.allowEdgeTxrCaching&&e.isEdge()||!a.allowParentTxrCaching&&e.isParent())return null;if(null==r&&(r=Math.ceil(kt(c*n))),r=wu||r>vu)return null;var s=Math.pow(2,r),l=t.h*s,f=t.w*s,h=o.eleTextBiggerThanMin(e,s);if(!this.isVisible(e,h))return null;var d,b=u.get(e,r);if(b&&b.invalidated&&(b.invalidated=!1,b.texture.invalidatedWidth-=b.width),b)return b;if(d=l<=bu?bu:l<=pu?pu:Math.ceil(l/pu)*pu,l>ku||f>xu)return null;var p=a.getTextureQueue(d),g=p[p.length-2],v=function(){return a.recycleTexture(d,f)||a.addTexture(d,f)};g||(g=p[p.length-1]),g||(g=v()),g.width-g.usedWidthr;j--)_=a.getElement(e,t,n,j,Lu.downscale);C()}else{var O;if(!m&&!x&&!k)for(var P=r-1;P>=gu;P--){var T=u.get(e,P);if(T){O=T;break}}if(y(O))return a.queueElement(e,r),O;g.context.translate(g.usedWidth,0),g.context.scale(s,s),this.drawElement(g.context,e,t,h,!1),g.context.scale(1/s,1/s),g.context.translate(-g.usedWidth,0)}return b={x:g.usedWidth,texture:g,level:r,scale:s,width:f,height:l,scaledLabelShown:h},g.usedWidth+=Math.ceil(f+yu),g.eleCaches.push(b),u.set(e,r,b),a.checkTextureFullness(g),b},Du.invalidateElements=function(e){for(var t=0;t=Eu*e.width&&this.retireTexture(e)},Du.checkTextureFullness=function(e){var t=this,n=t.getTextureQueue(e.height);e.usedWidth/e.width>Su&&e.fullnessChecks>=_u?Ge(n,e):e.fullnessChecks++},Du.retireTexture=function(e){var t=this,n=e.height,r=t.getTextureQueue(n),i=this.lookup;Ge(r,e),e.retired=!0;for(var a=e.eleCaches,o=0;o=t)return o.retired=!1,o.usedWidth=0,o.invalidatedWidth=0,o.fullnessChecks=0,Ye(o.eleCaches),o.context.setTransform(1,0,0,1,0,0),o.context.clearRect(0,0,o.width,o.height),Ge(i,o),r.push(o),o}},Du.queueElement=function(e,t){var n=this,r=n.getElementQueue(),i=n.getElementKeyToQueue(),a=this.getKey(e),o=i[a];if(o)o.level=Math.max(o.level,t),o.eles.merge(e),o.reqs++,r.updateItem(o);else{var c={eles:e.spawn().merge(e),level:t,reqs:1,key:a};r.push(c),i[a]=c}},Du.dequeue=function(e){for(var t=this,n=t.getElementQueue(),r=t.getElementKeyToQueue(),i=[],a=t.lookup,o=0;o0))break;var c=n.pop(),u=c.key,s=c.eles[0],l=a.hasCache(s,c.level);if(r[u]=null,!l){i.push(c);var f=t.getBoundingBox(s);t.getElement(s,f,e,c.level,Lu.dequeue)}}return i},Du.removeFromQueue=function(e){var t=this,n=t.getElementQueue(),r=t.getElementKeyToQueue(),i=this.getKey(e),a=r[i];null!=a&&(1===a.eles.length?(a.reqs=_e,n.updateItem(a),n.pop(),r[i]=null):a.eles.unmerge(e))},Du.onDequeue=function(e){this.onDequeues.push(e)},Du.offDequeue=function(e){Ge(this.onDequeues,e)},Du.setupDequeueing=hu.setupDequeueing({deqRedrawThreshold:Tu,deqCost:Cu,deqAvgCost:ju,deqNoDrawCost:Ou,deqFastCost:Pu,deq:function(e,t,n){return e.dequeue(t,n)},onDeqd:function(e,t){for(var n=0;n=Hu||n>Bu)return null;r.validateLayersElesOrdering(n,e);var u,s,l=r.layersByLevel,f=Math.pow(2,n),h=l[n]=l[n]||[],d=r.levelIsComplete(n,e),b=function(){var t=function(t){if(r.validateLayersElesOrdering(t,e),r.levelIsComplete(t,e))return s=l[t],!0},i=function(e){if(!s)for(var r=n+e;Ru<=r&&r<=Bu;r+=e)if(t(r))break};i(1),i(-1);for(var a=h.length-1;a>=0;a--){var o=h[a];o.invalid&&Ge(h,o)}};if(d)return h;b();var p=function(){if(!u){u=At();for(var t=0;tWu)return null;var a=r.makeLayer(u,n);if(null!=t){var o=h.indexOf(t)+1;h.splice(o,0,a)}else(void 0===e.insert||e.insert)&&h.unshift(a);return a};if(r.skipping&&!c)return null;for(var v=null,w=e.length/Mu,y=!c,m=0;m=w||!Ft(v.bb,x.boundingBox()))&&(v=g({insert:!0,after:v}),!v))return null;s||y?r.queueLayer(v,x):r.drawEleInLayer(v,x,n,t),v.eles.push(x),E[n]=v}}return s||(y?null:h)},Qu.getEleLevelForLayerLevel=function(e,t){return e},Qu.drawEleInLayer=function(e,t,n,r){var i=this,a=this.renderer,o=e.context,c=t.boundingBox();0!==c.w&&0!==c.h&&t.visible()&&(n=i.getEleLevelForLayerLevel(n,r),a.setImgSmoothing(o,!1),a.drawCachedElement(o,t,null,null,n,Xu),a.setImgSmoothing(o,!0))},Qu.levelIsComplete=function(e,t){var n=this,r=n.layersByLevel[e];if(!r||0===r.length)return!1;for(var i=0,a=0;a0)return!1;if(o.invalid)return!1;i+=o.eles.length}return i===t.length},Qu.validateLayersElesOrdering=function(e,t){var n=this.layersByLevel[e];if(n)for(var r=0;r0){t=!0;break}}return t},Qu.invalidateElements=function(e){var t=this;0!==e.length&&(t.lastInvalidationTime=be(),0!==e.length&&t.haveLayers()&&t.updateElementsInLayers(e,(function(e,n,r){t.invalidateLayer(e)})))},Qu.invalidateLayer=function(e){if(this.lastInvalidationTime=be(),!e.invalid){var t=e.level,n=e.eles,r=this.layersByLevel[t];Ge(r,e),e.elesQueue=[],e.invalid=!0,e.replacement&&(e.replacement.invalid=!0);for(var i=0;i3&&void 0!==arguments[3])||arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],o=this,c=t._private.rscratch;if((!a||t.visible())&&!c.badLine&&null!=c.allpts&&!isNaN(c.allpts[0])){var u;n&&(u=n,e.translate(-u.x1,-u.y1));var s=a?t.pstyle("opacity").value:1,l=t.pstyle("line-style").value,f=t.pstyle("width").pfValue,h=t.pstyle("line-cap").value,d=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s;e.lineWidth=f,e.lineCap=h,o.eleStrokeStyle(e,t,n),o.drawEdgePath(t,e,c.allpts,l),e.lineCap="butt"},b=function(){i&&o.drawEdgeOverlay(e,t)},p=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s;o.drawArrowheads(e,t,n)},g=function(){o.drawElementText(e,t,null,r)};e.lineJoin="round";var v="yes"===t.pstyle("ghost").value;if(v){var w=t.pstyle("ghost-offset-x").pfValue,y=t.pstyle("ghost-offset-y").pfValue,m=t.pstyle("ghost-opacity").value,x=s*m;e.translate(w,y),d(x),p(x),e.translate(-w,-y)}d(),p(),b(),g(),n&&e.translate(u.x1,u.y1)}},drawEdgeOverlay:function(e,t){if(t.visible()){var n=t.pstyle("overlay-opacity").value;if(0!==n){var r=this,i=r.usePaths(),a=t._private.rscratch,o=t.pstyle("overlay-padding").pfValue,c=2*o,u=t.pstyle("overlay-color").value;e.lineWidth=c,"self"!==a.edgeType||i?e.lineCap="round":e.lineCap="butt",r.colorStrokeStyle(e,u[0],u[1],u[2],n),r.drawEdgePath(t,e,a.allpts,"solid")}}},drawEdgePath:function(e,t,n,r){var i,a=e._private.rscratch,o=t,c=!1,u=this.usePaths(),s=e.pstyle("line-dash-pattern").pfValue,l=e.pstyle("line-dash-offset").pfValue;if(u){var f=n.join("$"),h=a.pathCacheKey&&a.pathCacheKey===f;h?(i=t=a.pathCache,c=!0):(i=t=new Path2D,a.pathCacheKey=f,a.pathCache=i)}if(o.setLineDash)switch(r){case"dotted":o.setLineDash([1,1]);break;case"dashed":o.setLineDash(s),o.lineDashOffset=l;break;case"solid":o.setLineDash([]);break}if(!c&&!a.badLine)switch(t.beginPath&&t.beginPath(),t.moveTo(n[0],n[1]),a.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var d=2;d+35&&void 0!==arguments[5]?arguments[5]:5;e.beginPath(),e.moveTo(t+a,n),e.lineTo(t+r-a,n),e.quadraticCurveTo(t+r,n,t+r,n+a),e.lineTo(t+r,n+i-a),e.quadraticCurveTo(t+r,n+i,t+r-a,n+i),e.lineTo(t+a,n+i),e.quadraticCurveTo(t,n+i,t,n+i-a),e.lineTo(t,n+a),e.quadraticCurveTo(t,n,t+a,n),e.closePath(),e.fill()}ps.eleTextBiggerThanMin=function(e,t){if(!t){var n=e.cy().zoom(),r=this.getPixelRatio(),i=Math.ceil(kt(n*r));t=Math.pow(2,i)}var a=e.pstyle("font-size").pfValue*t,o=e.pstyle("min-zoomed-font-size").pfValue;return!(a5&&void 0!==arguments[5])||arguments[5],o=this;if(null==r){if(a&&!o.eleTextBiggerThanMin(t))return}else if(!1===r)return;if(t.isNode()){var c=t.pstyle("label");if(!c||!c.value)return;var u=o.getLabelJustification(t);e.textAlign=u,e.textBaseline="bottom"}else{var s=t.pstyle("label"),l=t.pstyle("source-label"),f=t.pstyle("target-label");if((!s||!s.value)&&(!l||!l.value)&&(!f||!f.value))return;e.textAlign="center",e.textBaseline="bottom"}var h,d=!n;n&&(h=n,e.translate(-h.x1,-h.y1)),null==i?(o.drawText(e,t,null,d,a),t.isEdge()&&(o.drawText(e,t,"source",d,a),o.drawText(e,t,"target",d,a))):o.drawText(e,t,i,d,a),n&&e.translate(h.x1,h.y1)},ps.getFontCache=function(e){var t;this.fontCaches=this.fontCaches||[];for(var n=0;n2&&void 0!==arguments[2])||arguments[2],r=t.pstyle("font-style").strValue,i=t.pstyle("font-size").pfValue+"px",a=t.pstyle("font-family").strValue,o=t.pstyle("font-weight").strValue,c=n?t.effectiveOpacity()*t.pstyle("text-opacity").value:1,u=t.pstyle("text-outline-opacity").value*c,s=t.pstyle("color").value,l=t.pstyle("text-outline-color").value;e.font=r+" "+o+" "+i+" "+a,e.lineJoin="round",this.colorFillStyle(e,s[0],s[1],s[2],c),this.colorStrokeStyle(e,l[0],l[1],l[2],u)},ps.getTextAngle=function(e,t){var n,r=e._private,i=r.rscratch,a=t?t+"-":"",o=e.pstyle(a+"text-rotation"),c=Fe(i,"labelAngle",t);return n="autorotate"===o.strValue?e.isEdge()?c:0:"none"===o.strValue?0:o.pfValue,n},ps.drawText=function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=t._private,o=a.rscratch,c=i?t.effectiveOpacity():1;if(!i||0!==c&&0!==t.pstyle("text-opacity").value){"main"===n&&(n=null);var u,s,l=Fe(o,"labelX",n),f=Fe(o,"labelY",n),h=this.getLabelText(t,n);if(null!=h&&""!==h&&!isNaN(l)&&!isNaN(f)){this.setupTextStyle(e,t,i);var d,b=n?n+"-":"",p=Fe(o,"labelWidth",n),g=Fe(o,"labelHeight",n),v=t.pstyle(b+"text-margin-x").pfValue,w=t.pstyle(b+"text-margin-y").pfValue,y=t.isEdge(),m=t.pstyle("text-halign").value,x=t.pstyle("text-valign").value;switch(y&&(m="center",x="center"),l+=v,f+=w,d=r?this.getTextAngle(t,n):0,0!==d&&(u=l,s=f,e.translate(u,s),e.rotate(d),l=0,f=0),x){case"top":break;case"center":f+=g/2;break;case"bottom":f+=g;break}var k=t.pstyle("text-background-opacity").value,E=t.pstyle("text-border-opacity").value,S=t.pstyle("text-border-width").pfValue,_=t.pstyle("text-background-padding").pfValue;if(k>0||S>0&&E>0){var C=l-_;switch(m){case"left":C-=p;break;case"center":C-=p/2;break;case"right":break}var j=f-g-_,O=p+2*_,P=g+2*_;if(k>0){var T=e.fillStyle,A=t.pstyle("text-background-color").value;e.fillStyle="rgba("+A[0]+","+A[1]+","+A[2]+","+k*c+")";var L=t.pstyle("text-background-shape").strValue;"roundrectangle"==L?gs(e,C,j,O,P,2):e.fillRect(C,j,O,P),e.fillStyle=T}if(S>0&&E>0){var N=e.strokeStyle,I=e.lineWidth,D=t.pstyle("text-border-color").value,M=t.pstyle("text-border-style").value;if(e.strokeStyle="rgba("+D[0]+","+D[1]+","+D[2]+","+E*c+")",e.lineWidth=S,e.setLineDash)switch(M){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"double":e.lineWidth=S/4,e.setLineDash([]);break;case"solid":e.setLineDash([]);break}if(e.strokeRect(C,j,O,P),"double"===M){var R=S/2;e.strokeRect(C+R,j+R,O-2*R,P-2*R)}e.setLineDash&&e.setLineDash([]),e.lineWidth=I,e.strokeStyle=N}}var B=2*t.pstyle("text-outline-width").pfValue;if(B>0&&(e.lineWidth=B),"wrap"===t.pstyle("text-wrap").value){var H=Fe(o,"labelWrapCachedLines",n),G=Fe(o,"labelLineHeight",n),Y=p/2,z=this.getLabelJustification(t);switch("auto"===z||("left"===m?"left"===z?l+=-p:"center"===z&&(l+=-Y):"center"===m?"left"===z?l+=-Y:"right"===z&&(l+=Y):"right"===m&&("center"===z?l+=Y:"right"===z&&(l+=p))),x){case"top":f-=(H.length-1)*G;break;case"center":case"bottom":f-=(H.length-1)*G;break}for(var F=0;F0&&e.strokeText(H[F],l,f),e.fillText(H[F],l,f),f+=G}else B>0&&e.strokeText(h,l,f),e.fillText(h,l,f);0!==d&&(e.rotate(-d),e.translate(-u,-s))}}};var vs={drawNode:function(e,t,n){var r,i,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],c=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],u=this,s=t._private,l=s.rscratch,f=t.position();if(j(f.x)&&j(f.y)&&(!c||t.visible())){var h,d,b=c?t.effectiveOpacity():1,p=u.usePaths(),g=!1,v=t.padding();r=t.width()+2*v,i=t.height()+2*v,n&&(d=n,e.translate(-d.x1,-d.y1));for(var w=t.pstyle("background-image"),y=w.value,m=new Array(y.length),x=new Array(y.length),k=0,E=0;E0&&void 0!==arguments[0]?arguments[0]:T;u.eleFillStyle(e,t,n)},D=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:N;u.colorStrokeStyle(e,A[0],A[1],A[2],t)},M=t.pstyle("shape").strValue,R=t.pstyle("shape-polygon-points").pfValue;if(p){e.translate(f.x,f.y);var B=u.nodePathCache=u.nodePathCache||[],H=me("polygon"===M?M+","+R.join(","):M,""+i,""+r),G=B[H];null!=G?(h=G,g=!0,l.pathCache=h):(h=new Path2D,B[H]=l.pathCache=h)}var Y=function(){if(!g){var n=f;p&&(n={x:0,y:0}),u.nodeShapes[u.getNodeShape(t)].draw(h||e,n.x,n.y,r,i)}p?e.fill(h):e.fill()},z=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b,r=s.backgrounding,i=0,a=0;a0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b;u.hasPie(t)&&(u.drawPie(e,t,a),n&&(p||u.nodeShapes[u.getNodeShape(t)].draw(e,f.x,f.y,r,i)))},V=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b,n=(O>0?O:-O)*t,r=O>0?0:255;0!==O&&(u.colorFillStyle(e,r,r,r,n),p?e.fill(h):e.fill())},$=function(){if(P>0){if(e.lineWidth=P,e.lineCap="butt",e.setLineDash)switch(L){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"solid":case"double":e.setLineDash([]);break}if(p?e.stroke(h):e.stroke(),"double"===L){e.lineWidth=P/3;var t=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",p?e.stroke(h):e.stroke(),e.globalCompositeOperation=t}e.setLineDash&&e.setLineDash([])}},q=function(){o&&u.drawNodeOverlay(e,t,f,r,i)},U=function(){u.drawElementText(e,t,null,a)},W="yes"===t.pstyle("ghost").value;if(W){var X=t.pstyle("ghost-offset-x").pfValue,K=t.pstyle("ghost-offset-y").pfValue,Q=t.pstyle("ghost-opacity").value,Z=Q*b;e.translate(X,K),I(Q*T),Y(),z(Z),F(0!==O||0!==P),V(Z),D(Q*N),$(),e.translate(-X,-K)}I(),Y(),z(),F(0!==O||0!==P),V(),D(),$(),p&&e.translate(-f.x,-f.y),U(),q(),n&&e.translate(d.x1,d.y1)}},drawNodeOverlay:function(e,t,n,r,i){var a=this;if(t.visible()){var o=t.pstyle("overlay-padding").pfValue,c=t.pstyle("overlay-opacity").value,u=t.pstyle("overlay-color").value;if(c>0){if(n=n||t.position(),null==r||null==i){var s=t.padding();r=t.width()+2*s,i=t.height()+2*s}a.colorFillStyle(e,u[0],u[1],u[2],c),a.nodeShapes["roundrectangle"].draw(e,n.x,n.y,r+2*o,i+2*o),e.fill()}}},hasPie:function(e){return e=e[0],e._private.hasPie},drawPie:function(e,t,n,r){t=t[0],r=r||t.position();var i=t.cy().style(),a=t.pstyle("pie-size"),o=r.x,c=r.y,u=t.width(),s=t.height(),l=Math.min(u,s)/2,f=0,h=this.usePaths();h&&(o=0,c=0),"%"===a.units?l*=a.pfValue:void 0!==a.pfValue&&(l=a.pfValue/2);for(var d=1;d<=i.pieBackgroundN;d++){var b=t.pstyle("pie-"+d+"-background-size").value,p=t.pstyle("pie-"+d+"-background-color").value,g=t.pstyle("pie-"+d+"-background-opacity").value*n,v=b/100;v+f>1&&(v=1-f);var w=1.5*Math.PI+2*Math.PI*f,y=2*Math.PI*v,m=w+y;0===b||f>=1||f+v>1||(e.beginPath(),e.moveTo(o,c),e.arc(o,c,l,w,m),e.closePath(),this.colorFillStyle(e,p[0],p[1],p[2],g),e.fill(),f+=v)}}},ws={},ys=100;ws.getPixelRatio=function(){var e=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var t=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t},ws.paintCache=function(e){for(var t,n=this.paintCaches=this.paintCaches||[],r=!0,i=0;io.minMbLowQualFrames&&(o.motionBlurPxRatio=o.mbPxRBlurry)),o.clearingMotionBlur&&(o.motionBlurPxRatio=1),o.textureDrawLastFrame&&!f&&(l[o.NODE]=!0,l[o.SELECT_BOX]=!0);var w=u.style(),y=u.zoom(),m=void 0!==i?i:y,x=u.pan(),k={x:x.x,y:x.y},E={zoom:y,pan:{x:x.x,y:x.y}},S=o.prevViewport,_=void 0===S||E.zoom!==S.zoom||E.pan.x!==S.pan.x||E.pan.y!==S.pan.y;_||p&&!b||(o.motionBlurPxRatio=1),a&&(k=a),m*=c,k.x*=c,k.y*=c;var C=o.getCachedZSortedEles();function j(e,t,n,r,i){var a=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",o.colorFillStyle(e,255,255,255,o.motionBlurTransparency),e.fillRect(t,n,r,i),e.globalCompositeOperation=a}function O(e,r){var c,u,l,f;o.clearingMotionBlur||e!==s.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]&&e!==s.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]?(c=k,u=m,l=o.canvasWidth,f=o.canvasHeight):(c={x:x.x*d,y:x.y*d},u=y*d,l=o.canvasWidth*d,f=o.canvasHeight*d),e.setTransform(1,0,0,1,0,0),"motionBlur"===r?j(e,0,0,l,f):t||void 0!==r&&!r||e.clearRect(0,0,l,f),n||(e.translate(c.x,c.y),e.scale(u,u)),a&&e.translate(a.x,a.y),i&&e.scale(i,i)}if(f||(o.textureDrawLastFrame=!1),f){if(o.textureDrawLastFrame=!0,!o.textureCache){o.textureCache={},o.textureCache.bb=u.mutableElements().boundingBox(),o.textureCache.texture=o.data.bufferCanvases[o.TEXTURE_BUFFER];var P=o.data.bufferContexts[o.TEXTURE_BUFFER];P.setTransform(1,0,0,1,0,0),P.clearRect(0,0,o.canvasWidth*o.textureMult,o.canvasHeight*o.textureMult),o.render({forcedContext:P,drawOnlyNodeLayer:!0,forcedPxRatio:c*o.textureMult});E=o.textureCache.viewport={zoom:u.zoom(),pan:u.pan(),width:o.canvasWidth,height:o.canvasHeight};E.mpan={x:(0-E.pan.x)/E.zoom,y:(0-E.pan.y)/E.zoom}}l[o.DRAG]=!1,l[o.NODE]=!1;var T=s.contexts[o.NODE],A=o.textureCache.texture;E=o.textureCache.viewport;T.setTransform(1,0,0,1,0,0),h?j(T,0,0,E.width,E.height):T.clearRect(0,0,E.width,E.height);var L=w.core("outside-texture-bg-color").value,N=w.core("outside-texture-bg-opacity").value;o.colorFillStyle(T,L[0],L[1],L[2],N),T.fillRect(0,0,E.width,E.height);y=u.zoom();O(T,!1),T.clearRect(E.mpan.x,E.mpan.y,E.width/E.zoom/c,E.height/E.zoom/c),T.drawImage(A,E.mpan.x,E.mpan.y,E.width/E.zoom/c,E.height/E.zoom/c)}else o.textureOnViewport&&!t&&(o.textureCache=null);var I=u.extent(),D=o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming||o.hoverData.draggingEles||o.cy.animated(),M=o.hideEdgesOnViewport&&D,R=[];if(R[o.NODE]=!l[o.NODE]&&h&&!o.clearedForMotionBlur[o.NODE]||o.clearingMotionBlur,R[o.NODE]&&(o.clearedForMotionBlur[o.NODE]=!0),R[o.DRAG]=!l[o.DRAG]&&h&&!o.clearedForMotionBlur[o.DRAG]||o.clearingMotionBlur,R[o.DRAG]&&(o.clearedForMotionBlur[o.DRAG]=!0),l[o.NODE]||n||r||R[o.NODE]){var B=h&&!R[o.NODE]&&1!==d,H=(T=t||(B?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]:s.contexts[o.NODE]),h&&!B?"motionBlur":void 0);O(T,H),M?o.drawCachedNodes(T,C.nondrag,c,I):o.drawLayeredElements(T,C.nondrag,c,I),o.debug&&o.drawDebugPoints(T,C.nondrag),n||h||(l[o.NODE]=!1)}if(!r&&(l[o.DRAG]||n||R[o.DRAG])){B=h&&!R[o.DRAG]&&1!==d,T=t||(B?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]:s.contexts[o.DRAG]);O(T,h&&!B?"motionBlur":void 0),M?o.drawCachedNodes(T,C.drag,c,I):o.drawCachedElements(T,C.drag,c,I),o.debug&&o.drawDebugPoints(T,C.drag),n||h||(l[o.DRAG]=!1)}if(o.showFps||!r&&l[o.SELECT_BOX]&&!n){T=t||s.contexts[o.SELECT_BOX];if(O(T),1==o.selection[4]&&(o.hoverData.selecting||o.touchData.selecting)){y=o.cy.zoom();var G=w.core("selection-box-border-width").value/y;T.lineWidth=G,T.fillStyle="rgba("+w.core("selection-box-color").value[0]+","+w.core("selection-box-color").value[1]+","+w.core("selection-box-color").value[2]+","+w.core("selection-box-opacity").value+")",T.fillRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]),G>0&&(T.strokeStyle="rgba("+w.core("selection-box-border-color").value[0]+","+w.core("selection-box-border-color").value[1]+","+w.core("selection-box-border-color").value[2]+","+w.core("selection-box-opacity").value+")",T.strokeRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]))}if(s.bgActivePosistion&&!o.hoverData.selecting){y=o.cy.zoom();var Y=s.bgActivePosistion;T.fillStyle="rgba("+w.core("active-bg-color").value[0]+","+w.core("active-bg-color").value[1]+","+w.core("active-bg-color").value[2]+","+w.core("active-bg-opacity").value+")",T.beginPath(),T.arc(Y.x,Y.y,w.core("active-bg-size").pfValue/y,0,2*Math.PI),T.fill()}var z=o.lastRedrawTime;if(o.showFps&&z){z=Math.round(z);var F=Math.round(1e3/z);T.setTransform(1,0,0,1,0,0),T.fillStyle="rgba(255, 0, 0, 0.75)",T.strokeStyle="rgba(255, 0, 0, 0.75)",T.lineWidth=1,T.fillText("1 frame = "+z+" ms = "+F+" fps",0,20);var V=60;T.strokeRect(0,30,250,20),T.fillRect(0,30,250*Math.min(F/V,1),20)}n||(l[o.SELECT_BOX]=!1)}if(h&&1!==d){var $=s.contexts[o.NODE],q=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_NODE],U=s.contexts[o.DRAG],W=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_DRAG],X=function(e,t,n){e.setTransform(1,0,0,1,0,0),n||!v?e.clearRect(0,0,o.canvasWidth,o.canvasHeight):j(e,0,0,o.canvasWidth,o.canvasHeight);var r=d;e.drawImage(t,0,0,o.canvasWidth*r,o.canvasHeight*r,0,0,o.canvasWidth,o.canvasHeight)};(l[o.NODE]||R[o.NODE])&&(X($,q,R[o.NODE]),l[o.NODE]=!1),(l[o.DRAG]||R[o.DRAG])&&(X(U,W,R[o.DRAG]),l[o.DRAG]=!1)}o.prevViewport=E,o.clearingMotionBlur&&(o.clearingMotionBlur=!1,o.motionBlurCleared=!0,o.motionBlur=!0),h&&(o.motionBlurTimeout=setTimeout((function(){o.motionBlurTimeout=null,o.clearedForMotionBlur[o.NODE]=!1,o.clearedForMotionBlur[o.DRAG]=!1,o.motionBlur=!1,o.clearingMotionBlur=!f,o.mbFrames=0,l[o.NODE]=!0,l[o.DRAG]=!0,o.redraw()}),ys)),t||u.emit("render")};for(var ms={drawPolygonPath:function(e,t,n,r,i,a){var o=r/2,c=i/2;e.beginPath&&e.beginPath(),e.moveTo(t+o*a[0],n+c*a[1]);for(var u=1;u0&&o>0){d.clearRect(0,0,a,o),d.globalCompositeOperation="source-over";var b=this.getCachedZSortedEles();if(e.full)d.translate(-r.x1*s,-r.y1*s),d.scale(s,s),this.drawElements(d,b),d.scale(1/s,1/s),d.translate(r.x1*s,r.y1*s);else{var p=t.pan(),g={x:p.x*s,y:p.y*s};s*=t.zoom(),d.translate(g.x,g.y),d.scale(s,s),this.drawElements(d,b),d.scale(1/s,1/s),d.translate(-g.x,-g.y)}e.bg&&(d.globalCompositeOperation="destination-over",d.fillStyle=e.bg,d.rect(0,0,a,o),d.fill())}return h},js.png=function(e){return Ts(e,this.bufferCanvasImage(e),"image/png")},js.jpg=function(e){return Ts(e,this.bufferCanvasImage(e),"image/jpeg")};var As={nodeShapeImpl:function(e,t,n,r,i,a,o){switch(e){case"ellipse":return this.drawEllipsePath(t,n,r,i,a);case"polygon":return this.drawPolygonPath(t,n,r,i,a,o);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(t,n,r,i,a);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(t,n,r,i,a);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(t,n,r,i,a);case"barrel":return this.drawBarrelPath(t,n,r,i,a)}}},Ls=Is,Ns=Is.prototype;function Is(e){var t=this;t.data={canvases:new Array(Ns.CANVAS_LAYERS),contexts:new Array(Ns.CANVAS_LAYERS),canvasNeedsRedraw:new Array(Ns.CANVAS_LAYERS),bufferCanvases:new Array(Ns.BUFFER_COUNT),bufferContexts:new Array(Ns.CANVAS_LAYERS)};var n="-webkit-tap-highlight-color",r="rgba(0,0,0,0)";t.data.canvasContainer=document.createElement("div");var i=t.data.canvasContainer.style;t.data.canvasContainer.style[n]=r,i.position="relative",i.zIndex="0",i.overflow="hidden";var a=e.cy.container();a.appendChild(t.data.canvasContainer),a.style[n]=r;var o={"-webkit-user-select":"none","-moz-user-select":"-moz-none","user-select":"none","-webkit-tap-highlight-color":"rgba(0,0,0,0)","outline-style":"none"};G()&&(o["-ms-touch-action"]="none",o["touch-action"]="none");for(var c=0;c0?r:n)(e)}},"45f2":function(e,t,n){var r=n("d9f6").f,i=n("07e3"),a=n("5168")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"469f":function(e,t,n){n("6c1c"),n("1654"),e.exports=n("7d7b")},"46a7":function(e,t,n){var r=n("63b6");r(r.S+r.F*!n("8e60"),"Object",{defineProperty:n("d9f6").f})},"47ee":function(e,t,n){var r=n("c3a1"),i=n("9aa9"),a=n("355d");e.exports=function(e){var t=r(e),n=i.f;if(n){var o,c=n(e),u=a.f,s=0;while(c.length>s)u.call(e,o=c[s++])&&t.push(o)}return t}},"481b":function(e,t){e.exports={}},"4a59":function(e,t,n){var r=n("9b43"),i=n("1fa8"),a=n("33a4"),o=n("cb7c"),c=n("9def"),u=n("27ee"),s={},l={};t=e.exports=function(e,t,n,f,h){var d,b,p,g,v=h?function(){return e}:u(e),w=r(n,f,t?2:1),y=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(a(v)){for(d=c(e.length);d>y;y++)if(g=t?w(o(b=e[y])[0],b[1]):w(e[y]),g===s||g===l)return g}else for(p=v.call(e);!(b=p.next()).done;)if(g=i(p,w,b.value,t),g===s||g===l)return g};t.BREAK=s,t.RETURN=l},"4aa6":function(e,t,n){e.exports=n("dc62")},"4bf8":function(e,t,n){var r=n("be13");e.exports=function(e){return Object(r(e))}},"4d16":function(e,t,n){e.exports=n("25b0")},"504c":function(e,t,n){var r=n("9e1e"),i=n("0d58"),a=n("6821"),o=n("52a7").f;e.exports=function(e){return function(t){var n,c=a(t),u=i(c),s=u.length,l=0,f=[];while(s>l)n=u[l++],r&&!o.call(c,n)||f.push(e?[n,c[n]]:c[n]);return f}}},"50ed":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},5168:function(e,t,n){var r=n("dbdb")("wks"),i=n("62a0"),a=n("e53d").Symbol,o="function"==typeof a,c=e.exports=function(e){return r[e]||(r[e]=o&&a[e]||(o?a:i)("Symbol."+e))};c.store=r},"52a7":function(e,t){t.f={}.propertyIsEnumerable},"53e2":function(e,t,n){var r=n("07e3"),i=n("241e"),a=n("5559")("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},"54a1":function(e,t,n){n("6c1c"),n("1654"),e.exports=n("95d5")},"551c":function(e,t,n){"use strict";var r,i,a,o,c=n("2d00"),u=n("7726"),s=n("9b43"),l=n("23c6"),f=n("5ca1"),h=n("d3f4"),d=n("d8e8"),b=n("f605"),p=n("4a59"),g=n("ebd6"),v=n("1991").set,w=n("8079")(),y=n("a5b8"),m=n("9c80"),x=n("a25f"),k=n("bcaa"),E="Promise",S=u.TypeError,_=u.process,C=_&&_.versions,j=C&&C.v8||"",O=u[E],P="process"==l(_),T=function(){},A=i=y.f,L=!!function(){try{var e=O.resolve(1),t=(e.constructor={})[n("2b4c")("species")]=function(e){e(T,T)};return(P||"function"==typeof PromiseRejectionEvent)&&e.then(T)instanceof t&&0!==j.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(r){}}(),N=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},I=function(e,t){if(!e._n){e._n=!0;var n=e._c;w((function(){var r=e._v,i=1==e._s,a=0,o=function(t){var n,a,o,c=i?t.ok:t.fail,u=t.resolve,s=t.reject,l=t.domain;try{c?(i||(2==e._h&&R(e),e._h=1),!0===c?n=r:(l&&l.enter(),n=c(r),l&&(l.exit(),o=!0)),n===t.promise?s(S("Promise-chain cycle")):(a=N(n))?a.call(n,u,s):u(n)):s(r)}catch(f){l&&!o&&l.exit(),s(f)}};while(n.length>a)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&D(e)}))}},D=function(e){v.call(u,(function(){var t,n,r,i=e._v,a=M(e);if(a&&(t=m((function(){P?_.emit("unhandledRejection",i,e):(n=u.onunhandledrejection)?n({promise:e,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)})),e._h=P||M(e)?2:1),e._a=void 0,a&&t.e)throw t.v}))},M=function(e){return 1!==e._h&&0===(e._a||e._c).length},R=function(e){v.call(u,(function(){var t;P?_.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})}))},B=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),I(t,!0))},H=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw S("Promise can't be resolved itself");(t=N(e))?w((function(){var r={_w:n,_d:!1};try{t.call(e,s(H,r,1),s(B,r,1))}catch(i){B.call(r,i)}})):(n._v=e,n._s=1,I(n,!1))}catch(r){B.call({_w:n,_d:!1},r)}}};L||(O=function(e){b(this,O,E,"_h"),d(e),r.call(this);try{e(s(H,this,1),s(B,this,1))}catch(t){B.call(this,t)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n("dcbc")(O.prototype,{then:function(e,t){var n=A(g(this,O));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=P?_.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&I(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r;this.promise=e,this.resolve=s(H,e,1),this.reject=s(B,e,1)},y.f=A=function(e){return e===O||e===o?new a(e):i(e)}),f(f.G+f.W+f.F*!L,{Promise:O}),n("7f20")(O,E),n("7a56")(E),o=n("8378")[E],f(f.S+f.F*!L,E,{reject:function(e){var t=A(this),n=t.reject;return n(e),t.promise}}),f(f.S+f.F*(c||!L),E,{resolve:function(e){return k(c&&this===o?O:this,e)}}),f(f.S+f.F*!(L&&n("5cc5")((function(e){O.all(e)["catch"](T)}))),E,{all:function(e){var t=this,n=A(t),r=n.resolve,i=n.reject,a=m((function(){var n=[],a=0,o=1;p(e,!1,(function(e){var c=a++,u=!1;n.push(void 0),o++,t.resolve(e).then((function(e){u||(u=!0,n[c]=e,--o||r(n))}),i)})),--o||r(n)}));return a.e&&i(a.v),n.promise},race:function(e){var t=this,n=A(t),r=n.reject,i=m((function(){p(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},5537:function(e,t,n){var r=n("8378"),i=n("7726"),a="__core-js_shared__",o=i[a]||(i[a]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},5559:function(e,t,n){var r=n("dbdb")("keys"),i=n("62a0");e.exports=function(e){return r[e]||(r[e]=i(e))}},"584a":function(e,t){var n=e.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},"5b4e":function(e,t,n){var r=n("36c3"),i=n("b447"),a=n("0fc9");e.exports=function(e){return function(t,n,o){var c,u=r(t),s=i(u.length),l=a(o,s);if(e&&n!=n){while(s>l)if(c=u[l++],c!=c)return!0}else for(;s>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},"5ca1":function(e,t,n){var r=n("7726"),i=n("8378"),a=n("32e9"),o=n("2aba"),c=n("9b43"),u="prototype",s=function(e,t,n){var l,f,h,d,b=e&s.F,p=e&s.G,g=e&s.S,v=e&s.P,w=e&s.B,y=p?r:g?r[t]||(r[t]={}):(r[t]||{})[u],m=p?i:i[t]||(i[t]={}),x=m[u]||(m[u]={});for(l in p&&(n=t),n)f=!b&&y&&void 0!==y[l],h=(f?y:n)[l],d=w&&f?c(h,r):v&&"function"==typeof h?c(Function.call,h):h,y&&o(y,l,h,e&s.U),m[l]!=h&&a(m,l,d),v&&x[l]!=h&&(x[l]=h)};r.core=i,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},"5cc5":function(e,t,n){var r=n("2b4c")("iterator"),i=!1;try{var a=[7][r]();a["return"]=function(){i=!0},Array.from(a,(function(){throw 2}))}catch(o){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var a=[7],c=a[r]();c.next=function(){return{done:n=!0}},a[r]=function(){return c},e(a)}catch(o){}return n}},"5d58":function(e,t,n){e.exports=n("d8d6")},"5d73":function(e,t,n){e.exports=n("469f")},"5eda":function(e,t,n){var r=n("5ca1"),i=n("8378"),a=n("79e5");e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],o={};o[e]=t(n),r(r.S+r.F*a((function(){n(1)})),"Object",o)}},"613b":function(e,t,n){var r=n("5537")("keys"),i=n("ca5a");e.exports=function(e){return r[e]||(r[e]=i(e))}},"626a":function(e,t,n){var r=n("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},"62a0":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},"63b6":function(e,t,n){var r=n("e53d"),i=n("584a"),a=n("d864"),o=n("35e8"),c=n("07e3"),u="prototype",s=function(e,t,n){var l,f,h,d=e&s.F,b=e&s.G,p=e&s.S,g=e&s.P,v=e&s.B,w=e&s.W,y=b?i:i[t]||(i[t]={}),m=y[u],x=b?r:p?r[t]:(r[t]||{})[u];for(l in b&&(n=t),n)f=!d&&x&&void 0!==x[l],f&&c(y,l)||(h=f?x[l]:n[l],y[l]=b&&"function"!=typeof x[l]?n[l]:v&&f?a(h,r):w&&x[l]==h?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[u]=e[u],t}(h):g&&"function"==typeof h?a(Function.call,h):h,g&&((y.virtual||(y.virtual={}))[l]=h,e&s.R&&m&&!m[l]&&o(m,l,h)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},6718:function(e,t,n){var r=n("e53d"),i=n("584a"),a=n("b8e3"),o=n("ccb9"),c=n("d9f6").f;e.exports=function(e){var t=i.Symbol||(i.Symbol=a?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||c(t,e,{value:o.f(e)})}},"67bb":function(e,t,n){e.exports=n("f921")},6821:function(e,t,n){var r=n("626a"),i=n("be13");e.exports=function(e){return r(i(e))}},"69a8":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"69d3":function(e,t,n){n("6718")("asyncIterator")},"6a99":function(e,t,n){var r=n("d3f4");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},"6abf":function(e,t,n){var r=n("e6f3"),i=n("1691").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},"6b4c":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"6c1c":function(e,t,n){n("c367");for(var r=n("e53d"),i=n("35e8"),a=n("481b"),o=n("5168")("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u=s?e?"":void 0:(a=c.charCodeAt(u),a<55296||a>56319||u+1===s||(o=c.charCodeAt(u+1))<56320||o>57343?e?c.charAt(u):a:e?c.slice(u,u+2):o-56320+(a-55296<<10)+65536)}}},"765d":function(e,t,n){n("6718")("observable")},7726:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(e,t,n){var r=n("4588"),i=Math.max,a=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):a(e,t)}},"794b":function(e,t,n){e.exports=!n("8e60")&&!n("294c")((function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a}))},"79aa":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"7a56":function(e,t,n){"use strict";var r=n("7726"),i=n("86cc"),a=n("9e1e"),o=n("2b4c")("species");e.exports=function(e){var t=r[e];a&&t&&!t[o]&&i.f(t,o,{configurable:!0,get:function(){return this}})}},"7cd6":function(e,t,n){var r=n("40c3"),i=n("5168")("iterator"),a=n("481b");e.exports=n("584a").getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||a[r(e)]}},"7d7b":function(e,t,n){var r=n("e4ae"),i=n("7cd6");e.exports=n("584a").getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},"7e90":function(e,t,n){var r=n("d9f6"),i=n("e4ae"),a=n("c3a1");e.exports=n("8e60")?Object.defineProperties:function(e,t){i(e);var n,o=a(t),c=o.length,u=0;while(c>u)r.f(e,n=o[u++],t[n]);return e}},"7f20":function(e,t,n){var r=n("86cc").f,i=n("69a8"),a=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},8079:function(e,t,n){var r=n("7726"),i=n("1991").set,a=r.MutationObserver||r.WebKitMutationObserver,o=r.process,c=r.Promise,u="process"==n("2d95")(o);e.exports=function(){var e,t,n,s=function(){var r,i;u&&(r=o.domain)&&r.exit();while(e){i=e.fn,e=e.next;try{i()}catch(a){throw e?n():t=void 0,a}}t=void 0,r&&r.enter()};if(u)n=function(){o.nextTick(s)};else if(!a||r.navigator&&r.navigator.standalone)if(c&&c.resolve){var l=c.resolve(void 0);n=function(){l.then(s)}}else n=function(){i.call(r,s)};else{var f=!0,h=document.createTextNode("");new a(s).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},8378:function(e,t){var n=e.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},8436:function(e,t){e.exports=function(){}},"84f2":function(e,t){e.exports={}},"85f2":function(e,t,n){e.exports=n("454f")},"86cc":function(e,t,n){var r=n("cb7c"),i=n("c69a"),a=n("6a99"),o=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(r(e),t=a(t,!0),r(n),i)try{return o(e,t,n)}catch(c){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"8bbf":function(e,t){e.exports=n("2b0e")},"8e60":function(e,t,n){e.exports=!n("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8e6e":function(e,t,n){var r=n("5ca1"),i=n("990b"),a=n("6821"),o=n("11e9"),c=n("f1ae");r(r.S,"Object",{getOwnPropertyDescriptors:function(e){var t,n,r=a(e),u=o.f,s=i(r),l={},f=0;while(s.length>f)n=u(r,t=s[f++]),void 0!==n&&c(l,t,n);return l}})},"8f60":function(e,t,n){"use strict";var r=n("a159"),i=n("aebd"),a=n("45f2"),o={};n("35e8")(o,n("5168")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},9003:function(e,t,n){var r=n("6b4c");e.exports=Array.isArray||function(e){return"Array"==r(e)}},9093:function(e,t,n){var r=n("ce10"),i=n("e11e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},9138:function(e,t,n){e.exports=n("35e8")},9427:function(e,t,n){var r=n("63b6");r(r.S,"Object",{create:n("a159")})},"95d5":function(e,t,n){var r=n("40c3"),i=n("5168")("iterator"),a=n("481b");e.exports=n("584a").isIterable=function(e){var t=Object(e);return void 0!==t[i]||"@@iterator"in t||a.hasOwnProperty(r(t))}},"990b":function(e,t,n){var r=n("9093"),i=n("2621"),a=n("cb7c"),o=n("7726").Reflect;e.exports=o&&o.ownKeys||function(e){var t=r.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},"9aa9":function(e,t){t.f=Object.getOwnPropertySymbols},"9b43":function(e,t,n){var r=n("d8e8");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},"9c6c":function(e,t,n){var r=n("2b4c")("unscopables"),i=Array.prototype;void 0==i[r]&&n("32e9")(i,r,{}),e.exports=function(e){i[r][e]=!0}},"9c80":function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(t){return{e:!0,v:t}}}},"9def":function(e,t,n){var r=n("4588"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},"9e1e":function(e,t,n){e.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a159:function(e,t,n){var r=n("e4ae"),i=n("7e90"),a=n("1691"),o=n("5559")("IE_PROTO"),c=function(){},u="prototype",s=function(){var e,t=n("1ec9")("iframe"),r=a.length,i="<",o=">";t.style.display="none",n("32fc").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(i+"script"+o+"document.F=Object"+i+"/script"+o),e.close(),s=e.F;while(r--)delete s[u][a[r]];return s()};e.exports=Object.create||function(e,t){var n;return null!==e?(c[u]=r(e),n=new c,c[u]=null,n[o]=e):n=s(),void 0===t?n:i(n,t)}},a25f:function(e,t,n){var r=n("7726"),i=r.navigator;e.exports=i&&i.userAgent||""},a5b8:function(e,t,n){"use strict";var r=n("d8e8");function i(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new i(e)}},a745:function(e,t,n){e.exports=n("f410")},ac6a:function(e,t,n){for(var r=n("cadf"),i=n("0d58"),a=n("2aba"),o=n("7726"),c=n("32e9"),u=n("84f2"),s=n("2b4c"),l=s("iterator"),f=s("toStringTag"),h=u.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},b=i(d),p=0;p0?i(r(e),9007199254740991):0}},b8e3:function(e,t){e.exports=!0},bcaa:function(e,t,n){var r=n("cb7c"),i=n("d3f4"),a=n("a5b8");e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=a.f(e),o=n.resolve;return o(t),n.promise}},be13:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},bf0b:function(e,t,n){var r=n("355d"),i=n("aebd"),a=n("36c3"),o=n("1bc3"),c=n("07e3"),u=n("794b"),s=Object.getOwnPropertyDescriptor;t.f=n("8e60")?s:function(e,t){if(e=a(e),t=o(t,!0),u)try{return s(e,t)}catch(n){}if(c(e,t))return i(!r.f.call(e,t),e[t])}},c207:function(e,t){},c366:function(e,t,n){var r=n("6821"),i=n("9def"),a=n("77f1");e.exports=function(e){return function(t,n,o){var c,u=r(t),s=i(u.length),l=a(o,s);if(e&&n!=n){while(s>l)if(c=u[l++],c!=c)return!0}else for(;s>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},c367:function(e,t,n){"use strict";var r=n("8436"),i=n("50ed"),a=n("481b"),o=n("36c3");e.exports=n("30f1")(Array,"Array",(function(e,t){this._t=o(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},c3a1:function(e,t,n){var r=n("e6f3"),i=n("1691");e.exports=Object.keys||function(e){return r(e,i)}},c69a:function(e,t,n){e.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},c8bb:function(e,t,n){e.exports=n("54a1")},ca5a:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},cadf:function(e,t,n){"use strict";var r=n("9c6c"),i=n("d53b"),a=n("84f2"),o=n("6821");e.exports=n("01f9")(Array,"Array",(function(e,t){this._t=o(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},cb7c:function(e,t,n){var r=n("d3f4");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},ccb9:function(e,t,n){t.f=n("5168")},ce10:function(e,t,n){var r=n("69a8"),i=n("6821"),a=n("c366")(!1),o=n("613b")("IE_PROTO");e.exports=function(e,t){var n,c=i(e),u=0,s=[];for(n in c)n!=o&&r(c,n)&&s.push(n);while(t.length>u)r(c,n=t[u++])&&(~a(s,n)||s.push(n));return s}},ce7e:function(e,t,n){var r=n("63b6"),i=n("584a"),a=n("294c");e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],o={};o[e]=t(n),r(r.S+r.F*a((function(){n(1)})),"Object",o)}},d3f4:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},d53b:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d864:function(e,t,n){var r=n("79aa");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},d8d6:function(e,t,n){n("1654"),n("6c1c"),e.exports=n("ccb9").f("iterator")},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},d9f6:function(e,t,n){var r=n("e4ae"),i=n("794b"),a=n("1bc3"),o=Object.defineProperty;t.f=n("8e60")?Object.defineProperty:function(e,t,n){if(r(e),t=a(t,!0),r(n),i)try{return o(e,t,n)}catch(c){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},dbdb:function(e,t,n){var r=n("584a"),i=n("e53d"),a="__core-js_shared__",o=i[a]||(i[a]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n("b8e3")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},dc62:function(e,t,n){n("9427");var r=n("584a").Object;e.exports=function(e,t){return r.create(e,t)}},dcbc:function(e,t,n){var r=n("2aba");e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},e11e:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e4ae:function(e,t,n){var r=n("f772");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},e53d:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},e6f3:function(e,t,n){var r=n("07e3"),i=n("36c3"),a=n("5b4e")(!1),o=n("5559")("IE_PROTO");e.exports=function(e,t){var n,c=i(e),u=0,s=[];for(n in c)n!=o&&r(c,n)&&s.push(n);while(t.length>u)r(c,n=t[u++])&&(~a(s,n)||s.push(n));return s}},ead6:function(e,t,n){var r=n("f772"),i=n("e4ae"),a=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n("d864")(Function.call,n("bf0b").f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(i){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},ebd6:function(e,t,n){var r=n("cb7c"),i=n("d8e8"),a=n("2b4c")("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||void 0==(n=r(o)[a])?t:i(n)}},ebfd:function(e,t,n){var r=n("62a0")("meta"),i=n("f772"),a=n("07e3"),o=n("d9f6").f,c=0,u=Object.isExtensible||function(){return!0},s=!n("294c")((function(){return u(Object.preventExtensions({}))})),l=function(e){o(e,r,{value:{i:"O"+ ++c,w:{}}})},f=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!u(e))return"F";if(!t)return"E";l(e)}return e[r].i},h=function(e,t){if(!a(e,r)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[r].w},d=function(e){return s&&b.NEED&&u(e)&&!a(e,r)&&l(e),e},b=e.exports={KEY:r,NEED:!1,fastKey:f,getWeak:h,onFreeze:d}},f1ae:function(e,t,n){"use strict";var r=n("86cc"),i=n("4630");e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},f410:function(e,t,n){n("1af6"),e.exports=n("584a").Array.isArray},f605:function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},f6fd:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(r){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},f772:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},f7fe:function(e,t,n){(function(t){var n="Expected a function",r=NaN,i="[object Symbol]",a=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,s=parseInt,l="object"==typeof t&&t&&t.Object===Object&&t,f="object"==typeof self&&self&&self.Object===Object&&self,h=l||f||Function("return this")(),d=Object.prototype,b=d.toString,p=Math.max,g=Math.min,v=function(){return h.Date.now()};function w(e,t,r){var i,a,o,c,u,s,l=0,f=!1,h=!1,d=!0;if("function"!=typeof e)throw new TypeError(n);function b(t){var n=i,r=a;return i=a=void 0,l=t,c=e.apply(r,n),c}function w(e){return l=e,u=setTimeout(E,t),f?b(e):c}function m(e){var n=e-s,r=e-l,i=t-n;return h?g(i,o-r):i}function x(e){var n=e-s,r=e-l;return void 0===s||n>=t||n<0||h&&r>=o}function E(){var e=v();if(x(e))return S(e);u=setTimeout(E,m(e))}function S(e){return u=void 0,d&&i?b(e):(i=a=void 0,c)}function _(){void 0!==u&&clearTimeout(u),l=0,i=s=a=u=void 0}function C(){return void 0===u?c:S(v())}function j(){var e=v(),n=x(e);if(i=arguments,a=this,s=e,n){if(void 0===u)return w(s);if(h)return u=setTimeout(E,t),b(s)}return void 0===u&&(u=setTimeout(E,t)),c}return t=k(t)||0,y(r)&&(f=!!r.leading,h="maxWait"in r,o=h?p(k(r.maxWait)||0,t):o,d="trailing"in r?!!r.trailing:d),j.cancel=_,j.flush=C,j}function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function m(e){return!!e&&"object"==typeof e}function x(e){return"symbol"==typeof e||m(e)&&b.call(e)==i}function k(e){if("number"==typeof e)return e;if(x(e))return r;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var n=c.test(e);return n||u.test(e)?s(e.slice(2),n?2:8):o.test(e)?r:+e}e.exports=w}).call(this,n("c8ba"))},f921:function(e,t,n){n("014b"),n("c207"),n("69d3"),n("765d"),e.exports=n("584a").Symbol},fa5b:function(e,t,n){e.exports=n("5537")("native-function-to-string",Function.toString)},fa99:function(e,t,n){n("0293"),e.exports=n("584a").Object.getPrototypeOf},fab2:function(e,t,n){var r=n("7726").document;e.exports=r&&r.documentElement},fb15:function(e,t,n){"use strict";var r;(n.r(t),"undefined"!==typeof window)&&(n("f6fd"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));var i=n("a745"),a=n.n(i);function o(e){if(a()(e))return e}var c=n("5d73"),u=n.n(c),s=n("c8bb"),l=n.n(s);function f(e,t){if(l()(Object(e))||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,i=!1,a=void 0;try{for(var o,c=u()(e);!(r=(o=c.next()).done);r=!0)if(n.push(o.value),t&&n.length===t)break}catch(s){i=!0,a=s}finally{try{r||null==c["return"]||c["return"]()}finally{if(i)throw a}}return n}}function h(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function d(e,t){return o(e)||f(e,t)||h()}n("ac6a"),n("cadf"),n("ffc1");function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var p=n("85f2"),g=n.n(p);function v(e,t){for(var n=0;n=0;c--)(i=e[c])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}var R=n("8bbf"),B=n.n(R),H="undefined"!==typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys;function G(e,t){Y(e,t),Object.getOwnPropertyNames(t.prototype).forEach((function(n){Y(e.prototype,t.prototype,n)})),Object.getOwnPropertyNames(t).forEach((function(n){Y(e,t,n)}))}function Y(e,t,n){var r=n?Reflect.getOwnMetadataKeys(t,n):Reflect.getOwnMetadataKeys(t);r.forEach((function(r){var i=n?Reflect.getOwnMetadata(r,t,n):Reflect.getOwnMetadata(r,t);n?Reflect.defineMetadata(r,i,e,n):Reflect.defineMetadata(r,i,e)}))}var z={__proto__:[]},F=z instanceof Array;function V(e){return function(t,n,r){var i="function"===typeof t?t:t.constructor;i.__decorators__||(i.__decorators__=[]),"number"!==typeof r&&(r=void 0),i.__decorators__.push((function(t){return e(t,n,r)}))}}function $(e){var t=typeof e;return null==e||"object"!==t&&"function"!==t}function q(e,t){var n=t.prototype._init;t.prototype._init=function(){var t=this,n=Object.getOwnPropertyNames(e);if(e.$options.props)for(var r in e.$options.props)e.hasOwnProperty(r)||n.push(r);n.forEach((function(n){"_"!==n.charAt(0)&&Object.defineProperty(t,n,{get:function(){return e[n]},set:function(t){e[n]=t},configurable:!0})}))};var r=new t;t.prototype._init=n;var i={};return Object.keys(r).forEach((function(e){void 0!==r[e]&&(i[e]=r[e])})),i}var U=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];function W(e,t){void 0===t&&(t={}),t.name=t.name||e._componentTag||e.name;var n=e.prototype;Object.getOwnPropertyNames(n).forEach((function(e){if("constructor"!==e)if(U.indexOf(e)>-1)t[e]=n[e];else{var r=Object.getOwnPropertyDescriptor(n,e);void 0!==r.value?"function"===typeof r.value?(t.methods||(t.methods={}))[e]=r.value:(t.mixins||(t.mixins=[])).push({data:function(){var t;return t={},t[e]=r.value,t}}):(r.get||r.set)&&((t.computed||(t.computed={}))[e]={get:r.get,set:r.set})}})),(t.mixins||(t.mixins=[])).push({data:function(){return q(this,e)}});var r=e.__decorators__;r&&(r.forEach((function(e){return e(t)})),delete e.__decorators__);var i=Object.getPrototypeOf(e.prototype),a=i instanceof B.a?i.constructor:B.a,o=a.extend(t);return K(o,e,a),H&&G(o,e),o}var X={prototype:!0,arguments:!0,callee:!0,caller:!0};function K(e,t,n){Object.getOwnPropertyNames(t).forEach((function(r){if(!X[r]){var i=Object.getOwnPropertyDescriptor(e,r);if(!i||i.configurable){var a=Object.getOwnPropertyDescriptor(t,r);if(!F){if("cid"===r)return;var o=Object.getOwnPropertyDescriptor(n,r);if(!$(a.value)&&o&&o.value===a.value)return}0,Object.defineProperty(e,r,a)}}}))}function Q(e){return"function"===typeof e?W(e):function(t){return W(t,e)}}Q.registerHooks=function(e){U.push.apply(U,e)};var Z=Q;function J(e){return V((function(t,n){"undefined"===typeof t.inject&&(t.inject={}),Array.isArray(t.inject)||(t.inject[n]=e||n)}))}function ee(e){return V((function(t,n){var r=t.provide;if("function"!==typeof r||!r.managed){var i=t.provide;r=t.provide=function(){var e=Object.create(("function"===typeof i?i.call(this):i)||null);for(var t in r.managed)e[r.managed[t]]=this[t];return e},r.managed={}}r.managed[n]=e||n}))}var te="undefined"!==typeof Reflect&&"undefined"!==typeof Reflect.getMetadata;function ne(e,t,n){te&&(Array.isArray(e)||"function"===typeof e||"undefined"!==typeof e.type||(e.type=Reflect.getMetadata("design:type",t,n)))}function re(e){return void 0===e&&(e={}),function(t,n){ne(e,t,n),V((function(t,n){(t.props||(t.props={}))[n]=e}))(t,n)}}function ie(e,t){void 0===t&&(t={});var n=t.deep,r=void 0!==n&&n,i=t.immediate,a=void 0!==i&&i;return V((function(t,n){"object"!==typeof t.watch&&(t.watch=Object.create(null));var i=t.watch;"object"!==typeof i[e]||Array.isArray(i[e])?"undefined"===typeof i[e]&&(i[e]=[]):i[e]=[i[e]],i[e].push({handler:n,deep:r,immediate:a})}))}var ae=function(e){function t(){var e;return b(this,t),e=C(this,A(t).call(this)),e.instance=void 0,e.selector="",e.id=e.definition.data.id,e.id&&(e.selector="#".concat(e.id)),e.cy.then(e.configure),e}return D(t,e),w(t,[{key:"configure",value:function(e){this.instance=e;var t=this.add();this.id||(this.id=t.data().id,this.selector="#".concat(this.id))}},{key:"add",value:function(){for(var e=this,t=this.instance,n=function(n,r){return t.on(n,e.selector,r)},r=function(){var e=d(a[i],2),t=e[0],r=e[1];Array.isArray(r)?r.map((function(e){return n(t,e)})):n(t,r)},i=0,a=Object.entries(this.$listeners);i0&&void 0!==arguments[0]?arguments[0]:null,t=this.instance,n=t.getElementById(this.id);n.position(JSON.parse(JSON.stringify(e)))}},{key:"render",value:function(e){}},{key:"eleData",get:function(){return this.definition.data}},{key:"position",get:function(){return this.definition.position}}]),t}(B.a);M([re()],ae.prototype,"definition",void 0),M([J()],ae.prototype,"cy",void 0),M([re({default:!1})],ae.prototype,"sync",void 0),M([ie("eleData",{deep:!0})],ae.prototype,"onDataChange",null),M([ie("position",{deep:!0})],ae.prototype,"onPositionChange",null),ae=M([Z({})],ae);var oe=ae;n("8e6e"),n("456d");function ce(e,t,n){return t in e?g()(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n("551c");var ue=n("44e1"),se=n.n(ue);function le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fe(e){for(var t=1;t=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})}))},"3f8c":function(e,t){e.exports={}},"428f":function(e,t,n){var r=n("da84");e.exports=r},4362:function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("df7c")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"44ad":function(e,t,n){var r=n("d039"),i=n("c6b6"),a="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?a.call(e,""):Object(e)}:Object},"44d2":function(e,t,n){var r=n("b622"),i=n("7c73"),a=n("9bf2"),o=r("unscopables"),c=Array.prototype;void 0==c[o]&&a.f(c,o,{configurable:!0,value:i(null)}),e.exports=function(e){c[o][e]=!0}},"44de":function(e,t,n){var r=n("da84");e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},"44e7":function(e,t,n){var r=n("861d"),i=n("c6b6"),a=n("b622"),o=a("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},"466d":function(e,t,n){"use strict";var r=n("d784"),i=n("825a"),a=n("50c4"),o=n("1d80"),c=n("8aa5"),u=n("14c3");r("match",1,(function(e,t,n){return[function(t){var n=o(this),r=void 0==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var o=i(e),s=String(this);if(!o.global)return u(o,s);var l=o.unicode;o.lastIndex=0;var f,h=[],d=0;while(null!==(f=u(o,s))){var b=String(f[0]);h[d]=b,""===b&&(o.lastIndex=c(s,a(o.lastIndex),l)),d++}return 0===d?null:h}]}))},"467f":function(e,t,n){"use strict";var r=n("2d83");e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},4840:function(e,t,n){var r=n("825a"),i=n("1c0b"),a=n("b622"),o=a("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[o])?t:i(n)}},4930:function(e,t,n){var r=n("605d"),i=n("2d00"),a=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!a((function(){return!Symbol.sham&&(r?38===i:i>37&&i<41)}))},"4a7b":function(e,t,n){"use strict";var r=n("c532");e.exports=function(e,t){t=t||{};var n={},i=["url","method","data"],a=["headers","auth","proxy","params"],o=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],c=["validateStatus"];function u(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function s(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=u(void 0,e[i])):n[i]=u(e[i],t[i])}r.forEach(i,(function(e){r.isUndefined(t[e])||(n[e]=u(void 0,t[e]))})),r.forEach(a,s),r.forEach(o,(function(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=u(void 0,e[i])):n[i]=u(void 0,t[i])})),r.forEach(c,(function(r){r in t?n[r]=u(e[r],t[r]):r in e&&(n[r]=u(void 0,e[r]))}));var l=i.concat(a).concat(o).concat(c),f=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===l.indexOf(e)}));return r.forEach(f,s),n}},"4d64":function(e,t,n){var r=n("fc6a"),i=n("50c4"),a=n("23cb"),o=function(e){return function(t,n,o){var c,u=r(t),s=i(u.length),l=a(o,s);if(e&&n!=n){while(s>l)if(c=u[l++],c!=c)return!0}else for(;s>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},"4de4":function(e,t,n){"use strict";var r=n("23e7"),i=n("b727").filter,a=n("1dde"),o=a("filter");r({target:"Array",proto:!0,forced:!o},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(e,t,n){"use strict";var r=n("0366"),i=n("7b0b"),a=n("9bdd"),o=n("e95a"),c=n("50c4"),u=n("8418"),s=n("35a1");e.exports=function(e){var t,n,l,f,h,d,b=i(e),p="function"==typeof this?this:Array,g=arguments.length,v=g>1?arguments[1]:void 0,w=void 0!==v,y=s(b),m=0;if(w&&(v=r(v,g>2?arguments[2]:void 0,2)),void 0==y||p==Array&&o(y))for(t=c(b.length),n=new p(t);t>m;m++)d=w?v(b[m],m):b[m],u(n,m,d);else for(f=y.call(b),h=f.next,n=new p;!(l=h.call(f)).done;m++)d=w?a(f,v,[l.value,m],!0):l.value,u(n,m,d);return n.length=m,n}},"4fad":function(e,t,n){var r=n("23e7"),i=n("6f53").entries;r({target:"Object",stat:!0},{entries:function(e){return i(e)}})},"50c4":function(e,t,n){var r=n("a691"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},5135:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},5270:function(e,t,n){"use strict";var r=n("c532"),i=n("c401"),a=n("2e67"),o=n("2444");function c(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){c(e),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||o.adapter;return t(e).then((function(t){return c(e),t.data=i(t.data,t.headers,e.transformResponse),t}),(function(t){return a(t)||(c(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},5319:function(e,t,n){"use strict";var r=n("d784"),i=n("825a"),a=n("50c4"),o=n("a691"),c=n("1d80"),u=n("8aa5"),s=n("0cb2"),l=n("14c3"),f=Math.max,h=Math.min,d=function(e){return void 0===e?e:String(e)};r("replace",2,(function(e,t,n,r){var b=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,p=r.REPLACE_KEEPS_$0,g=b?"$":"$0";return[function(n,r){var i=c(this),a=void 0==n?void 0:n[e];return void 0!==a?a.call(n,i,r):t.call(String(i),n,r)},function(e,r){if(!b&&p||"string"===typeof r&&-1===r.indexOf(g)){var c=n(t,e,this,r);if(c.done)return c.value}var v=i(e),w=String(this),y="function"===typeof r;y||(r=String(r));var m=v.global;if(m){var x=v.unicode;v.lastIndex=0}var k=[];while(1){var E=l(v,w);if(null===E)break;if(k.push(E),!m)break;var S=String(E[0]);""===S&&(v.lastIndex=u(w,a(v.lastIndex),x))}for(var _="",C=0,j=0;j=C&&(_+=w.slice(C,P)+I,C=P+O.length)}return _+w.slice(C)}]}))},5530:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));n("b64b"),n("a4d3"),n("4de4"),n("e439"),n("159b"),n("dbb4");function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;tl){var d,b=s(arguments[l++]),p=f?a(b).concat(f(b)):a(b),g=p.length,v=0;while(g>v)d=p[v++],r&&!h.call(b,d)||(n[d]=b[d])}return n}:l},6547:function(e,t,n){var r=n("a691"),i=n("1d80"),a=function(e){return function(t,n){var a,o,c=String(i(t)),u=r(n),s=c.length;return u<0||u>=s?e?"":void 0:(a=c.charCodeAt(u),a<55296||a>56319||u+1===s||(o=c.charCodeAt(u+1))<56320||o>57343?e?c.charAt(u):a:e?c.slice(u,u+2):o-56320+(a-55296<<10)+65536)}};e.exports={codeAt:a(!1),charAt:a(!0)}},"65f0":function(e,t,n){var r=n("861d"),i=n("e8b5"),a=n("b622"),o=a("species");e.exports=function(e,t){var n;return i(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)?r(n)&&(n=n[o],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},"69f3":function(e,t,n){var r,i,a,o=n("7f9a"),c=n("da84"),u=n("861d"),s=n("9112"),l=n("5135"),f=n("c6cd"),h=n("f772"),d=n("d012"),b=c.WeakMap,p=function(e){return a(e)?i(e):r(e,{})},g=function(e){return function(t){var n;if(!u(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(o){var v=f.state||(f.state=new b),w=v.get,y=v.has,m=v.set;r=function(e,t){return t.facade=e,m.call(v,e,t),t},i=function(e){return w.call(v,e)||{}},a=function(e){return y.call(v,e)}}else{var x=h("state");d[x]=!0,r=function(e,t){return t.facade=e,s(e,x,t),t},i=function(e){return l(e,x)?e[x]:{}},a=function(e){return l(e,x)}}e.exports={set:r,get:i,has:a,enforce:p,getterFor:g}},"6eeb":function(e,t,n){var r=n("da84"),i=n("9112"),a=n("5135"),o=n("ce4e"),c=n("8925"),u=n("69f3"),s=u.get,l=u.enforce,f=String(String).split("String");(e.exports=function(e,t,n,c){var u,s=!!c&&!!c.unsafe,h=!!c&&!!c.enumerable,d=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof t||a(n,"name")||i(n,"name",t),u=l(n),u.source||(u.source=f.join("string"==typeof t?t:""))),e!==r?(s?!d&&e[t]&&(h=!0):delete e[t],h?e[t]=n:i(e,t,n)):h?e[t]=n:o(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||c(this)}))},"6f3f":function(e,t){var n,r;(function(){var t;function i(){}function a(){}function c(){}function u(){}function s(){}function l(){}function f(){}function h(){}function d(){}function b(){}function p(){}function g(){}function v(){}function w(){}function y(){}function m(){}function x(){}function k(){}function E(){}function S(){}function _(){}function C(){}function j(){}function O(){}function P(){}function T(){}function A(){}function L(){}function N(){}function I(){}function D(){}function M(){}function R(){}function B(){}function H(){}function G(){}function Y(){}function z(){}function F(){}function V(){}function $(){}function q(){}function U(){}function W(){}function X(){}function K(){}function Q(){}function Z(){}function J(){}function ee(){}function te(){}function ne(){}function re(){}function ie(){}function ae(){}function oe(){}function ce(){}function ue(){}function se(){}function le(){}function fe(){}function he(){}function de(){}function be(){}function pe(){}function ge(){}function ve(){}function we(){}function ye(){}function me(){}function xe(){}function ke(){}function Ee(){}function Se(){}function _e(){}function Ce(){}function je(){}function Oe(){}function Pe(){}function Te(){}function Ae(){}function Le(){}function Ne(){}function Ie(){}function De(){}function Me(){}function Re(){}function Be(){}function He(){}function Ge(){}function Ye(){}function ze(){}function Fe(){}function Ve(){}function $e(){}function qe(){}function Ue(){}function We(){}function Xe(){}function Ke(){}function Qe(){}function Ze(){}function Je(){}function et(){}function tt(){}function nt(){}function rt(){}function it(){}function at(){}function ot(){}function ct(){}function ut(){}function st(){}function lt(){}function ft(){}function ht(){}function dt(){}function bt(){}function pt(){}function gt(){}function vt(){}function wt(){}function yt(){}function mt(e){}function xt(e){}function kt(e){}function Et(){lb()}function St(){GD()}function _t(){ej()}function Ct(){_p()}function jt(){Zv()}function Ot(){ka()}function Pt(){Ea()}function Tt(){Wo()}function At(){Jv()}function Lt(){ob()}function Nt(){TP()}function It(){cb()}function Dt(){ub()}function Mt(){wN()}function Rt(){cA()}function Bt(){xh(this)}function Ht(){xt(this)}function Gt(){ml(this)}function Yt(){kt(this)}function zt(e){this.a=e}function Ft(e){this.a=e}function Vt(e){this.a=e}function $t(e){this.a=e}function qt(e){this.a=e}function Ut(e){this.a=e}function Wt(e){this.a=e}function Xt(e){this.a=e}function Kt(e){this.a=e}function Qt(e){this.b=e}function Zt(e){this.a=e}function Jt(e){this.a=e}function en(e){this.a=e}function tn(e){this.a=e}function nn(e){this.a=e}function rn(e){this.a=e}function an(e){this.a=e}function on(e){this.a=e}function cn(e){this.a=e}function un(e){this.a=e}function sn(e){this.a=e}function ln(e){this.a=e}function fn(e){this.a=e}function hn(e){this.a=e}function dn(e){this.a=e}function bn(e){this.e=e}function pn(e){this.a=e}function gn(e){this.a=e}function vn(e){this.a=e}function wn(e){this.a=e}function yn(e){this.a=e}function mn(e){this.a=e}function xn(e){this.a=e}function kn(e){this.a=e}function En(e){this.a=e}function Sn(e){this.a=e}function _n(e){this.a=e}function Cn(e){this.a=e}function jn(e){this.a=e}function On(e){this.a=e}function Pn(e){this.a=e}function Tn(e){this.a=e}function An(e){this.a=e}function Ln(e){this.a=e}function Nn(e){this.a=e}function In(e){this.a=e}function Dn(e){this.a=e}function Mn(e){this.c=e}function Rn(e){this.a=e}function Bn(e){this.a=e}function Hn(e){this.a=e}function Gn(e){this.a=e}function Yn(e){this.a=e}function zn(e){this.a=e}function Fn(e){this.a=e}function Vn(e){this.a=e}function $n(e){this.a=e}function qn(e){this.a=e}function Un(e){this.d=e}function Wn(e){this.a=e}function Xn(e){this.a=e}function Kn(e){this.a=e}function Qn(e){this.a=e}function Zn(e){this.b=e}function Jn(e){this.a=e}function er(e){this.a=e}function tr(e){this.c=e}function nr(e){this.a=e}function rr(e){this.a=e}function ir(e){this.a=e}function ar(e){this.b=e}function or(e){this.b=e}function cr(e){this.c=e}function ur(e){this.a=e}function sr(e){this.a=e}function lr(e){this.a=e}function fr(){this.a=[]}function hr(e){this.a=e}function dr(e){this.a=e}function br(e){e.b=e.a}function pr(e){e.c=e.d.d}function gr(e,t){e.g=t}function vr(e,t){e.k=t}function wr(e,t){e.a=t}function yr(e,t){e.b=t}function mr(e,t){e.e.k=t}function xr(e){return e.a}function kr(e){return e.a}function Er(e){return e.a}function Sr(e){return e.a}function _r(e){return e.a}function Cr(){return null}function jr(){return null}function Or(){this.c=this}function Pr(){xh(this)}function Tr(){Yx(this)}function Ar(e){IL(this,e)}function Lr(e){fl(),EB(e)}function Nr(e){e.a=new Aa}function Ir(e,t){e.a=t-e.a}function Dr(e,t){e.b=t-e.b}function Mr(){Mr=a,new f}function Rr(){Rr=a,new F}function Br(){throw new hi}function Hr(){throw new hi}function Gr(){throw new hi}function Yr(){throw new hi}function zr(){throw new hi}function Fr(){throw new hi}function Vr(){throw new hi}function $r(){throw new hi}function qr(){throw new hi}function Ur(){this.a=new Gt}function Wr(){this.a=new Gt}function Xr(){this.a=new Gt}function Kr(){this.a=new Gt}function Qr(){this.a=new Gt}function Zr(){this.a=new rt}function Jr(){this.a=new Wm}function ei(){this.b=new Gt}function ti(){Aa.call(this)}function ni(){Ju.call(this)}function ri(){Ht.call(this)}function ii(){Ht.call(this)}function ai(){Gt.call(this)}function oi(){Bt.call(this)}function ci(){Bt.call(this)}function ui(){Bt.call(this)}function si(){Bt.call(this)}function li(){Bt.call(this)}function fi(){Bt.call(this)}function hi(){Bt.call(this)}function di(){this.f=new Gt}function bi(){this.d=new Gt}function pi(){this.a=new ya}function gi(){throw new hi}function vi(){throw new hi}function wi(){throw new hi}function yi(){throw new hi}function mi(){throw new hi}function xi(){this.a=new Gt}function ki(){ki=a,CG=new c}function Ei(){Ei=a,new ot}function Si(){Si=a,KF=new u}function _i(){_i=a,wV=new h}function Ci(){Ci=a,yV=new uv}function ji(){ji=a,CV=new l}function Oi(){Oi=a,LV=new v}function Pi(){Pi=a,TW=new O}function Ti(){Ti=a,AW=new L}function Ai(e){return A_(e),e}function Li(e){Jg(),this.a=e}function Ni(e){Nd(),this.a=e}function Ii(e){Nd(),this.a=e}function Di(e){Nd(),this.a=e}function Mi(e,t){e.i=t,t.f=e}function Ri(e,t){hg(e.b,t)}function Bi(){Bt.call(this)}function Hi(){Bt.call(this)}function Gi(){Bt.call(this)}function Yi(){Wv.call(this)}function zi(){Wv.call(this)}function Fi(){ui.call(this)}function Vi(){ci.call(this)}function $i(e){Za.call(this,e)}function qi(e){mh.call(this,e)}function Ui(e){mh.call(this,e)}function Wi(e){Af.call(this,e)}function Xi(e){Ld.call(this,e)}function Ki(e){Ww.call(this,e)}function Qi(e){Bc.call(this,e)}function Zi(e){Mc.call(this,e)}function Ji(e){Af.call(this,e)}function ea(e,t){e.a.W().nb(t)}function ta(e,t){return e===t}function na(e){return e?e.a:0}function ra(e){return e?e.d:0}function ia(e){return e?e.j:0}function aa(e){$i.call(this,e)}function oa(e){$i.call(this,e)}function ca(e){$i.call(this,e)}function ua(e){ca.call(this,e)}function sa(){sn.call(this,{})}function la(e){Ar.call(this,e)}function fa(e){Ar.call(this,e)}function ha(e,t,n){Mk(e,t.b,n)}function da(e,t,n){kw(e.c,t,n)}function ba(e,t,n){e.b.Fc(t,n)}function pa(e){Ln.call(this,e)}function ga(e){Ln.call(this,e)}function va(){this.a=(QC(),ZV)}function wa(){this.a=(QC(),ZV)}function ya(){this.a=new Tr}function ma(){this.a=new Gu}function xa(){xa=a,QW=new N}function ka(){ka=a,JW=new z}function Ea(){Ea=a,mK=new ye}function Sa(e){return Ep(),e}function _a(e){return wp(e),e}function Ca(e){Za.call(this,e)}function ja(e){$i.call(this,e)}function Oa(e){$i.call(this,e)}function Pa(e){this.c=$h(dp(e))}function Ta(){this.a=0,this.b=0}function Aa(){tf(this),Bv(this)}function La(){null==_G&&(_G=[])}function Na(e){e.b=null,e.c=0}function Ia(e,t){return e.b=t,e}function Da(e,t){return e.c=t,e}function Ma(e,t){return e.f=t,e}function Ra(e,t){return e.g=t,e}function Ba(e,t){return e.a=t,e}function Ha(e,t){return e.f=t,e}function Ga(e,t){return e.k=t,e}function Ya(e,t){return e.e-t.e}function za(e,t){return e.d-t.d}function Fa(e){return e<0?-e:e}function Va(e){return isNaN(e)}function $a(e){return new un(e)}function qa(e){return new bp(e)}function Ua(e){$i.call(this,e)}function Wa(e){$i.call(this,e)}function Xa(e){$i.call(this,e)}function Ka(e){$i.call(this,e)}function Qa(e){$i.call(this,e)}function Za(e){this.f=e,xh(this)}function Ja(){this.b=0,this.a=0}function eo(){eo=a,Math.log(2)}function to(){to=a,f2=OA()}function no(e,t,n){e.set(t,n)}function ro(e,t,n){e.set(t,n)}function io(e,t){X_(),jG.dc(e,t)}function ao(e,t){return cy(e,t)}function oo(e,t){return e.a.B(t)}function co(e,t){return e.g[t.e]}function uo(e,t){return e.i[t.e]}function so(e,t){return e.j[t.e]}function lo(e,t){return e.n[t.e]}function fo(e,t){return e.o[t.e]}function ho(e,t){return t in e.a}function bo(e,t){return e.b-t.b}function po(e,t){return e.d-t.d}function go(e,t){return e.i-t.i}function vo(e,t){return e>t?e:t}function wo(e,t){return e>t?e:t}function yo(e,t){return e>t?e:t}function mo(e,t){return et?1:0}function zl(e,t){return et?1:0}function Fl(e){return null!=e?Pj(e):0}function Vl(e){this.a=Ms(),this.b=e}function $l(e){this.a=Ms(),this.b=e}function ql(e){this.a=e,jb.call(this,e)}function Ul(){nf(),this.b=new Pn(this)}function Wl(){Wl=a,lV=Hf(new Pa(", "))}function Xl(){Xl=a,uV=new cl,cV=new Nl}function Kl(){Kl=a,hV=new p,dV=new g}function Ql(){Ql=a,pV=new zu,gV=new xl}function Zl(){Zl=a,kV=new ul,xV=new Of}function Jl(){Jl=a,HV=new y,GV=new m}function ef(e){e.g=new Gt,e.b=new Gt}function tf(e){e.a=new wt,e.c=new wt}function nf(){nf=a,$K=new Ke,VK=new Ob}function rf(){Cc.call(this,"IS_NULL",2)}function af(){As.call(this,"Head",1)}function of(){As.call(this,"Tail",3)}function cf(e,t){iS.call(this,e,t,null)}function uf(e,t){XP(e,0,e.length,t)}function sf(e,t){return nb(t.a,e.a),e.a}function lf(e,t){return e.a*=t,e.b*=t,e}function ff(e,t){Jg(),this.a=e,this.b=t}function hf(e,t){return e.a[t.d.k][t.k]}function df(e,t){return e.a[t.d.k][t.k]}function bf(e,t){return Tv(e.b,t.mc())}function pf(e,t){return $o(TC(e.a,t))}function gf(e,t){return $o(AC(e.a,t))}function vf(e,t){return gb(PA(e.a,t),20)}function wf(e,t){return null!=e&&zP(e,t)}function yf(e){return e.a=t)throw new Fi}function wb(e,t){return dp(e),dp(t),new Bb(e,t)}function yb(e,t){return dp(e),dp(t),new Hb(e,t)}function mb(e,t){return Ei(),e.lastIndexOf(t)}function xb(e,t,n){return e0),e.a.sb(e.c=--e.b)}function Jp(e){e.b?Jp(e.b):e.d.V()&&Pp(e.f.b,e.e)}function eg(e){if(Hj(e.d),e.d.d!=e.c)throw new Bi}function tg(e,t){if(t[DF]!=e[DF])throw new Bi}function ng(e,t){return Kl(),dp(e),dp(t),new xc(e,t)}function rg(e,t){Jg(),Ac.call(this,e,W_(new nr(t)))}function ig(e,t,n,r){this.a=e,Xx.call(this,e,t,n,r)}function ag(e){this.a=Math.cos(e),this.b=Math.sin(e)}function og(e,t,n){ca.call(this,e),this.b=t,this.a=n}function cg(e){this.b=new Gt,this.a=new Gt,this.c=e}function ug(e){this.c=new Ta,this.a=new Gt,this.b=e}function sg(){sg=a,TV=new cn(!1),AV=new cn(!0)}function lg(e,t){return++e.d,e.c[e.c.length]=t,!0}function fg(e,t){Fm(e.d,t,e.b.b,e.b),++e.a,e.c=null}function hg(e,t){var n;return n=e.a.db(t,e),null==n}function dg(e,t){var n;return n=e.slice(0,t),yk(n,e)}function bg(e,t){var n;return n=new Array(t),yk(n,e)}function pg(e,t,n){var r;return r=e.b[t],e.b[t]=n,r}function gg(e,t){var n;for(n=0;n0?e-1:e,t)}function Cg(e){return dp(e),wf(e,345)?gb(e,345):ZP(e)}function jg(e,t){return null==iC(e.a,t,(Ep(),K1))}function Og(e,t){var n;return n=e.a.Y(),Qw(t,n),n-1-t}function Pg(e,t,n){var r;return r=wE(e,t),qm(e,t,n),r}function Tg(e,t,n){var r;return r=Ag(e,t),FE(n,r),r}function Ag(e,t){var n;return n=new fC,n.i=e,n.d=t,n}function Lg(e,t,n){this.a=e,Mm(n,t),this.c=t,this.b=n}function Ng(e,t,n){return jl(null==n||nI(e,n)),e[t]=n}function Ig(e){e.a=null,e.e=null,Yx(e.b),e.d=0,++e.c}function Dg(e){Oa.call(this,(Ei(),null==e?DG:e))}function Mg(e){Oa.call(this,(Ei(),null==e?DG:e))}function Rg(e){var t;return t=e.f,t||(e.f=new qu(e))}function Bg(e){var t;return t=e.k,t||(e.k=new qt(e))}function Hg(e){var t;return t=e.e,t||(e.e=new Rc(e))}function Gg(e){var t;return t=e.e,!t&&(e.e=t=e.gb()),t}function Yg(e){var t,n;return t=e.c.f.d,n=e.d.f.d,t==n}function zg(e,t){var n;return n=new Um(e),IE(n,t),n}function Fg(e,t){return e.a+=String.fromCharCode(t),e}function Vg(e){return!e.a&&e.d?e.d.b:e.a}function $g(e){return oh(e)?0|e:e.l|e.m<<22}function qg(e){return bE(e,NY),Fk(WC(WC(5,e),e/10|0))}function Ug(e,t){return Mf(t)?Fw(e,t):Vs(Hw(e.d,t))}function Wg(e){return wf(e,19)?gb(e,19).Y():bx(e.mb())}function Xg(e){return e?new mp((Wl(),e)):Tb(null.mb())}function Kg(e,t){return Fs(e)===Fs(t)||null!=e&&jC(e,t)}function Qg(e,t){return xa(),U_(_a(Vh(e)),_a(Vh(t)))}function Zg(e){return Tf(),$d(e.a.bb().mb(),(Ql(),gV))}function Jg(){Jg=a,Nd(),fV=new rm((Xv(),Xv(),a2))}function ev(){ev=a,Nd(),mV=new Fu((Xv(),Xv(),c2))}function tv(e,t){if(null==e)throw new Ka((Ei(),t))}function nv(e,t){return cA(),(e-t<=0?0-(e-t):e-t)<.2}function rv(e,t){return e.i.b0?1:0}function iw(){return yO(),V_(ao(dW,1),cY,171,0,[hW,sW,lW])}function aw(){return JC(),V_(ao(Aq,1),cY,166,0,[E$,k$,S$])}function ow(){return PE(),V_(ao(mU,1),cY,149,0,[Kq,Xq,Wq])}function cw(){return Jm(),V_(ao(uW,1),cY,225,0,[iW,rW,aW])}function uw(){return Q_(),V_(ao(xX,1),cY,221,0,[yX,mX,wX])}function sw(){return Kk(),V_(ao(lQ,1),cY,173,0,[aQ,iQ,rQ])}function lw(e,t){return KS($p(oh(e)?f_(e):e,oh(t)?f_(t):t))}function fw(e){return 0==e.b?null:(Al(0!=e.b),DE(e,e.a.a))}function hw(e){e.d=e.d-15,e.b=e.b-15,e.c=e.c+15,e.a=e.a+15}function dw(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}function bw(e,t,n){this.d=e,this.b=new Gt,this.c=t,this.a=n}function pw(e,t){wr(this,new Hc(e.a,e.b)),yr(this,db(t))}function gw(e,t){return t===e||(Hj(e),e.d.t(t))}function vw(e){return e==yZ||e==gZ}function ww(e){yf(new tr(lT(e.e)))&&(rG(e),cD(e))}function yw(e,t){var n;n=gb(zk(e.e,t),116),n&&(e.d=!0)}function mw(e,t){var n;return n=e.b.pb(t),lx(n,e.b.Y()),n}function xw(e){var t;return t=EI(e,(SH(),yU)),t+=EI(e,Jq),t}function kw(e,t,n){vI(e,t,n,(SH(),Jq),e.f),vI(e,t,n,yU,e.n)}function Ew(e,t){e.f&&wk(e.f.f,e),e.f=t,e.f&&nb(e.f.f,e)}function Sw(e,t){e.d&&wk(e.d.a,e),e.d=t,e.d&&nb(e.d.a,e)}function _w(e,t){e.d&&wk(e.d.b,e),e.d=t,e.d&&nb(e.d.b,e)}function Cw(e,t){e.c&&wk(e.c.e,e),e.c=t,e.c&&nb(e.c.e,e)}function jw(e){var t;return t=db(e.b),pS(t,e.c),pS(t,e.i),t}function Ow(){256==S2&&(x2=k2,k2={},S2=0),++S2}function Pw(){Pw=a,zQ=new ns(nz,0),YQ=new ns(tz,1)}function Tw(){Tw=a,qZ=new ss(tz,0),UZ=new ss(nz,1)}function Aw(){return Tw(),V_(ao(WZ,1),cY,223,0,[qZ,UZ])}function Lw(){return cm(),V_(ao(jQ,1),cY,242,0,[SQ,EQ])}function Nw(){return Pw(),V_(ao($Q,1),cY,248,0,[zQ,YQ])}function Iw(){return am(),V_(ao(qQ,1),cY,247,0,[FQ,VQ])}function Dw(){return AE(),V_(ao(QQ,1),cY,194,0,[WQ,XQ])}function Mw(){return im(),V_(ao(t1,1),cY,174,0,[qJ,UJ])}function Rw(e){return Xv(),wf(e,63)?new No(e):new lh(e)}function Bw(e){var t;return t=e.g,gb(t||(e.g=new Zt(e)),20)}function Hw(e,t){return pC(e,t,Pv(e,null==t?0:e.b.Vc(t)))}function Gw(e){var t;return t=kx(e),"n_"+(null==t?Vo(e.k):t)}function Yw(e){return Mo(rE(e))+"@"+(Pj(e)>>>0).toString(16)}function zw(e,t){return Sd(Sa((wp(e),e)),Sa((wp(t),t)))}function Fw(e,t){return null==t?Vs(Hw(e.d,null)):Os(e.e,t)}function Vw(e,t,n){return new sy(e.c,uR(e.b,Ty(e.d,t,n)),e.a)}function $w(e){return 0|Math.max(Math.min(e,HG),-2147483648)}function qw(e){this.e=e,this.b=this.e.a.entries(),this.a=[]}function Uw(e){this.c=e,this.b=new lC(new qn(this.c.a).a)}function Ww(e){this.b=(Kl(),Kl(),Kl(),hV),this.a=gb(dp(e),35)}function Xw(e,t,n){Jl(),rb.call(this,e,t),null!=n&&(this.c=n)}function Kw(e,t,n){if(e<0||tn)throw new ja(HL(e,t,n))}function Qw(e,t){if(e<0||e>=t)throw new ja(UL(e,t));return e}function Zw(e,t){if(null==e)throw new Ka((Ei(),t));return e}function Jw(e){if(!Rj(e))throw new Gi;return e.c=e.b,e.b.H()}function ey(e){function t(){}return t.prototype=e||{},new t}function ty(e){var t;return t=new bc(m_(e.length)),y_(t,e),t}function ny(e){var t;t=e.c.b.b,e.b=t,e.a=e.c.b,t.a=e.c.b.b=e}function ry(e){this.b=null,!e&&(Wu(),Wu(),e=l2),this.a=e}function iy(e){this.b=e,this.a=new Yy(this.b,this.b.c.length)}function ay(e){return Jg(),dp(e),xP(e||hb(new tr(null)))}function oy(e,t){var n=SV[e.charCodeAt(0)];return null==n?e:n}function cy(e,t){var n=e.a=e.a||[];return n[t]||(n[t]=e.Oc(t))}function uy(e,t,n){var r;yT(t,n,e.c.length),r=n-t,rc(e.c,t,r)}function sy(e,t,n){wc.call(this,t.a),this.c=e,this.b=t,this.a=n}function ly(e){return Hs(e.c),e.e=e.a=e.c,e.c=e.c.c,++e.d,e.a.f}function fy(e){return Hs(e.e),e.c=e.a=e.e,e.e=e.e.e,--e.d,e.a.f}function hy(e){return QS(V_(ao(RV,1),wz,10,0,[e.f.i,e.i,e.a]))}function dy(){return FS(),V_(ao(h$,1),cY,107,0,[a$,n$,r$,i$])}function by(){return ZC(),V_(ao(m$,1),cY,122,0,[f$,s$,u$,l$])}function py(){return kA(),V_(ao(IU,1),cY,139,0,[TU,AU,PU,OU])}function gy(){return wO(),V_(ao(LU,1),cY,150,0,[SU,_U,EU,kU])}function vy(){return Kv(),V_(ao(aV,1),cY,136,0,[tV,eV,nV,rV])}function wy(){return zS(),V_(ao(KW,1),cY,201,0,[GW,FW,YW,zW])}function yy(){return SH(),V_(ao(CU,1),cY,32,0,[wU,eU,Jq,vU,yU])}function my(){return QC(),V_(ao(o$,1),cY,59,0,[ZV,QV,KV,XV,JV])}function xy(){xy=a,JK=dC((Qv(),V_(ao(tQ,1),cY,193,0,[QK,ZK])))}function ky(){ky=a,DK=dC((Am(),V_(ao(zK,1),cY,175,0,[NK,IK])))}function Ey(){Ey=a,vQ=dC((om(),V_(ao(yQ,1),cY,192,0,[gQ,pQ])))}function Sy(){return TE(),V_(ao(WJ,1),cY,140,0,[FJ,VJ,zJ])}function _y(){return Z_(),V_(ao(fJ,1),cY,218,0,[rJ,nJ,iJ])}function Cy(){return tS(),V_(ao(z1,1),cY,219,0,[a1,r1,i1])}function jy(){return mO(),V_(ao(V1,1),cY,153,0,[H1,Y1,G1])}function Oy(){return VS(),V_(ao(X1,1),cY,172,0,[$1,q1,U1])}function Py(e,t,n){return null==t?$L(e.d,null,n):qj(e.e,t,n)}function Ty(e,t,n){return new gN(e,!1,null,(Xl(),uV),!0,t,n)}function Ay(e,t){return Ap(e.a,t)?pg(e,gb(t,17).e,null):null}function Ly(e){return dp(e),bT((Kl(),new Il(Hl(yb(e.a,new b)))))}function Ny(e){return Xv(),e?new rr(e):(Ku(),s2)}function Iy(e,t){var n,r;return r=Hp(e,t),n=e.a.ub(r),new Pc(e,n)}function Dy(e,t){var n,r;for(r=e.Y(),n=0;nt)throw new ja(qL(e,t,"index"));return e}function Rm(e,t){var n;return Hj(e),n=e.d.nb(t),n&&(--e.f.c,Jp(e)),n}function Bm(e,t,n){var r;dp(e),r=new Md((Wl(),e)),sT(new Pm(r,t,n))}function Hm(e,t){return Tv((Ei(),e.toLowerCase()),t.toLowerCase())}function Gm(e,t){return Tv((Ei(),e.toLowerCase()),t.toLowerCase())}function Ym(){return Xk(),V_(ao(m2,1),cY,138,0,[g2,v2,w2,y2])}function zm(e,t,n,r){Array.prototype.splice.apply(e,[t,n].concat(r))}function Fm(e,t,n,r){var i;i=new wt,i.c=t,i.b=n,i.a=r,r.b=n.a=i,++e.b}function Vm(e,t){var n;return n=Rw(hb(new Bk(e,t))),Wp(new Bk(e,t)),n}function $m(e,t,n){if(n){var r=n.gc();e.a[t]=r(n)}else delete e.a[t]}function qm(e,t,n){if(n){var r=n.gc();n=r(n)}else n=void 0;e.a[t]=n}function Um(e){mt(this),this.d=e.d,this.c=e.c,this.a=e.a,this.b=e.b}function Wm(){this.g=new ai,this.c=new ai,this.a=new Gt,this.k=new Gt}function Xm(){this.d=new sv,this.a=new wh,this.c=new Gs,this.b=new Ot}function Km(){this.i=new Gt,this.g=new Ta,this.n=new fb,this.q=new fb}function Qm(e,t,n,r){this.e=e,this.b=new Gt,this.d=t,this.a=n,this.c=r}function Zm(){Zm=a,UW=new I,WW=new D,$W=new M,qW=new R,XW=new B}function Jm(){Jm=a,iW=new ou(tz,0),rW=new ou(rz,1),aW=new ou(nz,2)}function ex(){ex=a,c$=dC((FS(),V_(ao(h$,1),cY,107,0,[a$,n$,r$,i$])))}function tx(){tx=a,d$=dC((ZC(),V_(ao(m$,1),cY,122,0,[f$,s$,u$,l$])))}function nx(){nx=a,NU=dC((kA(),V_(ao(IU,1),cY,139,0,[TU,AU,PU,OU])))}function rx(){rx=a,jU=dC((wO(),V_(ao(LU,1),cY,150,0,[SU,_U,EU,kU])))}function ix(){ix=a,KQ=dC((AE(),V_(ao(QQ,1),cY,194,0,[WQ,XQ])))}function ax(){ax=a,XJ=dC((im(),V_(ao(t1,1),cY,174,0,[qJ,UJ])))}function ox(e){return dp(e),wf(e,19)?new Md((Wl(),gb(e,19))):hb(e.mb())}function cx(e){return Sa(_a(Fh(H_(e,(vG(),e0)))))&&null!=H_(e,j0)}function ux(e){return Sa(_a(Fh(H_(e,(vG(),e0)))))&&null!=H_(e,j0)}function sx(e,t,n,r){null==t&&(t=DG),e.a+=""+(Ei(),t.substr(n,r-n))}function lx(e,t){var n;for(n=0;n>22&YY,r=e<0?zY:0,Qd(t,n,r)}function Px(){return eT(),V_(ao(GQ,1),cY,141,0,[RQ,IQ,DQ,NQ,MQ])}function Tx(){return YT(),V_(ao(yJ,1),cY,115,0,[cJ,oJ,sJ,uJ,lJ])}function Ax(){return tT(),V_(ao(o1,1),cY,85,0,[e1,K0,Q0,Z0,J0])}function Lx(){Lx=a,t$=dC((QC(),V_(ao(o$,1),cY,59,0,[ZV,QV,KV,XV,JV])))}function Nx(){Nx=a,xU=dC((SH(),V_(ao(CU,1),cY,32,0,[wU,eU,Jq,vU,yU])))}function Ix(){Ix=a,Hq=dC((vO(),V_(ao(qq,1),cY,100,0,[Rq,Mq,Nq,Iq,Dq])))}function Dx(){Dx=a,mQ=qb(Kb(Kb(Kb(Xb(new zj,(gG(),tK)),uK),NX),FX),eK)}function Mx(e,t){var n,r;for(r=t.mb();r.G();)n=gb(r.H(),55),yM(e,n,0,0)}function Rx(e,t,n){var r,i;for(i=e.mb();i.G();)r=gb(i.H(),55),iM(r,t,n)}function Bx(e,t,n){var r,i;for(r=0,i=0;it)throw new ja("Index: "+e+", Size: "+t)}function Vx(e,t){if(e<0||e>=t)throw new ja("Index: "+e+", Size: "+t)}function $x(e,t){var n,r;return n=t.yb(),r=vC(e,n),!!r&&Nv(r.e,t.zb())}function qx(e,t){var n;return n=e.d,t>0?gb($b(n.a,t-1),9):null}function Ux(e,t,n,r,i,a){var o;return o=ST(i,r),9!=i&&V_(ao(e,a),t,n,i,o),o}function Wx(e){var t;if(!uS(e))throw new Gi;return e.d=1,t=e.c,e.c=null,t}function Xx(e,t,n,r){this.f=e,this.e=t,this.d=n,this.b=r,this.c=r?r.d:null}function Kx(e,t){if(e&&typeof e==AG)try{e.__gwt$exception=t}catch(n){}}function Qx(e,t){e.a.$b(t.d,e.b)>0&&(nb(e.c,new Bd(t.c,t.d,e.d)),e.b=t.d)}function Zx(e,t){var n;return n=U_(e.j,t.j),0==n?U_(e.k,t.k):n}function Jx(e){var t,n;return n=gb($b(e.f,0),7),t=gb(H_(n,(vG(),j0)),7),t}function ek(e){var t,n;return n=gb($b(e.f,0),7),t=gb(H_(n,(vG(),j0)),7),t}function tk(e,t){return U_(_a(Vh(H_(e,(vG(),D0)))),_a(Vh(H_(t,D0))))}function nk(){nk=a,F1=dC((mO(),V_(ao(V1,1),cY,153,0,[H1,Y1,G1])))}function rk(){rk=a,W1=dC((VS(),V_(ao(X1,1),cY,172,0,[$1,q1,U1])))}function ik(){ik=a,WV=dC((lP(),V_(ao(e$,1),cY,103,0,[zV,$V,qV,UV,FV,VV])))}function ak(){ak=a,x$=dC((hA(),V_(ao(_$,1),cY,133,0,[w$,g$,y$,b$,v$,p$])))}function ok(){ok=a,Uq=dC((BT(),V_(ao(Qq,1),cY,28,0,[$q,Vq,Fq,Gq,zq,Yq])))}function ck(){ck=a,FK=dC((aL(),V_(ao(qK,1),cY,125,0,[GK,RK,YK,HK,BK,MK])))}function uk(){return OI(),V_(ao(AK,1),cY,109,0,[OK,EK,CK,SK,_K,kK,jK,PK])}function sk(){return CN(),V_(ao(Bq,1),cY,41,0,[Eq,kq,_q,Tq,Pq,Oq,Cq,jq,Sq])}function lk(){return fA(),V_(ao(aJ,1),cY,123,0,[eJ,JZ,ZZ,KZ,XZ,QZ])}function fk(){return lA(),V_(ao(AJ,1),cY,124,0,[gJ,pJ,wJ,bJ,vJ,dJ])}function hk(){hk=a,YV=new rb("de.cau.cs.kieler.labels.labelManager",null)}function dk(){return Date.now?Date.now():(new Date).getTime()}function bk(e){var t;return t=gb(dg(e.b,e.b.length),11),new Eb(e.a,t,e.c)}function pk(e,t){var n;return Ei(),n=t.length,ta(Wd(e,e.length-n,n),t)}function gk(e,t){var n;return n=new yt,n.c=!0,n.d=t.zb(),tH(e,t.yb(),n)}function vk(e,t){var n;return n=t.yb(),Tf(),new Ec(n,rP(e.b,n,gb(t.zb(),19)))}function wk(e,t){var n;return n=Nk(e,t,0),-1!=n&&(e.vb(n),!0)}function yk(e,t){return 9!=iE(t)&&V_(rE(t),t._c,t.__elementTypeId$,iE(t),e),e}function mk(e){return tg(e.c.a.c,e),Al(e.b!=e.c.a.b),e.a=e.b,e.b=e.b.a,e.a}function xk(e){Ol(!!e.c),tg(e.e,e),e.c.I(),e.c=null,e.b=g_(e),uh(e.e,e)}function kk(e,t,n){e.a=t,e.c=n,e.b.a.Q(),Bv(e.d),e.e.a.c=Ux(qF,aY,1,0,4,1)}function Ek(e,t,n){Wi.call(this,hS(dp(e),dp(t))),this.b=e,this.c=t,this.a=n}function Sk(e,t,n,r){this.b=new In(this),this.a=e,this.c=t,this.e=n,this.d=r}function _k(e){sC.call(this,e,0),Ah(this),this.b.b=this.b,this.b.a=this.b}function Ck(e,t){Ns.call(this,e,t),this.a=Ux(p2,aY,183,2,0,1),this.b=!0}function jk(e,t){return Mf(t)?null==t?!!Hw(e.d,null):Lp(e.e,t):!!Hw(e.d,t)}function Ok(e,t){return eo(),(e-t>0?e-t:-(e-t))<=HY||e==t||isNaN(e)&&isNaN(t)}function Pk(e,t){return eo(),(e-t>0?e-t:-(e-t))<=HY||e==t||isNaN(e)&&isNaN(t)}function Tk(e){var t,n;t=!0;do{n=t?Fj(e):lO(e),t=!t}while(n);w_(e,e.d)}function Ak(e,t,n){var r;if(null==t)throw new fi;return r=Iv(e,t),$m(e,t,n),r}function Lk(e,t,n){return!e.n&&(e.n=new Tr),null==n?Pp(e.n,t):kv(e.n,t,n),e}function Nk(e,t,n){for(;n=e.a.c.length)nb(e.a,new Aa);return gb($b(e.a,t),20)}function Dk(e,t){var n;return n=gb(aP(e.a,t),19),n?rP(e.b,t,n):null}function Mk(e,t,n){var r;r=Iv(e,yz),r||(r=new sa,Ak(e,yz,r)),Ak(r.kc(),t,n)}function Rk(e,t,n,r,i){var a;return a=Ag(e,t),FE(n,a),a.g=i?8:0,a.f=r,a.e=i,a}function Bk(e,t){var n;this.f=e,this.b=t,n=gb(Ug(e.b,t),126),this.c=n?n.b:null}function Hk(e,t){var n,r,i;for(r=0,i=t.length;r0&&(r+=LH(t)),e.b[n]&&(r+=$H(t)),r}function zk(e,t){var n;return n=gb(Pp(e.c,t),176),n?(rp(n),n.e):null}function Fk(e){return mC(e,HG)>0?HG:mC(e,$G)<0?$G:$g(e)}function Vk(e){return Wl(),bE(e,"size"),$g(Fo(XC(e,8),CY)?XC(e,8):CY),new Do}function $k(e){Td.call(this,(Ei(),null==e?DG:ZP(e)),wf(e,46)?gb(e,46):null)}function qk(e){ml(this),gp(e>=0,"Initial capacity must not be negative")}function Uk(){Uk=a,jW=Qb(Kb(Kb(new zj,(gG(),nK)),VX),QX),OW=Xb(new zj,WX)}function Wk(){Wk=a,hX=new V,lX=new $,fX=new q,sX=new U,dX=new W,bX=new X}function Xk(){Xk=a,g2=new As("All",0),v2=new af,w2=new jf,y2=new of}function Kk(){Kk=a,aQ=new Eu(gF,0),iQ=new Eu("LONGEST_PATH",1),rQ=new Eu(hF,2)}function Qk(){Qk=a,IV=Qd(YY,YY,524287),DV=Qd(0,0,524288),Ox(1),Ox(2),MV=Ox(0)}function Zk(){Zk=a,TK=dC((OI(),V_(ao(AK,1),cY,109,0,[OK,EK,CK,SK,_K,kK,jK,PK])))}function Jk(){Jk=a,BQ=dC((eT(),V_(ao(GQ,1),cY,141,0,[RQ,IQ,DQ,NQ,MQ])))}function eE(){eE=a,hJ=dC((YT(),V_(ao(yJ,1),cY,115,0,[cJ,oJ,sJ,uJ,lJ])))}function tE(){tE=a,n1=dC((tT(),V_(ao(o1,1),cY,85,0,[e1,K0,Q0,Z0,J0])))}function nE(e){BA(),Uf(this,$g(lw(KS(rI(oh(e)?f_(e):e,24)),zF)),$g(lw(e,zF)))}function rE(e){return Mf(e)?XF:Df(e)?J1:Th(e)?Z1:Op(e)||ap(e)?e.$c:e.$c||_V}function iE(e){return null==e.__elementTypeCategory$?9:e.__elementTypeCategory$}function aE(e){var t,n;if(e.a){n=null;do{t=e.a,e.a=null,n=CL(t,n)}while(e.a);e.a=n}}function oE(e){var t,n;if(e.b){n=null;do{t=e.b,e.b=null,n=CL(t,n)}while(e.b);e.b=n}}function cE(e){var t,n;for(Zu(),n=KY,t=0;tn&&(n=e[t]);return n}function uE(e,t){var n;return n=gb(Ug(e.b,t),106),n||(n=t.rc(),kv(e.b,t,n)),n}function sE(e,t){var n;return n=gb(Ug(e.c,t),176),n?(Jf(e,n),n.e):null}function lE(e,t,n,r){var i;i=gb(sE(e.e,t),116),i.b+=n,i.a+=r,DP(e.e,t,i),e.d=!0}function fE(e){var t;for(++e.a,t=e.c.a.length;e.a"+e.d.f+"("+e.d+")":"e_"+Ch(e)}function _E(e,t){return zS(),e==GW&&t==FW||e==FW&&t==GW||e==zW&&t==YW||e==YW&&t==zW}function CE(e,t){return zS(),e==GW&&t==YW||e==GW&&t==zW||e==FW&&t==zW||e==FW&&t==YW}function jE(){return KR(),V_(ao($J,1),cY,110,0,[NJ,RJ,IJ,BJ,DJ,HJ,MJ,LJ])}function OE(){OE=a,Lq=dC((CN(),V_(ao(Bq,1),cY,41,0,[Eq,kq,_q,Tq,Pq,Oq,Cq,jq,Sq])))}function PE(){PE=a,Kq=new nu("OUTSIDE",0),Xq=new nu("INSIDE",1),Wq=new nu("FIXED",2)}function TE(){TE=a,FJ=new ps(oz,0),VJ=new ps("TOP",1),zJ=new ps("BOTTOM",2)}function AE(){AE=a,WQ=new as("CLASSIC",0),XQ=new as("IMPROVE_STRAIGHTNESS",1)}function LE(){this.e=new Ta,this.a=new Uv,this.d=new Ta,this.b=new Gt,this.c=new Gt}function NE(e,t,n){this.b=t,this.a=e,this.c=n,nb(this.a.e,this),nb(this.b.b,this)}function IE(e,t){e.d=mo(e.d,t.d),e.c=vo(e.c,t.c),e.a=vo(e.a,t.a),e.b=mo(e.b,t.b)}function DE(e,t){var n;return n=t.c,t.a.b=t.b,t.b.a=t.a,t.a=t.b=null,t.c=null,--e.b,n}function ME(e,t){var n;Kl(),dp(e),dp(t),n=!1;while(t.G())n|=e.ib(t.H());return n}function RE(e){var t;return tg(e.e,e),Al(e.b),e.c=e.a,t=gb(e.a.H(),21),e.b=g_(e),t}function BE(e){var t;while(e.b.G())if(t=e.b.H(),e.a.D(t))return t;return e.d=2,null}function HE(e,t){return!(!t||e.b[t.e]!=t)&&(Ng(e.b,t.e,null),--e.c,!0)}function GE(e){return $Y0&&e.c0&&0!=e.e&&aS(e.g,t/e.j*e.g.d))}function oS(e){return e.b.d.f.g==(dA(),rX)?gb(H_(e.b.d.f,(vG(),j0)),7):e.b.d}function cS(e){return e.b.c.f.g==(dA(),rX)?gb(H_(e.b.c.f,(vG(),j0)),7):e.b.c}function uS(e){switch(Bs(3!=e.d),e.d){case 2:return!1;case 0:return!0}return Sx(e)}function sS(e){switch(e.e){case 2:return SH(),yU;case 4:return SH(),Jq;default:return e}}function lS(e){switch(e.e){case 1:return SH(),vU;case 3:return SH(),eU;default:return e}}function fS(e){var t;return wf(e,90)?(t=gb(e,90),new Ki(t.a)):(Kl(),new Qt(e))}function hS(e,t){var n;return Xv(),n=new Hu(1),Mf(e)?Py(n,e,t):$L(n.d,e,t),new cr(n)}function dS(e,t){return e.g?(e.g=dS(e.g,t),--e.a,e.j=KC(e.j,t.c),TA(e)):e.e}function bS(e,t){return e.e?(e.e=bS(e.e,t),--e.a,e.j=KC(e.j,t.c),TA(e)):e.g}function pS(e,t){var n,r,i;for(wp(t),n=!1,i=t.mb();i.G();)r=i.H(),n|=e.ib(r);return n}function gS(e){var t,n,r;for(t=0,r=e.mb();r.G();)n=r.H(),t+=null!=n?Pj(n):0,t=~~t;return t}function vS(e){var t,n,r,i;for(n=e.a,r=0,i=n.length;r0?1:r<0?-1:0)}function PS(e,t,n){this.g=e,this.d=t,this.e=n,this.a=new Gt,nN(this),Xv(),_m(this.a,null)}function TS(e,t){Rs(t>0),this.b=e,this.c=t,this.j=t,this.a=1,this.d=1,this.e=null,this.g=null}function AS(e){e.a=null,e.e=null,e.b.c=Ux(qF,aY,1,0,4,1),e.f.c=Ux(qF,aY,1,0,4,1),e.c=null}function LS(){return qD(),V_(ao(GJ,1),cY,113,0,[kJ,SJ,_J,CJ,jJ,OJ,TJ,xJ,EJ,PJ])}function NS(e){return 1.4901161193847656e-8*YN(e,26)+11102230246251565e-32*YN(e,27)}function IS(e){return wf(e,87)?Xy(gb(e,87)):wf(e,88)?gb(e,88).a:wf(e,63)?new Zi(e):new Mc(e)}function DS(e){var t;return t=gb(H_(e,(vG(),b0)),32),e.g==(dA(),rX)&&(t==(SH(),yU)||t==Jq)}function MS(e,t){return!!HT(e,t)&&(xN(e.a,gb(H_(t,(vG(),h0)),18),t),!0)}function RS(e,t){var n;if(t)for(n=0;n<6;n++)gb($b(e.a,n),18).jb(gb($b(t.a,n),19));return e}function BS(e,t){var n;return e.b?null:(n=_g(e.e,e.f),tb(e.a,n),n.g=e,e.d=t,n)}function HS(e,t){var n,r;for(r=LP(e,0);r.b!=r.d.c;)n=gb(Im(r),10),n.a+=t.a,n.b+=t.b;return e}function GS(e,t){var n,r;for(n=0;n0?e.g?US(e.g,t,n):0:e.c}function WS(e,t){var n,r;return!!e.b&&(r=e.e,n=e.a.$b(t,r),n<0|0==n&e.d==(Xl(),uV))}function XS(e,t){var n,r;return!!e.c&&(r=e.g,n=e.a.$b(t,r),n>0|0==n&e.f==(Xl(),uV))}function KS(e){var t;return t=e.h,0==t?e.l+e.m*FY:t==zY?e.l+e.m*FY-VY:e}function QS(e){var t,n,r,i;for(t=new Ta,r=0,i=e.length;r=i;a--)e[a+1]=e[a];e[i]=r}function c_(e,t,n,r){var i,a;for(i=tP(e,t,n,r),i<0&&(i=-i-1),a=n-1;a>=i;a--)e[a+1]=e[a];e[i]=r}function u_(e,t){var n,r;for(wp(t),r=t.mb();r.G();)if(n=r.H(),!e.kb(n))return!1;return!0}function s_(e,t){var n;Kl(),dp(t);while(e.G())if(n=e.H(),!DS(gb(n,9)))return!1;return!0}function l_(e,t){var n,r,i;return n=t.k-e.k,0==n?(r=e.e.a*e.e.b,i=t.e.a*t.e.b,U_(r,i)):n}function f_(e){var t,n,r,i;return i=e,r=0,i<0&&(i+=VY,r=zY),n=$w(i/FY),t=$w(i-n*FY),Qd(t,n,r)}function h_(e,t){return e.c.c=Ux(qF,aY,1,0,4,1),sL(e,e.e,t),sL(e,e.a,t),Xv(),_m(e.c,null),kC(e)}function d_(e,t,n){e.g=RL(e,t,(SH(),Jq),e.b),e.d=RL(e,n,Jq,e.b),0!=e.g.c&&0!=e.d.c&&HA(e)}function b_(e,t,n){e.g=RL(e,t,(SH(),yU),e.j),e.d=RL(e,n,yU,e.j),0!=e.g.c&&0!=e.d.c&&HA(e)}function p_(e,t,n){return new Cv(mo(e.a,t.a)-n/2,mo(e.b,t.b)-n/2,fc(e.a-t.a)+n,fc(e.b-t.b)+n)}function g_(e){return!!e.a.G()||e.a==e.d&&(e.a=new qw(e.e.d),e.a.G())}function v_(e,t){var n,r;return n=t.ob(),r=n.length,0!=r&&(Mb(e.c,e.c.length,n),!0)}function w_(e,t){var n,r;for(n=0;n0;i--)a=i-1,n|=MO(e,t,a,i);return n}function I_(e,t){var n,r,i,a;for(n=!1,r=e.d[t].length,a=0;a>22),i=e.h+t.h+(r>>22),Qd(n&YY,r&YY,i&zY)}function M_(e,t){var n,r,i;return n=e.l-t.l,r=e.m-t.m+(n>>22),i=e.h-t.h+(r>>22),Qd(n&YY,r&YY,i&zY)}function R_(e,t){var n;for(n=0;n<(Ei(),t.length);n++)if(e==t.charCodeAt(n))return!0;return!1}function B_(e,t){var n;for(n=0;n<(Ei(),t.length);n++)if(e==t.charCodeAt(n))return!0;return!1}function H_(e,t){var n,r;return e.n&&(r=Ug(e.n,t),null!=r)?r:(n=uB(t),wf(n,5)&&Lk(e,t,n),n)}function G_(e){var t,n,r;for(t=new ti,r=LP(e,0);r.b!=r.d.c;)n=gb(Im(r),10),eh(t,0,new zs(n));return t}function Y_(e,t,n){var r,i,a,o;for(o=new ld(t,n),a=0,i=KI(o);i.G();)r=gb(i.H(),7),kv(e.c,r,Cj(a++))}function z_(e,t,n){if(dp(t),n.G()){Qs(t,e.C(n.H()));while(n.G())Qs(t,e.c),Qs(t,e.C(n.H()))}return t}function F_(e,t,n,r,i){r?KT(e,t):(QT(e,t,i),XB(e,t,n)),t.c.length>1&&(_m(t,e.b),lM(e.c,t))}function V_(e,t,n,r,a){return a.$c=e,a._c=t,a.ad=i,a.__elementTypeId$=n,a.__elementTypeCategory$=r,a}function $_(e,t,n){switch(n.e){case 2:e.b=t;break;case 1:e.c=t;break;case 4:e.d=t;break;case 3:e.a=t}}function q_(e,t,n){var r,i;return i=Jx(n).g,r=SC(e,t,i).a,r-Fa(gb(Ug(e.c,t),24).a-gb(Ug(e.c,n),24).a)}function U_(e,t){return et?1:e==t?0:isNaN(e)?isNaN(t)?0:1:-1}function W_(e){switch(e.Y()){case 0:return fV;case 1:return new kp(e.mb().H());default:return new rm(e)}}function X_(){var e,t;X_=a,t=!(Error.stackTraceLimit||"stack"in new Error),e=new Et,jG=t?new s:e}function K_(){K_=a,bW=new rb("intCoordinates",(Ep(),Ep(),K1)),pW=new zb("jsonObject"),gW=new Hc(0,0)}function Q_(){Q_=a,yX=new vu("MIRROR_X",0),mX=new vu("TRANSPOSE",1),wX=new vu("MIRROR_AND_TRANSPOSE",2)}function Z_(){Z_=a,rJ=new fs(oz,0),nJ=new fs("INCOMING_ONLY",1),iJ=new fs("OUTGOING_ONLY",2)}function J_(){return MH(),V_(ao(GZ,1),cY,60,0,[wZ,pZ,bZ,xZ,mZ,HZ,BZ,yZ,gZ,vZ,kZ,MZ,RZ])}function eC(){var e,t,n,r;for(eC=a,LK=new hO(GZ),t=J_(),n=0,r=t.length;n0)return vb(t-1,e.a.c.length),Hx(e.a,t-1);throw new Hi}function uC(e){e.b.c.length-e.e.c.length<0?(od(e,(SH(),Jq)),e.a.a=e.j.a):(od(e,(SH(),yU)),e.a.a=0)}function sC(e,t){gp(e>=0,"Negative initial capacity"),gp(t>=0,"Non-positive load factor"),Yx(this)}function lC(e){var t;this.e=e,this.d=new px(this.e.e),this.a=this.d,this.b=g_(this),t=e[DF],this[DF]=t}function fC(){this.n=null,this.j=null,this.i=null,this.d=null,this.b=null,this.k=null,this.a=null}function hC(e){var t,n,r,i;for(i=1,n=0,r=e.length;n=0?i=i.a[1]:(r=i,i=i.a[0]);return r}function AC(e,t){var n,r,i;r=null,i=e.b;while(i)n=e.a.$b(t,i.d),n<=0?i=i.a[0]:(r=i,i=i.a[1]);return r}function LC(e,t,n,r){var i,a;for(a=e.mb();a.G();)i=gb(a.H(),33),i.i.a=t.a+(r.a-i.j.a)/2,i.i.b=t.b,t.b+=i.j.b+n}function NC(e,t){var n;0!=e.c.length&&(n=gb(KP(e,Ux(uX,Cz,9,e.c.length,0,1)),51),uf(n,new ue),RA(n,t))}function IC(e,t){var n;0!=e.c.length&&(n=gb(KP(e,Ux(uX,Cz,9,e.c.length,0,1)),51),uf(n,new se),RA(n,t))}function DC(e){var t,n;return t=e.g,t==(dA(),rX)&&(n=gb(H_(e,(vG(),b0)),32),n==(SH(),eU)||n==vU)}function MC(e,t){var n;return wp(t),n=e[":"+t],Rp(!!n,"Enum constant undefined: %s",V_(ao(qF,1),aY,1,4,[t])),n}function RC(e,t,n){if(!e)throw new Oa(SD("lowerEndpoint (%s) > upperEndpoint (%s)",V_(ao(qF,1),aY,1,4,[t,n])))}function BC(e){throw j_(),new aa("Unexpected typeof result '"+e+"'; please report this bug to the GWT team")}function HC(e){switch(e.e){case 1:return vU;case 2:return yU;case 3:return eU;case 4:return Jq;default:return wU}}function GC(e){switch(e.e){case 2:return QV;case 1:return KV;case 4:return XV;case 3:return JV;default:return ZV}}function YC(e){return e>=48&&e<58?e-48:e>=97&&e<97?e-97+10:e>=65&&e<65?e-65+10:-1}function zC(e,t){var n,r;for(r=Zg(Hg(e.P()));r.b.G();)if(n=gb(oo(r,r.b.H()),19),n.kb(t))return!0;return!1}function FC(e){var t;if(!__(e))throw new Gi;return t=new Lc(e.c,e.a),e.b=t,e.a.i==e.c.a?e.a=null:e.a=e.a.i,t}function VC(e,t){var n;return Tf(),e===t||!!wf(t,57)&&(n=gb(t,57),VL(Fp(e),n.bb()))}function $C(e,t,n,r){return Mr(),bE(n,"oldCount"),bE(r,"newCount"),e.Cb(t)==n&&(e.Gb(t,r),!0)}function qC(e,t,n,r,i){return dp(n),dp(i),Vw(new sy(e.c,uR(e.b,new gN(e.d,!0,t,n,!1,null,(Xl(),uV))),e.a),r,i)}function UC(e){switch(Nd(),e.Y()){case 0:return ev(),mV;case 1:return new qo(e.mb().H());default:return new Fu(e)}}function WC(e,t){var n;return oh(e)&&oh(t)&&(n=e+t,$Y=r||tn)break;i>=t&&++r}return r}function uj(e,t,n){var r,i,a,o;for(wp(n),o=!1,a=LP(e,t),i=LP(n,0);i.b!=i.d.c;)r=Im(i),fg(a,r),o=!0;return o}function sj(e,t){var n,r,i;return!t.V()&&(i=e.Y(),n=e.d.jb(t),n&&(r=e.d.Y(),e.f.c+=r-i,0==i&&zd(e)),n)}function lj(e,t){var n;return t?(n=t.n?t.n:(Xv(),Xv(),o2),n.V()||(e.n?jS(e.n,n):e.n=new al(n)),e):e}function fj(e,t,n){var r;try{z_(e,t,n)}catch(i){throw i=xC(i),wf(i,181)?(r=i,new $k(r)):dj(i)}return t}function hj(e,t,n){var r;try{lN(e,t,n)}catch(i){throw i=xC(i),wf(i,181)?(r=i,new $k(r)):dj(i)}return t}function dj(e){var t;return wf(e,164)&&(t=gb(e,164),Fs(t.b)!==Fs((ki(),CG)))?Fs(t.b)===Fs(CG)?null:t.b:e}function bj(e,t){var n;n=gb(H_(Vg(e),(vG(),L0)),9);while(n){if(n==t)return!0;n=gb(H_(Vg(n),L0),9)}return!1}function pj(e){switch(gb(H_(e,(vG(),y0)),140).e){case 1:Lk(e,y0,(TE(),zJ));break;case 2:Lk(e,y0,(TE(),VJ))}}function gj(e){switch(Nd(),e.c){case 0:return ev(),mV;case 1:return new qo(DL(new Bu(e)));default:return new Xi(e)}}function vj(e){var t,n;for(Jg(),t=0,n=e.length;t-129&&e<128?(t=e+128,n=(Sp(),t2)[t],!n&&(n=t2[t]=new Rn(e)),n):new Rn(e)}function jj(e){var t,n;t=eA(e.b,e.d),n=HG;while(n>t){if(w_(e,e.d),0==t){n=0;break}Fj(e),lO(e),n=t,t=eA(e.b,e.d)}e.c=n}function Oj(){var e,t,n;BA(),n=b2+++dk(),e=$w(Math.floor(n*wF))&zF,t=$w(n-e*YF),this.a=1502^e,this.b=t^GF}function Pj(e){return Mf(e)?fP(e):Df(e)?$w((wp(e),e)):Th(e)?Sa((wp(e),e))?1231:1237:Op(e)?e.v():(ap(e),Ch(e))}function Tj(e,t,n){var r,i,a;i=new FP,i.d=n,r=YA(i,t),a=new Xm,Sa(_a(Fh(H_(r,CW))))?QE(a,r,new fd):nR(e,a,r),tG(i,r)}function Aj(e,t,n,r){var i,a,o,c;for(c=new ld(t,r),o=0,a=KI(c);a.G();)i=gb(a.H(),7),kv(e.i,i,Cj(o++));kv(n,t,Cj(o))}function Lj(e,t){var n,r,i,a,o;for(n=0,o=0,i=0,a=t.length;i=1?QV:XV):n}function Rj(e){if(dp(e.b),e.b.G())return!0;while(e.a.G())if(dp(e.b=e.Wb(e.a.H())),e.b.G())return!0;return!1}function Bj(e){return e.d==e.c.d&&e.i==e.g.d||(e.a.c=Ux(qF,aY,1,0,4,1),v_(e.a,e.c),v_(e.a,e.g),e.d=e.c.d,e.i=e.g.d),e.a}function Hj(e){var t;if(e.b){if(Hj(e.b),e.b.d!=e.c)throw new Bi}else e.d.V()&&(t=gb(Ug(e.f.b,e.e),19),t&&(e.d=t))}function Gj(e,t,n,r,i){var a,o,c,u;for(u=jx(e),F_(t,u,r,i,n),a=0,c=new tr(u);c.at){$y(n);break}}fg(n,t)}function qj(e,t,n){var r;return r=sc(e.a,t),ro(e.a,t,void 0===n?null:n),void 0===r?(++e.c,xd(e.b)):++e.d,r}function Uj(e,t,n){return(t-e<=0?0-(t-e):t-e)cF?e-n>cF:n-e>cF)}function Wj(e){switch(e.e){case 0:return oJ;case 1:return cJ;case 2:return uJ;case 3:return sJ;default:return lJ}}function Xj(e,t){switch(t.e){case 2:return e.b;case 1:return e.c;case 4:return e.d;case 3:return e.a;default:return!1}}function Kj(e){switch(SH(),e.e){case 4:return eU;case 1:return Jq;case 3:return vU;case 2:return yU;default:return wU}}function Qj(e,t){if(t==e.c)return e.d;if(t==e.d)return e.c;throw new Oa("Node "+t+" not part of edge "+e)}function Zj(e,t){var n;return ch(e.a,t)?gb(ch(e.a,t)?e.b[t.e]:null,62):(n=new ni,xS(e.a,t),pg(e,t.e,n),n)}function Jj(e,t){var n,r,i,a;a=e.g.tb(),n=0;while(a.G()){if(r=_a(Vh(a.H())),i=r-t,i>TF)return n;i>AF&&++n}return n}function eO(e){var t,n,r,i;return t=gb(Bo((r=e.$c,i=r.f,i==iV?r:i)),11),n=new Eb(t,gb(bg(t,t.length),11),0),xS(n,e),n}function tO(e,t){var n,r;for(r=new tr(t);r.at&&r.$b(e[a-1],e[a])>0;--a)o=e[a],Ng(e,a,e[a-1]),Ng(e,a-1,o)}function rO(e){var t,n;if(!Mu(gb(H_(e,(xG(),sq)),28)))for(n=new tr(e.f);n.a %s",V_(ao(qF,1),aY,1,4,[Cj(t),Cj(n)])),r=e.length,n=n=0;n--)e.j=(t=new oL(e.e,e.d,n,1),new gA(n,e.d,t)),r|=VE(e,n);return r}function fO(e){this.f=(Tf(),new Tr),this.n=new Tr,this.k=new Tr,this.g=new ya,this.i=new uP((_i(),wV)),this.j=e,Lj(this,e)}function hO(e){var t;this.a=(t=gb(e.e&&e.e(),11),new Eb(t,gb(bg(t,t.length),11),0)),this.b=Ux(qF,aY,1,this.a.a.length,4,1)}function dO(e,t){var n;return t===e||!!wf(t,18)&&(n=gb(t,18),n.Y()==e.Y()&&e.lb(n))}function bO(e){switch(MH(),e.e){case 1:return wZ;case 2:return bZ;case 3:return mZ;case 4:return BZ;default:return RZ}}function pO(e,t){switch(t.e){case 1:return e.e.d;case 2:return e.e.c;case 3:return e.e.a;case 4:return e.e.b;default:return 0}}function gO(){return yG(),V_(ao(oW,1),cY,67,0,[eW,JU,tW,$U,VU,qU,XU,WU,UU,ZU,QU,KU,zU,YU,FU,HU,BU,GU,MU,DU,RU,nW])}function vO(){vO=a,Rq=new eu(az,0),Mq=new eu("JUSTIFIED",1),Nq=new eu("BEGIN",2),Iq=new eu(rz,3),Dq=new eu("END",4)}function wO(){wO=a,SU=new iu("PORTS",0),_U=new iu("PORT_LABELS",1),EU=new iu("NODE_LABELS",2),kU=new iu("MINIMUM_SIZE",3)}function yO(){yO=a,hW=new cu("UNKNOWN",0),sW=new cu("ABOVE",1),lW=new cu("BELOW",2),fW=new rb("de.cau.cs.kieler.labelSide",hW)}function mO(){mO=a,H1=new ys("EQUALLY_DISTRIBUTED",0),Y1=new ys("NORTH_STACKED",1),G1=new ys("NORTH_SEQUENCE",2)}function xO(){SG={},!Array.isArray&&(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)})}function kO(e,t){return eo(),eo(),((e-t>0?e-t:-(e-t))<=HY||e==t||isNaN(e)&&isNaN(t)?0:et?1:gl(isNaN(e),isNaN(t)))>0}function EO(e,t){return eo(),eo(),((e-t>0?e-t:-(e-t))<=HY||e==t||isNaN(e)&&isNaN(t)?0:et?1:gl(isNaN(e),isNaN(t)))<0}function SO(e){var t,n;e.d||tM(e),n=new ti,t=e.b.mb(),t.H();while(t.G())tb(n,gb(t.H(),92).a);return Al(0!=n.b),DE(n,n.c.b),n}function _O(e){var t,n,r,i;for(i=new Ll,t=new Md(e.c),BL(t),r=new tr(t);r.at.f?1:e.gt.g?1:e.b-t.b}function LO(e,t){if(t.c==e)return t.d;if(t.d==e)return t.c;throw new Oa("Input edge is not connected to the input port.")}function NO(e){var t;0!=e.c&&(t=gb($b(e.a,e.b),128),1==t.b?(++e.b,e.b.5&&a<50)i=zI(r),n=jA(r,i,!0),t=fc(n.b),++a;return jA(e,i,!1)}function GO(e){var t,n,r,i,a;r=MR(e),t=iF,a=0,i=0;while(t>.5&&a<50)i=YI(r),n=jA(r,i,!0),t=fc(n.a),++a;return jA(e,i,!1)}function YO(e){var t,n,r;for(this.a=new Ll,this.e=new ya,this.f=0,n=0,r=e.length;n2e3&&(OV=e,PV=t.setTimeout(Xo,10))),0==jV++&&(aE((ji(),CV)),!0)}function WO(e){var t,n;for(n=new tr(e.a.b);n.a0),t.a.sb(t.c=--t.b))}function KO(e){var t;ah(gb(H_(e,(xG(),sq)),28))&&(t=e.c,gI((Vx(0,t.c.length),gb(t.c[0],16))),gI(gb($b(t,t.c.length-1),16)))}function QO(e,t,n){TO(n,"Compound graph preprocessor",1),e.a=new Yu,kR(e,t,null),JR(e,t),Lk(t,(vG(),u0),e.a),e.a=null,Yx(e.b),yj(n)}function ZO(e){var t,n;return t=gb(Jw(kg(Sj(e))),12),n=gb(Jw(kg(_j(e))),12),!Sa(_a(Fh(H_(t,(vG(),Y0)))))||!Sa(_a(Fh(H_(n,Y0))))}function JO(e,t,n){t.g==(dA(),oX)&&n.g==aX&&(e.d=PC(t,(SH(),vU)),e.b=PC(t,eU)),n.g==oX&&t.g==aX&&(e.d=PC(n,(SH(),eU)),e.b=PC(n,vU))}function eP(e,t,n){var r,i,a,o;return a=t.g,o=n.g,a!=o?a.e-o.e:(r=e.a[t.k],i=e.a[n.k],r||i?r?i?U_(r.a,i.a):1:-1:0)}function tP(e,t,n,r){var i,a,o,c;a=t,i=n-1;while(a<=i)if(o=a+i>>>1,c=e[o],cr))return o;i=o-1}return-(a+1)}function nP(e){return wf(e,137)?(Xv(),new hh(gb(e,137))):wf(e,18)?(Xv(),new Ao(gb(e,18))):wf(e,20)?Rw(gb(e,20)):(Xv(),new ar(e))}function rP(e,t,n){return wf(n,137)?new Bh(e,t,gb(n,137)):wf(n,18)?new Rh(e,t,gb(n,18)):wf(n,20)?bm(e,t,gb(n,20),null):new Xx(e,t,n,null)}function iP(e,t){var n;n=e.ub(t);try{return n.H()}catch(r){throw r=xC(r),wf(r,74)?new ja("Can't get element "+t):dj(r)}}function aP(e,t){Tf(),dp(e);try{return e.cb(t)}catch(n){if(n=xC(n),wf(n,119))return null;if(wf(n,76))return null;throw dj(n)}}function oP(e,t){var n,r=e.a;t=String(t),r.hasOwnProperty(t)&&(n=r[t]);var i=(j_(),NV)[typeof n],a=i?i(n):BC(typeof n);return a}function cP(e,t,n,r){tt.e?1:e.ft.f?1:Ch(e)-Ch(t)}function mP(e){switch(e.e){case 1:return SH(),yU;case 4:return SH(),eU;case 3:return SH(),Jq;case 2:return SH(),vU;default:return SH(),wU}}function xP(e){var t,n;switch(t=dg(e.c,e.c.length),t.length){case 0:return fV;case 1:return n=new kp(t[0]),n;default:return new rm(vj(t))}}function kP(e){var t,n,r,i;for(r=Ux(QF,aY,64,e.c.length,0,1),i=0,n=new tr(e);n.a=e.b>>1)for(r=e.c,n=e.b;n>t;--n)r=r.b;else for(r=e.a.a,n=0;n0&&(i.b+=t),i}function IP(e,t){var n,r,i;for(i=new Ta,r=e.mb();r.G();)n=gb(r.H(),55),iM(n,0,i.b),i.b+=n.e.b+t,i.a=vo(i.a,n.e.a);return i.a>0&&(i.a+=t),i}function DP(e,t,n){var r,i,a;return i=gb(Ug(e.c,t),176),i?(a=Gd(i,n),Jf(e,i),a):(r=new Rb(e,t,n),kv(e.c,t,r),ny(r),null)}function MP(e,t){return!!VI(e.b).kb(t.c)&&(vw(e.b)?!(xb(t.d,e.c,e.a)&&xb(t.a,e.c,e.a)):xb(t.d,e.c,e.a)&&xb(t.a,e.c,e.a))}function RP(e,t){return e.cKh(e.d,Gl(t.a,t.b))?-1:e.c==t.c&&Gl(e.a,e.b)==Gl(e.a,e.b)?0:1}function BP(e,t,n){if(e.e)switch(e.b){case 1:Sv(e.c,t,n);break;case 0:Ev(e.c,t,n)}else Fy(e.c,t,n);e.a[t.k][n.k]=e.c.i,e.a[n.k][t.k]=e.c.e}function HP(e,t,n){switch(n.e){case 1:e.a=t.a/2,e.b=0;break;case 2:e.a=t.a,e.b=t.b/2;break;case 3:e.a=t.a/2,e.b=t.b;break;case 4:e.a=0,e.b=t.b/2}}function GP(e){switch(e.e){case 8:return SH(),eU;case 9:return SH(),vU;case 10:return SH(),Jq;case 11:return SH(),yU;default:return SH(),wU}}function YP(e){var t,n,r;for(t="Ot",r=ko(e.length,5),n=0;n=n+1&&e.splice(0,n+1);break}return e}function zP(e,t){return Mf(e)?!!TG[t]:e._c?!!e._c[t]:Df(e)?!!PG[t]:!!Th(e)&&!!OG[t]}function FP(){K_(),this.i=(Tf(),new Tr),this.a=new Tr,this.k=new Tr,this.j=new Tr,this.b=new Tr,this.n=new Tr,this.f=new Tr,this.e=new Tr}function VP(e,t){var n,r;t.a.R(e)||(r=gb(H_(e,(vG(),b0)),32),n=gb($b(e.f,0),7),r==(SH(),eU)?od(n,vU):r==vU&&od(n,eU),t.a.db(e,t))}function $P(e){var t,n;return n=yo(1,gb(H_(e,(vG(),R0)),24).a),t=e.c.f.g==(dA(),oX)&&e.d.f.g==oX?1:e.c.f.g==oX||e.d.f.g==oX?2:8,n*t}function qP(e){var t,n,r,i,a;for(a=gb(H_(e,(vG(),j0)),7),t=gb(KP(e.b,Ux(eX,Uz,12,e.b.c.length,0,1)),47),r=0,i=t.length;ri&&Ng(t,i,null),t}function QP(e,t){var n,r,i;for(i=e.a.length,t.lengthi&&Ng(t,i,null),t}function ZP(e){return Mf(e)?e:Df(e)?hc((wp(e),e)):Th(e)?Cf(Sa((wp(e),e))):Op(e)?e.w():ap(e)?Yw(e):e.toString?e.toString():"[JavaScriptObject]"}function JP(e){var t,n,r,i,a;for(a=0,n=e.b,r=0,i=n.length;r0),(t&-t)==t)return $w(t*YN(e,31)*4.656612873077393e-10);do{n=YN(e,31),r=n%t}while(n-r+(t-1)<0);return $w(r)}function aT(e,t){if(e.c.f==t)return e.d.f;if(e.d.f==t)return e.c.f;throw new Oa("Node "+t+" is neither source nor target of edge "+e)}function oT(e,t,n){return Pl(e>=0&&e<=1114111),e>=YG?(t[n++]=55296+(e-YG>>10&1023)&zG,t[n]=56320+(e-YG&1023)&zG,2):(t[n]=e&zG,1)}function cT(e,t){var n,r;Kl();while(e.G()){if(!t.G())return!1;if(n=e.H(),r=t.H(),!(Fs(n)===Fs(r)||null!=n&&jC(n,r)))return!1}return!t.G()}function uT(e){var t,n,r;for(Na(e.b.a),e.a=Ux(LW,aY,25,e.c.b.a.b.c.length,0,1),t=0,r=new tr(e.c.b.a.b);r.aa&&Ng(t,a,null),t}function vT(e,t,n){if(n&&(t<0||t>n.a.c.length))throw new Oa("index must be >= 0 and <= layer node count");e.d&&wk(e.d.a,e),e.d=n,n&&lp(n.a,t,e)}function wT(e,t,n,r,i,a,o,c){var u,s;r&&(u=r.a[0],u&&wT(e,t,n,u,i,a,o,c),AT(e,n,r.d,i,a,o,c)&&t.ib(r),s=r.a[1],s&&wT(e,t,n,s,i,a,o,c))}function yT(e,t,n){if(e<0)throw new ja(KG+e+" < 0");if(t>n)throw new ja("toIndex: "+t+" > size "+n);if(e>t)throw new Oa(KG+e+" > toIndex: "+t)}function mT(e,t){var n,r,i;return n=t.yb(),i=t.zb(),r=e.cb(n),!!(Fs(i)===Fs(r)||null!=i&&jC(i,r))&&!(null==r&&!e.R(n))}function xT(e,t,n){var r;r=t.c.f,r.g==(dA(),aX)?(Lk(e,(vG(),E0),gb(H_(r,E0),7)),Lk(e,S0,gb(H_(r,S0),7))):(Lk(e,(vG(),E0),t.c),Lk(e,S0,n.d))}function kT(e,t,n){var r;r=t.c.f,r.g==(dA(),aX)?(Lk(e,(vG(),E0),gb(H_(r,E0),7)),Lk(e,S0,gb(H_(r,S0),7))):(Lk(e,(vG(),E0),t.c),Lk(e,S0,n.d))}function ET(e,t,n){var r,i,a,o,c;for(hE(e),null==e.i&&(e.i=Ux(UF,LG,46,0,0,1)),i=e.i,a=0,o=i.length;a>>28]|t[e>>24&15]<<4|t[e>>20&15]<<8|t[e>>16&15]<<12|t[e>>12&15]<<16|t[e>>8&15]<<20|t[e>>4&15]<<24|t[15&e]<<28}function PT(e,t,n){var r,i;return t.c==(tS(),i1)&&n.c==r1?-1:t.c==r1&&n.c==i1?1:(r=sO(t.a,e.a),i=sO(n.a,e.a),t.c==i1?i-r:r-i)}function TT(e){var t,n,r,i,a;for(i=HG,a=null,r=new tr(e.d);r.a0||!o&&0==c))}function LT(e){var t,n;if(Nd(),!e.G())return ev(),mV;if(n=e.H(),!e.G())return new qo(n);t=new Ll,hg(t,dp(n));do{hg(t,dp(e.H()))}while(e.G());return UC(t)}function NT(e,t,n){e.e=t,e.a=n,e.d=h_(e,(SH(),Jq)),e.d+=h_(e,yU),vI(e,t,n,Jq,e.f),vI(e,t,n,yU,e.n),e.b=h_(e,Jq),e.b+=h_(e,yU),vI(e,n,t,Jq,e.f),vI(e,n,t,yU,e.n)}function IT(e){var t,n,r;Ei(),n=e.length,r=0;while(rr&&e.charCodeAt(t-1)<=32)--t;return r>0||t>19,s=t.h>>19,u!=s?s-u:(i=e.h,c=t.h,i!=c?i-c:(r=e.m,o=t.m,r!=o?r-o:(n=e.l,a=t.l,n-a)))}function FT(e){var t,n,r,i;for(i=new Wn(e.p.a).a.bb().mb(),n=new Xn(i);n.a.G();)if(r=gb(n.a.H(),21),t=gb(r.yb(),89),t.e&&e.b[t.b]<0)return t;return null}function VT(e,t){var n,r,i,a,o;r=mo(e.d,t.d),a=mo(e.e,t.e),i=vo(e.d+e.c,t.d+t.c),o=vo(e.e+e.b,t.e+t.b),i=t.length)throw new ja("Greedy SwitchDecider: Free layer layer not in graph.");this.b=t[e],this.c=new pd(this.b),this.d=new t_(this.b)}function vA(e,t){var n;if(this.f=e,this.b=this.f.c,n=e.d,Mm(t,n),t>=(n/2|0)){this.e=e.e,this.d=n;while(t++0)Qy(this)}this.a=null}function wA(e){var t,n,r;for(n=new tr(e.a.b);n.a0&&(e.g=UA(e.g)),qA(e);case 2:return vl(e.e)<0&&(e.e=qA(e.e)),UA(e);default:return e.d=1+yo(ra(e.e),ra(e.g)),e}}function AA(e,t){this.f=(Tf(),new Tr),this.b=new Tr,this.j=new Tr,this.a=e,this.c=t,this.c>0&&sN(this,this.c-1,(SH(),Jq)),this.c0&&yN(e,t,n),0)):(Rs(0==n),0)}function RA(e,t){var n,r,i,a,o;for(i=gb(H_(t,(vG(),z0)),15).a*gb(H_(t,(wG(),v1)),15).a,o=e[0].i.a+e[0].j.a,a=1;a=0;t--)d2[t]=r,r*=.5;for(n=1,e=24;e>=0;e--)h2[e]=n,n*=.5}function HA(e){while(0!=e.g.c&&0!=e.d.c)nh(e.g).c>nh(e.d).c?(e.i+=e.g.c,NO(e.d)):nh(e.d).c>nh(e.g).c?(e.e+=e.d.c,NO(e.g)):(e.i+=Lb(e.g),e.e+=Lb(e.d),NO(e.g),NO(e.d))}function GA(e){if(!e)throw new ua("An element is null. The origin of an edge could not be determined, this might be due to an inconsistency within the internal element mappings.")}function YA(e,t){var n,r;return Yx(e.i),Yx(e.a),Yx(e.k),Yx(e.j),Yx(e.b),Yx(e.n),Yx(e.f),Yx(e.e),e.d&&(r=Iv(e.d,bW.b),r&&r.ic()&&(e.c=r.ic().a)),n=jH(e,t,null),BM(e,t),n}function zA(e){var t,n,r,i,a,o;r=TM(MR(e)),t=iF,a=0,i=0;while(t>.5&&a<50)i=zI(r),n=jA(r,i,!0),t=fc(n.b),++a;return o=Vh(iP(db(e.g),db(e.g).b-1)),jA(e,(wp(o),o-i),!1)}function FA(e){var t,n,r,i,a,o;r=TM(MR(e)),t=iF,a=0,i=0;while(t>.5&&a<50)i=YI(r),n=jA(r,i,!0),t=fc(n.a),++a;return o=Vh(iP(db(e.g),db(e.g).b-1)),jA(e,(wp(o),o-i),!1)}function VA(e){var t,n,r,i;for(i=new Oo("["),t=!1,r=e.mb();r.G();)n=r.H(),t?i.a+=", ":t=!0,Js(i,n===e?"(this Collection)":(Ei(),null==n?DG:ZP(n)));return i.a+="]",i.a}function $A(e){var t,n,r,i;for(i=new Oo("{"),t=!1,r=e.bb().mb();r.G();)n=gb(r.H(),21),t?i.a+=", ":t=!0,Js(i,dm(e,n.yb())),i.a+="=",Js(i,dm(e,n.zb()));return i.a+="}",i.a}function qA(e){var t;return Bs(!!e.g),t=e.g,e.g=t.e,t.e=e,t.j=e.j,t.a=e.a,e.a=1+na(e.e)+na(e.g),e.j=WC(WC(e.c,ia(e.e)),ia(e.g)),e.d=1+yo(ra(e.e),ra(e.g)),t.d=1+yo(ra(t.e),ra(t.g)),t}function UA(e){var t;return Bs(!!e.e),t=e.e,e.e=t.g,t.g=e,t.j=e.j,t.a=e.a,e.a=1+na(e.e)+na(e.g),e.j=WC(WC(e.c,ia(e.e)),ia(e.g)),e.d=1+yo(ra(e.e),ra(e.g)),t.d=1+yo(ra(t.e),ra(t.g)),t}function WA(e){var t;yf(new tr(CT(e.e)))&&(t=gb(aO(e.e,(xG(),sq)),28),t==(BT(),Yq)?OD(e.e):t==zq?qB(e.e):Sa(_a(Fh(aO(e.e,V$))))||0==e.e.e.j.a&&0==e.e.e.j.b?uD(e.e):BB(e))}function XA(e,t,n){var r,i,a;if(i=new tr(e),i.ac?i:c;return i}function QA(e,t){var n;if(Zm(),e.c==t.c){if(e.b==t.b||_E(e.b,t.b)){if(n=Iu(e.b)?1:-1,e.a&&!t.a)return n;if(!e.a&&t.a)return-n}return zl(e.b.e,t.b.e)}return U_(e.c,t.c)}function ZA(e){var t,n;switch(n=wl(QS(V_(ao(RV,1),wz,10,0,[e.f.i,e.i,e.a]))),t=e.f.e,e.g.e){case 1:n.b-=t.d;break;case 2:n.a+=t.c;break;case 3:n.b+=t.a;break;case 4:n.a-=t.b}return n}function JA(e,t){var n;return n=0,t.g==(dA(),cX)?(Jx(t).f!=e.a&&(Es(e,Jx(t).f),e.e=!0),e.e?++e.g:n+=e.f):t.g==aX?e.e?n+=e.g:++e.f:t.g==oX&&(Es(e,t),e.e=!1),n}function eL(e,t,n,r,i){var a,o,c,u;for(u=null,c=new tr(r);c.a0)a%2>0&&(r+=c[a+1]),a=(a-1)/2|0,++c[a]}return r}function iL(e,t,n){var r,i,a,o;if(e.e=t,n)for(o=new Wn(e.a.a).a.bb().mb(),i=new Xn(o);i.a.G();)a=gb(i.a.H(),21),r=gb(a.yb(),12),Lk(r,(vG(),$0),e.e),od(r.c,t.a),od(r.d,t.b)}function aL(){aL=a,GK=new xu(oz,0),RK=new xu(tz,1),YK=new xu(nz,2),HK=new xu("LEFT_RIGHT_CONSTRAINT_LOCKING",3),BK=new xu("LEFT_RIGHT_CONNECTION_LOCKING",4),MK=new xu("EDGE_LENGTH",5)}function oL(e,t,n,r){var i;this.b=r,this.e=e.a,i=t[n],this.d=cp(C2,[LG,lF],[227,26],13,[i.length,i.length],2),this.a=cp(_2,[LG,RY],[52,26],12,[i.length,i.length],2),this.c=new AA(t,n)}function cL(e,t,n,r){var i,a;a=t,i=null==a.d||e.a.$b(n.d,a.d)>0?1:0;while(a.a[i]!=n)a=a.a[i],i=e.a.$b(n.d,a.d)>0?1:0;a.a[i]=r,r.b=n.b,r.a[0]=n.a[0],r.a[1]=n.a[1],n.a[0]=null,n.a[1]=null}function uL(e,t,n){var r,i,a,o;if(TO(n,Lz,1),hH(e.d,t),o=vB(e.a,t),1==o.Y())BR(gb(o.sb(0),55),n);else for(a=1/o.Y(),i=o.mb();i.G();)r=gb(i.H(),55),BR(r,BS(n,a));ba(e.a,o,t),rR(t),yj(n)}function sL(e,t,n){var r,i,a,o,c;for(c=new ld(t,n),o=KI(c);o.G();)for(a=gb(o.H(),7),i=kg(hl((Jg(),new rm(vj(V_(ao(qF,1),aY,1,4,[a.b,a.e]))))));Rj(i);)r=gb(Jw(i),12),mx(r)||xL(e,t,a,r)}function lL(e,t){var n,r,i;for(i=dL(e,t),r=i.mb();r.G();)if(n=gb(r.H(),7),null!=H_(n,(vG(),I0))||Rj(kg(hl((Jg(),new rm(vj(V_(ao(qF,1),aY,1,4,[n.b,n.e]))))))))return!0;return!1}function fL(e){var t,n;if(nm(e))throw new Oa(LF);for(n=LP(e,0);n.b!=n.d.c;)t=gb(Im(n),10),this.d=mo(this.d,t.b),this.c=vo(this.c,t.a),this.a=vo(this.a,t.b),this.b=mo(this.b,t.a)}function hL(e,t,n){if(t<0||n<0)throw new Oa("The highx must be bigger then lowx and the highy must be bigger then lowy");return e.a<0?e.a=0:e.a>t&&(e.a=t),e.b<0?e.b=0:e.b>n&&(e.b=n),e}function dL(e,t){switch(t.e){case 1:return wb(e.f,(Wk(),fX));case 2:return wb(e.f,(Wk(),sX));case 3:return wb(e.f,(Wk(),dX));case 4:return wb(e.f,(Wk(),bX));default:return Xv(),Xv(),a2}}function bL(e){var t,n,r,i;for(Kl(),i=new Il(Hl(yb(e.a,new b)));Rj(i);)for(r=gb(Jw(i),9),r.g==(dA(),iX)&&Lk(r,(vG(),k0),(yO(),lW)),n=kg(_j(r));Rj(n);)t=gb(Jw(n),12),jI(t,(yO(),lW))}function pL(e){var t,n,r,i;for(Kl(),i=new Il(Hl(yb(e.a,new b)));Rj(i);)for(r=gb(Jw(i),9),r.g==(dA(),iX)&&Lk(r,(vG(),k0),(yO(),sW)),n=kg(_j(r));Rj(n);)t=gb(Jw(n),12),jI(t,(yO(),sW))}function gL(e,t){switch(this.b=new ya,e){case 0:this.d=new zn(this);break;case 1:this.d=new Gn(this);break;case 2:this.d=new Yn(this);break;default:throw new ci}this.c=t,this.a=.2*t}function vL(e){var t,n,r,i;if(!e.b)for(e.b=new Gt,n=new tr(e.a.c);n.a=YG?(t=55296+(e-YG>>10&1023)&zG,n=56320+(e-YG&1023)&zG,String.fromCharCode(t)+""+String.fromCharCode(n)):String.fromCharCode(e&zG)}function mL(e,t,n,r){var i,a,o;switch(i=Vg(n),a=Mj(i),o=new WT,Ew(o,n),r.e){case 1:od(o,HC(Kj(a)));break;case 2:od(o,Kj(a))}return Lk(o,(vG(),C0),gb(H_(t,C0),15)),Lk(t,j0,o),kv(e.b,o,t),o}function xL(e,t,n,r){var i;nb(e.c,new _v(e,n,r,gb(Ug(e.k,n),24).a)),Yg(r)&&(t==e.e?r.d.f!=e.a&&r.c.f!=e.a:r.d.f!=e.e&&r.c.f!=e.e)&&(i=n==r.c?r.d:r.c,nb(e.c,new _v(e,i,r,gb(Ug(e.k,i),24).a)))}function kL(e,t){var n,r,i;if(t===e)return!0;if(!wf(t,57))return!1;if(i=gb(t,57),e.Y()!=i.Y())return!1;for(r=i.bb().mb();r.G();)if(n=gb(r.H(),21),!e._(n))return!1;return!0}function EL(e,t){var n,r,i;return r=new jP(e),lj(r,t),Lk(r,(vG(),d0),t),Lk(r,(xG(),sq),(BT(),Yq)),Lk(r,P$,(lP(),VV)),gr(r,(dA(),rX)),n=new WT,Ew(n,r),od(n,(SH(),yU)),i=new WT,Ew(i,r),od(i,Jq),r}function SL(e,t){var n,r,i;for(i=HG,r=new tr(Bj(t));r.ai?a:i}return a}function PL(e){var t,n,r,i,a;for(a=HG,i=HG,r=new tr(Bj(e));r.a0&&TL(e,a,n));t.k=0}function AL(e,t){if(mt(this),0>t)throw new Oa("Top must be smaller or equal to bottom.");if(0>e)throw new Oa("Left must be smaller or equal to right.");this.d=0,this.c=e,this.a=t,this.b=0}function LL(e){var t,n,r;if(mt(this),0==e.length)throw new Oa(LF);for(n=0,r=e.length;n",new Oa(r.a)}function ML(e){var t,n,r,i,a;for(t=0,r=e.b,i=0,a=r.length;in?qL(e,n,"start index"):t<0||t>n?qL(t,n,"end index"):SD("end index (%s) must not be less than start index (%s)",V_(ao(qF,1),aY,1,4,[Cj(t),Cj(e)]))}function GL(e){if(!("id"in e.a))throw new sh("Every graph element must specify an 'id' property.",e);if(!Iv(e,"id").lc())throw new sh("Invalid format for 'id'. Must be a string, was "+Iv(e,"id").$c,e)}function YL(e,t){var n,r,i,a,o,c,u;for(u=e.b,r=gb(Lv(LK,e),20).mb();r.G();)for(n=gb(r.H(),75),a=new Wn(n.c.a).a.bb().mb(),c=new Xn(a);c.a.G();)i=gb(c.a.H(),21),o=gb(i.yb(),7),kd(t,o),HN(o,u)}function zL(e,t){var n,r,i;for(i=new tr(t.e);i.a1)throw new Oa("In straight hyperEdges there may be only one edge.");tb((i=new Wn(n.a).a.bb().mb(),r=gb(new Xn(i).a.H(),21),gb(r.yb(),12)).a,new Hc(t,e.b))}function ZL(e,t,n){var r,i;if(this.f=e,r=gb(Ug(e.b,t),126),i=r?r.a:0,Mm(n,i),n>=(i/2|0)){this.e=r?r.c:null,this.d=i;while(n++0)ly(this)}this.b=t,this.a=null}function JL(t,n){typeof r===BG?r(n):((typeof document!==pz||typeof e===AG&&e.exports)&&T2(t(n)),typeof document===pz&&typeof self!==pz&&self.postMessage(n))}function eN(e,t){var n,r,i,a;"x"in e.a&&(i=gb(Iv(e,"x"),104),t.i.a=i.a),"y"in e.a&&(a=gb(Iv(e,"y"),104),t.i.b=a.a),kz in e.a&&(r=gb(Iv(e,kz),104),t.j.a=r.a),Ez in e.a&&(n=gb(Iv(e,Ez),104),t.j.b=n.a)}function tN(e,t,n){var r,i;zx(this),t==(Tw(),qZ)?hg(this.g,e.c):hg(this.o,e.c),hg(n==qZ?this.g:this.o,e.d),hg(this.c,e),r=hy(e.c).b,i=hy(e.d).b,cP(this,r,i,i),this.f=nv(hy(e.c).b,hy(e.d).b)}function nN(e){var t,n,r,i,a,o;for(o=new ld(e.d,e.e),a=KI(o);a.G();)for(i=gb(a.H(),7),r=e.e==(SH(),yU)?i.b:i.e,n=new tr(r);n.a