A;A++)mxEdgeStyle.limits[A][1]=
-n[A][0]-y[A],mxEdgeStyle.limits[A][2]=n[A][1]-y[A],mxEdgeStyle.limits[A][4]=n[A][0]+n[A][2]+y[A],mxEdgeStyle.limits[A][8]=n[A][1]+n[A][3]+y[A];y=n[0][1]+n[0][3]/2;p=n[1][1]+n[1][3]/2;A=n[0][0]+n[0][2]/2-(n[1][0]+n[1][2]/2);C=y-p;y=0;0>A?y=0>C?2:1:0>=C&&(y=3,0==A&&(y=2));p=null;null!=c&&(p=l);c=[[.5,.5],[.5,.5]];for(A=0;2>A;A++)null!=p&&(c[A][0]=(p.x-n[A][0])/n[A][2],1>=Math.abs(p.x-n[A][0])?a[A]=mxConstants.DIRECTION_MASK_WEST:1>=Math.abs(p.x-n[A][0]-n[A][2])&&(a[A]=mxConstants.DIRECTION_MASK_EAST),
-c[A][1]=(p.y-n[A][1])/n[A][3],1>=Math.abs(p.y-n[A][1])?a[A]=mxConstants.DIRECTION_MASK_NORTH:1>=Math.abs(p.y-n[A][1]-n[A][3])&&(a[A]=mxConstants.DIRECTION_MASK_SOUTH)),p=null,null!=f&&(p=m);A=n[0][1]-(n[1][1]+n[1][3]);m=n[0][0]-(n[1][0]+n[1][2]);p=n[1][1]-(n[0][1]+n[0][3]);q=n[1][0]-(n[0][0]+n[0][2]);mxEdgeStyle.vertexSeperations[1]=Math.max(m-B,0);mxEdgeStyle.vertexSeperations[2]=Math.max(A-B,0);mxEdgeStyle.vertexSeperations[4]=Math.max(p-B,0);mxEdgeStyle.vertexSeperations[3]=Math.max(q-B,0);B=[];
-f=[];l=[];f[0]=m>=q?mxConstants.DIRECTION_MASK_WEST:mxConstants.DIRECTION_MASK_EAST;l[0]=A>=p?mxConstants.DIRECTION_MASK_NORTH:mxConstants.DIRECTION_MASK_SOUTH;f[1]=mxUtils.reversePortConstraints(f[0]);l[1]=mxUtils.reversePortConstraints(l[0]);m=m>=q?m:q;p=A>=p?A:p;q=[[0,0],[0,0]];t=!1;for(A=0;2>A;A++)0==a[A]&&(0==(f[A]&d[A])&&(f[A]=mxUtils.reversePortConstraints(f[A])),0==(l[A]&d[A])&&(l[A]=mxUtils.reversePortConstraints(l[A])),q[A][0]=l[A],q[A][1]=f[A]);0A;A++)0==a[A]&&(0==(q[A][0]&d[A])&&(q[A][0]=q[A][1]),B[A]=q[A][0]&d[A],B[A]|=(q[A][1]&d[A])<<8,B[A]|=(q[1-A][A]&d[A])<<16,B[A]|=(q[1-A][1-A]&d[A])<<24,0==(B[A]&15)&&(B[A]<<=8),0==(B[A]&3840)&&(B[A]=B[A]&15|B[A]>>8),0==(B[A]&
-983040)&&(B[A]=B[A]&65535|(B[A]&251658240)>>8),a[A]=B[A]&15,d[A]==mxConstants.DIRECTION_MASK_WEST||d[A]==mxConstants.DIRECTION_MASK_NORTH||d[A]==mxConstants.DIRECTION_MASK_EAST||d[A]==mxConstants.DIRECTION_MASK_SOUTH)&&(a[A]=d[A]);d=a[0]==mxConstants.DIRECTION_MASK_EAST?3:a[0];B=a[1]==mxConstants.DIRECTION_MASK_EAST?3:a[1];d-=y;B-=y;1>d&&(d+=4);1>B&&(B+=4);d=mxEdgeStyle.routePatterns[d-1][B-1];mxEdgeStyle.wayPoints1[0][0]=n[0][0];mxEdgeStyle.wayPoints1[0][1]=n[0][1];switch(a[0]){case mxConstants.DIRECTION_MASK_WEST:mxEdgeStyle.wayPoints1[0][0]-=
+mxEdgeStyle.orthBuffer))*mxEdgeStyle.orthBuffer):c=2*mxEdgeStyle.orthBuffer);return c},OrthConnector:function(a,c,f,d,b){var e=a.view.graph,g=null==c?!1:e.getModel().isEdge(c.cell),k=null==f?!1:e.getModel().isEdge(f.cell),e=a.absolutePoints,l=e[0],m=e[e.length-1],n=null!=c?c.x:l.x,p=null!=c?c.y:l.y,q=null!=c?c.width:0,t=null!=c?c.height:0,u=null!=f?f.x:m.x,v=null!=f?f.y:m.y,x=null!=f?f.width:0,z=null!=f?f.height:0,e=a.view.scale*mxEdgeStyle.getJettySize(a,c,f,d,!0),A=a.view.scale*mxEdgeStyle.getJettySize(a,
+c,f,d,!1);null!=c&&f==c&&(e=A=Math.max(e,A));var B=A+e,y=!1;if(null!=l&&null!=m)var y=m.x-l.x,E=m.y-l.y,y=y*y+E*Ey;y++)mxEdgeStyle.limits[y][1]=
+n[y][0]-A[y],mxEdgeStyle.limits[y][2]=n[y][1]-A[y],mxEdgeStyle.limits[y][4]=n[y][0]+n[y][2]+A[y],mxEdgeStyle.limits[y][8]=n[y][1]+n[y][3]+A[y];A=n[0][1]+n[0][3]/2;p=n[1][1]+n[1][3]/2;y=n[0][0]+n[0][2]/2-(n[1][0]+n[1][2]/2);E=A-p;A=0;0>y?A=0>E?2:1:0>=E&&(A=3,0==y&&(A=2));p=null;null!=c&&(p=l);c=[[.5,.5],[.5,.5]];for(y=0;2>y;y++)null!=p&&(c[y][0]=(p.x-n[y][0])/n[y][2],1>=Math.abs(p.x-n[y][0])?a[y]=mxConstants.DIRECTION_MASK_WEST:1>=Math.abs(p.x-n[y][0]-n[y][2])&&(a[y]=mxConstants.DIRECTION_MASK_EAST),
+c[y][1]=(p.y-n[y][1])/n[y][3],1>=Math.abs(p.y-n[y][1])?a[y]=mxConstants.DIRECTION_MASK_NORTH:1>=Math.abs(p.y-n[y][1]-n[y][3])&&(a[y]=mxConstants.DIRECTION_MASK_SOUTH)),p=null,null!=f&&(p=m);y=n[0][1]-(n[1][1]+n[1][3]);m=n[0][0]-(n[1][0]+n[1][2]);p=n[1][1]-(n[0][1]+n[0][3]);q=n[1][0]-(n[0][0]+n[0][2]);mxEdgeStyle.vertexSeperations[1]=Math.max(m-B,0);mxEdgeStyle.vertexSeperations[2]=Math.max(y-B,0);mxEdgeStyle.vertexSeperations[4]=Math.max(p-B,0);mxEdgeStyle.vertexSeperations[3]=Math.max(q-B,0);B=[];
+f=[];l=[];f[0]=m>=q?mxConstants.DIRECTION_MASK_WEST:mxConstants.DIRECTION_MASK_EAST;l[0]=y>=p?mxConstants.DIRECTION_MASK_NORTH:mxConstants.DIRECTION_MASK_SOUTH;f[1]=mxUtils.reversePortConstraints(f[0]);l[1]=mxUtils.reversePortConstraints(l[0]);m=m>=q?m:q;p=y>=p?y:p;q=[[0,0],[0,0]];t=!1;for(y=0;2>y;y++)0==a[y]&&(0==(f[y]&d[y])&&(f[y]=mxUtils.reversePortConstraints(f[y])),0==(l[y]&d[y])&&(l[y]=mxUtils.reversePortConstraints(l[y])),q[y][0]=l[y],q[y][1]=f[y]);0
y;y++)0==a[y]&&(0==(q[y][0]&d[y])&&(q[y][0]=q[y][1]),B[y]=q[y][0]&d[y],B[y]|=(q[y][1]&d[y])<<8,B[y]|=(q[1-y][y]&d[y])<<16,B[y]|=(q[1-y][1-y]&d[y])<<24,0==(B[y]&15)&&(B[y]<<=8),0==(B[y]&3840)&&(B[y]=B[y]&15|B[y]>>8),0==(B[y]&
+983040)&&(B[y]=B[y]&65535|(B[y]&251658240)>>8),a[y]=B[y]&15,d[y]==mxConstants.DIRECTION_MASK_WEST||d[y]==mxConstants.DIRECTION_MASK_NORTH||d[y]==mxConstants.DIRECTION_MASK_EAST||d[y]==mxConstants.DIRECTION_MASK_SOUTH)&&(a[y]=d[y]);d=a[0]==mxConstants.DIRECTION_MASK_EAST?3:a[0];B=a[1]==mxConstants.DIRECTION_MASK_EAST?3:a[1];d-=A;B-=A;1>d&&(d+=4);1>B&&(B+=4);d=mxEdgeStyle.routePatterns[d-1][B-1];mxEdgeStyle.wayPoints1[0][0]=n[0][0];mxEdgeStyle.wayPoints1[0][1]=n[0][1];switch(a[0]){case mxConstants.DIRECTION_MASK_WEST:mxEdgeStyle.wayPoints1[0][0]-=
e;mxEdgeStyle.wayPoints1[0][1]+=c[0][1]*n[0][3];break;case mxConstants.DIRECTION_MASK_SOUTH:mxEdgeStyle.wayPoints1[0][0]+=c[0][0]*n[0][2];mxEdgeStyle.wayPoints1[0][1]+=n[0][3]+e;break;case mxConstants.DIRECTION_MASK_EAST:mxEdgeStyle.wayPoints1[0][0]+=n[0][2]+e;mxEdgeStyle.wayPoints1[0][1]+=c[0][1]*n[0][3];break;case mxConstants.DIRECTION_MASK_NORTH:mxEdgeStyle.wayPoints1[0][0]+=c[0][0]*n[0][2],mxEdgeStyle.wayPoints1[0][1]-=e}e=0;f=B=0<(a[0]&(mxConstants.DIRECTION_MASK_EAST|mxConstants.DIRECTION_MASK_WEST))?
-0:1;for(A=0;A>5,p<<=y,15>=4),q=0<(d[A]&mxEdgeStyle.CENTER_MASK),(v||u)&&9>p?(t=v?0:1,p=q&&0==l?n[t][0]+c[t][0]*n[t][2]:q?n[t][1]+c[t][1]*
-n[t][3]:mxEdgeStyle.limits[t][p],0==l?(p=(p-mxEdgeStyle.wayPoints1[e][0])*m[0],0
b&&(b+=4);1>a&&(a+=4);c=routePatterns[b-1][a-1];0!=f&&0!=d||null==inlineRoutePatterns[b-1][a-
+0:1;for(y=0;y>5,p<<=A,15>=4),q=0<(d[y]&mxEdgeStyle.CENTER_MASK),(v||u)&&9>p?(t=v?0:1,p=q&&0==l?n[t][0]+c[t][0]*n[t][2]:q?n[t][1]+c[t][1]*
+n[t][3]:mxEdgeStyle.limits[t][p],0==l?(p=(p-mxEdgeStyle.wayPoints1[e][0])*m[0],0
b&&(b+=4);1>a&&(a+=4);c=routePatterns[b-1][a-1];0!=f&&0!=d||null==inlineRoutePatterns[b-1][a-
1]||(c=inlineRoutePatterns[b-1][a-1]);return c}},mxStyleRegistry={values:[],putValue:function(a,c){mxStyleRegistry.values[a]=c},getValue:function(a){return mxStyleRegistry.values[a]},getName:function(a){for(var c in mxStyleRegistry.values)if(mxStyleRegistry.values[c]==a)return c;return null}};mxStyleRegistry.putValue(mxConstants.EDGESTYLE_ELBOW,mxEdgeStyle.ElbowConnector);mxStyleRegistry.putValue(mxConstants.EDGESTYLE_ENTITY_RELATION,mxEdgeStyle.EntityRelation);
mxStyleRegistry.putValue(mxConstants.EDGESTYLE_LOOP,mxEdgeStyle.Loop);mxStyleRegistry.putValue(mxConstants.EDGESTYLE_SIDETOSIDE,mxEdgeStyle.SideToSide);mxStyleRegistry.putValue(mxConstants.EDGESTYLE_TOPTOBOTTOM,mxEdgeStyle.TopToBottom);mxStyleRegistry.putValue(mxConstants.EDGESTYLE_ORTHOGONAL,mxEdgeStyle.OrthConnector);mxStyleRegistry.putValue(mxConstants.EDGESTYLE_SEGMENT,mxEdgeStyle.SegmentConnector);mxStyleRegistry.putValue(mxConstants.PERIMETER_ELLIPSE,mxPerimeter.EllipsePerimeter);
mxStyleRegistry.putValue(mxConstants.PERIMETER_RECTANGLE,mxPerimeter.RectanglePerimeter);mxStyleRegistry.putValue(mxConstants.PERIMETER_RHOMBUS,mxPerimeter.RhombusPerimeter);mxStyleRegistry.putValue(mxConstants.PERIMETER_TRIANGLE,mxPerimeter.TrianglePerimeter);mxStyleRegistry.putValue(mxConstants.PERIMETER_HEXAGON,mxPerimeter.HexagonPerimeter);function mxGraphView(a){this.graph=a;this.translate=new mxPoint;this.graphBounds=new mxRectangle;this.states=new mxDictionary}mxGraphView.prototype=new mxEventSource;
@@ -2042,13 +2042,13 @@ e.appendChild(m);mxUtils.write(e,mxResources.get("gridSize")+":");var p=document
":");b.appendChild(e);e=document.createElement("td");var q=document.createElement("a");q.style.textDecoration="underline";q.style.cursor="pointer";q.style.color="#a0a0a0";var t=d.backgroundImage;mxEvent.addListener(q,"click",function(b){a.showBackgroundImageDialog(function(b){t=b;f()});mxEvent.consume(b)});f();e.appendChild(q);b.appendChild(e);k.appendChild(b);b=document.createElement("tr");e=document.createElement("td");e.colSpan=2;e.style.paddingTop="16px";e.setAttribute("align","right");var u=
mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});u.className="geBtn";a.editor.cancelFirst&&e.appendChild(u);var v=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();a.setPageFormat(l.get());d.background!=n&&a.setBackgroundColor(n);d.backgroundImage!==t&&a.setBackgroundImage(t);d.gridSize!==p.value&&d.setGridSize(parseInt(p.value))});v.className="geBtn gePrimaryBtn";e.appendChild(v);a.editor.cancelFirst||e.appendChild(u);b.appendChild(e);k.appendChild(b);g.appendChild(k);
this.container=g};
-PageSetupDialog.addPageFormatPanel=function(a,c,f,d){function b(b,a,d){if(d||p!=document.activeElement&&q!=document.activeElement){b=!1;for(a=0;a'};var a=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=function(b,d){a.apply(this,arguments);if(null!=this.shiftPreview1){var e=this.view.canvas;null!=
e.ownerSVGElement&&(e=e.ownerSVGElement);var c=this.gridSize*this.view.scale*this.view.gridSteps,c=-Math.round(c-mxUtils.mod(this.view.translate.x*this.view.scale+b,c))+"px "+-Math.round(c-mxUtils.mod(this.view.translate.y*this.view.scale+d,c))+"px";e.style.backgroundPosition=c}};mxGraph.prototype.updatePageBreaks=function(b,a,d){var e=this.view.scale,c=this.view.translate,f=this.pageFormat,g=e*this.pageScale,k=this.view.getBackgroundPageBounds();a=k.width;d=k.height;var l=new mxRectangle(e*c.x,e*
-c.y,f.width*g,f.height*g),m=(b=b&&Math.min(l.width,l.height)>this.minPageBreakDist)?Math.ceil(d/l.height)-1:0,z=b?Math.ceil(a/l.width)-1:0,y=k.x+a,B=k.y+d;null==this.horizontalPageBreaks&&0this.minPageBreakDist)?Math.ceil(d/l.height)-1:0,z=b?Math.ceil(a/l.width)-1:0,A=k.x+a,B=k.y+d;null==this.horizontalPageBreaks&&0mxUtils.indexOf(z,y[a])&&z.push(y[a]);var E=function(b,
-a){d.getModel().beginUpdate();try{if(a)for(var e=d.getModel().isEdge(k),c=e?d.currentEdgeStyle:d.currentVertexStyle,e=["fontSize","fontFamily","fontColor"],f=0;fmxUtils.indexOf(y,v))&&d.setCellStyles(v,D,[k])}}}finally{d.getModel().endUpdate()}};d.addListener("cellsInserted",function(b,a){E(a.getProperty("cells"))});d.addListener("textInserted",function(b,a){E(a.getProperty("cells"),!0)});d.connectionHandler.addListener(mxEvent.CONNECT,
-function(b,a){var d=[a.getProperty("cell")];a.getProperty("terminalInserted")&&d.push(a.getProperty("terminal"));E(d)});this.addListener("styleChanged",mxUtils.bind(this,function(b,a){var e=a.getProperty("cells"),c=!1,f=!1;if(0mxUtils.indexOf(z,A[a])&&z.push(A[a]);var D=function(b,
+a){d.getModel().beginUpdate();try{if(a)for(var e=d.getModel().isEdge(k),c=e?d.currentEdgeStyle:d.currentVertexStyle,e=["fontSize","fontFamily","fontColor"],f=0;fmxUtils.indexOf(A,q))&&d.setCellStyles(q,C,[k])}}}finally{d.getModel().endUpdate()}};d.addListener("cellsInserted",function(b,a){D(a.getProperty("cells"))});d.addListener("textInserted",function(b,a){D(a.getProperty("cells"),!0)});d.connectionHandler.addListener(mxEvent.CONNECT,
+function(b,a){var d=[a.getProperty("cell")];a.getProperty("terminalInserted")&&d.push(a.getProperty("terminal"));D(d)});this.addListener("styleChanged",mxUtils.bind(this,function(b,a){var e=a.getProperty("cells"),c=!1,f=!1;if(0this.view.scale*this.cumulativeZoomFactor?this.cumulativeZoomFactor=(this.view.scale+.01)/this.view.scale:(this.cumulativeZoomFactor*=this.zoomFactor,this.cumulativeZoomFactor=Math.round(this.view.scale*this.cumulativeZoomFactor*20)/20/this.view.scale):.15>=this.view.scale*this.cumulativeZoomFactor?this.cumulativeZoomFactor=(this.view.scale-.01)/this.view.scale:(this.cumulativeZoomFactor/=
-this.zoomFactor,this.cumulativeZoomFactor=Math.round(this.view.scale*this.cumulativeZoomFactor*20)/20/this.view.scale);this.cumulativeZoomFactor=Math.max(.01,Math.min(this.view.scale*this.cumulativeZoomFactor,160)/this.view.scale);this.updateZoomTimeout=window.setTimeout(mxUtils.bind(this,function(){this.zoom(this.cumulativeZoomFactor);null!=c&&c(!1);if(null!=A&&mxUtils.hasScrollbars(a.container)){var b=mxUtils.getOffset(a.container),d=a.container.offsetHeight/2-A.y+b.y;a.container.scrollLeft-=(a.container.offsetWidth/
-2-A.x+b.x)*(this.cumulativeZoomFactor-1);a.container.scrollTop-=d*(this.cumulativeZoomFactor-1)}this.cumulativeZoomFactor=1;this.updateZoomTimeout=null}),20)};mxEvent.addMouseWheelListener(mxUtils.bind(this,function(b,d){if((mxEvent.isAltDown(b)||mxEvent.isControlDown(b)&&!mxClient.IS_MAC||a.panningHandler.isActive())&&(null==this.dialogs||0==this.dialogs.length))for(var e=mxEvent.getSource(b);null!=e;){if(e==a.container){A=new mxPoint(mxEvent.getClientX(b),mxEvent.getClientY(b));a.lazyZoom(d);mxEvent.consume(b);
+1;var y=null;a.lazyZoom=function(b){null!=this.updateZoomTimeout&&window.clearTimeout(this.updateZoomTimeout);b?.15>this.view.scale*this.cumulativeZoomFactor?this.cumulativeZoomFactor=(this.view.scale+.01)/this.view.scale:(this.cumulativeZoomFactor*=this.zoomFactor,this.cumulativeZoomFactor=Math.round(this.view.scale*this.cumulativeZoomFactor*20)/20/this.view.scale):.15>=this.view.scale*this.cumulativeZoomFactor?this.cumulativeZoomFactor=(this.view.scale-.01)/this.view.scale:(this.cumulativeZoomFactor/=
+this.zoomFactor,this.cumulativeZoomFactor=Math.round(this.view.scale*this.cumulativeZoomFactor*20)/20/this.view.scale);this.cumulativeZoomFactor=Math.max(.01,Math.min(this.view.scale*this.cumulativeZoomFactor,160)/this.view.scale);this.updateZoomTimeout=window.setTimeout(mxUtils.bind(this,function(){this.zoom(this.cumulativeZoomFactor);null!=c&&c(!1);if(null!=y&&mxUtils.hasScrollbars(a.container)){var b=mxUtils.getOffset(a.container),d=a.container.offsetHeight/2-y.y+b.y;a.container.scrollLeft-=(a.container.offsetWidth/
+2-y.x+b.x)*(this.cumulativeZoomFactor-1);a.container.scrollTop-=d*(this.cumulativeZoomFactor-1)}this.cumulativeZoomFactor=1;this.updateZoomTimeout=null}),20)};mxEvent.addMouseWheelListener(mxUtils.bind(this,function(b,d){if((mxEvent.isAltDown(b)||mxEvent.isControlDown(b)&&!mxClient.IS_MAC||a.panningHandler.isActive())&&(null==this.dialogs||0==this.dialogs.length))for(var e=mxEvent.getSource(b);null!=e;){if(e==a.container){y=new mxPoint(mxEvent.getClientX(b),mxEvent.getClientY(b));a.lazyZoom(d);mxEvent.consume(b);
break}e=e.parentNode}}))};EditorUi.prototype.createTemporaryGraph=function(a){a=new Graph(document.createElement("div"),null,null,a);a.resetViewOnRootChange=!1;a.setConnectable(!1);a.gridEnabled=!1;a.autoScroll=!1;a.setTooltips(!1);a.setEnabled(!1);a.container.style.visibility="hidden";a.container.style.position="absolute";a.container.style.overflow="hidden";a.container.style.height="1px";a.container.style.width="1px";return a};
EditorUi.prototype.addChromelessClickHandler=function(){var a=urlParams.highlight;null!=a&&0N&&null!=l&&!mxEvent.isShiftDown(e)&&(mxUtils.getValue(l.style,mxConstants.STYLE_SHAPE)!=mxUtils.getValue(V,mxConstants.STYLE_SHAPE)&&mxUtils.getValue(l.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE||"image"==mxUtils.getValue(V,mxConstants.STYLE_SHAPE)||1500this.dropTargetDelay&&(b.model.isVertex(l.cell)&&null!=n||b.model.isEdge(l.cell)&&b.model.isEdge(d[0]))){z=l;var m=b.model.isEdge(l.cell)?b.view.getPoint(l):new mxPoint(l.getCenterX(),
-l.getCenterY()),m=new mxRectangle(m.x-this.refreshTarget.width/2,m.y-this.refreshTarget.height/2,this.refreshTarget.width,this.refreshTarget.height);F.style.left=Math.floor(m.x)+"px";F.style.top=Math.floor(m.y)+"px";null==D&&(b.container.appendChild(F),D=F.parentNode);g(a,c,m,F)}else null==z||!mxUtils.contains(z,a,c)||1500N&&N>this.dropTargetDelay||b.model.isEdge(f)?l:null,null!=v&&m){k=[K,H,B,A,C,E];for(m=0;mN&&N>this.dropTargetDelay||b.model.isEdge(f)?l:null,null!=v&&m){k=[K,G,B,y,E,D];for(m=0;mmxUtils.indexOf(a,e)&&d.push(e)):d.push(a[c])}return d};this.connectionHandler.createTargetVertex=function(b,a){var d=this.graph.view.getState(a),d=null!=d?d.style:this.graph.getCellStyle(a);mxUtils.getValue(d,"part",!1)&&(d=this.graph.model.getParent(a),this.graph.model.isVertex(d)&&(a=d));return mxConnectionHandler.prototype.createTargetVertex.apply(this,arguments)};var p=new mxRubberband(this);
this.getRubberband=function(){return p};var q=(new Date).getTime(),t=0,u=this.connectionHandler.mouseMove;this.connectionHandler.mouseMove=function(){var b=this.currentState;u.apply(this,arguments);b!=this.currentState?(q=(new Date).getTime(),t=0):t=(new Date).getTime()-q};var v=this.connectionHandler.isOutlineConnectEvent;this.connectionHandler.isOutlineConnectEvent=function(b){return null!=this.currentState&&b.getState()==this.currentState&&2E3=b&&q.y+q.height<=l&&q.y>=a&&q.x+q.width<=k&&f.push(p);this.getAllCells(b,a,d,c,p,f)}}}return f};var C=this.graphHandler.shouldRemoveCellsFromParent;this.graphHandler.shouldRemoveCellsFromParent=function(b,a,d){return this.graph.isCellSelected(b)?
-!1:C.apply(this,arguments)};this.isCellLocked=function(b){for(b=this.view.getState(b);null!=b;){if("1"==mxUtils.getValue(b.style,"locked","0"))return!0;b=this.view.getState(this.model.getParent(b.cell))}return!1};var E=null;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(b,a){if("mouseDown"==a.getProperty("eventName")){var d=a.getProperty("event").getState();E=null==d||this.isSelectionEmpty()||this.isCellSelected(d.cell)?null:this.getSelectionCells()}}));this.addListener(mxEvent.TAP_AND_HOLD,
-mxUtils.bind(this,function(b,a){if(!mxEvent.isMultiTouchEvent(a)){var d=a.getProperty("event"),c=a.getProperty("cell");null==c?(d=mxUtils.convertPoint(this.container,mxEvent.getClientX(d),mxEvent.getClientY(d)),p.start(d.x,d.y)):null!=E?this.addSelectionCells(E):1=b&&t.y+t.height<=l&&t.y>=a&&t.x+t.width<=k&&f.push(p);this.getAllCells(b,a,d,c,p,f)}}}return f};var E=this.graphHandler.shouldRemoveCellsFromParent;this.graphHandler.shouldRemoveCellsFromParent=function(b,a,d){return this.graph.isCellSelected(b)?
+!1:E.apply(this,arguments)};this.isCellLocked=function(b){for(b=this.view.getState(b);null!=b;){if("1"==mxUtils.getValue(b.style,"locked","0"))return!0;b=this.view.getState(this.model.getParent(b.cell))}return!1};var D=null;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(b,a){if("mouseDown"==a.getProperty("eventName")){var d=a.getProperty("event").getState();D=null==d||this.isSelectionEmpty()||this.isCellSelected(d.cell)?null:this.getSelectionCells()}}));this.addListener(mxEvent.TAP_AND_HOLD,
+mxUtils.bind(this,function(b,a){if(!mxEvent.isMultiTouchEvent(a)){var d=a.getProperty("event"),c=a.getProperty("cell");null==c?(d=mxUtils.convertPoint(this.container,mxEvent.getClientX(d),mxEvent.getClientY(d)),p.start(d.x,d.y)):null!=D?this.addSelectionCells(D):1f||c>f)&&this.clear()}}else"a"==a.getSource().nodeName.toLowerCase()?this.clear():(null==this.currentState||a.getState()!=this.currentState&&null!=a.getState()||!g.intersects(this.currentState,a.getGraphX(),a.getGraphY()))&&this.updateCurrentState(a)},mouseUp:function(b,c){if(!("a"==c.getSource().nodeName.toLowerCase()||
-c.isConsumed()||null!=c.getState()&&c.isSource(c.getState().control))&&(mxEvent.isLeftMouseButton(c.getEvent())||mxEvent.isTouchEvent(c.getEvent())))if(null!=this.currentLink){var e=g.isBlankLink(this.currentLink);e||null==a||a(c.getEvent());e=e?g.linkTarget:"_top";"_self"==e&&window!=window.top?window.location.href=this.currentLink:window.open(this.currentLink,e);c.consume()}else null!=d&&!c.isConsumed()&&Math.abs(this.scrollLeft-g.container.scrollLeft)a&&d[c].deleteCell(a)};Graph.prototype.pasteHtmlAtCaret=function(b){var a;if(window.getSelection){if(a=window.getSelection(),a.getRangeAt&&a.rangeCount){a=a.getRangeAt(0);a.deleteContents();var d=document.createElement("div");
-d.innerHTML=b;b=document.createDocumentFragment();for(var c;c=d.firstChild;)lastNode=b.appendChild(c);a.insertNode(b)}}else(a=document.selection)&&"Control"!=a.type&&a.createRange().pasteHTML(b)};Graph.prototype.initTouch=function(){this.connectionHandler.marker.isEnabled=function(){return null!=this.graph.connectionHandler.first};this.addListener(mxEvent.START_EDITING,function(b,a){this.popupMenuHandler.hideMenu()});var b=this.updateMouseEvent;this.updateMouseEvent=function(a){a=b.apply(this,arguments);
-if(mxEvent.isTouchEvent(a.getEvent())&&null==a.getState()){var d=this.getCellAt(a.graphX,a.graphY);null!=d&&this.isSwimlane(d)&&this.hitsSwimlaneContent(d,a.graphX,a.graphY)||(a.state=this.view.getState(d),null!=a.state&&null!=a.state.shape&&(this.container.style.cursor=a.state.shape.node.style.cursor))}null==a.getState()&&this.isEnabled()&&(this.container.style.cursor="default");return a};var a=!1,d=!1,c=!1,e=this.fireMouseEvent;this.fireMouseEvent=function(b,f,g){b==mxEvent.MOUSE_DOWN&&(f=this.updateMouseEvent(f),
-a=this.isCellSelected(f.getCell()),d=this.isSelectionEmpty(),c=this.popupMenuHandler.isMenuShowing());e.apply(this,arguments)};this.popupMenuHandler.mouseUp=mxUtils.bind(this,function(b,e){this.popupMenuHandler.popupTrigger=!this.isEditing()&&this.isEnabled()&&(null==e.getState()||!e.isSource(e.getState().control))&&(this.popupMenuHandler.popupTrigger||!c&&!mxEvent.isMouseEvent(e.getEvent())&&(d&&null==e.getCell()&&this.isSelectionEmpty()||a&&this.isCellSelected(e.getCell())));mxPopupMenuHandler.prototype.mouseUp.apply(this.popupMenuHandler,
-arguments)})};mxCellEditor.prototype.isContentEditing=function(){var b=this.graph.view.getState(this.editingCell);return null!=b&&1==b.style.html};mxCellEditor.prototype.saveSelection=function(){if(window.getSelection){if(sel=window.getSelection(),sel.getRangeAt&&sel.rangeCount){for(var b=[],a=0,d=sel.rangeCount;a"):k,!0);this.textarea.className="mxCellEditor geContentEditable";var c=mxUtils.getValue(b.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE),a=mxUtils.getValue(b.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY),e=mxUtils.getValue(b.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),f=(mxUtils.getValue(b.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==
-mxConstants.FONT_BOLD,g=(mxUtils.getValue(b.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,b=(mxUtils.getValue(b.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(c*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(c)+"px";this.textarea.style.textDecoration=b?"underline":"";this.textarea.style.fontWeight=
-f?"bold":"normal";this.textarea.style.fontStyle=g?"italic":"";this.textarea.style.fontFamily=a;this.textarea.style.textAlign=e;this.textarea.style.padding="0px";this.textarea.innerHTML!=k&&(this.textarea.innerHTML=k,0==this.textarea.innerHTML.length&&(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=0
"));k=this.graph.sanitizeHtml(a?k.replace(/\n/g,"").replace(/<br\s*.?>/g,"
"):k,!0);this.textarea.className="mxCellEditor mxPlainTextEditor";c=mxConstants.DEFAULT_FONTSIZE;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(c*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(c)+
-"px";this.textarea.style.textDecoration="";this.textarea.style.fontWeight="normal";this.textarea.style.fontStyle="";this.textarea.style.fontFamily=mxConstants.DEFAULT_FONTFAMILY;this.textarea.style.textAlign="left";this.textarea.style.padding="2px";this.textarea.innerHTML!=k&&(this.textarea.innerHTML=k);this.codeViewMode=!0}this.textarea.focus();null!=this.switchSelectionState&&this.restoreSelection(this.switchSelectionState);this.switchSelectionState=d;this.resize()};var l=mxCellEditor.prototype.resize;
-mxCellEditor.prototype.resize=function(b,a){if(null!=this.textarea)if(b=this.graph.getView().getState(this.editingCell),this.codeViewMode&&null!=b){var d=b.view.scale;this.bounds=mxRectangle.fromRectangle(b);if(0==this.bounds.width&&0==this.bounds.height){this.bounds.width=160*d;this.bounds.height=60*d;var c=null!=b.text?b.text.margin:null;null==c&&(c=mxUtils.getAlignmentAsPoint(mxUtils.getValue(b.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),mxUtils.getValue(b.style,mxConstants.STYLE_VERTICAL_ALIGN,
-mxConstants.ALIGN_MIDDLE)));this.bounds.x+=c.x*this.bounds.width;this.bounds.y+=c.y*this.bounds.height}this.textarea.style.width=Math.round((this.bounds.width-4)/d)+"px";this.textarea.style.height=Math.round((this.bounds.height-4)/d)+"px";this.textarea.style.overflow="auto";this.textarea.clientHeight"));return this.graph.sanitizeHtml(d,!0)};mxCellEditorGetCurrentValue=mxCellEditor.prototype.getCurrentValue;mxCellEditor.prototype.getCurrentValue=
-function(b){if("0"==mxUtils.getValue(b.style,"html","0"))return mxCellEditorGetCurrentValue.apply(this,arguments);var a=this.graph.sanitizeHtml(this.textarea.innerHTML,!0);return"1"==mxUtils.getValue(b.style,"nl2Br","1")?a.replace(/\r\n/g,"
").replace(/\n/g,"
"):a.replace(/\r\n/g,"").replace(/\n/g,"")};var m=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(b){this.codeViewMode&&this.toggleViewMode();m.apply(this,arguments);try{this.graph.container.focus()}catch(V){}};
-var n=mxCellEditor.prototype.applyValue;mxCellEditor.prototype.applyValue=function(b,a){this.graph.getModel().beginUpdate();try{if(n.apply(this,arguments),this.graph.isCellDeletable(b.cell)){var d=mxUtils.getValue(b.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE),c=mxUtils.getValue(b.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE);""==mxUtils.trim(a||"")&&d==mxConstants.NONE&&c==mxConstants.NONE&&this.graph.removeCells([b.cell],!1)}}finally{this.graph.getModel().endUpdate()}};mxCellEditor.prototype.getBackgroundColor=
-function(b){var a=null;if(this.graph.getModel().isEdge(b.cell)||this.graph.getModel().isEdge(this.graph.getModel().getParent(b.cell)))a=mxUtils.getValue(b.style,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null),a==mxConstants.NONE&&(a=null);return a};mxCellEditor.prototype.getMinimumSize=function(b){var a=this.graph.getView().scale;return new mxRectangle(0,0,null==b.text?30:b.text.size*a+20,30)};var p=mxGraphHandler.prototype.moveCells;mxGraphHandler.prototype.moveCells=function(b,a,d,c,e,f){mxEvent.isAltDown(f)&&
-(e=null);p.apply(this,arguments)};mxGraphHandler.prototype.updateHint=function(b){if(null!=this.shape){null==this.hint&&(this.hint=a(),this.graph.container.appendChild(this.hint));var d=this.graph.view.translate,c=this.graph.view.scale;b=this.roundLength((this.bounds.x+this.currentDx)/c-d.x);d=this.roundLength((this.bounds.y+this.currentDy)/c-d.y);this.hint.innerHTML=b+", "+d;this.hint.style.left=this.shape.bounds.x+Math.round((this.shape.bounds.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=
-this.shape.bounds.y+this.shape.bounds.height+12+"px"}};mxGraphHandler.prototype.removeHint=function(){null!=this.hint&&(this.hint.parentNode.removeChild(this.hint),this.hint=null)};mxVertexHandler.prototype.isRecursiveResize=function(b,a){return!this.graph.isSwimlane(b.cell)&&0f||c>f)&&this.clear()}}else"a"==a.getSource().nodeName.toLowerCase()?this.clear():(null==this.currentState||a.getState()!=this.currentState&&null!=a.getState()||
+!g.intersects(this.currentState,a.getGraphX(),a.getGraphY()))&&this.updateCurrentState(a)},mouseUp:function(b,c){if(!("a"==c.getSource().nodeName.toLowerCase()||c.isConsumed()||null!=c.getState()&&c.isSource(c.getState().control))&&(mxEvent.isLeftMouseButton(c.getEvent())||mxEvent.isTouchEvent(c.getEvent())))if(null!=this.currentLink){var e=g.isBlankLink(this.currentLink);"data:"!==this.currentLink.substring(0,5)&&e||null==a||a(c.getEvent(),this.currentLink);mxEvent.isConsumed(c.getEvent())||(e=e?
+g.linkTarget:"_top","_self"==e&&window!=window.top?window.location.href=this.currentLink:window.open(this.currentLink,e),c.consume())}else null!=d&&!c.isConsumed()&&Math.abs(this.scrollLeft-g.container.scrollLeft)a&&d[c].deleteCell(a)};Graph.prototype.pasteHtmlAtCaret=function(b){var a;if(window.getSelection){if(a=window.getSelection(),a.getRangeAt&&a.rangeCount){a=a.getRangeAt(0);a.deleteContents();var d=document.createElement("div");d.innerHTML=b;b=document.createDocumentFragment();for(var c;c=d.firstChild;)lastNode=b.appendChild(c);a.insertNode(b)}}else(a=document.selection)&&"Control"!=a.type&&a.createRange().pasteHTML(b)};Graph.prototype.createLinkForHint=
+function(b,a){var d=document.createElement("a");d.setAttribute("href",this.getAbsoluteUrl(b));d.setAttribute("title",b);null!=this.linkTarget&&d.setAttribute("target",this.linkTarget);60"):k,!0);this.textarea.className="mxCellEditor geContentEditable";var c=mxUtils.getValue(b.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE),a=mxUtils.getValue(b.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY),e=mxUtils.getValue(b.style,
+mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),f=(mxUtils.getValue(b.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,g=(mxUtils.getValue(b.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,b=(mxUtils.getValue(b.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(c*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;
+this.textarea.style.fontSize=Math.round(c)+"px";this.textarea.style.textDecoration=b?"underline":"";this.textarea.style.fontWeight=f?"bold":"normal";this.textarea.style.fontStyle=g?"italic":"";this.textarea.style.fontFamily=a;this.textarea.style.textAlign=e;this.textarea.style.padding="0px";this.textarea.innerHTML!=k&&(this.textarea.innerHTML=k,0==this.textarea.innerHTML.length&&(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=0
"));k=this.graph.sanitizeHtml(a?k.replace(/\n/g,"").replace(/<br\s*.?>/g,"
"):k,!0);this.textarea.className="mxCellEditor mxPlainTextEditor";c=mxConstants.DEFAULT_FONTSIZE;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?
+Math.round(c*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(c)+"px";this.textarea.style.textDecoration="";this.textarea.style.fontWeight="normal";this.textarea.style.fontStyle="";this.textarea.style.fontFamily=mxConstants.DEFAULT_FONTFAMILY;this.textarea.style.textAlign="left";this.textarea.style.padding="2px";this.textarea.innerHTML!=k&&(this.textarea.innerHTML=k);this.codeViewMode=!0}this.textarea.focus();null!=this.switchSelectionState&&this.restoreSelection(this.switchSelectionState);
+this.switchSelectionState=d;this.resize()};var l=mxCellEditor.prototype.resize;mxCellEditor.prototype.resize=function(b,a){if(null!=this.textarea)if(b=this.graph.getView().getState(this.editingCell),this.codeViewMode&&null!=b){var d=b.view.scale;this.bounds=mxRectangle.fromRectangle(b);if(0==this.bounds.width&&0==this.bounds.height){this.bounds.width=160*d;this.bounds.height=60*d;var c=null!=b.text?b.text.margin:null;null==c&&(c=mxUtils.getAlignmentAsPoint(mxUtils.getValue(b.style,mxConstants.STYLE_ALIGN,
+mxConstants.ALIGN_CENTER),mxUtils.getValue(b.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)));this.bounds.x+=c.x*this.bounds.width;this.bounds.y+=c.y*this.bounds.height}this.textarea.style.width=Math.round((this.bounds.width-4)/d)+"px";this.textarea.style.height=Math.round((this.bounds.height-4)/d)+"px";this.textarea.style.overflow="auto";this.textarea.clientHeight"));return this.graph.sanitizeHtml(d,!0)};
+mxCellEditorGetCurrentValue=mxCellEditor.prototype.getCurrentValue;mxCellEditor.prototype.getCurrentValue=function(b){if("0"==mxUtils.getValue(b.style,"html","0"))return mxCellEditorGetCurrentValue.apply(this,arguments);var a=this.graph.sanitizeHtml(this.textarea.innerHTML,!0);return"1"==mxUtils.getValue(b.style,"nl2Br","1")?a.replace(/\r\n/g,"
").replace(/\n/g,"
"):a.replace(/\r\n/g,"").replace(/\n/g,"")};var m=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(b){this.codeViewMode&&
+this.toggleViewMode();m.apply(this,arguments);try{this.graph.container.focus()}catch(V){}};var n=mxCellEditor.prototype.applyValue;mxCellEditor.prototype.applyValue=function(b,a){this.graph.getModel().beginUpdate();try{if(n.apply(this,arguments),this.graph.isCellDeletable(b.cell)){var d=mxUtils.getValue(b.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE),c=mxUtils.getValue(b.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE);""==mxUtils.trim(a||"")&&d==mxConstants.NONE&&c==mxConstants.NONE&&
+this.graph.removeCells([b.cell],!1)}}finally{this.graph.getModel().endUpdate()}};mxCellEditor.prototype.getBackgroundColor=function(b){var a=null;if(this.graph.getModel().isEdge(b.cell)||this.graph.getModel().isEdge(this.graph.getModel().getParent(b.cell)))a=mxUtils.getValue(b.style,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null),a==mxConstants.NONE&&(a=null);return a};mxCellEditor.prototype.getMinimumSize=function(b){var a=this.graph.getView().scale;return new mxRectangle(0,0,null==b.text?30:b.text.size*
+a+20,30)};var p=mxGraphHandler.prototype.moveCells;mxGraphHandler.prototype.moveCells=function(b,a,d,c,e,f){mxEvent.isAltDown(f)&&(e=null);p.apply(this,arguments)};mxGraphHandler.prototype.updateHint=function(b){if(null!=this.shape){null==this.hint&&(this.hint=a(),this.graph.container.appendChild(this.hint));var d=this.graph.view.translate,c=this.graph.view.scale;b=this.roundLength((this.bounds.x+this.currentDx)/c-d.x);d=this.roundLength((this.bounds.y+this.currentDy)/c-d.y);this.hint.innerHTML=b+
+", "+d;this.hint.style.left=this.shape.bounds.x+Math.round((this.shape.bounds.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=this.shape.bounds.y+this.shape.bounds.height+12+"px"}};mxGraphHandler.prototype.removeHint=function(){null!=this.hint&&(this.hint.parentNode.removeChild(this.hint),this.hint=null)};mxVertexHandler.prototype.isRecursiveResize=function(b,a){return!this.graph.isSwimlane(b.cell)&&0=this.width?"0px 1px 0px 0px":"0px 1px 0px 1px",
null==this.secondDiv&&(this.secondDiv=this.div.cloneNode(!0),this.div.parentNode.appendChild(this.secondDiv)),this.secondDiv.style.left=this.x+"px",this.secondDiv.style.top=this.y+"px",this.secondDiv.style.width=this.graph.container.clientWidth+"px",this.secondDiv.style.height=Math.max(0,this.height)+"px",this.secondDiv.style.borderWidth=0>=this.height?"1px 0px 0px 0px":"1px 0px 1px 0px"):(this.div.style.backgroundColor="",this.div.style.borderWidth="",this.div.style.borderStyle="",null!=this.secondDiv&&
(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null)),a.consume()}};var u=mxRubberband.prototype.reset;mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null);u.apply(this,arguments)};var v=(new Date).getTime(),x=0,z=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(b,a,d,c){z.apply(this,arguments);d!=this.currentTerminalState?(v=(new Date).getTime(),
-x=0):x=(new Date).getTime()-v;this.currentTerminalState=d};var y=mxEdgeHandler.prototype.isOutlineConnectEvent;mxEdgeHandler.prototype.isOutlineConnectEvent=function(b){return null!=this.currentTerminalState&&b.getState()==this.currentTerminalState&&2E3=this.state.absolutePoints.length-1||this.constructor==mxElbowEdgeHandler&&2==b)?this.graph.getConnectionConstraint(this.state,c,d):null,d=null!=(null!=e?this.graph.getConnectionPoint(this.state.getVisibleTerminalState(d),e):null)?this.fixedHandleImage:null!=e&&null!=c?this.terminalHandleImage:this.handleImage;if(null!=d)return d=new mxImageShape(new mxRectangle(0,0,d.width,d.height),d.src),d.preserveImageAspect=
-!1,d;d=mxConstants.HANDLE_SIZE;this.preferHtml&&--d;return new mxRectangleShape(new mxRectangle(0,0,d,d),mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};var B=mxVertexHandler.prototype.createSizerShape;mxVertexHandler.prototype.createSizerShape=function(b,a,d){this.handleImage=a==mxEvent.ROTATION_HANDLE?HoverIcons.prototype.rotationHandle:a==mxEvent.LABEL_HANDLE?this.secondaryHandleImage:this.handleImage;return B.apply(this,arguments)};var A=mxGraphHandler.prototype.getBoundingBox;mxGraphHandler.prototype.getBoundingBox=
-function(b){if(null!=b&&1==b.length){var a=this.graph.getModel(),d=a.getParent(b[0]),c=this.graph.getCellGeometry(b[0]);if(a.isEdge(d)&&null!=c&&c.relative&&(a=this.graph.view.getState(b[0]),null!=a&&2>a.width&&2>a.height&&null!=a.text&&null!=a.text.boundingBox))return mxRectangle.fromRectangle(a.text.boundingBox)}return A.apply(this,arguments)};var C=mxVertexHandler.prototype.getSelectionBounds;mxVertexHandler.prototype.getSelectionBounds=function(b){var a=this.graph.getModel(),d=a.getParent(b.cell),
-c=this.graph.getCellGeometry(b.cell);return a.isEdge(d)&&null!=c&&c.relative&&2>b.width&&2>b.height&&null!=b.text&&null!=b.text.boundingBox?(a=b.text.unrotatedBoundingBox||b.text.boundingBox,new mxRectangle(Math.round(a.x),Math.round(a.y),Math.round(a.width),Math.round(a.height))):C.apply(this,arguments)};var E=mxVertexHandler.prototype.mouseDown;mxVertexHandler.prototype.mouseDown=function(b,a){var d=this.graph.getModel(),c=d.getParent(this.state.cell),e=this.graph.getCellGeometry(this.state.cell);
-(this.getHandleForEvent(a)==mxEvent.ROTATION_HANDLE||!d.isEdge(c)||null==e||!e.relative||null==this.state||2<=this.state.width||2<=this.state.height)&&E.apply(this,arguments)};mxVertexHandler.prototype.isRotationHandleVisible=function(){return this.graph.isEnabled()&&this.rotationEnabled&&this.graph.isCellRotatable(this.state.cell)&&(0>=mxGraphHandler.prototype.maxCells||this.graph.getSelectionCount()a.width&&2>a.height&&null!=a.text&&null!=a.text.boundingBox))return mxRectangle.fromRectangle(a.text.boundingBox)}return y.apply(this,arguments)};var E=mxVertexHandler.prototype.getSelectionBounds;mxVertexHandler.prototype.getSelectionBounds=function(b){var a=this.graph.getModel(),d=a.getParent(b.cell),
+c=this.graph.getCellGeometry(b.cell);return a.isEdge(d)&&null!=c&&c.relative&&2>b.width&&2>b.height&&null!=b.text&&null!=b.text.boundingBox?(a=b.text.unrotatedBoundingBox||b.text.boundingBox,new mxRectangle(Math.round(a.x),Math.round(a.y),Math.round(a.width),Math.round(a.height))):E.apply(this,arguments)};var D=mxVertexHandler.prototype.mouseDown;mxVertexHandler.prototype.mouseDown=function(b,a){var d=this.graph.getModel(),c=d.getParent(this.state.cell),e=this.graph.getCellGeometry(this.state.cell);
+(this.getHandleForEvent(a)==mxEvent.ROTATION_HANDLE||!d.isEdge(c)||null==e||!e.relative||null==this.state||2<=this.state.width||2<=this.state.height)&&D.apply(this,arguments)};mxVertexHandler.prototype.isRotationHandleVisible=function(){return this.graph.isEnabled()&&this.rotationEnabled&&this.graph.isCellRotatable(this.state.cell)&&(0>=mxGraphHandler.prototype.maxCells||this.graph.getSelectionCount()"+d.cellEditor.textarea.innerHTML+"
"),c=d.cellEditor.textarea.firstChild);null!=c&&c!=d.cellEditor.textarea&&(c.style.lineHeight=a+"%");b.value=a+" %"},function(b){ka=b;mxEvent.addListener(b,"mousedown",function(){fa=d.cellEditor.saveSelection()});
mxEvent.addListener(b,"touchstart",function(){fa=d.cellEditor.saveSelection()});b.value="120 %"}));g=e.cloneNode(!1);g.style.paddingLeft="0px";k=this.editorUi.toolbar.addItems(["link","image"],g,!0);p=[this.editorUi.toolbar.addButton("geSprite-horizontalrule",mxResources.get("insertHorizontalRule"),function(){document.execCommand("inserthorizontalrule",!1,null)},g),this.editorUi.toolbar.addMenuFunctionInContainer(g,"geSprite-table",mxResources.get("table"),!1,mxUtils.bind(this,function(b){this.editorUi.menus.addInsertTableItem(b)}))];
-this.styleButtons(k);this.styleButtons(p);k=this.createPanel();k.style.paddingTop="10px";k.style.paddingBottom="10px";k.appendChild(this.createTitle(mxResources.get("insert")));k.appendChild(g);a.appendChild(k);mxClient.IS_QUIRKS&&(k.style.height="70");k=e.cloneNode(!1);k.style.paddingLeft="0px";p=[this.editorUi.toolbar.addButton("geSprite-insertcolumnbefore",mxResources.get("insertColumnBefore"),function(){try{null!=F&&d.selectNode(d.insertColumn(F,null!=D?D.cellIndex:0))}catch(ia){alert(ia)}},k),
-this.editorUi.toolbar.addButton("geSprite-insertcolumnafter",mxResources.get("insertColumnAfter"),function(){try{null!=F&&d.selectNode(d.insertColumn(F,null!=D?D.cellIndex+1:-1))}catch(ia){alert(ia)}},k),this.editorUi.toolbar.addButton("geSprite-deletecolumn",mxResources.get("deleteColumn"),function(){try{null!=F&&null!=D&&d.deleteColumn(F,D.cellIndex)}catch(ia){alert(ia)}},k),this.editorUi.toolbar.addButton("geSprite-insertrowbefore",mxResources.get("insertRowBefore"),function(){try{null!=F&&null!=
+this.styleButtons(k);this.styleButtons(p);k=this.createPanel();k.style.paddingTop="10px";k.style.paddingBottom="10px";k.appendChild(this.createTitle(mxResources.get("insert")));k.appendChild(g);a.appendChild(k);mxClient.IS_QUIRKS&&(k.style.height="70");k=e.cloneNode(!1);k.style.paddingLeft="0px";p=[this.editorUi.toolbar.addButton("geSprite-insertcolumnbefore",mxResources.get("insertColumnBefore"),function(){try{null!=F&&d.selectNode(d.insertColumn(F,null!=C?C.cellIndex:0))}catch(ia){alert(ia)}},k),
+this.editorUi.toolbar.addButton("geSprite-insertcolumnafter",mxResources.get("insertColumnAfter"),function(){try{null!=F&&d.selectNode(d.insertColumn(F,null!=C?C.cellIndex+1:-1))}catch(ia){alert(ia)}},k),this.editorUi.toolbar.addButton("geSprite-deletecolumn",mxResources.get("deleteColumn"),function(){try{null!=F&&null!=C&&d.deleteColumn(F,C.cellIndex)}catch(ia){alert(ia)}},k),this.editorUi.toolbar.addButton("geSprite-insertrowbefore",mxResources.get("insertRowBefore"),function(){try{null!=F&&null!=
K&&d.selectNode(d.insertRow(F,K.sectionRowIndex))}catch(ia){alert(ia)}},k),this.editorUi.toolbar.addButton("geSprite-insertrowafter",mxResources.get("insertRowAfter"),function(){try{null!=F&&null!=K&&d.selectNode(d.insertRow(F,K.sectionRowIndex+1))}catch(ia){alert(ia)}},k),this.editorUi.toolbar.addButton("geSprite-deleterow",mxResources.get("deleteRow"),function(){try{null!=F&&null!=K&&d.deleteRow(F,K.sectionRowIndex)}catch(ia){alert(ia)}},k)];this.styleButtons(p);p[2].style.marginRight="9px";g=this.createPanel();
g.style.paddingTop="10px";g.style.paddingBottom="10px";g.appendChild(this.createTitle(mxResources.get("table")));g.appendChild(k);mxClient.IS_QUIRKS&&(mxUtils.br(a),g.style.height="70");e=e.cloneNode(!1);e.style.paddingLeft="0px";p=[this.editorUi.toolbar.addButton("geSprite-strokecolor",mxResources.get("borderColor"),mxUtils.bind(this,function(){if(null!=F){var b=F.style.borderColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(b,a,d,c){return"#"+("0"+Number(a).toString(16)).substr(-2)+
("0"+Number(d).toString(16)).substr(-2)+("0"+Number(c).toString(16)).substr(-2)});this.editorUi.pickColor(b,function(b){null==b||b==mxConstants.NONE?(F.removeAttribute("border"),F.style.border="",F.style.borderCollapse=""):(F.setAttribute("border","1"),F.style.border="1px solid "+b,F.style.borderCollapse="collapse")})}}),e),this.editorUi.toolbar.addButton("geSprite-fillcolor",mxResources.get("backgroundColor"),mxUtils.bind(this,function(){if(null!=F){var b=F.style.backgroundColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,
function(b,a,d,c){return"#"+("0"+Number(a).toString(16)).substr(-2)+("0"+Number(d).toString(16)).substr(-2)+("0"+Number(c).toString(16)).substr(-2)});this.editorUi.pickColor(b,function(b){F.style.backgroundColor=null==b||b==mxConstants.NONE?"":b})}}),e),this.editorUi.toolbar.addButton("geSprite-fit",mxResources.get("spacing"),function(){if(null!=F){var b=F.getAttribute("cellPadding")||0,b=new FilenameDialog(f,b,mxResources.get("apply"),mxUtils.bind(this,function(b){null!=b&&0'+mxUtils.htmlEntities(mxResources.get("none"))+"";"connector"==e.style.shape?(this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_STARTARROW,
"startFill"],[mxConstants.ARROW_CLASSIC,1],"geIcon geSprite geSprite-startclassic",null,!1).setAttribute("title",mxResources.get("classic")),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_CLASSIC_THIN,1],"geIcon geSprite geSprite-startclassicthin",null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OPEN,0],"geIcon geSprite geSprite-startopen",null,!1).setAttribute("title",mxResources.get("openArrow")),
this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_OPEN_THIN,0],"geIcon geSprite geSprite-startopenthin",null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_STARTARROW,"startFill"],["openAsync",0],"geIcon geSprite geSprite-startopenasync",null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_STARTARROW,"startFill"],[mxConstants.ARROW_BLOCK,1],"geIcon geSprite geSprite-startblock",null,!1).setAttribute("title",mxResources.get("block")),
@@ -2986,7 +2987,7 @@ mxResources.get("block")),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.
"",[mxConstants.STYLE_STARTARROW,"startFill"],["dash",0],"geIcon geSprite geSprite-startdash",null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_STARTARROW,"startFill"],["cross",0],"geIcon geSprite geSprite-startcross",null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_STARTARROW,"startFill"],["circlePlus",0],"geIcon geSprite geSprite-startcircleplus",null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_STARTARROW,"startFill"],["circle",1],"geIcon geSprite geSprite-startcircle",
null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERone",0],"geIcon geSprite geSprite-starterone",null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERmandOne",0],"geIcon geSprite geSprite-starteronetoone",null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERmany",0],"geIcon geSprite geSprite-startermany",null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_STARTARROW,
"startFill"],["ERoneToMany",0],"geIcon geSprite geSprite-starteronetomany",null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERzeroToOne",1],"geIcon geSprite geSprite-starteroneopt",null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_STARTARROW,"startFill"],["ERzeroToMany",1],"geIcon geSprite geSprite-startermanyopt",null,!1)):this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_STARTARROW],[mxConstants.ARROW_BLOCK],"geIcon geSprite geSprite-startblocktrans",
-null,!1).setAttribute("title",mxResources.get("block"))}})),E=this.editorUi.toolbar.addMenuFunctionInContainer(l,"geSprite-endclassic",mxResources.get("lineend"),!1,mxUtils.bind(this,function(b){if("connector"==e.style.shape||"flexArrow"==e.style.shape){var a=this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.NONE,0],"geIcon",null,!1);a.setAttribute("title",mxResources.get("none"));a.firstChild.firstChild.innerHTML=''+mxUtils.htmlEntities(mxResources.get("none"))+
+null,!1).setAttribute("title",mxResources.get("block"))}})),D=this.editorUi.toolbar.addMenuFunctionInContainer(l,"geSprite-endclassic",mxResources.get("lineend"),!1,mxUtils.bind(this,function(b){if("connector"==e.style.shape||"flexArrow"==e.style.shape){var a=this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.NONE,0],"geIcon",null,!1);a.setAttribute("title",mxResources.get("none"));a.firstChild.firstChild.innerHTML=''+mxUtils.htmlEntities(mxResources.get("none"))+
"";"connector"==e.style.shape?(this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC,1],"geIcon geSprite geSprite-endclassic",null,!1).setAttribute("title",mxResources.get("classic")),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_CLASSIC_THIN,1],"geIcon geSprite geSprite-endclassicthin",null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OPEN,
0],"geIcon geSprite geSprite-endopen",null,!1).setAttribute("title",mxResources.get("openArrow")),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OPEN_THIN,0],"geIcon geSprite geSprite-endopenthin",null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_ENDARROW,"endFill"],["openAsync",0],"geIcon geSprite geSprite-endopenasync",null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK,
1],"geIcon geSprite geSprite-endblock",null,!1).setAttribute("title",mxResources.get("block")),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_BLOCK_THIN,1],"geIcon geSprite geSprite-endblockthin",null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_ENDARROW,"endFill"],["async",1],"geIcon geSprite geSprite-endasync",null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_ENDARROW,"endFill"],[mxConstants.ARROW_OVAL,1],
@@ -2997,20 +2998,20 @@ null,!1).setAttribute("title",mxResources.get("oval")),this.editorUi.menus.edgeS
"",[mxConstants.STYLE_ENDARROW,"endFill"],["dash",0],"geIcon geSprite geSprite-enddash",null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_ENDARROW,"endFill"],["cross",0],"geIcon geSprite geSprite-endcross",null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_ENDARROW,"endFill"],["circlePlus",0],"geIcon geSprite geSprite-endcircleplus",null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_ENDARROW,"endFill"],["circle",1],"geIcon geSprite geSprite-endcircle",
null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERone",0],"geIcon geSprite geSprite-enderone",null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERmandOne",0],"geIcon geSprite geSprite-enderonetoone",null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERmany",0],"geIcon geSprite geSprite-endermany",null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_ENDARROW,"endFill"],
["ERoneToMany",0],"geIcon geSprite geSprite-enderonetomany",null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERzeroToOne",1],"geIcon geSprite geSprite-enderoneopt",null,!1),this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERzeroToMany",1],"geIcon geSprite geSprite-endermanyopt",null,!1)):this.editorUi.menus.edgeStyleChange(b,"",[mxConstants.STYLE_ENDARROW],[mxConstants.ARROW_BLOCK],"geIcon geSprite geSprite-endblocktrans",
-null,!1).setAttribute("title",mxResources.get("block"))}}));this.addArrow(v,8);this.addArrow(A);this.addArrow(C);this.addArrow(E);y=this.addArrow(m,9);y.className="geIcon";y.style.width="84px";B=this.addArrow(n,9);B.className="geIcon";B.style.width="22px";var F=document.createElement("div");F.style.width="85px";F.style.height="1px";F.style.borderBottom="1px solid black";F.style.marginBottom="9px";y.appendChild(F);var D=document.createElement("div");D.style.width="23px";D.style.height="1px";D.style.borderBottom=
-"1px solid black";D.style.marginBottom="9px";B.appendChild(D);m.style.height="15px";n.style.height="15px";v.style.height="15px";A.style.height="17px";C.style.marginLeft="3px";C.style.height="17px";E.style.marginLeft="3px";E.style.height="17px";a.appendChild(g);a.appendChild(u);a.appendChild(q);m=q.cloneNode(!1);m.style.paddingBottom="6px";m.style.paddingTop="4px";m.style.fontWeight="normal";n=document.createElement("div");n.style.position="absolute";n.style.marginLeft="3px";n.style.marginBottom="12px";
-n.style.marginTop="2px";n.style.fontWeight="normal";n.style.width="76px";mxUtils.write(n,mxResources.get("lineend"));m.appendChild(n);var K,H,J=this.addUnitInput(m,"pt",74,33,function(){K.apply(this,arguments)}),I=this.addUnitInput(m,"pt",20,33,function(){H.apply(this,arguments)});mxUtils.br(m);y=document.createElement("div");y.style.height="8px";m.appendChild(y);n=n.cloneNode(!1);mxUtils.write(n,mxResources.get("linestart"));m.appendChild(n);var L,M,Q=this.addUnitInput(m,"pt",74,33,function(){L.apply(this,
+null,!1).setAttribute("title",mxResources.get("block"))}}));this.addArrow(v,8);this.addArrow(y);this.addArrow(E);this.addArrow(D);A=this.addArrow(m,9);A.className="geIcon";A.style.width="84px";B=this.addArrow(n,9);B.className="geIcon";B.style.width="22px";var F=document.createElement("div");F.style.width="85px";F.style.height="1px";F.style.borderBottom="1px solid black";F.style.marginBottom="9px";A.appendChild(F);var C=document.createElement("div");C.style.width="23px";C.style.height="1px";C.style.borderBottom=
+"1px solid black";C.style.marginBottom="9px";B.appendChild(C);m.style.height="15px";n.style.height="15px";v.style.height="15px";y.style.height="17px";E.style.marginLeft="3px";E.style.height="17px";D.style.marginLeft="3px";D.style.height="17px";a.appendChild(g);a.appendChild(u);a.appendChild(q);m=q.cloneNode(!1);m.style.paddingBottom="6px";m.style.paddingTop="4px";m.style.fontWeight="normal";n=document.createElement("div");n.style.position="absolute";n.style.marginLeft="3px";n.style.marginBottom="12px";
+n.style.marginTop="2px";n.style.fontWeight="normal";n.style.width="76px";mxUtils.write(n,mxResources.get("lineend"));m.appendChild(n);var K,G,J=this.addUnitInput(m,"pt",74,33,function(){K.apply(this,arguments)}),I=this.addUnitInput(m,"pt",20,33,function(){G.apply(this,arguments)});mxUtils.br(m);A=document.createElement("div");A.style.height="8px";m.appendChild(A);n=n.cloneNode(!1);mxUtils.write(n,mxResources.get("linestart"));m.appendChild(n);var L,M,Q=this.addUnitInput(m,"pt",74,33,function(){L.apply(this,
arguments)}),W=this.addUnitInput(m,"pt",20,33,function(){M.apply(this,arguments)});mxUtils.br(m);this.addLabel(m,mxResources.get("spacing"),74,50);this.addLabel(m,mxResources.get("size"),20,50);mxUtils.br(m);g=g.cloneNode(!1);g.style.fontWeight="normal";g.style.position="relative";g.style.paddingLeft="16px";g.style.marginBottom="2px";g.style.marginTop="6px";g.style.borderWidth="0px";g.style.paddingBottom="18px";n=document.createElement("div");n.style.position="absolute";n.style.marginLeft="3px";n.style.marginBottom=
-"12px";n.style.marginTop="1px";n.style.fontWeight="normal";n.style.width="120px";mxUtils.write(n,mxResources.get("perimeter"));g.appendChild(n);var N,G=this.addUnitInput(g,"pt",20,41,function(){N.apply(this,arguments)});e.edges.length==b.getSelectionCount()?(a.appendChild(l),mxClient.IS_QUIRKS&&(mxUtils.br(a),mxUtils.br(a)),a.appendChild(m)):e.vertices.length==b.getSelectionCount()&&(mxClient.IS_QUIRKS&&mxUtils.br(a),a.appendChild(g));var V=mxUtils.bind(this,function(a,c,f){function g(b,a,c,f){c=
+"12px";n.style.marginTop="1px";n.style.fontWeight="normal";n.style.width="120px";mxUtils.write(n,mxResources.get("perimeter"));g.appendChild(n);var N,H=this.addUnitInput(g,"pt",20,41,function(){N.apply(this,arguments)});e.edges.length==b.getSelectionCount()?(a.appendChild(l),mxClient.IS_QUIRKS&&(mxUtils.br(a),mxUtils.br(a)),a.appendChild(m)):e.vertices.length==b.getSelectionCount()&&(mxClient.IS_QUIRKS&&mxUtils.br(a),a.appendChild(g));var V=mxUtils.bind(this,function(a,c,f){function g(b,a,c,f){c=
c.getElementsByTagName("div")[0];c.className=d.getCssClassForMarker(f,e.style.shape,b,a);"geSprite geSprite-noarrow"==c.className&&(c.innerHTML=mxUtils.htmlEntities(mxResources.get("none")),c.style.backgroundImage="none",c.style.verticalAlign="top",c.style.marginTop="5px",c.style.fontSize="10px",c.nextSibling.style.marginTop="0px");return c}e=this.format.getSelectionState();mxUtils.getValue(e.style,p,null);if(f||document.activeElement!=x)a=parseInt(mxUtils.getValue(e.style,mxConstants.STYLE_STROKEWIDTH,
1)),x.value=isNaN(a)?"":a+" pt";if(f||document.activeElement!=z)a=parseInt(mxUtils.getValue(e.style,mxConstants.STYLE_STROKEWIDTH,1)),z.value=isNaN(a)?"":a+" pt";k.style.visibility="connector"==e.style.shape?"":"hidden";"1"==mxUtils.getValue(e.style,mxConstants.STYLE_CURVED,null)?k.value="curved":"1"==mxUtils.getValue(e.style,mxConstants.STYLE_ROUNDED,null)&&(k.value="rounded");"1"==mxUtils.getValue(e.style,mxConstants.STYLE_DASHED,null)?null==mxUtils.getValue(e.style,mxConstants.STYLE_DASH_PATTERN,
-null)?F.style.borderBottom="1px dashed black":F.style.borderBottom="1px dotted black":F.style.borderBottom="1px solid black";D.style.borderBottom=F.style.borderBottom;a=A.getElementsByTagName("div")[0];c=mxUtils.getValue(e.style,mxConstants.STYLE_EDGE,null);"1"==mxUtils.getValue(e.style,mxConstants.STYLE_NOEDGESTYLE,null)&&(c=null);"orthogonalEdgeStyle"==c&&"1"==mxUtils.getValue(e.style,mxConstants.STYLE_CURVED,null)?a.className="geSprite geSprite-curved":a.className="straight"==c||"none"==c||null==
+null)?F.style.borderBottom="1px dashed black":F.style.borderBottom="1px dotted black":F.style.borderBottom="1px solid black";C.style.borderBottom=F.style.borderBottom;a=y.getElementsByTagName("div")[0];c=mxUtils.getValue(e.style,mxConstants.STYLE_EDGE,null);"1"==mxUtils.getValue(e.style,mxConstants.STYLE_NOEDGESTYLE,null)&&(c=null);"orthogonalEdgeStyle"==c&&"1"==mxUtils.getValue(e.style,mxConstants.STYLE_CURVED,null)?a.className="geSprite geSprite-curved":a.className="straight"==c||"none"==c||null==
c?"geSprite geSprite-straight":"entityRelationEdgeStyle"==c?"geSprite geSprite-entity":"elbowEdgeStyle"==c?"geSprite "+("vertical"==mxUtils.getValue(e.style,mxConstants.STYLE_ELBOW,null)?"geSprite-verticalelbow":"geSprite-horizontalelbow"):"isometricEdgeStyle"==c?"geSprite "+("vertical"==mxUtils.getValue(e.style,mxConstants.STYLE_ELBOW,null)?"geSprite-verticalisometric":"geSprite-horizontalisometric"):"geSprite geSprite-orthogonal";v.getElementsByTagName("div")[0].className="link"==e.style.shape?
-"geSprite geSprite-linkedge":"flexArrow"==e.style.shape?"geSprite geSprite-arrow":"arrow"==e.style.shape?"geSprite geSprite-simplearrow":"geSprite geSprite-connection";e.edges.length==b.getSelectionCount()?(u.style.display="",q.style.display="none"):(u.style.display="none",q.style.display="");a=g(mxUtils.getValue(e.style,mxConstants.STYLE_STARTARROW,null),mxUtils.getValue(e.style,"startFill","1"),C,"start");c=g(mxUtils.getValue(e.style,mxConstants.STYLE_ENDARROW,null),mxUtils.getValue(e.style,"endFill",
-"1"),E,"end");"arrow"==e.style.shape?(a.className="geSprite geSprite-noarrow",c.className="geSprite geSprite-endblocktrans"):"link"==e.style.shape&&(a.className="geSprite geSprite-noarrow",c.className="geSprite geSprite-noarrow");mxUtils.setOpacity(A,"arrow"==e.style.shape?30:100);"connector"!=e.style.shape&&"flexArrow"!=e.style.shape?(mxUtils.setOpacity(C,30),mxUtils.setOpacity(E,30)):(mxUtils.setOpacity(C,100),mxUtils.setOpacity(E,100));if(f||document.activeElement!=W)a=parseInt(mxUtils.getValue(e.style,
+"geSprite geSprite-linkedge":"flexArrow"==e.style.shape?"geSprite geSprite-arrow":"arrow"==e.style.shape?"geSprite geSprite-simplearrow":"geSprite geSprite-connection";e.edges.length==b.getSelectionCount()?(u.style.display="",q.style.display="none"):(u.style.display="none",q.style.display="");a=g(mxUtils.getValue(e.style,mxConstants.STYLE_STARTARROW,null),mxUtils.getValue(e.style,"startFill","1"),E,"start");c=g(mxUtils.getValue(e.style,mxConstants.STYLE_ENDARROW,null),mxUtils.getValue(e.style,"endFill",
+"1"),D,"end");"arrow"==e.style.shape?(a.className="geSprite geSprite-noarrow",c.className="geSprite geSprite-endblocktrans"):"link"==e.style.shape&&(a.className="geSprite geSprite-noarrow",c.className="geSprite geSprite-noarrow");mxUtils.setOpacity(y,"arrow"==e.style.shape?30:100);"connector"!=e.style.shape&&"flexArrow"!=e.style.shape?(mxUtils.setOpacity(E,30),mxUtils.setOpacity(D,30)):(mxUtils.setOpacity(E,100),mxUtils.setOpacity(D,100));if(f||document.activeElement!=W)a=parseInt(mxUtils.getValue(e.style,
mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE)),W.value=isNaN(a)?"":a+" pt";if(f||document.activeElement!=Q)a=parseInt(mxUtils.getValue(e.style,mxConstants.STYLE_SOURCE_PERIMETER_SPACING,0)),Q.value=isNaN(a)?"":a+" pt";if(f||document.activeElement!=I)a=parseInt(mxUtils.getValue(e.style,mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE)),I.value=isNaN(a)?"":a+" pt";if(f||document.activeElement!=Q)a=parseInt(mxUtils.getValue(e.style,mxConstants.STYLE_TARGET_PERIMETER_SPACING,0)),
-J.value=isNaN(a)?"":a+" pt";if(f||document.activeElement!=G)a=parseInt(mxUtils.getValue(e.style,mxConstants.STYLE_PERIMETER_SPACING,0)),G.value=isNaN(a)?"":a+" pt"});M=this.installInputHandler(W,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE,0,999," pt");L=this.installInputHandler(Q,mxConstants.STYLE_SOURCE_PERIMETER_SPACING,0,-999,999," pt");H=this.installInputHandler(I,mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE,0,999," pt");K=this.installInputHandler(J,mxConstants.STYLE_TARGET_PERIMETER_SPACING,
-0,-999,999," pt");N=this.installInputHandler(G,mxConstants.STYLE_PERIMETER_SPACING,0,0,999," pt");this.addKeyHandler(x,V);this.addKeyHandler(W,V);this.addKeyHandler(Q,V);this.addKeyHandler(I,V);this.addKeyHandler(J,V);this.addKeyHandler(G,V);b.getModel().addListener(mxEvent.CHANGE,V);this.listeners.push({destroy:function(){b.getModel().removeListener(V)}});V();return a};
+J.value=isNaN(a)?"":a+" pt";if(f||document.activeElement!=H)a=parseInt(mxUtils.getValue(e.style,mxConstants.STYLE_PERIMETER_SPACING,0)),H.value=isNaN(a)?"":a+" pt"});M=this.installInputHandler(W,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE,0,999," pt");L=this.installInputHandler(Q,mxConstants.STYLE_SOURCE_PERIMETER_SPACING,0,-999,999," pt");G=this.installInputHandler(I,mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE,0,999," pt");K=this.installInputHandler(J,mxConstants.STYLE_TARGET_PERIMETER_SPACING,
+0,-999,999," pt");N=this.installInputHandler(H,mxConstants.STYLE_PERIMETER_SPACING,0,0,999," pt");this.addKeyHandler(x,V);this.addKeyHandler(W,V);this.addKeyHandler(Q,V);this.addKeyHandler(I,V);this.addKeyHandler(J,V);this.addKeyHandler(H,V);b.getModel().addListener(mxEvent.CHANGE,V);this.listeners.push({destroy:function(){b.getModel().removeListener(V)}});V();return a};
StyleFormatPanel.prototype.addEffects=function(a){var c=this.editorUi.editor.graph,f=this.format.getSelectionState();a.style.paddingTop="0px";a.style.paddingBottom="2px";var d=document.createElement("table");mxClient.IS_QUIRKS&&(d.style.fontSize="1em");d.style.width="100%";d.style.fontWeight="bold";d.style.paddingRight="20px";var b=document.createElement("tbody"),e=document.createElement("tr");e.style.padding="0px";var g=document.createElement("td");g.style.padding="0px";g.style.width="50%";g.setAttribute("valign",
"top");var k=g.cloneNode(!0);k.style.paddingLeft="8px";e.appendChild(g);e.appendChild(k);b.appendChild(e);d.appendChild(b);a.appendChild(d);var l=g,m=0,n=mxUtils.bind(this,function(b,a,d){b=this.createCellOption(b,a,d);b.style.width="100%";l.appendChild(b);l=l==g?k:g;m++}),p=mxUtils.bind(this,function(b,d,c){f=this.format.getSelectionState();g.innerHTML="";k.innerHTML="";l=g;f.rounded&&n(mxResources.get("rounded"),mxConstants.STYLE_ROUNDED,0);"swimlane"==f.style.shape&&n(mxResources.get("divider"),
"swimlaneLine",1);f.containsImage||n(mxResources.get("shadow"),mxConstants.STYLE_SHADOW,0);f.glass&&n(mxResources.get("glass"),mxConstants.STYLE_GLASS,0);f.comic&&n(mxResources.get("comic"),"comic",0);0==m&&(a.style.display="none")});c.getModel().addListener(mxEvent.CHANGE,p);this.listeners.push({destroy:function(){c.getModel().removeListener(p)}});p();return a};
@@ -3076,9 +3077,9 @@ Toolbar.prototype.createLabel=function(a,c){var f=document.createElement("a");f.
Toolbar.prototype.addMenuHandler=function(a,c,f,d){if(null!=f){var b=this.editorUi.editor.graph,e=null,g=!0;mxEvent.addListener(a,"click",mxUtils.bind(this,function(k){if(g&&(null==a.enabled||a.enabled)){b.popupMenuHandler.hideMenu();e=new mxPopupMenu(f);e.div.className+=" geToolbarMenu";e.showDisabled=d;e.labels=c;e.autoExpand=!0;var l=mxUtils.getOffset(a);e.popup(l.x,l.y+a.offsetHeight,null,k);this.editorUi.setCurrentMenu(e,a);!c&&e.div.scrollHeight>e.div.clientHeight&&(e.div.style.width="40px");
e.addListener(mxEvent.EVENT_HIDE,mxUtils.bind(this,function(){this.currentElt=null}))}g=!0;mxEvent.consume(k)}));mxEvent.addListener(a,"mousedown",mxUtils.bind(this,function(b){g=this.currentElt!=a;null!=document.documentMode&&9<=document.documentMode&&b.preventDefault()}))}};Toolbar.prototype.destroy=function(){null!=this.gestureHandler&&(mxEvent.removeGestureListeners(document,this.gestureHandler),this.gestureHandler=null)};
var OpenDialog=function(){var a=document.createElement("iframe");a.style.backgroundColor="transparent";a.allowTransparency="true";a.style.borderStyle="none";a.style.borderWidth="0px";a.style.overflow="hidden";a.frameBorder="0";var c=mxClient.IS_VML&&(null==document.documentMode||8>document.documentMode)?20:0;a.setAttribute("width",(Editor.useLocalStorage?640:320)+c+"px");a.setAttribute("height",(Editor.useLocalStorage?480:220)+c+"px");a.setAttribute("src",OPEN_FORM);this.container=a},ColorDialog=
-function(a,c,f,d){function b(){var b=e(0==ColorDialog.recentColors.length?["FFFFFF"]:ColorDialog.recentColors,11,"FFFFFF",!0);b.style.marginBottom="8px";return b}function e(a,d,c,e){d=null!=d?d:12;var f=document.createElement("table");f.style.borderCollapse="collapse";f.setAttribute("cellspacing","0");f.style.marginBottom="20px";f.style.cellSpacing="0px";var l=document.createElement("tbody");f.appendChild(l);for(var n=a.length/d,p=0;p=parseInt(q.value))mxUtils.alert(mxResources.get("drawingEmpty"));else{var b=
-n.value,c=p.value,e=Math.max(0,parseFloat(q.value)||100)/100,f=Math.max(0,parseInt(x.value)),g=d.background;if(("svg"==c||"png"==c)&&v.checked)g=null;else if(null==g||g==mxConstants.NONE)g="#ffffff";ExportDialog.lastBorderValue=f;ExportDialog.exportFile(a,b,c,g,e,f)}}));z.className="geBtn gePrimaryBtn";var y=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});y.className="geBtn";a.editor.cancelFirst?(l.appendChild(y),l.appendChild(z)):(l.appendChild(z),l.appendChild(y));b.appendChild(l);
+n.value,c=p.value,e=Math.max(0,parseFloat(q.value)||100)/100,f=Math.max(0,parseInt(x.value)),g=d.background;if(("svg"==c||"png"==c)&&v.checked)g=null;else if(null==g||g==mxConstants.NONE)g="#ffffff";ExportDialog.lastBorderValue=f;ExportDialog.exportFile(a,b,c,g,e,f)}}));z.className="geBtn gePrimaryBtn";var A=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});A.className="geBtn";a.editor.cancelFirst?(l.appendChild(A),l.appendChild(z)):(l.appendChild(z),l.appendChild(A));b.appendChild(l);
m.appendChild(b);e.appendChild(m);this.container=e};ExportDialog.lastBorderValue=0;ExportDialog.showGifOption=!0;ExportDialog.showXmlOption=!0;
ExportDialog.exportFile=function(a,c,f,d,b,e){var g=a.editor.graph;if("xml"==f)ExportDialog.saveLocalFile(a,mxUtils.getXml(a.editor.getGraphXml()),c,f);else if("svg"==f)ExportDialog.saveLocalFile(a,mxUtils.getXml(g.getSvg(d,b,e)),c,f);else{var k=g.getGraphBounds(),l=mxUtils.createXmlDocument(),m=l.createElement("output");l.appendChild(m);l=new mxXmlCanvas2D(m);l.translate(Math.floor((e/b-k.x)/g.view.scale),Math.floor((e/b-k.y)/g.view.scale));l.scale(b/g.view.scale);(new mxImageExport).drawState(g.getView().getState(g.model.root),
l);m="xml="+encodeURIComponent(mxUtils.getXml(m));l=Math.ceil(k.width*b/g.view.scale+2*e);b=Math.ceil(k.height*b/g.view.scale+2*e);m.length<=MAX_REQUEST_SIZE&&l*ba.name)});for(u=0;u';mxEvent.addListener(x,"click",function(b){if(k.isEnabled()){k.model.beginUpdate();
try{var a=k.model.root.getIndex(u);k.removeCells([u],!1);0==k.model.getChildCount(k.model.root)?(k.model.add(k.model.root,new mxCell),k.setDefaultParent(null)):0';
-mxEvent.addListener(z,"click",function(b){k.isEnabled()&&!k.isSelectionEmpty()&&k.moveCells(k.getSelectionCells(),0,0,!1,u)});v.appendChild(z);var y=m.cloneNode();y.innerHTML='';y.setAttribute("title",mxResources.get("rename"));mxEvent.addListener(y,"click",function(b){k.isEnabled()&&e(u);mxEvent.consume(b)});k.isEnabled()||(y.className="geButton mxDisabled");v.appendChild(y);var B=m.cloneNode();B.innerHTML='';
+mxEvent.addListener(z,"click",function(b){k.isEnabled()&&!k.isSelectionEmpty()&&k.moveCells(k.getSelectionCells(),0,0,!1,u)});v.appendChild(z);var A=m.cloneNode();A.innerHTML='';A.setAttribute("title",mxResources.get("rename"));mxEvent.addListener(A,"click",function(b){k.isEnabled()&&e(u);mxEvent.consume(b)});k.isEnabled()||(A.className="geButton mxDisabled");v.appendChild(A);var B=m.cloneNode();B.innerHTML='';
mxEvent.addListener(B,"click",function(b){if(k.isEnabled()){b=null;k.model.beginUpdate();try{b=k.cloneCells([u])[0],b.value=mxResources.get("untitledLayer"),b.setVisible(!0),b=k.addCell(b,k.model.root),k.setDefaultParent(b)}finally{k.model.endUpdate()}null==b||k.isCellLocked(b)||k.selectAll(b)}});k.isEnabled()||(B.className="geButton mxDisabled");v.appendChild(B);m=m.cloneNode();m.innerHTML='';m.setAttribute("title",mxResources.get("addLayer"));
mxEvent.addListener(m,"click",function(b){if(k.isEnabled()){k.model.beginUpdate();try{var a=k.addCell(new mxCell(mxResources.get("untitledLayer")),k.model.root);k.setDefaultParent(a)}finally{k.model.endUpdate()}}mxEvent.consume(b)});k.isEnabled()||(m.className="geButton mxDisabled");v.appendChild(m);l.appendChild(v);g();k.model.addListener(mxEvent.CHANGE,function(){g()});k.selectionModel.addListener(mxEvent.CHANGE,function(){k.isSelectionEmpty()?z.className="geButton mxDisabled":z.className="geButton"});
this.window=new mxWindow(mxResources.get("layers"),l,c,f,d,b,!0,!0);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.refreshLayers=g;this.window.setLocation=function(b,a){var d=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;b=Math.max(0,Math.min(b,(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)-this.table.clientWidth));a=Math.max(0,
@@ -3196,7 +3197,7 @@ u[b]?this.addGMDLDialogsPalette():"Dividers"==u[b]?this.addGMDLDividersPalette()
u[b]?this.addGMDLTabsPalette():"Text Fields"==u[b]&&this.addGMDLTextFieldsPalette();this.addCabinetsPalette();this.addArchimate3Palette();this.addArchiMatePalette();this.addWebIconsPalette();this.addWebLogosPalette();this.showEntries()};if("1"==urlParams.createindex){var f=Sidebar.prototype.addStencilPalette;Sidebar.prototype.addStencilPalette=function(b,a,d,c,m,n,p,q){f.apply(this,arguments);p=null!=p?p:1;mxStencilRegistry.loadStencilSet(d,mxUtils.bind(this,function(b,a,d,e,f){if(null==m||0>mxUtils.indexOf(m,
a))d=null!=q?q[a]:null,mxLog.debug('")}),!0)}}var d=Sidebar.prototype.searchEntries;Sidebar.prototype.searchEntries=function(b,a,c,f,m){var e=f;if(EditorUi.enableLogging&&!this.editorUi.isOffline()&&0==c)try{(new Image).src=(null!=window.DRAWIO_LOG_URL?window.DRAWIO_LOG_URL:"")+"/log?severity=CONFIG&msg=shapesearch:"+encodeURIComponent(b)+"&v="+encodeURIComponent(EditorUi.VERSION)}catch(p){}f=
mxUtils.bind(this,function(d,f,g,k){!this.editorUi.isOffline()&&d.length<=a/4?(g=c-Math.ceil((f-a/4)/a),mxUtils.get(ICONSEARCH_PATH+"?v=2&q="+encodeURIComponent(b)+"&p="+g+"&c="+a,mxUtils.bind(this,function(b){try{if(200<=b.getStatus()&&299>=b.getStatus())try{var g=JSON.parse(b.getText());if(null==g||null==g.icons)e(d,f,!1,k),this.editorUi.handleError(g);else{for(b=0;bMarcin Szczepanski - #8095, last updated 1 minutes ago in Repo ABC',new mxGeometry(37,41,360,30),"html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#000000;whiteSpace=wrap;fontStyle=1");l.vertex=!0;var m=new mxCell("",new mxGeometry(330,44,16,10),"shape=mxgraph.arrows2.sharpArrow2;dy1=0.82;dx1=4.02;dx2=5.92;dy3=0.26;dx3=7.37;notch=0;strokeColor=none;fillColor=#C1C7D0;direction=east;");
m.vertex=!0;var n=new mxCell("staging",new mxGeometry(355,39,50,20),"rounded=1;arcSize=5;fillColor=#F2F3F5;strokeColor=none;fontColor=#596780;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=1;html=1");n.vertex=!0;var p=new mxCell("+6",new mxGeometry(535,44,24,24),"shape=ellipse;fillColor=#F0F2F5;strokeColor=none;fontColor=#596780;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1");p.vertex=!0;var q=new mxCell("",new mxGeometry(515,44,24,24),"shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858");
q.vertex=!0;var t=new mxCell("",new mxGeometry(495,44,24,24),"shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858");t.vertex=!0;var u=new mxCell("•••",new mxGeometry(600,48,16,16),"shape=ellipse;fillColor=#0057D8;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1");u.vertex=!0;var v=new mxCell("",new mxGeometry(0,89,24,24),"shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858");v.vertex=
!0;var x=new mxCell('Feature/BSERVDEV-13108 import...\nLucy Bain - #8092, last updated 15 minutes ago in Bitbucket repository',new mxGeometry(37,86,360,30),"html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#000000;whiteSpace=wrap;fontStyle=1");x.vertex=!0;var z=new mxCell("",new mxGeometry(245,89,16,10),"shape=mxgraph.arrows2.sharpArrow2;dy1=0.82;dx1=4.02;dx2=5.92;dy3=0.26;dx3=7.37;notch=0;strokeColor=none;fillColor=#C1C7D0;direction=east;");
-z.vertex=!0;var y=new mxCell("feature/BSERVDEV-12...",new mxGeometry(270,84,145,20),"shape=rect;rounded=1;arcSize=5;fillColor=#F2F3F5;strokeColor=none;fontColor=#596780;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=1;html=1");y.vertex=!0;var B=new mxCell("9",new mxGeometry(440,93,16,15),"shape=mxgraph.basic.oval_callout;fillColor=#596780;strokeColor=none;fontColor=#596780;align=left;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1;labelPosition=right;verticalLabelPosition=middle");
-B.vertex=!0;var A=new mxCell("",new mxGeometry(535,89,24,24),"shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858");A.vertex=!0;var C=new mxCell("",new mxGeometry(515,89,24,24),"shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858");C.vertex=!0;var E=new mxCell("",new mxGeometry(495,89,24,24),"shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858");E.vertex=!0;var F=new mxCell("•••",new mxGeometry(600,93,16,16),"shape=ellipse;fillColor=#0057D8;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;flipH=1;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1");
-F.vertex=!0;var D=new mxCell("",new mxGeometry(0,134,24,24),"shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858");D.vertex=!0;var K=new mxCell('BSERVDEV-13151: Disable the 'latest' event filtering\nFelix Haenel - #8068, last updated 34 minutes ago in Repository',new mxGeometry(37,131,360,30),"html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#000000;whiteSpace=wrap;fontStyle=1");
-K.vertex=!0;var H=new mxCell("",new mxGeometry(342,134,16,10),"shape=mxgraph.arrows2.sharpArrow2;dy1=0.82;dx1=4.02;dx2=5.92;dy3=0.26;dx3=7.37;notch=0;strokeColor=none;fillColor=#C1C7D0;direction=east;");H.vertex=!0;var J=new mxCell("staging",new mxGeometry(365,129,50,20),"rounded=1;arcSize=5;fillColor=#F2F3F5;strokeColor=none;fontColor=#596780;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=1;html=1");J.vertex=!0;var I=new mxCell("•••",new mxGeometry(600,
+z.vertex=!0;var A=new mxCell("feature/BSERVDEV-12...",new mxGeometry(270,84,145,20),"shape=rect;rounded=1;arcSize=5;fillColor=#F2F3F5;strokeColor=none;fontColor=#596780;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=1;html=1");A.vertex=!0;var B=new mxCell("9",new mxGeometry(440,93,16,15),"shape=mxgraph.basic.oval_callout;fillColor=#596780;strokeColor=none;fontColor=#596780;align=left;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1;labelPosition=right;verticalLabelPosition=middle");
+B.vertex=!0;var y=new mxCell("",new mxGeometry(535,89,24,24),"shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858");y.vertex=!0;var E=new mxCell("",new mxGeometry(515,89,24,24),"shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858");E.vertex=!0;var D=new mxCell("",new mxGeometry(495,89,24,24),"shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858");D.vertex=!0;var F=new mxCell("•••",new mxGeometry(600,93,16,16),"shape=ellipse;fillColor=#0057D8;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;flipH=1;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1");
+F.vertex=!0;var C=new mxCell("",new mxGeometry(0,134,24,24),"shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858");C.vertex=!0;var K=new mxCell('BSERVDEV-13151: Disable the 'latest' event filtering\nFelix Haenel - #8068, last updated 34 minutes ago in Repository',new mxGeometry(37,131,360,30),"html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#000000;whiteSpace=wrap;fontStyle=1");
+K.vertex=!0;var G=new mxCell("",new mxGeometry(342,134,16,10),"shape=mxgraph.arrows2.sharpArrow2;dy1=0.82;dx1=4.02;dx2=5.92;dy3=0.26;dx3=7.37;notch=0;strokeColor=none;fillColor=#C1C7D0;direction=east;");G.vertex=!0;var J=new mxCell("staging",new mxGeometry(365,129,50,20),"rounded=1;arcSize=5;fillColor=#F2F3F5;strokeColor=none;fontColor=#596780;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=1;html=1");J.vertex=!0;var I=new mxCell("•••",new mxGeometry(600,
138,16,16),"shape=ellipse;fillColor=#0057D8;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;flipH=1;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1");I.vertex=!0;var L=new mxCell("",new mxGeometry(0,179,24,24),"shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858");L.vertex=!0;var M=new mxCell('Feature/BSERVDEV-13193: commit lvl review...\nJohn Van Der Loo - #8093; last updated 29 Oct 2014 in Repository',
new mxGeometry(37,176,360,30),"html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#596780;whiteSpace=wrap;fontStyle=1");M.vertex=!0;var Q=new mxCell("",new mxGeometry(330,179,16,10),"shape=mxgraph.arrows2.sharpArrow2;dy1=0.82;dx1=4.02;dx2=5.92;dy3=0.26;dx3=7.37;notch=0;strokeColor=none;fillColor=#C1C7D0;direction=east;");Q.vertex=!0;var W=new mxCell("staging",new mxGeometry(355,174,50,20),"rounded=1;arcSize=5;fillColor=#F2F3F5;strokeColor=none;fontColor=#A5ADBA;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=1;html=1");
-W.vertex=!0;var N=new mxCell("2",new mxGeometry(440,183,16,15),"shape=mxgraph.basic.oval_callout;fillColor=#A5ADBA;strokeColor=none;fontColor=#596780;align=left;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1;labelPosition=right;verticalLabelPosition=middle");N.vertex=!0;var G=new mxCell("+2",new mxGeometry(535,179,24,24),"shape=ellipse;fillColor=#F0F2F5;strokeColor=none;fontColor=#596780;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1");G.vertex=
+W.vertex=!0;var N=new mxCell("2",new mxGeometry(440,183,16,15),"shape=mxgraph.basic.oval_callout;fillColor=#A5ADBA;strokeColor=none;fontColor=#596780;align=left;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1;labelPosition=right;verticalLabelPosition=middle");N.vertex=!0;var H=new mxCell("+2",new mxGeometry(535,179,24,24),"shape=ellipse;fillColor=#F0F2F5;strokeColor=none;fontColor=#596780;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1");H.vertex=
!0;var V=new mxCell("",new mxGeometry(515,179,24,24),"shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858");V.vertex=!0;var O=new mxCell("",new mxGeometry(495,179,24,24),"shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858");O.vertex=!0;var ba=new mxCell("",new mxGeometry(512,177,9,9),"shape=ellipse;fillColor=#A5ADBA;strokeColor=#ffffff");ba.vertex=!0;var Y=new mxCell("",new mxGeometry(600,183,16,16),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.checkbox;fillColor=#A5ADBA;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1");
-Y.vertex=!0;var S=new mxCell("This PR has been merged",new mxGeometry(50,210,160,20),"rounded=1;arcSize=5;fillColor=#172B4D;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=0;html=1");S.vertex=!0;var P=new mxCell("",new mxGeometry(0,228,620,10),"shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1");P.vertex=!0;return c.createVertexTemplateFromCells([a,b,e,f,k,l,m,n,p,q,t,u,v,x,z,y,B,A,C,E,F,D,K,H,J,I,L,M,Q,W,N,G,V,O,ba,Y,S,P],
+Y.vertex=!0;var S=new mxCell("This PR has been merged",new mxGeometry(50,210,160,20),"rounded=1;arcSize=5;fillColor=#172B4D;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=0;html=1");S.vertex=!0;var P=new mxCell("",new mxGeometry(0,228,620,10),"shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1");P.vertex=!0;return c.createVertexTemplateFromCells([a,b,e,f,k,l,m,n,p,q,t,u,v,x,z,A,B,y,E,D,F,C,K,G,J,I,L,M,Q,W,N,H,V,O,ba,Y,S,P],
620,230,"Table")}),this.addEntry("atlassian table",function(){var a=new mxCell("Name",new mxGeometry(0,0,150,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap");a.vertex=!0;var b=new mxCell("Size",new mxGeometry(300,0,90,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap");b.vertex=!0;var e=new mxCell("Last commit",new mxGeometry(360,0,70,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=center;fontColor=#596780;whiteSpace=wrap");
e.vertex=!0;var f=new mxCell("Commit description",new mxGeometry(460,0,170,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap");f.vertex=!0;var k=new mxCell("",new mxGeometry(0,20,630,10),"shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1");k.vertex=!0;var l=new mxCell("h8m0n62f",new mxGeometry(0,39,18,16),"shape=mxgraph.office.concepts.folders;fillColor=#344563;strokeColor=none;fontColor=#344563;fontSize=11;fontStyle=0;labelPosition=right;align=left;html=1;spacingLeft=5");
l.vertex=!0;var m=new mxCell("",new mxGeometry(80,42,16,10),"shape=mxgraph.arrows2.sharpArrow2;dy1=0.82;dx1=4.02;dx2=5.92;dy3=0.26;dx3=7.37;notch=0;strokeColor=none;fillColor=#C1C7D0;direction=east;");m.vertex=!0;var n=new mxCell("./h8m0n62f [10b2fa24d299]",new mxGeometry(100,37,160,20),"html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#000000;whiteSpace=wrap;fontStyle=0");n.vertex=!0;var p=new mxCell("209 B",new mxGeometry(280,37,50,20),"strokeColor=none;fillColor=none;fontSize=11;fontColor=#596780;align=right;html=1");
p.vertex=!0;var q=new mxCell("20 Jan 2016",new mxGeometry(360,37,70,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=center;fontColor=#596780;whiteSpace=wrap");q.vertex=!0;var t=new mxCell("initial commit",new mxGeometry(460,37,170,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap");t.vertex=!0;var u=new mxCell("settings",new mxGeometry(0,69,18,16),"shape=mxgraph.office.concepts.folder;fillColor=#344563;strokeColor=none;fontColor=#344563;fontSize=11;fontStyle=0;labelPosition=right;align=left;html=1;spacingLeft=5");
u.vertex=!0;var v=new mxCell("197 B",new mxGeometry(280,67,50,20),"strokeColor=none;fillColor=none;fontSize=11;fontColor=#596780;align=right;html=1");v.vertex=!0;var x=new mxCell("08 Feb 2011",new mxGeometry(360,67,70,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=center;fontColor=#596780;whiteSpace=wrap");x.vertex=!0;var z=new mxCell("initial commit",new mxGeometry(460,67,170,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap");z.vertex=
-!0;var y=new mxCell("templates",new mxGeometry(0,99,18,16),"shape=mxgraph.office.concepts.folder;fillColor=#344563;strokeColor=none;fontColor=#344563;fontSize=11;fontStyle=0;labelPosition=right;align=left;html=1;spacingLeft=5");y.vertex=!0;var B=new mxCell("209 B",new mxGeometry(280,97,50,20),"strokeColor=none;fillColor=none;fontSize=11;fontColor=#596780;align=right;html=1");B.vertex=!0;var A=new mxCell("20 Jan 2016",new mxGeometry(360,97,70,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=center;fontColor=#596780;whiteSpace=wrap");
-A.vertex=!0;var C=new mxCell("initial commit",new mxGeometry(460,97,170,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap");C.vertex=!0;var E=new mxCell("tests",new mxGeometry(0,129,18,16),"shape=mxgraph.office.concepts.folder;fillColor=#344563;strokeColor=none;fontColor=#344563;fontSize=11;fontStyle=0;labelPosition=right;align=left;html=1;spacingLeft=5");E.vertex=!0;var F=new mxCell("30.4 KB",new mxGeometry(280,127,50,20),"strokeColor=none;fillColor=none;fontSize=11;fontColor=#596780;align=right;html=1");
-F.vertex=!0;var D=new mxCell("16 Jun 2016",new mxGeometry(360,127,70,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=center;fontColor=#596780;whiteSpace=wrap");D.vertex=!0;var K=new mxCell("initial commit",new mxGeometry(460,127,170,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap");K.vertex=!0;var H=new mxCell("debug.py",new mxGeometry(3,159,12,16),"shape=note;fillColor=#ffffff;strokeColor=#344563;fontColor=#344563;fontSize=11;fontStyle=0;labelPosition=right;align=left;html=1;spacingLeft=5;size=5");
-H.vertex=!0;var J=new mxCell("2.0 KB",new mxGeometry(280,157,50,20),"strokeColor=none;fillColor=none;fontSize=11;fontColor=#596780;align=right;html=1");J.vertex=!0;var I=new mxCell("03 July 2016",new mxGeometry(360,157,70,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=center;fontColor=#596780;whiteSpace=wrap");I.vertex=!0;var L=new mxCell("Remove Atlassian's npm mirror...",new mxGeometry(460,157,170,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap");
+!0;var A=new mxCell("templates",new mxGeometry(0,99,18,16),"shape=mxgraph.office.concepts.folder;fillColor=#344563;strokeColor=none;fontColor=#344563;fontSize=11;fontStyle=0;labelPosition=right;align=left;html=1;spacingLeft=5");A.vertex=!0;var B=new mxCell("209 B",new mxGeometry(280,97,50,20),"strokeColor=none;fillColor=none;fontSize=11;fontColor=#596780;align=right;html=1");B.vertex=!0;var y=new mxCell("20 Jan 2016",new mxGeometry(360,97,70,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=center;fontColor=#596780;whiteSpace=wrap");
+y.vertex=!0;var E=new mxCell("initial commit",new mxGeometry(460,97,170,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap");E.vertex=!0;var D=new mxCell("tests",new mxGeometry(0,129,18,16),"shape=mxgraph.office.concepts.folder;fillColor=#344563;strokeColor=none;fontColor=#344563;fontSize=11;fontStyle=0;labelPosition=right;align=left;html=1;spacingLeft=5");D.vertex=!0;var F=new mxCell("30.4 KB",new mxGeometry(280,127,50,20),"strokeColor=none;fillColor=none;fontSize=11;fontColor=#596780;align=right;html=1");
+F.vertex=!0;var C=new mxCell("16 Jun 2016",new mxGeometry(360,127,70,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=center;fontColor=#596780;whiteSpace=wrap");C.vertex=!0;var K=new mxCell("initial commit",new mxGeometry(460,127,170,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap");K.vertex=!0;var G=new mxCell("debug.py",new mxGeometry(3,159,12,16),"shape=note;fillColor=#ffffff;strokeColor=#344563;fontColor=#344563;fontSize=11;fontStyle=0;labelPosition=right;align=left;html=1;spacingLeft=5;size=5");
+G.vertex=!0;var J=new mxCell("2.0 KB",new mxGeometry(280,157,50,20),"strokeColor=none;fillColor=none;fontSize=11;fontColor=#596780;align=right;html=1");J.vertex=!0;var I=new mxCell("03 July 2016",new mxGeometry(360,157,70,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=center;fontColor=#596780;whiteSpace=wrap");I.vertex=!0;var L=new mxCell("Remove Atlassian's npm mirror...",new mxGeometry(460,157,170,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap");
L.vertex=!0;var M=new mxCell("package.json",new mxGeometry(3,189,12,16),"shape=note;fillColor=#ffffff;strokeColor=#344563;fontColor=#344563;fontSize=11;fontStyle=0;labelPosition=right;align=left;html=1;spacingLeft=5;size=5");M.vertex=!0;var Q=new mxCell("2.0 KB",new mxGeometry(280,187,50,20),"strokeColor=none;fillColor=none;fontSize=11;fontColor=#596780;align=right;html=1");Q.vertex=!0;var W=new mxCell("25 July 2016",new mxGeometry(360,187,70,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=center;fontColor=#596780;whiteSpace=wrap");
-W.vertex=!0;var N=new mxCell('BBCDEV-2045 optimize flow perf',new mxGeometry(460,187,170,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap");N.vertex=!0;var G=new mxCell("",new mxGeometry(0,217,630,10),"shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1");G.vertex=!0;return c.createVertexTemplateFromCells([a,b,e,f,k,l,m,n,p,q,t,u,v,x,z,y,B,A,C,E,F,D,K,H,J,I,L,M,Q,W,N,G],630,230,"Table")}),this.addEntry("atlassian table action",
+W.vertex=!0;var N=new mxCell('BBCDEV-2045 optimize flow perf',new mxGeometry(460,187,170,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap");N.vertex=!0;var H=new mxCell("",new mxGeometry(0,217,630,10),"shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1");H.vertex=!0;return c.createVertexTemplateFromCells([a,b,e,f,k,l,m,n,p,q,t,u,v,x,z,A,B,y,E,D,F,C,K,G,J,I,L,M,Q,W,N,H],630,230,"Table")}),this.addEntry("atlassian table action",
function(){var a=new mxCell("Branch",new mxGeometry(10,0,150,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap");a.vertex=!0;var b=new mxCell("Behind",new mxGeometry(270,0,40,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap");b.vertex=!0;var e=new mxCell("Ahead",new mxGeometry(310,0,40,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=right;fontColor=#596780;whiteSpace=wrap");e.vertex=
!0;var f=new mxCell("Updated",new mxGeometry(370,0,90,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap");f.vertex=!0;var k=new mxCell("Pull request",new mxGeometry(460,0,90,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=center;fontColor=#596780;whiteSpace=wrap");k.vertex=!0;var l=new mxCell("Builds",new mxGeometry(550,0,40,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=center;fontColor=#596780;whiteSpace=wrap");l.vertex=
!0;var m=new mxCell("",new mxGeometry(10,20,630,10),"shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1");m.vertex=!0;var n=new mxCell("",new mxGeometry(0,26,640,30),"strokeColor=none;fillColor=#FAFBFC;html=1");n.vertex=!0;var p=new mxCell("staging",new mxGeometry(10,31,50,20),"strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1");p.vertex=!0;var q=new mxCell("Main Branch",new mxGeometry(60,31,65,20),"strokeColor=none;fillColor=#EDEEEF;fontSize=11;fontColor=#596780;rounded=1;html=1");
q.vertex=!0;var t=new mxCell("28 minutes ago",new mxGeometry(370,31,50,20),"strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1");t.vertex=!0;var u=new mxCell("•••",new mxGeometry(565,33,16,16),"shape=ellipse;fillColor=#0057D8;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1");u.vertex=!0;var v=new mxCell("",new mxGeometry(595,28,40,24),"rounded=1;arcSize=23;fillColor=#42526E;strokeColor=none");
v.vertex=!0;var x=new mxCell("",new mxGeometry(.5,.5,4,4),"shape=ellipse;fillColor=#ffffff;strokeColor=none;html=1");x.geometry.relative=!0;x.geometry.offset=new mxPoint(-10,-2);x.vertex=!0;v.insert(x);x=new mxCell("",new mxGeometry(.5,.5,4,4),"shape=ellipse;fillColor=#ffffff;strokeColor=none;html=1");x.geometry.relative=!0;x.geometry.offset=new mxPoint(-2,-2);x.vertex=!0;v.insert(x);x=new mxCell("",new mxGeometry(.5,.5,4,4),"shape=ellipse;fillColor=#ffffff;strokeColor=none;html=1");x.geometry.relative=
-!0;x.geometry.offset=new mxPoint(6,-2);x.vertex=!0;v.insert(x);x=new mxCell("abhin/repo/api/allow_repo_updates",new mxGeometry(10,61,240,20),"strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1");x.vertex=!0;var z=new mxCell("",new mxGeometry(270,66,80,10),"shape=mxgraph.mockup.misc.progressBar;fillColor=#3384FF;strokeColor=none;fillColor2=#F2F2F2;barPos=80;");z.vertex=!0;var y=new mxCell("107",new mxGeometry(270,73,40,20),"strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=left;html=1");
-y.vertex=!0;var B=new mxCell("3",new mxGeometry(310,73,40,20),"strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=right;html=1");B.vertex=!0;var A=new mxCell("5 minutes ago",new mxGeometry(370,61,50,20),"strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1");A.vertex=!0;var C=new mxCell("#10258",new mxGeometry(460,61,50,20),"strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1");C.vertex=!0;var E=new mxCell("OPEN",new mxGeometry(510,
-61,40,20),"strokeColor=none;fillColor=#CCE0FF;fontSize=11;fontColor=#3384FF;rounded=1;html=1;align=center;fontStyle=1");E.vertex=!0;var F=new mxCell("•••",new mxGeometry(565,63,16,16),"shape=ellipse;fillColor=#0057D8;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1");F.vertex=!0;var D=new mxCell("zdavis/BBCDEV-1577",new mxGeometry(10,91,240,20),"strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1");
-D.vertex=!0;var K=new mxCell("",new mxGeometry(270,96,80,10),"shape=mxgraph.mockup.misc.progressBar;fillColor=#3384FF;strokeColor=none;fillColor2=#F2F2F2;barPos=80;");K.vertex=!0;var H=new mxCell("103",new mxGeometry(270,103,40,20),"strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=left;html=1");H.vertex=!0;var J=new mxCell("2",new mxGeometry(310,103,40,20),"strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=right;html=1");J.vertex=!0;var I=new mxCell("5 minutes ago",
+!0;x.geometry.offset=new mxPoint(6,-2);x.vertex=!0;v.insert(x);x=new mxCell("abhin/repo/api/allow_repo_updates",new mxGeometry(10,61,240,20),"strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1");x.vertex=!0;var z=new mxCell("",new mxGeometry(270,66,80,10),"shape=mxgraph.mockup.misc.progressBar;fillColor=#3384FF;strokeColor=none;fillColor2=#F2F2F2;barPos=80;");z.vertex=!0;var A=new mxCell("107",new mxGeometry(270,73,40,20),"strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=left;html=1");
+A.vertex=!0;var B=new mxCell("3",new mxGeometry(310,73,40,20),"strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=right;html=1");B.vertex=!0;var y=new mxCell("5 minutes ago",new mxGeometry(370,61,50,20),"strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1");y.vertex=!0;var E=new mxCell("#10258",new mxGeometry(460,61,50,20),"strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1");E.vertex=!0;var D=new mxCell("OPEN",new mxGeometry(510,
+61,40,20),"strokeColor=none;fillColor=#CCE0FF;fontSize=11;fontColor=#3384FF;rounded=1;html=1;align=center;fontStyle=1");D.vertex=!0;var F=new mxCell("•••",new mxGeometry(565,63,16,16),"shape=ellipse;fillColor=#0057D8;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1");F.vertex=!0;var C=new mxCell("zdavis/BBCDEV-1577",new mxGeometry(10,91,240,20),"strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1");
+C.vertex=!0;var K=new mxCell("",new mxGeometry(270,96,80,10),"shape=mxgraph.mockup.misc.progressBar;fillColor=#3384FF;strokeColor=none;fillColor2=#F2F2F2;barPos=80;");K.vertex=!0;var G=new mxCell("103",new mxGeometry(270,103,40,20),"strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=left;html=1");G.vertex=!0;var J=new mxCell("2",new mxGeometry(310,103,40,20),"strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=right;html=1");J.vertex=!0;var I=new mxCell("5 minutes ago",
new mxGeometry(370,91,50,20),"strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1");I.vertex=!0;var L=new mxCell("#10232",new mxGeometry(460,91,50,20),"strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1");L.vertex=!0;var M=new mxCell("OPEN",new mxGeometry(510,91,40,20),"strokeColor=none;fillColor=#CCE0FF;fontSize=11;fontColor=#3384FF;rounded=1;html=1;align=center;fontStyle=1");M.vertex=!0;var Q=new mxCell("•••",new mxGeometry(565,
93,16,16),"shape=ellipse;fillColor=#0057D8;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1");Q.vertex=!0;var W=new mxCell("tkells/BBCDEV-1631-fix-require-account=access",new mxGeometry(10,121,240,20),"strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1");W.vertex=!0;var N=new mxCell("",new mxGeometry(270,126,80,10),"shape=mxgraph.mockup.misc.progressBar;fillColor=#3384FF;strokeColor=none;fillColor2=#F2F2F2;barPos=80;");
-N.vertex=!0;var G=new mxCell("7",new mxGeometry(270,133,40,20),"strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=left;html=1");G.vertex=!0;var V=new mxCell("1",new mxGeometry(310,133,40,20),"strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=right;html=1");V.vertex=!0;var O=new mxCell("25 minutes ago",new mxGeometry(370,121,50,20),"strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1");O.vertex=!0;var ba=new mxCell("#10267",new mxGeometry(460,
+N.vertex=!0;var H=new mxCell("7",new mxGeometry(270,133,40,20),"strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=left;html=1");H.vertex=!0;var V=new mxCell("1",new mxGeometry(310,133,40,20),"strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=right;html=1");V.vertex=!0;var O=new mxCell("25 minutes ago",new mxGeometry(370,121,50,20),"strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1");O.vertex=!0;var ba=new mxCell("#10267",new mxGeometry(460,
121,50,20),"strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1");ba.vertex=!0;var Y=new mxCell("OPEN",new mxGeometry(510,121,40,20),"strokeColor=none;fillColor=#CCE0FF;fontSize=11;fontColor=#3384FF;rounded=1;html=1;align=center;fontStyle=1");Y.vertex=!0;var S=new mxCell("•••",new mxGeometry(565,123,16,16),"shape=ellipse;fillColor=#0057D8;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1");
S.vertex=!0;var P=new mxCell("jmooring/BBDEV-1603",new mxGeometry(10,151,240,20),"strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1");P.vertex=!0;var R=new mxCell("",new mxGeometry(270,156,80,10),"shape=mxgraph.mockup.misc.progressBar;fillColor=#3384FF;strokeColor=none;fillColor2=#F2F2F2;barPos=80;");R.vertex=!0;var X=new mxCell("2",new mxGeometry(270,163,40,20),"strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=left;html=1");X.vertex=!0;var da=new mxCell("14",
new mxGeometry(310,163,40,20),"strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=right;html=1");da.vertex=!0;var aa=new mxCell("29 minutes ago",new mxGeometry(370,151,50,20),"strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1");aa.vertex=!0;var T=new mxCell("#10244",new mxGeometry(460,151,50,20),"strokeColor=none;fillColor=none;fontSize=12;fontColor=#0057D8;align=left;html=1");T.vertex=!0;var ca=new mxCell("OPEN",new mxGeometry(510,151,40,20),"strokeColor=none;fillColor=#CCE0FF;fontSize=11;fontColor=#3384FF;rounded=1;html=1;align=center;fontStyle=1");
ca.vertex=!0;var ea=new mxCell("",new mxGeometry(565,153,16,16),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.checkbox;fillColor=#008465;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1");ea.vertex=!0;var U=new mxCell("",new mxGeometry(10,179,630,10),"shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1");U.vertex=!0;var Z=new mxCell("",new mxGeometry(530,61,110,78),"rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;shadow=1;html=1;arcSize=4");
Z.vertex=!0;var ga=new mxCell("View source",new mxGeometry(0,0,110,33),"rounded=0;fillColor=#F4F5F7;strokeColor=none;shadow=0;html=1;align=left;fontSize=12;spacingLeft=10;fontColor=#253858;resizeWidth=1");ga.geometry.relative=!0;ga.geometry.offset=new mxPoint(0,6);ga.vertex=!0;Z.insert(ga);ga=new mxCell("Delete branch",new mxGeometry(0,0,110,33),"rounded=0;fillColor=none;strokeColor=none;shadow=0;html=1;align=left;fontSize=12;spacingLeft=10;fontColor=#253858;resizeWidth=1");ga.geometry.relative=!0;
-ga.geometry.offset=new mxPoint(0,39);ga.vertex=!0;Z.insert(ga);return c.createVertexTemplateFromCells([a,b,e,f,k,l,m,n,p,q,t,u,v,x,z,y,B,A,C,E,F,D,K,H,J,I,L,M,Q,W,N,G,V,O,ba,Y,S,P,R,X,da,aa,T,ca,ea,U,Z],630,189,"Table with action")}),this.addEntry("atlassian table action",function(){var a=new mxCell("Details",new mxGeometry(0,0,50,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#3384FF;fontStyle=1;whiteSpace=wrap");a.vertex=!0;var b=new mxCell("Diff",new mxGeometry(70,
+ga.geometry.offset=new mxPoint(0,39);ga.vertex=!0;Z.insert(ga);return c.createVertexTemplateFromCells([a,b,e,f,k,l,m,n,p,q,t,u,v,x,z,A,B,y,E,D,F,C,K,G,J,I,L,M,Q,W,N,H,V,O,ba,Y,S,P,R,X,da,aa,T,ca,ea,U,Z],630,189,"Table with action")}),this.addEntry("atlassian table action",function(){var a=new mxCell("Details",new mxGeometry(0,0,50,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#3384FF;fontStyle=1;whiteSpace=wrap");a.vertex=!0;var b=new mxCell("Diff",new mxGeometry(70,
0,40,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;fontStyle=1;whiteSpace=wrap");b.vertex=!0;var e=new mxCell("Commits",new mxGeometry(130,0,60,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;fontStyle=1;whiteSpace=wrap");e.vertex=!0;var f=new mxCell("Challenges",new mxGeometry(200,0,90,20),"html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;fontStyle=1;whiteSpace=wrap");f.vertex=!0;var k=new mxCell("",
new mxGeometry(0,20,350,10),"shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1");k.vertex=!0;var l=new mxCell("",new mxGeometry(0,20,40,10),"shape=line;strokeWidth=2;html=1;strokeColor=#3384FF;resizeWidth=1");l.vertex=!0;return c.createVertexTemplateFromCells([a,b,e,f,k,l],350,30,"Table with action")}),this.createVertexTemplateEntry("dashed=0;html=1;fillColor=#F0F2F5;strokeColor=none;align=center;rounded=1;arcSize=10;fontColor=#596780;fontStyle=1;fontSize=11;shadow=0",60,20,"Tag text",
"Tag",null,null,this.getTagsForStencil("mxgraph.atlassian","tag","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;fillColor=#F0F2F5;strokeColor=none;align=center;rounded=1;arcSize=10;fontColor=#3384FF;fontStyle=1;fontSize=11;shadow=0",60,20,"Tag link","Tag link",null,null,this.getTagsForStencil("mxgraph.atlassian","tag","atlassian ").join(" ")),this.addEntry("atlassian tag removable",function(){var a=new mxCell("Removable tag",new mxGeometry(0,0,100,20),"dashed=0;html=1;fillColor=#F0F2F5;strokeColor=none;align=left;rounded=1;arcSize=10;fontColor=#596780;fontStyle=1;fontSize=11;shadow=0;spacingLeft=3");
@@ -3693,8 +3694,8 @@ e.vertex=!0;var f=new mxCell("Waremelon",new mxGeometry(0,95,290,40),"rounded=1;
l.vertex=!0;var m=new mxCell("Stash",new mxGeometry(0,170,290,40),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12");m.vertex=!0;var n=new mxCell("Description",new mxGeometry(0,220,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");n.vertex=!0;var p=new mxCell("What is important for people to know?",new mxGeometry(0,245,360,115),"rounded=1;arcSize=4;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12;verticalAlign=top");
p.vertex=!0;var q=new mxCell("Project permissions",new mxGeometry(0,380,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#172B4C;fontStyle=1;fontSize=14");q.vertex=!0;var t=new mxCell("User access",new mxGeometry(0,400,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#172B4C;fontStyle=0;fontSize=12");t.vertex=!0;var u=new mxCell("Read and write",new mxGeometry(11,430,10,10),"shape=ellipse;fillColor=#ffffff;strokeColor=#0057D8;strokeWidth=4;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10");
u.vertex=!0;var v=new mxCell("Read only",new mxGeometry(10,450,12,12),"shape=ellipse;rounded=1;fillColor=#F0F2F5;strokeColor=#D8DCE3;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10;html=1;shadow=0;dashed=0");v.vertex=!0;var x=new mxCell("None",new mxGeometry(10,470,12,12),"shape=ellipse;rounded=1;fillColor=#F0F2F5;strokeColor=#D8DCE3;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10;html=1;shadow=0;dashed=0");
-x.vertex=!0;var z=new mxCell("Publish",new mxGeometry(0,510,60,33),"rounded=1;fillColor=#0057D8;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;fontStyle=0;fontSize=14;html=1;shadow=0;dashed=0");z.vertex=!0;var y=new mxCell("Cancel",new mxGeometry(70,510,60,33),"fillColor=none;strokeColor=none;fontColor=#596780;align=center;verticalAlign=middle;fontStyle=0;fontSize=14;html=1;shadow=0;dashed=0");y.vertex=!0;return c.createVertexTemplateFromCells([a,b,e,f,k,l,m,n,p,q,t,u,v,x,z,
-y],370,543,"Disabled text field")}),this.addEntry("atlassian error message field",function(){var a=new mxCell("Email",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");a.vertex=!0;var b=new mxCell("shrugg#atlassian.com",new mxGeometry(0,25,300,40),"rounded=1;arcSize=9;fillColor=#ffffff;align=left;spacingLeft=5;strokeColor=#FFAB00;html=1;strokeWidth=2;fontColor=#000000;fontSize=12");b.vertex=!0;var e=new mxCell("",
+x.vertex=!0;var z=new mxCell("Publish",new mxGeometry(0,510,60,33),"rounded=1;fillColor=#0057D8;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;fontStyle=0;fontSize=14;html=1;shadow=0;dashed=0");z.vertex=!0;var A=new mxCell("Cancel",new mxGeometry(70,510,60,33),"fillColor=none;strokeColor=none;fontColor=#596780;align=center;verticalAlign=middle;fontStyle=0;fontSize=14;html=1;shadow=0;dashed=0");A.vertex=!0;return c.createVertexTemplateFromCells([a,b,e,f,k,l,m,n,p,q,t,u,v,x,z,
+A],370,543,"Disabled text field")}),this.addEntry("atlassian error message field",function(){var a=new mxCell("Email",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");a.vertex=!0;var b=new mxCell("shrugg#atlassian.com",new mxGeometry(0,25,300,40),"rounded=1;arcSize=9;fillColor=#ffffff;align=left;spacingLeft=5;strokeColor=#FFAB00;html=1;strokeWidth=2;fontColor=#000000;fontSize=12");b.vertex=!0;var e=new mxCell("",
new mxGeometry(1,.5,20,20),"shape=mxgraph.azure.azure_alert;fillColor=#FFAB00;strokeColor=none;html=1");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-30,-10);e.vertex=!0;b.insert(e);return c.createVertexTemplateFromCells([a,b],290,58,"Error message field")}),this.addEntry("atlassian error message field",function(){var a=new mxCell("Email",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");a.vertex=
!0;var b=new mxCell("shrugg#atlassian.com",new mxGeometry(0,25,300,40),"rounded=1;arcSize=9;fillColor=#ffffff;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontColor=#000000;fontSize=12");b.vertex=!0;var e=new mxCell("",new mxGeometry(1,.5,20,20),"shape=mxgraph.azure.azure_alert;fillColor=#FFAB00;strokeColor=none;html=1");e.geometry.relative=!0;e.geometry.offset=new mxPoint(-30,-10);e.vertex=!0;b.insert(e);e=new mxCell("Please enter a valid address.",new mxGeometry(310,22,200,
46),"rounded=1;arcSize=9;fillColor=#ffffff;align=center;strokeColor=#DFE1E5;html=1;strokeWidth=1;fontColor=#000000;fontSize=12;shadow=1");e.vertex=!0;return c.createVertexTemplateFromCells([a,b,e],290,58,"Error message field")})];this.addPalette("atlassian","Atlassian",!1,mxUtils.bind(this,function(a){for(var b=0;b=f&&(mxUtils.br(k),m=0)}f=null!=f?f:3;var b=document.createElement("div");b.style.textAlign="center";b.style.whiteSpace="nowrap";b.style.paddingTop="0px";b.style.paddingBottom="20px";var e=a.addLanguageMenu(b);null!=e&&(e.style.bottom="28px");!a.isOffline()&&1