diff --git a/ChangeLog b/ChangeLog index 5b1367d21db8acd3b0e376998642dba41a8d935a..b0aed487d70f224618385828441d06bb0c455e44 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +08-NOV-2019: 12.2.3 + +- Improves stencils in dark mode +- Removes electron useragent check +- Fixes shifted text labels in PDF with math +- Adds clipping for print output +- Uses mxGraph 4.0.6 beta 5 + 06-NOV-2019: 12.2.2 - Fixes NPE in pasteCells diff --git a/VERSION b/VERSION index c4891d644a53fed0c72fa38435a6b31dd2664846..088fb930350b60e47ef9e8c9981f816127c2824c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -12.2.2 \ No newline at end of file +12.2.3 \ No newline at end of file diff --git a/etc/mxgraph/mxClient.js b/etc/mxgraph/mxClient.js index 329bbe2009e7f52a6f8c67556a726dd6282c2a0e..2d7cec43f476ce5ae5a9e188a9a586229af35f2b 100644 --- a/etc/mxgraph/mxClient.js +++ b/etc/mxgraph/mxClient.js @@ -386,15 +386,15 @@ mxGuide.prototype.createGuideShape=function(a){a=new mxPolyline([],mxConstants.G mxGuide.prototype.move=function(a,b,c,d){if(null!=this.states&&(this.horizontal||this.vertical)&&null!=a&&null!=b){var e=function(b,c){b+=this.graph.panDy;var d=!1;Math.abs(b-E)<y?(l=b-a.getCenterY(),y=Math.abs(b-E),d=!0):Math.abs(b-B)<y?(l=b-a.y,y=Math.abs(b-B),d=!0):Math.abs(b-C)<y&&(l=b-a.y-a.height,y=Math.abs(b-C),d=!0);d&&(r=c,t=Math.round(b-this.graph.panDy),null==this.guideY&&(this.guideY=this.createGuideShape(!1),this.guideY.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_VML: mxConstants.DIALECT_SVG,this.guideY.pointerEvents=!1,this.guideY.init(this.graph.getView().getOverlayPane())));q=q||d},f=function(b,c){b+=this.graph.panDx;var d=!1;Math.abs(b-v)<x?(k=b-a.getCenterX(),x=Math.abs(b-v),d=!0):Math.abs(b-A)<x?(k=b-a.x,x=Math.abs(b-A),d=!0):Math.abs(b-z)<x&&(k=b-a.x-a.width,x=Math.abs(b-z),d=!0);d&&(n=c,p=Math.round(b-this.graph.panDx),null==this.guideX&&(this.guideX=this.createGuideShape(!0),this.guideX.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_VML: mxConstants.DIALECT_SVG,this.guideX.pointerEvents=!1,this.guideX.init(this.graph.getView().getOverlayPane())));m=m||d},g=this.graph.getView().translate;d=this.graph.getView().scale;var k=b.x,l=b.y,m=!1,n=null,p=null,q=!1,r=null,t=null,u=this.getGuideTolerance(),x=u,y=u,u=a.clone();u.x+=b.x;u.y+=b.y;var A=u.x,z=u.x+u.width,v=u.getCenterX(),B=u.y,C=u.y+u.height,E=u.getCenterY();for(b=0;b<this.states.length;b++)u=this.states[b],null==u||this.isStateIgnored(u)||(this.horizontal&&(f.call(this,u.getCenterX(), -u),f.call(this,u.x,u),f.call(this,u.x+u.width,u)),this.vertical&&(e.call(this,u.getCenterY(),u),e.call(this,u.y,u),e.call(this,u.y+u.height,u)));c&&(m||(c=a.x-(this.graph.snap(a.x/d-g.x)+g.x)*d,k=this.graph.snap(k/d)*d-c),q||(c=a.y-(this.graph.snap(a.y/d-g.y)+g.y)*d,l=this.graph.snap(l/d)*d-c));d=this.graph.container;m||null==this.guideX?null!=this.guideX&&(null!=n&&null!=a&&(minY=Math.min(a.y+l-this.graph.panDy,n.y),maxY=Math.max(a.y+a.height+l-this.graph.panDy,n.y+n.height)),this.guideX.points= -null!=minY&&null!=maxY?[new mxPoint(p,minY),new mxPoint(p,maxY)]:[new mxPoint(p,-this.graph.panDy),new mxPoint(p,d.scrollHeight-3-this.graph.panDy)],this.guideX.stroke=this.getGuideColor(n,!0),this.guideX.node.style.visibility="visible",this.guideX.redraw()):this.guideX.node.style.visibility="hidden";q||null==this.guideY?null!=this.guideY&&(null!=r&&null!=a&&(minX=Math.min(a.x+k-this.graph.panDx,r.x),maxX=Math.max(a.x+a.width+k-this.graph.panDx,r.x+r.width)),this.guideY.points=null!=minX&&null!=maxX? -[new mxPoint(minX,t),new mxPoint(maxX,t)]:[new mxPoint(-this.graph.panDx,t),new mxPoint(d.scrollWidth-3-this.graph.panDx,t)],this.guideY.stroke=this.getGuideColor(r,!1),this.guideY.node.style.visibility="visible",this.guideY.redraw()):this.guideY.node.style.visibility="hidden";b=this.getDelta(a,n,k,r,l)}return b}; -mxGuide.prototype.getDelta=function(a,b,c,d,e){if(this.rounded||null!=b&&null==b.cell)c=Math.floor(a.x+c)-a.x;if(this.rounded||null!=d&&null==d.cell)e=Math.floor(a.y+e)-a.y;return new mxPoint(c,e)};mxGuide.prototype.getGuideColor=function(a,b){return mxConstants.GUIDE_COLOR};mxGuide.prototype.hide=function(){this.setVisible(!1)}; -mxGuide.prototype.setVisible=function(a){null!=this.guideX&&(this.guideX.node.style.visibility=a?"visible":"hidden");null!=this.guideY&&(this.guideY.node.style.visibility=a?"visible":"hidden")};mxGuide.prototype.destroy=function(){null!=this.guideX&&(this.guideX.destroy(),this.guideX=null);null!=this.guideY&&(this.guideY.destroy(),this.guideY=null)};function mxShape(a){this.stencil=a;this.initStyles()}mxShape.prototype.dialect=null;mxShape.prototype.scale=1;mxShape.prototype.antiAlias=!0; -mxShape.prototype.minSvgStrokeWidth=1;mxShape.prototype.bounds=null;mxShape.prototype.points=null;mxShape.prototype.node=null;mxShape.prototype.state=null;mxShape.prototype.style=null;mxShape.prototype.boundingBox=null;mxShape.prototype.stencil=null;mxShape.prototype.svgStrokeTolerance=8;mxShape.prototype.pointerEvents=!0;mxShape.prototype.svgPointerEvents="all";mxShape.prototype.shapePointerEvents=!1;mxShape.prototype.stencilPointerEvents=!1;mxShape.prototype.vmlScale=1; -mxShape.prototype.outline=!1;mxShape.prototype.visible=!0;mxShape.prototype.useSvgBoundingBox=!1;mxShape.prototype.init=function(a){null==this.node&&(this.node=this.create(a),null!=a&&a.appendChild(this.node))};mxShape.prototype.initStyles=function(a){this.strokewidth=1;this.rotation=0;this.strokeOpacity=this.fillOpacity=this.opacity=100;this.flipV=this.flipH=!1};mxShape.prototype.isParseVml=function(){return!0};mxShape.prototype.isHtmlAllowed=function(){return!1}; -mxShape.prototype.getSvgScreenOffset=function(){return 1==mxUtils.mod(Math.max(1,Math.round((this.stencil&&"inherit"!=this.stencil.strokewidth?Number(this.stencil.strokewidth):this.strokewidth)*this.scale)),2)?.5:0};mxShape.prototype.create=function(a){return null!=a&&null!=a.ownerSVGElement?this.createSvg(a):8==document.documentMode||!mxClient.IS_VML||this.dialect!=mxConstants.DIALECT_VML&&this.isHtmlAllowed()?this.createHtml(a):this.createVml(a)}; -mxShape.prototype.createSvg=function(){return document.createElementNS(mxConstants.NS_SVG,"g")};mxShape.prototype.createVml=function(){var a=document.createElement(mxClient.VML_PREFIX+":group");a.style.position="absolute";return a};mxShape.prototype.createHtml=function(){var a=document.createElement("div");a.style.position="absolute";return a};mxShape.prototype.reconfigure=function(){this.redraw()}; +u),f.call(this,u.x,u),f.call(this,u.x+u.width,u)),this.vertical&&(e.call(this,u.getCenterY(),u),e.call(this,u.y,u),e.call(this,u.y+u.height,u)));c&&(m||(c=a.x-(this.graph.snap(a.x/d-g.x)+g.x)*d,k=this.graph.snap(k/d)*d-c),q||(c=a.y-(this.graph.snap(a.y/d-g.y)+g.y)*d,l=this.graph.snap(l/d)*d-c));d=this.graph.container;m||null==this.guideX?null!=this.guideX&&(g=c=null,null!=n&&null!=a&&(c=Math.min(a.y+l-this.graph.panDy,n.y),g=Math.max(a.y+a.height+l-this.graph.panDy,n.y+n.height)),this.guideX.points= +null!=c&&null!=g?[new mxPoint(p,c),new mxPoint(p,g)]:[new mxPoint(p,-this.graph.panDy),new mxPoint(p,d.scrollHeight-3-this.graph.panDy)],this.guideX.stroke=this.getGuideColor(n,!0),this.guideX.node.style.visibility="visible",this.guideX.redraw()):this.guideX.node.style.visibility="hidden";q||null==this.guideY?null!=this.guideY&&(g=c=null,null!=r&&null!=a&&(c=Math.min(a.x+k-this.graph.panDx,r.x),g=Math.max(a.x+a.width+k-this.graph.panDx,r.x+r.width)),this.guideY.points=null!=c&&null!=g?[new mxPoint(c, +t),new mxPoint(g,t)]:[new mxPoint(-this.graph.panDx,t),new mxPoint(d.scrollWidth-3-this.graph.panDx,t)],this.guideY.stroke=this.getGuideColor(r,!1),this.guideY.node.style.visibility="visible",this.guideY.redraw()):this.guideY.node.style.visibility="hidden";b=this.getDelta(a,n,k,r,l)}return b};mxGuide.prototype.getDelta=function(a,b,c,d,e){if(this.rounded||null!=b&&null==b.cell)c=Math.floor(a.x+c)-a.x;if(this.rounded||null!=d&&null==d.cell)e=Math.floor(a.y+e)-a.y;return new mxPoint(c,e)}; +mxGuide.prototype.getGuideColor=function(a,b){return mxConstants.GUIDE_COLOR};mxGuide.prototype.hide=function(){this.setVisible(!1)};mxGuide.prototype.setVisible=function(a){null!=this.guideX&&(this.guideX.node.style.visibility=a?"visible":"hidden");null!=this.guideY&&(this.guideY.node.style.visibility=a?"visible":"hidden")};mxGuide.prototype.destroy=function(){null!=this.guideX&&(this.guideX.destroy(),this.guideX=null);null!=this.guideY&&(this.guideY.destroy(),this.guideY=null)}; +function mxShape(a){this.stencil=a;this.initStyles()}mxShape.prototype.dialect=null;mxShape.prototype.scale=1;mxShape.prototype.antiAlias=!0;mxShape.prototype.minSvgStrokeWidth=1;mxShape.prototype.bounds=null;mxShape.prototype.points=null;mxShape.prototype.node=null;mxShape.prototype.state=null;mxShape.prototype.style=null;mxShape.prototype.boundingBox=null;mxShape.prototype.stencil=null;mxShape.prototype.svgStrokeTolerance=8;mxShape.prototype.pointerEvents=!0;mxShape.prototype.svgPointerEvents="all"; +mxShape.prototype.shapePointerEvents=!1;mxShape.prototype.stencilPointerEvents=!1;mxShape.prototype.vmlScale=1;mxShape.prototype.outline=!1;mxShape.prototype.visible=!0;mxShape.prototype.useSvgBoundingBox=!1;mxShape.prototype.init=function(a){null==this.node&&(this.node=this.create(a),null!=a&&a.appendChild(this.node))};mxShape.prototype.initStyles=function(a){this.strokewidth=1;this.rotation=0;this.strokeOpacity=this.fillOpacity=this.opacity=100;this.flipV=this.flipH=!1}; +mxShape.prototype.isParseVml=function(){return!0};mxShape.prototype.isHtmlAllowed=function(){return!1};mxShape.prototype.getSvgScreenOffset=function(){return 1==mxUtils.mod(Math.max(1,Math.round((this.stencil&&"inherit"!=this.stencil.strokewidth?Number(this.stencil.strokewidth):this.strokewidth)*this.scale)),2)?.5:0}; +mxShape.prototype.create=function(a){return null!=a&&null!=a.ownerSVGElement?this.createSvg(a):8==document.documentMode||!mxClient.IS_VML||this.dialect!=mxConstants.DIALECT_VML&&this.isHtmlAllowed()?this.createHtml(a):this.createVml(a)};mxShape.prototype.createSvg=function(){return document.createElementNS(mxConstants.NS_SVG,"g")};mxShape.prototype.createVml=function(){var a=document.createElement(mxClient.VML_PREFIX+":group");a.style.position="absolute";return a}; +mxShape.prototype.createHtml=function(){var a=document.createElement("div");a.style.position="absolute";return a};mxShape.prototype.reconfigure=function(){this.redraw()}; mxShape.prototype.redraw=function(){this.updateBoundsFromPoints();this.visible&&this.checkBounds()?(this.node.style.visibility="visible",this.clear(),"DIV"!=this.node.nodeName||!this.isHtmlAllowed()&&mxClient.IS_VML?this.redrawShape():this.redrawHtmlShape(),this.updateBoundingBox()):(this.node.style.visibility="hidden",this.boundingBox=null)}; mxShape.prototype.clear=function(){if(null!=this.node.ownerSVGElement)for(;null!=this.node.lastChild;)this.node.removeChild(this.node.lastChild);else this.node.style.cssText="position:absolute;"+(null!=this.cursor?"cursor:"+this.cursor+";":""),this.node.innerHTML=""}; mxShape.prototype.updateBoundsFromPoints=function(){var a=this.points;if(null!=a&&0<a.length&&null!=a[0]){this.bounds=new mxRectangle(Number(a[0].x),Number(a[0].y),1,1);for(var b=1;b<this.points.length;b++)null!=a[b]&&this.bounds.add(new mxRectangle(Number(a[b].x),Number(a[b].y),1,1))}}; @@ -472,10 +472,10 @@ function mxArrowConnector(a,b,c,d,e,f,g){mxShape.call(this);this.points=a;this.f mxArrowConnector.prototype.resetStyles=function(){mxShape.prototype.resetStyles.apply(this,arguments);this.arrowSpacing=mxConstants.ARROW_SPACING};mxArrowConnector.prototype.apply=function(a){mxShape.prototype.apply.apply(this,arguments);null!=this.style&&(this.startSize=3*mxUtils.getNumber(this.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5),this.endSize=3*mxUtils.getNumber(this.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5))}; mxArrowConnector.prototype.augmentBoundingBox=function(a){mxShape.prototype.augmentBoundingBox.apply(this,arguments);var b=this.getEdgeWidth();this.isMarkerStart()&&(b=Math.max(b,this.getStartArrowWidth()));this.isMarkerEnd()&&(b=Math.max(b,this.getEndArrowWidth()));a.grow((b/2+this.strokewidth)*this.scale)}; mxArrowConnector.prototype.paintEdgeShape=function(a,b){var c=this.strokewidth;this.outline&&(c=Math.max(1,mxUtils.getNumber(this.style,mxConstants.STYLE_STROKEWIDTH,this.strokewidth)));for(var d=this.getStartArrowWidth()+c,e=this.getEndArrowWidth()+c,f=this.outline?this.getEdgeWidth()+c:this.getEdgeWidth(),g=this.isOpenEnded(),k=this.isMarkerStart(),l=this.isMarkerEnd(),m=g?0:this.arrowSpacing+c/2,n=this.startSize+c,c=this.endSize+c,p=this.isArrowRounded(),q=b[b.length-1],r=1;r<b.length-1&&b[r].x== -b[0].x&&b[r].y==b[0].y;)r++;var t=b[r].x-b[0].x,r=b[r].y-b[0].y,u=Math.sqrt(t*t+r*r);if(0!=u){var x=t/u,y,A=x,z=r/u,v,B=z,u=f*z,C=-f*x,E=[];p?a.setLineJoin("round"):2<b.length&&a.setMiterLimit(1.42);a.begin();t=x;r=z;if(k&&!g)this.paintMarker(a,b[0].x,b[0].y,x,z,n,d,f,m,!0);else{y=b[0].x+u/2+m*x;v=b[0].y+C/2+m*z;var F=b[0].x-u/2+m*x,I=b[0].y-C/2+m*z;g?(a.moveTo(y,v),E.push(function(){a.lineTo(F,I)})):(a.moveTo(F,I),a.lineTo(y,v))}for(var D=v=y=0,u=0;u<b.length-2;u++)if(C=mxUtils.relativeCcw(b[u].x, -b[u].y,b[u+1].x,b[u+1].y,b[u+2].x,b[u+2].y),y=b[u+2].x-b[u+1].x,v=b[u+2].y-b[u+1].y,D=Math.sqrt(y*y+v*v),0!=D&&(A=y/D,B=v/D,tmp=Math.max(Math.sqrt((x*A+z*B+1)/2),.04),y=x+A,v=z+B,D=Math.sqrt(y*y+v*v),0!=D)){y/=D;v/=D;var D=Math.max(tmp,Math.min(this.strokewidth/200+.04,.35)),D=0!=C&&p?Math.max(.1,D):Math.max(tmp,.06),G=b[u+1].x+v*f/2/D,H=b[u+1].y-y*f/2/D;v=b[u+1].x-v*f/2/D;y=b[u+1].y+y*f/2/D;0!=C&&p?-1==C?(C=v+B*f,D=y-A*f,a.lineTo(v+z*f,y-x*f),a.quadTo(G,H,C,D),function(b,c){E.push(function(){a.lineTo(b, -c)})}(v,y)):(a.lineTo(G,H),function(b,c){var d=G-z*f,e=H+x*f,g=G-B*f,k=H+A*f;E.push(function(){a.quadTo(b,c,d,e)});E.push(function(){a.lineTo(g,k)})}(v,y)):(a.lineTo(G,H),function(b,c){E.push(function(){a.lineTo(b,c)})}(v,y));x=A;z=B}u=f*B;C=-f*A;if(l&&!g)this.paintMarker(a,q.x,q.y,-x,-z,c,e,f,m,!1);else{a.lineTo(q.x-m*A+u/2,q.y-m*B+C/2);var J=q.x-m*A-u/2,K=q.y-m*B-C/2;g?(a.moveTo(J,K),E.splice(0,0,function(){a.moveTo(J,K)})):a.lineTo(J,K)}for(u=E.length-1;0<=u;u--)E[u]();g?(a.end(),a.stroke()):(a.close(), -a.fillAndStroke());a.setShadow(!1);a.setMiterLimit(4);p&&a.setLineJoin("flat");2<b.length&&(a.setMiterLimit(4),k&&!g&&(a.begin(),this.paintMarker(a,b[0].x,b[0].y,t,r,n,d,f,m,!0),a.stroke(),a.end()),l&&!g&&(a.begin(),this.paintMarker(a,q.x,q.y,-x,-z,c,e,f,m,!0),a.stroke(),a.end()))}}; +b[0].x&&b[r].y==b[0].y;)r++;var t=b[r].x-b[0].x,r=b[r].y-b[0].y,u=Math.sqrt(t*t+r*r);if(0!=u){var x=t/u,y,A=x,z=r/u,v,B=z,u=f*z,C=-f*x,E=[];p?a.setLineJoin("round"):2<b.length&&a.setMiterLimit(1.42);a.begin();t=x;r=z;if(k&&!g)this.paintMarker(a,b[0].x,b[0].y,x,z,n,d,f,m,!0);else{y=b[0].x+u/2+m*x;v=b[0].y+C/2+m*z;var F=b[0].x-u/2+m*x,J=b[0].y-C/2+m*z;g?(a.moveTo(y,v),E.push(function(){a.lineTo(F,J)})):(a.moveTo(F,J),a.lineTo(y,v))}for(var D=v=y=0,u=0;u<b.length-2;u++)if(C=mxUtils.relativeCcw(b[u].x, +b[u].y,b[u+1].x,b[u+1].y,b[u+2].x,b[u+2].y),y=b[u+2].x-b[u+1].x,v=b[u+2].y-b[u+1].y,D=Math.sqrt(y*y+v*v),0!=D){A=y/D;B=v/D;D=Math.max(Math.sqrt((x*A+z*B+1)/2),.04);y=x+A;v=z+B;var G=Math.sqrt(y*y+v*v);if(0!=G){y/=G;v/=G;var G=Math.max(D,Math.min(this.strokewidth/200+.04,.35)),D=0!=C&&p?Math.max(.1,G):Math.max(D,.06),H=b[u+1].x+v*f/2/D,I=b[u+1].y-y*f/2/D;v=b[u+1].x-v*f/2/D;y=b[u+1].y+y*f/2/D;0!=C&&p?-1==C?(C=v+B*f,D=y-A*f,a.lineTo(v+z*f,y-x*f),a.quadTo(H,I,C,D),function(b,c){E.push(function(){a.lineTo(b, +c)})}(v,y)):(a.lineTo(H,I),function(b,c){var d=H-z*f,e=I+x*f,g=H-B*f,k=I+A*f;E.push(function(){a.quadTo(b,c,d,e)});E.push(function(){a.lineTo(g,k)})}(v,y)):(a.lineTo(H,I),function(b,c){E.push(function(){a.lineTo(b,c)})}(v,y));x=A;z=B}}u=f*B;C=-f*A;if(l&&!g)this.paintMarker(a,q.x,q.y,-x,-z,c,e,f,m,!1);else{a.lineTo(q.x-m*A+u/2,q.y-m*B+C/2);var K=q.x-m*A-u/2,L=q.y-m*B-C/2;g?(a.moveTo(K,L),E.splice(0,0,function(){a.moveTo(K,L)})):a.lineTo(K,L)}for(u=E.length-1;0<=u;u--)E[u]();g?(a.end(),a.stroke()): +(a.close(),a.fillAndStroke());a.setShadow(!1);a.setMiterLimit(4);p&&a.setLineJoin("flat");2<b.length&&(a.setMiterLimit(4),k&&!g&&(a.begin(),this.paintMarker(a,b[0].x,b[0].y,t,r,n,d,f,m,!0),a.stroke(),a.end()),l&&!g&&(a.begin(),this.paintMarker(a,q.x,q.y,-x,-z,c,e,f,m,!0),a.stroke(),a.end()))}}; mxArrowConnector.prototype.paintMarker=function(a,b,c,d,e,f,g,k,l,m){g=k/g;var n=k*e/2;k=-k*d/2;var p=(l+f)*d;f=(l+f)*e;m?a.moveTo(b-n+p,c-k+f):a.lineTo(b-n+p,c-k+f);a.lineTo(b-n/g+p,c-k/g+f);a.lineTo(b+l*d,c+l*e);a.lineTo(b+n/g+p,c+k/g+f);a.lineTo(b+n+p,c+k+f)};mxArrowConnector.prototype.isArrowRounded=function(){return this.isRounded};mxArrowConnector.prototype.getStartArrowWidth=function(){return mxConstants.ARROW_WIDTH};mxArrowConnector.prototype.getEndArrowWidth=function(){return mxConstants.ARROW_WIDTH}; mxArrowConnector.prototype.getEdgeWidth=function(){return mxConstants.ARROW_WIDTH/3};mxArrowConnector.prototype.isOpenEnded=function(){return!1};mxArrowConnector.prototype.isMarkerStart=function(){return mxUtils.getValue(this.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants.NONE};mxArrowConnector.prototype.isMarkerEnd=function(){return mxUtils.getValue(this.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE}; function mxText(a,b,c,d,e,f,g,k,l,m,n,p,q,r,t,u,x,y,A,z,v){mxShape.call(this);this.value=a;this.bounds=b;this.color=null!=e?e:"black";this.align=null!=c?c:mxConstants.ALIGN_CENTER;this.valign=null!=d?d:mxConstants.ALIGN_MIDDLE;this.family=null!=f?f:mxConstants.DEFAULT_FONTFAMILY;this.size=null!=g?g:mxConstants.DEFAULT_FONTSIZE;this.fontStyle=null!=k?k:mxConstants.DEFAULT_FONTSTYLE;this.spacing=parseInt(l||2);this.spacingTop=this.spacing+parseInt(m||0);this.spacingRight=this.spacing+parseInt(n||0); @@ -841,7 +841,7 @@ k.writeln(l);mxClient.IS_VML?k.writeln('<html xmlns:v="urn:schemas-microsoft-com q.y*this.scale,m.width+=m.x,m.height+=m.y,m.x=0,this.border=m.y=0);var r=this.pageFormat.width-2*this.border,t=this.pageFormat.height-2*this.border;this.pageFormat.height+=this.marginTop+this.marginBottom;m.width/=p;m.height/=p;var u=Math.max(1,Math.ceil((m.width+this.x0)/r)),x=Math.max(1,Math.ceil((m.height+this.y0)/t));this.pageCount=u*x;var y=mxUtils.bind(this,function(){if(this.pageSelector&&(1<x||1<u)){var a=this.createPageSelector(x,u);k.body.appendChild(a);if(mxClient.IS_IE&&null==k.documentMode|| 5==k.documentMode||8==k.documentMode||7==k.documentMode){a.style.position="absolute";var b=function(){a.style.top=(k.body.scrollTop||k.documentElement.scrollTop)+10+"px"};mxEvent.addListener(this.wnd,"scroll",function(a){b()});mxEvent.addListener(this.wnd,"resize",function(a){b()})}}}),A=mxUtils.bind(this,function(a,b){null!=this.borderColor&&(a.style.borderColor=this.borderColor,a.style.borderStyle="solid",a.style.borderWidth="1px");a.style.background=this.backgroundColor;if(c||b)a.style.pageBreakAfter= "always";if(g&&(mxClient.IS_IE||11<=document.documentMode||mxClient.IS_EDGE))k.writeln(a.outerHTML),a.parentNode.removeChild(a);else if(mxClient.IS_IE||11<=document.documentMode||mxClient.IS_EDGE){var d=k.createElement("div");d.innerHTML=a.outerHTML;d=d.getElementsByTagName("div")[0];k.body.appendChild(d);a.parentNode.removeChild(a)}else a.parentNode.removeChild(a),k.body.appendChild(a);(c||b)&&this.addPageBreak(k)}),z=this.getCoverPages(this.pageFormat.width,this.pageFormat.height);if(null!=z)for(var v= -0;v<z.length;v++)A(z[v],!0);for(var B=this.getAppendices(this.pageFormat.width,this.pageFormat.height),v=0;v<x;v++){var C=v*t/this.scale-this.y0/this.scale+(m.y-q.y*n)/n;for(a=0;a<u;a++){if(null==this.wnd)return null;var E=a*r/this.scale-this.x0/this.scale+(m.x-q.x*n)/n,F=v*u+a+1,I=new mxRectangle(E,C,r,t),f=this.renderPage(this.pageFormat.width,this.pageFormat.height,0,0,mxUtils.bind(this,function(a){this.addGraphFragment(-E,-C,this.scale,F,a,I);this.printBackgroundImage&&this.insertBackgroundImage(a, +0;v<z.length;v++)A(z[v],!0);for(var B=this.getAppendices(this.pageFormat.width,this.pageFormat.height),v=0;v<x;v++){var C=v*t/this.scale-this.y0/this.scale+(m.y-q.y*n)/n;for(a=0;a<u;a++){if(null==this.wnd)return null;var E=a*r/this.scale-this.x0/this.scale+(m.x-q.x*n)/n,F=v*u+a+1,J=new mxRectangle(E,C,r,t),f=this.renderPage(this.pageFormat.width,this.pageFormat.height,0,0,mxUtils.bind(this,function(a){this.addGraphFragment(-E,-C,this.scale,F,a,J);this.printBackgroundImage&&this.insertBackgroundImage(a, -E,-C)}),F);f.setAttribute("id","mxPage-"+F);A(f,null!=B||v<x-1||a<u-1)}}if(null!=B)for(v=0;v<B.length;v++)A(B[v],v<B.length-1);g&&!d&&(this.closeDocument(),y());this.wnd.focus()}catch(D){null!=f&&null!=f.parentNode&&f.parentNode.removeChild(f)}finally{this.graph.cellRenderer.initializeOverlay=e}return this.wnd};mxPrintPreview.prototype.addPageBreak=function(a){var b=a.createElement("hr");b.className="mxPageBreak";a.body.appendChild(b)}; mxPrintPreview.prototype.closeDocument=function(){try{if(null!=this.wnd&&null!=this.wnd.document){var a=this.wnd.document;this.writePostfix(a);a.writeln("</body>");a.writeln("</html>");a.close();mxEvent.release(a.body)}}catch(b){}}; mxPrintPreview.prototype.writeHead=function(a,b){null!=this.title&&a.writeln("<title>"+this.title+"</title>");mxClient.IS_VML&&a.writeln('<style type="text/css">v\\:*{behavior:url(#default#VML)}o\\:*{behavior:url(#default#VML)}</style>');mxClient.link("stylesheet",mxClient.basePath+"/css/common.css",a);a.writeln('<style type="text/css">');a.writeln("@media print {");a.writeln(" * { -webkit-print-color-adjust: exact; }");a.writeln(" table.mxPageSelector { display: none; }");a.writeln(" hr.mxPageBreak { display: none; }"); @@ -852,11 +852,11 @@ mxPrintPreview.prototype.renderPage=function(a,b,c,d,e,f){f=this.wnd.document;va "relative";m.style.marginLeft=c+"px";m.style.marginTop=d+"px";8==f.documentMode&&(l.style.position="absolute",m.style.position="absolute");10==f.documentMode&&(m.style.width="100%",m.style.height="100%");l.appendChild(m);g.appendChild(l);document.body.appendChild(g);k=m}else g.style.width=a+"px",g.style.height=b+"px",g.style.overflow="hidden",g.style.pageBreakInside="avoid",8==f.documentMode&&(g.style.position="relative"),l=document.createElement("div"),l.style.width=a-2*this.border+"px",l.style.height= b-2*this.border+"px",l.style.overflow="hidden",!mxClient.IS_IE||null!=f.documentMode&&5!=f.documentMode&&8!=f.documentMode&&7!=f.documentMode?(l.style.top=this.border+"px",l.style.left=this.border+"px"):(l.style.marginTop=this.border+"px",l.style.marginLeft=this.border+"px"),this.graph.dialect==mxConstants.DIALECT_VML&&(l.style.position="absolute"),g.appendChild(l),document.body.appendChild(g),k=l}catch(n){throw g.parentNode.removeChild(g),n;}e(k);return g}; mxPrintPreview.prototype.getRoot=function(){var a=this.graph.view.currentRoot;null==a&&(a=this.graph.getModel().getRoot());return a}; -mxPrintPreview.prototype.addGraphFragment=function(a,b,c,d,e,f){var g=this.graph.getView();d=this.graph.container;this.graph.container=e;var k=g.getCanvas(),l=g.getBackgroundPane(),m=g.getDrawPane(),n=g.getOverlayPane();if(this.graph.dialect==mxConstants.DIALECT_SVG){if(g.createSvg(),!mxClient.NO_FO){var p=g.getDrawPane().parentNode;p.getAttribute("transform");p.setAttribute("transformOrigin","0 0");p.setAttribute("transform","scale("+c+","+c+")translate("+a+","+b+")");c=1;b=a=0}}else this.graph.dialect== -mxConstants.DIALECT_VML?g.createVml():g.createHtml();p=g.isEventsEnabled();g.setEventsEnabled(!1);var q=this.graph.isEnabled();this.graph.setEnabled(!1);var r=g.getTranslate();g.translate=new mxPoint(a,b);var t=this.graph.cellRenderer.redraw,u=g.states;a=g.scale;if(this.clipping){var x=new mxRectangle((f.x+r.x)*a,(f.y+r.y)*a,f.width*a/c,f.height*a/c);this.graph.cellRenderer.redraw=function(a,b,c){if(null!=a){var d=u.get(a.cell);null!=d&&(d=g.getBoundingBox(d,!1),null==d||mxUtils.intersects(x,d))}t.apply(this, -arguments)}}a=null;try{var y=[this.getRoot()];a=new mxTemporaryCellStates(g,c,y,null,mxUtils.bind(this,function(a){return this.getLinkForCellState(a)}))}finally{if(mxClient.IS_IE)g.overlayPane.innerHTML="",g.canvas.style.overflow="hidden",g.canvas.style.position="relative",g.canvas.style.top=this.marginTop+"px",g.canvas.style.width=f.width+"px",g.canvas.style.height=f.height+"px";else for(c=e.firstChild;null!=c;)y=c.nextSibling,b=c.nodeName.toLowerCase(),"svg"==b?(c.style.overflow="hidden",c.style.position= -"relative",c.style.top=this.marginTop+"px",c.setAttribute("width",f.width),c.setAttribute("height",f.height),c.style.width="",c.style.height=""):"default"!=c.style.cursor&&"div"!=b&&c.parentNode.removeChild(c),c=y;this.printBackgroundImage&&(e=e.getElementsByTagName("svg"),0<e.length&&(e[0].style.position="absolute"));g.overlayPane.parentNode.removeChild(g.overlayPane);this.graph.setEnabled(q);this.graph.container=d;this.graph.cellRenderer.redraw=t;g.canvas=k;g.backgroundPane=l;g.drawPane=m;g.overlayPane= -n;g.translate=r;a.destroy();g.setEventsEnabled(p)}};mxPrintPreview.prototype.getLinkForCellState=function(a){return this.graph.getLinkForCell(a.cell)}; +mxPrintPreview.prototype.addGraphFragment=function(a,b,c,d,e,f){var g=this.graph.getView();d=this.graph.container;this.graph.container=e;var k=g.getCanvas(),l=g.getBackgroundPane(),m=g.getDrawPane(),n=g.getOverlayPane(),p=c;if(this.graph.dialect==mxConstants.DIALECT_SVG){if(g.createSvg(),!mxClient.NO_FO){var q=g.getDrawPane().parentNode;q.getAttribute("transform");q.setAttribute("transformOrigin","0 0");q.setAttribute("transform","scale("+c+","+c+")translate("+a+","+b+")");c=1;b=a=0}}else this.graph.dialect== +mxConstants.DIALECT_VML?g.createVml():g.createHtml();q=g.isEventsEnabled();g.setEventsEnabled(!1);var r=this.graph.isEnabled();this.graph.setEnabled(!1);var t=g.getTranslate();g.translate=new mxPoint(a,b);var u=this.graph.cellRenderer.redraw,x=g.states;a=g.scale;if(this.clipping){var y=new mxRectangle((f.x+t.x)*a,(f.y+t.y)*a,f.width*a/p,f.height*a/p);this.graph.cellRenderer.redraw=function(a,b,c){if(null!=a){var d=x.get(a.cell);if(null!=d&&(d=g.getBoundingBox(d,!1),null!=d&&!mxUtils.intersects(y, +d)))return}u.apply(this,arguments)}}a=null;try{var A=[this.getRoot()];a=new mxTemporaryCellStates(g,c,A,null,mxUtils.bind(this,function(a){return this.getLinkForCellState(a)}))}finally{if(mxClient.IS_IE)g.overlayPane.innerHTML="",g.canvas.style.overflow="hidden",g.canvas.style.position="relative",g.canvas.style.top=this.marginTop+"px",g.canvas.style.width=f.width+"px",g.canvas.style.height=f.height+"px";else for(c=e.firstChild;null!=c;)A=c.nextSibling,b=c.nodeName.toLowerCase(),"svg"==b?(c.style.overflow= +"hidden",c.style.position="relative",c.style.top=this.marginTop+"px",c.setAttribute("width",f.width),c.setAttribute("height",f.height),c.style.width="",c.style.height=""):"default"!=c.style.cursor&&"div"!=b&&c.parentNode.removeChild(c),c=A;this.printBackgroundImage&&(e=e.getElementsByTagName("svg"),0<e.length&&(e[0].style.position="absolute"));g.overlayPane.parentNode.removeChild(g.overlayPane);this.graph.setEnabled(r);this.graph.container=d;this.graph.cellRenderer.redraw=u;g.canvas=k;g.backgroundPane= +l;g.drawPane=m;g.overlayPane=n;g.translate=t;a.destroy();g.setEventsEnabled(q)}};mxPrintPreview.prototype.getLinkForCellState=function(a){return this.graph.getLinkForCell(a.cell)}; mxPrintPreview.prototype.insertBackgroundImage=function(a,b,c){var d=this.graph.backgroundImage;if(null!=d){var e=document.createElement("img");e.style.position="absolute";e.style.marginLeft=Math.round(b*this.scale)+"px";e.style.marginTop=Math.round(c*this.scale)+"px";e.setAttribute("width",Math.round(this.scale*d.width));e.setAttribute("height",Math.round(this.scale*d.height));e.src=d.src;a.insertBefore(e,a.firstChild)}};mxPrintPreview.prototype.getCoverPages=function(){return null}; mxPrintPreview.prototype.getAppendices=function(){return null};mxPrintPreview.prototype.print=function(a){a=this.open(a);null!=a&&a.print()};mxPrintPreview.prototype.close=function(){null!=this.wnd&&(this.wnd.close(),this.wnd=null)};function mxStylesheet(){this.styles={};this.putDefaultVertexStyle(this.createDefaultVertexStyle());this.putDefaultEdgeStyle(this.createDefaultEdgeStyle())} mxStylesheet.prototype.createDefaultVertexStyle=function(){var a={};a[mxConstants.STYLE_SHAPE]=mxConstants.SHAPE_RECTANGLE;a[mxConstants.STYLE_PERIMETER]=mxPerimeter.RectanglePerimeter;a[mxConstants.STYLE_VERTICAL_ALIGN]=mxConstants.ALIGN_MIDDLE;a[mxConstants.STYLE_ALIGN]=mxConstants.ALIGN_CENTER;a[mxConstants.STYLE_FILLCOLOR]="#C3D9FF";a[mxConstants.STYLE_STROKECOLOR]="#6482B9";a[mxConstants.STYLE_FONTCOLOR]="#774400";return a}; @@ -951,8 +951,8 @@ mxCellRenderer.prototype.getLabelBounds=function(a){var b=a.view.graph,c=a.view. mxConstants.NONE),b!=mxConstants.NONE&&""!=b&&(f=parseFloat(mxUtils.getValue(a.style,mxConstants.STYLE_STROKEWIDTH,1))*c,b=1+Math.floor((f-1)/2),f=Math.floor(f+1),e.x+=b,e.y+=b,e.width-=f,e.height-=f);a.text.isPaintBoundsInverted()&&(b=(a.width-a.height)/2,e.x+=b,e.y-=b,b=e.width,e.width=e.height,e.height=b);null!=a.shape&&(b=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),f=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE), b==mxConstants.ALIGN_CENTER&&f==mxConstants.ALIGN_MIDDLE&&(e=a.shape.getLabelBounds(e)));b=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_WIDTH,null);null!=b&&(e.width=parseFloat(b)*c);d||this.rotateLabelBounds(a,e);return e}; mxCellRenderer.prototype.rotateLabelBounds=function(a,b){b.y-=a.text.margin.y*b.height;b.x-=a.text.margin.x*b.width;if(!this.legacySpacing||"fill"!=a.style[mxConstants.STYLE_OVERFLOW]&&"width"!=a.style[mxConstants.STYLE_OVERFLOW]){var c=a.view.scale,d=a.text.getSpacing();b.x+=d.x*c;b.y+=d.y*c;var d=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),e=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),f=mxUtils.getValue(a.style, -mxConstants.STYLE_LABEL_WIDTH,null);b.width=Math.max(0,b.width-(d==mxConstants.ALIGN_CENTER&&null==f?a.text.spacingLeft*c+a.text.spacingRight*c:0));b.height=Math.max(0,b.height-(e==mxConstants.ALIGN_MIDDLE?a.text.spacingTop*c+a.text.spacingBottom*c:0))}e=a.text.getTextRotation();0!=e&&null!=a&&a.view.graph.model.isVertex(a.cell)&&(c=a.getCenterX(),d=a.getCenterY(),b.x!=c||b.y!=d)&&(e*=Math.PI/180,pt=mxUtils.getRotatedPoint(new mxPoint(b.x,b.y),Math.cos(e),Math.sin(e),new mxPoint(c,d)),b.x=pt.x,b.y= -pt.y)}; +mxConstants.STYLE_LABEL_WIDTH,null);b.width=Math.max(0,b.width-(d==mxConstants.ALIGN_CENTER&&null==f?a.text.spacingLeft*c+a.text.spacingRight*c:0));b.height=Math.max(0,b.height-(e==mxConstants.ALIGN_MIDDLE?a.text.spacingTop*c+a.text.spacingBottom*c:0))}e=a.text.getTextRotation();0!=e&&null!=a&&a.view.graph.model.isVertex(a.cell)&&(c=a.getCenterX(),d=a.getCenterY(),b.x!=c||b.y!=d)&&(e*=Math.PI/180,c=mxUtils.getRotatedPoint(new mxPoint(b.x,b.y),Math.cos(e),Math.sin(e),new mxPoint(c,d)),b.x=c.x,b.y= +c.y)}; mxCellRenderer.prototype.redrawCellOverlays=function(a,b){this.createCellOverlays(a);if(null!=a.overlays){var c=mxUtils.mod(mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,0),90),d=mxUtils.toRadians(c),e=Math.cos(d),f=Math.sin(d);a.overlays.visit(function(d,k){var g=k.overlay.getBounds(a);if(!a.view.graph.getModel().isEdge(a.cell)&&null!=a.shape&&0!=c){var m=g.getCenterX(),n=g.getCenterY(),n=mxUtils.getRotatedPoint(new mxPoint(m,n),e,f,new mxPoint(a.getCenterX(),a.getCenterY())),m=n.x,n=n.y;g.x= Math.round(m-g.width/2);g.y=Math.round(n-g.height/2)}if(b||null==k.bounds||k.scale!=a.view.scale||!k.bounds.equals(g))k.bounds=g,k.scale=a.view.scale,k.redraw()})}}; mxCellRenderer.prototype.redrawControl=function(a,b){var c=a.view.graph.getFoldingImage(a);if(null!=a.control&&null!=c){var c=this.getControlBounds(a,c.width,c.height),d=this.legacyControlPosition?mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,0):a.shape.getTextRotation(),e=a.view.scale;if(b||a.control.scale!=e||!a.control.bounds.equals(c)||a.control.rotation!=d)a.control.rotation=d,a.control.bounds=c,a.control.scale=e,a.control.redraw()}}; diff --git a/src/main/webapp/cache.manifest b/src/main/webapp/cache.manifest index c60ec76da773b36eb0d26aff372b59de5998fa7e..997601b4ad6d12e47d644ff28353ca8bfc9383aa 100644 --- a/src/main/webapp/cache.manifest +++ b/src/main/webapp/cache.manifest @@ -1,7 +1,7 @@ CACHE MANIFEST # THIS FILE WAS GENERATED. DO NOT MODIFY! -# 11/06/2019 04:59 PM +# 11/08/2019 10:17 AM app.html index.html?offline=1 diff --git a/src/main/webapp/export3.html b/src/main/webapp/export3.html index 6fe3e891b47aab23135393571be54e0302e8ba63..b0abaf3f5aad78cdbf3c6667cfd670e3d88017b6 100644 --- a/src/main/webapp/export3.html +++ b/src/main/webapp/export3.html @@ -230,6 +230,51 @@ { window.MathJax.Hub.Queue(function () { + // Wraps all text labels in SVG foreignObjects to avoid + // Chrome changing offset for textboxes near page border + var pages = document.querySelectorAll('[id^=mxPage]'); + + for (var i = 0; i < pages.length; i++) + { + var page = pages[i]; + var svg = page.getElementsByTagName('svg')[0]; + var divs = page.getElementsByTagName('div'); + var snap = []; + + for (var j = 0; j < divs.length; j++) + { + if (divs[j].parentNode == svg.parentNode) + { + snap.push(divs[j]); + } + } + + var top = svg.parentNode.getBoundingClientRect(); + + for (var j = 0; j < snap.length; j++) + { + if (snap[j].parentNode == svg.parentNode) + { + var fo = svg.ownerDocument.createElementNS(mxConstants.NS_SVG, 'foreignObject'); + var rect = snap[j].getBoundingClientRect(); + + // Sets position on foreignObject + fo.setAttribute('x', rect.x); + fo.setAttribute('y', rect.y - top.y); + fo.setAttribute('width', rect.width); + fo.setAttribute('height', rect.height); + + // Resets position on inner DIV + snap[j].style.top = '0px'; + snap[j].style.left = '0px'; + snap[j].style.transform = ''; + + fo.appendChild(snap[j]); + svg.appendChild(fo); + } + } + } + decrementWaitCounter(); }); }, 0); diff --git a/src/main/webapp/index.html b/src/main/webapp/index.html index 3a849a045b3fee47e1243db8d067f2e573fe2a06..91493a51c85c87b329dae79ab31e29f5b12ead90 100644 --- a/src/main/webapp/index.html +++ b/src/main/webapp/index.html @@ -18,7 +18,7 @@ <meta name="theme-color" content="#d89000"> <script type="text/javascript"> var mxIsElectron = window && window.process && window.process.type; - var mxIsElectron5 = mxIsElectron && parseInt(window.process.versions.electron) >= 5; + var mxIsElectron5 = mxIsElectron && parseInt(process.versions.electron) >= 5; var hostName = window.location.hostname; // Supported domains are *.draw.io that draw.io host, or the packaged version in Quip var supportedDomain = (hostName.substring(hostName.length - 8, hostName.length) === '.draw.io') || diff --git a/src/main/webapp/js/app.min.js b/src/main/webapp/js/app.min.js index 1a77b1523eecc13512d40b2ba8dd5a7697508e83..4d8db43746a7779a44be155a1355260e42308c84 100644 --- a/src/main/webapp/js/app.min.js +++ b/src/main/webapp/js/app.min.js @@ -528,15 +528,15 @@ mxGuide.prototype.createGuideShape=function(a){a=new mxPolyline([],mxConstants.G mxGuide.prototype.move=function(a,b,c,d){if(null!=this.states&&(this.horizontal||this.vertical)&&null!=a&&null!=b){var e=function(b,c){b+=this.graph.panDy;var d=!1;Math.abs(b-E)<y?(l=b-a.getCenterY(),y=Math.abs(b-E),d=!0):Math.abs(b-B)<y?(l=b-a.y,y=Math.abs(b-B),d=!0):Math.abs(b-C)<y&&(l=b-a.y-a.height,y=Math.abs(b-C),d=!0);d&&(r=c,t=Math.round(b-this.graph.panDy),null==this.guideY&&(this.guideY=this.createGuideShape(!1),this.guideY.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_VML: mxConstants.DIALECT_SVG,this.guideY.pointerEvents=!1,this.guideY.init(this.graph.getView().getOverlayPane())));q=q||d},f=function(b,c){b+=this.graph.panDx;var d=!1;Math.abs(b-v)<x?(k=b-a.getCenterX(),x=Math.abs(b-v),d=!0):Math.abs(b-A)<x?(k=b-a.x,x=Math.abs(b-A),d=!0):Math.abs(b-z)<x&&(k=b-a.x-a.width,x=Math.abs(b-z),d=!0);d&&(n=c,p=Math.round(b-this.graph.panDx),null==this.guideX&&(this.guideX=this.createGuideShape(!0),this.guideX.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_VML: mxConstants.DIALECT_SVG,this.guideX.pointerEvents=!1,this.guideX.init(this.graph.getView().getOverlayPane())));m=m||d},g=this.graph.getView().translate;d=this.graph.getView().scale;var k=b.x,l=b.y,m=!1,n=null,p=null,q=!1,r=null,t=null,u=this.getGuideTolerance(),x=u,y=u,u=a.clone();u.x+=b.x;u.y+=b.y;var A=u.x,z=u.x+u.width,v=u.getCenterX(),B=u.y,C=u.y+u.height,E=u.getCenterY();for(b=0;b<this.states.length;b++)u=this.states[b],null==u||this.isStateIgnored(u)||(this.horizontal&&(f.call(this,u.getCenterX(), -u),f.call(this,u.x,u),f.call(this,u.x+u.width,u)),this.vertical&&(e.call(this,u.getCenterY(),u),e.call(this,u.y,u),e.call(this,u.y+u.height,u)));c&&(m||(c=a.x-(this.graph.snap(a.x/d-g.x)+g.x)*d,k=this.graph.snap(k/d)*d-c),q||(c=a.y-(this.graph.snap(a.y/d-g.y)+g.y)*d,l=this.graph.snap(l/d)*d-c));d=this.graph.container;m||null==this.guideX?null!=this.guideX&&(null!=n&&null!=a&&(minY=Math.min(a.y+l-this.graph.panDy,n.y),maxY=Math.max(a.y+a.height+l-this.graph.panDy,n.y+n.height)),this.guideX.points= -null!=minY&&null!=maxY?[new mxPoint(p,minY),new mxPoint(p,maxY)]:[new mxPoint(p,-this.graph.panDy),new mxPoint(p,d.scrollHeight-3-this.graph.panDy)],this.guideX.stroke=this.getGuideColor(n,!0),this.guideX.node.style.visibility="visible",this.guideX.redraw()):this.guideX.node.style.visibility="hidden";q||null==this.guideY?null!=this.guideY&&(null!=r&&null!=a&&(minX=Math.min(a.x+k-this.graph.panDx,r.x),maxX=Math.max(a.x+a.width+k-this.graph.panDx,r.x+r.width)),this.guideY.points=null!=minX&&null!=maxX? -[new mxPoint(minX,t),new mxPoint(maxX,t)]:[new mxPoint(-this.graph.panDx,t),new mxPoint(d.scrollWidth-3-this.graph.panDx,t)],this.guideY.stroke=this.getGuideColor(r,!1),this.guideY.node.style.visibility="visible",this.guideY.redraw()):this.guideY.node.style.visibility="hidden";b=this.getDelta(a,n,k,r,l)}return b}; -mxGuide.prototype.getDelta=function(a,b,c,d,e){if(this.rounded||null!=b&&null==b.cell)c=Math.floor(a.x+c)-a.x;if(this.rounded||null!=d&&null==d.cell)e=Math.floor(a.y+e)-a.y;return new mxPoint(c,e)};mxGuide.prototype.getGuideColor=function(a,b){return mxConstants.GUIDE_COLOR};mxGuide.prototype.hide=function(){this.setVisible(!1)}; -mxGuide.prototype.setVisible=function(a){null!=this.guideX&&(this.guideX.node.style.visibility=a?"visible":"hidden");null!=this.guideY&&(this.guideY.node.style.visibility=a?"visible":"hidden")};mxGuide.prototype.destroy=function(){null!=this.guideX&&(this.guideX.destroy(),this.guideX=null);null!=this.guideY&&(this.guideY.destroy(),this.guideY=null)};function mxShape(a){this.stencil=a;this.initStyles()}mxShape.prototype.dialect=null;mxShape.prototype.scale=1;mxShape.prototype.antiAlias=!0; -mxShape.prototype.minSvgStrokeWidth=1;mxShape.prototype.bounds=null;mxShape.prototype.points=null;mxShape.prototype.node=null;mxShape.prototype.state=null;mxShape.prototype.style=null;mxShape.prototype.boundingBox=null;mxShape.prototype.stencil=null;mxShape.prototype.svgStrokeTolerance=8;mxShape.prototype.pointerEvents=!0;mxShape.prototype.svgPointerEvents="all";mxShape.prototype.shapePointerEvents=!1;mxShape.prototype.stencilPointerEvents=!1;mxShape.prototype.vmlScale=1; -mxShape.prototype.outline=!1;mxShape.prototype.visible=!0;mxShape.prototype.useSvgBoundingBox=!1;mxShape.prototype.init=function(a){null==this.node&&(this.node=this.create(a),null!=a&&a.appendChild(this.node))};mxShape.prototype.initStyles=function(a){this.strokewidth=1;this.rotation=0;this.strokeOpacity=this.fillOpacity=this.opacity=100;this.flipV=this.flipH=!1};mxShape.prototype.isParseVml=function(){return!0};mxShape.prototype.isHtmlAllowed=function(){return!1}; -mxShape.prototype.getSvgScreenOffset=function(){return 1==mxUtils.mod(Math.max(1,Math.round((this.stencil&&"inherit"!=this.stencil.strokewidth?Number(this.stencil.strokewidth):this.strokewidth)*this.scale)),2)?.5:0};mxShape.prototype.create=function(a){return null!=a&&null!=a.ownerSVGElement?this.createSvg(a):8==document.documentMode||!mxClient.IS_VML||this.dialect!=mxConstants.DIALECT_VML&&this.isHtmlAllowed()?this.createHtml(a):this.createVml(a)}; -mxShape.prototype.createSvg=function(){return document.createElementNS(mxConstants.NS_SVG,"g")};mxShape.prototype.createVml=function(){var a=document.createElement(mxClient.VML_PREFIX+":group");a.style.position="absolute";return a};mxShape.prototype.createHtml=function(){var a=document.createElement("div");a.style.position="absolute";return a};mxShape.prototype.reconfigure=function(){this.redraw()}; +u),f.call(this,u.x,u),f.call(this,u.x+u.width,u)),this.vertical&&(e.call(this,u.getCenterY(),u),e.call(this,u.y,u),e.call(this,u.y+u.height,u)));c&&(m||(c=a.x-(this.graph.snap(a.x/d-g.x)+g.x)*d,k=this.graph.snap(k/d)*d-c),q||(c=a.y-(this.graph.snap(a.y/d-g.y)+g.y)*d,l=this.graph.snap(l/d)*d-c));d=this.graph.container;m||null==this.guideX?null!=this.guideX&&(g=c=null,null!=n&&null!=a&&(c=Math.min(a.y+l-this.graph.panDy,n.y),g=Math.max(a.y+a.height+l-this.graph.panDy,n.y+n.height)),this.guideX.points= +null!=c&&null!=g?[new mxPoint(p,c),new mxPoint(p,g)]:[new mxPoint(p,-this.graph.panDy),new mxPoint(p,d.scrollHeight-3-this.graph.panDy)],this.guideX.stroke=this.getGuideColor(n,!0),this.guideX.node.style.visibility="visible",this.guideX.redraw()):this.guideX.node.style.visibility="hidden";q||null==this.guideY?null!=this.guideY&&(g=c=null,null!=r&&null!=a&&(c=Math.min(a.x+k-this.graph.panDx,r.x),g=Math.max(a.x+a.width+k-this.graph.panDx,r.x+r.width)),this.guideY.points=null!=c&&null!=g?[new mxPoint(c, +t),new mxPoint(g,t)]:[new mxPoint(-this.graph.panDx,t),new mxPoint(d.scrollWidth-3-this.graph.panDx,t)],this.guideY.stroke=this.getGuideColor(r,!1),this.guideY.node.style.visibility="visible",this.guideY.redraw()):this.guideY.node.style.visibility="hidden";b=this.getDelta(a,n,k,r,l)}return b};mxGuide.prototype.getDelta=function(a,b,c,d,e){if(this.rounded||null!=b&&null==b.cell)c=Math.floor(a.x+c)-a.x;if(this.rounded||null!=d&&null==d.cell)e=Math.floor(a.y+e)-a.y;return new mxPoint(c,e)}; +mxGuide.prototype.getGuideColor=function(a,b){return mxConstants.GUIDE_COLOR};mxGuide.prototype.hide=function(){this.setVisible(!1)};mxGuide.prototype.setVisible=function(a){null!=this.guideX&&(this.guideX.node.style.visibility=a?"visible":"hidden");null!=this.guideY&&(this.guideY.node.style.visibility=a?"visible":"hidden")};mxGuide.prototype.destroy=function(){null!=this.guideX&&(this.guideX.destroy(),this.guideX=null);null!=this.guideY&&(this.guideY.destroy(),this.guideY=null)}; +function mxShape(a){this.stencil=a;this.initStyles()}mxShape.prototype.dialect=null;mxShape.prototype.scale=1;mxShape.prototype.antiAlias=!0;mxShape.prototype.minSvgStrokeWidth=1;mxShape.prototype.bounds=null;mxShape.prototype.points=null;mxShape.prototype.node=null;mxShape.prototype.state=null;mxShape.prototype.style=null;mxShape.prototype.boundingBox=null;mxShape.prototype.stencil=null;mxShape.prototype.svgStrokeTolerance=8;mxShape.prototype.pointerEvents=!0;mxShape.prototype.svgPointerEvents="all"; +mxShape.prototype.shapePointerEvents=!1;mxShape.prototype.stencilPointerEvents=!1;mxShape.prototype.vmlScale=1;mxShape.prototype.outline=!1;mxShape.prototype.visible=!0;mxShape.prototype.useSvgBoundingBox=!1;mxShape.prototype.init=function(a){null==this.node&&(this.node=this.create(a),null!=a&&a.appendChild(this.node))};mxShape.prototype.initStyles=function(a){this.strokewidth=1;this.rotation=0;this.strokeOpacity=this.fillOpacity=this.opacity=100;this.flipV=this.flipH=!1}; +mxShape.prototype.isParseVml=function(){return!0};mxShape.prototype.isHtmlAllowed=function(){return!1};mxShape.prototype.getSvgScreenOffset=function(){return 1==mxUtils.mod(Math.max(1,Math.round((this.stencil&&"inherit"!=this.stencil.strokewidth?Number(this.stencil.strokewidth):this.strokewidth)*this.scale)),2)?.5:0}; +mxShape.prototype.create=function(a){return null!=a&&null!=a.ownerSVGElement?this.createSvg(a):8==document.documentMode||!mxClient.IS_VML||this.dialect!=mxConstants.DIALECT_VML&&this.isHtmlAllowed()?this.createHtml(a):this.createVml(a)};mxShape.prototype.createSvg=function(){return document.createElementNS(mxConstants.NS_SVG,"g")};mxShape.prototype.createVml=function(){var a=document.createElement(mxClient.VML_PREFIX+":group");a.style.position="absolute";return a}; +mxShape.prototype.createHtml=function(){var a=document.createElement("div");a.style.position="absolute";return a};mxShape.prototype.reconfigure=function(){this.redraw()}; mxShape.prototype.redraw=function(){this.updateBoundsFromPoints();this.visible&&this.checkBounds()?(this.node.style.visibility="visible",this.clear(),"DIV"!=this.node.nodeName||!this.isHtmlAllowed()&&mxClient.IS_VML?this.redrawShape():this.redrawHtmlShape(),this.updateBoundingBox()):(this.node.style.visibility="hidden",this.boundingBox=null)}; mxShape.prototype.clear=function(){if(null!=this.node.ownerSVGElement)for(;null!=this.node.lastChild;)this.node.removeChild(this.node.lastChild);else this.node.style.cssText="position:absolute;"+(null!=this.cursor?"cursor:"+this.cursor+";":""),this.node.innerHTML=""}; mxShape.prototype.updateBoundsFromPoints=function(){var a=this.points;if(null!=a&&0<a.length&&null!=a[0]){this.bounds=new mxRectangle(Number(a[0].x),Number(a[0].y),1,1);for(var b=1;b<this.points.length;b++)null!=a[b]&&this.bounds.add(new mxRectangle(Number(a[b].x),Number(a[b].y),1,1))}}; @@ -614,10 +614,10 @@ function mxArrowConnector(a,b,c,d,e,f,g){mxShape.call(this);this.points=a;this.f mxArrowConnector.prototype.resetStyles=function(){mxShape.prototype.resetStyles.apply(this,arguments);this.arrowSpacing=mxConstants.ARROW_SPACING};mxArrowConnector.prototype.apply=function(a){mxShape.prototype.apply.apply(this,arguments);null!=this.style&&(this.startSize=3*mxUtils.getNumber(this.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5),this.endSize=3*mxUtils.getNumber(this.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5))}; mxArrowConnector.prototype.augmentBoundingBox=function(a){mxShape.prototype.augmentBoundingBox.apply(this,arguments);var b=this.getEdgeWidth();this.isMarkerStart()&&(b=Math.max(b,this.getStartArrowWidth()));this.isMarkerEnd()&&(b=Math.max(b,this.getEndArrowWidth()));a.grow((b/2+this.strokewidth)*this.scale)}; mxArrowConnector.prototype.paintEdgeShape=function(a,b){var c=this.strokewidth;this.outline&&(c=Math.max(1,mxUtils.getNumber(this.style,mxConstants.STYLE_STROKEWIDTH,this.strokewidth)));for(var d=this.getStartArrowWidth()+c,e=this.getEndArrowWidth()+c,f=this.outline?this.getEdgeWidth()+c:this.getEdgeWidth(),g=this.isOpenEnded(),k=this.isMarkerStart(),l=this.isMarkerEnd(),m=g?0:this.arrowSpacing+c/2,n=this.startSize+c,c=this.endSize+c,p=this.isArrowRounded(),q=b[b.length-1],r=1;r<b.length-1&&b[r].x== -b[0].x&&b[r].y==b[0].y;)r++;var t=b[r].x-b[0].x,r=b[r].y-b[0].y,u=Math.sqrt(t*t+r*r);if(0!=u){var x=t/u,y,A=x,z=r/u,v,B=z,u=f*z,C=-f*x,E=[];p?a.setLineJoin("round"):2<b.length&&a.setMiterLimit(1.42);a.begin();t=x;r=z;if(k&&!g)this.paintMarker(a,b[0].x,b[0].y,x,z,n,d,f,m,!0);else{y=b[0].x+u/2+m*x;v=b[0].y+C/2+m*z;var F=b[0].x-u/2+m*x,J=b[0].y-C/2+m*z;g?(a.moveTo(y,v),E.push(function(){a.lineTo(F,J)})):(a.moveTo(F,J),a.lineTo(y,v))}for(var D=v=y=0,u=0;u<b.length-2;u++)if(C=mxUtils.relativeCcw(b[u].x, -b[u].y,b[u+1].x,b[u+1].y,b[u+2].x,b[u+2].y),y=b[u+2].x-b[u+1].x,v=b[u+2].y-b[u+1].y,D=Math.sqrt(y*y+v*v),0!=D&&(A=y/D,B=v/D,tmp=Math.max(Math.sqrt((x*A+z*B+1)/2),.04),y=x+A,v=z+B,D=Math.sqrt(y*y+v*v),0!=D)){y/=D;v/=D;var D=Math.max(tmp,Math.min(this.strokewidth/200+.04,.35)),D=0!=C&&p?Math.max(.1,D):Math.max(tmp,.06),G=b[u+1].x+v*f/2/D,H=b[u+1].y-y*f/2/D;v=b[u+1].x-v*f/2/D;y=b[u+1].y+y*f/2/D;0!=C&&p?-1==C?(C=v+B*f,D=y-A*f,a.lineTo(v+z*f,y-x*f),a.quadTo(G,H,C,D),function(b,c){E.push(function(){a.lineTo(b, -c)})}(v,y)):(a.lineTo(G,H),function(b,c){var d=G-z*f,e=H+x*f,g=G-B*f,k=H+A*f;E.push(function(){a.quadTo(b,c,d,e)});E.push(function(){a.lineTo(g,k)})}(v,y)):(a.lineTo(G,H),function(b,c){E.push(function(){a.lineTo(b,c)})}(v,y));x=A;z=B}u=f*B;C=-f*A;if(l&&!g)this.paintMarker(a,q.x,q.y,-x,-z,c,e,f,m,!1);else{a.lineTo(q.x-m*A+u/2,q.y-m*B+C/2);var I=q.x-m*A-u/2,K=q.y-m*B-C/2;g?(a.moveTo(I,K),E.splice(0,0,function(){a.moveTo(I,K)})):a.lineTo(I,K)}for(u=E.length-1;0<=u;u--)E[u]();g?(a.end(),a.stroke()):(a.close(), -a.fillAndStroke());a.setShadow(!1);a.setMiterLimit(4);p&&a.setLineJoin("flat");2<b.length&&(a.setMiterLimit(4),k&&!g&&(a.begin(),this.paintMarker(a,b[0].x,b[0].y,t,r,n,d,f,m,!0),a.stroke(),a.end()),l&&!g&&(a.begin(),this.paintMarker(a,q.x,q.y,-x,-z,c,e,f,m,!0),a.stroke(),a.end()))}}; +b[0].x&&b[r].y==b[0].y;)r++;var t=b[r].x-b[0].x,r=b[r].y-b[0].y,u=Math.sqrt(t*t+r*r);if(0!=u){var x=t/u,y,A=x,z=r/u,v,B=z,u=f*z,C=-f*x,E=[];p?a.setLineJoin("round"):2<b.length&&a.setMiterLimit(1.42);a.begin();t=x;r=z;if(k&&!g)this.paintMarker(a,b[0].x,b[0].y,x,z,n,d,f,m,!0);else{y=b[0].x+u/2+m*x;v=b[0].y+C/2+m*z;var G=b[0].x-u/2+m*x,J=b[0].y-C/2+m*z;g?(a.moveTo(y,v),E.push(function(){a.lineTo(G,J)})):(a.moveTo(G,J),a.lineTo(y,v))}for(var D=v=y=0,u=0;u<b.length-2;u++)if(C=mxUtils.relativeCcw(b[u].x, +b[u].y,b[u+1].x,b[u+1].y,b[u+2].x,b[u+2].y),y=b[u+2].x-b[u+1].x,v=b[u+2].y-b[u+1].y,D=Math.sqrt(y*y+v*v),0!=D){A=y/D;B=v/D;D=Math.max(Math.sqrt((x*A+z*B+1)/2),.04);y=x+A;v=z+B;var H=Math.sqrt(y*y+v*v);if(0!=H){y/=H;v/=H;var H=Math.max(D,Math.min(this.strokewidth/200+.04,.35)),D=0!=C&&p?Math.max(.1,H):Math.max(D,.06),I=b[u+1].x+v*f/2/D,F=b[u+1].y-y*f/2/D;v=b[u+1].x-v*f/2/D;y=b[u+1].y+y*f/2/D;0!=C&&p?-1==C?(C=v+B*f,D=y-A*f,a.lineTo(v+z*f,y-x*f),a.quadTo(I,F,C,D),function(b,c){E.push(function(){a.lineTo(b, +c)})}(v,y)):(a.lineTo(I,F),function(b,c){var d=I-z*f,e=F+x*f,g=I-B*f,k=F+A*f;E.push(function(){a.quadTo(b,c,d,e)});E.push(function(){a.lineTo(g,k)})}(v,y)):(a.lineTo(I,F),function(b,c){E.push(function(){a.lineTo(b,c)})}(v,y));x=A;z=B}}u=f*B;C=-f*A;if(l&&!g)this.paintMarker(a,q.x,q.y,-x,-z,c,e,f,m,!1);else{a.lineTo(q.x-m*A+u/2,q.y-m*B+C/2);var K=q.x-m*A-u/2,L=q.y-m*B-C/2;g?(a.moveTo(K,L),E.splice(0,0,function(){a.moveTo(K,L)})):a.lineTo(K,L)}for(u=E.length-1;0<=u;u--)E[u]();g?(a.end(),a.stroke()): +(a.close(),a.fillAndStroke());a.setShadow(!1);a.setMiterLimit(4);p&&a.setLineJoin("flat");2<b.length&&(a.setMiterLimit(4),k&&!g&&(a.begin(),this.paintMarker(a,b[0].x,b[0].y,t,r,n,d,f,m,!0),a.stroke(),a.end()),l&&!g&&(a.begin(),this.paintMarker(a,q.x,q.y,-x,-z,c,e,f,m,!0),a.stroke(),a.end()))}}; mxArrowConnector.prototype.paintMarker=function(a,b,c,d,e,f,g,k,l,m){g=k/g;var n=k*e/2;k=-k*d/2;var p=(l+f)*d;f=(l+f)*e;m?a.moveTo(b-n+p,c-k+f):a.lineTo(b-n+p,c-k+f);a.lineTo(b-n/g+p,c-k/g+f);a.lineTo(b+l*d,c+l*e);a.lineTo(b+n/g+p,c+k/g+f);a.lineTo(b+n+p,c+k+f)};mxArrowConnector.prototype.isArrowRounded=function(){return this.isRounded};mxArrowConnector.prototype.getStartArrowWidth=function(){return mxConstants.ARROW_WIDTH};mxArrowConnector.prototype.getEndArrowWidth=function(){return mxConstants.ARROW_WIDTH}; mxArrowConnector.prototype.getEdgeWidth=function(){return mxConstants.ARROW_WIDTH/3};mxArrowConnector.prototype.isOpenEnded=function(){return!1};mxArrowConnector.prototype.isMarkerStart=function(){return mxUtils.getValue(this.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants.NONE};mxArrowConnector.prototype.isMarkerEnd=function(){return mxUtils.getValue(this.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE}; function mxText(a,b,c,d,e,f,g,k,l,m,n,p,q,r,t,u,x,y,A,z,v){mxShape.call(this);this.value=a;this.bounds=b;this.color=null!=e?e:"black";this.align=null!=c?c:mxConstants.ALIGN_CENTER;this.valign=null!=d?d:mxConstants.ALIGN_MIDDLE;this.family=null!=f?f:mxConstants.DEFAULT_FONTFAMILY;this.size=null!=g?g:mxConstants.DEFAULT_FONTSIZE;this.fontStyle=null!=k?k:mxConstants.DEFAULT_FONTSTYLE;this.spacing=parseInt(l||2);this.spacingTop=this.spacing+parseInt(m||0);this.spacingRight=this.spacing+parseInt(n||0); @@ -983,8 +983,8 @@ k.writeln(l);mxClient.IS_VML?k.writeln('<html xmlns:v="urn:schemas-microsoft-com q.y*this.scale,m.width+=m.x,m.height+=m.y,m.x=0,this.border=m.y=0);var r=this.pageFormat.width-2*this.border,t=this.pageFormat.height-2*this.border;this.pageFormat.height+=this.marginTop+this.marginBottom;m.width/=p;m.height/=p;var u=Math.max(1,Math.ceil((m.width+this.x0)/r)),x=Math.max(1,Math.ceil((m.height+this.y0)/t));this.pageCount=u*x;var y=mxUtils.bind(this,function(){if(this.pageSelector&&(1<x||1<u)){var a=this.createPageSelector(x,u);k.body.appendChild(a);if(mxClient.IS_IE&&null==k.documentMode|| 5==k.documentMode||8==k.documentMode||7==k.documentMode){a.style.position="absolute";var b=function(){a.style.top=(k.body.scrollTop||k.documentElement.scrollTop)+10+"px"};mxEvent.addListener(this.wnd,"scroll",function(a){b()});mxEvent.addListener(this.wnd,"resize",function(a){b()})}}}),A=mxUtils.bind(this,function(a,b){null!=this.borderColor&&(a.style.borderColor=this.borderColor,a.style.borderStyle="solid",a.style.borderWidth="1px");a.style.background=this.backgroundColor;if(c||b)a.style.pageBreakAfter= "always";if(g&&(mxClient.IS_IE||11<=document.documentMode||mxClient.IS_EDGE))k.writeln(a.outerHTML),a.parentNode.removeChild(a);else if(mxClient.IS_IE||11<=document.documentMode||mxClient.IS_EDGE){var d=k.createElement("div");d.innerHTML=a.outerHTML;d=d.getElementsByTagName("div")[0];k.body.appendChild(d);a.parentNode.removeChild(a)}else a.parentNode.removeChild(a),k.body.appendChild(a);(c||b)&&this.addPageBreak(k)}),z=this.getCoverPages(this.pageFormat.width,this.pageFormat.height);if(null!=z)for(var v= -0;v<z.length;v++)A(z[v],!0);for(var B=this.getAppendices(this.pageFormat.width,this.pageFormat.height),v=0;v<x;v++){var C=v*t/this.scale-this.y0/this.scale+(m.y-q.y*n)/n;for(a=0;a<u;a++){if(null==this.wnd)return null;var E=a*r/this.scale-this.x0/this.scale+(m.x-q.x*n)/n,F=v*u+a+1,J=new mxRectangle(E,C,r,t),f=this.renderPage(this.pageFormat.width,this.pageFormat.height,0,0,mxUtils.bind(this,function(a){this.addGraphFragment(-E,-C,this.scale,F,a,J);this.printBackgroundImage&&this.insertBackgroundImage(a, --E,-C)}),F);f.setAttribute("id","mxPage-"+F);A(f,null!=B||v<x-1||a<u-1)}}if(null!=B)for(v=0;v<B.length;v++)A(B[v],v<B.length-1);g&&!d&&(this.closeDocument(),y());this.wnd.focus()}catch(D){null!=f&&null!=f.parentNode&&f.parentNode.removeChild(f)}finally{this.graph.cellRenderer.initializeOverlay=e}return this.wnd};mxPrintPreview.prototype.addPageBreak=function(a){var b=a.createElement("hr");b.className="mxPageBreak";a.body.appendChild(b)}; +0;v<z.length;v++)A(z[v],!0);for(var B=this.getAppendices(this.pageFormat.width,this.pageFormat.height),v=0;v<x;v++){var C=v*t/this.scale-this.y0/this.scale+(m.y-q.y*n)/n;for(a=0;a<u;a++){if(null==this.wnd)return null;var E=a*r/this.scale-this.x0/this.scale+(m.x-q.x*n)/n,G=v*u+a+1,J=new mxRectangle(E,C,r,t),f=this.renderPage(this.pageFormat.width,this.pageFormat.height,0,0,mxUtils.bind(this,function(a){this.addGraphFragment(-E,-C,this.scale,G,a,J);this.printBackgroundImage&&this.insertBackgroundImage(a, +-E,-C)}),G);f.setAttribute("id","mxPage-"+G);A(f,null!=B||v<x-1||a<u-1)}}if(null!=B)for(v=0;v<B.length;v++)A(B[v],v<B.length-1);g&&!d&&(this.closeDocument(),y());this.wnd.focus()}catch(D){null!=f&&null!=f.parentNode&&f.parentNode.removeChild(f)}finally{this.graph.cellRenderer.initializeOverlay=e}return this.wnd};mxPrintPreview.prototype.addPageBreak=function(a){var b=a.createElement("hr");b.className="mxPageBreak";a.body.appendChild(b)}; mxPrintPreview.prototype.closeDocument=function(){try{if(null!=this.wnd&&null!=this.wnd.document){var a=this.wnd.document;this.writePostfix(a);a.writeln("</body>");a.writeln("</html>");a.close();mxEvent.release(a.body)}}catch(b){}}; mxPrintPreview.prototype.writeHead=function(a,b){null!=this.title&&a.writeln("<title>"+this.title+"</title>");mxClient.IS_VML&&a.writeln('<style type="text/css">v\\:*{behavior:url(#default#VML)}o\\:*{behavior:url(#default#VML)}</style>');mxClient.link("stylesheet",mxClient.basePath+"/css/common.css",a);a.writeln('<style type="text/css">');a.writeln("@media print {");a.writeln(" * { -webkit-print-color-adjust: exact; }");a.writeln(" table.mxPageSelector { display: none; }");a.writeln(" hr.mxPageBreak { display: none; }"); a.writeln("}");a.writeln("@media screen {");a.writeln(" table.mxPageSelector { position: fixed; right: 10px; top: 10px;font-family: Arial; font-size:10pt; border: solid 1px darkgray;background: white; border-collapse:collapse; }");a.writeln(" table.mxPageSelector td { border: solid 1px gray; padding:4px; }");a.writeln(" body.mxPage { background: gray; }");a.writeln("}");null!=b&&a.writeln(b);a.writeln("</style>")};mxPrintPreview.prototype.writePostfix=function(a){}; @@ -994,11 +994,11 @@ mxPrintPreview.prototype.renderPage=function(a,b,c,d,e,f){f=this.wnd.document;va "relative";m.style.marginLeft=c+"px";m.style.marginTop=d+"px";8==f.documentMode&&(l.style.position="absolute",m.style.position="absolute");10==f.documentMode&&(m.style.width="100%",m.style.height="100%");l.appendChild(m);g.appendChild(l);document.body.appendChild(g);k=m}else g.style.width=a+"px",g.style.height=b+"px",g.style.overflow="hidden",g.style.pageBreakInside="avoid",8==f.documentMode&&(g.style.position="relative"),l=document.createElement("div"),l.style.width=a-2*this.border+"px",l.style.height= b-2*this.border+"px",l.style.overflow="hidden",!mxClient.IS_IE||null!=f.documentMode&&5!=f.documentMode&&8!=f.documentMode&&7!=f.documentMode?(l.style.top=this.border+"px",l.style.left=this.border+"px"):(l.style.marginTop=this.border+"px",l.style.marginLeft=this.border+"px"),this.graph.dialect==mxConstants.DIALECT_VML&&(l.style.position="absolute"),g.appendChild(l),document.body.appendChild(g),k=l}catch(n){throw g.parentNode.removeChild(g),n;}e(k);return g}; mxPrintPreview.prototype.getRoot=function(){var a=this.graph.view.currentRoot;null==a&&(a=this.graph.getModel().getRoot());return a}; -mxPrintPreview.prototype.addGraphFragment=function(a,b,c,d,e,f){var g=this.graph.getView();d=this.graph.container;this.graph.container=e;var k=g.getCanvas(),l=g.getBackgroundPane(),m=g.getDrawPane(),n=g.getOverlayPane();if(this.graph.dialect==mxConstants.DIALECT_SVG){if(g.createSvg(),!mxClient.NO_FO){var p=g.getDrawPane().parentNode;p.getAttribute("transform");p.setAttribute("transformOrigin","0 0");p.setAttribute("transform","scale("+c+","+c+")translate("+a+","+b+")");c=1;b=a=0}}else this.graph.dialect== -mxConstants.DIALECT_VML?g.createVml():g.createHtml();p=g.isEventsEnabled();g.setEventsEnabled(!1);var q=this.graph.isEnabled();this.graph.setEnabled(!1);var r=g.getTranslate();g.translate=new mxPoint(a,b);var t=this.graph.cellRenderer.redraw,u=g.states;a=g.scale;if(this.clipping){var x=new mxRectangle((f.x+r.x)*a,(f.y+r.y)*a,f.width*a/c,f.height*a/c);this.graph.cellRenderer.redraw=function(a,b,c){if(null!=a){var d=u.get(a.cell);null!=d&&(d=g.getBoundingBox(d,!1),null==d||mxUtils.intersects(x,d))}t.apply(this, -arguments)}}a=null;try{var y=[this.getRoot()];a=new mxTemporaryCellStates(g,c,y,null,mxUtils.bind(this,function(a){return this.getLinkForCellState(a)}))}finally{if(mxClient.IS_IE)g.overlayPane.innerHTML="",g.canvas.style.overflow="hidden",g.canvas.style.position="relative",g.canvas.style.top=this.marginTop+"px",g.canvas.style.width=f.width+"px",g.canvas.style.height=f.height+"px";else for(c=e.firstChild;null!=c;)y=c.nextSibling,b=c.nodeName.toLowerCase(),"svg"==b?(c.style.overflow="hidden",c.style.position= -"relative",c.style.top=this.marginTop+"px",c.setAttribute("width",f.width),c.setAttribute("height",f.height),c.style.width="",c.style.height=""):"default"!=c.style.cursor&&"div"!=b&&c.parentNode.removeChild(c),c=y;this.printBackgroundImage&&(e=e.getElementsByTagName("svg"),0<e.length&&(e[0].style.position="absolute"));g.overlayPane.parentNode.removeChild(g.overlayPane);this.graph.setEnabled(q);this.graph.container=d;this.graph.cellRenderer.redraw=t;g.canvas=k;g.backgroundPane=l;g.drawPane=m;g.overlayPane= -n;g.translate=r;a.destroy();g.setEventsEnabled(p)}};mxPrintPreview.prototype.getLinkForCellState=function(a){return this.graph.getLinkForCell(a.cell)}; +mxPrintPreview.prototype.addGraphFragment=function(a,b,c,d,e,f){var g=this.graph.getView();d=this.graph.container;this.graph.container=e;var k=g.getCanvas(),l=g.getBackgroundPane(),m=g.getDrawPane(),n=g.getOverlayPane(),p=c;if(this.graph.dialect==mxConstants.DIALECT_SVG){if(g.createSvg(),!mxClient.NO_FO){var q=g.getDrawPane().parentNode;q.getAttribute("transform");q.setAttribute("transformOrigin","0 0");q.setAttribute("transform","scale("+c+","+c+")translate("+a+","+b+")");c=1;b=a=0}}else this.graph.dialect== +mxConstants.DIALECT_VML?g.createVml():g.createHtml();q=g.isEventsEnabled();g.setEventsEnabled(!1);var r=this.graph.isEnabled();this.graph.setEnabled(!1);var t=g.getTranslate();g.translate=new mxPoint(a,b);var u=this.graph.cellRenderer.redraw,x=g.states;a=g.scale;if(this.clipping){var y=new mxRectangle((f.x+t.x)*a,(f.y+t.y)*a,f.width*a/p,f.height*a/p);this.graph.cellRenderer.redraw=function(a,b,c){if(null!=a){var d=x.get(a.cell);if(null!=d&&(d=g.getBoundingBox(d,!1),null!=d&&!mxUtils.intersects(y, +d)))return}u.apply(this,arguments)}}a=null;try{var A=[this.getRoot()];a=new mxTemporaryCellStates(g,c,A,null,mxUtils.bind(this,function(a){return this.getLinkForCellState(a)}))}finally{if(mxClient.IS_IE)g.overlayPane.innerHTML="",g.canvas.style.overflow="hidden",g.canvas.style.position="relative",g.canvas.style.top=this.marginTop+"px",g.canvas.style.width=f.width+"px",g.canvas.style.height=f.height+"px";else for(c=e.firstChild;null!=c;)A=c.nextSibling,b=c.nodeName.toLowerCase(),"svg"==b?(c.style.overflow= +"hidden",c.style.position="relative",c.style.top=this.marginTop+"px",c.setAttribute("width",f.width),c.setAttribute("height",f.height),c.style.width="",c.style.height=""):"default"!=c.style.cursor&&"div"!=b&&c.parentNode.removeChild(c),c=A;this.printBackgroundImage&&(e=e.getElementsByTagName("svg"),0<e.length&&(e[0].style.position="absolute"));g.overlayPane.parentNode.removeChild(g.overlayPane);this.graph.setEnabled(r);this.graph.container=d;this.graph.cellRenderer.redraw=u;g.canvas=k;g.backgroundPane= +l;g.drawPane=m;g.overlayPane=n;g.translate=t;a.destroy();g.setEventsEnabled(q)}};mxPrintPreview.prototype.getLinkForCellState=function(a){return this.graph.getLinkForCell(a.cell)}; mxPrintPreview.prototype.insertBackgroundImage=function(a,b,c){var d=this.graph.backgroundImage;if(null!=d){var e=document.createElement("img");e.style.position="absolute";e.style.marginLeft=Math.round(b*this.scale)+"px";e.style.marginTop=Math.round(c*this.scale)+"px";e.setAttribute("width",Math.round(this.scale*d.width));e.setAttribute("height",Math.round(this.scale*d.height));e.src=d.src;a.insertBefore(e,a.firstChild)}};mxPrintPreview.prototype.getCoverPages=function(){return null}; mxPrintPreview.prototype.getAppendices=function(){return null};mxPrintPreview.prototype.print=function(a){a=this.open(a);null!=a&&a.print()};mxPrintPreview.prototype.close=function(){null!=this.wnd&&(this.wnd.close(),this.wnd=null)};function mxStylesheet(){this.styles={};this.putDefaultVertexStyle(this.createDefaultVertexStyle());this.putDefaultEdgeStyle(this.createDefaultEdgeStyle())} mxStylesheet.prototype.createDefaultVertexStyle=function(){var a={};a[mxConstants.STYLE_SHAPE]=mxConstants.SHAPE_RECTANGLE;a[mxConstants.STYLE_PERIMETER]=mxPerimeter.RectanglePerimeter;a[mxConstants.STYLE_VERTICAL_ALIGN]=mxConstants.ALIGN_MIDDLE;a[mxConstants.STYLE_ALIGN]=mxConstants.ALIGN_CENTER;a[mxConstants.STYLE_FILLCOLOR]="#C3D9FF";a[mxConstants.STYLE_STROKECOLOR]="#6482B9";a[mxConstants.STYLE_FONTCOLOR]="#774400";return a}; @@ -1093,8 +1093,8 @@ mxCellRenderer.prototype.getLabelBounds=function(a){var b=a.view.graph,c=a.view. mxConstants.NONE),b!=mxConstants.NONE&&""!=b&&(f=parseFloat(mxUtils.getValue(a.style,mxConstants.STYLE_STROKEWIDTH,1))*c,b=1+Math.floor((f-1)/2),f=Math.floor(f+1),e.x+=b,e.y+=b,e.width-=f,e.height-=f);a.text.isPaintBoundsInverted()&&(b=(a.width-a.height)/2,e.x+=b,e.y-=b,b=e.width,e.width=e.height,e.height=b);null!=a.shape&&(b=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),f=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE), b==mxConstants.ALIGN_CENTER&&f==mxConstants.ALIGN_MIDDLE&&(e=a.shape.getLabelBounds(e)));b=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_WIDTH,null);null!=b&&(e.width=parseFloat(b)*c);d||this.rotateLabelBounds(a,e);return e}; mxCellRenderer.prototype.rotateLabelBounds=function(a,b){b.y-=a.text.margin.y*b.height;b.x-=a.text.margin.x*b.width;if(!this.legacySpacing||"fill"!=a.style[mxConstants.STYLE_OVERFLOW]&&"width"!=a.style[mxConstants.STYLE_OVERFLOW]){var c=a.view.scale,d=a.text.getSpacing();b.x+=d.x*c;b.y+=d.y*c;var d=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),e=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),f=mxUtils.getValue(a.style, -mxConstants.STYLE_LABEL_WIDTH,null);b.width=Math.max(0,b.width-(d==mxConstants.ALIGN_CENTER&&null==f?a.text.spacingLeft*c+a.text.spacingRight*c:0));b.height=Math.max(0,b.height-(e==mxConstants.ALIGN_MIDDLE?a.text.spacingTop*c+a.text.spacingBottom*c:0))}e=a.text.getTextRotation();0!=e&&null!=a&&a.view.graph.model.isVertex(a.cell)&&(c=a.getCenterX(),d=a.getCenterY(),b.x!=c||b.y!=d)&&(e*=Math.PI/180,pt=mxUtils.getRotatedPoint(new mxPoint(b.x,b.y),Math.cos(e),Math.sin(e),new mxPoint(c,d)),b.x=pt.x,b.y= -pt.y)}; +mxConstants.STYLE_LABEL_WIDTH,null);b.width=Math.max(0,b.width-(d==mxConstants.ALIGN_CENTER&&null==f?a.text.spacingLeft*c+a.text.spacingRight*c:0));b.height=Math.max(0,b.height-(e==mxConstants.ALIGN_MIDDLE?a.text.spacingTop*c+a.text.spacingBottom*c:0))}e=a.text.getTextRotation();0!=e&&null!=a&&a.view.graph.model.isVertex(a.cell)&&(c=a.getCenterX(),d=a.getCenterY(),b.x!=c||b.y!=d)&&(e*=Math.PI/180,c=mxUtils.getRotatedPoint(new mxPoint(b.x,b.y),Math.cos(e),Math.sin(e),new mxPoint(c,d)),b.x=c.x,b.y= +c.y)}; mxCellRenderer.prototype.redrawCellOverlays=function(a,b){this.createCellOverlays(a);if(null!=a.overlays){var c=mxUtils.mod(mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,0),90),d=mxUtils.toRadians(c),e=Math.cos(d),f=Math.sin(d);a.overlays.visit(function(d,k){var g=k.overlay.getBounds(a);if(!a.view.graph.getModel().isEdge(a.cell)&&null!=a.shape&&0!=c){var m=g.getCenterX(),n=g.getCenterY(),n=mxUtils.getRotatedPoint(new mxPoint(m,n),e,f,new mxPoint(a.getCenterX(),a.getCenterY())),m=n.x,n=n.y;g.x= Math.round(m-g.width/2);g.y=Math.round(n-g.height/2)}if(b||null==k.bounds||k.scale!=a.view.scale||!k.bounds.equals(g))k.bounds=g,k.scale=a.view.scale,k.redraw()})}}; mxCellRenderer.prototype.redrawControl=function(a,b){var c=a.view.graph.getFoldingImage(a);if(null!=a.control&&null!=c){var c=this.getControlBounds(a,c.width,c.height),d=this.legacyControlPosition?mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,0):a.shape.getTextRotation(),e=a.view.scale;if(b||a.control.scale!=e||!a.control.bounds.equals(c)||a.control.rotation!=d)a.control.rotation=d,a.control.bounds=c,a.control.scale=e,a.control.redraw()}}; @@ -2003,8 +2003,8 @@ jscolor.picker.btn.appendChild(jscolor.picker.btnS);jscolor.picker.box.appendChi jscolor.fireEvent(u,"change"))};l.padM.onmousedown=function(a){switch(t){case 0:0===r.hsv[2]&&r.fromHSV(null,null,1);break;case 1:0===r.hsv[1]&&r.fromHSV(null,1,null)}y=!0;m(a);p()};l.sldM.onmouseup=l.sldM.onmouseout=function(){A&&(A=!1,jscolor.fireEvent(u,"change"))};l.sldM.onmousedown=function(a){A=!0;n(a);p()};d=e(r);l.box.style.width=d[0]+"px";l.box.style.height=d[1]+"px";l.boxB.style.position="absolute";l.boxB.style.clear="both";l.boxB.style.left=b+"px";l.boxB.style.top=c+"px";l.boxB.style.zIndex= r.pickerZIndex;l.boxB.style.border=r.pickerBorder+"px solid";l.boxB.style.borderColor=r.pickerBorderColor;l.boxB.style.background=r.pickerFaceColor;l.pad.style.width=jscolor.images.pad[0]+"px";l.pad.style.height=jscolor.images.pad[1]+"px";l.padB.style.position="absolute";l.padB.style.left=r.pickerFace+"px";l.padB.style.top=r.pickerFace+"px";l.padB.style.border=r.pickerInset+"px solid";l.padB.style.borderColor=r.pickerInsetColor;l.padM.style.position="absolute";l.padM.style.left="0";l.padM.style.top= "0";l.padM.style.width=r.pickerFace+2*r.pickerInset+jscolor.images.pad[0]+jscolor.images.arrow[0]+"px";l.padM.style.height=l.box.style.height;l.padM.style.cursor="crosshair";l.sld.style.overflow="hidden";l.sld.style.width=jscolor.images.sld[0]+"px";l.sld.style.height=jscolor.images.sld[1]+"px";l.sldB.style.display=r.slider?"block":"none";l.sldB.style.position="absolute";l.sldB.style.right=r.pickerFace+"px";l.sldB.style.top=r.pickerFace+"px";l.sldB.style.border=r.pickerInset+"px solid";l.sldB.style.borderColor= -r.pickerInsetColor;l.sldM.style.display=r.slider?"block":"none";l.sldM.style.position="absolute";l.sldM.style.right="0";l.sldM.style.top="0";l.sldM.style.width=jscolor.images.sld[0]+jscolor.images.arrow[0]+r.pickerFace+2*r.pickerInset+"px";l.sldM.style.height=l.box.style.height;try{l.sldM.style.cursor="pointer"}catch(I){l.sldM.style.cursor="hand"}l.btn.style.display=r.pickerClosable?"block":"none";l.btn.style.position="absolute";l.btn.style.left=r.pickerFace+"px";l.btn.style.bottom=r.pickerFace+"px"; -l.btn.style.padding="0 15px";l.btn.style.height="18px";l.btn.style.border=r.pickerInset+"px solid";(function(){var a=r.pickerInsetColor.split(/\s+/);l.btn.style.borderColor=2>a.length?a[0]:a[1]+" "+a[0]+" "+a[0]+" "+a[1]})();l.btn.style.color=r.pickerButtonColor;l.btn.style.font="12px sans-serif";l.btn.style.textAlign="center";try{l.btn.style.cursor="pointer"}catch(I){l.btn.style.cursor="hand"}l.btn.onmousedown=function(){r.hidePicker()};l.btnS.style.lineHeight=l.btn.style.height;switch(t){case 0:var q= +r.pickerInsetColor;l.sldM.style.display=r.slider?"block":"none";l.sldM.style.position="absolute";l.sldM.style.right="0";l.sldM.style.top="0";l.sldM.style.width=jscolor.images.sld[0]+jscolor.images.arrow[0]+r.pickerFace+2*r.pickerInset+"px";l.sldM.style.height=l.box.style.height;try{l.sldM.style.cursor="pointer"}catch(F){l.sldM.style.cursor="hand"}l.btn.style.display=r.pickerClosable?"block":"none";l.btn.style.position="absolute";l.btn.style.left=r.pickerFace+"px";l.btn.style.bottom=r.pickerFace+"px"; +l.btn.style.padding="0 15px";l.btn.style.height="18px";l.btn.style.border=r.pickerInset+"px solid";(function(){var a=r.pickerInsetColor.split(/\s+/);l.btn.style.borderColor=2>a.length?a[0]:a[1]+" "+a[0]+" "+a[0]+" "+a[1]})();l.btn.style.color=r.pickerButtonColor;l.btn.style.font="12px sans-serif";l.btn.style.textAlign="center";try{l.btn.style.cursor="pointer"}catch(F){l.btn.style.cursor="hand"}l.btn.onmousedown=function(){r.hidePicker()};l.btnS.style.lineHeight=l.btn.style.height;switch(t){case 0:var q= "hs.png";break;case 1:q="hv.png"}l.padM.style.backgroundImage="url(data:image/gif;base64,R0lGODlhDwAPAKEBAAAAAP///////////yH5BAEKAAIALAAAAAAPAA8AAAIklB8Qx53b4otSUWcvyiz4/4AeQJbmKY4p1HHapBlwPL/uVRsFADs=)";l.padM.style.backgroundRepeat="no-repeat";l.sldM.style.backgroundImage="url(data:image/gif;base64,R0lGODlhBwALAKECAAAAAP///6g8eKg8eCH5BAEKAAIALAAAAAAHAAsAAAITTIQYcLnsgGxvijrxqdQq6DRJAQA7)";l.sldM.style.backgroundRepeat="no-repeat";l.pad.style.backgroundImage="url('"+jscolor.getDir()+q+"')";l.pad.style.backgroundRepeat= "no-repeat";l.pad.style.backgroundPosition="0 0";f();g();jscolor.picker.owner=r;document.getElementsByTagName("body")[0].appendChild(l.boxB)}function e(a){return[2*a.pickerInset+2*a.pickerFace+jscolor.images.pad[0]+(a.slider?2*a.pickerInset+2*jscolor.images.arrow[0]+jscolor.images.sld[0]:0),a.pickerClosable?4*a.pickerInset+3*a.pickerFace+jscolor.images.pad[1]+a.pickerButtonHeight:2*a.pickerInset+2*a.pickerFace+jscolor.images.pad[1]]}function f(){switch(t){case 0:var a=1;break;case 1:a=2}jscolor.picker.padM.style.backgroundPosition= r.pickerFace+r.pickerInset+Math.round(r.hsv[0]/6*(jscolor.images.pad[0]-1))-Math.floor(jscolor.images.cross[0]/2)+"px "+(r.pickerFace+r.pickerInset+Math.round((1-r.hsv[a])*(jscolor.images.pad[1]-1))-Math.floor(jscolor.images.cross[1]/2))+"px";a=jscolor.picker.sld.childNodes;switch(t){case 0:for(var b=c(r.hsv[0],r.hsv[1],1),d=0;d<a.length;d+=1)a[d].style.backgroundColor="rgb("+b[0]*(1-d/a.length)*100+"%,"+b[1]*(1-d/a.length)*100+"%,"+b[2]*(1-d/a.length)*100+"%)";break;case 1:var e,f=[r.hsv[2],0,0], @@ -3380,13 +3380,13 @@ libs:"Companies;EnterpriseFlat;IntuneFlat;OMSFlat;System CenterFlat;AI and ML Se {id:"pid2",prefix:"pid2",libs:"Agitators;Apparatus Elements;Centrifuges;Compressors;Compressors ISO;Crushers Grinding;Driers;Engines;Feeders;Filters;Fittings;Flow Sensors;Heat Exchangers;Instruments;Misc;Mixers;Piping;Pumps;Pumps DIN;Pumps ISO;Separators;Shaping Machines;Valves;Vessels".split(";")},{id:"signs",prefix:"signs",libs:Sidebar.prototype.signs},{id:"gcp",prefix:"gcp",libs:Sidebar.prototype.gcp},{id:"gcp2",prefix:"gcp2",libs:Sidebar.prototype.gcp2},{id:"rack",prefix:"rack",libs:Sidebar.prototype.rack}, {id:"electrical",prefix:"electrical",libs:Sidebar.prototype.electrical},{id:"aws2",prefix:"aws2",libs:Sidebar.prototype.aws2},{id:"aws3",prefix:"aws3",libs:Sidebar.prototype.aws3},{id:"aws4b",prefix:"aws4b",libs:Sidebar.prototype.aws4b},{id:"aws4",prefix:"aws4",libs:Sidebar.prototype.aws4},{id:"pid",prefix:"pid",libs:Sidebar.prototype.pids},{id:"cisco",prefix:"cisco",libs:Sidebar.prototype.cisco},{id:"cisco_safe",prefix:"cisco_safe",libs:Sidebar.prototype.cisco_safe},{id:"office",prefix:"office", libs:Sidebar.prototype.office},{id:"veeam",prefix:"veeam",libs:Sidebar.prototype.veeam},{id:"cabinets",libs:["cabinets"]},{id:"floorplan",libs:["floorplan"]},{id:"bootstrap",libs:["bootstrap"]},{id:"atlassian",libs:["atlassian"]},{id:"gmdl",prefix:"gmdl",libs:Sidebar.prototype.gmdl},{id:"archimate3",prefix:"archimate3",libs:Sidebar.prototype.archimate3},{id:"archimate",libs:["archimate"]},{id:"webicons",libs:["webicons","weblogos"]},{id:"sysml",prefix:"sysml",libs:Sidebar.prototype.sysml}];var a= -Sidebar.prototype.insertSearchHint;Sidebar.prototype.insertSearchHint=function(c,d,b,e,l,m,q,r){if(null!=r&&1==e){var f=null;if(0<=mxUtils.indexOf(r,"text"))f="Double click anywhere in the diagram to insert text.";else for(var g="line lines arrow arrows connect connection connections connector connectors curve curves link links directed directional bidirectional".split(" "),h=0;h<g.length;h++)if(0<=mxUtils.indexOf(r,g[h])){f="Need help with connections?";break}if(null!=f&&!this.hideSearchHint){var k= +Sidebar.prototype.insertSearchHint;Sidebar.prototype.insertSearchHint=function(d,c,b,e,l,m,q,r){if(null!=r&&1==e){var f=null;if(0<=mxUtils.indexOf(r,"text"))f="Double click anywhere in the diagram to insert text.";else for(var g="line lines arrow arrows connect connection connections connector connectors curve curves link links directed directional bidirectional".split(" "),h=0;h<g.length;h++)if(0<=mxUtils.indexOf(r,g[h])){f="Need help with connections?";break}if(null!=f&&!this.hideSearchHint){var k= document.createElement("a");k.setAttribute("href","https://youtu.be/Z0D96ZikMkc");k.setAttribute("target","_blank");k.className="geTitle";k.style.cssText="background-color:#ffd350;border-radius:6px;color:black;border:1px solid black !important;text-align:center;white-space:normal;padding:6px 0px 6px 0px !important;margin:4px 4px 8px 2px;";mxUtils.write(k,f);f=document.createElement("img");f.setAttribute("src",Dialog.prototype.closeImage);f.setAttribute("title",mxResources.get("hide"));f.className= -"geDialogClose";f.style.position="relative";f.style.cursor="default";f.style.top="1px";f.style.right="0px";mxEvent.addListener(f,"click",mxUtils.bind(this,function(a){k.parentNode.removeChild(k);this.hideSearchHint=!0;mxEvent.consume(a)}));k.appendChild(f);c.appendChild(k);this.hideSearchHint=!0}}a.apply(this,arguments)};Sidebar.prototype.togglePalettes=function(a,c){this.showPalettes(a,c)};Sidebar.prototype.togglePalette=function(a){this.showPalette(a)};Sidebar.prototype.showPalettes=function(a, -c,d){for(var b=0;b<c.length;b++)this.showPalette(a+c[b],d)};Sidebar.prototype.showPalette=function(a,c){var d=this.palettes[a];if(null!=d)for(var b=null!=c?c?"block":"none":"none"==d[0].style.display?"block":"none",e=0;e<d.length;e++)d[e].style.display=b};Sidebar.prototype.isEntryVisible=function(a){for(var c=0;c<this.configuration.length;c++)if(this.configuration[c].id==a){var d=this.palettes[null!=this.configuration[c].libs?(this.configuration[c].prefix||"")+this.configuration[c].libs[0]:a];if(null!= -d)return"none"!=d[0].style.display;break}if(null!=this.customEntries)for(c=0;c<this.customEntries.length;c++)for(var d=this.customEntries[c],b=0;b<d.entries.length;b++){var e=d.entries[b];if(e.id==a){if(null!=e.libs&&0<e.libs.length&&(d=this.palettes[e.id+".0"],null!=d))return"none"!=d[0].style.display;break}}return!1};Sidebar.prototype.showEntries=function(a,c,d){this.libs=null!=a&&(d||0<a.length)?a:null!=urlParams.libs&&0<urlParams.libs.length?decodeURIComponent(urlParams.libs):mxSettings.getLibraries(); -d=this.libs.split(";");for(var b=0;b<d.length;b++)d[b]=this.libAliases[d[b]]||d[b];for(b=0;b<this.configuration.length;b++)"search"!=this.configuration[b].id&&this.showPalettes(this.configuration[b].prefix||"",this.configuration[b].libs||[this.configuration[b].id],0<=mxUtils.indexOf(d,this.configuration[b].id));if(null!=this.customEntries)for(b=0;b<this.customEntries.length;b++)for(var e=this.customEntries[b],f=0;f<e.entries.length;f++){var g=e.entries[f];if(null!=g.libs&&0<g.libs.length){for(var h= -[],n=0;n<g.libs.length;n++)h.push(g.id+"."+n);this.showPalettes("",h,0<=mxUtils.indexOf(d,g.id))}}c&&(mxSettings.setLibraries(a),mxSettings.save())};Sidebar.prototype.init=function(){this.entries=[{title:mxResources.get("standard"),entries:[{title:mxResources.get("general"),id:"general",image:IMAGE_PATH+"/sidebar-general.png"},{title:mxResources.get("basic"),id:"basic",image:IMAGE_PATH+"/sidebar-basic.png"},{title:mxResources.get("arrows"),id:"arrows2",image:IMAGE_PATH+"/sidebar-arrows2.png"},{title:mxResources.get("clipart"), +"geDialogClose";f.style.position="relative";f.style.cursor="default";f.style.top="1px";f.style.right="0px";mxEvent.addListener(f,"click",mxUtils.bind(this,function(a){k.parentNode.removeChild(k);this.hideSearchHint=!0;mxEvent.consume(a)}));k.appendChild(f);d.appendChild(k);this.hideSearchHint=!0}}a.apply(this,arguments)};Sidebar.prototype.togglePalettes=function(a,d){this.showPalettes(a,d)};Sidebar.prototype.togglePalette=function(a){this.showPalette(a)};Sidebar.prototype.showPalettes=function(a, +d,c){for(var b=0;b<d.length;b++)this.showPalette(a+d[b],c)};Sidebar.prototype.showPalette=function(a,d){var c=this.palettes[a];if(null!=c)for(var b=null!=d?d?"block":"none":"none"==c[0].style.display?"block":"none",e=0;e<c.length;e++)c[e].style.display=b};Sidebar.prototype.isEntryVisible=function(a){for(var d=0;d<this.configuration.length;d++)if(this.configuration[d].id==a){var c=this.palettes[null!=this.configuration[d].libs?(this.configuration[d].prefix||"")+this.configuration[d].libs[0]:a];if(null!= +c)return"none"!=c[0].style.display;break}if(null!=this.customEntries)for(d=0;d<this.customEntries.length;d++)for(var c=this.customEntries[d],b=0;b<c.entries.length;b++){var e=c.entries[b];if(e.id==a){if(null!=e.libs&&0<e.libs.length&&(c=this.palettes[e.id+".0"],null!=c))return"none"!=c[0].style.display;break}}return!1};Sidebar.prototype.showEntries=function(a,d,c){this.libs=null!=a&&(c||0<a.length)?a:null!=urlParams.libs&&0<urlParams.libs.length?decodeURIComponent(urlParams.libs):mxSettings.getLibraries(); +c=this.libs.split(";");for(var b=0;b<c.length;b++)c[b]=this.libAliases[c[b]]||c[b];for(b=0;b<this.configuration.length;b++)"search"!=this.configuration[b].id&&this.showPalettes(this.configuration[b].prefix||"",this.configuration[b].libs||[this.configuration[b].id],0<=mxUtils.indexOf(c,this.configuration[b].id));if(null!=this.customEntries)for(b=0;b<this.customEntries.length;b++)for(var e=this.customEntries[b],f=0;f<e.entries.length;f++){var g=e.entries[f];if(null!=g.libs&&0<g.libs.length){for(var h= +[],n=0;n<g.libs.length;n++)h.push(g.id+"."+n);this.showPalettes("",h,0<=mxUtils.indexOf(c,g.id))}}d&&(mxSettings.setLibraries(a),mxSettings.save())};Sidebar.prototype.init=function(){this.entries=[{title:mxResources.get("standard"),entries:[{title:mxResources.get("general"),id:"general",image:IMAGE_PATH+"/sidebar-general.png"},{title:mxResources.get("basic"),id:"basic",image:IMAGE_PATH+"/sidebar-basic.png"},{title:mxResources.get("arrows"),id:"arrows2",image:IMAGE_PATH+"/sidebar-arrows2.png"},{title:mxResources.get("clipart"), id:"clipart",image:IMAGE_PATH+"/sidebar-clipart.png"},{title:mxResources.get("flowchart"),id:"flowchart",image:IMAGE_PATH+"/sidebar-flowchart.png"}]},{title:mxResources.get("software"),entries:[{title:"Active Directory",id:"active_directory",image:IMAGE_PATH+"/sidebar-active_directory.png"},{title:mxResources.get("android"),id:"android",image:IMAGE_PATH+"/sidebar-android.png"},{title:"Atlassian",id:"atlassian",image:IMAGE_PATH+"/sidebar-atlassian.png"},{title:mxResources.get("bootstrap"),id:"bootstrap", image:IMAGE_PATH+"/sidebar-bootstrap.png"},{title:"Data Flow Diagram",id:"dfd",image:IMAGE_PATH+"/sidebar-dfd.png"},{title:mxResources.get("entityRelation"),id:"er",image:IMAGE_PATH+"/sidebar-er.png"},{title:mxResources.get("ios"),id:"ios",image:IMAGE_PATH+"/sidebar-ios.png"},{title:mxResources.get("mockups"),id:"mockups",image:IMAGE_PATH+"/sidebar-mockups.png"},{title:"Sitemap",id:"sitemap",image:IMAGE_PATH+"/sidebar-sitemap.png"},{title:mxResources.get("uml"),id:"uml",image:IMAGE_PATH+"/sidebar-uml.png"}]}, {title:mxResources.get("networking"),entries:[{title:"Allied Telesis",id:"allied_telesis",image:IMAGE_PATH+"/sidebar-allied_telesis.png"},{title:"AWS17",id:"aws3",image:IMAGE_PATH+"/sidebar-aws3.png"},{title:"AWS18",id:"aws4b",image:IMAGE_PATH+"/sidebar-aws4.png"},{title:"AWS19",id:"aws4",image:IMAGE_PATH+"/sidebar-aws4.png"},{title:mxResources.get("aws3d"),id:"aws3d",image:IMAGE_PATH+"/sidebar-aws3d.png"},{title:mxResources.get("azure"),id:"azure",image:IMAGE_PATH+"/sidebar-azure.png"},{title:"Cloud & Enterprise", @@ -3394,17 +3394,17 @@ id:"mscae",image:IMAGE_PATH+"/sidebar-mscae.png"},{title:mxResources.get("cisco" id:"network",image:IMAGE_PATH+"/sidebar-network.png"},{title:"Office",id:"office",image:IMAGE_PATH+"/sidebar-office.png"},{title:mxResources.get("rack"),id:"rack",image:IMAGE_PATH+"/sidebar-rack.png"},{title:"Veeam",id:"veeam",image:IMAGE_PATH+"/sidebar-veeam.png"},{title:"VMware",id:"vvd",image:IMAGE_PATH+"/sidebar-vvd.png"}]},{title:mxResources.get("business"),entries:[{title:"ArchiMate 3.0",id:"archimate3",image:IMAGE_PATH+"/sidebar-archimate3.png"},{title:mxResources.get("archiMate21"),id:"archimate", image:IMAGE_PATH+"/sidebar-archimate.png"},{title:mxResources.get("bpmn"),id:"bpmn",image:IMAGE_PATH+"/sidebar-bpmn.png"},{title:mxResources.get("leanMapping"),id:"lean_mapping",image:IMAGE_PATH+"/sidebar-leanmapping.png"},{title:mxResources.get("sysml"),id:"sysml",image:IMAGE_PATH+"/sidebar-sysml.png"}]},{title:mxResources.get("other"),entries:[{title:mxResources.get("cabinets"),id:"cabinets",image:IMAGE_PATH+"/sidebar-cabinets.png"},{title:"Infographic",id:"infographic",image:IMAGE_PATH+"/sidebar-infographic.png"}, {title:mxResources.get("eip"),id:"eip",image:IMAGE_PATH+"/sidebar-eip.png"},{title:mxResources.get("electrical"),id:"electrical",image:IMAGE_PATH+"/sidebar-electrical.png"},{title:mxResources.get("floorplans"),id:"floorplan",image:IMAGE_PATH+"/sidebar-floorplans.png"},{title:mxResources.get("gmdl"),id:"gmdl",image:IMAGE_PATH+"/sidebar-gmdl.png"},{title:mxResources.get("procEng"),id:"pid",image:IMAGE_PATH+"/sidebar-pid.png"},{title:"Web Icons",id:"webicons",image:IMAGE_PATH+"/sidebar-webIcons.png"}, -{title:mxResources.get("signs"),id:"signs",image:IMAGE_PATH+"/sidebar-signs.png"}]}];this.addStencilsToIndex=!1;this.shapetags={};null!=this.tagIndex&&(this.addTagIndex(Graph.decompress(this.tagIndex)),this.tagIndex=null);this.initPalettes()};"1"==urlParams.savesidebar&&(Sidebar.prototype.addFoldingHandler=function(a,c,d){var b=!1;if(!mxClient.IS_IE||8<=document.documentMode)a.style.backgroundImage="none"==c.style.display?"url('"+this.collapsedImage+"')":"url('"+this.expandedImage+"')";a.style.backgroundRepeat= +{title:mxResources.get("signs"),id:"signs",image:IMAGE_PATH+"/sidebar-signs.png"}]}];this.addStencilsToIndex=!1;this.shapetags={};null!=this.tagIndex&&(this.addTagIndex(Graph.decompress(this.tagIndex)),this.tagIndex=null);this.initPalettes()};"1"==urlParams.savesidebar&&(Sidebar.prototype.addFoldingHandler=function(a,d,c){var b=!1;if(!mxClient.IS_IE||8<=document.documentMode)a.style.backgroundImage="none"==d.style.display?"url('"+this.collapsedImage+"')":"url('"+this.expandedImage+"')";a.style.backgroundRepeat= "no-repeat";a.style.backgroundPosition="0% 50%";var e=document.createElement("button");e.style.marginLeft="4px";mxUtils.write(e,"Save");mxEvent.addListener(a,"click",mxUtils.bind(this,function(f){if("BUTTON"==mxEvent.getSource(f).nodeName){f=a.cloneNode(!0);f.style.backgroundImage="";f.style.textDecoration="none";f.style.fontWeight="bold";f.style.fontSize="14px";f.style.color="rgb(80, 80, 80)";f.style.width="456px";f.style.backgroundColor="#ffffff";f.style.paddingLeft="6px";var g=f.getElementsByTagName("button")[0]; -g.parentNode.removeChild(g);var h=c.cloneNode(!0);h.style.backgroundColor="#ffffff";h.style.borderColor="transparent";h.style.width="456px";f=(new DOMParser).parseFromString('<body style="background:#ffffff;font-family:Helvetica,Arial;">'+f.outerHTML+h.outerHTML+"</body>","text/html");this.editorUi.convertImages(f.documentElement,mxUtils.bind(this,function(a){var c='<!DOCTYPE html><html><head><link rel="stylesheet" type="text/css" href="https://www.draw.io/styles/grapheditor.css"></head>'+mxUtils.getXml(a)+ -"</html>";h.style.position="absolute";window.document.body.appendChild(h);var d=h.clientHeight+18;h.parentNode.removeChild(h);this.editorUi.confirm("Image data created",mxUtils.bind(this,function(){(new mxXmlRequest(EXPORT_URL,"w=456&h="+d+"&html="+encodeURIComponent(Graph.compress(c)))).simulate(document,"_blank")}),null,mxResources.get("save"),mxResources.get("cancel"))}))}else{if("none"==c.style.display){if(b)a.appendChild(e);else if(b=!0,null!=d){null!=e.parentNode&&e.parentNode.removeChild(e); -a.style.cursor="wait";var k=a.innerHTML;a.innerHTML=mxResources.get("loading")+"...";window.setTimeout(function(){d(c);a.style.cursor="";a.innerHTML=k;a.appendChild(e)},0)}else a.appendChild(e);a.style.backgroundImage="url('"+this.expandedImage+"')";c.style.display="block"}else a.style.backgroundImage="url('"+this.collapsedImage+"')",c.style.display="none",null!=e.parentNode&&e.parentNode.removeChild(e);mxEvent.consume(f)}}))});Sidebar.prototype.extractShapeStyle=function(a){if(null!=a&&"shape="== -a.substring(0,6)){var c=a.indexOf(";");0>c&&(c=a.length);return a.substring(6,c)}return null};var b=Sidebar.prototype.getTagsForStencil;Sidebar.prototype.getTagsForStencil=function(a,c,d){var e=b.apply(this,arguments);null!=this.shapetags&&(a=a.toLowerCase(),c=c.toLowerCase(),null!=this.shapetags[a]&&e.push(this.shapetags[a]),c=a+"."+c,null!=this.shapetags[c]&&e.push(this.shapetags[c]));return e};Sidebar.prototype.addTagIndex=function(a){a=a.split("\n");for(var c=0;c<a.length;c++)if(null!=a[c]){var d= -a[c].split("\t");if(1<d.length){var b=d[0].toLowerCase().replace(" ","_"),d=mxUtils.trim(d.slice(1,d.length).join(" ").toLowerCase());0<d.length&&(this.shapetags[b]=d)}}};Sidebar.prototype.addSearchFileData=function(a){if(null!=a){a=a.getElementsByTagName("shape");for(var c=0;c<a.length;c++){var d=a[c].getAttribute("style"),b=this.extractShapeStyle(d);if(null!=d&&null!=b){var e=b.lastIndexOf(".");if(0<e){var f=b.substring(0,e),b=b.substring(e+1,b.length),e=this.getTagsForStencil(f,b,a[c].getAttribute("tags")); -if(null!=e){var q=d.indexOf(";"),d="shape="+f+"."+b.toLowerCase()+";"+(0>q?"":d.substring(q+1));this.createVertexTemplateEntry(d,parseInt(a[c].getAttribute("w")),parseInt(a[c].getAttribute("h")),"",b.replace(/_/g," "),null,null,this.filterTags(e.join(" ")))}}}}}};Sidebar.prototype.initPalettes=function(){var a=GRAPH_IMAGE_PATH,c=STENCIL_PATH,d=this.signs,b=this.rack,e=this.pids,m=this.cisco,q=this.sysml,r=this.eip,n=this.gmdl;"1"==urlParams.createindex&&(mxLog.show(),mxLog.textarea.value="");this.addSearchPalette(!0); -if(null!=this.customEntries)for(var p=0;p<this.customEntries.length;p++)for(var u=this.customEntries[p],t=0;t<u.entries.length;t++)for(var y=u.entries[t],x=0;x<y.libs.length;x++)mxUtils.bind(this,function(a){this.addPalette(y.id+"."+x,this.editorUi.getResource(a.title),!1,mxUtils.bind(this,function(c,d){var b=mxUtils.bind(this,function(a){this.addEntries(a);this.editorUi.addLibraryEntries(a,c)}),e=mxUtils.bind(this,function(a){c.innerHTML="";var d=document.createElement("div");d.style.color="rgb(179, 179, 179)"; -d.style.textAlign="center";d.style.paddingTop="6px";mxUtils.write(d,a);c.appendChild(d)});if(a.data)b(a.data);else{c.style.display="none";d.innerHTML="";mxUtils.write(d,mxResources.get("loading")+"...");var f=a.url;this.editorUi.editor.isCorsEnabledForUrl(f)||(f=PROXY_URL+"?url="+encodeURIComponent(f));this.editorUi.loadUrl(f,mxUtils.bind(this,function(f){c.style.display="block";d.innerHTML="";mxUtils.write(d,this.editorUi.getResource(a.title));try{var g=mxUtils.parseXml(f);if("mxlibrary"==g.documentElement.nodeName){var h= -JSON.parse(mxUtils.getTextContent(g.documentElement));b(h)}else e(mxResources.get("notALibraryFile"))}catch(B){e(mxResources.get("error")+": "+B.message)}}))}}))})(y.libs[x]);this.addGeneralPalette(null==this.customEntries);this.addMiscPalette(!1);this.addAdvancedPalette(!1);this.addBasicPalette();this.addStencilPalette("arrows",mxResources.get("arrows"),c+"/arrows.xml",";html=1;"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_STROKEWIDTH+ +g.parentNode.removeChild(g);var h=d.cloneNode(!0);h.style.backgroundColor="#ffffff";h.style.borderColor="transparent";h.style.width="456px";f=(new DOMParser).parseFromString('<body style="background:#ffffff;font-family:Helvetica,Arial;">'+f.outerHTML+h.outerHTML+"</body>","text/html");this.editorUi.convertImages(f.documentElement,mxUtils.bind(this,function(a){var d='<!DOCTYPE html><html><head><link rel="stylesheet" type="text/css" href="https://www.draw.io/styles/grapheditor.css"></head>'+mxUtils.getXml(a)+ +"</html>";h.style.position="absolute";window.document.body.appendChild(h);var c=h.clientHeight+18;h.parentNode.removeChild(h);this.editorUi.confirm("Image data created",mxUtils.bind(this,function(){(new mxXmlRequest(EXPORT_URL,"w=456&h="+c+"&html="+encodeURIComponent(Graph.compress(d)))).simulate(document,"_blank")}),null,mxResources.get("save"),mxResources.get("cancel"))}))}else{if("none"==d.style.display){if(b)a.appendChild(e);else if(b=!0,null!=c){null!=e.parentNode&&e.parentNode.removeChild(e); +a.style.cursor="wait";var k=a.innerHTML;a.innerHTML=mxResources.get("loading")+"...";window.setTimeout(function(){c(d);a.style.cursor="";a.innerHTML=k;a.appendChild(e)},0)}else a.appendChild(e);a.style.backgroundImage="url('"+this.expandedImage+"')";d.style.display="block"}else a.style.backgroundImage="url('"+this.collapsedImage+"')",d.style.display="none",null!=e.parentNode&&e.parentNode.removeChild(e);mxEvent.consume(f)}}))});Sidebar.prototype.extractShapeStyle=function(a){if(null!=a&&"shape="== +a.substring(0,6)){var d=a.indexOf(";");0>d&&(d=a.length);return a.substring(6,d)}return null};var b=Sidebar.prototype.getTagsForStencil;Sidebar.prototype.getTagsForStencil=function(a,d,c){var e=b.apply(this,arguments);null!=this.shapetags&&(a=a.toLowerCase(),d=d.toLowerCase(),null!=this.shapetags[a]&&e.push(this.shapetags[a]),d=a+"."+d,null!=this.shapetags[d]&&e.push(this.shapetags[d]));return e};Sidebar.prototype.addTagIndex=function(a){a=a.split("\n");for(var d=0;d<a.length;d++)if(null!=a[d]){var c= +a[d].split("\t");if(1<c.length){var b=c[0].toLowerCase().replace(" ","_"),c=mxUtils.trim(c.slice(1,c.length).join(" ").toLowerCase());0<c.length&&(this.shapetags[b]=c)}}};Sidebar.prototype.addSearchFileData=function(a){if(null!=a){a=a.getElementsByTagName("shape");for(var d=0;d<a.length;d++){var c=a[d].getAttribute("style"),b=this.extractShapeStyle(c);if(null!=c&&null!=b){var e=b.lastIndexOf(".");if(0<e){var f=b.substring(0,e),b=b.substring(e+1,b.length),e=this.getTagsForStencil(f,b,a[d].getAttribute("tags")); +if(null!=e){var q=c.indexOf(";"),c="shape="+f+"."+b.toLowerCase()+";"+(0>q?"":c.substring(q+1));this.createVertexTemplateEntry(c,parseInt(a[d].getAttribute("w")),parseInt(a[d].getAttribute("h")),"",b.replace(/_/g," "),null,null,this.filterTags(e.join(" ")))}}}}}};Sidebar.prototype.initPalettes=function(){var a=GRAPH_IMAGE_PATH,d=STENCIL_PATH,c=this.signs,b=this.rack,e=this.pids,m=this.cisco,q=this.sysml,r=this.eip,n=this.gmdl;"1"==urlParams.createindex&&(mxLog.show(),mxLog.textarea.value="");this.addSearchPalette(!0); +if(null!=this.customEntries)for(var p=0;p<this.customEntries.length;p++)for(var u=this.customEntries[p],t=0;t<u.entries.length;t++)for(var y=u.entries[t],x=0;x<y.libs.length;x++)mxUtils.bind(this,function(a){this.addPalette(y.id+"."+x,this.editorUi.getResource(a.title),!1,mxUtils.bind(this,function(d,c){var b=mxUtils.bind(this,function(a){this.addEntries(a);this.editorUi.addLibraryEntries(a,d)}),e=mxUtils.bind(this,function(a){d.innerHTML="";var c=document.createElement("div");c.style.color="rgb(179, 179, 179)"; +c.style.textAlign="center";c.style.paddingTop="6px";mxUtils.write(c,a);d.appendChild(c)});if(a.data)b(a.data);else{d.style.display="none";c.innerHTML="";mxUtils.write(c,mxResources.get("loading")+"...");var f=a.url;this.editorUi.editor.isCorsEnabledForUrl(f)||(f=PROXY_URL+"?url="+encodeURIComponent(f));this.editorUi.loadUrl(f,mxUtils.bind(this,function(f){d.style.display="block";c.innerHTML="";mxUtils.write(c,this.editorUi.getResource(a.title));try{var g=mxUtils.parseXml(f);if("mxlibrary"==g.documentElement.nodeName){var h= +JSON.parse(mxUtils.getTextContent(g.documentElement));b(h)}else e(mxResources.get("notALibraryFile"))}catch(B){e(mxResources.get("error")+": "+B.message)}}))}}))})(y.libs[x]);this.addGeneralPalette(null==this.customEntries);this.addMiscPalette(!1);this.addAdvancedPalette(!1);this.addBasicPalette();this.addStencilPalette("arrows",mxResources.get("arrows"),d+"/arrows.xml",";html=1;"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_STROKEWIDTH+ "=2;strokeColor=#000000;");this.addArrows2Palette();this.addImagePalette("computer","Clipart / Computer",a+"/lib/clip_art/computers/","_128x128.png","Antivirus Data_Filtering Database Database_Add Database_Minus Database_Move_Stack Database_Remove Fujitsu_Tablet Harddrive IBM_Tablet iMac iPad Laptop MacBook Mainframe Monitor Monitor_Tower Monitor_Tower_Behind Netbook Network Network_2 Printer Printer_Commercial Secure_System Server Server_Rack Server_Rack_Empty Server_Rack_Partial Server_Tower Software Stylus Touch USB_Hub Virtual_Application Virtual_Machine Virus Workstation".split(" "), "Antivirus;Data Filtering;Database;Database Add;Database Minus;Database Move Stack;Database Remove;Fujitsu Tablet;Harddrive;IBMTablet;iMac;iPad;Laptop;MacBook;Mainframe;Monitor;Monitor Tower;Monitor Tower Behind;Netbook;Network;Network 2;Printer;Printer Commercial;Secure System;Server;Server Rack;Server Rack Empty;Server Rack Partial;Server Tower;Software;Stylus;Touch;USB Hub;Virtual Application;Virtual Machine;Virus;Workstation".split(";"));this.addImagePalette("finance","Clipart / Finance",a+"/lib/clip_art/finance/", "_128x128.png","Arrow_Down Arrow_Up Coins Credit_Card Dollar Graph Pie_Chart Piggy_Bank Safe Shopping_Cart Stock_Down Stock_Up".split(" "),"Arrow_Down;Arrow Up;Coins;Credit Card;Dollar;Graph;Pie Chart;Piggy Bank;Safe;Shopping Basket;Stock Down;Stock Up".split(";"));this.addImagePalette("clipart","Clipart / Various",a+"/lib/clip_art/general/","_128x128.png","Battery_0 Battery_100 Battery_50 Battery_75 Battery_allstates Bluetooth Earth_globe Empty_Folder Full_Folder Gear Keys Lock Mouse_Pointer Plug Ships_Wheel Star Tire".split(" "), @@ -3412,20 +3412,20 @@ JSON.parse(mxUtils.getTextContent(g.documentElement));b(h)}else e(mxResources.ge "Bridge;Certificate;Certificate Off;Cloud;Cloud Computer;Cloud Computer Private;Cloud Rack;Cloud Rack Private;Cloud Server;Cloud Server Private;Cloud Storage;Concentrator;Email;Firewall 1;Firewall 2;Firewall;Camera;Modem;Power Distribution Unit;Print Server;Print Server Wireless;Repeater;Router;Router Icon;Switch;UPS;Wireless Router;Wireless Router N".split(";"),{Wireless_Router:"wireless router switch wap wifi access point wlan",Wireless_Router_N:"wireless router switch wap wifi access point wlan", Router:"router switch",Router_Icon:"router switch"});this.addImagePalette("people","Clipart / People",a+"/lib/clip_art/people/","_128x128.png","Suit_Man Suit_Man_Black Suit_Man_Blue Suit_Man_Green Suit_Man_Green_Black Suit_Woman Suit_Woman_Black Suit_Woman_Blue Suit_Woman_Green Suit_Woman_Green_Black Construction_Worker_Man Construction_Worker_Man_Black Construction_Worker_Woman Construction_Worker_Woman_Black Doctor_Man Doctor_Man_Black Doctor_Woman Doctor_Woman_Black Farmer_Man Farmer_Man_Black Farmer_Woman Farmer_Woman_Black Nurse_Man Nurse_Man_Black Nurse_Woman Nurse_Woman_Black Military_Officer Military_Officer_Black Military_Officer_Woman Military_Officer_Woman_Black Pilot_Man Pilot_Man_Black Pilot_Woman Pilot_Woman_Black Scientist_Man Scientist_Man_Black Scientist_Woman Scientist_Woman_Black Security_Man Security_Man_Black Security_Woman Security_Woman_Black Tech_Man Tech_Man_Black Telesales_Man Telesales_Man_Black Telesales_Woman Telesales_Woman_Black Waiter Waiter_Black Waiter_Woman Waiter_Woman_Black Worker_Black Worker_Man Worker_Woman Worker_Woman_Black".split(" ")); this.addImagePalette("telco","Clipart / Telecommunication",a+"/lib/clip_art/telecommunication/","_128x128.png","BlackBerry Cellphone HTC_smartphone iPhone Palm_Treo Signal_tower_off Signal_tower_on".split(" "),"BlackBerry;Cellphone;HTC smartphone;iPhone;Palm Treo;Signaltower off;Signaltower on".split(";"));this.addFlowchartPalette();this.addActiveDirectoryPalette();this.addAndroidPalette();this.addAtlassianPalette();this.addBootstrapPalette();this.addDFDPalette();this.addErPalette();this.addIos7Palette(); -this.addIosPalette();this.addMockupPalette();this.addSitemapPalette();this.addUmlPalette(!1);this.addAlliedTelesisPalette();this.addAWS3Palette();this.addAWS4bPalette();this.addAWS4Palette();this.addAWS3DPalette();this.addAzurePalette();this.addMSCAEPalette();for(p=0;p<m.length;p++)this.addStencilPalette("cisco"+m[p],"Cisco / "+m[p],c+"/cisco/"+m[p].toLowerCase().replace(/ /g,"_")+".xml",";html=1;pointerEvents=1;dashed=0;fillColor=#036897;strokeColor=#ffffff;strokeWidth=2;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;", -null,null,1.6);this.addCiscoSafePalette();this.addCumulusPalette();this.addCitrixPalette();this.addGCP2Palette();this.addIBMPalette();this.addNetworkPalette();this.addOfficePalette();for(p=0;p<b.length;p++)"general"===b[p].toLowerCase()?this.addRackGeneralPalette():"f5"===b[p].toLowerCase()?this.addRackF5Palette():"dell"===b[p].toLowerCase()?this.addRackDellPalette():this.addStencilPalette("rack"+b[p],"Rack / "+b[p],c+"/rack/"+b[p].toLowerCase()+".xml",";html=1;labelPosition=right;align=left;spacingLeft=15;dashed=0;shadow=0;fillColor=#ffffff;"); -this.addVeeamPalette();this.addVVDPalette();this.addArchimate3Palette();this.addArchiMatePalette();this.addBpmnPalette(c,!1);this.addLeanMappingPalette();for(p=0;p<q.length;p++)"Model Elements"==q[p]?this.addSysMLModelElementsPalette():"Blocks"==q[p]?this.addSysMLBlocksPalette():"Ports and Flows"==q[p]?this.addSysMLPortsAndFlowsPalette():"Constraint Blocks"==q[p]?this.addSysMLConstraintBlocksPalette():"Activities"==q[p]?this.addSysMLActivitiesPalette():"Interactions"==q[p]?this.addSysMLInteractionsPalette(): +this.addIosPalette();this.addMockupPalette();this.addSitemapPalette();this.addUmlPalette(!1);this.addAlliedTelesisPalette();this.addAWS3Palette();this.addAWS4bPalette();this.addAWS4Palette();this.addAWS3DPalette();this.addAzurePalette();this.addMSCAEPalette();for(p=0;p<m.length;p++)this.addStencilPalette("cisco"+m[p],"Cisco / "+m[p],d+"/cisco/"+m[p].toLowerCase().replace(/ /g,"_")+".xml",";html=1;pointerEvents=1;dashed=0;fillColor=#036897;strokeColor=#ffffff;strokeWidth=2;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;", +null,null,1.6);this.addCiscoSafePalette();this.addCumulusPalette();this.addCitrixPalette();this.addGCP2Palette();this.addIBMPalette();this.addNetworkPalette();this.addOfficePalette();for(p=0;p<b.length;p++)"general"===b[p].toLowerCase()?this.addRackGeneralPalette():"f5"===b[p].toLowerCase()?this.addRackF5Palette():"dell"===b[p].toLowerCase()?this.addRackDellPalette():this.addStencilPalette("rack"+b[p],"Rack / "+b[p],d+"/rack/"+b[p].toLowerCase()+".xml",";html=1;labelPosition=right;align=left;spacingLeft=15;dashed=0;shadow=0;fillColor=#ffffff;"); +this.addVeeamPalette();this.addVVDPalette();this.addArchimate3Palette();this.addArchiMatePalette();this.addBpmnPalette(d,!1);this.addLeanMappingPalette();for(p=0;p<q.length;p++)"Model Elements"==q[p]?this.addSysMLModelElementsPalette():"Blocks"==q[p]?this.addSysMLBlocksPalette():"Ports and Flows"==q[p]?this.addSysMLPortsAndFlowsPalette():"Constraint Blocks"==q[p]?this.addSysMLConstraintBlocksPalette():"Activities"==q[p]?this.addSysMLActivitiesPalette():"Interactions"==q[p]?this.addSysMLInteractionsPalette(): "State Machines"==q[p]?this.addSysMLStateMachinesPalette():"Use Cases"==q[p]?this.addSysMLUseCasesPalette():"Allocations"==q[p]?this.addSysMLAllocationsPalette():"Requirements"==q[p]?this.addSysMLRequirementsPalette():"Profiles"==q[p]?this.addSysMLProfilesPalette():"Stereotypes"==q[p]&&this.addSysMLStereotypesPalette();this.addCabinetsPalette();this.addInfographicPalette();for(p=0;p<r.length;p++)"Message Construction"==r[p]?this.addEipMessageConstructionPalette():"Message Routing"==r[p]?this.addEipMessageRoutingPalette(): "Message Transformation"==r[p]?this.addEipMessageTransformationPalette():"Messaging Channels"==r[p]?this.addEipMessagingChannelsPalette():"Messaging Endpoints"==r[p]?this.addEipMessagingEndpointsPalette():"Messaging Systems"==r[p]?this.addEipMessagingSystemsPalette():"System Management"==r[p]&&this.addEipSystemManagementPalette();this.addElectricalPalette();this.addFloorplanPalette();for(p=0;p<n.length;p++)"Bottom Navigation"==n[p]?this.addGMDLBottomNavigationPalette():"Bottom Sheets"==n[p]?this.addGMDLBottomSheetsPalette(): "Buttons"==n[p]?this.addGMDLButtonsPalette():"Cards"==n[p]?this.addGMDLCardsPalette():"Chips"==n[p]?this.addGMDLChipsPalette():"Dialogs"==n[p]?this.addGMDLDialogsPalette():"Dividers"==n[p]?this.addGMDLDividersPalette():"Grid Lists"==n[p]?this.addGMDLGridListsPalette():"Icons"==n[p]?this.addGMDLIconsPalette():"Lists"==n[p]?this.addGMDLListsPalette():"Menus"==n[p]?this.addGMDLMenusPalette():"Misc"==n[p]?this.addGMDLMiscPalette():"Pickers"==n[p]?this.addGMDLPickersPalette():"Selection Controls"==n[p]? this.addGMDLSelectionControlsPalette():"Sliders"==n[p]?this.addGMDLSlidersPalette():"Steppers"==n[p]?this.addGMDLSteppersPalette():"Tabs"==n[p]?this.addGMDLTabsPalette():"Text Fields"==n[p]&&this.addGMDLTextFieldsPalette();for(p=0;p<e.length;p++)"Instruments"==e[p]?this.addPidInstrumentsPalette():"Misc"==e[p]?this.addPidMiscPalette():"Valves"==e[p]?this.addPidValvesPalette():"Compressors"==e[p]?this.addPidCompressorsPalette():"Engines"==e[p]?this.addPidEnginesPalette():"Filters"==e[p]?this.addPidFiltersPalette(): -"Flow Sensors"==e[p]?this.addPidFlowSensorsPalette():"Piping"==e[p]?this.addPidPipingPalette():this.addStencilPalette("pid"+e[p],"Proc. Eng. / "+e[p],c+"/pid/"+e[p].toLowerCase().replace(" ","_")+".xml",";html=1;pointerEvents=1;align=center;"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;dashed=0;");this.addWebIconsPalette();this.addWebLogosPalette();for(p=0;p<d.length;p++)this.addStencilPalette("signs"+d[p],"Signs / "+d[p],c+"/signs/"+d[p].toLowerCase()+ -".xml",";html=1;pointerEvents=1;fillColor=#000000;strokeColor=none;verticalLabelPosition=bottom;verticalAlign=top;align=center;");this.showEntries()};if("1"==urlParams.createindex){var e=Sidebar.prototype.addStencilPalette;Sidebar.prototype.addStencilPalette=function(a,c,d,b,l,m,q,r){e.apply(this,arguments);q=null!=q?q:1;mxStencilRegistry.loadStencilSet(d,mxUtils.bind(this,function(a,c,d,e,f){if(null==l||0>mxUtils.indexOf(l,c))d=null!=r?r[c]:null,mxLog.debug('<shape style="shape='+a+c+b+'" w="'+Math.round(e* -q)+'" h="'+Math.round(f*q)+'"'+(null!=d?' tags="'+d+'"':"")+"/>")}),!0)}}var c=Sidebar.prototype.searchEntries;Sidebar.prototype.searchEntries=function(a,d,b,e,l){var f=e;null!=this.searchFileData&&(this.addSearchFileData(mxUtils.parseXml(Graph.decompress(this.searchFileData)).documentElement),this.searchFileData=null);this.editorUi.isOffline()||0!=b||EditorUi.logEvent({category:"Shape",action:"search",label:a});null!=ICONSEARCH_PATH&&(e=mxUtils.bind(this,function(c,e,g,h){!this.editorUi.isOffline()&& -c.length<=d/4?(g=b-Math.ceil((e-d/4)/d),mxUtils.get(ICONSEARCH_PATH+"?q="+encodeURIComponent(a)+"&p="+g+"&c="+d,mxUtils.bind(this,function(a){try{if(200<=a.getStatus()&&299>=a.getStatus())if(null!=a.getText()&&0<a.getText().length)try{var g=JSON.parse(a.getText());if(null==g||null==g.icons)f(c,e,!1,h),this.editorUi.handleError(g);else{for(a=0;a<g.icons.length;a++){for(var k=g.icons[a].raster_sizes,l=k.length-1;0<l&&128<k[l].size;)l--;var m=k[l].size,q=k[l].formats[0].preview_url;null!=m&&null!=q&& -mxUtils.bind(this,function(a,d){c.push(mxUtils.bind(this,function(){return this.createVertexTemplate("shape=image;html=1;verticalAlign=top;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;imageAspect=0;aspect=fixed;image="+d,a,a,"")}))})(m,q)}f(c,(b-1)*d+c.length,g.icons.length==d,h)}}catch(z){f(c,e,!1,h),this.editorUi.handleError(z)}else f(c,e,!1,h);else f(c,e,!1,h),this.editorUi.handleError({message:mxResources.get("unknownError")})}catch(z){f(c,e,!1,h),this.editorUi.handleError(z)}},function(){f(c, -e,!1,h)}))):f(c,e,g||!this.editorUi.isOffline(),h)}));c.apply(this,arguments)};var d=Sidebar.prototype.itemClicked;Sidebar.prototype.itemClicked=function(a,c,b){var e=this.editorUi.editor.graph,f=!1;if(null!=a&&1==e.getSelectionCount()&&e.getModel().isVertex(a[0])){var g=e.cloneCell(a[0]);if(e.getModel().isEdge(e.getSelectionCell())&&null==e.getModel().getTerminal(e.getSelectionCell(),!1)&&e.getModel().isVertex(g)){e.getModel().beginUpdate();try{var h=e.view.getState(e.getSelectionCell());if(null!= -h){var r=e.view.translate,n=e.view.scale,p=h.absolutePoints[h.absolutePoints.length-1];g.geometry.x=p.x/n-r.x-g.geometry.width/2;g.geometry.y=p.y/n-r.y-g.geometry.height/2}e.addCell(g);e.getModel().setTerminal(e.getSelectionCell(),g,!1)}finally{e.getModel().endUpdate()}e.scrollCellToVisible(g);e.setSelectionCell(g);f=!0}}f||d.apply(this,arguments)}})();(function(){Sidebar.prototype.addActiveDirectoryPalette=function(){var a=[this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/active_directory.svg;",50,42.5,"","Active Directory",!1,null,this.getTagsForStencil("ms active directory ","active directory","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/cd_dvd.svg;", +"Flow Sensors"==e[p]?this.addPidFlowSensorsPalette():"Piping"==e[p]?this.addPidPipingPalette():this.addStencilPalette("pid"+e[p],"Proc. Eng. / "+e[p],d+"/pid/"+e[p].toLowerCase().replace(" ","_")+".xml",";html=1;pointerEvents=1;align=center;"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;dashed=0;");this.addWebIconsPalette();this.addWebLogosPalette();for(p=0;p<c.length;p++)this.addStencilPalette("signs"+c[p],"Signs / "+c[p],d+"/signs/"+c[p].toLowerCase()+ +".xml",";html=1;pointerEvents=1;fillColor=#000000;strokeColor=none;verticalLabelPosition=bottom;verticalAlign=top;align=center;");this.showEntries()};if("1"==urlParams.createindex){var e=Sidebar.prototype.addStencilPalette;Sidebar.prototype.addStencilPalette=function(a,d,c,b,l,m,q,r){e.apply(this,arguments);q=null!=q?q:1;mxStencilRegistry.loadStencilSet(c,mxUtils.bind(this,function(a,d,c,e,f){if(null==l||0>mxUtils.indexOf(l,d))c=null!=r?r[d]:null,mxLog.debug('<shape style="shape='+a+d+b+'" w="'+Math.round(e* +q)+'" h="'+Math.round(f*q)+'"'+(null!=c?' tags="'+c+'"':"")+"/>")}),!0)}}var d=Sidebar.prototype.searchEntries;Sidebar.prototype.searchEntries=function(a,c,b,e,l){var f=e;null!=this.searchFileData&&(this.addSearchFileData(mxUtils.parseXml(Graph.decompress(this.searchFileData)).documentElement),this.searchFileData=null);this.editorUi.isOffline()||0!=b||EditorUi.logEvent({category:"Shape",action:"search",label:a});null!=ICONSEARCH_PATH&&(e=mxUtils.bind(this,function(d,e,g,h){!this.editorUi.isOffline()&& +d.length<=c/4?(g=b-Math.ceil((e-c/4)/c),mxUtils.get(ICONSEARCH_PATH+"?q="+encodeURIComponent(a)+"&p="+g+"&c="+c,mxUtils.bind(this,function(a){try{if(200<=a.getStatus()&&299>=a.getStatus())if(null!=a.getText()&&0<a.getText().length)try{var g=JSON.parse(a.getText());if(null==g||null==g.icons)f(d,e,!1,h),this.editorUi.handleError(g);else{for(a=0;a<g.icons.length;a++){for(var k=g.icons[a].raster_sizes,l=k.length-1;0<l&&128<k[l].size;)l--;var m=k[l].size,q=k[l].formats[0].preview_url;null!=m&&null!=q&& +mxUtils.bind(this,function(a,c){d.push(mxUtils.bind(this,function(){return this.createVertexTemplate("shape=image;html=1;verticalAlign=top;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;imageAspect=0;aspect=fixed;image="+c,a,a,"")}))})(m,q)}f(d,(b-1)*c+d.length,g.icons.length==c,h)}}catch(z){f(d,e,!1,h),this.editorUi.handleError(z)}else f(d,e,!1,h);else f(d,e,!1,h),this.editorUi.handleError({message:mxResources.get("unknownError")})}catch(z){f(d,e,!1,h),this.editorUi.handleError(z)}},function(){f(d, +e,!1,h)}))):f(d,e,g||!this.editorUi.isOffline(),h)}));d.apply(this,arguments)};var c=Sidebar.prototype.itemClicked;Sidebar.prototype.itemClicked=function(a,d,b){var e=this.editorUi.editor.graph,f=!1;if(null!=a&&1==e.getSelectionCount()&&e.getModel().isVertex(a[0])){var g=e.cloneCell(a[0]);if(e.getModel().isEdge(e.getSelectionCell())&&null==e.getModel().getTerminal(e.getSelectionCell(),!1)&&e.getModel().isVertex(g)){e.getModel().beginUpdate();try{var h=e.view.getState(e.getSelectionCell());if(null!= +h){var r=e.view.translate,n=e.view.scale,p=h.absolutePoints[h.absolutePoints.length-1];g.geometry.x=p.x/n-r.x-g.geometry.width/2;g.geometry.y=p.y/n-r.y-g.geometry.height/2}e.addCell(g);e.getModel().setTerminal(e.getSelectionCell(),g,!1)}finally{e.getModel().endUpdate()}e.scrollCellToVisible(g);e.setSelectionCell(g);f=!0}}f||c.apply(this,arguments)}})();(function(){Sidebar.prototype.addActiveDirectoryPalette=function(){var a=[this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/active_directory.svg;",50,42.5,"","Active Directory",!1,null,this.getTagsForStencil("ms active directory ","active directory","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/cd_dvd.svg;", 50,50,"","CD / DVD",!1,null,this.getTagsForStencil("ms active directory ","cd dvd compact digital video disc","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/cell_phone.svg;",21,50,"","Cell Phone",!1,null,this.getTagsForStencil("ms active directory ","cell phone","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/cluster_server.svg;", 50,50,"","Cluster Server",!1,null,this.getTagsForStencil("ms active directory ","active","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/community_discussion.svg;",50,45,"","Community Discussion",!1,null,this.getTagsForStencil("ms active directory ","community discussion","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/data_jack.svg;", 50*.55,50,"","Data Jack",!1,null,this.getTagsForStencil("ms active directory ","data jack","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/database.svg;",50,37,"","Database",!1,null,this.getTagsForStencil("ms active directory ","database","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/database_cube.svg;", @@ -3459,98 +3459,98 @@ h){var r=e.view.translate,n=e.view.scale,p=h.absolutePoints[h.absolutePoints.len 40,50,"","Windows Router",!1,null,this.getTagsForStencil("ms active directory ","windows router","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/windows_server.svg;",41,50,"","Windows Server",!1,null,this.getTagsForStencil("ms active directory ","windows server","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/windows_server_2.svg;", 40,50,"","Windows Server",!1,null,this.getTagsForStencil("ms active directory ","windows server","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/wiring_hub.svg;",50,34,"","Wiring Hub",!1,null,this.getTagsForStencil("ms active directory ","wiring hub","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/workspace_site.svg;", 50,48.5,"","Workspace Site",!1,null,this.getTagsForStencil("ms active directory ","workspace site","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/workstation_client.svg;",42.5,50,"","Workstation Client",!1,null,this.getTagsForStencil("ms active directory ","workstation client","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/writer.svg;", -48,50,"","Writer",!1,null,this.getTagsForStencil("ms active directory ","writer","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/writing.svg;",49,50,"","Writing",!1,null,this.getTagsForStencil("ms active directory ","writing","ibm").join(" "))];this.addPalette("active_directory","Active Directory",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))}})();(function(){var a=Sidebar.prototype.createAdvancedShapes;Sidebar.prototype.createAdvancedShapes=function(){var b=a.apply(this,arguments),e=this,c=new mxCell("Vertical Flow Layout",new mxGeometry(0,0,270,280),"swimlane;html=1;startSize=20;horizontal=1;childLayout=flowLayout;flowOrientation=north;resizable=0;interRankCellSpacing=50;containerType=tree;");c.vertex=!0;var d=new mxCell("Start",new mxGeometry(20,20,100,40),"whiteSpace=wrap;html=1;");d.vertex=!0;c.insert(d);var f=new mxCell("Task",new mxGeometry(20, -20,100,40),"whiteSpace=wrap;html=1;");f.vertex=!0;c.insert(f);var g=new mxCell("",new mxGeometry(0,0,0,0),"html=1;curved=1;");g.geometry.relative=!0;g.edge=!0;d.insertEdge(g,!0);f.insertEdge(g,!1);c.insert(g);var h=new mxCell("Task",new mxGeometry(20,20,100,40),"whiteSpace=wrap;html=1;");h.vertex=!0;c.insert(h);g=g.clone();d.insertEdge(g,!0);h.insertEdge(g,!1);c.insert(g);d=new mxCell("End",new mxGeometry(20,20,100,40),"whiteSpace=wrap;html=1;");d.vertex=!0;c.insert(d);g=g.clone();f.insertEdge(g, -!0);d.insertEdge(g,!1);c.insert(g);g=g.clone();h.insertEdge(g,!0);d.insertEdge(g,!1);c.insert(g);return b.concat([this.addDataEntry("container swimlane pool horizontal",480,380,"Horizontal Pool 1","zZRLbsIwEIZP4709TlHXhJYNSEicwCIjbNWJkWNKwumZxA6IlrRUaisWlmb+eX8LM5mXzdyrnV66Ai2TL0zm3rkQrbLJ0VoG3BRMzhgAp8fgdSQq+ijfKY9VuKcAYsG7snuMyso5G8U6tDaJ9cGUVlXkTXUoacuZIHOjjS0WqnX7blYd1OZt8KYea3PE1bCI+CAtVUMq7/o5b46uCmroSn18WFMm+XCdse5GpLq0OPqAzejxvZQun6MrMfiWUg6mCDpmZM8RENdotjqVyUFUdRS259oLSzISztto5Se0i44gcHEn3i9A/IQB3GbQpmi69DskAn4BSTaGBB4Jicj+k8nTGBP5SExg8odMyL38eH3s6kM8AQ=="), +48,50,"","Writer",!1,null,this.getTagsForStencil("ms active directory ","writer","ibm").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;spacingTop=3;image;image=img/lib/active_directory/writing.svg;",49,50,"","Writing",!1,null,this.getTagsForStencil("ms active directory ","writing","ibm").join(" "))];this.addPalette("active_directory","Active Directory",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))}})();(function(){var a=Sidebar.prototype.createAdvancedShapes;Sidebar.prototype.createAdvancedShapes=function(){var b=a.apply(this,arguments),e=this,d=new mxCell("Vertical Flow Layout",new mxGeometry(0,0,270,280),"swimlane;html=1;startSize=20;horizontal=1;childLayout=flowLayout;flowOrientation=north;resizable=0;interRankCellSpacing=50;containerType=tree;");d.vertex=!0;var c=new mxCell("Start",new mxGeometry(20,20,100,40),"whiteSpace=wrap;html=1;");c.vertex=!0;d.insert(c);var f=new mxCell("Task",new mxGeometry(20, +20,100,40),"whiteSpace=wrap;html=1;");f.vertex=!0;d.insert(f);var g=new mxCell("",new mxGeometry(0,0,0,0),"html=1;curved=1;");g.geometry.relative=!0;g.edge=!0;c.insertEdge(g,!0);f.insertEdge(g,!1);d.insert(g);var h=new mxCell("Task",new mxGeometry(20,20,100,40),"whiteSpace=wrap;html=1;");h.vertex=!0;d.insert(h);g=g.clone();c.insertEdge(g,!0);h.insertEdge(g,!1);d.insert(g);c=new mxCell("End",new mxGeometry(20,20,100,40),"whiteSpace=wrap;html=1;");c.vertex=!0;d.insert(c);g=g.clone();f.insertEdge(g, +!0);c.insertEdge(g,!1);d.insert(g);g=g.clone();h.insertEdge(g,!0);c.insertEdge(g,!1);d.insert(g);return b.concat([this.addDataEntry("container swimlane pool horizontal",480,380,"Horizontal Pool 1","zZRLbsIwEIZP4709TlHXhJYNSEicwCIjbNWJkWNKwumZxA6IlrRUaisWlmb+eX8LM5mXzdyrnV66Ai2TL0zm3rkQrbLJ0VoG3BRMzhgAp8fgdSQq+ijfKY9VuKcAYsG7snuMyso5G8U6tDaJ9cGUVlXkTXUoacuZIHOjjS0WqnX7blYd1OZt8KYea3PE1bCI+CAtVUMq7/o5b46uCmroSn18WFMm+XCdse5GpLq0OPqAzejxvZQun6MrMfiWUg6mCDpmZM8RENdotjqVyUFUdRS259oLSzISztto5Se0i44gcHEn3i9A/IQB3GbQpmi69DskAn4BSTaGBB4Jicj+k8nTGBP5SExg8odMyL38eH3s6kM8AQ=="), this.addDataEntry("container swimlane pool horizontal",480,360,"Horizontal Pool 2","zZTBbsIwDIafJvfU6dDOlI0LSEg8QUQtEi1tUBJGy9PPbcJQWTsxaZs4VLJ//07sT1WYKKpm6eRBrW2JhokXJgpnbYhR1RRoDAOuSyYWDIDTx+B1opr1VX6QDutwTwPEhndpjhiVjbUmij60Jon+pCsja8rmKlQ05SKjcKe0KVeytcfuLh/k7u2SzR16fcbNZZDsRlrLhlTenWedPts6SJMEOseFLTkph6Fj212RbGlwdAGbyeV7KW2+RFthcC1ZTroMKjry5wiIK9R7ldrELInSR2H/2XtlSUHCOY5WfEG76ggCz+7E+w2InzCAcQapIf0fAySzESQZ/AKSfAoJPCKS9mbzf0H0NIVIPDAiyP8QEaXX97CvDZ7LDw=="),this.addDataEntry("container swimlane pool horizontal", 360,480,"Vertical Pool 1","xZRBbsIwEEVP4709ThFrQssGJKSewCIjbNXGyDEl4fSdxKa0NJFQVTULSzP/e+T5b2EmS9esgjrqja/QMvnMZBm8j6lyTYnWMuCmYnLJADgdBi8jruhdflQBD/GRAUgD78qeMClb720S69jaLNZn46w6ULfQ0dGWS0HlThtbrVXrT91bdVS7t2u3CFibC26vi4g7aaMaUjmpNBbiKxnUQyfkjTBEbEZT9VKOtELvMIaWrpxNFXW6IWcpOddo9jqPFfMsqjoJ+8/ZGyQqMqdhZvIHs3WHBrh4kNvvIsNw5Da7OdgXAgKGCMz+gEAxRgCmINDcxZ2CyNMYETkhESj+jwi1t1+r9759ah8="),this.addDataEntry("container swimlane pool vertical",380,480,"Vertical Pool 2","xZTPbsIwDMafJvf86dDOlI0LSEg8QUQtEi1pUBJGy9PPbdJ1G1TqhXGoZH/219g/RSGitM3ay5PaugoMEW9ElN65mCLblGAM4VRXRKwI5xQ/wt8nqqyv0pP0UMc5Bp4Mn9KcISk750wSQ2xNFsNFWyNrzJYqWpxyxTA8KG2qjWzduTsrRHn4GLKlh6CvsBsGYX+krWxQpaiizcc9FjDnnaCc11dXR2lyxyjsuyPy3/Lg4CM0k8v3Ut58Dc5C9C22XHQVVeoQrwkQVaCPKtuKQZQhCcdv78gSg4zzPlpxg3bTEeSUzcR7Q2bWyvz+ytmQr8NPAow/ikAxRYA/kQAr/hPByxQC8cxLsHggAkzH56uv/XrdvgA="), this.addDataEntry("vertical tree layout",280,190,"Vertical Tree Layout","5ZXNUoMwEICfhjuQWvVaqL3oxXa8p7ADmQmECUspfXo3JNgirdMZ7UE9MGT/s182E49FxX6leZW/qBSkx5Yei7RSaFfFPgIpvdAXqcdiLwx9+rzw6YI16K1+xTWUeE1AaAN2XDZgNW+gUSTcOG00AP2eeacatI41dtI51q0oJC9JWuRY0M7jgJY1co1rcTBOVJtsSouDKpEPHkkuZOpyshipxiCc+PalWWwSaKjFgW/lICfGQZSgN10FLgOpXSO0e9hfhNGrHIkVqAJQd+TSihRzB+TBAvNzEFk+hD06Ja+tIvuIPbKlhcN7HjWboH41x/wZa5sLhHXFEyO3NBhjvle1GZ5v0wW4kfC7sXgCIfDPQJj9AIPZhEFkpoFUwf8CcTcBMekf0gzWTgS5Ve3yqFj0CjLshts6YqNVU6aQugtjM5t0X3Oi6qrRCYzGla5zBnhyelOaGiRHsRtn/w6c+cUpmVL601Ny/xunZH6bKSHx+Cz2ttGr+Q4="), this.addDataEntry("horizontal tree layout",310,160,"Horizontal Tree Layout","5ZXNUoMwEMefJncgtd4LVQ96sX2BtOxAZgJhwlJKn94NSQWkdTqjHtQDQ/a/X+THZsJ4XBwfjajyF52CYnzNeGy0RrcqjjEoxaJApownLIoCelj0cMUb9t6gEgZKvCUhcgkHoRpwypM28qRLFDZsawDo9Sw63aALrbFTPrRuZaFESdYqx4K+PQlpWaMwuJEnG0TdyTdU5IkV9rlUqa/JE6QeZ2MU27d2FQ3U8iR2fds+3wbIEsy2q8BXINlvBQzC8SqOXvIsHkEXgKajkFammLsIHjpkQQ4yy89pSy+K2gnZe+5AlxYe8GXYfAb71f7oj1jbXCJsKrG3dkujMeV70zajy9v0CX4ogm5qjiCEwQUIi29gsJgxiO00kBT+LxB3MxCz/UOawcaboHa6XQ/CqhfIMT5dYzpGN2UKqT8yrrYt+Dkp6q8bs4fJwNKBzgBH/2/O04ASKA/T6l/Bs7w6J3NOf3pO7n/nnCx/Zk7IHC7H3je5O98A"), -this.addEntry("vertical flow layout",function(){return e.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Vertical Flow Layout",!0)}),this.addEntry("horizontal flow layout",function(){var a=e.graph.cloneCell(c);a.geometry=new mxGeometry(0,0,460,150);a.style="swimlane;html=1;startSize=20;horizontal=0;childLayout=flowLayout;flowOrientation=west;resizable=0;interRankCellSpacing=50;containerType=tree;";a.value="Horizontal Flow Layout";return e.createVertexTemplateFromCells([a],a.geometry.width, +this.addEntry("vertical flow layout",function(){return e.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Vertical Flow Layout",!0)}),this.addEntry("horizontal flow layout",function(){var a=e.graph.cloneCell(d);a.geometry=new mxGeometry(0,0,460,150);a.style="swimlane;html=1;startSize=20;horizontal=0;childLayout=flowLayout;flowOrientation=west;resizable=0;interRankCellSpacing=50;containerType=tree;";a.value="Horizontal Flow Layout";return e.createVertexTemplateFromCells([a],a.geometry.width, a.geometry.height,"Horizontal Flow Layout",!0)})])}})();(function(){Sidebar.prototype.addAlliedTelesisPalette=function(){this.addAlliedTelesisBuildingsPalette(60,"allied telesis",this,"points=[];aspect=fixed;html=1;align=center;shadow=0;dashed=0;image;image=img/lib/allied_telesis/");this.addAlliedTelesisComputerTerminalsPalette(60,"allied telesis",this,"points=[];aspect=fixed;html=1;align=center;shadow=0;dashed=0;image;image=img/lib/allied_telesis/");this.addAlliedTelesisMediaConvertersPalette(60,"allied telesis",this,"points=[];aspect=fixed;html=1;align=center;shadow=0;dashed=0;image;image=img/lib/allied_telesis/"); this.addAlliedTelesisSecurityPalette(60,"allied telesis",this,"points=[];aspect=fixed;html=1;align=center;shadow=0;dashed=0;image;image=img/lib/allied_telesis/");this.addAlliedTelesisStoragePalette(60,"allied telesis",this,"points=[];aspect=fixed;html=1;align=center;shadow=0;dashed=0;image;image=img/lib/allied_telesis/");this.addAlliedTelesisSwitchPalette(60,"allied telesis",this,"points=[];aspect=fixed;html=1;align=center;shadow=0;dashed=0;image;image=img/lib/allied_telesis/");this.addAlliedTelesisWirelessPalette(60, -"allied telesis",this,"points=[];aspect=fixed;html=1;align=center;shadow=0;dashed=0;image;image=img/lib/allied_telesis/")};Sidebar.prototype.addAlliedTelesisBuildingsPalette=function(a,b,e,c){c+="buildings/";var d=[this.createVertexTemplateEntry(c+"Apartments.svg;",.9*a,1.75*a,"","Apartments",!1,null,this.getTagsForStencil("buildings","apartments",b).join(" ")),this.createVertexTemplateEntry(c+"Building_Cluster.svg;",2.02*a,1.85*a,"","Building Cluster",!1,null,this.getTagsForStencil("buildings","building cluster", -b).join(" ")),this.createVertexTemplateEntry(c+"Large_Building.svg;",1.25*a,1.25*a,"","Large Building",!1,null,this.getTagsForStencil("buildings","large building",b).join(" ")),this.createVertexTemplateEntry(c+"Long_Building.svg;",2.09*a,2.16*a,"","Long Building",!1,null,this.getTagsForStencil("buildings","long building",b).join(" ")),this.createVertexTemplateEntry(c+"Medium_Business_Building.svg;",.91*a,1.17*a,"","Medium Business Building",!1,null,this.getTagsForStencil("buildings","medium business building", -b).join(" ")),this.createVertexTemplateEntry(c+"School_Building.svg;",2.75*a,2.78*a,"","School Building",!1,null,this.getTagsForStencil("buildings","school building",b).join(" ")),this.createVertexTemplateEntry(c+"Secure_Building.svg;",2.72*a,1.86*a,"","Secure Building",!1,null,this.getTagsForStencil("buildings","secure building",b).join(" "))];this.addPalette("allied_telesisBuildings","Allied Telesis / Buildings",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))}; -Sidebar.prototype.addAlliedTelesisComputerTerminalsPalette=function(a,b,e,c){c+="computer_and_terminals/";var d=[this.createVertexTemplateEntry(c+"IP_TV.svg;",.82*a,.84*a,"","IP TV",!1,null,this.getTagsForStencil("computer terminals","ip tv internet protocol television",b).join(" ")),this.createVertexTemplateEntry(c+"Keypad.svg;",.44*a,.8*a,"","Keypad",!1,null,this.getTagsForStencil("computer terminals","keypad",b).join(" ")),this.createVertexTemplateEntry(c+"Laptop.svg;",.7*a,.71*a,"","Laptop",!1, -null,this.getTagsForStencil("computer terminals","laptop",b).join(" ")),this.createVertexTemplateEntry(c+"Personal_Computer.svg;",.76*a,1.03*a,"","Personal Computer",!1,null,this.getTagsForStencil("computer terminals","personal computer",b).join(" ")),this.createVertexTemplateEntry(c+"Personal_Computer_Wireless.svg;",1.05*a,1.07*a,"","Personal Computer Wireless",!1,null,this.getTagsForStencil("computer terminals","personal computer wireless",b).join(" ")),this.createVertexTemplateEntry(c+"Personal_Computer_with_Server.svg;", -1.04*a,1.04*a,"","Personal Computer with Server",!1,null,this.getTagsForStencil("computer terminals","Personal Computer Server",b).join(" ")),this.createVertexTemplateEntry(c+"POS_keypad.svg;",.62*a,.46*a,"","POS Keypad",!1,null,this.getTagsForStencil("computer terminals","pos keypad",b).join(" ")),this.createVertexTemplateEntry(c+"POS_Printer.svg;",.62*a,.54*a,"","POS Printer",!1,null,this.getTagsForStencil("computer terminals","pos printer",b).join(" ")),this.createVertexTemplateEntry(c+"Server_Desktop.svg;", -.71*a,.9*a,"","Server Desktop",!1,null,this.getTagsForStencil("computer terminals","server desktop",b).join(" ")),this.createVertexTemplateEntry(c+"Smartphone.svg;",.33*a,.72*a,"","Smartphone",!1,null,this.getTagsForStencil("computer terminals","smartphone",b).join(" ")),this.createVertexTemplateEntry(c+"Tablet.svg;",.45*a,.95*a,"","Tablet",!1,null,this.getTagsForStencil("computer terminals","tablet",b).join(" ")),this.createVertexTemplateEntry(c+"Tablet_Alternative.svg;",.58*a,.8*a,"","Tablet Alternative", -!1,null,this.getTagsForStencil("computer terminals","tablet alternative",b).join(" ")),this.createVertexTemplateEntry(c+"Vdeo_Conference_Terminal.svg;",.53*a,.75*a,"","Vdeo Conference Terminal",!1,null,this.getTagsForStencil("computer terminals","vdeo conference terminal",b).join(" ")),this.createVertexTemplateEntry(c+"VOIP_IP_phone.svg;",.5*a,.76*a,"","VOIP IP Phone",!1,null,this.getTagsForStencil("computer terminals","voip ip phone voice over internet protocol",b).join(" "))];this.addPalette("allied_telesisComputer and Terminals", -"Allied Telesis / Computer and Terminals",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAlliedTelesisMediaConvertersPalette=function(a,b,e,c){c+="media_converters/";var d=[this.createVertexTemplateEntry(c+"Industrial_Media_Converter.svg;",.5*a,.95*a,"","Industrial Media Converter",!1,null,this.getTagsForStencil("media converters","industrial media converter",b).join(" ")),this.createVertexTemplateEntry(c+"Industrial_Media_Converter_POE.svg;", -.5*a,.95*a,"","Industrial Media Converter POE",!1,null,this.getTagsForStencil("media converters","industrial media converter poe",b).join(" ")),this.createVertexTemplateEntry(c+"Media_Converter_Modular.svg;",1.18*a,.91*a,"","Media Converter Modular",!1,null,this.getTagsForStencil("media converters","media converter modular",b).join(" ")),this.createVertexTemplateEntry(c+"Media_Converter_Standalone.svg;",.76*a,.62*a,"","Media Converter Standalone",!1,null,this.getTagsForStencil("media converters", -"media converter standalone",b).join(" ")),this.createVertexTemplateEntry(c+"Media_Converter_Standalone_POE.svg;",.76*a,.62*a,"","Media Converter Standalone POE",!1,null,this.getTagsForStencil("media converters","media converter standalone poe",b).join(" "))];this.addPalette("allied_telesisMedia Converters","Allied Telesis / Media Converters",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAlliedTelesisSecurityPalette=function(a,b,e,c){c+= -"security/";var d=[this.createVertexTemplateEntry(c+"DVS_Surveillance_Monitor.svg;",.7*a,1*a,"","DVS Surveillance Monitor",!1,null,this.getTagsForStencil("security","dvs surveillance monitor",b).join(" ")),this.createVertexTemplateEntry(c+"EtherGRID.svg;",1.49*a,1.08*a,"","EtherGRID",!1,null,this.getTagsForStencil("security","ethergrid",b).join(" ")),this.createVertexTemplateEntry(c+"POE_DVS_Camera.svg;",.85*a,.67*a,"","POE DVS Camera",!1,null,this.getTagsForStencil("security","poe dvs camera",b).join(" ")), -this.createVertexTemplateEntry(c+"POS.svg;",1.13*a,1.2*a,"","POS",!1,null,this.getTagsForStencil("security","pos",b).join(" ")),this.createVertexTemplateEntry(c+"Router_UTM.svg;",.93*a,.66*a,"","Router UTM",!1,null,this.getTagsForStencil("security","router utm",b).join(" ")),this.createVertexTemplateEntry(c+"Router_VPN.svg;",.93*a,.66*a,"","Router VPN",!1,null,this.getTagsForStencil("security","router vpn",b).join(" ")),this.createVertexTemplateEntry(c+"Surveillance_Camera_Ceiling.svg;",.62*a,.59* -a,"","Surveillance Camera Ceiling",!1,null,this.getTagsForStencil("security","surveillance camera ceiling",b).join(" "))];this.addPalette("allied_telesisSecurity","Allied Telesis / Security",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAlliedTelesisStoragePalette=function(a,b,e,c){c+="storage/";var d=[this.createVertexTemplateEntry(c+"Datacenter_Server_Half_Rack_ToR.svg;",1.47*a,1.91*a,"","Datacenter Server Half Rack ToR",!1,null,this.getTagsForStencil("storage", -"datacenter server half rack tor",b).join(" ")),this.createVertexTemplateEntry(c+"Datacenter_Server_Rack.svg;",1.47*a,2.98*a,"","Datacenter Server Rack",!1,null,this.getTagsForStencil("storage","datacenter server rack",b).join(" ")),this.createVertexTemplateEntry(c+"Datacenter_Server_Rack_EoR.svg;",1.43*a,2.89*a,"","Datacenter Server Rack EoR",!1,null,this.getTagsForStencil("storage","datacenter server rack eor",b).join(" ")),this.createVertexTemplateEntry(c+"Datacenter_Server_Rack_Storage_Unit_Small.svg;", -1.29*a,1.12*a,"","Datacenter Server Rack Storage Unit Small",!1,null,this.getTagsForStencil("storage","datacenter server rack storage unit small",b).join(" ")),this.createVertexTemplateEntry(c+"Datacenter_Server_Rack_ToR.svg;",1.47*a,2.98*a,"","Datacenter Server Rack ToR",!1,null,this.getTagsForStencil("storage","datacenter server rack tor",b).join(" ")),this.createVertexTemplateEntry(c+"Datacenter_Server_Storage_Unit_Large.svg;",1.28*a,1.32*a,"","Datacenter Server Storage Unit Large",!1,null,this.getTagsForStencil("storage", -"datacenter server storage unit large",b).join(" "))];this.addPalette("allied_telesisStorage","Allied Telesis / Storage",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAlliedTelesisSwitchPalette=function(a,b,e,c){c+="switch/";var d=[this.createVertexTemplateEntry(c+"Industrial_Ethernet_IE200.svg;",.67*a,.94*a,"","Industrial Ethernet IE200",!1,null,this.getTagsForStencil("switch","industrial ethernet ie200",b).join(" ")),this.createVertexTemplateEntry(c+ -"Industrial_Ethernet_IE200_POE.svg;",.67*a,.94*a,"","Industrial Ethernet IE200 POE",!1,null,this.getTagsForStencil("switch","industrial ethernet ie200 poe",b).join(" ")),this.createVertexTemplateEntry(c+"Industrial_Ethernet_IE300.svg;",1.16*a,1.29*a,"","Industrial_Ethernet_IE300",!1,null,this.getTagsForStencil("switch","industrial ethernet ie300",b).join(" ")),this.createVertexTemplateEntry(c+"Modular_Switch_SBx8106.svg;",1.43*a,1.23*a,"","Modular Switch SBx8106",!1,null,this.getTagsForStencil("switch", -"modular switch sbx8106",b).join(" ")),this.createVertexTemplateEntry(c+"Modular_Switch_SBx8112.svg;",1.49*a,1.53*a,"","Modular Switch SBx8112",!1,null,this.getTagsForStencil("switch","modular switch sbx8112",b).join(" ")),this.createVertexTemplateEntry(c+"Modular_Switch_SXx908GEN2.svg;",1.3*a,1.11*a,"","Modular Switch SXx908GEN2",!1,null,this.getTagsForStencil("switch","modular switch sxx908gen2",b).join(" ")),this.createVertexTemplateEntry(c+"Switch_24_port_L2.svg;",1.24*a,.85*a,"","Switch 24 port L2", -!1,null,this.getTagsForStencil("switch","switch 24 port l2",b).join(" ")),this.createVertexTemplateEntry(c+"Switch_24_port_L2_POE.svg;",1.24*a,.85*a,"","Switch 24 port L2 POE",!1,null,this.getTagsForStencil("switch","switch 24 port l2 poe",b).join(" ")),this.createVertexTemplateEntry(c+"Switch_24_port_L3.svg;",1.24*a,.85*a,"","Switch 24 port L3",!1,null,this.getTagsForStencil("switch","switch 24 port l3",b).join(" ")),this.createVertexTemplateEntry(c+"Switch_24_port_L3_Alternative.svg;",1.3*a,.88* -a,"","Switch 24 port L3 Alternative",!1,null,this.getTagsForStencil("switch","switch 24 port l3 alternative",b).join(" ")),this.createVertexTemplateEntry(c+"Switch_24_port_L3_POE.svg;",1.24*a,.85*a,"","Switch 24 port L3 POE",!1,null,this.getTagsForStencil("switch","switch 24 port l3 poe",b).join(" ")),this.createVertexTemplateEntry(c+"Switch_48_port_L2.svg;",1.3*a,.88*a,"","Switch 48 port L2",!1,null,this.getTagsForStencil("switch","switch 48 port l2",b).join(" ")),this.createVertexTemplateEntry(c+ -"Switch_48_port_L2_POE.svg;",1.3*a,.88*a,"","Switch 48 port L2 POE",!1,null,this.getTagsForStencil("switch","switch 48 port l2 poe",b).join(" ")),this.createVertexTemplateEntry(c+"Switch_48_port_L3.svg;",1.3*a,.88*a,"","Switch 48 port L3",!1,null,this.getTagsForStencil("switch","switch 48 port l3",b).join(" ")),this.createVertexTemplateEntry(c+"Switch_48_port_L3_POE.svg;",1.3*a,.88*a,"","Switch 48 port L3 POE",!1,null,this.getTagsForStencil("switch","switch 48 port l3 poe",b).join(" ")),this.createVertexTemplateEntry(c+ -"Switch_52_port_L3.svg;",1.3*a,.88*a,"","Switch 52 port L3",!1,null,this.getTagsForStencil("switch","switch 52 port l3",b).join(" "))];this.addPalette("allied_telesisSwitch","Allied Telesis / Switch",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))};Sidebar.prototype.addAlliedTelesisWirelessPalette=function(a,b,e,c){c+="wireless/";var d=[this.createVertexTemplateEntry(c+"Access_Point_Indoor.svg;",.61*a,.91*a,"","Access Point Indoor",!1,null,this.getTagsForStencil("wireless", -"access point indoor",b).join(" ")),this.createVertexTemplateEntry(c+"Access_Point_Outdoor.svg;",.43*a,1.66*a,"","Access Point Outdoor",!1,null,this.getTagsForStencil("wireless","access point outdoor",b).join(" ")),this.createVertexTemplateEntry(c+"Laptop_Wireless.svg;",.96*a,.79*a,"","Laptop Wireless",!1,null,this.getTagsForStencil("wireless","laptop wireless",b).join(" "))];this.addPalette("allied_telesisWireless","Allied Telesis / Wireless",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))}})();(function(){Sidebar.prototype.addAndroidPalette=function(){var a=this,b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.android.",e=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shadow=0;dashed=0;strokeWidth=1;strokeColor=none;shape=",c=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.android.", -d=[this.createVertexTemplateEntry(b+"phone2;strokeColor=#c0c0c0;",200,390,"","Phone",null,null,"android phone mobile portrait"),this.createVertexTemplateEntry(b+"phone2;strokeColor=#c0c0c0;direction=south;",390,200,"","Phone (landscape)",null,null,"android phone mobile landscape"),this.createVertexTemplateEntry(b+"tab2;strokeColor=#c0c0c0;",472,686,"","Tab",null,null,"android tab tablet portrait"),this.createVertexTemplateEntry(b+"tab2;strokeColor=#c0c0c0;direction=north;",686,472,"","Tab (landscape)", +"allied telesis",this,"points=[];aspect=fixed;html=1;align=center;shadow=0;dashed=0;image;image=img/lib/allied_telesis/")};Sidebar.prototype.addAlliedTelesisBuildingsPalette=function(a,b,e,d){d+="buildings/";var c=[this.createVertexTemplateEntry(d+"Apartments.svg;",.9*a,1.75*a,"","Apartments",!1,null,this.getTagsForStencil("buildings","apartments",b).join(" ")),this.createVertexTemplateEntry(d+"Building_Cluster.svg;",2.02*a,1.85*a,"","Building Cluster",!1,null,this.getTagsForStencil("buildings","building cluster", +b).join(" ")),this.createVertexTemplateEntry(d+"Large_Building.svg;",1.25*a,1.25*a,"","Large Building",!1,null,this.getTagsForStencil("buildings","large building",b).join(" ")),this.createVertexTemplateEntry(d+"Long_Building.svg;",2.09*a,2.16*a,"","Long Building",!1,null,this.getTagsForStencil("buildings","long building",b).join(" ")),this.createVertexTemplateEntry(d+"Medium_Business_Building.svg;",.91*a,1.17*a,"","Medium Business Building",!1,null,this.getTagsForStencil("buildings","medium business building", +b).join(" ")),this.createVertexTemplateEntry(d+"School_Building.svg;",2.75*a,2.78*a,"","School Building",!1,null,this.getTagsForStencil("buildings","school building",b).join(" ")),this.createVertexTemplateEntry(d+"Secure_Building.svg;",2.72*a,1.86*a,"","Secure Building",!1,null,this.getTagsForStencil("buildings","secure building",b).join(" "))];this.addPalette("allied_telesisBuildings","Allied Telesis / Buildings",!1,mxUtils.bind(this,function(a){for(var d=0;d<c.length;d++)a.appendChild(c[d](a))}))}; +Sidebar.prototype.addAlliedTelesisComputerTerminalsPalette=function(a,b,e,d){d+="computer_and_terminals/";var c=[this.createVertexTemplateEntry(d+"IP_TV.svg;",.82*a,.84*a,"","IP TV",!1,null,this.getTagsForStencil("computer terminals","ip tv internet protocol television",b).join(" ")),this.createVertexTemplateEntry(d+"Keypad.svg;",.44*a,.8*a,"","Keypad",!1,null,this.getTagsForStencil("computer terminals","keypad",b).join(" ")),this.createVertexTemplateEntry(d+"Laptop.svg;",.7*a,.71*a,"","Laptop",!1, +null,this.getTagsForStencil("computer terminals","laptop",b).join(" ")),this.createVertexTemplateEntry(d+"Personal_Computer.svg;",.76*a,1.03*a,"","Personal Computer",!1,null,this.getTagsForStencil("computer terminals","personal computer",b).join(" ")),this.createVertexTemplateEntry(d+"Personal_Computer_Wireless.svg;",1.05*a,1.07*a,"","Personal Computer Wireless",!1,null,this.getTagsForStencil("computer terminals","personal computer wireless",b).join(" ")),this.createVertexTemplateEntry(d+"Personal_Computer_with_Server.svg;", +1.04*a,1.04*a,"","Personal Computer with Server",!1,null,this.getTagsForStencil("computer terminals","Personal Computer Server",b).join(" ")),this.createVertexTemplateEntry(d+"POS_keypad.svg;",.62*a,.46*a,"","POS Keypad",!1,null,this.getTagsForStencil("computer terminals","pos keypad",b).join(" ")),this.createVertexTemplateEntry(d+"POS_Printer.svg;",.62*a,.54*a,"","POS Printer",!1,null,this.getTagsForStencil("computer terminals","pos printer",b).join(" ")),this.createVertexTemplateEntry(d+"Server_Desktop.svg;", +.71*a,.9*a,"","Server Desktop",!1,null,this.getTagsForStencil("computer terminals","server desktop",b).join(" ")),this.createVertexTemplateEntry(d+"Smartphone.svg;",.33*a,.72*a,"","Smartphone",!1,null,this.getTagsForStencil("computer terminals","smartphone",b).join(" ")),this.createVertexTemplateEntry(d+"Tablet.svg;",.45*a,.95*a,"","Tablet",!1,null,this.getTagsForStencil("computer terminals","tablet",b).join(" ")),this.createVertexTemplateEntry(d+"Tablet_Alternative.svg;",.58*a,.8*a,"","Tablet Alternative", +!1,null,this.getTagsForStencil("computer terminals","tablet alternative",b).join(" ")),this.createVertexTemplateEntry(d+"Vdeo_Conference_Terminal.svg;",.53*a,.75*a,"","Vdeo Conference Terminal",!1,null,this.getTagsForStencil("computer terminals","vdeo conference terminal",b).join(" ")),this.createVertexTemplateEntry(d+"VOIP_IP_phone.svg;",.5*a,.76*a,"","VOIP IP Phone",!1,null,this.getTagsForStencil("computer terminals","voip ip phone voice over internet protocol",b).join(" "))];this.addPalette("allied_telesisComputer and Terminals", +"Allied Telesis / Computer and Terminals",!1,mxUtils.bind(this,function(a){for(var d=0;d<c.length;d++)a.appendChild(c[d](a))}))};Sidebar.prototype.addAlliedTelesisMediaConvertersPalette=function(a,b,e,d){d+="media_converters/";var c=[this.createVertexTemplateEntry(d+"Industrial_Media_Converter.svg;",.5*a,.95*a,"","Industrial Media Converter",!1,null,this.getTagsForStencil("media converters","industrial media converter",b).join(" ")),this.createVertexTemplateEntry(d+"Industrial_Media_Converter_POE.svg;", +.5*a,.95*a,"","Industrial Media Converter POE",!1,null,this.getTagsForStencil("media converters","industrial media converter poe",b).join(" ")),this.createVertexTemplateEntry(d+"Media_Converter_Modular.svg;",1.18*a,.91*a,"","Media Converter Modular",!1,null,this.getTagsForStencil("media converters","media converter modular",b).join(" ")),this.createVertexTemplateEntry(d+"Media_Converter_Standalone.svg;",.76*a,.62*a,"","Media Converter Standalone",!1,null,this.getTagsForStencil("media converters", +"media converter standalone",b).join(" ")),this.createVertexTemplateEntry(d+"Media_Converter_Standalone_POE.svg;",.76*a,.62*a,"","Media Converter Standalone POE",!1,null,this.getTagsForStencil("media converters","media converter standalone poe",b).join(" "))];this.addPalette("allied_telesisMedia Converters","Allied Telesis / Media Converters",!1,mxUtils.bind(this,function(a){for(var d=0;d<c.length;d++)a.appendChild(c[d](a))}))};Sidebar.prototype.addAlliedTelesisSecurityPalette=function(a,b,e,d){d+= +"security/";var c=[this.createVertexTemplateEntry(d+"DVS_Surveillance_Monitor.svg;",.7*a,1*a,"","DVS Surveillance Monitor",!1,null,this.getTagsForStencil("security","dvs surveillance monitor",b).join(" ")),this.createVertexTemplateEntry(d+"EtherGRID.svg;",1.49*a,1.08*a,"","EtherGRID",!1,null,this.getTagsForStencil("security","ethergrid",b).join(" ")),this.createVertexTemplateEntry(d+"POE_DVS_Camera.svg;",.85*a,.67*a,"","POE DVS Camera",!1,null,this.getTagsForStencil("security","poe dvs camera",b).join(" ")), +this.createVertexTemplateEntry(d+"POS.svg;",1.13*a,1.2*a,"","POS",!1,null,this.getTagsForStencil("security","pos",b).join(" ")),this.createVertexTemplateEntry(d+"Router_UTM.svg;",.93*a,.66*a,"","Router UTM",!1,null,this.getTagsForStencil("security","router utm",b).join(" ")),this.createVertexTemplateEntry(d+"Router_VPN.svg;",.93*a,.66*a,"","Router VPN",!1,null,this.getTagsForStencil("security","router vpn",b).join(" ")),this.createVertexTemplateEntry(d+"Surveillance_Camera_Ceiling.svg;",.62*a,.59* +a,"","Surveillance Camera Ceiling",!1,null,this.getTagsForStencil("security","surveillance camera ceiling",b).join(" "))];this.addPalette("allied_telesisSecurity","Allied Telesis / Security",!1,mxUtils.bind(this,function(a){for(var d=0;d<c.length;d++)a.appendChild(c[d](a))}))};Sidebar.prototype.addAlliedTelesisStoragePalette=function(a,b,e,d){d+="storage/";var c=[this.createVertexTemplateEntry(d+"Datacenter_Server_Half_Rack_ToR.svg;",1.47*a,1.91*a,"","Datacenter Server Half Rack ToR",!1,null,this.getTagsForStencil("storage", +"datacenter server half rack tor",b).join(" ")),this.createVertexTemplateEntry(d+"Datacenter_Server_Rack.svg;",1.47*a,2.98*a,"","Datacenter Server Rack",!1,null,this.getTagsForStencil("storage","datacenter server rack",b).join(" ")),this.createVertexTemplateEntry(d+"Datacenter_Server_Rack_EoR.svg;",1.43*a,2.89*a,"","Datacenter Server Rack EoR",!1,null,this.getTagsForStencil("storage","datacenter server rack eor",b).join(" ")),this.createVertexTemplateEntry(d+"Datacenter_Server_Rack_Storage_Unit_Small.svg;", +1.29*a,1.12*a,"","Datacenter Server Rack Storage Unit Small",!1,null,this.getTagsForStencil("storage","datacenter server rack storage unit small",b).join(" ")),this.createVertexTemplateEntry(d+"Datacenter_Server_Rack_ToR.svg;",1.47*a,2.98*a,"","Datacenter Server Rack ToR",!1,null,this.getTagsForStencil("storage","datacenter server rack tor",b).join(" ")),this.createVertexTemplateEntry(d+"Datacenter_Server_Storage_Unit_Large.svg;",1.28*a,1.32*a,"","Datacenter Server Storage Unit Large",!1,null,this.getTagsForStencil("storage", +"datacenter server storage unit large",b).join(" "))];this.addPalette("allied_telesisStorage","Allied Telesis / Storage",!1,mxUtils.bind(this,function(a){for(var d=0;d<c.length;d++)a.appendChild(c[d](a))}))};Sidebar.prototype.addAlliedTelesisSwitchPalette=function(a,b,e,d){d+="switch/";var c=[this.createVertexTemplateEntry(d+"Industrial_Ethernet_IE200.svg;",.67*a,.94*a,"","Industrial Ethernet IE200",!1,null,this.getTagsForStencil("switch","industrial ethernet ie200",b).join(" ")),this.createVertexTemplateEntry(d+ +"Industrial_Ethernet_IE200_POE.svg;",.67*a,.94*a,"","Industrial Ethernet IE200 POE",!1,null,this.getTagsForStencil("switch","industrial ethernet ie200 poe",b).join(" ")),this.createVertexTemplateEntry(d+"Industrial_Ethernet_IE300.svg;",1.16*a,1.29*a,"","Industrial_Ethernet_IE300",!1,null,this.getTagsForStencil("switch","industrial ethernet ie300",b).join(" ")),this.createVertexTemplateEntry(d+"Modular_Switch_SBx8106.svg;",1.43*a,1.23*a,"","Modular Switch SBx8106",!1,null,this.getTagsForStencil("switch", +"modular switch sbx8106",b).join(" ")),this.createVertexTemplateEntry(d+"Modular_Switch_SBx8112.svg;",1.49*a,1.53*a,"","Modular Switch SBx8112",!1,null,this.getTagsForStencil("switch","modular switch sbx8112",b).join(" ")),this.createVertexTemplateEntry(d+"Modular_Switch_SXx908GEN2.svg;",1.3*a,1.11*a,"","Modular Switch SXx908GEN2",!1,null,this.getTagsForStencil("switch","modular switch sxx908gen2",b).join(" ")),this.createVertexTemplateEntry(d+"Switch_24_port_L2.svg;",1.24*a,.85*a,"","Switch 24 port L2", +!1,null,this.getTagsForStencil("switch","switch 24 port l2",b).join(" ")),this.createVertexTemplateEntry(d+"Switch_24_port_L2_POE.svg;",1.24*a,.85*a,"","Switch 24 port L2 POE",!1,null,this.getTagsForStencil("switch","switch 24 port l2 poe",b).join(" ")),this.createVertexTemplateEntry(d+"Switch_24_port_L3.svg;",1.24*a,.85*a,"","Switch 24 port L3",!1,null,this.getTagsForStencil("switch","switch 24 port l3",b).join(" ")),this.createVertexTemplateEntry(d+"Switch_24_port_L3_Alternative.svg;",1.3*a,.88* +a,"","Switch 24 port L3 Alternative",!1,null,this.getTagsForStencil("switch","switch 24 port l3 alternative",b).join(" ")),this.createVertexTemplateEntry(d+"Switch_24_port_L3_POE.svg;",1.24*a,.85*a,"","Switch 24 port L3 POE",!1,null,this.getTagsForStencil("switch","switch 24 port l3 poe",b).join(" ")),this.createVertexTemplateEntry(d+"Switch_48_port_L2.svg;",1.3*a,.88*a,"","Switch 48 port L2",!1,null,this.getTagsForStencil("switch","switch 48 port l2",b).join(" ")),this.createVertexTemplateEntry(d+ +"Switch_48_port_L2_POE.svg;",1.3*a,.88*a,"","Switch 48 port L2 POE",!1,null,this.getTagsForStencil("switch","switch 48 port l2 poe",b).join(" ")),this.createVertexTemplateEntry(d+"Switch_48_port_L3.svg;",1.3*a,.88*a,"","Switch 48 port L3",!1,null,this.getTagsForStencil("switch","switch 48 port l3",b).join(" ")),this.createVertexTemplateEntry(d+"Switch_48_port_L3_POE.svg;",1.3*a,.88*a,"","Switch 48 port L3 POE",!1,null,this.getTagsForStencil("switch","switch 48 port l3 poe",b).join(" ")),this.createVertexTemplateEntry(d+ +"Switch_52_port_L3.svg;",1.3*a,.88*a,"","Switch 52 port L3",!1,null,this.getTagsForStencil("switch","switch 52 port l3",b).join(" "))];this.addPalette("allied_telesisSwitch","Allied Telesis / Switch",!1,mxUtils.bind(this,function(a){for(var d=0;d<c.length;d++)a.appendChild(c[d](a))}))};Sidebar.prototype.addAlliedTelesisWirelessPalette=function(a,b,e,d){d+="wireless/";var c=[this.createVertexTemplateEntry(d+"Access_Point_Indoor.svg;",.61*a,.91*a,"","Access Point Indoor",!1,null,this.getTagsForStencil("wireless", +"access point indoor",b).join(" ")),this.createVertexTemplateEntry(d+"Access_Point_Outdoor.svg;",.43*a,1.66*a,"","Access Point Outdoor",!1,null,this.getTagsForStencil("wireless","access point outdoor",b).join(" ")),this.createVertexTemplateEntry(d+"Laptop_Wireless.svg;",.96*a,.79*a,"","Laptop Wireless",!1,null,this.getTagsForStencil("wireless","laptop wireless",b).join(" "))];this.addPalette("allied_telesisWireless","Allied Telesis / Wireless",!1,mxUtils.bind(this,function(a){for(var d=0;d<c.length;d++)a.appendChild(c[d](a))}))}})();(function(){Sidebar.prototype.addAndroidPalette=function(){var a=this,b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.android.",e=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shadow=0;dashed=0;strokeWidth=1;strokeColor=none;shape=",d=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.android.", +c=[this.createVertexTemplateEntry(b+"phone2;strokeColor=#c0c0c0;",200,390,"","Phone",null,null,"android phone mobile portrait"),this.createVertexTemplateEntry(b+"phone2;strokeColor=#c0c0c0;direction=south;",390,200,"","Phone (landscape)",null,null,"android phone mobile landscape"),this.createVertexTemplateEntry(b+"tab2;strokeColor=#c0c0c0;",472,686,"","Tab",null,null,"android tab tablet portrait"),this.createVertexTemplateEntry(b+"tab2;strokeColor=#c0c0c0;direction=north;",686,472,"","Tab (landscape)", null,null,"android tab tablet landscape"),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.action_bar;fillColor=#1A1A1A;strokeColor=#c0c0c0;strokeWidth=2;fontColor=#FFFFFF;",185,30,"","Action Bar",null,null,"android action bar dark portrait"),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.action_bar;fillColor=#E6E6E6;strokeColor=#c0c0c0;strokeWidth=2;",185,30,"","Action Bar (Bright)",null,null,"android action bar bright portrait"), this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.action_bar_landscape;fillColor=#1A1A1A;strokeColor=#c0c0c0;strokeWidth=2;fontColor=#FFFFFF;",320,30,"","Action Bar Landscape",null,null,"android action bar landscape dark"),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.action_bar_landscape;fillColor=#E6E6E6;strokeColor=#c0c0c0;strokeWidth=2;",320,30,"","Action Bar Landscape (Bright)",null,null,"android action bar bright landscape"), this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#666666;align=center;strokeColor=#4D4D4D;fontColor=#ffffff;",105.5,16.88,"Normal","Button (Normal)",null,null,"android button normal"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#666666;align=center;strokeColor=#999999;fontColor=#ffffff;",105.5,16.88,"Focused","Button (Focused)",null,null,"android button focused"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#999999;align=center;strokeColor=#666666;fontColor=#ffffff;strokeWidth=2;", 105.5,16.88,"Pressed","Button (Pressed)",null,null,"android button pressed"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#333333;align=center;strokeColor=#4D4D4D;fontColor=#666666;",105.5,16.88,"Focused disabled","Button (Focused, Disabled)",null,null,"android button focused disabled"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#333333;align=center;strokeColor=#333333;fontColor=#666666;", 105.5,16.88,"Disabled","Button (Disabled)",null,null,"android button disabled"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#E6E6E6;align=center;strokeColor=#E6E6E6;fontColor=#333333;",105.5,16.88,"Normal","Button (Normal, Bright)",null,null,"android button normal bright"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#E6E6E6;align=center;strokeColor=#B3B3B3;fontColor=#333333;", 105.5,16.88,"Focused","Button (Focused, Bright)",null,null,"android button focused bright"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#B3B3B3;align=center;strokeColor=#E6E6E6;fontColor=#333333;strokeWidth=2;",105.5,16.88,"Pressed","Button (Pressed, Bright)",null,null,"android button pressed bright"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#F4F4F4;align=center;strokeColor=#E6E6E6;fontColor=#CCCCCC;", -105.5,16.88,"Focused disabled","Button (Focused, Disabled, Bright)",null,null,"android button focused disabled bright"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#F4F4F4;align=center;strokeColor=#F4F4F4;fontColor=#CCCCCC;",105.5,16.88,"Disabled","Button (Disabled, Bright)",null,null,"android button disabled bright"),this.addEntry("android checkboxes checkbox",function(){var c=new mxCell("",new mxGeometry(0,0,165,50),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=transparent;strokeColor=#33b5e5"); -c.vertex=!0;var d=new mxCell("Setting 1",new mxGeometry(0,0,165,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;align=left;spacingLeft=10;fontSize=8;fontColor=#33b5e5;");d.vertex=!0;c.insert(d);var b=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;");b.vertex=!0;d.insert(b);d=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;resizable=0;"); -d.vertex=!0;b.insert(d);d=new mxCell("Setting 2",new mxGeometry(0,12.5,165,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;align=left;spacingLeft=10;fontSize=8;fontColor=#33b5e5;");d.vertex=!0;c.insert(d);b=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;");b.vertex=!0;d.insert(b);d=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;resizable=0;"); -d.vertex=!0;b.insert(d);d=new mxCell("Setting 3",new mxGeometry(0,25,165,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;align=left;spacingLeft=10;fontSize=8;fontColor=#33b5e5;");d.vertex=!0;c.insert(d);b=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;");b.vertex=!0;d.insert(b);d=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.checkbox;rSize=0;resizable=0;"); -d.vertex=!0;b.insert(d);d=new mxCell("Setting 4",new mxGeometry(0,37.5,165,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;align=left;spacingLeft=10;fontSize=8;fontColor=#33b5e5;");d.vertex=!0;c.insert(d);b=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;");b.vertex=!0;d.insert(b);d=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;resizable=0;"); -d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Checkboxes")}),this.addEntry("android radiobuttons radiobutton",function(){var c=new mxCell("",new mxGeometry(0,0,165,50),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=transparent;strokeColor=#33b5e5");c.vertex=!0;var d=new mxCell("Option 1",new mxGeometry(0,0,165,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;align=left;spacingLeft=10;fontSize=8;fontColor=#33b5e5;"); -d.vertex=!0;c.insert(d);var b=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;");b.vertex=!0;d.insert(b);d=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=ellipse;resizable=0;html=1;");d.vertex=!0;b.insert(d);d=new mxCell("Option 2",new mxGeometry(0,12.5,165,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;align=left;spacingLeft=10;fontSize=8;fontColor=#33b5e5;"); -d.vertex=!0;c.insert(d);b=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;");b.vertex=!0;d.insert(b);d=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=ellipse;resizable=0;html=1;");d.vertex=!0;b.insert(d);d=new mxCell("Option 3",new mxGeometry(0,25,165,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;align=left;spacingLeft=10;fontSize=8;fontColor=#33b5e5;"); -d.vertex=!0;c.insert(d);b=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;");b.vertex=!0;d.insert(b);d=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"shape=ellipse;strokeColor=inherit;resizable=0;fillColor=#33b5e5;html=1;");d.vertex=!0;b.insert(d);d=new mxCell("Option 4",new mxGeometry(0,37.5,165,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;align=left;spacingLeft=10;fontSize=8;fontColor=#33b5e5;"); -d.vertex=!0;c.insert(d);b=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;");b.vertex=!0;d.insert(b);d=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=ellipse;resizable=0;html=1;");d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Radiobuttons")}),this.createVertexTemplateEntry(b+"contact_badge_focused;",40,40,"","Contact Badge Focused", +105.5,16.88,"Focused disabled","Button (Focused, Disabled, Bright)",null,null,"android button focused disabled bright"),this.createVertexTemplateEntry("rounded=1;html=1;shadow=0;dashed=0;whiteSpace=wrap;fontSize=10;fillColor=#F4F4F4;align=center;strokeColor=#F4F4F4;fontColor=#CCCCCC;",105.5,16.88,"Disabled","Button (Disabled, Bright)",null,null,"android button disabled bright"),this.addEntry("android checkboxes checkbox",function(){var d=new mxCell("",new mxGeometry(0,0,165,50),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=transparent;strokeColor=#33b5e5"); +d.vertex=!0;var c=new mxCell("Setting 1",new mxGeometry(0,0,165,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;align=left;spacingLeft=10;fontSize=8;fontColor=#33b5e5;");c.vertex=!0;d.insert(c);var b=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;");b.vertex=!0;c.insert(b);c=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;resizable=0;"); +c.vertex=!0;b.insert(c);c=new mxCell("Setting 2",new mxGeometry(0,12.5,165,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;align=left;spacingLeft=10;fontSize=8;fontColor=#33b5e5;");c.vertex=!0;d.insert(c);b=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;");b.vertex=!0;c.insert(b);c=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;resizable=0;"); +c.vertex=!0;b.insert(c);c=new mxCell("Setting 3",new mxGeometry(0,25,165,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;align=left;spacingLeft=10;fontSize=8;fontColor=#33b5e5;");c.vertex=!0;d.insert(c);b=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;");b.vertex=!0;c.insert(b);c=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.checkbox;rSize=0;resizable=0;"); +c.vertex=!0;b.insert(c);c=new mxCell("Setting 4",new mxGeometry(0,37.5,165,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;align=left;spacingLeft=10;fontSize=8;fontColor=#33b5e5;");c.vertex=!0;d.insert(c);b=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;");b.vertex=!0;c.insert(b);c=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;resizable=0;"); +c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Checkboxes")}),this.addEntry("android radiobuttons radiobutton",function(){var d=new mxCell("",new mxGeometry(0,0,165,50),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=transparent;strokeColor=#33b5e5");d.vertex=!0;var c=new mxCell("Option 1",new mxGeometry(0,0,165,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;align=left;spacingLeft=10;fontSize=8;fontColor=#33b5e5;"); +c.vertex=!0;d.insert(c);var b=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;");b.vertex=!0;c.insert(b);c=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=ellipse;resizable=0;html=1;");c.vertex=!0;b.insert(c);c=new mxCell("Option 2",new mxGeometry(0,12.5,165,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;align=left;spacingLeft=10;fontSize=8;fontColor=#33b5e5;"); +c.vertex=!0;d.insert(c);b=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;");b.vertex=!0;c.insert(b);c=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=ellipse;resizable=0;html=1;");c.vertex=!0;b.insert(c);c=new mxCell("Option 3",new mxGeometry(0,25,165,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;align=left;spacingLeft=10;fontSize=8;fontColor=#33b5e5;"); +c.vertex=!0;d.insert(c);b=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;");b.vertex=!0;c.insert(b);c=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"shape=ellipse;strokeColor=inherit;resizable=0;fillColor=#33b5e5;html=1;");c.vertex=!0;b.insert(c);c=new mxCell("Option 4",new mxGeometry(0,37.5,165,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;align=left;spacingLeft=10;fontSize=8;fontColor=#33b5e5;"); +c.vertex=!0;d.insert(c);b=new mxCell("",new mxGeometry(0,6,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=transparent;");b.vertex=!0;c.insert(b);c=new mxCell("",new mxGeometry(2.5,-2.5,5,5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=ellipse;resizable=0;html=1;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Radiobuttons")}),this.createVertexTemplateEntry(b+"contact_badge_focused;",40,40,"","Contact Badge Focused", null,null,"android contact badge focused"),this.createVertexTemplateEntry(b+"contact_badge_focused;",60,60,"","Contact Badge Focused",null,null,"android contact badge focused"),this.createVertexTemplateEntry(b+"contact_badge_normal;",40,40,"","Contact Badge Normal",null,null,"android contact badge normal"),this.createVertexTemplateEntry(b+"contact_badge_normal;",60,60,"","Contact Badge Normal",null,null,"android contact badge normal"),this.createVertexTemplateEntry(b+"contact_badge_pressed;",40,40, -"","Contact Badge Pressed",null,null,"android contact badge pressed"),this.createVertexTemplateEntry(b+"contact_badge_pressed;",60,60,"","Contact Badge Pressed",null,null,"android contact badge pressed"),this.addEntry("android contextual action bar dark portrait",function(){var c=new mxCell("",new mxGeometry(0,0,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_action_bar;fillColor=#002E3E;");c.vertex=!0;var d=new mxCell("Action",new mxGeometry(40,0,100,30),"shape=transparent;align=left;fontStyle=1;fontColor=#ffffff;"); -d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Contextual Action Bar")}),this.addEntry("android contextual action bar bright portrait",function(){var c=new mxCell("",new mxGeometry(0,0,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_action_bar_white;fillColor=#E6E6E6;");c.vertex=!0;var d=new mxCell("Action",new mxGeometry(40,0,100,30),"shape=transparent;align=left;fontStyle=1;");d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([c], -c.geometry.width,c.geometry.height,"Contextual Action Bar (Bright)")}),this.addEntry("android contextual action bar landscape dark",function(){var c=new mxCell("",new mxGeometry(0,0,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_action_bar_landscape;fillColor=#002E3E;");c.vertex=!0;var d=new mxCell("Action",new mxGeometry(40,0,100,30),"shape=transparent;align=left;fontStyle=1;fontColor=#ffffff;");d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([c], -c.geometry.width,c.geometry.height,"Contextual Action Bar Landscape")}),this.addEntry("android contextual action bar landscape bright",function(){var c=new mxCell("",new mxGeometry(0,0,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_action_bar_landscape_white;fillColor=#E6E6E6;");c.vertex=!0;var d=new mxCell("Action",new mxGeometry(40,0,100,30),"shape=transparent;align=left;fontStyle=1;");d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width, -c.geometry.height,"Contextual Action Bar Landscape (Bright)")}),this.addEntry("android contextual split action bar dark",function(){var c=new mxCell("",new mxGeometry(0,0,185,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_split_action_bar;fillColor=#002E3E;fontColor=#FFFFFF;");c.vertex=!0;var d=new mxCell("Contextual",new mxGeometry(0,0,185,30),"shape=transparent;fontStyle=1;fontColor=#ffffff;");d.vertex=!0;c.insert(d);d=new mxCell("Action",new mxGeometry(0,40,185,30), -"shape=transparent;fontStyle=1;fontColor=#ffffff;");d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Contextual Split Action Bar")}),this.addEntry("android contextual split action bar bright",function(){var c=new mxCell("",new mxGeometry(0,0,185,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_split_action_bar_white;fillColor=#E6E6E6;");c.vertex=!0;var d=new mxCell("Contextual",new mxGeometry(0,0,185,30),"shape=transparent;fontStyle=1;"); -d.vertex=!0;c.insert(d);d=new mxCell("Action",new mxGeometry(0,40,185,30),"shape=transparent;fontStyle=1;");d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Contextual Split Action Bar (Bright)")}),this.addEntry("android contextual split action bar landscape dark",function(){var c=new mxCell("",new mxGeometry(0,0,320,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_split_action_bar_landscape;fillColor=#002E3E;fontColor=#FFFFFF;"); -c.vertex=!0;var d=new mxCell("Contextual",new mxGeometry(0,0,320,30),"shape=transparent;fontStyle=1;fontColor=#ffffff;");d.vertex=!0;c.insert(d);d=new mxCell("Action",new mxGeometry(0,40,320,30),"shape=transparent;fontStyle=1;fontColor=#ffffff;");d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Contextual Split Action Bar Landscape")}),this.addEntry("android contextual split action bar landscape bright",function(){var c=new mxCell("",new mxGeometry(0, -0,320,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_split_action_bar_landscape_white;fillColor=#E6E6E6;");c.vertex=!0;var d=new mxCell("Contextual",new mxGeometry(0,0,320,30),"shape=transparent;fontStyle=1;");d.vertex=!0;c.insert(d);d=new mxCell("Action",new mxGeometry(0,40,320,30),"shape=transparent;fontStyle=1;");d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Contextual Split Action Bar Landscape (Bright)")}), -this.createVertexTemplateEntry(b+"indeterminate_progress_bar;strokeColor=#33B5E5;pointerEvents=1",149,5,"","Indeterminate Progress Bar",null,null,"android indeterminate progress bar"),this.createVertexTemplateEntry(b+"indeterminateSpinner;",50,50,"","Indeterminate Spinner",null,null,"android indeterminate spinner"),this.createVertexTemplateEntry(b+"keyboard;",185,100,"","Keyboard",null,null,"android keyboard"),this.addEntry("android menu bar",function(){var c=new mxCell("",new mxGeometry(0,0,185, -50),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;strokeColor=#888888;fillColor=#444444;");c.vertex=!0;var d=new mxCell("Menu Item 1",new mxGeometry(0,0,185,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;align=left;spacingLeft=10;fontSize=8;fontColor=#ffffff;");d.vertex=!0;c.insert(d);d=new mxCell("Menu Item 2",new mxGeometry(0,12.5,185,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;align=left;spacingLeft=10;fontSize=8;fontColor=#ffffff;"); -d.vertex=!0;c.insert(d);d=new mxCell("Menu Item 3",new mxGeometry(0,25,185,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;align=left;spacingLeft=10;fontSize=8;fontColor=#ffffff;");d.vertex=!0;c.insert(d);d=new mxCell("Menu Item 4",new mxGeometry(0,37.5,185,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;align=left;spacingLeft=10;fontSize=8;fontColor=#ffffff;"); -d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Menu bar")}),this.addEntry("android menu bar",function(){var c=new mxCell("",new mxGeometry(0,0,185,50),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;strokeColor=#eeeeee;fillColor=#ffffff;gradientColor=none;");c.vertex=!0;var d=new mxCell("Menu Item 1",new mxGeometry(0,0,185,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;align=left;spacingLeft=10;fontSize=8;fontColor=#333333;"); -d.vertex=!0;c.insert(d);d=new mxCell("Menu Item 2",new mxGeometry(0,12.5,185,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;align=left;spacingLeft=10;fontSize=8;fontColor=#333333;");d.vertex=!0;c.insert(d);d=new mxCell("Menu Item 3",new mxGeometry(0,25,185,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;align=left;spacingLeft=10;fontSize=8;fontColor=#333333;"); -d.vertex=!0;c.insert(d);d=new mxCell("Menu Item 4",new mxGeometry(0,37.5,185,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;align=left;spacingLeft=10;fontSize=8;fontColor=#333333;");d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Menu bar")}),this.createVertexTemplateEntry(c+"navigation_bar_1;fillColor=#1A1A1A;strokeColor=#999999;",185,30,"","Navigation Bar", -null,null,"android navigation bar portrait horizontal"),this.createVertexTemplateEntry(c+"navigation_bar_1_landscape;fillColor=#1A1A1A;strokeColor=#999999;",320,30,"","Navigation Bar Landscape",null,null,"android navigation bar landscape horizontal"),this.createVertexTemplateEntry(c+"navigation_bar_1_vertical;fillColor=#1A1A1A;strokeColor=#999999;",30,320,"","Navigation Bar Vertical",null,null,"android navigation bar vertical"),this.createVertexTemplateEntry(c+"navigation_bar_2;fillColor=#1A1A1A;strokeColor=#999999;", -185,30,"","Navigation Bar",null,null,"android navigation bar horizontal"),this.createVertexTemplateEntry(c+"navigation_bar_3;fillColor=#1A1A1A;strokeColor=#999999;",185,30,"","Navigation Bar",null,null,"android navigation bar portrait horizontal"),this.createVertexTemplateEntry(c+"navigation_bar_3_landscape;fillColor=#1A1A1A;strokeColor=#999999;",320,30,"","Navigation Bar Landscape",null,null,"android navigation bar landscape horizontal"),this.createVertexTemplateEntry(c+"navigation_bar_4;fillColor=#1A1A1A;strokeColor=#999999;", -185,30,"","Navigation Bar",null,null,"android navigation bar horizontal"),this.createVertexTemplateEntry(c+"navigation_bar_5;fillColor=#1A1A1A;strokeColor=#999999;",185,30,"","Navigation Bar",null,null,"android navigation bar horizontal"),this.createVertexTemplateEntry(c+"navigation_bar_5_vertical;fillColor=#1A1A1A;strokeColor=#999999;",30,320,"","Navigation Bar Vertical",null,null,"android navigation bar vertical"),this.createVertexTemplateEntry(c+"navigation_bar_6;fillColor=#1A1A1A;strokeColor=#999999;", +"","Contact Badge Pressed",null,null,"android contact badge pressed"),this.createVertexTemplateEntry(b+"contact_badge_pressed;",60,60,"","Contact Badge Pressed",null,null,"android contact badge pressed"),this.addEntry("android contextual action bar dark portrait",function(){var d=new mxCell("",new mxGeometry(0,0,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_action_bar;fillColor=#002E3E;");d.vertex=!0;var c=new mxCell("Action",new mxGeometry(40,0,100,30),"shape=transparent;align=left;fontStyle=1;fontColor=#ffffff;"); +c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Contextual Action Bar")}),this.addEntry("android contextual action bar bright portrait",function(){var d=new mxCell("",new mxGeometry(0,0,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_action_bar_white;fillColor=#E6E6E6;");d.vertex=!0;var c=new mxCell("Action",new mxGeometry(40,0,100,30),"shape=transparent;align=left;fontStyle=1;");c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([d], +d.geometry.width,d.geometry.height,"Contextual Action Bar (Bright)")}),this.addEntry("android contextual action bar landscape dark",function(){var d=new mxCell("",new mxGeometry(0,0,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_action_bar_landscape;fillColor=#002E3E;");d.vertex=!0;var c=new mxCell("Action",new mxGeometry(40,0,100,30),"shape=transparent;align=left;fontStyle=1;fontColor=#ffffff;");c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([d], +d.geometry.width,d.geometry.height,"Contextual Action Bar Landscape")}),this.addEntry("android contextual action bar landscape bright",function(){var d=new mxCell("",new mxGeometry(0,0,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_action_bar_landscape_white;fillColor=#E6E6E6;");d.vertex=!0;var c=new mxCell("Action",new mxGeometry(40,0,100,30),"shape=transparent;align=left;fontStyle=1;");c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([d],d.geometry.width, +d.geometry.height,"Contextual Action Bar Landscape (Bright)")}),this.addEntry("android contextual split action bar dark",function(){var d=new mxCell("",new mxGeometry(0,0,185,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_split_action_bar;fillColor=#002E3E;fontColor=#FFFFFF;");d.vertex=!0;var c=new mxCell("Contextual",new mxGeometry(0,0,185,30),"shape=transparent;fontStyle=1;fontColor=#ffffff;");c.vertex=!0;d.insert(c);c=new mxCell("Action",new mxGeometry(0,40,185,30), +"shape=transparent;fontStyle=1;fontColor=#ffffff;");c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Contextual Split Action Bar")}),this.addEntry("android contextual split action bar bright",function(){var d=new mxCell("",new mxGeometry(0,0,185,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_split_action_bar_white;fillColor=#E6E6E6;");d.vertex=!0;var c=new mxCell("Contextual",new mxGeometry(0,0,185,30),"shape=transparent;fontStyle=1;"); +c.vertex=!0;d.insert(c);c=new mxCell("Action",new mxGeometry(0,40,185,30),"shape=transparent;fontStyle=1;");c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Contextual Split Action Bar (Bright)")}),this.addEntry("android contextual split action bar landscape dark",function(){var d=new mxCell("",new mxGeometry(0,0,320,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_split_action_bar_landscape;fillColor=#002E3E;fontColor=#FFFFFF;"); +d.vertex=!0;var c=new mxCell("Contextual",new mxGeometry(0,0,320,30),"shape=transparent;fontStyle=1;fontColor=#ffffff;");c.vertex=!0;d.insert(c);c=new mxCell("Action",new mxGeometry(0,40,320,30),"shape=transparent;fontStyle=1;fontColor=#ffffff;");c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Contextual Split Action Bar Landscape")}),this.addEntry("android contextual split action bar landscape bright",function(){var d=new mxCell("",new mxGeometry(0, +0,320,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.contextual_split_action_bar_landscape_white;fillColor=#E6E6E6;");d.vertex=!0;var c=new mxCell("Contextual",new mxGeometry(0,0,320,30),"shape=transparent;fontStyle=1;");c.vertex=!0;d.insert(c);c=new mxCell("Action",new mxGeometry(0,40,320,30),"shape=transparent;fontStyle=1;");c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Contextual Split Action Bar Landscape (Bright)")}), +this.createVertexTemplateEntry(b+"indeterminate_progress_bar;strokeColor=#33B5E5;pointerEvents=1",149,5,"","Indeterminate Progress Bar",null,null,"android indeterminate progress bar"),this.createVertexTemplateEntry(b+"indeterminateSpinner;",50,50,"","Indeterminate Spinner",null,null,"android indeterminate spinner"),this.createVertexTemplateEntry(b+"keyboard;",185,100,"","Keyboard",null,null,"android keyboard"),this.addEntry("android menu bar",function(){var d=new mxCell("",new mxGeometry(0,0,185, +50),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;strokeColor=#888888;fillColor=#444444;");d.vertex=!0;var c=new mxCell("Menu Item 1",new mxGeometry(0,0,185,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;align=left;spacingLeft=10;fontSize=8;fontColor=#ffffff;");c.vertex=!0;d.insert(c);c=new mxCell("Menu Item 2",new mxGeometry(0,12.5,185,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;align=left;spacingLeft=10;fontSize=8;fontColor=#ffffff;"); +c.vertex=!0;d.insert(c);c=new mxCell("Menu Item 3",new mxGeometry(0,25,185,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;align=left;spacingLeft=10;fontSize=8;fontColor=#ffffff;");c.vertex=!0;d.insert(c);c=new mxCell("Menu Item 4",new mxGeometry(0,37.5,185,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;align=left;spacingLeft=10;fontSize=8;fontColor=#ffffff;"); +c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Menu bar")}),this.addEntry("android menu bar",function(){var d=new mxCell("",new mxGeometry(0,0,185,50),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;strokeColor=#eeeeee;fillColor=#ffffff;gradientColor=none;");d.vertex=!0;var c=new mxCell("Menu Item 1",new mxGeometry(0,0,185,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;align=left;spacingLeft=10;fontSize=8;fontColor=#333333;"); +c.vertex=!0;d.insert(c);c=new mxCell("Menu Item 2",new mxGeometry(0,12.5,185,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;align=left;spacingLeft=10;fontSize=8;fontColor=#333333;");c.vertex=!0;d.insert(c);c=new mxCell("Menu Item 3",new mxGeometry(0,25,185,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;align=left;spacingLeft=10;fontSize=8;fontColor=#333333;"); +c.vertex=!0;d.insert(c);c=new mxCell("Menu Item 4",new mxGeometry(0,37.5,185,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;align=left;spacingLeft=10;fontSize=8;fontColor=#333333;");c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Menu bar")}),this.createVertexTemplateEntry(d+"navigation_bar_1;fillColor=#1A1A1A;strokeColor=#999999;",185,30,"","Navigation Bar", +null,null,"android navigation bar portrait horizontal"),this.createVertexTemplateEntry(d+"navigation_bar_1_landscape;fillColor=#1A1A1A;strokeColor=#999999;",320,30,"","Navigation Bar Landscape",null,null,"android navigation bar landscape horizontal"),this.createVertexTemplateEntry(d+"navigation_bar_1_vertical;fillColor=#1A1A1A;strokeColor=#999999;",30,320,"","Navigation Bar Vertical",null,null,"android navigation bar vertical"),this.createVertexTemplateEntry(d+"navigation_bar_2;fillColor=#1A1A1A;strokeColor=#999999;", +185,30,"","Navigation Bar",null,null,"android navigation bar horizontal"),this.createVertexTemplateEntry(d+"navigation_bar_3;fillColor=#1A1A1A;strokeColor=#999999;",185,30,"","Navigation Bar",null,null,"android navigation bar portrait horizontal"),this.createVertexTemplateEntry(d+"navigation_bar_3_landscape;fillColor=#1A1A1A;strokeColor=#999999;",320,30,"","Navigation Bar Landscape",null,null,"android navigation bar landscape horizontal"),this.createVertexTemplateEntry(d+"navigation_bar_4;fillColor=#1A1A1A;strokeColor=#999999;", +185,30,"","Navigation Bar",null,null,"android navigation bar horizontal"),this.createVertexTemplateEntry(d+"navigation_bar_5;fillColor=#1A1A1A;strokeColor=#999999;",185,30,"","Navigation Bar",null,null,"android navigation bar horizontal"),this.createVertexTemplateEntry(d+"navigation_bar_5_vertical;fillColor=#1A1A1A;strokeColor=#999999;",30,320,"","Navigation Bar Vertical",null,null,"android navigation bar vertical"),this.createVertexTemplateEntry(d+"navigation_bar_6;fillColor=#1A1A1A;strokeColor=#999999;", 185,30,"","Navigation Bar",null,null,"android navigation bar horizontal"),this.createVertexTemplateEntry(b+"progressBar;strokeColor=#33b5e5;dx1=0.8;dx2=0.6;strokeWidth=2;",185,5,"","Progress Bar",null,null,"android progress bar"),this.createVertexTemplateEntry(b+"progressScrubberDisabled;dx=0.3;fillColor=#33b5e5;",185,16,"","Progress Scrubber Disabled",null,null,"android progress scrubber disabled"),this.createVertexTemplateEntry(b+"progressScrubberFocused;dx=0.3;fillColor=#33b5e5;",185,16,"","Progress Scrubber Focused", null,null,"android progress scrubber focused"),this.createVertexTemplateEntry(b+"progressScrubberPressed;dx=0.3;fillColor=#33b5e5;",185,16,"","Progress Scrubber Pressed",null,null,"android progress scrubber pressed"),this.createVertexTemplateEntry(b+"quickscroll2;dy=0.5;fillColor=#33b5e5;strokeColor=#66D5F5;",58,320,"","Quickscroll",null,null,"android quickscroll quick scroll"),this.createVertexTemplateEntry(b+"quickscroll3;dy=0.5;fillColor=#33b5e5;strokeColor=#66D5F5;",6,320,"","Quickscroll",null, -null,"android quickscroll quick scroll"),this.addEntry("android quick contact",function(){var c=new mxCell("",new mxGeometry(0,0,150,165),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.quick_contact;");c.vertex=!0;var d=new mxCell("Name",new mxGeometry(0,65,150,18),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;rSize=0;fontStyle=1;fontColor=#FFFFFF;");d.vertex=!0;c.insert(d);d=new mxCell("Item 1",new mxGeometry(0,108,120,28),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;rSize=0;align=left;spacingLeft=10;"); -d.vertex=!0;c.insert(d);d=new mxCell("Item 2",new mxGeometry(0,136,120,28),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;rSize=0;align=left;spacingLeft=10;");d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Quick Contact")}),this.addEntry("android scrollable tab scroll",function(){var c=new mxCell("",new mxGeometry(0,0,185,15),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;fillColor=#444444;strokeColor=none;"); -c.vertex=!0;var d=new mxCell("One",new mxGeometry(0,0,46.25,15),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;align=left;fontColor=#FFFFFF;");d.vertex=!0;c.insert(d);d=new mxCell("Tab Two",new mxGeometry(46.25,0,92.5,15),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontColor=#FFFFFF;");d.vertex=!0;c.insert(d);d=new mxCell("Tab",new mxGeometry(138.75,0,46.25,15),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;align=right;fontColor=#FFFFFF;"); -d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Scrollable Tab")}),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.scrollbars2;fillColor=#999999;strokeColor=none;",56,56,"","Scrollbars",null,null,"android scrollbar scroll bar"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#1A1A1A;strokeColor=#1A1A1A;fontColor=#FFFFFF;",168.8,16.88,"Normal", +null,"android quickscroll quick scroll"),this.addEntry("android quick contact",function(){var d=new mxCell("",new mxGeometry(0,0,150,165),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.quick_contact;");d.vertex=!0;var c=new mxCell("Name",new mxGeometry(0,65,150,18),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;rSize=0;fontStyle=1;fontColor=#FFFFFF;");c.vertex=!0;d.insert(c);c=new mxCell("Item 1",new mxGeometry(0,108,120,28),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;rSize=0;align=left;spacingLeft=10;"); +c.vertex=!0;d.insert(c);c=new mxCell("Item 2",new mxGeometry(0,136,120,28),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;rSize=0;align=left;spacingLeft=10;");c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Quick Contact")}),this.addEntry("android scrollable tab scroll",function(){var d=new mxCell("",new mxGeometry(0,0,185,15),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rrect;rSize=0;fillColor=#444444;strokeColor=none;"); +d.vertex=!0;var c=new mxCell("One",new mxGeometry(0,0,46.25,15),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;align=left;fontColor=#FFFFFF;");c.vertex=!0;d.insert(c);c=new mxCell("Tab Two",new mxGeometry(46.25,0,92.5,15),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontColor=#FFFFFF;");c.vertex=!0;d.insert(c);c=new mxCell("Tab",new mxGeometry(138.75,0,46.25,15),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;align=right;fontColor=#FFFFFF;"); +c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Scrollable Tab")}),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.scrollbars2;fillColor=#999999;strokeColor=none;",56,56,"","Scrollbars",null,null,"android scrollbar scroll bar"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#1A1A1A;strokeColor=#1A1A1A;fontColor=#FFFFFF;",168.8,16.88,"Normal", "Section Header (Normal)",null,null,"android section header normal dark"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#4D4D4D;strokeColor=#4D4D4D;fontColor=#FFFFFF;",168.8,16.88,"Pressed","Section Header (Pressed)",null,null,"android section header pressed dark"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#33b5e5;strokeColor=#33B5E5;fontColor=#FFFFFF;",168.8,16.88,"Activated", "Section Header (Activated)",null,null,"android section header activated dark"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#006699;strokeColor=#33B5E5;fontColor=#FFFFFF;",168.8,16.88,"Focused","Section Header (Focused)",null,null,"android section header focused dark"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#006699;strokeColor=#33B5E5;fontColor=#B3B3B3;",168.8,16.88,"Disabled focused", "Section Header (Disabled focused)",null,null,"android section header disabled focused dark"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#1A1A1A;strokeColor=#1A1A1A;fontColor=#B3B3B3;",168.8,16.88,"Disabled","Section Header (Disabled)",null,null,"android section header disabled dark"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#FFFFFF;strokeColor=#FFFFFF;fontColor=#4D4D4D;", 168.8,16.88,"Normal","Section Header (Normal, Bright)",null,null,"android section header normal bright"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#f6f6f6;strokeColor=#f6f6f6;fontColor=#4D4D4D;",168.8,16.88,"Pressed","Section Header (Pressed, Bright)",null,null,"android section header pressed bright"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#33b5e5;strokeColor=#33B5E5;fontColor=#4D4D4D;", 168.8,16.88,"Activated","Section Header (Activated, Bright)",null,null,"android section header activated bright"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#99e5ff;strokeColor=#33B5E5;fontColor=#4D4D4D;",168.8,16.88,"Focused","Section Header (Focused, Bright)",null,null,"android section header focused bright"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#99e5ff;strokeColor=#33B5E5;fontColor=#B3B3B3;", 168.8,16.88,"Disabled focused","Section Header (Disabled focused, Bright)",null,null,"android section header disabled focused bright"),this.createVertexTemplateEntry("whiteSpace=wrap;html=1;shadow=0;dashed=0;fontSize=10;align=left;fillColor=#FFFFFF;strokeColor=#FFFFFF;fontColor=#B3B3B3;",168.8,16.88,"Disabled","Section Header (Disabled, Bright)",null,null,"android section header disabled bright"),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.spinner2;align=center;fillColor=#999999;strokeColor=#999999;verticalAlign=bottom", -110,10,"Item","Spinner Normal",null,null,"android spinner normal"),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.spinner2;align=center;fillColor=#33b5e5;strokeColor=#33b5e5;verticalAlign=bottom",110,10,"Item","Spinner Focused",null,null,"android spinner focused"),this.addEntry("android spinner disabled focused",function(){var c=new mxCell("",new mxGeometry(0,0,117,28),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rect;rounded=1;fillColor=#207585;strokeColor=#33b5e5;"); -c.vertex=!0;var d=new mxCell("Item",new mxGeometry(3,4,110,20),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.spinner2;fontStyle=1;fontColor=#ffffff;align=center;verticalAlign=middle;strokeColor=#999999;fillColor=#999999;");d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Spinner Disabled Focused")}),this.addEntry("android spinner disabled focused light bright",function(){var c=new mxCell("",new mxGeometry(0,0,117,28),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rect;rounded=1;fillColor=#ccf2ff;strokeColor=#88c5f5;"); -c.vertex=!0;var d=new mxCell("Item",new mxGeometry(3,4,110,20),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.spinner2;fontStyle=0;fontColor=#666666;align=center;verticalAlign=middle;strokeColor=#cccccc;fillColor=#cccccc;");d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Spinner Disabled Focused Bright")}),this.addEntry("android spinner pressed",function(){var c=new mxCell("",new mxGeometry(0,0,117,28),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rect;rounded=1;fillColor=#33b5e5;strokeColor=#33b5e5;"); -c.vertex=!0;var d=new mxCell("Item",new mxGeometry(3,4,110,20),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.spinner2;fontStyle=0;fontColor=#ffffff;align=center;verticalAlign=middle;strokeColor=#aaeeff;fillColor=#aaeeff;");d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Spinner Pressed")}),this.addEntry("android spinner pressed light bright",function(){var c=new mxCell("",new mxGeometry(0,0,117,28),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rect;rounded=1;fillColor=#33b5e5;strokeColor=#33b5e5;"); -c.vertex=!0;var d=new mxCell("Item",new mxGeometry(3,4,110,20),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.spinner2;fontStyle=0;fontColor=#ffffff;align=center;verticalAlign=middle;strokeColor=#666666;fillColor=#666666;");d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Spinner Pressed Bright")}),this.addEntry("android split action bar dark",function(){var c=new mxCell("",new mxGeometry(0,0,185,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.split_action_bar;fillColor=#1A1A1A;"); -c.vertex=!0;var d=new mxCell("Split",new mxGeometry(0,0,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;fontColor=#ffffff;");d.vertex=!0;c.insert(d);d=new mxCell("Action",new mxGeometry(0,40,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;fontColor=#ffffff;");d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Split Action Bar")}),this.addEntry("android split action bar bright", -function(){var c=new mxCell("",new mxGeometry(0,0,185,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.split_action_bar;fillColor=#E6E6E6;");c.vertex=!0;var d=new mxCell("Split",new mxGeometry(0,0,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;");d.vertex=!0;c.insert(d);d=new mxCell("Action",new mxGeometry(0,40,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;");d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([c], -c.geometry.width,c.geometry.height,"Split Action Bar (Bright)")}),this.addEntry("android split action bar landscape dark",function(){var c=new mxCell("",new mxGeometry(0,0,320,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.split_action_bar_landscape;fillColor=#1A1A1A;");c.vertex=!0;var d=new mxCell("Split",new mxGeometry(0,0,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;fontColor=#ffffff;");d.vertex=!0;c.insert(d);d=new mxCell("Action", -new mxGeometry(0,40,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;fontColor=#ffffff;");d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Split Action Bar Landscape")}),this.addEntry("android split action bar landscape bright",function(){var c=new mxCell("",new mxGeometry(0,0,320,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.split_action_bar_landscape;fillColor=#E6E6E6;");c.vertex=!0; -var d=new mxCell("Split",new mxGeometry(0,0,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;");d.vertex=!0;c.insert(d);d=new mxCell("Action",new mxGeometry(0,40,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;");d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Split Action Bar Landscape (Bright)")}),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.statusBar;align=center;fillColor=#000000;strokeColor=#ffffff;fontColor=#ffffff;fontSize=10;", +110,10,"Item","Spinner Normal",null,null,"android spinner normal"),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.spinner2;align=center;fillColor=#33b5e5;strokeColor=#33b5e5;verticalAlign=bottom",110,10,"Item","Spinner Focused",null,null,"android spinner focused"),this.addEntry("android spinner disabled focused",function(){var d=new mxCell("",new mxGeometry(0,0,117,28),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rect;rounded=1;fillColor=#207585;strokeColor=#33b5e5;"); +d.vertex=!0;var c=new mxCell("Item",new mxGeometry(3,4,110,20),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.spinner2;fontStyle=1;fontColor=#ffffff;align=center;verticalAlign=middle;strokeColor=#999999;fillColor=#999999;");c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Spinner Disabled Focused")}),this.addEntry("android spinner disabled focused light bright",function(){var d=new mxCell("",new mxGeometry(0,0,117,28),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rect;rounded=1;fillColor=#ccf2ff;strokeColor=#88c5f5;"); +d.vertex=!0;var c=new mxCell("Item",new mxGeometry(3,4,110,20),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.spinner2;fontStyle=0;fontColor=#666666;align=center;verticalAlign=middle;strokeColor=#cccccc;fillColor=#cccccc;");c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Spinner Disabled Focused Bright")}),this.addEntry("android spinner pressed",function(){var d=new mxCell("",new mxGeometry(0,0,117,28),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rect;rounded=1;fillColor=#33b5e5;strokeColor=#33b5e5;"); +d.vertex=!0;var c=new mxCell("Item",new mxGeometry(3,4,110,20),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.spinner2;fontStyle=0;fontColor=#ffffff;align=center;verticalAlign=middle;strokeColor=#aaeeff;fillColor=#aaeeff;");c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Spinner Pressed")}),this.addEntry("android spinner pressed light bright",function(){var d=new mxCell("",new mxGeometry(0,0,117,28),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.rect;rounded=1;fillColor=#33b5e5;strokeColor=#33b5e5;"); +d.vertex=!0;var c=new mxCell("Item",new mxGeometry(3,4,110,20),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.spinner2;fontStyle=0;fontColor=#ffffff;align=center;verticalAlign=middle;strokeColor=#666666;fillColor=#666666;");c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Spinner Pressed Bright")}),this.addEntry("android split action bar dark",function(){var d=new mxCell("",new mxGeometry(0,0,185,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.split_action_bar;fillColor=#1A1A1A;"); +d.vertex=!0;var c=new mxCell("Split",new mxGeometry(0,0,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;fontColor=#ffffff;");c.vertex=!0;d.insert(c);c=new mxCell("Action",new mxGeometry(0,40,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;fontColor=#ffffff;");c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Split Action Bar")}),this.addEntry("android split action bar bright", +function(){var d=new mxCell("",new mxGeometry(0,0,185,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.split_action_bar;fillColor=#E6E6E6;");d.vertex=!0;var c=new mxCell("Split",new mxGeometry(0,0,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;");c.vertex=!0;d.insert(c);c=new mxCell("Action",new mxGeometry(0,40,185,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;");c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([d], +d.geometry.width,d.geometry.height,"Split Action Bar (Bright)")}),this.addEntry("android split action bar landscape dark",function(){var d=new mxCell("",new mxGeometry(0,0,320,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.split_action_bar_landscape;fillColor=#1A1A1A;");d.vertex=!0;var c=new mxCell("Split",new mxGeometry(0,0,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;fontColor=#ffffff;");c.vertex=!0;d.insert(c);c=new mxCell("Action", +new mxGeometry(0,40,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;fontColor=#ffffff;");c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Split Action Bar Landscape")}),this.addEntry("android split action bar landscape bright",function(){var d=new mxCell("",new mxGeometry(0,0,320,70),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.split_action_bar_landscape;fillColor=#E6E6E6;");d.vertex=!0; +var c=new mxCell("Split",new mxGeometry(0,0,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;");c.vertex=!0;d.insert(c);c=new mxCell("Action",new mxGeometry(0,40,320,30),"strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.anchor;fontStyle=1;");c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Split Action Bar Landscape (Bright)")}),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.statusBar;align=center;fillColor=#000000;strokeColor=#ffffff;fontColor=#ffffff;fontSize=10;", 183.57,15.825,"","Status bar (portrait)",null,null,"android status bar portrait"),this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxgraph.android.statusBar;align=center;fillColor=#000000;strokeColor=#ffffff;fontColor=#ffffff;fontSize=10;",320.087,15.825,"","Status bar (landscape)",null,null,"android status bar landscape"),this.createVertexTemplateEntry(b+"switch_off;fillColor=#666666;",80,20,"","Switch Off",null,null,"android switch off"),this.createVertexTemplateEntry(b+ "switch_off;fillColor=#E6E6E6;",80,20,"","Switch Off",null,null,"android switch off"),this.createVertexTemplateEntry(b+"switch_on;fillColor=#666666;",80,20,"","Switch On",null,null,"android switch on"),this.createVertexTemplateEntry(b+"switch_on;fillColor=#E6E6E6;",80,20,"","Switch On",null,null,"android switch on"),this.addDataEntry("android tab tabulator bar dark",185,30,"Tab Bar Dark","3ZZfb8IgEMA/Da8NhdY/r+02n/bkkj1jQSGjxVCc7T79KMVpp81qnG6RhIS744D7cVwAOM2rmSZr/qwokwA/ApxqpUw7yquUSQkQFBTgB4AQtB2gpx5r6KxwTTQrzBAH1Dq8E7lhraZVlKaWXlEard7Yq6CGW0UIcMJNLv2w5ISqrRWgFSgpOaNesJZ1s0JerZroAlJQrQQNtGaZPVqi5+KD+blLIWWqpNJuRxy51qzhtt5ZClVYh8SfmGnDqt6oncqHPGMqZ0bXdsrWR9HMmMStG2dixb0bbmlBUrby6st1z9AOPMbTSPER0heysIrw2mRJkfEGVLJUhZn7bUIvH+BdujaUJPqRZDQK0JVYRj0s/yZLv2PtZi2E02mW9WXtNe6gOuJ/m1uJ/2PRwHgRs/iiohGdxlz7SxgPZnw54lFP4uO7KiLeYYqCm+bvuAdudI9wQzwJxjfFOxlQHjwgKdzr7D7ZQwBUNC9fqMLqS7VpTv87UMJdytWdmnb4QYDHeND5eKy4/845W+e39wk="), this.addDataEntry("android tab tabulator bar dark",185,30,"Tab Bar Dark","3ZZRb4MgEIB/Da9GQdvuVbf1aU9dsmdaaCFDaZCuul8/1OtqV81cOrulJCbcHQfcx3k5RJK0mBu6FU+acYXIAyKJ0do2s7RIuFII+5Ihco8w9t2H8GOPNait/pYantkhDrhxeKNqxxtNo8htqUCRW6Nf+YtkVjhFgEgsbKpgmgvK9N4JvhMYzQVnIDjLttohLTZVdB7NmNGSecbwlbtabBbyncPatVQq0Uqb+kQS1qPaoz76YMl05hxiuDE3lhe9UdcqCHnOdcqtKd2SPURRrZhFjZvgciPAjTS0fJo38ubT9cjQTQBjN1JyhvSZLp0iGJsszVaiAhWvdWYXcEwAcgvvuh5DSeJvSYYTD4/EMuxh+TdZ+hVrK2shNzsTdgz8xRn66zxI9B/rBSHLiEcX1YuwG3MJjzAdzPhyxJOenCc3VT/A4Q57V83faQ/c8BbhBmTmTa+KdzagPAAgJTsqZhsAk9WfL3Xm9LneVbf/HSjBIeXKk5rW7g38czz453iceOzkattJo/cB"), @@ -3560,7 +3560,7 @@ this.createVertexTemplateEntry("strokeWidth=1;html=1;shadow=0;dashed=0;shape=mxg 174,30,"","Textfield Activated",null,null,"android textfield activated"),this.createVertexTemplateEntry(b+"text_insertion_point;",20,30,"","Text Insertion Point",null,null,"android textfield insertion point"),this.createVertexTemplateEntry(b+"textSelHandles;fillColor=#33b5e5;strokeColor=#0099cc;",168.8,42.2,"","Text Selection Handles",null,null,"android text selection handle"),this.createVertexTemplateEntry(b+"time_picker;",150,230,"","Time Picker (Bright)",null,null,"android time picker bright"), this.createVertexTemplateEntry(b+"time_picker_dark;",150,230,"","Time Picker (Dark)",null,null,"android time picker dark"),this.createVertexTemplateEntry(e+"rect;fillColor=#33b5e5;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(e+"rect;fillColor=#0099cc;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(e+"rect;fillColor=#aa66cc;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(e+"rect;fillColor=#9933cc;",50,50,"","Color", null,null,"android color"),this.createVertexTemplateEntry(e+"rect;fillColor=#99cc00;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(e+"rect;fillColor=#669900;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(e+"rect;fillColor=#ffbb33;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(e+"rect;fillColor=#ff8800;",50,50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(e+"rect;fillColor=#ff4444;",50, -50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(e+"rect;fillColor=#cc0000;",50,50,"","Color",null,null,"android color")];this.addPalette("android",mxResources.get("android"),!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}))}})();(function(){Sidebar.prototype.addArchiMatePalette=function(){this.addPaletteFunctions("archimate",mxResources.get("archiMate21"),!1,[this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.application;appType=actor",100,75,"","Business Actor",null,null,this.getTagsForStencil("mxgraph.archimate","application","archimate business actor").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.application;appType=role", +50,"","Color",null,null,"android color"),this.createVertexTemplateEntry(e+"rect;fillColor=#cc0000;",50,50,"","Color",null,null,"android color")];this.addPalette("android",mxResources.get("android"),!1,mxUtils.bind(this,function(a){for(var d=0;d<c.length;d++)a.appendChild(c[d](a))}))}})();(function(){Sidebar.prototype.addArchiMatePalette=function(){this.addPaletteFunctions("archimate",mxResources.get("archiMate21"),!1,[this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.application;appType=actor",100,75,"","Business Actor",null,null,this.getTagsForStencil("mxgraph.archimate","application","archimate business actor").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.application;appType=role", 100,75,"","Business Role",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business role").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.application;appType=collab",100,75,"","Business Collaboration",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business collaboration").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.application;appType=interface", 100,75,"","Business Interface",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business interface").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.application;appType=interface2",100,75,"","Business Interface",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business interface").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.location", 100,75,"","Location",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate location").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.business;busType=process",100,75,"","Business Process",null,null,this.getTagsForStencil("mxgraph.archimate","","archimate business process").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#ffff99;shape=mxgraph.archimate.business;busType=function", @@ -3633,7 +3633,7 @@ null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate implementati 0),!0);b.geometry.setTerminalPoint(new mxPoint(160,0),!1);b.geometry.relative=!0;b.geometry.x=1;b.geometry.y=10;b.edge=!0;return a.createEdgeTemplateFromCells([b],160,0,"Influence")}),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=block;dashed=0;elbow=vertical;endFill=1;",160,0,"","Triggering",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship triggering").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=block;dashed=1;elbow=vertical;endFill=1;dashPattern=6 4;", 160,0,"","Flow",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship flow").join(" ")),this.createEdgeTemplateEntry("endArrow=block;html=1;endFill=0;edgeStyle=elbowEdgeStyle;elbow=vertical;",160,0,"","Specialization",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship specialization").join(" ")),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;html=1;endArrow=none;elbow=vertical;",160,0,"","Association",null,this.getTagsForStencil("mxgraph.archimate3", "","archimate relationship association").join(" ")),this.createVertexTemplateEntry("ellipse;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;fillColor=#000000",10,10,"","And Junction",null,this.getTagsForStencil("mxgraph.archimate3","","archimate relationship junction").join(" ")),this.createVertexTemplateEntry("ellipse;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;fillColor=#ffffff",10,10,"","Or Junction",null,this.getTagsForStencil("mxgraph.archimate3", -"","archimate relationship junction").join(" "))];this.addPalette("archimate3Relationships","Archimate 3.0 / Relationships",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addArchimate3StrategyPalette=function(){var a=[this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#F5DEAA;shape=mxgraph.archimate3.application;appType=resource;archiType=square;",150,75,"","Resource",null,null,this.getTagsForStencil("mxgraph.archimate3", +"","archimate relationship junction").join(" "))];this.addPalette("archimate3Relationships","Archimate 3.0 / Relationships",!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))};Sidebar.prototype.addArchimate3StrategyPalette=function(){var a=[this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#F5DEAA;shape=mxgraph.archimate3.application;appType=resource;archiType=square;",150,75,"","Resource",null,null,this.getTagsForStencil("mxgraph.archimate3", "","archimate strategy resource").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#F5DEAA;shape=mxgraph.archimate3.application;appType=capability;archiType=rounded;",150,75,"","Capability",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate strategy capability").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#F5DEAA;shape=mxgraph.archimate3.application;appType=course;archiType=rounded;",150, 75,"","Course of Action",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate strategy course action").join(" "))];this.addPalette("archimate3Strategy","Archimate 3.0 / Strategy",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addArchimate3TechnologyPalette=function(){var a=[this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.application;appType=node;archiType=square;", 150,75,"","Node",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology node").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.node;",100,60,"","Node",null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate technology node").join(" ")),this.createVertexTemplateEntry("html=1;outlineConnect=0;whiteSpace=wrap;fillColor=#AFFFAF;shape=mxgraph.archimate3.tech;techType=device;",150,75,"","Device", @@ -3662,8 +3662,8 @@ null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow stylised notch notc 100,100,"","Callout with Double Arrow 90"+String.fromCharCode(176),null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow callout double two way orthogonal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.quadArrow;dy=10;dx=20;notch=24;arrowHead=10;",100,100,"","Quad Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow four way quad").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.triadArrow;dy=10;dx=20;arrowHead=40;", 100,70,"","Triad Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow three way triad").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.tailedArrow;dy1=10;dx1=20;notch=0;arrowHead=20;dx2=25;dy2=30;",100,60,"","Tailed Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow tailed").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.tailedNotchedArrow;dy1=10;dx1=20;notch=20;arrowHead=20;dx2=25;dy2=30;", 100,60,"","Tailed Arrow with Notch",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow tailed notch notched").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.stripedArrow;dy=0.6;dx=40;notch=25;",100,70,"","Striped Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow striped").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.jumpInArrow;dy=15;dx=38;arrowHead=55;", -100,100,"","Jump-In Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow jump in").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.uTurnArrow;dy=11;arrowHead=43;dx2=25;",100,100,"","U Turn Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow u turn uturn").join(" "))];this.addPalette("arrows2",mxResources.get("arrows"),!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))}})();(function(){Sidebar.prototype.addAtlassianPalette=function(){var a=this,b=[this.addEntry("atlassian issue ticket bug jira task feature request",function(){var b=new mxCell("Task description",new mxGeometry(0,0,200,50),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.issue;issueType=story;issuePriority=blocker;issueStatus=inProgress;verticalAlign=top;align=left;whiteSpace=wrap;overflow=hidden;spacingTop=25;strokeColor=#A8ADB0;fillColor=#EEEEEE;fontSize=12;backgroundOutline=1;");b.vertex=!0;var c= -new mxCell("ID",new mxGeometry(0,0,60,20),"strokeColor=none;fillColor=none;part=1;resizable=0;align=left;autosize=1;points=[];deletable=0;connectable=0;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(20,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Issue")}),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Atlassian_Logo.svg;",66,66,"","Atlassian",null,null,this.getTagsForStencil("mxgraph.atlassian","atlassian logo", +100,100,"","Jump-In Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow jump in").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.uTurnArrow;dy=11;arrowHead=43;dx2=25;",100,100,"","U Turn Arrow",null,null,this.getTagsForStencil("mxgraph.arrows2","arrow","arrow u turn uturn").join(" "))];this.addPalette("arrows2",mxResources.get("arrows"),!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))}})();(function(){Sidebar.prototype.addAtlassianPalette=function(){var a=this,b=[this.addEntry("atlassian issue ticket bug jira task feature request",function(){var b=new mxCell("Task description",new mxGeometry(0,0,200,50),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.issue;issueType=story;issuePriority=blocker;issueStatus=inProgress;verticalAlign=top;align=left;whiteSpace=wrap;overflow=hidden;spacingTop=25;strokeColor=#A8ADB0;fillColor=#EEEEEE;fontSize=12;backgroundOutline=1;");b.vertex=!0;var d= +new mxCell("ID",new mxGeometry(0,0,60,20),"strokeColor=none;fillColor=none;part=1;resizable=0;align=left;autosize=1;points=[];deletable=0;connectable=0;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(20,0);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Issue")}),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Atlassian_Logo.svg;",66,66,"","Atlassian",null,null,this.getTagsForStencil("mxgraph.atlassian","atlassian logo", "atlassian ").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Bamboo_Logo.svg;",64,74,"","Bamboo",null,null,this.getTagsForStencil("mxgraph.atlassian","bamboo logo","atlassian ").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Bitbucket_Logo.svg;",57,50,"","Bitbucket",null,null,this.getTagsForStencil("mxgraph.atlassian","bitbucket logo atlassian","atlassian ").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Clover_Logo.svg;", 71,71,"","Clover",null,null,this.getTagsForStencil("mxgraph.atlassian","clover logo","atlassian ").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Confluence_Logo.svg;",63,57,"","Confluence",null,null,this.getTagsForStencil("mxgraph.atlassian","confluence logo","atlassian ").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Crowd_Logo.svg;",66,65,"","Crowd",null,null,this.getTagsForStencil("mxgraph.atlassian","crowd logo","atlassian ").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Crucible_Logo.svg;", 61,61,"","Crucible",null,null,this.getTagsForStencil("mxgraph.atlassian","crucible logo","atlassian ").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Fisheye_Logo.svg;",71,59,"","Fisheye",null,null,this.getTagsForStencil("mxgraph.atlassian","fisheye logo","atlassian ").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Hipchat_Logo.svg;",66,62,"","Hipchat",null,null,this.getTagsForStencil("mxgraph.atlassian","hipchat logo atlassian","atlassian ").join(" ")), @@ -3673,32 +3673,32 @@ null,null,this.getTagsForStencil("mxgraph.atlassian","jira service desk logo atl 70,70,"","Trello",null,null,this.getTagsForStencil("mxgraph.atlassian","trello logo","atlassian ").join(" ")),this.createVertexTemplateEntry("shape=ellipse;fillColor=#6554C0;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=46;fontStyle=1;html=1",96,96,"MM","Avatar (Large)",null,null,this.getTagsForStencil("mxgraph.atlassian","avatar","atlassian avatar").join(" ")),this.createVertexTemplateEntry("shape=ellipse;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=25;fontStyle=1;html=1", 48,48,"MM","Avatar (Main)",null,null,this.getTagsForStencil("mxgraph.atlassian","avatar","atlassian avatar").join(" ")),this.createVertexTemplateEntry("shape=ellipse;fillColor=#36B37E;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=17;fontStyle=1;html=1",32,32,"MM","Avatar (Normal)",null,null,this.getTagsForStencil("mxgraph.atlassian","avatar","atlassian avatar").join(" ")),this.createVertexTemplateEntry("shape=ellipse;fillColor=#FFAB00;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=1;html=1", 24,24,"MM","Avatar (Small)",null,null,this.getTagsForStencil("mxgraph.atlassian","avatar","atlassian avatar").join(" ")),this.createVertexTemplateEntry("shape=ellipse;fillColor=#FF5630;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=1;html=1",16,16,"M","Avatar (Tiny)",null,null,this.getTagsForStencil("mxgraph.atlassian","avatar","atlassian avatar").join(" ")),this.addEntry("atlassian avatar available",function(){var b=new mxCell("MM",new mxGeometry(0, -0,32,32),"shape=ellipse;fillColor=#6554C0;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=17;fontStyle=1;html=1");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,1,10,10),"shape=ellipse;fillColor=#36B37E;strokeColor=#ffffff;strokeWidth=2;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-10,-10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Avatar (Available)")}),this.addEntry("atlassian avatar away", -function(){var b=new mxCell("MM",new mxGeometry(0,0,32,32),"shape=ellipse;fillColor=#FFAB00;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=17;fontStyle=1;html=1");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,1,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.away;fillColor=#7A869A;strokeColor=#ffffff;strokeWidth=2;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-10,-10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b], -b.geometry.width,b.geometry.height,"Avatar (Away)")}),this.addEntry("atlassian avatar do not disturb unavailable",function(){var b=new mxCell("MM",new mxGeometry(0,0,32,32),"shape=ellipse;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=17;fontStyle=1;html=1");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,1,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.do_not_disturb;fillColor=#FF5630;strokeColor=#ffffff;strokeWidth=2;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(-10,-10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Avatar (Do not disturb)")}),this.createVertexTemplateEntry("rounded=1;arcSize=5;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=14;fontStyle=1;html=1",40,40,"</>","Container Avatar (Large)",null,null,this.getTagsForStencil("mxgraph.atlassian","avatar","atlassian container avatar large").join(" ")), +0,32,32),"shape=ellipse;fillColor=#6554C0;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=17;fontStyle=1;html=1");b.vertex=!0;var d=new mxCell("",new mxGeometry(1,1,10,10),"shape=ellipse;fillColor=#36B37E;strokeColor=#ffffff;strokeWidth=2;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-10,-10);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Avatar (Available)")}),this.addEntry("atlassian avatar away", +function(){var b=new mxCell("MM",new mxGeometry(0,0,32,32),"shape=ellipse;fillColor=#FFAB00;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=17;fontStyle=1;html=1");b.vertex=!0;var d=new mxCell("",new mxGeometry(1,1,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.away;fillColor=#7A869A;strokeColor=#ffffff;strokeWidth=2;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-10,-10);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b], +b.geometry.width,b.geometry.height,"Avatar (Away)")}),this.addEntry("atlassian avatar do not disturb unavailable",function(){var b=new mxCell("MM",new mxGeometry(0,0,32,32),"shape=ellipse;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=17;fontStyle=1;html=1");b.vertex=!0;var d=new mxCell("",new mxGeometry(1,1,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.do_not_disturb;fillColor=#FF5630;strokeColor=#ffffff;strokeWidth=2;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(-10,-10);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Avatar (Do not disturb)")}),this.createVertexTemplateEntry("rounded=1;arcSize=5;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=14;fontStyle=1;html=1",40,40,"</>","Container Avatar (Large)",null,null,this.getTagsForStencil("mxgraph.atlassian","avatar","atlassian container avatar large").join(" ")), this.createVertexTemplateEntry("rounded=1;arcSize=5;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=1;html=1",32,32,"</>","Container Avatar (Medium)",null,null,this.getTagsForStencil("mxgraph.atlassian","avatar","atlassian container avatar medium").join(" ")),this.createVertexTemplateEntry("rounded=1;arcSize=5;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=1;html=1", 24,24,"</>","Container Avatar (Small)",null,null,this.getTagsForStencil("mxgraph.atlassian","avatar","atlassian container avatar small").join(" ")),this.createVertexTemplateEntry("shape=ellipse;fillColor=#0065FF;strokeColor=none;html=1",10,10,"","Dot Badge",null,null,this.getTagsForStencil("mxgraph.atlassian","","atlassian dot badge").join(" ")),this.createVertexTemplateEntry("rounded=1;fillColor=#0065FF;strokeColor=none;html=1;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=18;fontStyle=1;arcSize=50", 40,25,"13","Bold Badge",null,null,this.getTagsForStencil("mxgraph.atlassian","","atlassian bold badge").join(" ")),this.createVertexTemplateEntry("rounded=1;fillColor=#E3FCEF;strokeColor=none;html=1;fontColor=#016745;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=18;fontStyle=0;arcSize=50",40,25,"+1","Subtle Badge",null,null,this.getTagsForStencil("mxgraph.atlassian","","atlassian subtle badge").join(" ")),this.addEntry("atlassian banner",function(){var b=new mxCell("",new mxGeometry(0, -0,625,50),"rounded=0;fillColor=#FFAB00;strokeColor=none;html=1");b.vertex=!0;var c=new mxCell("<b>More information?</b> See the <u>recovery process documentation</u>.",new mxGeometry(.15,.5,20,20),"shape=mxgraph.azure.azure_alert;fillColor=#172B4C;strokeColor=none;fontColor=#172B4C;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b], -b.geometry.width,b.geometry.height,"Banner")}),this.addEntry("atlassian banner",function(){var b=new mxCell("",new mxGeometry(0,0,625,50),"rounded=0;fillColor=#DE350A;strokeColor=none;html=1");b.vertex=!0;var c=new mxCell("A database error has occurred. Please reload the page.",new mxGeometry(.15,.5,20,20),"shape=mxgraph.azure.azure_alert;fillColor=#ffffff;strokeColor=none;fontColor=#ffffff;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5");c.geometry.relative= -!0;c.geometry.offset=new mxPoint(0,-10);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Banner")}),this.createVertexTemplateEntry("fillColor=none;strokeColor=none;html=1;fontColor=#596780;align=left;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=0",360,25,"Atlassian / Atlassian Connect / atlassian-connect-js-extra","Breadcrumb",null,null,this.getTagsForStencil("mxgraph.atlassian","","atlassian breadcrumb").join(" ")),this.addEntry("atlassian button primary", -function(){var b=new mxCell("Pay now",new mxGeometry(25,0,86,33),"rounded=1;fillColor=#0057D8;align=center;strokeColor=none;html=1;fontColor=#ffffff;fontSize=12");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,9,14,14),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.checkbox;fillColor=#008465;strokeColor=none;html=1");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],111,33,"Button (Primary)")}),this.addEntry("atlassian button standard",function(){var b=new mxCell("Create Group",new mxGeometry(25, -0,115,33),"rounded=1;align=center;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;fontSize=12");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,9,14,14),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.checkbox;fillColor=#008465;strokeColor=none;html=1");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],140,33,"Button (Standard)")}),this.addEntry("atlassian button link",function(){var b=new mxCell("Visit documentation",new mxGeometry(25,0,125,33),"fillColor=none;strokeColor=none;html=1;fontColor=#0057D8;align=left;fontSize=12"); -b.vertex=!0;var c=new mxCell("",new mxGeometry(0,9,14,14),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.checkbox;fillColor=#008465;strokeColor=none;html=1");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],150,33,"Button (Link)")}),this.addEntry("atlassian button primary",function(){var b=new mxCell("Submit",new mxGeometry(25,0,80,33),"rounded=1;fillColor=#0057D8;align=center;strokeColor=none;html=1;fontColor=#ffffff;fontSize=12");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,9,14, -14),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.close;fillColor=#BA3200;strokeColor=none;html=1");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],105,33,"Button (Primary)")}),this.addEntry("atlassian button standard",function(){var b=new mxCell("Done",new mxGeometry(25,0,55,33),"rounded=1;align=center;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;fontSize=12");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,9,14,14),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.close;fillColor=#BA3200;strokeColor=none;html=1"); -c.vertex=!0;return a.createVertexTemplateFromCells([b,c],80,33,"Button (Standard)")}),this.addEntry("atlassian button link",function(){var b=new mxCell("Click here",new mxGeometry(25,0,75,33),"fillColor=none;strokeColor=none;html=1;fontColor=#0057D8;align=left;fontSize=12");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,9,14,14),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.close;fillColor=#BA3200;strokeColor=none;html=1");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],100,33,"Button (Link)")}), +0,625,50),"rounded=0;fillColor=#FFAB00;strokeColor=none;html=1");b.vertex=!0;var d=new mxCell("<b>More information?</b> See the <u>recovery process documentation</u>.",new mxGeometry(.15,.5,20,20),"shape=mxgraph.azure.azure_alert;fillColor=#172B4C;strokeColor=none;fontColor=#172B4C;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,-10);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b], +b.geometry.width,b.geometry.height,"Banner")}),this.addEntry("atlassian banner",function(){var b=new mxCell("",new mxGeometry(0,0,625,50),"rounded=0;fillColor=#DE350A;strokeColor=none;html=1");b.vertex=!0;var d=new mxCell("A database error has occurred. Please reload the page.",new mxGeometry(.15,.5,20,20),"shape=mxgraph.azure.azure_alert;fillColor=#ffffff;strokeColor=none;fontColor=#ffffff;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5");d.geometry.relative= +!0;d.geometry.offset=new mxPoint(0,-10);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Banner")}),this.createVertexTemplateEntry("fillColor=none;strokeColor=none;html=1;fontColor=#596780;align=left;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=0",360,25,"Atlassian / Atlassian Connect / atlassian-connect-js-extra","Breadcrumb",null,null,this.getTagsForStencil("mxgraph.atlassian","","atlassian breadcrumb").join(" ")),this.addEntry("atlassian button primary", +function(){var b=new mxCell("Pay now",new mxGeometry(25,0,86,33),"rounded=1;fillColor=#0057D8;align=center;strokeColor=none;html=1;fontColor=#ffffff;fontSize=12");b.vertex=!0;var d=new mxCell("",new mxGeometry(0,9,14,14),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.checkbox;fillColor=#008465;strokeColor=none;html=1");d.vertex=!0;return a.createVertexTemplateFromCells([b,d],111,33,"Button (Primary)")}),this.addEntry("atlassian button standard",function(){var b=new mxCell("Create Group",new mxGeometry(25, +0,115,33),"rounded=1;align=center;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;fontSize=12");b.vertex=!0;var d=new mxCell("",new mxGeometry(0,9,14,14),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.checkbox;fillColor=#008465;strokeColor=none;html=1");d.vertex=!0;return a.createVertexTemplateFromCells([b,d],140,33,"Button (Standard)")}),this.addEntry("atlassian button link",function(){var b=new mxCell("Visit documentation",new mxGeometry(25,0,125,33),"fillColor=none;strokeColor=none;html=1;fontColor=#0057D8;align=left;fontSize=12"); +b.vertex=!0;var d=new mxCell("",new mxGeometry(0,9,14,14),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.checkbox;fillColor=#008465;strokeColor=none;html=1");d.vertex=!0;return a.createVertexTemplateFromCells([b,d],150,33,"Button (Link)")}),this.addEntry("atlassian button primary",function(){var b=new mxCell("Submit",new mxGeometry(25,0,80,33),"rounded=1;fillColor=#0057D8;align=center;strokeColor=none;html=1;fontColor=#ffffff;fontSize=12");b.vertex=!0;var d=new mxCell("",new mxGeometry(0,9,14, +14),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.close;fillColor=#BA3200;strokeColor=none;html=1");d.vertex=!0;return a.createVertexTemplateFromCells([b,d],105,33,"Button (Primary)")}),this.addEntry("atlassian button standard",function(){var b=new mxCell("Done",new mxGeometry(25,0,55,33),"rounded=1;align=center;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;fontSize=12");b.vertex=!0;var d=new mxCell("",new mxGeometry(0,9,14,14),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.close;fillColor=#BA3200;strokeColor=none;html=1"); +d.vertex=!0;return a.createVertexTemplateFromCells([b,d],80,33,"Button (Standard)")}),this.addEntry("atlassian button link",function(){var b=new mxCell("Click here",new mxGeometry(25,0,75,33),"fillColor=none;strokeColor=none;html=1;fontColor=#0057D8;align=left;fontSize=12");b.vertex=!0;var d=new mxCell("",new mxGeometry(0,9,14,14),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.close;fillColor=#BA3200;strokeColor=none;html=1");d.vertex=!0;return a.createVertexTemplateFromCells([b,d],100,33,"Button (Link)")}), this.createVertexTemplateEntry("rounded=1;fillColor=#0057D8;strokeColor=none;html=1;fontColor=#ffffff;align=center;verticalAlign=middle;fontStyle=0;fontSize=12",86,33,"Primary","Button (Primary)",null,null,this.getTagsForStencil("mxgraph.atlassian","","atlassian button primary").join(" ")),this.createVertexTemplateEntry("rounded=1;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;align=center;verticalAlign=middle;fontStyle=0;fontSize=12",86,33,"Standard","Button (Standard)",null,null,this.getTagsForStencil("mxgraph.atlassian", "","atlassian button standard").join(" ")),this.createVertexTemplateEntry("fillColor=none;strokeColor=none;html=1;fontColor=#0057D8;align=center;verticalAlign=middle;fontStyle=0;fontSize=12",86,33,"Link button","Button (Link)",null,null,this.getTagsForStencil("mxgraph.atlassian","","atlassian button link").join(" ")),this.addEntry("atlassian dropdown button",function(){var b=new mxCell("Dropdown button",new mxGeometry(0,0,140,33),"rounded=1;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;align=left;fontSize=12;spacingLeft=10"); -b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,12,6),"shape=triangle;direction=south;fillColor=#596780;strokeColor=none;html=1");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-3);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button (dropdown)")}),this.addEntry("atlassian button label only",function(){var b=new mxCell("Label only",new mxGeometry(0,0,80,33),"rounded=1;align=center;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;fontSize=12"); -b.vertex=!0;return a.createVertexTemplateFromCells([b],80,33,"Button (label only)")}),this.addEntry("atlassian button icon and label",function(){var b=new mxCell("Icon and label",new mxGeometry(0,0,120,33),"rounded=1;align=left;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;fontSize=12;spacingLeft=26;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,.5,12,12),"shape=mxgraph.mscae.intune.subscription_portal;fillColor=#596780;strokeColor=none;fontColor=#ffffff;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,-6);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],120,33,"Button (icon and label)")}),this.addEntry("atlassian button icon only",function(){var b=new mxCell("",new mxGeometry(0,0,32,33),"rounded=1;align=left;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;fontSize=12;spacingLeft=26;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,.5,12,12),"shape=mxgraph.mscae.intune.subscription_portal;fillColor=#596780;strokeColor=none;fontColor=#ffffff;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,-6);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],32,33,"Button (icon only)")}),this.addEntry("atlassian button subtle",function(){var b=new mxCell("Subtle",new mxGeometry(0,0,80,33),"rounded=1;align=left;fillColor=none;strokeColor=none;html=1;fontColor=#596780;fontSize=12;spacingLeft=26;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,.5,12,12),"shape=mxgraph.mscae.intune.subscription_portal;fillColor=#596780;strokeColor=none;fontColor=#ffffff;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,-6);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],80,33,"Button (subtle)")}),this.addEntry("atlassian button disabled",function(){var b=new mxCell("Disabled button",new mxGeometry(0,0,110,33),"rounded=1;align=center;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#A5ADBA;fontSize=12");b.vertex=!0;return a.createVertexTemplateFromCells([b],110,33,"Button (disabled)")}),this.addDataEntry("atlassian split button",80,33, +b.vertex=!0;var d=new mxCell("",new mxGeometry(1,.5,12,6),"shape=triangle;direction=south;fillColor=#596780;strokeColor=none;html=1");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-3);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button (dropdown)")}),this.addEntry("atlassian button label only",function(){var b=new mxCell("Label only",new mxGeometry(0,0,80,33),"rounded=1;align=center;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;fontSize=12"); +b.vertex=!0;return a.createVertexTemplateFromCells([b],80,33,"Button (label only)")}),this.addEntry("atlassian button icon and label",function(){var b=new mxCell("Icon and label",new mxGeometry(0,0,120,33),"rounded=1;align=left;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;fontSize=12;spacingLeft=26;");b.vertex=!0;var d=new mxCell("",new mxGeometry(0,.5,12,12),"shape=mxgraph.mscae.intune.subscription_portal;fillColor=#596780;strokeColor=none;fontColor=#ffffff;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,-6);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],120,33,"Button (icon and label)")}),this.addEntry("atlassian button icon only",function(){var b=new mxCell("",new mxGeometry(0,0,32,33),"rounded=1;align=left;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;fontSize=12;spacingLeft=26;");b.vertex=!0;var d=new mxCell("",new mxGeometry(0,.5,12,12),"shape=mxgraph.mscae.intune.subscription_portal;fillColor=#596780;strokeColor=none;fontColor=#ffffff;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,-6);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],32,33,"Button (icon only)")}),this.addEntry("atlassian button subtle",function(){var b=new mxCell("Subtle",new mxGeometry(0,0,80,33),"rounded=1;align=left;fillColor=none;strokeColor=none;html=1;fontColor=#596780;fontSize=12;spacingLeft=26;");b.vertex=!0;var d=new mxCell("",new mxGeometry(0,.5,12,12),"shape=mxgraph.mscae.intune.subscription_portal;fillColor=#596780;strokeColor=none;fontColor=#ffffff;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,-6);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],80,33,"Button (subtle)")}),this.addEntry("atlassian button disabled",function(){var b=new mxCell("Disabled button",new mxGeometry(0,0,110,33),"rounded=1;align=center;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#A5ADBA;fontSize=12");b.vertex=!0;return a.createVertexTemplateFromCells([b],110,33,"Button (disabled)")}),this.addDataEntry("atlassian split button",80,33, "Button (split)","rZRfb4IwFMU/TR9doFXnXsXhy5Ys8WHPjVygWWlJuTrdp1+hBUV0kjgTk/bce/rndxoIi4rD2vAyf9cJSMJeCYuM1uhGxSECKQkNRELYilAa2D+h8Y1q2FSDkhtQOMZAnWHP5Q6csimlQKdWeJReNXqnEqhNIWHLVEgZaalNU2RxGNN4avUKjf6CtqK0su5ljoVsfVrhmW/2Mn9eBFbnUmTKahJS9G0b8VNvHdJ62ZJvhcremuoqDPyZwSAcbt67kfyl16ALQHO0Ld8iwdx1LPxCOYgs9y7GnMYrN8865wmiHXiO15myAdMBzirnZT1EI7jKanWZCANbFLrmUOldfchLzh2vvzmPoUOv0+kbjv4FPc3c/IxdSIfs5k4yIDmKPfSWusbTb/+hhT1Vt/fEv9h298lFIjpNK8BBHt0lRkU0HR+RFOpWPP0YbEBp8+u/edf06dHR/0vnThrtS340DjZ7nL+dnj5prv38i/cL"), this.addDataEntry("atlassian button grouped",320,33,"Button (grouped)","7ZZNb4JAEIZ/zR5rYFetvUqLvTRp0kPPGxlg48KSZVHsr+8AC37S0kQ9mJqY7MwwHzzviBDmJeVC8yx+UwFIwl4I87RSpjklpQdSEuqIgLBnQqmDX0L9nqhbR52Ma0jNkATaJKy5LKDxNI7cbKV15EarFXyKwMTocAmb5zEP1AYNB42A5zEE1uBSRCmel9geNDpik8hdVlaVTMqout1RoparIhtpDUscda4/xFcVdqs6oZDSU1LpegTmuz71x1WNepa9SFh/ukg7ZXtboA2UvWhql+WyAJWA0Vu8ZGOLYJRZfE4MIoptGmONj+eNHXWpO9B4sKzPc2cn3OeFMSpF36kCWhVp0DEOVWpaVtTae0QmT9PHWXedLXLMNFUp/Akn6gM5Nn1tOVSKDoJMf4U8+4GxBsmNWMNB+XPgbYd3JbAxdcrD0m2GCsMczIlQ3VyDtBv3a8f+tbuYdu70GuJN+sUb3/zRVzGz7Y8fgHexKIcJt1mbh6v85qf9a+Peem0khHe9NZfek57/ZDR371nNSuy/hn0D"), -this.addEntry("atlassian button compact",function(){var b=new mxCell("Compact",new mxGeometry(0,0,86,33),"rounded=1;fillColor=#F1F2F4;align=center;strokeColor=none;html=1;fontColor=#596780;fontSize=12");b.vertex=!0;var c=new mxCell("",new mxGeometry(107,13,6,6),"shape=ellipse;fillColor=#596780;strokeColor=none;html=1");c.vertex=!0;var d=new mxCell("",new mxGeometry(117,13,6,6),"shape=ellipse;fillColor=#596780;strokeColor=none;html=1");d.vertex=!0;var f=new mxCell("",new mxGeometry(127,13,6,6),"shape=ellipse;fillColor=#596780;strokeColor=none;html=1"); -f.vertex=!0;return a.createVertexTemplateFromCells([b,c,d,f],133,33,"Button (compact)")}),this.addDataEntry("atlassian button grouped group",556,33,"Button (grouped)","3Zhdb5swFIZ/DZeNDA4kuRxp003qpEq76LUVDFgxGNlOm+zXz8YmhTofVIM0W6RI+MCxj5/3+NjgwWWxe+Soyn+yBFMPPnhwyRmT5qrYLTGlXgBI4sF7LwiA+nvB6sRdv74LKsRxKfs4BMbhFdEtNpaHhEhjFHJPrZGzbZlg7eN7ME4JpUtGGa9vQgCicKUGiBElWalsazU4VjdjITnb4ObRkpWquziXBW06YqVsdZTWP2v/RX7rwf0mQswl3p2cZW2yU3zErMCS79UjbySRuXkiNCBAjkmWWy8IjQ0J084Onu/I1IWldpwgdAguWVHowD4FceWvgtV0AIjhIprNwZAQrUMYGo8W0/lITKcO029CaCz/GVJ/Chyms5GYhg5Th6bB8mJj0SBEjhL2php69gkSec0aHGPawqe8Kt1lsct0YZsUbL3ZVhPO8VpNKOYNQnBGs65E7eLQjXIIGQLfTe1gOpIOkaPDD5XX4JmzjGMhvloUN80vLAcb6Uct7aLqL6MKAQs16PeGtw66l7jhxdq/OKMlxxRJ8oo73R8T2I7wzIiu7U3uRKDrwdJUYOkkxCGuXjkyc3LkhfFNSpXqQ6QHxanslxwaV7yVkpXOur2ZHBEVWpMye6onZYL7m7TpOlwnie4WY2TRvEfFt7pLTlCZaWucEF0RiFb8XrCtnv3HIn0Q9/w+2keEWR8R9qYFJm6ZbrbhtijRMJrYk3Mz+h0cQaKFI9ET0pX7ypuALgi3vswH2gqiIVZx373eB5eX4D9+hA2Be4QNo3GOTr5/GWeT4cqTVAKPWryMvKerV9gpID50QB3hFA2AyX2pv2VMwVdhct/cbxkTvA4m1Xz/+mR2tPbHqT8="), +this.addEntry("atlassian button compact",function(){var b=new mxCell("Compact",new mxGeometry(0,0,86,33),"rounded=1;fillColor=#F1F2F4;align=center;strokeColor=none;html=1;fontColor=#596780;fontSize=12");b.vertex=!0;var d=new mxCell("",new mxGeometry(107,13,6,6),"shape=ellipse;fillColor=#596780;strokeColor=none;html=1");d.vertex=!0;var c=new mxCell("",new mxGeometry(117,13,6,6),"shape=ellipse;fillColor=#596780;strokeColor=none;html=1");c.vertex=!0;var f=new mxCell("",new mxGeometry(127,13,6,6),"shape=ellipse;fillColor=#596780;strokeColor=none;html=1"); +f.vertex=!0;return a.createVertexTemplateFromCells([b,d,c,f],133,33,"Button (compact)")}),this.addDataEntry("atlassian button grouped group",556,33,"Button (grouped)","3Zhdb5swFIZ/DZeNDA4kuRxp003qpEq76LUVDFgxGNlOm+zXz8YmhTofVIM0W6RI+MCxj5/3+NjgwWWxe+Soyn+yBFMPPnhwyRmT5qrYLTGlXgBI4sF7LwiA+nvB6sRdv74LKsRxKfs4BMbhFdEtNpaHhEhjFHJPrZGzbZlg7eN7ME4JpUtGGa9vQgCicKUGiBElWalsazU4VjdjITnb4ObRkpWquziXBW06YqVsdZTWP2v/RX7rwf0mQswl3p2cZW2yU3zErMCS79UjbySRuXkiNCBAjkmWWy8IjQ0J084Onu/I1IWldpwgdAguWVHowD4FceWvgtV0AIjhIprNwZAQrUMYGo8W0/lITKcO029CaCz/GVJ/Chyms5GYhg5Th6bB8mJj0SBEjhL2php69gkSec0aHGPawqe8Kt1lsct0YZsUbL3ZVhPO8VpNKOYNQnBGs65E7eLQjXIIGQLfTe1gOpIOkaPDD5XX4JmzjGMhvloUN80vLAcb6Uct7aLqL6MKAQs16PeGtw66l7jhxdq/OKMlxxRJ8oo73R8T2I7wzIiu7U3uRKDrwdJUYOkkxCGuXjkyc3LkhfFNSpXqQ6QHxanslxwaV7yVkpXOur2ZHBEVWpMye6onZYL7m7TpOlwnie4WY2TRvEfFt7pLTlCZaWucEF0RiFb8XrCtnv3HIn0Q9/w+2keEWR8R9qYFJm6ZbrbhtijRMJrYk3Mz+h0cQaKFI9ET0pX7ypuALgi3vswH2gqiIVZx373eB5eX4D9+hA2Be4QNo3GOTr5/GWeT4cqTVAKPWryMvKerV9gpID50QB3hFA2AyX2pv2VMwVdhct/cbxkTvA4m1Xz/+mR2tPbHqT8="), this.addDataEntry("atlassian button grouped group responsive",551,104,"Button (grouped, responsive)","7Vnfj6IwEP5reLwNbYXFx9PTvZdLLrmHeyYySrOFmrbu6v3110JB2S4urj9wjSaYzpRph+9rZ4bikXG2fhLxMv3FE2AemXhkLDhXZStbj4ExD/s08cgPD2NfXx6etvSiotdfxgJy1cUAlwYvMVtBqSkVUm2YVUgl+DP8pYlKtQJ5ZCTTOOGvWvC1kMQyhcQKMaOLXLdnenoQWpGqjG2tlmbIbL0wj/uQ8dnzavkgBMy0qyPxh/4z3ciMM6eMjTnjonCBTNEUTwdmjMKXnZ558at7Ki+rxwKhYN0KTaGyuDwBz0CJjb7l1Q5i4CElfH4KdJFaM0JKXSxLeVGbboHWDYv1+7gTB/fvUhrsLow+g7karZTiuUMBz1UlYyvvAB8Mw8eovs/6+5a6nOdwEGvaB5B60p8V3Mb1TlziD7kM91ApgMWKvkBj+GP4HbTy6yuu/zJwmBZ8lSc1lzcH//AU8NsZfnOqJ8b+uslsZcHncwnKoav2qxODgcPgmGeZeeBLB0iD1y3v0abBzpKJzrdkvkXnWDPhPZu2sYsD3+EXofA82fXxnl1Pu3PD68quUf/77GaCcgu1rUE52LNnjw3K1dgnDcrDDovFkqwN6VKCGzJr0pqMWJrq5dIF72g/3rbs2FiROPi/A3/YDnTXHYX8r4QS7gsl9JVQIn2hdD9UaOckCi9XBqH7KcOJkyW6smMG5J4z3FglpO8b4ACHk54Zvp16CLknG4cnsTfIH5PEyjV8fRVRl5f564Gpt5LIfde+Zph6q4ncV9ZJQs1ep1JqjZmDFEFzp9nXgWOH4ulTMfmDfFBbNvPB8UXXYBA2WCeRW4P5wTu8H068Frcf78rgvPtt7z8="), this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.checkbox_2;fillColor=#0057D8;strokeColor=none;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10",12,12,"Text","Checkbox (on)",null,null,this.getTagsForStencil("mxgraph.atlassian","","atlassian checkbox on").join(" ")),this.createVertexTemplateEntry("rounded=1;fillColor=#F0F2F5;strokeColor=#D8DCE3;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10;html=1;shadow=0;dashed=0", 12,12,"Text","Checkbox (off)",null,null,this.getTagsForStencil("mxgraph.atlassian","","atlassian checkbox on").join(" ")),this.addDataEntry("atlassian checkbox group",150,173,"Checkbox group","7VfdbpswFH4abisDIWGXLYTepNKkPsDk2AewYmxkOy3Z08+ASTOcTu2yRqtUJCSfX3O+7/iHIM6a7l7htn6QFHgQr4M4U1KacdR0GXAeRIjRIM6DKEL2DaLiFWs4WFGLFQjzloBoDHjCfA+j5hE4EAPUaoksSwA9umhz4M6lZJxnkktlRSGF1d5po+QOZspSCvPIfvZRYTjJLk0vY84qYcccSuPMU4YgipNvy1WK3PeBMtC9WuOgcgXeg2zAqIN1eWbU1M4jcZlqYFXtwhw2COtRro6hL4jZgQPtPICxB+Batwq0lh5sSu4FBeqKPwXRVlugIioSD0lrydM8W8c+Pmh4fBh7rBjB/NapG0Yphxn8aEaPhe+O4y3w71Izw2QfqEakjgk3M/sxsW4xYaLaDPPnYZ+7Ng13heoaU/ns5qRY1wMEFxE7BbgkB0eFE09pj3zWJ90lrC881jPctntiYfB5fwMWg6Xt/Zuu6jeDG2w41pphcUNqILut7H5EftcglKzy9E/r73M0zD/vhSS5Wi8kXi8UHJt+7poZ+OqG/6Ab0uvtDEuvGzZSVFaz5Zjsvs6EK58JIbreRrDyqL+l9H2Mv2sFl8NzQjaxGIH6W7oXH07RxMnCX47LM9ezOL6ck/TMQS2IvWdfcqf1L6mfhwMXsJotk4+jxIovvzOD7be/nV8="), @@ -3714,16 +3714,16 @@ this.addDataEntry("atlassian inline edit",350,55,"Inline edit","7ZbNbqMwEICfhmMi this.addDataEntry("atlassian inline edit",130,222,"Inline edit","7VnbbpswGH4aLouMHUJy2RzoLlqpUqXt2gomeAMcGadJ9vSzwSQBQ8sKqdItSK38+wT+Dr/BsdA82T9wvImeWEBiCy0tNOeMiaKU7Ockji0IaGChhQUhkH8W9FtanbwVbDAnqegyABYDXnG8JUXNM6eMU3EoGjJxiHVDSON4zmLGZZiyVNbOMsHZL1KrjEQil7FwZDFkqXihv9UEzjHWMwIZ45iuU1mOSSh0czmZBZE7HXsToB+QcEH2rYvMq/QKHwhLiOByAWBHAxHpHkjPFBG6jvQwDQ7AWRGvj0NPkMmCRq0ZQWQg+E3ewECPs20akEADg/lK4zJV6z5DVq4bumjiTjrAW7T/0IuEqmaDVzRdP+Z4LhAwQQ3zq459D4wPGkq3GPEe5MjtD/nIgNyAO4vwRhWT/Vp5y8acs10GbVnPN/cqUHAFB0cp0Z7kwV4FIxsUgfy/cO1p0Q3l3eA4b1GBZyNPBikTq0iLuZGtGrW+D+SlZqGcrARlad6VK8hmnVhAb7IA7AYaGlhwNIScxFjQV1K5XRM1+o7PjMoHgWBfnVrf/c6rTsDCMCPCYPb42J3IdruTnQmykTjuIirIi3SCqttJ+quuOTmxlTXTWAaP6pL1Ul0BJSeHlbRL0/k4obFC5jvhAU5xLR+OTG8CoNVRy4vnYsnYNhdLVkwD7LHbUzrVAX8pJG8QHd2Vli6FhC4gpPH7QmpL0shUwDGPVgUkWxb+0lm6horyhB3hgO3yoH/G9UC3jOu4sH/K9QzwnvBPueI6gjXlNuxHVfvVfTXyXd9rtWUJH6g6uuE1onQZNF123F45USY68dOFkvHHXjQQ6ueTQ0XCg9pico35NQx1Jvz0/Fpuxh/Ir94gW/MwGfUzdubpTTn/sHIGlUo56fn+QQK6TUzFNHzBdPzw/O+3BzS9BHWOQV2rzWPawE7+unw/A6DBvp3egsAg7ijrBk6s7iUgN09lHqWwb1YZzioevARv5llQq1Wu7GACLmbAm7d8a3azKRzGpl/nZMIxz6GeaDrwR9HNxW+42AEXSb9XeeR0dOhXOnIqLHJlb7YXzQkdTplu2vm62ukjFhmeftgrup//7vcH"), this.addDataEntry("atlassian inline edit",230,60,"Inline edit","vVZNb+MgEP01PtYiEMfJsXE2vXSlSpV2z8gmMSo2FpDG2V+/g8FJ/JHWVbZrKREzMAO892ZEQJKiflK0yn/KjImA/AhIoqQ0blTUCRMiwIhnAdkEGCP4BXh7Y3bWzKKKKlaaKQHYBbxTcWDO86K4VNyc3IQ2J+EndlyIRAqpwCxlCd61Nkq+sZ4zNwVcYzOD4U6W5pX/sQlmZ9tnRGBTwfcljAXbGT/dJgswiVaLeIn8AZkyrL55ycblb/jEZMGMggugI89M7lfEPlPO+D73YR4cRLWz9+fQC2Qw8KiNI0gGCD7L4wA8JQ9lxjKPC1Wph2Vlr30FLFx713wDdGFmnqwet9suxG7Rb39RbD0VTXm5f24w3RA0BBY1Xx//O3A+eTgjF/EZ7CS6H/b5APYB5jqnlR0W9d7WV0iVkkeNQ/Cr6tEaFq7sNLNqDJeNUVtjHiJnwP8mClduGWmW4UUzY404JDEYpTRp7gU9WhA9fvFmjeLEZuGKpYZLy4CWBwvZehIL5EMWUDhCwwgLMw+hYoIa/s46241R43d8kRwOglHdTe13f4i7CeRup5kZMHs+9iSyo+lka8MqwPGYc8NeoRKs7wj0d6vmUo43WRsWVo/HOY7wAo67BnVlnF0qrKUdim5LCy4sMr+YymhJez1xPrU2x8WiXRoULqI7pdMN+KKQ4n+io4e2pFshkW8Q0uJzIV331pxm0MudSDKq84ti+q3FCKo1p2WY5ix9G23erVz6wrqj77YBq24NkuUk3pb3d+H42/Gs/zOW5zdBi2U8rZl+/SUB5uWd57R8/Qz8Cw=="), this.addDataEntry("atlassian inline message",150,180,"Inline message","7VfbTuMwEP2avFa5kLY80paiXcFqBVrxiNxk2nhx7GA7tPD1O3bc9OKAQC2IlaiUynPx2D5zZpwEybhcXUhSFVciBxYk50EylkLoZlSuxsBYEIc0D5JJEMchPkE8fcEaWWtYEQlcv2VC3Ex4JKyGRnOWZaAU6hg8gnElVcVoRjQVXDXeSj8x5z2njI0FExJFLjhqR0pLcQ97yrng+oY+m1lRtJZdGCMTRhccxwzm2pnXEYI4SU/7g2HotgpSw+rF41qVO+sFiBK0fEKXp8aauCBLmuvCTUidrgC6KFwUh1pIVCMv2kgbLHHg4OyGNvGg/fnj+sxDsNAlcyCoguRiiUKIQk5UAbkT0FIZ/3K1MFTpEc2IUpTwXlZAdj8Tq7vYwLaVDYQtDNPBZPhaSnaczc9PhcEb08/OnLqkec5gL4XhXorNZhiZAfstFDXMQaVs4G0DXu7Z28CqIhnli0u7/iQ6KO/rCS6Io0G/gwaxz4K17hAWnHgsGAs+R4Fn8M2FL8CFYfppXEg9LoxIORPimwdfgAdR9HlNoe8TgepZnd2DNpGzTNRc//eXbZR0lNZH3bYDD9JfsERFrUAquwfrPgMDqTkALoePhIcalJE0lmH4V1DeOwrucUc1vI67K7Yj4N5xvbUYHxv3oYe7B5/XqJ5rCc3/HWF4Ur9LTafDkW08b+lS0SAenYwP6S5vbW/bfXmnIaWHpM1NaF9OX0vjB2XxtCOLfWawmOFgYQZXNdO0YrDToBofjN66Baa5JVG4O7yFTQmSWouSWICZOT7lj1TbsNyIfKdsbVVuNUc8SZhDBTxH8HGMeUTARC0327IFrjXaVa97N+t9Gx6hd9ZSqf9Qi+YQ9p7Mh9uq5nx/qpzY3bpF3VJbUDRR12iEwngdsqIEkuOcUkh4cZW9ipOIQ25fFGy7l5nrSolfaXP78yoNLZPpeXSetpZbx8Kdl5KO22SrRpYFJvYGC8WsvcTa9+omDjeqa0fp2H9xOEJxxR3FdNJRTVH6/vsdxc0Xu7XtfND/Aw=="), -this.addEntry("atlassian inline message subtitle",function(){var b=new mxCell("i",new mxGeometry(0,0,20,20),"shape=ellipse;fillColor=#403294;strokeColor=none;fontSize=14;fontStyle=1;align=center;fontColor=#ffffff");b.vertex=!0;var c=new mxCell('<font color="#0057d8">Log in</font> to learn about Confluence',new mxGeometry(0,30,230,33),"rounded=1;arcSize=3;fillColor=#ffffff;strokeColor=#DFE1E5;strokeWidth=1;shadow=1;align=left;html=1;whiteSpace=wrap;spacingLeft=20;spacingRight=20;fontSize=12;");c.vertex= -!0;var d=new mxCell("Want more information?",new mxGeometry(30,0,200,20),"fillColor=none;strokeColor=none;align=left;html=1;whiteSpace=wrap;fontSize=11;fontColor=#596780");d.vertex=!0;return a.createVertexTemplateFromCells([b,c,d],230,63,"Inline message with subtitle")}),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;strokeColor=#DFE1E6;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#42526E",70,20,"DEFAULT","Lozenge (state, subtle)",null,null,this.getTagsForStencil("mxgraph.atlassian", +this.addEntry("atlassian inline message subtitle",function(){var b=new mxCell("i",new mxGeometry(0,0,20,20),"shape=ellipse;fillColor=#403294;strokeColor=none;fontSize=14;fontStyle=1;align=center;fontColor=#ffffff");b.vertex=!0;var d=new mxCell('<font color="#0057d8">Log in</font> to learn about Confluence',new mxGeometry(0,30,230,33),"rounded=1;arcSize=3;fillColor=#ffffff;strokeColor=#DFE1E5;strokeWidth=1;shadow=1;align=left;html=1;whiteSpace=wrap;spacingLeft=20;spacingRight=20;fontSize=12;");d.vertex= +!0;var c=new mxCell("Want more information?",new mxGeometry(30,0,200,20),"fillColor=none;strokeColor=none;align=left;html=1;whiteSpace=wrap;fontSize=11;fontColor=#596780");c.vertex=!0;return a.createVertexTemplateFromCells([b,d,c],230,63,"Inline message with subtitle")}),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;strokeColor=#DFE1E6;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#42526E",70,20,"DEFAULT","Lozenge (state, subtle)",null,null,this.getTagsForStencil("mxgraph.atlassian", "lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;fillColor=#DFE1E6;strokeColor=#DFE1E6;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#42526E",70,20,"DEFAULT","Lozenge (state, bold)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;strokeColor=#008364;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#008364",70,20,"SUCCESS","Lozenge (success, subtle)", null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;fillColor=#008364;strokeColor=#008364;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#ffffff",70,20,"SUCCESS","Lozenge (success, bold)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;strokeColor=#BA3200;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#BA3200", 70,20,"REMOVED","Lozenge (problem, subtle)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;fillColor=#BA3200;strokeColor=#BA3200;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#ffffff",70,20,"REMOVED","Lozenge (problem, bold)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;strokeColor=#0057D8;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#0057D8", 100,20,"IN PROGRESS","Lozenge (current, subtle)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;fillColor=#0057D8;strokeColor=#0057D8;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#ffffff",100,20,"IN PROGRESS","Lozenge (current, bold)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;strokeColor=#6554C0;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#6554C0", 50,20,"NEW","Lozenge (new, subtle)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;fillColor=#6554C0;strokeColor=#6554C0;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#ffffff",50,20,"NEW","Lozenge (new, bold)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;strokeColor=#FFAB00;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#42526E", 60,20,"MOVED","Lozenge (moved, subtle)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.createVertexTemplateEntry("dashed=0;html=1;rounded=1;fillColor=#FFAB00;strokeColor=#FFAB00;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#42526E",60,20,"MOVED","Lozenge (moved, bold)",null,null,this.getTagsForStencil("mxgraph.atlassian","lozenge","atlassian ").join(" ")),this.addEntry("atlassian inline message subtitle",function(){var b=new mxCell("Yeah, progress!", -new mxGeometry(0,0,120,20),"dashed=0;html=1;rounded=1;fillColor=#172B4D;strokeColor=#172B4D;fontSize=12;align=center;fontStyle=0;strokeWidth=2;fontColor=#ffffff");b.vertex=!0;var c=new mxCell("IN PROGRESS",new mxGeometry(10,30,100,20),"dashed=0;html=1;rounded=1;strokeColor=#0057D8;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#0057D8");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],120,50,"Lozenge (tooltip)")}),this.addEntry("atlassian inline message subtitle",function(){var b= -new mxCell("SUCCESS",new mxGeometry(25,0,70,20),"dashed=0;html=1;rounded=1;strokeColor=#008364;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#008364");b.vertex=!0;var c=new mxCell("Don't stop believin'",new mxGeometry(0,30,120,20),"dashed=0;html=1;rounded=1;fillColor=#172B4D;strokeColor=#172B4D;fontSize=12;align=center;fontStyle=0;strokeWidth=2;fontColor=#ffffff");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],120,50,"Lozenge (tooltip)")}),this.addDataEntry("atlassian modal dialog", +new mxGeometry(0,0,120,20),"dashed=0;html=1;rounded=1;fillColor=#172B4D;strokeColor=#172B4D;fontSize=12;align=center;fontStyle=0;strokeWidth=2;fontColor=#ffffff");b.vertex=!0;var d=new mxCell("IN PROGRESS",new mxGeometry(10,30,100,20),"dashed=0;html=1;rounded=1;strokeColor=#0057D8;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#0057D8");d.vertex=!0;return a.createVertexTemplateFromCells([b,d],120,50,"Lozenge (tooltip)")}),this.addEntry("atlassian inline message subtitle",function(){var b= +new mxCell("SUCCESS",new mxGeometry(25,0,70,20),"dashed=0;html=1;rounded=1;strokeColor=#008364;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#008364");b.vertex=!0;var d=new mxCell("Don't stop believin'",new mxGeometry(0,30,120,20),"dashed=0;html=1;rounded=1;fillColor=#172B4D;strokeColor=#172B4D;fontSize=12;align=center;fontStyle=0;strokeWidth=2;fontColor=#ffffff");d.vertex=!0;return a.createVertexTemplateFromCells([b,d],120,50,"Lozenge (tooltip)")}),this.addDataEntry("atlassian modal dialog", 330,210,"Modal dialog","1VZtb5swEP41fGxlTJN2H9ukrTZp0rROmvbRhSN4NRyzTUj263cHhiSDbpGmTRoSfrmXx+d77hBRsip3j1bVxXvMwETJfZSsLKLvV+VuBcZEUugsStaRlILeSD68oo07raiVhcqf4yB7h60yDfSSSC4Nud4902LDi0GQI0FK4fze9KbLbw0Oigunv5P0lgziq3p3UA4oX7CxpMyUK55R2WxApdB64NPDSDwJINPbGbMZ6akokkksZiMQ2tHgC6Ax19b5bqerDc17bPiywLq2gGoUGWS1ri5p/NS5vnv7ke/9hLlvKfFzZxj9Aj0Ch5AqGpeqrCkqVaOjyR17MfRd47tjnAfFMJhzOAW2Y3iM5GoA1qqKx7wB5tbAlucV+/vgxfi6rNF6VfXAOdpSeY18M/WM3XEBtUX7QtPFJPDa4ldIvevBg1ClXm+11+DGQIJGO9eAu3yNLHlSTbLwJZX/OiadxabKIAu7XBuzQoO2s0vy7uGceYsvcKRZP9zH94tQkU9dQa5jyUk2elPRxkA+FOyRm+geBixUhm04Vdl0gKBdW2gPT7VKWdBSu7I5bZmNZC3ZewvW61SZ23CYx3q8Jutg92qPdqLQoI+AJXi7Zx505oveIkn6PhYF6E0R3GQchMr1gs3oe2h5WoSun/8CJJMvwG2WTcjh2uwI4Zuey5QQi+v1zYSpCiv4BUkppQXsYBBCECPK55AUOSUyVMY5GZe/zfhiJuFJSJYFQ62zhRP4ORLCCR9Qd10X4pEiYO8DwOInHjHPHfgJi2OgZxF7NSF2paqUvwx/zG1g8B/RunizvL4R/wGty79AK20PfwO9+fHPwg8="), this.addDataEntry("atlassian detailed modal dialog",330,210,"Modal dialog (detailed)","1Zdfb5swEMA/DY+JwBRIH7v86TZt0rROmvY0uWCCF8Mx2yTpPv3OYNIQ6JouSbVFCth3vvPZP98Bjj/Nt7eSltlHSJhw/LnjTyWAblr5dsqEcIjLE8efOYS4+HfI4gmtV2vdkkpW6GMMSGOwpqJijcQhoUDTN/fYWJpGK0gBXRJX6QfRDA1/VtAqRor/QukNDvCuyu2jsvXyDSqJyoSq7B6oTFqvGFrjuDsZinsBJHw9MGxA2hU5xPfcwQhcrvCiM4bXlEul6x4vlnh/gMoslhndJmPFTiTAqHkxxuuX2vT9u89m3XeQ6g1u/NAcgq9Y48GEEFO8hjQvMSpagsKb2rcyrt9Uup5GaUaNG0hNOBlsduEZT6pkzGhpYa5pxQxbwdbmPjX22loZ/zwvQWpaNI5TkDnVHMzK6D3U01mvG5ArvI16gZcSfrBYq8a5FdJY8zXXnKldIFbDlaqYGj8Fi3ROE8l0jsd/5qFOQlUkLLG9lAsxBQGyHuen9c/smZawYnua2WLuzQN7Iu/qAznziNlkwZcFdgRL2wO7Z+bWP+Mwowls7KxUxq0L7G0yrtldSWMj2GC6muHYNTT8GTHWayY1j6m4sZNpKG1yoYJtn0zQWmSz85ZBzrR8MBB4orNmhO83SexmjC8za0Y8K6SqESx3to/5jg2b8sPp7/fS/yZJemTMwaxpmGUei8l1g2g26WEqoGB/IBTjtjDZDrAhuDsvX+2mkD5FeyyO2XEyvONdg4dOb49GMADDtxspmcCcWrOO7RAgO/sn4HU62qlHXkvazj4KDyBDmiqme4h3qziK+lWP+pQWsakZJ4O3eF+JeXAdRhP3P2cevQbyoIf8Ay9W/xrwXmGuS8jZ8D4D1L4qnZ7EB0TbfDsr0HDgxe0cZXsRLSaL66Gn69ydk3nUeTJGF2HjuZessKQLxwsvACd6Hg6+a5SmmW+X5uV/zEFFYx5DocYCYIXvFd+Xgip1TLohHHLlR8F1l/Nh+TyGVfiCMumOgz470kfXyk5F1+bRrlBegNykR+5tEwRumn7Fcun9Rbk8/Wn4ouffmcrlQT6OgjM8/rD7+AndDN//wv4N"), this.addDataEntry("atlassian small modal dialog",410,410,"Modal dialog (small)","7Zndb9owEMD/mmhPrewECH1s+ehLq1brpD5ObnIQq06cOabA/vqdE0MTHFq0kolWQ4rA9vns3O/u/IEXjNLVtWJ5citjEF4w8YKRklJXv9LVCITwfMJjLxh7vk/w8fzpnlZatpKcKcj0IR38qsMLEwuoai7jGCsYPk+KZVFi1IFKeVFwmVXShV4LK53oFOc8pl5wpeQiiyG2pRkXYiSFVKVcMCs/WF9oJZ+h1jKeTuikb3rITD/w30YxTjq4YoLPMywImGnbXOtGyo9RmLBYLu2oTEVWhSktE67hIWeRqViijY04Fnk23wzyAkrziIlLO5iW+WYq9iWtSY0grPZauayyJr4GmYJWaxRZ8lgnlUSPViRIAnye6J1KVlQV823fV2j4w3JrZxg4DK825DKWgsMsZkVScjIGOAhgJjNw2NnKGjZK27G9mnKj49HaxXfB9i8G4ZAcZHT/XaNT0mJ0GxJEgWCav0BDfxsIO8S95DiyT1ZNNeuqONghKWezArTDcTvPg9D2HLQwP8eKOwQ8PwZZNPg0nA6nF22hOSETfxI2wip0CduIuilLY0o6RhqELUiDoAukwy6Q9h2kDyAgMrPQCdTT7louzKuzcoZalq+HjHgpy6IIisI2nEqAk68c4JQGHbjDwHGHR4WrVo3wqcD90tmb9ruI9dCB+2OdG7bfvB4+OFoWV3GfVV9cHW/R/p/a3+IddsF7uD+3LwpQJl0vE5PII2aAL22kl7ldJ7yoZ/8l14lclKk+z5VEnSeUC750ovdJF4n+wvGNOwx4Vc7+1wIX9hPC+6VTvd/rIvQ3B7ka3+9gAtwcNvG1eKGlPdbtOT9vD7KGdgM9tuRGPl3NzUXBOdOC4XGcZedRAtHzk1z99N3kT0g/HA/f8oa24/SOV+yej1MexwJaskHdu8xkBHsCcS8LNIA0HVWFdavwZqd9q9hZc47kYL7rX5u6I/tXJ0sLpY5/bU/5MS4yuu125u3NAZn6037rlcxwPJoEn8pJGvlxXyR9Nk8KyKALT3Lv/G5BHes24f2sU3eAjSNFaH9cC/9ik2EvFj+Attlh3SjVsA+625ue0V4T/Fknl0nUvSgcYQYB8Q83HseB/vGtx4HQ+x1CDztgjsXX/w4q8fpfC38A"), @@ -3745,19 +3745,19 @@ this.addDataEntry("atlassian table",630,230,"Table","7Zprj5s4FIZ/DdpPi3wJBD42yUy this.addDataEntry("atlassian table action",630,189,"Table with action","7Zxdc5s4FIZ/jS+dQQhh+7L+oDfb3cx0tnvZUUA22mDwAo6T/vqVzEfBRyROi5SYuJ12sPgwPOdw9L4CeYQX28fPKd2FX5KARSO8GuFFmiR5sbR9XLAoGtkWD0Z4ObJtS/wb2V7HWnRca+1oyuL8nB3sYocHGu1Z0TJPaeyHRXOWP0Vlc5hvxckt0QjP1zyKFkmUpOJznMRig3mWp8k9O2lcJ3H+lf+QB0ByPxrxTSw+RGydl6urPUY2JjN3MrVE+yHkOfu6o77c8SDIlKfI0pw9dl7msam8xs8s2bI8fRKbVDsUFKwDD/KwbCJlW8j4JiyPUtKyaFZ83tRH+slQLJQY1UgxRMpCHgcDQ2pPIFNHE1IHIP0UMqqVaFpcgVGkWJGmupASgPTvXUBzNrQ0xYo0nWli6gKmt/vjBin7b8+yXCdaX/BgqWG4jmsO7gSW1T2PgmxwUAkxVwWmACrAmYV0Jxcj3uD3T3lq4jLmDd5tuALU0luhFRFrUpYJvtVuqMcu/alNowHNxQpqqAdqszOoKdOskY4CjvfJm3uLJsHfoFJhcCEGVfLgHjBUKBscspxueLx5PQ7FjWg/c9+ddCh9AFSnFUaApy7diBDA+YXyWLR0SPJzcmy1XK1WnqLEdZFNk30csKC8oXsE674I1iWawEKTIwufteXxPmeZPPomueCUrSXOG+QsNDsj26XbnbhCcfFTWY/k0nlNHT2P+Eq+yxTJbVlkspw+16k3Nl4f/6g6dwmf+zT6VK7Y8iCQ56Do3dvhtqrP5Tlb/caVVDdEFVcM4opcRQ/n9hBX6LhAeNqVgqZ+iUUYYBApxya2u1JHqgdQszaoSta8JKCcHkBBH/X6PK5TU5nHr8so51lS1k2bVP25iQqSKptSFtGcP7DWt6vold9/m3BxXvWXj0/61rHdPkKyXmcsB/TrqzgvINCEXQPSFRDbQDygb7vGoyMeroFwQMdH70KpMr2U7YQK8uiOy/+jKDl8l03f98dxIeizL0cgndQdF+ojbQYbneMVy/TfPm7kc4CbbeLf73c3W575N7s02QjvnIn+Fd4WGE8dz+vUP9XGdrG1Z8u/YsUdTW8TeU1H7D3wtU8EqAtN6FSTFbehB0XWpJdctd4kV09ZTqDo05WrNjSg2BjJary9T1+E3g4ltJxkwI5TUVF1OU7F47WRjLRNphcM1HHfDii0en/drv58PUxBarFYWd4Zo011x9Ux2tQxAl/57F7M9cuiQFtxUHnG66CJnkET19ygieL534+APnBR7735fLFcfRsjMulHnLwLIT0zKKQVz/86c38wQnpmUEhDY4gsc/JPv5Cur8ZEhYeuT5Gtl6ukTbLE0OENWUoraqq2F9Wg3yukNO4nWd+HlDYJFLq+jyilFcS1FYfr80dzUnpmTkpjaErze7FJU0q7GI3X/HEsX67jKRtT3xe3gDwJsSSU3gXXsNPu1jYotPErnmgORmgjxXtTupQ2hjZxSAPWSPGagrZchaYQGUNpQmebZAkN4KCFtqqoahOGqqeAUmm7lzwadKq0TRJ1oCv8iFJbhVzbJByVXbxqbT1aG9nmxLYDbeu/2yRJjy9yC7ldqO2eBgPfh6AmBgW1o/KogxfUxJygdqBZ7GcA650IasUjLG25Cs1f9SrwQBS1SZjQ6MkHA8NV1Iqqqk3/qR4HSkXt9JOuCqK1AjGoqE0Shf7vQypqBXJtBeKMl0ObsytDGiSHUnsGNAuPwKxiTUs+0DyiWcZpfOOHzL+/Sx5VgnrquOTjCGpiTlATaE7hbXQZ02rRZAawaZtXW9165886Om+eQJNYfROdFpp6/pLTA0WC2xgVb5chpKA4mfZAEdq5b5wdJMZkn/rsGaQWROo5HvEmXWWiVZIUZbvxgw/NnjUTZUG4yz+Oa5XaUBCckukvZjjpCM5L9KvR1l+dxlEFu71DL/M2CDSRSxaxXETTulNPD+4O63M/hXCNqCKi1fjt74RUzrCpf9ap2Lz5q0//Aw=="), this.addDataEntry("atlassian table action",350,30,"Table with action","3dbPb4IwFAfwv6b30oo/roJ42snDzs180GYPSko3dX/9iq2Kq0uWbbhkB5P2vX6h/YQghGf1fm1EKx/0FpDwFeGZ0dr6Ub3PAJEwqraE54Qx6n6EFZ90k2OXtsJAY78SYD7wKvAFfCUHKxR2vt7ZA4a6tLXbXZ4QviwVYqZRGzdvdOMWLDtr9DN8KJa6sRv11l8g6XMCVdW4CUJpQ/uUIIxzPp8UxSkWbtzHdlJZ2LTiqS/sHFXYMxgL+0/PfSyFQ69B12DNwS3Zqa2VfkXqaagEVcmQClxUdH5enZMXRDcIjrdNeWyqyvL+oOliOpvTsUFDYBbgBr6TkXwnkW+m61rZP3hm70qc8Nh4OpJxGhtLgQhNBf+dmdGYeTES8zRijnA7Kdp+iGqg+Ri25o6xHOhfUzu4vFglq9R1DHRO+xRLfsJ0uD7+QInfeqMmv8A0G5np/NdzF6Zb78VvKLnp5Tvh2Lv6jHgH"), 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 b=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");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,6,6),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.x;strokeColor=#596780;strokeWidth=2");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-11,-3);c.vertex= -!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Removable tag")}),this.addEntry("atlassian tag removable link",function(){var b=new mxCell("Removable tag link",new mxGeometry(0,0,130,20),"dashed=0;html=1;fillColor=#F0F2F5;strokeColor=none;align=left;rounded=1;arcSize=10;fontColor=#3384FF;fontStyle=1;fontSize=11;shadow=0;spacingLeft=3");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,6,6),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.x;strokeColor=#596780;strokeWidth=2"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(-11,-3);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Removable tag link")}),this.addEntry("atlassian text field",function(){var b=new mxCell('Name<sup><font color="#ff0000">*</font></sup>',new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("Messina Cake",new mxGeometry(0, -25,290,33),"rounded=1;arcSize=9;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],290,58,"Text field")}),this.addEntry("atlassian password field",function(){var b=new mxCell('Password<sup><font color="#ff0000">*</font></sup>',new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("••••••••", -new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],290,58,"Password field")}),this.addEntry("atlassian text field",function(){var b=new mxCell("Project name",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("Watermelon Squad",new mxGeometry(0, -25,290,33),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],290,58,"Compact text field")}),this.addEntry("atlassian text field",function(){var b=new mxCell("Project name",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("Watermelon Squad",new mxGeometry(0, -25,290,40),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],290,65,"Text field")}),this.addEntry("atlassian text field",function(){var b=new mxCell("Location",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontSize=12"); -c.vertex=!0;return a.createVertexTemplateFromCells([b,c],290,58,"Compact text field")}),this.addEntry("atlassian text field",function(){var b=new mxCell("Location",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,25,290,40),"rounded=1;arcSize=9;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b, -c],290,65,"Text field")}),this.addEntry("atlassian text field",function(){var b=new mxCell("Details",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("eg. ATP, VOSS etc",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b, -c],290,58,"Compact text field")}),this.addEntry("atlassian text field",function(){var b=new mxCell("Details",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("eg. ATP, VOSS etc",new mxGeometry(0,25,290,40),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b, -c],290,65,"Text field")}),this.addEntry("atlassian text field help",function(){var b=new mxCell("Form label",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("Banana bread",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b, -c],290,58,"Text field with placeholder text")}),this.addEntry("atlassian text field tooltip",function(){var b=new mxCell("Selected help",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#ffffff;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontSize=12");c.vertex=!0;var d=new mxCell("<b>Not great</b><div>The best password is hard to guess. Try again.</div>", -new mxGeometry(300,0,180,80),"html=1;rounded=1;strokeColor=#DFE1E5;fontSize=12;align=left;shadow=1;arcSize=1;whiteSpace=wrap;verticalAlign=top;spacingLeft=15;spacingRight=15;spacingTop=10");d.vertex=!0;return a.createVertexTemplateFromCells([b,c,d],480,80,"Text field with tooltip")}),this.addDataEntry("atlassian text field tooltip",480,80,"Text field with tooltip","pVXbjpswEP0aHndlINDlcZckm0qtVDWV+uyCAauOTW2TS7++Y+wQiEmbKkghnsFnzJwzMwRxvju+S9w2n0VJWBCvgjiXQmi72h1zwlgQIVoG8TKIIgS/IFrfeBr2T1GLJeH6HkBkAXvMOmI9G7EnElwfC8Hhb0NYa/cofWJuT0UZywUTEkwuOHjflJbiJ7lyNnoHGS1DWFaC6y39bQKExsaM1hwMRirtHp/BQRQnWfrhBZ1h7mA/jH13IjU53sy/d7nk34nYES1PsOVAS904DhaWI9QQWjcO5nhDWFm7HqAXNmHhCJ0nN/bI3WLGzOkbzJWh94pXKTpektLlimXhUs1M5iPOgaGqv3wiVYsLyutPvbVMPGUAusiz1/V6Ko/d9N2REvmKoP66UiB6RIGTIzqxiLEg2Ywgcfy4IAtPEOppoBrcmiUgaatulvaVHGmSLHLk0zbI9LdCvo/GeJ7GKcCRip59VsMXn9SzTxKGNd2TSaw5pt35XwSF1xoOf4oXk+OfsmkEUVWKaE+pIYu7xEv8bgK42aBUR5Q5ThqTC/NmeI8pwz+Y8ZSduWthbo1ZBlHKzlMHzGLQK/3Vmcn7ZrqkyDAoN3KldY+hhJU9iFe07iTwJvjzOSIkYYPazV51jVpu2uy32tvr3uV6Fa4Sr4L+NVGH/oX6LsXBGzHGOjRUky0MEOM4wDcJfKYoaYHZq4uuRetNmTC5uL664hr7vhnMMkSPTAsHgDz8cYFmxkX6//MbzMuH1xbo+Lv8Bw=="), +"tag","atlassian ").join(" ")),this.addEntry("atlassian tag removable",function(){var b=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");b.vertex=!0;var d=new mxCell("",new mxGeometry(1,.5,6,6),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.x;strokeColor=#596780;strokeWidth=2");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-11,-3);d.vertex= +!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Removable tag")}),this.addEntry("atlassian tag removable link",function(){var b=new mxCell("Removable tag link",new mxGeometry(0,0,130,20),"dashed=0;html=1;fillColor=#F0F2F5;strokeColor=none;align=left;rounded=1;arcSize=10;fontColor=#3384FF;fontStyle=1;fontSize=11;shadow=0;spacingLeft=3");b.vertex=!0;var d=new mxCell("",new mxGeometry(1,.5,6,6),"html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.x;strokeColor=#596780;strokeWidth=2"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(-11,-3);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Removable tag link")}),this.addEntry("atlassian text field",function(){var b=new mxCell('Name<sup><font color="#ff0000">*</font></sup>',new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var d=new mxCell("Messina Cake",new mxGeometry(0, +25,290,33),"rounded=1;arcSize=9;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontSize=12");d.vertex=!0;return a.createVertexTemplateFromCells([b,d],290,58,"Text field")}),this.addEntry("atlassian password field",function(){var b=new mxCell('Password<sup><font color="#ff0000">*</font></sup>',new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var d=new mxCell("••••••••", +new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontSize=12");d.vertex=!0;return a.createVertexTemplateFromCells([b,d],290,58,"Password field")}),this.addEntry("atlassian text field",function(){var b=new mxCell("Project name",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var d=new mxCell("Watermelon Squad",new mxGeometry(0, +25,290,33),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontSize=12");d.vertex=!0;return a.createVertexTemplateFromCells([b,d],290,58,"Compact text field")}),this.addEntry("atlassian text field",function(){var b=new mxCell("Project name",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var d=new mxCell("Watermelon Squad",new mxGeometry(0, +25,290,40),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontSize=12");d.vertex=!0;return a.createVertexTemplateFromCells([b,d],290,65,"Text field")}),this.addEntry("atlassian text field",function(){var b=new mxCell("Location",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var d=new mxCell("",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontSize=12"); +d.vertex=!0;return a.createVertexTemplateFromCells([b,d],290,58,"Compact text field")}),this.addEntry("atlassian text field",function(){var b=new mxCell("Location",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var d=new mxCell("",new mxGeometry(0,25,290,40),"rounded=1;arcSize=9;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontSize=12");d.vertex=!0;return a.createVertexTemplateFromCells([b, +d],290,65,"Text field")}),this.addEntry("atlassian text field",function(){var b=new mxCell("Details",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var d=new mxCell("eg. ATP, VOSS etc",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12");d.vertex=!0;return a.createVertexTemplateFromCells([b, +d],290,58,"Compact text field")}),this.addEntry("atlassian text field",function(){var b=new mxCell("Details",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var d=new mxCell("eg. ATP, VOSS etc",new mxGeometry(0,25,290,40),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12");d.vertex=!0;return a.createVertexTemplateFromCells([b, +d],290,65,"Text field")}),this.addEntry("atlassian text field help",function(){var b=new mxCell("Form label",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var d=new mxCell("Banana bread",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12");d.vertex=!0;return a.createVertexTemplateFromCells([b, +d],290,58,"Text field with placeholder text")}),this.addEntry("atlassian text field tooltip",function(){var b=new mxCell("Selected help",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var d=new mxCell("",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#ffffff;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontSize=12");d.vertex=!0;var c=new mxCell("<b>Not great</b><div>The best password is hard to guess. Try again.</div>", +new mxGeometry(300,0,180,80),"html=1;rounded=1;strokeColor=#DFE1E5;fontSize=12;align=left;shadow=1;arcSize=1;whiteSpace=wrap;verticalAlign=top;spacingLeft=15;spacingRight=15;spacingTop=10");c.vertex=!0;return a.createVertexTemplateFromCells([b,d,c],480,80,"Text field with tooltip")}),this.addDataEntry("atlassian text field tooltip",480,80,"Text field with tooltip","pVXbjpswEP0aHndlINDlcZckm0qtVDWV+uyCAauOTW2TS7++Y+wQiEmbKkghnsFnzJwzMwRxvju+S9w2n0VJWBCvgjiXQmi72h1zwlgQIVoG8TKIIgS/IFrfeBr2T1GLJeH6HkBkAXvMOmI9G7EnElwfC8Hhb0NYa/cofWJuT0UZywUTEkwuOHjflJbiJ7lyNnoHGS1DWFaC6y39bQKExsaM1hwMRirtHp/BQRQnWfrhBZ1h7mA/jH13IjU53sy/d7nk34nYES1PsOVAS904DhaWI9QQWjcO5nhDWFm7HqAXNmHhCJ0nN/bI3WLGzOkbzJWh94pXKTpektLlimXhUs1M5iPOgaGqv3wiVYsLyutPvbVMPGUAusiz1/V6Ko/d9N2REvmKoP66UiB6RIGTIzqxiLEg2Ywgcfy4IAtPEOppoBrcmiUgaatulvaVHGmSLHLk0zbI9LdCvo/GeJ7GKcCRip59VsMXn9SzTxKGNd2TSaw5pt35XwSF1xoOf4oXk+OfsmkEUVWKaE+pIYu7xEv8bgK42aBUR5Q5ThqTC/NmeI8pwz+Y8ZSduWthbo1ZBlHKzlMHzGLQK/3Vmcn7ZrqkyDAoN3KldY+hhJU9iFe07iTwJvjzOSIkYYPazV51jVpu2uy32tvr3uV6Fa4Sr4L+NVGH/oX6LsXBGzHGOjRUky0MEOM4wDcJfKYoaYHZq4uuRetNmTC5uL664hr7vhnMMkSPTAsHgDz8cYFmxkX6//MbzMuH1xbo+Lv8Bw=="), this.addDataEntry("atlassian toggle subtle",30,16,"Subtle toggle","rVRrb8IgFP01fNRQsO673fTTkiX7BcTeCpGWBlDrfv0o4KOvaTKbNOHcJ/ccANGsbDaa1fxT5SAR/UA000rZsCqbDKREBIsc0XdECHY/IusJb+K9uGYaKvtMAgkJRyYPECzBYOxZRkMhpMyUVNpDSpcr+uZqrYzVag8XT6UqF7/S6lDl0BZPHGJ6+y1+2jopjo1AW2gmN+tNcacbUCVYfXYhJ5FbHiJoLMRB7PglaxlszAS8u2beJneLOPw4EfQxEYazul26RFEbmKKgx1fhv6emJ+PTdxPOUdZ5GvAdNwkZ4SbaNEhmxRE6tcYIi/2/lHDbujafJYtO+1mPclUUBuyA8OsUT2mweKwBt6WMh8vJkauTA9iBnBnujx0OHi9U2ezaizVnVjJjBKvmWw7b/UC4l6j0hy7LoSzpS1TpaUL/r4mDt8cnhN+/Tb8="), this.addDataEntry("atlassian toggle bold",40,20,"Bold toggle","rVRdb8IgFP01PGooWOez3ebTkiV72DOxt0KkpQHUul8/WrC1aztNtEkTzv3kngMgmuTVRrOSf6gUJKJviCZaKetXeZWAlIhgkSL6igjB7kfkfcIbNV5cMg2FvSeB+IQjkwfwFm8w9iyDIRNSJkoq3UBKl2v64mqtjdVqDxdPoQoXv9bqUKRQF48cYnr7JX7qOjEOjUBbqCY325jCTjegcrD67EJOIrXcRyxCIQ5ix0NWmBEz4/Guzewmd4sw/DgR9DYRhrOyXrpEURqYouAPX1nz3TU9GZ++n3AOss5jj6+4iZZDbi42DZJZcYRerTHCQv9PJdy22uazaNVrP1v1K6gsM2AHhLdT3KXB4rYG3OYyHC4nR6pODmAHUmZ4c+yw9zRC5dWuvlhzZiUzRrBivuWw3Q+E61S6eL4DqeQR3f5TauQUr54i1LIvU/y4TA5275EPv36ufgE="), this.addDataEntry("atlassian toggle bold tooltip",280,112,"Bold toggle with tooltip","7ZdNk6IwEIZ/DcexQhBljqPoXGarpnYPe47QQGoCcZM46v76DSSoGBitUrf2sFRp5as75HnpbvCCebl7FWRdfOMpMC9YeMFccK5Mq9zNgTEPI5p6QexhjPTPw8uBWb+ZRWsioFLXGGBj8EnYBszIC2N8W/vYNAsF/NqAVNKsk2rP7LqMMjbnjAvdrXilR2dSCf4BZ4OFKvWpYl83M16pH/R37cCv+4TRvNIdBpmy062xh4PweTKNUGtmN3bdmPsHoWA3yKAZsgBegZegxF4v2dJUFZbD2HBCBdC8sGaWHSLS9POD6ZGoblio/YADB/CXJPW5g8ksmC6GcAq+qVJILQoiEksiRLeQ2NsDh8biBMyjuIwvc5EFWddNbUjXcvABO8OXNddVMIJ+GF0DiwaNXDb+xGXTjglgRNFP6PjqA2b3f+dU39Zh8yc/6mz/FHU98CyToBzgh1NcpUF4WYOT6NVypDozBHEdkymRRfMUIjPTCFXu8jqRjYhiREpKqlFSQPLhCHdUqZ35aaHiW3T7Sqmepzi6i1CTrkzhA2SaODLFVJKVluhylh5KFz5yI8ef4tk4viGPJ1ohEG4mP4h9msnRPTO5NRiHHTV60pnvh4/JZ9PBQspVoaFgtJEgtEBIcf1Xgshr/VRB67GVIFVS1PaUOKr+I6X3roJZhdqqdVqJowdVnMhR6DtsBVW0yuvdqFTcOhwOoLOIWaIlXoZ9+S2O4vkicMmi5nIFqCnShLAXO1zSNGVwQQENdsbICtg7l/ocvDYUBtrB4dvZ/MGxXJNEH/2t2d/kgyuS/e0x2g3RaU+I4p6qim/X/9nRf9ZGnX7xhobPf/X/qvo+cuP/TvLr7vEryhTd04+sPw=="), @@ -3771,14 +3771,14 @@ this.addDataEntry("atlassian nested discussion",450,160,"Nested discussion","7Vf this.addDataEntry("atlassian comment",320,213,"Comment","7Zldj5s4FIZ/DZcTYRwIuWy+KlVdabWtVPXSDU6wBjCynUlmf32PwTAhdhKmIdPdaiKNBhvb4Od9feyTeHieHz4KUqZ/8YRmHl56eC44V/VVfpjTLPMCnyUeXnhB4MOfF6zO3EXVXb8kghaqT4eg7vBEsh2ta+Y8z3Xnql6q58zUpyqHt1sgD882LMvmPOMCygUvoMFMKsEf6UnlhhfqC/tXD4BCKJOMbQsoZHSjzO2mhxdgv/pA/T5lin4pyVp33AMa845UKHo4O8+qykzyI+U5VeIZmuxZotK6xbRG4aeUbVPTy+DxiazL27bnCzS4MNzcDLHF0IInU1Lqy4w5aMHcw2k0ifXcW8o3TPm5O7UjAjhwIEADIBj3R5AfttrtI8blZMTWvJCjnaTixFbAZFN9XLSCEMdhfAuiQxeRITZ2EbOBNXW3AAstYJ9YDhWzXVGwYiuHXn7Bb1p+pkN0FfS9FmdkgcYwKnTzP+y2Owlxzg98FL0973bJ34M3Cq8CR+hOxCcW8a8pKR7B0v4GJh/4KqX6VQRM+2FXjv5sq0c2+VaNocnHFvnvfOcFEclLzaTkMPbsScPXOzwDdEkrh6BEQixuRVqDZluIRG2DguR0VEUovWb2Kan+UUHPDpHyLKlHAPy8bQa1Zjgtu67POLTCq/+UETQoodiaZB/MEIrfwR5xaNsjctgjDG+3x9Syxz+0zPS7tR4BJrGOmfrK/8we6W/YiO4aGE/wI0dgvNvybALu//yUhOK3OyYhZCH7+lzWgQMGS6vwcoJQ8F2R0MR4lIi1sd70ArwTR0owHQz9uSotQhfdxXKJltHxib1p9M1gCS5Yu7sihre1QyJnWMF4AI3sHPJS0ACHJ3wPBc0hITKtpPLrOx3v/yCSrUdrwaXULJND0+5Ui3EQBtHSltfU98J75TzVweuP7KiNxjbdpk7QjCj2RDtjuZCb5//NmU7Am4c/NBu7efzDpDsC32wkVZZk7Sz6qdgjiz23siADPsfeuSMMEJLiruEbQkeCOKP4eAC7vyLXhZ6slLR31Db75eu+BMAXSbVeveBdh3UHci7qyvRwsiUM41w7l34X5GwoeQM97JT7XY8zekRvIIedj18J7L1PmIsVnIHC4z0ddQ9EL1vEuJ9UF5VC05PUGllCIeyI+pN4gKhv59bLhNnfkr+Q9G2Sq/EqXE3OmbpzMDqGaGdLx8lU96yKfPvUaRIBPBNUQsfmfNpz9UzcmlyD3pwsf3WBNBrfY0XYiTAEIqroK9S8lO6+C+kQEk9vVxKKL7+M1c2Pfzj7CQ=="), this.addDataEntry("atlassian date picker",150,53,"Date picker","pZRdb4IwFIZ/DZea0orC5QbqzZYs2cWyy0YO0Ky0pFSH+/UrtqKsmJl4QXI++p5ynjcQkLTutoo21avMgQdkHZBUSaltVHcpcB5gxPKAZAHGyDwB3tzohqcuaqgCoe8RYCs4UL4HW8lMgFFONdhWq4/ctQrGeSq5VCYVUpjqc6uV/II/xUrXZpEsNGEhhX5nP/2AcMjdRGRyylkpTMyh0K59HhZgEiXLVYz+yPyxdgVQGrqbGE4lx2ALsgatjubIN8t15VAsLCpUASsrJ3P4EG1tXg7SC1QTOK7TjInH+FPulakIWvuQldyLHHK3KFU7t2fSr31lgMGzWW3iTeJTbBu6Y6J8OWVZ5NlkpNl6Ha6XY6/soQ9HBP9nh8OPH8F/dJQjq7hyI4wm3CDkcTcWnhueBW1Fmz6su7L/MOdlnfP5jnIQOVW+DdHTMo7D6Y/hHjZkms1Y4Eih+QSq2Cd1ringVLMDjGZN4XP3v0lmXmu4fIaT0fWzZDxBFkUL2sM/bDHliEkv/zd7/Pr39ws="), this.addDataEntry("atlassian date picker",320,415,"Date picker","1Zxdb9owFIZ/DZdFthOH5HIl0E1au2lt1euMGIiaYBTSFvbrZ0igkGMqtvorSJXyUSfk8bHzvj5H9Lxhsb4pk+X8lqcs73mjnjcsOa/qrWI9ZHneIyhLe17cIwSJvx4ZnzmLd2fRMinZorqkAakbvCb5C6uPxGKDoDSpWH1qVW3y5tQ0y/Mhz3kpdhd8IY5er6qSP7PWwXlViAeJsdic8kV1n/3ZXgAf9psrIrGf5NlsIbZzNq2a0/uL9YhHo2AQolYzeNn6EVhZsfVZDLtDDYMbxgtWlRvxL29ZWs0bFH6NCs1ZNps3zRp8KFnV+7ND03eoYqPhKmfsAcYPPE02AG/JXxYpS5tHTMpJ84TR9oGP0Asw090H8lstk0m2mH3f7cUUdJBoihAdxOFpL9X/9NSwILAjCPVCGrbAk8+A3zR8ad3iqB8wlfSD532+H3zQD6ALVvNkud0s1rPtkOzPijTvT5KcLdKkhN1wwCIZBpew8eRsThs0pFBfgiqEpPbHSpYnVfbKTq4lw9fc/yfPxNc63PyKRCe3v4pOr8Cn0xWrAP7DU1zUI/Tfe6Tgk+eXZX/Ky2LVL0s22YZ92YSkNODj8QiP6AdjSNwi5W+7ofD5gA5gL3lEFtBUwcwSAH53/JUVv1kpjhKEKcQpm68l8/ol4z8AE/Ml+OiHMR+gk6jDAaBJkISmrwDmQBKMQb4NL60UI8nrTQHIPbnzIGXTrAqOoYzjrKscCfVtgYwAyPvHO1UMo90HvNHVj2hyOqIp5CfTXSr4YQQA3v7oHsDAHkAMAD48jjoHECN7BKG/ehrF3SPo2yMocU9fH7tHMLRHEPqe8a9vnSNo80UCfcr9l4fuEbT4JoFOxcNaAQYqgJ3yigzygmZEGS60+2jAFdjDBT2HZCXBMVxtWWKSF7QWnvu8fGu8CHQSvvu8Qnu8oHFQthSljZfF6X4/Wx3xCtznZW++l6RUBu7zai1tegZ5QQsQOs+rvRRskhcU/JHzvNp6wigwqO/3q28qiDUZy4+SD74Kgr5FghLF/x+SX+AaDUfxGF0ceN71ubzzYf1UpQoxyhTagv2CnMPj2OqLAhoD7L4zsPmq8KA1wO57g3aIDQwCg95AXZ7amBgxCQyaA+y+OwBqxCQxaA+w+/4AqA+TxKBBwO47BKAtTBKDFgG77xGsTvzQI+y/jcvEbM780BN0IA3QCjFZxYw2YJI8gPuCP7AIDOp9dZkAbXm5trYwScyHer8LuQDfIjEo+DuQDWhrC6PEoOLvQj7A4sTvQ8XfhYyAxZnfh4q/AzmBdogZLGHxoeDvQFKgHWEmgUlqftzX+0BbmCSmsepHnxhrSwuTwDTW/egD1lYWJoFpLPzRV4ZncdanUO4rU/v6gFmc9anG0h9ThZ4mS1ko1PrKpL42Xu34MslLY+mPuQULk8A01v6YExUmgWks/jEnKkwC01n8Y05VmCSmptjHtqzQR0zsvv8GSv3DAsc/kfIX"), -this.addEntry("atlassian text field",function(){var b=new mxCell("Your name",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("Sally Lu",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],290,58,"Text field")}), -this.addEntry("atlassian text field required",function(){var b=new mxCell('Requirements<sup><font color="#ff0000">*</font></sup>',new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("Design, eating, drinking",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12");c.vertex= -!0;return a.createVertexTemplateFromCells([b,c],290,58,"Text field with required fields")}),this.addEntry("atlassian disabled text field",function(){var b=new mxCell("Guests",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#B3BAC5;fontStyle=1;fontSize=11");b.vertex=!0;var c=new mxCell("Kris Wesley",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#B3BAC5;fontSize=12"); -c.vertex=!0;return a.createVertexTemplateFromCells([b,c],290,58,"Disabled text field")}),this.addDataEntry("atlassian text field disabled",370,543,"Disabled text field","7Vlbc5s4FP41vOxDBxC+PcbY9KHdncymnT4rcGzUCokVch3vr68EggakOG6MnXZazxh0Owfzfecm2UNx8fBW4DL/m2dAPbT2UCw4l02reIiBUi/0SeahlReGvvp6YfLEbFDP+iUWwOQpAmEj8BXTHTQjsQAsQY1hrUjwz5DKZlElD9Qs2hBKY065UF3GmRpdVlLwLzAYzGWhXmkVqOaGM3lH/tcKgq5vNPqqjynZMtWmsJFmulXmhSiYhcsoHogN1c7Ny4CQ8PAkIPWQQeMt8AKkOKgle5LJ3IASNaD5OZBtbsQMkD6umv62E/0Or2oYhN1oIwvt2wbgSisWGvV9DvX9wHdC3QSUvCKSCwJ6DSVf4Y26f8jh0ImkCgJMGIiqkdNDmKnrVvBdqYkjBaHYoY7oVRuuZ+5BShC1tkwr5WKLGamwJJxVb04xgAGBTnsYsOrXnwGLYd9u9jmRcFfiVE/ulaOoMc0wSTG9MY+UvDyH+oNheNJIPLIENHNYQjQ53xKipyxBDTJcKAamtEZREzjd6mY7pLGqeWphnP63480CtNnUgD4aamT/aoXV72rk+zrVcO9Jr+3uk8V0NvefcfdgBM5bfq/h/ROL80/qdxZAObMQV57LMsjMW2ORmpdeaAwesVFzrj8OB1Q+Q9j2fd1bTSzOlGgUL26SpE9cs+iTwSM82WnP52Jh+1+4cPnfCFxMLS7e6Yj6x+mu4XRB5GD6Ul43s5herj/cHEVbYRHHa7/2jB+FvIU4VViofGqB3LnccZDRsh8BzkH9oU1vBs0jLFyKhLlFwp3EVX5O2EtmyTxZvCjsrdbrYD39wbDX944Rw17gykGXinsLi4gVVKkgpa7zfqMQ1Fn1NUJQ4NuZP8c6n5C6Ci9KLiSuE0xTjJfAS6qrcMnV5Qvjew8lJztL9NM6y8Uqd0coQ1MHm0EwQu3eGaCreC9BFKSq9K7p9d3ppF1zNAIBaH5Nd7IPLT5W9d4VpylUPyvul8gdkX9N3O3ji38BZ1or09e9IPrgaAB+leNSN5UuUlZwZP9ihR7fn8xWcyveREf2JANehuGmIFlG4Vli0JLie6C3+qxE50W0Eg2UncL3g/lOcT+idpH/nMKtjTct58jmPHDFujEot88pDOWc0cMJXPdz1DAr+UmYuJPOfBWv0S/Fcz9B5jjTSbt+ZqYq3RqCUYyhX8RHE4cxhA5jCEcwBvsA4x8dOP9YwatbgWMLcTErsI9Obnf3lDy7mxvQPgjuxw+KrTOubnv9Is6ji/NkiJkENjGuuhShEYixTzpizFKgL66HnirqfxUSjMCs7ywX5ER1v/91V8/1/tn7Bg=="), -this.addEntry("atlassian error message field",function(){var b=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");b.vertex=!0;var c=new mxCell("shrugg#atlassian.com",new mxGeometry(0,25,300,40),"rounded=1;arcSize=9;align=left;spacingLeft=5;strokeColor=#FFAB00;html=1;strokeWidth=2;fontSize=12");c.vertex=!0;var d=new mxCell("",new mxGeometry(1,.5,20,20),"shape=mxgraph.azure.azure_alert;fillColor=#FFAB00;strokeColor=none;html=1"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,-10);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b,c],290,58,"Error message field")}),this.addEntry("atlassian error message field",function(){var b=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");b.vertex=!0;var c=new mxCell("shrugg#atlassian.com",new mxGeometry(0,25,300,40),"rounded=1;arcSize=9;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontSize=12"); -c.vertex=!0;var d=new mxCell("",new mxGeometry(1,.5,20,20),"shape=mxgraph.azure.azure_alert;fillColor=#FFAB00;strokeColor=none;html=1");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,-10);d.vertex=!0;c.insert(d);d=new mxCell("Please enter a valid address.",new mxGeometry(310,22,200,46),"rounded=1;arcSize=9;align=center;strokeColor=#DFE1E5;html=1;strokeWidth=1;fontSize=12;shadow=1");d.vertex=!0;return a.createVertexTemplateFromCells([b,c,d],290,58,"Error message field")})];this.addPalette("atlassian", -"Atlassian",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))}})();(function(){Sidebar.prototype.addAWSPalette=function(){this.addAWSAnalyticsPalette();this.addAWSApplicationServicesPalette();this.addAWSComputePalette();this.addAWSDatabasePalette();this.addAWSDeveloperToolsPalette();this.addAWSEnterpriseApplicationsPalette();this.addAWSGameDevelopmentPalette();this.addAWSGeneralPalette();this.addAWSInternetOfThingsPalette();this.addAWSManagementToolsPalette();this.addAWSMobileServicesPalette();this.addAWSNetworkingPalette();this.addAWSOnDemandWorkforcePalette(); +this.addEntry("atlassian text field",function(){var b=new mxCell("Your name",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var d=new mxCell("Sally Lu",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12");d.vertex=!0;return a.createVertexTemplateFromCells([b,d],290,58,"Text field")}), +this.addEntry("atlassian text field required",function(){var b=new mxCell('Requirements<sup><font color="#ff0000">*</font></sup>',new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11");b.vertex=!0;var d=new mxCell("Design, eating, drinking",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12");d.vertex= +!0;return a.createVertexTemplateFromCells([b,d],290,58,"Text field with required fields")}),this.addEntry("atlassian disabled text field",function(){var b=new mxCell("Guests",new mxGeometry(0,0,240,20),"fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#B3BAC5;fontStyle=1;fontSize=11");b.vertex=!0;var d=new mxCell("Kris Wesley",new mxGeometry(0,25,290,33),"rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#B3BAC5;fontSize=12"); +d.vertex=!0;return a.createVertexTemplateFromCells([b,d],290,58,"Disabled text field")}),this.addDataEntry("atlassian text field disabled",370,543,"Disabled text field","7Vlbc5s4FP41vOxDBxC+PcbY9KHdncymnT4rcGzUCokVch3vr68EggakOG6MnXZazxh0Owfzfecm2UNx8fBW4DL/m2dAPbT2UCw4l02reIiBUi/0SeahlReGvvp6YfLEbFDP+iUWwOQpAmEj8BXTHTQjsQAsQY1hrUjwz5DKZlElD9Qs2hBKY065UF3GmRpdVlLwLzAYzGWhXmkVqOaGM3lH/tcKgq5vNPqqjynZMtWmsJFmulXmhSiYhcsoHogN1c7Ny4CQ8PAkIPWQQeMt8AKkOKgle5LJ3IASNaD5OZBtbsQMkD6umv62E/0Or2oYhN1oIwvt2wbgSisWGvV9DvX9wHdC3QSUvCKSCwJ6DSVf4Y26f8jh0ImkCgJMGIiqkdNDmKnrVvBdqYkjBaHYoY7oVRuuZ+5BShC1tkwr5WKLGamwJJxVb04xgAGBTnsYsOrXnwGLYd9u9jmRcFfiVE/ulaOoMc0wSTG9MY+UvDyH+oNheNJIPLIENHNYQjQ53xKipyxBDTJcKAamtEZREzjd6mY7pLGqeWphnP63480CtNnUgD4aamT/aoXV72rk+zrVcO9Jr+3uk8V0NvefcfdgBM5bfq/h/ROL80/qdxZAObMQV57LMsjMW2ORmpdeaAwesVFzrj8OB1Q+Q9j2fd1bTSzOlGgUL26SpE9cs+iTwSM82WnP52Jh+1+4cPnfCFxMLS7e6Yj6x+mu4XRB5GD6Ul43s5herj/cHEVbYRHHa7/2jB+FvIU4VViofGqB3LnccZDRsh8BzkH9oU1vBs0jLFyKhLlFwp3EVX5O2EtmyTxZvCjsrdbrYD39wbDX944Rw17gykGXinsLi4gVVKkgpa7zfqMQ1Fn1NUJQ4NuZP8c6n5C6Ci9KLiSuE0xTjJfAS6qrcMnV5Qvjew8lJztL9NM6y8Uqd0coQ1MHm0EwQu3eGaCreC9BFKSq9K7p9d3ppF1zNAIBaH5Nd7IPLT5W9d4VpylUPyvul8gdkX9N3O3ji38BZ1or09e9IPrgaAB+leNSN5UuUlZwZP9ihR7fn8xWcyveREf2JANehuGmIFlG4Vli0JLie6C3+qxE50W0Eg2UncL3g/lOcT+idpH/nMKtjTct58jmPHDFujEot88pDOWc0cMJXPdz1DAr+UmYuJPOfBWv0S/Fcz9B5jjTSbt+ZqYq3RqCUYyhX8RHE4cxhA5jCEcwBvsA4x8dOP9YwatbgWMLcTErsI9Obnf3lDy7mxvQPgjuxw+KrTOubnv9Is6ji/NkiJkENjGuuhShEYixTzpizFKgL66HnirqfxUSjMCs7ywX5ER1v/91V8/1/tn7Bg=="), +this.addEntry("atlassian error message field",function(){var b=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");b.vertex=!0;var d=new mxCell("shrugg#atlassian.com",new mxGeometry(0,25,300,40),"rounded=1;arcSize=9;align=left;spacingLeft=5;strokeColor=#FFAB00;html=1;strokeWidth=2;fontSize=12");d.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,20,20),"shape=mxgraph.azure.azure_alert;fillColor=#FFAB00;strokeColor=none;html=1"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(-30,-10);c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([b,d],290,58,"Error message field")}),this.addEntry("atlassian error message field",function(){var b=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");b.vertex=!0;var d=new mxCell("shrugg#atlassian.com",new mxGeometry(0,25,300,40),"rounded=1;arcSize=9;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontSize=12"); +d.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,20,20),"shape=mxgraph.azure.azure_alert;fillColor=#FFAB00;strokeColor=none;html=1");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-30,-10);c.vertex=!0;d.insert(c);c=new mxCell("Please enter a valid address.",new mxGeometry(310,22,200,46),"rounded=1;arcSize=9;align=center;strokeColor=#DFE1E5;html=1;strokeWidth=1;fontSize=12;shadow=1");c.vertex=!0;return a.createVertexTemplateFromCells([b,d,c],290,58,"Error message field")})];this.addPalette("atlassian", +"Atlassian",!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))}})();(function(){Sidebar.prototype.addAWSPalette=function(){this.addAWSAnalyticsPalette();this.addAWSApplicationServicesPalette();this.addAWSComputePalette();this.addAWSDatabasePalette();this.addAWSDeveloperToolsPalette();this.addAWSEnterpriseApplicationsPalette();this.addAWSGameDevelopmentPalette();this.addAWSGeneralPalette();this.addAWSInternetOfThingsPalette();this.addAWSManagementToolsPalette();this.addAWSMobileServicesPalette();this.addAWSNetworkingPalette();this.addAWSOnDemandWorkforcePalette(); this.addAWSSDKPalette();this.addAWSSecurityAndIdentityPalette();this.addAWSStorageAndContentDeliveryPalette();this.addAWSGroupPalette()};Sidebar.prototype.addAWSAnalyticsPalette=function(){var a="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws2.";this.addPaletteFunctions("aws2Analytics","AWS / Analytics",!1,[this.createVertexTemplateEntry(a+"analytics.data_pipeline;strokeColor=none;",60,72,"","Data Pipeline",null,null,this.getTagsForStencil("mxgraph.aws.analytics","data pipeline","aws group amazon web service analytics").join(" ")), this.createVertexTemplateEntry(a+"analytics.elasticsearch;strokeColor=none;",60,72,"","ElasticSearch",null,null,this.getTagsForStencil("mxgraph.aws.analytics","elasticsearch","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"analytics.emr;strokeColor=none;",60,72,"","EMR",null,null,this.getTagsForStencil("mxgraph.aws.analytics","emr","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.emr_cluster;strokeColor=none;", 49,55,"","EMR Cluster",null,null,this.getTagsForStencil("mxgraph.aws.analytics","emr cluster","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.emr_engine;strokeColor=none;",74,53,"","EMR Engine",null,null,this.getTagsForStencil("mxgraph.aws.analytics","emr engine","aws group amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"compute_and_networking.emr_hdfs_cluster;strokeColor=none;",54,56,"","EMR HDFS Cluster",null, @@ -3895,13 +3895,13 @@ this.createVertexTemplateEntry(a+"storage_and_content_delivery.s3_bucket_with_ob 52,66,"","Storage Gateway Non-Cached Volume",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","storage gateway non cached volume","aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.storage_gateway_virtual_tape_library;strokeColor=none;",52,66,"","Storage Gateway Virtual Tape Library",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","storage gateway virtual tape library", "aws group amazon web service storage content delivery").join(" ")),this.createVertexTemplateEntry(a+"storage_and_content_delivery.ebs_volume;strokeColor=none;",46,66,"","Volume",null,null,this.getTagsForStencil("mxgraph.aws.storageAndContentDelivery","volume","aws group amazon web service storage content delivery").join(" "))])};Sidebar.prototype.addAWSGroupPalette=function(){var a=this,b="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws.groups.";this.addPaletteFunctions("aws2Groups","AWS / Groups", !1,[this.createVertexTemplateEntry(b+"auto_scaling_group;fillColor=none;gradientColor=none;",200,200,"","Auto Scaling Group",null,null,this.getTagsForStencil("mxgraph.aws.groups","auto_scaling_group","aws group amazon web service ").join(" ")),this.createVertexTemplateEntry(b+"availability_zone;strokeColor=#f69721;fillColor=none;gradientColor=none;",200,200,"","Availability Zone",null,null,this.getTagsForStencil("mxgraph.aws.groups","availability_zone","aws group amazon web service ").join(" ")), -this.addEntry("aws group amazon web service cloud",function(){var e=new mxCell("",new mxGeometry(0,30,200,200),b+"rrect;fillColor=none;gradientColor=none;");e.vertex=!0;var c=new mxCell("",new mxGeometry(10,0,70,40),b+"aws_cloud_icon;strokeColor=none;fillColor=#F69721;gradientColor=none;");c.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,230,"AWS Cloud")}),this.addEntry("aws group amazon web service corporate data center",function(){var e=new mxCell("",new mxGeometry(0,20,200,200),b+"rrect;fillColor=none;gradientColor=none;"); -e.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,30,40),b+"corporate_data_center_icon;strokeColor=none;fillColor=#6D6F70;gradientColor=none;");c.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,220,"Corporate Data Center")}),this.addEntry("aws group amazon web service ec2 instance content",function(){var e=new mxCell("",new mxGeometry(0,20,200,200),b+"rrect;fillColor=none;gradientColor=none;");e.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,40,40),b+"rrect;strokeColor=none;fillColor=#F69721;gradientColor=none;"); -c.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,220,"EC2 Instance Contents")}),this.addEntry("aws group amazon web service EC2 Spot Fleet",function(){var e=new mxCell("",new mxGeometry(0,30,200,200),b+"rrect;fillColor=none;gradientColor=none;");e.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,43,40),b+"ec2_spot_instance;strokeColor=none;gradientColor=none;");c.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,230,"EC2 Spot Fleet")}),this.addEntry("aws group amazon web service elastic beanstalk container", -function(){var e=new mxCell("",new mxGeometry(0,20,200,200),b+"rrect;fillColor=none;gradientColor=none;");e.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,40,40),b+"elastic_beanstalk_container_icon;strokeColor=none;fillColor=#2A6A35;gradientColor=none;");c.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,220,"Elastic Beanstalk Container")}),this.createVertexTemplateEntry(b+"region;fillColor=none;gradientColor=none;",200,200,"","Region",null,null,this.getTagsForStencil("mxgraph.aws.groups", +this.addEntry("aws group amazon web service cloud",function(){var e=new mxCell("",new mxGeometry(0,30,200,200),b+"rrect;fillColor=none;gradientColor=none;");e.vertex=!0;var d=new mxCell("",new mxGeometry(10,0,70,40),b+"aws_cloud_icon;strokeColor=none;fillColor=#F69721;gradientColor=none;");d.vertex=!0;return a.createVertexTemplateFromCells([e,d],200,230,"AWS Cloud")}),this.addEntry("aws group amazon web service corporate data center",function(){var e=new mxCell("",new mxGeometry(0,20,200,200),b+"rrect;fillColor=none;gradientColor=none;"); +e.vertex=!0;var d=new mxCell("",new mxGeometry(20,0,30,40),b+"corporate_data_center_icon;strokeColor=none;fillColor=#6D6F70;gradientColor=none;");d.vertex=!0;return a.createVertexTemplateFromCells([e,d],200,220,"Corporate Data Center")}),this.addEntry("aws group amazon web service ec2 instance content",function(){var e=new mxCell("",new mxGeometry(0,20,200,200),b+"rrect;fillColor=none;gradientColor=none;");e.vertex=!0;var d=new mxCell("",new mxGeometry(20,0,40,40),b+"rrect;strokeColor=none;fillColor=#F69721;gradientColor=none;"); +d.vertex=!0;return a.createVertexTemplateFromCells([e,d],200,220,"EC2 Instance Contents")}),this.addEntry("aws group amazon web service EC2 Spot Fleet",function(){var e=new mxCell("",new mxGeometry(0,30,200,200),b+"rrect;fillColor=none;gradientColor=none;");e.vertex=!0;var d=new mxCell("",new mxGeometry(20,0,43,40),b+"ec2_spot_instance;strokeColor=none;gradientColor=none;");d.vertex=!0;return a.createVertexTemplateFromCells([e,d],200,230,"EC2 Spot Fleet")}),this.addEntry("aws group amazon web service elastic beanstalk container", +function(){var e=new mxCell("",new mxGeometry(0,20,200,200),b+"rrect;fillColor=none;gradientColor=none;");e.vertex=!0;var d=new mxCell("",new mxGeometry(20,0,40,40),b+"elastic_beanstalk_container_icon;strokeColor=none;fillColor=#2A6A35;gradientColor=none;");d.vertex=!0;return a.createVertexTemplateFromCells([e,d],200,220,"Elastic Beanstalk Container")}),this.createVertexTemplateEntry(b+"region;fillColor=none;gradientColor=none;",200,200,"","Region",null,null,this.getTagsForStencil("mxgraph.aws.groups", "region","aws group amazon web service ").join(" ")),this.createVertexTemplateEntry(b+"rrect;fillColor=none;gradientColor=none;",200,200,"","Security Group",null,null,this.getTagsForStencil("mxgraph.aws.groups","security","aws group amazon web service ").join(" ")),this.createVertexTemplateEntry(b+"rrect;fillColor=#F2F2F2;gradientColor=none;",200,200,"","Server Contents",null,null,this.getTagsForStencil("mxgraph.aws.groups","server content","aws group amazon web service ").join(" ")),this.addEntry("aws group amazon web service virtual private cloud", -function(){var e=new mxCell("",new mxGeometry(0,30,200,200),b+"rrect;fillColor=none;gradientColor=none;");e.vertex=!0;var c=new mxCell("",new mxGeometry(10,0,70,40),b+"virtual_private_cloud_icon;strokeColor=none;fillColor=#282560;gradientColor=none;");c.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,230,"Virtual Private Cloud")}),this.addEntry("aws group amazon web service virtual private cloud subnet vpc",function(){var e=new mxCell("",new mxGeometry(0,30,200,200),b+"rrect;fillColor=none;gradientColor=none;"); -e.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,40,40),b+"vpc_subnet_icon;strokeColor=none;fillColor=#282560;gradientColor=none;");c.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,230,"VPC Subnet")})])}})();(function(){Sidebar.prototype.addAWS3Palette=function(){this.addAWS3AnalyticsPalette();this.addAWS3ApplicationServicesPalette();this.addAWS3ArtificialIntelligencePalette();this.addAWS3BusinessProductivityPalette();this.addAWS3ComputePalette();this.addAWS3ContactCenterPalette();this.addAWS3DatabasePalette();this.addAWS3DesktopAndAppStreamingPalette();this.addAWS3DeveloperToolsPalette();this.addAWS3GameDevelopmentPalette();this.addAWS3GeneralPalette();this.addAWS3GroupsPalette();this.addAWS3InternetOfThingsPalette(); +function(){var e=new mxCell("",new mxGeometry(0,30,200,200),b+"rrect;fillColor=none;gradientColor=none;");e.vertex=!0;var d=new mxCell("",new mxGeometry(10,0,70,40),b+"virtual_private_cloud_icon;strokeColor=none;fillColor=#282560;gradientColor=none;");d.vertex=!0;return a.createVertexTemplateFromCells([e,d],200,230,"Virtual Private Cloud")}),this.addEntry("aws group amazon web service virtual private cloud subnet vpc",function(){var e=new mxCell("",new mxGeometry(0,30,200,200),b+"rrect;fillColor=none;gradientColor=none;"); +e.vertex=!0;var d=new mxCell("",new mxGeometry(20,0,40,40),b+"vpc_subnet_icon;strokeColor=none;fillColor=#282560;gradientColor=none;");d.vertex=!0;return a.createVertexTemplateFromCells([e,d],200,230,"VPC Subnet")})])}})();(function(){Sidebar.prototype.addAWS3Palette=function(){this.addAWS3AnalyticsPalette();this.addAWS3ApplicationServicesPalette();this.addAWS3ArtificialIntelligencePalette();this.addAWS3BusinessProductivityPalette();this.addAWS3ComputePalette();this.addAWS3ContactCenterPalette();this.addAWS3DatabasePalette();this.addAWS3DesktopAndAppStreamingPalette();this.addAWS3DeveloperToolsPalette();this.addAWS3GameDevelopmentPalette();this.addAWS3GeneralPalette();this.addAWS3GroupsPalette();this.addAWS3InternetOfThingsPalette(); this.addAWS3ManagementToolsPalette();this.addAWS3MessagingPalette();this.addAWS3MigrationPalette();this.addAWS3MobileServicesPalette();this.addAWS3NetworkAndContentDeliveryPalette();this.addAWS3OnDemandWorkforcePalette();this.addAWS3SDKPalette();this.addAWS3SecurityIdentityAndCompliancePalette();this.addAWS3StoragePalette()};Sidebar.prototype.addAWS3AnalyticsPalette=function(){var a="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;"+mxConstants.STYLE_SHAPE+ "=mxgraph.aws3.";this.addPaletteFunctions("aws3Analytics","AWS17 / Analytics",!1,[this.createVertexTemplateEntry(a+"athena;fillColor=#F58534;gradientColor=none;",76.5,76.5,"","Athena",null,null,this.getTagsForStencil("mxgraph.aws3","athena","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"cloudsearch;fillColor=#F58534;gradientColor=none;",76.5,93,"","CloudSearch",null,null,this.getTagsForStencil("mxgraph.aws3","cloudsearch cloud search","aws amazon web service analytics").join(" ")), this.createVertexTemplateEntry(a+"elasticsearch_service;fillColor=#F58534;gradientColor=none;",67.5,81,"","ElasticSearch Service",null,null,this.getTagsForStencil("mxgraph.aws3","elasticsearch elastic search service","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"emr;fillColor=#F58534;gradientColor=none;",67.5,81,"","EMR",null,null,this.getTagsForStencil("mxgraph.aws3","emr","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(a+"kinesis;fillColor=#F58534;gradientColor=none;", @@ -3930,8 +3930,8 @@ this.createVertexTemplateEntry(b+"elastic_beanstalk;fillColor=#F58534;gradientCo 69,72,"","Internet Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","internet gateway","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"flow_logs;fillColor=#F58534;gradientColor=none;",69,72,"","Flow Logs",null,null,this.getTagsForStencil("mxgraph.aws3","flow logs","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"customer_gateway;fillColor=#F58534;gradientColor=none;",69,72,"","Customer Gateway",null,null,this.getTagsForStencil("mxgraph.aws3", "customer gateway","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"instance_with_cloudwatch;fillColor=#F58534;gradientColor=none;",60,63,"","Instance with CloudWatch",null,null,this.getTagsForStencil("mxgraph.aws3","instance with cloudwatch","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"elastic_network_adapter;fillColor=#F58534;gradientColor=none;",75,90,"","Elastic Network Adapter",null,null,this.getTagsForStencil("mxgraph.aws3","elastic network adapter", "aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"optimized_instance;fillColor=#F58534;gradientColor=none;",60,63,"","Optimized Instance",null,null,this.getTagsForStencil("mxgraph.aws3","optimized instance","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"rescue;fillColor=#F58534;gradientColor=none;",63,66,"","Rescue",null,null,this.getTagsForStencil("mxgraph.aws3","rescue","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+ -"spot_instance;fillColor=#F58534;gradientColor=none;",60,63,"","Spot Instance",null,null,this.getTagsForStencil("mxgraph.aws3","spot instance","aws amazon web service compute").join(" ")),this.addEntry("aws amazon web service computeSpot Fleet",function(){var e=new mxCell("",new mxGeometry(0,30,200,200),"rounded=1;fillColor=none;gradientColor=none;arcSize=10;dashed=1;");e.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,43,40),b+"spot_instance;fillColor=#F58534;strokeColor=none;gradientColor=none;"); -c.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,230,"Spot Fleet")}),this.createVertexTemplateEntry(b+"ecr;fillColor=#F58534;gradientColor=none;",69,72,"","ECR",null,null,this.getTagsForStencil("mxgraph.aws3","ecr","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"vpn_gateway;fillColor=#F58534;gradientColor=none;",69,72,"","VPN Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","vpn gateway virtual private network","aws amazon web service compute").join(" ")), +"spot_instance;fillColor=#F58534;gradientColor=none;",60,63,"","Spot Instance",null,null,this.getTagsForStencil("mxgraph.aws3","spot instance","aws amazon web service compute").join(" ")),this.addEntry("aws amazon web service computeSpot Fleet",function(){var e=new mxCell("",new mxGeometry(0,30,200,200),"rounded=1;fillColor=none;gradientColor=none;arcSize=10;dashed=1;");e.vertex=!0;var d=new mxCell("",new mxGeometry(20,0,43,40),b+"spot_instance;fillColor=#F58534;strokeColor=none;gradientColor=none;"); +d.vertex=!0;return a.createVertexTemplateFromCells([e,d],200,230,"Spot Fleet")}),this.createVertexTemplateEntry(b+"ecr;fillColor=#F58534;gradientColor=none;",69,72,"","ECR",null,null,this.getTagsForStencil("mxgraph.aws3","ecr","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"vpn_gateway;fillColor=#F58534;gradientColor=none;",69,72,"","VPN Gateway",null,null,this.getTagsForStencil("mxgraph.aws3","vpn gateway virtual private network","aws amazon web service compute").join(" ")), this.createVertexTemplateEntry(b+"deployment;fillColor=#F58534;gradientColor=none;",55.5,73.5,"","Deployment",null,null,this.getTagsForStencil("mxgraph.aws3","deployment","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"vpn_connection;fillColor=#F58534;gradientColor=none;",58.5,48,"","VPN Connection",null,null,this.getTagsForStencil("mxgraph.aws3","vpn connection virtual private network","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"vpc_peering;fillColor=#F58534;gradientColor=none;", 69,72,"","VPC Peering",null,null,this.getTagsForStencil("mxgraph.aws3","vpc peering virtual private cloud","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"application;fillColor=#F58534;gradientColor=none;",34.5,64.5,"","Application",null,null,this.getTagsForStencil("mxgraph.aws3","application","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ec2_compute_container;fillColor=#F58534;gradientColor=none;",60,34.5,"","EC2 Compute Container", null,null,this.getTagsForStencil("mxgraph.aws3","ec2 compute container","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ec2_compute_container_2;fillColor=#F58534;gradientColor=none;",60,34.5,"","EC2 Compute Container",null,null,this.getTagsForStencil("mxgraph.aws3","ec2 compute container","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ec2_compute_container_3;fillColor=#F58534;gradientColor=none;",60,34.5,"","EC2 Compute Container",null, @@ -3972,12 +3972,12 @@ this.createVertexTemplateEntry(a+"disk;fillColor=#7D7C7C;gradientColor=none;",61 "ssl_padlock;fillColor=#D2D3D3;gradientColor=none;",63,78,"","SSL Padlock",null,null,this.getTagsForStencil("mxgraph.aws3","ssl padlock","aws amazon web service general").join(" "))])};Sidebar.prototype.addAWS3GroupsPalette=function(){var a=this,b="dashed=0;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Groups","AWS17 / Groups",!1,[this.createVertexTemplateEntry("rounded=1;arcSize=10;dashed=1;fillColor=none;gradientColor=none;dashPattern=8 3 1 3;strokeWidth=2;",199.5, 199.5,"","Auto Scaling Group",null,null,this.getTagsForStencil("mxgraph.aws3","auto scaling group","aws group amazon web service group groups").join(" ")),this.createVertexTemplateEntry("rounded=1;arcSize=10;dashed=1;strokeColor=#F59D56;fillColor=none;gradientColor=none;dashPattern=8 4;strokeWidth=2;",199.5,199.5,"","Availability Zone",null,null,this.getTagsForStencil("mxgraph.aws3","availability zone","aws group amazon web service group groups").join(" ")),this.createVertexTemplateEntry("rounded=1;arcSize=10;dashed=1;fillColor=none;gradientColor=none;dashPattern=1 1;strokeWidth=2;", 199.5,199.5,"","Region",null,null,this.getTagsForStencil("mxgraph.aws3","region","aws group amazon web service group groups").join(" ")),this.createVertexTemplateEntry("rounded=1;arcSize=10;dashed=1;strokeColor=#ff0000;fillColor=none;gradientColor=none;dashPattern=8 4;strokeWidth=2;",199.5,199.5,"","Security Group",null,null,this.getTagsForStencil("mxgraph.aws3","security group","aws group amazon web service group groups").join(" ")),this.addEntry("aws group amazon web service group groupselastic beanstalk container", -function(){var e=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;fillColor=none;gradientColor=none;strokeWidth=2;");e.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,30,41),b+"elastic_beanstalk;fillColor=#F58536;gradientColor=none;dashed=0;");c.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,220,"Elastic Beanstalk Container")}),this.addEntry("aws group amazon web service group groupsec2 instance container",function(){var e=new mxCell("",new mxGeometry(0,20,200, -200),"rounded=1;arcSize=10;dashed=0;fillColor=none;gradientColor=none;strokeWidth=2;");e.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,40,41),b+"instance;fillColor=#F58536;gradientColor=none;dashed=0;");c.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,220,"EC2 Instance Container")}),this.addEntry("aws group amazon web service group groupsvpc subnet",function(){var e=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;fillColor=none;gradientColor=none;strokeWidth=2;"); -e.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,30,35),b+"permissions;fillColor=#D9A741;gradientColor=none;dashed=0;");c.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,220,"VPC Subnet")}),this.createVertexTemplateEntry("rounded=1;arcSize=10;strokeColor=none;fillColor=#DBDBDB;gradientColor=none;",199.5,199.5,"","Server Contents",null,null,this.getTagsForStencil("mxgraph.aws3","server contents","aws group amazon web service group groups").join(" ")),this.addEntry("aws group amazon web service group groupsvirtual private cloud", -function(){var e=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;fillColor=none;gradientColor=none;strokeWidth=2;");e.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,52,36),b+"virtual_private_cloud;fillColor=#F58536;gradientColor=none;dashed=0;");c.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,220,"Virtual Private Cloud")}),this.addEntry("aws group amazon web service group groupscloud",function(){var e=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;fillColor=none;gradientColor=none;strokeWidth=2;"); -e.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,52,36),b+"cloud;fillColor=#F58536;gradientColor=none;dashed=0;");c.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,220,"AWS Cloud")}),this.addEntry("aws group amazon web service group groupscorporate data center",function(){var e=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;fillColor=none;gradientColor=none;strokeWidth=2;");e.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,30,42),b+"corporate_data_center;fillColor=#7D7C7C;gradientColor=none;dashed=0;"); -c.vertex=!0;return a.createVertexTemplateFromCells([e,c],200,220,"Corporate Data Center")})])};Sidebar.prototype.addAWS3InternetOfThingsPalette=function(){var a="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Internet of Things","AWS17 / Internet of Things",!1,[this.createVertexTemplateEntry(a+"aws_iot;fillColor=#5294CF;gradientColor=none;",67.5,81,"","AWS IoT",null,null,this.getTagsForStencil("mxgraph.aws3", +function(){var e=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;fillColor=none;gradientColor=none;strokeWidth=2;");e.vertex=!0;var d=new mxCell("",new mxGeometry(20,0,30,41),b+"elastic_beanstalk;fillColor=#F58536;gradientColor=none;dashed=0;");d.vertex=!0;return a.createVertexTemplateFromCells([e,d],200,220,"Elastic Beanstalk Container")}),this.addEntry("aws group amazon web service group groupsec2 instance container",function(){var e=new mxCell("",new mxGeometry(0,20,200, +200),"rounded=1;arcSize=10;dashed=0;fillColor=none;gradientColor=none;strokeWidth=2;");e.vertex=!0;var d=new mxCell("",new mxGeometry(20,0,40,41),b+"instance;fillColor=#F58536;gradientColor=none;dashed=0;");d.vertex=!0;return a.createVertexTemplateFromCells([e,d],200,220,"EC2 Instance Container")}),this.addEntry("aws group amazon web service group groupsvpc subnet",function(){var e=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;fillColor=none;gradientColor=none;strokeWidth=2;"); +e.vertex=!0;var d=new mxCell("",new mxGeometry(20,0,30,35),b+"permissions;fillColor=#D9A741;gradientColor=none;dashed=0;");d.vertex=!0;return a.createVertexTemplateFromCells([e,d],200,220,"VPC Subnet")}),this.createVertexTemplateEntry("rounded=1;arcSize=10;strokeColor=none;fillColor=#DBDBDB;gradientColor=none;",199.5,199.5,"","Server Contents",null,null,this.getTagsForStencil("mxgraph.aws3","server contents","aws group amazon web service group groups").join(" ")),this.addEntry("aws group amazon web service group groupsvirtual private cloud", +function(){var e=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;fillColor=none;gradientColor=none;strokeWidth=2;");e.vertex=!0;var d=new mxCell("",new mxGeometry(20,0,52,36),b+"virtual_private_cloud;fillColor=#F58536;gradientColor=none;dashed=0;");d.vertex=!0;return a.createVertexTemplateFromCells([e,d],200,220,"Virtual Private Cloud")}),this.addEntry("aws group amazon web service group groupscloud",function(){var e=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;fillColor=none;gradientColor=none;strokeWidth=2;"); +e.vertex=!0;var d=new mxCell("",new mxGeometry(20,0,52,36),b+"cloud;fillColor=#F58536;gradientColor=none;dashed=0;");d.vertex=!0;return a.createVertexTemplateFromCells([e,d],200,220,"AWS Cloud")}),this.addEntry("aws group amazon web service group groupscorporate data center",function(){var e=new mxCell("",new mxGeometry(0,20,200,200),"rounded=1;arcSize=10;dashed=0;fillColor=none;gradientColor=none;strokeWidth=2;");e.vertex=!0;var d=new mxCell("",new mxGeometry(20,0,30,42),b+"corporate_data_center;fillColor=#7D7C7C;gradientColor=none;dashed=0;"); +d.vertex=!0;return a.createVertexTemplateFromCells([e,d],200,220,"Corporate Data Center")})])};Sidebar.prototype.addAWS3InternetOfThingsPalette=function(){var a="outlineConnect=0;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws3.";this.addPaletteFunctions("aws3Internet of Things","AWS17 / Internet of Things",!1,[this.createVertexTemplateEntry(a+"aws_iot;fillColor=#5294CF;gradientColor=none;",67.5,81,"","AWS IoT",null,null,this.getTagsForStencil("mxgraph.aws3", "iot internet of things","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"greengrass;fillColor=#5294CF;gradientColor=none;",76.5,93,"","Greengrass",null,null,this.getTagsForStencil("mxgraph.aws3","greengrass","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"action;fillColor=#5294CF;gradientColor=none;",63,64.5,"","Action",null,null,this.getTagsForStencil("mxgraph.aws3","action","aws amazon web service iot internet of things").join(" ")), this.createVertexTemplateEntry(a+"actuator;fillColor=#5294CF;gradientColor=none;",76.5,90,"","Actuator",null,null,this.getTagsForStencil("mxgraph.aws3","actuator","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"certificate;fillColor=#5294CF;gradientColor=none;",63,85.5,"","Certificate",null,null,this.getTagsForStencil("mxgraph.aws3","certificate","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"desired_state;fillColor=#5294CF;gradientColor=none;", 60,63,"","Desired State",null,null,this.getTagsForStencil("mxgraph.aws3","desired state","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"hardware_board;fillColor=#5294CF;gradientColor=none;",84,100.5,"","Hardware Board",null,null,this.getTagsForStencil("mxgraph.aws3","hardware board","aws amazon web service iot internet of things").join(" ")),this.createVertexTemplateEntry(a+"http_protocol;fillColor=#5294CF;gradientColor=none;",63,66,"","HTTP Protocol", @@ -4074,8 +4074,8 @@ this.createVertexTemplateEntry(a+"ami2;aspect=fixed;fillColor=#FF9900;strokeColo 106,"","Data Server",null,null,this.getTagsForStencil("mxgraph.aws3d","data server","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"decider;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",74,50,"","Decider",null,null,this.getTagsForStencil("mxgraph.aws3d","decider","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"dynamoDb;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",181.5,210,"","DynamoDB",null,null,this.getTagsForStencil("mxgraph.aws3d", "dynamodb db database","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"ebs;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",92,60,"","EBS",null,null,this.getTagsForStencil("mxgraph.aws3d","ebs","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"ebs2;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",92,60,"","EBS",null,null,this.getTagsForStencil("mxgraph.aws3d","ebs","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"elasticBeanstalk;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;", 182,140,"","Elastic Beanstalk",null,null,this.getTagsForStencil("mxgraph.aws3d","elastic beanstalk","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"elasticLoadBalancing;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",92,88.17,"","Elastic Load Balancing",null,null,this.getTagsForStencil("mxgraph.aws3d","elastic load balancing elb","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"elasticMapReduce;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;", -123,133,"","Elastic MapReduce",null,null,this.getTagsForStencil("mxgraph.aws3d","elastic mapreduce","aws 3d amazon web service").join(" ")),this.addEntry("aws 3d amazon web serviceelasticache",function(){var b=new mxCell("",new mxGeometry(70,0,123,124),a+"application_server;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;");b.vertex=!0;var e=new mxCell("",new mxGeometry(0,40,123,124),a+"application_server;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;");e.vertex=!0;var c=new mxCell("",new mxGeometry(140, -40,123,124),a+"application_server;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;");c.vertex=!0;var d=new mxCell("",new mxGeometry(70,80,123,124),a+"application_server;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;");d.vertex=!0;return sb.createVertexTemplateFromCells([b,e,c,d],264,204,"Elasticache")}),this.createVertexTemplateEntry(a+"email;aspect=fixed;strokeColor=#292929;",43,100*.57,"","Email",null,null,this.getTagsForStencil("mxgraph.aws3d","email","aws 3d amazon web service").join(" ")), +123,133,"","Elastic MapReduce",null,null,this.getTagsForStencil("mxgraph.aws3d","elastic mapreduce","aws 3d amazon web service").join(" ")),this.addEntry("aws 3d amazon web serviceelasticache",function(){var b=new mxCell("",new mxGeometry(70,0,123,124),a+"application_server;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;");b.vertex=!0;var e=new mxCell("",new mxGeometry(0,40,123,124),a+"application_server;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;");e.vertex=!0;var d=new mxCell("",new mxGeometry(140, +40,123,124),a+"application_server;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;");d.vertex=!0;var c=new mxCell("",new mxGeometry(70,80,123,124),a+"application_server;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;");c.vertex=!0;return sb.createVertexTemplateFromCells([b,e,d,c],264,204,"Elasticache")}),this.createVertexTemplateEntry(a+"email;aspect=fixed;strokeColor=#292929;",43,100*.57,"","Email",null,null,this.getTagsForStencil("mxgraph.aws3d","email","aws 3d amazon web service").join(" ")), this.createVertexTemplateEntry(a+"email_service;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",151,192,"","Email Service",null,null,this.getTagsForStencil("mxgraph.aws3d","email service","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"file;aspect=fixed;strokeColor=#292929;",30.8,70.6,"","File",null,null,this.getTagsForStencil("mxgraph.aws3d","file","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"glacier;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;", 181,192,"","Glacier",null,null,this.getTagsForStencil("mxgraph.aws3d","glacier","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"image;strokeColor=none;fillColor=#777777;aspect=fixed;",50,86,"","Image/Video",null,null,this.getTagsForStencil("mxgraph.aws3d","image video","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"internetGateway;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",116.7,102.8,"","Internet Gateway",null,null,this.getTagsForStencil("mxgraph.aws3d", "internet gateway","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"lambda;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;",92,109.5,"","Lambda",null,null,this.getTagsForStencil("mxgraph.aws3d","lambda","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+"mobile_worker;aspect=fixed;strokeColor=none;fillColor=#777777;",36,90,"","Mobile Worker",null,null,this.getTagsForStencil("mxgraph.aws3d","mobile worker","aws 3d amazon web service").join(" ")),this.createVertexTemplateEntry(a+ @@ -4104,17 +4104,17 @@ null,this.getTagsForStencil(b,"","aws amazon web service arrowsdefault left").jo 100*a,0*a,"","Default (double)",null,this.getTagsForStencil(b,"","aws amazon web service arrowsdefault double").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=none;elbow=vertical;startArrow=openThin;startFill=0;strokeColor=#545B64;rounded=0;",100*a,0*a,"","Open (thin, left)",null,this.getTagsForStencil(b,"","aws amazon web service arrowsopen thin left").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=openThin;elbow=vertical;startArrow=none;endFill=0;strokeColor=#545B64;rounded=0;", 100*a,0*a,"","Open (thin, left)",null,this.getTagsForStencil(b,"","aws amazon web service arrowsopen thin left").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=openThin;elbow=vertical;startArrow=openThin;startFill=0;endFill=0;strokeColor=#545B64;rounded=0;",100*a,0*a,"","Open (thin, double)",null,this.getTagsForStencil(b,"","aws amazon web service arrowsopen thin double").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=none;elbow=vertical;startArrow=open;startFill=0;strokeColor=#545B64;rounded=0;", 100*a,0*a,"","Open (left)",null,this.getTagsForStencil(b,"","aws amazon web service arrowsopen left").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=open;elbow=vertical;startArrow=none;endFill=0;strokeColor=#545B64;rounded=0;",100*a,0*a,"","Open (left)",null,this.getTagsForStencil(b,"","aws amazon web service arrowsopen left").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=open;elbow=vertical;startArrow=open;startFill=0;endFill=0;strokeColor=#545B64;rounded=0;", -100*a,0*a,"","Open (double)",null,this.getTagsForStencil(b,"","aws amazon web service arrowsopen double").join(" "))])};Sidebar.prototype.addAWS4GeneralResourcesPalette=function(a,b,e){e="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#232F3E;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";var c="gradientDirection=north;outlineConnect=0;fontColor=#232F3E;gradientColor=#505863;fillColor=#1E262E;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ -mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4General Resources","AWS / General Resources",!1,[this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+b+".marketplace;",78*a,78*a,"","Marketplace",null,null,this.getTagsForStencil(b,"marketplace","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+b+".general;",78*a,78*a,"","General",null,null,this.getTagsForStencil(b,"general","aws amazon web service general resources").join(" ")), +100*a,0*a,"","Open (double)",null,this.getTagsForStencil(b,"","aws amazon web service arrowsopen double").join(" "))])};Sidebar.prototype.addAWS4GeneralResourcesPalette=function(a,b,e){e="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#232F3E;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";var d="gradientDirection=north;outlineConnect=0;fontColor=#232F3E;gradientColor=#505863;fillColor=#1E262E;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ +mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4General Resources","AWS / General Resources",!1,[this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+b+".marketplace;",78*a,78*a,"","Marketplace",null,null,this.getTagsForStencil(b,"marketplace","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+b+".general;",78*a,78*a,"","General",null,null,this.getTagsForStencil(b,"general","aws amazon web service general resources").join(" ")), this.createVertexTemplateEntry(e+"client;",78*a,76*a,"","Client",null,null,this.getTagsForStencil(b,"client","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(e+"corporate_data_center;",53*a,78*a,"","Corporate Data Center",null,null,this.getTagsForStencil(b,"corporate data center","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(e+"disk;",78*a,78*a,"","Disk",null,null,this.getTagsForStencil(b,"disk","aws amazon web service general resources").join(" ")), this.createVertexTemplateEntry(e+"forums;",78*a,76*a,"","Forums",null,null,this.getTagsForStencil(b,"forums","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(e+"generic_database;",59*a,78*a,"","Generic Database",null,null,this.getTagsForStencil(b,"generic database","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(e+"internet;",78*a,48*a,"","Internet",null,null,this.getTagsForStencil(b,"internet","aws amazon web service general resources").join(" ")), this.createVertexTemplateEntry(e+"internet_alt1;",78*a,48*a,"","Internet",null,null,this.getTagsForStencil(b,"internet","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(e+"internet_alt2;",78*a,78*a,"","Internet Gateway",null,null,this.getTagsForStencil(b,"internet gateway","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(e+"mobile_client;",41*a,78*a,"","Mobile Client",null,null,this.getTagsForStencil(b,"mobile client","aws amazon web service general resources").join(" ")), this.createVertexTemplateEntry(e+"multimedia;",78*a,73*a,"","Multimedia",null,null,this.getTagsForStencil(b,"multimedia","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(e+"office_building;",50*a,78*a,"","Office Building",null,null,this.getTagsForStencil(b,"office building","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(e+"saml_token;",78*a,78*a,"","SAML Token",null,null,this.getTagsForStencil(b,"saml token","aws amazon web service general resources").join(" ")), this.createVertexTemplateEntry(e+"ssl_padlock;",78*a,76*a,"","SSL Padlock",null,null,this.getTagsForStencil(b,"ssl padlock","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(e+"tape_storage;",78*a,38*a,"","Tape Storage",null,null,this.getTagsForStencil(b,"tape storage","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(e+"traditional_server;",45*a,78*a,"","Traditional Server",null,null,this.getTagsForStencil(b,"traditional server", "aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(e+"user;",78*a,78*a,"","User",null,null,this.getTagsForStencil(b,"user","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(e+"users;",78*a,78*a,"","Users",null,null,this.getTagsForStencil(b,"users","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(e+"external_toolkit;",68*a,78*a,"","Toolkit",null,null,this.getTagsForStencil(b,"external toolkit", -"aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(e+"external_sdk;",68*a,78*a,"","SDK",null,null,this.getTagsForStencil(b,"external sdk software development kit","aws amazon web service general resources").join(" "))])};Sidebar.prototype.addAWS4IllustrationsPalette=function(a,b,e,c){this.addPaletteFunctions("aws4Illustrations","AWS / Illustrations",!1,[this.createVertexTemplateEntry(b+"illustration_users;pointerEvents=1",100*a,100*a,"users",null,null,null,this.getTagsForStencil(e, +"aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(e+"external_sdk;",68*a,78*a,"","SDK",null,null,this.getTagsForStencil(b,"external sdk software development kit","aws amazon web service general resources").join(" "))])};Sidebar.prototype.addAWS4IllustrationsPalette=function(a,b,e,d){this.addPaletteFunctions("aws4Illustrations","AWS / Illustrations",!1,[this.createVertexTemplateEntry(b+"illustration_users;pointerEvents=1",100*a,100*a,"users",null,null,null,this.getTagsForStencil(e, "users","aws amazon web service illustrations").join(" ")),this.createVertexTemplateEntry(b+"illustration_notification;pointerEvents=1",100*a,81*a,"notification",null,null,null,this.getTagsForStencil(e,"users","aws amazon web service illustrations").join(" ")),this.createVertexTemplateEntry(b+"illustration_devices;pointerEvents=1",100*a,73*a,"devices",null,null,null,this.getTagsForStencil(e,"devices","aws amazon web service illustrations").join(" ")),this.createVertexTemplateEntry(b+"illustration_desktop;pointerEvents=1", -100*a,91*a,"desktop",null,null,null,this.getTagsForStencil(e,"desktop","aws amazon web service illustrations").join(" ")),this.createVertexTemplateEntry(b+"illustration_office_building;pointerEvents=1",100*a,71*a,"office building",null,null,null,this.getTagsForStencil(e,"office building","aws amazon web service illustrations").join(" "))])};Sidebar.prototype.addAWS4GroupsPalette=function(a,b,e,c){e=c+"outlineConnect=0;gradientColor=none;html=1;whiteSpace=wrap;fontSize=12;fontStyle=0;"+mxConstants.STYLE_SHAPE+ +100*a,91*a,"desktop",null,null,null,this.getTagsForStencil(e,"desktop","aws amazon web service illustrations").join(" ")),this.createVertexTemplateEntry(b+"illustration_office_building;pointerEvents=1",100*a,71*a,"office building",null,null,null,this.getTagsForStencil(e,"office building","aws amazon web service illustrations").join(" "))])};Sidebar.prototype.addAWS4GroupsPalette=function(a,b,e,d){e=d+"outlineConnect=0;gradientColor=none;html=1;whiteSpace=wrap;fontSize=12;fontStyle=0;"+mxConstants.STYLE_SHAPE+ "=mxgraph.aws4.";this.addPaletteFunctions("aws4Groups","AWS / Groups",!1,[this.createVertexTemplateEntry(e+"group;grIcon="+b+".group_aws_cloud_alt;strokeColor=#232F3E;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#232F3E;dashed=0;",130*a,130*a,"AWS Cloud",null,null,null,this.getTagsForStencil(b,"cloud","aws amazon web service groups group").join(" ")),this.createVertexTemplateEntry(e+"group;grIcon="+b+".group_aws_cloud;strokeColor=#232F3E;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#232F3E;dashed=0;", 130*a,130*a,"AWS Cloud",null,null,null,this.getTagsForStencil(b,"cloud","aws amazon web service groups group").join(" ")),this.createVertexTemplateEntry(e+"group;grIcon="+b+".group_region;strokeColor=#147EBA;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#147EBA;dashed=0;",130*a,130*a,"Region",null,null,null,this.getTagsForStencil(b,"region","aws amazon web service groups group").join(" ")),this.createVertexTemplateEntry("fillColor=none;strokeColor=#147EBA;dashed=1;verticalAlign=top;fontStyle=0;fontColor=#147EBA;", 130*a,130*a,"Availability Zone",null,null,null,this.getTagsForStencil(b,"availability zone","aws amazon web service groups group").join(" ")),this.createVertexTemplateEntry("fillColor=none;strokeColor=#DD3522;verticalAlign=top;fontStyle=0;fontColor=#DD3522;",130*a,130*a,"Security group",null,null,null,this.getTagsForStencil(b,"security","aws amazon web service groups group").join(" ")),this.createVertexTemplateEntry(e+"groupCenter;grIcon="+b+".group_auto_scaling_group;grStroke=1;strokeColor=#D86613;fillColor=none;verticalAlign=top;align=center;fontColor=#D86613;dashed=1;spacingTop=25;", @@ -4124,210 +4124,210 @@ b+".group_on_premise;strokeColor=#5A6C86;fillColor=none;verticalAlign=top;align= null,this.getTagsForStencil(b,"corporate data center","aws amazon web service groups group").join(" ")),this.createVertexTemplateEntry(e+"group;grIcon="+b+".group_elastic_beanstalk;strokeColor=#D86613;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#D86613;dashed=0;",130*a,130*a,"Elastic Beanstalk container",null,null,null,this.getTagsForStencil(b,"elastic beanstalk container","aws amazon web service groups group").join(" ")),this.createVertexTemplateEntry(e+"group;grIcon="+b+ ".group_ec2_instance_contents;strokeColor=#D86613;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#D86613;dashed=0;",130*a,130*a,"EC2 instance contents",null,null,null,this.getTagsForStencil(b,"ec2 instance contents","aws amazon web service groups group").join(" ")),this.createVertexTemplateEntry(e+"group;grIcon="+b+".group_spot_fleet;strokeColor=#D86613;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#D86613;dashed=0;",130*a,130*a,"Spot Fleet",null,null, null,this.getTagsForStencil(b,"spot fleet","aws amazon web service groups group").join(" ")),this.createVertexTemplateEntry(e+"group;grIcon="+b+".group_aws_step_functions_workflow;strokeColor=#CD2264;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#CD2264;dashed=0;",130*a,130*a,"AWS Step Functions workflow",null,null,null,this.getTagsForStencil(b,"step function","aws amazon web service groups group").join(" ")),this.createVertexTemplateEntry("fillColor=none;strokeColor=#5A6C86;dashed=1;verticalAlign=top;fontStyle=0;fontColor=#5A6C86;", -130*a,130*a,"Generic group",null,null,null,this.getTagsForStencil(b,"generic","aws amazon web service groups group").join(" ")),this.createVertexTemplateEntry("fillColor=#EFF0F3;strokeColor=none;dashed=0;verticalAlign=top;fontStyle=0;fontColor=#232F3D;",130*a,130*a,"Generic group",null,null,null,this.getTagsForStencil(b,"generic","aws amazon web service groups group").join(" "))])};Sidebar.prototype.addAWS4AnalyticsPalette=function(a,b,e,c,d,f,g){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#5A30B5;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+ -mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#945DF2;gradientDirection=north;fillColor=#5A30B5;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Analytics","AWS / Analytics",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".athena;",c,c,"","Athena",null,null,this.getTagsForStencil(d, -"athena","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".cloudsearch;",c,c,"","CloudSearch",null,null,this.getTagsForStencil(d,"cloudsearch","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".elasticsearch_service;",c,c,"","ElasticSearch Service",null,null,this.getTagsForStencil(d,"elasticsearch service","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+ -"resourceIcon;resIcon="+d+".emr;",c,c,"","EMR",null,null,this.getTagsForStencil(d,"emr","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".kinesis;",c,c,"","Kinesis",null,null,this.getTagsForStencil(d,"kinesis","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".kinesis_data_analytics;",c,c,"","Kinesis Data Analytics",null,null,this.getTagsForStencil(d,"kinesis data analytics","aws amazon web service analytics").join(" ")), -this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".kinesis_data_firehose;",c,c,"","Kinesis Data Firehose",null,null,this.getTagsForStencil(d,"kinesis data firehose","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".kinesis_data_streams;",c,c,"","Kinesis Data Streams",null,null,this.getTagsForStencil(d,"kinesis data streams","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".kinesis_video_streams;", -c,c,"","Kinesis Video Streams",null,null,this.getTagsForStencil(d,"kinesis video streams","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".quicksight;",c,c,"","QuickSight",null,null,this.getTagsForStencil(d,"quicksight quick sight","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".redshift;",c,c,"","Redshift",null,null,this.getTagsForStencil(d,"redshift","aws amazon web service analytics").join(" ")), -this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".analytics;",c,c,"","Analytics",null,null,this.getTagsForStencil(d,"analytics","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".data_pipeline;",c,c,"","Data Pipeline",null,null,this.getTagsForStencil(d,"data pipeline","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".managed_streaming_for_kafka;",c,c,"","Managed Streaming for Kafka", -null,null,this.getTagsForStencil(d,"managed streaming for kafka","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".glue;",c,c,"","Glue",null,null,this.getTagsForStencil(d,"glue","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".lake_formation;",c,c,"","Lake Formation",null,null,this.getTagsForStencil(d,"lake formation","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+ -"search_documents;",68*a,78*a,"","Search Documents",null,null,this.getTagsForStencil(d,"search documents","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"cluster;",78*a,78*a,"","HDFS Cluster",null,null,this.getTagsForStencil(d,"hdfs cluster","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"data_lake_resource_icon;",78*a,78*a,"","Data Lake",null,null,this.getTagsForStencil(d,"data lake","aws amazon web service analytics").join(" ")), -this.createVertexTemplateEntry(b+"emr_engine;",78*a,59*a,"","EMR Engine",null,null,this.getTagsForStencil(d,"emr engine","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"emr_engine_mapr_m3;",78*a,59*a,"","EMR Engine MapR M3",null,null,this.getTagsForStencil(d,"emr engine mapr m3","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"emr_engine_mapr_m5;",78*a,59*a,"","EMR Engine MapR M5",null,null,this.getTagsForStencil(d,"emr engine mapr m5", -"aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"emr_engine_mapr_m7;",78*a,59*a,"","EMR Engine MapR M7",null,null,this.getTagsForStencil(d,"emr engine mapr m7","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"hdfs_cluster;",78*a,78*a,"","Cluster",null,null,this.getTagsForStencil(d,"cluster","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"dense_compute_node;",78*a,78*a,"","Dense Compute Node",null,null, -this.getTagsForStencil(d,"dense compute node","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"dense_storage_node;",78*a,78*a,"","Dense Storage Node",null,null,this.getTagsForStencil(d,"dense storage node","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"glue_crawlers;",78*a,78*a,"","Crawler",null,null,this.getTagsForStencil(d,"crawler","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"glue_data_catalog;", -72*a,78*a,"","Data Catalog",null,null,this.getTagsForStencil(d,"data catalog","aws amazon web service analytics").join(" "))])};Sidebar.prototype.addAWS4ApplicationIntegrationPalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#BC1356;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#F34482;gradientDirection=north;fillColor=#BC1356;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ -mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Application Integration","AWS / Application Integration",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".mq;",c,c,"","MQ",null,null,this.getTagsForStencil(d,"mq","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".sns;",c,c,"","Simple Notification System",null,null,this.getTagsForStencil(d,"sns simple notification system","aws amazon web service application integration").join(" ")), -this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".sqs;",c,c,"","Simple Queue System",null,null,this.getTagsForStencil(d,"sqs simple queue system","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".application_integration;",c,c,"","Application Integration",null,null,this.getTagsForStencil(d,"application integration","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+ -d+".appsync;",c,c,"","AppSync",null,null,this.getTagsForStencil(d,"appsync","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".eventbridge;",c,c,"","EventBridge",null,null,this.getTagsForStencil(d,"eventbridge event bridge","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".step_functions;",c,c,"","Step Functions",null,null,this.getTagsForStencil(d,"step functions", -"aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(b+"email_notification;",78*a,78*a,"","Email Notification",null,null,this.getTagsForStencil(d,"email notification","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(b+"http_notification;",78*a,78*a,"","HTTP Notification",null,null,this.getTagsForStencil(d,"http notification","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(b+ -"topic;",78*a,67*a,"","Topic",null,null,this.getTagsForStencil(d,"topic","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(b+"message;",76*a,78*a,"","Message",null,null,this.getTagsForStencil(d,"message","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(b+"queue;",78*a,47*a,"","Queue",null,null,this.getTagsForStencil(d,"queue","aws amazon web service application integration").join(" "))])};Sidebar.prototype.addAWS4ARVRPalette= -function(a,b,e,c,d,f){a="outlineConnect=0;fontColor=#232F3E;gradientColor=#F34482;gradientDirection=north;fillColor=#BC1356;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4AR VR","AWS / AR & VR",!1,[this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".sumerian;",c,c,"","Sumerian",null,null,this.getTagsForStencil(d,"sumerian","aws amazon web service ar vr augmented virtual reality").join(" ")), -this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".ar_vr;",c,c,"","AR VR",null,null,this.getTagsForStencil(d,"ar vr augmented virtual reality","aws amazon web service ar vr augmented virtual reality").join(" "))])};Sidebar.prototype.addAWS4CostManagementPalette=function(a,b,e,c,d,f){a="outlineConnect=0;fontColor=#232F3E;gradientColor=#60A337;gradientDirection=north;fillColor=#277116;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ -mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Cost Management","AWS / Cost Management",!1,[this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".budgets;",c,c,"","Budgets",null,null,this.getTagsForStencil(d,"budgets","aws amazon web service cost management").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".cost_and_usage_report;",c,c,"","Cost and Usage Report",null,null,this.getTagsForStencil(d,"cost and usage report","aws amazon web service cost management").join(" ")), -this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".cost_explorer;",c,c,"","Cost Explorer",null,null,this.getTagsForStencil(d,"cost explorer","aws amazon web service cost management").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".cost_management;",c,c,"","Cost Management",null,null,this.getTagsForStencil(d,"cost management","aws amazon web service cost management").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".reserved_instance_reporting;", -c,c,"","Reserved Instance Reporting",null,null,this.getTagsForStencil(d,"reserved instance reporting","aws amazon web service cost management").join(" "))])};Sidebar.prototype.addAWS4BlockchainPalette=function(a,b,e,c,d,f){a="outlineConnect=0;fontColor=#232F3E;gradientColor=#F78E04;gradientDirection=north;fillColor=#D05C17;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4."; -this.addPaletteFunctions("aws4Blockchain","AWS / Blockchain",!1,[this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".managed_blockchain;",c,c,"","Managed Blockchain",null,null,this.getTagsForStencil(d,"managed blockchain","aws amazon web service cost management").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".quantum_ledger_database;",c,c,"","Quantum Ledger Database (QLDB)",null,null,this.getTagsForStencil(d,"quantum ledger database","aws amazon web service cost management").join(" ")), -this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".blockchain;",c,c,"","Blockchain",null,null,this.getTagsForStencil(d,"blockchain","aws amazon web service cost management").join(" "))])};Sidebar.prototype.addAWS4BusinessApplicationsPalette=function(a,b,e,c,d,f){a="outlineConnect=0;fontColor=#232F3E;gradientColor=#F54749;gradientDirection=north;fillColor=#C7131F;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ -mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Business Applications","AWS / Business Applications",!1,[this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".alexa_for_business;",c,c,"","Alexa for Business",null,null,this.getTagsForStencil(d,"alexa for business","aws amazon web service business applications").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".chime;",c,c,"","Chime",null,null,this.getTagsForStencil(d,"chime","aws amazon web service business applications").join(" ")), -this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".workmail;",c,c,"","WorkMail",null,null,this.getTagsForStencil(d,"workmail","aws amazon web service business applications").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".business_application;",c,c,"","Business Application",null,null,this.getTagsForStencil(d,"business application","aws amazon web service business applications").join(" "))])};Sidebar.prototype.addAWS4EC2InstanceTypePalette=function(a,b,e,c,d,f){b= -"outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#D86613;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4EC2 Instance Types","AWS / EC2 Instance Types",!1,[this.createVertexTemplateEntry(b+"a1_instance;",48*a,48*a,"","A1 Instance",null,null,this.getTagsForStencil(d,"a1","aws amazon web service ec2 instance type").join(" ")), -this.createVertexTemplateEntry(b+"c4_instance;",48*a,48*a,"","C4 Instance",null,null,this.getTagsForStencil(d,"c4","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"c5_instance;",48*a,48*a,"","C5 Instance",null,null,this.getTagsForStencil(d,"c5","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"c5n_instance;",48*a,48*a,"","C5n Instance",null,null,this.getTagsForStencil(d,"c5n","aws amazon web service ec2 instance type").join(" ")), -this.createVertexTemplateEntry(b+"d2_instance;",48*a,48*a,"","D2 Instance",null,null,this.getTagsForStencil(d,"d2","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"db_on_instance2;",48*a,48*a,"","DB on Instance",null,null,this.getTagsForStencil(d,"db on database","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"f1_instance;",48*a,48*a,"","F1 Instance",null,null,this.getTagsForStencil(d,"f1","aws amazon web service ec2 instance type").join(" ")), -this.createVertexTemplateEntry(b+"g3_instance;",48*a,48*a,"","G3 Instance",null,null,this.getTagsForStencil(d,"g3","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"h1_instance;",48*a,48*a,"","H1 Instance",null,null,this.getTagsForStencil(d,"h1","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"high_memory_instance;",48*a,48*a,"","High Memory Instance",null,null,this.getTagsForStencil(d,"high memory instance","aws amazon web service ec2 instance type").join(" ")), -this.createVertexTemplateEntry(b+"i3_instance;",48*a,48*a,"","I3 Instance",null,null,this.getTagsForStencil(d,"i3","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"instance2;",48*a,48*a,"","Instance",null,null,this.getTagsForStencil(d,"","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"instances;",48*a,48*a,"","Instances",null,null,this.getTagsForStencil(d,"","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+ -"instance_with_cloudwatch2;",48*a,48*a,"","Instance with CloudWatch",null,null,this.getTagsForStencil(d,"instance with cloudwatch","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"m4_instance;",48*a,48*a,"","M4 Instance",null,null,this.getTagsForStencil(d,"m4","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"m5a_instance;",48*a,48*a,"","M5a Instance",null,null,this.getTagsForStencil(d,"m5a","aws amazon web service ec2 instance type").join(" ")), -this.createVertexTemplateEntry(b+"m5_instance;",48*a,48*a,"","M5 Instance",null,null,this.getTagsForStencil(d,"m5","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"optimized_instance;",48*a,48*a,"","Optimized Instance",null,null,this.getTagsForStencil(d,"optimized instance","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"p2_instance;",48*a,48*a,"","P2 Instance",null,null,this.getTagsForStencil(d,"p2","aws amazon web service ec2 instance type").join(" ")), -this.createVertexTemplateEntry(b+"p3_instance;",48*a,48*a,"","P3 Instance",null,null,this.getTagsForStencil(d,"p3","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"r4_instance;",48*a,48*a,"","R4 Instance",null,null,this.getTagsForStencil(d,"r4","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"r5a_instance;",48*a,48*a,"","R5a Instance",null,null,this.getTagsForStencil(d,"r5a","aws amazon web service ec2 instance type").join(" ")), -this.createVertexTemplateEntry(b+"r5_instance;",48*a,48*a,"","R5 Instance",null,null,this.getTagsForStencil(d,"r5","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"spot_instance;",48*a,48*a,"","Spot Instance",null,null,this.getTagsForStencil(d,"spot","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"t2_instance;",48*a,48*a,"","T2 Instance",null,null,this.getTagsForStencil(d,"t2","aws amazon web service ec2 instance type").join(" ")), -this.createVertexTemplateEntry(b+"t3a_instance;",48*a,48*a,"","T3a Instance",null,null,this.getTagsForStencil(d,"t3a","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"t3_instance;",48*a,48*a,"","T3 Instance",null,null,this.getTagsForStencil(d,"t3","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"t3_instance;",48*a,48*a,"","T3 Instance",null,null,this.getTagsForStencil(d,"t3","aws amazon web service ec2 instance type").join(" ")), -this.createVertexTemplateEntry(b+"x1e_instance;",48*a,48*a,"","X1e Instance",null,null,this.getTagsForStencil(d,"x1e","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"x1_instance2;",48*a,48*a,"","X1 Instance",null,null,this.getTagsForStencil(d,"x1","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"z1d_instance;",48*a,48*a,"","z1d Instance",null,null,this.getTagsForStencil(d,"z1d","aws amazon web service ec2 instance type").join(" "))])}; -Sidebar.prototype.addAWS4ComputePalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#D05C17;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#F78E04;gradientDirection=north;fillColor=#D05C17;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ -mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Compute","AWS / Compute",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".ec2;",c,c,"","EC2",null,null,this.getTagsForStencil(d,"ec2","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".auto_scaling2;",c,c,"","Auto Scaling",null,null,this.getTagsForStencil(d,"auto scaling","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+ -d+".ecr;",c,c,"","Elastic Container Registry",null,null,this.getTagsForStencil(d,"elastic container registry ecr","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".ecs;",c,c,"","Elastic Container Service",null,null,this.getTagsForStencil(d,"elastic container service ecs","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".eks;",c,c,"","Elastic Container Service for Kubernetes",null,null,this.getTagsForStencil(d, -"elastic container service eks for kubernetes","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".lightsail;",c,c,"","Lightsail",null,null,this.getTagsForStencil(d,"lightsail","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".batch;",c,c,"","Batch",null,null,this.getTagsForStencil(d,"batch","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+ -d+".elastic_beanstalk;",c,c,"","Elastic Beanstalk",null,null,this.getTagsForStencil(d,"elastic beanstalk","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".fargate;",c,c,"","Fargate",null,null,this.getTagsForStencil(d,"fargate","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".lambda;",c,c,"","Lambda",null,null,this.getTagsForStencil(d,"lambda","aws amazon web service compute").join(" ")), -this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".outposts;",c,c,"","Outposts",null,null,this.getTagsForStencil(d,"outposts","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".serverless_application_repository;",c,c,"","Serverless Application Repository",null,null,this.getTagsForStencil(d,"serverless application repository","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".thinkbox_deadline;", -c,c,"","Thinkbox Deadline",null,null,this.getTagsForStencil(d,"thinkbox deadline","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".thinkbox_draft;",c,c,"","Thinkbox Draft",null,null,this.getTagsForStencil(d,"thinkbox draft","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".thinkbox_frost;",c,c,"","Thinkbox Frost",null,null,this.getTagsForStencil(d,"thinkbox frost","aws amazon web service compute").join(" ")), -this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".thinkbox_krakatoa;",c,c,"","Thinkbox Krakatoa",null,null,this.getTagsForStencil(d,"thinkbox krakatoa","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".thinkbox_sequoia;",c,c,"","Thinkbox Sequoia",null,null,this.getTagsForStencil(d,"thinkbox sequoia","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".thinkbox_stoke;",c,c,"","Thinkbox Stoke", -null,null,this.getTagsForStencil(d,"thinkbox stoke","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".thinkbox_xmesh;",c,c,"","Thinkbox XMesh",null,null,this.getTagsForStencil(d,"thinkbox xmesh","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".compute;",c,c,"","Compute",null,null,this.getTagsForStencil(d,"compute","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+ -"resourceIcon;resIcon="+d+".elastic_load_balancing;",c,c,"","Elastic Load Balancing",null,null,this.getTagsForStencil(d,"elastic load balancing","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".vmware_cloud_on_aws;",c,c,"","VMware Cloud on AWS",null,null,this.getTagsForStencil(d,"vmware cloud on aws virtual machine vm","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ami;",78*a,78*a,"","AMI",null,null,this.getTagsForStencil(d, -"ami","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"auto_scaling2;",78*a,78*a,"","Auto-Scaling",null,null,this.getTagsForStencil(d,"autoscaling auto scaling","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"elastic_ip_address;",78*a,33*a,"","Elastic IP Address",null,null,this.getTagsForStencil(d,"elastic ip itnernet protocol address","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"rescue;",78*a,78*a,"","Rescue", -null,null,this.getTagsForStencil(d,"rescue","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"registry;",78*a,78*a,"","Registry",null,null,this.getTagsForStencil(d,"registry","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"container_1;",78*a,50*a,"","Container",null,null,this.getTagsForStencil(d,"ecs elastic container service","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"container_2;",78*a,50*a,"","Container", -null,null,this.getTagsForStencil(d,"ecs elastic container service","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"container_3;",78*a,50*a,"","Container",null,null,this.getTagsForStencil(d,"ecs elastic container service","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"container_registry_image;",78*a,78*a,"","Image",null,null,this.getTagsForStencil(d,"image","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ecs_service;", -64*a,78*a,"","Service",null,null,this.getTagsForStencil(d,"ecs elastic container service","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ecs_task;",59*a,78*a,"","Task",null,null,this.getTagsForStencil(d,"ecs elastic container service task","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"application;",50*a,78*a,"","Application",null,null,this.getTagsForStencil(d,"elastic beanstalk application","aws amazon web service compute").join(" ")), -this.createVertexTemplateEntry(b+"deployment;",78*a,74*a,"","Deployment",null,null,this.getTagsForStencil(d,"elastic beanstalk deployment","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"lambda_function;",78*a,78*a,"","Lambda Function",null,null,this.getTagsForStencil(d,"lambda function","aws amazon web service compute").join(" "))])};Sidebar.prototype.addAWS4CustomerEngagementPalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#3334B9;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+ -mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#4D72F3;gradientDirection=north;fillColor=#3334B9;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Customer Engagement","AWS / Customer Engagement",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".connect;",c,c,"","Connect",null,null,this.getTagsForStencil(d, -"connect","aws amazon web service customer engagement").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".pinpoint;",c,c,"","Pinpoint",null,null,this.getTagsForStencil(d,"pinpoint","aws amazon web service customer engagement").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".simple_email_service;",c,c,"","Simple Email Service",null,null,this.getTagsForStencil(d,"simple email service","aws amazon web service customer engagement").join(" ")),this.createVertexTemplateEntry(e+ -"resourceIcon;resIcon="+d+".customer_engagement;",c,c,"","Customer Engagement",null,null,this.getTagsForStencil(d,"customer engagement","aws amazon web service customer engagement").join(" ")),this.createVertexTemplateEntry(b+"email;",78*a,69*a,"","Email",null,null,this.getTagsForStencil(d,"email","aws amazon web service customer engagement").join(" "))])};Sidebar.prototype.addAWS4DatabasePalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#3334B9;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+ -mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#4D72F3;gradientDirection=north;fillColor=#3334B9;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Database","AWS / Database",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".aurora;",c,c,"","Aurora",null,null,this.getTagsForStencil(d, -"aurora","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".documentdb_with_mongodb_compatibility;",c,c,"","DocumentDB (with MongoDB Compatibility)",null,null,this.getTagsForStencil(d,"documentdb with mongodb compatibility","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".dynamodb;",c,c,"","DynamoDB",null,null,this.getTagsForStencil(d,"dynamodb","aws amazon web service db database").join(" ")), -this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".elasticache;",c,c,"","ElastiCache",null,null,this.getTagsForStencil(d,"elasticache","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".neptune;",c,c,"","Neptune",null,null,this.getTagsForStencil(d,"neptune","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".quantum_ledger_database;",c,c,"","Quantum Ledger Database",null, -null,this.getTagsForStencil(d,"quantum ledger database db","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".rds;",c,c,"","RDS",null,null,this.getTagsForStencil(d,"rds","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".rds_on_vmware;",c,c,"","RDS on VMware",null,null,this.getTagsForStencil(d,"rds on vmware","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(e+ -"resourceIcon;resIcon="+d+".redshift;",c,c,"","Redshift",null,null,this.getTagsForStencil(d,"redshift","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".timestream;",c,c,"","Timestream",null,null,this.getTagsForStencil(d,"timestream","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".database_migration_service;",c,c,"","Database Migration Service",null,null,this.getTagsForStencil(d, -"database migration service","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".database;",c,c,"","Database",null,null,this.getTagsForStencil(d,"database","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"attribute;",78*a,78*a,"","Attribute",null,null,this.getTagsForStencil(d,"dynamodb dynamo db database attribute","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"attributes;", -78*a,78*a,"","Attributes",null,null,this.getTagsForStencil(d,"dynamodb dynamo db database attributes","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"aurora_instance;",78*a,78*a,"","Aurora Instance",null,null,this.getTagsForStencil(d,"aurora instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"aurora_instance_alt;",78*a,78*a,"","Aurora Instance",null,null,this.getTagsForStencil(d,"aurora instance","aws amazon web service db database").join(" ")), -this.createVertexTemplateEntry(b+"rds_instance;",78*a,78*a,"","RDS Instance",null,null,this.getTagsForStencil(d,"rds instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"rds_instance_alt;",78*a,78*a,"","RDS Instance",null,null,this.getTagsForStencil(d,"rds instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"rds_mariadb_instance;",78*a,78*a,"","RDS MariaDB Instance",null,null,this.getTagsForStencil(d,"rds mariadb maria db instance", -"aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"rds_mariadb_instance_alt;",78*a,78*a,"","RDS MariaDB Instance",null,null,this.getTagsForStencil(d,"rds mariadb maria db instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"rds_mysql_instance;",78*a,78*a,"","RDS MySQL Instance",null,null,this.getTagsForStencil(d,"rds mysql instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"rds_mysql_instance_alt;", -78*a,78*a,"","RDS MySQL Instance",null,null,this.getTagsForStencil(d,"rds mysql instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"rds_oracle_instance;",78*a,78*a,"","RDS Oracle Instance",null,null,this.getTagsForStencil(d,"rds oracle instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"rds_oracle_instance_alt;",78*a,78*a,"","RDS Oracle Instance",null,null,this.getTagsForStencil(d,"rds oracle instance","aws amazon web service db database").join(" ")), -this.createVertexTemplateEntry(b+"rds_piop;",78*a,78*a,"","RDS PIOP",null,null,this.getTagsForStencil(d,"rds piop","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"rds_postgresql_instance;",78*a,78*a,"","RDS PostgreSQL Instance",null,null,this.getTagsForStencil(d,"rds postgresql instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"rds_postgresql_instance_alt;",78*a,78*a,"","RDS PostgreSQL Instance",null,null,this.getTagsForStencil(d, -"rds postgresql instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"rds_sql_server_instance;",78*a,78*a,"","RDS SQL Server Instance",null,null,this.getTagsForStencil(d,"rds sql server instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"rds_sql_server_instance_alt;",78*a,78*a,"","RDS SQL Server Instance",null,null,this.getTagsForStencil(d,"rds sql server instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+ -"dynamodb_dax;",78*a,72*a,"","DAX",null,null,this.getTagsForStencil(d,"dynamodb dynamo db database dax","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"global_secondary_index;",78*a,78*a,"","Global Secondary Index",null,null,this.getTagsForStencil(d,"global secondary index","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"item;",78*a,78*a,"","Item",null,null,this.getTagsForStencil(d,"item","aws amazon web service db database").join(" ")), -this.createVertexTemplateEntry(b+"items;",78*a,78*a,"","Items",null,null,this.getTagsForStencil(d,"items","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"table;",78*a,78*a,"","Table",null,null,this.getTagsForStencil(d,"table","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"cache_node;",78*a,78*a,"","Cache Node",null,null,this.getTagsForStencil(d,"elasticache elastic cache node","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+ -"elasticache_for_memcached;",78*a,69*a,"","ElastiCache for Memcached",null,null,this.getTagsForStencil(d,"elasticache for memcached","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"elasticache_for_redis;",78*a,69*a,"","Elasticache for Redis",null,null,this.getTagsForStencil(d,"elasticache for redis","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"dense_compute_node;",78*a,78*a,"","Dense Compute Node",null,null,this.getTagsForStencil(d, -"dense compute node","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"dense_storage_node;",78*a,78*a,"","Dense Storage Node",null,null,this.getTagsForStencil(d,"dense storage node","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"database_migration_workflow_job;",50*a,78*a,"","Database Migration Workflow",null,null,this.getTagsForStencil(d,"database migration workflow","aws amazon web service db database").join(" "))])};Sidebar.prototype.addAWS4EndUserComputingPalette= -function(a,b,e,c,d,f){a="outlineConnect=0;fontColor=#232F3E;gradientColor=#4AB29A;gradientDirection=north;fillColor=#116D5B;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4End User Computing","AWS / End User Computing",!1,[this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".appstream_20;",c,c,"","Appstream 2.0",null,null,this.getTagsForStencil(d, -"appstream","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".workspaces;",c,c,"","Workspaces",null,null,this.getTagsForStencil(d,"workspaces","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".worklink;",c,c,"","WorkLink",null,null,this.getTagsForStencil(d,"worklink","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".workdocs;", -c,c,"","WorkDocs",null,null,this.getTagsForStencil(d,"workdocs","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".desktop_and_app_streaming;",c,c,"","End User Computing",null,null,this.getTagsForStencil(d,"desktop and app streaming","aws amazon web service db database").join(" "))])};Sidebar.prototype.addAWS4DeveloperToolsPalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=#4D72F3;gradientDirection=north;fillColor=#3334B9;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ -mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Developer Tools","AWS / Developer Tools",!1,[this.createVertexTemplateEntry("outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#3334B9;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.dynamodb_dax;",78*a,72*a,"","DAX",null,null,this.getTagsForStencil(d,"dynamodb dynamo db database dax","aws amazon web service dev developer tools").join(" ")), -this.createVertexTemplateEntry(b+"resourceIcon;resIcon="+d+".cloud9;",c,c,"","Cloud9",null,null,this.getTagsForStencil(d,"cloud9","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"resourceIcon;resIcon="+d+".cloud_development_kit;",c,c,"","Cloud Development Kit",null,null,this.getTagsForStencil(d,"cloud development kit","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"resourceIcon;resIcon="+d+".codebuild;",c,c,"","CodeBuild", -null,null,this.getTagsForStencil(d,"codebuild","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"resourceIcon;resIcon="+d+".codecommit;",c,c,"","CodeCommit",null,null,this.getTagsForStencil(d,"codecommit","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"resourceIcon;resIcon="+d+".codedeploy;",c,c,"","CodeDeploy",null,null,this.getTagsForStencil(d,"codedeploy","aws amazon web service dev developer tools").join(" ")), -this.createVertexTemplateEntry(b+"resourceIcon;resIcon="+d+".codepipeline;",c,c,"","CodePipeline",null,null,this.getTagsForStencil(d,"codepipeline","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"resourceIcon;resIcon="+d+".codestar;",c,c,"","CodeStar",null,null,this.getTagsForStencil(d,"codestar","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"resourceIcon;resIcon="+d+".command_line_interface;",c,c,"","Command-Line Interface", -null,null,this.getTagsForStencil(d,"command line interface","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"resourceIcon;resIcon="+d+".tools_and_sdks;",c,c,"","Tools and SDKs",null,null,this.getTagsForStencil(d,"tools and sdks software development kit","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"resourceIcon;resIcon="+d+".xray;",c,c,"","X-Ray",null,null,this.getTagsForStencil(d,"ray xray","aws amazon web service dev developer tools").join(" ")), -this.createVertexTemplateEntry(b+"resourceIcon;resIcon="+d+".developer_tools;",c,c,"","Developer Tools",null,null,this.getTagsForStencil(d,"developer tools","aws amazon web service dev developer tools").join(" "))])};Sidebar.prototype.addAWS4GameTechPalette=function(a,b,e,c,d,f){a="outlineConnect=0;fontColor=#232F3E;gradientColor=#945DF2;gradientDirection=north;fillColor=#5A30B5;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ -mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Game Tech","AWS / Game Tech",!1,[this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".gamelift;",c,c,"","GameLift",null,null,this.getTagsForStencil(d,"gamelift","aws amazon web service game development").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".game_tech;",c,c,"","Game Tech",null,null,this.getTagsForStencil(d,"game tech","aws amazon web service game development").join(" "))])};Sidebar.prototype.addAWS4InternetOfThingsPalette= -function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#277116;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#60A337;gradientDirection=north;fillColor=#277116;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ -mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Internet of Things","AWS / Internet of Things",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".freertos;",c,c,"","FreeRTOS",null,null,this.getTagsForStencil(d,"freertos","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".iot_1click;",c,c,"","1Click",null,null,this.getTagsForStencil(d,"1click","aws amazon web service internet of things iot").join(" ")), -this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".iot_analytics;",c,c,"","Analytics",null,null,this.getTagsForStencil(d,"analytics","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".iot_button;",c,c,"","Button",null,null,this.getTagsForStencil(d,"button","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".iot_core;",c,c,"","Core",null,null,this.getTagsForStencil(d, -"core","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".iot_device_defender;",c,c,"","Device Defender",null,null,this.getTagsForStencil(d,"device defender","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".iot_device_management;",c,c,"","Device Management",null,null,this.getTagsForStencil(d,"device management","aws amazon web service internet of things iot").join(" ")), -this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".iot_events;",c,c,"","Events",null,null,this.getTagsForStencil(d,"events","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".greengrass;",c,c,"","Greengrass",null,null,this.getTagsForStencil(d,"greengrass","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".iot_sitewise;",c,c,"","SiteWise",null,null,this.getTagsForStencil(d, -"sitewise","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".iot_things_graph;",c,c,"","Graph",null,null,this.getTagsForStencil(d,"graph","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".internet_of_things;",c,c,"","Internet of Things",null,null,this.getTagsForStencil(d,"","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+ -"iot_analytics_channel;",65*a,78*a,"","Channel",null,null,this.getTagsForStencil(d,"analytics channel","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"data_set;",63*a,78*a,"","Data Set",null,null,this.getTagsForStencil(d,"data set","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"iot_analytics_data_store;",54*a,78*a,"","Data Store",null,null,this.getTagsForStencil(d,"analytics data store","aws amazon web service internet of things iot").join(" ")), -this.createVertexTemplateEntry(b+"iot_analytics_pipeline;",78*a,42*a,"","Pipeline",null,null,this.getTagsForStencil(d,"analytics pipeline","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"notebook;",68*a,78*a,"","Notebook",null,null,this.getTagsForStencil(d,"notebook","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"connector;",78*a,29*a,"","Connector",null,null,this.getTagsForStencil(d,"notebook","aws amazon web service internet of things iot").join(" ")), -this.createVertexTemplateEntry(b+"action;",78*a,78*a,"","Action",null,null,this.getTagsForStencil(d,"action","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"actuator;",72*a,78*a,"","Actuator",null,null,this.getTagsForStencil(d,"actuator","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"alexa_enabled_device;",72*a,78*a,"","Alexa Enabled Device",null,null,this.getTagsForStencil(d,"alexa enabled device","aws amazon web service internet of things iot").join(" ")), -this.createVertexTemplateEntry(b+"alexa_skill;",78*a,78*a,"","Alexa Skill",null,null,this.getTagsForStencil(d,"alexa skill","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"alexa_skill;",78*a,78*a,"","Alexa Voice Service",null,null,this.getTagsForStencil(d,"alexa voice service","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"bank;",78*a,78*a,"","Bank",null,null,this.getTagsForStencil(d,"bank","aws amazon web service internet of things iot").join(" ")), -this.createVertexTemplateEntry(b+"bycicle;",78*a,78*a,"","Bycicle",null,null,this.getTagsForStencil(d,"bycicle","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"camera;",78*a,78*a,"","Camera",null,null,this.getTagsForStencil(d,"camera","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"car;",78*a,78*a,"","Car",null,null,this.getTagsForStencil(d,"car","aws amazon web service internet of things iot").join(" ")), -this.createVertexTemplateEntry(b+"cart;",78*a,78*a,"","Cart",null,null,this.getTagsForStencil(d,"cart","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"certificate_manager;",59*a,78*a,"","Certificate",null,null,this.getTagsForStencil(d,"certificate manager","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"coffee_pot;",78*a,78*a,"","Coffee Pot",null,null,this.getTagsForStencil(d,"coffee pot","aws amazon web service internet of things iot").join(" ")), -this.createVertexTemplateEntry(b+"desired_state;",78*a,78*a,"","Desired State",null,null,this.getTagsForStencil(d,"desired state","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"iot_device_gateway;",78*a,78*a,"","Device Gateway",null,null,this.getTagsForStencil(d,"device gateway","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"door_lock;",78*a,78*a,"","Door Lock",null,null,this.getTagsForStencil(d,"door lock", -"aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"echo;",41*a,78*a,"","Echo",null,null,this.getTagsForStencil(d,"echo","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"factory;",78*a,78*a,"","Factory",null,null,this.getTagsForStencil(d,"factory","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"firetv;",78*a,55*a,"","FireTV",null,null,this.getTagsForStencil(d,"firetv", -"aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"firetv_stick;",78*a,34*a,"","FireTV Stick",null,null,this.getTagsForStencil(d,"firetv stick","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"generic;",78*a,78*a,"","Generic",null,null,this.getTagsForStencil(d,"generic","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"hardware_board;",78*a,78*a,"","Hardware Board",null, -null,this.getTagsForStencil(d,"hardware board","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"house;",78*a,78*a,"","House",null,null,this.getTagsForStencil(d,"house","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"http2_protocol;",78*a,78*a,"","HTTP2 protocol",null,null,this.getTagsForStencil(d,"http2 protocol","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"http_protocol;", -78*a,78*a,"","HTTP protocol",null,null,this.getTagsForStencil(d,"http protocol","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"lambda_function;",78*a,78*a,"","Lambda Function",null,null,this.getTagsForStencil(d,"lambda function","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"lightbulb;",78*a,78*a,"","Lightbulb",null,null,this.getTagsForStencil(d,"lightbulb","aws amazon web service internet of things iot").join(" ")), -this.createVertexTemplateEntry(b+"medical_emergency;",78*a,78*a,"","Medical Emergency",null,null,this.getTagsForStencil(d,"medical emergency","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"mqtt_protocol;",78*a,78*a,"","MQTT Protocol",null,null,this.getTagsForStencil(d,"mqtt protocol","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"iot_over_the_air_update;",78*a,78*a,"","Over The Air Update",null,null,this.getTagsForStencil(d, -"over the air update","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"police_emergency;",78*a,78*a,"","Police Emergency",null,null,this.getTagsForStencil(d,"police emergency","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"policy;",78*a,67*a,"","Policy",null,null,this.getTagsForStencil(d,"policy","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"reported_state;", -78*a,78*a,"","Reported State",null,null,this.getTagsForStencil(d,"reported state","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"rule;",46*a,78*a,"","Rule",null,null,this.getTagsForStencil(d,"rule","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"sensor;",72*a,78*a,"","Sensor",null,null,this.getTagsForStencil(d,"sensor","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+ -"servo;",78*a,56*a,"","Servo",null,null,this.getTagsForStencil(d,"servo","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"shadow;",78*a,77*a,"","Shadow",null,null,this.getTagsForStencil(d,"shadow","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"simulator;",71*a,78*a,"","Simulator",null,null,this.getTagsForStencil(d,"simulator","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+ -"thermostat;",78*a,78*a,"","Thermostat",null,null,this.getTagsForStencil(d,"thermostat","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"topic_2;",53*a,78*a,"","Topic",null,null,this.getTagsForStencil(d,"topic","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"travel;",78*a,78*a,"","Travel",null,null,this.getTagsForStencil(d,"travel","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+ -"utility;",78*a,78*a,"","Utility",null,null,this.getTagsForStencil(d,"utility","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"windfarm;",78*a,78*a,"","Windfarm",null,null,this.getTagsForStencil(d,"windfarm","aws amazon web service internet of things iot").join(" "))])};Sidebar.prototype.addAWS4MachineLearningPalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#116D5B;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+ -mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#4AB29A;gradientDirection=north;fillColor=#116D5B;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Machine Learning","AWS / Machine Learning",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".comprehend;",c,c,"","Comprehend",null,null,this.getTagsForStencil(d, -"comprehend","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".elastic_inference;",c,c,"","Elastic Inference",null,null,this.getTagsForStencil(d,"elastic inference","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".forecast;",c,c,"","Forecast",null,null,this.getTagsForStencil(d,"forecast","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+ -"resourceIcon;resIcon="+d+".lex;",c,c,"","Lex",null,null,this.getTagsForStencil(d,"lex","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".personalize;",c,c,"","Personalize",null,null,this.getTagsForStencil(d,"personalize","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".polly;",c,c,"","Polly",null,null,this.getTagsForStencil(d,"polly","aws amazon web service machine learning").join(" ")), -this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".rekognition;",c,c,"","Rekognition",null,null,this.getTagsForStencil(d,"rekognition","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".sagemaker;",c,c,"","SageMaker",null,null,this.getTagsForStencil(d,"sagemaker","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".sagemaker_ground_truth;",c,c,"","SageMaker Ground Truth", -null,null,this.getTagsForStencil(d,"sagemaker ground truth","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".textract;",c,c,"","Textract",null,null,this.getTagsForStencil(d,"textract","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".transcribe;",c,c,"","Transcribe",null,null,this.getTagsForStencil(d,"transcribe","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+ -"resourceIcon;resIcon="+d+".translate;",c,c,"","Translate",null,null,this.getTagsForStencil(d,"translate","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".apache_mxnet_on_aws;",c,c,"","Apache MXNet on AWS",null,null,this.getTagsForStencil(d,"apache mxnet on aws","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".deep_learning_amis;",c,c,"","Deep Learning AMIs",null,null, -this.getTagsForStencil(d,"deep learning amis","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".deeplens;",c,c,"","DeepLens",null,null,this.getTagsForStencil(d,"deeplens","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".deepracer;",c,c,"","DeepRacer",null,null,this.getTagsForStencil(d,"deepracer","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+ -"resourceIcon;resIcon="+d+".machine_learning;",c,c,"","Machine Learning",null,null,this.getTagsForStencil(d,"machine learning","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".tensorflow_on_aws;",c,c,"","TensorFlow on AWS",null,null,this.getTagsForStencil(d,"tensorflow on aws","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".deep_learning_containers;",c,c,"","Deep Learning Containers", -null,null,this.getTagsForStencil(d,"deep learning containers","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(b+"rekognition_image;",77*a,78*a,"","Rekognition image",null,null,this.getTagsForStencil(d,"rekognition image","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(b+"rekognition_video;",77*a,78*a,"","Rekognition video",null,null,this.getTagsForStencil(d,"rekognition video","aws amazon web service machine learning").join(" ")), -this.createVertexTemplateEntry(b+"sagemaker_model;",78*a,78*a,"","Model",null,null,this.getTagsForStencil(d,"sagemaker model","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(b+"sagemaker_notebook;",68*a,78*a,"","Notebook",null,null,this.getTagsForStencil(d,"sagemaker notebook","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(b+"sagemaker_train;",78*a,65*a,"","Train",null,null,this.getTagsForStencil(d,"sagemaker train","aws amazon web service machine learning").join(" "))])}; -Sidebar.prototype.addAWS4ManagementGovernancePalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#BC1356;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#F34482;gradientDirection=north;fillColor=#BC1356;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ -mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Management Governance","AWS / Management & Governance",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".cloudwatch;",c,c,"","CloudWatch",null,null,this.getTagsForStencil(d,"cloudwatch","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".autoscaling;",c,c,"","Auto Scaling",null,null,this.getTagsForStencil(d,"auto scaling","aws amazon web service management governance").join(" ")), -this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".cloudformation;",c,c,"","CloudFormation",null,null,this.getTagsForStencil(d,"cloudformation","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".cloudtrail;",c,c,"","CloudTrail",null,null,this.getTagsForStencil(d,"cloudtrail","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".command_line_interface;",c, -c,"","Command Line Interface",null,null,this.getTagsForStencil(d,"command line interface","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".config;",c,c,"","Config",null,null,this.getTagsForStencil(d,"config","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".license_manager;",c,c,"","License Manager",null,null,this.getTagsForStencil(d,"license manager","aws amazon web service management governance").join(" ")), -this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".managed_services;",c,c,"","Managed Services",null,null,this.getTagsForStencil(d,"managed services","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".management_console;",c,c,"","Management Console",null,null,this.getTagsForStencil(d,"management console","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+ -d+".opsworks;",c,c,"","OpsWorks",null,null,this.getTagsForStencil(d,"opsworks","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".personal_health_dashboard;",c,c,"","Personal Health Dashboard",null,null,this.getTagsForStencil(d,"personal health dashboard","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".service_catalog;",c,c,"","Service Catalog",null,null,this.getTagsForStencil(d, -"service catalog","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".systems_manager;",c,c,"","Systems Manager",null,null,this.getTagsForStencil(d,"systems manager","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".trusted_advisor;",c,c,"","Trusted Advisor",null,null,this.getTagsForStencil(d,"trusted advisor","aws amazon web service management governance").join(" ")), -this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".well_architected_tool;",c,c,"","Well-Architected Tool",null,null,this.getTagsForStencil(d,"well architected tool","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".control_tower;",c,c,"","Control Tower",null,null,this.getTagsForStencil(d,"control tower","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+ -d+".management_and_governance;",c,c,"","Management and Governance",null,null,this.getTagsForStencil(d,"management and governance","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"alarm;",78*a,78*a,"","Alarm",null,null,this.getTagsForStencil(d,"cloudwatch alarm","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"event_event_based;",78*a,78*a,"","Event (Event-Based)",null,null,this.getTagsForStencil(d,"cloudwatch event based", -"aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"event_time_based;",78*a,78*a,"","Event (Time-Based)",null,null,this.getTagsForStencil(d,"cloudwatch event time based","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"rule_2;",78*a,76*a,"","Rule",null,null,this.getTagsForStencil(d,"cloudwatch rule","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"change_set;",65*a,78*a, -"","Change Set",null,null,this.getTagsForStencil(d,"cloudformation change set","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"stack;",78*a,76*a,"","Stack",null,null,this.getTagsForStencil(d,"cloudformation stack","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"template;",65*a,78*a,"","Template",null,null,this.getTagsForStencil(d,"cloudformation template","aws amazon web service management governance").join(" ")), -this.createVertexTemplateEntry(b+"opsworks_apps;",78*a,78*a,"","Apps",null,null,this.getTagsForStencil(d,"opsworks apps applications","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"deployments;",65*a,78*a,"","Deployments",null,null,this.getTagsForStencil(d,"opsworks deployments","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"instances_2;",78*a,78*a,"","Instances",null,null,this.getTagsForStencil(d,"opsworks instances", -"aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"layers;",78*a,78*a,"","Layers",null,null,this.getTagsForStencil(d,"opsworks layers","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"monitoring;",78*a,58*a,"","Monitoring",null,null,this.getTagsForStencil(d,"opsworks monitoring","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"opsworks_permissions;",54*a,78*a,"","Permissions", -null,null,this.getTagsForStencil(d,"opsworks permissions","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"resources;",68*a,78*a,"","Resources",null,null,this.getTagsForStencil(d,"opsworks resources","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"stack2;",78*a,78*a,"","Stack",null,null,this.getTagsForStencil(d,"stack","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+ -"organizations_account;",74*a,78*a,"","Organizations Account",null,null,this.getTagsForStencil(d,"organizations account","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"organizations_organizational_unit;",78*a,67*a,"","Organizations Organizational Unit",null,null,this.getTagsForStencil(d,"organizations organizational unit","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"shield_shield_advanced;",70*a,78*a,"", -"Shield Advanced",null,null,this.getTagsForStencil(d,"shield advanced","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"automation;",78*a,78*a,"","Automation",null,null,this.getTagsForStencil(d,"systems manager automation","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"documents;",64*a,78*a,"","Documents",null,null,this.getTagsForStencil(d,"systems manager documents","aws amazon web service management governance").join(" ")), -this.createVertexTemplateEntry(b+"inventory;",78*a,78*a,"","Inventory",null,null,this.getTagsForStencil(d,"systems manager inventory","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"maintenance_windows;",78*a,78*a,"","Maintenance Windows",null,null,this.getTagsForStencil(d,"systems manager maintenance windows","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"parameter_store;",75*a,78*a,"","Parameter Store",null, -null,this.getTagsForStencil(d,"systems manager parameter store","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"patch_manager;",78*a,78*a,"","Patch Manager",null,null,this.getTagsForStencil(d,"systems manager patch manager","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"run_command;",78*a,55*a,"","Run Command",null,null,this.getTagsForStencil(d,"systems manager run command","aws amazon web service management governance").join(" ")), -this.createVertexTemplateEntry(b+"state_manager;",78*a,78*a,"","State Manager",null,null,this.getTagsForStencil(d,"systems manager state","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"checklist;",66*a,78*a,"","Checklist",null,null,this.getTagsForStencil(d,"trusted advisor checklist","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"checklist_cost;",78*a,78*a,"","Checklist Cost",null,null,this.getTagsForStencil(d, -"trusted advisor checklist cost","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"checklist_fault_tolerant;",78*a,77*a,"","Checklist Fault Tolerant",null,null,this.getTagsForStencil(d,"trusted advisor fault tolerant","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"checklist_performance;",78*a,78*a,"","Checklist Performance",null,null,this.getTagsForStencil(d,"trusted advisor checklist performance","aws amazon web service management governance").join(" ")), -this.createVertexTemplateEntry(b+"checklist_security;",78*a,78*a,"","Checklist Security",null,null,this.getTagsForStencil(d,"trusted advisor checklist security","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"systems_manager_opscenter;",78*a,78*a,"","Systems Manager OpsCenter",null,null,this.getTagsForStencil(d,"systems manager opscenter","aws amazon web service management governance").join(" "))])};Sidebar.prototype.addAWS4MediaServicesPalette=function(a, -b,e,c,d,f){a="outlineConnect=0;fontColor=#232F3E;gradientColor=#F78E04;gradientDirection=north;fillColor=#D05C17;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Media Services","AWS / Media Services",!1,[this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".elastic_transcoder;",c,c,"","Elastic Transcoder",null,null,this.getTagsForStencil(d, -"elastic transcoder","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".kinesis_video_streams;",c,c,"","Kinesis Video Streams",null,null,this.getTagsForStencil(d,"kinesis video streams","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".elemental_mediaconnect;",c,c,"","Elemental MediaConnect",null,null,this.getTagsForStencil(d,"elemental mediaconnect","aws amazon web service media services").join(" ")), -this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".elemental_mediaconvert;",c,c,"","Elemental MediaConvert",null,null,this.getTagsForStencil(d,"elemental mediaconvert","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".elemental_medialive;",c,c,"","Elemental MediaLive",null,null,this.getTagsForStencil(d,"elemental medialive","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+ -d+".elemental_mediapackage;",c,c,"","Elemental MediaPackage",null,null,this.getTagsForStencil(d,"elemental mediapackage","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".elemental_mediastore;",c,c,"","Elemental MediaStore",null,null,this.getTagsForStencil(d,"elemental mediastore","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".elemental_mediatailor;",c,c,"","Elemental MediaTailor", -null,null,this.getTagsForStencil(d,"elemental mediatailor","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".elemental;",c,c,"","Elemental Conductor",null,null,this.getTagsForStencil(d,"elemental conductor","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".elemental;",c,c,"","Elemental Delta",null,null,this.getTagsForStencil(d,"elemental delta","aws amazon web service media services").join(" ")), -this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".elemental;",c,c,"","Elemental Live",null,null,this.getTagsForStencil(d,"elemental live","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".elemental;",c,c,"","Elemental Server",null,null,this.getTagsForStencil(d,"elemental server","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".media_services;",c,c,"","Media Services", -null,null,this.getTagsForStencil(d,"media services","aws amazon web service media services").join(" "))])};Sidebar.prototype.addAWS4MigrationTransferPalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#116D5B;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#4AB29A;gradientDirection=north;fillColor=#116D5B;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ -mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Migration Transfer","AWS / Migration & Transfer",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".application_discovery_service;",c,c,"","Application Discovery Service",null,null,this.getTagsForStencil(d,"application discovery service","aws amazon web service migration transfer").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".database_migration_service;",c,c,"","Database Migration Service", -null,null,this.getTagsForStencil(d,"db database migration service","aws amazon web service migration transfer").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".datasync;",c,c,"","DataSync",null,null,this.getTagsForStencil(d,"datasync","aws amazon web service migration transfer").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".migration_hub;",c,c,"","Migration Hub",null,null,this.getTagsForStencil(d,"migration hub","aws amazon web service migration transfer").join(" ")), -this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".server_migration_service;",c,c,"","Server Migration Service",null,null,this.getTagsForStencil(d,"server migration service","aws amazon web service migration transfer").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".snowball;",c,c,"","Snowball",null,null,this.getTagsForStencil(d,"snowball","aws amazon web service migration transfer").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".snowball_edge;", -c,c,"","Snowball Edge",null,null,this.getTagsForStencil(d,"snowball edge","aws amazon web service migration transfer").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".snowmobile;",c,c,"","Snowmobile",null,null,this.getTagsForStencil(d,"snowmobile","aws amazon web service migration transfer").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".transfer_for_sftp;",c,c,"","Transfer for SFTP",null,null,this.getTagsForStencil(d,"transfer for sftp","aws amazon web service migration transfer").join(" ")), -this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".migration_and_transfer;",c,c,"","Migration and Transfer",null,null,this.getTagsForStencil(d,"migration and transfer","aws amazon web service migration transfer").join(" ")),this.createVertexTemplateEntry(b+"agent2;",78*a,78*a,"","Agent",null,null,this.getTagsForStencil(d,"agent","aws amazon web service migration transfer").join(" "))])};Sidebar.prototype.addAWS4MobilePalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#C7131F;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ -mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#F54749;gradientDirection=north;fillColor=#C7131F;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Mobile","AWS / Mobile",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".api_gateway;",c,c,"","API Gateway",null,null,this.getTagsForStencil(d, -"api application programming interface gateway","aws amazon web service mobile").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".pinpoint;",c,c,"","Pinpoint",null,null,this.getTagsForStencil(d,"pinpoint","aws amazon web service mobile").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".amplify;",c,c,"","Amplify",null,null,this.getTagsForStencil(d,"amplify","aws amazon web service mobile").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+ -d+".appsync;",c,c,"","AppSync",null,null,this.getTagsForStencil(d,"appsync","aws amazon web service mobile").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".device_farm;",c,c,"","Device Farm",null,null,this.getTagsForStencil(d,"device farm","aws amazon web service mobile").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".mobile;",c,c,"","Mobile",null,null,this.getTagsForStencil(d,"mobile","aws amazon web service mobile").join(" ")),this.createVertexTemplateEntry(b+ -"endpoint;",78*a,78*a,"","Endpoint",null,null,this.getTagsForStencil(d,"endpoint","aws amazon web service mobile").join(" "))])};Sidebar.prototype.addAWS4NetworkContentDeliveryPalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#5A30B5;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#945DF2;gradientDirection=north;fillColor=#5A30B5;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ -mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Network Content Delivery","AWS / Network & Content Delivery",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".api_gateway;",c,c,"","API Gateway",null,null,this.getTagsForStencil(d,"api application programming interface gateway","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".cloudfront;",c,c,"","CloudFront",null,null,this.getTagsForStencil(d, -"cloudfront","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".route_53;",c,c,"","Route 53",null,null,this.getTagsForStencil(d,"route 53","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".vpc_privatelink;",c,c,"","VPC PrivateLink",null,null,this.getTagsForStencil(d,"vpc privatelink virtual private cloud","aws amazon web service netowrk content delivery").join(" ")), -this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".vpc;",c,c,"","VPC",null,null,this.getTagsForStencil(d,"vpc virtual private cloud","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".app_mesh;",c,c,"","App Mesh",null,null,this.getTagsForStencil(d,"app application mesh","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".client_vpn;",c,c,"","Client VPN", -null,null,this.getTagsForStencil(d,"client vpn virtual private network","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".site_to_site_vpn;",c,c,"","Site-to-Site VPN",null,null,this.getTagsForStencil(d,"site to site s2s vpn virtual private network","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".elastic_load_balancing;",c,c,"","Elastic Load Balancing", -null,null,this.getTagsForStencil(d,"elastic load balancing","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".cloud_map;",c,c,"","Cloud Map",null,null,this.getTagsForStencil(d,"cloud map","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".direct_connect;",c,c,"","Direct Connect",null,null,this.getTagsForStencil(d,"direct connect","aws amazon web service netowrk content delivery").join(" ")), -this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".global_accelerator;",c,c,"","Global Accelerator",null,null,this.getTagsForStencil(d,"global accelerator","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".transit_gateway;",c,c,"","Transit Gateway",null,null,this.getTagsForStencil(d,"transit gateway","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+ -d+".networking_and_content_delivery;",c,c,"","Networking and Content Delivery",null,null,this.getTagsForStencil(d,"networking and content delivery","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"endpoint;",78*a,78*a,"","Endpoint",null,null,this.getTagsForStencil(d,"endpoint","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"download_distribution;",78*a,78*a,"","Download Distribution",null,null,this.getTagsForStencil(d, -"download distribution","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"edge_location;",78*a,78*a,"","Edge Location",null,null,this.getTagsForStencil(d,"edge location","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"streaming_distribution;",78*a,78*a,"","Streaming Distribution",null,null,this.getTagsForStencil(d,"streaming distribution","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+ -"hosted_zone;",78*a,77*a,"","Hosted Zone",null,null,this.getTagsForStencil(d,"hosted zone","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"route_table;",78*a,76*a,"","Route Table",null,null,this.getTagsForStencil(d,"route table","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"customer_gateway;",78*a,78*a,"","Router",null,null,this.getTagsForStencil(d,"vpc virtual private cloud customer gateway","aws amazon web service netowrk content delivery").join(" ")), -this.createVertexTemplateEntry(b+"elastic_network_adapter;",78*a,78*a,"","Elastic Network Adapter",null,null,this.getTagsForStencil(d,"vpc virtual private cloud elastic network adapter","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"elastic_network_interface;",78*a,78*a,"","Elastic Network Interface",null,null,this.getTagsForStencil(d,"vpc virtual private cloud elastic network interface","aws amazon web service netowrk content delivery").join(" ")), -this.createVertexTemplateEntry(b+"endpoints;",78*a,78*a,"","Endpoints",null,null,this.getTagsForStencil(d,"vpc virtual private cloud endpoints","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"flow_logs;",78*a,78*a,"","Flow Logs",null,null,this.getTagsForStencil(d,"vpc virtual private cloud flow logs","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"internet_gateway;",78*a,78*a,"","Internet Gateway",null, -null,this.getTagsForStencil(d,"vpc virtual private cloud internet gateway","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"nat_gateway;",78*a,78*a,"","NAT Gateway",null,null,this.getTagsForStencil(d,"vpc virtual private cloud nat gateway","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"network_access_control_list;",78*a,78*a,"","Network Access Control List",null,null,this.getTagsForStencil(d,"vpc virtual private cloud network access control list", -"aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"peering;",78*a,78*a,"","Peering",null,null,this.getTagsForStencil(d,"vpc virtual private cloud network peering","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"application_load_balancer;",78*a,78*a,"","Application Load Balancer",null,null,this.getTagsForStencil(d,"application load balancer","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+ -"classic_load_balancer;",78*a,78*a,"","Classic Load Balancer",null,null,this.getTagsForStencil(d,"classic load balancer","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"network_load_balancer;",78*a,78*a,"","Network Load Balancer",null,null,this.getTagsForStencil(d,"network load balancer","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"router;",78*a,78*a,"","Customer Gateway",null,null,this.getTagsForStencil(d, -"vpc virtual private cloud network router","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"vpn_connection;",70*a,78*a,"","VPN Connection",null,null,this.getTagsForStencil(d,"vpc virtual private cloud vpn network connection","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"vpn_gateway;",78*a,78*a,"","VPN Gateway",null,null,this.getTagsForStencil(d,"vpc virtual private cloud vpn network gateway","aws amazon web service netowrk content delivery").join(" ")), -this.createVertexTemplateEntry(b+"vpc_traffic_mirroring;",78*a,78*a,"","VPC Traffic Mirroring",null,null,this.getTagsForStencil(d,"vpc virtual private cloud traffic mirroring","aws amazon web service netowrk content delivery").join(" "))])};Sidebar.prototype.addAWS4RoboticsPalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#BE0917;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+ -mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#FE5151;gradientDirection=north;fillColor=#BE0917;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Robotics","AWS / Robotics",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".robotics;",c,c,"","Robotics",null,null,this.getTagsForStencil(d, -"robotics","aws amazon web service robotics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".robomaker;",c,c,"","RoboMaker",null,null,this.getTagsForStencil(d,"robomaker","aws amazon web service robotics").join(" ")),this.createVertexTemplateEntry(b+"simulation;",78*a,64*a,"","Simulation",null,null,this.getTagsForStencil(d,"simulation","aws amazon web service robotics").join(" ")),this.createVertexTemplateEntry(b+"fleet_management;",78*a,78*a,"","Fleet Management",null,null, -this.getTagsForStencil(d,"fleet management","aws amazon web service robotics").join(" ")),this.createVertexTemplateEntry(b+"development_environment;",78*a,71*a,"","Development Environment",null,null,this.getTagsForStencil(d,"development environment","aws amazon web service robotics").join(" ")),this.createVertexTemplateEntry(b+"cloud_extension_ros;",78*a,78*a,"","Cloud Extensions ROS",null,null,this.getTagsForStencil(d,"cloud extension ros","aws amazon web service robotics").join(" "))])};Sidebar.prototype.addAWS4SatellitePalette= -function(a,b,e,c,d,f){a="outlineConnect=0;fontColor=#232F3E;gradientColor=#517DFD;gradientDirection=north;fillColor=#2F29AF;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Satellite","AWS / Satellite",!1,[this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".satellite;",c,c,"","Satellite",null,null,this.getTagsForStencil(d,"satellite", -"aws amazon web satellite").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".ground_station;",c,c,"","Ground Station",null,null,this.getTagsForStencil(d,"ground station","aws amazon web satellite").join(" "))])};Sidebar.prototype.addAWS4SecurityIdentityCompliancePalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#C7131F;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+ -mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#F54749;gradientDirection=north;fillColor=#C7131F;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Security Identity Compliance","AWS / Security, Identity & Compliance",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".cloud_directory;", -c,c,"","Cloud Directory",null,null,this.getTagsForStencil(d,"cloud directory","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".cognito;",c,c,"","Cognito",null,null,this.getTagsForStencil(d,"cognito","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".guardduty;",c,c,"","GuardDuty",null,null,this.getTagsForStencil(d,"guardduty guard duty","aws amazon web service security identity compliance").join(" ")), -this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".inspector;",c,c,"","Inspector",null,null,this.getTagsForStencil(d,"inspector","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".macie;",c,c,"","Macie",null,null,this.getTagsForStencil(d,"macie","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".artifact;",c,c,"","Artifact",null,null,this.getTagsForStencil(d, -"artifact","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".certificate_manager_3;",c,c,"","Certificate Manager",null,null,this.getTagsForStencil(d,"certificate manager","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".cloudhsm;",c,c,"","CloudHSM",null,null,this.getTagsForStencil(d,"cloudhsm cloud hsm","aws amazon web service security identity compliance").join(" ")), -this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".directory_service;",c,c,"","Directory Service",null,null,this.getTagsForStencil(d,"directory service","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".firewall_manager;",c,c,"","Firewall Manager",null,null,this.getTagsForStencil(d,"firewall manager","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+ -d+".identity_and_access_management;",c,c,"","Identity and Access Management",null,null,this.getTagsForStencil(d,"identity and access management","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".key_management_service;",c,c,"","Key Management Service",null,null,this.getTagsForStencil(d,"key management service","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+ -d+".resource_access_manager;",c,c,"","Resource Access Manager",null,null,this.getTagsForStencil(d,"resource access manager","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".organizations;",c,c,"","Organizations",null,null,this.getTagsForStencil(d,"organizations","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".secrets_manager;",c,c,"","Secrets Manager", -null,null,this.getTagsForStencil(d,"secrets manager","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".security_hub;",c,c,"","Security Hub",null,null,this.getTagsForStencil(d,"security hub","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".shield;",c,c,"","Shield",null,null,this.getTagsForStencil(d,"shield","aws amazon web service security identity compliance").join(" ")), -this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".single_sign_on;",c,c,"","Single Sign-On",null,null,this.getTagsForStencil(d,"single sign on","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".waf;",c,c,"","WAF",null,null,this.getTagsForStencil(d,"waf","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".security_identity_and_compliance;", -c,c,"","Security Identity and Compliance",null,null,this.getTagsForStencil(d,"security identity and compliance","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"ad_connector;",78*a,73*a,"","AD Connector",null,null,this.getTagsForStencil(d,"ad connector","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"agent;",78*a,74*a,"","Inspector Agent",null,null,this.getTagsForStencil(d,"inspector agent","aws amazon web service security identity compliance").join(" ")), -this.createVertexTemplateEntry(b+"certificate_manager_2;",78*a,72*a,"","Certificate Manager",null,null,this.getTagsForStencil(d,"certificate manager","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"addon;",78*a,40*a,"","Add-on",null,null,this.getTagsForStencil(d,"identity and access management iam addon add on","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"sts;",78*a,50*a,"","STS",null,null,this.getTagsForStencil(d, -"identity and access management iam sts","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"sts_alternate;",62*a,78*a,"","STS",null,null,this.getTagsForStencil(d,"identity and access management iam sts","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"data_encryption_key;",62*a,78*a,"","Data Encryption Key",null,null,this.getTagsForStencil(d,"identity and access management iam data encryption key", -"aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"encrypted_data;",62*a,78*a,"","Encrypted Data",null,null,this.getTagsForStencil(d,"identity and access management iam encrypted data","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"long_term_security_credential;",78*a,69*a,"","Long Term Security Credential",null,null,this.getTagsForStencil(d,"identity and access management iam long term security credential", -"aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"mfa_token;",78*a,78*a,"","MFA Token",null,null,this.getTagsForStencil(d,"identity and access management iam mfa token","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"permissions;",62*a,78*a,"","Permissions",null,null,this.getTagsForStencil(d,"identity and access management iam permissions","aws amazon web service security identity compliance").join(" ")), -this.createVertexTemplateEntry(b+"role;",78*a,44*a,"","Role",null,null,this.getTagsForStencil(d,"identity and access management iam role","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"temporary_security_credential;",77*a,78*a,"","Temporary Security Credential",null,null,this.getTagsForStencil(d,"identity and access management iam temporary security credential","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+ -"managed_ms_ad;",78*a,77*a,"","Managed MS AD",null,null,this.getTagsForStencil(d,"managed ms ad","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"organizations_account;",74*a,78*a,"","Organizations Account",null,null,this.getTagsForStencil(d,"organizations account","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"organizations_organizational_unit;",78*a,67*a,"","Organizations Organizational Unit", -null,null,this.getTagsForStencil(d,"organizations organizational unit","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"shield_shield_advanced;",70*a,78*a,"","Shield Advanced",null,null,this.getTagsForStencil(d,"shield advanced","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"filtering_rule;",78*a,78*a,"","Filtering Rule",null,null,this.getTagsForStencil(d,"filtering rule","aws amazon web service security identity compliance").join(" ")), -this.createVertexTemplateEntry(b+"simple_ad;",78*a,77*a,"","Simple AD",null,null,this.getTagsForStencil(d,"simple ad","aws amazon web service security identity compliance").join(" "))])};Sidebar.prototype.addAWS4StoragePalette=function(a,b,e,c,d,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#277116;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4."; -e="outlineConnect=0;fontColor=#232F3E;gradientColor=#60A337;gradientDirection=north;fillColor=#277116;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Storage","AWS / Storage",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".elastic_block_store;",c,c,"","Elastic Block Store",null,null,this.getTagsForStencil(d,"elastic block store", -"aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".elastic_file_system;",c,c,"","Elastic File System",null,null,this.getTagsForStencil(d,"elastic file system","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".fsx;",c,c,"","FSx",null,null,this.getTagsForStencil(d,"fsx","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".fsx_for_lustre;", -c,c,"","FSx for Lustre",null,null,this.getTagsForStencil(d,"fsx for lustre","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".fsx_for_windows_file_server;",c,c,"","FSx for Windows File Server",null,null,this.getTagsForStencil(d,"fsx for windows file server","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".glacier;",c,c,"","S3 Glacier",null,null,this.getTagsForStencil(d,"s3 simple storage service glacier", -"aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".s3;",c,c,"","Simple Storage Service",null,null,this.getTagsForStencil(d,"s3 simple storage service","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".backup;",c,c,"","Backup",null,null,this.getTagsForStencil(d,"backup","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".snowball;",c,c, -"","Snowball",null,null,this.getTagsForStencil(d,"snowball","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".snowball_edge;",c,c,"","Snowball Edge",null,null,this.getTagsForStencil(d,"snowball edge","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".snowmobile;",c,c,"","Snowmobile",null,null,this.getTagsForStencil(d,"snowmobile","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+ -"resourceIcon;resIcon="+d+".storage_gateway;",c,c,"","Storage Gateway",null,null,this.getTagsForStencil(d,"storage gateway","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".efs_infrequentaccess;",c,c,"","EFS InfrequentAccess",null,null,this.getTagsForStencil(d,"efs infrequent access","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".efs_standard;",c,c,"","EFS Standard",null,null,this.getTagsForStencil(d, -"efs standard","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+d+".storage;",c,c,"","Storage",null,null,this.getTagsForStencil(d,"storage","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(b+"snapshot;",56*a,78*a,"","Snapshot",null,null,this.getTagsForStencil(d,"snapshot","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(b+"volume;",62*a,78*a,"","Volume",null,null,this.getTagsForStencil(d,"volume", -"aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(b+"file_system;",78*a,73*a,"","File System",null,null,this.getTagsForStencil(d,"file system","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(b+"archive;",63*a,78*a,"","Vault",null,null,this.getTagsForStencil(d,"s3 simple storage service glacier archive","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(b+"vault;",62*a,78*a,"","Archive",null,null,this.getTagsForStencil(d, -"s3 simple storage service glacier vault","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(b+"bucket;",75*a,78*a,"","Bucket",null,null,this.getTagsForStencil(d,"s3 simple storage service bucket","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(b+"bucket_with_objects;",75*a,78*a,"","Bucket with Objects",null,null,this.getTagsForStencil(d,"s3 simple storage service bucket with objects","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(b+ -"object;",78*a,78*a,"","Object",null,null,this.getTagsForStencil(d,"s3 simple storage service object","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(b+"import_export;",78*a,61*a,"","Snowball Import Export",null,null,this.getTagsForStencil(d,"snowball import export","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(b+"cached_volume;",62*a,78*a,"","Cached Volume",null,null,this.getTagsForStencil(d,"storage gateway cached volume","aws amazon web service storage").join(" ")), -this.createVertexTemplateEntry(b+"non_cached_volume;",62*a,78*a,"","Non-Cached Volume",null,null,this.getTagsForStencil(d,"storage gateway non cached volume","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(b+"virtual_tape_library;",62*a,78*a,"","Virtual Tape Library",null,null,this.getTagsForStencil(d,"storage gateway virtual tape library vtl","aws amazon web service storage").join(" "))])}})();(function(){Sidebar.prototype.addAWS4bPalette=function(){var a="outlineConnect=0;fontColor=#232F3E;gradientColor=none;strokeColor=#ffffff;fillColor=#232F3E;dashed=0;verticalLabelPosition=middle;verticalAlign=bottom;align=center;html=1;whiteSpace=wrap;fontSize=10;fontStyle=1;spacing=3;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.",b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;strokeColor=#232F3E;fillColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ -mxConstants.STYLE_SHAPE+"=mxgraph.aws4.",e="outlineConnect=0;gradientColor=none;fontColor=#545B64;strokeColor=none;fillColor=#879196;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.",c="outlineConnect=0;gradientColor=none;html=1;whiteSpace=wrap;fontSize=12;fontStyle=0;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addAWS4bArrowsPalette("mxgraph.aws4",this);this.addAWS4bGeneralResourcesPalette(80, -100,60,a,b,"mxgraph.aws4",this);this.addAWS4bIllustrationsPalette(e,"mxgraph.aws4",this);this.addAWS4bGroupsLightPalette(c,"mxgraph.aws4",this);this.addAWS4bGroupsDarkPalette(c,"mxgraph.aws4",this);this.addAWS4bAnalyticsPalette(80,100,60,a,b,"mxgraph.aws4",this);this.addAWS4bApplicationIntegrationPalette(80,100,60,a,b,"mxgraph.aws4",this);this.addAWS4bARVRPalette(80,100,60,a,b,"mxgraph.aws4",this);this.addAWS4bCostManagementPalette(80,100,60,a,b,"mxgraph.aws4",this);this.addAWS4bBusinessProductivityPalette(80, +130*a,130*a,"Generic group",null,null,null,this.getTagsForStencil(b,"generic","aws amazon web service groups group").join(" ")),this.createVertexTemplateEntry("fillColor=#EFF0F3;strokeColor=none;dashed=0;verticalAlign=top;fontStyle=0;fontColor=#232F3D;",130*a,130*a,"Generic group",null,null,null,this.getTagsForStencil(b,"generic","aws amazon web service groups group").join(" "))])};Sidebar.prototype.addAWS4AnalyticsPalette=function(a,b,e,d,c,f,g){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#5A30B5;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+ +mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#945DF2;gradientDirection=north;fillColor=#5A30B5;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Analytics","AWS / Analytics",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".athena;",d,d,"","Athena",null,null,this.getTagsForStencil(c, +"athena","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".cloudsearch;",d,d,"","CloudSearch",null,null,this.getTagsForStencil(c,"cloudsearch","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".elasticsearch_service;",d,d,"","ElasticSearch Service",null,null,this.getTagsForStencil(c,"elasticsearch service","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+ +"resourceIcon;resIcon="+c+".emr;",d,d,"","EMR",null,null,this.getTagsForStencil(c,"emr","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".kinesis;",d,d,"","Kinesis",null,null,this.getTagsForStencil(c,"kinesis","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".kinesis_data_analytics;",d,d,"","Kinesis Data Analytics",null,null,this.getTagsForStencil(c,"kinesis data analytics","aws amazon web service analytics").join(" ")), +this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".kinesis_data_firehose;",d,d,"","Kinesis Data Firehose",null,null,this.getTagsForStencil(c,"kinesis data firehose","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".kinesis_data_streams;",d,d,"","Kinesis Data Streams",null,null,this.getTagsForStencil(c,"kinesis data streams","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".kinesis_video_streams;", +d,d,"","Kinesis Video Streams",null,null,this.getTagsForStencil(c,"kinesis video streams","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".quicksight;",d,d,"","QuickSight",null,null,this.getTagsForStencil(c,"quicksight quick sight","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".redshift;",d,d,"","Redshift",null,null,this.getTagsForStencil(c,"redshift","aws amazon web service analytics").join(" ")), +this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".analytics;",d,d,"","Analytics",null,null,this.getTagsForStencil(c,"analytics","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".data_pipeline;",d,d,"","Data Pipeline",null,null,this.getTagsForStencil(c,"data pipeline","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".managed_streaming_for_kafka;",d,d,"","Managed Streaming for Kafka", +null,null,this.getTagsForStencil(c,"managed streaming for kafka","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".glue;",d,d,"","Glue",null,null,this.getTagsForStencil(c,"glue","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".lake_formation;",d,d,"","Lake Formation",null,null,this.getTagsForStencil(c,"lake formation","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+ +"search_documents;",68*a,78*a,"","Search Documents",null,null,this.getTagsForStencil(c,"search documents","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"cluster;",78*a,78*a,"","HDFS Cluster",null,null,this.getTagsForStencil(c,"hdfs cluster","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"data_lake_resource_icon;",78*a,78*a,"","Data Lake",null,null,this.getTagsForStencil(c,"data lake","aws amazon web service analytics").join(" ")), +this.createVertexTemplateEntry(b+"emr_engine;",78*a,59*a,"","EMR Engine",null,null,this.getTagsForStencil(c,"emr engine","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"emr_engine_mapr_m3;",78*a,59*a,"","EMR Engine MapR M3",null,null,this.getTagsForStencil(c,"emr engine mapr m3","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"emr_engine_mapr_m5;",78*a,59*a,"","EMR Engine MapR M5",null,null,this.getTagsForStencil(c,"emr engine mapr m5", +"aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"emr_engine_mapr_m7;",78*a,59*a,"","EMR Engine MapR M7",null,null,this.getTagsForStencil(c,"emr engine mapr m7","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"hdfs_cluster;",78*a,78*a,"","Cluster",null,null,this.getTagsForStencil(c,"cluster","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"dense_compute_node;",78*a,78*a,"","Dense Compute Node",null,null, +this.getTagsForStencil(c,"dense compute node","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"dense_storage_node;",78*a,78*a,"","Dense Storage Node",null,null,this.getTagsForStencil(c,"dense storage node","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"glue_crawlers;",78*a,78*a,"","Crawler",null,null,this.getTagsForStencil(c,"crawler","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(b+"glue_data_catalog;", +72*a,78*a,"","Data Catalog",null,null,this.getTagsForStencil(c,"data catalog","aws amazon web service analytics").join(" "))])};Sidebar.prototype.addAWS4ApplicationIntegrationPalette=function(a,b,e,d,c,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#BC1356;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#F34482;gradientDirection=north;fillColor=#BC1356;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ +mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Application Integration","AWS / Application Integration",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".mq;",d,d,"","MQ",null,null,this.getTagsForStencil(c,"mq","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".sns;",d,d,"","Simple Notification System",null,null,this.getTagsForStencil(c,"sns simple notification system","aws amazon web service application integration").join(" ")), +this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".sqs;",d,d,"","Simple Queue System",null,null,this.getTagsForStencil(c,"sqs simple queue system","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".application_integration;",d,d,"","Application Integration",null,null,this.getTagsForStencil(c,"application integration","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+ +c+".appsync;",d,d,"","AppSync",null,null,this.getTagsForStencil(c,"appsync","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".eventbridge;",d,d,"","EventBridge",null,null,this.getTagsForStencil(c,"eventbridge event bridge","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".step_functions;",d,d,"","Step Functions",null,null,this.getTagsForStencil(c,"step functions", +"aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(b+"email_notification;",78*a,78*a,"","Email Notification",null,null,this.getTagsForStencil(c,"email notification","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(b+"http_notification;",78*a,78*a,"","HTTP Notification",null,null,this.getTagsForStencil(c,"http notification","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(b+ +"topic;",78*a,67*a,"","Topic",null,null,this.getTagsForStencil(c,"topic","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(b+"message;",76*a,78*a,"","Message",null,null,this.getTagsForStencil(c,"message","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(b+"queue;",78*a,47*a,"","Queue",null,null,this.getTagsForStencil(c,"queue","aws amazon web service application integration").join(" "))])};Sidebar.prototype.addAWS4ARVRPalette= +function(a,b,e,d,c,f){a="outlineConnect=0;fontColor=#232F3E;gradientColor=#F34482;gradientDirection=north;fillColor=#BC1356;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4AR VR","AWS / AR & VR",!1,[this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".sumerian;",d,d,"","Sumerian",null,null,this.getTagsForStencil(c,"sumerian","aws amazon web service ar vr augmented virtual reality").join(" ")), +this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".ar_vr;",d,d,"","AR VR",null,null,this.getTagsForStencil(c,"ar vr augmented virtual reality","aws amazon web service ar vr augmented virtual reality").join(" "))])};Sidebar.prototype.addAWS4CostManagementPalette=function(a,b,e,d,c,f){a="outlineConnect=0;fontColor=#232F3E;gradientColor=#60A337;gradientDirection=north;fillColor=#277116;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ +mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Cost Management","AWS / Cost Management",!1,[this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".budgets;",d,d,"","Budgets",null,null,this.getTagsForStencil(c,"budgets","aws amazon web service cost management").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".cost_and_usage_report;",d,d,"","Cost and Usage Report",null,null,this.getTagsForStencil(c,"cost and usage report","aws amazon web service cost management").join(" ")), +this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".cost_explorer;",d,d,"","Cost Explorer",null,null,this.getTagsForStencil(c,"cost explorer","aws amazon web service cost management").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".cost_management;",d,d,"","Cost Management",null,null,this.getTagsForStencil(c,"cost management","aws amazon web service cost management").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".reserved_instance_reporting;", +d,d,"","Reserved Instance Reporting",null,null,this.getTagsForStencil(c,"reserved instance reporting","aws amazon web service cost management").join(" "))])};Sidebar.prototype.addAWS4BlockchainPalette=function(a,b,e,d,c,f){a="outlineConnect=0;fontColor=#232F3E;gradientColor=#F78E04;gradientDirection=north;fillColor=#D05C17;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4."; +this.addPaletteFunctions("aws4Blockchain","AWS / Blockchain",!1,[this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".managed_blockchain;",d,d,"","Managed Blockchain",null,null,this.getTagsForStencil(c,"managed blockchain","aws amazon web service cost management").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".quantum_ledger_database;",d,d,"","Quantum Ledger Database (QLDB)",null,null,this.getTagsForStencil(c,"quantum ledger database","aws amazon web service cost management").join(" ")), +this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".blockchain;",d,d,"","Blockchain",null,null,this.getTagsForStencil(c,"blockchain","aws amazon web service cost management").join(" "))])};Sidebar.prototype.addAWS4BusinessApplicationsPalette=function(a,b,e,d,c,f){a="outlineConnect=0;fontColor=#232F3E;gradientColor=#F54749;gradientDirection=north;fillColor=#C7131F;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ +mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Business Applications","AWS / Business Applications",!1,[this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".alexa_for_business;",d,d,"","Alexa for Business",null,null,this.getTagsForStencil(c,"alexa for business","aws amazon web service business applications").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".chime;",d,d,"","Chime",null,null,this.getTagsForStencil(c,"chime","aws amazon web service business applications").join(" ")), +this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".workmail;",d,d,"","WorkMail",null,null,this.getTagsForStencil(c,"workmail","aws amazon web service business applications").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".business_application;",d,d,"","Business Application",null,null,this.getTagsForStencil(c,"business application","aws amazon web service business applications").join(" "))])};Sidebar.prototype.addAWS4EC2InstanceTypePalette=function(a,b,e,d,c,f){b= +"outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#D86613;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4EC2 Instance Types","AWS / EC2 Instance Types",!1,[this.createVertexTemplateEntry(b+"a1_instance;",48*a,48*a,"","A1 Instance",null,null,this.getTagsForStencil(c,"a1","aws amazon web service ec2 instance type").join(" ")), +this.createVertexTemplateEntry(b+"c4_instance;",48*a,48*a,"","C4 Instance",null,null,this.getTagsForStencil(c,"c4","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"c5_instance;",48*a,48*a,"","C5 Instance",null,null,this.getTagsForStencil(c,"c5","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"c5n_instance;",48*a,48*a,"","C5n Instance",null,null,this.getTagsForStencil(c,"c5n","aws amazon web service ec2 instance type").join(" ")), +this.createVertexTemplateEntry(b+"d2_instance;",48*a,48*a,"","D2 Instance",null,null,this.getTagsForStencil(c,"d2","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"db_on_instance2;",48*a,48*a,"","DB on Instance",null,null,this.getTagsForStencil(c,"db on database","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"f1_instance;",48*a,48*a,"","F1 Instance",null,null,this.getTagsForStencil(c,"f1","aws amazon web service ec2 instance type").join(" ")), +this.createVertexTemplateEntry(b+"g3_instance;",48*a,48*a,"","G3 Instance",null,null,this.getTagsForStencil(c,"g3","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"h1_instance;",48*a,48*a,"","H1 Instance",null,null,this.getTagsForStencil(c,"h1","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"high_memory_instance;",48*a,48*a,"","High Memory Instance",null,null,this.getTagsForStencil(c,"high memory instance","aws amazon web service ec2 instance type").join(" ")), +this.createVertexTemplateEntry(b+"i3_instance;",48*a,48*a,"","I3 Instance",null,null,this.getTagsForStencil(c,"i3","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"instance2;",48*a,48*a,"","Instance",null,null,this.getTagsForStencil(c,"","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"instances;",48*a,48*a,"","Instances",null,null,this.getTagsForStencil(c,"","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+ +"instance_with_cloudwatch2;",48*a,48*a,"","Instance with CloudWatch",null,null,this.getTagsForStencil(c,"instance with cloudwatch","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"m4_instance;",48*a,48*a,"","M4 Instance",null,null,this.getTagsForStencil(c,"m4","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"m5a_instance;",48*a,48*a,"","M5a Instance",null,null,this.getTagsForStencil(c,"m5a","aws amazon web service ec2 instance type").join(" ")), +this.createVertexTemplateEntry(b+"m5_instance;",48*a,48*a,"","M5 Instance",null,null,this.getTagsForStencil(c,"m5","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"optimized_instance;",48*a,48*a,"","Optimized Instance",null,null,this.getTagsForStencil(c,"optimized instance","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"p2_instance;",48*a,48*a,"","P2 Instance",null,null,this.getTagsForStencil(c,"p2","aws amazon web service ec2 instance type").join(" ")), +this.createVertexTemplateEntry(b+"p3_instance;",48*a,48*a,"","P3 Instance",null,null,this.getTagsForStencil(c,"p3","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"r4_instance;",48*a,48*a,"","R4 Instance",null,null,this.getTagsForStencil(c,"r4","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"r5a_instance;",48*a,48*a,"","R5a Instance",null,null,this.getTagsForStencil(c,"r5a","aws amazon web service ec2 instance type").join(" ")), +this.createVertexTemplateEntry(b+"r5_instance;",48*a,48*a,"","R5 Instance",null,null,this.getTagsForStencil(c,"r5","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"spot_instance;",48*a,48*a,"","Spot Instance",null,null,this.getTagsForStencil(c,"spot","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"t2_instance;",48*a,48*a,"","T2 Instance",null,null,this.getTagsForStencil(c,"t2","aws amazon web service ec2 instance type").join(" ")), +this.createVertexTemplateEntry(b+"t3a_instance;",48*a,48*a,"","T3a Instance",null,null,this.getTagsForStencil(c,"t3a","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"t3_instance;",48*a,48*a,"","T3 Instance",null,null,this.getTagsForStencil(c,"t3","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"t3_instance;",48*a,48*a,"","T3 Instance",null,null,this.getTagsForStencil(c,"t3","aws amazon web service ec2 instance type").join(" ")), +this.createVertexTemplateEntry(b+"x1e_instance;",48*a,48*a,"","X1e Instance",null,null,this.getTagsForStencil(c,"x1e","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"x1_instance2;",48*a,48*a,"","X1 Instance",null,null,this.getTagsForStencil(c,"x1","aws amazon web service ec2 instance type").join(" ")),this.createVertexTemplateEntry(b+"z1d_instance;",48*a,48*a,"","z1d Instance",null,null,this.getTagsForStencil(c,"z1d","aws amazon web service ec2 instance type").join(" "))])}; +Sidebar.prototype.addAWS4ComputePalette=function(a,b,e,d,c,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#D05C17;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#F78E04;gradientDirection=north;fillColor=#D05C17;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ +mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Compute","AWS / Compute",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".ec2;",d,d,"","EC2",null,null,this.getTagsForStencil(c,"ec2","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".auto_scaling2;",d,d,"","Auto Scaling",null,null,this.getTagsForStencil(c,"auto scaling","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+ +c+".ecr;",d,d,"","Elastic Container Registry",null,null,this.getTagsForStencil(c,"elastic container registry ecr","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".ecs;",d,d,"","Elastic Container Service",null,null,this.getTagsForStencil(c,"elastic container service ecs","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".eks;",d,d,"","Elastic Container Service for Kubernetes",null,null,this.getTagsForStencil(c, +"elastic container service eks for kubernetes","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".lightsail;",d,d,"","Lightsail",null,null,this.getTagsForStencil(c,"lightsail","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".batch;",d,d,"","Batch",null,null,this.getTagsForStencil(c,"batch","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+ +c+".elastic_beanstalk;",d,d,"","Elastic Beanstalk",null,null,this.getTagsForStencil(c,"elastic beanstalk","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".fargate;",d,d,"","Fargate",null,null,this.getTagsForStencil(c,"fargate","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".lambda;",d,d,"","Lambda",null,null,this.getTagsForStencil(c,"lambda","aws amazon web service compute").join(" ")), +this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".outposts;",d,d,"","Outposts",null,null,this.getTagsForStencil(c,"outposts","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".serverless_application_repository;",d,d,"","Serverless Application Repository",null,null,this.getTagsForStencil(c,"serverless application repository","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".thinkbox_deadline;", +d,d,"","Thinkbox Deadline",null,null,this.getTagsForStencil(c,"thinkbox deadline","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".thinkbox_draft;",d,d,"","Thinkbox Draft",null,null,this.getTagsForStencil(c,"thinkbox draft","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".thinkbox_frost;",d,d,"","Thinkbox Frost",null,null,this.getTagsForStencil(c,"thinkbox frost","aws amazon web service compute").join(" ")), +this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".thinkbox_krakatoa;",d,d,"","Thinkbox Krakatoa",null,null,this.getTagsForStencil(c,"thinkbox krakatoa","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".thinkbox_sequoia;",d,d,"","Thinkbox Sequoia",null,null,this.getTagsForStencil(c,"thinkbox sequoia","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".thinkbox_stoke;",d,d,"","Thinkbox Stoke", +null,null,this.getTagsForStencil(c,"thinkbox stoke","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".thinkbox_xmesh;",d,d,"","Thinkbox XMesh",null,null,this.getTagsForStencil(c,"thinkbox xmesh","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".compute;",d,d,"","Compute",null,null,this.getTagsForStencil(c,"compute","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+ +"resourceIcon;resIcon="+c+".elastic_load_balancing;",d,d,"","Elastic Load Balancing",null,null,this.getTagsForStencil(c,"elastic load balancing","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".vmware_cloud_on_aws;",d,d,"","VMware Cloud on AWS",null,null,this.getTagsForStencil(c,"vmware cloud on aws virtual machine vm","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ami;",78*a,78*a,"","AMI",null,null,this.getTagsForStencil(c, +"ami","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"auto_scaling2;",78*a,78*a,"","Auto-Scaling",null,null,this.getTagsForStencil(c,"autoscaling auto scaling","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"elastic_ip_address;",78*a,33*a,"","Elastic IP Address",null,null,this.getTagsForStencil(c,"elastic ip itnernet protocol address","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"rescue;",78*a,78*a,"","Rescue", +null,null,this.getTagsForStencil(c,"rescue","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"registry;",78*a,78*a,"","Registry",null,null,this.getTagsForStencil(c,"registry","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"container_1;",78*a,50*a,"","Container",null,null,this.getTagsForStencil(c,"ecs elastic container service","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"container_2;",78*a,50*a,"","Container", +null,null,this.getTagsForStencil(c,"ecs elastic container service","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"container_3;",78*a,50*a,"","Container",null,null,this.getTagsForStencil(c,"ecs elastic container service","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"container_registry_image;",78*a,78*a,"","Image",null,null,this.getTagsForStencil(c,"image","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ecs_service;", +64*a,78*a,"","Service",null,null,this.getTagsForStencil(c,"ecs elastic container service","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"ecs_task;",59*a,78*a,"","Task",null,null,this.getTagsForStencil(c,"ecs elastic container service task","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"application;",50*a,78*a,"","Application",null,null,this.getTagsForStencil(c,"elastic beanstalk application","aws amazon web service compute").join(" ")), +this.createVertexTemplateEntry(b+"deployment;",78*a,74*a,"","Deployment",null,null,this.getTagsForStencil(c,"elastic beanstalk deployment","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(b+"lambda_function;",78*a,78*a,"","Lambda Function",null,null,this.getTagsForStencil(c,"lambda function","aws amazon web service compute").join(" "))])};Sidebar.prototype.addAWS4CustomerEngagementPalette=function(a,b,e,d,c,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#3334B9;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+ +mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#4D72F3;gradientDirection=north;fillColor=#3334B9;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Customer Engagement","AWS / Customer Engagement",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".connect;",d,d,"","Connect",null,null,this.getTagsForStencil(c, +"connect","aws amazon web service customer engagement").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".pinpoint;",d,d,"","Pinpoint",null,null,this.getTagsForStencil(c,"pinpoint","aws amazon web service customer engagement").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".simple_email_service;",d,d,"","Simple Email Service",null,null,this.getTagsForStencil(c,"simple email service","aws amazon web service customer engagement").join(" ")),this.createVertexTemplateEntry(e+ +"resourceIcon;resIcon="+c+".customer_engagement;",d,d,"","Customer Engagement",null,null,this.getTagsForStencil(c,"customer engagement","aws amazon web service customer engagement").join(" ")),this.createVertexTemplateEntry(b+"email;",78*a,69*a,"","Email",null,null,this.getTagsForStencil(c,"email","aws amazon web service customer engagement").join(" "))])};Sidebar.prototype.addAWS4DatabasePalette=function(a,b,e,d,c,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#3334B9;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+ +mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#4D72F3;gradientDirection=north;fillColor=#3334B9;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Database","AWS / Database",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".aurora;",d,d,"","Aurora",null,null,this.getTagsForStencil(c, +"aurora","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".documentdb_with_mongodb_compatibility;",d,d,"","DocumentDB (with MongoDB Compatibility)",null,null,this.getTagsForStencil(c,"documentdb with mongodb compatibility","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".dynamodb;",d,d,"","DynamoDB",null,null,this.getTagsForStencil(c,"dynamodb","aws amazon web service db database").join(" ")), +this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".elasticache;",d,d,"","ElastiCache",null,null,this.getTagsForStencil(c,"elasticache","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".neptune;",d,d,"","Neptune",null,null,this.getTagsForStencil(c,"neptune","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".quantum_ledger_database;",d,d,"","Quantum Ledger Database",null, +null,this.getTagsForStencil(c,"quantum ledger database db","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".rds;",d,d,"","RDS",null,null,this.getTagsForStencil(c,"rds","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".rds_on_vmware;",d,d,"","RDS on VMware",null,null,this.getTagsForStencil(c,"rds on vmware","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(e+ +"resourceIcon;resIcon="+c+".redshift;",d,d,"","Redshift",null,null,this.getTagsForStencil(c,"redshift","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".timestream;",d,d,"","Timestream",null,null,this.getTagsForStencil(c,"timestream","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".database_migration_service;",d,d,"","Database Migration Service",null,null,this.getTagsForStencil(c, +"database migration service","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".database;",d,d,"","Database",null,null,this.getTagsForStencil(c,"database","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"attribute;",78*a,78*a,"","Attribute",null,null,this.getTagsForStencil(c,"dynamodb dynamo db database attribute","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"attributes;", +78*a,78*a,"","Attributes",null,null,this.getTagsForStencil(c,"dynamodb dynamo db database attributes","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"aurora_instance;",78*a,78*a,"","Aurora Instance",null,null,this.getTagsForStencil(c,"aurora instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"aurora_instance_alt;",78*a,78*a,"","Aurora Instance",null,null,this.getTagsForStencil(c,"aurora instance","aws amazon web service db database").join(" ")), +this.createVertexTemplateEntry(b+"rds_instance;",78*a,78*a,"","RDS Instance",null,null,this.getTagsForStencil(c,"rds instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"rds_instance_alt;",78*a,78*a,"","RDS Instance",null,null,this.getTagsForStencil(c,"rds instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"rds_mariadb_instance;",78*a,78*a,"","RDS MariaDB Instance",null,null,this.getTagsForStencil(c,"rds mariadb maria db instance", +"aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"rds_mariadb_instance_alt;",78*a,78*a,"","RDS MariaDB Instance",null,null,this.getTagsForStencil(c,"rds mariadb maria db instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"rds_mysql_instance;",78*a,78*a,"","RDS MySQL Instance",null,null,this.getTagsForStencil(c,"rds mysql instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"rds_mysql_instance_alt;", +78*a,78*a,"","RDS MySQL Instance",null,null,this.getTagsForStencil(c,"rds mysql instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"rds_oracle_instance;",78*a,78*a,"","RDS Oracle Instance",null,null,this.getTagsForStencil(c,"rds oracle instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"rds_oracle_instance_alt;",78*a,78*a,"","RDS Oracle Instance",null,null,this.getTagsForStencil(c,"rds oracle instance","aws amazon web service db database").join(" ")), +this.createVertexTemplateEntry(b+"rds_piop;",78*a,78*a,"","RDS PIOP",null,null,this.getTagsForStencil(c,"rds piop","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"rds_postgresql_instance;",78*a,78*a,"","RDS PostgreSQL Instance",null,null,this.getTagsForStencil(c,"rds postgresql instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"rds_postgresql_instance_alt;",78*a,78*a,"","RDS PostgreSQL Instance",null,null,this.getTagsForStencil(c, +"rds postgresql instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"rds_sql_server_instance;",78*a,78*a,"","RDS SQL Server Instance",null,null,this.getTagsForStencil(c,"rds sql server instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"rds_sql_server_instance_alt;",78*a,78*a,"","RDS SQL Server Instance",null,null,this.getTagsForStencil(c,"rds sql server instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+ +"dynamodb_dax;",78*a,72*a,"","DAX",null,null,this.getTagsForStencil(c,"dynamodb dynamo db database dax","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"global_secondary_index;",78*a,78*a,"","Global Secondary Index",null,null,this.getTagsForStencil(c,"global secondary index","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"item;",78*a,78*a,"","Item",null,null,this.getTagsForStencil(c,"item","aws amazon web service db database").join(" ")), +this.createVertexTemplateEntry(b+"items;",78*a,78*a,"","Items",null,null,this.getTagsForStencil(c,"items","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"table;",78*a,78*a,"","Table",null,null,this.getTagsForStencil(c,"table","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"cache_node;",78*a,78*a,"","Cache Node",null,null,this.getTagsForStencil(c,"elasticache elastic cache node","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+ +"elasticache_for_memcached;",78*a,69*a,"","ElastiCache for Memcached",null,null,this.getTagsForStencil(c,"elasticache for memcached","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"elasticache_for_redis;",78*a,69*a,"","Elasticache for Redis",null,null,this.getTagsForStencil(c,"elasticache for redis","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"dense_compute_node;",78*a,78*a,"","Dense Compute Node",null,null,this.getTagsForStencil(c, +"dense compute node","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"dense_storage_node;",78*a,78*a,"","Dense Storage Node",null,null,this.getTagsForStencil(c,"dense storage node","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(b+"database_migration_workflow_job;",50*a,78*a,"","Database Migration Workflow",null,null,this.getTagsForStencil(c,"database migration workflow","aws amazon web service db database").join(" "))])};Sidebar.prototype.addAWS4EndUserComputingPalette= +function(a,b,e,d,c,f){a="outlineConnect=0;fontColor=#232F3E;gradientColor=#4AB29A;gradientDirection=north;fillColor=#116D5B;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4End User Computing","AWS / End User Computing",!1,[this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".appstream_20;",d,d,"","Appstream 2.0",null,null,this.getTagsForStencil(c, +"appstream","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".workspaces;",d,d,"","Workspaces",null,null,this.getTagsForStencil(c,"workspaces","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".worklink;",d,d,"","WorkLink",null,null,this.getTagsForStencil(c,"worklink","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".workdocs;", +d,d,"","WorkDocs",null,null,this.getTagsForStencil(c,"workdocs","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".desktop_and_app_streaming;",d,d,"","End User Computing",null,null,this.getTagsForStencil(c,"desktop and app streaming","aws amazon web service db database").join(" "))])};Sidebar.prototype.addAWS4DeveloperToolsPalette=function(a,b,e,d,c,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=#4D72F3;gradientDirection=north;fillColor=#3334B9;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ +mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Developer Tools","AWS / Developer Tools",!1,[this.createVertexTemplateEntry("outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#3334B9;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.dynamodb_dax;",78*a,72*a,"","DAX",null,null,this.getTagsForStencil(c,"dynamodb dynamo db database dax","aws amazon web service dev developer tools").join(" ")), +this.createVertexTemplateEntry(b+"resourceIcon;resIcon="+c+".cloud9;",d,d,"","Cloud9",null,null,this.getTagsForStencil(c,"cloud9","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"resourceIcon;resIcon="+c+".cloud_development_kit;",d,d,"","Cloud Development Kit",null,null,this.getTagsForStencil(c,"cloud development kit","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"resourceIcon;resIcon="+c+".codebuild;",d,d,"","CodeBuild", +null,null,this.getTagsForStencil(c,"codebuild","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"resourceIcon;resIcon="+c+".codecommit;",d,d,"","CodeCommit",null,null,this.getTagsForStencil(c,"codecommit","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"resourceIcon;resIcon="+c+".codedeploy;",d,d,"","CodeDeploy",null,null,this.getTagsForStencil(c,"codedeploy","aws amazon web service dev developer tools").join(" ")), +this.createVertexTemplateEntry(b+"resourceIcon;resIcon="+c+".codepipeline;",d,d,"","CodePipeline",null,null,this.getTagsForStencil(c,"codepipeline","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"resourceIcon;resIcon="+c+".codestar;",d,d,"","CodeStar",null,null,this.getTagsForStencil(c,"codestar","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"resourceIcon;resIcon="+c+".command_line_interface;",d,d,"","Command-Line Interface", +null,null,this.getTagsForStencil(c,"command line interface","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"resourceIcon;resIcon="+c+".tools_and_sdks;",d,d,"","Tools and SDKs",null,null,this.getTagsForStencil(c,"tools and sdks software development kit","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(b+"resourceIcon;resIcon="+c+".xray;",d,d,"","X-Ray",null,null,this.getTagsForStencil(c,"ray xray","aws amazon web service dev developer tools").join(" ")), +this.createVertexTemplateEntry(b+"resourceIcon;resIcon="+c+".developer_tools;",d,d,"","Developer Tools",null,null,this.getTagsForStencil(c,"developer tools","aws amazon web service dev developer tools").join(" "))])};Sidebar.prototype.addAWS4GameTechPalette=function(a,b,e,d,c,f){a="outlineConnect=0;fontColor=#232F3E;gradientColor=#945DF2;gradientDirection=north;fillColor=#5A30B5;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ +mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Game Tech","AWS / Game Tech",!1,[this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".gamelift;",d,d,"","GameLift",null,null,this.getTagsForStencil(c,"gamelift","aws amazon web service game development").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".game_tech;",d,d,"","Game Tech",null,null,this.getTagsForStencil(c,"game tech","aws amazon web service game development").join(" "))])};Sidebar.prototype.addAWS4InternetOfThingsPalette= +function(a,b,e,d,c,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#277116;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#60A337;gradientDirection=north;fillColor=#277116;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ +mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Internet of Things","AWS / Internet of Things",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".freertos;",d,d,"","FreeRTOS",null,null,this.getTagsForStencil(c,"freertos","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".iot_1click;",d,d,"","1Click",null,null,this.getTagsForStencil(c,"1click","aws amazon web service internet of things iot").join(" ")), +this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".iot_analytics;",d,d,"","Analytics",null,null,this.getTagsForStencil(c,"analytics","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".iot_button;",d,d,"","Button",null,null,this.getTagsForStencil(c,"button","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".iot_core;",d,d,"","Core",null,null,this.getTagsForStencil(c, +"core","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".iot_device_defender;",d,d,"","Device Defender",null,null,this.getTagsForStencil(c,"device defender","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".iot_device_management;",d,d,"","Device Management",null,null,this.getTagsForStencil(c,"device management","aws amazon web service internet of things iot").join(" ")), +this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".iot_events;",d,d,"","Events",null,null,this.getTagsForStencil(c,"events","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".greengrass;",d,d,"","Greengrass",null,null,this.getTagsForStencil(c,"greengrass","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".iot_sitewise;",d,d,"","SiteWise",null,null,this.getTagsForStencil(c, +"sitewise","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".iot_things_graph;",d,d,"","Graph",null,null,this.getTagsForStencil(c,"graph","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".internet_of_things;",d,d,"","Internet of Things",null,null,this.getTagsForStencil(c,"","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+ +"iot_analytics_channel;",65*a,78*a,"","Channel",null,null,this.getTagsForStencil(c,"analytics channel","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"data_set;",63*a,78*a,"","Data Set",null,null,this.getTagsForStencil(c,"data set","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"iot_analytics_data_store;",54*a,78*a,"","Data Store",null,null,this.getTagsForStencil(c,"analytics data store","aws amazon web service internet of things iot").join(" ")), +this.createVertexTemplateEntry(b+"iot_analytics_pipeline;",78*a,42*a,"","Pipeline",null,null,this.getTagsForStencil(c,"analytics pipeline","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"notebook;",68*a,78*a,"","Notebook",null,null,this.getTagsForStencil(c,"notebook","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"connector;",78*a,29*a,"","Connector",null,null,this.getTagsForStencil(c,"notebook","aws amazon web service internet of things iot").join(" ")), +this.createVertexTemplateEntry(b+"action;",78*a,78*a,"","Action",null,null,this.getTagsForStencil(c,"action","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"actuator;",72*a,78*a,"","Actuator",null,null,this.getTagsForStencil(c,"actuator","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"alexa_enabled_device;",72*a,78*a,"","Alexa Enabled Device",null,null,this.getTagsForStencil(c,"alexa enabled device","aws amazon web service internet of things iot").join(" ")), +this.createVertexTemplateEntry(b+"alexa_skill;",78*a,78*a,"","Alexa Skill",null,null,this.getTagsForStencil(c,"alexa skill","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"alexa_skill;",78*a,78*a,"","Alexa Voice Service",null,null,this.getTagsForStencil(c,"alexa voice service","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"bank;",78*a,78*a,"","Bank",null,null,this.getTagsForStencil(c,"bank","aws amazon web service internet of things iot").join(" ")), +this.createVertexTemplateEntry(b+"bycicle;",78*a,78*a,"","Bycicle",null,null,this.getTagsForStencil(c,"bycicle","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"camera;",78*a,78*a,"","Camera",null,null,this.getTagsForStencil(c,"camera","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"car;",78*a,78*a,"","Car",null,null,this.getTagsForStencil(c,"car","aws amazon web service internet of things iot").join(" ")), +this.createVertexTemplateEntry(b+"cart;",78*a,78*a,"","Cart",null,null,this.getTagsForStencil(c,"cart","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"certificate_manager;",59*a,78*a,"","Certificate",null,null,this.getTagsForStencil(c,"certificate manager","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"coffee_pot;",78*a,78*a,"","Coffee Pot",null,null,this.getTagsForStencil(c,"coffee pot","aws amazon web service internet of things iot").join(" ")), +this.createVertexTemplateEntry(b+"desired_state;",78*a,78*a,"","Desired State",null,null,this.getTagsForStencil(c,"desired state","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"iot_device_gateway;",78*a,78*a,"","Device Gateway",null,null,this.getTagsForStencil(c,"device gateway","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"door_lock;",78*a,78*a,"","Door Lock",null,null,this.getTagsForStencil(c,"door lock", +"aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"echo;",41*a,78*a,"","Echo",null,null,this.getTagsForStencil(c,"echo","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"factory;",78*a,78*a,"","Factory",null,null,this.getTagsForStencil(c,"factory","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"firetv;",78*a,55*a,"","FireTV",null,null,this.getTagsForStencil(c,"firetv", +"aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"firetv_stick;",78*a,34*a,"","FireTV Stick",null,null,this.getTagsForStencil(c,"firetv stick","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"generic;",78*a,78*a,"","Generic",null,null,this.getTagsForStencil(c,"generic","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"hardware_board;",78*a,78*a,"","Hardware Board",null, +null,this.getTagsForStencil(c,"hardware board","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"house;",78*a,78*a,"","House",null,null,this.getTagsForStencil(c,"house","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"http2_protocol;",78*a,78*a,"","HTTP2 protocol",null,null,this.getTagsForStencil(c,"http2 protocol","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"http_protocol;", +78*a,78*a,"","HTTP protocol",null,null,this.getTagsForStencil(c,"http protocol","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"lambda_function;",78*a,78*a,"","Lambda Function",null,null,this.getTagsForStencil(c,"lambda function","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"lightbulb;",78*a,78*a,"","Lightbulb",null,null,this.getTagsForStencil(c,"lightbulb","aws amazon web service internet of things iot").join(" ")), +this.createVertexTemplateEntry(b+"medical_emergency;",78*a,78*a,"","Medical Emergency",null,null,this.getTagsForStencil(c,"medical emergency","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"mqtt_protocol;",78*a,78*a,"","MQTT Protocol",null,null,this.getTagsForStencil(c,"mqtt protocol","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"iot_over_the_air_update;",78*a,78*a,"","Over The Air Update",null,null,this.getTagsForStencil(c, +"over the air update","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"police_emergency;",78*a,78*a,"","Police Emergency",null,null,this.getTagsForStencil(c,"police emergency","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"policy;",78*a,67*a,"","Policy",null,null,this.getTagsForStencil(c,"policy","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"reported_state;", +78*a,78*a,"","Reported State",null,null,this.getTagsForStencil(c,"reported state","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"rule;",46*a,78*a,"","Rule",null,null,this.getTagsForStencil(c,"rule","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"sensor;",72*a,78*a,"","Sensor",null,null,this.getTagsForStencil(c,"sensor","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+ +"servo;",78*a,56*a,"","Servo",null,null,this.getTagsForStencil(c,"servo","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"shadow;",78*a,77*a,"","Shadow",null,null,this.getTagsForStencil(c,"shadow","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"simulator;",71*a,78*a,"","Simulator",null,null,this.getTagsForStencil(c,"simulator","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+ +"thermostat;",78*a,78*a,"","Thermostat",null,null,this.getTagsForStencil(c,"thermostat","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"topic_2;",53*a,78*a,"","Topic",null,null,this.getTagsForStencil(c,"topic","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"travel;",78*a,78*a,"","Travel",null,null,this.getTagsForStencil(c,"travel","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+ +"utility;",78*a,78*a,"","Utility",null,null,this.getTagsForStencil(c,"utility","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(b+"windfarm;",78*a,78*a,"","Windfarm",null,null,this.getTagsForStencil(c,"windfarm","aws amazon web service internet of things iot").join(" "))])};Sidebar.prototype.addAWS4MachineLearningPalette=function(a,b,e,d,c,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#116D5B;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+ +mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#4AB29A;gradientDirection=north;fillColor=#116D5B;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Machine Learning","AWS / Machine Learning",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".comprehend;",d,d,"","Comprehend",null,null,this.getTagsForStencil(c, +"comprehend","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".elastic_inference;",d,d,"","Elastic Inference",null,null,this.getTagsForStencil(c,"elastic inference","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".forecast;",d,d,"","Forecast",null,null,this.getTagsForStencil(c,"forecast","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+ +"resourceIcon;resIcon="+c+".lex;",d,d,"","Lex",null,null,this.getTagsForStencil(c,"lex","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".personalize;",d,d,"","Personalize",null,null,this.getTagsForStencil(c,"personalize","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".polly;",d,d,"","Polly",null,null,this.getTagsForStencil(c,"polly","aws amazon web service machine learning").join(" ")), +this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".rekognition;",d,d,"","Rekognition",null,null,this.getTagsForStencil(c,"rekognition","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".sagemaker;",d,d,"","SageMaker",null,null,this.getTagsForStencil(c,"sagemaker","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".sagemaker_ground_truth;",d,d,"","SageMaker Ground Truth", +null,null,this.getTagsForStencil(c,"sagemaker ground truth","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".textract;",d,d,"","Textract",null,null,this.getTagsForStencil(c,"textract","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".transcribe;",d,d,"","Transcribe",null,null,this.getTagsForStencil(c,"transcribe","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+ +"resourceIcon;resIcon="+c+".translate;",d,d,"","Translate",null,null,this.getTagsForStencil(c,"translate","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".apache_mxnet_on_aws;",d,d,"","Apache MXNet on AWS",null,null,this.getTagsForStencil(c,"apache mxnet on aws","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".deep_learning_amis;",d,d,"","Deep Learning AMIs",null,null, +this.getTagsForStencil(c,"deep learning amis","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".deeplens;",d,d,"","DeepLens",null,null,this.getTagsForStencil(c,"deeplens","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".deepracer;",d,d,"","DeepRacer",null,null,this.getTagsForStencil(c,"deepracer","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+ +"resourceIcon;resIcon="+c+".machine_learning;",d,d,"","Machine Learning",null,null,this.getTagsForStencil(c,"machine learning","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".tensorflow_on_aws;",d,d,"","TensorFlow on AWS",null,null,this.getTagsForStencil(c,"tensorflow on aws","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".deep_learning_containers;",d,d,"","Deep Learning Containers", +null,null,this.getTagsForStencil(c,"deep learning containers","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(b+"rekognition_image;",77*a,78*a,"","Rekognition image",null,null,this.getTagsForStencil(c,"rekognition image","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(b+"rekognition_video;",77*a,78*a,"","Rekognition video",null,null,this.getTagsForStencil(c,"rekognition video","aws amazon web service machine learning").join(" ")), +this.createVertexTemplateEntry(b+"sagemaker_model;",78*a,78*a,"","Model",null,null,this.getTagsForStencil(c,"sagemaker model","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(b+"sagemaker_notebook;",68*a,78*a,"","Notebook",null,null,this.getTagsForStencil(c,"sagemaker notebook","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(b+"sagemaker_train;",78*a,65*a,"","Train",null,null,this.getTagsForStencil(c,"sagemaker train","aws amazon web service machine learning").join(" "))])}; +Sidebar.prototype.addAWS4ManagementGovernancePalette=function(a,b,e,d,c,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#BC1356;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#F34482;gradientDirection=north;fillColor=#BC1356;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ +mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Management Governance","AWS / Management & Governance",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".cloudwatch;",d,d,"","CloudWatch",null,null,this.getTagsForStencil(c,"cloudwatch","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".autoscaling;",d,d,"","Auto Scaling",null,null,this.getTagsForStencil(c,"auto scaling","aws amazon web service management governance").join(" ")), +this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".cloudformation;",d,d,"","CloudFormation",null,null,this.getTagsForStencil(c,"cloudformation","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".cloudtrail;",d,d,"","CloudTrail",null,null,this.getTagsForStencil(c,"cloudtrail","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".command_line_interface;",d, +d,"","Command Line Interface",null,null,this.getTagsForStencil(c,"command line interface","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".config;",d,d,"","Config",null,null,this.getTagsForStencil(c,"config","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".license_manager;",d,d,"","License Manager",null,null,this.getTagsForStencil(c,"license manager","aws amazon web service management governance").join(" ")), +this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".managed_services;",d,d,"","Managed Services",null,null,this.getTagsForStencil(c,"managed services","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".management_console;",d,d,"","Management Console",null,null,this.getTagsForStencil(c,"management console","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+ +c+".opsworks;",d,d,"","OpsWorks",null,null,this.getTagsForStencil(c,"opsworks","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".personal_health_dashboard;",d,d,"","Personal Health Dashboard",null,null,this.getTagsForStencil(c,"personal health dashboard","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".service_catalog;",d,d,"","Service Catalog",null,null,this.getTagsForStencil(c, +"service catalog","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".systems_manager;",d,d,"","Systems Manager",null,null,this.getTagsForStencil(c,"systems manager","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".trusted_advisor;",d,d,"","Trusted Advisor",null,null,this.getTagsForStencil(c,"trusted advisor","aws amazon web service management governance").join(" ")), +this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".well_architected_tool;",d,d,"","Well-Architected Tool",null,null,this.getTagsForStencil(c,"well architected tool","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".control_tower;",d,d,"","Control Tower",null,null,this.getTagsForStencil(c,"control tower","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+ +c+".management_and_governance;",d,d,"","Management and Governance",null,null,this.getTagsForStencil(c,"management and governance","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"alarm;",78*a,78*a,"","Alarm",null,null,this.getTagsForStencil(c,"cloudwatch alarm","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"event_event_based;",78*a,78*a,"","Event (Event-Based)",null,null,this.getTagsForStencil(c,"cloudwatch event based", +"aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"event_time_based;",78*a,78*a,"","Event (Time-Based)",null,null,this.getTagsForStencil(c,"cloudwatch event time based","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"rule_2;",78*a,76*a,"","Rule",null,null,this.getTagsForStencil(c,"cloudwatch rule","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"change_set;",65*a,78*a, +"","Change Set",null,null,this.getTagsForStencil(c,"cloudformation change set","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"stack;",78*a,76*a,"","Stack",null,null,this.getTagsForStencil(c,"cloudformation stack","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"template;",65*a,78*a,"","Template",null,null,this.getTagsForStencil(c,"cloudformation template","aws amazon web service management governance").join(" ")), +this.createVertexTemplateEntry(b+"opsworks_apps;",78*a,78*a,"","Apps",null,null,this.getTagsForStencil(c,"opsworks apps applications","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"deployments;",65*a,78*a,"","Deployments",null,null,this.getTagsForStencil(c,"opsworks deployments","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"instances_2;",78*a,78*a,"","Instances",null,null,this.getTagsForStencil(c,"opsworks instances", +"aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"layers;",78*a,78*a,"","Layers",null,null,this.getTagsForStencil(c,"opsworks layers","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"monitoring;",78*a,58*a,"","Monitoring",null,null,this.getTagsForStencil(c,"opsworks monitoring","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"opsworks_permissions;",54*a,78*a,"","Permissions", +null,null,this.getTagsForStencil(c,"opsworks permissions","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"resources;",68*a,78*a,"","Resources",null,null,this.getTagsForStencil(c,"opsworks resources","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"stack2;",78*a,78*a,"","Stack",null,null,this.getTagsForStencil(c,"stack","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+ +"organizations_account;",74*a,78*a,"","Organizations Account",null,null,this.getTagsForStencil(c,"organizations account","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"organizations_organizational_unit;",78*a,67*a,"","Organizations Organizational Unit",null,null,this.getTagsForStencil(c,"organizations organizational unit","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"shield_shield_advanced;",70*a,78*a,"", +"Shield Advanced",null,null,this.getTagsForStencil(c,"shield advanced","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"automation;",78*a,78*a,"","Automation",null,null,this.getTagsForStencil(c,"systems manager automation","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"documents;",64*a,78*a,"","Documents",null,null,this.getTagsForStencil(c,"systems manager documents","aws amazon web service management governance").join(" ")), +this.createVertexTemplateEntry(b+"inventory;",78*a,78*a,"","Inventory",null,null,this.getTagsForStencil(c,"systems manager inventory","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"maintenance_windows;",78*a,78*a,"","Maintenance Windows",null,null,this.getTagsForStencil(c,"systems manager maintenance windows","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"parameter_store;",75*a,78*a,"","Parameter Store",null, +null,this.getTagsForStencil(c,"systems manager parameter store","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"patch_manager;",78*a,78*a,"","Patch Manager",null,null,this.getTagsForStencil(c,"systems manager patch manager","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"run_command;",78*a,55*a,"","Run Command",null,null,this.getTagsForStencil(c,"systems manager run command","aws amazon web service management governance").join(" ")), +this.createVertexTemplateEntry(b+"state_manager;",78*a,78*a,"","State Manager",null,null,this.getTagsForStencil(c,"systems manager state","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"checklist;",66*a,78*a,"","Checklist",null,null,this.getTagsForStencil(c,"trusted advisor checklist","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"checklist_cost;",78*a,78*a,"","Checklist Cost",null,null,this.getTagsForStencil(c, +"trusted advisor checklist cost","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"checklist_fault_tolerant;",78*a,77*a,"","Checklist Fault Tolerant",null,null,this.getTagsForStencil(c,"trusted advisor fault tolerant","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"checklist_performance;",78*a,78*a,"","Checklist Performance",null,null,this.getTagsForStencil(c,"trusted advisor checklist performance","aws amazon web service management governance").join(" ")), +this.createVertexTemplateEntry(b+"checklist_security;",78*a,78*a,"","Checklist Security",null,null,this.getTagsForStencil(c,"trusted advisor checklist security","aws amazon web service management governance").join(" ")),this.createVertexTemplateEntry(b+"systems_manager_opscenter;",78*a,78*a,"","Systems Manager OpsCenter",null,null,this.getTagsForStencil(c,"systems manager opscenter","aws amazon web service management governance").join(" "))])};Sidebar.prototype.addAWS4MediaServicesPalette=function(a, +b,e,d,c,f){a="outlineConnect=0;fontColor=#232F3E;gradientColor=#F78E04;gradientDirection=north;fillColor=#D05C17;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Media Services","AWS / Media Services",!1,[this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".elastic_transcoder;",d,d,"","Elastic Transcoder",null,null,this.getTagsForStencil(c, +"elastic transcoder","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".kinesis_video_streams;",d,d,"","Kinesis Video Streams",null,null,this.getTagsForStencil(c,"kinesis video streams","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".elemental_mediaconnect;",d,d,"","Elemental MediaConnect",null,null,this.getTagsForStencil(c,"elemental mediaconnect","aws amazon web service media services").join(" ")), +this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".elemental_mediaconvert;",d,d,"","Elemental MediaConvert",null,null,this.getTagsForStencil(c,"elemental mediaconvert","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".elemental_medialive;",d,d,"","Elemental MediaLive",null,null,this.getTagsForStencil(c,"elemental medialive","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+ +c+".elemental_mediapackage;",d,d,"","Elemental MediaPackage",null,null,this.getTagsForStencil(c,"elemental mediapackage","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".elemental_mediastore;",d,d,"","Elemental MediaStore",null,null,this.getTagsForStencil(c,"elemental mediastore","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".elemental_mediatailor;",d,d,"","Elemental MediaTailor", +null,null,this.getTagsForStencil(c,"elemental mediatailor","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".elemental;",d,d,"","Elemental Conductor",null,null,this.getTagsForStencil(c,"elemental conductor","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".elemental;",d,d,"","Elemental Delta",null,null,this.getTagsForStencil(c,"elemental delta","aws amazon web service media services").join(" ")), +this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".elemental;",d,d,"","Elemental Live",null,null,this.getTagsForStencil(c,"elemental live","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".elemental;",d,d,"","Elemental Server",null,null,this.getTagsForStencil(c,"elemental server","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".media_services;",d,d,"","Media Services", +null,null,this.getTagsForStencil(c,"media services","aws amazon web service media services").join(" "))])};Sidebar.prototype.addAWS4MigrationTransferPalette=function(a,b,e,d,c,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#116D5B;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#4AB29A;gradientDirection=north;fillColor=#116D5B;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ +mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Migration Transfer","AWS / Migration & Transfer",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".application_discovery_service;",d,d,"","Application Discovery Service",null,null,this.getTagsForStencil(c,"application discovery service","aws amazon web service migration transfer").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".database_migration_service;",d,d,"","Database Migration Service", +null,null,this.getTagsForStencil(c,"db database migration service","aws amazon web service migration transfer").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".datasync;",d,d,"","DataSync",null,null,this.getTagsForStencil(c,"datasync","aws amazon web service migration transfer").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".migration_hub;",d,d,"","Migration Hub",null,null,this.getTagsForStencil(c,"migration hub","aws amazon web service migration transfer").join(" ")), +this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".server_migration_service;",d,d,"","Server Migration Service",null,null,this.getTagsForStencil(c,"server migration service","aws amazon web service migration transfer").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".snowball;",d,d,"","Snowball",null,null,this.getTagsForStencil(c,"snowball","aws amazon web service migration transfer").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".snowball_edge;", +d,d,"","Snowball Edge",null,null,this.getTagsForStencil(c,"snowball edge","aws amazon web service migration transfer").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".snowmobile;",d,d,"","Snowmobile",null,null,this.getTagsForStencil(c,"snowmobile","aws amazon web service migration transfer").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".transfer_for_sftp;",d,d,"","Transfer for SFTP",null,null,this.getTagsForStencil(c,"transfer for sftp","aws amazon web service migration transfer").join(" ")), +this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".migration_and_transfer;",d,d,"","Migration and Transfer",null,null,this.getTagsForStencil(c,"migration and transfer","aws amazon web service migration transfer").join(" ")),this.createVertexTemplateEntry(b+"agent2;",78*a,78*a,"","Agent",null,null,this.getTagsForStencil(c,"agent","aws amazon web service migration transfer").join(" "))])};Sidebar.prototype.addAWS4MobilePalette=function(a,b,e,d,c,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#C7131F;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ +mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#F54749;gradientDirection=north;fillColor=#C7131F;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Mobile","AWS / Mobile",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".api_gateway;",d,d,"","API Gateway",null,null,this.getTagsForStencil(c, +"api application programming interface gateway","aws amazon web service mobile").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".pinpoint;",d,d,"","Pinpoint",null,null,this.getTagsForStencil(c,"pinpoint","aws amazon web service mobile").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".amplify;",d,d,"","Amplify",null,null,this.getTagsForStencil(c,"amplify","aws amazon web service mobile").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+ +c+".appsync;",d,d,"","AppSync",null,null,this.getTagsForStencil(c,"appsync","aws amazon web service mobile").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".device_farm;",d,d,"","Device Farm",null,null,this.getTagsForStencil(c,"device farm","aws amazon web service mobile").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".mobile;",d,d,"","Mobile",null,null,this.getTagsForStencil(c,"mobile","aws amazon web service mobile").join(" ")),this.createVertexTemplateEntry(b+ +"endpoint;",78*a,78*a,"","Endpoint",null,null,this.getTagsForStencil(c,"endpoint","aws amazon web service mobile").join(" "))])};Sidebar.prototype.addAWS4NetworkContentDeliveryPalette=function(a,b,e,d,c,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#5A30B5;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#945DF2;gradientDirection=north;fillColor=#5A30B5;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ +mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Network Content Delivery","AWS / Network & Content Delivery",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".api_gateway;",d,d,"","API Gateway",null,null,this.getTagsForStencil(c,"api application programming interface gateway","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".cloudfront;",d,d,"","CloudFront",null,null,this.getTagsForStencil(c, +"cloudfront","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".route_53;",d,d,"","Route 53",null,null,this.getTagsForStencil(c,"route 53","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".vpc_privatelink;",d,d,"","VPC PrivateLink",null,null,this.getTagsForStencil(c,"vpc privatelink virtual private cloud","aws amazon web service netowrk content delivery").join(" ")), +this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".vpc;",d,d,"","VPC",null,null,this.getTagsForStencil(c,"vpc virtual private cloud","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".app_mesh;",d,d,"","App Mesh",null,null,this.getTagsForStencil(c,"app application mesh","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".client_vpn;",d,d,"","Client VPN", +null,null,this.getTagsForStencil(c,"client vpn virtual private network","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".site_to_site_vpn;",d,d,"","Site-to-Site VPN",null,null,this.getTagsForStencil(c,"site to site s2s vpn virtual private network","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".elastic_load_balancing;",d,d,"","Elastic Load Balancing", +null,null,this.getTagsForStencil(c,"elastic load balancing","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".cloud_map;",d,d,"","Cloud Map",null,null,this.getTagsForStencil(c,"cloud map","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".direct_connect;",d,d,"","Direct Connect",null,null,this.getTagsForStencil(c,"direct connect","aws amazon web service netowrk content delivery").join(" ")), +this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".global_accelerator;",d,d,"","Global Accelerator",null,null,this.getTagsForStencil(c,"global accelerator","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".transit_gateway;",d,d,"","Transit Gateway",null,null,this.getTagsForStencil(c,"transit gateway","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+ +c+".networking_and_content_delivery;",d,d,"","Networking and Content Delivery",null,null,this.getTagsForStencil(c,"networking and content delivery","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"endpoint;",78*a,78*a,"","Endpoint",null,null,this.getTagsForStencil(c,"endpoint","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"download_distribution;",78*a,78*a,"","Download Distribution",null,null,this.getTagsForStencil(c, +"download distribution","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"edge_location;",78*a,78*a,"","Edge Location",null,null,this.getTagsForStencil(c,"edge location","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"streaming_distribution;",78*a,78*a,"","Streaming Distribution",null,null,this.getTagsForStencil(c,"streaming distribution","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+ +"hosted_zone;",78*a,77*a,"","Hosted Zone",null,null,this.getTagsForStencil(c,"hosted zone","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"route_table;",78*a,76*a,"","Route Table",null,null,this.getTagsForStencil(c,"route table","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"customer_gateway;",78*a,78*a,"","Router",null,null,this.getTagsForStencil(c,"vpc virtual private cloud customer gateway","aws amazon web service netowrk content delivery").join(" ")), +this.createVertexTemplateEntry(b+"elastic_network_adapter;",78*a,78*a,"","Elastic Network Adapter",null,null,this.getTagsForStencil(c,"vpc virtual private cloud elastic network adapter","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"elastic_network_interface;",78*a,78*a,"","Elastic Network Interface",null,null,this.getTagsForStencil(c,"vpc virtual private cloud elastic network interface","aws amazon web service netowrk content delivery").join(" ")), +this.createVertexTemplateEntry(b+"endpoints;",78*a,78*a,"","Endpoints",null,null,this.getTagsForStencil(c,"vpc virtual private cloud endpoints","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"flow_logs;",78*a,78*a,"","Flow Logs",null,null,this.getTagsForStencil(c,"vpc virtual private cloud flow logs","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"internet_gateway;",78*a,78*a,"","Internet Gateway",null, +null,this.getTagsForStencil(c,"vpc virtual private cloud internet gateway","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"nat_gateway;",78*a,78*a,"","NAT Gateway",null,null,this.getTagsForStencil(c,"vpc virtual private cloud nat gateway","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"network_access_control_list;",78*a,78*a,"","Network Access Control List",null,null,this.getTagsForStencil(c,"vpc virtual private cloud network access control list", +"aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"peering;",78*a,78*a,"","Peering",null,null,this.getTagsForStencil(c,"vpc virtual private cloud network peering","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"application_load_balancer;",78*a,78*a,"","Application Load Balancer",null,null,this.getTagsForStencil(c,"application load balancer","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+ +"classic_load_balancer;",78*a,78*a,"","Classic Load Balancer",null,null,this.getTagsForStencil(c,"classic load balancer","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"network_load_balancer;",78*a,78*a,"","Network Load Balancer",null,null,this.getTagsForStencil(c,"network load balancer","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"router;",78*a,78*a,"","Customer Gateway",null,null,this.getTagsForStencil(c, +"vpc virtual private cloud network router","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"vpn_connection;",70*a,78*a,"","VPN Connection",null,null,this.getTagsForStencil(c,"vpc virtual private cloud vpn network connection","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(b+"vpn_gateway;",78*a,78*a,"","VPN Gateway",null,null,this.getTagsForStencil(c,"vpc virtual private cloud vpn network gateway","aws amazon web service netowrk content delivery").join(" ")), +this.createVertexTemplateEntry(b+"vpc_traffic_mirroring;",78*a,78*a,"","VPC Traffic Mirroring",null,null,this.getTagsForStencil(c,"vpc virtual private cloud traffic mirroring","aws amazon web service netowrk content delivery").join(" "))])};Sidebar.prototype.addAWS4RoboticsPalette=function(a,b,e,d,c,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#BE0917;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+ +mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#FE5151;gradientDirection=north;fillColor=#BE0917;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Robotics","AWS / Robotics",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".robotics;",d,d,"","Robotics",null,null,this.getTagsForStencil(c, +"robotics","aws amazon web service robotics").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".robomaker;",d,d,"","RoboMaker",null,null,this.getTagsForStencil(c,"robomaker","aws amazon web service robotics").join(" ")),this.createVertexTemplateEntry(b+"simulation;",78*a,64*a,"","Simulation",null,null,this.getTagsForStencil(c,"simulation","aws amazon web service robotics").join(" ")),this.createVertexTemplateEntry(b+"fleet_management;",78*a,78*a,"","Fleet Management",null,null, +this.getTagsForStencil(c,"fleet management","aws amazon web service robotics").join(" ")),this.createVertexTemplateEntry(b+"development_environment;",78*a,71*a,"","Development Environment",null,null,this.getTagsForStencil(c,"development environment","aws amazon web service robotics").join(" ")),this.createVertexTemplateEntry(b+"cloud_extension_ros;",78*a,78*a,"","Cloud Extensions ROS",null,null,this.getTagsForStencil(c,"cloud extension ros","aws amazon web service robotics").join(" "))])};Sidebar.prototype.addAWS4SatellitePalette= +function(a,b,e,d,c,f){a="outlineConnect=0;fontColor=#232F3E;gradientColor=#517DFD;gradientDirection=north;fillColor=#2F29AF;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Satellite","AWS / Satellite",!1,[this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".satellite;",d,d,"","Satellite",null,null,this.getTagsForStencil(c,"satellite", +"aws amazon web satellite").join(" ")),this.createVertexTemplateEntry(a+"resourceIcon;resIcon="+c+".ground_station;",d,d,"","Ground Station",null,null,this.getTagsForStencil(c,"ground station","aws amazon web satellite").join(" "))])};Sidebar.prototype.addAWS4SecurityIdentityCompliancePalette=function(a,b,e,d,c,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#C7131F;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+ +mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";e="outlineConnect=0;fontColor=#232F3E;gradientColor=#F54749;gradientDirection=north;fillColor=#C7131F;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Security Identity Compliance","AWS / Security, Identity & Compliance",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".cloud_directory;", +d,d,"","Cloud Directory",null,null,this.getTagsForStencil(c,"cloud directory","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".cognito;",d,d,"","Cognito",null,null,this.getTagsForStencil(c,"cognito","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".guardduty;",d,d,"","GuardDuty",null,null,this.getTagsForStencil(c,"guardduty guard duty","aws amazon web service security identity compliance").join(" ")), +this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".inspector;",d,d,"","Inspector",null,null,this.getTagsForStencil(c,"inspector","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".macie;",d,d,"","Macie",null,null,this.getTagsForStencil(c,"macie","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".artifact;",d,d,"","Artifact",null,null,this.getTagsForStencil(c, +"artifact","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".certificate_manager_3;",d,d,"","Certificate Manager",null,null,this.getTagsForStencil(c,"certificate manager","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".cloudhsm;",d,d,"","CloudHSM",null,null,this.getTagsForStencil(c,"cloudhsm cloud hsm","aws amazon web service security identity compliance").join(" ")), +this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".directory_service;",d,d,"","Directory Service",null,null,this.getTagsForStencil(c,"directory service","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".firewall_manager;",d,d,"","Firewall Manager",null,null,this.getTagsForStencil(c,"firewall manager","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+ +c+".identity_and_access_management;",d,d,"","Identity and Access Management",null,null,this.getTagsForStencil(c,"identity and access management","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".key_management_service;",d,d,"","Key Management Service",null,null,this.getTagsForStencil(c,"key management service","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+ +c+".resource_access_manager;",d,d,"","Resource Access Manager",null,null,this.getTagsForStencil(c,"resource access manager","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".organizations;",d,d,"","Organizations",null,null,this.getTagsForStencil(c,"organizations","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".secrets_manager;",d,d,"","Secrets Manager", +null,null,this.getTagsForStencil(c,"secrets manager","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".security_hub;",d,d,"","Security Hub",null,null,this.getTagsForStencil(c,"security hub","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".shield;",d,d,"","Shield",null,null,this.getTagsForStencil(c,"shield","aws amazon web service security identity compliance").join(" ")), +this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".single_sign_on;",d,d,"","Single Sign-On",null,null,this.getTagsForStencil(c,"single sign on","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".waf;",d,d,"","WAF",null,null,this.getTagsForStencil(c,"waf","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".security_identity_and_compliance;", +d,d,"","Security Identity and Compliance",null,null,this.getTagsForStencil(c,"security identity and compliance","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"ad_connector;",78*a,73*a,"","AD Connector",null,null,this.getTagsForStencil(c,"ad connector","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"agent;",78*a,74*a,"","Inspector Agent",null,null,this.getTagsForStencil(c,"inspector agent","aws amazon web service security identity compliance").join(" ")), +this.createVertexTemplateEntry(b+"certificate_manager_2;",78*a,72*a,"","Certificate Manager",null,null,this.getTagsForStencil(c,"certificate manager","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"addon;",78*a,40*a,"","Add-on",null,null,this.getTagsForStencil(c,"identity and access management iam addon add on","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"sts;",78*a,50*a,"","STS",null,null,this.getTagsForStencil(c, +"identity and access management iam sts","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"sts_alternate;",62*a,78*a,"","STS",null,null,this.getTagsForStencil(c,"identity and access management iam sts","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"data_encryption_key;",62*a,78*a,"","Data Encryption Key",null,null,this.getTagsForStencil(c,"identity and access management iam data encryption key", +"aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"encrypted_data;",62*a,78*a,"","Encrypted Data",null,null,this.getTagsForStencil(c,"identity and access management iam encrypted data","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"long_term_security_credential;",78*a,69*a,"","Long Term Security Credential",null,null,this.getTagsForStencil(c,"identity and access management iam long term security credential", +"aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"mfa_token;",78*a,78*a,"","MFA Token",null,null,this.getTagsForStencil(c,"identity and access management iam mfa token","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"permissions;",62*a,78*a,"","Permissions",null,null,this.getTagsForStencil(c,"identity and access management iam permissions","aws amazon web service security identity compliance").join(" ")), +this.createVertexTemplateEntry(b+"role;",78*a,44*a,"","Role",null,null,this.getTagsForStencil(c,"identity and access management iam role","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"temporary_security_credential;",77*a,78*a,"","Temporary Security Credential",null,null,this.getTagsForStencil(c,"identity and access management iam temporary security credential","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+ +"managed_ms_ad;",78*a,77*a,"","Managed MS AD",null,null,this.getTagsForStencil(c,"managed ms ad","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"organizations_account;",74*a,78*a,"","Organizations Account",null,null,this.getTagsForStencil(c,"organizations account","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"organizations_organizational_unit;",78*a,67*a,"","Organizations Organizational Unit", +null,null,this.getTagsForStencil(c,"organizations organizational unit","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"shield_shield_advanced;",70*a,78*a,"","Shield Advanced",null,null,this.getTagsForStencil(c,"shield advanced","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(b+"filtering_rule;",78*a,78*a,"","Filtering Rule",null,null,this.getTagsForStencil(c,"filtering rule","aws amazon web service security identity compliance").join(" ")), +this.createVertexTemplateEntry(b+"simple_ad;",78*a,77*a,"","Simple AD",null,null,this.getTagsForStencil(c,"simple ad","aws amazon web service security identity compliance").join(" "))])};Sidebar.prototype.addAWS4StoragePalette=function(a,b,e,d,c,f){b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#277116;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4."; +e="outlineConnect=0;fontColor=#232F3E;gradientColor=#60A337;gradientDirection=north;fillColor=#277116;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Storage","AWS / Storage",!1,[this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".elastic_block_store;",d,d,"","Elastic Block Store",null,null,this.getTagsForStencil(c,"elastic block store", +"aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".elastic_file_system;",d,d,"","Elastic File System",null,null,this.getTagsForStencil(c,"elastic file system","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".fsx;",d,d,"","FSx",null,null,this.getTagsForStencil(c,"fsx","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".fsx_for_lustre;", +d,d,"","FSx for Lustre",null,null,this.getTagsForStencil(c,"fsx for lustre","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".fsx_for_windows_file_server;",d,d,"","FSx for Windows File Server",null,null,this.getTagsForStencil(c,"fsx for windows file server","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".glacier;",d,d,"","S3 Glacier",null,null,this.getTagsForStencil(c,"s3 simple storage service glacier", +"aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".s3;",d,d,"","Simple Storage Service",null,null,this.getTagsForStencil(c,"s3 simple storage service","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".backup;",d,d,"","Backup",null,null,this.getTagsForStencil(c,"backup","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".snowball;",d,d, +"","Snowball",null,null,this.getTagsForStencil(c,"snowball","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".snowball_edge;",d,d,"","Snowball Edge",null,null,this.getTagsForStencil(c,"snowball edge","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".snowmobile;",d,d,"","Snowmobile",null,null,this.getTagsForStencil(c,"snowmobile","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+ +"resourceIcon;resIcon="+c+".storage_gateway;",d,d,"","Storage Gateway",null,null,this.getTagsForStencil(c,"storage gateway","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".efs_infrequentaccess;",d,d,"","EFS InfrequentAccess",null,null,this.getTagsForStencil(c,"efs infrequent access","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".efs_standard;",d,d,"","EFS Standard",null,null,this.getTagsForStencil(c, +"efs standard","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(e+"resourceIcon;resIcon="+c+".storage;",d,d,"","Storage",null,null,this.getTagsForStencil(c,"storage","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(b+"snapshot;",56*a,78*a,"","Snapshot",null,null,this.getTagsForStencil(c,"snapshot","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(b+"volume;",62*a,78*a,"","Volume",null,null,this.getTagsForStencil(c,"volume", +"aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(b+"file_system;",78*a,73*a,"","File System",null,null,this.getTagsForStencil(c,"file system","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(b+"archive;",63*a,78*a,"","Vault",null,null,this.getTagsForStencil(c,"s3 simple storage service glacier archive","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(b+"vault;",62*a,78*a,"","Archive",null,null,this.getTagsForStencil(c, +"s3 simple storage service glacier vault","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(b+"bucket;",75*a,78*a,"","Bucket",null,null,this.getTagsForStencil(c,"s3 simple storage service bucket","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(b+"bucket_with_objects;",75*a,78*a,"","Bucket with Objects",null,null,this.getTagsForStencil(c,"s3 simple storage service bucket with objects","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(b+ +"object;",78*a,78*a,"","Object",null,null,this.getTagsForStencil(c,"s3 simple storage service object","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(b+"import_export;",78*a,61*a,"","Snowball Import Export",null,null,this.getTagsForStencil(c,"snowball import export","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(b+"cached_volume;",62*a,78*a,"","Cached Volume",null,null,this.getTagsForStencil(c,"storage gateway cached volume","aws amazon web service storage").join(" ")), +this.createVertexTemplateEntry(b+"non_cached_volume;",62*a,78*a,"","Non-Cached Volume",null,null,this.getTagsForStencil(c,"storage gateway non cached volume","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(b+"virtual_tape_library;",62*a,78*a,"","Virtual Tape Library",null,null,this.getTagsForStencil(c,"storage gateway virtual tape library vtl","aws amazon web service storage").join(" "))])}})();(function(){Sidebar.prototype.addAWS4bPalette=function(){var a="outlineConnect=0;fontColor=#232F3E;gradientColor=none;strokeColor=#ffffff;fillColor=#232F3E;dashed=0;verticalLabelPosition=middle;verticalAlign=bottom;align=center;html=1;whiteSpace=wrap;fontSize=10;fontStyle=1;spacing=3;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.",b="outlineConnect=0;fontColor=#232F3E;gradientColor=none;strokeColor=#232F3E;fillColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+ +mxConstants.STYLE_SHAPE+"=mxgraph.aws4.",e="outlineConnect=0;gradientColor=none;fontColor=#545B64;strokeColor=none;fillColor=#879196;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.",d="outlineConnect=0;gradientColor=none;html=1;whiteSpace=wrap;fontSize=12;fontStyle=0;"+mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addAWS4bArrowsPalette("mxgraph.aws4",this);this.addAWS4bGeneralResourcesPalette(80, +100,60,a,b,"mxgraph.aws4",this);this.addAWS4bIllustrationsPalette(e,"mxgraph.aws4",this);this.addAWS4bGroupsLightPalette(d,"mxgraph.aws4",this);this.addAWS4bGroupsDarkPalette(d,"mxgraph.aws4",this);this.addAWS4bAnalyticsPalette(80,100,60,a,b,"mxgraph.aws4",this);this.addAWS4bApplicationIntegrationPalette(80,100,60,a,b,"mxgraph.aws4",this);this.addAWS4bARVRPalette(80,100,60,a,b,"mxgraph.aws4",this);this.addAWS4bCostManagementPalette(80,100,60,a,b,"mxgraph.aws4",this);this.addAWS4bBusinessProductivityPalette(80, 100,60,a,b,"mxgraph.aws4",this);this.addAWS4bComputePalette(80,100,60,a,b,"mxgraph.aws4",this);this.addAWS4bCustomerEngagementPalette(80,100,60,a,b,"mxgraph.aws4",this);this.addAWS4bDatabasePalette(80,100,60,a,b,"mxgraph.aws4",this);this.addAWS4bDesktopAppStreamingPalette(80,100,60,a,b,"mxgraph.aws4",this);this.addAWS4bDeveloperToolsPalette(80,100,60,a,b,"mxgraph.aws4",this);this.addAWS4bGameDevelopmentPalette(80,100,60,a,b,"mxgraph.aws4",this);this.addAWS4bInternetOfThingsPalette(80,100,60,a,b,"mxgraph.aws4", this);this.addAWS4bIOTThingsPalette(80,100,60,a,b,"mxgraph.aws4",this);this.addAWS4bIOTResourcesPalette(80,100,60,a,b,"mxgraph.aws4",this);this.addAWS4bMachineLearningPalette(80,100,60,a,b,"mxgraph.aws4",this);this.addAWS4bManagementToolsPalette(80,100,60,a,b,"mxgraph.aws4",this);this.addAWS4bMediaServicesPalette(80,100,60,a,b,"mxgraph.aws4",this);this.addAWS4bMigrationPalette(80,100,60,a,b,"mxgraph.aws4",this);this.addAWS4bMobileServicesPalette(80,100,60,a,b,"mxgraph.aws4",this);this.addAWS4bNetworkContentDeliveryPalette(80, 100,60,a,b,"mxgraph.aws4",this);this.addAWS4bSecurityIdentityCompliancePalette(80,100,60,a,b,"mxgraph.aws4",this);this.addAWS4bStoragePalette(80,100,60,a,b,"mxgraph.aws4",this)};Sidebar.prototype.addAWS4bArrowsPalette=function(a,b){this.addPaletteFunctions("aws4bArrows","AWS18 / Arrows",!1,[this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=none;elbow=vertical;startArrow=block;startFill=1;strokeColor=#545B64;rounded=0;",100,0,"","Default (left)",null,this.getTagsForStencil(a, @@ -4335,14 +4335,14 @@ this);this.addAWS4bIOTThingsPalette(80,100,60,a,b,"mxgraph.aws4",this);this.addA 0,"","Default (double)",null,this.getTagsForStencil(a,"","aws amazon web service arrowsdefault double").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=none;elbow=vertical;startArrow=openThin;startFill=0;strokeColor=#545B64;rounded=0;",100,0,"","Open (thin, left)",null,this.getTagsForStencil(a,"","aws amazon web service arrowsopen thin left").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=openThin;elbow=vertical;startArrow=none;endFill=0;strokeColor=#545B64;rounded=0;", 100,0,"","Open (thin, left)",null,this.getTagsForStencil(a,"","aws amazon web service arrowsopen thin left").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=openThin;elbow=vertical;startArrow=openThin;startFill=0;endFill=0;strokeColor=#545B64;rounded=0;",100,0,"","Open (thin, double)",null,this.getTagsForStencil(a,"","aws amazon web service arrowsopen thin double").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=none;elbow=vertical;startArrow=open;startFill=0;strokeColor=#545B64;rounded=0;", 100,0,"","Open (left)",null,this.getTagsForStencil(a,"","aws amazon web service arrowsopen left").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=open;elbow=vertical;startArrow=none;endFill=0;strokeColor=#545B64;rounded=0;",100,0,"","Open (left)",null,this.getTagsForStencil(a,"","aws amazon web service arrowsopen left").join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;html=1;endArrow=open;elbow=vertical;startArrow=open;startFill=0;endFill=0;strokeColor=#545B64;rounded=0;", -100,0,"","Open (double)",null,this.getTagsForStencil(a,"","aws amazon web service arrowsopen double").join(" "))])};Sidebar.prototype.addAWS4bGeneralResourcesPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bGeneral Resources","AWS18 / General Resources",!1,[this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".aws_cloud;",e,e,"AWS Cloud",null,null,null,this.getTagsForStencil(f,"cloud","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+ -f+".client;",e,e,"Client",null,null,null,this.getTagsForStencil(f,"client","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".corporate_data_center;",e,e,"Corporate\ndata center",null,null,null,this.getTagsForStencil(f,"corporate data center","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".disk;",e,e,"Disk",null,null,null,this.getTagsForStencil(f,"disk","aws amazon web service general resources").join(" ")), -this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".forums;",e,e,"Forums",null,null,null,this.getTagsForStencil(f,"forums","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".generic_database;",e,e,"Generic\ndatabase",null,null,null,this.getTagsForStencil(f,"generic databas","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".internet;",e,e,"Internet",null,null, -null,this.getTagsForStencil(f,"internet","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".internet_alt1;",e,e,"Internet alt1",null,null,null,this.getTagsForStencil(f,"internet alternative","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".internet_alt2;",e,e,"Internet alt2",null,null,null,this.getTagsForStencil(f,"internet alternative","aws amazon web service general resources").join(" ")), -this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".mobile_client;",e,e,"Mobile client",null,null,null,this.getTagsForStencil(f,"mobile client","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".multimedia;",e,e,"Multimedia",null,null,null,this.getTagsForStencil(f,"multimedia","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".office_building;",e,e,"Office building", -null,null,null,this.getTagsForStencil(f,"office building","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".saml_token;",e,e,"SAML token",null,null,null,this.getTagsForStencil(f,"saml token","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".ssl_padlock;",e,e,"SSL padlock",null,null,null,this.getTagsForStencil(f,"ssl padlock","aws amazon web service general resources").join(" ")), -this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".tape_storage;",e,e,"Tape storage",null,null,null,this.getTagsForStencil(f,"tape storage","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".traditional_server;",e,e,"Traditional\nserver",null,null,null,this.getTagsForStencil(f,"traditional server","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".user;",e,e, -"User",null,null,null,this.getTagsForStencil(f,"user","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".users;",e,e,"Users",null,null,null,this.getTagsForStencil(f,"users","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".virtual_private_cloud;",e,e,"Virtual private\ncloud",null,null,null,this.getTagsForStencil(f,"virtual private cloud vpc","aws amazon web service general resources").join(" "))])}; +100,0,"","Open (double)",null,this.getTagsForStencil(a,"","aws amazon web service arrowsopen double").join(" "))])};Sidebar.prototype.addAWS4bGeneralResourcesPalette=function(a,b,e,d,c,f,g){this.addPaletteFunctions("aws4bGeneral Resources","AWS18 / General Resources",!1,[this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".aws_cloud;",e,e,"AWS Cloud",null,null,null,this.getTagsForStencil(f,"cloud","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+ +f+".client;",e,e,"Client",null,null,null,this.getTagsForStencil(f,"client","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".corporate_data_center;",e,e,"Corporate\ndata center",null,null,null,this.getTagsForStencil(f,"corporate data center","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".disk;",e,e,"Disk",null,null,null,this.getTagsForStencil(f,"disk","aws amazon web service general resources").join(" ")), +this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".forums;",e,e,"Forums",null,null,null,this.getTagsForStencil(f,"forums","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".generic_database;",e,e,"Generic\ndatabase",null,null,null,this.getTagsForStencil(f,"generic databas","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".internet;",e,e,"Internet",null,null, +null,this.getTagsForStencil(f,"internet","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".internet_alt1;",e,e,"Internet alt1",null,null,null,this.getTagsForStencil(f,"internet alternative","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".internet_alt2;",e,e,"Internet alt2",null,null,null,this.getTagsForStencil(f,"internet alternative","aws amazon web service general resources").join(" ")), +this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".mobile_client;",e,e,"Mobile client",null,null,null,this.getTagsForStencil(f,"mobile client","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".multimedia;",e,e,"Multimedia",null,null,null,this.getTagsForStencil(f,"multimedia","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".office_building;",e,e,"Office building", +null,null,null,this.getTagsForStencil(f,"office building","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".saml_token;",e,e,"SAML token",null,null,null,this.getTagsForStencil(f,"saml token","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".ssl_padlock;",e,e,"SSL padlock",null,null,null,this.getTagsForStencil(f,"ssl padlock","aws amazon web service general resources").join(" ")), +this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".tape_storage;",e,e,"Tape storage",null,null,null,this.getTagsForStencil(f,"tape storage","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".traditional_server;",e,e,"Traditional\nserver",null,null,null,this.getTagsForStencil(f,"traditional server","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".user;",e,e, +"User",null,null,null,this.getTagsForStencil(f,"user","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".users;",e,e,"Users",null,null,null,this.getTagsForStencil(f,"users","aws amazon web service general resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".virtual_private_cloud;",e,e,"Virtual private\ncloud",null,null,null,this.getTagsForStencil(f,"virtual private cloud vpc","aws amazon web service general resources").join(" "))])}; Sidebar.prototype.addAWS4bIllustrationsPalette=function(a,b,e){this.addPaletteFunctions("aws4bIllustrations","AWS18 / Illustrations",!1,[this.createVertexTemplateEntry(a+"illustration_users;pointerEvents=1",100,100,"users",null,null,null,this.getTagsForStencil(b,"users","aws amazon web service illustrations").join(" ")),this.createVertexTemplateEntry(a+"illustration_notification;pointerEvents=1",100,81,"notification",null,null,null,this.getTagsForStencil(b,"users","aws amazon web service illustrations").join(" ")), this.createVertexTemplateEntry(a+"illustration_devices;pointerEvents=1",100,73,"devices",null,null,null,this.getTagsForStencil(b,"devices","aws amazon web service illustrations").join(" ")),this.createVertexTemplateEntry(a+"illustration_desktop;pointerEvents=1",100,91,"desktop",null,null,null,this.getTagsForStencil(b,"desktop","aws amazon web service illustrations").join(" ")),this.createVertexTemplateEntry(a+"illustration_office_building;pointerEvents=1",100,71,"office building",null,null,null,this.getTagsForStencil(b, "office building","aws amazon web service illustrations").join(" "))])};Sidebar.prototype.addAWS4bGroupsLightPalette=function(a,b,e){this.addPaletteFunctions("aws4bGroups Light","AWS18 / Groups (light)",!1,[this.createVertexTemplateEntry(a+"group;grIcon="+b+".group_aws_cloud;strokeColor=#AAB7B8;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#AAB7B8;dashed=0;",130,130,"AWS Cloud","AWS Cloud",null,null,this.getTagsForStencil(b,"cloud","aws amazon web service groups group light").join(" ")), @@ -4360,139 +4360,139 @@ b+".group_on_premise;strokeColor=#858B94;fillColor=none;verticalAlign=top;align= "Auto Scaling Group",null,null,this.getTagsForStencil(b,"auto scaling","aws amazon web service groups group dark").join(" ")),this.createVertexTemplateEntry(a+"groupCenter;grIcon="+b+".group_elastic_load_balancing;grStroke=1;strokeColor=#00A1C9;fillColor=none;verticalAlign=top;align=center;fontColor=#00A1C9;dashed=0;spacingTop=25;",130,130,"Elastic Load Balancing","Elastic Load Balancing",null,null,this.getTagsForStencil(b,"elastic load balancing","aws amazon web service groups group dark").join(" ")), this.createVertexTemplateEntry("outlineConnect=0;gradientColor=none;html=1;whiteSpace=wrap;fontSize=12;fontStyle=0;strokeColor=#858B94;fillColor=none;verticalAlign=top;align=center;fontColor=#858B94;dashed=1;spacingTop=3;",130,130,"Generic Group","Generic Group",null,null,this.getTagsForStencil(b,"generic","aws amazon web service groups group dark").join(" ")),this.createVertexTemplateEntry("outlineConnect=0;gradientColor=none;html=1;whiteSpace=wrap;fontSize=12;fontStyle=0;strokeColor=#FF9900;fillColor=none;verticalAlign=top;align=center;fontColor=#FF9900;dashed=0;spacingTop=3;", 130,130,"Highlight","Highlight",null,null,this.getTagsForStencil(b,"highlight","aws amazon web service groups group dark").join(" ")),this.createVertexTemplateEntry(a+"group;grIcon="+b+".group_aws_step_functions_workflow;strokeColor=#E8E8E8;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#E8E8E8;dashed=0;",130,130,"AWS Step Functions workflow","AWS Step Functions workflow",null,null,this.getTagsForStencil(b,"step functions workflow","aws amazon web service groups group dark").join(" ")), -this.createVertexTemplateEntry(a+"group;grIcon="+b+".group_spot_fleet;strokeColor=#FFFFFF;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#FFFFFF;dashed=0;",130,130,"Spot Fleet","Spot Fleet",null,null,this.getTagsForStencil(b,"spot fleet","aws amazon web service groups group dark").join(" "))])};Sidebar.prototype.addAWS4bAnalyticsPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bAnalytics","AWS18 / Analytics",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+ -f+".athena;",a,b+10,"Amazon Athena",null,null,null,this.getTagsForStencil(f,"athena","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".cloudsearch;",a,b+10,"Amazon CloudSearch",null,null,null,this.getTagsForStencil(f,"cloudsearch cloud search","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".emr;",a,b,"Amazon EMR",null,null,null,this.getTagsForStencil(f,"emr","aws amazon web service analytics").join(" ")), -this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elasticsearch_service;",a,b+20,"Amazon Elasticsearch Service",null,null,null,this.getTagsForStencil(f,"elasticsearch elastic search service","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".kinesis;",a,b+10,"Amazon Kinesis",null,null,null,this.getTagsForStencil(f,"kinesis","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".kinesis_data_analytics;", -a,b+20,"Amazon Kinesis Data Analytics",null,null,null,this.getTagsForStencil(f,"kinesis data analytics","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".kinesis_data_firehose;",a,b+20,"Amazon Kinesis Data Firehose",null,null,null,this.getTagsForStencil(f,"kinesis data firehose","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".kinesis_data_streams;",a,b+20,"Amazon Kinesis Data Streams", -null,null,null,this.getTagsForStencil(f,"kinesis data streams","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".kinesis_video_streams;",a,b+20,"Amazon Kinesis Video Streams",null,null,null,this.getTagsForStencil(f,"kinesis video streams","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".redshift;",a,b+10,"Amazon Redshift",null,null,null,this.getTagsForStencil(f,"redshift","aws amazon web service analytics").join(" ")), -this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".quicksight;",a,b+10,"Amazon QuickSight",null,null,null,this.getTagsForStencil(f,"quicksight quick sight","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".data_pipeline;",a,b+10,"AWS Data Pipeline",null,null,null,this.getTagsForStencil(f,"data pipeline","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".glue;",a,b,"AWS Glue",null, -null,null,this.getTagsForStencil(f,"glue","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".search_documents;",e,e,"Search\ndocuments",null,null,null,this.getTagsForStencil(f,"search documents","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".cluster;",e,e,"Cluster",null,null,null,this.getTagsForStencil(f,"cluster","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(d+ -"resourceIcon;resIcon="+f+".hdfs_cluster;",e,e,"HDFS cluster",null,null,null,this.getTagsForStencil(f,"hdfs cluster","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".emr_engine;",e,e,"EMR engine",null,null,null,this.getTagsForStencil(f,"emr engine","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".emr_engine_mapr_m3;",e,e,"EMR engine\nMapR M3",null,null,null,this.getTagsForStencil(f, -"emr engine mapr m3","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".emr_engine_mapr_m5;",e,e,"EMR engine\nMapR M5",null,null,null,this.getTagsForStencil(f,"emr engine mapr m5","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".emr_engine_mapr_m7;",e,e,"EMR engine\nMapR M7",null,null,null,this.getTagsForStencil(f,"emr engine mapr m7","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(d+ -"resourceIcon;resIcon="+f+".dense_compute_node;",e,e,"Dense\ncompute Node",null,null,null,this.getTagsForStencil(f,"dense compute node","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".dense_storage_node;",e,e,"Dense\nstorage Node",null,null,null,this.getTagsForStencil(f,"dense storage node","aws amazon web service analytics").join(" "))])};Sidebar.prototype.addAWS4bApplicationIntegrationPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bApplication Integration", -"AWS18 / Application Integration",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".step_functions;",a,b+10,"AWS Step Functions",null,null,null,this.getTagsForStencil(f,"step functions","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".mq;",a,b,"Amazon MQ",null,null,null,this.getTagsForStencil(f,"mq","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+ -f+".sns;",a,b,"Amazon SNS",null,null,null,this.getTagsForStencil(f,"sns","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".sqs;",a,b,"Amazon SQS",null,null,null,this.getTagsForStencil(f,"sqs","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".appsync;",a,b,"AWS AppSync",null,null,null,this.getTagsForStencil(f,"appsync","aws amazon web service application integration").join(" ")), -this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".email_notification;",e,e,"Email\nnotification",null,null,null,this.getTagsForStencil(f,"email notification","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".http_notification;",e,e,"HTTP\nnotification",null,null,null,this.getTagsForStencil(f,"http notification","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+ -f+".topic;",e,e,"Topic",null,null,null,this.getTagsForStencil(f,"topic","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".message;",e,e,"Message",null,null,null,this.getTagsForStencil(f,"message","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".queue;",e,e,"Queue",null,null,null,this.getTagsForStencil(f,"queue","aws amazon web service application integration").join(" "))])}; -Sidebar.prototype.addAWS4bARVRPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bAR VR","AWS18 / AR & VR",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".sumerian;",a,b+10,"Amazon Sumerian",null,null,null,this.getTagsForStencil(f,"sumerian","aws amazon web service ar vr augmented virtual reality").join(" "))])};Sidebar.prototype.addAWS4bCostManagementPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bCost Management","AWS18 / Cost Management",!1,[this.createVertexTemplateEntry(c+ -"productIcon;prIcon="+f+".cost_explorer;",a,b+10,"AWS Cost Explorer",null,null,null,this.getTagsForStencil(f,"cost explorer","aws amazon web service cost management").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".budgets;",a,b,"AWS Budgets",null,null,null,this.getTagsForStencil(f,"budgets","aws amazon web service cost management").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".cost_and_usage_report;",a,b+10,"AWS Cost and Usage Report",null,null,null, -this.getTagsForStencil(f,"cost usage report","aws amazon web service cost management").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".reserved_instance_reporting;",a,b+20,"Reserved Instance Reporting",null,null,null,this.getTagsForStencil(f,"reserved instance reporting","aws amazon web service cost management").join(" "))])};Sidebar.prototype.addAWS4bBusinessProductivityPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bBusiness Productivity","AWS18 / Business Productivity", -!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".alexa_for_business;",a,b+10,"Alexa for Business",null,null,null,this.getTagsForStencil(f,"alexa for business","aws amazon web service business productivity").join(" "))])};Sidebar.prototype.addAWS4bComputePalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bCompute","AWS18 / Compute",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".ec2;",a,b,"Amazon EC2",null,null,null,this.getTagsForStencil(f,"ec2","aws amazon web service compute").join(" ")), -this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".ecr;",a,b,"Amazon ECR",null,null,null,this.getTagsForStencil(f,"ecr","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".ecs;",a,b,"Amazon ECS",null,null,null,this.getTagsForStencil(f,"ecs","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".eks;",a,b,"Amazon EKS",null,null,null,this.getTagsForStencil(f,"eks","aws amazon web service compute").join(" ")), -this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".lightsail;",a,b+10,"Amazon Lightsail",null,null,null,this.getTagsForStencil(f,"lightsail","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".batch;",a,b,"AWS Batch",null,null,null,this.getTagsForStencil(f,"batch","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elastic_beanstalk;",a,b+10,"AWS Elastic Beanstalk",null,null,null,this.getTagsForStencil(f, -"elastic beanstalk","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".fargate;",a,b,"AWS Fargate",null,null,null,this.getTagsForStencil(f,"fargate","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".lambda;",a,b,"AWS Lambda",null,null,null,this.getTagsForStencil(f,"lambda","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".serverless_application_repository;", -a,b+35,"AWS Serverless Application Repository",null,null,null,this.getTagsForStencil(f,"serverless application repository","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elastic_load_balancing;",a,b+10,"Elastic Load Balancing",null,null,null,this.getTagsForStencil(f,"elastic load balancing","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".application_load_balancer;",a,b+10,"Application Load Balancer", -null,null,null,this.getTagsForStencil(f,"application load balancer","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".classic_load_balancer;",a,b+10,"Classic Load Balancer",null,null,null,this.getTagsForStencil(f,"classic load balancer","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".network_load_balancer;",a,b+10,"Network Load Balancer",null,null,null,this.getTagsForStencil(f,"network load balancer", -"aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".vmware_cloud_on_aws;",a,b+10,"VMware Cloud on AWS",null,null,null,this.getTagsForStencil(f,"vmware cloud on","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".ami;",e,e,"AMI",null,null,null,this.getTagsForStencil(f,"ami","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".auto_scaling;", -e,e,"Auto Scaling",null,null,null,this.getTagsForStencil(f,"auto scaling","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".db_on_instance;",e,e,"DB on\nInstance",null,null,null,this.getTagsForStencil(f,"db on instance database","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".elastic_ip_address;",e,e,"Elastic IP\nAddress",null,null,null,this.getTagsForStencil(f,"elastic ip address internet protocol", -"aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".instance_with_cloudwatch;",e,e,"Instance with\nCloudWatch",null,null,null,this.getTagsForStencil(f,"instance with cloudwatch","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".instance;",e,e,"Instance",null,null,null,this.getTagsForStencil(f,"instance","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+ -f+".instances;",e,e,"Instances",null,null,null,this.getTagsForStencil(f,"instances","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".optimized_instance;",e,e,"Optimized\nInstance",null,null,null,this.getTagsForStencil(f,"optimized_instance","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".rescue;",e,e,"Rescue",null,null,null,this.getTagsForStencil(f,"rescue","aws amazon web service compute").join(" ")), -this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".spot_instance;",e,e,"Spot Instance",null,null,null,this.getTagsForStencil(f,"spot instance","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".x1_instance;",e,e,"X1 Instance",null,null,null,this.getTagsForStencil(f,"x1 instance","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".registry;",e,e,"Registry",null,null,null,this.getTagsForStencil(f, -"registry","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".container_1;",e,e,"Container 1",null,null,null,this.getTagsForStencil(f,"container","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".container_2;",e,e,"Container 2",null,null,null,this.getTagsForStencil(f,"container","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".container_3;", -e,e,"Container 3",null,null,null,this.getTagsForStencil(f,"container","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".application;",e,e,"Application",null,null,null,this.getTagsForStencil(f,"application","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".deployment;",e,e,"Deployment",null,null,null,this.getTagsForStencil(f,"deployment","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+ -"resourceIcon;resIcon="+f+".lambda_function;",e,e,"Lambda\nFunction",null,null,null,this.getTagsForStencil(f,"lambda function","aws amazon web service compute").join(" "))])};Sidebar.prototype.addAWS4bCustomerEngagementPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bCustomer Engagement","AWS18 / Customer Engagement",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".connect;",a,b+10,"Amazon Connect",null,null,null,this.getTagsForStencil(f,"connect","aws amazon web service customer engagement").join(" ")), -this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".pinpoint;",a,b+10,"Amazon Pinpoint",null,null,null,this.getTagsForStencil(f,"pinpoint","aws amazon web service customer engagement").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".simple_email_service;",a,b+10,"Amazon Simple Email Service",null,null,null,this.getTagsForStencil(f,"simple email service","aws amazon web service customer engagement").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+ -".email;",e,e,"Email",null,null,null,this.getTagsForStencil(f,"email","aws amazon web service customer engagement").join(" "))])};Sidebar.prototype.addAWS4bDatabasePalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bDatabase","AWS18 / Database",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".aurora;",a,b+10,"Amazon\nAurora",null,null,null,this.getTagsForStencil(f,"aurora","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+ -f+".dynamodb;",a,b+10,"Amazon DynamoDB",null,null,null,this.getTagsForStencil(f,"dynamodb","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elasticache;",a,b+10,"Amazon ElastiCache",null,null,null,this.getTagsForStencil(f,"elasticache","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elasticache_for_memcached;",a,b+20,"Amazon ElastiCache for Memcached",null,null,null,this.getTagsForStencil(f, -"elasticache for memcached","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elasticache_for_redis;",a,b+20,"Amazon ElastiCache for Redis",null,null,null,this.getTagsForStencil(f,"elasticache for redis","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".neptune;",a,b+10,"Amazon Neptune",null,null,null,this.getTagsForStencil(f,"neptune","aws amazon web service db database").join(" ")), -this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".rds;",a,b,"Amazon RDS",null,null,null,this.getTagsForStencil(f,"rds","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".redshift;",a,b+10,"Amazon Redshift",null,null,null,this.getTagsForStencil(f,"redshift","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".database_migration_service;",a,b+20,"AWS Database Migration Service",null, -null,null,this.getTagsForStencil(f,"db database migration service","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".attribute;",e,e,"Attribute",null,null,null,this.getTagsForStencil(f,"attribute","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".attributes;",e,e,"Attributes",null,null,null,this.getTagsForStencil(f,"attributes","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+ -"resourceIcon;resIcon="+f+".item;",e,e,"Item",null,null,null,this.getTagsForStencil(f,"item","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".items;",e,e,"Items",null,null,null,this.getTagsForStencil(f,"items","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".global_secondary_index;",e,e,"Global\nsecondary\nindex",null,null,null,this.getTagsForStencil(f,"global secondary index", -"aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".table;",e,e,"Table",null,null,null,this.getTagsForStencil(f,"table","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".cache_node;",e,e,"Cache node",null,null,null,this.getTagsForStencil(f,"cache node","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".db_instance;",e,e,"DB instance", -null,null,null,this.getTagsForStencil(f,"db instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".db_instance_standby;",e,e,"DB instance\nstandby",null,null,null,this.getTagsForStencil(f,"db instance standby","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".db_instance_read_replica;",e,e,"DB instance\nread replica",null,null,null,this.getTagsForStencil(f,"db instance read replica", -"aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".piop;",e,e,"PIOP",null,null,null,this.getTagsForStencil(f,"piop","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".ms_sql_instance;",e,e,"MS SQL\ninstance",null,null,null,this.getTagsForStencil(f,"ms sql instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".ms_sql_instance_alternate;", -e,e,"MS SQL\ninstance\nalternate",null,null,null,this.getTagsForStencil(f,"ms sql instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".mysql_db_instance;",e,e,"MySQL DB \ninstance",null,null,null,this.getTagsForStencil(f,"mysql db database instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".mysql_db_instance_alternate;",e,e,"MySQL DB \ninstance\nalternate",null,null, -null,this.getTagsForStencil(f,"mysql db database instance alternate","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".oracle_db_instance;",e,e,"Oracle DB \ninstance",null,null,null,this.getTagsForStencil(f,"oracle db database instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".oracle_db_instance_alternate;",e,e,"Oracle DB \ninstance\nalternate",null,null,null,this.getTagsForStencil(f, -"oracle db database instance alternate","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".sql_primary;",e,e,"SQL primary",null,null,null,this.getTagsForStencil(f,"sql primary","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".sql_replica;",e,e,"SQL replica",null,null,null,this.getTagsForStencil(f,"sql replica","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+ -"resourceIcon;resIcon="+f+".postgresql_instance;",e,e,"PostgreSQL\ninstance",null,null,null,this.getTagsForStencil(f,"postresql instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".dense_compute_node;",e,e,"Dense\ncompute node",null,null,null,this.getTagsForStencil(f,"dense compute node","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".dense_storage_node;",e,e,"Dense\nstorage node", -null,null,null,this.getTagsForStencil(f,"dense storage node","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".database_migration_workflow_job;",e,e,"Database\nmigration\nworkflow/job",null,null,null,this.getTagsForStencil(f,"database migration workflow job","aws amazon web service db database").join(" "))])};Sidebar.prototype.addAWS4bDesktopAppStreamingPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bDesktop App Streaming", -"AWS18 / Desktop & App Streaming",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".appstream_20;",a,b+10,"Amazon AppStream 2.0",null,null,null,this.getTagsForStencil(f,"appstream","aws amazon web service db database").join(" "))])};Sidebar.prototype.addAWS4bDeveloperToolsPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bDeveloper Tools","AWS18 / Developer Tools",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".codestar;",a,b,"AWS CodeStar",null,null,null,this.getTagsForStencil(f, -"codestar","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".cloud9;",a,b,"AWS Cloud9",null,null,null,this.getTagsForStencil(f,"cloud9","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".codebuild;",a,b+10,"AWS CodeBuild",null,null,null,this.getTagsForStencil(f,"codebuild","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+ -f+".codecommit;",a,b+10,"AWS CodeCommit",null,null,null,this.getTagsForStencil(f,"codecommit","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".codedeploy;",a,b+10,"AWS CodeDeploy",null,null,null,this.getTagsForStencil(f,"codedeploy","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".codepipeline;",a,b+10,"AWS CodePipeline",null,null,null,this.getTagsForStencil(f,"codepipeline", -"aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".command_line_interface;",a,b+20,"AWS\nCommand Line Interface",null,null,null,this.getTagsForStencil(f,"command line interface","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".tools_and_sdks;",a,b+10,"AWS Tools and SDKs",null,null,null,this.getTagsForStencil(f,"tools and sdks software development kit","aws amazon web service dev developer tools").join(" ")), -this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".xray;",a,b,"AWS X-Ray",null,null,null,this.getTagsForStencil(f,"ray xray","aws amazon web service dev developer tools").join(" "))])};Sidebar.prototype.addAWS4bGameDevelopmentPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bGame Development","AWS18 / Game Development",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".gamelift;",a,b+10,"Amazon GameLift",null,null,null,this.getTagsForStencil(f,"gamelift","aws amazon web service game development").join(" "))])}; -Sidebar.prototype.addAWS4bInternetOfThingsPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bInternet of Things","AWS18 / Internet of Things",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".iot_core;",a,b+10,"Amazon IoT Core",null,null,null,this.getTagsForStencil(f,"core","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".freertos;",a,b+10,"Amazon FreeRTOS",null,null,null,this.getTagsForStencil(f,"freertos free rtos", -"aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".greengrass;",a,b+10,"AWS Greengrass",null,null,null,this.getTagsForStencil(f,"greengrass","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".iot_1click;",a,b+10,"AWS IoT\n1-Click",null,null,null,this.getTagsForStencil(f,"1click one click","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(c+ -"productIcon;prIcon="+f+".iot_analytics;",a,b+10,"AWS IoT Analytics",null,null,null,this.getTagsForStencil(f,"analytics","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".iot_button;",a,b+10,"AWS IoT Button",null,null,null,this.getTagsForStencil(f,"button","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".iot_device_defender;",a,b+20,"AWS IoT Device Defender",null, -null,null,this.getTagsForStencil(f,"device defender","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".iot_device_management;",a,b+20,"AWS IoT Device Management",null,null,null,this.getTagsForStencil(f,"device management","aws amazon web service internet of things iot").join(" "))])};Sidebar.prototype.addAWS4bIOTThingsPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bIoT Things","AWS18 / IoT Things",!1,[this.createVertexTemplateEntry(d+ -"resourceIcon;resIcon="+f+".bank;",e,e,"Bank",null,null,null,this.getTagsForStencil(f,"bank","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".bycicle;",e,e,"Bycicle",null,null,null,this.getTagsForStencil(f,"bycicle","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".camera;",e,e,"Camera",null,null,null,this.getTagsForStencil(f,"camera","aws amazon web service internet of things iot").join(" ")), -this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".car;",e,e,"Car",null,null,null,this.getTagsForStencil(f,"car","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".cart;",e,e,"Cart",null,null,null,this.getTagsForStencil(f,"cart","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".coffee_pot;",e,e,"Coffee Pot",null,null,null,this.getTagsForStencil(f,"coffee pot", -"aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".door_lock;",e,e,"Door Lock",null,null,null,this.getTagsForStencil(f,"door lock","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".factory;",e,e,"Factory",null,null,null,this.getTagsForStencil(f,"factory","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+ -f+".generic;",e,e,"Generic",null,null,null,this.getTagsForStencil(f,"generic","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".house;",e,e,"House",null,null,null,this.getTagsForStencil(f,"house","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".lightbulb;",e,e,"Lightbulb",null,null,null,this.getTagsForStencil(f,"lightbulb","aws amazon web service internet of things iot").join(" ")), -this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".medical_emergency;",e,e,"Medical\nEmergency",null,null,null,this.getTagsForStencil(f,"medical emergency","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".police_emergency;",e,e,"Police\nEmergency",null,null,null,this.getTagsForStencil(f,"police emergency","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+ -f+".thermostat;",e,e,"Thermostat",null,null,null,this.getTagsForStencil(f,"thermostat","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".travel;",e,e,"Travel",null,null,null,this.getTagsForStencil(f,"travel","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".utility;",e,e,"Utility",null,null,null,this.getTagsForStencil(f,"utility","aws amazon web service internet of things iot").join(" ")), -this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".windfarm;",e,e,"Windfarm",null,null,null,this.getTagsForStencil(f,"windfarm","aws amazon web service internet of things iot").join(" "))])};Sidebar.prototype.addAWS4bIOTResourcesPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bIoT Resources","AWS18 / IoT Resources",!1,[this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".action;",e,e,"Action",null,null,null,this.getTagsForStencil(f,"action","aws amazon web service internet of things iot resources").join(" ")), -this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".actuator;",e,e,"Actuator",null,null,null,this.getTagsForStencil(f,"actuator","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".alexa_enabled_device;",e,e,"Alexa enabled\ndevice",null,null,null,this.getTagsForStencil(f,"alexa enabled device","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+ -f+".alexa_skill;",e,e,"Alexa skill",null,null,null,this.getTagsForStencil(f,"alexa skill","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".alexa_smart_home_skill;",e,e,"Alexa smart\nhome skill",null,null,null,this.getTagsForStencil(f,"alexa smart home skill","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".alexa_voice_service;",e,e,"Alexa voice\nservice", -null,null,null,this.getTagsForStencil(f,"alexa voice service","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".certificate_manager;",e,e,"Certificate\nmanager",null,null,null,this.getTagsForStencil(f,"certificate manager","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".desired_state;",e,e,"Desired state",null,null,null,this.getTagsForStencil(f, -"desired state","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".echo;",e,e,"Echo",null,null,null,this.getTagsForStencil(f,"echo","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".firetv_stick;",e,e,"FireTV stick",null,null,null,this.getTagsForStencil(f,"firetv fire tv stick","aws amazon web service internet of things iot resources").join(" ")), -this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".firetv;",e,e,"FireTV",null,null,null,this.getTagsForStencil(f,"firetv fire tv","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".hardware_board;",e,e,"Hardware\nboard",null,null,null,this.getTagsForStencil(f,"hardware board","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".http2_protocol;", -e,e,"HTTP/2\nprotocol",null,null,null,this.getTagsForStencil(f,"http2 protocol","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".http_protocol;",e,e,"HTTP\nprotocol",null,null,null,this.getTagsForStencil(f,"http protocol","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".lambda_function;",e,e,"Lambda Function",null,null,null,this.getTagsForStencil(f, -"lambda function","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".mqtt_protocol;",e,e,"MQTT\nprotocol",null,null,null,this.getTagsForStencil(f,"mqtt protocol","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".policy;",e,e,"Policy",null,null,null,this.getTagsForStencil(f,"policy","aws amazon web service internet of things iot resources").join(" ")), -this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".reported_state;",e,e,"Reported\nstate",null,null,null,this.getTagsForStencil(f,"reported state","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".rule;",e,e,"Rule",null,null,null,this.getTagsForStencil(f,"rule","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".sensor;",e,e,"Sensor", -null,null,null,this.getTagsForStencil(f,"sensor","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".servo;",e,e,"Servo",null,null,null,this.getTagsForStencil(f,"servo","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".shadow;",e,e,"Shadow",null,null,null,this.getTagsForStencil(f,"shadow","aws amazon web service internet of things iot resources").join(" ")), -this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".simulator;",e,e,"Simulator",null,null,null,this.getTagsForStencil(f,"simulator","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".topic_2;",e,e,"Topic",null,null,null,this.getTagsForStencil(f,"topic","aws amazon web service internet of things iot resources").join(" "))])};Sidebar.prototype.addAWS4bMachineLearningPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bMachine Learning", -"AWS18 / Machine Learning",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".sagemaker;",a,b+10,"Amazon SageMaker",null,null,null,this.getTagsForStencil(f,"sagemaker","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".comprehend;",a,b+10,"Amazon Comprehend",null,null,null,this.getTagsForStencil(f,"comprehend","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".lex;", -a,b,"Amazon Lex",null,null,null,this.getTagsForStencil(f,"lex","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".polly;",a,b,"Amazon Polly",null,null,null,this.getTagsForStencil(f,"polly","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".rekognition;",a,b+10,"Amazon Rekognition",null,null,null,this.getTagsForStencil(f,"rekognition","aws amazon web service machine learning").join(" ")), -this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".rekognition_image;",a,b+20,"Amazon Rekognition Image",null,null,null,this.getTagsForStencil(f,"rekognition image","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".rekognition_video;",a,b+20,"Amazon Rekognition Video",null,null,null,this.getTagsForStencil(f,"rekognition video","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+ -f+".translate;",a,b+10,"Amazon Translate",null,null,null,this.getTagsForStencil(f,"translate","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".transcribe;",a,b+10,"Amazon Transcribe",null,null,null,this.getTagsForStencil(f,"transcribe","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".deep_learning_amis;",a,b+10,"AWS Deep Learning AMIs",null,null,null,this.getTagsForStencil(f, -"deep learning amis","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".deeplens;",a,b,"AWS DeepLens",null,null,null,this.getTagsForStencil(f,"deeplens","aws amazon web service machine learning").join(" "))])};Sidebar.prototype.addAWS4bManagementToolsPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bManagement Tools","AWS18 / Management Tools",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".cloudwatch;",a,b+ -10,"Amazon CloudWatch",null,null,null,this.getTagsForStencil(f,"cloudwatch","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".autoscaling;",a,b+10,"AWS Auto Scaling",null,null,null,this.getTagsForStencil(f,"auto scaling","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".cloudformation;",a,b+10,"AWS CloudFormation",null,null,null,this.getTagsForStencil(f,"cloudformation","aws amazon web service management tools").join(" ")), -this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".cloudtrail;",a,b+10,"AWS\nCloudTrail",null,null,null,this.getTagsForStencil(f,"cloudtrail","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".command_line_interface;",a,b+20,"AWS\nCommand Line Interface",null,null,null,this.getTagsForStencil(f,"command line interface","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+ -".config;",a,b,"AWS Config",null,null,null,this.getTagsForStencil(f,"config","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".management_console;",a,b+20,"AWS Management Console",null,null,null,this.getTagsForStencil(f,"management console","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".managed_services;",a,b+10,"AWS Managed Services",null,null,null,this.getTagsForStencil(f, -"managed services","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".opsworks;",a,b+10,"AWS OpsWorks",null,null,null,this.getTagsForStencil(f,"opsworks","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".service_catalog;",a,b+10,"AWS Service Catalog",null,null,null,this.getTagsForStencil(f,"service catalog","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+ -"productIcon;prIcon="+f+".personal_health_dashboard;",a,b+20,"AWS Personal Health Dashboard",null,null,null,this.getTagsForStencil(f,"personal health dashboard","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".systems_manager;",a,b+10,"AWS Systems Manager",null,null,null,this.getTagsForStencil(f,"systems manager","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".trusted_advisor;", -a,b+10,"AWS Trusted Advisor",null,null,null,this.getTagsForStencil(f,"trusted advisor","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".marketplace;",a,b+10,"AWS Marketplace",null,null,null,this.getTagsForStencil(f,"marketplace","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".alarm;",e,e,"Alarm",null,null,null,this.getTagsForStencil(f,"alarm","aws amazon web service management tools").join(" ")), -this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".event_event_based;",e,e,"Event (event-\nbased)",null,null,null,this.getTagsForStencil(f,"event event based","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".event_time_based;",e,e,"Event (time-\nbased)",null,null,null,this.getTagsForStencil(f,"event time based","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+ -".rule_2;",e,e,"Rule",null,null,null,this.getTagsForStencil(f,"rule","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".change_set;",e,e,"Change set",null,null,null,this.getTagsForStencil(f,"change set","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".stack;",e,e,"Stack",null,null,null,this.getTagsForStencil(f,"stack","aws amazon web service management tools").join(" ")), -this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".template;",e,e,"Template",null,null,null,this.getTagsForStencil(f,"template","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".apps;",e,e,"Apps",null,null,null,this.getTagsForStencil(f,"apps","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".deployments;",e,e,"Deployments",null,null,null,this.getTagsForStencil(f, -"deployments","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".instances_2;",e,e,"Instances",null,null,null,this.getTagsForStencil(f,"instances","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".layers;",e,e,"Layers",null,null,null,this.getTagsForStencil(f,"layers","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+ -f+".monitoring;",e,e,"Monitoring",null,null,null,this.getTagsForStencil(f,"monitoring","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".permissions;",e,e,"Permissions",null,null,null,this.getTagsForStencil(f,"permissions","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".resources;",e,e,"Resources",null,null,null,this.getTagsForStencil(f,"resources","aws amazon web service management tools").join(" ")), -this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".stack2;",e,e,"Stack2",null,null,null,this.getTagsForStencil(f,"stack stack2","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".automation;",e,e,"Automation",null,null,null,this.getTagsForStencil(f,"automation","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".documents;",e,e,"Documents",null,null,null,this.getTagsForStencil(f, -"documents","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".inventory;",e,e,"Inventory",null,null,null,this.getTagsForStencil(f,"inventory","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".maintenance_windows;",e,e,"Maintenance\nwindows",null,null,null,this.getTagsForStencil(f,"maintenance windows","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+ -"resourceIcon;resIcon="+f+".parameter_store;",e,e,"Parameter\nStore",null,null,null,this.getTagsForStencil(f,"parameter store","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".patch_manager;",e,e,"Patch\nmanager",null,null,null,this.getTagsForStencil(f,"patch manager","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".patch_manager;",e,e,"Patch\nmanager",null,null,null, -this.getTagsForStencil(f,"patch manager","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".run_command;",e,e,"Run\ncommand",null,null,null,this.getTagsForStencil(f,"run command","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".state_manager;",e,e,"State\nmanager",null,null,null,this.getTagsForStencil(f,"state manager","aws amazon web service management tools").join(" ")), -this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".checklist_cost;",e,e,"Checklist cost",null,null,null,this.getTagsForStencil(f,"checklist cost","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".checklist_fault_tolerant;",e,e,"Checklist fault\ntolerant",null,null,null,this.getTagsForStencil(f,"checklist fault tolerant","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+ -f+".checklist_performance;",e,e,"Checklist\nperformance",null,null,null,this.getTagsForStencil(f,"checklist performance","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".checklist_security;",e,e,"Checklist\nsecurity",null,null,null,this.getTagsForStencil(f,"checklist security","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".checklist;",e,e,"Checklist",null,null,null, -this.getTagsForStencil(f,"checklist","aws amazon web service management tools").join(" "))])};Sidebar.prototype.addAWS4bMediaServicesPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bMedia Services","AWS18 / Media Services",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elastic_transcoder;",a,b+10,"Amazon Elastic Transcoder",null,null,null,this.getTagsForStencil(f,"elastic transcoder","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(c+ -"productIcon;prIcon="+f+".kinesis_video_streams;",a,b+20,"Amazon Kinesis Video Streams",null,null,null,this.getTagsForStencil(f,"kinesis video streams","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elemental_mediaconvert;",a,b+10,"AWS Elemental MediaConvert",null,null,null,this.getTagsForStencil(f,"elemental mediaconvert","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elemental_medialive;", -a,b+10,"AWS Elemental MediaLive",null,null,null,this.getTagsForStencil(f,"elemental medialive","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elemental_mediapackage;",a,b+10,"AWS Elemental MediaPackage",null,null,null,this.getTagsForStencil(f,"elemental mediapackage","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elemental_mediastore;",a,b+10,"AWS Elemental MediaStore",null, -null,null,this.getTagsForStencil(f,"elemental mediastore","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elemental_mediatailor;",a,b+10,"AWS Elemental MediaTailor",null,null,null,this.getTagsForStencil(f,"elemental mediatailor","aws amazon web service media services").join(" "))])};Sidebar.prototype.addAWS4bMigrationPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bMigration","AWS18 / Migration",!1,[this.createVertexTemplateEntry(c+ -"productIcon;prIcon="+f+".migration_hub;",a,b+10,"AWS Migration Hub",null,null,null,this.getTagsForStencil(f,"migration hub","aws amazon web service migration").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".application_discovery_service;",a,b+35,"AWS Application Discovery Service",null,null,null,this.getTagsForStencil(f,"application discovery service","aws amazon web service migration").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".database_migration_service;", -a,b+20,"AWS Database Migration Service",null,null,null,this.getTagsForStencil(f,"db database migration service","aws amazon web service migration").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".server_migration_service;",a,b+20,"AWS Server Migration Service",null,null,null,this.getTagsForStencil(f,"server migration service","aws amazon web service migration").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".snowball;",a,b,"AWS Snowball",null,null,null, -this.getTagsForStencil(f,"snowball","aws amazon web service migration").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".snowball_edge;",a,b+10,"AWS Snowball Edge",null,null,null,this.getTagsForStencil(f,"snowball edge","aws amazon web service migration").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".snowmobile;",a,b+10,"AWS Snowmobile",null,null,null,this.getTagsForStencil(f,"snowmobile","aws amazon web service migration").join(" "))])};Sidebar.prototype.addAWS4bMobileServicesPalette= -function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bMobile Services","AWS18 / Mobile Services",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".appsync;",a,b,"AWS AppSync",null,null,null,this.getTagsForStencil(f,"appsync","aws amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".api_gateway;",a,b+10,"Amazon API Gateway",null,null,null,this.getTagsForStencil(f,"api gateway application programming interface","aws amazon web service mobile services").join(" ")), -this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".device_farm;",a,b+10,"AWS Device Farm",null,null,null,this.getTagsForStencil(f,"device farm","aws amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".mobile_hub;",a,b+10,"AWS Mobile Hub",null,null,null,this.getTagsForStencil(f,"mobile hub","aws amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".pinpoint;",a,b+10,"Amazon Pinpoint", -null,null,null,this.getTagsForStencil(f,"pinpoint","aws amazon web service mobile services").join(" "))])};Sidebar.prototype.addAWS4bNetworkContentDeliveryPalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bNetwork Content Delivery","AWS18 / Network & Content Delivery",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".vpc;",a,b,"Amazon VPC",null,null,null,this.getTagsForStencil(f,"vpc virtual private cloud","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(c+ -"productIcon;prIcon="+f+".api_gateway;",a,b+10,"Amazon API Gateway",null,null,null,this.getTagsForStencil(f,"api application programming interface gateway","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".cloudfront;",a,b+10,"Amazon Cloudfront",null,null,null,this.getTagsForStencil(f,"cloudfront","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".privatelink;", -a,b+10,"AWS PrivateLink",null,null,null,this.getTagsForStencil(f,"privatelink","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".route_53;",a,b+10,"Amazon Route 53",null,null,null,this.getTagsForStencil(f,"route 53","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".direct_connect;",a,b+10,"AWS Direct Connect",null,null,null,this.getTagsForStencil(f,"direct connect", -"aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".customer_gateway;",e,e,"Customer\ngateway",null,null,null,this.getTagsForStencil(f,"customer gateway","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".elastic_network_adapter;",e,e,"Elastic\nnetwork\nadapter",null,null,null,this.getTagsForStencil(f,"elastic network adapter","aws amazon web service netowrk content delivery").join(" ")), -this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".elastic_network_interface;",e,e,"Elastic\nnetwork\ninterface",null,null,null,this.getTagsForStencil(f,"elastic network interface","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".endpoints;",e,e,"Endpoints",null,null,null,this.getTagsForStencil(f,"endpoints","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+ -f+".flow_logs;",e,e,"Flow logs",null,null,null,this.getTagsForStencil(f,"flow logs","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".internet_gateway;",e,e,"Internet\ngateway",null,null,null,this.getTagsForStencil(f,"internet gateway","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".nat_gateway;",e,e,"NAT gateway",null,null,null,this.getTagsForStencil(f, -"nat gateway","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".network_access_control_list;",e,e,"Network\naccess\ncontrol list",null,null,null,this.getTagsForStencil(f,"network access control list","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".peering;",e,e,"Peering",null,null,null,this.getTagsForStencil(f,"peering","aws amazon web service netowrk content delivery").join(" ")), -this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".router;",e,e,"Router",null,null,null,this.getTagsForStencil(f,"router","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".vpn_connection;",e,e,"VPN\nConnection",null,null,null,this.getTagsForStencil(f,"vpn virtual private network connection","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".vpn_gateway;", -e,e,"VPN Gateway",null,null,null,this.getTagsForStencil(f,"vpn virtual private network gateway","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".download_distribution;",e,e,"Download\ndistribution",null,null,null,this.getTagsForStencil(f,"download distribution","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".edge_location;",e,e,"Edge location",null,null, -null,this.getTagsForStencil(f,"edge location","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".streaming_distribution;",e,e,"Streaming\ndistribution",null,null,null,this.getTagsForStencil(f,"streaming distribution","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".hosted_zone;",e,e,"Hosted zone",null,null,null,this.getTagsForStencil(f,"hosted zone","aws amazon web service netowrk content delivery").join(" ")), -this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".route_table;",e,e,"Route table",null,null,null,this.getTagsForStencil(f,"route table","aws amazon web service netowrk content delivery").join(" "))])};Sidebar.prototype.addAWS4bSecurityIdentityCompliancePalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bSecurity Identity Compliance","AWS18 / Security, Identity & Compliance",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".identity_and_access_management;",a,b+20, -"AWS Identity and Access Management",null,null,null,this.getTagsForStencil(f,"identity and access management","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".cognito;",a,b+10,"Amazon Cognito",null,null,null,this.getTagsForStencil(f,"cognito","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".guardduty;",a,b+10,"Amazon GuardDuty",null,null,null,this.getTagsForStencil(f, -"guard duty guardduty","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".inspector;",a,b+10,"Amazon Inspector",null,null,null,this.getTagsForStencil(f,"inspector","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".artifact;",a,b,"AWS Artifact",null,null,null,this.getTagsForStencil(f,"artifact","aws amazon web service security identity compliance").join(" ")), -this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".certificate_manager_3;",a,b+10,"AWS Certificate Manager",null,null,null,this.getTagsForStencil(f,"certificate manager","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".cloudhsm;",a,b+10,"AWS CloudHSM",null,null,null,this.getTagsForStencil(f,"cloudhsm","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+ -f+".directory_service;",a,b+10,"AWS Directory Service",null,null,null,this.getTagsForStencil(f,"directory service","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".firewall_manager;",a,b+10,"AWS Firewall Manager",null,null,null,this.getTagsForStencil(f,"firewall manager","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".key_management_service;",a,b+ -20,"AWS Key Management Service",null,null,null,this.getTagsForStencil(f,"key management service","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".secrets_manager;",a,b+10,"AWS Secrets Manager",null,null,null,this.getTagsForStencil(f,"secrets manager","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".shield;",a,b,"AWS Shield",null,null,null,this.getTagsForStencil(f, -"shield","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".single_sign_on;",a,b+10,"AWS Single Sign-On",null,null,null,this.getTagsForStencil(f,"single sign on","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".waf;",a,b,"AWS WAF",null,null,null,this.getTagsForStencil(f,"waf","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(d+ -"resourceIcon;resIcon="+f+".addon;",e,e,"Add-on",null,null,null,this.getTagsForStencil(f,"addon add on","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".sts;",e,e,"AWS STS",null,null,null,this.getTagsForStencil(f,"sts","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".sts_alternate;",e,e,"AWS STS\n(alternate)",null,null,null,this.getTagsForStencil(f, -"sts alternate","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".data_encryption_key;",e,e,"Data\nencryption\nkey",null,null,null,this.getTagsForStencil(f,"data encryption key","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".encrypted_data;",e,e,"Encrypted\ndata",null,null,null,this.getTagsForStencil(f,"encrypted data","aws amazon web service security identity compliance").join(" ")), -this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".long_term_security_credential;",e,e,"Long-term\nsecurity\ncredential",null,null,null,this.getTagsForStencil(f,"long term security credential","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".mfa_token;",e,e,"MFA Token",null,null,null,this.getTagsForStencil(f,"mfa token","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(d+ -"resourceIcon;resIcon="+f+".permissions;",e,e,"Permissions",null,null,null,this.getTagsForStencil(f,"permissions","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".role;",e,e,"Role",null,null,null,this.getTagsForStencil(f,"role","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".temporary_security_credential;",e,e,"Temporary\nsecurity\ncredential", -null,null,null,this.getTagsForStencil(f,"temporary security credential","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".agent;",e,e,"Agent",null,null,null,this.getTagsForStencil(f,"agent","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".certificate_manager_2;",e,e,"Certificate\nmanager",null,null,null,this.getTagsForStencil(f,"certificate manager", -"aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".filtering_rule;",e,e,"Filtering rule",null,null,null,this.getTagsForStencil(f,"filtering rule","aws amazon web service security identity compliance").join(" "))])};Sidebar.prototype.addAWS4bStoragePalette=function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bStorage","AWS18 / Storage",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".s3;",a,b,"Amazon S3",null, -null,null,this.getTagsForStencil(f,"s3","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elastic_block_store;",a,b+10,"Amazon Elastic Block Store",null,null,null,this.getTagsForStencil(f,"elastic block store","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".elastic_file_system;",a,b+10,"Amazon Elastic File System",null,null,null,this.getTagsForStencil(f,"elastic file system","aws amazon web service storage").join(" ")), -this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".glacier;",a,b+10,"Amazon Glacier",null,null,null,this.getTagsForStencil(f,"glacier","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".snowball;",a,b,"AWS Snowball",null,null,null,this.getTagsForStencil(f,"snowball","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".snowball_edge;",a,b+10,"AWS Snowball Edge",null,null,null,this.getTagsForStencil(f, -"snowball edge","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".snowmobile;",a,b+10,"AWS Snowmobile",null,null,null,this.getTagsForStencil(f,"snowmobile","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".storage_gateway;",a,b+10,"AWS Storage Gateway",null,null,null,this.getTagsForStencil(f,"storage gateway","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+ -f+".bucket;",e,e,"Bucket",null,null,null,this.getTagsForStencil(f,"bucket","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".snapshot;",e,e,"Snapshot",null,null,null,this.getTagsForStencil(f,"snapshot","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".bucket_with_objects;",e,e,"Bucket with\nobjects",null,null,null,this.getTagsForStencil(f,"bucket with objects","aws amazon web service storage").join(" ")), -this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".volume;",e,e,"Volume",null,null,null,this.getTagsForStencil(f,"volume","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".object;",e,e,"Object",null,null,null,this.getTagsForStencil(f,"object","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".archive;",e,e,"Archive",null,null,null,this.getTagsForStencil(f,"archive","aws amazon web service storage").join(" ")), -this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".vault;",e,e,"Vault",null,null,null,this.getTagsForStencil(f,"vault","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".import_export;",e,e,"Import/Export",null,null,null,this.getTagsForStencil(f,"import export","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".cached_volume;",e,e,"Cached\nvolume",null,null,null,this.getTagsForStencil(f, -"cached volume","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".non_cached_volume;",e,e,"Non-Cached\nvolume",null,null,null,this.getTagsForStencil(f,"non cached volume","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".virtual_tape_library;",e,e,"Virtual tape\nlibrary",null,null,null,this.getTagsForStencil(f,"virtual tape library vtl","aws amazon web service storage").join(" "))])}})();(function(){Sidebar.prototype.addAzurePalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;align=center;strokeColor=none;fillColor=#00BEF2;shape=mxgraph.azure.";this.addPaletteFunctions("azure",mxResources.get("azure"),!1,[this.createVertexTemplateEntry(a+"access_control;",50,50,"","Access Control",null,null,this.getTagsForStencil("mxgraph.azure","access_control","").join(" ")),this.createVertexTemplateEntry(a+"automation;pointerEvents=1;", +this.createVertexTemplateEntry(a+"group;grIcon="+b+".group_spot_fleet;strokeColor=#FFFFFF;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#FFFFFF;dashed=0;",130,130,"Spot Fleet","Spot Fleet",null,null,this.getTagsForStencil(b,"spot fleet","aws amazon web service groups group dark").join(" "))])};Sidebar.prototype.addAWS4bAnalyticsPalette=function(a,b,e,d,c,f,g){this.addPaletteFunctions("aws4bAnalytics","AWS18 / Analytics",!1,[this.createVertexTemplateEntry(d+"productIcon;prIcon="+ +f+".athena;",a,b+10,"Amazon Athena",null,null,null,this.getTagsForStencil(f,"athena","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".cloudsearch;",a,b+10,"Amazon CloudSearch",null,null,null,this.getTagsForStencil(f,"cloudsearch cloud search","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".emr;",a,b,"Amazon EMR",null,null,null,this.getTagsForStencil(f,"emr","aws amazon web service analytics").join(" ")), +this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".elasticsearch_service;",a,b+20,"Amazon Elasticsearch Service",null,null,null,this.getTagsForStencil(f,"elasticsearch elastic search service","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".kinesis;",a,b+10,"Amazon Kinesis",null,null,null,this.getTagsForStencil(f,"kinesis","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".kinesis_data_analytics;", +a,b+20,"Amazon Kinesis Data Analytics",null,null,null,this.getTagsForStencil(f,"kinesis data analytics","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".kinesis_data_firehose;",a,b+20,"Amazon Kinesis Data Firehose",null,null,null,this.getTagsForStencil(f,"kinesis data firehose","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".kinesis_data_streams;",a,b+20,"Amazon Kinesis Data Streams", +null,null,null,this.getTagsForStencil(f,"kinesis data streams","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".kinesis_video_streams;",a,b+20,"Amazon Kinesis Video Streams",null,null,null,this.getTagsForStencil(f,"kinesis video streams","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".redshift;",a,b+10,"Amazon Redshift",null,null,null,this.getTagsForStencil(f,"redshift","aws amazon web service analytics").join(" ")), +this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".quicksight;",a,b+10,"Amazon QuickSight",null,null,null,this.getTagsForStencil(f,"quicksight quick sight","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".data_pipeline;",a,b+10,"AWS Data Pipeline",null,null,null,this.getTagsForStencil(f,"data pipeline","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".glue;",a,b,"AWS Glue",null, +null,null,this.getTagsForStencil(f,"glue","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".search_documents;",e,e,"Search\ndocuments",null,null,null,this.getTagsForStencil(f,"search documents","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".cluster;",e,e,"Cluster",null,null,null,this.getTagsForStencil(f,"cluster","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(c+ +"resourceIcon;resIcon="+f+".hdfs_cluster;",e,e,"HDFS cluster",null,null,null,this.getTagsForStencil(f,"hdfs cluster","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".emr_engine;",e,e,"EMR engine",null,null,null,this.getTagsForStencil(f,"emr engine","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".emr_engine_mapr_m3;",e,e,"EMR engine\nMapR M3",null,null,null,this.getTagsForStencil(f, +"emr engine mapr m3","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".emr_engine_mapr_m5;",e,e,"EMR engine\nMapR M5",null,null,null,this.getTagsForStencil(f,"emr engine mapr m5","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".emr_engine_mapr_m7;",e,e,"EMR engine\nMapR M7",null,null,null,this.getTagsForStencil(f,"emr engine mapr m7","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(c+ +"resourceIcon;resIcon="+f+".dense_compute_node;",e,e,"Dense\ncompute Node",null,null,null,this.getTagsForStencil(f,"dense compute node","aws amazon web service analytics").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".dense_storage_node;",e,e,"Dense\nstorage Node",null,null,null,this.getTagsForStencil(f,"dense storage node","aws amazon web service analytics").join(" "))])};Sidebar.prototype.addAWS4bApplicationIntegrationPalette=function(a,b,e,d,c,f,g){this.addPaletteFunctions("aws4bApplication Integration", +"AWS18 / Application Integration",!1,[this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".step_functions;",a,b+10,"AWS Step Functions",null,null,null,this.getTagsForStencil(f,"step functions","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".mq;",a,b,"Amazon MQ",null,null,null,this.getTagsForStencil(f,"mq","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+ +f+".sns;",a,b,"Amazon SNS",null,null,null,this.getTagsForStencil(f,"sns","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".sqs;",a,b,"Amazon SQS",null,null,null,this.getTagsForStencil(f,"sqs","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".appsync;",a,b,"AWS AppSync",null,null,null,this.getTagsForStencil(f,"appsync","aws amazon web service application integration").join(" ")), +this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".email_notification;",e,e,"Email\nnotification",null,null,null,this.getTagsForStencil(f,"email notification","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".http_notification;",e,e,"HTTP\nnotification",null,null,null,this.getTagsForStencil(f,"http notification","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+ +f+".topic;",e,e,"Topic",null,null,null,this.getTagsForStencil(f,"topic","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".message;",e,e,"Message",null,null,null,this.getTagsForStencil(f,"message","aws amazon web service application integration").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".queue;",e,e,"Queue",null,null,null,this.getTagsForStencil(f,"queue","aws amazon web service application integration").join(" "))])}; +Sidebar.prototype.addAWS4bARVRPalette=function(a,b,e,d,c,f,g){this.addPaletteFunctions("aws4bAR VR","AWS18 / AR & VR",!1,[this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".sumerian;",a,b+10,"Amazon Sumerian",null,null,null,this.getTagsForStencil(f,"sumerian","aws amazon web service ar vr augmented virtual reality").join(" "))])};Sidebar.prototype.addAWS4bCostManagementPalette=function(a,b,e,d,c,f,g){this.addPaletteFunctions("aws4bCost Management","AWS18 / Cost Management",!1,[this.createVertexTemplateEntry(d+ +"productIcon;prIcon="+f+".cost_explorer;",a,b+10,"AWS Cost Explorer",null,null,null,this.getTagsForStencil(f,"cost explorer","aws amazon web service cost management").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".budgets;",a,b,"AWS Budgets",null,null,null,this.getTagsForStencil(f,"budgets","aws amazon web service cost management").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".cost_and_usage_report;",a,b+10,"AWS Cost and Usage Report",null,null,null, +this.getTagsForStencil(f,"cost usage report","aws amazon web service cost management").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".reserved_instance_reporting;",a,b+20,"Reserved Instance Reporting",null,null,null,this.getTagsForStencil(f,"reserved instance reporting","aws amazon web service cost management").join(" "))])};Sidebar.prototype.addAWS4bBusinessProductivityPalette=function(a,b,e,d,c,f,g){this.addPaletteFunctions("aws4bBusiness Productivity","AWS18 / Business Productivity", +!1,[this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".alexa_for_business;",a,b+10,"Alexa for Business",null,null,null,this.getTagsForStencil(f,"alexa for business","aws amazon web service business productivity").join(" "))])};Sidebar.prototype.addAWS4bComputePalette=function(a,b,e,d,c,f,g){this.addPaletteFunctions("aws4bCompute","AWS18 / Compute",!1,[this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".ec2;",a,b,"Amazon EC2",null,null,null,this.getTagsForStencil(f,"ec2","aws amazon web service compute").join(" ")), +this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".ecr;",a,b,"Amazon ECR",null,null,null,this.getTagsForStencil(f,"ecr","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".ecs;",a,b,"Amazon ECS",null,null,null,this.getTagsForStencil(f,"ecs","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".eks;",a,b,"Amazon EKS",null,null,null,this.getTagsForStencil(f,"eks","aws amazon web service compute").join(" ")), +this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".lightsail;",a,b+10,"Amazon Lightsail",null,null,null,this.getTagsForStencil(f,"lightsail","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".batch;",a,b,"AWS Batch",null,null,null,this.getTagsForStencil(f,"batch","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".elastic_beanstalk;",a,b+10,"AWS Elastic Beanstalk",null,null,null,this.getTagsForStencil(f, +"elastic beanstalk","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".fargate;",a,b,"AWS Fargate",null,null,null,this.getTagsForStencil(f,"fargate","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".lambda;",a,b,"AWS Lambda",null,null,null,this.getTagsForStencil(f,"lambda","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".serverless_application_repository;", +a,b+35,"AWS Serverless Application Repository",null,null,null,this.getTagsForStencil(f,"serverless application repository","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".elastic_load_balancing;",a,b+10,"Elastic Load Balancing",null,null,null,this.getTagsForStencil(f,"elastic load balancing","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".application_load_balancer;",a,b+10,"Application Load Balancer", +null,null,null,this.getTagsForStencil(f,"application load balancer","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".classic_load_balancer;",a,b+10,"Classic Load Balancer",null,null,null,this.getTagsForStencil(f,"classic load balancer","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".network_load_balancer;",a,b+10,"Network Load Balancer",null,null,null,this.getTagsForStencil(f,"network load balancer", +"aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".vmware_cloud_on_aws;",a,b+10,"VMware Cloud on AWS",null,null,null,this.getTagsForStencil(f,"vmware cloud on","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".ami;",e,e,"AMI",null,null,null,this.getTagsForStencil(f,"ami","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".auto_scaling;", +e,e,"Auto Scaling",null,null,null,this.getTagsForStencil(f,"auto scaling","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".db_on_instance;",e,e,"DB on\nInstance",null,null,null,this.getTagsForStencil(f,"db on instance database","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".elastic_ip_address;",e,e,"Elastic IP\nAddress",null,null,null,this.getTagsForStencil(f,"elastic ip address internet protocol", +"aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".instance_with_cloudwatch;",e,e,"Instance with\nCloudWatch",null,null,null,this.getTagsForStencil(f,"instance with cloudwatch","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".instance;",e,e,"Instance",null,null,null,this.getTagsForStencil(f,"instance","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+ +f+".instances;",e,e,"Instances",null,null,null,this.getTagsForStencil(f,"instances","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".optimized_instance;",e,e,"Optimized\nInstance",null,null,null,this.getTagsForStencil(f,"optimized_instance","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".rescue;",e,e,"Rescue",null,null,null,this.getTagsForStencil(f,"rescue","aws amazon web service compute").join(" ")), +this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".spot_instance;",e,e,"Spot Instance",null,null,null,this.getTagsForStencil(f,"spot instance","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".x1_instance;",e,e,"X1 Instance",null,null,null,this.getTagsForStencil(f,"x1 instance","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".registry;",e,e,"Registry",null,null,null,this.getTagsForStencil(f, +"registry","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".container_1;",e,e,"Container 1",null,null,null,this.getTagsForStencil(f,"container","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".container_2;",e,e,"Container 2",null,null,null,this.getTagsForStencil(f,"container","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".container_3;", +e,e,"Container 3",null,null,null,this.getTagsForStencil(f,"container","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".application;",e,e,"Application",null,null,null,this.getTagsForStencil(f,"application","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".deployment;",e,e,"Deployment",null,null,null,this.getTagsForStencil(f,"deployment","aws amazon web service compute").join(" ")),this.createVertexTemplateEntry(c+ +"resourceIcon;resIcon="+f+".lambda_function;",e,e,"Lambda\nFunction",null,null,null,this.getTagsForStencil(f,"lambda function","aws amazon web service compute").join(" "))])};Sidebar.prototype.addAWS4bCustomerEngagementPalette=function(a,b,e,d,c,f,g){this.addPaletteFunctions("aws4bCustomer Engagement","AWS18 / Customer Engagement",!1,[this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".connect;",a,b+10,"Amazon Connect",null,null,null,this.getTagsForStencil(f,"connect","aws amazon web service customer engagement").join(" ")), +this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".pinpoint;",a,b+10,"Amazon Pinpoint",null,null,null,this.getTagsForStencil(f,"pinpoint","aws amazon web service customer engagement").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".simple_email_service;",a,b+10,"Amazon Simple Email Service",null,null,null,this.getTagsForStencil(f,"simple email service","aws amazon web service customer engagement").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+ +".email;",e,e,"Email",null,null,null,this.getTagsForStencil(f,"email","aws amazon web service customer engagement").join(" "))])};Sidebar.prototype.addAWS4bDatabasePalette=function(a,b,e,d,c,f,g){this.addPaletteFunctions("aws4bDatabase","AWS18 / Database",!1,[this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".aurora;",a,b+10,"Amazon\nAurora",null,null,null,this.getTagsForStencil(f,"aurora","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+ +f+".dynamodb;",a,b+10,"Amazon DynamoDB",null,null,null,this.getTagsForStencil(f,"dynamodb","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".elasticache;",a,b+10,"Amazon ElastiCache",null,null,null,this.getTagsForStencil(f,"elasticache","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".elasticache_for_memcached;",a,b+20,"Amazon ElastiCache for Memcached",null,null,null,this.getTagsForStencil(f, +"elasticache for memcached","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".elasticache_for_redis;",a,b+20,"Amazon ElastiCache for Redis",null,null,null,this.getTagsForStencil(f,"elasticache for redis","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".neptune;",a,b+10,"Amazon Neptune",null,null,null,this.getTagsForStencil(f,"neptune","aws amazon web service db database").join(" ")), +this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".rds;",a,b,"Amazon RDS",null,null,null,this.getTagsForStencil(f,"rds","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".redshift;",a,b+10,"Amazon Redshift",null,null,null,this.getTagsForStencil(f,"redshift","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".database_migration_service;",a,b+20,"AWS Database Migration Service",null, +null,null,this.getTagsForStencil(f,"db database migration service","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".attribute;",e,e,"Attribute",null,null,null,this.getTagsForStencil(f,"attribute","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".attributes;",e,e,"Attributes",null,null,null,this.getTagsForStencil(f,"attributes","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+ +"resourceIcon;resIcon="+f+".item;",e,e,"Item",null,null,null,this.getTagsForStencil(f,"item","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".items;",e,e,"Items",null,null,null,this.getTagsForStencil(f,"items","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".global_secondary_index;",e,e,"Global\nsecondary\nindex",null,null,null,this.getTagsForStencil(f,"global secondary index", +"aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".table;",e,e,"Table",null,null,null,this.getTagsForStencil(f,"table","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".cache_node;",e,e,"Cache node",null,null,null,this.getTagsForStencil(f,"cache node","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".db_instance;",e,e,"DB instance", +null,null,null,this.getTagsForStencil(f,"db instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".db_instance_standby;",e,e,"DB instance\nstandby",null,null,null,this.getTagsForStencil(f,"db instance standby","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".db_instance_read_replica;",e,e,"DB instance\nread replica",null,null,null,this.getTagsForStencil(f,"db instance read replica", +"aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".piop;",e,e,"PIOP",null,null,null,this.getTagsForStencil(f,"piop","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".ms_sql_instance;",e,e,"MS SQL\ninstance",null,null,null,this.getTagsForStencil(f,"ms sql instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".ms_sql_instance_alternate;", +e,e,"MS SQL\ninstance\nalternate",null,null,null,this.getTagsForStencil(f,"ms sql instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".mysql_db_instance;",e,e,"MySQL DB \ninstance",null,null,null,this.getTagsForStencil(f,"mysql db database instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".mysql_db_instance_alternate;",e,e,"MySQL DB \ninstance\nalternate",null,null, +null,this.getTagsForStencil(f,"mysql db database instance alternate","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".oracle_db_instance;",e,e,"Oracle DB \ninstance",null,null,null,this.getTagsForStencil(f,"oracle db database instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".oracle_db_instance_alternate;",e,e,"Oracle DB \ninstance\nalternate",null,null,null,this.getTagsForStencil(f, +"oracle db database instance alternate","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".sql_primary;",e,e,"SQL primary",null,null,null,this.getTagsForStencil(f,"sql primary","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".sql_replica;",e,e,"SQL replica",null,null,null,this.getTagsForStencil(f,"sql replica","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+ +"resourceIcon;resIcon="+f+".postgresql_instance;",e,e,"PostgreSQL\ninstance",null,null,null,this.getTagsForStencil(f,"postresql instance","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".dense_compute_node;",e,e,"Dense\ncompute node",null,null,null,this.getTagsForStencil(f,"dense compute node","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".dense_storage_node;",e,e,"Dense\nstorage node", +null,null,null,this.getTagsForStencil(f,"dense storage node","aws amazon web service db database").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".database_migration_workflow_job;",e,e,"Database\nmigration\nworkflow/job",null,null,null,this.getTagsForStencil(f,"database migration workflow job","aws amazon web service db database").join(" "))])};Sidebar.prototype.addAWS4bDesktopAppStreamingPalette=function(a,b,e,d,c,f,g){this.addPaletteFunctions("aws4bDesktop App Streaming", +"AWS18 / Desktop & App Streaming",!1,[this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".appstream_20;",a,b+10,"Amazon AppStream 2.0",null,null,null,this.getTagsForStencil(f,"appstream","aws amazon web service db database").join(" "))])};Sidebar.prototype.addAWS4bDeveloperToolsPalette=function(a,b,e,d,c,f,g){this.addPaletteFunctions("aws4bDeveloper Tools","AWS18 / Developer Tools",!1,[this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".codestar;",a,b,"AWS CodeStar",null,null,null,this.getTagsForStencil(f, +"codestar","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".cloud9;",a,b,"AWS Cloud9",null,null,null,this.getTagsForStencil(f,"cloud9","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".codebuild;",a,b+10,"AWS CodeBuild",null,null,null,this.getTagsForStencil(f,"codebuild","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+ +f+".codecommit;",a,b+10,"AWS CodeCommit",null,null,null,this.getTagsForStencil(f,"codecommit","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".codedeploy;",a,b+10,"AWS CodeDeploy",null,null,null,this.getTagsForStencil(f,"codedeploy","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".codepipeline;",a,b+10,"AWS CodePipeline",null,null,null,this.getTagsForStencil(f,"codepipeline", +"aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".command_line_interface;",a,b+20,"AWS\nCommand Line Interface",null,null,null,this.getTagsForStencil(f,"command line interface","aws amazon web service dev developer tools").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".tools_and_sdks;",a,b+10,"AWS Tools and SDKs",null,null,null,this.getTagsForStencil(f,"tools and sdks software development kit","aws amazon web service dev developer tools").join(" ")), +this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".xray;",a,b,"AWS X-Ray",null,null,null,this.getTagsForStencil(f,"ray xray","aws amazon web service dev developer tools").join(" "))])};Sidebar.prototype.addAWS4bGameDevelopmentPalette=function(a,b,e,d,c,f,g){this.addPaletteFunctions("aws4bGame Development","AWS18 / Game Development",!1,[this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".gamelift;",a,b+10,"Amazon GameLift",null,null,null,this.getTagsForStencil(f,"gamelift","aws amazon web service game development").join(" "))])}; +Sidebar.prototype.addAWS4bInternetOfThingsPalette=function(a,b,e,d,c,f,g){this.addPaletteFunctions("aws4bInternet of Things","AWS18 / Internet of Things",!1,[this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".iot_core;",a,b+10,"Amazon IoT Core",null,null,null,this.getTagsForStencil(f,"core","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".freertos;",a,b+10,"Amazon FreeRTOS",null,null,null,this.getTagsForStencil(f,"freertos free rtos", +"aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".greengrass;",a,b+10,"AWS Greengrass",null,null,null,this.getTagsForStencil(f,"greengrass","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".iot_1click;",a,b+10,"AWS IoT\n1-Click",null,null,null,this.getTagsForStencil(f,"1click one click","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(d+ +"productIcon;prIcon="+f+".iot_analytics;",a,b+10,"AWS IoT Analytics",null,null,null,this.getTagsForStencil(f,"analytics","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".iot_button;",a,b+10,"AWS IoT Button",null,null,null,this.getTagsForStencil(f,"button","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".iot_device_defender;",a,b+20,"AWS IoT Device Defender",null, +null,null,this.getTagsForStencil(f,"device defender","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".iot_device_management;",a,b+20,"AWS IoT Device Management",null,null,null,this.getTagsForStencil(f,"device management","aws amazon web service internet of things iot").join(" "))])};Sidebar.prototype.addAWS4bIOTThingsPalette=function(a,b,e,d,c,f,g){this.addPaletteFunctions("aws4bIoT Things","AWS18 / IoT Things",!1,[this.createVertexTemplateEntry(c+ +"resourceIcon;resIcon="+f+".bank;",e,e,"Bank",null,null,null,this.getTagsForStencil(f,"bank","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".bycicle;",e,e,"Bycicle",null,null,null,this.getTagsForStencil(f,"bycicle","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".camera;",e,e,"Camera",null,null,null,this.getTagsForStencil(f,"camera","aws amazon web service internet of things iot").join(" ")), +this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".car;",e,e,"Car",null,null,null,this.getTagsForStencil(f,"car","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".cart;",e,e,"Cart",null,null,null,this.getTagsForStencil(f,"cart","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".coffee_pot;",e,e,"Coffee Pot",null,null,null,this.getTagsForStencil(f,"coffee pot", +"aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".door_lock;",e,e,"Door Lock",null,null,null,this.getTagsForStencil(f,"door lock","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".factory;",e,e,"Factory",null,null,null,this.getTagsForStencil(f,"factory","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+ +f+".generic;",e,e,"Generic",null,null,null,this.getTagsForStencil(f,"generic","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".house;",e,e,"House",null,null,null,this.getTagsForStencil(f,"house","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".lightbulb;",e,e,"Lightbulb",null,null,null,this.getTagsForStencil(f,"lightbulb","aws amazon web service internet of things iot").join(" ")), +this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".medical_emergency;",e,e,"Medical\nEmergency",null,null,null,this.getTagsForStencil(f,"medical emergency","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".police_emergency;",e,e,"Police\nEmergency",null,null,null,this.getTagsForStencil(f,"police emergency","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+ +f+".thermostat;",e,e,"Thermostat",null,null,null,this.getTagsForStencil(f,"thermostat","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".travel;",e,e,"Travel",null,null,null,this.getTagsForStencil(f,"travel","aws amazon web service internet of things iot").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".utility;",e,e,"Utility",null,null,null,this.getTagsForStencil(f,"utility","aws amazon web service internet of things iot").join(" ")), +this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".windfarm;",e,e,"Windfarm",null,null,null,this.getTagsForStencil(f,"windfarm","aws amazon web service internet of things iot").join(" "))])};Sidebar.prototype.addAWS4bIOTResourcesPalette=function(a,b,e,d,c,f,g){this.addPaletteFunctions("aws4bIoT Resources","AWS18 / IoT Resources",!1,[this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".action;",e,e,"Action",null,null,null,this.getTagsForStencil(f,"action","aws amazon web service internet of things iot resources").join(" ")), +this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".actuator;",e,e,"Actuator",null,null,null,this.getTagsForStencil(f,"actuator","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".alexa_enabled_device;",e,e,"Alexa enabled\ndevice",null,null,null,this.getTagsForStencil(f,"alexa enabled device","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+ +f+".alexa_skill;",e,e,"Alexa skill",null,null,null,this.getTagsForStencil(f,"alexa skill","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".alexa_smart_home_skill;",e,e,"Alexa smart\nhome skill",null,null,null,this.getTagsForStencil(f,"alexa smart home skill","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".alexa_voice_service;",e,e,"Alexa voice\nservice", +null,null,null,this.getTagsForStencil(f,"alexa voice service","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".certificate_manager;",e,e,"Certificate\nmanager",null,null,null,this.getTagsForStencil(f,"certificate manager","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".desired_state;",e,e,"Desired state",null,null,null,this.getTagsForStencil(f, +"desired state","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".echo;",e,e,"Echo",null,null,null,this.getTagsForStencil(f,"echo","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".firetv_stick;",e,e,"FireTV stick",null,null,null,this.getTagsForStencil(f,"firetv fire tv stick","aws amazon web service internet of things iot resources").join(" ")), +this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".firetv;",e,e,"FireTV",null,null,null,this.getTagsForStencil(f,"firetv fire tv","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".hardware_board;",e,e,"Hardware\nboard",null,null,null,this.getTagsForStencil(f,"hardware board","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".http2_protocol;", +e,e,"HTTP/2\nprotocol",null,null,null,this.getTagsForStencil(f,"http2 protocol","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".http_protocol;",e,e,"HTTP\nprotocol",null,null,null,this.getTagsForStencil(f,"http protocol","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".lambda_function;",e,e,"Lambda Function",null,null,null,this.getTagsForStencil(f, +"lambda function","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".mqtt_protocol;",e,e,"MQTT\nprotocol",null,null,null,this.getTagsForStencil(f,"mqtt protocol","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".policy;",e,e,"Policy",null,null,null,this.getTagsForStencil(f,"policy","aws amazon web service internet of things iot resources").join(" ")), +this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".reported_state;",e,e,"Reported\nstate",null,null,null,this.getTagsForStencil(f,"reported state","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".rule;",e,e,"Rule",null,null,null,this.getTagsForStencil(f,"rule","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".sensor;",e,e,"Sensor", +null,null,null,this.getTagsForStencil(f,"sensor","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".servo;",e,e,"Servo",null,null,null,this.getTagsForStencil(f,"servo","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".shadow;",e,e,"Shadow",null,null,null,this.getTagsForStencil(f,"shadow","aws amazon web service internet of things iot resources").join(" ")), +this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".simulator;",e,e,"Simulator",null,null,null,this.getTagsForStencil(f,"simulator","aws amazon web service internet of things iot resources").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".topic_2;",e,e,"Topic",null,null,null,this.getTagsForStencil(f,"topic","aws amazon web service internet of things iot resources").join(" "))])};Sidebar.prototype.addAWS4bMachineLearningPalette=function(a,b,e,d,c,f,g){this.addPaletteFunctions("aws4bMachine Learning", +"AWS18 / Machine Learning",!1,[this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".sagemaker;",a,b+10,"Amazon SageMaker",null,null,null,this.getTagsForStencil(f,"sagemaker","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".comprehend;",a,b+10,"Amazon Comprehend",null,null,null,this.getTagsForStencil(f,"comprehend","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".lex;", +a,b,"Amazon Lex",null,null,null,this.getTagsForStencil(f,"lex","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".polly;",a,b,"Amazon Polly",null,null,null,this.getTagsForStencil(f,"polly","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".rekognition;",a,b+10,"Amazon Rekognition",null,null,null,this.getTagsForStencil(f,"rekognition","aws amazon web service machine learning").join(" ")), +this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".rekognition_image;",a,b+20,"Amazon Rekognition Image",null,null,null,this.getTagsForStencil(f,"rekognition image","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".rekognition_video;",a,b+20,"Amazon Rekognition Video",null,null,null,this.getTagsForStencil(f,"rekognition video","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+ +f+".translate;",a,b+10,"Amazon Translate",null,null,null,this.getTagsForStencil(f,"translate","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".transcribe;",a,b+10,"Amazon Transcribe",null,null,null,this.getTagsForStencil(f,"transcribe","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".deep_learning_amis;",a,b+10,"AWS Deep Learning AMIs",null,null,null,this.getTagsForStencil(f, +"deep learning amis","aws amazon web service machine learning").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".deeplens;",a,b,"AWS DeepLens",null,null,null,this.getTagsForStencil(f,"deeplens","aws amazon web service machine learning").join(" "))])};Sidebar.prototype.addAWS4bManagementToolsPalette=function(a,b,e,d,c,f,g){this.addPaletteFunctions("aws4bManagement Tools","AWS18 / Management Tools",!1,[this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".cloudwatch;",a,b+ +10,"Amazon CloudWatch",null,null,null,this.getTagsForStencil(f,"cloudwatch","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".autoscaling;",a,b+10,"AWS Auto Scaling",null,null,null,this.getTagsForStencil(f,"auto scaling","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".cloudformation;",a,b+10,"AWS CloudFormation",null,null,null,this.getTagsForStencil(f,"cloudformation","aws amazon web service management tools").join(" ")), +this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".cloudtrail;",a,b+10,"AWS\nCloudTrail",null,null,null,this.getTagsForStencil(f,"cloudtrail","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".command_line_interface;",a,b+20,"AWS\nCommand Line Interface",null,null,null,this.getTagsForStencil(f,"command line interface","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+ +".config;",a,b,"AWS Config",null,null,null,this.getTagsForStencil(f,"config","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".management_console;",a,b+20,"AWS Management Console",null,null,null,this.getTagsForStencil(f,"management console","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".managed_services;",a,b+10,"AWS Managed Services",null,null,null,this.getTagsForStencil(f, +"managed services","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".opsworks;",a,b+10,"AWS OpsWorks",null,null,null,this.getTagsForStencil(f,"opsworks","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".service_catalog;",a,b+10,"AWS Service Catalog",null,null,null,this.getTagsForStencil(f,"service catalog","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+ +"productIcon;prIcon="+f+".personal_health_dashboard;",a,b+20,"AWS Personal Health Dashboard",null,null,null,this.getTagsForStencil(f,"personal health dashboard","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".systems_manager;",a,b+10,"AWS Systems Manager",null,null,null,this.getTagsForStencil(f,"systems manager","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".trusted_advisor;", +a,b+10,"AWS Trusted Advisor",null,null,null,this.getTagsForStencil(f,"trusted advisor","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".marketplace;",a,b+10,"AWS Marketplace",null,null,null,this.getTagsForStencil(f,"marketplace","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".alarm;",e,e,"Alarm",null,null,null,this.getTagsForStencil(f,"alarm","aws amazon web service management tools").join(" ")), +this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".event_event_based;",e,e,"Event (event-\nbased)",null,null,null,this.getTagsForStencil(f,"event event based","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".event_time_based;",e,e,"Event (time-\nbased)",null,null,null,this.getTagsForStencil(f,"event time based","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+ +".rule_2;",e,e,"Rule",null,null,null,this.getTagsForStencil(f,"rule","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".change_set;",e,e,"Change set",null,null,null,this.getTagsForStencil(f,"change set","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".stack;",e,e,"Stack",null,null,null,this.getTagsForStencil(f,"stack","aws amazon web service management tools").join(" ")), +this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".template;",e,e,"Template",null,null,null,this.getTagsForStencil(f,"template","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".apps;",e,e,"Apps",null,null,null,this.getTagsForStencil(f,"apps","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".deployments;",e,e,"Deployments",null,null,null,this.getTagsForStencil(f, +"deployments","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".instances_2;",e,e,"Instances",null,null,null,this.getTagsForStencil(f,"instances","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".layers;",e,e,"Layers",null,null,null,this.getTagsForStencil(f,"layers","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+ +f+".monitoring;",e,e,"Monitoring",null,null,null,this.getTagsForStencil(f,"monitoring","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".permissions;",e,e,"Permissions",null,null,null,this.getTagsForStencil(f,"permissions","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".resources;",e,e,"Resources",null,null,null,this.getTagsForStencil(f,"resources","aws amazon web service management tools").join(" ")), +this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".stack2;",e,e,"Stack2",null,null,null,this.getTagsForStencil(f,"stack stack2","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".automation;",e,e,"Automation",null,null,null,this.getTagsForStencil(f,"automation","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".documents;",e,e,"Documents",null,null,null,this.getTagsForStencil(f, +"documents","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".inventory;",e,e,"Inventory",null,null,null,this.getTagsForStencil(f,"inventory","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".maintenance_windows;",e,e,"Maintenance\nwindows",null,null,null,this.getTagsForStencil(f,"maintenance windows","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+ +"resourceIcon;resIcon="+f+".parameter_store;",e,e,"Parameter\nStore",null,null,null,this.getTagsForStencil(f,"parameter store","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".patch_manager;",e,e,"Patch\nmanager",null,null,null,this.getTagsForStencil(f,"patch manager","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".patch_manager;",e,e,"Patch\nmanager",null,null,null, +this.getTagsForStencil(f,"patch manager","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".run_command;",e,e,"Run\ncommand",null,null,null,this.getTagsForStencil(f,"run command","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".state_manager;",e,e,"State\nmanager",null,null,null,this.getTagsForStencil(f,"state manager","aws amazon web service management tools").join(" ")), +this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".checklist_cost;",e,e,"Checklist cost",null,null,null,this.getTagsForStencil(f,"checklist cost","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".checklist_fault_tolerant;",e,e,"Checklist fault\ntolerant",null,null,null,this.getTagsForStencil(f,"checklist fault tolerant","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+ +f+".checklist_performance;",e,e,"Checklist\nperformance",null,null,null,this.getTagsForStencil(f,"checklist performance","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".checklist_security;",e,e,"Checklist\nsecurity",null,null,null,this.getTagsForStencil(f,"checklist security","aws amazon web service management tools").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".checklist;",e,e,"Checklist",null,null,null, +this.getTagsForStencil(f,"checklist","aws amazon web service management tools").join(" "))])};Sidebar.prototype.addAWS4bMediaServicesPalette=function(a,b,e,d,c,f,g){this.addPaletteFunctions("aws4bMedia Services","AWS18 / Media Services",!1,[this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".elastic_transcoder;",a,b+10,"Amazon Elastic Transcoder",null,null,null,this.getTagsForStencil(f,"elastic transcoder","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(d+ +"productIcon;prIcon="+f+".kinesis_video_streams;",a,b+20,"Amazon Kinesis Video Streams",null,null,null,this.getTagsForStencil(f,"kinesis video streams","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".elemental_mediaconvert;",a,b+10,"AWS Elemental MediaConvert",null,null,null,this.getTagsForStencil(f,"elemental mediaconvert","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".elemental_medialive;", +a,b+10,"AWS Elemental MediaLive",null,null,null,this.getTagsForStencil(f,"elemental medialive","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".elemental_mediapackage;",a,b+10,"AWS Elemental MediaPackage",null,null,null,this.getTagsForStencil(f,"elemental mediapackage","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".elemental_mediastore;",a,b+10,"AWS Elemental MediaStore",null, +null,null,this.getTagsForStencil(f,"elemental mediastore","aws amazon web service media services").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".elemental_mediatailor;",a,b+10,"AWS Elemental MediaTailor",null,null,null,this.getTagsForStencil(f,"elemental mediatailor","aws amazon web service media services").join(" "))])};Sidebar.prototype.addAWS4bMigrationPalette=function(a,b,e,d,c,f,g){this.addPaletteFunctions("aws4bMigration","AWS18 / Migration",!1,[this.createVertexTemplateEntry(d+ +"productIcon;prIcon="+f+".migration_hub;",a,b+10,"AWS Migration Hub",null,null,null,this.getTagsForStencil(f,"migration hub","aws amazon web service migration").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".application_discovery_service;",a,b+35,"AWS Application Discovery Service",null,null,null,this.getTagsForStencil(f,"application discovery service","aws amazon web service migration").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".database_migration_service;", +a,b+20,"AWS Database Migration Service",null,null,null,this.getTagsForStencil(f,"db database migration service","aws amazon web service migration").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".server_migration_service;",a,b+20,"AWS Server Migration Service",null,null,null,this.getTagsForStencil(f,"server migration service","aws amazon web service migration").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".snowball;",a,b,"AWS Snowball",null,null,null, +this.getTagsForStencil(f,"snowball","aws amazon web service migration").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".snowball_edge;",a,b+10,"AWS Snowball Edge",null,null,null,this.getTagsForStencil(f,"snowball edge","aws amazon web service migration").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".snowmobile;",a,b+10,"AWS Snowmobile",null,null,null,this.getTagsForStencil(f,"snowmobile","aws amazon web service migration").join(" "))])};Sidebar.prototype.addAWS4bMobileServicesPalette= +function(a,b,e,d,c,f,g){this.addPaletteFunctions("aws4bMobile Services","AWS18 / Mobile Services",!1,[this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".appsync;",a,b,"AWS AppSync",null,null,null,this.getTagsForStencil(f,"appsync","aws amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".api_gateway;",a,b+10,"Amazon API Gateway",null,null,null,this.getTagsForStencil(f,"api gateway application programming interface","aws amazon web service mobile services").join(" ")), +this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".device_farm;",a,b+10,"AWS Device Farm",null,null,null,this.getTagsForStencil(f,"device farm","aws amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".mobile_hub;",a,b+10,"AWS Mobile Hub",null,null,null,this.getTagsForStencil(f,"mobile hub","aws amazon web service mobile services").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".pinpoint;",a,b+10,"Amazon Pinpoint", +null,null,null,this.getTagsForStencil(f,"pinpoint","aws amazon web service mobile services").join(" "))])};Sidebar.prototype.addAWS4bNetworkContentDeliveryPalette=function(a,b,e,d,c,f,g){this.addPaletteFunctions("aws4bNetwork Content Delivery","AWS18 / Network & Content Delivery",!1,[this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".vpc;",a,b,"Amazon VPC",null,null,null,this.getTagsForStencil(f,"vpc virtual private cloud","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(d+ +"productIcon;prIcon="+f+".api_gateway;",a,b+10,"Amazon API Gateway",null,null,null,this.getTagsForStencil(f,"api application programming interface gateway","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".cloudfront;",a,b+10,"Amazon Cloudfront",null,null,null,this.getTagsForStencil(f,"cloudfront","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".privatelink;", +a,b+10,"AWS PrivateLink",null,null,null,this.getTagsForStencil(f,"privatelink","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".route_53;",a,b+10,"Amazon Route 53",null,null,null,this.getTagsForStencil(f,"route 53","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".direct_connect;",a,b+10,"AWS Direct Connect",null,null,null,this.getTagsForStencil(f,"direct connect", +"aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".customer_gateway;",e,e,"Customer\ngateway",null,null,null,this.getTagsForStencil(f,"customer gateway","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".elastic_network_adapter;",e,e,"Elastic\nnetwork\nadapter",null,null,null,this.getTagsForStencil(f,"elastic network adapter","aws amazon web service netowrk content delivery").join(" ")), +this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".elastic_network_interface;",e,e,"Elastic\nnetwork\ninterface",null,null,null,this.getTagsForStencil(f,"elastic network interface","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".endpoints;",e,e,"Endpoints",null,null,null,this.getTagsForStencil(f,"endpoints","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+ +f+".flow_logs;",e,e,"Flow logs",null,null,null,this.getTagsForStencil(f,"flow logs","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".internet_gateway;",e,e,"Internet\ngateway",null,null,null,this.getTagsForStencil(f,"internet gateway","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".nat_gateway;",e,e,"NAT gateway",null,null,null,this.getTagsForStencil(f, +"nat gateway","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".network_access_control_list;",e,e,"Network\naccess\ncontrol list",null,null,null,this.getTagsForStencil(f,"network access control list","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".peering;",e,e,"Peering",null,null,null,this.getTagsForStencil(f,"peering","aws amazon web service netowrk content delivery").join(" ")), +this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".router;",e,e,"Router",null,null,null,this.getTagsForStencil(f,"router","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".vpn_connection;",e,e,"VPN\nConnection",null,null,null,this.getTagsForStencil(f,"vpn virtual private network connection","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".vpn_gateway;", +e,e,"VPN Gateway",null,null,null,this.getTagsForStencil(f,"vpn virtual private network gateway","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".download_distribution;",e,e,"Download\ndistribution",null,null,null,this.getTagsForStencil(f,"download distribution","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".edge_location;",e,e,"Edge location",null,null, +null,this.getTagsForStencil(f,"edge location","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".streaming_distribution;",e,e,"Streaming\ndistribution",null,null,null,this.getTagsForStencil(f,"streaming distribution","aws amazon web service netowrk content delivery").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".hosted_zone;",e,e,"Hosted zone",null,null,null,this.getTagsForStencil(f,"hosted zone","aws amazon web service netowrk content delivery").join(" ")), +this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".route_table;",e,e,"Route table",null,null,null,this.getTagsForStencil(f,"route table","aws amazon web service netowrk content delivery").join(" "))])};Sidebar.prototype.addAWS4bSecurityIdentityCompliancePalette=function(a,b,e,d,c,f,g){this.addPaletteFunctions("aws4bSecurity Identity Compliance","AWS18 / Security, Identity & Compliance",!1,[this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".identity_and_access_management;",a,b+20, +"AWS Identity and Access Management",null,null,null,this.getTagsForStencil(f,"identity and access management","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".cognito;",a,b+10,"Amazon Cognito",null,null,null,this.getTagsForStencil(f,"cognito","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".guardduty;",a,b+10,"Amazon GuardDuty",null,null,null,this.getTagsForStencil(f, +"guard duty guardduty","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".inspector;",a,b+10,"Amazon Inspector",null,null,null,this.getTagsForStencil(f,"inspector","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".artifact;",a,b,"AWS Artifact",null,null,null,this.getTagsForStencil(f,"artifact","aws amazon web service security identity compliance").join(" ")), +this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".certificate_manager_3;",a,b+10,"AWS Certificate Manager",null,null,null,this.getTagsForStencil(f,"certificate manager","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".cloudhsm;",a,b+10,"AWS CloudHSM",null,null,null,this.getTagsForStencil(f,"cloudhsm","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+ +f+".directory_service;",a,b+10,"AWS Directory Service",null,null,null,this.getTagsForStencil(f,"directory service","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".firewall_manager;",a,b+10,"AWS Firewall Manager",null,null,null,this.getTagsForStencil(f,"firewall manager","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".key_management_service;",a,b+ +20,"AWS Key Management Service",null,null,null,this.getTagsForStencil(f,"key management service","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".secrets_manager;",a,b+10,"AWS Secrets Manager",null,null,null,this.getTagsForStencil(f,"secrets manager","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".shield;",a,b,"AWS Shield",null,null,null,this.getTagsForStencil(f, +"shield","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".single_sign_on;",a,b+10,"AWS Single Sign-On",null,null,null,this.getTagsForStencil(f,"single sign on","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".waf;",a,b,"AWS WAF",null,null,null,this.getTagsForStencil(f,"waf","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(c+ +"resourceIcon;resIcon="+f+".addon;",e,e,"Add-on",null,null,null,this.getTagsForStencil(f,"addon add on","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".sts;",e,e,"AWS STS",null,null,null,this.getTagsForStencil(f,"sts","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".sts_alternate;",e,e,"AWS STS\n(alternate)",null,null,null,this.getTagsForStencil(f, +"sts alternate","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".data_encryption_key;",e,e,"Data\nencryption\nkey",null,null,null,this.getTagsForStencil(f,"data encryption key","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".encrypted_data;",e,e,"Encrypted\ndata",null,null,null,this.getTagsForStencil(f,"encrypted data","aws amazon web service security identity compliance").join(" ")), +this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".long_term_security_credential;",e,e,"Long-term\nsecurity\ncredential",null,null,null,this.getTagsForStencil(f,"long term security credential","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".mfa_token;",e,e,"MFA Token",null,null,null,this.getTagsForStencil(f,"mfa token","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(c+ +"resourceIcon;resIcon="+f+".permissions;",e,e,"Permissions",null,null,null,this.getTagsForStencil(f,"permissions","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".role;",e,e,"Role",null,null,null,this.getTagsForStencil(f,"role","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".temporary_security_credential;",e,e,"Temporary\nsecurity\ncredential", +null,null,null,this.getTagsForStencil(f,"temporary security credential","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".agent;",e,e,"Agent",null,null,null,this.getTagsForStencil(f,"agent","aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".certificate_manager_2;",e,e,"Certificate\nmanager",null,null,null,this.getTagsForStencil(f,"certificate manager", +"aws amazon web service security identity compliance").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".filtering_rule;",e,e,"Filtering rule",null,null,null,this.getTagsForStencil(f,"filtering rule","aws amazon web service security identity compliance").join(" "))])};Sidebar.prototype.addAWS4bStoragePalette=function(a,b,e,d,c,f,g){this.addPaletteFunctions("aws4bStorage","AWS18 / Storage",!1,[this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".s3;",a,b,"Amazon S3",null, +null,null,this.getTagsForStencil(f,"s3","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".elastic_block_store;",a,b+10,"Amazon Elastic Block Store",null,null,null,this.getTagsForStencil(f,"elastic block store","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".elastic_file_system;",a,b+10,"Amazon Elastic File System",null,null,null,this.getTagsForStencil(f,"elastic file system","aws amazon web service storage").join(" ")), +this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".glacier;",a,b+10,"Amazon Glacier",null,null,null,this.getTagsForStencil(f,"glacier","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".snowball;",a,b,"AWS Snowball",null,null,null,this.getTagsForStencil(f,"snowball","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".snowball_edge;",a,b+10,"AWS Snowball Edge",null,null,null,this.getTagsForStencil(f, +"snowball edge","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".snowmobile;",a,b+10,"AWS Snowmobile",null,null,null,this.getTagsForStencil(f,"snowmobile","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(d+"productIcon;prIcon="+f+".storage_gateway;",a,b+10,"AWS Storage Gateway",null,null,null,this.getTagsForStencil(f,"storage gateway","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+ +f+".bucket;",e,e,"Bucket",null,null,null,this.getTagsForStencil(f,"bucket","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".snapshot;",e,e,"Snapshot",null,null,null,this.getTagsForStencil(f,"snapshot","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".bucket_with_objects;",e,e,"Bucket with\nobjects",null,null,null,this.getTagsForStencil(f,"bucket with objects","aws amazon web service storage").join(" ")), +this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".volume;",e,e,"Volume",null,null,null,this.getTagsForStencil(f,"volume","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".object;",e,e,"Object",null,null,null,this.getTagsForStencil(f,"object","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".archive;",e,e,"Archive",null,null,null,this.getTagsForStencil(f,"archive","aws amazon web service storage").join(" ")), +this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".vault;",e,e,"Vault",null,null,null,this.getTagsForStencil(f,"vault","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".import_export;",e,e,"Import/Export",null,null,null,this.getTagsForStencil(f,"import export","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".cached_volume;",e,e,"Cached\nvolume",null,null,null,this.getTagsForStencil(f, +"cached volume","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".non_cached_volume;",e,e,"Non-Cached\nvolume",null,null,null,this.getTagsForStencil(f,"non cached volume","aws amazon web service storage").join(" ")),this.createVertexTemplateEntry(c+"resourceIcon;resIcon="+f+".virtual_tape_library;",e,e,"Virtual tape\nlibrary",null,null,null,this.getTagsForStencil(f,"virtual tape library vtl","aws amazon web service storage").join(" "))])}})();(function(){Sidebar.prototype.addAzurePalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;align=center;strokeColor=none;fillColor=#00BEF2;shape=mxgraph.azure.";this.addPaletteFunctions("azure",mxResources.get("azure"),!1,[this.createVertexTemplateEntry(a+"access_control;",50,50,"","Access Control",null,null,this.getTagsForStencil("mxgraph.azure","access_control","").join(" ")),this.createVertexTemplateEntry(a+"automation;pointerEvents=1;", 50,45,"","Automation",null,null,this.getTagsForStencil("mxgraph.azure","automation","").join(" ")),this.createVertexTemplateEntry(a+"autoscale;",50,30,"","AutoScale",null,null,this.getTagsForStencil("mxgraph.azure","autoscale","").join(" ")),this.createVertexTemplateEntry(a+"azure_active_directory;",47.5,50,"","Azure Active Directory",null,null,this.getTagsForStencil("mxgraph.azure","azure_active_directory","").join(" ")),this.createVertexTemplateEntry(a+"azure_alert;",50,42.5,"","Azure Alert",null, null,this.getTagsForStencil("mxgraph.azure","azure_alert","").join(" ")),this.createVertexTemplateEntry(a+"azure_cache;",45,50,"","Azure Cache",null,null,this.getTagsForStencil("mxgraph.azure","azure_cache","").join(" ")),this.createVertexTemplateEntry(a+"azure_instance;",50,50,"","Azure Instance",null,null,this.getTagsForStencil("mxgraph.azure","azure_instance","").join(" ")),this.createVertexTemplateEntry(a+"azure_load_balancer;",50,35,"","Azure Load Balancer",null,null,this.getTagsForStencil("mxgraph.azure", "azure_load_balancer","").join(" ")),this.createVertexTemplateEntry(a+"azure_marketplace;",40,50,"","Azure Marketplace",null,null,this.getTagsForStencil("mxgraph.azure","azure_marketplace","").join(" ")),this.createVertexTemplateEntry(a+"azure_sdk;",50,47.5,"","Azure SDK",null,null,this.getTagsForStencil("mxgraph.azure","azure_sdk","").join(" ")),this.createVertexTemplateEntry(a+"azure_subscription;",50,35,"","Azure Subscription",null,null,this.getTagsForStencil("mxgraph.azure","azure_subscription", @@ -4539,34 +4539,34 @@ this.createVertexTemplateEntry(a+"plaque;dx=6;",100,60,"","Plaque",null,null,thi 100,60,"Button","Button (shaded)",null,null,this.getTagsForStencil("mxgraph.basic","button","").join(" ")),this.createVertexTemplateEntry(a+"x",100,100,"","X",null,null,this.getTagsForStencil("mxgraph.basic","x","").join(" ")),this.createVertexTemplateEntry(a+"pie;startAngle=0.2;endAngle=0.9;",100,100,"","Pie",null,null,this.getTagsForStencil("mxgraph.basic","pie","").join(" ")),this.createVertexTemplateEntry(a+"arc;startAngle=0.3;endAngle=0.1;",100,100,"","Arc",null,null,this.getTagsForStencil("mxgraph.basic", "arc","").join(" ")),this.createVertexTemplateEntry(a+"partConcEllipse;startAngle=0.25;endAngle=0.1;arcWidth=0.5;",100,100,"","Partial Concentric Ellipse",null,null,this.getTagsForStencil("mxgraph.basic","partConcEllipse","").join(" "))])}})();(function(){Sidebar.prototype.addBootstrapPalette=function(){var a=this,b=[this.addDataEntry("bootstrap button bar dark",800,40,"Button Bar (Dark)","5ZhRb5swEMc/DY+NDKaEvIZ2fdm0qpH27gUDVg2HjNuQfvod2EnJnGxRWqJUsRQJn332+ffnbBOPJmX7oFhd/ICUS4/eezRRANo8lW3CpfQCIlKP3nlBQPDnBd8OtPp9K6mZ4pU+xiEwDq9MvnBjMYZGr6U1FLrEsO58j86bgqWwwgrBSsqagqe2gi11179s824tk9+4gkbj40TxJUYyz4SUCUhQ/aA06EvnqBU8801LBRWOMl8VQvNFzZbdkCscBW02UK40bw8utjfZlT5wKLlWa+yyEqkuTI+YGCCk4CIvrFtobawx9Xzr+o4OHyy9/SSpQzKBsmbV+jSgQ16Wyl5U/wcPlR6An/XF2hfirfP1w48wD45gPg7y0EH+yKFGzGd5hUlfDunyF/asL11nJCyq/MmSoGQE9O0u9oESs5GUuHWUiMNPV8HKoOxbG7uSZNkpkpyMP/wnfuuwttvw5NZRY4NtqIYfGZvikmnxynfG2ieRnf8RBIa1nfyGkp3pb+LdESDLGq4diberOEr1yFH9l4AubKiaC931zph+/tTNP98fKQGnjhTh55/kF5eA0ZUnYOyovtAYdKPF8lITcKRk23fYjXXtmLnUuda4q1wZcxq5zKcjMd/sm8O7ngIkd+Jl76syj87J3HeYf4ccDT9f9HVRn9LRqGP1/WvfHAHDPwP+AA=="), this.addDataEntry("bootstrap button bar bright",800,40,"Button Bar (Bright)","5ZdRb5swEMc/DY9FBhNCXkPavmxStUh798IB1gxGxmvIPv0OcBKoSZetpYpUIyT77DP278+dwaFx0TwqVuVfZQLCofcOjZWUuq8VTQxCOD7hiUM3ju8TvB3/4UKv1/WSiiko9TUOfu/wzMQv6C29odYHYQy5LnBZG8+h6zpnidxjg2AjYXUOiWlgT9WOL5qs3Yv7A3dQa6y6Cna4knXKhYilkKqblKZhe7WOWsmfcOwpZYmzrPc517Ct2K6dco+zoM0sFJSG5uJmO5PZ6SPIArQ64JA9T3Tej4hID4TkwLPcuAXGxuq+nZ1cz+iwYuhNk6QWyVgWFSsP/wd0yMtQmUT1d/Cy1APwSVeMfct/t75e8Bbm/hXM50EeWMifQFaI+WNeYdJel3R5gX3VlXYwEuZl9s2QoGQG9M0Y+0CJ1UxKLCwlouDdVTAyKPPWRhOSpATLlZKkXXkL/uBV/MbhYNKwu7DUOGIbquGFvU2BYJo/w2iuKYnM858kx2WdHn5Hyejxd9F4BpmmNWhL4tMurlI9tFT/zmW7bFnWN5r1PjD8vKUdf543UwAuLSmC9z/Jby4Aw08egJGl+lbjomvNd7cagDMF29RhN9dnx8qmDlpjVvlkzGloM1/OxPyYN0fQmdrlruvOnecWU3nOpK6xUC+/r6fsTPCsRJuAVJ8PpC9da+PNeB6Fi3FGstOhRyfUo/+uHjbPf7B9Whv+4P4B"), -this.addEntry("bootstrap button group vertical",function(){var b=new mxCell("",new mxGeometry(0,0,100,150),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;html=1;whiteSpace=wrap;fillColor=#ffffff;");b.vertex=!0;var c=new mxCell("Edit",new mxGeometry(0,0,100,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.vertex= -!0;b.insert(c);c=new mxCell("Create",new mxGeometry(0,0,100,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,30);c.vertex=!0;b.insert(c);var d=new mxCell("Delete",new mxGeometry(0,0,100,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;whiteSpace=wrap;resizeWidth=1;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,60);d.vertex=!0;b.insert(d);d=new mxCell("Append",new mxGeometry(0,0,100,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;whiteSpace=wrap;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,90);d.vertex=!0;b.insert(d);d=new mxCell("Prepend",new mxGeometry(0,1,100,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,-30);d.vertex=!0;b.insert(d);d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#000000;strokeColor=none;perimeter=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-15,-2.5);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button Group (Vertical)")}),this.addEntry("bootstrap button group vertical",function(){var b=new mxCell("",new mxGeometry(0, -0,160,160),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;html=1;whiteSpace=wrap;fillColor=#ffffff;");b.vertex=!0;var c=new mxCell("Verified",new mxGeometry(0,0,160,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;spacingLeft=10;align=left;perimeter=none;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,40);c.vertex=!0;b.insert(c);c=new mxCell("Banned",new mxGeometry(0, -0,160,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;spacingLeft=10;align=left;perimeter=none;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,80);c.vertex=!0;b.insert(c);c=new mxCell("Deleted",new mxGeometry(0,1,160,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;spacingLeft=10;align=left;perimeter=none;whiteSpace=wrap;resizeWidth=1;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-40);c.vertex=!0;b.insert(c);c=new mxCell("All Users",new mxGeometry(0,0,160,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;fillColor=#3D8BCD;strokeColor=#3D8BCD;fontColor=#ffffff;spacingLeft=10;align=left;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button Group (Vertical)")}),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;fillColor=#3D8BCD;strokeColor=#0D5B9D;fontColor=#ffffff;spacingLeft=10;align=left;whiteSpace=wrap;", +this.addEntry("bootstrap button group vertical",function(){var b=new mxCell("",new mxGeometry(0,0,100,150),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;html=1;whiteSpace=wrap;fillColor=#ffffff;");b.vertex=!0;var d=new mxCell("Edit",new mxGeometry(0,0,100,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;");d.geometry.relative=!0;d.vertex= +!0;b.insert(d);d=new mxCell("Create",new mxGeometry(0,0,100,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;whiteSpace=wrap;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,30);d.vertex=!0;b.insert(d);var c=new mxCell("Delete",new mxGeometry(0,0,100,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;whiteSpace=wrap;resizeWidth=1;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,60);c.vertex=!0;b.insert(c);c=new mxCell("Append",new mxGeometry(0,0,100,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,90);c.vertex=!0;b.insert(c);c=new mxCell("Prepend",new mxGeometry(0,1,100,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;perimeter=none;whiteSpace=wrap;resizeWidth=1;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-30);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#000000;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-15,-2.5);c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button Group (Vertical)")}),this.addEntry("bootstrap button group vertical",function(){var b=new mxCell("",new mxGeometry(0, +0,160,160),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;html=1;whiteSpace=wrap;fillColor=#ffffff;");b.vertex=!0;var d=new mxCell("Verified",new mxGeometry(0,0,160,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;spacingLeft=10;align=left;perimeter=none;whiteSpace=wrap;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;b.insert(d);d=new mxCell("Banned",new mxGeometry(0, +0,160,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;spacingLeft=10;align=left;perimeter=none;whiteSpace=wrap;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,80);d.vertex=!0;b.insert(d);d=new mxCell("Deleted",new mxGeometry(0,1,160,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;spacingLeft=10;align=left;perimeter=none;whiteSpace=wrap;resizeWidth=1;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,-40);d.vertex=!0;b.insert(d);d=new mxCell("All Users",new mxGeometry(0,0,160,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;fillColor=#3D8BCD;strokeColor=#3D8BCD;fontColor=#ffffff;spacingLeft=10;align=left;whiteSpace=wrap;resizeWidth=1;");d.geometry.relative=!0;d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button Group (Vertical)")}),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;fillColor=#3D8BCD;strokeColor=#0D5B9D;fontColor=#ffffff;spacingLeft=10;align=left;whiteSpace=wrap;", 160,40,"All Users","Top Button",null,null,this.getTagsForStencil("mxgraph.bootstrap","topButton","bootstrap top button").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;fillColor=#3D8BCD;strokeColor=#0D5B9D;fontColor=#ffffff;spacingLeft=10;align=left;whiteSpace=wrap;",160,40,"All Users","Bottom Button",null,null,this.getTagsForStencil("mxgraph.bootstrap","bottomButton","bootstrap bottom button").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;fillColor=#3D8BCD;strokeColor=#0D5B9D;fontColor=#ffffff;spacingLeft=10;align=left;whiteSpace=wrap;", 160,40,"All Users","Right Button",null,null,this.getTagsForStencil("mxgraph.bootstrap","rightButton","bootstrap right button").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;fillColor=#3D8BCD;strokeColor=#0D5B9D;fontColor=#ffffff;spacingLeft=10;align=left;whiteSpace=wrap;",160,40,"All Users","Left Button",null,null,this.getTagsForStencil("mxgraph.bootstrap","leftButton","bootstrap left button").join(" ")),this.addEntry("bootstrap dropdown large", -function(){var b=new mxCell("Dropdown",new mxGeometry(0,0,140,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;spacingRight=10;fontSize=16;whiteSpace=wrap;align=center;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#000000;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-2.5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height, -"Dropdown (Large)")}),this.addEntry("bootstrap dropdown normal",function(){var b=new mxCell("Dropdown",new mxGeometry(0,0,120,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;spacingRight=10;fontSize=14;whiteSpace=wrap;align=center;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#000000;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-2.5);c.vertex=!0;b.insert(c); -return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Normal)")}),this.addEntry("bootstrap dropdown small",function(){var b=new mxCell("Dropdown",new mxGeometry(0,0,100,22),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;fontSize=12;rSize=5;strokeColor=#dddddd;spacingRight=10;perimeter=none;whiteSpace=wrap;align=center;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#000000;strokeColor=none;perimeter=none;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-2.5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Small)")}),this.addEntry("bootstrap dropdown tiny",function(){var b=new mxCell("Dropdown",new mxGeometry(0,0,90,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;spacingRight=10;fontSize=10;whiteSpace=wrap;align=center;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#000000;strokeColor=none;perimeter=none;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-2.5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Tiny)")}),this.addEntry("bootstrap button group justified large",function(){var b=new mxCell("",new mxGeometry(0,0,240,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd");b.vertex=!0;var c=new mxCell("Left",new mxGeometry(0,0,80,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;fontSize=16;whiteSpace=wrap;"); -c.vertex=!0;b.insert(c);c=new mxCell("Middle",new mxGeometry(80,0,80,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontSize=16;whiteSpace=wrap;");c.vertex=!0;b.insert(c);c=new mxCell("Right",new mxGeometry(160,0,80,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;fontSize=16;whiteSpace=wrap;");c.vertex=!0;b.insert(c); -return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button Group (Justified, Large)")}),this.addEntry("bootstrap button group justified normal",function(){var b=new mxCell("",new mxGeometry(0,0,180,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd");b.vertex=!0;var c=new mxCell("Left",new mxGeometry(0,0,60,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;fontSize=14;whiteSpace=wrap;"); -c.vertex=!0;b.insert(c);c=new mxCell("Middle",new mxGeometry(60,0,60,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontSize=14;whiteSpace=wrap;");c.vertex=!0;b.insert(c);c=new mxCell("Right",new mxGeometry(120,0,60,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;fontSize=14;whiteSpace=wrap;");c.vertex=!0;b.insert(c); -return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button Group (Justified, Normal)")}),this.addEntry("bootstrap button group justified small",function(){var b=new mxCell("",new mxGeometry(0,0,150,22),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd");b.vertex=!0;var c=new mxCell("Left",new mxGeometry(0,0,50,22),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;whiteSpace=wrap;"); -c.vertex=!0;b.insert(c);c=new mxCell("Middle",new mxGeometry(50,0,50,22),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;whiteSpace=wrap;");c.vertex=!0;b.insert(c);c=new mxCell("Right",new mxGeometry(100,0,50,22),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b], -b.geometry.width,b.geometry.height,"Button Group (Justified, Small)")}),this.addEntry("bootstrap button group justified tiny",function(){var b=new mxCell("",new mxGeometry(0,0,120,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd");b.vertex=!0;var c=new mxCell("Left",new mxGeometry(0,0,40,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;fontSize=10;whiteSpace=wrap;"); -c.vertex=!0;b.insert(c);c=new mxCell("Middle",new mxGeometry(40,0,40,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontSize=10;whiteSpace=wrap;");c.vertex=!0;b.insert(c);c=new mxCell("Right",new mxGeometry(80,0,40,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;fontSize=10;whiteSpace=wrap;");c.vertex=!0;b.insert(c); -return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button Group (Justified, Tiny)")}),this.addEntry("bootstrap button toolbar",function(){var b=new mxCell("",new mxGeometry(0,0,120,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd");b.vertex=!0;var c=new mxCell("1",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;fontSize=14;whiteSpace=wrap;"); -c.vertex=!0;b.insert(c);c=new mxCell("2",new mxGeometry(30,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontSize=14;whiteSpace=wrap;");c.vertex=!0;b.insert(c);var d=new mxCell("3",new mxGeometry(60,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontSize=14;whiteSpace=wrap;");d.vertex=!0;b.insert(d);c=new mxCell("4", -new mxGeometry(90,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;fontSize=14;whiteSpace=wrap;");c.vertex=!0;b.insert(c);d=new mxCell("",new mxGeometry(130,0,90,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd");d.vertex=!0;c=new mxCell("5",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;fontSize=14;whiteSpace=wrap;"); -c.vertex=!0;d.insert(c);c=new mxCell("6",new mxGeometry(30,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontSize=14;whiteSpace=wrap;");c.vertex=!0;d.insert(c);c=new mxCell("7",new mxGeometry(60,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;fontSize=14;whiteSpace=wrap;");c.vertex=!0;d.insert(c);c=new mxCell("8", -new mxGeometry(230,0,30,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;fontSize=12;align=center;rSize=5;strokeColor=#dddddd;whiteSpace=wrap");c.vertex=!0;return a.createVertexTemplateFromCells([b,d,c],260,30,"Button Toolbar")}),this.addEntry("bootstrap button group nested",function(){var b=new mxCell("",new mxGeometry(0,0,160,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd");b.vertex=!0;var c=new mxCell("1",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;fontSize=14;whiteSpace=wrap;"); -c.vertex=!0;b.insert(c);c=new mxCell("2",new mxGeometry(30,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontSize=14;whiteSpace=wrap;");c.vertex=!0;b.insert(c);c=new mxCell("Dropdown",new mxGeometry(60,0,100,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;fontSize=14;spacingRight=10;whiteSpace=wrap;");c.vertex= -!0;b.insert(c);var d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#000000;strokeColor=none;perimeter=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-15,-2.5);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button Group (Nested)")}),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;align=center;fontSize=16;whiteSpace=wrap;",80,40, +function(){var b=new mxCell("Dropdown",new mxGeometry(0,0,140,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;spacingRight=10;fontSize=16;whiteSpace=wrap;align=center;");b.vertex=!0;var d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#000000;strokeColor=none;perimeter=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height, +"Dropdown (Large)")}),this.addEntry("bootstrap dropdown normal",function(){var b=new mxCell("Dropdown",new mxGeometry(0,0,120,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;spacingRight=10;fontSize=14;whiteSpace=wrap;align=center;");b.vertex=!0;var d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#000000;strokeColor=none;perimeter=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;b.insert(d); +return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Normal)")}),this.addEntry("bootstrap dropdown small",function(){var b=new mxCell("Dropdown",new mxGeometry(0,0,100,22),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;fontSize=12;rSize=5;strokeColor=#dddddd;spacingRight=10;perimeter=none;whiteSpace=wrap;align=center;");b.vertex=!0;var d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#000000;strokeColor=none;perimeter=none;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Small)")}),this.addEntry("bootstrap dropdown tiny",function(){var b=new mxCell("Dropdown",new mxGeometry(0,0,90,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;spacingRight=10;fontSize=10;whiteSpace=wrap;align=center;");b.vertex=!0;var d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#000000;strokeColor=none;perimeter=none;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Tiny)")}),this.addEntry("bootstrap button group justified large",function(){var b=new mxCell("",new mxGeometry(0,0,240,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd");b.vertex=!0;var d=new mxCell("Left",new mxGeometry(0,0,80,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;fontSize=16;whiteSpace=wrap;"); +d.vertex=!0;b.insert(d);d=new mxCell("Middle",new mxGeometry(80,0,80,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontSize=16;whiteSpace=wrap;");d.vertex=!0;b.insert(d);d=new mxCell("Right",new mxGeometry(160,0,80,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;fontSize=16;whiteSpace=wrap;");d.vertex=!0;b.insert(d); +return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button Group (Justified, Large)")}),this.addEntry("bootstrap button group justified normal",function(){var b=new mxCell("",new mxGeometry(0,0,180,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd");b.vertex=!0;var d=new mxCell("Left",new mxGeometry(0,0,60,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;fontSize=14;whiteSpace=wrap;"); +d.vertex=!0;b.insert(d);d=new mxCell("Middle",new mxGeometry(60,0,60,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontSize=14;whiteSpace=wrap;");d.vertex=!0;b.insert(d);d=new mxCell("Right",new mxGeometry(120,0,60,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;fontSize=14;whiteSpace=wrap;");d.vertex=!0;b.insert(d); +return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button Group (Justified, Normal)")}),this.addEntry("bootstrap button group justified small",function(){var b=new mxCell("",new mxGeometry(0,0,150,22),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd");b.vertex=!0;var d=new mxCell("Left",new mxGeometry(0,0,50,22),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;whiteSpace=wrap;"); +d.vertex=!0;b.insert(d);d=new mxCell("Middle",new mxGeometry(50,0,50,22),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;whiteSpace=wrap;");d.vertex=!0;b.insert(d);d=new mxCell("Right",new mxGeometry(100,0,50,22),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;whiteSpace=wrap;");d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b], +b.geometry.width,b.geometry.height,"Button Group (Justified, Small)")}),this.addEntry("bootstrap button group justified tiny",function(){var b=new mxCell("",new mxGeometry(0,0,120,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd");b.vertex=!0;var d=new mxCell("Left",new mxGeometry(0,0,40,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;fontSize=10;whiteSpace=wrap;"); +d.vertex=!0;b.insert(d);d=new mxCell("Middle",new mxGeometry(40,0,40,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontSize=10;whiteSpace=wrap;");d.vertex=!0;b.insert(d);d=new mxCell("Right",new mxGeometry(80,0,40,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;fontSize=10;whiteSpace=wrap;");d.vertex=!0;b.insert(d); +return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button Group (Justified, Tiny)")}),this.addEntry("bootstrap button toolbar",function(){var b=new mxCell("",new mxGeometry(0,0,120,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd");b.vertex=!0;var d=new mxCell("1",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;fontSize=14;whiteSpace=wrap;"); +d.vertex=!0;b.insert(d);d=new mxCell("2",new mxGeometry(30,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontSize=14;whiteSpace=wrap;");d.vertex=!0;b.insert(d);var c=new mxCell("3",new mxGeometry(60,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontSize=14;whiteSpace=wrap;");c.vertex=!0;b.insert(c);d=new mxCell("4", +new mxGeometry(90,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;fontSize=14;whiteSpace=wrap;");d.vertex=!0;b.insert(d);c=new mxCell("",new mxGeometry(130,0,90,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd");c.vertex=!0;d=new mxCell("5",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;fontSize=14;whiteSpace=wrap;"); +d.vertex=!0;c.insert(d);d=new mxCell("6",new mxGeometry(30,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontSize=14;whiteSpace=wrap;");d.vertex=!0;c.insert(d);d=new mxCell("7",new mxGeometry(60,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;fontSize=14;whiteSpace=wrap;");d.vertex=!0;c.insert(d);d=new mxCell("8", +new mxGeometry(230,0,30,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;fontSize=12;align=center;rSize=5;strokeColor=#dddddd;whiteSpace=wrap");d.vertex=!0;return a.createVertexTemplateFromCells([b,c,d],260,30,"Button Toolbar")}),this.addEntry("bootstrap button group nested",function(){var b=new mxCell("",new mxGeometry(0,0,160,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd");b.vertex=!0;var d=new mxCell("1",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;perimeter=none;fontSize=14;whiteSpace=wrap;"); +d.vertex=!0;b.insert(d);d=new mxCell("2",new mxGeometry(30,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontSize=14;whiteSpace=wrap;");d.vertex=!0;b.insert(d);d=new mxCell("Dropdown",new mxGeometry(60,0,100,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;fontSize=14;spacingRight=10;whiteSpace=wrap;");d.vertex= +!0;b.insert(d);var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#000000;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-15,-2.5);c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button Group (Nested)")}),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;align=center;fontSize=16;whiteSpace=wrap;",80,40, "Button","Button (Large)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button large").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;align=center;fontSize=14;whiteSpace=wrap;",60,30,"Button","Button (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;align=center;fontSize=12;whiteSpace=wrap;", 44,22,"Button","Button (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button small").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;align=center;fontSize=10;whiteSpace=wrap;",40,20,"Button","Button (Tiny)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button tiny").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#3D8BCD;align=center;strokeColor=#3D8BCD;fontColor=#ffffff;fontSize=16;whiteSpace=wrap;", 80,40,"Button","Button (Large)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button large").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#3D8BCD;align=center;strokeColor=#3D8BCD;fontColor=#ffffff;fontSize=14;whiteSpace=wrap;",60,30,"Button","Button (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#3D8BCD;align=center;strokeColor=#3D8BCD;fontColor=#ffffff;fontSize=12;whiteSpace=wrap;", @@ -4579,29 +4579,29 @@ c.vertex=!0;b.insert(c);c=new mxCell("2",new mxGeometry(30,0,30,30),"strokeColor 44,22,"Button","Button (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button small").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#EFAC43;align=center;strokeColor=#EFAC43;fontColor=#ffffff;fontSize=10;whiteSpace=wrap;",40,20,"Button","Button (Tiny)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button tiny").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#DB524C;align=center;strokeColor=#DB524C;fontColor=#ffffff;fontSize=16;whiteSpace=wrap;", 80,40,"Button","Button (Large)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button large").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#DB524C;align=center;strokeColor=#DB524C;fontColor=#ffffff;fontSize=14;whiteSpace=wrap;",60,30,"Button","Button (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#DB524C;align=center;strokeColor=#DB524C;fontColor=#ffffff;fontSize=12;whiteSpace=wrap;", 44,22,"Button","Button (Small)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button small").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;fillColor=#DB524C;align=center;strokeColor=#DB524C;fontColor=#ffffff;fontSize=10;whiteSpace=wrap;",40,20,"Button","Button (Tiny)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap button tiny").join(" ")),this.addEntry("bootstrap dropdown small",function(){var b=new mxCell("Primary", -new mxGeometry(0,0,100,22),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#3D8BCD;strokeColor=#3D8BCD;fontColor=#ffffff;spacingRight=10;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-2.5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Small)")}), -this.addEntry("bootstrap dropdown small",function(){var b=new mxCell("Success",new mxGeometry(0,0,100,22),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#58B957;strokeColor=#58B957;fontColor=#ffffff;spacingRight=10;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-2.5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b], -b.geometry.width,b.geometry.height,"Dropdown (Small)")}),this.addEntry("bootstrap dropdown small",function(){var b=new mxCell("Info",new mxGeometry(0,0,100,22),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#55BFE0;strokeColor=#55BFE0;fontColor=#ffffff;spacingRight=10;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;strokeColor=none;perimeter=none;whiteSpace=wrap;");c.geometry.relative=!0;c.geometry.offset= -new mxPoint(-20,-2.5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Small)")}),this.addEntry("bootstrap dropdown small",function(){var b=new mxCell("Warning",new mxGeometry(0,0,100,22),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#EFAC43;strokeColor=#EFAC43;fontColor=#ffffff;spacingRight=10;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;strokeColor=none;perimeter=none;whiteSpace=wrap;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-2.5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Small)")}),this.addEntry("bootstrap dropdown small",function(){var b=new mxCell("Danger",new mxGeometry(0,0,100,22),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#DB524C;strokeColor=#DB524C;fontColor=#ffffff;spacingRight=10;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1, -.5,10,5),"shape=triangle;direction=south;strokeColor=none;perimeter=none;whiteSpace=wrap;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-2.5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Small)")}),this.addEntry("bootstrap dropdown split",function(){var b=new mxCell("Default",new mxGeometry(0,0,120,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=#dddddd;spacingRight=20;fontSize=14;whiteSpace=wrap;"); -b.vertex=!0;var c=new mxCell("",new mxGeometry(1,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-30,0);c.vertex=!0;b.insert(c);var d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#000000;strokeColor=none;perimeter=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex= -!0;c.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Split)")}),this.addEntry("bootstrap dropdown split",function(){var b=new mxCell("Primary",new mxGeometry(0,0,120,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#3D8BCD;strokeColor=#0D5B9D;spacingRight=20;fontSize=14;fontColor=#ffffff;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;resizeHeight=1;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(-30,0);c.vertex=!0;b.insert(c);var d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;strokeColor=none;perimeter=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Split)")}),this.addEntry("bootstrap dropdown split",function(){var b=new mxCell("Success",new mxGeometry(0,0,120,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#58B957;strokeColor=#288927;spacingRight=20;fontSize=14;fontColor=#ffffff;whiteSpace=wrap;"); -b.vertex=!0;var c=new mxCell("",new mxGeometry(1,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-30,0);c.vertex=!0;b.insert(c);var d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;strokeColor=none;perimeter=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;c.insert(d); -return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Split)")}),this.addEntry("bootstrap dropdown split",function(){var b=new mxCell("Info",new mxGeometry(0,0,120,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#55BFE0;strokeColor=#258FB0;spacingRight=20;fontSize=14;fontColor=#ffffff;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;resizeHeight=1;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(-30,0);c.vertex=!0;b.insert(c);var d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;strokeColor=none;perimeter=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Split)")}),this.addEntry("bootstrap dropdown split",function(){var b=new mxCell("Warning",new mxGeometry(0,0,120,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#EFAC43;strokeColor=#BF7C13;spacingRight=20;fontSize=14;fontColor=#ffffff;whiteSpace=wrap;"); -b.vertex=!0;var c=new mxCell("",new mxGeometry(1,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-30,0);c.vertex=!0;b.insert(c);var d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;strokeColor=none;perimeter=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;c.insert(d); -return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Split)")}),this.addEntry("bootstrap dropdown split",function(){var b=new mxCell("Danger",new mxGeometry(0,0,120,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#DB524C;strokeColor=#AB221C;spacingRight=20;fontSize=14;fontColor=#ffffff;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;resizeHeight=1;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(-30,0);c.vertex=!0;b.insert(c);var d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;strokeColor=none;perimeter=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Split)")}),this.addEntry("bootstrap dropup split",function(){var b=new mxCell("Dropup",new mxGeometry(0,0,120,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=#dddddd;spacingRight=20;fontSize=14;whiteSpace=wrap;"); -b.vertex=!0;var c=new mxCell("",new mxGeometry(1,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-30,0);c.vertex=!0;b.insert(c);var d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=north;fillColor=#000000;strokeColor=none;perimeter=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex= -!0;c.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropup (Split)")}),this.addEntry("bootstrap dropup split",function(){var b=new mxCell("Right dropup",new mxGeometry(0,0,140,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#3D8BCD;strokeColor=#0D5B9D;spacingRight=20;fontSize=14;fontColor=#ffffff;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;resizeHeight=1;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(-30,0);c.vertex=!0;b.insert(c);var d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=north;fillColor=#ffffff;strokeColor=none;perimeter=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropup (Split)")}),this.addDataEntry("bootstrap dropdown menu",160,90,"Dropdown (Menu)","rVTbbtswDP0aPzaw5TTYaxKv3UMLDOt+QItoS5gsGbKay75+pCQ7bu0CGToHAcw7eQ7prNy350fHO/lsBeis/JqVe2etj2/teQ9aZyxXIiurjLEc/xl7+MBaBGvecQfG3xLAYsCR61eImsrZTtiTiYbeX3QySN9ie1WRlbtecnRBIUdB8F6CSAJaOvJvzw3NtPqFk/QeX1fOwQFb2nGtGoMeB+wQHCrci/pDIfcU7p39DXurrQtFSxEesnT8oEzzQzWSBiuoWG2NT8HFBmUsKRSmncTDmn4TW6WoD2WpBWOdl2g7SeXhBQtQphM2i7qECzgP5w+xDaoE7CPYFry7oMtJCcobPNYR/1xC6hzFQcf7KDdj6JUpfElkLRNXzoibETZw4Z3ipiHtTkym7+1rmL5WWk8Qy8Mz48JYQwk6cAp7hYnqJqTYMlJvAy5pY1f3UZ7iuABj8nKguVdHeJNqCdpU/rtV2NVY+y5dyFD9jg3lhxy2rnvwM3LGMW7iaz3jaxuJYBsEPazz1lgvEVmWD6b/fIHxAN/xXYfn3TWxJC/tBekfeKs0AfYN9BG8OvAhQep2vkALx/wE9XjL40DF5Buhg8OOdgtL6G1Se9tdk/wkoSo/ebKJ/DWbb95m6YK//PMFo3j9rMcFmn71/wI="), +new mxGeometry(0,0,100,22),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#3D8BCD;strokeColor=#3D8BCD;fontColor=#ffffff;spacingRight=10;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;strokeColor=none;perimeter=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Small)")}), +this.addEntry("bootstrap dropdown small",function(){var b=new mxCell("Success",new mxGeometry(0,0,100,22),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#58B957;strokeColor=#58B957;fontColor=#ffffff;spacingRight=10;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;strokeColor=none;perimeter=none;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b], +b.geometry.width,b.geometry.height,"Dropdown (Small)")}),this.addEntry("bootstrap dropdown small",function(){var b=new mxCell("Info",new mxGeometry(0,0,100,22),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#55BFE0;strokeColor=#55BFE0;fontColor=#ffffff;spacingRight=10;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;strokeColor=none;perimeter=none;whiteSpace=wrap;");d.geometry.relative=!0;d.geometry.offset= +new mxPoint(-20,-2.5);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Small)")}),this.addEntry("bootstrap dropdown small",function(){var b=new mxCell("Warning",new mxGeometry(0,0,100,22),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#EFAC43;strokeColor=#EFAC43;fontColor=#ffffff;spacingRight=10;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;strokeColor=none;perimeter=none;whiteSpace=wrap;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Small)")}),this.addEntry("bootstrap dropdown small",function(){var b=new mxCell("Danger",new mxGeometry(0,0,100,22),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#DB524C;strokeColor=#DB524C;fontColor=#ffffff;spacingRight=10;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("",new mxGeometry(1, +.5,10,5),"shape=triangle;direction=south;strokeColor=none;perimeter=none;whiteSpace=wrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-20,-2.5);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Small)")}),this.addEntry("bootstrap dropdown split",function(){var b=new mxCell("Default",new mxGeometry(0,0,120,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=#dddddd;spacingRight=20;fontSize=14;whiteSpace=wrap;"); +b.vertex=!0;var d=new mxCell("",new mxGeometry(1,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,0);d.vertex=!0;b.insert(d);var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;fillColor=#000000;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-2.5);c.vertex= +!0;d.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Split)")}),this.addEntry("bootstrap dropdown split",function(){var b=new mxCell("Primary",new mxGeometry(0,0,120,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#3D8BCD;strokeColor=#0D5B9D;spacingRight=20;fontSize=14;fontColor=#ffffff;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("",new mxGeometry(1,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;resizeHeight=1;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,0);d.vertex=!0;b.insert(d);var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-2.5);c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Split)")}),this.addEntry("bootstrap dropdown split",function(){var b=new mxCell("Success",new mxGeometry(0,0,120,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#58B957;strokeColor=#288927;spacingRight=20;fontSize=14;fontColor=#ffffff;whiteSpace=wrap;"); +b.vertex=!0;var d=new mxCell("",new mxGeometry(1,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,0);d.vertex=!0;b.insert(d);var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-2.5);c.vertex=!0;d.insert(c); +return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Split)")}),this.addEntry("bootstrap dropdown split",function(){var b=new mxCell("Info",new mxGeometry(0,0,120,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#55BFE0;strokeColor=#258FB0;spacingRight=20;fontSize=14;fontColor=#ffffff;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("",new mxGeometry(1,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;resizeHeight=1;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,0);d.vertex=!0;b.insert(d);var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-2.5);c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Split)")}),this.addEntry("bootstrap dropdown split",function(){var b=new mxCell("Warning",new mxGeometry(0,0,120,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#EFAC43;strokeColor=#BF7C13;spacingRight=20;fontSize=14;fontColor=#ffffff;whiteSpace=wrap;"); +b.vertex=!0;var d=new mxCell("",new mxGeometry(1,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,0);d.vertex=!0;b.insert(d);var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-2.5);c.vertex=!0;d.insert(c); +return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Split)")}),this.addEntry("bootstrap dropdown split",function(){var b=new mxCell("Danger",new mxGeometry(0,0,120,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#DB524C;strokeColor=#AB221C;spacingRight=20;fontSize=14;fontColor=#ffffff;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("",new mxGeometry(1,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;resizeHeight=1;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,0);d.vertex=!0;b.insert(d);var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-2.5);c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropdown (Split)")}),this.addEntry("bootstrap dropup split",function(){var b=new mxCell("Dropup",new mxGeometry(0,0,120,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=#dddddd;spacingRight=20;fontSize=14;whiteSpace=wrap;"); +b.vertex=!0;var d=new mxCell("",new mxGeometry(1,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,0);d.vertex=!0;b.insert(d);var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=north;fillColor=#000000;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-2.5);c.vertex= +!0;d.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropup (Split)")}),this.addEntry("bootstrap dropup split",function(){var b=new mxCell("Right dropup",new mxGeometry(0,0,140,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;fillColor=#3D8BCD;strokeColor=#0D5B9D;spacingRight=20;fontSize=14;fontColor=#ffffff;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("",new mxGeometry(1,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;perimeter=none;resizeHeight=1;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,0);d.vertex=!0;b.insert(d);var c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=north;fillColor=#ffffff;strokeColor=none;perimeter=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-20,-2.5);c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dropup (Split)")}),this.addDataEntry("bootstrap dropdown menu",160,90,"Dropdown (Menu)","rVTbbtswDP0aPzaw5TTYaxKv3UMLDOt+QItoS5gsGbKay75+pCQ7bu0CGToHAcw7eQ7prNy350fHO/lsBeis/JqVe2etj2/teQ9aZyxXIiurjLEc/xl7+MBaBGvecQfG3xLAYsCR61eImsrZTtiTiYbeX3QySN9ie1WRlbtecnRBIUdB8F6CSAJaOvJvzw3NtPqFk/QeX1fOwQFb2nGtGoMeB+wQHCrci/pDIfcU7p39DXurrQtFSxEesnT8oEzzQzWSBiuoWG2NT8HFBmUsKRSmncTDmn4TW6WoD2WpBWOdl2g7SeXhBQtQphM2i7qECzgP5w+xDaoE7CPYFry7oMtJCcobPNYR/1xC6hzFQcf7KDdj6JUpfElkLRNXzoibETZw4Z3ipiHtTkym7+1rmL5WWk8Qy8Mz48JYQwk6cAp7hYnqJqTYMlJvAy5pY1f3UZ7iuABj8nKguVdHeJNqCdpU/rtV2NVY+y5dyFD9jg3lhxy2rnvwM3LGMW7iaz3jaxuJYBsEPazz1lgvEVmWD6b/fIHxAN/xXYfn3TWxJC/tBekfeKs0AfYN9BG8OvAhQep2vkALx/wE9XjL40DF5Buhg8OOdgtL6G1Se9tdk/wkoSo/ebKJ/DWbb95m6YK//PMFo3j9rMcFmn71/wI="), this.addDataEntry("bootstrap dropdown menu",160,200,"Dropdown (Menu)","7VhRb6MwDP41PK4iQLne47W97WWTTteHe86GgWhpgkK2tvfrzyGhZQXaSgztOi1SJew4tvN9thXVCxfr7Z2iRf4gE+Be+NMLF0pKbb/W2wVw7gU+S7xw6QWBjz8vuO3ZJdWuX1AFQl9yILAHXil/AatZKlkkciPsRql33G3keo3pLYkXzsucogkKPgoJLXNInIA7hbFfbzNzp8kj3qTU+DlRCp4wpblasb/GYmqstZLPsJBcqipGmFTL7BT0iYnsN8tycw9ifKdSaHeYxEZmnDfO3lYL9ZSzTKCOQ6oPru4ryXra5EzDCvXG1wazQ50DApSGbS+YlcoheQdyDVrt0GTDEp07C2IB93NwuaMYOR0trZztjx6owQ/HTjdTYYupFkM1+FoxKjKjnSfMwM6kwaOULybLY9z8arXYEFIYBwUohrlCQ3URUkE3Um8P7FyJTqZWbuLYAaOzUsCpZq/wxlUXtC78L8kwq33sG9cSdfSboA5f+5BpWoJukbO/xkV8Ref5GtpRtqGO6Eyrdbq56mBkYN07BKOgTV/cwR+Zzob3wfTExMJoNMFSHQfozv7omC5H86fJT39TmeHWxVVz6JGe0aWgRIs/Dv2LSY3OD7NOFuNhbeiK5qgU3qXn4lZt/LDD7woL4uOJrufkQKJHYfpbm2khdW5636dfnH8059EYnM/ak5+V9JEjeYHPmXj+7ynvG/KfuRTiMUrh+/nHVU0rFgacfA11gH+VQM/GALp+hn89t678uUX8UcqDtMpjBXhpqq9nKH/m4Uve4/GF4uEPKWve/L/qHw=="), this.addDataEntry("bootstrap dropdown menu header",160,150,"Dropdown (Menu, Headers)","7Vffb9sgEP5r/NjIxk6WPS5J25dNmpaHPdP6bKNisDBtkv31OwxO3EBbq2mmtSpSJO64X3wfR3CULuvttaJN9UPmwKP0MkqXSkptZ/V2CZxHJGZ5lK4iQmL8ReTqidWkW40bqkDoMQ7EOjxQfg9Ws1KyyeVG2IVW77hbqHSN5a2SKF20FUUTFGIUctpWkDsBVxpjX29Ls6fJDe6k1TidKAW3WNJCrdkfYzE11lrJO1hKLlWXI827YVYaestE+YuVldlHYmIXUmjnnMyMzDgf+F51A/WUs1KgjkOhD6G+d5KNtKmYhjXqTawNVoc6BwQoDdsnwexUDslrkDVotUOTDct15SwSC3hcgasdxczpaGvlcu96oAYnjp0wU6nHlMdQD75WjIrSaBc5M7AzafBo5b2p8hi3uBseG0IKE6ABxbBWGKhGIUXCSD122LkjOplaeYhjAEZnpYBTzR7gUagQtC79T8mwqn3uC9cSffYL0qfvY8iiaEF75Oy3MYqv7GW+Tu0o21BHdBbdeL65+mTJiefeIZgRn75ZgL8knp/eB1MP12/2gJ8H3WBTBK6Uo0tnSIpzCl06Clq80H473EbTkb18DYXw7w/+axvI0X1E4pt0y8xnVUhd4bWDiT75/af8noXgL/5Dg7X0hiNTJOZM3P33/JrnR+g2/TC8Z+fgfT7+2YKnAJ793wq8Rd4l0LNzAP3VA3oNuGWq30+HBfj9MM01fwPOUTx8GVrz4YfjXw=="), -this.addEntry("bootstrap input group",function(){var b=new mxCell("Username",new mxGeometry(0,0,250,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;spacingLeft=50;fontSize=14;align=left;fontColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("@",new mxGeometry(0,0,40,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;strokeColor=#dddddd;fillColor=#f0f0f0;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.vertex=!0;b.insert(c); -return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Input Group")}),this.addEntry("bootstrap input group",function(){var b=new mxCell("",new mxGeometry(0,0,250,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;spacingLeft=10;fontSize=14;align=left;fontColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell(".00",new mxGeometry(1,0,40,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;strokeColor=#dddddd;fillColor=#f0f0f0;whiteSpace=wrap;resizeHeight=1;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(-40,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Input Group")}),this.addDataEntry("bootstrap input group",250,30,"Input Group","1VTrToMwFH6a/nQpFF5gTOcPTUz2BHUcaGOhpJwN5tN7CnUXx3TR/bGE5Nwv35eWiazql0426tnmYJi4ZyJz1uIoVX0GxrCY65yJBYtjTj+LHy54o8HLG+mgxmsS4jFhK80GRstoaHFngkFhRWMtIibmrZK57UjhpOSyVZAHhTyNj6/60u8ye6UNWiRx5hysaZS5W+l3H5H6aHT2DTJrrBt6iHw45Cm0MUf2Yjg+o5FrXZdPUPi1Ut+ysDWGmlFCujS6rEkxQ8zgnurQKY2wonI+saMJyRZAAIfQXwRyMAUUl2ArQLejkE7nqAKY6Qg2V6BLFdJEsMl21Mt96oEWEgIz0yyJCZaSWxPlcZtvEG39a7a4/y5g7KClko+fyETXwh7/CHvyDeoOjES9hZPyf6EiOaNixvnN74xf5P9wcZpwa2ZCvxeraYx9s7vky72yRdECnlG5H3OKXVIPT+0YfvwSfwA="), +this.addEntry("bootstrap input group",function(){var b=new mxCell("Username",new mxGeometry(0,0,250,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;spacingLeft=50;fontSize=14;align=left;fontColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("@",new mxGeometry(0,0,40,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;strokeColor=#dddddd;fillColor=#f0f0f0;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.vertex=!0;b.insert(d); +return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Input Group")}),this.addEntry("bootstrap input group",function(){var b=new mxCell("",new mxGeometry(0,0,250,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;spacingLeft=10;fontSize=14;align=left;fontColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell(".00",new mxGeometry(1,0,40,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;strokeColor=#dddddd;fillColor=#f0f0f0;whiteSpace=wrap;resizeHeight=1;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(-40,0);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Input Group")}),this.addDataEntry("bootstrap input group",250,30,"Input Group","1VTrToMwFH6a/nQpFF5gTOcPTUz2BHUcaGOhpJwN5tN7CnUXx3TR/bGE5Nwv35eWiazql0426tnmYJi4ZyJz1uIoVX0GxrCY65yJBYtjTj+LHy54o8HLG+mgxmsS4jFhK80GRstoaHFngkFhRWMtIibmrZK57UjhpOSyVZAHhTyNj6/60u8ye6UNWiRx5hysaZS5W+l3H5H6aHT2DTJrrBt6iHw45Cm0MUf2Yjg+o5FrXZdPUPi1Ut+ysDWGmlFCujS6rEkxQ8zgnurQKY2wonI+saMJyRZAAIfQXwRyMAUUl2ArQLejkE7nqAKY6Qg2V6BLFdJEsMl21Mt96oEWEgIz0yyJCZaSWxPlcZtvEG39a7a4/y5g7KClko+fyETXwh7/CHvyDeoOjES9hZPyf6EiOaNixvnN74xf5P9wcZpwa2ZCvxeraYx9s7vky72yRdECnlG5H3OKXVIPT+0YfvwSfwA="), this.addDataEntry("bootstrap input group",250,30,"Input Group","tVRdb4IwFP01PM4AFbNncXMPW7LE7AdUuNDGQkmpgvv1u6VFceJG9lFC0nO/7zlJPRIX7VrRir3IFIRHHjwSKym1vRVtDEJ4oc9Tj6y8MPTx98LHG96g8/oVVVDqKQmhTThQsQdreatBlbQA66j1UTgH0wWOtwo8sqwZTWWDwEeQ0ppB6gB6KhNftLnZabbFTWqN15lSkOBIS7Xh7yYiMtFayR3EUkjV9SBpd9CTcSEG9qw7JqOiCS/zZ8jMepFpmclSu5rBHDEVPC8RiC6mc491aBjXsMFyJrHBCdHmyAClob1JaGdybK5BFqDVEUManmrmSI0s6T4DnjOXRpyN1hbnp9SzPHhxCo2rRa7U+muVDGnLvday/LFUvvluEKygxpJPPS3BVM7Dbzmff0G5AkE1P8BF+d/oMP93HRIGyW4r24EKZEyFRXem0kjGaXQJ/iyyKcdPeEBzsLimubdNptlN8Co5DnZqf3d/0b2HfQGZZTXoK5VOa4wJh/D8lNrw4Uv7AQ=="), this.addDataEntry("bootstrap input group",250,30,"Input Group","tVTtToMwFH2a/nQBOhZ/j+n8oYnJ4gPUcYHGQknbDebTe0vLPoQp8aOEpOd+33OSEpqU7VqxuniSKQhC7whNlJTG3co2ASFIFPCU0BWJogB/Et1f8YadN6iZgspMSYhcwp6JHTjLiwZVsRKcQ5uD8I7ClDjeKiR0qQuWygZBgCBluoDUA/TUNr5sc7vT7BU30QavM6VgiyMt1Ya/24jYRhsl3yCRQqquB027g56MC3Fmz7pjM2q25VX+CJldL7YtM1kZXzOcI2aC5xUC0cV07rEOTcENbLCcTWxwQrR5MkAZaK8S2pk8m2uQJRh1wJCGp6bwpMaO9KAAnhc+jXob0w7nx9STPHjxCo2rRQdq/bVKlrTlzhhZ/ViqwH5XCFagseRDT0s4lfPoW87nX1CuQDDD93BR/jc6zP9dB8VSLgdC0DEhFt2ZyiQdZ9InBLPYpRw+4TOmw8WQ6d42mWk/wbPkONix/c3tRfce9gVklmkwA6GOa4xph/D0mrrw88f2Aw=="), this.addDataEntry("bootstrap username large",250,40,"Username (Large)","tVTrboMgGH0af65BafsAtVv3Y0uWNHsAVj+FDMEArXZPvw+ht9Vu3Q1jwvnunKMkNK+7hWENf9QFyITeJjQ3Wruwq7scpEwyIoqEzpMsI/gm2d0Fb9p7ScMMKHdNQhYSNkyuIVieLRjFaggO67YyOrircbx5mtCZ5azQLQKCoGCWQxEBehofX3eVP9PoBU9iHW5HxsAKR5qZpXjzERMf7Yx+hVxLbfoetOgXekoh5ZG97JfPaNhKqOoBSn+8qW9ZauVizXSKmElRKQSyj+ndQx1aLhwssZxPbHFCtEUywDjoLhLamyKbC9A1OLPFkFYUjkdSJ4F0wkFUPKaNo43ZgKt96kEe3ESFhtWiZ2r9tUqetNnaOa1+LBXxzwWCDVgseb+jJb2W8+xLzj+j3IBkTmzgpPxvdBj/uw5r/As/VUBpBefkk35dyyodZjUmkNEkpGw/4OMvfYD17LusxwmetMDB9u1vUnLSfo93JXRZWnBnsu0PMqQkwsPdGsKPr953"), @@ -4609,43 +4609,43 @@ this.addDataEntry("bootstrap username normal",250,30,"Username (Normal)","tVTJbo this.addDataEntry("bootstrap username tiny",250,20,"Username (Tiny)","tVRZbsMgFDwNn42wSS6QpMtHK1WKegAaPxtUDBaQ2Onp+8Bka5w03bAsMbx9xoawWd3dW96IJ1OAIuyWsJk1xve7upuBUiSnsiBsTvKc4kvyuzPWLFppwy1of01A3gesuVpBf/LiwGpeQ29wfqOSQfga25tnhE2d4IVpEVAEBXcCigTQ0gT/uqvCTKNXnMR53I6shSW2NLUL+R48JsHbW/MGM6OMjTVYERdaSqnUwXkZV4ho+FLq6hHKMN44lCyN9ilnFjBXstIIVPSJ5qEKrZAeFpguBLbYIZ4lMsB66M4SGo8Sm/dgavB2gy6tLLxIpE560qkAWYkUloSg3PW42oXu5cFNUmhYLXai1l+rFEibrrw3+sdS0fCcIdiCw5QPW1qyqwjPvyScXeDbguJeruEo/W9EGP+7CCv8BS/Sr42GU+ZpXNd+xmyY1RRAR5M+ZPMJH7CeDbCefZf11MGzkdjYrvzNcfUt3CYwZenAn4i2G2NIR4T7a7V3P7x1PwA="), this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;fontSize=16;align=left;spacingLeft=10;whiteSpace=wrap;",250,40,"Johnny Boo","Full Name (Large)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap full name large").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;fontSize=14;align=left;spacingLeft=8;whiteSpace=wrap;",250,30,"Johnny Boo","Full Name (Normal)", null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap full name normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;fontSize=10;align=left;spacingLeft=6;whiteSpace=wrap;",250,20,"Johnny Boo","Full Name (Tiny)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap full name tiny").join(" ")),this.addEntry("bootstrap final price large",function(){var b=new mxCell("Amount",new mxGeometry(0,0, -200,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;spacingLeft=10;fontSize=16;align=left;fontColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("UAH",new mxGeometry(1,0,50,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;strokeColor=#dddddd;fillColor=#f0f0f0;fontSize=16;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-50,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b], -b.geometry.width,b.geometry.height,"Final Price (Large)")}),this.addEntry("bootstrap final price normal",function(){var b=new mxCell("Amount",new mxGeometry(0,0,200,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;spacingLeft=8;fontSize=14;align=left;fontColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("UAH",new mxGeometry(1,0,40,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;strokeColor=#dddddd;fillColor=#f0f0f0;fontSize=14;whiteSpace=wrap;resizeHeight=1;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(-40,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Final Price (Normal)")}),this.addEntry("bootstrap final price tiny",function(){var b=new mxCell("Amount",new mxGeometry(0,0,200,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;spacingLeft=6;fontSize=10;align=left;fontColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("UAH",new mxGeometry(1, -0,30,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;strokeColor=#dddddd;fillColor=#f0f0f0;fontSize=10;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-30,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Final Price (Tiny)")}),this.addDataEntry("bootstrap segmented button large",400,40,"Segmented Button (Large)","vZXdTuswDMefhYteUvWDIrjddhgX50hIEw8QVreJTtpUicc2nh6nSUdHu1HERKRKsWM7zv+npEE6r3ZLzRr+T+Ugg/RPkM61Uuhm1W4OUgZJJPIgXQRJEtEXJA8nVuN2NWqYhhqnJCQu4ZXJDTjPCphe8zAM3YrBvfQrHCvqbxEH6cxwlqstGREZOTMccm/QSmPjq11pDxW+0FEM0jTUGtbU06wQUs6VVLqtmhbtIL9eiTebmdkqqNV/6EXl7bDZqkYfGN96eyyOSVHW5JNQ2E1Nw9aiLv+21uLedrrlAmFFfltrSx2Sz6sBGmF3UtHW5eVcgqoA9Z5CtiJH7iJuIqd6xEGUHDun8zHj7PKQ+sGHJh7ROK50gOvZgDaXRmVFm20QVT2dS49qrWoYQXUWSXwKiQZDNR47IeOplJIvKd2dgaRBMhSvcFT+J+RuBuQG0DoeqAWrS+ud5cJeGmE5LIza2M4/35+oHQM2nkEDWlCv0HNNUi8dV+84Ye9fmDBzdk/beETb7JvS+u2flKCuDntf+xet2/066bbvaqiiMIADOIdjTOKVDXgt1dXFn0QrzuUv2i9co+OEHvjsEpfqBPks+jloMj/+ri68//N9Bw=="), +200,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;spacingLeft=10;fontSize=16;align=left;fontColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("UAH",new mxGeometry(1,0,50,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;strokeColor=#dddddd;fillColor=#f0f0f0;fontSize=16;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-50,0);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b], +b.geometry.width,b.geometry.height,"Final Price (Large)")}),this.addEntry("bootstrap final price normal",function(){var b=new mxCell("Amount",new mxGeometry(0,0,200,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;spacingLeft=8;fontSize=14;align=left;fontColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("UAH",new mxGeometry(1,0,40,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;strokeColor=#dddddd;fillColor=#f0f0f0;fontSize=14;whiteSpace=wrap;resizeHeight=1;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(-40,0);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Final Price (Normal)")}),this.addEntry("bootstrap final price tiny",function(){var b=new mxCell("Amount",new mxGeometry(0,0,200,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;spacingLeft=6;fontSize=10;align=left;fontColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("UAH",new mxGeometry(1, +0,30,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;strokeColor=#dddddd;fillColor=#f0f0f0;fontSize=10;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,0);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Final Price (Tiny)")}),this.addDataEntry("bootstrap segmented button large",400,40,"Segmented Button (Large)","vZXdTuswDMefhYteUvWDIrjddhgX50hIEw8QVreJTtpUicc2nh6nSUdHu1HERKRKsWM7zv+npEE6r3ZLzRr+T+Ugg/RPkM61Uuhm1W4OUgZJJPIgXQRJEtEXJA8nVuN2NWqYhhqnJCQu4ZXJDTjPCphe8zAM3YrBvfQrHCvqbxEH6cxwlqstGREZOTMccm/QSmPjq11pDxW+0FEM0jTUGtbU06wQUs6VVLqtmhbtIL9eiTebmdkqqNV/6EXl7bDZqkYfGN96eyyOSVHW5JNQ2E1Nw9aiLv+21uLedrrlAmFFfltrSx2Sz6sBGmF3UtHW5eVcgqoA9Z5CtiJH7iJuIqd6xEGUHDun8zHj7PKQ+sGHJh7ROK50gOvZgDaXRmVFm20QVT2dS49qrWoYQXUWSXwKiQZDNR47IeOplJIvKd2dgaRBMhSvcFT+J+RuBuQG0DoeqAWrS+ud5cJeGmE5LIza2M4/35+oHQM2nkEDWlCv0HNNUi8dV+84Ye9fmDBzdk/beETb7JvS+u2flKCuDntf+xet2/066bbvaqiiMIADOIdjTOKVDXgt1dXFn0QrzuUv2i9co+OEHvjsEpfqBPks+jloMj/+ri68//N9Bw=="), this.addDataEntry("bootstrap segmented button normal",400,30,"Segmented Button (Normal)","vZXfT4MwEMf/Fh94lADd1OdtOh80MVn8A+o4aGOhpO1++dd7pWVjwiZmi01Iete76/X7SUtApsV2rmjFXmUKIiCPAZkqKY2bFdspCBEkEU8DMguSJMIvSJ5OrMb1alRRBaUZkpC4hDUVK3CeBVC1ZGEYuhVtdsKvMFNgf7M4IBPNaCo3aERopFQzSL2BK5WNL7a5PVT4gUfRBqehUrDEniYZF2IqhVR1VZLVA/1qwb9s5thWMUp+QisqrYfNlqXxgfHI231xVPC8RJ+AzG6qK7rkZf5SW7MH2+mGcQML9NtaG+wQfV4NUAa2JxWtXV7OOcgCjNphyIanhrmIUeRUjxjwnPk04n1UOzvfpx744MQj6sdFOrjeNSh9bVRWtMnKGFkO59KiWsoSelCdRXJ3gogCjSWeGx3joZCSXyHdn2GkQFDD13BU/hJwow64DrMGh1Gclrn1TlJu7wy3GGZarmznP69PVI8OGo+gAsWxV2i5BqlH+tU7Ttj5ByYcO7ulbdyj7fiP0vrt3yTHrvZ73/oHrdn9Nmm2b2rILNNgOnD2xxjEa9zhNZc3V38RrTjXv2f/cI2OE45evitcqhPkR9HloNE8/FxdePvf+w0="), this.addDataEntry("bootstrap segmented button tiny",400,20,"Segmented Button (Tiny)","vZXfT8MgEMf/Fh/6aEOL0/dtOh80MVn8A3C9FiItDbBf/vUehc7OdlqzRZIm3HF3HN9PoBGdlbuFZjV/VhnIiN5HdKaVsn5W7mYgZZQSkUV0HqUpwS9KH06sJs0qqZmGyo5JSH3Chsk1eM8SmF7xOI79irF7GVa4LbG/eRLRqeEsU1s0CBoZMxyyYOBK7eLLXeEOFb/hUYzFaaw1rLCnaS6knCmpdFOV5s1Av16KD5c5cVWsVu/Qicqa4bJVZUNgQoI9FMekKCr0ScjdpqZmK1EVT401v3OZWy4sLNHvam2xQ/QFNUBb2J1UtHEFORegSrB6jyFbkVnuI26IV51wEAUPaYEEYcbbxSH1iw9OAqJhXLSH69WANpdG5USbrq1V1XguHaqVqmAA1Y9I6AkiGgyWeGx1TMZCSn+FdPsDIw2SWbGBo/LngLvpgesxa3FYLVhVOO80E+7OCIdhbtTadf79+pBm9NAEBDVogb1CxzVKPTqs3nHCPjww8cTbHW2TAW0nf5Q2bP+iBHZ12Pu6RbRv7Xb7tobKcwO2B+dwjFG8Jj1eC3V18RfRiXP5e/YP1+g4oQOeXuJSnSBPyfmg0fz6ufrw7r/3Ew=="), -this.addEntry("bootstrap search button large",function(){var b=new mxCell("Search...",new mxGeometry(0,0,200,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;align=left;spacingLeft=10;fontSize=16;fontColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("Go!",new mxGeometry(1,0,50,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;strokeColor=#dddddd;fillColor=none;fontSize=16;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative= -!0;c.geometry.offset=new mxPoint(-50,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Search Button (Large)")}),this.addEntry("bootstrap search button normal",function(){var b=new mxCell("Search...",new mxGeometry(0,0,200,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;align=left;spacingLeft=6;fontSize=14;fontColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("Go!",new mxGeometry(1,0,40,30), -"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;strokeColor=#dddddd;fillColor=none;fontSize=14;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-40,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Search Button (Normal)")}),this.addEntry("bootstrap search button tiny",function(){var b=new mxCell("Search...",new mxGeometry(0,0,200,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;align=left;spacingLeft=3;fontSize=10;fontColor=#dddddd;whiteSpace=wrap;"); -b.vertex=!0;var c=new mxCell("Go!",new mxGeometry(1,0,30,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;strokeColor=#dddddd;fillColor=none;fontSize=10;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-30,0);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Search Button (Tiny)")}),this.addDataEntry("bootstrap dropdown menu",300,300,"Dropdown (Menu)","7Zhtb5swEIB/DR8b8Za3jwnpKq3tNDWdpn104QAvBCPjvO3X7wyGkEFWJEpTqSGKxNlnn33P3cWxZjnr/R0nSfjIPIg061azHM6YyN/WeweiSDN16mnWQjNNHb+a+eVMr5H16gnhEIs2A8x8wJZEG8hbFpsXQjXTwdYfs9u8OxWHSHWHYo2LXBiaNU9D4rEdCjoKHklD8JSAPYnUX+8DubPBC+4nFfg64BxcXNicL+kfqTGU2oKzFTgsYjyzYXnZI3sS4tI4eKJBKHdjyLl9Fgs12BihjBY8irutjAdbfip9CyrNUhZjf8y4CI9zP4BfTk0iGkiVKGub70IqYIlq0tYOV49tyl3ABezPujxrUv6+A7YGwQ+osqOetCw1LD3Hooeg9oairdpImstBOfQIEF8Uw2aeVo1njWABR3BK4kC2zr2Kf1K2yfzj0yiq+FTPnhqtmMVyggQ4xbVCpamVp8xmT50OOKhAHgxzueJHo8GNSotDRATdwslUTa5V5r8ziqsqbd8YwxPrN2ZhvpiD+X4Kogan3EYrXvbrvLpmXJ5w/+D0s6dN8lUTpLRv1LNFkqYuiWaqWbDkOMmzFBZWh0g5k1OKjm3WQqMxxczhpHuODWvMlkC4Gw4Ggw9RLv9T0mTxbBrZVOo4pGj0p/Ko0RaU/WrxMycNZCz9TdK2KAgqLqY9pOyohn8O9Df6Pf/RdEIak56SuBP6SgE4X7XfNRAaU7RrIBQVYdID+vF7n5beALs8LqkFGZ8vDMZ9hMGk9x9tNwR3VZIvfG41xcIoe9rSGPdw4Jr0c+CyeyA3rZG7p7BV+bvihGL0f8Ac/lw5a+h9JG0RuRX2Dyz28D9PTv/+Cv7i4K1ewBs18I8sdRFnBv5pk6b0emC7PPxRL/DrF1zfAMnrvxhfqcxfzq70L05/2gv9+nXYM1sdWA7+K0lIfEV/afTlAbILehSPl+a5evVO/S8="), +this.addEntry("bootstrap search button large",function(){var b=new mxCell("Search...",new mxGeometry(0,0,200,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;align=left;spacingLeft=10;fontSize=16;fontColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("Go!",new mxGeometry(1,0,50,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;strokeColor=#dddddd;fillColor=none;fontSize=16;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative= +!0;d.geometry.offset=new mxPoint(-50,0);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Search Button (Large)")}),this.addEntry("bootstrap search button normal",function(){var b=new mxCell("Search...",new mxGeometry(0,0,200,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;align=left;spacingLeft=6;fontSize=14;fontColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("Go!",new mxGeometry(1,0,40,30), +"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;strokeColor=#dddddd;fillColor=none;fontSize=14;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-40,0);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Search Button (Normal)")}),this.addEntry("bootstrap search button tiny",function(){var b=new mxCell("Search...",new mxGeometry(0,0,200,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;align=left;spacingLeft=3;fontSize=10;fontColor=#dddddd;whiteSpace=wrap;"); +b.vertex=!0;var d=new mxCell("Go!",new mxGeometry(1,0,30,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;rSize=5;strokeColor=#dddddd;fillColor=none;fontSize=10;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-30,0);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Search Button (Tiny)")}),this.addDataEntry("bootstrap dropdown menu",300,300,"Dropdown (Menu)","7Zhtb5swEIB/DR8b8Za3jwnpKq3tNDWdpn104QAvBCPjvO3X7wyGkEFWJEpTqSGKxNlnn33P3cWxZjnr/R0nSfjIPIg061azHM6YyN/WeweiSDN16mnWQjNNHb+a+eVMr5H16gnhEIs2A8x8wJZEG8hbFpsXQjXTwdYfs9u8OxWHSHWHYo2LXBiaNU9D4rEdCjoKHklD8JSAPYnUX+8DubPBC+4nFfg64BxcXNicL+kfqTGU2oKzFTgsYjyzYXnZI3sS4tI4eKJBKHdjyLl9Fgs12BihjBY8irutjAdbfip9CyrNUhZjf8y4CI9zP4BfTk0iGkiVKGub70IqYIlq0tYOV49tyl3ABezPujxrUv6+A7YGwQ+osqOetCw1LD3Hooeg9oairdpImstBOfQIEF8Uw2aeVo1njWABR3BK4kC2zr2Kf1K2yfzj0yiq+FTPnhqtmMVyggQ4xbVCpamVp8xmT50OOKhAHgxzueJHo8GNSotDRATdwslUTa5V5r8ziqsqbd8YwxPrN2ZhvpiD+X4Kogan3EYrXvbrvLpmXJ5w/+D0s6dN8lUTpLRv1LNFkqYuiWaqWbDkOMmzFBZWh0g5k1OKjm3WQqMxxczhpHuODWvMlkC4Gw4Ggw9RLv9T0mTxbBrZVOo4pGj0p/Ko0RaU/WrxMycNZCz9TdK2KAgqLqY9pOyohn8O9Df6Pf/RdEIak56SuBP6SgE4X7XfNRAaU7RrIBQVYdID+vF7n5beALs8LqkFGZ8vDMZ9hMGk9x9tNwR3VZIvfG41xcIoe9rSGPdw4Jr0c+CyeyA3rZG7p7BV+bvihGL0f8Ac/lw5a+h9JG0RuRX2Dyz28D9PTv/+Cv7i4K1ewBs18I8sdRFnBv5pk6b0emC7PPxRL/DrF1zfAMnrvxhfqcxfzq70L05/2gv9+nXYM1sdWA7+K0lIfEV/afTlAbILehSPl+a5evVO/S8="), this.addDataEntry("bootstrap dropdown menu",200,252,"Dropdown (Menu)","7Zhtb5swEIB/DR8b8ZYs/ZiQrtLaTlPTaepHFw7w4mBknLf9+p3BISQQjS5hmbY4isTd2Xf2PT4bYTjefH0vSBo/8QCY4dwZjic4l8XTfO0BY4Zt0sBwJoZtm/g37I9HrFZuNVMiIJFtBtjFgCVhCyg0k8UboYbtofbr6K4wZ3LDtDmWc5zkxDKccRaTgK9QMFEISBZDoAW0pKr/fB2plfXecD2ZxMeeEODjxMZiSn+oHn3VWwo+A48zLvIYTpA3ZUmJT5PomUaxWo2lfIc8kXqwNUAZIwQUV1sZD676VWwTqsJSnqA94ULGO9+PEJauCaOR6sJy3XgVUwlT7KZirXD2qNPpAiFhfTTluUrn+x74HKTYYJcVDVTkPO1mgcWMQa8NRVfrSFbIUTl0BxAfNMNmnk6NZ43gFo4UlCSR0o6DSn4yvsjzE1LGKjk181ajlfBEOUhBUJwrVFStMmU3Z2p/wEZv5F6/kCt5tBrSqHsJYETSJey5akqtDv+FU5xVGfvG6u9Fv7G34bc+eBhmIGtwymW04uX+mtepFVcU3AHOMG9tiq9aIGV8q14tijT1CRtpteTpzsmLEibOCTvlSE1pOq5d2xqNJVZumFNqrF9jNgb6HVdZnJpeTBPSEcV30ToAVN0Bx8u26dATkOGB+03n1mqLzP29Y9Ax31nAbbkN/vRddwZm6rLTE7L+ZYYHh/Bm381Zj9wPnR+5fgz+rCS/zbnTtBcGeWtLY9DBdTns5rp0OyA3rJF7oLDU9TsThOLu/wtr+P+q2UEXNXtbI//IkwDfVwv2D1fsl8Z+2wX27XlV4f7EMx9p5tyfF1lGr69aF2dv2Z3At2rwPwOSN1+5mOnCn46u9C9Ov98J/fqXqRc+2/AC/CeSkuSK/uLoh2dAj+Lue2fRvfo59Cc="), this.addDataEntry("bootstrap context menu",140,128,"Context Menu","7VfLbsIwEPyaXJHjlEePBVourVSJQ88u2cQWjh05Lo9+fdexeTWgogokQCAh2eNdr3dmEjlRMigWI8NK/qZTkFHyHCUDo7X1o2IxACkjSkQaJcOIUoL/iL4cWI3rVVIyA8oek0B9wozJL/CIByq7lAHgtsBjDeMo6VecpXqOE4KTlFUc0jDBldLFF4vc9dL6xA4qi8OWgQmepJ8JKQdaalNvmmT1zyVao6ewtZLWv+1irvKcCwvjkk1ckTnui1g4OhgLi4Pt11DofQS6AGuWGDIXqeUh4sFTRDiInK/SaM+DrPJAvs7dsImDQOh+cpMGuUOjS2xK1dVYCuZMbO+yqrQCByJ9QuWvkLkmO4gwKXKFY1lDOxqFnBKMwL5hC8q0svv0cvhYfLtzxeSAZAYqjPgI5MfHikj/KWLHYwYks2IGO/vvEzaUeNcCK1Oy9BG/nKCzrALb8MH6XEdZ46FhjaeJFVpdqR9uUveVSCcVvt0UXmnL3ZuAsLsFLswCq61PaoFOwwJjl85RCIRBVlA3Y+DuhMtxQrtzBid0/759rdSUwst08Lq0R4yrJLpLz0B0734Tu4WHsHeOq9hj83UM2DKzKDIl+NxNr9QaN2mBmJzgVobTzSe2D9/+Av8B"), this.addDataEntry("bootstrap context menu",140,96,"Context Menu","7VZRb4IwEP41vBooE7fHiZsvW7LEhz13ctDGQknpBPfrd6VVIWhmNk1cIglJ7+td7+77rgEvjPNmrmjJXmUCwgufvDBWUmq7ypsYhPCIzxMvnHmE+Ph65PnIbtDu+iVVUOhTAogNWFPxCRaxQKU3wgFM51jWLPDCacVoIms0fDQSWjFInIE7pfHPm8z0MvrADiqNy5GCJVYyTbkQsRRStYeGafuYQK3kCjo7Sft0k5nMrkxQGpqjrbaQ63MOMgetNuhS80Qz53Fn6fAZ8Iy5sIfIYrSydrYL3ROHC8fdYR7DAY+PS81lcSE2+6wVsgADlnTJi+wFUtNYhAgVPCtwLVqop4GLKUFxbBY6UCoLveBfJn9giqkZ17DAsw1SYxGIKajQ490Re7JA5HcCBU4gBYJqvobe+YdUcyneJMfMxN9Yj/t+gEzTCvRA5F1dJ+l+N9S9kJohn5joNgFXNgFbuc46AuPBCCxMOEMhEAZRQduMgtskXM8kbI8+6yREP39Mt2oKbmU6+vU7IMa/JHocXYDoyfDKAbZMNd4a4iO3q9tdu54RmJC/jwCa+59i6979Z/4G"), -this.addEntry("bootstrap pagination",function(){var b=new mxCell("",new mxGeometry(0,0,330,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;strokeColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("<<",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;fontColor=#3D8BCD;whiteSpace=wrap;");c.vertex=!0;b.insert(c);c=new mxCell("1",new mxGeometry(30,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontColor=#3D8BCD;whiteSpace=wrap;"); -c.vertex=!0;b.insert(c);c=new mxCell("3",new mxGeometry(90,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontColor=#3D8BCD;whiteSpace=wrap;");c.vertex=!0;b.insert(c);c=new mxCell("4",new mxGeometry(120,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontColor=#3D8BCD;whiteSpace=wrap;");c.vertex=!0;b.insert(c);c=new mxCell("5", -new mxGeometry(150,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontColor=#3D8BCD;whiteSpace=wrap;");c.vertex=!0;b.insert(c);c=new mxCell("6",new mxGeometry(180,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontColor=#3D8BCD;whiteSpace=wrap;");c.vertex=!0;b.insert(c);c=new mxCell("7",new mxGeometry(210,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontColor=#3D8BCD;whiteSpace=wrap;"); -c.vertex=!0;b.insert(c);c=new mxCell("8",new mxGeometry(240,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontColor=#3D8BCD;whiteSpace=wrap;");c.vertex=!0;b.insert(c);c=new mxCell("9",new mxGeometry(270,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontColor=#3D8BCD;whiteSpace=wrap;");c.vertex=!0;b.insert(c);c=new mxCell(">>", -new mxGeometry(300,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;fontColor=#3D8BCD;whiteSpace=wrap;");c.vertex=!0;b.insert(c);c=new mxCell("2",new mxGeometry(60,0,30,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=#3D8BCD;fillColor=#3D8BCD;perimeter=none;fontColor=#ffffff;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height, +this.addEntry("bootstrap pagination",function(){var b=new mxCell("",new mxGeometry(0,0,330,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;strokeColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("<<",new mxGeometry(0,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;fontColor=#3D8BCD;whiteSpace=wrap;");d.vertex=!0;b.insert(d);d=new mxCell("1",new mxGeometry(30,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontColor=#3D8BCD;whiteSpace=wrap;"); +d.vertex=!0;b.insert(d);d=new mxCell("3",new mxGeometry(90,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontColor=#3D8BCD;whiteSpace=wrap;");d.vertex=!0;b.insert(d);d=new mxCell("4",new mxGeometry(120,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontColor=#3D8BCD;whiteSpace=wrap;");d.vertex=!0;b.insert(d);d=new mxCell("5", +new mxGeometry(150,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontColor=#3D8BCD;whiteSpace=wrap;");d.vertex=!0;b.insert(d);d=new mxCell("6",new mxGeometry(180,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontColor=#3D8BCD;whiteSpace=wrap;");d.vertex=!0;b.insert(d);d=new mxCell("7",new mxGeometry(210,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontColor=#3D8BCD;whiteSpace=wrap;"); +d.vertex=!0;b.insert(d);d=new mxCell("8",new mxGeometry(240,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontColor=#3D8BCD;whiteSpace=wrap;");d.vertex=!0;b.insert(d);d=new mxCell("9",new mxGeometry(270,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;fontColor=#3D8BCD;whiteSpace=wrap;");d.vertex=!0;b.insert(d);d=new mxCell(">>", +new mxGeometry(300,0,30,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rightButton;fontColor=#3D8BCD;whiteSpace=wrap;");d.vertex=!0;b.insert(d);d=new mxCell("2",new mxGeometry(60,0,30,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=#3D8BCD;fillColor=#3D8BCD;perimeter=none;fontColor=#ffffff;whiteSpace=wrap;");d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height, "Pagination")}),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.roundedButton;align=center;strokeColor=#dddddd;fontColor=#3D8BCD;whiteSpace=wrap;",100,30,"Previous","Button (Previous)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap ").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.roundedButton;align=center;strokeColor=#dddddd;fontColor=#3D8BCD;whiteSpace=wrap;",60,30,"Next","Button (Next)",null,null, -this.getTagsForStencil("mxgraph.bootstrap","","bootstrap ").join(" ")),this.addEntry("bootstrap button older",function(){var b=new mxCell("Older",new mxGeometry(0,0,100,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.roundedButton;align=center;strokeColor=#dddddd;fontColor=#dddddd;spacingLeft=10;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,.5,16,4),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.arrow;strokeColor=#dddddd;flipH=1;");c.geometry.relative=!0;c.geometry.offset= -new mxPoint(12,-2);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button (Older)")}),this.addEntry("bootstrap button newer",function(){var b=new mxCell("Newer",new mxGeometry(0,0,100,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.roundedButton;align=center;strokeColor=#dddddd;fontColor=#3D8BCD;spacingRight=10;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,16,4),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.arrow;strokeColor=#3D8BCD;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(-28,-2);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button (Newer)")}),this.addDataEntry("bootstrap tabs",460,45,"Tabs","tZZRk5sgEMc/jY/JoCTWPjaxvT70Zjq9fgESN8ocigPkkvTTd1FMTDA3uVaZcQaWXRf+P1YJ6Lo8PilWF88yAxHQrwFdKylN2yuPaxAiiAjPApoGUUTwCaJvd2bDZpbUTEFlHgmI2oA3JvbQWr7LElqjNifhjIUpcWlpGNCVLlgmDzggOMiYLiBzA5yprX95zO1+5hvchTbYnRu2+S1rdNlxIdZSSNW8lu6ahnYmeF6hbYvLBmUdZWV6jqRpNodR8hV6M1nTcEa98D82+xL7h4IbeKnZ1hoOuAK0uY2CMnC8K1Zjcko9ASph1AldDjwzReuxTNqoAnheuKhFqzFhuh3n58iL8thx4g+DoB6IlGu2EahuRH7w6nV0JrJe7Y2R1TtYrtWuZAU3Qt9gOsMYG4ALiN1x7fEICZkGyMID8gxasxz0lCT8QhgJDU2T1Tq1gUiFV/kvpxYl0+EK49jnFcbT8Fp6vDqE45FSCramp3PiA/rctHuAbqCcadagOO4Yeq7/zGTxPpM24OR+DvOlR6hTsg+og6ZAMMPf4OpdQ9Rc/p+S47LOyWc0vko/S67fIHc7Dcajft7FQwch9g7Cl63hWF34HZX5pNU7dbFGExZrlAwUK5moWD95jDwsneJGcVbl1rrKuK0/i5KmWu7tKm8lvyg3JPlAmT2kXPyfJRUO/KOW41TUTfZZ1KUftaaSx3kJ3uh6/6I2wlntLmFu09RXfEGiga/Yx08uDi+X8Va4/l39Lw=="), +this.getTagsForStencil("mxgraph.bootstrap","","bootstrap ").join(" ")),this.addEntry("bootstrap button older",function(){var b=new mxCell("Older",new mxGeometry(0,0,100,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.roundedButton;align=center;strokeColor=#dddddd;fontColor=#dddddd;spacingLeft=10;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("",new mxGeometry(0,.5,16,4),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.arrow;strokeColor=#dddddd;flipH=1;");d.geometry.relative=!0;d.geometry.offset= +new mxPoint(12,-2);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button (Older)")}),this.addEntry("bootstrap button newer",function(){var b=new mxCell("Newer",new mxGeometry(0,0,100,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.roundedButton;align=center;strokeColor=#dddddd;fontColor=#3D8BCD;spacingRight=10;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("",new mxGeometry(1,.5,16,4),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.arrow;strokeColor=#3D8BCD;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(-28,-2);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Button (Newer)")}),this.addDataEntry("bootstrap tabs",460,45,"Tabs","tZZRk5sgEMc/jY/JoCTWPjaxvT70Zjq9fgESN8ocigPkkvTTd1FMTDA3uVaZcQaWXRf+P1YJ6Lo8PilWF88yAxHQrwFdKylN2yuPaxAiiAjPApoGUUTwCaJvd2bDZpbUTEFlHgmI2oA3JvbQWr7LElqjNifhjIUpcWlpGNCVLlgmDzggOMiYLiBzA5yprX95zO1+5hvchTbYnRu2+S1rdNlxIdZSSNW8lu6ahnYmeF6hbYvLBmUdZWV6jqRpNodR8hV6M1nTcEa98D82+xL7h4IbeKnZ1hoOuAK0uY2CMnC8K1Zjcko9ASph1AldDjwzReuxTNqoAnheuKhFqzFhuh3n58iL8thx4g+DoB6IlGu2EahuRH7w6nV0JrJe7Y2R1TtYrtWuZAU3Qt9gOsMYG4ALiN1x7fEICZkGyMID8gxasxz0lCT8QhgJDU2T1Tq1gUiFV/kvpxYl0+EK49jnFcbT8Fp6vDqE45FSCramp3PiA/rctHuAbqCcadagOO4Yeq7/zGTxPpM24OR+DvOlR6hTsg+og6ZAMMPf4OpdQ9Rc/p+S47LOyWc0vko/S67fIHc7Dcajft7FQwch9g7Cl63hWF34HZX5pNU7dbFGExZrlAwUK5moWD95jDwsneJGcVbl1rrKuK0/i5KmWu7tKm8lvyg3JPlAmT2kXPyfJRUO/KOW41TUTfZZ1KUftaaSx3kJ3uh6/6I2wlntLmFu09RXfEGiga/Yx08uDi+X8Va4/l39Lw=="), this.addDataEntry("bootstrap pills",392,45,"Pills","3ZbdbpswFMefhstEgANjlwO27mKVpvUJ3HACVg1Gttske/odg6Ekhipdx80sIdnH5/jj//Mx9khWn+4kbat7UQD3yFePZFII3dfqUwace6HPCo/kXhj6+Hnht4XeoOv1Wyqh0bcEhH3AC+XP0Fu+ixp6o9Jnbo2VrnFpeeCRVFW0EEds+NgoqKqgsA3saY1/fSrNfraPuAulsbqVEva4nJRyVjboscfVgUSDfGC/TUhkwrUUT5AJLrAnb0SDHemBcT6YvJCQPEmz3NhFoyf2Q1euBjxWTMNDS/fGcMR1oM1uF6SG06JkncnqdQeoh5ZndDmyQle9R5T0URWwsrJRu15pn6q+XY6Rr/pjxSKYx0EcHDlT9JGjxqH/gzVPa5G50nnU801iS9CmPlegiq6sAMcGxPZAT1gFvr8OrJ0D6x6UoiWotShdCHsrsfciGnNMIR3WlL+sasRfD1sQxy63IF6HW+RwG1CuRyxxiX3uyuLFt3DBtSAZ7hgmrn/NZPc2kz7gbH8j28ghNCg5BTRAk8CpZi9wMdYcNTv/T8FwWePkGxJfTL9JLkcQh4MC7VAfd3HTQYidg/Blr5lozF0ryv8zi8MVszhMZrLYXymLPznwHF4DCi0ZbUpjTQtmIBjGJFfi2axy8Y0xK/lM/t2kXPzBXAtmfmLRv0m1q9k34TD9R5INm6+v2N59+sj9Aw=="), this.addDataEntry("bootstrap breadcrumb",460,30,"Breadcrumb","7ZZdb4IwFIZ/TW8NtH7sGph64ZIl/oIqB2lWKCmd4H79Tm39irqZTI1LhJC0b8+hp+/DSSAsLtqR5lX+plKQhL0SFmuljBsVbQxSEhqIlLCEUBrgQ+jwzGq4Xg0qrqE0lyRQl7Dk8hOc4oTarKQXclNgWUlIWFTnPFUNTgKcpLzOIfUTXKlsfNEu7Fk6MzxBbXDY0RrmWEqkp+LLRvRstNHqA2IllUalVCUuRJmQciMRyrK+vVH3FYI20J495VryRxyBKsDoFYY0IjW5i+j2nRNBDmKR+zTmNV67+WKbuvMMB9620xayIwvH+JKr2+hcrEALrBD2fPvVzI2kSrPnL0teojix+RWfi3IxgcyaEtoymlwYmKJua2lwe8sPagQ43pgXXkqG/kqm9wMYDZIbsYSD1/+FVvfEBz98eFjp+ro7GXoNMn6HdyVwYxq0h9A3GSrLajBHJLd1XQS3dwR3Imaa+y/kkQFvu/Eftt5pwINbAO4/u/chujekt6A7OKKbcMOfeO/eu2H3CnhxuvuPdeH7v7nf"), -this.addEntry("bootstrap pills vertical",function(){var b=new mxCell("",new mxGeometry(0,0,200,158),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize5=;strokeColor=none");b.vertex=!0;var c=new mxCell("Home",new mxGeometry(0,0,200,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#3D8BCD;fontColor=#ffffff;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);var d=new mxCell("42",new mxGeometry(1, -.5,25,16),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=8;strokeColor=none;fontColor=#3D8BCD;whiteSpace=wrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-33,-8);d.vertex=!0;c.insert(d);c=new mxCell("Profile",new mxGeometry(0,0,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;fontColor=#3D8BCD;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0, -32);c.vertex=!0;b.insert(c);c=new mxCell("Messages",new mxGeometry(0,0,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;fontColor=#3D8BCD;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,64);c.vertex=!0;b.insert(c);d=new mxCell("24",new mxGeometry(1,.5,25,16),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=8;fillColor=#999999;strokeColor=none;fontColor=#ffffff;whiteSpace=wrap;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(-33,-8);d.vertex=!0;c.insert(d);c=new mxCell("Disabled Link",new mxGeometry(0,0,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;fontColor=#dddddd;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,96);c.vertex=!0;b.insert(c);c=new mxCell("System Settings",new mxGeometry(0,0,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomRect;fontColor=#3D8BCD;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,128);c.vertex=!0;b.insert(c);d=new mxCell("1",new mxGeometry(1,.5,25,16),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=8;fillColor=#999999;strokeColor=none;fontColor=#ffffff;whiteSpace=wrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-33,-8);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],200,158,"Pills (Vertical)")}),this.addDataEntry("bootstrap navbar",720,100,"Navbar","3ZjdjqIwFMefhksJBXX0Vt2dm9lkMz5BBw7QTGlJqaPu028LFUFgcCKwk8WYtKenX79/21OwvG1yehY4jX/xAKjl/bC8reBcFqnktAVKLdchgeXtLNd11N9yf3aUorzUSbEAJu+p4BYVPjA9QGEpDJk8U2OIZaKGtUOWt8liHPCjyjgqE+AshsBkVEmq/ZNTpOdiv6kZZFIlbSHAV0PZiD35oz0WKh0SSreccpH34IVL/dOtSMHfoVIS5I+uDf5BZOQDXiEr2tG9msGDkHDqBJCbzOyfgScgxVm5HEkg48LjyUByYiBRfKnmGCPOCkNU1r3yVAmDtB2v18C7EZgFgzMuENfxMc7ghvXFxJmsQF7nj7EbldBc5Y8xkbBPsa8tR9XRvcjdXuSrFuLzAYDPG8BfCHsfiffNMi4Xa7sOHdCHhnyqA64wX47EfDEl80fX+Ei40Xw63ssG753gqQLKvinzTOEmLHo1GJAzng6u09ShPMmHFuKpP3he2EpBMIvoLbgapTbKAdEaEM6UKeMHPaVNCoKosULF7S5yy89XcFHhbG4N9qLBcdWkaJwEUCxVcK611EbW9P6bEzWosusZWtc6n3n1FngYZiAbypRzuEusVUOsPWDhx7ZtT3Hl6b7a3Oya0o4pibTsFEJ53UQveW7UPeQ5i5oczZXgtu0ob4AdtW6KdHhLiPy3Co3EeYGcHs5tt6QhMF86HjlkY+bHGubkwbiGFX0pMD98lK3qos5uA80ghxlCk90BekWcMLr3CftppH9YWXcSZe94I/9OlwrU8Xr9f94qVPb6baZwr366+Qs="), +this.addEntry("bootstrap pills vertical",function(){var b=new mxCell("",new mxGeometry(0,0,200,158),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize5=;strokeColor=none");b.vertex=!0;var d=new mxCell("Home",new mxGeometry(0,0,200,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#3D8BCD;fontColor=#ffffff;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;");d.geometry.relative=!0;d.vertex=!0;b.insert(d);var c=new mxCell("42",new mxGeometry(1, +.5,25,16),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=8;strokeColor=none;fontColor=#3D8BCD;whiteSpace=wrap;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-33,-8);c.vertex=!0;d.insert(c);d=new mxCell("Profile",new mxGeometry(0,0,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;fontColor=#3D8BCD;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0, +32);d.vertex=!0;b.insert(d);d=new mxCell("Messages",new mxGeometry(0,0,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;fontColor=#3D8BCD;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,64);d.vertex=!0;b.insert(d);c=new mxCell("24",new mxGeometry(1,.5,25,16),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=8;fillColor=#999999;strokeColor=none;fontColor=#ffffff;whiteSpace=wrap;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(-33,-8);c.vertex=!0;d.insert(c);d=new mxCell("Disabled Link",new mxGeometry(0,0,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;fontColor=#dddddd;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,96);d.vertex=!0;b.insert(d);d=new mxCell("System Settings",new mxGeometry(0,0,200,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomRect;fontColor=#3D8BCD;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,128);d.vertex=!0;b.insert(d);c=new mxCell("1",new mxGeometry(1,.5,25,16),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=8;fillColor=#999999;strokeColor=none;fontColor=#ffffff;whiteSpace=wrap;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-33,-8);c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([b],200,158,"Pills (Vertical)")}),this.addDataEntry("bootstrap navbar",720,100,"Navbar","3ZjdjqIwFMefhksJBXX0Vt2dm9lkMz5BBw7QTGlJqaPu028LFUFgcCKwk8WYtKenX79/21OwvG1yehY4jX/xAKjl/bC8reBcFqnktAVKLdchgeXtLNd11N9yf3aUorzUSbEAJu+p4BYVPjA9QGEpDJk8U2OIZaKGtUOWt8liHPCjyjgqE+AshsBkVEmq/ZNTpOdiv6kZZFIlbSHAV0PZiD35oz0WKh0SSreccpH34IVL/dOtSMHfoVIS5I+uDf5BZOQDXiEr2tG9msGDkHDqBJCbzOyfgScgxVm5HEkg48LjyUByYiBRfKnmGCPOCkNU1r3yVAmDtB2v18C7EZgFgzMuENfxMc7ghvXFxJmsQF7nj7EbldBc5Y8xkbBPsa8tR9XRvcjdXuSrFuLzAYDPG8BfCHsfiffNMi4Xa7sOHdCHhnyqA64wX47EfDEl80fX+Ei40Xw63ssG753gqQLKvinzTOEmLHo1GJAzng6u09ShPMmHFuKpP3he2EpBMIvoLbgapTbKAdEaEM6UKeMHPaVNCoKosULF7S5yy89XcFHhbG4N9qLBcdWkaJwEUCxVcK611EbW9P6bEzWosusZWtc6n3n1FngYZiAbypRzuEusVUOsPWDhx7ZtT3Hl6b7a3Oya0o4pibTsFEJ53UQveW7UPeQ5i5oczZXgtu0ob4AdtW6KdHhLiPy3Co3EeYGcHs5tt6QhMF86HjlkY+bHGubkwbiGFX0pMD98lK3qos5uA80ghxlCk90BekWcMLr3CftppH9YWXcSZe94I/9OlwrU8Xr9f94qVPb6baZwr366+Qs="), this.addDataEntry("bootstrap navbar form",720,40,"Navbar Form","xZVvb4IwEMY/Td+SUmTTt+LmXmzJEj9BlYM2K5SUKrhPv4PW/3NzmVGMSe+5O3p9fhBIlBTt1PBKvOkUFImeSJQYra1bFW0CShFGZUqiCWGM4p+w5zPZsM/Sihso7SUNzDWsuFqCU5xQ27XygrAFjjUJSTSuBU91gwHFIOW1gNQHmKm6+qLNu7MEczxBbXEZGAMLHGVsZvKzq4hxnUmlEq206XeIsofu193FGv0Be5m0vzDjxwRjoT171F7y55yCLsCaNZY0MrXCVTx6O6gAmQvfNvAar12cb1t3xuHCe/e9j9GJj2PDy/TqZjovD30qdQlHpm4kXdo9N0f95XWPIxxg3AhpYVbxRac0uFHHC2qseNn4FF4Kgf0KYfgDAwOKW7mCg9v/B8zgBMwMuFmIIAhu8aSff6KP2Gx1rmReoqYg61EjFVnmr300CenNaTH6Da7or7j8Fu9a4s6M+oGGsetYuzA+7NdZVoM9gb0d8yL+8Sn/5byQ9r7w7//CXYkgG9FrI8Rw9/1z5fufxy8="), this.addDataEntry("bootstrap navbar button",720,40,"Navbar Button","vZRbT8MgFIB/Da9LW7apr+10vpiY7BfgOC1EWhrAtfPXeyi4S7bqFi80Tc6dcz4IhBZ1vzSsFU+agyL0ntDCaO2CVPcFKEWyRHJCFyTLEvxJ9jDiTQdv0jIDjbskIQsJG6beIFiCwbqtigbhamxrkRKaW8G47lBJUOHMCuBRQU/r4+u+8rNMXnAC61CcGANrbCU3K/nuI2Yol1KpQitthh1oOfefr+KMfoUDDx8WejohHaxatvYlOqyLttg6GAf96PiDKc6+BF2DM1sM6SR3IkTcRESJAFmJmDaNNmaDXu1S9zBRiDzPs6UnbHPDGv7bgFmzFp5XXurGHbC7G1a0R/jpdISlAYsRj58E0kvxZt/ivf2CrgHFnNzAUfmfIJ+eIF/JqvEBzX/c6+vu798xn59hTq9lHnd41hI3zpL++Di3QZ0d5+uytOBOTmzX5blDRHX/3oXww+fwAw=="), this.addDataEntry("bootstrap navbar text",720,40,"Navbar Text","vVTbboMwDP2avFYhtLu8QrfuYdUm9QuyxpCoIUEhK3RfP0PS27pulVYNhLCPL7GPrZA0r7qZ47WcWwGapA8kzZ21PkhVl4PWhFElSDoljFH8CHs8Y00GK625A+MvCWAhYM31OwQkAI3f6AhIX2FZ04SkWSO5sC0qFBXBGwkiKmipe/+qK/teRm/YQeNRHDkHSywlcwv10XtMUC6U1rnV1g0npMVN//ZZvLMrOLCI4UFLK5WHRc2XfYoW8yIWSwfnoTvb/gDF3mdgK/Bugy6tEl4Gj9tIEZWgShnDxhHjTdDLXeieTBQin99zm55wmzluxLUJ5mYpe76ywhp/wN398EQ8kp+Mz3DpoEGPpy0DyaX0sl/pvfuBXQeae7WGo/R/oXx8QvlClQZJRBcTcjM6526Fvxfv7dWXPez68R4ba+DL0m+hMxPjGqtGTEMxpMNZKVM+D9o0of8+w2RyjSHGI16twpMZ7Y73Yxthi6IBfzL0XWHf7QGq+yszuB/eqJ8="), this.addDataEntry("bootstrap non nav link",720,40,"Non-nav Link","vZRfb4IwEMA/TR9noDi3vaKbezFb5ifo5KCNhZK2E9yn35VWxKibyYwQwv3v3e+SkmRatnPNar5QGUiSPJNkqpWyXirbKUhJaCQykswIpRF+hL6c8cadN6qZhspekkB9wobJL/AWbzB2K4OB2xLbmsUkSQ1nmWpQiVDJmOGQBQU9tYsv28LNMvrECYxFcaQ1rLCVVC/Ft4u4RzkXUk6VVLo7Ickn7nVVrFZrGHiy7kFPaBO0hfbsqJ0pzDkHVYLVWwxpRGa5j3gIOCIOouAhbRxszHi96FP34FAI7E5zTI44pppV2bVhsmrFHZs0V5UdcHrqnmAPoOMx6g0XFpY1WzlLgyXcJsBgxOuOQHwpXvon3sdf6GqQzIoNHJT/D/LxEfKlKCqEiCGVr02jBdNr/L1Zq26+CyaxH7RpDyM1uAZRFR+BDY1us5/DhMG24sk11hUOfFcC++hPu+uL73JUnhuwRwvuGz21c1T3V6EPH96UPw=="), this.addDataEntry("bootstrap navbar",720,40,"Navbar","7ZZrT4MwFIZ/Tb8upWxTv47p9kETk/2COg5rs0JJqYP56z3QshtOl4iXGJuQ9Lw9p5f3AVISRmk1MzwXDzoGRcJbEkZGa+t6aRWBUoRRGZNwShij+BB2d2Y0aEZpzg1k9pIC5go2XD2DU5xQ2K3ygrApbmsakHBSCB7rEgOKQcwLAbEPcCSv89NqVZ9l8IQnKCx2B8bA0tYZ1ug1RFppg3mZzjB9YhbypS4bYT+RSrXDhIWsaaj7HYKxUJ09ZSP5I85Ap2DNFlNKGVvhMq68E1SAXAlfNvQaL1y82pXuPcOOt+1tC8OOhRPDs7h3H9+x8dC6VtKZPXDzpmle96YHQ4xLIS0scr6slRIXqqlAgRnz1qfgUgjsQwjX7zAwoLiVGzia/jNghh0wc5zki7icvL20aWd5HcNJmvbtMMZ9wPArPGqJCzNaHXNuK3SSFGA78Hb7uojnqMPzXmbrX/qd/RmUwek/sheW43+WP8CS0R5YYri/n7j0w+vLKw=="), this.addDataEntry("bootstrap jumbotron",800,500,"Jumbotron","vZXNjtMwEMefhYOPRI5DS89J2eUAp+UFvM0kNvgjctxtytMzE6fslqRSkQKtWo3nw7F//7HDisoOj0F26quvwbDiEyuq4H1Mlh0qMIYJrmtW7JkQHH9MPNyI5mOUdzKAi/cUiFTwIs0Rkic5+ng2k0NFi8va56woeyVrf8IBx0EtewX1NMBIR/l2aGkv2TPuoI9oZiHAAZdShif9kzI2aDfamMobH8YnFA2nL80Sg/8Bl4jzDgvKaYUQIgw3dzm6pi0+grcQwxlTTrqOKmXseCLBFehWTWWbi1P2ydH+rn2FhsbEbZlhMWP4GRM8ExWtwAdTv1sbqnQHRYzKxrs4gd1RiTS6dTgw0BD0k9IRnjp5oIQTVt7LUyzznAq2E7XzBW0avqG93S3Q3q0A+8MM9jele0qgP0mUte0QMz06oAj86HRMWlxFvx/ts8d+c++TLIIfvO2w5RCB4A3SRY80RrsWLRiQO00RIyZo79CONHsDMh4DSkb1LqbqsVg7nMRKSs7+h/6IZlnwP3piff3zpQbYLjRAvsZx28w64AvIQIJYH+BfXV8E+s2V9TB+5lcZHsOy2t+6yu5RawV5eMY/bq4U4tl2plC+dEQvqgUw2LkvcLWCv1ANh68vsTF29Y77BQ=="), -this.addEntry("bootstrap page header",function(){var b=new mxCell("Example page header",new mxGeometry(0,0,360,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.anchor;fontSize=35;align=left;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("Subtext for header",new mxGeometry(360,10,300,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.anchor;fontSize=24;align=left;fontColor=#999999;whiteSpace=wrap;");c.vertex=!0;var d=new mxCell("",new mxGeometry(0,50,750,10),"shape=line;strokeColor=#dddddd;"); -d.vertex=!0;return a.createVertexTemplateFromCells([b,c,d],700,80,"Page header")}),this.addDataEntry("bootstrap thumbnail custom content",330,400,"Thumbnail with custom content","1VbdkpowFH4aLuvEoNZeVmz3qp3ObF8gQjCnDYSGgz99+p5AUBDcsVPt7OJIcn6TfOdLQhBG2eHJikJ9MYnUQfgpCCNrDDa97BBJrQPOIAnCdcA5o3/AP1+xTmsrK4SVOd4SwJuAndCVbDSNosSj9gqFGU1rPQ3CValEYvYkMBISUSqZeIEshfPPDlu3lsmGVlAidSfWypimskpB68hoY+usYVo/pLfP8NtFzl0WtOan7Hgl9UMWP01pUR6uLrVW+XU+SZNJtEdy2UOCqvEIwwYOpiRslQ+bMa8UZaPYnmLPyFHHgzcOZDgAMuTswNvUHTxbqFpcTI4eAj4bwYm53wCb3OTSB3ecP9QP6fcKUD4XInZp91SGWyHk4xD6gHkTcOxJXXj5CLz8HvDOBvB+V1W2yQU4Ly02tHXuTFyRx8oB26vQgmShYZuToGWKj8N62ge73cg9uNkom/8d7fkA7chSPs5+VCUaak0C1FAelogCNpWziZheqYhBQwlOAXnjIreyxDqcekjNr0pkE2rXROK4GZZsGpyNiE3vDBxWxqKglgqzg8T1BJ6T0KKq0mX5WmktsjZNUu8GL+SwUdRUGi3EIMu6JgriSrtsFXbHnjyMP9dPtTHqXLDLcQhioT96NZqiT8np7P9xcHEjB5d34OBiwMFVhejY8Zj7qXsPdeFdDM/kcL1cResbz+TTRXfvGh17AZ2SLF84FazUAmEne7FjZfLjfTOQ41VCvFtcFNqkael250WZT7O+qfLvX1Hl/27vvrlytpv3nvUk8fz92rh3P2//AA=="), +this.addEntry("bootstrap page header",function(){var b=new mxCell("Example page header",new mxGeometry(0,0,360,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.anchor;fontSize=35;align=left;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("Subtext for header",new mxGeometry(360,10,300,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.anchor;fontSize=24;align=left;fontColor=#999999;whiteSpace=wrap;");d.vertex=!0;var c=new mxCell("",new mxGeometry(0,50,750,10),"shape=line;strokeColor=#dddddd;"); +c.vertex=!0;return a.createVertexTemplateFromCells([b,d,c],700,80,"Page header")}),this.addDataEntry("bootstrap thumbnail custom content",330,400,"Thumbnail with custom content","1VbdkpowFH4aLuvEoNZeVmz3qp3ObF8gQjCnDYSGgz99+p5AUBDcsVPt7OJIcn6TfOdLQhBG2eHJikJ9MYnUQfgpCCNrDDa97BBJrQPOIAnCdcA5o3/AP1+xTmsrK4SVOd4SwJuAndCVbDSNosSj9gqFGU1rPQ3CValEYvYkMBISUSqZeIEshfPPDlu3lsmGVlAidSfWypimskpB68hoY+usYVo/pLfP8NtFzl0WtOan7Hgl9UMWP01pUR6uLrVW+XU+SZNJtEdy2UOCqvEIwwYOpiRslQ+bMa8UZaPYnmLPyFHHgzcOZDgAMuTswNvUHTxbqFpcTI4eAj4bwYm53wCb3OTSB3ecP9QP6fcKUD4XInZp91SGWyHk4xD6gHkTcOxJXXj5CLz8HvDOBvB+V1W2yQU4Ly02tHXuTFyRx8oB26vQgmShYZuToGWKj8N62ge73cg9uNkom/8d7fkA7chSPs5+VCUaak0C1FAelogCNpWziZheqYhBQwlOAXnjIreyxDqcekjNr0pkE2rXROK4GZZsGpyNiE3vDBxWxqKglgqzg8T1BJ6T0KKq0mX5WmktsjZNUu8GL+SwUdRUGi3EIMu6JgriSrtsFXbHnjyMP9dPtTHqXLDLcQhioT96NZqiT8np7P9xcHEjB5d34OBiwMFVhejY8Zj7qXsPdeFdDM/kcL1cResbz+TTRXfvGh17AZ2SLF84FazUAmEne7FjZfLjfTOQ41VCvFtcFNqkael250WZT7O+qfLvX1Hl/27vvrlytpv3nvUk8fz92rh3P2//AA=="), this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=none;fillColor=#999999;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;",60,30,"Label","Label (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=none;fillColor=#0D5B9D;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;", 60,30,"Label","Label (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=none;fillColor=#58B957;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;",60,30,"Label","Label (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=none;fillColor=#55BFE0;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;", 60,30,"Label","Label (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=none;fillColor=#EFAC43;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;",60,30,"Label","Label (Normal)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=none;fillColor=#DB524C;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;", @@ -4656,143 +4656,143 @@ this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap 250,35,"Header Text","Header Text (25)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=20;align=left;spacingLeft=10;",250,30,"Header Text","Header Text (20)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=16;align=left;spacingLeft=10;", 250,26,"Header Text","Header Text (16)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=12;align=left;spacingLeft=10;",250,22,"Header Text","Header Text (12)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=10;align=left;spacingLeft=10;", 250,20,"Header Text","Header Text (10)",null,null,this.getTagsForStencil("mxgraph.bootstrap","","bootstrap label normal").join(" ")),this.createVertexTemplateEntry("html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.image;align=center;rSize=5;strokeColor=#f6f6f6;fillColor=#f6f6f6;fontColor=#999999;strokeWidth=2;whiteSpace=wrap;",150,150,"Image","Image",null,null,this.getTagsForStencil("mxgraph.bootstrap","image","bootstrap ").join(" ")),this.addEntry("bootstrap image",function(){var b=new mxCell("Image", -new mxGeometry(0,0,150,70),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.image;align=center;rSize=5;strokeColor=#f6f6f6;fillColor=#f6f6f6;fontColor=#999999;strokeWidth=2;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("Image",new mxGeometry(0,80,70,70),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.image;align=center;rSize=5;strokeColor=#f6f6f6;fillColor=#f6f6f6;fontColor=#999999;strokeWidth=2;whiteSpace=wrap;");c.vertex=!0;var d=new mxCell("Image",new mxGeometry(80,80,70,70),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.image;align=center;rSize=5;strokeColor=#f6f6f6;fillColor=#f6f6f6;fontColor=#999999;strokeWidth=2;whiteSpace=wrap;"); -d.vertex=!0;return a.createVertexTemplateFromCells([b,c,d],150,150,"Images")}),this.addEntry("bootstrap dismissible alert",function(){var b=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;margin-left:14px;"><tbody><tr><td align="left" valign="middle" width="50%"><b>Well done!</b> You successfully read <u>this important alert message.</u></td></tr></tbody></table>',new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#E0F0D6;fontColor=#59B958;overflow=fill;whiteSpace=wrap;"); -b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.x;strokeColor=#59B958;strokeWidth=2;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-25,-5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dismissible Alert")}),this.addEntry("bootstrap dismissible alert",function(){var b=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;margin-left:14px;"><tbody><tr><td align="left" valign="middle" width="50%"><b>Heads up!</b> This <u>alert needs you attention</u>, but it\'s not super important.</td></tr></tbody></table>', -new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#D9EDF8;fontColor=#55C0E0;overflow=fill;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.x;strokeColor=#55C0E0;strokeWidth=2;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-25,-5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dismissible Alert")}), +new mxGeometry(0,0,150,70),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.image;align=center;rSize=5;strokeColor=#f6f6f6;fillColor=#f6f6f6;fontColor=#999999;strokeWidth=2;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("Image",new mxGeometry(0,80,70,70),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.image;align=center;rSize=5;strokeColor=#f6f6f6;fillColor=#f6f6f6;fontColor=#999999;strokeWidth=2;whiteSpace=wrap;");d.vertex=!0;var c=new mxCell("Image",new mxGeometry(80,80,70,70),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.image;align=center;rSize=5;strokeColor=#f6f6f6;fillColor=#f6f6f6;fontColor=#999999;strokeWidth=2;whiteSpace=wrap;"); +c.vertex=!0;return a.createVertexTemplateFromCells([b,d,c],150,150,"Images")}),this.addEntry("bootstrap dismissible alert",function(){var b=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;margin-left:14px;"><tbody><tr><td align="left" valign="middle" width="50%"><b>Well done!</b> You successfully read <u>this important alert message.</u></td></tr></tbody></table>',new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#E0F0D6;fontColor=#59B958;overflow=fill;whiteSpace=wrap;"); +b.vertex=!0;var d=new mxCell("",new mxGeometry(1,.5,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.x;strokeColor=#59B958;strokeWidth=2;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-25,-5);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dismissible Alert")}),this.addEntry("bootstrap dismissible alert",function(){var b=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;margin-left:14px;"><tbody><tr><td align="left" valign="middle" width="50%"><b>Heads up!</b> This <u>alert needs you attention</u>, but it\'s not super important.</td></tr></tbody></table>', +new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#D9EDF8;fontColor=#55C0E0;overflow=fill;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("",new mxGeometry(1,.5,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.x;strokeColor=#55C0E0;strokeWidth=2;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-25,-5);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dismissible Alert")}), this.addEntry("bootstrap dismissible alert",function(){var b=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;margin-left:14px;"><tbody><tr><td align="left" valign="middle" width="50%"><b>Warning!</b> Better check yourself, <u>you\'re not looking too good.</u></td></tr></tbody></table>',new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#FDF8E4;fontColor=#F2AE43;overflow=fill;whiteSpace=wrap;");b.vertex= -!0;var c=new mxCell("",new mxGeometry(1,.5,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.x;strokeColor=#F2AE43;strokeWidth=2;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-25,-5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dismissible Alert")}),this.addEntry("bootstrap dismissible alert",function(){var b=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;margin-left:14px;"><tbody><tr><td align="left" valign="middle" width="50%"><b>Oh snap!</b> <u>Change a few things up</u> and try submitting again.</td></tr></tbody></table>', -new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#F2DEDF;fontColor=#DB524C;overflow=fill;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(1,.5,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.x;strokeColor=#DB524C;strokeWidth=2;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-25,-5);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dismissible Alert")}), -this.addEntry("bootstrap progress bar",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("60%",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;strokeColor=none;fillColor=#59B958;fontColor=#FFFFFF;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width, -b.geometry.height,"Progress Bar")}),this.addEntry("bootstrap progress bar",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("60%",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;strokeColor=none;fillColor=#55C0E0;fontColor=#FFFFFF;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b], -b.geometry.width,b.geometry.height,"Progress Bar")}),this.addEntry("bootstrap progress bar",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("60%",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;strokeColor=none;fillColor=#F2AE43;fontColor=#FFFFFF;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b], -b.geometry.width,b.geometry.height,"Progress Bar")}),this.addEntry("bootstrap progress bar",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("60%",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;strokeColor=none;fillColor=#DB524C;fontColor=#FFFFFF;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b], +!0;var d=new mxCell("",new mxGeometry(1,.5,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.x;strokeColor=#F2AE43;strokeWidth=2;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-25,-5);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dismissible Alert")}),this.addEntry("bootstrap dismissible alert",function(){var b=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;margin-left:14px;"><tbody><tr><td align="left" valign="middle" width="50%"><b>Oh snap!</b> <u>Change a few things up</u> and try submitting again.</td></tr></tbody></table>', +new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#F2DEDF;fontColor=#DB524C;overflow=fill;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("",new mxGeometry(1,.5,10,10),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.x;strokeColor=#DB524C;strokeWidth=2;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-25,-5);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dismissible Alert")}), +this.addEntry("bootstrap progress bar",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("60%",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;strokeColor=none;fillColor=#59B958;fontColor=#FFFFFF;whiteSpace=wrap;");d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width, +b.geometry.height,"Progress Bar")}),this.addEntry("bootstrap progress bar",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("60%",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;strokeColor=none;fillColor=#55C0E0;fontColor=#FFFFFF;whiteSpace=wrap;");d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b], +b.geometry.width,b.geometry.height,"Progress Bar")}),this.addEntry("bootstrap progress bar",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("60%",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;strokeColor=none;fillColor=#F2AE43;fontColor=#FFFFFF;whiteSpace=wrap;");d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b], +b.geometry.width,b.geometry.height,"Progress Bar")}),this.addEntry("bootstrap progress bar",function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("60%",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;strokeColor=none;fillColor=#DB524C;fontColor=#FFFFFF;whiteSpace=wrap;");d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b], b.geometry.width,b.geometry.height,"Progress Bar")}),this.addEntry("bootstrap progress bar low percentage",function(){var b=new mxCell("0%",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;align=left;spacingLeft=5;whiteSpace=wrap;");b.vertex=!0;return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Progress Bar (Low percentage)")}),this.addEntry("bootstrap progress bar low percentage",function(){var b= -new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("2%",new mxGeometry(0,0,30,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;strokeColor=none;fillColor=#55C0E0;fontColor=#FFFFFF;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Progress Bar (Low percentage)")}),this.addEntry("bootstrap progress bar striped", -function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("60%",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButtonStriped;fillColor=#59B958;fontColor=#FFFFFF;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Progress Bar (Striped)")}),this.addEntry("bootstrap progress bar striped", -function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("60%",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButtonStriped;fillColor=#55BFE0;fontColor=#FFFFFF;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Progress Bar (Striped)")}),this.addEntry("bootstrap progress bar striped", -function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("60%",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButtonStriped;fillColor=#EFAC43;fontColor=#FFFFFF;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Progress Bar (Striped)")}),this.addEntry("bootstrap progress bar striped", -function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("60%",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButtonStriped;fillColor=#DB524C;fontColor=#FFFFFF;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Progress Bar (Striped)")}),this.addDataEntry("bootstrap progress bar", +new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("2%",new mxGeometry(0,0,30,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButton;rSize=5;strokeColor=none;fillColor=#55C0E0;fontColor=#FFFFFF;whiteSpace=wrap;");d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Progress Bar (Low percentage)")}),this.addEntry("bootstrap progress bar striped", +function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("60%",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButtonStriped;fillColor=#59B958;fontColor=#FFFFFF;whiteSpace=wrap;");d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Progress Bar (Striped)")}),this.addEntry("bootstrap progress bar striped", +function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("60%",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButtonStriped;fillColor=#55BFE0;fontColor=#FFFFFF;whiteSpace=wrap;");d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Progress Bar (Striped)")}),this.addEntry("bootstrap progress bar striped", +function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("60%",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButtonStriped;fillColor=#EFAC43;fontColor=#FFFFFF;whiteSpace=wrap;");d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Progress Bar (Striped)")}),this.addEntry("bootstrap progress bar striped", +function(){var b=new mxCell("",new mxGeometry(0,0,800,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#f6f6f6;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("60%",new mxGeometry(0,0,500,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.leftButtonStriped;fillColor=#DB524C;fontColor=#FFFFFF;whiteSpace=wrap;");d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Progress Bar (Striped)")}),this.addDataEntry("bootstrap progress bar", 800,20,"Progress Bar","vZXNboMwDMefJtcqTUjVHgf9OO3UJ8iKadACQSEddE8/Q7K121q12qBCSPbfdmT/MArhSdFurKzUs0lBE74iPLHGOG8VbQJaE0bzlPAlYYziS9j6SnTaR2klLZTungLmC96kPoBXvFC7ow6CcgW2tZwSHtdKpqZBh6KTylpBGhyMVF1+0e67WSYvOEHt0JxYCztsJbbb/L3LEF22s+YVEqONRaU0JQbiLNf6UyKMZ7PuQb1RuYNtJXdddYNHoha6BuugvTp5L4WxN2AKcPaIKU2eOuUz5tTToQryvQplgRiVtff3X6UnjmgElJex8tGxashcfHDOlH9gu4wFi5L/sGU32U7FSGyj22zDyt2DYs2eVhFH/ex7DE2l/UHkjBIbawPFoJTEIl6I+UMo8QuUxlql2bCQREJX9CGQIvob0lA/HLqn+6ePfbuePgA="),this.addDataEntry("bootstrap default media", 700,290,"Default Media","7VjLcpswFP0ath5eIc2yxk1WySZfIEsC7lRIVEjY7tf3SsiNHdtNZmq8aMGDka50Hzr3cBZEWdlunzTpmmfFuIiyb1FWaqXMOGq3JRciSmNgUbaK0jTGO0ofL6wmfjXuiObSfMYhHR0GIiwfLUW+LfLR2pudCNbGtFjbKomyZd8QpjY4iXHCSN9wFia40rn97bZ2B1qs8Ri9weFCc4rlLImAWuIGitVx7TyMVt95qYTC2Uoqie7LCoTYm6I0qwr3c3YlzYH9wV9o3zRg+GtHqMu9wXRoC8fi2vDtRWi8KeDyxFXLjd7hlg0w0+zBGL0aDnVjjm2kH+f1b883nHEQoD4Pe3YC+zNnQHwmwkDW124AkbRxwHkQX+Gn25XmBy0RvDITYBkc7kcWHkKbxvEptln899jmJ9iWGuMhmmBcaAyIDwnrBh8C1lyrKC1dAIl/CNwAzHVCWiHIAgcvbuARcGnQ3fpolAuuof+BWTAqEtoZlRBAwVjmg1HVtoopFyTU0FntvRWDkHXgvYG1FbbdlzBY0VlDfEBixl2Gt513HAAboV05xuoOehf70WIxPp1k0GJLfCxpJXURqD9tD+8iVxppBuGIK3zz3D5BKEjPQ4xV+5NVXEC/L60ilmKxLutE/HzHR8c6oER8DWajugssPSB2kk/P5N0xYQ81IztD7OIKxL6btfqkK6ENSXymDxNpd/GfavcfoJ5My+9nLZ+1/GbMvqWYf5nF/JNtSW+o7Q8nXXnBVxpxdlrxL4t8kn8MejaVyifxLPOzzN+O22d0/q64js7j9O3jjV87+rbzCw=="), this.addDataEntry("bootstrap media list",700,460,"Media List","7Vldc6MgFP01vmYErG0eN2a3T+1LfwEREpmiuIj56K/vBU1rotlmZkMfrMkkwoV7wXMPZ5xrQJJ8/6hpmT0pxmVAfgck0UqZppXvEy5lgEPBArIMMA7hF+A/F0aRGw1LqnlhrnHAjcOWypo3ljjax1FjrcxBttbM5LC3JQrIosooUzvohNBhtMo4azswUtr5+X5jb2i2gtuoDDRnmqewnQWVYlPAhBR2x7X1MFq98kRJBb1loQpwX6yFlEdTgMk6tl9rV4Xp2OfuA/ZdJgx/KWlq197BcmBrb4trw/cXoXGmFpdHrnJu9AGm7AQz2RGMxivjYpOZUxutmv7mw/MTZ2i0UA/DTnqwP3EmqFuJMlFsbp0AWqSZBc6B+CLe7CwcdVIi+dp4wLJ1uG9Y2IUWh2EfWxL+P7ZRD9tEQzxAUxgbGgLCpRCrDC5SrLhWAU5sgAL+ALitYDYTRS0lnUHj2TYcAnYZcK9dtJRLrkX1F1aBqEBoa1RSilSYmrlgqcpzxZQN0u6hrLXzVky0q255ZcSqlnV+3MK2lmVtqAtITTPL8Lx0jlsBidB2O6bWpahm3phyxgybf5FS+as1G1Ve4EuHYijyz6nDKXW6p5cMUCy+AcXuJtW8Mivzgax40tS4l5RnOFoAMw7HLa4o+hJz4kts7yex/RFie84xhPsku4s9ye3DJLdX5+Xh+wR3fllw81ELLkZfg+5NcY9rT5I7csk9Z9lHv8OyaO5JchGaNPfKR1z8jZKL+vWaH/qQO4S6P83t12smzR2j5p6zjAxorrfHXNSvXE2a2zrEJD5NzEBF0Zvo9ss9I9Xaf4DrrVyL+nWbSVtHpa0tq6Jw4MjeqEIL3c93Zm7s5JXaOw=="), -this.addEntry("bootstrap linked item custom content",function(){var b=new mxCell("",new mxGeometry(0,0,400,240),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("Donec id elit non mi porta gravida at eget metus.\nMaecenas sed diam eget risus varius blandit.",new mxGeometry(0,0,400,80),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;spacingLeft=10;align=left;fontSize=14;whiteSpace=wrap;verticalAlign=bottom;spacingBottom=10;resizeWidth=1;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,80);c.vertex=!0;b.insert(c);var d=new mxCell("List group item heading",new mxGeometry(0,0,400,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.anchor;spacingLeft=10;align=left;fontSize=18;whiteSpace=wrap;resizeWidth=1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);c=new mxCell("Donec id elit non mi porta gravida at eget metus.\nMaecenas sed diam eget risus varius blandit.",new mxGeometry(0,1,400,80),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;spacingLeft=10;align=left;fontSize=14;perimeter=none;whiteSpace=wrap;verticalAlign=bottom;spacingBottom=13;resizeWidth=1;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-80);c.vertex=!0;b.insert(c);d=new mxCell("List group item heading",new mxGeometry(0,0,400,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.anchor;spacingLeft=10;align=left;fontSize=18;whiteSpace=wrap;resizeWidth=1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);c=new mxCell("Donec id elit non mi porta gravida at eget metus.\nMaecenas sed diam eget risus varius blandit.",new mxGeometry(0,0,400,80),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;fillColor=#3D8BCD;strokeColor=#3D8BCD;fontColor=#ffffff;spacingLeft=10;align=left;fontSize=14;perimeter=none;whiteSpace=wrap;verticalAlign=bottom;spacingBottom=13;resizeWidth=1;"); -c.geometry.relative=!0;c.vertex=!0;b.insert(c);d=new mxCell("List group item heading",new mxGeometry(0,0,400,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.anchor;fontColor=#ffffff;spacingLeft=10;align=left;fontSize=18;whiteSpace=wrap;resizeWidth=1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Linked Items (Custom Content)")}),this.addEntry("bootstrap panel",function(){var b=new mxCell("Panel content",new mxGeometry(0, -0,150,200),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=#E0F0D6;fontColor=#f0f0f0;spacingTop=30;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("Panel title",new mxGeometry(0,0,150,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;strokeColor=none;fillColor=#E0F0D6;fontColor=#59B958;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b], -b.geometry.width,b.geometry.height,"Panel")}),this.addEntry("bootstrap panel",function(){var b=new mxCell("Panel content",new mxGeometry(0,0,150,200),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=#D9EDF8;fontColor=#f0f0f0;spacingTop=30;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("Panel title",new mxGeometry(0,0,150,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;strokeColor=none;fillColor=#D9EDF8;fontColor=#55C0E0;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;"); -c.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Panel")}),this.addEntry("bootstrap panel",function(){var b=new mxCell("Panel content",new mxGeometry(0,0,150,200),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=#FDF8E4;fontColor=#f0f0f0;spacingTop=30;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("Panel title",new mxGeometry(0,0,150,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;strokeColor=none;fillColor=#FDF8E4;fontColor=#F2AE43;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;"); -c.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Panel")}),this.addEntry("bootstrap panel",function(){var b=new mxCell("Panel content",new mxGeometry(0,0,150,200),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=#F2DEDF;fontColor=#f0f0f0;spacingTop=30;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("Panel title",new mxGeometry(0,0,150,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;strokeColor=none;fillColor=#F2DEDF;fontColor=#DB524C;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;"); -c.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Panel")}),this.addEntry("bootstrap panel",function(){var b=new mxCell("Panel content",new mxGeometry(0,0,150,200),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=#3D8BCD;fontColor=#f0f0f0;spacingTop=30;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("Panel title",new mxGeometry(0,0,150,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;strokeColor=none;fillColor=#3D8BCD;fontColor=#ffffff;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;"); -c.geometry.relative=!0;c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Panel")}),this.addEntry("bootstrap panel footer",function(){var b=new mxCell("Panel content",new mxGeometry(0,0,150,200),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=#E0F0D6;fontColor=#f0f0f0;spacingBottom=30;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("Panel title",new mxGeometry(0,1,150,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;strokeColor=none;fillColor=#E0F0D6;fontColor=#59B958;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-30);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Panel (Footer)")}),this.addEntry("bootstrap table",function(){var b=new mxCell("",new mxGeometry(0,0,800,280),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("Panel title",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;strokeColor=inherit;fillColor=#000000;fillOpacity=3;fontColor=#999999;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;"); -c.geometry.relative=!0;c.vertex=!0;b.insert(c);c=new mxCell("Some default panel content here. Nulla vitae elit libero, a pharetra augue. Aenean lacinia bibendum nulla sed consectetur. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Nullam id dolor id nibh ultricies vehicula. ",new mxGeometry(0,0,800,80),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,40);c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=inherit;fillColor=#000000;fillOpacity=3;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,120);c.vertex=!0;b.insert(c);var d=new mxCell("#",new mxGeometry(0,0,50,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;whiteSpace=wrap;resizeHeight=1;"); -d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("First Name",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(80,0);d.vertex=!0;c.insert(d);d=new mxCell("Last Name",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(230,0);d.vertex=!0;c.insert(d);d=new mxCell("Username",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(380,0);d.vertex=!0;c.insert(d);d=new mxCell("Active",new mxGeometry(0,0,100,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(560,0);d.vertex=!0;c.insert(d);d=new mxCell("Boss",new mxGeometry(0,0,100,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(700,0);d.vertex=!0;c.insert(d);c=new mxCell("",new mxGeometry(0,0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;whiteSpace=wrap;resizeWidth=1;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,160);c.vertex=!0;b.insert(c);d=new mxCell("1",new mxGeometry(0,0,50,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("John",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative= -!0;d.geometry.offset=new mxPoint(80,0);d.vertex=!0;c.insert(d);d=new mxCell("Boo",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(230,0);d.vertex=!0;c.insert(d);d=new mxCell("johnny81",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(380,0);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,.5,20,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.checkbox;strokeColor=#666666;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(560,-10);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=#666666;html=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(700,-10);d.vertex=!0;c.insert(d);c=new mxCell("",new mxGeometry(0, -0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,200);c.vertex=!0;b.insert(c);d=new mxCell("2",new mxGeometry(0,0,50,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("Mary",new mxGeometry(0, -0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(80,0);d.vertex=!0;c.insert(d);d=new mxCell("Brown",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(230,0);d.vertex=!0; -c.insert(d);d=new mxCell("missmary",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(380,0);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,.5,20,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.checkbox;strokeColor=#666666;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(560,-10);d.vertex=!0;c.insert(d); -d=new mxCell("",new mxGeometry(0,.5,20,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.radioButton;strokeColor=#666666;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(700,-10);d.vertex=!0;c.insert(d);c=new mxCell("",new mxGeometry(0,0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,240);c.vertex=!0;b.insert(c); -d=new mxCell("3",new mxGeometry(0,0,50,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("James",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(80,0);d.vertex=!0;c.insert(d);d=new mxCell("Mooray", -new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(230,0);d.vertex=!0;c.insert(d);d=new mxCell("jijames",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(380, -0);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,.5,20,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=3;strokeColor=#666666;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(560,-10);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=#666666;html=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(700,-10);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Table")}), -this.addEntry("bootstrap panel list group",function(){var b=new mxCell("",new mxGeometry(0,0,600,320),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;");b.vertex=!0;var c=new mxCell("Panel title",new mxGeometry(0,0,600,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;strokeColor=inherit;fillColor=#000000;fillOpacity=3;fontColor=#999999;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0; -c.vertex=!0;b.insert(c);c=new mxCell("Some default panel content here. Nulla vitae elit libero, a pharetra augue. Aenean lacinia bibendum nulla sed consectetur. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Nullam id dolor id nibh ultricies vehicula. ",new mxGeometry(0,0,600,80),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;align=left;spacingLeft=10;whiteSpace=wrap;fontSize=14;whiteSpace=wrap;resizeWidth=1;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,40);c.vertex=!0;b.insert(c);c=new mxCell("Cras justo odio",new mxGeometry(0,0,600,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;spacingLeft=10;fontSize=14;align=left;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,120);c.vertex=!0;b.insert(c);c=new mxCell("Dapibus ac facilisis in",new mxGeometry(0,0,600,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;spacingLeft=10;fontSize=14;align=left;whiteSpace=wrap;resizeWidth=1;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,160);c.vertex=!0;b.insert(c);c=new mxCell("Morbi leo risus",new mxGeometry(0,0,600,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;spacingLeft=10;fontSize=14;align=left;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,200);c.vertex=!0;b.insert(c);c=new mxCell("Porta ac consectetur ac",new mxGeometry(0,0,600,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;spacingLeft=10;fontSize=14;align=left;whiteSpace=wrap;resizeWidth=1;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,240);c.vertex=!0;b.insert(c);c=new mxCell("Vestibulum at eros",new mxGeometry(0,1,600,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;spacingLeft=10;fontSize=14;align=left;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-40);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height, -"Panel (List Group)")}),this.addEntry("bootstrap table",function(){var b=new mxCell("",new mxGeometry(0,0,800,160),"html=1;shadow=0;dashed=0;shape=partialRectangle;top=0;bottom=0;right=0;left=0;strokeColor=#dddddd;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;strokeColor=inherit;fillColor=#000000;fillOpacity=3;resizeWidth=1;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);var d=new mxCell("#",new mxGeometry(0,0,50,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;whiteSpace=wrap;resizeHeight=1;"); -d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("First Name",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(80,0);d.vertex=!0;c.insert(d);d=new mxCell("Last Name",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(230,0);d.vertex=!0;c.insert(d);d=new mxCell("Username",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(380,0);d.vertex=!0;c.insert(d);d=new mxCell("Active",new mxGeometry(0,0,100,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(560,0);d.vertex=!0;c.insert(d);d=new mxCell("Boss",new mxGeometry(0,0,100,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(700,0);d.vertex=!0;c.insert(d);c=new mxCell("",new mxGeometry(0,0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,40);c.vertex=!0;b.insert(c);d=new mxCell("1",new mxGeometry(0,0,50,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("John",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative= -!0;d.geometry.offset=new mxPoint(80,0);d.vertex=!0;c.insert(d);d=new mxCell("Boo",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(230,0);d.vertex=!0;c.insert(d);d=new mxCell("johnny81",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(380,0);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,.5,20,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.checkbox;strokeColor=#666666");d.geometry.relative=!0;d.geometry.offset=new mxPoint(560,-10);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=#666666;html=1");d.geometry.relative=!0;d.geometry.offset=new mxPoint(700,-10);d.vertex=!0;c.insert(d);c=new mxCell("",new mxGeometry(0,0, -800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,80);c.vertex=!0;b.insert(c);d=new mxCell("2",new mxGeometry(0,0,50,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("Mary",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(80,0);d.vertex=!0;c.insert(d);d=new mxCell("Brown",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(230,0);d.vertex=!0;c.insert(d);d=new mxCell("missmary",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(380,0);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,.5,20,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.checkbox;strokeColor=#666666");d.geometry.relative=!0;d.geometry.offset=new mxPoint(560,-10);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,.5,20,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.radioButton;strokeColor=#666666");d.geometry.relative=!0;d.geometry.offset=new mxPoint(700,-10);d.vertex=!0;c.insert(d); -c=new mxCell("",new mxGeometry(0,0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,120);c.vertex=!0;b.insert(c);d=new mxCell("3",new mxGeometry(0,0,50,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("James", -new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(80,0);d.vertex=!0;c.insert(d);d=new mxCell("Mooray",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(230, -0);d.vertex=!0;c.insert(d);d=new mxCell("jijames",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(380,0);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,.5,20,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=3;strokeColor=#666666");d.geometry.relative=!0;d.geometry.offset=new mxPoint(560,-10);d.vertex= -!0;c.insert(d);d=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=#666666;html=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(700,-10);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Table")}),this.addEntry("bootstrap table",function(){var b=new mxCell("",new mxGeometry(0,0,800,360),"shape=partialRectangle;right=0;left=0;strokeColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,800, -40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;strokeColor=inherit;fillColor=#000000;fillOpacity=3;resizeWidth=1;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);var d=new mxCell("Name",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(50,0);d.vertex=!0;c.insert(d);d=new mxCell("Double-Line\nHeader", -new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(250,0);d.vertex=!0;c.insert(d);d=new mxCell("Rating",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset= -new mxPoint(450,0);d.vertex=!0;c.insert(d);d=new mxCell("Signed Up",new mxGeometry(0,0,100,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(620,0);d.vertex=!0;c.insert(d);c=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;strokeColor=none;fillColor=#000000;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-25, --2.5);c.vertex=!0;d.insert(c);c=new mxCell("",new mxGeometry(0,0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,40);c.vertex=!0;b.insert(c);d=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(15,-10);d.vertex=!0;c.insert(d);var f=new mxCell("",new mxGeometry(.5, -.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;d.insert(f);d=new mxCell("John Boo",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(50,0);d.vertex=!0;c.insert(d);d=new mxCell("ok",new mxGeometry(0,.5, -30,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=3;strokeColor=none;fillColor=#58B957;fontSize=12;fontStyle=1;fontColor=#ffffff;whiteSpace=wrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(250,-10);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,.5,150,14),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rating;strokeColor=none;fillColor=#EFAC43;emptyFillColor=#dddddd;grade=3;ratingScale=5;ratingStyle=star;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(450, --7);d.vertex=!0;c.insert(d);d=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 8:56 AM <font color="#dddddd">(2013)</font></td></tr></table>',new mxGeometry(0,0,160,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(620,0);d.vertex=!0;c.insert(d); -c=new mxCell("",new mxGeometry(0,0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,80);c.vertex=!0;b.insert(c);d=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(15,-10);d.vertex=!0;c.insert(d);f=new mxCell("",new mxGeometry(.5,.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;"); -f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;d.insert(f);d=new mxCell("Michael Robinson",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(50,0);d.vertex=!0;c.insert(d);d=new mxCell("ok",new mxGeometry(0,.5,30,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=3;strokeColor=none;fillColor=#58B957;fontSize=12;fontStyle=1;fontColor=#ffffff;whiteSpace=wrap;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(250,-10);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,.5,150,14),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rating;strokeColor=none;fillColor=#EFAC43;emptyFillColor=#dddddd;grade=5;ratingScale=5;ratingStyle=star;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(450,-7);d.vertex=!0;c.insert(d);d=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 7:12 AM <font color="#dddddd">(2013)</font></td></tr></table>', -new mxGeometry(0,0,160,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(620,0);d.vertex=!0;c.insert(d);c=new mxCell("",new mxGeometry(0,0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0, -120);c.vertex=!0;b.insert(c);d=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(15,-10);d.vertex=!0;c.insert(d);f=new mxCell("",new mxGeometry(.5,.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;d.insert(f);d=new mxCell("Alexander Robson",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(50,0);d.vertex=!0;c.insert(d);d=new mxCell("Blocked",new mxGeometry(0,.5,70,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=3;strokeColor=none;fillColor=#999999;fontSize=12;fontStyle=1;fontColor=#ffffff;whiteSpace=wrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(250,-10);d.vertex=!0;c.insert(d);d=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 4:32 AM <font color="#dddddd">(2013)</font></td></tr></table>', -new mxGeometry(0,0,160,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(620,0);d.vertex=!0;c.insert(d);c=new mxCell("",new mxGeometry(0,0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0, -160);c.vertex=!0;b.insert(c);d=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(15,-10);d.vertex=!0;c.insert(d);f=new mxCell("",new mxGeometry(.5,.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;d.insert(f);d=new mxCell("Jennifer Pinsker",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(50,0);d.vertex=!0;c.insert(d);d=new mxCell("Blocked 24h",new mxGeometry(0,.5,90,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=3;strokeColor=none;fillColor=#999999;fontSize=12;fontStyle=1;fontColor=#ffffff;whiteSpace=wrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(250,-10);d.vertex=!0;c.insert(d);d=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 2:08 AM <font color="#dddddd">(2013)</font></td></tr></table>', -new mxGeometry(0,0,160,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(620,0);d.vertex=!0;c.insert(d);c=new mxCell("",new mxGeometry(0,0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0, -200);c.vertex=!0;b.insert(c);d=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(15,-10);d.vertex=!0;c.insert(d);f=new mxCell("",new mxGeometry(.5,.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;d.insert(f);d=new mxCell("Bob Robson",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(50,0);d.vertex=!0;c.insert(d);d=new mxCell("ok",new mxGeometry(0,.5,30,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=3;strokeColor=none;fillColor=#58B957;fontSize=12;fontStyle=1;fontColor=#ffffff;whiteSpace=wrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(250,-10);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,.5,150,14),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rating;strokeColor=none;fillColor=#EFAC43;emptyFillColor=#dddddd;grade=1;ratingScale=5;ratingStyle=star;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(450,-7);d.vertex=!0;c.insert(d);d=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 8:56 AM <font color="#dddddd">(2013)</font></td></tr></table>',new mxGeometry(0,0,160,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset= -new mxPoint(620,0);d.vertex=!0;c.insert(d);c=new mxCell("",new mxGeometry(0,0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,240);c.vertex=!0;b.insert(c);d=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(15,-10);d.vertex=!0;c.insert(d);f=new mxCell("", -new mxGeometry(.5,.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;d.insert(f);d=new mxCell("Michael Robinson",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(50,0);d.vertex=!0;c.insert(d);d=new mxCell("Suspect", -new mxGeometry(0,.5,70,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=3;strokeColor=none;fillColor=#55BFE0;fontSize=12;fontStyle=1;fontColor=#ffffff;whiteSpace=wrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(250,-10);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,.5,150,14),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rating;strokeColor=none;fillColor=#EFAC43;emptyFillColor=#dddddd;grade=4;ratingScale=5;ratingStyle=star;");d.geometry.relative=!0;d.geometry.offset= -new mxPoint(450,-7);d.vertex=!0;c.insert(d);d=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 7:12 AM <font color="#dddddd">(2013)</font></td></tr></table>',new mxGeometry(0,0,160,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(620,0);d.vertex= -!0;c.insert(d);c=new mxCell("",new mxGeometry(0,0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,280);c.vertex=!0;b.insert(c);d=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(15,-10);d.vertex=!0;c.insert(d);f=new mxCell("",new mxGeometry(.5,.5, -14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;d.insert(f);d=new mxCell("Jennifer Pinsker",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(50,0);d.vertex=!0;c.insert(d);d=new mxCell("ok",new mxGeometry(0, -.5,30,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=3;strokeColor=none;fillColor=#58B957;fontSize=12;fontStyle=1;fontColor=#ffffff;whiteSpace=wrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(250,-10);d.vertex=!0;c.insert(d);d=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 4:34 AM <font color="#dddddd">(2013)</font></td></tr></table>',new mxGeometry(0,0,160,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(620,0);d.vertex=!0;c.insert(d);c=new mxCell("",new mxGeometry(0,0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,320);c.vertex=!0;b.insert(c);d=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(15, --10);d.vertex=!0;c.insert(d);f=new mxCell("",new mxGeometry(.5,.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;d.insert(f);d=new mxCell("John Boo",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(50, -0);d.vertex=!0;c.insert(d);d=new mxCell("Violation",new mxGeometry(0,.5,70,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=3;strokeColor=none;fillColor=#DB524C;fontSize=12;fontStyle=1;fontColor=#ffffff;whiteSpace=wrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(250,-10);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,.5,150,14),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rating;strokeColor=none;fillColor=#EFAC43;emptyFillColor=#dddddd;grade=2;ratingScale=5;ratingStyle=star;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(450,-7);d.vertex=!0;c.insert(d);d=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 2:08 AM <font color="#dddddd">(2013)</font></td></tr></table>',new mxGeometry(0,0,160,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset= -new mxPoint(620,0);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Table")}),this.addEntry("bootstrap table",function(){var b=new mxCell("",new mxGeometry(0,0,800,340),"shape=partialRectangle;right=0;left=0;strokeColor=#dddddd;fillColor=#ffffff;whiteSpace=wrap;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;strokeColor=inherit;fillColor=#000000;fillOpacity=3;resizeWidth=1;"); -c.geometry.relative=!0;c.vertex=!0;b.insert(c);var d=new mxCell("Admin Name",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,0);d.vertex=!0;c.insert(d);d=new mxCell("Object",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(200,0);d.vertex=!0;c.insert(d);d=new mxCell("Action",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(400,0);d.vertex=!0;c.insert(d);d=new mxCell("Date",new mxGeometry(0,0,100,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(620,0);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,.5,10,5),"shape=triangle;direction=south;strokeColor=none;fillColor=#000000;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(665,-2.5);d.vertex=!0;c.insert(d);c=new mxCell("",new mxGeometry(0,0,800,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset= -new mxPoint(0,40);c.vertex=!0;b.insert(c);d=new mxCell("Jennifer Pinsker\n",new mxGeometry(0,0,150,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,0);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(200,-15);d.vertex= -!0;c.insert(d);var f=new mxCell("",new mxGeometry(.5,.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;d.insert(f);d=new mxCell("John Boo\n",new mxGeometry(0,0,150,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(230,0);d.vertex= -!0;c.insert(d);d=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="left" valign="middle" width="50%">Profile Updated<br/><font color="#dddddd">First Name is set to Bobby</font></td></tr></table>',new mxGeometry(0,0,210,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(400,0);d.vertex=!0; -c.insert(d);d=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 8:56 AM <font color="#dddddd">(2013)<br><br></font></td></tr></table>',new mxGeometry(0,0,160,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(620,0);d.vertex=!0;c.insert(d);c=new mxCell("", -new mxGeometry(0,0,800,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,90);c.vertex=!0;b.insert(c);d=new mxCell("Bob Robson\n",new mxGeometry(0,0,150,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(10, -0);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(200,-15);d.vertex=!0;c.insert(d);f=new mxCell("",new mxGeometry(.5,.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;d.insert(f);d=new mxCell("Michael Robinson\n",new mxGeometry(0,0,150,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(230,0);d.vertex=!0;c.insert(d);d=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="left" valign="middle" width="50%">Violation Resolved<br/><font color="#dddddd">Fake Person Violation resolved</font></td></tr></table>',new mxGeometry(0,0,210,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(400,0);d.vertex=!0;c.insert(d);d=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 7:12 AM <font color="#dddddd">(2013)<br><br></font></td></tr></table>',new mxGeometry(0,0,160,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative= -!0;d.geometry.offset=new mxPoint(620,0);d.vertex=!0;c.insert(d);c=new mxCell("",new mxGeometry(0,0,800,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,140);c.vertex=!0;b.insert(c);d=new mxCell("Michael Robinson\n",new mxGeometry(0,0,150,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,0);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(200,-15);d.vertex=!0;c.insert(d);f=new mxCell("",new mxGeometry(.5,.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;d.insert(f);d=new mxCell("Alexander Robson\n", -new mxGeometry(0,0,150,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1");d.geometry.relative=!0;d.geometry.offset=new mxPoint(230,0);d.vertex=!0;c.insert(d);d=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="left" valign="middle" width="50%">Suspect Resolved<br/><font color="#dddddd">Mass Friending Suspect resolved</font></td></tr></table>',new mxGeometry(0, -0,210,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(400,0);d.vertex=!0;c.insert(d);d=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 4:34 AM <font color="#dddddd">(2013)<br><br></font></td></tr></table>',new mxGeometry(0,0,160,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(620,0);d.vertex=!0;c.insert(d);c=new mxCell("",new mxGeometry(0,0,800,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,190);c.vertex=!0;b.insert(c);d=new mxCell("Jennifer Pinsker\n",new mxGeometry(0,0,150,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,0);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(200,-15);d.vertex=!0;c.insert(d);f=new mxCell("",new mxGeometry(.5,.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;d.insert(f);d=new mxCell("Jennifer Pinsker\n", -new mxGeometry(0,0,150,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(230,0);d.vertex=!0;c.insert(d);d=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="left" valign="middle" width="50%">Profile Violation Detected<br/><font color="#dddddd">First Name is marked as Violation</font></td></tr></table>', -new mxGeometry(0,0,210,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(400,0);d.vertex=!0;c.insert(d);d=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 2:08 AM <font color="#dddddd">(2013)<br><br></font></td></tr></table>',new mxGeometry(0, -0,160,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(620,0);d.vertex=!0;c.insert(d);c=new mxCell("",new mxGeometry(0,0,800,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,240);c.vertex=!0; -b.insert(c);d=new mxCell("John Boo\n",new mxGeometry(0,0,150,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,0);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(200,-15);d.vertex=!0;c.insert(d);f=new mxCell("",new mxGeometry(.5, -.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;d.insert(f);d=new mxCell("Bob Robson\n",new mxGeometry(0,0,150,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(230,0);d.vertex=!0;c.insert(d);d=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="left" valign="middle" width="50%">Profile Updated<br/><font color="#dddddd">First Name is set to Bobby</font></td></tr></table>', -new mxGeometry(0,0,210,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(400,0);d.vertex=!0;c.insert(d);d=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 8:56 AM <font color="#dddddd">(2013)<br><br></font></td></tr></table>',new mxGeometry(0, -0,160,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(620,0);d.vertex=!0;c.insert(d);c=new mxCell("",new mxGeometry(0,0,800,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,290);c.vertex=!0; -b.insert(c);d=new mxCell("Michael Robinson\n",new mxGeometry(0,0,150,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,0);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(200,-15);d.vertex=!0;c.insert(d);f=new mxCell("", -new mxGeometry(.5,.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;d.insert(f);d=new mxCell("Michael Robinson\n",new mxGeometry(0,0,150,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(230,0);d.vertex=!0;c.insert(d);d=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="left" valign="middle" width="50%">User Blocked<br/><font color="#dddddd">Blocked for 24 hours</font></td></tr></table>', -new mxGeometry(0,0,210,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(400,0);d.vertex=!0;c.insert(d);d=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 7:12 AM <font color="#dddddd">(2013)<br><br></font></td></tr></table>',new mxGeometry(0, -0,160,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(620,0);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Table")}),this.addEntry("bootstrap table",function(){var b=new mxCell("",new mxGeometry(0,0,800,430),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;strokeColor=#dddddd"); -b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;strokeColor=inherit;fillColor=#000000;fillOpacity=3;resizeWidth=1;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);var d=new mxCell("Template Name",new mxGeometry(0,0,200,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeHeight=1;");d.geometry.relative=!0;d.vertex=!0;c.insert(d); -d=new mxCell("Message",new mxGeometry(0,0,200,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(200,0);d.vertex=!0;c.insert(d);c=new mxCell("",new mxGeometry(0,0,800,130),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");c.geometry.relative= -!0;c.geometry.offset=new mxPoint(0,40);c.vertex=!0;b.insert(c);d=new mxCell("Uncompleted Profile",new mxGeometry(0,0,200,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;align=left;spacingLeft=10;whiteSpace=wrap;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("Hello! At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium deleniti atque corrupti quos doloreset quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id estlaborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Name libero tempore, cum soluta nobis est eligendioptio cumque nihil impedit quo.", -new mxGeometry(0,0,400,130),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;align=left;valign=top;spacingLeft=10;verticalAlign=top;spacingTop=6;whiteSpace=wrap;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(200,0);d.vertex=!0;c.insert(d);d=new mxCell("Edit",new mxGeometry(1,0,50,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;whiteSpace=wrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-140, -15);d.vertex=!0;c.insert(d);d=new mxCell("Delete",new mxGeometry(1,0,60,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;whiteSpace=wrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-80,15);d.vertex=!0;c.insert(d);c=new mxCell("",new mxGeometry(0,0,800,100),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,170); -c.vertex=!0;b.insert(c);d=new mxCell("Spam Suspect",new mxGeometry(0,0,200,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;align=left;spacingLeft=10;whiteSpace=wrap;");d.geometry.relative=!0;d.vertex=!0;c.insert(d);d=new mxCell("Hello, deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa quiofficia deserunt mollitia animi, id est fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam nobis est eligendi optio cumquenihil impedit quo minus id quod maxime placeat.", -new mxGeometry(0,0,400,100),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;align=left;valign=top;spacingLeft=10;verticalAlign=top;spacingTop=6;whiteSpace=wrap;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(200,0);d.vertex=!0;c.insert(d);d=new mxCell("Edit",new mxGeometry(1,0,50,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;whiteSpace=wrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-140, -15);d.vertex=!0;c.insert(d);d=new mxCell("Delete",new mxGeometry(1,0,60,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;whiteSpace=wrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-80,15);d.vertex=!0;c.insert(d);c=new mxCell("",new mxGeometry(0,0,800,160),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,270); -c.vertex=!0;b.insert(c);d=new mxCell("Profile Blocked",new mxGeometry(0,0,200,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;align=left;spacingLeft=10;whiteSpace=wrap;");d.vertex=!0;c.insert(d);d=new mxCell("Hello! Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsaquae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sitaspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est,qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et doloremagnam aliquam quaerat voluptarem.", -new mxGeometry(0,0,400,160),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;align=left;valign=top;spacingLeft=10;verticalAlign=top;spacingTop=6;whiteSpace=wrap;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(200,0);d.vertex=!0;c.insert(d);d=new mxCell("Edit",new mxGeometry(1,0,50,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;whiteSpace=wrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-140, -15);d.vertex=!0;c.insert(d);d=new mxCell("Delete",new mxGeometry(1,0,60,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;whiteSpace=wrap;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-80,15);d.vertex=!0;c.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Table")}),this.addEntry("bootstrap table",function(){var b=new mxCell("",new mxGeometry(0,0,800,80),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;strokeColor=#dddddd;fillColor=#fdfdfd;"); -b.vertex=!0;var c=new mxCell("Group Name",new mxGeometry(20,20,500,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;align=left;spacingLeft=10;fontSize=18;fontColor=#999999;whiteSpace=wrap;");c.vertex=!0;b.insert(c);c=new mxCell("Create Templates Group",new mxGeometry(540,20,240,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#3D8BCD;fontSize=18;fontColor=#ffffff;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b], +this.addEntry("bootstrap linked item custom content",function(){var b=new mxCell("",new mxGeometry(0,0,400,240),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("Donec id elit non mi porta gravida at eget metus.\nMaecenas sed diam eget risus varius blandit.",new mxGeometry(0,0,400,80),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;perimeter=none;spacingLeft=10;align=left;fontSize=14;whiteSpace=wrap;verticalAlign=bottom;spacingBottom=10;resizeWidth=1;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,80);d.vertex=!0;b.insert(d);var c=new mxCell("List group item heading",new mxGeometry(0,0,400,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.anchor;spacingLeft=10;align=left;fontSize=18;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.vertex=!0;d.insert(c);d=new mxCell("Donec id elit non mi porta gravida at eget metus.\nMaecenas sed diam eget risus varius blandit.",new mxGeometry(0,1,400,80),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;spacingLeft=10;align=left;fontSize=14;perimeter=none;whiteSpace=wrap;verticalAlign=bottom;spacingBottom=13;resizeWidth=1;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,-80);d.vertex=!0;b.insert(d);c=new mxCell("List group item heading",new mxGeometry(0,0,400,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.anchor;spacingLeft=10;align=left;fontSize=18;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.vertex=!0;d.insert(c);d=new mxCell("Donec id elit non mi porta gravida at eget metus.\nMaecenas sed diam eget risus varius blandit.",new mxGeometry(0,0,400,80),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;fillColor=#3D8BCD;strokeColor=#3D8BCD;fontColor=#ffffff;spacingLeft=10;align=left;fontSize=14;perimeter=none;whiteSpace=wrap;verticalAlign=bottom;spacingBottom=13;resizeWidth=1;"); +d.geometry.relative=!0;d.vertex=!0;b.insert(d);c=new mxCell("List group item heading",new mxGeometry(0,0,400,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.anchor;fontColor=#ffffff;spacingLeft=10;align=left;fontSize=18;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Linked Items (Custom Content)")}),this.addEntry("bootstrap panel",function(){var b=new mxCell("Panel content",new mxGeometry(0, +0,150,200),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=#E0F0D6;fontColor=#f0f0f0;spacingTop=30;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("Panel title",new mxGeometry(0,0,150,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;strokeColor=none;fillColor=#E0F0D6;fontColor=#59B958;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;");d.geometry.relative=!0;d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b], +b.geometry.width,b.geometry.height,"Panel")}),this.addEntry("bootstrap panel",function(){var b=new mxCell("Panel content",new mxGeometry(0,0,150,200),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=#D9EDF8;fontColor=#f0f0f0;spacingTop=30;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("Panel title",new mxGeometry(0,0,150,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;strokeColor=none;fillColor=#D9EDF8;fontColor=#55C0E0;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;"); +d.geometry.relative=!0;d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Panel")}),this.addEntry("bootstrap panel",function(){var b=new mxCell("Panel content",new mxGeometry(0,0,150,200),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=#FDF8E4;fontColor=#f0f0f0;spacingTop=30;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("Panel title",new mxGeometry(0,0,150,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;strokeColor=none;fillColor=#FDF8E4;fontColor=#F2AE43;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;"); +d.geometry.relative=!0;d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Panel")}),this.addEntry("bootstrap panel",function(){var b=new mxCell("Panel content",new mxGeometry(0,0,150,200),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=#F2DEDF;fontColor=#f0f0f0;spacingTop=30;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("Panel title",new mxGeometry(0,0,150,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;strokeColor=none;fillColor=#F2DEDF;fontColor=#DB524C;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;"); +d.geometry.relative=!0;d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Panel")}),this.addEntry("bootstrap panel",function(){var b=new mxCell("Panel content",new mxGeometry(0,0,150,200),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=#3D8BCD;fontColor=#f0f0f0;spacingTop=30;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("Panel title",new mxGeometry(0,0,150,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;strokeColor=none;fillColor=#3D8BCD;fontColor=#ffffff;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;"); +d.geometry.relative=!0;d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Panel")}),this.addEntry("bootstrap panel footer",function(){var b=new mxCell("Panel content",new mxGeometry(0,0,150,200),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;align=center;rSize=5;strokeColor=#E0F0D6;fontColor=#f0f0f0;spacingBottom=30;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("Panel title",new mxGeometry(0,1,150,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;strokeColor=none;fillColor=#E0F0D6;fontColor=#59B958;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,-30);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Panel (Footer)")}),this.addEntry("bootstrap table",function(){var b=new mxCell("",new mxGeometry(0,0,800,280),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("Panel title",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;strokeColor=inherit;fillColor=#000000;fillOpacity=3;fontColor=#999999;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;"); +d.geometry.relative=!0;d.vertex=!0;b.insert(d);d=new mxCell("Some default panel content here. Nulla vitae elit libero, a pharetra augue. Aenean lacinia bibendum nulla sed consectetur. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Nullam id dolor id nibh ultricies vehicula. ",new mxGeometry(0,0,800,80),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;b.insert(d);d=new mxCell("",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=inherit;fillColor=#000000;fillOpacity=3;whiteSpace=wrap;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,120);d.vertex=!0;b.insert(d);var c=new mxCell("#",new mxGeometry(0,0,50,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;whiteSpace=wrap;resizeHeight=1;"); +c.geometry.relative=!0;c.vertex=!0;d.insert(c);c=new mxCell("First Name",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(80,0);c.vertex=!0;d.insert(c);c=new mxCell("Last Name",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(230,0);c.vertex=!0;d.insert(c);c=new mxCell("Username",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(380,0);c.vertex=!0;d.insert(c);c=new mxCell("Active",new mxGeometry(0,0,100,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(560,0);c.vertex=!0;d.insert(c);c=new mxCell("Boss",new mxGeometry(0,0,100,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(700,0);c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(0,0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;whiteSpace=wrap;resizeWidth=1;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,160);d.vertex=!0;b.insert(d);c=new mxCell("1",new mxGeometry(0,0,50,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.vertex=!0;d.insert(c);c=new mxCell("John",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative= +!0;c.geometry.offset=new mxPoint(80,0);c.vertex=!0;d.insert(c);c=new mxCell("Boo",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(230,0);c.vertex=!0;d.insert(c);c=new mxCell("johnny81",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(380,0);c.vertex=!0;d.insert(c);c=new mxCell("",new mxGeometry(0,.5,20,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.checkbox;strokeColor=#666666;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(560,-10);c.vertex=!0;d.insert(c);c=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=#666666;html=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(700,-10);c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(0, +0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;whiteSpace=wrap;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,200);d.vertex=!0;b.insert(d);c=new mxCell("2",new mxGeometry(0,0,50,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.vertex=!0;d.insert(c);c=new mxCell("Mary",new mxGeometry(0, +0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(80,0);c.vertex=!0;d.insert(c);c=new mxCell("Brown",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(230,0);c.vertex=!0; +d.insert(c);c=new mxCell("missmary",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(380,0);c.vertex=!0;d.insert(c);c=new mxCell("",new mxGeometry(0,.5,20,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.checkbox;strokeColor=#666666;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(560,-10);c.vertex=!0;d.insert(c); +c=new mxCell("",new mxGeometry(0,.5,20,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.radioButton;strokeColor=#666666;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(700,-10);c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(0,0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;whiteSpace=wrap;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,240);d.vertex=!0;b.insert(d); +c=new mxCell("3",new mxGeometry(0,0,50,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.vertex=!0;d.insert(c);c=new mxCell("James",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(80,0);c.vertex=!0;d.insert(c);c=new mxCell("Mooray", +new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(230,0);c.vertex=!0;d.insert(c);c=new mxCell("jijames",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(380, +0);c.vertex=!0;d.insert(c);c=new mxCell("",new mxGeometry(0,.5,20,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=3;strokeColor=#666666;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(560,-10);c.vertex=!0;d.insert(c);c=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=#666666;html=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(700,-10);c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Table")}), +this.addEntry("bootstrap panel list group",function(){var b=new mxCell("",new mxGeometry(0,0,600,320),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;");b.vertex=!0;var d=new mxCell("Panel title",new mxGeometry(0,0,600,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.topButton;rSize=5;strokeColor=inherit;fillColor=#000000;fillOpacity=3;fontColor=#999999;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;");d.geometry.relative=!0; +d.vertex=!0;b.insert(d);d=new mxCell("Some default panel content here. Nulla vitae elit libero, a pharetra augue. Aenean lacinia bibendum nulla sed consectetur. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Nullam id dolor id nibh ultricies vehicula. ",new mxGeometry(0,0,600,80),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;align=left;spacingLeft=10;whiteSpace=wrap;fontSize=14;whiteSpace=wrap;resizeWidth=1;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;b.insert(d);d=new mxCell("Cras justo odio",new mxGeometry(0,0,600,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;spacingLeft=10;fontSize=14;align=left;whiteSpace=wrap;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,120);d.vertex=!0;b.insert(d);d=new mxCell("Dapibus ac facilisis in",new mxGeometry(0,0,600,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;spacingLeft=10;fontSize=14;align=left;whiteSpace=wrap;resizeWidth=1;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,160);d.vertex=!0;b.insert(d);d=new mxCell("Morbi leo risus",new mxGeometry(0,0,600,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;spacingLeft=10;fontSize=14;align=left;whiteSpace=wrap;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,200);d.vertex=!0;b.insert(d);d=new mxCell("Porta ac consectetur ac",new mxGeometry(0,0,600,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;spacingLeft=10;fontSize=14;align=left;whiteSpace=wrap;resizeWidth=1;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,240);d.vertex=!0;b.insert(d);d=new mxCell("Vestibulum at eros",new mxGeometry(0,1,600,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.bottomButton;rSize=5;spacingLeft=10;fontSize=14;align=left;whiteSpace=wrap;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,-40);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height, +"Panel (List Group)")}),this.addEntry("bootstrap table",function(){var b=new mxCell("",new mxGeometry(0,0,800,160),"html=1;shadow=0;dashed=0;shape=partialRectangle;top=0;bottom=0;right=0;left=0;strokeColor=#dddddd;");b.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;strokeColor=inherit;fillColor=#000000;fillOpacity=3;resizeWidth=1;");d.geometry.relative=!0;d.vertex=!0;b.insert(d);var c=new mxCell("#",new mxGeometry(0,0,50,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;whiteSpace=wrap;resizeHeight=1;"); +c.geometry.relative=!0;c.vertex=!0;d.insert(c);c=new mxCell("First Name",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(80,0);c.vertex=!0;d.insert(c);c=new mxCell("Last Name",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(230,0);c.vertex=!0;d.insert(c);c=new mxCell("Username",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(380,0);c.vertex=!0;d.insert(c);c=new mxCell("Active",new mxGeometry(0,0,100,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(560,0);c.vertex=!0;d.insert(c);c=new mxCell("Boss",new mxGeometry(0,0,100,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(700,0);c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(0,0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;b.insert(d);c=new mxCell("1",new mxGeometry(0,0,50,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.vertex=!0;d.insert(c);c=new mxCell("John",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative= +!0;c.geometry.offset=new mxPoint(80,0);c.vertex=!0;d.insert(c);c=new mxCell("Boo",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(230,0);c.vertex=!0;d.insert(c);c=new mxCell("johnny81",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(380,0);c.vertex=!0;d.insert(c);c=new mxCell("",new mxGeometry(0,.5,20,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.checkbox;strokeColor=#666666");c.geometry.relative=!0;c.geometry.offset=new mxPoint(560,-10);c.vertex=!0;d.insert(c);c=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=#666666;html=1");c.geometry.relative=!0;c.geometry.offset=new mxPoint(700,-10);c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(0,0, +800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,80);d.vertex=!0;b.insert(d);c=new mxCell("2",new mxGeometry(0,0,50,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.vertex=!0;d.insert(c);c=new mxCell("Mary",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(80,0);c.vertex=!0;d.insert(c);c=new mxCell("Brown",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(230,0);c.vertex=!0;d.insert(c);c=new mxCell("missmary",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(380,0);c.vertex=!0;d.insert(c);c=new mxCell("",new mxGeometry(0,.5,20,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.checkbox;strokeColor=#666666");c.geometry.relative=!0;c.geometry.offset=new mxPoint(560,-10);c.vertex=!0;d.insert(c);c=new mxCell("",new mxGeometry(0,.5,20,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.radioButton;strokeColor=#666666");c.geometry.relative=!0;c.geometry.offset=new mxPoint(700,-10);c.vertex=!0;d.insert(c); +d=new mxCell("",new mxGeometry(0,0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,120);d.vertex=!0;b.insert(d);c=new mxCell("3",new mxGeometry(0,0,50,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.vertex=!0;d.insert(c);c=new mxCell("James", +new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(80,0);c.vertex=!0;d.insert(c);c=new mxCell("Mooray",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(230, +0);c.vertex=!0;d.insert(c);c=new mxCell("jijames",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(380,0);c.vertex=!0;d.insert(c);c=new mxCell("",new mxGeometry(0,.5,20,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=3;strokeColor=#666666");c.geometry.relative=!0;c.geometry.offset=new mxPoint(560,-10);c.vertex= +!0;d.insert(c);c=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=#666666;html=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(700,-10);c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Table")}),this.addEntry("bootstrap table",function(){var b=new mxCell("",new mxGeometry(0,0,800,360),"shape=partialRectangle;right=0;left=0;strokeColor=#dddddd;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,800, +40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;strokeColor=inherit;fillColor=#000000;fillOpacity=3;resizeWidth=1;");d.geometry.relative=!0;d.vertex=!0;b.insert(d);var c=new mxCell("Name",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(50,0);c.vertex=!0;d.insert(c);c=new mxCell("Double-Line\nHeader", +new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(250,0);c.vertex=!0;d.insert(c);c=new mxCell("Rating",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset= +new mxPoint(450,0);c.vertex=!0;d.insert(c);c=new mxCell("Signed Up",new mxGeometry(0,0,100,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(620,0);c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(1,.5,10,5),"shape=triangle;direction=south;strokeColor=none;fillColor=#000000;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-25, +-2.5);d.vertex=!0;c.insert(d);d=new mxCell("",new mxGeometry(0,0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;b.insert(d);c=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(15,-10);c.vertex=!0;d.insert(c);var f=new mxCell("",new mxGeometry(.5, +.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;c.insert(f);c=new mxCell("John Boo",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(50,0);c.vertex=!0;d.insert(c);c=new mxCell("ok",new mxGeometry(0,.5, +30,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=3;strokeColor=none;fillColor=#58B957;fontSize=12;fontStyle=1;fontColor=#ffffff;whiteSpace=wrap;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(250,-10);c.vertex=!0;d.insert(c);c=new mxCell("",new mxGeometry(0,.5,150,14),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rating;strokeColor=none;fillColor=#EFAC43;emptyFillColor=#dddddd;grade=3;ratingScale=5;ratingStyle=star;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(450, +-7);c.vertex=!0;d.insert(c);c=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 8:56 AM <font color="#dddddd">(2013)</font></td></tr></table>',new mxGeometry(0,0,160,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(620,0);c.vertex=!0;d.insert(c); +d=new mxCell("",new mxGeometry(0,0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,80);d.vertex=!0;b.insert(d);c=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(15,-10);c.vertex=!0;d.insert(c);f=new mxCell("",new mxGeometry(.5,.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;"); +f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;c.insert(f);c=new mxCell("Michael Robinson",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(50,0);c.vertex=!0;d.insert(c);c=new mxCell("ok",new mxGeometry(0,.5,30,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=3;strokeColor=none;fillColor=#58B957;fontSize=12;fontStyle=1;fontColor=#ffffff;whiteSpace=wrap;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(250,-10);c.vertex=!0;d.insert(c);c=new mxCell("",new mxGeometry(0,.5,150,14),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rating;strokeColor=none;fillColor=#EFAC43;emptyFillColor=#dddddd;grade=5;ratingScale=5;ratingStyle=star;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(450,-7);c.vertex=!0;d.insert(c);c=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 7:12 AM <font color="#dddddd">(2013)</font></td></tr></table>', +new mxGeometry(0,0,160,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(620,0);c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(0,0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0, +120);d.vertex=!0;b.insert(d);c=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(15,-10);c.vertex=!0;d.insert(c);f=new mxCell("",new mxGeometry(.5,.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;c.insert(f);c=new mxCell("Alexander Robson",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(50,0);c.vertex=!0;d.insert(c);c=new mxCell("Blocked",new mxGeometry(0,.5,70,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=3;strokeColor=none;fillColor=#999999;fontSize=12;fontStyle=1;fontColor=#ffffff;whiteSpace=wrap;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(250,-10);c.vertex=!0;d.insert(c);c=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 4:32 AM <font color="#dddddd">(2013)</font></td></tr></table>', +new mxGeometry(0,0,160,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(620,0);c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(0,0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0, +160);d.vertex=!0;b.insert(d);c=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(15,-10);c.vertex=!0;d.insert(c);f=new mxCell("",new mxGeometry(.5,.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;c.insert(f);c=new mxCell("Jennifer Pinsker",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(50,0);c.vertex=!0;d.insert(c);c=new mxCell("Blocked 24h",new mxGeometry(0,.5,90,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=3;strokeColor=none;fillColor=#999999;fontSize=12;fontStyle=1;fontColor=#ffffff;whiteSpace=wrap;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(250,-10);c.vertex=!0;d.insert(c);c=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 2:08 AM <font color="#dddddd">(2013)</font></td></tr></table>', +new mxGeometry(0,0,160,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(620,0);c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(0,0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0, +200);d.vertex=!0;b.insert(d);c=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(15,-10);c.vertex=!0;d.insert(c);f=new mxCell("",new mxGeometry(.5,.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;c.insert(f);c=new mxCell("Bob Robson",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(50,0);c.vertex=!0;d.insert(c);c=new mxCell("ok",new mxGeometry(0,.5,30,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=3;strokeColor=none;fillColor=#58B957;fontSize=12;fontStyle=1;fontColor=#ffffff;whiteSpace=wrap;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(250,-10);c.vertex=!0;d.insert(c);c=new mxCell("",new mxGeometry(0,.5,150,14),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rating;strokeColor=none;fillColor=#EFAC43;emptyFillColor=#dddddd;grade=1;ratingScale=5;ratingStyle=star;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(450,-7);c.vertex=!0;d.insert(c);c=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 8:56 AM <font color="#dddddd">(2013)</font></td></tr></table>',new mxGeometry(0,0,160,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset= +new mxPoint(620,0);c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(0,0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,240);d.vertex=!0;b.insert(d);c=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(15,-10);c.vertex=!0;d.insert(c);f=new mxCell("", +new mxGeometry(.5,.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;c.insert(f);c=new mxCell("Michael Robinson",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(50,0);c.vertex=!0;d.insert(c);c=new mxCell("Suspect", +new mxGeometry(0,.5,70,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=3;strokeColor=none;fillColor=#55BFE0;fontSize=12;fontStyle=1;fontColor=#ffffff;whiteSpace=wrap;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(250,-10);c.vertex=!0;d.insert(c);c=new mxCell("",new mxGeometry(0,.5,150,14),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rating;strokeColor=none;fillColor=#EFAC43;emptyFillColor=#dddddd;grade=4;ratingScale=5;ratingStyle=star;");c.geometry.relative=!0;c.geometry.offset= +new mxPoint(450,-7);c.vertex=!0;d.insert(c);c=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 7:12 AM <font color="#dddddd">(2013)</font></td></tr></table>',new mxGeometry(0,0,160,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(620,0);c.vertex= +!0;d.insert(c);d=new mxCell("",new mxGeometry(0,0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,280);d.vertex=!0;b.insert(d);c=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(15,-10);c.vertex=!0;d.insert(c);f=new mxCell("",new mxGeometry(.5,.5, +14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;c.insert(f);c=new mxCell("Jennifer Pinsker",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(50,0);c.vertex=!0;d.insert(c);c=new mxCell("ok",new mxGeometry(0, +.5,30,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=3;strokeColor=none;fillColor=#58B957;fontSize=12;fontStyle=1;fontColor=#ffffff;whiteSpace=wrap;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(250,-10);c.vertex=!0;d.insert(c);c=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 4:34 AM <font color="#dddddd">(2013)</font></td></tr></table>',new mxGeometry(0,0,160,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(620,0);c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(0,0,800,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,320);d.vertex=!0;b.insert(d);c=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(15, +-10);c.vertex=!0;d.insert(c);f=new mxCell("",new mxGeometry(.5,.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;c.insert(f);c=new mxCell("John Boo",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(50, +0);c.vertex=!0;d.insert(c);c=new mxCell("Violation",new mxGeometry(0,.5,70,20),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=3;strokeColor=none;fillColor=#DB524C;fontSize=12;fontStyle=1;fontColor=#ffffff;whiteSpace=wrap;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(250,-10);c.vertex=!0;d.insert(c);c=new mxCell("",new mxGeometry(0,.5,150,14),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rating;strokeColor=none;fillColor=#EFAC43;emptyFillColor=#dddddd;grade=2;ratingScale=5;ratingStyle=star;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(450,-7);c.vertex=!0;d.insert(c);c=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 2:08 AM <font color="#dddddd">(2013)</font></td></tr></table>',new mxGeometry(0,0,160,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset= +new mxPoint(620,0);c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Table")}),this.addEntry("bootstrap table",function(){var b=new mxCell("",new mxGeometry(0,0,800,340),"shape=partialRectangle;right=0;left=0;strokeColor=#dddddd;fillColor=#ffffff;whiteSpace=wrap;");b.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;strokeColor=inherit;fillColor=#000000;fillOpacity=3;resizeWidth=1;"); +d.geometry.relative=!0;d.vertex=!0;b.insert(d);var c=new mxCell("Admin Name",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,0);c.vertex=!0;d.insert(c);c=new mxCell("Object",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(200,0);c.vertex=!0;d.insert(c);c=new mxCell("Action",new mxGeometry(0,0,150,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(400,0);c.vertex=!0;d.insert(c);c=new mxCell("Date",new mxGeometry(0,0,100,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;whiteSpace=wrap;resizeHeight=1;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(620,0);c.vertex=!0;d.insert(c);c=new mxCell("",new mxGeometry(0,.5,10,5),"shape=triangle;direction=south;strokeColor=none;fillColor=#000000;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(665,-2.5);c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(0,0,800,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset= +new mxPoint(0,40);d.vertex=!0;b.insert(d);c=new mxCell("Jennifer Pinsker\n",new mxGeometry(0,0,150,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,0);c.vertex=!0;d.insert(c);c=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(200,-15);c.vertex= +!0;d.insert(c);var f=new mxCell("",new mxGeometry(.5,.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;c.insert(f);c=new mxCell("John Boo\n",new mxGeometry(0,0,150,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(230,0);c.vertex= +!0;d.insert(c);c=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="left" valign="middle" width="50%">Profile Updated<br/><font color="#dddddd">First Name is set to Bobby</font></td></tr></table>',new mxGeometry(0,0,210,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(400,0);c.vertex=!0; +d.insert(c);c=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 8:56 AM <font color="#dddddd">(2013)<br><br></font></td></tr></table>',new mxGeometry(0,0,160,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(620,0);c.vertex=!0;d.insert(c);d=new mxCell("", +new mxGeometry(0,0,800,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,90);d.vertex=!0;b.insert(d);c=new mxCell("Bob Robson\n",new mxGeometry(0,0,150,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(10, +0);c.vertex=!0;d.insert(c);c=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(200,-15);c.vertex=!0;d.insert(c);f=new mxCell("",new mxGeometry(.5,.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;c.insert(f);c=new mxCell("Michael Robinson\n",new mxGeometry(0,0,150,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(230,0);c.vertex=!0;d.insert(c);c=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="left" valign="middle" width="50%">Violation Resolved<br/><font color="#dddddd">Fake Person Violation resolved</font></td></tr></table>',new mxGeometry(0,0,210,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(400,0);c.vertex=!0;d.insert(c);c=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 7:12 AM <font color="#dddddd">(2013)<br><br></font></td></tr></table>',new mxGeometry(0,0,160,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative= +!0;c.geometry.offset=new mxPoint(620,0);c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(0,0,800,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,140);d.vertex=!0;b.insert(d);c=new mxCell("Michael Robinson\n",new mxGeometry(0,0,150,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,0);c.vertex=!0;d.insert(c);c=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(200,-15);c.vertex=!0;d.insert(c);f=new mxCell("",new mxGeometry(.5,.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;c.insert(f);c=new mxCell("Alexander Robson\n", +new mxGeometry(0,0,150,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1");c.geometry.relative=!0;c.geometry.offset=new mxPoint(230,0);c.vertex=!0;d.insert(c);c=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="left" valign="middle" width="50%">Suspect Resolved<br/><font color="#dddddd">Mass Friending Suspect resolved</font></td></tr></table>',new mxGeometry(0, +0,210,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(400,0);c.vertex=!0;d.insert(c);c=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 4:34 AM <font color="#dddddd">(2013)<br><br></font></td></tr></table>',new mxGeometry(0,0,160,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(620,0);c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(0,0,800,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,190);d.vertex=!0;b.insert(d);c=new mxCell("Jennifer Pinsker\n",new mxGeometry(0,0,150,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,0);c.vertex=!0;d.insert(c);c=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(200,-15);c.vertex=!0;d.insert(c);f=new mxCell("",new mxGeometry(.5,.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;c.insert(f);c=new mxCell("Jennifer Pinsker\n", +new mxGeometry(0,0,150,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(230,0);c.vertex=!0;d.insert(c);c=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="left" valign="middle" width="50%">Profile Violation Detected<br/><font color="#dddddd">First Name is marked as Violation</font></td></tr></table>', +new mxGeometry(0,0,210,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(400,0);c.vertex=!0;d.insert(c);c=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 2:08 AM <font color="#dddddd">(2013)<br><br></font></td></tr></table>',new mxGeometry(0, +0,160,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(620,0);c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(0,0,800,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,240);d.vertex=!0; +b.insert(d);c=new mxCell("John Boo\n",new mxGeometry(0,0,150,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,0);c.vertex=!0;d.insert(c);c=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(200,-15);c.vertex=!0;d.insert(c);f=new mxCell("",new mxGeometry(.5, +.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;c.insert(f);c=new mxCell("Bob Robson\n",new mxGeometry(0,0,150,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(230,0);c.vertex=!0;d.insert(c);c=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="left" valign="middle" width="50%">Profile Updated<br/><font color="#dddddd">First Name is set to Bobby</font></td></tr></table>', +new mxGeometry(0,0,210,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(400,0);c.vertex=!0;d.insert(c);c=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 8:56 AM <font color="#dddddd">(2013)<br><br></font></td></tr></table>',new mxGeometry(0, +0,160,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(620,0);c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(0,0,800,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,290);d.vertex=!0; +b.insert(d);c=new mxCell("Michael Robinson\n",new mxGeometry(0,0,150,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,0);c.vertex=!0;d.insert(c);c=new mxCell("",new mxGeometry(0,.5,20,20),"shape=ellipse;strokeColor=none;fillColor=#dddddd;html=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(200,-15);c.vertex=!0;d.insert(c);f=new mxCell("", +new mxGeometry(.5,.5,14,12),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.user;strokeColor=none;fillColor=#999999;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(-7,-6);f.vertex=!0;c.insert(f);c=new mxCell("Michael Robinson\n",new mxGeometry(0,0,150,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(230,0);c.vertex=!0;d.insert(c);c=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="left" valign="middle" width="50%">User Blocked<br/><font color="#dddddd">Blocked for 24 hours</font></td></tr></table>', +new mxGeometry(0,0,210,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(400,0);c.vertex=!0;d.insert(c);c=new mxCell('<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td align="center" valign="middle" width="50%">15 Sep, 7:12 AM <font color="#dddddd">(2013)<br><br></font></td></tr></table>',new mxGeometry(0, +0,160,50),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;align=left;overflow=fill;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(620,0);c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Table")}),this.addEntry("bootstrap table",function(){var b=new mxCell("",new mxGeometry(0,0,800,430),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;strokeColor=#dddddd"); +b.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,800,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;strokeColor=inherit;fillColor=#000000;fillOpacity=3;resizeWidth=1;");d.geometry.relative=!0;d.vertex=!0;b.insert(d);var c=new mxCell("Template Name",new mxGeometry(0,0,200,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeHeight=1;");c.geometry.relative=!0;c.vertex=!0;d.insert(c); +c=new mxCell("Message",new mxGeometry(0,0,200,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;fontSize=14;fontStyle=1;align=left;spacingLeft=10;whiteSpace=wrap;resizeWidth=1;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(200,0);c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(0,0,800,130),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");d.geometry.relative= +!0;d.geometry.offset=new mxPoint(0,40);d.vertex=!0;b.insert(d);c=new mxCell("Uncompleted Profile",new mxGeometry(0,0,200,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;align=left;spacingLeft=10;whiteSpace=wrap;");c.geometry.relative=!0;c.vertex=!0;d.insert(c);c=new mxCell("Hello! At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium deleniti atque corrupti quos doloreset quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id estlaborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Name libero tempore, cum soluta nobis est eligendioptio cumque nihil impedit quo.", +new mxGeometry(0,0,400,130),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;align=left;valign=top;spacingLeft=10;verticalAlign=top;spacingTop=6;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(200,0);c.vertex=!0;d.insert(c);c=new mxCell("Edit",new mxGeometry(1,0,50,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;whiteSpace=wrap;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-140, +15);c.vertex=!0;d.insert(c);c=new mxCell("Delete",new mxGeometry(1,0,60,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;whiteSpace=wrap;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-80,15);c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(0,0,800,100),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,170); +d.vertex=!0;b.insert(d);c=new mxCell("Spam Suspect",new mxGeometry(0,0,200,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;align=left;spacingLeft=10;whiteSpace=wrap;");c.geometry.relative=!0;c.vertex=!0;d.insert(c);c=new mxCell("Hello, deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa quiofficia deserunt mollitia animi, id est fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam nobis est eligendi optio cumquenihil impedit quo minus id quod maxime placeat.", +new mxGeometry(0,0,400,100),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;align=left;valign=top;spacingLeft=10;verticalAlign=top;spacingTop=6;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(200,0);c.vertex=!0;d.insert(c);c=new mxCell("Edit",new mxGeometry(1,0,50,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;whiteSpace=wrap;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-140, +15);c.vertex=!0;d.insert(c);c=new mxCell("Delete",new mxGeometry(1,0,60,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;whiteSpace=wrap;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-80,15);c.vertex=!0;d.insert(c);d=new mxCell("",new mxGeometry(0,0,800,160),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,270); +d.vertex=!0;b.insert(d);c=new mxCell("Profile Blocked",new mxGeometry(0,0,200,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;align=left;spacingLeft=10;whiteSpace=wrap;");c.vertex=!0;d.insert(c);c=new mxCell("Hello! Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsaquae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sitaspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est,qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et doloremagnam aliquam quaerat voluptarem.", +new mxGeometry(0,0,400,160),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rect;strokeColor=none;fillColor=none;align=left;valign=top;spacingLeft=10;verticalAlign=top;spacingTop=6;whiteSpace=wrap;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(200,0);c.vertex=!0;d.insert(c);c=new mxCell("Edit",new mxGeometry(1,0,50,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;whiteSpace=wrap;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-140, +15);c.vertex=!0;d.insert(c);c=new mxCell("Delete",new mxGeometry(1,0,60,30),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;whiteSpace=wrap;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-80,15);c.vertex=!0;d.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Table")}),this.addEntry("bootstrap table",function(){var b=new mxCell("",new mxGeometry(0,0,800,80),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.horLines;strokeColor=#dddddd;fillColor=#fdfdfd;"); +b.vertex=!0;var d=new mxCell("Group Name",new mxGeometry(20,20,500,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=#dddddd;align=left;spacingLeft=10;fontSize=18;fontColor=#999999;whiteSpace=wrap;");d.vertex=!0;b.insert(d);d=new mxCell("Create Templates Group",new mxGeometry(540,20,240,40),"html=1;shadow=0;dashed=0;shape=mxgraph.bootstrap.rrect;rSize=5;strokeColor=none;fillColor=#3D8BCD;fontSize=18;fontColor=#ffffff;whiteSpace=wrap;");d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b], b.geometry.width,b.geometry.height,"Table")}),this.addDataEntry("bootstrap edit template",800,720,"Edit Template","7Vtfc6M4DP8s98Brhz8hSR+bhO7tTNLtlPReOw64iW8NZrFp0/v0JxvIJrG7TbdAk50w0xRk2Vj6WbIkwPLGyfpLjrLVjMWYWl5geeOcMVGeJesxptRybRJb3sRyXRv+LPf6lVZHtdoZynEqDunglh2eEC1wSZnjJKNIYKCmKMFlOxcvtGpfiQRmOXEsb8RXKGbPcGHDRYz4CsfVBbRkkj9ZL6VoFwsQiAs4vchxJCSDyNl3PGaU5cCWshS4R4+E0n0SS0VNslzvUh1AR5QsU6BR/KiGy1BE0uVUXU18oDyviMAhkOU0nuHOQKtkxbnA61f1pUiVsr5glmCRvwDLM4nFqtKZXerUXmGyXImaWNIQL6+Xm64/tQ8nFQBmMDwNjPs0YgAHFqBZ177NGaioeUgqTPKQ/Icr9e3iA5qP1SGVuIsTND2q4y1QHLuCs7qL028BpZddMLZAG5pA6zUAWk8DLSwW/0qNni1nG5OhjklrhuRrmPwNDMxyoScM79+Hwd3D9f10+nBzNQusmv9sUq/D59gd2lRfw+9rymH2QAtfuMAJnPyDcoIWLXjD95lZDVBeamAHDrsFOKoOfb9S8+vW5bgtWddAQ0fDoFavAIzSpaS+rVBY9rY6JFZEwkCY1CxnhRSpCa0NBu6u1gb6mjas6I+rbKipbIY5R8vPXr3Htkk4/Q53icvXdgnjFvGXJd2Sp4x66/RKlDLLbphx+SspKIoKjpJiQyAFF5KHxUT+i0G/hHOSqC5xERHFK/enHwWB3wVFaUwEIbI9yxHmoEJSSM/3xGiRCSTUBeQMOAU+eU/xo5Bhe8TyHBhIPRzjsYQYb+byo0DyPGEUc0HUOV5HOBNFLsfhBMBSfdkiQjhCavSoyAhMqMoMwDLltNgTiXHNDdIQSso58CJVUqeqJ83Qtmzs8ZFEBKnZg1svWWE2FORAKIVhSm4ig16YIvxStGC5ElhJoARSl4/FEl3A/0CSV6gkwm1itUnkuOKC9UuVKsvh1CB4nWEpkYIDFJFKjyPHukGyDyWLElbYbzJQXzmnSI3HAQKBUrbYHhNsBgNmUkDQPtvwlxpJyYqo1Zeou27AkaKTVC0UKW9FlZInaE1kAmZDPhZhVHUBUXCuqEyun3rVsCRVc6kWB1e2wYsEZoTU/LaZlPqUejJY8cBS8IsuQqDtzdFtNiSq91vpfkiE6FXFJVjWorsybLvGoKiRqMixz2HRO8Mi037SWlzkOH9MYOT0u4qMHL0CZU7QtjbfsjmYXX2dmptu775df50GD+Nvs9tpMA9ugjA0c97czx7C+/EYGB7md1eT4BW+rucSBtNp2GJiuu+Jay/9a698oEs2++A9R72ZvdOeO/D33cHA18PLnsEdOI34a72et4n67flL9tk++tiC/16vw+Df0et2QYJUhGa5II19W/BVFzHRaZeFeoYN1rtsqSzk6HW9U9lgvcGuJ+oN9A3WMajNb0BrejVtDvBDXoPyJT6XqXeB6jl7QHXqlPTS2uaZjx1GOcbp2SW9G8FOXZRe6TsVFzUYfp6L0ktxIU5lDUTVzL7krMjOfmpn4/UNzzhb80uuXnmYM7mFzFAK4WyiSoDNwhOtcPR9wdaHVI02YBzomyhaYHrLOKmMqC5S6OA1YFZ73sjvebpV9XTYnAZya1cvSMxQ/h0LmYa59gSDFKIN8N7KMr2TR7HfIYp6hWSCuVRFmxD+sfY37BA5vQBwTVKURgTRs/19BMW+3SGKpjd8soy+nCH8EIRuhxDqhYNQPQI8V+HeTJ+6DTT1WoUGT6156EkyjjVg3m0UW3g3oT/3EwM+vX5wg595W76pXqIRqAbnv3RO5pTWH44u/YFuBBtolPer5u1YnT1G3BR9foGh+bFBAxgeUEH4KH4oJmxUCCGd/m8YTBtW0mVArVcb7nDGcnHEhuKPrgP7BAzFAKPfkqF4elHi5PeKDpMTTy8OTFgkXxg6YjsIrq/GPe8E7MAA5KAtO9DrA6duB12md57pKX0s3048UhvwJsPReHL8NmACsa2gydNz9JO3gQ7zY0/Pj+d43VpN48Mm8BOaIzcBA4ZeWyagp84helKvGm2+6OwYTv1Z8kc8Wvsvs/RNX9GYwtcmnhR7eq4+RmmEaVswvVUTPAC+nXcBu3ma7+y9OGPEqK3v0Dw9F4ftA4uTsKrJyHd740+0qvqdbO8ABE3B8W8gCJc/v51XbTuf1v8P"), this.addDataEntry("bootstrap business contact",800,270,"Business Contacts","7VnRbtowFP2aSNtDke0kBB4HlD6s1Sox7d0Qh1g4GDlugX39rpNAAw6MiSRlW4MQ8Y3t2Of4+lxfHHeYbB4UXcVPMmTCce8dd6ik1PldshkyIRyCeOi4I4cQBF+HjE88xdlTtKKKLfUlDUje4JWKF5ZbckOqt6IwxDqBYY2w4w7SmIZyDQUEhZCmMQuLAjxZmfrJZm7m0pnCDFINt51Yqke+ZKmppJVcsKEUUmVdu2F2wZOIC1GyR6H5gL0YHVOabU7OMDMV03tgMmFabaHKmoc6zmv0UI4Cihmfx0Uzv7DRNC/P903f8IKbArJq+FwLPlOMOBNhalBkgs00gFQzprOYzRZTubkY06VcQk8DKvh8CUXBIgBhIOiUiWeZcs2lMascnEG6ojO+nD9mtUbYjCWSSz0pxo8vJYZUE7MtFmbHz5uUiMKezdPOppigmr+yg9dVkVe88VlyGAhBu/EVXBVvvwsOO5BRlDJtcb8f9kXLwbOWwxNVi/wtBH37Wvc6UAqWF9RQE/7T1PDPLogKP8susK9jrtkEaDe9rKHr5ijuV7iii+qheOfSO46x3wDJ/lmSf3Bp5gD+9ME1waQ5skkrZHdPkp1V+9/8+rDBOearFLcm5u8wboP6wKL+OTYyWjfXOdWH9BZ6XSHhRohLTPezy5b2Qwn3r1kKJ8KrooF3SEWALlsKpIbgq2cR1GactUf+lO/VAO5RzIKR+0cR0zXg9ivAHbgAOfqEut3P8NsLwOtQF9wE9YN32QF/S8GRU2RBbN4f7lbHue14Sd/2kq5X4SVeDV6y2ytLTMpFU3TtAJ8BLkyV+HMv2eKAOr836PvBEVek4gBytA9er3jnCQzQIYP7Ta1EodvQPoexxeDgJTVnahN9sIRy8SFK59wNey2qEm4+pXJrshS0J0vYzrikTDoeoquVYJ2ZTG5Kicajce/eu2Elwt02pcjOj3yXUDaZT0V1/aF1Xap0P/4y9Ny/QJUqwu+qfEst+5ydB5kstquP89FZf9uHY61IkZ29aHp3tD3qfTSJeC1qkp0poIJtOkpOp9ubkqObPxjtY+hW5MhOIDR3Mio7iKVH/9LJiFQE2zWdjKD49s9ontEr/3H6Cw=="), this.addDataEntry("bootstrap experience",800,270,"Experience","7Vpdc6IwFP01PLYTCGh9Vbt9aWc7687sM5UomQbihFh1f/3e8GGFRBdbwH5Apw5ckpCcc8+98YqFJ9H2Tvir8IEHhFn41sITwbnMzqLthDBmOYgGFp5ajoPg33J+HLlrp3fRyhcklnU6OFmHF5+tSWbJDIncsdwQygimNbUtPE5CP+AbuEBwEfhJSIL8Au6sVPtou1RruX6CFSQSTq9DLu5pTBLVSAr+TCaccZEOjYP0gDsLytiBfRGoP7DnsyNCku3RFaamfHl3hEdEih002dBAhlmLG5ShgEJCl2HezcttfpJdL/ddX/GCkxwyM3xYg29GGJlLsC0oYUECJ5LDx3oV+JKkwPpynTQNshDqoXgsZvSvaoHPQjs9wO4zuozBxshCDcb8J8IeeUIl5cosMuzGycqf03h5n7aa2mpmCx7LWb4auy5vjpm3Xe63117W5YBH29VpLGyCMF/SF1J6nInb/ImPnMaKp2J+OZX506+G5QH4YpEQqbnGftq1vMXVvGWPbtP+kLlD2QViHpMK+4UJ6DtwiFF66A5RJt4DyyakkszArKaxgSe/U7N5BxeVyBgi3RNMinYaULTXekCspdU9Bce02gDKFZe3ET5LcO9BeWCImzGFRTroNl5CuiCibdi9N8FeUUQa97Lx7IE5NHYjkZEukYFrkIjbgESGGnn8uQuRFNjPASLwjxrhDZjzbsYjb1ihyjGkrEoM3DPeEn9DVCZwH9AOGMQtxbgbjcAJj1Z+vOvT0CmN2W6HeWj0SfJQS9BXc9Owu9xkIw363yRhPpgeuOSi9c3718pM9qDD1GTbfW5qITcZNuBt5SZbr0j84eIZXFd9pxY86nPUKbXto1cXOcrWyx8fM0k1n5Act8OEpNcNfs4lf+q/I52pDWzQhimONZKJahQSCiKkoH68VNZxQBUFWb0t4Ws1zSrOKD2OhawVERQmSw5Mb0fXPS2JErrGep2p7Go1Ua67wmVur3B5hEbqdbZepnBQscXoVXfMLUaXlJ1enPh8sht8c9np9YnXLaD6NaXfAJaS3CV3gHqZYrIW6dSBKlDEhckqSKn8dPUrR8HT+fS8CbptMTp6NxekqxijTnRkNEUwQ/pPPjnnJG0NwIOrezZDzc1UPGgEHb14MCVzEvUb7bNjUJcpv/DhD5Dya0H5v+3TV0/vhpcmYFfdeuXgk0vM8y4pMb0C8bElhr+5xPTiQ18Gf3cZ3LQXaagMDpev7/xlhB++EvgP"), @@ -4800,59 +4800,59 @@ this.addDataEntry("bootstrap skills",800,480,"Skills","7Zpbc6IwFMc/DY/tEAJeHtdbH this.addDataEntry("bootstrap chat",400,660,"Chat","7VpRc+I2EP4tfWD6BCPbmCOPCSTX6TTTm+ShzwIvWHOy5ZNkQvrru5JlDrDvoI2VGKZmQqy1JMv77bf+tMMgmmXbz5IW6aNIgA+i+0E0k0Lo6izbzoDzQUhYMojmgzAk+DcIH35wNbBXSUEl5PqcAWE1YEN5CZWlMij9yp0h1Rkuax4MojuV0kS8YINgI6EqhcQ18Eph+mfbtXmW0QKfQGk8HUlYatNBS/EVZoILaaeNqgOvrBjne/aVPdD+kjINzwVdmnlfcCq0udWC1LD94RNbk3vczyAy0PIVu7ywRKdVjzGpvEJSYOvUDZtMnJGqyrDejf3uQDxxPmz3Z9Q7f+7sbf6UoNjf8JfzTHCuh8P/5uHY2SRwqtkGDuZ/i9fHDa//LtIcLXdCNPxfuxanYIWChi9zkUNLWBLzQTunC+BfhGKaiRyvyer57ihna9PmsLL4oKNZvv7DtuaBGbkSuW6bcS8gzvJ+1O79V8f3UVwN2UMjagEj+rdguDt+EQwXEpJ6fe5u7u7Dul3PIFYrBboB5m7dZ+Ebe2dVqUCeGQk39jgXrHE7WNsjsH4CXtgCXtgNeMOAHKFHPKA3aaD3yJYpBdPnSSxYrpBInlnqWFmTtCatY+mT8+x70PRwwMeQdjh+D9Z+ulzWTv5n7bSBngkS8gyFhmyBfg9JSIKoc3nj9I18RmGCPeJzmZ+YT5O+O9w/Xv68lbwO7k8+uHrTQPs3hu2M5r/0BeF78kDmk5NKK37L1uE0stMWYMfd8Do8pHUQ+QC6zhV7SE8H0W2Mjr0NUKyQ28fOAW/bsbRgXJsOCZzYw9ldyNj39FEYeMQ8aGNzR8n8GHQv7A6CJr2xB+6NiE5Bwmg06gvL5zf384fpGVLNB88PB5yKgI5oPwyOY+DGSww0Sz0XTvw6Mj42CjoTdUdREPpJ/80C1bxkytym1GA65qU0/xMLhGnbZyskpJAnIJmujRvBy0JTO2oD3F4ApUxzyTgrs3oWY4ESv1blmlHTLS85pxUYaChlb7LPCY3xDvpil1X2Y2zq5V0Txl4irFmMu/A8c1UCI/KTVpoVuiegnOPwB9xAkBnNfzVrWmCegA1Y3WEywaxne4xT6uPdhUfoU3g0YsNPQmjW/y48IVy38Ij8yM9mNfA2T4wy2IBREzk1eoGzBUi7LYGssMrBZIil1RIK9YY2qiEXC6tYQFnJgaCgMjHVClFoJqr+30qTZHKWMruIrIDECpRvpemQocpR1eKsKbFpaMsyM6jgCKiVKSs8seqlEEqxzAwxyxFZbu/vBJCiSpUZLoHWa9rvZBVQb/JbT/XNLr67fdeNvZS1g2Zl9MLz2VUJnNgP6M0C6Z9fcdtC5ihzekPv3skXj9XS4S6mauC9KNvw6uql161eYi8F1LClgFqm/amavuG97jHrT/yx/xh1L5o1vLqS6VW96SddJHxsfv+1ZdV9/8eY/wA="), this.addDataEntry("bootstrap log in",240,220,"Log in","7ZhLj9owEIB/TY4gJ04CHAtst5W2EupW6tmQgVjrxMjx8uiv7zgxgZAAUZVsD60RUmbs8WO+mbESh86Sw7Ni2/ibjEA49MmhMyWlLp6SwwyEcDzCI4fOHc8j+He8zzd63byXbJmCVLcx8AqDHRPvUGhmMtVKmjELluKG8v5MH4Xtj3WCu5y7Dp1mMYvkHgWCQsSyGCIrYM/WjE8OG3O04RIPlGl8HCoFK9zZdM2FmEkhVT4rXecN9UzwTYq6FR4AsHOqXvkvM1VgpsWdvcGFGckb9uxAab5i4pM113Jrxm/ZiqebH0aYe2bcGk9nJ3T9k2wPZ460j7mGVzQzij1uGHXWRbgCHG66OVdZHz+DTECrIw7Z80jH1tV+gYLEwDexNTvxISwrFJvS9kwNHyy4Zoi0BvEpYbw3dHeJTPJ2B3ATgYtxUd4uAkHAWp9RvuTS3Cc3WCnIcO6f1utuW3reQ3rupIEetToFgmm+g8r8TUTtEgvJcWWPHKrTHAsxvAoJuV5noGsBUe6zVYz4tRjpOjwMqOm71jL94xiJzK+k+OXk6dYY6UOMtAuKbfMy6N3neZo3eLj05JWHS88XFmWeDGlbF/vNLrYGZBhUQrmULzMprCNwvU4SaTCurD4Ie0iksAZ1wbJsL1X00Vdlyxz7X28f1FuX9FFwR/9CwQ0/puBeYeyU07h3TttTfbhHplqQW5fjUT/lOOylHI97SLNJDd93SCBZ4ruDRxLomuUqhtXbUh4uMo42cQ3zdqd4C7YEsZAZ19zk71wV3r9fhoOrek46rLd+Qxj4nYTBiFbLrd9HHLikFggvcoOKr2lf9/LtkpvKFOrsg/F0EozqV/DdV6NHL6fdXsDHisHfuY4HQQfXMYrnjyjF8MtvLL8B"), this.addDataEntry("bootstrap log in",240,260,"Log in","7Vhtb5swEP41fJnUyJiXJB+b0HaVOilaJ+2zAw54NTgzbl7263cGE0ghadRCVWmjqorPd+Z8z/OcC5YzT3d3kqyTbyKi3HJuLGcuhVDlXbqbU84tjFhkOYGFMYJfC9+emLWLWbQmkmbqkgBcBmwIf6alZS4yJYX2WZAMEirmc7XnZj5RKWQZ2JYzyxMSiS0MEAwikic0MgOYWWv/dBfrrY2WsKFcwe1IShpCZrMV43wuuJDFqs6quMBOOIszsIWwAQqTM/nI/uilPL0sZPZEG2GouGBmQ6ViIeHXJlyJtfZfk5Bl8Q89CLD2W8HuzIK2W43N5vSWtglT9BHCtGELCYPNlAieQHcny1yYTI3vqEipkntw2bJIJabUbgkFSiiLExOGfWMkeWmID7E1anBjgOsG0WmBaGGf6yorsoStYRRCwJpEERSjcPB/P2uGzVB9a7xMyc541VyojGaT1zZAgTVO1Q5rS3MFPzZ/yxRlyxLpehgg60DDiGYqm7ZXyqJIb7nhVWNQGb0iq1ZK91koSn5q1ZTJLKvJm5QwXlkBkWWdNgI6dkQsSJ5vhYy6gw42vd22sVUVbSzRrOzDCPO03jKR0bZyb3FwE9waKTXswczD7hzsApSz4kU6OvSEyCTN4bk/DVT2pbLDr8rOnnbIrpKipJwotqFH63dJ0TxiIVim2WEScswy+3LovdCyWK1yqlpKPuR5kbjdlrh/iSSzXBRrQo5CkX48EwDeaXF1NPJI/3R02kqqnK5U3ZofilHgok9BC2cQWhRNsHdeeB1Nv18eaKRmz0qJ7M1kqE71EsavVakvxtF9FUenDxgvPWj9wWteHDIdFa5ldVzhQ+XLiINQRs6lJfa6S2wC0Mg74vJh3JSS34bAxr0o6Wpy9PQrfwAhjVugfjHX/8b6yRurO0RjnfwLjXX8uRrrdPCar6t/xs9V+biJXtxCJ8O0UH+QFjoZQDI2auH3naY0Xer3NZTSvsEMExo+LcWuIR+nC1i/uM7Ih5Ml5QuRM8W0GANZlv98T/VeNGH0zua5PwpossLtYIXbCyvGzjErxngIWtgtWjyIGAz32ccfrd1vr95kNvXG7bfXA0Pe8sGo37P1ND0+7qS96uPVFob1h83Svfnd8y8=")]; -this.addPalette("bootstrap",mxResources.get("bootstrap"),!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))}})();(function(){var a=Sidebar.prototype.addBpmnPalette;Sidebar.prototype.addBpmnPalette=function(b,e){a.apply(this,arguments);var c="shape=mxgraph.bpmn.shape;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;background=gateway;outlineConnect=0;",d="bpmn business process model gateway ";this.addPaletteFunctions("bpmnGateways","BPMN Gateways",!1,[this.createVertexTemplateEntry(c+"outline=none;symbol=exclusiveGw;",50,50,"","Exclusive Gateway", -null,null,d+"exclusive"),this.createVertexTemplateEntry(c+"outline=none;symbol=parallelGw;",50,50,"","Parallel Gateway",null,null,d+"parallel"),this.createVertexTemplateEntry(c+"outline=end;symbol=general;",50,50,"","Inclusive Gateway",null,null,d+"inclusive"),this.createVertexTemplateEntry(c+"outline=none;symbol=complexGw;",50,50,"","Complex Gateway",null,null,d+"complex"),this.createVertexTemplateEntry(c+"outline=standard;symbol=general;",50,50,"","General Start Gateway",null,null,d+"general start"), -this.createVertexTemplateEntry(c+"outline=throwing;symbol=general;",50,50,"","General Intermediate Gateway",null,null,d+"general intermediate"),this.createVertexTemplateEntry(c+"outline=end;symbol=general;",50,50,"","General End Gateway",null,null,d+"general end"),this.createVertexTemplateEntry(c+"outline=standard;symbol=message;",50,50,"","Message Standard Gateway",null,null,d+"message standard"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=message;",50,50,"","Message Interrupting Gateway", -null,null,d+"message interrupting"),this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=message;",50,50,"","Message Non-Interrupting Gateway",null,null,d+"message non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=message;",50,50,"","Message Catching Gateway",null,null,d+"message catching"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=message;",50,50,"","Message Boundary Interrupting Gateway",null,null,d+"message boundary interrupting"), -this.createVertexTemplateEntry(c+"outline=boundNonint;symbol=message;",50,50,"","Message Boundary Non-Interrupting Gateway",null,null,d+"message boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=throwing;symbol=message;",50,50,"","Message Throwing Gateway",null,null,d+"message throwing"),this.createVertexTemplateEntry(c+"outline=end;symbol=message;",50,50,"","Message End Gateway",null,null,d+"message end"),this.createVertexTemplateEntry(c+"outline=standard;symbol=timer;", -50,50,"","Timer Standard Gateway",null,null,d+"timer standard"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=timer;",50,50,"","Timer Interrupting Gateway",null,null,d+"timer interrupting"),this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=timer;",50,50,"","Timer Non-Interrupting Gateway",null,null,d+"timer non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=timer;",50,50,"","Timer Catching Gateway",null,null,d+"timer catching"),this.createVertexTemplateEntry(c+ -"outline=boundInt;symbol=timer;",50,50,"","Timer Boundary Interrupting Gateway",null,null,d+"timer boundary interrupting"),this.createVertexTemplateEntry(c+"outline=boundNonint;symbol=timer;",50,50,"","Timer Boundary Non-Interrupting Gateway",null,null,d+"timer boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=escalation;",50,50,"","Escalation Interrupting Gateway",null,null,d+"escalation interrupting"),this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=escalation;", -50,50,"","Escalation Non-Interrupting Gateway",null,null,d+"escalation non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=escalation;",50,50,"","Escalation Boundary Interrupting Gateway",null,null,d+"escalation boundary interrupting"),this.createVertexTemplateEntry(c+"outline=boundNonint;symbol=escalation;",50,50,"","Escalation Boundary Non-Interrupting Gateway",null,null,d+"escalation boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(c+ -"outline=throwing;symbol=escalation;",50,50,"","Escalation Throwing Gateway",null,null,d+"escalation throwing"),this.createVertexTemplateEntry(c+"outline=end;symbol=escalation;",50,50,"","Escalation End Gateway",null,null,d+"escalation end"),this.createVertexTemplateEntry(c+"outline=standard;symbol=conditional;",50,50,"","Conditional Standard Gateway",null,null,d+"conditional standard"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=conditional;",50,50,"","Conditional Interrupting Gateway", -null,null,d+"conditional interrupting"),this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=conditional;",50,50,"","Conditional Non-Interrupting Gateway",null,null,d+"conditional non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=conditional;",50,50,"","Conditional Catching Gateway",null,null,d+"conditional catching"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=conditional;",50,50,"","Conditional Boundary Interrupting Gateway",null, -null,d+"conditional boundary interrupting"),this.createVertexTemplateEntry(c+"outline=boundNonint;symbol=conditional;",50,50,"","Conditional Boundary Non-Interrupting Gateway",null,null,d+"conditional boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=link;",50,50,"","Link Catching Gateway",null,null,d+"link catching"),this.createVertexTemplateEntry(c+"outline=throwing;symbol=link;",50,50,"","Link Throwing Gateway",null,null,d+"link throwing"),this.createVertexTemplateEntry(c+ -"outline=eventInt;symbol=error;",50,50,"","Error Interrupting Gateway",null,null,d+"error interrupting"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=error;",50,50,"","Error Boundary Interrupting Gateway",null,null,d+"error boundary interrupting"),this.createVertexTemplateEntry(c+"outline=end;symbol=error;",50,50,"","Error End Gateway",null,null,d+"error end"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=cancel;",50,50,"","Cancel Boundary Interrupting Gateway",null,null, -d+"cancel boundary interrupting"),this.createVertexTemplateEntry(c+"outline=end;symbol=cancel;",50,50,"","Cancel End Gateway",null,null,d+"cancel end"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=compensation;",50,50,"","Compensation Interrupting Gateway",null,null,d+"compensation interrupting"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=compensation;",50,50,"","Compensation Boundary Interrupting Gateway",null,null,d+"compensation boundary interrupting"),this.createVertexTemplateEntry(c+ -"outline=throwing;symbol=compensation;",50,50,"","Compensation Throwing Gateway",null,null,d+"compensation throwing"),this.createVertexTemplateEntry(c+"outline=end;symbol=compensation;",50,50,"","Compensation End Gateway",null,null,d+"compensation end"),this.createVertexTemplateEntry(c+"outline=standard;symbol=signal;",50,50,"","Signal Standard Gateway",null,null,d+"signal standard"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=signal;",50,50,"","Signal Interrupting Gateway",null,null, -d+"signal interrupting"),this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=signal;",50,50,"","Signal Non-Interrupting Gateway",null,null,d+"signal non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=signal;",50,50,"","Signal Catching Gateway",null,null,d+"signal catching"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=signal;",50,50,"","Signal Boundary Interrupting Gateway",null,null,d+"signal boundary interrupting"),this.createVertexTemplateEntry(c+ -"outline=boundNonint;symbol=signal;",50,50,"","Signal Boundary Non-Interrupting Gateway",null,null,d+"signal boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=throwing;symbol=signal;",50,50,"","Signal Throwing Gateway",null,null,d+"signal throwing"),this.createVertexTemplateEntry(c+"outline=end;symbol=signal;",50,50,"","Signal End Gateway",null,null,d+"signal end"),this.createVertexTemplateEntry(c+"outline=standard;symbol=multiple;",50,50,"","Multiple Standard Gateway", -null,null,d+"multiple standard"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=multiple;",50,50,"","Multiple Interrupting Gateway",null,null,d+"multiple interrupting"),this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=multiple;",50,50,"","Multiple Non-Interrupting Gateway",null,null,d+"multiple non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=multiple;",50,50,"","Multiple Catching Gateway",null,null,d+"multiple catching"),this.createVertexTemplateEntry(c+ -"outline=boundInt;symbol=multiple;",50,50,"","Multiple Boundary Interrupting Gateway",null,null,d+"multiple boundary interrupting"),this.createVertexTemplateEntry(c+"outline=boundNonint;symbol=multiple;",50,50,"","Multiple Boundary Non-Interrupting Gateway",null,null,d+"multiple boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=throwing;symbol=multiple;",50,50,"","Multiple Throwing Gateway",null,null,d+"multiple throwing"),this.createVertexTemplateEntry(c+"outline=end;symbol=multiple;", -50,50,"","Multiple End Gateway",null,null,d+"multiple end"),this.createVertexTemplateEntry(c+"outline=standard;symbol=star;",50,50,"","Multiple Start Gateway",null,null,d+"multiple end"),this.createVertexTemplateEntry(c+"outline=standard;symbol=parallelMultiple;",50,50,"","Parallel Multiple Standard Gateway",null,null,d+"parallel multiple standard"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=parallelMultiple;",50,50,"","Parallel Multiple Interrupting Gateway",null,null,d+"parallel multiple interrupting"), -this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=parallelMultiple;",50,50,"","Parallel Multiple Non-Interrupting Gateway",null,null,d+"parallel multiple non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=parallelMultiple;",50,50,"","Parallel Multiple Catching Gateway",null,null,d+"parallel multiple catching"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=parallelMultiple;",50,50,"","Parallel Multiple Boundary Interrupting Gateway", -null,null,d+"parallel multiple boundary interrupting"),this.createVertexTemplateEntry(c+"outline=boundNonint;symbol=parallelMultiple;",50,50,"","Parallel Multiple Boundary Non-Interrupting Gateway",null,null,d+"parallel multiple boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=end;symbol=terminate;",50,50,"","Terminate Gateway",null,null,d+"terminate")]);c="shape=mxgraph.bpmn.shape;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;"; -d="bpmn business process model event ";this.addPaletteFunctions("bpmnEvents","BPMN Events",!1,[this.createVertexTemplateEntry(c+"outline=standard;symbol=general;",50,50,"","General Start",null,null,d+"general start"),this.createVertexTemplateEntry(c+"outline=throwing;symbol=general;",50,50,"","General Intermediate",null,null,d+"general intermediate"),this.createVertexTemplateEntry(c+"outline=end;symbol=general;",50,50,"","General End",null,null,d+"general end"),this.createVertexTemplateEntry(c+"outline=standard;symbol=message;", -50,50,"","Message Standard",null,null,d+"message standard"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=message;",50,50,"","Message Interrupting",null,null,d+"message interrupting"),this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=message;",50,50,"","Message Non-Interrupting",null,null,d+"message non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=message;",50,50,"","Message Catching",null,null,d+"message catching"),this.createVertexTemplateEntry(c+ -"outline=boundInt;symbol=message;",50,50,"","Message Boundary Interrupting",null,null,d+"message boundary interrupting"),this.createVertexTemplateEntry(c+"outline=boundNonint;symbol=message;",50,50,"","Message Boundary Non-Interrupting",null,null,d+"message boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=throwing;symbol=message;",50,50,"","Message Throwing",null,null,d+"message throwing"),this.createVertexTemplateEntry(c+"outline=end;symbol=message;",50,50,"", -"Message End",null,null,d+"message end"),this.createVertexTemplateEntry(c+"outline=standard;symbol=timer;",50,50,"","Timer Standard",null,null,d+"timer standard"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=timer;",50,50,"","Timer Interrupting",null,null,d+"timer interrupting"),this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=timer;",50,50,"","Timer Non-Interrupting",null,null,d+"timer non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=timer;", -50,50,"","Timer Catching",null,null,d+"timer catching"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=timer;",50,50,"","Timer Boundary Interrupting",null,null,d+"timer boundary interrupting"),this.createVertexTemplateEntry(c+"outline=boundNonint;symbol=timer;",50,50,"","Timer Boundary Non-Interrupting",null,null,d+"timer boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=escalation;",50,50,"","Escalation Interrupting",null,null,d+"escalation interrupting"), -this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=escalation;",50,50,"","Escalation Non-Interrupting",null,null,d+"escalation non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=escalation;",50,50,"","Escalation Boundary Interrupting",null,null,d+"escalation boundary interrupting"),this.createVertexTemplateEntry(c+"outline=boundNonint;symbol=escalation;",50,50,"","Escalation Boundary Non-Interrupting",null,null,d+"escalation boundary non interrupting nonimpterrupting"), -this.createVertexTemplateEntry(c+"outline=throwing;symbol=escalation;",50,50,"","Escalation Throwing",null,null,d+"escalation throwing"),this.createVertexTemplateEntry(c+"outline=end;symbol=escalation;",50,50,"","Escalation End",null,null,d+"escalation end"),this.createVertexTemplateEntry(c+"outline=standard;symbol=conditional;",50,50,"","Conditional Standard",null,null,d+"conditional standard"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=conditional;",50,50,"","Conditional Interrupting", -null,null,d+"conditional interrupting"),this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=conditional;",50,50,"","Conditional Non-Interrupting",null,null,d+"conditional non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=conditional;",50,50,"","Conditional Catching",null,null,d+"conditional catching"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=conditional;",50,50,"","Conditional Boundary Interrupting",null,null,d+"conditional boundary interrupting"), -this.createVertexTemplateEntry(c+"outline=boundNonint;symbol=conditional;",50,50,"","Conditional Boundary Non-Interrupting",null,null,d+"conditional boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=link;",50,50,"","Link Catching",null,null,d+"link catching"),this.createVertexTemplateEntry(c+"outline=throwing;symbol=link;",50,50,"","Link Throwing",null,null,d+"link throwing"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=error;",50,50, -"","Error Interrupting",null,null,d+"error interrupting"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=error;",50,50,"","Error Boundary Interrupting",null,null,d+"error boundary interrupting"),this.createVertexTemplateEntry(c+"outline=end;symbol=error;",50,50,"","Error End",null,null,d+"error end"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=cancel;",50,50,"","Cancel Boundary Interrupting",null,null,d+"cancel boundary interrupting"),this.createVertexTemplateEntry(c+"outline=end;symbol=cancel;", -50,50,"","Cancel End",null,null,d+"cancel end"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=compensation;",50,50,"","Compensation Interrupting",null,null,d+"compensation interrupting"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=compensation;",50,50,"","Compensation Boundary Interrupting",null,null,d+"compensation boundary interrupting"),this.createVertexTemplateEntry(c+"outline=throwing;symbol=compensation;",50,50,"","Compensation Throwing",null,null,d+"compensation throwing"), -this.createVertexTemplateEntry(c+"outline=end;symbol=compensation;",50,50,"","Compensation End",null,null,d+"compensation end"),this.createVertexTemplateEntry(c+"outline=standard;symbol=signal;",50,50,"","Signal Standard",null,null,d+"signal standard"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=signal;",50,50,"","Signal Interrupting",null,null,d+"signal interrupting"),this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=signal;",50,50,"","Signal Non-Interrupting",null,null, -d+"signal non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=signal;",50,50,"","Signal Catching",null,null,d+"signal catching"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=signal;",50,50,"","Signal Boundary Interrupting",null,null,d+"signal boundary interrupting"),this.createVertexTemplateEntry(c+"outline=boundNonint;symbol=signal;",50,50,"","Signal Boundary Non-Interrupting",null,null,d+"signal boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(c+ -"outline=throwing;symbol=signal;",50,50,"","Signal Throwing",null,null,d+"signal throwing"),this.createVertexTemplateEntry(c+"outline=end;symbol=signal;",50,50,"","Signal End",null,null,d+"signal end"),this.createVertexTemplateEntry(c+"outline=standard;symbol=multiple;",50,50,"","Multiple Standard",null,null,d+"multiple standard"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=multiple;",50,50,"","Multiple Interrupting",null,null,d+"multiple interrupting"),this.createVertexTemplateEntry(c+ -"outline=eventNonint;symbol=multiple;",50,50,"","Multiple Non-Interrupting",null,null,d+"multiple non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=catching;symbol=multiple;",50,50,"","Multiple Catching",null,null,d+"multiple catching"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=multiple;",50,50,"","Multiple Boundary Interrupting",null,null,d+"multiple boundary interrupting"),this.createVertexTemplateEntry(c+"outline=boundNonint;symbol=multiple;",50,50,"", -"Multiple Boundary Non-Interrupting",null,null,d+"multiple boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(c+"outline=throwing;symbol=multiple;",50,50,"","Multiple Throwing",null,null,d+"multiple throwing"),this.createVertexTemplateEntry(c+"outline=end;symbol=multiple;",50,50,"","Multiple End",null,null,d+"multiple end"),this.createVertexTemplateEntry(c+"outline=standard;symbol=star;",50,50,"","Multiple Start",null,null,d+"multiple start"),this.createVertexTemplateEntry(c+ -"outline=standard;symbol=parallelMultiple;",50,50,"","Parallel Multiple Standard",null,null,d+"parallel multiple standard"),this.createVertexTemplateEntry(c+"outline=eventInt;symbol=parallelMultiple;",50,50,"","Parallel Multiple Interrupting",null,null,d+"parallel multiple interrupting"),this.createVertexTemplateEntry(c+"outline=eventNonint;symbol=parallelMultiple;",50,50,"","Parallel Multiple Non-Interrupting",null,null,d+"parallel multiple non interrupting noninterrupting"),this.createVertexTemplateEntry(c+ -"outline=catching;symbol=parallelMultiple;",50,50,"","Parallel Multiple Catching",null,null,d+"parallel multiple catching"),this.createVertexTemplateEntry(c+"outline=boundInt;symbol=parallelMultiple;",50,50,"","Parallel Multiple Boundary Interrupting",null,null,d+"parallel multiple boundary interrupting"),this.createVertexTemplateEntry(c+"outline=boundNonint;symbol=parallelMultiple;",50,50,"","Parallel Multiple Boundary Non-Interrupting",null,null,d+"parallel multiple boundary non interrupting"), -this.createVertexTemplateEntry(c+"outline=end;symbol=terminate;",50,50,"","Terminate",null,null,d+"terminate")])}})();(function(){Sidebar.prototype.addCabinetsPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;dashed=0;shadow=0;html=1;align=center;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;shape=mxgraph.cabinets.",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=middle;dashed=0;shadow=0;html=1;shape=mxgraph.cabinets.",e=this,c=[this.createVertexTemplateEntry(a+"cabinet;hasStand=1",250,500,"","Cabinet",null,null,this.getTagsForStencil("mxgraph.cabinets","cabinet","cabinet ").join(" ")),this.createVertexTemplateEntry(b+ +this.addPalette("bootstrap",mxResources.get("bootstrap"),!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))}})();(function(){var a=Sidebar.prototype.addBpmnPalette;Sidebar.prototype.addBpmnPalette=function(b,e){a.apply(this,arguments);var d="shape=mxgraph.bpmn.shape;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;background=gateway;outlineConnect=0;",c="bpmn business process model gateway ";this.addPaletteFunctions("bpmnGateways","BPMN Gateways",!1,[this.createVertexTemplateEntry(d+"outline=none;symbol=exclusiveGw;",50,50,"","Exclusive Gateway", +null,null,c+"exclusive"),this.createVertexTemplateEntry(d+"outline=none;symbol=parallelGw;",50,50,"","Parallel Gateway",null,null,c+"parallel"),this.createVertexTemplateEntry(d+"outline=end;symbol=general;",50,50,"","Inclusive Gateway",null,null,c+"inclusive"),this.createVertexTemplateEntry(d+"outline=none;symbol=complexGw;",50,50,"","Complex Gateway",null,null,c+"complex"),this.createVertexTemplateEntry(d+"outline=standard;symbol=general;",50,50,"","General Start Gateway",null,null,c+"general start"), +this.createVertexTemplateEntry(d+"outline=throwing;symbol=general;",50,50,"","General Intermediate Gateway",null,null,c+"general intermediate"),this.createVertexTemplateEntry(d+"outline=end;symbol=general;",50,50,"","General End Gateway",null,null,c+"general end"),this.createVertexTemplateEntry(d+"outline=standard;symbol=message;",50,50,"","Message Standard Gateway",null,null,c+"message standard"),this.createVertexTemplateEntry(d+"outline=eventInt;symbol=message;",50,50,"","Message Interrupting Gateway", +null,null,c+"message interrupting"),this.createVertexTemplateEntry(d+"outline=eventNonint;symbol=message;",50,50,"","Message Non-Interrupting Gateway",null,null,c+"message non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline=catching;symbol=message;",50,50,"","Message Catching Gateway",null,null,c+"message catching"),this.createVertexTemplateEntry(d+"outline=boundInt;symbol=message;",50,50,"","Message Boundary Interrupting Gateway",null,null,c+"message boundary interrupting"), +this.createVertexTemplateEntry(d+"outline=boundNonint;symbol=message;",50,50,"","Message Boundary Non-Interrupting Gateway",null,null,c+"message boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline=throwing;symbol=message;",50,50,"","Message Throwing Gateway",null,null,c+"message throwing"),this.createVertexTemplateEntry(d+"outline=end;symbol=message;",50,50,"","Message End Gateway",null,null,c+"message end"),this.createVertexTemplateEntry(d+"outline=standard;symbol=timer;", +50,50,"","Timer Standard Gateway",null,null,c+"timer standard"),this.createVertexTemplateEntry(d+"outline=eventInt;symbol=timer;",50,50,"","Timer Interrupting Gateway",null,null,c+"timer interrupting"),this.createVertexTemplateEntry(d+"outline=eventNonint;symbol=timer;",50,50,"","Timer Non-Interrupting Gateway",null,null,c+"timer non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline=catching;symbol=timer;",50,50,"","Timer Catching Gateway",null,null,c+"timer catching"),this.createVertexTemplateEntry(d+ +"outline=boundInt;symbol=timer;",50,50,"","Timer Boundary Interrupting Gateway",null,null,c+"timer boundary interrupting"),this.createVertexTemplateEntry(d+"outline=boundNonint;symbol=timer;",50,50,"","Timer Boundary Non-Interrupting Gateway",null,null,c+"timer boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline=eventInt;symbol=escalation;",50,50,"","Escalation Interrupting Gateway",null,null,c+"escalation interrupting"),this.createVertexTemplateEntry(d+"outline=eventNonint;symbol=escalation;", +50,50,"","Escalation Non-Interrupting Gateway",null,null,c+"escalation non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline=boundInt;symbol=escalation;",50,50,"","Escalation Boundary Interrupting Gateway",null,null,c+"escalation boundary interrupting"),this.createVertexTemplateEntry(d+"outline=boundNonint;symbol=escalation;",50,50,"","Escalation Boundary Non-Interrupting Gateway",null,null,c+"escalation boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(d+ +"outline=throwing;symbol=escalation;",50,50,"","Escalation Throwing Gateway",null,null,c+"escalation throwing"),this.createVertexTemplateEntry(d+"outline=end;symbol=escalation;",50,50,"","Escalation End Gateway",null,null,c+"escalation end"),this.createVertexTemplateEntry(d+"outline=standard;symbol=conditional;",50,50,"","Conditional Standard Gateway",null,null,c+"conditional standard"),this.createVertexTemplateEntry(d+"outline=eventInt;symbol=conditional;",50,50,"","Conditional Interrupting Gateway", +null,null,c+"conditional interrupting"),this.createVertexTemplateEntry(d+"outline=eventNonint;symbol=conditional;",50,50,"","Conditional Non-Interrupting Gateway",null,null,c+"conditional non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline=catching;symbol=conditional;",50,50,"","Conditional Catching Gateway",null,null,c+"conditional catching"),this.createVertexTemplateEntry(d+"outline=boundInt;symbol=conditional;",50,50,"","Conditional Boundary Interrupting Gateway",null, +null,c+"conditional boundary interrupting"),this.createVertexTemplateEntry(d+"outline=boundNonint;symbol=conditional;",50,50,"","Conditional Boundary Non-Interrupting Gateway",null,null,c+"conditional boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline=catching;symbol=link;",50,50,"","Link Catching Gateway",null,null,c+"link catching"),this.createVertexTemplateEntry(d+"outline=throwing;symbol=link;",50,50,"","Link Throwing Gateway",null,null,c+"link throwing"),this.createVertexTemplateEntry(d+ +"outline=eventInt;symbol=error;",50,50,"","Error Interrupting Gateway",null,null,c+"error interrupting"),this.createVertexTemplateEntry(d+"outline=boundInt;symbol=error;",50,50,"","Error Boundary Interrupting Gateway",null,null,c+"error boundary interrupting"),this.createVertexTemplateEntry(d+"outline=end;symbol=error;",50,50,"","Error End Gateway",null,null,c+"error end"),this.createVertexTemplateEntry(d+"outline=boundInt;symbol=cancel;",50,50,"","Cancel Boundary Interrupting Gateway",null,null, +c+"cancel boundary interrupting"),this.createVertexTemplateEntry(d+"outline=end;symbol=cancel;",50,50,"","Cancel End Gateway",null,null,c+"cancel end"),this.createVertexTemplateEntry(d+"outline=eventInt;symbol=compensation;",50,50,"","Compensation Interrupting Gateway",null,null,c+"compensation interrupting"),this.createVertexTemplateEntry(d+"outline=boundInt;symbol=compensation;",50,50,"","Compensation Boundary Interrupting Gateway",null,null,c+"compensation boundary interrupting"),this.createVertexTemplateEntry(d+ +"outline=throwing;symbol=compensation;",50,50,"","Compensation Throwing Gateway",null,null,c+"compensation throwing"),this.createVertexTemplateEntry(d+"outline=end;symbol=compensation;",50,50,"","Compensation End Gateway",null,null,c+"compensation end"),this.createVertexTemplateEntry(d+"outline=standard;symbol=signal;",50,50,"","Signal Standard Gateway",null,null,c+"signal standard"),this.createVertexTemplateEntry(d+"outline=eventInt;symbol=signal;",50,50,"","Signal Interrupting Gateway",null,null, +c+"signal interrupting"),this.createVertexTemplateEntry(d+"outline=eventNonint;symbol=signal;",50,50,"","Signal Non-Interrupting Gateway",null,null,c+"signal non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline=catching;symbol=signal;",50,50,"","Signal Catching Gateway",null,null,c+"signal catching"),this.createVertexTemplateEntry(d+"outline=boundInt;symbol=signal;",50,50,"","Signal Boundary Interrupting Gateway",null,null,c+"signal boundary interrupting"),this.createVertexTemplateEntry(d+ +"outline=boundNonint;symbol=signal;",50,50,"","Signal Boundary Non-Interrupting Gateway",null,null,c+"signal boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline=throwing;symbol=signal;",50,50,"","Signal Throwing Gateway",null,null,c+"signal throwing"),this.createVertexTemplateEntry(d+"outline=end;symbol=signal;",50,50,"","Signal End Gateway",null,null,c+"signal end"),this.createVertexTemplateEntry(d+"outline=standard;symbol=multiple;",50,50,"","Multiple Standard Gateway", +null,null,c+"multiple standard"),this.createVertexTemplateEntry(d+"outline=eventInt;symbol=multiple;",50,50,"","Multiple Interrupting Gateway",null,null,c+"multiple interrupting"),this.createVertexTemplateEntry(d+"outline=eventNonint;symbol=multiple;",50,50,"","Multiple Non-Interrupting Gateway",null,null,c+"multiple non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline=catching;symbol=multiple;",50,50,"","Multiple Catching Gateway",null,null,c+"multiple catching"),this.createVertexTemplateEntry(d+ +"outline=boundInt;symbol=multiple;",50,50,"","Multiple Boundary Interrupting Gateway",null,null,c+"multiple boundary interrupting"),this.createVertexTemplateEntry(d+"outline=boundNonint;symbol=multiple;",50,50,"","Multiple Boundary Non-Interrupting Gateway",null,null,c+"multiple boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline=throwing;symbol=multiple;",50,50,"","Multiple Throwing Gateway",null,null,c+"multiple throwing"),this.createVertexTemplateEntry(d+"outline=end;symbol=multiple;", +50,50,"","Multiple End Gateway",null,null,c+"multiple end"),this.createVertexTemplateEntry(d+"outline=standard;symbol=star;",50,50,"","Multiple Start Gateway",null,null,c+"multiple end"),this.createVertexTemplateEntry(d+"outline=standard;symbol=parallelMultiple;",50,50,"","Parallel Multiple Standard Gateway",null,null,c+"parallel multiple standard"),this.createVertexTemplateEntry(d+"outline=eventInt;symbol=parallelMultiple;",50,50,"","Parallel Multiple Interrupting Gateway",null,null,c+"parallel multiple interrupting"), +this.createVertexTemplateEntry(d+"outline=eventNonint;symbol=parallelMultiple;",50,50,"","Parallel Multiple Non-Interrupting Gateway",null,null,c+"parallel multiple non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline=catching;symbol=parallelMultiple;",50,50,"","Parallel Multiple Catching Gateway",null,null,c+"parallel multiple catching"),this.createVertexTemplateEntry(d+"outline=boundInt;symbol=parallelMultiple;",50,50,"","Parallel Multiple Boundary Interrupting Gateway", +null,null,c+"parallel multiple boundary interrupting"),this.createVertexTemplateEntry(d+"outline=boundNonint;symbol=parallelMultiple;",50,50,"","Parallel Multiple Boundary Non-Interrupting Gateway",null,null,c+"parallel multiple boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline=end;symbol=terminate;",50,50,"","Terminate Gateway",null,null,c+"terminate")]);d="shape=mxgraph.bpmn.shape;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;"; +c="bpmn business process model event ";this.addPaletteFunctions("bpmnEvents","BPMN Events",!1,[this.createVertexTemplateEntry(d+"outline=standard;symbol=general;",50,50,"","General Start",null,null,c+"general start"),this.createVertexTemplateEntry(d+"outline=throwing;symbol=general;",50,50,"","General Intermediate",null,null,c+"general intermediate"),this.createVertexTemplateEntry(d+"outline=end;symbol=general;",50,50,"","General End",null,null,c+"general end"),this.createVertexTemplateEntry(d+"outline=standard;symbol=message;", +50,50,"","Message Standard",null,null,c+"message standard"),this.createVertexTemplateEntry(d+"outline=eventInt;symbol=message;",50,50,"","Message Interrupting",null,null,c+"message interrupting"),this.createVertexTemplateEntry(d+"outline=eventNonint;symbol=message;",50,50,"","Message Non-Interrupting",null,null,c+"message non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline=catching;symbol=message;",50,50,"","Message Catching",null,null,c+"message catching"),this.createVertexTemplateEntry(d+ +"outline=boundInt;symbol=message;",50,50,"","Message Boundary Interrupting",null,null,c+"message boundary interrupting"),this.createVertexTemplateEntry(d+"outline=boundNonint;symbol=message;",50,50,"","Message Boundary Non-Interrupting",null,null,c+"message boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline=throwing;symbol=message;",50,50,"","Message Throwing",null,null,c+"message throwing"),this.createVertexTemplateEntry(d+"outline=end;symbol=message;",50,50,"", +"Message End",null,null,c+"message end"),this.createVertexTemplateEntry(d+"outline=standard;symbol=timer;",50,50,"","Timer Standard",null,null,c+"timer standard"),this.createVertexTemplateEntry(d+"outline=eventInt;symbol=timer;",50,50,"","Timer Interrupting",null,null,c+"timer interrupting"),this.createVertexTemplateEntry(d+"outline=eventNonint;symbol=timer;",50,50,"","Timer Non-Interrupting",null,null,c+"timer non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline=catching;symbol=timer;", +50,50,"","Timer Catching",null,null,c+"timer catching"),this.createVertexTemplateEntry(d+"outline=boundInt;symbol=timer;",50,50,"","Timer Boundary Interrupting",null,null,c+"timer boundary interrupting"),this.createVertexTemplateEntry(d+"outline=boundNonint;symbol=timer;",50,50,"","Timer Boundary Non-Interrupting",null,null,c+"timer boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline=eventInt;symbol=escalation;",50,50,"","Escalation Interrupting",null,null,c+"escalation interrupting"), +this.createVertexTemplateEntry(d+"outline=eventNonint;symbol=escalation;",50,50,"","Escalation Non-Interrupting",null,null,c+"escalation non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline=boundInt;symbol=escalation;",50,50,"","Escalation Boundary Interrupting",null,null,c+"escalation boundary interrupting"),this.createVertexTemplateEntry(d+"outline=boundNonint;symbol=escalation;",50,50,"","Escalation Boundary Non-Interrupting",null,null,c+"escalation boundary non interrupting nonimpterrupting"), +this.createVertexTemplateEntry(d+"outline=throwing;symbol=escalation;",50,50,"","Escalation Throwing",null,null,c+"escalation throwing"),this.createVertexTemplateEntry(d+"outline=end;symbol=escalation;",50,50,"","Escalation End",null,null,c+"escalation end"),this.createVertexTemplateEntry(d+"outline=standard;symbol=conditional;",50,50,"","Conditional Standard",null,null,c+"conditional standard"),this.createVertexTemplateEntry(d+"outline=eventInt;symbol=conditional;",50,50,"","Conditional Interrupting", +null,null,c+"conditional interrupting"),this.createVertexTemplateEntry(d+"outline=eventNonint;symbol=conditional;",50,50,"","Conditional Non-Interrupting",null,null,c+"conditional non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline=catching;symbol=conditional;",50,50,"","Conditional Catching",null,null,c+"conditional catching"),this.createVertexTemplateEntry(d+"outline=boundInt;symbol=conditional;",50,50,"","Conditional Boundary Interrupting",null,null,c+"conditional boundary interrupting"), +this.createVertexTemplateEntry(d+"outline=boundNonint;symbol=conditional;",50,50,"","Conditional Boundary Non-Interrupting",null,null,c+"conditional boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline=catching;symbol=link;",50,50,"","Link Catching",null,null,c+"link catching"),this.createVertexTemplateEntry(d+"outline=throwing;symbol=link;",50,50,"","Link Throwing",null,null,c+"link throwing"),this.createVertexTemplateEntry(d+"outline=eventInt;symbol=error;",50,50, +"","Error Interrupting",null,null,c+"error interrupting"),this.createVertexTemplateEntry(d+"outline=boundInt;symbol=error;",50,50,"","Error Boundary Interrupting",null,null,c+"error boundary interrupting"),this.createVertexTemplateEntry(d+"outline=end;symbol=error;",50,50,"","Error End",null,null,c+"error end"),this.createVertexTemplateEntry(d+"outline=boundInt;symbol=cancel;",50,50,"","Cancel Boundary Interrupting",null,null,c+"cancel boundary interrupting"),this.createVertexTemplateEntry(d+"outline=end;symbol=cancel;", +50,50,"","Cancel End",null,null,c+"cancel end"),this.createVertexTemplateEntry(d+"outline=eventInt;symbol=compensation;",50,50,"","Compensation Interrupting",null,null,c+"compensation interrupting"),this.createVertexTemplateEntry(d+"outline=boundInt;symbol=compensation;",50,50,"","Compensation Boundary Interrupting",null,null,c+"compensation boundary interrupting"),this.createVertexTemplateEntry(d+"outline=throwing;symbol=compensation;",50,50,"","Compensation Throwing",null,null,c+"compensation throwing"), +this.createVertexTemplateEntry(d+"outline=end;symbol=compensation;",50,50,"","Compensation End",null,null,c+"compensation end"),this.createVertexTemplateEntry(d+"outline=standard;symbol=signal;",50,50,"","Signal Standard",null,null,c+"signal standard"),this.createVertexTemplateEntry(d+"outline=eventInt;symbol=signal;",50,50,"","Signal Interrupting",null,null,c+"signal interrupting"),this.createVertexTemplateEntry(d+"outline=eventNonint;symbol=signal;",50,50,"","Signal Non-Interrupting",null,null, +c+"signal non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline=catching;symbol=signal;",50,50,"","Signal Catching",null,null,c+"signal catching"),this.createVertexTemplateEntry(d+"outline=boundInt;symbol=signal;",50,50,"","Signal Boundary Interrupting",null,null,c+"signal boundary interrupting"),this.createVertexTemplateEntry(d+"outline=boundNonint;symbol=signal;",50,50,"","Signal Boundary Non-Interrupting",null,null,c+"signal boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(d+ +"outline=throwing;symbol=signal;",50,50,"","Signal Throwing",null,null,c+"signal throwing"),this.createVertexTemplateEntry(d+"outline=end;symbol=signal;",50,50,"","Signal End",null,null,c+"signal end"),this.createVertexTemplateEntry(d+"outline=standard;symbol=multiple;",50,50,"","Multiple Standard",null,null,c+"multiple standard"),this.createVertexTemplateEntry(d+"outline=eventInt;symbol=multiple;",50,50,"","Multiple Interrupting",null,null,c+"multiple interrupting"),this.createVertexTemplateEntry(d+ +"outline=eventNonint;symbol=multiple;",50,50,"","Multiple Non-Interrupting",null,null,c+"multiple non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline=catching;symbol=multiple;",50,50,"","Multiple Catching",null,null,c+"multiple catching"),this.createVertexTemplateEntry(d+"outline=boundInt;symbol=multiple;",50,50,"","Multiple Boundary Interrupting",null,null,c+"multiple boundary interrupting"),this.createVertexTemplateEntry(d+"outline=boundNonint;symbol=multiple;",50,50,"", +"Multiple Boundary Non-Interrupting",null,null,c+"multiple boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(d+"outline=throwing;symbol=multiple;",50,50,"","Multiple Throwing",null,null,c+"multiple throwing"),this.createVertexTemplateEntry(d+"outline=end;symbol=multiple;",50,50,"","Multiple End",null,null,c+"multiple end"),this.createVertexTemplateEntry(d+"outline=standard;symbol=star;",50,50,"","Multiple Start",null,null,c+"multiple start"),this.createVertexTemplateEntry(d+ +"outline=standard;symbol=parallelMultiple;",50,50,"","Parallel Multiple Standard",null,null,c+"parallel multiple standard"),this.createVertexTemplateEntry(d+"outline=eventInt;symbol=parallelMultiple;",50,50,"","Parallel Multiple Interrupting",null,null,c+"parallel multiple interrupting"),this.createVertexTemplateEntry(d+"outline=eventNonint;symbol=parallelMultiple;",50,50,"","Parallel Multiple Non-Interrupting",null,null,c+"parallel multiple non interrupting noninterrupting"),this.createVertexTemplateEntry(d+ +"outline=catching;symbol=parallelMultiple;",50,50,"","Parallel Multiple Catching",null,null,c+"parallel multiple catching"),this.createVertexTemplateEntry(d+"outline=boundInt;symbol=parallelMultiple;",50,50,"","Parallel Multiple Boundary Interrupting",null,null,c+"parallel multiple boundary interrupting"),this.createVertexTemplateEntry(d+"outline=boundNonint;symbol=parallelMultiple;",50,50,"","Parallel Multiple Boundary Non-Interrupting",null,null,c+"parallel multiple boundary non interrupting"), +this.createVertexTemplateEntry(d+"outline=end;symbol=terminate;",50,50,"","Terminate",null,null,c+"terminate")])}})();(function(){Sidebar.prototype.addCabinetsPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;dashed=0;shadow=0;html=1;align=center;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;shape=mxgraph.cabinets.",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=middle;dashed=0;shadow=0;html=1;shape=mxgraph.cabinets.",e=this,d=[this.createVertexTemplateEntry(a+"cabinet;hasStand=1",250,500,"","Cabinet",null,null,this.getTagsForStencil("mxgraph.cabinets","cabinet","cabinet ").join(" ")),this.createVertexTemplateEntry(b+ "dimension;verticalAlign=top;align=center;",250,40,"100","Dimension",null,null,this.getTagsForStencil("mxgraph.cabinets","dimension","cabinet ").join(" ")),this.createVertexTemplateEntry(b+"dimensionBottom;verticalAlign=bottom;align=center;",250,40,"100","Dimension",null,null,this.getTagsForStencil("mxgraph.cabinets","dimensionBottom","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"coverPlate",50*4.4,125,"","Cover Plate",null,null,this.getTagsForStencil("mxgraph.cabinets","coverPlate","cabinet ").join(" ")), this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;",50*4.4,12.5,"25x40","Panel Wiring System 25x40mm",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;",50*4.4,20,"40x40","Panel Wiring System 40x40mm",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;", 50*4.4,30,"60x40","Panel Wiring System 60x40mm",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;",50*4.4,40,"80x40","Panel Wiring System 80x40mm",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;",50*4.4,50,"100x40","Panel Wiring System 100x40mm", null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;rotation=270",350,12.5,"25x40","Panel Wiring System 25x40mm (Vertical)",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;rotation=270",350,20,"40x40","Panel Wiring System 40x40mm (Vertical)", null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;rotation=270",350,30,"60x40","Panel Wiring System 60x40mm (Vertical)",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;rotation=270",350,40,"80x40","Panel Wiring System 80x40mm (Vertical)", null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry("shape=rect;dashed=0;shadow=0;html=1;whiteSpace=wrap;rotation=270",350,50,"100x40","Panel Wiring System 100x40mm (Vertical)",null,null,this.getTagsForStencil("mxgraph.cabinets","","cabinet panel wiring system").join(" ")),this.createVertexTemplateEntry(a+"cb_1p;",9,50,"","Circuit Breaker (1P)",null,null,this.getTagsForStencil("mxgraph.cabinets","cb_1p","cabinet ").join(" ")), -this.addEntry("cabinet circuit breaker row",function(){var c=new mxCell("",new mxGeometry(0,0,9,50),a+"cb_1p;");c.vertex=!0;var b=new mxCell("",new mxGeometry(9,0,9,50),a+"cb_1p;");b.vertex=!0;var g=new mxCell("",new mxGeometry(18,0,9,50),a+"cb_1p;");g.vertex=!0;var h=new mxCell("",new mxGeometry(27,0,9,50),a+"cb_1p;");h.vertex=!0;var k=new mxCell("",new mxGeometry(36,0,9,50),a+"cb_1p;");k.vertex=!0;var l=new mxCell("",new mxGeometry(45,0,9,50),a+"cb_1p;");l.vertex=!0;var m=new mxCell("",new mxGeometry(54, -0,9,50),a+"cb_1p;");m.vertex=!0;var q=new mxCell("",new mxGeometry(63,0,9,50),a+"cb_1p;");q.vertex=!0;var r=new mxCell("",new mxGeometry(72,0,9,50),a+"cb_1p;");r.vertex=!0;var n=new mxCell("",new mxGeometry(81,0,9,50),a+"cb_1p;");n.vertex=!0;return e.createVertexTemplateFromCells([c,b,g,h,k,l,m,q,r,n],90,50,"Circuit Breaker (1P x 10)")}),this.createVertexTemplateEntry(a+"cb_2p;",18,50,"","Circuit Breaker (2P)",null,null,this.getTagsForStencil("mxgraph.cabinets","cb_2p","cabinet ").join(" ")),this.addEntry("cabinet circuit breaker row", -function(){var c=new mxCell("",new mxGeometry(0,0,18,50),a+"cb_2p;");c.vertex=!0;var b=new mxCell("",new mxGeometry(18,0,18,50),a+"cb_2p;");b.vertex=!0;var g=new mxCell("",new mxGeometry(36,0,18,50),a+"cb_2p;");g.vertex=!0;var h=new mxCell("",new mxGeometry(54,0,18,50),a+"cb_2p;");h.vertex=!0;var k=new mxCell("",new mxGeometry(72,0,18,50),a+"cb_2p;");k.vertex=!0;var l=new mxCell("",new mxGeometry(90,0,18,50),a+"cb_2p;");l.vertex=!0;var m=new mxCell("",new mxGeometry(108,0,18,50),a+"cb_2p;");m.vertex= -!0;var q=new mxCell("",new mxGeometry(126,0,18,50),a+"cb_2p;");q.vertex=!0;var r=new mxCell("",new mxGeometry(144,0,18,50),a+"cb_2p;");r.vertex=!0;var n=new mxCell("",new mxGeometry(162,0,18,50),a+"cb_2p;");n.vertex=!0;return e.createVertexTemplateFromCells([c,b,g,h,k,l,m,q,r,n],180,50,"Circuit Breaker (2P x 10)")}),this.createVertexTemplateEntry(a+"cb_3p;",27,50,"","Circuit Breaker (3P)",null,null,this.getTagsForStencil("mxgraph.cabinets","cb_3p","cabinet ").join(" ")),this.addEntry("cabinet circuit breaker row", -function(){var c=new mxCell("",new mxGeometry(0,0,27,50),a+"cb_3p;");c.vertex=!0;var b=new mxCell("",new mxGeometry(27,0,27,50),a+"cb_3p;");b.vertex=!0;var g=new mxCell("",new mxGeometry(54,0,27,50),a+"cb_3p;");g.vertex=!0;var h=new mxCell("",new mxGeometry(81,0,27,50),a+"cb_3p;");h.vertex=!0;var k=new mxCell("",new mxGeometry(108,0,27,50),a+"cb_3p;");k.vertex=!0;return e.createVertexTemplateFromCells([c,b,g,h,k],135,50,"Circuit Breaker (3P x 5)")}),this.createVertexTemplateEntry(a+"cb_4p;",36,50, -"","Circuit Breaker (4P)",null,null,this.getTagsForStencil("mxgraph.cabinets","cb_4p","cabinet ").join(" ")),this.addEntry("cabinet circuit breaker row",function(){var c=new mxCell("",new mxGeometry(0,0,36,50),a+"cb_4p;");c.vertex=!0;var b=new mxCell("",new mxGeometry(36,0,36,50),a+"cb_4p;");b.vertex=!0;var g=new mxCell("",new mxGeometry(72,0,36,50),a+"cb_4p;");g.vertex=!0;var h=new mxCell("",new mxGeometry(108,0,36,50),a+"cb_4p;");h.vertex=!0;var k=new mxCell("",new mxGeometry(144,0,36,50),a+"cb_4p;"); -k.vertex=!0;return e.createVertexTemplateFromCells([c,b,g,h,k],180,50,"Circuit Breaker (4P x 5)")}),this.createVertexTemplateEntry(a+"cb_auxiliary_contact;",4.5,50,"","Auxiliary Contact (Circuit Breaker)",null,null,this.getTagsForStencil("mxgraph.cabinets","cb_auxiliary_contact","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"contactor_1_32a;",27,43,"","Contactor (1-32A)",null,null,this.getTagsForStencil("mxgraph.cabinets","contactor_1_32a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+ +this.addEntry("cabinet circuit breaker row",function(){var d=new mxCell("",new mxGeometry(0,0,9,50),a+"cb_1p;");d.vertex=!0;var b=new mxCell("",new mxGeometry(9,0,9,50),a+"cb_1p;");b.vertex=!0;var g=new mxCell("",new mxGeometry(18,0,9,50),a+"cb_1p;");g.vertex=!0;var h=new mxCell("",new mxGeometry(27,0,9,50),a+"cb_1p;");h.vertex=!0;var k=new mxCell("",new mxGeometry(36,0,9,50),a+"cb_1p;");k.vertex=!0;var l=new mxCell("",new mxGeometry(45,0,9,50),a+"cb_1p;");l.vertex=!0;var m=new mxCell("",new mxGeometry(54, +0,9,50),a+"cb_1p;");m.vertex=!0;var q=new mxCell("",new mxGeometry(63,0,9,50),a+"cb_1p;");q.vertex=!0;var r=new mxCell("",new mxGeometry(72,0,9,50),a+"cb_1p;");r.vertex=!0;var n=new mxCell("",new mxGeometry(81,0,9,50),a+"cb_1p;");n.vertex=!0;return e.createVertexTemplateFromCells([d,b,g,h,k,l,m,q,r,n],90,50,"Circuit Breaker (1P x 10)")}),this.createVertexTemplateEntry(a+"cb_2p;",18,50,"","Circuit Breaker (2P)",null,null,this.getTagsForStencil("mxgraph.cabinets","cb_2p","cabinet ").join(" ")),this.addEntry("cabinet circuit breaker row", +function(){var d=new mxCell("",new mxGeometry(0,0,18,50),a+"cb_2p;");d.vertex=!0;var b=new mxCell("",new mxGeometry(18,0,18,50),a+"cb_2p;");b.vertex=!0;var g=new mxCell("",new mxGeometry(36,0,18,50),a+"cb_2p;");g.vertex=!0;var h=new mxCell("",new mxGeometry(54,0,18,50),a+"cb_2p;");h.vertex=!0;var k=new mxCell("",new mxGeometry(72,0,18,50),a+"cb_2p;");k.vertex=!0;var l=new mxCell("",new mxGeometry(90,0,18,50),a+"cb_2p;");l.vertex=!0;var m=new mxCell("",new mxGeometry(108,0,18,50),a+"cb_2p;");m.vertex= +!0;var q=new mxCell("",new mxGeometry(126,0,18,50),a+"cb_2p;");q.vertex=!0;var r=new mxCell("",new mxGeometry(144,0,18,50),a+"cb_2p;");r.vertex=!0;var n=new mxCell("",new mxGeometry(162,0,18,50),a+"cb_2p;");n.vertex=!0;return e.createVertexTemplateFromCells([d,b,g,h,k,l,m,q,r,n],180,50,"Circuit Breaker (2P x 10)")}),this.createVertexTemplateEntry(a+"cb_3p;",27,50,"","Circuit Breaker (3P)",null,null,this.getTagsForStencil("mxgraph.cabinets","cb_3p","cabinet ").join(" ")),this.addEntry("cabinet circuit breaker row", +function(){var d=new mxCell("",new mxGeometry(0,0,27,50),a+"cb_3p;");d.vertex=!0;var b=new mxCell("",new mxGeometry(27,0,27,50),a+"cb_3p;");b.vertex=!0;var g=new mxCell("",new mxGeometry(54,0,27,50),a+"cb_3p;");g.vertex=!0;var h=new mxCell("",new mxGeometry(81,0,27,50),a+"cb_3p;");h.vertex=!0;var k=new mxCell("",new mxGeometry(108,0,27,50),a+"cb_3p;");k.vertex=!0;return e.createVertexTemplateFromCells([d,b,g,h,k],135,50,"Circuit Breaker (3P x 5)")}),this.createVertexTemplateEntry(a+"cb_4p;",36,50, +"","Circuit Breaker (4P)",null,null,this.getTagsForStencil("mxgraph.cabinets","cb_4p","cabinet ").join(" ")),this.addEntry("cabinet circuit breaker row",function(){var d=new mxCell("",new mxGeometry(0,0,36,50),a+"cb_4p;");d.vertex=!0;var b=new mxCell("",new mxGeometry(36,0,36,50),a+"cb_4p;");b.vertex=!0;var g=new mxCell("",new mxGeometry(72,0,36,50),a+"cb_4p;");g.vertex=!0;var h=new mxCell("",new mxGeometry(108,0,36,50),a+"cb_4p;");h.vertex=!0;var k=new mxCell("",new mxGeometry(144,0,36,50),a+"cb_4p;"); +k.vertex=!0;return e.createVertexTemplateFromCells([d,b,g,h,k],180,50,"Circuit Breaker (4P x 5)")}),this.createVertexTemplateEntry(a+"cb_auxiliary_contact;",4.5,50,"","Auxiliary Contact (Circuit Breaker)",null,null,this.getTagsForStencil("mxgraph.cabinets","cb_auxiliary_contact","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"contactor_1_32a;",27,43,"","Contactor (1-32A)",null,null,this.getTagsForStencil("mxgraph.cabinets","contactor_1_32a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+ "auxiliary_contact_contactor_1_32a;",4.5,43,"","Auxiliary Contact (Contactor 1-32A)",null,null,this.getTagsForStencil("mxgraph.cabinets","auxiliary_contact_contactor_1_32a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"contactor_32_125a;",30,50,"","Contactor 32 to 125A",null,null,this.getTagsForStencil("mxgraph.cabinets","contactor_32_125a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"auxiliary_contact_contactor_32_125a;",4.5,50,"","Auxiliary Contact (Contactor 32-125A)",null, null,this.getTagsForStencil("mxgraph.cabinets","auxiliary_contact_contactor_32_125a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"contactor_125_400a;",50*1.1,90,"","Contactor 125 to 400A",null,null,this.getTagsForStencil("mxgraph.cabinets","contactor_125_400a","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"distribution_block_4p_125a_11_connections;",100,60,"","Distribution Block 4P 125A 11 Connections",null,null,this.getTagsForStencil("mxgraph.cabinets","distribution_block_4p_125a_11_connections", "cabinet ").join(" ")),this.createVertexTemplateEntry(a+"distribution_block_4p_125a_11_connections_2;",100,50,"","Distribution Block 4P 125A 11 Connections",null,null,this.getTagsForStencil("mxgraph.cabinets","distribution_block_4p_125a_11_connections_2","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"mccb_25_63a_3p;",60,90,"","MCCB 25-63A 3P",null,null,this.getTagsForStencil("mxgraph.cabinets","mccb_25_63a_3p","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"mccb_25_63a_4p;",80, @@ -4868,7 +4868,7 @@ null,null,this.getTagsForStencil("mxgraph.cabinets","surge_protection_3p","cabin 25,25,"","Terminal 4mm2 x10",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_4mm2_x10","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_4_6mm2;",2.5,30,"","Terminal 4-6mm2",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_4_6mm2","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_4_6mm2_x10;",25,30,"","Terminal 4-6mm2 x10",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_4_6mm2_x10","cabinet ").join(" ")),this.createVertexTemplateEntry(a+ "terminal_6_25mm2;",5,37.5,"","Terminal 6-25mm2",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_6_25mm2","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_6_25mm2_x10;",50,37.5,"","Terminal 6-25mm2 x10",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_6_25mm2_x10","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_40mm2;",11,50,"","Terminal 40mm2",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_40mm2","cabinet ").join(" ")), this.createVertexTemplateEntry(a+"terminal_40mm2_x10;",50*2.2,50,"","Terminal 40mm2 x10",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_40mm2_x10","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_50mm2;",12.5,50*1.1,"","Terminal 50mm2",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_50mm2","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_50mm2_x10;",125,50*1.1,"","Terminal 50mm2 x10",null,null,this.getTagsForStencil("mxgraph.cabinets", -"terminal_50mm2_x10","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_75mm2;",15,70,"","Terminal 75mm2",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_75mm2","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_75mm2_x10;",150,70,"","Terminal 75mm2 x10",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_75mm2_x10","cabinet ").join(" "))];this.addPalette("cabinets",mxResources.get("cabinets"),!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))}})();(function(){Sidebar.prototype.addCiscoSafePalette=function(){this.addCiscoSafeArchitecturePalette();this.addCiscoSafeCapabilityPalette();this.addCiscoSafeDesignPalette();this.addCiscoSafeThreatPalette()};Sidebar.prototype.addCiscoSafeArchitecturePalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;fillColor=#6ABD46;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;align=center;points=[[0.06,0.06,0],[0.94,0.06,0],[0.94,0.94,0],[0.06,0.94,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];pointerEvents=1;shape=mxgraph.cisco_safe.architecture."; +"terminal_50mm2_x10","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_75mm2;",15,70,"","Terminal 75mm2",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_75mm2","cabinet ").join(" ")),this.createVertexTemplateEntry(a+"terminal_75mm2_x10;",150,70,"","Terminal 75mm2 x10",null,null,this.getTagsForStencil("mxgraph.cabinets","terminal_75mm2_x10","cabinet ").join(" "))];this.addPalette("cabinets",mxResources.get("cabinets"),!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))}})();(function(){Sidebar.prototype.addCiscoSafePalette=function(){this.addCiscoSafeArchitecturePalette();this.addCiscoSafeCapabilityPalette();this.addCiscoSafeDesignPalette();this.addCiscoSafeThreatPalette()};Sidebar.prototype.addCiscoSafeArchitecturePalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;fillColor=#6ABD46;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;align=center;points=[[0.06,0.06,0],[0.94,0.06,0],[0.94,0.94,0],[0.06,0.94,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];pointerEvents=1;shape=mxgraph.cisco_safe.architecture."; this.addPaletteFunctions("cisco_safeArchitecture","Cisco Safe / Architecture",!1,[this.createVertexTemplateEntry(a+"aci_controller;",50,50,"","ACI Controller",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","aci controller","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"aci_leaf_switch;",50,50,"","ACI Leaf Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","aci leaf switch","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+ "aci_spine_switch;",50,50,"","ACI Spine Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","aci spine switch","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"adaptive_security_appliance;",50,50,"","Adaptive Security Appliance",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","adaptive security appliance","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"automated_system;",50,50,"","Automated System",null,null, this.getTagsForStencil("mxgraph.cisco_safe.architecture","automated system","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"blade_server;",50,50,"","Blade Server",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","blade server","cisco safe architecture").join(" ")),this.createVertexTemplateEntry(a+"catalyst_switch;",50,50,"","Catalyst Switch",null,null,this.getTagsForStencil("mxgraph.cisco_safe.architecture","catalyst switch","cisco safe architecture").join(" ")), @@ -4984,14 +4984,14 @@ null,null,this.getTagsForStencil("mxgraph.citrix","Role Synchronizer","").join(" 100,100,"","Virtual",null,"cumulusvirtual"),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/netq_agent.svg;",18,18,"","NetQ Agent",!1,null,this.getTagsForStencil(" ","netq agent","cumulus").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/netq_telemetry_server.svg;", 96,24,"","NetQ Telemetry Server",!1,null,this.getTagsForStencil(" ","netq telemetry server","cumulus").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/netq_server.svg;",96,20,"","NetQ Server",!1,null,this.getTagsForStencil(" ","netq server","cumulus").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;image;image=img/lib/cumulus/internet.svg;labelPosition=center;verticalLabelPosition=middle;verticalAlign=middle;fontSize=14;fontColor=#36424A;", 274,98,"Internet","Internet",!0,null,this.getTagsForStencil(" ","internet","cumulus").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/container.svg;",90,80,"","Container",!0,null,this.getTagsForStencil(" ","container","cumulus").join(" ")),this.addEntry("cumuluspbr switch",function(){var b=new mxCell("swp51",new mxGeometry(0,0,60,24),"rounded=0;whiteSpace=wrap;html=1;fillColor=#FB9F41;strokeColor=none;fontColor=#FFFFFF;"); -b.vertex=!0;var c=new mxCell("PBR",new mxGeometry(60,0,60,24),"text;verticalAlign=middle;align=center;fontColor=#FB9F41;fontStyle=1");c.vertex=!0;return a.createVertexTemplateFromCells([b,c],120,24,"Package Diagram")}),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/ddos_server.svg;",96,20,"192.168.0.32","DDos Server",!0,null,this.getTagsForStencil(" ","ddos server", +b.vertex=!0;var d=new mxCell("PBR",new mxGeometry(60,0,60,24),"text;verticalAlign=middle;align=center;fontColor=#FB9F41;fontStyle=1");d.vertex=!0;return a.createVertexTemplateFromCells([b,d],120,24,"Package Diagram")}),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/ddos_server.svg;",96,20,"192.168.0.32","DDos Server",!0,null,this.getTagsForStencil(" ","ddos server", "cumulus").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/switch.svg;",96,20,"","Switch",!0,null,this.getTagsForStencil(" ","switch","cumulus").join(" ")),this.createVertexTemplateEntry("aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;fontSize=12;verticalAlign=top;fontColor=#364149;shadow=0;dashed=0;image;image=img/lib/cumulus/limed_spruce.svg;", 300,68,"","Limed Spruce",!1,null,this.getTagsForStencil(" ","limed spruce","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#36424A;strokeColor=none;",50,50,"","Limited Spruce",!0,null,this.getTagsForStencil(" ","color limited spruce","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#515D68;strokeColor=none;",50,50,"","Nevada",!0,null,this.getTagsForStencil(" ","color nevada","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#6E7B86;strokeColor=none;",50, 50,"","Rolling Stone",!0,null,this.getTagsForStencil(" ","color rolling stone","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#8C9AA6;strokeColor=none;",50,50,"","Gray Chateau",!0,null,this.getTagsForStencil(" ","color gray chateau","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#AEB8C3;strokeColor=none;",50,50,"","Cadet Blue",!0,null,this.getTagsForStencil(" ","color cadet blue","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#D2D6DF;strokeColor=none;", 50,50,"","Heather",!0,null,this.getTagsForStencil(" ","color heather","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#EAEDF2;strokeColor=none;",50,50,"","Athens Gray",!0,null,this.getTagsForStencil(" ","color athens gray","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#7CCC6C;strokeColor=none;",50,50,"","Mantis",!0,null,this.getTagsForStencil(" ","color mantis","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#4BC05B;strokeColor=none;",50,50,"","Fern", !0,null,this.getTagsForStencil(" ","color fern","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#00AD69;strokeColor=none;",50,50,"","Jade",!0,null,this.getTagsForStencil(" ","color jade","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#009271;strokeColor=none;",50,50,"","Observatory",!0,null,this.getTagsForStencil(" ","color observatory","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#FFC82E;strokeColor=none;",50,50,"","Energy Jellow",!0,null,this.getTagsForStencil(" ", "color energy jellow","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#FFA12D;strokeColor=none;",50,50,"","Neon Carrot",!0,null,this.getTagsForStencil(" ","color neon carrot","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#F1446F;strokeColor=none;",50,50,"","Radical Red",!0,null,this.getTagsForStencil(" ","color radical red","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#83389B;strokeColor=none;",50,50,"","Rarity",!0,null,this.getTagsForStencil(" ", -"color rarity","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#1EB5BD;strokeColor=none;",50,50,"","Seagull",!0,null,this.getTagsForStencil(" ","color seagull","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#78CDD1;strokeColor=none;",50,50,"","Half Baked",!0,null,this.getTagsForStencil(" ","color half baked","cumulus").join(" "))];this.addPalette("cumulus","Cumulus",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))}})();(function(){Sidebar.prototype.addDFDPalette=function(){this.addPaletteFunctions("dfd","Data Flow Diagram",!1,[this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;shape=mxgraph.dfd.start",80,30,"","Start / End",null,null,this.getTagsForStencil("mxgraph.flowchart","start end","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;",100,50,"","Activity / Process / Entity / External Interactor",null,null,this.getTagsForStencil("mxgraph.flowchart", +"color rarity","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#1EB5BD;strokeColor=none;",50,50,"","Seagull",!0,null,this.getTagsForStencil(" ","color seagull","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#78CDD1;strokeColor=none;",50,50,"","Half Baked",!0,null,this.getTagsForStencil(" ","color half baked","cumulus").join(" "))];this.addPalette("cumulus","Cumulus",!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))}})();(function(){Sidebar.prototype.addDFDPalette=function(){this.addPaletteFunctions("dfd","Data Flow Diagram",!1,[this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;shape=mxgraph.dfd.start",80,30,"","Start / End",null,null,this.getTagsForStencil("mxgraph.flowchart","start end","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;",100,50,"","Activity / Process / Entity / External Interactor",null,null,this.getTagsForStencil("mxgraph.flowchart", "activity process entity external interactor","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=rhombus;html=1;dashed=0;whitespace=wrap;perimeter=rhombusPerimeter;",60,50,"","Decision / Entity Relationship",null,null,this.getTagsForStencil("mxgraph.flowchart","decision entity relationship","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;dashed=0;whitespace=wrap;aspect=fixed;perimeter=ellipsePerimeter;",30,30,"","Reference",null,null, this.getTagsForStencil("mxgraph.flowchart","reference","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;dashed=0;",100,50,"","Product / Result",null,null,this.getTagsForStencil("mxgraph.flowchart","product result","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=manualInput;whiteSpace=wrap;html=1;dashed=0;size=15;",100,50,"","Order / Command",null,null,this.getTagsForStencil("mxgraph.flowchart", "order command","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=document;whiteSpace=wrap;html=1;boundedLbl=1;dashed=0;flipH=1;",100,70,"","Information / Data Carrier / SOP",null,null,this.getTagsForStencil("mxgraph.flowchart","information data carrier sop","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("triangle;whiteSpace=wrap;html=1;dashed=0;direction=south;",60,60,"","Information/Data Carrier/SOP / Stop State",null,null,this.getTagsForStencil("mxgraph.flowchart", @@ -5004,13 +5004,13 @@ null,null,this.getTagsForStencil("mxgraph.flowchart","data store","dfd data flow "dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=cylinder;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;",60,80,"","Data Store",null,null,this.getTagsForStencil("mxgraph.flowchart","data store","dfd data flow diagram ").join(" ")),this.addEntry("dfd data flow diagram external entity",function(){var a=new mxCell("",new mxGeometry(0,0,100,100),"html=1;dashed=0;whitespace=wrap;shape=mxgraph.dfd.externalEntity");a.vertex=!0;var b=new mxCell("Id",new mxGeometry(0,0, 20,20),"autosize=1;part=1;resizable=0;strokeColor=inherit;fillColor=inherit;gradientColor=inherit;");b.geometry.relative=!0;b.geometry.offset=new mxPoint(15,15);b.vertex=!0;a.insert(b);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"External Entity")}),this.createVertexTemplateEntry("html=1;dashed=0;whitespace=wrap;shape=mxgraph.dfd.loop",80,30,"","Loop",null,null,this.getTagsForStencil("mxgraph.flowchart","loop","dfd data flow diagram ").join(" ")),this.createEdgeTemplateEntry("endArrow=classic;html=1;", 50,50,"","Directional Connector",null,"dfd data flow diagram directional directed")])}})();(function(){Sidebar.prototype.addEipMessageConstructionPalette=function(a){var b=this,e=[this.createEdgeTemplateEntry("edgeStyle=none;html=1;strokeColor=#808080;endArrow=block;endSize=10;dashed=0;verticalAlign=bottom;strokeWidth=2;",160,0,"","Pipe",null,this.getTagsForStencil("mxgraph.eip","","eip enterprise integration pattern message construction pipe").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;", -150,90,"","Filter",null,null,this.getTagsForStencil("mxgraph.eip","","eip enterprise integration pattern message construction filter").join(" ")),this.addEntry("eip enterprise integration pattern message construction command message",function(){var a=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");a.vertex=!0;var d=new mxCell("C",new mxGeometry(16,18,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;fillColor=#FF8080;fontStyle=1;"); -d.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;");f.geometry.relative=!0;f.edge=!0;a.insertEdge(f,!1);d.insertEdge(f,!0);return b.createVertexTemplateFromCells([f,a,d],28,30,"Command Message")}),this.addDataEntry("eip enterprise integration pattern message construction correlation identifier",78,30,"Correlation Identifier","5ZZLT8JAEIB/Ta+mDwv1KAicTEw8qMeVDu2GpUO2ixZ/vbPdAVorilExkTZN5rEznf1mtqkXDRfVRItlfo0pKC8aedFQIxonLaohKOWFvky96MoLQ58eLxzv8Qa1118KDYU5JCB0AU9CrcBZnKE0a8UGSDO4ZRW1yTHDQqjRzjrQuCpSsBl90qCS5r4hP1j5LLZakV5qjc9kKLCwkako821gbha0/6uAxNJonMMQFeq6iCjx7b313MnU5OQJyeIKtlW2GJS40lM29ZzJCJ0BY4m7pOpAxjQBXIDRa1qiQQkjn9rZRenUbLtuB5kE5vw+8+gkmCdd5v2/Y35+APMdqUeF03mbDnnHUrVZNYl06I3HF4RwD6ifRMChNygpY+hXvGEe8HXrBGziXaM4pPl5eJMl6H+UxfW2k6XuxXYnB7Un/rw9XeStQRZKZgXJU+IK1ILBDAtzK19sdGL7k4ullem9clnaczCjdu6f9o2HDw3XB9pA9dVOPnPNdgXvKweZ5aZt+8549zr8Ln8LoIap6dLjaX/nHPj1tcnH5QSsN9bN6uubqDcBvdbYBnwMj9CI/n8eZA6I/aPhTDo4B6c8171jzTWpu39Q9z1v/qK+Ag=="), -this.addEntry("eip enterprise integration pattern message construction document message",function(){var a=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");a.vertex=!0;var d=new mxCell("D",new mxGeometry(16,18,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;fillColor=#C7A0FF;fontStyle=1;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;"); -f.geometry.relative=!0;f.edge=!0;a.insertEdge(f,!1);d.insertEdge(f,!0);return b.createVertexTemplateFromCells([f,a,d],28,30,"Document Message")}),this.addEntry("eip enterprise integration pattern message construction event message",function(){var a=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");a.vertex=!0;var d=new mxCell("E",new mxGeometry(16,18,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;fillColor=#83BEFF;fontStyle=1;"); -d.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;");f.geometry.relative=!0;f.edge=!0;a.insertEdge(f,!1);d.insertEdge(f,!0);return b.createVertexTemplateFromCells([f,a,d],28,30,"Event Message")}),this.createVertexTemplateEntry("strokeWidth=3;outlineConnect=0;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.messExp;html=1;verticalLabelPosition=bottom;verticalAlign=top", +150,90,"","Filter",null,null,this.getTagsForStencil("mxgraph.eip","","eip enterprise integration pattern message construction filter").join(" ")),this.addEntry("eip enterprise integration pattern message construction command message",function(){var a=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");a.vertex=!0;var c=new mxCell("C",new mxGeometry(16,18,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;fillColor=#FF8080;fontStyle=1;"); +c.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;");f.geometry.relative=!0;f.edge=!0;a.insertEdge(f,!1);c.insertEdge(f,!0);return b.createVertexTemplateFromCells([f,a,c],28,30,"Command Message")}),this.addDataEntry("eip enterprise integration pattern message construction correlation identifier",78,30,"Correlation Identifier","5ZZLT8JAEIB/Ta+mDwv1KAicTEw8qMeVDu2GpUO2ixZ/vbPdAVorilExkTZN5rEznf1mtqkXDRfVRItlfo0pKC8aedFQIxonLaohKOWFvky96MoLQ58eLxzv8Qa1118KDYU5JCB0AU9CrcBZnKE0a8UGSDO4ZRW1yTHDQqjRzjrQuCpSsBl90qCS5r4hP1j5LLZakV5qjc9kKLCwkako821gbha0/6uAxNJonMMQFeq6iCjx7b313MnU5OQJyeIKtlW2GJS40lM29ZzJCJ0BY4m7pOpAxjQBXIDRa1qiQQkjn9rZRenUbLtuB5kE5vw+8+gkmCdd5v2/Y35+APMdqUeF03mbDnnHUrVZNYl06I3HF4RwD6ifRMChNygpY+hXvGEe8HXrBGziXaM4pPl5eJMl6H+UxfW2k6XuxXYnB7Un/rw9XeStQRZKZgXJU+IK1ILBDAtzK19sdGL7k4ullem9clnaczCjdu6f9o2HDw3XB9pA9dVOPnPNdgXvKweZ5aZt+8549zr8Ln8LoIap6dLjaX/nHPj1tcnH5QSsN9bN6uubqDcBvdbYBnwMj9CI/n8eZA6I/aPhTDo4B6c8171jzTWpu39Q9z1v/qK+Ag=="), +this.addEntry("eip enterprise integration pattern message construction document message",function(){var a=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");a.vertex=!0;var c=new mxCell("D",new mxGeometry(16,18,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;fillColor=#C7A0FF;fontStyle=1;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;"); +f.geometry.relative=!0;f.edge=!0;a.insertEdge(f,!1);c.insertEdge(f,!0);return b.createVertexTemplateFromCells([f,a,c],28,30,"Document Message")}),this.addEntry("eip enterprise integration pattern message construction event message",function(){var a=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");a.vertex=!0;var c=new mxCell("E",new mxGeometry(16,18,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;fillColor=#83BEFF;fontStyle=1;"); +c.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;");f.geometry.relative=!0;f.edge=!0;a.insertEdge(f,!1);c.insertEdge(f,!0);return b.createVertexTemplateFromCells([f,a,c],28,30,"Event Message")}),this.createVertexTemplateEntry("strokeWidth=3;outlineConnect=0;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.messExp;html=1;verticalLabelPosition=bottom;verticalAlign=top", 48,48,"","Message Expiration",null,null,this.getTagsForStencil("mxgraph.eip","","eip enterprise integration pattern message construction message expiration").join(" ")),this.addDataEntry("eip enterprise integration pattern message construction message sequence",60,24,"Message Sequence","5VVdb4MgFP01vKtY4+vKZp+WLNnDnpneKSmKQWp1v34gtKWhXfawNPswMbn33A+45xBAmLTTRtK+eRQVcIQfECZSCGWtdiLAOUoiViF8j5Ik0j9KiivReIlGPZXQqa8UJLZgpHwHFrHAoGbugHInRzDpMcJr6Ko7KcVeu69clFsNNarlLjooKbZABBdyqcUxIUUUHSMvrFKNjiS20zN7N2tg7dlVoarhbJBB7GTpoJWFFJU1uNnScNyl0M26AdGCkrNOkcCpYuN5dzpYtz7muVI9Ip29hF6wTg1e5ycD6ITJ9ct9krVhGxw8bycnaBHisij494iShaKsfogoafKtoqSBKHGgSkhoRYdm0cnwTTmrO22XmhjQYqzfRKcc37nRo6G9sSWUykQZ555seVQUGbkkaLR8h35uO/FRwBGkgglduyCuiDO7qDt7ezeUBzXA6kadY5fU8yT4lOFVwHB47v8Sw67gcLJuT3gWEI7/A+FpfiPCtXt6ye2V4z/0Hw=="), -this.createVertexTemplateEntry("strokeWidth=3;outlineConnect=0;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.retAddr;html=1;verticalLabelPosition=bottom;fillColor=#FFE040;verticalAlign=top;",78,48,"","Return Address",null,null,this.getTagsForStencil("mxgraph.eip","retAddr","eip enterprise integration pattern message construction return address").join(" "))];this.addPalette("eipMessage Construction","EIP / Message Construction",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))}; +this.createVertexTemplateEntry("strokeWidth=3;outlineConnect=0;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.retAddr;html=1;verticalLabelPosition=bottom;fillColor=#FFE040;verticalAlign=top;",78,48,"","Return Address",null,null,this.getTagsForStencil("mxgraph.eip","retAddr","eip enterprise integration pattern message construction return address").join(" "))];this.addPalette("eipMessage Construction","EIP / Message Construction",a||!1,mxUtils.bind(this,function(a){for(var d=0;d<e.length;d++)a.appendChild(e[d](a))}))}; Sidebar.prototype.addEipMessageRoutingPalette=function(a){var b=[this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.aggregator;",150,90,"","Aggregator",null,null,this.getTagsForStencil("mxgraph.eip","aggregator","eip enterprise integration pattern message routing ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.composed_message_processor;", 150,90,"","Composed Message Processor",null,null,this.getTagsForStencil("mxgraph.eip","composed_message_processor","eip enterprise integration pattern message routing ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.content_based_router;",150,90,"","Content Based Router",null,null,this.getTagsForStencil("mxgraph.eip","content_based_router","eip enterprise integration pattern message routing ").join(" ")), this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.dynamic_router;",150,90,"","Dynamic Router",null,null,this.getTagsForStencil("mxgraph.eip","dynamic_router","eip enterprise integration pattern message routing ").join(" ")),this.addDataEntry("eip enterprise integration pattern message routing message broker",120,90,"Message Broker","5ZjJboMwEIafxneDWZJjQ9qcesqhZxcGjGpwZJytT1+DnQUpUZEqmYQiIWb+YcbMZySwEUmqw0rSDXsXGXBEXhFJpBDKWNUhAc6Rj8sMkSXyfaxP5L/diXpdFG+ohFoNSfBNwo7yLRjFCI06cis0Soov+CgzxbTgI7LIaMOgLYC1Q3lZ1NpO9YggtZCLWq3L7zZ7pt2G0U1rS0hVGy05TwQXsitO8jz/TNsyZpSrCO4OHbFPCFLB4W6XnWRbXIGoQMmjvsUmBLHJ2Nsm2sYjIzEoC3YqMjMabYxfnAtdCGrDQrwNlEwb6LFPygHQYNpAbcLctumebzhtvhZoGDgDGk0b6O0X1iHf+F/wPX2yLN/Yd8Z3NjLfFOchnTvmSyJnfOe/84WsgLV1a1HrywLq7EVKsb8oPeRMVXq8pXfGdj05pn5btAerEVuZQm/SFZUFqN6v4QCkEjhV5a5f/S+IPPwkjMiIjLwnYRSMyGjA8uYhGIUjMhqwYnkIRtGIjAYsQh6CUeyMkXYvuxRdrLeJ8QM="), @@ -5018,7 +5018,7 @@ this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=ce 150,90,"","Process Manager",null,null,this.getTagsForStencil("mxgraph.eip","process_manager","eip enterprise integration pattern message routing ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.recipient_list;",150,90,"","Recipient List",null,null,this.getTagsForStencil("mxgraph.eip","recipient_list","eip enterprise integration pattern message routing ").join(" ")), this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.resequencer;",150,90,"","Resequencer",null,null,this.getTagsForStencil("mxgraph.eip","resequencer","eip enterprise integration pattern message routing ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.routing_slip;", 150,90,"","Routing Slip",null,null,this.getTagsForStencil("mxgraph.eip","routing_slip","eip enterprise integration pattern message routing ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.splitter;",150,90,"","Splitter",null,null,this.getTagsForStencil("mxgraph.eip","splitter","eip enterprise integration pattern message routing ").join(" "))];this.addPalette("eipMessage Routing", -"EIP / Message Routing",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addEipMessageTransformationPalette=function(a){this.addPaletteFunctions("eipMessage Transformation","EIP / Message Transformation",!1,[this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.claim_check;",150,90,"","Claim Check",null,null,this.getTagsForStencil("mxgraph.eip", +"EIP / Message Routing",a||!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))};Sidebar.prototype.addEipMessageTransformationPalette=function(a){this.addPaletteFunctions("eipMessage Transformation","EIP / Message Transformation",!1,[this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.claim_check;",150,90,"","Claim Check",null,null,this.getTagsForStencil("mxgraph.eip", "claim_check","eip enterprise integration pattern message transformation ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.content_enricher;",150,90,"","Content Enricher",null,null,this.getTagsForStencil("mxgraph.eip","content_enricher","eip enterprise integration pattern message transformation ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.content_filter;", 150,90,"","Content Filter",null,null,this.getTagsForStencil("mxgraph.eip","content_filter","eip enterprise integration pattern message transformation ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.envelope_wrapper;",150,90,"","Envelope Wrapper",null,null,this.getTagsForStencil("mxgraph.eip","envelope_wrapper","eip enterprise integration pattern message transformation ").join(" ")), this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.normalizer;",150,90,"","Normalizer",null,null,this.getTagsForStencil("mxgraph.eip","normalizer","eip enterprise integration pattern message transformation ").join(" "))])};Sidebar.prototype.addEipMessagingChannelsPalette=function(a){var b=[this.createEdgeTemplateEntry("edgeStyle=none;html=1;strokeColor=#808080;endArrow=block;endSize=10;dashed=0;verticalAlign=bottom;strokeWidth=2;", @@ -5028,7 +5028,7 @@ this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=ce this.createVertexTemplateEntry("strokeWidth=1;outlineConnect=0;dashed=0;align=center;html=1;fontSize=8;shape=mxgraph.eip.deadLetterChannel;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;",100,20,"","Dead Letter Channel",null,null,this.getTagsForStencil("mxgraph.eip","deadLetterChannel","eip enterprise integration pattern messaging channel message ").join(" ")),this.createVertexTemplateEntry("strokeWidth=1;outlineConnect=0;dashed=0;align=center;html=1;fontSize=8;shape=mxgraph.eip.invalidMessageChannel;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;", 100,20,"","Invalid Message Channel",null,null,this.getTagsForStencil("mxgraph.eip","invalidMessageChannel","eip enterprise integration pattern messaging channel message ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;html=1;fontSize=8;shape=mxgraph.eip.messaging_bridge;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#c0f5a9;",150,90,"","Messaging Bridge",null,null,this.getTagsForStencil("mxgraph.eip","messaging_bridge","eip enterprise integration pattern messaging channel message ").join(" ")), this.addDataEntry("eip enterprise integration pattern messaging channel message message bus",120,140,"Message Bus","7ZbPb8IgFMf/Gq6Gwma8rtV5WrLEw84ob4VISwOodX/9oLBq/ZF5MJ5s0+S9L7xX+H5KUkSLqp0b1ogPzUEhOkO0MFq7GFVtAUohgiVHdIoIwf5B5P3KaNaN4oYZqN0tBSQWbJnaQFSiYN1eJcE6o9fwJbkTXiCI5lEptNKmm0Jxd/kRzqyA0DokTMmy9vHKrwX8zFy4ym9wmvnwW9duIX/CKyaho2BNiKu2DFaMQDajCqxlJRSC1XUwJk9LBeOgvbrdTkp7nYOuwJm9n7KPo+PoBt6l3YSC5BAWIEuRuvxpzMa87DsdvPRBsvOytfR/a4GXsEgpqKXezQ5Cfu670Zua9/ZCzd+M0TufLpVerbsSZtxFMXmdpcLjdMDsCNEZ5QkOdw8iLH6Awb+nBDf4rm4gY0AxJ7fDVpd8T6WfWvqOBLdDoglw9nJCzuqNWUEqOoHXr+Imni9Png/geXry7sfv9cnvgefx/vzGT34P4JfhewH06eE/Jk4//s35BQ==")]; -this.addPalette("eipMessaging Channels","EIP / Messaging Channels",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addEipMessagingEndpointsPalette=function(a){this.addPaletteFunctions("eipMessaging Endpoints","EIP / Messaging Endpoints",!1,[this.createVertexTemplateEntry("fillColor=#c0f5a9;dashed=0;outlineConnect=0;strokeWidth=2;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.competing_consumers;", +this.addPalette("eipMessaging Channels","EIP / Messaging Channels",a||!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))};Sidebar.prototype.addEipMessagingEndpointsPalette=function(a){this.addPaletteFunctions("eipMessaging Endpoints","EIP / Messaging Endpoints",!1,[this.createVertexTemplateEntry("fillColor=#c0f5a9;dashed=0;outlineConnect=0;strokeWidth=2;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.competing_consumers;", 150,90,"","Competing Consumers",null,null,this.getTagsForStencil("mxgraph.eip","competing_consumers","eip enterprise integration pattern messaging endpoint ").join(" ")),this.createVertexTemplateEntry("dashed=0;outlineConnect=0;strokeWidth=2;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.durable_subscriber;fillColor=#a0a0a0;",30,35,"","Durable Subscriber",null,null,this.getTagsForStencil("mxgraph.eip","durable_subscriber","eip enterprise integration pattern messaging endpoint ").join(" ")), this.createVertexTemplateEntry("fillColor=#c0f5a9;dashed=0;outlineConnect=0;strokeWidth=2;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.event_driven_consumer;",150,90,"","Event Driven Consumer",null,null,this.getTagsForStencil("mxgraph.eip","event_driven_consumer","eip enterprise integration pattern messaging endpoint ").join(" ")),this.createVertexTemplateEntry("fillColor=#c0f5a9;dashed=0;outlineConnect=0;strokeWidth=2;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.message_dispatcher;", 150,90,"","Message Dispatcher",null,null,this.getTagsForStencil("mxgraph.eip","message_dispatcher","eip enterprise integration pattern messaging endpoint ").join(" ")),this.createVertexTemplateEntry("fillColor=#c0f5a9;dashed=0;outlineConnect=0;strokeWidth=2;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.messaging_gateway;",150,90,"","Messaging Gateway",null,null,this.getTagsForStencil("mxgraph.eip","messaging_gateway","eip enterprise integration pattern messaging endpoint ").join(" ")), @@ -5036,21 +5036,21 @@ this.createVertexTemplateEntry("fillColor=#c0f5a9;dashed=0;outlineConnect=0;stro 150,90,"","Selective Consumer",null,null,this.getTagsForStencil("mxgraph.eip","selective_consumer","eip enterprise integration pattern messaging endpoint ").join(" ")),this.createVertexTemplateEntry("fillColor=#c0f5a9;dashed=0;outlineConnect=0;strokeWidth=2;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.service_activator;",150,90,"","Service Activator",null,null,this.getTagsForStencil("mxgraph.eip","service_activator","eip enterprise integration pattern messaging endpoint ").join(" ")), this.createVertexTemplateEntry("fillColor=#c0f5a9;dashed=0;outlineConnect=0;strokeWidth=2;html=1;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.transactional_client;",150,90,"","Transactional Client",null,null,this.getTagsForStencil("mxgraph.eip","transactional_client","eip enterprise integration pattern messaging endpoint ").join(" "))])};Sidebar.prototype.addEipMessagingSystemsPalette=function(a){var b=this,e=[this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.content_based_router;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#c0f5a9;", 150,90,"","Message Router",null,null,this.getTagsForStencil("mxgraph.eip","content_based_router","eip enterprise integration pattern messaging system ").join(" ")),this.createVertexTemplateEntry("strokeWidth=1;outlineConnect=0;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.messageChannel;html=1;verticalLabelPosition=bottom;verticalAlign=top;",100,20,"","Message Channel",null,null,this.getTagsForStencil("mxgraph.eip","messageChannel","eip enterprise integration pattern messaging system ").join(" ")), -this.addEntry("eip enterprise integration pattern messaging system message endpoint",function(){var a=new mxCell("",new mxGeometry(0,0,150,90),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#c0f5a9;");a.vertex=!0;var d=new mxCell("",new mxGeometry(85,25,40,40),"strokeWidth=1;dashed=0;align=center;fontSize=8;shape=rect;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Message Endpoint")}), -this.addEntry("eip enterprise integration pattern messaging system message endpoint",function(){var a=new mxCell("",new mxGeometry(0,0,150,90),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#c0f5a9;");a.vertex=!0;var d=new mxCell("",new mxGeometry(25,25,40,40),"strokeWidth=1;dashed=0;align=center;fontSize=8;shape=rect");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Message Endpoint")}), +this.addEntry("eip enterprise integration pattern messaging system message endpoint",function(){var a=new mxCell("",new mxGeometry(0,0,150,90),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#c0f5a9;");a.vertex=!0;var c=new mxCell("",new mxGeometry(85,25,40,40),"strokeWidth=1;dashed=0;align=center;fontSize=8;shape=rect;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Message Endpoint")}), +this.addEntry("eip enterprise integration pattern messaging system message endpoint",function(){var a=new mxCell("",new mxGeometry(0,0,150,90),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#c0f5a9;");a.vertex=!0;var c=new mxCell("",new mxGeometry(25,25,40,40),"strokeWidth=1;dashed=0;align=center;fontSize=8;shape=rect");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Message Endpoint")}), this.addDataEntry("eip enterprise integration pattern messaging system message endpoint",400,90,"Message Endpoint","zVXLbsIwEPwa300eFRwhbbm0UiUOPZtkSSycbOQsr3597cRAIkILKhUkiuSd9fgxs46ZH+XbqRZl9o4JKOa/MD/SiNS08m0ESjGPy4T5z8zzuPmY93omO6izvBQaCrqE4DWEtVAraJAGqGinHFCRxiV8yoQyA3jMnySiysAOwE0glEwL047NjKANsMCCZvLLsocmrDJR2raGmGxWKhWhQl0P7sd8EYqR7VbP0srw+jGZNWiSsVBvYg7qAytJEu2EcyTCvNVh7FZCWBrUbczkYHtWnBpyykwBcyC9M102brO2R9gIyDOQaeZoI4eJqonTA/UotWk4tfuV969VfnBb5Rf1czflvX7lHcELG8auG7Z8CXpsCW5gS/D4B+IvlX3Ql58o+m+VHj5+pV8kafCjpMO7lezT7/pCksLMhaDmuHk5ApPTeta4KpKD+lAkY61xY0++wnhZU4SmPVhgAXvMmTJwvHbYcTSjXDmnT1wZcvv2LqzZmN1Nx6UKVzqGzn/VLCYF6hTgBcdDgxIk193Rr/DGhMe7u851rvZv"), this.addDataEntry("eip enterprise integration pattern messaging system message",28,48,"Message","5ZVRb4IwEMc/Da8LghJ9nCg+7cmHbY+NHLRZ6ZGjKu7Tr6VVR5RsiZlbMgjJ3f965d8fJQ3itGpXxGr+hDnIIF4GcUqI2kVVm4KUQRSKPIgXQRSF5gmibKA66qphzQiU/k5D5Bp2TG7BKU5o9EF6AfIS1j5F0hxLVEwuz+qccKtysDOGJoNW6JdP8auNHyY2U/kjEe6NoFDZzpw1/NTIdWXWvxiZsNGEb5CiROpMxNPQ3qfKs8g1N5XIKM6wddlj0OCWNl6aOEkzKsFjGV+S6ho9phVgBZoOZgiBZFrs+rOzxqXladwZsgk85+vM43/BPPlTzMdfM79cZY8Uk6JUJt4Y72AIzQtUei3ebffUQuKstrF5r6gbC7oQUg7jPFb8V/H+gDS0g//yAK2992xH+HVxECXXfe0WfpO78SPY6GvwsixJr+3SsLuO83k7oxuJHhv8Jj74dOrSO/BOfpl3Ucxm4eVmvS/vOPkp3iY9n7FdrXcEfwA="), -this.addEntry("eip enterprise integration pattern messaging system message",function(){var a=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,18,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;fillColor=#80FF6C;fontStyle=1;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;"); -f.geometry.relative=!0;f.edge=!0;a.insertEdge(f,!1);d.insertEdge(f,!0);return b.createVertexTemplateFromCells([f,a,d],28,30,"Message")}),this.addDataEntry("eip enterprise integration pattern messaging system message",28,48,"Message","vZRNb4MwDIZ/DdeJj25qjyvtetqph23HqBgSLcTIuC3dr19C0naIoU3qNBCS/TqvcR5Qoiyvuw2JRj5jATrK1lGWEyL7qO5y0DpKY1VE2SpK09g+Ufo0UU36atwIAsO/MaTecBB6D17xQssnHQQoKtiGFIklVmiEXl/VJeHeFOA6xjaDTvHrl/jNxXf3LjPFIxEerWDQOGchWnkxSq7t/leJDVsmfIccNVI/RDaP3X2pvKiCpa2kVvEDuykHDFrc0y5IMy+xoAoClmxMqjcGTBvAGphOdgmBFqwOw+6i9Wl1WXeFbIPA+Xvm2c/Mx7sckBJaVcbGOzs7WELLEg1v1Ydzzx0kKRoX2/eqpnWgS6X1NM5zJXyVMB8QQzf5X03QOoaZ3YqwLwmqkjzUbuE3+zd+BDsewyvLxSIew7OVuL/O/cI4yY1Ez4YH7ziFdO7Tv+dt0+v509cGx9Mn"), -this.addEntry("eip enterprise integration pattern messaging system message",function(){var a=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,18,12,12),"strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.message_1;fillColor=#ff5500;fontStyle=1;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;"); -f.geometry.relative=!0;f.edge=!0;a.insertEdge(f,!1);d.insertEdge(f,!0);return b.createVertexTemplateFromCells([f,a,d],28,30,"Message")}),this.addEntry("eip enterprise integration pattern messaging system message",function(){var a=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,18,12,12),"strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.message_2;fillColor=#00cc00;fontStyle=1;"); -d.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;");f.geometry.relative=!0;f.edge=!0;a.insertEdge(f,!1);d.insertEdge(f,!0);return b.createVertexTemplateFromCells([f,a,d],28,30,"Message")}),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.message_translator;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;", -150,90,"","Message-Translator",null,null,this.getTagsForStencil("mxgraph.eip","message_translator","eip enterprise integration pattern messaging system ").join(" "))];this.addPalette("eipMessaging Systems","EIP / Messaging Systems",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addEipSystemManagementPalette=function(a){this.addPaletteFunctions("eipSystem Management","EIP / System Management",!1,[this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.channel_purger;fillColor=#c0f5a9", +this.addEntry("eip enterprise integration pattern messaging system message",function(){var a=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");a.vertex=!0;var c=new mxCell("",new mxGeometry(16,18,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=rect;fillColor=#80FF6C;fontStyle=1;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;"); +f.geometry.relative=!0;f.edge=!0;a.insertEdge(f,!1);c.insertEdge(f,!0);return b.createVertexTemplateFromCells([f,a,c],28,30,"Message")}),this.addDataEntry("eip enterprise integration pattern messaging system message",28,48,"Message","vZRNb4MwDIZ/DdeJj25qjyvtetqph23HqBgSLcTIuC3dr19C0naIoU3qNBCS/TqvcR5Qoiyvuw2JRj5jATrK1lGWEyL7qO5y0DpKY1VE2SpK09g+Ufo0UU36atwIAsO/MaTecBB6D17xQssnHQQoKtiGFIklVmiEXl/VJeHeFOA6xjaDTvHrl/jNxXf3LjPFIxEerWDQOGchWnkxSq7t/leJDVsmfIccNVI/RDaP3X2pvKiCpa2kVvEDuykHDFrc0y5IMy+xoAoClmxMqjcGTBvAGphOdgmBFqwOw+6i9Wl1WXeFbIPA+Xvm2c/Mx7sckBJaVcbGOzs7WELLEg1v1Ydzzx0kKRoX2/eqpnWgS6X1NM5zJXyVMB8QQzf5X03QOoaZ3YqwLwmqkjzUbuE3+zd+BDsewyvLxSIew7OVuL/O/cI4yY1Ez4YH7ziFdO7Tv+dt0+v509cGx9Mn"), +this.addEntry("eip enterprise integration pattern messaging system message",function(){var a=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");a.vertex=!0;var c=new mxCell("",new mxGeometry(16,18,12,12),"strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.message_1;fillColor=#ff5500;fontStyle=1;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;"); +f.geometry.relative=!0;f.edge=!0;a.insertEdge(f,!1);c.insertEdge(f,!0);return b.createVertexTemplateFromCells([f,a,c],28,30,"Message")}),this.addEntry("eip enterprise integration pattern messaging system message",function(){var a=new mxCell("",new mxGeometry(0,0,12,12),"strokeWidth=2;dashed=0;align=center;fontSize=8;shape=ellipse;fillColor=#808080;strokeColor=none;");a.vertex=!0;var c=new mxCell("",new mxGeometry(16,18,12,12),"strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.message_2;fillColor=#00cc00;fontStyle=1;"); +c.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;rounded=0;exitX=0;exitY=0.5;endArrow=none;dashed=0;html=1;strokeColor=#808080;strokeWidth=2;");f.geometry.relative=!0;f.edge=!0;a.insertEdge(f,!1);c.insertEdge(f,!0);return b.createVertexTemplateFromCells([f,a,c],28,30,"Message")}),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;shape=mxgraph.eip.message_translator;fillColor=#c0f5a9;verticalLabelPosition=bottom;verticalAlign=top;", +150,90,"","Message-Translator",null,null,this.getTagsForStencil("mxgraph.eip","message_translator","eip enterprise integration pattern messaging system ").join(" "))];this.addPalette("eipMessaging Systems","EIP / Messaging Systems",a||!1,mxUtils.bind(this,function(a){for(var d=0;d<e.length;d++)a.appendChild(e[d](a))}))};Sidebar.prototype.addEipSystemManagementPalette=function(a){this.addPaletteFunctions("eipSystem Management","EIP / System Management",!1,[this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.channel_purger;fillColor=#c0f5a9", 150,90,"","Channel Purger",null,null,this.getTagsForStencil("mxgraph.eip","channel_purger","eip enterprise integration pattern system management ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.control_bus;fillColor=#c0f5a9",60,40,"","Control Bus",null,null,this.getTagsForStencil("mxgraph.eip","control_bus","eip enterprise integration pattern system management ").join(" ")), this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.detour;fillColor=#c0f5a9",150,90,"","Detour",null,null,this.getTagsForStencil("mxgraph.eip","detour","eip enterprise integration pattern system management ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.message_store;fillColor=#c0f5a9", 150,90,"","Message Store",null,null,this.getTagsForStencil("mxgraph.eip","message_store","eip enterprise integration pattern system management ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.smart_proxy;fillColor=#c0f5a9",70,90,"","Smart Proxy",null,null,this.getTagsForStencil("mxgraph.eip","smart_proxy","eip enterprise integration pattern system management ").join(" ")), this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.test_message;fillColor=#c0f5a9",150,90,"","Test Message",null,null,this.getTagsForStencil("mxgraph.eip","test_message","eip enterprise integration pattern system management ").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;outlineConnect=0;dashed=0;align=center;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.eip.wire_tap;fillColor=#c0f5a9", -150,90,"","Wire Tap",null,null,this.getTagsForStencil("mxgraph.eip","wire_tap","eip enterprise integration pattern system management ").join(" "))])}})();(function(){Sidebar.prototype.addElectricalPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_SHAPE,b=a+"=mxgraph.electrical.abstract.",e="pointerEvents=1;"+a+"=mxgraph.electrical.capacitors.",c="pointerEvents=1;fillColor=#000000;"+a+"=mxgraph.electrical.diodes.",d="pointerEvents=1;"+a+"=mxgraph.electrical.inductors.",f="pointerEvents=1;"+a+"=mxgraph.electrical.miscellaneous.", +150,90,"","Wire Tap",null,null,this.getTagsForStencil("mxgraph.eip","wire_tap","eip enterprise integration pattern system management ").join(" "))])}})();(function(){Sidebar.prototype.addElectricalPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_SHAPE,b=a+"=mxgraph.electrical.abstract.",e="pointerEvents=1;"+a+"=mxgraph.electrical.capacitors.",d="pointerEvents=1;fillColor=#000000;"+a+"=mxgraph.electrical.diodes.",c="pointerEvents=1;"+a+"=mxgraph.electrical.inductors.",f="pointerEvents=1;"+a+"=mxgraph.electrical.miscellaneous.", g="pointerEvents=1;"+a+"=mxgraph.electrical.electro-mechanical.",h=a+"=mxgraph.electrical.logic_gates.",k=a+"=mxgraph.electrical.mosfets1.",l=a+"=mxgraph.electrical.transistors.",m=a+"=mxgraph.electrical.opto_electronics.",q="pointerEvents=1;"+a+"=mxgraph.electrical.plc_ladder.",r=a+"=mxgraph.electrical.radio.",n="pointerEvents=1;"+a+"=mxgraph.electrical.resistors.",p="pointerEvents=1;"+a+"=mxgraph.electrical.signal_sources.",u=a+"=mxgraph.electrical.thermionic_devices.",t="pointerEvents=1;"+a+"=mxgraph.electrical.waveforms.", y="perimeter=ellipsePerimeter;"+a+"=mxgraph.electrical.instruments.",x=a+"=mxgraph.electrical.iec_logic_gates.",w=a+"=mxgraph.electrical.rot_mech.",v=a+"=mxgraph.electrical.transmission.";this.addPaletteFunctions("electricalLogicGates","Electrical / Logic Gates",!1,[this.createVertexTemplateEntry(h+"logic_gate;operation=and;",100,60,"","AND",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","and","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"buffer2;",100, 60,"","Buffer",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","buffer","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"d_type_flip-flop;",100,80,"","D Type Flip-Flop",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates","d_type_flip-flop","electrical logic gate ").join(" ")),this.createVertexTemplateEntry(h+"d_type_flip-flop_with_clear;",100,90,"","D Type Flip-Flop With Clear",null,null,this.getTagsForStencil("mxgraph.electrical.logic_gates", @@ -5079,18 +5079,18 @@ null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","trimmer_capaci "variable_capacitor_1","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(e+"variable_capacitor_2;",100,60,"","Trimmer Variable Capacitor (US)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","variable_capacitor_2","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(e+"feed_through_capacitor;",100,90,"","Feed Through Capacitor",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","feed_through_capacitor","electrical capacitor ").join(" ")), this.createVertexTemplateEntry(e+"ganged_capacitor;",100,130,"","Ganged Capacitor",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","ganged_capacitor","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(e+"multiple_capacitor;",100,130,"","Multiple Capacitor",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","multiple_capacitor","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(e+"multiple_electrolytic_capacitor_comm_neg;",100,130,"","Multiple Electrolytic Capacitor (Common Negative)", null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","multiple_electrolytic_capacitor_comm_neg","electrical capacitor ").join(" ")),this.createVertexTemplateEntry(e+"multiple_electrolytic_capacitor_comm_pos;",100,130,"","Multiple Electrolytic Capacitor (Common Positive)",null,null,this.getTagsForStencil("mxgraph.electrical.capacitors","multiple_electrolytic_capacitor_comm_pos","electrical capacitor ").join(" "))]);this.addPaletteFunctions("electricalInductors","Electrical / Inductors", -!1,[this.createVertexTemplateEntry(d+"inductor_3;",100,8,"","Inductor (Air Core)",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","inductor_3","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"inductor_5;",100,14,"","Inductor (Air Core)",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","inductor_5","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"inductor_1;",100,15,"","Inductor (Air Core)",null,null,this.getTagsForStencil("mxgraph.electrical.inductors", -"inductor_1","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"variable_inductor;",100,60,"","Variable",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","variable_inductor","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"ferrite_core;",64,4,"","Ferrite Core",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","ferrite_core","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"iron_core;",64,4,"","Iron Core",null,null, -this.getTagsForStencil("mxgraph.electrical.inductors","iron_core","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"magnetic_core;direction=north;",64,3,"","Magnetic Core",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","magnetic core","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"transformer_1;",64,60,"","Transformer (Iron Core)",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","transformer_1","electrical inductor ").join(" ")), -this.createVertexTemplateEntry(d+"transformer_2;",64,60,"","Transformer (Iron Core)",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","transformer_2","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"half_inductor;",32,23,"","Half Inductor",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","half inductor","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"transformer;direction=north;",64,64,"","Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors", -"transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"inductor;",100,42,"","Inductor",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","inductor","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"choke;",100,200,"","Choke",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","choke","electrical inductor ").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=top;shadow=0;dashed=0;align=center;fillColor=#000000;html=1;verticalAlign=bottom;strokeWidth=1;shape=mxgraph.electrical.inductors.variometer;", -150,88,"","Variometer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","variometer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"coaxial_choke;",300,50,"","Coaxial Choke",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","coaxial choke","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"transductor;",200,100,"","Transductor",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","transductor","electrical inductor ").join(" ")), -this.createVertexTemplateEntry(d+"saturating_transformer;",200,150,"","Saturating Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","saturating_transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"potential_transformer_2;",92,40,"","Potential Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","potential transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"pot_trans_3_windings;",67,96,"", -"Pot. Trans. 3 Windings",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","potential transformer 3 three windings","electrical inductor ").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;strokeWidth=1;shape=mxgraph.electrical.signal_sources.current_source;",40,60,"","Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+ -"adjustable_transformer;",46,60,"","Adjustable Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","adjustable_transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"1_phase_induction_volt_reg;",100,100,"","1-Phase Induction Voltage Regulator",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","1 phase induction voltage regulator monophase","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"triplex_induction_volt_reg;", -100,100,"","Triplex Induction Voltage Regulator",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","triplex induction voltage regulator","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"induction_voltage_regulator;",160,210,"","Induction Voltage Regulator",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","induction voltage regulator","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"current_transformer_1;",12,75,"","Current Transformer", -null,null,this.getTagsForStencil("mxgraph.electrical.inductors","current transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"current_transformer_2;",125,175,"","Current Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","current transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"current_transformer_3;",75,10,"","Current Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","current transformer", -"electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"potential_transformer;",100,50,"","Potential Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","potential transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+"outdoor_metering_device;",100,100,"","Outdoor Metering Device",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","outdoor metering device","electrical inductor ").join(" ")),this.createVertexTemplateEntry(d+ +!1,[this.createVertexTemplateEntry(c+"inductor_3;",100,8,"","Inductor (Air Core)",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","inductor_3","electrical inductor ").join(" ")),this.createVertexTemplateEntry(c+"inductor_5;",100,14,"","Inductor (Air Core)",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","inductor_5","electrical inductor ").join(" ")),this.createVertexTemplateEntry(c+"inductor_1;",100,15,"","Inductor (Air Core)",null,null,this.getTagsForStencil("mxgraph.electrical.inductors", +"inductor_1","electrical inductor ").join(" ")),this.createVertexTemplateEntry(c+"variable_inductor;",100,60,"","Variable",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","variable_inductor","electrical inductor ").join(" ")),this.createVertexTemplateEntry(c+"ferrite_core;",64,4,"","Ferrite Core",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","ferrite_core","electrical inductor ").join(" ")),this.createVertexTemplateEntry(c+"iron_core;",64,4,"","Iron Core",null,null, +this.getTagsForStencil("mxgraph.electrical.inductors","iron_core","electrical inductor ").join(" ")),this.createVertexTemplateEntry(c+"magnetic_core;direction=north;",64,3,"","Magnetic Core",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","magnetic core","electrical inductor ").join(" ")),this.createVertexTemplateEntry(c+"transformer_1;",64,60,"","Transformer (Iron Core)",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","transformer_1","electrical inductor ").join(" ")), +this.createVertexTemplateEntry(c+"transformer_2;",64,60,"","Transformer (Iron Core)",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","transformer_2","electrical inductor ").join(" ")),this.createVertexTemplateEntry(c+"half_inductor;",32,23,"","Half Inductor",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","half inductor","electrical inductor ").join(" ")),this.createVertexTemplateEntry(c+"transformer;direction=north;",64,64,"","Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors", +"transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(c+"inductor;",100,42,"","Inductor",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","inductor","electrical inductor ").join(" ")),this.createVertexTemplateEntry(c+"choke;",100,200,"","Choke",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","choke","electrical inductor ").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=top;shadow=0;dashed=0;align=center;fillColor=#000000;html=1;verticalAlign=bottom;strokeWidth=1;shape=mxgraph.electrical.inductors.variometer;", +150,88,"","Variometer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","variometer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(c+"coaxial_choke;",300,50,"","Coaxial Choke",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","coaxial choke","electrical inductor ").join(" ")),this.createVertexTemplateEntry(c+"transductor;",200,100,"","Transductor",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","transductor","electrical inductor ").join(" ")), +this.createVertexTemplateEntry(c+"saturating_transformer;",200,150,"","Saturating Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","saturating_transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(c+"potential_transformer_2;",92,40,"","Potential Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","potential transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(c+"pot_trans_3_windings;",67,96,"", +"Pot. Trans. 3 Windings",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","potential transformer 3 three windings","electrical inductor ").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;strokeWidth=1;shape=mxgraph.electrical.signal_sources.current_source;",40,60,"","Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","","electrical inductor ").join(" ")),this.createVertexTemplateEntry(c+ +"adjustable_transformer;",46,60,"","Adjustable Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","adjustable_transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(c+"1_phase_induction_volt_reg;",100,100,"","1-Phase Induction Voltage Regulator",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","1 phase induction voltage regulator monophase","electrical inductor ").join(" ")),this.createVertexTemplateEntry(c+"triplex_induction_volt_reg;", +100,100,"","Triplex Induction Voltage Regulator",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","triplex induction voltage regulator","electrical inductor ").join(" ")),this.createVertexTemplateEntry(c+"induction_voltage_regulator;",160,210,"","Induction Voltage Regulator",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","induction voltage regulator","electrical inductor ").join(" ")),this.createVertexTemplateEntry(c+"current_transformer_1;",12,75,"","Current Transformer", +null,null,this.getTagsForStencil("mxgraph.electrical.inductors","current transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(c+"current_transformer_2;",125,175,"","Current Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","current transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(c+"current_transformer_3;",75,10,"","Current Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","current transformer", +"electrical inductor ").join(" ")),this.createVertexTemplateEntry(c+"potential_transformer;",100,50,"","Potential Transformer",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","potential transformer","electrical inductor ").join(" ")),this.createVertexTemplateEntry(c+"outdoor_metering_device;",100,100,"","Outdoor Metering Device",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","outdoor metering device","electrical inductor ").join(" ")),this.createVertexTemplateEntry(c+ "linear_coupler;",80,20,"","Linear Coupler",null,null,this.getTagsForStencil("mxgraph.electrical.inductors","linear coupler","electrical inductor ").join(" "))]);this.addPaletteFunctions("electricalSwitchesRelays","Electrical / Switches and Relays",!1,[this.createVertexTemplateEntry(g+"2-way_switch;",75,26,"","SPDT",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","2-way switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"push_switch_nc;",75,10, "","Pushbutton NC",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","push switch nc","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"push_switch_no;",75,19,"","Pushbutton NO",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","push switch no","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"simple_switch;",75,19,"","SPST",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","simple switch", "electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"switch_disconnector;",75,19,"","Switch Disconnector",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","switch disconnector","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"fuse;",75,16,"","Fuse",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","fuse","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"liquid_level_actuated;",75,28,"", @@ -5113,11 +5113,11 @@ null,null,this.getTagsForStencil("mxgraph.electrical.inductors","current transfo "reed switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"relay_coil;",70,35,"","Relay Coil",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","relay coil","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"relay;",100,50,"","Relay",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","relay","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"relay_contacts;",30,24,"","Relay Contacts", null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","relay contacts","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"resonator;",100,50,"","Resonator",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","resonator","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"pilot_light;",100,100,"","Pilot Light",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","pilot light","electrical switch relay ").join(" ")), this.createVertexTemplateEntry(g+"relay_coil_2;",100,70,"","Relay Coil",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","relay coil","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"mercury_switch;",80,80,"","Mercury Switch",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical","mercury switch","electrical switch relay ").join(" ")),this.createVertexTemplateEntry(g+"mercury_switch_2;",50,90,"","Mercury Switch",null,null,this.getTagsForStencil("mxgraph.electrical.electro-mechanical", -"mercury switch","electrical switch relay ").join(" "))]);this.addPaletteFunctions("electricalDiodes","Electrical / Diodes",!1,[this.createVertexTemplateEntry(c+"diode;",100,60,"","PN Diode",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"gunn_diode;",100,60,"","Gunn Diode",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","gunn_diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+ -"schottky_diode;",100,60,"","Schottky Diode",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","schottky_diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"zener_diode_2;",100,60,"","Breakdown",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","zener_diode_2","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"tunnel_diode;",100,60,"","Tunnel Diode 1",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","tunnel_diode","electrical diode ").join(" ")), -this.createVertexTemplateEntry(c+"tunnel_diode_2;",100,80,"","Tunnel Diode 2",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","tunnel_diode_2","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"field_effect_diode;",100,60,"","Field Effect Diode",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","field_effect_diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"varactor_-_varicap;",100,60,"","Varactor - Varicap",null,null,this.getTagsForStencil("mxgraph.electrical.diodes", -"varactor_-_varicap","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"zener_diode_1;",100,60,"","Zener Diode 1",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","zener_diode_1","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"zener_diode_3;",100,60,"","Zener Diode 2",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","zener_diode_3","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"four_layer_diode;",100,80,"","Four Layer Diode", -null,null,this.getTagsForStencil("mxgraph.electrical.diodes","four_layer_diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"transorb_1;",100,60,"","Transorb 1",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","transorb_1","electrical diode ").join(" ")),this.createVertexTemplateEntry(c+"transorb_2;",100,60,"","Transorb 2",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","transorb_2","electrical diode ").join(" "))]);this.addPaletteFunctions("electricalSources", +"mercury switch","electrical switch relay ").join(" "))]);this.addPaletteFunctions("electricalDiodes","Electrical / Diodes",!1,[this.createVertexTemplateEntry(d+"diode;",100,60,"","PN Diode",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(d+"gunn_diode;",100,60,"","Gunn Diode",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","gunn_diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(d+ +"schottky_diode;",100,60,"","Schottky Diode",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","schottky_diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(d+"zener_diode_2;",100,60,"","Breakdown",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","zener_diode_2","electrical diode ").join(" ")),this.createVertexTemplateEntry(d+"tunnel_diode;",100,60,"","Tunnel Diode 1",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","tunnel_diode","electrical diode ").join(" ")), +this.createVertexTemplateEntry(d+"tunnel_diode_2;",100,80,"","Tunnel Diode 2",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","tunnel_diode_2","electrical diode ").join(" ")),this.createVertexTemplateEntry(d+"field_effect_diode;",100,60,"","Field Effect Diode",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","field_effect_diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(d+"varactor_-_varicap;",100,60,"","Varactor - Varicap",null,null,this.getTagsForStencil("mxgraph.electrical.diodes", +"varactor_-_varicap","electrical diode ").join(" ")),this.createVertexTemplateEntry(d+"zener_diode_1;",100,60,"","Zener Diode 1",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","zener_diode_1","electrical diode ").join(" ")),this.createVertexTemplateEntry(d+"zener_diode_3;",100,60,"","Zener Diode 2",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","zener_diode_3","electrical diode ").join(" ")),this.createVertexTemplateEntry(d+"four_layer_diode;",100,80,"","Four Layer Diode", +null,null,this.getTagsForStencil("mxgraph.electrical.diodes","four_layer_diode","electrical diode ").join(" ")),this.createVertexTemplateEntry(d+"transorb_1;",100,60,"","Transorb 1",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","transorb_1","electrical diode ").join(" ")),this.createVertexTemplateEntry(d+"transorb_2;",100,60,"","Transorb 2",null,null,this.getTagsForStencil("mxgraph.electrical.diodes","transorb_2","electrical diode ").join(" "))]);this.addPaletteFunctions("electricalSources", "Electrical / Sources",!1,[this.createVertexTemplateEntry(p+"ac_source;",60,60,"","AC",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","ac_source","electrical signal source ").join(" ")),this.createVertexTemplateEntry(p+"current_source;",40,60,"","Current",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","current_source","electrical signal source ").join(" ")),this.createVertexTemplateEntry(p+"dc_source_1;",70,75,"","DC",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources", "dc_source_1","electrical signal source ").join(" ")),this.createVertexTemplateEntry(p+"dc_source_2;",60,60,"","DC",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","dc_source_2","electrical signal source ").join(" ")),this.createVertexTemplateEntry(p+"dc_source_3;",60,60,"","DC",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","dc_source_3","electrical signal source ").join(" ")),this.createVertexTemplateEntry(p+"dependent_source_1;",60,60,"","Dependent",null, null,this.getTagsForStencil("mxgraph.electrical.signal_sources","dependent_source_1","electrical signal source ").join(" ")),this.createVertexTemplateEntry(p+"dependent_source_2;",60,60,"","Dependent",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","dependent_source_2","electrical signal source ").join(" ")),this.createVertexTemplateEntry(p+"dependent_source_3;",60,60,"","Dependent",null,null,this.getTagsForStencil("mxgraph.electrical.signal_sources","dependent_source_3","electrical signal source ").join(" ")), @@ -5209,25 +5209,25 @@ null,null,this.getTagsForStencil("mxgraph.electrical.transmission","elbow bus"," "2_line_bus;",130,25,"","2-Line Bus",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","2 two line bus","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(v+"3_line_bus;",130,30,"","3-Line Bus",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","3 three line bus","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(v+"4_line_bus;",130,75,"","4-Line Bus",null,null,this.getTagsForStencil("mxgraph.electrical.transmission", "3 three line bus","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(v+"8_line_bus;",130,180,"","8-Line Bus",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","3 three line bus","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(v+"twoLineBusElbow;notch=25;",120,120,"","2-Line Bus Elbow",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","2 two line bus elbow","electrical transmission paths bus buses").join(" ")), this.createVertexTemplateEntry(v+"threeLineBusElbow;notch=30;",120,120,"","3-Line Bus Elbow",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","3 two line bus elbow","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(v+"fourLineBusElbow;notch=75;",120,120,"","4-Line Bus Elbow",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","4 two line bus elbow","electrical transmission paths bus buses").join(" ")),this.createVertexTemplateEntry(v+ -"eightLineBusElbow;notch=180;",200,200,"","8-Line Bus Elbow",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","8 two line bus elbow","electrical transmission paths bus buses").join(" "))];this.addPalette("electricalTransmission","Electrical / Transmission Paths",!1,mxUtils.bind(this,function(a){for(var c=0;c<z.length;c++)a.appendChild(z[c](a))}))}})();(function(){Sidebar.prototype.addErPalette=function(){var a=this,b=new mxCell("Row",new mxGeometry(0,0,40,26),"text;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;");b.vertex=!0;var e=[this.addEntry("er entity relation table",function(){var c=new mxCell("Table",new mxGeometry(0,0,160,110),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=#e0e0e0;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;align=center;fontSize=14;"); -c.vertex=!0;c.insert(a.cloneCell(b,"Row 1"));c.insert(a.cloneCell(b,"Row 2"));c.insert(a.cloneCell(b,"Row 3"));return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Table")}),this.addEntry("er entity relation table section subsection",function(){var c=new mxCell("Section",new mxGeometry(0,0,140,110),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=22;fillColor=none;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;align=center;fontSize=14;"); -c.vertex=!0;c.insert(a.cloneCell(b,"Row 1"));c.insert(a.cloneCell(b,"Row 2"));c.insert(a.cloneCell(b,"Row 3"));return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Section")}),this.addDataEntry("er entity relation table section subsection",160,144,"ER Table 1","7ZjbbqMwEIafhtuVDSHdXBZ60GpTqWr6AgYcsNbYrHE2SZ9+x8a0SUmURCnZdkUOEjMeH2bm44+CF8Tl6l6RqniQGeVecOuhaw9NvCBWUuo327rKVUw593zEMi+48Xwfwdfz7w6FYRuGKqKo0CfN9JuZfwhf0MbzTBJOG2+t19x56yUrORFgRXMp9MyNILDTgvFsStZyYbauNUl/tVZUSMVeIJ5A5jcYHDCs9Iy9mMn+2KzGOI8ll8ruE1Bk3lszZ2ZFt5eiNcx9bPPE71wPZLUVOCW1bk8pOSdVzRJ7bjOxJCpnIpJay9IFtVnebR9qbl8wTjjLBfhS2IuqthZNNngEtqsmVZqu9rbGujb74lpzT2VJtVpD+JJlunDR46aVqKAsL9olRqPGSerGkb/O3dF18LjGH6Ah6NCwEOz3gv7IukAUpDKXkJhmhD/RVBORm9FIy8rVk9N5W3/lDm+uk7bmeKOmTWxkasdSwq+du2RZZlfdBEVIS2JdkZSJfNrsEozeXE9uN+OSsOScyyWYBSxGhTmN1EST5JXhSjKhbSnDCD5Q8Rh9C70QMo3Bxm82fEy40rEUtVaE2a5SAG1JDWxRpmT1DGjRNtvN+yV8x4x/LDP+ScxMdiAToD6IGXWIefx5NivJ5j25o+/HIrPNx4fhcYgAk6aD++hep1IIU5akrRnqMhCcxEBwMQbCDgMKyukj3I9ooMME2MW+uGJcXiHg97gHOsYdOv61PjR0/GfiEJ4tDv20/2qPOJxPwSAOX18cvg/icAlxuPqk4jDZIw7BIA6DOPgYDepwCXWYfFJ1wPjj+z/owiV1AffyfxN3H1oOutCDLuDTHlTuEoZzAbDOjQflLmjrgfpf"), +"eightLineBusElbow;notch=180;",200,200,"","8-Line Bus Elbow",null,null,this.getTagsForStencil("mxgraph.electrical.transmission","8 two line bus elbow","electrical transmission paths bus buses").join(" "))];this.addPalette("electricalTransmission","Electrical / Transmission Paths",!1,mxUtils.bind(this,function(a){for(var d=0;d<z.length;d++)a.appendChild(z[d](a))}))}})();(function(){Sidebar.prototype.addErPalette=function(){var a=this,b=new mxCell("Row",new mxGeometry(0,0,40,26),"text;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;");b.vertex=!0;var e=[this.addEntry("er entity relation table",function(){var d=new mxCell("Table",new mxGeometry(0,0,160,110),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=#e0e0e0;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;align=center;fontSize=14;"); +d.vertex=!0;d.insert(a.cloneCell(b,"Row 1"));d.insert(a.cloneCell(b,"Row 2"));d.insert(a.cloneCell(b,"Row 3"));return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Table")}),this.addEntry("er entity relation table section subsection",function(){var d=new mxCell("Section",new mxGeometry(0,0,140,110),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=22;fillColor=none;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;align=center;fontSize=14;"); +d.vertex=!0;d.insert(a.cloneCell(b,"Row 1"));d.insert(a.cloneCell(b,"Row 2"));d.insert(a.cloneCell(b,"Row 3"));return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Section")}),this.addDataEntry("er entity relation table section subsection",160,144,"ER Table 1","7ZjbbqMwEIafhtuVDSHdXBZ60GpTqWr6AgYcsNbYrHE2SZ9+x8a0SUmURCnZdkUOEjMeH2bm44+CF8Tl6l6RqniQGeVecOuhaw9NvCBWUuo327rKVUw593zEMi+48Xwfwdfz7w6FYRuGKqKo0CfN9JuZfwhf0MbzTBJOG2+t19x56yUrORFgRXMp9MyNILDTgvFsStZyYbauNUl/tVZUSMVeIJ5A5jcYHDCs9Iy9mMn+2KzGOI8ll8ruE1Bk3lszZ2ZFt5eiNcx9bPPE71wPZLUVOCW1bk8pOSdVzRJ7bjOxJCpnIpJay9IFtVnebR9qbl8wTjjLBfhS2IuqthZNNngEtqsmVZqu9rbGujb74lpzT2VJtVpD+JJlunDR46aVqKAsL9olRqPGSerGkb/O3dF18LjGH6Ah6NCwEOz3gv7IukAUpDKXkJhmhD/RVBORm9FIy8rVk9N5W3/lDm+uk7bmeKOmTWxkasdSwq+du2RZZlfdBEVIS2JdkZSJfNrsEozeXE9uN+OSsOScyyWYBSxGhTmN1EST5JXhSjKhbSnDCD5Q8Rh9C70QMo3Bxm82fEy40rEUtVaE2a5SAG1JDWxRpmT1DGjRNtvN+yV8x4x/LDP+ScxMdiAToD6IGXWIefx5NivJ5j25o+/HIrPNx4fhcYgAk6aD++hep1IIU5akrRnqMhCcxEBwMQbCDgMKyukj3I9ooMME2MW+uGJcXiHg97gHOsYdOv61PjR0/GfiEJ4tDv20/2qPOJxPwSAOX18cvg/icAlxuPqk4jDZIw7BIA6DOPgYDepwCXWYfFJ1wPjj+z/owiV1AffyfxN3H1oOutCDLuDTHlTuEoZzAbDOjQflLmjrgfpf"), this.addDataEntry("er entity relation table section subsection",160,112,"ER Table 2","7ZdRb+IwDIB/TV9Pabuy2+Najj2MSdPYHzBtaKNLkyrNDtivPydNRjtAwLFN22lQpNqxndj+atEgzurVjYKmupMF5UH8KyDXAbkK4kxJqTeyVdWrjHIeRIQVQTwOoojgL4gmh8xCa0YaUFTokzyjzvMP8CfaaR5hzmmnbfWaO227ZDUHgVK6kELP3ApBOa8YL6awlk9m61ZD/ttLaSUVe0Z7wMzHISpwWekZezbO0chEY5xnkktl94kpMd+B58xEdHsp2qLvvc8zfKW6g9XAcAqt9qeUnEPTsrk9t3GsQZVMpFJrWTsjn+VkeKiF/eA6cFYK1OW4F1W+Fl024QXKrppUabra2xqr6vfFteaGyppqtUbzJSt05axHXStJRVlZ+RChaxy0naJ88d3RddS4xh+gId6iQcklKsJtHipozC3mpRnwB5prEKVZTbVsXDk5XfjyK3d2cz/vl9yXtLNNTelYDvzaqWtWFDZqnxMhLYhtAzkT5bTbZUQ2qge3m2mJxJALjmnE4wqDUWFOIzVomL8g3EgmtK1kkuKFBc/IjyRIMNMM5XAj42XMlc6kaLUCZptKkbMlNaylhZLNI5JFfbb9xyV5hUx0LDLRSchc7SAmJu8BzMUWMPe3WKzJ7UnE9EsU7iNoQM0OGo4FaUjNxVtBc4gLk7ZL72gCcimEKdPc15BskxGfREYy+igykj2jJHqfURJ+j5IvPkpG+0bJScR8j5J/HyXJJx0ll5/uX4kN9sXnyMfPDf+Ivy0dP7foOBuLM+dDR8d/Nhwuzx4O57bfKnsvzc5o8HL9Fw=="), -this.addEntry("er entity relation table row",function(){return a.createVertexTemplateFromCells([b.clone()],b.geometry.width,b.geometry.height,"Row 1")}),this.addEntry("er entity relation table row",function(){var c=new mxCell("uniqueId",new mxGeometry(0,0,90,26),"shape=partialRectangle;top=0;left=0;right=0;bottom=0;fillColor=none;align=left;verticalAlign=top;fillColor=none;spacingLeft=34;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;dropTarget=0;fontSize=12;"); -c.vertex=!0;var d=a.cloneCell(b,"PK");d.connectable=!1;d.style="shape=partialRectangle;top=0;left=0;bottom=0;right=0;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[];portConstraint=eastwest;part=1;fontSize=12;";d.geometry.width=30;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Row 2")}),this.addEntry("er entity relation table row",function(){var c=new mxCell("uniqueId",new mxGeometry(0,0,90,26), -"shape=partialRectangle;top=0;left=0;right=0;bottom=1;align=left;verticalAlign=top;fillColor=none;spacingLeft=34;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;dropTarget=0;fontSize=12;");c.vertex=!0;var d=a.cloneCell(b,"PK");d.connectable=!1;d.style="shape=partialRectangle;top=0;left=0;bottom=0;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[];portConstraint=eastwest;part=1;fontSize=12;";d.geometry.width= -30;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Row 3")}),this.addEntry("er entity relation table row",function(){var c=new mxCell("row",new mxGeometry(0,0,120,26),"shape=partialRectangle;top=0;left=0;right=0;bottom=0;align=left;verticalAlign=top;fillColor=none;spacingLeft=60;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;dropTarget=0;fontSize=12;");c.vertex=!0;var d=a.cloneCell(b,"");d.connectable=!1;d.style= -"shape=partialRectangle;fontStyle=1;top=0;left=0;bottom=0;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[];portConstraint=eastwest;part=1;fontSize=12;";d.geometry.width=56;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Row 4")}),this.addEntry("er entity relation table row",function(){var c=new mxCell("uniqueId",new mxGeometry(0,0,90,26),"shape=partialRectangle;top=0;left=0;right=0;bottom=0;align=left;verticalAlign=top;fillColor=none;spacingLeft=34;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;dropTarget=0;fontSize=12;"); -c.vertex=!0;var d=a.cloneCell(b,"PK");d.connectable=!1;d.style="shape=partialRectangle;top=0;left=0;bottom=0;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[];portConstraint=eastwest;part=1;fontSize=12;";d.geometry.width=30;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Row 5")}),this.addEntry("er entity relation table row",function(){var c=new mxCell("uniqueId",new mxGeometry(0,0,90,26),"shape=partialRectangle;top=0;left=0;right=0;bottom=0;align=left;verticalAlign=top;fillColor=none;spacingLeft=34;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;dropTarget=0;fontSize=12;"); -c.vertex=!0;var d=a.cloneCell(b,"");d.connectable=!1;d.style="shape=partialRectangle;top=0;left=0;bottom=0;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[];portConstraint=eastwest;part=1;fontSize=12;";d.geometry.width=30;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Row 6")}),this.addEntry("er entity relation table row",function(){var c=new mxCell("uniqueId",new mxGeometry(0,0,90,26),"shape=partialRectangle;top=0;left=0;right=0;bottom=0;align=left;verticalAlign=top;fillColor=none;spacingLeft=34;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;dropTarget=0;fontSize=12;"); -c.vertex=!0;var d=a.cloneCell(b,"");d.connectable=!1;d.style="shape=partialRectangle;top=0;left=0;bottom=0;right=0;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[];portConstraint=eastwest;part=1;fontSize=12;";d.geometry.width=30;c.insert(d);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Row 7")}),this.addEntry("er entity relation table row divider hline line separator",function(){var c=new mxCell("",new mxGeometry(0, -0,40,8),"line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;");c.vertex=!0;return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Divider")}),this.addEntry("er entity relation table row spacer space gap separator",function(){var c=new mxCell("",new mxGeometry(0,0,20,14),"text;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=4;spacingRight=4;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;"); -c.vertex=!0;return a.createVertexTemplateFromCells([c.clone()],c.geometry.width,c.geometry.height,"Spacer")}),this.createVertexTemplateEntry("text;align=center;verticalAlign=middle;spacingLeft=4;spacingRight=4;fillColor=#e0e0e0;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=14;",80,26,"Title","Title",null,null,"er entity relation table title label"),this.addEntry("er entity relation table",function(){var c=new mxCell("Entity",new mxGeometry(0,0,160,120),"swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;fillColor=#008cff;fontColor=#FFFFFF;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;"); -c.vertex=!0;var b=new mxCell("+Attribute1\n+Attribute2\n+Attribute3",new mxGeometry(0,30,160,90),"align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;");b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Entity 2")}),this.createVertexTemplateEntry("ellipse;shape=doubleEllipse;margin=10;strokeWidth=2;fontSize=14;whiteSpace=wrap;html=1;align=center;",100,100,"Attribute","Attribute", +this.addEntry("er entity relation table row",function(){return a.createVertexTemplateFromCells([b.clone()],b.geometry.width,b.geometry.height,"Row 1")}),this.addEntry("er entity relation table row",function(){var d=new mxCell("uniqueId",new mxGeometry(0,0,90,26),"shape=partialRectangle;top=0;left=0;right=0;bottom=0;fillColor=none;align=left;verticalAlign=top;fillColor=none;spacingLeft=34;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;dropTarget=0;fontSize=12;"); +d.vertex=!0;var c=a.cloneCell(b,"PK");c.connectable=!1;c.style="shape=partialRectangle;top=0;left=0;bottom=0;right=0;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[];portConstraint=eastwest;part=1;fontSize=12;";c.geometry.width=30;d.insert(c);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Row 2")}),this.addEntry("er entity relation table row",function(){var d=new mxCell("uniqueId",new mxGeometry(0,0,90,26), +"shape=partialRectangle;top=0;left=0;right=0;bottom=1;align=left;verticalAlign=top;fillColor=none;spacingLeft=34;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;dropTarget=0;fontSize=12;");d.vertex=!0;var c=a.cloneCell(b,"PK");c.connectable=!1;c.style="shape=partialRectangle;top=0;left=0;bottom=0;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[];portConstraint=eastwest;part=1;fontSize=12;";c.geometry.width= +30;d.insert(c);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Row 3")}),this.addEntry("er entity relation table row",function(){var d=new mxCell("row",new mxGeometry(0,0,120,26),"shape=partialRectangle;top=0;left=0;right=0;bottom=0;align=left;verticalAlign=top;fillColor=none;spacingLeft=60;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;dropTarget=0;fontSize=12;");d.vertex=!0;var c=a.cloneCell(b,"");c.connectable=!1;c.style= +"shape=partialRectangle;fontStyle=1;top=0;left=0;bottom=0;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[];portConstraint=eastwest;part=1;fontSize=12;";c.geometry.width=56;d.insert(c);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Row 4")}),this.addEntry("er entity relation table row",function(){var d=new mxCell("uniqueId",new mxGeometry(0,0,90,26),"shape=partialRectangle;top=0;left=0;right=0;bottom=0;align=left;verticalAlign=top;fillColor=none;spacingLeft=34;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;dropTarget=0;fontSize=12;"); +d.vertex=!0;var c=a.cloneCell(b,"PK");c.connectable=!1;c.style="shape=partialRectangle;top=0;left=0;bottom=0;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[];portConstraint=eastwest;part=1;fontSize=12;";c.geometry.width=30;d.insert(c);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Row 5")}),this.addEntry("er entity relation table row",function(){var d=new mxCell("uniqueId",new mxGeometry(0,0,90,26),"shape=partialRectangle;top=0;left=0;right=0;bottom=0;align=left;verticalAlign=top;fillColor=none;spacingLeft=34;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;dropTarget=0;fontSize=12;"); +d.vertex=!0;var c=a.cloneCell(b,"");c.connectable=!1;c.style="shape=partialRectangle;top=0;left=0;bottom=0;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[];portConstraint=eastwest;part=1;fontSize=12;";c.geometry.width=30;d.insert(c);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Row 6")}),this.addEntry("er entity relation table row",function(){var d=new mxCell("uniqueId",new mxGeometry(0,0,90,26),"shape=partialRectangle;top=0;left=0;right=0;bottom=0;align=left;verticalAlign=top;fillColor=none;spacingLeft=34;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;dropTarget=0;fontSize=12;"); +d.vertex=!0;var c=a.cloneCell(b,"");c.connectable=!1;c.style="shape=partialRectangle;top=0;left=0;bottom=0;right=0;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[];portConstraint=eastwest;part=1;fontSize=12;";c.geometry.width=30;d.insert(c);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Row 7")}),this.addEntry("er entity relation table row divider hline line separator",function(){var d=new mxCell("",new mxGeometry(0, +0,40,8),"line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;");d.vertex=!0;return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Divider")}),this.addEntry("er entity relation table row spacer space gap separator",function(){var d=new mxCell("",new mxGeometry(0,0,20,14),"text;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=4;spacingRight=4;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;"); +d.vertex=!0;return a.createVertexTemplateFromCells([d.clone()],d.geometry.width,d.geometry.height,"Spacer")}),this.createVertexTemplateEntry("text;align=center;verticalAlign=middle;spacingLeft=4;spacingRight=4;fillColor=#e0e0e0;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=14;",80,26,"Title","Title",null,null,"er entity relation table title label"),this.addEntry("er entity relation table",function(){var d=new mxCell("Entity",new mxGeometry(0,0,160,120),"swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;fillColor=#008cff;fontColor=#FFFFFF;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;"); +d.vertex=!0;var b=new mxCell("+Attribute1\n+Attribute2\n+Attribute3",new mxGeometry(0,30,160,90),"align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;");b.vertex=!0;d.insert(b);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Entity 2")}),this.createVertexTemplateEntry("ellipse;shape=doubleEllipse;margin=10;strokeWidth=2;fontSize=14;whiteSpace=wrap;html=1;align=center;",100,100,"Attribute","Attribute", null,null,"er entity relation attribute"),this.createVertexTemplateEntry("ellipse;shape=cloud;strokeWidth=2;fontSize=14;whiteSpace=wrap;html=1;align=center;",100,100,"Cloud","Cloud",null,null,"er entity relation cloud"),this.createVertexTemplateEntry("strokeWidth=2;rounded=1;arcSize=10;whiteSpace=wrap;html=1;align=center;fontSize=14;",100,100,"Entity","Entity 3",null,null,"er entity relation "),this.createVertexTemplateEntry("strokeWidth=2;whiteSpace=wrap;html=1;align=center;fontSize=14;",100,100, "Entity","Entity 4",null,null,"er entity relation "),this.createVertexTemplateEntry("shape=ext;strokeWidth=2;margin=10;double=1;whiteSpace=wrap;html=1;align=center;fontSize=14;",100,100,"Entity","Entity 5",null,null,"er entity relation "),this.createVertexTemplateEntry("shape=rhombus;strokeWidth=2;fontSize=17;perimeter=rhombusPerimeter;whiteSpace=wrap;html=1;align=center;fontSize=14;",100,100,"Has","Has",null,null,"er entity relation has"),this.createVertexTemplateEntry("shape=rhombus;double=1;strokeWidth=2;fontSize=17;perimeter=rhombusPerimeter;whiteSpace=wrap;html=1;align=center;fontSize=14;", -100,100,"Has","Has",null,null,"er entity relation has"),this.addEntry("er entity relation hierarchy",function(){var c=new mxCell("",new mxGeometry(0,0,100,100),"rounded=1;absoluteArcSize=1;html=1;strokeWidth=2;arcSize=10;fontSize=14;");c.vertex=!0;var b=new mxCell("main",new mxGeometry(0,0,50,100),"html=1;strokeWidth=2;shape=mxgraph.er.anchor;fontSize=14;whiteSpace=wrap;");b.vertex=!0;c.insert(b);b=new mxCell("sub",new mxGeometry(50,5,45,90),"rounded=1;absoluteArcSize=1;html=1;strokeWidth=2;arcSize=10;fontSize=14;whiteSpace=wrap;points=[];strokeColor=inherit;fillColor=inherit;"); -b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Hierarchy")}),this.createVertexTemplateEntry("shape=note;strokeWidth=2;fontSize=14;size=20;whiteSpace=wrap;html=1;",100,100,"Note","Note",null,null,"er entity relation note"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERzeroToMany;endFill=1;",100,100,"","0 to Many Optional",null,"er entity relation zero many optional"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERoneToMany;", +100,100,"Has","Has",null,null,"er entity relation has"),this.addEntry("er entity relation hierarchy",function(){var d=new mxCell("",new mxGeometry(0,0,100,100),"rounded=1;absoluteArcSize=1;html=1;strokeWidth=2;arcSize=10;fontSize=14;");d.vertex=!0;var b=new mxCell("main",new mxGeometry(0,0,50,100),"html=1;strokeWidth=2;shape=mxgraph.er.anchor;fontSize=14;whiteSpace=wrap;");b.vertex=!0;d.insert(b);b=new mxCell("sub",new mxGeometry(50,5,45,90),"rounded=1;absoluteArcSize=1;html=1;strokeWidth=2;arcSize=10;fontSize=14;whiteSpace=wrap;points=[];strokeColor=inherit;fillColor=inherit;"); +b.vertex=!0;d.insert(b);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Hierarchy")}),this.createVertexTemplateEntry("shape=note;strokeWidth=2;fontSize=14;size=20;whiteSpace=wrap;html=1;",100,100,"Note","Note",null,null,"er entity relation note"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERzeroToMany;endFill=1;",100,100,"","0 to Many Optional",null,"er entity relation zero many optional"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERoneToMany;", 100,100,"","1 to Many",null,"er entity relation one many"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERmandOne;",100,100,"","1 Mandatory",null,"er entity relation one mandatory"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERmandOne;startArrow=ERmandOne;",100,100,"","1 to 1",null,"er entity relation one"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERone;endFill=1;", 100,100,"","1",null,"er entity relation one"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERzeroToOne;endFill=1;",100,100,"","0 to 1",null,"er entity relation zero one"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERmany;",100,100,"","Many",null,"er entity relation many"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERmany;startArrow=ERmany;",100,100,"","Many to Many", null,"er entity relation many"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERzeroToMany;startArrow=ERzeroToOne;",100,100,"","1 Optional to Many Optional",null,"er entity relation one optional many"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERzeroToMany;startArrow=ERmandOne;",100,100,"","1 Mandatory to Many Optional",null,"er entity relation one mandatory many optional"),this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERzeroToOne;startArrow=ERmandOne;", @@ -5238,7 +5238,7 @@ this.createEdgeTemplateEntry("edgeStyle=entityRelationEdgeStyle;fontSize=12;html 100,"","Wall (Corner SE)",null,null,this.getTagsForStencil("mxgraph.floorplan","wallCorner","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"wallCorner;fillColor=#000000;direction=north",100,100,"","Wall (Corner SW)",null,null,this.getTagsForStencil("mxgraph.floorplan","wallCorner","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"wallU;fillColor=#000000;",100,100,"","Wall (U)",null,null,this.getTagsForStencil("mxgraph.floorplan","wallU","floorplan ").join(" ")),this.createVertexTemplateEntry(a+ "room;fillColor=#000000;",100,100,"","Room",null,null,this.getTagsForStencil("mxgraph.floorplan","room","floorplan ").join(" ")),this.createVertexTemplateEntry("shape=dimension;whiteSpace=wrap;html=1;align=center;points=[];verticalAlign=bottom;spacingBottom=-5;labelBackgroundColor=#ffffff",100,40,"Label","Horizontal Dimension",null,null,"horizontal dimension measure distance unit"),this.createVertexTemplateEntry("shape=dimension;direction=west;whiteSpace=wrap;html=1;align=center;points=[];verticalAlign=top;spacingTop=-8;labelBackgroundColor=#ffffff", 100,40,"Label","Vertical Dimension",null,null,"vertical dimension measure distance unit"),this.createVertexTemplateEntry("shape=dimension;direction=north;whiteSpace=wrap;html=1;align=right;points=[];verticalAlign=middle;labelBackgroundColor=#ffffff",40,100,"Label","Vertical Dimension",null,null,"vertical dimension measure distance unit"),this.createVertexTemplateEntry("shape=dimension;direction=south;whiteSpace=wrap;html=1;align=left;points=[];verticalAlign=middle;labelBackgroundColor=#ffffff",40, -100,"Label","Horizontal Dimension",null,null,"horizontal dimension measure distance unit"),this.createVertexTemplateEntry(a+"window;fillColor=#ffffff;",100,10,"","Window",null,null,this.getTagsForStencil("mxgraph.floorplan","window","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"stairs;",300,100,"","Stairs",null,null,this.getTagsForStencil("mxgraph.floorplan","stairs","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"stairs;direction=south;",100,300,"","Stairs",null,null,this.getTagsForStencil("mxgraph.floorplan", +100,"Label","Horizontal Dimension",null,null,"horizontal dimension measure distance unit"),this.createVertexTemplateEntry(a+"window;",100,10,"","Window",null,null,this.getTagsForStencil("mxgraph.floorplan","window","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"stairs;",300,100,"","Stairs",null,null,this.getTagsForStencil("mxgraph.floorplan","stairs","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"stairs;direction=south;",100,300,"","Stairs",null,null,this.getTagsForStencil("mxgraph.floorplan", "stairs","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"stairsRest;",300,200,"","Stairs",null,null,this.getTagsForStencil("mxgraph.floorplan","stairsRest","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"doorLeft;aspect=fixed;",80,85,"","Door",null,null,this.getTagsForStencil("mxgraph.floorplan","doorLeft","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"doorRight;aspect=fixed;",80,85,"","Door",null,null,this.getTagsForStencil("mxgraph.floorplan","doorRight","floorplan ").join(" ")), this.createVertexTemplateEntry(a+"doorDouble;aspect=fixed;",160,85,"","Door, Double",null,null,this.getTagsForStencil("mxgraph.floorplan","doorDouble","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"bathtub;",180,60,"","Bathtub",null,null,this.getTagsForStencil("mxgraph.floorplan","bathtub","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"bed_double;",200,180,"","Bed, Double",null,null,this.getTagsForStencil("mxgraph.floorplan","bed_double","floorplan ").join(" ")),this.createVertexTemplateEntry(a+ "bed_single;",100,180,"","Bed Single",null,null,this.getTagsForStencil("mxgraph.floorplan","bed_single","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"bookcase;",120,30,"","Bookcase",null,null,this.getTagsForStencil("mxgraph.floorplan","bookcase","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"chair;",41,52,"","Chair",null,null,this.getTagsForStencil("mxgraph.floorplan","chair","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"copier;",110,60,"","Copier",null,null, @@ -5250,28 +5250,28 @@ this.createVertexTemplateEntry(a+"fireplace;",304,200,"","Fireplace",null,null,t "refrigerator;",60,62,"","Refrigerator",null,null,this.getTagsForStencil("mxgraph.floorplan","refrigerator","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"shower;",100,100,"","Shower",null,null,this.getTagsForStencil("mxgraph.floorplan","shower","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"sink_1;",40,35,"","Sink 1",null,null,this.getTagsForStencil("mxgraph.floorplan","sink_1","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"sink_2;",40,35,"","Sink 2",null,null, this.getTagsForStencil("mxgraph.floorplan","sink_2","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"sink_double;",80,35,"","Sink Double",null,null,this.getTagsForStencil("mxgraph.floorplan","sink_double","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"sofa;",90,80,"","Sofa",null,null,this.getTagsForStencil("mxgraph.floorplan","sofa","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"spiral_stairs;",200,200,"","Spiral Stairs",null,null,this.getTagsForStencil("mxgraph.floorplan", "spiral_stairs","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"table;",90,50,"","Table",null,null,this.getTagsForStencil("mxgraph.floorplan","table","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"toilet;",50,67,"","Toilet",null,null,this.getTagsForStencil("mxgraph.floorplan","toilet","floorplan ").join(" ")),this.createVertexTemplateEntry(a+"water_cooler;",40,40,"","Water Cooler",null,null,this.getTagsForStencil("mxgraph.floorplan","water_cooler","floorplan ").join(" ")),this.createVertexTemplateEntry(a+ -"workstation;",50,40,"","Workstation",null,null,this.getTagsForStencil("mxgraph.floorplan","workstation","floorplan ").join(" ")),this.addEntry("floorplan kitchen table small",function(){var b=new mxCell("",new mxGeometry(0,20,80,80),"shape=rect;shadow=0;");b.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,40,52),a+"chair;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(20,68,40,52),a+"chair;shadow=0;rotation=180;");d.vertex=!0;return sb.createVertexTemplateFromCells([c,d,b],80,120,"Small kitchen table")}), -this.addEntry("floorplan kitchen table",function(){var b=new mxCell("",new mxGeometry(20,20,100,100),"shape=rect;shadow=0;");b.vertex=!0;var c=new mxCell("",new mxGeometry(50,0,40,52),a+"chair;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(50,88,40,52),a+"chair;shadow=0;direction=west;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,52,40),a+"chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell("",new mxGeometry(88,50,52,40),a+"chair;shadow=0;direction=south");g.vertex= -!0;return sb.createVertexTemplateFromCells([c,d,f,g,b],140,140,"Kitchen table")}),this.addEntry("floorplan kitchen table",function(){var b=new mxCell("",new mxGeometry(20,20,100,100),"shape=ellipse;shadow=0;");b.vertex=!0;var c=new mxCell("",new mxGeometry(50,0,40,52),a+"chair;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(50,88,40,52),a+"chair;shadow=0;direction=west;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,52,40),a+"chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell("", -new mxGeometry(88,50,52,40),a+"chair;shadow=0;direction=south");g.vertex=!0;return sb.createVertexTemplateFromCells([c,d,f,g,b],140,140,"Round kitchen table")}),this.addEntry("floorplan kitchen table large",function(){var b=new mxCell("",new mxGeometry(20,20,160,100),"shape=rect;shadow=0;");b.vertex=!0;var c=new mxCell("",new mxGeometry(50,0,40,52),a+"chair;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(50,88,40,52),a+"chair;shadow=0;direction=west;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0, -50,52,40),a+"chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell("",new mxGeometry(148,50,52,40),a+"chair;shadow=0;direction=south");g.vertex=!0;var h=new mxCell("",new mxGeometry(110,0,40,52),a+"chair;shadow=0;");h.vertex=!0;var k=new mxCell("",new mxGeometry(110,88,40,52),a+"chair;shadow=0;direction=west;");k.vertex=!0;return sb.createVertexTemplateFromCells([c,d,f,g,h,k,b],200,140,"Large kitchen table")}),this.addEntry("floorplan kitchen table large",function(){var b=new mxCell("",new mxGeometry(20, -20,160,100),"shape=ellipse;shadow=0;");b.vertex=!0;var c=new mxCell("",new mxGeometry(50,0,40,52),a+"chair;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(50,88,40,52),a+"chair;shadow=0;direction=west;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,52,40),a+"chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell("",new mxGeometry(148,50,52,40),a+"chair;shadow=0;direction=south");g.vertex=!0;var h=new mxCell("",new mxGeometry(110,0,40,52),a+"chair;shadow=0;");h.vertex=!0; -var k=new mxCell("",new mxGeometry(110,88,40,52),a+"chair;shadow=0;direction=west;");k.vertex=!0;return sb.createVertexTemplateFromCells([c,d,f,g,h,k,b],200,140,"Large kitchen table")}),this.addEntry("floorplan office table",function(){var b=new mxCell("",new mxGeometry(0,20,80,50),"shape=rect;shadow=0;");b.vertex=!0;var c=new mxCell("",new mxGeometry(20,0,40,43),a+"office_chair;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(15,30,50,40),a+"workstation;shadow=0;flipV=1;");d.vertex=!0; -return sb.createVertexTemplateFromCells([c,b,d],80,70,"Office table")}),this.addEntry("floorplan office table",function(){var b=new mxCell("",new mxGeometry(20,20,100,100),"shape=rect;shadow=0;");b.vertex=!0;var c=new mxCell("",new mxGeometry(50,0,40,43),a+"office_chair;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(50,97,40,43),a+"office_chair;shadow=0;direction=west;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,43,40),a+"office_chair;shadow=0;direction=north;");f.vertex=!0; -var g=new mxCell("",new mxGeometry(97,50,43,40),a+"office_chair;shadow=0;direction=south");g.vertex=!0;return sb.createVertexTemplateFromCells([c,d,f,g,b],140,140,"Office table")}),this.addEntry("floorplan office table large",function(){var b=new mxCell("",new mxGeometry(20,20,160,100),"shape=rect;shadow=0;");b.vertex=!0;var c=new mxCell("",new mxGeometry(50,0,40,43),a+"office_chair;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(50,97,40,43),a+"office_chair;shadow=0;direction=west;"); -d.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,43,40),a+"office_chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell("",new mxGeometry(157,50,43,40),a+"office_chair;shadow=0;direction=south");g.vertex=!0;var h=new mxCell("",new mxGeometry(110,0,40,43),a+"office_chair;shadow=0;");h.vertex=!0;var k=new mxCell("",new mxGeometry(110,97,40,43),a+"office_chair;shadow=0;direction=west;");k.vertex=!0;return sb.createVertexTemplateFromCells([c,d,f,g,h,k,b],200,140,"Large office table")}),this.addEntry("floorplan office table large", -function(){var b=new mxCell("",new mxGeometry(20,20,160,100),"shape=ellipse;shadow=0;");b.vertex=!0;var c=new mxCell("",new mxGeometry(50,0,40,43),a+"office_chair;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(50,97,40,43),a+"office_chair;shadow=0;direction=west;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,43,40),a+"office_chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell("",new mxGeometry(157,50,43,40),a+"office_chair;shadow=0;direction=south");g.vertex=!0;var h= -new mxCell("",new mxGeometry(110,0,40,43),a+"office_chair;shadow=0;");h.vertex=!0;var k=new mxCell("",new mxGeometry(110,97,40,43),a+"office_chair;shadow=0;direction=west;");k.vertex=!0;return sb.createVertexTemplateFromCells([c,d,f,g,h,k,b],200,140,"Large office table")}),this.addEntry("floorplan office table large",function(){var b=new mxCell("",new mxGeometry(20,20,280,100),"shape=ellipse;shadow=0;");b.vertex=!0;var c=new mxCell("",new mxGeometry(50,0,40,43),a+"office_chair;shadow=0;");c.vertex= -!0;var d=new mxCell("",new mxGeometry(50,97,40,43),a+"office_chair;shadow=0;direction=west;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,43,40),a+"office_chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell("",new mxGeometry(277,50,43,40),a+"office_chair;shadow=0;direction=south");g.vertex=!0;var h=new mxCell("",new mxGeometry(110,0,40,43),a+"office_chair;shadow=0;");h.vertex=!0;var k=new mxCell("",new mxGeometry(110,97,40,43),a+"office_chair;shadow=0;direction=west;");k.vertex= -!0;var l=new mxCell("",new mxGeometry(170,0,40,43),a+"office_chair;shadow=0;");l.vertex=!0;var m=new mxCell("",new mxGeometry(170,97,40,43),a+"office_chair;shadow=0;direction=west;");m.vertex=!0;var q=new mxCell("",new mxGeometry(230,0,40,43),a+"office_chair;shadow=0;");q.vertex=!0;var r=new mxCell("",new mxGeometry(230,97,40,43),a+"office_chair;shadow=0;direction=west;");r.vertex=!0;return sb.createVertexTemplateFromCells([c,d,f,g,h,k,l,m,q,r,b],320,140,"Large office table")}),this.addEntry("floorplan office table conference large huge", -function(){var b=new mxCell("",new mxGeometry(20,20,520,100),"shape=ellipse;shadow=0;");b.vertex=!0;var c=new mxCell("",new mxGeometry(50,0,40,43),a+"office_chair;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(50,97,40,43),a+"office_chair;shadow=0;direction=west;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,43,40),a+"office_chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell("",new mxGeometry(517,50,43,40),a+"office_chair;shadow=0;direction=south");g.vertex=!0;var h= +"workstation;",50,40,"","Workstation",null,null,this.getTagsForStencil("mxgraph.floorplan","workstation","floorplan ").join(" ")),this.addEntry("floorplan kitchen table small",function(){var b=new mxCell("",new mxGeometry(0,20,80,80),"shape=rect;shadow=0;");b.vertex=!0;var d=new mxCell("",new mxGeometry(20,0,40,52),a+"chair;shadow=0;");d.vertex=!0;var c=new mxCell("",new mxGeometry(20,68,40,52),a+"chair;shadow=0;rotation=180;");c.vertex=!0;return sb.createVertexTemplateFromCells([d,c,b],80,120,"Small kitchen table")}), +this.addEntry("floorplan kitchen table",function(){var b=new mxCell("",new mxGeometry(20,20,100,100),"shape=rect;shadow=0;");b.vertex=!0;var d=new mxCell("",new mxGeometry(50,0,40,52),a+"chair;shadow=0;");d.vertex=!0;var c=new mxCell("",new mxGeometry(50,88,40,52),a+"chair;shadow=0;direction=west;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,52,40),a+"chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell("",new mxGeometry(88,50,52,40),a+"chair;shadow=0;direction=south");g.vertex= +!0;return sb.createVertexTemplateFromCells([d,c,f,g,b],140,140,"Kitchen table")}),this.addEntry("floorplan kitchen table",function(){var b=new mxCell("",new mxGeometry(20,20,100,100),"shape=ellipse;shadow=0;");b.vertex=!0;var d=new mxCell("",new mxGeometry(50,0,40,52),a+"chair;shadow=0;");d.vertex=!0;var c=new mxCell("",new mxGeometry(50,88,40,52),a+"chair;shadow=0;direction=west;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,52,40),a+"chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell("", +new mxGeometry(88,50,52,40),a+"chair;shadow=0;direction=south");g.vertex=!0;return sb.createVertexTemplateFromCells([d,c,f,g,b],140,140,"Round kitchen table")}),this.addEntry("floorplan kitchen table large",function(){var b=new mxCell("",new mxGeometry(20,20,160,100),"shape=rect;shadow=0;");b.vertex=!0;var d=new mxCell("",new mxGeometry(50,0,40,52),a+"chair;shadow=0;");d.vertex=!0;var c=new mxCell("",new mxGeometry(50,88,40,52),a+"chair;shadow=0;direction=west;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0, +50,52,40),a+"chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell("",new mxGeometry(148,50,52,40),a+"chair;shadow=0;direction=south");g.vertex=!0;var h=new mxCell("",new mxGeometry(110,0,40,52),a+"chair;shadow=0;");h.vertex=!0;var k=new mxCell("",new mxGeometry(110,88,40,52),a+"chair;shadow=0;direction=west;");k.vertex=!0;return sb.createVertexTemplateFromCells([d,c,f,g,h,k,b],200,140,"Large kitchen table")}),this.addEntry("floorplan kitchen table large",function(){var b=new mxCell("",new mxGeometry(20, +20,160,100),"shape=ellipse;shadow=0;");b.vertex=!0;var d=new mxCell("",new mxGeometry(50,0,40,52),a+"chair;shadow=0;");d.vertex=!0;var c=new mxCell("",new mxGeometry(50,88,40,52),a+"chair;shadow=0;direction=west;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,52,40),a+"chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell("",new mxGeometry(148,50,52,40),a+"chair;shadow=0;direction=south");g.vertex=!0;var h=new mxCell("",new mxGeometry(110,0,40,52),a+"chair;shadow=0;");h.vertex=!0; +var k=new mxCell("",new mxGeometry(110,88,40,52),a+"chair;shadow=0;direction=west;");k.vertex=!0;return sb.createVertexTemplateFromCells([d,c,f,g,h,k,b],200,140,"Large kitchen table")}),this.addEntry("floorplan office table",function(){var b=new mxCell("",new mxGeometry(0,20,80,50),"shape=rect;shadow=0;");b.vertex=!0;var d=new mxCell("",new mxGeometry(20,0,40,43),a+"office_chair;shadow=0;");d.vertex=!0;var c=new mxCell("",new mxGeometry(15,30,50,40),a+"workstation;shadow=0;flipV=1;");c.vertex=!0; +return sb.createVertexTemplateFromCells([d,b,c],80,70,"Office table")}),this.addEntry("floorplan office table",function(){var b=new mxCell("",new mxGeometry(20,20,100,100),"shape=rect;shadow=0;");b.vertex=!0;var d=new mxCell("",new mxGeometry(50,0,40,43),a+"office_chair;shadow=0;");d.vertex=!0;var c=new mxCell("",new mxGeometry(50,97,40,43),a+"office_chair;shadow=0;direction=west;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,43,40),a+"office_chair;shadow=0;direction=north;");f.vertex=!0; +var g=new mxCell("",new mxGeometry(97,50,43,40),a+"office_chair;shadow=0;direction=south");g.vertex=!0;return sb.createVertexTemplateFromCells([d,c,f,g,b],140,140,"Office table")}),this.addEntry("floorplan office table large",function(){var b=new mxCell("",new mxGeometry(20,20,160,100),"shape=rect;shadow=0;");b.vertex=!0;var d=new mxCell("",new mxGeometry(50,0,40,43),a+"office_chair;shadow=0;");d.vertex=!0;var c=new mxCell("",new mxGeometry(50,97,40,43),a+"office_chair;shadow=0;direction=west;"); +c.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,43,40),a+"office_chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell("",new mxGeometry(157,50,43,40),a+"office_chair;shadow=0;direction=south");g.vertex=!0;var h=new mxCell("",new mxGeometry(110,0,40,43),a+"office_chair;shadow=0;");h.vertex=!0;var k=new mxCell("",new mxGeometry(110,97,40,43),a+"office_chair;shadow=0;direction=west;");k.vertex=!0;return sb.createVertexTemplateFromCells([d,c,f,g,h,k,b],200,140,"Large office table")}),this.addEntry("floorplan office table large", +function(){var b=new mxCell("",new mxGeometry(20,20,160,100),"shape=ellipse;shadow=0;");b.vertex=!0;var d=new mxCell("",new mxGeometry(50,0,40,43),a+"office_chair;shadow=0;");d.vertex=!0;var c=new mxCell("",new mxGeometry(50,97,40,43),a+"office_chair;shadow=0;direction=west;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,43,40),a+"office_chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell("",new mxGeometry(157,50,43,40),a+"office_chair;shadow=0;direction=south");g.vertex=!0;var h= +new mxCell("",new mxGeometry(110,0,40,43),a+"office_chair;shadow=0;");h.vertex=!0;var k=new mxCell("",new mxGeometry(110,97,40,43),a+"office_chair;shadow=0;direction=west;");k.vertex=!0;return sb.createVertexTemplateFromCells([d,c,f,g,h,k,b],200,140,"Large office table")}),this.addEntry("floorplan office table large",function(){var b=new mxCell("",new mxGeometry(20,20,280,100),"shape=ellipse;shadow=0;");b.vertex=!0;var d=new mxCell("",new mxGeometry(50,0,40,43),a+"office_chair;shadow=0;");d.vertex= +!0;var c=new mxCell("",new mxGeometry(50,97,40,43),a+"office_chair;shadow=0;direction=west;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,43,40),a+"office_chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell("",new mxGeometry(277,50,43,40),a+"office_chair;shadow=0;direction=south");g.vertex=!0;var h=new mxCell("",new mxGeometry(110,0,40,43),a+"office_chair;shadow=0;");h.vertex=!0;var k=new mxCell("",new mxGeometry(110,97,40,43),a+"office_chair;shadow=0;direction=west;");k.vertex= +!0;var l=new mxCell("",new mxGeometry(170,0,40,43),a+"office_chair;shadow=0;");l.vertex=!0;var m=new mxCell("",new mxGeometry(170,97,40,43),a+"office_chair;shadow=0;direction=west;");m.vertex=!0;var q=new mxCell("",new mxGeometry(230,0,40,43),a+"office_chair;shadow=0;");q.vertex=!0;var r=new mxCell("",new mxGeometry(230,97,40,43),a+"office_chair;shadow=0;direction=west;");r.vertex=!0;return sb.createVertexTemplateFromCells([d,c,f,g,h,k,l,m,q,r,b],320,140,"Large office table")}),this.addEntry("floorplan office table conference large huge", +function(){var b=new mxCell("",new mxGeometry(20,20,520,100),"shape=ellipse;shadow=0;");b.vertex=!0;var d=new mxCell("",new mxGeometry(50,0,40,43),a+"office_chair;shadow=0;");d.vertex=!0;var c=new mxCell("",new mxGeometry(50,97,40,43),a+"office_chair;shadow=0;direction=west;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,43,40),a+"office_chair;shadow=0;direction=north;");f.vertex=!0;var g=new mxCell("",new mxGeometry(517,50,43,40),a+"office_chair;shadow=0;direction=south");g.vertex=!0;var h= new mxCell("",new mxGeometry(110,0,40,43),a+"office_chair;shadow=0;");h.vertex=!0;var k=new mxCell("",new mxGeometry(110,97,40,43),a+"office_chair;shadow=0;direction=west;");k.vertex=!0;var l=new mxCell("",new mxGeometry(170,0,40,43),a+"office_chair;shadow=0;");l.vertex=!0;var m=new mxCell("",new mxGeometry(170,97,40,43),a+"office_chair;shadow=0;direction=west;");m.vertex=!0;var q=new mxCell("",new mxGeometry(230,0,40,43),a+"office_chair;shadow=0;");q.vertex=!0;var r=new mxCell("",new mxGeometry(230, 97,40,43),a+"office_chair;shadow=0;direction=west;");r.vertex=!0;var n=new mxCell("",new mxGeometry(290,0,40,43),a+"office_chair;shadow=0;");n.vertex=!0;var p=new mxCell("",new mxGeometry(290,97,40,43),a+"office_chair;shadow=0;direction=west;");p.vertex=!0;var u=new mxCell("",new mxGeometry(350,0,40,43),a+"office_chair;shadow=0;");u.vertex=!0;var t=new mxCell("",new mxGeometry(350,97,40,43),a+"office_chair;shadow=0;direction=west;");t.vertex=!0;var y=new mxCell("",new mxGeometry(410,0,40,43),a+"office_chair;shadow=0;"); -y.vertex=!0;var x=new mxCell("",new mxGeometry(410,97,40,43),a+"office_chair;shadow=0;direction=west;");x.vertex=!0;var w=new mxCell("",new mxGeometry(470,0,40,43),a+"office_chair;shadow=0;");w.vertex=!0;var v=new mxCell("",new mxGeometry(470,97,40,43),a+"office_chair;shadow=0;direction=west;");v.vertex=!0;return sb.createVertexTemplateFromCells([c,d,f,g,h,k,l,m,q,r,n,p,u,t,y,x,w,v,b],560,140,"Conference table")})];this.addPalette("floorplan",mxResources.get("floorplans"),!1,mxUtils.bind(this,function(a){for(var c= -0;c<b.length;c++)a.appendChild(b[c](a))}))}})();(function(){Sidebar.prototype.addFlowchartPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;strokeWidth=2;shape=mxgraph.flowchart.",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;strokeWidth=2;shape=";this.addPaletteFunctions("flowchart",mxResources.get("flowchart"),!1,[this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.annotation_1;align=left;pointerEvents=1;", -50,100,"","Annotation",null,null,this.getTagsForStencil("mxgraph.flowchart","annotation_1","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;",50,100,"","Annotation",null,null,this.getTagsForStencil("mxgraph.flowchart","annotation_2","").join(" ")),this.createVertexTemplateEntry(b+"card;whiteSpace=wrap;size=20;arcSize=12;",100,60,"","Card",null,null,this.getTagsForStencil("mxgraph.flowchart","card", -"").join(" ")),this.createVertexTemplateEntry(a+"collate;",100,100,"","Collate",null,null,this.getTagsForStencil("mxgraph.flowchart","collate","").join(" ")),this.createVertexTemplateEntry("shape=parallelogram;html=1;strokeWidth=2;perimeter=parallelogramPerimeter;whiteSpace=wrap;rounded=1;arcSize=12;size=0.23;",100,60,"","Data",null,null,this.getTagsForStencil("mxgraph.flowchart","data","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.database;whiteSpace=wrap;", -60,60,"","Database",null,null,this.getTagsForStencil("mxgraph.flowchart","database","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;",100,100,"","Decision",null,null,this.getTagsForStencil("mxgraph.flowchart","decision","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.delay;whiteSpace=wrap;",100,60,"","Delay",null,null,this.getTagsForStencil("mxgraph.flowchart","delay","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.direct_data;whiteSpace=wrap;", +y.vertex=!0;var x=new mxCell("",new mxGeometry(410,97,40,43),a+"office_chair;shadow=0;direction=west;");x.vertex=!0;var w=new mxCell("",new mxGeometry(470,0,40,43),a+"office_chair;shadow=0;");w.vertex=!0;var v=new mxCell("",new mxGeometry(470,97,40,43),a+"office_chair;shadow=0;direction=west;");v.vertex=!0;return sb.createVertexTemplateFromCells([d,c,f,g,h,k,l,m,q,r,n,p,u,t,y,x,w,v,b],560,140,"Conference table")})];this.addPalette("floorplan",mxResources.get("floorplans"),!1,mxUtils.bind(this,function(a){for(var d= +0;d<b.length;d++)a.appendChild(b[d](a))}))}})();(function(){Sidebar.prototype.addFlowchartPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shape=mxgraph.flowchart.",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shape=";this.addPaletteFunctions("flowchart",mxResources.get("flowchart"),!1,[this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.annotation_1;align=left;pointerEvents=1;",50,100,"","Annotation", +null,null,this.getTagsForStencil("mxgraph.flowchart","annotation_1","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;",50,100,"","Annotation",null,null,this.getTagsForStencil("mxgraph.flowchart","annotation_2","").join(" ")),this.createVertexTemplateEntry(b+"card;whiteSpace=wrap;size=20;arcSize=12;",100,60,"","Card",null,null,this.getTagsForStencil("mxgraph.flowchart","card","").join(" ")),this.createVertexTemplateEntry(a+ +"collate;",100,100,"","Collate",null,null,this.getTagsForStencil("mxgraph.flowchart","collate","").join(" ")),this.createVertexTemplateEntry("shape=parallelogram;html=1;strokeWidth=2;perimeter=parallelogramPerimeter;whiteSpace=wrap;rounded=1;arcSize=12;size=0.23;",100,60,"","Data",null,null,this.getTagsForStencil("mxgraph.flowchart","data","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.database;whiteSpace=wrap;",60,60,"","Database",null,null,this.getTagsForStencil("mxgraph.flowchart", +"database","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;",100,100,"","Decision",null,null,this.getTagsForStencil("mxgraph.flowchart","decision","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.delay;whiteSpace=wrap;",100,60,"","Delay",null,null,this.getTagsForStencil("mxgraph.flowchart","delay","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.direct_data;whiteSpace=wrap;", 100,60,"","Direct Data",null,null,this.getTagsForStencil("mxgraph.flowchart","direct_data","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.display;whiteSpace=wrap;",100,60,"","Display",null,null,this.getTagsForStencil("mxgraph.flowchart","display","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.document2;whiteSpace=wrap;size=0.25;",100,60,"","Document",null,null,this.getTagsForStencil("mxgraph.flowchart","document", "").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.extract_or_measurement;whiteSpace=wrap;",95,60,"","Extract or Measurement",null,null,this.getTagsForStencil("mxgraph.flowchart","extract_or_measurement","").join(" ")),this.createVertexTemplateEntry("shape=internalStorage;whiteSpace=wrap;html=1;dx=15;dy=15;rounded=1;arcSize=8;strokeWidth=2;",70,70,"","Internal Storage",null,null,this.getTagsForStencil("mxgraph.flowchart","internal_storage","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.loop_limit;whiteSpace=wrap;", 100,60,"","Loop Limit",null,null,this.getTagsForStencil("mxgraph.flowchart","loop_limit","").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=2;shape=manualInput;whiteSpace=wrap;rounded=1;size=26;arcSize=11;",100,60,"","Manual Input",null,null,this.getTagsForStencil("mxgraph.flowchart","manual_input","").join(" ")),this.createVertexTemplateEntry(b+"trapezoid;perimeter=trapezoidPerimeter;whiteSpace=wrap;size=0.23;arcSize=10;flipV=1;",100,60,"","Manual Operation",null,null,this.getTagsForStencil("mxgraph.flowchart", @@ -5293,24 +5293,23 @@ this.addGCP2IconsStoragePalette();this.addGCP2IconsSecurityPalette();this.addGCP 100,0,"","Optional Primary Path",null,"gcp google cloud platform path optional primary"),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=blockThin;endFill=1;rounded=0;strokeWidth=2;endSize=4;startSize=4;dashed=0;strokeColor=#9E9E9E;",100,0,"","Secondary Path",null,"gcp google cloud platform path secondary"),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=blockThin;endFill=1;rounded=0;strokeWidth=2;endSize=4;startSize=4;dashed=1;dashPattern=1 3;strokeColor=#9E9E9E;", 100,0,"","Optional Secondary Path",null,"gcp google cloud platform path optional secondary"),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=blockThin;endFill=1;rounded=0;strokeWidth=2;endSize=4;startSize=4;strokeColor=#34A853;dashed=0;",100,0,"","Success Status",null,"gcp google cloud platform path success status"),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=blockThin;endFill=1;rounded=0;strokeWidth=2;endSize=4;startSize=4;strokeColor=#EA4335;dashed=0;", 100,0,"","Failure Status",null,"gcp google cloud platform path failure status")];this.addPalette("gcp2Paths","GCP / Paths",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addGCP2ZonesPalette=function(){var a=this,b="points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[1,1,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];rounded=1;absoluteArcSize=1;arcSize=2;html=1;strokeColor=none;gradientColor=none;shadow=0;dashed=0;fontSize=12;fontColor=#9E9E9E;align=left;verticalAlign=top;spacing=10;spacingTop=-4;", -e=[],e=[this.createVertexTemplateEntry(b+"fillColor=#ffffff;",120,70,"User 1","User 1 (Default)",null,null,this.getTagsForStencil("mxgraph.gcp2.zones","","gcp google cloud platform zone user").join(" ")),this.createVertexTemplateEntry(b+"fillColor=#F3E5F5;",120,150,"Infrastructure\nSystem","Infrastructure System",null,null,this.getTagsForStencil("mxgraph.gcp2.zones","","gcp google cloud platform zone infrastructure system").join(" ")),this.createVertexTemplateEntry(b+"fillColor=#EFEBE9;",120,200, -"colo / dc /\non-premises","colo / dc / on-premises",null,null,this.getTagsForStencil("mxgraph.gcp2.zones","","gcp google cloud platform zone colo dc on premises").join(" ")),this.createVertexTemplateEntry(b+"fillColor=#F1F8E9;",120,70,"System 1","System 1",null,null,this.getTagsForStencil("mxgraph.gcp2.zones","","gcp google cloud platform zone system").join(" ")),this.createVertexTemplateEntry(b+"fillColor=#FFEBEE;",120,70,"External SaaS\nProviders","External SaaS Providers",null,null,this.getTagsForStencil("mxgraph.gcp2.zones", +e=[],e=[this.createVertexTemplateEntry(b+"",120,70,"User 1","User 1 (Default)",null,null,this.getTagsForStencil("mxgraph.gcp2.zones","","gcp google cloud platform zone user").join(" ")),this.createVertexTemplateEntry(b+"fillColor=#F3E5F5;",120,150,"Infrastructure\nSystem","Infrastructure System",null,null,this.getTagsForStencil("mxgraph.gcp2.zones","","gcp google cloud platform zone infrastructure system").join(" ")),this.createVertexTemplateEntry(b+"fillColor=#EFEBE9;",120,200,"colo / dc /\non-premises", +"colo / dc / on-premises",null,null,this.getTagsForStencil("mxgraph.gcp2.zones","","gcp google cloud platform zone colo dc on premises").join(" ")),this.createVertexTemplateEntry(b+"fillColor=#F1F8E9;",120,70,"System 1","System 1",null,null,this.getTagsForStencil("mxgraph.gcp2.zones","","gcp google cloud platform zone system").join(" ")),this.createVertexTemplateEntry(b+"fillColor=#FFEBEE;",120,70,"External SaaS\nProviders","External SaaS Providers",null,null,this.getTagsForStencil("mxgraph.gcp2.zones", "","gcp google cloud platform zone external saas providers").join(" ")),this.createVertexTemplateEntry(b+"fillColor=#FFF8E1;",120,70,"External Data\nSources","External Data Sources",null,null,this.getTagsForStencil("mxgraph.gcp2.zones","","gcp google cloud platform zone external data sources").join(" ")),this.createVertexTemplateEntry(b+"fillColor=#E0F2F1;",120,75,"External\nInfrastructure\n3<sup>rd</sup> Party","External Infrastructure 3rd party",null,null,this.getTagsForStencil("mxgraph.gcp2.zones", -"","gcp google cloud platform zone external infrastructure 3rd party").join(" ")),this.createVertexTemplateEntry(b+"fillColor=#E1F5FE;",120,75,"External\nInfrastructure\n1<sup>st</sup> Party","External Infrastructure 1st party",null,null,this.getTagsForStencil("mxgraph.gcp2.zones","","gcp google cloud platform zone external infrastructure 1st party").join(" ")),this.addEntry("gcp google cloud platform zone project cloud service provider",function(){var c=new mxCell("Project Zone / Cloud Service Provider", -new mxGeometry(0,0,530,490),b+"fillColor=#F6F6F6;");c.vertex=!0;var d=new mxCell("Logical Grouping of Services / Instances",new mxGeometry(0,0,250,180),b+"fillColor=#E3F2FD;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,50);d.vertex=!0;c.insert(d);var f=new mxCell("Zone",new mxGeometry(0,0,230,120),b+"fillColor=#FFF3E0;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(10,50);f.vertex=!0;d.insert(f);d=new mxCell("SubNetwork",new mxGeometry(0,0,210,60),b+"fillColor=#EDE7F6;");d.geometry.relative= -!0;d.geometry.offset=new mxPoint(10,50);d.vertex=!0;f.insert(d);f=new mxCell("Kubernetes cluster",new mxGeometry(0,0,250,120),b+"fillColor=#FCE4EC;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(10,240);f.vertex=!0;c.insert(f);d=new mxCell("pod",new mxGeometry(0,0,210,60),b+"fillColor=#E8F5E9;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,50);d.vertex=!0;f.insert(d);f=new mxCell("Account",new mxGeometry(0,0,250,60),b+"fillColor=#E8EAF6;");f.geometry.relative=!0;f.geometry.offset= -new mxPoint(10,370);f.vertex=!0;c.insert(f);f=new mxCell("Region",new mxGeometry(0,0,250,310),b+"fillColor=#ECEFF1;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(270,50);f.vertex=!0;c.insert(f);d=new mxCell("Zone",new mxGeometry(0,0,230,250),b+"fillColor=#FFF3E0;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,50);d.vertex=!0;f.insert(d);f=new mxCell("Firewall",new mxGeometry(0,0,210,190),b+"fillColor=#FBE9E7;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(10,50);f.vertex= -!0;d.insert(f);d=new mxCell("Instance Group",new mxGeometry(0,0,190,60),b+"fillColor=#F9FBE7;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,50);d.vertex=!0;f.insert(d);d=new mxCell("Replica Pool",new mxGeometry(0,0,190,60),b+"fillColor=#E0F7FA;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(10,120);d.vertex=!0;f.insert(d);f=new mxCell("Optional Component",new mxGeometry(0,0,250,60),"rounded=1;absoluteArcSize=1;arcSize=2;html=1;strokeColor=none;gradientColor=none;shadow=0;dashed=1;strokeColor=#4284F3;fontSize=12;fontColor=#9E9E9E;align=left;verticalAlign=top;spacing=10;spacingTop=-4;fillColor=none;dashPattern=1 2;strokeWidth=2;"); -f.geometry.relative=!0;f.geometry.offset=new mxPoint(270,370);f.vertex=!0;c.insert(f);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Project Zone / Cloud Service Provider")}),this.createVertexTemplateEntry("fillColor=#4DA1F5;strokeColor=none;shadow=1;gradientColor=none;fontSize=14;align=left;spacingLeft=50;fontColor=#ffffff;",1E3,40,"Architecture: App Engine and Cloud Endpoints","Title bar",null,null,this.getTagsForStencil("mxgraph.gcp2.zones","","gcp google cloud platform zone title bar").join(" ")), -this.createVertexTemplateEntry("fillColor=#ffffff;strokeColor=none;shadow=0;gradientColor=none;fontSize=11;align=left;spacing=10;fontColor=#;9E9E9E;verticalAlign=top;spacingTop=100;",300,350,"Use this note to call out\nor clarify parts of a diagram","Note",null,null,this.getTagsForStencil("mxgraph.gcp2.zones","","gcp google cloud platform zone note").join(" ")),this.addEntry("gcp google cloud platform zone project",function(){var c=new mxCell("<b>Google </b>Cloud Platform",new mxGeometry(0,0,650, -350),"fillColor=#F6F6F6;strokeColor=none;shadow=0;gradientColor=none;fontSize=14;align=left;spacing=10;fontColor=#717171;9E9E9E;verticalAlign=top;spacingTop=-4;fontStyle=0;spacingLeft=40;html=1;");c.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,23,20),"shape=mxgraph.gcp2.google_cloud_platform;fillColor=#F6F6F6;strokeColor=none;shadow=0;gradientColor=none;");b.geometry.relative=!0;b.geometry.offset=new mxPoint(20,10);b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width, -c.geometry.height,"Project Zone")}),this.addEntry("gcp google cloud platform zone markers",function(){b="shape=ellipse;perimeter=ellipsePerimeter;fillColor=#ffffff;strokeColor=#BDBDBD;strokeWidth=2;shadow=0;gradientColor=none;fontColor=#757575;align=center;html=1;fontStyle=1;spacingTop=-1;";var c=new mxCell("1",new mxGeometry(0,0,20,20),b);c.vertex=!0;var d=new mxCell("2",new mxGeometry(40,0,20,20),b);d.vertex=!0;var f=new mxCell("3",new mxGeometry(80,0,20,20),b);f.vertex=!0;var e=new mxCell("4", -new mxGeometry(120,0,20,20),b);e.vertex=!0;var h=new mxCell("5",new mxGeometry(160,0,20,20),b);h.vertex=!0;var k=new mxCell("6",new mxGeometry(200,0,20,20),b);k.vertex=!0;var l=new mxCell("7",new mxGeometry(240,0,20,20),b);l.vertex=!0;var m=new mxCell("Markers to be used with the legend",new mxGeometry(0,20,260,30),"strokeColor=none;fillColor=none;fontColor=#757575;align=left;html=1;fontStyle=0;fontSize=11;");m.vertex=!0;return a.createVertexTemplateFromCells([c,d,f,e,h,k,l,m],260,50,"Markers")}), -this.addEntry("gcp google cloud platform zone markers",function(){var c=new mxCell("",new mxGeometry(0,0,600,70),"fillColor=#ffffff;strokeColor=#BDBDBD;strokeWidth=1;shadow=0;gradientColor=none;");c.vertex=!0;var b=new mxCell("1 Commit code",new mxGeometry(0,0,200,30),"strokeColor=none;fillColor=none;fontColor=#757575;align=left;html=1;fontStyle=0;spacingLeft=5;fontSize=11;verticalAlign=top;whiteSpace=wrap;spacingRight=5;");b.geometry.relative=!0;b.vertex=!0;c.insert(b);b=new mxCell("2 Detect code change", -new mxGeometry(0,0,200,30),"strokeColor=none;fillColor=none;fontColor=#757575;align=left;html=1;fontStyle=0;spacingLeft=5;fontSize=11;verticalAlign=top;whiteSpace=wrap;spacingRight=5;");b.geometry.relative=!0;b.geometry.offset=new mxPoint(0,30);b.vertex=!0;c.insert(b);b=new mxCell("3 Build immutable image",new mxGeometry(0,0,200,30),"strokeColor=none;fillColor=none;fontColor=#757575;align=left;html=1;fontStyle=0;spacingLeft=5;fontSize=11;verticalAlign=top;whiteSpace=wrap;spacingRight=5;");b.geometry.relative= -!0;b.geometry.offset=new mxPoint(200,0);b.vertex=!0;c.insert(b);b=new mxCell("4 Launch test instance from image",new mxGeometry(0,0,200,30),"strokeColor=none;fillColor=none;fontColor=#757575;align=left;html=1;fontStyle=0;spacingLeft=5;fontSize=11;verticalAlign=top;whiteSpace=wrap;spacingRight=5;");b.geometry.relative=!0;b.geometry.offset=new mxPoint(200,30);b.vertex=!0;c.insert(b);b=new mxCell("5 Run tests",new mxGeometry(0,0,200,30),"strokeColor=none;fillColor=none;fontColor=#757575;align=left;html=1;fontStyle=0;spacingLeft=5;fontSize=11;verticalAlign=top;whiteSpace=wrap;spacingRight=5;"); -b.geometry.relative=!0;b.geometry.offset=new mxPoint(400,0);b.vertex=!0;c.insert(b);b=new mxCell("6 Perform rolling update of image to autoscaler",new mxGeometry(0,0,200,30),"strokeColor=none;fillColor=none;fontColor=#757575;align=left;html=1;fontStyle=0;spacingLeft=5;fontSize=11;verticalAlign=top;whiteSpace=wrap;spacingRight=5;");b.geometry.relative=!0;b.geometry.offset=new mxPoint(400,30);b.vertex=!0;c.insert(b);return a.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,"Markers")})]; -this.addPalette("gcp2Zones","GCP / Zones",!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addGCP2GeneralIconsPalette=function(){var a=[],a=[this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.biomedical_trio",100,68,null,"Biomedical Trio",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon biomedical trio").join(" ")), +"","gcp google cloud platform zone external infrastructure 3rd party").join(" ")),this.createVertexTemplateEntry(b+"fillColor=#E1F5FE;",120,75,"External\nInfrastructure\n1<sup>st</sup> Party","External Infrastructure 1st party",null,null,this.getTagsForStencil("mxgraph.gcp2.zones","","gcp google cloud platform zone external infrastructure 1st party").join(" ")),this.addEntry("gcp google cloud platform zone project cloud service provider",function(){var d=new mxCell("Project Zone / Cloud Service Provider", +new mxGeometry(0,0,530,490),b+"fillColor=#F6F6F6;");d.vertex=!0;var c=new mxCell("Logical Grouping of Services / Instances",new mxGeometry(0,0,250,180),b+"fillColor=#E3F2FD;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,50);c.vertex=!0;d.insert(c);var f=new mxCell("Zone",new mxGeometry(0,0,230,120),b+"fillColor=#FFF3E0;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(10,50);f.vertex=!0;c.insert(f);c=new mxCell("SubNetwork",new mxGeometry(0,0,210,60),b+"fillColor=#EDE7F6;");c.geometry.relative= +!0;c.geometry.offset=new mxPoint(10,50);c.vertex=!0;f.insert(c);f=new mxCell("Kubernetes cluster",new mxGeometry(0,0,250,120),b+"fillColor=#FCE4EC;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(10,240);f.vertex=!0;d.insert(f);c=new mxCell("pod",new mxGeometry(0,0,210,60),b+"fillColor=#E8F5E9;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,50);c.vertex=!0;f.insert(c);f=new mxCell("Account",new mxGeometry(0,0,250,60),b+"fillColor=#E8EAF6;");f.geometry.relative=!0;f.geometry.offset= +new mxPoint(10,370);f.vertex=!0;d.insert(f);f=new mxCell("Region",new mxGeometry(0,0,250,310),b+"fillColor=#ECEFF1;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(270,50);f.vertex=!0;d.insert(f);c=new mxCell("Zone",new mxGeometry(0,0,230,250),b+"fillColor=#FFF3E0;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,50);c.vertex=!0;f.insert(c);f=new mxCell("Firewall",new mxGeometry(0,0,210,190),b+"fillColor=#FBE9E7;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(10,50);f.vertex= +!0;c.insert(f);c=new mxCell("Instance Group",new mxGeometry(0,0,190,60),b+"fillColor=#F9FBE7;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,50);c.vertex=!0;f.insert(c);c=new mxCell("Replica Pool",new mxGeometry(0,0,190,60),b+"fillColor=#E0F7FA;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,120);c.vertex=!0;f.insert(c);f=new mxCell("Optional Component",new mxGeometry(0,0,250,60),"rounded=1;absoluteArcSize=1;arcSize=2;html=1;strokeColor=none;gradientColor=none;shadow=0;dashed=1;strokeColor=#4284F3;fontSize=12;fontColor=#9E9E9E;align=left;verticalAlign=top;spacing=10;spacingTop=-4;fillColor=none;dashPattern=1 2;strokeWidth=2;"); +f.geometry.relative=!0;f.geometry.offset=new mxPoint(270,370);f.vertex=!0;d.insert(f);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Project Zone / Cloud Service Provider")}),this.createVertexTemplateEntry("fillColor=#4DA1F5;strokeColor=none;shadow=1;gradientColor=none;fontSize=14;align=left;spacingLeft=50;fontColor=#ffffff;",1E3,40,"Architecture: App Engine and Cloud Endpoints","Title bar",null,null,this.getTagsForStencil("mxgraph.gcp2.zones","","gcp google cloud platform zone title bar").join(" ")), +this.createVertexTemplateEntry("strokeColor=none;shadow=0;gradientColor=none;fontSize=11;align=left;spacing=10;fontColor=#;9E9E9E;verticalAlign=top;spacingTop=100;",300,350,"Use this note to call out\nor clarify parts of a diagram","Note",null,null,this.getTagsForStencil("mxgraph.gcp2.zones","","gcp google cloud platform zone note").join(" ")),this.addEntry("gcp google cloud platform zone project",function(){var d=new mxCell("<b>Google </b>Cloud Platform",new mxGeometry(0,0,650,350),"fillColor=#F6F6F6;strokeColor=none;shadow=0;gradientColor=none;fontSize=14;align=left;spacing=10;fontColor=#717171;9E9E9E;verticalAlign=top;spacingTop=-4;fontStyle=0;spacingLeft=40;html=1;"); +d.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,23,20),"shape=mxgraph.gcp2.google_cloud_platform;fillColor=#F6F6F6;strokeColor=none;shadow=0;gradientColor=none;");b.geometry.relative=!0;b.geometry.offset=new mxPoint(20,10);b.vertex=!0;d.insert(b);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Project Zone")}),this.addEntry("gcp google cloud platform zone markers",function(){b="shape=ellipse;perimeter=ellipsePerimeter;strokeColor=#BDBDBD;strokeWidth=2;shadow=0;gradientColor=none;fontColor=#757575;align=center;html=1;fontStyle=1;spacingTop=-1;"; +var d=new mxCell("1",new mxGeometry(0,0,20,20),b);d.vertex=!0;var c=new mxCell("2",new mxGeometry(40,0,20,20),b);c.vertex=!0;var f=new mxCell("3",new mxGeometry(80,0,20,20),b);f.vertex=!0;var e=new mxCell("4",new mxGeometry(120,0,20,20),b);e.vertex=!0;var h=new mxCell("5",new mxGeometry(160,0,20,20),b);h.vertex=!0;var k=new mxCell("6",new mxGeometry(200,0,20,20),b);k.vertex=!0;var l=new mxCell("7",new mxGeometry(240,0,20,20),b);l.vertex=!0;var m=new mxCell("Markers to be used with the legend",new mxGeometry(0, +20,260,30),"strokeColor=none;fillColor=none;fontColor=#757575;align=left;html=1;fontStyle=0;fontSize=11;");m.vertex=!0;return a.createVertexTemplateFromCells([d,c,f,e,h,k,l,m],260,50,"Markers")}),this.addEntry("gcp google cloud platform zone markers",function(){var d=new mxCell("",new mxGeometry(0,0,600,70),"strokeColor=#BDBDBD;strokeWidth=1;shadow=0;gradientColor=none;");d.vertex=!0;var b=new mxCell("1 Commit code",new mxGeometry(0,0,200,30),"strokeColor=none;fillColor=none;fontColor=#757575;align=left;html=1;fontStyle=0;spacingLeft=5;fontSize=11;verticalAlign=top;whiteSpace=wrap;spacingRight=5;"); +b.geometry.relative=!0;b.vertex=!0;d.insert(b);b=new mxCell("2 Detect code change",new mxGeometry(0,0,200,30),"strokeColor=none;fillColor=none;fontColor=#757575;align=left;html=1;fontStyle=0;spacingLeft=5;fontSize=11;verticalAlign=top;whiteSpace=wrap;spacingRight=5;");b.geometry.relative=!0;b.geometry.offset=new mxPoint(0,30);b.vertex=!0;d.insert(b);b=new mxCell("3 Build immutable image",new mxGeometry(0,0,200,30),"strokeColor=none;fillColor=none;fontColor=#757575;align=left;html=1;fontStyle=0;spacingLeft=5;fontSize=11;verticalAlign=top;whiteSpace=wrap;spacingRight=5;"); +b.geometry.relative=!0;b.geometry.offset=new mxPoint(200,0);b.vertex=!0;d.insert(b);b=new mxCell("4 Launch test instance from image",new mxGeometry(0,0,200,30),"strokeColor=none;fillColor=none;fontColor=#757575;align=left;html=1;fontStyle=0;spacingLeft=5;fontSize=11;verticalAlign=top;whiteSpace=wrap;spacingRight=5;");b.geometry.relative=!0;b.geometry.offset=new mxPoint(200,30);b.vertex=!0;d.insert(b);b=new mxCell("5 Run tests",new mxGeometry(0,0,200,30),"strokeColor=none;fillColor=none;fontColor=#757575;align=left;html=1;fontStyle=0;spacingLeft=5;fontSize=11;verticalAlign=top;whiteSpace=wrap;spacingRight=5;"); +b.geometry.relative=!0;b.geometry.offset=new mxPoint(400,0);b.vertex=!0;d.insert(b);b=new mxCell("6 Perform rolling update of image to autoscaler",new mxGeometry(0,0,200,30),"strokeColor=none;fillColor=none;fontColor=#757575;align=left;html=1;fontStyle=0;spacingLeft=5;fontSize=11;verticalAlign=top;whiteSpace=wrap;spacingRight=5;");b.geometry.relative=!0;b.geometry.offset=new mxPoint(400,30);b.vertex=!0;d.insert(b);return a.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,"Markers")})]; +this.addPalette("gcp2Zones","GCP / Zones",!1,mxUtils.bind(this,function(a){for(var d=0;d<e.length;d++)a.appendChild(e[d](a))}))};Sidebar.prototype.addGCP2GeneralIconsPalette=function(){var a=[],a=[this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.biomedical_trio",100,68,null,"Biomedical Trio",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon biomedical trio").join(" ")), this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.biomedical_beaker",69,100,null,"Biomedical Beaker",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon biomedical beaker").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.biomedical_test_tube",31,100,null, "Biomedical Test Tube",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon biomedical test tube").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.check_available",100,87,null,"Check Available",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon check available").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.cloud_monitoring", 90,100,null,"Cloud Monitoring",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon cloud monitoring").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.repository",60,100,null,"Repository",null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform general icons icon repository").join(" ")),this.createVertexTemplateEntry("html=1;aspect=fixed;strokeColor=none;shadow=0;align=center;verticalAlign=top;fillColor=#3B8DF1;shape=mxgraph.gcp2.compute_engine_2", @@ -5377,11 +5376,11 @@ a);this.addGCP2ServiceCard("Google\nEdge POP","google_network_edge_cache",110,56 "gateway",130,44,"gcp google cloud platform service cards vpn gateway virtual private network",a);this.addGCP2ServiceCard("Application\nSystem(s)","application_system",110,44,"gcp google cloud platform service cards application system systems",a);this.addGCP2ServiceCard("Virtual\nFile System","virtual_file_system",110,44,"gcp google cloud platform service cards virtual file system",a);this.addGCP2ServiceCard("CDN\nInterconnect","google_network_edge_cache",120,44,"gcp google cloud platform service cards cdn content delivery network interconnect", a);this.addGCP2ServiceCard("Scheduled\nTasks","scheduled_tasks",110,44,"gcp google cloud platform service cards scheduled tasks",a);this.addGCP2ServiceCard("HTTPS\nLoad Balancer","network_load_balancer",130,44,"gcp google cloud platform service cards https secure load balancer",a);this.addGCP2ServiceCard("Persistent\nDisk Snapshot","persistent_disk_snapshot",130,44,"gcp google cloud platform service cards persistent disk snapshot",a);this.addGCP2ServiceCard("Persistent\nDisk","persistent_disk_snapshot", 110,44,"gcp google cloud platform service cards persistent disk",a);this.addGCP2ServiceCard("Network\nLoad\nBalancer","network_load_balancer",100,56,"gcp google cloud platform service cards network load balancer",a);this.addGCP2ServiceCard("Google\n Network W/\nEdge Cache","google_network_edge_cache",120,56,"gcp google cloud platform service cards google network witch edge cache",a);this.addGCP2ServiceCard("Push\nNotification\nService","push_notification_service",110,56,"gcp google cloud platform service cards push notification service", -a);this.addGCP2ServiceCard("Blank One Line","blank",140,44,"gcp google cloud platform service cards blank one line",a);a.push(this.addEntry("gcp google cloud platform service cards blank one line",function(){var a=new mxCell("Blank One Line",new mxGeometry(0,0,100,44),"dashed=0;strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;labelPosition=center;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#000000;fontSize=12;");a.vertex=!0;return sb.createVertexTemplateFromCells([a], -100,44,"Blank One Line")}));this.addGCP2ServiceCard("Blank Two\n& Three Line","blank",120,44,"gcp google cloud platform service cards blank two and three line",a);a.push(this.addEntry("gcp google cloud platform service cards blank two and three line",function(){var a=new mxCell("Blank Two\n& Three Line",new mxGeometry(0,0,90,44),"dashed=0;strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;labelPosition=center;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#000000;fontSize=12;"); -a.vertex=!0;return sb.createVertexTemplateFromCells([a],100,44,"Blank One Line")}));this.addPalette("gcp2Service Cards","GCP / Service Cards",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addGCP2ComputePalette=function(){var a=[];this.addGCP2CardSet("Compute\nEngine","compute_engine",110,160,"gcp google cloud platform compute compute engine",a);this.addGCP2CardSet("GPU","gpu",90,100,"gcp google cloud platform compute gpu graphics processing unit", -a);this.addGCP2CardSet("App\nEngine","app_engine",100,130,"gcp google cloud platform compute app engine application",a);this.addGCP2CardSet("Cloud\nFunctions","cloud_functions",120,150,"gcp google cloud platform compute functions",a);this.addGCP2CardSet("Kubernetes\nEngine","container_engine",130,170,"gcp google cloud platform compute kubernetes engine",a);this.addGCP2CardSet("Container-\nOptimized OS","container_optimized_os",140,200,"gcp google cloud platform compute container optimized os operating system", -a);this.addGCP2CardSet("Cloud Run","cloud_run",120,120,"gcp google cloud platform compute cloud run",a);this.addGCP2CardSet("GKE-on-Prem","gke_on_prem",140,140,"gcp google cloud platform compute gke on prem premise",a);this.addPalette("gcp2Compute","GCP / Compute",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addGCP2APIManagementPalette=function(){var a=[];this.addGCP2CardSet("API\nAnalytics","api_analytics",110,140,"gcp google cloud platform api management api analytics application programming interface", +a);this.addGCP2ServiceCard("Blank One Line","blank",140,44,"gcp google cloud platform service cards blank one line",a);a.push(this.addEntry("gcp google cloud platform service cards blank one line",function(){var a=new mxCell("Blank One Line",new mxGeometry(0,0,100,44),"dashed=0;strokeColor=#dddddd;shadow=1;strokeWidth=1;labelPosition=center;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontSize=12;");a.vertex=!0;return sb.createVertexTemplateFromCells([a],100,44,"Blank One Line")})); +this.addGCP2ServiceCard("Blank Two\n& Three Line","blank",120,44,"gcp google cloud platform service cards blank two and three line",a);a.push(this.addEntry("gcp google cloud platform service cards blank two and three line",function(){var a=new mxCell("Blank Two\n& Three Line",new mxGeometry(0,0,90,44),"dashed=0;strokeColor=#dddddd;shadow=1;strokeWidth=1;labelPosition=center;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontSize=12;");a.vertex=!0;return sb.createVertexTemplateFromCells([a], +100,44,"Blank One Line")}));this.addPalette("gcp2Service Cards","GCP / Service Cards",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addGCP2ComputePalette=function(){var a=[];this.addGCP2CardSet("Compute\nEngine","compute_engine",110,160,"gcp google cloud platform compute compute engine",a);this.addGCP2CardSet("GPU","gpu",90,100,"gcp google cloud platform compute gpu graphics processing unit",a);this.addGCP2CardSet("App\nEngine","app_engine", +100,130,"gcp google cloud platform compute app engine application",a);this.addGCP2CardSet("Cloud\nFunctions","cloud_functions",120,150,"gcp google cloud platform compute functions",a);this.addGCP2CardSet("Kubernetes\nEngine","container_engine",130,170,"gcp google cloud platform compute kubernetes engine",a);this.addGCP2CardSet("Container-\nOptimized OS","container_optimized_os",140,200,"gcp google cloud platform compute container optimized os operating system",a);this.addGCP2CardSet("Cloud Run","cloud_run", +120,120,"gcp google cloud platform compute cloud run",a);this.addGCP2CardSet("GKE-on-Prem","gke_on_prem",140,140,"gcp google cloud platform compute gke on prem premise",a);this.addPalette("gcp2Compute","GCP / Compute",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addGCP2APIManagementPalette=function(){var a=[];this.addGCP2CardSet("API\nAnalytics","api_analytics",110,140,"gcp google cloud platform api management api analytics application programming interface", a);this.addGCP2CardSet("Apigee\nSense","apigee_sense",100,140,"gcp google cloud platform api management apigee sense",a);this.addGCP2CardSet("API\nMonetization","api_monetization",130,160,"gcp google cloud platform api management api monetization application programming interface",a);this.addGCP2CardSet("Cloud\nEndpoints","cloud_endpoints",120,150,"gcp google cloud platform api management cloud endpoints",a);this.addGCP2CardSet("Apigee API\nPlatform","apigee_api_platform",130,170,"gcp google cloud platform api management apigee api platform application programming interface", a);this.addGCP2CardSet("Developer\nPortal","developer_portal",120,160,"gcp google cloud platform api management developer portal",a);this.addPalette("gcp2API Management","GCP / API Management",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addGCP2SecurityPalette=function(){var a=[];this.addGCP2CardSet("Cloud\nIAM","cloud_iam",100,120,"gcp google cloud platform security cloud iam",a);this.addGCP2CardSet("BeyondCorp","beyondcorp",130,130,"gcp google cloud platform security beyondcorp", a);this.addGCP2CardSet("Cloud Resource\nManager","cloud_iam",150,200,"gcp google cloud platform security cloud resource manager",a);this.addGCP2CardSet("Data Loss\nPrevention API","data_loss_prevention_api",140,200,"gcp google cloud platform security data loss prevention api application programming interface",a);this.addGCP2CardSet("Cloud Security\nScanner","cloud_security_scanner",140,190,"gcp google cloud platform security cloud security scanner",a);this.addGCP2CardSet("Key Management\nService", @@ -5432,24 +5431,24 @@ this.createVertexTemplateEntry(a+"ai_hub",66,58.5,"AI Hub",null,null,null,this.g "automl_natural_language",66,58.5,"AutoML Natural\nLanguage",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning automl natural language").join(" ")),this.createVertexTemplateEntry(a+"automl_tables",66,58.5,"AutoML Tables",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning automl tables").join(" ")),this.createVertexTemplateEntry(a+"automl_translation",66,58.5,"AutoML\nTranslation", null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning automl translation").join(" ")),this.createVertexTemplateEntry(a+"automl_vision",66,58.5,"AutoML Vision",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning automl vision").join(" ")),this.createVertexTemplateEntry(a+"recommendations_ai",66,58.5,"Recommendations\nAI",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning recommendations ai artificial intelligence").join(" ")), this.createVertexTemplateEntry(a+"cloud_inference_api",66,58.5,"Cloud\nInference API",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning cloud inference api application programming interface").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"AI Platform\nData Labeling\nService",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning ai artificial intelligence platform data labeling service").join(" ")), -this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning generic placeholder product").join(" "))];this.addPalette("gcp2Icons AI Machine Learning","GCP Icons / AI and Machine Learning",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGCP2IconsComputePalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+ +this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon ai machine learning generic placeholder product").join(" "))];this.addPalette("gcp2Icons AI Machine Learning","GCP Icons / AI and Machine Learning",!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))};Sidebar.prototype.addGCP2IconsComputePalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+ mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"compute_engine",66,58.5,"Compute\nEngine",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon compute compute engine").join(" ")),this.createVertexTemplateEntry(a+"app_engine",66,58.5,"App\nEngine",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon compute app engine").join(" ")),this.createVertexTemplateEntry(a+"container_engine", 66,58.5,"Kubernetes\nEngine",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon compute kubernetes engine").join(" ")),this.createVertexTemplateEntry(a+"cloud_run",66,58.5,"Cloud Run",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon compute cloud run").join(" ")),this.createVertexTemplateEntry(a+"gpu",66,58.5,"GPU",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon compute gpu graphics processing unit").join(" ")), this.createVertexTemplateEntry(a+"cloud_functions",66,58.5,"Cloud\nFunctions",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon compute functions").join(" ")),this.createVertexTemplateEntry(a+"container_optimized_os",66,58.5,"Container-\nOptimized OS",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon compute container optimized os operating system").join(" ")),this.createVertexTemplateEntry(a+"gke_on_prem",66, -58.5,"Cloud Run",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon compute cloud run").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon compute generic placeholder product").join(" "))];this.addPalette("gcp2Icons Compute","GCP Icons / Compute",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))}; +58.5,"Cloud Run",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon compute cloud run").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon compute generic placeholder product").join(" "))];this.addPalette("gcp2Icons Compute","GCP Icons / Compute",!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))}; Sidebar.prototype.addGCP2IconsDataAnalyticsPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"bigquery",66,58.5,"BigQuery",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon data analytics bigquery big query").join(" ")), this.createVertexTemplateEntry(a+"cloud_dataflow",66,58.5,"Cloud\nDataflow",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon data analytics dataflow").join(" ")),this.createVertexTemplateEntry(a+"cloud_dataproc",66,58.5,"Cloud\nDataproc",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon data analytics dataproc").join(" ")),this.createVertexTemplateEntry(a+"cloud_dataprep",66,58.5,"Cloud\nDataprep",null,null,null, this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon data analytics dataprep").join(" ")),this.createVertexTemplateEntry(a+"cloud_data_catalog",66,58.5,"Cloud Data Catalog",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon data analytics cloud data catalog").join(" ")),this.createVertexTemplateEntry(a+"cloud_datalab",66,58.5,"Cloud\nDatalab",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon data analytics datalab").join(" ")), this.createVertexTemplateEntry(a+"cloud_pubsub",66,58.5,"Cloud\nPub/Sub",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon data analytics pubsub").join(" ")),this.createVertexTemplateEntry(a+"genomics",66,58.5,"Genomics",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon data analytics genomics").join(" ")),this.createVertexTemplateEntry(a+"cloud_composer",66,58.5,"Cloud\nComposer",null,null,null,this.getTagsForStencil("mxgraph.gcp2", "","gcp google cloud platform icons icon data analytics composer").join(" ")),this.createVertexTemplateEntry(a+"cloud_data_fusion",66,58.5,"Cloud Data\nFusion",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon data analytics cloud data fusion").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon data analytics generic placeholder product").join(" "))]; -this.addPalette("gcp2Icons Data Analytics","GCP Icons / Data Analytics",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGCP2IconsManagementToolsPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+ +this.addPalette("gcp2Icons Data Analytics","GCP Icons / Data Analytics",!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))};Sidebar.prototype.addGCP2IconsManagementToolsPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+ "stackdriver",66,58.5,"Stackdriver",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon management tools stackdriver").join(" ")),this.createVertexTemplateEntry(a+"cloud_deployment_manager",66,58.5,"Monitoring",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon management tools monitoring").join(" ")),this.createVertexTemplateEntry(a+"logging",66,58.5,"Logging",null,null,null,this.getTagsForStencil("mxgraph.gcp2", "","gcp google cloud platform icons icon management tools logging").join(" ")),this.createVertexTemplateEntry(a+"error_reporting",66,58.5,"Error\nReporting",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon management tools error reporting").join(" ")),this.createVertexTemplateEntry(a+"trace",66,58.5,"Trace",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon management tools trace").join(" ")),this.createVertexTemplateEntry(a+ "debugger",66,58.5,"Debugger",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon management tools debugger").join(" ")),this.createVertexTemplateEntry(a+"cloud_deployment_manager",66,58.5,"Cloud\nDeployment\nManager",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon management tools deployment manager").join(" ")),this.createVertexTemplateEntry(a+"cloud_apis",66,58.5,"Cloud\nAPIs",null,null,null,this.getTagsForStencil("mxgraph.gcp2", "","gcp google cloud platform icons icon management tools apis api application programming interface interfaces").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Cloud\nConsole",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon management tools console").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Cloud\nShell",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon management tools shell").join(" ")), this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Cloud Mobile\nApp",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon management tools mobile app application").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Cloud\nBilling API",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon management tools billing api application programming interface").join(" ")),this.createVertexTemplateEntry(a+ "profiler",66,58.5,"Profiler",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon management tools profiler").join(" ")),this.createVertexTemplateEntry(a+"cloud_service_mesh",66,58.5,"Cloud Service Mesh",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon management tools cloud service mesh").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2", -"","gcp google cloud platform icons icon management tools generic placeholder product").join(" "))];this.addPalette("gcp2Icons Management Tools","GCP Icons / Management Tools",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGCP2IconsNetworkingPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+ +"","gcp google cloud platform icons icon management tools generic placeholder product").join(" "))];this.addPalette("gcp2Icons Management Tools","GCP Icons / Management Tools",!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))};Sidebar.prototype.addGCP2IconsNetworkingPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+ mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"virtual_private_cloud",66,58.5,"Virtual\nPrivate Cloud",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking vpc virtual private").join(" ")),this.createVertexTemplateEntry(a+"cloud_load_balancing",66,58.5,"Cloud Load\nBalancing",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking load balancing").join(" ")), this.createVertexTemplateEntry(a+"cloud_cdn",66,58.5,"Cloud\nCDN",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking cdn").join(" ")),this.createVertexTemplateEntry(a+"cloud_external_ip_addresses",66,58.5,"Cloud\nExternal IP\nAddresses",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking extrernal ip internet protocol address addresses").join(" ")),this.createVertexTemplateEntry(a+"cloud_firewall_rules", 66,58.5,"Cloud\nFirewall Rules",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking firewall rules rule").join(" ")),this.createVertexTemplateEntry(a+"cloud_router",66,58.5,"Cloud\nRouter",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking router").join(" ")),this.createVertexTemplateEntry(a+"dedicated_interconnect",66,58.5,"Dedicated\nInterconnect",null,null,null,this.getTagsForStencil("mxgraph.gcp2", @@ -5457,7 +5456,7 @@ this.createVertexTemplateEntry(a+"cloud_cdn",66,58.5,"Cloud\nCDN",null,null,null "cloud_routes",66,58.5,"Cloud\nRoutes",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking routes").join(" ")),this.createVertexTemplateEntry(a+"cloud_vpn",66,58.5,"Cloud VPN",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking vpn virtual private network").join(" ")),this.createVertexTemplateEntry(a+"partner_interconnect",66,58.5,"Partner\nInterconnect",null,null,null,this.getTagsForStencil("mxgraph.gcp2", "","gcp google cloud platform icons icon networking partner interconnect").join(" ")),this.createVertexTemplateEntry(a+"cloud_armor",66,58.5,"Cloud Armor",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking armor").join(" ")),this.createVertexTemplateEntry(a+"standard_network_tier",66,58.5,"Standard\nNetwork Tier",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking standard network tier").join(" ")), this.createVertexTemplateEntry(a+"premium_network_tier",66,58.5,"Premium\nNetwork Tier",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking premium network tier").join(" ")),this.createVertexTemplateEntry(a+"cloud_nat",66,58.5,"Cloud NAT",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking nat").join(" ")),this.createVertexTemplateEntry(a+"traffic_director",66,58.5,"Traffic Director",null,null, -null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking traffic director").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking generic placeholder product").join(" "))];this.addPalette("gcp2Icons Networking","GCP Icons / Networking",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))}; +null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking traffic director").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon networking generic placeholder product").join(" "))];this.addPalette("gcp2Icons Networking","GCP Icons / Networking",!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))}; Sidebar.prototype.addGCP2IconsDeveloperToolsPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Cloud SDK",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools sdk software development kit").join(" ")), this.createVertexTemplateEntry(a+"cloud_test_lab",66,58.5,"Cloud\nTest Lab",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools test lab").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Cloud Source\nRepositories",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools source repositories").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Maven App\nEngine Plugin", null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools maven app engine plugin").join(" ")),this.createVertexTemplateEntry(a+"cloud_tools_for_powershell",66,58.5,"Cloud\nTools for\nPowerShell",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools tools for powershell power shell").join(" ")),this.createVertexTemplateEntry(a+"cloud_tools_for_powershell",66,58.5,"Clout\nTools for\nVisual Studio", @@ -5465,63 +5464,63 @@ null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platfo "","gcp google cloud platform icons icon developer tools tools for eclipse").join(" ")),this.createVertexTemplateEntry(a+"cloud_tools_for_powershell",66,58.5,"IDE Plugins",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools ide integrated development environment plugins").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Gradle App\nEngine Plugin",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools gradle app application engine plugin").join(" ")), this.createVertexTemplateEntry(a+"container_builder",66,58.5,"Cloud Build",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools build").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Cloud Tools\nfor IntelliJ",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools tools for intellij").join(" ")),this.createVertexTemplateEntry(a+"cloud_code",66,58.5,"Cloud Code",null, null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools code").join(" ")),this.createVertexTemplateEntry(a+"cloud_tasks",66,58.5,"Cloud Tasks",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools tasks").join(" ")),this.createVertexTemplateEntry("html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;fontSize=11;fontStyle=1;fontColor=#999999;shape=mxgraph.gcp2.cloud_scheduler", -30,34.5,"Cloud Scheduler",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools scheduler").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools generic placeholder product").join(" "))];this.addPalette("gcp2Icons Developer Tools","GCP Icons / Developer Tools",!1,mxUtils.bind(this,function(a){for(var c= -0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGCP2IconsAPIManagementPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"api_analytics",66,58.5,"API\nAnalytics",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon api application programming interface managementapi application programming interface analytics").join(" ")), +30,34.5,"Cloud Scheduler",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools scheduler").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon developer tools generic placeholder product").join(" "))];this.addPalette("gcp2Icons Developer Tools","GCP Icons / Developer Tools",!1,mxUtils.bind(this,function(a){for(var d= +0;d<b.length;d++)a.appendChild(b[d](a))}))};Sidebar.prototype.addGCP2IconsAPIManagementPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"api_analytics",66,58.5,"API\nAnalytics",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon api application programming interface managementapi application programming interface analytics").join(" ")), this.createVertexTemplateEntry(a+"api_monetization",66,58.5,"API\nMonetization",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon api application programming interface managementapi application programming interface monetization").join(" ")),this.createVertexTemplateEntry(a+"apigee_api_platform",66,58.5,"Apigee API\nPlatform",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon api application programming interface managementapigee api application programming interface platform").join(" ")), this.createVertexTemplateEntry(a+"cloud_endpoints",66,58.5,"Cloud\nEndpoints",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon api application programming interface managementendpoints").join(" ")),this.createVertexTemplateEntry(a+"developer_portal",66,58.5,"Developer\nPortal",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon api application programming interface managementdeveloper portal").join(" ")),this.createVertexTemplateEntry(a+ "apigee_sense",66,58.5,"Apigee\nSense",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon api application programming interface managementapigee sense").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon api application programming interface managementgeneric placeholder product").join(" "))];this.addPalette("gcp2Icons API Management", -"GCP Icons / API Management",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGCP2IconsInternetOfThingsPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"cloud_iot_core",66,58.5,"Cloud IoT\nCore", -null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon internet of things iot iot internet of things core").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon internet of things iot generic placeholder product").join(" "))];this.addPalette("gcp2Icons Internet of Things","GCP Icons / Internet of Things",!1,mxUtils.bind(this,function(a){for(var c= -0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGCP2IconsDatabasesPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"cloud_bigtable",66,58.5,"Cloud\nBigtable",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon databases db bigtable").join(" ")), +"GCP Icons / API Management",!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))};Sidebar.prototype.addGCP2IconsInternetOfThingsPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"cloud_iot_core",66,58.5,"Cloud IoT\nCore", +null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon internet of things iot iot internet of things core").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon internet of things iot generic placeholder product").join(" "))];this.addPalette("gcp2Icons Internet of Things","GCP Icons / Internet of Things",!1,mxUtils.bind(this,function(a){for(var d= +0;d<b.length;d++)a.appendChild(b[d](a))}))};Sidebar.prototype.addGCP2IconsDatabasesPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"cloud_bigtable",66,58.5,"Cloud\nBigtable",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon databases db bigtable").join(" ")), this.createVertexTemplateEntry(a+"cloud_datastore",66,58.5,"Cloud\nDatastore",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon databases db datastore").join(" ")),this.createVertexTemplateEntry(a+"cloud_memorystore",66,58.5,"Cloud\nMemorystore",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon databases db memorystore").join(" ")),this.createVertexTemplateEntry(a+"cloud_sql",66,58.5,"Cloud SQL",null,null,null, this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon databases db sql").join(" ")),this.createVertexTemplateEntry(a+"cloud_spanner",66,58.5,"Cloud\nSpanner",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon databases db spanner").join(" ")),this.createVertexTemplateEntry(a+"cloud_firestore",66,58.5,"Cloud\nFirestore",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon databases db firestore").join(" ")), -this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon databases db generic placeholder product").join(" "))];this.addPalette("gcp2Icons Databases","GCP Icons / Databases",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGCP2IconsStoragePalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+ +this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon databases db generic placeholder product").join(" "))];this.addPalette("gcp2Icons Databases","GCP Icons / Databases",!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))};Sidebar.prototype.addGCP2IconsStoragePalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+ mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"persistent_disk",66,58.5,"Persistent\nDisk",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon storagepersistent disk").join(" ")),this.createVertexTemplateEntry(a+"cloud_filestore",66,58.5,"Cloud\nFilestore",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon storagefilestore").join(" ")),this.createVertexTemplateEntry(a+ -"cloud_storage",66,58.5,"Cloud\nStorage",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon storagestorage").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon storagegeneric placeholder product").join(" "))];this.addPalette("gcp2Icons Storage","GCP Icons / Storage",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))}; +"cloud_storage",66,58.5,"Cloud\nStorage",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon storagestorage").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon storagegeneric placeholder product").join(" "))];this.addPalette("gcp2Icons Storage","GCP Icons / Storage",!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))}; Sidebar.prototype.addGCP2IconsSecurityPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"cloud_iam",66,58.5,"Cloud IAM",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon securityiam").join(" ")),this.createVertexTemplateEntry(a+ "cloud_iam",66,58.5,"Cloud Resource\nManager",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon securityresource manager").join(" ")),this.createVertexTemplateEntry(a+"cloud_security_scanner",66,58.5,"Cloud Security\nScanner",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon securitysecurity scanner").join(" ")),this.createVertexTemplateEntry(a+"key_management_service",66,58.5,"Key\nManagement\nService",null,null, null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon securitykey management service").join(" ")),this.createVertexTemplateEntry(a+"cloud_security_command_center",66,58.5,"Cloud Security\nCommand\nCenter",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon securitysecurity command center").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2", -"","gcp google cloud platform icons icon securitygeneric placeholder product").join(" "))];this.addPalette("gcp2Icons Security","GCP Icons / Security",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGCP2IconsMigrationPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+mxConstants.STYLE_SHAPE+ +"","gcp google cloud platform icons icon securitygeneric placeholder product").join(" "))];this.addPalette("gcp2Icons Security","GCP Icons / Security",!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))};Sidebar.prototype.addGCP2IconsMigrationPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+mxConstants.STYLE_SHAPE+ "=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"transfer_appliance",66,58.5,"Transfer\nAppliance",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon migrationtransfer appliance").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon migrationgeneric placeholder product").join(" "))];this.addPalette("gcp2Icons Migration", -"GCP Icons / Migration",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGCP2IconsHybridAndMultiCloudPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"traffic_director",66,58.5,"Traffic Director", +"GCP Icons / Migration",!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))};Sidebar.prototype.addGCP2IconsHybridAndMultiCloudPalette=function(){var a="html=1;fillColor=#5184F3;strokeColor=none;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;align=center;spacingTop=-6;fontSize=11;fontStyle=1;fontColor=#999999;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",b=[],b=[this.createVertexTemplateEntry(a+"traffic_director",66,58.5,"Traffic Director", null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon migrationtraffic director").join(" ")),this.createVertexTemplateEntry(a+"stackdriver",66,58.5,"Stackdriver",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon migrationstackdriver").join(" ")),this.createVertexTemplateEntry(a+"placeholder",66,58.5,"Generic GCP\nProduct",null,null,null,this.getTagsForStencil("mxgraph.gcp2","","gcp google cloud platform icons icon migrationgeneric placeholder product").join(" "))]; -this.addPalette("gcp2Icons Hybrid and Multi Cloud","GCP Icons / Hybrid and Multi Cloud",!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGCP2CardSet=function(a,b,e,c,d,f){var g=this,h="dashed=0;connectable=0;html=1;fillColor=#5184F3;strokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",k=a.replace("\n"," "),k=k.replace("- ","-");f.push(this.addEntry(d,function(){var c=new mxCell("",new mxGeometry(0,0,e,60),"strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;"); -c.vertex=!0;var d=new mxCell(a,new mxGeometry(0,.5,44,39),h+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#999999;fontSize=12;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(5,-19.5);d.vertex=!0;c.insert(d);return g.createVertexTemplateFromCells([c],c.geometry.width,c.geometry.height,k)}));f.push(this.addEntry(d,function(){var a=new mxCell("",new mxGeometry(0,0,c,60),"strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;"); -a.vertex=!0;var d=new mxCell('<font color="#000000">Name</font><br>'+k,new mxGeometry(0,.5,44,39),h+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#999999;fontSize=12;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(5,-19.5);d.vertex=!0;a.insert(d);return g.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,k)}));f.push(this.addEntry(d,function(){var a=new mxCell("",new mxGeometry(0,0,c+8,68),"shape=mxgraph.gcp2.doubleRect;strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;"); -a.vertex=!0;var d=new mxCell('<font color="#000000">Name</font><br>'+k,new mxGeometry(0,.5,44,39),h+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#999999;fontSize=12;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(5,-19.5);d.vertex=!0;a.insert(d);return g.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,k)}))};Sidebar.prototype.addGCP2ProductCardSet=function(a,b,e,c,d,f,g,h){var k=this,l="dashed=0;connectable=0;html=1;fillColor=#5184F3;strokeColor=none;"+ -mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.",m=a.replace("\n"," "),m=m.replace("- ","-");h.push(this.addEntry(g,function(){var f=new mxCell("",new mxGeometry(0,0,d,60),"strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;");f.vertex=!0;var g=new mxCell(a,new mxGeometry(0,0,45*e,45*c),l+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#999999;fontSize=12;");g.geometry.relative=!0;g.geometry.offset= -new mxPoint(5,7+22.5*(1-c));g.vertex=!0;f.insert(g);return k.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,m)}));h.push(this.addEntry(g,function(){var a=new mxCell("",new mxGeometry(0,0,f,60),"strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;");a.vertex=!0;var d=new mxCell('<font color="#000000">Name</font><br>'+m,new mxGeometry(0,0,45*e,45*c),l+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#999999;fontSize=12;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(5,7+22.5*(1-c));d.vertex=!0;a.insert(d);return k.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,m)}));h.push(this.addEntry(g,function(){var a=new mxCell("",new mxGeometry(0,0,f+8,68),"shape=mxgraph.gcp2.doubleRect;strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;");a.vertex=!0;var d=new mxCell('<font color="#000000">Name</font><br>'+m,new mxGeometry(0,0,45*e,45*c),l+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#999999;fontSize=12;"); -d.geometry.relative=!0;d.geometry.offset=new mxPoint(5,7+22.5*(1-c));d.vertex=!0;a.insert(d);return k.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,m)}))};Sidebar.prototype.addGCP2ServiceCard=function(a,b,e,c,d,f){var g=this,h="dashed=0;connectable=0;html=1;fillColor=#757575;strokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.",k=a.replace("\n"," "),k=k.replace("- ","-");f.push(this.addEntry(d,function(){var d=new mxCell("",new mxGeometry(0,0,e,c),"strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;"); -d.vertex=!0;var f=new mxCell(a,new mxGeometry(0,.5,32,32),h+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#000000;fontSize=12;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(5,-16);f.vertex=!0;d.insert(f);return g.createVertexTemplateFromCells([d],e,c,k)}))};Sidebar.prototype.addGCP2ExpandedProductCardSet=function(a,b,e,c,d){var f=this,g="dashed=0;connectable=0;html=1;fillColor=#5184F3;strokeColor=none;"+mxConstants.STYLE_SHAPE+ -"=mxgraph.gcp2.",h=a.replace("\n"," "),h=h.replace("- ","-");d.push(this.addEntry(c,function(){var a=new mxCell("",new mxGeometry(0,0,e,70),"strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;");a.vertex=!0;var c=new mxCell('<font color="#000000">Name</font><br>'+h+'<hr><font style="font-size: 11px">Attribute Name</font>',new mxGeometry(0,0,44,39),g+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=top;spacingLeft=5;fontColor=#999999;fontSize=12;spacingTop=-8;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(5,7);c.vertex=!0;a.insert(c);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,h)}));d.push(this.addEntry(c,function(){var a=new mxCell("",new mxGeometry(0,0,e+8,78),"shape=mxgraph.gcp2.doubleRect;strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;");a.vertex=!0;var c=new mxCell('<font color="#000000">Name</font><br>'+h+'<hr><font style="font-size: 11px">Attribute Name</font>',new mxGeometry(0,0,44,39),g+b+ -";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=top;spacingLeft=5;fontColor=#999999;fontSize=12;spacingTop=-8;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(5,7);c.vertex=!0;a.insert(c);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,h)}))};Sidebar.prototype.addGCP2ExpandedMachineCard=function(a,b,e,c,d,f,g,h,k,l,m,q,r,n){var p=this,u="dashed=0;connectable=0;html=1;fillColor=#757575;strokeColor=none;"+mxConstants.STYLE_SHAPE+ -"=mxgraph.gcp2.",t=a.replace("\n"," "),t=t.replace("- ","-");n.push(this.addEntry(r,function(){var a=new mxCell("",new mxGeometry(0,0,q,95),"strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;");a.vertex=!0;var n=new mxCell('<font color="#000000">'+t+"</font><hr>"+d,new mxGeometry(0,0,q,50),"text;part=1;html=1;align=left;verticalAlign=top;spacingLeft=35;fontColor=#999999;fontSize=11;resizeWidth=1;");n.geometry.relative=!0;n.vertex=!0;a.insert(n);n=new mxCell("", -new mxGeometry(0,0,25*e,25*c),u+b+";part=1;");n.geometry.relative=!0;n.geometry.offset=new mxPoint(4+12.5*(1-e),6+12.5*(1-c));n.vertex=!0;a.insert(n);n=new mxCell("",new mxGeometry(0,0,20,20),u+g+";part=1;");n.geometry.relative=!0;n.geometry.offset=new mxPoint(35,55);n.vertex=!0;a.insert(n);n=new mxCell(f,new mxGeometry(0,0,18,18),"rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;");n.geometry.relative=!0;n.geometry.offset=new mxPoint(24,69);n.vertex= -!0;a.insert(n);n=new mxCell(h,new mxGeometry(0,0,18,18),"rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;");n.geometry.relative=!0;n.geometry.offset=new mxPoint(50,69);n.vertex=!0;a.insert(n);n=new mxCell("",new mxGeometry(0,0,20,18),u+k+";part=1;");n.geometry.relative=!0;n.geometry.offset=new mxPoint(75,56);n.vertex=!0;a.insert(n);n=new mxCell(l,new mxGeometry(0,0,18,18),"rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;"); -n.geometry.relative=!0;n.geometry.offset=new mxPoint(88,69);n.vertex=!0;a.insert(n);n=new mxCell("",new mxGeometry(0,0,20,20),u+m+";part=1;");n.geometry.relative=!0;n.geometry.offset=new mxPoint(115,55);n.vertex=!0;a.insert(n);return p.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,t)}));n.push(this.addEntry(r,function(){var a=new mxCell("",new mxGeometry(0,0,q,95),"strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;");a.vertex= -!0;var l=new mxCell('<font color="#000000">'+t+"</font><hr>"+d,new mxGeometry(0,0,q,50),"text;connectable=0;part=1;html=1;align=left;verticalAlign=top;spacingLeft=35;fontColor=#999999;fontSize=11;resizeWidth=1;");l.geometry.relative=!0;l.vertex=!0;a.insert(l);l=new mxCell("",new mxGeometry(0,0,25*e,25*c),u+b+";part=1;");l.geometry.relative=!0;l.geometry.offset=new mxPoint(4+12.5*(1-e),6+12.5*(1-c));l.vertex=!0;a.insert(l);l=new mxCell("",new mxGeometry(0,0,20,20),u+g+";part=1;");l.geometry.relative= -!0;l.geometry.offset=new mxPoint(35,55);l.vertex=!0;a.insert(l);l=new mxCell(f,new mxGeometry(0,0,18,18),"connectable=0;rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;");l.geometry.relative=!0;l.geometry.offset=new mxPoint(24,69);l.vertex=!0;a.insert(l);l=new mxCell(h,new mxGeometry(0,0,18,18),"connectable=0;rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;");l.geometry.relative=!0;l.geometry.offset= -new mxPoint(50,69);l.vertex=!0;a.insert(l);l=new mxCell("",new mxGeometry(0,0,20,18),u+k+";part=1;");l.geometry.relative=!0;l.geometry.offset=new mxPoint(75,56);l.vertex=!0;a.insert(l);l=new mxCell("123",new mxGeometry(0,0,25,18),"connectable=0;rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;");l.geometry.relative=!0;l.geometry.offset=new mxPoint(81,69);l.vertex=!0;a.insert(l);l=new mxCell("",new mxGeometry(0,0,20,20),u+m+";part=1;");l.geometry.relative= -!0;l.geometry.offset=new mxPoint(115,55);l.vertex=!0;a.insert(l);return p.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,t)}))};Sidebar.prototype.addGCP2UserDeviceCard=function(a,b,e,c,d,f,g){var h=this,k="dashed=0;connectable=0;html=1;fillColor=#757575;strokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.",l=a.replace("\n"," "),l=l.replace("- ","-");g.push(this.addEntry(f,function(){var f=new mxCell(a,new mxGeometry(0,0,70,85+d),"strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;labelPosition=center;verticalLabelPosition=middle;align=center;verticalAlign=bottom;spacingLeft=0;fontColor=#999999;fontSize=12;whiteSpace=wrap;spacingBottom=2;"); -f.vertex=!0;var g=new mxCell("",new mxGeometry(.5,0,50*e,50*c),k+b+";part=1;");g.geometry.relative=!0;g.geometry.offset=new mxPoint(25*-e,10+25*(1-c));g.vertex=!0;f.insert(g);return h.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,l)}))}})();(function(){Sidebar.prototype.addGMDLBottomNavigationPalette=function(a){var b=[this.addDataEntry("gmdl google media design library bottom navigation bottom navigation",358,48,"Bottom Navigation","7VbbToNAEP0aHtss0Gp9tPXyosaoP7AtA2xcGLKMtfXr3WWH2go1jZcHjRCSndkzlz1zIATxrFhdGlnl15iADuLzIJ4ZRPKrYjUDrYNIqCSIz4IoEvYJoos9u2GzKyppoKRDAiIfsJT6CbzHO2paa3Ykss7BwUUQT6VWWWnXC5sfjHWkWNK9enHYMLJ2ncvKGQYW5LaV1jPUaJpccdpcDkYGH6HdKbEEH5vgM1fixsAQrPYernHxyS4BCyCztpBnlVDuEfF44sNyUFnOYSP2ydrb2Sb0jSq7YLb6mYs7zN2BY6X+mMCcCu242qKqWGVu/sOsSPTQcJIOdRPh7n3UuTH0gR1/aiH1Kc+NsHIpKrlQZXYFKXFb22N0tpZz0LdYK1K4M+824dU7wByJsOhTCBebMqApx74H183Z4OjQcUf94+YAMQzHPmbdOtje0gO/DztyaH0GtCS1hJ36fRrhFm5R2c429Qeh2Ck/aNtpU2Ca1kAdkW1OcpDuRh3dXcglGkXwReXlIE3PKyvE8cnR9EDdbcC/Qnfj79Ld52QXTn5IdqMfkN24I7sbq5f5+muaK32O/4/dJ0Q3+XsfO2u+/fp4+Paf0Ss="), +this.addPalette("gcp2Icons Hybrid and Multi Cloud","GCP Icons / Hybrid and Multi Cloud",!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))};Sidebar.prototype.addGCP2CardSet=function(a,b,e,d,c,f){var g=this,h="dashed=0;connectable=0;html=1;fillColor=#5184F3;strokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.hexIcon;prIcon=",k=a.replace("\n"," "),k=k.replace("- ","-");f.push(this.addEntry(c,function(){var d=new mxCell("",new mxGeometry(0,0,e,60),"strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;"); +d.vertex=!0;var c=new mxCell(a,new mxGeometry(0,.5,44,39),h+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#999999;fontSize=12;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(5,-19.5);c.vertex=!0;d.insert(c);return g.createVertexTemplateFromCells([d],d.geometry.width,d.geometry.height,k)}));f.push(this.addEntry(c,function(){var a=new mxCell("",new mxGeometry(0,0,d,60),"strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;"); +a.vertex=!0;var c=new mxCell('<font color="#000000">Name</font><br>'+k,new mxGeometry(0,.5,44,39),h+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#999999;fontSize=12;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(5,-19.5);c.vertex=!0;a.insert(c);return g.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,k)}));f.push(this.addEntry(c,function(){var a=new mxCell("",new mxGeometry(0,0,d+8,68),"shape=mxgraph.gcp2.doubleRect;strokeColor=#dddddd;shadow=1;strokeWidth=1;"); +a.vertex=!0;var c=new mxCell('<font color="#000000">Name</font><br>'+k,new mxGeometry(0,.5,44,39),h+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#999999;fontSize=12;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(5,-19.5);c.vertex=!0;a.insert(c);return g.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,k)}))};Sidebar.prototype.addGCP2ProductCardSet=function(a,b,e,d,c,f,g,h){var k=this,l="dashed=0;connectable=0;html=1;fillColor=#5184F3;strokeColor=none;"+ +mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.",m=a.replace("\n"," "),m=m.replace("- ","-");h.push(this.addEntry(g,function(){var f=new mxCell("",new mxGeometry(0,0,c,60),"strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;");f.vertex=!0;var g=new mxCell(a,new mxGeometry(0,0,45*e,45*d),l+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#999999;fontSize=12;");g.geometry.relative=!0;g.geometry.offset=new mxPoint(5, +7+22.5*(1-d));g.vertex=!0;f.insert(g);return k.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,m)}));h.push(this.addEntry(g,function(){var a=new mxCell("",new mxGeometry(0,0,f,60),"strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;");a.vertex=!0;var c=new mxCell('<font color="#000000">Name</font><br>'+m,new mxGeometry(0,0,45*e,45*d),l+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#999999;fontSize=12;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(5,7+22.5*(1-d));c.vertex=!0;a.insert(c);return k.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,m)}));h.push(this.addEntry(g,function(){var a=new mxCell("",new mxGeometry(0,0,f+8,68),"shape=mxgraph.gcp2.doubleRect;strokeColor=#dddddd;shadow=1;strokeWidth=1;");a.vertex=!0;var c=new mxCell('<font color="#000000">Name</font><br>'+m,new mxGeometry(0,0,45*e,45*d),l+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#999999;fontSize=12;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(5,7+22.5*(1-d));c.vertex=!0;a.insert(c);return k.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,m)}))};Sidebar.prototype.addGCP2ServiceCard=function(a,b,e,d,c,f){var g=this,h="dashed=0;connectable=0;html=1;fillColor=#757575;strokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.",k=a.replace("\n"," "),k=k.replace("- ","-");f.push(this.addEntry(c,function(){var c=new mxCell("",new mxGeometry(0,0,e,d),"strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;"); +c.vertex=!0;var f=new mxCell(a,new mxGeometry(0,.5,32,32),h+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontSize=12;");f.geometry.relative=!0;f.geometry.offset=new mxPoint(5,-16);f.vertex=!0;c.insert(f);return g.createVertexTemplateFromCells([c],e,d,k)}))};Sidebar.prototype.addGCP2ExpandedProductCardSet=function(a,b,e,d,c){var f=this,g="dashed=0;connectable=0;html=1;fillColor=#5184F3;strokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.", +h=a.replace("\n"," "),h=h.replace("- ","-");c.push(this.addEntry(d,function(){var a=new mxCell("",new mxGeometry(0,0,e,70),"strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;");a.vertex=!0;var d=new mxCell('<font color="#000000">Name</font><br>'+h+'<hr><font style="font-size: 11px">Attribute Name</font>',new mxGeometry(0,0,44,39),g+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=top;spacingLeft=5;fontColor=#999999;fontSize=12;spacingTop=-8;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(5,7);d.vertex=!0;a.insert(d);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,h)}));c.push(this.addEntry(d,function(){var a=new mxCell("",new mxGeometry(0,0,e+8,78),"shape=mxgraph.gcp2.doubleRect;strokeColor=#dddddd;shadow=1;strokeWidth=1;");a.vertex=!0;var d=new mxCell('<font color="#000000">Name</font><br>'+h+'<hr><font style="font-size: 11px">Attribute Name</font>',new mxGeometry(0,0,44,39),g+b+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=top;spacingLeft=5;fontColor=#999999;fontSize=12;spacingTop=-8;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(5,7);d.vertex=!0;a.insert(d);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,h)}))};Sidebar.prototype.addGCP2ExpandedMachineCard=function(a,b,e,d,c,f,g,h,k,l,m,q,r,n){var p=this,u="dashed=0;connectable=0;html=1;fillColor=#757575;strokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.",t=a.replace("\n"," "),t=t.replace("- ","-");n.push(this.addEntry(r,function(){var a=new mxCell("",new mxGeometry(0,0,q,95),"strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;"); +a.vertex=!0;var n=new mxCell('<font color="#000000">'+t+"</font><hr>"+c,new mxGeometry(0,0,q,50),"text;part=1;html=1;align=left;verticalAlign=top;spacingLeft=35;fontColor=#999999;fontSize=11;resizeWidth=1;");n.geometry.relative=!0;n.vertex=!0;a.insert(n);n=new mxCell("",new mxGeometry(0,0,25*e,25*d),u+b+";part=1;");n.geometry.relative=!0;n.geometry.offset=new mxPoint(4+12.5*(1-e),6+12.5*(1-d));n.vertex=!0;a.insert(n);n=new mxCell("",new mxGeometry(0,0,20,20),u+g+";part=1;");n.geometry.relative=!0; +n.geometry.offset=new mxPoint(35,55);n.vertex=!0;a.insert(n);n=new mxCell(f,new mxGeometry(0,0,18,18),"rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;");n.geometry.relative=!0;n.geometry.offset=new mxPoint(24,69);n.vertex=!0;a.insert(n);n=new mxCell(h,new mxGeometry(0,0,18,18),"rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;");n.geometry.relative=!0;n.geometry.offset=new mxPoint(50,69);n.vertex= +!0;a.insert(n);n=new mxCell("",new mxGeometry(0,0,20,18),u+k+";part=1;");n.geometry.relative=!0;n.geometry.offset=new mxPoint(75,56);n.vertex=!0;a.insert(n);n=new mxCell(l,new mxGeometry(0,0,18,18),"rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;");n.geometry.relative=!0;n.geometry.offset=new mxPoint(88,69);n.vertex=!0;a.insert(n);n=new mxCell("",new mxGeometry(0,0,20,20),u+m+";part=1;");n.geometry.relative=!0;n.geometry.offset=new mxPoint(115, +55);n.vertex=!0;a.insert(n);return p.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,t)}));n.push(this.addEntry(r,function(){var a=new mxCell("",new mxGeometry(0,0,q,95),"strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;");a.vertex=!0;var l=new mxCell('<font color="#000000">'+t+"</font><hr>"+c,new mxGeometry(0,0,q,50),"text;connectable=0;part=1;html=1;align=left;verticalAlign=top;spacingLeft=35;fontColor=#999999;fontSize=11;resizeWidth=1;");l.geometry.relative= +!0;l.vertex=!0;a.insert(l);l=new mxCell("",new mxGeometry(0,0,25*e,25*d),u+b+";part=1;");l.geometry.relative=!0;l.geometry.offset=new mxPoint(4+12.5*(1-e),6+12.5*(1-d));l.vertex=!0;a.insert(l);l=new mxCell("",new mxGeometry(0,0,20,20),u+g+";part=1;");l.geometry.relative=!0;l.geometry.offset=new mxPoint(35,55);l.vertex=!0;a.insert(l);l=new mxCell(f,new mxGeometry(0,0,18,18),"connectable=0;rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;");l.geometry.relative= +!0;l.geometry.offset=new mxPoint(24,69);l.vertex=!0;a.insert(l);l=new mxCell(h,new mxGeometry(0,0,18,18),"connectable=0;rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;");l.geometry.relative=!0;l.geometry.offset=new mxPoint(50,69);l.vertex=!0;a.insert(l);l=new mxCell("",new mxGeometry(0,0,20,18),u+k+";part=1;");l.geometry.relative=!0;l.geometry.offset=new mxPoint(75,56);l.vertex=!0;a.insert(l);l=new mxCell("123",new mxGeometry(0,0,25,18),"connectable=0;rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;"); +l.geometry.relative=!0;l.geometry.offset=new mxPoint(81,69);l.vertex=!0;a.insert(l);l=new mxCell("",new mxGeometry(0,0,20,20),u+m+";part=1;");l.geometry.relative=!0;l.geometry.offset=new mxPoint(115,55);l.vertex=!0;a.insert(l);return p.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,t)}))};Sidebar.prototype.addGCP2UserDeviceCard=function(a,b,e,d,c,f,g){var h=this,k="dashed=0;connectable=0;html=1;fillColor=#757575;strokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.",l=a.replace("\n", +" "),l=l.replace("- ","-");g.push(this.addEntry(f,function(){var f=new mxCell(a,new mxGeometry(0,0,70,85+c),"strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;labelPosition=center;verticalLabelPosition=middle;align=center;verticalAlign=bottom;spacingLeft=0;fontColor=#999999;fontSize=12;whiteSpace=wrap;spacingBottom=2;");f.vertex=!0;var g=new mxCell("",new mxGeometry(.5,0,50*e,50*d),k+b+";part=1;");g.geometry.relative=!0;g.geometry.offset=new mxPoint(25*-e,10+25*(1-d)); +g.vertex=!0;f.insert(g);return h.createVertexTemplateFromCells([f],f.geometry.width,f.geometry.height,l)}))}})();(function(){Sidebar.prototype.addGMDLBottomNavigationPalette=function(a){var b=[this.addDataEntry("gmdl google media design library bottom navigation bottom navigation",358,48,"Bottom Navigation","7VbbToNAEP0aHtss0Gp9tPXyosaoP7AtA2xcGLKMtfXr3WWH2go1jZcHjRCSndkzlz1zIATxrFhdGlnl15iADuLzIJ4ZRPKrYjUDrYNIqCSIz4IoEvYJoos9u2GzKyppoKRDAiIfsJT6CbzHO2paa3Ykss7BwUUQT6VWWWnXC5sfjHWkWNK9enHYMLJ2ncvKGQYW5LaV1jPUaJpccdpcDkYGH6HdKbEEH5vgM1fixsAQrPYernHxyS4BCyCztpBnlVDuEfF44sNyUFnOYSP2ydrb2Sb0jSq7YLb6mYs7zN2BY6X+mMCcCu242qKqWGVu/sOsSPTQcJIOdRPh7n3UuTH0gR1/aiH1Kc+NsHIpKrlQZXYFKXFb22N0tpZz0LdYK1K4M+824dU7wByJsOhTCBebMqApx74H183Z4OjQcUf94+YAMQzHPmbdOtje0gO/DztyaH0GtCS1hJ36fRrhFm5R2c429Qeh2Ck/aNtpU2Ca1kAdkW1OcpDuRh3dXcglGkXwReXlIE3PKyvE8cnR9EDdbcC/Qnfj79Ld52QXTn5IdqMfkN24I7sbq5f5+muaK32O/4/dJ0Q3+XsfO2u+/fp4+Paf0Ss="), this.addDataEntry("gmdl google media design library bottom navigation bottom navigation",358,48,"Bottom Navigation","7Zbfb5swEMf/Gh4TGRxY9rikW19aqdL2PjlwgFXDIXPNj/31s7FJ84Oo6UqeOiQk39d3PvvuE4eAL6vtvRZN+YgZqIB/D/hSI5IbVdslKBVETGYBvwuiiJk3iH5cmA27WdYIDTVdExC5gLVQL+AUJ7S0U17IRFuCdWcBXwgli9qMU7M+aCPkWNNP+cf6hpGx21I01tCQkp2WSi1Roe7W4ox9+ZosrBtpfIZ+psYaXGyGG5/Jbww0wfbi4TrJn+wesALSO+OykRmVzoPHcxdWgixKHzbzmmidXexDX0tlBr5aw5Xj76xcSZWyRTqoUbUtbOOnRZWp6VpmgL+j85rl3XOpZrb+Q862cDIV6ptvGGFjl2hEKuviAXLy2zrsn7WVWIF6wlaSxKNG9ws+nDiskAirITR8soV36NJ57Zfdzd0kMQpahXbGTK5uezTcdh/ApmHsYna94O0DLvzv4giLMHGaBiVIruEo/xArfgtPKM3O9vknITtKPzmhDfO8BTpjbX+Qq/CbneH3+NLK9GMMVt0Sn4nAeCzk+PxN5MLZOXI9hmMj1+calbl45Ctvhfj8qWi71X2XRG/Dl9wOvvkJe+wG7CUjs7eBVSMK+I/fCPjN/+3v9mZ3X/xx/oz5+hHu3A+/0f8C")]; -this.addPalette("gmdlBottom Navigation","GMDL / Bottom Navigation",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLBottomSheetsPalette=function(a){var b=[this.addDataEntry("gmdl google media design library bottom sheets bottom sheet",358,320,"Bottom Sheet","7ZbRbtsgFIafxrcVgbjJLud0Sau12rQ9wETjE4yKwQLSOnv6gSFpFhwJaUsvqiaKxDnnPyfm+4VMQRZtv9K0ax5UDaIgXwqy0ErZsGr7BQhRYMTrgtwUGCP3K/DyTHUyVFFHNUib04BDwzMVWwiZkDB2J2KipqYBL0cFqajgTLr12s0H7RIbJe1P/ttrJ9jFpqGdDzSsrS9zIRZKKD3MIpvh42VWqyfYV6SSEHpr9RL/yQ3YasOf4QeYMN9n4+OCttCf3fKQivtdgWrB6p2TvPDaNkFBynloa4CzJraRyApRExLs0PtK0C0ixHGgJAH6rQPpBTIhe8JqlMkxwJjaeyBgY6MDR4jnyH9PnJnmosPj6PYNEdAuhmUIj8BihFKw/4PrNOH6FaA7i7TtmT9TV6ytxdWTV2bwdfSW02qGqhSyoI8gvivDLVc+rcPuKo+Tr6m4P6m3vK79Mx0En+O8Q8F0dM0lux/m3+C3cewajTh2GcPKxLA7+aj6PMf4IP2wzIeTEc/wZTy7Tjy7pZKprTV5tjVBnWkcWn6aleX7NS73sOF/N26WGPcAxoBk7h2d5Vx7kH8cOi9+w0M3T7xbKcXc3nGV5x0b5L86sTWZ7jls7gr0ft273GvOha+X86H21939Dw=="), +this.addPalette("gmdlBottom Navigation","GMDL / Bottom Navigation",a||!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))};Sidebar.prototype.addGMDLBottomSheetsPalette=function(a){var b=[this.addDataEntry("gmdl google media design library bottom sheets bottom sheet",358,320,"Bottom Sheet","7ZbRbtsgFIafxrcVgbjJLud0Sau12rQ9wETjE4yKwQLSOnv6gSFpFhwJaUsvqiaKxDnnPyfm+4VMQRZtv9K0ax5UDaIgXwqy0ErZsGr7BQhRYMTrgtwUGCP3K/DyTHUyVFFHNUib04BDwzMVWwiZkDB2J2KipqYBL0cFqajgTLr12s0H7RIbJe1P/ttrJ9jFpqGdDzSsrS9zIRZKKD3MIpvh42VWqyfYV6SSEHpr9RL/yQ3YasOf4QeYMN9n4+OCttCf3fKQivtdgWrB6p2TvPDaNkFBynloa4CzJraRyApRExLs0PtK0C0ixHGgJAH6rQPpBTIhe8JqlMkxwJjaeyBgY6MDR4jnyH9PnJnmosPj6PYNEdAuhmUIj8BihFKw/4PrNOH6FaA7i7TtmT9TV6ytxdWTV2bwdfSW02qGqhSyoI8gvivDLVc+rcPuKo+Tr6m4P6m3vK79Mx0En+O8Q8F0dM0lux/m3+C3cewajTh2GcPKxLA7+aj6PMf4IP2wzIeTEc/wZTy7Tjy7pZKprTV5tjVBnWkcWn6aleX7NS73sOF/N26WGPcAxoBk7h2d5Vx7kH8cOi9+w0M3T7xbKcXc3nGV5x0b5L86sTWZ7jls7gr0ft273GvOha+X86H21939Dw=="), this.addDataEntry("gmdl google media design library bottom sheets grid style options",358,642,"Grid Style With Some Options","7VvRbuI4FP0apNkHUGI7BB4LHToPU6naXWkeqwAmRHVilLgzdL9+HRIDwQ44xAbKDFUlYuwQ33PPvdfHpgPH8fopDVbLZzrHpAO/duA4pZQV7+L1GBPSAU4078DHDgAO/++ASc2n7uZTZxWkOGE6A0Ax4GdA3nHRUjRk7IOUDfMgW+K8u9OBo4BEYcLfz/j9ccobFjRh/0T/5X1dwK+zZbDKL1I8Y/nHESFjSmi6uRdcbF55N5bSNyw+SWjCx4zKZ8Epw+va+Wyaysk8YRpjln7wLr+iOVsWPaA3KIYtcRQuy2F9VM4syIqGcDt2Zx7+prSQ2lpQslY+5wfomDWa6J8Wj39oRPAIh4N+nRHze+91nmxeeedVMIuS8O/SJGjX9C9d5Q8inquchHPwnJBfpzjjVz9KU7u6kIHzIAOoaEsxCVj0E1fu3wZG1NDplywm5XwFUvE6zDnbC+M56TG6ep0GaSu3hmobVQd8lJTuecX1ngVRXzag29SA5fe/0Ig/1vbLu0NQ+fquX70DXSwyzCQAtrPQwsSTMHkgEW8Y0yShaWaWYGriVFkGh8gf+kqn37t7brRTlCv41c0JlDtBNAvIQ/nAcTSf5zPazoDgBduN/L65evSBZaZ5fjtH+agS1qhj9A2TVVi44gJyahJ4a5veU5v+CGVdFWX7Rigr6CQYO7AAjG8YGDyPdLm5xaoNMtqh1SJO3f4FgBoYBoo/EePBKbtJsDx7WJWltFWshg2xspH5nM2Lt9M8C7F8usC5ePUnmNEyJw1cCyi5jmFKMUzwalmgoVWcTDx35OkiMGycmoSrtyrH9VKTC2wA5EoAfel7zl+8yfM8/p0QSYBxC7IDAiG5uNuSo7aUk2liqLhrDqN6WeUYIVb3cIgZ4GRB4plOI25YDbigDJfnoAmafBK4XE9Fu6Zw6a6CXVnNaBfElkES0nfdLDN6zP9aGlO/hvPNE0HUBeigLhDZwSwxmooWfyqDEwHMFZKJWZxkIeMLBFBknr4/GH6+zFM4372nHllp+EHTt8+XeK6GlnbmMS0d2Mw8ddb8jVJPUwHhflOPoQC2XZ+YxUlDPBCWJ5Firblv5qoK6hozfOFMtXRyesBxT3MKDFSanKHs4lnABjRVDO6XQ4bKNwBtcAjIwkG71BQHETm63VCn7Jy5DVE4WjOxBym4ZGgfAlXzkw3JVCC0Bxknz6zcN0QOXgfxiuDejMYSlDdfeZ8B5+ervBXnKl5wmtEkIDqI3Vb1fQZil9V9Gh9/+JOKTqWioQ0lQXEkgiPxei+Brfki1QxNLhrY7kVSuBpa2kFNQ1K4+trnzChlaF0DPStRShYHnjY179GUsu/pTl3pHJa186G7s/w81YgEU0xeaBaxiFayk+j+/aDDlDLGI2VNPlPxrHJ+q98S5e0C10UDiSyq03tii7L1sYWyuhJuIE7zmXUDWXv4Vopy7R1hJ+/dhiu4cj3jDh8c72td8WPEbxRnPhURFtk57AIHNoIHlFWRJ0rDfLd3ZCKAbO71uiLv2U35jj0fGXjI1wouxtwEXsJNZFHm2UyKuakMg45sVegeV4VWs5Qi3kBgJd6goY2zxOJh9x0JZ1kQysdLzvCl8k634k5dRZpq7E/IYvZSyI7IlDeBqjeJTXez3iTLVs80NeJK+W1uxY/cvrYf2U9ligjk2olA3Bg2fOamxDez69iPyoBTq1qRX9oKN8jGngKUtbfjMJ3aBpoGs7cm20A1WoS2YAOPn1pwegfHcJUKjmpfyNCi1K98u5VflEGNXw4JrPjIaJUpVaGrIXT/ADXQ7JTR7Zro+PcGD7/c/ey86L7/q/T/AQ=="), this.addDataEntry("gmdl google media design library bottom sheets grid style all options",358,642,"Grid Style With All Options","7Vvfj+IqFP5rTPY+aFqg/ngcnXXuw04yuXeTfdxURW2GlqZldvX+9RdsUSvUoRZWx10nk1gEWs73Hb7DgXbgJN48ZWG6fqYLTDrwcwdOMkpZ8S3eTDAhHeBFiw587ADg8f8OmNb86u9+9dIwwwkzaQCKBj9C8oaLkqIgZ1tSFizCfI1Fda8DxyGJVgn/Puf944wXLGnC/o3+E3V9wK/zdZiKiwzPmfg5ImRCCc12fcHl7iOqsYy+YvlLQhPeZlw+C84Y3tSOZ1dUDuYJ0xizbMur/IwWbF3UgMGwaLbG0WpdNuujcmRhXhSs9m0P5uFfSgvprQUVa4kxP0DPrtFk/ax4/FMjgkc4GvbrjCj6Pqo83X1E5TScR8nqn9Ik6FD0labiQeRzlYPwTp4T8usM5/zqW2lq3xQycBlkABVlGSYhi37gSv9tYEQNSb9mMSnHK5GKNyvhs71VvCA9RtPvszBripSR7aDedtUG29LVe0FxfWRZ1FcN6zc1bHn/Fxrxx9rfvDsCldt3B9Ue6HKZY6YAsx+FEVaBgtUDiXjBhCYJzXK7jqd3qCqmcIQGo4HWGY56F0Z7zxULv+sKxxIkiOYheSgfOI4WCzGi/QgIXrJDyy+7q8cBcOyBwaAdUbZVR7ZKjL5lJ5YWrlBAlSyJt7HpA73pz7isr3PZvhWXle4kPXboAJiBZWDwIjL1zT1WbZAxnlod4tTt/wKghpaB4k/E+OSU3yRYgTusyhDbKVajhli5UD5v9+HlVKgQE8MF3i+PCqVntNSkoe8AJd+z7FIME5yuCzSMgpNp4I8DUwRGjaVJUr1VmG4mTT5wAZCvAPSpH3h/8aIgCPg9IVIA4xZkJw6E1OBu7xyuQ7nmoOkXV54VN+qeNrEDk5qWeKaziJvRAByoghN4aIqm58BR57APDpfpWthXcxrtpqx1mKzom6mmjB/FX0tjmkdsA/uOIKMAdBIFSC2w6xhNUxd/4oB3JjBfJkjs4qSmLT5BAKXO9AfDkTOdcTaVFeS7d+lR8wrfaPb68YTnamgZK4/tRIFL5amz5m8kPU3TBfcrPZYmsP1qxC5OBqkCaXkSaVaWx2au5jx9a4YvyFTrTl4PeP77PgWGugycJXUJHGADmuYH7teHLIVvALrwIaCmCdpJUxxG5OzmQl0e58JNh4JozVI7SONLlnYdUFWfXCRIJUJHkHHnmZe7hMjDmzBOCe7NaaxAefOR9wVwfrzIW3O64gVnOU1CYoLYbUXfV0PMNPo2OQRx9TDhQm2xFAKAkROaq6mBp508nBWYOt2vqMyqlJlTujNx0GBMwhkmLzSPWEQrMYWs/uWkwowyxmfLmihE52eVgw39lijvY0EfDRVn0R1rkbn71vt5sCJXELg416I5v/B3uX5tT4TDSvg2qOCrEY4/evCCz3UhqxXeaA5DabavkJtdYOhGI9WcyROlK7ExMrYxgez6+p6St/ymuOOOI8MADYwmF2s0OZ1cnNBEzdU825GYm1IYdCarZ3qOCzpVKc18A4GT+QbJ+M0ukdRk0jPO83Cl7sRewKWyp1uhU1cjU435hByql2aFjmyxCVTZ5LuIeaCa/prQdGuBSnPRza3wCJzQKNGd31G5ZZ1BWm2DOhJZ2oeQpNmTyEWiB6q5uWk4xzNK1U265kRayq5uhUzmc5LNsMh0yeUoKgrkqRS7zFFThF9/RkyA0Z44rOzp9+aN2fsnH4s1TQ9IOd2zsZtI21YavJdWk3NC2+wxciILtl/qmoXz1yZbNjXJUOOMMTz/ppfXOzkgqz1koNvDsZQVq2q7k3e9oJoaVTCUWPGWUZpr46qrIXT/ABm8dHV2drsmOoN7g4dfHl4UL6ofv0f+Pw=="), this.addDataEntry("gmdl google media design library bottom sheets list style",358,642,"List Style","7Vtdb5s8FP41uUxlbALJZZruQ9MmVe827XLyEiegEoyM2zXvr5/NV0JsGrPYLV1DVQmM7djnOc85h8NhhBbbxw8MZ9EXuiLJCL0boQWjlJdn28cFSZIRBPFqhG5GEALxP4LvO+56xV2QYUZSbjIAlgMecHJPypayIee7pGpY4TwisjsYoWucxJtUnC/F/ISJhjVN+df4f9nXg+I6j3AmLxhZcnk7TpIFTSgr5kLr4pDdOKN3pL6T0lSMua7WQhgnj537KZqqzXwgdEs424kuv+MVj8oeaDIth0Uk3kTVsMCvdobzsmHTjN2LR5xUEtJLCynSknueI2BXaHV/Vi7/WIjwBs2mQZcQ5dwHnd8Xh+yc4WWcbv6rROLvm77RTC6kXle1CXC0TiSuGcnF1Y9K1J4pZPDvIIN+2cZIgnn8QFrznwOj31PpI75Nqv3WSG0fN5KzV5vtKrniNPv5C7O+SBnJDull1x6wq6h+NSmvDyTrB6pgvb6CrX7/lsZiWc2Pj2ew9fPjsD0DXa9zwhVgml0YYTVRsJrL+zbppqdRG0k088NZqKXAwexSVKcIWLJtLOkkoY+XOJlXC97Gq5XcUbODhKz5fuTn4uomhI55NwnPU49dm75W1SGwTN2MkTUREluS3FATGhdmBMFED8EThK3F1iJsYIWw9TQ1X6cOAApt21YW43RTsGII6HhAwxc74AC/jQ5ygM7UMjo5wWwZKdgcAnEIUIVZ2bm2ocbmrAMtY1fo6VyhHWaNg4l7as2sg8e5cCvPaviMwZq4wwr67rGq7cQBWJ9wKqcFt4TdxWn+NHYuYhhQHKKdyniCy+1DcCqk8Xw1pGkmGmoAc6ZFrhRj6rlQDM82i3nx5GGiADcijA3eGT9og97esX5Abj3FeXbc41HsUhPMLjh90yGnwLnPiSk4UyD/zgXH2L4ijTNElgzsBBxh5cTCqsmYL7iQwScapTlNLwZ26AbWqxXOrmLYTu+4I/G5yZ3XT2I1vXNLJB8hWGCW5BcavwYaz5wESrZTPe5ofO6zzuunsZr1+cbIA5U8/ojTnFxYPHgWN28K7GqG7YyTOxaHb57FfRNML0tbl5yq5XsmpxBw4RmhmltScKoln8QHGVedmNu5WM+a4Etl6qQTuILAO80pONWQyg42Yxevp6Ca3ZljJoNYcE3SlHA+ZEZdHGExd20H7WqGmlqaK7oghMLbOEANDk0arxOH4zoORa3MYOgoten58rJ3GYdhAhC6QElNKg00XOkC5+2EK5oynq+RkNDzW9jmzdjFpHaY1NCJs1WTR+eRNS/URxMtBcWhAt+0/+Ub7VKF+xUghBoLC6zQ9shouHnFoqng+Z4lFK8utB0cbX3oJBKyXSJ0X+qPGegNZc3kH1gJgV5R/ZamRGhBs92FncNj59SJU7VdZbSU2mPqU88rECt19025U6Tmgm5ZuQwexXkhoM0lJB4eeyfIhW9FtquLskKZnjEkRv2rjjxdAteOx4VHD7IuPC5SM0PPz9eGdXbz7LvWgFPU8m1ldp3AZDs19Asv73TM0lZOd6fszZnVgdE+I9+uYdZSTRfcWvqaKGxTzcXHRMigNKjGSoyMs1ybDngxhP59gAxSOk9at5dEJ/zX4BGX+y+Ry+6HHyr/AQ=="), this.addDataEntry("gmdl google media design library bottom sheets bottom sheet menu items subtext",358,360,"Bottom Sheet (menu items with subtext)","7ZfdbtowFMefJtpVKycGNi4h3Sp1rVRtT2DiQ2LhxJnj8LGn3zl2AoW0Uy82ygWRguzz5eP/+QlExNNye29FXTwZCTriXyOeWmNcWJXbFLSOEqZkxO+iJGH4Rsm3N7yx97JaWKjcexKSkLAWuoVgCYbG7XRnkKIpgMJZxOdCq7zCdYb1waJhaSr3U/2m2DjBfVOImjYWMkdupXVqtLG+Fl/6h8KcNSvoPZWpIORKs+lOwgKtbdQafkAT6pO1axesg+2bV/am7r73YEpwdochGyVdESL4+EtIK0DlRZfGJ0ErJppgyPe5BwVx0Yn4uqB8IGgqrFosQFTenAmnDC4nmuSRao3L3PmbBRMJejSAya/W9I6bIMUMA+Kk3h6caMj2Mh+MfOqfl6Zw2qzN24bOibFhdoMvtR06wCuGJo4bQ/NRuyeY9IMvtznRfJuXUt+qUuQwGDf2xfzzF0B60DQs6TgtFqCfTaO8eohXGNucSFCZ0I8n/lJJSZ3tA2Zdvb2jqUWmqvzR17+L2QnLI9wXrtS0fi93yevc9QnjkLHrgrvtCypHbAjl6B8wORow+SwW2lBVQsAVgJ9IaFbQ4aZt4MP5fGg1SRdPezpHVzrPSef0fHSOB3R2wx854nEDsIJK9rA+GNh9ai6FT99iSnwyEvBK6PkIjSfnQ3QyQPQJcqKQzZV1hRS7CwCyom/xZHrl8YN+z/n5ePw85FGtaPw4TVHWAZ/vVjVOVR7TDUiJ4lwKpfwK6cdAytl/gxS3h7+t3nf0r/YP"), this.addDataEntry("gmdl google media design library bottom sheets deep linked modal bottom sheet",358,642,"Deep-linked modal bottom sheet","3Vrbbts4EP0ao08JZMtxnMfETYoFtsBiW6CPC9qiJMKUqJKUbfXrd2ZI6uJL6zR2CzRFYomXIeecmdGh3FG8KHYfNKvyjyrhchQ/j+KFVsq6q2K34FKOJpFIRvH70WQSwe9o8nKid0y9UcU0L+05EyZuwobJmrsW12BsI31DwkzOcXg0ip+YFFkJ1yuwzzU0pKq0n8Q3HDuewL3JWYU3mq8sdgspF0oqTbbilH5wmNVqzUNPqUqY8+T3wrXlu5P+UJN35gNXBbe6gSFbkdjcjYjv5m5azkWW+2mzqfeMGdeQtXM7eODCI3QcrfgALfT5MY4uC1oYr93290GcvI8f5rNTIKLt3uAX+sHBFVuJMvvXQzLtmj6rCjcS9uWdiPb2GcO95gbuvniox+dSNvk5yiZT16a5ZFZs+MD+W2icvjLoc1tI729gqthlmLO3WZHIW6uq/5ZMv5aps7CLj2M3nND4VL+9c/c9ZKezQ2DHrwXWr/+PErCtdvGbh8lg+Zv7oQWVpobbA2JaL87i6u6Aq4+MEMhZAn+lWHP8tApvlFrj+pb81fC3UNZdpFoV2AW/iTCWlSuOtyXOBaZbezZXNeIUDAA7uFilubVwAduNlrV1ToaZ65Jvu6FSWCuxWaWtFTdupWpJ662YXnHpnNhgz5LzEj74roIC0PeHep0NpUNzIYzZ32BRr3IkPidDbr0t7TGDYLuFz0/Ulgi0Xiq7b4dAYwg9+ijQSsqgGtGtw6nnsjONaBou0xu2NEovaeOrXMgO1Iz1PICYFpoPQCZ/oBet+KW6RRwjTG5Zg42Jd+SvdG+ER0/JpAf21oNdKppaL+0B3B46Vu6Eqk3AYMmhJCL4PHWQYLJ6RKw3rdF0Fwt9TLzRRtVo5Sh4e3753Vi2pk8IjhA9i3aKqatKGd4B284Ofi4Jmy856zbUwey2ZvudYR4mUCBiXSoMZJGO9kPIQUKDSkGpU3FVYZgvKOrUYCfYrSAPWsM+xAiITPRCwof2tqS1moCTa35sWN5Oc9CHdC5d3cLw0xtWWtPC6qMEql48jqjI9i59EviEHeJBC7vEGPgLxaIJseE28VxmUhjc2kpynTUFK9/RBiCKuEtCorBvOLBLZlKhjT2ek1tW2v7KOOrzqVVb65VSHcC9GEsdSJSTmtYvOdNUeSjVvUOGFRRTWVcToaNxoe48YctlQ0sjA6YdtnWettH4tWYanioOPl9dgSvYgAeURvlizBnVLOIU/WwLuy+B8MhCr2ooG0lDyVZmkI7bbnWXVJThwrBMc86Wso06MFB0NLPUUug4l4kCnEfkutq6pfBWS5U0vXCuJHNixeYuMnGrT00HHl8p2o0z5YFz+GOsl138u+xZlw7ubS7I/4IlXUKktcZidHsgSPYk4nHpN1Qfi5fF8+L5qGyDtS3/BPIPTW5ByXRqEEdgtqAuESsmH70YtagSW2lK1fG68i++j94mU5qhjLyoLJkdyJIU+FtMRk/3G4ymmUR4ErGBy8wh5ZpQUmMitTTNvtbKDYjnEf7rN/UiIDSigRtDovwRBoxn1a4/I6z28g6q+IwVlTM9i5B2vTnShjD4zcGl299wz9A88OScs44PkN4JYjI9POmcE8YvL4txdH80jH3I/k1rvR/fHZxp9tT7W8K1GUz4UfCOx5cJ3ps4nl8hfO8vfALaKFkX/ExC53ezu2h6Lh2zNx6A/AuQ4cnyjeSEA9A8Gh6AAukX5Wp+Ya5AVuhTTA0b+1z1ORwMDvk4+Z2EjueXIXS6R+jDFfh8OMLnlZ4NU3g2UBnfezyUcDr5Qc0fPrp6avroE+FgDsDKS9PpyYoZIxRIQRJfnCTi7dnWOg/cwYZJd+r3oqyvZeExTA9gd/wmyUViH0QaxuUAi7MXf7X7v5xR00BSNoVxwzza/vypEwTEHeuRFRHeZHzjzJ/3Nxy0Mmh5ei2CDbxQtrWwZbpAoKmD6ZIbC7/Gm9+IpLXI4Qyhu741HG27O6gAeW0EM4W/361AhRZYGPxBWRSsW3UjsrBvXuKJx12n9A6BjsaV0MIGV4y/wgAAP5pfomnGP6lp2vfgJzWNEzDRUJffndTlvaJ/TNv/QuEzv5DwaR98Fy2+4Ql9tS88zmE/op+Lv09/HVHTNz4yA0/Tq9A0vrDoWbLV+pi+aRPxFEU/KXJcnJ1UOdFteLH9HaETXtNf49X9/VDnXOPN/XjyYw4DVzBTVOaoAv1tDP35BB1+nXmSoKPV7Xeyc/+n0QO33df+bnj/fwX8Dw=="), this.addDataEntry("gmdl google media design library bottom sheets long list",358,642,"Long list","7Zpfb5swEMA/TR4bGQMhPOZP001rtWqdtMeKgAOoBiNwt2SffjaGFGJonQZnU1aiSNg+G/t+vrM5MzIXyfYm97LojgQIj8zrkbnICaHiLtkuEMYjCOJgZC5HEAL2H8FVT6lRloLMy1FKVSpAUeGnh5+RyBEZBd3hKiPwighxcTAy5x6Ow5Td+6x9lLOMDUnpQ/ybyxqQpYvIy3giRz7lxTHGC4JJXrZlbsqLi9GcPKG6JCUpqzOv+oJyira94ymzqsHcIJIgmu+YyK84oJGQMO2pqBahOIyqahOrGplXiIxwX/dFPeym0lC3tkxJW3zMMxMMq7RaPhfdP1QicB1zdt2nRN52Q3hVXlw48/w4Db9VKrFesr6TjHek7lc1CHDQT5Olc1Sw1I9K1YYqMvg+ZNASeTnCHo1/olb7p2C0jpz0EU1wNd6aVLINuc2OwyTAY0qyx7WXH0tKSXdmt+7aFXaVqY9tkW5o1prIijWOVWz1/HsSs27tH37lwtbjr5x2C2SzKRCVwOxHocTK1uygum3oEON0uZidff5PwGmYdm0zGhTLZGATynK0QUxjPipUoUwtewJUEdhvIqjV1DKUySCGUjdTAwEagDgDAymQl/uRxKKp+CaQipEQrg0EnkinXaHByuhyasOwunJM/bCmA8PivuysdtNPpsOPDUXGtPSTcSUyXzOUcoFUQnTsSlJl1SsURhsq79emgP8O1i1ruJUGAiATgieuNHWHQAuQ62oAVD+jQegLQlkvnJadPHFJNTNZWXMHzGVc2FsjfE+KmMakuUfnYGLfw7cH5UkcBLxPe4FZ1d6+oNqF35btL6FW9udCb1g6Nh2GIbH/nK7JVg1+XIr+x/Th2ei7WujLsYpPXhqSZ7b0KU2ASEirrpMr17HtC5sCXQ4A6pgCUI8DkAMwd6goUBqyVz2lOZDsxT8cgX5HAPU4Ajl+c0NIyLQI52qzICzFHzP8rLprZgDYS/qFzYOzbQdMPd5Ajg09RAipLgeFkFXjD42ZNbEui3/XW/RQ/GGbvx4/IAehlsRXpB9wSTX21mp6vbow2z8fe0uP7cvxrgccB0jV9oWs4h7AnrsG+OD/Tv56bF8Ood1HhBJF/pmQvSik51vObT0mLcfeJJj6j3rKa/Cjnl2rwlsHP9b0NGr1eVzdzqCYoByAex3TW8Hrtec/dZ0z7L8V6EP0zsMGMc96Y9pgXJ85vnKqWr+C6DhVdVpP13KoCuVAWq/fZDXjrED/FKHLByTHunoBdXq3v0nHuTQ8LPnyRZYQb36w9Qc=")]; -this.addPalette("gmdlBottom Sheets","GMDL / Bottom Sheets",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLButtonsPalette=function(a){var b=this,e=[this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;shadow=1;fontColor=#000000;",100,36,"NORMAL","Raised Button (Normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")), -this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;shadow=1;fontColor=#000000;",100,36,"HOVER","Raised Button (Hover)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;shadow=1;",100,36,"FOCUSED","Raised Button (Focused)",null,null,this.getTagsForStencil("mxgraph.gmdl", -"button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;shadow=1;fontColor=#000000;",100,36,"PRESSED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#000000;strokeColor=none;fontStyle=1;opacity=12;fontColor=#BDBDBD;", +this.addPalette("gmdlBottom Sheets","GMDL / Bottom Sheets",a||!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))};Sidebar.prototype.addGMDLButtonsPalette=function(a){var b=this,e=[this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;shadow=1",100,36,"NORMAL","Raised Button (Normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")), +this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;shadow=1",100,36,"HOVER","Raised Button (Hover)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;shadow=1;",100,36,"FOCUSED","Raised Button (Focused)",null,null,this.getTagsForStencil("mxgraph.gmdl", +"button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;shadow=1",100,36,"PRESSED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#000000;strokeColor=none;fontStyle=1;opacity=12;fontColor=#BDBDBD;", 100,36,"DISABLED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#2196F3;strokeColor=none;fontStyle=1;shadow=1;fontColor=#ffffff;",100,36,"NORMAL","Raised Button (Normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#2196F3;strokeColor=none;fontStyle=1;shadow=1;fontColor=#ffffff;", 100,36,"HOVER","Raised Button (Hover)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#2196F3;strokeColor=none;fontStyle=1;shadow=1;fontColor=#ffffff;",100,36,"FOCUSED","Raised Button (Focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#2196F3;strokeColor=none;fontStyle=1;shadow=1;fontColor=#ffffff;", -100,36,"PRESSED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#ffffff;strokeColor=none;fontStyle=1;opacity=12;fontColor=#BDBDBD;shadow=0;",100,36,"DISABLED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=none;strokeColor=none;fontStyle=1;fontColor=#000000;shadow=0;", -100,36,"NORMAL","Raised Button (Normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#999999;opacity=20;strokeColor=none;fontStyle=1;fontColor=#000000;shadow=0;",100,36,"HOVER","Raised Button (Hover)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#999999;opacity=20;strokeColor=none;fontStyle=1;fontColor=#000000;shadow=0;", -100,36,"FOCUSED","Raised Button (Focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#999999;opacity=40;strokeColor=none;fontStyle=1;",100,36,"PRESSED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#ffffff;opacity=26;strokeColor=none;fontStyle=1;opacity=12;fontColor=#BDBDBD;shadow=0;", +100,36,"PRESSED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;strokeColor=none;fontStyle=1;opacity=12;fontColor=#BDBDBD;shadow=0;",100,36,"DISABLED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=none;strokeColor=none;fontStyle=1;shadow=0;", +100,36,"NORMAL","Raised Button (Normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#999999;opacity=20;strokeColor=none;fontStyle=1;shadow=0;",100,36,"HOVER","Raised Button (Hover)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#999999;opacity=20;strokeColor=none;fontStyle=1;shadow=0;", +100,36,"FOCUSED","Raised Button (Focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#999999;opacity=40;strokeColor=none;fontStyle=1;",100,36,"PRESSED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;opacity=26;strokeColor=none;fontStyle=1;opacity=12;fontColor=#BDBDBD;shadow=0;", 100,36,"DISABLED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=none;strokeColor=none;fontStyle=1;fontColor=#ffffff;shadow=0;",100,36,"NORMAL","Raised Button (Normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#cccccc;opacity=15;strokeColor=none;fontStyle=1;fontColor=#ffffff;shadow=0;", 100,36,"HOVER","Raised Button (Hover)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#cccccc;opacity=15;strokeColor=none;fontStyle=1;fontColor=#ffffff;shadow=0;",100,36,"FOCUSED","Raised Button (Focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=#cccccc;opacity=25;strokeColor=none;fontStyle=1;fontColor=#ffffff;shadow=0;", 100,36,"PRESSED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.createVertexTemplateEntry("dashed=0;align=center;fontSize=12;shape=rect;fillColor=none;strokeColor=none;fontStyle=1;opacity=12;fontColor=#BDBDBD;shadow=1;",100,36,"DISABLED","Raised Button (Pressed)",null,null,this.getTagsForStencil("mxgraph.gmdl","button","gmdl google media design library button ").join(" ")),this.addDataEntry("gmdl google media design library button dropdown menu", @@ -5532,49 +5531,49 @@ this.addDataEntry("gmdl google media design library button dropdown button selec this.addDataEntry("gmdl google media design library button dropdown button selected editable",100,150,"Dropdown Button (Selected, Editable)","7ZZRT4MwEMc/DY8uQJn66lDngyYmJvpc6QGNhS6l6uan90rLNkARFX1aE5L2endtf/9y4JG4WC8VXeU3koHwyIVHYiWltr1iHYMQXuhz5pFzLwx9fLzw8pPZoJ71V1RBqccEhDbghYpnsBZrqPRGOAOjVQ7G3ffIggqeldhPMD8oNKSy1Hf8zfgGIY6rnK7MQEGizTQXIpZCqjoXSetm3LSST7A3k9TNJmDy1aTDgdsdKA3rT09Ym9zxliAL0GqDLq+c6dx5+JaCnwPP8iZs7oy0soZsG7sDhh3H7GN+pMfvTHEqehC7WJDa3uH9uqHdnJQnVJw5zAVnzKRYVCua8DK7htTsPiAd8tEg0kY0UUcvFFQY9uDwjMYc/gxz5GwKBNX8BVr5f4M++vrqDlzGUpYwCM1SumpOMhoT+RhTO2APWjQFM7fereS4je1iR1Hnhss0rUD3IG+3OYr7/JslI9eFcAAbPYp1ZireLCuYmGl8YcqsvuWdarGrCS2VnHSj1IgG1fBn7jCbzrh1qfv6zKeRp734UdisPqlcxz25YqwHj4r3VEOOf1Wb/rfkkF++Pk6Q7vdhEjlO+nLIZ8XxW3qQY1iO07+Q47Qnxz0oRkt6kOMLOYJgAj1wuPvXte77v8Lv"), this.addDataEntry("gmdl google media design library button persistent footer button",300,40,"Persistent Footer Buttons","3ZXRTsMgFIafhnsK64y3q25X6oXzAYicDSLtaQBd59NLAbdVXabJ3EVJSM75f/4WvpBAeFV3CytadYcSDOG3hFcW0aeq7iowhjCqJeE3hDEaJmHzI24RXdoKC43/TYClwJswr5CUJDi/NVlwSrR9aeE5fHK20sZUaNBGl6/iCLrzFl/gwIE4ekcJiZsg0tDk/4H10B3dc5TyhheANXi7DUs2WnqVVnCazkUV6LXKsUnWhEv9ehfdEwhFhvAzEP4NyOxpuXy4P4VlePwGG/jC6lPCxj/q9z5ZsNwfQGPF9XTOgy6FUyD/Ao2dhHZV/g+zydiYdUNeF0BYjhRhUdKLMZyOlOHudpyfYWj3b030Bk/RBw=="),this.addDataEntry("gmdl google media design library button persistent footer button fixed", 300,40,"Persistent Footer Buttons (fixed)","7ZXfboMgFMafhnuEtstu69buZn+SdQ9A5rGQoRhgrd3TDwWtrjN1aXcniQnnO5wD/D4TEI2zcq1ZwR9VAhLRe0RjrZT1s6yMQUpEsEgQvUOEYPchshrIRnUWF0xDbscUEF+wY/ITvOIFYw8yCIazoppqeHctl6mQMlZS6TpL03o43VitPqCTgXpUGc4StXcidkHYD7SFcvDMtRQOvAaVgdUHt2QvEsv9Cor9vTAHseWhbBY0Zny8bUuPBNwkQPgdCD0BsnzbbJ6fzmHpXz9XOfxg1Ugqt6/iq6qMSIg70Eh0u1hRpyfMcEgCNA3GlTw0V43GciRnOd7MhzFqkMyKHfTaX8J2NrH9M9uww4sSbmOCy37rpkKlqQF74kV7rlH2zCd7rmRPNMf/4M9i8udK/rT/+iX+uPD4Tvvl3Wf8Gw=="),this.addEntry("gmdl google media design library button floating action button", -function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;fillColor=#FF4081;strokeColor=none;shadow=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(20,20,16,16),"dashed=0;html=1;shape=mxgraph.gmdl.plus;strokeColor=#ffffff;strokeWidth=2;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0, -0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.edit;strokeColor=none;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", -function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.star;strokeColor=none;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}), -this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,19,20,18),"dashed=0;html=1;shape=mxgraph.gmdl.heart;strokeColor=none;fillColor=#737373;shadow=0;");d.vertex=!0;a.insert(d); -return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,19,20,18),"dashed=0;html=1;shape=mxgraph.gmdl.reply;strokeColor=none;fillColor=#737373;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,20,24,16),"dashed=0;html=1;shape=mxgraph.gmdl.users;strokeColor=#ffffff;fillColor=#737373;strokeWidth=2;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.gps;strokeColor=#737373;fillColor=#737373;strokeWidth=2;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.share2;strokeColor=none;fillColor=#737373;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.navigate;strokeColor=none;fillColor=#737373;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.chat;strokeColor=#737373;fillColor=#737373;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(22,18,12,20),"dashed=0;html=1;shape=mxgraph.gmdl.voice;strokeColor=#737373;fillColor=#737373;strokeWidth=2;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(20,16,16,24),"dashed=0;html=1;shape=mxgraph.gmdl.google;strokeColor=none;fillColor=#737373;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,20,24,16),"dashed=0;html=1;shape=mxgraph.gmdl.video;strokeColor=none;fillColor=#737373;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,17,24,22),"dashed=0;html=1;shape=mxgraph.gmdl.gallery;strokeColor=none;fillColor=#737373;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,17,24,22),"dashed=0;html=1;shape=mxgraph.gmdl.birthday;strokeColor=none;fillColor=#737373;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,20,24,16),"dashed=0;html=1;shape=mxgraph.gmdl.cloud;strokeColor=none;fillColor=#737373;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(20,20,16,16),"dashed=0;html=1;shape=mxgraph.gmdl.x;strokeColor=#737373;strokeWidth=2;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(22,18,12,20),"dashed=0;html=1;shape=mxgraph.gmdl.bookmark;strokeColor=none;fillColor=#737373;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.calendar;strokeColor=none;fillColor=#737373;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(17,20,22,16),"dashed=0;html=1;shape=mxgraph.gmdl.attractions;strokeColor=#ffffff;fillColor=#737373;strokeWidth=1;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(20,18,16,20),"dashed=0;html=1;shape=mxgraph.gmdl.dining;strokeColor=none;fillColor=#737373;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.education;strokeColor=none;fillColor=#737373;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.family;strokeColor=none;fillColor=#737373;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,19,20,18),"dashed=0;html=1;shape=mxgraph.gmdl.health;strokeColor=none;fillColor=#737373;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.office;strokeColor=none;fillColor=#737373;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.promotions;strokeColor=none;fillColor=#737373;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.radio;strokeColor=none;fillColor=#737373;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.recipes;strokeColor=none;fillColor=#737373;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.sports;strokeColor=none;fillColor=#737373;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.travel;strokeColor=none;fillColor=#737373;direction=south;shadow=0;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button mini",function(){var a=new mxCell("",new mxGeometry(0,0,40,40),"shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var d=new mxCell("",new mxGeometry(12,12,16,16), -"dashed=0;html=1;shape=mxgraph.gmdl.plus;strokeColor=#737373;strokeWidth=2;shadow=0;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],40,40,"Floating Action Button (Mini)")}),this.addDataEntry("gmdl google media design library button toolbar",358,64,"Toolbar","3ZXRboMgFIafhssaBLtut7Vbr5bsbtekHoUMxCDr7NsPhdpaa2bSZlmmMYHD+TmH7zcB0VQ1W8Mq/qozkIg+I5oara0fqSYFKRHBIkN0gwjB7kPkZWI17lZxxQyUdo6AeMGeyU/wER+o7UGGQM1Z1Q4N7NyW61xImWqpTbdK8+5x8doa/QHHlVKXTrMuDBOuk4toqAnGQjPZdxcKTW9BK7Dm4FK+RGa5z6DLRy/jIAoeZA+Jj7Haz4teeqLgBgHEdSj0ZygZqzm06didh1vlttrELYUASzVF62lUqExGO6bAsBGjc3oXVFfd2yvew6HJXHjkOrwgwBFZes3hGAjzM7okGcONA3ADklmxh0H9a8RDC29auM76+ouYDMovnoY76DyvwY4c6w8yy8TkzibuRQZ66j//Zfv+v3vLO7tXMCmhLf4n/FvNMBCPDTxCuNlAPDQwjm930E1Pt5ZPP7/UvgE="), -this.addDataEntry("gmdl google media design library button floating action button",50,156,"Floating action buttons","3ZZPb4MgGMY/Dcc2iH/mrtO1pyW77UwmChkWg6zVbz8Uamu1m5m2h5KYwCMv8P54IAA3yqutxAV9EwnhwH0FbiSFUKaWVxHhHCDIEuDGACGoP4A2V/467V9YYEl2akoAMgF7zL+JUYxQqppboaS4aKo6kBWlrr2USoovEgkupNZ3YteIKeP8KAHkxk7sxl7TmeJEHLTo6EYmccL00i5i7SKIVKS6mkgr2Sy2ROREyVp3sQGhCTiwRFGjeCZzSAnLqOpruDTtrBvnxEhXLKZxZO7fyBJcUtJ0hzo5qnJu0z+izKus2fF1lid8/SmKegBVEwzaMiTb6Sbiw2aMpnJEv3KEa9+E1BftM7IOGpJ1AqNJwrFie9Kbfgy3XcG7YHph3fSroDf7KuwPINK0JGqwW10akzbQezDPW1Y+vNsR8Bc+AoVsTDAN8lz7e/PtH97O/s+3t39wK/tvNh4MnTvY39Jx4NDxfjDcm6M2x/FPCzu+Grvx07b839rBfGuP4FvK2v3baglr6+bppWS6nz+kfgA="), +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;fillColor=#FF4081;strokeColor=none;shadow=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(20,20,16,16),"dashed=0;html=1;shape=mxgraph.gmdl.plus;strokeColor=#ffffff;strokeWidth=2;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button",function(){var a=new mxCell("",new mxGeometry(0, +0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.edit;strokeColor=none;fillColor=#737373;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.star;strokeColor=none;fillColor=#737373;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(18,19,20,18),"dashed=0;html=1;shape=mxgraph.gmdl.heart;strokeColor=none;fillColor=#737373;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(18,19,20,18),"dashed=0;html=1;shape=mxgraph.gmdl.reply;strokeColor=none;fillColor=#737373;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(18,20,24,16),"dashed=0;html=1;shape=mxgraph.gmdl.users;strokeColor=#ffffff;fillColor=#737373;strokeWidth=2;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.gps;strokeColor=#737373;fillColor=#737373;strokeWidth=2;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.share2;strokeColor=none;fillColor=#737373;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.navigate;strokeColor=none;fillColor=#737373;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.chat;strokeColor=#737373;fillColor=#737373;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(22,18,12,20),"dashed=0;html=1;shape=mxgraph.gmdl.voice;strokeColor=#737373;fillColor=#737373;strokeWidth=2;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(20,16,16,24),"dashed=0;html=1;shape=mxgraph.gmdl.google;strokeColor=none;fillColor=#737373;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(16,20,24,16),"dashed=0;html=1;shape=mxgraph.gmdl.video;strokeColor=none;fillColor=#737373;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(16,17,24,22),"dashed=0;html=1;shape=mxgraph.gmdl.gallery;strokeColor=none;fillColor=#737373;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(16,17,24,22),"dashed=0;html=1;shape=mxgraph.gmdl.birthday;strokeColor=none;fillColor=#737373;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(16,20,24,16),"dashed=0;html=1;shape=mxgraph.gmdl.cloud;strokeColor=none;fillColor=#737373;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(20,20,16,16),"dashed=0;html=1;shape=mxgraph.gmdl.x;strokeColor=#737373;strokeWidth=2;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(22,18,12,20),"dashed=0;html=1;shape=mxgraph.gmdl.bookmark;strokeColor=none;fillColor=#737373;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.calendar;strokeColor=none;fillColor=#737373;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(17,20,22,16),"dashed=0;html=1;shape=mxgraph.gmdl.attractions;strokeColor=#ffffff;fillColor=#737373;strokeWidth=1;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(20,18,16,20),"dashed=0;html=1;shape=mxgraph.gmdl.dining;strokeColor=none;fillColor=#737373;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.education;strokeColor=none;fillColor=#737373;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.family;strokeColor=none;fillColor=#737373;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(18,19,20,18),"dashed=0;html=1;shape=mxgraph.gmdl.health;strokeColor=none;fillColor=#737373;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.office;strokeColor=none;fillColor=#737373;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.promotions;strokeColor=none;fillColor=#737373;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.radio;strokeColor=none;fillColor=#737373;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.recipes;strokeColor=none;fillColor=#737373;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.sports;strokeColor=none;fillColor=#737373;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button", +function(){var a=new mxCell("",new mxGeometry(0,0,56,56),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(18,18,20,20),"dashed=0;html=1;shape=mxgraph.gmdl.travel;strokeColor=none;fillColor=#737373;direction=south;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],56,56,"Floating Action Button")}),this.addEntry("gmdl google media design library button floating action button mini", +function(){var a=new mxCell("",new mxGeometry(0,0,40,40),"shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;");a.vertex=!0;var c=new mxCell("",new mxGeometry(12,12,16,16),"dashed=0;html=1;shape=mxgraph.gmdl.plus;strokeColor=#737373;strokeWidth=2;shadow=0;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],40,40,"Floating Action Button (Mini)")}),this.addDataEntry("gmdl google media design library button toolbar", +358,64,"Toolbar","3ZXRboMgFIafhssaBLtut7Vbr5bsbtekHoUMxCDr7NsPhdpaa2bSZlmmMYHD+TmH7zcB0VQ1W8Mq/qozkIg+I5oara0fqSYFKRHBIkN0gwjB7kPkZWI17lZxxQyUdo6AeMGeyU/wER+o7UGGQM1Z1Q4N7NyW61xImWqpTbdK8+5x8doa/QHHlVKXTrMuDBOuk4toqAnGQjPZdxcKTW9BK7Dm4FK+RGa5z6DLRy/jIAoeZA+Jj7Haz4teeqLgBgHEdSj0ZygZqzm06didh1vlttrELYUASzVF62lUqExGO6bAsBGjc3oXVFfd2yvew6HJXHjkOrwgwBFZes3hGAjzM7okGcONA3ADklmxh0H9a8RDC29auM76+ouYDMovnoY76DyvwY4c6w8yy8TkzibuRQZ66j//Zfv+v3vLO7tXMCmhLf4n/FvNMBCPDTxCuNlAPDQwjm930E1Pt5ZPP7/UvgE="),this.addDataEntry("gmdl google media design library button floating action button", +50,156,"Floating action buttons","3ZZPb4MgGMY/Dcc2iH/mrtO1pyW77UwmChkWg6zVbz8Uamu1m5m2h5KYwCMv8P54IAA3yqutxAV9EwnhwH0FbiSFUKaWVxHhHCDIEuDGACGoP4A2V/467V9YYEl2akoAMgF7zL+JUYxQqppboaS4aKo6kBWlrr2USoovEgkupNZ3YteIKeP8KAHkxk7sxl7TmeJEHLTo6EYmccL00i5i7SKIVKS6mkgr2Sy2ROREyVp3sQGhCTiwRFGjeCZzSAnLqOpruDTtrBvnxEhXLKZxZO7fyBJcUtJ0hzo5qnJu0z+izKus2fF1lid8/SmKegBVEwzaMiTb6Sbiw2aMpnJEv3KEa9+E1BftM7IOGpJ1AqNJwrFie9Kbfgy3XcG7YHph3fSroDf7KuwPINK0JGqwW10akzbQezDPW1Y+vNsR8Bc+AoVsTDAN8lz7e/PtH97O/s+3t39wK/tvNh4MnTvY39Jx4NDxfjDcm6M2x/FPCzu+Grvx07b839rBfGuP4FvK2v3baglr6+bppWS6nz+kfgA="), this.addDataEntry("gmdl google media design library button related actions",200,40,"Related actions","3VbRboMgFP0aHtsgWtu9zm19WrK3PZNxFTIsBlhr/34o1NbqMpO1zTaNyb2He4R77nkAxVlZrzWt+LNiIFH8iOJMK2V9VNYZSIkIFgzFD4gQ7D5Enr5YjdpVXFENGzuFQDxhS+UHeMQDxu5lAAynVRM6oqiMi+6N1eodMiWVdvhGbRowF1IeIETivH2aYk6Z2jkwckmhKRPuaGfccAjQFuovG2mh0MUaVAlW713JTjDLfUXie8UcRMFtH6PG50XHPKrigiDMuEjx9yIxajg05di1w20pQ8MH8cq6aGY8L0om50y9DVQ8lexMymX7dozX0DCZKhwZFy4Q8HzhKfuz/ETYKBkKG6Ue0yCpFVvobT+mdjjBixLuYN32s2Vv99mq/wOV5wbsYFhdG5Pml/x5kwfCCg9Gcy3PLy7seVNpoMwR3DRv6P3k595Pr+f9u+t7P/0v3o/S25l/eWnzj9p+XNfO8ZM0S3+1v1cX97dLj5cjX356d/oE"), this.addDataEntry("gmdl google media design library button floating action button",50,456,"Floating action buttons","5ZZNj4MgEIZ/DcdtEPp1ru32tMne9mzCKGSxGKCt/vtFQVtXu9tkN16UmDAvM8PwMAcQjfPyqJOCvykGEtEDorFWyvpZXsYgJSJYMET3iBDsfkReH6xGzSouEg0n+0wA8QGXRJ7BK14wtpJBYInhULtjRHfc5q7GfeSmhidF7ZKXWV3+IsuZXJwN6HrNavUJsZLKWfuTOjnHXSqkbCVE6BbXwydi6hqyulxMuOK/xYYyQVsoHx61kcI5j6BysLpyLiFg6wOuglnulaVngzmIjNu+lhhvZ12eG0U3CSDHodLZQa2ChSdjvJwr42g9HeTVXCF39CaAvJ4rZEqmg7z5HXIL0wWKwsCTCNPmmwBh1cIYQluth9Ba7S/Qtv/cmeWAqQO4aUa38hGORZ7Ftfmx4/Bi1eu5zr7DF43gazUNMrHiAr3tx5iGCt6VcIV127/0O7412wQqTQ3YwZV0xxi7JWfenofe/f71+AU=")]; -this.addPalette("gmdlButtons","GMDL / Buttons",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addGMDLCardsPalette=function(a){var b=this,e=[this.addDataEntry("gmdl google media design library card card",342,356,"Card","5VZdb5swFP01PDbiu91jPhtp2VY107pXDy7BmrGRcUqyX7/r4ISkQEsXtD0sURT7+Nr3+pzDFZY3zXb3kuTpJxEDs7y55U2lEKoaZbspMGa5No0tb2a5ro0/y110rDqHVTsnErjqs8GtNjwTtoUKqYBC7ZkBipTkeighwiMnCWVsKpiQh1UvOXwQL5QUP+G4wgUHDaYkFiXOHZyYVCAV7DrLPUCm1nsQGSi5x5CSxiqtIjzf1JgC3aRmmxeEFUiKCtic9ta3x4EhoJ0M791ktF76BUOTmf4iXqZUwTonkT6gRMn7cuL+GSfOhwE48RucfCR8Q9ChiH4jjIEuZU0SImmDLbyUZklfj0aEjRndcFz5IZQSmWZKcLWmv3Q0ko90IjmUb1aQ6Cs4YQ3h1K5nE3PA7CZAUEKBZzwZNno7rYPVvXlsRkFgG/7eItoPKkwCI4o+w0XKa8gPGuSvREQUxAiqUiuQiq0sNOliiyW6tki0GvuYH2ShXAemoDEdAFIDS6ycER4Xx/jPUJoI/HsiDHAFa7NHo1GXpG1e7lbv0XDVouiZBRy/VcwKWR75/gf63obv1NdkfRCUqzplYF/uEElSgGr44VRrL4uEVzXwY5tua2MDkDxIV75t3HC9HD/Ou5x5bijXzM+68WIxDjy/tuFXkRsnvmJpE/Gyj2U0jnX2CTFAhLyAPBZhSutt2PBVLm98v+HWO7ulGfmDmPWUblC33jW0nH9/WH35j9TcXSr3l8V9I/s1WuO0fm2tws/fan8D"), +this.addPalette("gmdlButtons","GMDL / Buttons",a||!1,mxUtils.bind(this,function(a){for(var d=0;d<e.length;d++)a.appendChild(e[d](a))}))};Sidebar.prototype.addGMDLCardsPalette=function(a){var b=this,e=[this.addDataEntry("gmdl google media design library card card",342,356,"Card","5VZdb5swFP01PDbiu91jPhtp2VY107pXDy7BmrGRcUqyX7/r4ISkQEsXtD0sURT7+Nr3+pzDFZY3zXb3kuTpJxEDs7y55U2lEKoaZbspMGa5No0tb2a5ro0/y110rDqHVTsnErjqs8GtNjwTtoUKqYBC7ZkBipTkeighwiMnCWVsKpiQh1UvOXwQL5QUP+G4wgUHDaYkFiXOHZyYVCAV7DrLPUCm1nsQGSi5x5CSxiqtIjzf1JgC3aRmmxeEFUiKCtic9ta3x4EhoJ0M791ktF76BUOTmf4iXqZUwTonkT6gRMn7cuL+GSfOhwE48RucfCR8Q9ChiH4jjIEuZU0SImmDLbyUZklfj0aEjRndcFz5IZQSmWZKcLWmv3Q0ko90IjmUb1aQ6Cs4YQ3h1K5nE3PA7CZAUEKBZzwZNno7rYPVvXlsRkFgG/7eItoPKkwCI4o+w0XKa8gPGuSvREQUxAiqUiuQiq0sNOliiyW6tki0GvuYH2ShXAemoDEdAFIDS6ycER4Xx/jPUJoI/HsiDHAFa7NHo1GXpG1e7lbv0XDVouiZBRy/VcwKWR75/gf63obv1NdkfRCUqzplYF/uEElSgGr44VRrL4uEVzXwY5tua2MDkDxIV75t3HC9HD/Ou5x5bijXzM+68WIxDjy/tuFXkRsnvmJpE/Gyj2U0jnX2CTFAhLyAPBZhSutt2PBVLm98v+HWO7ulGfmDmPWUblC33jW0nH9/WH35j9TcXSr3l8V9I/s1WuO0fm2tws/fan8D"), this.addDataEntry("gmdl google media design library card card collection",358,642,"Card Collection","7Zlbb5swFIB/DY+JbG4hj7n0Mq3dqrZa9zY5wQRUgyNDmmS/fjaYBGLISAJrVY0oUnywsX0+nwsnmjEJNzcMLf176mKiGVeaMWGUJtmvcDPBhGg6CFzNmGq6DvhX069r7sL0LlgihqOkyQA9G/CGyApnkkwQJ1siBS6KfSy6A80Yxz5aCjnDc/78sRcQMqGEsrSr4aWX6JYw+orzOxGN+JixnAqzBG9ql5uK5FpvMA1xwra8yzpwEz/rYVhONszHwcKXw2xTLhzFmWCxG7vfPf8hFVCtDENRBuRrGRngJJ0gEiwi0cxWd6gj07JGtlmnI49GSaHzdXqJzks0D6LFo9yxuRc90yUXQDn2Sa4R5O3gt2hCg7cZjnnrRWoSNiWin0dENzMZwwQlwRsuPf8SSuaZRzbcLISZ9RehS/oJXf6aIabi0afG0LEvOsJGtcLKA7bSOvtW1i6o07RVbcJTtSnnf6ABX9Zu8t5QL03fG5SfQD0vxolCY7eLRoAsBdAzQ2+YpIwYRuFJ5lRtJmVoNhhMnXHlES8YgdDK3wwss6aeMBdBOZgjMpL2HAauKxacd73DnoAz0As2T1JZp3ZlDS47CduyebZK3m7DNJcMe5iraY7jhvh3YaeR3q1qvR8xyFxXJYO0WzHI/DG5PTodUBm0QSXGiM19BUhR+0UqElTWObdH/UJEjT0orPKg7QDr5dlAl8ScNoiFiC2C6DHzosKZ3qcC3s05NXPjz3fpWnpU1cdmkttc2V1nFoZ9IUqJzoEdoBuqwY+HFB1AfmzAaMXVy2MFinhjhtHc5z6ubbJ7wZgmCQ1FPHMaetLxVHy4fO0HCX7igU5MvuZTHwmdh4FyJqc9jIrFUFxIYMWJsZseGee8I6MDs/50NE08IVDYfluFM8wk3gOOfBvJsTSimJ4X1CHTigMNgX1rT9VSoQzT6/xkv0a/e19rqd622ki7Sv8hVCi8iMPqY55jCrsaC7vSRC5iQKE2cTdeRS4SG/kSExS5ms6nARU3VGuUFKvsoR5Y/pqWnusyxEPq783JAq34UqOLdBKq1Ymn29HjVR2kom4rc/2RZShvzuA4Xdmj1opzHzfnaDA7eAtvCSdUUDpAJWm284rolNMbS+8CrFppufr5cPf9P9pu0f4Ttmp95iuKFohRyqU/ECFY7P8JeYgFrSc/Hz3JOYzhenUMaDmj3oUFe9gwLEDn1LjQOH6r5aFmp+CEehBIr9ZLnrU2W6lC02klsvbMLt4wYSulmhmavzYuCRS5nFkXgMcLA6Cf1x6P1QaqijktVVcHZf/aRXEVNqjm5Kz4yGAZ4w9F6PMDalC8OerS3pPO4LPh4c39n6lZ9+J/rX8A"), this.addDataEntry("gmdl google media design library card card collection",358,642,"Card Collection","3Vpdb6M4FP01eUyE+e5jk6adlaazo+ms5nFFwQloDEbGaZL99WuDnQAGhgToV6oq+MbG5hzfc69tZsYqPjwQLw0fcQDRzFjPjBXBmBZX8WEFEZrpWhTMjLuZrmvsf6bft/wK8l+11CMwoX0a6EWDFw/tYGEpDBk9ImEIvCyEvLo2M5ZZ6KXcTqDP7r/cRAitMMIkr2ps8g+vRgn+DeUvCU5Ym6XoChIKD63DzU1irA8Qx5CSI6uyjwIaFjUMyy2ahTDahqKZbYqBe1lh2J7anp+eXQgAmsEwFDAAG8utoV2EiYeibcKLxejqGK104FrLNow2OKGlyvf5h1dOPT9Ktj/EE5tn00+cMgMQbZ/EGDVZjv7jRWCwMoEZK/0SSIK+jOjXMaKbhY1A5NHoBVbuP4Ql88opGx+23M0W2zhAC4rTf589MmiqGs3AVBschRcurKJcgs20VdTApaiJ/r/jiA3r1Pn8Rq90P3eqd8CbTQapgvrpKXoRYSlEPPLnj3dZ5F/kMc2eUHWb9Q1Y282zuDTPOSB/8qHCYeb8XpzgyPfQrXDZOAoCPmBZ9SvccF4cveTWKLdN6jqWM2wSHKseOCrp9hjelxK4gQwmH2Y96bfvtTUfdT/crWbcO3xRYlXxRXsUX5S3ka7oTsCKMwYrGfSIHyqEMPT1O8u2lzVWBFFFZemP+kCKeosnaBLPcQiby4A/JWPuGIzFHtlGyY9CRbmYPuYGVs2tGJaYUhxz1TNV1zqR2+iHrN8A74XSqtpbWL5IEqZOKoCjjyKNLpiA0huF0n8SFMURZSSewqKWMDTrTDOkOIP7kNV9YqGHm/eM5o5gVg9dz4LiepwqB8dS1si5ss/F8wRxr08U3T9zKrP0SuquXUhp30QRaAohX6OMwoTZKOaTAe8I+9p4L5gw5Hl3DNSMZvwq4aR56HkX8+I+hAlkz19cEnGJGb8JPNVms4iXF5fwW800ypzIXL9sa8jszY5J8rpEWpcS2eybljWBbwKgzoW/nn6uvzHbt79/tTHWmiDW11ZVGjWFsbqfaR2sSQ/2GSGQDCTtWGlQDqBiZ6BK4UB5PVSCm4yf8q7jMnrt1sVVEVQsGswLwqruWK7dK6wOiZgy17fUFKk5glr2CMqq7pQ87VJI4nwL651Ht15ogx4JSlcwG4SuusNxjzOaRxwa8nDzHeKUoftewswgRGuq3zfIDAJY3bkYVTr0qkxIhF1VJJZ3/G/YhmkLrrLFjalKv9202u0ShpaFEqhP93GUfZQ9humU3XXA2r59LWU3gRq7J1R2dSfhi4f8I+ZJ8513zD6HuttvqO7qyn+NUMRl/QHvUMAf8GMJewuYbyHs6hL8Awt7C64fV9h1dUH+roT9dgls69VSdst2+gm7YbXz19czdHX9+3E9o5hHwz2jC9jXdYxr17IXHKBp+ef6TaHuydwzRzGFbeAW0dycYku+4fz/Ch959vzfTWcop3cj2ni58iCljRjRQlvIc9quw5SmsDHSSbRT6X2Sg+g+rwRIrljLKM3gu2Lo8xPUY8HdKWlvyY7z2ehhxfMLZkX18vtn/wM="), this.addDataEntry("gmdl google media design library card card collection varied layouts",358,642,"Card collection with varied layouts","7Vtdb5swFP01PKbCGEjyuLRL97BK1TZpj5MTnGCVxMiwNt2vnw12woeTEWIoTUdVKVxsMPfce3x841jwdrO7ZygOH2iAIwt+tuAtozTNP212tziKLMcmgQXvLMex+b/lzI9cBdlVO0YMb9MmHZy8wzOKfuPckhuS9DWShgAlIRbNbQvOkhDFws7wkt9/tiJRdEsjyrKmcJUdolnK6BNWV7Z0y/vM5KMwS/Hu6HAzkxzrPaYbnLJX3uSFBGmYt4DeJO8WYrIOZTfflQNHSW5Y7/se3p5/kA7QOwPWnAH4WD5B+yyfoIist+I0H13VR9CG8+n8mI9WdJsWGs+zQzSO0ZJs19/kG7sH0w8acwOQfb/LMdrqnPwRpwDyc4YTfvZTehI0RcRph4jj5jaGI5SSZ1y6/yUouS1DdrNbizS7WW+C6Cal8a8FYheFKtQ7ptzhVWbhjZefF9zm+nWvgXO9Jp//SAkf1v7ho6lTevxoXL4DXa0SnNa8vn+LRkB4NSDuSLKk3Gtn5Ys+DypJM/fAzBPA6MK4EOjCI/9KojxjRiIlBMJkiaJPMmc3JAjEmFXTr3glgBk7hbyOMlunueONL4uC13IKGkXdN5F+McMrzN20xEnDCNhPLY387un9fiIZla9KyegbSUZ1G5WLkw5QGZtAJcGILcMaIEXvF1GRQOWNVT46F0LUmD2Bjj3NADZSM36XiE1qiD0yPFqhhXgnfqOkBYAbxNZk+y3nVUGvD5mBN/NLhhlNU7pRJFjJtNmd+DuWlvy5AX0pEK+OaIuE7GpodiGfr2h2Px6vIGwUm1d4t07/ueWLioPOhQ2ERth5AjqIqqkJHjASRqfXAi216OQkr4MaSehnV2AEv5HXBYDANoFgyJlcs/Y4ndrF9YMmu6fZUVlXNKb76aV0rwHSFN0Dz+ue7wEwAeyC0ieenk/Xha1mKpd1i8uxtSsrIZVgZsFtW0cp66+QO7UxssUrbeFtqd2GDLg77QPveqlojp4pIym2xAoJAgEyoyjgjVJGYrNqDpYMcpFqVModBH9Fyr2E/B2/c4UmLC98sCXBBvxTaq+i5Kriz530Ie/2YQl9z69H5niqCU2VzUNUfMBIPayd5DvYVWGyNyUIjlTfjkpBLbLDloL1AlsLZIcnBfOI/dBa0EgRbZBa8HJw378YNFOMey9icNCI96MG67W8GU7SghJEhEVka7imp5+B/8vARjJwV4nHq5OFb1gJrC1N+lOF5xYI358qdK60QAg+fIVQjesaVeGQK0b9qEIF5kdRhUNGvBdVqNlO1tsM3F4A9ld/Gzf8us6/EPQuVVbrzWhn7H2ys6O9JjqNQ0MQ3IkREEZuJxOnkULZAi2fdAyq3ftSxKUlQzqn1832jVNdmmhIUrdrydAWwnGZI7vYQdhkM5nCivckcYIHhdD1A9SglHWS0t4SnfG1wcNPD78MyJsXfzjwFw=="), this.addDataEntry("gmdl google media design library card card collection",358,642,"Card collection","5Vptk6I4EP41ftSCAKIfR+dmb6tu9652rbraT1dRoqQGCAVx1Pv110mAAQMzKLA7emztaJp0XvrpTvqJGVnL8PgpwbH/hXkkGFm/jaxlwhhX38LjkgTBCBnUG1mPI4QM+D9CTw1vTfnWiHFCIt5GASmFFxzsiZIoQcpPQSbwcOoTUd0YWYvUx7GQJ2QD7S+2NAiWLGCJrGpt5SOq8YQ9k/xNxCLQWWRdkYSTY+NwpSgb6yfCQsKTE1Q5UI/7qoblzJSaT+jOz9SmdjZwnCrBrtB9nT18yQxQbwxLM4YJY3mwjItsggO6i0RRje7cRobhzqeLJhttWcRLlZ/kIyrHeEOj3bdsxvaraMViEJiZ7vdsjEZepv+KomlBOSEplP7OLGm2RQRdhwiylSwhAeb0hVTa74KSfaXLhsedCLPJLvSCCWfxP2ucdHJVq94wVYVTFoUTR5VLZrOnutXMS62W9f8XozCsovPxHFW6H7vVFth2mxKuWb2YRSsgHA2IJwJWF4PHHkkuCpr6YDiPnPl0NhPo1PlyyduR8X4kqbAZi7gQMNMNDh6ywA2p54kx51X/IFuBjotKwR1I2aAB5LjdXOFUjcNeoZ/2EYNxQrYEzLQhaWsPsJGEv5XdnXq7vxGRua0qETntJSLzZvKAnA2AitsHKgAKBJevIVI2fxMsSiOPStQRqNYLqVm3kPYD23jqDI/brA/cYBgcFqufGkqtEXKGAyiP2SEBmvcBUIiTHY2+qf1ObHtfpACqzSqCBeOchWJzsltn2PCGyEd17rFDtiuqffL33O5m7dY55C6GXNTLNjYzB8DVNN4H9m3Gs3gU/zqlkfM2sVUys1uz2rk9BdO8uktl5LFno5ua0VcJfgHue256sBqvyc/WWYCc5WfIruE8Z1ngXD7XB0EDVuUUwjF0eGyjnxgYAg39BOArOYDgB0ue4WNJ+aktMA2J8zkwYn7nwBjyuVVgzg8f+kFGP454xCdFr+KYwOS9CZRWPoG/nIQxSbmEicpmEryTZOxAwQLI2EceDWlE5S6FjO1eDANsa6z3QovLVg40EluH6ILvk0jW5Kx4nbI998cEp1x0/FnoHWDKMG/RIn5h+wSvA1Fz4+NoJ77gyCvUVzh6FsRQyneYRpMmxzr4lBPhREJ8gC00l32vyjI/E44yPQt+u8Y/OSspFdusoZFCc1BHtHJvKTvibNaLI5rGIGuEfuTysFx9/vMryMyOi0PdQdXZ2mAvncfFQ4l8b8DaJKngXzSTjaMrXqeKQgm9eU2OY/cD3tgZZBnRj2kK8PRs5zLwZkOBNwhydet/R+SOVacYFsheDl3aspBsKbwFClLwThvpzLOelOSm+5CkpMUxzuCkRDnb/4mV6IcwECSQanHKorbL5C9kJk2A3TI10Y9dnvaR6OU1Y10QvPE77mI/g5/8YngGIShIPz0BMiLT+4P6SKE58QHmFzSBbTOuAJiEOY4RY1GZKKRCY002WKqGTDbkUaA10YarKRR8ZH+XFKKFr9weh0D6qc/dcIgmwO6HROQpyN2RiMuhu3EWUXPJRcOvK4u4Jc6Q56jvUYa+8qQhGMPVV2IuunzRLQF6Gwc9zupB6GmNtAfZ4fSDlisia403z3VxUkRQEy5X/vaufKeR6BkTVP0BvPb397prEz1dZHKra+IQ95ja3GbJsQJNGqfkQyF0/wBdfiLycdBx7w0eKL7eT1bVy9eX/wM="), this.addDataEntry("gmdl google media design library card card collection",358,642,"Card collection","7Vtbj5s4GP01eczINrfkcZJJulq1VdVWu+rTyiFOggKYBdLJ7K9fm9sANgkDdmZaTaLRBGPAfOe7HB/MxFgG5w8xjg6f6Jb4E2M1MZYxpWn+Kzgvie9PEPC2E+NhghBgfxO07tgLs70gwjEJ0z4HoPyAn9g/kbwlb0jSJ79o2OLkQHh3MDEWyQFHvD0mLjv/Yuf5/pL6NM66Gqsl//JuaUyPpNwT0pAdsyguReKUnDuHmzUVY/1AaEDS+Il1efS26SHvYViz/LAD8faH4jDbLAaOk7xhXx37fPfsR2EAuTEMwRiQjeXeAC+yCfa9fcg389G1bbQw+bfLRjsaprXO6+zDO0fY9cL91+KOzeem7zRiDbA49lsxRlBue//xTWiw7ZgkbOvvwpKwLyJoGCLIzNti4uPU+0ka5x+DkjnQZYPznofZ3T7Y+ncpjf7Z4HiUqxpywzQPeCqi8M7Kt2tmM23RavClViuu/4V6bFjVxadz1Lj81Gmege52CUkFq1d30QsISwDiM01JIqDBbJh2+nstOIom0U1rjoyAGCT5px0RU97CEfRc7N8XMRl42y0fVtn1I9lxwzuoFrd+1qY1NixnHMpPzRBTiqqtIryimOwIM5PL3KEH8nUQe9ndktv9QrCVtmoEm60k2MrTlLE204CKowKVhODYPQiA1K0vice8cxmPaCREvbMjlGVHNYBNy4quE7GZgNgS8w7sFgzIIfqThKHHomQAkAGO9174NecbnHZ8yhoKYvDckGfCZluR8kwxBAFYLB86mQkbyJY+1jKyjKa0cmg7/aZ8PI10bgq5GIncxqyqwh+lM0CdfAY6c1llBkqS9gxqcLb59fRQOpLv1aK6gf79amnWgQbDbTy7mJ+hJNgd0eJopMHPjUAsY93SUTQhEAD4hPkd87Kz5P8BdLqIUVcw9SQvWcDoQUUWB4rCYGpqwQGqqJMp8Ul0kNKUXfYZNW3oQEFaGEVMyqAYNdXqKotGM1QMWwdEouTwnbLtTcxcms22axWy9nPKerg4iHgfBPaMyLR2+jhMSRy2WpOAxnxG0mhkURdjfkV2zJGk7d0pfSR8wDuGLEPuFLX2P+I44Kem7rF96M6LE25QzG4WgaOXaqzt3XXcWFtwYd20jkNDnpaadfy5oGis4xWlRGXGvVrZ5yNppc7KDkVR6scpxDXHY8jkXgxo3f0TzHwOAba9LvPDjf3QBs7DbPEG+eRt/dBCPd3Qnr1hN+yhul1jmNbcMWdQEcOEHerb70sxRbmNBeDhNhyTTby14fLrkUwlEhkzOgm3mQStnmN2odCTZEKZnq8mVKYGapFMLRCJetk7yVRa3Nfr1cK4bXGXkMwsLzWKu62vkDuzmyYvPXVclCU/xNQlsSd5cKNXiKw/y2w5l2lZ9/YgJXKTfRTNYMDrKJHnijn28zdkvOX5iwJpUi1xfLk2qa8amjcgjkjUJrEf0JBXj8Dzj0O4y4G4xw09y8B6Zi91sLpqQK/nTT7eEP8LTbzUo/WVFWVQf2ztr0jslSTQRXZliydG+dYVagVHTvzOTaALbyrnnWqdSRRYXerS8JRmpCUd9Djr3Z1+AXea6RCDy2JQd6eTewo2av2oTRz6uhB/LDabzy3j3Y+U+REst9U6kiiT7mNCQn6dKPIHkdv3tPQruJMeziTKnUscRJuslxaFDYHbEtg3rbBJlhYOiF+fujiPFR0K27jHuKWe3phTICUBUj22rRQ2SwdEogi69AnmCXdLkiGTir5awgXdQMETp/bDpFZyvaYQTJF0ZirRDHp5WU+FoJKoDLunZmCP9DWdkoGaxY4K3GnxwL+93On1IC9XkV9Xid6wLClZLfmZPLIGcj54m5zxsEvyYTzgsKne/3viL8ss1pRyRSPlMv9Hym6v2lPrbt8h6w6aU/bfnvIcXO1xeEEEf/GHMq7Hhftv6d2NvE4gl+u1A8z2atx6ey/S2cpcdaoH5Jmsn386l+kH6umPEJjdrtf3XZCXLHxkR3pRIgqM8vXoq9V6bQqao4IIvsYMLMm6Z2ukwFsyA6eZPKYQ6Vj5bIiC44BIivyT+O4AA8axnRVcS2dQA6CaX8SqBVZPHgcVOLYxdCFj8RJaHxcH2Uf544tOz5a+CmOqWfQyNbV4sihPDfDkDXaPFzWELlwGvnlhdLxDWVEI1OYQEtJ4wa9HZ6FmEtLxapohykEvrguvidDvD9AL1pNJU9prouP8bvCwzedXzvPu9TfS/wc="), -this.addEntry("gmdl google media design library card card",function(){var a=new mxCell("",new mxGeometry(0,0,344,254),"shape=rect;fillColor=#BDBDBD;strokeColor=#BDBDBD;shadow=1;");a.vertex=!0;var d=new mxCell("Greyhound divisively hello couldly wonderfully marginally far upon excluding.",new mxGeometry(0,172,344,82),"shape=rect;strokeColor=none;fillColor=#ffffff;;whiteSpace=wrap;align=left;spacingLeft=16;fontColor=#666666;fontSize=14;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a], -300,230,"Card")}),this.addDataEntry("gmdl google media design library card card",342,378,"Card","3Zhtb5swEIB/DR9Tgc1bPzYkrSbtTWulfXaDAWsORsYkYb9+h3GaEohCG9JpIy9wZ59tnjt8NhaO1rsHSYrsi4gpt/DSwpEUQrVX611EObeQzWILLyyEbPhZ6P5EqaNL7YJImqsxBqg12BBe0VbTKkpVc6MoM1I0l5KuoMl5wjiPBBdSl+L5ovmAvlRS/KKvSqg+mpKMxGILSgcE0x+Viu5OjlmrzIAfqFhTJWuosmWxytoa2DUDzShLM2OGg7BVkrJVpC+2BwRwYSgME8FvJnL6zo9YJfoAvaQl+01/mtsZjQW9D0vQhoAtKSeKbWin/UtQueNRgSErStqjlYt8ANStPsZiwWexuHafivtWKqaH74JBx8jej8drLequuG9AJElJVQ/qyzBHcfZ6nJ+YAsLHsAGSmg4awl6fGpqGmv8B1PwetcfqOaMkPsUtEbm6YhB+IE98DZ5Bj+eDpHUmqhyI2jHbsBJugNf6DjkXcF6JisdasxV5TGVScS2tiUxZTlohIRL+q0LkcKK7Fa9ilqc308+68N1mTNHHgqyahraQdUFHOEtzEDlNdLtQCv1/1tLC8fuB4esD9E1IsBXhd6YFJYpDA0+NsHBsY/8IE34j40ONHyYMdB+XJADjdeSZYDqXEBw0QZ4MPyBPvstjbt9jL4uUaRNv3TE4R90NL3vUTW8z98h5kzzctxd6cziP36MgitBYyuEbKe/XH5351L1GVp/hazB37PPQY1JmtKlvtwtp7YH1Lm02DDfpOuY3kNHkWH/MPbwMvbH+uB32x66zTq47S8FX3nHCgYnHv3zecZzrhKo/ny+W/2Co+l1HXClUR+wTz4eqpAVk/LFbAG8Zjt8wntgx/u1Y7W8m76KnT9++Thqxx8uTO3Tvof2yw3ThDCxDLon0rsHJuA8GNl7YnyTuZ46HupG/T7rTRn5/kzuhC3GwiHDfhWHkeF70/7sw8Kb3IIiH12dt9ddv1/4A"), +this.addEntry("gmdl google media design library card card",function(){var a=new mxCell("",new mxGeometry(0,0,344,254),"shape=rect;fillColor=#BDBDBD;strokeColor=#BDBDBD;shadow=1;");a.vertex=!0;var c=new mxCell("Greyhound divisively hello couldly wonderfully marginally far upon excluding.",new mxGeometry(0,172,344,82),"shape=rect;strokeColor=none;whiteSpace=wrap;align=left;spacingLeft=16;fontColor=#666666;fontSize=14;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],300,230,"Card")}), +this.addDataEntry("gmdl google media design library card card",342,378,"Card","3Zhtb5swEIB/DR9Tgc1bPzYkrSbtTWulfXaDAWsORsYkYb9+h3GaEohCG9JpIy9wZ59tnjt8NhaO1rsHSYrsi4gpt/DSwpEUQrVX611EObeQzWILLyyEbPhZ6P5EqaNL7YJImqsxBqg12BBe0VbTKkpVc6MoM1I0l5KuoMl5wjiPBBdSl+L5ovmAvlRS/KKvSqg+mpKMxGILSgcE0x+Viu5OjlmrzIAfqFhTJWuosmWxytoa2DUDzShLM2OGg7BVkrJVpC+2BwRwYSgME8FvJnL6zo9YJfoAvaQl+01/mtsZjQW9D0vQhoAtKSeKbWin/UtQueNRgSErStqjlYt8ANStPsZiwWexuHafivtWKqaH74JBx8jej8drLequuG9AJElJVQ/qyzBHcfZ6nJ+YAsLHsAGSmg4awl6fGpqGmv8B1PwetcfqOaMkPsUtEbm6YhB+IE98DZ5Bj+eDpHUmqhyI2jHbsBJugNf6DjkXcF6JisdasxV5TGVScS2tiUxZTlohIRL+q0LkcKK7Fa9ilqc308+68N1mTNHHgqyahraQdUFHOEtzEDlNdLtQCv1/1tLC8fuB4esD9E1IsBXhd6YFJYpDA0+NsHBsY/8IE34j40ONHyYMdB+XJADjdeSZYDqXEBw0QZ4MPyBPvstjbt9jL4uUaRNv3TE4R90NL3vUTW8z98h5kzzctxd6cziP36MgitBYyuEbKe/XH5351L1GVp/hazB37PPQY1JmtKlvtwtp7YH1Lm02DDfpOuY3kNHkWH/MPbwMvbH+uB32x66zTq47S8FX3nHCgYnHv3zecZzrhKo/ny+W/2Co+l1HXClUR+wTz4eqpAVk/LFbAG8Zjt8wntgx/u1Y7W8m76KnT9++Thqxx8uTO3Tvof2yw3ThDCxDLon0rsHJuA8GNl7YnyTuZ46HupG/T7rTRn5/kzuhC3GwiHDfhWHkeF70/7sw8Kb3IIiH12dt9ddv1/4A"), this.addDataEntry("gmdl google media design library card card",344,420,"Card","7Znvj5sgGMf/Gl9uQdRqX27edluyX0kv2WvufKxkVAxy13Z//ShibYfm7K69VDLaJvDgg/D9WB4BL0hXm1tBquIrz4B5wQcvSAXnssmtNikw5mFEMy+48TBG6ufhjwO1vq5FFRFQyjEOuHF4IuwRGktjqOWWGUNdkGqXFfCgmnyfU8ZSzrjQtUGuk7LXUvBfcFADOu1qCpLxtTL6qmDuB0LCZrDP2mQ6fAt8BVJs1SVrmsmiuSIIw8atALosjFtoBotI3RiWe99OApUxKvQrEoxXRDnSqgZr8CUvwVZqrtNYCfCzEoSoRwFjE8CIpE9w1HyfKuYOPzhVN8ao7U/UeGyPi20DPM9rkJao+26O0jm0dL6jUin8t9hKJHk+0XAQ2arh86g2ewXVIku1xeN9ASQb0i3npbzgQ/iKegaX0HN28vw35q8+00nZBdT0N/w0evl7y6dWrdFT4gAK44DeIt83Yzmgk/g2nNb2r3AMjRhdgEbsCg0cJfHkaSSu0IhQlEyextwVGnHUjmXCNHzkCo4ucGz3sxdq386mTMh3hVAXTBwjdPri80oJdQHGMUInLIavm1AXdBwjZC+jJ0qoJw6FKJz+e5tvL9knSqgnDrlByJlNgJ445AYhZzYGeuKQG4TszYJ36d3n799O43R4bDB00KC+64JKWFTkYdfQWpBK2Qijy1IVGeS6XVVLy+UXXbpRYdLaCo31x9gXpoN+W1b0Wz/76XjJo7A9cnj2SCM5C/M389kloNt7Ev+hXxH0tp2XQFfF7jSyufzwsPIP"), this.addDataEntry("gmdl google media design library card card",344,162,"Card","5ZfbjpswEIafhstKYAeSXCbOQZV220obqdduGIJVByPjZEOfvgYMIWtQQbtIVUsUYY9n8Mz3Y1s4mJxve0nT+FmEwB28dTCRQqiqdb4R4NxBLgsdvHEQcvXfQbueUa8cdVMqIVFDAlAVcKX8ApWlMmQq58aQxTQtmhKO+pHriHFOBBeyHMVReWl7pqT4Ca0RKK9iJKaheNVGT3fMfCAV3HpzLk0m4T2IMyiZa5dXFqq48sCzWRUWAzvFdVhgsqdZZTg1sXcEumEodBPBo4n0V97HSkLGfsF3U85gLKgbS/4Q8CdIs0Vlk8CpYld4CO4CZyb8JpjOo5ntU/2cOkREUQbKIt3kOQj+zIK/OiomkmIeCVTf8Mj3c4fnG4ItlRKRlAKJRLWct8RbLgNtFyk9MlWUil3j9qIVK8Rq+iYD7z3SmYBGlJZ4Oo9pXnDfYnxgSpfylqsuRz3WjlwbWVBeBd8CWXI6iLSmVCBhR8pXnJ0SbTyzMORwd32CSNW+H7siWhgbtA9rwB25BoayDSy2L5cfMdBwAF0PDaX7d8NFY+F2bzC1Rh+6v8wtffYS8lhcEq2QG7Iry3TGPC9L4lwMkQ3bsmFS/P5L2QJ/AtkW9rFADp+/fhl3Mtd7fs8B8UbDBfF8n1ibvb1kJzm6566tEA7ep9DtYf9vznE0gWDLKQUL1uvNtmOvXKGdj/5BwRYTKKa794+Myr39DfIb"), this.addDataEntry("gmdl google media design library card card",344,162,"Card with UI controls","7ZhNb6MwEIZ/DcdWgAlpji3d9tJIq7ZSz24YwFoTI+O2yf76HWNDiIAtKB9aaQOKZMYeGD/veExwSJRvHiUtsqWIgTvkh0MiKYQyrXwTAeeO77LYIfeO77v4c/yHgV6v6nULKmGtxjj4xuGT8g8wFmMo1ZZbQ5nRQjclrPCWdwnjPBJcyKqXJNWB9lJJ8QtaPVAduiejsfhCo4cX9nkgFWwGY65MNuBHEDkoucUhXyxWmRlBgsC4ZcDSrHYLbfS0NIa08d0hwIal0E+ETCYyPPMhVhJK9hve7HRGY/H7sWz3HL6DFNwYmwROFfuEPec+cPaBPwXDOJqnXdX3qV1EkpSgOqSbOEfBDw5Nx7t7ff5VlENQW4cGYgv2IjxRQs46TJ6pArSojJX63vz9I+9gwslVeMRavWCuoREz21y3oITVoXEVdMXW6asodEK6aNGA2IryW87SNRpzFsccdkOfINGz9MKj53MLagN6L4PdiRk8lnTYIb2kKzQsMcdAjkDs+WMR/9uE/amE+2tEXX6OWiLmHZGedIS++yAFLgP3BeHBGK16lgOJ9PlfahXOTqDVzfflPKZlBrGlXNf2fJPqN6LrNI/5damo7CvozcIa2mVPsqd6PRJ4B26pdXTWo95hCTmBJIuLJBMkCWZnkMRzL5pM0GS+OIcm3kWTSaWLnEOUEf9WL6LsRAnmxxcFL3dfJ8zw9seLPw=="), @@ -5593,11 +5592,11 @@ this.addDataEntry("gmdl google media design library card card",342,146,"Card","7 this.addDataEntry("gmdl google media design library card card",300,176,"Card","7VbbbqMwEP0aHiv5Qmjz2NBtVKl7kZofcMMQrBqMjJsm+/XrW5oQhwZt07eOhITPzPGYcxhEQvN6M1esrX7KAkRCfyQ0V1Jqf1dvchAiIYgXCb1LCEHmSsj9QBa7LGqZgkaPIRBPWDPxCh5ZcC3AQBUo8MlOb0VIFqyrwFJRQmddxVqLK1iaXrOSC5FLIZUrpaULW6aVfIGDDLjwGxTyzYDY0mWjD4qQi4A/8b+2EUl363Aim1+D0nzJxK3gq8ZgWrZ265YtebOaSa1lvTuvxx6htNLgbA8tLOcOTwzCwjbCVc2CPKYHbAYldlDQdw6yBq22puSNF7ryFTQNQlfAV9WOdp15kHUeWL1z946Zm2DaaQNpZODT67P+yEPzJDrWe+qirzemI/SueVEIGC/5KEXJWUVJmsWKhpcdKRBM8zX09j+lcmjxR3LTmaCtr5hM+wxZlh3oyJX3g40yKo2Mipz5eKCeXUQD1cgGPilrn3AgMsanXtsd+L8qh3ZXmNx4TpAdZ18g+ySS/TZfPPz+ZTB81oCjUTgp/NBn72i+UhdH84Q/adx2yLgbFPtGL2Nb37OrFH2Badmwaeen5tu02LRpdnnXzHL/n+LLD39j/gE="), this.addDataEntry("gmdl google media design library card card",300,224,"Card","7VbbbqMwEP0aHiv5QlDz2NCLKnW3lZofcMMQrDUYGTdN9uvXtyYhhgb18rYjIcGZOR5zjgeR0Lze3inWVr9kASKhNwnNlZTa39XbHIRICOJFQq8TQpC5EnI7ksUui1qmoNFTCMQTNky8gkeWXAswUAUKfLLTOxGSBesqsFSU0EVXsdbiClam16LkQuRSSOVKaenClmkl/8BRBlz4BQr5ZkBs6bLRR0XIRcCf+V/biKTvz2FHNr8BpfmKiSvB143BtGzt0i1b8Wa9kFrL+n2/HnuA0kqDswO0tJxrPDMIC8sIV7UI8pgesB2V2EFB3zuQNWi1MyVvvNCVr6BpELoCvq4CjZBLD7LOA+s99+CYuQmmDRtIIwOfX1/0Rx6aN9Gx3nMXfb0xnaB3zYtCwHTJJylKzipK0mxAUX/YkQLBNN9Ab/0hlUOLJ8lNZ4J2vmI27zNkWXagI1f2G5tkVBoZFTnz8UC9uIgGqpENfFHWPuFIZDwbOLZ78LMqh3YXOAvnP8iOsx+QfRbJfpUv7x9/GwyfNeBkFAaFH/vsncxX6uJknvAXjduNGXeJYt/o99jW9+wiRT9gWjZu2vmp+W9abNo8+37XzOPhP8WXH//G/AM="), this.addDataEntry("gmdl google media design library card card",342,272,"Card","zVXbboMwDP2aPLaCBLo+j219mrRfSIchqAGjkLXw9wtJemGlaqXSqZaQkmM7ds7BCmFJ2a4Ur8UnpiAJeycsUYjarco2ASkJDYqUsDdCaWA+Qj8ueEPrDWquoNK3JFCXsOXyBxzigEZ30gON4HW/VPBtjnzNCikTlKisl2XWDN5ohRs48YC13iN4ijsDhmbj64HS0F7s2UK+4RVgCVp1JmRXpFq4CBb5RgUUufBp9MWDvHFAfsg9UmAWnoVxRti9jKytnTFSYQW33p9evT+NgpH770EFkutiC4MCY6T4Gl9YmNI02He0cBndcLs/ALOsAX3G6aHRm2iOrtOc8kZAHx64n8hyXrZ5PyzzvEzlXABX+hLTf2RZWLtTgWHCqR4jcoTLSdSYxWwgB1s+QI54CjnWiJuSq81TKBJGIwMyzXzM4nCgyPIRA7KYQhEFteyeQo5/HJCQxffrYbbHV9iFnz7Svw==")]; -this.addPalette("gmdlCards","GMDL / Cards",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addGMDLChipsPalette=function(a){var b=this,e=[this.addDataEntry("gmdl google media design library chip chip",170,32,"Chip with text and icon","rZRfT4MwEMA/TR+3sHZMXx3T+aCJiSY+N3BAY2lJ203mp7cthY0wHWaWkPTuen/6uwNEkqrZKlqXzzIDjsg9IomS0rS7qkmAc4QjliGyQRhH9kX44QfrwlujmioQZooDbh32lO+g1bwp2EtldY9UaBCtXZsDD3Zd0tptFaQ2w5qq9JV9OUUcWVEbJT8gkdyGIBshhbWsc8Z5p0KYgF9Wr+ROZOAqWTjXmqZMFE+Qu8rx0jlKYUL0BXHJOCuEFVJ7O7DR1qF6UAaaHwl4Vbj+FmQFRh3skU+WmTKcuGkpRSWwogxuJLChupWL3vXI024C0vN4yQjviGdGdekZeHwBbtUUbiTmRZXx+U77u05Bu/JrKhh8EUzH4BwXBZwatodB+GtgLS/D6vhYR1ZrmEjlLnaPmx9d+6nd5KxxzK/CNHQ4hK9tHrfy6XStxhA73WSIIf+LZLasPvmsgxbSz26HEWSeazCjJvS3mNSX+D+GuBn1yjYm96u3vAdmeGpnlr92Jh6gGfflTFtWf55iKx7/1i3c05/5Nw=="), -this.addEntry("gmdl google media design library chip chip",function(){var a=new mxCell("ANZ Bank",new mxGeometry(0,0,170,32),"shape=rect;arcSize=50;strokeColor=none;fillColor=#eeeeee;rounded=1;spacingLeft=24;fontSize=13;align=center;");a.vertex=!0;var d=new mxCell("A",new mxGeometry(0,0,32,32),"shape=ellipse;strokeColor=none;fillColor=#009587;fontColor=#ffffff;fontSize=14;");d.geometry.relative=!0;d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height, +this.addPalette("gmdlCards","GMDL / Cards",a||!1,mxUtils.bind(this,function(a){for(var d=0;d<e.length;d++)a.appendChild(e[d](a))}))};Sidebar.prototype.addGMDLChipsPalette=function(a){var b=this,e=[this.addDataEntry("gmdl google media design library chip chip",170,32,"Chip with text and icon","rZRfT4MwEMA/TR+3sHZMXx3T+aCJiSY+N3BAY2lJ203mp7cthY0wHWaWkPTuen/6uwNEkqrZKlqXzzIDjsg9IomS0rS7qkmAc4QjliGyQRhH9kX44QfrwlujmioQZooDbh32lO+g1bwp2EtldY9UaBCtXZsDD3Zd0tptFaQ2w5qq9JV9OUUcWVEbJT8gkdyGIBshhbWsc8Z5p0KYgF9Wr+ROZOAqWTjXmqZMFE+Qu8rx0jlKYUL0BXHJOCuEFVJ7O7DR1qF6UAaaHwl4Vbj+FmQFRh3skU+WmTKcuGkpRSWwogxuJLChupWL3vXI024C0vN4yQjviGdGdekZeHwBbtUUbiTmRZXx+U77u05Bu/JrKhh8EUzH4BwXBZwatodB+GtgLS/D6vhYR1ZrmEjlLnaPmx9d+6nd5KxxzK/CNHQ4hK9tHrfy6XStxhA73WSIIf+LZLasPvmsgxbSz26HEWSeazCjJvS3mNSX+D+GuBn1yjYm96u3vAdmeGpnlr92Jh6gGfflTFtWf55iKx7/1i3c05/5Nw=="), +this.addEntry("gmdl google media design library chip chip",function(){var a=new mxCell("ANZ Bank",new mxGeometry(0,0,170,32),"shape=rect;arcSize=50;strokeColor=none;fillColor=#eeeeee;rounded=1;spacingLeft=24;fontSize=13;align=center;");a.vertex=!0;var c=new mxCell("A",new mxGeometry(0,0,32,32),"shape=ellipse;strokeColor=none;fillColor=#009587;fontColor=#ffffff;fontSize=14;");c.geometry.relative=!0;c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height, "Chip with text and icon")}),this.addDataEntry("gmdl google media design library chip list style",358,642,"List Style","5Vldj5s6EP01qE8b2YYk5HE3u+1WaquqrdTHKzcMwY2DETibpL++HgNJCCQhG6iqXqTVwthjhjnnjD/iuNPl5l3Kk+ijCkA67pPjTlOldH633ExBSocRETjuo8MYMX8Oe3uildpWkvAUYt3GgeUOL1yuILfkhkxvZWEIeBYBdieO+5BFPEF7CjMz/kMopJwqqVLb1Q3thd10qhZQtsQqNj4Pxasg1bA5Ga41FbG+A7UEnW5Nl7UIdJT3cId+7haBmEeF28grAudZbpjvfPdfb26KBDQnw60lg5pY7l1yXU5UrL+KX2ihrnnmUsxjbM6jPc7ZlFF/+HAqZzjYQee39sLOCZ+JeP6lyIC3N31TCb65DKSIGeNMITNhfS8ySdsiwl6HCPNyWwqSa/EClfFvQcl7JWWXmznKbDBfBnKgVfLfD57eRFW3OTFVh22hwsEwfz5ImzeqZ41em7Xi/Z+VMGHtXn43YZXX342rI6gwzEDXsr77ilZADGtATNUyURlcJZdm2lc18jShTyO3kcIHamPksmByddwd6lJCqPcdPtinxzHrWR7D8W1Ab6sq6xTYURcKK9Nagbc+R5RYts73sDnfZ3RGm3Q26kRnpQZKmfk9oDHuAo0M4qCl2HYA3QJH6yJYfk1l6mDdFEH3CB1Ke4DHr8HzTd1QAA0AYK8zwJytgobZtSo4sdf1VdCO1WsVvHG6K5D1+wB2Ugc2hReTUkaeeWwEVUP5CFiezgpMhqSl9nbQp2oVB5YxtIYK8xpWma1Q8q+vneXi9xA1txt9jsmRPEc9oEhJF+VzlcHJteIRhCN7IfxZYnnwGIoNjt4OosllITVUzNJ2y7q6rI4HmbqXJlJGPoHM1P+D7qw/ujPi/wm+v3ZH3zXfW232W+z2+2J7fbP/WZqybkyhrfE6AowEYIFLpwvcP6bn9XP65Xn4z27fO5qZabkG65bk9TOAZ+Ew42ck5VKk9XvT/HOVYShrHmskJNFmYUZmEcwWOFaMUSG0JAOEWoQYtlphInhgGzFRScEKHQn8t0pmammQ2XNjYG6/4wAm6Xm/eJF3UKFNKg/yx1VSxvCJJxzdPmAmyArHXcRqfRDEGwxAigWULnO1C3cNb2w2ltw2G15A+mJAUnE2uIaoXhuFF6Z1JDR8NaREz7UpFMaGxBMzLu8L6mpcVZ4g8mkS55bnknp989ojpBti+5M+iF0/U2lXva84TCH26rygbCsOF2HwO0Hhzutjx007OQD5wU2dOXcAcgqXVx6M0PNbcTI4OqxoXP94dai6OpIcV1c/fZxI0hZnJSVWxlMkGfxVCP37ANVPSy7NWH8POuN/DR7zuP+lMe9++EPkbw=="), this.addDataEntry("gmdl google media design library chip list style",358,642,"List Style","5Vpdb6M4FP01aJ4aGUMIeWzSznSl2dnRzkjzWLnBCWwAI3CaZH/92gaSgE3Ch2k1XaSqibGdm3POvb73BsNaRocvKUr8P4mHQ8N6NKxlSgjNX0WHJQ5DA4LAM6wHA0LA/gz4ueGuKe6CBKU4pm0WwHzBKwp3OB/JBzJ6DIsBD2U+5tOBYS0yHyV8PMUrtv9iHYThkoQkFVOttbj4NJqSLS7vxCRmaxbFR+GU4kOjuWKosPULJhGm6ZFN2Qce9fMZ1tTNl/k42PjFMscuDEdZPrA5rT1/e/aiAEANhiWBYTJb7i3QDRMS0x/Bv3zEtNh7FAabmN/Ora1jtoSmO100YcY3u5j8WVx8coJWQbz5u0DAPg/9JAn/5NKQwmZuZ4ozZtavAkmzLSOwHyPQzsdSHCIavOLK/kNYsntKNjpsuJtNNpEXTihJnl9QOkiqlhqY6oJj4YWTaf7+AjbbkVEzu6JWfP53EjCzTh9+N4eVj7+bVXcg63WGqYT66Vu0ImIqEbEkUUIy3Mld1LKv+sjj3Hx0LKWEL7wNgtsOk3vH3aVfhnhNzxO+incPMziye0xnw4g+Vr1MK7GODg8rYa3QK58RJZet8Z6q8b7iZ6bKzxwtflb6QOlm7ghszHSwkeHYa+lsJ4KG0NE6CJbfpnJ0QD1B0KqxY5oj0ONK9PwkAwIgIwCL6woxV6MgU7YUBefi6h4FxV6jRsGBx13BrDsGsXOZ2BS/MkgheEIxcyiJ5RqxKF0VnExBS987UZ+SXewJxZgSK9BWZJmtWHK7x84y+b1kzdLjnzNQc09nBBZNoCN87jLcmCvWKHTExenPEqGDh3Vw4Lu3o2h+25EUEbMcG5JXl9HxAqn7kFkKwTccZuT/IXc4ntwhcN9C730ret16b1Xst6j2x1K7XOx/D1lYZ0NrEeOpj7klGG956nRD+3V5dj/Tb5/Db1u+azqZzTIH0ytyuQfwFBiQrWMuZZlc1n+w2//sMm7KHsWUCxJQlpiBlY9XW75XzK3i1IIMc6qDNTeb7DgQyBM3OVBJoQrqB/zfLlmRiDFz1saEvfzFN2Cg5/PibT6BrAWoyMvf7pLShm8oQXzZV44E2PF9tzHZXxjxiRsQBltcLtmQk7l7/EmgESFxm+kCp6+MJBJnky5Ctdt4eDG09wOKfzBR8pV7FijYGBdesELhfSFdyrPKBiE3izgfeSqlN7aubQD0CNudjyFsuafSLnp3aKacC3Amcya6SxpGiC5wbsssmK6ePtfUqRyp7hj1t9m3HdKBEwAWrmjitjs2G4ruW6jPdJybWtoRffKLdtA4nXM+S9EesvS0h8x6hTOKPuUOxJJFebTihsQoktuxDMD6WaBoGpzjhNQ0qEf+F0IpiaS0ZTrVRJstkabUd1mrDtK3XPZTUfY/+4YN8AFFSYgnLAdog6o9CNX8POXb/sXnUg6GA8ZD2XpDmGHfspxtEyQZHqWX2YRP+2amonqEA/ONUzMT1mJJjQUtsQTKPYAe0f2gqoBOR1zPvn+OYyM51UTAkahRpIJuMwetZfxu1fagROEsYevjnYeKn/HzCN4jgFtte+lAEb+jwPNCPCReX6fPVQSg0eK1ll/d30/orny2/fY6l2tFX/wu8Uw/mNBNG7yh0t+k3OOX9qr7WFlwsxPiDtN6KW57FHFrKTNf0Gp79RmEJl765ijXE0gwqT0voPwJQtUu0fRU0KwalsZ4KEjxe7hE3K1c/j0Z+vgEyQVuI0FNTyi8Gzuzj0YPe3t+2Deffvks8H8=")]; -this.addPalette("gmdlChips","GMDL / Chips",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addGMDLDialogsPalette=function(a){var b=[this.addDataEntry("gmdl google media design library dialog dialog persistent footer",280,472,"Dialog with persistent footer button","5ZhdU6MwFIZ/DZd1QigfvVSsvem6ndEZr2NJS2ZTwoSo7f76TUJAaMCtCnXWxXGmnHzAed5zThIcL97tFxzl6Q+WYOp4c8eLOWOi/LXbx5hSBwKSON61AyGQ/w686Wl1dSvIEceZOGUALAc8I/qES0tpKMSBGkOCihSr7sDxrooU5crO8VrOf7UhlMaMMq67eht9qW6Cs1+40YL1VU6QsBdpdOWNeTjmAu97HdAm8/YLzHZY8IPs8kISkRonotJJkGKyTc2waWhcQUVp2NZjX3nIHwZJNx7PwrNgbCvJQPBAJjfEgiUdUVyUS2SN6CUl20y27EiSUO1+jtYk2yr/A8WPZeKO/FaDIajuzWwKEMeFbH0wrp6MDH4MWWBsHFMkyDNuzf8ZjFML453kgqhmJ197K1+rh6QBtsQb0YTWCK0IqL82TNd9HXrPcmkJzk7Tey9N84gVI/LJEBzaolQj2GZTYGHRr1/sJEF8S5D5fi27KJ97hGjS9VuRDPtl+rpYHoj+bAz6gZ0OeP3EiTicWk8emRBs183dmK5Ml2u/IzX6Uui8GvnDaOTCMUQKLZEiAC/cvbTNL1fvLFfNxPnavJgOxDwcg3lkMV+honhhPPnoQvvGugHALIiif7UwQXcMAWaWAE4Yf7Qo1RUI/DUx6s3P99HH80fQpxL9rf16tUWnJMP1Vryip9bqjC3RozpqaJbWVn0k7mYAuAB+aEY1pZhG40kxyhbKde1VPJUnGwWjp2YdHZ5sZajSZcUKIghTGcVLFnWmLY/a62qHTApSnV6fq4rq6oqLQF9HC9pUxQl7yhJ9QtTxZDJ6wDTtyFL4ydDYt6c5VAE3StLah2wTKSh5RtlaooOA5UrT4r+PmbroaKWHLPbniyJ/lHpjf4uIL2/j+bJveW4i9zr2nX3LbW8gDFD93RYoexkIfVukKRxEpIkbtGWaVBMPK5P9rSP+eXs7j++/k07RiDpVcw8pk7x9/aZadm9+cv0D"), +this.addPalette("gmdlChips","GMDL / Chips",a||!1,mxUtils.bind(this,function(a){for(var d=0;d<e.length;d++)a.appendChild(e[d](a))}))};Sidebar.prototype.addGMDLDialogsPalette=function(a){var b=[this.addDataEntry("gmdl google media design library dialog dialog persistent footer",280,472,"Dialog with persistent footer button","5ZhdU6MwFIZ/DZd1QigfvVSsvem6ndEZr2NJS2ZTwoSo7f76TUJAaMCtCnXWxXGmnHzAed5zThIcL97tFxzl6Q+WYOp4c8eLOWOi/LXbx5hSBwKSON61AyGQ/w686Wl1dSvIEceZOGUALAc8I/qES0tpKMSBGkOCihSr7sDxrooU5crO8VrOf7UhlMaMMq67eht9qW6Cs1+40YL1VU6QsBdpdOWNeTjmAu97HdAm8/YLzHZY8IPs8kISkRonotJJkGKyTc2waWhcQUVp2NZjX3nIHwZJNx7PwrNgbCvJQPBAJjfEgiUdUVyUS2SN6CUl20y27EiSUO1+jtYk2yr/A8WPZeKO/FaDIajuzWwKEMeFbH0wrp6MDH4MWWBsHFMkyDNuzf8ZjFML453kgqhmJ197K1+rh6QBtsQb0YTWCK0IqL82TNd9HXrPcmkJzk7Tey9N84gVI/LJEBzaolQj2GZTYGHRr1/sJEF8S5D5fi27KJ97hGjS9VuRDPtl+rpYHoj+bAz6gZ0OeP3EiTicWk8emRBs183dmK5Ml2u/IzX6Uui8GvnDaOTCMUQKLZEiAC/cvbTNL1fvLFfNxPnavJgOxDwcg3lkMV+honhhPPnoQvvGugHALIiif7UwQXcMAWaWAE4Yf7Qo1RUI/DUx6s3P99HH80fQpxL9rf16tUWnJMP1Vryip9bqjC3RozpqaJbWVn0k7mYAuAB+aEY1pZhG40kxyhbKde1VPJUnGwWjp2YdHZ5sZajSZcUKIghTGcVLFnWmLY/a62qHTApSnV6fq4rq6oqLQF9HC9pUxQl7yhJ9QtTxZDJ6wDTtyFL4ydDYt6c5VAE3StLah2wTKSh5RtlaooOA5UrT4r+PmbroaKWHLPbniyJ/lHpjf4uIL2/j+bJveW4i9zr2nX3LbW8gDFD93RYoexkIfVukKRxEpIkbtGWaVBMPK5P9rSP+eXs7j++/k07RiDpVcw8pk7x9/aZadm9+cv0D"), this.addDataEntry("gmdl google media design library dialog scrollable dialog persistent footer",280,345,"Scrollable dialog with persistent footer button","3Zjfb6owFMf/Gh5dShHER2XOF6/XZEv23EmF5lZqSjf1/vW3hYKYwuYcdbnDmMBpz2nP50t/4XjR9jDnaJf+YjGmjjdzvIgzJsq77SHClDoQkNjx7h0Igfw78KGj1C1KwQ5xnIlLHGDp8IboKy4tpSEXR6oNMcpTrKoDx5vmKdopO8drGX+6IZRGjDJeVPU2xaWqCc7+4EYJLq4yQMz20ujKB9045gIfOhMoTLr3c8y2WPCjrLInsUh1EmGZJEgxSVLt5g390ojy0pDUvice8kYjacfjGXjmjCWSDATPZPBADFgyEcVFpUTWiE4oSTJZsiVxTIv0d2hNskTlHyh+LBOP5K9yhqB61tEUII5zWfqsU70YGbwOWaBtHFMkyBs+i/8VjEMD46PkgmjBTnY7kd3qIKmBLfBGNKE1Xq0QqN85TNc9uT6xnbQEN6fpfZambmLFiGwZguO5KJUH22xyLAz6dccuEsQ3BJkd1rKKyrlDiCZd/+xNht0yfd+73BP9sQ36gTkc8PqVE3G8dD55YUKwbTt3bZrqKvd+y9DoGkK31cjvRyMX2hBpZIgUAnjnHqRtNll9crpqDpzvHRfDnpiPbDAPDeYrlOd7xuNrF9p31g0AxkEY/q8TE3RtCDA2BHBG0bWTUj0DgQ8HRr35+Tn6eL4FfSrR39uvV1t0SjJcb8UremqtztgCvaijRsHS2Kpb4q4dwB3wR9qrKcUwtCeFlS2U69qXoj41WZfieBbjRsIM/MCGMOaZNposo9miax5rLtBeywLdNS91rj09aPORLCO/ZWmHX1NFNz1wq/FSyVQF7lcm82wd/V4uZ9HTT9IptKhTFbtPmeTj6eNTWb35beof"), this.addDataEntry("gmdl google media design library dialog message dialog",480,480,"Message dialog","1Zhdc6IwFIZ/DZc6gSjqZau2N91OZ9qZvY4QIbuBMBCr7q/fhCQoBC1WmNnFcUZOvsj7nJNzxIHL5PCcoyz+wUJMHbh24DJnjKtfyWGJKXU8QEIHrhzPA+LreE8XWt2yFWQoxynvMsBTAz4R3WFlUYaCH6k2hKiIsewOHPhYxCiT9hwHYv7HLaF0ySjLy65wW16yG8/Zb3zWgstLTRCyvTC64kYvjnOODxc3UJr00z9jlmCeH0WXPQl5rHpM5mqTIMYkinnDiApliKqxJz3EDy1JuzzQkucV74UhwUWBInyTVnKbJED0gZIoFeaEhCEtJclQQNJIauJLTVnK38kfOdKF5l4vIUXLcSFaf+rtuw0KKUvxVQBIL0/xlndF4H0XgbLlmCJOPnFt/nuwTL7ptckhkpE2jpKQjg+VTEZLr004v7y6KgXblaoPOOrIHE/V/ZmO7sSW0dg6y6jXf2NEPFa1+AhOasuPZvUZ2HZbYG5hqHbRiczUIvPBLDZCQH7y+5fSEU++f6b9HMhPS0zooR8sExa/NSiGdGwI7iOiCfhgAAK+ReB9t/klj6ALGC5oa+KhHZI5kMAVaP8BARdMB0Aw6+N40lmjfkK5V4/2ljzQb1wcawO+YuRPe2E08odgNLcYPViQGgn8q2ShJadog+kbKwgnTCbaQKiK87MC4KXRgctTrMrLVndTL2wY5yypB6wHTiH6qNtXI2gHZZXFGhVbUF4tQd3JTWY3uonXkt36SW4m8RifMdP26jOLPuIacY6COCk17L/+uJXIwgbSE5FZo9qYDEHEBX0gyeiu+BdgDFj8uUYpgwMuhsDh2sXH+nXVtfJo/tNpnGHeejZ/OqtJVPUHrv21sg7Ve7JfaxHfElIDpEJTwi8aFPtIjeL29L5BdT9/HfEX"), this.addDataEntry("gmdl google media design library dialog dialog",280,273,"Dialog","7ZZRb9owEMc/TbQnKifpgD4WCmzSJk2j056t+JJYc+zINgns0+8cmxAI1VC77WmWIPbd/e+s+12kROmy2m80rcvPioGI0lWULrVS1u+q/RKEiBLCWZQ+RUlC8Bcl6xe8ceclNdUg7S2CxAsaKnbgLd8MoGGjVCHgncGtUBm1XEncGtANzzBw7WXGHkSQMWpKcElJlC5MSWtn15DhLRY5F2KphNJdaJp3y4VZrX7A0SOVBK9lqsVz7JRK2i3/6XLFD+E8yES65UQ1zbgsnlWNjskULW3JLWzR7LQt9vcU5ZK5ECp4IfEgIHe3bEBbnlHxGMzWJVuE/qAP9i/2uDOFBm9AVWD1AUNazmwZ+jz3HEgJvCiDLJml3kiNNxS99oQMN4HadYLpiOAnsD3BrqKoXY26djQZWNAVlzAge4f755I7dwVUmo60ZK5VqEMuh0rtLkaBUUvxYdWgFN6VQAPO3ZbdQ6pTZewX/uudlJj4bjRA2F97QXw6Jv7QrdcS12Aw9feAJe4tH45Q4luJJ68jHk+DUYPATjZwVuDaGIQaXxSXjurBR8zIuULluXHUL8amv9lNk3Q/mqSnj9vHzdfV6hZY6RhWsprN18klLPJbVuTK21hxxlz1/q3NkAXo4yXC1d7K71xwODsN2F5Dez9/G9lQetKPSKg+OSb+o6zfj1j/B/2PQc//Amc8nr4dfPjw0+IX"), @@ -5606,17 +5605,17 @@ this.addDataEntry("gmdl google media design library dialog dialog scrollable lis this.addDataEntry("gmdl google media design library dialog dialog scrollable list",280,112,"Dialog with scrollable list","7VTLboMwEPwajpEMbl7HFJKoUltVTX/AwgtYNRgZNyT9+q7BISEQKZfcagnJO7vDrmfAHg3zw1azMntTHKRH1x4NtVKm3eWHEKT0AiK4RyMvCAg+XrC5kfWbLCmZhsLcQwhawp7JH2iRSFQx0xxBrlmCL9m0JZU5SldSZay0Ww0x5p8TVZid+LWIv7CxkDJUUummmibNQrwyWn3DRQaaZTMZ46q2/KvXzV18QZo1C3EmRVogJsFO+VyVLBZFalkj2T1oI2ImVw42qkTUHR5zcLgpYAM59bagcjD6iCW14CZzIi5akUkGIs1ONN9py6oWSDvu2Q/cOEvG7aEDe8LVe7h+HViCB7i2gg61I2RBN/5ZrC+rQkQQqDNhYIeopdb4OfYUJSMK5oJz271TOkbFQJ+GcKP596ocjKvcJxx70YUD8xEDpk5/DZIZsYced8wU1/1DCRyqaz3xZ6TXfTK9MlYlSQVmYGt3irucfhr+iC+7cPUZ/Vvdt3r5QKuXD3Aaw/N13pZf3vZ/"), this.addDataEntry("gmdl google media design library dialog simple dialog",280,250,"Simple dialog","7ZZdb9sgFIZ/jS8XYRx77WWbftxs0rRW6jUxJzYqGAtwmuzX92DIp50qm7pIk0YUCd7DOeD3wR9JNlOrR8Pa+rvmIJPsPslmRmsXemo1AykTSgRPsruEUoL/hD6ciKZ9lLTMQOPOSaAhYclkB0F5AofCnJWvXYsdVpa6w1r9NOvWMk6zNWt910CJC90uhJQzLbXpo9mib6hbZ/Qr7EWgbz5SM67fUEx9um7ck/jlC+KGw3gvifQNdSZF1aAmYeFXtS0rRVP5IgUOl2CcKJm8ibOcbje148bJLunZB+++5KjgNXTGiiX8BBs2QaItWBBWJ63tpejrI2gFzqxxypvgro72XsVKNYiqjmk0jyKzQai2uTtS2ImwxsFlA3CdBdMwBcmUVIoJOSm1GmDjzNbAN05EhmpV+QM4qRSXE1/mkEiafxoRJTj3Wzk+L/n99deHYnBeGt34yZLNQf7QVjihfRUTvNxW/3YU365yFkU6TnGTkIeMdRgWcbjHeDqCePoJhKejhAn9z/cv8k0zcjHA+QAw4/yMRy5WEa2Fi0Occ//7FyBeX+4uLQYQ/+CebGVnx16WR6/Rl3g59FzX8o9do4eu0YFpaTE0baP9hmk43H3R9LGDD553"), this.addDataEntry("gmdl google media design library dialog simple dialog",280,250,"Simple dialog","7Zldj6IwFIZ/DZdO+BhBL0dm1k3WnTGZTfa6yhGaLdSU+rW/fltaUCyOJsrFEpqYlHN62uN5H9pYLS9M91OG1slPGgGxvDfLCxmlXPXSfQiEWK6NI8t7tVzXFh/L/XbB6xRee40YZPyWAFcFbBHZgLLME5qBMDGcxbzoygE5PxA9IE/QWnYZLMUSkxUmJKSEssLrrYom7Dln9A+ceKBo0pOgiO6E0ZHhNOOf+K+cUKSqnk+C7KLJoDVaiox+0bVwDIKjpQwkaAFkTnPMMc2EcSkqAGKWCSI4lgYCK5nvFhjHS0RetJnLGSe6DMIH+4ulLEy6jlOgKXB2EEN2OOKJLudIldtOAMeJDhtqDWyUK0NcxR6VER0tTrNQniHUe5M4EcoTkCG2KnShVLqPJWBPcRqRJ4YiTBcbzmWVTsvv+LeW375efaa+flXt2Zk/xVEkc76mTjVO4fRbl9ptAswv2q1iutfFbNCytDEgiOMt1KZv0levMKdYLOzaZT6+ijiox+BsArpa5cANPKo0byLm2SAmRITgnNOemk5Q45S790OxGRrYvOJ+p+kMM4HXAjO+wcwUZYcUoh6bbmBTnSYPxSYwsPmOsphueC6s8rDq6ekGPcGwBXpGBj2zTYZ6ZGrJjv3RyPyRVtn/O5S88qx5KEpjA6WPBTAhSw9TF/YfLwhagMaxDWrmCV3QvKemE9Q8lyfMY6lxDGoMXs5v2E5wCL7C4eKN26U7ujOdj/gU2DHIxaqlus6dGh5qAdfvzO6TVK82KOd5rIbmrWn48h6+zQwlRZ3OFfSaFNTHsfFC7xLM4VNYZehO7Bc1leyv3s1S2+oetEhCp3avmPWAi9IGLSirlx44vl1bvSWpzXvXjx+9zHWZxy3KPG5BZfF4/IdFDT/9A+Yf")]; -this.addPalette("gmdlDialogs","GMDL / Dialogs",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLDividersPalette=function(a){var b=[this.addDataEntry("gmdl google media design library divider email list full bleed divider",358,642,"Full-bleed dividers","7Vxtc6I6FP41zn6qAwSUfqz2defeuXu3O9OPO1GiZAqJG2Jb76+/SQALJlpQaAtTOlaICYTz5Jzz8Jg4ANP45YbBVfg3DVA0AFcDMGWU8nQvfpmiKBo4Fg4G4HLgOJZ4DZzrPZ/a6lNrBRkivEoDJ23wBKM1SkvSgoRvoqwggEmIZHVrACZJCFeynKG5OP9kgaNoSiPKVFWwUJusxhl9RPknhBLRZpJdCjGOXvZ2VxVlfb1BNEacbUSVZxzwMK0BPD9tFiK8DLNmIzfrOEzSguW27evdi53MAGZjAM0YtujLBbDq2YQSfo//kyU2EMcwwksiP057u2uzqWP73mSfzeTJCpWv1SYrr+Ack+XPzALua9EvupJXzjuS9Vn2k6FEdOshs6RdFRHnOEQcNy1jKIIcP6HS+U9ByT1yyMYvS+lmw2UcRENOV79nkJ00VIHZMOUGm8wLh156XDCbO9KtZte1Wnb9HxSLbm0vfnbulC5/Ni6fgS4WCeKa1bd3UQkITwPijszoSy1nMQ/6sodcndtXI2AcwAVfc6wD7iKRxHMYXWS+GOMgkN3bOmeEFvzVh/5SR5djZ9etztyWvcYbn4b/pux8jeI9asLxVgwtkDDTHCUa/HoGybF2qprdM5v9gBfmpip54agRL8xPkzuh3wIo4yZASRBk8/AgHkWfzNy0WYgqh03bFDabAexs7LePmP82YqIBXiWoYnzcYvQu5s8IZTnXW82YH4zL5retFux/3oTHzEM0fzQ5zDZZNecw/kHEvJLJRrq7ODpe/n5kqrKwHJqCGUVyFQVTSghliWbTAyx5ZDIkUtuB0b6TundTPJcJO8/e26uUkrn9/qzYPzFQZTD7Oy0acQzb1iCdsDURicGxeIgTeXsIPSIi6l9r+ApjmZ5+9jKvMtVS6BwJRToUD2NhtRC1MixAK1joD+Z331SNGZLViLw+XTPxRuQtzcR+iETMcqyAygHvWIgxSAKJ2nA4PBaukhcVsdph2udq6yyGXhuJxjboCSJaW7FE7204nDpw7IoMpUBXeIzJBYODGJ6EWLlFAT+/ReLgt4JfI0pDwg0yg7D2RP29qaHVZgu1cbHHOi5N8WlwXmIn7biZrkPEIkaKdtb9nHKe7n5HhGDx5PnFS9rkJfaoDaHJ1pWH+3UcSzCtyeTfz0RF9jxddZqK6BLDA04kKbwTrzldR4F6z51utpY9uvsWi/9U7dOFZJD0mbwSyS5Qko/Fsp1YqYsPqvt6WOwgIamkbHSakDQiXbw7IamLS9cJiaNLI/fiSYxBUXYRwPhLG2mVgzgeaANUXRz5Z41VisOfiIA4PdRC8ihXMP0lHSj9Q94FfJKKCCQb1X3BQ2JEAnETlCRKp7Ju0xodoBwfjF470VBXQUZ9oRz78OoP5WhmtsV7U47auHSecugayC+GnihT4Y8kSFccvzhHg5wD5CA3i6que0ww42EA5a0t8YJ/JubRQ+nDMLvitkg3cICgVDPgLBU6nkMo37hkJ0t5desW4UCyxIVyxS5QkB6qHoYpF3ZvZI9qEzo6zUE6KXvUxqXrHATosseEYc6l7HFLIz1XfTGQBhmIm1PAZjHVVY+faI5XKM9y+ayhz8FBQA/VD6CrHw/S/EmYffOCUs4hv1cBF5J4MMjVRJDkzxrK72nklzJzyoiiLUE3aMgHI9lOgDTMB/H7QkP2AdYfGgI6KYXUxqXzNESXQi7hE5Zx7wdkj18spE0W4tmtpEBdB7nBkHD56L2Ect7B52EgPVRBgK6CXKTyB+FI2IkPsgmpCULp1FMeSoayxWgVKcGKSFS6wT56KIIAw9QP0Bv20XsRBHRSBKmNS9fZh6uLIHsZR71VXrafL/0OYUCfG+AExiVfOiSeYb2d19J6OzvX+poFRVcxjvCdVbQ2Llm1fNcbWcf7iHuYoedRaVM+rLgg8qSF9rryUM1sNdZ2W2prnO7uHcxG8uv6jaTtM7eN5aKurhocMXhn0Lxc0bi+t4jLsYP6cMyxhjvrFo0LfU0rsxv6fYSdhaZtzFp3K+gFb6WCj0So/wDpSsFegIwh7SPRGfcNHnH4+rNHafXiryL9Dw=="), +this.addPalette("gmdlDialogs","GMDL / Dialogs",a||!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))};Sidebar.prototype.addGMDLDividersPalette=function(a){var b=[this.addDataEntry("gmdl google media design library divider email list full bleed divider",358,642,"Full-bleed dividers","7Vxtc6I6FP41zn6qAwSUfqz2defeuXu3O9OPO1GiZAqJG2Jb76+/SQALJlpQaAtTOlaICYTz5Jzz8Jg4ANP45YbBVfg3DVA0AFcDMGWU8nQvfpmiKBo4Fg4G4HLgOJZ4DZzrPZ/a6lNrBRkivEoDJ23wBKM1SkvSgoRvoqwggEmIZHVrACZJCFeynKG5OP9kgaNoSiPKVFWwUJusxhl9RPknhBLRZpJdCjGOXvZ2VxVlfb1BNEacbUSVZxzwMK0BPD9tFiK8DLNmIzfrOEzSguW27evdi53MAGZjAM0YtujLBbDq2YQSfo//kyU2EMcwwksiP057u2uzqWP73mSfzeTJCpWv1SYrr+Ack+XPzALua9EvupJXzjuS9Vn2k6FEdOshs6RdFRHnOEQcNy1jKIIcP6HS+U9ByT1yyMYvS+lmw2UcRENOV79nkJ00VIHZMOUGm8wLh156XDCbO9KtZte1Wnb9HxSLbm0vfnbulC5/Ni6fgS4WCeKa1bd3UQkITwPijszoSy1nMQ/6sodcndtXI2AcwAVfc6wD7iKRxHMYXWS+GOMgkN3bOmeEFvzVh/5SR5djZ9etztyWvcYbn4b/pux8jeI9asLxVgwtkDDTHCUa/HoGybF2qprdM5v9gBfmpip54agRL8xPkzuh3wIo4yZASRBk8/AgHkWfzNy0WYgqh03bFDabAexs7LePmP82YqIBXiWoYnzcYvQu5s8IZTnXW82YH4zL5retFux/3oTHzEM0fzQ5zDZZNecw/kHEvJLJRrq7ODpe/n5kqrKwHJqCGUVyFQVTSghliWbTAyx5ZDIkUtuB0b6TundTPJcJO8/e26uUkrn9/qzYPzFQZTD7Oy0acQzb1iCdsDURicGxeIgTeXsIPSIi6l9r+ApjmZ5+9jKvMtVS6BwJRToUD2NhtRC1MixAK1joD+Z331SNGZLViLw+XTPxRuQtzcR+iETMcqyAygHvWIgxSAKJ2nA4PBaukhcVsdph2udq6yyGXhuJxjboCSJaW7FE7204nDpw7IoMpUBXeIzJBYODGJ6EWLlFAT+/ReLgt4JfI0pDwg0yg7D2RP29qaHVZgu1cbHHOi5N8WlwXmIn7biZrkPEIkaKdtb9nHKe7n5HhGDx5PnFS9rkJfaoDaHJ1pWH+3UcSzCtyeTfz0RF9jxddZqK6BLDA04kKbwTrzldR4F6z51utpY9uvsWi/9U7dOFZJD0mbwSyS5Qko/Fsp1YqYsPqvt6WOwgIamkbHSakDQiXbw7IamLS9cJiaNLI/fiSYxBUXYRwPhLG2mVgzgeaANUXRz5Z41VisOfiIA4PdRC8ihXMP0lHSj9Q94FfJKKCCQb1X3BQ2JEAnETlCRKp7Ju0xodoBwfjF470VBXQUZ9oRz78OoP5WhmtsV7U47auHSecugayC+GnihT4Y8kSFccvzhHg5wD5CA3i6que0ww42EA5a0t8YJ/JubRQ+nDMLvitkg3cICgVDPgLBU6nkMo37hkJ0t5desW4UCyxIVyxS5QkB6qHoYpF3ZvZI9qEzo6zUE6KXvUxqXrHATosseEYc6l7HFLIz1XfTGQBhmIm1PAZjHVVY+faI5XKM9y+ayhz8FBQA/VD6CrHw/S/EmYffOCUs4hv1cBF5J4MMjVRJDkzxrK72nklzJzyoiiLUE3aMgHI9lOgDTMB/H7QkP2AdYfGgI6KYXUxqXzNESXQi7hE5Zx7wdkj18spE0W4tmtpEBdB7nBkHD56L2Ect7B52EgPVRBgK6CXKTyB+FI2IkPsgmpCULp1FMeSoayxWgVKcGKSFS6wT56KIIAw9QP0Bv20XsRBHRSBKmNS9fZh6uLIHsZR71VXrafL/0OYUCfG+AExiVfOiSeYb2d19J6OzvX+poFRVcxjvCdVbQ2Llm1fNcbWcf7iHuYoedRaVM+rLgg8qSF9rryUM1sNdZ2W2prnO7uHcxG8uv6jaTtM7eN5aKurhocMXhn0Lxc0bi+t4jLsYP6cMyxhjvrFo0LfU0rsxv6fYSdhaZtzFp3K+gFb6WCj0So/wDpSsFegIwh7SPRGfcNHnH4+rNHafXiryL9Dw=="), this.addDataEntry("gmdl google media design library divider full bleed divider compose email",358,642,"Full-bleed dividers (Compose email)","7Zldj6IwFIZ/DZca2gLi5eo4c7OTbHYm2ctNlQrMFEpKZ1b312/Lh4pFRS1jdnabmMjhlB7Ow9seioWmyeqB4yx6ZAGhFppZaMoZE+W/ZDUllFrQjgML3VkQ2vJnwfsDZ0Fx1s4wJ6no0gGWHd4xfSOlpTTkYk0rQ4DziCh320KTPMKZsnOykNefLGNKp4wyXriiZdGUm+DsldRnUpbKPpNqKMIFWR0MtzBVsT4QlhDB19LlVxyIqPRArl92i0gcRlU3z6kCx3lpCDd9t3cv/1QJaE8G0pIBZCxfkH1eTlgqnuLfygKQPMY0DlN1uox2P2dTCHx3cihn6mI7zvdFU84ZXsRp+L3KgLM1PbNMjVwHUsWs4uQkl2H9qDIJuhKBlxGBTmnjhGIRv5PG9a+h5Fz4yCarUMlsGCYBHQqW/ZxjftWjitoT0+ywrlQ4dMvjnbQ5np41cG7WqvG/sViGtRl8MIaN4Qej5hXYcpkToWV9cxedQLgaiClLMpaTs+TS/tg3NTIbg5mHWh/hHbVB+7RgSnUMdnVJyVJsHb4WR3cj2LM83NF1oNdNlRkF65lQWJ3WBl59jahZds63257vIzoDbTrzjOis1kAtM78HGiMTNHKSBh3FtgF0DY7Ok2B9N42lA5qZBNEeHQB6wONreCKyXnKWvLAUiwinlmOHCY7pcMESjdzRyVDCIEU7Aql9FlOTo9dSi3xsCeBeuZhV3Pw+sI2NVBE8xmmo/Dspyyta16T7VyoL2C1EDAnLbgoL9QCoDn+H0DO7tX72qot50f5WXYF6fjTLDWjcnt7mL4rPf3gG4fnjPuDp+wGPJM9xqNf0MjXi30YAnV7mPX0XotvKdMb7lF0043lfNzqcouD4RigMnD6KbmBkl2GOF69H34EOcbnw3Qgc35Kwh3vvK61lg6OjMrUrMWqWDX1sSgB9V+LguiN7xlmuV2+3JPT5AXXYXThVGNyMzuiz4ZGH248Npfvut4g/"), this.addDataEntry("gmdl google media design library divider image based content divider",358,642,"Image based content dividers","3Vpdj6IwFP01PGpoC+I8qrMzyWYn2exuso+bKhWaKUIAZ2V//VIoKLY4KB9+YEzk0tLLOfdce1s0tPB2ryEO3DffJkxDXzS0CH0/zn95uwVhTIM6tTX0rEGop18NvtRcBdlVPcAh2cRNOsC8wwdmW5JbckMUJ0wYbBy5hDfXNTSPXBxwe0hW6f3na8rYwmd+mDVF6+zgzeLQfyfFlY2/SfvMxVAkjMmu1t3MJHx9Jb5H4jBJm/ylduzmLZA5zbu5hDqu6DYxhOM4yg1O2Xf/9OkPAYAaDCSBAVJfZkg/DxN/E/+k/7gFoPQcM+ps+OXc22PMLJN/6jDjNzto/JIdvHGAV3Tj/BAIGHvTLz/gIxeOCJ+5nyGJUrd+CyRBU0bgZYxAI7eFhOGYfpDK/duwZFwYst7O4TIbO57NxrEf/FnisFWoIjUw1Q6JUOHYzM8PYDMmMmrgXNTE+N99mrpVDj56gpXhR1b1Dv56HZFYQr18ikZEmBIRM7bcetFZalFHfU1akSP4QGxQl/WiZ0dq51TSFWYzIUaP2jZ3r1QnI+t4L6Jv2dmzBY91NTJ6lo1ptQuApKq+TgmfdKG8AugK74d58JB8EQ9544J32JQCU03BCUkClSQnnUiyYKRQ5LQHgqwuCIoIDleuEvVaalQ8tqGocQ4V05vqP4/eTQ5FVpUxoPdA2VSi7A0nEmvnJk317KGk5mTSA3o1r4K2KU/gZ00l9tQZUK9nqukc4akLIVAPO8oQX2bHif+pNmjtKrOcpJiHyuABYCqSVWFsg14R6HcMHyhcvg6A4O4BhIZ+TQAvrUtvB8CqgKFhDQmfXMneG3zHAh4YwE6KzJsS8MAAysXh1206J3nEiQ2aQAnZ3mY2oJMi7IYyowFk9HqMy05KpJvKjAMDKBcs9wbgcWYcGMBHq01MBAaEDz5ebTIwgI9XmwwM4KW1yRkr3uW6dbd7Nkmlw2fTFUPYWi5Fj4w+ljoVm3UXhPESr95VUVxGax0vF65IfxLY+rjYVDm1Rm0oArujbaOjFc8+do2a7N8VXKU9aRAp88zVGHp8guTSrZYgZUq7JjvWo9GTnu7fBsmbH74s8h8="), this.addDataEntry("gmdl google media design library divider full bleed divider",358,642,"Full-bleed dividers","7Vtdk+IoFP01PraVgJ+Po07Py07V1HRX7eMWGkxYk5ABHNv99XshSWsktjEm3Y52umwFgdzcw4XDETp4Gr18EyQJvnOPhh38tYOngnOVfopepjQMO8hhXgfPOgg58OqgxyPfuuZbJyGCxqpKBZRW+E3CNU1z0gyptmGW4REZUF3c6eCJDEii8wVdQPuTJQvDKQ+5MEXx0ly6mBJ8RfNvYh5DnUl2KyoUfTlqrsnKbP1GeUSV2EKRDfNUkJbA/VFaLaDMD7Jqg15mOJFphv9ad/f08CFzQLkzsOUMF2z5gp2zfEJC5sc6mVp36CPHGY4Hk2M+WvJY7RV+NJcunJAFi/2f2RP3dlnPPIEMN6v7lNno5Gn2n066GNKCSkj9nXnSrYoIqocI6qV5goZEsd+00P4lKPVqdtnoxddh1vUjL+wqnvwzJ8KGB83weDS4qAvjcocVK2yz6Oz20/SeO3sD25vuud7M7v+DMzDr9eYPY1S4/cOw2AJfLiVVFhqvT1EJoL4F0CMFNLTxxKPirGAqD5LDiBoPRqPSDr4XAsg5HV5pLD3oYNEYswUJv2TRHDHP0wa/hndIl2pX8y+Tmg1Ry1HVH17WD7bF4GwU90ETgZkIuqTgpgWVleHvITyp6vd+ud/fCMfcV4VwHDQSjnkzeTSOWkBl2AQqAAoEV2Ahsu/+Y7CkNfKorBwgR4CqPIq6ZaNoM7A9DPrt4zZqAjcwQ8Ho9K6hVBmhfnsA5THbJkDj0wDVYsvwDTVXCqrHNxnC78vfXAc3MtWM3BZ87zqW82dkm1KMJKHw9F4XUs8Bhf+KRgmVykDDTDOC+IaQbBi4ADnr2GMRi5mJpkMMwbUau03AFH2CyV5nbyDCbDbhmKuEOyhNKw6Jwz477++IhE4OdskJV4pHeYgXWIpem9TtE+OTfQL1Sqa9gXNml6jK6V3XwnPKRWxAmlO61OYLLhdsDe6AhC84gNbtds+Bq0jV9r2cL6v28zrli6hjmJ/Gq//ucKFz4SqP4F4bo6drKw86qB2Iw3fFFNmYjs1125gOURuY2gJKDc4SEeGz+Gc6ZeqZ87vJyMHa5WSgpwPhwdw6mem/i5bxRwB6OQBnn3Lmnbp0Hr1ofKwgenySDagwamNh69qKBjALobnFJn2T0Jx+gxlewjvXExaBF5CASH/UJsacnzW0/bnsIu2t10QvbGniOTDrImCHmk/Q+F++vQ8uURecqyYTtsjhavNtrfEmqcQHQ9oOl2hE/7gWLnEMoY8hE5/KRaV+jUZt/DqCbOnicR3riUjwRM/rejqSC3C/vBO2cG1iBLLFiFRIis3NwTKiicOCR/AY5tahtvfXmlGlVaenlAwaEqhMRUlYKHdskfiExXciXdRFt6G5Kf/tvtkQLtEu7olu3KB0UbL340+mG9ekXVTZsPFJN6DxcStjla1d/OBiBTkh11IrzE1rSXwzSwUkXgEiCBp1VoyGcyK1iDEnC61c5EK8YPM7YSbo2nSMki0WM7GOJPhRI6rWYkW3Bkm+Ds1WG0f+WsMT3c0vJXUhu2Z1o2QLB7ojuvHBkLZDN25K3TiG0MfQjZtXN9xmhqrxgbMb6djYVjemARXmyeYhl5JHeiFsmAekYbS4DyZxbRoHtjWOp0Rof0AZaaxIpYrYM7qF/mgaWMV8cz9s4gbFC2yLF/ie2MQNihf4psSLq9p4geueNjnr/EI2ljVLJLaFCqdoRb5yubB/P7SyAsK2iFGjg88JrJJLWN0r3zuGS80d7PhtWux0UXEbeeku9rLDBw2dBRoW7t7KUSBc4UxIjhXUZImkV4XQ7QNU4XjIm0PaR6IzvDV4ILk7+psW3z8Z/D8="), this.addDataEntry("gmdl google media design library divider inset divider",358,642,"Inset dividers","7Zvvb9o4GMf/Gl5SOXZCwktKt52mbapuk+7lyQVDohobOV4P7q8/5xck2HQG7FtaSFUJO3YSnk++j51vzABNV5tPAq/Tr3xO6AB9GKCp4FxWn1abKaF0AEE2H6CHAYRA/Q/gxyN7g3IvWGNBmLTpAKsOL5j+JFVNVZHLLa0r5jhPSdEcDNB9nuJ1US/ITB3/fpFROuWUi7IpWpRb0UwK/kyaPYwz1ee+PhURkmyOXm5ZVV/rJ8JXRIqtavJPNpdp1QJFSdUtJdkyrbuNwvrCcV5VLHd9999efagDYA4G0oIRqGuZIHBSTDDNlqwoVld3GCP4gMbJ6FiMFpzJVuOP5VY0XuNZxpZ/1t843Ff94GtVEdR9v9fXCJpy9m9RDJAqC5Kr0l91JANbIvA8IjCs6gShWGYvpHP8SyiFZ96yq82ykNndcjWnd5Kv/37C4lQ8VgFD5oB1O2xrdd5FVbkVznCkRzM4NZr1+R95pi5rd/LhGHZOP4y7R+CLRU6kRmP3LawARRqgSbH/BAmZpdEFhcZhPI6Nt3Xrxofg16KqFDRELe1SspD7Bl/K0kMMPUsmii+DvO0qzynUkQvVrQVZEBWmGcktKe9GFKu4R+a4v6K1JlYdrY2caK05TCO1xAOV2EkuFBlmy6J9L5AEwKAMN0RA2EWCPCBJXCDJCRazVAPSjn6bSg2qatxkQutsdQSR9XgVmMYrNxoajiL/Ihq7ISalGir+17xmTSjyBwiG/gE1GaFF6DNmxWHBIxHPGcvtgL02u3h1FhGE+iwClJuqL9hlM0wn9dxhlc3nVTLVZw8H8wsr+OdOJi7MmTXQJPABNHAiOVlO4G3k9qCmi6MP1s+g4ORBq3l27DwBBW5GrYN5ROCFyLlGQIfIz5zYEklA8XcpEesMiAxjFHKUAiNwAMhLDtTNia+4jMFnnrKcs16mwN/8POUmBQbNjeIWqBMfw5/iLnUx3r7idB/jkUgVbgimWND8pjmfmht7GeWcuBj+NHfpPP/ta043NH4I8sIL0f2BWU5ukvMmuZ3v7JaoEz/En+Tiq5echf3RMKFZy2dqxZyUm+ZABc5fOm0aEBA0j0Hth7DEACNxIg4EfIgD6sbGBItiXgHuCWNEylu685XuUHPjuyWqOxsTjaEKijx4TWXgsPMsjnI4fOHbcJmpEJf50g7DGW6H4a3Jye97Ld0O6INSv92OY0SuZ1AyLMWYPD2RIgjTVGS5JLe5oNfkGPt4h+xm6YY/2V295WFcupEVouOMcdHP1yzvQnAh9DIb6bffcfF7zbcvON3vmFAVMQi+EXozGH0KLvEywvXb7YBX73YYFntMmEw5K8LwXZIX0tPFBO9CdBHyMcoh3UXplejG1y46dO5yjxOWA+8U5NZw3HY6/EomoRuzcRh6oeDE9HjCs2eTBWxcl9jmcubiRHTkByF7J7i7QtC4QNG0yNfRgvq4qx8f6+mRboZo4BpWqme2zkmvCL1/QBa+xqsp7XfSid8bHlXc/36uat7+ed1/")]; -this.addPalette("gmdlDividers","GMDL / Dividers",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLGridListsPalette=function(a){var b=[this.addDataEntry("gmdl google media design library grid list grid titles",358,642,"Grid titles","7VtRb5swEP41PKbCNgTymKRrN2mVpm3SHieWOISVxAjcNdmvn41tAhhSmpi2oaOqFB82XO67u+98EAvNN7vbNEjWd2SJYwt9sNA8JYSKT5vdHMexBe1oaaFrC0Kb/VvwpuUsyM/aSZDiLe2yAIoFf4L4AQuJEGR0H0vBMsjWmE+3LTTL1kHC5SlesOvPVlEcz0lM0nwqWuUHn0ZTco/VmS3ZsjUzeSucUrxrVTcXSV1vMdlgmu7ZlMdoSddiBnJ9sWyNo3Atl40dqXiQCUFYrD18e/ZBGqDZGEgzBmC6TJH9LJsEcRRu+VBoV7eRDX3/GrTZaEW2tDT5Jj/45CRYRNvwq/zGzkH0nSRMAOTab1JHW42jv3wIEBunOGOjH9KSoCsi8DREoCNkKY4DGv3Bleufg5JzostudiEPs6tws4yvKEl+/grSBngmHpp+OMuFUbPBqgv2MjqvXDEumdMZ69YEz7WmvP8XEjG1ipuPJrBy+5FXvQJZrTJMNTSKb9EJIPe8nNIcFzWU0HRy47y4TwM4Pg+GfTU2jJp9bCIuYrzSMeAG9x13bBdnlMFhV4O7TxocNHn9meaW+iiPVNa3e7C+p1mfkszitxqHtLBSCQtmLVpN0lz/OgG43ty5cevZfsTTObd4tAjiqeSbTbRcxp2TVAsg+8qCEjxuAzzPTvHN0TBy+wDE1wCZ4WCxPhGHOhG/Gg5QGcskELsqxr3iMjGRpjIcpAzLY4mqzBiSRMzmrl0bRD1mspGH+k9lwDYB0QZvH7qyucKsHziaiNwQHMipwAH6KKcAMAJHkIbR9qsosXildZcLLLGXOAhmhFKy4bkNVuRq55GLa/jNrvlfG9hMnSV5lLrp9ZqQfFTgGCzhgDdpQF4JzyQt0EtyBPp+/NPd7U8HIPvqdxKaw/1zXufVsFcYw2aPgG0IP64jir8xYuR3f2T31vmz6Ay0sqXaNssKtLx5LdU/XA37MCx0K8kENdcpgKeZ/GBywidSDiR0T99DgJZWRSt1N/qjcqM3WUMBvSMSaT6o3I4tjZKsIb0v8uNYx0N1LYDuOJP8qDlEZ+oGLVmi8168Ty6vkcfI7wPBDt0SHcAupA2m17B7DfV0tnYa6lrnzOBQ+vhVlka9xMqpbY9Kuk7ih6yP/bfwg9ZAKFz/WCg4DaFgqC3lVSOhlzLKSH+kvYyqkqYgoeYS6o1XUHWXuPCKSm/MyIoK9FJRHamddE9wWoqnLo8GhlhRjYdfUeltqQurqLz3XlEZaWB15ZFSVnnDlFHADT3fHwJrQL0FJlkDmmWNY4D/Z4ZD1pkMnhmg3ua7LGYQMfOOmUERwcsww4XuJoZHFXqPTFIF+r/BeGM08kT9Mgga0Rt+F0Yj574+dfE0YqSRONANhut6446sYZsJ055Y40W7kSZrhQqmZl+/a29GDwV1vRnZDfXnvBqpKNMsNq0U2fiipOOboUinlwSr9+BOiL1fweK+6UlNUTa14XLiExx4vPHGCurBP8Lp8u7YUw8zXxOhwQOEOrw5djSlvSY63tDgYcPDD4nE9PLvjP4B"), +this.addPalette("gmdlDividers","GMDL / Dividers",a||!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))};Sidebar.prototype.addGMDLGridListsPalette=function(a){var b=[this.addDataEntry("gmdl google media design library grid list grid titles",358,642,"Grid titles","7VtRb5swEP41PKbCNgTymKRrN2mVpm3SHieWOISVxAjcNdmvn41tAhhSmpi2oaOqFB82XO67u+98EAvNN7vbNEjWd2SJYwt9sNA8JYSKT5vdHMexBe1oaaFrC0Kb/VvwpuUsyM/aSZDiLe2yAIoFf4L4AQuJEGR0H0vBMsjWmE+3LTTL1kHC5SlesOvPVlEcz0lM0nwqWuUHn0ZTco/VmS3ZsjUzeSucUrxrVTcXSV1vMdlgmu7ZlMdoSddiBnJ9sWyNo3Atl40dqXiQCUFYrD18e/ZBGqDZGEgzBmC6TJH9LJsEcRRu+VBoV7eRDX3/GrTZaEW2tDT5Jj/45CRYRNvwq/zGzkH0nSRMAOTab1JHW42jv3wIEBunOGOjH9KSoCsi8DREoCNkKY4DGv3Bleufg5JzostudiEPs6tws4yvKEl+/grSBngmHpp+OMuFUbPBqgv2MjqvXDEumdMZ69YEz7WmvP8XEjG1ipuPJrBy+5FXvQJZrTJMNTSKb9EJIPe8nNIcFzWU0HRy47y4TwM4Pg+GfTU2jJp9bCIuYrzSMeAG9x13bBdnlMFhV4O7TxocNHn9meaW+iiPVNa3e7C+p1mfkszitxqHtLBSCQtmLVpN0lz/OgG43ty5cevZfsTTObd4tAjiqeSbTbRcxp2TVAsg+8qCEjxuAzzPTvHN0TBy+wDE1wCZ4WCxPhGHOhG/Gg5QGcskELsqxr3iMjGRpjIcpAzLY4mqzBiSRMzmrl0bRD1mspGH+k9lwDYB0QZvH7qyucKsHziaiNwQHMipwAH6KKcAMAJHkIbR9qsosXildZcLLLGXOAhmhFKy4bkNVuRq55GLa/jNrvlfG9hMnSV5lLrp9ZqQfFTgGCzhgDdpQF4JzyQt0EtyBPp+/NPd7U8HIPvqdxKaw/1zXufVsFcYw2aPgG0IP64jir8xYuR3f2T31vmz6Ay0sqXaNssKtLx5LdU/XA37MCx0K8kENdcpgKeZ/GBywidSDiR0T99DgJZWRSt1N/qjcqM3WUMBvSMSaT6o3I4tjZKsIb0v8uNYx0N1LYDuOJP8qDlEZ+oGLVmi8168Ty6vkcfI7wPBDt0SHcAupA2m17B7DfV0tnYa6lrnzOBQ+vhVlka9xMqpbY9Kuk7ih6yP/bfwg9ZAKFz/WCg4DaFgqC3lVSOhlzLKSH+kvYyqkqYgoeYS6o1XUHWXuPCKSm/MyIoK9FJRHamddE9wWoqnLo8GhlhRjYdfUeltqQurqLz3XlEZaWB15ZFSVnnDlFHADT3fHwJrQL0FJlkDmmWNY4D/Z4ZD1pkMnhmg3ua7LGYQMfOOmUERwcsww4XuJoZHFXqPTFIF+r/BeGM08kT9Mgga0Rt+F0Yj574+dfE0YqSRONANhut6446sYZsJ055Y40W7kSZrhQqmZl+/a29GDwV1vRnZDfXnvBqpKNMsNq0U2fiipOOboUinlwSr9+BOiL1fweK+6UlNUTa14XLiExx4vPHGCurBP8Lp8u7YUw8zXxOhwQOEOrw5djSlvSY63tDgYcPDD4nE9PLvjP4B"), this.addDataEntry("gmdl google media design library grid list grid style",358,642,"Grid Style","7VvRb+IgHP5rTHYPW1oorT6qO/dyu1xul9zjBRVts1oayjy9v/7Atmql3Wgtuk27LBGEFr6Pj6/8wA4cLlYPDMf+I52SsAO/duCQUcrTT4vVkIRhB1jBtAPvOwBY4r8DRhXf2ptvrRgzEnGdCiCtsMThC0lz0oyEr8MsY4oTn8jiVgcOEh/HMp+Ribj/YBaE4ZCGlG2KwtnmksU4o88k/yaikagzyB5FGCeryuZusrK2PhC6IJytRZG/wZT7aQmIumk1nwRzP6vmOlnDcZJmzLd1d70XHzIAysGAChi2aEsfWrUwwWEwj2Qybd0hRuAe9rpuFUYzGvG9wqPNJQvHeBJE859Zj51d1i8aiww7q/uUtdHK08E/mbShSDOSiNTvDElblxHQjBHgpHmMhJgHS1K4/zEsOQ2H7GI1lzK7my+m4R2n8Z8xZnXp0QIMlgNWrLDO1HmH0vQenI6romnXRTN7/g8aiGZtH37bA4XH33rFO9DZLCFcYWPbCy2CkELQCC8pCzhJagmpXCBFumDP8Xpe6eDeG/4Sj7ekleroVgpF8htMcNjPlLwIplPZ4K20QzLju5rfNql7DxhWFPKOGwProjBb5dxtQ5QxIzMiYJqIgaJH/9ZwtHBH5bi/IsUcq4IU3VakmN8mV2LXACteG6wkBLOJrxCyj/4+KxlRaeFcj9rSqKBIe+60y+bOdgi7dZF5xrrtMMa5mJdOKiJthpA5gnK1miSopxDUx4xGImtAokgAX8viVNfSIczaXCKfSgPisrvg8IXPUR1vW+29+htqxd+6tgHabettYebc4gmXkBvQXq++gQEV53w9c6TcwMF0aCMTuNuq3sZjIns99FmQcBIlJLpq7syas6FrgnyN6IR50dkVIYnPrDo1EiLGrdQcjSLK6i3jrnozoLeeEZPTCK2cQG8V8ZPPrDc1ZNIPBUTA+k7ChF797dx628bk2qVdI2pyAr01CIt8dL2pgZF+xH0ayX4/cbIUb5VXzZ1Zc9Ay4nEaEZYTaM67PM2VRE5O/E65i1deBba5twlTA4YiJYN7+actsMsLlQA1VFJLU7UUdNq9ZLedAe/YJhwlh/nIDWkSktjf3zt5Y+NzhOwB0sa9QQzDUnmovaevKQdgghY1hnHjIuuLyEIIiWdCR6FJQMhPYw9N9VOfx/LDGUfOazlzh1XaYU4NQzzScSCQ1eALqnwhyxk5o9f4Utloy+DPxZfuYZqSwxoNJi8fR3P6omsi9Zy8CkL9LWGv/fGf7zg61sFMZpnQQ9PDFZdj7J6RN1k1SnADAcwdxPW6PWMOYm5Gci/BQdRF/m/Knj+gf9Rny0ZlL27G/ENd1b83/6iA8HL8A2qsyI/1j+2M1q5/rAsV3pqTnG47c5Jj4uAQbLo8LyhljCfPCiVVR/H2eWl4Hi8dO5Xqse4O1nKlAio7RNnSeWavqB8Tx5mhxvo+50rUDOJEXcOfk6HPT5C60q8kqHRKOyc73mejRyR3P19Ki+//uuk/"), this.addDataEntry("gmdl google media design library grid list grid style",358,642,"Grid Style","7Vtdb6M4FP01kWYfWoHNR3hs0sm87Eij3ZXmceQQJ6AajIynm+yvXxM+CjE0JrHbNClVpdixwZxzz73cizOB82T7jaEs+k5XmEzg1wmcM0p5+SnZzjEhE2DFqwl8nABgif8JWAx8a++/tTLEcMpVJoBywjMiv3HZU3bkfEeqjhXKI1wMtyZwlkcoK/oZDsX5Z+uYkDkllO2HwvX+KIZxRp9w/U1KUzFnVl0KM463g8vdd1Vr/YZpgjnbiSH/xiselSOgOy2nRTjeRNU0z6kWjvKyY9PMfbl78aECoB8MKIFhi7U8QGsUJojEm7Rolqs7xAg8wmDqDWG0pilvDV7sj2JwhsI43fxV3bHz0vUPzUSHXc39u1qjVbfj/4qmDUWb4Vy0flZI2qqMgNMYAU7ZxzBBPH7GnfOfw5Jzoskm200hs/tNsiL3nGa/loiNpUcJMNgPWHfCrlLnvVu2W3A6noymPRbN6vo/aCyW1Vz8LgCdy9/53TPQ9TrHXGKjuQslglyJoAV6pizmOB8lpH6BdOmCgeMHfq9xt8y/wOOYtEod3RVCKfiNQ0QeKiUn8WpVLLiRNsFr/jLzz33r0QeGFeX659nAritMrZx7OkSZMbzGAqZQGIoa/U3AUcLd7cf9FSnWWHWk6GmRYn2aWolTA6z4OljJMWJhJBHSRr/NSkVUObjWo7I0BihS9p12n+/UQ9id55pnbKqHMc6FX3pTESkz5JojqFarSYICiaAHxGgqumY4TQXwo0KcHLVUCLP2h+inRQDixe2Cwwc+R454zbRLjW+ulvg2tQ3QblvHhVlzi0JeQG5Ae8H4AAZknOt85ky5gQN3aLsmcLdlvS2XuLjrecTinOM0x+kozZ2jsFefMm9Yczb0TJCvUJ0wLzp7oCRxzaqTKyHCbgvN0TSlTH8a1zDyKbABgQVGoppCLeUUgc0eiz9lgQ0UTK5ZYHKN5C01ZdLgPT0G31TB9OKupU7BMcFZ1M5zjxSpFq49c5XlcEKZwpJ5GF1/VZQDMEGLXKj44rnWH6LLdV1xTehINAkIuY7wIKtDU8A4gcf+QvqZfq1m7nCKHubkgsV3uowFsgp8QZkv13IWzuK2+FJ98WHLtYcTnFeE0g39rRpERkbys8t3vn77r6tDjnXgySwDegAKdYLbDuzQNuGHgFwn+AIBrCOI50+DjxdBSmO68ghSC6TF3E/Knj5e/Hg3tlTjR8/+hguLH0MQ3lD8GJGRk7gnA2l7rO47OFulnHlOANnWvACr9vHtHGXa82pOk2eCvolksWcjw2cs7+IeGMFdS5KeoJgov7RuJ+knvrm+rN0Fb/EqtGd7gQilYVUidiy8RUlG8H1IE5VofmHPXreQvfdsN/iBWU5TRFQYu7Dnr0vP33v2DnzGk46VO64JK4dyTi5M7te1OKrxmwI+nqOCcnr/QZPE92JLeQ+8nI5rd1KNWvQ6qV1nwjEEnakee3dMPFpBLan6EoVPYx6BBxJHZeOGRxPD7suk3gy+75lY0+Z3v3N1I3vf4Yj8XcyMs7w3hX83hq6fIIWk/lWX9p7s+NdGj2i+/NatHN7+Kdz/"), this.addDataEntry("gmdl google media design library grid list two line grid list",358,642,"Two-line grid list","7VvRcto4FP0aP8LYMtjmEUjTzm7SySSd6ey+7KhYYE1ki8oiQL++kiUDjgxriA2YqTtt0LVkyffcc3S5VSx3HK8+MziPHmmIiOV+stwxo5SrT/FqjAixgI1Dy72zALDFXwvc77nrZHftOWQo4VUGADXgDZIFUhZlSPmaaEMI0wjJ7rbljtIIzqWdoYl4/miKCRlTQlnW1bWzS3bjjL6i/E5CEzFmpKdCjKPV3uVmJr3Wz4jGiLO16LLEIY9UD7cfqGERwrNID/N6euEwVYbZZuz27cUH7YByZ7iGMxyxlqFrH+UTSPAskU21uuN8NKUJ3+k8zS7ZeQ4nOJk96zfubU3f6FwYHD32Ra/Rztv4l2w6rmgzlIrWd+1Jpyoi4DREQE/ZGCKQ4zdUeP5HUOqdGLLxaiZp1p3FIelyOv/vB2QfClW33DHFAWvNwm5ftXfc1vNMrznHek3P/0SxWNZm8s4AFKbv+MUn0Ok0Rdzw+uYtKgHRN4AYMbpM0VFsKWdBkTIgu0ojeCfGgW3y5z673pOlI9kgwcUTSIaarjEOQ7ngDX8JmvLtyIesdeeDhmnT9z8WAOsi+2oF3KuDeblbC7gXpC67k4Nc2d/9cn8f4J9Txj+vFv7l3MjpFzSAhl8HGjFkM5w8Ky5KSj5mBu34rUERp2jTlOgAk7GjO/lnH73FSkK61MsyOa0sX3JUatyoHH9QAnng1kK5wGkA5MAAWSIB7Aec8rQ+vBW8vYItzzUkvMsIc/QilFA+cCkedyBVeS+sXD77varu5ib9rcrKprdtjijnNM7fpyDh3oHMisqeXMIC+vti8MRkyD8txnynoWRoYMTHMOERTeSi7hlCMUwsIJ5i/4sSI1zEi/IjwS3uhhlWezfSXYydZl3umy7XX3w+ymrXa4DVjn1p7c7Jfe3ivTqwfbdOzB3HZCvhiCVqpY2quWbsucU8uGYxVzS8IjV3zHLMF9EjooskTJWO3yOCV+LndwminC4Jxb/dbrcBdQ/OoO6VMGibvJuFpAblvSVp+OaLGAgqa/mxPDunlptlqDuYTGpX8fJt+zpz8uBCMr6nEPd/8eUNmpJxszL2iBmMhOlx8hVhoqT8CS7kqK94Rduam1dyfdvUu5YyV1X1bmsifmtyblbTPhEBEqMJnjSr6ZKv15uaX0rTvWvT9JJKnAyO1UqJ+VC8PZQDntEbfpOf2pmOV/F72wTdLJI1KOhtS8f7nn8D+g3MitqTLJT/ScbPLdyDKxNuYBbdXha6KD6Csnjyl3j5BuT6LPl3FW+3TK5zdf6Tf1fKv29Ev82S2bMlo9SD8TxznT1qVs2vukB+ITHfF4yXE3Oz6jZilL6SdSJz8KzvC4dMF8v/FqPlettbHq+EQNsE3iyPPciVp1b+3xljGCMGFf9JTiDRnGxA8X4u5BFZ4UR3kF27ph2Yc6N8QGepHTQUXRLKYvktbTvKm8mf/ywSmM8qXkRNrG6doD9zAteImSHlZde7MHHztp7BMYWkJMWIeEwKW05dBzw3O47jgcKe4xj7jRAjMwT79YRgZ9DE4amTz7IdcWxxo9D14rIfhbLzhL2gHhR6jaBQyxm2H3DyakCyq9uHT2AffdIQ7KmRbAgDjBzNzNB6JQlaTWd//cLsjRz9LTmXZgCXYyVG4nmKrgqh2weoQs3roKRdEh3/1uARze2v9Kjuu7/x8xs="), this.addDataEntry("gmdl google media design library grid list two line grid list",358,642,"Two-line grid list","7Zttc6I6FMc/jS/bIQmCvlS0u/fOdm+n7cy+3EGNklkgTshtdT/9hoegkGARsGuZ4nRajgkP55f/OeGQDpAT7L4wd+vd0xX2B2g+QA6jlKd/BTsH+/4AGmQ1QLMBhIb4GcC7im9B8q2xdRkOeZ0OMO3w4vr/49SSGiK+9zPDyo08HDc3Bmgaee42tjO8FMefronvO9SnLGmK1skWN+OM/sLym5CGos80OxVmHO8qLzcxZdf6BdMAc7YXTV7JintpCzQcpd08TDZe1s0yswt3o9Swyfse7l78kTlA7wykOAOIa5kg4yyfuD7ZhPFuenVlH4Gxbc1glY/WNORah27dJQk3j9kdmwfTM90KA8j6PmXXaMh98jveBUjsMxyJvR+ZJ0FdIrAZEWimNoZ9l5MXXDh+G0pmwyEb7DaxzG43wcq/5XT7c+GyVkMV6R1T7LDPVHg7TPeP3GZaqtfAuV7Lzv9Aibis/OQ3Y1g4/Y1dPAJdryPMFa/nd1ELxLBd7NCP/6JYIBhbd+8/dgEw2mHYFzXQqdstxe1P2GVLT9geMN0K18cx33KDbeIl48F3lzhqoJHAZRsSPqa0Ymj3iUE0s2riy8NXKaxNk48mRJXC3NBojn7YMJGcS75u2LK7CFtRSrrsfeFSK9lKCDIqaWPpQVjXg5begyciGtBpadRJRIOlgDa+gLJGXSB6oWSJaxM6tneLqXYaAkCTvFvGP5mGbKNITcbVTrGNu1EW5yLyRDUjWw7tXRDpJgrdyOoGFc9+EV1J6scp62E+F7+N2T+Tbwot4crjifRS+BEzNYvcJZtm4hvTIEvXn2QHCMhq5eNSujE7Ty37QoeCwsYqQLMlQAlMHqdbYkAh9jh35t+fn/oCayfVhsRWkEAv+KnP9c5/358nTg8Bijhs9w+gWou4pwsST+5L+E5XZKaz+FOV1ETfFX3NOMoB4OM112BdUM5pcJijy2Sa7n1LOs2AdTBNsw6z0YnBpI6J1PJVgurwUQ/YuukpsjoZBgANLzEM1GKH4CEMDg1DyqLiox4a2wjl/lIl/uoRjp8Endj8KuY+bxecjrnWFrrHA79A82zNg4raSrXCdWzbzmJzhV/iMR6o5ZNPhTdReJ4INI82tibuX7ni1fLOZLHA8Y06HiMRx2GEw6vXfT2Vnz2R1vG8bpWrZZ9PlTdRef50LHRn1gv/Vy50tdp07ya3+i/1woj2ReN2/zO5WoD61HgXmfwtzX+45A7VQtiUEc5dYftKfd4TyY97n9ahWh+7nNjfL7ea0Br1IbdKGv3AUxkWK3B9vLCoFrs+MK4cj2UasJ6a7G5i3YXo1Fhw83HoVIqpgpZGTNdNq8aqHElL9CTbCFeBqVqLcwH3q3OCoead57BlEJPvPOWL/vyttJzBd0tCreQoJGoswqEMV68WrFhuU4/Q6RcrsPjqHmgyjQaRvMc2K2UaL5U5Y2GZkWzNC9SnY786nLVrja76DVQ3q2EW7vKXgqSwMqyCS8PFMLCi3JDHHViO+5qqsami6mpdZvFN5UWWZdZZD/NWBvibhHoPCKlVgEpA2pD2N+nYfcMjdg//bpE2P/5vjD8=")]; -this.addPalette("gmdlGrid Lists","GMDL / Grid Lists",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLIconsPalette=function(a){var b=[this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.edit;strokeColor=none;fillColor=#737373;shadow=0;",20,20,"","Edit",null,null,this.getTagsForStencil("mxgraph.gmdl","edit","gmdl google media design library icon ").join(" ")), +this.addPalette("gmdlGrid Lists","GMDL / Grid Lists",a||!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))};Sidebar.prototype.addGMDLIconsPalette=function(a){var b=[this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.edit;strokeColor=none;fillColor=#737373;shadow=0;",20,20,"","Edit",null,null,this.getTagsForStencil("mxgraph.gmdl","edit","gmdl google media design library icon ").join(" ")), this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.star;strokeColor=none;fillColor=#737373;shadow=0;",20,20,"","Star",null,null,this.getTagsForStencil("mxgraph.gmdl","star","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.heart;strokeColor=none;fillColor=#737373;shadow=0;",20,18,"", "Heart",null,null,this.getTagsForStencil("mxgraph.gmdl","heart","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.reply;strokeColor=none;fillColor=#737373;shadow=0;",20,18,"","Reply",null,null,this.getTagsForStencil("mxgraph.gmdl","reply","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.users;strokeColor=none;fillColor=#737373;shadow=0;", 24,16,"","Users",null,null,this.getTagsForStencil("mxgraph.gmdl","users","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.gps;strokeColor=#737373;fillColor=#737373;shadow=0;strokeWidth=2;",20,20,"","GPS",null,null,this.getTagsForStencil("mxgraph.gmdl","gps","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.share2;strokeColor=none;fillColor=#737373;shadow=0;", @@ -5631,7 +5630,7 @@ this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bott 20,18,"","Health",null,null,this.getTagsForStencil("mxgraph.gmdl","health","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.office;strokeColor=none;fillColor=#737373;shadow=0;",20,20,"","Office",null,null,this.getTagsForStencil("mxgraph.gmdl","office","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.promotions;strokeColor=none;fillColor=#737373;shadow=0;", 20,20,"","Promotion",null,null,this.getTagsForStencil("mxgraph.gmdl","promotion","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.radio;strokeColor=none;fillColor=#737373;shadow=0;",20,20,"","Radio",null,null,this.getTagsForStencil("mxgraph.gmdl","radio","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.recipes;strokeColor=none;fillColor=#737373;shadow=0;", 20,20,"","Recipe",null,null,this.getTagsForStencil("mxgraph.gmdl","recipe","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sports;strokeColor=none;fillColor=#737373;shadow=0;",20,20,"","Sports",null,null,this.getTagsForStencil("mxgraph.gmdl","sports","gmdl google media design library icon ").join(" ")),this.createVertexTemplateEntry("dashed=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.travel;strokeColor=none;fillColor=#737373;shadow=0;direction=south;", -20,20,"","Travel",null,null,this.getTagsForStencil("mxgraph.gmdl","travel","gmdl google media design library icon ").join(" "))];this.addPalette("gmdlIcons","GMDL / Icons",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLListsPalette=function(a){var b=[this.addDataEntry("gmdl google media design library list scannable list",358,642,"Scannable list","7Vtdk+IoFP01PraVgJ+Po07Py07V1HRX7eMWGkxYk5ABHNv99XshSWsktjEm3Y52umwFgdzcw4XDETp4Gr18EyQJvnOPhh38tYOngnOVfopepjQMO8hhXgfPOgg58OqgxyPfuuZbJyGCxqpKBZRW+E3CNU1z0gyptmGW4REZUF3c6eCJDEii8wVdQPuTJQvDKQ+5MEXx0ly6mBJ8RfNvYh5DnUl2KyoUfTlqrsnKbP1GeUSV2EKRDfNUkJbA/VFaLaDMD7Jqg15mOJFphv9ad/f08CFzQLkzsOUMF2z5gp2zfEJC5sc6mVp36CPHGY4Hk2M+WvJY7RV+NJcunJAFi/2f2RP3dlnPPIEMN6v7lNno5Gn2n066GNKCSkj9nXnSrYoIqocI6qV5goZEsd+00P4lKPVqdtnoxddh1vUjL+wqnvwzJ8KGB83weDS4qAvjcocVK2yz6Oz20/SeO3sD25vuud7M7v+DMzDr9eYPY1S4/cOw2AJfLiVVFhqvT1EJoL4F0CMFNLTxxKPirGAqD5LDiBoPRqPSDr4XAsg5HV5pLD3oYNEYswUJv2TRHDHP0wa/hndIl2pX8y+Tmg1Ry1HVH17WD7bF4GwU90ETgZkIuqTgpgWVleHvITyp6vd+ud/fCMfcV4VwHDQSjnkzeTSOWkBl2AQqAAoEV2Ahsu/+Y7CkNfKorBwgR4CqPIq6ZaNoM7A9DPrt4zZqAjcwQ8Ho9K6hVBmhfnsA5THbJkDj0wDVYsvwDTVXCqrHNxnC78vfXAc3MtWM3BZ87zqW82dkm1KMJKHw9F4XUs8Bhf+KRgmVykDDTDOC+IaQbBi4ADnr2GMRi5mJpkMMwbUau03AFH2CyV5nbyDCbDbhmKuEOyhNKw6Jwz477++IhE4OdskJV4pHeYgXWIpem9TtE+OTfQL1Sqa9gXNml6jK6V3XwnPKRWxAmlO61OYLLhdsDe6AhC84gNbtds+Bq0jV9r2cL6v28zrli6hjmJ/Gq//ucKFz4SqP4F4bo6drKw86qB2Iw3fFFNmYjs1125gOURuY2gJKDc4SEeGz+Gc6ZeqZ87vJyMHa5WSgpwPhwdw6mem/i5bxRwB6OQBnn3Lmnbp0Hr1ofKwgenySDagwamNh69qKBjALobnFJn2T0Jx+gxlewjvXExaBF5CASH/UJsacnzW0/bnsIu2t10QvbGniOTDrImCHmk/Q+F++vQ8uURecqyYTtsjhavNtrfEmqcQHQ9oOl2hE/7gWLnEMoY8hE5/KRaV+jUZt/DqCbOnicR3riUjwRM/rejqSC3C/vBO2cG1iBLLFiFRIis3NwTKiicOCR/AY5tahtvfXmlGlVaenlAwaEqhMRUlYKHdskfiExXciXdRFt6G5Kf/tvtkQLtEu7olu3KB0UbL340+mG9ekXVTZsPFJN6DxcStjla1d/OBiBTkh11IrzE1rSXwzSwUkXgEiCBp1VoyGcyK1iDEnC61c5EK8YPM7YSbo2nSMki0WM7GOJPhRI6rWYkW3Bkm+Ds1WG0f+WsMT3c0vJXUhu2Z1o2QLB7ojuvHBkLZDN25K3TiG0MfQjZtXN9xmhqrxgbMb6djYVjemARXmyeYhl5JHeiFsmAekYbS4DyZxbRoHtjWOp0Rof0AZaaxIpYrYM7qF/mgaWMV8cz9s4gbFC2yLF/ie2MQNihf4psSLq9p4geueNjnr/EI2ljVLJLaFCqdoRb5yubB/P7SyAsK2iFGjg88JrJJLWN0r3zuGS80d7PhtWux0UXEbeeku9rLDBw2dBRoW7t7KUSBc4UxIjhXUZImkV4XQ7QNU4XjIm0PaR6IzvDV4ILk7+psW3z8Z/D8="), +20,20,"","Travel",null,null,this.getTagsForStencil("mxgraph.gmdl","travel","gmdl google media design library icon ").join(" "))];this.addPalette("gmdlIcons","GMDL / Icons",a||!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))};Sidebar.prototype.addGMDLListsPalette=function(a){var b=[this.addDataEntry("gmdl google media design library list scannable list",358,642,"Scannable list","7Vtdk+IoFP01PraVgJ+Po07Py07V1HRX7eMWGkxYk5ABHNv99XshSWsktjEm3Y52umwFgdzcw4XDETp4Gr18EyQJvnOPhh38tYOngnOVfopepjQMO8hhXgfPOgg58OqgxyPfuuZbJyGCxqpKBZRW+E3CNU1z0gyptmGW4REZUF3c6eCJDEii8wVdQPuTJQvDKQ+5MEXx0ly6mBJ8RfNvYh5DnUl2KyoUfTlqrsnKbP1GeUSV2EKRDfNUkJbA/VFaLaDMD7Jqg15mOJFphv9ad/f08CFzQLkzsOUMF2z5gp2zfEJC5sc6mVp36CPHGY4Hk2M+WvJY7RV+NJcunJAFi/2f2RP3dlnPPIEMN6v7lNno5Gn2n066GNKCSkj9nXnSrYoIqocI6qV5goZEsd+00P4lKPVqdtnoxddh1vUjL+wqnvwzJ8KGB83weDS4qAvjcocVK2yz6Oz20/SeO3sD25vuud7M7v+DMzDr9eYPY1S4/cOw2AJfLiVVFhqvT1EJoL4F0CMFNLTxxKPirGAqD5LDiBoPRqPSDr4XAsg5HV5pLD3oYNEYswUJv2TRHDHP0wa/hndIl2pX8y+Tmg1Ry1HVH17WD7bF4GwU90ETgZkIuqTgpgWVleHvITyp6vd+ud/fCMfcV4VwHDQSjnkzeTSOWkBl2AQqAAoEV2Ahsu/+Y7CkNfKorBwgR4CqPIq6ZaNoM7A9DPrt4zZqAjcwQ8Ho9K6hVBmhfnsA5THbJkDj0wDVYsvwDTVXCqrHNxnC78vfXAc3MtWM3BZ87zqW82dkm1KMJKHw9F4XUs8Bhf+KRgmVykDDTDOC+IaQbBi4ADnr2GMRi5mJpkMMwbUau03AFH2CyV5nbyDCbDbhmKuEOyhNKw6Jwz477++IhE4OdskJV4pHeYgXWIpem9TtE+OTfQL1Sqa9gXNml6jK6V3XwnPKRWxAmlO61OYLLhdsDe6AhC84gNbtds+Bq0jV9r2cL6v28zrli6hjmJ/Gq//ucKFz4SqP4F4bo6drKw86qB2Iw3fFFNmYjs1125gOURuY2gJKDc4SEeGz+Gc6ZeqZ87vJyMHa5WSgpwPhwdw6mem/i5bxRwB6OQBnn3Lmnbp0Hr1ofKwgenySDagwamNh69qKBjALobnFJn2T0Jx+gxlewjvXExaBF5CASH/UJsacnzW0/bnsIu2t10QvbGniOTDrImCHmk/Q+F++vQ8uURecqyYTtsjhavNtrfEmqcQHQ9oOl2hE/7gWLnEMoY8hE5/KRaV+jUZt/DqCbOnicR3riUjwRM/rejqSC3C/vBO2cG1iBLLFiFRIis3NwTKiicOCR/AY5tahtvfXmlGlVaenlAwaEqhMRUlYKHdskfiExXciXdRFt6G5Kf/tvtkQLtEu7olu3KB0UbL340+mG9ekXVTZsPFJN6DxcStjla1d/OBiBTkh11IrzE1rSXwzSwUkXgEiCBp1VoyGcyK1iDEnC61c5EK8YPM7YSbo2nSMki0WM7GOJPhRI6rWYkW3Bkm+Ds1WG0f+WsMT3c0vJXUhu2Z1o2QLB7ojuvHBkLZDN25K3TiG0MfQjZtXN9xmhqrxgbMb6djYVjemARXmyeYhl5JHeiFsmAekYbS4DyZxbRoHtjWOp0Rof0AZaaxIpYrYM7qF/mgaWMV8cz9s4gbFC2yLF/ie2MQNihf4psSLq9p4geueNjnr/EI2ljVLJLaFCqdoRb5yubB/P7SyAsK2iFGjg88JrJJLWN0r3zuGS80d7PhtWux0UXEbeeku9rLDBw2dBRoW7t7KUSBc4UxIjhXUZImkV4XQ7QNU4XjIm0PaR6IzvDV4ILk7+psW3z8Z/D8="), this.addDataEntry("gmdl google media design library list item list",358,642,"Item list","7Vtdb9owFP01PLZK7ISER0q7TdM6VWulPU4uXEhUYyPH7WC/fs4XJHVoDdgdGqSqhI3tOOfkXDsnlx4ezZefBVkkt3wCtIdvengkOJflp/lyBJT2kJdOevi6h5Cn/nvo05Zv/eJbb0EEMGnSAZUdXgh9hrKmrMjkilYVE5IlkDf3evgqS8girxcwVuNfTVNKR5xyUTTF0+LIm0nBn6D+hnGm+lxVpwIhYbl1ukVVNdfPwOcgxUo1+Z1OZFK2wGFcdksgnSVVt35QTZxkZcVs3Xdz9epDBUA3GFgDw1dzGWJvJ0wITWcsL5aze40RusaDuL8NoylnstH4U3HkjRdknLLZj+qKg03VA1+oCr/qe1/N0avL6Z+86GNVFpCp0s8KSd+UEbQfIygo6wRQItMXaI1/CEvBnrfsfDnLZXY5m0/opeSLX49E7EqPEWC4G7B2h1WlzsuwLDfgDPo6mv6uaFbnv+Opmtb65BcD1Dr9RdQegU+nGUiNjfVVGBEUHhZTunXRZgkPgmgQffg9HUaHsbBqS8Mq6n0bslgImIKCaQyZIRPrkG+Ee9iN+xtiqLFqiaFvRQz1MLUWYgesRDZYyYCIcaIR0kS/yUpFVNm4lgY6kCLj6OV3RS87hF30Q/eMxXYYk1KtzR8qImOGQncE1Wp1SdBAI+grYfmo3h2Ip5Rlh682+qrS3EsF+j7NKw5Vn1OXjgkdVpvAeTqZ5NNY7wopTOVm8/atKF1Hxurcd+EKrSxcse+AT9+zojhZ7OZM1Hattg/9G1PEB7svWVgnoB7Z8pLlOyHEt0HIcwamhMRe/ncgIcbhD3csUNhS/Au9V/y4CIC+/tB+SwoMvvKEZZydA6CrAOjXN4pdQnXj4ZgE52/B/IQUp3sOdyAV3MgbEUGzs+Zcam7gZJHb16X4IM0FJ6853dB4EPDCc9F9ISyDs+ScSW5tQdpl1IoZ4k5y/ZOXnIH3UXNC04bJ1MAcikOzn3zrXu2yJgJ59QNL8xks7iAjtiIO7DkRh25rDInI9xXeFTAGUp7Dnatwh2vwrTKKdF9jqHGoQJFtHlAHD2vHYisPr9/91byMFcRFvDQLgXuYHR3+/M6v/gzNDuSCpeM2O7YxcjqLUs1HU0aPj5CDMEpEmkk47wWdBsfIxdvKjlyLY5LdO5uOU5Cdbnmo+zsXHWeMi/NLFmeCC5CT3chx+x3o5P2OjgSOIVWIIe870LPB6FJwsZMV7rjdDnTybkdHpseQyYSzHIZ7CS9wTiVwJ7oQO1nldBflqEQXn7ro8L7JHjskh64VZNdwXLU6vCeTwI7ZeBE4YcGK6fFIxk9dFnBnUmKTlz0zE8t75y0nuJ0e2Jmd2JVOaim3Omrrx0VqNdbNEI24mivVM11kcFQM/f8EGfgab4a0f8lO9L/Ro4qbn1KVzZu/tPoL"), this.addDataEntry("gmdl google media design library list item list",358,642,"Item list","7Vttb9sqGP01+dgKg9/yMU33ommbqnXS/XhFkyexVcdYNu2S++svfiG1i92RBLposatKAYONz/F5wAeYkPlm+ymnWfSNLSGZkA8TMs8Z4/WvzXYOSTLBKF5OyO0EYyT+J/jjwFmnOosymkPKdSrgusIzTZ6gzqkzCr5LmowlLSIoi6MJuSkimpX5OSzE9W9WcZLMWcLyqihZVUdZjOfsEeSZlKWizk1zK8g5bAebW2U1bf0EbAM834kiv+Ilj+oSxAvrahHE66ip5rtNw2lRZ6z3dV+eXvxoAOgHgyhgOKItM4IOwoQm8Totk3XrXmOEb8k09IcwWrGUtwp/rI6ycEYXcbr+0Tyx+5L1k2Uiw2nq3jdtRDId/1cmHSLSORQi9U+DpKPLCD6OEezWeTkklMfP0Ln+KSy5R76ym+26lNn1erNMrjnL/n2g+aH0aAFG+gHrVtg16rz26nQLTtdX0XQORbO5/x2LRbP2N7+a4s7tr4LuFdhqVQBX2Ng/hRZB3mkxpV8XXZbI1A2mwbu/015wGgu7rjSMou6bkEWWwwoETAsoNJnYh3wt3L1+3N8Qg8SqIwbfiBjkZaQWQgusBCZYKYDmi0ghpI1+m5WGqLqwlAY+kSLt6OX0RS8zhF35nn3GQjOMcS765ncVkTZDnj2CpFptEjRVCPpC0/Kq6A7yxzgtTu9t1F6lPZZy1XEaqg6RX1IXL2gyawaBm3i5LJuxHxUmsOIvg7evVeo20FbnsR2XZ6TjCh0LfDrIiOJ4NZrTUdutGD74H3QRnx7eZRGVAHllw12WY4UQxwQhTwXoEhKi8u9EQrTDH+npoIih+OehV/zYCICO+tH+jVYYfGFRWrB0DIC2AqAjXxSzhKrGwzkJzhnA/IIUp3oOd8AF3BjNaZ4Uo+Zsam5qpZM71qV4J825F6851dD4mcMzK0X3maYFjJKzJrm9BWmWUSNmiD3J+RcvOQ3vQ3KSxC2TqYU5VIdiPznGvdqtJAIj+cHS/gYLe8gIjYiDICviUG2NGc3LcQW6gTQFzsdwZyvcEQm+UUax6mvMFA4FKLzLA+7hYe9YDPLweu5P8rIQEFfxUi8EHmF29PjzB0/9aZod2AZL5212DDFyOZ2S5KMto4cHKEGYR3lccBjHglaDY2BjtrJnrcU5ye43g45LkJ1qeYj3uxQdS1OWj5Ms1gTnYiujkfP2O/DF+x09CzhmiUAMo++QjAajTcGFVnq483Y78MW7HT0rPWYpj1hawnDP4RnGpQT2ROcRK72c6qKclejCSxcd0Vjs8aas2hbj4OrziC7Zr4kxj1G1Fx2/b8UzOtFglEw4QdihQoJmlgnV+PgBKxGuIoWQxqQaDEhNBJKS6sQjx38V8rzjneAahzdDVi8xHj6QF+0NA6o38RmSbFJafz7dZNWDoRXA8oEuHkdcB7oCbOP1Vg2Ge7koc+ShlwcH2RgHE9VIuC/xxYg9qXMaIxV1Bc/GHBN5h50Z++Gr2dm+XafC78aorpmZvivXyhDIyE6NqkPR3RHQ5uXIbQHk7VXn6Bp31+b3bg3o28thaGNT0Lm7lX1NROOLXnIlasZZAWfF0N9P0AHrF4Y+Lv4YO8HfRo9Ivuxjrou3tzn/Dw=="), this.addDataEntry("gmdl google media design library list item list",152,631,"Item list","7Zldb9sgFIZ/jS8nGWMn8WXjrt2kbZrWi13T+NhGwyYCmo/9+mGb5qPgKlvKLiocRYIDB/D7oBwOiXDR7u4FWTdfeQkswh8jXAjO1VhqdwUwFiUxLSN8GyVJrL9RcjfRiobWeE0EdOoSh2R02BD2BKNlNEi1Z8YgG7LuiwJWesilVIL/goIzLoZ2DMOjWyrK2Im9Gp7eoyEl32oj0hUzHwgFu8k1Dyaz4HvgLSix1122tFSN6ZGZhTZA68a4zbAZi8jRUB98jxLoglHBrQi2FPnBH7nili76BXo9+lehK8JuGK073dLSsuy7LOWarGhXa1N8rH2Bql8smvV68U490N/9cCjTdQFS136al7xYrOTfxMqy0SaAEUU3cDb+NQKml28pRjt4dUv9X0lQ/JeSmCm+c6pnTuK9UTY+9+BVJUFZEh4WdpGqmaXqjaCEvbddmS7eBkHmAcHMQlAQRh8FDRCcEFCMPVCYOyi0GgIJFNwUMuSBwsKmwFu66gGQTgYUbhR57gFF7kDRSc5IwODGkKRzDxieDw9nHISkm/DDNIEh9xGkEXJgeBIUhDZ+g22A4YSBUx+xGtnp5a3gujWJH0KYmGSR+4jYyE5sDyxA0CrAcMJIsY+YjewkWQ8g6nCKncKw8BKz7az6E7AN9EoP4UJbAw9ngo29BG87xf7cagVVoOCmsPASte0U29L/1Uvhjg/Xei/ug5fD50phzx1OZE4dIl95nWfm+vB8pDSiz99g5+vq8Y5/7H76F8Af"), @@ -5652,7 +5651,7 @@ this.addDataEntry("gmdl google media design library list item list",358,56,"Item this.addDataEntry("gmdl google media design library list line item checkbox",358,56,"Line item with primary checkbox","rVTtboMgFH0afraxUrvu57Rbk6VLmuwJmF6VFMEA7eyefiBov+xi0kFM4Nx7uHjODQgnVbOWpC4/RAYM4VeEEymEdquqSYAxFAY0Q3iFwjAwHwrf7kRnbTSoiQSuxxBCRzgQtgeHvBMO2kBbkDvKlYsrfWQ+nhFVgmUHCMeqJLXFJaSmXJxTxhLBhGxTcd4Om6al2EEX4YIbTnwAqWlK2IZ8AdsKRTUV3IQrmmW2WEwYLSzAINdn+S8e7vNywfUn/bH3mEW2Wk1SyotNS1s9hQbyf2lOgOauUi3kZVqDqEDLo0n5ppkuXQaOlo5WAi1KT4sWDiPK7YueetLdLLz0wzbgGxvG6V41hW2daVFlbLpXIO+JfeXMMrBzrDDhsDBH32DTyFHOhJoHtzp1mARGND3ARbkh8XzFraDcNmR3Py+3rz7xDd6fIPJc2Qa+Er+/9yg/5v/hRy0hB6NiCmqkLYt2PGjLJeEPk2YDzdxhD5o0wVcuPT9uktme3kWXfv5s/gI="), this.addDataEntry("gmdl google media design library list item list",358,642,"Item list","7Zxdb6M4FIZ/TS5TYUyAXPZjOnsxq61mRruXKxdMYg2JkaHdZn/9AgYSMM5CYkMTkqpScDCY8573iXUwmcHHzcdXhqL179TH4Qx+mcFHRmnC320+HnEYzkyD+DP4NDNNI/2fmc+ST0H+qREhhrdJlw4m7/COwjfMW3hDnOzCosFH8Rpnuxsz+BCvUZS1M+ylx38ISBg+0pCyfFcY5K9st4TRX7j8ZEu3aZ+H4lSYJfhDOty8qRjrV0w3OGG7dJd/iJ+s+R5w4fJua0xW66KbbRUDRzFvWFV991efvikC0B4MKAQDpGO5h0avmKCQrLbZJh9dM0aG4SztB1mMArpNDnZ+zl/ZzhHyyHb1vbhia9/0k0ZpAyj6/ijGaJTb5N9sE8B0m+E43fqriCToqoh5miKmxdsYDlFC3nHt+OeoZJ2YspuPVWazu9XGD+8SGv39ithZqQrbA1PvsCtceLfg2wdhs2wxaqBv1Irzv1CSDqs6+Xxp1k4/d+pHoEEQ40SIenUVnYRYCEKkuUi8uJdb2l3QtMzSdt3WDD7IcRP8v3+4WeaZGzJxiYfC+8KuG+L72YAr/4Y4SPY9v+VbT46p2TYL57wE2NXdp1RwW4XzIoYDnIbJw3FH+atvlU5xX7TH/YgPy1jVfGgr8WF5mNKGrgZVHBWqpMNI0iwfVJLOoFxo02deaq9TIFcQ6D5JGPISQrfqYVlJI8KyRN439IrDFxqTbARH0CdFZAsT+dAkaAaOZmparhJqukCD/EsV/kQHGdPMg8PvuUYyOPlf1+C7atB5phYSdC41SAMMFdq8RW2SVKGvOyPzShCS6M8+U3CJMJ0BCkxRJkUAhY2JJtQhExBkeiLbFEDXAs8LRCUwtRjy1HpEzZA+T45ukvdDJJDUJ46Zr236ooaRRXFHLyPFqsinZKRMmclAUqyLfPHfPJRj6sbJ0Tjp6Ci9ALH2coIpcZUfWlBp9Ual2WLBS5pOKimQDIBKiTKTQaVYMnlGGxLubpwcjZNVlUet0mLt5QRHBjw5tEDS+VSQdAaApJJ6yACQlCgzFUiaYm3kN4zC9OpukBwNko4WpcXyygmOXPPk0AFJnopTgmQ5/M8OSZkyk4GkWBz5IwiIh2+QHA2SsNlFjdJKlp1QnhxaIClZjnIMkoYoQnlZ50LSrZsPaNFESRVkAEqeu1Lo0ikp1kVeGN3Qq7oBfomktLXMXZQsSIn2CaKFlnZ/Wrbc6+69yLFbcbL0u1pdlNRCBqClRJrJ0FIskHxHPqE3UI4GSgvouIkDlaw+YXluaGHksj8jW6ynipHNGaUORkIlpZABGCmRZiqMLM9xyEjskQjfppMjUtLWcQsHKll/wors0MFJKAn7Fc8loZJqiH5OyqSZDCfFCsmPiLLkhsnxMLkAWpRWsvYk5smhhZInPJjTNps01VCycRNHS30SKqmEDEDJcx/QuXRKipWRnwy94/BGyfEoaWtxpJLFJwlPjp6U9EmWKFzUmL7l98q72VPNcznl3R7V80tDg07WhTyYI5NmKuS0Tq2X9Hr6O3u1MvMcju1qHQai2rw8jloVTBVueUXerza/VN9ZMl1EH3XSxTr+wIZxV97ePWaftucPFf2EQmOGqKMCbHWobZRapT1JFONPpdD1C9ShznEUaWOq41ybPOnm/peR+O6HP5z0Hw=="), this.addDataEntry("gmdl google media design library list item list expanded",358,642,"Item list (expanded)","7Vtdj5s4FP01PGYEGAJ5nI9O96G7O2qr3ceVB0ywxmAEpJ3019dgIARDFoidaJIwGil2bDD33HN8fWNr4DF6/5zCJPyT+oho4JMGHlNKc/4pen9EhGimjn0NPGmmqbN/zXwe+NYov9UTmKI4H9PB5B1+QLJBvIZXZPmWVBU+zEJUNNc18JCFMCnqU+Sx+z8EmJBHSmhaNgVBeRXN8pS+ofqbmMasz0P1KJTm6H1wuGVVNdbPiEYoT7esyU/s5yFvAWyXdwsRXodVt6VVDRxmvGLd9N29PftQGaDfGEAwhsHGcg/0STaBBK/joshH17WRrjur5cOQjQIa563Gz+VVNE6gh+P11+qNrV3Vd5qwCqPq+60ao16X8a+iaABWTlHGSv9WljTGImLOQ8S0eF2KCMzxD7R3/2NQsma6bPS+Lmh2t458cpfT5L9XmB7lqqDfMPsdthUL72xebpnNWopWM6ZarXr+C8VsWM3DFytz7/ELZ/8ONAgylAtWb95iFBC2AATzRexlk9jSz4IuZVZL1+314JaPm8b/84eTZVGwoQAXe5DcV3SNsO8XA274S1CQ73p+KUtPjqmYNrZznANs99knFfClDOYlKQoQM5OHspHwN7PKKLvb/XY/wMPaVns8XErhYX2bmoauAlQcGaiwYeTMy08KyWihtJXhs6ixVwmQKwB0n+cp9HJMY/li2UAjimUteV/gKyIvNMPFCA5I36BE9mhiO9hwFGvk0pSika6hAOyVDDbCln90UW/Pah3onfKv6TE50nPlSKerRDpXCsAydBlobZI+kAbAKLlCcPKPBGBGC6hh9pBIjoCCTqAJVMBkzISJ4FIhBWxQeZ18SVS725G6ZQAVs1TtIy0jP+GYqfylzlCdpUKzyPgAM5dhKaGZmP+YoYY+d5qJK7tRRjcGrH5I+fpiRzkTVB14K52gpCQ7Jk9QR6FxNbOSmP9gigbfApgVQ9HMJYyS0pj6a7qJvVBAjll3ioh1c3rOyScw60jm1MkJ3VaBh5ie+Av9ZBX3EUqZfeOb/Wv720r4ICYivm2yEBf+D1NxoXut1ge6inWnIWYZxs0UlxkjA0tFAtQQV/ef/I0Hyyj1QsNklWBLCoeBpSL2MqUkB1DjH+NQb6KyUXbnDjktZdMTdclK2ZwgIjbn5gJOnLIZQuZaouMalhZOzzDCZHvTybNFHpa+VIG0lLRBwJ1DhUgOWf2CRfI8aYPJIjmEzNWIpJhC+ANBkoupgptInkwkbSUiKWXvRMidQ4lIztg38cFFUsrGiROI5LHbJz66SIqZjb+DAHvoJpJnE0lbN1UgLWXzBOXOoUQkZ+yQ0EUQ6tc6ViTdffIZKvKK4INskbj2PRJAzIu8pDSit01mZ1ZKW1eBtphdmcHKZOcgKtQSDJzlmLifbPJBggG17Ownq/kuFxcpuRD1ajkEzdWo5dwEyaRTC8Ul/Qe07V6HE6nYwlKx5QyI6Y8ZbHmF3lsfX5o5agiXmfteuO8Mcke/q7M6h+jTt29W0tGfztJZxckfMCKbUWPFeuIkE+PxcyJ0+QCNyG0clLRzouNcGjysuDvRy5u3D/z+Bg==")]; -this.addPalette("gmdlLists","GMDL / Lists",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLMenusPalette=function(a){var b=[this.addDataEntry("gmdl google media design library menu menu simple",170,168,"Menu","7ZXLbsMgEEW/hr2DEzfbxm3TTaWqWXRNzdigYGMBefXrOxjykhPJ6mPVWLLkuXNnYA6WIGleb+eGteJFc1AkfSRpbrR24ave5qAUoYnkJH0glCb4Evp0JTvqsknLDDRuSAENBWumVhCUIFi3U1FowcgaHBgMG92gOuPMCvAdEgysYK23GihwyVkplcq10qarTsvu8TZn9BJOMtA9oQHXGxRHGMT9gHGwvTpTJ8WB5qBxd2aHlo3kTkTHXZg7ESArsS/LpkFkNgjVofaICD8ipcvE0h6xNygNWNEDhxN4IH4WWTB1r2TVYKaWnHvLrNSNW8hP7x5NPIeWFbKpfJhhiD0x+R5nGsyGfo/NOB68AcWcXMNZ/0u84hKvWuLKR4suSwuuB/Swk0GMxz3Gz6Ba4v/ljNVthyIpAfgHK5b/m/vuvM2vHsOkdwwLcA5R2RtzlKfjP2Ce9Zl7lDTRK3ej7gv2iH6CHcPjHRvsp1fwFw=="), +this.addPalette("gmdlLists","GMDL / Lists",a||!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))};Sidebar.prototype.addGMDLMenusPalette=function(a){var b=[this.addDataEntry("gmdl google media design library menu menu simple",170,168,"Menu","7ZXLbsMgEEW/hr2DEzfbxm3TTaWqWXRNzdigYGMBefXrOxjykhPJ6mPVWLLkuXNnYA6WIGleb+eGteJFc1AkfSRpbrR24ave5qAUoYnkJH0glCb4Evp0JTvqsknLDDRuSAENBWumVhCUIFi3U1FowcgaHBgMG92gOuPMCvAdEgysYK23GihwyVkplcq10qarTsvu8TZn9BJOMtA9oQHXGxRHGMT9gHGwvTpTJ8WB5qBxd2aHlo3kTkTHXZg7ESArsS/LpkFkNgjVofaICD8ipcvE0h6xNygNWNEDhxN4IH4WWTB1r2TVYKaWnHvLrNSNW8hP7x5NPIeWFbKpfJhhiD0x+R5nGsyGfo/NOB68AcWcXMNZ/0u84hKvWuLKR4suSwuuB/Swk0GMxz3Gz6Ba4v/ljNVthyIpAfgHK5b/m/vuvM2vHsOkdwwLcA5R2RtzlKfjP2Ce9Zl7lDTRK3ej7gv2iH6CHcPjHRvsp1fwFw=="), this.addDataEntry("gmdl google media design library menu menu simple",170,272,"Menu","7VhNb6MwEP01XCtjEmiPJd3mVClqD3t24wGsGIyMm4/++rWxSUkharQxpxSEhMf2jOe9NzYiiBblfilJXbwICjyI/gTRQgqh7Fu5XwDnAUaMBtFTgDHST4Cfz/SGbS+qiYRKXTIB2wlbwj/AWqyhUQfuDDVIVoICqZuVqLQ1paQpwHhAutEUpDZDJax1yDRjnC8EF7KdHWXtZYYpKTbQ64H2sg6o2GljqBtuPSAV7M/m1JpcQksQenXyoIfsGFWFG5HYvFEBLC/cNJy47EhjDflx7hdE+sWhNI5YNEBsJWHLYPffwJX73PB/l5eU39XOWZQaDNia8EfO8soMY5Qa1ylxBg6ZAZyTd+Ar0TDFhDFLm3CaiUq9sU8TIZybcDVZsyo3zVg3JTS686+DLBww5Fb8jc5kZu5LecI/8xQPaQodSxI4UWwLJ+7HqHMRVoLpwBh160nsjMNppM6ByLIG1ID54zIvEsNsIIa3QufvRwqNcRXdjBLuR5Qw86OE+EQJ82QCJcwHSlgan4izauNHDq2nWxYDmkIMIQonUEP887HacaxphVHcR0Ry/gz1hfvYsXkt8B3SeIodOBkg/UI2YKLoZy3qg5/iaz1dX3yWwI5lfH059muvX5MuMV+ywCOqiL2Uo/s+PYpkjiYQyf1AJE9iV3FBqB910M7brWzP0+nh+/b8gCfQw8Pv9jzYno+V6BXpbnE9qF+hFFtPn8jS+votO89lh2ceyk43v35k2OH9/xz/AA=="), this.addDataEntry("gmdl google media design library menu simple menu",280,160,"Simple menu","3VVda8MgFP01vidxLXtts7V7GQz6sGeJN1FmNKjrx379rh9ru6aFMgqDGgJ6rkeP5yASWvfbpWWDeDUcFKHPhNbWGJ96/bYGpUhVSE7oE6mqAn9SLS5Uy1gtBmZB+2sIVSKsmfqEhCTA+Z3KgBNsCF0LDS45b6VStVHGxipdzMKHuPPWfMBRBWILFcG42SBY4iDvB9bD9qLmCGXBSzA9eLvDKRvJvci6H9O5CgGyEz+0aQaZS0C35x4swE524bwjdOTISqB6XDRO08bLVjbMS6Nx2Bjtg+xT0/B00Swsr+RXAEuax0cWFbEhzpTsNGIK2kBzA2uk7gJrOrZ8b2xwEaWoWWb3kvMgYG7B4abv2a6rba/+ZvskYxYU2rKGX+ufiyJv8WZkcK7YZcJJeKZtHfhRdHthV6X5MErzRXIIWYF2Mqr9n0zvK7vTi3eT7CaXsvu/m3hfqZW3uHI4PDxXafrxa/YN"), this.addDataEntry("gmdl google media design library menu simple menu multi line",280,328,"Simple menu (multi-line)","3VZbT8IwFP41e+86uT0qKk8mJpj4XNnZ1tC1S1cY+Os9vXDRiQHkYiwhtN+57vt6yKJkWC5GmlXFk0pBRMlDlAy1UsbvysUQhIgo4WmU3EeUEvxG9HGHNXZWUjEN0uwTQH3AnIkZeMQDtVmKANQFq+xWwwRT3mVciKESSjtrkrmFeG20msKWBdyyloKlqkEwxkOoB9rAYmfPDgoNj0CVYPQSXRqemiL03ffPRQrgeRHCEtr3IKs9kK9jNxTgJrDwPSNJi5EXbpALSnIFtauooUUSPo0jR0kz5u8WjAfhvEUJcQtxJnguEROQ2bC6YhMucxvVxaNlh0+YuA1eJU9TW8inD0UtmRpqLPYaaNmbXnocvd3ArgbBDJ/Dp/y/ofymRfkY2XCcCy7tj6P3YAU6Ryvw5ZIDsZ+flLmsEh1yoBKhxLPi0vK4/CzoKkJlWQ2mpdy6sb3E7LTnp1EbJRv8q6sg3aEpKdnUyoDpTHC2njZeenef5pza79S4KbiBMTrbAq61S+veO43ucXwO4bt/bor/17TG/XOo1muPa6FhS7TTDCxh0qaYoI5czlwCoWQOeuX9Bte9Etcf7sFprglNTnBN8Lh5B/Xu26+oHw=="), @@ -5665,10 +5664,10 @@ this.addDataEntry("gmdl google media design library menu menu disabled actions", this.addDataEntry("gmdl google media design library menu menu disabled actions",170,222,"Menu with disabled actions","7ZZLT4QwEMc/DXce+/Io6K4XE6MH47ELAzRbGFK6Lz+909J9hV3dqJiYACFhpvNvO78hQ50gKjYzyar8ERMQTnDvBJFEVM1bsYlACMd3eeIEd47vu/Q4/vTCqGdG3YpJKNU1Ar8RrJhYQuNpHLXaCuuoQPICFEgySyzJGyaszkHP4JJR56zSoRJiWjJMuRARCpRGHaTm0mFK4gKORsBczQQJrsnpkWH3A1LB5mJOxmUTmgHS7uSWQtY8UbmNGDd5uznwLLeyfbqsbhzZXntARC+W0nliQYvYA03Sokbb1zR0Ijxm4lbwrKSRgieJDglTLNULf9fR3lBDqFjMy0ybIzIl1DT4ahO6Goz/PTCB5SJBMMVXcDL/OVh2iSfktLLvbq3APVVgmtagWnD3G7uK96DFO2Txouet0fgd8B62eE9RrplMukeuBUcNYm7u/1GK8aCDUoy+bs675iu4acyXm+zffuC7TvDjhjLqAOu4hfUZYspY6MxigTX03/qnVfG6qMqkVZUZYib6P6sRDCYdIL9pIX/DpVrOe+ZGMPmF4wyZh8N8E3581v8A"), this.addDataEntry("gmdl google media design library menu scrollable menu",272,420,"Scrollable menu","7ZhbT8MgFMc/TR9NoLS7PLqpe9Fo4oPPZD1dibQ0FHfx0wstuwmui7MxxpI0hQMHDv9fF3YIyDRfzyQtsweRAA/IbUCmUgjV1PL1FDgPQsSSgNwEYYj0E4R3X/TiuheVVEKhznEIG4cl5W/QWBpDpTbcGqqMlqYqYa6nnFRKileYCi5k3U+gLronZZwf2NO6GI+MJmKljVg37HogFay/jLk22YBnIHJQcqOHrFiiMhv30AaaAVtk1i2ym0W0agyLne9eAl2xKvgVIY4ij6ViojBDFOT6hR2J9F6MNGZXbE75NWeLQvfkLEnMkElV0jkrFtqE9q17SE3ceGCkE4V6Zu9mOhzrtoRKt17sfs/WLfyubo1NAqeKLeFo/ku0jFq1dD+3/6alXeJJML1yiDbH02w9RJpWoBztd4GdhSNuxUF6HF4co6gDHINWHFGPw4sDb7X7UR7DVh5xz8PPYzDqgMeolceg5+HlEWLUAY9xK49hz8PPI+7iON9CPgFk1APxAxl3caBj3Apk/BtAPiVmu4TtD4AipIuTHrtpr5Pkof6n4ycy7OKsx27a7eh/8iKiEIXnDiKpy4XCHjscyBy5IuMxukxlu9iVnXv3hze+XHTd3F8sNcMP750+AA=="), this.addDataEntry("gmdl google media design library menu cascading menu",604,590,"Cascading menu","7VvRbqs4EP0aHoswTkjuY5O7e7VSd1VttNpnEpxg1eDIkHvb/fo12NDAQEoDTtVCpKrBYIPPmTP2zBALr6PnH8I/hn/ygDAL/2bhteA8Vd+i5zVhzHIdGlj4u+W6jvyz3N9bzqL8rHP0BYnTLh1c1eGnz05EtaiGJH1huuFIBI1ISoQ8jHksW1eBn4QkG8GRB0noH7NLBdnJW672lLE1Z1zkvfE+/2SXpYI/kbMzJP+oAQL+SzYieaCfh4iUPLfOKW/SE/pBuHw68SIvKTogT3X5RYM0VG0YLVVbSOgh1MPMsL7QT1TDoRzrFTL5RaPWjCAGCK44CwCKcjoZOtnE6M5n94weYnkmokHAchCO/o7GhwJTdfRA9tmjyvlIXHmcbuh/2XBoLo8FSeTRv3qKnaFzm6F7EyptF4IwP6U/SWX8PvDNIHxXW2D0fMiEZB+igNk7HkV+LC9ZMX9L2CNPaEp5hrlQ0yq5eKidLznxNUksp6Gduzo1nYjAl21YdXjRGrbnwKKRC1lC72VJ3/+RU/lY5c3vZtXb39Vkwvf7hKSA5XIWnYifA+L/SCXgu9Erp8bJS3WYQTnwIAfjEN985OJbAOL/iQMiGJX8Tvpr0t9yZoCGJaRhHPpbjFx/3wDxm1TQJzkAPx3CSYKNEkSuCSqQA7i4Z3LQ1Sak++z/vI2OurR2EqdMpt21VRfjMOL61ldcjgc51HFkb3WhYqBCXgX+w5KKoMBO0pMmO0GP6aSvZn15SxNUwBSDPY5FDr2RpvjyqxyCuZHNaTtp8IIGXTPuEGZZLHc9EhWOPdGCYKYFMF8wmweAl3K1txUV6rnpKEQ1N5E8QTB78ugLP5dGgW7ybjdXt/FXt5c7uc/p1Dwj+MMkxjAeTUZifnxgUAh6hFqFw8s/2cg0K4Eo3xZzkSHb0UV5PV3UfHjpFB4KL6seam6CSZgHecgzUU5h/S0qqjFReqlRqQs7JlJTCKYo/jpFWyKkdlyH0eT9O7gvCf7MxJLtwpzEQ464w4+Zg5mWlXzspYl41YWpA4D2194uzVwTMUgBYxdc9asE7bi2vmQw8KsE7tKrLH+lr32LirJjn9p4w7sFG5rvTAaWfzWaXrg9LPdWLqEzhjD0RTZqzemOCMEb1pkbiv3f+Wk7GXIrDUbKjQ31/vUpSXlk4XvZjGzokYfno23P/jl5MlOTaqjPA2auS9aFZPdUI0F3Vottgb/btPyWkW43Zlqi2kuptqZNzawfUfoBcXUhv1uYoA3GscPQdvOMRBt3Y8lINBToAZPGg4CPjQLMVANxQ7U9CCyV6ckyPluy54IoKIpcqsk1qVf4eyVDeKC1Z2GEIRj/Vhny95n3mgj6qGJe8XAj9k1mohQMw229PS4T0bYN3134/Nbec4dltMqGYfzeau0fnzYqg2gN8xn0ZUaoWkdetsPc+RcoMLruVj65wmRb3r240mIVuRcttsyF3yRbhGGEPGxUfIbf33o+OYD1NwJ7wVftcQam12CCfQPhYlvumQiEMQyEKzX2wr7LbePYDf2GST0Mo91JK+/TilF6YAjbLB29n5+Uc7M87AwGwcgesiQxGuUMQY88fP29tbr8/OfY/wM=")]; -this.addPalette("gmdlMenus","GMDL / Menus",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLMiscPalette=function(a){var b=this,e=[this.createVertexTemplateEntry("shape=rect;fillColor=#eeeeee;strokeColor=none;",358,642,"","Background (Light)",null,null,this.getTagsForStencil("mxgraph.gmdl","background","gmdl google media design library misc ").join(" ")),this.createVertexTemplateEntry("shape=rect;fillColor=#333333;strokeColor=none;", +this.addPalette("gmdlMenus","GMDL / Menus",a||!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))};Sidebar.prototype.addGMDLMiscPalette=function(a){var b=this,e=[this.createVertexTemplateEntry("shape=rect;fillColor=#eeeeee;strokeColor=none;",358,642,"","Background (Light)",null,null,this.getTagsForStencil("mxgraph.gmdl","background","gmdl google media design library misc ").join(" ")),this.createVertexTemplateEntry("shape=rect;fillColor=#333333;strokeColor=none;", 358,642,"","Background (Dark)",null,null,this.getTagsForStencil("mxgraph.gmdl","background","gmdl google media design library misc ").join(" ")),this.addDataEntry("gmdl google media design library misc keyboard",358,224,"Keyboard","1dvLcpswFAbgp2GbQRLXpU2arLrqomsCsqHmViCJnaevuCi1OXhKYw9njmcyYwvkwGfQ0Y+xIYL8+FyHVfK9jGVmiG+GCOqybIdn+TGQWWZwM40N8Whwbqo/gz9dWcr6pWYV1rJol3TgQ4e3MHuVQ8vQ0LSnbGyIwyaR3eqmIbZNElZdey0j9f7bXZplQZmVdb+q4I7gwutWa+vyIPWSoixUn23YVH2vx1167N5wO/5vWbfyeHX7+6Zx459lmcu2PqlV3tO4TYY1hO0N3RKZ7pOxG+fW0Bg2Q8P+s+9fDvVkFJnXEUDnN+BR295LlEV7JvHSP8b2H+lHt7LaIrHt9jaNwmyTpftCNeZpHGe9ztgQqT2X9VIdPq+jO4yf5kmbDC/P7UxIp9tukbOA3DspOcvBkrOBnCQl55lYcg6Qq0nJMWZh0bmArqVFZ3lYdB6gO9Gi89CKhA/oXknRcYZWJZgJ7FJadjZanWAM2JW07Dy0QqFnlGd2FSk7wdAqBYNxIiRlp6cJI51rr0cH80RDis5haHQwUMSk6HwbjQ4mih0pOqanWAh2MFLsadk5As0OZoqElp2PVylgqPhFyk7NULDsOAwVB1p2Dlqt4DBUZLTsfLRaoefgZ3YfpOwmszumL0WuYQdDxZGU3WR6t6odTBURKbvp/G5VPJgr3mjhTSZ4q+LBZPFCC28yw1sVD0aLghTedIq3Kh7MFjktPAexYMBwwRbi+f3jEo+Zq+Pxid1qdAJmC06KznbQ6GC0EKTofBONDiYLixQd4xaaHUwWNi0720Ozg8nCoWXn41UKGCxcUnafnzWCHcwVHi07B69WwFjh07Lz8WoFTBUmKTvB8WoFDBWAbvYe7Py47+4bf9jncfbQJOmu052983pym/aGbdyNf6eDbhJlBbxsrPfn8vbs2+EsGCm+APcSRoemCiOJgCfYZLQT8LDTxeRcT39BeJMeTBWGeGKLo8Xc1QC2/nWoyWUo113tvLVgtjB4cIMewvcWk0mea62nB9PFAyk7cB3KNdfDg/EC2OnBTvVMq2bp6GYFW3uzvdPoZk5qqjNzcs6MbrrtJiEYIr5QG6JERgcgp5h2/eNzyc9xh/hSuOEDvD6q/XMSzOaqwj1qKgwQV4+s8TdgSw4rEViuFaj2unwt4h6ddV2Hk1fcqRaY0zMSDmdMHxgXkxH7v+HUy78/0uuXXfyG7w8="), -this.addEntry("gmdl google media design library misc snackbar",function(){var a=new mxCell("Archived",new mxGeometry(0,0,358,48),"shape=rect;strokeColor=none;fillColor=#333333;fontColor=#FFFFFF;align=left;spacing=16;fontSize=13;spacingLeft=8;");a.vertex=!0;var d=new mxCell("UNDO",new mxGeometry(1,0,88,48),"text;verticalAlign=middle;align=center;fontColor=#EEFF41;fontSize=14;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-88,0);d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a], -358,48,"Snackbar")})];this.addPalette("gmdlMisc","GMDL / Misc",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<e.length;c++)a.appendChild(e[c](a))}))};Sidebar.prototype.addGMDLPickersPalette=function(a){var b=[this.addDataEntry("gmdl google media design library picker date picker portrait",328,484,"Date picker (portrait)","7Zxdc6IwFIZ/DZfdSQgiXHbtx8VutzvTzvSa1SjMojCQ1rq/fhNBiz3YVsuJe5jVqSMhATyPoed9OeiI0fz5uojy+CabyNQRl44YFVmmqnfz55FMU8dlycQRF47rMv3nuFd71vL1WpZHhVyojwxwqwFPUfooq5aqoVSrtG4o4yg3bws51pv8Ok3SdJSlWbFeK6brh24vVZH9lo01cv0wa+Joki11I9cL9f5koeTz3mNeN9UHfC2zuVTFSndZJhMVVz2EG1TDYpnM4nqYF3hVY1RWDbPt2JcQ6Dd1FNojIkBE7uNHx9Xj2Hle6FcuDgwRY6EfBKY9W6j3Q7fIFiZqUZrMFnoxlVOzzTKPxsliZqLo15u6S/6YnQqhl01Ak3GUntejfmVKZXO9opCl7vZQR+7DBNzjCIR+1VbINFLJk9zZ/meoeICKBjEEIPRHUi3RmCeTienymsDV+vES3fss1yv8N8PNB3rZ7OfWdFEr3TRkxwdaHPlVZ0iBHrScEPxUbT/O8cH2LszzsGC7rDETxjpossD8TntdRLrew88s0Tt22Wp3ZmxGZNNpKRUgsz2uD8HyASx9ikpMjy5mxzHAuGgDtu5QHwfvHGA9gH3hnl+fmxtM9fyhBXXYNgNnfZ6BW4DBQAwBQGqTMgD87g4G1zqDGiQDZp6op8IQLep6miKEPQRhv6ES9rdPYJtokSHBGUBxTw6FG2xODqRRcIDigRwKzw3DHqCAUpverBgMGe8BCqjxr8ihGHLm9QAFFPZksqVG2spa/ldQS6A4lP68cxRbCWJJElpHE6CggULfpYrGDoetN9ItB6jNoRlMhMPJRAcSGii7PfJobIsQJDRQmg/Io7EtSnDQuFCq++TR2BYpSGigdD/c0X8Pzc6lSQtobIsWJDRQygfkZ43tTBkJDZT2IVU0ljj4KBygrt/YwvRAnC5VxmHTIvTpK33ruTIOG6j0N8YxYTbWk2UcNlD9v1ELpscmeWlo7CsHay37OprptprsNdNOCPoecyFB1j3Beo9nG2WCSxSaBpy+a2A9ycZhA10DTt82sJ5lo7AR0DbgZH0DOyAEQwEBTYIj6v7+ERAnS7OR2ECXgNO3CWyn2UhsoE3AyfoEJ0uzkdi01fqTZ2PblEZiA62DHhQJ2E6Ykdi0FAnQtw5sJ8xIbKB1QLdywBIIlCInARV/D+oErCfMOGyg4u9BoYD1hBmFjQcVfw8qBawnzDhsoAmAUCrQ+4QZhw00AXpQK2A9YcZhA00AusUCp0uYcdhAE0CQNQEsgUApPfeg4h+d/xhdft8H4/XN4PsqznbuQTY3ZyzjRMk73WqGLosod5r3JbODOXd8DbQesNpZapAdtlwMHXR0MZT7u1dDzzYb7hY1NBBuv/3HvIs5RMQcIlDWiy+/JlR1b/7Y0F8="), +this.addEntry("gmdl google media design library misc snackbar",function(){var a=new mxCell("Archived",new mxGeometry(0,0,358,48),"shape=rect;strokeColor=none;fillColor=#333333;fontColor=#FFFFFF;align=left;spacing=16;fontSize=13;spacingLeft=8;");a.vertex=!0;var c=new mxCell("UNDO",new mxGeometry(1,0,88,48),"text;verticalAlign=middle;align=center;fontColor=#EEFF41;fontSize=14;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-88,0);c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a], +358,48,"Snackbar")})];this.addPalette("gmdlMisc","GMDL / Misc",a||!1,mxUtils.bind(this,function(a){for(var d=0;d<e.length;d++)a.appendChild(e[d](a))}))};Sidebar.prototype.addGMDLPickersPalette=function(a){var b=[this.addDataEntry("gmdl google media design library picker date picker portrait",328,484,"Date picker (portrait)","7Zxdc6IwFIZ/DZfdSQgiXHbtx8VutzvTzvSa1SjMojCQ1rq/fhNBiz3YVsuJe5jVqSMhATyPoed9OeiI0fz5uojy+CabyNQRl44YFVmmqnfz55FMU8dlycQRF47rMv3nuFd71vL1WpZHhVyojwxwqwFPUfooq5aqoVSrtG4o4yg3bws51pv8Ok3SdJSlWbFeK6brh24vVZH9lo01cv0wa+Joki11I9cL9f5koeTz3mNeN9UHfC2zuVTFSndZJhMVVz2EG1TDYpnM4nqYF3hVY1RWDbPt2JcQ6Dd1FNojIkBE7uNHx9Xj2Hle6FcuDgwRY6EfBKY9W6j3Q7fIFiZqUZrMFnoxlVOzzTKPxsliZqLo15u6S/6YnQqhl01Ak3GUntejfmVKZXO9opCl7vZQR+7DBNzjCIR+1VbINFLJk9zZ/meoeICKBjEEIPRHUi3RmCeTienymsDV+vES3fss1yv8N8PNB3rZ7OfWdFEr3TRkxwdaHPlVZ0iBHrScEPxUbT/O8cH2LszzsGC7rDETxjpossD8TntdRLrew88s0Tt22Wp3ZmxGZNNpKRUgsz2uD8HyASx9ikpMjy5mxzHAuGgDtu5QHwfvHGA9gH3hnl+fmxtM9fyhBXXYNgNnfZ6BW4DBQAwBQGqTMgD87g4G1zqDGiQDZp6op8IQLep6miKEPQRhv6ES9rdPYJtokSHBGUBxTw6FG2xODqRRcIDigRwKzw3DHqCAUpverBgMGe8BCqjxr8ihGHLm9QAFFPZksqVG2spa/ldQS6A4lP68cxRbCWJJElpHE6CggULfpYrGDoetN9ItB6jNoRlMhMPJRAcSGii7PfJobIsQJDRQmg/Io7EtSnDQuFCq++TR2BYpSGigdD/c0X8Pzc6lSQtobIsWJDRQygfkZ43tTBkJDZT2IVU0ljj4KBygrt/YwvRAnC5VxmHTIvTpK33ruTIOG6j0N8YxYTbWk2UcNlD9v1ELpscmeWlo7CsHay37OprptprsNdNOCPoecyFB1j3Beo9nG2WCSxSaBpy+a2A9ycZhA10DTt82sJ5lo7AR0DbgZH0DOyAEQwEBTYIj6v7+ERAnS7OR2ECXgNO3CWyn2UhsoE3AyfoEJ0uzkdi01fqTZ2PblEZiA62DHhQJ2E6Ykdi0FAnQtw5sJ8xIbKB1QLdywBIIlCInARV/D+oErCfMOGyg4u9BoYD1hBmFjQcVfw8qBawnzDhsoAmAUCrQ+4QZhw00AXpQK2A9YcZhA00AusUCp0uYcdhAE0CQNQEsgUApPfeg4h+d/xhdft8H4/XN4PsqznbuQTY3ZyzjRMk73WqGLosod5r3JbODOXd8DbQesNpZapAdtlwMHXR0MZT7u1dDzzYb7hY1NBBuv/3HvIs5RMQcIlDWiy+/JlR1b/7Y0F8="), this.addDataEntry("gmdl google media design library picker date picker portrait dark",328,484,"Date picker (portrait, dark)","7Zxdc5pAFIZ/DZfp7LKIcJnSJBdtms4kM7mmugpTFAZIjP313QVU9GCqlrPmOCWTDOwH4Puw5LycRUsEs7e7PMyi+3QsE0vcWCLI07Ss12ZvgUwSy2bx2BJfLNtm6teyb/fU8qqWZWEu5+UhHey6w2uYvMi6pC4oymXSFBRRmOnVXI7ULj9P4iQJ0iTNq1rh2PpHlRdlnv6SrRpZLbomCsfpQhVytdEcT+alfNt7zlVRc8J3Mp3JMl+qJot4XEZ1C2F7dbdIxtOo6eZ4Tl0YFnXBdN13I4FaaVToVkQARZ6iF8tW/dh1lqu/XBwp0aBadHk6L1vlk2oB0s3TuVYtTOLpXG0mcqL3WWThKJ5PtYpus6vH+Lc+qBBqWwsaj8Lkuun1My3LdKYqclmoZs+NcgcTsE8j4Lt1WS6TsIxf5db+/4WKA6goEEMAQn2kskONWTwe6ya7BG6rZaPuU5qpCvddubkmqY/zoJuUS1U0ZKcLLU681BmS0IOOG4KblOuPc7rYm8v9cLFt1hoJIyWazDGvaacPpZsj/EhjdWCbLbdHxqpHOpkUsgRk1ud1ECwXwFK3qFi36GN0nAKMiy5gVYPmPHjvAJsO7BN33Obe3GKqxg8tqMOuETi95BG4BugNxBAApDYoPcDv8WhwnSOoRXJULai3Qh9NdTVMEWT3gez3VGR//wa2UosMCc4AiidyKGxvdXMgjYIDFM/kUDi2718ACmi16Y2KwZDxC0ABPf4tORRDzpwLQAGNPZloqRW2so7/FdQCKA6tP+8dxdqCXAoKDwUFNPY2FRRmdF8/++hXd+i94cPeD6r72UwEEgpoox1yKEybCCQU0FoPyKEwbSJwUNjQWrvkUJg2EUgooLU+/on731B4LPgcOJdjIpBQQGvtkRsVpiNXJBTQWvtUUBjS3UXRHfro1WPYjy/8+UJXHBYdRpqekzYeu+KwgE569SCWEAvjwSsOC+iu35lLpfrGWaHV35lOtY6JOqdNncxwPZFtd7JCLwRdh9mQIOufYHPEq5VTwCUKTTqn59KNB8E4LKBL5/RsuvEoGIWFgDadk/HpZoQXDEV4aMpPmAd37kFgOgxGYgFdOadny02HwUgsoC3nZHz52cJgJBZdc9nJsTD9EBeJBbTqBJPepgNYJBYdSW96Vt10AIvEAlp1OplwQ8KjTMIR0FETzHsbD2BxWEBHTTDxbTyARWHhQEdNMPNtPIDFYQFNNkLq++ICWBwW0GQTzH0bD2BxWECTTSf5fb4AFocFNNmCjMk2JDzK1GUHOurg+ntw822f+LsvD++bAbX1zqp+KXURxaV8VKW66yIPM6v9His7mmvPOb+mw3Jrq0V22JH8G/SU/OPudvbvarXjflFDw/7w9T/mbcw+ImYfgbLa3Hz7TN28/eU0fwA="), this.addDataEntry("gmdl google media design library picker date picker landscape",512,304,"Date picker (landscape)","7Zxbb9owFMc/TR47+ZLrY0cvD1vXSa205wgMiRYIStJS9ulnE0OBY1pgsdeTjaoScexc/r/EnPPnBI8Ppi+3VTrP7sqRKDx+7fFBVZZN+276MhBF4TGSjzx+5TFG5L/Hbg6spau1ZJ5WYtYcM4C1A57T4km0LW1D3SwL3VBn6Vy9rcRQbvLzOC+KQVmU1WotH69esr1uqvKn2FojVi+1JktH5UI2Urmg9yeqRrwcPOZVkz7gW1FORVMtZZdFPmqytkdA9YFmIp9kehgnftuY1m3DZDP2VQL5RqtgVoQDRR6zJ4/JcaE8KUrkOVzOK9mD8hOlIiQJ41i1l7PmfQln5Uyplxb5ZCYXCzFW26zn6TCfTZSaod7UQ/5L7ZRzuayEzYdpcalHNeX8ddCjWrii/rEY2LsYaBhbwuADDFLxCCguD78xnPY0H41Ul32pb1avfUXCN3WlgVxW+7lXXZqlbIrUVVCJWnb4ocU4+trm54nqt/cxqUSRNvmz2Nn+nwgdGGaAsGg2p3O+2P6V+jtNbEa2LvmhFE1U50t94PrVA8gnzkI9i2zPLMSh+CEQX84tuerRxdV+DgDKTQBWHfRxUHtAfJZEAAjzDVO9NSKR6XaY/BO3Q0LWH35/63aIgfgPJ6tuvHa3MMRE/bmeVEzRCjtRRb3T72Uuj4WRpd5MuDuiHI9r0QDVN4d6FIgEgLhDB8I4mfimeOUDg6AEkHhERyKQkx9+EhSQ+IGOREgjODmhIwGTVnz3RERJgp8ETJZv0JGIid+DzwmYL+MLneIkhp8T2EInChNq2jmJTS7hKDEzkvETa2TWDki3ZGC2zdCTMaYbFslQQmyggWk3dFexoTEnICE2NDAp99GjMWck6NDAND1Aj8acomBDw2DeHqJHY85Z0KGBifzpTvt7aHa+63MRoBmTGHRoYGYfo79rXMfOltDAVD9Bj8Z58LzeTrdoYO6/to0Rs3EePdthY3AD8NsBzsNnO2ygH7C2lhGzcR4/22EDDYE36q3k2HxeKxqHSq6MpVVnM91UbO0z7YRgFAQA4FrkLgHqHV6sfTG7QKGNQPH7CM7DbjtsoI9A8RsJzuNuK2w4NBIofifBeeAd+jbYQCfhjKK9j8bGeeBthw2DbPB7Cc4DbztsoJdA8ZsJzgNvO2xMhffo2Th3ru2wgWZCH2oLXMfQdtgYigsYfjauY2g7bKCZ0IPyAucxdGKjXIpDX6AH9QXOY2g7bKAv0IMCA+cxtBU2PvQFelBh4DyGtsMG+gIWSgx6H0PbYQN9gT7UGLiOoe2wgb5AD4oMnMfQdthAX4Dj9wVcx9CbuaZbNtAXGFx+G1x/PcRn/3nvQ8VrO08qqwc/FlneiAfZqoYuqnTrxyV0j9PQd/zdqR6w3FnaIhsZHmYOTn2Y+eC3qGRn7xeBjTIsH9oM91/+Y97FnFjEnFigLBdff/Gn7b79g0C/AQ=="), this.addDataEntry("gmdl google media design library picker date picker landscape dark",512,304,"Date picker (landscape, dark)","7Zxdb5swFIZ/DZed/MFHuOzox8XWdVIr9RolTkAjIQLaNPv1s8FJkxynTTLs9nSjqgTGBvM+xpwXm3g8mT5fV+k8uylHovD4pceTqiybbm36nIii8BjJRx6/8Bgj8t9jV3v20nYvmaeVmDWHFGBdgae0eBRdSpdQN8tCJ9RZOlerlRjKQ34d50WRlEVZtXu5z9SfTK+bqvwlNvaIdlF7snRULmQilRv6fKJqxPPeOrdJusLXopyKplrKLIt81GRdjoDqimYin2S6GCd+l5jWXcJkXfZFArmiVTArwoEi99mjx2S5UF4UJfIazueVzEH5kVIF7aLSy1mzkT5uFyDhrJwp9dIin8zkZiHG6pj1PB3ms4lSM9SHust/q5NyLreVsPkwLc51qaacvxS6VxsX1D8UA3sTAw0HljD4AINUPAKKy+o3hsue5qORyrIr9VW77CoSvqorVcjUeW5VlmYpkyLVCipRywwPWoyD2zY/TVS/u49JJYq0yZ/E1vH/RujA0AOERbO+nNPFfmnXh4vNyEaTH0rRRHW61Hvary5AvnAW6l5ks2chDsUPgfiyb8lVjj5a+ykAKDcBaDPoelB7QHwWRwCIery4IxKZbofJP3E7xGT18Huv22EAxL87WnVj293AMGwX152KKVphR6qoT/qzzGVdGFnqw4TbJcrxuBYNUH1d1YNAxADEDToQxs7EN8UrHxgEJYDEPToSgbQJ+ElQQOIBHYmQRrBzQkcCmlZ890RESYyfBDTLV+hIDIj/CZ4T0C/jC50G8QA+J7CFThQaato7ibWXcEnCj62RWL3x6JcEdNcMHQmjnbBIghJiAwW01fDt6UdHYTYUITYU0GT76FCYHQU6FNBmB+hQmC0FNhQM+uwQHQqzp0CHAhrt49+Ev4ViQJKvie/aVKBDAZ32AN1d4TqWtYQCWu0YHQrnwezqOP2igF579ZoWEQvn0awdFga3jc9uOw9n7bCAfnv1qhYRC+fxrB0W0HC/Ml9Jls3ntVJ/Z8rSOkwyTk06meF60tjuvIJeCEZBAACuRO4ToD7h2eo9k12g0LZTfL7deVhshwX07RSfcXceF1thwaFxp/icu/PAOPRtsIDO/YRJbO/NwnlgbIcFgyzweXfngbEdFtC7U3zm3XlgbIeFaWI5OhbO3/TaYQHNO8axctcxrR0WhsFyho+F65jWDgto3hEOlzuPaWMb03k49N0Ix8udx7R2WEDfjXDA3HlMa4WFD303whFz5zGtHRbQd1sYMv90Ma0dFtB3Yxwzdx3T2mEBfTfCQXPnMa0dFtB3c3y+23VMu+47+mUBfXdy/iO5/L6Px+73wfsmU2192ao+XV1keSPuZKoquqjSjR8j0DmOQ93zWKEusNza2iAbGT5+DY79+HXvqCHZOvtZYGPakA9t/e23/5i3MccWMccWKMvNl1+I6bJv/oDMHw=="), @@ -5680,42 +5679,42 @@ this.addDataEntry("gmdl google media design library picker year picker light",32 this.addDataEntry("gmdl google media design library picker year picker dark",328,484,"Year picker (dark)","7ZjLbuIwFIafJstKviQhWdK008VcOhKVZp0hhlhj4shxC8zTzzE2lDSXIS3pKiBQ/NvHdv7P6HDi0WSze1BpmX+XGRMevfdooqTU9mqzS5gQHkE88+idRwiCj0e+dPTiQy8qU8UKfUkAsQEvqXhmVrFCpffCCVWeluZSsSVMebviQiRSSHXopT4xb9ArreQfduwpZMGMmKeZ3EIbQ8MtxZRmu87tHiS31wcmN0yrPQzZ8kzndgQlkQ3LGV/nLsyPfCumlRXWp9jXu4cLZ0C7GbRhxlP+7BGIQ/NSwTemA90JDi+jy0Kf6avDq8u1VPB1AU3BVmbOqkyXvFgbF0M31YL/NYtSCm1jKF+mYu6ifkut5QY6wGb9aGL1HuQZAkmxCiJ/OTMvhkLeByUOraaYSDV/YbX5PwLKb4ACNrMGG2NAi0EbnmVmSDcUa/iTLKEj7CWAj3CvYzR95+lHIxkdtBntDzb6eKCXcKNM9Tj/1tnPPa9+NNBGt8RPyWFlgvb1Y3+MkKtVxXTD9tPGLiIRtpEIJhK9JLDvj4Bi1oYinFD0o4jJCCii6ySC/6GIUHKb+HUUJP50FMHQfNqO4pQurooibkMRTb+KfhSj5AqM2ljEE4teFnSUZIFxCwtXlE0sOlmMki1ws9pN5j+S+29dNM69pD1poVYwmL//25xrtgDVhG6huq8VEWgw6IXb2kfx1QP2tdYZ2hlqST5Da4w3ZN3SNzhEtdVvgjGyEW7W8o9fJ8x1zPGImOMRKEPz9cmYHX7+4Owf"), this.addDataEntry("gmdl google media design library picker date picker landscape light",512,304,"Date picker (landscape, light)","7ZhNb6MwEIZ/DceubAwEjlnS9rDbdqVU2rMVnGCtg5Fxm2R//Y7BSSCQJrRB2gNEkZjxjD/exwYNDonX20dF8/RJJkw45N4hsZJSV3frbcyEcFzEE4fMHNdF8HfchzOtuGxFOVUs09ckuFXCOxVvrPJUjkLvhHUUKc3NrWIL6PL7kgsRSyFV2UqW5QX+Qiv5h9VaWHmZlpQmcgNODIYdjynNtmfnXLrshB+ZXDOtdhCy4YlOqwgf24mmjK9Sm0aQVzlpUTlWh9yjBHBjVehWhLQUeU3fHBfyAlgURrCGaa4gApOeUiEUBWFo/DLTlyXMZGbUo4KvMjAFW5o+i5wueLYyaga2qzn/awYlBGwjLF9QMbVZWubHpFdjzLB3LQb3IgYchANh8FoYQPFJS3GYvu5Y9poniQk5lfqhvE4VCT7UFftgm3FeTIjegWtidoFiBQT8tmJcvbfJ50T1qnOMFBNU83fW6P8rQvtdQnu9hd5v0wUslKm28t7M/DqU/aSMZ/amTUDfiBvarJqyxPM6tmswkLJBl7L+qOx5Ze2ovySHybho1+xmnyGXy4LpFonDXK+CM+mCE4xw+sKZuAPACW/z8L8Ep/FCtnDc6H+As/d9EQ5G4QB0oi464Xh0etPxhzg7GHXhiUY8vfGEQxwejDvw2CJtxNMDz6FEuC2edkEcT5/j+5/nANXlJR+8YhoFhykfNinXbA5ek7pRtFan2Yh+7Od2ajciahN2DauGdoLaZP2+NcoJWTv0HQ5QY/S7fce3Rd2u9F9+jJibmKMBMUcDUAbz+PGsCq9/W/sH"), this.addDataEntry("gmdl google media design library picker date picker landscape dark",512,304,"Date picker (landscape, dark)","7ZhLb+IwEMc/TY5d+ZGEcKTp47CPrkSlPVvEEGtNHDlugf30O04MTUigpCVSDzFCiscz9vj/s0ETj8br7aNmefpTJVx69N6jsVbKVE/rbcyl9AgSiUfvPEIQfD3ycGIUl6MoZ5pn5pIAUgW8MvnCK0tlKMxOOkORstw+ar6AKW+XQspYSaXLUeoT+wF7YbT6y2sjvGx2JGWJ2oARQ8etx7Xh25M5lyaX8CNXa270Dlw2IjFp5RFgl2jKxSp1YRT5lZEVlWF1iH2TAB6cCt2K0JYiz+mLRyAuhE1hBHuY5Ro8MO0pVVA2a1eZqdmXZWtJmKnMqsekWGXQlXxp5yxythDZyqoZuqnm4p9dlFLoW2HFgsmZizIqfwt6tp077F+KgbyLAYfRQBj8FgZQfNJSHNI3HdteiySxLsdSP5TtWJHwrK7YIrPrPFkXswPTxJ4CzQtw+OPEuPhs04+J6lf3GGkumRGvvDH/Z4QOuoT2ewu9P6YL2CjXZw75sbIflPHE2XQB6BslkYuqKUt9v+O4hgMpG3YpG4zKnlbWrfpbCUiGoF1zmn2EWi4LblokDrleBGfSBScc4fSFMyEDwImu8+P/HpwIxbex34RDpl8Bzt72STgYRQPQmXbRicar05tOMMTdwagLz3TE0xtPNMTlwbgDjyvSRjw98BxKhOviaRfE8exXfP/jFKC6vPTMX0yj4LDlwyYVhs/BakM3mtXqNOfRj/3cpXYloi5g1+jV0E5Qm2zQt0Y5IuuWvsEhaqx+s5/4uqjblf7T9xFzE/N0QMzTAShD9+3lWeVef7f2Hw==")]; -this.addPalette("gmdlPickers","GMDL / Pickers",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLSelectionControlsPalette=function(a){var b=this,e=[this.addEntry("gmdl google media design library selection control checkbox on hover light dark",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=none;fillColor=#009587;strokeWidth=2;aspect=fixed;");a.vertex= -!0;return b.createVertexTemplateFromCells([a],16,16,"Checkbox (on, hover))")}),this.addEntry("gmdl google media design library selection control checkbox on focused pressed light dark",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#009587;opacity=10;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=none;fillColor=#009587;strokeWidth=2;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (on, focused or pressed))")}),this.addEntry("gmdl google media design library selection control checkbox on disabled light",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=none;fillColor=#B0B0B0;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Checkbox (on, disabled, light))")}),this.addEntry("gmdl google media design library selection control checkbox on disabled focused light", -function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#B0B0B0;opacity=10;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=none;fillColor=#B0B0B0;strokeWidth=2;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (on, disabled, focused, light))")}),this.addEntry("gmdl google media design library selection control checkbox off hover light", +this.addPalette("gmdlPickers","GMDL / Pickers",a||!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))};Sidebar.prototype.addGMDLSelectionControlsPalette=function(a){var b=this,e=[this.addEntry("gmdl google media design library selection control checkbox on hover light dark",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=none;fillColor=#009587;strokeWidth=2;aspect=fixed;");a.vertex= +!0;return b.createVertexTemplateFromCells([a],16,16,"Checkbox (on, hover))")}),this.addEntry("gmdl google media design library selection control checkbox on focused pressed light dark",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#009587;opacity=10;");a.vertex=!0;var c=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=none;fillColor=#009587;strokeWidth=2;"); +c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (on, focused or pressed))")}),this.addEntry("gmdl google media design library selection control checkbox on disabled light",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=none;fillColor=#B0B0B0;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Checkbox (on, disabled, light))")}),this.addEntry("gmdl google media design library selection control checkbox on disabled focused light", +function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#B0B0B0;opacity=10;");a.vertex=!0;var c=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=none;fillColor=#B0B0B0;strokeWidth=2;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (on, disabled, focused, light))")}),this.addEntry("gmdl google media design library selection control checkbox off hover light", function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=#666666;fillColor=none;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Checkbox (off, hover, light))")}),this.addEntry("gmdl google media design library selection control checkbox off focused pressed light",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#666666;opacity=10;"); -a.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=#666666;fillColor=none;strokeWidth=2;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (off, focused or pressed, light))")}),this.addEntry("gmdl google media design library selection control checkbox off disabled light",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=#B0B0B0;fillColor=none;strokeWidth=2;aspect=fixed;"); -a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Checkbox (off, disabled, light))")}),this.addEntry("gmdl google media design library selection control checkbox off disabled focused light",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#666666;opacity=10;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=#B0B0B0;fillColor=none;strokeWidth=2;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (off, disabled, focused, light))")}),this.addEntry("gmdl google media design library selection control checkbox on disabled dark",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=none;fillColor=#676767;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Checkbox (on, disabled, dark))")}), -this.addEntry("gmdl google media design library selection control checkbox on disabled focused dark",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#B0B0B0;opacity=10;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=none;fillColor=#676767;strokeWidth=2;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a], +a.vertex=!0;var c=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=#666666;fillColor=none;strokeWidth=2;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (off, focused or pressed, light))")}),this.addEntry("gmdl google media design library selection control checkbox off disabled light",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=#B0B0B0;fillColor=none;strokeWidth=2;aspect=fixed;"); +a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Checkbox (off, disabled, light))")}),this.addEntry("gmdl google media design library selection control checkbox off disabled focused light",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#666666;opacity=10;");a.vertex=!0;var c=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=#B0B0B0;fillColor=none;strokeWidth=2;"); +c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (off, disabled, focused, light))")}),this.addEntry("gmdl google media design library selection control checkbox on disabled dark",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=none;fillColor=#676767;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Checkbox (on, disabled, dark))")}), +this.addEntry("gmdl google media design library selection control checkbox on disabled focused dark",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#B0B0B0;opacity=10;");a.vertex=!0;var c=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=none;fillColor=#676767;strokeWidth=2;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a], 48,48,"Checkbox (on, disabled, focused, dark))")}),this.addEntry("gmdl google media design library selection control checkbox off hover dark",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=#ffffff;fillColor=none;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Checkbox (off, hover, dark))")}),this.addEntry("gmdl google media design library selection control checkbox off focused pressed dark", -function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#666666;opacity=10;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=#ffffff;fillColor=none;strokeWidth=2;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (off, focused or pressed, dark))")}),this.addEntry("gmdl google media design library selection control checkbox off disabled dark", +function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#666666;opacity=10;");a.vertex=!0;var c=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=#ffffff;fillColor=none;strokeWidth=2;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (off, focused or pressed, dark))")}),this.addEntry("gmdl google media design library selection control checkbox off disabled dark", function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=#666666;fillColor=none;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Checkbox (off, disabled, dark))")}),this.addEntry("gmdl google media design library selection control checkbox off disabled focused dark",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#666666;opacity=10;"); -a.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=#666666;fillColor=none;strokeWidth=2;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (off, disabled, focused, dark))")}),this.addEntry("gmdl google media design library selection control radio button on hover light dark",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#009587;fillColor=#009587;strokeWidth=2;aspect=fixed;"); -a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Radio button (on, hover))")}),this.addEntry("gmdl google media design library selection control radio button on focused pressed light dark",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#009587;opacity=10;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#009587;fillColor=#009587;strokeWidth=2;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Radio button (on, focused or pressed))")}),this.addEntry("gmdl google media design library selection control radio button on disabled light",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#B0B0B0;fillColor=#B0B0B0;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Radio button (on, disabled, light))")}), -this.addEntry("gmdl google media design library selection control radio button on disabled focused light",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#B0B0B0;opacity=10;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#B0B0B0;fillColor=#B0B0B0;strokeWidth=2;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a], +a.vertex=!0;var c=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.checkbox;strokeColor=#666666;fillColor=none;strokeWidth=2;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],48,48,"Checkbox (off, disabled, focused, dark))")}),this.addEntry("gmdl google media design library selection control radio button on hover light dark",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#009587;fillColor=#009587;strokeWidth=2;aspect=fixed;"); +a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Radio button (on, hover))")}),this.addEntry("gmdl google media design library selection control radio button on focused pressed light dark",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#009587;opacity=10;");a.vertex=!0;var c=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#009587;fillColor=#009587;strokeWidth=2;"); +c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],48,48,"Radio button (on, focused or pressed))")}),this.addEntry("gmdl google media design library selection control radio button on disabled light",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#B0B0B0;fillColor=#B0B0B0;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Radio button (on, disabled, light))")}), +this.addEntry("gmdl google media design library selection control radio button on disabled focused light",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#B0B0B0;opacity=10;");a.vertex=!0;var c=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#B0B0B0;fillColor=#B0B0B0;strokeWidth=2;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a], 48,48,"Radio button (on, disabled, focused, light))")}),this.addEntry("gmdl google media design library selection control radio button off hover light",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#666666;fillColor=none;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Radio button (off, hover, light))")}),this.addEntry("gmdl google media design library selection control radio button off focused pressed light", -function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#666666;opacity=10;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#666666;fillColor=none;strokeWidth=2;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Radio button (off, focused or pressed, light))")}),this.addEntry("gmdl google media design library selection control radio button off disabled light", +function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#666666;opacity=10;");a.vertex=!0;var c=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#666666;fillColor=none;strokeWidth=2;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],48,48,"Radio button (off, focused or pressed, light))")}),this.addEntry("gmdl google media design library selection control radio button off disabled light", function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#B0B0B0;fillColor=none;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Radio button (off, disabled, light))")}),this.addEntry("gmdl google media design library selection control radio button off disabled focused light",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#666666;opacity=10;"); -a.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#B0B0B0;fillColor=none;strokeWidth=2;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Radio button (off, disabled, focused, light))")}),this.addEntry("gmdl google media design library selection control radio button on disabled dark",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#676767;fillColor=#676767;strokeWidth=2;aspect=fixed;"); -a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Radio button (on, disabled, dark))")}),this.addEntry("gmdl google media design library selection control radio button on disabled focused dark",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#B0B0B0;opacity=10;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#676767;fillColor=#676767;strokeWidth=2;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Radio button (on, disabled, focused, dark))")}),this.addEntry("gmdl google media design library selection control radio button off hover dark",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#ffffff;fillColor=none;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Radio button (off, hover, dark))")}), -this.addEntry("gmdl google media design library selection control radio button off focused pressed dark",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#666666;opacity=10;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#ffffff;fillColor=none;strokeWidth=2;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a], +a.vertex=!0;var c=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#B0B0B0;fillColor=none;strokeWidth=2;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],48,48,"Radio button (off, disabled, focused, light))")}),this.addEntry("gmdl google media design library selection control radio button on disabled dark",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#676767;fillColor=#676767;strokeWidth=2;aspect=fixed;"); +a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Radio button (on, disabled, dark))")}),this.addEntry("gmdl google media design library selection control radio button on disabled focused dark",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#B0B0B0;opacity=10;");a.vertex=!0;var c=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#676767;fillColor=#676767;strokeWidth=2;"); +c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],48,48,"Radio button (on, disabled, focused, dark))")}),this.addEntry("gmdl google media design library selection control radio button off hover dark",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#ffffff;fillColor=none;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Radio button (off, hover, dark))")}), +this.addEntry("gmdl google media design library selection control radio button off focused pressed dark",function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#666666;opacity=10;");a.vertex=!0;var c=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#ffffff;fillColor=none;strokeWidth=2;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a], 48,48,"Radio button (off, focused or pressed, dark))")}),this.addEntry("gmdl google media design library selection control radio button off disabled dark",function(){var a=new mxCell("",new mxGeometry(0,0,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#666666;fillColor=none;strokeWidth=2;aspect=fixed;");a.vertex=!0;return b.createVertexTemplateFromCells([a],16,16,"Radio button (off, disabled, dark))")}),this.addEntry("gmdl google media design library selection control radio button off disabled focused dark", -function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#666666;opacity=10;");a.vertex=!0;var d=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#666666;fillColor=none;strokeWidth=2;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],48,48,"Radio button (off, disabled, focused, dark))")}),this.addEntry("gmdl google media design library selection control switch on light", +function(){var a=new mxCell("",new mxGeometry(0,0,48,48),"shape=ellipse;labelPosition=right;align=left;strokeColor=none;fillColor=#666666;opacity=10;");a.vertex=!0;var c=new mxCell("",new mxGeometry(16,16,16,16),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.radiobutton;strokeColor=#666666;fillColor=none;strokeWidth=2;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],48,48,"Radio button (off, disabled, focused, dark))")}),this.addEntry("gmdl google media design library selection control switch on light", function(){var a=new mxCell("",new mxGeometry(0,0,36,20),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.switch;aspect=fixed;switchState=on;strokeColor=none;fillColor=#0E9D57;");a.vertex=!0;return b.createVertexTemplateFromCells([a],36,20,"Switch (on, light)")}),this.addEntry("gmdl google media design library selection control switch on dark",function(){var a=new mxCell("",new mxGeometry(0,0,36,20),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.switch;aspect=fixed;switchState=on;strokeColor=none;fillColor=#80CBC4;"); a.vertex=!0;return b.createVertexTemplateFromCells([a],36,20,"Switch (on, dark)")}),this.addEntry("gmdl google media design library selection control switch off light dark",function(){var a=new mxCell("",new mxGeometry(0,0,36,20),"dashed=0;labelPosition=right;align=left;shape=mxgraph.gmdl.switch;aspect=fixed;switchState=off;strokeColor=none;fillColor=#0E9D57;");a.vertex=!0;return b.createVertexTemplateFromCells([a],36,20,"Switch (off)")})];this.addPalette("gmdlSelection Controls","GMDL / Selection Controls", -a||!1,mxUtils.bind(this,function(a){for(var b=0;b<e.length;b++)a.appendChild(e[b](a))}))};Sidebar.prototype.addGMDLSlidersPalette=function(a){var b=[this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.slider2;barPos=0;strokeColor=#bbbbbb;opacity=100;strokeWidth=2;fillColor=#ffffff;handleSize=10;shadow=0;",200,10,"","Slider (normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider normal","gmdl google media design library slider ").join(" ")), +a||!1,mxUtils.bind(this,function(a){for(var b=0;b<e.length;b++)a.appendChild(e[b](a))}))};Sidebar.prototype.addGMDLSlidersPalette=function(a){var b=[this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.slider2;barPos=0;strokeColor=#bbbbbb;opacity=100;strokeWidth=2;handleSize=10;shadow=0;",200,10,"","Slider (normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider normal","gmdl google media design library slider ").join(" ")), this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.slider2;barPos=50;strokeColor=#3F51B5;opacity=100;strokeWidth=2;fillColor=#3F51B5;handleSize=10;shadow=0;",200,10,"","Slider (normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider normal","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.slider2;barPos=100;strokeColor=#3F51B5;opacity=100;strokeWidth=2;fillColor=#3F51B5;handleSize=10;shadow=0;", -200,10,"","Slider (normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider normal","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderFocused;barPos=0;strokeColor=#bbbbbb;opacity=100;strokeWidth=2;fillColor=#ffffff;handleSize=30;shadow=0;",200,30,"","Slider (focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider focused","gmdl google media design library slider ").join(" ")), +200,10,"","Slider (normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider normal","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderFocused;barPos=0;strokeColor=#bbbbbb;opacity=100;strokeWidth=2;handleSize=30;shadow=0;",200,30,"","Slider (focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider focused","gmdl google media design library slider ").join(" ")), this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderFocused;barPos=50;strokeColor=#3F51B5;opacity=100;strokeWidth=2;fillColor=#3F51B5;handleSize=30;shadow=0;",200,30,"","Slider (focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider focused","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderFocused;barPos=100;strokeColor=#3F51B5;opacity=100;strokeWidth=2;fillColor=#3F51B5;handleSize=30;shadow=0;", -200,30,"","Slider (focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider focused","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.slider2;barPos=0;strokeColor=#bbbbbb;opacity=100;strokeWidth=2;fillColor=#ffffff;handleSize=20;shadow=0;",200,20,"","Slider (click)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider click","gmdl google media design library slider ").join(" ")), +200,30,"","Slider (focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider focused","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.slider2;barPos=0;strokeColor=#bbbbbb;opacity=100;strokeWidth=2;handleSize=20;shadow=0;",200,20,"","Slider (click)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider click","gmdl google media design library slider ").join(" ")), this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.slider2;barPos=50;strokeColor=#3F51B5;opacity=100;strokeWidth=2;fillColor=#3F51B5;handleSize=20;shadow=0;",200,20,"","Slider (click)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider click","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.slider2;barPos=100;strokeColor=#3F51B5;opacity=100;strokeWidth=2;fillColor=#3F51B5;handleSize=20;shadow=0;", 200,20,"","Slider (click)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider click","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDisabled2;strokeColor=#b0b0b0;strokeWidth=2;fillColor=none;handleSize=6;shadow=0;hPos=0;",210,20,"","Slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider disabled","gmdl google media design library slider ").join(" ")), this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDisabled2;strokeColor=#b0b0b0;strokeWidth=2;fillColor=#b0b0b0;handleSize=6;shadow=0;hPos=50;",210,20,"","Slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider disabled","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDisabled2;strokeColor=#b0b0b0;strokeWidth=2;fillColor=#b0b0b0;handleSize=6;shadow=0;hPos=100;", -210,20,"","Slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider disabled","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.slider2;barPos=0;strokeColor=#000000;opacity=100;strokeWidth=2;fillColor=#000000;handleSize=10;shadow=0;",200,10,"","Discrete slider (normal, light)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider normal light","gmdl google media design library slider ").join(" ")), +210,20,"","Slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider disabled","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.slider2;barPos=0;opacity=100;strokeWidth=2;fillColor=#000000;handleSize=10;shadow=0;",200,10,"","Discrete slider (normal, light)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider normal light","gmdl google media design library slider ").join(" ")), this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.slider2;barPos=60;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;",200,10,"","Discrete slider (normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider normal","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.slider2;barPos=100;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;", 200,10,"","Discrete slider (normal)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider normal","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDiscrete;barPos=1;strokeColor=#BEBEBE;opacity=100;strokeWidth=2;fillColor=#BEBEBE;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;",200,45,"","Discrete slider (focused)",null,null,this.getTagsForStencil("mxgraph.gmdl", "slider focused","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDiscrete;barPos=60;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;",200,45,"","Discrete slider (focused)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider focused","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDiscrete;barPos=100;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;", @@ -5723,11 +5722,11 @@ this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAl "slider click","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDiscreteDots;barPos=60;bright=1;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;",200,45,"","Discrete slider (click, light)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider click light","gmdl google media design library slider ").join(" ")), this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDiscreteDots;barPos=100;bright=1;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;",200,45,"","Discrete slider (click, light)",null,null,this.getTagsForStencil("mxgraph.gmdl","slider click light","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDisabled2;strokeColor=#b0b0b0;strokeWidth=2;fillColor=#b0b0b0;handleSize=6;shadow=0;hPos=0;", 200,20,"","Discrete slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider disabled","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDisabled2;strokeColor=#b0b0b0;strokeWidth=2;fillColor=#b0b0b0;handleSize=6;shadow=0;hPos=50;",200,20,"","Discrete slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider disabled", -"gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDisabled2;strokeColor=#b0b0b0;strokeWidth=2;fillColor=#b0b0b0;handleSize=6;shadow=0;hPos=100;",200,20,"","Discrete slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider disabled","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.slider2;barPos=0;strokeColor=#ffffff;opacity=100;strokeWidth=2;fillColor=#ffffff;handleSize=10;shadow=0;", +"gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDisabled2;strokeColor=#b0b0b0;strokeWidth=2;fillColor=#b0b0b0;handleSize=6;shadow=0;hPos=100;",200,20,"","Discrete slider (disabled)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider disabled","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.slider2;barPos=0;strokeColor=#ffffff;opacity=100;strokeWidth=2;handleSize=10;shadow=0;", 200,10,"","Discrete slider (normal, dark)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider normal dark","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDiscreteDots;barPos=0;bright=0;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;",200,45,"","Discrete slider (click, dark)",null,null, this.getTagsForStencil("mxgraph.gmdl","discrete slider click dark","gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDiscreteDots;barPos=60;bright=0;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;",200,45,"","Discrete slider (click, dark)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider click dark", "gmdl google media design library slider ").join(" ")),this.createVertexTemplateEntry("dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.gmdl.sliderDiscreteDots;barPos=100;bright=0;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;",200,45,"","Discrete slider (click, dark)",null,null,this.getTagsForStencil("mxgraph.gmdl","discrete slider click dark","gmdl google media design library slider ").join(" "))]; -this.addPalette("gmdlSliders","GMDL / Sliders",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLSteppersPalette=function(a){var b=[this.addDataEntry("gmdl google media design library tab stepper",704,478,"Stepper","7Zhvj5sgHIA/je/5o619uXO9y5KtW7LtA3gTKxkVg+zWfvuhQK8W2dwOlt1ykqb6U1CeBxBMcHE43omya97xirAEbxNcCM6l3jscC8JYggCtEvw6QQioX4JuPWfheBZ0pSCtXJIB6QwPJftGdEQHenliJtA3ZTfsCvJFFXnTS8G/koIzLlSw5a06d1NTxmwoQbgeNxU3pRMhydH7hGPIPN4d4QcixUld8p1WstFXrEGqszWE7huTLV3nOlj2OrA/532ssNoxdZ6vP3bqD70AVE7a9WQhgxTl2W06xHkr/5gN+iUbNIPGxgRhpaQP05rN4TJ3+MCpujECx2kxp+mhLYDXdU+kQ/v8mIsEpI6AXXkgKsLr0QLp1J/fydJGaUIlo/tWHTJSS6PmoykUBlQCQDQn2Sq+k2z5oMDoyLWigwjK2xG1GEBcOVEt/35M4TDDOcqbVRDMGE4wZzEwr6KMvffVkMJRzizRS8xwA4JgXoEp5jwC5rWDuXi/+/Rm93kbAvcwzNd/YZiHALkacJjGfmUBrVEEDbmr4dWu2L4NIeEM+0pCDob0PCRASz2qhY1jwT/o/N58Z0OG9D/Nd7B91wY1YN9aP5/xPP1V4J/xXMgpx+1Zznwi2YGOHfzSQTwdJLWDR1gF7pp0poP4rbx0kKh23BWz18Q/tzjIgnC+WhtgOxd+Cmd1+PjRR19++U3oBw=="), +this.addPalette("gmdlSliders","GMDL / Sliders",a||!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))};Sidebar.prototype.addGMDLSteppersPalette=function(a){var b=[this.addDataEntry("gmdl google media design library tab stepper",704,478,"Stepper","7Zhvj5sgHIA/je/5o619uXO9y5KtW7LtA3gTKxkVg+zWfvuhQK8W2dwOlt1ykqb6U1CeBxBMcHE43omya97xirAEbxNcCM6l3jscC8JYggCtEvw6QQioX4JuPWfheBZ0pSCtXJIB6QwPJftGdEQHenliJtA3ZTfsCvJFFXnTS8G/koIzLlSw5a06d1NTxmwoQbgeNxU3pRMhydH7hGPIPN4d4QcixUld8p1WstFXrEGqszWE7huTLV3nOlj2OrA/532ssNoxdZ6vP3bqD70AVE7a9WQhgxTl2W06xHkr/5gN+iUbNIPGxgRhpaQP05rN4TJ3+MCpujECx2kxp+mhLYDXdU+kQ/v8mIsEpI6AXXkgKsLr0QLp1J/fydJGaUIlo/tWHTJSS6PmoykUBlQCQDQn2Sq+k2z5oMDoyLWigwjK2xG1GEBcOVEt/35M4TDDOcqbVRDMGE4wZzEwr6KMvffVkMJRzizRS8xwA4JgXoEp5jwC5rWDuXi/+/Rm93kbAvcwzNd/YZiHALkacJjGfmUBrVEEDbmr4dWu2L4NIeEM+0pCDob0PCRASz2qhY1jwT/o/N58Z0OG9D/Nd7B91wY1YN9aP5/xPP1V4J/xXMgpx+1Zznwi2YGOHfzSQTwdJLWDR1gF7pp0poP4rbx0kKh23BWz18Q/tzjIgnC+WhtgOxd+Cmd1+PjRR19++U3oBw=="), this.addDataEntry("gmdl google media design library tab editable steps",704,72,"Editable Steps","5VfRbpswFP0aHhcZm5DkNcnal1aq1Ic9u3ABqwYj43bk72djk4ZBVqpgbdKwEtnH9uX6HPsAATmU7b2kdfEoUuAB+R6QgxRC2VrZHoDzACOWBuQYYIz0L8B3V3rDrhfVVEKl5kzAdsI75W9gEQs06sQd0BS0NlUJiQ65b5QUr3AQXEgNVqLSffuMcd5DASZZd2ncRQepoL2aYQe59O5BlKDkSQ/5yVJV2BEbFNlpBbC8cNM2LlXa2HZ+nvqxXl1xS55ePhkt/xm4WSdGCS1ryvLKkAFKsSpvrlKjg7K6gZnsRHi7vosMLip1gaPu0jinL8CfRMMUE5Vh3i56T7nJhxw5ZJ0SNU10Wg9d6xgiF/HZ5RfO5R9/yj+eoL/HJHCq2DsMwk9p4u7wJFhl+G2HYU7DZh9AZJlmfyTpOc1ZKkefb/KUNgWY4YbFXtayzc3BXOVlyleQMj/bn0zT7yag1XpA0Ll9IU+IxvL02I3yfBvevW8uKs96vgdxVo1PmWb8pSvLbfidP0YxigeUktADpfGI0oMEqsDcxzgaTfVfLsVbvZCn7cAUL57273sY+U1SLya2WcLEkgKS16kDdLYs2/PD8Ybn8h/fbmLYn4kN5fFiYtv/ysSiGPk3sd2IUuLZrb724P6rnrOOt/49p98tf3yO3Pi54KB577YXWm2RKctpFU69RS0l1g4vLpZufnwm2uGXX5G/AA=="), this.addDataEntry("gmdl google media design library tab noneditable non editable steps",704,72,"Non-editable Steps","5VdNb5wwEP01HLMyNuzHdXebXFIpUg49OzCAFYORcVL239fGZgMFukQFVVWwdoXHnvHMe/az8Mgprx8kLbPvIgbukW8eOUkhlH3L6xNw7mHEYo+cPYyR/nn4fmLUb0ZRSSUUao4Dtg7vlL+BtVhDpS7cGaqMluZVQqRDHislxSucBBdSGwtR6LFjwjhvTR4mSfNou4sOUkE9mWFjcuk9gMhByYue8pPFKrMzdiiwbhmwNHNuO5cqrWw/vbp+1KtfXMnj5ZNB+c/ATZ0YRTQvKUsLAwYoxYq0moRGB2VlBTPRCfA+vA+MXRSqY0fNo+2cvgB/EhVTTBQGeVv0kXKTDzlzSBomShrptB6b3tlHc/HGN/HGI3C3NgmcKvYOvfBjHLgVngQrDJ51P8yl320DiCTRaA8ovKY5i9Xg9qaOaZWBmW5Qa2nM69QcxE2ax3wTZRC9Dhjtbm478sPBhufCT8bhdw5oE/YAuvY79Ph4SI+PFqHnbttb/S5cgZ5wvuZwVgxPlebgpWnLbfgDWg1RjPqQEn8FSLcDSKcxXUasPifx/1RyyG8MrKI5uwEDJwlUgVnH3CE01n+pFG/lX1+wrWni9rh9SxjPZ7e+vyCFaOQULcUhQetzuP9SwhRs+5CuIkyHAaRkIWE6gGn/tTCF2/36m7rdLX9UpmUUaZ7ydLjaI9OW48r311Og8IAXJ0t3Pz717PTul+Av"), this.addDataEntry("gmdl google media design library tab mobile step text",358,642,"Mobile step (text)","3Zhdj6IwFIZ/DZeaQvnQS8VxLvYjm51Jdu82HSkfmUJJ6c7q/vottCAIjKiwMxmMxh562vI+ffWABt14f89QGn6hHiYavNOgyyjl8lu8dzEhmgEiT4MbzTCAeGvGtuesXpwFKWI44UMSDJnwgshvLCMykPEDUQEPZSHOuwMNrrMQpXmc4Z0Yf+1HhLiUUFZ0hetN/sq7cUafcXkmoYnIWaupMON437vcIqTWeo9pjDk7iC5/Io+Hsge0FjItxFEQqjTbVAtHmQwEVe7x6sUXJUC3GLAlhi7WsoLgIk0QiYIkb8rVnWoEoe1s7D6NfJrwWudtceSdU7SLkuC7umLzGHqkqQjoKvdBrRGU7ehv3tShaDOcidYPpaQ+lIhxHRHDlDGGCeLRC26Mfwsl88otG++D3GbzIPbInNP01xNiN21V2C1MM+GgXDi3ZLsmm2m3VdMvVU3N/41GYlnV5LOl0Zh+5jRHoL6fYd5SvbqKQSCsFgiXYcTxRW7pdkHTMqaxsLZm5w6u7XEDnPePNMtSBHK20Q6RlXIrz89U3iXY58esz0Vr4xgTW8ayb4N/aDpvVNj2GK5LGfaxkGmHs4Ho/eIYqrt1VvdSm4bnbpR93xympAAmoOC0KDxwnIqIuCxAffFhj+4+38pf59xX/MOcuA8Ux0ju0+2J3WcuRnHfYgruiw732YQXioj5wHrlfnpH4O3i6OAcR56XL29i1IdGwn8CP1vaE5Bftsh/vfv5KKmLPRDwSqqxyKvQhNDLyvikqB2OfTGk8qph1wEYH3tZalWDj8pdB1f+4V5g8Or3edw7g7dxXznOuBT0McqeJ7R7biGpFzd9XGRGyWVw+Sn3Tq8/wLws3V+5OdG7CqWRbk6cxuyT3JvoAx5slKxEZpRm+F0R+viA2g9begF1/qS9JR3no+ERzeMzR9m9/kjyHw=="), @@ -5738,7 +5737,7 @@ this.addDataEntry("gmdl google media design library tab noneditable non editable this.addDataEntry("gmdl google media design library tab mobile vertical stepper",358,642,"Mobile vertical stepper","7VrZcpswFP0aHpMREov9mDhJpzNt2mm6PHYUI4ymYinIrd2vr4SAgAUxDqJNM4WJg65WztHR1YKFVvHuVY6z6G0aEGahawut8jTl6inerQhjFgQ0sNCVBSEQfxa8GYi1y1iQ4ZwkfEwGqDL8wGxLlEUZCr5nlSHARURkcmChyyLCmbTnZC3KvwwpY6uUpXmZFIXlJZPxPP1G6pgkTUSey6oqknOyG2xuaara+oqkMeH5XiT5SQMeqRTIXahsEaGbqMrmOVXDcaEMmybvw9uLhwqAfjCQBoYt2nKBwEmYYEY3iQyq1h1ihJDnX3lDGIVpwluJb8pLJs7wmiabD9UbOw+mj2kmDHaV965qI6jD9JcM2kiEc1KI0JcKSXssI/BpjEBH2XLCMKc/SKf8KSw5T+yy8W4jZXa+iQN2ztPs6z3OJ3VV1A9MN8O+UuG5q8It2BxPR80+FbWq/vcpFc1qKj9bwk71Z363hDQMC8I11Ju3GEWEqxGxygnm5CS19KugKxkHLtwbp7cHt/o4BMf1o8SyFAbJLV1jdlGplcuYRruMhPwh15sydOXDmSXjetPI33eVZ5Rsz4TqspyERMC0JsVI6huPMgp39yjuNTYdzU2EfdctpmYBzMCCr7FwR5gUkqgnkT9ZZkmqkA1KzDzGK1GIyHUDq/d9KycYIgFallfb5G3k/7ttHONcKkvUHoqfhJBAsFsVKRqqSlWptb5Q0y+aT7OCnCr0AxmD8hJ2hu8Je58WlNO07WMf1W2JRcRjZtbr9XWlk51ef1eqi6m6kg3gDH1pYULR64isv2ns6lPBeswePYT6jzrXxp0+4l5t2CN1YMa9dqV+5s5Az/I4PTUjjJZiCqj0qUoYSZpLHHRe7svbnApqRNsoIzMoo+4UykZz+LW6/S2ch4E2M5qd5tOe1UDkzzEQ2bZGwSpNQrrZ5qR0bJjtxVytEM+hwBACHtGidnYDTI2dXVamA//RXkmZ9BigRyyGmHK9P8HUiO2C5zooQX8xx6gEwSyjkr4VMbmrS5wDeRvs0H7fEtYQ0B44AHoxB9D6bsLq3e3H17efrk0ALl1A+AdcQDND7LhhM+uaAx4cMMfCxu7ZTLi4XV2/McFCg/YBCwsg73+DhWZAn5cGfZmPBhk4bTa0JPJ+SbMhZzHLiHR0jR+oiVCMlUkGExyTOmqbUD5ZNcPzovboFsj7n5wfzcSdvqZ2/stnQD7u4ZGNGQr0dfNnSn5KCgjfZjJlIvDelnPS4r9OjuhkHpKgvugeZOLZrSNm2dxwa89rFmd9Za3hPPVwptmbNXu8uO9kOHZy4kxcctQbec4cXqEGfdpO6z0+stE6xMsTN2CHTuKbHVg4Ygu277TF0Amn36l9lgPOng8CTvbmf5Ohl0/QiG8BHh3S/iY7/kujRwQfPlxSydvfNf0G"), this.addDataEntry("gmdl google media design library tab stepper alternative label placing",404,50,"Stepper with alternative label placing","1ZbfboIwFMafpvelxamXyqZXu9oTdPYozQolpTrd0+8A9Q8pJCY6dDRo+x1O0/OjXyjhSbZfWlGk70aCJvyN8MQa45petk9Aa8KokoS/EsYo3oQteqJRHaWFsJC7axJYk7ATegutKUp30F4pU1FUXcxURYm9+drk7kP9VGLEcFw6a74gMdpYlHKT1w8prY8SYTxmk9Ei9skX+rq+UBdabXLUVrh0wOB8B9apldAzH8iUlNWa5n7NGIZ9b9215ItegsnA2QM+4hP4pMn4VtKlHkXcSCmoTeramiib8eY00ZkpdjzWbsQ8QDyTON7myuGfBCeULnuhW1i5EFosq6Yv3wO/5j146RaAB18VDQBGlHYQpLcTjAOCvbi0qgtsg0Bgn3W7z94Z+5I8iXEIIuoAEd0BxCgA0U/iNrdOoWrP4tZoGu62v7LrS7ddSwT4j1x6TBix1l4d0rXj53LtySvD23YSkOCPsu09Pp0xG8yM04BcYkE4qKbNqx85rCWHPaPQeCjz4vB85qxjrSPpLw=="), this.addDataEntry("gmdl google media design library tab stepper alternative label placing optional",404,50,"Stepper with alternative optional label placing","zZbNcoMgEMefxmNnFMzXMTFtTz21L0CFKFMEi6RN+vRdFJM46DSdJE7CROG/gOwPdocAJ8XuWZMyf1GUiQA/BjjRSpmmVuwSJkSAQk4DvA4QCuEfoKcBa1Rbw5JoJs05A1Az4IuILetMUZm9cEqVk9JWYSQvK6itKqPVB0uUUBp0qaQVN1yIVgoQjtF88hRbXUlzom/qn9Nf+Y+dOULQJoJnEhopLJ1B59UX04anRCydoeCU2jWt3JrBzHaDfteSc/qZqYIZvYcubgCeNyO+OTW5QxE3Us54lpuuRqqmnR0mOjKFisPajxh7iJcU2lvJDbwoM4SLahC6ZqnxIcbUFnGKEJ+zL066BODeeRV6AKMw7CEYXk4w9ggO4hJc+gcUgL3X5TpnZ+ZcciRmPoioB0R0BRATD8Qwif9F64LZcq/RGi3803arcJ32h2sFvkOUghXDTlqvpqINzM4GTD+3qjU8VDWxJXSIonJ3NIKQHiAfxfaYnkjTzL5VabiSRLRfBSeaDzfmv7LHuXkhN4WwG9yznUaV56ehkqRcZm92yPohvtIZmKBO2I2ZgGb3lYAOYT9+Bpp7JPAtMtBpphnKSNe4BcRotLyy8MglmhHD7LTSPui4d4Bxr1thPFbwQvN4fa5tndv1Lw==")]; -this.addPalette("gmdlSteppers","GMDL / Steppers",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLTabsPalette=function(a){var b=[this.addDataEntry("gmdl google media design library tab fixed tab bar",358,642,"Fixed tab bar","3Zlbb9owFMc/TR5Bdhxuj4VCN2kdVVepj5ObOBfVkMjxOtinnx07kJCkDeDQSyQkfOLjOOfnv304WGi22twwnIS3sUeoheYWmrE45urbajMjlFo2iDwLXVu2DcTHshcNd2F2FySYkTVv42ArhxdM/xBlUYaUb6k2eDgNiewOLDRNQ5xIOyOuGH/qR5TOYhqzrCvys0t24yx+JvmddbwWPlP9KMI42TRONzPpud6QeEU424oufyOPh6oHGoyVW0iiINRuQ0dPHKfKEOx8928vvugA1AcDVYIBxVyuEDgqJphGwVo21ewOYwTAFZg6TTHy4zUvdF5kl+ycYDdaB/f6jZ296SFOhAFq3196jiBvR/9kEyLRZiQVrUcdSdiWiH0aEdtRNkYo5tELKY1/DiXnxCW72gRSZv1g5dE+j5PfT5idtVRRfWDKDlutwv5AtQthc4bVqMFjo6affxdHYlq7h/cmdunxvVF5hNj3U8IrUd+9RSsQgwqIOxwQYeERFySO0Uy9Fg6FM51lC7+6jgsr3QZvq0hJZiIMknDkYnqlNcvlnZ2CKfH53utH1roe2R0LB4Iz18C2LECjzIcmxJcw4hMRJ5ekLdnvDpZWgR+8Gfg8NqW4D41ILx8mpwA6oDCqUPj+ML8VluXPeYWHiBSvOQ2aNHIoiVXkeXKonSpcEWfCTj9PGuhsSw4FVhBOqrCcsRGN9PJxjOIZN+F5eFxeDo8ceCm3Li5fdgyME9vkRxtCpSVfgzBXwadBOGlE+O1+fkGNXQ7icPQWxE+nQwhOPK2OyEoWcDEdL957NzQDAXXBAJrIGFKCmRtWkBQzgyIXjUp1zpG0ztteV0oNkro83kwy0RsOus8m4KlFgANEnIss+aIZXSOSQXdEcrF1SqRaiTC+cYHsMl4WaNy4an/rfOzjw0il4Qm7z603riKXE3cv+HpZAvTt8pZSV5mAdT+PDFUmymlGJ4UJWK1MVMDlrIRnlKTkQxH6+oBalBFe3dLek87oq+ERzf0fDqp78f+I/w=="), +this.addPalette("gmdlSteppers","GMDL / Steppers",a||!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))};Sidebar.prototype.addGMDLTabsPalette=function(a){var b=[this.addDataEntry("gmdl google media design library tab fixed tab bar",358,642,"Fixed tab bar","3Zlbb9owFMc/TR5Bdhxuj4VCN2kdVVepj5ObOBfVkMjxOtinnx07kJCkDeDQSyQkfOLjOOfnv304WGi22twwnIS3sUeoheYWmrE45urbajMjlFo2iDwLXVu2DcTHshcNd2F2FySYkTVv42ArhxdM/xBlUYaUb6k2eDgNiewOLDRNQ5xIOyOuGH/qR5TOYhqzrCvys0t24yx+JvmddbwWPlP9KMI42TRONzPpud6QeEU424oufyOPh6oHGoyVW0iiINRuQ0dPHKfKEOx8928vvugA1AcDVYIBxVyuEDgqJphGwVo21ewOYwTAFZg6TTHy4zUvdF5kl+ycYDdaB/f6jZ296SFOhAFq3196jiBvR/9kEyLRZiQVrUcdSdiWiH0aEdtRNkYo5tELKY1/DiXnxCW72gRSZv1g5dE+j5PfT5idtVRRfWDKDlutwv5AtQthc4bVqMFjo6affxdHYlq7h/cmdunxvVF5hNj3U8IrUd+9RSsQgwqIOxwQYeERFySO0Uy9Fg6FM51lC7+6jgsr3QZvq0hJZiIMknDkYnqlNcvlnZ2CKfH53utH1roe2R0LB4Iz18C2LECjzIcmxJcw4hMRJ5ekLdnvDpZWgR+8Gfg8NqW4D41ILx8mpwA6oDCqUPj+ML8VluXPeYWHiBSvOQ2aNHIoiVXkeXKonSpcEWfCTj9PGuhsSw4FVhBOqrCcsRGN9PJxjOIZN+F5eFxeDo8ceCm3Li5fdgyME9vkRxtCpSVfgzBXwadBOGlE+O1+fkGNXQ7icPQWxE+nQwhOPK2OyEoWcDEdL957NzQDAXXBAJrIGFKCmRtWkBQzgyIXjUp1zpG0ztteV0oNkro83kwy0RsOus8m4KlFgANEnIss+aIZXSOSQXdEcrF1SqRaiTC+cYHsMl4WaNy4an/rfOzjw0il4Qm7z603riKXE3cv+HpZAvTt8pZSV5mAdT+PDFUmymlGJ4UJWK1MVMDlrIRnlKTkQxH6+oBalBFe3dLek87oq+ERzf0fDqp78f+I/w=="), this.addDataEntry("gmdl google media design library tab fixed tab bar",358,642,"Fixed tab bar","3Zlbb9owFMc/TR5Bdhxuj4VCN2kdVVepj5ObOBfVkMjxOtinnx07kJCkBOrQSyQkfOLjOOfnv304WGi22twwnIS3sUeoheYWmrE45urbajMjlFo2iDwLXVu2DcTHshcNd2F2FySYkTVv42ArhxdM/xBlUYaUb6k2eDgNiewOLDRNQ5xIOyOuGH/qR5TOYhqzrCvys0t24yx+JvmddbwWPlP9KMI42TRONzPpud6QeEU424oufyOPh6oHGoyVW0iiINRuQ0dPHKfKEOx8928vvugA1AcDVYIBxVyuEDgpJphGwVo21ewOYwTAFZg6TTHy4zUvdF5kl+ycYDdaB/f6jZ296SFOhAFq3196jiBvR/9kEyLRZiQVrUcdSdiWiH0eEdtRNkYo5tELKY3/FkrOmUt2tQmkzPrByqN9Hie/nzB701JF9YEpO2y1CvsD1S6EzRlWowZPjZp+/l0ciWntHt6b2KXH90blEWLfTwmvRH33Fq1ADCog7nBAhIVHXJA4RTP1WjgUznSWLfzqOi6sdOQcV5GSTA/KrpJx5GJ6pVW7ijxPzngnY0p8vnf9kbWuR3bH6oFD8LaFsC2r0Cj4oQkFJoz4RMTJJWnLBbA7XVoFfnA08HlsynE3or98mJwC6IDCqELh+8P8VliWP+cVHiJSvOZIaBLKUVW4Is6EnX+oNNDZlhwKrCCcVGE5YyMa6eXjGMUzbsLz8Li8HB458FJuXVy+7BgYJ7bJzzeESku+BmGugk+DcNKI8Nv9/IIauxzE4egYxE+nQwjOPK1OSE0WcDEdL957NzQDAXXBAJrIGFKCmRtWkBQzgyIXjUp1zpG0ztteV0oNkrpk3kwy0RsOus8m4LmVgANEnIss+aIZXSOSQXdEcrF1SqRajjC+cYHsMl4baNy4an/rfOzjw0i54Qm7z603riKXM3cv+HptAvTt8pZSV56AdT+PDJUnymlGJ9UJWC1PVMDlrIRnlKTkQxH6+oBalBFe3dLek87oq+ERzf2/Dqp78U+J/w=="), this.addDataEntry("gmdl google media design library tab fixed tab bar",358,642,"Fixed tab bar","3ZdNb6MwEIZ/DcdGgElCjwsNbQ/drLqVevbCBKwajIzbTfbX18YmTZagoITSD0uR8HjG9rxPxgYLhfn6muMyu2MJUAstLBRyxoR+ytchUGq5NkksdGW5ri1/lht1jDr1qF1iDoXoE+DqgBdMn0FbtKESG2oMCa4yUO62hYIqw6Wyc4jl/MGKUBoyynjtilZ1U26CsydoRgpWyJjALAVcwLpzu7XJ7PUaWA6Cb6TLX5KITHugqa/DMiBpZsJmntk4rrQh3ca+ZS8fjACHxUDniXEw6f8Usu0gvPKknUNF/sGjScvpK497mjyesXGgWJAX2Jv/HMm8lmS3D4s7aVn+XLTEk4nVfxpWiN8yeZU3Mv0diaK6SbuSgsSY/qAkLeRYTpJETRVgY4ilLMBPFxMdFnOzF7AjreNcDiCtWfAXI3If29UumnmaELZaVSBaLLb77IVn2oXn4XE5Hh418bLEMREqWd8enJgJsCfIlHA3QnMefh2Es06EN/eLEWtsPIiz+TGIX64O5+9/s0ROFPjRRx+GwzBA74DAH+NyV23wy70TwTBX/Zh1cHkihHydqlfkSZondPIHx08tIrtvn11YdESDxe2LxT9yXjW37KYxTNvF4rVBOWcWi1n/Yv+0bLqDYnPs49waVDKSlBV8JkDfn4/Tn8/B8+wD4cy/Gx3Zfft+1+67n/ev"), this.addDataEntry("gmdl google media design library tab fixed tab bar",358,642,"Fixed tab bar","3Zldb5swFIZ/DZeJbEwIvUzSpJu0rlVbqZeTCw5YNRgZr03262fzkUCAjiaQdiWKFB/OAfM+PsfGMdAi3FwJHAfX3CPMQEsDLQTnMvsVbhaEMcME1DPQpWGaQH0Nc9VyFqZnQYwFiWSXADMLeMHsN8ksmSGRW5YbPJwERLsDA82TAMfaLoirrj9fU8YWnHGRuqJ1emg3KfgzKc5EPFIx8/xWREiyae1uasr7ekV4SKTYKpdX6skg80ATJwsLCPWDPMy28o7jJDP4u9j906sfuQDNYqCaGFD1ZYbAuzTBjPqRbma9O9QIgBmYW20arXkkS86r9NDOMXZp5N/lT2ztTQ88VgaYx97nfQRFm/7RTYhUW5BEtR5zJWFXIuZxREwrswnCsKQvpHL9UyhZRw7ZcOPrNBv7ocfGkse/nrA4aaiiZmGqAds8C8eTrF2SzbLrqsH3qpbf/5ZT1a3dzUcXZuX2o2n1Cny9Toisqb57ik4gJqfVjubxf5gs80U62M87diE4EcO2mgO9ym7XZL8nWLiBst0SHivpdc23cRinKoFbhl2SHJEjIRY+je4yWhradWpQbk5HfPv5IMAefy3VqZLTIj0O6pVVKqSMrOW+3v1IW5dT8/hRMTl2jhmook37qGhJNggOwSiBZ5f6c0AnB5Y5FwqaXRW0mxV8o9jBpmJn91LsTKda65wBks7pA9ELpy7pTKhs7xdT5xkKgsGgjSwwPLWLGrXvD8trZbn5uazxU0LKhlVT24pMS09dzGZ5lQqp5+lL7cqWqzAQ0XuV2lYCyrDgRZ2W5fQykY2sIfAUw6vO5+Hx5nx89IVv9OQi9dM6oHdkmyLDEKqM+QaGZkPGfW6GsJXht7vlGbPsfBTt6b8o/n+ZeOI+QJfF4Aqu5s7qo+thPxDQEAzq2w+9MwDp0fv7VCuDxnX0586EXrYXnrD73LTQ270QtXE5cqEH396LAOPiZf2txZ5VR9XXdkS1Yg6yGwE7bEcUrFQkjZPGpfiHEfr6gOobF62AGkvaR9KZfjU8qrn/lyFzL/8J8Rc="), @@ -5750,31 +5749,31 @@ this.addDataEntry("gmdl google media design library tab desktop tab bar",758,152 this.addDataEntry("gmdl google media design library tab desktop tab bar",758,152,"Desktop tab bar","3Zldj6IwFIZ/DZdOSgHBS1F0TNbR7Gx2rokUaLaCKd1Z3V+/5XPAQkQtbiKJiZz2lPI+Pf04KNpsf1xS9xCuYw8RRXMUbUbjmOX/9scZIkSBAHuKNlcgBPynwEVHqZqVgoNLUcT6OMDc4dMlv1FuyQ0JO5HC4LlJiNLqQNHsJHQPqZ2iHW/f9jEhs5jENKuq+dmVVmM0/oXKkiiOuI9dPApRho6d3c1MRV+XKN4jRk+8yh/ssTCvYRpW7hYiHISlm1F03E1yQ1D5fr09/1MI0C6GJlUMAKbA1rvEoCjBf9FH8VpqX3ngbfJoxZtQRFyGP1Gj/Xsk02+UbH8M0jH/Euw98nIUROLyTe35whlXJaVSsK9SWrtSTYeabipsGVXXylY8bxtj3o3qYSNo5i6nooGzFmLfTxATZK963YuEcZnE2Xi9RvL62L4mnK+moLVQAHIoGJMmBW0ACuP+FAjOZPz/A18XJZc07idqQ/HzFqQobgqKb90AcQvDjEt+zQTeOlELs7o9m+utE3hueS1lTE1+HLF3bkz5geK+1tgiu9InH9wdjoIf8YEXTLghZYx3LpkSHETcxtIS2y3uCPLZl9e37G5u9h4hNy4iKrwzEE/NxUjqMLBkLEQHinzEddqhpOdwqHY8vYQ3LwoPW4JRHUuJxrKZMhjBABQmAoUPxxZAcIlYMzj4XNwdHOexsMeelzZVhcOOC4zonRBODYd6LLQg0S0pSMZWA8mobFYqk3L5rEF5f91st6u35ePIpA1v0umKpe9qgaFgqaBl4pJES9XhI3CpAq6fq7mzeX8+WJPhWEEDPIKVeHxeradL5wlZDTgLavpDpkHxdP/mfDwhKWs8GCm93FUNS0pMKqw3353nIzVgTBngITHVI+lwedfNKHajgIiH4Qtb7rhCZPZGlI+tS6fjQjTwYgjMyt1UnZkhBdlIPVuyhshPqD0SFPcekRfqwrYWgwUNbAkaKQDOd+OD6C+mK26ImAS5dBe2JY+q4GhJ2N2YT+oA1J1Pall/JB1hR6bRQDTIGVaVkkrg/WA4Ch6aR+hEYgxHBFrSifDbrw9gefX697F/"), this.addDataEntry("gmdl google media design library tab desktop tab bar overflow",758,152,"Desktop tab bar with overflow","7Zldb5swFIZ/DZetwIZALksS2krrUrVdu1sUDFhzMAK3S/brZ/PVEGCFxDBtaqRI4djnYN7nHGM7Clxsd9eJG4d31ENEgSsFLhJKWf5ru1sgQhSgYk+BSwUAlX8V4HS0almrGrsJilgfB5A7vLnkFeWW3JCyPSkMnpuGSHRXFWinoRsLe4I2PL7tY0IWlNAk6wr97CO6sYT+QGVLRCPuYxe3QglDu87hZqZirNeIbhFL9rzLT+yxMO9hGlbuFiIchKWbUQzcTXNDUPm+Pz3/UQjQLgaUKoaqXqm23iVGglL8C70Uj6X1lQecJg8sniRBxGX4DdXinyOZfqJk210gcv4y2HrkctcQict3ZS+d1axqKZUCfZWC7UrVHQ5000BLVg2VrbjfPcV8GNXNLoCZu+yLAEcRqO+niDVkr0bdi4TxMYmjfB0i+WFuDynnwRRgCwVVDgVjXqcAR6Aw60+B4EzGv5/4elNySXk/12qKH0eQorjZUPzeDRC3MMy45EMm8NaJujGr24ul3jqB55abUkZh8mnEHrlR8FOL64NgTvYRd47dDY6CJxrzhjk3CMZ445IrgoOI25hosd3iiiCfvXt9ya6WZu8MOfElooEzC3FffxlJTQNLxosoTpCPuE4blPZMh2rF00t480PhQUsxajMp1ViGKYtRHYHCvEHh9ml1xy3rr6sGD64Uq9cIn5K7a+S4JLbY80Soqio2XGeUnMliX3M4nCbVWRONbklBM7NqaC7KsFLZlK/RJpynl/V0cETgtZi4mHhaS/0XeWmmPgUwrRPYzcNqwnr6H5ABS50CWXM/XSBz1t8ePokNIQat2RTEmpv+ktjt82eNDSKmz8EUxJpnDgWxx9vvn8CGADPmkyw8ehxNfLw2f43bNsvV+tvDYhOHqWCU0leh3qkb6A5CdYdOXi20ZB0j6UflBcdYwms9jjDO3UQ7mmNbzrQVIwXB8UJ9jCMkrXmicUK5pMhNNuEfS6blTG/Mijkk1FYkcna5F6ZRQzTKNleTctrAx8FwFEx61NCJxBiPCLCkE+GX7/+R5d0P/0L7DQ=="), this.addDataEntry("gmdl google media design library tab desktop tab bar overflow",758,152,"Desktop tab bar with overflow","7Zldb5swFIZ/DZetwIZALksS2krrUrVdu1sUDFhzMAK3S/brZ/PVEGCFxDBtaqRI4djnYN7nHGM7Clxsd9eJG4d31ENEgSsFLhJKWf5ru1sgQhSgYk+BSwUAlX8V4HS0almrGrsJilgfB5A7vLnkFeWW3JCyPSkMnpuGSHRXFWinoRsLe4I2PL7tY0IWlNAk6wr97CO6sYT+QGVLRCPuYxe3QglDu87hZqZirNeIbhFL9rzLT+yxMO9hGlbuFiIchKWbUQzcTXNDUPm+Pz3/UQjQLgaUKoaqXqm23iVGglL8C70Uj6X1lQecJg8sniRBxGX4DdXinyOZfqJk210gcv4y2HrkctcQict3ZS+d1axqKZUCfZWC7UrVHQ5000BLVg2VrbjfPcV8GNXNLoCZu+yLAEcRqO+niDVkr0bdi4TxMYmjfB0i+WFuDynnwRRgCwVVDgVjXqcAR6Aw60+B4EzGv5/4elNySXk/12qKH0eQorjZUPzeDRC3MMy45EMm8NaJujGr24ul3jqB55abUkZh8mnEHrlR8FOL64NgTvYRd47dDY6CJxrzhjk3CMZ445IrgoOI25hosd3iiiCfvXt9ya6WZu8MOfElooEzC3FffxlJTQNLxosoTpCPuE4blPZMh2rF00t480PhQUsxajMp1ViGKYtRHYHCvEHh9ml1xy3rr6sGD64Uq9cIn5K7a+S4JLbY80Soqio2XGeUnMliX3M4nCbVWRONbklBM7NqaC7KsFLZlK/RJpynl/V0cETgtZi4mHhaS/0XeWmmPgUwrRPYzcNqwnr6H5ABS50CWXM/XSBz1t8ePokNIQat2RTEmpv+ktjt82eNDSKmz8EUxJpnDgWxx9vvn8CGADPmkyw8ehxNfLw2f43bNsvV+tvDYhOHqWCU0leh3qkb6A5CdYdOXi20ZB0j6UflBcdYwms9jjDO3UQ7mmNbzrQVIwXB8UJ9jCMkrXmicUK5pMhNNuEfS6blTG/Mijkk1FYkcna5F6ZRQzTKNleTctrAx8FwFEx61NCJxBiPCLCkE+GX7/+R5d0P/0L7DQ==")]; -this.addPalette("gmdlTabs","GMDL / Tabs",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))};Sidebar.prototype.addGMDLTextFieldsPalette=function(a){var b=this,e=[this.addDataEntry("gmdl google media design library text field single line text field",346,360,"Single-line text field","7Zhbb5swFMc/yx54bORLSsnjcqsq9TJt1frsBgNWDI6M1yb79LPBJBCHNllCtVUBheBjH1/+Pzi28fAoXV5LskjuREi5hyceHkkhVHmXLkeUcw8BFnp47CEE9M9D05ZcWOSCBZE0U/s4oNLhhfBftLSUhlytuDWEJE+oKQ48PMwTsjB2SWe6/mHEOB8JLmRRFEfFYYopKea0lkOLo6wgFK/aCHXCNk6losvWARQm2/trKlKq5EoXeWWhSsoSuO+XbgllcWLdsF+OHJC8NMRr340e+sZKslse7MgzFGKeEjk3FYchDb84eumxGGnMqNiM8K+cxZnOSVkY8kKBBZmxLDYS+EZCkakf7LdxRrBK29pMWtJc5z7Z0e6tGvo71SrRJOVEsRfaqP8YJfuOkvckpW3iWY1uaaTqOtUeqACYs6kfxBvXR7HQFv/DBcSHCmib+CaYbhmBVVkiCJoeIopyqhzB1x3bi8GlwwAC3V0wJqtc/4lIX25mGgoYSUrSNjh1xf3GA43a0VWPNHBRguL4X0lBeNkBKv/9uFyFYs4yug65dfEycUuezZRSpNpD8mlltw6gB/q+7XSdBOy7JNCJSPRBBySuHBJTwUMqz6GrDYPvd4AhaJ2JTeh6Jq08ztGqAWeAO4AzeD9a7VxFpsvYrHx7cRrynpKMZDGnTqzKRBHgttaaV8Cc+6oevBmsoBOnIHARXB5HwLZ1UcX2ikgXQKruH0zkPJlYLAh2sQKD0OHyfXL38HOyT/TCO3YHW8EJ4mA6RdtTCXhrO0KsYaZZ6FntOF4rr+V9Gux4nw7ea+wmdbG90TsNKXdnPBnfPH4STk2HD6VWhUEYgEbrHWF0d/Djh/vP8rr9AxgHHVDUyc0XsLJ4/QPZHw=="), -this.addEntry("gmdl google media design library text field single line text field normal light dark",function(){var a=new mxCell("Hint text",new mxGeometry(0,0,346,30),"text;fontColor=#808080;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeColor=#eeeeee;opacity=50;");d.vertex=!0;return b.createVertexTemplateFromCells([a,d],346,35,"Single-line text field (normal)")}),this.addEntry("gmdl google media design library text field single line text field hover light dark", -function(){var a=new mxCell("Hint text",new mxGeometry(0,0,346,30),"text;fontColor=#808080;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeColor=#cccccc;opacity=50;");d.vertex=!0;return b.createVertexTemplateFromCells([a,d],346,35,"Single-line text field (hover)")}),this.addEntry("gmdl google media design library text field single line text field press light dark",function(){var a= -new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor=#808080;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;opacity=50;");a.vertex=!0;var d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#0C8CF2;opacity=50;");d.vertex=!0;return b.createVertexTemplateFromCells([a,d],346,35,"Single-line text field (press)")}),this.addEntry("gmdl google media design library text field single line text field focus light",function(){var a= -new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor=#000000;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#0C8CF2;opacity=50;");d.vertex=!0;return b.createVertexTemplateFromCells([a,d],346,35,"Single-line text field (focus, light)")}),this.addEntry("gmdl google media design library text field single line text field normal light",function(){var a= -new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor=#000000;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeColor=#eeeeee;");d.vertex=!0;return b.createVertexTemplateFromCells([a,d],346,35,"Single-line text field (normal, light)")}),this.addEntry("gmdl google media design library text field single line text field error light",function(){var a=new mxCell("Input text", -new mxGeometry(0,0,346,30),"text;fontColor=#000000;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#ff0000;");d.vertex=!0;var f=new mxCell("Username or Password is incorrect",new mxGeometry(0,30,346,25),"text;fontColor=#ff0000;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;");f.vertex=!0;return b.createVertexTemplateFromCells([a,d,f],346,55,"Single-line text field (error, light)")}), -this.addEntry("gmdl google media design library text field single line text field disabled",function(){var a=new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor=#808080;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(0,25,346,10),"shape=line;strokeWidth=1;noLabel=1;strokeColor=#B3B3B3;dashed=1;dashPattern=1 4;");d.vertex=!0;return b.createVertexTemplateFromCells([a,d],346,35,"Single-line text field (disabled)")}),this.addEntry("gmdl google media design library text field single line text field focus dark", -function(){var a=new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor=#ffffff;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#0C8CF2;opacity=50;");d.vertex=!0;return b.createVertexTemplateFromCells([a,d],346,35,"Single-line text field (focus, dark)")}),this.addEntry("gmdl google media design library text field single line text field normal dark",function(){var a= -new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor=#999999;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeColor=#cccccc;opacity=50;");d.vertex=!0;return b.createVertexTemplateFromCells([a,d],346,35,"Single-line text field (normal, dark)")}),this.addEntry("gmdl google media design library text field single line text field error dark",function(){var a=new mxCell("Input text", -new mxGeometry(0,0,346,30),"text;fontColor=#ffffff;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#ff0000;");d.vertex=!0;var f=new mxCell("Username or Password is incorrect",new mxGeometry(0,30,346,25),"text;fontColor=#ff0000;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;");f.vertex=!0;return b.createVertexTemplateFromCells([a,d,f],346,55,"Single-line text field (error, dark)")}), +this.addPalette("gmdlTabs","GMDL / Tabs",a||!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))};Sidebar.prototype.addGMDLTextFieldsPalette=function(a){var b=this,e=[this.addDataEntry("gmdl google media design library text field single line text field",346,360,"Single-line text field","7Zhbb5swFMc/yx54bORLSsnjcqsq9TJt1frsBgNWDI6M1yb79LPBJBCHNllCtVUBheBjH1/+Pzi28fAoXV5LskjuREi5hyceHkkhVHmXLkeUcw8BFnp47CEE9M9D05ZcWOSCBZE0U/s4oNLhhfBftLSUhlytuDWEJE+oKQ48PMwTsjB2SWe6/mHEOB8JLmRRFEfFYYopKea0lkOLo6wgFK/aCHXCNk6losvWARQm2/trKlKq5EoXeWWhSsoSuO+XbgllcWLdsF+OHJC8NMRr340e+sZKslse7MgzFGKeEjk3FYchDb84eumxGGnMqNiM8K+cxZnOSVkY8kKBBZmxLDYS+EZCkakf7LdxRrBK29pMWtJc5z7Z0e6tGvo71SrRJOVEsRfaqP8YJfuOkvckpW3iWY1uaaTqOtUeqACYs6kfxBvXR7HQFv/DBcSHCmib+CaYbhmBVVkiCJoeIopyqhzB1x3bi8GlwwAC3V0wJqtc/4lIX25mGgoYSUrSNjh1xf3GA43a0VWPNHBRguL4X0lBeNkBKv/9uFyFYs4yug65dfEycUuezZRSpNpD8mlltw6gB/q+7XSdBOy7JNCJSPRBBySuHBJTwUMqz6GrDYPvd4AhaJ2JTeh6Jq08ztGqAWeAO4AzeD9a7VxFpsvYrHx7cRrynpKMZDGnTqzKRBHgttaaV8Cc+6oevBmsoBOnIHARXB5HwLZ1UcX2ikgXQKruH0zkPJlYLAh2sQKD0OHyfXL38HOyT/TCO3YHW8EJ4mA6RdtTCXhrO0KsYaZZ6FntOF4rr+V9Gux4nw7ea+wmdbG90TsNKXdnPBnfPH4STk2HD6VWhUEYgEbrHWF0d/Djh/vP8rr9AxgHHVDUyc0XsLJ4/QPZHw=="), +this.addEntry("gmdl google media design library text field single line text field normal light dark",function(){var a=new mxCell("Hint text",new mxGeometry(0,0,346,30),"text;fontColor=#808080;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var c=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeColor=#eeeeee;opacity=50;");c.vertex=!0;return b.createVertexTemplateFromCells([a,c],346,35,"Single-line text field (normal)")}),this.addEntry("gmdl google media design library text field single line text field hover light dark", +function(){var a=new mxCell("Hint text",new mxGeometry(0,0,346,30),"text;fontColor=#808080;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var c=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeColor=#cccccc;opacity=50;");c.vertex=!0;return b.createVertexTemplateFromCells([a,c],346,35,"Single-line text field (hover)")}),this.addEntry("gmdl google media design library text field single line text field press light dark",function(){var a= +new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor=#808080;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;opacity=50;");a.vertex=!0;var c=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#0C8CF2;opacity=50;");c.vertex=!0;return b.createVertexTemplateFromCells([a,c],346,35,"Single-line text field (press)")}),this.addEntry("gmdl google media design library text field single line text field focus light",function(){var a= +new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var c=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#0C8CF2;opacity=50;");c.vertex=!0;return b.createVertexTemplateFromCells([a,c],346,35,"Single-line text field (focus, light)")}),this.addEntry("gmdl google media design library text field single line text field normal light",function(){var a=new mxCell("Input text", +new mxGeometry(0,0,346,30),"text;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var c=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeColor=#eeeeee;");c.vertex=!0;return b.createVertexTemplateFromCells([a,c],346,35,"Single-line text field (normal, light)")}),this.addEntry("gmdl google media design library text field single line text field error light",function(){var a=new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;"); +a.vertex=!0;var c=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#ff0000;");c.vertex=!0;var f=new mxCell("Username or Password is incorrect",new mxGeometry(0,30,346,25),"text;fontColor=#ff0000;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;");f.vertex=!0;return b.createVertexTemplateFromCells([a,c,f],346,55,"Single-line text field (error, light)")}),this.addEntry("gmdl google media design library text field single line text field disabled", +function(){var a=new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor=#808080;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var c=new mxCell("",new mxGeometry(0,25,346,10),"shape=line;strokeWidth=1;noLabel=1;strokeColor=#B3B3B3;dashed=1;dashPattern=1 4;");c.vertex=!0;return b.createVertexTemplateFromCells([a,c],346,35,"Single-line text field (disabled)")}),this.addEntry("gmdl google media design library text field single line text field focus dark", +function(){var a=new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor=#ffffff;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var c=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#0C8CF2;opacity=50;");c.vertex=!0;return b.createVertexTemplateFromCells([a,c],346,35,"Single-line text field (focus, dark)")}),this.addEntry("gmdl google media design library text field single line text field normal dark",function(){var a= +new mxCell("Input text",new mxGeometry(0,0,346,30),"text;fontColor=#999999;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var c=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeColor=#cccccc;opacity=50;");c.vertex=!0;return b.createVertexTemplateFromCells([a,c],346,35,"Single-line text field (normal, dark)")}),this.addEntry("gmdl google media design library text field single line text field error dark",function(){var a=new mxCell("Input text", +new mxGeometry(0,0,346,30),"text;fontColor=#ffffff;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var c=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#ff0000;");c.vertex=!0;var f=new mxCell("Username or Password is incorrect",new mxGeometry(0,30,346,25),"text;fontColor=#ff0000;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;");f.vertex=!0;return b.createVertexTemplateFromCells([a,c,f],346,55,"Single-line text field (error, dark)")}), this.addDataEntry("gmdl google media design library text field single line text field icon normal light",346,35,"Single-line text field with icon (normal, light)","1ZbfT4MwEMf/Gh5dSjtQH3X+eNFo4oPPddygsVBSqjL/enu0zjG6jUyNkYWkvfbo3ee+3IjYrGyvNa+LW5WBjNhlxGZaKeNGZTsDKSNKRBaxi4hSYu+IXm1ZjbtVUnMNlRnjQJ3DK5cv4CzO0Jil9Iam4DUONcztI88bo9UzzJRU2horVdm184WQcsPkHwzaQLs1uM7kI7sGVYLRS7vlTWSmcDvY1EdUgMgL78YSZ+ONm+cr169U7cBnG86c7c88400BuJ1g3h5D2eZYrUleZnJiQEJduIT3gokoS7trLB0aprP0hZ14Cmu04nQIyyuAaJDciFfoHRci6E+8V8IGsjruKCZ9F7VYNGAGyFeBjqrCdFCF+w7nZiksJhTfQlUmhBPtD+IdN8c4R7BizuWZFHmFRRNZJkcVyZvwvLuaz4XB9BPyzZJ5h2QaqNhJQN9ke3XG6js5UN9SrKn50QcaW0ulbvgTdqhu1gdpa3GZ4u9nOXnp0ZDQA9g2FXoItnSA7VY9Cfn3ilQ/rkaa0AHXU/I7ajw+UI1GC17lHahd+tvTbTOBf15CIfhGvWCy4wCmOwHGPZUG+3EAZ/K9dtx+tuP+O3LEfqE7n/zjHrJS9/YmEhL7AT3ETr8+2Bzl9e+5Dw=="), this.addDataEntry("gmdl google media design library text field single line text field icon focus light",342,35,"Single-line text field with icon (focus, light)","zZZRb4IwEMc/DY+a0gpzj0OnLzNZsoc9d+OEZoWaUh3u06+lnVMpypxLBiEp1x69+92fg4BMinou6SpfiBR4QO4DMpFCKDsq6glwHmDE0oBMA4yRvgI865gNm1m0ohJK1ccBW4cN5WuwFmuo1JY7Q5XTlRlKeNWPTColxRtMBBdSG0tR6rlkyTg/MrkHg1RQdwbXmFxkcxAFKLnVS95ZqnK7goxcRDmwLHduJLI2Wtn7bOf6naoeuGz9mZPzmae0ysEsRyZvh6GoM1OtYVakfKiAwyq3CZ8FE2ASzm6T2bQvHeyns3WFHToKe7TCuA3LKQBJ4FSxDRxs5yPodnwUTAey224QokMXsVxWoFrId4H2qsKoVYU4Qq1CaEhGektRqj2YqDmc/Yl9mMUaAEkMVvZK+R1nWWlKxtKU9yrRT7TbUR3nEI08xRl7pIy6C9FXytGFUuZsT7jPLlCdU1KKB/pimtE0bFG7loqPODmVYZ+mPdiOxXgJtriFbSFemCbWT35Jc/5T+eEIt0Deor+R382F8lOS0TJryJwSnL+Txs2h7SkzHyYmDOlKrE2y/QDGJwGGB7L09loPzuh3rbb+arWHL8WA/EHnHV+zaYTnm8Z9bM4rq7u7a/jEfkHT0LffP2OW8v6/2ic="), this.addDataEntry("gmdl google media design library text field single line text field icon normal light",342,35,"Single-line text field with icon (normal, light)","3ZZNU4MwEIZ/Dcd2QtKgHrV+XHTGGQ+e07KFjIF0Qlqpv96ExFoktFjtQWGYSTZZsvvs2y0RmRb1nWLL/EGmICJyE5GpklK7UVFPQYgII55G5DrCGJknwrc9q3GzipZMQamHOGDnsGZiBc7iDJXeCG+ocra0QwVz88qrSiv5AlMppDLGUpZm7WrBhfhi8i8GpaHuDa4x+cjuQBag1cZseeWpzt0OMvER5cCz3LsR6myscvNs6/qZqhn4bMOZk8OZp6zKwW5HNm+PoagzW61xVqRirEHAMncJHwQTYZI011A6OExn4ws79hR2aMVJF5ZXAFIgmOZraB0XIuhPfJTcBLI9bhSjtotcLCrQHeTbQAdVYdKpQkLRiFI6ik3pOxUxtKwGF7LUO1RRc3n7E3+zm2NL2fLlcyYuBc9KWzuepmJQrb4j4p4yeQc6CVTpPKBp1F+RoZqmR2pa8B0FP/tAY2Mp5T2b2a7UzNrUDPibxN6/y8nLDYfEHcD2VZXHYEs62B7kjBti/0B+mOIOyAt0GvmdHSk/rTgrs4bMPsEdaKkpt/9QXFrSlVzZZIcBTPYCjFuyDDbdAE76s55bf/Tc9o9iRE7Qgs//cNPYqru/a4TEfkTTMNPPrzJHefej7R0="), this.addDataEntry("gmdl google media design library text field single line text field icon normal dark",342,35,"Single-line text field with icon (normal, dark)","1ZZRT8IwEMc/zR4lXcsAHwWVF01IfPC5sGNr7Nalqzr89LZrRcY6mAgxNiFpr7317nf/HQvILKvmkhbpo4iBB+QuIDMphLKzrJoB5wFGLA7IbYAx0r8A33fshvUuKqiEXPVxwNbhjfJXsBZrKNWGO0OZ0sJMJaz0I6elkuIFZoILqY25yPXedM043zO5B4NUUHUGV5tcZHMQGSi50UfeWaxSe4IMXUQpsCR1biSyNlradbJ1/U5VT1y2/szJ8cxjWqZgjiOTt8OQVYmp1iDJYj5QwKFIbcJHwQSYrOrRlw7209m4wg4chR1a4agNyykASeBUsTdoXOcj6G5cCKYD2V53FaKmi1ivS1At5NtAe1Vh2KrCosa5XwqNyYhvLXK1g3NcD2d/Yh/msEZApgYsW1F+w1mSm6KxOOa9ivQT9XbUxzlEQ095Jh4xo+5S9BVzdKKYOduR7rMLNNSWXDzQpWlH9apJTYOP6nFeTk5n2KdqD7Z9OZ6CbdTC9iiWjP+9/ERBV0wZIhE6D2Uc4RbXa3QZNY5PVKOSjOZJDeqQ/o601piZfyomDPhSvJpk+wEcHQQYNlTqbb4enNHvem/11Xub78gVuUArnvzjHrJVd3cT8Yn9hB6il99fZ5by7sfbJw=="), this.addDataEntry("gmdl google media design library text field single line text field icon focus dark",342,35,"Single-line text field with icon (focus, dark)","zZZRb4IwEMc/DY+a0opuj0OnL1uyZA977uSAZoWaUjfcp19LO6dSlDlN1oSkXHv07nd/DgIyLeqFpKv8USTAA3IfkKkUQtlZUU+B8wAjlgRkFmCM9BXgecdq2KyiFZVQqj4O2Dq8U74Ga7GGSm24M1Q5XZmphKV+ZFwpKd5gKriQ2liKUq/FKeP8wOQeDFJB3RlcY3KRLUAUoORGb/lgicrtDjJyEeXAsty5kcjaaGXvs63rT6p64rL1Z05OZ57QKgezHZm8HYaizky1hlmR8KECDqvcJnwSTIBJOL+N57O+dLCfzsYVdugo7NAKx21YTgFIAqeKvcPecT6C7sQnwXQg2+MGIdp3EWlagWoh3wbaqwqjVhXGEWoVQkMy0ktFqXZgps1w9mf2aTZrACQ2WNmS8jvOstKUjCUJ71Wi32i3ozrOIRp5inPjkTLqLkRfKUdnSpmzHeG+uEB1TnEpHuiraUazsEXtUio+4ORUhn2a9mA7FOM52MYtbI/ilWli/eQ3acY/lR+OcAvkLbqO/CZnyk9JRsusIXNMcP5OumyGtifMfJiYMKQrsTbJ9gM4Pgow3JOlt9d6cEZ/a7X1d6vdfykG5Aqd9+aSTSM83TSiZlxY3d1dwyf2M5qGvv35GbOUd//VvgA="), this.addDataEntry("gmdl google media design library text field single line text field icon normal dark",342,35,"Single-line text field with icon (normal, dark)","3ZZNU8MgEIZ/TY7tEChVj7Z+XHTGGQ+eabNJGEnoENTUXy8EbJuG2FjtQZnpDCxs2H32zTYRmRf1rWKr/F4mICJyHZG5klK7WVHPQYgII55E5CrCGJlfhG96duNmF62YglIPccDO4ZWJF3AWZ6j0WnhDlbOVnSpYmkfOKq3kM8ylkMoYS1mavVnKhdgz+QeD0lD3BteYfGS3IAvQam2OvPFE5+4EmfiIcuBZ7t0IdTZWuXW2cd2maiY+23Dm5HDmCatysMeRzdtjKOrMVmucFYkYaxCwyl3CB8FEmCybMZQODtNZ+8KOPYUdWvG0C8srACkQTPNXaF0XIuhvfJDcBLK5bhSjtotM0wp0B/km0EFVmHSqMKVoRCkdxab0nYoYWlaDqSz1DtW0Gd7+yN/tYUOCzCxfvmTiUvCstLXjSSIG1eo7Iu4pk3egk0CVzgOaRv0VGappeqSmBd9R8JMPNDaWUt6xhe1KzapNzYCnzfhdTl5uOCTuALZ9VR6DbdrBdi8X3BD7B/LDFHdAXqDTyO/sSPlpxVmZNWS+EtyBlppw+w/FpSVdyReb7DCA0y8Bxi1ZBptuACf9Wc+tP3tu+6UYkRO04PM/3DQ26u7vGiGxH9E0zHL7VeYo7360fQA="), -this.addEntry("gmdl google media design library text field single line text field normal light dark",function(){var a=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor=#808080;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeColor=#999999;opacity=80;");d.vertex=!0;return b.createVertexTemplateFromCells([a,d],346,35,"Single-line text field (normal)")}), -this.addEntry("gmdl google media design library text field single line text field focus light",function(){var a=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor=#1F9BFD;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontColor=#000000;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,45,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#1F9BFD;"); -f.vertex=!0;return b.createVertexTemplateFromCells([a,d,f],346,55,"Single-line text field (normal, light)")}),this.addEntry("gmdl google media design library text field single line text field focus light",function(){var a=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor=#cccccc;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontColor=#000000;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;"); -d.vertex=!0;var f=new mxCell("",new mxGeometry(0,45,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#eeeeee;");f.vertex=!0;return b.createVertexTemplateFromCells([a,d,f],346,55,"Single-line text field (normal, light)")}),this.addEntry("gmdl google media design library text field single line text field focus light dark",function(){var a=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor=#999999;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;textOpacity=80;"); -a.vertex=!0;var d=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontColor=#999999;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;textOpacity=80;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,45,346,10),"shape=line;strokeWidth=1;noLabel=1;strokeColor=#999999;dashed=1;dashPattern=1 4;opacity=80;");f.vertex=!0;return b.createVertexTemplateFromCells([a,d,f],346,55,"Single-line text field (normal)")}),this.addEntry("gmdl google media design library text field single line text field focus dark", -function(){var a=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor=#1F9BFD;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontColor=#ffffff;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,45,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#1F9BFD;");f.vertex=!0;return b.createVertexTemplateFromCells([a, -d,f],346,55,"Single-line text field (normal, dark)")}),this.addEntry("gmdl google media design library text field single line text field focus dark",function(){var a=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor=#999999;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var d=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontColor=#cccccc;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");d.vertex=!0;var f=new mxCell("", -new mxGeometry(0,45,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeColor=#999999;");f.vertex=!0;return b.createVertexTemplateFromCells([a,d,f],346,55,"Single-line text field (normal, dark)")}),this.addDataEntry("gmdl google media design library text field full text field",362,56,"Full text field","vVTLboMwEPwaHxMRG2jPJW0urVQph56tsGCrBiPjJqRfX79CQJAKqVFXQvKOd9j1jGVEsqrbKdqwN5mDQOQZkUxJqf2q6jIQAuGI54hsEcaR+RB+ubG7cbtRQxXUegkBe8KRii/wyB6oOjAPt/osApzTloElRYg8tYw2Fldw0D7N5cnkG5toJT8hk0IqxyTgot/54LlmobbgQgwqCxcWl7Xe82/bwszh80Fd5sLgVPCyNpiAws3R0AOvy1eXbdPEQOF4oDR0NyVyUNBnB7ICrc6m5BQmNbskDUIx4CULtCT1GG19XvbUq+BmETSf159M9F+mfNWV9s6syyoX68vxR/riOS9SF0t1wfO6nMPFWieeMtBpk05lumAKBNX8CKN2c9qFju+Sm0FwFOa7KBO6rx7HP5BF0YKeSN+PvciN+B5udP9oxZjwmzHxjDHxXYxZkWTszMPfnTHp9Q305cMn8gc="), +this.addEntry("gmdl google media design library text field single line text field normal light dark",function(){var a=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor=#808080;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var c=new mxCell("",new mxGeometry(0,25,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeColor=#999999;opacity=80;");c.vertex=!0;return b.createVertexTemplateFromCells([a,c],346,35,"Single-line text field (normal)")}), +this.addEntry("gmdl google media design library text field single line text field focus light",function(){var a=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor=#1F9BFD;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var c=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0,45,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#1F9BFD;"); +f.vertex=!0;return b.createVertexTemplateFromCells([a,c,f],346,55,"Single-line text field (normal, light)")}),this.addEntry("gmdl google media design library text field single line text field focus light",function(){var a=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor=#cccccc;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var c=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;"); +c.vertex=!0;var f=new mxCell("",new mxGeometry(0,45,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#eeeeee;");f.vertex=!0;return b.createVertexTemplateFromCells([a,c,f],346,55,"Single-line text field (normal, light)")}),this.addEntry("gmdl google media design library text field single line text field focus light dark",function(){var a=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor=#999999;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;textOpacity=80;"); +a.vertex=!0;var c=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontColor=#999999;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;textOpacity=80;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0,45,346,10),"shape=line;strokeWidth=1;noLabel=1;strokeColor=#999999;dashed=1;dashPattern=1 4;opacity=80;");f.vertex=!0;return b.createVertexTemplateFromCells([a,c,f],346,55,"Single-line text field (normal)")}),this.addEntry("gmdl google media design library text field single line text field focus dark", +function(){var a=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor=#1F9BFD;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var c=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontColor=#ffffff;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0,45,346,10),"dashed=0;shape=line;strokeWidth=2;noLabel=1;strokeColor=#1F9BFD;");f.vertex=!0;return b.createVertexTemplateFromCells([a, +c,f],346,55,"Single-line text field (normal, dark)")}),this.addEntry("gmdl google media design library text field single line text field focus dark",function(){var a=new mxCell("Label text",new mxGeometry(0,0,346,30),"text;fontColor=#999999;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;");a.vertex=!0;var c=new mxCell("Input text",new mxGeometry(0,20,346,30),"text;fontColor=#cccccc;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;");c.vertex=!0;var f=new mxCell("", +new mxGeometry(0,45,346,10),"dashed=0;shape=line;strokeWidth=1;noLabel=1;strokeColor=#999999;");f.vertex=!0;return b.createVertexTemplateFromCells([a,c,f],346,55,"Single-line text field (normal, dark)")}),this.addDataEntry("gmdl google media design library text field full text field",362,56,"Full text field","vVTLboMwEPwaHxMRG2jPJW0urVQph56tsGCrBiPjJqRfX79CQJAKqVFXQvKOd9j1jGVEsqrbKdqwN5mDQOQZkUxJqf2q6jIQAuGI54hsEcaR+RB+ubG7cbtRQxXUegkBe8KRii/wyB6oOjAPt/osApzTloElRYg8tYw2Fldw0D7N5cnkG5toJT8hk0IqxyTgot/54LlmobbgQgwqCxcWl7Xe82/bwszh80Fd5sLgVPCyNpiAws3R0AOvy1eXbdPEQOF4oDR0NyVyUNBnB7ICrc6m5BQmNbskDUIx4CULtCT1GG19XvbUq+BmETSf159M9F+mfNWV9s6syyoX68vxR/riOS9SF0t1wfO6nMPFWieeMtBpk05lumAKBNX8CKN2c9qFju+Sm0FwFOa7KBO6rx7HP5BF0YKeSN+PvciN+B5udP9oxZjwmzHxjDHxXYxZkWTszMPfnTHp9Q305cMn8gc="), this.addDataEntry("gmdl google media design library text field full text field",362,294,"Full text field","7VjRbpswFP0aHhsZQ2jzmCZbX7ap0ibt2Q0XsGZsZLsp2dfPGJPAICpdoarWWIrEPb4XO+fkXCv2gk1e3klSZF9FDMwLPnnBRgqh66e83ABjHkY09oKthzEyHw9/PjPr21lUEAlcjynAdcGesEeoEVIjSh+YQ2KiMqjykRfcqowUFS5hp+swFk8m9qtAS/ELNoIJaSsDsOM485PGOnO5CWWslZnYUeGC6+/0d7WE2Ucdt/KQHQYnjKbcYAwSu4+C7ChPv9hoGy0NVG37nmgNkts1MQoNugep6Y6wtavXojiV/6iCbWQAR4tJhvIstRZyvN6ByEHLg0l5cl/TzAaRIzgDmmauDK/CGiSqBtJj7Ukp8+DEGhYu6Ak3Tre8TKsf2yLNY7ZoyOuog4eUjOwYSwx+lhg/6vPSYBIY0XQPndcPceVWuBfULIyR20/DxMGFqPsCkSQKdI/q4zZHsR9OwX75htR3C9pChANChJMIcRUsu0rgGZRY/qMSjPLhxnS+iUlQpjG1cycyw2CX8NHrRHCkh6sZSI96pK+JFNxAt8A5aP2yM6TDOBdWmPb54KC/Wn7rpPCj4SMg0zlzUr2teNE04i3DGcS7nqJ3PSqQY6R7cf+KxvQvRw9aLHv9LER9NcJXqtH0s0ZVt/zVLEfLTd9bDw9QcbDJJFUauAJ+8dck/vL9OQy2etcGu/noBmsO1rbDGKOVwQTnQqqLuaYx1/Uc5vL9d+2u+sf1oe3Vv1JYM8MYRt+AKXE5uqZxFw5mcdck1wrzuWvUv9v/yF0mPN0F1untq8I/"), this.addDataEntry("gmdl google media design library text field inset text field",362,56,"Inset text field","rVTBboMwDP2aHFtB0qKdR7deNmlSDztHYEi0QFDIWtjXLyQphUIrpNYSUvxsY/OeCSJx0ewVrdinTEEg8oZIrKTU7lQ0MQiBcMBTRHYI48A8CL/fiIY2GlRUQamXFGBXcKTiFxxyAKoS5uBat8LDKa0ZdEUBIq81o1WHK0i0c1N5Mn7YOVrJH4ilkMpWErDWR755qpnPzbgQg8zMWofLUh/4X9fCzOH8QV5szeBU8Lw0mIDMzlHRhJf5h/V20dZA/vNAaWhuUmQhz88eZAFatSbl5Cc1URJ5ohjwnPmybeQwWjs/70svhJuD53yefzLhfxnzRZN3O7POi1SsayfZNcN4To3I2lJm8DwzrV+t9daVDJgKoylRZ0yBoJofYdRujj3f8UtyMwgO/Hxnbnz31cv4BTLLatAT8vuxF+mxeYYeR8mT6cLfl+PqV3iKTOOCe6LNbLe/OB4VbUU2Y9XC4HHZjHu5Il368Ab9Bw=="), this.addDataEntry("gmdl google media design library text field focus card suggestion",362,246,"Focus card suggestions","7VfBjpswEP0ajl0ZA25y7CbtXlpppVbq2Q0DWDWYGieb9Os72CaBhmijLqSXWIrCPM/Y5r1hBoJoVe6fNK+LLyoFGUQfg2illTLuqtyvQMqAEpEG0TqglOAvoJ8uzIZ2ltRcQ2WuCaAuYMflFhySQtOANg5vzEF2OG8KaKNIED02Ba9bXMPGODNVL2iHrWG0+gkrJZW2kRHYcZz5LlJTeN9MSNnzzOxocVWZr+J3uwWew9k9P2IH4lyKvEJMQmbPUfONqPLP1lqzBKH22M/cGNCV3ZOSGNEd3qHYcPnBxxtVn8K/tcaaIeDJQWfYXyTYQp7dJ1AlGH1Alxd/mzgbMU9zASIvfBiNmQN544D8GHvSCy+8ZOPyRWfyXadbuc/blHvIy1Q+dOQN1KFjSjI7riWGvkpMyM556TANkhuxg8HyY1z5HZ6VwI0p8efpmDh4kwwXUFnWgDmj+njMq9iPp2B/f0PqhwF9IeIRIeJJhHgXJUMl6AxKJP+ohBTVeGG6XMQ0NFiY+r4TPQyjVSIkbxPBkx4vZyCdTdM7BkxXygrS7wse+qvU9zpEyMZLf2FK2fWZYf9Y2nFzMePFJGIm8Qxivr8sJqYgkx3naG6ORLJf2/ZF5fHUknsQy9v/H1x34XgEt4KbuWfJrFkSkjkK7WKmNGkKfOm658n/yJNkjlej5Ux5ghQbvtXcpsc9W26fLcvF27MFzdMXrnPvfwD/AQ==")]; @@ -5782,78 +5781,77 @@ this.addPalette("gmdlText Fields","GMDL / Text Fields",a||!1,mxUtils.bind(this,f "ibm",this,"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#4277BB;labelBackgroundColor=#ffffff;fontSize=12;spacingTop=3;image;image=img/lib/ibm/");this.addIBMDataPalette(60,"ibm",this,"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#4277BB;labelBackgroundColor=#ffffff;fontSize=12;spacingTop=3;image;image=img/lib/ibm/");this.addIBMDevOpsPalette(60,"ibm",this,"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#4277BB;labelBackgroundColor=#ffffff;fontSize=12;spacingTop=3;image;image=img/lib/ibm/"); this.addIBMInfrastructurePalette(60,"ibm",this,"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#4277BB;labelBackgroundColor=#ffffff;fontSize=12;spacingTop=3;image;image=img/lib/ibm/");this.addIBMManagementPalette(60,"ibm",this,"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#4277BB;labelBackgroundColor=#ffffff;fontSize=12;spacingTop=3;image;image=img/lib/ibm/");this.addIBMMiscPalette(60,"ibm",this,"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#4277BB;labelBackgroundColor=#ffffff;fontSize=12;spacingTop=3;image;image=img/lib/ibm/"); this.addIBMSecurityPalette(60,"ibm",this,"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#4277BB;labelBackgroundColor=#ffffff;fontSize=12;spacingTop=3;image;image=img/lib/ibm/");this.addIBMSocialPalette(60,"ibm",this,"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#4277BB;labelBackgroundColor=#ffffff;fontSize=12;spacingTop=3;image;image=img/lib/ibm/");this.addIBMUsersPalette(60,"ibm",this,"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#4277BB;labelBackgroundColor=#ffffff;fontSize=12;spacingTop=3;image;image=img/lib/ibm/"); -this.addIBMVPCPalette(60,"ibm",this,"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#4277BB;labelBackgroundColor=#ffffff;fontSize=12;spacingTop=3;image;image=img/lib/ibm/")};Sidebar.prototype.addIBMAnalyticsPalette=function(a,b,e,c){c+="analytics/";var d=[this.createVertexTemplateEntry(c+"analytics.svg;",a,a,"","Analytics",!1,null,this.getTagsForStencil("analytics ","",b).join(" ")),this.createVertexTemplateEntry(c+"data_integration.svg;",a,a,"","Data Integration", -!1,null,this.getTagsForStencil("analytics ","data integration",b).join(" ")),this.createVertexTemplateEntry(c+"data_repositories.svg;",a,a,"","Data Repositories",!1,null,this.getTagsForStencil("analytics ","data repositories",b).join(" ")),this.createVertexTemplateEntry(c+"device_analytics.svg;",a,a,"","Device Analytics",!1,null,this.getTagsForStencil("analytics ","device analytics",b).join(" ")),this.createVertexTemplateEntry(c+"streaming_computing.svg;",a,a,"","Streaming Computing",!1,null,this.getTagsForStencil("analytics ", -"streaming computing",b).join(" "))];this.addPalette("ibmAnalytics","IBM / Analytics",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addIBMApplicationsPalette=function(a,b,e,c){c+="applications/";var d=[this.createVertexTemplateEntry(c+"actionable_insight.svg;",a,a,"","Actionable Insight",!1,null,this.getTagsForStencil("applications ","actionable insight",b).join(" ")),this.createVertexTemplateEntry(c+"annotate.svg;",a,a,"","Annotate",!1,null, -this.getTagsForStencil("applications ","annotate",b).join(" ")),this.createVertexTemplateEntry(c+"api_developer_portal.svg;",a,a,"","API Developer Portal",!1,null,this.getTagsForStencil("applications ","api developer portal",b).join(" ")),this.createVertexTemplateEntry(c+"api_polyglot_runtimes.svg;",a,a,"","API Polyglot Runtimes",!1,null,this.getTagsForStencil("applications ","api polyglot runtimes",b).join(" ")),this.createVertexTemplateEntry(c+"app_server.svg;",a,a,"","App Server",!1,null,this.getTagsForStencil("applications ", -"app server",b).join(" ")),this.createVertexTemplateEntry(c+"application_logic.svg;",a,a,"","Application Logic",!1,null,this.getTagsForStencil("applications ","application logic",b).join(" ")),this.createVertexTemplateEntry(c+"automation_tools.svg;",a,a,"","Automation Tools",!1,null,this.getTagsForStencil("applications ","automation tools",b).join(" ")),this.createVertexTemplateEntry(c+"enterprise_applications.svg;",a,a,"","Enterprise Applications",!1,null,this.getTagsForStencil("applications ","enterprise applications", -b).join(" ")),this.createVertexTemplateEntry(c+"index.svg;",a,a,"","Index",!1,null,this.getTagsForStencil("applications ","index",b).join(" ")),this.createVertexTemplateEntry(c+"iot_application.svg;",a,a,"","IoT Application",!1,null,this.getTagsForStencil("applications ","iot application",b).join(" ")),this.createVertexTemplateEntry(c+"microservice.svg;",1.37*a,a,"","Microservice",!1,null,this.getTagsForStencil("applications ","microservice",b).join(" ")),this.createVertexTemplateEntry(c+"mobile_app.svg;", -a,a,"","Mobile App",!1,null,this.getTagsForStencil("applications ","mobile app",b).join(" ")),this.createVertexTemplateEntry(c+"ontology.svg;",a,a,"","Ontology",!1,null,this.getTagsForStencil("applications ","ontology",b).join(" ")),this.createVertexTemplateEntry(c+"open_source_tools.svg;",a,a,"","Open Source Tools",!1,null,this.getTagsForStencil("applications ","open source tools",b).join(" ")),this.createVertexTemplateEntry(c+"runtime_services.svg;",a,a,"","Runtime Services",!1,null,this.getTagsForStencil("applications ", -"runtime services",b).join(" ")),this.createVertexTemplateEntry(c+"saas_applications.svg;",a,a,"","SaaS Applications",!1,null,this.getTagsForStencil("applications ","saas applications",b).join(" ")),this.createVertexTemplateEntry(c+"service_broker.svg;",a,a,"","Service Broker",!1,null,this.getTagsForStencil("applications ","service broker",b).join(" ")),this.createVertexTemplateEntry(c+"speech_to_text.svg;",a,a,"","Speech to Text",!1,null,this.getTagsForStencil("applications ","speech to text",b).join(" ")), -this.createVertexTemplateEntry(c+"visual_recognition.svg;",a,a,"","Visual Recognition",!1,null,this.getTagsForStencil("applications ","visual recognition",b).join(" ")),this.createVertexTemplateEntry(c+"visualization.svg;",a,a,"","Visualization",!1,null,this.getTagsForStencil("applications ","visualization",b).join(" "))];this.addPalette("ibmApplications","IBM / Applications",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addIBMBlockchainPalette= -function(a,b,e,c){c+="blockchain/";var d=[this.createVertexTemplateEntry(c+"blockchain.svg;",a,a,"","Blockchain",!1,null,this.getTagsForStencil("blockchain ","",b).join(" ")),this.createVertexTemplateEntry(c+"blockchain_developer.svg;",a,a,"","Blockchain Developer",!1,null,this.getTagsForStencil("blockchain ","developer",b).join(" ")),this.createVertexTemplateEntry(c+"certificate_authority.svg;",a,a,"","Certificate Authority",!1,null,this.getTagsForStencil("blockchain ","certificate authority",b).join(" ")), -this.createVertexTemplateEntry(c+"client_application.svg;",a,a,"","Client Application",!1,null,this.getTagsForStencil("blockchain ","client application",b).join(" ")),this.createVertexTemplateEntry(c+"communication.svg;",a,a,"","Communication",!1,null,this.getTagsForStencil("blockchain ","communication",b).join(" ")),this.createVertexTemplateEntry(c+"consensus.svg;",a,a,"","Consensus",!1,null,this.getTagsForStencil("blockchain ","communication",b).join(" ")),this.createVertexTemplateEntry(c+"e_cert.svg;", -a,a,"","E-Cert",!1,null,this.getTagsForStencil("blockchain ","ecert e-cert",b).join(" ")),this.createVertexTemplateEntry(c+"event.svg;",a,a,"","Event",!1,null,this.getTagsForStencil("blockchain ","event",b).join(" ")),this.createVertexTemplateEntry(c+"event_listener.svg;",a,a,"","Event Listener",!1,null,this.getTagsForStencil("blockchain ","event listener",b).join(" ")),this.createVertexTemplateEntry(c+"existing_enterprise_systems.svg;",a,a,"","Existing Enterprise Systems",!1,null,this.getTagsForStencil("blockchain ", -"existing enterprise systems",b).join(" ")),this.createVertexTemplateEntry(c+"hyperledger_fabric.svg;",a,a,"","Hyperledger Fabric",!1,null,this.getTagsForStencil("blockchain ","hyperledger fabric",b).join(" ")),this.createVertexTemplateEntry(c+"identity_access_manager.svg;",a,a,"","Identity & Access Manager",!1,null,this.getTagsForStencil("blockchain ","identity access manager",b).join(" ")),this.createVertexTemplateEntry(c+"key_management.svg;",.38*a,.38*a,"","Key Management",!1,null,this.getTagsForStencil("blockchain ", -"key management",b).join(" ")),this.createVertexTemplateEntry(c+"ledger.svg;",a,a,"","Ledger",!1,null,this.getTagsForStencil("blockchain ","ledger",b).join(" ")),this.createVertexTemplateEntry(c+"membership.svg;",a,a,"","Membership",!1,null,this.getTagsForStencil("blockchain ","membership",b).join(" ")),this.createVertexTemplateEntry(c+"membership_services_provider_api.svg;",a,a,"","Membership Services Provider API",!1,null,this.getTagsForStencil("blockchain ","membership services provider api",b).join(" ")), -this.createVertexTemplateEntry(c+"message_bus.svg;",a,a,"","Message Bus",!1,null,this.getTagsForStencil("blockchain ","message bus",b).join(" ")),this.createVertexTemplateEntry(c+"node.svg;",a,a,"","Node",!1,null,this.getTagsForStencil("blockchain ","node",b).join(" ")),this.createVertexTemplateEntry(c+"services.svg;",a,a,"","Services",!1,null,this.getTagsForStencil("blockchain ","services",b).join(" ")),this.createVertexTemplateEntry(c+"smart_contract.svg;",a,a,"","Smart Contract",!1,null,this.getTagsForStencil("blockchain ", -"smart contract",b).join(" ")),this.createVertexTemplateEntry(c+"transaction_manager.svg;",a,a,"","Transaction Manager",!1,null,this.getTagsForStencil("blockchain ","transaction manager",b).join(" ")),this.createVertexTemplateEntry(c+"wallet.svg;",a,a,"","Wallet",!1,null,this.getTagsForStencil("blockchain ","wallet",b).join(" "))];this.addPalette("ibmBlockchain","IBM / Blockchain",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addIBMDataPalette= -function(a,b,e,c){c+="data/";var d=[this.createVertexTemplateEntry(c+"caches.svg;",a,a,"","Caches",!1,null,this.getTagsForStencil("data ","caches",b).join(" ")),this.createVertexTemplateEntry(c+"conversation_trained_deployed.svg;",a,a,"","Conversation (Trained & Deployed)",!1,null,this.getTagsForStencil("data ","conversation trained deployed",b).join(" ")),this.createVertexTemplateEntry(c+"cloud.svg;",a,a,"","Cloud",!1,null,this.getTagsForStencil("data ","cloud",b).join(" ")),this.createVertexTemplateEntry(c+ -"data_services.svg;",a,a,"","Data Services",!1,null,this.getTagsForStencil("data ","data services",b).join(" ")),this.createVertexTemplateEntry(c+"data_sources.svg;",a,a,"","Data Sources",!1,null,this.getTagsForStencil("data ","data sources",b).join(" ")),this.createVertexTemplateEntry(c+"device_identity_service.svg;",a,a,"","Device Identity Service",!1,null,this.getTagsForStencil("data ","device identity service",b).join(" ")),this.createVertexTemplateEntry(c+"device_registry.svg;",a,a,"","Device Registry", -!1,null,this.getTagsForStencil("data ","device registry",b).join(" ")),this.createVertexTemplateEntry(c+"enterprise_data.svg;",a,a,"","Enterprise Data",!1,null,this.getTagsForStencil("data ","enterprise data",b).join(" ")),this.createVertexTemplateEntry(c+"enterprise_user_directory.svg;",a,a,"","Enterprise User Directory",!1,null,this.getTagsForStencil("data ","enterprise user directory",b).join(" ")),this.createVertexTemplateEntry(c+"file_repository.svg;",a,a,"","File Repository",!1,null,this.getTagsForStencil("data ", -"file repository",b).join(" ")),this.createVertexTemplateEntry(c+"ground_truth.svg;",a,a,"","Ground Truth",!1,null,this.getTagsForStencil("data ","ground truth",b).join(" ")),this.createVertexTemplateEntry(c+"model.svg;",a,a,"","Model",!1,null,this.getTagsForStencil("data ","model",b).join(" ")),this.createVertexTemplateEntry(c+"tms_data_interface.svg;",a,a,"","TMS Data Interface",!1,null,this.getTagsForStencil("data ","tms data interface",b).join(" "))];this.addPalette("ibmData","IBM / Data",!1, -mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addIBMDevOpsPalette=function(a,b,e,c){c+="devops/";var d=[this.createVertexTemplateEntry(c+"artifact_management.svg;",a,a,"","Artifact Management",!1,null,this.getTagsForStencil("devops ","artifact management",b).join(" ")),this.createVertexTemplateEntry(c+"build_test.svg;",a,a,"","Build & Test",!1,null,this.getTagsForStencil("devops ","build test",b).join(" ")),this.createVertexTemplateEntry(c+"code_editor.svg;", -a,a,"","Code Editor",!1,null,this.getTagsForStencil("devops ","code editor",b).join(" ")),this.createVertexTemplateEntry(c+"collaborative_development.svg;",a,a,"","Collaborative Development",!1,null,this.getTagsForStencil("devops ","collaborative development",b).join(" ")),this.createVertexTemplateEntry(c+"configuration_management.svg;",a,a,"","Configuration Management",!1,null,this.getTagsForStencil("devops ","configuration management",b).join(" ")),this.createVertexTemplateEntry(c+"continuous_deploy.svg;", -a,a,"","Continuous Deploy",!1,null,this.getTagsForStencil("devops ","continuous deploy",b).join(" ")),this.createVertexTemplateEntry(c+"continuous_testing.svg;",a,a,"","Continuous Testing",!1,null,this.getTagsForStencil("devops ","continuous testing",b).join(" ")),this.createVertexTemplateEntry(c+"devops.svg;",a,a,"","DevOps",!1,null,this.getTagsForStencil("devops ","devops",b).join(" ")),this.createVertexTemplateEntry(c+"provision.svg;",a,a,"","Provision",!1,null,this.getTagsForStencil("devops ", -"provision",b).join(" ")),this.createVertexTemplateEntry(c+"release_management.svg;",a,a,"","Release Management",!1,null,this.getTagsForStencil("devops ","release management",b).join(" "))];this.addPalette("ibmDevOps","IBM / DevOps",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addIBMInfrastructurePalette=function(a,b,e,c){c+="infrastructure/";var d=[this.createVertexTemplateEntry(c+"channels.svg;",a,a,"","Channels",!1,null,this.getTagsForStencil("infrastructure ", -"channels",b).join(" ")),this.createVertexTemplateEntry(c+"cloud_messaging.svg;",a,a,"","Cloud Messaging",!1,null,this.getTagsForStencil("infrastructure ","cloud messaging",b).join(" ")),this.createVertexTemplateEntry(c+"dashboard.svg;",a,a,"","Dashboard",!1,null,this.getTagsForStencil("infrastructure ","dashboard",b).join(" ")),this.createVertexTemplateEntry(c+"diagnostics.svg;",a,a,"","Diagnostics",!1,null,this.getTagsForStencil("infrastructure ","diagnostics",b).join(" ")),this.createVertexTemplateEntry(c+ -"edge_services.svg;",a,a,"","Edge Services",!1,null,this.getTagsForStencil("infrastructure ","edge services",b).join(" ")),this.createVertexTemplateEntry(c+"enterprise_messaging.svg;",a,a,"","Enterprise Messaging",!1,null,this.getTagsForStencil("infrastructure ","enterprise messaging",b).join(" ")),this.createVertexTemplateEntry(c+"event_feed.svg;",a,a,"","Event Feed",!1,null,this.getTagsForStencil("infrastructure ","event feed",b).join(" ")),this.createVertexTemplateEntry(c+"infrastructure_services.svg;", -a,a,"","Infrastructure Services",!1,null,this.getTagsForStencil("infrastructure ","infrastructure services",b).join(" ")),this.createVertexTemplateEntry(c+"interservice_communication.svg;",a,a,"","Interservice Communication",!1,null,this.getTagsForStencil("infrastructure ","interservice communication",b).join(" ")),this.createVertexTemplateEntry(c+"load_balancing_routing.svg;",a,a,"","Load Balancing / Routing",!1,null,this.getTagsForStencil("infrastructure ","load balancing routing",b).join(" ")), -this.createVertexTemplateEntry(c+"microservices_mesh.svg;",a,a,"","Microservices Mesh",!1,null,this.getTagsForStencil("infrastructure ","microservices mesh",b).join(" ")),this.createVertexTemplateEntry(c+"mobile_backend.svg;",a,a,"","Mobile Backend",!1,null,this.getTagsForStencil("infrastructure ","mobile backend",b).join(" ")),this.createVertexTemplateEntry(c+"mobile_provider_network.svg;",a,a,"","Mobile Provider Network",!1,null,this.getTagsForStencil("infrastructure ","mobile provider network", -b).join(" ")),this.createVertexTemplateEntry(c+"monitoring.svg;",a,a,"","Monitoring",!1,null,this.getTagsForStencil("infrastructure ","monitoring",b).join(" ")),this.createVertexTemplateEntry(c+"monitoring_logging.svg;",a,a,"","Monitoring & Logging",!1,null,this.getTagsForStencil("infrastructure ","monitoring logging",b).join(" ")),this.createVertexTemplateEntry(c+"peer_services.svg;",a,a,"","Peer Services",!1,null,this.getTagsForStencil("infrastructure ","peer services",b).join(" ")),this.createVertexTemplateEntry(c+ -"service_discovery_configuration.svg;",a,a,"","Service Discovery & Configuration",!1,null,this.getTagsForStencil("infrastructure ","service discovery configuration",b).join(" ")),this.createVertexTemplateEntry(c+"transformation_connectivity.svg;",a,a,"","Transformation & Connectivity",!1,null,this.getTagsForStencil("infrastructure ","transformation connectivity",b).join(" "))];this.addPalette("ibmInfrastructure","IBM / Infrastructure",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))}; -Sidebar.prototype.addIBMManagementPalette=function(a,b,e,c){c+="management/";var d=[this.createVertexTemplateEntry(c+"alert_notification.svg;",a,a,"","Alert Notification",!1,null,this.getTagsForStencil("management ","alert notification",b).join(" ")),this.createVertexTemplateEntry(c+"api_management.svg;",a,a,"","API Management",!1,null,this.getTagsForStencil("management ","api management",b).join(" ")),this.createVertexTemplateEntry(c+"cloud_management.svg;",a,a,"","Cloud Management",!1,null,this.getTagsForStencil("management ", -"cloud management",b).join(" ")),this.createVertexTemplateEntry(c+"cluster_management.svg;",a,a,"","Cluster Management",!1,null,this.getTagsForStencil("management ","cluster management",b).join(" ")),this.createVertexTemplateEntry(c+"content_management.svg;",a,a,"","Content Management",!1,null,this.getTagsForStencil("management ","content management",b).join(" ")),this.createVertexTemplateEntry(c+"data_services.svg;",a,a,"","Data Services",!1,null,this.getTagsForStencil("management ","data services", -b).join(" ")),this.createVertexTemplateEntry(c+"device_management.svg;",a,a,"","Device Management",!1,null,this.getTagsForStencil("management ","device management",b).join(" ")),this.createVertexTemplateEntry(c+"information_governance.svg;",a,a,"","Information Governance",!1,null,this.getTagsForStencil("management ","information governance",b).join(" ")),this.createVertexTemplateEntry(c+"it_service_management.svg;",a,a,"","IT Service Management",!1,null,this.getTagsForStencil("management ","it service management information technology", -b).join(" ")),this.createVertexTemplateEntry(c+"management.svg;",a,a,"","Management",!1,null,this.getTagsForStencil("management ","management",b).join(" ")),this.createVertexTemplateEntry(c+"monitoring_metrics.svg;",a,a,"","Monitoring & Metrics",!1,null,this.getTagsForStencil("management ","monitoring metrics",b).join(" ")),this.createVertexTemplateEntry(c+"process_management.svg;",a,a,"","Process Management",!1,null,this.getTagsForStencil("management ","process management",b).join(" ")),this.createVertexTemplateEntry(c+ -"provider_cloud_portal_service.svg;",a,a,"","Provider Cloud Portal Service",!1,null,this.getTagsForStencil("management ","provider cloud portal service",b).join(" ")),this.createVertexTemplateEntry(c+"push_notifications.svg;",a,a,"","Push Notifications",!1,null,this.getTagsForStencil("management ","push notifications",b).join(" ")),this.createVertexTemplateEntry(c+"service_management_tools.svg;",a,a,"","Service Management Tools",!1,null,this.getTagsForStencil("management ","service management tools", -b).join(" "))];this.addPalette("ibmManagement","IBM / Management",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addIBMMiscPalette=function(a,b,e,c){c+="miscellaneous/";var d=[this.createVertexTemplateEntry(c+"bluemix.svg;",a,a,"","Bluemix",!1,null,this.getTagsForStencil("miscellaneous ","bluemix",b).join(" ")),this.createVertexTemplateEntry(c+"cloudant.svg;",a,a,"","Cloudant",!1,null,this.getTagsForStencil("miscellaneous ","cloudant",b).join(" ")), -this.createVertexTemplateEntry(c+"cognitive_services.svg;",a,a,"","Cognitive Services",!1,null,this.getTagsForStencil("miscellaneous ","cognitive services",b).join(" ")),this.createVertexTemplateEntry(c+"ibm_containers.svg;",a,a,"","IBM Containers",!1,null,this.getTagsForStencil("miscellaneous ","ibm containers",b).join(" ")),this.createVertexTemplateEntry(c+"ibm_public_cloud.svg;",a,.77*a,"","IBM Public Cloud",!1,null,this.getTagsForStencil("miscellaneous ","ibm public cloud",b).join(" ")),this.createVertexTemplateEntry(c+ -"iot_cloud.svg;",a,.77*a,"","IoT Cloud",!1,null,this.getTagsForStencil("miscellaneous ","iot cloud internet of things",b).join(" ")),this.createVertexTemplateEntry(c+"microservices_application.svg;",a,a,"","Microservices Application",!1,null,this.getTagsForStencil("miscellaneous ","microservices application",b).join(" ")),this.createVertexTemplateEntry(c+"object_storage.svg;",a,a,"","Object Storage",!1,null,this.getTagsForStencil("miscellaneous ","object storage",b).join(" ")),this.createVertexTemplateEntry(c+ -"offline_capabilities.svg;",a,a,"","Offline Capabilities",!1,null,this.getTagsForStencil("miscellaneous ","offline capabilities",b).join(" ")),this.createVertexTemplateEntry(c+"openwhisk.svg;",a,a,"","Openwhisk",!1,null,this.getTagsForStencil("miscellaneous ","openwhisk",b).join(" ")),this.createVertexTemplateEntry(c+"peer_cloud.svg;",a,.77*a,"","Peer Cloud",!1,null,this.getTagsForStencil("miscellaneous ","peer cloud",b).join(" ")),this.createVertexTemplateEntry(c+"retrieve_rank.svg;",a,a,"","Retrieve Rank", -!1,null,this.getTagsForStencil("miscellaneous ","retrieve rank",b).join(" ")),this.createVertexTemplateEntry(c+"scalable.svg;",.25*a,.25*a,"","Scalable",!1,null,this.getTagsForStencil("miscellaneous ","scalable",b).join(" ")),this.createVertexTemplateEntry(c+"text_to_speech.svg;",a,a,"","Text to Speech",!1,null,this.getTagsForStencil("miscellaneous ","text to speech",b).join(" "))];this.addPalette("ibmMiscellaneous","IBM / Miscellaneous",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))}; -Sidebar.prototype.addIBMSecurityPalette=function(a,b,e,c){c+="security/";var d=[this.createVertexTemplateEntry(c+"api_security.svg;",a,a,"","API Security",!1,null,this.getTagsForStencil("security ","api security",b).join(" ")),this.createVertexTemplateEntry(c+"blockchain_security_service.svg;",a,a,"","Blockchain Security Service",!1,null,this.getTagsForStencil("security ","blockchain security service",b).join(" ")),this.createVertexTemplateEntry(c+"data_security.svg;",a,a,"","Data Security",!1,null, -this.getTagsForStencil("security ","data security",b).join(" ")),this.createVertexTemplateEntry(c+"firewall.svg;",a,a,"","Firewall",!1,null,this.getTagsForStencil("security ","firewall",b).join(" ")),this.createVertexTemplateEntry(c+"gateway.svg;",a,a,"","Gateway",!1,null,this.getTagsForStencil("security ","gateway",b).join(" ")),this.createVertexTemplateEntry(c+"governance_risk_compliance.svg;",a,a,"","Governance, Risk & Compliance",!1,null,this.getTagsForStencil("security ","governance risk compliance", -b).join(" ")),this.createVertexTemplateEntry(c+"identity_access_management.svg;",a,a,"","Identity & Access Management",!1,null,this.getTagsForStencil("security ","identity access management",b).join(" ")),this.createVertexTemplateEntry(c+"identity_provider.svg;",a,a,"","Identity Provider",!1,null,this.getTagsForStencil("security ","identity provider",b).join(" ")),this.createVertexTemplateEntry(c+"infrastructure_security.svg;",a,a,"","Infrastructure Security",!1,null,this.getTagsForStencil("security ", -"infrastructure security",b).join(" ")),this.createVertexTemplateEntry(c+"physical_security.svg;",a,a,"","Physical Security",!1,null,this.getTagsForStencil("security ","physical security",b).join(" ")),this.createVertexTemplateEntry(c+"security_monitoring_intelligence.svg;",a,a,"","Security Monitoring & Intelligence",!1,null,this.getTagsForStencil("security ","security monitoring intelligence",b).join(" ")),this.createVertexTemplateEntry(c+"security_services.svg;",a,a,"","Security Services",!1,null, -this.getTagsForStencil("security ","security services",b).join(" ")),this.createVertexTemplateEntry(c+"trustend_computing.svg;",a,a,"","Trustend Computing",!1,null,this.getTagsForStencil("security ","trustend computing",b).join(" ")),this.createVertexTemplateEntry(c+"vpn.svg;",a,a,"","VPN",!1,null,this.getTagsForStencil("security ","vpn virtual private network",b).join(" "))];this.addPalette("ibmSecurity","IBM / Security",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))}; -Sidebar.prototype.addIBMSocialPalette=function(a,b,e,c){c+="social/";var d=[this.createVertexTemplateEntry(c+"communities.svg;",a,a,"","Communities",!1,null,this.getTagsForStencil("social ","communities",b).join(" ")),this.createVertexTemplateEntry(c+"file_sync.svg;",a,a,"","File Sync",!1,null,this.getTagsForStencil("social ","file sync",b).join(" ")),this.createVertexTemplateEntry(c+"live_collaboration.svg;",a,a,"","Live Collaboration",!1,null,this.getTagsForStencil("social ","live collaboration", -b).join(" ")),this.createVertexTemplateEntry(c+"messaging.svg;",a,a,"","Messaging",!1,null,this.getTagsForStencil("social ","messaging",b).join(" ")),this.createVertexTemplateEntry(c+"networking.svg;",a,a,"","Networking",!1,null,this.getTagsForStencil("social ","networking",b).join(" "))];this.addPalette("ibmSocial","IBM / Social",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addIBMUsersPalette=function(a,b,e,c){c+="users/";var d=[this.createVertexTemplateEntry(c+ -"browser.svg;",a,a,"","Browser",!1,null,this.getTagsForStencil("users ","browser",b).join(" ")),this.createVertexTemplateEntry(c+"device.svg;",a,a,"","Device",!1,null,this.getTagsForStencil("users ","device",b).join(" ")),this.createVertexTemplateEntry(c+"integrated_digital_experiences.svg;",a,a,"","Integrated Digital Experiences",!1,null,this.getTagsForStencil("users ","integrated digital experiences",b).join(" ")),this.createVertexTemplateEntry(c+"physical_entity.svg;",a,a,"","Physical Entity", -!1,null,this.getTagsForStencil("users ","physical entity",b).join(" ")),this.createVertexTemplateEntry(c+"sensor.svg;",a,a,"","Sensor",!1,null,this.getTagsForStencil("users ","sensor",b).join(" ")),this.createVertexTemplateEntry(c+"user.svg;",a,a,"","User",!1,null,this.getTagsForStencil("users ","user",b).join(" "))];this.addPalette("ibmUsers","IBM / Users",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addIBMVPCPalette=function(a,b,e,c){c+= -"vpc/";var d=[this.createVertexTemplateEntry(c+"Instance.svg;",a,a,"","Instance",!1,null,this.getTagsForStencil("vpc virtual private cloud ","instance",b).join(" ")),this.createVertexTemplateEntry(c+"LoadBalancer.svg;",a,a,"","Load Balancer",!1,null,this.getTagsForStencil("vpc virtual private cloud ","load balancer",b).join(" ")),this.createVertexTemplateEntry(c+"BareMetalServer.svg;",a,a,"","Bare Metal Server",!1,null,this.getTagsForStencil("vpc virtual private cloud ","bare metal server",b).join(" ")), -this.createVertexTemplateEntry(c+"BlockStorage.svg;",a,a,"","Block Storage",!1,null,this.getTagsForStencil("vpc virtual private cloud ","block storage",b).join(" ")),this.createVertexTemplateEntry(c+"FloatingIP.svg;",a,a,"","Floating IP",!1,null,this.getTagsForStencil("vpc virtual private cloud ","floating ip internet protocol",b).join(" ")),this.createVertexTemplateEntry(c+"PublicGateway.svg;",a,a,"","Public Gateway",!1,null,this.getTagsForStencil("vpc virtual private cloud ","public gateway",b).join(" ")), -this.createVertexTemplateEntry(c+"ObjectStorage.svg;",a,a,"","Object Storage",!1,null,this.getTagsForStencil("vpc virtual private cloud ","object storage",b).join(" ")),this.createVertexTemplateEntry(c+"VPNConnection.svg;",a,a,"","VPN Connection",!1,null,this.getTagsForStencil("vpc virtual private cloud ","connection",b).join(" ")),this.createVertexTemplateEntry(c+"VPNGateway.svg;",a,a,"","VPN Gateway",!1,null,this.getTagsForStencil("vpc virtual private cloud ","gateway",b).join(" ")),this.createVertexTemplateEntry(c+ -"DirectLink.svg;",a,a,"","Direct Link",!1,null,this.getTagsForStencil("vpc virtual private cloud ","direct link",b).join(" ")),this.createVertexTemplateEntry(c+"ImageService.svg;",a,a,"","Image Service",!1,null,this.getTagsForStencil("vpc virtual private cloud ","image service",b).join(" ")),this.createVertexTemplateEntry(c+"LoadBalancerPool.svg;",a,a,"","Load Balancer Pool",!1,null,this.getTagsForStencil("vpc virtual private cloud ","load balancer pool",b).join(" ")),this.createVertexTemplateEntry(c+ -"LoadBalancerListener.svg;",a,a,"","Load Balancer Listener",!1,null,this.getTagsForStencil("vpc virtual private cloud ","load balancer listener",b).join(" ")),this.createVertexTemplateEntry(c+"Rules.svg;",a,a,"","Rules",!1,null,this.getTagsForStencil("vpc virtual private cloud ","load balancer listener",b).join(" ")),this.createVertexTemplateEntry(c+"Key.svg;",a,a,"","Key",!1,null,this.getTagsForStencil("vpc virtual private cloud ","key",b).join(" ")),this.createVertexTemplateEntry(c+"VPNPolicy.svg;", -a,a,"","VPN Policy",!1,null,this.getTagsForStencil("vpc virtual private cloud ","policy",b).join(" ")),this.createVertexTemplateEntry(c+"InternetServices2.svg;",a,a,"","Internet Services",!1,null,this.getTagsForStencil("vpc virtual private cloud ","internet services",b).join(" ")),this.createVertexTemplateEntry(c+"Router.svg;",a,a,"","Router",!1,null,this.getTagsForStencil("vpc virtual private cloud ","router",b).join(" ")),this.createVertexTemplateEntry(c+"Bridge.svg;",a,a,"","Bridge",!1,null,this.getTagsForStencil("vpc virtual private cloud ", -"bridge",b).join(" ")),this.addEntry(b+"ibm cloud",function(){var a=new mxCell("IBM Cloud",new mxGeometry(0,0,200,200),"swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=12;strokeColor=#417CB9;fontColor=#000000;verticalAlign=top;align=left;spacingLeft=30;spacingTop=1;dashed=0;strokeWidth=1;");a.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,30,30),c+"CloudTag.svg;part=1;"); -b.vertex=!0;a.insert(b);return e.createVertexTemplateFromCells([a],200,200,"IBM Cloud")}),this.addEntry(b+"",function(){var a=new mxCell("VPC",new mxGeometry(0,0,200,200),"swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=12;strokeColor=#417CB9;fontColor=#000000;verticalAlign=top;align=left;spacingLeft=30;spacingTop=1;dashed=0;strokeWidth=1;");a.vertex=!0;var b=new mxCell("", -new mxGeometry(0,0,30,30),c+"VPCTag.svg;part=1;");b.vertex=!0;a.insert(b);return e.createVertexTemplateFromCells([a],200,200,"VPC")}),this.addEntry(b+"",function(){var a=new mxCell("Region",new mxGeometry(0,0,200,200),"swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=0;strokeColor=#00882B;fontColor=#000000;verticalAlign=top;align=left;spacingLeft=30;dashed=1;strokeWidth=1;container=1;dashPattern=1 1;"); -a.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,30,30),c+"RegionTag.svg;part=1;");b.vertex=!0;a.insert(b);return e.createVertexTemplateFromCells([a],200,200,"Region")}),this.addEntry(b+"",function(){var a=new mxCell("Zone",new mxGeometry(0,0,200,200),"swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=0;strokeColor=#00882B;fontColor=#000000;verticalAlign=top;align=left;spacingLeft=30;dashed=1;strokeWidth=1;container=1;"); -a.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,30,30),c+"ZoneTag.svg;part=1;");b.vertex=!0;a.insert(b);return e.createVertexTemplateFromCells([a],200,200,"Zone")}),this.addEntry(b+"",function(){var a=new mxCell("Subnet",new mxGeometry(0,0,200,200),"swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=12;strokeColor=#2A8838;fontColor=#000000;verticalAlign=top;align=left;spacingLeft=30;spacingTop=1;dashed=0;strokeWidth=1;"); -a.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,30,40),c+"SubnetTag.svg;part=1;");b.vertex=!0;a.insert(b);return e.createVertexTemplateFromCells([a],200,200,"Subnet")}),this.createVertexTemplateEntry("rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=0;strokeColor=#FD0000;fillColor=none;fontColor=#000000;verticalAlign=top;align=center;spacingLeft=5;dashed=1;dashPattern=5 2;labelPosition=center;verticalLabelPosition=bottom;strokeWidth=2;",200,200,"Security Group","Security Group",!0,null, -this.getTagsForStencil("vpc virtual private cloud ","",b).join(" ")),this.addEntry(b+"",function(){var a=new mxCell("Classic Infrastructure",new mxGeometry(0,0,200,200),"swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=0;strokeColor=#4376BB;fontColor=#000000;verticalAlign=top;align=left;spacingLeft=30;dashed=0;strokeWidth=1;container=1;");a.vertex=!0;var b=new mxCell("",new mxGeometry(0, -0,30,30),c+"ClassicInfrastructureTag.svg;part=1;");b.vertex=!0;a.insert(b);return e.createVertexTemplateFromCells([a],200,200,"Classic Infrastructure")}),this.createVertexTemplateEntry("swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=0;strokeColor=#4376BB;fontColor=#000000;verticalAlign=top;align=left;spacingLeft=30;dashed=0;strokeWidth=1;container=1;",200,200,"Other Group", -"Other Group",!0,null,this.getTagsForStencil("vpc virtual private cloud ","",b).join(" ")),this.addEntry(b+"",function(){var a=new mxCell("",new mxGeometry(0,0,320,200),"swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=0;strokeColor=#4376BB;fontColor=#000000;verticalAlign=top;align=left;spacingLeft=5;dashed=0;strokeWidth=1;container=1;");a.vertex=!0;var b=new mxCell("Public", -new mxGeometry(15,0,30,30),"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#000000;labelBackgroundColor=none;fontSize=12;spacingTop=-5;image;image=img/lib/ibm/vpc/PublicTag.svg;part=1;");b.vertex=!0;a.insert(b);b=new mxCell("Enterprise",new mxGeometry(275,0,30,30),"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#000000;labelBackgroundColor=none;fontSize=12;spacingTop=-5;image;image=img/lib/ibm/vpc/EnterpriseTag.svg;part=1;"); -b.vertex=!0;a.insert(b);b=new mxCell("IBM Cloud",new mxGeometry(60,0,200,200),"swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=12;strokeColor=#417CB9;fontColor=#000000;verticalAlign=top;align=left;spacingLeft=30;spacingTop=1;dashed=0;strokeWidth=1;");b.vertex=!0;a.insert(b);var d=new mxCell("",new mxGeometry(0,0,30,30),c+"CloudTag.svg;part=1;");d.vertex=!0;b.insert(d);return e.createVertexTemplateFromCells([a], -320,200,"Cloud Universe")}),this.createVertexTemplateEntry(c+"CloudTag.svg;",.5*a,.5*a,"","IBM Cloud tag",!1,null,this.getTagsForStencil("vpc virtual private cloud ","cloud tag ibm",b).join(" ")),this.createVertexTemplateEntry(c+"VPCTag.svg;",.5*a,.5*a,"","VPC tag",!1,null,this.getTagsForStencil("vpc virtual private cloud ","tag",b).join(" ")),this.createVertexTemplateEntry(c+"RegionTag.svg;",.5*a,.5*a,"","Region tag",!1,null,this.getTagsForStencil("vpc virtual private cloud ","region tag",b).join(" ")), -this.createVertexTemplateEntry(c+"ZoneTag.svg;",.5*a,.5*a,"","Zone tag",!1,null,this.getTagsForStencil("vpc virtual private cloud ","zone tag",b).join(" ")),this.createVertexTemplateEntry(c+"SubnetTag.svg;",.37*a,.5*a,"","Subnet tag",!1,null,this.getTagsForStencil("vpc virtual private cloud ","subnet tag",b).join(" ")),this.createVertexTemplateEntry(c+"EnterpriseTag.svg;",.5*a,.5*a,"","Enterprise tag",!1,null,this.getTagsForStencil("vpc virtual private cloud ","enterprise tag",b).join(" ")),this.createVertexTemplateEntry(c+ -"PublicTag.svg;",.5*a,.5*a,"","Public tag",!1,null,this.getTagsForStencil("vpc virtual private cloud ","public tag",b).join(" ")),this.createVertexTemplateEntry(c+"ClassicInfrastructureTag.svg;",.5*a,.5*a,"","Classic Infrastructure tag",!1,null,this.getTagsForStencil("vpc virtual private cloud ","classic tag",b).join(" ")),this.createVertexTemplateEntry(c+"Internet.svg;",a,a,"","Internet",!1,null,this.getTagsForStencil("vpc virtual private cloud ","internet",b).join(" ")),this.createVertexTemplateEntry(c+ -"Enterprise.svg;",a,a,"","Data Center",!1,null,this.getTagsForStencil("vpc virtual private cloud ","dat acenter",b).join(" ")),this.createVertexTemplateEntry(c+"Enterprise2.svg;",a,.8*a,"","Enterprise",!1,null,this.getTagsForStencil("vpc virtual private cloud ","enterprise",b).join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=classicThin;endFill=1;rounded=0;strokeColor=#000000;strokeWidth=1;startArrow=classicThin;startFill=1;",a,a,"","Bidirectional Connector", -null,b+"bidirectional connector"),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=classicThin;endFill=1;rounded=0;strokeColor=#000000;strokeWidth=1;",a,a,"","Directional Connector",null,b+"directional connector"),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=none;endFill=0;rounded=0;strokeColor=#000000;strokeWidth=1;",a,a,"","Nondirectional Connector",null,b+"nondirectional connector")];this.addPalette("ibmVPC","IBM / VPC", -!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))}})();(function(){Sidebar.prototype.addInfographicPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shape=mxgraph.infographic.",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shape=mxgraph.basic.";this.addPaletteFunctions("infographic","Infographic",!1,[this.createVertexTemplateEntry(b+"pie;fillColor=#10739E;strokeColor=none;startAngle=0.2;endAngle=0.9;",100,100,"","Pie",null, +this.addIBMVPCPalette(60,"ibm",this,"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#4277BB;labelBackgroundColor=#ffffff;fontSize=12;spacingTop=3;image;image=img/lib/ibm/")};Sidebar.prototype.addIBMAnalyticsPalette=function(a,b,e,d){d+="analytics/";var c=[this.createVertexTemplateEntry(d+"analytics.svg;",a,a,"","Analytics",!1,null,this.getTagsForStencil("analytics ","",b).join(" ")),this.createVertexTemplateEntry(d+"data_integration.svg;",a,a,"","Data Integration", +!1,null,this.getTagsForStencil("analytics ","data integration",b).join(" ")),this.createVertexTemplateEntry(d+"data_repositories.svg;",a,a,"","Data Repositories",!1,null,this.getTagsForStencil("analytics ","data repositories",b).join(" ")),this.createVertexTemplateEntry(d+"device_analytics.svg;",a,a,"","Device Analytics",!1,null,this.getTagsForStencil("analytics ","device analytics",b).join(" ")),this.createVertexTemplateEntry(d+"streaming_computing.svg;",a,a,"","Streaming Computing",!1,null,this.getTagsForStencil("analytics ", +"streaming computing",b).join(" "))];this.addPalette("ibmAnalytics","IBM / Analytics",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addIBMApplicationsPalette=function(a,b,e,d){d+="applications/";var c=[this.createVertexTemplateEntry(d+"actionable_insight.svg;",a,a,"","Actionable Insight",!1,null,this.getTagsForStencil("applications ","actionable insight",b).join(" ")),this.createVertexTemplateEntry(d+"annotate.svg;",a,a,"","Annotate",!1,null, +this.getTagsForStencil("applications ","annotate",b).join(" ")),this.createVertexTemplateEntry(d+"api_developer_portal.svg;",a,a,"","API Developer Portal",!1,null,this.getTagsForStencil("applications ","api developer portal",b).join(" ")),this.createVertexTemplateEntry(d+"api_polyglot_runtimes.svg;",a,a,"","API Polyglot Runtimes",!1,null,this.getTagsForStencil("applications ","api polyglot runtimes",b).join(" ")),this.createVertexTemplateEntry(d+"app_server.svg;",a,a,"","App Server",!1,null,this.getTagsForStencil("applications ", +"app server",b).join(" ")),this.createVertexTemplateEntry(d+"application_logic.svg;",a,a,"","Application Logic",!1,null,this.getTagsForStencil("applications ","application logic",b).join(" ")),this.createVertexTemplateEntry(d+"automation_tools.svg;",a,a,"","Automation Tools",!1,null,this.getTagsForStencil("applications ","automation tools",b).join(" ")),this.createVertexTemplateEntry(d+"enterprise_applications.svg;",a,a,"","Enterprise Applications",!1,null,this.getTagsForStencil("applications ","enterprise applications", +b).join(" ")),this.createVertexTemplateEntry(d+"index.svg;",a,a,"","Index",!1,null,this.getTagsForStencil("applications ","index",b).join(" ")),this.createVertexTemplateEntry(d+"iot_application.svg;",a,a,"","IoT Application",!1,null,this.getTagsForStencil("applications ","iot application",b).join(" ")),this.createVertexTemplateEntry(d+"microservice.svg;",1.37*a,a,"","Microservice",!1,null,this.getTagsForStencil("applications ","microservice",b).join(" ")),this.createVertexTemplateEntry(d+"mobile_app.svg;", +a,a,"","Mobile App",!1,null,this.getTagsForStencil("applications ","mobile app",b).join(" ")),this.createVertexTemplateEntry(d+"ontology.svg;",a,a,"","Ontology",!1,null,this.getTagsForStencil("applications ","ontology",b).join(" ")),this.createVertexTemplateEntry(d+"open_source_tools.svg;",a,a,"","Open Source Tools",!1,null,this.getTagsForStencil("applications ","open source tools",b).join(" ")),this.createVertexTemplateEntry(d+"runtime_services.svg;",a,a,"","Runtime Services",!1,null,this.getTagsForStencil("applications ", +"runtime services",b).join(" ")),this.createVertexTemplateEntry(d+"saas_applications.svg;",a,a,"","SaaS Applications",!1,null,this.getTagsForStencil("applications ","saas applications",b).join(" ")),this.createVertexTemplateEntry(d+"service_broker.svg;",a,a,"","Service Broker",!1,null,this.getTagsForStencil("applications ","service broker",b).join(" ")),this.createVertexTemplateEntry(d+"speech_to_text.svg;",a,a,"","Speech to Text",!1,null,this.getTagsForStencil("applications ","speech to text",b).join(" ")), +this.createVertexTemplateEntry(d+"visual_recognition.svg;",a,a,"","Visual Recognition",!1,null,this.getTagsForStencil("applications ","visual recognition",b).join(" ")),this.createVertexTemplateEntry(d+"visualization.svg;",a,a,"","Visualization",!1,null,this.getTagsForStencil("applications ","visualization",b).join(" "))];this.addPalette("ibmApplications","IBM / Applications",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addIBMBlockchainPalette= +function(a,b,e,d){d+="blockchain/";var c=[this.createVertexTemplateEntry(d+"blockchain.svg;",a,a,"","Blockchain",!1,null,this.getTagsForStencil("blockchain ","",b).join(" ")),this.createVertexTemplateEntry(d+"blockchain_developer.svg;",a,a,"","Blockchain Developer",!1,null,this.getTagsForStencil("blockchain ","developer",b).join(" ")),this.createVertexTemplateEntry(d+"certificate_authority.svg;",a,a,"","Certificate Authority",!1,null,this.getTagsForStencil("blockchain ","certificate authority",b).join(" ")), +this.createVertexTemplateEntry(d+"client_application.svg;",a,a,"","Client Application",!1,null,this.getTagsForStencil("blockchain ","client application",b).join(" ")),this.createVertexTemplateEntry(d+"communication.svg;",a,a,"","Communication",!1,null,this.getTagsForStencil("blockchain ","communication",b).join(" ")),this.createVertexTemplateEntry(d+"consensus.svg;",a,a,"","Consensus",!1,null,this.getTagsForStencil("blockchain ","communication",b).join(" ")),this.createVertexTemplateEntry(d+"e_cert.svg;", +a,a,"","E-Cert",!1,null,this.getTagsForStencil("blockchain ","ecert e-cert",b).join(" ")),this.createVertexTemplateEntry(d+"event.svg;",a,a,"","Event",!1,null,this.getTagsForStencil("blockchain ","event",b).join(" ")),this.createVertexTemplateEntry(d+"event_listener.svg;",a,a,"","Event Listener",!1,null,this.getTagsForStencil("blockchain ","event listener",b).join(" ")),this.createVertexTemplateEntry(d+"existing_enterprise_systems.svg;",a,a,"","Existing Enterprise Systems",!1,null,this.getTagsForStencil("blockchain ", +"existing enterprise systems",b).join(" ")),this.createVertexTemplateEntry(d+"hyperledger_fabric.svg;",a,a,"","Hyperledger Fabric",!1,null,this.getTagsForStencil("blockchain ","hyperledger fabric",b).join(" ")),this.createVertexTemplateEntry(d+"identity_access_manager.svg;",a,a,"","Identity & Access Manager",!1,null,this.getTagsForStencil("blockchain ","identity access manager",b).join(" ")),this.createVertexTemplateEntry(d+"key_management.svg;",.38*a,.38*a,"","Key Management",!1,null,this.getTagsForStencil("blockchain ", +"key management",b).join(" ")),this.createVertexTemplateEntry(d+"ledger.svg;",a,a,"","Ledger",!1,null,this.getTagsForStencil("blockchain ","ledger",b).join(" ")),this.createVertexTemplateEntry(d+"membership.svg;",a,a,"","Membership",!1,null,this.getTagsForStencil("blockchain ","membership",b).join(" ")),this.createVertexTemplateEntry(d+"membership_services_provider_api.svg;",a,a,"","Membership Services Provider API",!1,null,this.getTagsForStencil("blockchain ","membership services provider api",b).join(" ")), +this.createVertexTemplateEntry(d+"message_bus.svg;",a,a,"","Message Bus",!1,null,this.getTagsForStencil("blockchain ","message bus",b).join(" ")),this.createVertexTemplateEntry(d+"node.svg;",a,a,"","Node",!1,null,this.getTagsForStencil("blockchain ","node",b).join(" ")),this.createVertexTemplateEntry(d+"services.svg;",a,a,"","Services",!1,null,this.getTagsForStencil("blockchain ","services",b).join(" ")),this.createVertexTemplateEntry(d+"smart_contract.svg;",a,a,"","Smart Contract",!1,null,this.getTagsForStencil("blockchain ", +"smart contract",b).join(" ")),this.createVertexTemplateEntry(d+"transaction_manager.svg;",a,a,"","Transaction Manager",!1,null,this.getTagsForStencil("blockchain ","transaction manager",b).join(" ")),this.createVertexTemplateEntry(d+"wallet.svg;",a,a,"","Wallet",!1,null,this.getTagsForStencil("blockchain ","wallet",b).join(" "))];this.addPalette("ibmBlockchain","IBM / Blockchain",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addIBMDataPalette= +function(a,b,e,d){d+="data/";var c=[this.createVertexTemplateEntry(d+"caches.svg;",a,a,"","Caches",!1,null,this.getTagsForStencil("data ","caches",b).join(" ")),this.createVertexTemplateEntry(d+"conversation_trained_deployed.svg;",a,a,"","Conversation (Trained & Deployed)",!1,null,this.getTagsForStencil("data ","conversation trained deployed",b).join(" ")),this.createVertexTemplateEntry(d+"cloud.svg;",a,a,"","Cloud",!1,null,this.getTagsForStencil("data ","cloud",b).join(" ")),this.createVertexTemplateEntry(d+ +"data_services.svg;",a,a,"","Data Services",!1,null,this.getTagsForStencil("data ","data services",b).join(" ")),this.createVertexTemplateEntry(d+"data_sources.svg;",a,a,"","Data Sources",!1,null,this.getTagsForStencil("data ","data sources",b).join(" ")),this.createVertexTemplateEntry(d+"device_identity_service.svg;",a,a,"","Device Identity Service",!1,null,this.getTagsForStencil("data ","device identity service",b).join(" ")),this.createVertexTemplateEntry(d+"device_registry.svg;",a,a,"","Device Registry", +!1,null,this.getTagsForStencil("data ","device registry",b).join(" ")),this.createVertexTemplateEntry(d+"enterprise_data.svg;",a,a,"","Enterprise Data",!1,null,this.getTagsForStencil("data ","enterprise data",b).join(" ")),this.createVertexTemplateEntry(d+"enterprise_user_directory.svg;",a,a,"","Enterprise User Directory",!1,null,this.getTagsForStencil("data ","enterprise user directory",b).join(" ")),this.createVertexTemplateEntry(d+"file_repository.svg;",a,a,"","File Repository",!1,null,this.getTagsForStencil("data ", +"file repository",b).join(" ")),this.createVertexTemplateEntry(d+"ground_truth.svg;",a,a,"","Ground Truth",!1,null,this.getTagsForStencil("data ","ground truth",b).join(" ")),this.createVertexTemplateEntry(d+"model.svg;",a,a,"","Model",!1,null,this.getTagsForStencil("data ","model",b).join(" ")),this.createVertexTemplateEntry(d+"tms_data_interface.svg;",a,a,"","TMS Data Interface",!1,null,this.getTagsForStencil("data ","tms data interface",b).join(" "))];this.addPalette("ibmData","IBM / Data",!1, +mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addIBMDevOpsPalette=function(a,b,e,d){d+="devops/";var c=[this.createVertexTemplateEntry(d+"artifact_management.svg;",a,a,"","Artifact Management",!1,null,this.getTagsForStencil("devops ","artifact management",b).join(" ")),this.createVertexTemplateEntry(d+"build_test.svg;",a,a,"","Build & Test",!1,null,this.getTagsForStencil("devops ","build test",b).join(" ")),this.createVertexTemplateEntry(d+"code_editor.svg;", +a,a,"","Code Editor",!1,null,this.getTagsForStencil("devops ","code editor",b).join(" ")),this.createVertexTemplateEntry(d+"collaborative_development.svg;",a,a,"","Collaborative Development",!1,null,this.getTagsForStencil("devops ","collaborative development",b).join(" ")),this.createVertexTemplateEntry(d+"configuration_management.svg;",a,a,"","Configuration Management",!1,null,this.getTagsForStencil("devops ","configuration management",b).join(" ")),this.createVertexTemplateEntry(d+"continuous_deploy.svg;", +a,a,"","Continuous Deploy",!1,null,this.getTagsForStencil("devops ","continuous deploy",b).join(" ")),this.createVertexTemplateEntry(d+"continuous_testing.svg;",a,a,"","Continuous Testing",!1,null,this.getTagsForStencil("devops ","continuous testing",b).join(" ")),this.createVertexTemplateEntry(d+"devops.svg;",a,a,"","DevOps",!1,null,this.getTagsForStencil("devops ","devops",b).join(" ")),this.createVertexTemplateEntry(d+"provision.svg;",a,a,"","Provision",!1,null,this.getTagsForStencil("devops ", +"provision",b).join(" ")),this.createVertexTemplateEntry(d+"release_management.svg;",a,a,"","Release Management",!1,null,this.getTagsForStencil("devops ","release management",b).join(" "))];this.addPalette("ibmDevOps","IBM / DevOps",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addIBMInfrastructurePalette=function(a,b,e,d){d+="infrastructure/";var c=[this.createVertexTemplateEntry(d+"channels.svg;",a,a,"","Channels",!1,null,this.getTagsForStencil("infrastructure ", +"channels",b).join(" ")),this.createVertexTemplateEntry(d+"cloud_messaging.svg;",a,a,"","Cloud Messaging",!1,null,this.getTagsForStencil("infrastructure ","cloud messaging",b).join(" ")),this.createVertexTemplateEntry(d+"dashboard.svg;",a,a,"","Dashboard",!1,null,this.getTagsForStencil("infrastructure ","dashboard",b).join(" ")),this.createVertexTemplateEntry(d+"diagnostics.svg;",a,a,"","Diagnostics",!1,null,this.getTagsForStencil("infrastructure ","diagnostics",b).join(" ")),this.createVertexTemplateEntry(d+ +"edge_services.svg;",a,a,"","Edge Services",!1,null,this.getTagsForStencil("infrastructure ","edge services",b).join(" ")),this.createVertexTemplateEntry(d+"enterprise_messaging.svg;",a,a,"","Enterprise Messaging",!1,null,this.getTagsForStencil("infrastructure ","enterprise messaging",b).join(" ")),this.createVertexTemplateEntry(d+"event_feed.svg;",a,a,"","Event Feed",!1,null,this.getTagsForStencil("infrastructure ","event feed",b).join(" ")),this.createVertexTemplateEntry(d+"infrastructure_services.svg;", +a,a,"","Infrastructure Services",!1,null,this.getTagsForStencil("infrastructure ","infrastructure services",b).join(" ")),this.createVertexTemplateEntry(d+"interservice_communication.svg;",a,a,"","Interservice Communication",!1,null,this.getTagsForStencil("infrastructure ","interservice communication",b).join(" ")),this.createVertexTemplateEntry(d+"load_balancing_routing.svg;",a,a,"","Load Balancing / Routing",!1,null,this.getTagsForStencil("infrastructure ","load balancing routing",b).join(" ")), +this.createVertexTemplateEntry(d+"microservices_mesh.svg;",a,a,"","Microservices Mesh",!1,null,this.getTagsForStencil("infrastructure ","microservices mesh",b).join(" ")),this.createVertexTemplateEntry(d+"mobile_backend.svg;",a,a,"","Mobile Backend",!1,null,this.getTagsForStencil("infrastructure ","mobile backend",b).join(" ")),this.createVertexTemplateEntry(d+"mobile_provider_network.svg;",a,a,"","Mobile Provider Network",!1,null,this.getTagsForStencil("infrastructure ","mobile provider network", +b).join(" ")),this.createVertexTemplateEntry(d+"monitoring.svg;",a,a,"","Monitoring",!1,null,this.getTagsForStencil("infrastructure ","monitoring",b).join(" ")),this.createVertexTemplateEntry(d+"monitoring_logging.svg;",a,a,"","Monitoring & Logging",!1,null,this.getTagsForStencil("infrastructure ","monitoring logging",b).join(" ")),this.createVertexTemplateEntry(d+"peer_services.svg;",a,a,"","Peer Services",!1,null,this.getTagsForStencil("infrastructure ","peer services",b).join(" ")),this.createVertexTemplateEntry(d+ +"service_discovery_configuration.svg;",a,a,"","Service Discovery & Configuration",!1,null,this.getTagsForStencil("infrastructure ","service discovery configuration",b).join(" ")),this.createVertexTemplateEntry(d+"transformation_connectivity.svg;",a,a,"","Transformation & Connectivity",!1,null,this.getTagsForStencil("infrastructure ","transformation connectivity",b).join(" "))];this.addPalette("ibmInfrastructure","IBM / Infrastructure",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))}; +Sidebar.prototype.addIBMManagementPalette=function(a,b,e,d){d+="management/";var c=[this.createVertexTemplateEntry(d+"alert_notification.svg;",a,a,"","Alert Notification",!1,null,this.getTagsForStencil("management ","alert notification",b).join(" ")),this.createVertexTemplateEntry(d+"api_management.svg;",a,a,"","API Management",!1,null,this.getTagsForStencil("management ","api management",b).join(" ")),this.createVertexTemplateEntry(d+"cloud_management.svg;",a,a,"","Cloud Management",!1,null,this.getTagsForStencil("management ", +"cloud management",b).join(" ")),this.createVertexTemplateEntry(d+"cluster_management.svg;",a,a,"","Cluster Management",!1,null,this.getTagsForStencil("management ","cluster management",b).join(" ")),this.createVertexTemplateEntry(d+"content_management.svg;",a,a,"","Content Management",!1,null,this.getTagsForStencil("management ","content management",b).join(" ")),this.createVertexTemplateEntry(d+"data_services.svg;",a,a,"","Data Services",!1,null,this.getTagsForStencil("management ","data services", +b).join(" ")),this.createVertexTemplateEntry(d+"device_management.svg;",a,a,"","Device Management",!1,null,this.getTagsForStencil("management ","device management",b).join(" ")),this.createVertexTemplateEntry(d+"information_governance.svg;",a,a,"","Information Governance",!1,null,this.getTagsForStencil("management ","information governance",b).join(" ")),this.createVertexTemplateEntry(d+"it_service_management.svg;",a,a,"","IT Service Management",!1,null,this.getTagsForStencil("management ","it service management information technology", +b).join(" ")),this.createVertexTemplateEntry(d+"management.svg;",a,a,"","Management",!1,null,this.getTagsForStencil("management ","management",b).join(" ")),this.createVertexTemplateEntry(d+"monitoring_metrics.svg;",a,a,"","Monitoring & Metrics",!1,null,this.getTagsForStencil("management ","monitoring metrics",b).join(" ")),this.createVertexTemplateEntry(d+"process_management.svg;",a,a,"","Process Management",!1,null,this.getTagsForStencil("management ","process management",b).join(" ")),this.createVertexTemplateEntry(d+ +"provider_cloud_portal_service.svg;",a,a,"","Provider Cloud Portal Service",!1,null,this.getTagsForStencil("management ","provider cloud portal service",b).join(" ")),this.createVertexTemplateEntry(d+"push_notifications.svg;",a,a,"","Push Notifications",!1,null,this.getTagsForStencil("management ","push notifications",b).join(" ")),this.createVertexTemplateEntry(d+"service_management_tools.svg;",a,a,"","Service Management Tools",!1,null,this.getTagsForStencil("management ","service management tools", +b).join(" "))];this.addPalette("ibmManagement","IBM / Management",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addIBMMiscPalette=function(a,b,e,d){d+="miscellaneous/";var c=[this.createVertexTemplateEntry(d+"bluemix.svg;",a,a,"","Bluemix",!1,null,this.getTagsForStencil("miscellaneous ","bluemix",b).join(" ")),this.createVertexTemplateEntry(d+"cloudant.svg;",a,a,"","Cloudant",!1,null,this.getTagsForStencil("miscellaneous ","cloudant",b).join(" ")), +this.createVertexTemplateEntry(d+"cognitive_services.svg;",a,a,"","Cognitive Services",!1,null,this.getTagsForStencil("miscellaneous ","cognitive services",b).join(" ")),this.createVertexTemplateEntry(d+"ibm_containers.svg;",a,a,"","IBM Containers",!1,null,this.getTagsForStencil("miscellaneous ","ibm containers",b).join(" ")),this.createVertexTemplateEntry(d+"ibm_public_cloud.svg;",a,.77*a,"","IBM Public Cloud",!1,null,this.getTagsForStencil("miscellaneous ","ibm public cloud",b).join(" ")),this.createVertexTemplateEntry(d+ +"iot_cloud.svg;",a,.77*a,"","IoT Cloud",!1,null,this.getTagsForStencil("miscellaneous ","iot cloud internet of things",b).join(" ")),this.createVertexTemplateEntry(d+"microservices_application.svg;",a,a,"","Microservices Application",!1,null,this.getTagsForStencil("miscellaneous ","microservices application",b).join(" ")),this.createVertexTemplateEntry(d+"object_storage.svg;",a,a,"","Object Storage",!1,null,this.getTagsForStencil("miscellaneous ","object storage",b).join(" ")),this.createVertexTemplateEntry(d+ +"offline_capabilities.svg;",a,a,"","Offline Capabilities",!1,null,this.getTagsForStencil("miscellaneous ","offline capabilities",b).join(" ")),this.createVertexTemplateEntry(d+"openwhisk.svg;",a,a,"","Openwhisk",!1,null,this.getTagsForStencil("miscellaneous ","openwhisk",b).join(" ")),this.createVertexTemplateEntry(d+"peer_cloud.svg;",a,.77*a,"","Peer Cloud",!1,null,this.getTagsForStencil("miscellaneous ","peer cloud",b).join(" ")),this.createVertexTemplateEntry(d+"retrieve_rank.svg;",a,a,"","Retrieve Rank", +!1,null,this.getTagsForStencil("miscellaneous ","retrieve rank",b).join(" ")),this.createVertexTemplateEntry(d+"scalable.svg;",.25*a,.25*a,"","Scalable",!1,null,this.getTagsForStencil("miscellaneous ","scalable",b).join(" ")),this.createVertexTemplateEntry(d+"text_to_speech.svg;",a,a,"","Text to Speech",!1,null,this.getTagsForStencil("miscellaneous ","text to speech",b).join(" "))];this.addPalette("ibmMiscellaneous","IBM / Miscellaneous",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))}; +Sidebar.prototype.addIBMSecurityPalette=function(a,b,e,d){d+="security/";var c=[this.createVertexTemplateEntry(d+"api_security.svg;",a,a,"","API Security",!1,null,this.getTagsForStencil("security ","api security",b).join(" ")),this.createVertexTemplateEntry(d+"blockchain_security_service.svg;",a,a,"","Blockchain Security Service",!1,null,this.getTagsForStencil("security ","blockchain security service",b).join(" ")),this.createVertexTemplateEntry(d+"data_security.svg;",a,a,"","Data Security",!1,null, +this.getTagsForStencil("security ","data security",b).join(" ")),this.createVertexTemplateEntry(d+"firewall.svg;",a,a,"","Firewall",!1,null,this.getTagsForStencil("security ","firewall",b).join(" ")),this.createVertexTemplateEntry(d+"gateway.svg;",a,a,"","Gateway",!1,null,this.getTagsForStencil("security ","gateway",b).join(" ")),this.createVertexTemplateEntry(d+"governance_risk_compliance.svg;",a,a,"","Governance, Risk & Compliance",!1,null,this.getTagsForStencil("security ","governance risk compliance", +b).join(" ")),this.createVertexTemplateEntry(d+"identity_access_management.svg;",a,a,"","Identity & Access Management",!1,null,this.getTagsForStencil("security ","identity access management",b).join(" ")),this.createVertexTemplateEntry(d+"identity_provider.svg;",a,a,"","Identity Provider",!1,null,this.getTagsForStencil("security ","identity provider",b).join(" ")),this.createVertexTemplateEntry(d+"infrastructure_security.svg;",a,a,"","Infrastructure Security",!1,null,this.getTagsForStencil("security ", +"infrastructure security",b).join(" ")),this.createVertexTemplateEntry(d+"physical_security.svg;",a,a,"","Physical Security",!1,null,this.getTagsForStencil("security ","physical security",b).join(" ")),this.createVertexTemplateEntry(d+"security_monitoring_intelligence.svg;",a,a,"","Security Monitoring & Intelligence",!1,null,this.getTagsForStencil("security ","security monitoring intelligence",b).join(" ")),this.createVertexTemplateEntry(d+"security_services.svg;",a,a,"","Security Services",!1,null, +this.getTagsForStencil("security ","security services",b).join(" ")),this.createVertexTemplateEntry(d+"trustend_computing.svg;",a,a,"","Trustend Computing",!1,null,this.getTagsForStencil("security ","trustend computing",b).join(" ")),this.createVertexTemplateEntry(d+"vpn.svg;",a,a,"","VPN",!1,null,this.getTagsForStencil("security ","vpn virtual private network",b).join(" "))];this.addPalette("ibmSecurity","IBM / Security",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))}; +Sidebar.prototype.addIBMSocialPalette=function(a,b,e,d){d+="social/";var c=[this.createVertexTemplateEntry(d+"communities.svg;",a,a,"","Communities",!1,null,this.getTagsForStencil("social ","communities",b).join(" ")),this.createVertexTemplateEntry(d+"file_sync.svg;",a,a,"","File Sync",!1,null,this.getTagsForStencil("social ","file sync",b).join(" ")),this.createVertexTemplateEntry(d+"live_collaboration.svg;",a,a,"","Live Collaboration",!1,null,this.getTagsForStencil("social ","live collaboration", +b).join(" ")),this.createVertexTemplateEntry(d+"messaging.svg;",a,a,"","Messaging",!1,null,this.getTagsForStencil("social ","messaging",b).join(" ")),this.createVertexTemplateEntry(d+"networking.svg;",a,a,"","Networking",!1,null,this.getTagsForStencil("social ","networking",b).join(" "))];this.addPalette("ibmSocial","IBM / Social",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addIBMUsersPalette=function(a,b,e,d){d+="users/";var c=[this.createVertexTemplateEntry(d+ +"browser.svg;",a,a,"","Browser",!1,null,this.getTagsForStencil("users ","browser",b).join(" ")),this.createVertexTemplateEntry(d+"device.svg;",a,a,"","Device",!1,null,this.getTagsForStencil("users ","device",b).join(" ")),this.createVertexTemplateEntry(d+"integrated_digital_experiences.svg;",a,a,"","Integrated Digital Experiences",!1,null,this.getTagsForStencil("users ","integrated digital experiences",b).join(" ")),this.createVertexTemplateEntry(d+"physical_entity.svg;",a,a,"","Physical Entity", +!1,null,this.getTagsForStencil("users ","physical entity",b).join(" ")),this.createVertexTemplateEntry(d+"sensor.svg;",a,a,"","Sensor",!1,null,this.getTagsForStencil("users ","sensor",b).join(" ")),this.createVertexTemplateEntry(d+"user.svg;",a,a,"","User",!1,null,this.getTagsForStencil("users ","user",b).join(" "))];this.addPalette("ibmUsers","IBM / Users",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addIBMVPCPalette=function(a,b,e,d){d+= +"vpc/";var c=[this.createVertexTemplateEntry(d+"Instance.svg;",a,a,"","Instance",!1,null,this.getTagsForStencil("vpc virtual private cloud ","instance",b).join(" ")),this.createVertexTemplateEntry(d+"LoadBalancer.svg;",a,a,"","Load Balancer",!1,null,this.getTagsForStencil("vpc virtual private cloud ","load balancer",b).join(" ")),this.createVertexTemplateEntry(d+"BareMetalServer.svg;",a,a,"","Bare Metal Server",!1,null,this.getTagsForStencil("vpc virtual private cloud ","bare metal server",b).join(" ")), +this.createVertexTemplateEntry(d+"BlockStorage.svg;",a,a,"","Block Storage",!1,null,this.getTagsForStencil("vpc virtual private cloud ","block storage",b).join(" ")),this.createVertexTemplateEntry(d+"FloatingIP.svg;",a,a,"","Floating IP",!1,null,this.getTagsForStencil("vpc virtual private cloud ","floating ip internet protocol",b).join(" ")),this.createVertexTemplateEntry(d+"PublicGateway.svg;",a,a,"","Public Gateway",!1,null,this.getTagsForStencil("vpc virtual private cloud ","public gateway",b).join(" ")), +this.createVertexTemplateEntry(d+"ObjectStorage.svg;",a,a,"","Object Storage",!1,null,this.getTagsForStencil("vpc virtual private cloud ","object storage",b).join(" ")),this.createVertexTemplateEntry(d+"VPNConnection.svg;",a,a,"","VPN Connection",!1,null,this.getTagsForStencil("vpc virtual private cloud ","connection",b).join(" ")),this.createVertexTemplateEntry(d+"VPNGateway.svg;",a,a,"","VPN Gateway",!1,null,this.getTagsForStencil("vpc virtual private cloud ","gateway",b).join(" ")),this.createVertexTemplateEntry(d+ +"DirectLink.svg;",a,a,"","Direct Link",!1,null,this.getTagsForStencil("vpc virtual private cloud ","direct link",b).join(" ")),this.createVertexTemplateEntry(d+"ImageService.svg;",a,a,"","Image Service",!1,null,this.getTagsForStencil("vpc virtual private cloud ","image service",b).join(" ")),this.createVertexTemplateEntry(d+"LoadBalancerPool.svg;",a,a,"","Load Balancer Pool",!1,null,this.getTagsForStencil("vpc virtual private cloud ","load balancer pool",b).join(" ")),this.createVertexTemplateEntry(d+ +"LoadBalancerListener.svg;",a,a,"","Load Balancer Listener",!1,null,this.getTagsForStencil("vpc virtual private cloud ","load balancer listener",b).join(" ")),this.createVertexTemplateEntry(d+"Rules.svg;",a,a,"","Rules",!1,null,this.getTagsForStencil("vpc virtual private cloud ","load balancer listener",b).join(" ")),this.createVertexTemplateEntry(d+"Key.svg;",a,a,"","Key",!1,null,this.getTagsForStencil("vpc virtual private cloud ","key",b).join(" ")),this.createVertexTemplateEntry(d+"VPNPolicy.svg;", +a,a,"","VPN Policy",!1,null,this.getTagsForStencil("vpc virtual private cloud ","policy",b).join(" ")),this.createVertexTemplateEntry(d+"InternetServices2.svg;",a,a,"","Internet Services",!1,null,this.getTagsForStencil("vpc virtual private cloud ","internet services",b).join(" ")),this.createVertexTemplateEntry(d+"Router.svg;",a,a,"","Router",!1,null,this.getTagsForStencil("vpc virtual private cloud ","router",b).join(" ")),this.createVertexTemplateEntry(d+"Bridge.svg;",a,a,"","Bridge",!1,null,this.getTagsForStencil("vpc virtual private cloud ", +"bridge",b).join(" ")),this.addEntry(b+"ibm cloud",function(){var a=new mxCell("IBM Cloud",new mxGeometry(0,0,200,200),"swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=12;strokeColor=#417CB9;verticalAlign=top;align=left;spacingLeft=30;spacingTop=1;dashed=0;strokeWidth=1;");a.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,30,30),d+"CloudTag.svg;part=1;");b.vertex=!0;a.insert(b); +return e.createVertexTemplateFromCells([a],200,200,"IBM Cloud")}),this.addEntry(b+"",function(){var a=new mxCell("VPC",new mxGeometry(0,0,200,200),"swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=12;strokeColor=#417CB9;verticalAlign=top;align=left;spacingLeft=30;spacingTop=1;dashed=0;strokeWidth=1;");a.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,30,30),d+"VPCTag.svg;part=1;"); +b.vertex=!0;a.insert(b);return e.createVertexTemplateFromCells([a],200,200,"VPC")}),this.addEntry(b+"",function(){var a=new mxCell("Region",new mxGeometry(0,0,200,200),"swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=0;strokeColor=#00882B;verticalAlign=top;align=left;spacingLeft=30;dashed=1;strokeWidth=1;container=1;dashPattern=1 1;");a.vertex=!0;var b=new mxCell("",new mxGeometry(0, +0,30,30),d+"RegionTag.svg;part=1;");b.vertex=!0;a.insert(b);return e.createVertexTemplateFromCells([a],200,200,"Region")}),this.addEntry(b+"",function(){var a=new mxCell("Zone",new mxGeometry(0,0,200,200),"swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=0;strokeColor=#00882B;verticalAlign=top;align=left;spacingLeft=30;dashed=1;strokeWidth=1;container=1;");a.vertex=!0;var b= +new mxCell("",new mxGeometry(0,0,30,30),d+"ZoneTag.svg;part=1;");b.vertex=!0;a.insert(b);return e.createVertexTemplateFromCells([a],200,200,"Zone")}),this.addEntry(b+"",function(){var a=new mxCell("Subnet",new mxGeometry(0,0,200,200),"swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=12;strokeColor=#2A8838;verticalAlign=top;align=left;spacingLeft=30;spacingTop=1;dashed=0;strokeWidth=1;"); +a.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,30,40),d+"SubnetTag.svg;part=1;");b.vertex=!0;a.insert(b);return e.createVertexTemplateFromCells([a],200,200,"Subnet")}),this.createVertexTemplateEntry("rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=0;strokeColor=#FD0000;fillColor=none;verticalAlign=top;align=center;spacingLeft=5;dashed=1;dashPattern=5 2;labelPosition=center;verticalLabelPosition=bottom;strokeWidth=2;",200,200,"Security Group","Security Group",!0,null,this.getTagsForStencil("vpc virtual private cloud ", +"",b).join(" ")),this.addEntry(b+"",function(){var a=new mxCell("Classic Infrastructure",new mxGeometry(0,0,200,200),"swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=0;strokeColor=#4376BB;verticalAlign=top;align=left;spacingLeft=30;dashed=0;strokeWidth=1;container=1;");a.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,30,30),d+"ClassicInfrastructureTag.svg;part=1;");b.vertex= +!0;a.insert(b);return e.createVertexTemplateFromCells([a],200,200,"Classic Infrastructure")}),this.createVertexTemplateEntry("swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=0;strokeColor=#4376BB;verticalAlign=top;align=left;spacingLeft=30;dashed=0;strokeWidth=1;container=1;",200,200,"Other Group","Other Group",!0,null,this.getTagsForStencil("vpc virtual private cloud ","", +b).join(" ")),this.addEntry(b+"",function(){var a=new mxCell("",new mxGeometry(0,0,320,200),"swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=0;strokeColor=#4376BB;verticalAlign=top;align=left;spacingLeft=5;dashed=0;strokeWidth=1;container=1;");a.vertex=!0;var b=new mxCell("Public",new mxGeometry(15,0,30,30),"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;labelBackgroundColor=none;fontSize=12;spacingTop=-5;image;image=img/lib/ibm/vpc/PublicTag.svg;part=1;"); +b.vertex=!0;a.insert(b);b=new mxCell("Enterprise",new mxGeometry(275,0,30,30),"aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;labelBackgroundColor=none;fontSize=12;spacingTop=-5;image;image=img/lib/ibm/vpc/EnterpriseTag.svg;part=1;");b.vertex=!0;a.insert(b);b=new mxCell("IBM Cloud",new mxGeometry(60,0,200,200),"swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=12;strokeColor=#417CB9;verticalAlign=top;align=left;spacingLeft=30;spacingTop=1;dashed=0;strokeWidth=1;"); +b.vertex=!0;a.insert(b);var c=new mxCell("",new mxGeometry(0,0,30,30),d+"CloudTag.svg;part=1;");c.vertex=!0;b.insert(c);return e.createVertexTemplateFromCells([a],320,200,"Cloud Universe")}),this.createVertexTemplateEntry(d+"CloudTag.svg;",.5*a,.5*a,"","IBM Cloud tag",!1,null,this.getTagsForStencil("vpc virtual private cloud ","cloud tag ibm",b).join(" ")),this.createVertexTemplateEntry(d+"VPCTag.svg;",.5*a,.5*a,"","VPC tag",!1,null,this.getTagsForStencil("vpc virtual private cloud ","tag",b).join(" ")), +this.createVertexTemplateEntry(d+"RegionTag.svg;",.5*a,.5*a,"","Region tag",!1,null,this.getTagsForStencil("vpc virtual private cloud ","region tag",b).join(" ")),this.createVertexTemplateEntry(d+"ZoneTag.svg;",.5*a,.5*a,"","Zone tag",!1,null,this.getTagsForStencil("vpc virtual private cloud ","zone tag",b).join(" ")),this.createVertexTemplateEntry(d+"SubnetTag.svg;",.37*a,.5*a,"","Subnet tag",!1,null,this.getTagsForStencil("vpc virtual private cloud ","subnet tag",b).join(" ")),this.createVertexTemplateEntry(d+ +"EnterpriseTag.svg;",.5*a,.5*a,"","Enterprise tag",!1,null,this.getTagsForStencil("vpc virtual private cloud ","enterprise tag",b).join(" ")),this.createVertexTemplateEntry(d+"PublicTag.svg;",.5*a,.5*a,"","Public tag",!1,null,this.getTagsForStencil("vpc virtual private cloud ","public tag",b).join(" ")),this.createVertexTemplateEntry(d+"ClassicInfrastructureTag.svg;",.5*a,.5*a,"","Classic Infrastructure tag",!1,null,this.getTagsForStencil("vpc virtual private cloud ","classic tag",b).join(" ")),this.createVertexTemplateEntry(d+ +"Internet.svg;",a,a,"","Internet",!1,null,this.getTagsForStencil("vpc virtual private cloud ","internet",b).join(" ")),this.createVertexTemplateEntry(d+"Enterprise.svg;",a,a,"","Data Center",!1,null,this.getTagsForStencil("vpc virtual private cloud ","dat acenter",b).join(" ")),this.createVertexTemplateEntry(d+"Enterprise2.svg;",a,.8*a,"","Enterprise",!1,null,this.getTagsForStencil("vpc virtual private cloud ","enterprise",b).join(" ")),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=classicThin;endFill=1;rounded=0;strokeWidth=1;startArrow=classicThin;startFill=1;", +a,a,"","Bidirectional Connector",null,b+"bidirectional connector"),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=classicThin;endFill=1;rounded=0;strokeWidth=1;",a,a,"","Directional Connector",null,b+"directional connector"),this.createEdgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=none;endFill=0;rounded=0;strokeWidth=1;",a,a,"","Nondirectional Connector",null,b+"nondirectional connector")];this.addPalette("ibmVPC","IBM / VPC", +!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))}})();(function(){Sidebar.prototype.addInfographicPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shape=mxgraph.infographic.",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shape=mxgraph.basic.";this.addPaletteFunctions("infographic","Infographic",!1,[this.createVertexTemplateEntry(b+"pie;fillColor=#10739E;strokeColor=none;startAngle=0.2;endAngle=0.9;",100,100,"","Pie",null, null,this.getTagsForStencil("mxgraph.infographic","pie","").join(" ")),this.createVertexTemplateEntry(b+"arc;strokeColor=#10739E;strokeWidth=6;startAngle=0.3;endAngle=0.1;",100,100,"","Arc",null,null,this.getTagsForStencil("mxgraph.infographic","arc","").join(" ")),this.createVertexTemplateEntry(b+"partConcEllipse;fillColor=#10739E;strokeColor=none;startAngle=0.25;endAngle=0.1;arcWidth=0.5;",100,100,"","Partial Concentric Ellipse",null,null,this.getTagsForStencil("mxgraph.infographic","partConcEllipse", "").join(" ")),this.createVertexTemplateEntry(a+"parallelogram;dx=15;fillColor=#10739E;strokeColor=none;",100,70,"","Trapezoid",null,null,this.getTagsForStencil("mxgraph.infographic","partConcEllipse","").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=20;fillColor=#10739E;strokeColor=none;align=center;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;",200,40,"Label","Ribbon",null,null,this.getTagsForStencil("mxgraph.infographic", "ribbonRolled","").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.infographic.ribbonRolled;dx=185;dy=15;fillColor=#10739E;strokeColor=none;align=center;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;",200,70,"Label","Ribbon (rolled)",null,null,this.getTagsForStencil("mxgraph.infographic","ribbonRolled","").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.infographic.ribbonDoubleFolded;dx=25;dy=15;fillColor=#10739E;strokeColor=none;align=center;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;", @@ -5863,305 +5861,304 @@ null,this.getTagsForStencil("mxgraph.infographic","pie","").join(" ")),this.crea 200,70,"Label","Bar with callout",null,null,this.getTagsForStencil("mxgraph.infographic","ribbonRolled","").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.infographic.flag;dx=30;dy=20;fillColor=#10739E;strokeColor=none;align=center;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingTop=5;",200,70,"Label","Flag",null,null,this.getTagsForStencil("mxgraph.infographic","flag","").join(" ")),this.createVertexTemplateEntry(a+"shadedTriangle;fillColor=#10739E;strokeColor=none;", 80,100,"","Triangle",null,null,this.getTagsForStencil("mxgraph.infographic","shadedTriangle","").join(" ")),this.createVertexTemplateEntry(a+"shadedPyramid;fillColor=#10739E;strokeColor=none;",60,100,"","Pyramid",null,null,this.getTagsForStencil("mxgraph.infographic","shadedTriangle","").join(" ")),this.createVertexTemplateEntry(a+"pyramidStep;fillColor=#10739E;strokeColor=none;",60,100,"","Pyramid step",null,null,this.getTagsForStencil("mxgraph.infographic","pyramidStep","").join(" ")),this.createVertexTemplateEntry(a+ "cylinder;fillColor=#10739E;strokeColor=none;",60,100,"","Cylinder",null,null,this.getTagsForStencil("mxgraph.infographic","cylinder","").join(" ")),this.createVertexTemplateEntry(a+"shadedCube;isoAngle=15;fillColor=#10739E;strokeColor=none;",100,100,"","Cube",null,null,this.getTagsForStencil("mxgraph.infographic","shaded cube","").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;fillColor=#10739E;strokeColor=none;startAngle=0;endAngle=0.75;arcWidth=0.4;fontSize=20;fontColor=#10739E;align=center;fontStyle=1;", -100,100,"75%","Partial Concentric Ellipse",null,null,this.getTagsForStencil("mxgraph.infographic","partConcEllipse","").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=middle;verticalAlign=bottom;html=1;shape=mxgraph.infographic.circularDial;dy=15;fillColor=#10739E;strokeColor=none;labelPosition=center;align=center;fontColor=#FFFFFF;fontStyle=1;fontSize=15;spacingBottom=5;",80,100*1.1,"Label","Circular Dial",null,null,this.getTagsForStencil("mxgraph.infographic","circularDial","").join(" ")), -this.addEntry("chevron list",function(){var a=new mxCell("LABEL",new mxGeometry(0,0,200,30),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#10739E;strokeColor=none;fontSize=17;fontColor=#FFFFFF;fontStyle=1;align=center;");a.vertex=!0;var b=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.",new mxGeometry(0,40,190,120),"shape=rect;fillColor=#B1DDF0;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;"); +100,100,"75%","Partial Concentric Ellipse",null,null,this.getTagsForStencil("mxgraph.infographic","partConcEllipse","").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=middle;verticalAlign=bottom;html=1;shape=mxgraph.infographic.circularDial;dy=15;fillColor=#10739E;strokeColor=none;labelPosition=center;align=center;fontStyle=1;fontSize=15;spacingBottom=5;",80,100*1.1,"Label","Circular Dial",null,null,this.getTagsForStencil("mxgraph.infographic","circularDial","").join(" ")),this.addEntry("chevron list", +function(){var a=new mxCell("LABEL",new mxGeometry(0,0,200,30),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#10739E;strokeColor=none;fontSize=17;fontStyle=1;align=center;");a.vertex=!0;var b=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.",new mxGeometry(0,40,190,120),"shape=rect;fillColor=#B1DDF0;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;"); b.vertex=!0;return sb.createVertexTemplateFromCells([a,b],200,160,"Chevron list")}),this.addEntry("roadmap vertical",function(){var a=new mxCell("",new mxGeometry(0,0,70,80),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;direction=south;fillColor=#10739E;strokeColor=none;rounded=0;");a.vertex=!0;var b=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#10739E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>', new mxGeometry(100,0,200,70),"rounded=1;strokeColor=none;fillColor=#DDDDDD;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");b.vertex=!0;return sb.createVertexTemplateFromCells([a,b],300,70,"Roadmap (vertical)")}),this.addEntry("numbered entry",function(){var a=new mxCell("Label",new mxGeometry(30,10,170,40),"shape=rect;rounded=1;whiteSpace=wrap;html=1;shadow=0;strokeColor=none;fillColor=#B1DDF0;arcSize=30;fontSize=14;spacingLeft=42;fontStyle=1;fontColor=#FFFFFF;align=left;"); a.vertex=!0;var b=new mxCell("1",new mxGeometry(0,0,60,60),"shape=ellipse;perimeter=ellipsePerimeter;fontSize=22;fontStyle=1;shadow=0;strokeColor=#ffffff;fillColor=#10739E;strokeWidth=4;fontColor=#ffffff;align=center;");b.vertex=!0;return sb.createVertexTemplateFromCells([a,b],200,60,"Numbered Entry")}),this.createVertexTemplateEntry(mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=middle;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shape=mxgraph.infographic.numberedEntryVert;dy=25;fillColor=#10739E;strokeColor=none;fontSize=17;fontColor=#FFFFFF;align=center;labelPosition=center;spacingTop=32;fontStyle=1;", 80,160,"Label","Numbered Entry (vertical)",null,null,this.getTagsForStencil("mxgraph.infographic","numberedEntryVert","").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.bendingArch;startAngle=0.75;endAngle=0.25;arcWidth=0.25;fillColor=#10739E;strokeColor=none;fontSize=19;fontColor=#FFFFFF;labelPosition=center;align=center;fontStyle=1",100,100,"50%","Bending Arch",null,null,this.getTagsForStencil("mxgraph.infographic","bendingArch", -"").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout;dy=15;fillColor=#10739E;strokeColor=none;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;",100,100,"50%","Circular Callout",null,null,this.getTagsForStencil("mxgraph.infographic","circularCallout","").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;fillColor=#ffffff;strokeColor=#10739E;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;", -60,140,"","Circular Callout",null,null,this.getTagsForStencil("mxgraph.infographic","circularCallout2","").join(" ")),this.addEntry("circular dial",function(){var a=new mxCell("",new mxGeometry(0,0,100,100),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#10739E;fontSize=10;fontColor=#000000;align=center;fillOpacity=20;");a.vertex=!0;var b=new mxCell("65%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.65;arcWidth=0.2;strokeColor=none;fillColor=#10739E;fontSize=22;fontColor=#10739E;align=center;fontStyle=1"); +"").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout;dy=15;fillColor=#10739E;strokeColor=none;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;",100,100,"50%","Circular Callout",null,null,this.getTagsForStencil("mxgraph.infographic","circularCallout","").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;strokeColor=#10739E;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;", +60,140,"","Circular Callout",null,null,this.getTagsForStencil("mxgraph.infographic","circularCallout2","").join(" ")),this.addEntry("circular dial",function(){var a=new mxCell("",new mxGeometry(0,0,100,100),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#10739E;fontSize=10;align=center;fillOpacity=20;");a.vertex=!0;var b=new mxCell("65%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.65;arcWidth=0.2;strokeColor=none;fillColor=#10739E;fontSize=22;fontColor=#10739E;align=center;fontStyle=1"); b.vertex=!0;a.insert(b);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Circular Dial")}),this.addEntry("angled entry",function(){var a=new mxCell("1",new mxGeometry(0,0,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#10739E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");a.vertex=!0;var b=new mxCell("Label",new mxGeometry(45,0,95,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#B1DDF0;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;"); b.vertex=!0;return sb.createVertexTemplateFromCells([a,b],140,30,"Angled Entry")}),this.addEntry("chevron list",function(){var a=new mxCell("LABEL",new mxGeometry(0,0,200,30),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#10739E;strokeColor=none;fontSize=17;fontColor=#FFFFFF;fontStyle=1;align=center;rounded=0;");a.vertex=!0;var b=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.", -new mxGeometry(0,40,190,120),"shape=rect;fillColor=#B1DDF0;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");b.vertex=!0;var d=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.",new mxGeometry(0,170,190,120),"shape=rect;fillColor=#B1DDF0;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;"); -d.vertex=!0;var f=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.",new mxGeometry(0,300,190,120),"shape=rect;fillColor=#B1DDF0;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");f.vertex=!0;var g=new mxCell("LABEL",new mxGeometry(200,0,200,30),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#F2931E;strokeColor=none;fontSize=17;fontColor=#FFFFFF;fontStyle=1;align=center;rounded=0;"); -g.vertex=!0;var h=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.",new mxGeometry(200,40,190,120),"shape=rect;fillColor=#FCE7CD;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");h.vertex=!0;var k=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.", -new mxGeometry(200,170,190,120),"shape=rect;fillColor=#FCE7CD;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");k.vertex=!0;var l=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.",new mxGeometry(200,300,190,120),"shape=rect;fillColor=#FCE7CD;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;"); -l.vertex=!0;var m=new mxCell("LABEL",new mxGeometry(400,0,200,30),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#AE4132;strokeColor=none;fontSize=17;fontColor=#FFFFFF;fontStyle=1;align=center;rounded=0;");m.vertex=!0;var q=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.",new mxGeometry(400,40,190,120),"shape=rect;fillColor=#FAD9D5;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;"); -q.vertex=!0;var r=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.",new mxGeometry(400,170,190,120),"shape=rect;fillColor=#FAD9D5;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");r.vertex=!0;var n=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.", -new mxGeometry(400,300,190,120),"shape=rect;fillColor=#FAD9D5;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");n.vertex=!0;var p=new mxCell("LABEL",new mxGeometry(600,0,200,30),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#23445D;strokeColor=none;fontSize=17;fontColor=#FFFFFF;fontStyle=1;align=center;rounded=0;");p.vertex=!0;var u=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.", -new mxGeometry(600,40,190,120),"shape=rect;fillColor=#BAC8D3;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");u.vertex=!0;var t=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.",new mxGeometry(600,170,190,120),"shape=rect;fillColor=#BAC8D3;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;"); -t.vertex=!0;var y=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.",new mxGeometry(600,300,190,120),"shape=rect;fillColor=#BAC8D3;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");y.vertex=!0;var x=new mxCell("LABEL",new mxGeometry(800,0,200,30),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#12AAB5;strokeColor=none;fontSize=17;fontColor=#FFFFFF;fontStyle=1;align=center;rounded=0;"); -x.vertex=!0;var w=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.",new mxGeometry(800,40,190,120),"shape=rect;fillColor=#B0E3E6;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");w.vertex=!0;var v=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.", -new mxGeometry(800,170,190,120),"shape=rect;fillColor=#B0E3E6;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");v.vertex=!0;var z=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.",new mxGeometry(800,300,190,120),"shape=rect;fillColor=#B0E3E6;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;"); -z.vertex=!0;return sb.createVertexTemplateFromCells([a,g,m,p,x,b,d,f,h,k,l,q,r,n,u,t,y,w,v,z],1E3,420,"Chevron list")}),this.addEntry("roadmap vertical",function(){var a=new mxCell("",new mxGeometry(0,0,70,80),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;direction=south;fillColor=#10739E;strokeColor=none;rounded=0;");a.vertex=!0;var b=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#10739E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>', -new mxGeometry(100,0,200,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");b.vertex=!0;var d=new mxCell("",new mxGeometry(0,80,70,80),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;direction=south;fillColor=#F2931E;strokeColor=none;rounded=0;");d.vertex=!0;var f=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#F2931E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>', +new mxGeometry(0,40,190,120),"shape=rect;fillColor=#B1DDF0;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");b.vertex=!0;var c=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.",new mxGeometry(0,170,190,120),"shape=rect;fillColor=#B1DDF0;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;"); +c.vertex=!0;var f=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.",new mxGeometry(0,300,190,120),"shape=rect;fillColor=#B1DDF0;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");f.vertex=!0;var g=new mxCell("LABEL",new mxGeometry(200,0,200,30),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#F2931E;strokeColor=none;fontSize=17;fontColor=#FFFFFF;fontStyle=1;align=center;rounded=0;"); +g.vertex=!0;var h=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.",new mxGeometry(200,40,190,120),"shape=rect;fillColor=#FCE7CD;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");h.vertex=!0;var k=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.", +new mxGeometry(200,170,190,120),"shape=rect;fillColor=#FCE7CD;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");k.vertex=!0;var l=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.",new mxGeometry(200,300,190,120),"shape=rect;fillColor=#FCE7CD;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;"); +l.vertex=!0;var m=new mxCell("LABEL",new mxGeometry(400,0,200,30),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#AE4132;strokeColor=none;fontSize=17;fontColor=#FFFFFF;fontStyle=1;align=center;rounded=0;");m.vertex=!0;var q=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.",new mxGeometry(400,40,190,120),"shape=rect;fillColor=#FAD9D5;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;"); +q.vertex=!0;var r=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.",new mxGeometry(400,170,190,120),"shape=rect;fillColor=#FAD9D5;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");r.vertex=!0;var n=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.", +new mxGeometry(400,300,190,120),"shape=rect;fillColor=#FAD9D5;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");n.vertex=!0;var p=new mxCell("LABEL",new mxGeometry(600,0,200,30),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#23445D;strokeColor=none;fontSize=17;fontColor=#FFFFFF;fontStyle=1;align=center;rounded=0;");p.vertex=!0;var u=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.", +new mxGeometry(600,40,190,120),"shape=rect;fillColor=#BAC8D3;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");u.vertex=!0;var t=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.",new mxGeometry(600,170,190,120),"shape=rect;fillColor=#BAC8D3;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;"); +t.vertex=!0;var y=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.",new mxGeometry(600,300,190,120),"shape=rect;fillColor=#BAC8D3;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");y.vertex=!0;var x=new mxCell("LABEL",new mxGeometry(800,0,200,30),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#12AAB5;strokeColor=none;fontSize=17;fontColor=#FFFFFF;fontStyle=1;align=center;rounded=0;"); +x.vertex=!0;var w=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.",new mxGeometry(800,40,190,120),"shape=rect;fillColor=#B0E3E6;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");w.vertex=!0;var v=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.", +new mxGeometry(800,170,190,120),"shape=rect;fillColor=#B0E3E6;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");v.vertex=!0;var z=new mxCell(" - Lorem ipsum dolor sit amet<br> - consectetur adipisicing elit<br> - sed do eiusmod tempor<br> - incididunt ut labore et dolore<br> - magna aliqua.",new mxGeometry(800,300,190,120),"shape=rect;fillColor=#B0E3E6;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;"); +z.vertex=!0;return sb.createVertexTemplateFromCells([a,g,m,p,x,b,c,f,h,k,l,q,r,n,u,t,y,w,v,z],1E3,420,"Chevron list")}),this.addEntry("roadmap vertical",function(){var a=new mxCell("",new mxGeometry(0,0,70,80),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;direction=south;fillColor=#10739E;strokeColor=none;rounded=0;");a.vertex=!0;var b=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#10739E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>', +new mxGeometry(100,0,200,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,80,70,80),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;direction=south;fillColor=#F2931E;strokeColor=none;rounded=0;");c.vertex=!0;var f=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#F2931E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>', new mxGeometry(100,80,200,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");f.vertex=!0;var g=new mxCell("",new mxGeometry(0,160,70,80),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;direction=south;fillColor=#AE4132;strokeColor=none;rounded=0;");g.vertex=!0;var h=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#AE4132"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>', new mxGeometry(100,160,200,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");h.vertex=!0;var k=new mxCell("",new mxGeometry(0,240,70,80),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;direction=south;fillColor=#23445D;strokeColor=none;rounded=0;");k.vertex=!0;var l=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#23445D"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>', new mxGeometry(100,240,200,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");l.vertex=!0;var m=new mxCell("",new mxGeometry(0,320,70,80),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;direction=south;fillColor=#12AAB5;strokeColor=none;rounded=0;");m.vertex=!0;var q=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#12AAB5"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>', -new mxGeometry(100,320,200,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");q.vertex=!0;return sb.createVertexTemplateFromCells([a,d,g,k,m,b,f,h,l,q],300,400,"Roadmap (vertical)")}),this.addEntry("numbered list",function(){var a=new mxCell("Label",new mxGeometry(30,10,220,40),"shape=rect;rounded=1;whiteSpace=wrap;html=1;shadow=0;strokeColor=none;fillColor=#64BBE2;arcSize=30;fontSize=14;spacingLeft=42;fontStyle=1;fontColor=#FFFFFF;align=left;"); -a.vertex=!0;var b=new mxCell("1",new mxGeometry(0,0,60,60),"shape=ellipse;perimeter=ellipsePerimeter;fontSize=22;fontStyle=1;shadow=0;strokeColor=#ffffff;fillColor=#10739E;strokeWidth=4;fontColor=#ffffff;align=center;");b.vertex=!0;var d=new mxCell("Label",new mxGeometry(30,75,220,40),"shape=rect;rounded=1;whiteSpace=wrap;html=1;shadow=0;strokeColor=none;fillColor=#F8C382;arcSize=30;fontSize=14;spacingLeft=42;fontStyle=1;fontColor=#FFFFFF;align=left;");d.vertex=!0;var f=new mxCell("2",new mxGeometry(0, +new mxGeometry(100,320,200,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");q.vertex=!0;return sb.createVertexTemplateFromCells([a,c,g,k,m,b,f,h,l,q],300,400,"Roadmap (vertical)")}),this.addEntry("numbered list",function(){var a=new mxCell("Label",new mxGeometry(30,10,220,40),"shape=rect;rounded=1;whiteSpace=wrap;html=1;shadow=0;strokeColor=none;fillColor=#64BBE2;arcSize=30;fontSize=14;spacingLeft=42;fontStyle=1;fontColor=#FFFFFF;align=left;"); +a.vertex=!0;var b=new mxCell("1",new mxGeometry(0,0,60,60),"shape=ellipse;perimeter=ellipsePerimeter;fontSize=22;fontStyle=1;shadow=0;strokeColor=#ffffff;fillColor=#10739E;strokeWidth=4;fontColor=#ffffff;align=center;");b.vertex=!0;var c=new mxCell("Label",new mxGeometry(30,75,220,40),"shape=rect;rounded=1;whiteSpace=wrap;html=1;shadow=0;strokeColor=none;fillColor=#F8C382;arcSize=30;fontSize=14;spacingLeft=42;fontStyle=1;fontColor=#FFFFFF;align=left;");c.vertex=!0;var f=new mxCell("2",new mxGeometry(0, 65,60,60),"shape=ellipse;perimeter=ellipsePerimeter;fontSize=22;fontStyle=1;shadow=0;strokeColor=#ffffff;fillColor=#F2931E;strokeWidth=4;fontColor=#ffffff;align=center;");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(30,140,220,40),"shape=rect;rounded=1;whiteSpace=wrap;html=1;shadow=0;strokeColor=none;fillColor=#F08E81;arcSize=30;fontSize=14;spacingLeft=42;fontStyle=1;fontColor=#FFFFFF;align=left;");g.vertex=!0;var h=new mxCell("3",new mxGeometry(0,130,60,60),"shape=ellipse;perimeter=ellipsePerimeter;fontSize=22;fontStyle=1;shadow=0;strokeColor=#ffffff;fillColor=#AE4132;strokeWidth=4;fontColor=#ffffff;align=center;"); h.vertex=!0;var k=new mxCell("Label",new mxGeometry(30,205,220,40),"shape=rect;rounded=1;whiteSpace=wrap;html=1;shadow=0;strokeColor=none;fillColor=#5D7F99;arcSize=30;fontSize=14;spacingLeft=42;fontStyle=1;fontColor=#FFFFFF;align=left;");k.vertex=!0;var l=new mxCell("4",new mxGeometry(0,195,60,60),"shape=ellipse;perimeter=ellipsePerimeter;fontSize=22;fontStyle=1;shadow=0;strokeColor=#ffffff;fillColor=#23445D;strokeWidth=4;fontColor=#ffffff;align=center;");l.vertex=!0;var m=new mxCell("Label",new mxGeometry(30, -270,220,40),"shape=rect;rounded=1;whiteSpace=wrap;html=1;shadow=0;strokeColor=none;fillColor=#61C6CE;arcSize=30;fontSize=14;spacingLeft=42;fontStyle=1;fontColor=#FFFFFF;align=left;");m.vertex=!0;var q=new mxCell("5",new mxGeometry(0,260,60,60),"shape=ellipse;perimeter=ellipsePerimeter;fontSize=22;fontStyle=1;shadow=0;strokeColor=#ffffff;fillColor=#12AAB5;strokeWidth=4;fontColor=#ffffff;align=center;");q.vertex=!0;return sb.createVertexTemplateFromCells([a,b,d,f,g,h,k,l,m,q],200,320,"Numbered List")}), -this.addEntry("list",function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=middle;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shape=mxgraph.infographic.numberedEntryVert;dy=25;strokeColor=none;fontSize=17;fontColor=#FFFFFF;align=center;labelPosition=center;spacingTop=32;fontStyle=1;fillColor=#",b=new mxCell("Label",new mxGeometry(0,0,80,160),a+"10739E;");b.vertex=!0;var d=new mxCell("Label",new mxGeometry(85,0,80,160),a+"F2931E;");d.vertex=!0;var f=new mxCell("Label",new mxGeometry(170, -0,80,160),a+"AE4132;");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(255,0,80,160),a+"23445D;");g.vertex=!0;a=new mxCell("Label",new mxGeometry(340,0,80,160),a+"12AAB5;");a.vertex=!0;return sb.createVertexTemplateFromCells([b,d,f,g,a],420,160,"List")}),this.addEntry("rodmap horizontal",function(){var a=new mxCell("",new mxGeometry(0,90,120,120),b+"partConcEllipse;startAngle=0.25;endAngle=0.75;arcWidth=0.25;fillColor=#10739E;strokeColor=none;");a.vertex=!0;var c=new mxCell("",new mxGeometry(105, -90,120,120),b+"partConcEllipse;startAngle=0.75;endAngle=0.25;arcWidth=0.25;fillColor=#F2931E;strokeColor=none;");c.vertex=!0;var d=new mxCell("",new mxGeometry(210,90,120,120),b+"partConcEllipse;startAngle=0.25;endAngle=0.75;arcWidth=0.25;fillColor=#AE4132;strokeColor=none;");d.vertex=!0;var f=new mxCell("",new mxGeometry(315,90,120,120),b+"partConcEllipse;startAngle=0.75;endAngle=0.25;arcWidth=0.25;fillColor=#23445D;strokeColor=none;");f.vertex=!0;var g=new mxCell("",new mxGeometry(420,90,120,120), -b+"partConcEllipse;startAngle=0.25;endAngle=0.75;arcWidth=0.25;fillColor=#15AA96;strokeColor=none;");g.vertex=!0;var h=new mxCell("1",new mxGeometry(35,125,50,50),"shape=ellipse;strokeWidth=6;fillColor=#ffffff;strokeColor=#10739E;fontSize=15;html=0;fontStyle=1;fontColor=#10739E;");h.vertex=!0;var k=new mxCell("2",new mxGeometry(140,125,50,50),"shape=ellipse;strokeWidth=6;fillColor=#ffffff;strokeColor=#F2931E;fontSize=15;html=0;fontStyle=1;fontColor=#F2931E;");k.vertex=!0;var l=new mxCell("3",new mxGeometry(245, -125,50,50),"shape=ellipse;strokeWidth=6;fillColor=#ffffff;strokeColor=#AE4132;fontSize=15;html=0;fontStyle=1;fontColor=#AE4132;");l.vertex=!0;var m=new mxCell("4",new mxGeometry(350,125,50,50),"shape=ellipse;strokeWidth=6;fillColor=#ffffff;strokeColor=#23445D;fontSize=15;html=0;fontStyle=1;fontColor=#23445D;");m.vertex=!0;var q=new mxCell("5",new mxGeometry(455,125,50,50),"shape=ellipse;strokeWidth=6;fillColor=#ffffff;strokeColor=#12AAB5;fontSize=15;html=0;fontStyle=1;fontColor=#12AAB5;");q.vertex= -!0;var r=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#10739E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>',new mxGeometry(0,220,120,80),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");r.vertex=!0;var n=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#F2931E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>', -new mxGeometry(105,0,120,80),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");n.vertex=!0;var p=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#AE4132"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>',new mxGeometry(210,220,120,80),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;"); -p.vertex=!0;var u=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#23445D"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>',new mxGeometry(315,0,120,80),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");u.vertex=!0;var t=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#12AAB5"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>', -new mxGeometry(420,220,120,80),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");t.vertex=!0;return sb.createVertexTemplateFromCells([a,c,d,f,g,h,k,l,m,q,r,n,p,u,t],540,300,"Roadmap (horizontal)")}),this.addEntry("roadmap diagonal",function(){var a=new mxCell("",new mxGeometry(190,0,120,120),b+"partConcEllipse;startAngle=0.75;endAngle=0.5;arcWidth=0.25;fillColor=#10739E;strokeColor=none;shadow=0;");a.vertex=!0;var c=new mxCell("", -new mxGeometry(190,105,120,120),b+"partConcEllipse;startAngle=0.25;endAngle=0;arcWidth=0.25;fillColor=#F2931E;strokeColor=none;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(295,105,120,120),b+"partConcEllipse;startAngle=0.75;endAngle=0.5;arcWidth=0.25;fillColor=#AE4132;strokeColor=none;shadow=0;");d.vertex=!0;var f=new mxCell("",new mxGeometry(295,210,120,120),b+"partConcEllipse;startAngle=0.25;endAngle=0;arcWidth=0.25;fillColor=#23445D;strokeColor=none;shadow=0;");f.vertex=!0;var g= -new mxCell("",new mxGeometry(400,210,120,120),b+"partConcEllipse;startAngle=0.75;endAngle=0.5;arcWidth=0.25;fillColor=#12AAB5;strokeColor=none;shadow=0;");g.vertex=!0;var h=new mxCell("1",new mxGeometry(225,35,50,50),"shape=ellipse;strokeWidth=6;fillColor=#ffffff;strokeColor=#10739E;fontSize=15;html=1;fontStyle=1;fontColor=#10739E;shadow=1;");h.vertex=!0;var k=new mxCell("2",new mxGeometry(225,140,50,50),"shape=ellipse;strokeWidth=6;fillColor=#ffffff;strokeColor=#F2931E;fontSize=15;html=1;fontStyle=1;fontColor=#F2931E;shadow=1;"); -k.vertex=!0;var l=new mxCell("3",new mxGeometry(330,140,50,50),"shape=ellipse;strokeWidth=6;fillColor=#ffffff;strokeColor=#AE4132;fontSize=15;html=1;fontStyle=1;fontColor=#AE4132;shadow=1;");l.vertex=!0;var m=new mxCell("4",new mxGeometry(330,245,50,50),"shape=ellipse;strokeWidth=6;fillColor=#ffffff;strokeColor=#23445D;fontSize=15;html=1;fontStyle=1;fontColor=#23445D;shadow=1;");m.vertex=!0;var q=new mxCell("5",new mxGeometry(435,245,50,50),"shape=ellipse;strokeWidth=6;fillColor=#ffffff;strokeColor=#12AAB5;fontSize=15;html=1;fontStyle=1;fontColor=#12AAB5;shadow=1;"); -q.vertex=!0;var r=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#10739E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>',new mxGeometry(320,20,180,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=3;shadow=0;");r.vertex=!0;var n=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#F2931E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>', -new mxGeometry(0,130,180,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=3;shadow=0;");n.vertex=!0;var p=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#AE4132"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>',new mxGeometry(425,130,180,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=3;shadow=0;"); -p.vertex=!0;var u=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#23445D"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>',new mxGeometry(105,235,180,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=3;shadow=0;");u.vertex=!0;var t=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#12AAB5"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>', -new mxGeometry(530,235,180,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=3;shadow=0;");t.vertex=!0;return sb.createVertexTemplateFromCells([a,c,d,f,g,h,k,l,m,q,r,n,p,u,t],710,330,"Roadmap (diagonal)")}),this.addEntry("arrow list",function(){var a=new mxCell("1",new mxGeometry(0,0,40,40),"html=1;fillColor=#10739E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;");a.vertex= -!0;var b=new mxCell("Label",new mxGeometry(45,0,95,40),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#64BBE2;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");b.vertex=!0;var d=new mxCell("2",new mxGeometry(0,45,40,40),"html=1;fillColor=#F2931E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;");d.vertex=!0;var f=new mxCell("Label",new mxGeometry(45,45,115,40),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#F8C382;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;"); -f.vertex=!0;var g=new mxCell("3",new mxGeometry(0,90,40,40),"html=1;fillColor=#AE4132;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;");g.vertex=!0;var h=new mxCell("Label",new mxGeometry(45,90,135,40),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#F08E81;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");h.vertex=!0;var k=new mxCell("4",new mxGeometry(0,135,40,40),"html=1;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;"); -k.vertex=!0;var l=new mxCell("Label",new mxGeometry(45,135,155,40),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#5D7F99;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");l.vertex=!0;var m=new mxCell("5",new mxGeometry(0,180,40,40),"html=1;fillColor=#12AAB5;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;");m.vertex=!0;var q=new mxCell("Label",new mxGeometry(45,180,175,40), -"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#61C6CE;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");q.vertex=!0;return sb.createVertexTemplateFromCells([a,b,d,f,g,h,k,l,m,q],220,220,"Arrow List")}),this.addEntry("angled list",function(){var a=new mxCell("1",new mxGeometry(0,0,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#10739E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;"); -a.vertex=!0;var b=new mxCell("Label",new mxGeometry(45,0,95,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#64BBE2;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");b.vertex=!0;var d=new mxCell("2",new mxGeometry(0,35,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#F2931E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");d.vertex=!0;var f=new mxCell("Label",new mxGeometry(45, -35,115,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#F8C382;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");f.vertex=!0;var g=new mxCell("3",new mxGeometry(0,70,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#AE4132;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");g.vertex=!0;var h=new mxCell("Label",new mxGeometry(45,70,135,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#F08E81;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;"); -h.vertex=!0;var k=new mxCell("4",new mxGeometry(0,105,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");k.vertex=!0;var l=new mxCell("Label",new mxGeometry(45,105,155,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#5D7F99;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");l.vertex=!0;var m=new mxCell("5",new mxGeometry(0, -140,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#12AAB5;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");m.vertex=!0;var q=new mxCell("Label",new mxGeometry(45,140,175,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#61C6CE;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");q.vertex=!0;return sb.createVertexTemplateFromCells([a,b,d,f,g,h,k,l,m,q],220,170,"Angled List")}), -this.addEntry("angled list",function(){var a=new mxCell("1",new mxGeometry(200,0,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#10739E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");a.vertex=!0;var b=new mxCell("Label",new mxGeometry(245,0,145,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#64BBE2;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");b.vertex=!0;var d=new mxCell("2", -new mxGeometry(150,35,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#F2931E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");d.vertex=!0;var f=new mxCell("Label",new mxGeometry(195,35,145,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#F8C382;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");f.vertex=!0;var g=new mxCell("3",new mxGeometry(100,70,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#AE4132;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;"); -g.vertex=!0;var h=new mxCell("Label",new mxGeometry(145,70,145,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#F08E81;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");h.vertex=!0;var k=new mxCell("4",new mxGeometry(50,105,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");k.vertex=!0;var l=new mxCell("Label",new mxGeometry(95, -105,145,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#5D7F99;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");l.vertex=!0;var m=new mxCell("5",new mxGeometry(0,140,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#12AAB5;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");m.vertex=!0;var q=new mxCell("Label",new mxGeometry(45,140,145,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#61C6CE;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;"); -q.vertex=!0;return sb.createVertexTemplateFromCells([a,b,d,f,g,h,k,l,m,q],390,170,"Angled List")}),this.addEntry("matrix",function(){var a=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(35,35,100,100),"html=1;fillColor=#10739E;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");a.vertex=!0;var b=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(140,35,100,100),"html=1;fillColor=#F2931E;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;"); -b.vertex=!0;var d=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(35,140,100,100),"html=1;fillColor=#AE4132;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");d.vertex=!0;var f=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(140,140,100,100),"html=1;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;"); +270,220,40),"shape=rect;rounded=1;whiteSpace=wrap;html=1;shadow=0;strokeColor=none;fillColor=#61C6CE;arcSize=30;fontSize=14;spacingLeft=42;fontStyle=1;fontColor=#FFFFFF;align=left;");m.vertex=!0;var q=new mxCell("5",new mxGeometry(0,260,60,60),"shape=ellipse;perimeter=ellipsePerimeter;fontSize=22;fontStyle=1;shadow=0;strokeColor=#ffffff;fillColor=#12AAB5;strokeWidth=4;fontColor=#ffffff;align=center;");q.vertex=!0;return sb.createVertexTemplateFromCells([a,b,c,f,g,h,k,l,m,q],200,320,"Numbered List")}), +this.addEntry("list",function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=middle;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shape=mxgraph.infographic.numberedEntryVert;dy=25;strokeColor=none;fontSize=17;fontColor=#FFFFFF;align=center;labelPosition=center;spacingTop=32;fontStyle=1;fillColor=#",b=new mxCell("Label",new mxGeometry(0,0,80,160),a+"10739E;");b.vertex=!0;var c=new mxCell("Label",new mxGeometry(85,0,80,160),a+"F2931E;");c.vertex=!0;var f=new mxCell("Label",new mxGeometry(170, +0,80,160),a+"AE4132;");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(255,0,80,160),a+"23445D;");g.vertex=!0;a=new mxCell("Label",new mxGeometry(340,0,80,160),a+"12AAB5;");a.vertex=!0;return sb.createVertexTemplateFromCells([b,c,f,g,a],420,160,"List")}),this.addEntry("rodmap horizontal",function(){var a=new mxCell("",new mxGeometry(0,90,120,120),b+"partConcEllipse;startAngle=0.25;endAngle=0.75;arcWidth=0.25;fillColor=#10739E;strokeColor=none;");a.vertex=!0;var d=new mxCell("",new mxGeometry(105, +90,120,120),b+"partConcEllipse;startAngle=0.75;endAngle=0.25;arcWidth=0.25;fillColor=#F2931E;strokeColor=none;");d.vertex=!0;var c=new mxCell("",new mxGeometry(210,90,120,120),b+"partConcEllipse;startAngle=0.25;endAngle=0.75;arcWidth=0.25;fillColor=#AE4132;strokeColor=none;");c.vertex=!0;var f=new mxCell("",new mxGeometry(315,90,120,120),b+"partConcEllipse;startAngle=0.75;endAngle=0.25;arcWidth=0.25;fillColor=#23445D;strokeColor=none;");f.vertex=!0;var g=new mxCell("",new mxGeometry(420,90,120,120), +b+"partConcEllipse;startAngle=0.25;endAngle=0.75;arcWidth=0.25;fillColor=#15AA96;strokeColor=none;");g.vertex=!0;var h=new mxCell("1",new mxGeometry(35,125,50,50),"shape=ellipse;strokeWidth=6;strokeColor=#10739E;fontSize=15;html=0;fontStyle=1;fontColor=#10739E;");h.vertex=!0;var k=new mxCell("2",new mxGeometry(140,125,50,50),"shape=ellipse;strokeWidth=6;strokeColor=#F2931E;fontSize=15;html=0;fontStyle=1;fontColor=#F2931E;");k.vertex=!0;var l=new mxCell("3",new mxGeometry(245,125,50,50),"shape=ellipse;strokeWidth=6;strokeColor=#AE4132;fontSize=15;html=0;fontStyle=1;fontColor=#AE4132;"); +l.vertex=!0;var m=new mxCell("4",new mxGeometry(350,125,50,50),"shape=ellipse;strokeWidth=6;strokeColor=#23445D;fontSize=15;html=0;fontStyle=1;fontColor=#23445D;");m.vertex=!0;var q=new mxCell("5",new mxGeometry(455,125,50,50),"shape=ellipse;strokeWidth=6;strokeColor=#12AAB5;fontSize=15;html=0;fontStyle=1;fontColor=#12AAB5;");q.vertex=!0;var r=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#10739E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>', +new mxGeometry(0,220,120,80),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");r.vertex=!0;var n=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#F2931E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>',new mxGeometry(105,0,120,80),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;"); +n.vertex=!0;var p=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#AE4132"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>',new mxGeometry(210,220,120,80),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");p.vertex=!0;var u=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#23445D"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>', +new mxGeometry(315,0,120,80),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");u.vertex=!0;var t=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#12AAB5"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>',new mxGeometry(420,220,120,80),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;"); +t.vertex=!0;return sb.createVertexTemplateFromCells([a,d,c,f,g,h,k,l,m,q,r,n,p,u,t],540,300,"Roadmap (horizontal)")}),this.addEntry("roadmap diagonal",function(){var a=new mxCell("",new mxGeometry(190,0,120,120),b+"partConcEllipse;startAngle=0.75;endAngle=0.5;arcWidth=0.25;fillColor=#10739E;strokeColor=none;shadow=0;");a.vertex=!0;var d=new mxCell("",new mxGeometry(190,105,120,120),b+"partConcEllipse;startAngle=0.25;endAngle=0;arcWidth=0.25;fillColor=#F2931E;strokeColor=none;shadow=0;");d.vertex= +!0;var c=new mxCell("",new mxGeometry(295,105,120,120),b+"partConcEllipse;startAngle=0.75;endAngle=0.5;arcWidth=0.25;fillColor=#AE4132;strokeColor=none;shadow=0;");c.vertex=!0;var f=new mxCell("",new mxGeometry(295,210,120,120),b+"partConcEllipse;startAngle=0.25;endAngle=0;arcWidth=0.25;fillColor=#23445D;strokeColor=none;shadow=0;");f.vertex=!0;var g=new mxCell("",new mxGeometry(400,210,120,120),b+"partConcEllipse;startAngle=0.75;endAngle=0.5;arcWidth=0.25;fillColor=#12AAB5;strokeColor=none;shadow=0;"); +g.vertex=!0;var h=new mxCell("1",new mxGeometry(225,35,50,50),"shape=ellipse;strokeWidth=6;strokeColor=#10739E;fontSize=15;html=1;fontStyle=1;fontColor=#10739E;shadow=1;");h.vertex=!0;var k=new mxCell("2",new mxGeometry(225,140,50,50),"shape=ellipse;strokeWidth=6;strokeColor=#F2931E;fontSize=15;html=1;fontStyle=1;fontColor=#F2931E;shadow=1;");k.vertex=!0;var l=new mxCell("3",new mxGeometry(330,140,50,50),"shape=ellipse;strokeWidth=6;strokeColor=#AE4132;fontSize=15;html=1;fontStyle=1;fontColor=#AE4132;shadow=1;"); +l.vertex=!0;var m=new mxCell("4",new mxGeometry(330,245,50,50),"shape=ellipse;strokeWidth=6;strokeColor=#23445D;fontSize=15;html=1;fontStyle=1;fontColor=#23445D;shadow=1;");m.vertex=!0;var q=new mxCell("5",new mxGeometry(435,245,50,50),"shape=ellipse;strokeWidth=6;strokeColor=#12AAB5;fontSize=15;html=1;fontStyle=1;fontColor=#12AAB5;shadow=1;");q.vertex=!0;var r=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#10739E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>', +new mxGeometry(320,20,180,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=3;shadow=0;");r.vertex=!0;var n=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#F2931E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>',new mxGeometry(0,130,180,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=3;shadow=0;"); +n.vertex=!0;var p=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#AE4132"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>',new mxGeometry(425,130,180,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=3;shadow=0;");p.vertex=!0;var u=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#23445D"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>', +new mxGeometry(105,235,180,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=3;shadow=0;");u.vertex=!0;var t=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#12AAB5"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>',new mxGeometry(530,235,180,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=3;shadow=0;"); +t.vertex=!0;return sb.createVertexTemplateFromCells([a,d,c,f,g,h,k,l,m,q,r,n,p,u,t],710,330,"Roadmap (diagonal)")}),this.addEntry("arrow list",function(){var a=new mxCell("1",new mxGeometry(0,0,40,40),"html=1;fillColor=#10739E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;");a.vertex=!0;var b=new mxCell("Label",new mxGeometry(45,0,95,40),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#64BBE2;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;"); +b.vertex=!0;var c=new mxCell("2",new mxGeometry(0,45,40,40),"html=1;fillColor=#F2931E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;");c.vertex=!0;var f=new mxCell("Label",new mxGeometry(45,45,115,40),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#F8C382;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");f.vertex=!0;var g=new mxCell("3",new mxGeometry(0,90,40,40),"html=1;fillColor=#AE4132;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;"); +g.vertex=!0;var h=new mxCell("Label",new mxGeometry(45,90,135,40),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#F08E81;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");h.vertex=!0;var k=new mxCell("4",new mxGeometry(0,135,40,40),"html=1;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;");k.vertex=!0;var l=new mxCell("Label",new mxGeometry(45,135,155,40), +"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#5D7F99;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");l.vertex=!0;var m=new mxCell("5",new mxGeometry(0,180,40,40),"html=1;fillColor=#12AAB5;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;");m.vertex=!0;var q=new mxCell("Label",new mxGeometry(45,180,175,40),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#61C6CE;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;"); +q.vertex=!0;return sb.createVertexTemplateFromCells([a,b,c,f,g,h,k,l,m,q],220,220,"Arrow List")}),this.addEntry("angled list",function(){var a=new mxCell("1",new mxGeometry(0,0,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#10739E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");a.vertex=!0;var b=new mxCell("Label",new mxGeometry(45,0,95,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#64BBE2;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;"); +b.vertex=!0;var c=new mxCell("2",new mxGeometry(0,35,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#F2931E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");c.vertex=!0;var f=new mxCell("Label",new mxGeometry(45,35,115,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#F8C382;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");f.vertex=!0;var g=new mxCell("3",new mxGeometry(0,70, +50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#AE4132;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");g.vertex=!0;var h=new mxCell("Label",new mxGeometry(45,70,135,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#F08E81;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");h.vertex=!0;var k=new mxCell("4",new mxGeometry(0,105,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;"); +k.vertex=!0;var l=new mxCell("Label",new mxGeometry(45,105,155,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#5D7F99;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");l.vertex=!0;var m=new mxCell("5",new mxGeometry(0,140,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#12AAB5;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");m.vertex=!0;var q=new mxCell("Label",new mxGeometry(45, +140,175,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#61C6CE;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");q.vertex=!0;return sb.createVertexTemplateFromCells([a,b,c,f,g,h,k,l,m,q],220,170,"Angled List")}),this.addEntry("angled list",function(){var a=new mxCell("1",new mxGeometry(200,0,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#10739E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;"); +a.vertex=!0;var b=new mxCell("Label",new mxGeometry(245,0,145,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#64BBE2;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");b.vertex=!0;var c=new mxCell("2",new mxGeometry(150,35,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#F2931E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");c.vertex=!0;var f=new mxCell("Label",new mxGeometry(195, +35,145,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#F8C382;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");f.vertex=!0;var g=new mxCell("3",new mxGeometry(100,70,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#AE4132;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");g.vertex=!0;var h=new mxCell("Label",new mxGeometry(145,70,145,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#F08E81;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;"); +h.vertex=!0;var k=new mxCell("4",new mxGeometry(50,105,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");k.vertex=!0;var l=new mxCell("Label",new mxGeometry(95,105,145,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#5D7F99;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");l.vertex=!0;var m=new mxCell("5",new mxGeometry(0, +140,50,30),"shape=mxgraph.infographic.parallelogram;dx=5;html=1;fillColor=#12AAB5;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;");m.vertex=!0;var q=new mxCell("Label",new mxGeometry(45,140,145,30),"shape=mxgraph.infographic.parallelogram;dx=5;;html=1;fillColor=#61C6CE;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");q.vertex=!0;return sb.createVertexTemplateFromCells([a,b,c,f,g,h,k,l,m,q],390,170,"Angled List")}), +this.addEntry("matrix",function(){var a=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(35,35,100,100),"html=1;fillColor=#10739E;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");a.vertex=!0;var b=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(140,35,100,100),"html=1;fillColor=#F2931E;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;"); +b.vertex=!0;var c=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(35,140,100,100),"html=1;fillColor=#AE4132;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");c.vertex=!0;var f=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(140,140,100,100),"html=1;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;"); f.vertex=!0;var g=new mxCell("Label",new mxGeometry(0,35,30,100),"html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;horizontal=0;rounded=0;");g.vertex=!0;var h=new mxCell("Label",new mxGeometry(0,140,30,100),"html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;horizontal=0;rounded=0;");h.vertex=!0;var k=new mxCell("Label",new mxGeometry(35,0,100,30),"html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;rounded=0;"); -k.vertex=!0;var l=new mxCell("Label",new mxGeometry(140,0,100,30),"html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;rounded=0;");l.vertex=!0;return sb.createVertexTemplateFromCells([a,b,d,f,g,h,k,l],240,240,"Matrix (2x2)")}),this.addEntry("matrix",function(){var a=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(35,35,100,100),"shape=mxgraph.basic.three_corner_round_rect;dx=18;flipH=1;html=1;fillColor=#10739E;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;"); -a.vertex=!0;var b=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(140,35,100,100),"shape=mxgraph.basic.three_corner_round_rect;dx=18;html=1;fillColor=#F2931E;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");b.vertex=!0;var d=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(35,140,100,100),"shape=mxgraph.basic.three_corner_round_rect;dx=18;flipH=1;flipV=1;html=1;fillColor=#AE4132;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;"); -d.vertex=!0;var f=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(140,140,100,100),"shape=mxgraph.basic.three_corner_round_rect;dx=18;flipV=1;html=1;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(0,45,30,80),"rounded=1;arcSize=50;html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;horizontal=0;"); +k.vertex=!0;var l=new mxCell("Label",new mxGeometry(140,0,100,30),"html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;rounded=0;");l.vertex=!0;return sb.createVertexTemplateFromCells([a,b,c,f,g,h,k,l],240,240,"Matrix (2x2)")}),this.addEntry("matrix",function(){var a=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(35,35,100,100),"shape=mxgraph.basic.three_corner_round_rect;dx=18;flipH=1;html=1;fillColor=#10739E;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;"); +a.vertex=!0;var b=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(140,35,100,100),"shape=mxgraph.basic.three_corner_round_rect;dx=18;html=1;fillColor=#F2931E;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");b.vertex=!0;var c=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(35,140,100,100),"shape=mxgraph.basic.three_corner_round_rect;dx=18;flipH=1;flipV=1;html=1;fillColor=#AE4132;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;"); +c.vertex=!0;var f=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(140,140,100,100),"shape=mxgraph.basic.three_corner_round_rect;dx=18;flipV=1;html=1;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(0,45,30,80),"rounded=1;arcSize=50;html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;horizontal=0;"); g.vertex=!0;var h=new mxCell("Label",new mxGeometry(0,150,30,80),"rounded=1;arcSize=50;html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;horizontal=0;");h.vertex=!0;var k=new mxCell("Label",new mxGeometry(45,0,80,30),"rounded=1;arcSize=50;html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;");k.vertex=!0;var l=new mxCell("Label",new mxGeometry(150,0,80,30), -"rounded=1;arcSize=50;html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;");l.vertex=!0;return sb.createVertexTemplateFromCells([a,b,d,f,g,h,k,l],240,240,"Matrix (2x2)")}),this.addEntry("matrix",function(){var a=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(35,35,100,100),"html=1;fillColor=#F2931E;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;"); -a.vertex=!0;var b=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(140,35,100,100),"html=1;fillColor=#F5AB50;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");b.vertex=!0;var d=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(245,35,100,100),"html=1;fillColor=#F8C382;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;"); -d.vertex=!0;var f=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(35,140,100,100),"html=1;fillColor=#444444;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");f.vertex=!0;var g=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(140,140,100,100),"html=1;fillColor=#777777;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;"); +"rounded=1;arcSize=50;html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;");l.vertex=!0;return sb.createVertexTemplateFromCells([a,b,c,f,g,h,k,l],240,240,"Matrix (2x2)")}),this.addEntry("matrix",function(){var a=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(35,35,100,100),"html=1;fillColor=#F2931E;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;"); +a.vertex=!0;var b=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(140,35,100,100),"html=1;fillColor=#F5AB50;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");b.vertex=!0;var c=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(245,35,100,100),"html=1;fillColor=#F8C382;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;"); +c.vertex=!0;var f=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(35,140,100,100),"html=1;fillColor=#444444;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");f.vertex=!0;var g=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(140,140,100,100),"html=1;fillColor=#777777;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;"); g.vertex=!0;var h=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(245,140,100,100),"html=1;fillColor=#909090;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");h.vertex=!0;var k=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(35,245,100,100),"html=1;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;"); k.vertex=!0;var l=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(140,245,100,100),"html=1;fillColor=#2F5B7C;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");l.vertex=!0;var m=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(245,245,100,100),"html=1;fillColor=#5D7F99;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;"); m.vertex=!0;var q=new mxCell("Label",new mxGeometry(0,35,30,100),"html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;horizontal=0;rounded=0;");q.vertex=!0;var r=new mxCell("Label",new mxGeometry(0,140,30,100),"html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;horizontal=0;rounded=0;");r.vertex=!0;var n=new mxCell("Label",new mxGeometry(0,245,30,100),"html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;horizontal=0;rounded=0;"); n.vertex=!0;var p=new mxCell("Label",new mxGeometry(35,0,100,30),"html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;rounded=0;");p.vertex=!0;var u=new mxCell("Label",new mxGeometry(140,0,100,30),"html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;rounded=0;");u.vertex=!0;var t=new mxCell("Label",new mxGeometry(245,0,100,30),"html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;rounded=0;"); -t.vertex=!0;return sb.createVertexTemplateFromCells([a,b,d,f,g,h,k,l,m,q,r,n,p,u,t],345,345,"Matrix (3x3)")}),this.addEntry("hex loop",function(){var a=new mxCell("Lorem ipsum<br> dolor sit amet, consectetur adipisicing elit",new mxGeometry(0,51,112,102),"shape=hexagon;strokeWidth=4;html=1;fillColor=#F5AB50;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;rounded=0;");a.vertex=!0;var b=new mxCell("Lorem ipsum<br> dolor sit amet, consectetur adipisicing elit", -new mxGeometry(0,153,112,102),"shape=hexagon;strokeWidth=4;html=1;fillColor=#E85642;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;rounded=0;");b.vertex=!0;var d=new mxCell("Lorem ipsum<br> dolor sit amet, consectetur adipisicing elit",new mxGeometry(84,102,112,102),"shape=hexagon;strokeWidth=4;html=1;fillColor=#12AAB5;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;rounded=0;"); -d.vertex=!0;var f=new mxCell("Lorem ipsum<br> dolor sit amet, consectetur adipisicing elit",new mxGeometry(84,0,112,102),"shape=hexagon;strokeWidth=4;html=1;fillColor=#1699D3;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;rounded=0;");f.vertex=!0;var g=new mxCell("Lorem ipsum<br> dolor sit amet, consectetur adipisicing elit",new mxGeometry(168,51,112,102),"shape=hexagon;strokeWidth=4;html=1;fillColor=#736CA8;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;rounded=0;"); +t.vertex=!0;return sb.createVertexTemplateFromCells([a,b,c,f,g,h,k,l,m,q,r,n,p,u,t],345,345,"Matrix (3x3)")}),this.addEntry("hex loop",function(){var a=new mxCell("Lorem ipsum<br> dolor sit amet, consectetur adipisicing elit",new mxGeometry(0,51,112,102),"shape=hexagon;strokeWidth=4;html=1;fillColor=#F5AB50;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;rounded=0;");a.vertex=!0;var b=new mxCell("Lorem ipsum<br> dolor sit amet, consectetur adipisicing elit", +new mxGeometry(0,153,112,102),"shape=hexagon;strokeWidth=4;html=1;fillColor=#E85642;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;rounded=0;");b.vertex=!0;var c=new mxCell("Lorem ipsum<br> dolor sit amet, consectetur adipisicing elit",new mxGeometry(84,102,112,102),"shape=hexagon;strokeWidth=4;html=1;fillColor=#12AAB5;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;rounded=0;"); +c.vertex=!0;var f=new mxCell("Lorem ipsum<br> dolor sit amet, consectetur adipisicing elit",new mxGeometry(84,0,112,102),"shape=hexagon;strokeWidth=4;html=1;fillColor=#1699D3;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;rounded=0;");f.vertex=!0;var g=new mxCell("Lorem ipsum<br> dolor sit amet, consectetur adipisicing elit",new mxGeometry(168,51,112,102),"shape=hexagon;strokeWidth=4;html=1;fillColor=#736CA8;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;rounded=0;"); g.vertex=!0;var h=new mxCell("Lorem ipsum<br> dolor sit amet, consectetur adipisicing elit",new mxGeometry(168,153,112,102),"shape=hexagon;strokeWidth=4;html=1;fillColor=#2F5B7C;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;rounded=0;");h.vertex=!0;var k=new mxCell("Lorem ipsum<br> dolor sit amet, consectetur adipisicing elit",new mxGeometry(84,204,112,102),"shape=hexagon;strokeWidth=4;html=1;fillColor=#777777;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;rounded=0;"); -k.vertex=!0;return sb.createVertexTemplateFromCells([a,b,d,f,g,h,k],284,312,"Hex Loop")}),this.addEntry("target",function(){var a=new mxCell("",new mxGeometry(0,0,350,350),"ellipse;html=1;strokeWidth=4;fillColor=#F2931E;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");a.vertex=!0;var b=new mxCell("",new mxGeometry(25,25,300,300),"ellipse;html=1;strokeWidth=4;fillColor=#F8C382;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;"); -b.vertex=!0;var d=new mxCell("",new mxGeometry(50,50,250,250),"ellipse;html=1;strokeWidth=4;fillColor=#FCE7CD;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");d.vertex=!0;var f=new mxCell("",new mxGeometry(75,75,200,200),"ellipse;html=1;strokeWidth=4;fillColor=#BAC8D3;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");f.vertex=!0;var g=new mxCell("",new mxGeometry(100,100, +k.vertex=!0;return sb.createVertexTemplateFromCells([a,b,c,f,g,h,k],284,312,"Hex Loop")}),this.addEntry("target",function(){var a=new mxCell("",new mxGeometry(0,0,350,350),"ellipse;html=1;strokeWidth=4;fillColor=#F2931E;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");a.vertex=!0;var b=new mxCell("",new mxGeometry(25,25,300,300),"ellipse;html=1;strokeWidth=4;fillColor=#F8C382;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;"); +b.vertex=!0;var c=new mxCell("",new mxGeometry(50,50,250,250),"ellipse;html=1;strokeWidth=4;fillColor=#FCE7CD;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");c.vertex=!0;var f=new mxCell("",new mxGeometry(75,75,200,200),"ellipse;html=1;strokeWidth=4;fillColor=#BAC8D3;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");f.vertex=!0;var g=new mxCell("",new mxGeometry(100,100, 150,150),"ellipse;html=1;strokeWidth=4;fillColor=#5D7F99;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");g.vertex=!0;var h=new mxCell("",new mxGeometry(125,125,100,100),"ellipse;html=1;strokeWidth=4;fillColor=#2F5B7C;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");h.vertex=!0;var k=new mxCell("",new mxGeometry(150,150,50,50),"ellipse;html=1;strokeWidth=4;fillColor=#23445D;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;"); -k.vertex=!0;return sb.createVertexTemplateFromCells([a,b,d,f,g,h,k],350,350,"Target")}),this.addEntry("target simple",function(){var a=new mxCell("",new mxGeometry(0,0,350,350),"ellipse;html=1;strokeWidth=4;fillColor=#10739E;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");a.vertex=!0;var b=new mxCell("",new mxGeometry(50,50,250,250),"ellipse;html=1;strokeWidth=4;fillColor=#F2931E;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;"); -b.vertex=!0;var d=new mxCell("",new mxGeometry(100,100,150,150),"ellipse;html=1;strokeWidth=4;fillColor=#AE4132;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");d.vertex=!0;var f=new mxCell("",new mxGeometry(150,150,50,50),"ellipse;html=1;strokeWidth=4;fillColor=#23445D;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");f.vertex=!0;return sb.createVertexTemplateFromCells([a, -b,d,f],350,350,"Target (simple)")}),this.addEntry("onion",function(){var a=new mxCell("",new mxGeometry(0,0,350,350),"ellipse;html=1;strokeWidth=4;fillColor=#F5AB50;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");a.vertex=!0;var b=new mxCell("",new mxGeometry(25,50,300,300),"ellipse;html=1;strokeWidth=4;fillColor=#F8C382;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;"); -b.vertex=!0;var d=new mxCell("",new mxGeometry(50,100,250,250),"ellipse;html=1;strokeWidth=4;fillColor=#FCE7CD;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");d.vertex=!0;var f=new mxCell("",new mxGeometry(75,150,200,200),"ellipse;html=1;strokeWidth=4;fillColor=#BAC8D3;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");f.vertex=!0;var g=new mxCell("",new mxGeometry(100, +k.vertex=!0;return sb.createVertexTemplateFromCells([a,b,c,f,g,h,k],350,350,"Target")}),this.addEntry("target simple",function(){var a=new mxCell("",new mxGeometry(0,0,350,350),"ellipse;html=1;strokeWidth=4;fillColor=#10739E;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");a.vertex=!0;var b=new mxCell("",new mxGeometry(50,50,250,250),"ellipse;html=1;strokeWidth=4;fillColor=#F2931E;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;"); +b.vertex=!0;var c=new mxCell("",new mxGeometry(100,100,150,150),"ellipse;html=1;strokeWidth=4;fillColor=#AE4132;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");c.vertex=!0;var f=new mxCell("",new mxGeometry(150,150,50,50),"ellipse;html=1;strokeWidth=4;fillColor=#23445D;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");f.vertex=!0;return sb.createVertexTemplateFromCells([a, +b,c,f],350,350,"Target (simple)")}),this.addEntry("onion",function(){var a=new mxCell("",new mxGeometry(0,0,350,350),"ellipse;html=1;strokeWidth=4;fillColor=#F5AB50;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");a.vertex=!0;var b=new mxCell("",new mxGeometry(25,50,300,300),"ellipse;html=1;strokeWidth=4;fillColor=#F8C382;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;"); +b.vertex=!0;var c=new mxCell("",new mxGeometry(50,100,250,250),"ellipse;html=1;strokeWidth=4;fillColor=#FCE7CD;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");c.vertex=!0;var f=new mxCell("",new mxGeometry(75,150,200,200),"ellipse;html=1;strokeWidth=4;fillColor=#BAC8D3;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");f.vertex=!0;var g=new mxCell("",new mxGeometry(100, 200,150,150),"ellipse;html=1;strokeWidth=4;fillColor=#5D7F99;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");g.vertex=!0;var h=new mxCell("",new mxGeometry(125,250,100,100),"ellipse;html=1;strokeWidth=4;fillColor=#2F5B7C;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");h.vertex=!0;var k=new mxCell("",new mxGeometry(150,300,50,50),"ellipse;html=1;strokeWidth=4;fillColor=#23445D;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;"); -k.vertex=!0;return sb.createVertexTemplateFromCells([a,b,d,f,g,h,k],350,350,"Onion")}),this.addEntry("onion simple",function(){var a=new mxCell("",new mxGeometry(0,0,350,350),"ellipse;html=1;strokeWidth=4;fillColor=#10739E;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");a.vertex=!0;var b=new mxCell("",new mxGeometry(50,100,250,250),"ellipse;html=1;strokeWidth=4;fillColor=#F2931E;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;"); -b.vertex=!0;var d=new mxCell("",new mxGeometry(100,200,150,150),"ellipse;html=1;strokeWidth=4;fillColor=#AE4132;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");d.vertex=!0;var f=new mxCell("",new mxGeometry(150,300,50,50),"ellipse;html=1;strokeWidth=4;fillColor=#23445D;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");f.vertex=!0;return sb.createVertexTemplateFromCells([a, -b,d,f],350,350,"Onion (simple)")}),this.addEntry("triangle",function(){var a=new mxCell("",new mxGeometry(0,0,350,350),"triangle;direction=north;html=1;strokeWidth=4;fillColor=#F2931E;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");a.vertex=!0;var b=new mxCell("",new mxGeometry(25,0,300,300),"triangle;direction=north;html=1;strokeWidth=4;fillColor=#F8C382;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;"); -b.vertex=!0;var d=new mxCell("",new mxGeometry(50,0,250,250),"triangle;direction=north;html=1;strokeWidth=4;fillColor=#FCE7CD;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");d.vertex=!0;var f=new mxCell("",new mxGeometry(75,0,200,200),"triangle;direction=north;html=1;strokeWidth=4;fillColor=#BAC8D3;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");f.vertex=!0;var g=new mxCell("", +k.vertex=!0;return sb.createVertexTemplateFromCells([a,b,c,f,g,h,k],350,350,"Onion")}),this.addEntry("onion simple",function(){var a=new mxCell("",new mxGeometry(0,0,350,350),"ellipse;html=1;strokeWidth=4;fillColor=#10739E;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");a.vertex=!0;var b=new mxCell("",new mxGeometry(50,100,250,250),"ellipse;html=1;strokeWidth=4;fillColor=#F2931E;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;"); +b.vertex=!0;var c=new mxCell("",new mxGeometry(100,200,150,150),"ellipse;html=1;strokeWidth=4;fillColor=#AE4132;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");c.vertex=!0;var f=new mxCell("",new mxGeometry(150,300,50,50),"ellipse;html=1;strokeWidth=4;fillColor=#23445D;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");f.vertex=!0;return sb.createVertexTemplateFromCells([a, +b,c,f],350,350,"Onion (simple)")}),this.addEntry("triangle",function(){var a=new mxCell("",new mxGeometry(0,0,350,350),"triangle;direction=north;html=1;strokeWidth=4;fillColor=#F2931E;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");a.vertex=!0;var b=new mxCell("",new mxGeometry(25,0,300,300),"triangle;direction=north;html=1;strokeWidth=4;fillColor=#F8C382;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;"); +b.vertex=!0;var c=new mxCell("",new mxGeometry(50,0,250,250),"triangle;direction=north;html=1;strokeWidth=4;fillColor=#FCE7CD;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");c.vertex=!0;var f=new mxCell("",new mxGeometry(75,0,200,200),"triangle;direction=north;html=1;strokeWidth=4;fillColor=#BAC8D3;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");f.vertex=!0;var g=new mxCell("", new mxGeometry(100,0,150,150),"triangle;direction=north;html=1;strokeWidth=4;fillColor=#5D7F99;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");g.vertex=!0;var h=new mxCell("",new mxGeometry(125,0,100,100),"triangle;direction=north;html=1;strokeWidth=4;fillColor=#2F5B7C;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");h.vertex=!0;var k=new mxCell("",new mxGeometry(150, -0,50,50),"triangle;direction=north;html=1;strokeWidth=4;fillColor=#23445D;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");k.vertex=!0;return sb.createVertexTemplateFromCells([a,b,d,f,g,h,k],350,350,"Triangle")}),this.addEntry("triangle simple",function(){var a=new mxCell("",new mxGeometry(0,0,350,350),"triangle;direction=north;strokeWidth=4;html=1;fillColor=#10739E;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;"); -a.vertex=!0;var b=new mxCell("",new mxGeometry(50,0,250,250),"triangle;direction=north;strokeWidth=4;html=1;fillColor=#F2931E;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");b.vertex=!0;var d=new mxCell("",new mxGeometry(100,0,150,150),"triangle;direction=north;strokeWidth=4;html=1;fillColor=#AE4132;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");d.vertex=!0;var f=new mxCell("", -new mxGeometry(150,0,50,50),"triangle;direction=north;strokeWidth=4;html=1;fillColor=#23445D;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");f.vertex=!0;return sb.createVertexTemplateFromCells([a,b,d,f],350,350,"Triangle (simple)")}),this.addEntry("percent percentage list",function(){var a=new mxCell("30%",new mxGeometry(0,0,60,40),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#4A5768;strokeColor=none;fontSize=16;fontColor=#ffffff;fontStyle=1;rounded=0;"); -a.vertex=!0;var b=new mxCell("",new mxGeometry(70,10,300,20),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#B1DDF0;strokeColor=none;");b.vertex=!0;var d=new mxCell("",new mxGeometry(70,10,90,20),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#10739E;strokeColor=none;shadow=0;");d.vertex=!0;var f=new mxCell("75%",new mxGeometry(0,50,60,40),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#4A5768;strokeColor=none;fontSize=16;fontColor=#ffffff;fontStyle=1;rounded=0;"); +0,50,50),"triangle;direction=north;html=1;strokeWidth=4;fillColor=#23445D;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");k.vertex=!0;return sb.createVertexTemplateFromCells([a,b,c,f,g,h,k],350,350,"Triangle")}),this.addEntry("triangle simple",function(){var a=new mxCell("",new mxGeometry(0,0,350,350),"triangle;direction=north;strokeWidth=4;html=1;fillColor=#10739E;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;"); +a.vertex=!0;var b=new mxCell("",new mxGeometry(50,0,250,250),"triangle;direction=north;strokeWidth=4;html=1;fillColor=#F2931E;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");b.vertex=!0;var c=new mxCell("",new mxGeometry(100,0,150,150),"triangle;direction=north;strokeWidth=4;html=1;fillColor=#AE4132;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");c.vertex=!0;var f=new mxCell("", +new mxGeometry(150,0,50,50),"triangle;direction=north;strokeWidth=4;html=1;fillColor=#23445D;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");f.vertex=!0;return sb.createVertexTemplateFromCells([a,b,c,f],350,350,"Triangle (simple)")}),this.addEntry("percent percentage list",function(){var a=new mxCell("30%",new mxGeometry(0,0,60,40),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#4A5768;strokeColor=none;fontSize=16;fontColor=#ffffff;fontStyle=1;rounded=0;"); +a.vertex=!0;var b=new mxCell("",new mxGeometry(70,10,300,20),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#B1DDF0;strokeColor=none;");b.vertex=!0;var c=new mxCell("",new mxGeometry(70,10,90,20),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#10739E;strokeColor=none;shadow=0;");c.vertex=!0;var f=new mxCell("75%",new mxGeometry(0,50,60,40),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#4A5768;strokeColor=none;fontSize=16;fontColor=#ffffff;fontStyle=1;rounded=0;"); f.vertex=!0;var g=new mxCell("",new mxGeometry(70,60,300,20),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#FCE7CD;strokeColor=none;");g.vertex=!0;var h=new mxCell("",new mxGeometry(70,60,225,20),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#F2931E;strokeColor=none;shadow=0;");h.vertex=!0;var k=new mxCell("90%",new mxGeometry(0,100,60,40),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#4A5768;strokeColor=none;fontSize=16;fontColor=#ffffff;fontStyle=1;rounded=0;"); k.vertex=!0;var l=new mxCell("",new mxGeometry(70,110,300,20),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#FAD9D5;strokeColor=none;");l.vertex=!0;var m=new mxCell("",new mxGeometry(70,110,270,20),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#AE4132;strokeColor=none;shadow=0;");m.vertex=!0;var q=new mxCell("25%",new mxGeometry(0,150,60,40),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#4A5768;strokeColor=none;fontSize=16;fontColor=#ffffff;fontStyle=1;rounded=0;"); -q.vertex=!0;var r=new mxCell("",new mxGeometry(70,160,300,20),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#BAC8D3;strokeColor=none;");r.vertex=!0;var n=new mxCell("",new mxGeometry(70,160,75,20),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#23445D;strokeColor=none;shadow=0;");n.vertex=!0;return sb.createVertexTemplateFromCells([a,b,d,f,g,h,k,l,m,q,r,n],370,190,"Percentage list")}),this.addEntry("percent percentage list",function(){var a=new mxCell("",new mxGeometry(0,0,400,40), -"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#dddddd;strokeColor=none;rounded=0;");a.vertex=!0;var b=new mxCell("65%",new mxGeometry(0,0,260,40),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#10739E;strokeColor=none;align=left;verticalAlign=middle;fontColor=#ffffff;fontSize=18;spacingLeft=10;fontStyle=1;shadow=0;");b.vertex=!0;var d=new mxCell("Label",new mxGeometry(320,0,80,40),"text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;fontColor=#000000;spacingRight=10;"); -d.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,400,40),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#dddddd;strokeColor=none;rounded=0;");f.vertex=!0;var g=new mxCell("45%",new mxGeometry(0,50,180,40),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#F2931E;strokeColor=none;align=left;verticalAlign=middle;fontColor=#ffffff;fontSize=18;spacingLeft=10;fontStyle=1;shadow=0;");g.vertex=!0;var h=new mxCell("Label",new mxGeometry(320,50,80,40),"text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;fontColor=#000000;spacingRight=10;"); -h.vertex=!0;var k=new mxCell("",new mxGeometry(0,100,400,40),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#dddddd;strokeColor=none;rounded=0;");k.vertex=!0;var l=new mxCell("30%",new mxGeometry(0,100,120,40),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#AE4132;strokeColor=none;align=left;verticalAlign=middle;fontColor=#ffffff;fontSize=18;spacingLeft=10;fontStyle=1;shadow=0;");l.vertex=!0;var m=new mxCell("Label",new mxGeometry(320,100,80,40),"text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;fontColor=#000000;spacingRight=10;"); -m.vertex=!0;var q=new mxCell("",new mxGeometry(0,150,400,40),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#dddddd;strokeColor=none;rounded=0;");q.vertex=!0;var r=new mxCell("60%",new mxGeometry(0,150,240,40),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#23445D;strokeColor=none;align=left;verticalAlign=middle;fontColor=#ffffff;fontSize=18;spacingLeft=10;fontStyle=1;shadow=0;");r.vertex=!0;var n=new mxCell("Label",new mxGeometry(320,150,80,40),"text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;fontColor=#000000;spacingRight=10;"); -n.vertex=!0;var p=new mxCell("",new mxGeometry(0,200,400,40),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#dddddd;strokeColor=none;rounded=0;");p.vertex=!0;var u=new mxCell("85%",new mxGeometry(0,200,340,40),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#12AAB5;strokeColor=none;align=left;verticalAlign=middle;fontColor=#ffffff;fontSize=18;spacingLeft=10;fontStyle=1;shadow=0;");u.vertex=!0;var t=new mxCell("Label",new mxGeometry(320,200,80,40),"text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;fontColor=#000000;spacingRight=10;"); -t.vertex=!0;return sb.createVertexTemplateFromCells([a,b,f,g,k,l,q,r,p,u,d,h,m,n,t],400,250,"Percentage list")}),this.addEntry("arc list",function(){var a=new mxCell("",new mxGeometry(0,0,260,260),b+"partConcEllipse;fillColor=#10739E;strokeColor=#ffffff;startAngle=0.75;endAngle=0.08;arcWidth=0.16;strokeWidth=3;");a.vertex=!0;var c=new mxCell("",new mxGeometry(20,20,220,220),b+"partConcEllipse;fillColor=#F2931E;strokeColor=#ffffff;startAngle=0.91;endAngle=0.17;arcWidth=0.18;strokeWidth=3;");c.vertex= -!0;var d=new mxCell("",new mxGeometry(40,40,180,180),b+"partConcEllipse;fillColor=#AE4132;strokeColor=#ffffff;startAngle=0.75;endAngle=0.11;arcWidth=0.22;strokeWidth=3;");d.vertex=!0;var f=new mxCell("",new mxGeometry(60,60,140,140),b+"partConcEllipse;fillColor=#12AAB5;strokeColor=#ffffff;startAngle=0.02;endAngle=0.25;arcWidth=0.29;strokeWidth=3;");f.vertex=!0;var g=new mxCell("",new mxGeometry(80,80,100,100),b+"partConcEllipse;fillColor=#CCCCCC;strokeColor=#ffffff;startAngle=0.75;endAngle=0.25;arcWidth=0.4;strokeWidth=3;"); -g.vertex=!0;var h=new mxCell("2018",new mxGeometry(100,100,60,60),"html=1;shape=mxgraph.basic.pie;fillColor=#23445D;strokeColor=#ffffff;startAngle=0.75;endAngle=0.25;fontSize=16;fontColor=#FFFFFF;verticalAlign=top;fontStyle=1;strokeWidth=3;");h.vertex=!0;return sb.createVertexTemplateFromCells([a,c,d,f,g,h],200,200,"Arc list")}),this.addEntry("arc list",function(){var a=new mxCell("",new mxGeometry(0,0,250,250),"ellipse;fillColor=none;strokeColor=#444444;");a.vertex=!0;var c=new mxCell("",new mxGeometry(20, -20,210,210),"ellipse;fillColor=none;strokeColor=#444444;");c.vertex=!0;var d=new mxCell("",new mxGeometry(40,40,170,170),"ellipse;fillColor=none;strokeColor=#444444;");d.vertex=!0;var f=new mxCell("",new mxGeometry(60,60,130,130),"ellipse;fillColor=none;strokeColor=#444444;");f.vertex=!0;var g=new mxCell("",new mxGeometry(80,80,90,90),"ellipse;fillColor=none;strokeColor=#444444;");g.vertex=!0;var h=new mxCell("",new mxGeometry(0,0,250,250),b+"arc;fillColor=none;strokeColor=#10739E;startAngle=0.75;endAngle=0.08;strokeWidth=16;"); +q.vertex=!0;var r=new mxCell("",new mxGeometry(70,160,300,20),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#BAC8D3;strokeColor=none;");r.vertex=!0;var n=new mxCell("",new mxGeometry(70,160,75,20),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#23445D;strokeColor=none;shadow=0;");n.vertex=!0;return sb.createVertexTemplateFromCells([a,b,c,f,g,h,k,l,m,q,r,n],370,190,"Percentage list")}),this.addEntry("percent percentage list",function(){var a=new mxCell("",new mxGeometry(0,0,400,40), +"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#dddddd;strokeColor=none;rounded=0;");a.vertex=!0;var b=new mxCell("65%",new mxGeometry(0,0,260,40),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#10739E;strokeColor=none;align=left;verticalAlign=middle;fontColor=#ffffff;fontSize=18;spacingLeft=10;fontStyle=1;shadow=0;");b.vertex=!0;var c=new mxCell("Label",new mxGeometry(320,0,80,40),"text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;spacingRight=10;"); +c.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,400,40),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#dddddd;strokeColor=none;rounded=0;");f.vertex=!0;var g=new mxCell("45%",new mxGeometry(0,50,180,40),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#F2931E;strokeColor=none;align=left;verticalAlign=middle;fontColor=#ffffff;fontSize=18;spacingLeft=10;fontStyle=1;shadow=0;");g.vertex=!0;var h=new mxCell("Label",new mxGeometry(320,50,80,40),"text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;spacingRight=10;"); +h.vertex=!0;var k=new mxCell("",new mxGeometry(0,100,400,40),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#dddddd;strokeColor=none;rounded=0;");k.vertex=!0;var l=new mxCell("30%",new mxGeometry(0,100,120,40),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#AE4132;strokeColor=none;align=left;verticalAlign=middle;fontColor=#ffffff;fontSize=18;spacingLeft=10;fontStyle=1;shadow=0;");l.vertex=!0;var m=new mxCell("Label",new mxGeometry(320,100,80,40),"text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;spacingRight=10;"); +m.vertex=!0;var q=new mxCell("",new mxGeometry(0,150,400,40),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#dddddd;strokeColor=none;rounded=0;");q.vertex=!0;var r=new mxCell("60%",new mxGeometry(0,150,240,40),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#23445D;strokeColor=none;align=left;verticalAlign=middle;fontColor=#ffffff;fontSize=18;spacingLeft=10;fontStyle=1;shadow=0;");r.vertex=!0;var n=new mxCell("Label",new mxGeometry(320,150,80,40),"text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;spacingRight=10;"); +n.vertex=!0;var p=new mxCell("",new mxGeometry(0,200,400,40),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#dddddd;strokeColor=none;rounded=0;");p.vertex=!0;var u=new mxCell("85%",new mxGeometry(0,200,340,40),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#12AAB5;strokeColor=none;align=left;verticalAlign=middle;fontColor=#ffffff;fontSize=18;spacingLeft=10;fontStyle=1;shadow=0;");u.vertex=!0;var t=new mxCell("Label",new mxGeometry(320,200,80,40),"text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;spacingRight=10;"); +t.vertex=!0;return sb.createVertexTemplateFromCells([a,b,f,g,k,l,q,r,p,u,c,h,m,n,t],400,250,"Percentage list")}),this.addEntry("arc list",function(){var a=new mxCell("",new mxGeometry(0,0,260,260),b+"partConcEllipse;fillColor=#10739E;strokeColor=#ffffff;startAngle=0.75;endAngle=0.08;arcWidth=0.16;strokeWidth=3;");a.vertex=!0;var d=new mxCell("",new mxGeometry(20,20,220,220),b+"partConcEllipse;fillColor=#F2931E;strokeColor=#ffffff;startAngle=0.91;endAngle=0.17;arcWidth=0.18;strokeWidth=3;");d.vertex= +!0;var c=new mxCell("",new mxGeometry(40,40,180,180),b+"partConcEllipse;fillColor=#AE4132;strokeColor=#ffffff;startAngle=0.75;endAngle=0.11;arcWidth=0.22;strokeWidth=3;");c.vertex=!0;var f=new mxCell("",new mxGeometry(60,60,140,140),b+"partConcEllipse;fillColor=#12AAB5;strokeColor=#ffffff;startAngle=0.02;endAngle=0.25;arcWidth=0.29;strokeWidth=3;");f.vertex=!0;var g=new mxCell("",new mxGeometry(80,80,100,100),b+"partConcEllipse;fillColor=#CCCCCC;strokeColor=#ffffff;startAngle=0.75;endAngle=0.25;arcWidth=0.4;strokeWidth=3;"); +g.vertex=!0;var h=new mxCell("2018",new mxGeometry(100,100,60,60),"html=1;shape=mxgraph.basic.pie;fillColor=#23445D;strokeColor=#ffffff;startAngle=0.75;endAngle=0.25;fontSize=16;fontColor=#FFFFFF;verticalAlign=top;fontStyle=1;strokeWidth=3;");h.vertex=!0;return sb.createVertexTemplateFromCells([a,d,c,f,g,h],200,200,"Arc list")}),this.addEntry("arc list",function(){var a=new mxCell("",new mxGeometry(0,0,250,250),"ellipse;fillColor=none;strokeColor=#444444;");a.vertex=!0;var d=new mxCell("",new mxGeometry(20, +20,210,210),"ellipse;fillColor=none;strokeColor=#444444;");d.vertex=!0;var c=new mxCell("",new mxGeometry(40,40,170,170),"ellipse;fillColor=none;strokeColor=#444444;");c.vertex=!0;var f=new mxCell("",new mxGeometry(60,60,130,130),"ellipse;fillColor=none;strokeColor=#444444;");f.vertex=!0;var g=new mxCell("",new mxGeometry(80,80,90,90),"ellipse;fillColor=none;strokeColor=#444444;");g.vertex=!0;var h=new mxCell("",new mxGeometry(0,0,250,250),b+"arc;fillColor=none;strokeColor=#10739E;startAngle=0.75;endAngle=0.08;strokeWidth=16;"); h.vertex=!0;var k=new mxCell("",new mxGeometry(20,20,210,210),b+"arc;fillColor=none;strokeColor=#F2931E;startAngle=0.91;endAngle=0.17;strokeWidth=16;");k.vertex=!0;var l=new mxCell("",new mxGeometry(40,40,170,170),b+"arc;fillColor=none;strokeColor=#AE4132;startAngle=0.75;endAngle=0.11;strokeWidth=16;");l.vertex=!0;var m=new mxCell("",new mxGeometry(60,60,130,130),b+"arc;fillColor=none;strokeColor=#12AAB5;startAngle=0.02;endAngle=0.25;strokeWidth=16;");m.vertex=!0;var q=new mxCell("",new mxGeometry(80, -80,90,90),b+"arc;fillColor=none;strokeColor=#CCCCCC;startAngle=0.75;endAngle=0.25;strokeWidth=16;");q.vertex=!0;var r=new mxCell("2018",new mxGeometry(92,92,66,66),"html=1;shape=mxgraph.basic.pie;fillColor=#23445D;strokeColor=none;startAngle=0.75;endAngle=0.25;fontSize=16;fontColor=#FFFFFF;verticalAlign=top;spacingTop=8;fontStyle=1;");r.vertex=!0;return sb.createVertexTemplateFromCells([a,c,d,f,g,h,k,l,m,q,r],200,200,"Arc list")}),this.addEntry("triangle graph",function(){var a=new mxCell("Label", +80,90,90),b+"arc;fillColor=none;strokeColor=#CCCCCC;startAngle=0.75;endAngle=0.25;strokeWidth=16;");q.vertex=!0;var r=new mxCell("2018",new mxGeometry(92,92,66,66),"html=1;shape=mxgraph.basic.pie;fillColor=#23445D;strokeColor=none;startAngle=0.75;endAngle=0.25;fontSize=16;fontColor=#FFFFFF;verticalAlign=top;spacingTop=8;fontStyle=1;");r.vertex=!0;return sb.createVertexTemplateFromCells([a,d,c,f,g,h,k,l,m,q,r],200,200,"Arc list")}),this.addEntry("triangle graph",function(){var a=new mxCell("Label", new mxGeometry(0,70,80,70),"verticalLabelPosition=middle;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedTriangle;fillColor=#10739E;strokeColor=none;fontSize=10;labelPosition=center;align=center;fontColor=#FFFFFF;fontStyle=1;shadow=0;");a.vertex=!0;var b=new mxCell("Label",new mxGeometry(60,10,80,130),"verticalLabelPosition=middle;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedTriangle;fillColor=#F2931E;strokeColor=none;fontSize=10;labelPosition=center;align=center;fontColor=#FFFFFF;fontStyle=1;shadow=0;"); -b.vertex=!0;var d=new mxCell("Label",new mxGeometry(120,0,80,140),"verticalLabelPosition=middle;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedTriangle;fillColor=#AE4132;strokeColor=none;fontSize=10;labelPosition=center;align=center;fontColor=#FFFFFF;fontStyle=1;shadow=0;");d.vertex=!0;var f=new mxCell("Label",new mxGeometry(180,40,80,100),"verticalLabelPosition=middle;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedTriangle;fillColor=#12AAB5;strokeColor=none;fontSize=10;labelPosition=center;align=center;fontColor=#FFFFFF;fontStyle=1;shadow=0;"); -f.vertex=!0;var g=new mxCell("Label",new mxGeometry(240,60,80,80),"verticalLabelPosition=middle;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedTriangle;fillColor=#23445D;strokeColor=none;fontSize=10;labelPosition=center;align=center;fontColor=#FFFFFF;fontStyle=1;shadow=0;");g.vertex=!0;return sb.createVertexTemplateFromCells([g,f,d,b,a],320,140,"Triangle Graph")}),this.addEntry("pyramid graph",function(){var a=new mxCell("Label",new mxGeometry(0,70,80,70),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedPyramid;fillColor=#10739E;strokeColor=none;fontSize=10;labelPosition=center;align=center;fontColor=#000000;shadow=0;"); -a.vertex=!0;var b=new mxCell("Label",new mxGeometry(60,10,80,130),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedPyramid;fillColor=#F2931E;strokeColor=none;fontSize=10;labelPosition=center;align=center;fontColor=#000000;shadow=0;");b.vertex=!0;var d=new mxCell("Label",new mxGeometry(120,0,80,140),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedPyramid;fillColor=#AE4132;strokeColor=none;fontSize=10;labelPosition=center;align=center;fontColor=#000000;shadow=0;"); -d.vertex=!0;var f=new mxCell("Label",new mxGeometry(180,40,80,100),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedPyramid;fillColor=#12AAB5;strokeColor=none;fontSize=10;labelPosition=center;align=center;fontColor=#000000;shadow=0;");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(240,60,80,80),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedPyramid;fillColor=#23445D;strokeColor=none;fontSize=10;labelPosition=center;align=center;fontColor=#000000;shadow=0;"); -g.vertex=!0;return sb.createVertexTemplateFromCells([g,f,d,b,a],320,140,"Pyramid Graph")}),this.addEntry("change graph",function(){var a=new mxCell("",new mxGeometry(0,30,30,100),"fillColor=#10739E;strokeColor=none;");a.vertex=!0;var b=new mxCell("",new mxGeometry(3,30,24,70),"shape=mxgraph.arrows2.arrow;dy=0.4;dx=16;notch=0;direction=north;fillColor=#1699D3;strokeColor=none;");b.vertex=!0;a.insert(b);b=new mxCell("Label",new mxGeometry(0,0,30,20),"text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;;fontColor=#FFFFFF;fontSize=10;"); -b.vertex=!0;a.insert(b);b=new mxCell("",new mxGeometry(35,10,30,120),"fillColor=#F2931E;strokeColor=none;");b.vertex=!0;var d=new mxCell("",new mxGeometry(3,0,24,80),"shape=mxgraph.arrows2.arrow;dy=0.4;dx=16;notch=0;direction=south;fillColor=#F5AB50;strokeColor=none;");d.vertex=!0;b.insert(d);d=new mxCell("Label",new mxGeometry(0,0,30,20),"text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;;fontColor=#FFFFFF;fontSize=10;");d.vertex=!0;b.insert(d);d=new mxCell("",new mxGeometry(70,0,30, -130),"fillColor=#AE4132;strokeColor=none;");d.vertex=!0;var f=new mxCell("",new mxGeometry(3,80,24,50),"shape=mxgraph.arrows2.arrow;dy=0.4;dx=16;notch=0;direction=north;fillColor=#E85642;strokeColor=none;");f.vertex=!0;d.insert(f);f=new mxCell("Label",new mxGeometry(0,0,30,20),"text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;;fontColor=#FFFFFF;fontSize=10;");f.vertex=!0;d.insert(f);f=new mxCell("",new mxGeometry(105,50,30,80),"fillColor=#12AAB5;strokeColor=none;");f.vertex=!0;var g= -new mxCell("",new mxGeometry(3,0,24,30),"shape=mxgraph.arrows2.arrow;dy=0.4;dx=16;notch=0;direction=south;fillColor=#64BBE2;strokeColor=none;");g.vertex=!0;f.insert(g);g=new mxCell("Label",new mxGeometry(0,0,30,20),"text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;;fontColor=#FFFFFF;fontSize=10;");g.vertex=!0;f.insert(g);g=new mxCell("",new mxGeometry(140,60,30,70),"fillColor=#23445D;strokeColor=none;");g.vertex=!0;var h=new mxCell("",new mxGeometry(3,10,24,60),"shape=mxgraph.arrows2.arrow;dy=0.4;dx=16;notch=0;direction=north;fillColor=#2F5B7C;strokeColor=none;"); -h.vertex=!0;g.insert(h);h=new mxCell("Label",new mxGeometry(0,0,30,20),"text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;;fontColor=#FFFFFF;fontSize=10;");h.vertex=!0;g.insert(h);return sb.createVertexTemplateFromCells([a,b,d,f,g],170,130,"Change Graph")}),this.addEntry("step pyramid",function(){var a=new mxCell("",new mxGeometry(70,0,20,95),"html=1;shape=mxgraph.infographic.pyramidStep;fillColor=#F2931E;strokeColor=none;shadow=0;");a.vertex=!0;var b=new mxCell("",new mxGeometry(60,10, -40,85),"html=1;shape=mxgraph.infographic.pyramidStep;fillColor=#F8C382;strokeColor=none;shadow=0;");b.vertex=!0;var d=new mxCell("",new mxGeometry(50,20,60,75),"html=1;shape=mxgraph.infographic.pyramidStep;fillColor=#FCE7CD;strokeColor=none;shadow=0;");d.vertex=!0;var f=new mxCell("",new mxGeometry(40,30,80,65),"html=1;shape=mxgraph.infographic.pyramidStep;fillColor=#BAC8D3;strokeColor=none;shadow=0;");f.vertex=!0;var g=new mxCell("",new mxGeometry(30,40,100,55),"html=1;shape=mxgraph.infographic.pyramidStep;fillColor=#5D7F99;strokeColor=none;shadow=0;"); +b.vertex=!0;var c=new mxCell("Label",new mxGeometry(120,0,80,140),"verticalLabelPosition=middle;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedTriangle;fillColor=#AE4132;strokeColor=none;fontSize=10;labelPosition=center;align=center;fontColor=#FFFFFF;fontStyle=1;shadow=0;");c.vertex=!0;var f=new mxCell("Label",new mxGeometry(180,40,80,100),"verticalLabelPosition=middle;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedTriangle;fillColor=#12AAB5;strokeColor=none;fontSize=10;labelPosition=center;align=center;fontColor=#FFFFFF;fontStyle=1;shadow=0;"); +f.vertex=!0;var g=new mxCell("Label",new mxGeometry(240,60,80,80),"verticalLabelPosition=middle;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedTriangle;fillColor=#23445D;strokeColor=none;fontSize=10;labelPosition=center;align=center;fontColor=#FFFFFF;fontStyle=1;shadow=0;");g.vertex=!0;return sb.createVertexTemplateFromCells([g,f,c,b,a],320,140,"Triangle Graph")}),this.addEntry("pyramid graph",function(){var a=new mxCell("Label",new mxGeometry(0,70,80,70),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedPyramid;fillColor=#10739E;strokeColor=none;fontSize=10;labelPosition=center;align=center;shadow=0;"); +a.vertex=!0;var b=new mxCell("Label",new mxGeometry(60,10,80,130),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedPyramid;fillColor=#F2931E;strokeColor=none;fontSize=10;labelPosition=center;align=center;shadow=0;");b.vertex=!0;var c=new mxCell("Label",new mxGeometry(120,0,80,140),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedPyramid;fillColor=#AE4132;strokeColor=none;fontSize=10;labelPosition=center;align=center;shadow=0;"); +c.vertex=!0;var f=new mxCell("Label",new mxGeometry(180,40,80,100),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedPyramid;fillColor=#12AAB5;strokeColor=none;fontSize=10;labelPosition=center;align=center;shadow=0;");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(240,60,80,80),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedPyramid;fillColor=#23445D;strokeColor=none;fontSize=10;labelPosition=center;align=center;shadow=0;"); +g.vertex=!0;return sb.createVertexTemplateFromCells([g,f,c,b,a],320,140,"Pyramid Graph")}),this.addEntry("change graph",function(){var a=new mxCell("",new mxGeometry(0,30,30,100),"fillColor=#10739E;strokeColor=none;");a.vertex=!0;var b=new mxCell("",new mxGeometry(3,30,24,70),"shape=mxgraph.arrows2.arrow;dy=0.4;dx=16;notch=0;direction=north;fillColor=#1699D3;strokeColor=none;");b.vertex=!0;a.insert(b);b=new mxCell("Label",new mxGeometry(0,0,30,20),"text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;fontColor=#FFFFFF;fontSize=10;"); +b.vertex=!0;a.insert(b);b=new mxCell("",new mxGeometry(35,10,30,120),"fillColor=#F2931E;strokeColor=none;");b.vertex=!0;var c=new mxCell("",new mxGeometry(3,0,24,80),"shape=mxgraph.arrows2.arrow;dy=0.4;dx=16;notch=0;direction=south;fillColor=#F5AB50;strokeColor=none;");c.vertex=!0;b.insert(c);c=new mxCell("Label",new mxGeometry(0,0,30,20),"text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;fontColor=#FFFFFF;fontSize=10;");c.vertex=!0;b.insert(c);c=new mxCell("",new mxGeometry(70,0,30,130), +"fillColor=#AE4132;strokeColor=none;");c.vertex=!0;var f=new mxCell("",new mxGeometry(3,80,24,50),"shape=mxgraph.arrows2.arrow;dy=0.4;dx=16;notch=0;direction=north;fillColor=#E85642;strokeColor=none;");f.vertex=!0;c.insert(f);f=new mxCell("Label",new mxGeometry(0,0,30,20),"text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;fontColor=#FFFFFF;fontSize=10;");f.vertex=!0;c.insert(f);f=new mxCell("",new mxGeometry(105,50,30,80),"fillColor=#12AAB5;strokeColor=none;");f.vertex=!0;var g=new mxCell("", +new mxGeometry(3,0,24,30),"shape=mxgraph.arrows2.arrow;dy=0.4;dx=16;notch=0;direction=south;fillColor=#64BBE2;strokeColor=none;");g.vertex=!0;f.insert(g);g=new mxCell("Label",new mxGeometry(0,0,30,20),"text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;fontColor=#FFFFFF;fontSize=10;");g.vertex=!0;f.insert(g);g=new mxCell("",new mxGeometry(140,60,30,70),"fillColor=#23445D;strokeColor=none;");g.vertex=!0;var h=new mxCell("",new mxGeometry(3,10,24,60),"shape=mxgraph.arrows2.arrow;dy=0.4;dx=16;notch=0;direction=north;fillColor=#2F5B7C;strokeColor=none;"); +h.vertex=!0;g.insert(h);h=new mxCell("Label",new mxGeometry(0,0,30,20),"text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;fontColor=#FFFFFF;fontSize=10;");h.vertex=!0;g.insert(h);return sb.createVertexTemplateFromCells([a,b,c,f,g],170,130,"Change Graph")}),this.addEntry("step pyramid",function(){var a=new mxCell("",new mxGeometry(70,0,20,95),"html=1;shape=mxgraph.infographic.pyramidStep;fillColor=#F2931E;strokeColor=none;shadow=0;");a.vertex=!0;var b=new mxCell("",new mxGeometry(60,10, +40,85),"html=1;shape=mxgraph.infographic.pyramidStep;fillColor=#F8C382;strokeColor=none;shadow=0;");b.vertex=!0;var c=new mxCell("",new mxGeometry(50,20,60,75),"html=1;shape=mxgraph.infographic.pyramidStep;fillColor=#FCE7CD;strokeColor=none;shadow=0;");c.vertex=!0;var f=new mxCell("",new mxGeometry(40,30,80,65),"html=1;shape=mxgraph.infographic.pyramidStep;fillColor=#BAC8D3;strokeColor=none;shadow=0;");f.vertex=!0;var g=new mxCell("",new mxGeometry(30,40,100,55),"html=1;shape=mxgraph.infographic.pyramidStep;fillColor=#5D7F99;strokeColor=none;shadow=0;"); g.vertex=!0;var h=new mxCell("",new mxGeometry(20,50,120,45),"html=1;shape=mxgraph.infographic.pyramidStep;fillColor=#2F5B7C;strokeColor=none;shadow=0;");h.vertex=!0;var k=new mxCell("",new mxGeometry(10,60,140,35),"html=1;shape=mxgraph.infographic.pyramidStep;fillColor=#23445D;strokeColor=none;shadow=0;");k.vertex=!0;var l=new mxCell("",new mxGeometry(0,70,160,25),"html=1;shape=mxgraph.infographic.pyramidStep;fillColor=#333333;strokeColor=none;shadow=0;");l.vertex=!0;return sb.createVertexTemplateFromCells([a, -b,d,f,g,h,k,l],160,95,"Step Pyramid")}),this.addEntry("circular dial list horizontal",function(){var a=new mxCell("Label",new mxGeometry(0,0,100,100),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#B1DDF0;fontSize=12;fontColor=#10739E;align=center;fontStyle=1;");a.vertex=!0;var b=new mxCell("65%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.65;arcWidth=0.2;strokeColor=none;fillColor=#10739E;fontSize=22;fontColor=#10739E;align=center;fontStyle=1"); -b.vertex=!0;a.insert(b);b=new mxCell("Label",new mxGeometry(110,0,100,100),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#F8C382;fontSize=12;fontColor=#F2931E;align=center;fontStyle=1;");b.vertex=!0;var d=new mxCell("40%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.4;arcWidth=0.2;strokeColor=none;fillColor=#F2931E;fontSize=22;fontColor=#F2931E;align=center;fontStyle=1"); -d.vertex=!0;b.insert(d);d=new mxCell("Label",new mxGeometry(220,0,100,100),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#F08E81;fontSize=12;fontColor=#AE4132;align=center;fontStyle=1;");d.vertex=!0;var f=new mxCell("25%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.25;arcWidth=0.2;strokeColor=none;fillColor=#AE4132;fontSize=22;fontColor=#AE4132;align=center;fontStyle=1"); -f.vertex=!0;d.insert(f);f=new mxCell("Label",new mxGeometry(330,0,100,100),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#5D7F99;fontSize=12;fontColor=#23445D;align=center;fontStyle=1;");f.vertex=!0;var g=new mxCell("60%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.6;arcWidth=0.2;strokeColor=none;fillColor=#23445D;fontSize=22;fontColor=#23445D;align=center;fontStyle=1"); +b,c,f,g,h,k,l],160,95,"Step Pyramid")}),this.addEntry("circular dial list horizontal",function(){var a=new mxCell("Label",new mxGeometry(0,0,100,100),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#B1DDF0;fontSize=12;fontColor=#10739E;align=center;fontStyle=1;");a.vertex=!0;var b=new mxCell("65%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.65;arcWidth=0.2;strokeColor=none;fillColor=#10739E;fontSize=22;fontColor=#10739E;align=center;fontStyle=1"); +b.vertex=!0;a.insert(b);b=new mxCell("Label",new mxGeometry(110,0,100,100),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#F8C382;fontSize=12;fontColor=#F2931E;align=center;fontStyle=1;");b.vertex=!0;var c=new mxCell("40%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.4;arcWidth=0.2;strokeColor=none;fillColor=#F2931E;fontSize=22;fontColor=#F2931E;align=center;fontStyle=1"); +c.vertex=!0;b.insert(c);c=new mxCell("Label",new mxGeometry(220,0,100,100),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#F08E81;fontSize=12;fontColor=#AE4132;align=center;fontStyle=1;");c.vertex=!0;var f=new mxCell("25%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.25;arcWidth=0.2;strokeColor=none;fillColor=#AE4132;fontSize=22;fontColor=#AE4132;align=center;fontStyle=1"); +f.vertex=!0;c.insert(f);f=new mxCell("Label",new mxGeometry(330,0,100,100),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#5D7F99;fontSize=12;fontColor=#23445D;align=center;fontStyle=1;");f.vertex=!0;var g=new mxCell("60%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.6;arcWidth=0.2;strokeColor=none;fillColor=#23445D;fontSize=22;fontColor=#23445D;align=center;fontStyle=1"); g.vertex=!0;f.insert(g);g=new mxCell("Label",new mxGeometry(440,0,100,100),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#61C6CE;fontSize=12;fontColor=#12AAB5;align=center;fontStyle=1;");g.vertex=!0;var h=new mxCell("80%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.8;arcWidth=0.2;strokeColor=none;fillColor=#12AAB5;fontSize=22;fontColor=#12AAB5;align=center;fontStyle=1"); -h.vertex=!0;g.insert(h);return sb.createVertexTemplateFromCells([a,b,d,f,g],540,100,"Circular Dial List (horizontal)")}),this.addEntry("circular dial list vertical",function(){var a=new mxCell("Label",new mxGeometry(0,0,100,100),"labelPosition=right;spacingLeft=10;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#B1DDF0;fontSize=12;fontColor=#10739E;align=left;fontStyle=1;");a.vertex=!0;var b=new mxCell("65%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.65;arcWidth=0.2;strokeColor=none;fillColor=#10739E;fontSize=22;fontColor=#10739E;align=center;fontStyle=1"); -b.vertex=!0;a.insert(b);b=new mxCell("Label",new mxGeometry(0,110,100,100),"labelPosition=right;spacingLeft=10;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#F8C382;fontSize=12;fontColor=#F2931E;align=left;fontStyle=1;");b.vertex=!0;var d=new mxCell("40%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.4;arcWidth=0.2;strokeColor=none;fillColor=#F2931E;fontSize=22;fontColor=#F2931E;align=center;fontStyle=1"); -d.vertex=!0;b.insert(d);d=new mxCell("Label",new mxGeometry(0,220,100,100),"labelPosition=right;spacingLeft=10;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#F08E81;fontSize=12;fontColor=#AE4132;align=left;fontStyle=1;");d.vertex=!0;var f=new mxCell("25%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.25;arcWidth=0.2;strokeColor=none;fillColor=#AE4132;fontSize=22;fontColor=#AE4132;align=center;fontStyle=1"); -f.vertex=!0;d.insert(f);f=new mxCell("Label",new mxGeometry(0,330,100,100),"labelPosition=right;spacingLeft=10;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#5D7F99;fontSize=12;fontColor=#23445D;align=left;fontStyle=1;");f.vertex=!0;var g=new mxCell("60%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.6;arcWidth=0.2;strokeColor=none;fillColor=#23445D;fontSize=22;fontColor=#23445D;align=center;fontStyle=1"); +h.vertex=!0;g.insert(h);return sb.createVertexTemplateFromCells([a,b,c,f,g],540,100,"Circular Dial List (horizontal)")}),this.addEntry("circular dial list vertical",function(){var a=new mxCell("Label",new mxGeometry(0,0,100,100),"labelPosition=right;spacingLeft=10;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#B1DDF0;fontSize=12;fontColor=#10739E;align=left;fontStyle=1;");a.vertex=!0;var b=new mxCell("65%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.65;arcWidth=0.2;strokeColor=none;fillColor=#10739E;fontSize=22;fontColor=#10739E;align=center;fontStyle=1"); +b.vertex=!0;a.insert(b);b=new mxCell("Label",new mxGeometry(0,110,100,100),"labelPosition=right;spacingLeft=10;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#F8C382;fontSize=12;fontColor=#F2931E;align=left;fontStyle=1;");b.vertex=!0;var c=new mxCell("40%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.4;arcWidth=0.2;strokeColor=none;fillColor=#F2931E;fontSize=22;fontColor=#F2931E;align=center;fontStyle=1"); +c.vertex=!0;b.insert(c);c=new mxCell("Label",new mxGeometry(0,220,100,100),"labelPosition=right;spacingLeft=10;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#F08E81;fontSize=12;fontColor=#AE4132;align=left;fontStyle=1;");c.vertex=!0;var f=new mxCell("25%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.25;arcWidth=0.2;strokeColor=none;fillColor=#AE4132;fontSize=22;fontColor=#AE4132;align=center;fontStyle=1"); +f.vertex=!0;c.insert(f);f=new mxCell("Label",new mxGeometry(0,330,100,100),"labelPosition=right;spacingLeft=10;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#5D7F99;fontSize=12;fontColor=#23445D;align=left;fontStyle=1;");f.vertex=!0;var g=new mxCell("60%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.6;arcWidth=0.2;strokeColor=none;fillColor=#23445D;fontSize=22;fontColor=#23445D;align=center;fontStyle=1"); g.vertex=!0;f.insert(g);g=new mxCell("Label",new mxGeometry(0,440,100,100),"labelPosition=right;spacingLeft=10;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#61C6CE;fontSize=12;fontColor=#12AAB5;align=left;fontStyle=1;");g.vertex=!0;var h=new mxCell("80%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.8;arcWidth=0.2;strokeColor=none;fillColor=#12AAB5;fontSize=22;fontColor=#12AAB5;align=center;fontStyle=1"); -h.vertex=!0;g.insert(h);return sb.createVertexTemplateFromCells([a,b,d,f,g],100,540,"Circular Dial List (vertical)")}),this.addEntry("circular dial list horizontal",function(){var a=new mxCell("Label",new mxGeometry(0,0,100,30),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=none;strokeColor=none;fontSize=15;fontColor=#10739E;align=center;fontStyle=1;");a.vertex=!0;var b=new mxCell("65%",new mxGeometry(0,30,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;startAngle=0;endAngle=0.65;arcWidth=0.4;strokeColor=none;fillColor=#10739E;fontSize=22;fontColor=#10739E;align=center;fontStyle=1;"); -b.vertex=!0;var d=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",new mxGeometry(0,140,100,120),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;fontColor=#000000;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;");d.vertex=!0;var f=new mxCell("Label",new mxGeometry(110,0,100,30),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=none;strokeColor=none;fontSize=15;fontColor=#F2931E;align=center;fontStyle=1;"); -f.vertex=!0;var g=new mxCell("40%",new mxGeometry(110,30,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;startAngle=0;endAngle=0.4;arcWidth=0.4;strokeColor=none;fillColor=#F2931E;fontSize=22;fontColor=#F2931E;align=center;fontStyle=1;");g.vertex=!0;var h=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",new mxGeometry(110,140,100,120),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;fontColor=#000000;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;"); +h.vertex=!0;g.insert(h);return sb.createVertexTemplateFromCells([a,b,c,f,g],100,540,"Circular Dial List (vertical)")}),this.addEntry("circular dial list horizontal",function(){var a=new mxCell("Label",new mxGeometry(0,0,100,30),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=none;strokeColor=none;fontSize=15;fontColor=#10739E;align=center;fontStyle=1;");a.vertex=!0;var b=new mxCell("65%",new mxGeometry(0,30,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;startAngle=0;endAngle=0.65;arcWidth=0.4;strokeColor=none;fillColor=#10739E;fontSize=22;fontColor=#10739E;align=center;fontStyle=1;"); +b.vertex=!0;var c=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",new mxGeometry(0,140,100,120),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;");c.vertex=!0;var f=new mxCell("Label",new mxGeometry(110,0,100,30),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=none;strokeColor=none;fontSize=15;fontColor=#F2931E;align=center;fontStyle=1;"); +f.vertex=!0;var g=new mxCell("40%",new mxGeometry(110,30,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;startAngle=0;endAngle=0.4;arcWidth=0.4;strokeColor=none;fillColor=#F2931E;fontSize=22;fontColor=#F2931E;align=center;fontStyle=1;");g.vertex=!0;var h=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",new mxGeometry(110,140,100,120),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;"); h.vertex=!0;var k=new mxCell("Label",new mxGeometry(220,0,100,30),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=none;strokeColor=none;fontSize=15;fontColor=#AE4132;align=center;fontStyle=1;");k.vertex=!0;var l=new mxCell("25%",new mxGeometry(220,30,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;startAngle=0;endAngle=0.25;arcWidth=0.4;strokeColor=none;fillColor=#AE4132;fontSize=22;fontColor=#AE4132;align=center;fontStyle=1;"); -l.vertex=!0;var m=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",new mxGeometry(220,140,100,120),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;fontColor=#000000;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;");m.vertex=!0;var q=new mxCell("Label",new mxGeometry(330,0,100,30),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=none;strokeColor=none;fontSize=15;fontColor=#23445D;align=center;fontStyle=1;"); -q.vertex=!0;var r=new mxCell("60%",new mxGeometry(330,30,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;startAngle=0;endAngle=0.6;arcWidth=0.4;strokeColor=none;fillColor=#23445D;fontSize=22;fontColor=#23445D;align=center;fontStyle=1;");r.vertex=!0;var n=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",new mxGeometry(330,140,100,120),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;fontColor=#000000;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;"); +l.vertex=!0;var m=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",new mxGeometry(220,140,100,120),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;");m.vertex=!0;var q=new mxCell("Label",new mxGeometry(330,0,100,30),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=none;strokeColor=none;fontSize=15;fontColor=#23445D;align=center;fontStyle=1;"); +q.vertex=!0;var r=new mxCell("60%",new mxGeometry(330,30,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;startAngle=0;endAngle=0.6;arcWidth=0.4;strokeColor=none;fillColor=#23445D;fontSize=22;fontColor=#23445D;align=center;fontStyle=1;");r.vertex=!0;var n=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",new mxGeometry(330,140,100,120),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;"); n.vertex=!0;var p=new mxCell("Label",new mxGeometry(440,0,100,30),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=none;strokeColor=none;fontSize=15;fontColor=#12AAB5;align=center;fontStyle=1;");p.vertex=!0;var u=new mxCell("80%",new mxGeometry(440,30,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;startAngle=0;endAngle=0.8;arcWidth=0.4;strokeColor=none;fillColor=#12AAB5;fontSize=22;fontColor=#12AAB5;align=center;fontStyle=1;"); -u.vertex=!0;var t=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",new mxGeometry(440,140,100,120),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;fontColor=#000000;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;");t.vertex=!0;return sb.createVertexTemplateFromCells([b,g,l,r,u,a,f,k,q,p,d,h,m,n,t],540,260,"Circular Dial List (horizontal)")}), +u.vertex=!0;var t=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",new mxGeometry(440,140,100,120),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;");t.vertex=!0;return sb.createVertexTemplateFromCells([b,g,l,r,u,a,f,k,q,p,c,h,m,n,t],540,260,"Circular Dial List (horizontal)")}), this.addEntry("circular dial list vertical",function(){var a=new mxCell("65%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;startAngle=0;endAngle=0.65;arcWidth=0.4;strokeColor=none;fillColor=#10739E;fontSize=22;fontColor=#10739E;align=center;fontStyle=1;");a.vertex=!0;var b=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#10739E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</font></font>', -new mxGeometry(110,0,210,100),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=left;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=8;");b.vertex=!0;var d=new mxCell("40%",new mxGeometry(0,110,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;startAngle=0;endAngle=0.4;arcWidth=0.4;strokeColor=none;fillColor=#F2931E;fontSize=22;fontColor=#F2931E;align=center;fontStyle=1;");d.vertex=!0;var f=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#F2931E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</font></font>', +new mxGeometry(110,0,210,100),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=left;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=8;");b.vertex=!0;var c=new mxCell("40%",new mxGeometry(0,110,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;startAngle=0;endAngle=0.4;arcWidth=0.4;strokeColor=none;fillColor=#F2931E;fontSize=22;fontColor=#F2931E;align=center;fontStyle=1;");c.vertex=!0;var f=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#F2931E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</font></font>', new mxGeometry(110,110,210,100),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=left;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=8;");f.vertex=!0;var g=new mxCell("25%",new mxGeometry(0,220,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;startAngle=0;endAngle=0.25;arcWidth=0.4;strokeColor=none;fillColor=#AE4132;fontSize=22;fontColor=#AE4132;align=center;fontStyle=1;");g.vertex=!0;var h=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#AE4132"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</font></font>', new mxGeometry(110,220,210,100),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=left;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=8;");h.vertex=!0;var k=new mxCell("60%",new mxGeometry(0,330,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;startAngle=0;endAngle=0.6;arcWidth=0.4;strokeColor=none;fillColor=#23445D;fontSize=22;fontColor=#23445D;align=center;fontStyle=1;");k.vertex=!0;var l=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#23445D"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</font></font>', new mxGeometry(110,330,210,100),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=left;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=8;");l.vertex=!0;var m=new mxCell("80%",new mxGeometry(0,440,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;startAngle=0;endAngle=0.8;arcWidth=0.4;strokeColor=none;fillColor=#12AAB5;fontSize=22;fontColor=#12AAB5;align=center;fontStyle=1;");m.vertex=!0;var q=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#12AAB5"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</font></font>', -new mxGeometry(110,440,210,100),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=left;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=8;");q.vertex=!0;return sb.createVertexTemplateFromCells([a,d,g,k,m,b,f,h,l,q],320,540,"Circular Dial List (vertical)")}),this.addEntry("bar graph",function(){var b=new mxCell("Label",new mxGeometry(0,20,40,80),a+"shadedCube;isoAngle=15;fillColor=#10739E;strokeColor=none;fontStyle=1;fontColor=#10739E;fontSize=12;shadow=0;");b.vertex=!0;var c= -new mxCell("Label",new mxGeometry(50,0,40,100),a+"shadedCube;isoAngle=15;fillColor=#F2931E;strokeColor=none;fontStyle=1;fontColor=#F2931E;fontSize=12;shadow=0;");c.vertex=!0;var d=new mxCell("Label",new mxGeometry(100,10,40,90),a+"shadedCube;isoAngle=15;fillColor=#AE4132;strokeColor=none;fontStyle=1;fontColor=#AE4132;fontSize=12;shadow=0;");d.vertex=!0;var f=new mxCell("Label",new mxGeometry(150,50,40,50),a+"shadedCube;isoAngle=15;fillColor=#23445D;strokeColor=none;fontStyle=1;fontColor=#23445D;fontSize=12;shadow=0;"); -f.vertex=!0;var g=new mxCell("Label",new mxGeometry(200,30,40,70),a+"shadedCube;isoAngle=15;fillColor=#12AAB5;strokeColor=none;fontStyle=1;fontColor=#12AAB5;fontSize=12;shadow=0;");g.vertex=!0;return sb.createVertexTemplateFromCells([b,c,d,f,g],240,100,"Bar Graph")}),this.addEntry("bar graph",function(){var b=new mxCell("Label",new mxGeometry(0,40,40,80),a+"shadedCube;isoAngle=15;fillColor=#10739E;strokeColor=none;fontStyle=1;fontColor=#10739E;fontSize=12;shadow=0;");b.vertex=!0;var c=new mxCell("", -new mxGeometry(0,0,40,60),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedCube;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#10739E;fontSize=12;shadow=0;align=left;opacity=70;");c.vertex=!0;var d=new mxCell("Label",new mxGeometry(50,20,40,100),a+"shadedCube;isoAngle=15;fillColor=#F2931E;strokeColor=none;fontStyle=1;fontColor=#F2931E;fontSize=12;shadow=0;");d.vertex=!0;var f=new mxCell("",new mxGeometry(50,0,40,40),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedCube;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#F19A19;fontSize=12;shadow=0;align=left;opacity=70;"); +new mxGeometry(110,440,210,100),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=left;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=8;");q.vertex=!0;return sb.createVertexTemplateFromCells([a,c,g,k,m,b,f,h,l,q],320,540,"Circular Dial List (vertical)")}),this.addEntry("bar graph",function(){var b=new mxCell("Label",new mxGeometry(0,20,40,80),a+"shadedCube;isoAngle=15;fillColor=#10739E;strokeColor=none;fontStyle=1;fontColor=#10739E;fontSize=12;shadow=0;");b.vertex=!0;var d= +new mxCell("Label",new mxGeometry(50,0,40,100),a+"shadedCube;isoAngle=15;fillColor=#F2931E;strokeColor=none;fontStyle=1;fontColor=#F2931E;fontSize=12;shadow=0;");d.vertex=!0;var c=new mxCell("Label",new mxGeometry(100,10,40,90),a+"shadedCube;isoAngle=15;fillColor=#AE4132;strokeColor=none;fontStyle=1;fontColor=#AE4132;fontSize=12;shadow=0;");c.vertex=!0;var f=new mxCell("Label",new mxGeometry(150,50,40,50),a+"shadedCube;isoAngle=15;fillColor=#23445D;strokeColor=none;fontStyle=1;fontColor=#23445D;fontSize=12;shadow=0;"); +f.vertex=!0;var g=new mxCell("Label",new mxGeometry(200,30,40,70),a+"shadedCube;isoAngle=15;fillColor=#12AAB5;strokeColor=none;fontStyle=1;fontColor=#12AAB5;fontSize=12;shadow=0;");g.vertex=!0;return sb.createVertexTemplateFromCells([b,d,c,f,g],240,100,"Bar Graph")}),this.addEntry("bar graph",function(){var b=new mxCell("Label",new mxGeometry(0,40,40,80),a+"shadedCube;isoAngle=15;fillColor=#10739E;strokeColor=none;fontStyle=1;fontColor=#10739E;fontSize=12;shadow=0;");b.vertex=!0;var d=new mxCell("", +new mxGeometry(0,0,40,60),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedCube;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#10739E;fontSize=12;shadow=0;align=left;opacity=70;");d.vertex=!0;var c=new mxCell("Label",new mxGeometry(50,20,40,100),a+"shadedCube;isoAngle=15;fillColor=#F2931E;strokeColor=none;fontStyle=1;fontColor=#F2931E;fontSize=12;shadow=0;");c.vertex=!0;var f=new mxCell("",new mxGeometry(50,0,40,40),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedCube;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#F19A19;fontSize=12;shadow=0;align=left;opacity=70;"); f.vertex=!0;var g=new mxCell("Label",new mxGeometry(100,30,40,90),a+"shadedCube;isoAngle=15;fillColor=#AE4132;strokeColor=none;fontStyle=1;fontColor=#AE4132;fontSize=12;shadow=0;");g.vertex=!0;var h=new mxCell("",new mxGeometry(100,0,40,50),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedCube;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#D82A23;fontSize=12;shadow=0;align=left;opacity=70;");h.vertex=!0;var k=new mxCell("Label",new mxGeometry(150, 70,40,50),a+"shadedCube;isoAngle=15;fillColor=#23445D;strokeColor=none;fontStyle=1;fontColor=#23445D;fontSize=12;shadow=0;");k.vertex=!0;var l=new mxCell("",new mxGeometry(150,0,40,90),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedCube;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#4A5768;fontSize=12;shadow=0;align=left;opacity=70;");l.vertex=!0;var m=new mxCell("Label",new mxGeometry(200,50,40,70),a+"shadedCube;isoAngle=15;fillColor=#12AAB5;strokeColor=none;fontStyle=1;fontColor=#12AAB5;fontSize=12;shadow=0;"); -m.vertex=!0;var q=new mxCell("",new mxGeometry(200,0,40,70),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedCube;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#15AA96;fontSize=12;shadow=0;align=left;opacity=70;");q.vertex=!0;return sb.createVertexTemplateFromCells([b,d,g,k,m,c,f,h,l,q],240,120,"Bar Graph")}),this.addEntry("bar graph",function(){var b=new mxCell("",new mxGeometry(0,38,40,80),a+"shadedCube;isoAngle=15;fillColor=#10739E;strokeColor=none;shadow=0;"); -b.vertex=!0;var c=new mxCell("",new mxGeometry(25,6,40,100),a+"shadedCube;isoAngle=15;fillColor=#F2931E;strokeColor=none;shadow=0;");c.vertex=!0;var d=new mxCell("",new mxGeometry(50,4,40,90),a+"shadedCube;isoAngle=15;fillColor=#AE4132;strokeColor=none;shadow=0;");d.vertex=!0;var f=new mxCell("",new mxGeometry(75,32,40,50),a+"shadedCube;isoAngle=15;fillColor=#23445D;strokeColor=none;shadow=0;");f.vertex=!0;var g=new mxCell("",new mxGeometry(100,0,40,70),a+"shadedCube;isoAngle=15;fillColor=#12AAB5;strokeColor=none;shadow=0;"); -g.vertex=!0;return sb.createVertexTemplateFromCells([g,f,d,c,b],140,100,"Bar Graph")}),this.addEntry("bar graph",function(){var b=new mxCell("Label",new mxGeometry(0,40,40,80),a+"cylinder;isoAngle=15;fillColor=#10739E;strokeColor=none;fontStyle=1;fontColor=#10739E;fontSize=12;shadow=0;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,40,60),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.cylinder;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#10739E;fontSize=12;shadow=0;align=left;opacity=70;"); -c.vertex=!0;var d=new mxCell("Label",new mxGeometry(50,20,40,100),a+"cylinder;isoAngle=15;fillColor=#F2931E;strokeColor=none;fontStyle=1;fontColor=#F2931E;fontSize=12;shadow=0;");d.vertex=!0;var f=new mxCell("",new mxGeometry(50,0,40,40),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.cylinder;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#F2931E;fontSize=12;shadow=0;align=left;opacity=70;");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(100, +m.vertex=!0;var q=new mxCell("",new mxGeometry(200,0,40,70),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.shadedCube;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#15AA96;fontSize=12;shadow=0;align=left;opacity=70;");q.vertex=!0;return sb.createVertexTemplateFromCells([b,c,g,k,m,d,f,h,l,q],240,120,"Bar Graph")}),this.addEntry("bar graph",function(){var b=new mxCell("",new mxGeometry(0,38,40,80),a+"shadedCube;isoAngle=15;fillColor=#10739E;strokeColor=none;shadow=0;"); +b.vertex=!0;var d=new mxCell("",new mxGeometry(25,6,40,100),a+"shadedCube;isoAngle=15;fillColor=#F2931E;strokeColor=none;shadow=0;");d.vertex=!0;var c=new mxCell("",new mxGeometry(50,4,40,90),a+"shadedCube;isoAngle=15;fillColor=#AE4132;strokeColor=none;shadow=0;");c.vertex=!0;var f=new mxCell("",new mxGeometry(75,32,40,50),a+"shadedCube;isoAngle=15;fillColor=#23445D;strokeColor=none;shadow=0;");f.vertex=!0;var g=new mxCell("",new mxGeometry(100,0,40,70),a+"shadedCube;isoAngle=15;fillColor=#12AAB5;strokeColor=none;shadow=0;"); +g.vertex=!0;return sb.createVertexTemplateFromCells([g,f,c,d,b],140,100,"Bar Graph")}),this.addEntry("bar graph",function(){var b=new mxCell("Label",new mxGeometry(0,40,40,80),a+"cylinder;isoAngle=15;fillColor=#10739E;strokeColor=none;fontStyle=1;fontColor=#10739E;fontSize=12;shadow=0;");b.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,40,60),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.cylinder;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#10739E;fontSize=12;shadow=0;align=left;opacity=70;"); +d.vertex=!0;var c=new mxCell("Label",new mxGeometry(50,20,40,100),a+"cylinder;isoAngle=15;fillColor=#F2931E;strokeColor=none;fontStyle=1;fontColor=#F2931E;fontSize=12;shadow=0;");c.vertex=!0;var f=new mxCell("",new mxGeometry(50,0,40,40),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.cylinder;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#F2931E;fontSize=12;shadow=0;align=left;opacity=70;");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(100, 30,40,90),a+"cylinder;isoAngle=15;fillColor=#AE4132;strokeColor=none;fontStyle=1;fontColor=#AE4132;fontSize=12;shadow=0;");g.vertex=!0;var h=new mxCell("",new mxGeometry(100,0,40,50),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.cylinder;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#AE4132;fontSize=12;shadow=0;align=left;opacity=70;");h.vertex=!0;var k=new mxCell("Label",new mxGeometry(150,70,40,50),a+"cylinder;isoAngle=15;fillColor=#23445D;strokeColor=none;fontStyle=1;fontColor=#23445D;fontSize=12;shadow=0;"); k.vertex=!0;var l=new mxCell("",new mxGeometry(150,0,40,90),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.cylinder;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#23445D;fontSize=12;shadow=0;align=left;opacity=70;");l.vertex=!0;var m=new mxCell("Label",new mxGeometry(200,50,40,70),a+"cylinder;isoAngle=15;fillColor=#12AAB5;strokeColor=none;fontStyle=1;fontColor=#12AAB5;fontSize=12;shadow=0;");m.vertex=!0;var q=new mxCell("",new mxGeometry(200, -0,40,70),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.cylinder;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#12AAB5;fontSize=12;shadow=0;align=left;opacity=70;");q.vertex=!0;return sb.createVertexTemplateFromCells([b,d,g,k,m,c,f,h,l,q],240,120,"Bar Graph")}),this.addEntry("folded banners",function(){var a=new mxCell("Label",new mxGeometry(0,0,200,100),"html=1;shape=mxgraph.infographic.bannerHalfFold;dx=40;dx2=20;notch=15;fillColor=#10739E;strokeColor=none;align=left;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;spacingLeft=25;spacingTop=5;"); -a.vertex=!0;var b=new mxCell("Label",new mxGeometry(0,60,200,100),"html=1;shape=mxgraph.infographic.bannerHalfFold;dx=40;dx2=20;notch=15;fillColor=#F2931E;strokeColor=none;align=left;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;spacingLeft=25;spacingTop=5;");b.vertex=!0;var d=new mxCell("Label",new mxGeometry(0,120,200,100),"html=1;shape=mxgraph.infographic.bannerHalfFold;dx=40;dx2=20;notch=15;fillColor=#AE4132;strokeColor=none;align=left;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;spacingLeft=25;spacingTop=5;"); -d.vertex=!0;var f=new mxCell("Label",new mxGeometry(0,180,200,100),"html=1;shape=mxgraph.infographic.bannerHalfFold;dx=40;dx2=20;notch=15;fillColor=#23445D;strokeColor=none;align=left;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;spacingLeft=25;spacingTop=5;");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(0,240,200,120),"html=1;shape=mxgraph.infographic.bannerHalfFold;dx=40;dx2=20;notch=15;fillColor=#12AAB5;strokeColor=none;align=left;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;spacingLeft=25;spacingTop=5;"); -g.vertex=!0;return sb.createVertexTemplateFromCells([a,b,d,f,g],200,360,"Folded Banners")}),this.addEntry("cylinder graph",function(){var a=new mxCell("Label",new mxGeometry(0,0,100,85),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#10739E;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#10739E;");a.vertex=!0;var b=new mxCell("Label",new mxGeometry(0,75,100,55),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#F2931E;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#F2931E;"); -b.vertex=!0;var d=new mxCell("Label",new mxGeometry(0,120,100,110),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#AE4132;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#AE4132;");d.vertex=!0;var f=new mxCell("Label",new mxGeometry(0,220,100,150),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#23445D;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#23445D;"); -f.vertex=!0;var g=new mxCell("Label",new mxGeometry(0,360,100,90),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#12AAB5;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#12AAB5;");g.vertex=!0;return sb.createVertexTemplateFromCells([g,f,d,b,a],100,460,"Cylinder Graph")}),this.addEntry("cylinder graph",function(){var a=new mxCell("Label",new mxGeometry(0,0,100,85),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#10739E;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#10739E;"); -a.vertex=!0;var b=new mxCell("Label",new mxGeometry(0,65,100,55),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#F2931E;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#F2931E;");b.vertex=!0;var d=new mxCell("Label",new mxGeometry(0,100,100,110),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#AE4132;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#AE4132;"); -d.vertex=!0;var f=new mxCell("Label",new mxGeometry(0,190,100,150),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#23445D;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#23445D;");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(0,320,100,90),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#12AAB5;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#12AAB5;"); -g.vertex=!0;return sb.createVertexTemplateFromCells([g,f,d,b,a],100,410,"Cylinder Graph")}),this.addEntry("ribbon list",function(){var a=new mxCell("",new mxGeometry(0,0,500,100),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=0;fillColor=#10739E;strokeColor=none;shadow=1;");a.vertex=!0;var b=new mxCell("Label",new mxGeometry(410,50,100,60),"shape=manualInput;whiteSpace=wrap;html=1;shadow=1;strokeColor=none;fillColor=#dddddd;fontSize=15;fontColor=#444444;align=right;direction=south;flipH=1;shadow=1;spacing=10;fontStyle=1;"); -b.vertex=!0;var d=new mxCell("",new mxGeometry(0,.5,30,40),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;shadow=0;strokeColor=none;strokeWidth=6;fillColor=#CCCCCC;size=20;");d.vertex=!0;d.geometry.relative=!0;d.geometry.offset=new mxPoint(150,-20);a.insert(d);d=new mxCell('<b>Heading</b><br><font style="font-size: 11px">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</font>',new mxGeometry(0,0,230, -100),"text;strokeColor=none;fillColor=none;spacing=5;spacingTop=0;whiteSpace=wrap;overflow=hidden;rounded=0;shadow=0;fontSize=15;fontColor=#FFFFFF;align=left;html=1;");d.vertex=!0;d.geometry.relative=!0;d.geometry.offset=new mxPoint(200,0);a.insert(d);d=new mxCell("",new mxGeometry(50,32,50,37),"shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fillColor=#FFFFFF;fontSize=15;fontColor=#FFFFFF;align=left;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,120,500,100), -"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=0;fillColor=#F2931E;strokeColor=none;shadow=1;");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(410,170,100,60),"shape=manualInput;whiteSpace=wrap;html=1;shadow=1;strokeColor=none;fillColor=#dddddd;fontSize=15;fontColor=#444444;align=right;direction=south;flipH=1;shadow=1;spacing=10;fontStyle=1;");g.vertex=!0;var h=new mxCell("",new mxGeometry(0,.5,30,40),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;shadow=0;strokeColor=none;strokeWidth=6;fillColor=#CCCCCC;size=20;"); -h.vertex=!0;h.geometry.relative=!0;h.geometry.offset=new mxPoint(150,-20);f.insert(h);h=new mxCell('<b>Heading</b><br><font style="font-size: 11px">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</font>',new mxGeometry(0,0,230,100),"text;strokeColor=none;fillColor=none;spacing=5;spacingTop=0;whiteSpace=wrap;overflow=hidden;rounded=0;shadow=0;fontSize=15;fontColor=#FFFFFF;align=left;html=1;");h.vertex=!0;h.geometry.relative= -!0;h.geometry.offset=new mxPoint(200,0);f.insert(h);h=new mxCell("",new mxGeometry(50,152,50,37),"shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fillColor=#FFFFFF;fontSize=15;fontColor=#FFFFFF;align=left;");h.vertex=!0;var k=new mxCell("",new mxGeometry(0,240,500,100),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=0;fillColor=#AE4132;strokeColor=none;shadow=1;");k.vertex=!0;var l=new mxCell("Label",new mxGeometry(410,290,100,60),"shape=manualInput;whiteSpace=wrap;html=1;shadow=1;strokeColor=none;fillColor=#dddddd;fontSize=15;fontColor=#444444;align=right;direction=south;flipH=1;shadow=1;spacing=10;fontStyle=1;"); +0,40,70),"verticalLabelPosition=top;verticalAlign=bottom;html=1;shape=mxgraph.infographic.cylinder;isoAngle=15;fillColor=#CCCCCC;strokeColor=none;fontStyle=1;fontColor=#12AAB5;fontSize=12;shadow=0;align=left;opacity=70;");q.vertex=!0;return sb.createVertexTemplateFromCells([b,c,g,k,m,d,f,h,l,q],240,120,"Bar Graph")}),this.addEntry("folded banners",function(){var a=new mxCell("Label",new mxGeometry(0,0,200,100),"html=1;shape=mxgraph.infographic.bannerHalfFold;dx=40;dx2=20;notch=15;fillColor=#10739E;strokeColor=none;align=left;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;spacingLeft=25;spacingTop=5;"); +a.vertex=!0;var b=new mxCell("Label",new mxGeometry(0,60,200,100),"html=1;shape=mxgraph.infographic.bannerHalfFold;dx=40;dx2=20;notch=15;fillColor=#F2931E;strokeColor=none;align=left;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;spacingLeft=25;spacingTop=5;");b.vertex=!0;var c=new mxCell("Label",new mxGeometry(0,120,200,100),"html=1;shape=mxgraph.infographic.bannerHalfFold;dx=40;dx2=20;notch=15;fillColor=#AE4132;strokeColor=none;align=left;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;spacingLeft=25;spacingTop=5;"); +c.vertex=!0;var f=new mxCell("Label",new mxGeometry(0,180,200,100),"html=1;shape=mxgraph.infographic.bannerHalfFold;dx=40;dx2=20;notch=15;fillColor=#23445D;strokeColor=none;align=left;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;spacingLeft=25;spacingTop=5;");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(0,240,200,120),"html=1;shape=mxgraph.infographic.bannerHalfFold;dx=40;dx2=20;notch=15;fillColor=#12AAB5;strokeColor=none;align=left;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;spacingLeft=25;spacingTop=5;"); +g.vertex=!0;return sb.createVertexTemplateFromCells([a,b,c,f,g],200,360,"Folded Banners")}),this.addEntry("cylinder graph",function(){var a=new mxCell("Label",new mxGeometry(0,0,100,85),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#10739E;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#10739E;");a.vertex=!0;var b=new mxCell("Label",new mxGeometry(0,75,100,55),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#F2931E;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#F2931E;"); +b.vertex=!0;var c=new mxCell("Label",new mxGeometry(0,120,100,110),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#AE4132;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#AE4132;");c.vertex=!0;var f=new mxCell("Label",new mxGeometry(0,220,100,150),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#23445D;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#23445D;"); +f.vertex=!0;var g=new mxCell("Label",new mxGeometry(0,360,100,90),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#12AAB5;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#12AAB5;");g.vertex=!0;return sb.createVertexTemplateFromCells([g,f,c,b,a],100,460,"Cylinder Graph")}),this.addEntry("cylinder graph",function(){var a=new mxCell("Label",new mxGeometry(0,0,100,85),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#10739E;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#10739E;"); +a.vertex=!0;var b=new mxCell("Label",new mxGeometry(0,65,100,55),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#F2931E;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#F2931E;");b.vertex=!0;var c=new mxCell("Label",new mxGeometry(0,100,100,110),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#AE4132;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#AE4132;"); +c.vertex=!0;var f=new mxCell("Label",new mxGeometry(0,190,100,150),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#23445D;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#23445D;");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(0,320,100,90),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#12AAB5;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#12AAB5;"); +g.vertex=!0;return sb.createVertexTemplateFromCells([g,f,c,b,a],100,410,"Cylinder Graph")}),this.addEntry("ribbon list",function(){var a=new mxCell("",new mxGeometry(0,0,500,100),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=0;fillColor=#10739E;strokeColor=none;shadow=1;");a.vertex=!0;var b=new mxCell("Label",new mxGeometry(410,50,100,60),"shape=manualInput;whiteSpace=wrap;html=1;shadow=1;strokeColor=none;fillColor=#dddddd;fontSize=15;fontColor=#444444;align=right;direction=south;flipH=1;shadow=1;spacing=10;fontStyle=1;"); +b.vertex=!0;var c=new mxCell("",new mxGeometry(0,.5,30,40),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;shadow=0;strokeColor=none;strokeWidth=6;fillColor=#CCCCCC;size=20;");c.vertex=!0;c.geometry.relative=!0;c.geometry.offset=new mxPoint(150,-20);a.insert(c);c=new mxCell('<b>Heading</b><br><font style="font-size: 11px">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</font>',new mxGeometry(0,0,230, +100),"text;strokeColor=none;fillColor=none;spacing=5;spacingTop=0;whiteSpace=wrap;overflow=hidden;rounded=0;shadow=0;fontSize=15;fontColor=#FFFFFF;align=left;html=1;");c.vertex=!0;c.geometry.relative=!0;c.geometry.offset=new mxPoint(200,0);a.insert(c);c=new mxCell("",new mxGeometry(50,32,50,37),"shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fontSize=15;fontColor=#FFFFFF;align=left;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0,120,500,100),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=0;fillColor=#F2931E;strokeColor=none;shadow=1;"); +f.vertex=!0;var g=new mxCell("Label",new mxGeometry(410,170,100,60),"shape=manualInput;whiteSpace=wrap;html=1;shadow=1;strokeColor=none;fillColor=#dddddd;fontSize=15;fontColor=#444444;align=right;direction=south;flipH=1;shadow=1;spacing=10;fontStyle=1;");g.vertex=!0;var h=new mxCell("",new mxGeometry(0,.5,30,40),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;shadow=0;strokeColor=none;strokeWidth=6;fillColor=#CCCCCC;size=20;");h.vertex=!0;h.geometry.relative=!0;h.geometry.offset= +new mxPoint(150,-20);f.insert(h);h=new mxCell('<b>Heading</b><br><font style="font-size: 11px">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</font>',new mxGeometry(0,0,230,100),"text;strokeColor=none;fillColor=none;spacing=5;spacingTop=0;whiteSpace=wrap;overflow=hidden;rounded=0;shadow=0;fontSize=15;fontColor=#FFFFFF;align=left;html=1;");h.vertex=!0;h.geometry.relative=!0;h.geometry.offset=new mxPoint(200,0);f.insert(h); +h=new mxCell("",new mxGeometry(50,152,50,37),"shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fontSize=15;fontColor=#FFFFFF;align=left;");h.vertex=!0;var k=new mxCell("",new mxGeometry(0,240,500,100),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=0;fillColor=#AE4132;strokeColor=none;shadow=1;");k.vertex=!0;var l=new mxCell("Label",new mxGeometry(410,290,100,60),"shape=manualInput;whiteSpace=wrap;html=1;shadow=1;strokeColor=none;fillColor=#dddddd;fontSize=15;fontColor=#444444;align=right;direction=south;flipH=1;shadow=1;spacing=10;fontStyle=1;"); l.vertex=!0;var m=new mxCell("",new mxGeometry(0,.5,30,40),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;shadow=0;strokeColor=none;strokeWidth=6;fillColor=#CCCCCC;size=20;");m.vertex=!0;m.geometry.relative=!0;m.geometry.offset=new mxPoint(150,-20);k.insert(m);m=new mxCell('<b>Heading</b><br><font style="font-size: 11px">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</font>',new mxGeometry(0,0,230, -100),"text;strokeColor=none;fillColor=none;spacing=5;spacingTop=0;whiteSpace=wrap;overflow=hidden;rounded=0;shadow=0;fontSize=15;fontColor=#FFFFFF;align=left;html=1;");m.vertex=!0;m.geometry.relative=!0;m.geometry.offset=new mxPoint(200,0);k.insert(m);m=new mxCell("",new mxGeometry(50,272,50,37),"shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fillColor=#FFFFFF;fontSize=15;fontColor=#FFFFFF;align=left;");m.vertex=!0;var q=new mxCell("",new mxGeometry(0,360,500,100), -"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=0;fillColor=#23445D;strokeColor=none;shadow=1;");q.vertex=!0;var r=new mxCell("Label",new mxGeometry(410,410,100,60),"shape=manualInput;whiteSpace=wrap;html=1;shadow=1;strokeColor=none;fillColor=#dddddd;fontSize=15;fontColor=#444444;align=right;direction=south;flipH=1;shadow=1;spacing=10;fontStyle=1;");r.vertex=!0;var n=new mxCell("",new mxGeometry(0,.5,30,40),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;shadow=0;strokeColor=none;strokeWidth=6;fillColor=#CCCCCC;size=20;"); -n.vertex=!0;n.geometry.relative=!0;n.geometry.offset=new mxPoint(150,-20);q.insert(n);n=new mxCell('<b>Heading</b><br><font style="font-size: 11px">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</font>',new mxGeometry(0,0,230,100),"text;strokeColor=none;fillColor=none;spacing=5;spacingTop=0;whiteSpace=wrap;overflow=hidden;rounded=0;shadow=0;fontSize=15;fontColor=#FFFFFF;align=left;html=1;");n.vertex=!0;n.geometry.relative= -!0;n.geometry.offset=new mxPoint(200,0);q.insert(n);n=new mxCell("",new mxGeometry(50,392,50,37),"shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fillColor=#FFFFFF;fontSize=15;fontColor=#FFFFFF;align=left;");n.vertex=!0;var p=new mxCell("",new mxGeometry(0,480,500,100),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=0;fillColor=#12AAB5;strokeColor=none;shadow=1;");p.vertex=!0;var u=new mxCell("Label",new mxGeometry(410,530,100,60),"shape=manualInput;whiteSpace=wrap;html=1;shadow=1;strokeColor=none;fillColor=#dddddd;fontSize=15;fontColor=#444444;align=right;direction=south;flipH=1;shadow=1;spacing=10;fontStyle=1;"); +100),"text;strokeColor=none;fillColor=none;spacing=5;spacingTop=0;whiteSpace=wrap;overflow=hidden;rounded=0;shadow=0;fontSize=15;fontColor=#FFFFFF;align=left;html=1;");m.vertex=!0;m.geometry.relative=!0;m.geometry.offset=new mxPoint(200,0);k.insert(m);m=new mxCell("",new mxGeometry(50,272,50,37),"shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fontSize=15;fontColor=#FFFFFF;align=left;");m.vertex=!0;var q=new mxCell("",new mxGeometry(0,360,500,100),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=0;fillColor=#23445D;strokeColor=none;shadow=1;"); +q.vertex=!0;var r=new mxCell("Label",new mxGeometry(410,410,100,60),"shape=manualInput;whiteSpace=wrap;html=1;shadow=1;strokeColor=none;fillColor=#dddddd;fontSize=15;fontColor=#444444;align=right;direction=south;flipH=1;shadow=1;spacing=10;fontStyle=1;");r.vertex=!0;var n=new mxCell("",new mxGeometry(0,.5,30,40),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;shadow=0;strokeColor=none;strokeWidth=6;fillColor=#CCCCCC;size=20;");n.vertex=!0;n.geometry.relative=!0;n.geometry.offset= +new mxPoint(150,-20);q.insert(n);n=new mxCell('<b>Heading</b><br><font style="font-size: 11px">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</font>',new mxGeometry(0,0,230,100),"text;strokeColor=none;fillColor=none;spacing=5;spacingTop=0;whiteSpace=wrap;overflow=hidden;rounded=0;shadow=0;fontSize=15;fontColor=#FFFFFF;align=left;html=1;");n.vertex=!0;n.geometry.relative=!0;n.geometry.offset=new mxPoint(200,0);q.insert(n); +n=new mxCell("",new mxGeometry(50,392,50,37),"shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fontSize=15;fontColor=#FFFFFF;align=left;");n.vertex=!0;var p=new mxCell("",new mxGeometry(0,480,500,100),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=0;fillColor=#12AAB5;strokeColor=none;shadow=1;");p.vertex=!0;var u=new mxCell("Label",new mxGeometry(410,530,100,60),"shape=manualInput;whiteSpace=wrap;html=1;shadow=1;strokeColor=none;fillColor=#dddddd;fontSize=15;fontColor=#444444;align=right;direction=south;flipH=1;shadow=1;spacing=10;fontStyle=1;"); u.vertex=!0;var t=new mxCell("",new mxGeometry(0,.5,30,40),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;shadow=0;strokeColor=none;strokeWidth=6;fillColor=#CCCCCC;size=20;");t.vertex=!0;t.geometry.relative=!0;t.geometry.offset=new mxPoint(150,-20);p.insert(t);t=new mxCell('<b>Heading</b><br><font style="font-size: 11px">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</font>',new mxGeometry(0,0,230, -100),"text;strokeColor=none;fillColor=none;spacing=5;spacingTop=0;whiteSpace=wrap;overflow=hidden;rounded=0;shadow=0;fontSize=15;fontColor=#FFFFFF;align=left;html=1;");t.vertex=!0;t.geometry.relative=!0;t.geometry.offset=new mxPoint(200,0);p.insert(t);t=new mxCell("",new mxGeometry(50,512,50,37),"shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fillColor=#FFFFFF;fontSize=15;fontColor=#FFFFFF;align=left;");t.vertex=!0;return sb.createVertexTemplateFromCells([a,b,d,f, -g,h,k,l,m,q,r,n,p,u,t],550,590,"Ribbon List")}),this.addEntry("bar graph",function(){var a=new mxCell("Label",new mxGeometry(0,0,120,70),"html=1;shape=mxgraph.infographic.barCallout;dx=60;dy=30;fillColor=#10739E;strokeColor=none;align=center;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingTop=5;");a.vertex=!0;var b=new mxCell("12",new mxGeometry(40,75,40,40),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#10739E;strokeWidth=6;fillColor=#FFFFFF;fontSize=16;fontColor=#000000;align=center;fontStyle=1"); -b.vertex=!0;var d=new mxCell("Label",new mxGeometry(120,0,160,70),"html=1;shape=mxgraph.infographic.barCallout;dx=80;dy=30;fillColor=#F2931E;strokeColor=none;align=center;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingTop=5;");d.vertex=!0;var f=new mxCell("16",new mxGeometry(180,75,40,40),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#F2931E;strokeWidth=6;fillColor=#FFFFFF;fontSize=16;fontColor=#000000;align=center;fontStyle=1");f.vertex=!0;var g=new mxCell("Label", -new mxGeometry(280,0,80,70),"html=1;shape=mxgraph.infographic.barCallout;dx=40;dy=30;fillColor=#AE4132;strokeColor=none;align=center;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingTop=5;");g.vertex=!0;var h=new mxCell("8",new mxGeometry(300,75,40,40),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#AE4132;strokeWidth=6;fillColor=#FFFFFF;fontSize=16;fontColor=#000000;align=center;fontStyle=1");h.vertex=!0;var k=new mxCell("Label",new mxGeometry(360,0, -200,70),"html=1;shape=mxgraph.infographic.barCallout;dx=100;dy=30;fillColor=#23445D;strokeColor=none;align=center;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingTop=5;");k.vertex=!0;var l=new mxCell("20",new mxGeometry(440,75,40,40),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#23445D;strokeWidth=6;fillColor=#FFFFFF;fontSize=16;fontColor=#000000;align=center;fontStyle=1");l.vertex=!0;var m=new mxCell("Label",new mxGeometry(560,0,140,70),"html=1;shape=mxgraph.infographic.barCallout;dx=70;dy=30;fillColor=#12AAB5;strokeColor=none;align=center;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingTop=5;"); -m.vertex=!0;var q=new mxCell("14",new mxGeometry(610,75,40,40),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#12AAB5;strokeWidth=6;fillColor=#FFFFFF;fontSize=16;fontColor=#000000;align=center;fontStyle=1");q.vertex=!0;return sb.createVertexTemplateFromCells([a,d,g,k,m,b,f,h,l,q],700,115,"Bar Graph")}),this.addEntry("arrow graph",function(){var a=new mxCell("Label",new mxGeometry(0,40,90,160),"html=1;shadow=0;dashed=0;align=center;verticalAlign=top;shape=mxgraph.arrows2.arrow;dy=0.4;dx=60;direction=north;notch=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#10739E;fontSize=14;fontColor=#000000;labelPosition=center;verticalLabelPosition=bottom;fontStyle=1"); -a.vertex=!0;var b=new mxCell("Label",new mxGeometry(50,0,90,200),"html=1;shadow=0;dashed=0;align=center;verticalAlign=top;shape=mxgraph.arrows2.arrow;dy=0.4;dx=60;direction=north;notch=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#F2931E;fontSize=14;fontColor=#000000;labelPosition=center;verticalLabelPosition=bottom;fontStyle=1");b.vertex=!0;var d=new mxCell("Label",new mxGeometry(100,20,90,180),"html=1;shadow=0;dashed=0;align=center;verticalAlign=top;shape=mxgraph.arrows2.arrow;dy=0.4;dx=60;direction=north;notch=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#AE4132;fontSize=14;fontColor=#000000;labelPosition=center;verticalLabelPosition=bottom;fontStyle=1"); -d.vertex=!0;var f=new mxCell("Label",new mxGeometry(150,90,90,110),"html=1;shadow=0;dashed=0;align=center;verticalAlign=top;shape=mxgraph.arrows2.arrow;dy=0.4;dx=60;direction=north;notch=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#23445D;fontSize=14;fontColor=#000000;labelPosition=center;verticalLabelPosition=bottom;fontStyle=1");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(200,60,90,140),"html=1;shadow=0;dashed=0;align=center;verticalAlign=top;shape=mxgraph.arrows2.arrow;dy=0.4;dx=60;direction=north;notch=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#12AAB5;fontSize=14;fontColor=#000000;labelPosition=center;verticalLabelPosition=bottom;fontStyle=1"); -g.vertex=!0;return sb.createVertexTemplateFromCells([a,b,d,f,g],300,200,"Arrow Graph")}),this.addEntry("triangular diagram",function(){var a=new mxCell("Label",new mxGeometry(120,0,240,180),"triangle;whiteSpace=wrap;html=1;shadow=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#10739E;fontSize=16;fontColor=#FFFFFF;align=center;direction=north;fontStyle=1");a.vertex=!0;var b=new mxCell("Label",new mxGeometry(0,180,240,180),"triangle;whiteSpace=wrap;html=1;shadow=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#F2931E;fontSize=16;fontColor=#FFFFFF;align=center;direction=north;fontStyle=1"); -b.vertex=!0;var d=new mxCell("Label",new mxGeometry(120,180,240,180),"triangle;whiteSpace=wrap;html=1;shadow=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#AE4132;fontSize=16;fontColor=#FFFFFF;align=center;direction=south;fontStyle=1");d.vertex=!0;var f=new mxCell("Label",new mxGeometry(240,180,240,180),"triangle;whiteSpace=wrap;html=1;shadow=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#23445D;fontSize=16;fontColor=#FFFFFF;align=center;direction=north;fontStyle=1");f.vertex=!0;return sb.createVertexTemplateFromCells([a, -b,d,f],480,360,"Triangular Diagram")}),this.addEntry("roll",function(){var a=new mxCell("",new mxGeometry(0,0,400,400),"ellipse;html=1;strokeWidth=4;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");a.vertex=!0;var b=new mxCell("",new mxGeometry(25,25,350,350),"ellipse;html=1;strokeWidth=4;fillColor=#2F5B7C;strokeColor=none;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");b.vertex= -!0;var d=new mxCell("",new mxGeometry(50,50,300,300),"ellipse;html=1;strokeWidth=4;fillColor=#5D7F99;strokeColor=none;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");d.vertex=!0;var f=new mxCell("",new mxGeometry(75,75,250,250),"ellipse;html=1;strokeWidth=4;fillColor=#BAC8D3;strokeColor=none;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");f.vertex=!0;var g=new mxCell("",new mxGeometry(100,100,200,200),"ellipse;html=1;strokeWidth=4;fillColor=#FCE7CD;strokeColor=none;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;"); +100),"text;strokeColor=none;fillColor=none;spacing=5;spacingTop=0;whiteSpace=wrap;overflow=hidden;rounded=0;shadow=0;fontSize=15;fontColor=#FFFFFF;align=left;html=1;");t.vertex=!0;t.geometry.relative=!0;t.geometry.offset=new mxPoint(200,0);p.insert(t);t=new mxCell("",new mxGeometry(50,512,50,37),"shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fontSize=15;fontColor=#FFFFFF;align=left;");t.vertex=!0;return sb.createVertexTemplateFromCells([a,b,c,f,g,h,k,l,m,q,r,n,p, +u,t],550,590,"Ribbon List")}),this.addEntry("bar graph",function(){var a=new mxCell("Label",new mxGeometry(0,0,120,70),"html=1;shape=mxgraph.infographic.barCallout;dx=60;dy=30;fillColor=#10739E;strokeColor=none;align=center;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingTop=5;");a.vertex=!0;var b=new mxCell("12",new mxGeometry(40,75,40,40),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#10739E;strokeWidth=6;fontSize=16;align=center;fontStyle=1");b.vertex= +!0;var c=new mxCell("Label",new mxGeometry(120,0,160,70),"html=1;shape=mxgraph.infographic.barCallout;dx=80;dy=30;fillColor=#F2931E;strokeColor=none;align=center;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingTop=5;");c.vertex=!0;var f=new mxCell("16",new mxGeometry(180,75,40,40),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#F2931E;strokeWidth=6;fontSize=16;align=center;fontStyle=1");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(280,0,80,70), +"html=1;shape=mxgraph.infographic.barCallout;dx=40;dy=30;fillColor=#AE4132;strokeColor=none;align=center;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingTop=5;");g.vertex=!0;var h=new mxCell("8",new mxGeometry(300,75,40,40),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#AE4132;strokeWidth=6;fontSize=16;align=center;fontStyle=1");h.vertex=!0;var k=new mxCell("Label",new mxGeometry(360,0,200,70),"html=1;shape=mxgraph.infographic.barCallout;dx=100;dy=30;fillColor=#23445D;strokeColor=none;align=center;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingTop=5;"); +k.vertex=!0;var l=new mxCell("20",new mxGeometry(440,75,40,40),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#23445D;strokeWidth=6;fontSize=16;align=center;fontStyle=1");l.vertex=!0;var m=new mxCell("Label",new mxGeometry(560,0,140,70),"html=1;shape=mxgraph.infographic.barCallout;dx=70;dy=30;fillColor=#12AAB5;strokeColor=none;align=center;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingTop=5;");m.vertex=!0;var q=new mxCell("14",new mxGeometry(610,75, +40,40),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#12AAB5;strokeWidth=6;fontSize=16;align=center;fontStyle=1");q.vertex=!0;return sb.createVertexTemplateFromCells([a,c,g,k,m,b,f,h,l,q],700,115,"Bar Graph")}),this.addEntry("arrow graph",function(){var a=new mxCell("Label",new mxGeometry(0,40,90,160),"html=1;shadow=0;dashed=0;align=center;verticalAlign=top;shape=mxgraph.arrows2.arrow;dy=0.4;dx=60;direction=north;notch=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#10739E;fontSize=14;labelPosition=center;verticalLabelPosition=bottom;fontStyle=1"); +a.vertex=!0;var b=new mxCell("Label",new mxGeometry(50,0,90,200),"html=1;shadow=0;dashed=0;align=center;verticalAlign=top;shape=mxgraph.arrows2.arrow;dy=0.4;dx=60;direction=north;notch=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#F2931E;fontSize=14;labelPosition=center;verticalLabelPosition=bottom;fontStyle=1");b.vertex=!0;var c=new mxCell("Label",new mxGeometry(100,20,90,180),"html=1;shadow=0;dashed=0;align=center;verticalAlign=top;shape=mxgraph.arrows2.arrow;dy=0.4;dx=60;direction=north;notch=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#AE4132;fontSize=14;labelPosition=center;verticalLabelPosition=bottom;fontStyle=1"); +c.vertex=!0;var f=new mxCell("Label",new mxGeometry(150,90,90,110),"html=1;shadow=0;dashed=0;align=center;verticalAlign=top;shape=mxgraph.arrows2.arrow;dy=0.4;dx=60;direction=north;notch=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#23445D;fontSize=14;labelPosition=center;verticalLabelPosition=bottom;fontStyle=1");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(200,60,90,140),"html=1;shadow=0;dashed=0;align=center;verticalAlign=top;shape=mxgraph.arrows2.arrow;dy=0.4;dx=60;direction=north;notch=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#12AAB5;fontSize=14;labelPosition=center;verticalLabelPosition=bottom;fontStyle=1"); +g.vertex=!0;return sb.createVertexTemplateFromCells([a,b,c,f,g],300,200,"Arrow Graph")}),this.addEntry("triangular diagram",function(){var a=new mxCell("Label",new mxGeometry(120,0,240,180),"triangle;whiteSpace=wrap;html=1;shadow=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#10739E;fontSize=16;fontColor=#FFFFFF;align=center;direction=north;fontStyle=1");a.vertex=!0;var b=new mxCell("Label",new mxGeometry(0,180,240,180),"triangle;whiteSpace=wrap;html=1;shadow=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#F2931E;fontSize=16;fontColor=#FFFFFF;align=center;direction=north;fontStyle=1"); +b.vertex=!0;var c=new mxCell("Label",new mxGeometry(120,180,240,180),"triangle;whiteSpace=wrap;html=1;shadow=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#AE4132;fontSize=16;fontColor=#FFFFFF;align=center;direction=south;fontStyle=1");c.vertex=!0;var f=new mxCell("Label",new mxGeometry(240,180,240,180),"triangle;whiteSpace=wrap;html=1;shadow=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#23445D;fontSize=16;fontColor=#FFFFFF;align=center;direction=north;fontStyle=1");f.vertex=!0;return sb.createVertexTemplateFromCells([a, +b,c,f],480,360,"Triangular Diagram")}),this.addEntry("roll",function(){var a=new mxCell("",new mxGeometry(0,0,400,400),"ellipse;html=1;strokeWidth=4;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");a.vertex=!0;var b=new mxCell("",new mxGeometry(25,25,350,350),"ellipse;html=1;strokeWidth=4;fillColor=#2F5B7C;strokeColor=none;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");b.vertex= +!0;var c=new mxCell("",new mxGeometry(50,50,300,300),"ellipse;html=1;strokeWidth=4;fillColor=#5D7F99;strokeColor=none;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");c.vertex=!0;var f=new mxCell("",new mxGeometry(75,75,250,250),"ellipse;html=1;strokeWidth=4;fillColor=#BAC8D3;strokeColor=none;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");f.vertex=!0;var g=new mxCell("",new mxGeometry(100,100,200,200),"ellipse;html=1;strokeWidth=4;fillColor=#FCE7CD;strokeColor=none;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;"); g.vertex=!0;var h=new mxCell("",new mxGeometry(125,125,150,150),"ellipse;html=1;strokeWidth=4;fillColor=#F8C382;strokeColor=none;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");h.vertex=!0;var k=new mxCell("Label",new mxGeometry(150,150,100,100),"ellipse;html=1;strokeWidth=4;fillColor=#F5AB50;strokeColor=none;shadow=0;fontSize=20;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;spacing=10;");k.vertex=!0;var l=new mxCell("Label",new mxGeometry(200, 225,300,25),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#F5AB50;strokeColor=none;align=right;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingRight=25;");l.vertex=!0;var m=new mxCell("Label",new mxGeometry(200,250,340,25),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#F8C382;strokeColor=none;align=right;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingRight=25;");m.vertex=!0;var q= new mxCell("Label",new mxGeometry(200,275,380,25),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#FCE7CD;strokeColor=none;align=right;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingRight=25;");q.vertex=!0;var r=new mxCell("Label",new mxGeometry(200,300,420,25),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#BAC8D3;strokeColor=none;align=right;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingRight=25;"); r.vertex=!0;var n=new mxCell("Label",new mxGeometry(200,325,460,25),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#5D7F99;strokeColor=none;align=right;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingRight=25;");n.vertex=!0;var p=new mxCell("Label",new mxGeometry(200,350,500,25),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#2F5B7C;strokeColor=none;align=right;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingRight=25;"); -p.vertex=!0;var u=new mxCell("Label",new mxGeometry(200,375,540,25),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#23445D;strokeColor=none;align=right;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingRight=25;");u.vertex=!0;return sb.createVertexTemplateFromCells([a,b,d,f,g,h,k,l,m,q,r,n,p,u],740,400,"Roll")}),this.addEntry("cylinder graph",function(){var a=new mxCell("",new mxGeometry(315,160,100,25),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#10739E;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#10739E;"); -a.vertex=!0;var b=new mxCell("",new mxGeometry(315,180,100,25),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#F2931E;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#F2931E;");b.vertex=!0;var d=new mxCell("",new mxGeometry(315,200,100,25),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#AE4132;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#AE4132;"); -d.vertex=!0;var f=new mxCell("",new mxGeometry(315,220,100,25),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#23445D;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#23445D;");f.vertex=!0;var g=new mxCell("",new mxGeometry(315,240,100,25),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#12AAB5;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#12AAB5;"); +p.vertex=!0;var u=new mxCell("Label",new mxGeometry(200,375,540,25),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#23445D;strokeColor=none;align=right;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingRight=25;");u.vertex=!0;return sb.createVertexTemplateFromCells([a,b,c,f,g,h,k,l,m,q,r,n,p,u],740,400,"Roll")}),this.addEntry("cylinder graph",function(){var a=new mxCell("",new mxGeometry(315,160,100,25),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#10739E;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#10739E;"); +a.vertex=!0;var b=new mxCell("",new mxGeometry(315,180,100,25),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#F2931E;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#F2931E;");b.vertex=!0;var c=new mxCell("",new mxGeometry(315,200,100,25),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#AE4132;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#AE4132;"); +c.vertex=!0;var f=new mxCell("",new mxGeometry(315,220,100,25),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#23445D;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#23445D;");f.vertex=!0;var g=new mxCell("",new mxGeometry(315,240,100,25),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#12AAB5;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#12AAB5;"); g.vertex=!0;var h=new mxCell("Label",new mxGeometry(175,0,130,160),"strokeWidth=1;shadow=0;dashed=0;align=center;html=1;shape=mxgraph.mockup.text.callout;linkText=;textSize=17;textColor=#666666;callDir=NW;callStyle=line;fontSize=17;fontColor=#10739E;align=left;verticalAlign=top;strokeColor=#666666;fillColor=#4D9900;flipV=0;fontStyle=1;");h.vertex=!0;var k=new mxCell("Label",new mxGeometry(175,80,130,110),"strokeWidth=1;shadow=0;dashed=0;align=center;html=1;shape=mxgraph.mockup.text.callout;linkText=;textSize=17;textColor=#666666;callDir=NW;callStyle=line;fontSize=17;fontColor=#F2931E;align=left;verticalAlign=top;strokeColor=#666666;fillColor=#4D9900;flipV=0;fontStyle=1;"); k.vertex=!0;var l=new mxCell("Label",new mxGeometry(175,160,130,50),"strokeWidth=1;shadow=0;dashed=0;align=center;html=1;shape=mxgraph.mockup.text.callout;linkText=;textSize=17;textColor=#666666;callDir=NW;callStyle=line;fontSize=17;fontColor=#AE4132;align=left;verticalAlign=top;strokeColor=#666666;fillColor=#4D9900;flipV=0;fontStyle=1;");l.vertex=!0;var m=new mxCell("Label",new mxGeometry(175,230,130,50),"strokeWidth=1;shadow=0;dashed=0;align=center;html=1;shape=mxgraph.mockup.text.callout;linkText=;textSize=17;textColor=#666666;callDir=SW;callStyle=line;fontSize=17;fontColor=#23445D;align=left;verticalAlign=bottom;strokeColor=#666666;fillColor=#4D9900;flipV=0;fontStyle=1;"); m.vertex=!0;var q=new mxCell("Label",new mxGeometry(175,250,130,120),"strokeWidth=1;shadow=0;dashed=0;align=center;html=1;shape=mxgraph.mockup.text.callout;linkText=;textSize=17;textColor=#666666;callDir=SW;callStyle=line;fontSize=17;fontColor=#12AAB5;align=left;verticalAlign=bottom;strokeColor=#666666;fillColor=#4D9900;flipV=0;fontStyle=1;");q.vertex=!0;var r=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.", -new mxGeometry(0,30,240,50),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;fontColor=#000000;align=right;html=1;");r.vertex=!0;var n=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",new mxGeometry(0,110,240,50),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;fontColor=#000000;align=right;html=1;");n.vertex=!0;var p=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.", -new mxGeometry(0,190,240,50),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;fontColor=#000000;align=right;html=1;");p.vertex=!0;var u=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",new mxGeometry(0,290,240,50),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;fontColor=#000000;align=right;html=1;");u.vertex=!0;var t=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.", -new mxGeometry(0,380,240,50),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;fontColor=#000000;align=right;html=1;");t.vertex=!0;return sb.createVertexTemplateFromCells([g,f,d,b,a,h,k,l,m,q,r,n,p,u,t],415,430,"Cylinder Graph")}),this.addEntry("swirl",function(){var a=new mxCell("",new mxGeometry(0,0,300,140),"html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.uTurnArrow;dy=22;arrowHead=70;dx2=35;strokeColor=#ffffff;fillColor=#10739E;fontSize=12;fontColor=#3333FF;flipH=1;flipV=1;strokeWidth=4;"); -a.vertex=!0;var b=new mxCell("",new mxGeometry(0,79,230,140),"html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.uTurnArrow;dy=22;arrowHead=70;dx2=35;strokeColor=#ffffff;fillColor=#F2931E;fontSize=12;fontColor=#3333FF;flipV=1;strokeWidth=4;");b.vertex=!0;var d=new mxCell("",new mxGeometry(70,158,230,140),"html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.uTurnArrow;dy=22;arrowHead=70;dx2=35;strokeColor=#ffffff;fillColor=#AE4132;fontSize=12;fontColor=#3333FF;flipH=1;flipV=1;strokeWidth=4;"); -d.vertex=!0;var f=new mxCell("",new mxGeometry(0,237,230,140),"html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.uTurnArrow;dy=22;arrowHead=70;dx2=35;strokeColor=#ffffff;fillColor=#23445D;fontSize=12;fontColor=#3333FF;flipV=1;strokeWidth=4;");f.vertex=!0;var g=new mxCell("",new mxGeometry(70,316,230,140),"html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.uTurnArrow;dy=22;arrowHead=70;dx2=35;strokeColor=#ffffff;fillColor=#12AAB5;fontSize=12;fontColor=#3333FF;flipH=1;flipV=1;strokeWidth=4;"); +new mxGeometry(0,30,240,50),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;align=right;html=1;");r.vertex=!0;var n=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",new mxGeometry(0,110,240,50),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;align=right;html=1;");n.vertex=!0;var p=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.", +new mxGeometry(0,190,240,50),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;align=right;html=1;");p.vertex=!0;var u=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",new mxGeometry(0,290,240,50),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;align=right;html=1;");u.vertex=!0;var t=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.", +new mxGeometry(0,380,240,50),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;align=right;html=1;");t.vertex=!0;return sb.createVertexTemplateFromCells([g,f,c,b,a,h,k,l,m,q,r,n,p,u,t],415,430,"Cylinder Graph")}),this.addEntry("swirl",function(){var a=new mxCell("",new mxGeometry(0,0,300,140),"html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.uTurnArrow;dy=22;arrowHead=70;dx2=35;strokeColor=#ffffff;fillColor=#10739E;fontSize=12;fontColor=#3333FF;flipH=1;flipV=1;strokeWidth=4;"); +a.vertex=!0;var b=new mxCell("",new mxGeometry(0,79,230,140),"html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.uTurnArrow;dy=22;arrowHead=70;dx2=35;strokeColor=#ffffff;fillColor=#F2931E;fontSize=12;fontColor=#3333FF;flipV=1;strokeWidth=4;");b.vertex=!0;var c=new mxCell("",new mxGeometry(70,158,230,140),"html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.uTurnArrow;dy=22;arrowHead=70;dx2=35;strokeColor=#ffffff;fillColor=#AE4132;fontSize=12;fontColor=#3333FF;flipH=1;flipV=1;strokeWidth=4;"); +c.vertex=!0;var f=new mxCell("",new mxGeometry(0,237,230,140),"html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.uTurnArrow;dy=22;arrowHead=70;dx2=35;strokeColor=#ffffff;fillColor=#23445D;fontSize=12;fontColor=#3333FF;flipV=1;strokeWidth=4;");f.vertex=!0;var g=new mxCell("",new mxGeometry(70,316,230,140),"html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.uTurnArrow;dy=22;arrowHead=70;dx2=35;strokeColor=#ffffff;fillColor=#12AAB5;fontSize=12;fontColor=#3333FF;flipH=1;flipV=1;strokeWidth=4;"); g.vertex=!0;var h=new mxCell('<b style="font-size: 7px">LABEL</b><br style="font-size: 7px">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',new mxGeometry(50,0,150,40),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=7;fontColor=#FFFFFF;align=left;html=1;spacingLeft=5;");h.vertex=!0;var k=new mxCell('<b style="font-size: 7px">LABEL</b><br style="font-size: 7px">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', new mxGeometry(50,79,150,40),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=7;fontColor=#FFFFFF;align=left;html=1;spacingLeft=5;");k.vertex=!0;var l=new mxCell('<b style="font-size: 7px">LABEL</b><br style="font-size: 7px">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',new mxGeometry(100,158,150,40),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=7;fontColor=#FFFFFF;align=left;html=1;spacingLeft=5;"); l.vertex=!0;var m=new mxCell('<b style="font-size: 7px">LABEL</b><br style="font-size: 7px">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',new mxGeometry(50,237,150,40),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=7;fontColor=#FFFFFF;align=left;html=1;spacingLeft=5;");m.vertex=!0;var q=new mxCell('<b style="font-size: 7px">LABEL</b><br style="font-size: 7px">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', -new mxGeometry(100,316,150,40),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=7;fontColor=#FFFFFF;align=left;html=1;spacingLeft=5;");q.vertex=!0;return sb.createVertexTemplateFromCells([g,f,d,b,a,h,k,l,m,q],300,456,"Swirl")}),this.addEntry("swirl",function(){var a=new mxCell("Label",new mxGeometry(60,0,120,15),"shape=manualInput;whiteSpace=wrap;html=1;shadow=0;fillColor=#10739E;strokeColor=none;fontSize=12;fontColor=#FFFFFF;align=center;direction=north;flipV=1;rounded=0;"); -a.vertex=!0;var b=new mxCell("Label",new mxGeometry(30,15,150,15),"shape=manualInput;whiteSpace=wrap;html=1;shadow=0;fillColor=#F2931E;strokeColor=none;fontSize=12;fontColor=#FFFFFF;align=center;direction=north;flipV=1;rounded=0;");b.vertex=!0;var d=new mxCell("Label",new mxGeometry(0,30,180,15),"shape=manualInput;whiteSpace=wrap;html=1;shadow=0;fillColor=#AE4132;strokeColor=none;fontSize=12;fontColor=#FFFFFF;align=center;direction=north;flipV=1;rounded=0;");d.vertex=!0;var f=new mxCell("",new mxGeometry(114, +new mxGeometry(100,316,150,40),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=7;fontColor=#FFFFFF;align=left;html=1;spacingLeft=5;");q.vertex=!0;return sb.createVertexTemplateFromCells([g,f,c,b,a,h,k,l,m,q],300,456,"Swirl")}),this.addEntry("swirl",function(){var a=new mxCell("Label",new mxGeometry(60,0,120,15),"shape=manualInput;whiteSpace=wrap;html=1;shadow=0;fillColor=#10739E;strokeColor=none;fontSize=12;fontColor=#FFFFFF;align=center;direction=north;flipV=1;rounded=0;"); +a.vertex=!0;var b=new mxCell("Label",new mxGeometry(30,15,150,15),"shape=manualInput;whiteSpace=wrap;html=1;shadow=0;fillColor=#F2931E;strokeColor=none;fontSize=12;fontColor=#FFFFFF;align=center;direction=north;flipV=1;rounded=0;");b.vertex=!0;var c=new mxCell("Label",new mxGeometry(0,30,180,15),"shape=manualInput;whiteSpace=wrap;html=1;shadow=0;fillColor=#AE4132;strokeColor=none;fontSize=12;fontColor=#FFFFFF;align=center;direction=north;flipV=1;rounded=0;");c.vertex=!0;var f=new mxCell("",new mxGeometry(114, 0,130,130),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.partConcEllipse;fillColor=#10739E;strokeColor=none;startAngle=0;endAngle=0.5;arcWidth=0.23;shadow=0;fontSize=7;fontColor=#FFFFFF;align=left;");f.vertex=!0;var g=new mxCell("",new mxGeometry(129,15,100,100),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.partConcEllipse;fillColor=#F2931E;strokeColor=none;startAngle=0;endAngle=0.5;arcWidth=0.3;shadow=0;fontSize=7;fontColor=#FFFFFF;align=left;"); g.vertex=!0;var h=new mxCell("",new mxGeometry(144,30,70,70),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.partConcEllipse;fillColor=#AE4132;strokeColor=none;startAngle=0;endAngle=0.5;arcWidth=0.43;shadow=0;fontSize=7;fontColor=#FFFFFF;align=left;");h.vertex=!0;var k=new mxCell("",new mxGeometry(115,85,130,130),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.partConcEllipse;fillColor=#AE4132;strokeColor=none;startAngle=0.5;endAngle=0.00001;arcWidth=0.23;shadow=0;fontSize=7;fontColor=#FFFFFF;align=left;"); k.vertex=!0;var l=new mxCell("",new mxGeometry(130,100,100,100),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.partConcEllipse;fillColor=#F2931E;strokeColor=none;startAngle=0.5;endAngle=0.00001;arcWidth=0.3;shadow=0;fontSize=7;fontColor=#FFFFFF;align=left;");l.vertex=!0;var m=new mxCell("",new mxGeometry(145,115,70,70),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.partConcEllipse;fillColor=#10739E;strokeColor=none;startAngle=0.5;endAngle=0.00001;arcWidth=0.43;shadow=0;fontSize=7;fontColor=#FFFFFF;align=left;"); m.vertex=!0;var q=new mxCell("",new mxGeometry(179,170,181,15),"shape=manualInput;whiteSpace=wrap;html=1;shadow=0;fillColor=#10739E;strokeColor=none;fontSize=12;fontColor=#FFFFFF;align=center;direction=north;flipH=1;rounded=0;");q.vertex=!0;var r=new mxCell("",new mxGeometry(179,185,151,15),"shape=manualInput;whiteSpace=wrap;html=1;shadow=0;fillColor=#F2931E;strokeColor=none;fontSize=12;fontColor=#FFFFFF;align=center;direction=north;flipH=1;rounded=0;");r.vertex=!0;var n=new mxCell("",new mxGeometry(179, 200,121,15),"shape=manualInput;whiteSpace=wrap;html=1;shadow=0;fillColor=#AE4132;strokeColor=none;fontSize=12;fontColor=#FFFFFF;align=center;direction=north;flipH=1;rounded=0;");n.vertex=!0;var p=new mxCell("1",new mxGeometry(0,60,30,30),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=none;fillColor=#10739E;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;");p.vertex=!0;var u=new mxCell("2",new mxGeometry(40,60,30,30),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=none;fillColor=#F2931E;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;"); -u.vertex=!0;var t=new mxCell("3",new mxGeometry(80,60,30,30),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=none;fillColor=#AE4132;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;");t.vertex=!0;return sb.createVertexTemplateFromCells([a,b,d,f,g,h,k,l,m,q,r,n,p,u,t],360,215,"Swirl")}),this.addEntry("callout",function(){var a=new mxCell("Label",new mxGeometry(0,0,0,0),"endArrow=oval;html=1;fontSize=16;fontColor=#10739E;endFill=0;endSize=24;strokeWidth=5;labelBackgroundColor=none;verticalAlign=top;fontStyle=1;strokeColor=#10739E;"); -a.geometry.setTerminalPoint(new mxPoint(0,100),!0);a.geometry.setTerminalPoint(new mxPoint(100,0),!1);a.geometry.x=-1;a.geometry.relative=!0;a.edge=!0;return sb.createVertexTemplateFromCells([a],100,100,"Callout")}),this.addEntry("roadmap vertical",function(){var a=new mxCell("",new mxGeometry(234,0,12,12),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;fillColor=none;strokeColor=#333333;fontSize=16;fontColor=#000000;align=center;strokeWidth=2;");a.vertex=!0;var b=new mxCell("",new mxGeometry(234, -498,12,12),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;fillColor=none;strokeColor=#333333;fontSize=16;fontColor=#000000;align=center;strokeWidth=2;");b.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;strokeWidth=3;strokeColor=#CCCCCC;labelBackgroundColor=none;fontSize=16;fontColor=#000000;");d.geometry.relative=!0;d.edge=!0;a.insertEdge(d,!0);b.insertEdge(d,!1);var f=new mxCell("",new mxGeometry(0,30,246,60),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;fillColor=#ffffff;strokeColor=#10739E;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;shadow=0;direction=north;"); -f.vertex=!0;var g=new mxCell("",new mxGeometry(234,100,246,60),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;fillColor=#ffffff;strokeColor=#F2931E;labelPosition=center;align=center;fontColor=#F2931E;fontStyle=1;fontSize=24;shadow=0;direction=north;flipH=1;");g.vertex=!0;var h=new mxCell("",new mxGeometry(0,170,246,60),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;fillColor=#ffffff;strokeColor=#AE4132;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;shadow=0;direction=north;"); -h.vertex=!0;var k=new mxCell("",new mxGeometry(234,240,246,60),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;fillColor=#ffffff;strokeColor=#23445D;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;shadow=0;direction=north;flipH=1;");k.vertex=!0;var l=new mxCell("",new mxGeometry(0,310,246,60),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;fillColor=#ffffff;strokeColor=#12AAB5;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;shadow=0;direction=north;"); -l.vertex=!0;var m=new mxCell("",new mxGeometry(234,380,246,60),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;fillColor=#ffffff;strokeColor=#56517E;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;shadow=0;direction=north;flipH=1;");m.vertex=!0;var q=new mxCell("Label",new mxGeometry(70,20,160,30),"fillColor=#10739E;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");q.vertex= -!0;var r=new mxCell("Label",new mxGeometry(250,85,160,30),"fillColor=#F2931E;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");r.vertex=!0;var n=new mxCell("Label",new mxGeometry(70,160,160,30),"fillColor=#AE4132;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");n.vertex=!0;var p=new mxCell("Label",new mxGeometry(250,225,160,30),"fillColor=#23445D;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;"); -p.vertex=!0;var u=new mxCell("Label",new mxGeometry(70,300,160,30),"fillColor=#12AAB5;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");u.vertex=!0;var t=new mxCell("Label",new mxGeometry(250,365,160,30),"fillColor=#56517E;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");t.vertex=!0;var y=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#10739E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>', +u.vertex=!0;var t=new mxCell("3",new mxGeometry(80,60,30,30),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=none;fillColor=#AE4132;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;");t.vertex=!0;return sb.createVertexTemplateFromCells([a,b,c,f,g,h,k,l,m,q,r,n,p,u,t],360,215,"Swirl")}),this.addEntry("callout",function(){var a=new mxCell("Label",new mxGeometry(0,0,0,0),"endArrow=oval;html=1;fontSize=16;fontColor=#10739E;endFill=0;endSize=24;strokeWidth=5;labelBackgroundColor=none;verticalAlign=top;fontStyle=1;strokeColor=#10739E;"); +a.geometry.setTerminalPoint(new mxPoint(0,100),!0);a.geometry.setTerminalPoint(new mxPoint(100,0),!1);a.geometry.x=-1;a.geometry.relative=!0;a.edge=!0;return sb.createVertexTemplateFromCells([a],100,100,"Callout")}),this.addEntry("roadmap vertical",function(){var a=new mxCell("",new mxGeometry(234,0,12,12),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;fillColor=none;strokeColor=#333333;fontSize=16;align=center;strokeWidth=2;");a.vertex=!0;var b=new mxCell("",new mxGeometry(234,498,12,12), +"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;fillColor=none;strokeColor=#333333;fontSize=16;align=center;strokeWidth=2;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;strokeWidth=3;strokeColor=#CCCCCC;labelBackgroundColor=none;fontSize=16");c.geometry.relative=!0;c.edge=!0;a.insertEdge(c,!0);b.insertEdge(c,!1);var f=new mxCell("",new mxGeometry(0,30,246,60),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;strokeColor=#10739E;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;shadow=0;direction=north;"); +f.vertex=!0;var g=new mxCell("",new mxGeometry(234,100,246,60),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;strokeColor=#F2931E;labelPosition=center;align=center;fontColor=#F2931E;fontStyle=1;fontSize=24;shadow=0;direction=north;flipH=1;");g.vertex=!0;var h=new mxCell("",new mxGeometry(0,170,246,60),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;strokeColor=#AE4132;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;shadow=0;direction=north;"); +h.vertex=!0;var k=new mxCell("",new mxGeometry(234,240,246,60),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;strokeColor=#23445D;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;shadow=0;direction=north;flipH=1;");k.vertex=!0;var l=new mxCell("",new mxGeometry(0,310,246,60),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;strokeColor=#12AAB5;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;shadow=0;direction=north;"); +l.vertex=!0;var m=new mxCell("",new mxGeometry(234,380,246,60),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;strokeColor=#56517E;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;shadow=0;direction=north;flipH=1;");m.vertex=!0;var q=new mxCell("Label",new mxGeometry(70,20,160,30),"fillColor=#10739E;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");q.vertex=!0;var r=new mxCell("Label", +new mxGeometry(250,85,160,30),"fillColor=#F2931E;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");r.vertex=!0;var n=new mxCell("Label",new mxGeometry(70,160,160,30),"fillColor=#AE4132;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");n.vertex=!0;var p=new mxCell("Label",new mxGeometry(250,225,160,30),"fillColor=#23445D;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");p.vertex=!0; +var u=new mxCell("Label",new mxGeometry(70,300,160,30),"fillColor=#12AAB5;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");u.vertex=!0;var t=new mxCell("Label",new mxGeometry(250,365,160,30),"fillColor=#56517E;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");t.vertex=!0;var y=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#10739E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>', new mxGeometry(70,70,160,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");y.vertex=!0;var x=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#F2931E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>',new mxGeometry(250,140,160,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;"); x.vertex=!0;var w=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#AE4132"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>',new mxGeometry(70,210,160,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");w.vertex=!0;var v=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#23445D"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>', new mxGeometry(250,280,160,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");v.vertex=!0;var z=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#12AAB5"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>',new mxGeometry(70,350,160,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;"); -z.vertex=!0;var A=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#56517E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>',new mxGeometry(250,420,160,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");A.vertex=!0;return sb.createVertexTemplateFromCells([d,a,b,f,g,h,k,l,m,q,r,n,p,u,t,y,x,w,v,z,A],480,510,"Roadmap (vertical)")}), -this.addEntry("roadmap horizontal",function(){var a=new mxCell("",new mxGeometry(0,90,840,30),"fillColor=#dddddd;rounded=0;strokeColor=none;");a.vertex=!0;var b=new mxCell("Label",new mxGeometry(40,80,120,50),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#10739E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");b.vertex=!0;var d=new mxCell("Label",new mxGeometry(200,80,120,50),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#F2931E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;"); -d.vertex=!0;var f=new mxCell("Label",new mxGeometry(360,80,120,50),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#AE4132;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(520,80,120,50),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;"); +z.vertex=!0;var A=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#56517E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>',new mxGeometry(250,420,160,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");A.vertex=!0;return sb.createVertexTemplateFromCells([c,a,b,f,g,h,k,l,m,q,r,n,p,u,t,y,x,w,v,z,A],480,510,"Roadmap (vertical)")}), +this.addEntry("roadmap horizontal",function(){var a=new mxCell("",new mxGeometry(0,90,840,30),"fillColor=#dddddd;rounded=0;strokeColor=none;");a.vertex=!0;var b=new mxCell("Label",new mxGeometry(40,80,120,50),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#10739E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");b.vertex=!0;var c=new mxCell("Label",new mxGeometry(200,80,120,50),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#F2931E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;"); +c.vertex=!0;var f=new mxCell("Label",new mxGeometry(360,80,120,50),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#AE4132;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(520,80,120,50),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;"); g.vertex=!0;var h=new mxCell("Label",new mxGeometry(680,80,120,50),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#12AAB5;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");h.vertex=!0;var k=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#10739E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>',new mxGeometry(0,0,200,70), "rounded=1;strokeColor=none;fillColor=#DDDDDD;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");k.vertex=!0;var l=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#F2931E"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>',new mxGeometry(160,140,200,70),"rounded=1;strokeColor=none;fillColor=#DDDDDD;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;"); l.vertex=!0;var m=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#AE4132"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>',new mxGeometry(320,0,200,70),"rounded=1;strokeColor=none;fillColor=#DDDDDD;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");m.vertex=!0;var q=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#23445D"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>', new mxGeometry(480,140,200,70),"rounded=1;strokeColor=none;fillColor=#DDDDDD;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");q.vertex=!0;var r=new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#12AAB5"><b>Label</b></font><br><br><font size="1">Lorem ipsum dolor sit amet, consectetur adipisicing elit</font></font>',new mxGeometry(640,0,200,70),"rounded=1;strokeColor=none;fillColor=#DDDDDD;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;"); -r.vertex=!0;return sb.createVertexTemplateFromCells([a,b,d,f,g,h,k,l,m,q,r],840,210,"Roadmap (horizontal)")}),this.addEntry("flower",function(){var a=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(0,0,150,150),"shape=mxgraph.basic.diag_round_rect;dx=37;flipH=1;html=1;fillColor=#10739E;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;strokeWidth=8;");a.vertex=!0;var b=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit", -new mxGeometry(160,0,150,150),"shape=mxgraph.basic.diag_round_rect;dx=37;html=1;fillColor=#F2931E;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;strokeWidth=8;");b.vertex=!0;var d=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(0,160,150,150),"shape=mxgraph.basic.diag_round_rect;dx=37;flipH=1;flipV=1;html=1;fillColor=#AE4132;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;strokeWidth=8;"); -d.vertex=!0;var f=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(160,160,150,150),"shape=mxgraph.basic.diag_round_rect;dx=37;flipV=1;html=1;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;strokeWidth=8;");f.vertex=!0;return sb.createVertexTemplateFromCells([a,b,d,f],310,310,"Flower")})])}})();(function(){Sidebar.prototype.addIosPalette=function(){sb=this;var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios.",b=mxConstants.STYLE_STROKEWIDTH+"=1;html=1;shadow=0;dashed=0;shape=mxgraph.ios.",e=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=top;html=1;shadow=0;dashed=0;"+mxConstants.STYLE_VERTICAL_ALIGN+"=bottom;strokeWidth=1;shape=mxgraph.ios.",c=[this.createVertexTemplateEntry(a+"iPhone;bgStyle=bgGreen;fillColor=#aaaaaa;", -200,400,"","iPhone (portrait)",null,null,null),this.createVertexTemplateEntry(a+"iPhone;direction=north;bgStyle=bgGreen;fillColor=#aaaaaa;",400,200,"","iPhone (landscape)",null,null,null),this.createVertexTemplateEntry(a+"iPad;bgStyle=bgGreen;fillColor=#aaaaaa;",200*2.425,625,"","iPad (portrait)",null,null,null),this.createVertexTemplateEntry(a+"iPad;direction=north;bgStyle=bgGreen;fillColor=#aaaaaa;",625,200*2.425,"","iPad (landscape)",null,null,null),this.createVertexTemplateEntry(a+"iBgFlat;strokeColor=#18211b;fillColor=#ffffff;", +r.vertex=!0;return sb.createVertexTemplateFromCells([a,b,c,f,g,h,k,l,m,q,r],840,210,"Roadmap (horizontal)")}),this.addEntry("flower",function(){var a=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(0,0,150,150),"shape=mxgraph.basic.diag_round_rect;dx=37;flipH=1;html=1;fillColor=#10739E;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;strokeWidth=8;");a.vertex=!0;var b=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit", +new mxGeometry(160,0,150,150),"shape=mxgraph.basic.diag_round_rect;dx=37;html=1;fillColor=#F2931E;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;strokeWidth=8;");b.vertex=!0;var c=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(0,160,150,150),"shape=mxgraph.basic.diag_round_rect;dx=37;flipH=1;flipV=1;html=1;fillColor=#AE4132;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;strokeWidth=8;"); +c.vertex=!0;var f=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(160,160,150,150),"shape=mxgraph.basic.diag_round_rect;dx=37;flipV=1;html=1;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;strokeWidth=8;");f.vertex=!0;return sb.createVertexTemplateFromCells([a,b,c,f],310,310,"Flower")})])}})();(function(){Sidebar.prototype.addIosPalette=function(){sb=this;var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios.",b=mxConstants.STYLE_STROKEWIDTH+"=1;html=1;shadow=0;dashed=0;shape=mxgraph.ios.",e=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=top;html=1;shadow=0;dashed=0;"+mxConstants.STYLE_VERTICAL_ALIGN+"=bottom;strokeWidth=1;shape=mxgraph.ios.",d=[this.createVertexTemplateEntry(a+"iPhone;bgStyle=bgGreen;fillColor=#aaaaaa;", +200,400,"","iPhone (portrait)",null,null,null),this.createVertexTemplateEntry(a+"iPhone;direction=north;bgStyle=bgGreen;fillColor=#aaaaaa;",400,200,"","iPhone (landscape)",null,null,null),this.createVertexTemplateEntry(a+"iPad;bgStyle=bgGreen;fillColor=#aaaaaa;",200*2.425,625,"","iPad (portrait)",null,null,null),this.createVertexTemplateEntry(a+"iPad;direction=north;bgStyle=bgGreen;fillColor=#aaaaaa;",625,200*2.425,"","iPad (landscape)",null,null,null),this.createVertexTemplateEntry(a+"iBgFlat;strokeColor=#18211b;", 175,280,"","iPad background (white)",null,null,null),this.createVertexTemplateEntry(a+"iBgFlat;strokeColor=#18211b;fillColor=#1f2923;",175,280,"","iPad background (green)",null,null,null),this.createVertexTemplateEntry(a+"iBgFlat;strokeColor=#18211b;fillColor=#dddddd;",175,280,"","iPad background (gray)",null,null,null),this.createVertexTemplateEntry(a+"iBgStriped;strokeColor=#18211b;fillColor=#5D7585;strokeColor2=#657E8F;",175,280,"","iPad background (striped)",null,null,null),this.createVertexTemplateEntry(a+ -"iBgMap;strokeColor=#18211b;fillColor=#ffffff;strokeColor2=#008cff;fillColor2=#96D1FF;",175,280,"","iPad background (map)",null,null,null),this.addDataEntry(null,165,50,"Button bar","3ZfdboIwFMefhltSKCjeIptZsl3tCTqo0KxQUurUPf0OpfgJiVN0OowJ55z20P7Ov01r4Wm+mklSZm8iodzCTxaeSiFU85avppRzy0UssXBkuS6Cv+U+90QdHUUlkbRQp3Rwmw5fhC9o42kclVpz48hUDsOKHAuHVUYSsQQDgZGQKqOJMSBS1u3zVVrPxWaisqWkMQwilO/su475dTslxSedCi6kzo49/UBkzjjf8c/1A37IlzCYTRsrRAHJQjNuKhVd9c5du8zEZ1TkVMk1NFmyRGWmxchvumWUpZnp5jfMEKkaO9103ZKEFwOzGyw+AvuiaA4eZzjASpThQilRHEDeRWlwHXGPvfoHEcJZCgkiTud1saqSxKxIX7UVOfWn56JQJntgzJ1EI/2cWhH3vIo4ru1fXhOvQ+yjVG3GPkRNSBFnNZpDTBvemqb5kHMqNtyNre3gGcGu9xLsQkUdTAdQud+ncny9bQQ9pMJNaVpitxH86GEF79+p4Md9gveGI/ohYE/P/8nObiqEx/ZNlR88rPLHd6r8SZ/yr3hiPNzqAa4fjf3g+CRpFsOlku89dUIMoSDWsQGWw1bkt1kOrQAecD1M7nQ9OE4H0r+/Ov3menTmYfyM6xGY2zutju1deX8A"), +"iBgMap;strokeColor=#18211b;strokeColor2=#008cff;fillColor2=#96D1FF;",175,280,"","iPad background (map)",null,null,null),this.addDataEntry(null,165,50,"Button bar","3ZfdboIwFMefhltSKCjeIptZsl3tCTqo0KxQUurUPf0OpfgJiVN0OowJ55z20P7Ov01r4Wm+mklSZm8iodzCTxaeSiFU85avppRzy0UssXBkuS6Cv+U+90QdHUUlkbRQp3Rwmw5fhC9o42kclVpz48hUDsOKHAuHVUYSsQQDgZGQKqOJMSBS1u3zVVrPxWaisqWkMQwilO/su475dTslxSedCi6kzo49/UBkzjjf8c/1A37IlzCYTRsrRAHJQjNuKhVd9c5du8zEZ1TkVMk1NFmyRGWmxchvumWUpZnp5jfMEKkaO9103ZKEFwOzGyw+AvuiaA4eZzjASpThQilRHEDeRWlwHXGPvfoHEcJZCgkiTud1saqSxKxIX7UVOfWn56JQJntgzJ1EI/2cWhH3vIo4ru1fXhOvQ+yjVG3GPkRNSBFnNZpDTBvemqb5kHMqNtyNre3gGcGu9xLsQkUdTAdQud+ncny9bQQ9pMJNaVpitxH86GEF79+p4Md9gveGI/ohYE/P/8nObiqEx/ZNlR88rPLHd6r8SZ/yr3hiPNzqAa4fjf3g+CRpFsOlku89dUIMoSDWsQGWw1bkt1kOrQAecD1M7nQ9OE4H0r+/Ov3menTmYfyM6xGY2zutju1deX8A"), this.createVertexTemplateEntry(a+"iButtonBar;buttonText=Item 1,+Item 2,Item 3,Item 4;textColor=#999999;textColor2=#ffffff;strokeColor=#444444;strokeColor2=#c4c4c4;",165,80,"","Button Bar",null,null,null),this.addEntry(null,function(){var a=new mxCell("",new mxGeometry(0,0,175,15),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.iAppBar;strokeWidth=1;");a.vertex=!0;var b=new mxCell("CARRIER",new mxGeometry(0,2,50,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.anchor;align=left;fontSize=8;spacingLeft=18;"); b.vertex=!0;a.insert(b);b=new mxCell("11:55PM",new mxGeometry(60,2,50,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.rect;fontSize=8;strokeColor=none;fillColor=none;");b.vertex=!0;a.insert(b);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"App bar (portrait)")}),this.addEntry(null,function(){var a=new mxCell("",new mxGeometry(0,0,280,15),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.iAppBar;strokeWidth=1;");a.vertex=!0;var b=new mxCell("CARRIER",new mxGeometry(0,2,50, 13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.anchor;align=left;fontSize=8;spacingLeft=18;");b.vertex=!0;a.insert(b);b=new mxCell("11:55PM",new mxGeometry(115,2,50,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.rect;fontSize=8;strokeColor=none;fillColor=none;");b.vertex=!0;a.insert(b);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"App bar (landscape)")}),this.addEntry(null,function(){var a=new mxCell("",new mxGeometry(0,0,175,15),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.iTopBar2;opacity=50;fillColor=#999999;strokeColor=#cccccc;strokeWidth=1;"); a.vertex=!0;var b=new mxCell("CARRIER",new mxGeometry(0,2,50,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.rect;align=left;fontSize=7.5;spacingLeft=18;fontColor=#cccccc;textOpacity=50;strokeColor=none;fillColor=none;");b.vertex=!0;a.insert(b);b=new mxCell("11:15AM",new mxGeometry(60,2,50,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.rect;fontSize=7.5;fontColor=#cccccc;textOpacity=50;strokeColor=none;fillColor=none;");b.vertex=!0;a.insert(b);return sb.createVertexTemplateFromCells([a],a.geometry.width, a.geometry.height,"Top bar")}),this.addEntry(null,function(){var a=new mxCell("",new mxGeometry(0,0,175,15),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.iTopBarLocked;strokeWidth=1;");a.vertex=!0;var b=new mxCell("CARRIER",new mxGeometry(0,2,50,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.anchor;align=left;fontSize=7.5;spacingLeft=18;fontColor=#cccccc;");b.vertex=!0;a.insert(b);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Top bar locked")}),this.createVertexTemplateEntry(b+ "iButton;strokeColor=#444444;fontColor=#ffffff;buttonText=;fontSize=8;fillColor=#dddddd;fillColor2=#3D5565;whiteSpace=wrap;align=center;",43.5,15,"Button","Button",null,null,null),this.createVertexTemplateEntry(b+"iButtonBack;strokeColor=#444444;fontColor=#ffffff;buttonText=;fontSize=8;fillColor=#dddddd;fillColor2=#3D5565;spacingLeft=10;whiteSpace=wrap;align=center;",43.5,15,"Button","Back button",null,null,null),this.createVertexTemplateEntry(b+"iButtonFw;strokeColor=#444444;fontColor=#ffffff;buttonText=;fontSize=8;fillColor=#dddddd;fillColor2=#3D5565;spacingRight=10;whiteSpace=wrap;align=center;", -43.5,15,"Button","Forward button",null,null,null),this.createVertexTemplateEntry(a+"iPrevNext;strokeColor=#444444;fillColor=#dddddd;fillColor2=#3D5565;fillColor3=#ffffff;align=center;",43.5,15,"","Prev/next button",null,null,null),this.createVertexTemplateEntry(b+"iTextInput;strokeColor=#444444;fontColor=#000000;buttonText=;fontSize=8;fillColor=#ffffff;whiteSpace=wrap;align=left;",43.5,15,"Default text","Text input",null,null,null),this.addDataEntry(null,165,50,"Radio Buttons","7VbbbsIwDP2avqI2AcTrgI2XTZu2/UAgpo2WNlWSMdjXz0kMu0AlNLa9jEiV6nNsyz6nkZrxSb2eWdFWN0aCzvhlxifWGJ/e6vUEtM5YrmTGpxljOT4Zu+pgi8jmrbDQ+GMKWCpYCf0MCUmA8xtNQOVrHGtaZHzsKiHNCwY5BlK4CiQFyLQhv16XYZeeMq5nLSxwiLF9UK+B4yHPW/MEE6ONjd35MB5klkrrD/gyHsSxn1S4zZZrTAOhKSyerVMruAeX2ue0ClgP6045IkRazMDU4O0GU16U9BVlDAeprAJVVlQ2oO7Cpbjclb6Liy+k72Gt+Z7Wt61XpkGs2FN9Kyi2UK1LG+OiYq6BJP8imIwHcaFV2SCmYRnUd61YqKa8jtGUhULTeLJkROEhQ7SYg74zTsUZ+dQmNcZBYLUQ+voLXyspw3C7hAsaZEfQKI+mpa/hKMfYYceogPXIrQ2JvI0/OHrIz9Pt7HfbuX+JznZ+z85i+EduDrrd5Ke72Y/n37vJRn92O4fdfvbPt/OH/OwXv+Mmhu+/QJH79If0Bg=="), +43.5,15,"Button","Forward button",null,null,null),this.createVertexTemplateEntry(a+"iPrevNext;strokeColor=#444444;fillColor=#dddddd;fillColor2=#3D5565;fillColor3=#ffffff;align=center;",43.5,15,"","Prev/next button",null,null,null),this.createVertexTemplateEntry(b+"iTextInput;strokeColor=#444444;buttonText=;fontSize=8;whiteSpace=wrap;align=left;",43.5,15,"Default text","Text input",null,null,null),this.addDataEntry(null,165,50,"Radio Buttons","7VbbbsIwDP2avqI2AcTrgI2XTZu2/UAgpo2WNlWSMdjXz0kMu0AlNLa9jEiV6nNsyz6nkZrxSb2eWdFWN0aCzvhlxifWGJ/e6vUEtM5YrmTGpxljOT4Zu+pgi8jmrbDQ+GMKWCpYCf0MCUmA8xtNQOVrHGtaZHzsKiHNCwY5BlK4CiQFyLQhv16XYZeeMq5nLSxwiLF9UK+B4yHPW/MEE6ONjd35MB5klkrrD/gyHsSxn1S4zZZrTAOhKSyerVMruAeX2ue0ClgP6045IkRazMDU4O0GU16U9BVlDAeprAJVVlQ2oO7Cpbjclb6Liy+k72Gt+Z7Wt61XpkGs2FN9Kyi2UK1LG+OiYq6BJP8imIwHcaFV2SCmYRnUd61YqKa8jtGUhULTeLJkROEhQ7SYg74zTsUZ+dQmNcZBYLUQ+voLXyspw3C7hAsaZEfQKI+mpa/hKMfYYceogPXIrQ2JvI0/OHrIz9Pt7HfbuX+JznZ+z85i+EduDrrd5Ke72Y/n37vJRn92O4fdfvbPt/OH/OwXv+Mmhu+/QJH79If0Bg=="), this.addDataEntry(null,165,50,"Checkboxes","7ZZbT8IwFMc/zV7J1gLBRxnKCyZG/AJlPWyN3bq0RYef3tOLeGEQEoUXbbKk55rT/29NmtC87uaatdWd4iATepPQXCtlw67ucpAyIangCZ0lhKT4JeT2QDTz0bRlGhp7SgEJBc9MbiB4gsPYrYyOytY41ixL6NRUjKsXNFI0ODMV8GhgpHX5dVe6swyEMgOtocAhpnopXl2Mujyr1RPkSirtu9OxXxhZCyk/+dd+oR/7cYGneY81qgHXFIqNNuIZHsCE9m6MeBrQFrqDinhXlGMOqgart5jyIritYsZ4FMoqEGUVy0ZByZSZYJe70g99cRMl7peb7sm9BGtFU6IzO5/y6b6+3C/0MynKBn0S1q7EtKzAeRbemhFXqBob+0yi2cdPshXIe2WEFcr100G5qYMhCiYX3+K14NwddJdwHQfZBeIoj6qNP89JdEk/3VhABpHsNgJ5tz/R72P/c/TDI+jPeOn+0R9Cn40vRH50hDz9PfJFBcXTSnX7wK/8+vPAyeRil318BPnw/7Jfnv0wOw95ND8eaz725S33Bg=="), -this.createVertexTemplateEntry(b+"iComboBox;spacingTop=2;spacingLeft=2;align=left;strokeColor=#444444;fontColor=#666666;buttonText=;fontSize=8;fillColor=#dddddd;fillColor2=#3D5565;",200*.29,15,"Option 1","Combobox",null,null,null),this.createVertexTemplateEntry(b+"iOnOffButton;mainText=;strokeColor=#444444;fontSize=9;fontColor=#ffffff;spacingRight=14;buttonState=on",43.5,15,"ON","On-off button",null,null,null),this.createVertexTemplateEntry(b+"iTextInput;strokeColor=#444444;fontColor=#000000;align=left;buttonText=;fontSize=8;fillColor=#ffffff;", +this.createVertexTemplateEntry(b+"iComboBox;spacingTop=2;spacingLeft=2;align=left;strokeColor=#444444;fontColor=#666666;buttonText=;fontSize=8;fillColor=#dddddd;fillColor2=#3D5565;",200*.29,15,"Option 1","Combobox",null,null,null),this.createVertexTemplateEntry(b+"iOnOffButton;mainText=;strokeColor=#444444;fontSize=9;fontColor=#ffffff;spacingRight=14;buttonState=on",43.5,15,"ON","On-off button",null,null,null),this.createVertexTemplateEntry(b+"iTextInput;strokeColor=#444444;align=left;buttonText=;fontSize=8", 43.5,15,"********","Password field",null,null,null),this.addDataEntry(null,150,100,"Alert Box","rVVNb6MwEP01PjaycdI2x02629NKq+awZwsGbNXYyHYb6K/fMTgNCLJKP5CQmDdf9nszgvB93T460cjftgBN+E/C987aMHzV7R60JhlVBeEPJMsoviT7dcHLei9thAMTrknIhoRXoV9gQH5ocAGhAnzuVBOUNWgFaBG8JRlnlPDdkpN6yK0p8EMrA0NdHzqd6spQ4+0eGGZ7KQp7RKMvJbyEIhnoaWJ83VaRkpWyflUKk3dPT5DjhXbuoN5iwH0MDs4+w95q6/oWvOgf9JRK6xG+3t6xbczAooVCZkY+tuXsNvpsI3IVulg7nqS0k7CyfxKezrBF8yhVgAOmRuCIZ0ZMaFUZNHPsBJi/Sxwjr9Be1KmHkkiPYGsIrsOQoyqCTBGbQUsqQVXylEYTKPwAVO+5Z9nxIym/PAV8NgWHWEQqU8V2omnAoEbfJikqKiOzYzYZ/w/rSzQ78Jj5N/HDruU5+xzP2WbAHGgR1CtM6n+F+/WM+91LCHGvvott56a7w+djfIn32Yqd9+D6Fcs3OQCbr9iSqF+RMCXQVZKqmxQYCXy/pC/9oL6p/x+rTDg3v1nTSfOb09ycStiy9BBmA/J+jaWZQfP8RxjCxz+Mfw=="), this.addDataEntry(null,150,100,"Dialog Box","7VZNb6MwEP01PjbCdkk315BuD6vVrprDni08YKsGs8ZtQn99x+A0IJJVtu2pKhKS59P2e28QhGfV/s6JRv20Egzht4Rnzlo/rKp9BsYQlmhJ+IYwluBL2PczUdpHk0Y4qP0lBWwoeBLmEQbPRgtjS/T9fYTWa1vj0sPeE7YkjNOE8PUskrSQ21riwugahpat70xsqXyFF9tQLG2VkHaHRugjRatARgMjTciv9mVAY6FtuyhEnXf395DjXdZuq59DwreQ7J19gMwa6/otuOwfjBTamJH/enVDV6ECm0qNoIxidMXpMsRsI3Ltu9A7nKSwk7Sif6I/nmGF5k5pD1ssDY4dnhl9wuiyRjPHnQDr1xFecAjUWYp6V+TnDmwF3nWYstPSq5iRDjQmCnSpDmVJdIp2cJSvtUfGcRFJPy0APhPANjRRug4aQE4aqJGjD6MUGVUB2TGalP8D9VMwO2ix8k/Eh16KM3sbziwdfA6M8PoJJv3fg/31DPsM4cGPwIeh7dx0dvhcxudwn43YcQ4uH7E8zQHofMROkfoeCmNBsjhw1U06jBhepicITv6T4HiA31bX/rj7FWeL6fZXh+McmtiiaMHPNPJ6k4tkk85k8+vHl2TeLJmbzycZNI+/EEP6+A/jBQ=="), this.createVertexTemplateEntry(b+"iLockButton;fontColor=#cccccc;fontSize=13;mainText=;spacingLeft=50;spacingRight=10;align=center;",174,50,"slide to unlock","Lock button",null,null,null),this.createVertexTemplateEntry(a+"iArrowIcon;fillColor=#8BbEff;fillColor2=#135Ec8;strokeColor=#ffffff;",15,15,"","Arrow",null,null,null),this.createVertexTemplateEntry(a+"iDeleteIcon;fillColor=#e8878E;fillColor2=#BD1421;strokeColor=#ffffff;",15,15,"","Delete",null,null,null),this.createVertexTemplateEntry(a+"iAddIcon;fillColor=#7AdF78;fillColor2=#1A9917;strokeColor=#ffffff;", 15,15,"","Add",null,null,null),this.createVertexTemplateEntry(a+"iInfoIcon;fillColor=#8BbEff;fillColor2=#135Ec8;strokeColor=#ffffff;",15,15,"","Info",null,null,null),this.createVertexTemplateEntry(a+"iSortFindIcon;fillColor=#8BbEff;fillColor2=#135Ec8;strokeColor=#ffffff;",15,15,"","Sort/find",null,null,null),this.createVertexTemplateEntry(a+"iCheckIcon;fillColor=#e8878E;fillColor2=#BD1421;strokeColor=#ffffff;",15,15,"","Check",null,null,null),this.createVertexTemplateEntry(a+"iKeybLett;",174,100, "","Keyboard (letters)",null,null,null),this.createVertexTemplateEntry(a+"iKeybNumb;",174,100,"","Keyboard (numbers)",null,null,null),this.createVertexTemplateEntry(a+"iKeybSymb;",174,100,"","Keyboard (symbols)",null,null,null),this.createVertexTemplateEntry(a+"iDeleteApp;fillColor=#cccccc;fillColor2=#000000;strokeColor=#ffffff;",15,15,"","Delete app",null,null,null),this.createVertexTemplateEntry(a+"iDir;",100,100,"","Direction",null,null,null),this.createVertexTemplateEntry(b+"iLocBar;align=left;spacingLeft=4;spacingBottom=4;fontColor=#ffffff;fontSize=10;barPos=80;pointerPos=bottom;buttonText=5th Street Music Store", 155,32.5,"","Location bar",null,null,null),this.createVertexTemplateEntry(a+"iCallDialog;",150,125,"","Call Dialog",null,null,null),this.createVertexTemplateEntry(a+"iCallButtons;",174,400*.575,"","Call buttons",null,null,null),this.createVertexTemplateEntry(b+"iOption;barPos=80;pointerPos=bottom;buttonText=Option;fontSize=10;fontColor=#ffffff;spacingBottom=6;",75,400*.06875,"","Option",null,null,null),this.createVertexTemplateEntry(a+"iAlphaList;fontSize=7.5;",15,225,"","Alphabet list",null,null, -null),this.createVertexTemplateEntry(b+"iHorButtonBar;buttonText=Item 1,+Item 2,Item 3,Item 4;textColor=#999999;textColor2=#ffffff;strokeColor=#444444;strokeColor2=#c4c4c4;fillColor=#ffffff;fillColor2=#008cff;fontSize=8;",165,12.5,"","Horizontal button bar",null,null,null),this.createVertexTemplateEntry(e+"iPin;fillColor2=#00dd00;fillColor3=#004400;strokeColor=#006600;",10,25,"","Pin",null,null,null),this.createVertexTemplateEntry(e+"iPin;fillColor2=#dd0000;fillColor3=#440000;strokeColor=#660000;", -10,25,"","Pin",null,null,null),this.createVertexTemplateEntry(e+"iPin;fillColor2=#ccccff;fillColor3=#0000ff;strokeColor=#000066;",10,25,"","Pin",null,null,null),this.createVertexTemplateEntry(e+"iPin;fillColor2=#ffff00;fillColor3=#888800;strokeColor=#999900;",10,25,"","Pin",null,null,null),this.createVertexTemplateEntry(e+"iPin;fillColor2=#ffa500;fillColor3=#885000;strokeColor=#997000;",10,25,"","Pin",null,null,null),this.createVertexTemplateEntry(a+"iVideoControls;barPos=20;",174,50,"","Video controls", -null,null,null),this.addEntry(null,function(){var a=new mxCell("Page title",new mxGeometry(0,0,175,30),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.iURLBar;verticalAlign=top;fontSize=8;spacingTop=-5;align=center;");a.vertex=!0;var b=new mxCell("https://www.draw.io/",new mxGeometry(5,12,115,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.anchor;fontSize=8;spacingLeft=3;align=left;spacingTop=2;");b.vertex=!0;a.insert(b);b=new mxCell("Cancel",new mxGeometry(137,12,32,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.anchor;fontSize=8;fontColor=#ffffff;spacingTop=2;"); +null),this.createVertexTemplateEntry(b+"iHorButtonBar;buttonText=Item 1,+Item 2,Item 3,Item 4;textColor=#999999;textColor2=#ffffff;strokeColor=#444444;strokeColor2=#c4c4c4;fillColor2=#008cff;fontSize=8;",165,12.5,"","Horizontal button bar",null,null,null),this.createVertexTemplateEntry(e+"iPin;fillColor2=#00dd00;fillColor3=#004400;strokeColor=#006600;",10,25,"","Pin",null,null,null),this.createVertexTemplateEntry(e+"iPin;fillColor2=#dd0000;fillColor3=#440000;strokeColor=#660000;",10,25,"","Pin",null, +null,null),this.createVertexTemplateEntry(e+"iPin;fillColor2=#ccccff;fillColor3=#0000ff;strokeColor=#000066;",10,25,"","Pin",null,null,null),this.createVertexTemplateEntry(e+"iPin;fillColor2=#ffff00;fillColor3=#888800;strokeColor=#999900;",10,25,"","Pin",null,null,null),this.createVertexTemplateEntry(e+"iPin;fillColor2=#ffa500;fillColor3=#885000;strokeColor=#997000;",10,25,"","Pin",null,null,null),this.createVertexTemplateEntry(a+"iVideoControls;barPos=20;",174,50,"","Video controls",null,null,null), +this.addEntry(null,function(){var a=new mxCell("Page title",new mxGeometry(0,0,175,30),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.iURLBar;verticalAlign=top;fontSize=8;spacingTop=-5;align=center;");a.vertex=!0;var b=new mxCell("https://www.draw.io/",new mxGeometry(5,12,115,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.anchor;fontSize=8;spacingLeft=3;align=left;spacingTop=2;");b.vertex=!0;a.insert(b);b=new mxCell("Cancel",new mxGeometry(137,12,32,13),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.anchor;fontSize=8;fontColor=#ffffff;spacingTop=2;"); b.vertex=!0;a.insert(b);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"URL bar")}),this.createVertexTemplateEntry(a+"iSlider;barPos=20;",150,10,"","Slider",null,null,null),this.createVertexTemplateEntry(a+"iProgressBar;barPos=40;",150,10,"","Progress bar",null,null,null),this.createVertexTemplateEntry(a+"iCloudProgressBar;barPos=20;",150,10,"","Cloud progress bar",null,null,null),this.createVertexTemplateEntry(b+"iDownloadBar;verticalAlign=top;spacingTop=-4;fontSize=8;fontColor=#ffffff;buttonText=;barPos=30;align=center;", -174,30,"Downloading 2 of 6","Download bar",null,null,null),this.createVertexTemplateEntry(b+"iScreenNameBar;fillColor2=#000000;fillColor3=#ffffff;buttonText=;fontColor=#ffffff;fontSize=10;whiteSpace=wrap;align=center;",174,25,"Screen Name","Screen name bar",null,null,null),this.createVertexTemplateEntry(a+"iIconGrid;fillColor=#ffffff;strokeColor=#000000;gridSize=3,3;",150,150,"","Icon grid",null,null,null),this.createVertexTemplateEntry(b+"iCopy;fillColor=#000000;strokeColor=#000000;buttonText=;fontColor=#ffffff;spacingBottom=6;fontSize=9;fillColor2=#000000;fillColor3=#ffffff;align=center;", -40,400*.06875,"Copy","Copy",null,null,null),this.addEntry(null,function(){var a=new mxCell("Copy",new mxGeometry(10,0,40,400*.06875),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.iCopy;fillColor=#000000;strokeColor=#000000;buttonText=;fontColor=#ffffff;spacingBottom=6;fontSize=9;fillColor2=#000000;fillColor3=#ffffff;align=center;");a.vertex=!0;var b=new mxCell("",new mxGeometry(0,400*.06875,60,52.5),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.rect;fillColor=#2266ff;strokeColor=none;opacity=30;");b.vertex= -!0;return sb.createVertexTemplateFromCells([a,b],60,80,"Copy Area")}),this.createVertexTemplateEntry(a+"iHomePageControl;fillColor=#666666;strokeColor=#cccccc;",50,5,"","Home page control",null,null,null),this.createVertexTemplateEntry(a+"iPageControl;fillColor=#666666;strokeColor=#cccccc;",50,5,"","Page control",null,null,null)];this.addPalette("ios","iOS6",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))}})();(function(){Sidebar.prototype.addIos7Palette=function(){var a=this,b="ios icon ",e="html=1;verticalLabelPosition=bottom;align=center;labelBackgroundColor=#ffffff;verticalAlign=top;strokeWidth=2;strokeColor=#0080F0;fillColor=#ffffff;shadow=0;dashed=0;shape=mxgraph.ios7.icons.",c="mxgraph.ios7.icons";this.addPaletteFunctions("ios7icons","iOS Icons",!1,[this.createVertexTemplateEntry(e+"add;",30,30,"","Add",null,null,this.getTagsForStencil(c,"add",b).join(" ")),this.createVertexTemplateEntry(e+"alarm_clock;", -27,30,"","Alarm Clock",null,null,this.getTagsForStencil(c,"alarm_clock",b).join(" ")),this.createVertexTemplateEntry(e+"back;",30,25.5,"","Back",null,null,this.getTagsForStencil(c,"back",b).join(" ")),this.createVertexTemplateEntry(e+"backward;",30,16.8,"","Backward",null,null,this.getTagsForStencil(c,"backward",b).join(" ")),this.createVertexTemplateEntry(e+"bag;",21,21,"","Bag",null,null,this.getTagsForStencil(c,"bag",b).join(" ")),this.createVertexTemplateEntry(e+"basket_cancel;",30,12,"","Basket Cancel", -null,null,this.getTagsForStencil(c,"basket_cancel",b).join(" ")),this.createVertexTemplateEntry(e+"basketball;",30,30,"","Basketball",null,null,this.getTagsForStencil(c,"basketball",b).join(" ")),this.createVertexTemplateEntry(e+"battery;",30,12,"","Battery",null,null,this.getTagsForStencil(c,"battery",b).join(" ")),this.createVertexTemplateEntry(e+"bell;",24,77*.3,"","Bell",null,null,this.getTagsForStencil(c,"bell",b).join(" ")),this.createVertexTemplateEntry(e+"bluetooth;pointerEvents=1",15,96* -.3,"","Bluetooth",null,null,this.getTagsForStencil(c,"bluetooth",b).join(" ")),this.createVertexTemplateEntry(e+"book;",30,25.5,"","Book",null,null,this.getTagsForStencil(c,"book",b).join(" ")),this.createVertexTemplateEntry(e+"bookmark;",18,24,"","Bookmark",null,null,this.getTagsForStencil(c,"bookmark",b).join(" ")),this.createVertexTemplateEntry(e+"box;",30,30,"","Box",null,null,this.getTagsForStencil(c,"box",b).join(" ")),this.createVertexTemplateEntry(e+"briefcase;",30,67*.3,"","Briefcase",null, -null,this.getTagsForStencil(c,"briefcase",b).join(" ")),this.createVertexTemplateEntry(e+"calculator;",24,30,"","Calculator",null,null,this.getTagsForStencil(c,"calculator",b).join(" ")),this.createVertexTemplateEntry(e+"calendar;",30,30,"","Calendar",null,null,this.getTagsForStencil(c,"calendar",b).join(" ")),this.createVertexTemplateEntry(e+"camera;",30,17.4,"","Camera",null,null,this.getTagsForStencil(c,"camera",b).join(" ")),this.createVertexTemplateEntry(e+"chat;",30,18,"","Chat",null,null,this.getTagsForStencil(c, -"chat",b).join(" ")),this.createVertexTemplateEntry(e+"clock;",30,30,"","Clock",null,null,this.getTagsForStencil(c,"clock",b).join(" ")),this.createVertexTemplateEntry(e+"cloud;",30,30,"","Cloud",null,null,this.getTagsForStencil(c,"cloud",b).join(" ")),this.createVertexTemplateEntry(e+"compose;",97*.3,97*.3,"","Compose",null,null,this.getTagsForStencil(c,"compose",b).join(" ")),this.createVertexTemplateEntry(e+"controls;",27,24,"","Controls",null,null,this.getTagsForStencil(c,"controls",b).join(" ")), -this.createVertexTemplateEntry(e+"credit_card;",30,15,"","Credit Card",null,null,this.getTagsForStencil(c,"credit_card",b).join(" ")),this.createVertexTemplateEntry(e+"crop;",30,30,"","Crop",null,null,this.getTagsForStencil(c,"crop",b).join(" ")),this.createVertexTemplateEntry(e+"cube;",30,30,"","Cube",null,null,this.getTagsForStencil(c,"cube",b).join(" ")),this.createVertexTemplateEntry(e+"cup;",30,30,"","Cup",null,null,this.getTagsForStencil(c,"cup",b).join(" ")),this.createVertexTemplateEntry(e+ -"data;",24,97*.3,"","Data",null,null,this.getTagsForStencil(c,"data",b).join(" ")),this.createVertexTemplateEntry(e+"delete;",30,30,"","Delete",null,null,this.getTagsForStencil(c,"delete",b).join(" ")),this.createVertexTemplateEntry(e+"document;",21,30,"","Document",null,null,this.getTagsForStencil(c,"document",b).join(" ")),this.createVertexTemplateEntry(e+"documents;",22.5,30,"","Documents",null,null,this.getTagsForStencil(c,"documents",b).join(" ")),this.createVertexTemplateEntry(e+"down;",21, -25.5,"","Down",null,null,this.getTagsForStencil(c,"down",b).join(" ")),this.createVertexTemplateEntry(e+"edit;",29.4,29.4,"","Edit",null,null,this.getTagsForStencil(c,"edit",b).join(" ")),this.createVertexTemplateEntry(e+"envelope_(empty);",30,30,"","Envelope (Empty)",null,null,this.getTagsForStencil(c,"envelope_(empty)",b).join(" ")),this.createVertexTemplateEntry(e+"envelope_(message);",30,30,"","Envelope (Message)",null,null,this.getTagsForStencil(c,"envelope_(message)",b).join(" ")),this.createVertexTemplateEntry(e+ -"eye;",30,14.1,"","Eye",null,null,this.getTagsForStencil(c,"eye",b).join(" ")),this.createVertexTemplateEntry(e+"flag;",30,30,"","Flag",null,null,this.getTagsForStencil(c,"flag",b).join(" ")),this.createVertexTemplateEntry(e+"flash;",18,30,"","Flash",null,null,this.getTagsForStencil(c,"flash",b).join(" ")),this.createVertexTemplateEntry(e+"flashlight;",15,30,"","Flashlight",null,null,this.getTagsForStencil(c,"flashlight",b).join(" ")),this.createVertexTemplateEntry(e+"folder;",30,19.5,"","Folder", -null,null,this.getTagsForStencil(c,"folder",b).join(" ")),this.createVertexTemplateEntry(e+"folders;",30,25.5,"","Folders",null,null,this.getTagsForStencil(c,"folders",b).join(" ")),this.createVertexTemplateEntry(e+"folders_2;",30,22.5,"","Folders",null,null,this.getTagsForStencil(c,"folders_2",b).join(" ")),this.createVertexTemplateEntry(e+"forward;",30,16.8,"","Forward",null,null,this.getTagsForStencil(c,"forward",b).join(" ")),this.createVertexTemplateEntry(e+"gauge;",32.4,31.5,"","Gauge",null, -null,this.getTagsForStencil(c,"gauge",b).join(" ")),this.createVertexTemplateEntry(e+"glasses;",30,12,"","Glasses",null,null,this.getTagsForStencil(c,"glasses",b).join(" ")),this.createVertexTemplateEntry(e+"globe;",30,30,"","Globe",null,null,this.getTagsForStencil(c,"globe",b).join(" ")),this.createVertexTemplateEntry(e+"heart;",102*.3,27.3,"","Heart",null,null,this.getTagsForStencil(c,"heart",b).join(" ")),this.createVertexTemplateEntry(e+"help;",30,30,"","Help",null,null,this.getTagsForStencil(c, -"help",b).join(" ")),this.createVertexTemplateEntry(e+"home;",24,25.5,"","Home",null,null,this.getTagsForStencil(c,"home",b).join(" ")),this.createVertexTemplateEntry(e+"info;",30,30,"","Info",null,null,this.getTagsForStencil(c,"info",b).join(" ")),this.createVertexTemplateEntry(e+"keypad;",30,30,"","Keypad",null,null,this.getTagsForStencil(c,"keypad",b).join(" ")),this.createVertexTemplateEntry(e+"lightbulb;",22.8,29.7,"","Lightbulb",null,null,this.getTagsForStencil(c,"lightbulb",b).join(" ")),this.createVertexTemplateEntry(e+ -"link;",30,30,"","Link",null,null,this.getTagsForStencil(c,"link",b).join(" ")),this.createVertexTemplateEntry(e+"location;",24,30,"","Location",null,null,this.getTagsForStencil(c,"location",b).join(" ")),this.createVertexTemplateEntry(e+"location_2;",30,30,"","Location",null,null,this.getTagsForStencil(c,"location_2",b).join(" ")),this.createVertexTemplateEntry(e+"locked;",24,30,"","Locked",null,null,this.getTagsForStencil(c,"locked",b).join(" ")),this.createVertexTemplateEntry(e+"looking_glass;", -30,30,"","Looking Glass",null,null,this.getTagsForStencil(c,"looking_glass",b).join(" ")),this.createVertexTemplateEntry(e+"loud;",102*.3,32.4,"","Loud",null,null,this.getTagsForStencil(c,"loud",b).join(" ")),this.createVertexTemplateEntry(e+"magnet;pointerEvents=1",24,30,"","Magnet",null,null,this.getTagsForStencil(c,"magnet",b).join(" ")),this.createVertexTemplateEntry(e+"mail;",30,16.5,"","Mail",null,null,this.getTagsForStencil(c,"mail",b).join(" ")),this.createVertexTemplateEntry(e+"map;",30, -30,"","Map",null,null,this.getTagsForStencil(c,"map",b).join(" ")),this.createVertexTemplateEntry(e+"message;",30,19.5,"","Message",null,null,this.getTagsForStencil(c,"message",b).join(" ")),this.createVertexTemplateEntry(e+"messages;",30,25.5,"","Messages",null,null,this.getTagsForStencil(c,"messages",b).join(" ")),this.createVertexTemplateEntry(e+"microphone;",12,30,"","Microphone",null,null,this.getTagsForStencil(c,"microphone",b).join(" ")),this.createVertexTemplateEntry(e+"monitor;",30,19.5, -"","Monitor",null,null,this.getTagsForStencil(c,"monitor",b).join(" ")),this.createVertexTemplateEntry(e+"moon;",29.4,29.4,"","Moon",null,null,this.getTagsForStencil(c,"moon",b).join(" ")),this.createVertexTemplateEntry(e+"most_viewed;pointerEvents=1",28.2,22.8,"","Most Viewed",null,null,this.getTagsForStencil(c,"most_viewed",b).join(" ")),this.createVertexTemplateEntry(e+"move_to_folder;",30,22.5,"","Move to Folder",null,null,this.getTagsForStencil(c,"move_to_folder",b).join(" ")),this.createVertexTemplateEntry(e+ -"note;pointerEvents=1",29.7,29.7,"","Note",null,null,this.getTagsForStencil(c,"note",b).join(" ")),this.createVertexTemplateEntry(e+"options;pointerEvents=1",30,15,"","Options",null,null,this.getTagsForStencil(c,"options",b).join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;strokeWidth=2;strokeColor=#0080F0;fillColor=#0080F0;shadow=0;dashed=0;shape=mxgraph.ios7.icons.orientation_lock;pointerEvents=1",77*.3,21,"","Orientation Lock",null,null,this.getTagsForStencil(c,"orientation_lock", -b).join(" ")),this.createVertexTemplateEntry(e+"page_navigation;pointerEvents=1",30,4.8,"","Page Navigation",null,null,this.getTagsForStencil(c,"page_navigation",b).join(" ")),this.createVertexTemplateEntry(e+"paint;",30,25.5,"","Paint",null,null,this.getTagsForStencil(c,"paint",b).join(" ")),this.createVertexTemplateEntry(e+"pause;pointerEvents=1",15,24,"","Pause",null,null,this.getTagsForStencil(c,"pause",b).join(" ")),this.createVertexTemplateEntry(e+"pen;",29.4,29.7,"","Pen",null,null,this.getTagsForStencil(c, -"pen",b).join(" ")),this.createVertexTemplateEntry(e+"pie_chart;",30,30,"","Pie Chart",null,null,this.getTagsForStencil(c,"pie_chart",b).join(" ")),this.createVertexTemplateEntry(e+"play;",21,24,"","Play",null,null,this.getTagsForStencil(c,"play",b).join(" ")),this.createVertexTemplateEntry(e+"pointer;",30,30,"","Pointer",null,null,this.getTagsForStencil(c,"pointer",b).join(" ")),this.createVertexTemplateEntry(e+"preferences;pointerEvents=1",30,24,"","Preferences",null,null,this.getTagsForStencil(c, -"preferences",b).join(" ")),this.createVertexTemplateEntry(e+"printer;",30,25.5,"","Printer",null,null,this.getTagsForStencil(c,"printer",b).join(" ")),this.createVertexTemplateEntry(e+"privacy;",16.8,28.5,"","Privacy",null,null,this.getTagsForStencil(c,"privacy",b).join(" ")),this.createVertexTemplateEntry(e+"radio;",30,22.5,"","Radio",null,null,this.getTagsForStencil(c,"radio",b).join(" ")),this.createVertexTemplateEntry(e+"reload;",24,27,"","Reload",null,null,this.getTagsForStencil(c,"reload", -b).join(" ")),this.createVertexTemplateEntry(e+"repeat;pointerEvents=1",30,24,"","Repeat",null,null,this.getTagsForStencil(c,"repeat",b).join(" ")),this.createVertexTemplateEntry(e+"retry;",92*.3,48*.3,"","Retry",null,null,this.getTagsForStencil(c,"retry",b).join(" ")),this.createVertexTemplateEntry(e+"select;",30,30,"","Select",null,null,this.getTagsForStencil(c,"select",b).join(" ")),this.createVertexTemplateEntry(e+"settings;",30,30,"","Settings",null,null,this.getTagsForStencil(c,"settings",b).join(" ")), -this.createVertexTemplateEntry(e+"share;",21,28.5,"","Share",null,null,this.getTagsForStencil(c,"share",b).join(" ")),this.createVertexTemplateEntry(e+"shopping_cart;",30,25.5,"","Shopping Cart",null,null,this.getTagsForStencil(c,"shopping_cart",b).join(" ")),this.createVertexTemplateEntry(e+"shuffle;pointerEvents=1",30,21,"","Shuffle",null,null,this.getTagsForStencil(c,"shuffle",b).join(" ")),this.createVertexTemplateEntry(e+"silent;",30,30,"","Silent",null,null,this.getTagsForStencil(c,"silent", -b).join(" ")),this.createVertexTemplateEntry(e+"smartphone;",18,30,"","Smartphone",null,null,this.getTagsForStencil(c,"smartphone",b).join(" ")),this.createVertexTemplateEntry(e+"star;",30,27,"","Star",null,null,this.getTagsForStencil(c,"star",b).join(" ")),this.createVertexTemplateEntry(e+"stopwatch;",27,28.2,"","Stopwatch",null,null,this.getTagsForStencil(c,"stopwatch",b).join(" ")),this.createVertexTemplateEntry(e+"storage;",30,10.5,"","Storage",null,null,this.getTagsForStencil(c,"storage",b).join(" ")), -this.createVertexTemplateEntry(e+"sun;pointerEvents=1",30,30,"","Sun",null,null,this.getTagsForStencil(c,"sun",b).join(" ")),this.createVertexTemplateEntry(e+"tape;pointerEvents=1",30,12,"","Tape",null,null,this.getTagsForStencil(c,"tape",b).join(" ")),this.createVertexTemplateEntry(e+"tools;pointerEvents=1",29.7,29.7,"","Tools",null,null,this.getTagsForStencil(c,"tools",b).join(" ")),this.createVertexTemplateEntry(e+"trashcan;",24,30,"","Trashcan",null,null,this.getTagsForStencil(c,"trashcan",b).join(" ")), -this.createVertexTemplateEntry(e+"trophy;",28.5,30,"","Trophy",null,null,this.getTagsForStencil(c,"trophy",b).join(" ")),this.createVertexTemplateEntry(e+"umbrella;",30,30,"","Umbrella",null,null,this.getTagsForStencil(c,"umbrella",b).join(" ")),this.createVertexTemplateEntry(e+"unlocked;",24,30,"","Unlocked",null,null,this.getTagsForStencil(c,"unlocked",b).join(" ")),this.createVertexTemplateEntry(e+"up;",21,25.5,"","Up",null,null,this.getTagsForStencil(c,"up",b).join(" ")),this.createVertexTemplateEntry(e+ -"user;",30,30,"","User",null,null,this.getTagsForStencil(c,"user",b).join(" ")),this.createVertexTemplateEntry(e+"video_conversation;",30,15,"","Video Conversation",null,null,this.getTagsForStencil(c,"video_conversation",b).join(" ")),this.createVertexTemplateEntry(e+"volume;pointerEvents=1",30,30,"","Volume",null,null,this.getTagsForStencil(c,"volume",b).join(" ")),this.createVertexTemplateEntry(e+"volume_2;pointerEvents=1",101*.3,28.2,"","Volume",null,null,this.getTagsForStencil(c,"volume_2",b).join(" ")), -this.createVertexTemplateEntry(e+"wallet;",30,24,"","Wallet",null,null,this.getTagsForStencil(c,"wallet",b).join(" ")),this.createVertexTemplateEntry(e+"wifi;pointerEvents=1",29.7,21,"","WiFi",null,null,this.getTagsForStencil(c,"wifi",b).join(" ")),this.createVertexTemplateEntry(e+"window;",30,30,"","Window",null,null,this.getTagsForStencil(c,"window",b).join(" "))]);var e="html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7ui.", -d=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios.",b="ios ui ",c="mxgraph.ios7ui",f=[this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7.misc.iphone;fillColor=#ffffff;strokeColor=#c0c0c0;",200,400,"","iPhone (Portrait)",null,null,this.getTagsForStencil(c,"phone",b+"portrait").join(" ")), -this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7.misc.ipad7inch;fillColor=#ffffff;strokeColor=#c0c0c0;",366,549,"","iPad (7'')",null,null,this.getTagsForStencil(c,"tablet tab 7",b+"portrait").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7.misc.ipad10inch;fillColor=#ffffff;strokeColor=#c0c0c0;", -488,693,"","iPad (10'')",null,null,this.getTagsForStencil(c,"tablet tab 10",b+"portrait").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7.misc.ipad13inch;fillColor=#ffffff;strokeColor=#c0c0c0;",572,400*2.0325,"","iPad (13'')",null,null,this.getTagsForStencil(c,"tablet tab 10",b+"portrait").join(" ")),this.addDataEntry(b+"app bar portrait",175,15,"App Bar (portrait)","zVVdb4IwFP01fZTw6cejoDNLZmLYkj03o0CzQkmpivv1u0BBEIw+zMUmJL3n3tt7e05LkeUlxUbgLN7ygDBkrZHlCc5lPUsKjzCGTJ0GyFoh09ThQ+bLFa9RefUMC5LKexLMOuGA2Z7USA3k8sQUEMsE2loZyHJzKfg3+aSBjBskxgE/gqGDEeA8JoEywJOVKyRFVO5Oozyf7amGs8zFAvwhZczjjIuqihVWA3CIDih03/hSnsIyruqTCEmKq3utILXRDeEJkeIEIUfVcBkxc+q0mNAobtIUhvPajtrUM3MwUeSNE2kNiPSWvv+69gd8NsQI8gX1XcxolILJSFiaIU/lO/0pA+Ylixn+omn0VjlXpt2PaMwOj7garVYXLHZJV5Cq8MEzteBdTJvjTJ/UmdMUox3mHX2EeMWaIAxLeiC9cmNqqIo7TqGRttxkql0oyMMwJ3KgX9vpXZLaA0kNOPJLx9ltb4l6oeJTaVRcaPTPmqnyE0vvlX+Qhs5Aw8UcNejtSynqfV+5lb5ixVj0Q6ZPKrlxU3B77O/4R4LbzgMEB/P8WNbh3bf0Fw=="), +174,30,"Downloading 2 of 6","Download bar",null,null,null),this.createVertexTemplateEntry(b+"iScreenNameBar;fillColor2=#000000;fillColor3=#ffffff;buttonText=;fontColor=#ffffff;fontSize=10;whiteSpace=wrap;align=center;",174,25,"Screen Name","Screen name bar",null,null,null),this.createVertexTemplateEntry(a+"iIconGrid;gridSize=3,3;",150,150,"","Icon grid",null,null,null),this.createVertexTemplateEntry(b+"iCopy;fillColor=#000000;buttonText=;fontColor=#ffffff;spacingBottom=6;fontSize=9;fillColor2=#000000;fillColor3=#ffffff;align=center;", +40,400*.06875,"Copy","Copy",null,null,null),this.addEntry(null,function(){var a=new mxCell("Copy",new mxGeometry(10,0,40,400*.06875),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.iCopy;fillColor=#000000;buttonText=;fontColor=#ffffff;spacingBottom=6;fontSize=9;fillColor2=#000000;fillColor3=#ffffff;align=center;");a.vertex=!0;var b=new mxCell("",new mxGeometry(0,400*.06875,60,52.5),"html=1;shadow=0;dashed=0;shape=mxgraph.ios.rect;fillColor=#2266ff;strokeColor=none;opacity=30;");b.vertex=!0;return sb.createVertexTemplateFromCells([a, +b],60,80,"Copy Area")}),this.createVertexTemplateEntry(a+"iHomePageControl;fillColor=#666666;strokeColor=#cccccc;",50,5,"","Home page control",null,null,null),this.createVertexTemplateEntry(a+"iPageControl;fillColor=#666666;strokeColor=#cccccc;",50,5,"","Page control",null,null,null)];this.addPalette("ios","iOS6",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))}})();(function(){Sidebar.prototype.addIos7Palette=function(){var a=this,b="ios icon ",e="html=1;verticalLabelPosition=bottom;align=center;labelBackgroundColor=#ffffff;verticalAlign=top;strokeWidth=2;strokeColor=#0080F0;shadow=0;dashed=0;shape=mxgraph.ios7.icons.",d="mxgraph.ios7.icons";this.addPaletteFunctions("ios7icons","iOS Icons",!1,[this.createVertexTemplateEntry(e+"add;",30,30,"","Add",null,null,this.getTagsForStencil(d,"add",b).join(" ")),this.createVertexTemplateEntry(e+"alarm_clock;",27,30,"", +"Alarm Clock",null,null,this.getTagsForStencil(d,"alarm_clock",b).join(" ")),this.createVertexTemplateEntry(e+"back;",30,25.5,"","Back",null,null,this.getTagsForStencil(d,"back",b).join(" ")),this.createVertexTemplateEntry(e+"backward;",30,16.8,"","Backward",null,null,this.getTagsForStencil(d,"backward",b).join(" ")),this.createVertexTemplateEntry(e+"bag;",21,21,"","Bag",null,null,this.getTagsForStencil(d,"bag",b).join(" ")),this.createVertexTemplateEntry(e+"basket_cancel;",30,12,"","Basket Cancel", +null,null,this.getTagsForStencil(d,"basket_cancel",b).join(" ")),this.createVertexTemplateEntry(e+"basketball;",30,30,"","Basketball",null,null,this.getTagsForStencil(d,"basketball",b).join(" ")),this.createVertexTemplateEntry(e+"battery;",30,12,"","Battery",null,null,this.getTagsForStencil(d,"battery",b).join(" ")),this.createVertexTemplateEntry(e+"bell;",24,77*.3,"","Bell",null,null,this.getTagsForStencil(d,"bell",b).join(" ")),this.createVertexTemplateEntry(e+"bluetooth;pointerEvents=1",15,96* +.3,"","Bluetooth",null,null,this.getTagsForStencil(d,"bluetooth",b).join(" ")),this.createVertexTemplateEntry(e+"book;",30,25.5,"","Book",null,null,this.getTagsForStencil(d,"book",b).join(" ")),this.createVertexTemplateEntry(e+"bookmark;",18,24,"","Bookmark",null,null,this.getTagsForStencil(d,"bookmark",b).join(" ")),this.createVertexTemplateEntry(e+"box;",30,30,"","Box",null,null,this.getTagsForStencil(d,"box",b).join(" ")),this.createVertexTemplateEntry(e+"briefcase;",30,67*.3,"","Briefcase",null, +null,this.getTagsForStencil(d,"briefcase",b).join(" ")),this.createVertexTemplateEntry(e+"calculator;",24,30,"","Calculator",null,null,this.getTagsForStencil(d,"calculator",b).join(" ")),this.createVertexTemplateEntry(e+"calendar;",30,30,"","Calendar",null,null,this.getTagsForStencil(d,"calendar",b).join(" ")),this.createVertexTemplateEntry(e+"camera;",30,17.4,"","Camera",null,null,this.getTagsForStencil(d,"camera",b).join(" ")),this.createVertexTemplateEntry(e+"chat;",30,18,"","Chat",null,null,this.getTagsForStencil(d, +"chat",b).join(" ")),this.createVertexTemplateEntry(e+"clock;",30,30,"","Clock",null,null,this.getTagsForStencil(d,"clock",b).join(" ")),this.createVertexTemplateEntry(e+"cloud;",30,30,"","Cloud",null,null,this.getTagsForStencil(d,"cloud",b).join(" ")),this.createVertexTemplateEntry(e+"compose;",97*.3,97*.3,"","Compose",null,null,this.getTagsForStencil(d,"compose",b).join(" ")),this.createVertexTemplateEntry(e+"controls;",27,24,"","Controls",null,null,this.getTagsForStencil(d,"controls",b).join(" ")), +this.createVertexTemplateEntry(e+"credit_card;",30,15,"","Credit Card",null,null,this.getTagsForStencil(d,"credit_card",b).join(" ")),this.createVertexTemplateEntry(e+"crop;",30,30,"","Crop",null,null,this.getTagsForStencil(d,"crop",b).join(" ")),this.createVertexTemplateEntry(e+"cube;",30,30,"","Cube",null,null,this.getTagsForStencil(d,"cube",b).join(" ")),this.createVertexTemplateEntry(e+"cup;",30,30,"","Cup",null,null,this.getTagsForStencil(d,"cup",b).join(" ")),this.createVertexTemplateEntry(e+ +"data;",24,97*.3,"","Data",null,null,this.getTagsForStencil(d,"data",b).join(" ")),this.createVertexTemplateEntry(e+"delete;",30,30,"","Delete",null,null,this.getTagsForStencil(d,"delete",b).join(" ")),this.createVertexTemplateEntry(e+"document;",21,30,"","Document",null,null,this.getTagsForStencil(d,"document",b).join(" ")),this.createVertexTemplateEntry(e+"documents;",22.5,30,"","Documents",null,null,this.getTagsForStencil(d,"documents",b).join(" ")),this.createVertexTemplateEntry(e+"down;",21, +25.5,"","Down",null,null,this.getTagsForStencil(d,"down",b).join(" ")),this.createVertexTemplateEntry(e+"edit;",29.4,29.4,"","Edit",null,null,this.getTagsForStencil(d,"edit",b).join(" ")),this.createVertexTemplateEntry(e+"envelope_(empty);",30,30,"","Envelope (Empty)",null,null,this.getTagsForStencil(d,"envelope_(empty)",b).join(" ")),this.createVertexTemplateEntry(e+"envelope_(message);",30,30,"","Envelope (Message)",null,null,this.getTagsForStencil(d,"envelope_(message)",b).join(" ")),this.createVertexTemplateEntry(e+ +"eye;",30,14.1,"","Eye",null,null,this.getTagsForStencil(d,"eye",b).join(" ")),this.createVertexTemplateEntry(e+"flag;",30,30,"","Flag",null,null,this.getTagsForStencil(d,"flag",b).join(" ")),this.createVertexTemplateEntry(e+"flash;",18,30,"","Flash",null,null,this.getTagsForStencil(d,"flash",b).join(" ")),this.createVertexTemplateEntry(e+"flashlight;",15,30,"","Flashlight",null,null,this.getTagsForStencil(d,"flashlight",b).join(" ")),this.createVertexTemplateEntry(e+"folder;",30,19.5,"","Folder", +null,null,this.getTagsForStencil(d,"folder",b).join(" ")),this.createVertexTemplateEntry(e+"folders;",30,25.5,"","Folders",null,null,this.getTagsForStencil(d,"folders",b).join(" ")),this.createVertexTemplateEntry(e+"folders_2;",30,22.5,"","Folders",null,null,this.getTagsForStencil(d,"folders_2",b).join(" ")),this.createVertexTemplateEntry(e+"forward;",30,16.8,"","Forward",null,null,this.getTagsForStencil(d,"forward",b).join(" ")),this.createVertexTemplateEntry(e+"gauge;",32.4,31.5,"","Gauge",null, +null,this.getTagsForStencil(d,"gauge",b).join(" ")),this.createVertexTemplateEntry(e+"glasses;",30,12,"","Glasses",null,null,this.getTagsForStencil(d,"glasses",b).join(" ")),this.createVertexTemplateEntry(e+"globe;",30,30,"","Globe",null,null,this.getTagsForStencil(d,"globe",b).join(" ")),this.createVertexTemplateEntry(e+"heart;",102*.3,27.3,"","Heart",null,null,this.getTagsForStencil(d,"heart",b).join(" ")),this.createVertexTemplateEntry(e+"help;",30,30,"","Help",null,null,this.getTagsForStencil(d, +"help",b).join(" ")),this.createVertexTemplateEntry(e+"home;",24,25.5,"","Home",null,null,this.getTagsForStencil(d,"home",b).join(" ")),this.createVertexTemplateEntry(e+"info;",30,30,"","Info",null,null,this.getTagsForStencil(d,"info",b).join(" ")),this.createVertexTemplateEntry(e+"keypad;",30,30,"","Keypad",null,null,this.getTagsForStencil(d,"keypad",b).join(" ")),this.createVertexTemplateEntry(e+"lightbulb;",22.8,29.7,"","Lightbulb",null,null,this.getTagsForStencil(d,"lightbulb",b).join(" ")),this.createVertexTemplateEntry(e+ +"link;",30,30,"","Link",null,null,this.getTagsForStencil(d,"link",b).join(" ")),this.createVertexTemplateEntry(e+"location;",24,30,"","Location",null,null,this.getTagsForStencil(d,"location",b).join(" ")),this.createVertexTemplateEntry(e+"location_2;",30,30,"","Location",null,null,this.getTagsForStencil(d,"location_2",b).join(" ")),this.createVertexTemplateEntry(e+"locked;",24,30,"","Locked",null,null,this.getTagsForStencil(d,"locked",b).join(" ")),this.createVertexTemplateEntry(e+"looking_glass;", +30,30,"","Looking Glass",null,null,this.getTagsForStencil(d,"looking_glass",b).join(" ")),this.createVertexTemplateEntry(e+"loud;",102*.3,32.4,"","Loud",null,null,this.getTagsForStencil(d,"loud",b).join(" ")),this.createVertexTemplateEntry(e+"magnet;pointerEvents=1",24,30,"","Magnet",null,null,this.getTagsForStencil(d,"magnet",b).join(" ")),this.createVertexTemplateEntry(e+"mail;",30,16.5,"","Mail",null,null,this.getTagsForStencil(d,"mail",b).join(" ")),this.createVertexTemplateEntry(e+"map;",30, +30,"","Map",null,null,this.getTagsForStencil(d,"map",b).join(" ")),this.createVertexTemplateEntry(e+"message;",30,19.5,"","Message",null,null,this.getTagsForStencil(d,"message",b).join(" ")),this.createVertexTemplateEntry(e+"messages;",30,25.5,"","Messages",null,null,this.getTagsForStencil(d,"messages",b).join(" ")),this.createVertexTemplateEntry(e+"microphone;",12,30,"","Microphone",null,null,this.getTagsForStencil(d,"microphone",b).join(" ")),this.createVertexTemplateEntry(e+"monitor;",30,19.5, +"","Monitor",null,null,this.getTagsForStencil(d,"monitor",b).join(" ")),this.createVertexTemplateEntry(e+"moon;",29.4,29.4,"","Moon",null,null,this.getTagsForStencil(d,"moon",b).join(" ")),this.createVertexTemplateEntry(e+"most_viewed;pointerEvents=1",28.2,22.8,"","Most Viewed",null,null,this.getTagsForStencil(d,"most_viewed",b).join(" ")),this.createVertexTemplateEntry(e+"move_to_folder;",30,22.5,"","Move to Folder",null,null,this.getTagsForStencil(d,"move_to_folder",b).join(" ")),this.createVertexTemplateEntry(e+ +"note;pointerEvents=1",29.7,29.7,"","Note",null,null,this.getTagsForStencil(d,"note",b).join(" ")),this.createVertexTemplateEntry(e+"options;pointerEvents=1",30,15,"","Options",null,null,this.getTagsForStencil(d,"options",b).join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;strokeWidth=2;strokeColor=#0080F0;fillColor=#0080F0;shadow=0;dashed=0;shape=mxgraph.ios7.icons.orientation_lock;pointerEvents=1",77*.3,21,"","Orientation Lock",null,null,this.getTagsForStencil(d,"orientation_lock", +b).join(" ")),this.createVertexTemplateEntry(e+"page_navigation;pointerEvents=1",30,4.8,"","Page Navigation",null,null,this.getTagsForStencil(d,"page_navigation",b).join(" ")),this.createVertexTemplateEntry(e+"paint;",30,25.5,"","Paint",null,null,this.getTagsForStencil(d,"paint",b).join(" ")),this.createVertexTemplateEntry(e+"pause;pointerEvents=1",15,24,"","Pause",null,null,this.getTagsForStencil(d,"pause",b).join(" ")),this.createVertexTemplateEntry(e+"pen;",29.4,29.7,"","Pen",null,null,this.getTagsForStencil(d, +"pen",b).join(" ")),this.createVertexTemplateEntry(e+"pie_chart;",30,30,"","Pie Chart",null,null,this.getTagsForStencil(d,"pie_chart",b).join(" ")),this.createVertexTemplateEntry(e+"play;",21,24,"","Play",null,null,this.getTagsForStencil(d,"play",b).join(" ")),this.createVertexTemplateEntry(e+"pointer;",30,30,"","Pointer",null,null,this.getTagsForStencil(d,"pointer",b).join(" ")),this.createVertexTemplateEntry(e+"preferences;pointerEvents=1",30,24,"","Preferences",null,null,this.getTagsForStencil(d, +"preferences",b).join(" ")),this.createVertexTemplateEntry(e+"printer;",30,25.5,"","Printer",null,null,this.getTagsForStencil(d,"printer",b).join(" ")),this.createVertexTemplateEntry(e+"privacy;",16.8,28.5,"","Privacy",null,null,this.getTagsForStencil(d,"privacy",b).join(" ")),this.createVertexTemplateEntry(e+"radio;",30,22.5,"","Radio",null,null,this.getTagsForStencil(d,"radio",b).join(" ")),this.createVertexTemplateEntry(e+"reload;",24,27,"","Reload",null,null,this.getTagsForStencil(d,"reload", +b).join(" ")),this.createVertexTemplateEntry(e+"repeat;pointerEvents=1",30,24,"","Repeat",null,null,this.getTagsForStencil(d,"repeat",b).join(" ")),this.createVertexTemplateEntry(e+"retry;",92*.3,48*.3,"","Retry",null,null,this.getTagsForStencil(d,"retry",b).join(" ")),this.createVertexTemplateEntry(e+"select;",30,30,"","Select",null,null,this.getTagsForStencil(d,"select",b).join(" ")),this.createVertexTemplateEntry(e+"settings;",30,30,"","Settings",null,null,this.getTagsForStencil(d,"settings",b).join(" ")), +this.createVertexTemplateEntry(e+"share;",21,28.5,"","Share",null,null,this.getTagsForStencil(d,"share",b).join(" ")),this.createVertexTemplateEntry(e+"shopping_cart;",30,25.5,"","Shopping Cart",null,null,this.getTagsForStencil(d,"shopping_cart",b).join(" ")),this.createVertexTemplateEntry(e+"shuffle;pointerEvents=1",30,21,"","Shuffle",null,null,this.getTagsForStencil(d,"shuffle",b).join(" ")),this.createVertexTemplateEntry(e+"silent;",30,30,"","Silent",null,null,this.getTagsForStencil(d,"silent", +b).join(" ")),this.createVertexTemplateEntry(e+"smartphone;",18,30,"","Smartphone",null,null,this.getTagsForStencil(d,"smartphone",b).join(" ")),this.createVertexTemplateEntry(e+"star;",30,27,"","Star",null,null,this.getTagsForStencil(d,"star",b).join(" ")),this.createVertexTemplateEntry(e+"stopwatch;",27,28.2,"","Stopwatch",null,null,this.getTagsForStencil(d,"stopwatch",b).join(" ")),this.createVertexTemplateEntry(e+"storage;",30,10.5,"","Storage",null,null,this.getTagsForStencil(d,"storage",b).join(" ")), +this.createVertexTemplateEntry(e+"sun;pointerEvents=1",30,30,"","Sun",null,null,this.getTagsForStencil(d,"sun",b).join(" ")),this.createVertexTemplateEntry(e+"tape;pointerEvents=1",30,12,"","Tape",null,null,this.getTagsForStencil(d,"tape",b).join(" ")),this.createVertexTemplateEntry(e+"tools;pointerEvents=1",29.7,29.7,"","Tools",null,null,this.getTagsForStencil(d,"tools",b).join(" ")),this.createVertexTemplateEntry(e+"trashcan;",24,30,"","Trashcan",null,null,this.getTagsForStencil(d,"trashcan",b).join(" ")), +this.createVertexTemplateEntry(e+"trophy;",28.5,30,"","Trophy",null,null,this.getTagsForStencil(d,"trophy",b).join(" ")),this.createVertexTemplateEntry(e+"umbrella;",30,30,"","Umbrella",null,null,this.getTagsForStencil(d,"umbrella",b).join(" ")),this.createVertexTemplateEntry(e+"unlocked;",24,30,"","Unlocked",null,null,this.getTagsForStencil(d,"unlocked",b).join(" ")),this.createVertexTemplateEntry(e+"up;",21,25.5,"","Up",null,null,this.getTagsForStencil(d,"up",b).join(" ")),this.createVertexTemplateEntry(e+ +"user;",30,30,"","User",null,null,this.getTagsForStencil(d,"user",b).join(" ")),this.createVertexTemplateEntry(e+"video_conversation;",30,15,"","Video Conversation",null,null,this.getTagsForStencil(d,"video_conversation",b).join(" ")),this.createVertexTemplateEntry(e+"volume;pointerEvents=1",30,30,"","Volume",null,null,this.getTagsForStencil(d,"volume",b).join(" ")),this.createVertexTemplateEntry(e+"volume_2;pointerEvents=1",101*.3,28.2,"","Volume",null,null,this.getTagsForStencil(d,"volume_2",b).join(" ")), +this.createVertexTemplateEntry(e+"wallet;",30,24,"","Wallet",null,null,this.getTagsForStencil(d,"wallet",b).join(" ")),this.createVertexTemplateEntry(e+"wifi;pointerEvents=1",29.7,21,"","WiFi",null,null,this.getTagsForStencil(d,"wifi",b).join(" ")),this.createVertexTemplateEntry(e+"window;",30,30,"","Window",null,null,this.getTagsForStencil(d,"window",b).join(" "))]);var e="html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7ui.", +c=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;html=1;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios.",b="ios ui ",d="mxgraph.ios7ui",f=[this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7.misc.iphone;strokeColor=#c0c0c0;",200,400,"","iPhone (Portrait)",null,null,this.getTagsForStencil(d,"phone",b+"portrait").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7.misc.ipad7inch;strokeColor=#c0c0c0;", +366,549,"","iPad (7'')",null,null,this.getTagsForStencil(d,"tablet tab 7",b+"portrait").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7.misc.ipad10inch;strokeColor=#c0c0c0;",488,693,"","iPad (10'')",null,null,this.getTagsForStencil(d,"tablet tab 10",b+"portrait").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7.misc.ipad13inch;strokeColor=#c0c0c0;", +572,400*2.0325,"","iPad (13'')",null,null,this.getTagsForStencil(d,"tablet tab 10",b+"portrait").join(" ")),this.addDataEntry(b+"app bar portrait",175,15,"App Bar (portrait)","zVVdb4IwFP01fZTw6cejoDNLZmLYkj03o0CzQkmpivv1u0BBEIw+zMUmJL3n3tt7e05LkeUlxUbgLN7ygDBkrZHlCc5lPUsKjzCGTJ0GyFoh09ThQ+bLFa9RefUMC5LKexLMOuGA2Z7USA3k8sQUEMsE2loZyHJzKfg3+aSBjBskxgE/gqGDEeA8JoEywJOVKyRFVO5Oozyf7amGs8zFAvwhZczjjIuqihVWA3CIDih03/hSnsIyruqTCEmKq3utILXRDeEJkeIEIUfVcBkxc+q0mNAobtIUhvPajtrUM3MwUeSNE2kNiPSWvv+69gd8NsQI8gX1XcxolILJSFiaIU/lO/0pA+Ylixn+omn0VjlXpt2PaMwOj7garVYXLHZJV5Cq8MEzteBdTJvjTJ/UmdMUox3mHX2EeMWaIAxLeiC9cmNqqIo7TqGRttxkql0oyMMwJ3KgX9vpXZLaA0kNOPJLx9ltb4l6oeJTaVRcaPTPmqnyE0vvlX+Qhs5Aw8UcNejtSynqfV+5lb5ixVj0Q6ZPKrlxU3B77O/4R4LbzgMEB/P8WNbh3bf0Fw=="), this.addDataEntry(b+"app bar landscape",280,15,"App Bar (landscape)","zZVdb4IwFIZ/TS81UMDppaIzS2Zi2JJdN6NAs0JJqYr79TvQovJh9MbFJiScj/ac87wlIMdPy7UkebIRIeXIWSHHl0Io/ZaWPuUcYYuFyFkijC14EH69ErXrqJUTSTN1zwasN+wJ31Ht0Y5CHblxJCqFtpY2chaFkuKHfrFQJY0nIaE4gGGBEZIioaExIJJXJ6RlXE03ZqJ42bExyfMFkRCPGOe+4ELWVZyoXuCH7JBB900sExkcszB9UqloeXXW2mUGXVORUiWPkHIwDVfzTjUPK6EsTpptnvaRQtvxaeuZHLwYeMMgnR5Ifx4Eb6ugx7MBI+k31F8QzuIMTE6jyoxEpj7Yb5UwrSjm5Jtl8XsdXGK3ndGYFxxJvU5adSheQjcuU+FT5ObAu0jjYdJHc+fGhugFeW8IvKEmKSeK7Wmr3JAapuJWMGjkVG40GXcUFFFUUNXT79TpXZK6PUltuPJzz9tubonaUfGpNCo7Gv2zZqb8CLfLP0hDr6fhbIoa7+2PUuq5r3yVgaFiz9opkyeV3L4puOs9TnD3EYKDef5Z6vTLf+kf"), -this.createVertexTemplateEntry(e+"slider;barPos=20;strokeColor=#0080f0;fillColor=#ffffff;strokeColor2=#a0a0a0;",150,15,"","Slider",null,null,this.getTagsForStencil(c,b+"slider",null).join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.downloadBar;verticalAlign=middle;fontSize=8;fontColor=#000000;buttonText=;barPos=30;fillColor=#aaaaaa;strokeColor=#0080f0;align=center;",150,30,"Downloading 2 of 6\n\n","Download bar",null,null,this.getTagsForStencil(c, -"downloadBar",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.adjust;fillColor=#ffffff;gradientColor=none;",80,20,"","Adjust",null,null,this.getTagsForStencil(c,"adjust",b+"").join(" ")),this.addEntry(b+"horizontal button bar",function(){var b=new mxCell("",new mxGeometry(0,0,164,12.5),"html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.rrect;rSize=3;strokeColor=#0080F0;fillColor=#ffffff;gradientColor=none;"); -b.vertex=!0;var c=new mxCell("Item 1",new mxGeometry(0,0,41,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.leftButton;rSize=3;fontSize=8;");c.vertex=!0;b.insert(c);c=new mxCell("Item 3",new mxGeometry(82,0,41,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.rrect;rSize=0;fontSize=8;");c.vertex=!0;b.insert(c);c=new mxCell("Item 4",new mxGeometry(123, -0,41,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.rightButton;rSize=3;fontSize=8;");c.vertex=!0;b.insert(c);c=new mxCell("Item 2",new mxGeometry(41,0,41,12.5),"html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.rrect;rSize=0;strokeColor=#0080F0;fillColor=#0080F0;fontColor=#ffffff;fontSize=8;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Horizontal button bar")}), -this.addDataEntry(b+"select bar",165,27,"Select Bar","7ZRNb8IwDIZ/Ta6oTcZ6HmWDy6RJHHaOiEujpU2VBCj79XM+ClTAhrbrIlWKX8dO/LxSCSubfmF4V79qAYqwZ8JKo7WLu6YvQSlCMykImxNKM/wIfbmRzUM267iB1t1TQGPBjqstRCUK1h1UEmrX4LPmOWEz64z+gHcpXI0K9UrNhd5jkGEguK1BpAAzne/Q9Bs/3URqW2zlxIKCtZtx48/3vi8NpQfcToOGbeeF31r5CUmNF5daaRMexaqwMFNJpc50GhbqeKmQCGHItbrFZrM0LhgH/U1kQUq8FqAbcOaAR/Zpbn/icRrLapCbOpXRImrcxnhzLD0ZgJvkwXU/2IUfqwDswpUBr/HJMYY06phZEit9QjLCiPoq8s5pil94I5X3ZQlqB06uOSY6MBKngrOeBrxTy4FEfi9m+iPm4hvKBhR3cgej9n9B/3ATffbkD/4b8EsD0g1vWrYeZj9uPVToqrLgLgw7vuuahxiefpXx+Pmf9As="), +this.createVertexTemplateEntry(e+"slider;barPos=20;strokeColor=#0080f0;strokeColor2=#a0a0a0;",150,15,"","Slider",null,null,this.getTagsForStencil(d,b+"slider",null).join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.downloadBar;verticalAlign=middle;fontSize=8;buttonText=;barPos=30;fillColor=#aaaaaa;strokeColor=#0080f0;align=center;",150,30,"Downloading 2 of 6\n\n","Download bar",null,null,this.getTagsForStencil(d,"downloadBar",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.adjust;gradientColor=none;", +80,20,"","Adjust",null,null,this.getTagsForStencil(d,"adjust",b+"").join(" ")),this.addEntry(b+"horizontal button bar",function(){var b=new mxCell("",new mxGeometry(0,0,164,12.5),"html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.rrect;rSize=3;strokeColor=#0080F0;gradientColor=none;");b.vertex=!0;var d=new mxCell("Item 1",new mxGeometry(0,0,41,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.leftButton;rSize=3;fontSize=8;"); +d.vertex=!0;b.insert(d);d=new mxCell("Item 3",new mxGeometry(82,0,41,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.rrect;rSize=0;fontSize=8;");d.vertex=!0;b.insert(d);d=new mxCell("Item 4",new mxGeometry(123,0,41,12.5),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.rightButton;rSize=3;fontSize=8;");d.vertex=!0;b.insert(d);d=new mxCell("Item 2", +new mxGeometry(41,0,41,12.5),"html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.rrect;rSize=0;strokeColor=#0080F0;fillColor=#0080F0;fontColor=#ffffff;fontSize=8;");d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Horizontal button bar")}),this.addDataEntry(b+"select bar",165,27,"Select Bar","7ZRNb8IwDIZ/Ta6oTcZ6HmWDy6RJHHaOiEujpU2VBCj79XM+ClTAhrbrIlWKX8dO/LxSCSubfmF4V79qAYqwZ8JKo7WLu6YvQSlCMykImxNKM/wIfbmRzUM267iB1t1TQGPBjqstRCUK1h1UEmrX4LPmOWEz64z+gHcpXI0K9UrNhd5jkGEguK1BpAAzne/Q9Bs/3URqW2zlxIKCtZtx48/3vi8NpQfcToOGbeeF31r5CUmNF5daaRMexaqwMFNJpc50GhbqeKmQCGHItbrFZrM0LhgH/U1kQUq8FqAbcOaAR/Zpbn/icRrLapCbOpXRImrcxnhzLD0ZgJvkwXU/2IUfqwDswpUBr/HJMYY06phZEit9QjLCiPoq8s5pil94I5X3ZQlqB06uOSY6MBKngrOeBrxTy4FEfi9m+iPm4hvKBhR3cgej9n9B/3ATffbkD/4b8EsD0g1vWrYeZj9uPVToqrLgLgw7vuuahxiefpXx+Pmf9As="), this.addDataEntry(b+"select bar",165,27,"Select Bar","7ZVNb8IwDIZ/Ta4oTddxHmXAZRISh50j6tJoaVMlAcp+/ZyPAlWHhrYdiVQpfh078fMeStK87paat9WbKkCS9JWkuVbKhl3d5SAlYVQUJJ0Txih+hC1uZBOfpS3X0Nh7ClgoOHC5h6AEwdiTjEJla3zWPCHpzFitPuBdFLZChTml4oU6YkAxKLipoIgBZlrXoe52brqJUGa6FxMDErZ2xrU737m+zJeecJt5jbmd7yA+Iarh4lxJpf2j0tIvzJRCyiud+YU6XloIhNDnGtVgs1kcF7SF7iYyL0VeS1A1WH3CI8c4tzvxnIWyCsSuimVsGjRuQrw7l14MwE304Hs/0pEfGw9s5EqPV7vkEEMcdcgsiqW6IBlgRH0TeCc0xgteC+l8WYE8gBVbjokWtMCp4KqnBufUqieR3IuZ/Yg5o7cpa5DcigMM2v8F/dNN9PTFHXwY8EsD4g1rJRoHsxu27itUWRqwI8PO77rLw2zk4ZobCw/z/tm8hP6DexhefnTh+PV/8As="), -this.addEntry(b+"labels",function(){var b=new mxCell("",new mxGeometry(0,0,164,20),"shape=rect;fillColor=#F6F6F8;strokeColor=none;");b.vertex=!0;var c=new mxCell("Label",new mxGeometry(55,0,54,20),"text;fontColor=#000000;fontSize=10;verticalAlign=middle;align=center;spacingTop=2;");c.vertex=!0;b.insert(c);c=new mxCell("Label",new mxGeometry(109,0,55,20),"text;fontColor=#0080f0;fontSize=10;verticalAlign=middle;align=right;spacingTop=2;spacingRight=4;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b], -b.geometry.width,b.geometry.height,"Labels")}),this.addEntry(b+"search box",function(){var b=new mxCell("",new mxGeometry(0,0,164,20),"shape=rect;fillColor=#e0e0e0;strokeColor=none;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,164,20),"html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.marginRect;rx=3;ry=3;rectMargin=5;fillColor=#ffffff;strokeColor=none;");c.vertex=!0;b.insert(c);c=new mxCell("Search",new mxGeometry(.5,.5,6,6),"shape=mxgraph.ios7.icons.looking_glass;strokeColor=#e0e0e0;fillColor=none;fontColor=#e0e0e0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;fontSize=6;fontStyle=0;spacingTop=2;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,-3);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Search Box")}),this.addEntry(b+"search box",function(){var b=new mxCell("",new mxGeometry(0,0,164,20),"shape=rect;fillColor=#F6F6F6;strokeColor=none;");b.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,164,20),"html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.marginRect;rx=3;ry=3;rectMargin=5;fillColor=#E4E4E4;strokeColor=none;"); -c.vertex=!0;b.insert(c);c=new mxCell("Search",new mxGeometry(.5,.5,6,6),"shape=mxgraph.ios7.icons.looking_glass;strokeColor=#878789;fillColor=none;fontColor=#878789;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;fontSize=6;fontStyle=0;spacingTop=2;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-17,-3);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Search Box")}),this.addDataEntry(b+"status",164,25,"Status", +this.addEntry(b+"labels",function(){var b=new mxCell("",new mxGeometry(0,0,164,20),"shape=rect;fillColor=#F6F6F8;strokeColor=none;");b.vertex=!0;var d=new mxCell("Label",new mxGeometry(55,0,54,20),"text;fontSize=10;verticalAlign=middle;align=center;spacingTop=2;");d.vertex=!0;b.insert(d);d=new mxCell("Label",new mxGeometry(109,0,55,20),"text;fontColor=#0080f0;fontSize=10;verticalAlign=middle;align=right;spacingTop=2;spacingRight=4;");d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b], +b.geometry.width,b.geometry.height,"Labels")}),this.addEntry(b+"search box",function(){var b=new mxCell("",new mxGeometry(0,0,164,20),"shape=rect;fillColor=#e0e0e0;strokeColor=none;");b.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,164,20),"html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.marginRect;rx=3;ry=3;rectMargin=5;strokeColor=none;");d.vertex=!0;b.insert(d);d=new mxCell("Search",new mxGeometry(.5,.5,6,6),"shape=mxgraph.ios7.icons.looking_glass;strokeColor=#e0e0e0;fillColor=none;fontColor=#e0e0e0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;fontSize=6;fontStyle=0;spacingTop=2;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(-17,-3);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Search Box")}),this.addEntry(b+"search box",function(){var b=new mxCell("",new mxGeometry(0,0,164,20),"shape=rect;fillColor=#F6F6F6;strokeColor=none;");b.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,164,20),"html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.marginRect;rx=3;ry=3;rectMargin=5;fillColor=#E4E4E4;strokeColor=none;"); +d.vertex=!0;b.insert(d);d=new mxCell("Search",new mxGeometry(.5,.5,6,6),"shape=mxgraph.ios7.icons.looking_glass;strokeColor=#878789;fillColor=none;fontColor=#878789;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;fontSize=6;fontStyle=0;spacingTop=2;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-17,-3);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Search Box")}),this.addDataEntry(b+"status",164,25,"Status", "vZRtb4MgEMc/jS9rnNZ2b1e7NlmyZcnWD8D0VDLkDNDW7tMPhD5qM7cm0xi5/3HA/eDwoqRqloLU5TNmwLzo0YsSgahsq2oSYMwLA5p50dwLw0B/Xri44r1rvUFNBHA1JCC0ARvC1mAVK0i1Y06QJalNU0Cqh5zllLEEGYrWGy0m5tW6VAI/Ye/hyHXMzI0OQkFzdYWt5Ja3BKxAiZ3usqWZKl2PydiGlUCL0oWFsdWItHZxCD3mqxsu5f70o076qzojCjItPq2l0r8X3HaQ6GxaFMjVCYqgfZz+Rr9M51ibJn2aEvbAaMG1prDWKnFWqjmAMABrklJevBvvfBQOpRf+kV5wO71xh54xV1wAyQYy+2ifn5lVNMvMSF1st0DaWa87SP+BLB5eb1VTmGvBpyinPk2RSz/FqkYJnWprD999kAcX9fmbKryC6DzAAQv8HmRxl9heE8CIohs4G6sPo5v/FSlXx8lHe/Ju+tHUv6h9zHMJqrMRhzz69kabx3vWdj+9hr8B"), this.addDataEntry(b+"message",164,20,"Message","xVbbbqMwEP0aHouICUnzSnp52UirdqU+WzDB1toY2W6b9OvX4IGWW5ZVuyoWkn3GM545x4MI4r083WtasYPKQQTxbRDvtVLWz+RpD0IEJOJ5EN8EhETuDcjdjHXVWKOKaijtEgfiHV6oeAaPeMDYs0DAMFrVUw2ZC5keuRB7JZRurPHdth4ON1ar39BaSlU6nxSjg7Zwms2wgTC9e1ASrD67La88twx3bNbejQEvGLphZRE1fl10ru/1ugmWPF1+PCqfH8AYWsCIBmali3Kz6kp9wvwahNFcvbpF5BY5NQxyXLTsyVNRixxyZbbPPJRUF7x88JTqmpu4npzbiTMcmi0/4FjXS5Ie+oA0DOBfqhoFSJW1SiI8FC+tx0g8Z0mbUXuo0k7hVPCidJho8ktNRTNeFm22O/R85G918ddLrwL5vquwXtAJY92HvHXtMGB60zwz9yHkmSpNmFEJmn6SqjN2fZh4l4/UJWPmdh7SIKjlL9A7bYpNPPCn4i4PEmF6GBjPvlq3h7cR1PFowI7U6NJeJFCyVKDBN+hvSrhTeGUWf61meO87XFJh4v622CdluFrt+kJs/4MMm3+VYa4rUJ4LDSF5plXFcN+o+RbJlVyUqxPogmBTekVfoxfpy/UFXeOW7z8PfvvHf4s/"), this.addDataEntry(b+"action sheet",164,115,"Action Sheet","7VZNc4IwEP01HOuERNSzUL3UmU576DlKgEwDYUL86q/vQoKi2Err0F7UcWb3ZXez2ffMxCF+upsrmicLGTLhkEeH+EpKbax05zMhHIx46JDAwRjBz8GzL1bdahXlVLFMd0nAJmFDxZoZxACF3gsLFAnNS1OxFZScqlf+UboE7EIr+c58KaQCJJMZLEwjLkQNOZgEOCCBB3isaMihrbNwKB/KLfgIHNsNU5rtvjxRBdnjzJlMmVZ7CNnyUCc2YjQ0aQnjcVKnuZ4BaWGA+JB7HBAYdkaX50Va83qiS6DtfGiJTqFE4B6G9Ga7c8+PHNIiYaF16lmnu7iUxIDLYrzmAy3z6VprmX07/+awI5lpGzhpczJzy68Na+AITdCs7EOxApKbPXdiBl9nxrvAjNUoUkxQzTfspP4ltuwWz5LDzhjZhiy9+xOvTpdRVDDdovrQZSf2hx3ZP/vLtMRwZ+wSY71Q5t0p65GyYR+Ujf7ljl1KuGDT+zX7QwWM+lDAuKUAn2ar3iWQUhXz7MW+c8rjlhyXTRsDFhZViAV+q4uo+vyZLvYnCdeeSeRGldjdHuo6twgD3ONT2IQ3X8qf"), @@ -6170,20 +6167,20 @@ this.addDataEntry(b+"cell list",164,120,"Cell List","7ZlNb6MwEIZ/DcdGtgmEHBtSeul this.addDataEntry(b+"cell list",164,60,"Cell List","7Vddb4IwFP01PGr4dnucuvniErMt2XMnBZoVStpOZb9+F1pRQCPqfJImJL3nfrXn9D5gOJNkM+Moi19ZgKnhPBvOhDMm1S7ZTDClhm2SwHCmhm2b8Bn2yxGvVXrNDHGcyi4JtkpYIfqDFaIAIXOqARGjrNhyvISSYyE5+8YTRhkHMGUp+MYhoXQLGbYTlgvwiKOAwFEa4VAyYGuwTTD0CTCXeHP0FiWkrzDDLMGS5xCyJoGMdYTvqrQYkyjWab66vYmEsqMqdccJbDQthylyWhTN0RcodRFPLJXv5LcIs0xt7/FmlgtwjgVEferbWYAgSqIU9hSHZfUMLUkafbAMMHsHzEv31OvKq30Zr/pVmRxTJMkK1+pfQ7Z7JtnJJipmZ0iYGA0TIpZDrk7Z4B/I9csFHlpUXDBBJGF7lBZMkSWi84Y7IUFQtK0k2HbYJjxpvApsqqy1edP8uW3hH8vVVTTnsGj1hFyP/9BT9p6kXltQ61xBdfsFI3CqqvfA8mrdB169AgtDgWXrQVSX6PRGvH4grx/Ihn55vcy/6uX3M31ad+++Z3rUz/StZtq9xUw/9DN9WvfRXc00mLv/FhW+/1vzBw=="), this.addDataEntry(b+"message",164,35,"Message","1VbbbqMwEP0aHhdxyaX72KSbaKWuFO3uSx+98QBuDYNsp0n263cMJikQWqQ2K9URhDme8WXO8YAXL/PDWrEy+4EcpBd/8+KlQjT1U35YgpReFAjuxXdeFAV0edFqoDeseoOSKSjMmICoDnhmcgc1UgPaHKUDdMZK+6hgS0MutFH4BEuUqAgssKC+RSKkbCAvipOqEZ4qxgUtpeNOQ3Lckx2Q4VYAysBhcBcV5LawBszBqCO57AU3mfOYTeqwDESaubB4WmNM13Z6Cj3nhB5cWi6nKO6laAMGFEFr2jXowYTRMKLUMDJnQTBfrW4sjoX5Jf7aERqz5WYb4UyKtCBMQlLRUrKtKNLfWBIWnoH7qvuOkreQ7A/IDWphBNpIVedpYVMvtkzed/pzwbnd08nh1k156hhFXfQ2dUGfuQZTIJkRz9Aa/hKdboYNCpo4Ctx6HP/HltWEY5JoMD0tnBY5Sh6TnjzsYm4n00Fd5IfUnndfoJ77udBbv2GirRNie1a1C9w51t+krlFJl+selR3VOfX8dIRM+kL8WrV3iqAd8EIS06sp4kt4fU1Me5r4TubjTtt1pGjvjK4C9nRPFFVIPqgWyupg2e3UgDHkznulIZy/UmVaZSX6wCN/qVq/l2HHaHgNSmc9Sh9wR8BTgZZEy++eFQa445Zj6tPfA2h6V3B2dD5n8stdWVrU9/3/xf1sFPc3gf19Uu4/4jiTef4Aq91ffp/9Aw=="), this.addDataEntry(b+"message",164,100,"Message","7Zbfb9sgEMf/Gj8uwjg/2sckTdqHVZqaSntm5myzYmMBbpL99TsM+VUnm9el0h6GFAu+3AF393FwlMzLzb1mdfGoOMgoWUTJXCtlfa/czEHKiBLBo+QuopTgL6LLC7NxO0tqpqGyfRyod3hlsgGveMHYrQyCKVjtuhpSXHJmrFYvMFdSaRQrVeHcLBNS7qSIJlnbUM814wKP8sYcl+RqjWOCg3AC0BY2F6NopRDCPagSrN6iyVpwWwSL8dC7FSDyYudGfPiEGS/ke99DUrAT8nI+R0knRytmG82ZO0GMIUxjNz99vJg6jMyljkmRVzhMMSzAdMxc0CJlchomSsG5bPOpKrsSP5zvKAyP0nvbtj612OW7Zqmo8mdVo5agoMHg6l9D9uK+VaDvrYLXNEhmxSucrH+uMmGLL0rgzgcTlWUGbKd0+5P0quawU80HcEGUrIooepNctXu6SkIaJctOVQtbypA1X4DjPJ6gzZkpgIfBDoZyk7vXfSCUmTRigOWXqun7Zi0mi/FifsSShMz2JGlyIOFz63UXT7pwkba9hQZrMlsXwsIKVbfYGmP4SJBuSZcj+pcchfOMvMM2uI9O/a8C2agLmcDxsyg9YyrDR6oabcAL3xvjTpi7qJBFCASiSS1bRVSNBYM9q/CRiUqYAjvfNLCXjBk7+KcwJeMbslw6XYr6Iez5G2StA+3XvNIurvur5gTXT5d4DVZPAaqYXp3h4EAGSYDg+N+RnKF6Z/deqgPHQ/IBHI87HD8B46gstWjvv34XnvbR/r/v/qiiN1eoKA4PH5Pe/Phb8yc="), -this.addEntry(b+"alert",function(){var b=new mxCell("A dialog text that notifies you of something of which you don't need to make a decision, just to acknowledge it by pressing the close button.",new mxGeometry(0,0,120,70),"shape=rect;rounded=1;strokeColor=none;fillColor=#F6F6F8;gradientColor=none;shadow=0;glass=0;dashed=1;fontFamily=Helvetica;fontSize=7;fontColor=#333333;align=center;html=0;verticalAlign=top;whiteSpace=wrap;spacing=8;spacingTop=0;");b.vertex=!0;var c=new mxCell("Close",new mxGeometry(0, -1,120,20),"shape=text;align=center;verticalAlign=middle;fontSize=8;fontColor=#0680FF;strokeColor=none;fillColor=none;spacingTop=3;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-20);c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Alert")}),this.addDataEntry(b+"dialog",120,70,"Dialog","5ZZNb9pAEIZ/jY+JjN0SroHW6aVSpVTqeeUde0dZ71rr4cP99Z3FAwFiNyhtDlVB4J3vwc+L5CRfNbuHoFrz1WuwSf45yVfBexpOzW4F1iZZijrJPyVZlvInyYqJ6GwfTVsVwNE1BdlQsFF2DYPnnk2NyvqaD4RkYUjpqLeS0hnVxmOAkocsg187DbHhjK2Ogn+Clbc+sMd5x5nLCq09uJIsL+b8XrC/Dkojr3qRzgO037Kdxhyruk7OWnXmOKnyjgrVoO3Z8QXsBghLJYFH/BlXXIh5Mnx4sV9ZrB37Sl4AOLg01FgZtIEQm9l7ySHfsndrkOCxVWVsvWVocVc20dUyS6zvMX3fSO4vt4PdJKO9SwA9gG+AQs8pW9RkJEM4pgawNlJ2Jz7VDXZ9LH0mzgeBPi6A/BUBwI7ixah4cZ6wQuj42Ps1f/sqKiNONfEe8CpOH4MOIBrkY0MoUUP8TQZLExNLQu8OYVJPcDups/0SI7wuITWotYVzAdz9RgCvSvUgx1OoNxFzgI7b/xA+swlpXMU+exv7XHwBrCLcwFn/MUHIiG8eXUTZy/QLCfmq6oBeCOi42FWa+vBSUwfas3eBPPIvT+eLtCjeCjkfZfwnPPuzghO68xG42d+Be/MudD9O083+V7pSkN7KzflnabP5/PAxpJ8+m/wC"), -this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.bluetooth;fillColor=#007AFF;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",15,15,"","Bluetooth",null,null,this.getTagsForStencil(c,"bluetooth",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.broadcast;fillColor=#4CDA64;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;", -15,15,"","Broadcast",null,null,this.getTagsForStencil(c,"broadcast",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.link;fillColor=#4CDA64;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",15,15,"","Link",null,null,this.getTagsForStencil(c,"link",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.night;fillColor=#5855D6;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;", -15,15,"","Night",null,null,this.getTagsForStencil(c,"night",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.notification;fillColor=#FF3B2F;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",15,15,"","Notification",null,null,this.getTagsForStencil(c,"notification",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.settings;fillColor=#8F8E94;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;", -15,15,"","Settings",null,null,this.getTagsForStencil(c,"settings",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.switch;fillColor=#8F8E94;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",15,15,"","Switch",null,null,this.getTagsForStencil(c,"switch",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.text_size;fillColor=#007AFF;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;", -15,15,"","Text Size",null,null,this.getTagsForStencil(c,"text size",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.travel;fillColor=#FF9501;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",15,15,"","Travel",null,null,this.getTagsForStencil(c,"travel",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.vpn;fillColor=#007AFF;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;", -15,15,"","VPN",null,null,this.getTagsForStencil(c,"vpn virtual private network",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.wifi;fillColor=#007AFF;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",15,15,"","WiFi",null,null,this.getTagsForStencil(c,"wifi",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.url;fillColor=#e0e0e0;strokeColor=#c0c0c0;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;spacingTop=2;align=center;", -165,12.5,"draw.io","URL",null,null,this.getTagsForStencil(c,"url",b+"url").join(" ")),this.createVertexTemplateEntry(e+"iconGrid;fillColor=#c0c0c0;gridSize=3,3;",175,280,"","Icon grid",null,null,this.getTagsForStencil(c,"iconGrid",b+"icon grid").join(" ")),this.addEntry(b+"action dialog",function(){var b=new mxCell("",new mxGeometry(0,0,164,60),"shape=rect;fillColor=#a0a0a0;strokeColor=none;shadow=0;");b.vertex=!0;var c=new mxCell("Action",new mxGeometry(8,6,148,21),"html=1;strokeWidth=1;shadow=0;dashed=0;rounded=1;absoluteArcSize=1;arcSize=6;fontColor=#0080F0;fontSize=7;fontSize=14;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;"); -c.vertex=!0;b.insert(c);c=new mxCell("Cancel",new mxGeometry(8,33,148,21),"html=1;strokeWidth=1;shadow=0;dashed=0;rounded=1;absoluteArcSize=1;arcSize=6;fontColor=#0080F0;fontSize=7;fontSize=14;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;");c.vertex=!0;b.insert(c);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Action Dialog")}),this.createVertexTemplateEntry(d+"iKeybLett;",174,100,"","iPhone Keyboard (letters)",null,null,this.getTagsForStencil("mxgraph.ios7.misc", -"keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(d+"iKeybNumb;",174,100,"","iPhone Keyboard (numbers)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(d+"iKeybSymb;",174,100,"","iPhone Keyboard (symbols)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard symbols",b+"").join(" ")),this.createVertexTemplateEntry(d+"iKeybLett;",332,144,"","iPad 7''Keyboard (letters)",null,null,this.getTagsForStencil("mxgraph.ios7.misc", -"keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(d+"iKeybNumb;",332,144,"","iPad 7'' Keyboard (numbers)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(d+"iKeybSymb;",332,144,"","iPad 7'' Keyboard (symbols)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard symbols",b+"").join(" ")),this.createVertexTemplateEntry(d+"iKeybLett;",442,192,"","iPad 10''Keyboard (letters)",null,null,this.getTagsForStencil("mxgraph.ios7.misc", -"keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(d+"iKeybNumb;",442,192,"","iPad 10'' Keyboard (numbers)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(d+"iKeybSymb;",442,192,"","iPad 10'' Keyboard (symbols)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard symbols",b+"").join(" ")),this.createVertexTemplateEntry(d+"iKeybLett;",200*2.53,400*.55,"","iPad 13''Keyboard (letters)",null,null,this.getTagsForStencil("mxgraph.ios7.misc", -"keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(d+"iKeybNumb;",200*2.53,400*.55,"","iPad 13'' Keyboard (numbers)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(d+"iKeybSymb;",200*2.53,400*.55,"","iPad 13'' Keyboard (symbols)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard symbols",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.call_pad;", +this.addEntry(b+"alert",function(){var b=new mxCell("A dialog text that notifies you of something of which you don't need to make a decision, just to acknowledge it by pressing the close button.",new mxGeometry(0,0,120,70),"shape=rect;rounded=1;strokeColor=none;fillColor=#F6F6F8;gradientColor=none;shadow=0;glass=0;dashed=1;fontFamily=Helvetica;fontSize=7;fontColor=#333333;align=center;html=0;verticalAlign=top;whiteSpace=wrap;spacing=8;spacingTop=0;");b.vertex=!0;var d=new mxCell("Close",new mxGeometry(0, +1,120,20),"shape=text;align=center;verticalAlign=middle;fontSize=8;fontColor=#0680FF;strokeColor=none;fillColor=none;spacingTop=3;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,-20);d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Alert")}),this.addDataEntry(b+"dialog",120,70,"Dialog","5ZZNb9pAEIZ/jY+JjN0SroHW6aVSpVTqeeUde0dZ71rr4cP99Z3FAwFiNyhtDlVB4J3vwc+L5CRfNbuHoFrz1WuwSf45yVfBexpOzW4F1iZZijrJPyVZlvInyYqJ6GwfTVsVwNE1BdlQsFF2DYPnnk2NyvqaD4RkYUjpqLeS0hnVxmOAkocsg187DbHhjK2Ogn+Clbc+sMd5x5nLCq09uJIsL+b8XrC/Dkojr3qRzgO037Kdxhyruk7OWnXmOKnyjgrVoO3Z8QXsBghLJYFH/BlXXIh5Mnx4sV9ZrB37Sl4AOLg01FgZtIEQm9l7ySHfsndrkOCxVWVsvWVocVc20dUyS6zvMX3fSO4vt4PdJKO9SwA9gG+AQs8pW9RkJEM4pgawNlJ2Jz7VDXZ9LH0mzgeBPi6A/BUBwI7ixah4cZ6wQuj42Ps1f/sqKiNONfEe8CpOH4MOIBrkY0MoUUP8TQZLExNLQu8OYVJPcDups/0SI7wuITWotYVzAdz9RgCvSvUgx1OoNxFzgI7b/xA+swlpXMU+exv7XHwBrCLcwFn/MUHIiG8eXUTZy/QLCfmq6oBeCOi42FWa+vBSUwfas3eBPPIvT+eLtCjeCjkfZfwnPPuzghO68xG42d+Be/MudD9O083+V7pSkN7KzflnabP5/PAxpJ8+m/wC"), +this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.bluetooth;fillColor=#007AFF;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",15,15,"","Bluetooth",null,null,this.getTagsForStencil(d,"bluetooth",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.broadcast;fillColor=#4CDA64;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;", +15,15,"","Broadcast",null,null,this.getTagsForStencil(d,"broadcast",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.link;fillColor=#4CDA64;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",15,15,"","Link",null,null,this.getTagsForStencil(d,"link",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.night;fillColor=#5855D6;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;", +15,15,"","Night",null,null,this.getTagsForStencil(d,"night",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.notification;fillColor=#FF3B2F;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",15,15,"","Notification",null,null,this.getTagsForStencil(d,"notification",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.settings;fillColor=#8F8E94;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;", +15,15,"","Settings",null,null,this.getTagsForStencil(d,"settings",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.switch;fillColor=#8F8E94;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",15,15,"","Switch",null,null,this.getTagsForStencil(d,"switch",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.text_size;fillColor=#007AFF;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;", +15,15,"","Text Size",null,null,this.getTagsForStencil(d,"text size",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.travel;fillColor=#FF9501;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",15,15,"","Travel",null,null,this.getTagsForStencil(d,"travel",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.vpn;fillColor=#007AFF;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;", +15,15,"","VPN",null,null,this.getTagsForStencil(d,"vpn virtual private network",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7.misc.wifi;fillColor=#007AFF;strokeColor=none;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;verticalLabelPosition=bottom;verticalAlign=top;align=center;",15,15,"","WiFi",null,null,this.getTagsForStencil(d,"wifi",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.url;fillColor=#e0e0e0;strokeColor=#c0c0c0;buttonText=;strokeColor2=#222222;fontColor=#222222;fontSize=8;spacingTop=2;align=center;", +165,12.5,"draw.io","URL",null,null,this.getTagsForStencil(d,"url",b+"url").join(" ")),this.createVertexTemplateEntry(e+"iconGrid;fillColor=#c0c0c0;gridSize=3,3;",175,280,"","Icon grid",null,null,this.getTagsForStencil(d,"iconGrid",b+"icon grid").join(" ")),this.addEntry(b+"action dialog",function(){var b=new mxCell("",new mxGeometry(0,0,164,60),"shape=rect;fillColor=#a0a0a0;strokeColor=none;shadow=0;");b.vertex=!0;var d=new mxCell("Action",new mxGeometry(8,6,148,21),"html=1;strokeWidth=1;shadow=0;dashed=0;rounded=1;absoluteArcSize=1;arcSize=6;fontColor=#0080F0;fontSize=7;fontSize=14;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;"); +d.vertex=!0;b.insert(d);d=new mxCell("Cancel",new mxGeometry(8,33,148,21),"html=1;strokeWidth=1;shadow=0;dashed=0;rounded=1;absoluteArcSize=1;arcSize=6;fontColor=#0080F0;fontSize=7;fontSize=14;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;");d.vertex=!0;b.insert(d);return a.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Action Dialog")}),this.createVertexTemplateEntry(c+"iKeybLett;",174,100,"","iPhone Keyboard (letters)",null,null,this.getTagsForStencil("mxgraph.ios7.misc", +"keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(c+"iKeybNumb;",174,100,"","iPhone Keyboard (numbers)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(c+"iKeybSymb;",174,100,"","iPhone Keyboard (symbols)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard symbols",b+"").join(" ")),this.createVertexTemplateEntry(c+"iKeybLett;",332,144,"","iPad 7''Keyboard (letters)",null,null,this.getTagsForStencil("mxgraph.ios7.misc", +"keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(c+"iKeybNumb;",332,144,"","iPad 7'' Keyboard (numbers)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(c+"iKeybSymb;",332,144,"","iPad 7'' Keyboard (symbols)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard symbols",b+"").join(" ")),this.createVertexTemplateEntry(c+"iKeybLett;",442,192,"","iPad 10''Keyboard (letters)",null,null,this.getTagsForStencil("mxgraph.ios7.misc", +"keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(c+"iKeybNumb;",442,192,"","iPad 10'' Keyboard (numbers)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(c+"iKeybSymb;",442,192,"","iPad 10'' Keyboard (symbols)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard symbols",b+"").join(" ")),this.createVertexTemplateEntry(c+"iKeybLett;",200*2.53,400*.55,"","iPad 13''Keyboard (letters)",null,null,this.getTagsForStencil("mxgraph.ios7.misc", +"keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(c+"iKeybNumb;",200*2.53,400*.55,"","iPad 13'' Keyboard (numbers)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard letters",b+"").join(" ")),this.createVertexTemplateEntry(c+"iKeybSymb;",200*2.53,400*.55,"","iPad 13'' Keyboard (symbols)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard symbols",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.call_pad;", 140,160,"","Call Pad",null,null,this.getTagsForStencil("mxgraph.ios7.misc","call_pad",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.number_pad;strokeWidth=1;",140,160,"","Number Pad",null,null,this.getTagsForStencil("mxgraph.ios7.misc","number_pad",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.keyboard_(letters);", 175,120,"","Keyboard",null,null,this.getTagsForStencil("mxgraph.ios7.misc","keyboard_(letters)",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.scroll_(horizontal);fillColor=#a0a0a0;",80,6,"","Scroll (Horizontal)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","scroll_(horizontal)",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.scroll_(vertical);fillColor=#a0a0a0;", 6,80,"","Scroll (Vertical)",null,null,this.getTagsForStencil("mxgraph.ios7.misc","scroll_(vertical)",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.add;fillColor=#00dd00;strokeColor=#ffffff;",12,12,"","Add",null,null,this.getTagsForStencil("mxgraph.ios7.misc","add",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.delete;fillColor=#ff0000;strokeColor=#ffffff;", @@ -6191,28 +6188,28 @@ c.vertex=!0;b.insert(c);c=new mxCell("Cancel",new mxGeometry(8,33,148,21),"html= 16,12,"","Remove",null,null,this.getTagsForStencil("mxgraph.ios7.misc","remove",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.check;strokeColor=#0080f0;",10,8,"","Check",null,null,this.getTagsForStencil("mxgraph.ios7.misc","check",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.flagged;strokeColor=#0080f0;", 12,12,"","Flagged",null,null,this.getTagsForStencil("mxgraph.ios7.misc","flagged",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.up;strokeColor=#0080f0;",12,6,"","Up",null,null,this.getTagsForStencil("mxgraph.ios7.misc","up",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.down;strokeColor=#0080f0;", 12,6,"","Down",null,null,this.getTagsForStencil("mxgraph.ios7.misc","down",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.left;strokeColor=#0080f0;",6,12,"","Left",null,null,this.getTagsForStencil("mxgraph.ios7.misc","left",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.right;strokeColor=#0080f0;", -6,12,"","Right",null,null,this.getTagsForStencil("mxgraph.ios7.misc","right",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.increase;fillColor=#ffffff;strokeColor=#0080f0;",12,12,"","Increase",null,null,this.getTagsForStencil("mxgraph.ios7.misc","increase",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.info;fillColor=#ffffff;strokeColor=#0080f0;", +6,12,"","Right",null,null,this.getTagsForStencil("mxgraph.ios7.misc","right",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.increase;strokeColor=#0080f0;",12,12,"","Increase",null,null,this.getTagsForStencil("mxgraph.ios7.misc","increase",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.info;strokeColor=#0080f0;", 12,12,"","Info",null,null,this.getTagsForStencil("mxgraph.ios7.misc","info",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.more_2;strokeColor=#a0a0a0;",6,8,"","More 2",null,null,this.getTagsForStencil("mxgraph.ios7.misc","more_2",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.more;strokeColor=#a0a0a0;", -5,8,"","More",null,null,this.getTagsForStencil("mxgraph.ios7.misc","more",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.options;fillColor=#222222;",12,6,"","Options",null,null,this.getTagsForStencil("mxgraph.ios7.misc","options",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.pause;fillColor=#ffffff;strokeColor=#0080f0;", +5,8,"","More",null,null,this.getTagsForStencil("mxgraph.ios7.misc","more",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.options;fillColor=#222222;",12,6,"","Options",null,null,this.getTagsForStencil("mxgraph.ios7.misc","options",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.pause;strokeColor=#0080f0;", 12,12,"","Pause",null,null,this.getTagsForStencil("mxgraph.ios7.misc","pause",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.star;fillColor=#0080f0;strokeColor=none;",12,12,"","Star",null,null,this.getTagsForStencil("mxgraph.ios7.misc","star",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.contacts_bar;strokeColor=#0080F0;fillColor=#e0e0e0", 175,400*.07,"","Contacts Bar",null,null,this.getTagsForStencil("mxgraph.ios7.misc","contacts_bar",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.edit_bar;strokeColor=#0080F0;fillColor=#e0e0e0",175,400*.07,"","Edit Bar",null,null,this.getTagsForStencil("mxgraph.ios7.misc","edit_bar",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.message_bar;strokeColor=#0080F0;fillColor=#e0e0e0", 175,400*.07,"","Message Bar",null,null,this.getTagsForStencil("mxgraph.ios7.misc","message_bar",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.misc_bar;strokeColor=#0080F0;fillColor=#e0e0e0",175,400*.07,"","Misc Bar",null,null,this.getTagsForStencil("mxgraph.ios7.misc","misc_bar",b+"").join(" ")),this.createVertexTemplateEntry(e+"onOffButton;buttonState=on;strokeColor=#38D145;strokeColor2=#aaaaaa;fillColor=#38D145;fillColor2=#ffffff;", -43.5,15,"","On-off button (On)",null,null,this.getTagsForStencil(c,"onOffButton",b+"").join(" ")),this.createVertexTemplateEntry(e+"onOffButton;buttonState=off;strokeColor=#38D145;strokeColor2=#aaaaaa;fillColor=#38D145;fillColor2=#ffffff;",43.5,15,"","On-off button (Off)",null,null,this.getTagsForStencil(c,"onOffButton",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.icon;fontSize=8;fontColor=#ffffff;buttonText=;whiteSpace=wrap;align=center;", -40,36,"Icon","Icon",null,null,this.getTagsForStencil(c,"icon",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.loading_circle;",40,40,"","Loading Circle",null,null,this.getTagsForStencil("mxgraph.ios7.misc","loading_circle",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.circle;strokeColor=#222222;fillColor=none;", -12,12,"","Circle",null,null,this.getTagsForStencil("mxgraph.ios7.misc","circle",b+"").join(" ")),this.createVertexTemplateEntry(e+"pageControl;fillColor=#222222;strokeColor=#aaaaaa;",50,5,"","Page control",null,null,this.getTagsForStencil(c,"pageControl",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.current_location;strokeColor=#ffffff;fillColor=#0080F0",60, +43.5,15,"","On-off button (On)",null,null,this.getTagsForStencil(d,"onOffButton",b+"").join(" ")),this.createVertexTemplateEntry(e+"onOffButton;buttonState=off;strokeColor=#38D145;strokeColor2=#aaaaaa;fillColor=#38D145;fillColor2=#ffffff;",43.5,15,"","On-off button (Off)",null,null,this.getTagsForStencil(d,"onOffButton",b+"").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=1;shadow=0;dashed=0;shape=mxgraph.ios7ui.icon;fontSize=8;fontColor=#ffffff;buttonText=;whiteSpace=wrap;align=center;", +40,36,"Icon","Icon",null,null,this.getTagsForStencil(d,"icon",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.loading_circle;",40,40,"","Loading Circle",null,null,this.getTagsForStencil("mxgraph.ios7.misc","loading_circle",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.circle;strokeColor=#222222;fillColor=none;", +12,12,"","Circle",null,null,this.getTagsForStencil("mxgraph.ios7.misc","circle",b+"").join(" ")),this.createVertexTemplateEntry(e+"pageControl;fillColor=#222222;strokeColor=#aaaaaa;",50,5,"","Page control",null,null,this.getTagsForStencil(d,"pageControl",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.current_location;strokeColor=#ffffff;fillColor=#0080F0",60, 60,"","Current Location",null,null,this.getTagsForStencil("mxgraph.ios7.misc","current_location",b+"").join(" ")),this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=2;shape=mxgraph.ios7.misc.expand;fillColor=#c0c0c0;",24,6,"","Expand",null,null,this.getTagsForStencil("mxgraph.ios7.misc","expand",b+"").join(" ")),this.addDataEntry(b+"volume control",160,14,"Volume Control","vVVdb8IgFP01fbTBVqvPuunTEpM97HFhchUyWhqgWvfrd1to/WjdjHEjacI9cLmcc4AG8Twtl5rm/EUxkEH8HMRzrZR1vbScg5RBRAQL4qcgigh+QbS4MjqsR0lONWT2loTIJeyoLMAhDjD2ID1gOM2rroY1LjkzVqtPmCupNIKZynBsthFSXkB+YdAWyqubqyG/syWoFKw+4JS9YJb7GYkjQDiILW/SRg6jxsXbNvVIFTuebT/z+HbmabmtDAqFMpMwFWYd7pQsUnhnap9dsA+iOKnbNalu0iXq1+XgLQ3HLuVEp6Sr0tRBGiS1YgdnxfqU8/VWSuA22mKDC63VZmPAdpRud3mT+KMHiF/k/yn9ecIPRjRns++83muFLz5o1mmsmfyBNePfreE2xeynYavzm6dfI5zitcCAYMCo4cB80OdoIUIjBQN0afZB9UpVVBLScRC9JcmULJDXTOV0LWylwZCQ7hlY1A1xTjMm4VV8VUVRusccgGnX8WHP5bvjicLw+PA7507/C98="), this.addDataEntry(b+"picker",175,160,"Picker","7ZZta8IwEMc/Td5Km9i6vV3dZLDBYC/2OqxXE5Y2kkSt+/S7mtQHtEx8gg0Vofe/u9z1/6tQwrKyHhk+Ea86B0XYI2GZ0dr5q7LOQClCI5kTNiSURvgj9KkjGy+z0YQbqNwhDdQ3zLiagle8YN1CBUG4EtcaxoQ9WGf0F3zI3IlWETzXcwwiDHJuBeQhwMykOaGsx83d9aS2g6ns8epTaIP5MBiMg7pz+aUUNh+BLsGZBZbMwwZNxSDxbQLkWLRtqb/riFsvjFe9ay/wItix3xq2Y82zgxKV+FoWFbpy7/K7KYmTEGdaNTmcynjUfFE3YLFqc+ZB5tLjzGXhETGguJMz2Dr/FMP7XYZf7Zn8J4aHEW9a4mQaLbaPaTt0UVhwO4BWix3ELOlixi7MDIG9yArs79To8rOauo9nIZVq9UpXsLMi/avQ0/4FoKdd0Pu3P+oZmN2nF2A26GKW3JidgVlM706HhuH6zc+Xb74Y/gA=")]; -this.addPalette("ios7ui","iOS UI",!1,mxUtils.bind(this,function(a){for(var b=0;b<f.length;b++)a.appendChild(f[b](a))}))}})();(function(){Sidebar.prototype.addLeanMappingPalette=function(){var a=mxConstants.STYLE_STROKEWIDTH+"=2;html=1;shape=mxgraph.lean_mapping.",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=2;shape=mxgraph.lean_mapping.",e=this,c=[this.createVertexTemplateEntry(b+"boat_shipment;align=center;",100,100,"","Boat Shipment",null,null,this.getTagsForStencil("mxgraph.lean_mapping","boat_shipment","value stream lean mapping ").join(" ")),this.addDataEntry("value stream lean mapping data box", +this.addPalette("ios7ui","iOS UI",!1,mxUtils.bind(this,function(a){for(var b=0;b<f.length;b++)a.appendChild(f[b](a))}))}})();(function(){Sidebar.prototype.addLeanMappingPalette=function(){var a=mxConstants.STYLE_STROKEWIDTH+"=2;html=1;shape=mxgraph.lean_mapping.",b=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=2;shape=mxgraph.lean_mapping.",e=this,d=[this.createVertexTemplateEntry(b+"boat_shipment;align=center;",100,100,"","Boat Shipment",null,null,this.getTagsForStencil("mxgraph.lean_mapping","boat_shipment","value stream lean mapping ").join(" ")),this.addDataEntry("value stream lean mapping data box", 60,100,"Data Box","1ZVfT8MgFMU/Da9LB7Pude10LxofNPFxuRZWiLQQirP10wstczbd4p9osz00uT2XA/f8HgCRtKhXBjS/VZRJRK4QSY1StquKOmVSIhwJisgSYRy5D+HrI91p2400GFba7xhwZ9iCfGGd0gmVbWQQKmvUM3sU1HInYEQSbgs36HLqyoqD9uuKOvcZJpJBuS5Aa1HmEwoW1k+q7lvCicxYVh+dupXCyCumCmZN45a8hilcN+6CRZyJnO9cURCh6oT8w7pn4IqA4TASMkDiLQ87Op/RuATu5GSjSnsv3rw490w0ZC7+DdvYAMyHFRnIhRR56WkJSv0eP8aCf4UF/wGV2UEqd6dMpemnHwHSxQBSAjbjZwBpNh6keABpsQUhzwBSPB6ky6/v5RODM/83OO53/yC2vd57+Q4="),this.createVertexTemplateEntry(a+"outside_sources;whiteSpace=wrap;align=center;", 100,70,'<table cellpadding="5" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr><td height="50%"></td></tr><tr><td align="center" height="50%">XYZ Corp</td></tr></table>',"Customer/Supplier",null,null,this.getTagsForStencil("mxgraph.lean_mapping","outside_sources","value stream lean mapping ").join(" ")),this.addEntry("value stream lean mapping dedicated process manufacturing",function(){var b=new mxCell("\nDescription",new mxGeometry(0,0,100,70),a+"manufacturing_process;fontSize=12;verticalAlign=middle;html=1;align=center;whiteSpace=wrap;"); -b.vertex=!0;var c=new mxCell("Process",new mxGeometry(0,0,100,13),"text;fontSize=12;spacingLeft=2;verticalAlign=top;html=1;align=center;spacingTop=-5;resizeWidth=1;");c.vertex=!0;b.insert(c);return e.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dedicated Process")}),this.createVertexTemplateEntry(a+"manufacturing_process_shared;spacingTop=-5;align=center;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;",100,70,"Process","Shared Process",null,null,this.getTagsForStencil("mxgraph.lean_mapping", +b.vertex=!0;var d=new mxCell("Process",new mxGeometry(0,0,100,13),"text;fontSize=12;spacingLeft=2;verticalAlign=top;html=1;align=center;spacingTop=-5;resizeWidth=1;");d.vertex=!0;b.insert(d);return e.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Dedicated Process")}),this.createVertexTemplateEntry(a+"manufacturing_process_shared;spacingTop=-5;align=center;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;",100,70,"Process","Shared Process",null,null,this.getTagsForStencil("mxgraph.lean_mapping", "manufacturing_process_shared","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"work_cell;pointerEvents=1;",70,60,"","Workcell",null,null,this.getTagsForStencil("mxgraph.lean_mapping","work_cell","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"inventory_box;",100,90,"","Inventory Box",null,null,this.getTagsForStencil("mxgraph.lean_mapping","inventory_box","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"push_arrow;",100, 30,"","Push Arrow",null,null,this.getTagsForStencil("mxgraph.lean_mapping","push_arrow","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"supermarket;",60,100,"","Supermarket",null,null,this.getTagsForStencil("mxgraph.lean_mapping","supermarket","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"physical_pull;pointerEvents=1;",100,100,"","Material Pull",null,null,this.getTagsForStencil("mxgraph.lean_mapping","physical_pull","value stream lean mapping ").join(" ")), this.createVertexTemplateEntry(a+"fifo_lane;overflow=fill;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;align=center;",100,50,'<table cellpadding="0" cellspacing="0" style="font-size:1em;width:100%;height:100%;"><tr><td height="0%">MAX=XX</td></tr><tr><td align="center" height="100%"></td></tr></table>',"FIFO Lane",null,null,this.getTagsForStencil("mxgraph.lean_mapping","fifo_lane","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"buffer_or_safety_stock;",40,100,"","Safety Stock", -null,null,this.getTagsForStencil("mxgraph.lean_mapping","buffer_or_safety_stock","value stream lean mapping ").join(" ")),this.addEntry(this.getTagsForStencil("mxgraph.lean_mapping","truck_shipment","value stream lean mapping ").join(" "),function(){var b=new mxCell("",new mxGeometry(0,0,100,100),a+"truck_shipment;");b.vertex=!0;var c=new mxCell("2x per\nWeek",new mxGeometry(0,0,60,80),"text;fontSize=12;verticalAlign=middle;html=1;align=center;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return e.createVertexTemplateFromCells([b], +null,null,this.getTagsForStencil("mxgraph.lean_mapping","buffer_or_safety_stock","value stream lean mapping ").join(" ")),this.addEntry(this.getTagsForStencil("mxgraph.lean_mapping","truck_shipment","value stream lean mapping ").join(" "),function(){var b=new mxCell("",new mxGeometry(0,0,100,100),a+"truck_shipment;");b.vertex=!0;var d=new mxCell("2x per\nWeek",new mxGeometry(0,0,60,80),"text;fontSize=12;verticalAlign=middle;html=1;align=center;whiteSpace=wrap;");d.vertex=!0;b.insert(d);return e.createVertexTemplateFromCells([b], b.geometry.width,b.geometry.height,"Truck Shipment")}),this.createVertexTemplateEntry(a+"schedule;whiteSpace=wrap;align=center;",100,70,"Production\nControl","Production Control",null,null,this.getTagsForStencil("mxgraph.lean_mapping","schedule","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"schedule;whiteSpace=wrap;align=center;",100,70,"Other\nInformation","Other Information",null,null,this.getTagsForStencil("mxgraph.lean_mapping","schedule","value stream lean mapping ").join(" ")), -this.createVertexTemplateEntry(b+"go_see_production_scheduling;pointerEvents=1;",92,60,"","Go See Production Scheduling",null,null,this.getTagsForStencil("mxgraph.lean_mapping","go_see_production_scheduling","value stream lean mapping ").join(" ")),this.addEntry(this.getTagsForStencil("mxgraph.lean_mapping","kaizen_lightening_burst","value stream lean mapping ").join(" "),function(){var a=new mxCell("",new mxGeometry(0,0,90,40),b+"kaizen_lightening_burst;");a.vertex=!0;var c=new mxCell("",new mxGeometry(8, -8,74,24),"rect;fillColor=#000000;strokeColor=none;");c.vertex=!0;a.insert(c);return e.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Kaizen Lightening Burst")}),this.createVertexTemplateEntry(b+"kanban_post;",50,100,"","Kanban Post",null,null,this.getTagsForStencil("mxgraph.lean_mapping","kanban_post","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"load_leveling;",100,30,"","Load Leveling",null,null,this.getTagsForStencil("mxgraph.lean_mapping","load_leveling", +this.createVertexTemplateEntry(b+"go_see_production_scheduling;pointerEvents=1;",92,60,"","Go See Production Scheduling",null,null,this.getTagsForStencil("mxgraph.lean_mapping","go_see_production_scheduling","value stream lean mapping ").join(" ")),this.addEntry(this.getTagsForStencil("mxgraph.lean_mapping","kaizen_lightening_burst","value stream lean mapping ").join(" "),function(){var a=new mxCell("",new mxGeometry(0,0,90,40),b+"kaizen_lightening_burst;");a.vertex=!0;var d=new mxCell("",new mxGeometry(8, +8,74,24),"rect;fillColor=#000000;strokeColor=none;");d.vertex=!0;a.insert(d);return e.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Kaizen Lightening Burst")}),this.createVertexTemplateEntry(b+"kanban_post;",50,100,"","Kanban Post",null,null,this.getTagsForStencil("mxgraph.lean_mapping","kanban_post","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"load_leveling;",100,30,"","Load Leveling",null,null,this.getTagsForStencil("mxgraph.lean_mapping","load_leveling", "value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"move_by_forklift;",92,100,"","Move by Forklift",null,null,this.getTagsForStencil("mxgraph.lean_mapping","move_by_forklift","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"mrp_erp;whiteSpace=wrap;",70,100,"","MRP/ERP",null,null,this.getTagsForStencil("mxgraph.lean_mapping","mrp_erp","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"operator;",100,84,"","Operator",null,null, this.getTagsForStencil("mxgraph.lean_mapping","operator","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"quality_problem;fontSize=24;fontStyle=1;whiteSpace=wrap;align=center;",80,100,"Q","Quality Problem",null,null,this.getTagsForStencil("mxgraph.lean_mapping","quality_problem","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"verbal;pointerEvents=1;",50,100,"","Verbal Information",null,null,this.getTagsForStencil("mxgraph.lean_mapping","verbal", "value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"fifo_sequence_flow;pointerEvents=1;fontStyle=0;fontSize=20;align=center;",100,50,"FIFO","FIFO Sequence",null,null,this.getTagsForStencil("mxgraph.lean_mapping","fifo_sequence_flow","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"production_kanban;overflow=fill;",100,100,'<p style="font-size:2em;margin-right:35px;margin-top:13px;text-align:right">P</p>',"Production Kanban",null,null,this.getTagsForStencil("mxgraph.lean_mapping", @@ -6222,115 +6219,112 @@ this.createVertexTemplateEntry(b+"airplane_7;",100,45,"","Air Freight",null,null null,this.getTagsForStencil("mxgraph.lean_mapping","timeline","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"crossDock;",100,80,"","Cross-Dock",null,null,this.getTagsForStencil("mxgraph.lean_mapping","crossDock","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(a+"orders;overflow=fill;",100,60,'<table cellpadding="0" cellspacing="0" style="font-size:1.5em;width:100%;height:100%;"><tr><td height="65%"></td></tr><tr><td align="center" height="35%">IN</td></tr></table>', "Orders",null,null,this.getTagsForStencil("mxgraph.lean_mapping","orders","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"batched_kanban;",200,80,"","Batched Kanban",null,null,this.getTagsForStencil("mxgraph.lean_mapping","batched_kanban","value stream lean mapping ").join(" ")),this.createVertexTemplateEntry(b+"control_center;",80,80,"","Control Center",null,null,this.getTagsForStencil("mxgraph.lean_mapping","control_center","value stream lean mapping ").join(" ")),this.createEdgeTemplateEntry("shape=flexArrow;html=1;", 100,100,"","Shipments",null,this.getTagsForStencil("mxgraph.lean_mapping","arrow","value stream lean mapping ").join(" ")),this.createEdgeTemplateEntry("shape=mxgraph.lean_mapping.manual_info_flow_edge;html=1;",100,100,"Daily","Manual Information",null,this.getTagsForStencil("mxgraph.lean_mapping","manual_info_flow_edge","value stream lean mapping ").join(" ")),this.createEdgeTemplateEntry("shape=mxgraph.lean_mapping.electronic_info_flow_edge;html=1;",100,100,"Monthly","Electronic Information",null, -this.getTagsForStencil("mxgraph.lean_mapping","electronic_info_flow_edge","value stream lean mapping ").join(" "))];this.addPalette("lean_mapping",mxResources.get("leanMapping"),!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))}})();(function(){Sidebar.prototype.addMockupPalette=function(){this.addMockupButtonsPalette();this.addMockupContainersPalette();this.addMockupFormsPalette();this.addMockupGraphicsPalette();this.addMockupMarkupPalette();this.addMockupMiscPalette();this.addMockupNavigationPalette();this.addMockupTextPalette()};Sidebar.prototype.addMockupButtonsPalette=function(){var a=mxConstants.STYLE_STROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKECOLOR+ -"=#999999;",e=this,c=[this.createVertexTemplateEntry(a+"buttons.button;"+(mxConstants.STYLE_STROKECOLOR+"=#666666;")+"fontColor=#ffffff;mainText=;buttonStyle=round;fontSize=17;fontStyle=1;fillColor=#008cff;whiteSpace=wrap;",150,50,"Button Text","Button",null,null,this.getTagsForStencil("mxgraph.mockup.buttons","button","mockup button ").join(" ")),this.addEntry("mockup button formatted multibutton multi",function(){var b=new mxCell("",new mxGeometry(0,0,150,50),a+"buttons.multiButton;fillColor=#008cff;strokeColor=#666666;mainText=;subText=;"); -b.vertex=!0;var c=new mxCell("Main Text",new mxGeometry(0,8,150,20),a+"anchor;fontSize=16;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;");c.vertex=!0;b.insert(c);c=new mxCell("Sub Text",new mxGeometry(0,30,150,10),a+"anchor;fontSize=12;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;");c.vertex=!0;b.insert(c);return e.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Formatted Button")}),this.addEntry("mockup button horizontal bar",function(){var b=new mxCell("",new mxGeometry(0, -0,500,50),a+"rrect;rSize=10;fillColor=#ffffff;strokeColor=#666666;");b.vertex=!0;var c=new mxCell("Button 2",new mxGeometry(0,0,125,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+a+"rrect;rSize=0;fontSize=17;fontColor=#666666;fontStyle=1;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(125,0);c.vertex=!0;b.insert(c);c=new mxCell("Button 3",new mxGeometry(0,0,125,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+a+"rrect;rSize=0;fontSize=17;fontColor=#666666;fontStyle=1;resizeHeight=1;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(250,0);c.vertex=!0;b.insert(c);c=new mxCell("Button 4",new mxGeometry(1,0,125,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+a+"rightButton;rSize=10;fontSize=17;fontColor=#666666;fontStyle=1;resizeHeight=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(-125,0);c.vertex=!0;b.insert(c);c=new mxCell("Button 1",new mxGeometry(0,0,125,50),a+"leftButton;rSize=10;fontSize=17;fontColor=#ffffff;fontStyle=1;fillColor=#008cff;strokeColor=#008cff;resizeHeight=1;"); -c.geometry.relative=!0;c.vertex=!0;b.insert(c);return e.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Horizontal Button Bar")}),this.addEntry("mockup button vertical bar",function(){var b=new mxCell("",new mxGeometry(0,0,120,200),a+"rrect;rSize=10;fillColor=#ffffff;strokeColor=#666666;");b.vertex=!0;var c=new mxCell("Button 2",new mxGeometry(0,0,120,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+a+"rrect;rSize=0;fontSize=17;fontColor=#666666;fontStyle=1;resizeWidth=1;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,50);c.vertex=!0;b.insert(c);c=new mxCell("Button 3",new mxGeometry(0,0,120,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+a+"rrect;rSize=0;fontSize=17;fontColor=#666666;fontStyle=1;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,100);c.vertex=!0;b.insert(c);c=new mxCell("Button 4",new mxGeometry(0,1,120,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+a+"bottomButton;rSize=10;fontSize=17;fontColor=#666666;fontStyle=1;resizeWidth=1;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-50);c.vertex=!0;b.insert(c);c=new mxCell("Button 1",new mxGeometry(0,0,120,50),a+"topButton;rSize=10;fontSize=17;fontColor=#ffffff;fontStyle=1;fillColor=#008cff;strokeColor=#008cff;resizeWidth=1;");c.geometry.relative=!0;c.vertex=!0;b.insert(c);return e.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Vertical Button Bar")}),this.createVertexTemplateEntry(a+"buttons.onOffButton;fillColor=#ffffff;gradientColor=none;"+b+"buttonState=on;fillColor2=#008cff;fontColor=#ffffff;fontSize=17;mainText=;spacingRight=40;fontStyle=1;", -150,50,"ON","On-off button",null,null,this.getTagsForStencil("mxgraph.mockup.buttons","onOffButton","mockup button on off").join(" "))];this.addPalette("mockupButtons","Mockup Buttons",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMockupContainersPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=1;"+mxConstants.STYLE_SHAPE+ -"=mxgraph.mockup.",b=mxConstants.STYLE_STROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",e=mxConstants.STYLE_STROKECOLOR+"=#666666;",c=mxConstants.STYLE_FILLCOLOR+"=#ffffff;",d=this,f=[this.createVertexTemplateEntry(a+"containers.videoPlayer;"+e+"strokeColor2=#008cff;strokeColor3=#c4c4c4;textColor=#666666;"+c+"fillColor2=#008cff;barHeight=30;barPos=20;",300,200,"","Video Player",null,null,this.getTagsForStencil("mxgraph.mockup.containers","videoPlayer", -"mockup container ").join(" ")),this.addEntry("mockup container accordion",function(){var a=new mxCell("",new mxGeometry(0,0,100,220),b+"containers.rrect;rSize=0;fillColor=#ffffff;strokeColor=#666666;");a.vertex=!0;var c=new mxCell("Group 1",new mxGeometry(0,0,100,26),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"containers.rrect;rSize=0;fontSize=17;fontColor=#666666;fontStyle=1;resizeWidth=1;");c.geometry.relative=!0;c.vertex=!0;a.insert(c);c=new mxCell("Group 2",new mxGeometry(0, -0,100,26),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"containers.rrect;rSize=0;fontSize=17;fontColor=#666666;fontStyle=1;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,26);c.vertex=!0;a.insert(c);c=new mxCell("Group 3",new mxGeometry(0,0,100,26),b+"containers.rrect;rSize=0;fontSize=17;fontColor=#ffffff;fontStyle=1;fillColor=#008cff;strokeColor=#008cff;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,52);c.vertex=!0;a.insert(c); -c=new mxCell("Group 4",new mxGeometry(0,1,100,26),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"containers.rrect;rSize=0;fontSize=17;fontColor=#666666;fontStyle=1;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-26);c.vertex=!0;a.insert(c);return d.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Accordion")}),this.addEntry("mockup container browser window",function(){var a=new mxCell("",new mxGeometry(0,0,550,380),b+"containers.browserWindow;rSize=0;fillColor=#ffffff;strokeColor=#666666;strokeColor2=#008cff;strokeColor3=#c4c4c4;mainText=,;recursiveResize=0;"); -a.vertex=!0;var c=new mxCell("Page 1",new mxGeometry(60,12,110,26),b+"containers.anchor;fontSize=17;fontColor=#666666;align=left;");c.vertex=!0;a.insert(c);c=new mxCell("https://www.draw.io",new mxGeometry(130,60,250,26),b+"containers.anchor;rSize=0;fontSize=17;fontColor=#666666;align=left;");c.vertex=!0;a.insert(c);return d.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Browser Window")}),this.createVertexTemplateEntry(a+"containers.userMale;"+e+"strokeColor2=#008cff;"+c,100, -100,"","User, Male",null,null,this.getTagsForStencil("mxgraph.mockup.containers","userMale","mockup container ").join(" ")),this.createVertexTemplateEntry(a+"containers.userFemale;"+e+"strokeColor2=#008cff;"+c,100,100,"","User, Female",null,null,this.getTagsForStencil("mxgraph.mockup.containers","userFemale","mockup container ").join(" ")),this.addEntry("mockup container group",function(){var a=new mxCell("",new mxGeometry(0,0,150,200),"shape=mxgraph.mockup.containers.marginRect;rectMarginTop=10;strokeColor=#666666;fillColor=#ffffff;strokeWidth=1;dashed=0;rounded=1;arcSize=5;recursiveResize=0;"); -a.vertex=!0;var b=new mxCell("Group",new mxGeometry(5,0,90,30),"shape=rect;strokeColor=none;fillColor=#008cff;strokeWidth=1;dashed=0;rounded=1;arcSize=20;fontColor=#ffffff;fontSize=17;spacing=2;spacingTop=-2;align=left;autosize=1;spacingLeft=4;resizeWidth=0;resizeHeight=0;perimeter=none;");b.vertex=!0;a.insert(b);return d.createVertexTemplateFromCells([a],150,200,"Group")}),this.createVertexTemplateEntry(b+"containers.window;align=left;verticalAlign=top;spacingLeft=8;strokeColor2=#008cff;strokeColor3=#c4c4c4;fontColor=#666666;"+ -c+"mainText=;fontSize=17;labelBackgroundColor=none;",550,380,"Window Title","Window",null,null,this.getTagsForStencil("mxgraph.mockup.containers","window","mockup container ").join(" ")),this.addEntry("mockup container horizontal tab bar",function(){var a=new mxCell("",new mxGeometry(0,0,400,200),b+"containers.marginRect2;rectMarginTop=32;strokeColor=#666666;fillColor=#ffffff;gradientColor=none;");a.vertex=!0;var c=new mxCell("Tab 1",new mxGeometry(0,0,60,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+ -b+"containers.rrect;rSize=0;fontSize=17;fontColor=#666666;gradientColor=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,0);c.vertex=!0;a.insert(c);c=new mxCell("Tab 2",new mxGeometry(0,0,60,25),b+"containers.rrect;rSize=0;fontSize=17;fontColor=#ffffff;strokeColor=#008cff;fillColor=#008cff;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(75,0);c.vertex=!0;a.insert(c);c=new mxCell("Tab 3",new mxGeometry(0,0,60,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+ -b+"containers.rrect;rSize=0;fontSize=17;fontColor=#666666;gradientColor=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(140,0);c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,0,400,7),b+"containers.topButton;rSize=5;strokeColor=#008cff;fillColor=#008cff;gradientColor=none;resizeWidth=1;movable=0;deletable=1;");c.vertex=!0;c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,25);a.insert(c);return d.createVertexTemplateFromCells([a],400,200,"Horizontal Tab Bar")}),this.addEntry("mockup container vertical tab bar", -function(){var a=new mxCell("",new mxGeometry(0,0,400,200),b+"containers.marginRect2;rectMarginLeft=67;strokeColor=#666666;fillColor=#ffffff;gradientColor=none;");a.vertex=!0;var c=new mxCell("Tab 1",new mxGeometry(0,0,60,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"containers.rrect;rSize=0;fontSize=17;fontColor=#666666;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,10);c.vertex=!0;a.insert(c);c=new mxCell("Tab 2",new mxGeometry(0,0,60,25),b+"containers.rrect;rSize=0;fontSize=17;fontColor=#ffffff;strokeColor=#008cff;fillColor=#008cff;"); -c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,40);c.vertex=!0;a.insert(c);c=new mxCell("Tab 3",new mxGeometry(0,0,60,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"containers.rrect;rSize=0;fontSize=17;fontColor=#666666;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,70);c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,0,7,200),b+"containers.leftButton;rSize=5;strokeColor=#008cff;fillColor=#008cff;resizeHeight=1;movable=0;deletable=0;");c.geometry.relative= -!0;c.geometry.offset=new mxPoint(60,0);c.vertex=!0;a.insert(c);return d.createVertexTemplateFromCells([a],400,200,"Vertical Tab Bar")}),this.addDataEntry("mockup container dialog box",250,140,"Dialog Box","7ZZNj5swEIZ/jY+LwA7Z7bFL2j20VStlpZ5dGMBag5FxEtJf3wE7CeGjok0rraoSRbLHnvF4ntcGwqKiedK8yj+pBCRh7wiLtFLGtoomAikJ9UVC2IZQ6uOf0Pczo0E36ldcQ2mWOFDrsOdyB9ayVQWgJYGU76QhdE0oC3zCHhPBpcp6BgON8ax/bY7S+ddGqxf4KhKToyHAeXXOE3XATheF1zkkrsOlyEpsx5gtaDTkppAXr6oNWTRZWx2vUPHLrvJiVRouStC1pzXEuMlHvRXfwUW0q0dKKt2lw9bdgyMpOs7ZXYDgHvt70EbEXL51uRlVofWQCwPbisftvAMm1HoKKXsR0+5pc8BposyeW8cNo2hxRcbI0MyC6kyO0hMgBaOPOOXgKtnCCi1MPweR5Se3lTPy2hqys++FOzYc+mkZsJEMNo62/ywMon1dlIfM5tjOq+GUk4TUXJB97HqbhwHcUpXQZgA1rtnf8yKu9Pe4MmfTILkRe7iKfwvr1Yj1mK6jgo6iqmGqkr7/EHdq76rCv8kzm3HherwXVYxNV+za4eiuNy+0/X49J8pJf7Wcbv0vSmBa58XvaHi1/F0wOH0qTWswIx7nbSxCFI4QRbyM8e3weo/hz67YkXjiVftbcK06Ad1yzpqTTgbkgpFs3kzJJvwzslkNZMPYX5DNeiSbzx/+S+YGydz/a5LB7uXb0k7vf3r+AA=="), +this.getTagsForStencil("mxgraph.lean_mapping","electronic_info_flow_edge","value stream lean mapping ").join(" "))];this.addPalette("lean_mapping",mxResources.get("leanMapping"),!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))}})();(function(){Sidebar.prototype.addMockupPalette=function(){this.addMockupButtonsPalette();this.addMockupContainersPalette();this.addMockupFormsPalette();this.addMockupGraphicsPalette();this.addMockupMarkupPalette();this.addMockupMiscPalette();this.addMockupNavigationPalette();this.addMockupTextPalette()};Sidebar.prototype.addMockupButtonsPalette=function(){var a=mxConstants.STYLE_STROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKECOLOR+ +"=#999999;",e=this,d=[this.createVertexTemplateEntry(a+"buttons.button;"+(mxConstants.STYLE_STROKECOLOR+"=#666666;")+"fontColor=#ffffff;mainText=;buttonStyle=round;fontSize=17;fontStyle=1;fillColor=#008cff;whiteSpace=wrap;",150,50,"Button Text","Button",null,null,this.getTagsForStencil("mxgraph.mockup.buttons","button","mockup button ").join(" ")),this.addEntry("mockup button formatted multibutton multi",function(){var b=new mxCell("",new mxGeometry(0,0,150,50),a+"buttons.multiButton;fillColor=#008cff;strokeColor=#666666;mainText=;subText=;"); +b.vertex=!0;var d=new mxCell("Main Text",new mxGeometry(0,8,150,20),a+"anchor;fontSize=16;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;");d.vertex=!0;b.insert(d);d=new mxCell("Sub Text",new mxGeometry(0,30,150,10),a+"anchor;fontSize=12;fontColor=#ffffff;fontStyle=1;whiteSpace=wrap;");d.vertex=!0;b.insert(d);return e.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Formatted Button")}),this.addEntry("mockup button horizontal bar",function(){var b=new mxCell("",new mxGeometry(0, +0,500,50),a+"rrect;rSize=10;fillColor=#ffffff;strokeColor=#666666;");b.vertex=!0;var d=new mxCell("Button 2",new mxGeometry(0,0,125,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+a+"rrect;rSize=0;fontSize=17;fontColor=#666666;fontStyle=1;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(125,0);d.vertex=!0;b.insert(d);d=new mxCell("Button 3",new mxGeometry(0,0,125,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+a+"rrect;rSize=0;fontSize=17;fontColor=#666666;fontStyle=1;resizeHeight=1;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(250,0);d.vertex=!0;b.insert(d);d=new mxCell("Button 4",new mxGeometry(1,0,125,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+a+"rightButton;rSize=10;fontSize=17;fontColor=#666666;fontStyle=1;resizeHeight=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(-125,0);d.vertex=!0;b.insert(d);d=new mxCell("Button 1",new mxGeometry(0,0,125,50),a+"leftButton;rSize=10;fontSize=17;fontColor=#ffffff;fontStyle=1;fillColor=#008cff;strokeColor=#008cff;resizeHeight=1;"); +d.geometry.relative=!0;d.vertex=!0;b.insert(d);return e.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Horizontal Button Bar")}),this.addEntry("mockup button vertical bar",function(){var b=new mxCell("",new mxGeometry(0,0,120,200),a+"rrect;rSize=10;strokeColor=#666666;");b.vertex=!0;var d=new mxCell("Button 2",new mxGeometry(0,0,120,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+a+"rrect;rSize=0;fontSize=17;fontColor=#666666;fontStyle=1;resizeWidth=1;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,50);d.vertex=!0;b.insert(d);d=new mxCell("Button 3",new mxGeometry(0,0,120,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+a+"rrect;rSize=0;fontSize=17;fontColor=#666666;fontStyle=1;resizeWidth=1;");d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,100);d.vertex=!0;b.insert(d);d=new mxCell("Button 4",new mxGeometry(0,1,120,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+a+"bottomButton;rSize=10;fontSize=17;fontColor=#666666;fontStyle=1;resizeWidth=1;"); +d.geometry.relative=!0;d.geometry.offset=new mxPoint(0,-50);d.vertex=!0;b.insert(d);d=new mxCell("Button 1",new mxGeometry(0,0,120,50),a+"topButton;rSize=10;fontSize=17;fontColor=#ffffff;fontStyle=1;fillColor=#008cff;strokeColor=#008cff;resizeWidth=1;");d.geometry.relative=!0;d.vertex=!0;b.insert(d);return e.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Vertical Button Bar")}),this.createVertexTemplateEntry(a+"buttons.onOffButton;gradientColor=none;"+b+"buttonState=on;fillColor2=#008cff;fontColor=#ffffff;fontSize=17;mainText=;spacingRight=40;fontStyle=1;", +150,50,"ON","On-off button",null,null,this.getTagsForStencil("mxgraph.mockup.buttons","onOffButton","mockup button on off").join(" "))];this.addPalette("mockupButtons","Mockup Buttons",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMockupContainersPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=1;"+mxConstants.STYLE_SHAPE+ +"=mxgraph.mockup.",b=mxConstants.STYLE_STROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",e=mxConstants.STYLE_STROKECOLOR+"=#666666;",d=this,c=[this.createVertexTemplateEntry(a+"containers.videoPlayer;"+e+"strokeColor2=#008cff;strokeColor3=#c4c4c4;textColor=#666666;fillColor2=#008cff;barHeight=30;barPos=20;",300,200,"","Video Player",null,null,this.getTagsForStencil("mxgraph.mockup.containers","videoPlayer","mockup container ").join(" ")),this.addEntry("mockup container accordion", +function(){var a=new mxCell("",new mxGeometry(0,0,100,220),b+"containers.rrect;rSize=0;strokeColor=#666666;");a.vertex=!0;var c=new mxCell("Group 1",new mxGeometry(0,0,100,26),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"containers.rrect;rSize=0;fontSize=17;fontColor=#666666;fontStyle=1;resizeWidth=1;");c.geometry.relative=!0;c.vertex=!0;a.insert(c);c=new mxCell("Group 2",new mxGeometry(0,0,100,26),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"containers.rrect;rSize=0;fontSize=17;fontColor=#666666;fontStyle=1;resizeWidth=1;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,26);c.vertex=!0;a.insert(c);c=new mxCell("Group 3",new mxGeometry(0,0,100,26),b+"containers.rrect;rSize=0;fontSize=17;fontColor=#ffffff;fontStyle=1;fillColor=#008cff;strokeColor=#008cff;resizeWidth=1;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,52);c.vertex=!0;a.insert(c);c=new mxCell("Group 4",new mxGeometry(0,1,100,26),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"containers.rrect;rSize=0;fontSize=17;fontColor=#666666;fontStyle=1;resizeWidth=1;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,-26);c.vertex=!0;a.insert(c);return d.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Accordion")}),this.addEntry("mockup container browser window",function(){var a=new mxCell("",new mxGeometry(0,0,550,380),b+"containers.browserWindow;rSize=0;strokeColor=#666666;strokeColor2=#008cff;strokeColor3=#c4c4c4;mainText=,;recursiveResize=0;");a.vertex=!0;var c=new mxCell("Page 1",new mxGeometry(60,12,110,26),b+"containers.anchor;fontSize=17;fontColor=#666666;align=left;"); +c.vertex=!0;a.insert(c);c=new mxCell("https://www.draw.io",new mxGeometry(130,60,250,26),b+"containers.anchor;rSize=0;fontSize=17;fontColor=#666666;align=left;");c.vertex=!0;a.insert(c);return d.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Browser Window")}),this.createVertexTemplateEntry(a+"containers.userMale;"+e+"strokeColor2=#008cff;",100,100,"","User, Male",null,null,this.getTagsForStencil("mxgraph.mockup.containers","userMale","mockup container ").join(" ")),this.createVertexTemplateEntry(a+ +"containers.userFemale;"+e+"strokeColor2=#008cff;",100,100,"","User, Female",null,null,this.getTagsForStencil("mxgraph.mockup.containers","userFemale","mockup container ").join(" ")),this.addEntry("mockup container group",function(){var a=new mxCell("",new mxGeometry(0,0,150,200),"shape=mxgraph.mockup.containers.marginRect;rectMarginTop=10;strokeColor=#666666;strokeWidth=1;dashed=0;rounded=1;arcSize=5;recursiveResize=0;");a.vertex=!0;var b=new mxCell("Group",new mxGeometry(5,0,90,30),"shape=rect;strokeColor=none;fillColor=#008cff;strokeWidth=1;dashed=0;rounded=1;arcSize=20;fontColor=#ffffff;fontSize=17;spacing=2;spacingTop=-2;align=left;autosize=1;spacingLeft=4;resizeWidth=0;resizeHeight=0;perimeter=none;"); +b.vertex=!0;a.insert(b);return d.createVertexTemplateFromCells([a],150,200,"Group")}),this.createVertexTemplateEntry(b+"containers.window;align=left;verticalAlign=top;spacingLeft=8;strokeColor2=#008cff;strokeColor3=#c4c4c4;fontColor=#666666;mainText=;fontSize=17;labelBackgroundColor=none;",550,380,"Window Title","Window",null,null,this.getTagsForStencil("mxgraph.mockup.containers","window","mockup container ").join(" ")),this.addEntry("mockup container horizontal tab bar",function(){var a=new mxCell("", +new mxGeometry(0,0,400,200),b+"containers.marginRect2;rectMarginTop=32;strokeColor=#666666;gradientColor=none;");a.vertex=!0;var c=new mxCell("Tab 1",new mxGeometry(0,0,60,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"containers.rrect;rSize=0;fontSize=17;fontColor=#666666;gradientColor=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(10,0);c.vertex=!0;a.insert(c);c=new mxCell("Tab 2",new mxGeometry(0,0,60,25),b+"containers.rrect;rSize=0;fontSize=17;fontColor=#ffffff;strokeColor=#008cff;fillColor=#008cff;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(75,0);c.vertex=!0;a.insert(c);c=new mxCell("Tab 3",new mxGeometry(0,0,60,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"containers.rrect;rSize=0;fontSize=17;fontColor=#666666;gradientColor=none;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(140,0);c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,0,400,7),b+"containers.topButton;rSize=5;strokeColor=#008cff;fillColor=#008cff;gradientColor=none;resizeWidth=1;movable=0;deletable=1;"); +c.vertex=!0;c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,25);a.insert(c);return d.createVertexTemplateFromCells([a],400,200,"Horizontal Tab Bar")}),this.addEntry("mockup container vertical tab bar",function(){var a=new mxCell("",new mxGeometry(0,0,400,200),b+"containers.marginRect2;rectMarginLeft=67;strokeColor=#666666;gradientColor=none;");a.vertex=!0;var c=new mxCell("Tab 1",new mxGeometry(0,0,60,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"containers.rrect;rSize=0;fontSize=17;fontColor=#666666;"); +c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,10);c.vertex=!0;a.insert(c);c=new mxCell("Tab 2",new mxGeometry(0,0,60,25),b+"containers.rrect;rSize=0;fontSize=17;fontColor=#ffffff;strokeColor=#008cff;fillColor=#008cff;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(0,40);c.vertex=!0;a.insert(c);c=new mxCell("Tab 3",new mxGeometry(0,0,60,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"containers.rrect;rSize=0;fontSize=17;fontColor=#666666;");c.geometry.relative= +!0;c.geometry.offset=new mxPoint(0,70);c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,0,7,200),b+"containers.leftButton;rSize=5;strokeColor=#008cff;fillColor=#008cff;resizeHeight=1;movable=0;deletable=0;");c.geometry.relative=!0;c.geometry.offset=new mxPoint(60,0);c.vertex=!0;a.insert(c);return d.createVertexTemplateFromCells([a],400,200,"Vertical Tab Bar")}),this.addDataEntry("mockup container dialog box",250,140,"Dialog Box","7ZZNj5swEIZ/jY+LwA7Z7bFL2j20VStlpZ5dGMBag5FxEtJf3wE7CeGjok0rraoSRbLHnvF4ntcGwqKiedK8yj+pBCRh7wiLtFLGtoomAikJ9UVC2IZQ6uOf0Pczo0E36ldcQ2mWOFDrsOdyB9ayVQWgJYGU76QhdE0oC3zCHhPBpcp6BgON8ax/bY7S+ddGqxf4KhKToyHAeXXOE3XATheF1zkkrsOlyEpsx5gtaDTkppAXr6oNWTRZWx2vUPHLrvJiVRouStC1pzXEuMlHvRXfwUW0q0dKKt2lw9bdgyMpOs7ZXYDgHvt70EbEXL51uRlVofWQCwPbisftvAMm1HoKKXsR0+5pc8BposyeW8cNo2hxRcbI0MyC6kyO0hMgBaOPOOXgKtnCCi1MPweR5Se3lTPy2hqys++FOzYc+mkZsJEMNo62/ywMon1dlIfM5tjOq+GUk4TUXJB97HqbhwHcUpXQZgA1rtnf8yKu9Pe4MmfTILkRe7iKfwvr1Yj1mK6jgo6iqmGqkr7/EHdq76rCv8kzm3HherwXVYxNV+za4eiuNy+0/X49J8pJf7Wcbv0vSmBa58XvaHi1/F0wOH0qTWswIx7nbSxCFI4QRbyM8e3weo/hz67YkXjiVftbcK06Ad1yzpqTTgbkgpFs3kzJJvwzslkNZMPYX5DNeiSbzx/+S+YGydz/a5LB7uXb0k7vf3r+AA=="), this.addDataEntry("mockup container dialog box",250,160,"Dialog Box","zZZRb5swEMc/jR+LwC5pX9dk68NWtVIq7dmDA6wajGwnIf30O8AECFClyx5KFMn3x3c+3+9sQdg6rx41L7MnFYMk7Dtha62UbUd5tQYpCfVFTNiGUOrjn9AfC2+D5q1fcg2FvcSBtg57LnfQKluVAyoxJHwnLaErQlngE/aQgzE8hYFiobJeG8DYo3QBjNXqDX6L2GYoBDjPZDxWBzRqp5ibDGJncCnSAscRpgsahczmsvcq65B5ldbl8XIVve1KL1KF5aIAbTytIcJdPuiteAcXsV19raTSTTps1Tz4JkHHJd0FCO7Q3oO2IuLym8vNqhLVQyYsbEse1fMOmFDtKaQcREyap84Bp4kifa0dN4yi4qqMkaFaJNVIDtMjIAarjzjl4CpZ0wpbmn4GIs06t5UTuWmF9OTbg8eBYz/fB2zSB08dbv9VWGT7tTCfQ1uCu9wOXU4SEtsz+9VYm/sP6GowuPBw4xfRpf9GlzlNg+RW7GEU/xritxPiU8QODTqK0sBcOX3/Puqrwv/IE6BB9QpVwBj6RRVj8xUbOxzdLeeFrT2s50w56WfL6dZ/UQLTOi1+Q8PR8jfB2RlUSWLATnictnERonCC6PnnFz6HH12yk8aJbuvfTON85qK95uBVZ41zHAUYtFEw20fh/+mj7u7u+oix6/sIzf4Dop0+/L74Cw==")]; -this.addPalette("mockupContainers","Mockup Containers",!1,mxUtils.bind(this,function(a){for(var b=0;b<f.length;b++)a.appendChild(f[b](a))}))};Sidebar.prototype.addMockupFormsPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.", -e=mxConstants.STYLE_STROKECOLOR+"=#999999;",c=mxConstants.STYLE_FILLCOLOR+"=#ffffff;",d=this,f=[this.createVertexTemplateEntry(b+"forms.rrect;rSize=0;fillColor=#eeeeee;strokeColor=#999999;gradientColor=#cccccc;align=left;spacingLeft=4;fontSize=17;fontColor=#666666;labelPosition=right;",15,15,"Option 1","Checkbox",null,null,this.getTagsForStencil("mxgraph.mockup.forms","checkbox","mockup form ").join(" ")),this.addDataEntry("mockup form checkbox checkboxes",150,120,"Checkboxes","7VZNb8IwDP01uValKV9XYOOyadN22DmkbhuRNlUSoOzXL00yvtZOSGgMabOEFD/32Yn9GorwtKjnklT5o0iAI3yH8FQKod2qqKfAOYpCliA8Q1EUmh+K7juiPRsNKyKh1OcQIkdYE74ChzhA6S33gNJSLOGNJTo3QA/hicpJIjbGCY2TEJVD4h3CWVaaNTXlQRog1wXfs6omZVFnzXGDQtDlqgpSIQsVSAnUbHgiX9k7+GSu8FRwIe1O8NiaiaSM8wM8tdawga6kYmt4AbXP448IUkPd2SYL+R7NQRSg5dY8svHHbp7ou1aGObAs/6T5/oZEOSDbcfddNwvf+PYh4C9DeKo0E6XBerczjpOmg7Vvx2QSJ8yUPohRawdb45A2hVRFKCuzB+vN4qacKLWv3ht6/yDRwJrBOVkAfxaK2Y7hmXTDOW/qUfvUPWHkCFvnDYO+84800SKJ/uWKiLsVcUMv6F9XBL6mJPrdksC/IwmaA10uRH2iCtncvWTBO1RCrLWpJLbWrpLdcC9VSRiOqP2vuJpKBtdUyaBbJfH/xXErF8f4ByVh3P3no40dfV1+AA=="), +this.addPalette("mockupContainers","Mockup Containers",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMockupFormsPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.", +e=mxConstants.STYLE_STROKECOLOR+"=#999999;",d=this,c=[this.createVertexTemplateEntry(b+"forms.rrect;rSize=0;fillColor=#eeeeee;strokeColor=#999999;gradientColor=#cccccc;align=left;spacingLeft=4;fontSize=17;fontColor=#666666;labelPosition=right;",15,15,"Option 1","Checkbox",null,null,this.getTagsForStencil("mxgraph.mockup.forms","checkbox","mockup form ").join(" ")),this.addDataEntry("mockup form checkbox checkboxes",150,120,"Checkboxes","7VZNb8IwDP01uValKV9XYOOyadN22DmkbhuRNlUSoOzXL00yvtZOSGgMabOEFD/32Yn9GorwtKjnklT5o0iAI3yH8FQKod2qqKfAOYpCliA8Q1EUmh+K7juiPRsNKyKh1OcQIkdYE74ChzhA6S33gNJSLOGNJTo3QA/hicpJIjbGCY2TEJVD4h3CWVaaNTXlQRog1wXfs6omZVFnzXGDQtDlqgpSIQsVSAnUbHgiX9k7+GSu8FRwIe1O8NiaiaSM8wM8tdawga6kYmt4AbXP448IUkPd2SYL+R7NQRSg5dY8svHHbp7ou1aGObAs/6T5/oZEOSDbcfddNwvf+PYh4C9DeKo0E6XBerczjpOmg7Vvx2QSJ8yUPohRawdb45A2hVRFKCuzB+vN4qacKLWv3ht6/yDRwJrBOVkAfxaK2Y7hmXTDOW/qUfvUPWHkCFvnDYO+84800SKJ/uWKiLsVcUMv6F9XBL6mJPrdksC/IwmaA10uRH2iCtncvWTBO1RCrLWpJLbWrpLdcC9VSRiOqP2vuJpKBtdUyaBbJfH/xXErF8f4ByVh3P3no40dfV1+AA=="), this.createVertexTemplateEntry("shape=ellipse;fillColor=#eeeeee;strokeColor=#999999;gradientColor=#cccccc;html=1;align=left;spacingLeft=4;fontSize=17;fontColor=#666666;labelPosition=right;shadow=0;",15,15,"Setting 1","Radiobutton",null,null,this.getTagsForStencil("mxgraph.mockup.forms","radiobutton radio button","mockup form ").join(" ")),this.addDataEntry("mockup form radiobutton radio button group",150,120,"Radiobutton Group","7ZbJboMwEIafhmtEcMhyTdrm0kpVc+jZhQlYMRjZztan72A7C4Eg1LQ5ZSQkzwwztv/PLB6ZZbu5pEX6JmLgHnn2yEwKoe0o282Acy/wWeyRJy8IfLy84OVKtm+yfkEl5LpLQWALNpSvwUZsQOk9dwGlpVjBJ4t1ioG+R6YqpbHYouOjE1OVQuwcylmS4zjC6UFiINUZP1UVZctsl5Tb7WUiWq2L3lLITPWkhAgXPJUL9g2umZ14JriQZiVkYgwzS8b5WXxprKyGaC0V28AHqFMft0WQGnZXZTIhp9EcRAZa7vGWrdt2eUdopfRTYEl6KHP6+lTZQHKsPamOAyd8MwRSg7AArVmeYLBf5+F0xB6sUHAh2oU0YKxVTKQRM9ThLBcZq+I7oOWwLEGpgka4wlfjPQ3KmUWu3UL6I+ef9RwawzinX8DfhWKaibKhtGp2wxQ0Y3IFY1uwt96oF1q/ArGBYXg7wkELwoZH6oGwG0JyT4ZhC0NyG0NqrInhwFgzw6Pef8jQ98eReVfejeHwngyHHb5nNXAXsI5IqrBykUOVRSepwlapSPW413Sa1GWa3K7SqOWkDx5vq9+e9Mk/nnR0T3+FJlf5afwB"), -this.createVertexTemplateEntry(a+"forms.colorPicker;chosenColor=#aaddff;fillColor=#ffffff;",40,40,"","Color Picker",null,null,this.getTagsForStencil("mxgraph.mockup.forms","colorPicker","mockup form ").join(" ")),this.createVertexTemplateEntry(b+"forms.comboBox;"+e+mxConstants.STYLE_FILLCOLOR+"=#ddeeff;align=left;fillColor2=#aaddff;mainText=;fontColor=#666666;fontSize=17;spacingLeft=3;",150,30,"Option 1","Combo Box",null,null,this.getTagsForStencil("mxgraph.mockup.forms","comboBox","mockup form ").join(" ")), -this.createVertexTemplateEntry(b+"forms.spinner;"+e+"spinLayout=right;spinStyle=normal;adjStyle=triangle;fillColor=#aaddff;fontSize=17;fontColor=#666666;mainText=;html=1;overflow=fill;",150,60,'<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td style="width:85%">100</td><td style="width:15%"></td></tr></table>',"Spinner",null,null,this.getTagsForStencil("mxgraph.mockup.forms","spinner","mockup form ").join(" ")),this.addEntry("mockup form menu bar",function(){var a=new mxCell("", -new mxGeometry(0,0,498,30),b+"forms.rrect;rSize=0;strokeColor=#999999;fillColor=#ffffff;");a.vertex=!0;var c=new mxCell("File",new mxGeometry(0,0,83,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"forms.rrect;rSize=0;fontSize=17;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("Edit",new mxGeometry(83,0,83,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"forms.rrect;rSize=0;fontSize=17;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("Options", -new mxGeometry(166,0,83,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"forms.rrect;rSize=0;fontSize=17;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("Tools",new mxGeometry(249,0,83,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"forms.rrect;rSize=0;fontSize=17;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("Window",new mxGeometry(332,0,83,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"forms.rrect;rSize=0;fontSize=17;fontColor=#666666;"); -c.vertex=!0;a.insert(c);c=new mxCell("Help",new mxGeometry(415,0,83,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"forms.rrect;rSize=0;fontSize=17;fontColor=#666666;");c.vertex=!0;a.insert(c);return d.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Menu Bar")}),this.createVertexTemplateEntry(a+"forms.horSlider;"+e+c+"sliderStyle=basic;sliderPos=20;handleStyle=circle;fillColor2=#ddeeff;",150,30,"","Horizontal Slider",null,null,this.getTagsForStencil("mxgraph.mockup.forms", -"horSlider","mockup form horizontal").join(" ")),this.createVertexTemplateEntry(a+"forms.horSlider;"+e+c+"sliderStyle=basic;sliderPos=20;handleStyle=circle;fillColor2=#ddeeff;direction=north;",30,150,"","Vertical Slider",null,null,this.getTagsForStencil("mxgraph.mockup.forms","horSlider","mockup form vertical").join(" ")),this.addDataEntry("mockup form list box",150,200,"List Box","7ZZdS8MwFIZ/TW9HlmzO3W7qEBQEBa9De9oG06YkUTd/vadJ3FprZX7MOVigkPMmJx/vEw6N2LxYLjSv8muVgIzYecTmWinre8VyDlJGlIgkYmcRpQS/iF70jA7dKKm4htJuk0B9whOXj+AVLxi7kkEwVqsHuBeJzVEYRmxmcp6oZwwIBgk3OSQh4FJkJfZj3B40Crkt5Carqpcslll93UGh4ofHapAqXZiB1hDjgWf6VrxAWMxvPFdSaXcSNnUNR1IhZUNPXUM9XAa0hWWvIU4KbixAFWD1Cqc8hwvWM8beNJKDyPKQRkkQufFCts7d+IudYPHHdrOO3XfCotGH4LkqbUMn5DR2ntd6WGA4+YSNBoOzmlfaihb9Hi0WNA2SW/EErfV/QnDUIXhpoUBluB+IvIzz2usuhzavE9caO0lIa/im4rEosysXnY3/HBT9KqiwxY0SuDMlqzbvtwyVpgZsB+z6YFuxHvex3lORPLL2WHbB+qSPNfs/xfnXsL+r0UkC4Gp0u/qXqoRDfSOTXbyRSd8bGR3rwR5ZT3+BNYabn24/vflP/go="), -this.createVertexTemplateEntry(b+"forms.pwField;"+e+"mainText=;align=left;fillColor=#ffffff;fontColor=#666666;fontSize=17;spacingLeft=3;",150,30,"********","Password Field",null,null,this.getTagsForStencil("mxgraph.mockup.forms","pwField","mockup form ").join(" ")),this.createVertexTemplateEntry(a+"forms.splitter;fillColor=#ffffff;"+e,350,10,"","Horizontal Splitter",null,null,this.getTagsForStencil("mxgraph.mockup.forms","splitter","mockup form ").join(" ")),this.createVertexTemplateEntry(a+"forms.splitter;fillColor=#ffffff;"+ -e+mxConstants.STYLE_DIRECTION+"="+mxConstants.DIRECTION_NORTH+";",10,350,"","Vertical Splitter",null,null,this.getTagsForStencil("mxgraph.mockup.forms","splitter","mockup form ").join(" ")),this.addEntry("mockup form wedge bar",function(){var a=new mxCell("Tab 1",new mxGeometry(10,0,70,30),b+"forms.uRect;fontSize=17;fontColor=#666666;align=left;spacingLeft=5;strokeColor=#666666;fillColor=#ffffff;");a.vertex=!0;var c=new mxCell("Tab 2",new mxGeometry(85,0,70,30),b+"forms.uRect;fontSize=17;fontColor=#ffffff;align=left;spacingLeft=5;strokeColor=#008cff;fillColor=#008cff;"); -c.vertex=!0;var f=new mxCell("Tab 3",new mxGeometry(160,0,70,30),b+"forms.uRect;fontSize=17;fontColor=#666666;align=left;spacingLeft=5;strokeColor=#666666;fillColor=#ffffff;");f.vertex=!0;return d.createVertexTemplateFromCells([a,c,f],230,30,"Wedge Bar")}),this.createVertexTemplateEntry(a+"menus_and_buttons.font_style_selector_1;",136,31,"","Formatting Toolbar 1",null,null,this.getTagsForStencil("mxgraph.mockup.menus_and_buttons","font_style_selector_1","mockup form ").join(" ")),this.createVertexTemplateEntry(a+ -"menus_and_buttons.font_style_selector_2;",235,31,"","Formatting Toolbar 2",null,null,this.getTagsForStencil("mxgraph.mockup.menus_and_buttons","font_style_selector_2","mockup form ").join(" ")),this.createVertexTemplateEntry(a+"menus_and_buttons.font_style_selector_3;",176,38,"","Formatting Toolbar 3",null,null,this.getTagsForStencil("mxgraph.mockup.menus_and_buttons","font_style_selector_3","mockup form ").join(" ")),this.createVertexTemplateEntry(b+"forms.searchBox;"+e+"mainText=;fillColor=#ffffff;strokeColor2=#008cff;fontColor=#666666;fontSize=17;align=left;spacingLeft=3;", +this.createVertexTemplateEntry(a+"forms.colorPicker;chosenColor=#aaddff;",40,40,"","Color Picker",null,null,this.getTagsForStencil("mxgraph.mockup.forms","colorPicker","mockup form ").join(" ")),this.createVertexTemplateEntry(b+"forms.comboBox;"+e+mxConstants.STYLE_FILLCOLOR+"=#ddeeff;align=left;fillColor2=#aaddff;mainText=;fontColor=#666666;fontSize=17;spacingLeft=3;",150,30,"Option 1","Combo Box",null,null,this.getTagsForStencil("mxgraph.mockup.forms","comboBox","mockup form ").join(" ")),this.createVertexTemplateEntry(b+ +"forms.spinner;"+e+"spinLayout=right;spinStyle=normal;adjStyle=triangle;fillColor=#aaddff;fontSize=17;fontColor=#666666;mainText=;html=1;overflow=fill;",150,60,'<table cellpadding="0" cellspacing="0" style="width:100%;height:100%;"><tr><td style="width:85%">100</td><td style="width:15%"></td></tr></table>',"Spinner",null,null,this.getTagsForStencil("mxgraph.mockup.forms","spinner","mockup form ").join(" ")),this.addEntry("mockup form menu bar",function(){var a=new mxCell("",new mxGeometry(0,0,498, +30),b+"forms.rrect;rSize=0;strokeColor=#999999;");a.vertex=!0;var c=new mxCell("File",new mxGeometry(0,0,83,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"forms.rrect;rSize=0;fontSize=17;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("Edit",new mxGeometry(83,0,83,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"forms.rrect;rSize=0;fontSize=17;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("Options",new mxGeometry(166,0,83,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+ +b+"forms.rrect;rSize=0;fontSize=17;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("Tools",new mxGeometry(249,0,83,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"forms.rrect;rSize=0;fontSize=17;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("Window",new mxGeometry(332,0,83,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"forms.rrect;rSize=0;fontSize=17;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("Help",new mxGeometry(415, +0,83,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"forms.rrect;rSize=0;fontSize=17;fontColor=#666666;");c.vertex=!0;a.insert(c);return d.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Menu Bar")}),this.createVertexTemplateEntry(a+"forms.horSlider;"+e+"sliderStyle=basic;sliderPos=20;handleStyle=circle;fillColor2=#ddeeff;",150,30,"","Horizontal Slider",null,null,this.getTagsForStencil("mxgraph.mockup.forms","horSlider","mockup form horizontal").join(" ")), +this.createVertexTemplateEntry(a+"forms.horSlider;"+e+"sliderStyle=basic;sliderPos=20;handleStyle=circle;fillColor2=#ddeeff;direction=north;",30,150,"","Vertical Slider",null,null,this.getTagsForStencil("mxgraph.mockup.forms","horSlider","mockup form vertical").join(" ")),this.addDataEntry("mockup form list box",150,200,"List Box","7ZZdS8MwFIZ/TW9HlmzO3W7qEBQEBa9De9oG06YkUTd/vadJ3FprZX7MOVigkPMmJx/vEw6N2LxYLjSv8muVgIzYecTmWinre8VyDlJGlIgkYmcRpQS/iF70jA7dKKm4htJuk0B9whOXj+AVLxi7kkEwVqsHuBeJzVEYRmxmcp6oZwwIBgk3OSQh4FJkJfZj3B40Crkt5Carqpcslll93UGh4ofHapAqXZiB1hDjgWf6VrxAWMxvPFdSaXcSNnUNR1IhZUNPXUM9XAa0hWWvIU4KbixAFWD1Cqc8hwvWM8beNJKDyPKQRkkQufFCts7d+IudYPHHdrOO3XfCotGH4LkqbUMn5DR2ntd6WGA4+YSNBoOzmlfaihb9Hi0WNA2SW/EErfV/QnDUIXhpoUBluB+IvIzz2usuhzavE9caO0lIa/im4rEosysXnY3/HBT9KqiwxY0SuDMlqzbvtwyVpgZsB+z6YFuxHvex3lORPLL2WHbB+qSPNfs/xfnXsL+r0UkC4Gp0u/qXqoRDfSOTXbyRSd8bGR3rwR5ZT3+BNYabn24/vflP/go="), +this.createVertexTemplateEntry(b+"forms.pwField;"+e+"mainText=;align=left;fontColor=#666666;fontSize=17;spacingLeft=3;",150,30,"********","Password Field",null,null,this.getTagsForStencil("mxgraph.mockup.forms","pwField","mockup form ").join(" ")),this.createVertexTemplateEntry(a+"forms.splitter;"+e,350,10,"","Horizontal Splitter",null,null,this.getTagsForStencil("mxgraph.mockup.forms","splitter","mockup form ").join(" ")),this.createVertexTemplateEntry(a+"forms.splitter;"+e+mxConstants.STYLE_DIRECTION+ +"="+mxConstants.DIRECTION_NORTH+";",10,350,"","Vertical Splitter",null,null,this.getTagsForStencil("mxgraph.mockup.forms","splitter","mockup form ").join(" ")),this.addEntry("mockup form wedge bar",function(){var a=new mxCell("Tab 1",new mxGeometry(10,0,70,30),b+"forms.uRect;fontSize=17;fontColor=#666666;align=left;spacingLeft=5;strokeColor=#666666;");a.vertex=!0;var c=new mxCell("Tab 2",new mxGeometry(85,0,70,30),b+"forms.uRect;fontSize=17;fontColor=#ffffff;align=left;spacingLeft=5;strokeColor=#008cff;fillColor=#008cff;"); +c.vertex=!0;var e=new mxCell("Tab 3",new mxGeometry(160,0,70,30),b+"forms.uRect;fontSize=17;fontColor=#666666;align=left;spacingLeft=5;strokeColor=#666666;");e.vertex=!0;return d.createVertexTemplateFromCells([a,c,e],230,30,"Wedge Bar")}),this.createVertexTemplateEntry(a+"menus_and_buttons.font_style_selector_1;",136,31,"","Formatting Toolbar 1",null,null,this.getTagsForStencil("mxgraph.mockup.menus_and_buttons","font_style_selector_1","mockup form ").join(" ")),this.createVertexTemplateEntry(a+"menus_and_buttons.font_style_selector_2;", +235,31,"","Formatting Toolbar 2",null,null,this.getTagsForStencil("mxgraph.mockup.menus_and_buttons","font_style_selector_2","mockup form ").join(" ")),this.createVertexTemplateEntry(a+"menus_and_buttons.font_style_selector_3;",176,38,"","Formatting Toolbar 3",null,null,this.getTagsForStencil("mxgraph.mockup.menus_and_buttons","font_style_selector_3","mockup form ").join(" ")),this.createVertexTemplateEntry(b+"forms.searchBox;"+e+"mainText=;strokeColor2=#008cff;fontColor=#666666;fontSize=17;align=left;spacingLeft=3;", 150,30,"Search","Search Box",null,null,this.getTagsForStencil("mxgraph.mockup.forms","searchBox","mockup form ").join(" ")),this.addDataEntry("mockup form sign in",200,300,"Sign In","7Vhtb9owEP41+TIJ5DgkLR8HG6jShpBQtc8uubysTowct8B+/RzHQILDFmm4TScsRYrPOft8z3N3sR1vmu3mnGyS7ywE6nhfHW/KGRPVW7abAqUORmnoeF8cjJF8HDy7MOqqUbQhHHLRRQFXCq+EvkAlqQSF2FMtKARnz/AjDUUiBa7jTYqEhGwrO0h2QlIkEOoOoWmcy/e1XB64FCQioyetTTlltovL7Q4ztn5+2QwjxrNiyDmspcETvkp/gZ6sWnjKKOPKEm+smhyJUkpr8kg1KdebAS5gd9EhSqS9MQeWgeB7+clWb7B0CqqchhJI40SreQchKSpBfNQ9+Ve+aBe3u9sz3L0qHYbRQ/4+fif5OindOIlYLrTvXaz7NRcHqtVWohApvKCQSg0jN2Sd5vE3Na6M64QK/isqbhsqmt6IAyUifYXG/G1I6SWWLJUrY3QwSE+zb3YPE7AoKkAYQB/t7IT9qEOoaahomkNbAIQhgCJ6kxu4CbiJybUQuG9BwLWCgGcDAd9A4LGQ0YLRgmRS8PkWgv0JwZENAgQGAX6yJA8ZfIii140OTfB9q/nAb6ODb4MOgQ063Bl0WJKi2DIe3pJBr5LB2LeA/r2B/ifdbtmg59nAdW0QYmwQYvUwX5Q/54t+MMI3GJEz9aN4RobjeejsnBQET0+VvJZcgkNfb+5fGbFvKNT40fbz6F0nXeAmPQZHKl6VHwcS1ggyYzxmpSGnwjHrd+Eo04fiwB8TBTojxejqieMiTdrTiJWyMnCtHPRc1+CJyYkenvQuQ/J2577B2Aoi5jXXArZSUJ3/+hyv3Qo7+j/j884KGVou4ao6/7i81fkPVeevUeZl93TdXn1ev43/DQ=="), this.addDataEntry("mockup form calendar date",160,175,"Calendar","7Zxdc6IwFIZ/DbdOPkDktu62V529cGd6zUoUp2CcSLe6v37Dh7bm0K2dLjk2kRlnIBCF9wnkvMmRgE/L3Z1KN/m9zEQR8O8Bnyopq3at3E1FUQSMrLKAfwsYI/oTsNs39tJmL9mkSqyrcyqwtsLvtHgSbUlbsK32RVewrZR8FA+rrMp1AQ34zTZPM/msN4jeyNJtLrJuIy1Wy7Ven+ufF0oX5FVZvNTa1F9Z7pb15Y5KOX982owWUpXbkVJirk/4Rs1Wf+qDorpC88NTWUjVnAlPmkXvWayK4lX5oll0eXcxQlVi96YgTVGnxp2QpajUXh/y3F1gfcS4FY3kYrXMD9XiqC1Mt23B8lj3RV+90kncLzcHcv+YV/KXlooRRmiII366nue1ljcLua769D5LV9ava1eBd5Lu281Ju/VadNIjetd6P6V52NPEx0V1vCzsph7+u6mfIiFkMm+ael3efQE9HDfrroT+H2STd4ixaBhgUR+w5RXYu8Aoi5GQjQGye+nus4yePsv6dB7oWRYDnX8+uaszR9N5AnR+EO7qHKHpnMD2nLurc4ym8+GJ9UroW+Wu0Ame0BQIPUvdFZridYUUWteZw30hxesMKXStFEdoMxInH4nEB4wAQ4swoJ29kCEbNBgcDwa0qtxzGBEeDGhCkcbTLgZGjAcDOtXIcxgJHgxoZ8eewzADV5s0oOmNfaeB14Uz6IwnvtM4hTG2CAO658RzGBwPBjTYh5bhLY0Ij0aPCffdhcd4NKALP4xHeUsjwaMBbTj13YebAa5NHNCIY2W2XA4OxH4cWnHquxc3bo6JRRrQi1PfzbiZG2aRBvTi1HczHqHR4NCLU9/NeIxHA5px6rsbT/BoQDfOfHfjZoxrEwe049dJcbx+nPfMivvux42bgxKLOKAh935inCPigIbc+9nYGBEHNOTez8cmiDigI79OyGJ2HtCTX6dkEXuPELpy72dlzdvDYjZuCG05990ImneHTRzQl3PfjWCEiMOxXHXjn+5ZJsT5/3T/WARsk5JjSewDUjIDY5uUHMtuH5ASiJdtYnIs731ITJiBgmMZ8UNiMihZTAcO4WDAlx6aGZCSeS/ZpORYCv2AlMxY3CKlCA4cfOlxHIuxuE1KjuXcW4zFbVKCwwxfOxnfZjBuk5Nrafo2o3GbnHpGIC7ZNS0WRC+Q0/HVh6enyiC544vIBggqhpuN0JsvL8Ns9p28K/Mv"), this.addDataEntry("mockup form calendar date",400,300,"Email","7VhLU9swEP41vmacOLyOJQEu9FLa6VnI61igF3qQ0F/fXcmGdJzMtAOmh8QzcbyrfX6fV05cVAu1uXHMtl9NDbKoropq4YwJ+UptFiBlMStFXVTLYjYr8VPMrvesTtNqaZkDHf7GYZYdnpmMkDXXzqis9OFFdkofnHmEn6IOLSqmRXXpW1abNQolCjXzLdSdwKRYabzmWAI4VLRByTcvSyHVZkUtT5Thj9FOGuOUnzDNW+O2IjixagN5WcaFXn3L4nKGqsbosDCSzLG+6jQdqO/aARdgsxeSpOrwuAGjILgXNFl37eHqSUatbKHLSV7nWcd8llevnm/44kUH8W64qwHcD6bVxbx8yHjw/4W9c8AJ6kZIuYVrkw7UuzvxC7ok+7Dvk0totli7TdKyIk3qZMv1Ih3vpG3zJ2VbLFZj0Tgf0HgX7x8IwYMcnJce7gEDYxFwMiDgxgEE7PU4Pu8bn/1cjjZNpwMyv5uDHqSz4VY2FvZnA+wbhzgeH0gfPlE7SB1tos4HrC4WBz1R0/Lznk0XA/CPE/QhE7SLxNFGaFoOaLw89CGaf95zaTo9TtFIU7SDxfGmaPh+4dY4UGRifaTvOnWNxIpAyTBFMcO4JTfaI/QQIq2yWljhBU+/8EuQorPyyDDFIKWIXhkSAyibYgrNRS3qqCl0pJNk95ifrEOfmyTFVppRGimeIpvg1Q9aBy1USk4mIgvPqGQqZ3+KwuOXNkhgJCPYgOMisCCMppRSMsVNnzcbYxt9NSmdsMmRTiz1rbAL0yOA5QSqZ5lTsRioXuFiqrsHT1A2B9ZBC7oGl7BMymcjo8WCIJWecCvBexI53tJvFCRQIp6auBKMzDSVn281VERHZVxtONgAMTOWcDWcM+DJg0crahayd0LAOiNqulEzW5mJVBiP0rKMIQVpGiSX5Bo8uGynjMwFswy9SBD7Vx6jmhzkpkDbgeBMfulCBGNRu25FgDsMQ5nXWPQH7fpnw6fuvNy1X/T/yv9hwyjodWP/rjOt/fEq9Dc=")]; -this.addPalette("mockupForms","Mockup Forms",!1,mxUtils.bind(this,function(a){for(var b=0;b<f.length;b++)a.appendChild(f[b](a))}))};Sidebar.prototype.addMockupGraphicsPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",e= -mxConstants.STYLE_FILLCOLOR+"=#ffffff;",c=mxConstants.STYLE_STROKECOLOR+"=none;",d=this,f=[this.createVertexTemplateEntry(a+"graphics.barChart;"+e+c+"strokeColor2=none;strokeColor3=#666666;fillColor2=#008cff;fillColor3=#dddddd;",400,200,"","Bar Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","barChart","mockup graphics ").join(" ")),this.createVertexTemplateEntry(a+"graphics.columnChart;"+e+c+"strokeColor2=none;strokeColor3=#666666;fillColor2=#008cff;fillColor3=#dddddd;",400,200, -"","Column Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","columnChart","mockup graphics ").join(" ")),this.createVertexTemplateEntry(a+"graphics.lineChart;"+e+c+"strokeColor2=#666666;strokeColor3=#008cff;strokeColor4=#dddddd;",400,200,"","Line Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","lineChart","mockup graphics ").join(" ")),this.createVertexTemplateEntry(a+"graphics.pieChart;"+mxConstants.STYLE_STROKECOLOR+"=#008cff;parts=10,20,35;partColors=#e0e0e0,#d0d0d0,#c0c0c0,#b0b0b0,#a0a0a0;strokeWidth=2;", -200,200,"","Pie Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","pieChart","mockup graphics ").join(" ")),this.createVertexTemplateEntry(a+"graphics.simpleIcon;strokeColor=#999999;fillColor=#ffffff;",50,50,"","Icon Placeholder",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","simpleIcon","mockup graphics icon placeholder").join(" ")),this.addDataEntry("mockup graphics icon grid placeholder",200,200,"Icon Grid","7ZdRa8MgEMc/ja8licu6Pm7pVgYb7G3PNrFRqjWobdNvv4vadYUVRpv5ZCDg/e9OzvuRCyJcyX6hScfeVUMFws8IV1op61eyr6gQqMh4g/AcFUUGLypeLnhz5806ounG/iWh8Ak7IrbUK14w9iCCsKPa8pqIN7Kk4kMZbrnagGuprFUS4SfDSKP2oGRgNMQw2gSDCN4OoTVUQzUIzEo44jyH5XHbxxBjVTfsZbVa00/eWBbiYPduqET27dCliVT1ettNnMFrMzFcdoK+1kNNIb1SQmlXPJ65BzwrLsQPfeUe0MP5oRjaX+yhk0IDF1RJavUBQvahTPCWvs0Zo7xl9lwjxtvtd+YJCCwCk9/54MTnej4hYVr6jAi47hKum3HlRxAReJWJ1/W8DtE/r/uEa7RpGJ/eNNEbbzjGx/eQ8N08K2P+22aJ19jDMia+PEv8Rh+X/wgQzNO13fnObvVf"), -this.createVertexTemplateEntry(a+"graphics.bubbleChart;"+e+c+"strokeColor2=none;strokeColor3=#666666;fillColor2=#008cff;fillColor3=#dddddd;",400,200,"","Bubble Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","bubbleChart","mockup graphics bubble chart").join(" ")),this.addDataEntry("mockup graphics gauge",100,100,"Gauge","zZXdT8IwEMD/mr6S0jqVRxnKiya8GJ/LemwN3bp0BcZ/760tXwKRGEGbLblv7n49MsLTsh1bURdvRoIm/Jnw1BrjglS2KWhNGFWS8BFhjOJL2MsZb997aS0sVO6SBBYSlkIvIFiCoXFrHQ1LsE5lQr+KKeiJaZRTpkLX1DhnSsKHTSGkWaGFoiJFU4CMitAq70Iz7AYsGgpX4oijPoqbsk8xxpm6q+WsmcOHkq6IcVi97jop27yj1CtNNl/UPa+orOnlYpGjfzhTWqdGG+u75jN/thX3PAN/0OMzcSA0s6SLxG5CYBMip1MpsQZLUZYSYCMPBlnma/sKnkvISLuHDysAqfd/ktLHkBBp4+jQnr0xb4rXNQZTgrNrDFlFKF0EDbdKC1B54b4YRWiG5dvc3QKgEHfg9D7wo31IJ+8kwcYTkoyOduPkdf1gGb67ZFFlRQdzODOV2wN778+lYNlpsDEBJ/QZ66hGmnvYkxPU2S9AvzuCTv+e9KaIhpm7Mnh6AP4huRn45Aj89k/0H9DbMO012fNbsUd191XzvoOP3ic="), -this.createVertexTemplateEntry(a+"graphics.plotChart;"+e+mxConstants.STYLE_STROKECOLOR+"=none;strokeColor2=#aaaaaa;strokeColor3=#666666;fillColor2=#99aaff,#0022ff,#008cff;",400,200,"","Plot Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","plotChart","mockup graphics plot chart").join(" ")),this.addEntry("mockup graphics gantt chart",function(){var a=new mxCell("",new mxGeometry(0,0,600,300),b+"graphics.rrect;rSize=0;strokeColor=#999999;fillColor=#ffffff;");a.vertex=!0;var c=new mxCell("#", -new mxGeometry(0,0,20,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("Task",new mxGeometry(20,0,40,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("Start",new mxGeometry(60,0,130,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex= -!0;a.insert(c);c=new mxCell("Effort",new mxGeometry(190,0,50,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("20//10//2014",new mxGeometry(240,0,210,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("27//10//2014",new mxGeometry(450,0,150,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+ -b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("M",new mxGeometry(240,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("T",new mxGeometry(270,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("W",new mxGeometry(300,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+ -b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("T",new mxGeometry(330,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("F",new mxGeometry(360,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("S",new mxGeometry(390,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+ -b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("S",new mxGeometry(420,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("M",new mxGeometry(450,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("T",new mxGeometry(480,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+ -b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("W",new mxGeometry(510,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("T",new mxGeometry(540,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("F",new mxGeometry(570,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+ -b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,40,240,260),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(240,40,60,260),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(300,40,60,260),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+ -b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(360,40,60,260),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(420,40,60,260),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(480,40,60,260),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+ -b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(540,40,60,260),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("1",new mxGeometry(0,40,20,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("Task 1",new mxGeometry(20,40,40,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("20//10//2014 8:00 AM", -new mxGeometry(60,40,130,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("40h",new mxGeometry(190,40,50,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("2",new mxGeometry(0,60,20,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("Task 2",new mxGeometry(20,60,40,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("20//10//2014 8:00 AM",new mxGeometry(60,60,130,20),b+"graphics.anchor;fontColor=#666666;"); -c.vertex=!0;a.insert(c);c=new mxCell("40h",new mxGeometry(190,60,50,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("3",new mxGeometry(0,80,20,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("Task 3",new mxGeometry(20,80,40,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("20//10//2014 8:00 AM",new mxGeometry(60,80,130,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("40h", -new mxGeometry(190,80,50,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("4",new mxGeometry(0,100,20,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("Task 4",new mxGeometry(20,100,40,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("20//10//2014 8:00 AM",new mxGeometry(60,100,130,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("40h",new mxGeometry(190,100,50,20),b+"graphics.anchor;fontColor=#666666;"); -c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(250,45,130,10),b+"graphics.rrect;rSize=0;strokeColor=none;fillColor=#aaddff;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(250,65,40,10),b+"graphics.rrect;rSize=0;strokeColor=none;fillColor=#aaddff;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(280,85,100,10),b+"graphics.rrect;rSize=0;strokeColor=none;fillColor=#aaddff;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(340,105,70,10),b+"graphics.rrect;rSize=0;strokeColor=none;fillColor=#aaddff;"); -c.vertex=!0;a.insert(c);return d.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Gantt Chart")}),this.createVertexTemplateEntry(a+"misc.map;",250,250,"","Map",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","map","mockup graphics ").join(" "))];this.addPalette("mockupGraphics","Mockup Graphics",!1,mxUtils.bind(this,function(a){for(var b=0;b<f.length;b++)a.appendChild(f[b](a))}))};Sidebar.prototype.addMockupMarkupPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+ +this.addPalette("mockupForms","Mockup Forms",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMockupGraphicsPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",e= +mxConstants.STYLE_STROKECOLOR+"=none;",d=this,c=[this.createVertexTemplateEntry(a+"graphics.barChart;"+e+"strokeColor2=none;strokeColor3=#666666;fillColor2=#008cff;fillColor3=#dddddd;",400,200,"","Bar Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","barChart","mockup graphics ").join(" ")),this.createVertexTemplateEntry(a+"graphics.columnChart;"+e+"strokeColor2=none;strokeColor3=#666666;fillColor2=#008cff;fillColor3=#dddddd;",400,200,"","Column Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics", +"columnChart","mockup graphics ").join(" ")),this.createVertexTemplateEntry(a+"graphics.lineChart;"+e+"strokeColor2=#666666;strokeColor3=#008cff;strokeColor4=#dddddd;",400,200,"","Line Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","lineChart","mockup graphics ").join(" ")),this.createVertexTemplateEntry(a+"graphics.pieChart;"+mxConstants.STYLE_STROKECOLOR+"=#008cff;parts=10,20,35;partColors=#e0e0e0,#d0d0d0,#c0c0c0,#b0b0b0,#a0a0a0;strokeWidth=2;",200,200,"","Pie Chart",null,null, +this.getTagsForStencil("mxgraph.mockup.graphics","pieChart","mockup graphics ").join(" ")),this.createVertexTemplateEntry(a+"graphics.simpleIcon;strokeColor=#999999;",50,50,"","Icon Placeholder",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","simpleIcon","mockup graphics icon placeholder").join(" ")),this.addDataEntry("mockup graphics icon grid placeholder",200,200,"Icon Grid","7ZdRa8MgEMc/ja8licu6Pm7pVgYb7G3PNrFRqjWobdNvv4vadYUVRpv5ZCDg/e9OzvuRCyJcyX6hScfeVUMFws8IV1op61eyr6gQqMh4g/AcFUUGLypeLnhz5806ounG/iWh8Ak7IrbUK14w9iCCsKPa8pqIN7Kk4kMZbrnagGuprFUS4SfDSKP2oGRgNMQw2gSDCN4OoTVUQzUIzEo44jyH5XHbxxBjVTfsZbVa00/eWBbiYPduqET27dCliVT1ettNnMFrMzFcdoK+1kNNIb1SQmlXPJ65BzwrLsQPfeUe0MP5oRjaX+yhk0IDF1RJavUBQvahTPCWvs0Zo7xl9lwjxtvtd+YJCCwCk9/54MTnej4hYVr6jAi47hKum3HlRxAReJWJ1/W8DtE/r/uEa7RpGJ/eNNEbbzjGx/eQ8N08K2P+22aJ19jDMia+PEv8Rh+X/wgQzNO13fnObvVf"), +this.createVertexTemplateEntry(a+"graphics.bubbleChart;"+e+"strokeColor2=none;strokeColor3=#666666;fillColor2=#008cff;fillColor3=#dddddd;",400,200,"","Bubble Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","bubbleChart","mockup graphics bubble chart").join(" ")),this.addDataEntry("mockup graphics gauge",100,100,"Gauge","zZXdT8IwEMD/mr6S0jqVRxnKiya8GJ/LemwN3bp0BcZ/760tXwKRGEGbLblv7n49MsLTsh1bURdvRoIm/Jnw1BrjglS2KWhNGFWS8BFhjOJL2MsZb997aS0sVO6SBBYSlkIvIFiCoXFrHQ1LsE5lQr+KKeiJaZRTpkLX1DhnSsKHTSGkWaGFoiJFU4CMitAq70Iz7AYsGgpX4oijPoqbsk8xxpm6q+WsmcOHkq6IcVi97jop27yj1CtNNl/UPa+orOnlYpGjfzhTWqdGG+u75jN/thX3PAN/0OMzcSA0s6SLxG5CYBMip1MpsQZLUZYSYCMPBlnma/sKnkvISLuHDysAqfd/ktLHkBBp4+jQnr0xb4rXNQZTgrNrDFlFKF0EDbdKC1B54b4YRWiG5dvc3QKgEHfg9D7wo31IJ+8kwcYTkoyOduPkdf1gGb67ZFFlRQdzODOV2wN778+lYNlpsDEBJ/QZ66hGmnvYkxPU2S9AvzuCTv+e9KaIhpm7Mnh6AP4huRn45Aj89k/0H9DbMO012fNbsUd191XzvoOP3ic="), +this.createVertexTemplateEntry(a+"graphics.plotChart;"+mxConstants.STYLE_STROKECOLOR+"=none;strokeColor2=#aaaaaa;strokeColor3=#666666;fillColor2=#99aaff,#0022ff,#008cff;",400,200,"","Plot Chart",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","plotChart","mockup graphics plot chart").join(" ")),this.addEntry("mockup graphics gantt chart",function(){var a=new mxCell("",new mxGeometry(0,0,600,300),b+"graphics.rrect;rSize=0;strokeColor=#999999;");a.vertex=!0;var c=new mxCell("#",new mxGeometry(0, +0,20,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("Task",new mxGeometry(20,0,40,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("Start",new mxGeometry(60,0,130,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c); +c=new mxCell("Effort",new mxGeometry(190,0,50,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("20//10//2014",new mxGeometry(240,0,210,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("27//10//2014",new mxGeometry(450,0,150,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;"); +c.vertex=!0;a.insert(c);c=new mxCell("M",new mxGeometry(240,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("T",new mxGeometry(270,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("W",new mxGeometry(300,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;"); +c.vertex=!0;a.insert(c);c=new mxCell("T",new mxGeometry(330,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("F",new mxGeometry(360,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("S",new mxGeometry(390,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;"); +c.vertex=!0;a.insert(c);c=new mxCell("S",new mxGeometry(420,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("M",new mxGeometry(450,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("T",new mxGeometry(480,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;"); +c.vertex=!0;a.insert(c);c=new mxCell("W",new mxGeometry(510,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("T",new mxGeometry(540,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("F",new mxGeometry(570,20,30,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;"); +c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(0,40,240,260),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(240,40,60,260),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(300,40,60,260),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;"); +c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(360,40,60,260),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(420,40,60,260),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(480,40,60,260),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;"); +c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(540,40,60,260),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"graphics.rrect;rSize=0;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("1",new mxGeometry(0,40,20,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("Task 1",new mxGeometry(20,40,40,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("20//10//2014 8:00 AM",new mxGeometry(60,40,130,20),b+"graphics.anchor;fontColor=#666666;"); +c.vertex=!0;a.insert(c);c=new mxCell("40h",new mxGeometry(190,40,50,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("2",new mxGeometry(0,60,20,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("Task 2",new mxGeometry(20,60,40,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("20//10//2014 8:00 AM",new mxGeometry(60,60,130,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("40h", +new mxGeometry(190,60,50,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("3",new mxGeometry(0,80,20,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("Task 3",new mxGeometry(20,80,40,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("20//10//2014 8:00 AM",new mxGeometry(60,80,130,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("40h",new mxGeometry(190,80,50,20),b+"graphics.anchor;fontColor=#666666;"); +c.vertex=!0;a.insert(c);c=new mxCell("4",new mxGeometry(0,100,20,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("Task 4",new mxGeometry(20,100,40,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("20//10//2014 8:00 AM",new mxGeometry(60,100,130,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("40h",new mxGeometry(190,100,50,20),b+"graphics.anchor;fontColor=#666666;");c.vertex=!0;a.insert(c);c=new mxCell("", +new mxGeometry(250,45,130,10),b+"graphics.rrect;rSize=0;strokeColor=none;fillColor=#aaddff;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(250,65,40,10),b+"graphics.rrect;rSize=0;strokeColor=none;fillColor=#aaddff;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(280,85,100,10),b+"graphics.rrect;rSize=0;strokeColor=none;fillColor=#aaddff;");c.vertex=!0;a.insert(c);c=new mxCell("",new mxGeometry(340,105,70,10),b+"graphics.rrect;rSize=0;strokeColor=none;fillColor=#aaddff;");c.vertex= +!0;a.insert(c);return d.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Gantt Chart")}),this.createVertexTemplateEntry(a+"misc.map;",250,250,"","Map",null,null,this.getTagsForStencil("mxgraph.mockup.graphics","map","mockup graphics ").join(" "))];this.addPalette("mockupGraphics","Mockup Graphics",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMockupMarkupPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+ "=bottom;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKECOLOR+"=#999999;",e=mxConstants.STYLE_STROKECOLOR+"=none;";this.addPaletteFunctions("mockupMarkup","Mockup Markup",!1,[this.createVertexTemplateEntry(a+"markup.curlyBrace;"+b,100,20,"","Horizontal Curly Brace",null,null,this.getTagsForStencil("mxgraph.mockup.markup","curlyBrace","horizontal").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_LABEL_POSITION+ "=right;"+mxConstants.STYLE_ALIGN+"=left;strokeWidth=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.markup.curlyBrace;html=1;shadow=0;dashed=0;"+b+mxConstants.STYLE_DIRECTION+"="+mxConstants.DIRECTION_NORTH+";",20,100,"","Vertical Curly Brace",null,null,this.getTagsForStencil("mxgraph.mockup.markup","curlyBrace","vertical").join(" ")),this.createVertexTemplateEntry(a+"markup.line;"+b,100,20,"","Horizontal Line",null,null,this.getTagsForStencil("mxgraph.mockup.markup","line","horizontal").join(" ")), this.createVertexTemplateEntry(a+"markup.line;"+b+mxConstants.STYLE_DIRECTION+"="+mxConstants.DIRECTION_NORTH+";",20,100,"","Vertical Line",null,null,this.getTagsForStencil("mxgraph.mockup.markup","line","vertical").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+"=mxgraph.mockup.markup.scratchOut;shadow=0;dashed=0;html=1;"+b+"strokeWidth=4;",200,100,"","Scratch Out",null,null,this.getTagsForStencil("mxgraph.mockup.markup","scratchOut","scratch out").join(" ")),this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE+ "=mxgraph.mockup.markup.redX;fillColor=#ff0000;html=1;shadow=0;"+e,200,100,"","Red X",null,null,this.getTagsForStencil("mxgraph.mockup.markup","redX","red").join(" "))])};Sidebar.prototype.addMockupMiscPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+ -"=mxgraph.mockup.",e=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=top;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=bottom;strokeWidth=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",c=mxConstants.STYLE_STROKECOLOR+"=#999999;",d=mxConstants.STYLE_STROKECOLOR+"=none;",f=this,g=c+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;fillColor=#ffffff;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=2;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",h= -[this.createVertexTemplateEntry(a+"misc.help_icon;",32,32,"","Help Icon",null,null,this.getTagsForStencil("mxgraph.mockup.misc","help_icon","mockup ").join(" ")),this.createVertexTemplateEntry(a+"misc.playbackControls;fillColor=#ffffff;"+c+"fillColor2=#99ddff;strokeColor2=none;fillColor3=#ffffff;strokeColor3=none;",250,30,"","Playback Controls",null,null,this.getTagsForStencil("mxgraph.mockup.misc","playbackControls","mockup ").join(" ")),this.createVertexTemplateEntry(a+"misc.progressBar;fillColor=#cccccc;"+ -d+"fillColor2=#99ddff;barPos=80;",200,20,"","Progress Bar",null,null,this.getTagsForStencil("mxgraph.mockup.misc","progress bar","mockup ").join(" ")),this.createVertexTemplateEntry(a+"misc.shoppingCart;"+c,50,50,"","Shopping Cart",null,null,this.getTagsForStencil("mxgraph.mockup.misc","shopping cart","mockup ").join(" ")),this.createVertexTemplateEntry(a+"misc.rating;"+c+mxConstants.STYLE_FILLCOLOR+"=#ffff00;emptyFillColor=#ffffff;grade=4;ratingScale=5;ratingStyle=star;",225,30,"","Rating",null, -null,this.getTagsForStencil("mxgraph.mockup.misc","rating","mockup ").join(" ")),this.createVertexTemplateEntry(a+"misc.mail2;fillColor=#ffffff;"+c,100,60,"","Mail",null,null,this.getTagsForStencil("mxgraph.mockup.misc","mail","mockup ").join(" ")),this.createVertexTemplateEntry(a+"misc.volumeSlider;barPos=80;fillColor=#cccccc;"+c+"fillColor2=#ddeeff;",250,30,"","Volume Slider",null,null,this.getTagsForStencil("mxgraph.mockup.misc","volume slider","mockup ").join(" ")),this.createVertexTemplateEntry(g+ -"misc.editIcon;",50,50,"","Edit Icon",null,null,this.getTagsForStencil("mxgraph.mockup.misc","editIcon","mockup edit icon").join(" ")),this.createVertexTemplateEntry(g+"misc.printIcon;",50,50,"","Print Icon",null,null,this.getTagsForStencil("mxgraph.mockup.misc","printIcon","mockup print icon").join(" ")),this.createVertexTemplateEntry(g+"misc.shareIcon;",50,50,"","Share Icon",null,null,this.getTagsForStencil("mxgraph.mockup.misc","shareIcon","mockup share icon").join(" ")),this.createVertexTemplateEntry(g+ -"misc.trashcanIcon;",50,50,"","Trashcan Icon",null,null,this.getTagsForStencil("mxgraph.mockup.misc","trashcanIcon","mockup trashcan icon").join(" ")),this.createVertexTemplateEntry(g+"misc.copyrightIcon;",25,25,"","Copyright",null,null,this.getTagsForStencil("mxgraph.mockup.misc","copyrightIcon","mockup copyright icon").join(" ")),this.createVertexTemplateEntry(g+"misc.registeredIcon;",25,25,"","Registered",null,null,this.getTagsForStencil("mxgraph.mockup.misc","registeredIcon","mockup registered icon").join(" ")), -this.createVertexTemplateEntry(g+"misc.volumeIcon;",25,25,"","Volume",null,null,this.getTagsForStencil("mxgraph.mockup.misc","volumeIcon","mockup volume icon").join(" ")),this.createVertexTemplateEntry(b+"misc.ruler2;dx=100;rulerOrient=down;unitSize=10;fillColor=#ffffff;fontColor=#999999;spacingLeft=96;align=left;verticalAlign=middle;spacingBottom=10;spacingTop=0;spacingRight=0;spacing=0;"+c,350,30,"1","Horizontal Ruler",null,null,this.getTagsForStencil("mxgraph.mockup.misc","ruler","mockup horizontal").join(" ")), -this.createVertexTemplateEntry(b+"misc.ruler2;dx=100;rulerOrient=up;unitSize=10;fillColor=#ffffff;fontColor=#999999;spacingLeft=96;align=left;verticalAlign=middle;spacingBottom=0;spacingTop=10;spacingRight=0;spacing=0;"+c,350,30,"1","Horizontal Ruler",null,null,this.getTagsForStencil("mxgraph.mockup.misc","ruler","mockup horizontal").join(" ")),this.createVertexTemplateEntry(b+"misc.ruler2;dx=100;rulerOrient=down;unitSize=10;fillColor=#ffffff;fontColor=#999999;spacingLeft=96;align=left;verticalAlign=middle;spacingBottom=10;spacingTop=0;spacingRight=0;rotation=-90;spacing=0;"+ -c,350,30,"1","Vertical Ruler",null,null,this.getTagsForStencil("mxgraph.mockup.misc","ruler","mockup horizontal").join(" ")),this.createVertexTemplateEntry(b+"misc.ruler2;dx=100;rulerOrient=up;unitSize=10;fillColor=#ffffff;fontColor=#999999;spacingLeft=96;align=left;verticalAlign=middle;spacingBottom=0;spacingTop=10;spacingRight=0;rotation=-90;spacing=0;"+c,350,30,"1","Vertical Ruler",null,null,this.getTagsForStencil("mxgraph.mockup.misc","ruler","mockup horizontal").join(" ")),this.addEntry("mockup revision table", -function(){var a=new mxCell("",new mxGeometry(0,0,400,75),b+"misc.rrect;rSize=0;strokeColor=#666666;fillColor=#ffffff;");a.vertex=!0;var c=new mxCell("REVISION HISTORY",new mxGeometry(0,0,400,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"misc.rrect;rSize=0;fontSize=17;fontColor=#999999;");c.vertex=!0;a.insert(c);c=new mxCell("REV",new mxGeometry(0,25,50,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"misc.rrect;rSize=0;fontSize=17;fontColor=#999999;"); -c.vertex=!0;a.insert(c);c=new mxCell("DATE",new mxGeometry(50,25,150,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"misc.rrect;rSize=0;fontSize=17;fontColor=#999999;");c.vertex=!0;a.insert(c);c=new mxCell("DESCRIPTION",new mxGeometry(200,25,200,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"misc.rrect;rSize=0;fontSize=17;fontColor=#999999;");c.vertex=!0;a.insert(c);c=new mxCell("A",new mxGeometry(0,50,50,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+ -b+"misc.rrect;rSize=0;fontSize=17;fontColor=#999999;");c.vertex=!0;a.insert(c);c=new mxCell("10/23/2014",new mxGeometry(50,50,150,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"misc.rrect;rSize=0;fontSize=17;fontColor=#999999;");c.vertex=!0;a.insert(c);c=new mxCell("Design modified",new mxGeometry(200,50,200,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"misc.rrect;rSize=0;fontSize=17;fontColor=#999999;");c.vertex=!0;a.insert(c);return f.createVertexTemplateFromCells([a], -a.geometry.width,a.geometry.height,"Revision Table")}),this.addDataEntry("mockup status bar",500,30,"Status Bar","7VfRTsIwFP2aPUq6liF7FZUXfcLE57pdtsZuXdoi4Nd713UCDnRETNC4hKT33N2195zTdQRsUqymmlf5vUpBBuwmYBOtlG1GxWoCUgaUiDRg1wGlBH8BvT2QDV2WVFxDafsU0KbghcsFNEgDGLuWHjBWq2d4FKnNEQgDdmVynqolBgSDlJscUh9wKbISxwlODxqB3BZyU1XVjyxWWd3uoFDJ86IaFMIkA60hwfVe6Zl4Bf+sZt6Jkkq7hbDYXZiZCym38Lm7EPe9gLawOsiHgzwZU1AFWL3GW5a+P8xGpOGM5CCy3Jcxj3HTxNl76YZdHHiC95PNOmTPLLcLgxiu2J4F81GH+VKVUJOuSuvvCSMf9xAnTQGcOO0CJczr+UzFE1Fmdy5ys/ZSj+5XzxdETcF6J9pSNoyjrrL0BMoOO8o+OEHJeWynXy0qJV/Kum/DnkLW6JCs7F/W78rKQvKVrOEP7dbReRx6vEzymvpTsDmMdzdJS913aLrsQZNvDwtFZeCDpbwbOwc5IePE+UyDEa/8SbZH/hZxvTgZfcrJBd112EXruC2P0R96c4z/oMVGp7dY3N9iUhxppl4tj49yUPcdtc8/4fH+wXDzze9yO38J3gA="), +"=mxgraph.mockup.",e=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=top;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=bottom;strokeWidth=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",d=mxConstants.STYLE_STROKECOLOR+"=#999999;",c=mxConstants.STYLE_STROKECOLOR+"=none;",f=this,g=d+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=2;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",h=[this.createVertexTemplateEntry(a+ +"misc.help_icon;",32,32,"","Help Icon",null,null,this.getTagsForStencil("mxgraph.mockup.misc","help_icon","mockup ").join(" ")),this.createVertexTemplateEntry(a+"misc.playbackControls;"+d+"fillColor2=#99ddff;strokeColor2=none;fillColor3=#ffffff;strokeColor3=none;",250,30,"","Playback Controls",null,null,this.getTagsForStencil("mxgraph.mockup.misc","playbackControls","mockup ").join(" ")),this.createVertexTemplateEntry(a+"misc.progressBar;fillColor=#cccccc;"+c+"fillColor2=#99ddff;barPos=80;",200,20, +"","Progress Bar",null,null,this.getTagsForStencil("mxgraph.mockup.misc","progress bar","mockup ").join(" ")),this.createVertexTemplateEntry(a+"misc.shoppingCart;"+d,50,50,"","Shopping Cart",null,null,this.getTagsForStencil("mxgraph.mockup.misc","shopping cart","mockup ").join(" ")),this.createVertexTemplateEntry(a+"misc.rating;"+d+mxConstants.STYLE_FILLCOLOR+"=#ffff00;emptyFillColor=#ffffff;grade=4;ratingScale=5;ratingStyle=star;",225,30,"","Rating",null,null,this.getTagsForStencil("mxgraph.mockup.misc", +"rating","mockup ").join(" ")),this.createVertexTemplateEntry(a+"misc.mail2;"+d,100,60,"","Mail",null,null,this.getTagsForStencil("mxgraph.mockup.misc","mail","mockup ").join(" ")),this.createVertexTemplateEntry(a+"misc.volumeSlider;barPos=80;fillColor=#cccccc;"+d+"fillColor2=#ddeeff;",250,30,"","Volume Slider",null,null,this.getTagsForStencil("mxgraph.mockup.misc","volume slider","mockup ").join(" ")),this.createVertexTemplateEntry(g+"misc.editIcon;",50,50,"","Edit Icon",null,null,this.getTagsForStencil("mxgraph.mockup.misc", +"editIcon","mockup edit icon").join(" ")),this.createVertexTemplateEntry(g+"misc.printIcon;",50,50,"","Print Icon",null,null,this.getTagsForStencil("mxgraph.mockup.misc","printIcon","mockup print icon").join(" ")),this.createVertexTemplateEntry(g+"misc.shareIcon;",50,50,"","Share Icon",null,null,this.getTagsForStencil("mxgraph.mockup.misc","shareIcon","mockup share icon").join(" ")),this.createVertexTemplateEntry(g+"misc.trashcanIcon;",50,50,"","Trashcan Icon",null,null,this.getTagsForStencil("mxgraph.mockup.misc", +"trashcanIcon","mockup trashcan icon").join(" ")),this.createVertexTemplateEntry(g+"misc.copyrightIcon;",25,25,"","Copyright",null,null,this.getTagsForStencil("mxgraph.mockup.misc","copyrightIcon","mockup copyright icon").join(" ")),this.createVertexTemplateEntry(g+"misc.registeredIcon;",25,25,"","Registered",null,null,this.getTagsForStencil("mxgraph.mockup.misc","registeredIcon","mockup registered icon").join(" ")),this.createVertexTemplateEntry(g+"misc.volumeIcon;",25,25,"","Volume",null,null,this.getTagsForStencil("mxgraph.mockup.misc", +"volumeIcon","mockup volume icon").join(" ")),this.createVertexTemplateEntry(b+"misc.ruler2;dx=100;rulerOrient=down;unitSize=10;fontColor=#999999;spacingLeft=96;align=left;verticalAlign=middle;spacingBottom=10;spacingTop=0;spacingRight=0;spacing=0;"+d,350,30,"1","Horizontal Ruler",null,null,this.getTagsForStencil("mxgraph.mockup.misc","ruler","mockup horizontal").join(" ")),this.createVertexTemplateEntry(b+"misc.ruler2;dx=100;rulerOrient=up;unitSize=10;fontColor=#999999;spacingLeft=96;align=left;verticalAlign=middle;spacingBottom=0;spacingTop=10;spacingRight=0;spacing=0;"+ +d,350,30,"1","Horizontal Ruler",null,null,this.getTagsForStencil("mxgraph.mockup.misc","ruler","mockup horizontal").join(" ")),this.createVertexTemplateEntry(b+"misc.ruler2;dx=100;rulerOrient=down;unitSize=10;fontColor=#999999;spacingLeft=96;align=left;verticalAlign=middle;spacingBottom=10;spacingTop=0;spacingRight=0;rotation=-90;spacing=0;"+d,350,30,"1","Vertical Ruler",null,null,this.getTagsForStencil("mxgraph.mockup.misc","ruler","mockup horizontal").join(" ")),this.createVertexTemplateEntry(b+ +"misc.ruler2;dx=100;rulerOrient=up;unitSize=10;fontColor=#999999;spacingLeft=96;align=left;verticalAlign=middle;spacingBottom=0;spacingTop=10;spacingRight=0;rotation=-90;spacing=0;"+d,350,30,"1","Vertical Ruler",null,null,this.getTagsForStencil("mxgraph.mockup.misc","ruler","mockup horizontal").join(" ")),this.addEntry("mockup revision table",function(){var a=new mxCell("",new mxGeometry(0,0,400,75),b+"misc.rrect;rSize=0;strokeColor=#666666;");a.vertex=!0;var d=new mxCell("REVISION HISTORY",new mxGeometry(0, +0,400,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"misc.rrect;rSize=0;fontSize=17;fontColor=#999999;");d.vertex=!0;a.insert(d);d=new mxCell("REV",new mxGeometry(0,25,50,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"misc.rrect;rSize=0;fontSize=17;fontColor=#999999;");d.vertex=!0;a.insert(d);d=new mxCell("DATE",new mxGeometry(50,25,150,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"misc.rrect;rSize=0;fontSize=17;fontColor=#999999;"); +d.vertex=!0;a.insert(d);d=new mxCell("DESCRIPTION",new mxGeometry(200,25,200,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"misc.rrect;rSize=0;fontSize=17;fontColor=#999999;");d.vertex=!0;a.insert(d);d=new mxCell("A",new mxGeometry(0,50,50,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"misc.rrect;rSize=0;fontSize=17;fontColor=#999999;");d.vertex=!0;a.insert(d);d=new mxCell("10/23/2014",new mxGeometry(50,50,150,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+ +b+"misc.rrect;rSize=0;fontSize=17;fontColor=#999999;");d.vertex=!0;a.insert(d);d=new mxCell("Design modified",new mxGeometry(200,50,200,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+b+"misc.rrect;rSize=0;fontSize=17;fontColor=#999999;");d.vertex=!0;a.insert(d);return f.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Revision Table")}),this.addDataEntry("mockup status bar",500,30,"Status Bar","7VfRTsIwFP2aPUq6liF7FZUXfcLE57pdtsZuXdoi4Nd713UCDnRETNC4hKT33N2195zTdQRsUqymmlf5vUpBBuwmYBOtlG1GxWoCUgaUiDRg1wGlBH8BvT2QDV2WVFxDafsU0KbghcsFNEgDGLuWHjBWq2d4FKnNEQgDdmVynqolBgSDlJscUh9wKbISxwlODxqB3BZyU1XVjyxWWd3uoFDJ86IaFMIkA60hwfVe6Zl4Bf+sZt6Jkkq7hbDYXZiZCym38Lm7EPe9gLawOsiHgzwZU1AFWL3GW5a+P8xGpOGM5CCy3Jcxj3HTxNl76YZdHHiC95PNOmTPLLcLgxiu2J4F81GH+VKVUJOuSuvvCSMf9xAnTQGcOO0CJczr+UzFE1Fmdy5ys/ZSj+5XzxdETcF6J9pSNoyjrrL0BMoOO8o+OEHJeWynXy0qJV/Kum/DnkLW6JCs7F/W78rKQvKVrOEP7dbReRx6vEzymvpTsDmMdzdJS913aLrsQZNvDwtFZeCDpbwbOwc5IePE+UyDEa/8SbZH/hZxvTgZfcrJBd112EXruC2P0R96c4z/oMVGp7dY3N9iUhxppl4tj49yUPcdtc8/4fH+wXDzze9yO38J3gA="), this.createVertexTemplateEntry(e+"misc.pin;fillColor2=#00dd00;fillColor3=#004400;strokeColor=#006600;",10,25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" ")),this.createVertexTemplateEntry(e+"misc.pin;fillColor2=#dd0000;fillColor3=#440000;strokeColor=#660000;",10,25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" ")),this.createVertexTemplateEntry(e+"misc.pin;fillColor2=#ccccff;fillColor3=#0000ff;strokeColor=#000066;", 10,25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" ")),this.createVertexTemplateEntry(e+"misc.pin;fillColor2=#ffff00;fillColor3=#888800;strokeColor=#999900;",10,25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" ")),this.createVertexTemplateEntry(e+"misc.pin;fillColor2=#ffa500;fillColor3=#885000;strokeColor=#997000;",10,25,"","Pin",null,null,this.getTagsForStencil("mxgraph.mockup.misc","pin","mockup ").join(" "))]; this.addPalette("mockupMisc","Mockup Misc",!1,mxUtils.bind(this,function(a){for(var b=0;b<h.length;b++)a.appendChild(h[b](a))}))};Sidebar.prototype.addMockupNavigationPalette=function(){var a=mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;strokeWidth=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",e= -mxConstants.STYLE_STROKECOLOR+"=#999999;",c=[this.addDataEntry("mockup navigation breadcrumb",300,30,"Breadcrumb","7VaxboMwEP0ar8jYlGQObbK0U4fOFhhsxWBknIT063uAC40CUoeAGGIJyXfnO87v+VlGNMrrg2Gl+NAJV4i+IRoZrW03y+uIK4UIlgmir4gQDB8i+4mo30ZxyQwv7H8SSJdwZurEO887u3IDLleqslflIpU1+si/ZGIFOHxEd5Vgib6AgcFIWCV44gymZFbAPIY+oBzdCZurIatsSuZ11uzby3V8PJVewc4yY1bqwmNFLHSTlerCfsrvZrW/cXakVRODjmjYjt91rtPmF25X3FheTyLTuhwsB65zbs0VllzcBiEaduBhwWUmXBZ1PlZ1dtZnDjDDxCE9jjq9Qx2RMLN946sBnQT3oLN2PBj0+hbwPxyQmTgIJk8+WRkJi518l7C9J2EuIbw8hTDOgR8sp4RwUgl0ZSwsrQR/5D6aSwqbpxTGSejP/QJS2E5KIVgZC2NSwHgbp+lMLIxcSA+SApjDg7eN3byHfwA="), +mxConstants.STYLE_STROKECOLOR+"=#999999;",d=[this.addDataEntry("mockup navigation breadcrumb",300,30,"Breadcrumb","7VaxboMwEP0ar8jYlGQObbK0U4fOFhhsxWBknIT063uAC40CUoeAGGIJyXfnO87v+VlGNMrrg2Gl+NAJV4i+IRoZrW03y+uIK4UIlgmir4gQDB8i+4mo30ZxyQwv7H8SSJdwZurEO887u3IDLleqslflIpU1+si/ZGIFOHxEd5Vgib6AgcFIWCV44gymZFbAPIY+oBzdCZurIatsSuZ11uzby3V8PJVewc4yY1bqwmNFLHSTlerCfsrvZrW/cXakVRODjmjYjt91rtPmF25X3FheTyLTuhwsB65zbs0VllzcBiEaduBhwWUmXBZ1PlZ1dtZnDjDDxCE9jjq9Qx2RMLN946sBnQT3oLN2PBj0+hbwPxyQmTgIJk8+WRkJi518l7C9J2EuIbw8hTDOgR8sp4RwUgl0ZSwsrQR/5D6aSwqbpxTGSejP/QJS2E5KIVgZC2NSwHgbp+lMLIxcSA+SApjDg7eN3byHfwA="), this.createVertexTemplateEntry(b+"navigation.stepBar;strokeColor=#c4c4c4;textColor=#666666;textColor2=#008cff;mainText=,,+,;textSize=17;fillColor=#666666;overflow=fill;fontSize=17;fontColor=#666666;",300,50,'<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%" style="font-size:1em;"><tr height="0%"><td width="25%">Layer 1</td><td width="25%">Layer 2</td><td width="25%" style="color:#008cff;">Layer 3</td><td width="25%">Layer 4</td></tr><tr height="100%"><td/></tr></table>', "Step Bar",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","stepBar","mockup navigation ").join(" ")),this.createVertexTemplateEntry(b+"navigation.stepBar;strokeColor=#c4c4c4;textColor=#666666;textColor2=#008cff;mainText=Layer 1,Layer 2,+Layer 3,Layer 4;textSize=17;fillColor=#666666;overflow=fill;fontSize=17;fontColor=#666666;",300,50,"","Step Bar",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","stepBar","mockup navigation ").join(" ")),this.createVertexTemplateEntry(a+ -"navigation.coverFlow;strokeColor=#999999;fillColor=#ffffff;",400,200,"","Cover Flow",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","coverFlow","mockup navigation ").join(" ")),this.createVertexTemplateEntry(a+"navigation.scrollBar;fillColor=#ffffff;"+e+"barPos=20;fillColor2=#99ddff;strokeColor2=none;",200,20,"","Horizontal Scroll Bar",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","scrollBar","mockup navigation ").join(" ")),this.createVertexTemplateEntry(a+"navigation.scrollBar;fillColor=#ffffff;"+ -e+"barPos=20;fillColor2=#99ddff;strokeColor2=none;direction=north;",20,200,"","Vertical Scroll Bar",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","scrollBar","mockup navigation ").join(" ")),this.createVertexTemplateEntry(b+"navigation.pagination;linkText=;fontSize=17;fontColor=#0000ff;fontStyle=4;",350,30,"<< Prev 1 2 3 4 5 6 7 8 9 10 Next >>","Pagination",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","pagination","mockup navigation ").join(" ")),this.createVertexTemplateEntry(a+ -"navigation.pageControl;fillColor=#999999;strokeColor=#ddeeff;",100,30,"","Page Control",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","pageControl","mockup navigation ").join(" ")),this.createVertexTemplateEntry(a+"navigation.mapNavigator;fillColor=#ffffff;fillColor2=#99ddff;strokeColor2=none;strokeColor3=#ffffff;"+e,60,100,"","Map Navigator",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","mapNavigator","mockup navigation ").join(" ")),this.createVertexTemplateEntry(a+ -"misc.loading_circle_1;pointerEvents=1",90,90,"","Wheel Throbber 1",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","loading_circle_1","mockup navigation ").join(" ")),this.createVertexTemplateEntry(a+"misc.loading_circle_2;pointerEvents=1",90,90,"","Wheel Throbber 2",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","loading_circle_2","mockup navigation ").join(" "))];this.addPalette("mockupNavigation","Mockup Navigation",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))}; -Sidebar.prototype.addMockupTextPalette=function(){var a=mxConstants.STYLE_STROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKECOLOR+"=#666666;",e=mxConstants.STYLE_STROKECOLOR+"=none;",c=this,d=[this.createVertexTemplateEntry("shape=rectangle;strokeColor=none;fillColor=none;linkText=;fontSize=17;fontColor=#0000ff;fontStyle=4;html=1;align=center;",150,30,"Link","Link",null,null,this.getTagsForStencil("mxgraph.mockup.text","link", -"mockup text ").join(" ")),this.addEntry("mockup text horizontal button bar",function(){var b=new mxCell("",new mxGeometry(0,0,500,25),a+"text.rrect;rSize=0;fillColor=#ffffff;strokeColor=#666666;");b.vertex=!0;var d=new mxCell("Button 2",new mxGeometry(125,0,125,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+a+"text.rrect;rSize=0;fontSize=17;fontColor=#0000ff;");d.vertex=!0;b.insert(d);d=new mxCell("Button 3",new mxGeometry(250,0,125,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+ -a+"text.rrect;rSize=0;fontSize=17;fontColor=#0000ff;");d.vertex=!0;b.insert(d);d=new mxCell("Button 4",new mxGeometry(375,0,125,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+a+"text.rrect;rSize=0;fontSize=17;fontColor=#0000ff;");d.vertex=!0;b.insert(d);d=new mxCell("Button 1",new mxGeometry(0,0,125,25),a+"text.rrect;rSize=0;fontSize=17;fontColor=#ffffff;fillColor=#008cff;strokeColor=#008cff;");d.vertex=!0;b.insert(d);return c.createVertexTemplateFromCells([b],b.geometry.width, -b.geometry.height,"Horizontal Button Bar")}),this.createVertexTemplateEntry(a+"text.callout;linkText=;textSize=17;textColor=#666666;callDir=NW;callStyle=line;fontSize=17;fontColor=#666666;align=left;verticalAlign=top;"+b,200,100,"Callout","Callout",null,null,this.getTagsForStencil("mxgraph.mockup.text","callout","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.callout;linkText=;textSize=17;textColor=#666666;callDir=NE;callStyle=line;fontSize=17;fontColor=#666666;align=right;verticalAlign=top;"+ -b,200,100,"Callout","Callout",null,null,this.getTagsForStencil("mxgraph.mockup.text","callout","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.callout;linkText=;textSize=17;textColor=#666666;callDir=SW;callStyle=line;fontSize=17;fontColor=#666666;align=left;verticalAlign=bottom;"+b,200,100,"Callout","Callout",null,null,this.getTagsForStencil("mxgraph.mockup.text","callout","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.callout;linkText=;textSize=17;textColor=#666666;callDir=SE;callStyle=line;fontSize=17;fontColor=#666666;align=right;verticalAlign=bottom;"+ -b,200,100,"Callout","Callout",null,null,this.getTagsForStencil("mxgraph.mockup.text","callout","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.stickyNote;fontColor=#666666;mainText=;fontSize=17;whiteSpace=wrap;",200,200,"Note Line 1\nNote Line 2\nNote Line 3","Sticky Note",null,null,this.getTagsForStencil("mxgraph.mockup.text","stickyNote","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.bulletedList;textColor=#666666;mainText=,,,,;textSize=17;bulletStyle=none;"+ -e+mxConstants.STYLE_FILLCOLOR+"=none;align=left;verticalAlign=top;fontSize=17;fontColor=#666666;",150,135,"-Line 1\n-Line 2\n-Line 3\n-Line 4","Bulleted List",null,null,this.getTagsForStencil("mxgraph.mockup.text","bulletedList","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.textBox;fillColor=#ffffff;fontColor=#666666;align=left;fontSize=17;spacingLeft=4;spacingTop=-3;"+b+"mainText=",150,30,"Line 1","Text Box",null,null,this.getTagsForStencil("mxgraph.mockup.text","textBox","mockup text ").join(" ")), -this.createVertexTemplateEntry(a+"text.captcha;fillColor=#ffffff;fontColor=#666666;fontSize=25;"+b+"mainText=",150,50,"fG2yQ23","Captcha",null,null,this.getTagsForStencil("mxgraph.mockup.text","captcha","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.alphanumeric;linkText=;html=1;fontStyle=4;fontSize=17;fontColor=#0000ff;",450,50,"0-9 A B C D E F G H I J K L M N O P Q R S T U V X Y Z","Alphanumeric",null,null,this.getTagsForStencil("mxgraph.mockup.text","alphanumeric","mockup text ").join(" ")), -this.createVertexTemplateEntry("text;spacingTop=-5;fillColor=#ffffff;whiteSpace=wrap;html=1;align=left;fontSize=12;fontFamily=Helvetica;fillColor=none;strokeColor=none;",250,470,"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\nSed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?", -"Paragraph of Text",null,null,this.getTagsForStencil("mxgraph.mockup.text","peragraph of text","mockup text ").join(" ")),this.addEntry("mockup text table",function(){var a=new mxCell('<table cellpadding="4" cellspacing="0" border="1" style="font-size:1em;width:100%;height:100%;"><tr><th>Header 1</th><th>Header 2</th></tr><tr><td>row 1, cell 1</td><td>row 1, cell 2</td></tr><tr><td>row 2, cell 1</td><td>row 2, cell 2</td></tr></table> ',new mxGeometry(0,0,180,80),"verticalAlign=top;align=left;overflow=fill;fillColor=#ffffff;fontSize=12;fontFamily=Helvetica;html=1"); -a.vertex=!0;return c.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Table")})];this.addPalette("mockupText","Mockup Text",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))}})();(function(){Sidebar.prototype.addMSCAEPalette=function(){this.addMSCAECompaniesPalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.addMSCAEEnterpriseFlatPalette("mxgraph.mscae",100,this);this.addMSCAEIntuneFlatPalette("mxgraph.mscae",100,this);this.addMSCAEOMSFlatPalette("mxgraph.mscae",100,this);this.addMSCAESystemCenterFlatPalette("mxgraph.mscae",100,this);this.addMSCAEAIandMLServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/"); +"navigation.coverFlow;strokeColor=#999999;",400,200,"","Cover Flow",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","coverFlow","mockup navigation ").join(" ")),this.createVertexTemplateEntry(a+"navigation.scrollBar;"+e+"barPos=20;fillColor2=#99ddff;strokeColor2=none;",200,20,"","Horizontal Scroll Bar",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","scrollBar","mockup navigation ").join(" ")),this.createVertexTemplateEntry(a+"navigation.scrollBar;"+e+"barPos=20;fillColor2=#99ddff;strokeColor2=none;direction=north;", +20,200,"","Vertical Scroll Bar",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","scrollBar","mockup navigation ").join(" ")),this.createVertexTemplateEntry(b+"navigation.pagination;linkText=;fontSize=17;fontColor=#0000ff;fontStyle=4;",350,30,"<< Prev 1 2 3 4 5 6 7 8 9 10 Next >>","Pagination",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","pagination","mockup navigation ").join(" ")),this.createVertexTemplateEntry(a+"navigation.pageControl;fillColor=#999999;strokeColor=#ddeeff;", +100,30,"","Page Control",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","pageControl","mockup navigation ").join(" ")),this.createVertexTemplateEntry(a+"navigation.mapNavigator;fillColor2=#99ddff;strokeColor2=none;strokeColor3=#ffffff;"+e,60,100,"","Map Navigator",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","mapNavigator","mockup navigation ").join(" ")),this.createVertexTemplateEntry(a+"misc.loading_circle_1;pointerEvents=1",90,90,"","Wheel Throbber 1",null,null,this.getTagsForStencil("mxgraph.mockup.navigation", +"loading_circle_1","mockup navigation ").join(" ")),this.createVertexTemplateEntry(a+"misc.loading_circle_2;pointerEvents=1",90,90,"","Wheel Throbber 2",null,null,this.getTagsForStencil("mxgraph.mockup.navigation","loading_circle_2","mockup navigation ").join(" "))];this.addPalette("mockupNavigation","Mockup Navigation",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMockupTextPalette=function(){var a=mxConstants.STYLE_STROKEWIDTH+"=1;shadow=0;dashed=0;align=center;html=1;"+ +mxConstants.STYLE_SHAPE+"=mxgraph.mockup.",b=mxConstants.STYLE_STROKECOLOR+"=#666666;",e=mxConstants.STYLE_STROKECOLOR+"=none;",d=this,c=[this.createVertexTemplateEntry("shape=rectangle;strokeColor=none;fillColor=none;linkText=;fontSize=17;fontColor=#0000ff;fontStyle=4;html=1;align=center;",150,30,"Link","Link",null,null,this.getTagsForStencil("mxgraph.mockup.text","link","mockup text ").join(" ")),this.addEntry("mockup text horizontal button bar",function(){var b=new mxCell("",new mxGeometry(0,0, +500,25),a+"text.rrect;rSize=0;strokeColor=#666666;");b.vertex=!0;var c=new mxCell("Button 2",new mxGeometry(125,0,125,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+a+"text.rrect;rSize=0;fontSize=17;fontColor=#0000ff;");c.vertex=!0;b.insert(c);c=new mxCell("Button 3",new mxGeometry(250,0,125,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+a+"text.rrect;rSize=0;fontSize=17;fontColor=#0000ff;");c.vertex=!0;b.insert(c);c=new mxCell("Button 4",new mxGeometry(375, +0,125,25),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;"+a+"text.rrect;rSize=0;fontSize=17;fontColor=#0000ff;");c.vertex=!0;b.insert(c);c=new mxCell("Button 1",new mxGeometry(0,0,125,25),a+"text.rrect;rSize=0;fontSize=17;fontColor=#ffffff;fillColor=#008cff;strokeColor=#008cff;");c.vertex=!0;b.insert(c);return d.createVertexTemplateFromCells([b],b.geometry.width,b.geometry.height,"Horizontal Button Bar")}),this.createVertexTemplateEntry(a+"text.callout;linkText=;textSize=17;textColor=#666666;callDir=NW;callStyle=line;fontSize=17;fontColor=#666666;align=left;verticalAlign=top;"+ +b,200,100,"Callout","Callout",null,null,this.getTagsForStencil("mxgraph.mockup.text","callout","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.callout;linkText=;textSize=17;textColor=#666666;callDir=NE;callStyle=line;fontSize=17;fontColor=#666666;align=right;verticalAlign=top;"+b,200,100,"Callout","Callout",null,null,this.getTagsForStencil("mxgraph.mockup.text","callout","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.callout;linkText=;textSize=17;textColor=#666666;callDir=SW;callStyle=line;fontSize=17;fontColor=#666666;align=left;verticalAlign=bottom;"+ +b,200,100,"Callout","Callout",null,null,this.getTagsForStencil("mxgraph.mockup.text","callout","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.callout;linkText=;textSize=17;textColor=#666666;callDir=SE;callStyle=line;fontSize=17;fontColor=#666666;align=right;verticalAlign=bottom;"+b,200,100,"Callout","Callout",null,null,this.getTagsForStencil("mxgraph.mockup.text","callout","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.stickyNote;fontColor=#666666;mainText=;fontSize=17;whiteSpace=wrap;", +200,200,"Note Line 1\nNote Line 2\nNote Line 3","Sticky Note",null,null,this.getTagsForStencil("mxgraph.mockup.text","stickyNote","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.bulletedList;textColor=#666666;mainText=,,,,;textSize=17;bulletStyle=none;"+e+mxConstants.STYLE_FILLCOLOR+"=none;align=left;verticalAlign=top;fontSize=17;fontColor=#666666;",150,135,"-Line 1\n-Line 2\n-Line 3\n-Line 4","Bulleted List",null,null,this.getTagsForStencil("mxgraph.mockup.text","bulletedList", +"mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.textBox;fontColor=#666666;align=left;fontSize=17;spacingLeft=4;spacingTop=-3;"+b+"mainText=",150,30,"Line 1","Text Box",null,null,this.getTagsForStencil("mxgraph.mockup.text","textBox","mockup text ").join(" ")),this.createVertexTemplateEntry(a+"text.captcha;fontColor=#666666;fontSize=25;"+b+"mainText=",150,50,"fG2yQ23","Captcha",null,null,this.getTagsForStencil("mxgraph.mockup.text","captcha","mockup text ").join(" ")),this.createVertexTemplateEntry(a+ +"text.alphanumeric;linkText=;html=1;fontStyle=4;fontSize=17;fontColor=#0000ff;",450,50,"0-9 A B C D E F G H I J K L M N O P Q R S T U V X Y Z","Alphanumeric",null,null,this.getTagsForStencil("mxgraph.mockup.text","alphanumeric","mockup text ").join(" ")),this.createVertexTemplateEntry("text;spacingTop=-5;whiteSpace=wrap;html=1;align=left;fontSize=12;fontFamily=Helvetica;fillColor=none;strokeColor=none;",250,470,"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\nSed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?", +"Paragraph of Text",null,null,this.getTagsForStencil("mxgraph.mockup.text","peragraph of text","mockup text ").join(" ")),this.addEntry("mockup text table",function(){var a=new mxCell('<table cellpadding="4" cellspacing="0" border="1" style="font-size:1em;width:100%;height:100%;"><tr><th>Header 1</th><th>Header 2</th></tr><tr><td>row 1, cell 1</td><td>row 1, cell 2</td></tr><tr><td>row 2, cell 1</td><td>row 2, cell 2</td></tr></table> ',new mxGeometry(0,0,180,80),"verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1"); +a.vertex=!0;return d.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Table")})];this.addPalette("mockupText","Mockup Text",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))}})();(function(){Sidebar.prototype.addMSCAEPalette=function(){this.addMSCAECompaniesPalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.addMSCAEEnterpriseFlatPalette("mxgraph.mscae",100,this);this.addMSCAEIntuneFlatPalette("mxgraph.mscae",100,this);this.addMSCAEOMSFlatPalette("mxgraph.mscae",100,this);this.addMSCAESystemCenterFlatPalette("mxgraph.mscae",100,this);this.addMSCAEAIandMLServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/"); this.addMSCAEAnalyticsServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.addMSCAEComputeServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.addMSCAEComputeServiceVMPalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.addMSCAEContainerServiceVMPalette("mxgraph.mscae",100,this, "aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.addMSCAEDatabasesServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.addMSCAEDevOpsServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.addMSCAEGeneralServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/"); this.addMSCAEIdentityServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.addMSCAEIntegrationServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.addMSCAEInternetOfThingsServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.addMSCAEIntuneServicePalette("mxgraph.mscae",100, this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.addMSCAEManagementGovernanceServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.addMSCAEManagementGovernanceMediaServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.addMSCAEMigrateServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/"); this.addMSCAEMixedRealityServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.addMSCAEMobileServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.addMSCAENetworkingServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.addMSCAEOtherCategoryServicePalette("mxgraph.mscae",100, this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.addMSCAESecurityServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.addMSCAEStorageServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/");this.addMSCAEWebServicePalette("mxgraph.mscae",100,this,"aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/")}; -Sidebar.prototype.addMSCAECompaniesPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Cache_Redis_Product.svg;",.5*b,.42*b,"","Cache Redis Product Icon",null,null,this.getTagsForStencil(a,"azure cache redis product icon","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(c+"Databricks.svg;",.5*b,.48*b,"","Databricks",null,null,this.getTagsForStencil(a,"azure databricks","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(c+ +Sidebar.prototype.addMSCAECompaniesPalette=function(a,b,e,d){var c=[this.createVertexTemplateEntry(d+"Cache_Redis_Product.svg;",.5*b,.42*b,"","Cache Redis Product Icon",null,null,this.getTagsForStencil(a,"azure cache redis product icon","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(d+"Databricks.svg;",.5*b,.48*b,"","Databricks",null,null,this.getTagsForStencil(a,"azure databricks","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(d+ "HDInsight.svg;",.5*b,.48*b,"","HDInsight",null,null,this.getTagsForStencil(a,"azure hdinsight","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry("shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.mscae.cloud.hockeyapp;fillColor=#0079D6;pointerEvents=1;",.5*b,.38*b,"","HockeyApp",null,null,this.getTagsForStencil(a,"azure hockey app hockeyapp","ms microsoft cloud enterprise company companies").join(" ")), -this.createVertexTemplateEntry(c+"OpenShift.svg;",.5*b,.46*b,"","OpenShift",null,null,this.getTagsForStencil(a,"azure open shift openshift","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(c+"Cloud_Cycle.svg;",.5*b,.46*b,"","Cloud Cycle",null,null,this.getTagsForStencil(a,"cloud cycle","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(c+"Kubernetes.svg;",.5*b,.48*b,"","Kubernetes",null,null,this.getTagsForStencil(a, -"kubernetes","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(c+"PluralSight_mono.svg;",.5*b,.5*b,"","PluralSight Mono",null,null,this.getTagsForStencil(a,"pluralsight mono","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(c+"DC_OS.svg;",.4*b,.5*b,"","DC OS",null,null,this.getTagsForStencil(a,"dc os","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(c+"Docker.svg;",.5* -b,.41*b,"","Docker",null,null,this.getTagsForStencil(a,"docker","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(c+"StackOverflow.svg;",.4*b,.5*b,"","StackOverflow",null,null,this.getTagsForStencil(a,"stack overflow stackoverflow so","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(c+"WebAppUmbraco.svg;",.49*b,.5*b,"","WebAppUmbraco",null,null,this.getTagsForStencil(a,"webappumbraco webapp umbraco","ms microsoft cloud enterprise company companies").join(" ")), -this.createVertexTemplateEntry(c+"WebAppWordPress.svg;",.49*b,.5*b,"","WebAppWordPress",null,null,this.getTagsForStencil(a,"webappwordpress webapp wordpress","ms microsoft cloud enterprise company companies").join(" "))];this.addPalette("mscaeCompanies","CAE / Companies",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMSCAEEnterpriseFlatPalette=function(a,b,e){var c=[this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.d", +this.createVertexTemplateEntry(d+"OpenShift.svg;",.5*b,.46*b,"","OpenShift",null,null,this.getTagsForStencil(a,"azure open shift openshift","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(d+"Cloud_Cycle.svg;",.5*b,.46*b,"","Cloud Cycle",null,null,this.getTagsForStencil(a,"cloud cycle","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(d+"Kubernetes.svg;",.5*b,.48*b,"","Kubernetes",null,null,this.getTagsForStencil(a, +"kubernetes","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(d+"PluralSight_mono.svg;",.5*b,.5*b,"","PluralSight Mono",null,null,this.getTagsForStencil(a,"pluralsight mono","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(d+"DC_OS.svg;",.4*b,.5*b,"","DC OS",null,null,this.getTagsForStencil(a,"dc os","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(d+"Docker.svg;",.5* +b,.41*b,"","Docker",null,null,this.getTagsForStencil(a,"docker","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(d+"StackOverflow.svg;",.4*b,.5*b,"","StackOverflow",null,null,this.getTagsForStencil(a,"stack overflow stackoverflow so","ms microsoft cloud enterprise company companies").join(" ")),this.createVertexTemplateEntry(d+"WebAppUmbraco.svg;",.49*b,.5*b,"","WebAppUmbraco",null,null,this.getTagsForStencil(a,"webappumbraco webapp umbraco","ms microsoft cloud enterprise company companies").join(" ")), +this.createVertexTemplateEntry(d+"WebAppWordPress.svg;",.49*b,.5*b,"","WebAppWordPress",null,null,this.getTagsForStencil(a,"webappwordpress webapp wordpress","ms microsoft cloud enterprise company companies").join(" "))];this.addPalette("mscaeCompanies","CAE / Companies",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAEEnterpriseFlatPalette=function(a,b,e){var d=[this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.d", .4*b,.5*b,"","Federation Services Proxy",null,null,this.getTagsForStencil(a,"active directory ad fs federation services proxy","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.ad_fs",.4*b,.5*b,"","Federation Services",null,null,this.getTagsForStencil(a,"active directory ad fs federation services", "ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.android_phone",.3*b,.5*b,"","Android Phone",null,null,this.getTagsForStencil(a,"android phone","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.application", .5*b,.34*b,"","Application",null,null,this.getTagsForStencil(a,"application","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.application_blank",.5*b,.43*b,"","Application (blank)",null,null,this.getTagsForStencil(a,"application blank","ms microsoft cloud enterprise flat").join(" ")), @@ -6388,7 +6382,7 @@ this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;h this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.mscae.enterprise.website_generic;fillColor=#7D7D7D;",.5*b,.44*b,"","Website (generic)",null,null,this.getTagsForStencil(a,"website generic","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.windows_server", .39*b,.5*b,"","Windows Server",null,null,this.getTagsForStencil(a,"windows server","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.wireless_connection",.42*b,.5*b,"","Wireless Connection",null,null,this.getTagsForStencil(a,"wireless connection","ms microsoft cloud enterprise flat").join(" ")), this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.workstation_client",.5*b,.5*b,"","Workstation Client",null,null,this.getTagsForStencil(a,"workstation client","ms microsoft cloud enterprise flat").join(" ")),this.createVertexTemplateEntry("aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.xml_web_service", -.5*b,.5*b,"","XML Web Service",null,null,this.getTagsForStencil(a,"xml web service","ms microsoft cloud enterprise flat").join(" "))];this.addPalette("mscaeEnterpriseFlat","CAE / Enterprise (flat)",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAEIntuneFlatPalette=function(a,b,e){var c=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.account_portal", +.5*b,.5*b,"","XML Web Service",null,null,this.getTagsForStencil(a,"xml web service","ms microsoft cloud enterprise flat").join(" "))];this.addPalette("mscaeEnterpriseFlat","CAE / Enterprise (flat)",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMSCAEIntuneFlatPalette=function(a,b,e){var d=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.account_portal", .43*b,.5*b,"","Account Portal",null,null,this.getTagsForStencil(a,"account portal","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.administration",.3*b,.5*b,"","Administration",null,null,this.getTagsForStencil(a,"administration","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.alerts", .5*b,.5*b,"","Alerts",null,null,this.getTagsForStencil(a,"alerts","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.apps",.5*b,.5*b,"","Apps",null,null,this.getTagsForStencil(a,"apps","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.certificate", .5*b,.49*b,"","Certificate (Compliance)",null,null,this.getTagsForStencil(a,"certificate compliance","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.client_software",.5*b,.45*b,"","Client Software Deployment Wizard",null,null,this.getTagsForStencil(a,"client software deployment wizard", @@ -6416,7 +6410,7 @@ this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeC .5*b,.5*b,"","Settings",null,null,this.getTagsForStencil(a,"settings","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.subscription_portal",.5*b,.5*b,"","Subscription Portal",null,null,this.getTagsForStencil(a,"subscription portal","ms microsoft cloud enterprise intune").join(" ")), this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.terms_and_conditions",.37*b,.5*b,"","Terms and Conditions",null,null,this.getTagsForStencil(a,"terms and conditions","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.update", .48*b,.5*b,"","Update",null,null,this.getTagsForStencil(a,"update","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.user_group",.5*b,.37*b,"","User Group",null,null,this.getTagsForStencil(a,"user group","ms microsoft cloud enterprise intune").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.intune.user_management", -.5*b,.46*b,"","User Management",null,null,this.getTagsForStencil(a,"user management","ms microsoft cloud enterprise intune").join(" "))];this.addPalette("mscaeIntuneFlat","CAE / Intune (flat)",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAEOMSFlatPalette=function(a,b,e){var c=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.alerts", +.5*b,.46*b,"","User Management",null,null,this.getTagsForStencil(a,"user management","ms microsoft cloud enterprise intune").join(" "))];this.addPalette("mscaeIntuneFlat","CAE / Intune (flat)",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMSCAEOMSFlatPalette=function(a,b,e){var d=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.alerts", .41*b,.5*b,"","Alerts",null,null,this.getTagsForStencil(a,"alerts","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.app_with_changes",.5*b,.32*b,"","App With Changes",null,null,this.getTagsForStencil(a,"app with changes","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.assessments", .47*b,.5*b,"","Assessments",null,null,this.getTagsForStencil(a,"assessments","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.capacity",.41*b,.5*b,"","Capacity",null,null,this.getTagsForStencil(a,"capacity","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.config_assessment", .5*b,.45*b,"","Config Assessment",null,null,this.getTagsForStencil(a,"config assessment","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.dashboard",.5*b,.41*b,"","Dashboard",null,null,this.getTagsForStencil(a,"dashboard","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.dependency_monitor", @@ -6427,127 +6421,127 @@ this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeC .47*b,.5*b,"","Server Width Changes",null,null,this.getTagsForStencil(a,"server width changes","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.services",.49*b,.5*b,"","Services",null,null,this.getTagsForStencil(a,"services","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.solutions", .5*b,.49*b,"","Solutions",null,null,this.getTagsForStencil(a,"solutions","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.system_update",.5*b,.5*b,"","System Update",null,null,this.getTagsForStencil(a,"system update","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.track_changes", .42*b,.5*b,"","Track Changes",null,null,this.getTagsForStencil(a,"track changes","ms microsoft cloud enterprise oms").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#505050;shape=mxgraph.mscae.oms.wire_data",.5*b,.5*b,"","Wire Data",null,null,this.getTagsForStencil(a,"wire data","ms microsoft cloud enterprise oms").join(" "))];this.addPalette("mscaeOMSFlat", -"CAE / OMS (flat)",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAESystemCenterFlatPalette=function(a,b,e){var c=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#515151;shape=mxgraph.mscae.system_center.admin_console",.5*b,.36*b,"","Admin Console",null,null,this.getTagsForStencil(a,"admin console","ms microsoft cloud enterprise system center").join(" ")), +"CAE / OMS (flat)",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMSCAESystemCenterFlatPalette=function(a,b,e){var d=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#515151;shape=mxgraph.mscae.system_center.admin_console",.5*b,.36*b,"","Admin Console",null,null,this.getTagsForStencil(a,"admin console","ms microsoft cloud enterprise system center").join(" ")), this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#515151;shape=mxgraph.mscae.enterprise.database_server",.38*b,.5*b,"","Central Administration Site",null,null,this.getTagsForStencil(a,"central administration site","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#515151;shape=mxgraph.mscae.system_center.central_administration_site_sql", .38*b,.5*b,"","Central Administration Site SQL",null,null,this.getTagsForStencil(a,"central administration site sql","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#515151;shape=mxgraph.mscae.system_center.cloud_distribution_point",.46*b,.5*b,"","Cloud Distribution Point",null,null,this.getTagsForStencil(a,"cloud distribution point", "ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#515151;shape=mxgraph.mscae.system_center.distribution_point",.44*b,.5*b,"","Distribution Point",null,null,this.getTagsForStencil(a,"distribution point","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#515151;shape=mxgraph.mscae.system_center.management_point", .48*b,.5*b,"","Management Point",null,null,this.getTagsForStencil(a,"management point","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#515151;shape=mxgraph.mscae.system_center.primary_site",.38*b,.5*b,"","Primary Site",null,null,this.getTagsForStencil(a,"primary site","ms microsoft cloud enterprise system center").join(" ")), this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#515151;shape=mxgraph.mscae.system_center.roles",.42*b,.5*b,"","Roles",null,null,this.getTagsForStencil(a,"roles","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#515151;shape=mxgraph.mscae.system_center.secondary_site", .41*b,.5*b,"","Secondary Site",null,null,this.getTagsForStencil(a,"secondary site","ms microsoft cloud enterprise system center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#515151;shape=mxgraph.mscae.system_center.software_update_point",.5*b,.43*b,"","Software Update Point",null,null,this.getTagsForStencil(a,"software update point","ms microsoft cloud enterprise system center").join(" "))]; -this.addPalette("mscaeSystem CenterFlat","CAE / System Center (flat)",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAEAIandMLServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Batch_AI.svg;",.36*b,.5*b,"","Batch AI",null,null,this.getTagsForStencil(a,"batch ai","ms microsoft cloud enterprise ai ml service").join(" ")),this.createVertexTemplateEntry(c+"Bot_Services.svg;",.5*b,.5*b,"","Bot Services",null,null,this.getTagsForStencil(a, -"bot services","ms microsoft cloud enterprise ai ml service").join(" ")),this.createVertexTemplateEntry(c+"Cognitive_Services.svg;",.5*b,.3*b,"","Cognitive Services",null,null,this.getTagsForStencil(a,"cognitive services","ms microsoft cloud enterprise ai ml service").join(" ")),this.createVertexTemplateEntry(c+"Genomics_Accounts.svg;",.26*b,.5*b,"","Genomics Accounts",null,null,this.getTagsForStencil(a,"genomics accounts","ms microsoft cloud enterprise ai ml service").join(" ")),this.createVertexTemplateEntry(c+ -"Machine_Learning_Service_Workspaces.svg;",.46*b,.5*b,"","Machine Learning Service Workspaces",null,null,this.getTagsForStencil(a,"machine learning service workspaces","ms microsoft cloud enterprise ai ml service").join(" ")),this.createVertexTemplateEntry(c+"Machine_Learning_Studio_Web_Service_Plans.svg;",.5*b,.5*b,"","Machine Learning Studio Web Service Plans",null,null,this.getTagsForStencil(a,"machine learning studio web service plans","ms microsoft cloud enterprise ai ml service").join(" ")), -this.createVertexTemplateEntry(c+"Machine_Learning_Studio_Web_Services.svg;",.5*b,.5*b,"","Machine Learning Studio Web Services",null,null,this.getTagsForStencil(a,"machine learning studio web services","ms microsoft cloud enterprise ai ml service").join(" ")),this.createVertexTemplateEntry(c+"Machine_Learning_Studio_Workspaces.svg;",.5*b,.5*b,"","Machine Learning Studio Workspaces",null,null,this.getTagsForStencil(a,"machine learning studio workspaces","ms microsoft cloud enterprise ai ml service").join(" "))]; -this.addPalette("mscaeAI and ML Service","CAE / AI and ML Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMSCAEAnalyticsServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Analysis_Services.svg;",.5*b,.39*b,"","Analysis_Services",null,null,this.getTagsForStencil(a,"analysis services","ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(c+"Azure_Data_Explorer_Clusters.svg;", -.5*b,.5*b,"","Azure_Data_Explorer_Clusters",null,null,this.getTagsForStencil(a,"azure data explorer clusters","ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(c+"Databricks.svg;",.5*b,.48*b,"","Databricks",null,null,this.getTagsForStencil(a,"azure databricks","ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(c+"Data_Factory.svg;",.5*b,.5*b,"","Data Factories",null,null,this.getTagsForStencil(a,"data factory factories", -"ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(c+"Data_Lake_Analytics.svg;",.5*b,.5*b,"","Data Lake Analytics",null,null,this.getTagsForStencil(a,"data lake analytics","ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(c+"Data_Lake_Store.svg;",.5*b,.39*b,"","Data Lake Store",null,null,this.getTagsForStencil(a,"data lake store","ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(c+ -"Event_Hub_Clusters.svg;",.5*b,.48*b,"","Event Hub Clusters",null,null,this.getTagsForStencil(a,"event hub clusters","ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(c+"Event_Hubs.svg;",.48*b,.5*b,"","Event Hubs",null,null,this.getTagsForStencil(a,"event hubs","ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(c+"HDInsightClusters.svg;",.5*b,.49*b,"","HDInsight Clusters",null,null,this.getTagsForStencil(a,"hdinsight clusters", -"ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(c+"Log_Analytics_Workspaces.svg;",.5*b,.5*b,"","Log Analytics Workspaces",null,null,this.getTagsForStencil(a,"log analytics workspaces","ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(c+"Stream_Analytics.svg;",.5*b,.39*b,"","Stream Analytics",null,null,this.getTagsForStencil(a,"stream analytics","ms microsoft cloud enterprise analytics service").join(" "))];this.addPalette("mscaeAnalytics Service", -"CAE / Analytics Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMSCAEComputeServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Batch_Accounts.svg;",.5*b,.48*b,"","Batch Accounts",null,null,this.getTagsForStencil(a,"batch accounts","ms microsoft cloud enterprise compute service").join(" ")),this.createVertexTemplateEntry(c+"Citrix_Virtual_Desktops_Essentials.svg;",.5*b,.5*b,"","Citrix Virtual Desktops Essentials", -null,null,this.getTagsForStencil(a,"citrix virtual desktops essentials","ms microsoft cloud enterprise compute service").join(" ")),this.createVertexTemplateEntry(c+"Cloud_Services_Classic.svg;",.5*b,.42*b,"","Cloud Services (classic)",null,null,this.getTagsForStencil(a,"cloud services classic","ms microsoft cloud enterprise compute service").join(" ")),this.createVertexTemplateEntry(c+"Cloud_Service.svg;",.5*b,.42*b,"","Cloud Services",null,null,this.getTagsForStencil(a,"cloud services","ms microsoft cloud enterprise compute service").join(" ")), -this.createVertexTemplateEntry(c+"CloudSimple_Virtual_Machines.svg;",.5*b,.32*b,"","CloudSimple Virtual Machines",null,null,this.getTagsForStencil(a,"cloudsimple virtual machines","ms microsoft cloud enterprise compute service").join(" ")),this.createVertexTemplateEntry(c+"MD_snapshot.svg;",.5*b,.42*b,"","Disk Snapshots",null,null,this.getTagsForStencil(a,"disk snapshots","ms microsoft cloud enterprise compute service").join(" ")),this.createVertexTemplateEntry(c+"Discs.svg;",.5*b,.42*b,"","Disks", -null,null,this.getTagsForStencil(a,"disks","ms microsoft cloud enterprise compute service").join(" ")),this.createVertexTemplateEntry(c+"Functions.svg;",.5*b,.46*b,"","Function Apps",null,null,this.getTagsForStencil(a,"function apps","ms microsoft cloud enterprise compute service").join(" ")),this.createVertexTemplateEntry(c+"SAP_HANA_on_Azure.svg;",.5*b,.25*b,"","SAP HANA on Azure",null,null,this.getTagsForStencil(a,"sap hana on azure","ms microsoft cloud enterprise compute service").join(" ")), -this.createVertexTemplateEntry(c+"Service_Fabric.svg;",.5*b,.5*b,"","Service Fabric",null,null,this.getTagsForStencil(a,"service fabric","ms microsoft cloud enterprise compute service").join(" ")),this.createVertexTemplateEntry(c+"VM_Images.svg;",.5*b,.46*b,"","VM Images",null,null,this.getTagsForStencil(a,"vm virtual machine images","ms microsoft cloud enterprise compute service").join(" "))];this.addPalette("mscaeCompute Service","CAE / Compute Service",!1,mxUtils.bind(this,function(a){for(var b= -0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMSCAEComputeServiceVMPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Virtual_Machines_Availability_Set.svg;",.5*b,.5*b,"","Availability Sets",null,null,this.getTagsForStencil(a,"availability sets","ms microsoft cloud enterprise compute service vm virtual machine").join(" ")),this.createVertexTemplateEntry(c+"Non_Azure_Machine.svg;",.31*b,.5*b,"","Non-Azure Machine",null,null,this.getTagsForStencil(a,"non azure machine", -"ms microsoft cloud enterprise compute service vm virtual machine").join(" ")),this.createVertexTemplateEntry(c+"OS_Images_Classic.svg;",.5*b,.46*b,"","OS Images (classic)",null,null,this.getTagsForStencil(a,"os images classic","ms microsoft cloud enterprise compute service vm virtual machine").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Machine_2.svg;",.5*b,.46*b,"","VM",null,null,this.getTagsForStencil(a,"","ms microsoft cloud enterprise compute service vm virtual machine").join(" ")), -this.createVertexTemplateEntry(c+"VM_Scale_Set.svg;",.5*b,.5*b,"","VM Scale Sets",null,null,this.getTagsForStencil(a,"scale sets","ms microsoft cloud enterprise compute service vm virtual machine").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Machine.svg;",.5*b,.46*b,"","VM",null,null,this.getTagsForStencil(a,"","ms microsoft cloud enterprise compute service vm virtual machine").join(" ")),this.createVertexTemplateEntry(c+"VM_Linux.svg;",.5*b,.46*b,"","VM (Linux)",null,null,this.getTagsForStencil(a, -"linux","ms microsoft cloud enterprise compute service vm virtual machine").join(" ")),this.createVertexTemplateEntry(c+"VM_Linux_Non_Azure.svg;",.5*b,.46*b,"","VM (Linux, Non-Azure)",null,null,this.getTagsForStencil(a,"linux non azure","ms microsoft cloud enterprise compute service vm virtual machine").join(" ")),this.createVertexTemplateEntry(c+"VirtualMachineWindows.svg;",.5*b,.46*b,"","VM (Windows)",null,null,this.getTagsForStencil(a,"windows","ms microsoft cloud enterprise compute service vm virtual machine").join(" ")), -this.createVertexTemplateEntry(c+"VM_Windows_Non_Azure.svg;",.5*b,.46*b,"","VM (Windows, Non-Azure)",null,null,this.getTagsForStencil(a,"windows non azure","ms microsoft cloud enterprise compute service vm virtual machine").join(" "))];this.addPalette("mscaeCompute Service VM","CAE / Compute Service VM",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMSCAEContainerServiceVMPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+ -"Container_Instances.svg;",.5*b,.5*b,"","Container Instances",null,null,this.getTagsForStencil(a,"container instances","ms microsoft cloud enterprise container service").join(" ")),this.createVertexTemplateEntry(c+"Container_Registries.svg;",.5*b,.43*b,"","Container Registries",null,null,this.getTagsForStencil(a,"container registries","ms microsoft cloud enterprise container service").join(" ")),this.createVertexTemplateEntry(c+"Kubernetes_Services.svg;",.5*b,.37*b,"","Kubernetes Services",null,null, -this.getTagsForStencil(a,"kubernetes services","ms microsoft cloud enterprise container service").join(" "))];this.addPalette("mscaeContainer Service","CAE / Container Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMSCAEDatabasesServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Azure_Cache_for_Redis.svg;",.5*b,.5*b,"","Azure Cache for Redis",null,null,this.getTagsForStencil(a,"azure cache for redis","ms microsoft cloud enterprise database databases db service").join(" ")), -this.createVertexTemplateEntry(c+"Cache_including_Redis.svg;",.5*b,.5*b,"","Cache plus Redis",null,null,this.getTagsForStencil(a,"cache including plus redis","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"CosmosDB.svg;",.5*b,.5*b,"","CosmosDB",null,null,this.getTagsForStencil(a,"cosmosdb db database","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"Database_General.svg;",.38*b,.5* -b,"","Database (generic)",null,null,this.getTagsForStencil(a,"database generic","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"aspect=fixed;html=1;perimeter=none;align=center;shadow=0;dashed=0;image;fontSize=12;image=img/lib/mscae/Azure_Database_for_MariaDB_servers.svg;",.38*b,.5*b,"","Azure Database for MariaDB servers",null,null,this.getTagsForStencil(a,"azure database for mariadb servers","ms microsoft cloud enterprise database databases db service").join(" ")), -this.createVertexTemplateEntry(c+"Azure_Database_for_MySQL_servers.svg;",.38*b,.5*b,"","Azure Database for MySQL servers",null,null,this.getTagsForStencil(a,"azure database db for mysql servers","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"Azure_Database_for_PostgreSQL_servers.svg;",.38*b,.5*b,"","Azure Database for PostgreSQL servers",null,null,this.getTagsForStencil(a,"azure database db for postgresql servers","ms microsoft cloud enterprise database databases db service").join(" ")), -this.createVertexTemplateEntry(c+"SQL_DataWarehouse.svg;",.5*b,.48*b,"","Azure SQL DataWarehouse",null,null,this.getTagsForStencil(a,"azure sql datawarehouse","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"BlobBlock.svg;",.5*b,.42*b,"","Blob Storage",null,null,this.getTagsForStencil(a,"blob storage","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"Data_Lake.svg;",.38*b,.5*b,"","Data Lake", -null,null,this.getTagsForStencil(a,"data lake","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"Elastic_Database_Pools.svg;",.5*b,.5*b,"","Elastic Database Pools",null,null,this.getTagsForStencil(a,"elastic database pools","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"Elastic_Job_Agents.svg;",.42*b,.5*b,"","Elastic Job Agents",null,null,this.getTagsForStencil(a,"elastic job agents", -"ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"Managed_Databases.svg;",.47*b,.5*b,"","Managed Databases",null,null,this.getTagsForStencil(a,"managed databases","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"SQL_Database_generic.svg;",.38*b,.5*b,"","SQL Databases",null,null,this.getTagsForStencil(a,"sql databases","ms microsoft cloud enterprise database databases db service").join(" ")), -this.createVertexTemplateEntry(c+"SQL_Managed_Instances.svg;",.38*b,.5*b,"","SQL Managed Instances",null,null,this.getTagsForStencil(a,"sql managed instances","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"dep/SQL_Server_Stretch_DB.svg;",.5*b,.5*b,"","SQL Server Stretch DB",null,null,this.getTagsForStencil(a,"sql server stretch db database","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+ -"SQL_Servers.svg;",.5*b,.5*b,"","SQL Servers",null,null,this.getTagsForStencil(a,"sql servers","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Clusters.svg;",.5*b,.48*b,"","Virtual Clusters",null,null,this.getTagsForStencil(a,"virtual clusters","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Datacenter.svg;",.5*b,.5*b,"","Virtual Datacenter",null,null,this.getTagsForStencil(a, -"virtual datacenter","ms microsoft cloud enterprise database databases db service").join(" "))];this.addPalette("mscaeDatabases Service","CAE / Databases Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMSCAEDevOpsServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Application_Insights.svg;",.32*b,.5*b,"","Application Insights",null,null,this.getTagsForStencil(a,"application insights","ms microsoft cloud enterprise devops service").join(" ")), -this.createVertexTemplateEntry(c+"Azure_Artifacts.svg;",.5*b,.5*b,"","Azure Artifacts",null,null,this.getTagsForStencil(a,"azure artifacts","ms microsoft cloud enterprise devops service").join(" ")),this.createVertexTemplateEntry(c+"Azure_Boards.svg;",.5*b,.5*b,"","Azure Boards",null,null,this.getTagsForStencil(a,"azure boards","ms microsoft cloud enterprise devops service").join(" ")),this.createVertexTemplateEntry(c+"Azure_DevOps.svg;",.5*b,.5*b,"","Azure DevOps",null,null,this.getTagsForStencil(a, -"azure devops","ms microsoft cloud enterprise devops service").join(" ")),this.createVertexTemplateEntry(c+"DevTest_Labs.svg;",.5*b,.5*b,"","Azure DevTest Labs",null,null,this.getTagsForStencil(a,"azure devtest labs","ms microsoft cloud enterprise devops service").join(" ")),this.createVertexTemplateEntry(c+"Azure_Pipelines\t.svg;",.5*b,.5*b,"","Azure Pipelines",null,null,this.getTagsForStencil(a,"azure pipelines","ms microsoft cloud enterprise devops service").join(" ")),this.createVertexTemplateEntry(c+ -"Azure_Repos.svg;",.45*b,.5*b,"","Azure Repos",null,null,this.getTagsForStencil(a,"azure repos","ms microsoft cloud enterprise devops service").join(" ")),this.createVertexTemplateEntry(c+"Azure_Test_Plans.svg;",.45*b,.5*b,"","Azure Test Plans",null,null,this.getTagsForStencil(a,"azure test plans","ms microsoft cloud enterprise devops service").join(" "))];this.addPalette("mscaeDevOps Service","CAE / DevOps Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))}; -Sidebar.prototype.addMSCAEGeneralServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Grid3x3.svg;",.5*b,.5*b,"","All Resources",null,null,this.getTagsForStencil(a,"all resources","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Azure_Home.svg;",.5*b,.4*b,"","Azure Home",null,null,this.getTagsForStencil(a,"azure home","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Developer_Tools.svg;", -.47*b,.5*b,"","Developer Tools",null,null,this.getTagsForStencil(a,"developer tools","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Support_2.svg;",.32*b,.5*b,"","Help, Support",null,null,this.getTagsForStencil(a,"help support","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Info_2.svg;",.5*b,.5*b,"","Information",null,null,this.getTagsForStencil(a,"info information","ms microsoft cloud enterprise general service").join(" ")), -this.createVertexTemplateEntry(c+"Management_Groups.svg;",.5*b,.4*b,"","Management Groups",null,null,this.getTagsForStencil(a,"management groups","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Store_Marketplace.svg;",.44*b,.5*b,"","Marketplace",null,null,this.getTagsForStencil(a,"marketplace store","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Store_Marketplace.svg;",.44*b,.5*b,"","Marketplace",null,null, -this.getTagsForStencil(a,"marketplace store","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Quick_Start_Center.svg;",.5*b,.5*b,"","Quick Start Center",null,null,this.getTagsForStencil(a,"quick start center","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Clock.svg;",.5*b,.5*b,"","Recent",null,null,this.getTagsForStencil(a,"clock recent","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+ -"Reservations.svg;",.5*b,.5*b,"","Reservations",null,null,this.getTagsForStencil(a,"reservations","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"ResourceGroup.svg;",.5*b,.4*b,"","Resource Groups",null,null,this.getTagsForStencil(a,"resource group groups","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"ServiceHealth.svg;",.5*b,.44*b,"","Service Health",null,null,this.getTagsForStencil(a,"service health","ms microsoft cloud enterprise general service").join(" ")), -this.createVertexTemplateEntry(c+"Shared_Dashboard.svg;",.5*b,.41*b,"","Shared Dashboard",null,null,this.getTagsForStencil(a,"shared dashboard","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Key.svg;",.31*b,.5*b,"","Subscriptions",null,null,this.getTagsForStencil(a,"subscriptions key","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Support_Requests.svg;",.5*b,.46*b,"","Support Requests",null,null,this.getTagsForStencil(a, -"support requests","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Tag.svg;",.5*b,.5*b,"","Tag",null,null,this.getTagsForStencil(a,"tag","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Tags.svg;",.42*b,.5*b,"","Tags",null,null,this.getTagsForStencil(a,"tags","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Templates.svg;",.44*b,.5*b,"","Templates",null,null,this.getTagsForStencil(a, -"templates","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"Two_User_Icon.svg;",.5*b,.5*b,"","Two User Icon",null,null,this.getTagsForStencil(a,"two user icon","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"User_Health_Icon.svg;",.46*b,.5*b,"","User Health Icon",null,null,this.getTagsForStencil(a,"user health icon","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+ -"Person.svg;",.37*b,.5*b,"","User",null,null,this.getTagsForStencil(a,"user person","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"User_Privacy.svg;",.36*b,.5*b,"","User Privacy",null,null,this.getTagsForStencil(a,"user privacy","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(c+"User_Resource.svg;",.48*b,.5*b,"","User Resource",null,null,this.getTagsForStencil(a,"user resource","ms microsoft cloud enterprise general service").join(" ")), -this.createVertexTemplateEntry(c+"Info.svg;",.5*b,.5*b,"","What's New",null,null,this.getTagsForStencil(a,"info whats new","ms microsoft cloud enterprise general service").join(" "))];this.addPalette("mscaeGeneral Service","CAE / General Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMSCAEIdentityServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Access_Review.svg;",.5*b,.5*b,"","Access Review",null,null, -this.getTagsForStencil(a,"access review","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(c+"Active_Directory_Health_Monitoring.svg;",.5*b,.5*b,"","Active Directory Connect Health",null,null,this.getTagsForStencil(a,"active directory connect health","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(c+"Active_Directory.svg;",.5*b,.5*b,"","Active Directory",null,null,this.getTagsForStencil(a,"active directory","ms microsoft cloud enterprise identity service").join(" ")), -this.createVertexTemplateEntry(c+"App_Registrations.svg;",.5*b,.5*b,"","App Registrations",null,null,this.getTagsForStencil(a,"app registrations","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_B2C.svg;",.5*b,.46*b,"","Azure AD B2C",null,null,this.getTagsForStencil(a,"azure ad b2c","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_Domain_Services.svg;",.5*b,.5*b,"","Azure AD Domain Services", -null,null,this.getTagsForStencil(a,"azure ad domain services","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_Identity_Protection.svg;",.5*b,.5*b,"","Azure AD Identity Protection",null,null,this.getTagsForStencil(a,"azure ad identity protection","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(c+"Azure_AD_Privileged_Identity_Management.svg;",.5*b,.5*b,"","Azure AD Privileged Identity Management",null, +this.addPalette("mscaeSystem CenterFlat","CAE / System Center (flat)",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMSCAEAIandMLServicePalette=function(a,b,e,d){var c=[this.createVertexTemplateEntry(d+"Batch_AI.svg;",.36*b,.5*b,"","Batch AI",null,null,this.getTagsForStencil(a,"batch ai","ms microsoft cloud enterprise ai ml service").join(" ")),this.createVertexTemplateEntry(d+"Bot_Services.svg;",.5*b,.5*b,"","Bot Services",null,null,this.getTagsForStencil(a, +"bot services","ms microsoft cloud enterprise ai ml service").join(" ")),this.createVertexTemplateEntry(d+"Cognitive_Services.svg;",.5*b,.3*b,"","Cognitive Services",null,null,this.getTagsForStencil(a,"cognitive services","ms microsoft cloud enterprise ai ml service").join(" ")),this.createVertexTemplateEntry(d+"Genomics_Accounts.svg;",.26*b,.5*b,"","Genomics Accounts",null,null,this.getTagsForStencil(a,"genomics accounts","ms microsoft cloud enterprise ai ml service").join(" ")),this.createVertexTemplateEntry(d+ +"Machine_Learning_Service_Workspaces.svg;",.46*b,.5*b,"","Machine Learning Service Workspaces",null,null,this.getTagsForStencil(a,"machine learning service workspaces","ms microsoft cloud enterprise ai ml service").join(" ")),this.createVertexTemplateEntry(d+"Machine_Learning_Studio_Web_Service_Plans.svg;",.5*b,.5*b,"","Machine Learning Studio Web Service Plans",null,null,this.getTagsForStencil(a,"machine learning studio web service plans","ms microsoft cloud enterprise ai ml service").join(" ")), +this.createVertexTemplateEntry(d+"Machine_Learning_Studio_Web_Services.svg;",.5*b,.5*b,"","Machine Learning Studio Web Services",null,null,this.getTagsForStencil(a,"machine learning studio web services","ms microsoft cloud enterprise ai ml service").join(" ")),this.createVertexTemplateEntry(d+"Machine_Learning_Studio_Workspaces.svg;",.5*b,.5*b,"","Machine Learning Studio Workspaces",null,null,this.getTagsForStencil(a,"machine learning studio workspaces","ms microsoft cloud enterprise ai ml service").join(" "))]; +this.addPalette("mscaeAI and ML Service","CAE / AI and ML Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAEAnalyticsServicePalette=function(a,b,e,d){var c=[this.createVertexTemplateEntry(d+"Analysis_Services.svg;",.5*b,.39*b,"","Analysis_Services",null,null,this.getTagsForStencil(a,"analysis services","ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(d+"Azure_Data_Explorer_Clusters.svg;", +.5*b,.5*b,"","Azure_Data_Explorer_Clusters",null,null,this.getTagsForStencil(a,"azure data explorer clusters","ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(d+"Databricks.svg;",.5*b,.48*b,"","Databricks",null,null,this.getTagsForStencil(a,"azure databricks","ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(d+"Data_Factory.svg;",.5*b,.5*b,"","Data Factories",null,null,this.getTagsForStencil(a,"data factory factories", +"ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(d+"Data_Lake_Analytics.svg;",.5*b,.5*b,"","Data Lake Analytics",null,null,this.getTagsForStencil(a,"data lake analytics","ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(d+"Data_Lake_Store.svg;",.5*b,.39*b,"","Data Lake Store",null,null,this.getTagsForStencil(a,"data lake store","ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(d+ +"Event_Hub_Clusters.svg;",.5*b,.48*b,"","Event Hub Clusters",null,null,this.getTagsForStencil(a,"event hub clusters","ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(d+"Event_Hubs.svg;",.48*b,.5*b,"","Event Hubs",null,null,this.getTagsForStencil(a,"event hubs","ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(d+"HDInsightClusters.svg;",.5*b,.49*b,"","HDInsight Clusters",null,null,this.getTagsForStencil(a,"hdinsight clusters", +"ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(d+"Log_Analytics_Workspaces.svg;",.5*b,.5*b,"","Log Analytics Workspaces",null,null,this.getTagsForStencil(a,"log analytics workspaces","ms microsoft cloud enterprise analytics service").join(" ")),this.createVertexTemplateEntry(d+"Stream_Analytics.svg;",.5*b,.39*b,"","Stream Analytics",null,null,this.getTagsForStencil(a,"stream analytics","ms microsoft cloud enterprise analytics service").join(" "))];this.addPalette("mscaeAnalytics Service", +"CAE / Analytics Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAEComputeServicePalette=function(a,b,e,d){var c=[this.createVertexTemplateEntry(d+"Batch_Accounts.svg;",.5*b,.48*b,"","Batch Accounts",null,null,this.getTagsForStencil(a,"batch accounts","ms microsoft cloud enterprise compute service").join(" ")),this.createVertexTemplateEntry(d+"Citrix_Virtual_Desktops_Essentials.svg;",.5*b,.5*b,"","Citrix Virtual Desktops Essentials", +null,null,this.getTagsForStencil(a,"citrix virtual desktops essentials","ms microsoft cloud enterprise compute service").join(" ")),this.createVertexTemplateEntry(d+"Cloud_Services_Classic.svg;",.5*b,.42*b,"","Cloud Services (classic)",null,null,this.getTagsForStencil(a,"cloud services classic","ms microsoft cloud enterprise compute service").join(" ")),this.createVertexTemplateEntry(d+"Cloud_Service.svg;",.5*b,.42*b,"","Cloud Services",null,null,this.getTagsForStencil(a,"cloud services","ms microsoft cloud enterprise compute service").join(" ")), +this.createVertexTemplateEntry(d+"CloudSimple_Virtual_Machines.svg;",.5*b,.32*b,"","CloudSimple Virtual Machines",null,null,this.getTagsForStencil(a,"cloudsimple virtual machines","ms microsoft cloud enterprise compute service").join(" ")),this.createVertexTemplateEntry(d+"MD_snapshot.svg;",.5*b,.42*b,"","Disk Snapshots",null,null,this.getTagsForStencil(a,"disk snapshots","ms microsoft cloud enterprise compute service").join(" ")),this.createVertexTemplateEntry(d+"Discs.svg;",.5*b,.42*b,"","Disks", +null,null,this.getTagsForStencil(a,"disks","ms microsoft cloud enterprise compute service").join(" ")),this.createVertexTemplateEntry(d+"Functions.svg;",.5*b,.46*b,"","Function Apps",null,null,this.getTagsForStencil(a,"function apps","ms microsoft cloud enterprise compute service").join(" ")),this.createVertexTemplateEntry(d+"SAP_HANA_on_Azure.svg;",.5*b,.25*b,"","SAP HANA on Azure",null,null,this.getTagsForStencil(a,"sap hana on azure","ms microsoft cloud enterprise compute service").join(" ")), +this.createVertexTemplateEntry(d+"Service_Fabric.svg;",.5*b,.5*b,"","Service Fabric",null,null,this.getTagsForStencil(a,"service fabric","ms microsoft cloud enterprise compute service").join(" ")),this.createVertexTemplateEntry(d+"VM_Images.svg;",.5*b,.46*b,"","VM Images",null,null,this.getTagsForStencil(a,"vm virtual machine images","ms microsoft cloud enterprise compute service").join(" "))];this.addPalette("mscaeCompute Service","CAE / Compute Service",!1,mxUtils.bind(this,function(a){for(var b= +0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAEComputeServiceVMPalette=function(a,b,e,d){var c=[this.createVertexTemplateEntry(d+"Virtual_Machines_Availability_Set.svg;",.5*b,.5*b,"","Availability Sets",null,null,this.getTagsForStencil(a,"availability sets","ms microsoft cloud enterprise compute service vm virtual machine").join(" ")),this.createVertexTemplateEntry(d+"Non_Azure_Machine.svg;",.31*b,.5*b,"","Non-Azure Machine",null,null,this.getTagsForStencil(a,"non azure machine", +"ms microsoft cloud enterprise compute service vm virtual machine").join(" ")),this.createVertexTemplateEntry(d+"OS_Images_Classic.svg;",.5*b,.46*b,"","OS Images (classic)",null,null,this.getTagsForStencil(a,"os images classic","ms microsoft cloud enterprise compute service vm virtual machine").join(" ")),this.createVertexTemplateEntry(d+"Virtual_Machine_2.svg;",.5*b,.46*b,"","VM",null,null,this.getTagsForStencil(a,"","ms microsoft cloud enterprise compute service vm virtual machine").join(" ")), +this.createVertexTemplateEntry(d+"VM_Scale_Set.svg;",.5*b,.5*b,"","VM Scale Sets",null,null,this.getTagsForStencil(a,"scale sets","ms microsoft cloud enterprise compute service vm virtual machine").join(" ")),this.createVertexTemplateEntry(d+"Virtual_Machine.svg;",.5*b,.46*b,"","VM",null,null,this.getTagsForStencil(a,"","ms microsoft cloud enterprise compute service vm virtual machine").join(" ")),this.createVertexTemplateEntry(d+"VM_Linux.svg;",.5*b,.46*b,"","VM (Linux)",null,null,this.getTagsForStencil(a, +"linux","ms microsoft cloud enterprise compute service vm virtual machine").join(" ")),this.createVertexTemplateEntry(d+"VM_Linux_Non_Azure.svg;",.5*b,.46*b,"","VM (Linux, Non-Azure)",null,null,this.getTagsForStencil(a,"linux non azure","ms microsoft cloud enterprise compute service vm virtual machine").join(" ")),this.createVertexTemplateEntry(d+"VirtualMachineWindows.svg;",.5*b,.46*b,"","VM (Windows)",null,null,this.getTagsForStencil(a,"windows","ms microsoft cloud enterprise compute service vm virtual machine").join(" ")), +this.createVertexTemplateEntry(d+"VM_Windows_Non_Azure.svg;",.5*b,.46*b,"","VM (Windows, Non-Azure)",null,null,this.getTagsForStencil(a,"windows non azure","ms microsoft cloud enterprise compute service vm virtual machine").join(" "))];this.addPalette("mscaeCompute Service VM","CAE / Compute Service VM",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAEContainerServiceVMPalette=function(a,b,e,d){var c=[this.createVertexTemplateEntry(d+ +"Container_Instances.svg;",.5*b,.5*b,"","Container Instances",null,null,this.getTagsForStencil(a,"container instances","ms microsoft cloud enterprise container service").join(" ")),this.createVertexTemplateEntry(d+"Container_Registries.svg;",.5*b,.43*b,"","Container Registries",null,null,this.getTagsForStencil(a,"container registries","ms microsoft cloud enterprise container service").join(" ")),this.createVertexTemplateEntry(d+"Kubernetes_Services.svg;",.5*b,.37*b,"","Kubernetes Services",null,null, +this.getTagsForStencil(a,"kubernetes services","ms microsoft cloud enterprise container service").join(" "))];this.addPalette("mscaeContainer Service","CAE / Container Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAEDatabasesServicePalette=function(a,b,e,d){var c=[this.createVertexTemplateEntry(d+"Azure_Cache_for_Redis.svg;",.5*b,.5*b,"","Azure Cache for Redis",null,null,this.getTagsForStencil(a,"azure cache for redis","ms microsoft cloud enterprise database databases db service").join(" ")), +this.createVertexTemplateEntry(d+"Cache_including_Redis.svg;",.5*b,.5*b,"","Cache plus Redis",null,null,this.getTagsForStencil(a,"cache including plus redis","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(d+"CosmosDB.svg;",.5*b,.5*b,"","CosmosDB",null,null,this.getTagsForStencil(a,"cosmosdb db database","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(d+"Database_General.svg;",.38*b,.5* +b,"","Database (generic)",null,null,this.getTagsForStencil(a,"database generic","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(d+"aspect=fixed;html=1;perimeter=none;align=center;shadow=0;dashed=0;image;fontSize=12;image=img/lib/mscae/Azure_Database_for_MariaDB_servers.svg;",.38*b,.5*b,"","Azure Database for MariaDB servers",null,null,this.getTagsForStencil(a,"azure database for mariadb servers","ms microsoft cloud enterprise database databases db service").join(" ")), +this.createVertexTemplateEntry(d+"Azure_Database_for_MySQL_servers.svg;",.38*b,.5*b,"","Azure Database for MySQL servers",null,null,this.getTagsForStencil(a,"azure database db for mysql servers","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(d+"Azure_Database_for_PostgreSQL_servers.svg;",.38*b,.5*b,"","Azure Database for PostgreSQL servers",null,null,this.getTagsForStencil(a,"azure database db for postgresql servers","ms microsoft cloud enterprise database databases db service").join(" ")), +this.createVertexTemplateEntry(d+"SQL_DataWarehouse.svg;",.5*b,.48*b,"","Azure SQL DataWarehouse",null,null,this.getTagsForStencil(a,"azure sql datawarehouse","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(d+"BlobBlock.svg;",.5*b,.42*b,"","Blob Storage",null,null,this.getTagsForStencil(a,"blob storage","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(d+"Data_Lake.svg;",.38*b,.5*b,"","Data Lake", +null,null,this.getTagsForStencil(a,"data lake","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(d+"Elastic_Database_Pools.svg;",.5*b,.5*b,"","Elastic Database Pools",null,null,this.getTagsForStencil(a,"elastic database pools","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(d+"Elastic_Job_Agents.svg;",.42*b,.5*b,"","Elastic Job Agents",null,null,this.getTagsForStencil(a,"elastic job agents", +"ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(d+"Managed_Databases.svg;",.47*b,.5*b,"","Managed Databases",null,null,this.getTagsForStencil(a,"managed databases","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(d+"SQL_Database_generic.svg;",.38*b,.5*b,"","SQL Databases",null,null,this.getTagsForStencil(a,"sql databases","ms microsoft cloud enterprise database databases db service").join(" ")), +this.createVertexTemplateEntry(d+"SQL_Managed_Instances.svg;",.38*b,.5*b,"","SQL Managed Instances",null,null,this.getTagsForStencil(a,"sql managed instances","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(d+"dep/SQL_Server_Stretch_DB.svg;",.5*b,.5*b,"","SQL Server Stretch DB",null,null,this.getTagsForStencil(a,"sql server stretch db database","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(d+ +"SQL_Servers.svg;",.5*b,.5*b,"","SQL Servers",null,null,this.getTagsForStencil(a,"sql servers","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(d+"Virtual_Clusters.svg;",.5*b,.48*b,"","Virtual Clusters",null,null,this.getTagsForStencil(a,"virtual clusters","ms microsoft cloud enterprise database databases db service").join(" ")),this.createVertexTemplateEntry(d+"Virtual_Datacenter.svg;",.5*b,.5*b,"","Virtual Datacenter",null,null,this.getTagsForStencil(a, +"virtual datacenter","ms microsoft cloud enterprise database databases db service").join(" "))];this.addPalette("mscaeDatabases Service","CAE / Databases Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAEDevOpsServicePalette=function(a,b,e,d){var c=[this.createVertexTemplateEntry(d+"Application_Insights.svg;",.32*b,.5*b,"","Application Insights",null,null,this.getTagsForStencil(a,"application insights","ms microsoft cloud enterprise devops service").join(" ")), +this.createVertexTemplateEntry(d+"Azure_Artifacts.svg;",.5*b,.5*b,"","Azure Artifacts",null,null,this.getTagsForStencil(a,"azure artifacts","ms microsoft cloud enterprise devops service").join(" ")),this.createVertexTemplateEntry(d+"Azure_Boards.svg;",.5*b,.5*b,"","Azure Boards",null,null,this.getTagsForStencil(a,"azure boards","ms microsoft cloud enterprise devops service").join(" ")),this.createVertexTemplateEntry(d+"Azure_DevOps.svg;",.5*b,.5*b,"","Azure DevOps",null,null,this.getTagsForStencil(a, +"azure devops","ms microsoft cloud enterprise devops service").join(" ")),this.createVertexTemplateEntry(d+"DevTest_Labs.svg;",.5*b,.5*b,"","Azure DevTest Labs",null,null,this.getTagsForStencil(a,"azure devtest labs","ms microsoft cloud enterprise devops service").join(" ")),this.createVertexTemplateEntry(d+"Azure_Pipelines\t.svg;",.5*b,.5*b,"","Azure Pipelines",null,null,this.getTagsForStencil(a,"azure pipelines","ms microsoft cloud enterprise devops service").join(" ")),this.createVertexTemplateEntry(d+ +"Azure_Repos.svg;",.45*b,.5*b,"","Azure Repos",null,null,this.getTagsForStencil(a,"azure repos","ms microsoft cloud enterprise devops service").join(" ")),this.createVertexTemplateEntry(d+"Azure_Test_Plans.svg;",.45*b,.5*b,"","Azure Test Plans",null,null,this.getTagsForStencil(a,"azure test plans","ms microsoft cloud enterprise devops service").join(" "))];this.addPalette("mscaeDevOps Service","CAE / DevOps Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))}; +Sidebar.prototype.addMSCAEGeneralServicePalette=function(a,b,e,d){var c=[this.createVertexTemplateEntry(d+"Grid3x3.svg;",.5*b,.5*b,"","All Resources",null,null,this.getTagsForStencil(a,"all resources","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(d+"Azure_Home.svg;",.5*b,.4*b,"","Azure Home",null,null,this.getTagsForStencil(a,"azure home","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(d+"Developer_Tools.svg;", +.47*b,.5*b,"","Developer Tools",null,null,this.getTagsForStencil(a,"developer tools","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(d+"Support_2.svg;",.32*b,.5*b,"","Help, Support",null,null,this.getTagsForStencil(a,"help support","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(d+"Info_2.svg;",.5*b,.5*b,"","Information",null,null,this.getTagsForStencil(a,"info information","ms microsoft cloud enterprise general service").join(" ")), +this.createVertexTemplateEntry(d+"Management_Groups.svg;",.5*b,.4*b,"","Management Groups",null,null,this.getTagsForStencil(a,"management groups","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(d+"Store_Marketplace.svg;",.44*b,.5*b,"","Marketplace",null,null,this.getTagsForStencil(a,"marketplace store","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(d+"Store_Marketplace.svg;",.44*b,.5*b,"","Marketplace",null,null, +this.getTagsForStencil(a,"marketplace store","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(d+"Quick_Start_Center.svg;",.5*b,.5*b,"","Quick Start Center",null,null,this.getTagsForStencil(a,"quick start center","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(d+"Clock.svg;",.5*b,.5*b,"","Recent",null,null,this.getTagsForStencil(a,"clock recent","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(d+ +"Reservations.svg;",.5*b,.5*b,"","Reservations",null,null,this.getTagsForStencil(a,"reservations","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(d+"ResourceGroup.svg;",.5*b,.4*b,"","Resource Groups",null,null,this.getTagsForStencil(a,"resource group groups","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(d+"ServiceHealth.svg;",.5*b,.44*b,"","Service Health",null,null,this.getTagsForStencil(a,"service health","ms microsoft cloud enterprise general service").join(" ")), +this.createVertexTemplateEntry(d+"Shared_Dashboard.svg;",.5*b,.41*b,"","Shared Dashboard",null,null,this.getTagsForStencil(a,"shared dashboard","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(d+"Key.svg;",.31*b,.5*b,"","Subscriptions",null,null,this.getTagsForStencil(a,"subscriptions key","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(d+"Support_Requests.svg;",.5*b,.46*b,"","Support Requests",null,null,this.getTagsForStencil(a, +"support requests","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(d+"Tag.svg;",.5*b,.5*b,"","Tag",null,null,this.getTagsForStencil(a,"tag","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(d+"Tags.svg;",.42*b,.5*b,"","Tags",null,null,this.getTagsForStencil(a,"tags","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(d+"Templates.svg;",.44*b,.5*b,"","Templates",null,null,this.getTagsForStencil(a, +"templates","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(d+"Two_User_Icon.svg;",.5*b,.5*b,"","Two User Icon",null,null,this.getTagsForStencil(a,"two user icon","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(d+"User_Health_Icon.svg;",.46*b,.5*b,"","User Health Icon",null,null,this.getTagsForStencil(a,"user health icon","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(d+ +"Person.svg;",.37*b,.5*b,"","User",null,null,this.getTagsForStencil(a,"user person","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(d+"User_Privacy.svg;",.36*b,.5*b,"","User Privacy",null,null,this.getTagsForStencil(a,"user privacy","ms microsoft cloud enterprise general service").join(" ")),this.createVertexTemplateEntry(d+"User_Resource.svg;",.48*b,.5*b,"","User Resource",null,null,this.getTagsForStencil(a,"user resource","ms microsoft cloud enterprise general service").join(" ")), +this.createVertexTemplateEntry(d+"Info.svg;",.5*b,.5*b,"","What's New",null,null,this.getTagsForStencil(a,"info whats new","ms microsoft cloud enterprise general service").join(" "))];this.addPalette("mscaeGeneral Service","CAE / General Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAEIdentityServicePalette=function(a,b,e,d){var c=[this.createVertexTemplateEntry(d+"Access_Review.svg;",.5*b,.5*b,"","Access Review",null,null, +this.getTagsForStencil(a,"access review","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(d+"Active_Directory_Health_Monitoring.svg;",.5*b,.5*b,"","Active Directory Connect Health",null,null,this.getTagsForStencil(a,"active directory connect health","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(d+"Active_Directory.svg;",.5*b,.5*b,"","Active Directory",null,null,this.getTagsForStencil(a,"active directory","ms microsoft cloud enterprise identity service").join(" ")), +this.createVertexTemplateEntry(d+"App_Registrations.svg;",.5*b,.5*b,"","App Registrations",null,null,this.getTagsForStencil(a,"app registrations","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(d+"Azure_AD_B2C.svg;",.5*b,.46*b,"","Azure AD B2C",null,null,this.getTagsForStencil(a,"azure ad b2c","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(d+"Azure_AD_Domain_Services.svg;",.5*b,.5*b,"","Azure AD Domain Services", +null,null,this.getTagsForStencil(a,"azure ad domain services","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(d+"Azure_AD_Identity_Protection.svg;",.5*b,.5*b,"","Azure AD Identity Protection",null,null,this.getTagsForStencil(a,"azure ad identity protection","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(d+"Azure_AD_Privileged_Identity_Management.svg;",.5*b,.5*b,"","Azure AD Privileged Identity Management",null, null,this.getTagsForStencil(a,"azure ad privileged identity management","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry("aspect=fixed;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.mscae.cloud.azure_rights_management_rms;fillColor=#58B4D9;",.42*b,.5*b,"","Azure Information Protection",null,null,this.getTagsForStencil(a,"azure information protection","ms microsoft cloud enterprise identity service").join(" ")), -this.createVertexTemplateEntry(c+"Security_Center.svg;",.36*b,.5*b,"","Conditional Access",null,null,this.getTagsForStencil(a,"conditional access security center","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(c+"Enterprise_Applications.svg;",.49*b,.5*b,"","Enterprise Applications",null,null,this.getTagsForStencil(a,"enterprise applications","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(c+"Identity_Governance.svg;", -.5*b,.5*b,"","Identity Governance",null,null,this.getTagsForStencil(a,"identity governance","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(c+"Managed_Identities.svg;",.38*b,.5*b,"","Managed Identitties",null,null,this.getTagsForStencil(a,"managed identities","ms microsoft cloud enterprise identity service").join(" "))];this.addPalette("mscaeIdentity Service","CAE / Identity Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))}; -Sidebar.prototype.addMSCAEIntegrationServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"API_Management.svg;",.5*b,.42*b,"","API Management Service",null,null,this.getTagsForStencil(a,"api application programming interface management service","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"App_Configuration.svg;",.5*b,.49*b,"","App Configuration",null,null,this.getTagsForStencil(a,"app configuration","ms microsoft cloud enterprise integration service").join(" ")), -this.createVertexTemplateEntry(c+"Azure_API_for_FHIR.svg;",.5*b,.5*b,"","Azure API for FHIR",null,null,this.getTagsForStencil(a,"azure api application programming interface for fhir","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"Data_Catalog.svg;",.47*b,.5*b,"","Azure Data Catalog",null,null,this.getTagsForStencil(a,"azure data catalog","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"Service_Bus_Relay.svg;", -.5*b,.5*b,"","Azure Service Bus Relays",null,null,this.getTagsForStencil(a,"azure service bus relay relays","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"Service_Bus_Relay.svg;",.5*b,.5*b,"","Azure Service Bus Relays",null,null,this.getTagsForStencil(a,"azure service bus relay relays","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"Service_Bus.svg;",.5*b,.5*b,"","Azure Service Bus",null,null,this.getTagsForStencil(a, -"azure service bus","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"StorSimple.svg;",.5*b,.45*b,"","Azure StorSimple Device Managers",null,null,this.getTagsForStencil(a,"azure storsimple device managers","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"Event_Grid.svg;",.5*b,.5*b,"","Event Grid Domains and Subscriptions",null,null,this.getTagsForStencil(a,"event grid domains subscriptions","ms microsoft cloud enterprise integration service").join(" ")), -this.createVertexTemplateEntry(c+"Event_Grid_Topics.svg;",.5*b,.5*b,"","Event Grid Topics",null,null,this.getTagsForStencil(a,"event grid topics","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"Event_Grid_Topics.svg;",.5*b,.5*b,"","Event Grid Topics",null,null,this.getTagsForStencil(a,"event grid topics","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"Integration_Accounts.svg;",.5*b,.5*b,"","Integration Accounts", -null,null,this.getTagsForStencil(a,"integration accounts","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"Integration_Service_Environments.svg;",.5*b,.5*b,"","Integration Service Environments",null,null,this.getTagsForStencil(a,"integration service environments","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"Logic_Apps_Custom_Connector.svg;",.5*b,.5*b,"","Logic Apps Custom Connector",null,null,this.getTagsForStencil(a, -"logic apps custom connector","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"Logic_Apps.svg;",.5*b,.39*b,"","Logic Apps",null,null,this.getTagsForStencil(a,"logic apps","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"SendGrid_Accounts.svg;",.5*b,.5*b,"","SendGrid Accounts",null,null,this.getTagsForStencil(a,"sendgrid accounts","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+ -"Service_Catalog_Managed_Application_Definitions.svg;",.47*b,.5*b,"","Service Catalog Managed Application Definitions",null,null,this.getTagsForStencil(a,"service catalog managed application definitions","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(c+"Software_as_a_Service.svg;",.5*b,.5*b,"","Software as a Service (SaaS)",null,null,this.getTagsForStencil(a,"software service saas","ms microsoft cloud enterprise integration service").join(" "))];this.addPalette("mscaeIntegration Service", -"CAE / Integration Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMSCAEInternetOfThingsServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Azure_Digital_Twins.svg;",.45*b,.5*b,"","Azure Digital Twins",null,null,this.getTagsForStencil(a,"azure digital twins","ms microsoft cloud enterprise iot internet of things").join(" ")),this.createVertexTemplateEntry(c+"Azure_IoT_Hub_Security.svg;",.37*b,.5*b,"","Azure IoT Hub Security", -null,null,this.getTagsForStencil(a,"azure hub security","ms microsoft cloud enterprise iot internet of things").join(" ")),this.createVertexTemplateEntry(c+"Azure_IoT_Hub.svg;",.5*b,.5*b,"","Azure IoT Hub",null,null,this.getTagsForStencil(a,"azure hub","ms microsoft cloud enterprise iot internet of things").join(" ")),this.createVertexTemplateEntry(c+"Azure_Maps.svg;",.39*b,.5*b,"","Azure Maps",null,null,this.getTagsForStencil(a,"azure maps","ms microsoft cloud enterprise iot internet of things").join(" ")), -this.createVertexTemplateEntry(c+"Azure_Sphere.svg;",.48*b,.5*b,"","Azure Sphere",null,null,this.getTagsForStencil(a,"azure sphere","ms microsoft cloud enterprise iot internet of things").join(" ")),this.createVertexTemplateEntry(c+"Device_Provisioning_Services.svg;",.48*b,.5*b,"","Device Provisioning Services",null,null,this.getTagsForStencil(a,"device provisioning services","ms microsoft cloud enterprise iot internet of things").join(" ")),this.createVertexTemplateEntry("aspect=fixed;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.mscae.cloud.central;fillColor=#0079D6;pointerEvents=1;", -.44*b,.5*b,"","IoT Central Applications",null,null,this.getTagsForStencil(a,"central applications","ms microsoft cloud enterprise iot internet of things").join(" ")),this.createVertexTemplateEntry(c+"Time_Series_Insights_environments.svg;",.49*b,.5*b,"","Time Series Insights environments",null,null,this.getTagsForStencil(a,"time series insights environments","ms microsoft cloud enterprise iot internet of things").join(" ")),this.createVertexTemplateEntry(c+"Input.svg;",.5*b,.45*b,"","Time Series Insights Events Sources", -null,null,this.getTagsForStencil(a,"time series insights events sources input","ms microsoft cloud enterprise iot internet of things").join(" ")),this.createVertexTemplateEntry(c+"Windows_10_IoT_Core_Services.svg;",.5*b,.5*b,"","Windows 10 IoT Core Services",null,null,this.getTagsForStencil(a,"windows 10 core services","ms microsoft cloud enterprise iot internet of things").join(" "))];this.addPalette("mscaeInternet of Things Service","CAE / Internet of Things Service",!1,mxUtils.bind(this,function(a){for(var b= -0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMSCAEIntuneServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Client_Apps.svg;",.5*b,.5*b,"","Client Apps",null,null,this.getTagsForStencil(a,"client apps","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(c+"Dedicated_Event_Hub.svg;",.5*b,.48*b,"","Dedicated Event Hub",null,null,this.getTagsForStencil(a,"dedicated event hub","ms microsoft cloud enterprise intune service").join(" ")), -this.createVertexTemplateEntry(c+"Device_Compliance.svg;",.41*b,.5*b,"","Device Compliance",null,null,this.getTagsForStencil(a,"device compliance","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(c+"Device_Config.svg;",.44*b,.5*b,"","Device Config",null,null,this.getTagsForStencil(a,"device config","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(c+"Devices_Groups.svg;",.5*b,.5*b,"","Devices Groups",null,null,this.getTagsForStencil(a, -"devices groups","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(c+"eBooks.svg;",.5*b,.41*b,"","eBooks",null,null,this.getTagsForStencil(a,"ebooks","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(c+"Enrollment.svg;",.5*b,.5*b,"","Enrollment",null,null,this.getTagsForStencil(a,"enrollment","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(c+"Exchange_On_premises_Access.svg;", -.29*b,.5*b,"","Exchange On-premises Access",null,null,this.getTagsForStencil(a,"exchange on premises access","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(c+"Intune_App_Protection.svg;",.5*b,.4*b,"","Intune App Protection",null,null,this.getTagsForStencil(a,"intune app protection","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(c+"Managed_Desktop.svg;",.5*b,.36*b,"","Managed Desktop",null,null,this.getTagsForStencil(a, -"managed desktop","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(c+"Security_Baselines.svg;",.44*b,.5*b,"","Security Baselines",null,null,this.getTagsForStencil(a,"security baselines","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(c+"Software_Update.svg;",.5*b,.45*b,"","Software Update",null,null,this.getTagsForStencil(a,"software update","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(c+ -"Tools.svg;",.47*b,.5*b,"","Tools",null,null,this.getTagsForStencil(a,"tools","ms microsoft cloud enterprise intune service").join(" "))];this.addPalette("mscaeIntune Service","CAE / Intune Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMSCAEManagementGovernanceServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Log.svg;",.45*b,.5*b,"","Activity Log",null,null,this.getTagsForStencil(a,"activity log","ms microsoft cloud enterprise management and governance service").join(" ")), -this.createVertexTemplateEntry(c+"Advisor.svg;",.5*b,.5*b,"","Advisor",null,null,this.getTagsForStencil(a,"advisor","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"Notification.svg;",.5*b,.5*b,"","Alerts",null,null,this.getTagsForStencil(a,"notification alert alerts","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"Automation.svg;",.5*b,.5*b,"","Automation Accounts",null, -null,this.getTagsForStencil(a,"automation accounts","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"Blueprints.svg;",.5*b,.48*b,"","Blueprints",null,null,this.getTagsForStencil(a,"blueprints","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"BillingHub.svg;",.5*b,.5*b,"","BillingHub",null,null,this.getTagsForStencil(a,"billinghub","ms microsoft cloud enterprise management and governance service").join(" ")), -this.createVertexTemplateEntry(c+"LogDiagnostics.svg;",.45*b,.5*b,"","Diagnostic Settings",null,null,this.getTagsForStencil(a,"diagnostic settings log","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"Free_Services.svg;",.5*b,.46*b,"","Free Services",null,null,this.getTagsForStencil(a,"free services","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"Guest_Assignments.svg;", -.44*b,.5*b,"","Guest Assignments",null,null,this.getTagsForStencil(a,"guest assignments","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"Managed_Applications.svg;",.47*b,.5*b,"","Managed Applications",null,null,this.getTagsForStencil(a,"managed applications","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"Chart.svg;",.5*b,.48*b,"","Metrics",null,null,this.getTagsForStencil(a, -"metrics chart","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"Monitor.svg;",.5*b,.5*b,"","Monitor",null,null,this.getTagsForStencil(a,"monitor","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"Network_watcher.svg;",.5*b,.5*b,"","Network Watcher",null,null,this.getTagsForStencil(a,"network watcher","ms microsoft cloud enterprise management and governance service").join(" ")), -this.createVertexTemplateEntry(c+"Policy.svg;",.45*b,.5*b,"","Policy",null,null,this.getTagsForStencil(a,"policy","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"Backup.svg;",.5*b,.42*b,"","Recovery Services Vault",null,null,this.getTagsForStencil(a,"recovery services vault backup","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"Resource_Graph_Explorer.svg;",.49*b,.5*b,"", -"Resource Graph Explorer",null,null,this.getTagsForStencil(a,"resource graph explorer","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"SchedulerJobCollection.svg;",.5*b,.43*b,"","Scheduler Job Collections",null,null,this.getTagsForStencil(a,"scheduler job collection collections","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(c+"Solutions.svg;",.5*b,.5*b,"","Solutions",null, -null,this.getTagsForStencil(a,"solutions","ms microsoft cloud enterprise management and governance service").join(" "))];this.addPalette("mscaeManagement and Governance Service","CAE / Management and Governance Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMSCAEManagementGovernanceMediaServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Azure_Media_Player.svg;",.45*b,.5*b,"","Azure Media Player",null,null, -this.getTagsForStencil(a,"azure media player","ms microsoft cloud enterprise management and governance service media").join(" ")),this.createVertexTemplateEntry(c+"Content_Protection.svg;",.45*b,.5*b,"","Content Protection",null,null,this.getTagsForStencil(a,"content protection","ms microsoft cloud enterprise management and governance service media").join(" ")),this.createVertexTemplateEntry(c+"Media_Encoding.svg;",.43*b,.5*b,"","Media Encoding",null,null,this.getTagsForStencil(a,"media encoding", -"ms microsoft cloud enterprise management and governance service media").join(" ")),this.createVertexTemplateEntry(c+"Media_On_Demand.svg;",.5*b,.5*b,"","Media On Demand",null,null,this.getTagsForStencil(a,"media_on_demand","ms microsoft cloud enterprise management and governance service media").join(" "))];this.addPalette("mscaeManagement and Governance Service Media","CAE / Management and Governance Service - Media",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))}; -Sidebar.prototype.addMSCAEMigrateServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Azure_Database_Migration_Services.svg;",.5*b,.5*b,"","Azure Database Migration Services",null,null,this.getTagsForStencil(a,"azure database migration services","ms microsoft cloud enterprise migrate service").join(" ")),this.createVertexTemplateEntry(c+"Migration_Projects.svg;",.5*b,.32*b,"","Migration Projects",null,null,this.getTagsForStencil(a,"migration projects","ms microsoft cloud enterprise migrate service").join(" ")), -this.createVertexTemplateEntry(c+"Backup.svg;",.5*b,.42*b,"","Recovery Services Vaults",null,null,this.getTagsForStencil(a,"recovery services vaults vault","ms microsoft cloud enterprise migrate service").join(" "))];this.addPalette("mscaeMigrate Service","CAE / Migrate Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMSCAEMixedRealityServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Spatial_Anchor.svg;",.48* -b,.5*b,"","Spatial Anchor",null,null,this.getTagsForStencil(a,"spatial anchor","ms microsoft cloud enterprise mixed reality service").join(" "))];this.addPalette("mscaeMixed Reality Service","CAE / Mixed Reality Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMSCAEMobileServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"App_Service_Mobile_App.svg;",.34*b,.5*b,"","Azure App Service - Mobile",null,null,this.getTagsForStencil(a, -"azure app service mobile","ms microsoft cloud enterprise mobile service").join(" ")),this.createVertexTemplateEntry(c+"Mobile_Engagement.svg;",.34*b,.5*b,"","Azure Mobile Engagement",null,null,this.getTagsForStencil(a,"azure mobile engagement","ms microsoft cloud enterprise mobile service").join(" ")),this.createVertexTemplateEntry(c+"Notification_Hubs.svg;",.5*b,.5*b,"","Notification_Hubs",null,null,this.getTagsForStencil(a,"notification hubs","ms microsoft cloud enterprise mobile service").join(" "))]; -this.addPalette("mscaeMobile Service","CAE / Mobile Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMSCAENetworkingServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Application_Gateway.svg;",.5*b,.5*b,"","Application Gateway",null,null,this.getTagsForStencil(a,"application gateway","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Application_Security_Groups.svg;", -.37*b,.5*b,"","Application Security Groups",null,null,this.getTagsForStencil(a,"application security groups","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Azure_Firewall.svg;",.5*b,.5*b,"","Azure Firewall",null,null,this.getTagsForStencil(a,"azure firewall","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Content_Delivery_Network.svg;",.5*b,.23*b,"","CDN Profiles",null,null,this.getTagsForStencil(a, -"cdn profiles content delivery network","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Connections.svg;",.5*b,.5*b,"","Connections",null,null,this.getTagsForStencil(a,"connections","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Connections.svg;",.5*b,.5*b,"","Connections",null,null,this.getTagsForStencil(a,"connections","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+ -"DDOS_Protection_Plans.svg;",.37*b,.5*b,"","DDOS Protection Plans",null,null,this.getTagsForStencil(a,"ddos protection plans","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"DNS_Private_Zones.svg;",.5*b,.5*b,"","DNS Private Zones",null,null,this.getTagsForStencil(a,"dns domain name server private zones","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"DNS.svg;",.5*b,.5*b,"","DNS Zones",null,null,this.getTagsForStencil(a, -"dns domain name server zones","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Express_Route.svg;",.5*b,.3*b,"","Express Route Circuits",null,null,this.getTagsForStencil(a,"express route circuits","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Front_Doors.svg;",.5*b,.44*b,"","Front Doors",null,null,this.getTagsForStencil(a,"front doors","ms microsoft cloud enterprise networking service").join(" ")), -this.createVertexTemplateEntry(c+"Load_Balancer_feature.svg;",.5*b,.5*b,"","Load Balancers",null,null,this.getTagsForStencil(a,"load balancer balancers","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Local_Network_Gateways.svg;",.5*b,.5*b,"","Local Network Gateways",null,null,this.getTagsForStencil(a,"local network gateways","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"NetworkInterfaceCard.svg;", -.44*b,.5*b,"","Network Interface Card",null,null,this.getTagsForStencil(a,"network interface card","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Network_Security_Groups_Classic.svg;",.37*b,.5*b,"","Network Security Groups (Classic)",null,null,this.getTagsForStencil(a,"network security group classic","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Network_watcher.svg;",.5*b,.5*b,"","Network Watcher", -null,null,this.getTagsForStencil(a,"network watcher","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"On_Premises_Data_Gateways.svg;",.5*b,.5*b,"","On-Premises Data Gateways",null,null,this.getTagsForStencil(a,"on premises data gateways","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"App_Service_IPAddress.svg;",.5*b,.42*b,"","Public IP Addresses",null,null,this.getTagsForStencil(a,"app service ip internet protocol address addresses", -"ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"ClassicIPAddress.svg;",.5*b,.42*b,"","Reserved IP Addresses (Classic)",null,null,this.getTagsForStencil(a,"classic ip internet protocol address adresses","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Route_Filter.svg;",.5*b,.42*b,"","Route Filters",null,null,this.getTagsForStencil(a,"route filters","ms microsoft cloud enterprise networking service").join(" ")), -this.createVertexTemplateEntry(c+"UserDefinedRoute.svg;",.5*b,.5*b,"","Route Tables",null,null,this.getTagsForStencil(a,"route tables","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Service_Endpoint_Policies.svg;",.49*b,.5*b,"","Service Endpoint Policies",null,null,this.getTagsForStencil(a,"service endpoint policies","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Traffic_Manager.svg;",.5*b,.5*b,"", -"Traffic Manager Profiles",null,null,this.getTagsForStencil(a,"traffic manager profiles","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Network_Classic.svg;",.5*b,.28*b,"","Virtual Network (Classic)",null,null,this.getTagsForStencil(a,"virtual network classic","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"VPN_Gateway.svg;",.45*b,.5*b,"","Virtual Network Gateways",null,null,this.getTagsForStencil(a, -"vpn gateway gateways virtual private network","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"Virtual_Network.svg;",.5*b,.28*b,"","Virtual Networks",null,null,this.getTagsForStencil(a,"virtual network networks","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(c+"aspect=fixed;html=1;perimeter=none;align=center;shadow=0;dashed=0;image;fontSize=12;image=img/lib/mscae/Virtual_WANs.svg;",.5*b,.5*b,"","Virtual WANs", -null,null,this.getTagsForStencil(a,"virtual wans wan wide area network networks","ms microsoft cloud enterprise networking service").join(" "))];this.addPalette("mscaeNetworking Service","CAE / Networking Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMSCAEOtherCategoryServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"CloudSimple_Nodes.svg;",.49*b,.5*b,"","CloudSimple Nodes",null,null,this.getTagsForStencil(a, -"cloudsimple nodes","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(c+"CloudSimple_Services.svg;",.5*b,.5*b,"","CloudSimple Services",null,null,this.getTagsForStencil(a,"cloudsimple services","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(c+"CloudSimple_Virtual_Machines.svg;",.5*b,.32*b,"","CloudSimple Virtual Machines",null,null,this.getTagsForStencil(a,"cloudsimple virtual machines","ms microsoft cloud enterprise other category service").join(" ")), -this.createVertexTemplateEntry(c+"Controllers.svg;",.5*b,.44*b,"","Controllers",null,null,this.getTagsForStencil(a,"controllers","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(c+"Customer_Lockbox.svg;",.47*b,.5*b,"","Customer Lockbox",null,null,this.getTagsForStencil(a,"customer lockbox","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(c+"Education.svg;",.5*b,.39*b,"","Education",null,null,this.getTagsForStencil(a, -"education","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(c+"Image_Definitions.svg;",.5*b,.39*b,"","Image Definitions",null,null,this.getTagsForStencil(a,"image definitions","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(c+"Image_Versions.svg;",.5*b,.48*b,"","Image Versions",null,null,this.getTagsForStencil(a,"image versions","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(c+ -"Resource_Explorer.svg;",.5*b,.46*b,"","Resource Explorer",null,null,this.getTagsForStencil(a,"resource explorer","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(c+"Shared_Image_Galleries.svg;",.5*b,.5*b,"","Shared Image Galleries",null,null,this.getTagsForStencil(a,"shared image galleries","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(c+"Tenant_Status.svg;",.46*b,.5*b,"","Tenant Status",null,null, -this.getTagsForStencil(a,"tenant status","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(c+"Web_App_Firewall.svg;",.5*b,.5*b,"","Web App Firewall",null,null,this.getTagsForStencil(a,"web app firewall","ms microsoft cloud enterprise other category service").join(" "))];this.addPalette("mscaeOther Category Service","CAE / Other Category Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMSCAESecurityServicePalette= -function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Azure_Sentinel.svg;",.44*b,.5*b,"","Azure Sentinel",null,null,this.getTagsForStencil(a,"azure sentinel","ms microsoft cloud enterprise security service").join(" ")),this.createVertexTemplateEntry(c+"Key_Vaults.svg;",.48*b,.5*b,"","Key Vaults",null,null,this.getTagsForStencil(a,"key vaults","ms microsoft cloud enterprise security service").join(" ")),this.createVertexTemplateEntry(c+"Security_Center.svg;",.36*b,.5*b,"","Security Center",null, -null,this.getTagsForStencil(a,"security center","ms microsoft cloud enterprise security service").join(" "))];this.addPalette("mscaeSecurity Service","CAE / Security Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMSCAEStorageServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Archive_Storage.svg;",.5*b,.48*b,"","Archive Storage",null,null,this.getTagsForStencil(a,"archive storage","ms microsoft cloud enterprise storage service").join(" ")), -this.createVertexTemplateEntry(c+"Azure_NetApp_files.svg;",.5*b,.42*b,"","Azure NetApp files",null,null,this.getTagsForStencil(a,"azure netapp files","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+"StorSimple.svg;",.5*b,.45*b,"","StorSimple",null,null,this.getTagsForStencil(a,"storsimple","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+"AzureFXTEdgeFiler.svg;",.5*b,.5*b,"","AzureFXTEdgeFiler",null,null,this.getTagsForStencil(a, -"azurefxtedgefiler","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+"Blog_Storage.svg;",.5*b,.46*b,"","Blog Storage",null,null,this.getTagsForStencil(a,"blog storage","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+"Data_Box_Edge_Data_Box_Gateway.svg;",.5*b,.32*b,"","Data Box Edge - Data Box Gateway",null,null,this.getTagsForStencil(a,"data box edge data gateway","ms microsoft cloud enterprise storage service").join(" ")), -this.createVertexTemplateEntry(c+"Data_Box.svg;",.5*b,.47*b,"","Data Box / Import Export Storage",null,null,this.getTagsForStencil(a,"data box","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+"Data_Lake_Storage.svg;",.5*b,.46*b,"","Data Lake Storage",null,null,this.getTagsForStencil(a,"data lake storage","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+"General_Storage.svg;",.5*b,.5*b,"","General Storage",null, -null,this.getTagsForStencil(a,"general storage","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+"Queues_Storage.svg;",.5*b,.44*b,"","Queues Storage",null,null,this.getTagsForStencil(a,"queues storage","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+"ClassicStorage.svg;",.5*b,.43*b,"","Classic Storage",null,null,this.getTagsForStencil(a,"classic storage","ms microsoft cloud enterprise storage service").join(" ")), -this.createVertexTemplateEntry(c+"Storage_Accounts.svg;",.5*b,.45*b,"","Storage Accounts",null,null,this.getTagsForStencil(a,"storage accounts","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+"Storage_Explorer.svg;",.5*b,.5*b,"","Storage Explorer",null,null,this.getTagsForStencil(a,"storage explorer","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+"Storage_sync_service.svg;",.5*b,.5*b,"","Storage Sync Services", -null,null,this.getTagsForStencil(a,"storage sync services","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+"StorSimple_Data_Managers.svg;",.37*b,.5*b,"","StorSimple Data Managers",null,null,this.getTagsForStencil(a,"storsimple data managers","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry("aspect=fixed;verticalLabelPosition=bottom;html=1;verticalAlign=top;align=center;strokeColor=none;fillColor=#00BEF2;shape=mxgraph.azure.storsimple;", -.5*b,.45*b,"","StorSimple Device Managers",null,null,this.getTagsForStencil(a,"storsimple device managers","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+"StorSimple_Data_Managers.svg;",.37*b,.5*b,"","StorSimple Data Managers",null,null,this.getTagsForStencil(a,"storsimple data managers","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(c+"Table_Storage.svg;",.5*b,.48*b,"","Table Storage",null,null,this.getTagsForStencil(a, -"table storage","ms microsoft cloud enterprise storage service").join(" "))];this.addPalette("mscaeStorage Service","CAE / Storage Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))};Sidebar.prototype.addMSCAEWebServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(c+"Connection.svg;",.5*b,.31*b,"","Connection",null,null,this.getTagsForStencil(a,"connection","ms microsoft cloud enterprise web service").join(" ")),this.createVertexTemplateEntry(c+ -"Certificate.svg;",.5*b,.42*b,"","App Service Certificates",null,null,this.getTagsForStencil(a,"app application certificates certificate","ms microsoft cloud enterprise web service").join(" ")),this.createVertexTemplateEntry(c+"CustomDomain.svg;",.5*b,.42*b,"","App Service Domains",null,null,this.getTagsForStencil(a,"app service domain domains","ms microsoft cloud enterprise web service").join(" ")),this.createVertexTemplateEntry(c+"App_Service.svg;",.5*b,.5*b,"","App Service Environments",null,null, -this.getTagsForStencil(a,"app service environments","ms microsoft cloud enterprise web service").join(" ")),this.createVertexTemplateEntry(c+"WebHosting.svg;",.5*b,.5*b,"","App Service Plans",null,null,this.getTagsForStencil(a,"app plans web hosting","ms microsoft cloud enterprise web service").join(" ")),this.createVertexTemplateEntry(c+"App_Services.svg;",.5*b,.5*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","ms microsoft cloud enterprise web service").join(" ")),this.createVertexTemplateEntry(c+ -"Media_Services.svg;",.44*b,.5*b,"","Azure Media Services",null,null,this.getTagsForStencil(a,"azure media services","ms microsoft cloud enterprise web service").join(" ")),this.createVertexTemplateEntry(c+"Search.svg;",.5*b,.5*b,"","Azure Search",null,null,this.getTagsForStencil(a,"azure search","ms microsoft cloud enterprise web service").join(" ")),this.createVertexTemplateEntry(c+"Notification_Hubs.svg;",.5*b,.5*b,"","Notification Hub Namespaces",null,null,this.getTagsForStencil(a,"notification hub namespace namespaces", -"ms microsoft cloud enterprise web service").join(" ")),this.createVertexTemplateEntry(c+"SignalR.svg;",.5*b,.5*b,"","SignalR",null,null,this.getTagsForStencil(a,"signalr","ms microsoft cloud enterprise web service").join(" "))];this.addPalette("mscaeWeb Service","CAE / Web Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<d.length;b++)a.appendChild(d[b](a))}))}})();(function(){Sidebar.prototype.addNetworkPalette=function(){this.addPaletteFunctions("network","Network",!1,[this.addDataEntry("computer network ring bus",100,100,"Ring Bus","7VfJboMwEP0arpWBkNJjgTanSpF66NmKJ2DVYDQ429/XYIclKi2Nkp5AQrLfrLzHsDh+nB9XSMvsTTIQjv/i+DFKqcwqP8YghOMRzhw/cTyP6NPxXkesbmMlJUUo1JQAzwTsqdiBQQxQqZOwQKZy3VbiOn605ULEUkhsLH7cHBqvFMpP6FmWYehGfm3JaFnn0VV5WelVVALyHBRgh647KEqRMq6bPycrZAE9OOEIG8Vl0ZhQZXVXsnPXtbfN0Xb1wVntlXgasRcLqOA4SlgDWbZWIHVjeNIuNsALTMRpuD3YKnoXGMZJBjzN1BCjldmnbd5OG72w8nwvlf+7VOM6AEvh3TpaSlHuCgZ1clI7FOwZUR46O6NV1pp7N8EYrXWJAamKYgpqcJ9N4BlBUMX3w1Tf8WZD15LrjK0+l0xXcocbsE4XZLdVJ/G/mPmfwH8YPAwnxF2cgdtLEsySTJDEJWSgyP1GZDnrcc2IdMDtJXmcJfnDW+P8zCJ3G5Fw1mPKI2vxjyPyNEvykyR3f2u4ZBbgmpm44ZeV3nb/nMa9/0v6BQ=="), +this.createVertexTemplateEntry(d+"Security_Center.svg;",.36*b,.5*b,"","Conditional Access",null,null,this.getTagsForStencil(a,"conditional access security center","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(d+"Enterprise_Applications.svg;",.49*b,.5*b,"","Enterprise Applications",null,null,this.getTagsForStencil(a,"enterprise applications","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(d+"Identity_Governance.svg;", +.5*b,.5*b,"","Identity Governance",null,null,this.getTagsForStencil(a,"identity governance","ms microsoft cloud enterprise identity service").join(" ")),this.createVertexTemplateEntry(d+"Managed_Identities.svg;",.38*b,.5*b,"","Managed Identitties",null,null,this.getTagsForStencil(a,"managed identities","ms microsoft cloud enterprise identity service").join(" "))];this.addPalette("mscaeIdentity Service","CAE / Identity Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))}; +Sidebar.prototype.addMSCAEIntegrationServicePalette=function(a,b,e,d){var c=[this.createVertexTemplateEntry(d+"API_Management.svg;",.5*b,.42*b,"","API Management Service",null,null,this.getTagsForStencil(a,"api application programming interface management service","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(d+"App_Configuration.svg;",.5*b,.49*b,"","App Configuration",null,null,this.getTagsForStencil(a,"app configuration","ms microsoft cloud enterprise integration service").join(" ")), +this.createVertexTemplateEntry(d+"Azure_API_for_FHIR.svg;",.5*b,.5*b,"","Azure API for FHIR",null,null,this.getTagsForStencil(a,"azure api application programming interface for fhir","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(d+"Data_Catalog.svg;",.47*b,.5*b,"","Azure Data Catalog",null,null,this.getTagsForStencil(a,"azure data catalog","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(d+"Service_Bus_Relay.svg;", +.5*b,.5*b,"","Azure Service Bus Relays",null,null,this.getTagsForStencil(a,"azure service bus relay relays","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(d+"Service_Bus_Relay.svg;",.5*b,.5*b,"","Azure Service Bus Relays",null,null,this.getTagsForStencil(a,"azure service bus relay relays","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(d+"Service_Bus.svg;",.5*b,.5*b,"","Azure Service Bus",null,null,this.getTagsForStencil(a, +"azure service bus","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(d+"StorSimple.svg;",.5*b,.45*b,"","Azure StorSimple Device Managers",null,null,this.getTagsForStencil(a,"azure storsimple device managers","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(d+"Event_Grid.svg;",.5*b,.5*b,"","Event Grid Domains and Subscriptions",null,null,this.getTagsForStencil(a,"event grid domains subscriptions","ms microsoft cloud enterprise integration service").join(" ")), +this.createVertexTemplateEntry(d+"Event_Grid_Topics.svg;",.5*b,.5*b,"","Event Grid Topics",null,null,this.getTagsForStencil(a,"event grid topics","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(d+"Event_Grid_Topics.svg;",.5*b,.5*b,"","Event Grid Topics",null,null,this.getTagsForStencil(a,"event grid topics","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(d+"Integration_Accounts.svg;",.5*b,.5*b,"","Integration Accounts", +null,null,this.getTagsForStencil(a,"integration accounts","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(d+"Integration_Service_Environments.svg;",.5*b,.5*b,"","Integration Service Environments",null,null,this.getTagsForStencil(a,"integration service environments","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(d+"Logic_Apps_Custom_Connector.svg;",.5*b,.5*b,"","Logic Apps Custom Connector",null,null,this.getTagsForStencil(a, +"logic apps custom connector","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(d+"Logic_Apps.svg;",.5*b,.39*b,"","Logic Apps",null,null,this.getTagsForStencil(a,"logic apps","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(d+"SendGrid_Accounts.svg;",.5*b,.5*b,"","SendGrid Accounts",null,null,this.getTagsForStencil(a,"sendgrid accounts","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(d+ +"Service_Catalog_Managed_Application_Definitions.svg;",.47*b,.5*b,"","Service Catalog Managed Application Definitions",null,null,this.getTagsForStencil(a,"service catalog managed application definitions","ms microsoft cloud enterprise integration service").join(" ")),this.createVertexTemplateEntry(d+"Software_as_a_Service.svg;",.5*b,.5*b,"","Software as a Service (SaaS)",null,null,this.getTagsForStencil(a,"software service saas","ms microsoft cloud enterprise integration service").join(" "))];this.addPalette("mscaeIntegration Service", +"CAE / Integration Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAEInternetOfThingsServicePalette=function(a,b,e,d){var c=[this.createVertexTemplateEntry(d+"Azure_Digital_Twins.svg;",.45*b,.5*b,"","Azure Digital Twins",null,null,this.getTagsForStencil(a,"azure digital twins","ms microsoft cloud enterprise iot internet of things").join(" ")),this.createVertexTemplateEntry(d+"Azure_IoT_Hub_Security.svg;",.37*b,.5*b,"","Azure IoT Hub Security", +null,null,this.getTagsForStencil(a,"azure hub security","ms microsoft cloud enterprise iot internet of things").join(" ")),this.createVertexTemplateEntry(d+"Azure_IoT_Hub.svg;",.5*b,.5*b,"","Azure IoT Hub",null,null,this.getTagsForStencil(a,"azure hub","ms microsoft cloud enterprise iot internet of things").join(" ")),this.createVertexTemplateEntry(d+"Azure_Maps.svg;",.39*b,.5*b,"","Azure Maps",null,null,this.getTagsForStencil(a,"azure maps","ms microsoft cloud enterprise iot internet of things").join(" ")), +this.createVertexTemplateEntry(d+"Azure_Sphere.svg;",.48*b,.5*b,"","Azure Sphere",null,null,this.getTagsForStencil(a,"azure sphere","ms microsoft cloud enterprise iot internet of things").join(" ")),this.createVertexTemplateEntry(d+"Device_Provisioning_Services.svg;",.48*b,.5*b,"","Device Provisioning Services",null,null,this.getTagsForStencil(a,"device provisioning services","ms microsoft cloud enterprise iot internet of things").join(" ")),this.createVertexTemplateEntry("aspect=fixed;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;shape=mxgraph.mscae.cloud.central;fillColor=#0079D6;pointerEvents=1;", +.44*b,.5*b,"","IoT Central Applications",null,null,this.getTagsForStencil(a,"central applications","ms microsoft cloud enterprise iot internet of things").join(" ")),this.createVertexTemplateEntry(d+"Time_Series_Insights_environments.svg;",.49*b,.5*b,"","Time Series Insights environments",null,null,this.getTagsForStencil(a,"time series insights environments","ms microsoft cloud enterprise iot internet of things").join(" ")),this.createVertexTemplateEntry(d+"Input.svg;",.5*b,.45*b,"","Time Series Insights Events Sources", +null,null,this.getTagsForStencil(a,"time series insights events sources input","ms microsoft cloud enterprise iot internet of things").join(" ")),this.createVertexTemplateEntry(d+"Windows_10_IoT_Core_Services.svg;",.5*b,.5*b,"","Windows 10 IoT Core Services",null,null,this.getTagsForStencil(a,"windows 10 core services","ms microsoft cloud enterprise iot internet of things").join(" "))];this.addPalette("mscaeInternet of Things Service","CAE / Internet of Things Service",!1,mxUtils.bind(this,function(a){for(var b= +0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAEIntuneServicePalette=function(a,b,e,d){var c=[this.createVertexTemplateEntry(d+"Client_Apps.svg;",.5*b,.5*b,"","Client Apps",null,null,this.getTagsForStencil(a,"client apps","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(d+"Dedicated_Event_Hub.svg;",.5*b,.48*b,"","Dedicated Event Hub",null,null,this.getTagsForStencil(a,"dedicated event hub","ms microsoft cloud enterprise intune service").join(" ")), +this.createVertexTemplateEntry(d+"Device_Compliance.svg;",.41*b,.5*b,"","Device Compliance",null,null,this.getTagsForStencil(a,"device compliance","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(d+"Device_Config.svg;",.44*b,.5*b,"","Device Config",null,null,this.getTagsForStencil(a,"device config","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(d+"Devices_Groups.svg;",.5*b,.5*b,"","Devices Groups",null,null,this.getTagsForStencil(a, +"devices groups","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(d+"eBooks.svg;",.5*b,.41*b,"","eBooks",null,null,this.getTagsForStencil(a,"ebooks","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(d+"Enrollment.svg;",.5*b,.5*b,"","Enrollment",null,null,this.getTagsForStencil(a,"enrollment","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(d+"Exchange_On_premises_Access.svg;", +.29*b,.5*b,"","Exchange On-premises Access",null,null,this.getTagsForStencil(a,"exchange on premises access","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(d+"Intune_App_Protection.svg;",.5*b,.4*b,"","Intune App Protection",null,null,this.getTagsForStencil(a,"intune app protection","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(d+"Managed_Desktop.svg;",.5*b,.36*b,"","Managed Desktop",null,null,this.getTagsForStencil(a, +"managed desktop","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(d+"Security_Baselines.svg;",.44*b,.5*b,"","Security Baselines",null,null,this.getTagsForStencil(a,"security baselines","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(d+"Software_Update.svg;",.5*b,.45*b,"","Software Update",null,null,this.getTagsForStencil(a,"software update","ms microsoft cloud enterprise intune service").join(" ")),this.createVertexTemplateEntry(d+ +"Tools.svg;",.47*b,.5*b,"","Tools",null,null,this.getTagsForStencil(a,"tools","ms microsoft cloud enterprise intune service").join(" "))];this.addPalette("mscaeIntune Service","CAE / Intune Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAEManagementGovernanceServicePalette=function(a,b,e,d){var c=[this.createVertexTemplateEntry(d+"Log.svg;",.45*b,.5*b,"","Activity Log",null,null,this.getTagsForStencil(a,"activity log","ms microsoft cloud enterprise management and governance service").join(" ")), +this.createVertexTemplateEntry(d+"Advisor.svg;",.5*b,.5*b,"","Advisor",null,null,this.getTagsForStencil(a,"advisor","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(d+"Notification.svg;",.5*b,.5*b,"","Alerts",null,null,this.getTagsForStencil(a,"notification alert alerts","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(d+"Automation.svg;",.5*b,.5*b,"","Automation Accounts",null, +null,this.getTagsForStencil(a,"automation accounts","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(d+"Blueprints.svg;",.5*b,.48*b,"","Blueprints",null,null,this.getTagsForStencil(a,"blueprints","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(d+"BillingHub.svg;",.5*b,.5*b,"","BillingHub",null,null,this.getTagsForStencil(a,"billinghub","ms microsoft cloud enterprise management and governance service").join(" ")), +this.createVertexTemplateEntry(d+"LogDiagnostics.svg;",.45*b,.5*b,"","Diagnostic Settings",null,null,this.getTagsForStencil(a,"diagnostic settings log","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(d+"Free_Services.svg;",.5*b,.46*b,"","Free Services",null,null,this.getTagsForStencil(a,"free services","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(d+"Guest_Assignments.svg;", +.44*b,.5*b,"","Guest Assignments",null,null,this.getTagsForStencil(a,"guest assignments","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(d+"Managed_Applications.svg;",.47*b,.5*b,"","Managed Applications",null,null,this.getTagsForStencil(a,"managed applications","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(d+"Chart.svg;",.5*b,.48*b,"","Metrics",null,null,this.getTagsForStencil(a, +"metrics chart","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(d+"Monitor.svg;",.5*b,.5*b,"","Monitor",null,null,this.getTagsForStencil(a,"monitor","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(d+"Network_watcher.svg;",.5*b,.5*b,"","Network Watcher",null,null,this.getTagsForStencil(a,"network watcher","ms microsoft cloud enterprise management and governance service").join(" ")), +this.createVertexTemplateEntry(d+"Policy.svg;",.45*b,.5*b,"","Policy",null,null,this.getTagsForStencil(a,"policy","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(d+"Backup.svg;",.5*b,.42*b,"","Recovery Services Vault",null,null,this.getTagsForStencil(a,"recovery services vault backup","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(d+"Resource_Graph_Explorer.svg;",.49*b,.5*b,"", +"Resource Graph Explorer",null,null,this.getTagsForStencil(a,"resource graph explorer","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(d+"SchedulerJobCollection.svg;",.5*b,.43*b,"","Scheduler Job Collections",null,null,this.getTagsForStencil(a,"scheduler job collection collections","ms microsoft cloud enterprise management and governance service").join(" ")),this.createVertexTemplateEntry(d+"Solutions.svg;",.5*b,.5*b,"","Solutions",null, +null,this.getTagsForStencil(a,"solutions","ms microsoft cloud enterprise management and governance service").join(" "))];this.addPalette("mscaeManagement and Governance Service","CAE / Management and Governance Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAEManagementGovernanceMediaServicePalette=function(a,b,e,d){var c=[this.createVertexTemplateEntry(d+"Azure_Media_Player.svg;",.45*b,.5*b,"","Azure Media Player",null,null, +this.getTagsForStencil(a,"azure media player","ms microsoft cloud enterprise management and governance service media").join(" ")),this.createVertexTemplateEntry(d+"Content_Protection.svg;",.45*b,.5*b,"","Content Protection",null,null,this.getTagsForStencil(a,"content protection","ms microsoft cloud enterprise management and governance service media").join(" ")),this.createVertexTemplateEntry(d+"Media_Encoding.svg;",.43*b,.5*b,"","Media Encoding",null,null,this.getTagsForStencil(a,"media encoding", +"ms microsoft cloud enterprise management and governance service media").join(" ")),this.createVertexTemplateEntry(d+"Media_On_Demand.svg;",.5*b,.5*b,"","Media On Demand",null,null,this.getTagsForStencil(a,"media_on_demand","ms microsoft cloud enterprise management and governance service media").join(" "))];this.addPalette("mscaeManagement and Governance Service Media","CAE / Management and Governance Service - Media",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))}; +Sidebar.prototype.addMSCAEMigrateServicePalette=function(a,b,e,d){var c=[this.createVertexTemplateEntry(d+"Azure_Database_Migration_Services.svg;",.5*b,.5*b,"","Azure Database Migration Services",null,null,this.getTagsForStencil(a,"azure database migration services","ms microsoft cloud enterprise migrate service").join(" ")),this.createVertexTemplateEntry(d+"Migration_Projects.svg;",.5*b,.32*b,"","Migration Projects",null,null,this.getTagsForStencil(a,"migration projects","ms microsoft cloud enterprise migrate service").join(" ")), +this.createVertexTemplateEntry(d+"Backup.svg;",.5*b,.42*b,"","Recovery Services Vaults",null,null,this.getTagsForStencil(a,"recovery services vaults vault","ms microsoft cloud enterprise migrate service").join(" "))];this.addPalette("mscaeMigrate Service","CAE / Migrate Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAEMixedRealityServicePalette=function(a,b,e,d){var c=[this.createVertexTemplateEntry(d+"Spatial_Anchor.svg;",.48* +b,.5*b,"","Spatial Anchor",null,null,this.getTagsForStencil(a,"spatial anchor","ms microsoft cloud enterprise mixed reality service").join(" "))];this.addPalette("mscaeMixed Reality Service","CAE / Mixed Reality Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAEMobileServicePalette=function(a,b,e,d){var c=[this.createVertexTemplateEntry(d+"App_Service_Mobile_App.svg;",.34*b,.5*b,"","Azure App Service - Mobile",null,null,this.getTagsForStencil(a, +"azure app service mobile","ms microsoft cloud enterprise mobile service").join(" ")),this.createVertexTemplateEntry(d+"Mobile_Engagement.svg;",.34*b,.5*b,"","Azure Mobile Engagement",null,null,this.getTagsForStencil(a,"azure mobile engagement","ms microsoft cloud enterprise mobile service").join(" ")),this.createVertexTemplateEntry(d+"Notification_Hubs.svg;",.5*b,.5*b,"","Notification_Hubs",null,null,this.getTagsForStencil(a,"notification hubs","ms microsoft cloud enterprise mobile service").join(" "))]; +this.addPalette("mscaeMobile Service","CAE / Mobile Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAENetworkingServicePalette=function(a,b,e,d){var c=[this.createVertexTemplateEntry(d+"Application_Gateway.svg;",.5*b,.5*b,"","Application Gateway",null,null,this.getTagsForStencil(a,"application gateway","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(d+"Application_Security_Groups.svg;", +.37*b,.5*b,"","Application Security Groups",null,null,this.getTagsForStencil(a,"application security groups","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(d+"Azure_Firewall.svg;",.5*b,.5*b,"","Azure Firewall",null,null,this.getTagsForStencil(a,"azure firewall","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(d+"Content_Delivery_Network.svg;",.5*b,.23*b,"","CDN Profiles",null,null,this.getTagsForStencil(a, +"cdn profiles content delivery network","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(d+"Connections.svg;",.5*b,.5*b,"","Connections",null,null,this.getTagsForStencil(a,"connections","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(d+"Connections.svg;",.5*b,.5*b,"","Connections",null,null,this.getTagsForStencil(a,"connections","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(d+ +"DDOS_Protection_Plans.svg;",.37*b,.5*b,"","DDOS Protection Plans",null,null,this.getTagsForStencil(a,"ddos protection plans","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(d+"DNS_Private_Zones.svg;",.5*b,.5*b,"","DNS Private Zones",null,null,this.getTagsForStencil(a,"dns domain name server private zones","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(d+"DNS.svg;",.5*b,.5*b,"","DNS Zones",null,null,this.getTagsForStencil(a, +"dns domain name server zones","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(d+"Express_Route.svg;",.5*b,.3*b,"","Express Route Circuits",null,null,this.getTagsForStencil(a,"express route circuits","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(d+"Front_Doors.svg;",.5*b,.44*b,"","Front Doors",null,null,this.getTagsForStencil(a,"front doors","ms microsoft cloud enterprise networking service").join(" ")), +this.createVertexTemplateEntry(d+"Load_Balancer_feature.svg;",.5*b,.5*b,"","Load Balancers",null,null,this.getTagsForStencil(a,"load balancer balancers","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(d+"Local_Network_Gateways.svg;",.5*b,.5*b,"","Local Network Gateways",null,null,this.getTagsForStencil(a,"local network gateways","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(d+"NetworkInterfaceCard.svg;", +.44*b,.5*b,"","Network Interface Card",null,null,this.getTagsForStencil(a,"network interface card","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(d+"Network_Security_Groups_Classic.svg;",.37*b,.5*b,"","Network Security Groups (Classic)",null,null,this.getTagsForStencil(a,"network security group classic","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(d+"Network_watcher.svg;",.5*b,.5*b,"","Network Watcher", +null,null,this.getTagsForStencil(a,"network watcher","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(d+"On_Premises_Data_Gateways.svg;",.5*b,.5*b,"","On-Premises Data Gateways",null,null,this.getTagsForStencil(a,"on premises data gateways","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(d+"App_Service_IPAddress.svg;",.5*b,.42*b,"","Public IP Addresses",null,null,this.getTagsForStencil(a,"app service ip internet protocol address addresses", +"ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(d+"ClassicIPAddress.svg;",.5*b,.42*b,"","Reserved IP Addresses (Classic)",null,null,this.getTagsForStencil(a,"classic ip internet protocol address adresses","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(d+"Route_Filter.svg;",.5*b,.42*b,"","Route Filters",null,null,this.getTagsForStencil(a,"route filters","ms microsoft cloud enterprise networking service").join(" ")), +this.createVertexTemplateEntry(d+"UserDefinedRoute.svg;",.5*b,.5*b,"","Route Tables",null,null,this.getTagsForStencil(a,"route tables","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(d+"Service_Endpoint_Policies.svg;",.49*b,.5*b,"","Service Endpoint Policies",null,null,this.getTagsForStencil(a,"service endpoint policies","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(d+"Traffic_Manager.svg;",.5*b,.5*b,"", +"Traffic Manager Profiles",null,null,this.getTagsForStencil(a,"traffic manager profiles","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(d+"Virtual_Network_Classic.svg;",.5*b,.28*b,"","Virtual Network (Classic)",null,null,this.getTagsForStencil(a,"virtual network classic","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(d+"VPN_Gateway.svg;",.45*b,.5*b,"","Virtual Network Gateways",null,null,this.getTagsForStencil(a, +"vpn gateway gateways virtual private network","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(d+"Virtual_Network.svg;",.5*b,.28*b,"","Virtual Networks",null,null,this.getTagsForStencil(a,"virtual network networks","ms microsoft cloud enterprise networking service").join(" ")),this.createVertexTemplateEntry(d+"aspect=fixed;html=1;perimeter=none;align=center;shadow=0;dashed=0;image;fontSize=12;image=img/lib/mscae/Virtual_WANs.svg;",.5*b,.5*b,"","Virtual WANs", +null,null,this.getTagsForStencil(a,"virtual wans wan wide area network networks","ms microsoft cloud enterprise networking service").join(" "))];this.addPalette("mscaeNetworking Service","CAE / Networking Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAEOtherCategoryServicePalette=function(a,b,e,d){var c=[this.createVertexTemplateEntry(d+"CloudSimple_Nodes.svg;",.49*b,.5*b,"","CloudSimple Nodes",null,null,this.getTagsForStencil(a, +"cloudsimple nodes","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(d+"CloudSimple_Services.svg;",.5*b,.5*b,"","CloudSimple Services",null,null,this.getTagsForStencil(a,"cloudsimple services","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(d+"CloudSimple_Virtual_Machines.svg;",.5*b,.32*b,"","CloudSimple Virtual Machines",null,null,this.getTagsForStencil(a,"cloudsimple virtual machines","ms microsoft cloud enterprise other category service").join(" ")), +this.createVertexTemplateEntry(d+"Controllers.svg;",.5*b,.44*b,"","Controllers",null,null,this.getTagsForStencil(a,"controllers","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(d+"Customer_Lockbox.svg;",.47*b,.5*b,"","Customer Lockbox",null,null,this.getTagsForStencil(a,"customer lockbox","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(d+"Education.svg;",.5*b,.39*b,"","Education",null,null,this.getTagsForStencil(a, +"education","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(d+"Image_Definitions.svg;",.5*b,.39*b,"","Image Definitions",null,null,this.getTagsForStencil(a,"image definitions","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(d+"Image_Versions.svg;",.5*b,.48*b,"","Image Versions",null,null,this.getTagsForStencil(a,"image versions","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(d+ +"Resource_Explorer.svg;",.5*b,.46*b,"","Resource Explorer",null,null,this.getTagsForStencil(a,"resource explorer","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(d+"Shared_Image_Galleries.svg;",.5*b,.5*b,"","Shared Image Galleries",null,null,this.getTagsForStencil(a,"shared image galleries","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(d+"Tenant_Status.svg;",.46*b,.5*b,"","Tenant Status",null,null, +this.getTagsForStencil(a,"tenant status","ms microsoft cloud enterprise other category service").join(" ")),this.createVertexTemplateEntry(d+"Web_App_Firewall.svg;",.5*b,.5*b,"","Web App Firewall",null,null,this.getTagsForStencil(a,"web app firewall","ms microsoft cloud enterprise other category service").join(" "))];this.addPalette("mscaeOther Category Service","CAE / Other Category Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAESecurityServicePalette= +function(a,b,e,d){var c=[this.createVertexTemplateEntry(d+"Azure_Sentinel.svg;",.44*b,.5*b,"","Azure Sentinel",null,null,this.getTagsForStencil(a,"azure sentinel","ms microsoft cloud enterprise security service").join(" ")),this.createVertexTemplateEntry(d+"Key_Vaults.svg;",.48*b,.5*b,"","Key Vaults",null,null,this.getTagsForStencil(a,"key vaults","ms microsoft cloud enterprise security service").join(" ")),this.createVertexTemplateEntry(d+"Security_Center.svg;",.36*b,.5*b,"","Security Center",null, +null,this.getTagsForStencil(a,"security center","ms microsoft cloud enterprise security service").join(" "))];this.addPalette("mscaeSecurity Service","CAE / Security Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAEStorageServicePalette=function(a,b,e,d){var c=[this.createVertexTemplateEntry(d+"Archive_Storage.svg;",.5*b,.48*b,"","Archive Storage",null,null,this.getTagsForStencil(a,"archive storage","ms microsoft cloud enterprise storage service").join(" ")), +this.createVertexTemplateEntry(d+"Azure_NetApp_files.svg;",.5*b,.42*b,"","Azure NetApp files",null,null,this.getTagsForStencil(a,"azure netapp files","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(d+"StorSimple.svg;",.5*b,.45*b,"","StorSimple",null,null,this.getTagsForStencil(a,"storsimple","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(d+"AzureFXTEdgeFiler.svg;",.5*b,.5*b,"","AzureFXTEdgeFiler",null,null,this.getTagsForStencil(a, +"azurefxtedgefiler","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(d+"Blog_Storage.svg;",.5*b,.46*b,"","Blog Storage",null,null,this.getTagsForStencil(a,"blog storage","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(d+"Data_Box_Edge_Data_Box_Gateway.svg;",.5*b,.32*b,"","Data Box Edge - Data Box Gateway",null,null,this.getTagsForStencil(a,"data box edge data gateway","ms microsoft cloud enterprise storage service").join(" ")), +this.createVertexTemplateEntry(d+"Data_Box.svg;",.5*b,.47*b,"","Data Box / Import Export Storage",null,null,this.getTagsForStencil(a,"data box","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(d+"Data_Lake_Storage.svg;",.5*b,.46*b,"","Data Lake Storage",null,null,this.getTagsForStencil(a,"data lake storage","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(d+"General_Storage.svg;",.5*b,.5*b,"","General Storage",null, +null,this.getTagsForStencil(a,"general storage","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(d+"Queues_Storage.svg;",.5*b,.44*b,"","Queues Storage",null,null,this.getTagsForStencil(a,"queues storage","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(d+"ClassicStorage.svg;",.5*b,.43*b,"","Classic Storage",null,null,this.getTagsForStencil(a,"classic storage","ms microsoft cloud enterprise storage service").join(" ")), +this.createVertexTemplateEntry(d+"Storage_Accounts.svg;",.5*b,.45*b,"","Storage Accounts",null,null,this.getTagsForStencil(a,"storage accounts","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(d+"Storage_Explorer.svg;",.5*b,.5*b,"","Storage Explorer",null,null,this.getTagsForStencil(a,"storage explorer","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(d+"Storage_sync_service.svg;",.5*b,.5*b,"","Storage Sync Services", +null,null,this.getTagsForStencil(a,"storage sync services","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(d+"StorSimple_Data_Managers.svg;",.37*b,.5*b,"","StorSimple Data Managers",null,null,this.getTagsForStencil(a,"storsimple data managers","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry("aspect=fixed;verticalLabelPosition=bottom;html=1;verticalAlign=top;align=center;strokeColor=none;fillColor=#00BEF2;shape=mxgraph.azure.storsimple;", +.5*b,.45*b,"","StorSimple Device Managers",null,null,this.getTagsForStencil(a,"storsimple device managers","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(d+"StorSimple_Data_Managers.svg;",.37*b,.5*b,"","StorSimple Data Managers",null,null,this.getTagsForStencil(a,"storsimple data managers","ms microsoft cloud enterprise storage service").join(" ")),this.createVertexTemplateEntry(d+"Table_Storage.svg;",.5*b,.48*b,"","Table Storage",null,null,this.getTagsForStencil(a, +"table storage","ms microsoft cloud enterprise storage service").join(" "))];this.addPalette("mscaeStorage Service","CAE / Storage Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAEWebServicePalette=function(a,b,e,d){var c=[this.createVertexTemplateEntry(d+"Connection.svg;",.5*b,.31*b,"","Connection",null,null,this.getTagsForStencil(a,"connection","ms microsoft cloud enterprise web service").join(" ")),this.createVertexTemplateEntry(d+ +"Certificate.svg;",.5*b,.42*b,"","App Service Certificates",null,null,this.getTagsForStencil(a,"app application certificates certificate","ms microsoft cloud enterprise web service").join(" ")),this.createVertexTemplateEntry(d+"CustomDomain.svg;",.5*b,.42*b,"","App Service Domains",null,null,this.getTagsForStencil(a,"app service domain domains","ms microsoft cloud enterprise web service").join(" ")),this.createVertexTemplateEntry(d+"App_Service.svg;",.5*b,.5*b,"","App Service Environments",null,null, +this.getTagsForStencil(a,"app service environments","ms microsoft cloud enterprise web service").join(" ")),this.createVertexTemplateEntry(d+"WebHosting.svg;",.5*b,.5*b,"","App Service Plans",null,null,this.getTagsForStencil(a,"app plans web hosting","ms microsoft cloud enterprise web service").join(" ")),this.createVertexTemplateEntry(d+"App_Services.svg;",.5*b,.5*b,"","App Services",null,null,this.getTagsForStencil(a,"app services","ms microsoft cloud enterprise web service").join(" ")),this.createVertexTemplateEntry(d+ +"Media_Services.svg;",.44*b,.5*b,"","Azure Media Services",null,null,this.getTagsForStencil(a,"azure media services","ms microsoft cloud enterprise web service").join(" ")),this.createVertexTemplateEntry(d+"Search.svg;",.5*b,.5*b,"","Azure Search",null,null,this.getTagsForStencil(a,"azure search","ms microsoft cloud enterprise web service").join(" ")),this.createVertexTemplateEntry(d+"Notification_Hubs.svg;",.5*b,.5*b,"","Notification Hub Namespaces",null,null,this.getTagsForStencil(a,"notification hub namespace namespaces", +"ms microsoft cloud enterprise web service").join(" ")),this.createVertexTemplateEntry(d+"SignalR.svg;",.5*b,.5*b,"","SignalR",null,null,this.getTagsForStencil(a,"signalr","ms microsoft cloud enterprise web service").join(" "))];this.addPalette("mscaeWeb Service","CAE / Web Service",!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))}})();(function(){Sidebar.prototype.addNetworkPalette=function(){this.addPaletteFunctions("network","Network",!1,[this.addDataEntry("computer network ring bus",100,100,"Ring Bus","7VfJboMwEP0arpWBkNJjgTanSpF66NmKJ2DVYDQ429/XYIclKi2Nkp5AQrLfrLzHsDh+nB9XSMvsTTIQjv/i+DFKqcwqP8YghOMRzhw/cTyP6NPxXkesbmMlJUUo1JQAzwTsqdiBQQxQqZOwQKZy3VbiOn605ULEUkhsLH7cHBqvFMpP6FmWYehGfm3JaFnn0VV5WelVVALyHBRgh647KEqRMq6bPycrZAE9OOEIG8Vl0ZhQZXVXsnPXtbfN0Xb1wVntlXgasRcLqOA4SlgDWbZWIHVjeNIuNsALTMRpuD3YKnoXGMZJBjzN1BCjldmnbd5OG72w8nwvlf+7VOM6AEvh3TpaSlHuCgZ1clI7FOwZUR46O6NV1pp7N8EYrXWJAamKYgpqcJ9N4BlBUMX3w1Tf8WZD15LrjK0+l0xXcocbsE4XZLdVJ/G/mPmfwH8YPAwnxF2cgdtLEsySTJDEJWSgyP1GZDnrcc2IdMDtJXmcJfnDW+P8zCJ3G5Fw1mPKI2vxjyPyNEvykyR3f2u4ZBbgmpm44ZeV3nb/nMa9/0v6BQ=="), this.addDataEntry("computer network bus backbone",260,140,"Bus","7ZdNj4IwEIZ/DVcD1HXd4wK7njYx8bDnKiM0FmqGori/fltaBb8Ws5EbJCb0nel0fF4yBIeEWTVDuk2/RAzcIR8OCVEIae6yKgTOHd9lsUMix/dd9XP8zztRr466W4qQy0c2+GbDjvISjGKEQh64FVKZqbYizyHBmnEeCi6wjpCwvpReSBQbaEUm06kXEBVJkMZM9XKM5SKHlhwxhJVkIq9DKNNTsW8W61XkayWlW91MViUa1CgHuRe4KUbLsvjfGWvRpKt21/Wl9C0gy0CC1pd0tVmqUvNGC47agv3ohhRcEliCgBKquy7UkrVgBkLVw4NKOZjoxJjk7u2f1sYctRRYktoq1kyXFmadnCo1Fqsb6/Jtx0m34/fthDiBhU20mFGUeQy6uIYBefyOKPZNvPX4XDtrjtZVz8hJignIsyf0AZgInEq2Oy91C5XdOhdMVfRd69r4Am4hSlyBTbrgezr1IeTjAflt5J7bG/OXgfkd5pPemE8G5reZXw3u5zF/HZj/Pc7tK9brb7xPBws6xnv/HrwNHnSM+/498NzBhI75/3QT1LL5WDTp7W/JXw=="), this.createVertexTemplateEntry("html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.bus;gradientColor=none;gradientDirection=north;fontColor=#ffffff;perimeter=backbonePerimeter;backboneSize=20;",200,20,"","Bus",null,null,this.getTagsForStencil("mxgraph.networks","bus backbone","computer network ").join(" ")),this.createEdgeTemplateEntry("html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.comm_link_edge;html=1;", 100,100,"","Comm Link",null,this.getTagsForStencil("mxgraph.networks","comm_link_edge","computer network ").join(" ")),this.createVertexTemplateEntry("fontColor=#0066CC;verticalAlign=top;verticalLabelPosition=bottom;labelPosition=center;align=center;html=1;outlineConnect=0;fillColor=#CCCCCC;strokeColor=#6881B3;gradientColor=none;gradientDirection=north;strokeWidth=2;shape=mxgraph.networks.biometric_reader;",60,100,"","Biometric Reader",null,null,this.getTagsForStencil("mxgraph.networks","biometric_reader", @@ -6973,7 +6967,7 @@ this.addPaletteFunctions("pidValves","Proc. Eng. / Valves",!1,[this.createVertex "valve","pid process instrumentation engineering globe").join(" ")),this.createVertexTemplateEntry(b+"butterfly",100,60,"","Butterfly Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering butterfly").join(" ")),this.createVertexTemplateEntry(b+"check;",100,60,"","Check Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering check").join(" ")),this.createVertexTemplateEntry(b+"plug",100,60, "","Plug Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering plug").join(" ")),this.createVertexTemplateEntry(b+"needle",100,60,"","Needle Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering needle").join(" ")),this.createVertexTemplateEntry(b+"selfDrain",100,60,"","Self Draining Valve",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering self draining").join(" ")), this.createVertexTemplateEntry(b+"gate;actuator=man",100,100,"","Gate Valve (Manual)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate manual").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=diaph",100,100,"","Gate Valve (Diaphragm)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate diaphragm").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=balDiaph",100,100, -"","Gate Valve (Balanced Diaphragm)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate balanced diaphragm").join(" ")),this.addEntry("pid process instrumentation engineering valve gate powered",function(){var a=new mxCell("",new mxGeometry(0,0,100,100),b+"gate;actuator=powered");a.vertex=!0;var c=new mxCell("",new mxGeometry(32.5,0,35,35),"part=1;strokeColor=none;fillColor=none;fontStyle=1;fontSize=14;");c.vertex=!0;a.insert(c);return sb.createVertexTemplateFromCells([a], +"","Gate Valve (Balanced Diaphragm)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate balanced diaphragm").join(" ")),this.addEntry("pid process instrumentation engineering valve gate powered",function(){var a=new mxCell("",new mxGeometry(0,0,100,100),b+"gate;actuator=powered");a.vertex=!0;var d=new mxCell("",new mxGeometry(32.5,0,35,35),"part=1;strokeColor=none;fillColor=none;fontStyle=1;fontSize=14;");d.vertex=!0;a.insert(d);return sb.createVertexTemplateFromCells([a], 100,100,"Gate Valve (Powered)")}),this.createVertexTemplateEntry(b+"gate;actuator=digital",100,100,"","Gate Valve (Digital)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate digital").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=elHyd",100,100,"","Gate Valve (Electro-Hydraulic)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate electro hydraulic").join(" ")),this.createVertexTemplateEntry(b+ "gate;actuator=key",100,100,"","Gate Valve (Key)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate key").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=motor",100,100,"","Gate Valve (Motor)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate motor").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=pilot",100,100,"","Gate Valve (Pilot)",null,null,this.getTagsForStencil("mxgraph.pid2valves", "valve","pid process instrumentation engineering gate pilot").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=solenoid",100,100,"","Gate Valve (Solenoid)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate solenoid").join(" ")),this.createVertexTemplateEntry(b+"gate;actuator=solenoidManRes",100,100,"","Gate Valve (Solenoid With Manual Reset)",null,null,this.getTagsForStencil("mxgraph.pid2valves","valve","pid process instrumentation engineering gate solenoid manual reset").join(" ")), @@ -7056,47 +7050,45 @@ this.getTagsForStencil("mxgraph.pid.misc","screening_device,_sieve,_strainer_(co "screening_device,_sieve,_strainer_(vibrating);",80,120,"","Screening Device, Sieve, Strainer (Vibrating)",null,null,this.getTagsForStencil("mxgraph.pid.misc","screening_device,_sieve,_strainer_(vibrating)","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"ship",105,60,"","Ship",null,null,this.getTagsForStencil("mxgraph.pid.misc","ship","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"silencer;",100,30,"","Silencer",null,null,this.getTagsForStencil("mxgraph.pid.misc", "silencer","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"spraying_device;pointerEvents=1;",60,20,"","Spraying Device",null,null,this.getTagsForStencil("mxgraph.pid.misc","spraying_device","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"spray_cooler;",100,120,"","Spray Cooler",null,null,this.getTagsForStencil("mxgraph.pid.misc","spray_cooler","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"stack,_chimney;",60,100,"","Stack, Chimney", null,null,this.getTagsForStencil("mxgraph.pid.misc","stack,_chimney","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"steam_trap;",53,53,"","Steam Trap",null,null,this.getTagsForStencil("mxgraph.pid.misc","steam_trap","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+"tank_car,_tank_wagon;",127,80,"","Tank Car, Tank Wagon",null,null,this.getTagsForStencil("mxgraph.pid.misc","tank_car,_tank_wagon","process instrumentation ").join(" ")),this.createVertexTemplateEntry(b+ -"viewing_glass;",80,50,"","Viewing Glass",null,null,this.getTagsForStencil("mxgraph.pid.misc","viewing_glass","process instrumentation ").join(" "))])}})();(function(){Sidebar.prototype.addRackGeneralPalette=function(){this.addPaletteFunctions("rackGeneral","Rack / General",!1,[this.createVertexTemplateEntry("strokeColor=#666666;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rackGeneral.container;fillColor2=#f4f4f4;fillColor=#ffffff;container=1;collapsible=0;childLayout=rack;allowGaps=1;marginLeft=9;marginRight=9;marginTop=21;marginBottom=22;textColor=#666666;numDisp=off;", -180,228.6,"","Rack Cabinet",null,null,"rack equipment cabinet"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rackGeneral.container;fillColor2=#f4f4f4;fillColor=#ffffff;container=1;collapsible=0;childLayout=rack;allowGaps=1;marginLeft=33;marginRight=9;marginTop=21;marginBottom=22;textColor=#666666;numDisp=ascend;",210,228.6,"","Numbered Rack Cabinet",null,null, -"rack equipment cabinet numbered"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rackGeneral.container;container=1;collapsible=0;childLayout=rack;allowGaps=1;marginLeft=9;marginRight=9;marginTop=21;marginBottom=22;textColor=#666666;numDisp=off;",180,228.6,"","Rack Cabinet",null,null,"rack equipment cabinet"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rackGeneral.container;container=1;collapsible=0;childLayout=rack;allowGaps=1;marginLeft=33;marginRight=9;marginTop=21;marginBottom=22;textColor=#666666;numDisp=ascend;", -210,228.6,"","Numbered Rack Cabinet",null,null,"rack equipment cabinet numbered"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;text;",160,15,"","Spacing",null,null,"rack equipment spacing"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rackGeneral.plate;fillColor=#e8e8e8;",160,15, -"","Cover Plate",null,null,"rack equipment cover plate"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.general.1u_rack_server;",160,15,"","Server",null,null,"rack equipment server"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rackGeneral.horCableDuct;", -160,15,"","Horizontal Cable Duct",null,null,"rack equipment horizontal cable duct"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rackGeneral.horRoutingBank;",160,20,"","Horizontal Routing Bank",null,null,"rack equipment horizontal routing bank"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rackGeneral.neatPatch;", -160,30,"","Neat-Patch",null,null,"rack equipment neat patch"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rackGeneral.shelf;container=1;collapsible=0",160,15,"","Shelf",null,null,"rack equipment shelf"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rackGeneral.channelBase;", -200,30,"","Channel Base",null,null,"rack equipment channel base"),this.createVertexTemplateEntry("shape=mxgraph.rackGeneral.cabinetLeg;html=1;shadow=0;dashed=0;fillColor=#444444;strokeColor=#444444;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;",50,50,"","Cabinet Leg",null,null,"rack equipment cabinet leg support"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.general.cat5e_enhanced_patch_panel_48_ports;", -160,30,"","CAT5e Enhanced Patch Panel 48 ports",null,null,"rack equipment cat5e enhanced patch panel port"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.general.cat5e_rack_mount_patch_panel_24_ports;",160,15,"","CAT5e Rack Mount Patch Panel 24 ports",null,null,"rack equipment cat5e mount patch panel port"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.general.cat5e_rack_mount_patch_panel_96_ports;", -160,60,"","CAT5e Rack Mount Patch Panel 96 ports",null,null,"rack equipment cat5e mount patch panel port"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.general.hub;",160,30,"","Hub",null,null,"rack equipment hub"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.general.server_1;", +"viewing_glass;",80,50,"","Viewing Glass",null,null,this.getTagsForStencil("mxgraph.pid.misc","viewing_glass","process instrumentation ").join(" "))])}})();(function(){Sidebar.prototype.addRackGeneralPalette=function(){this.addPaletteFunctions("rackGeneral","Rack / General",!1,[this.createVertexTemplateEntry("strokeColor=#666666;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rackGeneral.container;fillColor2=#f4f4f4;container=1;collapsible=0;childLayout=rack;allowGaps=1;marginLeft=9;marginRight=9;marginTop=21;marginBottom=22;textColor=#666666;numDisp=off;",180,228.6, +"","Rack Cabinet",null,null,"rack equipment cabinet"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rackGeneral.container;fillColor2=#f4f4f4;container=1;collapsible=0;childLayout=rack;allowGaps=1;marginLeft=33;marginRight=9;marginTop=21;marginBottom=22;textColor=#666666;numDisp=ascend;",210,228.6,"","Numbered Rack Cabinet",null,null,"rack equipment cabinet numbered"), +this.createVertexTemplateEntry("strokeColor=#666666;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rackGeneral.container;container=1;collapsible=0;childLayout=rack;allowGaps=1;marginLeft=9;marginRight=9;marginTop=21;marginBottom=22;textColor=#666666;numDisp=off;",180,228.6,"","Rack Cabinet",null,null,"rack equipment cabinet"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rackGeneral.container;container=1;collapsible=0;childLayout=rack;allowGaps=1;marginLeft=33;marginRight=9;marginTop=21;marginBottom=22;textColor=#666666;numDisp=ascend;", +210,228.6,"","Numbered Rack Cabinet",null,null,"rack equipment cabinet numbered"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;text;",160,15,"","Spacing",null,null,"rack equipment spacing"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rackGeneral.plate;fillColor=#e8e8e8;",160,15,"","Cover Plate", +null,null,"rack equipment cover plate"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.general.1u_rack_server;",160,15,"","Server",null,null,"rack equipment server"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rackGeneral.horCableDuct;",160,15,"","Horizontal Cable Duct",null,null, +"rack equipment horizontal cable duct"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rackGeneral.horRoutingBank;",160,20,"","Horizontal Routing Bank",null,null,"rack equipment horizontal routing bank"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rackGeneral.neatPatch;",160,30,"","Neat-Patch", +null,null,"rack equipment neat patch"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rackGeneral.shelf;container=1;collapsible=0",160,15,"","Shelf",null,null,"rack equipment shelf"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rackGeneral.channelBase;",200,30,"","Channel Base",null,null, +"rack equipment channel base"),this.createVertexTemplateEntry("shape=mxgraph.rackGeneral.cabinetLeg;html=1;shadow=0;dashed=0;fillColor=#444444;strokeColor=#444444;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;",50,50,"","Cabinet Leg",null,null,"rack equipment cabinet leg support"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.general.cat5e_enhanced_patch_panel_48_ports;", +160,30,"","CAT5e Enhanced Patch Panel 48 ports",null,null,"rack equipment cat5e enhanced patch panel port"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.general.cat5e_rack_mount_patch_panel_24_ports;",160,15,"","CAT5e Rack Mount Patch Panel 24 ports",null,null,"rack equipment cat5e mount patch panel port"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.general.cat5e_rack_mount_patch_panel_96_ports;", +160,60,"","CAT5e Rack Mount Patch Panel 96 ports",null,null,"rack equipment cat5e mount patch panel port"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.general.hub;",160,30,"","Hub",null,null,"rack equipment hub"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.general.server_1;", 73,150,"","Server 1",null,null,"rack equipment server"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.general.server_2;",73,150,"","Server 2",null,null,"rack equipment server"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;shape=mxgraph.rack.general.server_3;", -73,150,"","Server 3",null,null,"rack equipment server"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.general.switches_1;",160,30,"","Switches 1",null,null,"rack equipment server"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.general.switches_2;", -160,30,"","Switches 2",null,null,"rack equipment server")])};Sidebar.prototype.addRackF5Palette=function(){this.addPaletteFunctions("rackF5","Rack / F5",!1,[this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.f5.arx_500;",168,20,"","ARX 500",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.f5.arx_1000;", -168,40,"","ARX 1000",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.f5.arx_1500;",168,20,"","ARX 1500",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.f5.arx_2000;",168,40,"","ARX 2000", -null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.f5.arx_2500;",168,20,"","ARX 2500",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.f5.arx_4000;",168,60,"","ARX 4000",null,null,"rack equipment arx"), -this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.f5.arx_5000;",168,20,"","ARX 5000",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.f5.arx_6000;",168,240,"","ARX 6000",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_1600;", -168,20,"","BIG-IP 1600",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_2x00;",168,20,"","BIG-IP 2x00",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_3600;", -168,20,"","BIG-IP 3600",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_3900;",168,20,"","BIG-IP 3900",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_4x00;", -168,20,"","BIG-IP 4x00",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_5x00;",168,20,"","BIG-IP 5x00",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_6900;", -168,40,"","BIG-IP 6900",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_89x0;",168,40,"","BIG-IP 89x0",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_7x00;", -168,40,"","BIG-IP 7x00",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_10x00;",168,40,"","BIG-IP 10x00",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_110x0;", -168,60,"","BIG-IP 110x0",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.f5.em_4000;",168,20,"","EM 4000",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.f5.firepass_1200;", -168,20,"","FirePass 1200",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.f5.firepass_4100;",168,40,"","FirePass 4100",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.f5.viprion_2400;", -168,60,"","VIPRION 2400",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.f5.viprion_4400;",168,120,"","VIPRION 4400",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.f5.viprion_4800;", -168,320,"","VIPRION 4800",null,null,"rack equipment big ip")])};Sidebar.prototype.addRackDellPalette=function(){this.addPaletteFunctions("rackDell","Rack / Dell",!1,[this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.dell_poweredge_1u;",162,15,"","PowerEdge 1U",null,null,"rack equipment poweredge 1u"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.dell_poweredge_2u;", -162,30,"","PowerEdge 2U",null,null,"rack equipment poweredge 2u"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.dell_poweredge_4u;",162,60,"","PowerEdge 4U",null,null,"rack equipment poweredge 4u"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.power_strip;", -162,15,"","Power Strip",null,null,"rack equipment power strip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_630;",162,15,"","PowerEdge 630",null,null,"rack equipment poweredge 630"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_c4140;", -162,15,"","PowerEdge C4140",null,null,"rack equipment poweredge c4140"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_m1000e_enclosure;",162,150,"","PowerEdge M1000e Enclosure",null,null,"rack equipment poweredge m1000e enclosure"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_m420;", -20,37,"","PowerEdge M420",null,null,"rack equipment poweredge m420"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_m520;",20,37,"","PowerEdge M520",null,null,"rack equipment poweredge m520"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_m610x;", -20,37,"","PowerEdge M610x",null,null,"rack equipment poweredge m610x"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_m620;",20,37,"","PowerEdge M620",null,null,"rack equipment poweredge m620"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_m820;", -20,143,"","PowerEdge M820",null,null,"rack equipment poweredge m820"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_m915;",20,143,"","PowerEdge M915",null,null,"rack equipment poweredge m820"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r240;", -162,15,"","PowerEdge R240",null,null,"rack equipment poweredge r240"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r340;",162,15,"","PowerEdge R340",null,null,"rack equipment poweredge r340"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r440;", -162,15,"","PowerEdge R440",null,null,"rack equipment poweredge r440"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r540;",162,27,"","PowerEdge R540",null,null,"rack equipment poweredge r540"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r640;", -162,15,"","PowerEdge R640",null,null,"rack equipment poweredge r640"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r6415;",162,15,"","PowerEdge R6415",null,null,"rack equipment poweredge r6415"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r6515;", -162,15,"","PowerEdge R6515",null,null,"rack equipment poweredge r6515"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r6525;",162,15,"","PowerEdge R6525",null,null,"rack equipment poweredge r6525"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r730;", -162,30,"","PowerEdge R730",null,null,"rack equipment poweredge r730"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r730xd;",162,30,"","PowerEdge R730xd",null,null,"rack equipment poweredge r730xd"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r740;", -162,30,"","PowerEdge R740",null,null,"rack equipment poweredge r740"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r740xd;",162,30,"","PowerEdge R740xd",null,null,"rack equipment poweredge r740xd"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r740xd2;", -162,30,"","PowerEdge R740xd2",null,null,"rack equipment poweredge r740xd2"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r7415;",162,30,"","PowerEdge R7415",null,null,"rack equipment poweredge r7415"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r7425;", -162,30,"","PowerEdge R7425",null,null,"rack equipment poweredge r7425"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r7515;",162,30,"","PowerEdge R7515",null,null,"rack equipment poweredge r7515"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r840;", -162,30,"","PowerEdge R840",null,null,"rack equipment poweredge r840"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r940;",162,45,"","PowerEdge R940",null,null,"rack equipment poweredge r940"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_xr2;", -162,15,"","PowerEdge XR2",null,null,"rack equipment poweredge xr2")])}})();(function(){Sidebar.prototype.addSitemapPalette=function(){var a=[this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.page;",120,70,"Page","Page",null,null,this.getTagsForStencil("mxgraph.sitemap","page","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.about_us;", +73,150,"","Server 3",null,null,"rack equipment server"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.general.switches_1;",160,30,"","Switches 1",null,null,"rack equipment server"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.general.switches_2;",160,30,"","Switches 2",null, +null,"rack equipment server")])};Sidebar.prototype.addRackF5Palette=function(){this.addPaletteFunctions("rackF5","Rack / F5",!1,[this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.arx_500;",168,20,"","ARX 500",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.arx_1000;", +168,40,"","ARX 1000",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.arx_1500;",168,20,"","ARX 1500",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.arx_2000;",168,40,"","ARX 2000",null,null,"rack equipment arx"), +this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.arx_2500;",168,20,"","ARX 2500",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.arx_4000;",168,60,"","ARX 4000",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.arx_5000;", +168,20,"","ARX 5000",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.arx_6000;",168,240,"","ARX 6000",null,null,"rack equipment arx"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_1600;",168,20,"","BIG-IP 1600",null,null,"rack equipment big ip"), +this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_2x00;",168,20,"","BIG-IP 2x00",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_3600;",168,20,"","BIG-IP 3600",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_3900;", +168,20,"","BIG-IP 3900",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_4x00;",168,20,"","BIG-IP 4x00",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_5x00;",168,20,"","BIG-IP 5x00",null,null, +"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_6900;",168,40,"","BIG-IP 6900",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_89x0;",168,40,"","BIG-IP 89x0",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_7x00;", +168,40,"","BIG-IP 7x00",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_10x00;",168,40,"","BIG-IP 10x00",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.big_ip_110x0;",168,60,"","BIG-IP 110x0",null, +null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.em_4000;",168,20,"","EM 4000",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.firepass_1200;",168,20,"","FirePass 1200",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.firepass_4100;", +168,40,"","FirePass 4100",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.viprion_2400;",168,60,"","VIPRION 2400",null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.viprion_4400;",168,120,"","VIPRION 4400", +null,null,"rack equipment big ip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.f5.viprion_4800;",168,320,"","VIPRION 4800",null,null,"rack equipment big ip")])};Sidebar.prototype.addRackDellPalette=function(){this.addPaletteFunctions("rackDell","Rack / Dell",!1,[this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.dell_poweredge_1u;", +162,15,"","PowerEdge 1U",null,null,"rack equipment poweredge 1u"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.dell_poweredge_2u;",162,30,"","PowerEdge 2U",null,null,"rack equipment poweredge 2u"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.dell_poweredge_4u;",162, +60,"","PowerEdge 4U",null,null,"rack equipment poweredge 4u"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.power_strip;",162,15,"","Power Strip",null,null,"rack equipment power strip"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_630;",162,15,"","PowerEdge 630", +null,null,"rack equipment poweredge 630"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_c4140;",162,15,"","PowerEdge C4140",null,null,"rack equipment poweredge c4140"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_m1000e_enclosure;",162,150,"","PowerEdge M1000e Enclosure", +null,null,"rack equipment poweredge m1000e enclosure"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_m420;",20,37,"","PowerEdge M420",null,null,"rack equipment poweredge m420"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_m520;",20,37,"","PowerEdge M520", +null,null,"rack equipment poweredge m520"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_m610x;",20,37,"","PowerEdge M610x",null,null,"rack equipment poweredge m610x"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_m620;",20,37,"","PowerEdge M620", +null,null,"rack equipment poweredge m620"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_m820;",20,143,"","PowerEdge M820",null,null,"rack equipment poweredge m820"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_m915;",20,143,"","PowerEdge M915", +null,null,"rack equipment poweredge m820"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r240;",162,15,"","PowerEdge R240",null,null,"rack equipment poweredge r240"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r340;",162,15,"","PowerEdge R340", +null,null,"rack equipment poweredge r340"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r440;",162,15,"","PowerEdge R440",null,null,"rack equipment poweredge r440"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r540;",162,27,"","PowerEdge R540", +null,null,"rack equipment poweredge r540"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r640;",162,15,"","PowerEdge R640",null,null,"rack equipment poweredge r640"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r6415;",162,15,"","PowerEdge R6415", +null,null,"rack equipment poweredge r6415"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r6515;",162,15,"","PowerEdge R6515",null,null,"rack equipment poweredge r6515"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r6525;",162,15,"","PowerEdge R6525", +null,null,"rack equipment poweredge r6525"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r730;",162,30,"","PowerEdge R730",null,null,"rack equipment poweredge r730"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r730xd;",162,30,"","PowerEdge R730xd", +null,null,"rack equipment poweredge r730xd"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r740;",162,30,"","PowerEdge R740",null,null,"rack equipment poweredge r740"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r740xd;",162,30,"","PowerEdge R740xd", +null,null,"rack equipment poweredge r740xd"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r740xd2;",162,30,"","PowerEdge R740xd2",null,null,"rack equipment poweredge r740xd2"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r7415;",162,30,"","PowerEdge R7415", +null,null,"rack equipment poweredge r7415"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r7425;",162,30,"","PowerEdge R7425",null,null,"rack equipment poweredge r7425"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r7515;",162,30,"","PowerEdge R7515", +null,null,"rack equipment poweredge r7515"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r840;",162,30,"","PowerEdge R840",null,null,"rack equipment poweredge r840"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_r940;",162,45,"","PowerEdge R940", +null,null,"rack equipment poweredge r940"),this.createVertexTemplateEntry("strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;shape=mxgraph.rack.dell.poweredge_xr2;",162,15,"","PowerEdge XR2",null,null,"rack equipment poweredge xr2")])}})();(function(){Sidebar.prototype.addSitemapPalette=function(){var a=[this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.page;",120,70,"Page","Page",null,null,this.getTagsForStencil("mxgraph.sitemap","page","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.about_us;", 120,70,"About us","About us",null,null,this.getTagsForStencil("mxgraph.sitemap","about","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.audio;",120,70,"Audio","Audio",null,null,this.getTagsForStencil("mxgraph.sitemap","audio","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.biography;", 120,70,"Biography","Biography",null,null,this.getTagsForStencil("mxgraph.sitemap","biography","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.blog;",120,70,"Blog","Blog",null,null,this.getTagsForStencil("mxgraph.sitemap","blog","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.calendar;", 120,70,"Calendar","Calendar",null,null,this.getTagsForStencil("mxgraph.sitemap","calendar","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.chart;",120,70,"Chart","Chart",null,null,this.getTagsForStencil("mxgraph.sitemap","chart","").join(" ")),this.createVertexTemplateEntry("html=1;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;shape=mxgraph.sitemap.chat;", @@ -7126,11 +7118,11 @@ this.addDataEntry("sysml model element constraint note",180,80,"Constraint Note" this.addDataEntry("sysml model element constraint textual note",160,60,"Constraint Textual Note","lVNNb8MgDP01SNuNgtSel6TrZZMm9bAzTdyASiAidEn362cCaZV+SN0ByX72g+dnQXjeDBsnWvlpK9CErwnPnbU+Rs2Qg9aEUVURXhDGKB7C3h9UF2OVtsKB8c8QWCT8CH2EiKw1NEjGm5aE8QUlPHsR5oRNdVCpShH4BsW+Rm7nTzpxOynaEDoo8fWs884e4FtVXiLIENlb47epf4G59I1OYS+Vh20rylDr8SnEhFa1wbREQeAQSGrBeRgeTjxCadwN2Aa8C/L7pCN0LKMrVIKqZaJNmOhiXp+pF/8wSBbet5Pf2ElWWWkNOiEU6mMUhXuyKm6sm0bVsPdzY8K0wfW31NGoqgqsTIsd6C/bKa9sKLg4y5nwcVWfEzNRHmpnj6bKrbZobmGsgWlH6ndcUbIEJzC4UrGb1NKnFsHuL2K4WsIpefd//zG9fJWxNvtJfw=="), this.addDataEntry("sysml model element constraint textual note",160,0,"Constraint Textual Note","lVNBbsIwEHyNj5WMI5UzCS2nSpU49GySJVg4XuQsNPD6rmNDSBskerDkHc+s7RlbZEXTrbw+7D6wAiuyN5EVHpHirOkKsFYoaSqRLYVSkodQ7w9WZ/2qPGgPjp4RqCg4aXuEiIh5XqJryWvDLZQk6EjMl5HX0tkm3gk8mVLbhTW1Y2iDRNiILN9Rw9dYzngKrlp4j99cOnQQkKqGdWqSIKs3YHNd7muPR1cVaNEPq1t0tDaXwJ9JrvlguIcvU9GOIcVIPFlo/NCDHkoGrAAbIH9migeryZzGOt3Gsr7xbtJPjJZcKS0efQkJvTf5SuxS51c57k3a10B/hDy5O98A9ZlN55dN5adduF0dHlVIqDeD7ZoI0UNrLnrTl3KcnU65Wtiyi/nvuAkP/84ubs+vy0FJadfbC5VhB+geZqimM0yCl6R4OtKR54PBXA6fL+Zx/zd/AA=="), this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.composite;symbol0=folder;fontStyle=1;spacingTop=15;tabWidth=80;tabHeight=20;tabPosition=left;symbol1=triangle;symbol1Width=7;symbol1Height=10;symbol1Align=right;symbol1VerticalAlign=top;symbol1Spacing=8;symbol1VSpacing=25;symbol1Direction=north;strokeWidth=2;whiteSpace=wrap;align=center;",160,90,"Model","Model",null,null,this.getTagsForStencil("","","sysml model element model").join(" ")),this.addEntry("sysml model element package diagram", -function(){var a=new mxCell('<p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;"><b>pkg</b> Name</p>',new mxGeometry(0,0,300,120),"html=1;shape=mxgraph.sysml.package;xSize=90;align=left;spacingLeft=10;overflow=fill;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell("\nSubpackage1",new mxGeometry(15,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=folder;spacingLeft=10;tabWidth=40;tabHeight=14;tabPosition=left;fontSize=10;html=1;whiteSpace=wrap;"); -d.vertex=!0;a.insert(d);var f=new mxCell("\nSubpackage2",new mxGeometry(190,20,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=folder;spacingLeft=10;tabWidth=40;tabHeight=14;tabPosition=left;fontSize=10;html=1;whiteSpace=wrap;");f.vertex=!0;a.insert(f);var e=new mxCell("<<import>>",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;endArrow=open;dashed=1;verticalAlign=top;labelBackgroundColor=none;endSize=12;html=1;"); -e.geometry.relative=!0;e.edge=!0;d.insertEdge(e,!0);f.insertEdge(e,!1);a.insert(e);return b.createVertexTemplateFromCells([a],300,120,"Package Diagram")}),this.addEntry("sysml model element package tab",function(){var a=new mxCell("Package1",new mxGeometry(0,0,300,120),"shape=folder;xSize=90;align=left;spacingLeft=10;align=left;verticalAlign=top;spacingLeft=5;spacingTop=-4;tabWidth=70;tabHeight=20;tabPosition=left;html=1;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell("\nSubpackage1", -new mxGeometry(15,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=folder;spacingLeft=10;tabWidth=40;tabHeight=14;tabPosition=left;fontSize=10;html=1;whiteSpace=wrap;");d.vertex=!0;a.insert(d);var f=new mxCell("\nSubpackage2",new mxGeometry(190,30,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=folder;spacingLeft=10;tabWidth=40;tabHeight=14;tabPosition=left;fontSize=10;html=1;whiteSpace=wrap;");f.vertex=!0;a.insert(f);var e=new mxCell("<<import>>", -new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;endArrow=open;dashed=1;verticalAlign=top;labelBackgroundColor=none;endSize=12;html=1;");e.geometry.relative=!0;e.edge=!0;d.insertEdge(e,!0);f.insertEdge(e,!1);a.insert(e);return b.createVertexTemplateFromCells([a],300,120,"Package (Tab)")}),this.createVertexTemplateEntry("shape=folder;tabWidth=80;tabHeight=20;tabPosition=left;strokeWidth=2;html=1;whiteSpace=wrap;align=center;",160,90,"Package1","Package (Name)", +function(){var a=new mxCell('<p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;"><b>pkg</b> Name</p>',new mxGeometry(0,0,300,120),"html=1;shape=mxgraph.sysml.package;xSize=90;align=left;spacingLeft=10;overflow=fill;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var c=new mxCell("\nSubpackage1",new mxGeometry(15,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=folder;spacingLeft=10;tabWidth=40;tabHeight=14;tabPosition=left;fontSize=10;html=1;whiteSpace=wrap;"); +c.vertex=!0;a.insert(c);var f=new mxCell("\nSubpackage2",new mxGeometry(190,20,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=folder;spacingLeft=10;tabWidth=40;tabHeight=14;tabPosition=left;fontSize=10;html=1;whiteSpace=wrap;");f.vertex=!0;a.insert(f);var e=new mxCell("<<import>>",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;endArrow=open;dashed=1;verticalAlign=top;labelBackgroundColor=none;endSize=12;html=1;"); +e.geometry.relative=!0;e.edge=!0;c.insertEdge(e,!0);f.insertEdge(e,!1);a.insert(e);return b.createVertexTemplateFromCells([a],300,120,"Package Diagram")}),this.addEntry("sysml model element package tab",function(){var a=new mxCell("Package1",new mxGeometry(0,0,300,120),"shape=folder;xSize=90;align=left;spacingLeft=10;align=left;verticalAlign=top;spacingLeft=5;spacingTop=-4;tabWidth=70;tabHeight=20;tabPosition=left;html=1;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var c=new mxCell("\nSubpackage1", +new mxGeometry(15,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=folder;spacingLeft=10;tabWidth=40;tabHeight=14;tabPosition=left;fontSize=10;html=1;whiteSpace=wrap;");c.vertex=!0;a.insert(c);var f=new mxCell("\nSubpackage2",new mxGeometry(190,30,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=folder;spacingLeft=10;tabWidth=40;tabHeight=14;tabPosition=left;fontSize=10;html=1;whiteSpace=wrap;");f.vertex=!0;a.insert(f);var e=new mxCell("<<import>>", +new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;endArrow=open;dashed=1;verticalAlign=top;labelBackgroundColor=none;endSize=12;html=1;");e.geometry.relative=!0;e.edge=!0;c.insertEdge(e,!0);f.insertEdge(e,!1);a.insert(e);return b.createVertexTemplateFromCells([a],300,120,"Package (Tab)")}),this.createVertexTemplateEntry("shape=folder;tabWidth=80;tabHeight=20;tabPosition=left;strokeWidth=2;html=1;whiteSpace=wrap;align=center;",160,90,"Package1","Package (Name)", null,null,this.getTagsForStencil("","","sysml model element package name").join(" ")),this.createVertexTemplateEntry("shape=note;size=15;align=left;spacingLeft=10;html=1;whiteSpace=wrap;",160,60,"<<problem>>\nDescription","Problem",null,null,this.getTagsForStencil("","","sysml model element problem").join(" ")),this.createVertexTemplateEntry("shape=note;size=15;align=left;spacingLeft=10;html=1;whiteSpace=wrap;",160,60,"<<rationale>>\nDescription","Rationale",null,null,this.getTagsForStencil("", "","sysml model element rationale").join(" ")),this.createVertexTemplateEntry("shape=folder;tabWidth=80;tabHeight=20;tabPosition=left;html=1;whiteSpace=wrap;align=center;",160,80,"\n<<view>>\n{viewpoint = View name}\nName","View (Name)",null,null,this.getTagsForStencil("","","sysml model element view name").join(" ")),this.createVertexTemplateEntry("shape=folder;html=1;tabWidth=80;tabHeight=40;tabPosition=left;align=left;verticalAlign=top;spacingLeft=10;whiteSpace=wrap;",160,120,"<<view>>\nName", "View",null,null,this.getTagsForStencil("","","sysml model element view").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",120,140,'<p style="margin:0px;margin-top:4px;text-align:center;"><<viewpoint>><br/><b>Name</b></p><hr/><p style="margin:0px;margin-left:8px;text-align:left;">stakeholders="..."<br/>purpose="..."<br>concerns="..."<br>languages="..."<br>methods="..."</p>',"Viewpoint",null,null,this.getTagsForStencil("","","sysml model element viewpoint").join(" ")), @@ -7138,9 +7130,9 @@ this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;das 160,0,"<<import>>","Public Package Import",null,this.getTagsForStencil("","","sysml model element public package import").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=bottom;",160,0,"<<access>>","Private Package Import",null,this.getTagsForStencil("","","sysml model element private package import").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;"+mxConstants.STYLE_STARTARROW+"=sysMLPackCont;startSize=12;"+ mxConstants.STYLE_ENDARROW+"=none;",160,0,"","Package Containment",null,this.getTagsForStencil("","","sysml model element package containment").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endSize=12;endArrow=block;endFill=0;dashed=1;",160,0,"","Realization",null,this.getTagsForStencil("","","sysml model element realization").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=bottom;",160,0,"<<refine>>","Refine", null,this.getTagsForStencil("","","sysml model element refine").join(" "))];this.addPalette("sysmlModel Elements","SysML / Model Elements",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<e.length;b++)a.appendChild(e[b](a))}))};Sidebar.prototype.addSysMLBlocksPalette=function(a){var b=this,e=[this.addEntry("sysml block block definition diagram",function(){var a=new mxCell('<p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;"><b>bdd</b> Namespace1</p>',new mxGeometry(0,0,300,100), -"html=1;strokeWidth=1;shape=mxgraph.sysml.package;labelX=120;align=left;spacingLeft=10;overflow=fill;recursiveResize=0;");a.vertex=!0;var d=new mxCell("Block1",new mxGeometry(15,30,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;fontStyle=1;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;a.insert(d);var f=new mxCell("Block2",new mxGeometry(190,30,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;fontStyle=1;html=1;whiteSpace=wrap;align=center;"); +"html=1;strokeWidth=1;shape=mxgraph.sysml.package;labelX=120;align=left;spacingLeft=10;overflow=fill;recursiveResize=0;");a.vertex=!0;var c=new mxCell("Block1",new mxGeometry(15,30,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;fontStyle=1;html=1;whiteSpace=wrap;align=center;");c.vertex=!0;a.insert(c);var f=new mxCell("Block2",new mxGeometry(190,30,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;fontStyle=1;html=1;whiteSpace=wrap;align=center;"); f.vertex=!0;a.insert(f);var e=new mxCell("part1",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;align=right;html=1;verticalAlign=bottom;endArrow=none;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=none;endFill=0;labelBackgroundColor=none;");e.geometry.relative=!0;e.geometry.x=1;e.edge=!0;a.insert(e);var h=new mxCell("1",new mxGeometry(-1,0,0,0),"resizable=0;html=1;align=left;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative= -!0;h.setConnectable(!1);h.vertex=!0;e.insert(h);h=new mxCell("0..*",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;e.insert(h);d.insertEdge(e,!0);f.insertEdge(e,!1);return b.createVertexTemplateFromCells([a],300,100,"Block Definition Diagram")}),this.addDataEntry("sysml block relation",160,0,"Relation","zVRNb8IwDP01vUwaCi3aHcrgNGkS+wOhMW20NEapYYVfP9MmLVVh2qYddqjkPNvPHy9NlKRlvXZyX7ygAhMlz1GSOkRqrbJOwZgoFlpFyTKKY8FfFK/ueKeNV+ylA0vfSYjbhKM0B2gRziVPU9HJeFQanVs2nc4LJl4UVHKvyymbR3CkM2nmPmSLRFiyA6yaO4cfjFm0TLSoiMkDprQs0aq3Qtvg2ujzpd50FoCVNqEMqBw2viFP13Z5cdydvoH86GvAEsidOKQeJDgwkvRxyCKr9ph3WR3RK2rm70MqPLgMPHq97BAYyj2JITePmAONEtm46raHGu1u65iMdBxr6KDSZ7ltjmKoYZDXwI5uSEq4Z9TILZiFzN5zhwerUjToejF2aDv9/JgZWgsZ+ZLdXRQXeqjvahZ/qdnjT0UbbPWLFc5GKxSTycNvthh+kv+8xj/aIh/7x6q9t9dv2Sc="), +!0;h.setConnectable(!1);h.vertex=!0;e.insert(h);h=new mxCell("0..*",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;e.insert(h);c.insertEdge(e,!0);f.insertEdge(e,!1);return b.createVertexTemplateFromCells([a],300,100,"Block Definition Diagram")}),this.addDataEntry("sysml block relation",160,0,"Relation","zVRNb8IwDP01vUwaCi3aHcrgNGkS+wOhMW20NEapYYVfP9MmLVVh2qYddqjkPNvPHy9NlKRlvXZyX7ygAhMlz1GSOkRqrbJOwZgoFlpFyTKKY8FfFK/ueKeNV+ylA0vfSYjbhKM0B2gRziVPU9HJeFQanVs2nc4LJl4UVHKvyymbR3CkM2nmPmSLRFiyA6yaO4cfjFm0TLSoiMkDprQs0aq3Qtvg2ujzpd50FoCVNqEMqBw2viFP13Z5cdydvoH86GvAEsidOKQeJDgwkvRxyCKr9ph3WR3RK2rm70MqPLgMPHq97BAYyj2JITePmAONEtm46raHGu1u65iMdBxr6KDSZ7ltjmKoYZDXwI5uSEq4Z9TILZiFzN5zhwerUjToejF2aDv9/JgZWgsZ+ZLdXRQXeqjvahZ/qdnjT0UbbPWLFc5GKxSTycNvthh+kv+8xj/aIh/7x6q9t9dv2Sc="), this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;verticalAlign=top;align=left;whiteSpace=wrap;",220,340,'<p style="margin:0px;margin-top:4px;text-align:center;"><<block>><br/>{encapsulated}<br/><b>Block1</b></p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>constraints</i></p><p style="margin:0px;margin-left:8px;text-align:left;">{x > y}</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>operations</i></p><p style="margin:0px;margin-left:8px;text-align:left;">operation1 (p1 : Type1) : Type2</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>parts</i></p><p style="margin:0px;margin-left:8px;text-align:left;">property1 : Block2</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>references</i></p><p style="margin:0px;margin-left:8px;text-align:left;">property2 : Block3 [0..*] {ordered}</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>values</i></p><p style="margin:0px;margin-left:8px;text-align:left;">property3 : Integer = 99 {readOnly}<br/>property4 : Real = 10.0</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>properties</i></p><p style="margin:0px;margin-left:8px;text-align:left;">property5 : Type1</p>', "Block",null,null,this.getTagsForStencil("","","sysml block block").join(" ")),this.createVertexTemplateEntry("shape=umlActor;html=1;verticalLabelPosition=bottom;verticalAlign=top;align=center;",30,60,"ActorName","Actor",null,null,this.getTagsForStencil("","","sysml block actor").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",160,80,"<p><<actor>><br/><b>ActorName</b></p>","Actor",null,null,this.getTagsForStencil("","","sysml block actor").join(" ")), this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,180,'<p style="margin:0px;margin-top:4px;text-align:center;"><<valueType>><br/><b>ValueType1</b></p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>operations</i></p><p style="margin:0px;margin-left:8px;text-align:left;">operation1 (p1 : Type1) : Type2</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>properties</i></p><p style="margin:0px;margin-left:8px;text-align:left;">property1 : Type3</p><hr/><p style="margin:0px;margin-left:8px;text-align:center;"><<valueType>></p><p style="margin:0px;margin-left:8px;text-align:left;">unit = UnitName</p>', @@ -7148,20 +7140,20 @@ this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap; 80,40,'<p style="margin:13px;"><b><i>Name</i></b></p>',"Abstract Definition",null,null,this.getTagsForStencil("","","sysml block abstract definition").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",80,40,'<p style="margin:5px;">{abstract}<br/><b><i>Name</i></b></p>',"Abstract Definition",null,null,this.getTagsForStencil("","","sysml block abstract definition").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;", 80,40,'<p style="margin:5px;"><b><i>Name</i></b><br/>{abstract}</p>',"Abstract Definition",null,null,this.getTagsForStencil("","","sysml block abstract definition").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",200,80,'<p style="margin:0px;margin-top:4px;text-align:center;"><<stereotype1>><br/><b>Block1</b></p><hr/><p style="margin:0px;margin-left:8px;text-align:center;"><<stereotype1>></p><p style="margin:0px;margin-left:8px;text-align:left;">property1 = value</p>', "Stereotype Property Compartment",null,null,this.getTagsForStencil("","","sysml block stereotype property compartment").join(" ")),this.addEntry("sysml block namespace compartment",function(){var a=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>Block1</b></p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>namespace</i></p>',new mxGeometry(0,0,300,120),"shape=rect;align=left;html=1;overflow=fill;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0; -var d=new mxCell("Block2",new mxGeometry(15,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");d.vertex=!0;a.insert(d);var f=new mxCell("Block3",new mxGeometry(190,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");f.vertex=!0;a.insert(f);var e=new mxCell("part1",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;align=right;verticalAlign=bottom;endArrow=none;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=none;html=1;labelBackgroundColor=none;"); -e.geometry.relative=!0;e.geometry.x=1;e.edge=!0;a.insert(e);var h=new mxCell("1",new mxGeometry(-1,0,0,0),"resizable=0;html=1;align=left;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;e.insert(h);h=new mxCell("0..*",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;e.insert(h);d.insertEdge(e,!0);f.insertEdge(e,!1); +var c=new mxCell("Block2",new mxGeometry(15,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");c.vertex=!0;a.insert(c);var f=new mxCell("Block3",new mxGeometry(190,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");f.vertex=!0;a.insert(f);var e=new mxCell("part1",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;align=right;verticalAlign=bottom;endArrow=none;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=none;html=1;labelBackgroundColor=none;"); +e.geometry.relative=!0;e.geometry.x=1;e.edge=!0;a.insert(e);var h=new mxCell("1",new mxGeometry(-1,0,0,0),"resizable=0;html=1;align=left;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;e.insert(h);h=new mxCell("0..*",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;e.insert(h);c.insertEdge(e,!0);f.insertEdge(e,!1); return b.createVertexTemplateFromCells([a],300,100,"Namespace Compartment")}),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",250,100,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Block1</b></p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>namespace</i></p>',"Block",null,null,this.getTagsForStencil("","","sysml block block").join(" ")),this.addEntry("sysml block structure compartment",function(){var a=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>Block1</b></p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>structure</i></p>', -new mxGeometry(0,0,300,120),"shape=rect;align=left;html=1;overflow=fill;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell("Block2",new mxGeometry(15,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");d.vertex=!0;a.insert(d);var f=new mxCell("Block3",new mxGeometry(190,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;"); +new mxGeometry(0,0,300,120),"shape=rect;align=left;html=1;overflow=fill;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var c=new mxCell("Block2",new mxGeometry(15,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");c.vertex=!0;a.insert(c);var f=new mxCell("Block3",new mxGeometry(190,60,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;"); f.vertex=!0;a.insert(f);var e=new mxCell("c1:",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;verticalAlign=bottom;html=1;endArrow=none;edgeStyle=none;labelBackgroundColor=none;");e.geometry.relative=!0;e.edge=!0;a.insert(e);var h=new mxCell("e1",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;e.insert(h);h=new mxCell("1",new mxGeometry(1, -0,0,0),"resizable=0;html=1;align=right;verticalAlign=bottom;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;e.insert(h);d.insertEdge(e,!0);f.insertEdge(e,!1);return b.createVertexTemplateFromCells([a],300,100,"Structure Compartment")}),this.addDataEntry("sysml block relation",160,0,"Relation","3VTLboMwEPwa3x2Ieg/kcapUKV/gwNZYNV60bFKSr68BB4IIVQ499YDkHe+MvTMWIk7L5kCqKt4xByvinYhTQuR+VTYpWCsiaXIRb0UUSf+JaL+wu+p2ZaUIHL9CiHrCRdkz9EgWNGq+2gBdgNhkym6s0c5DJ2TGUsRJwaW/8Xbll+DyDRF++9Kh88SkZkX8DDuaWyu8Wt+BvbGtjGxlcg3HcDISF6jRKbsb0aS/Xdu3OHIHhXkPgCUwXX0LgVVsLlOeqvtSD30D9QONVxxbajxTBgF99PTe2ATlNznV9jNq4BnRLx7uN0JdRM/jimdxzdMiqM1NnbpSTkNSIUAyuvBeJYvBWnUCm6jsSxOeXZ6iRRpT/EQ3hBhGzdA5yDgcOzw72Z4AzWJS0fOkpoSXc5sY+4uL65mL8Kc2Mlb/zUNfjj+l/uE+/rN+AA=="), +0,0,0),"resizable=0;html=1;align=right;verticalAlign=bottom;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;e.insert(h);c.insertEdge(e,!0);f.insertEdge(e,!1);return b.createVertexTemplateFromCells([a],300,100,"Structure Compartment")}),this.addDataEntry("sysml block relation",160,0,"Relation","3VTLboMwEPwa3x2Ieg/kcapUKV/gwNZYNV60bFKSr68BB4IIVQ499YDkHe+MvTMWIk7L5kCqKt4xByvinYhTQuR+VTYpWCsiaXIRb0UUSf+JaL+wu+p2ZaUIHL9CiHrCRdkz9EgWNGq+2gBdgNhkym6s0c5DJ2TGUsRJwaW/8Xbll+DyDRF++9Kh88SkZkX8DDuaWyu8Wt+BvbGtjGxlcg3HcDISF6jRKbsb0aS/Xdu3OHIHhXkPgCUwXX0LgVVsLlOeqvtSD30D9QONVxxbajxTBgF99PTe2ATlNznV9jNq4BnRLx7uN0JdRM/jimdxzdMiqM1NnbpSTkNSIUAyuvBeJYvBWnUCm6jsSxOeXZ6iRRpT/EQ3hBhGzdA5yDgcOzw72Z4AzWJS0fOkpoSXc5sY+4uL65mL8Kc2Mlb/zUNfjj+l/uE+/rN+AA=="), this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,60,'<p style="margin:0px;margin-top:10px;text-align:center;"><<unit>><br/><p style="margin:0px;margin-left:8px;text-align:center;">{quantityKind = QuantityKind1}<br/><b>Unit1</b></p>',"Unit",null,null,this.getTagsForStencil("","","sysml block unit").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,80,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Unit1</b></p><hr/><p style="margin:0px;margin-left:8px;text-align:center;"><<unit>><br/>{quantityKind = QuantityKind1}</p>', "Unit",null,null,this.getTagsForStencil("","","sysml block unit").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,60,'<p style="margin:0px;margin-top:10px;text-align:center;"><<quantityKind>><br/><p style="margin:0px;margin-left:8px;text-align:center;"><b>QuantityKind1</b></p>',"Quantity Kind",null,null,this.getTagsForStencil("","","sysml block quantity kind").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;fontSize=15;whiteSpace=wrap;", 70,30,'<p style="margin:0px;margin-top:4px;text-align:center;text-decoration:underline;"><B>i1: Type1</b><br/>',"Instance Specification",null,null,this.getTagsForStencil("","","sysml block instance specification").join(" ")),this.addDataEntry("sysml block instance specification",280,30,"Instance Specification","3VVNj5swEP01HFcCk416DWG7p5VWSv+AgQlYNR7XOF/76zvGBkLYtDmt1B6ieJ7nDeP3PBCl2/b8arhu3rACGaUvUbo1iNav2vMWpIxYLKoozSPGYvpF7Pud3aTfjTU3oOwjBOYJRy4P4JGIrSVRM01wZy/Sw+tfB9dS1nJTCxWlm1ifx/DJoiZo1UMWzvaJS1G7rJLaADOgFZRouBXotg6qAiOFovrZVJ9WdfjvuxgBkRCHWvpx0ZAMu3Su4pZRGHfaEWSzY7Cu4dotDZRuv7EtSZ5T7QyPYPYSTxTuBWmUZntUdic+XHryTPGpERZ2mpcOOZFl4wOISge8a0EPBf1fAVuw5kIpJ1HZxmd88y7FDYi6Caw0YLzzcT0yJz9pESz93N70n7GXTfay/8PeQGBx8PEL7F4t7N4kC43caUTJ5cabmBdoLbZztUBVG2N6tVCD8sggFnNhVcMu1ERjG6xRcfkyoUE6lzcTrsODKWH28rF0y8DOLuwD8hqQdNeO8+qfiReo7yio4pTiGwno9RtySBwMX98Y49tdEHtvxv4esut5YZdOF3YZ6MQHL/ownrsUxjA3/hZlt872c5tJXoDMePmzNkhTuUWJNLK5wn42r6cgHLREpWh+wjPHT8jfxmD1xzEIhIddu3PlKZw+jl7y62/nbw=="), this.addDataEntry("sysml block relation",160,0,"Relation","jVPBbsIwDP2a3Esi7U4L4zRpEl8QWi+NlsaV60Lh65c2gdIBEodK9rP9Er/XCFU0w450W39hBU6orVAFIXKMmqEA54TMbCXURkiZhU/IzxfV1VTNWk3g+Z0BGQeO2vUQkXXi6PjsEnQEYltqt3bW+AAdkBkbofKam3DjzSqE4Ks1EZ5Cii34iOztZaRYyTGtDOwTJxLXaNBrt53RPJ479r1cZoLSJjvABpjOoYXAabbH5ZzuYmpufbfRb7SBcW7psKcSEnqv1rVxSMwf2ZKbNRngh8EQ3N1vhibxnxuhHoxo1YMRBJ296MOUZkv9dfKGrKmDWPl/zxjbgDp9AJfr8tcQ9r4q0CGFokc/GvCDnq+WpUVL9B5KTmfefqdspIfhpU/yuU/LgbddW8g6axjS+aFEye/f0R8="),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;", 120,60,'<p style="margin:0px;margin-top:10px;text-align:center;text-decoration:underline;">instance1: Type1<br/></p><p style="margin:0px;margin-top:4px;text-align:center;">value1</p>',"Instance Specification",null,null,this.getTagsForStencil("","","sysml block instance specification").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",160,80,'<p style="margin:0px;margin-top:10px;text-align:center;text-decoration:underline;">instance1: Type1<br/></p><hr/><p style="margin:0px;margin-top:4px;margin-left:4px;text-align:left;">property1 = 10<br/>property2 = "value"</p>', -"Instance Specification",null,null,this.getTagsForStencil("","","sysml block instance specification").join(" ")),this.addEntry("sysml block instance specification",function(){var a=new mxCell('<p style="margin:0px;margin-top:5px;text-align:center;text-decoration:underline;">: Type1<hr/></p>',new mxGeometry(0,0,200,180),"shape=rect;html=1;overflow=fill;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell('<p style="margin:0px;margin-top:5px;text-align:center;text-decoration:underline;">instance1 / property1: Type2<hr/></p>', -new mxGeometry(10,30,180,140),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;overflow=fill;whiteSpace=wrap;");d.vertex=!0;a.insert(d);d=new mxCell('<p style="margin:0px;margin-top:5px;text-align:center;text-decoration:underline;">instance2 / property2:<br/>Type3<hr/></p><p style="margin:0px;margin-top:4px;margin-left:4px;text-align:left;">property1 = 10<br/>property2 = "value"</p>',new mxGeometry(20,60,160,100),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;overflow=fill;whiteSpace=wrap;"); -d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],200,180,"Instance Specification")}),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,160,'<p style="margin:0px;margin-top:4px;text-align:center;text-decoration:underline;">: Type1</p><hr/>',"Instance Specification",null,null,this.getTagsForStencil("","","sysml block instance specification").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=bottom;", +"Instance Specification",null,null,this.getTagsForStencil("","","sysml block instance specification").join(" ")),this.addEntry("sysml block instance specification",function(){var a=new mxCell('<p style="margin:0px;margin-top:5px;text-align:center;text-decoration:underline;">: Type1<hr/></p>',new mxGeometry(0,0,200,180),"shape=rect;html=1;overflow=fill;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var c=new mxCell('<p style="margin:0px;margin-top:5px;text-align:center;text-decoration:underline;">instance1 / property1: Type2<hr/></p>', +new mxGeometry(10,30,180,140),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;overflow=fill;whiteSpace=wrap;");c.vertex=!0;a.insert(c);c=new mxCell('<p style="margin:0px;margin-top:5px;text-align:center;text-decoration:underline;">instance2 / property2:<br/>Type3<hr/></p><p style="margin:0px;margin-top:4px;margin-left:4px;text-align:left;">property1 = 10<br/>property2 = "value"</p>',new mxGeometry(20,60,160,100),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;overflow=fill;whiteSpace=wrap;"); +c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],200,180,"Instance Specification")}),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,160,'<p style="margin:0px;margin-top:4px;text-align:center;text-decoration:underline;">: Type1</p><hr/>',"Instance Specification",null,null,this.getTagsForStencil("","","sysml block instance specification").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=bottom;", 160,0,"<<stereotype>>\ndependency1","Dependency",null,null,this.getTagsForStencil("","","sysml block dependency").join(" ")),this.addDataEntry("sysml block reference association",250,0,"Reference Association","3VRRa4MwEP41eRlMoq6UPda269Ng0F+Q6lXDYk7OtLP99Yuaap11jMJg7EHIfXffJfm+eCxc5tWGRJG9YgKKhWsWLgnRtKu8WoJSLOAyYeGKBQG3HwteJrJ+k+WFINDmJ4SgJRyFOkCLiLLEWAojUbtupTkplzwCGRkLtVAy1RbaoTGYszDKTG7PvvLtEnSyIMIPG2IBukW28ly38IM6TFLYup5IJsMUtVDrHo3afeu6yWs1kLvTBjAHQydbQqDs0Y9DnijbMO3qOuobStuxLynxQDE49Fq3S2HldJvxYW8jKAUzItrF1fl6qLHhtiXhyBLueWMrCEp5Frsm5EMHhHNHwd6qFX01zWBhUSV2oCIRv6eEB50sUSHZpEZdO7BHbS6euZvGqDXExm3ZvSxet4dq0qjgtlGO8OgYP/ZtIOw3Kj6NVGTzCCkBgoTNbcx9z3u4R1WSafbXZeXe8y/pOhvpWpD9zcmc7nqiU2J2g+Wf6WnDfri3w+F69n8C"), this.addDataEntry("sysml block reference association",250,0,"Reference Association","3ZVRb4IwEMc/TV+WzFSYM3sUdD4tWeInqHBis9IjR3Xop1+BDmTIYoxLzB5Iete74/r7H5T5YVosSWTbN4xBMX/B/JAQTb1KixCUYh6XMfPnzPO4fZj3OrA7rnZ5Jgi0uSTBqxP2Qu2g9og8x0gKI1G7ark5KLe5BzIyEmqmZKKta43GYMr8YGtS2/t8bJeg4xkRflpTo4bSEyewckWQzBYT1EItWm9Qv6iMGzxH5XKHWAKmYOhgQwiU7XXfzRN5bSZNXJP6jtJWbENy3FEEznsK6juwcKAmvFvbCErA9BLt4qS/1lVxP6+B39OgD54gl0exrkze5S2cFgo2FlXwUyKDmfUqsQYViOgjIdzpOESF1Aq0QW1W8lgWH7tjRqg1RMa9spkjXpaHYlAl77xKLuHRZVwsWofqLwifeggzwsy2evBuiLKZ9n9Oc9KjyaYBUgwEMZtam/PR6OEasCST7b0PKR+9/BHX58EpveqDH4J5Z2N6M57WbC/G+j97em9+AQ=="), this.addDataEntry("sysml block part association",250,0,"Part Association","3VXLasMwEPwaXQo1st0QeozzOhUK6Q8o1sYWlbVmraRJvr6yrThO3ZQQKJQeDNrZ3Vlpxkgsnhb7JYkyf0EJmsVzFk8J0barYj8FrVnElWTxjEURdx+LFleyYZPlpSAw9paGqG3YCb2FFhFVhakSVqHxbJU9aJ/cAVmVCj3RKjMOWqO1WLA4yW3h9j4L3RKMnBDhhwuxBNMiK3WsKcKoDmUGK8+JZHPM0Ag9P6NJZQXZhdInyibuUzTAaYpUokAj33JVD2v3XM+4KkkDeT2WgAVYOrgSAu2OvbvsE1UbZl1d1/qKyjGeSyrcUgoe7Wt+Ktx7zUf8ktsdJgM7aHSL3v7OUGPh93bGAzt5EAxtJKjUUaybkF+6J7yzGjZOreSr4RZLh2qxBp2I9D0j3Bo5RY3kkgZN7d4GTWeWP2mKxkBq/cjur+Q1PeyvGhV9b5RveOTBc9tzs3MX0v6g49NARzZOkCQQSDZ2MQ+D4OEeXUll+V8X9vd0HQ10LcldEmQPd/2k18TsrqV/pqcLz09Dez30X45P"), @@ -7175,71 +7167,71 @@ this.addDataEntry("sysml block generalization set",140,50,"Generalization Set"," this.addDataEntry("sysml block generalization set",150,80,"Generalization Set","5ZXBboMwDIafJncITPQ6YO1pUqU+QVo8iGYSFFIGe/oFErUwilYxqZceEPlt/5blT1FIkJTtTrGqeJcZIAneSJAoKbU9lW0CiIR6PCNBSij1zEfodiHrD1mvYgqEvsdAraFheAYbsYFad+gCkOVwcFJIYX5xoUszaeqbI4jsVSn5ZeQR5enThrYc+wLPqgP/7s0+NdK273suTjyE3Lg7kCVo1ZkSBcg0b6Y+VluZX+ou1r3kpiP1Wmfwpg7NVA7aFY03tODrrNz8alPLszrBrI05jIa/hob130YRPA2KcCWK8FEowqdBEa1EET0KxcscRRTLBhSyquIiJ1G6no1LZqwuIHNpZEfAvay55lKYmOJ5YRDEDHnea4QP/S9i7cSwll93+yotLH7GbzPld+eN/JufkdfHy5aP37Yf"), this.addDataEntry("sysml block block namespace containment",140,70,"Block Namespace Containment","7ZXPjoIwEMafhjtQ192roOtlTUx8gmpHaCyMKfUPPv0OtKJ1McvBwx6WxKTztfMxfD8MAUuL81zzfb5AASpgs4ClGtHYVXFOQakgDqUI2DSI45B+Qfz5ZDdqd8M911CaIQ2xbThydQCrWKEytXLCEbSRG64mSmYlSWs0BouAJbkpaN5pREsylfuKGpKtVCpFhbptZmF7kV4ZjTvo23ET0F3g/PQpWsk9whywAKNrOuIaxh+2o7Ylc+VJCpNbaWSVHGSWG0/ilS2zzvUWFy1cYv3psd/TA5HBypWg1nia3QQvwVKs5KU5FcW2nGiNJ6qrulp8Lflml2KTRtK6kJ6jlheSOFkkGg+lgGasJlLuUCnYNh2PBAspBN2/HbWZz0u9woPegPd2DAfhPDQobuTRN+4L2hktUZJ/5/IeejijsW9guM7AuJ4HWN1Ig/iNXsjPUblm3RN798e5g1tiCT/w/V0y0chHcyX1ejRv/2gGonk1Cipv3x97/P7z9A0="), this.addDataEntry("sysml block participant property",400,140,"Participant Property","5ZfbbtswDEC/xi8DWviS2x7tZOvLBhTrFyg2YwuVLU9WmmRfP+qW1LfBRdKhQB+aiqTpkEekqHjRujw+CFIXP3kGzIu+edFacC7NqjyugTEv9GnmRRsvDH3888LvI9ZAW/2aCKjkFIfQOLwQtgejSRhPn626kSdm1U1BarUUkOKLk0KWGOsmwOWOV/LJPqjkQ0ElPNUkVYoDZoY6wmheoZhiWCBQYb8WhITjaOhaZeN+AF6CFCd85EAzWZgn5iY7vwCaF9bLZuyTxsj52fPCARcWxTCWaBhL8JGxWIfIMfkPmGY9TF64YApE3cK0+L1XBZ2UROQUE479+ngW7yRHFvFMqzBveWexxK+wuDfgKrf/9fdsnSJuGp5SIimvAmfE8Lddh0Ko7DpKVNVd3VsyYLBDY7x6awqkVFXA+hJut6QprQnuuTO0nazke8sEqkwtVJh+LXiN1aPqIfCWWhNoY4yfuoa1xdHrwHjXeEIbT9iLJxzeh8mtxrFhdowfUNxRVayDzXaD3nJ9dDLiot9pkT/QaqsbtNq812rtiu/AgiwHd/pUvII2MNyhWAgNzBoVFpoSFtsTacul5OWZmnpdi1nD9yKF1gyR2AsgW+fnBLICGKbw0n77NaAWPVCuBgeGGlYIrfIfun03URuSO5xNc48TYmQL7JE3VO2Eqk+z8UafkPQ5F3xfZWvOuLgA1+OB/tHTwZZHyqsKa5tsXXj+pJKd/7Nk76zHzTkve5wHpuMVfPVU+KxwV6NFPAr5lz1vRig7cJPL2G7LxwD9Xpy/9i8wy4SLDARkZlz59/dfbox8uLI/BW8XdOvGeOXoykhTQGbNE8bV7Pazybo+cqruRw5i6LevC0HnGmAGpnXqMDxHMYQVxcsvRPP46x+QfwE="), -this.addEntry("sysml block participant property",function(){var a=new mxCell("Block2",new mxGeometry(0,0,50,20),"shape=rect;html=1;strokeWidth=1;fontStyle=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("Block1",new mxGeometry(350,0,50,20),"shape=rect;html=1;strokeWidth=1;fontStyle=1;whiteSpace=wrap;align=center;");d.vertex=!0;var f=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>Association1</b></p><hr/><p style="margin:0px;text-align:center;"><i>structure</i></p>', +this.addEntry("sysml block participant property",function(){var a=new mxCell("Block2",new mxGeometry(0,0,50,20),"shape=rect;html=1;strokeWidth=1;fontStyle=1;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("Block1",new mxGeometry(350,0,50,20),"shape=rect;html=1;strokeWidth=1;fontStyle=1;whiteSpace=wrap;align=center;");c.vertex=!0;var f=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>Association1</b></p><hr/><p style="margin:0px;text-align:center;"><i>structure</i></p>', new mxGeometry(20,60,360,150),"shape=rect;html=1;strokeWidth=1;overflow=fill;whiteSpace=wrap;recursiveResize=0;");f.vertex=!0;var e=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><<participant>><br/>{end = property 2}<br/><br/><b>p2 : Block 2</b></p>',new mxGeometry(20,50,150,80),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;overflow=fill;dashed=1;whiteSpace=wrap;");e.vertex=!0;f.insert(e);e=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><<participant>><br/>{end = property 1}<br/><br/><b>p1 : Block 1</b></p>', -new mxGeometry(190,50,150,80),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;overflow=fill;dashed=1;whiteSpace=wrap;");e.vertex=!0;f.insert(e);e=new mxCell("Association1",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;endArrow=none;verticalAlign=bottom;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);var h=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;endArrow=none;dashed=1;");h.geometry.setTerminalPoint(new mxPoint(200,10),!1); +new mxGeometry(190,50,150,80),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;overflow=fill;dashed=1;whiteSpace=wrap;");e.vertex=!0;f.insert(e);e=new mxCell("Association1",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;endArrow=none;verticalAlign=bottom;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);c.insertEdge(e,!1);var h=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;endArrow=none;dashed=1;");h.geometry.setTerminalPoint(new mxPoint(200,10),!1); h.geometry.relative=!0;h.edge=!0;f.insertEdge(h,!0);var k=new mxCell("property2",new mxGeometry(-1,0,0,0),"spacingLeft=3;html=1;align=left;verticalAlign=bottom;labelPosition=right;labelBackgroundColor=none;fontSize=10");k.geometry.relative=!0;k.setConnectable(!1);k.vertex=!0;e.insert(k);k=new mxCell("1",new mxGeometry(-1,0,0,0),"spacingLeft=3;html=1;align=left;verticalAlign=top;labelPosition=right;labelBackgroundColor=none;fontSize=10");k.geometry.relative=!0;k.setConnectable(!1);k.vertex=!0;e.insert(k); k=new mxCell("property1",new mxGeometry(1,0,0,0),"spacingRight=3;html=1;align=right;verticalAlign=bottom;labelPosition=left;labelBackgroundColor=none;fontSize=10");k.geometry.relative=!0;k.setConnectable(!1);k.vertex=!0;e.insert(k);k=new mxCell("{ordered} 0..*",new mxGeometry(1,0,0,0),"spacingRight=3;html=1;align=right;verticalAlign=top;labelPosition=left;labelBackgroundColor=none;fontSize=10");k.geometry.relative=!0;k.setConnectable(!1);k.vertex=!0;e.insert(k);return b.createVertexTemplateFromCells([a, -d,f,e,h],400,260,"Participant Property")}),this.addDataEntry("sysml block participant property",400,80,"Participant Property","5ZZfT+MwDMA/TV+QDvXPxu4e18Hxckjo+ARZY9qINK7SjG18etwm3ShpUREDIfEwLXbi1P7FjhMkq3J3rVlV3CAHGSRXQbLSiMaOyt0KpAziUPAguQziOKRfEP8dmY3a2bBiGpSZYhBbg0cmN2A1qcTswalrs5dOXResaoYaMto4LUxJvl5GNLxHZe7cwkbeFsLAXcWyRrGlyEjHpMgViRm5BZoU7rOgDexGXW9Vzu9rwBKM3tOSreCmsCvmNrqwAJEXzspFHLLayvnB8siBBg7FMJZkGEv0nbE4g6Rj8gWYZh6mZV1jJpgRqN4D6wRxRzMX0N7KFz6GKP4kDnOPgxc78By6dFCo6C8FxZda4/ao8Yg0Vj0eNW50Br3aNUznYHp5O4GaBkmn9Njf/SMMLjwGlcaKTnQ/cJlQGQiV/4P7xsmkH3lXFLKdTZukEBmTS6deozFY0oRka5C3WIsm2Zqssmdq9SnLHnKNG8VXKFEfEbdlKZ7aqnQnn6FSlJFs3bkXTkrH+Zvp+MtZnJzzwuM8UGgf4Guw+rlwf48m8Sjk/+4qGaHcgZucxu5Yvgfoz+L8x78wFylqDhp4sCA5DM/Pz06MfDizfwTvzul3dqgXcP1mxVldAJ/erman703O9BYF7XiASMnTewlErzq8bZjO6BXDgxdDWEk8vszt8pcP92c="), +c,f,e,h],400,260,"Participant Property")}),this.addDataEntry("sysml block participant property",400,80,"Participant Property","5ZZfT+MwDMA/TV+QDvXPxu4e18Hxckjo+ARZY9qINK7SjG18etwm3ShpUREDIfEwLXbi1P7FjhMkq3J3rVlV3CAHGSRXQbLSiMaOyt0KpAziUPAguQziOKRfEP8dmY3a2bBiGpSZYhBbg0cmN2A1qcTswalrs5dOXResaoYaMto4LUxJvl5GNLxHZe7cwkbeFsLAXcWyRrGlyEjHpMgViRm5BZoU7rOgDexGXW9Vzu9rwBKM3tOSreCmsCvmNrqwAJEXzspFHLLayvnB8siBBg7FMJZkGEv0nbE4g6Rj8gWYZh6mZV1jJpgRqN4D6wRxRzMX0N7KFz6GKP4kDnOPgxc78By6dFCo6C8FxZda4/ao8Yg0Vj0eNW50Br3aNUznYHp5O4GaBkmn9Njf/SMMLjwGlcaKTnQ/cJlQGQiV/4P7xsmkH3lXFLKdTZukEBmTS6deozFY0oRka5C3WIsm2Zqssmdq9SnLHnKNG8VXKFEfEbdlKZ7aqnQnn6FSlJFs3bkXTkrH+Zvp+MtZnJzzwuM8UGgf4Guw+rlwf48m8Sjk/+4qGaHcgZucxu5Yvgfoz+L8x78wFylqDhp4sCA5DM/Pz06MfDizfwTvzul3dqgXcP1mxVldAJ/erman703O9BYF7XiASMnTewlErzq8bZjO6BXDgxdDWEk8vszt8pcP92c="), this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",300,80,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Association1</b></p><hr/><p style="margin:0px;margin-left:8px;text-align:center;"><<participant>> {end = property 1} p1 : Blcok 1<br/><<participant>> {end = property 2} p2 : Blcok 2</p>',"Association",null,null,this.getTagsForStencil("","","sysml block association").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;", 300,80,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Association1</b></p><hr/><p style="margin:0px;text-align:center;"><i>structure</i></p>',"Association",null,null,this.getTagsForStencil("","","sysml block association").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;dashed=1;whiteSpace=wrap;",150,80,'<p style="margin:0px;margin-top:4px;text-align:center;"><<participant>><br/>{end = property 1}<br/><br/><b>p1 : Block 1</b></p>',"Participant",null, null,this.getTagsForStencil("","","sysml block participant").join(" ")),this.addEntry("sysml block connector property",function(){var a=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>Block1</b><hr/></p><p style="margin:0px;margin-top:-6px;margin-left:10px;text-align:left;"><<connector>> c1 : Association1<br/><<connector>> c2 : Association2<hr/></p><p style="margin:0px;margin-top:-6px;text-align:center;font-size:10px;"><i>structure</i></p>',new mxGeometry(0, -0,400,250),"shape=rect;html=1;overflow=fill;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell("p1:\nType1",new mxGeometry(20,100,80,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");d.vertex=!0;a.insert(d);var f=new mxCell("p2:\nType2",new mxGeometry(300,100,80,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");f.vertex= -!0;a.insert(f);var e=new mxCell("c1: Association1",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;html=1;endArrow=none;verticalAlign=bottom;labelBackgroundColor=none;");e.geometry.relative=!0;e.edge=!0;d.insertEdge(e,!0);f.insertEdge(e,!1);a.insert(e);d=new mxCell("1",new mxGeometry(1,0,0,0),"spacingRight=3;html=1;align=right;verticalAlign=bottom;labelPosition=left;labelBackgroundColor=none;fontSize=10");d.geometry.relative=!0;d.setConnectable(!1); -d.vertex=!0;e.insert(d);d=new mxCell("e1",new mxGeometry(1,0,0,0),"spacingRight=3;html=1;align=right;verticalAlign=top;labelPosition=left;labelBackgroundColor=none;fontSize=10");d.geometry.relative=!0;d.setConnectable(!1);d.vertex=!0;e.insert(d);d=new mxCell("p3:\nType3",new mxGeometry(20,160,80,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");d.vertex=!0;a.insert(d);f=new mxCell("p4:\nType4",new mxGeometry(300,160,80,40), -"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");f.vertex=!0;a.insert(f);e=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;html=1;endArrow=none;");e.geometry.relative=!0;e.edge=!0;d.insertEdge(e,!0);f.insertEdge(e,!1);a.insert(e);d=new mxCell("1",new mxGeometry(1,0,0,0),"spacingRight=3;html=1;align=right;verticalAlign=bottom;labelPosition=left;labelBackgroundColor=none;fontSize=10"); -d.geometry.relative=!0;d.setConnectable(!1);d.vertex=!0;e.insert(d);d=new mxCell("e1",new mxGeometry(1,0,0,0),"spacingRight=3;html=1;align=right;verticalAlign=top;labelPosition=left;labelBackgroundColor=none;fontSize=10");d.geometry.relative=!0;d.setConnectable(!1);d.vertex=!0;e.insert(d);e=new mxCell("c2: Association2",new mxGeometry(140,210,120,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;align=center;");e.vertex=!0;a.insert(e);d=new mxCell("",new mxGeometry(0, -0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;html=1;endArrow=none;dashed=1;");d.geometry.setTerminalPoint(new mxPoint(200,180),!1);d.geometry.relative=!0;d.edge=!0;e.insertEdge(d,!0);a.insert(d);return b.createVertexTemplateFromCells([a],400,250,"Connector Property")}),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,120,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Block1</b><hr/><<connector>> c1 : Association1<br/><<connector>> c2 : Association2<hr/></p>', -"Connector Property",null,null,this.getTagsForStencil("","","sysml block connector property").join(" ")),this.addEntry("sysml block internal block diagram",function(){var a=new mxCell('<p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;"><b>ibd</b> Block1</p>',new mxGeometry(0,0,300,100),"html=1;strokeWidth=1;shape=mxgraph.sysml.package;labelX=100;align=left;spacingLeft=10;html=1;overflow=fill;whiteSpace=wrap;strokeWidth=0;recursiveResize=0;");a.vertex=!0;var d=new mxCell("p1:\nType1", -new mxGeometry(15,30,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");d.vertex=!0;a.insert(d);var f=new mxCell("p2:\nType2",new mxGeometry(190,30,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");f.vertex=!0;a.insert(f);var e=new mxCell("c1:a1",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;verticalAlign=bottom;html=1;endArrow=none;edgeStyle=none;labelBackgroundColor=none;"); -e.geometry.relative=!0;e.edge=!0;var h=new mxCell("1",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=bottom;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;e.insert(h);h=new mxCell("p3",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;e.insert(h);d.insertEdge(e,!0);f.insertEdge(e,!1);a.insert(e);return b.createVertexTemplateFromCells([a], -300,100,"Internal Block Diagram")}),this.addEntry("sysml block property",function(){var a=new mxCell("",new mxGeometry(0,0,300,120),"shape=rect;html=1;strokeWidth=2;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell('<p style="margin:0px;margin-top:4px;margin-right:4px;text-align:right;font-size:10px;">0..*</p><p style="margin:0px;text-align:center;"><b>p1 : Type1</b><hr/>x : Integer = 4</p>',new mxGeometry(20,20,140,80),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;overflow=fill;strokeWidth=2;whiteSpace=wrap;align=center;"); -d.vertex=!0;a.insert(d);d=new mxCell("r1: Type2",new mxGeometry(180,30,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;dashed=1;strokeWidth=2;whiteSpace=wrap;align=center;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],300,120,"Property")}),this.createVertexTemplateEntry("html=1;strokeWidth=1;shape=mxgraph.sysml.package;html=1;overflow=fill;whiteSpace=wrap;",300,135,'<p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;"><b>idb</b> Block1</p>', +0,400,250),"shape=rect;html=1;overflow=fill;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var c=new mxCell("p1:\nType1",new mxGeometry(20,100,80,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");c.vertex=!0;a.insert(c);var f=new mxCell("p2:\nType2",new mxGeometry(300,100,80,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");f.vertex= +!0;a.insert(f);var e=new mxCell("c1: Association1",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;html=1;endArrow=none;verticalAlign=bottom;labelBackgroundColor=none;");e.geometry.relative=!0;e.edge=!0;c.insertEdge(e,!0);f.insertEdge(e,!1);a.insert(e);c=new mxCell("1",new mxGeometry(1,0,0,0),"spacingRight=3;html=1;align=right;verticalAlign=bottom;labelPosition=left;labelBackgroundColor=none;fontSize=10");c.geometry.relative=!0;c.setConnectable(!1); +c.vertex=!0;e.insert(c);c=new mxCell("e1",new mxGeometry(1,0,0,0),"spacingRight=3;html=1;align=right;verticalAlign=top;labelPosition=left;labelBackgroundColor=none;fontSize=10");c.geometry.relative=!0;c.setConnectable(!1);c.vertex=!0;e.insert(c);c=new mxCell("p3:\nType3",new mxGeometry(20,160,80,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");c.vertex=!0;a.insert(c);f=new mxCell("p4:\nType4",new mxGeometry(300,160,80,40), +"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");f.vertex=!0;a.insert(f);e=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;html=1;endArrow=none;");e.geometry.relative=!0;e.edge=!0;c.insertEdge(e,!0);f.insertEdge(e,!1);a.insert(e);c=new mxCell("1",new mxGeometry(1,0,0,0),"spacingRight=3;html=1;align=right;verticalAlign=bottom;labelPosition=left;labelBackgroundColor=none;fontSize=10"); +c.geometry.relative=!0;c.setConnectable(!1);c.vertex=!0;e.insert(c);c=new mxCell("e1",new mxGeometry(1,0,0,0),"spacingRight=3;html=1;align=right;verticalAlign=top;labelPosition=left;labelBackgroundColor=none;fontSize=10");c.geometry.relative=!0;c.setConnectable(!1);c.vertex=!0;e.insert(c);e=new mxCell("c2: Association2",new mxGeometry(140,210,120,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;align=center;");e.vertex=!0;a.insert(e);c=new mxCell("",new mxGeometry(0, +0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;html=1;endArrow=none;dashed=1;");c.geometry.setTerminalPoint(new mxPoint(200,180),!1);c.geometry.relative=!0;c.edge=!0;e.insertEdge(c,!0);a.insert(c);return b.createVertexTemplateFromCells([a],400,250,"Connector Property")}),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,120,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Block1</b><hr/><<connector>> c1 : Association1<br/><<connector>> c2 : Association2<hr/></p>', +"Connector Property",null,null,this.getTagsForStencil("","","sysml block connector property").join(" ")),this.addEntry("sysml block internal block diagram",function(){var a=new mxCell('<p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;"><b>ibd</b> Block1</p>',new mxGeometry(0,0,300,100),"html=1;strokeWidth=1;shape=mxgraph.sysml.package;labelX=100;align=left;spacingLeft=10;html=1;overflow=fill;whiteSpace=wrap;strokeWidth=0;recursiveResize=0;");a.vertex=!0;var c=new mxCell("p1:\nType1", +new mxGeometry(15,30,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");c.vertex=!0;a.insert(c);var f=new mxCell("p2:\nType2",new mxGeometry(190,30,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");f.vertex=!0;a.insert(f);var e=new mxCell("c1:a1",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;verticalAlign=bottom;html=1;endArrow=none;edgeStyle=none;labelBackgroundColor=none;"); +e.geometry.relative=!0;e.edge=!0;var h=new mxCell("1",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=bottom;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;e.insert(h);h=new mxCell("p3",new mxGeometry(1,0,0,0),"resizable=0;html=1;align=right;verticalAlign=top;labelBackgroundColor=none;fontSize=10");h.geometry.relative=!0;h.setConnectable(!1);h.vertex=!0;e.insert(h);c.insertEdge(e,!0);f.insertEdge(e,!1);a.insert(e);return b.createVertexTemplateFromCells([a], +300,100,"Internal Block Diagram")}),this.addEntry("sysml block property",function(){var a=new mxCell("",new mxGeometry(0,0,300,120),"shape=rect;html=1;strokeWidth=2;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var c=new mxCell('<p style="margin:0px;margin-top:4px;margin-right:4px;text-align:right;font-size:10px;">0..*</p><p style="margin:0px;text-align:center;"><b>p1 : Type1</b><hr/>x : Integer = 4</p>',new mxGeometry(20,20,140,80),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;overflow=fill;strokeWidth=2;whiteSpace=wrap;align=center;"); +c.vertex=!0;a.insert(c);c=new mxCell("r1: Type2",new mxGeometry(180,30,100,50),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontStyle=1;dashed=1;strokeWidth=2;whiteSpace=wrap;align=center;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],300,120,"Property")}),this.createVertexTemplateEntry("html=1;strokeWidth=1;shape=mxgraph.sysml.package;html=1;overflow=fill;whiteSpace=wrap;",300,135,'<p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;"><b>idb</b> Block1</p>', "Package",null,null,this.getTagsForStencil("","","sysml block package").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",100,80,'<p style="margin:0px;margin-top:4px;margin-right:4px;text-align:right;font-size:10px;">0..*</p><p style="margin:0px;text-align:center;"><b>p1 : Type1</b><hr/>x : Integer = 4</p>',"Property",null,null,this.getTagsForStencil("","","sysml block property").join(" ")),this.addEntry("sysml block property",function(){var a= -new mxCell('<p style="margin:0px;margin-top:4px;margin-right:4px;text-align:right;font-size:10px;">0..*</p><p style="margin:0px;text-align:center;">p1 : Type1<hr/></p>',new mxGeometry(0,0,250,160),"shape=rect;html=1;overflow=fill;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>p3 : Type3</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>initialValues</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">x1 = 5.0<br/>x2 = "today"</p>', -new mxGeometry(30,50,140,100),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;overflow=fill;whiteSpace=wrap;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],250,160,"Property")}),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",100,100,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>p3 : Type3</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>initialValues</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">x1 = 5.0<br/>x2 = "today"</p>', +new mxCell('<p style="margin:0px;margin-top:4px;margin-right:4px;text-align:right;font-size:10px;">0..*</p><p style="margin:0px;text-align:center;">p1 : Type1<hr/></p>',new mxGeometry(0,0,250,160),"shape=rect;html=1;overflow=fill;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var c=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>p3 : Type3</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>initialValues</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">x1 = 5.0<br/>x2 = "today"</p>', +new mxGeometry(30,50,140,100),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;overflow=fill;whiteSpace=wrap;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],250,160,"Property")}),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",100,100,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>p3 : Type3</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>initialValues</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">x1 = 5.0<br/>x2 = "today"</p>', "Property",null,null,this.getTagsForStencil("","","sysml block property").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",300,70,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>p1 : [Type1]</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>values</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;"><<normal>> {mean = 2, stdDeviation = 0.1} x : Real</p>',"Property Specific Type", null,null,this.getTagsForStencil("","","sysml block property specific type").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",100,70,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>p2</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>values</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">y : Integer = 5</p>',"Property Specific Type",null,null,this.getTagsForStencil("","","sysml block property specific type").join(" ")), this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=bottom;",160,0,"<<stereotype1>>\ndependency1","Dependency",null,null,this.getTagsForStencil("","","sysml block dependency").join(" ")),this.addDataEntry("sysml block property",160,0,"Property","zVTBboMwDP2aXCatgjDtXmjX06RJPeycggtRQ4yM29F+/QJkpYx2qqYddohkv/g58XtRRJSUzYpUVbxiBkZESxElhMh9VDYJGCNkoDMRLYSUgVtCvtzYDbvdoFIElu8hyJ5wUGYPPdIDNR+NBw5ArFNl5kbn1kEbZMZSRHHBpbvvInQh2GxOhB8utWihRbIc1r4JEheYo1VmOaBxzYQ7eNcZF65GOqQ/umXenKaD/CgrwBKYjq6EwCjWhzFP1X2an+vO1DfUruNQUuOeUvDopVxfhY3v/ByMe7OiHHhCdMHF/QaoU/+6E9HEiXBiBUGtT2rTpcHYAeXdMbB1UsXfTWOsHGrUBkys0l1OuLdZggZpsGyLltf61DYP/ZgpWgsp+yPPrylo20Nz0yV53SVPePSMu00bqfqDhE8TCYPZ7OE3KpLOi/8u4x+p6NLhu+nf7eVv9Ak="), this.addDataEntry("sysml block binding connector",160,0,"Binding Connector","zVSxboMwEP0aj5XAVNlDknaqVClDZwcuxorxpceRknx9DbgQmqTKkKEDku/53jN+72SRLMrmldS+eMMcrEhWIlkQIverslmAtUJGJhfJUkgZ+U/Ilxu7cbcb7RWB43sIsicclK2hR4ScqXIvktR6gXRawWet7ADpSUOoWrWKjzaoHYDYZMrOrdHOQxtkxtJ3Flz6yy7jVtXlcyL88qVDBy2Sa1gHESQuUKNTdjWiacWEO/gwORe+Rw5Ht8ybVnRQ8OEVsASmo28hsIrNYcpTVV/qoW+gvqPximNLhTVlENBzr38am6A8i6barEgDXxD94uz/RqiL7nqMyUWM8UUUBJU5qU1XRtMEVEjHwrZN8XdojN0EqA3YVGU7TVi7fIEWaYxsi47X5tSKx+GaGToHGYcjh1GMWnlobqYkr6cUCE+BcXdoE1f/sPD5MRaS0cV/9/BBFvpyfKj6oT1/x74B"), this.addDataEntry("sysml block bidirectional connector",160,0,"Bidirectional Connector","3VXBboMwDP2aXCatCrD1XmjX06RJ/YIUXIgWYhRMR/v1C5BBGe1UTZ1U7QCKH89O/J5FWBDl9dqIInvFBBQLViyIDCJ1q7yOQCnmc5mwYMl8n9uH+S8XvnrtV14IA5quSfC7hL1QFXRIbGtwFizsW5QlxlKQRN3RSjooR9uDIRkLtVAy1RbaIhHmLAgzym0XS88uQScLY/DDhho1NEiSwsYVQUMZpqiFWg1o2G3U8C521EKunTVgDmQOlmJA2aPux3mi7MK05/WpbyhtxYFSYmVicOipZF/E2lWe83FtEiYFmiTaxcn5Bqh14LwbwcQNPpt5E+0NlPIotm3Ix5ILZ4eCnVUr/O4SYWFRJbagQhG/pwYrnUSo0Awe7VDTRh6b4p7rNEatISa3ZT9UvCkP9UWj/PNGuYRHl3G1byNhf1DxaaJicUsN+0n/5zI+nxvGh98IaWSa3fs0/pWK8+kw+rfU8M6m8UYy2nC4A7sf6ekV+Qk="), this.addDataEntry("sysml block unidirectional connector",160,0,"Unidirectional Connector","3VXBboMwDP2aXCatCrD1XmjX06RJ/YIUXIgWYhRMR/v1C5BBGe1UTZ1U7QCKH89O/J5FWBDl9dqIInvFBBQLViyIDCJ1q7yOQCnmc5mwYMl8n9uH+S8XvnrtV14IA5quSfC7hL1QFXRIbGtwFizsW5QlxlKQRN3RSjooR9uDIRkLtVAy1RbaIhHmLAgzym0XS88uQScLY/DDhho1NEiSwsYVQUMZpqiFWg1o2G3U8C521EKunTVgDmQOlmJA2aPux3mi7MK05/WpbyhtxYFSYmVicOipZF/E2lWe83FtEiYFmiTaxcn5Bqh14LwbwcQNPpt5E+0NlPIotm3Ix5ILZ4eCnVUr/O4SYWFRJbagQhG/pwYrnUSo0Awe7VDTRh6b4p7rNEatISa3ZT9UvCkP9UWj/PNGuYRHl3G1byNhf1DxaaJicUsN+0n/5zI+nxvGh98IaWSa3fs0/pWK8+kw+rfU8M6m8UYy2nC4A7sf6ekV+Qk=")]; -this.addPalette("sysmlBlocks","SysML / Blocks",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<e.length;b++)a.appendChild(e[b](a))}))};Sidebar.prototype.addSysMLPortsAndFlowsPalette=function(a){var b=this,e=[this.addEntry("sysml port flow port",function(){var a=new mxCell("Transmission",new mxGeometry(0,0,160,60),"html=1;shape=mxgraph.sysml.port1;fontStyle=1;whiteSpace=wrap;align=center;points=[[0,0.5,0],[1,0.5,0]];");a.vertex=!0;var d=new mxCell("p1",new mxGeometry(0,20,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;points=[[0,0.5,0]];html=1;resizable=1;align=right;verticalAlign=bottom;labelPosition=left;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10;part=1;"); -d.geometry.relative=!1;d.vertex=!0;a.insert(d);d=new mxCell("p2",new mxGeometry(140,20,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;points=[[1,0.5,0]];html=1;resizable=1;labelBackgroundColor=none;fontSize=10;part=1;");d.geometry.relative=!1;d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Port")}),this.addEntry("sysml port flow port conjugated",function(){var a=new mxCell("Transmission",new mxGeometry(0,0,200, -60),"html=1;shape=mxgraph.sysml.port2;fontStyle=1;spacingRight=20;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("p1 : ~T1",new mxGeometry(0,20,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;points=[[0,0.5,0]];html=1;resizable=1;align=right;verticalAlign=bottom;labelPositin=left;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10;part=1;");d.geometry.relative=!1;d.vertex=!0;a.insert(d);d=new mxCell("p2 : ~T2",new mxGeometry(140,20,60,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;points=[[1,0.5,0]];html=1;resizable=1;labelBackgroundColor=none;fontSize=10;part=1;"); -d.geometry.relative=!1;d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Port (Conjugated Ports)")}),this.addDataEntry("sysml port flow port flow property",160,80,"Ports with Flow Properties","7ZTLboMwEEW/xtuI4KbqtoE2m1aqlP6AAxOwanuQPWkgX18DJi9S9aFI3XSBZN87V5o5g8x4ouuFFVX5jDkoxh8YTywi9SddJ6AUiyOZM56yOI78x+LHT9xp50aVsGDoO4G4D7wLtYFeebXCOC2dk2h601GjglmS9i2mU8bnrhRVq+q6aLufuMZpNanQEvfuGg0tQ66t3paSYFmJrBW2PuA1oWRh/DXzvYL1QugFLEH96TydFIZZAGog2/iSrcypDBW3/cxRCbIoQ+wuaML192IfPdDxhwDoMiw+glVNR4gsOLkTq+4a+aGOkA0D276teTupzIS6D/oKiVB7Q4kVqBd0ktol8FTB+rj+6cwmrIbQXGRvhcWNyRNU6KGmBg0MC5G7bh8BRYbGQEah1/2v8tUC4ssLaELgCpxvxpzjf86nnGdX4Dwbc+a/4XyG7TLmvyM2BIZnIRDkPyfor4enufNOXu4P"), +this.addPalette("sysmlBlocks","SysML / Blocks",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<e.length;b++)a.appendChild(e[b](a))}))};Sidebar.prototype.addSysMLPortsAndFlowsPalette=function(a){var b=this,e=[this.addEntry("sysml port flow port",function(){var a=new mxCell("Transmission",new mxGeometry(0,0,160,60),"html=1;shape=mxgraph.sysml.port1;fontStyle=1;whiteSpace=wrap;align=center;points=[[0,0.5,0],[1,0.5,0]];");a.vertex=!0;var c=new mxCell("p1",new mxGeometry(0,20,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;points=[[0,0.5,0]];html=1;resizable=1;align=right;verticalAlign=bottom;labelPosition=left;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10;part=1;"); +c.geometry.relative=!1;c.vertex=!0;a.insert(c);c=new mxCell("p2",new mxGeometry(140,20,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;points=[[1,0.5,0]];html=1;resizable=1;labelBackgroundColor=none;fontSize=10;part=1;");c.geometry.relative=!1;c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Port")}),this.addEntry("sysml port flow port conjugated",function(){var a=new mxCell("Transmission",new mxGeometry(0,0,200, +60),"html=1;shape=mxgraph.sysml.port2;fontStyle=1;spacingRight=20;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("p1 : ~T1",new mxGeometry(0,20,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;points=[[0,0.5,0]];html=1;resizable=1;align=right;verticalAlign=bottom;labelPositin=left;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10;part=1;");c.geometry.relative=!1;c.vertex=!0;a.insert(c);c=new mxCell("p2 : ~T2",new mxGeometry(140,20,60,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;points=[[1,0.5,0]];html=1;resizable=1;labelBackgroundColor=none;fontSize=10;part=1;"); +c.geometry.relative=!1;c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Port (Conjugated Ports)")}),this.addDataEntry("sysml port flow port flow property",160,80,"Ports with Flow Properties","7ZTLboMwEEW/xtuI4KbqtoE2m1aqlP6AAxOwanuQPWkgX18DJi9S9aFI3XSBZN87V5o5g8x4ouuFFVX5jDkoxh8YTywi9SddJ6AUiyOZM56yOI78x+LHT9xp50aVsGDoO4G4D7wLtYFeebXCOC2dk2h601GjglmS9i2mU8bnrhRVq+q6aLufuMZpNanQEvfuGg0tQ66t3paSYFmJrBW2PuA1oWRh/DXzvYL1QugFLEH96TydFIZZAGog2/iSrcypDBW3/cxRCbIoQ+wuaML192IfPdDxhwDoMiw+glVNR4gsOLkTq+4a+aGOkA0D276teTupzIS6D/oKiVB7Q4kVqBd0ktol8FTB+rj+6cwmrIbQXGRvhcWNyRNU6KGmBg0MC5G7bh8BRYbGQEah1/2v8tUC4ssLaELgCpxvxpzjf86nnGdX4Dwbc+a/4XyG7TLmvyM2BIZnIRDkPyfor4enufNOXu4P"), this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",160,70,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Transmission</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>ports</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">p1 : ITransCmd</p>',"Port (Compartment Notation)",null,null,this.getTagsForStencil("","","sysml port flow port compartment notation").join(" ")),this.addDataEntry("sysml port flow nested port", 160,60,"Nested Port","7ZXLboMwEEW/xtsIcJp9gTabVoqU/oADE7DqB7KdBvL1tbHJk6iPdFVlgeS54yvPnLEwwhlv54o09assgSH8hHCmpDR+xdsMGENJREuEc5Qkkf1Q8nwlG/fZqCEKhPmOIfGGD8I24JU3RYTmVGsqhU9q07GQrA23JeYxwqmuSeNU3lau+onuNGcTAdpAuZDKnp6upTDLYHaWbU0NLBtSOGFrXVYjjFbChoUtGJQVQkGgDLRXm+ql0NEcJAejOrtlS0tThx0z33hUA63qYBs0on1c7a0HRHYRKI0TwxfEmngSX5BSoOmOrPowsm0dkRtaVr6w1PVKC8Ieg85pWTpfysgK2EJqatwscM5gfbz/5SxtZDOYUlK8V0puRJlJJi3WXEgBw0jorp9IgFFIIaAwodb9jflqBMn4CLpgmN5OejpGOrmTPiWN/+BOP4yRxnfSp6Sns9tJz0ZI/4bzGbZ/gTkYhjdp+JP8/H7b8PCC9rmTB/YT"), -this.addEntry("sysml port flow proxy port",function(){var a=new mxCell("Transmission",new mxGeometry(0,0,160,60),"html=1;shape=mxgraph.sysml.port1;fontStyle=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("<<proxy>>\np1",new mxGeometry(0,20,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;points=[[0,0.5,0]];html=1;resizable=1;align=right;verticalAlign=bottom;labelPosition=left;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10;part=1;"); -d.geometry.relative=!1;d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Proxy Port")}),this.addEntry("sysml port flow full port",function(){var a=new mxCell("Transmission",new mxGeometry(0,0,160,60),"html=1;shape=mxgraph.sysml.port1;fontStyle=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("<<full>>\np1",new mxGeometry(0,20,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;points=[[0,0.5,0]];html=1;resizable=1;align=right;verticalAlign=bottom;labelPosition=left;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10;paart=1;"); -d.geometry.relative=!1;d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Full Port")}),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,100,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Transmission</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>flow properties</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">in gearSelect: Gear<br/>in engineTorque: Torque<br/>out wheelsTorque: Torque</p>', +this.addEntry("sysml port flow proxy port",function(){var a=new mxCell("Transmission",new mxGeometry(0,0,160,60),"html=1;shape=mxgraph.sysml.port1;fontStyle=1;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("<<proxy>>\np1",new mxGeometry(0,20,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;points=[[0,0.5,0]];html=1;resizable=1;align=right;verticalAlign=bottom;labelPosition=left;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10;part=1;"); +c.geometry.relative=!1;c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Proxy Port")}),this.addEntry("sysml port flow full port",function(){var a=new mxCell("Transmission",new mxGeometry(0,0,160,60),"html=1;shape=mxgraph.sysml.port1;fontStyle=1;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("<<full>>\np1",new mxGeometry(0,20,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;points=[[0,0.5,0]];html=1;resizable=1;align=right;verticalAlign=bottom;labelPosition=left;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10;paart=1;"); +c.geometry.relative=!1;c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Full Port")}),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,100,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Transmission</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>flow properties</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">in gearSelect: Gear<br/>in engineTorque: Torque<br/>out wheelsTorque: Torque</p>', "Flow Property",null,null,this.getTagsForStencil("","","sysml port flow flow property").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",250,150,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>Transmission</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>operations</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">prov Boolean selectGear(g : Gear)<br/>reqd Torque getTorque()</p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>properties</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">prov temperature : Integer<br/>reqd geometry : Spline</p>', "Required and Provided Features",null,null,this.getTagsForStencil("","","sysml port flow required provided feature").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,80,'<p style="margin:0px;margin-top:4px;text-align:center;"><<interfaceBlock>>\n<b>ISpeedObserver</b></p><hr/><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">notifySpeedChange(): void</p>',"Interface Block",null,null,this.getTagsForStencil("","","sysml port flow interface block").join(" ")), this.addDataEntry("sysml port flow item flow",120,180,"Item Flow","1ZXBbtswDIafRscFjt0Gu8bJ2ks3DEgO21GxGVuYLHkUk9h9+lG2nMRNuhVYVmAHA+JPUhY/UrZIFlXziLIuP9sctEg+iWSB1lK/qpoFaC3iSOUiWYo4jvgR8cMr3mnnjWqJYOgtCXGfsJd6B70CphDJnDVeKAMinok4mUYiSftQR60OoSVVfODllH2ulLVXq6bwtUxc6yo9UQTVg7YHDthaQ6uQ6hO2LC8VsrUK1rrtdrA7Pnh6KDl3VcvMSwfekjWpVWHYzLg2wOOB9oAEzav1d1Io/hFsBYQth4SEgCc6qJzKXvoYpBJUUYZNZkGTrreL40YntrwIeK+jTi5Qn7ElNK7HvkZpXKWcU9b8I+JfxsSVeQ/gbfBeIX7Ubo387gL52uJPXr/kCnkBAytjeeqT9Az1wAH706Vg8jmihzwEQ6PoG5vR5D5Y30MuY8H2zOVN7ztdKP/uEUxnd5jB6H6SxAJoNEdvQI6gJan9ePe/4Xl/wbO+QIng1LPcdGZ0naOGrcfoeNqUKZ46a9ldAz9aKpN6HiLJ+jnUcgP6q3WK/J045g/BTy/cG0tkqyEvldmPAu3O5AurLZ561t0P9Qz9u7syMmsMZBROf/x4/mni7377ifkQMm7ejdl7d2MM9r9tyI36webpP935Rr/xXw=="), this.addDataEntry("sysml port flow item flow property",140,180,"Item Flow (Item Property)","1ZXfb5swEMf/Gj8uIpBGew3J2pdumpQ+bI8OXMCqsZl9SaB//c7YkFDardLSSntA8n3vB/bnfMCSddXcGV6XX3UOkiVfWLI2WqNfVc0apGRxJHKWbFgcR/Sw+PYV77zzRjU3oPAtCbFPOHJ5AK+AKliyIo0WQgGLlyxO5hFLUh9qsZUhtMSKNryZk8+WvHZq1RTuLDPb2krOBEJ1K/WJAvZa4TakuoQ9yRthyNoG66HtKugDbTw9lZS7rXnmpBOVJI1LUSgyMzobmGFDRzAIzavn76Rw+DvQFaBpKSQkLDye6CRyLL30OUgliKIMRZZB49bbxVDozJYWAe/LqJMJ6gu2aJT12B8MV7YS1gqt3on4tzFxoT4QeLiPURuC42kDBu3aHVhMOoDa/HLrDrxfP0cOeQE9RqVpIJL0ogs9IuN3moLKV8Y4/n0wNAJ/kBnNboL1M+QSMdNeuJzpfOdZc+8ecbb6YDIYjS5yUwCOrtgbumFAchTHcfV/YXszYVtPUBqw4onvOjN6maOEvcNo6SIKVdx31qabEHfrRMblKkSidldU8h3I79oKdOMy5PfB98/cO42oqz4v5dljYfRB5WsttTn3rBsd8QT+3d0xMq0UZBh2P3xX/zYMiz8Ow6eQcfVuLD+6G2Ow/21DrtQPMs+/8M43+sP/Bg=="), this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.itemFlow;fontStyle=1;flowDir=n;flowType=in;whiteSpace=wrap;align=center;",200,80,"eng:Engine","Item Flow North In",null,null,this.getTagsForStencil("","","sysml port flow item flow north in").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.itemFlow;fontStyle=1;flowDir=e;flowType=out;whiteSpace=wrap;align=center;",200,80,"eng:Engine","Item Flow East Out",null,null,this.getTagsForStencil("","","sysml port flow item flow east out").join(" ")), -this.addEntry("sysml port flow item flow",function(){var a=new mxCell("eng: engine",new mxGeometry(40,0,100,60),"html=1;shape=mxgraph.sysml.itemFlow;fontStyle=1;strokeWidth=1;flowDir=e;flowType=none;spacingRight=20;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("trns: Translation",new mxGeometry(260,0,140,60),"html=1;shape=mxgraph.sysml.itemFlow;strokeWidth=1;fontStyle=1;flowDir=w;flowType=none;spacingLeft=15;whiteSpace=wrap;align=center;");d.vertex=!0;var f=new mxCell("Torque",new mxGeometry(0, +this.addEntry("sysml port flow item flow",function(){var a=new mxCell("eng: engine",new mxGeometry(40,0,100,60),"html=1;shape=mxgraph.sysml.itemFlow;fontStyle=1;strokeWidth=1;flowDir=e;flowType=none;spacingRight=20;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("trns: Translation",new mxGeometry(260,0,140,60),"html=1;shape=mxgraph.sysml.itemFlow;strokeWidth=1;fontStyle=1;flowDir=w;flowType=none;spacingLeft=15;whiteSpace=wrap;align=center;");c.vertex=!0;var f=new mxCell("Torque",new mxGeometry(0, 0,0,0),"edgeStyle=none;html=1;align=left;verticalAlign=top;endArrow=none;exitX=1;exitY=0.5;entryX=0;entryY=0.5;");f.geometry.relative=!0;f.edge=!0;var e=new mxCell("ep:EP",new mxGeometry(0,0,0,0),"resizable=0;html=1;align=left;spacingLeft=5;verticalAlign=bottom;labelPosition=left;verticalLabelPosition=bottom;labelBackgroundColor=none;fontSize=10");e.geometry.relative=!0;e.geometry.x=-1;e.setConnectable(!1);e.vertex=!0;f.insert(e);e=new mxCell("tp:TP",new mxGeometry(0,0,0,0),"resizable=0;html=1;align=right;spacingRight=5;verticalAlign=bottom;labelPosition=left;verticalLabelPosition=bottom;labelBackgroundColor=none;fontSize=10"); -e.geometry.relative=!0;e.geometry.x=1;e.setConnectable(!1);e.vertex=!0;f.insert(e);a.insertEdge(f,!0);d.insertEdge(f,!1);e=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>c1: Association-1</b></p><hr/><p style="margin:0px;margin-left:4px;text-align:left;font-size:0.9em;"><<participant>>{end = ep} epInLink : EP[1]<br/><<participant>>{end = tp} etInLink : TP[1]<hr/></p><p style="margin:0px;text-align:center;font-size:0.9em;">structure</p>',new mxGeometry(0, +e.geometry.relative=!0;e.geometry.x=1;e.setConnectable(!1);e.vertex=!0;f.insert(e);a.insertEdge(f,!0);c.insertEdge(f,!1);e=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>c1: Association-1</b></p><hr/><p style="margin:0px;margin-left:4px;text-align:left;font-size:0.9em;"><<participant>>{end = ep} epInLink : EP[1]<br/><<participant>>{end = tp} etInLink : TP[1]<hr/></p><p style="margin:0px;text-align:center;font-size:0.9em;">structure</p>',new mxGeometry(0, 120,470,250),"shape=rect;html=1;overflow=fill;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");e.vertex=!0;var h=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;edgeStyle=elbowEdgeStyle;elbow=horizontal;dashed=1;");h.geometry.relative=!0;h.geometry.setTerminalPoint(new mxPoint(160,30),!0);h.edge=!0;e.insertEdge(h,!1);var k=new mxCell("epInLink : EP",new mxGeometry(30,100,160,120),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shape=mxgraph.sysml.itemFlowRight;fontStyle=1;spacingRight=40;whiteSpace=wrap;align=center;"); k.vertex=!0;e.insert(k);var l=new mxCell("ep.1",new mxGeometry(160,30,0,0),"resizable=0;html=1;align=right;spacingRight=22;verticalAlign=middle;labelPosition=right;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10");l.geometry.relative=!1;l.setConnectable(!1);l.vertex=!0;k.insert(l);l=new mxCell("ep.2",new mxGeometry(160,60,0,0),"resizable=0;html=1;align=right;spacingRight=22;verticalAlign=middle;labelPosition=right;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10");l.geometry.relative= !1;l.setConnectable(!1);l.vertex=!0;k.insert(l);l=new mxCell("ep.3",new mxGeometry(160,90,0,0),"resizable=0;html=1;align=right;spacingRight=22;verticalAlign=middle;labelPosition=right;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10");l.geometry.relative=!1;l.setConnectable(!1);l.vertex=!0;k.insert(l);l=new mxCell("tpInLink : TP",new mxGeometry(280,100,160,120),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shape=mxgraph.sysml.itemFlowLeft;fontStyle=1;spacingLeft=40;whiteSpace=wrap;align=center;"); l.vertex=!0;e.insert(l);var m=new mxCell("tp.1",new mxGeometry(0,30,0,0),"resizable=0;html=1;align=left;spacingLeft=22;verticalAlign=middle;labelPosition=left;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10");m.geometry.relative=!1;m.setConnectable(!1);m.vertex=!0;l.insert(m);m=new mxCell("tp.2",new mxGeometry(0,60,0,0),"resizable=0;html=1;align=left;spacingLeft=22;verticalAlign=middle;labelPosition=left;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10");m.geometry.relative= !1;m.setConnectable(!1);m.vertex=!0;l.insert(m);m=new mxCell("tp.3",new mxGeometry(0,90,0,0),"resizable=0;html=1;align=left;spacingLeft=22;verticalAlign=middle;labelPosition=left;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10");m.geometry.relative=!1;m.setConnectable(!1);m.vertex=!0;l.insert(m);m=new mxCell("Vibration",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;html=1;verticalAlign=bottom;endArrow=none;exitX=1;exitY=0.25;entryX=0;entryY=0.25;labelBackgroundColor=none;"); m.geometry.relative=!0;m.edge=!0;k.insertEdge(m,!0);l.insertEdge(m,!1);e.insert(m);m=new mxCell("Heat",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;html=1;verticalAlign=bottom;endArrow=none;exitX=1;exitY=0.5;entryX=0;entryY=0.5;labelBackgroundColor=none;");m.geometry.relative=!0;m.edge=!0;k.insertEdge(m,!0);l.insertEdge(m,!1);e.insert(m);m=new mxCell("Current",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;html=1;verticalAlign=bottom;endArrow=none;exitX=1;exitY=0.75;entryX=0;entryY=0.75;labelBackgroundColor=none;"); -m.geometry.relative=!0;m.edge=!0;k.insertEdge(m,!0);l.insertEdge(m,!1);e.insert(m);return b.createVertexTemplateFromCells([a,d,f,e,h],470,370,"Item Flow")}),this.addDataEntry("sysml port flow item flow",200,120,"Item Flow","7ZXfasIwFMafJrdSm22wS1unDBwI7gVie2yD+VOSuLY+/U6bVN1WcYNdetGQfOd84ZzfKYTQVDZLw6ryTecgCH0hNDVaO7+TTQpCkDjiOaFzEscRfiReXIlO+2hUMQPK/cYQe8MHEwfwiqte1YqrPaqEznB9X/sc61oRckonsdL5lNDElqzqVNkUXRMT21opJtyBXAhdr2CHZSQ7rdwm2DtTXWLCpmJZJ9ToQ40JXig8Zlg5GBRCZWAcNFe766XQ2hK0BGdaTKl57srQYeQJRCXwohxsAUvErBeKk/cMCzeB1zg7OsJuMv0By4DlR7btj4g0uYA39Cw8JotEuCo8tHnXWNK1zzMmZiFT8jzvbkoE24JYa8sd1xdXDPmrb2Gnq8GUsGxfGH1QeaqFRtJzpRUMU+LHfkgBT6aVgsyF6k9/062pxONTaQO3f2D/MMY+vrO/xf7pH9g/jrGnd/a32D//nT0ez29BH/vyVHwC"), +m.geometry.relative=!0;m.edge=!0;k.insertEdge(m,!0);l.insertEdge(m,!1);e.insert(m);return b.createVertexTemplateFromCells([a,c,f,e,h],470,370,"Item Flow")}),this.addDataEntry("sysml port flow item flow",200,120,"Item Flow","7ZXfasIwFMafJrdSm22wS1unDBwI7gVie2yD+VOSuLY+/U6bVN1WcYNdetGQfOd84ZzfKYTQVDZLw6ryTecgCH0hNDVaO7+TTQpCkDjiOaFzEscRfiReXIlO+2hUMQPK/cYQe8MHEwfwiqte1YqrPaqEznB9X/sc61oRckonsdL5lNDElqzqVNkUXRMT21opJtyBXAhdr2CHZSQ7rdwm2DtTXWLCpmJZJ9ToQ40JXig8Zlg5GBRCZWAcNFe766XQ2hK0BGdaTKl57srQYeQJRCXwohxsAUvErBeKk/cMCzeB1zg7OsJuMv0By4DlR7btj4g0uYA39Cw8JotEuCo8tHnXWNK1zzMmZiFT8jzvbkoE24JYa8sd1xdXDPmrb2Gnq8GUsGxfGH1QeaqFRtJzpRUMU+LHfkgBT6aVgsyF6k9/062pxONTaQO3f2D/MMY+vrO/xf7pH9g/jrGnd/a32D//nT0ez29BH/vyVHwC"), this.addDataEntry("sysml port flow item flow",200,120,"Item Flow","7ZVdb4IwFIZ/TW8N0m3JLgXULHGJmb+gwhk09oO0dYC/fgco6hxmH/HSC0j79rzNOc9LAqGxrJeGlcWrzkAQOic0Nlq7fiXrGIQgYcAzQhMShgE+JFxcOZ12p0HJDCj3G0PYGz6Y2EOvQPmiVlztUCV0hu/5uq+xrhG+pnASO02mhEa2YGWryjpvh5jYxkox4Q7kQujqjecF9hG9a+U23t+6qgIrNiVLW6FCI2pM8FzhNsXWwaDgWwPjoL46Xif52ZagJTjTYEnFM1f4EYMeQVBA301n81wCZnshP3pPtHDhgY3DoyPwJtNvtAxYfmDbbotMozN6w8zGc7KIhKvcY0va0aIWAE+ZmPlaybOsvSsSbAtirS13XJ9fMhhWF+dOl4MrYukuN3qvslgLjbATpRUMQfFDl5MnlGqlIHV+gOMX9VMw4Xgw9UUojUd5gzgexuII73H8I46nG8TxOBYHvcfxjzie/x4Hbk9/ke7sy0/mEw=="), this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,80,'<p style="margin:0px;margin-top:4px;text-align:center;"><<interface>><br/><b>ISpeedObserver</b></p><hr/><p style="margin:0px;margin-top:4px;margin-left:4px;text-align:left;">notifySpeedChange(): void</p>',"Interface",null,null,this.getTagsForStencil("","","sysml port flow interface").join(" ")),this.addEntry("sysml port flow required interface",function(){var a=new mxCell("Transmission",new mxGeometry(90, -0,160,60),"html=1;shape=mxgraph.sysml.port4;fontStyle=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("p1",new mxGeometry(0,20,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;resizable=0;align=left;verticalAlign=bottom;labelPosition=right;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10;");d.geometry.relative=!1;d.setConnectable(!1);d.vertex=!0;a.insert(d);d=new mxCell("ITransCmd",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;align=left;verticalAlign=bottom;endArrow=sysMLReqInt;endSize=8;exitX=0;exitY=0.5;fillColor=#ffffff;"); -d.geometry.setTerminalPoint(new mxPoint(0,0),!1);d.geometry.relative=!0;d.geometry.x=1;d.edge=!0;a.insertEdge(d,!0);var f=new mxCell("ITransData",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;align=left;verticalAlign=top;endArrow=sysMLProvInt;endSize=12;exitX=0;exitY=0.5;fillColor=#ffffff;");f.geometry.setTerminalPoint(new mxPoint(0,60),!1);f.geometry.relative=!0;f.geometry.x=1;f.edge=!0;a.insertEdge(f,!0);return b.createVertexTemplateFromCells([a,d,f],250,60,"Required Interface")}),this.addEntry("sysml port flow provided interface", -function(){var a=new mxCell("Transmission",new mxGeometry(90,0,160,60),"html=1;shape=mxgraph.sysml.port4;fontStyle=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("p1",new mxGeometry(0,20,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;resizable=0;labelBackgroundColor=none;fontSize=10;");d.geometry.relative=!1;d.setConnectable(!1);d.vertex=!0;a.insert(d);d=new mxCell("ITransCmd",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;align=left;verticalAlign=bottom;endArrow=sysMLReqInt;endSize=8;exitX=0;exitY=0.5;fillColor=#ffffff;"); -d.geometry.setTerminalPoint(new mxPoint(0,0),!1);d.geometry.relative=!0;d.geometry.x=1;d.edge=!0;a.insertEdge(d,!0);var f=new mxCell("ITransData",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;align=left;verticalAlign=top;endArrow=sysMLProvInt;endSize=12;exitX=0;exitY=0.5;fillColor=#ffffff;");f.geometry.setTerminalPoint(new mxPoint(0,60),!1);f.geometry.relative=!0;f.geometry.x=1;f.edge=!0;a.insertEdge(f,!0);return b.createVertexTemplateFromCells([a,d,f],250,60,"Provided Interface")})];this.addPalette("sysmlPorts and Flows", +0,160,60),"html=1;shape=mxgraph.sysml.port4;fontStyle=1;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("p1",new mxGeometry(0,20,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;resizable=0;align=left;verticalAlign=bottom;labelPosition=right;verticalLabelPosition=top;labelBackgroundColor=none;fontSize=10;");c.geometry.relative=!1;c.setConnectable(!1);c.vertex=!0;a.insert(c);c=new mxCell("ITransCmd",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;align=left;verticalAlign=bottom;endArrow=sysMLReqInt;endSize=8;exitX=0;exitY=0.5;"); +c.geometry.setTerminalPoint(new mxPoint(0,0),!1);c.geometry.relative=!0;c.geometry.x=1;c.edge=!0;a.insertEdge(c,!0);var f=new mxCell("ITransData",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;align=left;verticalAlign=top;endArrow=sysMLProvInt;endSize=12;exitX=0;exitY=0.5;");f.geometry.setTerminalPoint(new mxPoint(0,60),!1);f.geometry.relative=!0;f.geometry.x=1;f.edge=!0;a.insertEdge(f,!0);return b.createVertexTemplateFromCells([a,c,f],250,60,"Required Interface")}),this.addEntry("sysml port flow provided interface", +function(){var a=new mxCell("Transmission",new mxGeometry(90,0,160,60),"html=1;shape=mxgraph.sysml.port4;fontStyle=1;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("p1",new mxGeometry(0,20,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;resizable=0;labelBackgroundColor=none;fontSize=10;");c.geometry.relative=!1;c.setConnectable(!1);c.vertex=!0;a.insert(c);c=new mxCell("ITransCmd",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;align=left;verticalAlign=bottom;endArrow=sysMLReqInt;endSize=8;exitX=0;exitY=0.5;"); +c.geometry.setTerminalPoint(new mxPoint(0,0),!1);c.geometry.relative=!0;c.geometry.x=1;c.edge=!0;a.insertEdge(c,!0);var f=new mxCell("ITransData",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;align=left;verticalAlign=top;endArrow=sysMLProvInt;endSize=12;exitX=0;exitY=0.5;");f.geometry.setTerminalPoint(new mxPoint(0,60),!1);f.geometry.relative=!0;f.geometry.x=1;f.edge=!0;a.insertEdge(f,!0);return b.createVertexTemplateFromCells([a,c,f],250,60,"Provided Interface")})];this.addPalette("sysmlPorts and Flows", "SysML / Ports and Flows",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<e.length;b++)a.appendChild(e[b](a))}))};Sidebar.prototype.addSysMLConstraintBlocksPalette=function(a){var b=this,e=[this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",200,180,'<p style="margin:0px;margin-top:4px;text-align:center;"><<constraint>><br/><b>ConstraintBlock1</b></p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>constraints</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">{{L1} x > y }<br/>nested: ConstraintBlock2</p><hr/><p style="font-size:10px;margin:0px;margin-top:4px;text-align:center;"><i>parameters</i></p><p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;">x: Real<br/>y: Real</p>', -"Constraint Block",null,null,this.getTagsForStencil("","","sysml constraint block ").join(" ")),this.addEntry("sysml constraint block parametric diagram",function(){var a=new mxCell('<p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;"><b>par</b> Block1</p>',new mxGeometry(0,0,300,170),"html=1;shape=mxgraph.sysml.package;labelX=120;align=left;spacingLeft=10;overflow=fill;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell("C1: Constraint",new mxGeometry(130, -50,150,100),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shape=mxgraph.sysml.paramDgm;fontStyle=1;whiteSpace=wrap;align=center;");d.vertex=!0;a.insert(d);var f=new mxCell("x:",new mxGeometry(0,25,0,0),"html=1;resizable=0;align=left;verticalAlign=middle;labelPosition=left;verticalLabelPosition=middle;labelBackgroundColor=none;fontSize=10;spacingLeft=22;fontStyle=1;");f.geometry.relative=!1;f.setConnectable(!1);f.vertex=!0;d.insert(f);f=new mxCell("y:",new mxGeometry(0,75,0,0), -"html=1;resizable=0;align=left;verticalAlign=middle;labelPosition=left;verticalLabelPosition=middle;labelBackgroundColor=none;fontSize=10;spacingLeft=22;fontStyle=1;");f.geometry.relative=!1;f.setConnectable(!1);f.vertex=!0;d.insert(f);var e=new mxCell("length: Real",new mxGeometry(30,65,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontSize=10;verticalLabelPosition=top;verticalAlign=bottom;");e.vertex=!0;a.insert(e);f=new mxCell("width: Real",new mxGeometry(30, -115,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontSize=10;verticalLabelPosition=top;verticalAlign=bottom;");f.vertex=!0;a.insert(f);var h=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=none;html=1;edgeStyle=none;exitY=0.25;exitX=0;entryY=0.5;entryX=1;");h.geometry.relative=!0;h.geometry.x=1;h.edge=!0;d.insertEdge(h,!0);e.insertEdge(h,!1);a.insert(h);e=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=none;html=1;edgeStyle=none;exitY=0.75;exitX=0;entryY=0.5;entryX=1;"); -e.geometry.relative=!0;e.geometry.x=1;e.edge=!0;d.insertEdge(e,!0);f.insertEdge(e,!1);a.insert(e);return b.createVertexTemplateFromCells([a],300,170,"Parametric Diagram")}),this.addDataEntry("sysml constraint block constraint property",150,100,"Constraint Property","7VTLbsIwEPwaX1FIinrOo+VCpap8gUkW26ofkW1Kwtd3nRgoDaituPYQyZ7dsXdmIpOsVN3S0pa/mAYkyZ5IVlpj/LhSXQlSkjQRDckqkqYJfiR9vlGdD9WkpRa0/w0hHQkfVO5gRMo5yfLSaOctFdrHE53vZWzgXuGYFbYVjtM2oKpjQcHM9U7JGd5OVcUUNmyN9utIDYQ9Fx7WLa0DsEcOYlQKpnFb48hgEYgjgfXQ3ZQ1QFHTEowCb3ts2YvG89ixGKUnHATjR1oSQepGgJ24Z5dwEY26blo2MQ3nzBF5Ayonfllw4kA3wzZBeV/8O0qXsMX5iiBZ1FTmEVaiaQKtkHQD8tU44YW50r/6Vr7kFbR+Z9bsdFMaadDgShsNx3DEYcgmDOYwF6HZaji8CvZO8hvF1UZrqH3UdPrHfoosvR5ZH6uL+4N5mATT/wdzbzCPfw8Gt+cnbKhdvHCf"), +"Constraint Block",null,null,this.getTagsForStencil("","","sysml constraint block ").join(" ")),this.addEntry("sysml constraint block parametric diagram",function(){var a=new mxCell('<p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;"><b>par</b> Block1</p>',new mxGeometry(0,0,300,170),"html=1;shape=mxgraph.sysml.package;labelX=120;align=left;spacingLeft=10;overflow=fill;whiteSpace=wrap;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var c=new mxCell("C1: Constraint",new mxGeometry(130, +50,150,100),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shape=mxgraph.sysml.paramDgm;fontStyle=1;whiteSpace=wrap;align=center;");c.vertex=!0;a.insert(c);var f=new mxCell("x:",new mxGeometry(0,25,0,0),"html=1;resizable=0;align=left;verticalAlign=middle;labelPosition=left;verticalLabelPosition=middle;labelBackgroundColor=none;fontSize=10;spacingLeft=22;fontStyle=1;");f.geometry.relative=!1;f.setConnectable(!1);f.vertex=!0;c.insert(f);f=new mxCell("y:",new mxGeometry(0,75,0,0), +"html=1;resizable=0;align=left;verticalAlign=middle;labelPosition=left;verticalLabelPosition=middle;labelBackgroundColor=none;fontSize=10;spacingLeft=22;fontStyle=1;");f.geometry.relative=!1;f.setConnectable(!1);f.vertex=!0;c.insert(f);var e=new mxCell("length: Real",new mxGeometry(30,65,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontSize=10;verticalLabelPosition=top;verticalAlign=bottom;");e.vertex=!0;a.insert(e);f=new mxCell("width: Real",new mxGeometry(30, +115,20,20),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;fontSize=10;verticalLabelPosition=top;verticalAlign=bottom;");f.vertex=!0;a.insert(f);var h=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=none;html=1;edgeStyle=none;exitY=0.25;exitX=0;entryY=0.5;entryX=1;");h.geometry.relative=!0;h.geometry.x=1;h.edge=!0;c.insertEdge(h,!0);e.insertEdge(h,!1);a.insert(h);e=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=none;html=1;edgeStyle=none;exitY=0.75;exitX=0;entryY=0.5;entryX=1;"); +e.geometry.relative=!0;e.geometry.x=1;e.edge=!0;c.insertEdge(e,!0);f.insertEdge(e,!1);a.insert(e);return b.createVertexTemplateFromCells([a],300,170,"Parametric Diagram")}),this.addDataEntry("sysml constraint block constraint property",150,100,"Constraint Property","7VTLbsIwEPwaX1FIinrOo+VCpap8gUkW26ofkW1Kwtd3nRgoDaituPYQyZ7dsXdmIpOsVN3S0pa/mAYkyZ5IVlpj/LhSXQlSkjQRDckqkqYJfiR9vlGdD9WkpRa0/w0hHQkfVO5gRMo5yfLSaOctFdrHE53vZWzgXuGYFbYVjtM2oKpjQcHM9U7JGd5OVcUUNmyN9utIDYQ9Fx7WLa0DsEcOYlQKpnFb48hgEYgjgfXQ3ZQ1QFHTEowCb3ts2YvG89ixGKUnHATjR1oSQepGgJ24Z5dwEY26blo2MQ3nzBF5Ayonfllw4kA3wzZBeV/8O0qXsMX5iiBZ1FTmEVaiaQKtkHQD8tU44YW50r/6Vr7kFbR+Z9bsdFMaadDgShsNx3DEYcgmDOYwF6HZaji8CvZO8hvF1UZrqH3UdPrHfoosvR5ZH6uL+4N5mATT/wdzbzCPfw8Gt+cnbKhdvHCf"), this.addDataEntry("sysml constraint block constraint property",150,120,"Constraint Property","3VTLboMwEPwaHxMRk0a9xtDmkkpR0x9wwAGrflDbSUi/vmswIPJQK/VS9YDwzu7Y3pkFFCeyXhlalS86ZwLFTyhOjNauXck6YUIgHPEcxSnCOIIH4ec72VmTjSpqmHI/IeCWcKTiwFoE4YUAKqkAtu4sWnjxcfBXIpKagisUL6Oq7sOJ0xVA8wZyrHYTKnjhqzK4BjOADjvAqghvKoFGxHWUaWWdoRx66PAxp4ua6p3x/Q3btmAHJDO4B/SS9HvOuhqg7S55gFWXWDk+AI+UwaWTYFsKxxBb0sqjsi68o1N7tlJMfTcb4yUi+sjMXugT1Ow5GBGTU8kd21Y087wTsPojoBS0vOtrAwVTV0xL5swZSk48d2WoeGi9j0rGi7KjhYGIqG2BoucOYwKLMCm3pya+mpq6FfmVUXElkGGWf9JdE0ZezkGwMCepYHuvrW+ZZ1QsAyx5nnsaEXTHxEZb7ri+Ub++SI95hGbvhdEHlSdaaJjGVGnlsxZk56pYN5ulXs4OevNupV6rmOy1ctvQzax3B0xVLHOhrf47+841fNu135gxvzLj/C/NePyDZkA4/Kub3OhX/gU=")]; this.addPalette("sysmlConstraint Blocks","SysML / Constraint Blocks",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<e.length;b++)a.appendChild(e[b](a))}))};Sidebar.prototype.addSysMLActivitiesPalette=function(a){var b=this,e=[this.createVertexTemplateEntry("shape=rect;html=1;rounded=1;whiteSpace=wrap;align=center;",160,80,"Action","Action",null,null,this.getTagsForStencil("","","sysml activity action").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.callBehAct;whiteSpace=wrap;align=center;", 160,80,"action name:\nbehavior name","Call Behavior Action",null,null,this.getTagsForStencil("","callBehAct","sysml activity call behavior action").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.accEvent;strokeWidth=2;whiteSpace=wrap;align=center;",100,60,"Event","Accept Event Action",null,null,this.getTagsForStencil("","accEvent","sysml activity accept event action").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.timeEvent;strokeWidth=2;verticalLabelPosition=bottom;verticalAlignment=top;", @@ -7248,53 +7240,53 @@ this.addPalette("sysmlConstraint Blocks","SysML / Constraint Blocks",a||!1,mxUti "Control Operator",null,null,this.getTagsForStencil("","","sysml activity control operator").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.package;align=left;spacingLeft=5;verticalAlign=top;spacingTop=-3;labelX=135;html=1;overflow=fill;",250,120,'<p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;"><b>act</b> [ControlOperator]</p>',"Control Operator",null,null,this.getTagsForStencil("","package","sysml activity control operator").join(" ")),this.addDataEntry("sysml activity decision node", 200,80,"Decision Node","7ZXJboMwEIafxneWpOo1kDSXVoqUJzBhBFaNB5kh29PXYIclTVS6ST30gDTzz+JhPpBZGBfHteZl/oIpSBauWBhrRLJWcYxBShZ4ImXhkgWBZx4WPN2J+m3UK7kGRVMKAluw57IGq1ihopN0QpXzsjF1jkVSVyyMcirMoEvfmHvQJHZcPvME5AYrQQKViSVIhMUgYSFFpgo7FWFpIu5kE4fj3elbyY2+BiyA9MmkuIJH+3Leyboz5x5ESvlYykFkOY01Xlk/6/r2izKG29XtvYUf7w3SDLbOBZngYdULwxW2MWPnqMUZFXETiHizrmbpduzxGof7BZUutG4bKFRNa421SqGZ0zOebMBEfPeatXqMEnWfWxHXdKnHEtRF24pzM7cfdKCa1xlhqrDWOxh9RhPIaZCcxH7c6hYJV7pBYTp2xH3vCp4ZNgNyWVf8umMnIZ29RzqPsprrlM2X36Z7ATiRpWPxGZam+q9SC7zxj/rwaxDntyCCrOCf4VcZ/jQz4/b3m00fXn9v"), this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.flowFinal;strokeWidth=2;verticalLabelPosition=bottom;verticalAlignment=top;",40,40,"","Flow Final",null,null,this.getTagsForStencil("","flowFinal","sysml activity flow final").join(" ")),this.addDataEntry("sysml activity fork node",200,80,"Fork Node","7ZZNb4JAEIZ/DXdYrPZq0XppExMPPa8yhU2XHbKMn7++Czt+QDQ1RpMeJCHZfeeD2feBhCBOis3EyjL/xBR0EI+DOLGI5FfFJgGtAxGqNIhHgRChuwPxfiEaNdGwlBYMXVMgfMFK6iV4xQsVbTULVS7Lemlh4Vq+5VS4KUeRW34rrRPUaJvEOGwup6/AklpI/SHnoKdYKVJoXM4cibA4SRhqlZnCj0pYugiP4+KwuXikRuLzTAALILt1KVzQ9ycO1yql3Es9r+Sgspx7vHKWrPw+O/Q5uuUWbNh58+K/zYM0gxlvQc9xPT4Kp1Y2MbfO0aodGpK6Fk06tLbRDZq6wuLSpFA/vva5Imlpn4ElmEaz+ANffPZ4nzVTu3qESBw8ridrOVzh0i6g9VpcYboFLUmt2q3OmcqlU1Suowi3TKaDwc2aAXFSh8ThqVfB6d0fzv61baNh47touhhcxb+DwF+MCJkCQ4keBuXlCeVWKPHDoPSfUG6F8vIwKIMnlFuhDO4FxW2Pf2I+/fRH7Rc="), -this.createVertexTemplateEntry("shape=ellipse;html=1;illColor=#000000;strokeWidth=2;verticalLabelPosition=bottom;verticalAlignment=top;perimeter=ellipsePerimeter;",40,40,"","Initial Node",null,null,this.getTagsForStencil("","","sysml activity initial node").join(" ")),this.addDataEntry("sysml activity join node",200,80,"Join Node","7ZZNb8IwDIZ/Ta6oNBvsugLjskmTdtg5tKbNltZVahjs189NMigfk5AAaQcqVXLs1076PjlUyFG5mlpVFy+YgRFyIuTIIpKPytUIjBFxpDMhxyKOI35F/PRHte+qUa0sVHRKQ+wblsoswGfEMPlAXTU1pJzo9XpiOPaihtYmiJpC1W1oIeVtkoJKPvm4z+FcGzNCg9YJZeQezi/Bkk6VeVYzMK/YaNJYsWaGRFiywLSFRKWfucVFlXVmzN3TmfFodN72EtacDV/ANVj96YJLBQumgCWQXbPkt0EOfMuXzqjwuTufKUDnRRjy4L2MVOPX+WbQ1mEOgsnHDZeHhu+bC1kOb2EJZoZfk22ia7WrcVyg1d9YkeJC4syDdrPWdaiyR2udCmtgz5KGLH7Ce/hO6TVv+rvdrB9v7GzPsGNmgwubws6lOcFfC0aRXu6OOmZfaH3lm0dbLnEUHF8HJnsASNkcKDTtMdic4iQsd5fH8ntbnenK0h6IDpoKKzhAdwjKTfl3qAKa/tXQ3N/QnIdGXg3N4IbmPDT3V0MzvKE5D83wUmh4uf2f8/Lu794P"), +this.createVertexTemplateEntry("shape=ellipse;html=1;fillColor=#000000;strokeWidth=2;verticalLabelPosition=bottom;verticalAlignment=top;perimeter=ellipsePerimeter;",40,40,"","Initial Node",null,null,this.getTagsForStencil("","","sysml activity initial node").join(" ")),this.addDataEntry("sysml activity join node",200,80,"Join Node","7ZZNb8IwDIZ/Ta6oNBvsugLjskmTdtg5tKbNltZVahjs189NMigfk5AAaQcqVXLs1076PjlUyFG5mlpVFy+YgRFyIuTIIpKPytUIjBFxpDMhxyKOI35F/PRHte+qUa0sVHRKQ+wblsoswGfEMPlAXTU1pJzo9XpiOPaihtYmiJpC1W1oIeVtkoJKPvm4z+FcGzNCg9YJZeQezi/Bkk6VeVYzMK/YaNJYsWaGRFiywLSFRKWfucVFlXVmzN3TmfFodN72EtacDV/ANVj96YJLBQumgCWQXbPkt0EOfMuXzqjwuTufKUDnRRjy4L2MVOPX+WbQ1mEOgsnHDZeHhu+bC1kOb2EJZoZfk22ia7WrcVyg1d9YkeJC4syDdrPWdaiyR2udCmtgz5KGLH7Ce/hO6TVv+rvdrB9v7GzPsGNmgwubws6lOcFfC0aRXu6OOmZfaH3lm0dbLnEUHF8HJnsASNkcKDTtMdic4iQsd5fH8ntbnenK0h6IDpoKKzhAdwjKTfl3qAKa/tXQ3N/QnIdGXg3N4IbmPDT3V0MzvKE5D83wUmh4uf2f8/Lu794P"), this.addDataEntry("sysml activity is control",300,60,"Is Control","zVTLboMwEPwaXyMCbaMeA0lzqlQpl/bowApbMjYymwD5+q7BQEgTKYdW6gFpd/bh8Qwyi5Ki2VleineTgWLRlkWJNQb7qGgSUIqFgcxYtGFhGNDHwrc71WVXDUpuQeMjA2E/cOLqCD2yTlEa3cMVtsrDAgsit1myKK4ELx1aNLnjvajaqlALWSVGozXUFddCIuxLnrq2mpoI40rmmtKUmIElwJ8MFqG5y76DPPUdmALQttTiB177ywW1zFD4AX/hQIDMhd/y4jFe9Xk+bpqkocCrc1up6IdSbBWn/sqrzQ/BIMth71NQB1NvJyC+ULOrUSyMlWdax52AFXKLa2u7iimBhIutOeoMHJvAjelsqGuj3U6npEy5WnuhDwbRFK61kfg5jFH85eLF83DMXp4dx2U4euKozxypzNGmMPtjHjDJguIoT/NVtyzwox9G0sYwaL3gV6YR1xzQN135Np76kJVPf2zl4MTcpps23jeN2LSjay6ZbKOl/860ZjDNu/bbJlI6vYp9++Wj+Q0="), this.addDataEntry("sysml activity is stream",300,60,"Is Stream","zVTLboMwEPwaXyMCbaMeA0lzqlQpl/bowAos2RjZmwD5+q7BQEgTKYdW6gFpd/bhYQbMokQ1O8Or4l1nIFm0ZVFitMY+Uk0CUrIwEBmLNiwMA3pY+HanuuyqQcUNlPjIQNgPnLg8Qo+sUxS67GGLrfRwgYrIbZYsim3BK4eqJne8F7a1Si6ETXSJRlNXXBcCYV/x1LXV1EQYlyIvKU2JGRgC/MlgEJq77DvIU9+BVoCmpRY/8Nq/XFCLDAs/4F84KEDkhd/y4jFu+zwfN03SUODVua1U9EMptootGuCKrTY/9IIsh71PQR50vZ2A+ELMrkZxoY04k4Dc6WeRG1wb01V0BaRbbPSxzMCRCdxYmQ31UpdupxNSpFyuvc4HjaiVa20Efg5jFH+5ePE8HLMXZ8dxGY6WOOozQ6w+mhRmH8wDHhmQHMVpvuqWA370QwvaGAat1/vKM+KaA/qmK9vGUx9y8ulvnRyMmLt008X7ntGf1I6muWRyjZb+O8+awTNv2m97SOl0J/btl1fmNw=="), this.addDataEntry("sysml activity is stream",300,60,"Is Stream","zVTJboMwEP0aXyMCbaUes58qVeKSHl0YYUtekJkEyNd3DCaQTcohhx6QZt4sfn7PgiUr3ewcL8WXzUGxZMOSlbMW+0g3K1CKxZHMWbJmcRzRx+Ltg+q8q0Yld2DwmYG4HzhydYAeWWQorenhClsVYIGayK3nLFlWgpce1U3hec+qttJqJqsUHXBNDbWQCGnJM99VUw9hXMnCUJoRMXAEhIPBITQPyXdQYL4DqwFdSy1h4LO/W1TLHEUYCPeNBMhChC0fAeNVnxfnTaMyFARx7guV3Ah1IxHkBaQhBfVr680ILCf6dTWKhXXyZA1y5UVF7nDhXFexJZBWS2cPJgdPIPJjJh/qxhq/ExqJ+6FK8Y+PZ+/DtlSePJV5fFbbM7zQurIHl8HFU3hCfgeKozxerronbhj9tpI2xlEbpLyyg7gWgKHpypHzqU+Z9PZ6k/wDlVln0cSABwYR0f00GQ2h2X9nRzPYEfx4tT2Ujj+yvn36n/sD"), -this.addEntry("sysml activity is stream",function(){var a=new mxCell("act",new mxGeometry(0,0,200,100),"html=1;shape=mxgraph.sysml.isActStream;align=left;spacingLeft=5;verticalAlign=top;spacingTop=-3;");a.vertex=!0;var d=new mxCell("{stream}",new mxGeometry(200,50,0,0),"resizable=0;html=1;align=left;verticalAlign=top;labelPosition=left;verticalLabelPosition=middle;labelBackgroundColor=none;fontSize=10;spacingTop=5;");d.geometry.relative=!1;d.setConnectable(!1);d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a], +this.addEntry("sysml activity is stream",function(){var a=new mxCell("act",new mxGeometry(0,0,200,100),"html=1;shape=mxgraph.sysml.isActStream;align=left;spacingLeft=5;verticalAlign=top;spacingTop=-3;");a.vertex=!0;var c=new mxCell("{stream}",new mxGeometry(200,50,0,0),"resizable=0;html=1;align=left;verticalAlign=top;labelPosition=left;verticalLabelPosition=middle;labelBackgroundColor=none;fontSize=10;spacingTop=5;");c.geometry.relative=!1;c.setConnectable(!1);c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a], 250,100,"Is Stream")}),this.addDataEntry("sysml activity local pre precondition post postcondition",150,180,"Local Pre- and Postconditions","5ZVNb4MwDIZ/Te6QtL33a71s0qQeds7Ag2ghQcEtbX/9HEhbEEWqtHWatAPCfp03kCeGMLEsDhsny/zFpqCZWDOxdNZiGxWHJWjNeKRSJlaM84guxp9GqnFTjUrpwOA9Bt4a9lLvoFW0TaR+dZBYkypU1jA+Y1zEERML0ip0UtHcja3Cow62KpelD41Fui1yLGgtq5jCSp18IZ76GJ39hDeVYk4SJ0VqlRmKNXygH1DKRJnsuclW3lLnCmFLsp+kJlAdU0KrBEdCWAU4hMMoiUYKGDZgC0B3pCF1eBs/ItCKclBZHmyToMmqzbOL9cqVgoD2NmYxwDxPWrYjGIk/9jE6uzMppGeoA5AP53Q2BBzHNp1N27RLMbpBcfoDFCcjzWor/DfdGgy8vwvxuUm72yAe1MzTwTYM+EKawTakoN9tvb4KXdpNjeLcOnWyBqXudbrfRTDp3LlmlLEGLvj8I3rwKrtzCfR+ayhdBtj7BO9A7EBLVPv+7N8BNvv7wMQQ2OTXgFF6PfGaWu9A/AI="), this.addDataEntry("sysml activity merge node",200,80,"Merge Node","7ZXPboMwDMafJncInbRrS7teNqlSnyAUC6KFGAXTf0+/hKQUunbrpE7aYQck53PsON8PKSxJq/3SiLp8wxwUSxYsSQ0i+ajap6AU45HMWTJnnEf2Y/zlRjbuslEtDGi6p4D7gq1QLXjFCw0dVBCaUtQuNCVWWduwZFZSZQedxzbcgiG5EepVZKBW2EiSqG2OsB5kp0oWuvIjZUiElU2Gk+0W2N+cvpPC6EvACsgc7JZQ8OwvF+1kTqWXJkEqQRYljTXR+HXRNzo7Y4NgznWjku+NgryAdViCynC3OAtDz7qcjUs08oiahE3MhLPIuezHHls3tM1gq3NwU0V2pZzvM7F5Lzo9RYXGpjRqdyjofGpMdxjWoL2ylkc3Ycx7Bm7wEYEGW7OB0R9yBxQDSpDcjltd8zyUrlDajj3MOAqYDmO4pw4kTAEUii7A9VPcxXLyeJYnXF+Ra+wN6DOPkxKY/YRv1/Gv8uQXPPmv8Xz65/mbPB/Nzy7PD5zfPnz/PgA="), this.addDataEntry("sysml activity no buffer",300,60,"No Buffer","zZTBboMwDIafJteKwlZpx9JuPU2a1Mt2TMGFSCFGwW2hTz8HApSulXrYoQck+4/t2P4AEa2KemNlmX9iClpE7yJaWUTqrKJegdYiDFQqorUIw4AfEX7cOZ23p0EpLRh6JCHsEo5SH6BTlgkpNJ1cUaO9nFPBza3nIoqrXJZOLerM9T2rmqrQM1Wt0JBFjopPuSLYljJxYScOYk1qlRl2E+4MLAv+ZrAE9d3uW8m3vgEsgGzDIT7hrRsuOKmUcp/gBw5yUFnuqyy8JqvOz4ZK42rY8Nu5vanoz6ZEuJCFG01TO86lZzA+7Pc8Z69mkxjvXe0Y0gy23gW9w9P7KMQXANoztnO06sxLl27nFUlLS2vbEyyBdx1bPJgU3ACBSzNpf27QuJpu+SqReunZ7JAICxdaK/ru09j+cfbstb9mq86ux3k4TOFan0Cs8GATmLxkD3C1oCWp47TULWo+9QsVVwyDxjO64sy9ZkA+6Ar1cOtD9F+ej34Pb0r2Jvn7nPmLbQbQzhlJc9Gn41z3nD3o/+bO7vjv7cIvf82/"), -this.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",160,80,"object node name:\n type name\n[state, state ...]","Object Node",null,null,this.getTagsForStencil("","","sysml activity object node").join(" ")),this.addEntry("sysml activity object node",function(){var a=new mxCell("Action",new mxGeometry(0,0,120,60),"html=1;shape=mxgraph.sysml.isControl;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("pin name: type name\n[state, state ...]",new mxGeometry(0,30, -0,0),"resizable=0;html=1;align=right;verticalAlign=middle;labelPosition=left;verticalLabelPosition=middle;labelBackgroundColor=none;spacingRight=5;");d.geometry.relative=!1;d.setConnectable(!1);d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Object Node")}),this.addDataEntry("sysml activity optional",300,60,"Optional","zZTBboMwDIafJteKwlZpx9J2PU2a1Mt2TMGCSAlGwS3Qp58DAUrXSj3ssAOS/cd2bH+AiDam2VtZ5h+YghbRTkQbi0i9ZZoNaC3CQKUi2oowDPgR4fuD02V3GpTSQkHPJIR9wlnqE/TKOiGFRS9X1Gov52S4ue1SRHGVy9Kppslc34uqrYxeqGqDBVnkqLjOFcGhlIkLqzmINalVVrCbcGdgWfA3gyVoHnbfSb71PaABsi2H+IS3frigVinlPsEPHOSgstxXWXlNVr2fjZWm1bDht3N/U9GvTYlwJY0bTVM3zrWHpdui1KOazWK8d7NjSDM4eBf0EevdJMRXALoztnO06sJLl27nFUlLa2u7EyyBdx1bPBUpuAECl1akw3mBhavplq8SqdeezRGJ0LjQRtHXkMb2t7MXr8M1B3VxPS7DcQrX+gxihSebwOwle4KrBS1Jneel7lHzqZ+ouGIYtJ7RDWfuNQPyQTeox1ufov/y/+gP8OZk75J/zJm/2HYE7ZyJNBf9d5ybgbMH/dfc2Z3+vX349a/5Bw=="), -this.addEntry("sysml activity optional",function(){var a=new mxCell("act",new mxGeometry(0,0,200,100),"html=1;shape=mxgraph.sysml.isActStream;align=left;spacingLeft=5;verticalAlign=top;spacingTop=-3;fontStyle=1;");a.vertex=!0;var d=new mxCell("<<optional>>",new mxGeometry(200,50,0,0),"resizable=0;html=1;align=left;verticalAlign=top;labelPosition=left;verticalLabelPosition=middle;labelBackgroundColor=none;fontSize=10;spacingTop=5;");d.geometry.relative=!1;d.setConnectable(!1);d.vertex= -!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Optional")}),this.addDataEntry("sysml activity overwrite",300,60,"Overwrite","zZTBboMwDIafJteKwlZpx9J2PU2a1Mt2TMGCSCFGwS3Qp58DAUrXSj3ssAOS/cd2bH+AiDZFs7eyzD8wBS2inYg2FpF6q2g2oLUIA5WKaCvCMOBHhO8PTpfdaVBKC4aeSQj7hLPUJ+iVdUIKTS9X1Gov51Rwc9uliOIql6VTiyZzfS+qtir0QlUbNGSRo+I6VwSHUiYurOYg1qRWmWE34c7AsuBvBkvQPOy+k3zre8ACyLYc4hPe+uGCWqWU+wQ/cJCDynJfZeU1WfV+NlaaVsOG3879TUW/NiXClSzcaJq6ca495Llqy1sY5WwW5L2bJUOawcG7oI9Y7yYhviLQnbGdo1UX3rp0S69IWlpb251gCbzs2OLJpOAmCFyaSYdzg8bVdNtXidRrD+eIRFi40EbR15DG9rezF6/DNQd1cT0uw3EK1/qMYoUnm8DsLXsCrAUtSZ3npe5h86mfqLhiGLQe0g1o7jUD8kE3rMdbn8L/8g/xD/TmaO+ifwyav9l2JO2cCTUX/XegmwG0J/3X4Nmd/r59+PXP+Qc="), +this.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",160,80,"object node name:\n type name\n[state, state ...]","Object Node",null,null,this.getTagsForStencil("","","sysml activity object node").join(" ")),this.addEntry("sysml activity object node",function(){var a=new mxCell("Action",new mxGeometry(0,0,120,60),"html=1;shape=mxgraph.sysml.isControl;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("pin name: type name\n[state, state ...]",new mxGeometry(0,30, +0,0),"resizable=0;html=1;align=right;verticalAlign=middle;labelPosition=left;verticalLabelPosition=middle;labelBackgroundColor=none;spacingRight=5;");c.geometry.relative=!1;c.setConnectable(!1);c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Object Node")}),this.addDataEntry("sysml activity optional",300,60,"Optional","zZTBboMwDIafJteKwlZpx9J2PU2a1Mt2TMGCSAlGwS3Qp58DAUrXSj3ssAOS/cd2bH+AiDam2VtZ5h+YghbRTkQbi0i9ZZoNaC3CQKUi2oowDPgR4fuD02V3GpTSQkHPJIR9wlnqE/TKOiGFRS9X1Gov52S4ue1SRHGVy9Kppslc34uqrYxeqGqDBVnkqLjOFcGhlIkLqzmINalVVrCbcGdgWfA3gyVoHnbfSb71PaABsi2H+IS3frigVinlPsEPHOSgstxXWXlNVr2fjZWm1bDht3N/U9GvTYlwJY0bTVM3zrWHpdui1KOazWK8d7NjSDM4eBf0EevdJMRXALoztnO06sJLl27nFUlLa2u7EyyBdx1bPBUpuAECl1akw3mBhavplq8SqdeezRGJ0LjQRtHXkMb2t7MXr8M1B3VxPS7DcQrX+gxihSebwOwle4KrBS1Jneel7lHzqZ+ouGIYtJ7RDWfuNQPyQTeox1ufov/y/+gP8OZk75J/zJm/2HYE7ZyJNBf9d5ybgbMH/dfc2Z3+vX349a/5Bw=="), +this.addEntry("sysml activity optional",function(){var a=new mxCell("act",new mxGeometry(0,0,200,100),"html=1;shape=mxgraph.sysml.isActStream;align=left;spacingLeft=5;verticalAlign=top;spacingTop=-3;fontStyle=1;");a.vertex=!0;var c=new mxCell("<<optional>>",new mxGeometry(200,50,0,0),"resizable=0;html=1;align=left;verticalAlign=top;labelPosition=left;verticalLabelPosition=middle;labelBackgroundColor=none;fontSize=10;spacingTop=5;");c.geometry.relative=!1;c.setConnectable(!1);c.vertex= +!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Optional")}),this.addDataEntry("sysml activity overwrite",300,60,"Overwrite","zZTBboMwDIafJteKwlZpx9J2PU2a1Mt2TMGCSCFGwS3Qp58DAUrXSj3ssAOS/cd2bH+AiDZFs7eyzD8wBS2inYg2FpF6q2g2oLUIA5WKaCvCMOBHhO8PTpfdaVBKC4aeSQj7hLPUJ+iVdUIKTS9X1Gov51Rwc9uliOIql6VTiyZzfS+qtir0QlUbNGSRo+I6VwSHUiYurOYg1qRWmWE34c7AsuBvBkvQPOy+k3zre8ACyLYc4hPe+uGCWqWU+wQ/cJCDynJfZeU1WfV+NlaaVsOG3879TUW/NiXClSzcaJq6ca495Llqy1sY5WwW5L2bJUOawcG7oI9Y7yYhviLQnbGdo1UX3rp0S69IWlpb251gCbzs2OLJpOAmCFyaSYdzg8bVdNtXidRrD+eIRFi40EbR15DG9rezF6/DNQd1cT0uw3EK1/qMYoUnm8DsLXsCrAUtSZ3npe5h86mfqLhiGLQe0g1o7jUD8kE3rMdbn8L/8g/xD/TmaO+ifwyav9l2JO2cCTUX/XegmwG0J/3X4Nmd/r59+PXP+Qc="), this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.paramSet;whiteSpace=wrap;align=center;",160,100,"Action","Parameter Set",null,null,this.getTagsForStencil("","paramSet","sysml activity parameter set").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.paramActSet;align=left;spacingLeft=15;verticalAlign=top;spacingTop=-3;fontStyle=1;",250,120,"act","Parameter Set",null,null,this.getTagsForStencil("","paramActSet","sysml activity parameter set").join(" ")),this.addDataEntry("sysml activity probability", 120,160,"Probability","zVTLboMwEPwaXyNi2uQcoM2llSqlP2DMBqwaG9lOA/n6rsEhb7WRqqoHJO/sjj2eQSZxWrdLw5rqVRcgSfxE4tRo7YZV3aYgJaGRKEicEUoj/Ah9vtGd9t2oYQaU+wmBDoRPJjcwIAvuhFYDbF0nA1y5GsVlUxIntmKNR+u29LontrO1nDRG5ywXUrgOZ7aVcLBqGPeDWxxDjElRKiw5agODQDgbjIP2pv4eCuKXoGtwpsORrShcFSbCHaMKRFntabMAMjsA5cg92IGL4Mh1d+ILd8g88fqO7oqH+86M0HiKy6QfXjXAxVpwNngZkXl24agBK3Ys70tPPHJ475SEtfNbokO4l1wEONfO6RobkuUg37QV/TEX8y9n7VNewvhHafRGFamWGvPIlFYoJllr5VZi53X1N7IYo1BlEtgZfRyz41op4C7cYvzbvsuUXs+0PcuzG+qHX0jy4X8m6XRzf4xHpHszfPfUPw9wrO9IEMvDK9j3Th7JLw=="), this.addDataEntry("sysml activity probability",120,160,"Probability","zVRdb4MgFP01PK6x0I/nqVtfuqRJ9wdQqZIh1yDttL9+gFRb22Zrsix7MOGec0+4nCMgEpXNStGqeIOMCUReEIkUgO5WZRMxIRAOeIZIjDAOzIfw6x126tigoopJ/RMB7gQHKvasQ2iqO6zWrfBYoUszWTxFJKwLWlm0bHI79KRu61JMjGijIDE8FTyXhhdsp217RVMu87Wr4rlBDkxpnlLx7Bs1VEPfuy3iJ2KQHUi99SPYjf2gRs2au4d1kD/pikHJtGpNyyfPdOE7vCFBwXhenGQLD9K6A/JeO3hnFt6+21aSKyvRMrTzGWNowgXXdhTHLBAm08CaYZu3FUv5zniiOUjbsoyvElCs5keauNIKzxIZOT72NwGtoTSEoAkTG6i52+aqfz2iL3UhTT9yBXuZRSBAGV6CZKeY+NGlFAxBhl4d43mfXQpSslT7U/S/5neZ4tuZNqM8266e/UKSs/+ZZHdTHozxTPRoht1l/OsA+/qBBE05PJmOu3hRvwA="), this.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",120,60,"<<continuous>>\nObject Node","Rate",null,null,this.getTagsForStencil("","","sysml activity rate").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",120,60,"<<discrete>>\nObject Node","Rate",null,null,this.getTagsForStencil("","","sysml activity rate").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",140, 120,"{ rate = constant }\n{ rate = distribution }\n<<continuous>>\n<<discrete>>\nObject Node","Rate",null,null,this.getTagsForStencil("","","sysml activity rate").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;",140,80,'<p style="margin:0px;margin-top:4px;text-align:center;">Object Node</p><hr/><p style="margin:0px;margin-top:4px;text-align:center;"><<rate>><br/>rate = constant<br/>rate = distribution</p>',"Rate",null, -null,this.getTagsForStencil("","","sysml activity rate").join(" ")),this.addEntry("sysml activity rate",function(){var a=new mxCell("act",new mxGeometry(0,0,200,100),"html=1;shape=mxgraph.sysml.isActStream;align=left;spacingLeft=5;verticalAlign=top;spacingTop=-3;fontStyle=1;");a.vertex=!0;var d=new mxCell("{ rate = constant }\n{ rate = distributuion}\n<<continuous>>\n<<discrete>>",new mxGeometry(200,50,0,0),"resizable=0;html=1;align=left;verticalAlign=top;labelPosition=left;verticalLabelPosition=middle;labelBackgroundColor=none;fontSize=10;spacingTop=5;"); -d.geometry.relative=!1;d.setConnectable(!1);d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Rate")}),this.addDataEntry("sysml activity rate",300,60,"Rate","7ZVNj5swEIZ/ja8RgTarHgO73dNKK+XSHh0YgbXGg+xhA/vrOwZDlnxUqOqhhx5QPK/H43dGD0EkWd09W9lUL1iAFsmTSDKLSOOq7jLQWsSRKkTyKOI44kfE3+/sbofdqJEWDK05EI8H3qVuYVT2OSk0o+yo10GuqGZzj1uRpK6SjVfrrvS+N653td4ol6Ehi5yVnipFcGhk7tNOnMSa1Ko0HObsDCwL4WawBN1d94MUrD8D1kC255Rw4NvYXHRSBVXhQGg4qkCVVaiyC5p0Y1zOlc6j4UWYzu1JJVeTEg/cQ2QlAf8MUpSjcSTZPAsPLOxEnGwj3+x1bqEcWXVsqfXzXmbHO1n7oWm6ivgKUqbF1s16uciaojXF2ENuwZv6XakLFKAo4RBC0Ec8PZ2F9BMnwx6vK7Tqg11LjwaPx9Le2mEHG2AkUoutKcDP2fsFU0z7Bo2v6RlRudT7gBChNwedoh/TGV7/9OvNV9+aPIJOZf5WDpUz1GjP1QYHB/Xh7W/juUHf1QJDh63NYfGarCDTgpak3pelbnEXjr6iGnDpA2UXpLLXEigkXcA637qK3y//+f1Dfif8lmzeZPcOqfy/2M+o+mAtq3zfP0dqN5EaUP3b5HJ4/v6N6Z8/j78A"), -this.addEntry("sysml activity control flow",function(){var a=new mxCell("",new mxGeometry(0,0,60,40),"shape=rect;html=1;rounded=1;whiteSpace=wrap;");a.vertex=!0;var d=new mxCell("",new mxGeometry(100,0,60,40),"shape=rect;html=1;rounded=1;whiteSpace=wrap;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;html=1;elbow=horizontal;endArrow=open;labelBackgroundColor=none;endSize=12;");f.geometry.relative=!0;f.edge=!0;a.insertEdge(f,!0);d.insertEdge(f,!1);return b.createVertexTemplateFromCells([a, -d,f],160,60,"Control Flow")}),this.addDataEntry("sysml activity control flow",160,60,"Control Flow","zVNNb4MwDP01ufNR7d7Srqed+AUpsUi0ECMTCu2vnyEZDGnVusu0QyT72c/4PRKRF814JtnqN1RgRX4SeUGIPkTNWIC1IkuMEvlRZFnCR2SvD6rpXE1aSeD8M4QsEK7S9hCQAHT+ZiPQadlOIUHFIw/aN7zlMeWQsHcKVMwGbTyUraym5oEVMRanA3kYH244Q3G9M2ADnm7cMhjldeh4CSISDabWkbWLmOxCXi/MVS4HUfH36vP/q/6TkESZf+DG7mc3QNVQxhTsBYfTCnz1Zq5xrJHMHZ2XdgKd2hPNOLbgGLHyAvYgq/d6NrNAi8RVh26ap2SnF3+ZXJr79N00W6yd1tkY22FPFWyutpdUg9/87yfsJ7DSm+t2+i/M5XR9xHNt88Y/AA=="),this.addDataEntry("sysml activity object flow", +null,this.getTagsForStencil("","","sysml activity rate").join(" ")),this.addEntry("sysml activity rate",function(){var a=new mxCell("act",new mxGeometry(0,0,200,100),"html=1;shape=mxgraph.sysml.isActStream;align=left;spacingLeft=5;verticalAlign=top;spacingTop=-3;fontStyle=1;");a.vertex=!0;var c=new mxCell("{ rate = constant }\n{ rate = distributuion}\n<<continuous>>\n<<discrete>>",new mxGeometry(200,50,0,0),"resizable=0;html=1;align=left;verticalAlign=top;labelPosition=left;verticalLabelPosition=middle;labelBackgroundColor=none;fontSize=10;spacingTop=5;"); +c.geometry.relative=!1;c.setConnectable(!1);c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Rate")}),this.addDataEntry("sysml activity rate",300,60,"Rate","7ZVNj5swEIZ/ja8RgTarHgO73dNKK+XSHh0YgbXGg+xhA/vrOwZDlnxUqOqhhx5QPK/H43dGD0EkWd09W9lUL1iAFsmTSDKLSOOq7jLQWsSRKkTyKOI44kfE3+/sbofdqJEWDK05EI8H3qVuYVT2OSk0o+yo10GuqGZzj1uRpK6SjVfrrvS+N653td4ol6Ehi5yVnipFcGhk7tNOnMSa1Ko0HObsDCwL4WawBN1d94MUrD8D1kC255Rw4NvYXHRSBVXhQGg4qkCVVaiyC5p0Y1zOlc6j4UWYzu1JJVeTEg/cQ2QlAf8MUpSjcSTZPAsPLOxEnGwj3+x1bqEcWXVsqfXzXmbHO1n7oWm6ivgKUqbF1s16uciaojXF2ENuwZv6XakLFKAo4RBC0Ec8PZ2F9BMnwx6vK7Tqg11LjwaPx9Le2mEHG2AkUoutKcDP2fsFU0z7Bo2v6RlRudT7gBChNwedoh/TGV7/9OvNV9+aPIJOZf5WDpUz1GjP1QYHB/Xh7W/juUHf1QJDh63NYfGarCDTgpak3pelbnEXjr6iGnDpA2UXpLLXEigkXcA637qK3y//+f1Dfif8lmzeZPcOqfy/2M+o+mAtq3zfP0dqN5EaUP3b5HJ4/v6N6Z8/j78A"), +this.addEntry("sysml activity control flow",function(){var a=new mxCell("",new mxGeometry(0,0,60,40),"shape=rect;html=1;rounded=1;whiteSpace=wrap;");a.vertex=!0;var c=new mxCell("",new mxGeometry(100,0,60,40),"shape=rect;html=1;rounded=1;whiteSpace=wrap;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;html=1;elbow=horizontal;endArrow=open;labelBackgroundColor=none;endSize=12;");f.geometry.relative=!0;f.edge=!0;a.insertEdge(f,!0);c.insertEdge(f,!1);return b.createVertexTemplateFromCells([a, +c,f],160,60,"Control Flow")}),this.addDataEntry("sysml activity control flow",160,60,"Control Flow","zVNNb4MwDP01ufNR7d7Srqed+AUpsUi0ECMTCu2vnyEZDGnVusu0QyT72c/4PRKRF814JtnqN1RgRX4SeUGIPkTNWIC1IkuMEvlRZFnCR2SvD6rpXE1aSeD8M4QsEK7S9hCQAHT+ZiPQadlOIUHFIw/aN7zlMeWQsHcKVMwGbTyUraym5oEVMRanA3kYH244Q3G9M2ADnm7cMhjldeh4CSISDabWkbWLmOxCXi/MVS4HUfH36vP/q/6TkESZf+DG7mc3QNVQxhTsBYfTCnz1Zq5xrJHMHZ2XdgKd2hPNOLbgGLHyAvYgq/d6NrNAi8RVh26ap2SnF3+ZXJr79N00W6yd1tkY22FPFWyutpdUg9/87yfsJ7DSm+t2+i/M5XR9xHNt88Y/AA=="),this.addDataEntry("sysml activity object flow", 260,60,"Object Flow","3ZVNb8IwDIZ/Te4lZdxHYZw49bBzaKwmIo0rN1Dg189tM1g10JDQkLZDJft1X8d5+hGRZtVhRao2a9TgRLoUaUaIYYiqQwbOCZlYLdKFkDLhS8i3G9VJX01qReDDPQY5GPbK7WBQBqEJRxeFxqi6CwkKbjk3oeIpFxMOCXdeg45ZEwi38G51MKxIVlpjA+S1Kjp7y3tkLa4HFOBwc+ZeigOvACsIdORb2tibq7NhW4kBW5romkZNNUNenp0XABxEBtd5pI/w+H0Cn4YkbvUJRKZ/6Q2JBvlEPi8/8wFdQh5TcBtslxfhK62+xrFBsif0QblO9PqVqNexBs+KUxtwc1Vsyx5vhg6Jqx49XIXMHXJ76hafyDPfbqYR3QZ3VMDorxAUlRBGH8Ydz4DAqWD34+6PEJ79Q8Lpd8LTpxHm9HLC9LXRAfQB"),this.addEntry("sysml activity object flow", -function(){var a=new mxCell("",new mxGeometry(0,0,60,40),"html=1;shape=mxgraph.sysml.objFlowR;strokeWidth=2;whiteSpace=wrap;");a.vertex=!0;var d=new mxCell("",new mxGeometry(140,0,60,40),"html=1;shape=mxgraph.sysml.objFlowL;strokeWidth=2;whiteSpace=wrap;");d.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;html=1;elbow=horizontal;endArrow=open;labelBackgroundColor=none;strokeWidth=2;endSize=12;");f.geometry.relative=!0;f.edge=!0;a.insertEdge(f,!0);d.insertEdge(f,!1); -return b.createVertexTemplateFromCells([a,d,f],200,60,"Object Flow")}),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.objFlowR;whiteSpace=wrap;",120,60,"","Object Flow",null,null,this.getTagsForStencil("","objFlowR","sysml activity object flow").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.objFlowL;whiteSpace=wrap;",120,60,"","Object Flow",null,null,this.getTagsForStencil("","objFlowL","sysml activity object flow").join(" ")),this.addDataEntry("sysml activity probability", +function(){var a=new mxCell("",new mxGeometry(0,0,60,40),"html=1;shape=mxgraph.sysml.objFlowR;strokeWidth=2;whiteSpace=wrap;");a.vertex=!0;var c=new mxCell("",new mxGeometry(140,0,60,40),"html=1;shape=mxgraph.sysml.objFlowL;strokeWidth=2;whiteSpace=wrap;");c.vertex=!0;var f=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=elbowEdgeStyle;html=1;elbow=horizontal;endArrow=open;labelBackgroundColor=none;strokeWidth=2;endSize=12;");f.geometry.relative=!0;f.edge=!0;a.insertEdge(f,!0);c.insertEdge(f,!1); +return b.createVertexTemplateFromCells([a,c,f],200,60,"Object Flow")}),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.objFlowR;whiteSpace=wrap;",120,60,"","Object Flow",null,null,this.getTagsForStencil("","objFlowR","sysml activity object flow").join(" ")),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.objFlowL;whiteSpace=wrap;",120,60,"","Object Flow",null,null,this.getTagsForStencil("","objFlowL","sysml activity object flow").join(" ")),this.addDataEntry("sysml activity probability", 350,80,"Probability","7ZXbboMwDIafhnsKZb3uabvZpEp9ggAeiRZiFExPTz+H0FK2Vuu0TdvFLpCc3wdsf0EE8bzcPVhRySfMQQfxMojnFpG8Ve7moHUQhSoP4kUQRSE/QXR/xTtqvWElLBi6JSHyCRuhG/CKF2ra606opaicaSWWaVMH8UxSyY0uRmxupSJYVyJzEVseg7UNWFKZ0I8iBb3CWpFCw+4UibA8C5hqVZjSd0roUrtu2A+7qxO1UjfOA2AJZPccckxIEp+y9+exX0C4VTnJoSRBFZKGmqj9uTgV7rfHRrfAy8uMP14m5AWsuyPoFLfLXjjfa+tjW6JVBzQk2DETbl+OhG97uMfzBYPJp9a2BQwaV9piY3JwfYZ80o7MTGQvRavPUaPtY2sSlo75WIE5amt1cH2PohMpN86AU42NzWBwt25AZ0ELUpthqUskutQVKq7YI58kwxRutgDqot7wO732JqTj90gnMzeUxVSkSity/bceH7SuIFPPTKW99OyaLL58CY6cb0TeIfsMcs7+q3DjJBx8z3fhT7FO/ln/FuvvZsvH/h/qw89/sa8="), this.addDataEntry("sysml activity probability",250,60,"Probability","7VRNb4MwDP01uVYU1vVc6NrTpGlctmMAF7IFjEJaYL9+Dkk/aJlU7bTDkBD284t5PIewICq7reJ18YwZSBY8sSBSiNpGZReBlMz3RMaCNfN9j27mb36ozoeqV3MFlb5ngW8XHLjcg0VWqRZYWbjRvXRwoUsSt56zIGwKXhu07HKje9b0TSlnmHxsJLavRGgLoSGueWpYLXEI41LkFaUpCQNFgHsxKA3dj+IHyCnfApagVU+UVmS6cIxH+4FeASIv3LIjxhub56elZysocG5MOxPcOMOWoZGnMOGJkEIbJUPFkuIaUrETKbf+eWy5vnERshxil1ZY0SO8MPbGI+MONZQrV0hQayypAFW2UgpbwrCGyiKx+DJ9575JO6HfXFsTv1PszRaU7YSUEUpUg6JgN1yES56ADHn6mSvcV9mR4lTaLzHyR7NqcK9SGG2lO8Y3nrcCSZYdxo2nJucavaCg/qcu/uJq2JqrHLRjXc37JOKuLfDwB7eAxvp//pPz76f//V9vB0rP57ClXx7T3w=="), this.addDataEntry("sysml activity probability",250,60,"Probability","3VRNb4MwDP01XCcK23ou7dbTPiQu2zGAC9lCjIJb6H79HJK2o2ulqqdpSAj72THPfoYgntf90oimesICVBA/BPHcIJKz6n4OSgVRKIsgXgRRFPIdRI9nopMhGjbCgKZLDkTuwEaoNTjkJfuAnBh7Zj4u2tJW+WhbicaaxubESVdJgrQRucU67oIxoWSp2c2ZAhgG/CvAEPRnaQ6Q57gErIHMllM6WVDlM+5dK2EFsqz8sR0mWueX+6OHptnwfZ+eQfxrBsE0sfQMZiKTSpJlMkRcUtpALlcyFyRR29B08WtQUJSQelej5kdSUc0UFpNTM7LT4YJq5gMZEmHNAdDFzBjsGMMGtENS+WXrTiLr9pLefFlrv7Md3sTsraRSc1RoBkbxargYVyIDlYj8szS41sUuxbN0nVj6I61aXJscRktzgXxjvQ0oHtlmXPiUcr7QK0pNhyrR3ZHYJEwJ5LOO9N6TuGgFbv/gChA21+s//c/6b09/+1evA7uHP65L//lD/gY="), this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;verticalAlign=top;labelBackgroundColor=none;",160,0,"{ rate = constant }\n{rate = distribution}\n<<continuous>>\n<<discrete>>","Rate",null,null,this.getTagsForStencil("","","sysml activity rate").join(" ")),this.addEntry("sysml activity in block definition diagram activity association",function(){var a=new mxCell("bdd",new mxGeometry(0,0,330,250),"html=1;shape=mxgraph.sysml.package;labelX=45;align=left;spacingLeft=5;verticalAlign=top;spacingTop=-3;fontStyle=1;strokeWidth=1;recursiveResize=0;"); -a.vertex=!0;var d=new mxCell("<<activity>>\nactivity name",new mxGeometry(30,40,120,60),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;a.insert(d);var f=new mxCell("<<activity>>\nactivity name",new mxGeometry(30,160,120,60),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;whiteSpace=wrap;align=center;");f.vertex=!0;a.insert(f);var e=new mxCell("action\nname",new mxGeometry(0, -0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=none;html=1;edgeStyle=none;endFill=0;startArrow=diamondThin;startFill=1;startSize=12;align=left;verticalAlign=bottom;labelBackgroundColor=none;");e.geometry.relative=!0;e.geometry.x=1;e.edge=!0;d.insertEdge(e,!0);f.insertEdge(e,!1);a.insert(e);d=new mxCell("<<activity>>\nactivity name",new mxGeometry(180,40,120,60),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;whiteSpace=wrap;align=center;"); -d.vertex=!0;a.insert(d);f=new mxCell("<<block>>\nblock name",new mxGeometry(180,160,120,60),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;whiteSpace=wrap;align=center;");f.vertex=!0;a.insert(f);e=new mxCell("object\nnode\nname",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=none;html=1;edgeStyle=none;endFill=0;startFill=1;startSize=12;align=left;verticalAlign=bottom;labelBackgroundColor=none;");e.geometry.relative= -!0;e.geometry.x=1;e.edge=!0;d.insertEdge(e,!0);f.insertEdge(e,!1);a.insert(e);return b.createVertexTemplateFromCells([a],400,250,"In Block Definition Diagrams, Activity, Association")}),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.actPart;strokeWidth=3;verticalAlign=top;rotation=-90;whiteSpace=wrap;",100,100,"Partition Name","Activity Partition",null,null,this.getTagsForStencil("","actPart","sysml activity activity partition").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;rounded=1;strokeWidth=2;verticalAlign=top;whiteSpace=wrap;align=center;", -140,50,"(Partition Name)\nAction","Activity Partition",null,null,this.getTagsForStencil("","","sysml activity activity partition").join(" ")),this.addEntry("sysml activity interruptible activity region",function(){var a=new mxCell("region name",new mxGeometry(0,0,160,60),"shape=rect;html=1;rounded=1;verticalAlign=top;dashed=1;strokeWidth=2;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"shape=mxgraph.lean_mapping.electronic_info_flow_edge;html=1;edgeStyle=none;align=center;verticalAlign=bottom;exitX=1;exitY=0.5;fillColor=#ffffff;"); -d.geometry.setTerminalPoint(new mxPoint(250,30),!1);d.geometry.relative=!0;d.geometry.x=1;d.edge=!0;a.insertEdge(d,!0);return b.createVertexTemplateFromCells([a,d],250,60,"Interruptible Activity Region")}),this.createVertexTemplateEntry("shape=rect;html=1;rounded=1;dashed=1;strokeWidth=2;verticalAlign=top;whiteSpace=wrap;align=center;",160,60,"<<structured>> node name","Structured Activity Node",null,null,this.getTagsForStencil("","","sysml activity structured activity node").join(" "))]; +a.vertex=!0;var c=new mxCell("<<activity>>\nactivity name",new mxGeometry(30,40,120,60),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;whiteSpace=wrap;align=center;");c.vertex=!0;a.insert(c);var f=new mxCell("<<activity>>\nactivity name",new mxGeometry(30,160,120,60),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;whiteSpace=wrap;align=center;");f.vertex=!0;a.insert(f);var e=new mxCell("action\nname",new mxGeometry(0, +0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=none;html=1;edgeStyle=none;endFill=0;startArrow=diamondThin;startFill=1;startSize=12;align=left;verticalAlign=bottom;labelBackgroundColor=none;");e.geometry.relative=!0;e.geometry.x=1;e.edge=!0;c.insertEdge(e,!0);f.insertEdge(e,!1);a.insert(e);c=new mxCell("<<activity>>\nactivity name",new mxGeometry(180,40,120,60),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;whiteSpace=wrap;align=center;"); +c.vertex=!0;a.insert(c);f=new mxCell("<<block>>\nblock name",new mxGeometry(180,160,120,60),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;whiteSpace=wrap;align=center;");f.vertex=!0;a.insert(f);e=new mxCell("object\nnode\nname",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=none;html=1;edgeStyle=none;endFill=0;startFill=1;startSize=12;align=left;verticalAlign=bottom;labelBackgroundColor=none;");e.geometry.relative= +!0;e.geometry.x=1;e.edge=!0;c.insertEdge(e,!0);f.insertEdge(e,!1);a.insert(e);return b.createVertexTemplateFromCells([a],400,250,"In Block Definition Diagrams, Activity, Association")}),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.actPart;strokeWidth=3;verticalAlign=top;rotation=-90;whiteSpace=wrap;",100,100,"Partition Name","Activity Partition",null,null,this.getTagsForStencil("","actPart","sysml activity activity partition").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;rounded=1;strokeWidth=2;verticalAlign=top;whiteSpace=wrap;align=center;", +140,50,"(Partition Name)\nAction","Activity Partition",null,null,this.getTagsForStencil("","","sysml activity activity partition").join(" ")),this.addEntry("sysml activity interruptible activity region",function(){var a=new mxCell("region name",new mxGeometry(0,0,160,60),"shape=rect;html=1;rounded=1;verticalAlign=top;dashed=1;strokeWidth=2;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,0,0),"shape=mxgraph.lean_mapping.electronic_info_flow_edge;html=1;edgeStyle=none;align=center;verticalAlign=bottom;exitX=1;exitY=0.5;fillColor=#ffffff;"); +c.geometry.setTerminalPoint(new mxPoint(250,30),!1);c.geometry.relative=!0;c.geometry.x=1;c.edge=!0;a.insertEdge(c,!0);return b.createVertexTemplateFromCells([a,c],250,60,"Interruptible Activity Region")}),this.createVertexTemplateEntry("shape=rect;html=1;rounded=1;dashed=1;strokeWidth=2;verticalAlign=top;whiteSpace=wrap;align=center;",160,60,"<<structured>> node name","Structured Activity Node",null,null,this.getTagsForStencil("","","sysml activity structured activity node").join(" "))]; this.addPalette("sysmlActivities","SysML / Activities",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<e.length;b++)a.appendChild(e[b](a))}))};Sidebar.prototype.addSysMLInteractionsPalette=function(a){var b=this,e=[this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.package;overflow=fill;labelX=95;align=left;spacingLeft=5;verticalAlign=top;spacingTop=-3;",160,80,'<p style="margin:0px;margin-top:4px;margin-left:5px;text-align:left;"><b>sd</b> Interaction1</p>',"Sequence Diagram",null,null, -this.getTagsForStencil("","package","sysml interaction sequence diagram").join(" ")),this.addEntry("sysml interaction lifeline",function(){var a=new mxCell("b1:Block1",new mxGeometry(0,0,160,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;dashed=1;endArrow=none;align=center;verticalAlign=bottom;exitX=0.5;exitY=1;");d.geometry.setTerminalPoint(new mxPoint(80,150),!1);d.geometry.relative=!0;d.geometry.x=1;d.edge=!0; -a.insertEdge(d,!0);return b.createVertexTemplateFromCells([a,d],160,150,"Lifeline")}),this.addDataEntry("sysml interaction execution specification",160,220,"Execution Specification","xZTbboMwDIafJveU7NDbQrdeTZrUJ8iIR6IFgkJa6NvPJS40W6sxddKQkOLTj/1hhfG86jdONOrFSjCMPzGeO2t9OFV9DsawNNGS8TVL0wRflj5fiS6GaNIIB7WfU5CGgr0wOwietwXjq8zY4oPEWn8wFGuVaI5HBwWqZ8pX2PAaC7JOaQ/bRhTHcIfjoE8YXdZoFtgLOHTQt8B56K/2O7io2Q3YCrw7YEqnpVeU8RBmShToUlHZySfaYJdj6TQ9HgjAZRj8G4xfEHjXxuTWWDckchieG4emgkea7UDJCdlnTNILSJZ/gOTuZyQgS9iSWdsaYixStAokGVDLlXO2mzKD2lEiYtPanSsgWlEvXAk++lEzCDowwut9rH4LkPv/BzJ/+njhZrMgoVerUX9UWcZbOK7cSSH8ICr6AnTs6RJjNKcLL6Sf34ef"), +this.getTagsForStencil("","package","sysml interaction sequence diagram").join(" ")),this.addEntry("sysml interaction lifeline",function(){var a=new mxCell("b1:Block1",new mxGeometry(0,0,160,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=none;html=1;dashed=1;endArrow=none;align=center;verticalAlign=bottom;exitX=0.5;exitY=1;");c.geometry.setTerminalPoint(new mxPoint(80,150),!1);c.geometry.relative=!0;c.geometry.x=1;c.edge=!0; +a.insertEdge(c,!0);return b.createVertexTemplateFromCells([a,c],160,150,"Lifeline")}),this.addDataEntry("sysml interaction execution specification",160,220,"Execution Specification","xZTbboMwDIafJveU7NDbQrdeTZrUJ8iIR6IFgkJa6NvPJS40W6sxddKQkOLTj/1hhfG86jdONOrFSjCMPzGeO2t9OFV9DsawNNGS8TVL0wRflj5fiS6GaNIIB7WfU5CGgr0wOwietwXjq8zY4oPEWn8wFGuVaI5HBwWqZ8pX2PAaC7JOaQ/bRhTHcIfjoE8YXdZoFtgLOHTQt8B56K/2O7io2Q3YCrw7YEqnpVeU8RBmShToUlHZySfaYJdj6TQ9HgjAZRj8G4xfEHjXxuTWWDckchieG4emgkea7UDJCdlnTNILSJZ/gOTuZyQgS9iSWdsaYixStAokGVDLlXO2mzKD2lEiYtPanSsgWlEvXAk++lEzCDowwut9rH4LkPv/BzJ/+njhZrMgoVerUX9UWcZbOK7cSSH8ICr6AnTs6RJjNKcLL6Sf34ef"), this.addDataEntry("sysml interaction execution specification",160,220,"Execution Specification","zZTNbsIwDMefJvfSbBNXKBsnpEl9giyxmmhpU6WBlrefIaaQUaRKm7QdKsVf/9q/WGG8qIetF63eOQWW8VfGC+9ciKd6KMBalmdGMb5heZ7hx/K3B9HFOZq1wkMT5hTkseAg7B6i52PB+GptnfwksS4cLcU6LdrT0YNE9bUONTa8wYJ1r02AshXyFO5xHPQJa6oGTYm9gEcH/Qt8gOFhv2cXNbsFV0PwR0zpjQqaMl7iTJkGU2kqu/hEF+1qLL1OjwcCMA2D38GAAWTZgvxPJKiALjY7UnJG9i2ofALU8hdAPd2BugMEqoKSzMY1kEJSotOgyIBGrbx3/TUzqp0kEjid23sJyeIG4SsIyfXNQOjBimAOqfpPgDz/PZD506cbN5sFCb07g/qjyjJdw3EtLwrxgqjoG9CxpynGaF6fwZh++0p+AQ=="), -this.addEntry("sysml interaction use",function(){var a=new mxCell("Interaction3",new mxGeometry(0,0,160,60),"html=1;shape=mxgraph.sysml.package;labelX=40;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("ref",new mxGeometry(0,0,0,0),"html=1;align=left;verticalAlign=top;labelPosition=left;verticalLabelPosition=top;labelBackgroundColor=none;spacingLeft=5;spacingTop=-2;fontStyle=1;");d.geometry.relative=!1;d.setConnectable(!1);d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a], -a.geometry.width,a.geometry.height,"Interaction Use")}),this.addEntry("sysml interaction combined fragment",function(){var a=new mxCell('<p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;"><b>sd</b> Interaction1</p>',new mxGeometry(0,0,350,320),"html=1;shape=mxgraph.sysml.package;labelX=100;html=1;overflow=fill;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell("b1: Block1",new mxGeometry(30,40,80,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;whiteSpace=wrap;align=center;"); -d.vertex=!0;a.insert(d);var f=new mxCell("b2: Block2",new mxGeometry(140,40,80,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;whiteSpace=wrap;align=center;");f.vertex=!0;a.insert(f);var e=new mxCell("b3: Block3",new mxGeometry(250,40,80,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;whiteSpace=wrap;align=center;");e.vertex=!0;a.insert(e);var h=new mxCell("alt",new mxGeometry(20,90,200,160),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shape=mxgraph.sysml.package;labelX=35;fontStyle=1;align=left;verticalAlign=top;spacingLeft=5;spacingTop=-3;"); -h.vertex=!0;a.insert(h);h=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=none;html=1;edgeStyle=none;dashed=1;");h.geometry.setTerminalPoint(new mxPoint(70,300),!1);h.geometry.relative=!0;h.edge=!0;d.insertEdge(h,!0);a.insert(h);d=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=none;html=1;edgeStyle=none;dashed=1;");d.geometry.setTerminalPoint(new mxPoint(180,300),!1);d.geometry.relative= -!0;d.edge=!0;a.insert(d);f.insertEdge(d,!0);f=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=none;html=1;edgeStyle=none;dashed=1;");f.geometry.setTerminalPoint(new mxPoint(290,300),!1);f.geometry.relative=!0;f.edge=!0;a.insert(f);e.insertEdge(f,!0);e=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=none;html=1;edgeStyle=none;dashed=1;");e.geometry.setTerminalPoint(new mxPoint(20, -170),!1);e.geometry.setTerminalPoint(new mxPoint(220,170),!0);e.geometry.relative=!0;e.edge=!0;a.insert(e);e=new mxCell("[if x < 10]",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=open;html=1;edgeStyle=none;verticalAlign=bottom;labelBackgroundColor=none;endSize=12;");e.geometry.setTerminalPoint(new mxPoint(70,150),!0);e.geometry.setTerminalPoint(new mxPoint(180,150),!1);e.geometry.relative=!0;e.geometry.x=-1;e.edge=!0;a.insert(e);f=new mxCell("msg1", -new mxGeometry(1,0,0,0),"align=right;html=1;verticalAlign=bottom;labelBackgroundColor=none;");f.geometry.relative=!0;f.setConnectable(!1);f.vertex=!0;e.insert(f);e=new mxCell("[else]",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=open;html=1;edgeStyle=none;verticalAlign=bottom;labelBackgroundColor=none;align=right;endSize=12;");e.geometry.setTerminalPoint(new mxPoint(70,230),!0);e.geometry.setTerminalPoint(new mxPoint(180,230),!1);e.geometry.relative= -!0;e.geometry.x=-1;e.edge=!0;a.insert(e);f=new mxCell("msg2",new mxGeometry(1,0,0,0),"align=right;html=1;verticalAlign=bottom;labelBackgroundColor=none;");f.geometry.relative=!0;f.setConnectable(!1);f.vertex=!0;e.insert(f);a.insert(e);e=new mxCell("msg3",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=open;html=1;edgeStyle=none;verticalAlign=bottom;labelBackgroundColor=none;endSize=12;");e.geometry.setTerminalPoint(new mxPoint(70,290),!0);e.geometry.setTerminalPoint(new mxPoint(290, -290),!1);e.geometry.relative=!0;e.edge=!0;a.insert(e);return b.createVertexTemplateFromCells([a],350,320,"Combined Fragment")}),this.addDataEntry("sysml interaction state invariant configuration",120,220,"State Invariant / Continuations","xVTLboMwEPwaXyMCpfeEtDlFqpRTjxbeYksGI9sJ8Pdd4gVCHhJSpfSAvM9hZ7wyS7Ky3Vtey4MRoFnywZLMGuODVbYZaM3iSAmW7FgcR/ix+PNJdn3JRjW3UPklDXFoOHN9ghBhyeY7BJ3vNAWd5HVvWsgRdit9iZPu1mg2Unk41jzv0w3ywBjXqqjQzXEIsBign4D10D4d9BKiKfdgSvC2w5JGCS+pgshEElQhqS2lGHfBL8bWiTYaxPyxCsmdCnV/IMP0Toor7oMqZVv0F7hynSv1Kjc9o+0PHkdqe4lQHWUjEuQVwr3dr8+tXiAKGHSoTAXz9RHcSRDkQCU21ppmqgxoPcRMDWdONofZBntuC/Cz61ygmQXNvTrP0f8iSPr/gixnP1+xxVoQ0JdRiD+ivNM60RoOD8+IEC6Imm4EHWd6pDG603sYyq+fy18="), +this.addEntry("sysml interaction use",function(){var a=new mxCell("Interaction3",new mxGeometry(0,0,160,60),"html=1;shape=mxgraph.sysml.package;labelX=40;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("ref",new mxGeometry(0,0,0,0),"html=1;align=left;verticalAlign=top;labelPosition=left;verticalLabelPosition=top;labelBackgroundColor=none;spacingLeft=5;spacingTop=-2;fontStyle=1;");c.geometry.relative=!1;c.setConnectable(!1);c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a], +a.geometry.width,a.geometry.height,"Interaction Use")}),this.addEntry("sysml interaction combined fragment",function(){var a=new mxCell('<p style="margin:0px;margin-top:4px;margin-left:10px;text-align:left;"><b>sd</b> Interaction1</p>',new mxGeometry(0,0,350,320),"html=1;shape=mxgraph.sysml.package;labelX=100;html=1;overflow=fill;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var c=new mxCell("b1: Block1",new mxGeometry(30,40,80,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;whiteSpace=wrap;align=center;"); +c.vertex=!0;a.insert(c);var e=new mxCell("b2: Block2",new mxGeometry(140,40,80,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;whiteSpace=wrap;align=center;");e.vertex=!0;a.insert(e);var g=new mxCell("b3: Block3",new mxGeometry(250,40,80,30),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;whiteSpace=wrap;align=center;");g.vertex=!0;a.insert(g);var h=new mxCell("alt",new mxGeometry(20,90,200,160),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;html=1;shape=mxgraph.sysml.package;labelX=35;fontStyle=1;align=left;verticalAlign=top;spacingLeft=5;spacingTop=-3;"); +h.vertex=!0;a.insert(h);h=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=none;html=1;edgeStyle=none;dashed=1;");h.geometry.setTerminalPoint(new mxPoint(70,300),!1);h.geometry.relative=!0;h.edge=!0;c.insertEdge(h,!0);a.insert(h);c=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=none;html=1;edgeStyle=none;dashed=1;");c.geometry.setTerminalPoint(new mxPoint(180,300),!1);c.geometry.relative= +!0;c.edge=!0;a.insert(c);e.insertEdge(c,!0);e=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=none;html=1;edgeStyle=none;dashed=1;");e.geometry.setTerminalPoint(new mxPoint(290,300),!1);e.geometry.relative=!0;e.edge=!0;a.insert(e);g.insertEdge(e,!0);g=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=none;html=1;edgeStyle=none;dashed=1;");g.geometry.setTerminalPoint(new mxPoint(20, +170),!1);g.geometry.setTerminalPoint(new mxPoint(220,170),!0);g.geometry.relative=!0;g.edge=!0;a.insert(g);g=new mxCell("[if x < 10]",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=open;html=1;edgeStyle=none;verticalAlign=bottom;labelBackgroundColor=none;endSize=12;");g.geometry.setTerminalPoint(new mxPoint(70,150),!0);g.geometry.setTerminalPoint(new mxPoint(180,150),!1);g.geometry.relative=!0;g.geometry.x=-1;g.edge=!0;a.insert(g);e=new mxCell("msg1", +new mxGeometry(1,0,0,0),"align=right;html=1;verticalAlign=bottom;labelBackgroundColor=none;");e.geometry.relative=!0;e.setConnectable(!1);e.vertex=!0;g.insert(e);g=new mxCell("[else]",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=open;html=1;edgeStyle=none;verticalAlign=bottom;labelBackgroundColor=none;align=right;endSize=12;");g.geometry.setTerminalPoint(new mxPoint(70,230),!0);g.geometry.setTerminalPoint(new mxPoint(180,230),!1);g.geometry.relative= +!0;g.geometry.x=-1;g.edge=!0;a.insert(g);e=new mxCell("msg2",new mxGeometry(1,0,0,0),"align=right;html=1;verticalAlign=bottom;labelBackgroundColor=none;");e.geometry.relative=!0;e.setConnectable(!1);e.vertex=!0;g.insert(e);a.insert(g);g=new mxCell("msg3",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;endArrow=open;html=1;edgeStyle=none;verticalAlign=bottom;labelBackgroundColor=none;endSize=12;");g.geometry.setTerminalPoint(new mxPoint(70,290),!0);g.geometry.setTerminalPoint(new mxPoint(290, +290),!1);g.geometry.relative=!0;g.edge=!0;a.insert(g);return b.createVertexTemplateFromCells([a],350,320,"Combined Fragment")}),this.addDataEntry("sysml interaction state invariant configuration",120,220,"State Invariant / Continuations","xVTLboMwEPwaXyMCpfeEtDlFqpRTjxbeYksGI9sJ8Pdd4gVCHhJSpfSAvM9hZ7wyS7Ky3Vtey4MRoFnywZLMGuODVbYZaM3iSAmW7FgcR/ix+PNJdn3JRjW3UPklDXFoOHN9ghBhyeY7BJ3vNAWd5HVvWsgRdit9iZPu1mg2Unk41jzv0w3ywBjXqqjQzXEIsBign4D10D4d9BKiKfdgSvC2w5JGCS+pgshEElQhqS2lGHfBL8bWiTYaxPyxCsmdCnV/IMP0Toor7oMqZVv0F7hynSv1Kjc9o+0PHkdqe4lQHWUjEuQVwr3dr8+tXiAKGHSoTAXz9RHcSRDkQCU21ppmqgxoPcRMDWdONofZBntuC/Cz61ygmQXNvTrP0f8iSPr/gixnP1+xxVoQ0JdRiD+ivNM60RoOD8+IEC6Imm4EHWd6pDG603sYyq+fy18="), this.addDataEntry("sysml interaction coregion",250,220,"Coregion","1ZZbb4IwFIB/TV8NUJjuUXHzackSH/bcwRk0K5S09bZfv0ILCmjmJmpmYtJz5ZzvlFKEw2y7EKRIX3gMDOEnhEPBuTKrbBsCY8hzaIzwHHmeo//Iez5hdSurUxABuTonwDMBa8JWYDQSBbMVCuYIT2fGKNWO1caUFOVSQKTTz1KV6Yrnrl5uUqpgWZCoNG90P1pHGE1yLUa6GBBaYR8GQsH2ZMGVyla7AJ6BEjvtsqGxSq2HY5pyUqBJasMCqyPSyEkTum9fLyyB4zRwj0aPwEHLNYxsm5TzG8mdzNgo4gISyvPSQQn+CW+2cHwhABvg2z53HRYHfLwjeMYD4PF/xlMz0YG0kNDeIx+UsZAzLipf7FS/gahM2lTcSY+K34fiX84k+D9M/FsxefiZCcQJLK2Y87wDJSYyhdgKkMdTIfhm72mylSlaZCRfiQha55oiIoF2Y2fwE8CIout29kuAjO8PxO8DCe4HZHJ/IFfo3oa+cqozNq9h0D6wm9O5zmBGYoM6CJsqzqL62KOa4WG5Sl2sqnW8gPIrV55RNCJsar/271wpntXOS/pVPsn1frVNrz+V7ljc643FdfpzGXi/X30uN3tbenPp3uv+PBct7u/Vxv3w2v0N"), this.addDataEntry("sysml interaction creation destruction event",250,220,"Creation/Destruction Event","1Zdtb4MgEIB/jd8VtNs+tt3LlzVZ0l9A9aZkKAZZbffrh4J2SJfZ9W0zacLdcVfuOTzEw/N88yRImS14AszDDx6eC86lHuWbOTDmIZ8mHr73EPLVz0OP31iD1uqXREAhxzgg7bAm7B20ZhV4eDpjPH4zwSq5ZcZWZaRshgJiFX2WyVwt+F45zOqMSliWJG7MtUpH6QijaaHEWK0FhFKY/wIhYfPteluVWewT8Byk2KopNU1kZmb4Oic/A5pmxg0bHam0nPauu+zVwADYDwO7MFAHA/0lGJ1DZJLeajk04iVYhQ6rnwC9UsbmnHHRWjG0jw3uFEzubCY3LhO0B0nP6Rgm0XgmypGWFbhY/PY5OZbw1qISYYdK6EIJj0cy+TdIgk4+O5Obn5lAksLSiAUvGigJqTJITPpQJFMheL0zO2yaEBaZir+LGKy2L4lIQVqbdwQ/AYxIurajHwPk9vpAIhfI5HpA7q4P5AzZG9cXTlXE/jUcnGF9d+4i6JIYpwHCfhWjqAa+gzUWQCSMgfuFJy9BneSzpvnQmLCpOdlXXEqe66lL+tH4BugUGxFfqhTDWgRnrEVw2BYHtuL1w06xpx7tFCV2dTm2EhO3EuHVKhGdrxLuFeDA96HaVovnjYW7SczuR4exvxxof9B+ht+BvwatxN01Tk//esv7BA=="), this.addDataEntry("sysml interaction duration constraint",250,250,"Duration Constraint","zZbNjpswEMefxpdKQXwsjXoMod1DVW2ltA/g4hFYMhjZzibp03ccuwnBREFbVO0himfsGWZ+/5GBZNv2+Kxo33yTDATJPpNsq6Q0btUetyAESWPOSFaSNI3xR9Ivd3aT827cUwWdmROQuoBXKvbgPCTb/NSgnF+bk/B+3dDeLhVUmLloTIvFlgkuDw03sOtpZbcP2Ar6qOB1h2aFdWCyrPDPAWXgeLfWs8sX+gyyBaNOeOTAmWn8idj1EzfA68aH5d5HtbPrS+i1c1z45qdBZCGIdcGiKPvAyLoMaAza/wumPdZWxkifdCsixlvoNJcIoVDSUHNelqtPMTosBl5RsfGUjLTMNCLkXf3DGuUq/xdiPmDl1Y9PI3qPiD4tQPQpJDqmCKyGnTc72eFfwahugHm00LGNUvJw3R5wd9lsihs6Wu5VBTfTPQOYAoESvd6mmureh36XHDNeQOe3nIOJNFTVYHzQCOGlillU84DqFu8N9Nh9tldu0GaAHpAcYJY9dBMD+ksaI1t3dMd/2zRJel+D/w58PeLthiDgHaR5lGc53T6GulHFXva2GLxp4ihKsqmLZjHl/O1SeLvM36+ayUwZHsoZJLozF2/Qcx3o+fJ1cfEm3gvvWLY0Xkq28evnzbKhef2WcseHn1p/AA=="), @@ -7302,9 +7294,9 @@ this.addDataEntry("sysml interaction duration constraint",250,200,"Time Constrai this.addDataEntry("sysml interaction message",250,250,"Message","zZbfboIwFMafhmS7gzJ1t4LTqyVLeIIKJ9CsUFKqyJ5+B1tUQDNHCHpB6L/zcc7vowXL9dPDRtI8+RQRcMv9sFxfCqF0Kz34wLlFbBZZ7soixMbLIusbs85x1s6phEzdE0B0wJ7yHeiRrWO5S4+L8NuIFariZq5IaF43JYSo7iUqxYRXGOCVCVMQ5DSsp0ssB8coZ3GG3RBzAYkD5lkgFRxu5nscMsluQKSgZIVLShapxKywdU12AixOTJhrxmih+/Ep9Fw9NgyA6zDcPgzSwCDPBKMJmJmip4Dz1oPTIwJRDIHpZiLDmxfRIoHIcLlABFm0lFKU55VarZZo0SjETobQelnvACSBU8X2balr1ZvQL8FQ8QS24VqZ5846/BSVMSgT1EF4yuIuqrPHU3WnokrsybDOe1hpUWVhgHuQ8nsIX4cqcsA97NWbloWUL82e3gqlRKqXBuynlnHIbfiTv7+LDmftfo/zn4Z1dcbza9Hzq7bLp5y/IC2avg73bFuf3v8wDbtrxhuhZ7HQmY/kYU9oPBPfB51lo+y0tmmt4/FhDvaOO3ughd2vUVdnsIPYPf9p6uWXP6K/"), this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=sysMLLost;endSize=12;verticalAlign=bottom;",160,0,"lost","Lost Message",null,this.getTagsForStencil("","","sysml interaction lost message").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;verticalAlign=bottom;startArrow=sysMLFound;startSize=12;",160,0,"found","Found Message",null,this.getTagsForStencil("","","sysml interaction found message").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=none;verticalAlign=bottom;dashed=1;strokeWidth=2;", 160,0,"","General Ordering",null,this.getTagsForStencil("","","sysml interaction general ordering").join(" "))];this.addPalette("sysmlInteractions","SysML / Interactions",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<e.length;b++)a.appendChild(e[b](a))}))};Sidebar.prototype.addSysMLStateMachinesPalette=function(a){var b=this,e=[this.addDataEntry("sysml state machine choice pseudo state",150,100,"Choice Pseudo State","zZXbcoIwEIafJvcctPeC1ulFZ5zxCYLZQqaBZUJQ9OmbkKCgMqVjnfaCmd1/k+zyfxxIGOfNWtIye0cGgoQrEsYSUdkob2IQggQeZyRckiDw9EWC15Gq31a9kkoo1JQNgd2wp6IGq1ihUkfhhCqjpQllhnlSVySMMpXrQZe+DgVNQGyw4opjYRbxNNONIyp4anIBHybdg1R8R8XCyTlnTJ9ve+saNKPzt5Ibfg2Yg5JHveTo5re35x04U5mVZk7KwM7S12hl8/R80MUbHTh77lsVfm8VsBS2LgWR4GF1EfqutTUdZyj5CQtFRc+yzsJrzxJUCnNdkFgXDMxUXkcgorvPtNVjFCh1qcDCNIWCLaRsm2EJhVW2/GQm9LWvkb0HM/iAgKIyBTV4RiZAkSCo4vvhUfc8d1s3yPWJgdcMYXY7KqzlDtyiK1DnrpPYzW7ZzaM3RoIXYaw2ZnhkvnwYaMfsDs5bEj/kOIGaNeyPqLk30veuKNpH6TcozkcppsbhpyF0H7HHCI6+zv8YrT9/FludXn5ydnn/H/gF"), -this.addEntry("sysml state machine composite state",function(){var a=new mxCell("CompositeState1",new mxGeometry(0,0,220,190),"shape=mxgraph.sysml.compState;align=left;verticalAlign=top;spacingTop=-3;spacingLeft=18;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var d=new mxCell("",new mxGeometry(20,50,20,20),"shape=ellipse;html=1;fillColor=#000000;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;");d.vertex=!0;a.insert(d);var e=new mxCell("State1",new mxGeometry(80,60,100, +this.addEntry("sysml state machine composite state",function(){var a=new mxCell("CompositeState1",new mxGeometry(0,0,220,190),"shape=mxgraph.sysml.compState;align=left;verticalAlign=top;spacingTop=-3;spacingLeft=18;strokeWidth=1;recursiveResize=0;");a.vertex=!0;var c=new mxCell("",new mxGeometry(20,50,20,20),"shape=ellipse;html=1;fillColor=#000000;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;");c.vertex=!0;a.insert(c);var e=new mxCell("State1",new mxGeometry(80,60,100, 40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;rounded=1;whiteSpace=wrap;align=center;");e.vertex=!0;a.insert(e);var g=new mxCell("State2",new mxGeometry(80,130,100,40),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;rounded=1;whiteSpace=wrap;align=center;");g.vertex=!0;a.insert(g);var h=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;html=1;endArrow=open;endSize=12;"); -h.geometry.relative=!0;h.edge=!0;d.insertEdge(h,!0);e.insertEdge(h,!1);a.insert(h);d=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;html=1;endArrow=open;endSize=12;");d.geometry.relative=!0;d.edge=!0;e.insertEdge(d,!0);g.insertEdge(d,!1);a.insert(d);return b.createVertexTemplateFromCells([a],220,190,"Composite State")}),this.createVertexTemplateEntry("shape=mxgraph.sysml.compState;html=1;align=left;verticalAlign=top;spacingTop=-3;spacingLeft=18;", +h.geometry.relative=!0;h.edge=!0;c.insertEdge(h,!0);e.insertEdge(h,!1);a.insert(h);c=new mxCell("",new mxGeometry(0,0,0,0),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;edgeStyle=none;html=1;endArrow=open;endSize=12;");c.geometry.relative=!0;c.edge=!0;e.insertEdge(c,!0);g.insertEdge(c,!1);a.insert(c);return b.createVertexTemplateFromCells([a],220,190,"Composite State")}),this.createVertexTemplateEntry("shape=mxgraph.sysml.compState;html=1;align=left;verticalAlign=top;spacingTop=-3;spacingLeft=18;", 200,160,"CompositeState1","Composite State",null,null,this.getTagsForStencil("","compState","sysml state machine composite state").join(" ")),this.createVertexTemplateEntry("ellipse;html=1;labelPosition=left;verticalLabelPosition=bottom;spacingBottom=10;align=right;verticalAlign=bottom;resizable=0;",20,20,"again","Entry Point",null,null,this.getTagsForStencil("","compState","sysml state machine entry point").join(" ")),this.addEntry("sysml state machine exit point",function(){var a=new mxCell("aborted", new mxGeometry(0,10,20,20),"shape=mxgraph.sysml.flowFinal;labelPosition=right;verticalLabelPosition=top;spacingTop=5;spacingLeft=3;align=left;verticalAlign=top;resizable=0;");a.vertex=!0;return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Exit Point")}),this.createVertexTemplateEntry("shape=mxgraph.sysml.actFinal;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;",40,40,"","Final State",null,null,this.getTagsForStencil("","actFinal","sysml state machine final state").join(" ")), this.createVertexTemplateEntry("shape=ellipse;html=1;fontSize=18;align=center;",40,40,"H*","History, Deep Pseudo State",null,null,this.getTagsForStencil("","","sysml state machine history deep pseudo state").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;fontSize=18;align=center;",40,40,"H","History, Shallow Pseudo State",null,null,this.getTagsForStencil("","","sysml state machine history shallow pseudo state").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;fillColor=#000000;fontSize=18;fontColor=#ffffff;", @@ -7312,57 +7304,57 @@ this.createVertexTemplateEntry("shape=ellipse;html=1;fontSize=18;align=center;", null,this.getTagsForStencil("","accEvent","sysml state machine receive signal action").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sysml.sendSigAct;whiteSpace=wrap;align=center;",140,40,"TurnOn","Send Signal Action",null,null,this.getTagsForStencil("","sendSigAct","sysml state machine send signal action").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",140,40,"MinorReq := Id;","Action",null,null,this.getTagsForStencil("","","sysml state machine action").join(" ")), this.createVertexTemplateEntry("shape=mxgraph.sysml.region;align=left;verticalAlign=top;spacingTop=-3;spacingLeft=25;",200,160,"S","Region",null,null,this.getTagsForStencil("","","sysml state machine region").join(" ")),this.createVertexTemplateEntry("shape=rect;rounded=1;html=1;whiteSpace=wrap;align=center;",100,40,"State1","Simple State",null,null,this.getTagsForStencil("","","sysml state machine simple state").join(" ")),this.createVertexTemplateEntry("shape=mxgraph.sysml.simpleState;html=1;overflow=fill;whiteSpace=wrap;align=center;", 200,100,'<p style="margin:0px;margin-top:4px;text-align:center;">State2<hr/></p><p style="margin:0px;margin-left:8px;text-align:left;">entry / entryActivity<br/>do / doActivity<br/>exit / exitActivity</p>',"Simple State",null,null,this.getTagsForStencil("","simpleState","sysml state machine simple state").join(" ")),this.createVertexTemplateEntry("shape=rect;rounded=1;html=1;whiteSpace=wrap;align=center;",120,40,"State1, State2","State List",null,null,this.getTagsForStencil("","","sysml state machine state list").join(" ")), -this.addEntry("sysml state machine state machine",function(){var a=new mxCell("ReadAmountSM",new mxGeometry(0,0,160,120),"shape=mxgraph.sysml.stateMachine;verticalAlign=top;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("aborted",new mxGeometry(160,60,0,0),"resizable=0;html=1;verticalAlign=top;align=left;labelBackgroundColor=none;spacingLeft=5;spacingTop=-2;");d.geometry.relative=!1;d.setConnectable(!1);d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width, -a.geometry.height,"State Machine")}),this.createVertexTemplateEntry("shape=mxgraph.sysml.x;",40,40,"","Terminate Node",null,null,this.getTagsForStencil("","x","sysml state machine terminate node").join(" ")),this.addEntry("sysml state machine submachine state",function(){var a=new mxCell("ReadAmount :\nReadAmountSM",new mxGeometry(0,0,160,120),"shape=mxgraph.sysml.submState;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("aborted",new mxGeometry(160,60,0,0),"resizable=0;html=1;verticalAlign=bottom;align=left;labelBackgroundColor=none;spacingLeft=5;spacingBottom=2;"); -d.geometry.relative=!1;d.setConnectable(!1);d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Submachine State")}),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;strokeWidth=3;verticalAlign=bottom;",160,0,"trigger[guard]/activity","Transition",null,this.getTagsForStencil("","","sysml state machine transition").join(" "))];this.addPalette("sysmlState Machines","SysML / State Machines",a||!1,mxUtils.bind(this,function(a){for(var b= +this.addEntry("sysml state machine state machine",function(){var a=new mxCell("ReadAmountSM",new mxGeometry(0,0,160,120),"shape=mxgraph.sysml.stateMachine;verticalAlign=top;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("aborted",new mxGeometry(160,60,0,0),"resizable=0;html=1;verticalAlign=top;align=left;labelBackgroundColor=none;spacingLeft=5;spacingTop=-2;");c.geometry.relative=!1;c.setConnectable(!1);c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width, +a.geometry.height,"State Machine")}),this.createVertexTemplateEntry("shape=mxgraph.sysml.x;",40,40,"","Terminate Node",null,null,this.getTagsForStencil("","x","sysml state machine terminate node").join(" ")),this.addEntry("sysml state machine submachine state",function(){var a=new mxCell("ReadAmount :\nReadAmountSM",new mxGeometry(0,0,160,120),"shape=mxgraph.sysml.submState;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("aborted",new mxGeometry(160,60,0,0),"resizable=0;html=1;verticalAlign=bottom;align=left;labelBackgroundColor=none;spacingLeft=5;spacingBottom=2;"); +c.geometry.relative=!1;c.setConnectable(!1);c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Submachine State")}),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;strokeWidth=3;verticalAlign=bottom;",160,0,"trigger[guard]/activity","Transition",null,this.getTagsForStencil("","","sysml state machine transition").join(" "))];this.addPalette("sysmlState Machines","SysML / State Machines",a||!1,mxUtils.bind(this,function(a){for(var b= 0;b<e.length;b++)a.appendChild(e[b](a))}))};Sidebar.prototype.addSysMLUseCasesPalette=function(a){var b=this,e=[this.createVertexTemplateEntry("shape=ellipse;html=1;strokeWidth=3;fontStyle=1;whiteSpace=wrap;align=center;perimeter=ellipsePerimeter;",120,60,"UseCaseName","Use Case",null,null,this.getTagsForStencil("","","sysml use case use case").join(" ")),this.addEntry("sysml use case ",function(){var a=new mxCell("\nextension points\np1, p2",new mxGeometry(0,0,160,80),"html=1;shape=mxgraph.sysml.useCaseExtPt;whiteSpace=wrap;align=center;"); -a.vertex=!0;var d=new mxCell("UseCaseName",new mxGeometry(80,17,0,0),"resizable=0;html=1;verticalAlign=middle;align=center;labelBackgroundColor=none;fontStyle=1;");d.geometry.relative=!1;d.setConnectable(!1);d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Use Case")}),this.createVertexTemplateEntry("shape=umlActor;html=1;verticalLabelPosition=bottom;verticalAlign=top;align=center;",30,60,"ActorName","Actor",null,null,this.getTagsForStencil("", +a.vertex=!0;var c=new mxCell("UseCaseName",new mxGeometry(80,17,0,0),"resizable=0;html=1;verticalAlign=middle;align=center;labelBackgroundColor=none;fontStyle=1;");c.geometry.relative=!1;c.setConnectable(!1);c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,"Use Case")}),this.createVertexTemplateEntry("shape=umlActor;html=1;verticalLabelPosition=bottom;verticalAlign=top;align=center;",30,60,"ActorName","Actor",null,null,this.getTagsForStencil("", "umlActor","sysml use case ").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;html=1;whiteSpace=wrap;align=center;",80,40,'<p style="margin:0px;margin-top:4px;text-align:center;"><<actor>><br/><b>ActorName</b></p>',"Actor",null,null,this.getTagsForStencil("","","sysml use case ").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;verticalAlign=top;fontStyle=1;whiteSpace=wrap;align=center;",120,60,"SubjectName","Subject",null,null,this.getTagsForStencil("", "","sysml use case subject").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=none;verticalAlign=bottom;",160,0,"","Communication Path",null,this.getTagsForStencil("","","sysml use case communication path").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;verticalAlign=bottom;dashed=1;labelBackgroundColor=none;",160,0,"<<include>>","Include",null,this.getTagsForStencil("","","sysml use case include").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;startArrow=open;endArrow=none;startSize=12;verticalAlign=bottom;dashed=1;labelBackgroundColor=none;", 160,0,"<<extend>>","Extend",null,this.getTagsForStencil("","","sysml use case extend").join(" ")),this.addDataEntry("sysml use case extend condition",250,80,"Extend with Condition","tVTLjtswDPwaXQvH2kevsbfdSwsUyKU9KjFrC5VFQ1Y2Tr++pMRknWyyj0MPgcUhh6JmFCld99NjMEP3HRtwSn9Rug6IMa/6qQbnVFnYRukHVZYF/VT59Up2kbLFYAL4+B5CmQlPxm0hIzX6xkaLXuklZdR9tUZ0YDwFMA0BxpGT91R7p0q9KJSuYIrgE0x7o+WtmTvQODV/ZZcx7p3sMnZm4KXHSJ9qtH85WtzyejAb69tv8JtPwIhxtqVxHlyCql1nI6yoiik7ko4wOQaECNNVKRIkOjwC9hDDnkqEIEoVO9vETiAtWAe27aTLjWBmzHF77PSsMy1E6suy6xeyk5qm55O4mI4zj5K8zRFrTyokOtP3IFnIc1dd7B0LTEsWyW6MW0rJGmPEnhIBt74BnpA9dWYNrjKbP23Ca3QYkmGeDaN5liHgjhAcwGdkJS6SyFVjxi71WhzHg6aFj3oTwJlon055l5QX6o90+8pinys+n3kVTWghStH8b3HgHS7PnRCv9BlxGzbwok+y/Tj9u27CzYWbcOYl67aSUOSf2TlzQpIf8fHEJphs/Mm0T7cS/XrdwCzDyUvyHz09eFO87s0Vj9/2hsLnhzeXz9/lfw=="), this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=block;endFill=0;endSize=12;verticalAlign=bottom;",160,0,"","Generalization",null,this.getTagsForStencil("","","sysml use case generalization").join(" "))];this.addPalette("sysmlUse Cases","SysML / UseCases",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<e.length;b++)a.appendChild(e[b](a))}))};Sidebar.prototype.addSysMLAllocationsPalette=function(a){var b=this,e=[this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;html=1;whiteSpace=wrap;align=center;", 120,60,'<p style="margin:0px;margin-top:4px;text-align:center;"><<allocated>><br/><b>Named<br/>Element</b></p>',"Allocated Stereotype",null,null,this.getTagsForStencil("","","sysml allocation allocated stereotype").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;strokeWidth=2;whiteSpace=wrap;align=center;",200,120,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>BlockName</b></p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>allocatedFrom</i></p><p style="margin:0px;margin-left:8px;text-align:left;"><<elementType>> ElementName</p><hr/><p style="font-size:10px;margin:0px;text-align:center;"><i>allocatedTo</i></p><p style="margin:0px;margin-left:8px;text-align:left;"><<elementType>> ElementName</p>', "Allocation derived properties (Block)",null,null,this.getTagsForStencil("","","sysml allocation derived property block").join(" ")),this.addDataEntry("sysml allocation derived property comment",270,140,"Allocation derived properties (Comment)","xVRNb+MgEP01HCPZOK16rZO2l3Yv6R8g9sRGHQzF5Ku/fgdM7bKJpVZa7R4sz7xhhuHxGFas1OnJCtO+6BqQFQ+sWFmt3WCp0woQGc9kzYo14zyjj/HHmWgeopkRFjr3nQQ+JBwE7mFAGL9FSi0Nwb074wDfvu99S6UStpEdK+4zcxrdhdOGoDzBEHZuAh2c3EKgbHzuECqnqmQ18R/23n4CAlFXwkH9aLX6jNJpthcZ1p9xAoWijkq89ABBETevZwNjIE2KXvYwrPwlFMztMtPsq/7/rdIeZtqEJ5fJ+1YYb3ba0a9snSLhrXMye/nhA/mNt42oZNc8h9ta34QThgtcxwv8kqcPYHeoj+TuJCmsKI+tdLChEr7ekQT+Jb+iZsGOnVEu6WNWwQGK8n0CrcDZMy2JCctB4NlR1q6Noi4i1oJs2ljlLmKiH/xmrDQ9DzLiC7n+WoqL15IwP8OyhcqztdOd28Ro/i8IOsdodslQzq8wtPwLDC2vzJM/aLF639Xg12ephlBsAUtRvTVhyUqjtkGknRcpdPW9tUFhEalF34Y6+UgU1A0kNPV6bytIZp2j+QQuudBvkGkBhZOHtPoPmCJ3muohlgz93w=="), -this.addEntry("sysml allocation derived property internal block diagram",function(){var a=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><<block>><br/><b>BlockName</b></p><hr/>',new mxGeometry(0,0,250,160),"shape=rect;html=1;overflow=fill;strokeWidth=2;whiteSpace=wrap;align=center;verticalAlign=top;recursiveResize=0;");a.vertex=!0;var d=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>PartName</b><hr/></p><p style="font-size:10px;margin:0px;text-align:center;"><i>allocatedFrom</i></p><p style="margin:0px;margin-left:8px;text-align:left;"><<elementType>> ElementName</p>', -new mxGeometry(20,60,210,80),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;overflow=fill;strokeWidth=2;whiteSpace=wrap;align=center;");d.vertex=!0;a.insert(d);return b.createVertexTemplateFromCells([a],250,160,"Allocation derived properties (Internal Block Diagram)")}),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.simpleState;html=1;overflow=fill;whiteSpace=wrap;align=center;",200,100,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>ActivityName</b><hr/></p><p style="font-size:10px;margin:0px;text-align:center;"><i>allocatedTo</i></p><p style="margin:0px;margin-left:8px;text-align:left;"><<elementType>> ElementName</p>', -"Allocation Derived Properties (Activity Diagram)",null,null,this.getTagsForStencil("","","sysml allocation derived property activity diagram").join(" ")),this.addEntry("sysml allocation activity partition",function(){var a=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><<allocate>><br/>:ElementName<hr/></p>',new mxGeometry(0,0,250,160),"shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;verticalAlign=top;");a.vertex=!0;var d=new mxCell("ActionName",new mxGeometry(65, -70,120,60),"html=1;shape=mxgraph.sysml.cont;fontStyle=1;whiteSpace=wrap;align=center;");d.vertex=!0;return b.createVertexTemplateFromCells([a,d],250,160,"Allocation Activity Partition")}),this.addEntry("sysml allocation general",function(){var a=new mxCell("Client",new mxGeometry(0,0,100,60),"shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("Supplier",new mxGeometry(200,0,100,60),"shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e= -new mxCell("<<allocate>>",new mxGeometry(0,0,0,0),"rounded=0;html=1;verticalAlign=top;labelBackgroundColor=none;endArrow=open;dashed=1;endSize=12;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],300,60,"Allocation (General)")})];this.addPalette("sysmlAllocations","SysML / Allocations",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<e.length;b++)a.appendChild(e[b](a))}))};Sidebar.prototype.addSysMLRequirementsPalette= +this.addEntry("sysml allocation derived property internal block diagram",function(){var a=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><<block>><br/><b>BlockName</b></p><hr/>',new mxGeometry(0,0,250,160),"shape=rect;html=1;overflow=fill;strokeWidth=2;whiteSpace=wrap;align=center;verticalAlign=top;recursiveResize=0;");a.vertex=!0;var c=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><b>PartName</b><hr/></p><p style="font-size:10px;margin:0px;text-align:center;"><i>allocatedFrom</i></p><p style="margin:0px;margin-left:8px;text-align:left;"><<elementType>> ElementName</p>', +new mxGeometry(20,60,210,80),"strokeColor=inherit;fillColor=inherit;gradientColor=inherit;shape=rect;html=1;overflow=fill;strokeWidth=2;whiteSpace=wrap;align=center;");c.vertex=!0;a.insert(c);return b.createVertexTemplateFromCells([a],250,160,"Allocation derived properties (Internal Block Diagram)")}),this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.simpleState;html=1;overflow=fill;whiteSpace=wrap;align=center;",200,100,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>ActivityName</b><hr/></p><p style="font-size:10px;margin:0px;text-align:center;"><i>allocatedTo</i></p><p style="margin:0px;margin-left:8px;text-align:left;"><<elementType>> ElementName</p>', +"Allocation Derived Properties (Activity Diagram)",null,null,this.getTagsForStencil("","","sysml allocation derived property activity diagram").join(" ")),this.addEntry("sysml allocation activity partition",function(){var a=new mxCell('<p style="margin:0px;margin-top:4px;text-align:center;"><<allocate>><br/>:ElementName<hr/></p>',new mxGeometry(0,0,250,160),"shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;verticalAlign=top;");a.vertex=!0;var c=new mxCell("ActionName",new mxGeometry(65, +70,120,60),"html=1;shape=mxgraph.sysml.cont;fontStyle=1;whiteSpace=wrap;align=center;");c.vertex=!0;return b.createVertexTemplateFromCells([a,c],250,160,"Allocation Activity Partition")}),this.addEntry("sysml allocation general",function(){var a=new mxCell("Client",new mxGeometry(0,0,100,60),"shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("Supplier",new mxGeometry(200,0,100,60),"shape=rect;html=1;fontStyle=1;whiteSpace=wrap;align=center;");c.vertex=!0;var e= +new mxCell("<<allocate>>",new mxGeometry(0,0,0,0),"rounded=0;html=1;verticalAlign=top;labelBackgroundColor=none;endArrow=open;dashed=1;endSize=12;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);c.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,c,e],300,60,"Allocation (General)")})];this.addPalette("sysmlAllocations","SysML / Allocations",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<e.length;b++)a.appendChild(e[b](a))}))};Sidebar.prototype.addSysMLRequirementsPalette= function(a){var b=this,e=[this.createVertexTemplateEntry("html=1;shape=mxgraph.sysml.package;overflow=fill;labelX=110;strokeWidth=2;align=center;",160,80,'<p style="margin:0px;margin-top:4px;margin-left:7px;text-align:left;"><b>req</b> ReqDiagram</p>',"Requirement Diagram",null,null,this.getTagsForStencil("","package","sysml requirement diagram").join(" ")),this.createVertexTemplateEntry("shape=rect;overflow=fill;html=1;whiteSpace=wrap;align=center;",200,100,'<p style="margin:0px;margin-top:4px;text-align:center;"><<requirement>><br/><b>Requirement Name</b><hr/></p><p style="margin:0px;margin-left:8px;text-align:left;">text="The system shall do"<br/>Id="62j32."</p>', "Requirement",null,null,this.getTagsForStencil("","package","sysml requirement ").join(" ")),this.createVertexTemplateEntry("shape=rect;overflow=fill;html=1;whiteSpace=wrap;align=center;",200,100,'<p style="margin:0px;margin-top:4px;text-align:center;"><<testCase>><br/><b>TestCaseName</b><hr/></p>',"Test Case",null,null,this.getTagsForStencil("","package","sysml requirement test case").join(" ")),this.addDataEntry("sysml requirement containment relationship",300,180,"Requirement Containment Relationship", "5ZXfboIwFMafpvdQnNkuB27ezMTEJ6hwQpsVykoR2dPvtBRdjSYmy5zJLkjOn37fob8GSpKs2i81a/hKFSBJ8kKSTCtlxqjaZyAloZEoSLIglEb4EPp6oRu7btQwDbW5RkBHwY7JDsYKoXNWNSRJJRqkYabhoxMaKms+Ncpg2ZQRmsQRhuvxTdyQ1gzSD2k5a2yoIbcCbirc+SLGsOfCwKZhuW33yAVrTIqyxjRHK9BugHtp0Ab2FzfuSn7XS1AVGD3gEi94GrlEvSgM9wLPKuIgSu5d5r7G2jEvD05Hqhh4sOchJ78MOeNCFvE9QR5OiN6C8uwWlOk9UZ4Ej57eX1B/OEP9hJBWXV2AXR+FgCTbgkxZ/l66JZmSCpEsalWjMoW6eNZa9d8qRQkb7wtyq/qXYyF1BWxYlCJnOCNtDdNm8miHdvW2xmGZsljH5kZ8WrOYHk7CzgjOoVWdziH4W6KyBBN821eclgbJjNiF7j9BP//n6Gc3Q4/p8Up2veDG/gI="), -this.addEntry("sysml requirement copy dependency",function(){var a=new mxCell("<<requirement>>\nSlave",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("<<requirement>>\nMaster",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("<<copy>>",new mxGeometry(0,0,0,0),"endArrow=open;edgeStyle=none;endSize=12;dashed=1;html=1;");e.geometry.relative=!0;e.edge= -!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Copy Dependency")}),this.addEntry("sysml requirement master callout",function(){var a=new mxCell("Master\n<<requirement>> Master",new mxGeometry(0,0,160,60),"shape=note;html=1;size=15;align=left;spacingLeft=5;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("<<requirement>> Slave",new mxGeometry(200,0,160,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex= -!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;edgeStyle=none;dashed=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Master Callout")}),this.addEntry("sysml requirement derive dependency",function(){var a=new mxCell("<<requirement>>\nClient",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("<<requirement>>\nSupplier", -new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("<<deriveReq>>",new mxGeometry(0,0,0,0),"endArrow=open;html=1;edgeStyle=none;endSize=12;dashed=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Derive Dependency")}),this.addEntry("sysml requirement derive callout",function(){var a=new mxCell("<<requirement>>\nReqA",new mxGeometry(0,0, -120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("Derived\n<<requirement>> ReqB",new mxGeometry(200,0,160,60),"shape=note;html=1;size=15;align=left;spacingLeft=5;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;edgeStyle=none;dashed=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Derive Callout")}),this.addEntry("sysml requirement derive callout", -function(){var a=new mxCell("DerivedFrom\n<<requirement>> ReqA",new mxGeometry(0,0,160,60),"shape=note;html=1;size=15;align=left;spacingLeft=5;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("<<requirement>>\nReqB",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e, -!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Derive Callout")}),this.addEntry("sysml requirement satisfy dependency",function(){var a=new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("<<requirement>>\nSupplier",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("<<satisfy>>",new mxGeometry(0,0,0,0),"endArrow=open;edgeStyle=none;endSize=12;dashed=1;html=1;"); -e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Satisfy Dependency")}),this.addEntry("sysml requirement satisfy callout",function(){var a=new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("Satisfies\n<<requirement>> ReqA",new mxGeometry(200,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;"); -d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Satisfy Callout")}),this.addEntry("sysml requirement satisfy callout",function(){var a=new mxCell("SatisfiedBy\nNamedElement",new mxGeometry(0,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("<<requirement>>\nReqA", -new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Satisfy Callout")}),this.addEntry("sysml requirement verify dependency",function(){var a=new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;"); -a.vertex=!0;var d=new mxCell("<<requirement>>\nSupplier",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("<<verify>>",new mxGeometry(0,0,0,0),"endArrow=open;edgeStyle=none;endSize=12;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Verify Dependency")}),this.addEntry("sysml requirement verify callout",function(){var a= -new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("Verifies\n<<requirement>> ReqA",new mxGeometry(200,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a, -d,e],360,60,"Verify Callout")}),this.addEntry("sysml requirement verify callout",function(){var a=new mxCell("VerifiedBy\nNamedElement",new mxGeometry(0,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("<<requirement>>\nReqA",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative= -!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Verify Callout")}),this.addEntry("sysml requirement refine dependency",function(){var a=new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("<<requirement>>\nClient",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("<<refine>>",new mxGeometry(0, -0,0,0),"endArrow=open;edgeStyle=none;endSize=12;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Refine Dependency")}),this.addEntry("sysml requirement refine dependency",function(){var a=new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("Refines\n<<requirement>> ReqA",new mxGeometry(200,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;"); -d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Refine Callout")}),this.addEntry("sysml requirement refine dependency",function(){var a=new mxCell("RefinedBy\nNamedElement",new mxGeometry(0,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("<<requirement>>\nReqA", -new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Refine Callout")}),this.addEntry("sysml requirement trace dependency",function(){var a=new mxCell("<<requirement>>\nClient",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;"); -a.vertex=!0;var d=new mxCell("<<requirement>>\nSupplier",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("<<trace>>",new mxGeometry(0,0,0,0),"endArrow=open;edgeStyle=none;endSize=12;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Trace Dependency")}),this.addEntry("sysml requirement refine callout",function(){var a=new mxCell("NamedElement", -new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("TracedFrom\n<<requirement>> ReqA",new mxGeometry(200,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Refine Callout")}), -this.addEntry("sysml requirement trace callout",function(){var a=new mxCell("TracedTo\nNamedElement",new mxGeometry(0,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("<<requirement>>\nReqA",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e, -!0);d.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,d,e],360,60,"Trace Callout")})];this.addPalette("sysmlRequirements","SysML / Requirements",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<e.length;b++)a.appendChild(e[b](a))}))};Sidebar.prototype.addSysMLProfilesPalette=function(a){var b=this,e=[this.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",160,80,"<<stereotype>>\nStereotypeName","Stereotype",null,null,this.getTagsForStencil("","","sysml profile stereotype").join(" ")), +this.addEntry("sysml requirement copy dependency",function(){var a=new mxCell("<<requirement>>\nSlave",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("<<requirement>>\nMaster",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");c.vertex=!0;var e=new mxCell("<<copy>>",new mxGeometry(0,0,0,0),"endArrow=open;edgeStyle=none;endSize=12;dashed=1;html=1;");e.geometry.relative=!0;e.edge= +!0;a.insertEdge(e,!0);c.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,c,e],360,60,"Copy Dependency")}),this.addEntry("sysml requirement master callout",function(){var a=new mxCell("Master\n<<requirement>> Master",new mxGeometry(0,0,160,60),"shape=note;html=1;size=15;align=left;spacingLeft=5;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("<<requirement>> Slave",new mxGeometry(200,0,160,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");c.vertex= +!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;edgeStyle=none;dashed=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);c.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,c,e],360,60,"Master Callout")}),this.addEntry("sysml requirement derive dependency",function(){var a=new mxCell("<<requirement>>\nClient",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("<<requirement>>\nSupplier", +new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");c.vertex=!0;var e=new mxCell("<<deriveReq>>",new mxGeometry(0,0,0,0),"endArrow=open;html=1;edgeStyle=none;endSize=12;dashed=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);c.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,c,e],360,60,"Derive Dependency")}),this.addEntry("sysml requirement derive callout",function(){var a=new mxCell("<<requirement>>\nReqA",new mxGeometry(0,0, +120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("Derived\n<<requirement>> ReqB",new mxGeometry(200,0,160,60),"shape=note;html=1;size=15;align=left;spacingLeft=5;whiteSpace=wrap;align=center;");c.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;edgeStyle=none;dashed=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);c.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,c,e],360,60,"Derive Callout")}),this.addEntry("sysml requirement derive callout", +function(){var a=new mxCell("DerivedFrom\n<<requirement>> ReqA",new mxGeometry(0,0,160,60),"shape=note;html=1;size=15;align=left;spacingLeft=5;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("<<requirement>>\nReqB",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");c.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);c.insertEdge(e, +!1);return b.createVertexTemplateFromCells([a,c,e],360,60,"Derive Callout")}),this.addEntry("sysml requirement satisfy dependency",function(){var a=new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("<<requirement>>\nSupplier",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");c.vertex=!0;var e=new mxCell("<<satisfy>>",new mxGeometry(0,0,0,0),"endArrow=open;edgeStyle=none;endSize=12;dashed=1;html=1;"); +e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);c.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,c,e],360,60,"Satisfy Dependency")}),this.addEntry("sysml requirement satisfy callout",function(){var a=new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("Satisfies\n<<requirement>> ReqA",new mxGeometry(200,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;"); +c.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);c.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,c,e],360,60,"Satisfy Callout")}),this.addEntry("sysml requirement satisfy callout",function(){var a=new mxCell("SatisfiedBy\nNamedElement",new mxGeometry(0,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("<<requirement>>\nReqA", +new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");c.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);c.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,c,e],360,60,"Satisfy Callout")}),this.addEntry("sysml requirement verify dependency",function(){var a=new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;"); +a.vertex=!0;var c=new mxCell("<<requirement>>\nSupplier",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");c.vertex=!0;var e=new mxCell("<<verify>>",new mxGeometry(0,0,0,0),"endArrow=open;edgeStyle=none;endSize=12;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);c.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,c,e],360,60,"Verify Dependency")}),this.addEntry("sysml requirement verify callout",function(){var a= +new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("Verifies\n<<requirement>> ReqA",new mxGeometry(200,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");c.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);c.insertEdge(e,!1);return b.createVertexTemplateFromCells([a, +c,e],360,60,"Verify Callout")}),this.addEntry("sysml requirement verify callout",function(){var a=new mxCell("VerifiedBy\nNamedElement",new mxGeometry(0,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("<<requirement>>\nReqA",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");c.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative= +!0;e.edge=!0;a.insertEdge(e,!0);c.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,c,e],360,60,"Verify Callout")}),this.addEntry("sysml requirement refine dependency",function(){var a=new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("<<requirement>>\nClient",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");c.vertex=!0;var e=new mxCell("<<refine>>",new mxGeometry(0, +0,0,0),"endArrow=open;edgeStyle=none;endSize=12;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);c.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,c,e],360,60,"Refine Dependency")}),this.addEntry("sysml requirement refine dependency",function(){var a=new mxCell("NamedElement",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("Refines\n<<requirement>> ReqA",new mxGeometry(200,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;"); +c.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);c.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,c,e],360,60,"Refine Callout")}),this.addEntry("sysml requirement refine dependency",function(){var a=new mxCell("RefinedBy\nNamedElement",new mxGeometry(0,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("<<requirement>>\nReqA", +new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");c.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);c.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,c,e],360,60,"Refine Callout")}),this.addEntry("sysml requirement trace dependency",function(){var a=new mxCell("<<requirement>>\nClient",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;"); +a.vertex=!0;var c=new mxCell("<<requirement>>\nSupplier",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");c.vertex=!0;var e=new mxCell("<<trace>>",new mxGeometry(0,0,0,0),"endArrow=open;edgeStyle=none;endSize=12;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);c.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,c,e],360,60,"Trace Dependency")}),this.addEntry("sysml requirement refine callout",function(){var a=new mxCell("NamedElement", +new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("TracedFrom\n<<requirement>> ReqA",new mxGeometry(200,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");c.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!0);c.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,c,e],360,60,"Refine Callout")}), +this.addEntry("sysml requirement trace callout",function(){var a=new mxCell("TracedTo\nNamedElement",new mxGeometry(0,0,160,60),"shape=note;size=15;align=left;spacingLeft=5;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("<<requirement>>\nReqA",new mxGeometry(240,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");c.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;edgeStyle=none;dashed=1;html=1;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e, +!0);c.insertEdge(e,!1);return b.createVertexTemplateFromCells([a,c,e],360,60,"Trace Callout")})];this.addPalette("sysmlRequirements","SysML / Requirements",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<e.length;b++)a.appendChild(e[b](a))}))};Sidebar.prototype.addSysMLProfilesPalette=function(a){var b=this,e=[this.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",160,80,"<<stereotype>>\nStereotypeName","Stereotype",null,null,this.getTagsForStencil("","","sysml profile stereotype").join(" ")), this.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",160,80,"<<metaclass>>\nMetaClassName","Metaclass",null,null,this.getTagsForStencil("","","sysml profile metaclass").join(" ")),this.createVertexTemplateEntry("shape=folder;tabWidth=80;tabHeight=20;tabPosition=left;html=1;whiteSpace=wrap;align=center;",160,100,"<<profile>>\nProfileName","Profile",null,null,this.getTagsForStencil("","","sysml profile profile").join(" ")),this.createVertexTemplateEntry("shape=folder;tabWidth=80;tabHeight=20;tabPosition=left;html=1;whiteSpace=wrap;align=center;", -160,100,"<<modelLibrary>>\nLibraryName","Model Library",null,null,this.getTagsForStencil("","","sysml profile model library").join(" ")),this.addEntry("sysml profile extension",function(){var a=new mxCell("<<metaclass>>\nMetaClassName",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var d=new mxCell("<<stereotype>>\nStereotypeName",new mxGeometry(0,120,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex= -!0;var e=new mxCell("{required}",new mxGeometry(0,0,0,0),"endArrow=block;html=1;endFill=1;edgeStyle=none;endSize=12;labelBackgroundColor=none;align=left;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!1);d.insertEdge(e,!0);return b.createVertexTemplateFromCells([a,d,e],120,180,"Extension")}),this.addEntry("sysml profile generalization",function(){var a=new mxCell("<<stereotype>>\nStereotypeName",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex= -!0;var d=new mxCell("<<stereotype>>\nStereotypeName",new mxGeometry(0,120,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");d.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=block;html=1;endFill=0;edgeStyle=none;endSize=12;labelBackgroundColor=none;align=left;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!1);d.insertEdge(e,!0);return b.createVertexTemplateFromCells([a,d,e],120,180,"Generalization")}),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=bottom;", +160,100,"<<modelLibrary>>\nLibraryName","Model Library",null,null,this.getTagsForStencil("","","sysml profile model library").join(" ")),this.addEntry("sysml profile extension",function(){var a=new mxCell("<<metaclass>>\nMetaClassName",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex=!0;var c=new mxCell("<<stereotype>>\nStereotypeName",new mxGeometry(0,120,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");c.vertex= +!0;var e=new mxCell("{required}",new mxGeometry(0,0,0,0),"endArrow=block;html=1;endFill=1;edgeStyle=none;endSize=12;labelBackgroundColor=none;align=left;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!1);c.insertEdge(e,!0);return b.createVertexTemplateFromCells([a,c,e],120,180,"Extension")}),this.addEntry("sysml profile generalization",function(){var a=new mxCell("<<stereotype>>\nStereotypeName",new mxGeometry(0,0,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");a.vertex= +!0;var c=new mxCell("<<stereotype>>\nStereotypeName",new mxGeometry(0,120,120,60),"shape=rect;html=1;whiteSpace=wrap;align=center;");c.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=block;html=1;endFill=0;edgeStyle=none;endSize=12;labelBackgroundColor=none;align=left;");e.geometry.relative=!0;e.edge=!0;a.insertEdge(e,!1);c.insertEdge(e,!0);return b.createVertexTemplateFromCells([a,c,e],120,180,"Generalization")}),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=bottom;", 160,0,"<<apply>>{strict}","Profile Application",null,this.getTagsForStencil("","","sysml profile profile application").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;dashed=1;verticalAlign=top;",160,0,"<<reference>>","Metamodel Reference",null,this.getTagsForStencil("","","sysml profile metamodel reference").join(" ")),this.createEdgeTemplateEntry("edgeStyle=none;html=1;endArrow=open;endSize=12;verticalAlign=bottom;",160,0,"propertyName", "Unidirectional Association",null,this.getTagsForStencil("","","sysml profile unidirectional association").join(" "))];this.addPalette("sysmlProfiles","SysML / Profiles",a||!1,mxUtils.bind(this,function(a){for(var b=0;b<e.length;b++)a.appendChild(e[b](a))}))};Sidebar.prototype.addSysMLStereotypesPalette=function(a){var b=[this.addDataEntry("sysml stereotype note",320,150,"Stereotype Note","3ZZdb5swFIZ/DZeVwCTRbgPpetNOkSLt3oETsGYwM4ck7NfvGDtQAkk7tdKkXkSx3/Nh8/Aa8MK4OD9pXuUvKgXphY9eGGul0I6KcwxSeswXqRduPMZ8+nns+41o0EX9imso8T0FzBYcuWzAKh5bSSqNKpJrbKWVV78bs6Wo4DoTpReu/ercTx9QVSQFI03CAQcR4YwPXIrM1NpQNHSlUeb+u7X3rwReUO9ITmc1ggaFbQU/eAF9bFw3bqsNCNd6q1UFGtuuONz8NAR2qEWZzaa/NBLFvZqYeL3VJFJKAi9HbVweZe2vMZBWDRob3RBW57wyw1IhGBrij5kFSzOueEJbeO4wb4ySYyFNlIbqCPog1YmmB0FeCKNTLhB2VGManMiK/XKUSjfuprU6yfnqCVQBqFtKcQUL6zz/JFLMndu+OS0HkeWuy0XjtZ1nfafBtzRw1p23cTix8aOEwmyUrTwWBj5dkqV9g6KGxFA+qBJ3LhqMuc1RcobeJLQS6A9ia100mHKbw7b4BGyLL4DNFVwedP8D43KCccsxnwWnVVOmYOoMW8n3ICOe/Mo6PVZS6e5Il+ZIGx4i4XLtcHVP2QjKdK11d35d3h36dn1IMxhhrVWjExgdHaSnNuDIFu+Ar0FyFMdx94+gXM28j+4inOJIeZ134X9nwT7/wl3pVglzqi5uDZZXbg2vbGhvh6u6wtdvY44oTYevB5v++uPiLw=="), this.addDataEntry("sysml stereotype note",320,150,"Stereotype Note","rZRNj9owEIZ/jY8rJTGLet3Adi/daiWk3r1kSCw5tutMgPTXdxybZA2hXak9IMbvfNg8fjHjm/b84oRtXk0FivFnxjfOGAxRe96AUqzIZMX4lhVFRh9WfL2TzcdsZoUDjZ9pKELDUagegsKKtaLW0pLc4aCCvP7Z+yOVrXC11Iw/ZfY8LR/QWJLyRFNwwFlEOOODULL2vSFVzlMpquP3uPf7B0G0NLtUt6sOwYHBwcJ30cKUS/vSsc6DiKPfnLHgcBib+faHJ7BDJ3W9WP7aK5R/6tkQr78NKY1RIHQyJtZR1fs1BtLsrBXJhRRdI6wPtUHwNOQvv8offWzFno7wbcS89UqDrfJZCs0R3EGZEy0PkrzAy1MjEXbU4wecyIrTdlRKF3fXWqMUffUCpgV0A5XEhlVwXnaSFTbRbV+i1oCsmzjlookurOtp0uxbCqJ1l23Mb2z8rKD1By3WrOB5Rj8p0L5D0cHeUz4YjbuYzVNuS5Siobd72gncP2IbYja/5baEbfUfsK0W/v1XgJzpdQW+3jMEXT05N5pHG+19V4muGdNXuMIgqGpIOHSmd3tI3h6k9wIwucdP0HKgBMpjOn2JRWx9M9K74WLO/DHiu1DnVzjDqWLXFdHpGEuQaTk/36H84+v+Gw=="), this.createVertexTemplateEntry("shape=rect;html=1;whiteSpace=wrap;align=center;",160,80,"<<stereotypeName>>\n{PropertyName=ValueString;\nBooleanPropertyName}\nNodeName","Stereotype (Node)",null,null,this.getTagsForStencil("","","sysml stereotype node").join(" ")),this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",400,100,'<p style="margin:0px;margin-top:4px;text-align:center;"><b>NodeName</b><hr/></p><p style="margin:0px;margin-left:10px;text-align:left;"><<stereotypeName>>{PropertyName=ValueString}ElementName<br/><<stereotypeName>>{PropertyName=ValueString};<br/>BooleanPropertyName<br/>ElementName</p>', "Stereotype (Compartment)",null,null,this.getTagsForStencil("","","sysml stereotype compartment").join(" ")),this.addDataEntry("sysml stereotype edge",200,180,"Stereotype (Edge)","3VTBboMwDP2a3CmZ2vOgXU+bKlXaPQM3iRYSZEwp+/oFCO2ytVJ32WEHJD8/G/OeQxjPq9MWRa2eXQmG8Q3jOTpHU1SdcjCGpYkuGV+zNE38w9KnG+xiZJNaIFi6pyGdGo7CtDBlNgaqoTldspQvEsazF1HBVNZQb0JZo0Q9hAiFH5QdnKV9YBceK6pMCDulCfa1KAau80p9ThgtrYeFnwToE+EzAAlON6WMqaBjC64Cwt6XdLokFSqC3ESBliq0LUNONBOW59aLMT4I3lz3if8Dn/pvHv2Fbw8/fPOGiWrQZmjU8xU1XiRQ72CyMlAyKpzR7DpbZTt0tXekH7v4+nUYtifUVsalmXMGhI3KV+udIHV1dWDLR0TXeWSdhXhbUEqYFxlYI97AZKJ4l+haW+bOOLyw8yoNHK4dhBHrjxEm50UPU6I1N67FAqIzSQIlUPQ733EYEIwgfYzf/otNe3i5pUYuusQ+AQ=="), this.createVertexTemplateEntry("shape=rect;html=1;overflow=fill;whiteSpace=wrap;align=center;",300,120,'<p style="margin:0px;margin-top:4px;text-align:center;"><b><<stereotypeName>></br>NodeName</b><hr/></p><p style="margin:0px;margin-left:10px;text-align:left;"><<stereotypeName>><br/>PropertyName=ValueString<br/>MultiPropertyName=ValueString, ValueString<br/>BooleanPropertyName<br/></p>',"Stereotype (Compartment)",null,null,this.getTagsForStencil("","","sysml stereotype compartment").join(" "))]; -this.addPalette("sysmlStereotypes","SysML / Stereotypes",a||!1,mxUtils.bind(this,function(a){for(var c=0;c<b.length;c++)a.appendChild(b[c](a))}))}})();(function(){Sidebar.prototype.addVeeamPalette=function(){this.addVeeamDataCenterPalette();this.addVeeamMiscPalette();this.addVeeamSoftwarePalette();this.addVeeamStoragePalette();this.addVeeamUsersStatusPalette();this.addVeeamVASComponentsPalette();this.addVeeamBackupReplicationPalette();this.addVeeamProductsPalette();this.addVeeamVMsTapePalette();this.addVeeam3DPalette()};Sidebar.prototype.addVeeamDataCenterPalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.hyper_v_vmware_host;", +this.addPalette("sysmlStereotypes","SysML / Stereotypes",a||!1,mxUtils.bind(this,function(a){for(var d=0;d<b.length;d++)a.appendChild(b[d](a))}))}})();(function(){Sidebar.prototype.addVeeamPalette=function(){this.addVeeamDataCenterPalette();this.addVeeamMiscPalette();this.addVeeamSoftwarePalette();this.addVeeamStoragePalette();this.addVeeamUsersStatusPalette();this.addVeeamVASComponentsPalette();this.addVeeamBackupReplicationPalette();this.addVeeamProductsPalette();this.addVeeamVMsTapePalette();this.addVeeam3DPalette()};Sidebar.prototype.addVeeamDataCenterPalette=function(){var a=[this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.hyper_v_vmware_host;", 108,104,"","VMware/Hyper-V Host",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","hyper vmware host","veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.hyper_v_host;",108,104,"","Hyper-V Host",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","hyper host", "veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.vmware_host;",108,104,"","VMware Host",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","vmware host","veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#4495D1;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.virtual_host;", 108,104,"","Virtual Host",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","virtual host","veeam vmware virtual machine data center").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#EF8F21;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam.production_site;",44.8,44.8,"","Production Site",null,null,this.getTagsForStencil("mxgraph.veeam.data_center","production site", @@ -7619,126 +7611,123 @@ this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeC 43,50,"","Wavefront",null,null,this.getTagsForStencil("mxgraph.vvd","wavefront","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.web_browser;",50,35.5,"","Web Browser",null,null,this.getTagsForStencil("mxgraph.vvd","web browser","vmware validated design").join(" ")),this.createVertexTemplateEntry("pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#434445;aspect=fixed;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.vvd.wi_fi;", 50,50,"","Wi-Fi",null,null,this.getTagsForStencil("mxgraph.vvd","wi fi wifi","vmware validated design").join(" "))];this.addPalette("vvd","VMware Validated Design",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))}})();(function(){Sidebar.prototype.addWebIconsPalette=function(){var a="dashed=0;outlineConnect=0;html=1;align=center;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;"+mxConstants.STYLE_SHAPE+"=mxgraph.webicons.";this.addPaletteFunctions("webicons","Web Icons",!1,[this.createVertexTemplateEntry(a+"adfty;fillColor=#66E8F3;gradientColor=#1C7CBA",102.4,102.4,"","Adfty",null,null,this.getTagsForStencil("mxgraph.webicons","adfty","web icons icon").join(" ")),this.createVertexTemplateEntry(a+ "adobe_pdf;fillColor=#F40C0C;gradientColor=#610603",102.4,102.4,"","Adobe PDF",null,null,this.getTagsForStencil("mxgraph.webicons","adobe pdf","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"aim;fillColor=#27E1E5;gradientColor=#0A4361",102.4,102.4,"","Aim",null,null,this.getTagsForStencil("mxgraph.webicons","aim","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"allvoices;fillColor=#807E7E;gradientColor=#1B1C1C",102.4,102.4,"","Allvoices",null,null,this.getTagsForStencil("mxgraph.webicons", -"allvoices","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"amazon;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Amazon",null,null,this.getTagsForStencil("mxgraph.webicons","amazon","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"amazon_2;fillColor=#605658;gradientColor=#231F20",102.4,102.4,"","Amazon",null,null,this.getTagsForStencil("mxgraph.webicons","amazon","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"android;fillColor=#FFFFFF;gradientColor=#DFDEDE", -102.4,102.4,"","Android",null,null,this.getTagsForStencil("mxgraph.webicons","android","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"apache;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Apache",null,null,this.getTagsForStencil("mxgraph.webicons","apache db database","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"apple;fillColor=#807E7E;gradientColor=#1B1C1C",102.4,102.4,"","Apple",null,null,this.getTagsForStencil("mxgraph.webicons","apple","web icons icon").join(" ")), -this.createVertexTemplateEntry(a+"apple_classic;fillColor=#66E8F3;gradientColor=#1C7CBA",102.4,102.4,"","Apple (classic)",null,null,this.getTagsForStencil("mxgraph.webicons","apple classic","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"arduino;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Arduino",null,null,this.getTagsForStencil("mxgraph.webicons","arduino","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"ask;fillColor=#F33543;gradientColor=#B50E11",102.4, -102.4,"","Ask",null,null,this.getTagsForStencil("mxgraph.webicons","ask","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"atlassian;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Atlassian",null,null,this.getTagsForStencil("mxgraph.webicons","atlassian","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"audioboo;fillColor=#EB35CF;gradientColor=#8C0E35",102.4,102.4,"","Audioboo",null,null,this.getTagsForStencil("mxgraph.webicons","audioboo","web icons icon").join(" ")), -this.createVertexTemplateEntry(a+"aws;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","AWS",null,null,this.getTagsForStencil("mxgraph.webicons","aws amazon web service","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"aws_s3;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","AWS S3",null,null,this.getTagsForStencil("mxgraph.webicons","aws s3 amazon web service","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"baidu;fillColor=#738FE8;gradientColor=#1F2470", -102.4,102.4,"","Baidu",null,null,this.getTagsForStencil("mxgraph.webicons","baidu","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"bebo;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Bebo",null,null,this.getTagsForStencil("mxgraph.webicons","bebo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"behance;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Behance",null,null,this.getTagsForStencil("mxgraph.webicons","behance","web icons icon").join(" ")), -this.createVertexTemplateEntry(a+"bing;fillColor=#0A776E;gradientColor=#053D39",102.4,102.4,"","Bing",null,null,this.getTagsForStencil("mxgraph.webicons","bing","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"bitbucket;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Bitbucket",null,null,this.getTagsForStencil("mxgraph.webicons","bitbucket","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"blinklist;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Blinklist", -null,null,this.getTagsForStencil("mxgraph.webicons","blinklist","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"blogger;fillColor=#FDE47C;gradientColor=#F55F21",102.4,102.4,"","Blogger",null,null,this.getTagsForStencil("mxgraph.webicons","blogger","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"blogmarks;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Blogmarks",null,null,this.getTagsForStencil("mxgraph.webicons","blogmarks","web icons icon").join(" ")),this.createVertexTemplateEntry(a+ -"bookmarks.fr;fillColor=#F9FAF4;gradientColor=#DCDFBB",102.4,102.4,"","Bookmarks.fr",null,null,this.getTagsForStencil("mxgraph.webicons","bookmarks.fr","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"box;fillColor=#4CDFEF;gradientColor=#153EA0",102.4,102.4,"","Box",null,null,this.getTagsForStencil("mxgraph.webicons","box","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"buddymarks;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Buddymarks",null,null,this.getTagsForStencil("mxgraph.webicons", -"buddymarks","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"buffer;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Buffer",null,null,this.getTagsForStencil("mxgraph.webicons","buffer","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"buzzfeed;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Buzzfeed",null,null,this.getTagsForStencil("mxgraph.webicons","buzzfeed","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"chrome;fillColor=#FFFFFF;gradientColor=#DFDEDE", -103.2,104,"","Chrome",null,null,this.getTagsForStencil("mxgraph.webicons","chrome","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"citeulike;fillColor=#ACD65E;gradientColor=#2E3618",102.4,102.4,"","Citeulike",null,null,this.getTagsForStencil("mxgraph.webicons","citeulike","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"confluence;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Confluence",null,null,this.getTagsForStencil("mxgraph.webicons","confluence","web icons icon").join(" ")), -this.createVertexTemplateEntry(a+"connotea;fillColor=#E9FDFC;gradientColor=#BADBE9",102.4,102.4,"","Connotea",null,null,this.getTagsForStencil("mxgraph.webicons","connotea","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"dealsplus;fillColor=#B569B5;gradientColor=#7A467A",102.4,102.4,"","Dealsplus",null,null,this.getTagsForStencil("mxgraph.webicons","dealsplus","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"delicious",102.4,102.4,"","Delicious",null,null,this.getTagsForStencil("mxgraph.webicons", -"delicious","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"designfloat;fillColor=#247BE0;gradientColor=#0A1F42",102.4,102.4,"","Designfloat",null,null,this.getTagsForStencil("mxgraph.webicons","designfloat","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"deviantart;fillColor=#00C659;gradientColor=#00813B",102.4,102.4,"","Deviantart",null,null,this.getTagsForStencil("mxgraph.webicons","deviantart","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"digg;fillColor=#FFFFFF;gradientColor=#DFDEDE", -102.4,102.4,"","Digg",null,null,this.getTagsForStencil("mxgraph.webicons","digg","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"diigo;fillColor=#2C7DE0;gradientColor=#1E5599",102.4,102.4,"","Diigo",null,null,this.getTagsForStencil("mxgraph.webicons","diiigo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"dopplr;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Dopplr",null,null,this.getTagsForStencil("mxgraph.webicons","dopplr","web icons icon").join(" ")),this.createVertexTemplateEntry(a+ -"drawio2;fillColor=#2174CE;gradientColor=#134277",102.4,102.4,"","Draw.io",null,null,this.getTagsForStencil("mxgraph.webicons","drawio draw io draw.io","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"dribbble;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Dribbble",null,null,this.getTagsForStencil("mxgraph.webicons","dribbble","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"dropbox;fillColor=#0BAAFE;gradientColor=#0080E6",102.4,102.4,"","Dropbox",null,null, -this.getTagsForStencil("mxgraph.webicons","dropbox","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"dropbox2;fillColor=#2FB8FC;gradientColor=#0080E6",102.4,102.4,"","Dropbox",null,null,this.getTagsForStencil("mxgraph.webicons","dropbox","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"drupal;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Drupal",null,null,this.getTagsForStencil("mxgraph.webicons","drupal","web icons icon").join(" ")),this.createVertexTemplateEntry(a+ -"dzone;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Dzone",null,null,this.getTagsForStencil("mxgraph.webicons","dzone","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"ebay;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Ebay",null,null,this.getTagsForStencil("mxgraph.webicons","ebay","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"edmodo;fillColor=#2F81CE;gradientColor=#1F5487",102.4,102.4,"","Edmodo",null,null,this.getTagsForStencil("mxgraph.webicons", -"edmodo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"evernote;fillColor=#D4EF75;gradientColor=#399F1F",102.4,102.4,"","Evernote",null,null,this.getTagsForStencil("mxgraph.webicons","evernote","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"facebook;fillColor=#6294E4;gradientColor=#1A2665",102.4,102.4,"","Facebook",null,null,this.getTagsForStencil("mxgraph.webicons","facebook","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"fancy;fillColor=#C3ECF8;gradientColor=#348DD4", -102.4,102.4,"","Fancy",null,null,this.getTagsForStencil("mxgraph.webicons","fancy","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"fark;fillColor=#EBEBF1;gradientColor=#8482A7",102.4,102.4,"","Fark",null,null,this.getTagsForStencil("mxgraph.webicons","fark","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"fashiolista;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Fashiolista",null,null,this.getTagsForStencil("mxgraph.webicons","fashiolista","web icons icon").join(" ")), -this.createVertexTemplateEntry(a+"feed;fillColor=#FFAC75;gradientColor=#FF6600",102.4,102.4,"","Feed",null,null,this.getTagsForStencil("mxgraph.webicons","feed","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"feedburner;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Feedburner",null,null,this.getTagsForStencil("mxgraph.webicons","feedburner","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"flickr;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Flickr", -null,null,this.getTagsForStencil("mxgraph.webicons","flickr","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"folkd;fillColor=#27A2E9;gradientColor=#0A2977",102.4,102.4,"","Folkd",null,null,this.getTagsForStencil("mxgraph.webicons","folkd","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"forrst;fillColor=#3E6B32;gradientColor=#111C0D",102.4,102.4,"","Forrst",null,null,this.getTagsForStencil("mxgraph.webicons","forrst","web icons icon").join(" ")),this.createVertexTemplateEntry(a+ -"fotolog;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Fotolog",null,null,this.getTagsForStencil("mxgraph.webicons","fotolog","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"freshbump;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Freshbump",null,null,this.getTagsForStencil("mxgraph.webicons","freshbump","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"fresqui;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Fresqui",null,null,this.getTagsForStencil("mxgraph.webicons", -"fresqui","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"friendfeed;fillColor=#7BDCEF;gradientColor=#21379E",102.4,102.4,"","Friendfeed",null,null,this.getTagsForStencil("mxgraph.webicons","fiendfeed","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"funp;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Funp",null,null,this.getTagsForStencil("mxgraph.webicons","funp","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"fwisp;fillColor=#FFFFFF;gradientColor=#DFDEDE", -102.4,102.4,"","Fwisp",null,null,this.getTagsForStencil("mxgraph.webicons","fwisp","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"gabbr;fillColor=#FBAC39;gradientColor=#EA2B0E",102.4,102.4,"","Gabbr",null,null,this.getTagsForStencil("mxgraph.webicons","gabbr","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"gamespot;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Gamespot",null,null,this.getTagsForStencil("mxgraph.webicons","gamespot","web icons icon").join(" ")), -this.createVertexTemplateEntry(a+"github;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Github",null,null,this.getTagsForStencil("mxgraph.webicons","github","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"gmail;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Gmail",null,null,this.getTagsForStencil("mxgraph.webicons","gmail","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"google;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Google",null,null, -this.getTagsForStencil("mxgraph.webicons","google","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"google_drive;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Google Drive",null,null,this.getTagsForStencil("mxgraph.webicons","google drive","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"google_hangout;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Google Hangout",null,null,this.getTagsForStencil("mxgraph.webicons","google hangout","web icons icon").join(" ")), -this.createVertexTemplateEntry(a+"google_play;fillColor=#000000",69.4,20.6,"","Google Play",null,null,this.getTagsForStencil("mxgraph.webicons","google play","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"google_play_light;fillColor=#66E8F3;gradientColor=#1C7CBA",60,10.4,"","Google Play Light",null,null,this.getTagsForStencil("mxgraph.webicons","google play light","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"google_photos;fillColor=#FFFFFF;gradientColor=#DFDEDE", -102.4,102.4,"","Google Photos",null,null,this.getTagsForStencil("mxgraph.webicons","google photos","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"google_plus;fillColor=#F24B46;gradientColor=#AD3832",102.4,102.4,"","Google Plus",null,null,this.getTagsForStencil("mxgraph.webicons","google plus","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"grooveshark;fillColor=#695D5D;gradientColor=#000000",102.4,102.4,"","Grooveshark",null,null,this.getTagsForStencil("mxgraph.webicons", -"grooveshark","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"hatena;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Hatena",null,null,this.getTagsForStencil("mxgraph.webicons","hatena","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"html5;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","HTML5",null,null,this.getTagsForStencil("mxgraph.webicons","html5 html","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"identi.ca;fillColor=#FFFFFF;gradientColor=#DFDEDE", -102.4,102.4,"","Identi.ca",null,null,this.getTagsForStencil("mxgraph.webicons","identi.ca","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"instagram;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Instagram",null,null,this.getTagsForStencil("mxgraph.webicons","instagram","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"instapaper;fillColor=#807E7E;gradientColor=#1B1C1C",102.4,102.4,"","Instapaper",null,null,this.getTagsForStencil("mxgraph.webicons","instapaper", -"web icons icon").join(" ")),this.createVertexTemplateEntry(a+"ios;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","iOS",null,null,this.getTagsForStencil("mxgraph.webicons","ios","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"jamespot;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Jamespot",null,null,this.getTagsForStencil("mxgraph.webicons","jamespot","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"java;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4, -102.4,"","Java",null,null,this.getTagsForStencil("mxgraph.webicons","java","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"joomla;fillColor=#1F457D;gradientColor=#081220",102.4,102.4,"","Joomla",null,null,this.getTagsForStencil("mxgraph.webicons","joomla","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"jquery;fillColor=#0BB9EA;gradientColor=#032F80",102.4,102.4,"","Jquery",null,null,this.getTagsForStencil("mxgraph.webicons","jquery","web icons icon").join(" ")),this.createVertexTemplateEntry(a+ -"json;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","JSON",null,null,this.getTagsForStencil("mxgraph.webicons","json","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"json_2;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","JSON",null,null,this.getTagsForStencil("mxgraph.webicons","json","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"last.fm;fillColor=#F33543;gradientColor=#BD0E11",102.4,102.4,"","Last.fm",null,null,this.getTagsForStencil("mxgraph.webicons", -"last.fm last fm","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"linkagogo;fillColor=#F6F5FA;gradientColor=#C8C1E1",102.4,102.4,"","Linkagogo",null,null,this.getTagsForStencil("mxgraph.webicons","linkagogo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"linkedin;fillColor=#0095DB;gradientColor=#006391",102.4,102.4,"","LinkedIn",null,null,this.getTagsForStencil("mxgraph.webicons","linkedin","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"livejournal;fillColor=#2690E5;gradientColor=#0A2463", -102.4,102.4,"","Livejournal",null,null,this.getTagsForStencil("mxgraph.webicons","livejournal","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"mail.ru;fillColor=#267BE0;gradientColor=#0A1F42",102.4,102.4,"","Mail.ru",null,null,this.getTagsForStencil("mxgraph.webicons","mail.ru","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"meetup;fillColor=#F83263;gradientColor=#D40D19",102.4,102.4,"","Meetup",null,null,this.getTagsForStencil("mxgraph.webicons","meetup","web icons icon").join(" ")), -this.createVertexTemplateEntry(a+"meneame;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Meneame",null,null,this.getTagsForStencil("mxgraph.webicons","meneame","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"messenger;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Messenger",null,null,this.getTagsForStencil("mxgraph.webicons","messenger","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"messenger_2;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4, -"","Messenger",null,null,this.getTagsForStencil("mxgraph.webicons","messenger","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"messenger_3;fillColor=#09BEFC;gradientColor=#0060FA",102.4,102.4,"","Messenger",null,null,this.getTagsForStencil("mxgraph.webicons","messenger","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"mind_body_green;fillColor=#E0EEF8;gradientColor=#4496D5",102.4,102.4,"","Mind Body Green",null,null,this.getTagsForStencil("mxgraph.webicons","mind body green", -"web icons icon").join(" ")),this.createVertexTemplateEntry(a+"mongodb;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","MongoDb",null,null,this.getTagsForStencil("mxgraph.webicons","mongodb","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"myspace;fillColor=#3C69E2;gradientColor=#101B54",102.4,102.4,"","MySpace",null,null,this.getTagsForStencil("mxgraph.webicons","myspace","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"n4g;fillColor=#FFFFFF;gradientColor=#DFDEDE", -102.4,102.4,"","N4g",null,null,this.getTagsForStencil("mxgraph.webicons","n4g","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"netlog;fillColor=#FA3743;gradientColor=#E10E11",102.4,102.4,"","Netlog",null,null,this.getTagsForStencil("mxgraph.webicons","netlog","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"netvibes;fillColor=#99DB00;gradientColor=#638E00",102.4,102.4,"","Netvibes",null,null,this.getTagsForStencil("mxgraph.webicons","netvibes","web icons icon").join(" ")), -this.createVertexTemplateEntry(a+"netvouz;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Netvouz",null,null,this.getTagsForStencil("mxgraph.webicons","netvouz","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"networkedblogs;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Networkedblogs",null,null,this.getTagsForStencil("mxgraph.webicons","networkedblogs","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"newsvine;fillColor=#008733;gradientColor=#00441B", -102.4,102.4,"","Newsvine",null,null,this.getTagsForStencil("mxgraph.webicons","newsvine","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"odnoklassniki;fillColor=#FDE15A;gradientColor=#F24317",102.4,102.4,"","Odnoklassniki",null,null,this.getTagsForStencil("mxgraph.webicons","odnoklassniki","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"oknotizie;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Oknotizie",null,null,this.getTagsForStencil("mxgraph.webicons","oknotizie", -"web icons icon").join(" ")),this.createVertexTemplateEntry(a+"onedrive;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","OneDrive",null,null,this.getTagsForStencil("mxgraph.webicons","onedrive","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"oracle;fillColor=#FA3743;gradientColor=#E10E11",102.4,102.4,"","Oracle",null,null,this.getTagsForStencil("mxgraph.webicons","oracle","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"paypal;fillColor=#FFFFFF;gradientColor=#DFDEDE", -102.4,102.4,"","Paypal",null,null,this.getTagsForStencil("mxgraph.webicons","paypal","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"phone;fillColor=#76F21E;gradientColor=#079704",102.4,102.4,"","Phone",null,null,this.getTagsForStencil("mxgraph.webicons","phone","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"phonefavs;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Phonefavs",null,null,this.getTagsForStencil("mxgraph.webicons","phonefavs","web icons icon").join(" ")), -this.createVertexTemplateEntry(a+"pinterest;fillColor=#E50B28;gradientColor=#890616",102.4,102.4,"","Pinterest",null,null,this.getTagsForStencil("mxgraph.webicons","pinterest","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"plaxo;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Plaxo",null,null,this.getTagsForStencil("mxgraph.webicons","plaxo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"playfire;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Playfire", -null,null,this.getTagsForStencil("mxgraph.webicons","playfire","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"plurk;fillColor=#FF5656;gradientColor=#A8312D",102.4,102.4,"","Plurk",null,null,this.getTagsForStencil("mxgraph.webicons","plurk","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"pocket;fillColor=#FF4460;gradientColor=#B73143",102.4,102.4,"","Pocket",null,null,this.getTagsForStencil("mxgraph.webicons","pocket","web icons icon").join(" ")),this.createVertexTemplateEntry(a+ -"protopage;fillColor=#4B78C0;gradientColor=#294282",102.4,102.4,"","Protopage",null,null,this.getTagsForStencil("mxgraph.webicons","protopage","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"readernaut;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Readernaut",null,null,this.getTagsForStencil("mxgraph.webicons","readernaut","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"reddit;fillColor=#F3F8FC;gradientColor=#B4D2F0",102.4,102.4,"","Reddit",null,null,this.getTagsForStencil("mxgraph.webicons", -"reddit","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"rss;fillColor=#FDE532;gradientColor=#F4600D",102.4,102.4,"","RSS",null,null,this.getTagsForStencil("mxgraph.webicons","rss","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"scoopit;fillColor=#8CD845;gradientColor=#4E7A27",102.4,102.4,"","Scoopit",null,null,this.getTagsForStencil("mxgraph.webicons","scoopit","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"scribd;fillColor=#1D637D;gradientColor=#071920", -102.4,102.4,"","Scribd",null,null,this.getTagsForStencil("mxgraph.webicons","scribd","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"segnalo;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Segnalo",null,null,this.getTagsForStencil("mxgraph.webicons","segnalo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"sina;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Sina",null,null,this.getTagsForStencil("mxgraph.webicons","sina","web icons icon").join(" ")), -this.createVertexTemplateEntry(a+"sitejot;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Sitejot",null,null,this.getTagsForStencil("mxgraph.webicons","sitejot","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"skype;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Skype",null,null,this.getTagsForStencil("mxgraph.webicons","skype","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"skyrock;fillColor=#47B8FF;gradientColor=#006AAD",102.4,102.4,"","Skyrock",null, -null,this.getTagsForStencil("mxgraph.webicons","skyrock","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"slashdot;fillColor=#03B2AC;gradientColor=#012C2C",102.4,102.4,"","Slashdot",null,null,this.getTagsForStencil("mxgraph.webicons","slashdot","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"sms;fillColor=#86D466;gradientColor=#42B418",102.4,102.4,"","SMS",null,null,this.getTagsForStencil("mxgraph.webicons","sms","web icons icon").join(" ")),this.createVertexTemplateEntry(a+ -"socialvibe;fillColor=#FA16E2;gradientColor=#DF064B",102.4,102.4,"","Socialvibe",null,null,this.getTagsForStencil("mxgraph.webicons","socialvibe","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"society6;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Society6",null,null,this.getTagsForStencil("mxgraph.webicons","society6","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"sonico;fillColor=#3FEAF6;gradientColor=#117EC9",102.4,102.4,"","Sonico",null,null,this.getTagsForStencil("mxgraph.webicons", -"sonico","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"soundcloud;fillColor=#F78E11;gradientColor=#F93A0E",102.4,102.4,"","Soundcloud",null,null,this.getTagsForStencil("mxgraph.webicons","soundcloud","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"sourceforge;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Sourceforge",null,null,this.getTagsForStencil("mxgraph.webicons","sourceforge","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"sourceforge_2;fillColor=#0078AF;gradientColor=#00385E", -102.4,102.4,"","Sourceforge",null,null,this.getTagsForStencil("mxgraph.webicons","sourceforge","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"spring.me;fillColor=#3CBEF2;gradientColor=#2B8AAF",102.4,102.4,"","Spring.me",null,null,this.getTagsForStencil("mxgraph.webicons","spring me","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"stackexchange;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Stackexchange",null,null,this.getTagsForStencil("mxgraph.webicons", -"stackexchange stack exchange","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"stackoverflow;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","StackOverflow",null,null,this.getTagsForStencil("mxgraph.webicons","stackoverflow stack overflow","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"startaid;fillColor=#47B0E5;gradientColor=#2F7599",102.4,102.4,"","Startaid",null,null,this.getTagsForStencil("mxgraph.webicons","startaid","web icons icon").join(" ")),this.createVertexTemplateEntry(a+ -"startlap;fillColor=#B9E6F0;gradientColor=#3062A2",102.4,102.4,"","Startlap",null,null,this.getTagsForStencil("mxgraph.webicons","startlap","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"steam;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Steam",null,null,this.getTagsForStencil("mxgraph.webicons","steam","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"stumbleupon;fillColor=#FA823C;gradientColor=#E12110",102.4,102.4,"","StumbleUpon",null,null,this.getTagsForStencil("mxgraph.webicons", -"stumbleupon","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"stumpedia;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Stumpedia",null,null,this.getTagsForStencil("mxgraph.webicons","stumpedia","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"technorati;fillColor=#99EC92;gradientColor=#288925",102.4,102.4,"","Technorati",null,null,this.getTagsForStencil("mxgraph.webicons","technorati","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"translate;fillColor=#FFFFFF;gradientColor=#DFDEDE", -102.4,102.4,"","Translate",null,null,this.getTagsForStencil("mxgraph.webicons","translate","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"tumblr;fillColor=#588BBC;gradientColor=#172330",102.4,102.4,"","Tumblr",null,null,this.getTagsForStencil("mxgraph.webicons","tumblr","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"tunein;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Tunein",null,null,this.getTagsForStencil("mxgraph.webicons","tunein","web icons icon").join(" ")), -this.createVertexTemplateEntry(a+"twitter;fillColor=#49EAF7;gradientColor=#137BD0",102.4,102.4,"","Twitter",null,null,this.getTagsForStencil("mxgraph.webicons","twitter","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"two;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Two",null,null,this.getTagsForStencil("mxgraph.webicons","two","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"typepad;fillColor=#CBD372;gradientColor=#818748",102.4,102.4,"","Typepad",null,null, -this.getTagsForStencil("mxgraph.webicons","typepad","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"viadeo;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Viadeo",null,null,this.getTagsForStencil("mxgraph.webicons","viadeo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"viber;fillColor=#9964C4;gradientColor=#52366B",102.4,102.4,"","Viber",null,null,this.getTagsForStencil("mxgraph.webicons","viber","web icons icon").join(" ")),this.createVertexTemplateEntry(a+ -"viddler;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Viddler",null,null,this.getTagsForStencil("mxgraph.webicons","viddler","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"vimeo;fillColor=#A4EDF9;gradientColor=#2B8ED9",102.4,102.4,"","Vimeo",null,null,this.getTagsForStencil("mxgraph.webicons","vimeo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"virb;fillColor=#536873;gradientColor=#161A1D",102.4,102.4,"","Virb",null,null,this.getTagsForStencil("mxgraph.webicons", -"virb","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"vkontakte;fillColor=#5F94CC;gradientColor=#39587A",102.4,102.4,"","Vkontakte",null,null,this.getTagsForStencil("mxgraph.webicons","vkontakte","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"wakoopa;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Wakoopa",null,null,this.getTagsForStencil("mxgraph.webicons","wakoopa","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"weheartit;fillColor=#FF7AA2;gradientColor=#FF4577", -102.4,102.4,"","Weheartit",null,null,this.getTagsForStencil("mxgraph.webicons","weheartit","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"whatsapp;fillColor=#4FE238;gradientColor=#138709",102.4,102.4,"","Whatsapp",null,null,this.getTagsForStencil("mxgraph.webicons","whatsapp","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"wix;fillColor=#8AE3F2;gradientColor=#2451B0",102.4,102.4,"","Wix",null,null,this.getTagsForStencil("mxgraph.webicons","wix","web icons icon").join(" ")), -this.createVertexTemplateEntry(a+"wordpress;fillColor=#35E2EE;gradientColor=#0E4D99",102.4,102.4,"","Wordpress",null,null,this.getTagsForStencil("mxgraph.webicons","wordpress","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"wordpress_2;fillColor=#35E2EE;gradientColor=#0E4D99",102.4,102.4,"","Wordpress",null,null,this.getTagsForStencil("mxgraph.webicons","wordpress","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"xanga;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4, -"","Xanga",null,null,this.getTagsForStencil("mxgraph.webicons","xanga","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"xerpi;fillColor=#7F719B;gradientColor=#32264B",102.4,102.4,"","Xerpi",null,null,this.getTagsForStencil("mxgraph.webicons","xerpi","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"xing;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Xing",null,null,this.getTagsForStencil("mxgraph.webicons","xing","web icons icon").join(" ")),this.createVertexTemplateEntry(a+ -"yahoo;fillColor=#AC37AE;gradientColor=#2E0E2D",102.4,102.4,"","Yahoo",null,null,this.getTagsForStencil("mxgraph.webicons","yahoo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"yahoo_2;fillColor=#AC37AE;gradientColor=#2E0E2D",102.4,102.4,"","Yahoo",null,null,this.getTagsForStencil("mxgraph.webicons","yahoo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"yammer;fillColor=#00AFE0;gradientColor=#005F7A",102.4,102.4,"","Yammer",null,null,this.getTagsForStencil("mxgraph.webicons", -"yammer","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"yandex;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Yandex",null,null,this.getTagsForStencil("mxgraph.webicons","yandex","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"yelp;fillColor=#EF5140;gradientColor=#9C1410",102.4,102.4,"","Yelp",null,null,this.getTagsForStencil("mxgraph.webicons","yelp","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"yoolink;fillColor=#FFFFFF;gradientColor=#DFDEDE", -102.4,102.4,"","Yoolink",null,null,this.getTagsForStencil("mxgraph.webicons","yoolink","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"youmob;fillColor=#FFFFFF;gradientColor=#DFDEDE",102.4,102.4,"","Youmob",null,null,this.getTagsForStencil("mxgraph.webicons","youmob","web icons icon").join(" "))])};Sidebar.prototype.addWebLogosPalette=function(){var a="dashed=0;outlineConnect=0;html=1;align=center;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;"+mxConstants.STYLE_SHAPE+ -"=mxgraph.weblogos.";this.addPaletteFunctions("weblogos","Web Logos",!1,[this.createVertexTemplateEntry(a+"adfty;fillColor=#66E8F3;gradientColor=#1C7CBA",91.2,.2*458,"","Adfty",null,null,this.getTagsForStencil("mxgraph.weblogos","adfty","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"adobe_pdf;fillColor=#A60908",69.4,.2*338,"","Adobe PDF",null,null,this.getTagsForStencil("mxgraph.weblogos","adobe pdf","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"aim",.2*312,68.4,"", -"Aim",null,null,this.getTagsForStencil("mxgraph.weblogos","aim","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"allvoices",84,.2*398,"","Allvoices",null,null,this.getTagsForStencil("mxgraph.weblogos","allvoices","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"amazon",.2*314,68.2,"","Amazon",null,null,this.getTagsForStencil("mxgraph.weblogos","amazon","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"android;fillColor=#A4CA39;strokeColor=none",.2*338,80,"", -"Android",null,null,this.getTagsForStencil("mxgraph.weblogos","android","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"apache",42.6,85.2,"","Apache",null,null,this.getTagsForStencil("mxgraph.weblogos","apache db database","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"apple;fillColor=#1B1C1C;strokeColor=none",.2*312,76.2,"","Apple",null,null,this.getTagsForStencil("mxgraph.weblogos","apple","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"apple_classic", -.2*312,76.2,"","Apple (classic)",null,null,this.getTagsForStencil("mxgraph.weblogos","apple classic","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"app_store;fillColor=#000000;strokeColor=none",61.2,20,"","App Store",null,null,this.getTagsForStencil("mxgraph.weblogos","app store application","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"app_store_iphone;fillColor=#75797C;strokeColor=none",61.2,20,"","App Store iPhone",null,null,this.getTagsForStencil("mxgraph.weblogos", -"app store iphone","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"arduino;fillColor=#36868D;strokeColor=none",67.4,32,"","Arduino",null,null,this.getTagsForStencil("mxgraph.weblogos","arduino","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"ask;fillColor=#D22028;strokeColor=none",.2*343,50.6,"","Ask",null,null,this.getTagsForStencil("mxgraph.weblogos","ask","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Atlassian_Logo.svg;", -66,66,"","Atlassian",null,null,this.getTagsForStencil("mxgraph.weblogos","atlassian logo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"audioboo;fillColor=#B9217E",54,79.4,"","Audioboo",null,null,this.getTagsForStencil("mxgraph.weblogos","audioboo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"aws",63.6,.2*292,"","AWS",null,null,this.getTagsForStencil("mxgraph.weblogos","aws amazon web service","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"aws_s3", -61.6,57.6,"","AWS S3",null,null,this.getTagsForStencil("mxgraph.weblogos","aws s3 amazon web service","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"baidu;fillColor=#3F4D9E",71,77,"","Baidu",null,null,this.getTagsForStencil("mxgraph.weblogos","baidu","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Bamboo_Logo.svg;",64,74,"","Bamboo",null,null,this.getTagsForStencil("mxgraph.weblogos","bamboo logo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+ -"bebo;fillColor=#EC1C23;strokeColor=none",.2*279,71.4,"","Bebo",null,null,this.getTagsForStencil("mxgraph.weblogos","bebo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"behance;fillColor=#3A3333",73.8,45.6,"","Behance",null,null,this.getTagsForStencil("mxgraph.weblogos","behance","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"bing;fillColor=#008373;strokeColor=none",53,66.2,"","Bing",null,null,this.getTagsForStencil("mxgraph.weblogos","bing","web logos logo").join(" ")), -this.createVertexTemplateEntry("image;image=img/lib/atlassian/Bitbucket_Logo.svg;",57,50,"","Bitbucket",null,null,this.getTagsForStencil("mxgraph.weblogos","bitbucket logo atlassian","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"blinklist;fillColor=#3A3333;strokeColor=none",81.2,72,"","Blinklist",null,null,this.getTagsForStencil("mxgraph.weblogos","blinklist","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"blogger;fillColor=#F66C2A;strokeColor=none",58,58.2,"","Blogger", -null,null,this.getTagsForStencil("mxgraph.weblogos","blogger","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"blogmarks",37.6,64.4,"","Blogmarks",null,null,this.getTagsForStencil("mxgraph.weblogos","blogmarks","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"bookmarks.fr",70.2,.2*314,"","Bookmarks.fr",null,null,this.getTagsForStencil("mxgraph.weblogos","bookmarks.fr","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"box;fillColor=#2771B9;strokeColor=none", -44.6,64.2,"","Box",null,null,this.getTagsForStencil("mxgraph.weblogos","box","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"buddymarks",79.4,57,"","Buddymarks",null,null,this.getTagsForStencil("mxgraph.weblogos","buddymarks","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"buffer;fillColor=#221F1F;strokeColor=none",70.4,.2*302,"","Buffer",null,null,this.getTagsForStencil("mxgraph.weblogos","buffer","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"buzzfeed;fillColor=#ED3223;strokeColor=none", -78,78,"","Buzzfeed",null,null,this.getTagsForStencil("mxgraph.weblogos","buzzfeed","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"chrome",74.8,75.4,"","Chrome",null,null,this.getTagsForStencil("mxgraph.weblogos","chrome","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"citeulike;fillColor=#698139",.2*378,36,"","Citeulike",null,null,this.getTagsForStencil("mxgraph.weblogos","citeulike","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Clover_Logo.svg;", -71,71,"","Clover",null,null,this.getTagsForStencil("mxgraph.weblogos","clover logo","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Confluence_Logo.svg;",63,57,"","Confluence",null,null,this.getTagsForStencil("mxgraph.weblogos","confluence logo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"connotea",81,.2*413,"","Connotea",null,null,this.getTagsForStencil("mxgraph.weblogos","connotea","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Crowd_Logo.svg;", -66,65,"","Crowd",null,null,this.getTagsForStencil("mxgraph.weblogos","crowd logo","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Crucible_Logo.svg;",61,61,"","Crucible",null,null,this.getTagsForStencil("mxgraph.weblogos","crucible logo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"dealsplus;fillColor=#935492",76,.2*333,"","Dealsplus",null,null,this.getTagsForStencil("mxgraph.weblogos","dealsplus","web logos logo").join(" ")),this.createVertexTemplateEntry(a+ -"designfloat;strokeColor=none",72,72,"","Designfloat",null,null,this.getTagsForStencil("mxgraph.weblogos","designfloat","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"deviantart;fillColor=#009544;strokeColor=none;",62,86.4,"","Deviantart",null,null,this.getTagsForStencil("mxgraph.weblogos","deviantart","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"digg;fillColor=#ffffff",58,56,"","Digg",null,null,this.getTagsForStencil("mxgraph.weblogos","digg","web logos logo").join(" ")), -this.createVertexTemplateEntry(a+"diigo;fillColor=#2973D2;strokeColor=none",61.2,68.8,"","Diigo",null,null,this.getTagsForStencil("mxgraph.weblogos","diiigo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"dopplr;fillColor=#F9634D;strokeColor=none",102.4,102.4,"","Dopplr",null,null,this.getTagsForStencil("mxgraph.weblogos","dopplr","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"drawio2;fillColor=#1A5BA3",52.2,70.8,"","Draw.io",null,null,this.getTagsForStencil("mxgraph.weblogos", -"drawio draw io draw.io","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"drawio3;fillColor=#1A5BA3;fontSize=15;fontColor=#1A5BA3;fontStyle=1",52.2,52.2,'draw.<font color="#f08707">io</font>',"Draw.io",null,null,this.getTagsForStencil("mxgraph.weblogos","drawio draw io draw.io","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"dribbble;fillColor=#EB548D",67.4,67.2,"","Dribbble",null,null,this.getTagsForStencil("mxgraph.weblogos","dribbble","web logos logo").join(" ")),this.createVertexTemplateEntry(a+ -"dropbox;fillColor=#0287EA",73.4,62,"","Dropbox2",null,null,this.getTagsForStencil("mxgraph.weblogos","dropbox","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"drupal",60.6,69,"","Drupal",null,null,this.getTagsForStencil("mxgraph.weblogos","drupal","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"dzone",.2*438,61.2,"","Dzone",null,null,this.getTagsForStencil("mxgraph.weblogos","dzone","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"ebay",81.2,34.4,"","Ebay", -null,null,this.getTagsForStencil("mxgraph.weblogos","ebay","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"edmodo;fillColor=#276CB0;strokeColor=none",69.2,73.8,"","Edmodo",null,null,this.getTagsForStencil("mxgraph.weblogos","edmodo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"evernote;fillColor=#3F3F3F",.2*317,75.2,"","Evernote",null,null,this.getTagsForStencil("mxgraph.weblogos","evernote","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"fancy;fillColor=#6DB3E3", -39.2,79,"","Fancy",null,null,this.getTagsForStencil("mxgraph.weblogos","fancy","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"fark;fillColor=#B1B0C7;gradientColor=#ffffff;strokeColor=#B1B0C7",44.2,70.2,"","Fark",null,null,this.getTagsForStencil("mxgraph.weblogos","fark","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"fashiolista",.2*388,73.2,"","Fashiolista",null,null,this.getTagsForStencil("mxgraph.weblogos","fashiolista","web logos logo").join(" ")),this.createVertexTemplateEntry(a+ -"feed;fillColor=#000000",.2*302,59.2,"","Feed",null,null,this.getTagsForStencil("mxgraph.weblogos","feed","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"feedburner",68.4,74.4,"","Feedburner",null,null,this.getTagsForStencil("mxgraph.weblogos","feedburner","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Fisheye_Logo.svg;",71,59,"","Fisheye",null,null,this.getTagsForStencil("mxgraph.weblogos","fisheye logo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+ -"flickr",71.2,.2*156,"","Flickr",null,null,this.getTagsForStencil("mxgraph.weblogos","flickr","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"folkd;fillColor=#165AA6",.2*419,43.6,"","Folkd",null,null,this.getTagsForStencil("mxgraph.weblogos","folkd","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"forrst;fillColor=#27431F",.2*264,73.2,"","Forrst",null,null,this.getTagsForStencil("mxgraph.weblogos","forrst","web logos logo").join(" ")),this.createVertexTemplateEntry(a+ -"fotolog;fillColor=#000000;strokeColor=none",47.6,47.6,"","Fotolog",null,null,this.getTagsForStencil("mxgraph.weblogos","fotolog","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"freshbump;fillColor=#C2D952;strokeColor=none",71.2,76,"","Freshbump",null,null,this.getTagsForStencil("mxgraph.weblogos","freshbump","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"fresqui",102.4,102.4,"","Fresqui",null,null,this.getTagsForStencil("mxgraph.weblogos","fresqui","web logos logo").join(" ")), -this.createVertexTemplateEntry(a+"friendfeed;fillColor=#4172BB",73.8,71,"","Friendfeed",null,null,this.getTagsForStencil("mxgraph.weblogos","fiendfeed","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"funp",75,40,"","Funp",null,null,this.getTagsForStencil("mxgraph.weblogos","funp","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"fwisp;fillColor=#66676A;strokeColor=none",65.4,66,"","Fwisp",null,null,this.getTagsForStencil("mxgraph.weblogos","fwisp","web logos logo").join(" ")), -this.createVertexTemplateEntry(a+"gabbr;fillColor=#F05B1E",64.4,66,"","Gabbr",null,null,this.getTagsForStencil("mxgraph.weblogos","gabbr","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"gamespot",.2*408,.2*408,"","Gamespot",null,null,this.getTagsForStencil("mxgraph.weblogos","gamespot","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"github",75,75,"","Github",null,null,this.getTagsForStencil("mxgraph.weblogos","github","web logos logo").join(" ")),this.createVertexTemplateEntry(a+ -"gmail",64.8,.2*234,"","Gmail",null,null,this.getTagsForStencil("mxgraph.weblogos","gmail","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google",65.2,69.4,"","Google",null,null,this.getTagsForStencil("mxgraph.weblogos","google","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google_drive",66.4,58,"","Google Drive",null,null,this.getTagsForStencil("mxgraph.weblogos","google drive","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google_hangout;fillColor=#4BA139;strokeColor=none", -64.8,75.4,"","Google Hangout",null,null,this.getTagsForStencil("mxgraph.weblogos","google hangout","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google_play;fillColor=#000000",69.4,20.6,"","Google Play",null,null,this.getTagsForStencil("mxgraph.weblogos","google play","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google_play_light;fillColor=#66E8F3;gradientColor=#1C7CBA",60,10.4,"","Google Play Light",null,null,this.getTagsForStencil("mxgraph.weblogos","google play light", -"web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google_photos",87.2,87.2,"","Google Photos",null,null,this.getTagsForStencil("mxgraph.weblogos","google photos","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google_plus;fillColor=#DD4C40;strokeColor=none",.2*328,44,"","Google+",null,null,this.getTagsForStencil("mxgraph.weblogos","google plus","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"grooveshark;fillColor=#000000;strokeColor=none",62.2,62.2,"","Grooveshark", -null,null,this.getTagsForStencil("mxgraph.weblogos","grooveshark","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"hatena",86.2,44.2,"","Hatena",null,null,this.getTagsForStencil("mxgraph.weblogos","hatena","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Hipchat_Logo.svg;",66,62,"","Hipchat",null,null,this.getTagsForStencil("mxgraph.weblogos","hipchat logo atlassian","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"html5",.2*262, -74,"","HTML5",null,null,this.getTagsForStencil("mxgraph.weblogos","html5 html","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"identi.ca",74.2,47.6,"","Identi.ca",null,null,this.getTagsForStencil("mxgraph.weblogos","identi.ca","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"instagram;fillColor=#6FC0E4;gradientColor=#1E305B",72.2,72.2,"","Instagram",null,null,this.getTagsForStencil("mxgraph.weblogos","instagram","web logos logo").join(" ")),this.createVertexTemplateEntry(a+ -"instapaper",27.6,70.2,"","Instapaper",null,null,this.getTagsForStencil("mxgraph.weblogos","instapaper","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"ios;fillColor=#695D5D;gradientColor=#100E0E",.2*368,.2*197,"","iOS",null,null,this.getTagsForStencil("mxgraph.weblogos","ios","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"jamespot;fillColor=#695D5D;gradientColor=#100E0E",78,78,"","Jamespot",null,null,this.getTagsForStencil("mxgraph.weblogos","jamespot","web logos logo").join(" ")), -this.createVertexTemplateEntry(a+"java",34.4,65,"","Java",null,null,this.getTagsForStencil("mxgraph.weblogos","java","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Jira_Logo.svg;",72,72,"","Jira",null,null,this.getTagsForStencil("mxgraph.weblogos","jira logo","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Jira_Core_Logo.svg;",55,66,"","Jira Core",null,null,this.getTagsForStencil("mxgraph.weblogos","jira core logo atlassian", -"web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Jira_Service_Desk_Logo.svg;",59,76,"","Jira Service Desk",null,null,this.getTagsForStencil("mxgraph.weblogos","jira service desk logo atlassian","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Jira_Software_Logo.svg;",74,76,"","Jira Software",null,null,this.getTagsForStencil("mxgraph.weblogos","jira software logo atlassian","web logos logo").join(" ")),this.createVertexTemplateEntry(a+ -"joomla;fillColor=#1F457D;gradientColor=#081220",66,.2*328,"","Joomla",null,null,this.getTagsForStencil("mxgraph.weblogos","joomla","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"jquery;fillColor=#0BB9EA;gradientColor=#032F80",73.8,67,"","Jquery",null,null,this.getTagsForStencil("mxgraph.weblogos","jquery","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"json",70,75.8,"","JSON",null,null,this.getTagsForStencil("mxgraph.weblogos","json","web logos logo").join(" ")),this.createVertexTemplateEntry(a+ -"json_2",80.4,.2*126,"","JSON",null,null,this.getTagsForStencil("mxgraph.weblogos","json","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"last.fm;fillColor=#F33543;gradientColor=#BD0E11",83.2,50,"","Last.fm",null,null,this.getTagsForStencil("mxgraph.weblogos","last.fm last fm","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"linkagogo;fillColor=#F6F5FA;gradientColor=#C8C1E1",102.2,80,"","Linkagogo",null,null,this.getTagsForStencil("mxgraph.weblogos","linkagogo","web logos logo").join(" ")), -this.createVertexTemplateEntry(a+"linkedin;fillColor=#0095DB;gradientColor=#006391",.2*287,60.6,"","LinkedIn",null,null,this.getTagsForStencil("mxgraph.weblogos","linkedin","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"livejournal;fillColor=#2690E5;gradientColor=#0A2463",64,.2*343,"","Livejournal",null,null,this.getTagsForStencil("mxgraph.weblogos","livejournal","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"mail.ru;fillColor=#267BE0;gradientColor=#0A1F42",81.2,.2* -393,"","Mail.ru",null,null,this.getTagsForStencil("mxgraph.weblogos","mail.ru","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"mathoverflow;fillColor=#656463;gradientColor=#F28711;gradientDirection=east",59,48.2,"","MathOverflow",null,null,this.getTagsForStencil("mxgraph.weblogos","mathoverflow","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"meetup;fillColor=#413E3E;strokeColor=none",74.8,30,"","Meetup",null,null,this.getTagsForStencil("mxgraph.weblogos","meetup","web logos logo").join(" ")), -this.createVertexTemplateEntry(a+"meneame",76,.2*338,"","Meneame",null,null,this.getTagsForStencil("mxgraph.weblogos","meneame","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"messenger",.2*413,.2*384,"","Messenger",null,null,this.getTagsForStencil("mxgraph.weblogos","messenger","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"messenger_2",64.4,64.8,"","Messenger",null,null,this.getTagsForStencil("mxgraph.weblogos","messenger","web logos logo").join(" ")),this.createVertexTemplateEntry(a+ -"messenger_3;fillColor=#437BBD;strokeColor=#dddddd",64.4,64.8,"","Messenger",null,null,this.getTagsForStencil("mxgraph.weblogos","messenger","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"mind_body_green;strokeColor=#888888",81.4,.2*464,"","Mind Body Green",null,null,this.getTagsForStencil("mxgraph.weblogos","mind body green","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"mongodb",41.2,86.2,"","MongoDb",null,null,this.getTagsForStencil("mxgraph.weblogos","mongodb", -"web logos logo").join(" ")),this.createVertexTemplateEntry(a+"myspace;fillColor=#003399;strokeColor=none",63,70.2,"","MySpace",null,null,this.getTagsForStencil("mxgraph.weblogos","myspace","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"n4g;fillColor=#000000;strokeColor=none",88.2,31.8,"","N4g",null,null,this.getTagsForStencil("mxgraph.weblogos","n4g","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"netlog;fillColor=#F42424;strokeColor=none",.2*383,68.8,"","Netlog",null, -null,this.getTagsForStencil("mxgraph.weblogos","netlog","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"netvibes;fillColor=#84BD00;strokeColor=none",.2*309,.2*309,"","Netvibes",null,null,this.getTagsForStencil("mxgraph.weblogos","netvibes","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"netvouz",57.2,.2*287,"","Netvouz",null,null,this.getTagsForStencil("mxgraph.weblogos","netvouz","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"networkedblogs",.2*394,.2* -394,"","Networkedblogs",null,null,this.getTagsForStencil("mxgraph.weblogos","networkedblogs","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"newsvine;fillColor=#005221;strokeColor=none",40.6,77.2,"","Newsvine",null,null,this.getTagsForStencil("mxgraph.weblogos","newsvine","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"odnoklassniki;fillColor=#F58220;strokeColor=none",.2*247,82,"","Odnoklassniki",null,null,this.getTagsForStencil("mxgraph.weblogos","odnoklassniki","web logos logo").join(" ")), -this.createVertexTemplateEntry(a+"oknotizie",.2*237,70.4,"","Oknotizie",null,null,this.getTagsForStencil("mxgraph.weblogos","oknotizie","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"onedrive;fillColor=#094AB1;strokeColor=none",71.2,43.2,"","OneDrive",null,null,this.getTagsForStencil("mxgraph.weblogos","onedrive","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"oracle;fillColor=#FF0000;strokeColor=none",90,23,"","Oracle",null,null,this.getTagsForStencil("mxgraph.weblogos", -"oracle","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"paypal",51.2,58,"","Paypal",null,null,this.getTagsForStencil("mxgraph.weblogos","paypal","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"phone;fillColor=#36BE0F;strokeColor=none",.2*289,54.2,"","Phone",null,null,this.getTagsForStencil("mxgraph.weblogos","phone","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"phonefavs",64.4,.2*394,"","Phonefavs",null,null,this.getTagsForStencil("mxgraph.weblogos", -"phonefavs","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"pinterest;fillColor=#BD081C;strokeColor=none",.2*384,74.4,"","Pinterest",null,null,this.getTagsForStencil("mxgraph.weblogos","pinterest","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"plaxo;fillColor=#414F5C;strokeColor=none",80,80,"","Plaxo",null,null,this.getTagsForStencil("mxgraph.weblogos","plaxo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"playfire;fillColor=#FDA21A;gradientColor=#FEE635;strokeColor=none", -62,61.6,"","Playfire",null,null,this.getTagsForStencil("mxgraph.weblogos","playfire","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"plurk;fillColor=#E9443D;strokeColor=none",102.4,102.4,"","Plurk",null,null,this.getTagsForStencil("mxgraph.weblogos","plurk","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"pocket;fillColor=#EE4056;strokeColor=none",.2*314,.2*289,"","Pocket",null,null,this.getTagsForStencil("mxgraph.weblogos","pocket","web logos logo").join(" ")),this.createVertexTemplateEntry(a+ -"protopage;fillColor=#4B78C0;gradientColor=#294282",.2*394,80,"","Protopage",null,null,this.getTagsForStencil("mxgraph.weblogos","protopage","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"readernaut;fillColor=#000000;strokeColor=none",72,72,"","Readernaut",null,null,this.getTagsForStencil("mxgraph.weblogos","readernaut","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"reddit;fillColor=#F3F8FC;gradientColor=#B4D2F0",88,.2*368,"","Reddit",null,null,this.getTagsForStencil("mxgraph.weblogos", -"reddit","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"rss;fillColor=#F56800;strokeColor=none",.2*408,.2*408,"","RSS",null,null,this.getTagsForStencil("mxgraph.weblogos","rss","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"scoopit;fillColor=#6CAB36;strokeColor=none",58,70,"","Scoopit",null,null,this.getTagsForStencil("mxgraph.weblogos","scoopit","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"scribd;fillColor=#3D3533;strokeColor=none",.2*289,69.2,"", -"Scribd",null,null,this.getTagsForStencil("mxgraph.weblogos","scribd","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"segnalo",.2*403,.2*389,"","Segnalo",null,null,this.getTagsForStencil("mxgraph.weblogos","segnalo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"sina",.2*429,.2*343,"","Sina",null,null,this.getTagsForStencil("mxgraph.weblogos","sina","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"sitejot",77.2,66,"","Sitejot",null,null,this.getTagsForStencil("mxgraph.weblogos", -"sitejot","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"skype;fillColor=#2AACE2;strokeColor=none",.2*388,.2*394,"","Skype",null,null,this.getTagsForStencil("mxgraph.weblogos","skype","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"skyrock;fillColor=#009AFF;strokeColor=none",67.8,70.4,"","Skyrock",null,null,this.getTagsForStencil("mxgraph.weblogos","skyrock","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"slashdot;fillColor=#026664;strokeColor=none",.2* -262,62,"","Slashdot",null,null,this.getTagsForStencil("mxgraph.weblogos","slashdot","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"sms;fillColor=#48B921;strokeColor=none",69.2,64,"","SMS",null,null,this.getTagsForStencil("mxgraph.weblogos","sms","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"socialvibe;fillColor=#EE2F7F;strokeColor=none",50,50,"","Socialvibe",null,null,this.getTagsForStencil("mxgraph.weblogos","socialvibe","web logos logo").join(" ")),this.createVertexTemplateEntry(a+ -"society6;fillColor=#000000;strokeColor=none",74.8,53,"","Society6",null,null,this.getTagsForStencil("mxgraph.weblogos","society6","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"sonico;fillColor=#01AEF0;strokeColor=none",69.2,63.2,"","Sonico",null,null,this.getTagsForStencil("mxgraph.weblogos","sonico","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"soundcloud;fillColor=#FE4600;strokeColor=none",73.4,32.6,"","Soundcloud",null,null,this.getTagsForStencil("mxgraph.weblogos", -"soundcloud","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"sourceforge",74.2,74.4,"","Sourceforge",null,null,this.getTagsForStencil("mxgraph.weblogos","sourceforge","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"sourceforge_2;fillColor=#00547E;strokeColor=none",63.2,.2*234,"","Sourceforge",null,null,this.getTagsForStencil("mxgraph.weblogos","sourceforge","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Sourcetree_Logo.svg;", +"allvoices","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"amazon;gradientColor=#DFDEDE",102.4,102.4,"","Amazon",null,null,this.getTagsForStencil("mxgraph.webicons","amazon","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"amazon_2;gradientColor=#231F20",102.4,102.4,"","Amazon",null,null,this.getTagsForStencil("mxgraph.webicons","amazon","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"android;gradientColor=#DFDEDE",102.4,102.4,"","Android",null,null,this.getTagsForStencil("mxgraph.webicons", +"android","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"apache;gradientColor=#DFDEDE",102.4,102.4,"","Apache",null,null,this.getTagsForStencil("mxgraph.webicons","apache db database","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"apple;fillColor=#807E7E;gradientColor=#1B1C1C",102.4,102.4,"","Apple",null,null,this.getTagsForStencil("mxgraph.webicons","apple","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"apple_classic;fillColor=#66E8F3;gradientColor=#1C7CBA", +102.4,102.4,"","Apple (classic)",null,null,this.getTagsForStencil("mxgraph.webicons","apple classic","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"arduino;gradientColor=#DFDEDE",102.4,102.4,"","Arduino",null,null,this.getTagsForStencil("mxgraph.webicons","arduino","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"ask;fillColor=#F33543;gradientColor=#B50E11",102.4,102.4,"","Ask",null,null,this.getTagsForStencil("mxgraph.webicons","ask","web icons icon").join(" ")),this.createVertexTemplateEntry(a+ +"atlassian;gradientColor=#DFDEDE",102.4,102.4,"","Atlassian",null,null,this.getTagsForStencil("mxgraph.webicons","atlassian","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"audioboo;fillColor=#EB35CF;gradientColor=#8C0E35",102.4,102.4,"","Audioboo",null,null,this.getTagsForStencil("mxgraph.webicons","audioboo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"aws;gradientColor=#DFDEDE",102.4,102.4,"","AWS",null,null,this.getTagsForStencil("mxgraph.webicons","aws amazon web service", +"web icons icon").join(" ")),this.createVertexTemplateEntry(a+"aws_s3;gradientColor=#DFDEDE",102.4,102.4,"","AWS S3",null,null,this.getTagsForStencil("mxgraph.webicons","aws s3 amazon web service","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"baidu;fillColor=#738FE8;gradientColor=#1F2470",102.4,102.4,"","Baidu",null,null,this.getTagsForStencil("mxgraph.webicons","baidu","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"bebo;fillColor=#695D5D;gradientColor=#100E0E",102.4, +102.4,"","Bebo",null,null,this.getTagsForStencil("mxgraph.webicons","bebo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"behance;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Behance",null,null,this.getTagsForStencil("mxgraph.webicons","behance","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"bing;fillColor=#0A776E;gradientColor=#053D39",102.4,102.4,"","Bing",null,null,this.getTagsForStencil("mxgraph.webicons","bing","web icons icon").join(" ")),this.createVertexTemplateEntry(a+ +"bitbucket;gradientColor=#DFDEDE",102.4,102.4,"","Bitbucket",null,null,this.getTagsForStencil("mxgraph.webicons","bitbucket","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"blinklist;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Blinklist",null,null,this.getTagsForStencil("mxgraph.webicons","blinklist","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"blogger;fillColor=#FDE47C;gradientColor=#F55F21",102.4,102.4,"","Blogger",null,null,this.getTagsForStencil("mxgraph.webicons", +"blogger","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"blogmarks;gradientColor=#DFDEDE",102.4,102.4,"","Blogmarks",null,null,this.getTagsForStencil("mxgraph.webicons","blogmarks","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"bookmarks.fr;fillColor=#F9FAF4;gradientColor=#DCDFBB",102.4,102.4,"","Bookmarks.fr",null,null,this.getTagsForStencil("mxgraph.webicons","bookmarks.fr","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"box;fillColor=#4CDFEF;gradientColor=#153EA0", +102.4,102.4,"","Box",null,null,this.getTagsForStencil("mxgraph.webicons","box","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"buddymarks;gradientColor=#DFDEDE",102.4,102.4,"","Buddymarks",null,null,this.getTagsForStencil("mxgraph.webicons","buddymarks","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"buffer;gradientColor=#DFDEDE",102.4,102.4,"","Buffer",null,null,this.getTagsForStencil("mxgraph.webicons","buffer","web icons icon").join(" ")),this.createVertexTemplateEntry(a+ +"buzzfeed;gradientColor=#DFDEDE",102.4,102.4,"","Buzzfeed",null,null,this.getTagsForStencil("mxgraph.webicons","buzzfeed","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"chrome;gradientColor=#DFDEDE",103.2,104,"","Chrome",null,null,this.getTagsForStencil("mxgraph.webicons","chrome","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"citeulike;fillColor=#ACD65E;gradientColor=#2E3618",102.4,102.4,"","Citeulike",null,null,this.getTagsForStencil("mxgraph.webicons","citeulike", +"web icons icon").join(" ")),this.createVertexTemplateEntry(a+"confluence;gradientColor=#DFDEDE",102.4,102.4,"","Confluence",null,null,this.getTagsForStencil("mxgraph.webicons","confluence","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"connotea;fillColor=#E9FDFC;gradientColor=#BADBE9",102.4,102.4,"","Connotea",null,null,this.getTagsForStencil("mxgraph.webicons","connotea","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"dealsplus;fillColor=#B569B5;gradientColor=#7A467A", +102.4,102.4,"","Dealsplus",null,null,this.getTagsForStencil("mxgraph.webicons","dealsplus","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"delicious",102.4,102.4,"","Delicious",null,null,this.getTagsForStencil("mxgraph.webicons","delicious","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"designfloat;fillColor=#247BE0;gradientColor=#0A1F42",102.4,102.4,"","Designfloat",null,null,this.getTagsForStencil("mxgraph.webicons","designfloat","web icons icon").join(" ")),this.createVertexTemplateEntry(a+ +"deviantart;fillColor=#00C659;gradientColor=#00813B",102.4,102.4,"","Deviantart",null,null,this.getTagsForStencil("mxgraph.webicons","deviantart","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"digg;gradientColor=#DFDEDE",102.4,102.4,"","Digg",null,null,this.getTagsForStencil("mxgraph.webicons","digg","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"diigo;fillColor=#2C7DE0;gradientColor=#1E5599",102.4,102.4,"","Diigo",null,null,this.getTagsForStencil("mxgraph.webicons", +"diiigo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"dopplr;gradientColor=#DFDEDE",102.4,102.4,"","Dopplr",null,null,this.getTagsForStencil("mxgraph.webicons","dopplr","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"drawio2;fillColor=#2174CE;gradientColor=#134277",102.4,102.4,"","Draw.io",null,null,this.getTagsForStencil("mxgraph.webicons","drawio draw io draw.io","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"dribbble;gradientColor=#DFDEDE",102.4, +102.4,"","Dribbble",null,null,this.getTagsForStencil("mxgraph.webicons","dribbble","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"dropbox;fillColor=#0BAAFE;gradientColor=#0080E6",102.4,102.4,"","Dropbox",null,null,this.getTagsForStencil("mxgraph.webicons","dropbox","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"dropbox2;fillColor=#2FB8FC;gradientColor=#0080E6",102.4,102.4,"","Dropbox",null,null,this.getTagsForStencil("mxgraph.webicons","dropbox","web icons icon").join(" ")), +this.createVertexTemplateEntry(a+"drupal;gradientColor=#DFDEDE",102.4,102.4,"","Drupal",null,null,this.getTagsForStencil("mxgraph.webicons","drupal","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"dzone;gradientColor=#DFDEDE",102.4,102.4,"","Dzone",null,null,this.getTagsForStencil("mxgraph.webicons","dzone","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"ebay;gradientColor=#DFDEDE",102.4,102.4,"","Ebay",null,null,this.getTagsForStencil("mxgraph.webicons","ebay","web icons icon").join(" ")), +this.createVertexTemplateEntry(a+"edmodo;fillColor=#2F81CE;gradientColor=#1F5487",102.4,102.4,"","Edmodo",null,null,this.getTagsForStencil("mxgraph.webicons","edmodo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"evernote;fillColor=#D4EF75;gradientColor=#399F1F",102.4,102.4,"","Evernote",null,null,this.getTagsForStencil("mxgraph.webicons","evernote","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"facebook;fillColor=#6294E4;gradientColor=#1A2665",102.4,102.4,"","Facebook", +null,null,this.getTagsForStencil("mxgraph.webicons","facebook","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"fancy;fillColor=#C3ECF8;gradientColor=#348DD4",102.4,102.4,"","Fancy",null,null,this.getTagsForStencil("mxgraph.webicons","fancy","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"fark;fillColor=#EBEBF1;gradientColor=#8482A7",102.4,102.4,"","Fark",null,null,this.getTagsForStencil("mxgraph.webicons","fark","web icons icon").join(" ")),this.createVertexTemplateEntry(a+ +"fashiolista;gradientColor=#DFDEDE",102.4,102.4,"","Fashiolista",null,null,this.getTagsForStencil("mxgraph.webicons","fashiolista","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"feed;fillColor=#FFAC75;gradientColor=#FF6600",102.4,102.4,"","Feed",null,null,this.getTagsForStencil("mxgraph.webicons","feed","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"feedburner;gradientColor=#DFDEDE",102.4,102.4,"","Feedburner",null,null,this.getTagsForStencil("mxgraph.webicons","feedburner", +"web icons icon").join(" ")),this.createVertexTemplateEntry(a+"flickr;gradientColor=#DFDEDE",102.4,102.4,"","Flickr",null,null,this.getTagsForStencil("mxgraph.webicons","flickr","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"folkd;fillColor=#27A2E9;gradientColor=#0A2977",102.4,102.4,"","Folkd",null,null,this.getTagsForStencil("mxgraph.webicons","folkd","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"forrst;fillColor=#3E6B32;gradientColor=#111C0D",102.4,102.4,"","Forrst", +null,null,this.getTagsForStencil("mxgraph.webicons","forrst","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"fotolog;gradientColor=#DFDEDE",102.4,102.4,"","Fotolog",null,null,this.getTagsForStencil("mxgraph.webicons","fotolog","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"freshbump;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Freshbump",null,null,this.getTagsForStencil("mxgraph.webicons","freshbump","web icons icon").join(" ")),this.createVertexTemplateEntry(a+ +"fresqui;gradientColor=#DFDEDE",102.4,102.4,"","Fresqui",null,null,this.getTagsForStencil("mxgraph.webicons","fresqui","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"friendfeed;fillColor=#7BDCEF;gradientColor=#21379E",102.4,102.4,"","Friendfeed",null,null,this.getTagsForStencil("mxgraph.webicons","fiendfeed","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"funp;gradientColor=#DFDEDE",102.4,102.4,"","Funp",null,null,this.getTagsForStencil("mxgraph.webicons","funp","web icons icon").join(" ")), +this.createVertexTemplateEntry(a+"fwisp;gradientColor=#DFDEDE",102.4,102.4,"","Fwisp",null,null,this.getTagsForStencil("mxgraph.webicons","fwisp","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"gabbr;fillColor=#FBAC39;gradientColor=#EA2B0E",102.4,102.4,"","Gabbr",null,null,this.getTagsForStencil("mxgraph.webicons","gabbr","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"gamespot;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Gamespot",null,null,this.getTagsForStencil("mxgraph.webicons", +"gamespot","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"github;gradientColor=#DFDEDE",102.4,102.4,"","Github",null,null,this.getTagsForStencil("mxgraph.webicons","github","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"gmail;gradientColor=#DFDEDE",102.4,102.4,"","Gmail",null,null,this.getTagsForStencil("mxgraph.webicons","gmail","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"google;gradientColor=#DFDEDE",102.4,102.4,"","Google",null,null,this.getTagsForStencil("mxgraph.webicons", +"google","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"google_drive;gradientColor=#DFDEDE",102.4,102.4,"","Google Drive",null,null,this.getTagsForStencil("mxgraph.webicons","google drive","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"google_hangout;gradientColor=#DFDEDE",102.4,102.4,"","Google Hangout",null,null,this.getTagsForStencil("mxgraph.webicons","google hangout","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"google_play;fillColor=#000000", +69.4,20.6,"","Google Play",null,null,this.getTagsForStencil("mxgraph.webicons","google play","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"google_play_light;fillColor=#66E8F3;gradientColor=#1C7CBA",60,10.4,"","Google Play Light",null,null,this.getTagsForStencil("mxgraph.webicons","google play light","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"google_photos;gradientColor=#DFDEDE",102.4,102.4,"","Google Photos",null,null,this.getTagsForStencil("mxgraph.webicons", +"google photos","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"google_plus;fillColor=#F24B46;gradientColor=#AD3832",102.4,102.4,"","Google Plus",null,null,this.getTagsForStencil("mxgraph.webicons","google plus","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"grooveshark;fillColor=#695D5D;gradientColor=#000000",102.4,102.4,"","Grooveshark",null,null,this.getTagsForStencil("mxgraph.webicons","grooveshark","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"hatena;gradientColor=#DFDEDE", +102.4,102.4,"","Hatena",null,null,this.getTagsForStencil("mxgraph.webicons","hatena","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"html5;gradientColor=#DFDEDE",102.4,102.4,"","HTML5",null,null,this.getTagsForStencil("mxgraph.webicons","html5 html","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"identi.ca;gradientColor=#DFDEDE",102.4,102.4,"","Identi.ca",null,null,this.getTagsForStencil("mxgraph.webicons","identi.ca","web icons icon").join(" ")),this.createVertexTemplateEntry(a+ +"instagram;gradientColor=#DFDEDE",102.4,102.4,"","Instagram",null,null,this.getTagsForStencil("mxgraph.webicons","instagram","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"instapaper;fillColor=#807E7E;gradientColor=#1B1C1C",102.4,102.4,"","Instapaper",null,null,this.getTagsForStencil("mxgraph.webicons","instapaper","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"ios;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","iOS",null,null,this.getTagsForStencil("mxgraph.webicons", +"ios","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"jamespot;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Jamespot",null,null,this.getTagsForStencil("mxgraph.webicons","jamespot","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"java;gradientColor=#DFDEDE",102.4,102.4,"","Java",null,null,this.getTagsForStencil("mxgraph.webicons","java","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"joomla;fillColor=#1F457D;gradientColor=#081220",102.4,102.4, +"","Joomla",null,null,this.getTagsForStencil("mxgraph.webicons","joomla","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"jquery;fillColor=#0BB9EA;gradientColor=#032F80",102.4,102.4,"","Jquery",null,null,this.getTagsForStencil("mxgraph.webicons","jquery","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"json;gradientColor=#DFDEDE",102.4,102.4,"","JSON",null,null,this.getTagsForStencil("mxgraph.webicons","json","web icons icon").join(" ")),this.createVertexTemplateEntry(a+ +"json_2;gradientColor=#DFDEDE",102.4,102.4,"","JSON",null,null,this.getTagsForStencil("mxgraph.webicons","json","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"last.fm;fillColor=#F33543;gradientColor=#BD0E11",102.4,102.4,"","Last.fm",null,null,this.getTagsForStencil("mxgraph.webicons","last.fm last fm","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"linkagogo;fillColor=#F6F5FA;gradientColor=#C8C1E1",102.4,102.4,"","Linkagogo",null,null,this.getTagsForStencil("mxgraph.webicons", +"linkagogo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"linkedin;fillColor=#0095DB;gradientColor=#006391",102.4,102.4,"","LinkedIn",null,null,this.getTagsForStencil("mxgraph.webicons","linkedin","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"livejournal;fillColor=#2690E5;gradientColor=#0A2463",102.4,102.4,"","Livejournal",null,null,this.getTagsForStencil("mxgraph.webicons","livejournal","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"mail.ru;fillColor=#267BE0;gradientColor=#0A1F42", +102.4,102.4,"","Mail.ru",null,null,this.getTagsForStencil("mxgraph.webicons","mail.ru","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"meetup;fillColor=#F83263;gradientColor=#D40D19",102.4,102.4,"","Meetup",null,null,this.getTagsForStencil("mxgraph.webicons","meetup","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"meneame;gradientColor=#DFDEDE",102.4,102.4,"","Meneame",null,null,this.getTagsForStencil("mxgraph.webicons","meneame","web icons icon").join(" ")),this.createVertexTemplateEntry(a+ +"messenger;gradientColor=#DFDEDE",102.4,102.4,"","Messenger",null,null,this.getTagsForStencil("mxgraph.webicons","messenger","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"messenger_2;gradientColor=#DFDEDE",102.4,102.4,"","Messenger",null,null,this.getTagsForStencil("mxgraph.webicons","messenger","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"messenger_3;fillColor=#09BEFC;gradientColor=#0060FA",102.4,102.4,"","Messenger",null,null,this.getTagsForStencil("mxgraph.webicons", +"messenger","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"mind_body_green;fillColor=#E0EEF8;gradientColor=#4496D5",102.4,102.4,"","Mind Body Green",null,null,this.getTagsForStencil("mxgraph.webicons","mind body green","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"mongodb;gradientColor=#DFDEDE",102.4,102.4,"","MongoDb",null,null,this.getTagsForStencil("mxgraph.webicons","mongodb","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"myspace;fillColor=#3C69E2;gradientColor=#101B54", +102.4,102.4,"","MySpace",null,null,this.getTagsForStencil("mxgraph.webicons","myspace","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"n4g;gradientColor=#DFDEDE",102.4,102.4,"","N4g",null,null,this.getTagsForStencil("mxgraph.webicons","n4g","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"netlog;fillColor=#FA3743;gradientColor=#E10E11",102.4,102.4,"","Netlog",null,null,this.getTagsForStencil("mxgraph.webicons","netlog","web icons icon").join(" ")),this.createVertexTemplateEntry(a+ +"netvibes;fillColor=#99DB00;gradientColor=#638E00",102.4,102.4,"","Netvibes",null,null,this.getTagsForStencil("mxgraph.webicons","netvibes","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"netvouz;gradientColor=#DFDEDE",102.4,102.4,"","Netvouz",null,null,this.getTagsForStencil("mxgraph.webicons","netvouz","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"networkedblogs;gradientColor=#DFDEDE",102.4,102.4,"","Networkedblogs",null,null,this.getTagsForStencil("mxgraph.webicons", +"networkedblogs","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"newsvine;fillColor=#008733;gradientColor=#00441B",102.4,102.4,"","Newsvine",null,null,this.getTagsForStencil("mxgraph.webicons","newsvine","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"odnoklassniki;fillColor=#FDE15A;gradientColor=#F24317",102.4,102.4,"","Odnoklassniki",null,null,this.getTagsForStencil("mxgraph.webicons","odnoklassniki","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"oknotizie;gradientColor=#DFDEDE", +102.4,102.4,"","Oknotizie",null,null,this.getTagsForStencil("mxgraph.webicons","oknotizie","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"onedrive;gradientColor=#DFDEDE",102.4,102.4,"","OneDrive",null,null,this.getTagsForStencil("mxgraph.webicons","onedrive","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"oracle;fillColor=#FA3743;gradientColor=#E10E11",102.4,102.4,"","Oracle",null,null,this.getTagsForStencil("mxgraph.webicons","oracle","web icons icon").join(" ")),this.createVertexTemplateEntry(a+ +"paypal;gradientColor=#DFDEDE",102.4,102.4,"","Paypal",null,null,this.getTagsForStencil("mxgraph.webicons","paypal","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"phone;fillColor=#76F21E;gradientColor=#079704",102.4,102.4,"","Phone",null,null,this.getTagsForStencil("mxgraph.webicons","phone","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"phonefavs;gradientColor=#DFDEDE",102.4,102.4,"","Phonefavs",null,null,this.getTagsForStencil("mxgraph.webicons","phonefavs","web icons icon").join(" ")), +this.createVertexTemplateEntry(a+"pinterest;fillColor=#E50B28;gradientColor=#890616",102.4,102.4,"","Pinterest",null,null,this.getTagsForStencil("mxgraph.webicons","pinterest","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"plaxo;gradientColor=#DFDEDE",102.4,102.4,"","Plaxo",null,null,this.getTagsForStencil("mxgraph.webicons","plaxo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"playfire;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Playfire",null,null,this.getTagsForStencil("mxgraph.webicons", +"playfire","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"plurk;fillColor=#FF5656;gradientColor=#A8312D",102.4,102.4,"","Plurk",null,null,this.getTagsForStencil("mxgraph.webicons","plurk","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"pocket;fillColor=#FF4460;gradientColor=#B73143",102.4,102.4,"","Pocket",null,null,this.getTagsForStencil("mxgraph.webicons","pocket","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"protopage;fillColor=#4B78C0;gradientColor=#294282", +102.4,102.4,"","Protopage",null,null,this.getTagsForStencil("mxgraph.webicons","protopage","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"readernaut;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Readernaut",null,null,this.getTagsForStencil("mxgraph.webicons","readernaut","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"reddit;fillColor=#F3F8FC;gradientColor=#B4D2F0",102.4,102.4,"","Reddit",null,null,this.getTagsForStencil("mxgraph.webicons","reddit","web icons icon").join(" ")), +this.createVertexTemplateEntry(a+"rss;fillColor=#FDE532;gradientColor=#F4600D",102.4,102.4,"","RSS",null,null,this.getTagsForStencil("mxgraph.webicons","rss","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"scoopit;fillColor=#8CD845;gradientColor=#4E7A27",102.4,102.4,"","Scoopit",null,null,this.getTagsForStencil("mxgraph.webicons","scoopit","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"scribd;fillColor=#1D637D;gradientColor=#071920",102.4,102.4,"","Scribd",null,null, +this.getTagsForStencil("mxgraph.webicons","scribd","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"segnalo;gradientColor=#DFDEDE",102.4,102.4,"","Segnalo",null,null,this.getTagsForStencil("mxgraph.webicons","segnalo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"sina;gradientColor=#DFDEDE",102.4,102.4,"","Sina",null,null,this.getTagsForStencil("mxgraph.webicons","sina","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"sitejot;gradientColor=#DFDEDE",102.4, +102.4,"","Sitejot",null,null,this.getTagsForStencil("mxgraph.webicons","sitejot","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"skype;gradientColor=#DFDEDE",102.4,102.4,"","Skype",null,null,this.getTagsForStencil("mxgraph.webicons","skype","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"skyrock;fillColor=#47B8FF;gradientColor=#006AAD",102.4,102.4,"","Skyrock",null,null,this.getTagsForStencil("mxgraph.webicons","skyrock","web icons icon").join(" ")),this.createVertexTemplateEntry(a+ +"slashdot;fillColor=#03B2AC;gradientColor=#012C2C",102.4,102.4,"","Slashdot",null,null,this.getTagsForStencil("mxgraph.webicons","slashdot","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"sms;fillColor=#86D466;gradientColor=#42B418",102.4,102.4,"","SMS",null,null,this.getTagsForStencil("mxgraph.webicons","sms","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"socialvibe;fillColor=#FA16E2;gradientColor=#DF064B",102.4,102.4,"","Socialvibe",null,null,this.getTagsForStencil("mxgraph.webicons", +"socialvibe","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"society6;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Society6",null,null,this.getTagsForStencil("mxgraph.webicons","society6","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"sonico;fillColor=#3FEAF6;gradientColor=#117EC9",102.4,102.4,"","Sonico",null,null,this.getTagsForStencil("mxgraph.webicons","sonico","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"soundcloud;fillColor=#F78E11;gradientColor=#F93A0E", +102.4,102.4,"","Soundcloud",null,null,this.getTagsForStencil("mxgraph.webicons","soundcloud","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"sourceforge;gradientColor=#DFDEDE",102.4,102.4,"","Sourceforge",null,null,this.getTagsForStencil("mxgraph.webicons","sourceforge","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"sourceforge_2;fillColor=#0078AF;gradientColor=#00385E",102.4,102.4,"","Sourceforge",null,null,this.getTagsForStencil("mxgraph.webicons","sourceforge","web icons icon").join(" ")), +this.createVertexTemplateEntry(a+"spring.me;fillColor=#3CBEF2;gradientColor=#2B8AAF",102.4,102.4,"","Spring.me",null,null,this.getTagsForStencil("mxgraph.webicons","spring me","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"stackexchange;gradientColor=#DFDEDE",102.4,102.4,"","Stackexchange",null,null,this.getTagsForStencil("mxgraph.webicons","stackexchange stack exchange","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"stackoverflow;gradientColor=#DFDEDE",102.4,102.4, +"","StackOverflow",null,null,this.getTagsForStencil("mxgraph.webicons","stackoverflow stack overflow","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"startaid;fillColor=#47B0E5;gradientColor=#2F7599",102.4,102.4,"","Startaid",null,null,this.getTagsForStencil("mxgraph.webicons","startaid","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"startlap;fillColor=#B9E6F0;gradientColor=#3062A2",102.4,102.4,"","Startlap",null,null,this.getTagsForStencil("mxgraph.webicons","startlap", +"web icons icon").join(" ")),this.createVertexTemplateEntry(a+"steam;fillColor=#695D5D;gradientColor=#100E0E",102.4,102.4,"","Steam",null,null,this.getTagsForStencil("mxgraph.webicons","steam","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"stumbleupon;fillColor=#FA823C;gradientColor=#E12110",102.4,102.4,"","StumbleUpon",null,null,this.getTagsForStencil("mxgraph.webicons","stumbleupon","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"stumpedia;gradientColor=#DFDEDE",102.4, +102.4,"","Stumpedia",null,null,this.getTagsForStencil("mxgraph.webicons","stumpedia","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"technorati;fillColor=#99EC92;gradientColor=#288925",102.4,102.4,"","Technorati",null,null,this.getTagsForStencil("mxgraph.webicons","technorati","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"translate;gradientColor=#DFDEDE",102.4,102.4,"","Translate",null,null,this.getTagsForStencil("mxgraph.webicons","translate","web icons icon").join(" ")), +this.createVertexTemplateEntry(a+"tumblr;fillColor=#588BBC;gradientColor=#172330",102.4,102.4,"","Tumblr",null,null,this.getTagsForStencil("mxgraph.webicons","tumblr","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"tunein;gradientColor=#DFDEDE",102.4,102.4,"","Tunein",null,null,this.getTagsForStencil("mxgraph.webicons","tunein","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"twitter;fillColor=#49EAF7;gradientColor=#137BD0",102.4,102.4,"","Twitter",null,null,this.getTagsForStencil("mxgraph.webicons", +"twitter","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"two;gradientColor=#DFDEDE",102.4,102.4,"","Two",null,null,this.getTagsForStencil("mxgraph.webicons","two","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"typepad;fillColor=#CBD372;gradientColor=#818748",102.4,102.4,"","Typepad",null,null,this.getTagsForStencil("mxgraph.webicons","typepad","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"viadeo;gradientColor=#DFDEDE",102.4,102.4,"","Viadeo",null,null, +this.getTagsForStencil("mxgraph.webicons","viadeo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"viber;fillColor=#9964C4;gradientColor=#52366B",102.4,102.4,"","Viber",null,null,this.getTagsForStencil("mxgraph.webicons","viber","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"viddler;gradientColor=#DFDEDE",102.4,102.4,"","Viddler",null,null,this.getTagsForStencil("mxgraph.webicons","viddler","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"vimeo;fillColor=#A4EDF9;gradientColor=#2B8ED9", +102.4,102.4,"","Vimeo",null,null,this.getTagsForStencil("mxgraph.webicons","vimeo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"virb;fillColor=#536873;gradientColor=#161A1D",102.4,102.4,"","Virb",null,null,this.getTagsForStencil("mxgraph.webicons","virb","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"vkontakte;fillColor=#5F94CC;gradientColor=#39587A",102.4,102.4,"","Vkontakte",null,null,this.getTagsForStencil("mxgraph.webicons","vkontakte","web icons icon").join(" ")), +this.createVertexTemplateEntry(a+"wakoopa;gradientColor=#DFDEDE",102.4,102.4,"","Wakoopa",null,null,this.getTagsForStencil("mxgraph.webicons","wakoopa","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"weheartit;fillColor=#FF7AA2;gradientColor=#FF4577",102.4,102.4,"","Weheartit",null,null,this.getTagsForStencil("mxgraph.webicons","weheartit","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"whatsapp;fillColor=#4FE238;gradientColor=#138709",102.4,102.4,"","Whatsapp",null, +null,this.getTagsForStencil("mxgraph.webicons","whatsapp","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"wix;fillColor=#8AE3F2;gradientColor=#2451B0",102.4,102.4,"","Wix",null,null,this.getTagsForStencil("mxgraph.webicons","wix","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"wordpress;fillColor=#35E2EE;gradientColor=#0E4D99",102.4,102.4,"","Wordpress",null,null,this.getTagsForStencil("mxgraph.webicons","wordpress","web icons icon").join(" ")),this.createVertexTemplateEntry(a+ +"wordpress_2;fillColor=#35E2EE;gradientColor=#0E4D99",102.4,102.4,"","Wordpress",null,null,this.getTagsForStencil("mxgraph.webicons","wordpress","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"xanga;gradientColor=#DFDEDE",102.4,102.4,"","Xanga",null,null,this.getTagsForStencil("mxgraph.webicons","xanga","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"xerpi;fillColor=#7F719B;gradientColor=#32264B",102.4,102.4,"","Xerpi",null,null,this.getTagsForStencil("mxgraph.webicons", +"xerpi","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"xing;gradientColor=#DFDEDE",102.4,102.4,"","Xing",null,null,this.getTagsForStencil("mxgraph.webicons","xing","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"yahoo;fillColor=#AC37AE;gradientColor=#2E0E2D",102.4,102.4,"","Yahoo",null,null,this.getTagsForStencil("mxgraph.webicons","yahoo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"yahoo_2;fillColor=#AC37AE;gradientColor=#2E0E2D",102.4,102.4,"","Yahoo", +null,null,this.getTagsForStencil("mxgraph.webicons","yahoo","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"yammer;fillColor=#00AFE0;gradientColor=#005F7A",102.4,102.4,"","Yammer",null,null,this.getTagsForStencil("mxgraph.webicons","yammer","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"yandex;gradientColor=#DFDEDE",102.4,102.4,"","Yandex",null,null,this.getTagsForStencil("mxgraph.webicons","yandex","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"yelp;fillColor=#EF5140;gradientColor=#9C1410", +102.4,102.4,"","Yelp",null,null,this.getTagsForStencil("mxgraph.webicons","yelp","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"yoolink;gradientColor=#DFDEDE",102.4,102.4,"","Yoolink",null,null,this.getTagsForStencil("mxgraph.webicons","yoolink","web icons icon").join(" ")),this.createVertexTemplateEntry(a+"youmob;gradientColor=#DFDEDE",102.4,102.4,"","Youmob",null,null,this.getTagsForStencil("mxgraph.webicons","youmob","web icons icon").join(" "))])};Sidebar.prototype.addWebLogosPalette= +function(){var a="dashed=0;outlineConnect=0;html=1;align=center;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;"+mxConstants.STYLE_SHAPE+"=mxgraph.weblogos.";this.addPaletteFunctions("weblogos","Web Logos",!1,[this.createVertexTemplateEntry(a+"adfty;fillColor=#66E8F3;gradientColor=#1C7CBA",91.2,.2*458,"","Adfty",null,null,this.getTagsForStencil("mxgraph.weblogos","adfty","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"adobe_pdf;fillColor=#A60908",69.4,.2*338,"", +"Adobe PDF",null,null,this.getTagsForStencil("mxgraph.weblogos","adobe pdf","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"aim",.2*312,68.4,"","Aim",null,null,this.getTagsForStencil("mxgraph.weblogos","aim","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"allvoices",84,.2*398,"","Allvoices",null,null,this.getTagsForStencil("mxgraph.weblogos","allvoices","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"amazon",.2*314,68.2,"","Amazon",null,null,this.getTagsForStencil("mxgraph.weblogos", +"amazon","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"android;fillColor=#A4CA39;strokeColor=none",.2*338,80,"","Android",null,null,this.getTagsForStencil("mxgraph.weblogos","android","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"apache",42.6,85.2,"","Apache",null,null,this.getTagsForStencil("mxgraph.weblogos","apache db database","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"apple;fillColor=#1B1C1C;strokeColor=none",.2*312,76.2,"","Apple",null,null, +this.getTagsForStencil("mxgraph.weblogos","apple","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"apple_classic",.2*312,76.2,"","Apple (classic)",null,null,this.getTagsForStencil("mxgraph.weblogos","apple classic","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"app_store;fillColor=#000000;strokeColor=none",61.2,20,"","App Store",null,null,this.getTagsForStencil("mxgraph.weblogos","app store application","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"app_store_iphone;fillColor=#75797C;strokeColor=none", +61.2,20,"","App Store iPhone",null,null,this.getTagsForStencil("mxgraph.weblogos","app store iphone","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"arduino;fillColor=#36868D;strokeColor=none",67.4,32,"","Arduino",null,null,this.getTagsForStencil("mxgraph.weblogos","arduino","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"ask;fillColor=#D22028;strokeColor=none",.2*343,50.6,"","Ask",null,null,this.getTagsForStencil("mxgraph.weblogos","ask","web logos logo").join(" ")), +this.createVertexTemplateEntry("image;image=img/lib/atlassian/Atlassian_Logo.svg;",66,66,"","Atlassian",null,null,this.getTagsForStencil("mxgraph.weblogos","atlassian logo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"audioboo;fillColor=#B9217E",54,79.4,"","Audioboo",null,null,this.getTagsForStencil("mxgraph.weblogos","audioboo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"aws",63.6,.2*292,"","AWS",null,null,this.getTagsForStencil("mxgraph.weblogos","aws amazon web service", +"web logos logo").join(" ")),this.createVertexTemplateEntry(a+"aws_s3",61.6,57.6,"","AWS S3",null,null,this.getTagsForStencil("mxgraph.weblogos","aws s3 amazon web service","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"baidu;fillColor=#3F4D9E",71,77,"","Baidu",null,null,this.getTagsForStencil("mxgraph.weblogos","baidu","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Bamboo_Logo.svg;",64,74,"","Bamboo",null,null,this.getTagsForStencil("mxgraph.weblogos", +"bamboo logo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"bebo;fillColor=#EC1C23;strokeColor=none",.2*279,71.4,"","Bebo",null,null,this.getTagsForStencil("mxgraph.weblogos","bebo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"behance;fillColor=#3A3333",73.8,45.6,"","Behance",null,null,this.getTagsForStencil("mxgraph.weblogos","behance","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"bing;fillColor=#008373;strokeColor=none",53,66.2,"","Bing",null, +null,this.getTagsForStencil("mxgraph.weblogos","bing","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Bitbucket_Logo.svg;",57,50,"","Bitbucket",null,null,this.getTagsForStencil("mxgraph.weblogos","bitbucket logo atlassian","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"blinklist;fillColor=#3A3333;strokeColor=none",81.2,72,"","Blinklist",null,null,this.getTagsForStencil("mxgraph.weblogos","blinklist","web logos logo").join(" ")),this.createVertexTemplateEntry(a+ +"blogger;fillColor=#F66C2A;strokeColor=none",58,58.2,"","Blogger",null,null,this.getTagsForStencil("mxgraph.weblogos","blogger","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"blogmarks",37.6,64.4,"","Blogmarks",null,null,this.getTagsForStencil("mxgraph.weblogos","blogmarks","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"bookmarks.fr",70.2,.2*314,"","Bookmarks.fr",null,null,this.getTagsForStencil("mxgraph.weblogos","bookmarks.fr","web logos logo").join(" ")),this.createVertexTemplateEntry(a+ +"box;fillColor=#2771B9;strokeColor=none",44.6,64.2,"","Box",null,null,this.getTagsForStencil("mxgraph.weblogos","box","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"buddymarks",79.4,57,"","Buddymarks",null,null,this.getTagsForStencil("mxgraph.weblogos","buddymarks","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"buffer;fillColor=#221F1F;strokeColor=none",70.4,.2*302,"","Buffer",null,null,this.getTagsForStencil("mxgraph.weblogos","buffer","web logos logo").join(" ")), +this.createVertexTemplateEntry(a+"buzzfeed;fillColor=#ED3223;strokeColor=none",78,78,"","Buzzfeed",null,null,this.getTagsForStencil("mxgraph.weblogos","buzzfeed","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"chrome",74.8,75.4,"","Chrome",null,null,this.getTagsForStencil("mxgraph.weblogos","chrome","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"citeulike;fillColor=#698139",.2*378,36,"","Citeulike",null,null,this.getTagsForStencil("mxgraph.weblogos","citeulike","web logos logo").join(" ")), +this.createVertexTemplateEntry("image;image=img/lib/atlassian/Clover_Logo.svg;",71,71,"","Clover",null,null,this.getTagsForStencil("mxgraph.weblogos","clover logo","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Confluence_Logo.svg;",63,57,"","Confluence",null,null,this.getTagsForStencil("mxgraph.weblogos","confluence logo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"connotea",81,.2*413,"","Connotea",null,null,this.getTagsForStencil("mxgraph.weblogos", +"connotea","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Crowd_Logo.svg;",66,65,"","Crowd",null,null,this.getTagsForStencil("mxgraph.weblogos","crowd logo","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Crucible_Logo.svg;",61,61,"","Crucible",null,null,this.getTagsForStencil("mxgraph.weblogos","crucible logo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"dealsplus;fillColor=#935492",76,.2*333, +"","Dealsplus",null,null,this.getTagsForStencil("mxgraph.weblogos","dealsplus","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"designfloat;strokeColor=none",72,72,"","Designfloat",null,null,this.getTagsForStencil("mxgraph.weblogos","designfloat","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"deviantart;fillColor=#009544;strokeColor=none;",62,86.4,"","Deviantart",null,null,this.getTagsForStencil("mxgraph.weblogos","deviantart","web logos logo").join(" ")),this.createVertexTemplateEntry(a+ +"digg",58,56,"","Digg",null,null,this.getTagsForStencil("mxgraph.weblogos","digg","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"diigo;fillColor=#2973D2;strokeColor=none",61.2,68.8,"","Diigo",null,null,this.getTagsForStencil("mxgraph.weblogos","diiigo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"dopplr;fillColor=#F9634D;strokeColor=none",102.4,102.4,"","Dopplr",null,null,this.getTagsForStencil("mxgraph.weblogos","dopplr","web logos logo").join(" ")),this.createVertexTemplateEntry(a+ +"drawio2;fillColor=#1A5BA3",52.2,70.8,"","Draw.io",null,null,this.getTagsForStencil("mxgraph.weblogos","drawio draw io draw.io","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"drawio3;fillColor=#1A5BA3;fontSize=15;fontColor=#1A5BA3;fontStyle=1",52.2,52.2,'draw.<font color="#f08707">io</font>',"Draw.io",null,null,this.getTagsForStencil("mxgraph.weblogos","drawio draw io draw.io","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"dribbble;fillColor=#EB548D",67.4,67.2,"","Dribbble", +null,null,this.getTagsForStencil("mxgraph.weblogos","dribbble","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"dropbox;fillColor=#0287EA",73.4,62,"","Dropbox2",null,null,this.getTagsForStencil("mxgraph.weblogos","dropbox","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"drupal",60.6,69,"","Drupal",null,null,this.getTagsForStencil("mxgraph.weblogos","drupal","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"dzone",.2*438,61.2,"","Dzone",null,null,this.getTagsForStencil("mxgraph.weblogos", +"dzone","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"ebay",81.2,34.4,"","Ebay",null,null,this.getTagsForStencil("mxgraph.weblogos","ebay","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"edmodo;fillColor=#276CB0;strokeColor=none",69.2,73.8,"","Edmodo",null,null,this.getTagsForStencil("mxgraph.weblogos","edmodo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"evernote;fillColor=#3F3F3F",.2*317,75.2,"","Evernote",null,null,this.getTagsForStencil("mxgraph.weblogos", +"evernote","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"fancy;fillColor=#6DB3E3",39.2,79,"","Fancy",null,null,this.getTagsForStencil("mxgraph.weblogos","fancy","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"fark;fillColor=#B1B0C7;gradientColor=#ffffff;strokeColor=#B1B0C7",44.2,70.2,"","Fark",null,null,this.getTagsForStencil("mxgraph.weblogos","fark","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"fashiolista",.2*388,73.2,"","Fashiolista",null,null, +this.getTagsForStencil("mxgraph.weblogos","fashiolista","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"feed;fillColor=#000000",.2*302,59.2,"","Feed",null,null,this.getTagsForStencil("mxgraph.weblogos","feed","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"feedburner",68.4,74.4,"","Feedburner",null,null,this.getTagsForStencil("mxgraph.weblogos","feedburner","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Fisheye_Logo.svg;",71, +59,"","Fisheye",null,null,this.getTagsForStencil("mxgraph.weblogos","fisheye logo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"flickr",71.2,.2*156,"","Flickr",null,null,this.getTagsForStencil("mxgraph.weblogos","flickr","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"folkd;fillColor=#165AA6",.2*419,43.6,"","Folkd",null,null,this.getTagsForStencil("mxgraph.weblogos","folkd","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"forrst;fillColor=#27431F",.2* +264,73.2,"","Forrst",null,null,this.getTagsForStencil("mxgraph.weblogos","forrst","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"fotolog;fillColor=#000000;strokeColor=none",47.6,47.6,"","Fotolog",null,null,this.getTagsForStencil("mxgraph.weblogos","fotolog","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"freshbump;fillColor=#C2D952;strokeColor=none",71.2,76,"","Freshbump",null,null,this.getTagsForStencil("mxgraph.weblogos","freshbump","web logos logo").join(" ")),this.createVertexTemplateEntry(a+ +"fresqui",102.4,102.4,"","Fresqui",null,null,this.getTagsForStencil("mxgraph.weblogos","fresqui","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"friendfeed;fillColor=#4172BB",73.8,71,"","Friendfeed",null,null,this.getTagsForStencil("mxgraph.weblogos","fiendfeed","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"funp",75,40,"","Funp",null,null,this.getTagsForStencil("mxgraph.weblogos","funp","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"fwisp;fillColor=#66676A;strokeColor=none", +65.4,66,"","Fwisp",null,null,this.getTagsForStencil("mxgraph.weblogos","fwisp","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"gabbr;fillColor=#F05B1E",64.4,66,"","Gabbr",null,null,this.getTagsForStencil("mxgraph.weblogos","gabbr","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"gamespot",.2*408,.2*408,"","Gamespot",null,null,this.getTagsForStencil("mxgraph.weblogos","gamespot","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"github",75,75,"","Github",null, +null,this.getTagsForStencil("mxgraph.weblogos","github","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"gmail",64.8,.2*234,"","Gmail",null,null,this.getTagsForStencil("mxgraph.weblogos","gmail","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google",65.2,69.4,"","Google",null,null,this.getTagsForStencil("mxgraph.weblogos","google","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google_drive",66.4,58,"","Google Drive",null,null,this.getTagsForStencil("mxgraph.weblogos", +"google drive","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google_hangout;fillColor=#4BA139;strokeColor=none",64.8,75.4,"","Google Hangout",null,null,this.getTagsForStencil("mxgraph.weblogos","google hangout","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google_play;fillColor=#000000",69.4,20.6,"","Google Play",null,null,this.getTagsForStencil("mxgraph.weblogos","google play","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google_play_light;fillColor=#66E8F3;gradientColor=#1C7CBA", +60,10.4,"","Google Play Light",null,null,this.getTagsForStencil("mxgraph.weblogos","google play light","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google_photos",87.2,87.2,"","Google Photos",null,null,this.getTagsForStencil("mxgraph.weblogos","google photos","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"google_plus;fillColor=#DD4C40;strokeColor=none",.2*328,44,"","Google+",null,null,this.getTagsForStencil("mxgraph.weblogos","google plus","web logos logo").join(" ")), +this.createVertexTemplateEntry(a+"grooveshark;fillColor=#000000;strokeColor=none",62.2,62.2,"","Grooveshark",null,null,this.getTagsForStencil("mxgraph.weblogos","grooveshark","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"hatena",86.2,44.2,"","Hatena",null,null,this.getTagsForStencil("mxgraph.weblogos","hatena","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Hipchat_Logo.svg;",66,62,"","Hipchat",null,null,this.getTagsForStencil("mxgraph.weblogos", +"hipchat logo atlassian","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"html5",.2*262,74,"","HTML5",null,null,this.getTagsForStencil("mxgraph.weblogos","html5 html","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"identi.ca",74.2,47.6,"","Identi.ca",null,null,this.getTagsForStencil("mxgraph.weblogos","identi.ca","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"instagram;fillColor=#6FC0E4;gradientColor=#1E305B",72.2,72.2,"","Instagram",null,null,this.getTagsForStencil("mxgraph.weblogos", +"instagram","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"instapaper",27.6,70.2,"","Instapaper",null,null,this.getTagsForStencil("mxgraph.weblogos","instapaper","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"ios;fillColor=#695D5D;gradientColor=#100E0E",.2*368,.2*197,"","iOS",null,null,this.getTagsForStencil("mxgraph.weblogos","ios","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"jamespot;fillColor=#695D5D;gradientColor=#100E0E",78,78,"","Jamespot",null, +null,this.getTagsForStencil("mxgraph.weblogos","jamespot","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"java",34.4,65,"","Java",null,null,this.getTagsForStencil("mxgraph.weblogos","java","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Jira_Logo.svg;",72,72,"","Jira",null,null,this.getTagsForStencil("mxgraph.weblogos","jira logo","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Jira_Core_Logo.svg;", +55,66,"","Jira Core",null,null,this.getTagsForStencil("mxgraph.weblogos","jira core logo atlassian","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Jira_Service_Desk_Logo.svg;",59,76,"","Jira Service Desk",null,null,this.getTagsForStencil("mxgraph.weblogos","jira service desk logo atlassian","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Jira_Software_Logo.svg;",74,76,"","Jira Software",null,null,this.getTagsForStencil("mxgraph.weblogos", +"jira software logo atlassian","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"joomla;fillColor=#1F457D;gradientColor=#081220",66,.2*328,"","Joomla",null,null,this.getTagsForStencil("mxgraph.weblogos","joomla","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"jquery;fillColor=#0BB9EA;gradientColor=#032F80",73.8,67,"","Jquery",null,null,this.getTagsForStencil("mxgraph.weblogos","jquery","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"json",70,75.8,"","JSON", +null,null,this.getTagsForStencil("mxgraph.weblogos","json","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"json_2",80.4,.2*126,"","JSON",null,null,this.getTagsForStencil("mxgraph.weblogos","json","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"last.fm;fillColor=#F33543;gradientColor=#BD0E11",83.2,50,"","Last.fm",null,null,this.getTagsForStencil("mxgraph.weblogos","last.fm last fm","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"linkagogo;fillColor=#F6F5FA;gradientColor=#C8C1E1", +102.2,80,"","Linkagogo",null,null,this.getTagsForStencil("mxgraph.weblogos","linkagogo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"linkedin;fillColor=#0095DB;gradientColor=#006391",.2*287,60.6,"","LinkedIn",null,null,this.getTagsForStencil("mxgraph.weblogos","linkedin","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"livejournal;fillColor=#2690E5;gradientColor=#0A2463",64,.2*343,"","Livejournal",null,null,this.getTagsForStencil("mxgraph.weblogos","livejournal","web logos logo").join(" ")), +this.createVertexTemplateEntry(a+"mail.ru;fillColor=#267BE0;gradientColor=#0A1F42",81.2,.2*393,"","Mail.ru",null,null,this.getTagsForStencil("mxgraph.weblogos","mail.ru","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"mathoverflow;fillColor=#656463;gradientColor=#F28711;gradientDirection=east",59,48.2,"","MathOverflow",null,null,this.getTagsForStencil("mxgraph.weblogos","mathoverflow","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"meetup;fillColor=#413E3E;strokeColor=none", +74.8,30,"","Meetup",null,null,this.getTagsForStencil("mxgraph.weblogos","meetup","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"meneame",76,.2*338,"","Meneame",null,null,this.getTagsForStencil("mxgraph.weblogos","meneame","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"messenger",.2*413,.2*384,"","Messenger",null,null,this.getTagsForStencil("mxgraph.weblogos","messenger","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"messenger_2",64.4,64.8,"","Messenger", +null,null,this.getTagsForStencil("mxgraph.weblogos","messenger","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"messenger_3;fillColor=#437BBD;strokeColor=#dddddd",64.4,64.8,"","Messenger",null,null,this.getTagsForStencil("mxgraph.weblogos","messenger","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"mind_body_green;strokeColor=#888888",81.4,.2*464,"","Mind Body Green",null,null,this.getTagsForStencil("mxgraph.weblogos","mind body green","web logos logo").join(" ")),this.createVertexTemplateEntry(a+ +"mongodb",41.2,86.2,"","MongoDb",null,null,this.getTagsForStencil("mxgraph.weblogos","mongodb","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"myspace;fillColor=#003399;strokeColor=none",63,70.2,"","MySpace",null,null,this.getTagsForStencil("mxgraph.weblogos","myspace","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"n4g;fillColor=#000000;strokeColor=none",88.2,31.8,"","N4g",null,null,this.getTagsForStencil("mxgraph.weblogos","n4g","web logos logo").join(" ")),this.createVertexTemplateEntry(a+ +"netlog;fillColor=#F42424;strokeColor=none",.2*383,68.8,"","Netlog",null,null,this.getTagsForStencil("mxgraph.weblogos","netlog","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"netvibes;fillColor=#84BD00;strokeColor=none",.2*309,.2*309,"","Netvibes",null,null,this.getTagsForStencil("mxgraph.weblogos","netvibes","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"netvouz",57.2,.2*287,"","Netvouz",null,null,this.getTagsForStencil("mxgraph.weblogos","netvouz","web logos logo").join(" ")), +this.createVertexTemplateEntry(a+"networkedblogs",.2*394,.2*394,"","Networkedblogs",null,null,this.getTagsForStencil("mxgraph.weblogos","networkedblogs","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"newsvine;fillColor=#005221;strokeColor=none",40.6,77.2,"","Newsvine",null,null,this.getTagsForStencil("mxgraph.weblogos","newsvine","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"odnoklassniki;fillColor=#F58220;strokeColor=none",.2*247,82,"","Odnoklassniki",null,null,this.getTagsForStencil("mxgraph.weblogos", +"odnoklassniki","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"oknotizie",.2*237,70.4,"","Oknotizie",null,null,this.getTagsForStencil("mxgraph.weblogos","oknotizie","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"onedrive;fillColor=#094AB1;strokeColor=none",71.2,43.2,"","OneDrive",null,null,this.getTagsForStencil("mxgraph.weblogos","onedrive","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"oracle;fillColor=#FF0000;strokeColor=none",90,23,"","Oracle",null, +null,this.getTagsForStencil("mxgraph.weblogos","oracle","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"paypal",51.2,58,"","Paypal",null,null,this.getTagsForStencil("mxgraph.weblogos","paypal","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"phone;fillColor=#36BE0F;strokeColor=none",.2*289,54.2,"","Phone",null,null,this.getTagsForStencil("mxgraph.weblogos","phone","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"phonefavs",64.4,.2*394,"","Phonefavs",null, +null,this.getTagsForStencil("mxgraph.weblogos","phonefavs","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"pinterest;fillColor=#BD081C;strokeColor=none",.2*384,74.4,"","Pinterest",null,null,this.getTagsForStencil("mxgraph.weblogos","pinterest","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"plaxo;fillColor=#414F5C;strokeColor=none",80,80,"","Plaxo",null,null,this.getTagsForStencil("mxgraph.weblogos","plaxo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+ +"playfire;fillColor=#FDA21A;gradientColor=#FEE635;strokeColor=none",62,61.6,"","Playfire",null,null,this.getTagsForStencil("mxgraph.weblogos","playfire","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"plurk;fillColor=#E9443D;strokeColor=none",102.4,102.4,"","Plurk",null,null,this.getTagsForStencil("mxgraph.weblogos","plurk","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"pocket;fillColor=#EE4056;strokeColor=none",.2*314,.2*289,"","Pocket",null,null,this.getTagsForStencil("mxgraph.weblogos", +"pocket","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"protopage;fillColor=#4B78C0;gradientColor=#294282",.2*394,80,"","Protopage",null,null,this.getTagsForStencil("mxgraph.weblogos","protopage","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"readernaut;fillColor=#000000;strokeColor=none",72,72,"","Readernaut",null,null,this.getTagsForStencil("mxgraph.weblogos","readernaut","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"reddit;fillColor=#F3F8FC;gradientColor=#B4D2F0", +88,.2*368,"","Reddit",null,null,this.getTagsForStencil("mxgraph.weblogos","reddit","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"rss;fillColor=#F56800;strokeColor=none",.2*408,.2*408,"","RSS",null,null,this.getTagsForStencil("mxgraph.weblogos","rss","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"scoopit;fillColor=#6CAB36;strokeColor=none",58,70,"","Scoopit",null,null,this.getTagsForStencil("mxgraph.weblogos","scoopit","web logos logo").join(" ")),this.createVertexTemplateEntry(a+ +"scribd;fillColor=#3D3533;strokeColor=none",.2*289,69.2,"","Scribd",null,null,this.getTagsForStencil("mxgraph.weblogos","scribd","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"segnalo",.2*403,.2*389,"","Segnalo",null,null,this.getTagsForStencil("mxgraph.weblogos","segnalo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"sina",.2*429,.2*343,"","Sina",null,null,this.getTagsForStencil("mxgraph.weblogos","sina","web logos logo").join(" ")),this.createVertexTemplateEntry(a+ +"sitejot",77.2,66,"","Sitejot",null,null,this.getTagsForStencil("mxgraph.weblogos","sitejot","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"skype;fillColor=#2AACE2;strokeColor=none",.2*388,.2*394,"","Skype",null,null,this.getTagsForStencil("mxgraph.weblogos","skype","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"skyrock;fillColor=#009AFF;strokeColor=none",67.8,70.4,"","Skyrock",null,null,this.getTagsForStencil("mxgraph.weblogos","skyrock","web logos logo").join(" ")), +this.createVertexTemplateEntry(a+"slashdot;fillColor=#026664;strokeColor=none",.2*262,62,"","Slashdot",null,null,this.getTagsForStencil("mxgraph.weblogos","slashdot","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"sms;fillColor=#48B921;strokeColor=none",69.2,64,"","SMS",null,null,this.getTagsForStencil("mxgraph.weblogos","sms","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"socialvibe;fillColor=#EE2F7F;strokeColor=none",50,50,"","Socialvibe",null,null,this.getTagsForStencil("mxgraph.weblogos", +"socialvibe","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"society6;fillColor=#000000;strokeColor=none",74.8,53,"","Society6",null,null,this.getTagsForStencil("mxgraph.weblogos","society6","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"sonico;fillColor=#01AEF0;strokeColor=none",69.2,63.2,"","Sonico",null,null,this.getTagsForStencil("mxgraph.weblogos","sonico","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"soundcloud;fillColor=#FE4600;strokeColor=none", +73.4,32.6,"","Soundcloud",null,null,this.getTagsForStencil("mxgraph.weblogos","soundcloud","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"sourceforge",74.2,74.4,"","Sourceforge",null,null,this.getTagsForStencil("mxgraph.weblogos","sourceforge","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"sourceforge_2;fillColor=#00547E;strokeColor=none",63.2,.2*234,"","Sourceforge",null,null,this.getTagsForStencil("mxgraph.weblogos","sourceforge","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Sourcetree_Logo.svg;", 57,71,"","Sourcetree",null,null,this.getTagsForStencil("mxgraph.weblogos","sourcetree logo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"spring.me;fillColor=#0374B8;strokeColor=none",73.2,31.6,"","Spring.me",null,null,this.getTagsForStencil("mxgraph.weblogos","spring me","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"stackexchange",.2*319,79,"","Stackexchange",null,null,this.getTagsForStencil("mxgraph.weblogos","stackexchange stack exchange","web logos logo").join(" ")), this.createVertexTemplateEntry(a+"stackoverflow",.2*272,64,"","StackOverflow",null,null,this.getTagsForStencil("mxgraph.weblogos","stackoverflow stack overflow","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"startaid;fillColor=#409FCF;strokeColor=none",41.2,42.6,"","Startaid",null,null,this.getTagsForStencil("mxgraph.weblogos","startaid","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"startlap;fillColor=#B9E6F0;gradientColor=#3062A2",82,84.2,"","Startlap",null,null, this.getTagsForStencil("mxgraph.weblogos","startlap","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Statuspage_Logo.svg;",75,52,"","Statuspage",null,null,this.getTagsForStencil("mxgraph.weblogos","statuspage logo","web logos logo").join(" ")),this.createVertexTemplateEntry(a+"steam;fillColor=#695D5D;gradientColor=#100E0E",85.2,39.6,"","Steam",null,null,this.getTagsForStencil("mxgraph.weblogos","steam","web logos logo").join(" ")),this.createVertexTemplateEntry("image;image=img/lib/atlassian/Stride_Logo.svg;", @@ -7760,22 +7749,22 @@ DrawioFile.prototype.maxAutosaveRevisionDelay=3E5;DrawioFile.prototype.inConflic DrawioFile.prototype.synchronizeFile=function(a,c){this.savingFile?null!=c&&c({message:mxResources.get("busy")}):null!=this.sync?this.sync.fileChanged(a,c):this.updateFile(a,c)}; DrawioFile.prototype.updateFile=function(a,c,b,d){null!=b&&b()||(this.ui.getCurrentFile()!=this||this.invalidChecksum?null!=c&&c():this.getLatestVersion(mxUtils.bind(this,function(g){try{null!=b&&b()||(this.ui.getCurrentFile()!=this||this.invalidChecksum?null!=c&&c():null!=g?this.mergeFile(g,a,c,d):this.reloadFile(a,c))}catch(e){null!=c&&c(e)}}),c))}; DrawioFile.prototype.mergeFile=function(a,c,b,d){var g=!0;try{this.stats.fileMerged++;var e=null!=this.shadowPages?this.shadowPages:this.ui.getPagesForNode(mxUtils.parseXml(this.shadowData).documentElement),k=this.ui.getPagesForNode(mxUtils.parseXml(a.data).documentElement);if(null!=k&&0<k.length){this.shadowPages=k;this.backupPatch=this.isModified()?this.ui.diffPages(e,this.ui.pages):null;var m=[this.ui.diffPages(null!=d?d:e,this.shadowPages)];if(!this.ignorePatches(m)){var n=this.ui.patchPages(e, -m[0]);d={};var q=this.ui.getHashValueForPages(n,d),e={},f=this.ui.getHashValueForPages(this.shadowPages,e);"1"==urlParams.test&&EditorUi.debug("File.mergeFile",[this],"backup",this.backupPatch,"patches",m,"checksum",f==q,q);if(null!=q&&q!=f){var l=this.compressReportData(this.getAnonymizedXmlForPages(k)),p=this.compressReportData(this.getAnonymizedXmlForPages(n)),u=this.ui.hashValue(a.getCurrentEtag()),v=this.ui.hashValue(this.getCurrentEtag());this.checksumError(b,m,"Shadow Details: "+JSON.stringify(d)+ -"\nChecksum: "+q+"\nCurrent: "+f+"\nCurrent Details: "+JSON.stringify(e)+"\nFrom: "+u+"\nTo: "+v+"\n\nFile Data:\n"+l+"\nPatched Shadow:\n"+p,null,"mergeFile");return}this.patch(m,DrawioFile.LAST_WRITE_WINS?this.backupPatch:null)}}else throw g=!1,Error(mxResources.get("notADiagramFile"));this.inConflictState=this.invalidChecksum=!1;this.setDescriptor(a.getDescriptor());this.descriptorChanged();this.backupPatch=null;null!=c&&c()}catch(y){this.invalidChecksum=this.inConflictState=!0;this.descriptorChanged(); -null!=b&&b(y);try{if(g)if(this.errorReportsEnabled)this.sendErrorReport("Error in mergeFile",null,y);else{var t=this.getCurrentUser(),z=null!=t?t.id:"unknown";EditorUi.logError("Error in mergeFile",null,this.getMode()+"."+this.getId(),z,y)}}catch(C){}}}; +m[0]);d={};var t=this.ui.getHashValueForPages(n,d),e={},f=this.ui.getHashValueForPages(this.shadowPages,e);"1"==urlParams.test&&EditorUi.debug("File.mergeFile",[this],"backup",this.backupPatch,"patches",m,"checksum",f==t,t);if(null!=t&&t!=f){var l=this.compressReportData(this.getAnonymizedXmlForPages(k)),p=this.compressReportData(this.getAnonymizedXmlForPages(n)),u=this.ui.hashValue(a.getCurrentEtag()),v=this.ui.hashValue(this.getCurrentEtag());this.checksumError(b,m,"Shadow Details: "+JSON.stringify(d)+ +"\nChecksum: "+t+"\nCurrent: "+f+"\nCurrent Details: "+JSON.stringify(e)+"\nFrom: "+u+"\nTo: "+v+"\n\nFile Data:\n"+l+"\nPatched Shadow:\n"+p,null,"mergeFile");return}this.patch(m,DrawioFile.LAST_WRITE_WINS?this.backupPatch:null)}}else throw g=!1,Error(mxResources.get("notADiagramFile"));this.inConflictState=this.invalidChecksum=!1;this.setDescriptor(a.getDescriptor());this.descriptorChanged();this.backupPatch=null;null!=c&&c()}catch(y){this.invalidChecksum=this.inConflictState=!0;this.descriptorChanged(); +null!=b&&b(y);try{if(g)if(this.errorReportsEnabled)this.sendErrorReport("Error in mergeFile",null,y);else{var q=this.getCurrentUser(),z=null!=q?q.id:"unknown";EditorUi.logError("Error in mergeFile",null,this.getMode()+"."+this.getId(),z,y)}}catch(C){}}}; DrawioFile.prototype.getAnonymizedXmlForPages=function(a){var c=new mxCodec(mxUtils.createXmlDocument()),b=c.document.createElement("mxfile");if(null!=a)for(var d=0;d<a.length;d++){var g=c.encode(new mxGraphModel(a[d].root));"1"!=urlParams.dev&&(g=this.ui.anonymizeNode(g,!0));g.setAttribute("id",a[d].getId());a[d].viewState&&this.ui.editor.graph.saveViewState(a[d].viewState,g,!0);b.appendChild(g)}return mxUtils.getPrettyXml(b)}; DrawioFile.prototype.compressReportData=function(a,c,b){c=null!=c?c:1E4;null!=b&&null!=a&&a.length>b?a=a.substring(0,b)+"[...]":null!=a&&a.length>c&&(a=Graph.compress(a)+"\n");return a}; DrawioFile.prototype.checksumError=function(a,c,b,d,g){this.stats.checksumErrors++;this.invalidChecksum=this.inConflictState=!0;this.descriptorChanged();null!=this.sync&&this.sync.updateOnlineState();null!=a&&a();try{if(this.errorReportsEnabled){if(null!=c)for(a=0;a<c.length;a++)this.ui.anonymizePatch(c[a]);var e=mxUtils.bind(this,function(a){var d=this.compressReportData(JSON.stringify(c,null,2));a=null!=a?this.compressReportData(this.getAnonymizedXmlForPages(this.ui.getPagesForNode(mxUtils.parseXml(a.data).documentElement)), 25E3):"n/a";this.sendErrorReport("Checksum Error in "+g+" "+this.getHash(),(null!=b?b:"")+"\n\nPatches:\n"+d+(null!=a?"\n\nRemote:\n"+a:""),null,7E4)});null==d?e(null):this.getLatestVersion(mxUtils.bind(this,function(a){null!=a&&a.getCurrentEtag()==d?e(a):e(null)}),function(){})}else{var k=this.getCurrentUser(),m=null!=k?k.id:"unknown";EditorUi.logError("Checksum Error in "+g+" "+this.getId(),null,this.getMode()+"."+this.getId(),"user_"+m+(null!=this.sync?"-client_"+this.sync.clientId:"-nosync")); try{EditorUi.logEvent({category:"CHECKSUM-ERROR-SYNC-FILE-"+this.getHash(),action:g,label:"user_"+m+(null!=this.sync?"-client_"+this.sync.clientId:"-nosync")})}catch(n){}}}catch(n){}}; -DrawioFile.prototype.sendErrorReport=function(a,c,b,d){try{var g=this.compressReportData(this.getAnonymizedXmlForPages(this.shadowPages),25E3),e=this.compressReportData(this.getAnonymizedXmlForPages(this.ui.pages),25E3),k=this.getCurrentUser(),m=null!=k?this.ui.hashValue(k.id):"unknown",n=null!=this.sync?"-client_"+this.sync.clientId:"-nosync",q=this.getTitle(),f=q.lastIndexOf("."),k="xml";0<f&&(k=q.substring(f));var l=null!=b?b.stack:Error().stack;EditorUi.sendReport(a+" "+(new Date).toISOString()+ +DrawioFile.prototype.sendErrorReport=function(a,c,b,d){try{var g=this.compressReportData(this.getAnonymizedXmlForPages(this.shadowPages),25E3),e=this.compressReportData(this.getAnonymizedXmlForPages(this.ui.pages),25E3),k=this.getCurrentUser(),m=null!=k?this.ui.hashValue(k.id):"unknown",n=null!=this.sync?"-client_"+this.sync.clientId:"-nosync",t=this.getTitle(),f=t.lastIndexOf("."),k="xml";0<f&&(k=t.substring(f));var l=null!=b?b.stack:Error().stack;EditorUi.sendReport(a+" "+(new Date).toISOString()+ ":\n\nBrowser="+navigator.userAgent+"\nFile="+this.ui.hashValue(this.getId())+" ("+this.getMode()+")"+(this.isModified()?" modified":"")+"\nSize/Type="+this.getSize()+" ("+k+")\nUser="+m+n+"\nPrefix="+this.ui.editor.graph.model.prefix+"\nSync="+DrawioFile.SYNC+(null!=this.sync?(this.sync.enabled?" enabled":"")+(this.sync.isConnected()?" connected":""):"")+"\nPlugins="+(null!=mxSettings.settings?mxSettings.getPlugins():"null")+"\n\nStats:\n"+JSON.stringify(this.stats,null,2)+(null!=c?"\n\n"+c:"")+ (null!=b?"\n\nError: "+b.message:"")+"\n\nStack:\n"+l+"\n\nShadow:\n"+g+"\n\nData:\n"+e,d)}catch(p){}}; DrawioFile.prototype.reloadFile=function(a,c){try{this.ui.spinner.stop();var b=mxUtils.bind(this,function(){this.stats.fileReloaded++;this.reportEnabled=!1;var b=this.ui.editor.graph.getViewState(),c=this.ui.editor.graph.getSelectionCells(),e=this.ui.currentPage;this.ui.loadFile(this.getHash(),!0,null,mxUtils.bind(this,function(){if(null==this.ui.fileLoadedError){this.ui.restoreViewState(e,b,c);null!=this.backupPatch&&this.patch([this.backupPatch]);var d=this.ui.getCurrentFile();null!=d&&(d.stats= this.stats);null!=a&&a()}}),!0)});this.isModified()&&null==this.backupPatch?this.ui.confirm(mxResources.get("allChangesLost"),mxUtils.bind(this,function(){this.handleFileSuccess("manual"==DrawioFile.SYNC)}),b,mxResources.get("cancel"),mxResources.get("discardChanges")):b()}catch(d){null!=c&&c(d)}};DrawioFile.prototype.copyFile=function(a,c){this.ui.editor.editAsNew(this.ui.getFileData(!0),this.ui.getCopyFilename(this))}; DrawioFile.prototype.ignorePatches=function(a){for(var c=!0,b=0;b<a.length&&c;b++)c=c&&0==Object.keys(a[b]).length;return c}; -DrawioFile.prototype.patch=function(a,c){var b=this.ui.editor.undoManager,d=b.history.slice(),g=b.indexOfNextAdd,e=this.ui.editor.graph;e.container.style.visibility="hidden";var k=this.changeListenerEnabled;this.changeListenerEnabled=!1;var m=e.foldingEnabled,n=e.mathEnabled,q=e.cellRenderer.redraw;e.cellRenderer.redraw=function(a){a.view.graph.isEditing(a.cell)&&(a.view.graph.scrollCellToVisible(a.cell),a.view.graph.cellEditor.resize());q.apply(this,arguments)};e.model.beginUpdate();try{for(var f= -0;f<a.length;f++)this.ui.pages=this.ui.patchPages(this.ui.pages,a[f],!0,c,this.isModified());0==this.ui.pages.length&&this.ui.pages.push(this.ui.createPage());0>mxUtils.indexOf(this.ui.pages,this.ui.currentPage)&&this.ui.selectPage(this.ui.pages[0],!0)}finally{e.container.style.visibility="";e.model.endUpdate();e.cellRenderer.redraw=q;this.changeListenerEnabled=k;b.history=d;b.indexOfNextAdd=g;b.fireEvent(new mxEventObject(mxEvent.CLEAR));if(null==this.ui.currentPage||this.ui.currentPage.needsUpdate)n!= +DrawioFile.prototype.patch=function(a,c){var b=this.ui.editor.undoManager,d=b.history.slice(),g=b.indexOfNextAdd,e=this.ui.editor.graph;e.container.style.visibility="hidden";var k=this.changeListenerEnabled;this.changeListenerEnabled=!1;var m=e.foldingEnabled,n=e.mathEnabled,t=e.cellRenderer.redraw;e.cellRenderer.redraw=function(a){a.view.graph.isEditing(a.cell)&&(a.view.graph.scrollCellToVisible(a.cell),a.view.graph.cellEditor.resize());t.apply(this,arguments)};e.model.beginUpdate();try{for(var f= +0;f<a.length;f++)this.ui.pages=this.ui.patchPages(this.ui.pages,a[f],!0,c,this.isModified());0==this.ui.pages.length&&this.ui.pages.push(this.ui.createPage());0>mxUtils.indexOf(this.ui.pages,this.ui.currentPage)&&this.ui.selectPage(this.ui.pages[0],!0)}finally{e.container.style.visibility="";e.model.endUpdate();e.cellRenderer.redraw=t;this.changeListenerEnabled=k;b.history=d;b.indexOfNextAdd=g;b.fireEvent(new mxEventObject(mxEvent.CLEAR));if(null==this.ui.currentPage||this.ui.currentPage.needsUpdate)n!= e.mathEnabled?(this.ui.editor.updateGraphComponents(),e.refresh()):(m!=e.foldingEnabled?e.view.revalidate():e.view.validate(),e.sizeDidChange());this.ui.updateTabContainer()}}; DrawioFile.prototype.save=function(a,c,b,d,g,e){try{if(this.isEditable())if(!g&&this.invalidChecksum)if(null!=b)b({message:mxResources.get("checksum")});else throw Error(mxResources.get("checksum"));else this.updateFileData(),this.clearAutosave(),null!=c&&c();else if(null!=b)b({message:mxResources.get("readOnly")});else throw Error(mxResources.get("readOnly"));}catch(k){if(null!=b)b(k);else throw k;}}; DrawioFile.prototype.updateFileData=function(){this.setData(this.ui.getFileData(null,null,null,null,null,null,null,null,this,!this.isCompressed()))};DrawioFile.prototype.isCompressedStorage=function(){return!0};DrawioFile.prototype.isCompressed=function(){var a=null!=this.ui.fileNode?this.ui.fileNode.getAttribute("compressed"):null;return null!=a?"false"!=a:this.isCompressedStorage()&&Editor.compressXml};DrawioFile.prototype.saveAs=function(a,c,b){};DrawioFile.prototype.saveFile=function(a,c,b,d){}; @@ -7827,23 +7816,23 @@ StorageFile.prototype.open=function(){DrawioFile.prototype.open.apply(this,argum StorageLibrary.prototype.isRenamable=function(a,c,b){return".scratchpad"!=this.title};StorageLibrary.prototype.open=function(){};RemoteFile=function(a,c,b){DrawioFile.call(this,a,c);this.title=b;this.mode=null};mxUtils.extend(RemoteFile,DrawioFile);RemoteFile.prototype.isAutosave=function(){return!1};RemoteFile.prototype.getMode=function(){return this.mode};RemoteFile.prototype.getTitle=function(){return this.title};RemoteFile.prototype.isRenamable=function(){return!1};RemoteFile.prototype.open=function(){this.ui.setFileData(this.getData());this.installListeners()};RemoteLibrary=function(a,c,b){RemoteFile.call(this,a,c,b.title);this.libObj=b};mxUtils.extend(RemoteLibrary,LocalFile);RemoteLibrary.prototype.getHash=function(){return"R"+encodeURIComponent(JSON.stringify([this.libObj.id,this.libObj.title,this.libObj.downloadUrl]))};RemoteLibrary.prototype.isEditable=function(){return!1};RemoteLibrary.prototype.isRenamable=function(){return!1};RemoteLibrary.prototype.isAutosave=function(){return!1};RemoteLibrary.prototype.save=function(a,c,b){}; RemoteLibrary.prototype.saveAs=function(a,c,b){};RemoteLibrary.prototype.updateFileData=function(){};RemoteLibrary.prototype.open=function(){};UrlLibrary=function(a,c,b){StorageFile.call(this,a,c,b);a=b;c=a.lastIndexOf("/");0<=c&&(a=a.substring(c+1));this.fname=a};mxUtils.extend(UrlLibrary,StorageFile);UrlLibrary.prototype.getHash=function(){return"U"+encodeURIComponent(this.title)};UrlLibrary.prototype.getTitle=function(){return this.fname};UrlLibrary.prototype.isAutosave=function(){return!1};UrlLibrary.prototype.isEditable=function(a,c,b){return!1};UrlLibrary.prototype.saveAs=function(a,c,b){};UrlLibrary.prototype.open=function(){};/* mxClient.IS_IOS || */ -var StorageDialog=function(a,c,b){function d(p,d,t,e,A,k){function g(){mxEvent.addListener(x,"click",null!=k?k:function(){t!=App.MODE_GOOGLE||a.isDriveDomain()?t==App.MODE_GOOGLE&&a.spinner.spin(document.body,mxResources.get("authorizing"))?a.drive.checkToken(mxUtils.bind(this,function(){a.spinner.stop();a.setMode(t,n.checked);c()})):t==App.MODE_ONEDRIVE&&a.spinner.spin(document.body,mxResources.get("authorizing"))?a.oneDrive.checkToken(mxUtils.bind(this,function(){a.spinner.stop();a.setMode(t,n.checked); -c()})):(a.setMode(t,n.checked),c()):window.location.hostname=DriveClient.prototype.newAppHostname})}++q>b&&(mxUtils.br(f),q=0);var x=document.createElement("a");x.style.overflow="hidden";x.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";x.className="geBaseButton";x.style.boxSizing="border-box";x.style.fontSize="11px";x.style.position="relative";x.style.margin="4px";x.style.marginTop="2px";x.style.padding="8px 10px 12px 10px";x.style.width="88px";x.style.height=StorageDialog.extended?"50px": -"100px";x.style.whiteSpace="nowrap";x.setAttribute("title",d);mxClient.IS_QUIRKS&&(x.style.cssFloat="left",x.style.zoom="1");var u=document.createElement("div");u.style.textOverflow="ellipsis";u.style.overflow="hidden";if(null!=p){var B=document.createElement("img");B.setAttribute("src",p);B.setAttribute("border","0");B.setAttribute("align","absmiddle");B.style.width=StorageDialog.extended?"24px":"60px";B.style.height=StorageDialog.extended?"24px":"60px";B.style.paddingBottom=StorageDialog.extended? -"4px":"6px";x.appendChild(B)}else u.style.paddingTop="5px",u.style.whiteSpace="normal",mxClient.IS_IOS?(x.style.padding="0px 10px 20px 10px",x.style.top="6px"):mxClient.IS_FF&&(u.style.paddingTop="0px",u.style.marginTop="-2px");StorageDialog.extended&&(x.style.paddingTop="4px",x.style.marginBottom="0px",u.display="inline-block",2==b&&(B.style.width="38px",B.style.height="38px",x.style.width="80px",x.style.height="68px"));x.appendChild(u);mxUtils.write(u,d);if(null!=A)for(p=0;p<A.length;p++)mxUtils.br(u), -mxUtils.write(u,A[p]);if(null!=e&&null==a[e]){B.style.visibility="hidden";mxUtils.setOpacity(u,10);var v=new Spinner({lines:12,length:12,width:5,radius:10,rotate:0,color:"dark"==uiTheme?"#c0c0c0":"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"40%",zIndex:2E9});v.spin(x);var F=window.setTimeout(function(){null==a[e]&&(v.stop(),x.style.display="none")},3E4);a.addListener("clientLoaded",mxUtils.bind(this,function(b,c){null!=a[e]&&c.getProperty("client")==a[e]&&(window.clearTimeout(F),mxUtils.setOpacity(u, -100),B.style.visibility="",v.stop(),g(),"drive"==e&&null!=l.parentNode&&l.parentNode.removeChild(l))}))}else g();f.appendChild(x)}b=null!=b?b:2;var g=document.createElement("div");g.style.textAlign="center";g.style.whiteSpace="nowrap";g.style.paddingTop="0px";g.style.paddingBottom="20px";var e=a.addLanguageMenu(g,!0);null!=e&&(e.style.bottom=parseInt("28px")-3+"px");if(!a.isOffline()&&1<a.getServiceCount()){e=document.createElement("a");e.setAttribute("href","https://about.draw.io/support/");e.setAttribute("title", +var StorageDialog=function(a,c,b){function d(p,d,q,e,B,k){function g(){mxEvent.addListener(x,"click",null!=k?k:function(){q!=App.MODE_GOOGLE||a.isDriveDomain()?q==App.MODE_GOOGLE&&a.spinner.spin(document.body,mxResources.get("authorizing"))?a.drive.checkToken(mxUtils.bind(this,function(){a.spinner.stop();a.setMode(q,n.checked);c()})):q==App.MODE_ONEDRIVE&&a.spinner.spin(document.body,mxResources.get("authorizing"))?a.oneDrive.checkToken(mxUtils.bind(this,function(){a.spinner.stop();a.setMode(q,n.checked); +c()})):(a.setMode(q,n.checked),c()):window.location.hostname=DriveClient.prototype.newAppHostname})}++t>b&&(mxUtils.br(f),t=0);var x=document.createElement("a");x.style.overflow="hidden";x.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";x.className="geBaseButton";x.style.boxSizing="border-box";x.style.fontSize="11px";x.style.position="relative";x.style.margin="4px";x.style.marginTop="2px";x.style.padding="8px 10px 12px 10px";x.style.width="88px";x.style.height=StorageDialog.extended?"50px": +"100px";x.style.whiteSpace="nowrap";x.setAttribute("title",d);mxClient.IS_QUIRKS&&(x.style.cssFloat="left",x.style.zoom="1");var A=document.createElement("div");A.style.textOverflow="ellipsis";A.style.overflow="hidden";if(null!=p){var u=document.createElement("img");u.setAttribute("src",p);u.setAttribute("border","0");u.setAttribute("align","absmiddle");u.style.width=StorageDialog.extended?"24px":"60px";u.style.height=StorageDialog.extended?"24px":"60px";u.style.paddingBottom=StorageDialog.extended? +"4px":"6px";x.appendChild(u)}else A.style.paddingTop="5px",A.style.whiteSpace="normal",mxClient.IS_IOS?(x.style.padding="0px 10px 20px 10px",x.style.top="6px"):mxClient.IS_FF&&(A.style.paddingTop="0px",A.style.marginTop="-2px");StorageDialog.extended&&(x.style.paddingTop="4px",x.style.marginBottom="0px",A.display="inline-block",2==b&&(u.style.width="38px",u.style.height="38px",x.style.width="80px",x.style.height="68px"));x.appendChild(A);mxUtils.write(A,d);if(null!=B)for(p=0;p<B.length;p++)mxUtils.br(A), +mxUtils.write(A,B[p]);if(null!=e&&null==a[e]){u.style.visibility="hidden";mxUtils.setOpacity(A,10);var v=new Spinner({lines:12,length:12,width:5,radius:10,rotate:0,color:"dark"==uiTheme?"#c0c0c0":"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"40%",zIndex:2E9});v.spin(x);var D=window.setTimeout(function(){null==a[e]&&(v.stop(),x.style.display="none")},3E4);a.addListener("clientLoaded",mxUtils.bind(this,function(b,c){null!=a[e]&&c.getProperty("client")==a[e]&&(window.clearTimeout(D),mxUtils.setOpacity(A, +100),u.style.visibility="",v.stop(),g(),"drive"==e&&null!=l.parentNode&&l.parentNode.removeChild(l))}))}else g();f.appendChild(x)}b=null!=b?b:2;var g=document.createElement("div");g.style.textAlign="center";g.style.whiteSpace="nowrap";g.style.paddingTop="0px";g.style.paddingBottom="20px";var e=a.addLanguageMenu(g,!0);null!=e&&(e.style.bottom=parseInt("28px")-3+"px");if(!a.isOffline()&&1<a.getServiceCount()){e=document.createElement("a");e.setAttribute("href","https://about.draw.io/support/");e.setAttribute("title", mxResources.get("help"));e.setAttribute("target","_blank");e.style.position="absolute";e.style.userSelect="none";e.style.textDecoration="none";e.style.cursor="pointer";e.style.fontSize="12px";e.style.bottom="28px";e.style.left="26px";e.style.color="gray";var k=document.createElement("img");mxUtils.setOpacity(k,50);k.style.height="16px";k.style.width="16px";k.setAttribute("border","0");k.setAttribute("valign","bottom");k.setAttribute("src",Editor.helpImage);k.style.marginRight="2px";e.appendChild(k); mxUtils.write(e,mxResources.get("help"));g.appendChild(e)}var m=document.createElement("div");m.style.position="absolute";m.style.cursor="pointer";m.style.fontSize="12px";m.style.bottom="28px";m.style.color="gray";m.style.userSelect="none";mxUtils.write(m,mxResources.get("decideLater"));mxUtils.setPrefixedStyle(m.style,"transform","translate(-50%,0)");m.style.left="50%";a.isOfflineApp()&&(m.style.bottom="28px");this.init=function(){if(mxClient.IS_QUIRKS||8==document.documentMode)m.style.marginLeft= -Math.round(m.clientWidth/2)+"px"};g.appendChild(m);mxEvent.addListener(m,"click",function(){a.hideDialog();var b=Editor.useLocalStorage;a.createFile(a.defaultFilename,null,null,null,null,null,null,!0);Editor.useLocalStorage=b});e=document.createElement("div");mxClient.IS_QUIRKS&&(e.style.whiteSpace="nowrap",e.style.cssFloat="left");e.style.border="1px solid #d3d3d3";e.style.borderWidth="1px 0px 1px 0px";e.style.padding="12px 0px 12px 0px";var n=document.createElement("input");n.setAttribute("type", -"checkbox");n.setAttribute("checked","checked");n.defaultChecked=!0;var q=0,f=document.createElement("div");f.style.paddingTop="2px";e.appendChild(f);var l=document.createElement("p"),k=document.createElement("p");k.style.fontSize="16pt";k.style.padding="0px";k.style.paddingTop="4px";k.style.paddingBottom="16px";k.style.margin="0px";k.style.color="gray";mxUtils.write(k,mxResources.get("saveDiagramsTo")+":");g.appendChild(k);var p=function(){q=0;"function"===typeof window.DriveClient&&d(IMAGE_PATH+ +"checkbox");n.setAttribute("checked","checked");n.defaultChecked=!0;var t=0,f=document.createElement("div");f.style.paddingTop="2px";e.appendChild(f);var l=document.createElement("p"),k=document.createElement("p");k.style.fontSize="16pt";k.style.padding="0px";k.style.paddingTop="4px";k.style.paddingBottom="16px";k.style.margin="0px";k.style.color="gray";mxUtils.write(k,mxResources.get("saveDiagramsTo")+":");g.appendChild(k);var p=function(){t=0;"function"===typeof window.DriveClient&&d(IMAGE_PATH+ "/google-drive-logo.svg",mxResources.get("googleDrive"),App.MODE_GOOGLE,"drive");"function"===typeof window.OneDriveClient&&d(IMAGE_PATH+"/onedrive-logo.svg",mxResources.get("oneDrive"),App.MODE_ONEDRIVE,"oneDrive");d(IMAGE_PATH+"/osa_drive-harddisk.png",mxResources.get("device"),App.MODE_DEVICE);!isLocalStorage||"1"!=urlParams.browser&&"1"!=urlParams.offline||d(IMAGE_PATH+"/osa_database.png",mxResources.get("browser"),App.MODE_BROWSER);StorageDialog.extended&&("function"===typeof window.DropboxClient&& d(IMAGE_PATH+"/dropbox-logo.svg",mxResources.get("dropbox"),App.MODE_DROPBOX,"dropbox"),null!=a.gitHub&&d(IMAGE_PATH+"/github-logo.svg",mxResources.get("github"),App.MODE_GITHUB,"gitHub"),null!=a.gitLab&&d(IMAGE_PATH+"/gitlab-logo.svg",mxResources.get("gitlab"),App.MODE_GITLAB,"gitLab"))};g.appendChild(e);p();k=document.createElement("p");k.style.marginTop="8px";k.style.marginBottom="6px";var u=document.createElement("div");u.style.marginBottom="10px";if(!a.isOfflineApp()){var v=document.createElement("a"); -v.style.color="gray";v.style.fontSize="12px";v.style.cursor="pointer";v.style.userSelect="none";mxUtils.write(v,(StorageDialog.extended?mxResources.get("showLess"):mxResources.get("showMore"))+"...");u.appendChild(v);k.appendChild(u);mxEvent.addListener(v,"click",function(a){f.innerHTML="";v.innerHTML="";StorageDialog.extended=!StorageDialog.extended;p();mxUtils.write(v,(StorageDialog.extended?mxResources.get("showLess"):mxResources.get("showMore"))+"...");mxEvent.consume(a)})}k.appendChild(n);var t= -document.createElement("span");t.style.color="gray";t.style.fontSize="12px";t.style.userSelect="none";mxUtils.write(t," "+mxResources.get("rememberThisSetting"));k.appendChild(t);mxUtils.br(k);u=a.getRecent();if(!a.isOfflineApp()&&null!=u&&0<u.length){var z=document.createElement("select");z.style.marginTop="8px";z.style.maxWidth="170px";var y=document.createElement("option");y.setAttribute("value","");y.setAttribute("selected","selected");y.style.textAlign="center";mxUtils.write(y,mxResources.get("openRecent")+ +v.style.color="gray";v.style.fontSize="12px";v.style.cursor="pointer";v.style.userSelect="none";mxUtils.write(v,(StorageDialog.extended?mxResources.get("showLess"):mxResources.get("showMore"))+"...");u.appendChild(v);k.appendChild(u);mxEvent.addListener(v,"click",function(a){f.innerHTML="";v.innerHTML="";StorageDialog.extended=!StorageDialog.extended;p();mxUtils.write(v,(StorageDialog.extended?mxResources.get("showLess"):mxResources.get("showMore"))+"...");mxEvent.consume(a)})}k.appendChild(n);var q= +document.createElement("span");q.style.color="gray";q.style.fontSize="12px";q.style.userSelect="none";mxUtils.write(q," "+mxResources.get("rememberThisSetting"));k.appendChild(q);mxUtils.br(k);u=a.getRecent();if(!a.isOfflineApp()&&null!=u&&0<u.length){var z=document.createElement("select");z.style.marginTop="8px";z.style.maxWidth="170px";var y=document.createElement("option");y.setAttribute("value","");y.setAttribute("selected","selected");y.style.textAlign="center";mxUtils.write(y,mxResources.get("openRecent")+ "...");z.appendChild(y);for(y=0;y<u.length;y++)(function(a){var b=a.mode;b==App.MODE_GOOGLE?b="googleDrive":b==App.MODE_ONEDRIVE&&(b="oneDrive");var c=document.createElement("option");c.setAttribute("value",a.id);mxUtils.write(c,a.title+" ("+mxResources.get(b)+")");z.appendChild(c)})(u[y]);k.appendChild(z);mxEvent.addListener(z,"change",function(b){""!=z.value&&a.loadFile(z.value)})}else k.style.marginTop="20px",e.style.padding="30px 0px 26px 0px";Graph.fileSupport&&(u=document.createElement("div"), u.style.marginBottom="10px",u.style.padding="18px 0px 6px 0px",y=document.createElement("a"),y.style.cursor="pointer",y.style.fontSize="12px",y.style.color="gray",y.style.userSelect="none",mxUtils.write(y,mxResources.get("import")+": "+mxResources.get("gliffy")+", "+mxResources.get("formatVssx")+", "+mxResources.get("formatVsdx")+", "+mxResources.get("lucidchart")+"..."),mxEvent.addListener(y,"click",function(){if(null==a.storageFileInputElt){var b=document.createElement("input");b.setAttribute("type", -"file");mxEvent.addListener(b,"change",function(){null!=b.files&&(a.hideDialog(),a.openFiles(b.files,!0),b.type="",b.type="file",b.value="")});b.style.display="none";document.body.appendChild(b);a.storageFileInputElt=b}a.storageFileInputElt.click()}),u.appendChild(y),k.appendChild(u),e.style.paddingBottom="4px");e.appendChild(k);mxEvent.addListener(t,"click",function(a){n.checked=!n.checked;mxEvent.consume(a)});mxClient.IS_SVG&&isLocalStorage&&"0"!=urlParams.gapi&&(null==document.documentMode||10<= +"file");mxEvent.addListener(b,"change",function(){null!=b.files&&(a.hideDialog(),a.openFiles(b.files,!0),b.type="",b.type="file",b.value="")});b.style.display="none";document.body.appendChild(b);a.storageFileInputElt=b}a.storageFileInputElt.click()}),u.appendChild(y),k.appendChild(u),e.style.paddingBottom="4px");e.appendChild(k);mxEvent.addListener(q,"click",function(a){n.checked=!n.checked;mxEvent.consume(a)});mxClient.IS_SVG&&isLocalStorage&&"0"!=urlParams.gapi&&(null==document.documentMode||10<= document.documentMode)&&window.setTimeout(function(){null==a.drive&&(l.style.padding="8px",l.style.fontSize="9pt",l.style.marginTop="-14px",l.innerHTML='<a style="background-color:#dcdcdc;padding:5px;color:black;text-decoration:none;" href="https://desk.draw.io/a/solutions/articles/16000074659" target="_blank"><img border="0" src="'+mxGraph.prototype.warningImage.src+'" align="top"> '+mxResources.get("googleDriveMissingClickHere")+"</a>",g.appendChild(l))},5E3);this.container=g}; StorageDialog.extended=!1; var SplashDialog=function(a){var c=document.createElement("div");c.style.textAlign="center";var b=a.addLanguageMenu(c,!0);null!=b&&(b.style.bottom="19px");b=null;b=a.getServiceCount();if(!a.isOffline()&&1<b){b=document.createElement("a");b.setAttribute("href","https://about.draw.io/support/");b.setAttribute("title",mxResources.get("help"));b.setAttribute("target","_blank");b.style.position="absolute";b.style.fontSize="12px";b.style.textDecoration="none";b.style.cursor="pointer";b.style.bottom="22px"; @@ -7858,30 +7847,31 @@ c.style.display="inline-block";c.style.marginTop="6px";mxUtils.write(c,mxResourc mxEvent.addListener(n,"change",function(){var b=n.value,c=m.length!=b;c&&a.drive.setUser(m[b]);a.drive.authorize(c,function(){a.setMode(App.MODE_GOOGLE);a.hideDialog();a.showSplash()},function(b){a.handleError(b,null,function(){a.hideDialog();a.showSplash()})},!0)});e.appendChild(n)}else a.mode==App.MODE_ONEDRIVE&&null!=a.oneDrive?b(function(){a.oneDrive.logout()}):a.mode==App.MODE_GITHUB&&null!=a.gitHub?b(function(){a.gitHub.logout();a.openLink("https://www.github.com/logout")}):a.mode==App.MODE_GITLAB&& null!=a.gitLab?b(function(){a.gitLab.logout();a.openLink(DRAWIO_GITLAB_URL+"/users/sign_out")}):a.mode==App.MODE_TRELLO&&null!=a.trello?a.trello.isAuthorized()&&b(function(){a.trello.logout()}):a.mode==App.MODE_DROPBOX&&null!=a.dropbox&&b(function(){a.dropbox.logout();a.openLink("https://www.dropbox.com/logout")});mxUtils.br(e);b=document.createElement("a");b.setAttribute("href","javascript:void(0)");b.style.display="inline-block";b.style.marginTop="8px";mxUtils.write(b,mxResources.get("changeStorage")); mxEvent.addListener(b,"click",function(){a.hideDialog(!1);a.setMode(null);a.clearMode();a.showSplash(!0)});e.appendChild(b)}c.appendChild(e);this.container=c},EmbedDialog=function(a,c,b,d,g,e){d=document.createElement("div");var k=/^https?:\/\//.test(c)||/^mailto:\/\//.test(c);null!=e?mxUtils.write(d,e):mxUtils.write(d,mxResources.get(5E5>c.length?k?"link":"mainEmbedNotice":"preview")+":");mxUtils.br(d);e=document.createElement("div");e.style.position="absolute";e.style.top="30px";e.style.right="30px"; -e.style.color="gray";mxUtils.write(e,a.formatFileSize(c.length));d.appendChild(e);var m=document.createElement("textarea");m.setAttribute("autocomplete","off");m.setAttribute("autocorrect","off");m.setAttribute("autocapitalize","off");m.setAttribute("spellcheck","false");m.style.marginTop="10px";m.style.resize="none";m.style.height="150px";m.style.width="440px";m.style.border="1px solid gray";m.value=mxResources.get("updatingDocument");d.appendChild(m);mxUtils.br(d);this.init=function(){window.setTimeout(function(){5E5> -c.length?(m.value=c,m.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?m.select():document.execCommand("selectAll",!1,null)):(m.setAttribute("readonly","true"),m.value=c.substring(0,340)+"... ("+mxResources.get("drawingTooLarge")+")")},0)};e=document.createElement("div");e.style.position="absolute";e.style.bottom="36px";e.style.right="32px";var n=null;!EmbedDialog.showPreviewOption||mxClient.IS_CHROMEAPP&&!k||navigator.standalone||!(k||mxClient.IS_SVG&&(null==document.documentMode|| -9<document.documentMode))||(n=mxUtils.button(mxResources.get(5E5>c.length?"preview":"openInNewWindow"),function(){var f=5E5>c.length?m.value:c;if(null!=g)g(f);else if(k)try{var p=a.openLink(f);null!=p&&(null==b||0<b)&&window.setTimeout(mxUtils.bind(this,function(){null!=p&&null!=p.location.href&&p.location.href.substring(0,8)!=f.substring(0,8)&&(p.close(),a.handleError({message:mxResources.get("drawingTooLarge")}))}),b||500)}catch(v){a.handleError({message:v.message||mxResources.get("drawingTooLarge")})}else{var d= -window.open(),d=null!=d?d.document:null;null!=d?(d.writeln("<html><head><title>"+encodeURIComponent(mxResources.get("preview"))+'</title><meta charset="utf-8"></head><body>'+c+"</body></html>"),d.close()):a.handleError({message:mxResources.get("errorUpdatingPreview")})}}),n.className="geBtn",e.appendChild(n));if(!k||7500<c.length){var q=mxUtils.button(mxResources.get("download"),function(){a.hideDialog();a.saveData("embed.txt","txt",c,"text/plain")});q.className="geBtn";e.appendChild(q)}if(k&&(!a.isOffline()|| -mxClient.IS_CHROMEAPP)){if(51200>c.length){var f=mxUtils.button("",function(){try{var b="https://www.facebook.com/sharer.php?p[url]="+encodeURIComponent(m.value);a.openLink(b)}catch(p){a.handleError({message:p.message||mxResources.get("drawingTooLarge")})}}),q=document.createElement("img");q.setAttribute("src",Editor.facebookImage);q.setAttribute("width","18");q.setAttribute("height","18");q.setAttribute("border","0");f.appendChild(q);f.setAttribute("title",mxResources.get("facebook")+" ("+a.formatFileSize(51200)+ -" max)");f.style.verticalAlign="bottom";f.style.paddingTop="4px";f.style.minWidth="46px";f.className="geBtn";e.appendChild(f)}7168>c.length&&(f=mxUtils.button("",function(){try{var b="https://twitter.com/intent/tweet?text="+encodeURIComponent("Check out the diagram I made using @drawio")+"&url="+encodeURIComponent(m.value);a.openLink(b)}catch(p){a.handleError({message:p.message||mxResources.get("drawingTooLarge")})}}),q=document.createElement("img"),q.setAttribute("src",Editor.tweetImage),q.setAttribute("width", -"18"),q.setAttribute("height","18"),q.setAttribute("border","0"),q.style.marginBottom="5px",f.appendChild(q),f.setAttribute("title",mxResources.get("twitter")+" ("+a.formatFileSize(7168)+" max)"),f.style.verticalAlign="bottom",f.style.paddingTop="4px",f.style.minWidth="46px",f.className="geBtn",e.appendChild(f))}q=mxUtils.button(mxResources.get("close"),function(){a.hideDialog()});e.appendChild(q);f=mxUtils.button(mxResources.get("copy"),function(){m.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode|| -mxClient.IS_QUIRKS?m.select():document.execCommand("selectAll",!1,null);document.execCommand("copy");a.alert(mxResources.get("copiedToClipboard"))});5E5>c.length?mxClient.IS_SF||null!=document.documentMode?q.className="geBtn gePrimaryBtn":(e.appendChild(f),f.className="geBtn gePrimaryBtn",q.className="geBtn"):(e.appendChild(n),q.className="geBtn",n.className="geBtn gePrimaryBtn");d.appendChild(e);this.container=d};EmbedDialog.showPreviewOption=!0; -var GoogleSitesDialog=function(a,c){function b(){var a=null!=A&&null!=A.getTitle()?A.getTitle():this.defaultFilename;if(B.checked&&""!=p.value){var b="https://www.draw.io/gadget.xml?type=4&diagram="+encodeURIComponent(mxUtils.htmlEntities(p.value));null!=a&&(b+="&title="+encodeURIComponent(a));0<E.length&&(b+="&s="+E);""!=u.value&&"0"!=u.value&&(b+="&border="+u.value);""!=l.value&&(b+="&height="+l.value);b+="&pan="+(v.checked?"1":"0");b+="&zoom="+(t.checked?"1":"0");b+="&fit="+(x.checked?"1":"0"); -b+="&resize="+(C.checked?"1":"0");b+="&x0="+Number(f.value);b+="&y0="+n;g.mathEnabled&&(b+="&math=1");y.checked?b+="&edit=_blank":z.checked&&(b+="&edit="+encodeURIComponent(mxUtils.htmlEntities(window.location.href)));q.value=b}else A.constructor==DriveFile||A.constructor==DropboxFile?(b="https://www.draw.io/gadget.xml?embed=0&diagram=",""!=p.value?b+=encodeURIComponent(mxUtils.htmlEntities(p.value))+"&type=3":(b+=A.getHash().substring(1),b=A.constructor==DropboxFile?b+"&type=2":b+"&type=1"),null!= -a&&(b+="&title="+encodeURIComponent(a)),""!=l.value&&(a=parseInt(l.value)+parseInt(f.value),b+="&height="+a),q.value=b):q.value=""}var d=document.createElement("div"),g=a.editor.graph,e=g.getGraphBounds(),k=g.view.scale,m=Math.floor(e.x/k-g.view.translate.x),n=Math.floor(e.y/k-g.view.translate.y);mxUtils.write(d,mxResources.get("googleGadget")+":");mxUtils.br(d);var q=document.createElement("input");q.setAttribute("type","text");q.style.marginBottom="8px";q.style.marginTop="2px";q.style.width="410px"; -d.appendChild(q);mxUtils.br(d);this.init=function(){q.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?q.select():document.execCommand("selectAll",!1,null)};mxUtils.write(d,mxResources.get("top")+":");var f=document.createElement("input");f.setAttribute("type","text");f.setAttribute("size","4");f.style.marginRight="16px";f.style.marginLeft="4px";f.value=m;d.appendChild(f);mxUtils.write(d,mxResources.get("height")+":");var l=document.createElement("input");l.setAttribute("type", +e.style.color="gray";mxUtils.write(e,a.formatFileSize(c.length));d.appendChild(e);var m=document.createElement("textarea");m.setAttribute("autocomplete","off");m.setAttribute("autocorrect","off");m.setAttribute("autocapitalize","off");m.setAttribute("spellcheck","false");m.style.fontFamily="monospace";m.style.wordBreak="break-all";m.style.marginTop="10px";m.style.resize="none";m.style.height="150px";m.style.width="440px";m.style.border="1px solid gray";m.value=mxResources.get("updatingDocument"); +d.appendChild(m);mxUtils.br(d);this.init=function(){window.setTimeout(function(){5E5>c.length?(m.value=c,m.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?m.select():document.execCommand("selectAll",!1,null)):(m.setAttribute("readonly","true"),m.value=c.substring(0,340)+"... ("+mxResources.get("drawingTooLarge")+")")},0)};e=document.createElement("div");e.style.position="absolute";e.style.bottom="36px";e.style.right="32px";var n=null;!EmbedDialog.showPreviewOption|| +mxClient.IS_CHROMEAPP&&!k||navigator.standalone||!(k||mxClient.IS_SVG&&(null==document.documentMode||9<document.documentMode))||(n=mxUtils.button(mxResources.get(5E5>c.length?"preview":"openInNewWindow"),function(){var f=5E5>c.length?m.value:c;if(null!=g)g(f);else if(k)try{var p=a.openLink(f);null!=p&&(null==b||0<b)&&window.setTimeout(mxUtils.bind(this,function(){null!=p&&null!=p.location.href&&p.location.href.substring(0,8)!=f.substring(0,8)&&(p.close(),a.handleError({message:mxResources.get("drawingTooLarge")}))}), +b||500)}catch(v){a.handleError({message:v.message||mxResources.get("drawingTooLarge")})}else{var d=window.open(),d=null!=d?d.document:null;null!=d?(d.writeln("<html><head><title>"+encodeURIComponent(mxResources.get("preview"))+'</title><meta charset="utf-8"></head><body>'+c+"</body></html>"),d.close()):a.handleError({message:mxResources.get("errorUpdatingPreview")})}}),n.className="geBtn",e.appendChild(n));if(!k||7500<c.length){var t=mxUtils.button(mxResources.get("download"),function(){a.hideDialog(); +a.saveData("embed.txt","txt",c,"text/plain")});t.className="geBtn";e.appendChild(t)}if(k&&(!a.isOffline()||mxClient.IS_CHROMEAPP)){if(51200>c.length){var f=mxUtils.button("",function(){try{var b="https://www.facebook.com/sharer.php?p[url]="+encodeURIComponent(m.value);a.openLink(b)}catch(p){a.handleError({message:p.message||mxResources.get("drawingTooLarge")})}}),t=document.createElement("img");t.setAttribute("src",Editor.facebookImage);t.setAttribute("width","18");t.setAttribute("height","18");t.setAttribute("border", +"0");f.appendChild(t);f.setAttribute("title",mxResources.get("facebook")+" ("+a.formatFileSize(51200)+" max)");f.style.verticalAlign="bottom";f.style.paddingTop="4px";f.style.minWidth="46px";f.className="geBtn";e.appendChild(f)}7168>c.length&&(f=mxUtils.button("",function(){try{var b="https://twitter.com/intent/tweet?text="+encodeURIComponent("Check out the diagram I made using @drawio")+"&url="+encodeURIComponent(m.value);a.openLink(b)}catch(p){a.handleError({message:p.message||mxResources.get("drawingTooLarge")})}}), +t=document.createElement("img"),t.setAttribute("src",Editor.tweetImage),t.setAttribute("width","18"),t.setAttribute("height","18"),t.setAttribute("border","0"),t.style.marginBottom="5px",f.appendChild(t),f.setAttribute("title",mxResources.get("twitter")+" ("+a.formatFileSize(7168)+" max)"),f.style.verticalAlign="bottom",f.style.paddingTop="4px",f.style.minWidth="46px",f.className="geBtn",e.appendChild(f))}t=mxUtils.button(mxResources.get("close"),function(){a.hideDialog()});e.appendChild(t);f=mxUtils.button(mxResources.get("copy"), +function(){m.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?m.select():document.execCommand("selectAll",!1,null);document.execCommand("copy");a.alert(mxResources.get("copiedToClipboard"))});5E5>c.length?mxClient.IS_SF||null!=document.documentMode?t.className="geBtn gePrimaryBtn":(e.appendChild(f),f.className="geBtn gePrimaryBtn",t.className="geBtn"):(e.appendChild(n),t.className="geBtn",n.className="geBtn gePrimaryBtn");d.appendChild(e);this.container=d}; +EmbedDialog.showPreviewOption=!0; +var GoogleSitesDialog=function(a,c){function b(){var a=null!=B&&null!=B.getTitle()?B.getTitle():this.defaultFilename;if(A.checked&&""!=p.value){var b="https://www.draw.io/gadget.xml?type=4&diagram="+encodeURIComponent(mxUtils.htmlEntities(p.value));null!=a&&(b+="&title="+encodeURIComponent(a));0<F.length&&(b+="&s="+F);""!=u.value&&"0"!=u.value&&(b+="&border="+u.value);""!=l.value&&(b+="&height="+l.value);b+="&pan="+(v.checked?"1":"0");b+="&zoom="+(q.checked?"1":"0");b+="&fit="+(x.checked?"1":"0"); +b+="&resize="+(C.checked?"1":"0");b+="&x0="+Number(f.value);b+="&y0="+n;g.mathEnabled&&(b+="&math=1");y.checked?b+="&edit=_blank":z.checked&&(b+="&edit="+encodeURIComponent(mxUtils.htmlEntities(window.location.href)));t.value=b}else B.constructor==DriveFile||B.constructor==DropboxFile?(b="https://www.draw.io/gadget.xml?embed=0&diagram=",""!=p.value?b+=encodeURIComponent(mxUtils.htmlEntities(p.value))+"&type=3":(b+=B.getHash().substring(1),b=B.constructor==DropboxFile?b+"&type=2":b+"&type=1"),null!= +a&&(b+="&title="+encodeURIComponent(a)),""!=l.value&&(a=parseInt(l.value)+parseInt(f.value),b+="&height="+a),t.value=b):t.value=""}var d=document.createElement("div"),g=a.editor.graph,e=g.getGraphBounds(),k=g.view.scale,m=Math.floor(e.x/k-g.view.translate.x),n=Math.floor(e.y/k-g.view.translate.y);mxUtils.write(d,mxResources.get("googleGadget")+":");mxUtils.br(d);var t=document.createElement("input");t.setAttribute("type","text");t.style.marginBottom="8px";t.style.marginTop="2px";t.style.width="410px"; +d.appendChild(t);mxUtils.br(d);this.init=function(){t.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?t.select():document.execCommand("selectAll",!1,null)};mxUtils.write(d,mxResources.get("top")+":");var f=document.createElement("input");f.setAttribute("type","text");f.setAttribute("size","4");f.style.marginRight="16px";f.style.marginLeft="4px";f.value=m;d.appendChild(f);mxUtils.write(d,mxResources.get("height")+":");var l=document.createElement("input");l.setAttribute("type", "text");l.setAttribute("size","4");l.style.marginLeft="4px";l.value=Math.ceil(e.height/k);d.appendChild(l);mxUtils.br(d);e=document.createElement("hr");e.setAttribute("size","1");e.style.marginBottom="16px";e.style.marginTop="16px";d.appendChild(e);mxUtils.write(d,mxResources.get("publicDiagramUrl")+":");mxUtils.br(d);var p=document.createElement("input");p.setAttribute("type","text");p.setAttribute("size","28");p.style.marginBottom="8px";p.style.marginTop="2px";p.style.width="410px";p.value=c||""; -d.appendChild(p);mxUtils.br(d);mxUtils.write(d,mxResources.get("borderWidth")+":");var u=document.createElement("input");u.setAttribute("type","text");u.setAttribute("size","3");u.style.marginBottom="8px";u.style.marginLeft="4px";u.value="0";d.appendChild(u);mxUtils.br(d);var v=document.createElement("input");v.setAttribute("type","checkbox");v.setAttribute("checked","checked");v.defaultChecked=!0;v.style.marginLeft="16px";d.appendChild(v);mxUtils.write(d,mxResources.get("pan")+" ");var t=document.createElement("input"); -t.setAttribute("type","checkbox");t.setAttribute("checked","checked");t.defaultChecked=!0;t.style.marginLeft="8px";d.appendChild(t);mxUtils.write(d,mxResources.get("zoom")+" ");var z=document.createElement("input");z.setAttribute("type","checkbox");z.style.marginLeft="8px";z.setAttribute("title",window.location.href);d.appendChild(z);mxUtils.write(d,mxResources.get("edit")+" ");var y=document.createElement("input");y.setAttribute("type","checkbox");y.style.marginLeft="8px";d.appendChild(y);mxUtils.write(d, -mxResources.get("asNew")+" ");mxUtils.br(d);var C=document.createElement("input");C.setAttribute("type","checkbox");C.setAttribute("checked","checked");C.defaultChecked=!0;C.style.marginLeft="16px";d.appendChild(C);mxUtils.write(d,mxResources.get("resize")+" ");var x=document.createElement("input");x.setAttribute("type","checkbox");x.style.marginLeft="8px";d.appendChild(x);mxUtils.write(d,mxResources.get("fit")+" ");var B=document.createElement("input");B.setAttribute("type","checkbox");B.style.marginLeft= -"8px";d.appendChild(B);mxUtils.write(d,mxResources.get("embed")+" ");var E=a.getBasenames().join(";"),A=a.getCurrentFile();mxEvent.addListener(v,"change",b);mxEvent.addListener(t,"change",b);mxEvent.addListener(C,"change",b);mxEvent.addListener(x,"change",b);mxEvent.addListener(z,"change",b);mxEvent.addListener(y,"change",b);mxEvent.addListener(B,"change",b);mxEvent.addListener(l,"change",b);mxEvent.addListener(f,"change",b);mxEvent.addListener(u,"change",b);mxEvent.addListener(p,"change",b);b(); -mxEvent.addListener(q,"click",function(){q.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?q.select():document.execCommand("selectAll",!1,null)});e=document.createElement("div");e.style.paddingTop="12px";e.style.textAlign="right";k=mxUtils.button(mxResources.get("close"),function(){a.hideDialog()});k.className="geBtn gePrimaryBtn";e.appendChild(k);d.appendChild(e);this.container=d},CreateGraphDialog=function(a,c,b){var d=document.createElement("div");d.style.textAlign= +d.appendChild(p);mxUtils.br(d);mxUtils.write(d,mxResources.get("borderWidth")+":");var u=document.createElement("input");u.setAttribute("type","text");u.setAttribute("size","3");u.style.marginBottom="8px";u.style.marginLeft="4px";u.value="0";d.appendChild(u);mxUtils.br(d);var v=document.createElement("input");v.setAttribute("type","checkbox");v.setAttribute("checked","checked");v.defaultChecked=!0;v.style.marginLeft="16px";d.appendChild(v);mxUtils.write(d,mxResources.get("pan")+" ");var q=document.createElement("input"); +q.setAttribute("type","checkbox");q.setAttribute("checked","checked");q.defaultChecked=!0;q.style.marginLeft="8px";d.appendChild(q);mxUtils.write(d,mxResources.get("zoom")+" ");var z=document.createElement("input");z.setAttribute("type","checkbox");z.style.marginLeft="8px";z.setAttribute("title",window.location.href);d.appendChild(z);mxUtils.write(d,mxResources.get("edit")+" ");var y=document.createElement("input");y.setAttribute("type","checkbox");y.style.marginLeft="8px";d.appendChild(y);mxUtils.write(d, +mxResources.get("asNew")+" ");mxUtils.br(d);var C=document.createElement("input");C.setAttribute("type","checkbox");C.setAttribute("checked","checked");C.defaultChecked=!0;C.style.marginLeft="16px";d.appendChild(C);mxUtils.write(d,mxResources.get("resize")+" ");var x=document.createElement("input");x.setAttribute("type","checkbox");x.style.marginLeft="8px";d.appendChild(x);mxUtils.write(d,mxResources.get("fit")+" ");var A=document.createElement("input");A.setAttribute("type","checkbox");A.style.marginLeft= +"8px";d.appendChild(A);mxUtils.write(d,mxResources.get("embed")+" ");var F=a.getBasenames().join(";"),B=a.getCurrentFile();mxEvent.addListener(v,"change",b);mxEvent.addListener(q,"change",b);mxEvent.addListener(C,"change",b);mxEvent.addListener(x,"change",b);mxEvent.addListener(z,"change",b);mxEvent.addListener(y,"change",b);mxEvent.addListener(A,"change",b);mxEvent.addListener(l,"change",b);mxEvent.addListener(f,"change",b);mxEvent.addListener(u,"change",b);mxEvent.addListener(p,"change",b);b(); +mxEvent.addListener(t,"click",function(){t.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?t.select():document.execCommand("selectAll",!1,null)});e=document.createElement("div");e.style.paddingTop="12px";e.style.textAlign="right";k=mxUtils.button(mxResources.get("close"),function(){a.hideDialog()});k.className="geBtn gePrimaryBtn";e.appendChild(k);d.appendChild(e);this.container=d},CreateGraphDialog=function(a,c,b){var d=document.createElement("div");d.style.textAlign= "right";this.init=function(){var c=document.createElement("div");c.style.position="relative";c.style.border="1px solid gray";c.style.width="100%";c.style.height="360px";c.style.overflow="hidden";c.style.marginBottom="16px";mxEvent.disableContextMenu(c);d.appendChild(c);var e=new Graph(c);e.setCellsCloneable(!0);e.setPanning(!0);e.setAllowDanglingEdges(!1);e.connectionHandler.select=!1;e.view.setTranslate(20,20);e.border=20;e.panningHandler.useLeftButtonForPanning=!0;var k="curved=1;";e.cellRenderer.installCellOverlayListeners= function(a,b,c){mxCellRenderer.prototype.installCellOverlayListeners.apply(this,arguments);mxEvent.addListener(c.node,mxClient.IS_POINTER?"pointerdown":"mousedown",function(c){b.fireEvent(new mxEventObject("pointerdown","event",c,"state",a))});!mxClient.IS_POINTER&&mxClient.IS_TOUCH&&mxEvent.addListener(c.node,"touchstart",function(c){b.fireEvent(new mxEventObject("pointerdown","event",c,"state",a))})};e.getAllConnectionConstraints=function(){return null};e.connectionHandler.marker.highlight.keepOnTop= !1;e.connectionHandler.createEdgeState=function(a){a=e.createEdge(null,null,null,null,null,k);return new mxCellState(this.graph.view,a,this.graph.getCellStyle(a))};var m=e.getDefaultParent(),n=mxUtils.bind(this,function(a){var b=new mxCellOverlay(this.connectImage,"Add outgoing");b.cursor="hand";b.addListener(mxEvent.CLICK,function(b,c){e.connectionHandler.reset();e.clearSelection();var f=e.getCellGeometry(a),p;l(function(){p=e.insertVertex(m,null,"Entry",f.x,f.y,80,30,"rounded=1;");n(p);e.view.refresh(p); -e.insertEdge(m,null,"",a,p,k)},function(){e.scrollCellToVisible(p)})});b.addListener("pointerdown",function(a,b){var c=b.getProperty("event"),f=b.getProperty("state");e.popupMenuHandler.hideMenu();e.stopEditing(!1);var l=mxUtils.convertPoint(e.container,mxEvent.getClientX(c),mxEvent.getClientY(c));e.connectionHandler.start(f,l.x,l.y);e.isMouseDown=!0;e.isMouseTrigger=mxEvent.isMouseEvent(c);mxEvent.consume(c)});e.addCellOverlay(a,b)});e.getModel().beginUpdate();var q;try{q=e.insertVertex(m,null,"Start", -0,0,80,30,"ellipse"),n(q)}finally{e.getModel().endUpdate()}var f;"horizontalTree"==b?(f=new mxCompactTreeLayout(e),f.edgeRouting=!1,f.levelDistance=30,k="edgeStyle=elbowEdgeStyle;elbow=horizontal;"):"verticalTree"==b?(f=new mxCompactTreeLayout(e,!1),f.edgeRouting=!1,f.levelDistance=30,k="edgeStyle=elbowEdgeStyle;elbow=vertical;"):"radialTree"==b?(f=new mxRadialTreeLayout(e,!1),f.edgeRouting=!1,f.levelDistance=80):"verticalFlow"==b?f=new mxHierarchicalLayout(e,mxConstants.DIRECTION_NORTH):"horizontalFlow"== -b?f=new mxHierarchicalLayout(e,mxConstants.DIRECTION_WEST):"organic"==b?(f=new mxFastOrganicLayout(e,!1),f.forceConstant=80):"circle"==b&&(f=new mxCircleLayout(e));if(null!=f){var l=function(a,b){e.getModel().beginUpdate();try{null!=a&&a(),f.execute(e.getDefaultParent(),q)}catch(C){throw C;}finally{var c=new mxMorphing(e);c.addListener(mxEvent.DONE,mxUtils.bind(this,function(){e.getModel().endUpdate();null!=b&&b()}));c.startAnimation()}},p=mxEdgeHandler.prototype.connect;mxEdgeHandler.prototype.connect= +e.insertEdge(m,null,"",a,p,k)},function(){e.scrollCellToVisible(p)})});b.addListener("pointerdown",function(a,b){var c=b.getProperty("event"),f=b.getProperty("state");e.popupMenuHandler.hideMenu();e.stopEditing(!1);var l=mxUtils.convertPoint(e.container,mxEvent.getClientX(c),mxEvent.getClientY(c));e.connectionHandler.start(f,l.x,l.y);e.isMouseDown=!0;e.isMouseTrigger=mxEvent.isMouseEvent(c);mxEvent.consume(c)});e.addCellOverlay(a,b)});e.getModel().beginUpdate();var t;try{t=e.insertVertex(m,null,"Start", +0,0,80,30,"ellipse"),n(t)}finally{e.getModel().endUpdate()}var f;"horizontalTree"==b?(f=new mxCompactTreeLayout(e),f.edgeRouting=!1,f.levelDistance=30,k="edgeStyle=elbowEdgeStyle;elbow=horizontal;"):"verticalTree"==b?(f=new mxCompactTreeLayout(e,!1),f.edgeRouting=!1,f.levelDistance=30,k="edgeStyle=elbowEdgeStyle;elbow=vertical;"):"radialTree"==b?(f=new mxRadialTreeLayout(e,!1),f.edgeRouting=!1,f.levelDistance=80):"verticalFlow"==b?f=new mxHierarchicalLayout(e,mxConstants.DIRECTION_NORTH):"horizontalFlow"== +b?f=new mxHierarchicalLayout(e,mxConstants.DIRECTION_WEST):"organic"==b?(f=new mxFastOrganicLayout(e,!1),f.forceConstant=80):"circle"==b&&(f=new mxCircleLayout(e));if(null!=f){var l=function(a,b){e.getModel().beginUpdate();try{null!=a&&a(),f.execute(e.getDefaultParent(),t)}catch(C){throw C;}finally{var c=new mxMorphing(e);c.addListener(mxEvent.DONE,mxUtils.bind(this,function(){e.getModel().endUpdate();null!=b&&b()}));c.startAnimation()}},p=mxEdgeHandler.prototype.connect;mxEdgeHandler.prototype.connect= function(a,b,c,f,d){p.apply(this,arguments);l()};e.resizeCell=function(){mxGraph.prototype.resizeCell.apply(this,arguments);l()};e.connectionHandler.addListener(mxEvent.CONNECT,function(){l()})}var u=mxUtils.button(mxResources.get("close"),function(){a.confirm(mxResources.get("areYouSure"),function(){null!=c.parentNode&&(e.destroy(),c.parentNode.removeChild(c));a.hideDialog()})});u.className="geBtn";a.editor.cancelFirst&&d.appendChild(u);var v=mxUtils.button(mxResources.get("insert"),function(){e.clearCellOverlays(); var b=a.editor.graph.getFreeInsertPoint(),b=a.editor.graph.importCells(e.getModel().getChildren(e.getDefaultParent()),b.x,b.y),f=a.editor.graph.view,l=f.getBounds(b);l.x-=f.translate.x;l.y-=f.translate.y;a.editor.graph.scrollRectToVisible(l);a.editor.graph.setSelectionCells(b);null!=c.parentNode&&(e.destroy(),c.parentNode.removeChild(c));a.hideDialog()});d.appendChild(v);v.className="geBtn gePrimaryBtn";a.editor.cancelFirst||d.appendChild(u)};this.container=d}; CreateGraphDialog.prototype.connectImage=new mxImage(mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjQ3OTk0QjMyRDcyMTFFNThGQThGNDVBMjNBMjFDMzkiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjQ3OTk0QjQyRDcyMTFFNThGQThGNDVBMjNBMjFDMzkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoyRjA0N0I2MjJENzExMUU1OEZBOEY0NUEyM0EyMUMzOSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGNDc5OTRCMjJENzIxMUU1OEZBOEY0NUEyM0EyMUMzOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjIf+MgAAATlSURBVHjanFZraFxFFD735u4ru3ls0yZG26ShgmJoKK1J2vhIYzBgRdtIURHyw1hQUH9IxIgI2h8iCEUF/1RRlNQYCsYfCTHVhiTtNolpZCEStqSC22xIsrs1bDfu7t37Gs/cO3Ozxs1DBw73zpk555vzmHNGgJ0NYatFgmNLYUHYUoHASMz5ijmgVLmxgfKCUiBxC4ACJAeSG8nb1dVVOTc3dyoSibwWDofPBIPBJzo7O8vpGtvjpDICGztxkciECpF2LS0tvZtOpwNkk5FKpcYXFxffwL1+JuPgllPj8nk1F6RoaGjoKCqZ5ApljZDZO4SMRA0SuG2QUJIQRV8HxMOM9vf3H0ZZH9Nhg20MMl2QkFwjIyNHWlpahtADnuUMwLcRHX5aNSBjCJYEsSSLUeLEbhGe3ytCmQtA1/XY+Pj46dbW1iDuyCJp9BC5ycBj4hoeHq5ra2sbw0Xn1ZgBZ+dVkA1Lc+6p0Ck2p0QS4Ox9EhwpEylYcmBg4LH29vYQLilIOt0u5FhDfevNZDI/u93uw6PLOrwTUtjxrbPYbhD42WgMrF8JmR894ICmCgnQjVe8Xu8pXEkzMJKbuo5oNPomBbm1ZsD7s2kwFA1JZ6QBUXWT1nmGNc/qoMgavDcrQzxjQGFh4aOYIJ0sFAXcEtui4uLiVjr5KpSBVFYDDZVrWUaKRRWSAYeK0fmKykgDXbVoNaPChRuyqdDv97czL5nXxQbq6empQmsaklkDBiNpSwFVrmr2P6UyicD5piI4f8wHh0oEm8/p4h8pyGiEWvVQd3e3nxtjAzU1NR2jP7NRBWQ8GbdEzzJAmc0V3RR4cI8Dvmwuhc8fKUFA0d6/ltHg5p+Kuaejo6OeY0jcNJ/PV00ZS0nFUoZRvvFS1bZFsKHCCQ2Pl8H0chY+C96B6ZUsrCQ1qKtwQVFRURW/QhIXMAzDPAZ6BgOr8tTa8dDxCmiYGApaJbJMxSzV+brE8pdgWkcpY5dbMF1AR9XH8/xu2ilef48bvn92n82ZwHh+8ssqTEXS9p7dHisiiURikd8PbpExNTU1UVNTA3V3Y7lC16n0gpB/NwpNcZjfa7dScC4Qh0kOQCwnlEgi3F/hMVl9fX0zvKrzSk2lfXjRhj0eT/2rvWG4+Pta3oJY7XfC3hInXAv/ldeFLx8shQ+eqQL0UAAz7ylkpej5eNZRVBWL6BU6ef14OYiY1oqyTtmsavr/5koaRucT1pzx+ZpL1+GV5nLutksUgIcmtwTRiuuVZXnU5XId7A2swJkfFsymRWC91hHg1Viw6x23+7vn9sPJ+j20BE1hCXqSWaNSQ8ScbknRZWxub1PGCw/fBV+c3AeijlUbY5bBjEqr9GuYZP4jP41WudGSC6erTRCqdGZm5i1WvXWeDHnbBCZGc2Nj4wBl/hZOwrmBBfgmlID1HmGJutHaF+tKoevp/XCgstDkjo2NtWKLuc6AVN4mNjY+s1XQxoenOoFuDPHGtnRbJj9ej5GvL0dI7+giuRyMk1giazc+DP6vgUDgOJVlOv7R+PJ12QIeL6SyeDz+Kfp8ZrNWjgDTsVjsQ7qXyTjztXJhm9ePxFLfMTg4eG9tbe1RTP9KFFYQfHliYmIS69kCC7jKYmKwxxD5P88tkVkqbPPcIps9t4T/+HjcuJ/s5BFJgf4WYABCtxGuxIZ90gAAAABJRU5ErkJggg==": @@ -7891,91 +7881,91 @@ null!=d?d.src:"";var e=!1,k=function(){e||""==g.value||a.isOffline()?(m.value="" f&&(f.parentNode.removeChild(f),f=null);a.stopPropagation();a.preventDefault()});mxEvent.addListener(c,"dragover",mxUtils.bind(this,function(b){null==f&&(!mxClient.IS_IE||10<document.documentMode)&&(f=a.highlightElement(c));b.stopPropagation();b.preventDefault()}));mxEvent.addListener(c,"drop",mxUtils.bind(this,function(b){null!=f&&(f.parentNode.removeChild(f),f=null);if(0<b.dataTransfer.files.length)a.importFiles(b.dataTransfer.files,0,0,a.maxBackgroundSize,function(a,b,c,f,l,p){g.value=a;k()},function(){}, function(a){return"image/"==a.type.substring(0,6)},function(a){for(var b=0;b<a.length;b++)a[b]()},!0,a.maxBackgroundBytes,a.maxBackgroundBytes);else if(0<=mxUtils.indexOf(b.dataTransfer.types,"text/uri-list")){var c=b.dataTransfer.getData("text/uri-list");/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(c)&&(g.value=decodeURIComponent(c),k())}b.stopPropagation();b.preventDefault()}),!1)}};b.appendChild(g);mxUtils.br(b);mxUtils.br(b);mxUtils.write(b,mxResources.get("width")+":");var m=document.createElement("input"); m.setAttribute("type","text");m.style.width="60px";m.style.marginLeft="4px";m.style.marginRight="16px";m.value=null!=d?d.width:"";b.appendChild(m);mxUtils.write(b,mxResources.get("height")+":");var n=document.createElement("input");n.setAttribute("type","text");n.style.width="60px";n.style.marginLeft="4px";n.style.marginRight="16px";n.value=null!=d?d.height:"";b.appendChild(n);d=mxUtils.button(mxResources.get("reset"),function(){g.value="";m.value="";n.value="";e=!1});mxEvent.addListener(d,"mousedown", -function(){e=!0});mxEvent.addListener(d,"touchstart",function(){e=!0});d.className="geBtn";d.width="100";b.appendChild(d);mxUtils.br(b);mxEvent.addListener(g,"change",k);ImageDialog.filePicked=function(a){a.action==google.picker.Action.PICKED&&null!=a.docs[0].thumbnails&&(a=a.docs[0].thumbnails[a.docs[0].thumbnails.length-1],null!=a&&(g.value=a.url,k()));g.focus()};d=document.createElement("div");d.style.marginTop="40px";d.style.textAlign="right";var q=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()}); -q.className="geBtn";a.editor.cancelFirst&&d.appendChild(q);if(!a.isOffline()&&"undefined"!=typeof google&&"undefined"!=typeof google.picker&&window.self===window.top){var f=mxUtils.button(mxResources.get("search"),function(){if(null==a.imageSearchPicker){var b=(new google.picker.PickerBuilder).setLocale(mxLanguage).addView(google.picker.ViewId.IMAGE_SEARCH).enableFeature(google.picker.Feature.NAV_HIDDEN);a.imageSearchPicker=b.setCallback(function(a){ImageDialog.filePicked(a)}).build()}a.imageSearchPicker.setVisible(!0)}); +function(){e=!0});mxEvent.addListener(d,"touchstart",function(){e=!0});d.className="geBtn";d.width="100";b.appendChild(d);mxUtils.br(b);mxEvent.addListener(g,"change",k);ImageDialog.filePicked=function(a){a.action==google.picker.Action.PICKED&&null!=a.docs[0].thumbnails&&(a=a.docs[0].thumbnails[a.docs[0].thumbnails.length-1],null!=a&&(g.value=a.url,k()));g.focus()};d=document.createElement("div");d.style.marginTop="40px";d.style.textAlign="right";var t=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()}); +t.className="geBtn";a.editor.cancelFirst&&d.appendChild(t);if(!a.isOffline()&&"undefined"!=typeof google&&"undefined"!=typeof google.picker&&window.self===window.top){var f=mxUtils.button(mxResources.get("search"),function(){if(null==a.imageSearchPicker){var b=(new google.picker.PickerBuilder).setLocale(mxLanguage).addView(google.picker.ViewId.IMAGE_SEARCH).enableFeature(google.picker.Feature.NAV_HIDDEN);a.imageSearchPicker=b.setCallback(function(a){ImageDialog.filePicked(a)}).build()}a.imageSearchPicker.setVisible(!0)}); f.className="geBtn";d.appendChild(f);null!=a.drive&&"1"==urlParams.photos&&(f=mxUtils.button(mxResources.get("googlePlus"),function(){a.spinner.spin(document.body,mxResources.get("authorizing"))&&a.drive.checkToken(mxUtils.bind(this,function(){a.spinner.stop();if(null==a.photoPicker){var b=(new google.picker.PickerBuilder).setAppId(a.drive.appId).setLocale(mxLanguage).setOAuthToken(a.drive.token).addView(google.picker.ViewId.PHOTO_UPLOAD);a.photoPicker=b.setCallback(function(a){ImageDialog.filePicked(a)}).build()}a.photoPicker.setVisible(!0)}))}), -f.className="geBtn",d.appendChild(f))}f=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();c(""!=g.value?new mxImage(mxUtils.trim(g.value),m.value,n.value):null)});f.className="geBtn gePrimaryBtn";d.appendChild(f);a.editor.cancelFirst||d.appendChild(q);b.appendChild(d);this.container=b},ParseDialog=function(a,c,b){function d(b,c){var f=b.split("\n");if("plantUmlPng"==c||"plantUmlSvg"==c||"plantUmlTxt"==c){if(a.spinner.spin(document.body,mxResources.get("inserting"))){var l=a.editor.graph, -p="plantUmlTxt"==c?"txt":"plantUmlPng"==c?"png":"svg";a.generatePlantUmlImage(b,p,function(c,f,d){a.spinner.stop();var t=null;l.getModel().beginUpdate();try{t="txt"==p?a.insertAsPreText(c,e.x,e.y):l.insertVertex(null,null,null,e.x,e.y,f,d,"shape=image;noLabel=1;verticalAlign=top;aspect=fixed;imageAspect=0;image="+a.convertDataUri(c)+";"),l.setAttributeForCell(t,"plantUmlData",JSON.stringify({data:b,format:p}))}finally{l.getModel().endUpdate()}null!=t&&(l.setSelectionCell(t),l.scrollCellToVisible(t))}, -function(b){a.handleError(b)})}}else if("table"==c){for(var d=null,k=[],x=0,g=0;g<f.length;g++){var u=mxUtils.trim(f[g]);if("create table"==u.substring(0,12).toLowerCase())u=mxUtils.trim(u.substring(12)),"("==u.charAt(u.length-1)&&(u=u.substring(0,u.lastIndexOf(" "))),d=new mxCell(u,new mxGeometry(x,0,160,26),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=#e0e0e0;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;align=center;"), -d.vertex=!0,k.push(d),u=a.editor.graph.getPreferredSizeForCell(F),null!=u&&(d.geometry.width=u.width+10);else if(null!=d&&")"==u.charAt(0))x+=d.geometry.width+40,d=null;else if("("!=u&&null!=d&&(u=u.substring(0,","==u.charAt(u.length-1)?u.length-1:u.length),"primary key"!=u.substring(0,11).toLowerCase())){var A=u.toLowerCase().indexOf("primary key"),u=u.replace(/primary key/i,""),F=new mxCell(u,new mxGeometry(0,0,90,26),"shape=partialRectangle;top=0;left=0;right=0;bottom=0;align=left;verticalAlign=top;spacingTop=-2;fillColor=none;spacingLeft=34;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;dropTarget=0;"); -F.vertex=!0;u=sb.cloneCell(F,0<A?"PK":"");u.connectable=!1;u.style="shape=partialRectangle;top=0;left=0;bottom=0;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[];portConstraint=eastwest;part=1;";u.geometry.width=30;u.geometry.height=26;F.insert(u);u=a.editor.graph.getPreferredSizeForCell(F);null!=u&&d.geometry.width<u.width+10&&(d.geometry.width=Math.min(220,u.width+10));d.insert(F);d.geometry.height+=26}}0<k.length&&(l=a.editor.graph, -g=l.view,f=l.getGraphBounds(),l.setSelectionCells(l.importCells(k,Math.ceil(Math.max(0,f.x/g.scale-g.translate.x)+4*l.gridSize),Math.ceil(Math.max(0,(f.y+f.height)/g.scale-g.translate.y)+4*l.gridSize))),l.scrollCellToVisible(l.getSelectionCell()))}else if("list"==c){if(0<f.length){l=a.editor.graph;F=null;k=[];for(g=d=0;g<f.length;g++)";"!=f[g].charAt(0)&&(0==f[g].length?F=null:null==F?(F=new mxCell(f[g],new mxGeometry(d,0,160,30),"swimlane;fontStyle=1;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;"), -F.vertex=!0,k.push(F),u=l.getPreferredSizeForCell(F),null!=u&&F.geometry.width<u.width+10&&(F.geometry.width=u.width+10),d+=F.geometry.width+40):"--"==f[g]?(u=new mxCell("",new mxGeometry(0,0,40,8),"line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;"),u.vertex=!0,F.geometry.height+=u.geometry.height,F.insert(u)):0<f[g].length&&(x=new mxCell(f[g],new mxGeometry(0,0,60,26),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;"), -x.vertex=!0,u=l.getPreferredSizeForCell(x),null!=u&&x.geometry.width<u.width&&(x.geometry.width=u.width),F.geometry.width=Math.max(F.geometry.width,x.geometry.width),F.geometry.height+=x.geometry.height,F.insert(x)));if(0<k.length){l.getModel().beginUpdate();try{k=l.importCells(k,e.x,e.y);u=[];for(g=0;g<k.length;g++)u.push(k[g]),u=u.concat(k[g].children);l.fireEvent(new mxEventObject("cellsInserted","cells",u))}finally{l.getModel().endUpdate()}l.setSelectionCells(k);l.scrollCellToVisible(l.getSelectionCell())}}}else{for(var F= -function(a){var b=n[a];null==b&&(b=new mxCell(a,new mxGeometry(0,0,80,30),"whiteSpace=wrap;html=1;"),b.vertex=!0,n[a]=b,k.push(b));return b},n={},k=[],g=0;g<f.length;g++)if(";"!=f[g].charAt(0)){var m=f[g].split("->");if(2<=m.length){var A=F(m[0]),q=F(m[m.length-1]),m=new mxCell(2<m.length?m[1]:"",new mxGeometry);m.edge=!0;A.insertEdge(m,!0);q.insertEdge(m,!1);k.push(m)}}if(0<k.length){f=document.createElement("div");f.style.visibility="hidden";document.body.appendChild(f);l=new Graph(f);l.getModel().beginUpdate(); -try{k=l.importCells(k);for(g=0;g<k.length;g++)l.getModel().isVertex(k[g])&&(u=l.getPreferredSizeForCell(k[g]),k[g].geometry.width=Math.max(k[g].geometry.width,u.width),k[g].geometry.height=Math.max(k[g].geometry.height,u.height));d=new mxFastOrganicLayout(l);d.disableEdgeStyle=!1;d.forceConstant=120;d.execute(l.getDefaultParent());x=new mxParallelEdgeLayout(l);x.spacing=20;x.execute(l.getDefaultParent())}finally{l.getModel().endUpdate()}l.clearCellOverlays();u=[];a.editor.graph.getModel().beginUpdate(); +f.className="geBtn",d.appendChild(f))}f=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();c(""!=g.value?new mxImage(mxUtils.trim(g.value),m.value,n.value):null)});f.className="geBtn gePrimaryBtn";d.appendChild(f);a.editor.cancelFirst||d.appendChild(t);b.appendChild(d);this.container=b},ParseDialog=function(a,c,b){function d(b,c){var f=b.split("\n");if("plantUmlPng"==c||"plantUmlSvg"==c||"plantUmlTxt"==c){if(a.spinner.spin(document.body,mxResources.get("inserting"))){var l=a.editor.graph, +d="plantUmlTxt"==c?"txt":"plantUmlPng"==c?"png":"svg";a.generatePlantUmlImage(b,d,function(c,f,p){a.spinner.stop();var q=null;l.getModel().beginUpdate();try{q="txt"==d?a.insertAsPreText(c,e.x,e.y):l.insertVertex(null,null,null,e.x,e.y,f,p,"shape=image;noLabel=1;verticalAlign=top;aspect=fixed;imageAspect=0;image="+a.convertDataUri(c)+";"),l.setAttributeForCell(q,"plantUmlData",JSON.stringify({data:b,format:d}))}finally{l.getModel().endUpdate()}null!=q&&(l.setSelectionCell(q),l.scrollCellToVisible(q))}, +function(b){a.handleError(b)})}}else if("table"==c){for(var p=null,k=[],x=0,g=0;g<f.length;g++){var u=mxUtils.trim(f[g]);if("create table"==u.substring(0,12).toLowerCase())u=mxUtils.trim(u.substring(12)),"("==u.charAt(u.length-1)&&(u=u.substring(0,u.lastIndexOf(" "))),p=new mxCell(u,new mxGeometry(x,0,160,26),"swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=#e0e0e0;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;align=center;"), +p.vertex=!0,k.push(p),u=a.editor.graph.getPreferredSizeForCell(D),null!=u&&(p.geometry.width=u.width+10);else if(null!=p&&")"==u.charAt(0))x+=p.geometry.width+40,p=null;else if("("!=u&&null!=p&&(u=u.substring(0,","==u.charAt(u.length-1)?u.length-1:u.length),"primary key"!=u.substring(0,11).toLowerCase())){var B=u.toLowerCase().indexOf("primary key"),u=u.replace(/primary key/i,""),D=new mxCell(u,new mxGeometry(0,0,90,26),"shape=partialRectangle;top=0;left=0;right=0;bottom=0;align=left;verticalAlign=top;spacingTop=-2;fillColor=none;spacingLeft=34;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;dropTarget=0;"); +D.vertex=!0;u=sb.cloneCell(D,0<B?"PK":"");u.connectable=!1;u.style="shape=partialRectangle;top=0;left=0;bottom=0;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[];portConstraint=eastwest;part=1;";u.geometry.width=30;u.geometry.height=26;D.insert(u);u=a.editor.graph.getPreferredSizeForCell(D);null!=u&&p.geometry.width<u.width+10&&(p.geometry.width=Math.min(220,u.width+10));p.insert(D);p.geometry.height+=26}}0<k.length&&(l=a.editor.graph, +g=l.view,f=l.getGraphBounds(),l.setSelectionCells(l.importCells(k,Math.ceil(Math.max(0,f.x/g.scale-g.translate.x)+4*l.gridSize),Math.ceil(Math.max(0,(f.y+f.height)/g.scale-g.translate.y)+4*l.gridSize))),l.scrollCellToVisible(l.getSelectionCell()))}else if("list"==c){if(0<f.length){l=a.editor.graph;D=null;k=[];for(g=p=0;g<f.length;g++)";"!=f[g].charAt(0)&&(0==f[g].length?D=null:null==D?(D=new mxCell(f[g],new mxGeometry(p,0,160,30),"swimlane;fontStyle=1;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;"), +D.vertex=!0,k.push(D),u=l.getPreferredSizeForCell(D),null!=u&&D.geometry.width<u.width+10&&(D.geometry.width=u.width+10),p+=D.geometry.width+40):"--"==f[g]?(u=new mxCell("",new mxGeometry(0,0,40,8),"line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;"),u.vertex=!0,D.geometry.height+=u.geometry.height,D.insert(u)):0<f[g].length&&(x=new mxCell(f[g],new mxGeometry(0,0,60,26),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;"), +x.vertex=!0,u=l.getPreferredSizeForCell(x),null!=u&&x.geometry.width<u.width&&(x.geometry.width=u.width),D.geometry.width=Math.max(D.geometry.width,x.geometry.width),D.geometry.height+=x.geometry.height,D.insert(x)));if(0<k.length){l.getModel().beginUpdate();try{k=l.importCells(k,e.x,e.y);u=[];for(g=0;g<k.length;g++)u.push(k[g]),u=u.concat(k[g].children);l.fireEvent(new mxEventObject("cellsInserted","cells",u))}finally{l.getModel().endUpdate()}l.setSelectionCells(k);l.scrollCellToVisible(l.getSelectionCell())}}}else{for(var D= +function(a){var b=n[a];null==b&&(b=new mxCell(a,new mxGeometry(0,0,80,30),"whiteSpace=wrap;html=1;"),b.vertex=!0,n[a]=b,k.push(b));return b},n={},k=[],g=0;g<f.length;g++)if(";"!=f[g].charAt(0)){var m=f[g].split("->");if(2<=m.length){var B=D(m[0]),t=D(m[m.length-1]),m=new mxCell(2<m.length?m[1]:"",new mxGeometry);m.edge=!0;B.insertEdge(m,!0);t.insertEdge(m,!1);k.push(m)}}if(0<k.length){f=document.createElement("div");f.style.visibility="hidden";document.body.appendChild(f);l=new Graph(f);l.getModel().beginUpdate(); +try{k=l.importCells(k);for(g=0;g<k.length;g++)l.getModel().isVertex(k[g])&&(u=l.getPreferredSizeForCell(k[g]),k[g].geometry.width=Math.max(k[g].geometry.width,u.width),k[g].geometry.height=Math.max(k[g].geometry.height,u.height));p=new mxFastOrganicLayout(l);p.disableEdgeStyle=!1;p.forceConstant=120;p.execute(l.getDefaultParent());x=new mxParallelEdgeLayout(l);x.spacing=20;x.execute(l.getDefaultParent())}finally{l.getModel().endUpdate()}l.clearCellOverlays();u=[];a.editor.graph.getModel().beginUpdate(); try{u=a.editor.graph.importCells(l.getModel().getChildren(l.getDefaultParent()),e.x,e.y),a.editor.graph.fireEvent(new mxEventObject("cellsInserted","cells",u))}finally{a.editor.graph.getModel().endUpdate()}a.editor.graph.setSelectionCells(u);a.editor.graph.scrollCellToVisible(a.editor.graph.getSelectionCell());l.destroy();f.parentNode.removeChild(f)}}}function g(){return"list"==m.value?"Person\n-name: String\n-birthDate: Date\n--\n+getName(): String\n+setName(String): void\n+isBirthday(): boolean\n\nAddress\n-street: String\n-city: String\n-state: String": "table"==m.value?"CREATE TABLE Suppliers\n(\nsupplier_id int NOT NULL PRIMARY KEY,\nsupplier_name char(50) NOT NULL,\ncontact_name char(50),\n);\nCREATE TABLE Customers\n(\ncustomer_id int NOT NULL PRIMARY KEY,\ncustomer_name char(50) NOT NULL,\naddress char(50),\ncity char(50),\nstate char(25),\nzip_code char(10)\n);\n":"plantUmlPng"==m.value?"@startuml\nskinparam backgroundcolor transparent\nskinparam shadowing false\nAlice -> Bob: Authentication Request\nBob --\x3e Alice: Authentication Response\n\nAlice -> Bob: Another authentication Request\nAlice <-- Bob: Another authentication Response\n@enduml": "plantUmlSvg"==m.value||"plantUmlTxt"==m.value?"@startuml\nskinparam shadowing false\nAlice -> Bob: Authentication Request\nBob --\x3e Alice: Authentication Response\n\nAlice -> Bob: Another authentication Request\nAlice <-- Bob: Another authentication Response\n@enduml":";Example:\na->b\nb->edge label->c\nc->a\n"}var e=a.editor.graph.getFreeInsertPoint();c=document.createElement("div");c.style.textAlign="right";var k=document.createElement("textarea");k.style.resize="none";k.style.width="100%";k.style.height= "354px";k.style.marginBottom="16px";var m=document.createElement("select");"formatSql"==b&&(m.style.display="none");var n=document.createElement("option");n.setAttribute("value","list");mxUtils.write(n,mxResources.get("list"));"plantUml"!=b&&m.appendChild(n);null!=b&&"fromText"!=b||n.setAttribute("selected","selected");n=document.createElement("option");n.setAttribute("value","table");mxUtils.write(n,mxResources.get("formatSql"));"formatSql"==b&&(m.appendChild(n),n.setAttribute("selected","selected")); -n=document.createElement("option");n.setAttribute("value","diagram");mxUtils.write(n,mxResources.get("diagram"));"plantUml"!=b&&m.appendChild(n);n=document.createElement("option");n.setAttribute("value","plantUmlSvg");mxUtils.write(n,mxResources.get("plantUml")+" ("+mxResources.get("formatSvg")+")");"plantUml"==b&&n.setAttribute("selected","selected");var q=document.createElement("option");q.setAttribute("value","plantUmlPng");mxUtils.write(q,mxResources.get("plantUml")+" ("+mxResources.get("formatPng")+ -")");var f=document.createElement("option");f.setAttribute("value","plantUmlTxt");mxUtils.write(f,mxResources.get("plantUml")+" ("+mxResources.get("text")+")");EditorUi.enablePlantUml&&Graph.fileSupport&&!a.isOffline()&&"plantUml"==b&&(m.appendChild(n),m.appendChild(q),m.appendChild(f));var l=g();k.value=l;c.appendChild(k);this.init=function(){k.focus()};Graph.fileSupport&&(k.addEventListener("dragover",function(a){a.stopPropagation();a.preventDefault()},!1),k.addEventListener("drop",function(a){a.stopPropagation(); +n=document.createElement("option");n.setAttribute("value","diagram");mxUtils.write(n,mxResources.get("diagram"));"plantUml"!=b&&m.appendChild(n);n=document.createElement("option");n.setAttribute("value","plantUmlSvg");mxUtils.write(n,mxResources.get("plantUml")+" ("+mxResources.get("formatSvg")+")");"plantUml"==b&&n.setAttribute("selected","selected");var t=document.createElement("option");t.setAttribute("value","plantUmlPng");mxUtils.write(t,mxResources.get("plantUml")+" ("+mxResources.get("formatPng")+ +")");var f=document.createElement("option");f.setAttribute("value","plantUmlTxt");mxUtils.write(f,mxResources.get("plantUml")+" ("+mxResources.get("text")+")");EditorUi.enablePlantUml&&Graph.fileSupport&&!a.isOffline()&&"plantUml"==b&&(m.appendChild(n),m.appendChild(t),m.appendChild(f));var l=g();k.value=l;c.appendChild(k);this.init=function(){k.focus()};Graph.fileSupport&&(k.addEventListener("dragover",function(a){a.stopPropagation();a.preventDefault()},!1),k.addEventListener("drop",function(a){a.stopPropagation(); a.preventDefault();if(0<a.dataTransfer.files.length){a=a.dataTransfer.files[0];var b=new FileReader;b.onload=function(a){k.value=a.target.result};b.readAsText(a)}},!1));c.appendChild(m);mxEvent.addListener(m,"change",function(){var a=g();if(0==k.value.length||k.value==l)l=a,k.value=l});b=mxUtils.button(mxResources.get("close"),function(){k.value==l?a.hideDialog():a.confirm(mxResources.get("areYouSure"),function(){a.hideDialog()})});b.className="geBtn";a.editor.cancelFirst&&c.appendChild(b);n=mxUtils.button(mxResources.get("insert"), -function(){a.hideDialog();d(k.value,m.value)});c.appendChild(n);n.className="geBtn gePrimaryBtn";a.editor.cancelFirst||c.appendChild(b);this.container=c},NewDialog=function(a,c,b,d,g,e,k,m,n,q,f,l,p,u,v,t,z){function y(){var a=!0;if(null!=U)for(;J<U.length&&(a||0!=mxUtils.mod(J,30));)a=U[J++],B(a.url,a.libs,a.title,a.tooltip?a.tooltip:a.title,a.select,a.imgUrl,a.info,a.onClick,a.preview,a.noImg,a.clibs),a=!1}function C(){if(V)b||a.hideDialog(),u(V,ba,H.value);else if(d)b||a.hideDialog(),d(ha,H.value); -else{var c=H.value;null!=c&&0<c.length&&a.pickFolder(a.mode,function(b){a.createFile(c,ha,null!=aa&&0<aa.length?aa:null,null,function(){a.hideDialog()},null,b,null,null!=ga&&0<ga.length?ga:null)},a.mode!=App.MODE_GOOGLE||null==a.stateArg||null==a.stateArg.folderId)}}function x(a,b,c,f,l,d){null!=ca&&(ca.style.backgroundColor="transparent",ca.style.border="1px solid transparent");G.removeAttribute("disabled");ha=b;aa=c;ga=d;ca=a;V=f;ba=l;ca.style.backgroundColor=m;ca.style.border=n}function B(b,c, -f,l,d,p,e,t,k,A,g){var u=document.createElement("div");u.className="geTemplate";u.style.height=X+"px";u.style.width=ea+"px";null!=l&&0<l.length&&u.setAttribute("title",l);if(null!=p)u.style.backgroundImage="url("+p+")",u.style.backgroundSize="contain",u.style.backgroundPosition="center center",u.style.backgroundRepeat="no-repeat",mxEvent.addListener(u,"click",function(a){x(u,null,null,b,e,g)}),mxEvent.addListener(u,"dblclick",function(a){C()});else if(!A&&null!=b&&0<b.length){f=k||TEMPLATE_PATH+"/"+ -b.substring(0,b.length-4)+".png";u.style.backgroundImage="url("+f+")";u.style.backgroundPosition="center center";u.style.backgroundRepeat="no-repeat";var B=!1;mxEvent.addListener(u,"click",function(f){G.setAttribute("disabled","disabled");u.style.backgroundColor="transparent";u.style.border="1px solid transparent";f=b;f=/^https?:\/\//.test(f)&&!a.editor.isCorsEnabledForUrl(f)?PROXY_URL+"?url="+encodeURIComponent(f):TEMPLATE_PATH+"/"+f;I.spin(R);mxUtils.get(f,mxUtils.bind(this,function(a){I.stop(); -200<=a.getStatus()&&299>=a.getStatus()&&(x(u,a.getText(),c,null,null,g),B&&C())}))});mxEvent.addListener(u,"dblclick",function(a){B=!0})}else u.innerHTML='<table width="100%" height="100%" style="line-height:1em;word-break: break-all;"><tr><td align="center" valign="middle">'+mxResources.get(f,null,f)+"</td></tr></table>",d&&x(u),null!=t?mxEvent.addListener(u,"click",t):(mxEvent.addListener(u,"click",function(a){x(u,null,null,b,e)}),mxEvent.addListener(u,"dblclick",function(a){C()}));R.appendChild(u)} -function E(){S&&(S=!1,mxEvent.addListener(R,"scroll",function(a){R.scrollTop+R.clientHeight>=R.scrollHeight&&(y(),mxEvent.consume(a))}));var a=null;if(0<da){var b=document.createElement("div");b.style.cssText="font-weight: bold;background: #f9f9f9;padding: 5px 0 5px 0;text-align: center;";mxUtils.write(b,mxResources.get("custom"));Z.appendChild(b);for(var c in M){var f=document.createElement("div"),b=c,l=M[c];18<b.length&&(b=b.substring(0,18)+"…");f.style.cssText="display:block;cursor:pointer;padding:6px;white-space:nowrap;margin-bottom:-1px;overflow:hidden;text-overflow:ellipsis;"; -f.setAttribute("title",b+" ("+l.length+")");mxUtils.write(f,f.getAttribute("title"));null!=q&&(f.style.padding=q);Z.appendChild(f);(function(b,c){mxEvent.addListener(f,"click",function(){a!=c&&(a.style.backgroundColor="",a=c,a.style.backgroundColor=k,R.scrollTop=0,R.innerHTML="",J=0,U=M[b],Q=null,y())})})(c,f)}b=document.createElement("div");b.style.cssText="font-weight: bold;background: #f9f9f9;padding: 5px 0 5px 0;text-align: center;";mxUtils.write(b,"draw.io");Z.appendChild(b)}for(c in P)f=document.createElement("div"), -b=mxResources.get(c),l=P[c],null==b&&(b=c.substring(0,1).toUpperCase()+c.substring(1)),18<b.length&&(b=b.substring(0,18)+"…"),f.style.cssText="display:block;cursor:pointer;padding:6px;white-space:nowrap;margin-bottom:-1px;overflow:hidden;text-overflow:ellipsis;",f.setAttribute("title",b+" ("+l.length+")"),mxUtils.write(f,f.getAttribute("title")),null!=q&&(f.style.padding=q),Z.appendChild(f),null==a&&0<l.length&&(a=f,a.style.backgroundColor=k,U=l),function(b,c){mxEvent.addListener(f,"click", -function(){a!=c&&(a.style.backgroundColor="",a=c,a.style.backgroundColor=k,R.scrollTop=0,R.innerHTML="",J=0,U=P[b],Q=null,y())})}(c,f);y()}b=null!=b?b:!0;g=null!=g?g:!1;k=null!=k?k:"#ebf2f9";m=null!=m?m:"#e6eff8";n=null!=n?n:"1px solid #ccd9ea";f=null!=f?f:EditorUi.templateFile;var A=document.createElement("div");A.style.height="100%";var F=document.createElement("div");F.style.whiteSpace="nowrap";F.style.height="46px";b&&A.appendChild(F);var D=document.createElement("img");D.setAttribute("border", -"0");D.setAttribute("align","absmiddle");D.style.width="40px";D.style.height="40px";D.style.marginRight="10px";D.style.paddingBottom="4px";D.src=a.mode==App.MODE_GOOGLE?IMAGE_PATH+"/google-drive-logo.svg":a.mode==App.MODE_DROPBOX?IMAGE_PATH+"/dropbox-logo.svg":a.mode==App.MODE_ONEDRIVE?IMAGE_PATH+"/onedrive-logo.svg":a.mode==App.MODE_GITHUB?IMAGE_PATH+"/github-logo.svg":a.mode==App.MODE_GITLAB?IMAGE_PATH+"/gitlab-logo.svg":a.mode==App.MODE_TRELLO?IMAGE_PATH+"/trello-logo.svg":a.mode==App.MODE_BROWSER? -IMAGE_PATH+"/osa_database.png":IMAGE_PATH+"/osa_drive-harddisk.png";!c&&b&&F.appendChild(D);b&&mxUtils.write(F,(null==a.mode||a.mode==App.MODE_GOOGLE||a.mode==App.MODE_BROWSER?mxResources.get("diagramName"):mxResources.get("filename"))+":");D=".drawio";a.mode==App.MODE_GOOGLE&&null!=a.drive?D=a.drive.extension:a.mode==App.MODE_DROPBOX&&null!=a.dropbox?D=a.dropbox.extension:a.mode==App.MODE_ONEDRIVE&&null!=a.oneDrive?D=a.oneDrive.extension:a.mode==App.MODE_GITHUB&&null!=a.gitHub?D=a.gitHub.extension: -a.mode==App.MODE_GITLAB&&null!=a.gitLab?D=a.gitLab.extension:a.mode==App.MODE_TRELLO&&null!=a.trello&&(D=a.trello.extension);var H=document.createElement("input");H.setAttribute("value",a.defaultFilename+D);H.style.marginLeft="10px";H.style.width=c?"220px":"430px";this.init=function(){b&&(H.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?H.select():document.execCommand("selectAll",!1,null))};b&&(F.appendChild(H),null!=a.editor.fileExtensions&&(D=FilenameDialog.createTypeHint(a, -H,a.editor.fileExtensions),D.style.marginTop="12px",F.appendChild(D)));var F=!1,J=0,I=new Spinner({lines:12,length:10,width:5,radius:10,rotate:0,color:"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"40%",zIndex:2E9}),G=mxUtils.button(t||mxResources.get("create"),function(){G.setAttribute("disabled","disabled");C();G.removeAttribute("disabled")});G.className="geBtn gePrimaryBtn";if(l||p){var K=[],Q=null,N=null,Y=null,T=function(a){G.setAttribute("disabled","disabled");for(var b=0;b<K.length;b++)K[b].className= -b==a?"geBtn gePrimaryBtn":"geBtn"},F=!0;t=document.createElement("div");t.style.whiteSpace="nowrap";t.style.height="30px";A.appendChild(t);D=mxUtils.button(mxResources.get("Templates",null,"Templates"),function(){Z.style.display="";R.style.left="160px";T(0);R.scrollTop=0;R.innerHTML="";J=0;Q!=U&&(U=Q,P=N,da=Y,Z.innerHTML="",E(),Q=null)});K.push(D);t.appendChild(D);var L=function(a){Z.style.display="none";R.style.left="30px";T(a?-1:1);null==Q&&(Q=U);R.scrollTop=0;R.innerHTML="";I.spin(R);var b=function(a, -b,c){J=0;I.stop();U=a;c=c||{};var f=0,l;for(l in c)f+=c[l].length;if(b)R.innerHTML=b;else if(0==a.length&&0==f)R.innerHTML=mxUtils.htmlEntities(mxResources.get("noDiagrams",null,"No Diagrams Found"));else if(R.innerHTML="",0<f){Z.style.display="";R.style.left="160px";Z.innerHTML="";da=0;P={"draw.io":a};for(l in c)P[l]=c[l];E()}else y()};a?p(W.value,b):l(b)};l&&(D=mxUtils.button(mxResources.get("Recent",null,"Recent"),function(){L()}),t.appendChild(D),K.push(D));if(p){D=document.createElement("span"); -D.style.marginLeft="10px";D.innerHTML=mxUtils.htmlEntities(mxResources.get("search")+":");t.appendChild(D);var W=document.createElement("input");W.style.marginRight="10px";W.style.marginLeft="10px";W.style.width="220px";mxEvent.addListener(W,"keypress",function(a){13==a.keyCode&&L(!0)});t.appendChild(W);D=mxUtils.button(mxResources.get("search"),function(){L(!0)});D.className="geBtn";t.appendChild(D)}T(0)}var aa=null,ga=null,ha=null,ca=null,V=null,ba=null,R=document.createElement("div");R.style.border= -"1px solid #d3d3d3";R.style.position="absolute";R.style.left="160px";R.style.right="34px";F=(b?72:40)+(F?30:0);R.style.top=F+"px";R.style.bottom="68px";R.style.margin="6px 0 0 -1px";R.style.padding="6px";R.style.overflow="auto";var Z=document.createElement("div");Z.style.cssText="position:absolute;left:30px;width:128px;top:"+F+"px;bottom:68px;margin-top:6px;overflow:auto;border:1px solid #d3d3d3;";var X=140,ea=140,P={},M={},da=0,S=!0;P.basic=[{title:"blankDiagram",select:!0}];var U=P.basic;if(!c){var ja= -function(){mxUtils.get(O,function(a){if(!ka){ka=!0;a=a.getXml().documentElement.firstChild;for(var b={};null!=a;){if("undefined"!==typeof a.getAttribute)if("clibs"==a.nodeName){for(var c=a.getAttribute("name"),f=a.getElementsByTagName("add"),l=[],d=0;d<f.length;d++)l.push(encodeURIComponent(mxUtils.getTextContent(f[d])));null!=c&&0<l.length&&(b[c]=l.join(";"))}else c=a.getAttribute("url"),null!=c&&(f=a.getAttribute("section"),null==f&&(f=c.indexOf("/"),f=c.substring(0,f)),c=P[f],null==c&&(c=[],P[f]= -c),f=a.getAttribute("clibs"),null!=b[f]&&(f=b[f]),c.push({url:a.getAttribute("url"),libs:a.getAttribute("libs"),title:a.getAttribute("title"),tooltip:a.getAttribute("url"),preview:a.getAttribute("preview"),clibs:f}));a=a.nextSibling}I.stop();E()}})};A.appendChild(Z);A.appendChild(R);var ka=!1,O=f;/^https?:\/\//.test(O)&&!a.editor.isCorsEnabledForUrl(O)&&(O=PROXY_URL+"?url="+encodeURIComponent(O));I.spin(R);null!=z?z(function(a,b){M=a;Y=da=b;ja()},ja):ja();N=P}mxEvent.addListener(H,"keypress",function(b){a.dialog.container.firstChild== -A&&13==b.keyCode&&C()});f=document.createElement("div");f.style.marginTop=c?"4px":"16px";f.style.textAlign="right";f.style.position="absolute";f.style.left="40px";f.style.bottom="24px";f.style.right="40px";c||a.isOffline()||!b||null!=d||g||(z=mxUtils.button(mxResources.get("help"),function(){a.openLink("https://support.draw.io/display/DO/Creating+and+Opening+Files")}),z.className="geBtn",f.appendChild(z));z=mxUtils.button(mxResources.get("cancel"),function(){null!=e&&e();a.hideDialog(!0)});z.className= +function(){a.hideDialog();d(k.value,m.value)});c.appendChild(n);n.className="geBtn gePrimaryBtn";a.editor.cancelFirst||c.appendChild(b);this.container=c},NewDialog=function(a,c,b,d,g,e,k,m,n,t,f,l,p,u,v,q,z){function y(){var a=!0;if(null!=U)for(;J<U.length&&(a||0!=mxUtils.mod(J,30));)a=U[J++],A(a.url,a.libs,a.title,a.tooltip?a.tooltip:a.title,a.select,a.imgUrl,a.info,a.onClick,a.preview,a.noImg,a.clibs),a=!1}function C(){if(V)b||a.hideDialog(),u(V,ba,H.value);else if(d)b||a.hideDialog(),d(ha,H.value); +else{var c=H.value;null!=c&&0<c.length&&a.pickFolder(a.mode,function(b){a.createFile(c,ha,null!=aa&&0<aa.length?aa:null,null,function(){a.hideDialog()},null,b,null,null!=ga&&0<ga.length?ga:null)},a.mode!=App.MODE_GOOGLE||null==a.stateArg||null==a.stateArg.folderId)}}function x(a,b,c,f,l,p){null!=ca&&(ca.style.backgroundColor="transparent",ca.style.border="1px solid transparent");E.removeAttribute("disabled");ha=b;aa=c;ga=p;ca=a;V=f;ba=l;ca.style.backgroundColor=m;ca.style.border=n}function A(b,c, +f,l,p,d,e,q,k,B,g){var u=document.createElement("div");u.className="geTemplate";u.style.height=X+"px";u.style.width=ea+"px";null!=l&&0<l.length&&u.setAttribute("title",l);if(null!=d)u.style.backgroundImage="url("+d+")",u.style.backgroundSize="contain",u.style.backgroundPosition="center center",u.style.backgroundRepeat="no-repeat",mxEvent.addListener(u,"click",function(a){x(u,null,null,b,e,g)}),mxEvent.addListener(u,"dblclick",function(a){C()});else if(!B&&null!=b&&0<b.length){f=k||TEMPLATE_PATH+"/"+ +b.substring(0,b.length-4)+".png";u.style.backgroundImage="url("+f+")";u.style.backgroundPosition="center center";u.style.backgroundRepeat="no-repeat";var A=!1;mxEvent.addListener(u,"click",function(f){E.setAttribute("disabled","disabled");u.style.backgroundColor="transparent";u.style.border="1px solid transparent";f=b;f=/^https?:\/\//.test(f)&&!a.editor.isCorsEnabledForUrl(f)?PROXY_URL+"?url="+encodeURIComponent(f):TEMPLATE_PATH+"/"+f;I.spin(R);mxUtils.get(f,mxUtils.bind(this,function(a){I.stop(); +200<=a.getStatus()&&299>=a.getStatus()&&(x(u,a.getText(),c,null,null,g),A&&C())}))});mxEvent.addListener(u,"dblclick",function(a){A=!0})}else u.innerHTML='<table width="100%" height="100%" style="line-height:1em;word-break: break-all;"><tr><td align="center" valign="middle">'+mxResources.get(f,null,f)+"</td></tr></table>",p&&x(u),null!=q?mxEvent.addListener(u,"click",q):(mxEvent.addListener(u,"click",function(a){x(u,null,null,b,e)}),mxEvent.addListener(u,"dblclick",function(a){C()}));R.appendChild(u)} +function F(){S&&(S=!1,mxEvent.addListener(R,"scroll",function(a){R.scrollTop+R.clientHeight>=R.scrollHeight&&(y(),mxEvent.consume(a))}));var a=null;if(0<da){var b=document.createElement("div");b.style.cssText="font-weight: bold;background: #f9f9f9;padding: 5px 0 5px 0;text-align: center;";mxUtils.write(b,mxResources.get("custom"));Z.appendChild(b);for(var c in M){var f=document.createElement("div"),b=c,l=M[c];18<b.length&&(b=b.substring(0,18)+"…");f.style.cssText="display:block;cursor:pointer;padding:6px;white-space:nowrap;margin-bottom:-1px;overflow:hidden;text-overflow:ellipsis;"; +f.setAttribute("title",b+" ("+l.length+")");mxUtils.write(f,f.getAttribute("title"));null!=t&&(f.style.padding=t);Z.appendChild(f);(function(b,c){mxEvent.addListener(f,"click",function(){a!=c&&(a.style.backgroundColor="",a=c,a.style.backgroundColor=k,R.scrollTop=0,R.innerHTML="",J=0,U=M[b],Q=null,y())})})(c,f)}b=document.createElement("div");b.style.cssText="font-weight: bold;background: #f9f9f9;padding: 5px 0 5px 0;text-align: center;";mxUtils.write(b,"draw.io");Z.appendChild(b)}for(c in P)f=document.createElement("div"), +b=mxResources.get(c),l=P[c],null==b&&(b=c.substring(0,1).toUpperCase()+c.substring(1)),18<b.length&&(b=b.substring(0,18)+"…"),f.style.cssText="display:block;cursor:pointer;padding:6px;white-space:nowrap;margin-bottom:-1px;overflow:hidden;text-overflow:ellipsis;",f.setAttribute("title",b+" ("+l.length+")"),mxUtils.write(f,f.getAttribute("title")),null!=t&&(f.style.padding=t),Z.appendChild(f),null==a&&0<l.length&&(a=f,a.style.backgroundColor=k,U=l),function(b,c){mxEvent.addListener(f,"click", +function(){a!=c&&(a.style.backgroundColor="",a=c,a.style.backgroundColor=k,R.scrollTop=0,R.innerHTML="",J=0,U=P[b],Q=null,y())})}(c,f);y()}b=null!=b?b:!0;g=null!=g?g:!1;k=null!=k?k:"#ebf2f9";m=null!=m?m:"#e6eff8";n=null!=n?n:"1px solid #ccd9ea";f=null!=f?f:EditorUi.templateFile;var B=document.createElement("div");B.style.height="100%";var D=document.createElement("div");D.style.whiteSpace="nowrap";D.style.height="46px";b&&B.appendChild(D);var G=document.createElement("img");G.setAttribute("border", +"0");G.setAttribute("align","absmiddle");G.style.width="40px";G.style.height="40px";G.style.marginRight="10px";G.style.paddingBottom="4px";G.src=a.mode==App.MODE_GOOGLE?IMAGE_PATH+"/google-drive-logo.svg":a.mode==App.MODE_DROPBOX?IMAGE_PATH+"/dropbox-logo.svg":a.mode==App.MODE_ONEDRIVE?IMAGE_PATH+"/onedrive-logo.svg":a.mode==App.MODE_GITHUB?IMAGE_PATH+"/github-logo.svg":a.mode==App.MODE_GITLAB?IMAGE_PATH+"/gitlab-logo.svg":a.mode==App.MODE_TRELLO?IMAGE_PATH+"/trello-logo.svg":a.mode==App.MODE_BROWSER? +IMAGE_PATH+"/osa_database.png":IMAGE_PATH+"/osa_drive-harddisk.png";!c&&b&&D.appendChild(G);b&&mxUtils.write(D,(null==a.mode||a.mode==App.MODE_GOOGLE||a.mode==App.MODE_BROWSER?mxResources.get("diagramName"):mxResources.get("filename"))+":");G=".drawio";a.mode==App.MODE_GOOGLE&&null!=a.drive?G=a.drive.extension:a.mode==App.MODE_DROPBOX&&null!=a.dropbox?G=a.dropbox.extension:a.mode==App.MODE_ONEDRIVE&&null!=a.oneDrive?G=a.oneDrive.extension:a.mode==App.MODE_GITHUB&&null!=a.gitHub?G=a.gitHub.extension: +a.mode==App.MODE_GITLAB&&null!=a.gitLab?G=a.gitLab.extension:a.mode==App.MODE_TRELLO&&null!=a.trello&&(G=a.trello.extension);var H=document.createElement("input");H.setAttribute("value",a.defaultFilename+G);H.style.marginLeft="10px";H.style.width=c?"220px":"430px";this.init=function(){b&&(H.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?H.select():document.execCommand("selectAll",!1,null))};b&&(D.appendChild(H),null!=a.editor.fileExtensions&&(G=FilenameDialog.createTypeHint(a, +H,a.editor.fileExtensions),G.style.marginTop="12px",D.appendChild(G)));var D=!1,J=0,I=new Spinner({lines:12,length:10,width:5,radius:10,rotate:0,color:"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"40%",zIndex:2E9}),E=mxUtils.button(q||mxResources.get("create"),function(){E.setAttribute("disabled","disabled");C();E.removeAttribute("disabled")});E.className="geBtn gePrimaryBtn";if(l||p){var K=[],Q=null,N=null,Y=null,T=function(a){E.setAttribute("disabled","disabled");for(var b=0;b<K.length;b++)K[b].className= +b==a?"geBtn gePrimaryBtn":"geBtn"},D=!0;q=document.createElement("div");q.style.whiteSpace="nowrap";q.style.height="30px";B.appendChild(q);G=mxUtils.button(mxResources.get("Templates",null,"Templates"),function(){Z.style.display="";R.style.left="160px";T(0);R.scrollTop=0;R.innerHTML="";J=0;Q!=U&&(U=Q,P=N,da=Y,Z.innerHTML="",F(),Q=null)});K.push(G);q.appendChild(G);var L=function(a){Z.style.display="none";R.style.left="30px";T(a?-1:1);null==Q&&(Q=U);R.scrollTop=0;R.innerHTML="";I.spin(R);var b=function(a, +b,c){J=0;I.stop();U=a;c=c||{};var f=0,l;for(l in c)f+=c[l].length;if(b)R.innerHTML=b;else if(0==a.length&&0==f)R.innerHTML=mxUtils.htmlEntities(mxResources.get("noDiagrams",null,"No Diagrams Found"));else if(R.innerHTML="",0<f){Z.style.display="";R.style.left="160px";Z.innerHTML="";da=0;P={"draw.io":a};for(l in c)P[l]=c[l];F()}else y()};a?p(W.value,b):l(b)};l&&(G=mxUtils.button(mxResources.get("Recent",null,"Recent"),function(){L()}),q.appendChild(G),K.push(G));if(p){G=document.createElement("span"); +G.style.marginLeft="10px";G.innerHTML=mxUtils.htmlEntities(mxResources.get("search")+":");q.appendChild(G);var W=document.createElement("input");W.style.marginRight="10px";W.style.marginLeft="10px";W.style.width="220px";mxEvent.addListener(W,"keypress",function(a){13==a.keyCode&&L(!0)});q.appendChild(W);G=mxUtils.button(mxResources.get("search"),function(){L(!0)});G.className="geBtn";q.appendChild(G)}T(0)}var aa=null,ga=null,ha=null,ca=null,V=null,ba=null,R=document.createElement("div");R.style.border= +"1px solid #d3d3d3";R.style.position="absolute";R.style.left="160px";R.style.right="34px";D=(b?72:40)+(D?30:0);R.style.top=D+"px";R.style.bottom="68px";R.style.margin="6px 0 0 -1px";R.style.padding="6px";R.style.overflow="auto";var Z=document.createElement("div");Z.style.cssText="position:absolute;left:30px;width:128px;top:"+D+"px;bottom:68px;margin-top:6px;overflow:auto;border:1px solid #d3d3d3;";var X=140,ea=140,P={},M={},da=0,S=!0;P.basic=[{title:"blankDiagram",select:!0}];var U=P.basic;if(!c){var ja= +function(){mxUtils.get(O,function(a){if(!ka){ka=!0;a=a.getXml().documentElement.firstChild;for(var b={};null!=a;){if("undefined"!==typeof a.getAttribute)if("clibs"==a.nodeName){for(var c=a.getAttribute("name"),f=a.getElementsByTagName("add"),l=[],p=0;p<f.length;p++)l.push(encodeURIComponent(mxUtils.getTextContent(f[p])));null!=c&&0<l.length&&(b[c]=l.join(";"))}else c=a.getAttribute("url"),null!=c&&(f=a.getAttribute("section"),null==f&&(f=c.indexOf("/"),f=c.substring(0,f)),c=P[f],null==c&&(c=[],P[f]= +c),f=a.getAttribute("clibs"),null!=b[f]&&(f=b[f]),c.push({url:a.getAttribute("url"),libs:a.getAttribute("libs"),title:a.getAttribute("title"),tooltip:a.getAttribute("url"),preview:a.getAttribute("preview"),clibs:f}));a=a.nextSibling}I.stop();F()}})};B.appendChild(Z);B.appendChild(R);var ka=!1,O=f;/^https?:\/\//.test(O)&&!a.editor.isCorsEnabledForUrl(O)&&(O=PROXY_URL+"?url="+encodeURIComponent(O));I.spin(R);null!=z?z(function(a,b){M=a;Y=da=b;ja()},ja):ja();N=P}mxEvent.addListener(H,"keypress",function(b){a.dialog.container.firstChild== +B&&13==b.keyCode&&C()});f=document.createElement("div");f.style.marginTop=c?"4px":"16px";f.style.textAlign="right";f.style.position="absolute";f.style.left="40px";f.style.bottom="24px";f.style.right="40px";c||a.isOffline()||!b||null!=d||g||(z=mxUtils.button(mxResources.get("help"),function(){a.openLink("https://support.draw.io/display/DO/Creating+and+Opening+Files")}),z.className="geBtn",f.appendChild(z));z=mxUtils.button(mxResources.get("cancel"),function(){null!=e&&e();a.hideDialog(!0)});z.className= "geBtn";!a.editor.cancelFirst||g&&null==e||f.appendChild(z);c||"1"==urlParams.embed||g||(c=mxUtils.button(mxResources.get("fromTemplateUrl"),function(){var b=new FilenameDialog(a,"",mxResources.get("create"),function(b){null!=b&&0<b.length&&(b=a.getUrl(window.location.pathname+"?mode="+a.mode+"&title="+encodeURIComponent(H.value)+"&create="+encodeURIComponent(b)),null==a.getCurrentFile()?window.location.href=b:window.openWindow(b))},mxResources.get("url"));a.showDialog(b.container,300,80,!0,!0);b.init()}), -c.className="geBtn",f.appendChild(c));Graph.fileSupport&&v&&(v=mxUtils.button(mxResources.get("import"),function(){if(null==a.newDlgFileInputElt){var b=document.createElement("input");b.setAttribute("multiple","multiple");b.setAttribute("type","file");mxEvent.addListener(b,"change",function(c){a.openFiles(b.files,!0);b.value=""});b.style.display="none";document.body.appendChild(b);a.newDlgFileInputElt=b}a.newDlgFileInputElt.click()}),v.className="geBtn",f.appendChild(v));f.appendChild(G);a.editor.cancelFirst|| -null!=d||g&&null==e||f.appendChild(z);A.appendChild(f);this.container=A},CreateDialog=function(a,c,b,d,g,e,k,m,n,q,f,l,p,u,v,t){function z(b,f,d,p){function e(){mxEvent.addListener(t,"click",function(){var b=d;if(k){var f=x.value,l=f.lastIndexOf(".");if(0>c.lastIndexOf(".")&&0>l){var b=null!=b?b:A.value,p="";b==App.MODE_GOOGLE?p=a.drive.extension:b==App.MODE_GITHUB?p=a.gitHub.extension:b==App.MODE_GITLAB?p=a.gitLab.extension:b==App.MODE_TRELLO?p=a.trello.extension:b==App.MODE_DROPBOX?p=a.dropbox.extension: -b==App.MODE_ONEDRIVE?p=a.oneDrive.extension:b==App.MODE_DEVICE&&(p=".drawio");0<=l&&(f=f.substring(0,l));x.value=f+p}}y(d)})}var t=document.createElement("a");t.style.overflow="hidden";var g=document.createElement("img");g.src=b;g.setAttribute("border","0");g.setAttribute("align","absmiddle");g.style.width="60px";g.style.height="60px";g.style.paddingBottom="6px";t.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";t.className="geBaseButton";t.style.position="relative";t.style.margin="4px";t.style.padding= -"8px 8px 10px 8px";t.style.whiteSpace="nowrap";t.appendChild(g);mxClient.IS_QUIRKS&&(t.style.cssFloat="left",t.style.zoom="1");t.style.color="gray";t.style.fontSize="11px";var u=document.createElement("div");t.appendChild(u);mxUtils.write(u,f);if(null!=p&&null==a[p]){g.style.visibility="hidden";mxUtils.setOpacity(u,10);var v=new Spinner({lines:12,length:12,width:5,radius:10,rotate:0,color:"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"40%",zIndex:2E9});v.spin(t);var F=window.setTimeout(function(){null== -a[p]&&(v.stop(),t.style.display="none")},3E4);a.addListener("clientLoaded",mxUtils.bind(this,function(){null!=a[p]&&(window.clearTimeout(F),mxUtils.setOpacity(u,100),g.style.visibility="",v.stop(),e())}))}else e();B.appendChild(t);++E==l&&(mxUtils.br(B),E=0)}function y(c){var f=x.value;if(null==c||null!=f&&0<f.length)a.hideDialog(),b(f,c)}k=null!=k?k:!0;m=null!=m?m:!0;l=null!=l?l:4;e=document.createElement("div");e.style.whiteSpace="nowrap";null==d&&a.addLanguageMenu(e);var C=document.createElement("h2"); +c.className="geBtn",f.appendChild(c));Graph.fileSupport&&v&&(v=mxUtils.button(mxResources.get("import"),function(){if(null==a.newDlgFileInputElt){var b=document.createElement("input");b.setAttribute("multiple","multiple");b.setAttribute("type","file");mxEvent.addListener(b,"change",function(c){a.openFiles(b.files,!0);b.value=""});b.style.display="none";document.body.appendChild(b);a.newDlgFileInputElt=b}a.newDlgFileInputElt.click()}),v.className="geBtn",f.appendChild(v));f.appendChild(E);a.editor.cancelFirst|| +null!=d||g&&null==e||f.appendChild(z);B.appendChild(f);this.container=B},CreateDialog=function(a,c,b,d,g,e,k,m,n,t,f,l,p,u,v,q){function z(b,f,p,d){function e(){mxEvent.addListener(q,"click",function(){var b=p;if(k){var f=x.value,l=f.lastIndexOf(".");if(0>c.lastIndexOf(".")&&0>l){var b=null!=b?b:B.value,d="";b==App.MODE_GOOGLE?d=a.drive.extension:b==App.MODE_GITHUB?d=a.gitHub.extension:b==App.MODE_GITLAB?d=a.gitLab.extension:b==App.MODE_TRELLO?d=a.trello.extension:b==App.MODE_DROPBOX?d=a.dropbox.extension: +b==App.MODE_ONEDRIVE?d=a.oneDrive.extension:b==App.MODE_DEVICE&&(d=".drawio");0<=l&&(f=f.substring(0,l));x.value=f+d}}y(p)})}var q=document.createElement("a");q.style.overflow="hidden";var g=document.createElement("img");g.src=b;g.setAttribute("border","0");g.setAttribute("align","absmiddle");g.style.width="60px";g.style.height="60px";g.style.paddingBottom="6px";q.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";q.className="geBaseButton";q.style.position="relative";q.style.margin="4px";q.style.padding= +"8px 8px 10px 8px";q.style.whiteSpace="nowrap";q.appendChild(g);mxClient.IS_QUIRKS&&(q.style.cssFloat="left",q.style.zoom="1");q.style.color="gray";q.style.fontSize="11px";var u=document.createElement("div");q.appendChild(u);mxUtils.write(u,f);if(null!=d&&null==a[d]){g.style.visibility="hidden";mxUtils.setOpacity(u,10);var v=new Spinner({lines:12,length:12,width:5,radius:10,rotate:0,color:"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"40%",zIndex:2E9});v.spin(q);var n=window.setTimeout(function(){null== +a[d]&&(v.stop(),q.style.display="none")},3E4);a.addListener("clientLoaded",mxUtils.bind(this,function(){null!=a[d]&&(window.clearTimeout(n),mxUtils.setOpacity(u,100),g.style.visibility="",v.stop(),e())}))}else e();A.appendChild(q);++F==l&&(mxUtils.br(A),F=0)}function y(c){var f=x.value;if(null==c||null!=f&&0<f.length)a.hideDialog(),b(f,c)}k=null!=k?k:!0;m=null!=m?m:!0;l=null!=l?l:4;e=document.createElement("div");e.style.whiteSpace="nowrap";null==d&&a.addLanguageMenu(e);var C=document.createElement("h2"); mxUtils.write(C,g||mxResources.get("create"));C.style.marginTop="0px";C.style.marginBottom="24px";e.appendChild(C);mxUtils.write(e,mxResources.get("filename")+":");var x=document.createElement("input");x.setAttribute("value",c);x.style.width="280px";x.style.marginLeft="10px";x.style.marginBottom="20px";x.style.maxWidth="70%";this.init=function(){x.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?x.select():document.execCommand("selectAll",!1,null)};e.appendChild(x); -null!=t&&e.appendChild(FilenameDialog.createTypeHint(a,x,t));null!=p&&null!=u&&"image/"==u.substring(0,6)&&(x.style.width="160px",g=null,"image/svg+xml"==u&&mxClient.IS_SVG?(g=document.createElement("div"),g.innerHTML=mxUtils.trim(p),p=g.getElementsByTagName("svg")[0],u=parseInt(p.getAttribute("width")),v=parseInt(p.getAttribute("height")),p.setAttribute("viewBox","0 0 "+u+" "+v),p.setAttribute("width","120px"),p.setAttribute("height","80px")):(g=document.createElement("img"),g.setAttribute("src", -"data:"+u+(v?";base64,":";utf8,")+p)),g.style.position="absolute",g.style.top="70px",g.style.right="100px",g.style.maxWidth="120px",g.style.maxHeight="80px",mxUtils.setPrefixedStyle(g.style,"transform","translate(50%,-50%)"),e.appendChild(g),n&&Editor.popupsAllowed&&(g.style.cursor="pointer",mxEvent.addListener(g,"click",function(){y("_blank")})));mxUtils.br(e);var B=document.createElement("div");B.style.textAlign="center";var E=0;B.style.marginTop="6px";e.appendChild(B);var A=document.createElement("select"); -A.style.marginLeft="10px";a.isOfflineApp()||a.isOffline()||("function"===typeof window.DriveClient&&(p=document.createElement("option"),p.setAttribute("value",App.MODE_GOOGLE),mxUtils.write(p,mxResources.get("googleDrive")),A.appendChild(p),z(IMAGE_PATH+"/google-drive-logo.svg",mxResources.get("googleDrive"),App.MODE_GOOGLE,"drive")),"function"===typeof window.OneDriveClient&&(p=document.createElement("option"),p.setAttribute("value",App.MODE_ONEDRIVE),mxUtils.write(p,mxResources.get("oneDrive")), -A.appendChild(p),a.mode==App.MODE_ONEDRIVE&&p.setAttribute("selected","selected"),z(IMAGE_PATH+"/onedrive-logo.svg",mxResources.get("oneDrive"),App.MODE_ONEDRIVE,"oneDrive")),"function"===typeof window.DropboxClient&&(p=document.createElement("option"),p.setAttribute("value",App.MODE_DROPBOX),mxUtils.write(p,mxResources.get("dropbox")),A.appendChild(p),a.mode==App.MODE_DROPBOX&&p.setAttribute("selected","selected"),z(IMAGE_PATH+"/dropbox-logo.svg",mxResources.get("dropbox"),App.MODE_DROPBOX,"dropbox")), -null!=a.gitHub&&(p=document.createElement("option"),p.setAttribute("value",App.MODE_GITHUB),mxUtils.write(p,mxResources.get("github")),A.appendChild(p),z(IMAGE_PATH+"/github-logo.svg",mxResources.get("github"),App.MODE_GITHUB,"gitHub")),null!=a.gitLab&&(p=document.createElement("option"),p.setAttribute("value",App.MODE_GITLAB),mxUtils.write(p,mxResources.get("gitlab")),A.appendChild(p),z(IMAGE_PATH+"/gitlab-logo.svg",mxResources.get("gitlab"),App.MODE_GITLAB,"gitLab")),"function"===typeof window.TrelloClient&& -(p=document.createElement("option"),p.setAttribute("value",App.MODE_TRELLO),mxUtils.write(p,mxResources.get("trello")),A.appendChild(p),z(IMAGE_PATH+"/trello-logo.svg",mxResources.get("trello"),App.MODE_TRELLO,"trello")));Editor.useLocalStorage&&"device"!=urlParams.storage&&null==a.getCurrentFile()||(p=document.createElement("option"),p.setAttribute("value",App.MODE_DEVICE),mxUtils.write(p,mxResources.get("device")),A.appendChild(p),a.mode!=App.MODE_DEVICE&&m||p.setAttribute("selected","selected"), -f&&z(IMAGE_PATH+"/osa_drive-harddisk.png",mxResources.get("device"),App.MODE_DEVICE));m&&isLocalStorage&&"0"!=urlParams.browser&&(m=document.createElement("option"),m.setAttribute("value",App.MODE_BROWSER),mxUtils.write(m,mxResources.get("browser")),A.appendChild(m),a.mode==App.MODE_BROWSER&&m.setAttribute("selected","selected"),z(IMAGE_PATH+"/osa_database.png",mxResources.get("browser"),App.MODE_BROWSER));m=document.createElement("div");m.style.marginTop="26px";m.style.textAlign="center";null!=q&& -(f=mxUtils.button(mxResources.get("help"),function(){a.openLink(q)}),f.className="geBtn",m.appendChild(f));f=mxUtils.button(mxResources.get("cancel"),function(){null!=d?d():(a.fileLoaded(null),a.hideDialog(),window.close(),window.location.href=a.getUrl())});f.className="geBtn";a.editor.cancelFirst&&m.appendChild(f);null==d&&(p=mxUtils.button(mxResources.get("decideLater"),function(){y(null)}),p.className="geBtn",m.appendChild(p));n&&Editor.popupsAllowed&&(n=mxUtils.button(mxResources.get("openInNewWindow"), +null!=q&&e.appendChild(FilenameDialog.createTypeHint(a,x,q));null!=p&&null!=u&&"image/"==u.substring(0,6)&&(x.style.width="160px",g=null,"image/svg+xml"==u&&mxClient.IS_SVG?(g=document.createElement("div"),g.innerHTML=mxUtils.trim(p),p=g.getElementsByTagName("svg")[0],u=parseInt(p.getAttribute("width")),v=parseInt(p.getAttribute("height")),p.setAttribute("viewBox","0 0 "+u+" "+v),p.setAttribute("width","120px"),p.setAttribute("height","80px")):(g=document.createElement("img"),g.setAttribute("src", +"data:"+u+(v?";base64,":";utf8,")+p)),g.style.position="absolute",g.style.top="70px",g.style.right="100px",g.style.maxWidth="120px",g.style.maxHeight="80px",mxUtils.setPrefixedStyle(g.style,"transform","translate(50%,-50%)"),e.appendChild(g),n&&Editor.popupsAllowed&&(g.style.cursor="pointer",mxEvent.addListener(g,"click",function(){y("_blank")})));mxUtils.br(e);var A=document.createElement("div");A.style.textAlign="center";var F=0;A.style.marginTop="6px";e.appendChild(A);var B=document.createElement("select"); +B.style.marginLeft="10px";a.isOfflineApp()||a.isOffline()||("function"===typeof window.DriveClient&&(p=document.createElement("option"),p.setAttribute("value",App.MODE_GOOGLE),mxUtils.write(p,mxResources.get("googleDrive")),B.appendChild(p),z(IMAGE_PATH+"/google-drive-logo.svg",mxResources.get("googleDrive"),App.MODE_GOOGLE,"drive")),"function"===typeof window.OneDriveClient&&(p=document.createElement("option"),p.setAttribute("value",App.MODE_ONEDRIVE),mxUtils.write(p,mxResources.get("oneDrive")), +B.appendChild(p),a.mode==App.MODE_ONEDRIVE&&p.setAttribute("selected","selected"),z(IMAGE_PATH+"/onedrive-logo.svg",mxResources.get("oneDrive"),App.MODE_ONEDRIVE,"oneDrive")),"function"===typeof window.DropboxClient&&(p=document.createElement("option"),p.setAttribute("value",App.MODE_DROPBOX),mxUtils.write(p,mxResources.get("dropbox")),B.appendChild(p),a.mode==App.MODE_DROPBOX&&p.setAttribute("selected","selected"),z(IMAGE_PATH+"/dropbox-logo.svg",mxResources.get("dropbox"),App.MODE_DROPBOX,"dropbox")), +null!=a.gitHub&&(p=document.createElement("option"),p.setAttribute("value",App.MODE_GITHUB),mxUtils.write(p,mxResources.get("github")),B.appendChild(p),z(IMAGE_PATH+"/github-logo.svg",mxResources.get("github"),App.MODE_GITHUB,"gitHub")),null!=a.gitLab&&(p=document.createElement("option"),p.setAttribute("value",App.MODE_GITLAB),mxUtils.write(p,mxResources.get("gitlab")),B.appendChild(p),z(IMAGE_PATH+"/gitlab-logo.svg",mxResources.get("gitlab"),App.MODE_GITLAB,"gitLab")),"function"===typeof window.TrelloClient&& +(p=document.createElement("option"),p.setAttribute("value",App.MODE_TRELLO),mxUtils.write(p,mxResources.get("trello")),B.appendChild(p),z(IMAGE_PATH+"/trello-logo.svg",mxResources.get("trello"),App.MODE_TRELLO,"trello")));Editor.useLocalStorage&&"device"!=urlParams.storage&&null==a.getCurrentFile()||(p=document.createElement("option"),p.setAttribute("value",App.MODE_DEVICE),mxUtils.write(p,mxResources.get("device")),B.appendChild(p),a.mode!=App.MODE_DEVICE&&m||p.setAttribute("selected","selected"), +f&&z(IMAGE_PATH+"/osa_drive-harddisk.png",mxResources.get("device"),App.MODE_DEVICE));m&&isLocalStorage&&"0"!=urlParams.browser&&(m=document.createElement("option"),m.setAttribute("value",App.MODE_BROWSER),mxUtils.write(m,mxResources.get("browser")),B.appendChild(m),a.mode==App.MODE_BROWSER&&m.setAttribute("selected","selected"),z(IMAGE_PATH+"/osa_database.png",mxResources.get("browser"),App.MODE_BROWSER));m=document.createElement("div");m.style.marginTop="26px";m.style.textAlign="center";null!=t&& +(f=mxUtils.button(mxResources.get("help"),function(){a.openLink(t)}),f.className="geBtn",m.appendChild(f));f=mxUtils.button(mxResources.get("cancel"),function(){null!=d?d():(a.fileLoaded(null),a.hideDialog(),window.close(),window.location.href=a.getUrl())});f.className="geBtn";a.editor.cancelFirst&&m.appendChild(f);null==d&&(p=mxUtils.button(mxResources.get("decideLater"),function(){y(null)}),p.className="geBtn",m.appendChild(p));n&&Editor.popupsAllowed&&(n=mxUtils.button(mxResources.get("openInNewWindow"), function(){y("_blank")}),n.className="geBtn",m.appendChild(n));CreateDialog.showDownloadButton&&(n=mxUtils.button(mxResources.get("download"),function(){y("download")}),n.className="geBtn",m.appendChild(n));a.editor.cancelFirst||m.appendChild(f);mxEvent.addListener(x,"keypress",function(b){13==b.keyCode?y(App.MODE_DEVICE):27==b.keyCode&&(a.fileLoaded(null),a.hideDialog(),window.close())});e.appendChild(m);this.container=e};CreateDialog.showDownloadButton=!0; var PopupDialog=function(a,c,b,d,g){g=null!=g?g:!0;var e=document.createElement("div");e.style.textAlign="left";mxUtils.write(e,mxResources.get("fileOpenLocation"));mxUtils.br(e);mxUtils.br(e);var k=mxUtils.button(mxResources.get("openInThisWindow"),function(){g&&a.hideDialog();null!=d&&d()});k.className="geBtn";k.style.marginBottom="8px";k.style.width="280px";e.appendChild(k);mxUtils.br(e);var m=mxUtils.button(mxResources.get("openInNewWindow"),function(){g&&a.hideDialog();null!=b&&b();a.openLink(c, null,!0)});m.className="geBtn gePrimaryBtn";m.style.width=k.style.width;e.appendChild(m);mxUtils.br(e);mxUtils.br(e);mxUtils.write(e,mxResources.get("allowPopups"));this.container=e},ImageDialog=function(a,c,b,d,g,e){e=null!=e?e:!0;var k=a.editor.graph,m=document.createElement("div");mxUtils.write(m,c);c=document.createElement("div");c.className="geTitle";c.style.backgroundColor="transparent";c.style.borderColor="transparent";c.style.whiteSpace="nowrap";c.style.textOverflow="clip";c.style.cursor= "default";mxClient.IS_VML||(c.style.paddingRight="20px");var n=document.createElement("input");n.setAttribute("value",b);n.setAttribute("type","text");n.setAttribute("spellcheck","false");n.setAttribute("autocorrect","off");n.setAttribute("autocomplete","off");n.setAttribute("autocapitalize","off");n.style.marginTop="6px";n.style.width=(Graph.fileSupport?420:340)+(mxClient.IS_QUIRKS?20:-20)+"px";n.style.backgroundImage="url('"+Dialog.prototype.clearImage+"')";n.style.backgroundRepeat="no-repeat"; n.style.backgroundPosition="100% 50%";n.style.paddingRight="14px";b=document.createElement("div");b.setAttribute("title",mxResources.get("reset"));b.style.position="relative";b.style.left="-16px";b.style.width="12px";b.style.height="14px";b.style.cursor="pointer";b.style.display=mxClient.IS_VML?"inline":"inline-block";b.style.top=(mxClient.IS_VML?0:3)+"px";b.style.background="url('"+a.editor.transparentImage+"')";mxEvent.addListener(b,"click",function(){n.value="";n.focus()});c.appendChild(n);c.appendChild(b); -m.appendChild(c);var q=function(b,c,f,l){var p="data:"==b.substring(0,5);!a.isOffline()||p&&"undefined"===typeof chrome?0<b.length&&a.spinner.spin(document.body,mxResources.get("inserting"))?a.loadImage(b,function(p){a.spinner.stop();a.hideDialog();var t=!1===l?1:null!=c&&null!=f?Math.max(c/p.width,f/p.height):Math.min(1,Math.min(520/p.width,520/p.height));e&&(b=a.convertDataUri(b));d(b,Math.round(Number(p.width)*t),Math.round(Number(p.height)*t))},function(){a.spinner.stop();d(null);a.showError(mxResources.get("error"), -mxResources.get("fileNotFound"),mxResources.get("ok"))}):(a.hideDialog(),d(b)):(b=a.convertDataUri(b),c=null==c?120:c,f=null==f?100:f,a.hideDialog(),d(b,c,f))},f=function(b,c){if(null!=b){var f=g?null:k.getModel().getGeometry(k.getSelectionCell());null!=f?q(b,f.width,f.height,c):q(b,null,null,c)}else a.hideDialog(),d(null)};this.init=function(){n.focus();if(Graph.fileSupport){n.setAttribute("placeholder",mxResources.get("dragImagesHere"));var b=m.parentNode,c=null;mxEvent.addListener(b,"dragleave", -function(a){null!=c&&(c.parentNode.removeChild(c),c=null);a.stopPropagation();a.preventDefault()});mxEvent.addListener(b,"dragover",mxUtils.bind(this,function(f){null==c&&(!mxClient.IS_IE||10<document.documentMode)&&(c=a.highlightElement(b));f.stopPropagation();f.preventDefault()}));mxEvent.addListener(b,"drop",mxUtils.bind(this,function(b){null!=c&&(c.parentNode.removeChild(c),c=null);if(0<b.dataTransfer.files.length)a.importFiles(b.dataTransfer.files,0,0,a.maxImageSize,function(a,b,c,l,d,p,e,t){f(a, -t)},function(){},function(a){return"image/"==a.type.substring(0,6)},function(a){for(var b=0;b<a.length;b++)a[b]()},!mxEvent.isControlDown(b));else if(0<=mxUtils.indexOf(b.dataTransfer.types,"text/uri-list")){var l=b.dataTransfer.getData("text/uri-list");/\.(gif|jpg|jpeg|tiff|png|svg)($|\?)/i.test(l)&&f(decodeURIComponent(l))}b.stopPropagation();b.preventDefault()}),!1)}};b=document.createElement("div");b.style.marginTop=mxClient.IS_QUIRKS?"22px":"14px";b.style.textAlign="center";c=mxUtils.button(mxResources.get("cancel"), +m.appendChild(c);var t=function(b,c,f,l){var p="data:"==b.substring(0,5);!a.isOffline()||p&&"undefined"===typeof chrome?0<b.length&&a.spinner.spin(document.body,mxResources.get("inserting"))?a.loadImage(b,function(p){a.spinner.stop();a.hideDialog();var q=!1===l?1:null!=c&&null!=f?Math.max(c/p.width,f/p.height):Math.min(1,Math.min(520/p.width,520/p.height));e&&(b=a.convertDataUri(b));d(b,Math.round(Number(p.width)*q),Math.round(Number(p.height)*q))},function(){a.spinner.stop();d(null);a.showError(mxResources.get("error"), +mxResources.get("fileNotFound"),mxResources.get("ok"))}):(a.hideDialog(),d(b)):(b=a.convertDataUri(b),c=null==c?120:c,f=null==f?100:f,a.hideDialog(),d(b,c,f))},f=function(b,c){if(null!=b){var f=g?null:k.getModel().getGeometry(k.getSelectionCell());null!=f?t(b,f.width,f.height,c):t(b,null,null,c)}else a.hideDialog(),d(null)};this.init=function(){n.focus();if(Graph.fileSupport){n.setAttribute("placeholder",mxResources.get("dragImagesHere"));var b=m.parentNode,c=null;mxEvent.addListener(b,"dragleave", +function(a){null!=c&&(c.parentNode.removeChild(c),c=null);a.stopPropagation();a.preventDefault()});mxEvent.addListener(b,"dragover",mxUtils.bind(this,function(f){null==c&&(!mxClient.IS_IE||10<document.documentMode)&&(c=a.highlightElement(b));f.stopPropagation();f.preventDefault()}));mxEvent.addListener(b,"drop",mxUtils.bind(this,function(b){null!=c&&(c.parentNode.removeChild(c),c=null);if(0<b.dataTransfer.files.length)a.importFiles(b.dataTransfer.files,0,0,a.maxImageSize,function(a,b,c,l,p,d,e,q){f(a, +q)},function(){},function(a){return"image/"==a.type.substring(0,6)},function(a){for(var b=0;b<a.length;b++)a[b]()},!mxEvent.isControlDown(b));else if(0<=mxUtils.indexOf(b.dataTransfer.types,"text/uri-list")){var l=b.dataTransfer.getData("text/uri-list");/\.(gif|jpg|jpeg|tiff|png|svg)($|\?)/i.test(l)&&f(decodeURIComponent(l))}b.stopPropagation();b.preventDefault()}),!1)}};b=document.createElement("div");b.style.marginTop=mxClient.IS_QUIRKS?"22px":"14px";b.style.textAlign="center";c=mxUtils.button(mxResources.get("cancel"), function(){a.spinner.stop();a.hideDialog()});c.className="geBtn";a.editor.cancelFirst&&b.appendChild(c);ImageDialog.filePicked=function(a){a.action==google.picker.Action.PICKED&&null!=a.docs[0].thumbnails&&(a=a.docs[0].thumbnails[a.docs[0].thumbnails.length-1],null!=a&&(n.value=a.url));n.focus()};if(Graph.fileSupport){if(null==a.imgDlgFileInputElt){var l=document.createElement("input");l.setAttribute("multiple","multiple");l.setAttribute("type","file");mxEvent.addListener(l,"change",function(b){null!= -l.files&&(a.importFiles(l.files,0,0,a.maxImageSize,function(a,b,c,l,d,p){f(a)},function(){},function(a){return"image/"==a.type.substring(0,6)},function(a){for(var b=0;b<a.length;b++)a[b]()},!0),l.type="",l.type="file",l.value="")});l.style.display="none";document.body.appendChild(l);a.imgDlgFileInputElt=l}var p=mxUtils.button(mxResources.get("open"),function(){a.imgDlgFileInputElt.click()});p.className="geBtn";b.appendChild(p)}document.createElement("canvas").getContext&&"data:image/"==n.value.substring(0, +l.files&&(a.importFiles(l.files,0,0,a.maxImageSize,function(a,b,c,l,p,d){f(a)},function(){},function(a){return"image/"==a.type.substring(0,6)},function(a){for(var b=0;b<a.length;b++)a[b]()},!0),l.type="",l.type="file",l.value="")});l.style.display="none";document.body.appendChild(l);a.imgDlgFileInputElt=l}var p=mxUtils.button(mxResources.get("open"),function(){a.imgDlgFileInputElt.click()});p.className="geBtn";b.appendChild(p)}document.createElement("canvas").getContext&&"data:image/"==n.value.substring(0, 11)&&"data:image/svg"!=n.value.substring(0,14)&&(p=mxUtils.button(mxResources.get("crop"),function(){var b=new CropImageDialog(a,n.value,function(a){n.value=a});a.showDialog(b.container,200,200,!0,!0);b.init()}),p.className="geBtn",b.appendChild(p));"undefined"!=typeof google&&"undefined"!=typeof google.picker&&window.self===window.top&&(p=mxUtils.button(mxResources.get("search"),function(){if(null==a.imageSearchPicker){var b=(new google.picker.PickerBuilder).setLocale(mxLanguage).addView(google.picker.ViewId.IMAGE_SEARCH).enableFeature(google.picker.Feature.NAV_HIDDEN); a.imageSearchPicker=b.setCallback(function(a){ImageDialog.filePicked(a)}).build()}a.imageSearchPicker.setVisible(!0)}),p.className="geBtn",b.appendChild(p),null!=a.drive&&"1"==urlParams.photos&&(p=mxUtils.button(mxResources.get("googlePlus"),function(){a.spinner.spin(document.body,mxResources.get("authorizing"))&&a.drive.checkToken(mxUtils.bind(this,function(){a.spinner.stop();if(null==a.photoPicker){var b=(new google.picker.PickerBuilder).setAppId(a.drive.appId).setLocale(mxLanguage).setOAuthToken(a.drive.token).addView(google.picker.ViewId.PHOTO_UPLOAD); a.photoPicker=b.setCallback(function(a){ImageDialog.filePicked(a)}).build()}a.photoPicker.setVisible(!0)}))}),p.className="geBtn",b.appendChild(p)));mxEvent.addListener(n,"keypress",function(a){13==a.keyCode&&f(n.value)});p=mxUtils.button(mxResources.get("apply"),function(){f(n.value)});p.className="geBtn gePrimaryBtn";b.appendChild(p);a.editor.cancelFirst||b.appendChild(c);Graph.fileSupport&&(b.style.marginTop="120px",m.style.backgroundImage="url('"+IMAGE_PATH+"/droptarget.png')",m.style.backgroundPosition= "center 65%",m.style.backgroundRepeat="no-repeat",c=document.createElement("div"),c.style.position="absolute",c.style.width="420px",c.style.top="58%",c.style.textAlign="center",c.style.fontSize="18px",c.style.color="#a0c3ff",mxUtils.write(c,mxResources.get("dragImagesHere")),m.appendChild(c));m.appendChild(b);this.container=m},LinkDialog=function(a,c,b,d,g){function e(a,b,c){c=mxUtils.button("",c);c.className="geBtn";c.setAttribute("title",b);b=document.createElement("img");b.style.height="26px"; b.style.width="26px";b.setAttribute("src",a);c.style.minWidth="42px";c.style.verticalAlign="middle";c.appendChild(b);z.appendChild(c)}var k=document.createElement("div");mxUtils.write(k,mxResources.get("editLink")+":");var m=document.createElement("div");m.className="geTitle";m.style.backgroundColor="transparent";m.style.borderColor="transparent";m.style.whiteSpace="nowrap";m.style.textOverflow="clip";m.style.cursor="default";mxClient.IS_VML||(m.style.paddingRight="20px");var n=document.createElement("input"); -n.setAttribute("placeholder",mxResources.get("dragUrlsHere"));n.setAttribute("type","text");n.style.marginTop="6px";n.style.width="100%";n.style.boxSizing="border-box";n.style.backgroundImage="url('"+Dialog.prototype.clearImage+"')";n.style.backgroundRepeat="no-repeat";n.style.backgroundPosition="100% 50%";n.style.paddingRight="14px";var q=document.createElement("div");q.setAttribute("title",mxResources.get("reset"));q.style.position="relative";q.style.left="-16px";q.style.width="12px";q.style.height= -"14px";q.style.cursor="pointer";q.style.display=mxClient.IS_VML?"inline":"inline-block";q.style.top=(mxClient.IS_VML?0:3)+"px";q.style.background="url('"+a.editor.transparentImage+"')";mxEvent.addListener(q,"click",function(){n.value="";n.focus()});var f=document.createElement("input");f.style.cssText="margin-right:8px;margin-bottom:8px;";f.setAttribute("value","url");f.setAttribute("type","radio");f.setAttribute("name","current-linkdialog");var l=document.createElement("input");l.style.cssText="margin-right:8px;margin-bottom:8px;"; -l.setAttribute("value","url");l.setAttribute("type","radio");l.setAttribute("name","current-linkdialog");var p=document.createElement("select");p.style.width="100%";if(g&&null!=a.pages){null!=c&&"data:page/id,"==c.substring(0,13)?(l.setAttribute("checked","checked"),l.defaultChecked=!0):(n.setAttribute("value",c),f.setAttribute("checked","checked"),f.defaultChecked=!0);m.appendChild(f);m.appendChild(n);m.appendChild(q);mxUtils.br(m);m.appendChild(l);g=!1;for(q=0;q<a.pages.length;q++){var u=document.createElement("option"); -mxUtils.write(u,a.pages[q].getName()||mxResources.get("pageWithNumber",[q+1]));u.setAttribute("value","data:page/id,"+a.pages[q].getId());c==u.getAttribute("value")&&(u.setAttribute("selected","selected"),g=!0);p.appendChild(u)}if(!g&&l.checked){var v=document.createElement("option");mxUtils.write(v,mxResources.get("pageNotFound"));v.setAttribute("disabled","disabled");v.setAttribute("selected","selected");v.setAttribute("value","pageNotFound");p.appendChild(v);mxEvent.addListener(p,"change",function(){null== -v.parentNode||v.selected||v.parentNode.removeChild(v)})}m.appendChild(p)}else n.setAttribute("value",c),m.appendChild(n),m.appendChild(q);k.appendChild(m);var t=mxUtils.button(b,function(){a.hideDialog();d(l.checked?"pageNotFound"!==p.value?p.value:c:n.value,LinkDialog.selectedDocs)});t.style.verticalAlign="middle";t.className="geBtn gePrimaryBtn";this.init=function(){l.checked?p.focus():(n.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?n.select():document.execCommand("selectAll", +n.setAttribute("placeholder",mxResources.get("dragUrlsHere"));n.setAttribute("type","text");n.style.marginTop="6px";n.style.width="100%";n.style.boxSizing="border-box";n.style.backgroundImage="url('"+Dialog.prototype.clearImage+"')";n.style.backgroundRepeat="no-repeat";n.style.backgroundPosition="100% 50%";n.style.paddingRight="14px";var t=document.createElement("div");t.setAttribute("title",mxResources.get("reset"));t.style.position="relative";t.style.left="-16px";t.style.width="12px";t.style.height= +"14px";t.style.cursor="pointer";t.style.display=mxClient.IS_VML?"inline":"inline-block";t.style.top=(mxClient.IS_VML?0:3)+"px";t.style.background="url('"+a.editor.transparentImage+"')";mxEvent.addListener(t,"click",function(){n.value="";n.focus()});var f=document.createElement("input");f.style.cssText="margin-right:8px;margin-bottom:8px;";f.setAttribute("value","url");f.setAttribute("type","radio");f.setAttribute("name","current-linkdialog");var l=document.createElement("input");l.style.cssText="margin-right:8px;margin-bottom:8px;"; +l.setAttribute("value","url");l.setAttribute("type","radio");l.setAttribute("name","current-linkdialog");var p=document.createElement("select");p.style.width="100%";if(g&&null!=a.pages){null!=c&&"data:page/id,"==c.substring(0,13)?(l.setAttribute("checked","checked"),l.defaultChecked=!0):(n.setAttribute("value",c),f.setAttribute("checked","checked"),f.defaultChecked=!0);m.appendChild(f);m.appendChild(n);m.appendChild(t);mxUtils.br(m);m.appendChild(l);g=!1;for(t=0;t<a.pages.length;t++){var u=document.createElement("option"); +mxUtils.write(u,a.pages[t].getName()||mxResources.get("pageWithNumber",[t+1]));u.setAttribute("value","data:page/id,"+a.pages[t].getId());c==u.getAttribute("value")&&(u.setAttribute("selected","selected"),g=!0);p.appendChild(u)}if(!g&&l.checked){var v=document.createElement("option");mxUtils.write(v,mxResources.get("pageNotFound"));v.setAttribute("disabled","disabled");v.setAttribute("selected","selected");v.setAttribute("value","pageNotFound");p.appendChild(v);mxEvent.addListener(p,"change",function(){null== +v.parentNode||v.selected||v.parentNode.removeChild(v)})}m.appendChild(p)}else n.setAttribute("value",c),m.appendChild(n),m.appendChild(t);k.appendChild(m);var q=mxUtils.button(b,function(){a.hideDialog();d(l.checked?"pageNotFound"!==p.value?p.value:c:n.value,LinkDialog.selectedDocs)});q.style.verticalAlign="middle";q.className="geBtn gePrimaryBtn";this.init=function(){l.checked?p.focus():(n.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?n.select():document.execCommand("selectAll", !1,null));mxEvent.addListener(p,"focus",function(){f.removeAttribute("checked");l.setAttribute("checked","checked");l.checked=!0});mxEvent.addListener(n,"focus",function(){l.removeAttribute("checked");f.setAttribute("checked","checked");f.checked=!0});if(Graph.fileSupport){var b=k.parentNode,c=null;mxEvent.addListener(b,"dragleave",function(a){null!=c&&(c.parentNode.removeChild(c),c=null);a.stopPropagation();a.preventDefault()});mxEvent.addListener(b,"dragover",mxUtils.bind(this,function(f){null== -c&&(!mxClient.IS_IE||10<document.documentMode)&&(c=a.highlightElement(b));f.stopPropagation();f.preventDefault()}));mxEvent.addListener(b,"drop",mxUtils.bind(this,function(a){null!=c&&(c.parentNode.removeChild(c),c=null);0<=mxUtils.indexOf(a.dataTransfer.types,"text/uri-list")&&(n.value=decodeURIComponent(a.dataTransfer.getData("text/uri-list")),f.setAttribute("checked","checked"),f.checked=!0,t.click());a.stopPropagation();a.preventDefault()}),!1)}};var z=document.createElement("div");z.style.marginTop= +c&&(!mxClient.IS_IE||10<document.documentMode)&&(c=a.highlightElement(b));f.stopPropagation();f.preventDefault()}));mxEvent.addListener(b,"drop",mxUtils.bind(this,function(a){null!=c&&(c.parentNode.removeChild(c),c=null);0<=mxUtils.indexOf(a.dataTransfer.types,"text/uri-list")&&(n.value=decodeURIComponent(a.dataTransfer.getData("text/uri-list")),f.setAttribute("checked","checked"),f.checked=!0,q.click());a.stopPropagation();a.preventDefault()}),!1)}};var z=document.createElement("div");z.style.marginTop= "20px";z.style.textAlign="center";b=mxUtils.button(mxResources.get("help"),function(){a.openLink("https://desk.draw.io/solution/articles/16000080137")});b.style.verticalAlign="middle";b.className="geBtn";z.appendChild(b);a.isOffline()&&!mxClient.IS_CHROMEAPP&&(b.style.display="none");b=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});b.style.verticalAlign="middle";b.className="geBtn";a.editor.cancelFirst&&z.appendChild(b);LinkDialog.selectedDocs=null;LinkDialog.filePicked=function(a){if(a.action== google.picker.Action.PICKED){LinkDialog.selectedDocs=a.docs;var b=a.docs[0].url;"application/mxe"==a.docs[0].mimeType||null!=a.docs[0].mimeType&&"application/vnd.jgraph."==a.docs[0].mimeType.substring(0,23)?b="https://www.draw.io/#G"+a.docs[0].id:"application/vnd.google-apps.folder"==a.docs[0].mimeType&&(b="https://drive.google.com/#folders/"+a.docs[0].id);n.value=b;n.focus()}else LinkDialog.selectedDocs=null;n.focus()};"undefined"!=typeof google&&"undefined"!=typeof google.picker&&null!=a.drive&& e(IMAGE_PATH+"/google-drive-logo.svg",mxResources.get("googlePlus"),function(){a.spinner.spin(document.body,mxResources.get("authorizing"))&&a.drive.checkToken(mxUtils.bind(this,function(){a.spinner.stop();if(null==a.linkPicker){var b=(new google.picker.DocsView(google.picker.ViewId.FOLDERS)).setParent("root").setIncludeFolders(!0).setSelectFolderEnabled(!0),c=(new google.picker.DocsView).setIncludeFolders(!0).setSelectFolderEnabled(!0),f=(new google.picker.DocsView).setIncludeFolders(!0).setEnableTeamDrives(!0).setSelectFolderEnabled(!0), b=(new google.picker.PickerBuilder).setAppId(a.drive.appId).setLocale(mxLanguage).setOAuthToken(a.drive.token).enableFeature(google.picker.Feature.SUPPORT_TEAM_DRIVES).addView(b).addView(c).addView(f).addView(google.picker.ViewId.RECENTLY_PICKED).addView(google.picker.ViewId.IMAGE_SEARCH).addView(google.picker.ViewId.VIDEO_SEARCH).addView(google.picker.ViewId.MAPS);"1"==urlParams.photos&&b.addView(google.picker.ViewId.PHOTO_UPLOAD);a.linkPicker=b.setCallback(function(a){LinkDialog.filePicked(a)}).build()}a.linkPicker.setVisible(!0)}))}); "undefined"!=typeof Dropbox&&"undefined"!=typeof Dropbox.choose&&e(IMAGE_PATH+"/dropbox-logo.svg",mxResources.get("dropbox"),function(){Dropbox.choose({linkType:"direct",cancel:function(){},success:function(a){n.value=a[0].link;n.focus()}})});null!=a.oneDrive&&e(IMAGE_PATH+"/onedrive-logo.svg",mxResources.get("oneDrive"),function(){a.oneDrive.pickFile(function(a,b){n.value=b.value[0].webUrl;n.focus()})});null!=a.gitHub&&e(IMAGE_PATH+"/github-logo.svg",mxResources.get("github"),function(){a.gitHub.pickFile(function(a){if(null!= a){a=a.split("/");var b=a[0],c=a[1],f=a[2];a=a.slice(3,a.length).join("/");n.value="https://github.com/"+b+"/"+c+"/blob/"+f+"/"+a;n.focus()}})});null!=a.gitLab&&e(IMAGE_PATH+"/gitlab-logo.svg",mxResources.get("gitlab"),function(){a.gitLab.pickFile(function(a){if(null!=a){a=a.split("/");var b=a[0],c=a[1],f=a[2];a=a.slice(3,a.length).join("/");n.value=DRAWIO_GITLAB_URL+"/"+b+"/"+c+"/blob/"+f+"/"+a;n.focus()}})});mxEvent.addListener(n,"keypress",function(b){13==b.keyCode&&(a.hideDialog(),d(l.checked? -p.value:n.value,LinkDialog.selectedDocs))});z.appendChild(t);a.editor.cancelFirst||z.appendChild(b);k.appendChild(z);this.container=k},AboutDialog=function(a){var c=document.createElement("div");c.style.marginTop="6px";c.setAttribute("align","center");var b=document.createElement("img");b.style.border="0px";mxClient.IS_SVG?(b.setAttribute("width","164"),b.setAttribute("height","221"),b.style.width="164px",b.style.height="221px",b.setAttribute("src",IMAGE_PATH+"/drawlogo-text-bottom.svg")):(b.setAttribute("width", +p.value:n.value,LinkDialog.selectedDocs))});z.appendChild(q);a.editor.cancelFirst||z.appendChild(b);k.appendChild(z);this.container=k},AboutDialog=function(a){var c=document.createElement("div");c.style.marginTop="6px";c.setAttribute("align","center");var b=document.createElement("img");b.style.border="0px";mxClient.IS_SVG?(b.setAttribute("width","164"),b.setAttribute("height","221"),b.style.width="164px",b.style.height="221px",b.setAttribute("src",IMAGE_PATH+"/drawlogo-text-bottom.svg")):(b.setAttribute("width", "176"),b.setAttribute("height","219"),b.style.width="170px",b.style.height="219px",b.setAttribute("src",IMAGE_PATH+"/logo-flat.png"));"dark"==uiTheme&&(b.style.filter="grayscale(100%) invert(100%)");c.appendChild(b);mxUtils.br(c);var b="dark"==uiTheme?"#cccccc":"#505050",d=document.createElement("small");d.innerHTML="v "+EditorUi.VERSION;d.style.color=b;c.appendChild(d);mxUtils.br(c);mxUtils.br(c);d=document.createElement("small");d.style.color=b;d.innerHTML='© 2005-2019 <a href="https://about.draw.io/" style="color:inherit;" target="_blank">JGraph Ltd</a>.<br>All Rights Reserved.'; c.appendChild(d);mxEvent.addListener(c,"click",function(b){"A"!=mxEvent.getSource(b).nodeName&&a.hideDialog()});this.container=c},FeedbackDialog=function(a){var c=document.createElement("div"),b=document.createElement("div");mxUtils.write(b,mxResources.get("sendYourFeedbackToDrawIo"));b.style.fontSize="18px";b.style.marginBottom="18px";c.appendChild(b);b=document.createElement("div");mxUtils.write(b,mxResources.get("yourEmailAddress")+" ("+mxResources.get("required")+")");c.appendChild(b);var d=document.createElement("input"); d.setAttribute("type","text");d.style.marginTop="6px";d.style.width="600px";var g=mxUtils.button(mxResources.get("sendMessage"),function(){var b=n.value+(k.checked?"\nDiagram:\n"+mxUtils.getXml(a.getXmlFileData()):"")+"\nBrowser:\n"+navigator.userAgent;b.length>FeedbackDialog.maxAttachmentSize?a.alert(mxResources.get("drawingTooLarge")):(a.hideDialog(),a.spinner.spin(document.body)&&mxUtils.post(null!=FeedbackDialog.feedbackUrl?FeedbackDialog.feedbackUrl:"/email","email="+encodeURIComponent(d.value)+ @@ -7984,38 +7974,38 @@ mxEvent.addListener(d,"change",function(){0<d.value.length&&0<e.test(d.value)?g. "14px";b.appendChild(k);var m=document.createElement("span");mxUtils.write(m," "+mxResources.get("includeCopyOfMyDiagram"));b.appendChild(m);mxEvent.addListener(m,"click",function(a){k.checked=!k.checked;mxEvent.consume(a)});c.appendChild(b);b=document.createElement("div");mxUtils.write(b,mxResources.get("feedback"));c.appendChild(b);var n=document.createElement("textarea");n.style.resize="none";n.style.width="600px";n.style.height="140px";n.style.marginTop="6px";n.setAttribute("placeholder",mxResources.get("comments")); c.appendChild(n);b=document.createElement("div");b.style.marginTop="26px";b.style.textAlign="right";m=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});m.className="geBtn";a.editor.cancelFirst?(b.appendChild(m),b.appendChild(g)):(b.appendChild(g),b.appendChild(m));c.appendChild(b);this.container=c};FeedbackDialog.maxAttachmentSize=1E6; var RevisionDialog=function(a,c,b){var d=document.createElement("div"),g=document.createElement("h3");g.style.marginTop="0px";mxUtils.write(g,mxResources.get("revisionHistory"));d.appendChild(g);var e=document.createElement("div");e.style.position="absolute";e.style.overflow="auto";e.style.width="170px";e.style.height="378px";d.appendChild(e);var k=document.createElement("div");k.style.position="absolute";k.style.border="1px solid lightGray";k.style.left="199px";k.style.width="470px";k.style.height= -"376px";k.style.overflow="hidden";mxEvent.disableContextMenu(k);d.appendChild(k);var m=new Graph(k);m.setTooltips(!1);m.setEnabled(!1);m.setPanning(!0);m.panningHandler.ignoreCell=!0;m.panningHandler.useLeftButtonForPanning=!0;m.minFitScale=null;m.maxFitScale=null;m.centerZoom=!0;var n=0,q=null,f=0,l=m.getGlobalVariable;m.getGlobalVariable=function(a){return"page"==a&&null!=q&&null!=q[f]?q[f].getAttribute("name"):"pagenumber"==a?f+1:"pagecount"==a?null!=q?q.length:1:l.apply(this,arguments)};m.getLinkForCell= -function(){return null};Editor.MathJaxRender&&m.addListener(mxEvent.SIZE,mxUtils.bind(this,function(b,c){a.editor.graph.mathEnabled&&Editor.MathJaxRender(m.container)}));var p=new Spinner({lines:11,length:15,width:6,radius:10,corners:1,rotate:0,direction:1,color:"#000",speed:1.4,trail:60,shadow:!1,hwaccel:!1,className:"spinner",zIndex:2E9,top:"50%",left:"50%"}),u=a.getCurrentFile(),v=null,t=null,z=null,y=null,C=mxUtils.button("",function(){null!=z&&m.zoomIn()});C.className="geSprite geSprite-zoomin"; -C.setAttribute("title",mxResources.get("zoomIn"));C.style.outline="none";C.style.border="none";C.style.margin="2px";C.setAttribute("disabled","disabled");mxUtils.setOpacity(C,20);var x=mxUtils.button("",function(){null!=z&&m.zoomOut()});x.className="geSprite geSprite-zoomout";x.setAttribute("title",mxResources.get("zoomOut"));x.style.outline="none";x.style.border="none";x.style.margin="2px";x.setAttribute("disabled","disabled");mxUtils.setOpacity(x,20);var B=mxUtils.button("",function(){null!=z&& -(m.maxFitScale=8,m.fit(8),m.center())});B.className="geSprite geSprite-fit";B.setAttribute("title",mxResources.get("fit"));B.style.outline="none";B.style.border="none";B.style.margin="2px";B.setAttribute("disabled","disabled");mxUtils.setOpacity(B,20);var E=mxUtils.button("",function(){null!=z&&(m.zoomActual(),m.center())});E.className="geSprite geSprite-actualsize";E.setAttribute("title",mxResources.get("actualSize"));E.style.outline="none";E.style.border="none";E.style.margin="2px";E.setAttribute("disabled", -"disabled");mxUtils.setOpacity(E,20);var A=document.createElement("div");A.style.position="absolute";A.style.textAlign="right";A.style.color="gray";A.style.marginTop="10px";A.style.backgroundColor="transparent";A.style.top="440px";A.style.right="32px";A.style.maxWidth="380px";A.style.cursor="default";var F=mxUtils.button(mxResources.get("download"),function(){if(null!=z){var b=mxUtils.getXml(z.documentElement),c=a.getBaseFilename()+".drawio";a.isLocalFileSave()?a.saveLocalFile(b,c,"text/xml"):(b= -"undefined"===typeof pako?"&xml="+encodeURIComponent(b):"&data="+encodeURIComponent(Graph.compress(b)),(new mxXmlRequest(SAVE_URL,"filename="+encodeURIComponent(c)+"&format=xml"+b)).simulate(document,"_blank"))}});F.className="geBtn";F.setAttribute("disabled","disabled");var D=mxUtils.button(mxResources.get("restore"),function(){null!=z&&null!=y&&a.confirm(mxResources.get("areYouSure"),function(){null!=b?b(y):a.spinner.spin(document.body,mxResources.get("restoring"))&&u.save(!0,function(b){a.spinner.stop(); -a.replaceFileData(y);a.hideDialog()},function(b){a.spinner.stop();a.editor.setStatus("");a.handleError(b,null!=b?mxResources.get("errorSavingFile"):null)})})});D.className="geBtn";D.setAttribute("disabled","disabled");var H=document.createElement("select");H.setAttribute("disabled","disabled");H.style.maxWidth="80px";H.style.position="relative";H.style.top="-2px";H.style.verticalAlign="bottom";H.style.marginRight="6px";H.style.display="none";var J=null;mxEvent.addListener(H,"change",function(a){null!= -J&&(J(a),mxEvent.consume(a))});var I=mxUtils.button(mxResources.get("edit"),function(){null!=z&&(window.openFile=new OpenFile(function(){window.openFile=null}),window.openFile.setData(mxUtils.getXml(z.documentElement)),a.openLink(a.getUrl(),null,!0))});I.className="geBtn";I.setAttribute("disabled","disabled");null!=b&&(I.style.display="none");var G=mxUtils.button(mxResources.get("show"),function(){null!=t&&a.openLink(t.getUrl(H.selectedIndex))});G.className="geBtn gePrimaryBtn";G.setAttribute("disabled", -"disabled");null!=b&&(G.style.display="none",D.className="geBtn gePrimaryBtn");g=document.createElement("div");g.style.position="absolute";g.style.top="482px";g.style.width="640px";g.style.textAlign="right";var K=document.createElement("div");K.className="geToolbarContainer";K.style.backgroundColor="transparent";K.style.padding="2px";K.style.border="none";K.style.left="199px";K.style.top="442px";var Q=null;if(null!=c&&0<c.length){k.style.cursor="move";var N=document.createElement("table");N.style.border= -"1px solid lightGray";N.style.borderCollapse="collapse";N.style.borderSpacing="0px";N.style.width="100%";var Y=document.createElement("tbody"),T=(new Date).toDateString();null!=a.currentPage&&null!=a.pages&&(n=mxUtils.indexOf(a.pages,a.currentPage));for(var L=c.length-1;0<=L;L--){var W=function(b){var l=new Date(b.modifiedDate),d=null;if(0<=l.getTime()){var e=function(c){p.stop();var e=mxUtils.parseXml(c),t=a.editor.extractGraphModel(e.documentElement,!0);if(null!=t){var g=function(a){null!=a&&(a= -v(mxUtils.parseXml(Graph.decompress(mxUtils.getTextContent(a))).documentElement));return a},v=function(a){var b=a.getAttribute("background");if(null==b||""==b||b==mxConstants.NONE)b="#ffffff";k.style.backgroundColor=b;(new mxCodec(a.ownerDocument)).decode(a,m.getModel());m.maxFitScale=1;m.fit(8);m.center();return a};H.style.display="none";H.innerHTML="";z=e;y=c;q=parseSelectFunction=null;f=0;if("mxfile"==t.nodeName){e=t.getElementsByTagName("diagram");q=[];for(c=0;c<e.length;c++)q.push(e[c]);f=Math.min(n, -q.length-1);0<q.length&&g(q[f]);if(1<q.length)for(H.removeAttribute("disabled"),H.style.display="",c=0;c<q.length;c++)e=document.createElement("option"),mxUtils.write(e,q[c].getAttribute("name")||mxResources.get("pageWithNumber",[c+1])),e.setAttribute("value",c),c==f&&e.setAttribute("selected","selected"),H.appendChild(e);J=function(){try{var b=parseInt(H.value);f=n=b;g(q[b])}catch(M){H.value=n,a.handleError(M)}}}else v(t);c=b.lastModifyingUserName;null!=c&&20<c.length&&(c=c.substring(0,20)+"..."); -A.innerHTML="";mxUtils.write(A,(null!=c?c+" ":"")+l.toLocaleDateString()+" "+l.toLocaleTimeString());A.setAttribute("title",d.getAttribute("title"));C.removeAttribute("disabled");x.removeAttribute("disabled");B.removeAttribute("disabled");E.removeAttribute("disabled");null!=u&&u.isRestricted()||(a.editor.graph.isEnabled()&&D.removeAttribute("disabled"),F.removeAttribute("disabled"),G.removeAttribute("disabled"),I.removeAttribute("disabled"));mxUtils.setOpacity(C,60);mxUtils.setOpacity(x,60);mxUtils.setOpacity(B, -60);mxUtils.setOpacity(E,60)}else H.style.display="none",H.innerHTML="",A.innerHTML="",mxUtils.write(A,mxResources.get("errorLoadingFile"))},d=document.createElement("tr");d.style.borderBottom="1px solid lightGray";d.style.fontSize="12px";d.style.cursor="pointer";var g=document.createElement("td");g.style.padding="6px";g.style.whiteSpace="nowrap";b==c[c.length-1]?mxUtils.write(g,mxResources.get("current")):l.toDateString()===T?mxUtils.write(g,l.toLocaleTimeString()):mxUtils.write(g,l.toLocaleDateString()+ -" "+l.toLocaleTimeString());d.appendChild(g);d.setAttribute("title",l.toLocaleDateString()+" "+l.toLocaleTimeString()+(null!=b.fileSize?" "+a.formatFileSize(parseInt(b.fileSize)):"")+(null!=b.lastModifyingUserName?" "+b.lastModifyingUserName:""));mxEvent.addListener(d,"click",function(a){t!=b&&(p.stop(),null!=v&&(v.style.backgroundColor=""),t=b,v=d,v.style.backgroundColor="#ebf2f9",y=z=null,A.removeAttribute("title"),A.innerHTML=mxUtils.htmlEntities(mxResources.get("loading")+"..."),k.style.backgroundColor= -"#ffffff",m.getModel().clear(),D.setAttribute("disabled","disabled"),F.setAttribute("disabled","disabled"),C.setAttribute("disabled","disabled"),x.setAttribute("disabled","disabled"),E.setAttribute("disabled","disabled"),B.setAttribute("disabled","disabled"),I.setAttribute("disabled","disabled"),G.setAttribute("disabled","disabled"),H.setAttribute("disabled","disabled"),mxUtils.setOpacity(C,20),mxUtils.setOpacity(x,20),mxUtils.setOpacity(B,20),mxUtils.setOpacity(E,20),p.spin(k),b.getXml(function(a){if(t== -b)try{e(a)}catch(Z){A.innerHTML=mxUtils.htmlEntities(mxResources.get("error")+": "+Z.message)}},function(a){p.stop();H.style.display="none";H.innerHTML="";A.innerHTML="";mxUtils.write(A,mxResources.get("errorLoadingFile"))}),mxEvent.consume(a))});mxEvent.addListener(d,"dblclick",function(a){G.click();window.getSelection?window.getSelection().removeAllRanges():document.selection&&document.selection.empty();mxEvent.consume(a)},!1);Y.appendChild(d)}return d}(c[L]);null!=W&&L==c.length-1&&(Q=W)}N.appendChild(Y); +"376px";k.style.overflow="hidden";mxEvent.disableContextMenu(k);d.appendChild(k);var m=new Graph(k);m.setTooltips(!1);m.setEnabled(!1);m.setPanning(!0);m.panningHandler.ignoreCell=!0;m.panningHandler.useLeftButtonForPanning=!0;m.minFitScale=null;m.maxFitScale=null;m.centerZoom=!0;var n=0,t=null,f=0,l=m.getGlobalVariable;m.getGlobalVariable=function(a){return"page"==a&&null!=t&&null!=t[f]?t[f].getAttribute("name"):"pagenumber"==a?f+1:"pagecount"==a?null!=t?t.length:1:l.apply(this,arguments)};m.getLinkForCell= +function(){return null};Editor.MathJaxRender&&m.addListener(mxEvent.SIZE,mxUtils.bind(this,function(b,c){a.editor.graph.mathEnabled&&Editor.MathJaxRender(m.container)}));var p=new Spinner({lines:11,length:15,width:6,radius:10,corners:1,rotate:0,direction:1,color:"#000",speed:1.4,trail:60,shadow:!1,hwaccel:!1,className:"spinner",zIndex:2E9,top:"50%",left:"50%"}),u=a.getCurrentFile(),v=null,q=null,z=null,y=null,C=mxUtils.button("",function(){null!=z&&m.zoomIn()});C.className="geSprite geSprite-zoomin"; +C.setAttribute("title",mxResources.get("zoomIn"));C.style.outline="none";C.style.border="none";C.style.margin="2px";C.setAttribute("disabled","disabled");mxUtils.setOpacity(C,20);var x=mxUtils.button("",function(){null!=z&&m.zoomOut()});x.className="geSprite geSprite-zoomout";x.setAttribute("title",mxResources.get("zoomOut"));x.style.outline="none";x.style.border="none";x.style.margin="2px";x.setAttribute("disabled","disabled");mxUtils.setOpacity(x,20);var A=mxUtils.button("",function(){null!=z&& +(m.maxFitScale=8,m.fit(8),m.center())});A.className="geSprite geSprite-fit";A.setAttribute("title",mxResources.get("fit"));A.style.outline="none";A.style.border="none";A.style.margin="2px";A.setAttribute("disabled","disabled");mxUtils.setOpacity(A,20);var F=mxUtils.button("",function(){null!=z&&(m.zoomActual(),m.center())});F.className="geSprite geSprite-actualsize";F.setAttribute("title",mxResources.get("actualSize"));F.style.outline="none";F.style.border="none";F.style.margin="2px";F.setAttribute("disabled", +"disabled");mxUtils.setOpacity(F,20);var B=document.createElement("div");B.style.position="absolute";B.style.textAlign="right";B.style.color="gray";B.style.marginTop="10px";B.style.backgroundColor="transparent";B.style.top="440px";B.style.right="32px";B.style.maxWidth="380px";B.style.cursor="default";var D=mxUtils.button(mxResources.get("download"),function(){if(null!=z){var b=mxUtils.getXml(z.documentElement),c=a.getBaseFilename()+".drawio";a.isLocalFileSave()?a.saveLocalFile(b,c,"text/xml"):(b= +"undefined"===typeof pako?"&xml="+encodeURIComponent(b):"&data="+encodeURIComponent(Graph.compress(b)),(new mxXmlRequest(SAVE_URL,"filename="+encodeURIComponent(c)+"&format=xml"+b)).simulate(document,"_blank"))}});D.className="geBtn";D.setAttribute("disabled","disabled");var G=mxUtils.button(mxResources.get("restore"),function(){null!=z&&null!=y&&a.confirm(mxResources.get("areYouSure"),function(){null!=b?b(y):a.spinner.spin(document.body,mxResources.get("restoring"))&&u.save(!0,function(b){a.spinner.stop(); +a.replaceFileData(y);a.hideDialog()},function(b){a.spinner.stop();a.editor.setStatus("");a.handleError(b,null!=b?mxResources.get("errorSavingFile"):null)})})});G.className="geBtn";G.setAttribute("disabled","disabled");var H=document.createElement("select");H.setAttribute("disabled","disabled");H.style.maxWidth="80px";H.style.position="relative";H.style.top="-2px";H.style.verticalAlign="bottom";H.style.marginRight="6px";H.style.display="none";var J=null;mxEvent.addListener(H,"change",function(a){null!= +J&&(J(a),mxEvent.consume(a))});var I=mxUtils.button(mxResources.get("edit"),function(){null!=z&&(window.openFile=new OpenFile(function(){window.openFile=null}),window.openFile.setData(mxUtils.getXml(z.documentElement)),a.openLink(a.getUrl(),null,!0))});I.className="geBtn";I.setAttribute("disabled","disabled");null!=b&&(I.style.display="none");var E=mxUtils.button(mxResources.get("show"),function(){null!=q&&a.openLink(q.getUrl(H.selectedIndex))});E.className="geBtn gePrimaryBtn";E.setAttribute("disabled", +"disabled");null!=b&&(E.style.display="none",G.className="geBtn gePrimaryBtn");g=document.createElement("div");g.style.position="absolute";g.style.top="482px";g.style.width="640px";g.style.textAlign="right";var K=document.createElement("div");K.className="geToolbarContainer";K.style.backgroundColor="transparent";K.style.padding="2px";K.style.border="none";K.style.left="199px";K.style.top="442px";var Q=null;if(null!=c&&0<c.length){k.style.cursor="move";var N=document.createElement("table");N.style.border= +"1px solid lightGray";N.style.borderCollapse="collapse";N.style.borderSpacing="0px";N.style.width="100%";var Y=document.createElement("tbody"),T=(new Date).toDateString();null!=a.currentPage&&null!=a.pages&&(n=mxUtils.indexOf(a.pages,a.currentPage));for(var L=c.length-1;0<=L;L--){var W=function(b){var l=new Date(b.modifiedDate),d=null;if(0<=l.getTime()){var e=function(c){p.stop();var e=mxUtils.parseXml(c),q=a.editor.extractGraphModel(e.documentElement,!0);if(null!=q){var g=function(a){null!=a&&(a= +v(mxUtils.parseXml(Graph.decompress(mxUtils.getTextContent(a))).documentElement));return a},v=function(a){var b=a.getAttribute("background");if(null==b||""==b||b==mxConstants.NONE)b="#ffffff";k.style.backgroundColor=b;(new mxCodec(a.ownerDocument)).decode(a,m.getModel());m.maxFitScale=1;m.fit(8);m.center();return a};H.style.display="none";H.innerHTML="";z=e;y=c;t=parseSelectFunction=null;f=0;if("mxfile"==q.nodeName){e=q.getElementsByTagName("diagram");t=[];for(c=0;c<e.length;c++)t.push(e[c]);f=Math.min(n, +t.length-1);0<t.length&&g(t[f]);if(1<t.length)for(H.removeAttribute("disabled"),H.style.display="",c=0;c<t.length;c++)e=document.createElement("option"),mxUtils.write(e,t[c].getAttribute("name")||mxResources.get("pageWithNumber",[c+1])),e.setAttribute("value",c),c==f&&e.setAttribute("selected","selected"),H.appendChild(e);J=function(){try{var b=parseInt(H.value);f=n=b;g(t[b])}catch(M){H.value=n,a.handleError(M)}}}else v(q);c=b.lastModifyingUserName;null!=c&&20<c.length&&(c=c.substring(0,20)+"..."); +B.innerHTML="";mxUtils.write(B,(null!=c?c+" ":"")+l.toLocaleDateString()+" "+l.toLocaleTimeString());B.setAttribute("title",d.getAttribute("title"));C.removeAttribute("disabled");x.removeAttribute("disabled");A.removeAttribute("disabled");F.removeAttribute("disabled");null!=u&&u.isRestricted()||(a.editor.graph.isEnabled()&&G.removeAttribute("disabled"),D.removeAttribute("disabled"),E.removeAttribute("disabled"),I.removeAttribute("disabled"));mxUtils.setOpacity(C,60);mxUtils.setOpacity(x,60);mxUtils.setOpacity(A, +60);mxUtils.setOpacity(F,60)}else H.style.display="none",H.innerHTML="",B.innerHTML="",mxUtils.write(B,mxResources.get("errorLoadingFile"))},d=document.createElement("tr");d.style.borderBottom="1px solid lightGray";d.style.fontSize="12px";d.style.cursor="pointer";var g=document.createElement("td");g.style.padding="6px";g.style.whiteSpace="nowrap";b==c[c.length-1]?mxUtils.write(g,mxResources.get("current")):l.toDateString()===T?mxUtils.write(g,l.toLocaleTimeString()):mxUtils.write(g,l.toLocaleDateString()+ +" "+l.toLocaleTimeString());d.appendChild(g);d.setAttribute("title",l.toLocaleDateString()+" "+l.toLocaleTimeString()+(null!=b.fileSize?" "+a.formatFileSize(parseInt(b.fileSize)):"")+(null!=b.lastModifyingUserName?" "+b.lastModifyingUserName:""));mxEvent.addListener(d,"click",function(a){q!=b&&(p.stop(),null!=v&&(v.style.backgroundColor=""),q=b,v=d,v.style.backgroundColor="#ebf2f9",y=z=null,B.removeAttribute("title"),B.innerHTML=mxUtils.htmlEntities(mxResources.get("loading")+"..."),k.style.backgroundColor= +"#ffffff",m.getModel().clear(),G.setAttribute("disabled","disabled"),D.setAttribute("disabled","disabled"),C.setAttribute("disabled","disabled"),x.setAttribute("disabled","disabled"),F.setAttribute("disabled","disabled"),A.setAttribute("disabled","disabled"),I.setAttribute("disabled","disabled"),E.setAttribute("disabled","disabled"),H.setAttribute("disabled","disabled"),mxUtils.setOpacity(C,20),mxUtils.setOpacity(x,20),mxUtils.setOpacity(A,20),mxUtils.setOpacity(F,20),p.spin(k),b.getXml(function(a){if(q== +b)try{e(a)}catch(Z){B.innerHTML=mxUtils.htmlEntities(mxResources.get("error")+": "+Z.message)}},function(a){p.stop();H.style.display="none";H.innerHTML="";B.innerHTML="";mxUtils.write(B,mxResources.get("errorLoadingFile"))}),mxEvent.consume(a))});mxEvent.addListener(d,"dblclick",function(a){E.click();window.getSelection?window.getSelection().removeAllRanges():document.selection&&document.selection.empty();mxEvent.consume(a)},!1);Y.appendChild(d)}return d}(c[L]);null!=W&&L==c.length-1&&(Q=W)}N.appendChild(Y); e.appendChild(N)}else null==u||null==a.drive&&u.constructor==window.DriveFile||null==a.dropbox&&u.constructor==window.DropboxFile?(k.style.display="none",K.style.display="none",mxUtils.write(e,mxResources.get("notAvailable"))):(k.style.display="none",K.style.display="none",mxUtils.write(e,mxResources.get("noRevisions")));this.init=function(){null!=Q&&Q.click()};e=mxUtils.button(mxResources.get("close"),function(){a.hideDialog()});e.className="geBtn";K.appendChild(H);K.appendChild(C);K.appendChild(x); -K.appendChild(E);K.appendChild(B);a.editor.cancelFirst?(g.appendChild(e),g.appendChild(F),g.appendChild(I),g.appendChild(D),g.appendChild(G)):(g.appendChild(F),g.appendChild(I),g.appendChild(D),g.appendChild(G),g.appendChild(e));d.appendChild(g);d.appendChild(K);d.appendChild(A);this.container=d},DraftDialog=function(a,c,b,d,g,e,k,m){var n=document.createElement("div"),q=document.createElement("div");q.style.marginTop="0px";q.style.whiteSpace="nowrap";q.style.overflow="auto";mxUtils.write(q,c);n.appendChild(q); +K.appendChild(F);K.appendChild(A);a.editor.cancelFirst?(g.appendChild(e),g.appendChild(D),g.appendChild(I),g.appendChild(G),g.appendChild(E)):(g.appendChild(D),g.appendChild(I),g.appendChild(G),g.appendChild(E),g.appendChild(e));d.appendChild(g);d.appendChild(K);d.appendChild(B);this.container=d},DraftDialog=function(a,c,b,d,g,e,k,m){var n=document.createElement("div"),t=document.createElement("div");t.style.marginTop="0px";t.style.whiteSpace="nowrap";t.style.overflow="auto";mxUtils.write(t,c);n.appendChild(t); var f=document.createElement("div");f.style.position="absolute";f.style.border="1px solid lightGray";f.style.marginTop="10px";f.style.width="640px";f.style.top="46px";f.style.bottom="74px";f.style.overflow="hidden";mxEvent.disableContextMenu(f);n.appendChild(f);var l=new Graph(f);l.setEnabled(!1);l.setPanning(!0);l.panningHandler.ignoreCell=!0;l.panningHandler.useLeftButtonForPanning=!0;l.minFitScale=null;l.maxFitScale=null;l.centerZoom=!0;c=mxUtils.parseXml(b);var p=a.editor.extractGraphModel(c.documentElement, -!0),u=0,v=null,t=l.getGlobalVariable;l.getGlobalVariable=function(a){return"page"==a&&null!=v&&null!=v[u]?v[u].getAttribute("name"):"pagenumber"==a?u+1:"pagecount"==a?null!=v?v.length:1:t.apply(this,arguments)};l.getLinkForCell=function(){return null};c=mxUtils.button("",function(){l.zoomIn()});c.className="geSprite geSprite-zoomin";c.setAttribute("title",mxResources.get("zoomIn"));c.style.outline="none";c.style.border="none";c.style.margin="2px";mxUtils.setOpacity(c,60);b=mxUtils.button("",function(){l.zoomOut()}); -b.className="geSprite geSprite-zoomout";b.setAttribute("title",mxResources.get("zoomOut"));b.style.outline="none";b.style.border="none";b.style.margin="2px";mxUtils.setOpacity(b,60);q=mxUtils.button("",function(){l.maxFitScale=8;l.fit(8);l.center()});q.className="geSprite geSprite-fit";q.setAttribute("title",mxResources.get("fit"));q.style.outline="none";q.style.border="none";q.style.margin="2px";mxUtils.setOpacity(q,60);var z=mxUtils.button("",function(){l.zoomActual();l.center()});z.className="geSprite geSprite-actualsize"; +!0),u=0,v=null,q=l.getGlobalVariable;l.getGlobalVariable=function(a){return"page"==a&&null!=v&&null!=v[u]?v[u].getAttribute("name"):"pagenumber"==a?u+1:"pagecount"==a?null!=v?v.length:1:q.apply(this,arguments)};l.getLinkForCell=function(){return null};c=mxUtils.button("",function(){l.zoomIn()});c.className="geSprite geSprite-zoomin";c.setAttribute("title",mxResources.get("zoomIn"));c.style.outline="none";c.style.border="none";c.style.margin="2px";mxUtils.setOpacity(c,60);b=mxUtils.button("",function(){l.zoomOut()}); +b.className="geSprite geSprite-zoomout";b.setAttribute("title",mxResources.get("zoomOut"));b.style.outline="none";b.style.border="none";b.style.margin="2px";mxUtils.setOpacity(b,60);t=mxUtils.button("",function(){l.maxFitScale=8;l.fit(8);l.center()});t.className="geSprite geSprite-fit";t.setAttribute("title",mxResources.get("fit"));t.style.outline="none";t.style.border="none";t.style.margin="2px";mxUtils.setOpacity(t,60);var z=mxUtils.button("",function(){l.zoomActual();l.center()});z.className="geSprite geSprite-actualsize"; z.setAttribute("title",mxResources.get("actualSize"));z.style.outline="none";z.style.border="none";z.style.margin="2px";mxUtils.setOpacity(z,60);g=mxUtils.button(k||mxResources.get("discard"),g);g.className="geBtn";var y=document.createElement("select");y.style.maxWidth="80px";y.style.position="relative";y.style.top="-2px";y.style.verticalAlign="bottom";y.style.marginRight="6px";y.style.display="none";d=mxUtils.button(e||mxResources.get("edit"),d);d.className="geBtn gePrimaryBtn";e=document.createElement("div"); e.style.position="absolute";e.style.bottom="30px";e.style.width="640px";e.style.textAlign="right";k=document.createElement("div");k.className="geToolbarContainer";k.style.cssText="box-shadow:none !important;background-color:transparent;padding:2px;border-style:none !important;bottom:30px;";this.init=function(){function a(a){if(null!=a){var b=a.getAttribute("background");if(null==b||""==b||b==mxConstants.NONE)b="#ffffff";f.style.backgroundColor=b;(new mxCodec(a.ownerDocument)).decode(a,l.getModel()); l.maxFitScale=1;l.fit(8);l.center()}}function b(b){null!=b&&(b=a(mxUtils.parseXml(Graph.decompress(mxUtils.getTextContent(b))).documentElement));return b}mxEvent.addListener(y,"change",function(a){u=parseInt(y.value);b(v[u]);mxEvent.consume(a)});if("mxfile"==p.nodeName){var c=p.getElementsByTagName("diagram");v=[];for(var d=0;d<c.length;d++)v.push(c[d]);0<v.length&&b(v[u]);if(1<v.length)for(y.style.display="",d=0;d<v.length;d++)c=document.createElement("option"),mxUtils.write(c,v[d].getAttribute("name")|| -mxResources.get("pageWithNumber",[d+1])),c.setAttribute("value",d),d==u&&c.setAttribute("selected","selected"),y.appendChild(c)}else a(p)};k.appendChild(y);k.appendChild(c);k.appendChild(b);k.appendChild(z);k.appendChild(q);c=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog(!0)});c.className="geBtn";m=null!=m?mxUtils.button(mxResources.get("ignore"),m):null;null!=m&&(m.className="geBtn");a.editor.cancelFirst?(e.appendChild(c),null!=m&&e.appendChild(m),e.appendChild(g),e.appendChild(d)): +mxResources.get("pageWithNumber",[d+1])),c.setAttribute("value",d),d==u&&c.setAttribute("selected","selected"),y.appendChild(c)}else a(p)};k.appendChild(y);k.appendChild(c);k.appendChild(b);k.appendChild(z);k.appendChild(t);c=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog(!0)});c.className="geBtn";m=null!=m?mxUtils.button(mxResources.get("ignore"),m):null;null!=m&&(m.className="geBtn");a.editor.cancelFirst?(e.appendChild(c),null!=m&&e.appendChild(m),e.appendChild(g),e.appendChild(d)): (e.appendChild(d),e.appendChild(g),null!=m&&e.appendChild(m),e.appendChild(c));n.appendChild(e);n.appendChild(k);this.container=n},FindWindow=function(a,c,b,d,g){function e(a,b,c){if("object"===typeof b.value&&null!=b.value.attributes){b=b.value.attributes;for(var f=0;f<b.length;f++)if("label"!=b[f].nodeName){var l=mxUtils.trim(b[f].nodeValue.replace(/[\x00-\x1F\x7F-\x9F]|\s+/g," ")).toLowerCase();if(null==a&&l.substring(0,c.length)===c||null!=a&&a.test(l))return!0}}return!1}function k(){var a=n.model.getDescendants(n.model.getRoot()), -b=p.value.toLowerCase(),c=u.checked?new RegExp(b):null,l=null;q!=b&&(q=b,f=null);var d=null==f;if(0<b.length)for(var k=0;k<a.length;k++){var g=n.view.getState(a[k]);if(null!=g&&null!=g.cell.value&&(d||null==l)&&(n.model.isVertex(g.cell)||n.model.isEdge(g.cell))&&(n.isHtmlLabel(g.cell)?(t.innerHTML=n.getLabel(g.cell),label=mxUtils.extractTextWithWhitespace([t])):label=n.getLabel(g.cell),label=mxUtils.trim(label.replace(/[\x00-\x1F\x7F-\x9F]|\s+/g," ")).toLowerCase(),null==c&&(label.substring(0,b.length)=== -b||e(c,g.cell,b))||null!=c&&(c.test(label)||e(c,g.cell,b))))if(d){l=g;break}else null==l&&(l=g);d=d||g==f}null!=l?(f=l,n.scrollCellToVisible(f.cell),n.isEnabled()?n.setSelectionCell(f.cell):n.highlightCell(f.cell)):n.isEnabled()&&n.clearSelection();return 0==b.length||null!=l}var m=a.actions.get("find"),n=a.editor.graph,q=null,f=null,l=document.createElement("div");l.style.userSelect="none";l.style.overflow="hidden";l.style.padding="10px";l.style.height="100%";var p=document.createElement("input"); +b=p.value.toLowerCase(),c=u.checked?new RegExp(b):null,l=null;t!=b&&(t=b,f=null);var d=null==f;if(0<b.length)for(var k=0;k<a.length;k++){var g=n.view.getState(a[k]);if(null!=g&&null!=g.cell.value&&(d||null==l)&&(n.model.isVertex(g.cell)||n.model.isEdge(g.cell))&&(n.isHtmlLabel(g.cell)?(q.innerHTML=n.getLabel(g.cell),label=mxUtils.extractTextWithWhitespace([q])):label=n.getLabel(g.cell),label=mxUtils.trim(label.replace(/[\x00-\x1F\x7F-\x9F]|\s+/g," ")).toLowerCase(),null==c&&(label.substring(0,b.length)=== +b||e(c,g.cell,b))||null!=c&&(c.test(label)||e(c,g.cell,b))))if(d){l=g;break}else null==l&&(l=g);d=d||g==f}null!=l?(f=l,n.scrollCellToVisible(f.cell),n.isEnabled()?n.setSelectionCell(f.cell):n.highlightCell(f.cell)):n.isEnabled()&&n.clearSelection();return 0==b.length||null!=l}var m=a.actions.get("find"),n=a.editor.graph,t=null,f=null,l=document.createElement("div");l.style.userSelect="none";l.style.overflow="hidden";l.style.padding="10px";l.style.height="100%";var p=document.createElement("input"); p.setAttribute("placeholder",mxResources.get("find"));p.setAttribute("type","text");p.style.marginTop="4px";p.style.marginBottom="6px";p.style.width="200px";p.style.fontSize="12px";p.style.borderRadius="4px";p.style.padding="6px";l.appendChild(p);mxUtils.br(l);var u=document.createElement("input");u.setAttribute("type","checkbox");u.style.marginRight="4px";l.appendChild(u);mxUtils.write(l,mxResources.get("regularExpression"));var v=a.menus.createHelpLink("https://desk.draw.io/support/solutions/articles/16000088250"); -v.style.position="relative";v.style.marginLeft="6px";v.style.top="-1px";l.appendChild(v);var t=document.createElement("div");mxUtils.br(l);v=mxUtils.button(mxResources.get("reset"),function(){p.value="";p.style.backgroundColor="";q=f=null;p.focus()});v.setAttribute("title",mxResources.get("reset"));v.style.marginTop="6px";v.style.marginRight="4px";v.className="geBtn";l.appendChild(v);v=mxUtils.button(mxResources.get("find"),function(){try{p.style.backgroundColor=k()?"":"#ffcfcf"}catch(y){a.handleError(y)}}); -v.setAttribute("title",mxResources.get("find")+" (Enter)");v.style.marginTop="6px";v.className="geBtn gePrimaryBtn";l.appendChild(v);mxEvent.addListener(p,"keyup",function(a){if(91==a.keyCode||17==a.keyCode)mxEvent.consume(a);else if(27==a.keyCode)m.funct();else if(q!=p.value.toLowerCase()||13==a.keyCode)try{p.style.backgroundColor=k()?"":"#ffcfcf"}catch(C){p.style.backgroundColor="#ffcfcf"}});mxEvent.addListener(l,"keydown",function(b){70==b.keyCode&&a.keyHandler.isControlDown(b)&&!mxEvent.isShiftDown(b)&& +v.style.position="relative";v.style.marginLeft="6px";v.style.top="-1px";l.appendChild(v);var q=document.createElement("div");mxUtils.br(l);v=mxUtils.button(mxResources.get("reset"),function(){p.value="";p.style.backgroundColor="";t=f=null;p.focus()});v.setAttribute("title",mxResources.get("reset"));v.style.marginTop="6px";v.style.marginRight="4px";v.className="geBtn";l.appendChild(v);v=mxUtils.button(mxResources.get("find"),function(){try{p.style.backgroundColor=k()?"":"#ffcfcf"}catch(y){a.handleError(y)}}); +v.setAttribute("title",mxResources.get("find")+" (Enter)");v.style.marginTop="6px";v.className="geBtn gePrimaryBtn";l.appendChild(v);mxEvent.addListener(p,"keyup",function(a){if(91==a.keyCode||17==a.keyCode)mxEvent.consume(a);else if(27==a.keyCode)m.funct();else if(t!=p.value.toLowerCase()||13==a.keyCode)try{p.style.backgroundColor=k()?"":"#ffcfcf"}catch(C){p.style.backgroundColor="#ffcfcf"}});mxEvent.addListener(l,"keydown",function(b){70==b.keyCode&&a.keyHandler.isControlDown(b)&&!mxEvent.isShiftDown(b)&& (m.funct(),mxEvent.consume(b))});this.window=new mxWindow(mxResources.get("find"),l,c,b,d,g,!0,!0);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!1);this.window.setClosable(!0);this.window.addListener("show",mxUtils.bind(this,function(){this.window.fit();this.window.isVisible()?(p.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?p.select():document.execCommand("selectAll",!1,null)):n.container.focus()}));this.window.setLocation= function(a,b){var c=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight;a=Math.max(0,Math.min(a,(window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth)-this.table.clientWidth));b=Math.max(0,Math.min(b,c-this.table.clientHeight-48));this.getX()==a&&this.getY()==b||mxWindow.prototype.setLocation.apply(this,arguments)};var z=mxUtils.bind(this,function(){var a=this.window.getX(),b=this.window.getY();this.window.setLocation(a,b)});mxEvent.addListener(window, "resize",z);this.destroy=function(){mxEvent.removeListener(window,"resize",z);this.window.destroy()}},FreehandWindow=function(a,c,b,d,g){var e=a.editor.graph;a=document.createElement("div");a.style.userSelect="none";a.style.overflow="hidden";a.style.height="100%";var k=mxUtils.button(mxResources.get("startDrawing"),function(){e.freehand.isDrawing()&&e.freehand.stopDrawing();e.freehand.startDrawing()});k.setAttribute("title",mxResources.get("startDrawing"));k.style.marginTop="8px";k.style.marginRight= @@ -8023,73 +8013,73 @@ function(a,b){var c=window.innerHeight||document.body.clientHeight||document.doc this.window.setResizable(!1);this.window.setClosable(!0);e.addListener("freehandStateChanged",mxUtils.bind(this,function(){m.className="geBtn"+(e.freehand.isDrawing()?" gePrimaryBtn":"")}));this.window.addListener("show",mxUtils.bind(this,function(){this.window.fit()}));this.window.addListener("hide",mxUtils.bind(this,function(){e.freehand.isDrawing()&&e.freehand.stopDrawing()}));this.window.setLocation=function(a,b){var c=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight; a=Math.max(0,Math.min(a,(window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth)-this.table.clientWidth));b=Math.max(0,Math.min(b,c-this.table.clientHeight-48));this.getX()==a&&this.getY()==b||mxWindow.prototype.setLocation.apply(this,arguments)};var n=mxUtils.bind(this,function(){var a=this.window.getX(),b=this.window.getY();this.window.setLocation(a,b)});mxEvent.addListener(window,"resize",n);this.destroy=function(){mxEvent.removeListener(window,"resize",n);this.window.destroy()}}, TagsWindow=function(a,c,b,d,g){var e=a.editor.graph,k="tags",m=document.createElement("div");m.style.userSelect="none";m.style.overflow="hidden";m.style.padding="10px";m.style.height="100%";var n=document.createElement("input");n.setAttribute("placeholder",mxResources.get("allTags"));n.setAttribute("type","text");n.style.marginTop="4px";n.style.width="260px";n.style.fontSize="12px";n.style.borderRadius="4px";n.style.padding="6px";m.appendChild(n);if(!a.isOffline()||mxClient.IS_CHROMEAPP){n.style.width= -"240px";var q=a.menus.createHelpLink("https://desk.draw.io/support/solutions/articles/16000046966");q.firstChild.style.marginBottom="6px";q.style.marginLeft="6px";m.appendChild(q)}mxEvent.addListener(n,"dblclick",function(){var b=new FilenameDialog(a,k,mxResources.get("ok"),mxUtils.bind(this,function(a){null!=a&&0<a.length&&(k=a)}),mxResources.get("enterPropertyName"));a.showDialog(b.container,300,80,!0,!0);b.init()});n.setAttribute("title",mxResources.get("doubleClickChangeProperty"));mxUtils.br(m); -q=mxUtils.button(mxResources.get("hide"),function(){var a=e.getCellsForTags(n.value.split(" "),void 0,k,!0);e.setCellsVisible(a,!1)});q.setAttribute("title",mxResources.get("hide"));q.style.marginTop="8px";q.style.marginRight="4px";q.className="geBtn";m.appendChild(q);q=mxUtils.button(mxResources.get("show"),function(){var a=e.getCellsForTags(n.value.split(" "),void 0,k,!0);e.setCellsVisible(a,!0);if(e.isEnabled()){for(var b=[],c=0;c<a.length;c++)(e.model.isVertex(a[c])||e.model.isEdge(a[c]))&&b.push(a[c]); -e.setSelectionCells(b)}else for(c=0;c<a.length;c++)e.highlightCell(a[c])});q.setAttribute("title",mxResources.get("show"));q.style.marginTop="8px";q.style.marginRight="4px";q.className="geBtn";m.appendChild(q);var f=a.actions.get("tags"),q=mxUtils.button(mxResources.get("close"),function(){f.funct()});q.setAttribute("title",mxResources.get("close")+" (Enter/Esc)");q.style.marginTop="8px";q.className="geBtn gePrimaryBtn";m.appendChild(q);mxEvent.addListener(n,"keyup",function(a){13!=a.keyCode&&27!= +"240px";var t=a.menus.createHelpLink("https://desk.draw.io/support/solutions/articles/16000046966");t.firstChild.style.marginBottom="6px";t.style.marginLeft="6px";m.appendChild(t)}mxEvent.addListener(n,"dblclick",function(){var b=new FilenameDialog(a,k,mxResources.get("ok"),mxUtils.bind(this,function(a){null!=a&&0<a.length&&(k=a)}),mxResources.get("enterPropertyName"));a.showDialog(b.container,300,80,!0,!0);b.init()});n.setAttribute("title",mxResources.get("doubleClickChangeProperty"));mxUtils.br(m); +t=mxUtils.button(mxResources.get("hide"),function(){var a=e.getCellsForTags(n.value.split(" "),void 0,k,!0);e.setCellsVisible(a,!1)});t.setAttribute("title",mxResources.get("hide"));t.style.marginTop="8px";t.style.marginRight="4px";t.className="geBtn";m.appendChild(t);t=mxUtils.button(mxResources.get("show"),function(){var a=e.getCellsForTags(n.value.split(" "),void 0,k,!0);e.setCellsVisible(a,!0);if(e.isEnabled()){for(var b=[],c=0;c<a.length;c++)(e.model.isVertex(a[c])||e.model.isEdge(a[c]))&&b.push(a[c]); +e.setSelectionCells(b)}else for(c=0;c<a.length;c++)e.highlightCell(a[c])});t.setAttribute("title",mxResources.get("show"));t.style.marginTop="8px";t.style.marginRight="4px";t.className="geBtn";m.appendChild(t);var f=a.actions.get("tags"),t=mxUtils.button(mxResources.get("close"),function(){f.funct()});t.setAttribute("title",mxResources.get("close")+" (Enter/Esc)");t.style.marginTop="8px";t.className="geBtn gePrimaryBtn";m.appendChild(t);mxEvent.addListener(n,"keyup",function(a){13!=a.keyCode&&27!= a.keyCode||f.funct()});this.window=new mxWindow(mxResources.get("tags"),m,c,b,d,g,!0,!0);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!1);this.window.setClosable(!0);this.window.addListener("show",mxUtils.bind(this,function(){this.window.fit();this.window.isVisible()?(n.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?n.select():document.execCommand("selectAll",!1,null)):e.container.focus()}));this.window.setLocation=function(a, b){var c=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight;a=Math.max(0,Math.min(a,(window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth)-this.table.clientWidth));b=Math.max(0,Math.min(b,c-this.table.clientHeight-48));this.getX()==a&&this.getY()==b||mxWindow.prototype.setLocation.apply(this,arguments)};var l=mxUtils.bind(this,function(){var a=this.window.getX(),b=this.window.getY();this.window.setLocation(a,b)});mxEvent.addListener(window, "resize",l);this.destroy=function(){mxEvent.removeListener(window,"resize",l);this.window.destroy()}},AuthDialog=function(a,c,b,d){var g=document.createElement("div");g.style.textAlign="center";var e=document.createElement("p");e.style.fontSize="16pt";e.style.padding="0px";e.style.margin="0px";e.style.color="gray";mxUtils.write(e,mxResources.get("authorizationRequired"));var k="Unknown",m=document.createElement("img");m.setAttribute("border","0");m.setAttribute("align","absmiddle");m.style.marginRight= "10px";c==a.drive?(k=mxResources.get("googleDrive"),m.src=IMAGE_PATH+"/google-drive-logo-white.svg"):c==a.dropbox?(k=mxResources.get("dropbox"),m.src=IMAGE_PATH+"/dropbox-logo-white.svg"):c==a.oneDrive?(k=mxResources.get("oneDrive"),m.src=IMAGE_PATH+"/onedrive-logo-white.svg"):c==a.gitHub?(k=mxResources.get("github"),m.src=IMAGE_PATH+"/github-logo-white.svg"):c==a.gitLab?(k=mxResources.get("gitlab"),m.src=IMAGE_PATH+"/gitlab-logo.svg",m.style.width="32px"):c==a.trello&&(k=mxResources.get("trello"), m.src=IMAGE_PATH+"/trello-logo-white.svg");a=document.createElement("p");mxUtils.write(a,mxResources.get("authorizeThisAppIn",[k]));var n=document.createElement("input");n.setAttribute("type","checkbox");k=mxUtils.button(mxResources.get("authorize"),function(){d(n.checked)});k.insertBefore(m,k.firstChild);k.style.marginTop="6px";k.className="geBigButton";k.style.fontSize="18px";k.style.padding="14px";g.appendChild(e);g.appendChild(a);g.appendChild(k);b&&(b=document.createElement("p"),b.style.marginTop= "20px",b.appendChild(n),e=document.createElement("span"),mxUtils.write(e," "+mxResources.get("rememberMe")),b.appendChild(e),g.appendChild(b),n.checked=!0,n.defaultChecked=!0,mxEvent.addListener(e,"click",function(a){n.checked=!n.checked;mxEvent.consume(a)}));this.container=g},MoreShapesDialog=function(a,c,b){b=null!=b?b:a.sidebar.entries;var d=document.createElement("div"),g=[];if(null!=a.sidebar.customEntries)for(var e=0;e<a.sidebar.customEntries.length;e++){for(var k=a.sidebar.customEntries[e], -m={title:a.getResource(k.title),entries:[]},n=0;n<k.entries.length;n++){var q=k.entries[n];m.entries.push({id:q.id,title:a.getResource(q.title),desc:a.getResource(q.desc),image:q.preview})}g.push(m)}for(e=0;e<b.length;e++)if(null==a.sidebar.enabledLibraries)g.push(b[e]);else{m={title:b[e].title,entries:[]};for(n=0;n<b[e].entries.length;n++)0<=mxUtils.indexOf(a.sidebar.enabledLibraries,b[e].entries[n].id)&&m.entries.push(b[e].entries[n]);0<m.entries.length&&g.push(m)}b=g;if(c){n=mxUtils.bind(this, -function(b){for(var c=0;c<b.length;c++)(function(b){var d=v.cloneNode(!1);d.style.fontWeight="bold";d.style.backgroundColor="dark"==uiTheme?"#505759":"#e5e5e5";d.style.padding="6px 0px 6px 20px";mxUtils.write(d,b.title);f.appendChild(d);for(var e=0;e<b.entries.length;e++)(function(b){var d=v.cloneNode(!1);d.style.cursor="pointer";d.style.padding="4px 0px 4px 20px";d.style.whiteSpace="nowrap";d.style.overflow="hidden";d.style.textOverflow="ellipsis";d.setAttribute("title",b.title+" ("+b.id+")");var t= -document.createElement("input");t.setAttribute("type","checkbox");t.checked=a.sidebar.isEntryVisible(b.id);t.defaultChecked=t.checked;d.appendChild(t);mxUtils.write(d," "+b.title);f.appendChild(d);var k=function(a){if(null==a||"INPUT"!=mxEvent.getSource(a).nodeName){l.style.textAlign="center";l.style.padding="0px";l.style.color="";l.innerHTML="";if(null!=b.desc){var c=document.createElement("pre");c.style.boxSizing="border-box";c.style.fontFamily="inherit";c.style.margin="20px";c.style.right="0px"; -c.style.textAlign="left";mxUtils.write(c,b.desc);l.appendChild(c)}null!=b.imageCallback?b.imageCallback(l):null!=b.image?l.innerHTML+='<img border="0" src="'+b.image+'"/>':null==b.desc&&(l.style.padding="20px",l.style.color="rgb(179, 179, 179)",mxUtils.write(l,mxResources.get("noPreview")));null!=p&&(p.style.backgroundColor="");p=d;p.style.backgroundColor="dark"==uiTheme?"#505759":"#ebf2f9";null!=a&&mxEvent.consume(a)}};mxEvent.addListener(d,"click",k);mxEvent.addListener(d,"dblclick",function(a){t.checked= -!t.checked;mxEvent.consume(a)});u.push(function(){return t.checked?b.id:null});0==c&&0==e&&k()})(b.entries[e])})(b[c])});e=document.createElement("div");e.className="geDialogTitle";mxUtils.write(e,mxResources.get("shapes"));e.style.position="absolute";e.style.top="0px";e.style.left="0px";e.style.lineHeight="40px";e.style.height="40px";e.style.right="0px";mxClient.IS_QUIRKS&&(e.style.width="718px");var f=document.createElement("div"),l=document.createElement("div");f.style.position="absolute";f.style.top= +m={title:a.getResource(k.title),entries:[]},n=0;n<k.entries.length;n++){var t=k.entries[n];m.entries.push({id:t.id,title:a.getResource(t.title),desc:a.getResource(t.desc),image:t.preview})}g.push(m)}for(e=0;e<b.length;e++)if(null==a.sidebar.enabledLibraries)g.push(b[e]);else{m={title:b[e].title,entries:[]};for(n=0;n<b[e].entries.length;n++)0<=mxUtils.indexOf(a.sidebar.enabledLibraries,b[e].entries[n].id)&&m.entries.push(b[e].entries[n]);0<m.entries.length&&g.push(m)}b=g;if(c){n=mxUtils.bind(this, +function(b){for(var c=0;c<b.length;c++)(function(b){var d=v.cloneNode(!1);d.style.fontWeight="bold";d.style.backgroundColor="dark"==uiTheme?"#505759":"#e5e5e5";d.style.padding="6px 0px 6px 20px";mxUtils.write(d,b.title);f.appendChild(d);for(var e=0;e<b.entries.length;e++)(function(b){var d=v.cloneNode(!1);d.style.cursor="pointer";d.style.padding="4px 0px 4px 20px";d.style.whiteSpace="nowrap";d.style.overflow="hidden";d.style.textOverflow="ellipsis";d.setAttribute("title",b.title+" ("+b.id+")");var q= +document.createElement("input");q.setAttribute("type","checkbox");q.checked=a.sidebar.isEntryVisible(b.id);q.defaultChecked=q.checked;d.appendChild(q);mxUtils.write(d," "+b.title);f.appendChild(d);var k=function(a){if(null==a||"INPUT"!=mxEvent.getSource(a).nodeName){l.style.textAlign="center";l.style.padding="0px";l.style.color="";l.innerHTML="";if(null!=b.desc){var c=document.createElement("pre");c.style.boxSizing="border-box";c.style.fontFamily="inherit";c.style.margin="20px";c.style.right="0px"; +c.style.textAlign="left";mxUtils.write(c,b.desc);l.appendChild(c)}null!=b.imageCallback?b.imageCallback(l):null!=b.image?l.innerHTML+='<img border="0" src="'+b.image+'"/>':null==b.desc&&(l.style.padding="20px",l.style.color="rgb(179, 179, 179)",mxUtils.write(l,mxResources.get("noPreview")));null!=p&&(p.style.backgroundColor="");p=d;p.style.backgroundColor="dark"==uiTheme?"#505759":"#ebf2f9";null!=a&&mxEvent.consume(a)}};mxEvent.addListener(d,"click",k);mxEvent.addListener(d,"dblclick",function(a){q.checked= +!q.checked;mxEvent.consume(a)});u.push(function(){return q.checked?b.id:null});0==c&&0==e&&k()})(b.entries[e])})(b[c])});e=document.createElement("div");e.className="geDialogTitle";mxUtils.write(e,mxResources.get("shapes"));e.style.position="absolute";e.style.top="0px";e.style.left="0px";e.style.lineHeight="40px";e.style.height="40px";e.style.right="0px";mxClient.IS_QUIRKS&&(e.style.width="718px");var f=document.createElement("div"),l=document.createElement("div");f.style.position="absolute";f.style.top= "40px";f.style.left="0px";f.style.width="202px";f.style.bottom="60px";f.style.overflow="auto";mxClient.IS_QUIRKS&&(f.style.height="437px",f.style.marginTop="1px");l.style.position="absolute";l.style.left="202px";l.style.right="0px";l.style.top="40px";l.style.bottom="60px";l.style.overflow="auto";l.style.borderLeft="1px solid rgb(211, 211, 211)";l.style.textAlign="center";mxClient.IS_QUIRKS&&(l.style.width=parseInt(e.style.width)-202+"px",l.style.height=f.style.height,l.style.marginTop=f.style.marginTop); var p=null,u=[],v=document.createElement("div");v.style.position="relative";v.style.left="0px";v.style.right="0px";n(b);d.style.padding="30px";d.appendChild(e);d.appendChild(f);d.appendChild(l);b=document.createElement("div");b.className="geDialogFooter";b.style.position="absolute";b.style.paddingRight="16px";b.style.color="gray";b.style.left="0px";b.style.right="0px";b.style.bottom="0px";b.style.height="60px";b.style.lineHeight="52px";mxClient.IS_QUIRKS&&(b.style.width=e.style.width,b.style.paddingTop= -"12px");var t=document.createElement("input");t.setAttribute("type","checkbox");if(isLocalStorage||mxClient.IS_CHROMEAPP)e=document.createElement("span"),e.style.paddingRight="20px",e.appendChild(t),mxUtils.write(e," "+mxResources.get("rememberThisSetting")),t.checked=!0,t.defaultChecked=!0,mxEvent.addListener(e,"click",function(a){mxEvent.getSource(a)!=t&&(t.checked=!t.checked,mxEvent.consume(a))}),mxClient.IS_QUIRKS&&(e.style.position="relative",e.style.top="-6px"),b.appendChild(e);e=mxUtils.button(mxResources.get("cancel"), -function(){a.hideDialog()});e.className="geBtn";n=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();for(var b=[],c=0;c<u.length;c++){var f=u[c].apply(this,arguments);null!=f&&b.push(f)}a.sidebar.showEntries(b.join(";"),t.checked,!0)});n.className="geBtn gePrimaryBtn"}else{var z=document.createElement("table"),e=document.createElement("tbody");d.style.height="100%";d.style.overflow="auto";n=document.createElement("tr");z.style.width="100%";c=document.createElement("td");var g=document.createElement("td"), +"12px");var q=document.createElement("input");q.setAttribute("type","checkbox");if(isLocalStorage||mxClient.IS_CHROMEAPP)e=document.createElement("span"),e.style.paddingRight="20px",e.appendChild(q),mxUtils.write(e," "+mxResources.get("rememberThisSetting")),q.checked=!0,q.defaultChecked=!0,mxEvent.addListener(e,"click",function(a){mxEvent.getSource(a)!=q&&(q.checked=!q.checked,mxEvent.consume(a))}),mxClient.IS_QUIRKS&&(e.style.position="relative",e.style.top="-6px"),b.appendChild(e);e=mxUtils.button(mxResources.get("cancel"), +function(){a.hideDialog()});e.className="geBtn";n=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();for(var b=[],c=0;c<u.length;c++){var f=u[c].apply(this,arguments);null!=f&&b.push(f)}a.sidebar.showEntries(b.join(";"),q.checked,!0)});n.className="geBtn gePrimaryBtn"}else{var z=document.createElement("table"),e=document.createElement("tbody");d.style.height="100%";d.style.overflow="auto";n=document.createElement("tr");z.style.width="100%";c=document.createElement("td");var g=document.createElement("td"), k=document.createElement("td"),y=mxUtils.bind(this,function(b,c,f){var l=document.createElement("input");l.type="checkbox";z.appendChild(l);l.checked=a.sidebar.isEntryVisible(f);var d=document.createElement("span");mxUtils.write(d,c);c=document.createElement("div");c.style.display="block";c.appendChild(l);c.appendChild(d);mxEvent.addListener(d,"click",function(a){l.checked=!l.checked;mxEvent.consume(a)});b.appendChild(c);return function(){return l.checked?f:null}});n.appendChild(c);n.appendChild(g); -n.appendChild(k);e.appendChild(n);z.appendChild(e);for(var u=[],C=0,e=0;e<b.length;e++)for(n=0;n<b[e].entries.length;n++)C++;for(var x=[c,g,k],B=0,e=0;e<b.length;e++)(function(a){for(var b=0;b<a.entries.length;b++){var c=a.entries[b];u.push(y(x[Math.floor(B/(C/3))],c.title,c.id));B++}})(b[e]);d.appendChild(z);b=document.createElement("div");b.style.marginTop="18px";b.style.textAlign="center";t=document.createElement("input");isLocalStorage&&(t.setAttribute("type","checkbox"),t.checked=!0,t.defaultChecked= -!0,b.appendChild(t),e=document.createElement("span"),mxUtils.write(e," "+mxResources.get("rememberThisSetting")),b.appendChild(e),mxEvent.addListener(e,"click",function(a){t.checked=!t.checked;mxEvent.consume(a)}));d.appendChild(b);e=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});e.className="geBtn";n=mxUtils.button(mxResources.get("apply"),function(){for(var b=["search"],c=0;c<u.length;c++){var f=u[c].apply(this,arguments);null!=f&&b.push(f)}a.sidebar.showEntries(0<b.length? -b.join(";"):"",t.checked);a.hideDialog()});n.className="geBtn gePrimaryBtn";b=document.createElement("div");b.style.marginTop="26px";b.style.textAlign="right"}a.editor.cancelFirst?(b.appendChild(e),b.appendChild(n)):(b.appendChild(n),b.appendChild(e));d.appendChild(b);this.container=d},PluginsDialog=function(a){function c(){if(0==g.length)d.innerHTML=mxUtils.htmlEntities(mxResources.get("noPlugins"));else{d.innerHTML="";for(var b=0;b<g.length;b++){var l=document.createElement("span");l.style.whiteSpace= +n.appendChild(k);e.appendChild(n);z.appendChild(e);for(var u=[],C=0,e=0;e<b.length;e++)for(n=0;n<b[e].entries.length;n++)C++;for(var x=[c,g,k],A=0,e=0;e<b.length;e++)(function(a){for(var b=0;b<a.entries.length;b++){var c=a.entries[b];u.push(y(x[Math.floor(A/(C/3))],c.title,c.id));A++}})(b[e]);d.appendChild(z);b=document.createElement("div");b.style.marginTop="18px";b.style.textAlign="center";q=document.createElement("input");isLocalStorage&&(q.setAttribute("type","checkbox"),q.checked=!0,q.defaultChecked= +!0,b.appendChild(q),e=document.createElement("span"),mxUtils.write(e," "+mxResources.get("rememberThisSetting")),b.appendChild(e),mxEvent.addListener(e,"click",function(a){q.checked=!q.checked;mxEvent.consume(a)}));d.appendChild(b);e=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});e.className="geBtn";n=mxUtils.button(mxResources.get("apply"),function(){for(var b=["search"],c=0;c<u.length;c++){var f=u[c].apply(this,arguments);null!=f&&b.push(f)}a.sidebar.showEntries(0<b.length? +b.join(";"):"",q.checked);a.hideDialog()});n.className="geBtn gePrimaryBtn";b=document.createElement("div");b.style.marginTop="26px";b.style.textAlign="right"}a.editor.cancelFirst?(b.appendChild(e),b.appendChild(n)):(b.appendChild(n),b.appendChild(e));d.appendChild(b);this.container=d},PluginsDialog=function(a){function c(){if(0==g.length)d.innerHTML=mxUtils.htmlEntities(mxResources.get("noPlugins"));else{d.innerHTML="";for(var b=0;b<g.length;b++){var l=document.createElement("span");l.style.whiteSpace= "nowrap";var p=document.createElement("span");p.className="geSprite geSprite-delete";p.style.position="relative";p.style.cursor="pointer";p.style.top="5px";p.style.marginRight="4px";p.style.display="inline-block";l.appendChild(p);mxUtils.write(l,g[b]);d.appendChild(l);mxUtils.br(d);mxEvent.addListener(p,"click",function(b){return function(){a.confirm(mxResources.get("delete")+' "'+g[b]+'"?',function(){g.splice(b,1);c()})}}(b))}}}var b=document.createElement("div"),d=document.createElement("div"); d.style.height="120px";d.style.overflow="auto";var g=mxSettings.getPlugins().slice();b.appendChild(d);c();var e=mxUtils.button(mxResources.get("add"),function(){var b="",l=urlParams.p;if(null!=l&&0<l.length){for(var d=l.split(";"),l=0;l<d.length;l++){var e=App.pluginRegistry[d[l]];null!=e&&(b+=e+";")}";"==b.charAt(b.length-1)&&(b=b.substring(0,b.length-1))}b=new FilenameDialog(a,b,mxResources.get("add"),function(a){if(null!=a&&0<a.length){d=a.split(";");for(a=0;a<d.length;a++){var b=d[a],f=App.pluginRegistry[b]; null!=f&&(b=f);0<b.length&&0>mxUtils.indexOf(g,b)&&g.push(b)}c()}},mxResources.get("enterValue")+" ("+mxResources.get("url")+")");a.showDialog(b.container,300,80,!0,!0);b.init()});e.className="geBtn";var k=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});k.className="geBtn";var m=mxUtils.button(mxResources.get("apply"),function(){mxSettings.setPlugins(g);mxSettings.save();a.hideDialog();a.alert(mxResources.get("restartForChangeRequired"))});m.className="geBtn gePrimaryBtn";var n= -document.createElement("div");n.style.marginTop="14px";n.style.textAlign="right";var q=mxUtils.button(mxResources.get("help"),function(){a.openLink("https://desk.draw.io/support/solutions/articles/16000056430")});q.className="geBtn";a.isOffline()&&!mxClient.IS_CHROMEAPP&&(q.style.display="none");n.appendChild(q);a.editor.cancelFirst?(n.appendChild(k),n.appendChild(e),n.appendChild(m)):(n.appendChild(e),n.appendChild(m),n.appendChild(k));b.appendChild(n);this.container=b},CropImageDialog=function(a, -c,b){var d=document.createElement("div"),g=document.createElement("table"),e=document.createElement("tbody"),k=document.createElement("tr"),m=document.createElement("td");m.style.whiteSpace="nowrap";m.setAttribute("colspan","2");mxUtils.write(m,mxResources.get("loading")+"...");k.appendChild(m);e.appendChild(k);var k=document.createElement("tr"),n=document.createElement("td"),q=document.createElement("td");g.style.paddingLeft="6px";mxUtils.write(n,mxResources.get("left")+":");var f=document.createElement("input"); -f.setAttribute("type","text");f.style.width="100px";f.value="0";this.init=function(){f.focus();f.select()};q.appendChild(f);k.appendChild(n);k.appendChild(q);e.appendChild(k);k=document.createElement("tr");n=document.createElement("td");q=document.createElement("td");mxUtils.write(n,mxResources.get("top")+":");var l=document.createElement("input");l.setAttribute("type","text");l.style.width="100px";l.value="0";q.appendChild(l);k.appendChild(n);k.appendChild(q);e.appendChild(k);k=document.createElement("tr"); -n=document.createElement("td");q=document.createElement("td");mxUtils.write(n,mxResources.get("right")+":");var p=document.createElement("input");p.setAttribute("type","text");p.style.width="100px";p.value="0";q.appendChild(p);k.appendChild(n);k.appendChild(q);e.appendChild(k);k=document.createElement("tr");n=document.createElement("td");q=document.createElement("td");mxUtils.write(n,mxResources.get("bottom")+":");var u=document.createElement("input");u.setAttribute("type","text");u.style.width="100px"; -u.value="0";q.appendChild(u);k.appendChild(n);k.appendChild(q);e.appendChild(k);k=document.createElement("tr");n=document.createElement("td");q=document.createElement("td");mxUtils.write(n,mxResources.get("circle")+":");k.appendChild(n);var v=document.createElement("input");v.setAttribute("type","checkbox");q.appendChild(v);k.appendChild(q);e.appendChild(k);g.appendChild(e);d.appendChild(g);g=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});g.className="geBtn";var t=new Image, -z=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();var c=document.createElement("canvas"),d=c.getContext("2d"),e=t.width,k=t.height,g=parseInt(f.value),A=parseInt(l.value),e=Math.max(1,e-g-parseInt(p.value)),k=Math.max(1,k-A-parseInt(u.value));c.width=e;c.height=k;v.checked&&(d.fillStyle="#000000",d.arc(e/2,k/2,Math.min(e/2,k/2),0,2*Math.PI),d.fill(),d.globalCompositeOperation="source-in");d.drawImage(t,g,A,e,k,0,0,e,k);b(c.toDataURL())});z.className="geBtn gePrimaryBtn";z.setAttribute("disabled", -"disabled");t.onload=function(){z.removeAttribute("disabled");m.innerHTML="";mxUtils.write(m,mxResources.get("width")+": "+t.width+" "+mxResources.get("height")+": "+t.height)};t.src=c;mxEvent.addListener(d,"keypress",function(a){13==a.keyCode&&z.click()});c=document.createElement("div");c.style.marginTop="20px";c.style.textAlign="right";a.editor.cancelFirst?(c.appendChild(g),c.appendChild(z)):(c.appendChild(z),c.appendChild(g));d.appendChild(c);this.container=d},EditGeometryDialog=function(a,c){var b= -a.editor.graph,d=1==c.length?b.getCellGeometry(c[0]):null,g=document.createElement("div"),e=document.createElement("table"),k=document.createElement("tbody"),m=document.createElement("tr"),n=document.createElement("td"),q=document.createElement("td");e.style.paddingLeft="6px";mxUtils.write(n,mxResources.get("relative")+":");var f=document.createElement("input");f.setAttribute("type","checkbox");null!=d&&d.relative&&(f.setAttribute("checked","checked"),f.defaultChecked=!0);this.init=function(){f.focus()}; -q.appendChild(f);m.appendChild(n);m.appendChild(q);k.appendChild(m);m=document.createElement("tr");n=document.createElement("td");q=document.createElement("td");mxUtils.write(n,mxResources.get("left")+":");var l=document.createElement("input");l.setAttribute("type","text");l.style.width="100px";l.value=null!=d?d.x:"";q.appendChild(l);m.appendChild(n);m.appendChild(q);k.appendChild(m);m=document.createElement("tr");n=document.createElement("td");q=document.createElement("td");mxUtils.write(n,mxResources.get("top")+ -":");var p=document.createElement("input");p.setAttribute("type","text");p.style.width="100px";p.value=null!=d?d.y:"";q.appendChild(p);m.appendChild(n);m.appendChild(q);k.appendChild(m);m=document.createElement("tr");n=document.createElement("td");q=document.createElement("td");mxUtils.write(n,mxResources.get("dx")+":");var u=document.createElement("input");u.setAttribute("type","text");u.style.width="100px";u.value=null!=d&&null!=d.offset?d.offset.x:"";q.appendChild(u);m.appendChild(n);m.appendChild(q); -k.appendChild(m);m=document.createElement("tr");n=document.createElement("td");q=document.createElement("td");mxUtils.write(n,mxResources.get("dy")+":");var v=document.createElement("input");v.setAttribute("type","text");v.style.width="100px";v.value=null!=d&&null!=d.offset?d.offset.y:"";q.appendChild(v);m.appendChild(n);m.appendChild(q);k.appendChild(m);m=document.createElement("tr");n=document.createElement("td");q=document.createElement("td");mxUtils.write(n,mxResources.get("width")+":");var t= -document.createElement("input");t.setAttribute("type","text");t.style.width="100px";t.value=null!=d?d.width:"";q.appendChild(t);m.appendChild(n);m.appendChild(q);k.appendChild(m);m=document.createElement("tr");n=document.createElement("td");q=document.createElement("td");mxUtils.write(n,mxResources.get("height")+":");var z=document.createElement("input");z.setAttribute("type","text");z.style.width="100px";z.value=null!=d?d.height:"";q.appendChild(z);m.appendChild(n);m.appendChild(q);k.appendChild(m); -m=document.createElement("tr");n=document.createElement("td");q=document.createElement("td");mxUtils.write(n,mxResources.get("rotation")+":");var y=document.createElement("input");y.setAttribute("type","text");y.style.width="100px";y.value=1==c.length?mxUtils.getValue(b.getCellStyle(c[0]),mxConstants.STYLE_ROTATION,0):"";q.appendChild(y);m.appendChild(n);m.appendChild(q);k.appendChild(m);e.appendChild(k);g.appendChild(e);d=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});d.className= +document.createElement("div");n.style.marginTop="14px";n.style.textAlign="right";var t=mxUtils.button(mxResources.get("help"),function(){a.openLink("https://desk.draw.io/support/solutions/articles/16000056430")});t.className="geBtn";a.isOffline()&&!mxClient.IS_CHROMEAPP&&(t.style.display="none");n.appendChild(t);a.editor.cancelFirst?(n.appendChild(k),n.appendChild(e),n.appendChild(m)):(n.appendChild(e),n.appendChild(m),n.appendChild(k));b.appendChild(n);this.container=b},CropImageDialog=function(a, +c,b){var d=document.createElement("div"),g=document.createElement("table"),e=document.createElement("tbody"),k=document.createElement("tr"),m=document.createElement("td");m.style.whiteSpace="nowrap";m.setAttribute("colspan","2");mxUtils.write(m,mxResources.get("loading")+"...");k.appendChild(m);e.appendChild(k);var k=document.createElement("tr"),n=document.createElement("td"),t=document.createElement("td");g.style.paddingLeft="6px";mxUtils.write(n,mxResources.get("left")+":");var f=document.createElement("input"); +f.setAttribute("type","text");f.style.width="100px";f.value="0";this.init=function(){f.focus();f.select()};t.appendChild(f);k.appendChild(n);k.appendChild(t);e.appendChild(k);k=document.createElement("tr");n=document.createElement("td");t=document.createElement("td");mxUtils.write(n,mxResources.get("top")+":");var l=document.createElement("input");l.setAttribute("type","text");l.style.width="100px";l.value="0";t.appendChild(l);k.appendChild(n);k.appendChild(t);e.appendChild(k);k=document.createElement("tr"); +n=document.createElement("td");t=document.createElement("td");mxUtils.write(n,mxResources.get("right")+":");var p=document.createElement("input");p.setAttribute("type","text");p.style.width="100px";p.value="0";t.appendChild(p);k.appendChild(n);k.appendChild(t);e.appendChild(k);k=document.createElement("tr");n=document.createElement("td");t=document.createElement("td");mxUtils.write(n,mxResources.get("bottom")+":");var u=document.createElement("input");u.setAttribute("type","text");u.style.width="100px"; +u.value="0";t.appendChild(u);k.appendChild(n);k.appendChild(t);e.appendChild(k);k=document.createElement("tr");n=document.createElement("td");t=document.createElement("td");mxUtils.write(n,mxResources.get("circle")+":");k.appendChild(n);var v=document.createElement("input");v.setAttribute("type","checkbox");t.appendChild(v);k.appendChild(t);e.appendChild(k);g.appendChild(e);d.appendChild(g);g=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});g.className="geBtn";var q=new Image, +z=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();var c=document.createElement("canvas"),d=c.getContext("2d"),e=q.width,k=q.height,g=parseInt(f.value),B=parseInt(l.value),e=Math.max(1,e-g-parseInt(p.value)),k=Math.max(1,k-B-parseInt(u.value));c.width=e;c.height=k;v.checked&&(d.fillStyle="#000000",d.arc(e/2,k/2,Math.min(e/2,k/2),0,2*Math.PI),d.fill(),d.globalCompositeOperation="source-in");d.drawImage(q,g,B,e,k,0,0,e,k);b(c.toDataURL())});z.className="geBtn gePrimaryBtn";z.setAttribute("disabled", +"disabled");q.onload=function(){z.removeAttribute("disabled");m.innerHTML="";mxUtils.write(m,mxResources.get("width")+": "+q.width+" "+mxResources.get("height")+": "+q.height)};q.src=c;mxEvent.addListener(d,"keypress",function(a){13==a.keyCode&&z.click()});c=document.createElement("div");c.style.marginTop="20px";c.style.textAlign="right";a.editor.cancelFirst?(c.appendChild(g),c.appendChild(z)):(c.appendChild(z),c.appendChild(g));d.appendChild(c);this.container=d},EditGeometryDialog=function(a,c){var b= +a.editor.graph,d=1==c.length?b.getCellGeometry(c[0]):null,g=document.createElement("div"),e=document.createElement("table"),k=document.createElement("tbody"),m=document.createElement("tr"),n=document.createElement("td"),t=document.createElement("td");e.style.paddingLeft="6px";mxUtils.write(n,mxResources.get("relative")+":");var f=document.createElement("input");f.setAttribute("type","checkbox");null!=d&&d.relative&&(f.setAttribute("checked","checked"),f.defaultChecked=!0);this.init=function(){f.focus()}; +t.appendChild(f);m.appendChild(n);m.appendChild(t);k.appendChild(m);m=document.createElement("tr");n=document.createElement("td");t=document.createElement("td");mxUtils.write(n,mxResources.get("left")+":");var l=document.createElement("input");l.setAttribute("type","text");l.style.width="100px";l.value=null!=d?d.x:"";t.appendChild(l);m.appendChild(n);m.appendChild(t);k.appendChild(m);m=document.createElement("tr");n=document.createElement("td");t=document.createElement("td");mxUtils.write(n,mxResources.get("top")+ +":");var p=document.createElement("input");p.setAttribute("type","text");p.style.width="100px";p.value=null!=d?d.y:"";t.appendChild(p);m.appendChild(n);m.appendChild(t);k.appendChild(m);m=document.createElement("tr");n=document.createElement("td");t=document.createElement("td");mxUtils.write(n,mxResources.get("dx")+":");var u=document.createElement("input");u.setAttribute("type","text");u.style.width="100px";u.value=null!=d&&null!=d.offset?d.offset.x:"";t.appendChild(u);m.appendChild(n);m.appendChild(t); +k.appendChild(m);m=document.createElement("tr");n=document.createElement("td");t=document.createElement("td");mxUtils.write(n,mxResources.get("dy")+":");var v=document.createElement("input");v.setAttribute("type","text");v.style.width="100px";v.value=null!=d&&null!=d.offset?d.offset.y:"";t.appendChild(v);m.appendChild(n);m.appendChild(t);k.appendChild(m);m=document.createElement("tr");n=document.createElement("td");t=document.createElement("td");mxUtils.write(n,mxResources.get("width")+":");var q= +document.createElement("input");q.setAttribute("type","text");q.style.width="100px";q.value=null!=d?d.width:"";t.appendChild(q);m.appendChild(n);m.appendChild(t);k.appendChild(m);m=document.createElement("tr");n=document.createElement("td");t=document.createElement("td");mxUtils.write(n,mxResources.get("height")+":");var z=document.createElement("input");z.setAttribute("type","text");z.style.width="100px";z.value=null!=d?d.height:"";t.appendChild(z);m.appendChild(n);m.appendChild(t);k.appendChild(m); +m=document.createElement("tr");n=document.createElement("td");t=document.createElement("td");mxUtils.write(n,mxResources.get("rotation")+":");var y=document.createElement("input");y.setAttribute("type","text");y.style.width="100px";y.value=1==c.length?mxUtils.getValue(b.getCellStyle(c[0]),mxConstants.STYLE_ROTATION,0):"";t.appendChild(y);m.appendChild(n);m.appendChild(t);k.appendChild(m);e.appendChild(k);g.appendChild(e);d=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});d.className= "geBtn";var C=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();b.getModel().beginUpdate();try{for(var d=0;d<c.length;d++){var e=b.getCellGeometry(c[d]);null!=e&&(e=e.clone(),b.isCellMovable(c[d])&&(e.relative=f.checked,0<mxUtils.trim(l.value).length&&(e.x=Number(l.value)),0<mxUtils.trim(p.value).length&&(e.y=Number(p.value)),0<mxUtils.trim(u.value).length&&(null==e.offset&&(e.offset=new mxPoint),e.offset.x=Number(u.value)),0<mxUtils.trim(v.value).length&&(null==e.offset&&(e.offset= -new mxPoint),e.offset.y=Number(v.value))),b.isCellResizable(c[d])&&(0<mxUtils.trim(t.value).length&&(e.width=Number(t.value)),0<mxUtils.trim(z.value).length&&(e.height=Number(z.value))),b.getModel().setGeometry(c[d],e));0<mxUtils.trim(y.value).length&&b.setCellStyles(mxConstants.STYLE_ROTATION,Number(y.value),[c[d]])}}finally{b.getModel().endUpdate()}});C.className="geBtn gePrimaryBtn";mxEvent.addListener(g,"keypress",function(a){13==a.keyCode&&C.click()});e=document.createElement("div");e.style.marginTop= -"20px";e.style.textAlign="right";a.editor.cancelFirst?(e.appendChild(d),e.appendChild(C)):(e.appendChild(C),e.appendChild(d));g.appendChild(e);this.container=g},LibraryDialog=function(a,c,b,d,g,e){function k(a){for(a=document.elementFromPoint(a.clientX,a.clientY);null!=a&&a.parentNode!=u;)a=a.parentNode;var b=null;if(null!=a)for(var c=u.firstChild,b=0;null!=c&&c!=a;)c=c.nextSibling,b++;return b}function m(b,c,l,d,p,e,g,A,n){try{if(a.spinner.stop(),null==c||"image/"==c.substring(0,6))if(null==b&&null!= -g||null==t[b]){var F=function(){I.innerHTML="";I.style.cursor="pointer";I.style.whiteSpace="nowrap";I.style.textOverflow="ellipsis";mxUtils.write(I,null!=N.title&&0<N.title.length?N.title:mxResources.get("untitled"));I.style.color=null==N.title||0==N.title.length?"#d0d0d0":""};u.style.backgroundImage="";v.style.display="none";var y=p,q=e;if(p>a.maxImageSize||e>a.maxImageSize){var E=Math.min(1,Math.min(a.maxImageSize/Math.max(1,p)),a.maxImageSize/Math.max(1,e));p*=E;e*=E}y>q?(q=Math.round(100*q/y), -y=100):(y=Math.round(100*y/q),q=100);var D=document.createElement("div");D.setAttribute("draggable","true");D.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";D.style.position="relative";D.style.cursor="move";mxUtils.setPrefixedStyle(D.style,"transition","transform .1s ease-in-out");if(null!=b){var G=document.createElement("img");G.setAttribute("src",x.convert(b));G.style.width=y+"px";G.style.height=q+"px";G.style.margin="10px";G.style.paddingBottom=Math.floor((100-q)/2)+"px";G.style.paddingLeft= -Math.floor((100-y)/2)+"px";D.appendChild(G)}else if(null!=g){var J=a.stringToCells(Graph.decompress(g.xml));0<J.length&&(a.sidebar.createThumb(J,100,100,D,null,!0,!1),D.firstChild.style.display=mxClient.IS_QUIRKS?"inline":"inline-block",D.firstChild.style.cursor="")}var H=document.createElement("img");H.setAttribute("src",Editor.closeImage);H.setAttribute("border","0");H.setAttribute("title",mxResources.get("delete"));H.setAttribute("align","top");H.style.paddingTop="4px";H.style.position="absolute"; -H.style.marginLeft="-12px";H.style.zIndex="1";H.style.cursor="pointer";mxEvent.addListener(H,"dragstart",function(a){mxEvent.consume(a)});(function(a,b,c){mxEvent.addListener(H,"click",function(l){t[b]=null;for(var d=0;d<f.length;d++)if(null!=f[d].data&&f[d].data==b||null!=f[d].xml&&null!=c&&f[d].xml==c.xml){f.splice(d,1);break}D.parentNode.removeChild(a);0==f.length&&(u.style.backgroundImage="url('"+IMAGE_PATH+"/droptarget.png')",v.style.display="");mxEvent.consume(l)});mxEvent.addListener(H,"dblclick", -function(a){mxEvent.consume(a)})})(D,b,g);D.appendChild(H);D.style.marginBottom="30px";var I=document.createElement("div");I.style.position="absolute";I.style.boxSizing="border-box";I.style.bottom="-18px";I.style.left="10px";I.style.right="10px";I.style.backgroundColor="#ffffff";I.style.overflow="hidden";I.style.textAlign="center";var N=null;null!=b?(N={data:b,w:p,h:e,title:n},null!=A&&(N.aspect=A),t[b]=G,f.push(N)):null!=g&&(g.aspect="fixed",f.push(g),N=g);mxEvent.addListener(I,"keydown",function(a){13== -a.keyCode&&null!=C&&(C(),C=null,mxEvent.consume(a))});F();D.appendChild(I);mxEvent.addListener(I,"mousedown",function(a){"true"!=I.getAttribute("contentEditable")&&mxEvent.consume(a)});J=function(b){if(mxClient.IS_IOS||mxClient.IS_QUIRKS||mxClient.IS_FF||!(null==document.documentMode||9<document.documentMode)){var c=new FilenameDialog(a,N.title||"",mxResources.get("ok"),function(a){null!=a&&(N.title=a,F())},mxResources.get("enterValue"));a.showDialog(c.container,300,80,!0,!0);c.init();mxEvent.consume(b)}else if("true"!= -I.getAttribute("contentEditable")){null!=C&&(C(),C=null);if(null==N.title||0==N.title.length)I.innerHTML="";I.style.textOverflow="";I.style.whiteSpace="";I.style.cursor="text";I.style.color="";I.setAttribute("contentEditable","true");I.focus();document.execCommand("selectAll",!1,null);C=function(){I.removeAttribute("contentEditable");I.style.cursor="pointer";N.title=I.innerHTML;F()};mxEvent.consume(b)}};mxEvent.addListener(I,"click",J);mxEvent.addListener(D,"dblclick",J);u.appendChild(D);mxEvent.addListener(D, -"dragstart",function(a){null==b&&null!=g&&(H.style.visibility="hidden",I.style.visibility="hidden");mxClient.IS_FF&&null!=g.xml&&a.dataTransfer.setData("Text",g.xml);z=k(a);mxClient.IS_GC&&(D.style.opacity="0.9");window.setTimeout(function(){mxUtils.setPrefixedStyle(D.style,"transform","scale(0.5,0.5)");mxUtils.setOpacity(D,30);H.style.visibility="";I.style.visibility=""},0)});mxEvent.addListener(D,"dragend",function(a){"hidden"==H.style.visibility&&(H.style.visibility="",I.style.visibility="");z= -null;mxUtils.setOpacity(D,100);mxUtils.setPrefixedStyle(D.style,"transform",null)})}else B||(B=!0,a.handleError({message:mxResources.get("fileExists")}));else{p=!1;try{if(y=mxUtils.parseXml(b),"mxlibrary"==y.documentElement.nodeName){q=JSON.parse(mxUtils.getTextContent(y.documentElement));if(null!=q&&0<q.length)for(var K=0;K<q.length;K++)null!=q[K].xml?m(null,null,0,0,0,0,q[K]):m(q[K].data,null,0,0,q[K].w,q[K].h,null,"fixed",q[K].title);p=!0}else if("mxfile"==y.documentElement.nodeName){for(var Q= -y.documentElement.getElementsByTagName("diagram"),K=0;K<Q.length;K++){var q=mxUtils.getTextContent(Q[K]),J=a.stringToCells(Graph.decompress(q)),X=a.editor.graph.getBoundingBoxFromGeometry(J);m(null,null,0,0,0,0,{xml:q,w:X.width,h:X.height})}p=!0}}catch(ea){}p||(a.spinner.stop(),a.handleError({message:mxResources.get("errorLoadingFile")}))}}catch(ea){}return null}function n(a){a.dataTransfer.dropEffect=null!=z?"move":"copy";a.stopPropagation();a.preventDefault()}function q(b){b.stopPropagation();b.preventDefault(); -B=!1;y=k(b);if(null!=z)null!=y&&y<u.children.length?(f.splice(y>z?y-1:y,0,f.splice(z,1)[0]),u.insertBefore(u.children[z],u.children[y])):(f.push(f.splice(z,1)[0]),u.appendChild(u.children[z]));else if(0<b.dataTransfer.files.length)a.importFiles(b.dataTransfer.files,0,0,a.maxImageSize,E(b));else if(0<=mxUtils.indexOf(b.dataTransfer.types,"text/uri-list")){var c=decodeURIComponent(b.dataTransfer.getData("text/uri-list"));(/(\.jpg)($|\?)/i.test(c)||/(\.png)($|\?)/i.test(c)||/(\.gif)($|\?)/i.test(c)|| +new mxPoint),e.offset.y=Number(v.value))),b.isCellResizable(c[d])&&(0<mxUtils.trim(q.value).length&&(e.width=Number(q.value)),0<mxUtils.trim(z.value).length&&(e.height=Number(z.value))),b.getModel().setGeometry(c[d],e));0<mxUtils.trim(y.value).length&&b.setCellStyles(mxConstants.STYLE_ROTATION,Number(y.value),[c[d]])}}finally{b.getModel().endUpdate()}});C.className="geBtn gePrimaryBtn";mxEvent.addListener(g,"keypress",function(a){13==a.keyCode&&C.click()});e=document.createElement("div");e.style.marginTop= +"20px";e.style.textAlign="right";a.editor.cancelFirst?(e.appendChild(d),e.appendChild(C)):(e.appendChild(C),e.appendChild(d));g.appendChild(e);this.container=g},LibraryDialog=function(a,c,b,d,g,e){function k(a){for(a=document.elementFromPoint(a.clientX,a.clientY);null!=a&&a.parentNode!=u;)a=a.parentNode;var b=null;if(null!=a)for(var c=u.firstChild,b=0;null!=c&&c!=a;)c=c.nextSibling,b++;return b}function m(b,c,l,d,p,e,g,B,n){try{if(a.spinner.stop(),null==c||"image/"==c.substring(0,6))if(null==b&&null!= +g||null==q[b]){var D=function(){I.innerHTML="";I.style.cursor="pointer";I.style.whiteSpace="nowrap";I.style.textOverflow="ellipsis";mxUtils.write(I,null!=N.title&&0<N.title.length?N.title:mxResources.get("untitled"));I.style.color=null==N.title||0==N.title.length?"#d0d0d0":""};u.style.backgroundImage="";v.style.display="none";var y=p,t=e;if(p>a.maxImageSize||e>a.maxImageSize){var F=Math.min(1,Math.min(a.maxImageSize/Math.max(1,p)),a.maxImageSize/Math.max(1,e));p*=F;e*=F}y>t?(t=Math.round(100*t/y), +y=100):(y=Math.round(100*y/t),t=100);var E=document.createElement("div");E.setAttribute("draggable","true");E.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";E.style.position="relative";E.style.cursor="move";mxUtils.setPrefixedStyle(E.style,"transition","transform .1s ease-in-out");if(null!=b){var G=document.createElement("img");G.setAttribute("src",x.convert(b));G.style.width=y+"px";G.style.height=t+"px";G.style.margin="10px";G.style.paddingBottom=Math.floor((100-t)/2)+"px";G.style.paddingLeft= +Math.floor((100-y)/2)+"px";E.appendChild(G)}else if(null!=g){var J=a.stringToCells(Graph.decompress(g.xml));0<J.length&&(a.sidebar.createThumb(J,100,100,E,null,!0,!1),E.firstChild.style.display=mxClient.IS_QUIRKS?"inline":"inline-block",E.firstChild.style.cursor="")}var H=document.createElement("img");H.setAttribute("src",Editor.closeImage);H.setAttribute("border","0");H.setAttribute("title",mxResources.get("delete"));H.setAttribute("align","top");H.style.paddingTop="4px";H.style.position="absolute"; +H.style.marginLeft="-12px";H.style.zIndex="1";H.style.cursor="pointer";mxEvent.addListener(H,"dragstart",function(a){mxEvent.consume(a)});(function(a,b,c){mxEvent.addListener(H,"click",function(l){q[b]=null;for(var d=0;d<f.length;d++)if(null!=f[d].data&&f[d].data==b||null!=f[d].xml&&null!=c&&f[d].xml==c.xml){f.splice(d,1);break}E.parentNode.removeChild(a);0==f.length&&(u.style.backgroundImage="url('"+IMAGE_PATH+"/droptarget.png')",v.style.display="");mxEvent.consume(l)});mxEvent.addListener(H,"dblclick", +function(a){mxEvent.consume(a)})})(E,b,g);E.appendChild(H);E.style.marginBottom="30px";var I=document.createElement("div");I.style.position="absolute";I.style.boxSizing="border-box";I.style.bottom="-18px";I.style.left="10px";I.style.right="10px";I.style.backgroundColor="#ffffff";I.style.overflow="hidden";I.style.textAlign="center";var N=null;null!=b?(N={data:b,w:p,h:e,title:n},null!=B&&(N.aspect=B),q[b]=G,f.push(N)):null!=g&&(g.aspect="fixed",f.push(g),N=g);mxEvent.addListener(I,"keydown",function(a){13== +a.keyCode&&null!=C&&(C(),C=null,mxEvent.consume(a))});D();E.appendChild(I);mxEvent.addListener(I,"mousedown",function(a){"true"!=I.getAttribute("contentEditable")&&mxEvent.consume(a)});J=function(b){if(mxClient.IS_IOS||mxClient.IS_QUIRKS||mxClient.IS_FF||!(null==document.documentMode||9<document.documentMode)){var c=new FilenameDialog(a,N.title||"",mxResources.get("ok"),function(a){null!=a&&(N.title=a,D())},mxResources.get("enterValue"));a.showDialog(c.container,300,80,!0,!0);c.init();mxEvent.consume(b)}else if("true"!= +I.getAttribute("contentEditable")){null!=C&&(C(),C=null);if(null==N.title||0==N.title.length)I.innerHTML="";I.style.textOverflow="";I.style.whiteSpace="";I.style.cursor="text";I.style.color="";I.setAttribute("contentEditable","true");I.focus();document.execCommand("selectAll",!1,null);C=function(){I.removeAttribute("contentEditable");I.style.cursor="pointer";N.title=I.innerHTML;D()};mxEvent.consume(b)}};mxEvent.addListener(I,"click",J);mxEvent.addListener(E,"dblclick",J);u.appendChild(E);mxEvent.addListener(E, +"dragstart",function(a){null==b&&null!=g&&(H.style.visibility="hidden",I.style.visibility="hidden");mxClient.IS_FF&&null!=g.xml&&a.dataTransfer.setData("Text",g.xml);z=k(a);mxClient.IS_GC&&(E.style.opacity="0.9");window.setTimeout(function(){mxUtils.setPrefixedStyle(E.style,"transform","scale(0.5,0.5)");mxUtils.setOpacity(E,30);H.style.visibility="";I.style.visibility=""},0)});mxEvent.addListener(E,"dragend",function(a){"hidden"==H.style.visibility&&(H.style.visibility="",I.style.visibility="");z= +null;mxUtils.setOpacity(E,100);mxUtils.setPrefixedStyle(E.style,"transform",null)})}else A||(A=!0,a.handleError({message:mxResources.get("fileExists")}));else{p=!1;try{if(y=mxUtils.parseXml(b),"mxlibrary"==y.documentElement.nodeName){t=JSON.parse(mxUtils.getTextContent(y.documentElement));if(null!=t&&0<t.length)for(var K=0;K<t.length;K++)null!=t[K].xml?m(null,null,0,0,0,0,t[K]):m(t[K].data,null,0,0,t[K].w,t[K].h,null,"fixed",t[K].title);p=!0}else if("mxfile"==y.documentElement.nodeName){for(var Q= +y.documentElement.getElementsByTagName("diagram"),K=0;K<Q.length;K++){var t=mxUtils.getTextContent(Q[K]),J=a.stringToCells(Graph.decompress(t)),X=a.editor.graph.getBoundingBoxFromGeometry(J);m(null,null,0,0,0,0,{xml:t,w:X.width,h:X.height})}p=!0}}catch(ea){}p||(a.spinner.stop(),a.handleError({message:mxResources.get("errorLoadingFile")}))}}catch(ea){}return null}function n(a){a.dataTransfer.dropEffect=null!=z?"move":"copy";a.stopPropagation();a.preventDefault()}function t(b){b.stopPropagation();b.preventDefault(); +A=!1;y=k(b);if(null!=z)null!=y&&y<u.children.length?(f.splice(y>z?y-1:y,0,f.splice(z,1)[0]),u.insertBefore(u.children[z],u.children[y])):(f.push(f.splice(z,1)[0]),u.appendChild(u.children[z]));else if(0<b.dataTransfer.files.length)a.importFiles(b.dataTransfer.files,0,0,a.maxImageSize,F(b));else if(0<=mxUtils.indexOf(b.dataTransfer.types,"text/uri-list")){var c=decodeURIComponent(b.dataTransfer.getData("text/uri-list"));(/(\.jpg)($|\?)/i.test(c)||/(\.png)($|\?)/i.test(c)||/(\.gif)($|\?)/i.test(c)|| /(\.svg)($|\?)/i.test(c))&&a.loadImage(c,function(a){m(c,null,0,0,a.width,a.height);u.scrollTop=u.scrollHeight})}b.stopPropagation();b.preventDefault()}var f=[];b=document.createElement("div");b.style.height="100%";var l=document.createElement("div");l.style.whiteSpace="nowrap";l.style.height="40px";b.appendChild(l);mxUtils.write(l,mxResources.get("filename")+":");null==c&&(c=a.defaultLibraryName+".xml");var p=document.createElement("input");p.setAttribute("value",c);p.style.marginRight="20px";p.style.marginLeft= "10px";p.style.width="500px";null==g||g.isRenamable()||p.setAttribute("disabled","true");this.init=function(){if(null==g||g.isRenamable())p.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?p.select():document.execCommand("selectAll",!1,null)};l.appendChild(p);var u=document.createElement("div");u.style.borderWidth="1px 0px 1px 0px";u.style.borderColor="#d3d3d3";u.style.borderStyle="solid";u.style.marginTop="6px";u.style.overflow="auto";u.style.height="340px";u.style.backgroundPosition= -"center center";u.style.backgroundRepeat="no-repeat";0==f.length&&Graph.fileSupport&&(u.style.backgroundImage="url('"+IMAGE_PATH+"/droptarget.png')");var v=document.createElement("div");v.style.position="absolute";v.style.width="640px";v.style.top="260px";v.style.textAlign="center";v.style.fontSize="22px";v.style.color="#a0c3ff";mxUtils.write(v,mxResources.get("dragImagesHere"));b.appendChild(v);var t={},z=null,y=null,C=null;c=function(a){"true"!=mxEvent.getSource(a).getAttribute("contentEditable")&& -null!=C&&(C(),C=null,mxEvent.consume(a))};mxEvent.addListener(u,"mousedown",c);mxEvent.addListener(u,"pointerdown",c);mxEvent.addListener(u,"touchstart",c);var x=new mxUrlConverter,B=!1;if(null!=d)for(c=0;c<d.length;c++)l=d[c],m(l.data,null,0,0,l.w,l.h,l,l.aspect,l.title);mxEvent.addListener(u,"dragleave",function(a){v.style.cursor="";for(var b=mxEvent.getSource(a);null!=b;){if(b==u||b==v){a.stopPropagation();a.preventDefault();break}b=b.parentNode}});var E=function(b){return function(c,f,l,d,p,e, -k,g,t){null!=t&&(/(\.vsdx)($|\?)/i.test(t.name)||/(\.vssx)($|\?)/i.test(t.name))?a.importVisio(t,mxUtils.bind(this,function(a){m(a,f,l,d,p,e,k,"fixed",mxEvent.isAltDown(b)?null:k.substring(0,k.lastIndexOf(".")).replace(/_/g," "))})):null!=t&&!a.isOffline()&&(new XMLHttpRequest).upload&&a.isRemoteFileFormat(c,t.name)?a.parseFile(t,mxUtils.bind(this,function(c){4==c.readyState&&(a.spinner.stop(),200<=c.status&&299>=c.status&&(m(c.responseText,f,l,d,p,e,k,"fixed",mxEvent.isAltDown(b)?null:k.substring(0, -k.lastIndexOf(".")).replace(/_/g," ")),u.scrollTop=u.scrollHeight))})):(m(c,f,l,d,p,e,k,"fixed",mxEvent.isAltDown(b)?null:k.substring(0,k.lastIndexOf(".")).replace(/_/g," ")),u.scrollTop=u.scrollHeight)}};mxEvent.addListener(u,"dragover",n);mxEvent.addListener(u,"drop",q);mxEvent.addListener(v,"dragover",n);mxEvent.addListener(v,"drop",q);b.appendChild(u);d=document.createElement("div");d.style.textAlign="right";d.style.marginTop="20px";c=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog(!0)}); +"center center";u.style.backgroundRepeat="no-repeat";0==f.length&&Graph.fileSupport&&(u.style.backgroundImage="url('"+IMAGE_PATH+"/droptarget.png')");var v=document.createElement("div");v.style.position="absolute";v.style.width="640px";v.style.top="260px";v.style.textAlign="center";v.style.fontSize="22px";v.style.color="#a0c3ff";mxUtils.write(v,mxResources.get("dragImagesHere"));b.appendChild(v);var q={},z=null,y=null,C=null;c=function(a){"true"!=mxEvent.getSource(a).getAttribute("contentEditable")&& +null!=C&&(C(),C=null,mxEvent.consume(a))};mxEvent.addListener(u,"mousedown",c);mxEvent.addListener(u,"pointerdown",c);mxEvent.addListener(u,"touchstart",c);var x=new mxUrlConverter,A=!1;if(null!=d)for(c=0;c<d.length;c++)l=d[c],m(l.data,null,0,0,l.w,l.h,l,l.aspect,l.title);mxEvent.addListener(u,"dragleave",function(a){v.style.cursor="";for(var b=mxEvent.getSource(a);null!=b;){if(b==u||b==v){a.stopPropagation();a.preventDefault();break}b=b.parentNode}});var F=function(b){return function(c,f,l,d,p,e, +q,k,g){null!=g&&(/(\.vsdx)($|\?)/i.test(g.name)||/(\.vssx)($|\?)/i.test(g.name))?a.importVisio(g,mxUtils.bind(this,function(a){m(a,f,l,d,p,e,q,"fixed",mxEvent.isAltDown(b)?null:q.substring(0,q.lastIndexOf(".")).replace(/_/g," "))})):null!=g&&!a.isOffline()&&(new XMLHttpRequest).upload&&a.isRemoteFileFormat(c,g.name)?a.parseFile(g,mxUtils.bind(this,function(c){4==c.readyState&&(a.spinner.stop(),200<=c.status&&299>=c.status&&(m(c.responseText,f,l,d,p,e,q,"fixed",mxEvent.isAltDown(b)?null:q.substring(0, +q.lastIndexOf(".")).replace(/_/g," ")),u.scrollTop=u.scrollHeight))})):(m(c,f,l,d,p,e,q,"fixed",mxEvent.isAltDown(b)?null:q.substring(0,q.lastIndexOf(".")).replace(/_/g," ")),u.scrollTop=u.scrollHeight)}};mxEvent.addListener(u,"dragover",n);mxEvent.addListener(u,"drop",t);mxEvent.addListener(v,"dragover",n);mxEvent.addListener(v,"drop",t);b.appendChild(u);d=document.createElement("div");d.style.textAlign="right";d.style.marginTop="20px";c=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog(!0)}); c.setAttribute("id","btnCancel");c.className="geBtn";a.editor.cancelFirst&&d.appendChild(c);l=mxUtils.button(mxResources.get("export"),function(){var b=a.createLibraryDataFromImages(f),c=p.value;/(\.xml)$/i.test(c)||(c+=".xml");a.isLocalFileSave()?a.saveLocalFile(b,c,"text/xml",null,null,!0):(new mxXmlRequest(SAVE_URL,"filename="+encodeURIComponent(c)+"&format=xml&xml="+encodeURIComponent(b))).simulate(document,"_blank")});l.setAttribute("id","btnDownload");l.className="geBtn";d.appendChild(l);if(Graph.fileSupport){if(null== -a.libDlgFileInputElt){var A=document.createElement("input");A.setAttribute("multiple","multiple");A.setAttribute("type","file");mxEvent.addListener(A,"change",function(b){B=!1;a.importFiles(A.files,0,0,a.maxImageSize,function(a,c,f,l,d,p,e,k,t){null!=A.files&&(E(b)(a,c,f,l,d,p,e,k,t),A.type="",A.type="file",A.value="")});u.scrollTop=u.scrollHeight});A.style.display="none";document.body.appendChild(A);a.libDlgFileInputElt=A}l=mxUtils.button(mxResources.get("import"),function(){null!=C&&(C(),C=null); -a.libDlgFileInputElt.click()});l.setAttribute("id","btnAddImage");l.className="geBtn";d.appendChild(l)}l=mxUtils.button(mxResources.get("addImageUrl"),function(){null!=C&&(C(),C=null);a.showImageDialog(mxResources.get("addImageUrl"),"",function(a,b,c){B=!1;if(null!=a){if("data:image/"==a.substring(0,11)){var f=a.indexOf(",");0<f&&(a=a.substring(0,f)+";base64,"+a.substring(f+1))}m(a,null,0,0,b,c);u.scrollTop=u.scrollHeight}})});l.setAttribute("id","btnAddImageUrl");l.className="geBtn";d.appendChild(l); +a.libDlgFileInputElt){var B=document.createElement("input");B.setAttribute("multiple","multiple");B.setAttribute("type","file");mxEvent.addListener(B,"change",function(b){A=!1;a.importFiles(B.files,0,0,a.maxImageSize,function(a,c,f,l,d,p,e,q,g){null!=B.files&&(F(b)(a,c,f,l,d,p,e,q,g),B.type="",B.type="file",B.value="")});u.scrollTop=u.scrollHeight});B.style.display="none";document.body.appendChild(B);a.libDlgFileInputElt=B}l=mxUtils.button(mxResources.get("import"),function(){null!=C&&(C(),C=null); +a.libDlgFileInputElt.click()});l.setAttribute("id","btnAddImage");l.className="geBtn";d.appendChild(l)}l=mxUtils.button(mxResources.get("addImageUrl"),function(){null!=C&&(C(),C=null);a.showImageDialog(mxResources.get("addImageUrl"),"",function(a,b,c){A=!1;if(null!=a){if("data:image/"==a.substring(0,11)){var f=a.indexOf(",");0<f&&(a=a.substring(0,f)+";base64,"+a.substring(f+1))}m(a,null,0,0,b,c);u.scrollTop=u.scrollHeight}})});l.setAttribute("id","btnAddImageUrl");l.className="geBtn";d.appendChild(l); this.saveBtnClickHandler=function(b,c,f,l){a.saveLibrary(b,c,f,l)};l=mxUtils.button(mxResources.get("save"),mxUtils.bind(this,function(){null!=C&&(C(),C=null);this.saveBtnClickHandler(p.value,f,g,e)}));l.setAttribute("id","btnSave");l.className="geBtn gePrimaryBtn";d.appendChild(l);a.editor.cancelFirst||d.appendChild(c);b.appendChild(d);this.container=b},EditShapeDialog=function(a,c,b,d,g){d=null!=d?d:300;g=null!=g?g:120;var e,k,m=document.createElement("table"),n=document.createElement("tbody"); -m.style.cellPadding="4px";e=document.createElement("tr");k=document.createElement("td");k.setAttribute("colspan","2");k.style.fontSize="10pt";mxUtils.write(k,b);e.appendChild(k);n.appendChild(e);e=document.createElement("tr");k=document.createElement("td");var q=document.createElement("textarea");q.style.outline="none";q.style.resize="none";q.style.width=d-200+"px";q.style.height=g+"px";this.textarea=q;this.init=function(){q.focus();q.scrollTop=0};k.appendChild(q);e.appendChild(k);k=document.createElement("td"); -b=document.createElement("div");b.style.position="relative";b.style.border="1px solid gray";b.style.top="6px";b.style.width="200px";b.style.height=g+4+"px";b.style.overflow="hidden";b.style.marginBottom="16px";mxEvent.disableContextMenu(b);k.appendChild(b);var f=new Graph(b);f.setEnabled(!1);var l=a.editor.graph.cloneCell(c);f.addCells([l]);b=f.view.getState(l);var p="";null!=b.shape&&null!=b.shape.stencil&&(p=mxUtils.getPrettyXml(b.shape.stencil.desc));mxUtils.write(q,p||"");b=f.getGraphBounds(); +m.style.cellPadding="4px";e=document.createElement("tr");k=document.createElement("td");k.setAttribute("colspan","2");k.style.fontSize="10pt";mxUtils.write(k,b);e.appendChild(k);n.appendChild(e);e=document.createElement("tr");k=document.createElement("td");var t=document.createElement("textarea");t.style.outline="none";t.style.resize="none";t.style.width=d-200+"px";t.style.height=g+"px";this.textarea=t;this.init=function(){t.focus();t.scrollTop=0};k.appendChild(t);e.appendChild(k);k=document.createElement("td"); +b=document.createElement("div");b.style.position="relative";b.style.border="1px solid gray";b.style.top="6px";b.style.width="200px";b.style.height=g+4+"px";b.style.overflow="hidden";b.style.marginBottom="16px";mxEvent.disableContextMenu(b);k.appendChild(b);var f=new Graph(b);f.setEnabled(!1);var l=a.editor.graph.cloneCell(c);f.addCells([l]);b=f.view.getState(l);var p="";null!=b.shape&&null!=b.shape.stencil&&(p=mxUtils.getPrettyXml(b.shape.stencil.desc));mxUtils.write(t,p||"");b=f.getGraphBounds(); g=Math.min(160/b.width,(g-40)/b.height);f.view.scaleAndTranslate(g,20/g-b.x,20/g-b.y);e.appendChild(k);n.appendChild(e);e=document.createElement("tr");k=document.createElement("td");k.setAttribute("colspan","2");k.style.paddingTop="2px";k.style.whiteSpace="nowrap";k.setAttribute("align","right");a.isOffline()||(g=mxUtils.button(mxResources.get("help"),function(){a.openLink("https://desk.draw.io/support/solutions/articles/16000052874")}),g.className="geBtn",k.appendChild(g));g=mxUtils.button(mxResources.get("cancel"), -function(){a.hideDialog()});g.className="geBtn";a.editor.cancelFirst&&k.appendChild(g);var u=function(b,c,f){var l=q.value,d=mxUtils.parseXml(l),l=mxUtils.getPrettyXml(d.documentElement),d=d.documentElement.getElementsByTagName("parsererror");if(null!=d&&0<d.length)a.showError(mxResources.get("error"),mxResources.get("containsValidationErrors"),mxResources.get("ok"));else if(f&&a.hideDialog(),d=!b.model.contains(c),!f||d||l!=p){l=Graph.compress(l);b.getModel().beginUpdate();try{if(d){var e=a.editor.graph.getFreeInsertPoint(); -c.geometry.x=e.x;c.geometry.y=e.y;b.addCell(c)}b.setCellStyles(mxConstants.STYLE_SHAPE,"stencil("+l+")",[c])}catch(B){throw B;}finally{b.getModel().endUpdate()}d&&(b.setSelectionCell(c),b.scrollCellToVisible(c))}};b=mxUtils.button(mxResources.get("preview"),function(){u(f,l,!1)});b.className="geBtn";k.appendChild(b);b=mxUtils.button(mxResources.get("apply"),function(){u(a.editor.graph,c,!0)});b.className="geBtn gePrimaryBtn";k.appendChild(b);a.editor.cancelFirst||k.appendChild(g);e.appendChild(k); +function(){a.hideDialog()});g.className="geBtn";a.editor.cancelFirst&&k.appendChild(g);var u=function(b,c,f){var l=t.value,d=mxUtils.parseXml(l),l=mxUtils.getPrettyXml(d.documentElement),d=d.documentElement.getElementsByTagName("parsererror");if(null!=d&&0<d.length)a.showError(mxResources.get("error"),mxResources.get("containsValidationErrors"),mxResources.get("ok"));else if(f&&a.hideDialog(),d=!b.model.contains(c),!f||d||l!=p){l=Graph.compress(l);b.getModel().beginUpdate();try{if(d){var e=a.editor.graph.getFreeInsertPoint(); +c.geometry.x=e.x;c.geometry.y=e.y;b.addCell(c)}b.setCellStyles(mxConstants.STYLE_SHAPE,"stencil("+l+")",[c])}catch(A){throw A;}finally{b.getModel().endUpdate()}d&&(b.setSelectionCell(c),b.scrollCellToVisible(c))}};b=mxUtils.button(mxResources.get("preview"),function(){u(f,l,!1)});b.className="geBtn";k.appendChild(b);b=mxUtils.button(mxResources.get("apply"),function(){u(a.editor.graph,c,!0)});b.className="geBtn gePrimaryBtn";k.appendChild(b);a.editor.cancelFirst||k.appendChild(g);e.appendChild(k); n.appendChild(e);m.appendChild(n);this.container=m},CustomDialog=function(a,c,b,d,g,e,k,m){var n=document.createElement("div");n.appendChild(c);c=document.createElement("div");c.style.marginTop="16px";c.style.textAlign="center";null!=k&&c.appendChild(k);a.isOffline()||null==e||(k=mxUtils.button(mxResources.get("help"),function(){a.openLink(e)}),k.className="geBtn",c.appendChild(k));k=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog();null!=d&&d()});k.className="geBtn";m&&(k.style.display= "none");a.editor.cancelFirst&&c.appendChild(k);g=mxUtils.button(g||mxResources.get("ok"),function(){a.hideDialog();null!=b&&b()});c.appendChild(g);g.className="geBtn gePrimaryBtn";a.editor.cancelFirst||c.appendChild(k);n.appendChild(c);this.cancelBtn=k;this.okButton=g;this.container=n},TemplatesDialog=function(){var a='<div class="geTempDlgHeader"><img src="/images/draw.io-logo.svg" class="geTempDlgHeaderLogo"><input type="search" class="geTempDlgSearchBox" placeholder="'+mxResources.get("search", null,"Search")+'"></div><div class="geTemplatesList"><div class="geTempDlgNewDiagramlbl">'+mxResources.get("newDiagram",null,"New Diagram")+'</div><div class="geTempDlgHLine"></div><div class="geTemplatesLbl">'+mxResources.get("templates",null,"Templates")+'</div></div><div class="geTempDlgContent"><div class="geTempDlgNewDiagramCat"><div class="geTempDlgNewDiagramCatLbl">'+mxResources.get("newDiagram",null,"New Diagram")+'</div><div class="geTempDlgNewDiagramCatList"></div><div class="geTempDlgNewDiagramCatFooter"><div class="geTempDlgShowAllBtn">'+ @@ -8097,27 +8087,27 @@ mxResources.get("showAll",null,"+ Show all")+'</div></div></div><div class="geTe mxResources.get("allDiagrams",null,"All diagrams")+'</span></div><div class="geTempDlgSpacer"> </div><div class="geTempDlgRadioBtn geTempDlgRadioBtnSmall geTempDlgRadioBtnActive" data-id="tilesBtn"><img src="/images/tiles-sel.svg" class="geTempDlgTilesBtnImg"></div><div class="geTempDlgRadioBtn geTempDlgRadioBtnSmall" data-id="listBtn"><img src="/images/list.svg" class="geTempDlgListBtnImg"></div></div></div><div class="geTempDlgDiagramsTiles"></div></div></div><br style="clear:both;"/><div class="geTempDlgFooter"><span class="geTempDlgLinkToDiagram geTempDlgLinkToDiagramHint">🛈 '+ mxResources.get("linkToDiagramHint",null,"Add a link to this diagram. The diagram can only be edited from the page that owns it.")+'</span><button class="geTempDlgLinkToDiagram geTempDlgLinkToDiagramBtn">'+mxResources.get("linkToDiagram",null,"Link to Diagram")+'</button><div class="geTempDlgCreateBtn">'+mxResources.get("create",null,"Create")+'</div><div class="geTempDlgCancelBtn">'+mxResources.get("cancel",null,"Cancel")+"</div></div>",c=document.createElement("div");c.innerHTML=a;c.className="geTemplateDlg"; var a=window.innerWidth,b=window.innerHeight,d=987,g=712;.9*a<d&&(d=Math.max(.9*a,600),c.style.width=d+"px");.9*b<g&&(g=Math.max(.9*b,300),c.style.height=g+"px");this.width=d;this.height=g;this.container=c}; -TemplatesDialog.prototype.init=function(a,c,b,d,g,e,k,m,n,q){function f(){null!=D&&(D.style.fontWeight="normal",D.style.textDecoration="none",D=null)}function l(a,b,c,f,l,d,p){if(-1<a.className.indexOf("geTempDlgRadioBtnActive"))return!1;a.className+=" geTempDlgRadioBtnActive";E.querySelector(".geTempDlgRadioBtn[data-id="+f+"]").className="geTempDlgRadioBtn "+(p?"geTempDlgRadioBtnLarge":"geTempDlgRadioBtnSmall");E.querySelector("."+b).src="/images/"+c+"-sel.svg";E.querySelector("."+l).src="/images/"+ -d+".svg";return!0}function p(a){function b(a){aa.removeChild(f);E.removeChild(c);aa.scrollTop=d}a=a.prevImgUrl||a.imgUrl||TEMPLATE_PATH+"/"+a.url.substring(0,a.url.length-4)+".png";var c=document.createElement("div");c.className="geTempDlgDialogMask";E.appendChild(c);var f=document.createElement("div");f.className="geTempDlgDiagramPreviewBox";var l=document.createElement("img");l.src=a;f.appendChild(l);a=document.createElement("img");a.src="/images/close.png";a.className="geTempDlgPreviewCloseBtn"; +TemplatesDialog.prototype.init=function(a,c,b,d,g,e,k,m,n,t){function f(){null!=G&&(G.style.fontWeight="normal",G.style.textDecoration="none",G=null)}function l(a,b,c,f,l,d,p){if(-1<a.className.indexOf("geTempDlgRadioBtnActive"))return!1;a.className+=" geTempDlgRadioBtnActive";F.querySelector(".geTempDlgRadioBtn[data-id="+f+"]").className="geTempDlgRadioBtn "+(p?"geTempDlgRadioBtnLarge":"geTempDlgRadioBtnSmall");F.querySelector("."+b).src="/images/"+c+"-sel.svg";F.querySelector("."+l).src="/images/"+ +d+".svg";return!0}function p(a){function b(a){aa.removeChild(f);F.removeChild(c);aa.scrollTop=d}a=a.prevImgUrl||a.imgUrl||TEMPLATE_PATH+"/"+a.url.substring(0,a.url.length-4)+".png";var c=document.createElement("div");c.className="geTempDlgDialogMask";F.appendChild(c);var f=document.createElement("div");f.className="geTempDlgDiagramPreviewBox";var l=document.createElement("img");l.src=a;f.appendChild(l);a=document.createElement("img");a.src="/images/close.png";a.className="geTempDlgPreviewCloseBtn"; a.setAttribute("title",mxResources.get("close"));f.appendChild(a);var d=aa.scrollTop;mxEvent.addListener(a,"click",b);mxEvent.addListener(c,"click",b);aa.appendChild(f);aa.scrollTop=0;f.style.lineHeight=f.clientHeight+"px"}function u(a,b,c){if(null!=H){for(var f=H.className.split(" "),l=0;l<f.length;l++)if(-1<f[l].indexOf("Active")){f.splice(l,1);break}H.className=f.join(" ")}null!=a?(H=a,H.className+=" "+b,J=c,V.className="geTempDlgCreateBtn"):(J=H=null,V.className="geTempDlgCreateBtn geTempDlgCreateBtnDisabled")} -function v(b){if(null!=J){var f=J;J=null;V.className="geTempDlgCreateBtn geTempDlgCreateBtnDisabled geTempDlgCreateBtnBusy";f.isExternal?(1==b?q(f.url,f,"nameInput.value"):n(f.url,f,"nameInput.value"),a.hideDialog(!0)):mxUtils.get(TEMPLATE_PATH+"/"+f.url,mxUtils.bind(this,function(b){200<=b.getStatus()&&299>=b.getStatus()&&(c(b.getText(),"nameInput.value"),a.hideDialog(!0))}))}}function t(a){a=a?"":"none";for(var b=E.querySelectorAll(".geTempDlgLinkToDiagram"),c=0;c<b.length;c++)b[c].style.display= -a}function z(a,b,c){function f(){V.innerHTML=b?mxUtils.htmlEntities(mxResources.get("create")):mxUtils.htmlEntities(mxResources.get("copy"));t(!b)}T.innerHTML="";u();Q=a;var l=null;if(c){l=document.createElement("table");l.className="geTempDlgDiagramsListGrid";var d=document.createElement("tr"),e=document.createElement("th");e.style.width="50%";e.innerHTML=mxUtils.htmlEntities(mxResources.get("diagram",null,"Diagram"));d.appendChild(e);e=document.createElement("th");e.style.width="25%";e.innerHTML= -mxUtils.htmlEntities(mxResources.get("changedBy",null,"Changed By"));d.appendChild(e);e=document.createElement("th");e.style.width="25%";e.innerHTML=mxUtils.htmlEntities(mxResources.get("lastModifiedOn",null,"Last modified on"));d.appendChild(e);l.appendChild(d);T.appendChild(l)}for(d=0;d<a.length;d++){a[d].isExternal=!b;var k=a[d].url,e=mxUtils.htmlEntities(a[d].title),g=a[d].tooltip||a[d].title,A=a[d].imgUrl,x=mxUtils.htmlEntities(a[d].changedBy||""),B=mxUtils.htmlEntities(a[d].lastModifiedOn|| -"");A||(A=TEMPLATE_PATH+"/"+k.substring(0,k.length-4)+".png");k=c?50:15;null!=e&&e.length>k&&(e=e.substring(0,k)+"…");if(c){var n=document.createElement("tr"),A=document.createElement("td"),m=document.createElement("img");m.src="/images/icon-search.svg";m.className="geTempDlgDiagramListPreviewBtn";m.setAttribute("title",mxResources.get("preview"));A.appendChild(m);g=document.createElement("span");g.className="geTempDlgDiagramTitle";g.innerHTML=e;A.appendChild(g);n.appendChild(A);A=document.createElement("td"); -A.innerHTML=x;n.appendChild(A);A=document.createElement("td");A.innerHTML=B;n.appendChild(A);l.appendChild(n);null==H&&(f(),u(n,"geTempDlgDiagramsListGridActive",a[d]));(function(a,b){mxEvent.addListener(n,"click",function(){H!=b&&(f(),u(b,"geTempDlgDiagramsListGridActive",a))});mxEvent.addListener(n,"dblclick",v);mxEvent.addListener(m,"click",function(){p(a)})})(a[d],n)}else{var F=document.createElement("div");F.className="geTempDlgDiagramTile";F.setAttribute("title",g);null==H&&(f(),u(F,"geTempDlgDiagramTileActive", -a[d]));x=document.createElement("div");x.className="geTempDlgDiagramTileImg geTempDlgDiagramTileImgLoading";var y=document.createElement("img");y.style.display="none";(function(a,b){y.onload=function(){b.className="geTempDlgDiagramTileImg";a.style.display=""};y.onerror=function(){b.className="geTempDlgDiagramTileImg geTempDlgDiagramTileImgError"}})(y,x);y.src=A;x.appendChild(y);F.appendChild(x);x=document.createElement("div");x.className="geTempDlgDiagramTileLbl";x.innerHTML=null!=e?e:"";F.appendChild(x); -m=document.createElement("img");m.src="/images/icon-search.svg";m.className="geTempDlgDiagramPreviewBtn";m.setAttribute("title",mxResources.get("preview"));F.appendChild(m);(function(a,b){mxEvent.addListener(F,"click",function(){H!=b&&(f(),u(b,"geTempDlgDiagramTileActive",a))});mxEvent.addListener(F,"dblclick",v);mxEvent.addListener(m,"click",function(){p(a)})})(a[d],F);T.appendChild(F)}}}function y(a,b){ca.innerHTML="";u();for(var c=!b&&5<a.length?5:a.length,f=0;f<c;f++){var l=a[f];l.isCategory= -!0;var d=document.createElement("div"),p=mxResources.get(l.title);null==p&&(p=l.title.substring(0,1).toUpperCase()+l.title.substring(1));d.className="geTempDlgNewDiagramCatItem";d.setAttribute("title",p);p=mxUtils.htmlEntities(p);15<p.length&&(p=p.substring(0,15)+"…");null==H&&(V.innerHTML=mxUtils.htmlEntities(mxResources.get("create")),t(),u(d,"geTempDlgNewDiagramCatItemActive",l));var e=document.createElement("div");e.className="geTempDlgNewDiagramCatItemImg";var k=document.createElement("img"); -k.src=NEW_DIAGRAM_CATS_PATH+"/"+l.img;e.appendChild(k);d.appendChild(e);e=document.createElement("div");e.className="geTempDlgNewDiagramCatItemLbl";e.innerHTML=p;d.appendChild(e);ca.appendChild(d);(function(a,b){mxEvent.addListener(d,"click",function(){H!=b&&(V.innerHTML=mxUtils.htmlEntities(mxResources.get("create")),t(),u(b,"geTempDlgNewDiagramCatItemActive",a))});mxEvent.addListener(d,"dblclick",v)})(l,d)}Y.style.display=5>a.length?"none":""}function C(a){var b=E.querySelector(".geTemplatesList"), -c;for(c in a){var f=document.createElement("div"),l=mxResources.get(c),d=a[c];null==l&&(l=c.substring(0,1).toUpperCase()+c.substring(1));f.className="geTemplateCatLink";f.setAttribute("title",l+" ("+d.length+")");l=mxUtils.htmlEntities(l);15<l.length&&(l=l.substring(0,15)+"…");f.innerHTML=l+" ("+d.length+")";b.appendChild(f);(function(b,c,l){mxEvent.addListener(f,"click",function(){D!=l&&(null!=D?(D.style.fontWeight="normal",D.style.textDecoration="none"):(ha.style.display="none",ga.style.minHeight= -"100%"),D=l,D.style.fontWeight="bold",D.style.textDecoration="underline",aa.scrollTop=0,A&&(F=!0),L.innerHTML=c,W.style.display="none",z(a[b],!0))})})(c,l,f)}}function x(a){k&&(aa.scrollTop=0,T.innerHTML="",ba.spin(T),F=!1,A=!0,L.innerHTML=mxUtils.htmlEntities(mxResources.get("recentDiag",null,"Recent Diagrams")),N=null,k(M,a?null:e))}function B(a){f();aa.scrollTop=0;T.innerHTML="";ba.spin(T);F=!1;A=!0;da=null;L.innerHTML=mxUtils.htmlEntities(mxResources.get("searchResults",null,"Search Results"))+ -' "'+mxUtils.htmlEntities(a)+'"';m(a,M,G?null:e);N=a}d=null!=d?d:TEMPLATE_PATH+"/index.xml";g=null!=g?g:NEW_DIAGRAM_CATS_PATH+"/index.xml";var E=this.container,A=!1,F=!1,D=null,H=null,J=null,I=!1,G=!0,K=!1,Q=[],N,Y=E.querySelector(".geTempDlgShowAllBtn"),T=E.querySelector(".geTempDlgDiagramsTiles"),L=E.querySelector(".geTempDlgDiagramsListTitle"),W=E.querySelector(".geTempDlgDiagramsListBtns"),aa=E.querySelector(".geTempDlgContent"),ga=E.querySelector(".geTempDlgDiagramsList"),ha=E.querySelector(".geTempDlgNewDiagramCat"), -ca=E.querySelector(".geTempDlgNewDiagramCatList"),V=E.querySelector(".geTempDlgCreateBtn"),ba=new Spinner({lines:12,length:10,width:5,radius:10,rotate:0,color:"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"50px",zIndex:2E9});mxEvent.addListener(E.querySelector(".geTempDlgNewDiagramlbl"),"click",function(){f();ha.style.display="";ga.style.minHeight="calc(100% - 280px)";x(G)});mxEvent.addListener(E.querySelector(".geTempDlgRadioBtn[data-id=allDiagramsBtn]"),"click",function(){l(this,"geTempDlgAllDiagramsBtnImg", -"all-diagrams","myDiagramsBtn","geTempDlgMyDiagramsBtnImg","my-diagrams",!0)&&(G=!0,null==N?x(G):B(N))});mxEvent.addListener(E.querySelector(".geTempDlgRadioBtn[data-id=myDiagramsBtn]"),"click",function(){l(this,"geTempDlgMyDiagramsBtnImg","my-diagrams","allDiagramsBtn","geTempDlgAllDiagramsBtnImg","all-diagrams",!0)&&(G=!1,null==N?x(G):B(N))});mxEvent.addListener(E.querySelector(".geTempDlgRadioBtn[data-id=listBtn]"),"click",function(){l(this,"geTempDlgListBtnImg","list","tilesBtn","geTempDlgTilesBtnImg", -"tiles",!1)&&(K=!0,z(Q,!1,K))});mxEvent.addListener(E.querySelector(".geTempDlgRadioBtn[data-id=tilesBtn]"),"click",function(){l(this,"geTempDlgTilesBtnImg","tiles","listBtn","geTempDlgListBtnImg","list",!1)&&(K=!1,z(Q,!1,K))});mxEvent.addListener(Y,"click",function(){I?(ha.style.height="280px",ca.style.height="190px",Y.innerHTML=mxUtils.htmlEntities(mxResources.get("showAll",null,"+ Show all")),y(ea)):(ha.style.height="440px",ca.style.height="355px",Y.innerHTML=mxUtils.htmlEntities(mxResources.get("showLess", +function v(b){if(null!=J){var f=J;J=null;V.className="geTempDlgCreateBtn geTempDlgCreateBtnDisabled geTempDlgCreateBtnBusy";f.isExternal?(1==b?t(f.url,f,"nameInput.value"):n(f.url,f,"nameInput.value"),a.hideDialog(!0)):mxUtils.get(TEMPLATE_PATH+"/"+f.url,mxUtils.bind(this,function(b){200<=b.getStatus()&&299>=b.getStatus()&&(c(b.getText(),"nameInput.value"),a.hideDialog(!0))}))}}function q(a){a=a?"":"none";for(var b=F.querySelectorAll(".geTempDlgLinkToDiagram"),c=0;c<b.length;c++)b[c].style.display= +a}function z(a,b,c){function f(){V.innerHTML=b?mxUtils.htmlEntities(mxResources.get("create")):mxUtils.htmlEntities(mxResources.get("copy"));q(!b)}T.innerHTML="";u();Q=a;var l=null;if(c){l=document.createElement("table");l.className="geTempDlgDiagramsListGrid";var d=document.createElement("tr"),e=document.createElement("th");e.style.width="50%";e.innerHTML=mxUtils.htmlEntities(mxResources.get("diagram",null,"Diagram"));d.appendChild(e);e=document.createElement("th");e.style.width="25%";e.innerHTML= +mxUtils.htmlEntities(mxResources.get("changedBy",null,"Changed By"));d.appendChild(e);e=document.createElement("th");e.style.width="25%";e.innerHTML=mxUtils.htmlEntities(mxResources.get("lastModifiedOn",null,"Last modified on"));d.appendChild(e);l.appendChild(d);T.appendChild(l)}for(d=0;d<a.length;d++){a[d].isExternal=!b;var g=a[d].url,e=mxUtils.htmlEntities(a[d].title),k=a[d].tooltip||a[d].title,B=a[d].imgUrl,x=mxUtils.htmlEntities(a[d].changedBy||""),A=mxUtils.htmlEntities(a[d].lastModifiedOn|| +"");B||(B=TEMPLATE_PATH+"/"+g.substring(0,g.length-4)+".png");g=c?50:15;null!=e&&e.length>g&&(e=e.substring(0,g)+"…");if(c){var n=document.createElement("tr"),B=document.createElement("td"),m=document.createElement("img");m.src="/images/icon-search.svg";m.className="geTempDlgDiagramListPreviewBtn";m.setAttribute("title",mxResources.get("preview"));B.appendChild(m);k=document.createElement("span");k.className="geTempDlgDiagramTitle";k.innerHTML=e;B.appendChild(k);n.appendChild(B);B=document.createElement("td"); +B.innerHTML=x;n.appendChild(B);B=document.createElement("td");B.innerHTML=A;n.appendChild(B);l.appendChild(n);null==H&&(f(),u(n,"geTempDlgDiagramsListGridActive",a[d]));(function(a,b){mxEvent.addListener(n,"click",function(){H!=b&&(f(),u(b,"geTempDlgDiagramsListGridActive",a))});mxEvent.addListener(n,"dblclick",v);mxEvent.addListener(m,"click",function(){p(a)})})(a[d],n)}else{var D=document.createElement("div");D.className="geTempDlgDiagramTile";D.setAttribute("title",k);null==H&&(f(),u(D,"geTempDlgDiagramTileActive", +a[d]));x=document.createElement("div");x.className="geTempDlgDiagramTileImg geTempDlgDiagramTileImgLoading";var y=document.createElement("img");y.style.display="none";(function(a,b){y.onload=function(){b.className="geTempDlgDiagramTileImg";a.style.display=""};y.onerror=function(){b.className="geTempDlgDiagramTileImg geTempDlgDiagramTileImgError"}})(y,x);y.src=B;x.appendChild(y);D.appendChild(x);x=document.createElement("div");x.className="geTempDlgDiagramTileLbl";x.innerHTML=null!=e?e:"";D.appendChild(x); +m=document.createElement("img");m.src="/images/icon-search.svg";m.className="geTempDlgDiagramPreviewBtn";m.setAttribute("title",mxResources.get("preview"));D.appendChild(m);(function(a,b){mxEvent.addListener(D,"click",function(){H!=b&&(f(),u(b,"geTempDlgDiagramTileActive",a))});mxEvent.addListener(D,"dblclick",v);mxEvent.addListener(m,"click",function(){p(a)})})(a[d],D);T.appendChild(D)}}}function y(a,b){ca.innerHTML="";u();for(var c=!b&&5<a.length?5:a.length,f=0;f<c;f++){var l=a[f];l.isCategory= +!0;var d=document.createElement("div"),p=mxResources.get(l.title);null==p&&(p=l.title.substring(0,1).toUpperCase()+l.title.substring(1));d.className="geTempDlgNewDiagramCatItem";d.setAttribute("title",p);p=mxUtils.htmlEntities(p);15<p.length&&(p=p.substring(0,15)+"…");null==H&&(V.innerHTML=mxUtils.htmlEntities(mxResources.get("create")),q(),u(d,"geTempDlgNewDiagramCatItemActive",l));var e=document.createElement("div");e.className="geTempDlgNewDiagramCatItemImg";var g=document.createElement("img"); +g.src=NEW_DIAGRAM_CATS_PATH+"/"+l.img;e.appendChild(g);d.appendChild(e);e=document.createElement("div");e.className="geTempDlgNewDiagramCatItemLbl";e.innerHTML=p;d.appendChild(e);ca.appendChild(d);(function(a,b){mxEvent.addListener(d,"click",function(){H!=b&&(V.innerHTML=mxUtils.htmlEntities(mxResources.get("create")),q(),u(b,"geTempDlgNewDiagramCatItemActive",a))});mxEvent.addListener(d,"dblclick",v)})(l,d)}Y.style.display=5>a.length?"none":""}function C(a){var b=F.querySelector(".geTemplatesList"), +c;for(c in a){var f=document.createElement("div"),l=mxResources.get(c),d=a[c];null==l&&(l=c.substring(0,1).toUpperCase()+c.substring(1));f.className="geTemplateCatLink";f.setAttribute("title",l+" ("+d.length+")");l=mxUtils.htmlEntities(l);15<l.length&&(l=l.substring(0,15)+"…");f.innerHTML=l+" ("+d.length+")";b.appendChild(f);(function(b,c,l){mxEvent.addListener(f,"click",function(){G!=l&&(null!=G?(G.style.fontWeight="normal",G.style.textDecoration="none"):(ha.style.display="none",ga.style.minHeight= +"100%"),G=l,G.style.fontWeight="bold",G.style.textDecoration="underline",aa.scrollTop=0,B&&(D=!0),L.innerHTML=c,W.style.display="none",z(a[b],!0))})})(c,l,f)}}function x(a){k&&(aa.scrollTop=0,T.innerHTML="",ba.spin(T),D=!1,B=!0,L.innerHTML=mxUtils.htmlEntities(mxResources.get("recentDiag",null,"Recent Diagrams")),N=null,k(M,a?null:e))}function A(a){f();aa.scrollTop=0;T.innerHTML="";ba.spin(T);D=!1;B=!0;da=null;L.innerHTML=mxUtils.htmlEntities(mxResources.get("searchResults",null,"Search Results"))+ +' "'+mxUtils.htmlEntities(a)+'"';m(a,M,E?null:e);N=a}d=null!=d?d:TEMPLATE_PATH+"/index.xml";g=null!=g?g:NEW_DIAGRAM_CATS_PATH+"/index.xml";var F=this.container,B=!1,D=!1,G=null,H=null,J=null,I=!1,E=!0,K=!1,Q=[],N,Y=F.querySelector(".geTempDlgShowAllBtn"),T=F.querySelector(".geTempDlgDiagramsTiles"),L=F.querySelector(".geTempDlgDiagramsListTitle"),W=F.querySelector(".geTempDlgDiagramsListBtns"),aa=F.querySelector(".geTempDlgContent"),ga=F.querySelector(".geTempDlgDiagramsList"),ha=F.querySelector(".geTempDlgNewDiagramCat"), +ca=F.querySelector(".geTempDlgNewDiagramCatList"),V=F.querySelector(".geTempDlgCreateBtn"),ba=new Spinner({lines:12,length:10,width:5,radius:10,rotate:0,color:"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"50px",zIndex:2E9});mxEvent.addListener(F.querySelector(".geTempDlgNewDiagramlbl"),"click",function(){f();ha.style.display="";ga.style.minHeight="calc(100% - 280px)";x(E)});mxEvent.addListener(F.querySelector(".geTempDlgRadioBtn[data-id=allDiagramsBtn]"),"click",function(){l(this,"geTempDlgAllDiagramsBtnImg", +"all-diagrams","myDiagramsBtn","geTempDlgMyDiagramsBtnImg","my-diagrams",!0)&&(E=!0,null==N?x(E):A(N))});mxEvent.addListener(F.querySelector(".geTempDlgRadioBtn[data-id=myDiagramsBtn]"),"click",function(){l(this,"geTempDlgMyDiagramsBtnImg","my-diagrams","allDiagramsBtn","geTempDlgAllDiagramsBtnImg","all-diagrams",!0)&&(E=!1,null==N?x(E):A(N))});mxEvent.addListener(F.querySelector(".geTempDlgRadioBtn[data-id=listBtn]"),"click",function(){l(this,"geTempDlgListBtnImg","list","tilesBtn","geTempDlgTilesBtnImg", +"tiles",!1)&&(K=!0,z(Q,!1,K))});mxEvent.addListener(F.querySelector(".geTempDlgRadioBtn[data-id=tilesBtn]"),"click",function(){l(this,"geTempDlgTilesBtnImg","tiles","listBtn","geTempDlgListBtnImg","list",!1)&&(K=!1,z(Q,!1,K))});mxEvent.addListener(Y,"click",function(){I?(ha.style.height="280px",ca.style.height="190px",Y.innerHTML=mxUtils.htmlEntities(mxResources.get("showAll",null,"+ Show all")),y(ea)):(ha.style.height="440px",ca.style.height="355px",Y.innerHTML=mxUtils.htmlEntities(mxResources.get("showLess", null,"- Show less")),y(ea,!0));I=!I});var R=!1,Z=!1,X={},ea=[],P=1;mxUtils.get(d,function(a){if(!R){R=!0;for(a=a.getXml().documentElement.firstChild;null!=a;){if("undefined"!==typeof a.getAttribute){var b=a.getAttribute("url");if(null!=b){var c=b.indexOf("/"),b=b.substring(0,c),c=X[b];null==c&&(P++,c=[],X[b]=c);c.push({url:a.getAttribute("url"),libs:a.getAttribute("libs"),clibs:a.getAttribute("clibs"),title:a.getAttribute("title"),tooltip:a.getAttribute("url"),imgUrl:a.getAttribute("imgUrl")})}}a= -a.nextSibling}C(X)}});mxUtils.get(g,function(a){if(!Z){Z=!0;for(a=a.getXml().documentElement.firstChild;null!=a;)"undefined"!==typeof a.getAttribute&&null!=a.getAttribute("title")&&ea.push({img:a.getAttribute("img"),libs:a.getAttribute("libs"),clibs:a.getAttribute("clibs"),title:a.getAttribute("title")}),a=a.nextSibling;y(ea)}});var M=function(a,b){W.style.display="";ba.stop();A=!1;F?F=!1:b?T.innerHTML=b:0==a.length?T.innerHTML=mxUtils.htmlEntities(mxResources.get("noDiagrams",null,"No Diagrams Found")): -z(a,!1,K)};x(G);var da=null;m&&mxEvent.addListener(E.querySelector(".geTempDlgSearchBox"),"keyup",function(a){var b=this;null!=da&&clearTimeout(da);13==a.keyCode?B(b.value):da=setTimeout(function(){B(b.value)},500)});mxEvent.addListener(V,"click",v);mxEvent.addListener(E.querySelector(".geTempDlgLinkToDiagramBtn"),"click",function(a){v(!0)});mxEvent.addListener(E.querySelector(".geTempDlgCancelBtn"),"click",function(){null!=b&&b();a.hideDialog(!0)})}; +a.nextSibling}C(X)}});mxUtils.get(g,function(a){if(!Z){Z=!0;for(a=a.getXml().documentElement.firstChild;null!=a;)"undefined"!==typeof a.getAttribute&&null!=a.getAttribute("title")&&ea.push({img:a.getAttribute("img"),libs:a.getAttribute("libs"),clibs:a.getAttribute("clibs"),title:a.getAttribute("title")}),a=a.nextSibling;y(ea)}});var M=function(a,b){W.style.display="";ba.stop();B=!1;D?D=!1:b?T.innerHTML=b:0==a.length?T.innerHTML=mxUtils.htmlEntities(mxResources.get("noDiagrams",null,"No Diagrams Found")): +z(a,!1,K)};x(E);var da=null;m&&mxEvent.addListener(F.querySelector(".geTempDlgSearchBox"),"keyup",function(a){var b=this;null!=da&&clearTimeout(da);13==a.keyCode?A(b.value):da=setTimeout(function(){A(b.value)},500)});mxEvent.addListener(V,"click",v);mxEvent.addListener(F.querySelector(".geTempDlgLinkToDiagramBtn"),"click",function(a){v(!0)});mxEvent.addListener(F.querySelector(".geTempDlgCancelBtn"),"click",function(){null!=b&&b();a.hideDialog(!0)})}; var BtnDialog=function(a,c,b,d){var g=document.createElement("div");g.style.textAlign="center";var e=document.createElement("p");e.style.fontSize="16pt";e.style.padding="0px";e.style.margin="0px";e.style.color="gray";mxUtils.write(e,mxResources.get("done"));var k="Unknown",m=document.createElement("img");m.setAttribute("border","0");m.setAttribute("align","absmiddle");m.style.marginRight="10px";c==a.drive?(k=mxResources.get("googleDrive"),m.src=IMAGE_PATH+"/google-drive-logo-white.svg"):c==a.dropbox? (k=mxResources.get("dropbox"),m.src=IMAGE_PATH+"/dropbox-logo-white.svg"):c==a.oneDrive?(k=mxResources.get("oneDrive"),m.src=IMAGE_PATH+"/onedrive-logo-white.svg"):c==a.gitHub?(k=mxResources.get("github"),m.src=IMAGE_PATH+"/github-logo-white.svg"):c==a.gitLab?(k=mxResources.get("gitlab"),m.src=IMAGE_PATH+"/gitlab-logo.svg"):c==a.trello&&(k=mxResources.get("trello"),m.src=IMAGE_PATH+"/trello-logo-white.svg");a=document.createElement("p");mxUtils.write(a,mxResources.get("authorizedIn",[k],"You are now authorized in {1}")); b=mxUtils.button(b,d);b.insertBefore(m,b.firstChild);b.style.marginTop="6px";b.className="geBigButton";b.style.fontSize="18px";b.style.padding="14px";g.appendChild(e);g.appendChild(a);g.appendChild(b);this.container=g}; @@ -8178,23 +8168,23 @@ function(a,c,f,l){void 0!==c?b.push(c.replace(/\\'/g,"'")):void 0!==f?b.push(f.r "https://cdn.rawgit.com/"===a.substring(0,23)||"https://rawgit.com/"===a.substring(0,19)||/^https?:\/\/[^\/]*\.blob.core.windows.net\//.test(a)||/^https?:\/\/[^\/]*\.iconfinder.com\//.test(a)||/^https?:\/\/[^\/]*\.draw\.io\/proxy/.test(a)||/^https?:\/\/[^\/]*\.github\.io\//.test(a)};Editor.prototype.createImageUrlConverter=function(){var a=new mxUrlConverter;a.updateBaseUrl();var b=a.convert,c=this;a.convert=function(f){if(null!=f){var l="http://"==f.substring(0,7)||"https://"==f.substring(0,8);l&& !navigator.onLine?f=EditorUi.prototype.svgBrokenImage.src:!l||f.substring(0,a.baseUrl.length)==a.baseUrl||EditorUi.prototype.crossOriginImages&&c.isCorsEnabledForUrl(f)?"chrome-extension://"==f.substring(0,19)||mxClient.IS_CHROMEAPP||(f=b.apply(this,arguments)):f=PROXY_URL+"?url="+encodeURIComponent(f)}return f};return a};Editor.prototype.createSvgDataUri=function(a){return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(a)))};Editor.prototype.convertImageToDataUri=function(a,b){if(/(\.svg)$/i.test(a))mxUtils.get(a, mxUtils.bind(this,function(a){b(this.createSvgDataUri(a.getText()))}),function(){b(EditorUi.prototype.svgBrokenImage.src)});else{var c=new Image;EditorUi.prototype.crossOriginImages&&(c.crossOrigin="anonymous");c.onload=function(){var a=document.createElement("canvas"),f=a.getContext("2d");a.height=c.height;a.width=c.width;f.drawImage(c,0,0);try{b(a.toDataURL())}catch(I){b(EditorUi.prototype.svgBrokenImage.src)}};c.onerror=function(){b(EditorUi.prototype.svgBrokenImage.src)};c.src=a}};Editor.prototype.convertImages= -function(a,b,c,f){null==f&&(f=this.createImageUrlConverter());var l=0,d=c||{};c=mxUtils.bind(this,function(c,p){for(var e=a.getElementsByTagName(c),k=0;k<e.length;k++)mxUtils.bind(this,function(c){var e=f.convert(c.getAttribute(p));if(null!=e&&"data:"!=e.substring(0,5)){var k=d[e];null==k?(l++,this.convertImageToDataUri(e,function(f){null!=f&&(d[e]=f,c.setAttribute(p,f));l--;0==l&&b(a)})):c.setAttribute(p,k)}else null!=e&&c.setAttribute(p,e)})(e[k])});c("image","xlink:href");c("img","src");0==l&& +function(a,b,c,f){null==f&&(f=this.createImageUrlConverter());var l=0,d=c||{};c=mxUtils.bind(this,function(c,p){for(var e=a.getElementsByTagName(c),g=0;g<e.length;g++)mxUtils.bind(this,function(c){var e=f.convert(c.getAttribute(p));if(null!=e&&"data:"!=e.substring(0,5)){var g=d[e];null==g?(l++,this.convertImageToDataUri(e,function(f){null!=f&&(d[e]=f,c.setAttribute(p,f));l--;0==l&&b(a)})):c.setAttribute(p,g)}else null!=e&&c.setAttribute(p,e)})(e[g])});c("image","xlink:href");c("img","src");0==l&& b(a)};Editor.prototype.base64Encode=function(a){for(var b="",c=0,f=a.length,l,d,p;c<f;){l=a.charCodeAt(c++)&255;if(c==f){b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(l>>2);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((l&3)<<4);b+="==";break}d=a.charCodeAt(c++);if(c==f){b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(l>>2);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((l&3)<< 4|(d&240)>>4);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((d&15)<<2);b+="=";break}p=a.charCodeAt(c++);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(l>>2);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((l&3)<<4|(d&240)>>4);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((d&15)<<2|(p&192)>>6);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(p&63)}return b}; Editor.prototype.loadUrl=function(a,b,c,f,l,d){try{var p=f||/(\.png)($|\?)/i.test(a)||/(\.jpe?g)($|\?)/i.test(a)||/(\.gif)($|\?)/i.test(a);l=null!=l?l:!0;var e=mxUtils.bind(this,function(){mxUtils.get(a,mxUtils.bind(this,function(a){if(200<=a.getStatus()&&299>=a.getStatus()){if(null!=b){var f=a.getText();if(p){if((9==document.documentMode||10==document.documentMode)&&"undefined"!==typeof window.mxUtilsBinaryToArray){a=mxUtilsBinaryToArray(a.request.responseBody).toArray();for(var f=Array(a.length), l=0;l<a.length;l++)f[l]=String.fromCharCode(a[l]);f=f.join("")}d=null!=d?d:"data:image/png;base64,";f=d+this.base64Encode(f)}b(f)}}else null!=c&&c({code:App.ERROR_UNKNOWN},a)}),function(){null!=c&&c({code:App.ERROR_UNKNOWN})},p,this.timeout,function(){l&&null!=c&&c({code:App.ERROR_TIMEOUT,retry:e})})});e()}catch(Q){null!=c&&c(Q)}};Editor.prototype.loadFonts=function(a){if(null!=this.fontCss&&null==this.resolvedFontCss){var b=function(a){return a.replace(RegExp("^[\\s\"']+","g"),"").replace(RegExp("[\\s\"']+$", -"g"),"")},c=this.fontCss.split("url("),f=0,l={},d=mxUtils.bind(this,function(){if(0==f){for(var d=[c[0]],p=1;p<c.length;p++){var e=c[p].indexOf(")");d.push('url("');d.push(l[b(c[p].substring(0,e))]);d.push('"'+c[p].substring(e))}this.resolvedFontCss=d.join("");a()}});if(0<c.length)for(var p=1;p<c.length;p++){var e=c[p].indexOf(")"),k=null,g=c[p].indexOf("format(",e);0<g&&(k=b(c[p].substring(g+7,c[p].indexOf(")",g))));mxUtils.bind(this,function(a){if(null==l[a]){l[a]=a;f++;var b="application/x-font-ttf"; -if("svg"==k||/(\.svg)($|\?)/i.test(a))b="image/svg+xml";else if("otf"==k||"embedded-opentype"==k||/(\.otf)($|\?)/i.test(a))b="application/x-font-opentype";else if("woff"==k||/(\.woff)($|\?)/i.test(a))b="application/font-woff";else if("woff2"==k||/(\.woff2)($|\?)/i.test(a))b="application/font-woff2";else if("eot"==k||/(\.eot)($|\?)/i.test(a))b="application/vnd.ms-fontobject";else if("sfnt"==k||/(\.sfnt)($|\?)/i.test(a))b="application/font-sfnt";var c=a;/^https?:\/\//.test(c)&&!this.isCorsEnabledForUrl(c)&& -(c=PROXY_URL+"?url="+encodeURIComponent(a));this.loadUrl(c,mxUtils.bind(this,function(b){l[a]=b;f--;d()}),mxUtils.bind(this,function(a){f--;d()}),!0,null,"data:"+b+";charset=utf-8;base64,")}})(b(c[p].substring(0,e)),k)}}else a()};Editor.prototype.convertMath=function(a,b,c,f){a.mathEnabled&&"undefined"!==typeof MathJax&&"undefined"!==typeof MathJax.Hub?(Editor.MathJaxRender(b),window.setTimeout(mxUtils.bind(this,function(){MathJax.Hub.Queue(mxUtils.bind(this,function(){f()}))}),0)):f()};Editor.prototype.isExportToCanvas= -function(){return mxClient.IS_CHROMEAPP||!this.graph.mathEnabled&&this.useCanvasForExport};Editor.prototype.exportToCanvas=function(a,b,c,f,l,d,p,e,k,g,t,x,u,B){d=null!=d?d:!0;x=null!=x?x:this.graph;u=null!=u?u:0;var A=k?null:x.background;A==mxConstants.NONE&&(A=null);null==A&&(A=f);null==A&&0==k&&(A=this.graph.defaultPageBackgroundColor);this.convertImages(x.getSvg(A,null,null,B,null,null!=p?p:!0,null,null,null,g),mxUtils.bind(this,function(c){var f=new Image;f.onload=mxUtils.bind(this,function(){try{var p= -document.createElement("canvas"),k=parseInt(c.getAttribute("width")),g=parseInt(c.getAttribute("height"));e=null!=e?e:1;null!=b&&(e=d?Math.min(1,Math.min(3*b/(4*g),b/k)):b/k);k=Math.ceil(e*k)+2*u;g=Math.ceil(e*g)+2*u;p.setAttribute("width",k);p.setAttribute("height",g);var t=p.getContext("2d");null!=A&&(t.beginPath(),t.rect(0,0,k,g),t.fillStyle=A,t.fill());t.scale(e,e);mxClient.IS_SF?window.setTimeout(function(){t.drawImage(f,u/e,u/e);a(p)},0):(t.drawImage(f,u/e,u/e),a(p))}catch(X){null!=l&&l(X)}}); -f.onerror=function(a){null!=l&&l(a)};try{g&&this.graph.addSvgShadow(c);var p=mxUtils.bind(this,function(){if(null!=this.resolvedFontCss){var a=document.createElement("style");a.setAttribute("type","text/css");a.innerHTML=this.resolvedFontCss;c.getElementsByTagName("defs")[0].appendChild(a)}this.convertMath(x,c,!0,mxUtils.bind(this,function(){f.src=this.createSvgDataUri(mxUtils.getXml(c))}))});this.loadFonts(p)}catch(V){null!=l&&l(V)}}),c,t)};Editor.prototype.writeGraphModelToPng=function(a,b,c,f, -l){function d(a,b){var c=k;k+=b;return a.substring(c,k)}function p(a){a=d(a,4);return a.charCodeAt(3)+(a.charCodeAt(2)<<8)+(a.charCodeAt(1)<<16)+(a.charCodeAt(0)<<24)}function e(a){return String.fromCharCode(a>>24&255,a>>16&255,a>>8&255,a&255)}a=a.substring(a.indexOf(",")+1);a=window.atob?atob(a):Base64.decode(a,!0);var k=0;if(d(a,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=l&&l();else if(d(a,4),"IHDR"!=d(a,4))null!=l&&l();else{d(a,17);l=a.substring(0,k);do{var g=p(a); -if("IDAT"==d(a,4)){l=a.substring(0,k-8);c=c+String.fromCharCode(0)+("zTXt"==b?String.fromCharCode(0):"")+f;f=4294967295;f=EditorUi.prototype.updateCRC(f,b,0,4);f=EditorUi.prototype.updateCRC(f,c,0,c.length);l+=e(c.length)+b+c+e(f^4294967295);l+=a.substring(k-8,a.length);break}l+=a.substring(k-8,k-4+g);d(a,g);d(a,4)}while(g);return"data:image/png;base64,"+(window.btoa?btoa(l):Base64.encode(l,!0))}};if(window.ColorDialog){FilenameDialog.filenameHelpLink="https://desk.draw.io/support/solutions/articles/16000091426"; +"g"),"")},c=this.fontCss.split("url("),f=0,l={},d=mxUtils.bind(this,function(){if(0==f){for(var d=[c[0]],p=1;p<c.length;p++){var e=c[p].indexOf(")");d.push('url("');d.push(l[b(c[p].substring(0,e))]);d.push('"'+c[p].substring(e))}this.resolvedFontCss=d.join("");a()}});if(0<c.length)for(var p=1;p<c.length;p++){var e=c[p].indexOf(")"),g=null,q=c[p].indexOf("format(",e);0<q&&(g=b(c[p].substring(q+7,c[p].indexOf(")",q))));mxUtils.bind(this,function(a){if(null==l[a]){l[a]=a;f++;var b="application/x-font-ttf"; +if("svg"==g||/(\.svg)($|\?)/i.test(a))b="image/svg+xml";else if("otf"==g||"embedded-opentype"==g||/(\.otf)($|\?)/i.test(a))b="application/x-font-opentype";else if("woff"==g||/(\.woff)($|\?)/i.test(a))b="application/font-woff";else if("woff2"==g||/(\.woff2)($|\?)/i.test(a))b="application/font-woff2";else if("eot"==g||/(\.eot)($|\?)/i.test(a))b="application/vnd.ms-fontobject";else if("sfnt"==g||/(\.sfnt)($|\?)/i.test(a))b="application/font-sfnt";var c=a;/^https?:\/\//.test(c)&&!this.isCorsEnabledForUrl(c)&& +(c=PROXY_URL+"?url="+encodeURIComponent(a));this.loadUrl(c,mxUtils.bind(this,function(b){l[a]=b;f--;d()}),mxUtils.bind(this,function(a){f--;d()}),!0,null,"data:"+b+";charset=utf-8;base64,")}})(b(c[p].substring(0,e)),g)}}else a()};Editor.prototype.convertMath=function(a,b,c,f){a.mathEnabled&&"undefined"!==typeof MathJax&&"undefined"!==typeof MathJax.Hub?(Editor.MathJaxRender(b),window.setTimeout(mxUtils.bind(this,function(){MathJax.Hub.Queue(mxUtils.bind(this,function(){f()}))}),0)):f()};Editor.prototype.isExportToCanvas= +function(){return mxClient.IS_CHROMEAPP||!this.graph.mathEnabled&&this.useCanvasForExport};Editor.prototype.exportToCanvas=function(a,b,c,f,l,d,p,e,g,q,k,x,u,A){d=null!=d?d:!0;x=null!=x?x:this.graph;u=null!=u?u:0;var B=g?null:x.background;B==mxConstants.NONE&&(B=null);null==B&&(B=f);null==B&&0==g&&(B=this.graph.defaultPageBackgroundColor);this.convertImages(x.getSvg(B,null,null,A,null,null!=p?p:!0,null,null,null,q),mxUtils.bind(this,function(c){var f=new Image;f.onload=mxUtils.bind(this,function(){try{var p= +document.createElement("canvas"),g=parseInt(c.getAttribute("width")),q=parseInt(c.getAttribute("height"));e=null!=e?e:1;null!=b&&(e=d?Math.min(1,Math.min(3*b/(4*q),b/g)):b/g);g=Math.ceil(e*g)+2*u;q=Math.ceil(e*q)+2*u;p.setAttribute("width",g);p.setAttribute("height",q);var k=p.getContext("2d");null!=B&&(k.beginPath(),k.rect(0,0,g,q),k.fillStyle=B,k.fill());k.scale(e,e);mxClient.IS_SF?window.setTimeout(function(){k.drawImage(f,u/e,u/e);a(p)},0):(k.drawImage(f,u/e,u/e),a(p))}catch(X){null!=l&&l(X)}}); +f.onerror=function(a){null!=l&&l(a)};try{q&&this.graph.addSvgShadow(c);var p=mxUtils.bind(this,function(){if(null!=this.resolvedFontCss){var a=document.createElement("style");a.setAttribute("type","text/css");a.innerHTML=this.resolvedFontCss;c.getElementsByTagName("defs")[0].appendChild(a)}this.convertMath(x,c,!0,mxUtils.bind(this,function(){f.src=this.createSvgDataUri(mxUtils.getXml(c))}))});this.loadFonts(p)}catch(V){null!=l&&l(V)}}),c,k)};Editor.prototype.writeGraphModelToPng=function(a,b,c,f, +l){function d(a,b){var c=g;g+=b;return a.substring(c,g)}function p(a){a=d(a,4);return a.charCodeAt(3)+(a.charCodeAt(2)<<8)+(a.charCodeAt(1)<<16)+(a.charCodeAt(0)<<24)}function e(a){return String.fromCharCode(a>>24&255,a>>16&255,a>>8&255,a&255)}a=a.substring(a.indexOf(",")+1);a=window.atob?atob(a):Base64.decode(a,!0);var g=0;if(d(a,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=l&&l();else if(d(a,4),"IHDR"!=d(a,4))null!=l&&l();else{d(a,17);l=a.substring(0,g);do{var q=p(a); +if("IDAT"==d(a,4)){l=a.substring(0,g-8);c=c+String.fromCharCode(0)+("zTXt"==b?String.fromCharCode(0):"")+f;f=4294967295;f=EditorUi.prototype.updateCRC(f,b,0,4);f=EditorUi.prototype.updateCRC(f,c,0,c.length);l+=e(c.length)+b+c+e(f^4294967295);l+=a.substring(g-8,a.length);break}l+=a.substring(g-8,g-4+q);d(a,q);d(a,4)}while(q);return"data:image/png;base64,"+(window.btoa?btoa(l):Base64.encode(l,!0))}};if(window.ColorDialog){FilenameDialog.filenameHelpLink="https://desk.draw.io/support/solutions/articles/16000091426"; var g=ColorDialog.addRecentColor;ColorDialog.addRecentColor=function(a,b){g.apply(this,arguments);mxSettings.setRecentColors(ColorDialog.recentColors);mxSettings.save()};var e=ColorDialog.resetRecentColors;ColorDialog.resetRecentColors=function(){e.apply(this,arguments);mxSettings.setRecentColors(ColorDialog.recentColors);mxSettings.save()}}window.EditDataDialog&&(EditDataDialog.getDisplayIdForCell=function(a,b){var c=null;null!=a.editor.graph.getModel().getParent(b)?c=b.getId():null!=a.currentPage&& (c=a.currentPage.getId());return c});if(null!=window.StyleFormatPanel){var k=Format.prototype.init;Format.prototype.init=function(){k.apply(this,arguments);this.editorUi.editor.addListener("fileLoaded",this.update)};var m=Format.prototype.refresh;Format.prototype.refresh=function(){null!=this.editorUi.getCurrentFile()||"1"==urlParams.embed||this.editorUi.editor.chromeless?m.apply(this,arguments):this.clear()};DiagramFormatPanel.prototype.isShadowOptionVisible=function(){var a=this.editorUi.getCurrentFile(); return"1"==urlParams.embed||null!=a&&a.isEditable()};DiagramFormatPanel.prototype.isMathOptionVisible=function(a){return!1};var n=DiagramFormatPanel.prototype.addView;DiagramFormatPanel.prototype.addView=function(a){a=n.apply(this,arguments);this.editorUi.getCurrentFile();if(mxClient.IS_SVG&&this.isShadowOptionVisible()){var b=this.editorUi,c=b.editor.graph,f=this.createOption(mxResources.get("shadow"),function(){return c.shadowVisible},function(a){var f=new ChangePageSetup(b);f.ignoreColor=!0;f.ignoreImage= -!0;f.shadowVisible=a;c.model.execute(f)},{install:function(a){this.listener=function(){a(c.shadowVisible)};b.addListener("shadowVisibleChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}});Editor.shadowOptionEnabled||(f.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),mxUtils.setOpacity(f,60));a.appendChild(f)}return a};var q=DiagramFormatPanel.prototype.addOptions;DiagramFormatPanel.prototype.addOptions=function(a){a=q.apply(this,arguments);var b=this.editorUi, +!0;f.shadowVisible=a;c.model.execute(f)},{install:function(a){this.listener=function(){a(c.shadowVisible)};b.addListener("shadowVisibleChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}});Editor.shadowOptionEnabled||(f.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),mxUtils.setOpacity(f,60));a.appendChild(f)}return a};var t=DiagramFormatPanel.prototype.addOptions;DiagramFormatPanel.prototype.addOptions=function(a){a=t.apply(this,arguments);var b=this.editorUi, c=b.editor.graph;if(c.isEnabled()){var f=b.getCurrentFile();if(null!=f&&f.isAutosaveOptional()){var l=this.createOption(mxResources.get("autosave"),function(){return b.editor.autosave},function(a){b.editor.setAutosave(a);b.editor.autosave&&f.isModified()&&f.fileChanged()},{install:function(a){this.listener=function(){a(b.editor.autosave)};b.editor.addListener("autosaveChanged",this.listener)},destroy:function(){b.editor.removeListener(this.listener)}});a.appendChild(l)}}if(this.isMathOptionVisible()&& c.isEnabled()&&"undefined"!==typeof MathJax){l=this.createOption(mxResources.get("mathematicalTypesetting"),function(){return c.mathEnabled},function(a){b.actions.get("mathematicalTypesetting").funct()},{install:function(a){this.listener=function(){a(c.mathEnabled)};b.addListener("mathEnabledChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}});l.style.paddingTop="5px";a.appendChild(l);var d=b.menus.createHelpLink("https://desk.draw.io/support/solutions/articles/16000032875"); d.style.position="relative";d.style.marginLeft="6px";d.style.top="2px";l.appendChild(d)}return a};mxCellRenderer.prototype.defaultVertexShape.prototype.customProperties=[{name:"arcSize",dispName:"Arc Size",type:"float",min:0,defVal:mxConstants.LINE_ARCSIZE},{name:"absoluteArcSize",dispName:"Abs. Arc Size",type:"bool",defVal:!1}];mxCellRenderer.defaultShapes.link.prototype.customProperties=[{name:"width",dispName:"Width",type:"float",min:0,defVal:4}];mxCellRenderer.defaultShapes.flexArrow.prototype.customProperties= @@ -8223,20 +8213,20 @@ Editor.commonVertexProperties):Array.prototype.push.apply(l.shape.customProperti {},c=a.vertices,l=a.edges,d=0;d<c.length;d++)this.findCommonProperties(c[d],b,0==d);for(d=0;d<l.length;d++)this.findCommonProperties(l[d],b,0==c.length&&0==d);null!=Object.getOwnPropertyNames&&0<Object.getOwnPropertyNames(b).length&&this.container.appendChild(this.addProperties(this.createPanel(),b,a))}};var l=StyleFormatPanel.prototype.addStyleOps;StyleFormatPanel.prototype.addStyleOps=function(a){var b=mxUtils.button(mxResources.get("copyStyle"),mxUtils.bind(this,function(a){this.editorUi.actions.get("copyStyle").funct()})); b.setAttribute("title",mxResources.get("copyStyle")+" ("+this.editorUi.actions.get("copyStyle").shortcut+")");b.style.marginBottom="2px";b.style.width="100px";b.style.marginRight="2px";a.appendChild(b);b=mxUtils.button(mxResources.get("pasteStyle"),mxUtils.bind(this,function(a){this.editorUi.actions.get("pasteStyle").funct()}));b.setAttribute("title",mxResources.get("pasteStyle")+" ("+this.editorUi.actions.get("pasteStyle").shortcut+")");b.style.marginBottom="2px";b.style.width="100px";a.appendChild(b); mxUtils.br(a);return l.apply(this,arguments)};EditorUi.prototype.propertiesCollapsed=!0;StyleFormatPanel.prototype.addProperties=function(a,b,c){function f(a,b,c,f){x.getModel().beginUpdate();try{var l=[],d=[];if(null!=c.index){for(var p=[],e=c.parentRow.nextSibling;e&&e.getAttribute("data-pName")==a;)p.push(e.getAttribute("data-pValue")),e=e.nextSibling;c.index<p.length?null!=f?p.splice(f,1):p[c.index]=b:p.push(b);null!=c.size&&p.length>c.size&&(p=p.slice(0,c.size));b=p.join(",");null!=c.countProperty&& -(x.setCellStyles(c.countProperty,p.length,x.getSelectionCells()),l.push(c.countProperty),d.push(p.length))}x.setCellStyles(a,b,x.getSelectionCells());l.push(a);d.push(b);if(null!=c.dependentProps)for(a=0;a<c.dependentProps.length;a++){var k=c.dependentPropsDefVal[a],g=c.dependentPropsVals[a];if(g.length>b)g=g.slice(0,b);else for(var u=g.length;u<b;u++)g.push(k);g=g.join(",");x.setCellStyles(c.dependentProps[a],g,x.getSelectionCells());l.push(c.dependentProps[a]);d.push(g)}if("function"==typeof c.onChange)c.onChange(x, -b);t.editorUi.fireEvent(new mxEventObject("styleChanged","keys",l,"values",d,"cells",x.getSelectionCells()))}finally{x.getModel().endUpdate()}}function l(b,c,f){var l=mxUtils.getOffset(a,!0),d=mxUtils.getOffset(b,!0);c.style.position="absolute";c.style.left=d.x-l.x+"px";c.style.top=d.y-l.y+"px";c.style.width=b.offsetWidth+"px";c.style.height=b.offsetHeight-(f?4:0)+"px";c.style.zIndex=5}function d(a,b,c){var l=document.createElement("div");l.style.width="32px";l.style.height="4px";l.style.margin="2px"; -l.style.border="1px solid black";l.style.background=b&&"none"!=b?b:"url('"+Dialog.prototype.noColorImage+"')";btn=mxUtils.button("",mxUtils.bind(t,function(d){this.editorUi.pickColor(b,function(b){l.style.background="none"==b?"url('"+Dialog.prototype.noColorImage+"')":b;f(a,b,c)});mxEvent.consume(d)}));btn.style.height="12px";btn.style.width="40px";btn.className="geColorBtn";btn.appendChild(l);return btn}function p(a,b,c,l,d,p,e){null!=b&&(b=b.split(","),u.push({name:a,values:b,type:c,defVal:l,countProperty:d, -parentRow:p,isDeletable:!0,flipBkg:e}));btn=mxUtils.button("+",mxUtils.bind(t,function(b){for(var k=p,t=0;null!=k.nextSibling;)if(k.nextSibling.getAttribute("data-pName")==a)k=k.nextSibling,t++;else break;var x={type:c,parentRow:p,index:t,isDeletable:!0,defVal:l,countProperty:d},t=g(a,"",x,0==t%2,e);f(a,l,x);k.parentNode.insertBefore(t,k.nextSibling);mxEvent.consume(b)}));btn.style.height="16px";btn.style.width="25px";btn.className="geColorBtn";return btn}function e(a,b,c,f,l,d,p){if(0<l){var e=Array(l); -b=null!=b?b.split(","):[];for(var k=0;k<l;k++)e[k]=null!=b[k]?b[k]:null!=f?f:"";u.push({name:a,values:e,type:c,defVal:f,parentRow:d,flipBkg:p,size:l})}return document.createElement("div")}function k(a,b,c){var l=document.createElement("input");l.type="checkbox";l.checked="1"==b;mxEvent.addListener(l,"change",function(){f(a,l.checked?"1":"0",c)});return l}function g(b,c,g,x,u){var n=g.dispName,B=g.type,v=document.createElement("tr");v.className="gePropRow"+(u?"Dark":"")+(x?"Alt":"")+" gePropNonHeaderRow"; -v.setAttribute("data-pName",b);v.setAttribute("data-pValue",c);x=!1;null!=g.index&&(v.setAttribute("data-index",g.index),n=(null!=n?n:"")+"["+g.index+"]",x=!0);var A=document.createElement("td");A.className="gePropRowCell";A.innerHTML=mxUtils.htmlEntities(mxResources.get(n,null,n));x&&(A.style.textAlign="right");v.appendChild(A);A=document.createElement("td");A.className="gePropRowCell";if("color"==B)A.appendChild(d(b,c,g));else if("bool"==B||"boolean"==B)A.appendChild(k(b,c,g));else if("enum"==B){var m= -g.enumList;for(u=0;u<m.length;u++)if(n=m[u],n.val==c){A.innerHTML=mxUtils.htmlEntities(mxResources.get(n.dispName,null,n.dispName));break}mxEvent.addListener(A,"click",mxUtils.bind(t,function(){var d=document.createElement("select");l(A,d);for(var p=0;p<m.length;p++){var e=m[p],k=document.createElement("option");k.value=mxUtils.htmlEntities(e.val);k.innerHTML=mxUtils.htmlEntities(mxResources.get(e.dispName,null,e.dispName));d.appendChild(k)}d.value=c;a.appendChild(d);mxEvent.addListener(d,"change", -function(){var a=mxUtils.htmlEntities(d.value);f(b,a,g)});d.focus();mxEvent.addListener(d,"blur",function(){a.removeChild(d)})}))}else"dynamicArr"==B?A.appendChild(p(b,c,g.subType,g.subDefVal,g.countProperty,v,u)):"staticArr"==B?A.appendChild(e(b,c,g.subType,g.subDefVal,g.size,v,u)):(A.innerHTML=c,mxEvent.addListener(A,"click",mxUtils.bind(t,function(){function d(){var a=p.value,a=0==a.length&&"string"!=B?0:a;g.allowAuto&&("auto"==a.trim().toLowerCase()?(a="auto",B="string"):(a=parseFloat(a),a=isNaN(a)? -0:a));null!=g.min&&a<g.min?a=g.min:null!=g.max&&a>g.max&&(a=g.max);a=mxUtils.htmlEntities(("int"==B?parseInt(a):a)+"");f(b,a,g)}var p=document.createElement("input");l(A,p,!0);p.value=c;p.className="gePropEditor";"int"!=B&&"float"!=B||g.allowAuto||(p.type="number",p.step="int"==B?"1":"any",null!=g.min&&(p.min=parseFloat(g.min)),null!=g.max&&(p.max=parseFloat(g.max)));a.appendChild(p);mxEvent.addListener(p,"keypress",function(a){13==a.keyCode&&d()});p.focus();mxEvent.addListener(p,"blur",function(){d()})}))); -g.isDeletable&&(u=mxUtils.button("-",mxUtils.bind(t,function(a){f(b,"",g,g.index);mxEvent.consume(a)})),u.style.height="16px",u.style.width="25px",u.style["float"]="right",u.className="geColorBtn",A.appendChild(u));v.appendChild(A);return v}var t=this,x=this.editorUi.editor.graph,u=[];a.style.position="relative";a.style.padding="0";var B=document.createElement("table");B.style.whiteSpace="nowrap";B.style.width="100%";var n=document.createElement("tr");n.className="gePropHeader";var v=document.createElement("th"); -v.className="gePropHeaderCell";var A=document.createElement("img");A.src=Sidebar.prototype.expandedImage;v.appendChild(A);mxUtils.write(v,mxResources.get("property"));n.style.cursor="pointer";var m=function(){var b=B.querySelectorAll(".gePropNonHeaderRow"),c;if(t.editorUi.propertiesCollapsed){A.src=Sidebar.prototype.collapsedImage;c="none";for(var f=a.childNodes.length-1;0<=f;f--)try{var l=a.childNodes[f],d=l.nodeName.toUpperCase();"INPUT"!=d&&"SELECT"!=d||a.removeChild(l)}catch(O){}}else A.src=Sidebar.prototype.expandedImage, -c="";for(f=0;f<b.length;f++)b[f].style.display=c};mxEvent.addListener(n,"click",function(){t.editorUi.propertiesCollapsed=!t.editorUi.propertiesCollapsed;m()});n.appendChild(v);v=document.createElement("th");v.className="gePropHeaderCell";v.innerHTML=mxResources.get("value");n.appendChild(v);B.appendChild(n);var y=!1,z=!1,q;for(q in b)if(n=b[q],"function"!=typeof n.isVisible||n.isVisible(c,this)){var C=null!=c.style[q]?mxUtils.htmlEntities(c.style[q]+""):n.defVal;if("separator"==n.type)z=!z;else{if("staticArr"== -n.type)n.size=parseInt(c.style[n.sizeProperty]||b[n.sizeProperty].defVal)||0;else if(null!=n.dependentProps){for(var E=n.dependentProps,F=[],D=[],v=0;v<E.length;v++){var M=c.style[E[v]];D.push(b[E[v]].subDefVal);F.push(null!=M?M.split(","):[])}n.dependentPropsDefVal=D;n.dependentPropsVals=F}B.appendChild(g(q,C,n,y,z));y=!y}}for(v=0;v<u.length;v++)for(n=u[v],b=n.parentRow,c=0;c<n.values.length;c++)q=g(n.name,n.values[c],{type:n.type,parentRow:n.parentRow,isDeletable:n.isDeletable,index:c,defVal:n.defVal, -countProperty:n.countProperty,size:n.size},0==c%2,n.flipBkg),b.parentNode.insertBefore(q,b.nextSibling),b=q;a.appendChild(B);m();return a};StyleFormatPanel.prototype.addStyles=function(a){function b(a){function b(a){var b=mxUtils.button("",function(b){f.getModel().beginUpdate();try{var c=f.getSelectionCells();for(b=0;b<c.length;b++){for(var l=f.getModel().getStyle(c[b]),p=0;p<d.length;p++)l=mxUtils.removeStylename(l,d[p]);var e=f.getModel().isVertex(c[b])?f.defaultVertexStyle:f.defaultEdgeStyle;null!= +(x.setCellStyles(c.countProperty,p.length,x.getSelectionCells()),l.push(c.countProperty),d.push(p.length))}x.setCellStyles(a,b,x.getSelectionCells());l.push(a);d.push(b);if(null!=c.dependentProps)for(a=0;a<c.dependentProps.length;a++){var g=c.dependentPropsDefVal[a],q=c.dependentPropsVals[a];if(q.length>b)q=q.slice(0,b);else for(var u=q.length;u<b;u++)q.push(g);q=q.join(",");x.setCellStyles(c.dependentProps[a],q,x.getSelectionCells());l.push(c.dependentProps[a]);d.push(q)}if("function"==typeof c.onChange)c.onChange(x, +b);k.editorUi.fireEvent(new mxEventObject("styleChanged","keys",l,"values",d,"cells",x.getSelectionCells()))}finally{x.getModel().endUpdate()}}function l(b,c,f){var l=mxUtils.getOffset(a,!0),d=mxUtils.getOffset(b,!0);c.style.position="absolute";c.style.left=d.x-l.x+"px";c.style.top=d.y-l.y+"px";c.style.width=b.offsetWidth+"px";c.style.height=b.offsetHeight-(f?4:0)+"px";c.style.zIndex=5}function d(a,b,c){var l=document.createElement("div");l.style.width="32px";l.style.height="4px";l.style.margin="2px"; +l.style.border="1px solid black";l.style.background=b&&"none"!=b?b:"url('"+Dialog.prototype.noColorImage+"')";btn=mxUtils.button("",mxUtils.bind(k,function(d){this.editorUi.pickColor(b,function(b){l.style.background="none"==b?"url('"+Dialog.prototype.noColorImage+"')":b;f(a,b,c)});mxEvent.consume(d)}));btn.style.height="12px";btn.style.width="40px";btn.className="geColorBtn";btn.appendChild(l);return btn}function p(a,b,c,l,d,p,e){null!=b&&(b=b.split(","),u.push({name:a,values:b,type:c,defVal:l,countProperty:d, +parentRow:p,isDeletable:!0,flipBkg:e}));btn=mxUtils.button("+",mxUtils.bind(k,function(b){for(var g=p,k=0;null!=g.nextSibling;)if(g.nextSibling.getAttribute("data-pName")==a)g=g.nextSibling,k++;else break;var x={type:c,parentRow:p,index:k,isDeletable:!0,defVal:l,countProperty:d},k=q(a,"",x,0==k%2,e);f(a,l,x);g.parentNode.insertBefore(k,g.nextSibling);mxEvent.consume(b)}));btn.style.height="16px";btn.style.width="25px";btn.className="geColorBtn";return btn}function e(a,b,c,f,l,d,p){if(0<l){var e=Array(l); +b=null!=b?b.split(","):[];for(var g=0;g<l;g++)e[g]=null!=b[g]?b[g]:null!=f?f:"";u.push({name:a,values:e,type:c,defVal:f,parentRow:d,flipBkg:p,size:l})}return document.createElement("div")}function g(a,b,c){var l=document.createElement("input");l.type="checkbox";l.checked="1"==b;mxEvent.addListener(l,"change",function(){f(a,l.checked?"1":"0",c)});return l}function q(b,c,q,x,u){var n=q.dispName,A=q.type,v=document.createElement("tr");v.className="gePropRow"+(u?"Dark":"")+(x?"Alt":"")+" gePropNonHeaderRow"; +v.setAttribute("data-pName",b);v.setAttribute("data-pValue",c);x=!1;null!=q.index&&(v.setAttribute("data-index",q.index),n=(null!=n?n:"")+"["+q.index+"]",x=!0);var m=document.createElement("td");m.className="gePropRowCell";m.innerHTML=mxUtils.htmlEntities(mxResources.get(n,null,n));x&&(m.style.textAlign="right");v.appendChild(m);m=document.createElement("td");m.className="gePropRowCell";if("color"==A)m.appendChild(d(b,c,q));else if("bool"==A||"boolean"==A)m.appendChild(g(b,c,q));else if("enum"==A){var B= +q.enumList;for(u=0;u<B.length;u++)if(n=B[u],n.val==c){m.innerHTML=mxUtils.htmlEntities(mxResources.get(n.dispName,null,n.dispName));break}mxEvent.addListener(m,"click",mxUtils.bind(k,function(){var d=document.createElement("select");l(m,d);for(var p=0;p<B.length;p++){var e=B[p],g=document.createElement("option");g.value=mxUtils.htmlEntities(e.val);g.innerHTML=mxUtils.htmlEntities(mxResources.get(e.dispName,null,e.dispName));d.appendChild(g)}d.value=c;a.appendChild(d);mxEvent.addListener(d,"change", +function(){var a=mxUtils.htmlEntities(d.value);f(b,a,q)});d.focus();mxEvent.addListener(d,"blur",function(){a.removeChild(d)})}))}else"dynamicArr"==A?m.appendChild(p(b,c,q.subType,q.subDefVal,q.countProperty,v,u)):"staticArr"==A?m.appendChild(e(b,c,q.subType,q.subDefVal,q.size,v,u)):(m.innerHTML=c,mxEvent.addListener(m,"click",mxUtils.bind(k,function(){function d(){var a=p.value,a=0==a.length&&"string"!=A?0:a;q.allowAuto&&("auto"==a.trim().toLowerCase()?(a="auto",A="string"):(a=parseFloat(a),a=isNaN(a)? +0:a));null!=q.min&&a<q.min?a=q.min:null!=q.max&&a>q.max&&(a=q.max);a=mxUtils.htmlEntities(("int"==A?parseInt(a):a)+"");f(b,a,q)}var p=document.createElement("input");l(m,p,!0);p.value=c;p.className="gePropEditor";"int"!=A&&"float"!=A||q.allowAuto||(p.type="number",p.step="int"==A?"1":"any",null!=q.min&&(p.min=parseFloat(q.min)),null!=q.max&&(p.max=parseFloat(q.max)));a.appendChild(p);mxEvent.addListener(p,"keypress",function(a){13==a.keyCode&&d()});p.focus();mxEvent.addListener(p,"blur",function(){d()})}))); +q.isDeletable&&(u=mxUtils.button("-",mxUtils.bind(k,function(a){f(b,"",q,q.index);mxEvent.consume(a)})),u.style.height="16px",u.style.width="25px",u.style["float"]="right",u.className="geColorBtn",m.appendChild(u));v.appendChild(m);return v}var k=this,x=this.editorUi.editor.graph,u=[];a.style.position="relative";a.style.padding="0";var A=document.createElement("table");A.style.whiteSpace="nowrap";A.style.width="100%";var n=document.createElement("tr");n.className="gePropHeader";var v=document.createElement("th"); +v.className="gePropHeaderCell";var m=document.createElement("img");m.src=Sidebar.prototype.expandedImage;v.appendChild(m);mxUtils.write(v,mxResources.get("property"));n.style.cursor="pointer";var B=function(){var b=A.querySelectorAll(".gePropNonHeaderRow"),c;if(k.editorUi.propertiesCollapsed){m.src=Sidebar.prototype.collapsedImage;c="none";for(var f=a.childNodes.length-1;0<=f;f--)try{var l=a.childNodes[f],d=l.nodeName.toUpperCase();"INPUT"!=d&&"SELECT"!=d||a.removeChild(l)}catch(O){}}else m.src=Sidebar.prototype.expandedImage, +c="";for(f=0;f<b.length;f++)b[f].style.display=c};mxEvent.addListener(n,"click",function(){k.editorUi.propertiesCollapsed=!k.editorUi.propertiesCollapsed;B()});n.appendChild(v);v=document.createElement("th");v.className="gePropHeaderCell";v.innerHTML=mxResources.get("value");n.appendChild(v);A.appendChild(n);var y=!1,z=!1,t;for(t in b)if(n=b[t],"function"!=typeof n.isVisible||n.isVisible(c,this)){var C=null!=c.style[t]?mxUtils.htmlEntities(c.style[t]+""):n.defVal;if("separator"==n.type)z=!z;else{if("staticArr"== +n.type)n.size=parseInt(c.style[n.sizeProperty]||b[n.sizeProperty].defVal)||0;else if(null!=n.dependentProps){for(var F=n.dependentProps,D=[],G=[],v=0;v<F.length;v++){var M=c.style[F[v]];G.push(b[F[v]].subDefVal);D.push(null!=M?M.split(","):[])}n.dependentPropsDefVal=G;n.dependentPropsVals=D}A.appendChild(q(t,C,n,y,z));y=!y}}for(v=0;v<u.length;v++)for(n=u[v],b=n.parentRow,c=0;c<n.values.length;c++)t=q(n.name,n.values[c],{type:n.type,parentRow:n.parentRow,isDeletable:n.isDeletable,index:c,defVal:n.defVal, +countProperty:n.countProperty,size:n.size},0==c%2,n.flipBkg),b.parentNode.insertBefore(t,b.nextSibling),b=t;a.appendChild(A);B();return a};StyleFormatPanel.prototype.addStyles=function(a){function b(a){function b(a){var b=mxUtils.button("",function(b){f.getModel().beginUpdate();try{var c=f.getSelectionCells();for(b=0;b<c.length;b++){for(var l=f.getModel().getStyle(c[b]),p=0;p<d.length;p++)l=mxUtils.removeStylename(l,d[p]);var e=f.getModel().isVertex(c[b])?f.defaultVertexStyle:f.defaultEdgeStyle;null!= a?(l=mxUtils.setStyle(l,mxConstants.STYLE_GRADIENTCOLOR,a.gradient||mxUtils.getValue(e,mxConstants.STYLE_GRADIENTCOLOR,null)),l=""==a.fill?mxUtils.setStyle(l,mxConstants.STYLE_FILLCOLOR,null):mxUtils.setStyle(l,mxConstants.STYLE_FILLCOLOR,a.fill||mxUtils.getValue(e,mxConstants.STYLE_FILLCOLOR,null)),l=""==a.stroke?mxUtils.setStyle(l,mxConstants.STYLE_STROKECOLOR,null):mxUtils.setStyle(l,mxConstants.STYLE_STROKECOLOR,a.stroke||mxUtils.getValue(e,mxConstants.STYLE_STROKECOLOR,null)),f.getModel().isVertex(c[b])&& (l=mxUtils.setStyle(l,mxConstants.STYLE_FONTCOLOR,a.font||mxUtils.getValue(e,mxConstants.STYLE_FONTCOLOR,null)))):(l=mxUtils.setStyle(l,mxConstants.STYLE_FILLCOLOR,mxUtils.getValue(e,mxConstants.STYLE_FILLCOLOR,"#ffffff")),l=mxUtils.setStyle(l,mxConstants.STYLE_STROKECOLOR,mxUtils.getValue(e,mxConstants.STYLE_STROKECOLOR,"#000000")),l=mxUtils.setStyle(l,mxConstants.STYLE_GRADIENTCOLOR,mxUtils.getValue(e,mxConstants.STYLE_GRADIENTCOLOR,null)),f.getModel().isVertex(c[b])&&(l=mxUtils.setStyle(l,mxConstants.STYLE_FONTCOLOR, mxUtils.getValue(e,mxConstants.STYLE_FONTCOLOR,null))));f.getModel().setStyle(c[b],l)}}finally{f.getModel().endUpdate()}});b.className="geStyleButton";b.style.width="36px";b.style.height="30px";b.style.margin="0px 6px 6px 0px";if(null!=a)null!=a.gradient?mxClient.IS_IE&&(mxClient.IS_QUIRKS||10>document.documentMode)?b.style.filter="progid:DXImageTransform.Microsoft.Gradient(StartColorStr='"+a.fill+"', EndColorStr='"+a.gradient+"', GradientType=0)":b.style.backgroundImage="linear-gradient("+a.fill+ @@ -8254,9 +8244,9 @@ a.button,b.relatedTarget=a.relatedTarget}catch(I){}}p.apply(this,arguments);wind this.layoutManager.getLayout=function(a){var b=this.graph.getCellStyle(a);if(null!=b){if("rack"==b.childLayout){var c=new mxStackLayout(this.graph,!1);c.gridSize=null!=b.rackUnitSize?parseFloat(b.rackUnitSize):"undefined"!==typeof mxRackContainer?mxRackContainer.unitSize:20;c.fill=!0;c.marginLeft=b.marginLeft||0;c.marginRight=b.marginRight||0;c.marginTop=b.marginTop||0;c.marginBottom=b.marginBottom||0;c.allowGaps=b.allowGaps||0;c.resizeParent=!1;return c}if("undefined"!==typeof mxTableLayout&&"tableLayout"== b.childLayout)return c=new mxTableLayout(this.graph),c.rows=b.tableRows||2,c.columns=b.tableColumns||2,c.colPercentages=b.colPercentages,c.rowPercentages=b.rowPercentages,c.equalColumns="1"==mxUtils.getValue(b,"equalColumns",c.colPercentages?"0":"1"),c.equalRows="1"==mxUtils.getValue(b,"equalRows",c.rowPercentages?"0":"1"),c.resizeParent="1"==mxUtils.getValue(b,"resizeParent","1"),c.border=b.tableBorder||c.border,c.marginLeft=b.marginLeft||0,c.marginRight=b.marginRight||0,c.marginTop=b.marginTop|| 0,c.marginBottom=b.marginBottom||0,c.autoAddCol="1"==mxUtils.getValue(b,"autoAddCol","0"),c.autoAddRow="1"==mxUtils.getValue(b,"autoAddRow",c.autoAddCol?"0":"1"),c.colWidths=b.colWidths||"100",c.rowHeights=b.rowHeights||"50",c}return f.apply(this,arguments)};this.updateGlobalUrlVariables()};Graph.prototype.updateGlobalUrlVariables=function(){this.globalVars=Editor.globalVars;if(null!=urlParams.vars)try{this.globalVars=null!=this.globalVars?mxUtils.clone(this.globalVars):{};var a=JSON.parse(decodeURIComponent(urlParams.vars)); -if(null!=a)for(var b in a)this.globalVars[b]=a[b]}catch(D){null!=window.console&&console.log("Error in vars URL parameter: "+D)}};Graph.prototype.getExportVariables=function(){return null!=this.globalVars?mxUtils.clone(this.globalVars):{}};var u=Graph.prototype.getGlobalVariable;Graph.prototype.getGlobalVariable=function(a){var b=u.apply(this,arguments);null==b&&null!=this.globalVars&&(b=this.globalVars[a]);return b};Graph.prototype.getDefaultStylesheet=function(){if(null==this.defaultStylesheet){var a= -this.themes["default-style2"];this.defaultStylesheet=(new mxCodec(a.ownerDocument)).decode(a)}return this.defaultStylesheet};Graph.prototype.isViewer=function(){return urlParams.viewer};var v=Graph.prototype.getSvg;Graph.prototype.getSvg=function(){var a=null;null!=this.themes&&"darkTheme"==this.defaultThemeName&&(a=this.stylesheet,this.stylesheet=this.getDefaultStylesheet(),this.refresh());var b=v.apply(this,arguments);null!=a&&(this.stylesheet=a,this.refresh());return b};var t=Graph.prototype.isCssTransformsSupported; -Graph.prototype.isCssTransformsSupported=function(){return t.apply(this,arguments)&&!mxClient.IS_SF};var z=mxGraphView.prototype.validateBackgroundPage;mxGraphView.prototype.validateBackgroundPage=function(){z.apply(this,arguments);if(mxClient.IS_GC&&null!=this.getDrawPane()){var a=this.getDrawPane().parentNode;!this.graph.mathEnabled||mxClient.NO_FO||null!=this.webKitForceRepaintNode&&null!=this.webKitForceRepaintNode.parentNode||"svg"!=this.graph.container.firstChild.nodeName?null==this.webKitForceRepaintNode|| +if(null!=a)for(var b in a)this.globalVars[b]=a[b]}catch(G){null!=window.console&&console.log("Error in vars URL parameter: "+G)}};Graph.prototype.getExportVariables=function(){return null!=this.globalVars?mxUtils.clone(this.globalVars):{}};var u=Graph.prototype.getGlobalVariable;Graph.prototype.getGlobalVariable=function(a){var b=u.apply(this,arguments);null==b&&null!=this.globalVars&&(b=this.globalVars[a]);return b};Graph.prototype.getDefaultStylesheet=function(){if(null==this.defaultStylesheet){var a= +this.themes["default-style2"];this.defaultStylesheet=(new mxCodec(a.ownerDocument)).decode(a)}return this.defaultStylesheet};Graph.prototype.isViewer=function(){return urlParams.viewer};var v=Graph.prototype.getSvg;Graph.prototype.getSvg=function(){var a=null;null!=this.themes&&"darkTheme"==this.defaultThemeName&&(a=this.stylesheet,this.stylesheet=this.getDefaultStylesheet(),this.refresh());var b=v.apply(this,arguments);null!=a&&(this.stylesheet=a,this.refresh());return b};var q=Graph.prototype.isCssTransformsSupported; +Graph.prototype.isCssTransformsSupported=function(){return q.apply(this,arguments)&&!mxClient.IS_SF};var z=mxGraphView.prototype.validateBackgroundPage;mxGraphView.prototype.validateBackgroundPage=function(){z.apply(this,arguments);if(mxClient.IS_GC&&null!=this.getDrawPane()){var a=this.getDrawPane().parentNode;!this.graph.mathEnabled||mxClient.NO_FO||null!=this.webKitForceRepaintNode&&null!=this.webKitForceRepaintNode.parentNode||"svg"!=this.graph.container.firstChild.nodeName?null==this.webKitForceRepaintNode|| this.graph.mathEnabled&&("svg"==this.graph.container.firstChild.nodeName||this.graph.container.firstChild==this.webKitForceRepaintNode)||(null!=this.webKitForceRepaintNode.parentNode&&this.webKitForceRepaintNode.parentNode.removeChild(this.webKitForceRepaintNode),this.webKitForceRepaintNode=null):(this.webKitForceRepaintNode=document.createElement("div"),this.webKitForceRepaintNode.style.cssText="position:absolute;",a.ownerSVGElement.parentNode.insertBefore(this.webKitForceRepaintNode,a.ownerSVGElement))}}; var y=Graph.prototype.loadStylesheet;Graph.prototype.loadStylesheet=function(){y.apply(this,arguments);this.currentStyle="default-style2"};Graph.prototype.handleCustomLink=function(a){if("data:action/json,"==a.substring(0,17)&&(a=JSON.parse(a.substring(17)),null!=a.actions)){for(var b=0;b<a.actions.length;b++){var c=a.actions[b];if(null!=c.open)if(this.isCustomLink(c.open)){if(!this.customLinkClicked(c.open))return}else this.openLink(c.open)}this.model.beginUpdate();try{for(b=0;b<a.actions.length;b++)c= a.actions[b],null!=c.toggle&&this.toggleCells(this.getCellsForAction(c.toggle,!0)),null!=c.show&&this.setCellsVisible(this.getCellsForAction(c.show,!0),!0),null!=c.hide&&this.setCellsVisible(this.getCellsForAction(c.hide,!0),!1)}finally{this.model.endUpdate()}for(b=0;b<a.actions.length;b++){var c=a.actions[b],f=[];null!=c.select&&this.isEnabled()&&(f=this.getCellsForAction(c.select),this.setSelectionCells(f));null!=c.highlight&&(f=this.getCellsForAction(c.highlight),this.highlightCells(f,c.highlight.color, @@ -8264,7 +8254,7 @@ c.highlight.duration,c.highlight.opacity));null!=c.scroll&&(f=this.getCellsForAc null!=c&&"data:action/json,"==c.substring(0,17)&&(l[p].setAttribute("href",this.updateCustomLink(a,c)),d=!0);d&&this.labelChanged(b,f.innerHTML)}};Graph.prototype.updateCustomLink=function(a,b){if("data:action/json,"==b.substring(0,17))try{var c=JSON.parse(b.substring(17));null!=c.actions&&(this.updateCustomLinkActions(a,c.actions),b="data:action/json,"+JSON.stringify(c))}catch(H){}return b};Graph.prototype.updateCustomLinkActions=function(a,b){for(var c=0;c<b.length;c++){var f=b[c];this.updateCustomLinkAction(a, f.toggle);this.updateCustomLinkAction(a,f.show);this.updateCustomLinkAction(a,f.hide);this.updateCustomLinkAction(a,f.select);this.updateCustomLinkAction(a,f.highlight);this.updateCustomLinkAction(a,f.scroll)}};Graph.prototype.updateCustomLinkAction=function(a,b){if(null!=b&&null!=b.cells){for(var c=[],f=0;f<b.cells.length;f++)if("*"==b.cells[f])c.push(b.cells[f]);else{var l=a[b.cells[f]];null!=l?""!=l&&c.push(l):c.push(b.cells[f])}b.cells=c}};Graph.prototype.getCellsForAction=function(a,b){return this.getCellsById(a.cells).concat(this.getCellsForTags(a.tags, null,null,b))};Graph.prototype.getCellsById=function(a){var b=[];if(null!=a)for(var c=0;c<a.length;c++)if("*"==a[c])var f=this.getDefaultParent(),b=b.concat(this.model.filterDescendants(function(a){return a!=f},f));else{var l=this.model.getCell(a[c]);null!=l&&b.push(l)}return b};Graph.prototype.getCellsForTags=function(a,b,c,f){var l=[];if(null!=a){b=null!=b?b:this.model.getDescendants(this.model.getRoot());c=null!=c?c:"tags";for(var d=0,p={},e=0;e<a.length;e++)0<a[e].length&&(p[a[e].toLowerCase()]= -!0,d++);for(e=0;e<b.length;e++)if(f&&this.model.getParent(b[e])==this.model.root||this.model.isVertex(b[e])||this.model.isEdge(b[e])){var k=null!=b[e].value&&"object"==typeof b[e].value?mxUtils.trim(b[e].value.getAttribute(c)||""):"",g=!1;if(0<k.length){if(k=k.toLowerCase().split(" "),k.length>=a.length){for(var t=g=0;t<k.length&&g<d;t++)null!=p[k[t]]&&g++;g=g==d}}else g=0==a.length;g&&l.push(b[e])}}return l};Graph.prototype.toggleCells=function(a){this.model.beginUpdate();try{for(var b=0;b<a.length;b++)this.model.setVisible(a[b], +!0,d++);for(e=0;e<b.length;e++)if(f&&this.model.getParent(b[e])==this.model.root||this.model.isVertex(b[e])||this.model.isEdge(b[e])){var g=null!=b[e].value&&"object"==typeof b[e].value?mxUtils.trim(b[e].value.getAttribute(c)||""):"",q=!1;if(0<g.length){if(g=g.toLowerCase().split(" "),g.length>=a.length){for(var k=q=0;k<g.length&&q<d;k++)null!=p[g[k]]&&q++;q=q==d}}else q=0==a.length;q&&l.push(b[e])}}return l};Graph.prototype.toggleCells=function(a){this.model.beginUpdate();try{for(var b=0;b<a.length;b++)this.model.setVisible(a[b], !this.model.isVisible(a[b]))}finally{this.model.endUpdate()}};Graph.prototype.setCellsVisible=function(a,b){this.model.beginUpdate();try{for(var c=0;c<a.length;c++)this.model.setVisible(a[c],b)}finally{this.model.endUpdate()}};Graph.prototype.highlightCells=function(a,b,c,f){for(var l=0;l<a.length;l++)this.highlightCell(a[l],b,c,f)};Graph.prototype.highlightCell=function(a,b,c,f){b=null!=b?b:mxConstants.DEFAULT_VALID_COLOR;c=null!=c?c:1E3;a=this.view.getState(a);if(null!=a){var l=Math.max(5,mxUtils.getValue(a.style, mxConstants.STYLE_STROKEWIDTH,1)+4),d=new mxCellHighlight(this,b,l,!1);null!=f&&(d.opacity=f);d.highlight(a);window.setTimeout(function(){null!=d.shape&&(mxUtils.setPrefixedStyle(d.shape.node.style,"transition","all 1200ms ease-in-out"),d.shape.node.style.opacity=0);window.setTimeout(function(){d.destroy()},1200)},c)}};Graph.prototype.addSvgShadow=function(a,b,c){c=null!=c?c:!1;var f=a.ownerDocument,l=null!=f.createElementNS?f.createElementNS(mxConstants.NS_SVG,"filter"):f.createElement("filter"); l.setAttribute("id",this.shadowId);var d=null!=f.createElementNS?f.createElementNS(mxConstants.NS_SVG,"feGaussianBlur"):f.createElement("feGaussianBlur");d.setAttribute("in","SourceAlpha");d.setAttribute("stdDeviation",this.svgShadowBlur);d.setAttribute("result","blur");l.appendChild(d);d=null!=f.createElementNS?f.createElementNS(mxConstants.NS_SVG,"feOffset"):f.createElement("feOffset");d.setAttribute("in","blur");d.setAttribute("dx",this.svgShadowSize);d.setAttribute("dy",this.svgShadowSize);d.setAttribute("result", @@ -8280,29 +8270,29 @@ a)?this.view.getDrawPane().setAttribute("filter","url(#"+this.shadowId+")"):this [SHAPES_PATH+"/mockup/mxMockupText.js"];mxStencilRegistry.libraries.floorplan=[SHAPES_PATH+"/mxFloorplan.js",STENCIL_PATH+"/floorplan.xml"];mxStencilRegistry.libraries.bootstrap=[SHAPES_PATH+"/mxBootstrap.js",STENCIL_PATH+"/bootstrap.xml"];mxStencilRegistry.libraries.gmdl=[SHAPES_PATH+"/mxGmdl.js",STENCIL_PATH+"/gmdl.xml"];mxStencilRegistry.libraries.gcp2=[SHAPES_PATH+"/mxGCP2.js",STENCIL_PATH+"/gcp2.xml"];mxStencilRegistry.libraries.cabinets=[SHAPES_PATH+"/mxCabinets.js",STENCIL_PATH+"/cabinets.xml"]; mxStencilRegistry.libraries.archimate=[SHAPES_PATH+"/mxArchiMate.js"];mxStencilRegistry.libraries.archimate3=[SHAPES_PATH+"/mxArchiMate3.js"];mxStencilRegistry.libraries.sysml=[SHAPES_PATH+"/mxSysML.js"];mxStencilRegistry.libraries.eip=[SHAPES_PATH+"/mxEip.js",STENCIL_PATH+"/eip.xml"];mxStencilRegistry.libraries.networks=[SHAPES_PATH+"/mxNetworks.js",STENCIL_PATH+"/networks.xml"];mxStencilRegistry.libraries.aws3d=[SHAPES_PATH+"/mxAWS3D.js",STENCIL_PATH+"/aws3d.xml"];mxStencilRegistry.libraries.aws4= [SHAPES_PATH+"/mxAWS4.js",STENCIL_PATH+"/aws4.xml"];mxStencilRegistry.libraries.aws4b=[SHAPES_PATH+"/mxAWS4.js",STENCIL_PATH+"/aws4.xml"];mxStencilRegistry.libraries.veeam=[STENCIL_PATH+"/veeam/2d.xml",STENCIL_PATH+"/veeam/3d.xml",STENCIL_PATH+"/veeam/veeam.xml"];mxStencilRegistry.libraries.pid2inst=[SHAPES_PATH+"/pid2/mxPidInstruments.js"];mxStencilRegistry.libraries.pid2misc=[SHAPES_PATH+"/pid2/mxPidMisc.js",STENCIL_PATH+"/pid/misc.xml"];mxStencilRegistry.libraries.pid2valves=[SHAPES_PATH+"/pid2/mxPidValves.js"]; -mxStencilRegistry.libraries.pidFlowSensors=[STENCIL_PATH+"/pid/flow_sensors.xml"];mxMarker.getPackageForType=function(a){var b=null;null!=a&&0<a.length&&("ER"==a.substring(0,2)?b="mxgraph.er":"sysML"==a.substring(0,5)&&(b="mxgraph.sysml"));return b};var C=mxMarker.createMarker;mxMarker.createMarker=function(a,b,c,f,l,d,p,e,k,g){if(null!=c&&null==mxMarker.markers[c]){var t=this.getPackageForType(c);null!=t&&mxStencilRegistry.getStencil(t)}return C.apply(this,arguments)};PrintDialog.prototype.create= -function(a,b){function c(){n.value=Math.max(1,Math.min(e,Math.max(parseInt(n.value),parseInt(u.value))));u.value=Math.max(1,Math.min(e,Math.min(parseInt(n.value),parseInt(u.value))))}function f(b){function c(b,c,d){var p=b.useCssTransforms,e=b.currentTranslate,g=b.currentScale,k=b.view.translate,t=b.view.scale;b.useCssTransforms&&(b.useCssTransforms=!1,b.currentTranslate=new mxPoint(0,0),b.currentScale=1,b.view.translate=new mxPoint(0,0),b.view.scale=1);var x=b.getGraphBounds(),u=0,B=0,n=ja.get(), -v=1/b.pageScale,A=y.checked;if(A)var v=parseInt(S.value),z=parseInt(U.value),v=Math.min(n.height*z/(x.height/b.view.scale),n.width*v/(x.width/b.view.scale));else v=parseInt(m.value)/(100*b.pageScale),isNaN(v)&&(f=1/b.pageScale,m.value="100 %");n=mxRectangle.fromRectangle(n);n.width=Math.ceil(n.width*f);n.height=Math.ceil(n.height*f);v*=f;!A&&b.pageVisible?(x=b.getPageLayout(),u-=x.x*n.width,B-=x.y*n.height):A=!0;if(null==c){c=PrintDialog.createPrintPreview(b,v,n,0,u,B,A);c.pageSelector=!1;c.mathEnabled= -!1;u=a.getCurrentFile();null!=u&&(c.title=u.getTitle());var q=c.writeHead;c.writeHead=function(b){q.apply(this,arguments);null!=a.editor.fontCss&&(b.writeln('<style type="text/css">'),b.writeln(a.editor.fontCss),b.writeln("</style>"))};if("undefined"!==typeof MathJax){var C=c.renderPage;c.renderPage=function(a,b,c,f,l,d){var p=mxClient.NO_FO;mxClient.NO_FO=this.graph.mathEnabled&&!this.useForeignObjectForMath?!0:this.originalNoForeignObject;var e=C.apply(this,arguments);mxClient.NO_FO=p;this.graph.mathEnabled? -this.mathEnabled=this.mathEnabled||!0:e.className="geDisableMathJax";return e}}u=null;null!=l.themes&&"darkTheme"==l.defaultThemeName&&(u=l.stylesheet,l.stylesheet=l.getDefaultStylesheet(),l.refresh());c.open(null,null,d,!0);null!=u&&(l.stylesheet=u,l.refresh())}else{n=b.background;if(null==n||""==n||n==mxConstants.NONE)n="#ffffff";c.backgroundColor=n;c.autoOrigin=A;c.appendGraph(b,v,u,B,d,!0)}p&&(b.useCssTransforms=p,b.currentTranslate=e,b.currentScale=g,b.view.translate=k,b.view.scale=t);return c} -var f=parseInt(ka.value)/100;isNaN(f)&&(f=1,ka.value="100 %");var f=.75*f,d=u.value,p=n.value,e=!t.checked,g=null;e&&(e=d==k&&p==k);if(!e&&null!=a.pages&&a.pages.length){var x=0,e=a.pages.length-1;t.checked||(x=parseInt(d)-1,e=parseInt(p)-1);for(var B=x;B<=e;B++){var v=a.pages[B],d=v==a.currentPage?l:null;if(null==d){var d=a.createTemporaryGraph(l.getStylesheet()),p=!0,x=!1,A=null,z=null;null==v.viewState&&null==v.root&&a.updatePageRoot(v);null!=v.viewState&&(p=v.viewState.pageVisible,x=v.viewState.mathEnabled, -A=v.viewState.background,z=v.viewState.backgroundImage);d.background=A;d.backgroundImage=null!=z?new mxImage(z.src,z.width,z.height):null;d.pageVisible=p;d.mathEnabled=x;var q=d.getGlobalVariable;d.getGlobalVariable=function(b){return"page"==b?v.getName():"pagenumber"==b?B+1:"pagecount"==b?null!=a.pages?a.pages.length:1:q.apply(this,arguments)};document.body.appendChild(d.container);a.updatePageRoot(v);d.model.setRoot(v.root)}g=c(d,g,B!=e);d!=l&&d.container.parentNode.removeChild(d.container)}}else g= -c(l);null==g?a.handleError({message:mxResources.get("errorUpdatingPreview")}):(g.mathEnabled&&(e=g.wnd.document,e.writeln('<script type="text/x-mathjax-config">'),e.writeln("MathJax.Hub.Config({"),e.writeln("showMathMenu: false,"),e.writeln('messageStyle: "none",'),e.writeln('jax: ["input/TeX", "input/MathML", "input/AsciiMath", "output/HTML-CSS"],'),e.writeln('extensions: ["tex2jax.js", "mml2jax.js", "asciimath2jax.js"],'),e.writeln('"HTML-CSS": {'),e.writeln("imageFont: null"),e.writeln("},"),e.writeln("TeX: {"), +mxStencilRegistry.libraries.pidFlowSensors=[STENCIL_PATH+"/pid/flow_sensors.xml"];mxMarker.getPackageForType=function(a){var b=null;null!=a&&0<a.length&&("ER"==a.substring(0,2)?b="mxgraph.er":"sysML"==a.substring(0,5)&&(b="mxgraph.sysml"));return b};var C=mxMarker.createMarker;mxMarker.createMarker=function(a,b,c,f,l,d,p,e,g,q){if(null!=c&&null==mxMarker.markers[c]){var k=this.getPackageForType(c);null!=k&&mxStencilRegistry.getStencil(k)}return C.apply(this,arguments)};PrintDialog.prototype.create= +function(a,b){function c(){n.value=Math.max(1,Math.min(e,Math.max(parseInt(n.value),parseInt(u.value))));u.value=Math.max(1,Math.min(e,Math.min(parseInt(n.value),parseInt(u.value))))}function f(b){function c(b,c,d){var p=b.useCssTransforms,e=b.currentTranslate,q=b.currentScale,g=b.view.translate,k=b.view.scale;b.useCssTransforms&&(b.useCssTransforms=!1,b.currentTranslate=new mxPoint(0,0),b.currentScale=1,b.view.translate=new mxPoint(0,0),b.view.scale=1);var x=b.getGraphBounds(),u=0,A=0,n=ja.get(), +v=1/b.pageScale,z=y.checked;if(z)var v=parseInt(S.value),B=parseInt(U.value),v=Math.min(n.height*B/(x.height/b.view.scale),n.width*v/(x.width/b.view.scale));else v=parseInt(m.value)/(100*b.pageScale),isNaN(v)&&(f=1/b.pageScale,m.value="100 %");n=mxRectangle.fromRectangle(n);n.width=Math.ceil(n.width*f);n.height=Math.ceil(n.height*f);v*=f;!z&&b.pageVisible?(x=b.getPageLayout(),u-=x.x*n.width,A-=x.y*n.height):z=!0;if(null==c){c=PrintDialog.createPrintPreview(b,v,n,0,u,A,z);c.pageSelector=!1;c.mathEnabled= +!1;u=a.getCurrentFile();null!=u&&(c.title=u.getTitle());var t=c.writeHead;c.writeHead=function(b){t.apply(this,arguments);null!=a.editor.fontCss&&(b.writeln('<style type="text/css">'),b.writeln(a.editor.fontCss),b.writeln("</style>"))};if("undefined"!==typeof MathJax){var C=c.renderPage;c.renderPage=function(a,b,c,f,l,d){var p=mxClient.NO_FO;mxClient.NO_FO=this.graph.mathEnabled&&!this.useForeignObjectForMath?!0:this.originalNoForeignObject;var e=C.apply(this,arguments);mxClient.NO_FO=p;this.graph.mathEnabled? +this.mathEnabled=this.mathEnabled||!0:e.className="geDisableMathJax";return e}}u=null;null!=l.themes&&"darkTheme"==l.defaultThemeName&&(u=l.stylesheet,l.stylesheet=l.getDefaultStylesheet(),l.refresh());c.open(null,null,d,!0);null!=u&&(l.stylesheet=u,l.refresh())}else{n=b.background;if(null==n||""==n||n==mxConstants.NONE)n="#ffffff";c.backgroundColor=n;c.autoOrigin=z;c.appendGraph(b,v,u,A,d,!0)}p&&(b.useCssTransforms=p,b.currentTranslate=e,b.currentScale=q,b.view.translate=g,b.view.scale=k);return c} +var f=parseInt(ka.value)/100;isNaN(f)&&(f=1,ka.value="100 %");var f=.75*f,d=u.value,p=n.value,e=!k.checked,q=null;e&&(e=d==g&&p==g);if(!e&&null!=a.pages&&a.pages.length){var x=0,e=a.pages.length-1;k.checked||(x=parseInt(d)-1,e=parseInt(p)-1);for(var A=x;A<=e;A++){var v=a.pages[A],d=v==a.currentPage?l:null;if(null==d){var d=a.createTemporaryGraph(l.getStylesheet()),p=!0,x=!1,z=null,B=null;null==v.viewState&&null==v.root&&a.updatePageRoot(v);null!=v.viewState&&(p=v.viewState.pageVisible,x=v.viewState.mathEnabled, +z=v.viewState.background,B=v.viewState.backgroundImage);d.background=z;d.backgroundImage=null!=B?new mxImage(B.src,B.width,B.height):null;d.pageVisible=p;d.mathEnabled=x;var t=d.getGlobalVariable;d.getGlobalVariable=function(b){return"page"==b?v.getName():"pagenumber"==b?A+1:"pagecount"==b?null!=a.pages?a.pages.length:1:t.apply(this,arguments)};document.body.appendChild(d.container);a.updatePageRoot(v);d.model.setRoot(v.root)}q=c(d,q,A!=e);d!=l&&d.container.parentNode.removeChild(d.container)}}else q= +c(l);null==q?a.handleError({message:mxResources.get("errorUpdatingPreview")}):(q.mathEnabled&&(e=q.wnd.document,e.writeln('<script type="text/x-mathjax-config">'),e.writeln("MathJax.Hub.Config({"),e.writeln("showMathMenu: false,"),e.writeln('messageStyle: "none",'),e.writeln('jax: ["input/TeX", "input/MathML", "input/AsciiMath", "output/HTML-CSS"],'),e.writeln('extensions: ["tex2jax.js", "mml2jax.js", "asciimath2jax.js"],'),e.writeln('"HTML-CSS": {'),e.writeln("imageFont: null"),e.writeln("},"),e.writeln("TeX: {"), e.writeln('extensions: ["AMSmath.js", "AMSsymbols.js", "noErrors.js", "noUndefined.js"]'),e.writeln("},"),e.writeln("tex2jax: {"),e.writeln('\tignoreClass: "geDisableMathJax"'),e.writeln("},"),e.writeln("asciimath2jax: {"),e.writeln('\tignoreClass: "geDisableMathJax"'),e.writeln("}"),e.writeln("});"),b&&(e.writeln("MathJax.Hub.Queue(function () {"),e.writeln("window.print();"),e.writeln("});")),e.writeln("\x3c/script>"),e.writeln('<script type="text/javascript" src="'+DRAW_MATH_URL+'/MathJax.js">\x3c/script>')), -g.closeDocument(),!g.mathEnabled&&b&&PrintDialog.printPreview(g))}var l=a.editor.graph,d=document.createElement("div"),p=document.createElement("h3");p.style.width="100%";p.style.textAlign="center";p.style.marginTop="0px";mxUtils.write(p,b||mxResources.get("print"));d.appendChild(p);var e=1,k=1,g=document.createElement("div");g.style.cssText="border-bottom:1px solid lightGray;padding-bottom:12px;margin-bottom:12px;";var t=document.createElement("input");t.style.cssText="margin-right:8px;margin-bottom:8px;"; -t.setAttribute("value","all");t.setAttribute("type","radio");t.setAttribute("name","pages-printdialog");g.appendChild(t);p=document.createElement("span");mxUtils.write(p,mxResources.get("printAllPages"));g.appendChild(p);mxUtils.br(g);var x=t.cloneNode(!0);t.setAttribute("checked","checked");x.setAttribute("value","range");g.appendChild(x);p=document.createElement("span");mxUtils.write(p,mxResources.get("pages")+":");g.appendChild(p);var u=document.createElement("input");u.style.cssText="margin:0 8px 0 8px;"; -u.setAttribute("value","1");u.setAttribute("type","number");u.setAttribute("min","1");u.style.width="50px";g.appendChild(u);p=document.createElement("span");mxUtils.write(p,mxResources.get("to"));g.appendChild(p);var n=u.cloneNode(!0);g.appendChild(n);mxEvent.addListener(u,"focus",function(){x.checked=!0});mxEvent.addListener(n,"focus",function(){x.checked=!0});mxEvent.addListener(u,"change",c);mxEvent.addListener(n,"change",c);if(null!=a.pages&&(e=a.pages.length,null!=a.currentPage))for(p=0;p<a.pages.length;p++)if(a.currentPage== -a.pages[p]){k=p+1;u.value=k;n.value=k;break}u.setAttribute("max",e);n.setAttribute("max",e);1<e&&d.appendChild(g);var B=document.createElement("div");B.style.marginBottom="10px";var v=document.createElement("input");v.style.marginRight="8px";v.setAttribute("value","adjust");v.setAttribute("type","radio");v.setAttribute("name","printZoom");B.appendChild(v);p=document.createElement("span");mxUtils.write(p,mxResources.get("adjustTo"));B.appendChild(p);var m=document.createElement("input");m.style.cssText= -"margin:0 8px 0 8px;";m.setAttribute("value","100 %");m.style.width="50px";B.appendChild(m);mxEvent.addListener(m,"focus",function(){v.checked=!0});d.appendChild(B);var g=g.cloneNode(!1),y=v.cloneNode(!0);y.setAttribute("value","fit");v.setAttribute("checked","checked");p=document.createElement("div");p.style.cssText="display:inline-block;height:100%;vertical-align:top;padding-top:2px;";p.appendChild(y);g.appendChild(p);B=document.createElement("table");B.style.display="inline-block";var A=document.createElement("tbody"), -z=document.createElement("tr"),q=z.cloneNode(!0),C=document.createElement("td"),E=C.cloneNode(!0),F=C.cloneNode(!0),P=C.cloneNode(!0),M=C.cloneNode(!0),da=C.cloneNode(!0);C.style.textAlign="right";P.style.textAlign="right";mxUtils.write(C,mxResources.get("fitTo"));var S=document.createElement("input");S.style.cssText="margin:0 8px 0 8px;";S.setAttribute("value","1");S.setAttribute("min","1");S.setAttribute("type","number");S.style.width="40px";E.appendChild(S);p=document.createElement("span");mxUtils.write(p, -mxResources.get("fitToSheetsAcross"));F.appendChild(p);mxUtils.write(P,mxResources.get("fitToBy"));var U=S.cloneNode(!0);M.appendChild(U);mxEvent.addListener(S,"focus",function(){y.checked=!0});mxEvent.addListener(U,"focus",function(){y.checked=!0});p=document.createElement("span");mxUtils.write(p,mxResources.get("fitToSheetsDown"));da.appendChild(p);z.appendChild(C);z.appendChild(E);z.appendChild(F);q.appendChild(P);q.appendChild(M);q.appendChild(da);A.appendChild(z);A.appendChild(q);B.appendChild(A); -g.appendChild(B);d.appendChild(g);g=document.createElement("div");p=document.createElement("div");p.style.fontWeight="bold";p.style.marginBottom="12px";mxUtils.write(p,mxResources.get("paperSize"));g.appendChild(p);p=document.createElement("div");p.style.marginBottom="12px";var ja=PageSetupDialog.addPageFormatPanel(p,"printdialog",a.editor.graph.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT);g.appendChild(p);p=document.createElement("span");mxUtils.write(p,mxResources.get("pageScale"));g.appendChild(p); -var ka=document.createElement("input");ka.style.cssText="margin:0 8px 0 8px;";ka.setAttribute("value","100 %");ka.style.width="60px";g.appendChild(ka);d.appendChild(g);p=document.createElement("div");p.style.cssText="text-align:right;margin:48px 0 0 0;";g=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});g.className="geBtn";a.editor.cancelFirst&&p.appendChild(g);a.isOffline()||(B=mxUtils.button(mxResources.get("help"),function(){l.openLink("https://desk.draw.io/support/solutions/articles/16000048947")}), -B.className="geBtn",p.appendChild(B));PrintDialog.previewEnabled&&(B=mxUtils.button(mxResources.get("preview"),function(){a.hideDialog();f(!1)}),B.className="geBtn",p.appendChild(B));B=mxUtils.button(mxResources.get(PrintDialog.previewEnabled?"print":"ok"),function(){a.hideDialog();f(!0)});B.className="geBtn gePrimaryBtn";p.appendChild(B);a.editor.cancelFirst||p.appendChild(g);d.appendChild(p);this.container=d};var x=ChangePageSetup.prototype.execute;ChangePageSetup.prototype.execute=function(){null== +q.closeDocument(),!q.mathEnabled&&b&&PrintDialog.printPreview(q))}var l=a.editor.graph,d=document.createElement("div"),p=document.createElement("h3");p.style.width="100%";p.style.textAlign="center";p.style.marginTop="0px";mxUtils.write(p,b||mxResources.get("print"));d.appendChild(p);var e=1,g=1,q=document.createElement("div");q.style.cssText="border-bottom:1px solid lightGray;padding-bottom:12px;margin-bottom:12px;";var k=document.createElement("input");k.style.cssText="margin-right:8px;margin-bottom:8px;"; +k.setAttribute("value","all");k.setAttribute("type","radio");k.setAttribute("name","pages-printdialog");q.appendChild(k);p=document.createElement("span");mxUtils.write(p,mxResources.get("printAllPages"));q.appendChild(p);mxUtils.br(q);var x=k.cloneNode(!0);k.setAttribute("checked","checked");x.setAttribute("value","range");q.appendChild(x);p=document.createElement("span");mxUtils.write(p,mxResources.get("pages")+":");q.appendChild(p);var u=document.createElement("input");u.style.cssText="margin:0 8px 0 8px;"; +u.setAttribute("value","1");u.setAttribute("type","number");u.setAttribute("min","1");u.style.width="50px";q.appendChild(u);p=document.createElement("span");mxUtils.write(p,mxResources.get("to"));q.appendChild(p);var n=u.cloneNode(!0);q.appendChild(n);mxEvent.addListener(u,"focus",function(){x.checked=!0});mxEvent.addListener(n,"focus",function(){x.checked=!0});mxEvent.addListener(u,"change",c);mxEvent.addListener(n,"change",c);if(null!=a.pages&&(e=a.pages.length,null!=a.currentPage))for(p=0;p<a.pages.length;p++)if(a.currentPage== +a.pages[p]){g=p+1;u.value=g;n.value=g;break}u.setAttribute("max",e);n.setAttribute("max",e);1<e&&d.appendChild(q);var A=document.createElement("div");A.style.marginBottom="10px";var v=document.createElement("input");v.style.marginRight="8px";v.setAttribute("value","adjust");v.setAttribute("type","radio");v.setAttribute("name","printZoom");A.appendChild(v);p=document.createElement("span");mxUtils.write(p,mxResources.get("adjustTo"));A.appendChild(p);var m=document.createElement("input");m.style.cssText= +"margin:0 8px 0 8px;";m.setAttribute("value","100 %");m.style.width="50px";A.appendChild(m);mxEvent.addListener(m,"focus",function(){v.checked=!0});d.appendChild(A);var q=q.cloneNode(!1),y=v.cloneNode(!0);y.setAttribute("value","fit");v.setAttribute("checked","checked");p=document.createElement("div");p.style.cssText="display:inline-block;height:100%;vertical-align:top;padding-top:2px;";p.appendChild(y);q.appendChild(p);A=document.createElement("table");A.style.display="inline-block";var z=document.createElement("tbody"), +B=document.createElement("tr"),t=B.cloneNode(!0),C=document.createElement("td"),F=C.cloneNode(!0),D=C.cloneNode(!0),P=C.cloneNode(!0),M=C.cloneNode(!0),da=C.cloneNode(!0);C.style.textAlign="right";P.style.textAlign="right";mxUtils.write(C,mxResources.get("fitTo"));var S=document.createElement("input");S.style.cssText="margin:0 8px 0 8px;";S.setAttribute("value","1");S.setAttribute("min","1");S.setAttribute("type","number");S.style.width="40px";F.appendChild(S);p=document.createElement("span");mxUtils.write(p, +mxResources.get("fitToSheetsAcross"));D.appendChild(p);mxUtils.write(P,mxResources.get("fitToBy"));var U=S.cloneNode(!0);M.appendChild(U);mxEvent.addListener(S,"focus",function(){y.checked=!0});mxEvent.addListener(U,"focus",function(){y.checked=!0});p=document.createElement("span");mxUtils.write(p,mxResources.get("fitToSheetsDown"));da.appendChild(p);B.appendChild(C);B.appendChild(F);B.appendChild(D);t.appendChild(P);t.appendChild(M);t.appendChild(da);z.appendChild(B);z.appendChild(t);A.appendChild(z); +q.appendChild(A);d.appendChild(q);q=document.createElement("div");p=document.createElement("div");p.style.fontWeight="bold";p.style.marginBottom="12px";mxUtils.write(p,mxResources.get("paperSize"));q.appendChild(p);p=document.createElement("div");p.style.marginBottom="12px";var ja=PageSetupDialog.addPageFormatPanel(p,"printdialog",a.editor.graph.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT);q.appendChild(p);p=document.createElement("span");mxUtils.write(p,mxResources.get("pageScale"));q.appendChild(p); +var ka=document.createElement("input");ka.style.cssText="margin:0 8px 0 8px;";ka.setAttribute("value","100 %");ka.style.width="60px";q.appendChild(ka);d.appendChild(q);p=document.createElement("div");p.style.cssText="text-align:right;margin:48px 0 0 0;";q=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});q.className="geBtn";a.editor.cancelFirst&&p.appendChild(q);a.isOffline()||(A=mxUtils.button(mxResources.get("help"),function(){l.openLink("https://desk.draw.io/support/solutions/articles/16000048947")}), +A.className="geBtn",p.appendChild(A));PrintDialog.previewEnabled&&(A=mxUtils.button(mxResources.get("preview"),function(){a.hideDialog();f(!1)}),A.className="geBtn",p.appendChild(A));A=mxUtils.button(mxResources.get(PrintDialog.previewEnabled?"print":"ok"),function(){a.hideDialog();f(!0)});A.className="geBtn gePrimaryBtn";p.appendChild(A);a.editor.cancelFirst||p.appendChild(q);d.appendChild(p);this.container=d};var x=ChangePageSetup.prototype.execute;ChangePageSetup.prototype.execute=function(){null== this.page&&(this.page=this.ui.currentPage);this.page!=this.ui.currentPage?null!=this.page.viewState&&(this.ignoreColor||(this.page.viewState.background=this.color),this.ignoreImage||(this.page.viewState.backgroundImage=this.image),null!=this.format&&(this.page.viewState.pageFormat=this.format),null!=this.mathEnabled&&(this.page.viewState.mathEnabled=this.mathEnabled),null!=this.shadowVisible&&(this.page.viewState.shadowVisible=this.shadowVisible)):(x.apply(this,arguments),null!=this.mathEnabled&& -this.mathEnabled!=this.ui.isMathEnabled()&&(this.ui.setMathEnabled(this.mathEnabled),this.mathEnabled=!this.mathEnabled),null!=this.shadowVisible&&this.shadowVisible!=this.ui.editor.graph.shadowVisible&&(this.ui.editor.graph.setShadowVisible(this.shadowVisible),this.shadowVisible=!this.shadowVisible))};Editor.prototype.useCanvasForExport=!1;try{var B=document.createElement("canvas"),E=new Image;E.onload=function(){try{B.getContext("2d").drawImage(E,0,0);var a=B.toDataURL("image/png");Editor.prototype.useCanvasForExport= -null!=a&&6<a.length}catch(F){}};E.src="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1px" height="1px" version="1.1"><foreignObject pointer-events="all" width="1" height="1"><div xmlns="http://www.w3.org/1999/xhtml"></div></foreignObject></svg>')))}catch(A){}})(); -(function(){var a=new mxObjectCodec(new ChangePageSetup,["ui","previousColor","previousImage","previousFormat"]);a.beforeDecode=function(a,b,d){d.ui=a.ui;return b};a.afterDecode=function(a,b,d){d.previousColor=d.color;d.previousImage=d.image;d.previousFormat=d.format;null!=d.foldingEnabled&&(d.foldingEnabled=!d.foldingEnabled);null!=d.mathEnabled&&(d.mathEnabled=!d.mathEnabled);null!=d.shadowVisible&&(d.shadowVisible=!d.shadowVisible);return d};mxCodecRegistry.register(a)})();(function(){EditorUi.VERSION="12.2.2";EditorUi.compactUi="atlas"!=uiTheme;mxGraphView.prototype.defaultDarkGridColor="#6e6e6e";"dark"==uiTheme&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&/.*\.draw\.io$/.test(window.location.hostname)&&"support.draw.io"!=window.location.hostname;EditorUi.drawHost="https://www.draw.io";EditorUi.lastErrorMessage=null;EditorUi.ignoredAnonymizedChars="\n\t`~!@#$%^&*()_+{}|:\"<>?-=[];'./,\n\t"; +this.mathEnabled!=this.ui.isMathEnabled()&&(this.ui.setMathEnabled(this.mathEnabled),this.mathEnabled=!this.mathEnabled),null!=this.shadowVisible&&this.shadowVisible!=this.ui.editor.graph.shadowVisible&&(this.ui.editor.graph.setShadowVisible(this.shadowVisible),this.shadowVisible=!this.shadowVisible))};Editor.prototype.useCanvasForExport=!1;try{var A=document.createElement("canvas"),F=new Image;F.onload=function(){try{A.getContext("2d").drawImage(F,0,0);var a=A.toDataURL("image/png");Editor.prototype.useCanvasForExport= +null!=a&&6<a.length}catch(D){}};F.src="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1px" height="1px" version="1.1"><foreignObject pointer-events="all" width="1" height="1"><div xmlns="http://www.w3.org/1999/xhtml"></div></foreignObject></svg>')))}catch(B){}})(); +(function(){var a=new mxObjectCodec(new ChangePageSetup,["ui","previousColor","previousImage","previousFormat"]);a.beforeDecode=function(a,b,d){d.ui=a.ui;return b};a.afterDecode=function(a,b,d){d.previousColor=d.color;d.previousImage=d.image;d.previousFormat=d.format;null!=d.foldingEnabled&&(d.foldingEnabled=!d.foldingEnabled);null!=d.mathEnabled&&(d.mathEnabled=!d.mathEnabled);null!=d.shadowVisible&&(d.shadowVisible=!d.shadowVisible);return d};mxCodecRegistry.register(a)})();(function(){EditorUi.VERSION="12.2.3";EditorUi.compactUi="atlas"!=uiTheme;mxGraphView.prototype.defaultDarkGridColor="#6e6e6e";"dark"==uiTheme&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&/.*\.draw\.io$/.test(window.location.hostname)&&"support.draw.io"!=window.location.hostname;EditorUi.drawHost="https://www.draw.io";EditorUi.lastErrorMessage=null;EditorUi.ignoredAnonymizedChars="\n\t`~!@#$%^&*()_+{}|:\"<>?-=[];'./,\n\t"; EditorUi.templateFile=TEMPLATE_PATH+"/index.xml";EditorUi.cacheUrl="1"==urlParams.dev?"/cache":"https://rt.draw.io/cache";Editor.cacheTimeout=1E4;EditorUi.enablePlantUml=EditorUi.enableLogging;EditorUi.isElectronApp=null!=window&&null!=window.process&&null!=window.process.versions&&null!=window.process.versions.electron;EditorUi.scratchpadHelpLink="https://desk.draw.io/support/solutions/articles/16000042367";EditorUi.logError=function(a,b,c,d,e){if("1"==urlParams.dev)EditorUi.debug("logError",a,b, c,d,e);else if(EditorUi.enableLogging)try{if(a!=EditorUi.lastErrorMessage&&(null==a||null==b||-1==a.indexOf("Script error")&&-1==a.indexOf("extension"))&&null!=a&&0>a.indexOf("DocumentClosedError")){EditorUi.lastErrorMessage=a;var f=0<=a.indexOf("NetworkError")||0<=a.indexOf("SecurityError")||0<=a.indexOf("NS_ERROR_FAILURE")||0<=a.indexOf("out of memory")?"CONFIG":"SEVERE",l=null!=window.DRAWIO_LOG_URL?window.DRAWIO_LOG_URL:"";e=null!=e?e:Error(a);(new Image).src=l+"/log?severity="+f+"&v="+encodeURIComponent(EditorUi.VERSION)+ "&msg=clientError:"+encodeURIComponent(a)+":url:"+encodeURIComponent(window.location.href)+":lnum:"+encodeURIComponent(c)+(null!=d?":colno:"+encodeURIComponent(d):"")+(null!=e&&null!=e.stack?"&stack="+encodeURIComponent(e.stack):"")}}catch(y){}};EditorUi.logEvent=function(a){if("1"==urlParams.dev)EditorUi.debug("logEvent",a);else if(EditorUi.enableLogging)try{var b=null!=window.DRAWIO_LOG_URL?window.DRAWIO_LOG_URL:"";(new Image).src=b+"/images/1x1.png?v="+encodeURIComponent(EditorUi.VERSION)+(null!= @@ -8311,7 +8301,7 @@ a?"&data="+encodeURIComponent(JSON.stringify(a)):"")}catch(p){}};EditorUi.sendRe b(d-8,p,c))break;value=f(a,c);f(a,4);if("IEND"==p)break}while(c)}};EditorUi.removeChildNodes=function(a){for(;null!=a.firstChild;)a.removeChild(a.firstChild)};EditorUi.prototype.emptyDiagramXml='<mxGraphModel><root><mxCell id="0"/><mxCell id="1" parent="0"/></root></mxGraphModel>';EditorUi.prototype.emptyLibraryXml="<mxlibrary>[]</mxlibrary>";EditorUi.prototype.mode=null;EditorUi.prototype.timeout=Editor.prototype.timeout;EditorUi.prototype.sidebarFooterHeight=38;EditorUi.prototype.defaultCustomShapeStyle= "shape=stencil(tZRtTsQgEEBPw1+DJR7AoN6DbWftpAgE0Ortd/jYRGq72R+YNE2YgTePloEJGWblgA18ZuKFDcMj5/Sm8boZq+BgjCX4pTyqk6ZlKROitwusOMXKQDODx5iy4pXxZ5qTHiFHawxB0JrQZH7lCabQ0Fr+XWC1/E8zcsT/gAi+Subo2/3Mh6d/oJb5nU1b5tW7r2knautaa3T+U32o7f7vZwpJkaNDLORJjcu7t59m2jXxqX9un+tt022acsfmoKaQZ+vhhswZtS6Ne/ThQGt0IV0N3Yyv6P3CeT9/tHO0XFI5cAE=);whiteSpace=wrap;html=1;";EditorUi.prototype.svgBrokenImage=Graph.createSvgImage(10,10,'<rect x="0" y="0" width="10" height="10" stroke="#000" fill="transparent"/><path d="m 0 0 L 10 10 L 0 10 L 10 0" stroke="#000" fill="transparent"/>'); EditorUi.prototype.crossOriginImages=!mxClient.IS_IE;EditorUi.prototype.maxBackgroundSize=1600;EditorUi.prototype.maxImageSize=520;EditorUi.prototype.resampleThreshold=1E5;EditorUi.prototype.maxImageBytes=1E6;EditorUi.prototype.maxBackgroundBytes=25E5;EditorUi.prototype.maxTextBytes=5E5;EditorUi.prototype.currentFile=null;EditorUi.prototype.printPdfExport=!1;EditorUi.prototype.pdfPageExport=!0;EditorUi.prototype.formatEnabled="0"!=urlParams.format;EditorUi.prototype.insertTemplateEnabled=!0;EditorUi.prototype.closableScratchpad= -!0;(function(){EditorUi.prototype.useCanvasForExport=!1;EditorUi.prototype.jpgSupported=!1;try{var a=document.createElement("canvas");EditorUi.prototype.canvasSupported=!(!a.getContext||!a.getContext("2d"))}catch(v){}try{var b=document.createElement("canvas"),c=new Image;c.onload=function(){try{b.getContext("2d").drawImage(c,0,0);var a=b.toDataURL("image/png");EditorUi.prototype.useCanvasForExport=null!=a&&6<a.length}catch(t){}};c.src="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1px" height="1px" version="1.1"><foreignObject pointer-events="all" width="1" height="1"><div xmlns="http://www.w3.org/1999/xhtml"></div></foreignObject></svg>')))}catch(v){}try{b= +!0;(function(){EditorUi.prototype.useCanvasForExport=!1;EditorUi.prototype.jpgSupported=!1;try{var a=document.createElement("canvas");EditorUi.prototype.canvasSupported=!(!a.getContext||!a.getContext("2d"))}catch(v){}try{var b=document.createElement("canvas"),c=new Image;c.onload=function(){try{b.getContext("2d").drawImage(c,0,0);var a=b.toDataURL("image/png");EditorUi.prototype.useCanvasForExport=null!=a&&6<a.length}catch(q){}};c.src="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1px" height="1px" version="1.1"><foreignObject pointer-events="all" width="1" height="1"><div xmlns="http://www.w3.org/1999/xhtml"></div></foreignObject></svg>')))}catch(v){}try{b= document.createElement("canvas");b.width=b.height=1;var d=b.toDataURL("image/jpeg");EditorUi.prototype.jpgSupported=null!==d.match("image/jpeg")}catch(v){}})();EditorUi.prototype.openLink=function(a,b,c){return this.editor.graph.openLink(a,b,c)};EditorUi.prototype.showSplash=function(a){};EditorUi.prototype.getLocalData=function(a,b){b(localStorage.getItem(a))};EditorUi.prototype.setLocalData=function(a,b,c){localStorage.setItem(a,b);null!=c&&c()};EditorUi.prototype.removeLocalData=function(a,b){localStorage.removeItem(a); b()};EditorUi.prototype.setMathEnabled=function(a){this.editor.graph.mathEnabled=a;this.editor.updateGraphComponents();this.editor.graph.refresh();this.fireEvent(new mxEventObject("mathEnabledChanged"))};EditorUi.prototype.isMathEnabled=function(a){return this.editor.graph.mathEnabled};EditorUi.prototype.isAppCache=function(){return"1"==urlParams.appcache||this.isOfflineApp()};EditorUi.prototype.isOfflineApp=function(){return"1"==urlParams.offline};EditorUi.prototype.isOffline=function(a){return this.isOfflineApp()|| !navigator.onLine||!a&&"1"==urlParams.stealth};EditorUi.prototype.createSpinner=function(a,b,c){c=null!=c?c:24;var f=new Spinner({lines:12,length:c,width:Math.round(c/3),radius:Math.round(c/2),rotate:0,color:"dark"==uiTheme?"#c0c0c0":"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,zIndex:2E9}),l=f.spin;f.spin=function(c,d){var p=!1;this.active||(l.call(this,c),this.active=!0,null!=d&&(p=document.createElement("div"),p.style.position="absolute",p.style.whiteSpace="nowrap",p.style.background="#4B4243", @@ -8319,89 +8309,90 @@ p.style.color="white",p.style.fontFamily="Helvetica, Arial",p.style.fontSize="9p d.charAt(d.length-1)&&(d+="..."),p.innerHTML=d,c.appendChild(p),f.status=p,mxClient.IS_VML&&(null==document.documentMode||8>=document.documentMode)&&(p.style.left=Math.round(Math.max(0,a-p.offsetWidth/2))+"px",p.style.top=Math.round(Math.max(0,b+70-p.offsetHeight/2))+"px")),this.pause=mxUtils.bind(this,function(){var a=function(){};this.active&&(a=mxUtils.bind(this,function(){this.spin(c,d)}));this.stop();return a}),p=!0);return p};var d=f.stop;f.stop=function(){d.call(this);this.active=!1;null!= f.status&&(f.status.parentNode.removeChild(f.status),f.status=null)};f.pause=function(){return function(){}};return f};EditorUi.prototype.isCompatibleString=function(a){try{var b=mxUtils.parseXml(a),c=this.editor.extractGraphModel(b.documentElement,!0);return null!=c&&0==c.getElementsByTagName("parsererror").length}catch(u){}return!1};EditorUi.prototype.isVisioData=function(a){return 8<a.length&&208==a.charCodeAt(0)&&207==a.charCodeAt(1)&&17==a.charCodeAt(2)&&224==a.charCodeAt(3)&&161==a.charCodeAt(4)&& 177==a.charCodeAt(5)&&26==a.charCodeAt(6)&&225==a.charCodeAt(7)||80==a.charCodeAt(0)&&75==a.charCodeAt(1)&&3==a.charCodeAt(2)&&4==a.charCodeAt(3)||80==a.charCodeAt(0)&&75==a.charCodeAt(1)&&3==a.charCodeAt(2)&&6==a.charCodeAt(3)};EditorUi.prototype.isPngData=function(a){return 8<a.length&&137==a.charCodeAt(0)&&80==a.charCodeAt(1)&&78==a.charCodeAt(2)&&71==a.charCodeAt(3)&&13==a.charCodeAt(4)&&10==a.charCodeAt(5)&&26==a.charCodeAt(6)&&10==a.charCodeAt(7)};var a=EditorUi.prototype.extractGraphModelFromHtml; -EditorUi.prototype.extractGraphModelFromHtml=function(b){var c=a.apply(this,arguments);if(null==c)try{var f=b.indexOf("<mxfile ");if(0<=f){var d=b.lastIndexOf("</mxfile>");d>f&&(c=b.substring(f,d+15).replace(/>/g,">").replace(/</g,"<").replace(/\\"/g,'"').replace(/\n/g,""))}else var e=mxUtils.parseXml(b),g=this.editor.extractGraphModel(e.documentElement,null!=this.pages||"hidden"==this.diagramContainer.style.visibility),c=null!=g?mxUtils.getXml(g):""}catch(z){}return c};EditorUi.prototype.validateFileData= +EditorUi.prototype.extractGraphModelFromHtml=function(b){var c=a.apply(this,arguments);if(null==c)try{var f=b.indexOf("<mxfile ");if(0<=f){var d=b.lastIndexOf("</mxfile>");d>f&&(c=b.substring(f,d+15).replace(/>/g,">").replace(/</g,"<").replace(/\\"/g,'"').replace(/\n/g,""))}else var e=mxUtils.parseXml(b),q=this.editor.extractGraphModel(e.documentElement,null!=this.pages||"hidden"==this.diagramContainer.style.visibility),c=null!=q?mxUtils.getXml(q):""}catch(z){}return c};EditorUi.prototype.validateFileData= function(a){if(null!=a&&0<a.length){var b=a.indexOf('<meta charset="utf-8">');0<=b&&(a=a.slice(0,b)+'<meta charset="utf-8"/>'+a.slice(b+23-1,a.length));a=Graph.zapGremlins(a)}return a};EditorUi.prototype.replaceFileData=function(a){a=this.validateFileData(a);a=null!=a&&0<a.length?mxUtils.parseXml(a).documentElement:null;var b=null!=a?this.editor.extractGraphModel(a,!0):null;null!=b&&(a=b);if(null!=a){b=this.editor.graph;b.model.beginUpdate();try{var c=null!=this.pages?this.pages.slice():null,f=a.getElementsByTagName("diagram"); if("0"!=urlParams.pages||1<f.length||1==f.length&&f[0].hasAttribute("name")){this.fileNode=a;this.pages=null!=this.pages?this.pages:[];for(var d=f.length-1;0<=d;d--){var e=this.updatePageRoot(new DiagramPage(f[d]));null==e.getName()&&e.setName(mxResources.get("pageWithNumber",[d+1]));b.model.execute(new ChangePage(this,e,0==d?e:null,0))}}else"0"!=urlParams.pages&&null==this.fileNode&&(this.fileNode=a.ownerDocument.createElement("mxfile"),this.currentPage=new DiagramPage(a.ownerDocument.createElement("diagram")), -this.currentPage.setName(mxResources.get("pageWithNumber",[1])),b.model.execute(new ChangePage(this,this.currentPage,this.currentPage,0))),this.editor.setGraphXml(a),null!=this.currentPage&&(this.currentPage.root=this.editor.graph.model.root);if(null!=c)for(d=0;d<c.length;d++)b.model.execute(new ChangePage(this,c[d],null))}finally{b.model.endUpdate()}}};EditorUi.prototype.createFileData=function(a,b,c,d,e,g,k,n,m,x,B){b=null!=b?b:this.editor.graph;e=null!=e?e:!1;m=null!=m?m:!0;var f,l=null;null== -c||c.getMode()==App.MODE_DEVICE||c.getMode()==App.MODE_BROWSER?f="_blank":l=f=d;if(null==a)return"";var p=a;if("mxfile"!=p.nodeName.toLowerCase()){if(B){var t=a.ownerDocument.createElement("diagram");t.setAttribute("id",Editor.guid());t.appendChild(a)}else{t=Graph.zapGremlins(mxUtils.getXml(a));p=Graph.compress(t);if(Graph.decompress(p)!=t)return t;t=a.ownerDocument.createElement("diagram");t.setAttribute("id",Editor.guid());mxUtils.setTextContent(t,p)}p=a.ownerDocument.createElement("mxfile");p.appendChild(t)}x? +this.currentPage.setName(mxResources.get("pageWithNumber",[1])),b.model.execute(new ChangePage(this,this.currentPage,this.currentPage,0))),this.editor.setGraphXml(a),null!=this.currentPage&&(this.currentPage.root=this.editor.graph.model.root);if(null!=c)for(d=0;d<c.length;d++)b.model.execute(new ChangePage(this,c[d],null))}finally{b.model.endUpdate()}}};EditorUi.prototype.createFileData=function(a,b,c,d,e,q,g,k,n,x,A){b=null!=b?b:this.editor.graph;e=null!=e?e:!1;n=null!=n?n:!0;var f,l=null;null== +c||c.getMode()==App.MODE_DEVICE||c.getMode()==App.MODE_BROWSER?f="_blank":l=f=d;if(null==a)return"";var p=a;if("mxfile"!=p.nodeName.toLowerCase()){if(A){var u=a.ownerDocument.createElement("diagram");u.setAttribute("id",Editor.guid());u.appendChild(a)}else{u=Graph.zapGremlins(mxUtils.getXml(a));p=Graph.compress(u);if(Graph.decompress(p)!=u)return u;u=a.ownerDocument.createElement("diagram");u.setAttribute("id",Editor.guid());mxUtils.setTextContent(u,p)}p=a.ownerDocument.createElement("mxfile");p.appendChild(u)}x? (p=p.cloneNode(!0),p.removeAttribute("modified"),p.removeAttribute("host"),p.removeAttribute("agent"),p.removeAttribute("etag"),p.removeAttribute("userAgent"),p.removeAttribute("version"),p.removeAttribute("editor"),p.removeAttribute("type")):(p.removeAttribute("userAgent"),p.removeAttribute("version"),p.removeAttribute("editor"),p.removeAttribute("pages"),p.removeAttribute("type"),mxClient.IS_CHROMEAPP?p.setAttribute("host","Chrome"):EditorUi.isElectronApp?p.setAttribute("host","Electron"):p.setAttribute("host", -window.location.hostname),p.setAttribute("modified",(new Date).toISOString()),p.setAttribute("agent",navigator.userAgent),p.setAttribute("version",EditorUi.VERSION),p.setAttribute("etag",Editor.guid()),a=null!=c?c.getMode():this.mode,null!=a&&p.setAttribute("type",a),null!=this.pages&&p.setAttribute("pages",this.pages.length));B=B?mxUtils.getPrettyXml(p):mxUtils.getXml(p);if(!g&&!e&&(k||null!=c&&/(\.html)$/i.test(c.getTitle())))B=this.getHtml2(mxUtils.getXml(p),b,null!=c?c.getTitle():null,f,l);else if(g|| -!e&&null!=c&&/(\.svg)$/i.test(c.getTitle()))null==c||c.getMode()!=App.MODE_DEVICE&&c.getMode()!=App.MODE_BROWSER||(d=null),B=this.getEmbeddedSvg(B,b,d,null,n,m,l);return B};EditorUi.prototype.getXmlFileData=function(a,b,c){a=null!=a?a:!0;b=null!=b?b:!1;c=null!=c?c:!Editor.compressXml;var f=this.editor.getGraphXml(a);if(a&&null!=this.fileNode&&null!=this.currentPage)if(c?(EditorUi.removeChildNodes(this.currentPage.node),this.currentPage.node.appendChild(f)):(f=Graph.compressNode(f),mxUtils.setTextContent(this.currentPage.node, -f)),f=this.fileNode.cloneNode(!1),b)f.appendChild(this.currentPage.node);else for(b=0;b<this.pages.length;b++)this.currentPage!=this.pages[b]&&(this.pages[b].needsUpdate?(a=(new mxCodec(mxUtils.createXmlDocument())).encode(new mxGraphModel(this.pages[b].root)),this.editor.graph.saveViewState(this.pages[b].viewState,a),c?(EditorUi.removeChildNodes(this.pages[b].node),this.pages[b].node.appendChild(a)):mxUtils.setTextContent(this.pages[b].node,Graph.compressNode(a)),delete this.pages[b].needsUpdate): -c&&(a=Editor.parseDiagramNode(this.pages[b].node),EditorUi.removeChildNodes(this.pages[b].node),this.pages[b].node.appendChild(a))),f.appendChild(this.pages[b].node);return f};EditorUi.prototype.anonymizeString=function(a,b){for(var c=[],f=0;f<a.length;f++){var d=a.charAt(f);0<=EditorUi.ignoredAnonymizedChars.indexOf(d)?c.push(d):isNaN(parseInt(d))?d.toLowerCase()!=d?c.push(String.fromCharCode(65+Math.round(25*Math.random()))):d.toUpperCase()!=d?c.push(String.fromCharCode(97+Math.round(25*Math.random()))): -/\s/.test(d)?c.push(" "):c.push("?"):c.push(b?"0":Math.round(9*Math.random()))}return c.join("")};EditorUi.prototype.anonymizePatch=function(a){if(null!=a[EditorUi.DIFF_INSERT])for(var b=0;b<a[EditorUi.DIFF_INSERT].length;b++)try{var c=mxUtils.parseXml(a[EditorUi.DIFF_INSERT][b].data).documentElement.cloneNode(!1);null!=c.getAttribute("name")&&c.setAttribute("name",this.anonymizeString(c.getAttribute("name")));a[EditorUi.DIFF_INSERT][b].data=mxUtils.getXml(c)}catch(t){a[EditorUi.DIFF_INSERT][b].data= -t.message}if(null!=a[EditorUi.DIFF_UPDATE]){for(var f in a[EditorUi.DIFF_UPDATE]){var d=a[EditorUi.DIFF_UPDATE][f];null!=d.name&&(d.name=this.anonymizeString(d.name));null!=d.cells&&(b=mxUtils.bind(this,function(a){var b=d.cells[a];if(null!=b){for(var c in b)null!=b[c].value&&(b[c].value="["+b[c].value.length+"]"),null!=b[c].xmlValue&&(b[c].xmlValue="["+b[c].xmlValue.length+"]"),null!=b[c].style&&(b[c].style="["+b[c].style.length+"]"),0==Object.keys(b[c]).length&&delete b[c];0==Object.keys(b).length&& -delete d.cells[a]}}),b(EditorUi.DIFF_INSERT),b(EditorUi.DIFF_UPDATE),0==Object.keys(d.cells).length&&delete d.cells);0==Object.keys(d).length&&delete a[EditorUi.DIFF_UPDATE][f]}0==Object.keys(a[EditorUi.DIFF_UPDATE]).length&&delete a[EditorUi.DIFF_UPDATE]}return a};EditorUi.prototype.anonymizeAttributes=function(a,b){if(null!=a.attributes)for(var c=0;c<a.attributes.length;c++)"as"!=a.attributes[c].name&&a.setAttribute(a.attributes[c].name,this.anonymizeString(a.attributes[c].value,b));if(null!=a.childNodes)for(c= -0;c<a.childNodes.length;c++)this.anonymizeAttributes(a.childNodes[c],b)};EditorUi.prototype.anonymizeNode=function(a,b){for(var c=a.getElementsByTagName("mxCell"),f=0;f<c.length;f++)null!=c[f].getAttribute("value")&&c[f].setAttribute("value","["+c[f].getAttribute("value").length+"]"),null!=c[f].getAttribute("xmlValue")&&c[f].setAttribute("xmlValue","["+c[f].getAttribute("xmlValue").length+"]"),null!=c[f].getAttribute("style")&&c[f].setAttribute("style","["+c[f].getAttribute("style").length+"]"),null!= -c[f].parentNode&&"root"!=c[f].parentNode.nodeName&&null!=c[f].parentNode.parentNode&&(c[f].setAttribute("id",c[f].parentNode.getAttribute("id")),c[f].parentNode.parentNode.replaceChild(c[f],c[f].parentNode));return a};EditorUi.prototype.synchronizeCurrentFile=function(a){var b=this.getCurrentFile();null!=b&&(b.savingFile?this.handleError({message:mxResources.get("busy")}):!a&&b.invalidChecksum?b.handleFileError(null,!0):this.spinner.spin(document.body,mxResources.get("updatingDocument"))&&(b.clearAutosave(), -this.editor.setStatus(""),a?b.reloadFile(mxUtils.bind(this,function(){b.handleFileSuccess("manual"==DrawioFile.SYNC)}),mxUtils.bind(this,function(a){b.handleFileError(a,!0)})):b.synchronizeFile(mxUtils.bind(this,function(){b.handleFileSuccess("manual"==DrawioFile.SYNC)}),mxUtils.bind(this,function(a){b.handleFileError(a,!0)}))))};EditorUi.prototype.getFileData=function(a,b,c,d,e,g,k,n,m,x){e=null!=e?e:!0;g=null!=g?g:!1;var f=this.editor.graph;if(b||!a&&null!=m&&/(\.svg)$/i.test(m.getTitle()))if(x= -!1,null!=this.pages&&this.currentPage!=this.pages[0]){var l=f.getGlobalVariable,f=this.createTemporaryGraph(f.getStylesheet()),p=this.pages[0];f.getGlobalVariable=function(a){return"page"==a?p.getName():"pagenumber"==a?1:l.apply(this,arguments)};document.body.appendChild(f.container);f.model.setRoot(p.root)}k=null!=k?k:this.getXmlFileData(e,g,x);m=null!=m?m:this.getCurrentFile();a=this.createFileData(k,f,m,window.location.href,a,b,c,d,e,n,x);f!=this.editor.graph&&f.container.parentNode.removeChild(f.container); -return a};EditorUi.prototype.getHtml=function(a,b,c,d,e,g){g=null!=g?g:!0;var f=null,l=EditorUi.drawHost+"/js/embed-static.min.js";if(null!=b){var f=g?b.getGraphBounds():b.getBoundingBox(b.getSelectionCells()),p=b.view.scale;g=Math.floor(f.x/p-b.view.translate.x);p=Math.floor(f.y/p-b.view.translate.y);f=b.background;null==e&&(b=this.getBasenames().join(";"),0<b.length&&(l=EditorUi.drawHost+"/embed.js?s="+b));a.setAttribute("x0",g);a.setAttribute("y0",p)}null!=a&&(a.setAttribute("pan","1"),a.setAttribute("zoom", -"1"),a.setAttribute("resize","0"),a.setAttribute("fit","0"),a.setAttribute("border","20"),a.setAttribute("links","1"),null!=d&&a.setAttribute("edit",d));null!=e&&(e=e.replace(/&/g,"&"));a=null!=a?Graph.zapGremlins(mxUtils.getXml(a)):"";d=Graph.compress(a);Graph.decompress(d)!=a&&(d=encodeURIComponent(a));return(null==e?'\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=5,IE=9" ><![endif]--\x3e\n':"")+"<!DOCTYPE html>\n<html"+(null!=e?' xmlns="http://www.w3.org/1999/xhtml">':">")+"\n<head>\n"+ -(null==e?null!=c?"<title>"+mxUtils.htmlEntities(c)+"</title>\n":"":"<title>Draw.io Diagram</title>\n")+(null!=e?'<meta http-equiv="refresh" content="0;URL=\''+e+"'\"/>\n":"")+"</head>\n<body"+(null==e&&null!=f&&f!=mxConstants.NONE?' style="background-color:'+f+';">':">")+'\n<div class="mxgraph" style="position:relative;overflow:auto;width:100%;">\n<div style="width:1px;height:1px;overflow:hidden;">'+d+"</div>\n</div>\n"+(null==e?'<script type="text/javascript" src="'+l+'">\x3c/script>':'<a style="position:absolute;top:50%;left:50%;margin-top:-128px;margin-left:-64px;" href="'+ -e+'" target="_blank"><img border="0" src="'+EditorUi.drawHost+'/images/drawlogo128.png"/></a>')+"\n</body>\n</html>\n"};EditorUi.prototype.getHtml2=function(a,b,c,d,e){b=EditorUi.drawHost+"/js/viewer.min.js";null!=e&&(e=e.replace(/&/g,"&"));a={highlight:"#0000ff",nav:this.editor.graph.foldingEnabled,resize:!0,xml:Graph.zapGremlins(a),toolbar:"pages zoom layers lightbox"};null!=this.pages&&null!=this.currentPage&&(a.page=mxUtils.indexOf(this.pages,this.currentPage));return(null==e?'\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=5,IE=9" ><![endif]--\x3e\n': -"")+"<!DOCTYPE html>\n<html"+(null!=e?' xmlns="http://www.w3.org/1999/xhtml">':">")+"\n<head>\n"+(null==e?null!=c?"<title>"+mxUtils.htmlEntities(c)+"</title>\n":"":"<title>Draw.io Diagram</title>\n")+(null!=e?'<meta http-equiv="refresh" content="0;URL=\''+e+"'\"/>\n":"")+'<meta charset="utf-8"/>\n</head>\n<body>\n<div class="mxgraph" style="max-width:100%;border:1px solid transparent;" data-mxgraph="'+mxUtils.htmlEntities(JSON.stringify(a))+'"></div>\n'+(null==e?'<script type="text/javascript" src="'+ -b+'">\x3c/script>':'<a style="position:absolute;top:50%;left:50%;margin-top:-128px;margin-left:-64px;" href="'+e+'" target="_blank"><img border="0" src="'+EditorUi.drawHost+'/images/drawlogo128.png"/></a>')+"\n</body>\n</html>\n"};EditorUi.prototype.setFileData=function(a){a=this.validateFileData(a);this.pages=this.fileNode=this.currentPage=null;a=null!=a&&0<a.length?mxUtils.parseXml(a).documentElement:null;var b=Editor.extractParserError(a,mxResources.get("invalidOrMissingFile"));if(b)throw Error(b); -b=null!=a?this.editor.extractGraphModel(a,!0):null;null!=b&&(a=b);if(null!=a&&"mxfile"==a.nodeName&&(b=a.getElementsByTagName("diagram"),"0"!=urlParams.pages||1<b.length||1==b.length&&b[0].hasAttribute("name"))){var c=null;this.fileNode=a;this.pages=[];for(a=0;a<b.length;a++){null==b[a].getAttribute("id")&&b[a].setAttribute("id",a);var f=new DiagramPage(b[a]);null==f.getName()&&f.setName(mxResources.get("pageWithNumber",[a+1]));this.pages.push(f);null!=urlParams["page-id"]&&f.getId()==urlParams["page-id"]&& -(c=f)}this.currentPage=null!=c?c:this.pages[Math.max(0,Math.min(this.pages.length-1,urlParams.page||0))];a=this.currentPage.node}"0"!=urlParams.pages&&null==this.fileNode&&null!=a&&(this.fileNode=a.ownerDocument.createElement("mxfile"),this.currentPage=new DiagramPage(a.ownerDocument.createElement("diagram")),this.currentPage.setName(mxResources.get("pageWithNumber",[1])),this.pages=[this.currentPage]);this.editor.setGraphXml(a);null!=this.currentPage&&(this.currentPage.root=this.editor.graph.model.root)}; -EditorUi.prototype.getBaseFilename=function(a){var b=this.getCurrentFile(),b=null!=b&&null!=b.getTitle()?b.getTitle():this.defaultFilename;if(/(\.xml)$/i.test(b)||/(\.html)$/i.test(b)||/(\.svg)$/i.test(b)||/(\.png)$/i.test(b)||/(\.drawio)$/i.test(b))b=b.substring(0,b.lastIndexOf("."));!a&&null!=this.pages&&1<this.pages.length&&null!=this.currentPage&&null!=this.currentPage.node.getAttribute("name")&&0<this.currentPage.getName().length&&(b=b+"-"+this.currentPage.getName());return b};EditorUi.prototype.downloadFile= -function(a,b,c,d,e,g,k,n,m,x){try{d=null!=d?d:this.editor.graph.isSelectionEmpty();var f=this.getBaseFilename(!e),l=f+"."+a;if("xml"==a){var p='<?xml version="1.0" encoding="UTF-8"?>\n'+this.getFileData(!0,null,null,null,d,e,null,null,null,b);this.saveData(l,a,p,"text/xml")}else if("html"==a)p=this.getHtml2(this.getFileData(!0),this.editor.graph,f),this.saveData(l,a,p,"text/html");else if("svg"!=a&&"xmlsvg"!=a||!this.spinner.spin(document.body,mxResources.get("export")))"xmlpng"==a?l=f+".png":"jpeg"== -a&&(l=f+".jpg"),this.saveRequest(l,a,mxUtils.bind(this,function(b,c){try{var f=this.editor.graph.pageVisible;null!=g&&(this.editor.graph.pageVisible=g);var l=this.createDownloadRequest(b,a,d,c,k,e,n,m,x);this.editor.graph.pageVisible=f;return l}catch(N){this.handleError(N)}}));else{var t=null,u=mxUtils.bind(this,function(a){a.length<=MAX_REQUEST_SIZE?this.saveData(l,"svg",a,"image/svg+xml"):this.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(t)}))}); -if("svg"==a){var v=this.editor.graph.background;if(k||v==mxConstants.NONE)v=null;var y=this.editor.graph.getSvg(v,null,null,null,null,d);c&&this.editor.graph.addSvgShadow(y);this.convertImages(y,mxUtils.bind(this,mxUtils.bind(this,function(a){this.spinner.stop();u('<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n'+mxUtils.getXml(a))})))}else l=f+".svg",t=this.getFileData(!1,!0,null,mxUtils.bind(this,function(a){this.spinner.stop(); -u(a)}),d)}}catch(I){this.handleError(I)}};EditorUi.prototype.createDownloadRequest=function(a,b,c,d,e,g,k,n,m){var f=this.editor.graph,l=f.getGraphBounds();c=this.getFileData(!0,null,null,null,c,0==g?!1:"xmlpng"!=b);var p="",t="";if(l.width*l.height>MAX_AREA||c.length>MAX_REQUEST_SIZE)throw{message:mxResources.get("drawingTooLarge")};l="0";"pdf"==b&&0==g&&(t="&allPages=1");if("xmlpng"==b&&(l="1",b="png",null!=this.pages&&null!=this.currentPage))for(g=0;g<this.pages.length;g++)if(this.pages[g]==this.currentPage){p= -"&from="+g;break}g=f.background;"png"==b&&e?g=mxConstants.NONE:e||null!=g&&g!=mxConstants.NONE||(g="#ffffff");e={globalVars:f.getExportVariables()};m&&(e.grid={size:f.gridSize,steps:f.view.gridSteps,color:f.view.gridColor});return new mxXmlRequest(EXPORT_URL,"format="+b+p+t+"&bg="+(null!=g?g:mxConstants.NONE)+"&base64="+d+"&embedXml="+l+"&xml="+encodeURIComponent(c)+(null!=a?"&filename="+encodeURIComponent(a):"")+"&extras="+encodeURIComponent(JSON.stringify(e))+(null!=k?"&scale="+k:"")+(null!=n?"&border="+ -n:""))};EditorUi.prototype.setMode=function(a,b){this.mode=a};EditorUi.prototype.loadDescriptor=function(a,b,c){var f=window.location.hash,d=mxUtils.bind(this,function(c){var d=null!=a.data?a.data:"";null!=c&&0<c.length&&(0<d.length&&(d+="\n"),d+=c);c=new LocalFile(this,"csv"!=a.format&&0<d.length?d:this.emptyDiagramXml,null!=urlParams.title?decodeURIComponent(urlParams.title):this.defaultFilename,!0);c.getHash=function(){return f};this.fileLoaded(c);"csv"==a.format&&this.importCsv(d,mxUtils.bind(this, -function(a){this.editor.undoManager.clear();this.editor.setModified(!1);this.editor.setStatus("")}));if(null!=a.update){var l=null!=a.interval?parseInt(a.interval):6E4,p=null,e=mxUtils.bind(this,function(){var b=this.currentPage;mxUtils.post(a.update,"xml="+encodeURIComponent(mxUtils.getXml(this.editor.getGraphXml())),mxUtils.bind(this,function(a){b===this.currentPage&&(200<=a.getStatus()&&300>=a.getStatus()?(this.updateDiagram(a.getText()),g()):this.handleError({message:mxResources.get("error")+ -" "+a.getStatus()}))}),mxUtils.bind(this,function(a){this.handleError(a)}))}),g=mxUtils.bind(this,function(){window.clearTimeout(p);p=window.setTimeout(e,l)});this.editor.addListener("pageSelected",mxUtils.bind(this,function(){g();e()}));g();e()}null!=b&&b()});if(null!=a.url&&0<a.url.length){var l=a.url;/^https?:\/\//.test(l)&&!this.editor.isCorsEnabledForUrl(l)&&(l=PROXY_URL+"?url="+encodeURIComponent(l));this.loadUrl(l,mxUtils.bind(this,function(a){d(a)}),mxUtils.bind(this,function(a){null!=c&& -c(a)}))}else d("")};EditorUi.prototype.updateDiagram=function(a){function b(a){var b=new mxCellOverlay(a.image||d.warningImage,a.tooltip,a.align,a.valign,a.offset);b.addListener(mxEvent.CLICK,function(b,c){f.alert(a.tooltip)});return b}var c=null,f=this;if(null!=a&&0<a.length&&(c=mxUtils.parseXml(a),a=null!=c?c.documentElement:null,null!=a&&"updates"==a.nodeName)){var d=this.editor.graph,e=d.getModel();e.beginUpdate();var g=null;try{for(a=a.firstChild;null!=a;){if("update"==a.nodeName){var k=e.getCell(a.getAttribute("id")); -if(null!=k){try{var n=a.getAttribute("value");if(null!=n){var x=mxUtils.parseXml(n).documentElement;if(null!=x)if("1"==x.getAttribute("replace-value"))e.setValue(k,x);else for(var B=x.attributes,m=0;m<B.length;m++)d.setAttributeForCell(k,B[m].nodeName,0<B[m].nodeValue.length?B[m].nodeValue:null)}}catch(K){null!=window.console&&console.log("Error in value for "+k.id+": "+K)}try{var A=a.getAttribute("style");null!=A&&d.model.setStyle(k,A)}catch(K){null!=window.console&&console.log("Error in style for "+ -k.id+": "+K)}try{var q=a.getAttribute("icon");if(null!=q){var D=0<q.length?JSON.parse(q):null;null!=D&&D.append||d.removeCellOverlays(k);null!=D&&d.addCellOverlay(k,b(D))}}catch(K){null!=window.console&&console.log("Error in icon for "+k.id+": "+K)}try{var H=a.getAttribute("geometry");if(null!=H){var H=JSON.parse(H),J=d.getCellGeometry(k);if(null!=J){J=J.clone();for(key in H){var I=parseFloat(H[key]);"dx"==key?J.x+=I:"dy"==key?J.y+=I:"dw"==key?J.width+=I:"dh"==key?J.height+=I:J[key]=parseFloat(H[key])}d.model.setGeometry(k, -J)}}}catch(K){null!=window.console&&console.log("Error in icon for "+k.id+": "+K)}}}else if("model"==a.nodeName){for(var G=a.firstChild;null!=G&&G.nodeType!=mxConstants.NODETYPE_ELEMENT;)G=G.nextSibling;null!=G&&(new mxCodec(a.firstChild)).decode(G,e)}else if("view"==a.nodeName){if(a.hasAttribute("scale")&&(d.view.scale=parseFloat(a.getAttribute("scale"))),a.hasAttribute("dx")||a.hasAttribute("dy"))d.view.translate=new mxPoint(parseFloat(a.getAttribute("dx")||0),parseFloat(a.getAttribute("dy")||0))}else"fit"== -a.nodeName&&(g=a.hasAttribute("max-scale")?parseFloat(a.getAttribute("max-scale")):1);a=a.nextSibling}}finally{e.endUpdate()}null!=g&&this.chromelessResize&&this.chromelessResize(!0,g)}return c};EditorUi.prototype.getCopyFilename=function(a,b){var c=null!=a&&null!=a.getTitle()?a.getTitle():this.defaultFilename,f="",d=c.lastIndexOf(".");0<=d&&(f=c.substring(d),c=c.substring(0,d));if(b)var l=new Date,d=l.getFullYear(),e=l.getMonth()+1,g=l.getDate(),k=l.getHours(),x=l.getMinutes(),l=l.getSeconds(),c= -c+(" "+(d+"-"+e+"-"+g+"-"+k+"-"+x+"-"+l));return c=mxResources.get("copyOf",[c])+f};EditorUi.prototype.fileLoaded=function(a,b){var c=this.getCurrentFile();this.fileLoadedError=null;this.setCurrentFile(null);var f=!1;this.hideDialog();null!=c&&(c.removeListener(this.descriptorChangedListener),c.close());this.editor.graph.model.clear();this.editor.undoManager.clear();var d=mxUtils.bind(this,function(){this.setGraphEnabled(!1);this.setCurrentFile(null);null!=c&&this.updateDocumentTitle();this.editor.graph.model.clear(); -this.editor.undoManager.clear();this.setBackgroundImage(null);!b&&null!=window.location.hash&&0<window.location.hash.length&&(window.location.hash="");null!=this.fname&&(this.fnameWrapper.style.display="none",this.fname.innerHTML="",this.fname.setAttribute("title",mxResources.get("rename")));this.editor.setStatus("");this.updateUi();b||this.showSplash()});if(null!=a)try{mxClient.IS_SF&&"min"==uiTheme&&(this.diagramContainer.style.visibility="");this.openingFile=!0;this.setCurrentFile(a);a.addListener("descriptorChanged", -this.descriptorChangedListener);a.addListener("contentChanged",this.descriptorChangedListener);a.open();delete this.openingFile;this.setGraphEnabled(!0);this.setMode(a.getMode());this.editor.graph.model.prefix=Editor.guid()+"-";this.editor.undoManager.clear();this.descriptorChanged();this.updateUi();a.isEditable()?a.isModified()?(a.addUnsavedStatus(),null!=a.backupPatch&&a.patch([a.backupPatch])):this.editor.setStatus(""):this.editor.setStatus('<span class="geStatusAlert" style="margin-left:8px;">'+ -mxUtils.htmlEntities(mxResources.get("readOnly"))+"</span>");!this.editor.isChromelessView()||this.editor.editable?(this.editor.graph.selectUnlockedLayer(),this.showLayersDialog(),this.restoreLibraries(),window.self!==window.top&&window.focus()):this.editor.graph.isLightboxView()&&this.lightboxFit();this.chromelessResize&&this.chromelessResize();this.editor.fireEvent(new mxEventObject("fileLoaded"));f=!0;this.isOffline()||null==a.getMode()||EditorUi.logEvent({category:a.getMode().toUpperCase()+"-OPEN-FILE-"+ -a.getHash(),action:"size_"+a.getSize(),label:"autosave_"+(this.editor.autosave?"on":"off")});if(this.editor.editable&&this.mode==a.getMode()&&a.getMode()!=App.MODE_DEVICE&&null!=a.getMode())try{this.addRecent({id:a.getHash(),title:a.getTitle(),mode:a.getMode()})}catch(z){}try{mxSettings.setOpenCounter(mxSettings.getOpenCounter()+1),mxSettings.save()}catch(z){}}catch(z){this.fileLoadedError=z;null!=window.console&&(console.error(z),console.log("error in fileLoaded:",a,z));if(EditorUi.enableLogging&& -!this.isOffline())try{(new Image).src=(null!=window.DRAWIO_LOG_URL?window.DRAWIO_LOG_URL:"")+"/log?v="+encodeURIComponent(EditorUi.VERSION)+"&msg=errorInFileLoaded:url:"+encodeURIComponent(window.location.href)+(null!=z&&null!=z.message?":err:"+encodeURIComponent(z.message):"")+(null!=z&&null!=z.stack?"&stack="+encodeURIComponent(z.stack):"")}catch(y){}var l=mxUtils.bind(this,function(){null!=urlParams.url&&this.spinner.spin(document.body,mxResources.get("reconnecting"))?window.location.search=this.getSearch(["url"]): -null!=c?this.fileLoaded(c):d()});b?l():this.handleError(z,mxResources.get("errorLoadingFile"),l,!0)}else d();return f};EditorUi.prototype.getHashValueForPages=function(a,b){var c=0,f=new mxGraphModel,d=new mxCodec;null!=b&&(b.byteCount=0,b.attrCount=0,b.eltCount=0,b.nodeCount=0);for(var l=0;l<a.length;l++){this.updatePageRoot(a[l]);var e=a[l].node.cloneNode(!1);e.removeAttribute("name");f.root=a[l].root;var g=d.encode(f);this.editor.graph.saveViewState(a[l].viewState,g,!0);g.removeAttribute("pageWidth"); -g.removeAttribute("pageHeight");e.appendChild(g);null!=b&&(b.eltCount+=e.getElementsByTagName("*").length,b.nodeCount+=e.getElementsByTagName("mxCell").length);c=(c<<5)-c+this.hashValue(e,function(a,b,c,f){return!f||"mxGeometry"!=a.nodeName&&"mxPoint"!=a.nodeName||"x"!=b&&"y"!=b&&"width"!=b&&"height"!=b?f&&"mxCell"==a.nodeName&&"previous"==b?null:c:Math.round(c)},b)<<0}return c};EditorUi.prototype.hashValue=function(a,b,c){var f=0;if(null!=a&&"object"===typeof a&&"number"===typeof a.nodeType&&"string"=== -typeof a.nodeName&&"function"===typeof a.getAttribute){null!=a.nodeName&&(f^=this.hashValue(a.nodeName,b,c));if(null!=a.attributes){null!=c&&(c.attrCount+=a.attributes.length);for(var d=0;d<a.attributes.length;d++){var l=a.attributes[d].name,p=null!=b?b(a,l,a.attributes[d].value,!0):a.attributes[d].value;null!=p&&(f^=this.hashValue(l,b,c)+this.hashValue(p,b,c))}}if(null!=a.childNodes)for(d=0;d<a.childNodes.length;d++)f=(f<<5)-f+this.hashValue(a.childNodes[d],b,c)<<0}else if(null!=a&&"function"!== -typeof a){a=String(a);b=0;null!=c&&(c.byteCount+=a.length);for(d=0;d<a.length;d++)b=(b<<5)-b+a.charCodeAt(d)<<0;f^=b}return f};EditorUi.prototype.descriptorChanged=function(){};EditorUi.prototype.restoreLibraries=function(){};EditorUi.prototype.saveLibrary=function(a,b,c,d,e,g,k){};EditorUi.prototype.isScratchpadEnabled=function(){return isLocalStorage||mxClient.IS_CHROMEAPP};EditorUi.prototype.toggleScratchpad=function(){this.isScratchpadEnabled()&&(null==this.scratchpad?this.getLocalData(".scratchpad", -mxUtils.bind(this,function(a){null==a&&(a=this.emptyLibraryXml);this.loadLibrary(new StorageLibrary(this,a,".scratchpad"))})):this.closeLibrary(this.scratchpad))};EditorUi.prototype.createLibraryDataFromImages=function(a){var b=mxUtils.createXmlDocument(),c=b.createElement("mxlibrary");mxUtils.setTextContent(c,JSON.stringify(a));b.appendChild(c);return mxUtils.getXml(b)};EditorUi.prototype.closeLibrary=function(a){null!=a&&(this.removeLibrarySidebar(a.getHash()),a.constructor!=LocalLibrary&&mxSettings.removeCustomLibrary(a.getHash()), -".scratchpad"==a.title&&(this.scratchpad=null))};EditorUi.prototype.removeLibrarySidebar=function(a){var b=this.sidebar.palettes[a];if(null!=b){for(var c=0;c<b.length;c++)b[c].parentNode.removeChild(b[c]);delete this.sidebar.palettes[a]}};EditorUi.prototype.repositionLibrary=function(a){var b=this.sidebar.container;if(null==a){var c=this.sidebar.palettes["L.scratchpad"];null==c&&(c=this.sidebar.palettes.search);null!=c&&(a=c[c.length-1].nextSibling)}a=null!=a?a:b.firstChild.nextSibling.nextSibling; -var c=b.lastChild,f=c.previousSibling;b.insertBefore(c,a);b.insertBefore(f,c)};EditorUi.prototype.loadLibrary=function(a){var b=mxUtils.parseXml(a.getData());if("mxlibrary"==b.documentElement.nodeName){var c=JSON.parse(mxUtils.getTextContent(b.documentElement));this.libraryLoaded(a,c,b.documentElement.getAttribute("title"))}else throw{message:mxResources.get("notALibraryFile")};};EditorUi.prototype.getLibraryStorageHint=function(a){return""};EditorUi.prototype.libraryLoaded=function(a,b,c){if(null!= -this.sidebar){a.constructor!=LocalLibrary&&mxSettings.addCustomLibrary(a.getHash());".scratchpad"==a.title&&(this.scratchpad=a);var f=this.sidebar.palettes[a.getHash()],f=null!=f?f[f.length-1].nextSibling:null;this.removeLibrarySidebar(a.getHash());var d=null,l=mxUtils.bind(this,function(b,c){0==b.length&&a.isEditable()?(null==d&&(d=document.createElement("div"),d.className="geDropTarget",mxUtils.write(d,mxResources.get("dragElementsHere"))),c.appendChild(d)):this.addLibraryEntries(b,c)});null!=this.sidebar&& -null!=b&&this.sidebar.addEntries(b);c=null!=c&&0<c.length?c:a.getTitle();var e=this.sidebar.addPalette(a.getHash(),c,!0,mxUtils.bind(this,function(a){l(b,a)}));this.repositionLibrary(f);var p=e.parentNode.previousSibling;c=p.getAttribute("title");null!=c&&0<c.length&&".scratchpad"!=a.title&&p.setAttribute("title",this.getLibraryStorageHint(a)+"\n"+c);var g=document.createElement("div");g.style.position="absolute";g.style.right="0px";g.style.top="0px";g.style.padding="8px";mxClient.IS_QUIRKS||8==document.documentMode|| -(g.style.backgroundColor="inherit");p.style.position="relative";var k=document.createElement("img");k.setAttribute("src",Dialog.prototype.closeImage);k.setAttribute("title",mxResources.get("close"));k.setAttribute("valign","absmiddle");k.setAttribute("border","0");k.style.margin="0 3px";var n=null;if(".scratchpad"!=a.title||this.closableScratchpad)g.appendChild(k),mxEvent.addListener(k,"click",mxUtils.bind(this,function(b){if(!mxEvent.isConsumed(b)){var c=mxUtils.bind(this,function(){this.closeLibrary(a)}); -null!=n?this.confirm(mxResources.get("allChangesLost"),null,c,mxResources.get("cancel"),mxResources.get("discardChanges")):c();mxEvent.consume(b)}}));if(a.isEditable()){var m=this.editor.graph,A=null,q=mxUtils.bind(this,function(c){this.showLibraryDialog(a.getTitle(),e,b,a,a.getMode());mxEvent.consume(c)}),D=mxUtils.bind(this,function(c){a.setModified(!0);a.isAutosave()?(null!=A&&null!=A.parentNode&&A.parentNode.removeChild(A),A=k.cloneNode(!1),A.setAttribute("src",Editor.spinImage),A.setAttribute("title", -mxResources.get("saving")),A.style.cursor="default",A.style.marginRight="2px",A.style.marginTop="-2px",g.insertBefore(A,g.firstChild),p.style.paddingRight=18*g.childNodes.length+"px",this.saveLibrary(a.getTitle(),b,a,a.getMode(),!0,!0,function(){null!=A&&null!=A.parentNode&&(A.parentNode.removeChild(A),p.style.paddingRight=18*g.childNodes.length+"px")})):null==n&&(n=k.cloneNode(!1),n.setAttribute("src",IMAGE_PATH+"/download.png"),n.setAttribute("title",mxResources.get("save")),g.insertBefore(n,g.firstChild), -mxEvent.addListener(n,"click",mxUtils.bind(this,function(c){this.saveLibrary(a.getTitle(),b,a,a.getMode(),a.constructor==LocalLibrary,!0,function(){null==n||a.isModified()||(p.style.paddingRight=18*g.childNodes.length+"px",n.parentNode.removeChild(n),n=null)});mxEvent.consume(c)})),p.style.paddingRight=18*g.childNodes.length+"px")}),H=mxUtils.bind(this,function(a,c,f,l){a=m.cloneCells(mxUtils.sortCells(m.model.getTopmostCells(a)));for(var p=0;p<a.length;p++){var g=m.getCellGeometry(a[p]);null!=g&& -g.translate(-c.x,-c.y)}e.appendChild(this.sidebar.createVertexTemplateFromCells(a,c.width,c.height,l||"",!0,!1,!1));a={xml:Graph.compress(mxUtils.getXml(this.editor.graph.encodeCells(a))),w:c.width,h:c.height};null!=l&&(a.title=l);b.push(a);D(f);null!=d&&null!=d.parentNode&&0<b.length&&(d.parentNode.removeChild(d),d=null)}),J=mxUtils.bind(this,function(a){if(m.isSelectionEmpty())m.getRubberband().isActive()?(m.getRubberband().execute(a),m.getRubberband().reset()):this.showError(mxResources.get("error"), -mxResources.get("nothingIsSelected"),mxResources.get("ok"));else{var b=m.getSelectionCells(),c=m.view.getBounds(b),f=m.view.scale;c.x/=f;c.y/=f;c.width/=f;c.height/=f;c.x-=m.view.translate.x;c.y-=m.view.translate.y;H(b,c)}mxEvent.consume(a)});mxEvent.addGestureListeners(e,function(){},mxUtils.bind(this,function(a){m.isMouseDown&&null!=m.panningManager&&null!=m.graphHandler.shape&&(m.graphHandler.shape.node.style.visibility="hidden",e.style.backgroundColor="#f1f3f4",e.style.cursor="copy",m.panningManager.stop(), -m.autoScroll=!1,null!=m.graphHandler.guide&&m.graphHandler.guide.setVisible(!1),null!=m.graphHandler.hint&&(m.graphHandler.hint.style.visibility="hidden"),mxEvent.consume(a))}),mxUtils.bind(this,function(a){m.isMouseDown&&null!=m.panningManager&&null!=m.graphHandler&&(e.style.backgroundColor="",e.style.cursor="default",this.sidebar.showTooltips=!0,m.panningManager.stop(),m.graphHandler.reset(),m.isMouseDown=!1,m.autoScroll=!0,J(a),mxEvent.consume(a))}));mxEvent.addListener(e,"mouseleave",mxUtils.bind(this, -function(a){m.isMouseDown&&null!=m.graphHandler.shape&&(m.graphHandler.shape.node.style.visibility="visible",e.style.backgroundColor="",e.style.cursor="",m.autoScroll=!0,null!=m.graphHandler.guide&&m.graphHandler.guide.setVisible(!0),null!=m.graphHandler.hint&&(m.graphHandler.hint.style.visibility="visible"))}));Graph.fileSupport&&(mxEvent.addListener(e,"dragover",mxUtils.bind(this,function(a){e.style.backgroundColor="#f1f3f4";a.dataTransfer.dropEffect="copy";e.style.cursor="copy";this.sidebar.hideTooltip(); -a.stopPropagation();a.preventDefault()})),mxEvent.addListener(e,"drop",mxUtils.bind(this,function(a){e.style.cursor="";e.style.backgroundColor="";0<a.dataTransfer.files.length&&this.importFiles(a.dataTransfer.files,0,0,this.maxImageSize,mxUtils.bind(this,function(c,f,p,g,k,t,x,n,u){if(null!=c&&"image/"==f.substring(0,6))c="shape=image;verticalLabelPosition=bottom;verticalAlign=top;aspect=fixed;image="+this.convertDataUri(c),c=[new mxCell("",new mxGeometry(0,0,k,t),c)],c[0].vertex=!0,H(c,new mxRectangle(0, -0,k,t),a,mxEvent.isAltDown(a)?null:x.substring(0,x.lastIndexOf(".")).replace(/_/g," ")),null!=d&&null!=d.parentNode&&0<b.length&&(d.parentNode.removeChild(d),d=null);else{var m=!1,B=mxUtils.bind(this,function(c,f){if(null!=c&&"text/xml"==f){var p=mxUtils.parseXml(c);if("mxlibrary"==p.documentElement.nodeName)try{var g=JSON.parse(mxUtils.getTextContent(p.documentElement));l(g,e);b=b.concat(g);D(a);this.spinner.stop();m=!0}catch(P){}else if("mxfile"==p.documentElement.nodeName)try{for(var k=p.documentElement.getElementsByTagName("diagram"), -p=0;p<k.length;p++){var t=this.stringToCells(Editor.getDiagramNodeXml(k[p])),x=this.editor.graph.getBoundingBoxFromGeometry(t);H(t,new mxRectangle(0,0,x.width,x.height),a)}m=!0}catch(P){null!=window.console&&console.log("error in drop handler:",P)}}m||(this.spinner.stop(),this.handleError({message:mxResources.get("errorLoadingFile")}));null!=d&&null!=d.parentNode&&0<b.length&&(d.parentNode.removeChild(d),d=null)});null!=u&&null!=x&&(/(\.v(dx|sdx?))($|\?)/i.test(x)||/(\.vs(x|sx?))($|\?)/i.test(x))? -this.importVisio(u,function(a){B(a,"text/xml")},null,x):!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(c,x)&&null!=u?this.parseFile(u,mxUtils.bind(this,function(a){4==a.readyState&&(this.spinner.stop(),200<=a.status&&299>=a.status?B(a.responseText,"text/xml"):this.handleError({message:mxResources.get(413==a.status?"drawingTooLarge":"invalidOrMissingFile")},mxResources.get("errorLoadingFile")))})):B(c,f)}}));a.stopPropagation();a.preventDefault()})),mxEvent.addListener(e,"dragleave", -function(a){e.style.cursor="";e.style.backgroundColor="";a.stopPropagation();a.preventDefault()}));k=k.cloneNode(!1);k.setAttribute("src",Editor.editImage);k.setAttribute("title",mxResources.get("edit"));g.insertBefore(k,g.firstChild);mxEvent.addListener(k,"click",q);mxEvent.addListener(e,"dblclick",function(a){mxEvent.getSource(a)==e&&q(a)});c=k.cloneNode(!1);c.setAttribute("src",Editor.plusImage);c.setAttribute("title",mxResources.get("add"));g.insertBefore(c,g.firstChild);mxEvent.addListener(c, -"click",J);this.isOffline()||".scratchpad"!=a.title||null==EditorUi.scratchpadHelpLink||(c=document.createElement("span"),c.setAttribute("title",mxResources.get("help")),c.style.cssText="color:#a3a3a3;text-decoration:none;margin-right:2px;",mxUtils.write(c,"?"),mxEvent.addGestureListeners(c,mxUtils.bind(this,function(a){this.openLink(EditorUi.scratchpadHelpLink);mxEvent.consume(a)})),g.insertBefore(c,g.firstChild))}p.appendChild(g);p.style.paddingRight=18*g.childNodes.length+"px"}};EditorUi.prototype.addLibraryEntries= -function(a,b){for(var c=0;c<a.length;c++){var f=a[c],d=f.data;if(null!=d){var d=this.convertDataUri(d),l="shape=image;verticalLabelPosition=bottom;verticalAlign=top;imageAspect=0;";"fixed"==f.aspect&&(l+="aspect=fixed;");b.appendChild(this.sidebar.createVertexTemplate(l+"image="+d,f.w,f.h,"",f.title||"",!1,!1,!0))}else null!=f.xml&&(d=this.stringToCells(Graph.decompress(f.xml)),0<d.length&&b.appendChild(this.sidebar.createVertexTemplateFromCells(d,f.w,f.h,f.title||"",!0,!1,!0)))}};EditorUi.prototype.getResource= -function(a){return null!=a?a[mxLanguage]||a.main:null};EditorUi.prototype.footerHeight=0;"1"==urlParams.offline||EditorUi.isElectronApp||("1"==urlParams.savesidebar&&(Sidebar.prototype.thumbWidth=64,Sidebar.prototype.thumbHeight=64),EditorUi.prototype.createFooter=function(){return document.getElementById("geFooter")});EditorUi.initTheme=function(){"atlas"==uiTheme?(mxClient.link("stylesheet",STYLE_PATH+"/atlas.css"),"undefined"!==typeof Toolbar&&(Toolbar.prototype.unselectedBackground=mxClient.IS_QUIRKS? -"none":"linear-gradient(rgb(255, 255, 255) 0px, rgb(242, 242, 242) 100%)",Toolbar.prototype.selectedBackground="rgb(242, 242, 242)"),Editor.prototype.initialTopSpacing=3,EditorUi.prototype.menubarHeight=41,EditorUi.prototype.toolbarHeight=38):"dark"==uiTheme&&(mxClient.link("stylesheet",STYLE_PATH+"/dark.css"),Dialog.backdropColor="#2a2a2a",Graph.prototype.defaultThemeName="darkTheme",Graph.prototype.defaultPageBackgroundColor="#2a2a2a",Graph.prototype.defaultPageBorderColor="#505759",Format.prototype.inactiveTabBackgroundColor= -"black",BaseFormatPanel.prototype.buttonBackgroundColor="#2a2a2a",Sidebar.prototype.dragPreviewBorder="1px dashed #cccccc",mxGraphHandler.prototype.previewColor="#cccccc",StyleFormatPanel.prototype.defaultStrokeColor="#cccccc",mxClient.IS_SVG&&(Editor.helpImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAP1BMVEUAAAD///////////////////////////////////////////////////////////////////////////////9Du/pqAAAAFXRSTlMAT30qCJRBboyDZyCgRzUUdF46MJlgXETgAAAAeklEQVQY022O2w4DIQhEQUURda/9/28tUO2+7CQS5sgQ4F1RapX78YUwRqQjTU8ILqQfKerTKTvACJ4nLX3krt+8aS82oI8aQC4KavRgtvEW/mDvsICgA03PSGRr79MqX1YPNIxzjyqtw8ZnnRo4t5a5undtJYRywau+ds4Cyza3E6YAAAAASUVORK5CYII=", +window.location.hostname),p.setAttribute("modified",(new Date).toISOString()),p.setAttribute("agent",navigator.userAgent),p.setAttribute("version",EditorUi.VERSION),p.setAttribute("etag",Editor.guid()),a=null!=c?c.getMode():this.mode,null!=a&&p.setAttribute("type",a),null!=this.pages&&p.setAttribute("pages",this.pages.length));A=A?mxUtils.getPrettyXml(p):mxUtils.getXml(p);if(!q&&!e&&(g||null!=c&&/(\.html)$/i.test(c.getTitle())))A=this.getHtml2(mxUtils.getXml(p),b,null!=c?c.getTitle():null,f,l);else if(q|| +!e&&null!=c&&/(\.svg)$/i.test(c.getTitle()))null==c||c.getMode()!=App.MODE_DEVICE&&c.getMode()!=App.MODE_BROWSER||(d=null),A=this.getEmbeddedSvg(A,b,d,null,k,n,l);return A};EditorUi.prototype.getXmlFileData=function(a,b,c){a=null!=a?a:!0;b=null!=b?b:!1;c=null!=c?c:!Editor.compressXml;var f=this.editor.getGraphXml(a);if(a&&null!=this.fileNode&&null!=this.currentPage)if(a=function(a){var b=a.getElementsByTagName("mxGraphModel"),b=0<b.length?b[0]:null;null==b&&c?(b=mxUtils.trim(mxUtils.getTextContent(a)), +a=a.cloneNode(!1),0<b.length&&(b=Graph.decompress(b),null!=b&&0<b.length&&a.appendChild(mxUtils.parseXml(b).documentElement))):null==b||c?a=a.cloneNode(!0):(a=a.cloneNode(!1),mxUtils.setTextContent(a,Graph.compressNode(b)));f.appendChild(a)},EditorUi.removeChildNodes(this.currentPage.node),mxUtils.setTextContent(this.currentPage.node,Graph.compressNode(f)),f=this.fileNode.cloneNode(!1),b)a(this.currentPage.node);else for(b=0;b<this.pages.length;b++){if(this.currentPage!=this.pages[b]&&this.pages[b].needsUpdate){var d= +(new mxCodec(mxUtils.createXmlDocument())).encode(new mxGraphModel(this.pages[b].root));this.editor.graph.saveViewState(this.pages[b].viewState,d);EditorUi.removeChildNodes(this.pages[b].node);mxUtils.setTextContent(this.pages[b].node,Graph.compressNode(d));delete this.pages[b].needsUpdate}a(this.pages[b].node)}return f};EditorUi.prototype.anonymizeString=function(a,b){for(var c=[],f=0;f<a.length;f++){var d=a.charAt(f);0<=EditorUi.ignoredAnonymizedChars.indexOf(d)?c.push(d):isNaN(parseInt(d))?d.toLowerCase()!= +d?c.push(String.fromCharCode(65+Math.round(25*Math.random()))):d.toUpperCase()!=d?c.push(String.fromCharCode(97+Math.round(25*Math.random()))):/\s/.test(d)?c.push(" "):c.push("?"):c.push(b?"0":Math.round(9*Math.random()))}return c.join("")};EditorUi.prototype.anonymizePatch=function(a){if(null!=a[EditorUi.DIFF_INSERT])for(var b=0;b<a[EditorUi.DIFF_INSERT].length;b++)try{var c=mxUtils.parseXml(a[EditorUi.DIFF_INSERT][b].data).documentElement.cloneNode(!1);null!=c.getAttribute("name")&&c.setAttribute("name", +this.anonymizeString(c.getAttribute("name")));a[EditorUi.DIFF_INSERT][b].data=mxUtils.getXml(c)}catch(q){a[EditorUi.DIFF_INSERT][b].data=q.message}if(null!=a[EditorUi.DIFF_UPDATE]){for(var f in a[EditorUi.DIFF_UPDATE]){var d=a[EditorUi.DIFF_UPDATE][f];null!=d.name&&(d.name=this.anonymizeString(d.name));null!=d.cells&&(b=mxUtils.bind(this,function(a){var b=d.cells[a];if(null!=b){for(var c in b)null!=b[c].value&&(b[c].value="["+b[c].value.length+"]"),null!=b[c].xmlValue&&(b[c].xmlValue="["+b[c].xmlValue.length+ +"]"),null!=b[c].style&&(b[c].style="["+b[c].style.length+"]"),0==Object.keys(b[c]).length&&delete b[c];0==Object.keys(b).length&&delete d.cells[a]}}),b(EditorUi.DIFF_INSERT),b(EditorUi.DIFF_UPDATE),0==Object.keys(d.cells).length&&delete d.cells);0==Object.keys(d).length&&delete a[EditorUi.DIFF_UPDATE][f]}0==Object.keys(a[EditorUi.DIFF_UPDATE]).length&&delete a[EditorUi.DIFF_UPDATE]}return a};EditorUi.prototype.anonymizeAttributes=function(a,b){if(null!=a.attributes)for(var c=0;c<a.attributes.length;c++)"as"!= +a.attributes[c].name&&a.setAttribute(a.attributes[c].name,this.anonymizeString(a.attributes[c].value,b));if(null!=a.childNodes)for(c=0;c<a.childNodes.length;c++)this.anonymizeAttributes(a.childNodes[c],b)};EditorUi.prototype.anonymizeNode=function(a,b){for(var c=a.getElementsByTagName("mxCell"),f=0;f<c.length;f++)null!=c[f].getAttribute("value")&&c[f].setAttribute("value","["+c[f].getAttribute("value").length+"]"),null!=c[f].getAttribute("xmlValue")&&c[f].setAttribute("xmlValue","["+c[f].getAttribute("xmlValue").length+ +"]"),null!=c[f].getAttribute("style")&&c[f].setAttribute("style","["+c[f].getAttribute("style").length+"]"),null!=c[f].parentNode&&"root"!=c[f].parentNode.nodeName&&null!=c[f].parentNode.parentNode&&(c[f].setAttribute("id",c[f].parentNode.getAttribute("id")),c[f].parentNode.parentNode.replaceChild(c[f],c[f].parentNode));return a};EditorUi.prototype.synchronizeCurrentFile=function(a){var b=this.getCurrentFile();null!=b&&(b.savingFile?this.handleError({message:mxResources.get("busy")}):!a&&b.invalidChecksum? +b.handleFileError(null,!0):this.spinner.spin(document.body,mxResources.get("updatingDocument"))&&(b.clearAutosave(),this.editor.setStatus(""),a?b.reloadFile(mxUtils.bind(this,function(){b.handleFileSuccess("manual"==DrawioFile.SYNC)}),mxUtils.bind(this,function(a){b.handleFileError(a,!0)})):b.synchronizeFile(mxUtils.bind(this,function(){b.handleFileSuccess("manual"==DrawioFile.SYNC)}),mxUtils.bind(this,function(a){b.handleFileError(a,!0)}))))};EditorUi.prototype.getFileData=function(a,b,c,d,e,g,k, +n,m,x){e=null!=e?e:!0;g=null!=g?g:!1;var f=this.editor.graph;if(b||!a&&null!=m&&/(\.svg)$/i.test(m.getTitle()))if(x=!1,null!=this.pages&&this.currentPage!=this.pages[0]){var l=f.getGlobalVariable,f=this.createTemporaryGraph(f.getStylesheet()),p=this.pages[0];f.getGlobalVariable=function(a){return"page"==a?p.getName():"pagenumber"==a?1:l.apply(this,arguments)};document.body.appendChild(f.container);f.model.setRoot(p.root)}k=null!=k?k:this.getXmlFileData(e,g,x);m=null!=m?m:this.getCurrentFile();a=this.createFileData(k, +f,m,window.location.href,a,b,c,d,e,n,x);f!=this.editor.graph&&f.container.parentNode.removeChild(f.container);return a};EditorUi.prototype.getHtml=function(a,b,c,d,e,g){g=null!=g?g:!0;var f=null,l=EditorUi.drawHost+"/js/embed-static.min.js";if(null!=b){var f=g?b.getGraphBounds():b.getBoundingBox(b.getSelectionCells()),p=b.view.scale;g=Math.floor(f.x/p-b.view.translate.x);p=Math.floor(f.y/p-b.view.translate.y);f=b.background;null==e&&(b=this.getBasenames().join(";"),0<b.length&&(l=EditorUi.drawHost+ +"/embed.js?s="+b));a.setAttribute("x0",g);a.setAttribute("y0",p)}null!=a&&(a.setAttribute("pan","1"),a.setAttribute("zoom","1"),a.setAttribute("resize","0"),a.setAttribute("fit","0"),a.setAttribute("border","20"),a.setAttribute("links","1"),null!=d&&a.setAttribute("edit",d));null!=e&&(e=e.replace(/&/g,"&"));a=null!=a?Graph.zapGremlins(mxUtils.getXml(a)):"";d=Graph.compress(a);Graph.decompress(d)!=a&&(d=encodeURIComponent(a));return(null==e?'\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=5,IE=9" ><![endif]--\x3e\n': +"")+"<!DOCTYPE html>\n<html"+(null!=e?' xmlns="http://www.w3.org/1999/xhtml">':">")+"\n<head>\n"+(null==e?null!=c?"<title>"+mxUtils.htmlEntities(c)+"</title>\n":"":"<title>Draw.io Diagram</title>\n")+(null!=e?'<meta http-equiv="refresh" content="0;URL=\''+e+"'\"/>\n":"")+"</head>\n<body"+(null==e&&null!=f&&f!=mxConstants.NONE?' style="background-color:'+f+';">':">")+'\n<div class="mxgraph" style="position:relative;overflow:auto;width:100%;">\n<div style="width:1px;height:1px;overflow:hidden;">'+d+ +"</div>\n</div>\n"+(null==e?'<script type="text/javascript" src="'+l+'">\x3c/script>':'<a style="position:absolute;top:50%;left:50%;margin-top:-128px;margin-left:-64px;" href="'+e+'" target="_blank"><img border="0" src="'+EditorUi.drawHost+'/images/drawlogo128.png"/></a>')+"\n</body>\n</html>\n"};EditorUi.prototype.getHtml2=function(a,b,c,d,e){b=EditorUi.drawHost+"/js/viewer.min.js";null!=e&&(e=e.replace(/&/g,"&"));a={highlight:"#0000ff",nav:this.editor.graph.foldingEnabled,resize:!0,xml:Graph.zapGremlins(a), +toolbar:"pages zoom layers lightbox"};null!=this.pages&&null!=this.currentPage&&(a.page=mxUtils.indexOf(this.pages,this.currentPage));return(null==e?'\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=5,IE=9" ><![endif]--\x3e\n':"")+"<!DOCTYPE html>\n<html"+(null!=e?' xmlns="http://www.w3.org/1999/xhtml">':">")+"\n<head>\n"+(null==e?null!=c?"<title>"+mxUtils.htmlEntities(c)+"</title>\n":"":"<title>Draw.io Diagram</title>\n")+(null!=e?'<meta http-equiv="refresh" content="0;URL=\''+e+"'\"/>\n": +"")+'<meta charset="utf-8"/>\n</head>\n<body>\n<div class="mxgraph" style="max-width:100%;border:1px solid transparent;" data-mxgraph="'+mxUtils.htmlEntities(JSON.stringify(a))+'"></div>\n'+(null==e?'<script type="text/javascript" src="'+b+'">\x3c/script>':'<a style="position:absolute;top:50%;left:50%;margin-top:-128px;margin-left:-64px;" href="'+e+'" target="_blank"><img border="0" src="'+EditorUi.drawHost+'/images/drawlogo128.png"/></a>')+"\n</body>\n</html>\n"};EditorUi.prototype.setFileData=function(a){a= +this.validateFileData(a);this.pages=this.fileNode=this.currentPage=null;a=null!=a&&0<a.length?mxUtils.parseXml(a).documentElement:null;var b=Editor.extractParserError(a,mxResources.get("invalidOrMissingFile"));if(b)throw Error(b);b=null!=a?this.editor.extractGraphModel(a,!0):null;null!=b&&(a=b);if(null!=a&&"mxfile"==a.nodeName&&(b=a.getElementsByTagName("diagram"),"0"!=urlParams.pages||1<b.length||1==b.length&&b[0].hasAttribute("name"))){var c=null;this.fileNode=a;this.pages=[];for(a=0;a<b.length;a++){null== +b[a].getAttribute("id")&&b[a].setAttribute("id",a);var f=new DiagramPage(b[a]);null==f.getName()&&f.setName(mxResources.get("pageWithNumber",[a+1]));this.pages.push(f);null!=urlParams["page-id"]&&f.getId()==urlParams["page-id"]&&(c=f)}this.currentPage=null!=c?c:this.pages[Math.max(0,Math.min(this.pages.length-1,urlParams.page||0))];a=this.currentPage.node}"0"!=urlParams.pages&&null==this.fileNode&&null!=a&&(this.fileNode=a.ownerDocument.createElement("mxfile"),this.currentPage=new DiagramPage(a.ownerDocument.createElement("diagram")), +this.currentPage.setName(mxResources.get("pageWithNumber",[1])),this.pages=[this.currentPage]);this.editor.setGraphXml(a);null!=this.currentPage&&(this.currentPage.root=this.editor.graph.model.root)};EditorUi.prototype.getBaseFilename=function(a){var b=this.getCurrentFile(),b=null!=b&&null!=b.getTitle()?b.getTitle():this.defaultFilename;if(/(\.xml)$/i.test(b)||/(\.html)$/i.test(b)||/(\.svg)$/i.test(b)||/(\.png)$/i.test(b)||/(\.drawio)$/i.test(b))b=b.substring(0,b.lastIndexOf("."));!a&&null!=this.pages&& +1<this.pages.length&&null!=this.currentPage&&null!=this.currentPage.node.getAttribute("name")&&0<this.currentPage.getName().length&&(b=b+"-"+this.currentPage.getName());return b};EditorUi.prototype.downloadFile=function(a,b,c,d,e,g,k,n,m,x){try{d=null!=d?d:this.editor.graph.isSelectionEmpty();var f=this.getBaseFilename(!e),l=f+"."+a;if("xml"==a){var p='<?xml version="1.0" encoding="UTF-8"?>\n'+this.getFileData(!0,null,null,null,d,e,null,null,null,b);this.saveData(l,a,p,"text/xml")}else if("html"== +a)p=this.getHtml2(this.getFileData(!0),this.editor.graph,f),this.saveData(l,a,p,"text/html");else if("svg"!=a&&"xmlsvg"!=a||!this.spinner.spin(document.body,mxResources.get("export")))"xmlpng"==a?l=f+".png":"jpeg"==a&&(l=f+".jpg"),this.saveRequest(l,a,mxUtils.bind(this,function(b,c){try{var f=this.editor.graph.pageVisible;null!=g&&(this.editor.graph.pageVisible=g);var l=this.createDownloadRequest(b,a,d,c,k,e,n,m,x);this.editor.graph.pageVisible=f;return l}catch(N){this.handleError(N)}}));else{var q= +null,u=mxUtils.bind(this,function(a){a.length<=MAX_REQUEST_SIZE?this.saveData(l,"svg",a,"image/svg+xml"):this.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(q)}))});if("svg"==a){var v=this.editor.graph.background;if(k||v==mxConstants.NONE)v=null;var y=this.editor.graph.getSvg(v,null,null,null,null,d);c&&this.editor.graph.addSvgShadow(y);this.convertImages(y,mxUtils.bind(this,mxUtils.bind(this,function(a){this.spinner.stop(); +u('<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n'+mxUtils.getXml(a))})))}else l=f+".svg",q=this.getFileData(!1,!0,null,mxUtils.bind(this,function(a){this.spinner.stop();u(a)}),d)}}catch(I){this.handleError(I)}};EditorUi.prototype.createDownloadRequest=function(a,b,c,d,e,g,k,n,m){var f=this.editor.graph,l=f.getGraphBounds();c=this.getFileData(!0,null,null,null,c,0==g?!1:"xmlpng"!=b);var p="",q="";if(l.width* +l.height>MAX_AREA||c.length>MAX_REQUEST_SIZE)throw{message:mxResources.get("drawingTooLarge")};l="0";"pdf"==b&&0==g&&(q="&allPages=1");if("xmlpng"==b&&(l="1",b="png",null!=this.pages&&null!=this.currentPage))for(g=0;g<this.pages.length;g++)if(this.pages[g]==this.currentPage){p="&from="+g;break}g=f.background;"png"==b&&e?g=mxConstants.NONE:e||null!=g&&g!=mxConstants.NONE||(g="#ffffff");e={globalVars:f.getExportVariables()};m&&(e.grid={size:f.gridSize,steps:f.view.gridSteps,color:f.view.gridColor}); +return new mxXmlRequest(EXPORT_URL,"format="+b+p+q+"&bg="+(null!=g?g:mxConstants.NONE)+"&base64="+d+"&embedXml="+l+"&xml="+encodeURIComponent(c)+(null!=a?"&filename="+encodeURIComponent(a):"")+"&extras="+encodeURIComponent(JSON.stringify(e))+(null!=k?"&scale="+k:"")+(null!=n?"&border="+n:""))};EditorUi.prototype.setMode=function(a,b){this.mode=a};EditorUi.prototype.loadDescriptor=function(a,b,c){var f=window.location.hash,d=mxUtils.bind(this,function(c){var d=null!=a.data?a.data:"";null!=c&&0<c.length&& +(0<d.length&&(d+="\n"),d+=c);c=new LocalFile(this,"csv"!=a.format&&0<d.length?d:this.emptyDiagramXml,null!=urlParams.title?decodeURIComponent(urlParams.title):this.defaultFilename,!0);c.getHash=function(){return f};this.fileLoaded(c);"csv"==a.format&&this.importCsv(d,mxUtils.bind(this,function(a){this.editor.undoManager.clear();this.editor.setModified(!1);this.editor.setStatus("")}));if(null!=a.update){var l=null!=a.interval?parseInt(a.interval):6E4,p=null,e=mxUtils.bind(this,function(){var b=this.currentPage; +mxUtils.post(a.update,"xml="+encodeURIComponent(mxUtils.getXml(this.editor.getGraphXml())),mxUtils.bind(this,function(a){b===this.currentPage&&(200<=a.getStatus()&&300>=a.getStatus()?(this.updateDiagram(a.getText()),g()):this.handleError({message:mxResources.get("error")+" "+a.getStatus()}))}),mxUtils.bind(this,function(a){this.handleError(a)}))}),g=mxUtils.bind(this,function(){window.clearTimeout(p);p=window.setTimeout(e,l)});this.editor.addListener("pageSelected",mxUtils.bind(this,function(){g(); +e()}));g();e()}null!=b&&b()});if(null!=a.url&&0<a.url.length){var l=a.url;/^https?:\/\//.test(l)&&!this.editor.isCorsEnabledForUrl(l)&&(l=PROXY_URL+"?url="+encodeURIComponent(l));this.loadUrl(l,mxUtils.bind(this,function(a){d(a)}),mxUtils.bind(this,function(a){null!=c&&c(a)}))}else d("")};EditorUi.prototype.updateDiagram=function(a){function b(a){var b=new mxCellOverlay(a.image||d.warningImage,a.tooltip,a.align,a.valign,a.offset);b.addListener(mxEvent.CLICK,function(b,c){f.alert(a.tooltip)});return b} +var c=null,f=this;if(null!=a&&0<a.length&&(c=mxUtils.parseXml(a),a=null!=c?c.documentElement:null,null!=a&&"updates"==a.nodeName)){var d=this.editor.graph,e=d.getModel();e.beginUpdate();var g=null;try{for(a=a.firstChild;null!=a;){if("update"==a.nodeName){var k=e.getCell(a.getAttribute("id"));if(null!=k){try{var n=a.getAttribute("value");if(null!=n){var x=mxUtils.parseXml(n).documentElement;if(null!=x)if("1"==x.getAttribute("replace-value"))e.setValue(k,x);else for(var A=x.attributes,m=0;m<A.length;m++)d.setAttributeForCell(k, +A[m].nodeName,0<A[m].nodeValue.length?A[m].nodeValue:null)}}catch(K){null!=window.console&&console.log("Error in value for "+k.id+": "+K)}try{var t=a.getAttribute("style");null!=t&&d.model.setStyle(k,t)}catch(K){null!=window.console&&console.log("Error in style for "+k.id+": "+K)}try{var D=a.getAttribute("icon");if(null!=D){var G=0<D.length?JSON.parse(D):null;null!=G&&G.append||d.removeCellOverlays(k);null!=G&&d.addCellOverlay(k,b(G))}}catch(K){null!=window.console&&console.log("Error in icon for "+ +k.id+": "+K)}try{var H=a.getAttribute("geometry");if(null!=H){var H=JSON.parse(H),J=d.getCellGeometry(k);if(null!=J){J=J.clone();for(key in H){var I=parseFloat(H[key]);"dx"==key?J.x+=I:"dy"==key?J.y+=I:"dw"==key?J.width+=I:"dh"==key?J.height+=I:J[key]=parseFloat(H[key])}d.model.setGeometry(k,J)}}}catch(K){null!=window.console&&console.log("Error in icon for "+k.id+": "+K)}}}else if("model"==a.nodeName){for(var E=a.firstChild;null!=E&&E.nodeType!=mxConstants.NODETYPE_ELEMENT;)E=E.nextSibling;null!= +E&&(new mxCodec(a.firstChild)).decode(E,e)}else if("view"==a.nodeName){if(a.hasAttribute("scale")&&(d.view.scale=parseFloat(a.getAttribute("scale"))),a.hasAttribute("dx")||a.hasAttribute("dy"))d.view.translate=new mxPoint(parseFloat(a.getAttribute("dx")||0),parseFloat(a.getAttribute("dy")||0))}else"fit"==a.nodeName&&(g=a.hasAttribute("max-scale")?parseFloat(a.getAttribute("max-scale")):1);a=a.nextSibling}}finally{e.endUpdate()}null!=g&&this.chromelessResize&&this.chromelessResize(!0,g)}return c}; +EditorUi.prototype.getCopyFilename=function(a,b){var c=null!=a&&null!=a.getTitle()?a.getTitle():this.defaultFilename,f="",d=c.lastIndexOf(".");0<=d&&(f=c.substring(d),c=c.substring(0,d));if(b)var l=new Date,d=l.getFullYear(),e=l.getMonth()+1,g=l.getDate(),k=l.getHours(),x=l.getMinutes(),l=l.getSeconds(),c=c+(" "+(d+"-"+e+"-"+g+"-"+k+"-"+x+"-"+l));return c=mxResources.get("copyOf",[c])+f};EditorUi.prototype.fileLoaded=function(a,b){var c=this.getCurrentFile();this.fileLoadedError=null;this.setCurrentFile(null); +var f=!1;this.hideDialog();null!=c&&(c.removeListener(this.descriptorChangedListener),c.close());this.editor.graph.model.clear();this.editor.undoManager.clear();var d=mxUtils.bind(this,function(){this.setGraphEnabled(!1);this.setCurrentFile(null);null!=c&&this.updateDocumentTitle();this.editor.graph.model.clear();this.editor.undoManager.clear();this.setBackgroundImage(null);!b&&null!=window.location.hash&&0<window.location.hash.length&&(window.location.hash="");null!=this.fname&&(this.fnameWrapper.style.display= +"none",this.fname.innerHTML="",this.fname.setAttribute("title",mxResources.get("rename")));this.editor.setStatus("");this.updateUi();b||this.showSplash()});if(null!=a)try{mxClient.IS_SF&&"min"==uiTheme&&(this.diagramContainer.style.visibility="");this.openingFile=!0;this.setCurrentFile(a);a.addListener("descriptorChanged",this.descriptorChangedListener);a.addListener("contentChanged",this.descriptorChangedListener);a.open();delete this.openingFile;this.setGraphEnabled(!0);this.setMode(a.getMode()); +this.editor.graph.model.prefix=Editor.guid()+"-";this.editor.undoManager.clear();this.descriptorChanged();this.updateUi();a.isEditable()?a.isModified()?(a.addUnsavedStatus(),null!=a.backupPatch&&a.patch([a.backupPatch])):this.editor.setStatus(""):this.editor.setStatus('<span class="geStatusAlert" style="margin-left:8px;">'+mxUtils.htmlEntities(mxResources.get("readOnly"))+"</span>");!this.editor.isChromelessView()||this.editor.editable?(this.editor.graph.selectUnlockedLayer(),this.showLayersDialog(), +this.restoreLibraries(),window.self!==window.top&&window.focus()):this.editor.graph.isLightboxView()&&this.lightboxFit();this.chromelessResize&&this.chromelessResize();this.editor.fireEvent(new mxEventObject("fileLoaded"));f=!0;this.isOffline()||null==a.getMode()||EditorUi.logEvent({category:a.getMode().toUpperCase()+"-OPEN-FILE-"+a.getHash(),action:"size_"+a.getSize(),label:"autosave_"+(this.editor.autosave?"on":"off")});if(this.editor.editable&&this.mode==a.getMode()&&a.getMode()!=App.MODE_DEVICE&& +null!=a.getMode())try{this.addRecent({id:a.getHash(),title:a.getTitle(),mode:a.getMode()})}catch(z){}try{mxSettings.setOpenCounter(mxSettings.getOpenCounter()+1),mxSettings.save()}catch(z){}}catch(z){this.fileLoadedError=z;null!=window.console&&(console.error(z),console.log("error in fileLoaded:",a,z));if(EditorUi.enableLogging&&!this.isOffline())try{(new Image).src=(null!=window.DRAWIO_LOG_URL?window.DRAWIO_LOG_URL:"")+"/log?v="+encodeURIComponent(EditorUi.VERSION)+"&msg=errorInFileLoaded:url:"+ +encodeURIComponent(window.location.href)+(null!=z&&null!=z.message?":err:"+encodeURIComponent(z.message):"")+(null!=z&&null!=z.stack?"&stack="+encodeURIComponent(z.stack):"")}catch(y){}var l=mxUtils.bind(this,function(){null!=urlParams.url&&this.spinner.spin(document.body,mxResources.get("reconnecting"))?window.location.search=this.getSearch(["url"]):null!=c?this.fileLoaded(c):d()});b?l():this.handleError(z,mxResources.get("errorLoadingFile"),l,!0)}else d();return f};EditorUi.prototype.getHashValueForPages= +function(a,b){var c=0,f=new mxGraphModel,d=new mxCodec;null!=b&&(b.byteCount=0,b.attrCount=0,b.eltCount=0,b.nodeCount=0);for(var l=0;l<a.length;l++){this.updatePageRoot(a[l]);var e=a[l].node.cloneNode(!1);e.removeAttribute("name");f.root=a[l].root;var g=d.encode(f);this.editor.graph.saveViewState(a[l].viewState,g,!0);g.removeAttribute("pageWidth");g.removeAttribute("pageHeight");e.appendChild(g);null!=b&&(b.eltCount+=e.getElementsByTagName("*").length,b.nodeCount+=e.getElementsByTagName("mxCell").length); +c=(c<<5)-c+this.hashValue(e,function(a,b,c,f){return!f||"mxGeometry"!=a.nodeName&&"mxPoint"!=a.nodeName||"x"!=b&&"y"!=b&&"width"!=b&&"height"!=b?f&&"mxCell"==a.nodeName&&"previous"==b?null:c:Math.round(c)},b)<<0}return c};EditorUi.prototype.hashValue=function(a,b,c){var f=0;if(null!=a&&"object"===typeof a&&"number"===typeof a.nodeType&&"string"===typeof a.nodeName&&"function"===typeof a.getAttribute){null!=a.nodeName&&(f^=this.hashValue(a.nodeName,b,c));if(null!=a.attributes){null!=c&&(c.attrCount+= +a.attributes.length);for(var d=0;d<a.attributes.length;d++){var l=a.attributes[d].name,p=null!=b?b(a,l,a.attributes[d].value,!0):a.attributes[d].value;null!=p&&(f^=this.hashValue(l,b,c)+this.hashValue(p,b,c))}}if(null!=a.childNodes)for(d=0;d<a.childNodes.length;d++)f=(f<<5)-f+this.hashValue(a.childNodes[d],b,c)<<0}else if(null!=a&&"function"!==typeof a){a=String(a);b=0;null!=c&&(c.byteCount+=a.length);for(d=0;d<a.length;d++)b=(b<<5)-b+a.charCodeAt(d)<<0;f^=b}return f};EditorUi.prototype.descriptorChanged= +function(){};EditorUi.prototype.restoreLibraries=function(){};EditorUi.prototype.saveLibrary=function(a,b,c,d,e,g,k){};EditorUi.prototype.isScratchpadEnabled=function(){return isLocalStorage||mxClient.IS_CHROMEAPP};EditorUi.prototype.toggleScratchpad=function(){this.isScratchpadEnabled()&&(null==this.scratchpad?this.getLocalData(".scratchpad",mxUtils.bind(this,function(a){null==a&&(a=this.emptyLibraryXml);this.loadLibrary(new StorageLibrary(this,a,".scratchpad"))})):this.closeLibrary(this.scratchpad))}; +EditorUi.prototype.createLibraryDataFromImages=function(a){var b=mxUtils.createXmlDocument(),c=b.createElement("mxlibrary");mxUtils.setTextContent(c,JSON.stringify(a));b.appendChild(c);return mxUtils.getXml(b)};EditorUi.prototype.closeLibrary=function(a){null!=a&&(this.removeLibrarySidebar(a.getHash()),a.constructor!=LocalLibrary&&mxSettings.removeCustomLibrary(a.getHash()),".scratchpad"==a.title&&(this.scratchpad=null))};EditorUi.prototype.removeLibrarySidebar=function(a){var b=this.sidebar.palettes[a]; +if(null!=b){for(var c=0;c<b.length;c++)b[c].parentNode.removeChild(b[c]);delete this.sidebar.palettes[a]}};EditorUi.prototype.repositionLibrary=function(a){var b=this.sidebar.container;if(null==a){var c=this.sidebar.palettes["L.scratchpad"];null==c&&(c=this.sidebar.palettes.search);null!=c&&(a=c[c.length-1].nextSibling)}a=null!=a?a:b.firstChild.nextSibling.nextSibling;var c=b.lastChild,f=c.previousSibling;b.insertBefore(c,a);b.insertBefore(f,c)};EditorUi.prototype.loadLibrary=function(a){var b=mxUtils.parseXml(a.getData()); +if("mxlibrary"==b.documentElement.nodeName){var c=JSON.parse(mxUtils.getTextContent(b.documentElement));this.libraryLoaded(a,c,b.documentElement.getAttribute("title"))}else throw{message:mxResources.get("notALibraryFile")};};EditorUi.prototype.getLibraryStorageHint=function(a){return""};EditorUi.prototype.libraryLoaded=function(a,b,c){if(null!=this.sidebar){a.constructor!=LocalLibrary&&mxSettings.addCustomLibrary(a.getHash());".scratchpad"==a.title&&(this.scratchpad=a);var f=this.sidebar.palettes[a.getHash()], +f=null!=f?f[f.length-1].nextSibling:null;this.removeLibrarySidebar(a.getHash());var d=null,l=mxUtils.bind(this,function(b,c){0==b.length&&a.isEditable()?(null==d&&(d=document.createElement("div"),d.className="geDropTarget",mxUtils.write(d,mxResources.get("dragElementsHere"))),c.appendChild(d)):this.addLibraryEntries(b,c)});null!=this.sidebar&&null!=b&&this.sidebar.addEntries(b);c=null!=c&&0<c.length?c:a.getTitle();var e=this.sidebar.addPalette(a.getHash(),c,!0,mxUtils.bind(this,function(a){l(b,a)})); +this.repositionLibrary(f);var p=e.parentNode.previousSibling;c=p.getAttribute("title");null!=c&&0<c.length&&".scratchpad"!=a.title&&p.setAttribute("title",this.getLibraryStorageHint(a)+"\n"+c);var g=document.createElement("div");g.style.position="absolute";g.style.right="0px";g.style.top="0px";g.style.padding="8px";mxClient.IS_QUIRKS||8==document.documentMode||(g.style.backgroundColor="inherit");p.style.position="relative";var k=document.createElement("img");k.setAttribute("src",Dialog.prototype.closeImage); +k.setAttribute("title",mxResources.get("close"));k.setAttribute("valign","absmiddle");k.setAttribute("border","0");k.style.margin="0 3px";var n=null;if(".scratchpad"!=a.title||this.closableScratchpad)g.appendChild(k),mxEvent.addListener(k,"click",mxUtils.bind(this,function(b){if(!mxEvent.isConsumed(b)){var c=mxUtils.bind(this,function(){this.closeLibrary(a)});null!=n?this.confirm(mxResources.get("allChangesLost"),null,c,mxResources.get("cancel"),mxResources.get("discardChanges")):c();mxEvent.consume(b)}})); +if(a.isEditable()){var m=this.editor.graph,t=null,D=mxUtils.bind(this,function(c){this.showLibraryDialog(a.getTitle(),e,b,a,a.getMode());mxEvent.consume(c)}),G=mxUtils.bind(this,function(c){a.setModified(!0);a.isAutosave()?(null!=t&&null!=t.parentNode&&t.parentNode.removeChild(t),t=k.cloneNode(!1),t.setAttribute("src",Editor.spinImage),t.setAttribute("title",mxResources.get("saving")),t.style.cursor="default",t.style.marginRight="2px",t.style.marginTop="-2px",g.insertBefore(t,g.firstChild),p.style.paddingRight= +18*g.childNodes.length+"px",this.saveLibrary(a.getTitle(),b,a,a.getMode(),!0,!0,function(){null!=t&&null!=t.parentNode&&(t.parentNode.removeChild(t),p.style.paddingRight=18*g.childNodes.length+"px")})):null==n&&(n=k.cloneNode(!1),n.setAttribute("src",IMAGE_PATH+"/download.png"),n.setAttribute("title",mxResources.get("save")),g.insertBefore(n,g.firstChild),mxEvent.addListener(n,"click",mxUtils.bind(this,function(c){this.saveLibrary(a.getTitle(),b,a,a.getMode(),a.constructor==LocalLibrary,!0,function(){null== +n||a.isModified()||(p.style.paddingRight=18*g.childNodes.length+"px",n.parentNode.removeChild(n),n=null)});mxEvent.consume(c)})),p.style.paddingRight=18*g.childNodes.length+"px")}),H=mxUtils.bind(this,function(a,c,f,l){a=m.cloneCells(mxUtils.sortCells(m.model.getTopmostCells(a)));for(var p=0;p<a.length;p++){var g=m.getCellGeometry(a[p]);null!=g&&g.translate(-c.x,-c.y)}e.appendChild(this.sidebar.createVertexTemplateFromCells(a,c.width,c.height,l||"",!0,!1,!1));a={xml:Graph.compress(mxUtils.getXml(this.editor.graph.encodeCells(a))), +w:c.width,h:c.height};null!=l&&(a.title=l);b.push(a);G(f);null!=d&&null!=d.parentNode&&0<b.length&&(d.parentNode.removeChild(d),d=null)}),J=mxUtils.bind(this,function(a){if(m.isSelectionEmpty())m.getRubberband().isActive()?(m.getRubberband().execute(a),m.getRubberband().reset()):this.showError(mxResources.get("error"),mxResources.get("nothingIsSelected"),mxResources.get("ok"));else{var b=m.getSelectionCells(),c=m.view.getBounds(b),f=m.view.scale;c.x/=f;c.y/=f;c.width/=f;c.height/=f;c.x-=m.view.translate.x; +c.y-=m.view.translate.y;H(b,c)}mxEvent.consume(a)});mxEvent.addGestureListeners(e,function(){},mxUtils.bind(this,function(a){m.isMouseDown&&null!=m.panningManager&&null!=m.graphHandler.shape&&(m.graphHandler.shape.node.style.visibility="hidden",e.style.backgroundColor="#f1f3f4",e.style.cursor="copy",m.panningManager.stop(),m.autoScroll=!1,null!=m.graphHandler.guide&&m.graphHandler.guide.setVisible(!1),null!=m.graphHandler.hint&&(m.graphHandler.hint.style.visibility="hidden"),mxEvent.consume(a))}), +mxUtils.bind(this,function(a){m.isMouseDown&&null!=m.panningManager&&null!=m.graphHandler&&(e.style.backgroundColor="",e.style.cursor="default",this.sidebar.showTooltips=!0,m.panningManager.stop(),m.graphHandler.reset(),m.isMouseDown=!1,m.autoScroll=!0,J(a),mxEvent.consume(a))}));mxEvent.addListener(e,"mouseleave",mxUtils.bind(this,function(a){m.isMouseDown&&null!=m.graphHandler.shape&&(m.graphHandler.shape.node.style.visibility="visible",e.style.backgroundColor="",e.style.cursor="",m.autoScroll= +!0,null!=m.graphHandler.guide&&m.graphHandler.guide.setVisible(!0),null!=m.graphHandler.hint&&(m.graphHandler.hint.style.visibility="visible"))}));Graph.fileSupport&&(mxEvent.addListener(e,"dragover",mxUtils.bind(this,function(a){e.style.backgroundColor="#f1f3f4";a.dataTransfer.dropEffect="copy";e.style.cursor="copy";this.sidebar.hideTooltip();a.stopPropagation();a.preventDefault()})),mxEvent.addListener(e,"drop",mxUtils.bind(this,function(a){e.style.cursor="";e.style.backgroundColor="";0<a.dataTransfer.files.length&& +this.importFiles(a.dataTransfer.files,0,0,this.maxImageSize,mxUtils.bind(this,function(c,f,p,g,k,q,x,n,m){if(null!=c&&"image/"==f.substring(0,6))c="shape=image;verticalLabelPosition=bottom;verticalAlign=top;aspect=fixed;image="+this.convertDataUri(c),c=[new mxCell("",new mxGeometry(0,0,k,q),c)],c[0].vertex=!0,H(c,new mxRectangle(0,0,k,q),a,mxEvent.isAltDown(a)?null:x.substring(0,x.lastIndexOf(".")).replace(/_/g," ")),null!=d&&null!=d.parentNode&&0<b.length&&(d.parentNode.removeChild(d),d=null);else{var u= +!1,A=mxUtils.bind(this,function(c,f){if(null!=c&&"text/xml"==f){var p=mxUtils.parseXml(c);if("mxlibrary"==p.documentElement.nodeName)try{var g=JSON.parse(mxUtils.getTextContent(p.documentElement));l(g,e);b=b.concat(g);G(a);this.spinner.stop();u=!0}catch(P){}else if("mxfile"==p.documentElement.nodeName)try{for(var k=p.documentElement.getElementsByTagName("diagram"),p=0;p<k.length;p++){var q=this.stringToCells(Editor.getDiagramNodeXml(k[p])),x=this.editor.graph.getBoundingBoxFromGeometry(q);H(q,new mxRectangle(0, +0,x.width,x.height),a)}u=!0}catch(P){null!=window.console&&console.log("error in drop handler:",P)}}u||(this.spinner.stop(),this.handleError({message:mxResources.get("errorLoadingFile")}));null!=d&&null!=d.parentNode&&0<b.length&&(d.parentNode.removeChild(d),d=null)});null!=m&&null!=x&&(/(\.v(dx|sdx?))($|\?)/i.test(x)||/(\.vs(x|sx?))($|\?)/i.test(x))?this.importVisio(m,function(a){A(a,"text/xml")},null,x):!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(c,x)&&null!=m?this.parseFile(m, +mxUtils.bind(this,function(a){4==a.readyState&&(this.spinner.stop(),200<=a.status&&299>=a.status?A(a.responseText,"text/xml"):this.handleError({message:mxResources.get(413==a.status?"drawingTooLarge":"invalidOrMissingFile")},mxResources.get("errorLoadingFile")))})):A(c,f)}}));a.stopPropagation();a.preventDefault()})),mxEvent.addListener(e,"dragleave",function(a){e.style.cursor="";e.style.backgroundColor="";a.stopPropagation();a.preventDefault()}));k=k.cloneNode(!1);k.setAttribute("src",Editor.editImage); +k.setAttribute("title",mxResources.get("edit"));g.insertBefore(k,g.firstChild);mxEvent.addListener(k,"click",D);mxEvent.addListener(e,"dblclick",function(a){mxEvent.getSource(a)==e&&D(a)});c=k.cloneNode(!1);c.setAttribute("src",Editor.plusImage);c.setAttribute("title",mxResources.get("add"));g.insertBefore(c,g.firstChild);mxEvent.addListener(c,"click",J);this.isOffline()||".scratchpad"!=a.title||null==EditorUi.scratchpadHelpLink||(c=document.createElement("span"),c.setAttribute("title",mxResources.get("help")), +c.style.cssText="color:#a3a3a3;text-decoration:none;margin-right:2px;",mxUtils.write(c,"?"),mxEvent.addGestureListeners(c,mxUtils.bind(this,function(a){this.openLink(EditorUi.scratchpadHelpLink);mxEvent.consume(a)})),g.insertBefore(c,g.firstChild))}p.appendChild(g);p.style.paddingRight=18*g.childNodes.length+"px"}};EditorUi.prototype.addLibraryEntries=function(a,b){for(var c=0;c<a.length;c++){var f=a[c],d=f.data;if(null!=d){var d=this.convertDataUri(d),l="shape=image;verticalLabelPosition=bottom;verticalAlign=top;imageAspect=0;"; +"fixed"==f.aspect&&(l+="aspect=fixed;");b.appendChild(this.sidebar.createVertexTemplate(l+"image="+d,f.w,f.h,"",f.title||"",!1,!1,!0))}else null!=f.xml&&(d=this.stringToCells(Graph.decompress(f.xml)),0<d.length&&b.appendChild(this.sidebar.createVertexTemplateFromCells(d,f.w,f.h,f.title||"",!0,!1,!0)))}};EditorUi.prototype.getResource=function(a){return null!=a?a[mxLanguage]||a.main:null};EditorUi.prototype.footerHeight=0;"1"==urlParams.offline||EditorUi.isElectronApp||("1"==urlParams.savesidebar&& +(Sidebar.prototype.thumbWidth=64,Sidebar.prototype.thumbHeight=64),EditorUi.prototype.createFooter=function(){return document.getElementById("geFooter")});EditorUi.initTheme=function(){"atlas"==uiTheme?(mxClient.link("stylesheet",STYLE_PATH+"/atlas.css"),"undefined"!==typeof Toolbar&&(Toolbar.prototype.unselectedBackground=mxClient.IS_QUIRKS?"none":"linear-gradient(rgb(255, 255, 255) 0px, rgb(242, 242, 242) 100%)",Toolbar.prototype.selectedBackground="rgb(242, 242, 242)"),Editor.prototype.initialTopSpacing= +3,EditorUi.prototype.menubarHeight=41,EditorUi.prototype.toolbarHeight=38):"dark"==uiTheme&&(mxClient.link("stylesheet",STYLE_PATH+"/dark.css"),Dialog.backdropColor="#2a2a2a",Graph.prototype.defaultThemeName="darkTheme",Graph.prototype.defaultPageBackgroundColor="#2a2a2a",Graph.prototype.defaultPageBorderColor="#505759",Format.prototype.inactiveTabBackgroundColor="black",BaseFormatPanel.prototype.buttonBackgroundColor="#2a2a2a",Sidebar.prototype.dragPreviewBorder="1px dashed #cccccc",mxGraphHandler.prototype.previewColor= +"#cccccc",StyleFormatPanel.prototype.defaultStrokeColor="#cccccc",mxClient.IS_SVG&&(Editor.helpImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAP1BMVEUAAAD///////////////////////////////////////////////////////////////////////////////9Du/pqAAAAFXRSTlMAT30qCJRBboyDZyCgRzUUdF46MJlgXETgAAAAeklEQVQY022O2w4DIQhEQUURda/9/28tUO2+7CQS5sgQ4F1RapX78YUwRqQjTU8ILqQfKerTKTvACJ4nLX3krt+8aS82oI8aQC4KavRgtvEW/mDvsICgA03PSGRr79MqX1YPNIxzjyqtw8ZnnRo4t5a5undtJYRywau+ds4Cyza3E6YAAAAASUVORK5CYII=", Editor.checkmarkImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAMAAACeyVWkAAAARVBMVEUAAACZmZkICAgEBASNjY2Dg4MYGBiTk5N5eXl1dXVmZmZQUFBCQkI3NzceHh4MDAykpKSJiYl+fn5sbGxaWlo/Pz8SEhK96uPlAAAAAXRSTlMAQObYZgAAAE5JREFUGNPFzTcSgDAQQ1HJGUfy/Y9K7V1qeOUfzQifCQZai1XHaz11LFysbDbzgDSSWMZiETz3+b8yNUc/MMsktxuC8XQBSncdLwz+8gCCggGXzBcozAAAAABJRU5ErkJggg=="))};EditorUi.initTheme();EditorUi.prototype.hideFooter=function(){var a=document.getElementById("geFooter");null!=a&&(this.footerHeight=0,a.style.display= "none",this.refresh())};EditorUi.prototype.showFooter=function(a){var b=document.getElementById("geFooter");null!=b&&(this.footerHeight=a,b.style.display="inline",this.refresh())};EditorUi.prototype.showImageDialog=function(a,b,c,d,e){a=new ImageDialog(this,a,b,c,d,e);this.showDialog(a.container,Graph.fileSupport?440:360,Graph.fileSupport?200:90,!0,!0);a.init()};EditorUi.prototype.showBackgroundImageDialog=function(a){a=null!=a?a:mxUtils.bind(this,function(a){a=new ChangePageSetup(this,null,a);a.ignoreColor= !0;this.editor.graph.model.execute(a)});var b=new BackgroundImageDialog(this,mxUtils.bind(this,function(b){a(b)}));this.showDialog(b.container,360,200,!0,!0);b.init()};EditorUi.prototype.showLibraryDialog=function(a,b,c,d,e){a=new LibraryDialog(this,a,b,c,d,e);this.showDialog(a.container,640,440,!0,!1,mxUtils.bind(this,function(a){a&&null==this.getCurrentFile()&&"1"!=urlParams.embed&&this.showSplash()}));a.init()};var c=EditorUi.prototype.createFormat;EditorUi.prototype.createFormat=function(a){var b= c.apply(this,arguments);this.editor.graph.addListener("viewStateChanged",mxUtils.bind(this,function(a){this.editor.graph.isSelectionEmpty()&&b.refresh()}));return b};EditorUi.prototype.createSidebarFooterContainer=function(){var a=this.createDiv("geSidebarContainer geSidebarFooter");a.style.position="absolute";a.style.overflow="hidden";var b=document.createElement("a");b.className="geTitle";b.style.color="#DF6C0C";b.style.fontWeight="bold";b.style.height="100%";b.style.paddingTop="9px";b.innerHTML= '<span style="font-size:18px;margin-right:5px;">+</span>';mxUtils.write(b,mxResources.get("moreShapes")+"...");mxEvent.addListener(b,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(a){a.preventDefault()}));mxEvent.addListener(b,"click",mxUtils.bind(this,function(a){this.actions.get("shapes").funct();mxEvent.consume(a)}));a.appendChild(b);return a};EditorUi.prototype.handleError=function(a,b,c,d,e,g){var f=null!=this.spinner&&null!=this.spinner.pause?this.spinner.pause():function(){}, -l=null!=a&&null!=a.error?a.error:a;if(null!=l||null!=b){var p=mxUtils.htmlEntities(mxResources.get("unknownError")),k=mxResources.get("ok"),t=null;b=null!=b?b:mxResources.get("error");if(null!=l){null!=l.retry&&(k=mxResources.get("cancel"),t=function(){f();l.retry()});if(404==l.code||404==l.status||403==l.code){var p=403==l.code?null!=l.message?mxUtils.htmlEntities(l.message):mxUtils.htmlEntities(mxResources.get("accessDenied")):null!=e?e:mxUtils.htmlEntities(mxResources.get("fileNotFoundOrDenied")+ +l=null!=a&&null!=a.error?a.error:a;if(null!=l||null!=b){var p=mxUtils.htmlEntities(mxResources.get("unknownError")),k=mxResources.get("ok"),q=null;b=null!=b?b:mxResources.get("error");if(null!=l){null!=l.retry&&(k=mxResources.get("cancel"),q=function(){f();l.retry()});if(404==l.code||404==l.status||403==l.code){var p=403==l.code?null!=l.message?mxUtils.htmlEntities(l.message):mxUtils.htmlEntities(mxResources.get("accessDenied")):null!=e?e:mxUtils.htmlEntities(mxResources.get("fileNotFoundOrDenied")+ (null!=this.drive&&null!=this.drive.user?" ("+this.drive.user.displayName+", "+this.drive.user.email+")":"")),n=null!=g?g:window.location.hash;if(null!=n&&("#G"==n.substring(0,2)||"#Uhttps%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D"==n.substring(0,45))&&(null!=a&&null!=a.error&&(null!=a.error.errors&&0<a.error.errors.length&&"fileAccess"==a.error.errors[0].reason||null!=a.error.data&&0<a.error.data.length&&"fileAccess"==a.error.data[0].reason)||404==l.code||404==l.status)){n="#U"==n.substring(0,2)?n.substring(45, -n.lastIndexOf("%26ex")):n.substring(2);this.showError(b,p,mxResources.get("openInNewWindow"),mxUtils.bind(this,function(){this.editor.graph.openLink("https://drive.google.com/open?id="+n);this.handleError(a,b,c,d,e)}),t,mxResources.get("changeUser"),mxUtils.bind(this,function(){function a(){f.innerHTML="";for(var a=0;a<b.length;a++){var c=document.createElement("option");mxUtils.write(c,b[a].displayName);c.value=a;f.appendChild(c);c=document.createElement("option");c.innerHTML=" "; +n.lastIndexOf("%26ex")):n.substring(2);this.showError(b,p,mxResources.get("openInNewWindow"),mxUtils.bind(this,function(){this.editor.graph.openLink("https://drive.google.com/open?id="+n);this.handleError(a,b,c,d,e)}),q,mxResources.get("changeUser"),mxUtils.bind(this,function(){function a(){f.innerHTML="";for(var a=0;a<b.length;a++){var c=document.createElement("option");mxUtils.write(c,b[a].displayName);c.value=a;f.appendChild(c);c=document.createElement("option");c.innerHTML=" "; mxUtils.write(c,"<"+b[a].email+">");c.setAttribute("disabled","disabled");f.appendChild(c)}c=document.createElement("option");mxUtils.write(c,mxResources.get("addAccount"));c.value=b.length;f.appendChild(c)}var b=this.drive.getUsersList(),c=document.createElement("div"),d=document.createElement("span");d.style.marginTop="6px";mxUtils.write(d,mxResources.get("changeUser")+": ");c.appendChild(d);var f=document.createElement("select");f.style.width="200px";a();mxEvent.addListener(f,"change",mxUtils.bind(this, function(){var c=f.value,d=b.length!=c;d&&this.drive.setUser(b[c]);this.drive.authorize(d,mxUtils.bind(this,function(){d||(b=this.drive.getUsersList(),a())}),mxUtils.bind(this,function(a){this.handleError(a)}),!0)}));c.appendChild(f);c=new CustomDialog(this,c,mxUtils.bind(this,function(){this.loadFile(window.location.hash.substr(1),!0)}));this.showDialog(c.container,300,75,!0,!0)}),mxResources.get("cancel"),mxUtils.bind(this,function(){this.hideDialog();null!=c&&c()}),480,150);return}}null!=l.message? -p=mxUtils.htmlEntities(l.message):null!=l.response&&null!=l.response.error?p=mxUtils.htmlEntities(l.response.error):"undefined"!==typeof window.App&&(l.code==App.ERROR_TIMEOUT?p=mxUtils.htmlEntities(mxResources.get("timeout")):l.code==App.ERROR_BUSY&&(p=mxUtils.htmlEntities(mxResources.get("busy"))))}var m=g=null;null!=l&&null!=l.helpLink&&(g=mxResources.get("help"),m=mxUtils.bind(this,function(){return this.editor.graph.openLink(l.helpLink)}));this.showError(b,p,k,c,t,null,null,g,m,null,null,null, +p=mxUtils.htmlEntities(l.message):null!=l.response&&null!=l.response.error?p=mxUtils.htmlEntities(l.response.error):"undefined"!==typeof window.App&&(l.code==App.ERROR_TIMEOUT?p=mxUtils.htmlEntities(mxResources.get("timeout")):l.code==App.ERROR_BUSY&&(p=mxUtils.htmlEntities(mxResources.get("busy"))))}var m=g=null;null!=l&&null!=l.helpLink&&(g=mxResources.get("help"),m=mxUtils.bind(this,function(){return this.editor.graph.openLink(l.helpLink)}));this.showError(b,p,k,c,q,null,null,g,m,null,null,null, d?c:null)}else null!=c&&c()};EditorUi.prototype.alert=function(a,b){var c=new ErrorDialog(this,null,a,mxResources.get("ok"),b);this.showDialog(c.container,340,100,!0,!1);c.init()};EditorUi.prototype.confirm=function(a,b,c,d,e,g){var f=null!=this.spinner&&null!=this.spinner.pause?this.spinner.pause():function(){},l=Math.min(200,28*Math.ceil(a.length/50));a=new ConfirmDialog(this,a,function(){f();null!=b&&b()},function(){f();null!=c&&c()},d,e,null,null,null,null,l);this.showDialog(a.container,340,46+ l,!0,g);a.init()};EditorUi.prototype.setCurrentFile=function(a){null!=a&&(a.opened=new Date);this.currentFile=a};EditorUi.prototype.getCurrentFile=function(){return this.currentFile};EditorUi.prototype.isExportToCanvas=function(){return mxClient.IS_CHROMEAPP||!this.editor.graph.mathEnabled&&this.useCanvasForExport};EditorUi.prototype.createSvgDataUri=function(a){return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(a)))};EditorUi.prototype.createImageDataUri=function(a,b,c,d){var f= a.toDataURL("image/"+c);if(6>=f.length||f==a.cloneNode(!1).toDataURL("image/"+c))throw{message:"Invalid image"};null!=b&&(f=this.writeGraphModelToPng(f,"tEXt","mxfile",encodeURIComponent(b)));0<d&&(f=this.writeGraphModelToPng(f,"pHYs","dpi",d));return f};EditorUi.prototype.saveCanvas=function(a,b,c,d,e){var f="jpeg"==c?"jpg":c;d=this.getBaseFilename(d)+"."+f;a=this.createImageDataUri(a,b,c,e);this.saveData(d,f,a.substring(a.lastIndexOf(",")+1),"image/"+c,!0)};EditorUi.prototype.isLocalFileSave=function(){return"remote"!= @@ -8410,7 +8401,7 @@ urlParams.save&&(mxClient.IS_IE||"undefined"!==typeof window.Blob&&"undefined"!= if(mxClient.IS_GC)var p=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./),l=65==(p?parseInt(p[2],10):!1)?!1:l;if(l||this.isOffline()){f.href=URL.createObjectURL(d?this.base64ToBlob(a,c):new Blob([a],{type:c}));l?f.download=b:f.setAttribute("target","_blank");document.body.appendChild(f);try{window.setTimeout(function(){URL.revokeObjectURL(f.href)},0),f.click(),f.parentNode.removeChild(f)}catch(C){}}else this.createEchoRequest(a,b,c,d,e).simulate(document,"_blank")}};EditorUi.prototype.createEchoRequest= function(a,b,c,d,e,g){a="xml="+encodeURIComponent(a);return new mxXmlRequest(SAVE_URL,a+(null!=c?"&mime="+c:"")+(null!=e?"&format="+e:"")+(null!=g?"&base64="+g:"")+(null!=b?"&filename="+encodeURIComponent(b):"")+(d?"&binary=1":""))};EditorUi.prototype.base64ToBlob=function(a,b){b=b||"";for(var c=atob(a),d=c.length,f=Math.ceil(d/1024),l=Array(f),e=0;e<f;++e){for(var g=1024*e,k=Math.min(g+1024,d),x=Array(k-g),n=0;g<k;++n,++g)x[n]=c[g].charCodeAt(0);l[e]=new Uint8Array(x)}return new Blob(l,{type:b})}; EditorUi.prototype.saveLocalFile=function(a,b,c,d,e,g,k){g=null!=g?g:!1;k=null!=k?k:"vsdx"!=e&&(!mxClient.IS_IOS||!navigator.standalone);e=this.getServiceCount(g);isLocalStorage&&e++;var f=4>=e?2:6<e?4:3;b=new CreateDialog(this,b,mxUtils.bind(this,function(b,f){try{if("_blank"==f)if(null==c||"image/"!=c.substring(0,6)||"image/svg"==c.substring(0,9)&&!mxClient.IS_SVG){var l=window.open("about:blank");null==l?mxUtils.popup(a,!0):(l.document.write("<pre>"+mxUtils.htmlEntities(a,!1)+"<pre>"),l.document.close())}else this.openInNewWindow(a, -c,d);else f==App.MODE_DEVICE||"download"==f?this.doSaveLocalFile(a,b,c,d):null!=b&&0<b.length&&this.pickFolder(f,mxUtils.bind(this,function(l){try{this.exportFile(a,b,c,d,f,l)}catch(A){this.handleError(A)}}))}catch(E){this.handleError(E)}}),mxUtils.bind(this,function(){this.hideDialog()}),mxResources.get("saveAs"),mxResources.get("download"),!1,g,k,null,1<e,f,a,c,d);g=this.isServices(e)?e>f?390:270:160;this.showDialog(b.container,400,g,!0,!0);b.init()};EditorUi.prototype.openInNewWindow=function(a, +c,d);else f==App.MODE_DEVICE||"download"==f?this.doSaveLocalFile(a,b,c,d):null!=b&&0<b.length&&this.pickFolder(f,mxUtils.bind(this,function(l){try{this.exportFile(a,b,c,d,f,l)}catch(B){this.handleError(B)}}))}catch(F){this.handleError(F)}}),mxUtils.bind(this,function(){this.hideDialog()}),mxResources.get("saveAs"),mxResources.get("download"),!1,g,k,null,1<e,f,a,c,d);g=this.isServices(e)?e>f?390:270:160;this.showDialog(b.container,400,g,!0,!0);b.init()};EditorUi.prototype.openInNewWindow=function(a, b,c){if(mxClient.IS_GC||mxClient.IS_EDGE||11==document.documentMode||10==document.documentMode){var d=window.open("about:blank");null==d||null==d.document?mxUtils.popup(a,!0):("image/svg+xml"==b?d.document.write("<html>"+a+"</html>"):d.document.write('<html><img src="data:'+b+(c?";base64,"+a:";charset=utf8,"+encodeURIComponent(a))+'"/></html>'),d.document.close())}else d=window.open("data:"+b+(c?";base64,"+a:";charset=utf8,"+encodeURIComponent(a))),null!=d&&null!=d.document||mxUtils.popup(a,!0)}; var b=EditorUi.prototype.addChromelessToolbarItems;EditorUi.prototype.addChromelessToolbarItems=function(a){if(this.isExportToCanvas()){this.exportDialog=null;var c=a(mxUtils.bind(this,function(a){var b=mxUtils.bind(this,function(){mxEvent.removeListener(this.editor.graph.container,"click",b);null!=this.exportDialog&&(this.exportDialog.parentNode.removeChild(this.exportDialog),this.exportDialog=null)});if(null!=this.exportDialog)b.apply(this);else{this.exportDialog=document.createElement("div");var d= c.getBoundingClientRect();mxUtils.setPrefixedStyle(this.exportDialog.style,"borderRadius","5px");this.exportDialog.style.position="fixed";this.exportDialog.style.textAlign="center";this.exportDialog.style.fontFamily="Helvetica,Arial";this.exportDialog.style.backgroundColor="#000000";this.exportDialog.style.width="50px";this.exportDialog.style.height="50px";this.exportDialog.style.padding="4px 2px 4px 2px";this.exportDialog.style.color="#ffffff";mxUtils.setOpacity(this.exportDialog,70);this.exportDialog.style.left= @@ -8418,11 +8409,11 @@ d.left+"px";this.exportDialog.style.bottom=parseInt(this.chromelessToolbar.style "auto";this.exportDialog.style.padding="10px";var c=this.createImageDataUri(a,null,"png");a=document.createElement("img");a.style.maxWidth="140px";a.style.maxHeight="140px";a.style.cursor="pointer";a.style.backgroundColor="white";a.setAttribute("title",mxResources.get("openInNewWindow"));a.setAttribute("border","0");a.setAttribute("src",c);this.exportDialog.appendChild(a);mxEvent.addListener(a,"click",mxUtils.bind(this,function(){this.openInNewWindow(c.substring(c.indexOf(",")+1),"image/png",!0); b.apply(this,arguments)}))}),null,this.thumbImageCache,null,mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a)}));mxEvent.addListener(this.editor.graph.container,"click",b);document.body.appendChild(this.exportDialog)}mxEvent.consume(a)}),Editor.cameraLargeImage,mxResources.get("export"))}b.apply(this,arguments)};EditorUi.prototype.saveData=function(a,b,c,d,e){this.isLocalFileSave()?this.saveLocalFile(c,a,d,e,b):this.saveRequest(a,b,mxUtils.bind(this,function(a,f){return this.createEchoRequest(c, a,d,e,b,f)}),c,e,d)};EditorUi.prototype.saveRequest=function(a,b,c,d,e,g,k){k=null!=k?k:!mxClient.IS_IOS||!navigator.standalone;var f=this.getServiceCount(!1);isLocalStorage&&f++;var l=4>=f?2:6<f?4:3;a=new CreateDialog(this,a,mxUtils.bind(this,function(a,f){if("_blank"==f||null!=a&&0<a.length){var l=c("_blank"==f?null:a,f==App.MODE_DEVICE||"download"==f||null==f||"_blank"==f?"0":"1");null!=l&&(f==App.MODE_DEVICE||"download"==f||"_blank"==f?l.simulate(document,"_blank"):this.pickFolder(f,mxUtils.bind(this, -function(c){g=null!=g?g:"pdf"==b?"application/pdf":"image/"+b;if(null!=d)try{this.exportFile(d,a,g,!0,f,c)}catch(F){this.handleError(F)}else this.spinner.spin(document.body,mxResources.get("saving"))&&l.send(mxUtils.bind(this,function(){this.spinner.stop();if(200<=l.getStatus()&&299>=l.getStatus())try{this.exportFile(l.getText(),a,g,!0,f,c)}catch(F){this.handleError(F)}else this.handleError({message:mxResources.get("errorSavingFile")})}),function(a){this.spinner.stop();this.handleError(a)})})))}}), +function(c){g=null!=g?g:"pdf"==b?"application/pdf":"image/"+b;if(null!=d)try{this.exportFile(d,a,g,!0,f,c)}catch(D){this.handleError(D)}else this.spinner.spin(document.body,mxResources.get("saving"))&&l.send(mxUtils.bind(this,function(){this.spinner.stop();if(200<=l.getStatus()&&299>=l.getStatus())try{this.exportFile(l.getText(),a,g,!0,f,c)}catch(D){this.handleError(D)}else this.handleError({message:mxResources.get("errorSavingFile")})}),function(a){this.spinner.stop();this.handleError(a)})})))}}), mxUtils.bind(this,function(){this.hideDialog()}),mxResources.get("saveAs"),mxResources.get("download"),!1,!1,k,null,1<f,l,d,g,e);f=this.isServices(f)?4<f?390:270:160;this.showDialog(a.container,380,f,!0,!0);a.init()};EditorUi.prototype.isServices=function(a){return 1!=a};EditorUi.prototype.getEditBlankXml=function(){return this.getFileData(!0)};EditorUi.prototype.exportFile=function(a,b,c,d,e,g){};EditorUi.prototype.pickFolder=function(a,b,c){b(null)};EditorUi.prototype.exportSvg=function(a,b,c,d, -e,g,k,n,m,x){if(this.spinner.spin(document.body,mxResources.get("export"))){var f=this.editor.graph.isSelectionEmpty();c=null!=c?c:f;f=b?null:this.editor.graph.background;f==mxConstants.NONE&&(f=null);null==f&&0==b&&(f="#ffffff");var l=this.editor.graph.getSvg(f,a,k,n,null,c,null,null,"blank"==x?"_blank":"self"==x?"_top":null);d&&this.editor.graph.addSvgShadow(l);var p=this.getBaseFilename()+".svg",t=mxUtils.bind(this,function(a){this.spinner.stop();e&&a.setAttribute("content",this.getFileData(!0, +e,g,k,n,m,x){if(this.spinner.spin(document.body,mxResources.get("export"))){var f=this.editor.graph.isSelectionEmpty();c=null!=c?c:f;f=b?null:this.editor.graph.background;f==mxConstants.NONE&&(f=null);null==f&&0==b&&(f="#ffffff");var l=this.editor.graph.getSvg(f,a,k,n,null,c,null,null,"blank"==x?"_blank":"self"==x?"_top":null);d&&this.editor.graph.addSvgShadow(l);var p=this.getBaseFilename()+".svg",q=mxUtils.bind(this,function(a){this.spinner.stop();e&&a.setAttribute("content",this.getFileData(!0, null,null,null,c,m,null,null,null,!1));if(null!=this.editor.fontCss){var b=a.ownerDocument,b=null!=b.createElementNS?b.createElementNS(mxConstants.NS_SVG,"style"):b.createElement("style");b.setAttribute("type","text/css");mxUtils.setTextContent(b,this.editor.fontCss);a.getElementsByTagName("defs")[0].appendChild(b)}var d='<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n'+mxUtils.getXml(a);this.isLocalFileSave()|| -d.length<=MAX_REQUEST_SIZE?this.saveData(p,"svg",d,"image/svg+xml"):this.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(d)}))});this.convertMath(this.editor.graph,l,!1,mxUtils.bind(this,function(){g?(null==this.thumbImageCache&&(this.thumbImageCache={}),this.convertImages(l,t,this.thumbImageCache)):t(l)}))}};EditorUi.prototype.addRadiobox=function(a,b,c,d,e,g,k){return this.addCheckbox(a,c,d,e,g,k,!0,b)};EditorUi.prototype.addCheckbox= +d.length<=MAX_REQUEST_SIZE?this.saveData(p,"svg",d,"image/svg+xml"):this.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(d)}))});this.convertMath(this.editor.graph,l,!1,mxUtils.bind(this,function(){g?(null==this.thumbImageCache&&(this.thumbImageCache={}),this.convertImages(l,q,this.thumbImageCache)):q(l)}))}};EditorUi.prototype.addRadiobox=function(a,b,c,d,e,g,k){return this.addCheckbox(a,c,d,e,g,k,!0,b)};EditorUi.prototype.addCheckbox= function(a,b,c,d,e,g,k,n){g=null!=g?g:!0;var f=document.createElement("input");f.style.marginRight="8px";f.style.marginTop="16px";f.setAttribute("type",k?"radio":"checkbox");k="geCheckbox-"+Editor.guid();f.id=k;null!=n&&f.setAttribute("name",n);c&&(f.setAttribute("checked","checked"),f.defaultChecked=!0);d&&f.setAttribute("disabled","disabled");g&&(a.appendChild(f),c=document.createElement("label"),mxUtils.write(c,b),c.setAttribute("for",k),a.appendChild(c),e||mxUtils.br(a));return f};EditorUi.prototype.addEditButton= function(a,b){var c=this.addCheckbox(a,mxResources.get("edit")+":",!0,null,!0);c.style.marginLeft="24px";var d=this.getCurrentFile(),f="";null!=d&&d.getMode()!=App.MODE_DEVICE&&d.getMode()!=App.MODE_BROWSER&&(f=window.location.href);var l=document.createElement("select");l.style.width="120px";l.style.marginLeft="8px";l.style.marginRight="10px";l.className="geBtn";d=document.createElement("option");d.setAttribute("value","blank");mxUtils.write(d,mxResources.get("makeCopy"));l.appendChild(d);d=document.createElement("option"); d.setAttribute("value","custom");mxUtils.write(d,mxResources.get("custom")+"...");l.appendChild(d);a.appendChild(l);mxEvent.addListener(l,"change",mxUtils.bind(this,function(){if("custom"==l.value){var a=new FilenameDialog(this,f,mxResources.get("ok"),function(a){null!=a?f=a:l.value="blank"},mxResources.get("url"),null,null,null,null,function(){l.value="blank"});this.showDialog(a.container,300,80,!0,!1);a.init()}}));mxEvent.addListener(c,"change",mxUtils.bind(this,function(){c.checked&&(null==b|| @@ -8431,64 +8422,64 @@ Dialog.prototype.closeImage+"')")+';"></div>'}mxUtils.write(a,mxResources.get("l f.setAttribute("value","self");mxUtils.write(f,mxResources.get("openInThisWindow"));d.appendChild(f);b&&(f=document.createElement("option"),f.setAttribute("value","frame"),mxUtils.write(f,mxResources.get("openInThisWindow")+" ("+mxResources.get("iframe")+")"),d.appendChild(f));a.appendChild(d);mxUtils.write(a,mxResources.get("borderColor")+":");var l="#0000ff",e=null,e=mxUtils.button("",mxUtils.bind(this,function(a){this.pickColor(l||"none",function(a){l=a;c()});mxEvent.consume(a)}));c();e.style.padding= mxClient.IS_FF?"4px 2px 4px 2px":"4px";e.style.marginLeft="4px";e.style.height="22px";e.style.width="22px";e.style.position="relative";e.style.top=mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_EDGE?"6px":"1px";e.className="geColorBtn";a.appendChild(e);mxUtils.br(a);return{getColor:function(){return l},getTarget:function(){return d.value},focus:function(){d.focus()}}};EditorUi.prototype.createLink=function(a,b,c,d,e,g,k,n){var f=this.getCurrentFile(),l=[];d&&(l.push("lightbox=1"),"auto"!=a&&l.push("target="+ a),null!=b&&b!=mxConstants.NONE&&l.push("highlight="+("#"==b.charAt(0)?b.substring(1):b)),null!=e&&0<e.length&&l.push("edit="+encodeURIComponent(e)),g&&l.push("layers=1"),this.editor.graph.foldingEnabled&&l.push("nav=1"));c&&null!=this.currentPage&&null!=this.pages&&this.currentPage!=this.pages[0]&&l.push("page-id="+this.currentPage.getId());a=!0;null!=k?c="#U"+encodeURIComponent(k):(f=this.getCurrentFile(),n||null==f||f.constructor!=window.DriveFile?c="#R"+encodeURIComponent(c?this.getFileData(!0, -null,null,null,null,null,null,!0):Graph.compress(mxUtils.getXml(this.editor.getGraphXml()))):(c="#"+f.getHash(),a=!1));a&&null!=f&&null!=f.getTitle()&&f.getTitle()!=this.defaultFilename&&l.push("title="+encodeURIComponent(f.getTitle()));return(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||!/.*\.draw\.io$/.test(window.location.hostname)?EditorUi.drawHost:"https://"+window.location.host+"/")+(0<l.length?"?"+l.join("&"):"")+c};EditorUi.prototype.createHtml=function(a,b,c,d,e,g,k,n,m,x,B){this.getBasenames(); +null,null,null,null,null,null,!0,null,!1):Graph.compress(mxUtils.getXml(this.editor.getGraphXml()))):(c="#"+f.getHash(),a=!1));a&&null!=f&&null!=f.getTitle()&&f.getTitle()!=this.defaultFilename&&l.push("title="+encodeURIComponent(f.getTitle()));return(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||!/.*\.draw\.io$/.test(window.location.hostname)?EditorUi.drawHost:"https://"+window.location.host+"/")+(0<l.length?"?"+l.join("&"):"")+c};EditorUi.prototype.createHtml=function(a,b,c,d,e,g,k,n,m,x,A){this.getBasenames(); var f={};""!=e&&e!=mxConstants.NONE&&(f.highlight=e);"auto"!==d&&(f.target=d);m||(f.lightbox=!1);f.nav=this.editor.graph.foldingEnabled;c=parseInt(c);isNaN(c)||100==c||(f.zoom=c/100);c=[];k&&(c.push("pages"),f.resize=!0,null!=this.pages&&null!=this.currentPage&&(f.page=mxUtils.indexOf(this.pages,this.currentPage)));b&&(c.push("zoom"),f.resize=!0);n&&c.push("layers");0<c.length&&(m&&c.push("lightbox"),f.toolbar=c.join(" "));null!=x&&0<x.length&&(f.edit=x);null!=a?f.url=a:f.xml=this.getFileData(!0, -null,null,null,null,!k);b='<div class="mxgraph" style="'+(g?"max-width:100%;":"")+(""!=c?"border:1px solid transparent;":"")+'" data-mxgraph="'+mxUtils.htmlEntities(JSON.stringify(f))+'"></div>';a=null!=a?"&fetch="+encodeURIComponent(a):"";B(b,'<script type="text/javascript" src="'+(0<a.length?("1"==urlParams.dev?"https://test.draw.io/embed2.js?dev=1":EditorUi.drawHost+"/embed2.js?")+a:"1"==urlParams.dev?"https://test.draw.io/js/viewer.min.js":window.VIEWER_URL?window.VIEWER_URL:EditorUi.drawHost+ -"/js/viewer.min.js")+'">\x3c/script>')};EditorUi.prototype.showHtmlDialog=function(a,b,c,d){var f=document.createElement("div");f.style.whiteSpace="nowrap";var l=document.createElement("h3");mxUtils.write(l,mxResources.get("html"));l.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";f.appendChild(l);var e=document.createElement("div");e.style.cssText="border-bottom:1px solid lightGray;padding-bottom:8px;margin-bottom:12px;";var g=document.createElement("input");g.style.cssText= -"margin-right:8px;margin-top:8px;margin-bottom:8px;";g.setAttribute("value","url");g.setAttribute("type","radio");g.setAttribute("name","type-embedhtmldialog");l=g.cloneNode(!0);l.setAttribute("value","copy");e.appendChild(l);var p=document.createElement("span");mxUtils.write(p,mxResources.get("includeCopyOfMyDiagram"));e.appendChild(p);mxUtils.br(e);e.appendChild(g);p=document.createElement("span");mxUtils.write(p,mxResources.get("publicDiagramUrl"));e.appendChild(p);var k=this.getCurrentFile(); -null==c&&null!=k&&k.constructor==window.DriveFile&&(p=document.createElement("a"),p.style.paddingLeft="12px",p.style.color="gray",p.setAttribute("href","javascript:void(0);"),mxUtils.write(p,mxResources.get("share")),e.appendChild(p),mxEvent.addListener(p,"click",mxUtils.bind(this,function(){this.hideDialog();this.drive.showPermissions(k.getId())})));l.setAttribute("checked","checked");null==c&&g.setAttribute("disabled","disabled");f.appendChild(e);var n=this.addLinkSection(f),m=this.addCheckbox(f, -mxResources.get("zoom"),!0,null,!0);mxUtils.write(f,":");var u=document.createElement("input");u.setAttribute("type","text");u.style.marginRight="16px";u.style.width="60px";u.style.marginLeft="4px";u.style.marginRight="12px";u.value="100%";f.appendChild(u);var q=this.addCheckbox(f,mxResources.get("fit"),!0),e=null!=this.pages&&1<this.pages.length,D=D=this.addCheckbox(f,mxResources.get("allPages"),e,!e),H=this.addCheckbox(f,mxResources.get("layers"),!0),J=this.addCheckbox(f,mxResources.get("lightbox"), -!0),I=this.addEditButton(f,J),G=I.getEditInput();G.style.marginBottom="16px";mxEvent.addListener(J,"change",function(){J.checked?G.removeAttribute("disabled"):G.setAttribute("disabled","disabled");G.checked&&J.checked?I.getEditSelect().removeAttribute("disabled"):I.getEditSelect().setAttribute("disabled","disabled")});a=new CustomDialog(this,f,mxUtils.bind(this,function(){d(g.checked?c:null,m.checked,u.value,n.getTarget(),n.getColor(),q.checked,D.checked,H.checked,J.checked,I.getLink())}),null,a, +null,null,null,null,!k);b='<div class="mxgraph" style="'+(g?"max-width:100%;":"")+(""!=c?"border:1px solid transparent;":"")+'" data-mxgraph="'+mxUtils.htmlEntities(JSON.stringify(f))+'"></div>';a=null!=a?"&fetch="+encodeURIComponent(a):"";A(b,'<script type="text/javascript" src="'+(0<a.length?("1"==urlParams.dev?"https://test.draw.io/embed2.js?dev=1":EditorUi.drawHost+"/embed2.js?")+a:"1"==urlParams.dev?"https://test.draw.io/js/viewer.min.js":window.VIEWER_URL?window.VIEWER_URL:EditorUi.drawHost+ +"/js/viewer.min.js")+'">\x3c/script>')};EditorUi.prototype.showHtmlDialog=function(a,b,c,d){var f=document.createElement("div");f.style.whiteSpace="nowrap";var l=document.createElement("h3");mxUtils.write(l,mxResources.get("html"));l.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";f.appendChild(l);var e=document.createElement("div");e.style.cssText="border-bottom:1px solid lightGray;padding-bottom:8px;margin-bottom:12px;";var p=document.createElement("input");p.style.cssText= +"margin-right:8px;margin-top:8px;margin-bottom:8px;";p.setAttribute("value","url");p.setAttribute("type","radio");p.setAttribute("name","type-embedhtmldialog");l=p.cloneNode(!0);l.setAttribute("value","copy");e.appendChild(l);var g=document.createElement("span");mxUtils.write(g,mxResources.get("includeCopyOfMyDiagram"));e.appendChild(g);mxUtils.br(e);e.appendChild(p);g=document.createElement("span");mxUtils.write(g,mxResources.get("publicDiagramUrl"));e.appendChild(g);var k=this.getCurrentFile(); +null==c&&null!=k&&k.constructor==window.DriveFile&&(g=document.createElement("a"),g.style.paddingLeft="12px",g.style.color="gray",g.setAttribute("href","javascript:void(0);"),mxUtils.write(g,mxResources.get("share")),e.appendChild(g),mxEvent.addListener(g,"click",mxUtils.bind(this,function(){this.hideDialog();this.drive.showPermissions(k.getId())})));l.setAttribute("checked","checked");null==c&&p.setAttribute("disabled","disabled");f.appendChild(e);var n=this.addLinkSection(f),m=this.addCheckbox(f, +mxResources.get("zoom"),!0,null,!0);mxUtils.write(f,":");var u=document.createElement("input");u.setAttribute("type","text");u.style.marginRight="16px";u.style.width="60px";u.style.marginLeft="4px";u.style.marginRight="12px";u.value="100%";f.appendChild(u);var t=this.addCheckbox(f,mxResources.get("fit"),!0),e=null!=this.pages&&1<this.pages.length,G=G=this.addCheckbox(f,mxResources.get("allPages"),e,!e),H=this.addCheckbox(f,mxResources.get("layers"),!0),J=this.addCheckbox(f,mxResources.get("lightbox"), +!0),I=this.addEditButton(f,J),E=I.getEditInput();E.style.marginBottom="16px";mxEvent.addListener(J,"change",function(){J.checked?E.removeAttribute("disabled"):E.setAttribute("disabled","disabled");E.checked&&J.checked?I.getEditSelect().removeAttribute("disabled"):I.getEditSelect().setAttribute("disabled","disabled")});a=new CustomDialog(this,f,mxUtils.bind(this,function(){d(p.checked?c:null,m.checked,u.value,n.getTarget(),n.getColor(),t.checked,G.checked,H.checked,J.checked,I.getLink())}),null,a, b);this.showDialog(a.container,340,384,!0,!0);l.focus()};EditorUi.prototype.showPublishLinkDialog=function(a,b,c,d,e,g){var f=document.createElement("div");f.style.whiteSpace="nowrap";var l=document.createElement("h3");mxUtils.write(l,a||mxResources.get("link"));l.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";f.appendChild(l);var p=this.getCurrentFile(),l="https://desk.draw.io/support/solutions/articles/16000051941";a=0;if(null!=p&&p.constructor==window.DriveFile&& -!b){a=80;var l="https://desk.draw.io/support/solutions/articles/16000039384",k=document.createElement("div");k.style.cssText="border-bottom:1px solid lightGray;padding-bottom:14px;padding-top:6px;margin-bottom:14px;text-align:center;";var t=document.createElement("div");t.style.whiteSpace="normal";mxUtils.write(t,mxResources.get("linkAccountRequired"));k.appendChild(t);t=mxUtils.button(mxResources.get("share"),mxUtils.bind(this,function(){this.drive.showPermissions(p.getId())}));t.style.marginTop= -"12px";t.className="geBtn";k.appendChild(t);f.appendChild(k);t=document.createElement("a");t.style.paddingLeft="12px";t.style.color="gray";t.style.fontSize="11px";t.setAttribute("href","javascript:void(0);");mxUtils.write(t,mxResources.get("check"));k.appendChild(t);mxEvent.addListener(t,"click",mxUtils.bind(this,function(){this.spinner.spin(document.body,mxResources.get("loading"))&&this.getPublicUrl(this.getCurrentFile(),mxUtils.bind(this,function(a){this.spinner.stop();a=new ErrorDialog(this,null, +!b){a=80;var l="https://desk.draw.io/support/solutions/articles/16000039384",k=document.createElement("div");k.style.cssText="border-bottom:1px solid lightGray;padding-bottom:14px;padding-top:6px;margin-bottom:14px;text-align:center;";var q=document.createElement("div");q.style.whiteSpace="normal";mxUtils.write(q,mxResources.get("linkAccountRequired"));k.appendChild(q);q=mxUtils.button(mxResources.get("share"),mxUtils.bind(this,function(){this.drive.showPermissions(p.getId())}));q.style.marginTop= +"12px";q.className="geBtn";k.appendChild(q);f.appendChild(k);q=document.createElement("a");q.style.paddingLeft="12px";q.style.color="gray";q.style.fontSize="11px";q.setAttribute("href","javascript:void(0);");mxUtils.write(q,mxResources.get("check"));k.appendChild(q);mxEvent.addListener(q,"click",mxUtils.bind(this,function(){this.spinner.spin(document.body,mxResources.get("loading"))&&this.getPublicUrl(this.getCurrentFile(),mxUtils.bind(this,function(a){this.spinner.stop();a=new ErrorDialog(this,null, mxResources.get(null!=a?"diagramIsPublic":"diagramIsNotPublic"),mxResources.get("ok"));this.showDialog(a.container,300,80,!0,!1);a.init()}))}))}var n=null,m=null;if(null!=c||null!=d)a+=30,mxUtils.write(f,mxResources.get("width")+":"),n=document.createElement("input"),n.setAttribute("type","text"),n.style.marginRight="16px",n.style.width="50px",n.style.marginLeft="6px",n.style.marginRight="16px",n.style.marginBottom="10px",n.value="100%",f.appendChild(n),mxUtils.write(f,mxResources.get("height")+":"), -m=document.createElement("input"),m.setAttribute("type","text"),m.style.width="50px",m.style.marginLeft="6px",m.style.marginBottom="10px",m.value=d+"px",f.appendChild(m),mxUtils.br(f);var u=this.addLinkSection(f,g);c=null!=this.pages&&1<this.pages.length;var q=null;if(null==p||p.constructor!=window.DriveFile||b)q=this.addCheckbox(f,mxResources.get("allPages"),c,!c);var v=this.addCheckbox(f,mxResources.get("lightbox"),!0),J=this.addEditButton(f,v),I=J.getEditInput(),G=this.addCheckbox(f,mxResources.get("layers"), -!0);G.style.marginLeft=I.style.marginLeft;G.style.marginBottom="16px";G.style.marginTop="8px";mxEvent.addListener(v,"change",function(){v.checked?(G.removeAttribute("disabled"),I.removeAttribute("disabled")):(G.setAttribute("disabled","disabled"),I.setAttribute("disabled","disabled"));I.checked&&v.checked?J.getEditSelect().removeAttribute("disabled"):J.getEditSelect().setAttribute("disabled","disabled")});b=new CustomDialog(this,f,mxUtils.bind(this,function(){e(u.getTarget(),u.getColor(),null==q? -!0:q.checked,v.checked,J.getLink(),G.checked,null!=n?n.value:null,null!=m?m.value:null)}),null,mxResources.get("create"),l);this.showDialog(b.container,340,254+a,!0,!0);null!=n?(n.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?n.select():document.execCommand("selectAll",!1,null)):u.focus()};EditorUi.prototype.showRemoteExportDialog=function(a,b,c,d,e){var f=document.createElement("div");f.style.whiteSpace="nowrap";var l=document.createElement("h3");mxUtils.write(l, +m=document.createElement("input"),m.setAttribute("type","text"),m.style.width="50px",m.style.marginLeft="6px",m.style.marginBottom="10px",m.value=d+"px",f.appendChild(m),mxUtils.br(f);var u=this.addLinkSection(f,g);c=null!=this.pages&&1<this.pages.length;var t=null;if(null==p||p.constructor!=window.DriveFile||b)t=this.addCheckbox(f,mxResources.get("allPages"),c,!c);var v=this.addCheckbox(f,mxResources.get("lightbox"),!0),J=this.addEditButton(f,v),I=J.getEditInput(),E=this.addCheckbox(f,mxResources.get("layers"), +!0);E.style.marginLeft=I.style.marginLeft;E.style.marginBottom="16px";E.style.marginTop="8px";mxEvent.addListener(v,"change",function(){v.checked?(E.removeAttribute("disabled"),I.removeAttribute("disabled")):(E.setAttribute("disabled","disabled"),I.setAttribute("disabled","disabled"));I.checked&&v.checked?J.getEditSelect().removeAttribute("disabled"):J.getEditSelect().setAttribute("disabled","disabled")});b=new CustomDialog(this,f,mxUtils.bind(this,function(){e(u.getTarget(),u.getColor(),null==t? +!0:t.checked,v.checked,J.getLink(),E.checked,null!=n?n.value:null,null!=m?m.value:null)}),null,mxResources.get("create"),l);this.showDialog(b.container,340,254+a,!0,!0);null!=n?(n.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?n.select():document.execCommand("selectAll",!1,null)):u.focus()};EditorUi.prototype.showRemoteExportDialog=function(a,b,c,d,e){var f=document.createElement("div");f.style.whiteSpace="nowrap";var l=document.createElement("h3");mxUtils.write(l, mxResources.get("image"));l.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:"+(e?"10":"4")+"px";f.appendChild(l);if(e){mxUtils.write(f,mxResources.get("zoom")+":");var g=document.createElement("input");g.setAttribute("type","text");g.style.marginRight="16px";g.style.width="60px";g.style.marginLeft="4px";g.style.marginRight="12px";g.value=this.lastExportZoom||"100%";f.appendChild(g);mxUtils.write(f,mxResources.get("borderWidth")+":");var p=document.createElement("input");p.setAttribute("type", "text");p.style.marginRight="16px";p.style.width="60px";p.style.marginLeft="4px";p.value=this.lastExportBorder||"0";f.appendChild(p);mxUtils.br(f)}var k=this.addCheckbox(f,mxResources.get("selectionOnly"),!1,this.editor.graph.isSelectionEmpty()),n=d?null:this.addCheckbox(f,mxResources.get("includeCopyOfMyDiagram"),!0),l=this.editor.graph,m=d?null:this.addCheckbox(f,mxResources.get("transparentBackground"),l.background==mxConstants.NONE||null==l.background);null!=m&&(m.style.marginBottom="16px");a= -new CustomDialog(this,f,mxUtils.bind(this,function(){var a=parseInt(g.value)/100||1,b=parseInt(p.value)||0;c(!k.checked,null!=n?n.checked:!1,null!=m?m.checked:!1,a,b)}),null,a,b);this.showDialog(a.container,300,(e?25:0)+(d?125:210),!0,!0)};EditorUi.prototype.showExportDialog=function(a,b,c,d,e,g,k,n){k=null!=k?k:!0;var f=document.createElement("div");f.style.whiteSpace="nowrap";var l=this.editor.graph,p="jpeg"==n?196:300,t=document.createElement("h3");mxUtils.write(t,a);t.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:10px"; -f.appendChild(t);mxUtils.write(f,mxResources.get("zoom")+":");var m=document.createElement("input");m.setAttribute("type","text");m.style.marginRight="16px";m.style.width="60px";m.style.marginLeft="4px";m.style.marginRight="12px";m.value=this.lastExportZoom||"100%";f.appendChild(m);mxUtils.write(f,mxResources.get("borderWidth")+":");var u=document.createElement("input");u.setAttribute("type","text");u.style.marginRight="16px";u.style.width="60px";u.style.marginLeft="4px";u.value=this.lastExportBorder|| -"0";f.appendChild(u);mxUtils.br(f);var q=this.addCheckbox(f,mxResources.get("transparentBackground"),!1,null,null,"jpeg"!=n),v=this.addCheckbox(f,mxResources.get("selectionOnly"),!1,l.isSelectionEmpty()),y=document.createElement("input");y.style.marginTop="16px";y.style.marginRight="8px";y.style.marginLeft="24px";y.setAttribute("disabled","disabled");y.setAttribute("type","checkbox");g&&(f.appendChild(y),mxUtils.write(f,mxResources.get("crop")),mxUtils.br(f),p+=26,mxEvent.addListener(v,"change",function(){v.checked? -y.removeAttribute("disabled"):y.setAttribute("disabled","disabled")}));l.isSelectionEmpty()||(y.setAttribute("checked","checked"),y.defaultChecked=!0);var z=this.addCheckbox(f,mxResources.get("shadow"),l.shadowVisible),G=document.createElement("input");G.style.marginTop="16px";G.style.marginRight="8px";G.setAttribute("type","checkbox");!this.isOffline()&&this.canvasSupported||G.setAttribute("disabled","disabled");b&&(f.appendChild(G),mxUtils.write(f,mxResources.get("embedImages")),mxUtils.br(f),p+= +new CustomDialog(this,f,mxUtils.bind(this,function(){var a=parseInt(g.value)/100||1,b=parseInt(p.value)||0;c(!k.checked,null!=n?n.checked:!1,null!=m?m.checked:!1,a,b)}),null,a,b);this.showDialog(a.container,300,(e?25:0)+(d?125:210),!0,!0)};EditorUi.prototype.showExportDialog=function(a,b,c,d,e,g,k,n){k=null!=k?k:!0;var f=document.createElement("div");f.style.whiteSpace="nowrap";var l=this.editor.graph,p="jpeg"==n?196:300,q=document.createElement("h3");mxUtils.write(q,a);q.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:10px"; +f.appendChild(q);mxUtils.write(f,mxResources.get("zoom")+":");var m=document.createElement("input");m.setAttribute("type","text");m.style.marginRight="16px";m.style.width="60px";m.style.marginLeft="4px";m.style.marginRight="12px";m.value=this.lastExportZoom||"100%";f.appendChild(m);mxUtils.write(f,mxResources.get("borderWidth")+":");var u=document.createElement("input");u.setAttribute("type","text");u.style.marginRight="16px";u.style.width="60px";u.style.marginLeft="4px";u.value=this.lastExportBorder|| +"0";f.appendChild(u);mxUtils.br(f);var t=this.addCheckbox(f,mxResources.get("transparentBackground"),!1,null,null,"jpeg"!=n),v=this.addCheckbox(f,mxResources.get("selectionOnly"),!1,l.isSelectionEmpty()),y=document.createElement("input");y.style.marginTop="16px";y.style.marginRight="8px";y.style.marginLeft="24px";y.setAttribute("disabled","disabled");y.setAttribute("type","checkbox");g&&(f.appendChild(y),mxUtils.write(f,mxResources.get("crop")),mxUtils.br(f),p+=26,mxEvent.addListener(v,"change",function(){v.checked? +y.removeAttribute("disabled"):y.setAttribute("disabled","disabled")}));l.isSelectionEmpty()||(y.setAttribute("checked","checked"),y.defaultChecked=!0);var z=this.addCheckbox(f,mxResources.get("shadow"),l.shadowVisible),E=document.createElement("input");E.style.marginTop="16px";E.style.marginRight="8px";E.setAttribute("type","checkbox");!this.isOffline()&&this.canvasSupported||E.setAttribute("disabled","disabled");b&&(f.appendChild(E),mxUtils.write(f,mxResources.get("embedImages")),mxUtils.br(f),p+= 26);var K=null;if("png"==n||"jpeg"==n)K=this.addCheckbox(f,mxResources.get("grid"),!1,this.isOffline()||!this.canvasSupported,!1,!0),p+=26;var Q=this.addCheckbox(f,mxResources.get("includeCopyOfMyDiagram"),k,null,null,"jpeg"!=n),N=null!=this.pages&&1<this.pages.length,Y=this.addCheckbox(f,N?mxResources.get("allPages"):"",N,!N,null,"jpeg"!=n);Y.style.marginLeft="24px";Y.style.marginBottom="16px";N||(Y.style.display="none");mxEvent.addListener(Q,"change",function(){Q.checked&&N?Y.removeAttribute("disabled"): Y.setAttribute("disabled","disabled")});k&&N||Y.setAttribute("disabled","disabled");var T=document.createElement("select");T.style.maxWidth="260px";T.style.marginLeft="8px";T.style.marginRight="10px";T.className="geBtn";a=document.createElement("option");a.setAttribute("value","auto");mxUtils.write(a,mxResources.get("automatic"));T.appendChild(a);a=document.createElement("option");a.setAttribute("value","blank");mxUtils.write(a,mxResources.get("openInNewWindow"));T.appendChild(a);a=document.createElement("option"); -a.setAttribute("value","self");mxUtils.write(a,mxResources.get("openInThisWindow"));T.appendChild(a);"svg"==n&&(mxUtils.write(f,mxResources.get("links")+":"),f.appendChild(T),mxUtils.br(f),mxUtils.br(f),p+=26);c=new CustomDialog(this,f,mxUtils.bind(this,function(){this.lastExportBorder=u.value;this.lastExportZoom=m.value;e(m.value,q.checked,!v.checked,z.checked,Q.checked,G.checked,u.value,y.checked,!Y.checked,T.value,null!=K?K.checked:null)}),null,c,d);this.showDialog(c.container,340,p,!0,!0,null, +a.setAttribute("value","self");mxUtils.write(a,mxResources.get("openInThisWindow"));T.appendChild(a);"svg"==n&&(mxUtils.write(f,mxResources.get("links")+":"),f.appendChild(T),mxUtils.br(f),mxUtils.br(f),p+=26);c=new CustomDialog(this,f,mxUtils.bind(this,function(){this.lastExportBorder=u.value;this.lastExportZoom=m.value;e(m.value,t.checked,!v.checked,z.checked,Q.checked,E.checked,u.value,y.checked,!Y.checked,T.value,null!=K?K.checked:null)}),null,c,d);this.showDialog(c.container,340,p,!0,!0,null, null,null,null,!0);m.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?m.select():document.execCommand("selectAll",!1,null)};EditorUi.prototype.showEmbedImageDialog=function(a,b,c,d,e){var f=document.createElement("div");f.style.whiteSpace="nowrap";var l=this.editor.graph;if(null!=b){var g=document.createElement("h3");mxUtils.write(g,b);g.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:4px";f.appendChild(g)}var p=this.addCheckbox(f,mxResources.get("fit"), -!0),k=this.addCheckbox(f,mxResources.get("shadow"),l.shadowVisible&&d,!d),n=this.addCheckbox(f,c),m=this.addCheckbox(f,mxResources.get("lightbox"),!0),u=this.addEditButton(f,m),q=u.getEditInput(),v=1<l.model.getChildCount(l.model.getRoot()),H=this.addCheckbox(f,mxResources.get("layers"),v,!v);H.style.marginLeft=q.style.marginLeft;H.style.marginBottom="12px";H.style.marginTop="8px";mxEvent.addListener(m,"change",function(){m.checked?(v&&H.removeAttribute("disabled"),q.removeAttribute("disabled")): -(H.setAttribute("disabled","disabled"),q.setAttribute("disabled","disabled"));q.checked&&m.checked?u.getEditSelect().removeAttribute("disabled"):u.getEditSelect().setAttribute("disabled","disabled")});b=new CustomDialog(this,f,mxUtils.bind(this,function(){a(p.checked,k.checked,n.checked,m.checked,u.getLink(),H.checked)}),null,mxResources.get("embed"),e);this.showDialog(b.container,280,280,!0,!0)};EditorUi.prototype.createEmbedImage=function(a,b,c,d,e,g,k,n){function f(b){var f=" ",p="";d&&(f=" onclick=\"(function(img){if(img.wnd!=null&&!img.wnd.closed){img.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==img.wnd){img.wnd.postMessage(decodeURIComponent(img.getAttribute('src')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);img.wnd=window.open('"+ -EditorUi.drawHost+"/?client=1&lightbox=1"+(e?"&edit=_blank":"")+(g?"&layers=1":"")+"');}})(this);\"",p+="cursor:pointer;");a&&(p+="max-width:100%;");var n="";c&&(n=' width="'+Math.round(l.width)+'" height="'+Math.round(l.height)+'"');k('<img src="'+b+'"'+n+(""!=p?' style="'+p+'"':"")+f+"/>")}var l=this.editor.graph.getGraphBounds();if(this.isExportToCanvas())this.exportToCanvas(mxUtils.bind(this,function(a){var b=d?this.getFileData(!0):null;a=this.createImageDataUri(a,b,"png");f(a)}),null,null,null, -mxUtils.bind(this,function(a){n({message:mxResources.get("unknownError")})}),null,!0,c?2:1,null,b);else if(b=this.getFileData(!0),l.width*l.height<=MAX_AREA&&b.length<=MAX_REQUEST_SIZE){var p="";c&&(p="&w="+Math.round(2*l.width)+"&h="+Math.round(2*l.height));var t=new mxXmlRequest(EXPORT_URL,"format=png&base64=1&embedXml="+(d?"1":"0")+p+"&xml="+encodeURIComponent(b));t.send(mxUtils.bind(this,function(){200<=t.getStatus()&&299>=t.getStatus()?f("data:image/png;base64,"+t.getText()):n({message:mxResources.get("unknownError")})}))}else n({message:mxResources.get("drawingTooLarge")})}; -EditorUi.prototype.createEmbedSvg=function(a,b,c,d,e,g,k){var f=this.editor.graph.getSvg(),l=f.getElementsByTagName("a");if(null!=l)for(var p=0;p<l.length;p++){var n=l[p].getAttribute("href");null!=n&&"#"==n.charAt(0)&&"_blank"==l[p].getAttribute("target")&&l[p].removeAttribute("target")}d&&f.setAttribute("content",this.getFileData(!0));b&&this.editor.graph.addSvgShadow(f);if(c){var t=" ",m="";d&&(t="onclick=\"(function(img){if(img.wnd!=null&&!img.wnd.closed){img.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==img.wnd){img.wnd.postMessage(decodeURIComponent(img.getAttribute('src')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);img.wnd=window.open('"+ -EditorUi.drawHost+"/?client=1&lightbox=1"+(e?"&edit=_blank":"")+(g?"&layers=1":"")+"');}})(this);\"",m+="cursor:pointer;");a&&(m+="max-width:100%;");this.convertImages(f,mxUtils.bind(this,function(a){k('<img src="'+this.createSvgDataUri(mxUtils.getXml(a))+'"'+(""!=m?' style="'+m+'"':"")+t+"/>")}))}else m="",d&&(f.setAttribute("onclick","(function(svg){var src=window.event.target||window.event.srcElement;while (src!=null&&src.nodeName.toLowerCase()!='a'){src=src.parentNode;}if(src==null){if(svg.wnd!=null&&!svg.wnd.closed){svg.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==svg.wnd){svg.wnd.postMessage(decodeURIComponent(svg.getAttribute('content')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);svg.wnd=window.open('"+ +!0),k=this.addCheckbox(f,mxResources.get("shadow"),l.shadowVisible&&d,!d),n=this.addCheckbox(f,c),m=this.addCheckbox(f,mxResources.get("lightbox"),!0),u=this.addEditButton(f,m),t=u.getEditInput(),v=1<l.model.getChildCount(l.model.getRoot()),H=this.addCheckbox(f,mxResources.get("layers"),v,!v);H.style.marginLeft=t.style.marginLeft;H.style.marginBottom="12px";H.style.marginTop="8px";mxEvent.addListener(m,"change",function(){m.checked?(v&&H.removeAttribute("disabled"),t.removeAttribute("disabled")): +(H.setAttribute("disabled","disabled"),t.setAttribute("disabled","disabled"));t.checked&&m.checked?u.getEditSelect().removeAttribute("disabled"):u.getEditSelect().setAttribute("disabled","disabled")});b=new CustomDialog(this,f,mxUtils.bind(this,function(){a(p.checked,k.checked,n.checked,m.checked,u.getLink(),H.checked)}),null,mxResources.get("embed"),e);this.showDialog(b.container,280,280,!0,!0)};EditorUi.prototype.createEmbedImage=function(a,b,c,d,e,g,k,n){function f(b){var f=" ",p="";d&&(f=" onclick=\"(function(img){if(img.wnd!=null&&!img.wnd.closed){img.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==img.wnd){img.wnd.postMessage(decodeURIComponent(img.getAttribute('src')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);img.wnd=window.open('"+ +EditorUi.drawHost+"/?client=1&lightbox=1"+(e?"&edit=_blank":"")+(g?"&layers=1":"")+"');}})(this);\"",p+="cursor:pointer;");a&&(p+="max-width:100%;");var q="";c&&(q=' width="'+Math.round(l.width)+'" height="'+Math.round(l.height)+'"');k('<img src="'+b+'"'+q+(""!=p?' style="'+p+'"':"")+f+"/>")}var l=this.editor.graph.getGraphBounds();if(this.isExportToCanvas())this.exportToCanvas(mxUtils.bind(this,function(a){var b=d?this.getFileData(!0):null;a=this.createImageDataUri(a,b,"png");f(a)}),null,null,null, +mxUtils.bind(this,function(a){n({message:mxResources.get("unknownError")})}),null,!0,c?2:1,null,b);else if(b=this.getFileData(!0),l.width*l.height<=MAX_AREA&&b.length<=MAX_REQUEST_SIZE){var p="";c&&(p="&w="+Math.round(2*l.width)+"&h="+Math.round(2*l.height));var q=new mxXmlRequest(EXPORT_URL,"format=png&base64=1&embedXml="+(d?"1":"0")+p+"&xml="+encodeURIComponent(b));q.send(mxUtils.bind(this,function(){200<=q.getStatus()&&299>=q.getStatus()?f("data:image/png;base64,"+q.getText()):n({message:mxResources.get("unknownError")})}))}else n({message:mxResources.get("drawingTooLarge")})}; +EditorUi.prototype.createEmbedSvg=function(a,b,c,d,e,g,k){var f=this.editor.graph.getSvg(),l=f.getElementsByTagName("a");if(null!=l)for(var p=0;p<l.length;p++){var q=l[p].getAttribute("href");null!=q&&"#"==q.charAt(0)&&"_blank"==l[p].getAttribute("target")&&l[p].removeAttribute("target")}d&&f.setAttribute("content",this.getFileData(!0));b&&this.editor.graph.addSvgShadow(f);if(c){var n=" ",m="";d&&(n="onclick=\"(function(img){if(img.wnd!=null&&!img.wnd.closed){img.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==img.wnd){img.wnd.postMessage(decodeURIComponent(img.getAttribute('src')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);img.wnd=window.open('"+ +EditorUi.drawHost+"/?client=1&lightbox=1"+(e?"&edit=_blank":"")+(g?"&layers=1":"")+"');}})(this);\"",m+="cursor:pointer;");a&&(m+="max-width:100%;");this.convertImages(f,mxUtils.bind(this,function(a){k('<img src="'+this.createSvgDataUri(mxUtils.getXml(a))+'"'+(""!=m?' style="'+m+'"':"")+n+"/>")}))}else m="",d&&(f.setAttribute("onclick","(function(svg){var src=window.event.target||window.event.srcElement;while (src!=null&&src.nodeName.toLowerCase()!='a'){src=src.parentNode;}if(src==null){if(svg.wnd!=null&&!svg.wnd.closed){svg.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==svg.wnd){svg.wnd.postMessage(decodeURIComponent(svg.getAttribute('content')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);svg.wnd=window.open('"+ EditorUi.drawHost+"/?client=1&lightbox=1"+(e?"&edit=_blank":"")+(g?"&layers=1":"")+"');}}})(this);"),m+="cursor:pointer;"),a&&(a=parseInt(f.getAttribute("width")),b=parseInt(f.getAttribute("height")),f.setAttribute("viewBox","-0.5 -0.5 "+a+" "+b),m+="max-width:100%;max-height:"+b+"px;",f.removeAttribute("height")),""!=m&&f.setAttribute("style",m),k(mxUtils.getXml(f))};EditorUi.prototype.timeSince=function(a){a=Math.floor((new Date-a)/1E3);var b=Math.floor(a/31536E3);if(1<b)return b+" "+mxResources.get("years"); b=Math.floor(a/2592E3);if(1<b)return b+" "+mxResources.get("months");b=Math.floor(a/86400);if(1<b)return b+" "+mxResources.get("days");b=Math.floor(a/3600);if(1<b)return b+" "+mxResources.get("hours");b=Math.floor(a/60);return 1<b?b+" "+mxResources.get("minutes"):1==b?b+" "+mxResources.get("minute"):null};EditorUi.prototype.convertMath=function(a,b,c,d){a.mathEnabled&&"undefined"!==typeof MathJax&&"undefined"!==typeof MathJax.Hub?(Editor.MathJaxRender(b),window.setTimeout(mxUtils.bind(this,function(){MathJax.Hub.Queue(mxUtils.bind(this, -function(){d()}))}),0)):d()};EditorUi.prototype.decodeNodeIntoGraph=function(a,b){if(null!=a){var c=null;if("diagram"==a.nodeName)c=a;else if("mxfile"==a.nodeName){var d=a.getElementsByTagName("diagram");if(0<d.length){var c=d[0],f=b.getGlobalVariable;b.getGlobalVariable=function(a){return"page"==a?c.getAttribute("name")||mxResources.get("pageWithNumber",[1]):"pagenumber"==a?1:f.apply(this,arguments)}}}null!=c&&(a=Editor.parseDiagramNode(c))}d=this.editor.graph;try{this.editor.graph=b,this.editor.setGraphXml(a)}catch(t){}finally{this.editor.graph= +function(){d()}))}),0)):d()};EditorUi.prototype.decodeNodeIntoGraph=function(a,b){if(null!=a){var c=null;if("diagram"==a.nodeName)c=a;else if("mxfile"==a.nodeName){var d=a.getElementsByTagName("diagram");if(0<d.length){var c=d[0],f=b.getGlobalVariable;b.getGlobalVariable=function(a){return"page"==a?c.getAttribute("name")||mxResources.get("pageWithNumber",[1]):"pagenumber"==a?1:f.apply(this,arguments)}}}null!=c&&(a=Editor.parseDiagramNode(c))}d=this.editor.graph;try{this.editor.graph=b,this.editor.setGraphXml(a)}catch(q){}finally{this.editor.graph= d}return a};EditorUi.prototype.getEmbeddedPng=function(a,b,c){try{var d=this.editor.graph,f=null;if(null!=c&&0<c.length)d=this.createTemporaryGraph(this.editor.graph.getStylesheet()),document.body.appendChild(d.container),this.decodeNodeIntoGraph(this.editor.extractGraphModel(mxUtils.parseXml(c).documentElement,!0),d),f=c;else if(null!=this.pages&&this.currentPage!=this.pages[0]){var d=this.createTemporaryGraph(d.getStylesheet()),l=d.getGlobalVariable,e=this.pages[0];d.getGlobalVariable=function(a){return"page"== a?e.getName():"pagenumber"==a?1:l.apply(this,arguments)};document.body.appendChild(d.container);d.model.setRoot(e.root)}this.exportToCanvas(mxUtils.bind(this,function(c){try{null==f&&(f=this.getFileData(!0,null,null,null,null,null,null,null,null,!1));var l=c.toDataURL("image/png"),l=this.writeGraphModelToPng(l,"tEXt","mxfile",encodeURIComponent(f));a(l.substring(l.lastIndexOf(",")+1));d!=this.editor.graph&&d.container.parentNode.removeChild(d.container)}catch(x){null!=b&&b(x)}}),null,null,null,mxUtils.bind(this, function(a){null!=b&&b(a)}),null,null,null,null,d.shadowVisible,null,d)}catch(y){null!=b&&b(y)}};EditorUi.prototype.getEmbeddedSvg=function(a,b,c,d,e,g,k){k=b.background;k==mxConstants.NONE&&(k=null);g=b.getSvg(k,null,null,null,null,g);b.shadowVisible&&b.addSvgShadow(g);null!=a&&g.setAttribute("content",a);null!=c&&g.setAttribute("resource",c);if(null!=e)this.convertImages(g,mxUtils.bind(this,function(a){e((d?"":'<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n')+ -mxUtils.getXml(a))}));else return(d?"":'<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n')+mxUtils.getXml(g)};EditorUi.prototype.exportImage=function(a,b,c,d,e,g,k,n,m,x,B){m=null!=m?m:"png";if(this.spinner.spin(document.body,mxResources.get("exporting"))){var f=this.editor.graph.isSelectionEmpty();c=null!=c?c:f;null==this.thumbImageCache&&(this.thumbImageCache={});try{this.exportToCanvas(mxUtils.bind(this, -function(a){this.spinner.stop();try{this.saveCanvas(a,e?this.getFileData(!0,null,null,null,c,n):null,m,null==this.pages||0==this.pages.length,B)}catch(F){"Invalid image"==F.message?this.downloadFile(m):this.handleError(F)}}),null,this.thumbImageCache,null,mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a)}),null,c,a||1,b,d,null,null,g,k,x)}catch(A){this.spinner.stop(),this.handleError(A)}}};EditorUi.prototype.loadFonts=function(a){if(null!=this.editor.fontCss&&null==this.editor.resolvedFontCss){var b= +mxUtils.getXml(a))}));else return(d?"":'<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n')+mxUtils.getXml(g)};EditorUi.prototype.exportImage=function(a,b,c,d,e,g,k,n,m,x,A){m=null!=m?m:"png";if(this.spinner.spin(document.body,mxResources.get("exporting"))){var f=this.editor.graph.isSelectionEmpty();c=null!=c?c:f;null==this.thumbImageCache&&(this.thumbImageCache={});try{this.exportToCanvas(mxUtils.bind(this, +function(a){this.spinner.stop();try{this.saveCanvas(a,e?this.getFileData(!0,null,null,null,c,n):null,m,null==this.pages||0==this.pages.length,A)}catch(D){"Invalid image"==D.message?this.downloadFile(m):this.handleError(D)}}),null,this.thumbImageCache,null,mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a)}),null,c,a||1,b,d,null,null,g,k,x)}catch(B){this.spinner.stop(),this.handleError(B)}}};EditorUi.prototype.loadFonts=function(a){if(null!=this.editor.fontCss&&null==this.editor.resolvedFontCss){var b= function(a){return a.replace(RegExp("^[\\s\"']+","g"),"").replace(RegExp("[\\s\"']+$","g"),"")},c=this.editor.fontCss.split("url("),d=0,f={},e=mxUtils.bind(this,function(){if(0==d){for(var l=[c[0]],e=1;e<c.length;e++){var g=c[e].indexOf(")");l.push('url("');l.push(f[b(c[e].substring(0,g))]);l.push('"'+c[e].substring(g))}this.editor.resolvedFontCss=l.join("");a()}});if(0<c.length)for(var g=1;g<c.length;g++){var k=c[g].indexOf(")"),n=null,m=c[g].indexOf("format(",k);0<m&&(n=b(c[g].substring(m+7,c[g].indexOf(")", m))));mxUtils.bind(this,function(a){if(null==f[a]){f[a]=a;d++;var b="application/x-font-ttf";if("svg"==n||/(\.svg)($|\?)/i.test(a))b="image/svg+xml";else if("otf"==n||"embedded-opentype"==n||/(\.otf)($|\?)/i.test(a))b="application/x-font-opentype";else if("woff"==n||/(\.woff)($|\?)/i.test(a))b="application/font-woff";else if("woff2"==n||/(\.woff2)($|\?)/i.test(a))b="application/font-woff2";else if("eot"==n||/(\.eot)($|\?)/i.test(a))b="application/vnd.ms-fontobject";else if("sfnt"==n||/(\.sfnt)($|\?)/i.test(a))b= -"application/font-sfnt";var c=a;/^https?:\/\//.test(c)&&!this.editor.isCorsEnabledForUrl(c)&&(c=PROXY_URL+"?url="+encodeURIComponent(a));this.loadUrl(c,mxUtils.bind(this,function(b){f[a]=b;d--;e()}),mxUtils.bind(this,function(a){d--;e()}),!0,null,"data:"+b+";charset=utf-8;base64,")}})(b(c[g].substring(0,k)),n)}}else a()};EditorUi.prototype.exportToCanvas=function(a,b,c,d,e,g,k,n,m,x,B,q,A,F,D){try{g=null!=g?g:!0;k=null!=k?k:!0;q=null!=q?q:this.editor.graph;A=null!=A?A:0;var f=m?null:q.background; -f==mxConstants.NONE&&(f=null);null==f&&(f=d);null==f&&0==m&&(f="#ffffff");this.convertImages(q.getSvg(null,null,null,F,null,k,null,null,null,x),mxUtils.bind(this,function(c){var d=new Image;d.onload=mxUtils.bind(this,function(){try{var l=function(){mxClient.IS_SF?window.setTimeout(function(){m.drawImage(d,A/n,A/n);a(k)},0):(m.drawImage(d,A/n,A/n),a(k))},k=document.createElement("canvas"),p=parseInt(c.getAttribute("width")),t=parseInt(c.getAttribute("height"));n=null!=n?n:1;null!=b&&(n=g?Math.min(1, -Math.min(3*b/(4*t),b/p)):b/p);p=Math.ceil(n*p)+2*A;t=Math.ceil(n*t)+2*A;k.setAttribute("width",p);k.setAttribute("height",t);var m=k.getContext("2d");null!=f&&(m.beginPath(),m.rect(0,0,p,t),m.fillStyle=f,m.fill());m.scale(n,n);if(D){var x=q.view,B=btoa(unescape(encodeURIComponent(x.createSvgGrid(x.gridColor)))),B="data:image/svg+xml;base64,"+B,u=q.gridSize*x.gridSteps*n,v=q.getGraphBounds(),y=v.x*n,z=v.y*n,E=new Image;E.src=B;E.onload=function(){for(var a=-Math.round(u-mxUtils.mod(x.translate.x*n- -y,u)),b=-Math.round(u-mxUtils.mod(x.translate.y*n-z,u));a<p;a+=u)for(var c=b;c<t;c+=u)m.drawImage(E,a/n,c/n);l()}}else l()}catch(ba){null!=e&&e(ba)}});d.onerror=function(a){null!=e&&e(a)};try{x&&this.editor.graph.addSvgShadow(c);var l=mxUtils.bind(this,function(){if(null!=this.editor.resolvedFontCss){var a=document.createElement("style");a.setAttribute("type","text/css");a.innerHTML=this.editor.resolvedFontCss;c.getElementsByTagName("defs")[0].appendChild(a)}this.convertMath(q,c,!0,mxUtils.bind(this, -function(){d.src=this.createSvgDataUri(mxUtils.getXml(c))}))});this.loadFonts(l)}catch(K){null!=e&&e(K)}}),c,B)}catch(J){null!=e&&e(J)}};EditorUi.prototype.createImageUrlConverter=function(){var a=new mxUrlConverter;a.updateBaseUrl();var b=a.convert,c=this;a.convert=function(d){if(null!=d){var f="http://"==d.substring(0,7)||"https://"==d.substring(0,8);f&&!navigator.onLine?d=c.svgBrokenImage.src:!f||d.substring(0,a.baseUrl.length)==a.baseUrl||c.crossOriginImages&&c.editor.isCorsEnabledForUrl(d)?"chrome-extension://"== -d.substring(0,19)||mxClient.IS_CHROMEAPP||(d=b.apply(this,arguments)):d=PROXY_URL+"?url="+encodeURIComponent(d)}return d};return a};EditorUi.prototype.convertImages=function(a,b,c,d){null==d&&(d=this.createImageUrlConverter());var f=0,l=c||{};c=mxUtils.bind(this,function(c,e){for(var g=a.getElementsByTagName(c),k=0;k<g.length;k++)mxUtils.bind(this,function(c){try{if(null!=c){var g=d.convert(c.getAttribute(e));if(null!=g&&"data:"!=g.substring(0,5)){var k=l[g];null==k?(f++,this.convertImageToDataUri(g, -function(d){null!=d&&(l[g]=d,c.setAttribute(e,d));f--;0==f&&b(a)})):c.setAttribute(e,k)}else null!=g&&c.setAttribute(e,g)}}catch(F){}})(g[k])});c("image","xlink:href");c("img","src");0==f&&b(a)};EditorUi.prototype.loadUrl=function(a,b,c,d,e,g,k){try{var f=!k&&(d||/(\.png)($|\?)/i.test(a)||/(\.jpe?g)($|\?)/i.test(a)||/(\.gif)($|\?)/i.test(a));e=null!=e?e:!0;var l=mxUtils.bind(this,function(){mxUtils.get(a,mxUtils.bind(this,function(a){if(200<=a.getStatus()&&299>=a.getStatus()){if(null!=b){var d=a.getText(); -if(f){if((9==document.documentMode||10==document.documentMode)&&"undefined"!==typeof window.mxUtilsBinaryToArray){a=mxUtilsBinaryToArray(a.request.responseBody).toArray();for(var d=Array(a.length),l=0;l<a.length;l++)d[l]=String.fromCharCode(a[l]);d=d.join("")}g=null!=g?g:"data:image/png;base64,";d=g+this.base64Encode(d)}b(d)}}else null!=c&&c({message:mxResources.get("error")+" "+a.getStatus()},a)}),function(a){null!=c&&c({message:mxResources.get("error")+" "+a.getStatus()})},f,this.timeout,function(){e&& +"application/font-sfnt";var c=a;/^https?:\/\//.test(c)&&!this.editor.isCorsEnabledForUrl(c)&&(c=PROXY_URL+"?url="+encodeURIComponent(a));this.loadUrl(c,mxUtils.bind(this,function(b){f[a]=b;d--;e()}),mxUtils.bind(this,function(a){d--;e()}),!0,null,"data:"+b+";charset=utf-8;base64,")}})(b(c[g].substring(0,k)),n)}}else a()};EditorUi.prototype.exportToCanvas=function(a,b,c,d,e,g,k,n,m,x,A,t,B,D,G){try{g=null!=g?g:!0;k=null!=k?k:!0;t=null!=t?t:this.editor.graph;B=null!=B?B:0;var f=m?null:t.background; +f==mxConstants.NONE&&(f=null);null==f&&(f=d);null==f&&0==m&&(f="#ffffff");this.convertImages(t.getSvg(null,null,null,D,null,k,null,null,null,x),mxUtils.bind(this,function(c){var d=new Image;d.onload=mxUtils.bind(this,function(){try{var l=function(){mxClient.IS_SF?window.setTimeout(function(){m.drawImage(d,B/n,B/n);a(p)},0):(m.drawImage(d,B/n,B/n),a(p))},p=document.createElement("canvas"),k=parseInt(c.getAttribute("width")),q=parseInt(c.getAttribute("height"));n=null!=n?n:1;null!=b&&(n=g?Math.min(1, +Math.min(3*b/(4*q),b/k)):b/k);k=Math.ceil(n*k)+2*B;q=Math.ceil(n*q)+2*B;p.setAttribute("width",k);p.setAttribute("height",q);var m=p.getContext("2d");null!=f&&(m.beginPath(),m.rect(0,0,k,q),m.fillStyle=f,m.fill());m.scale(n,n);if(G){var x=t.view,A=btoa(unescape(encodeURIComponent(x.createSvgGrid(x.gridColor)))),A="data:image/svg+xml;base64,"+A,u=t.gridSize*x.gridSteps*n,v=t.getGraphBounds(),y=v.x*n,z=v.y*n,F=new Image;F.src=A;F.onload=function(){for(var a=-Math.round(u-mxUtils.mod(x.translate.x*n- +y,u)),b=-Math.round(u-mxUtils.mod(x.translate.y*n-z,u));a<k;a+=u)for(var c=b;c<q;c+=u)m.drawImage(F,a/n,c/n);l()}}else l()}catch(ba){null!=e&&e(ba)}});d.onerror=function(a){null!=e&&e(a)};try{x&&this.editor.graph.addSvgShadow(c);var l=mxUtils.bind(this,function(){if(null!=this.editor.resolvedFontCss){var a=document.createElement("style");a.setAttribute("type","text/css");a.innerHTML=this.editor.resolvedFontCss;c.getElementsByTagName("defs")[0].appendChild(a)}this.convertMath(t,c,!0,mxUtils.bind(this, +function(){d.src=this.createSvgDataUri(mxUtils.getXml(c))}))});this.loadFonts(l)}catch(K){null!=e&&e(K)}}),c,A)}catch(J){null!=e&&e(J)}};EditorUi.prototype.createImageUrlConverter=function(){var a=new mxUrlConverter;a.updateBaseUrl();var b=a.convert,c=this;a.convert=function(d){if(null!=d){var f="http://"==d.substring(0,7)||"https://"==d.substring(0,8);f&&!navigator.onLine?d=c.svgBrokenImage.src:!f||d.substring(0,a.baseUrl.length)==a.baseUrl||c.crossOriginImages&&c.editor.isCorsEnabledForUrl(d)?"chrome-extension://"== +d.substring(0,19)||mxClient.IS_CHROMEAPP||(d=b.apply(this,arguments)):d=PROXY_URL+"?url="+encodeURIComponent(d)}return d};return a};EditorUi.prototype.convertImages=function(a,b,c,d){null==d&&(d=this.createImageUrlConverter());var f=0,l=c||{};c=mxUtils.bind(this,function(c,e){for(var g=a.getElementsByTagName(c),p=0;p<g.length;p++)mxUtils.bind(this,function(c){try{if(null!=c){var g=d.convert(c.getAttribute(e));if(null!=g&&"data:"!=g.substring(0,5)){var p=l[g];null==p?(f++,this.convertImageToDataUri(g, +function(d){null!=d&&(l[g]=d,c.setAttribute(e,d));f--;0==f&&b(a)})):c.setAttribute(e,p)}else null!=g&&c.setAttribute(e,g)}}catch(D){}})(g[p])});c("image","xlink:href");c("img","src");0==f&&b(a)};EditorUi.prototype.loadUrl=function(a,b,c,d,e,g,k){try{var f=!k&&(d||/(\.png)($|\?)/i.test(a)||/(\.jpe?g)($|\?)/i.test(a)||/(\.gif)($|\?)/i.test(a));e=null!=e?e:!0;var l=mxUtils.bind(this,function(){mxUtils.get(a,mxUtils.bind(this,function(a){if(200<=a.getStatus()&&299>=a.getStatus()){if(null!=b){var d=a.getText(); +if(f){if((9==document.documentMode||10==document.documentMode)&&"undefined"!==typeof window.mxUtilsBinaryToArray){a=mxUtilsBinaryToArray(a.request.responseBody).toArray();for(var d=Array(a.length),e=0;e<a.length;e++)d[e]=String.fromCharCode(a[e]);d=d.join("")}g=null!=g?g:"data:image/png;base64,";d=g+this.base64Encode(d)}b(d)}}else null!=c&&c({message:mxResources.get("error")+" "+a.getStatus()},a)}),function(a){null!=c&&c({message:mxResources.get("error")+" "+a.getStatus()})},f,this.timeout,function(){e&& null!=c&&c({code:App.ERROR_TIMEOUT,retry:l})})});l()}catch(x){null!=c&&c(x)}};EditorUi.prototype.isCorsEnabledForUrl=function(a){return this.editor.isCorsEnabledForUrl(a)};EditorUi.prototype.convertImageToDataUri=function(a,b){try{var c=!0,d=window.setTimeout(mxUtils.bind(this,function(){c=!1;b(this.svgBrokenImage.src)}),this.timeout);if(/(\.svg)$/i.test(a))mxUtils.get(a,mxUtils.bind(this,function(a){window.clearTimeout(d);c&&b(this.createSvgDataUri(a.getText()))}),function(){window.clearTimeout(d); c&&b(this.svgBrokenImage.src)});else{var f=new Image,e=this;this.crossOriginImages&&(f.crossOrigin="anonymous");f.onload=function(){window.clearTimeout(d);if(c)try{var a=document.createElement("canvas"),l=a.getContext("2d");a.height=f.height;a.width=f.width;l.drawImage(f,0,0);b(a.toDataURL())}catch(C){b(e.svgBrokenImage.src)}};f.onerror=function(){window.clearTimeout(d);c&&b(e.svgBrokenImage.src)};f.src=a}}catch(z){b(this.svgBrokenImage.src)}};EditorUi.prototype.importXml=function(a,b,c,d,e){b=null!= -b?b:0;c=null!=c?c:0;var f=[];try{var l=this.editor.graph;if(null!=a&&0<a.length){l.model.beginUpdate();try{var g=mxUtils.parseXml(a),k=this.editor.extractGraphModel(g.documentElement,null!=this.pages);if(null!=k&&"mxfile"==k.nodeName&&null!=this.pages){var p=k.getElementsByTagName("diagram");if(1==p.length)k=Editor.parseDiagramNode(p[0]);else if(1<p.length){a={};var g=[],n=0;null!=this.pages&&1==this.pages.length&&this.isDiagramEmpty()&&(k=Editor.parseDiagramNode(p[0]),d=!1,n=1);for(;n<p.length;n++){var m= -p[n].getAttribute("id");p[n].removeAttribute("id");var u=this.updatePageRoot(new DiagramPage(p[n]));a[m]=p[n].getAttribute("id");var q=this.pages.length;null==u.getName()&&u.setName(mxResources.get("pageWithNumber",[q+1]));l.model.execute(new ChangePage(this,u,u,q,!0));g.push(u)}this.updatePageLinks(a,g)}}null!=k&&"mxGraphModel"===k.nodeName&&(f=l.importGraphModel(k,b,c,d))}finally{l.model.endUpdate()}}}catch(D){if(e)throw D;this.handleError(D)}return f};EditorUi.prototype.updatePageLinks=function(a, +b?b:0;c=null!=c?c:0;var f=[];try{var l=this.editor.graph;if(null!=a&&0<a.length){l.model.beginUpdate();try{var g=mxUtils.parseXml(a),p=this.editor.extractGraphModel(g.documentElement,null!=this.pages);if(null!=p&&"mxfile"==p.nodeName&&null!=this.pages){var k=p.getElementsByTagName("diagram");if(1==k.length)p=Editor.parseDiagramNode(k[0]);else if(1<k.length){a={};var g=[],n=0;null!=this.pages&&1==this.pages.length&&this.isDiagramEmpty()&&(p=Editor.parseDiagramNode(k[0]),d=!1,n=1);for(;n<k.length;n++){var m= +k[n].getAttribute("id");k[n].removeAttribute("id");var u=this.updatePageRoot(new DiagramPage(k[n]));a[m]=k[n].getAttribute("id");var t=this.pages.length;null==u.getName()&&u.setName(mxResources.get("pageWithNumber",[t+1]));l.model.execute(new ChangePage(this,u,u,t,!0));g.push(u)}this.updatePageLinks(a,g)}}null!=p&&"mxGraphModel"===p.nodeName&&(f=l.importGraphModel(p,b,c,d))}finally{l.model.endUpdate()}}}catch(G){if(e)throw G;this.handleError(G)}return f};EditorUi.prototype.updatePageLinks=function(a, b){for(var c=0;c<b.length;c++)this.updatePageLinksForCell(a,b[c].root)};EditorUi.prototype.updatePageLinksForCell=function(a,b){var c=document.createElement("div"),d=this.editor.graph,f=d.getLinkForCell(b);null!=f&&d.setLinkForCell(b,this.updatePageLink(a,f));if(d.isHtmlLabel(b)){c.innerHTML=d.getLabel(b);for(var e=c.getElementsByTagName("a"),l=!1,g=0;g<e.length;g++)f=e[g].getAttribute("href"),null!=f&&(e[g].setAttribute("href",this.updatePageLink(a,f)),l=!0);l&&d.labelChanged(b,c.innerHTML)}for(g= 0;g<d.model.getChildCount(b);g++)this.updatePageLinksForCell(a,d.model.getChildAt(b,g))};EditorUi.prototype.updatePageLink=function(a,b){if("data:page/id,"==b.substring(0,13)){var c=a[b.substring(b.indexOf(",")+1)];b=null!=c?"data:page/id,"+c:null}else if("data:action/json,"==b.substring(0,17))try{var d=JSON.parse(b.substring(17));if(null!=d.actions){for(var f=0;f<d.actions.length;f++){var e=d.actions[f];null!=e.open&&"data:page/id,"==e.open.substring(0,13)&&(c=a[e.open.substring(e.open.indexOf(",")+ 1)],null!=c?e.open="data:page/id,"+c:delete e.open)}b="data:action/json,"+JSON.stringify(d)}}catch(z){}return b};EditorUi.prototype.isRemoteVisioFormat=function(a){return/(\.v(sd|dx))($|\?)/i.test(a)||/(\.vs(s|x))($|\?)/i.test(a)};EditorUi.prototype.importVisio=function(a,b,c,d){d=null!=d?d:a.name;c=null!=c?c:mxUtils.bind(this,function(a){this.handleError(a)});var f=mxUtils.bind(this,function(){this.loadingExtensions=!1;if(this.doImportVisio){var f=this.isRemoteVisioFormat(d);try{var e="UNKNOWN-VISIO", l=d.lastIndexOf(".");0<=l&&l<d.length&&(e=d.substring(l+1).toUpperCase());EditorUi.logEvent({category:e+"-MS-IMPORT-FILE",action:"filename_"+d,label:f?"remote":"local"})}catch(x){}if(f)if(null!=VSD_CONVERT_URL){f=new FormData;f.append("file1",a,d);var g=new XMLHttpRequest;g.open("POST",VSD_CONVERT_URL);g.responseType="blob";this.addRemoteServiceSecurityCheck(g);g.onreadystatechange=mxUtils.bind(this,function(){if(4==g.readyState)if(200<=g.status&&299>=g.status)try{var a=g.response;if("text/xml"== -a.type){var f=new FileReader;f.onload=mxUtils.bind(this,function(a){try{b(a.target.result)}catch(A){c({message:mxResources.get("errorLoadingFile")})}});f.readAsText(a)}else this.doImportVisio(a,b,c,d)}catch(E){c(E)}else c({})});g.send(f)}else c({message:"conf"==this.getServiceName()?mxResources.get("vsdNoConfig"):mxResources.get("serviceUnavailableOrBlocked")});else try{this.doImportVisio(a,b,c,d)}catch(x){c(x)}}else this.spinner.stop(),this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")})}); +a.type){var f=new FileReader;f.onload=mxUtils.bind(this,function(a){try{b(a.target.result)}catch(B){c({message:mxResources.get("errorLoadingFile")})}});f.readAsText(a)}else this.doImportVisio(a,b,c,d)}catch(F){c(F)}else c({})});g.send(f)}else c({message:"conf"==this.getServiceName()?mxResources.get("vsdNoConfig"):mxResources.get("serviceUnavailableOrBlocked")});else try{this.doImportVisio(a,b,c,d)}catch(x){c(x)}}else this.spinner.stop(),this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")})}); this.doImportVisio||this.loadingExtensions||this.isOffline(!0)?f():(this.loadingExtensions=!0,mxscript("js/extensions.min.js",f))};EditorUi.prototype.importGraphML=function(a,b,c){c=null!=c?c:mxUtils.bind(this,function(a){this.handleError(a)});var d=mxUtils.bind(this,function(){this.loadingExtensions=!1;if(this.doImportGraphML)try{this.doImportGraphML(a,b,c)}catch(v){c(v)}else this.spinner.stop(),this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")})});this.doImportGraphML||this.loadingExtensions|| this.isOffline(!0)?d():(this.loadingExtensions=!0,mxscript("js/extensions.min.js",d))};EditorUi.prototype.exportVisio=function(){var a=mxUtils.bind(this,function(){this.loadingExtensions=!1;if("undefined"!==typeof VsdxExport)try{(new VsdxExport(this)).exportCurrentDiagrams()||this.handleError({message:mxResources.get("unknownError")})}catch(l){this.handleError(l)}else this.spinner.stop(),this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")})});"undefined"!==typeof VsdxExport|| this.loadingExtensions||this.isOffline(!0)?a():(this.loadingExtensions=!0,mxscript("js/extensions.min.js",a))};EditorUi.prototype.convertLucidChart=function(a,b,c){var d=mxUtils.bind(this,function(){this.loadingExtensions=!1;if("undefined"!==typeof window.LucidImporter){try{EditorUi.logEvent({category:"LUCIDCHART-IMPORT-FILE",action:"size_"+a.length})}catch(v){}try{b(LucidImporter.importState(JSON.parse(a)))}catch(v){c(v)}}else c({message:mxResources.get("serviceUnavailableOrBlocked")})});"undefined"!== @@ -8497,7 +8488,7 @@ a);a-=26;if(26>a)return String.fromCharCode(97+a);a-=26;return 0==a?"-":1==a?"_" this.status&&300>this.status)if("txt"==b)c(this.response);else{var f=new FileReader;f.readAsDataURL(this.response);f.onloadend=function(a){var b=new Image;b.onload=function(){var a=b.width,d=b.height;if(0==a&&0==d){var e=f.result,l=e.indexOf(","),e=decodeURIComponent(escape(atob(e.substring(l+1)))),e=mxUtils.parseXml(e).getElementsByTagName("svg");0<e.length&&(a=parseFloat(e[0].getAttribute("width")),d=parseFloat(e[0].getAttribute("height")))}c(f.result,a,d)};b.src=f.result};f.onerror=function(a){d(a)}}else d(a)}; l.onerror=function(a){d(a)};l.send()};EditorUi.prototype.insertAsPreText=function(a,b,c){var d=this.editor.graph,f=null;d.getModel().beginUpdate();try{f=d.insertVertex(null,null,"<pre>"+a+"</pre>",b,c,1,1,"text;html=1;align=left;verticalAlign=top;"),d.updateCellSize(f,!0)}finally{d.getModel().endUpdate()}return f};EditorUi.prototype.insertTextAt=function(a,b,c,d,e,g,k){g=null!=g?g:!0;k=null!=k?k:!0;if(null!=a)if(Graph.fileSupport&&!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(a))this.parseFile(new Blob([a.replace(/\s+/g, " ")],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){4==a.readyState&&200<=a.status&&299>=a.status&&this.editor.graph.setSelectionCells(this.insertTextAt(a.responseText,b,c,!0))}));else if("data:"==a.substring(0,5)||!this.isOffline()&&(e||/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(a))){var f=this.editor.graph;if("data:image/png;base64,"==a.substring(0,22)){var l=this.extractGraphModelFromPng(a),p=this.importXml(l,b,c,g,!0);if(0<p.length)return p}if("data:image/svg+xml;"==a.substring(0, -19))try{if(l=null,"data:image/svg+xml;base64,"==a.substring(0,26)?(l=a.substring(a.indexOf(",")+1),l=window.atob&&!mxClient.IS_SF?atob(l):Base64.decode(l,!0)):l=decodeURIComponent(a.substring(a.indexOf(",")+1)),p=this.importXml(l,b,c,g,!0),0<p.length)return p}catch(B){}this.loadImage(a,mxUtils.bind(this,function(d){if("data:"==a.substring(0,5))this.resizeImage(d,a,mxUtils.bind(this,function(a,d,e){f.setSelectionCell(f.insertVertex(null,null,"",f.snap(b),f.snap(c),d,e,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;aspect=fixed;imageAspect=0;image="+ +19))try{if(l=null,"data:image/svg+xml;base64,"==a.substring(0,26)?(l=a.substring(a.indexOf(",")+1),l=window.atob&&!mxClient.IS_SF?atob(l):Base64.decode(l,!0)):l=decodeURIComponent(a.substring(a.indexOf(",")+1)),p=this.importXml(l,b,c,g,!0),0<p.length)return p}catch(A){}this.loadImage(a,mxUtils.bind(this,function(d){if("data:"==a.substring(0,5))this.resizeImage(d,a,mxUtils.bind(this,function(a,d,e){f.setSelectionCell(f.insertVertex(null,null,"",f.snap(b),f.snap(c),d,e,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;aspect=fixed;imageAspect=0;image="+ this.convertDataUri(a)+";"))}),k,this.maxImageSize);else{var e=Math.min(1,Math.min(this.maxImageSize/d.width,this.maxImageSize/d.height)),l=Math.round(d.width*e);d=Math.round(d.height*e);f.setSelectionCell(f.insertVertex(null,null,"",f.snap(b),f.snap(c),l,d,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;aspect=fixed;imageAspect=0;image="+a+";"))}}),mxUtils.bind(this,function(){var e=null;f.getModel().beginUpdate();try{e=f.insertVertex(f.getDefaultParent(), null,a,f.snap(b),f.snap(c),1,1,"text;"+(d?"html=1;":"")),f.updateCellSize(e),f.fireEvent(new mxEventObject("textInserted","cells",[e]))}finally{f.getModel().endUpdate()}f.setSelectionCell(e)}))}else{a=Graph.zapGremlins(mxUtils.trim(a));if(this.isCompatibleString(a))return this.importXml(a,b,c,g);if(0<a.length)if(this.isLucidChartData(a))this.convertLucidChart(a,mxUtils.bind(this,function(a){this.editor.graph.setSelectionCells(this.importXml(a,b,c,g))}),mxUtils.bind(this,function(a){this.handleError(a)})); else{f=this.editor.graph;e=null;f.getModel().beginUpdate();try{e=f.insertVertex(f.getDefaultParent(),null,"",f.snap(b),f.snap(c),1,1,"text;"+(d?"html=1;":"")),f.fireEvent(new mxEventObject("textInserted","cells",[e])),"<"==a.charAt(0)&&a.indexOf(">")==a.length-1&&(a=mxUtils.htmlEntities(a)),a.length>this.maxTextBytes&&(a=a.substring(0,this.maxTextBytes)+"..."),e.value=a,f.updateCellSize(e),/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“â€â€˜â€™]))/i.test(e.value)&& @@ -8506,34 +8497,34 @@ function(a,b){return/(\"contentType\":\s*\"application\/gliffy\+json\")/.test(a) null,null,this.maxImageSize),c.type="",c.type="file",c.value="")}));c.style.display="none";document.body.appendChild(c);this.importFileInputElt=c}this.importFileInputElt.click()}else{window.openNew=!1;window.openKey="import";if(!b){var d=Editor.useLocalStorage;Editor.useLocalStorage=!a}window.openFile=new OpenFile(mxUtils.bind(this,function(a){this.hideDialog(a)}));window.openFile.setConsumer(mxUtils.bind(this,function(a,b){if(null!=b&&Graph.fileSupport&&/(\.v(dx|sdx?))($|\?)/i.test(b)){var c=new Blob([a], {type:"application/octet-stream"});this.importVisio(c,mxUtils.bind(this,function(a){this.importXml(a,0,0,!0)}),null,b)}else this.editor.graph.setSelectionCells(this.importXml(a,0,0,!0))}));this.showDialog((new OpenDialog(this)).container,360,220,!0,!0,function(){window.openFile=null});if(!b){var f=this.dialog,e=f.close;this.dialog.close=mxUtils.bind(this,function(a){Editor.useLocalStorage=d;e.apply(f,arguments);a&&null==this.getCurrentFile()&&"1"!=urlParams.embed&&this.showSplash()})}}};EditorUi.prototype.importZipFile= function(a,b,c){var d=this,f=mxUtils.bind(this,function(){this.loadingExtensions=!1;"undefined"!==typeof JSZip?JSZip.loadAsync(a).then(function(f){if(0==Object.keys(f.files).length)c();else{var e=0,l,g=!1;f.forEach(function(a,d){var f=d.name.toLowerCase();"diagram/diagram.xml"==f?(g=!0,d.async("string").then(function(a){0==a.indexOf("<mxfile ")?b(a):c()})):0==f.indexOf("versions/")&&(f=parseInt(f.substr(9)),f>e&&(e=f,l=d))});0<e?l.async("string").then(function(f){!d.isOffline()&&(new XMLHttpRequest).upload&& -d.isRemoteFileFormat(f,a.name)?d.parseFile(new Blob([f],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){4==a.readyState&&(200<=a.status&&299>=a.status?b(a.responseText):c())}),a.name):c()}):g||c()}},function(a){c(a)}):c()});"undefined"!==typeof JSZip||this.loadingExtensions||this.isOffline(!0)?f():(this.loadingExtensions=!0,mxscript("js/extensions.min.js",f))};EditorUi.prototype.importFile=function(a,b,c,d,e,g,k,n,m,x,B){x=null!=x?x:!0;var f=!1,l=null,p=mxUtils.bind(this,function(a){var b= -null;null!=a&&"<mxlibrary"==a.substring(0,10)?this.loadLibrary(new LocalLibrary(this,a,k)):b=this.importXml(a,c,d,x);null!=n&&n(b)});"image"==b.substring(0,5)?(m=!1,"image/png"==b.substring(0,9)&&(b=B?null:this.extractGraphModelFromPng(a),null!=b&&0<b.length&&(l=this.importXml(b,c,d,x),m=!0)),m||(b=this.editor.graph,B=a.indexOf(";"),0<B&&(a=a.substring(0,B)+a.substring(a.indexOf(",",B+1))),x&&b.isGridEnabled()&&(c=b.snap(c),d=b.snap(d)),l=[b.insertVertex(null,null,"",c,d,e,g,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;aspect=fixed;imageAspect=0;image="+ +d.isRemoteFileFormat(f,a.name)?d.parseFile(new Blob([f],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){4==a.readyState&&(200<=a.status&&299>=a.status?b(a.responseText):c())}),a.name):c()}):g||c()}},function(a){c(a)}):c()});"undefined"!==typeof JSZip||this.loadingExtensions||this.isOffline(!0)?f():(this.loadingExtensions=!0,mxscript("js/extensions.min.js",f))};EditorUi.prototype.importFile=function(a,b,c,d,e,g,k,n,m,x,A){x=null!=x?x:!0;var f=!1,l=null,p=mxUtils.bind(this,function(a){var b= +null;null!=a&&"<mxlibrary"==a.substring(0,10)?this.loadLibrary(new LocalLibrary(this,a,k)):b=this.importXml(a,c,d,x);null!=n&&n(b)});"image"==b.substring(0,5)?(m=!1,"image/png"==b.substring(0,9)&&(b=A?null:this.extractGraphModelFromPng(a),null!=b&&0<b.length&&(l=this.importXml(b,c,d,x),m=!0)),m||(b=this.editor.graph,A=a.indexOf(";"),0<A&&(a=a.substring(0,A)+a.substring(a.indexOf(",",A+1))),x&&b.isGridEnabled()&&(c=b.snap(c),d=b.snap(d)),l=[b.insertVertex(null,null,"",c,d,e,g,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;aspect=fixed;imageAspect=0;image="+ a+";")])):/(\.*<graphml )/.test(a)?(f=!0,this.importGraphML(a,p)):null!=m&&null!=k&&(/(\.v(dx|sdx?))($|\?)/i.test(k)||/(\.vs(x|sx?))($|\?)/i.test(k))?(f=!0,this.importVisio(m,p)):!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(a,k)?(f=!0,this.parseFile(null!=m?m:new Blob([a],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){4==a.readyState&&(200<=a.status&&299>=a.status?p(a.responseText):null!=n&&n(null))}),k)):0==a.indexOf("PK")&&null!=m?(f=!0,this.importZipFile(m, p,mxUtils.bind(this,function(){l=this.insertTextAt(this.validateFileData(a),c,d,!0,null,x);n(l)}))):/(\.v(sd|dx))($|\?)/i.test(k)||/(\.vs(s|x))($|\?)/i.test(k)||(l=this.insertTextAt(this.validateFileData(a),c,d,!0,null,x));f||null==n||n(l);return l};EditorUi.prototype.base64Encode=function(a){for(var b="",c=0,d=a.length,f,e,g;c<d;){f=a.charCodeAt(c++)&255;if(c==d){b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(f>>2);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((f& 3)<<4);b+="==";break}e=a.charCodeAt(c++);if(c==d){b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(f>>2);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((f&3)<<4|(e&240)>>4);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((e&15)<<2);b+="=";break}g=a.charCodeAt(c++);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(f>>2);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((f& -3)<<4|(e&240)>>4);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((e&15)<<2|(g&192)>>6);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g&63)}return b};EditorUi.prototype.importFiles=function(a,b,c,d,e,g,k,n,m,x,B,q){b=null!=b?b:0;c=null!=c?c:0;d=null!=d?d:this.maxImageSize;x=null!=x?x:this.maxImageBytes;var f=null!=b&&null!=c,l=!0,p=!1;if(!mxClient.IS_CHROMEAPP&&null!=a)for(var t=B||this.resampleThreshold,u=0;u<a.length;u++)if("image/"==a[u].type.substring(0, -6)&&a[u].size>t){p=!0;break}var v=mxUtils.bind(this,function(){var p=this.editor.graph,m=p.gridSize;e=null!=e?e:mxUtils.bind(this,function(a,b,c,d,e,l,g,k,p){return null!=a&&"<mxlibrary"==a.substring(0,10)?(this.spinner.stop(),this.loadLibrary(new LocalLibrary(this,a,g)),null):this.importFile(a,b,c,d,e,l,g,k,p,f,q)});g=null!=g?g:mxUtils.bind(this,function(a){p.setSelectionCells(a)});if(this.spinner.spin(document.body,mxResources.get("loading")))for(var t=a.length,u=t,A=[],v=mxUtils.bind(this,function(a, -b){A[a]=b;if(0==--u){this.spinner.stop();if(null!=n)n(A);else{var c=[];p.getModel().beginUpdate();try{for(var d=0;d<A.length;d++){var f=A[d]();null!=f&&(c=c.concat(f))}}finally{p.getModel().endUpdate()}}g(c)}}),E=0;E<t;E++)mxUtils.bind(this,function(f){var g=a[f];if(null!=g){var n=new FileReader;n.onload=mxUtils.bind(this,function(a){if(null==k||k(g))if("image/"==g.type.substring(0,6))if("image/svg"==g.type.substring(0,9)){var n=a.target.result,t=n.indexOf(","),u=decodeURIComponent(escape(atob(n.substring(t+ -1)))),A=mxUtils.parseXml(u),u=A.getElementsByTagName("svg");if(0<u.length){var u=u[0],E=q?null:u.getAttribute("content");null!=E&&"<"!=E.charAt(0)&&"%"!=E.charAt(0)&&(E=unescape(window.atob?atob(E):Base64.decode(E,!0)));null!=E&&"%"==E.charAt(0)&&(E=decodeURIComponent(E));null==E||"<mxfile "!==E.substring(0,8)&&"<mxGraphModel "!==E.substring(0,14)?v(f,mxUtils.bind(this,function(){try{if(n.substring(0,t+1),null!=A){var a=A.getElementsByTagName("svg");if(0<a.length){var l=a[0],k=l.getAttribute("width"), -x=l.getAttribute("height"),k=null!=k&&"%"!=k.charAt(k.length-1)?parseFloat(k):NaN,x=null!=x&&"%"!=x.charAt(x.length-1)?parseFloat(x):NaN,B=l.getAttribute("viewBox");if(null==B||0==B.length)l.setAttribute("viewBox","0 0 "+k+" "+x);else if(isNaN(k)||isNaN(x)){var u=B.split(" ");3<u.length&&(k=parseFloat(u[2]),x=parseFloat(u[3]))}n=this.createSvgDataUri(mxUtils.getXml(l));var q=Math.min(1,Math.min(d/Math.max(1,k)),d/Math.max(1,x)),v=e(n,g.type,b+f*m,c+f*m,Math.max(1,Math.round(k*q)),Math.max(1,Math.round(x* -q)),g.name);if(isNaN(k)||isNaN(x)){var E=new Image;E.onload=mxUtils.bind(this,function(){k=Math.max(1,E.width);x=Math.max(1,E.height);v[0].geometry.width=k;v[0].geometry.height=x;l.setAttribute("viewBox","0 0 "+k+" "+x);n=this.createSvgDataUri(mxUtils.getXml(l));var a=n.indexOf(";");0<a&&(n=n.substring(0,a)+n.substring(n.indexOf(",",a+1)));p.setCellStyles("image",n,[v[0]])});E.src=this.createSvgDataUri(mxUtils.getXml(l))}return v}}}catch(fa){}return null})):v(f,mxUtils.bind(this,function(){return e(E, -"text/xml",b+f*m,c+f*m,0,0,g.name)}))}else v(f,mxUtils.bind(this,function(){return null}))}else{u=!1;if("image/png"==g.type){var z=q?null:this.extractGraphModelFromPng(a.target.result);if(null!=z&&0<z.length){var y=new Image;y.src=a.target.result;v(f,mxUtils.bind(this,function(){return e(z,"text/xml",b+f*m,c+f*m,y.width,y.height,g.name)}));u=!0}}u||(mxClient.IS_CHROMEAPP?(this.spinner.stop(),this.showError(mxResources.get("error"),mxResources.get("dragAndDropNotSupported"),mxResources.get("cancel"), -mxUtils.bind(this,function(){}),null,mxResources.get("ok"),mxUtils.bind(this,function(){this.actions.get("import").funct()}))):this.loadImage(a.target.result,mxUtils.bind(this,function(k){this.resizeImage(k,a.target.result,mxUtils.bind(this,function(k,p,n){v(f,mxUtils.bind(this,function(){if(null!=k&&k.length<x){var t=l&&this.isResampleImage(a.target.result,B)?Math.min(1,Math.min(d/p,d/n)):1;return e(k,g.type,b+f*m,c+f*m,Math.round(p*t),Math.round(n*t),g.name)}this.handleError({message:mxResources.get("imageTooBig")}); -return null}))}),l,d,B)}),mxUtils.bind(this,function(){this.handleError({message:mxResources.get("invalidOrMissingFile")})})))}else e(a.target.result,g.type,b+f*m,c+f*m,240,160,g.name,function(a){v(f,function(){return a})},g)});/(\.v(dx|sdx?))($|\?)/i.test(g.name)||/(\.vs(x|sx?))($|\?)/i.test(g.name)?e(null,g.type,b+f*m,c+f*m,240,160,g.name,function(a){v(f,function(){return a})},g):"image"==g.type.substring(0,5)?n.readAsDataURL(g):n.readAsText(g)}})(E)});if(p){p=[];for(u=0;u<a.length;u++)p.push(a[u]); +3)<<4|(e&240)>>4);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((e&15)<<2|(g&192)>>6);b+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g&63)}return b};EditorUi.prototype.importFiles=function(a,b,c,d,e,g,k,n,m,x,A,t){b=null!=b?b:0;c=null!=c?c:0;d=null!=d?d:this.maxImageSize;x=null!=x?x:this.maxImageBytes;var f=null!=b&&null!=c,l=!0,p=!1;if(!mxClient.IS_CHROMEAPP&&null!=a)for(var q=A||this.resampleThreshold,u=0;u<a.length;u++)if("image/"==a[u].type.substring(0, +6)&&a[u].size>q){p=!0;break}var v=mxUtils.bind(this,function(){var p=this.editor.graph,m=p.gridSize;e=null!=e?e:mxUtils.bind(this,function(a,b,c,d,e,l,g,k,p){return null!=a&&"<mxlibrary"==a.substring(0,10)?(this.spinner.stop(),this.loadLibrary(new LocalLibrary(this,a,g)),null):this.importFile(a,b,c,d,e,l,g,k,p,f,t)});g=null!=g?g:mxUtils.bind(this,function(a){p.setSelectionCells(a)});if(this.spinner.spin(document.body,mxResources.get("loading")))for(var q=a.length,u=q,B=[],v=mxUtils.bind(this,function(a, +b){B[a]=b;if(0==--u){this.spinner.stop();if(null!=n)n(B);else{var c=[];p.getModel().beginUpdate();try{for(var d=0;d<B.length;d++){var f=B[d]();null!=f&&(c=c.concat(f))}}finally{p.getModel().endUpdate()}}g(c)}}),F=0;F<q;F++)mxUtils.bind(this,function(f){var g=a[f];if(null!=g){var n=new FileReader;n.onload=mxUtils.bind(this,function(a){if(null==k||k(g))if("image/"==g.type.substring(0,6))if("image/svg"==g.type.substring(0,9)){var n=a.target.result,q=n.indexOf(","),u=decodeURIComponent(escape(atob(n.substring(q+ +1)))),B=mxUtils.parseXml(u),u=B.getElementsByTagName("svg");if(0<u.length){var u=u[0],F=t?null:u.getAttribute("content");null!=F&&"<"!=F.charAt(0)&&"%"!=F.charAt(0)&&(F=unescape(window.atob?atob(F):Base64.decode(F,!0)));null!=F&&"%"==F.charAt(0)&&(F=decodeURIComponent(F));null==F||"<mxfile "!==F.substring(0,8)&&"<mxGraphModel "!==F.substring(0,14)?v(f,mxUtils.bind(this,function(){try{if(n.substring(0,q+1),null!=B){var a=B.getElementsByTagName("svg");if(0<a.length){var l=a[0],k=l.getAttribute("width"), +x=l.getAttribute("height"),k=null!=k&&"%"!=k.charAt(k.length-1)?parseFloat(k):NaN,x=null!=x&&"%"!=x.charAt(x.length-1)?parseFloat(x):NaN,A=l.getAttribute("viewBox");if(null==A||0==A.length)l.setAttribute("viewBox","0 0 "+k+" "+x);else if(isNaN(k)||isNaN(x)){var t=A.split(" ");3<t.length&&(k=parseFloat(t[2]),x=parseFloat(t[3]))}n=this.createSvgDataUri(mxUtils.getXml(l));var u=Math.min(1,Math.min(d/Math.max(1,k)),d/Math.max(1,x)),v=e(n,g.type,b+f*m,c+f*m,Math.max(1,Math.round(k*u)),Math.max(1,Math.round(x* +u)),g.name);if(isNaN(k)||isNaN(x)){var F=new Image;F.onload=mxUtils.bind(this,function(){k=Math.max(1,F.width);x=Math.max(1,F.height);v[0].geometry.width=k;v[0].geometry.height=x;l.setAttribute("viewBox","0 0 "+k+" "+x);n=this.createSvgDataUri(mxUtils.getXml(l));var a=n.indexOf(";");0<a&&(n=n.substring(0,a)+n.substring(n.indexOf(",",a+1)));p.setCellStyles("image",n,[v[0]])});F.src=this.createSvgDataUri(mxUtils.getXml(l))}return v}}}catch(fa){}return null})):v(f,mxUtils.bind(this,function(){return e(F, +"text/xml",b+f*m,c+f*m,0,0,g.name)}))}else v(f,mxUtils.bind(this,function(){return null}))}else{u=!1;if("image/png"==g.type){var y=t?null:this.extractGraphModelFromPng(a.target.result);if(null!=y&&0<y.length){var z=new Image;z.src=a.target.result;v(f,mxUtils.bind(this,function(){return e(y,"text/xml",b+f*m,c+f*m,z.width,z.height,g.name)}));u=!0}}u||(mxClient.IS_CHROMEAPP?(this.spinner.stop(),this.showError(mxResources.get("error"),mxResources.get("dragAndDropNotSupported"),mxResources.get("cancel"), +mxUtils.bind(this,function(){}),null,mxResources.get("ok"),mxUtils.bind(this,function(){this.actions.get("import").funct()}))):this.loadImage(a.target.result,mxUtils.bind(this,function(k){this.resizeImage(k,a.target.result,mxUtils.bind(this,function(k,p,n){v(f,mxUtils.bind(this,function(){if(null!=k&&k.length<x){var q=l&&this.isResampleImage(a.target.result,A)?Math.min(1,Math.min(d/p,d/n)):1;return e(k,g.type,b+f*m,c+f*m,Math.round(p*q),Math.round(n*q),g.name)}this.handleError({message:mxResources.get("imageTooBig")}); +return null}))}),l,d,A)}),mxUtils.bind(this,function(){this.handleError({message:mxResources.get("invalidOrMissingFile")})})))}else e(a.target.result,g.type,b+f*m,c+f*m,240,160,g.name,function(a){v(f,function(){return a})},g)});/(\.v(dx|sdx?))($|\?)/i.test(g.name)||/(\.vs(x|sx?))($|\?)/i.test(g.name)?e(null,g.type,b+f*m,c+f*m,240,160,g.name,function(a){v(f,function(){return a})},g):"image"==g.type.substring(0,5)?n.readAsDataURL(g):n.readAsText(g)}})(F)});if(p){p=[];for(u=0;u<a.length;u++)p.push(a[u]); a=p;this.confirmImageResize(function(a){l=a;v()},m)}else v()};EditorUi.prototype.confirmImageResize=function(a,b){b=null!=b?b:!1;var c=null!=this.spinner&&null!=this.spinner.pause?this.spinner.pause():function(){},d=isLocalStorage||mxClient.IS_CHROMEAPP?mxSettings.getResizeImages():null,f=function(d,f){if(d||b)mxSettings.setResizeImages(d?f:null),mxSettings.save();c();a(f)};null==d||b?this.showDialog((new ConfirmDialog(this,mxResources.get("resizeLargeImages"),function(a){f(a,!0)},function(a){f(a, !1)},mxResources.get("resize"),mxResources.get("actualSize"),'<img style="margin-top:8px;" src="'+Editor.loResImage+'"/>','<img style="margin-top:8px;" src="'+Editor.hiResImage+'"/>',isLocalStorage||mxClient.IS_CHROMEAPP)).container,340,isLocalStorage||mxClient.IS_CHROMEAPP?220:200,!0,!0):f(!1,d)};EditorUi.prototype.parseFile=function(a,b,c){c=null!=c?c:a.name;var d=new FormData;d.append("format","xml");d.append("upfile",a,c);var f=new XMLHttpRequest;f.open("POST",OPEN_URL);f.onreadystatechange=function(){b(f)}; -f.send(d);try{EditorUi.logEvent({category:"GLIFFY-IMPORT-FILE",action:"size_"+a.size})}catch(t){}};EditorUi.prototype.isResampleImage=function(a,b){b=null!=b?b:this.resampleThreshold;return a.length>b};EditorUi.prototype.resizeImage=function(a,b,c,d,e,g){e=null!=e?e:this.maxImageSize;var f=Math.max(1,a.width),l=Math.max(1,a.height);if(d&&this.isResampleImage(b,g))try{var k=Math.max(f/e,l/e);if(1<k){var p=Math.round(f/k),n=Math.round(l/k),m=document.createElement("canvas");m.width=p;m.height=n;m.getContext("2d").drawImage(a, -0,0,p,n);var t=m.toDataURL();if(t.length<b.length){var u=document.createElement("canvas");u.width=p;u.height=n;var q=u.toDataURL();t!==q&&(b=t,f=p,l=n)}}}catch(H){}c(b,f,l)};EditorUi.prototype.crcTable=[];for(var d=0;256>d;d++)for(var g=d,e=0;8>e;e++)g=1==(g&1)?3988292384^g>>>1:g>>>1,EditorUi.prototype.crcTable[d]=g;EditorUi.prototype.updateCRC=function(a,b,c,d){for(var f=0;f<d;f++)a=EditorUi.prototype.crcTable[(a^b.charCodeAt(c+f))&255]^a>>>8;return a};EditorUi.prototype.crc32=function(a){this.crcTable= +f.send(d);try{EditorUi.logEvent({category:"GLIFFY-IMPORT-FILE",action:"size_"+a.size})}catch(q){}};EditorUi.prototype.isResampleImage=function(a,b){b=null!=b?b:this.resampleThreshold;return a.length>b};EditorUi.prototype.resizeImage=function(a,b,c,d,e,g){e=null!=e?e:this.maxImageSize;var f=Math.max(1,a.width),l=Math.max(1,a.height);if(d&&this.isResampleImage(b,g))try{var k=Math.max(f/e,l/e);if(1<k){var p=Math.round(f/k),n=Math.round(l/k),m=document.createElement("canvas");m.width=p;m.height=n;m.getContext("2d").drawImage(a, +0,0,p,n);var q=m.toDataURL();if(q.length<b.length){var t=document.createElement("canvas");t.width=p;t.height=n;var u=t.toDataURL();q!==u&&(b=q,f=p,l=n)}}}catch(H){}c(b,f,l)};EditorUi.prototype.crcTable=[];for(var d=0;256>d;d++)for(var g=d,e=0;8>e;e++)g=1==(g&1)?3988292384^g>>>1:g>>>1,EditorUi.prototype.crcTable[d]=g;EditorUi.prototype.updateCRC=function(a,b,c,d){for(var f=0;f<d;f++)a=EditorUi.prototype.crcTable[(a^b.charCodeAt(c+f))&255]^a>>>8;return a};EditorUi.prototype.crc32=function(a){this.crcTable= this.crcTable||this.createCrcTable();for(var b=-1,c=0;c<a.length;c++)b=b>>>8^this.crcTable[(b^a.charCodeAt(c))&255];return(b^-1)>>>0};EditorUi.prototype.writeGraphModelToPng=function(a,b,c,d,e){function f(a,b){var c=k;k+=b;return a.substring(c,k)}function l(a){a=f(a,4);return a.charCodeAt(3)+(a.charCodeAt(2)<<8)+(a.charCodeAt(1)<<16)+(a.charCodeAt(0)<<24)}function g(a){return String.fromCharCode(a>>24&255,a>>16&255,a>>8&255,a&255)}a=a.substring(a.indexOf(",")+1);a=window.atob?atob(a):Base64.decode(a, !0);var k=0;if(f(a,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=e&&e();else if(f(a,4),"IHDR"!=f(a,4))null!=e&&e();else{f(a,17);e=a.substring(0,k);do{var p=l(a);if("IDAT"==f(a,4)){e=a.substring(0,k-8);"pHYs"==b&&"dpi"==c?(c=Math.round(d/.0254),c=g(c)+g(c)+String.fromCharCode(1)):c=c+String.fromCharCode(0)+("zTXt"==b?String.fromCharCode(0):"")+d;d=4294967295;d=this.updateCRC(d,b,0,4);d=this.updateCRC(d,c,0,c.length);e+=g(c.length)+b+c+g(d^4294967295);e+=a.substring(k-8, a.length);break}e+=a.substring(k-8,k-4+p);f(a,p);f(a,4)}while(p);return"data:image/png;base64,"+(window.btoa?btoa(e):Base64.encode(e,!0))}};EditorUi.prototype.extractGraphModelFromPng=function(a){return Editor.extractGraphModelFromPng(a)};EditorUi.prototype.loadImage=function(a,b,c){try{var d=new Image;d.onload=function(){b(d)};null!=c&&(d.onerror=c);d.src=a}catch(v){if(null!=c)c(v);else throw v;}};var k=EditorUi.prototype.init;EditorUi.prototype.init=function(){mxStencilRegistry.allowEval=mxStencilRegistry.allowEval&& !this.isOfflineApp();"undefined"!==typeof window.mxSettings&&(this.formatWidth=mxSettings.getFormatWidth());var a=this,b=this.editor.graph,c=b.cellEditor.startEditing;b.cellEditor.startEditing=function(d,f){var e=this.graph.getAttributeForCell(d,"plantUmlData");if(null!=e){var g=JSON.parse(e),e=new TextareaDialog(a,mxResources.get("plantUml")+":",g.data,function(c){null!=c&&a.spinner.spin(document.body,mxResources.get("inserting"))&&a.generatePlantUmlImage(c,g.format,function(f,e,l){a.spinner.stop(); b.getModel().beginUpdate();try{if("txt"==g.format)b.labelChanged(d,"<pre>"+f+"</pre>"),b.updateCellSize(d,!0);else{b.setCellStyles("image",a.convertDataUri(f),[d]);var k=b.model.getGeometry(d);null!=k&&(k=k.clone(),k.width=e,k.height=l,b.cellsResized([d],[k],!1))}b.setAttributeForCell(d,"plantUmlData",JSON.stringify({data:c,format:g.format}))}finally{b.getModel().endUpdate()}},function(b){a.handleError(b)})},null,null,400,220);a.showDialog(e.container,420,300,!0,!0);e.init()}else c.apply(this,arguments)}; -b.getLinkTitle=function(b){return a.getLinkTitle(b)};b.customLinkClicked=function(b){var c=!1;try{a.handleCustomLink(b),c=!0}catch(D){a.handleError(D)}return c};var d=this.clearDefaultStyle;this.clearDefaultStyle=function(){d.apply(this,arguments)};this.isOffline()||"undefined"===typeof window.EditDataDialog||(EditDataDialog.placeholderHelpLink="https://desk.draw.io/support/solutions/articles/16000051979");var e=a.editor.getEditBlankUrl;this.editor.getEditBlankUrl=function(b){b=null!=b?b:"";if(null!= +b.getLinkTitle=function(b){return a.getLinkTitle(b)};b.customLinkClicked=function(b){var c=!1;try{a.handleCustomLink(b),c=!0}catch(G){a.handleError(G)}return c};var d=this.clearDefaultStyle;this.clearDefaultStyle=function(){d.apply(this,arguments)};this.isOffline()||"undefined"===typeof window.EditDataDialog||(EditDataDialog.placeholderHelpLink="https://desk.draw.io/support/solutions/articles/16000051979");var e=a.editor.getEditBlankUrl;this.editor.getEditBlankUrl=function(b){b=null!=b?b:"";if(null!= a.pages&&null!=a.currentPage)for(var c=0;c<a.pages.length;c++)if(a.pages[c]==a.currentPage){0<c&&(b+=(0<b.length?"&":"?")+"page="+c);break}"1"==urlParams.dev&&(b+=(0<b.length?"&":"?")+"dev=1&drawdev=1");return e.apply(this,arguments)};var g=b.addClickHandler;b.addClickHandler=function(a,c,d){var f=c;c=function(a,c){if(null==c){var d=mxEvent.getSource(a);"a"==d.nodeName.toLowerCase()&&(c=d.getAttribute("href"))}null!=c&&b.isCustomLink(c)&&(mxEvent.isTouchEvent(a)||!mxEvent.isPopupTrigger(a))&&b.customLinkClicked(c)&& mxEvent.consume(a);null!=f&&f(a,c)};g.call(this,a,c,d)};k.apply(this,arguments);mxClient.IS_SVG&&this.editor.graph.addSvgShadow(b.view.canvas.ownerSVGElement,null,!0);a.actions.get("print").funct=function(){a.showDialog((new PrintDialog(a)).container,360,null!=a.pages&&1<a.pages.length?420:360,!0,!0)};this.defaultFilename=mxResources.get("untitledDiagram");var n=b.getExportVariables;b.getExportVariables=function(){var b=n.apply(this,arguments);b.pagecount=null!=a.pages?a.pages.length:1;b.page=null!= -a.currentPage?a.currentPage.getName():"";b.pagenumber=null!=a.pages&&null!=a.currentPage?mxUtils.indexOf(a.pages,a.currentPage)+1:1;return b};var m=b.getGlobalVariable;b.getGlobalVariable=function(b){return"page"==b&&null!=a.currentPage?a.currentPage.getName():"pagenumber"==b?null!=a.currentPage&&null!=a.pages?mxUtils.indexOf(a.pages,a.currentPage)+1:1:"pagecount"==b?null!=a.pages?a.pages.length:1:m.apply(this,arguments)};var q=b.labelLinkClicked;b.labelLinkClicked=function(a,c,d){var f=c.getAttribute("href"); -if(null==f||!b.isCustomLink(f)||!mxEvent.isTouchEvent(d)&&mxEvent.isPopupTrigger(d))q.apply(this,arguments);else{if(!b.isEnabled()||null!=a&&b.isCellLocked(a.cell))b.customLinkClicked(f),b.getRubberband().reset();mxEvent.consume(d)}};this.editor.getOrCreateFilename=function(){var b=a.defaultFilename,c=a.getCurrentFile();null!=c&&(b=null!=c.getTitle()?c.getTitle():b);return b};var x=this.actions.get("print");x.setEnabled(!mxClient.IS_IOS||!navigator.standalone);x.visible=x.isEnabled();if(!this.editor.chromeless|| +a.currentPage?a.currentPage.getName():"";b.pagenumber=null!=a.pages&&null!=a.currentPage?mxUtils.indexOf(a.pages,a.currentPage)+1:1;return b};var m=b.getGlobalVariable;b.getGlobalVariable=function(b){return"page"==b&&null!=a.currentPage?a.currentPage.getName():"pagenumber"==b?null!=a.currentPage&&null!=a.pages?mxUtils.indexOf(a.pages,a.currentPage)+1:1:"pagecount"==b?null!=a.pages?a.pages.length:1:m.apply(this,arguments)};var t=b.labelLinkClicked;b.labelLinkClicked=function(a,c,d){var f=c.getAttribute("href"); +if(null==f||!b.isCustomLink(f)||!mxEvent.isTouchEvent(d)&&mxEvent.isPopupTrigger(d))t.apply(this,arguments);else{if(!b.isEnabled()||null!=a&&b.isCellLocked(a.cell))b.customLinkClicked(f),b.getRubberband().reset();mxEvent.consume(d)}};this.editor.getOrCreateFilename=function(){var b=a.defaultFilename,c=a.getCurrentFile();null!=c&&(b=null!=c.getTitle()?c.getTitle():b);return b};var x=this.actions.get("print");x.setEnabled(!mxClient.IS_IOS||!navigator.standalone);x.visible=x.isEnabled();if(!this.editor.chromeless|| this.editor.editable)this.keyHandler.bindAction(70,!0,"find"),this.keyHandler.bindAction(67,!0,"copyStyle",!0),this.keyHandler.bindAction(86,!0,"pasteStyle",!0),this.keyHandler.bindAction(77,!0,"editGeometry",!0),this.keyHandler.bindAction(88,!0,"insertText",!0),this.keyHandler.bindAction(75,!0,"insertRectangle"),this.keyHandler.bindAction(75,!0,"insertEllipse",!0),mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||(this.altShiftActions[83]="synchronize"),this.installImagePasteHandler(),this.installNativeClipboardHandler(); this.spinner=this.createSpinner(document.body.clientWidth/2-2,Math.max(document.body.clientHeight||0,document.documentElement.clientHeight||0)/2,24);Graph.fileSupport&&this.editor.graph.addListener(mxEvent.EDITING_STARTED,mxUtils.bind(this,function(a){var b=this.editor.graph,c=b.cellEditor.text2,d=null;null!=c&&(mxEvent.addListener(c,"dragleave",function(a){null!=d&&(d.parentNode.removeChild(d),d=null);a.stopPropagation();a.preventDefault()}),mxEvent.addListener(c,"dragover",mxUtils.bind(this,function(a){null== d&&(!mxClient.IS_IE||10<document.documentMode)&&(d=this.highlightElement(c));a.stopPropagation();a.preventDefault()})),mxEvent.addListener(c,"drop",mxUtils.bind(this,function(a){null!=d&&(d.parentNode.removeChild(d),d=null);if(0<a.dataTransfer.files.length)this.importFiles(a.dataTransfer.files,0,0,this.maxImageSize,function(a,c,d,f,e,g){b.insertImage(a,e,g)},function(){},function(a){return"image/"==a.type.substring(0,6)},function(a){for(var b=0;b<a.length;b++)a[b]()},mxEvent.isControlDown(a));else if(0<= @@ -8541,160 +8532,158 @@ mxUtils.indexOf(a.dataTransfer.types,"text/uri-list")){var c=a.dataTransfer.getD "text/html")?document.execCommand("insertHTML",!1,a.dataTransfer.getData("text/html")):0<=mxUtils.indexOf(a.dataTransfer.types,"text/plain")&&document.execCommand("insertHTML",!1,a.dataTransfer.getData("text/plain"));a.stopPropagation();a.preventDefault()})))}));"undefined"!==typeof window.mxSettings&&(x=this.editor.graph.view,x.setUnit(mxSettings.getUnit()),x.addListener("unitChanged",function(a,b){mxSettings.setUnit(b.getProperty("unit"));mxSettings.save()}),this.ruler=!this.canvasSupported||9== document.documentMode||"1"!=urlParams.ruler&&!mxSettings.isRulerOn()||this.editor.isChromelessView()&&!this.editor.editable?null:new mxDualRuler(this,x.unit),this.refresh());if("1"==urlParams.styledev){x=document.getElementById("geFooter");null!=x&&(this.styleInput=document.createElement("input"),this.styleInput.setAttribute("type","text"),this.styleInput.style.position="absolute",this.styleInput.style.top="14px",this.styleInput.style.left="2px",this.styleInput.style.width="98%",this.styleInput.style.visibility= "hidden",this.styleInput.style.opacity="0.9",mxEvent.addListener(this.styleInput,"change",mxUtils.bind(this,function(){this.editor.graph.getModel().setStyle(this.editor.graph.getSelectionCell(),this.styleInput.value)})),x.appendChild(this.styleInput),this.editor.graph.getSelectionModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(a,b){if(0<this.editor.graph.getSelectionCount()){var c=this.editor.graph.getSelectionCell(),c=this.editor.graph.getModel().getStyle(c);this.styleInput.value=c|| -"";this.styleInput.style.visibility="visible"}else this.styleInput.style.visibility="hidden"})));var B=this.isSelectionAllowed;this.isSelectionAllowed=function(a){return mxEvent.getSource(a)==this.styleInput?!0:B.apply(this,arguments)}}x=document.getElementById("geInfo");null!=x&&x.parentNode.removeChild(x);if(Graph.fileSupport&&(!this.editor.chromeless||this.editor.editable)){var E=null;mxEvent.addListener(b.container,"dragleave",function(a){b.isEnabled()&&(null!=E&&(E.parentNode.removeChild(E), -E=null),a.stopPropagation(),a.preventDefault())});mxEvent.addListener(b.container,"dragover",mxUtils.bind(this,function(a){null==E&&(!mxClient.IS_IE||10<document.documentMode)&&(E=this.highlightElement(b.container));null!=this.sidebar&&this.sidebar.hideTooltip();a.stopPropagation();a.preventDefault()}));mxEvent.addListener(b.container,"drop",mxUtils.bind(this,function(a){null!=E&&(E.parentNode.removeChild(E),E=null);if(b.isEnabled()){var c=mxUtils.convertPoint(b.container,mxEvent.getClientX(a),mxEvent.getClientY(a)), +"";this.styleInput.style.visibility="visible"}else this.styleInput.style.visibility="hidden"})));var A=this.isSelectionAllowed;this.isSelectionAllowed=function(a){return mxEvent.getSource(a)==this.styleInput?!0:A.apply(this,arguments)}}x=document.getElementById("geInfo");null!=x&&x.parentNode.removeChild(x);if(Graph.fileSupport&&(!this.editor.chromeless||this.editor.editable)){var F=null;mxEvent.addListener(b.container,"dragleave",function(a){b.isEnabled()&&(null!=F&&(F.parentNode.removeChild(F), +F=null),a.stopPropagation(),a.preventDefault())});mxEvent.addListener(b.container,"dragover",mxUtils.bind(this,function(a){null==F&&(!mxClient.IS_IE||10<document.documentMode)&&(F=this.highlightElement(b.container));null!=this.sidebar&&this.sidebar.hideTooltip();a.stopPropagation();a.preventDefault()}));mxEvent.addListener(b.container,"drop",mxUtils.bind(this,function(a){null!=F&&(F.parentNode.removeChild(F),F=null);if(b.isEnabled()){var c=mxUtils.convertPoint(b.container,mxEvent.getClientX(a),mxEvent.getClientY(a)), d=b.view.translate,f=b.view.scale,e=c.x/f-d.x,g=c.y/f-d.y;mxEvent.isAltDown(a)&&(g=e=0);if(0<a.dataTransfer.files.length)this.importFiles(a.dataTransfer.files,e,g,this.maxImageSize,null,null,null,null,mxEvent.isControlDown(a),null,null,mxEvent.isShiftDown(a));else{var l=0<=mxUtils.indexOf(a.dataTransfer.types,"text/uri-list")?a.dataTransfer.getData("text/uri-list"):null,c=this.extractGraphModelFromEvent(a,null!=this.pages);if(null!=c)b.setSelectionCells(this.importXml(c,e,g,!0));else if(0<=mxUtils.indexOf(a.dataTransfer.types, "text/html")){var k=a.dataTransfer.getData("text/html"),c=document.createElement("div");c.innerHTML=k;var p=null,d=c.getElementsByTagName("img");null!=d&&1==d.length?(k=d[0].getAttribute("src"),/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(k)||(p=!0)):(c=c.getElementsByTagName("a"),null!=c&&1==c.length&&(k=c[0].getAttribute("href")));var n=!0,m=mxUtils.bind(this,function(){b.setSelectionCells(this.insertTextAt(k,e,g,!0,p,null,n))});p&&k.length>this.resampleThreshold?this.confirmImageResize(function(a){n= a;m()},mxEvent.isControlDown(a)):m()}else null!=l&&/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(l)?this.loadImage(decodeURIComponent(l),mxUtils.bind(this,function(a){var c=Math.max(1,a.width);a=Math.max(1,a.height);var d=this.maxImageSize,d=Math.min(1,Math.min(d/Math.max(1,c)),d/Math.max(1,a));b.setSelectionCell(b.insertVertex(null,null,"",e,g,c*d,a*d,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;aspect=fixed;imageAspect=0;image="+l+";"))}),mxUtils.bind(this,function(a){b.setSelectionCells(this.insertTextAt(l, -e,g,!0))})):0<=mxUtils.indexOf(a.dataTransfer.types,"text/plain")&&b.setSelectionCells(this.insertTextAt(a.dataTransfer.getData("text/plain"),e,g,!0))}}a.stopPropagation();a.preventDefault()}),!1)}this.initPages();this.editUpdateListener=mxUtils.bind(this,function(a,b){var c=b.getProperty("edit");null!=c&&this.updateEditReferences(c)});this.editor.undoManager.addListener(mxEvent.BEFORE_UNDO,this.editUpdateListener);this.editor.undoManager.addListener(mxEvent.BEFORE_REDO,this.editUpdateListener);"1"== -urlParams.embed&&this.initializeEmbedMode();this.installSettings()};EditorUi.prototype.installImagePasteHandler=function(){if(!mxClient.IS_IE){var a=this.editor.graph;a.container.addEventListener("paste",mxUtils.bind(this,function(b){if(!mxEvent.isConsumed(b))try{for(var c=b.clipboardData||b.originalEvent.clipboardData,d=!1,f=0;f<c.types.length;f++)if("text/"===c.types[f].substring(0,5)){d=!0;break}if(!d){var e=c.items;for(index in e){var g=e[index];if("file"===g.kind){if(a.isEditing())this.importFiles([g.getAsFile()], -0,0,this.maxImageSize,function(b,c,d,f,e,g){a.insertImage(b,e,g)},function(){},function(a){return"image/"==a.type.substring(0,6)},function(a){for(var b=0;b<a.length;b++)a[b]()});else{var l=this.editor.graph.getInsertPoint();this.importFiles([g.getAsFile()],l.x,l.y,this.maxImageSize);mxEvent.consume(b)}break}}}}catch(C){}}),!1)}};EditorUi.prototype.installNativeClipboardHandler=function(){function a(){window.setTimeout(function(){c.innerHTML=" ";c.focus();document.execCommand("selectAll",!1,null)}, -0)}var b=this.editor.graph,c=document.createElement("div");c.setAttribute("autocomplete","off");c.setAttribute("autocorrect","off");c.setAttribute("autocapitalize","off");c.setAttribute("spellcheck","false");c.style.textRendering="optimizeSpeed";c.style.background="transparent";c.style.color="transparent";c.style.position="absolute";c.style.whiteSpace="nowrap";c.style.overflow="hidden";c.style.display="block";c.style.fontSize="1";c.style.zIndex="-1";c.style.resize="none";c.style.outline="none";c.style.width= -"1px";c.style.height="1px";mxUtils.setOpacity(c,0);c.contentEditable=!0;c.innerHTML=" ";var d=!1;this.keyHandler.bindControlKey(88,null);this.keyHandler.bindControlKey(67,null);this.keyHandler.bindControlKey(86,null);mxEvent.addListener(document,"keydown",mxUtils.bind(this,function(a){var f=mxEvent.getSource(a);null==b.container||!b.isEnabled()||b.isMouseDown||b.isEditing()||null!=this.dialog||"INPUT"==f.nodeName||"TEXTAREA"==f.nodeName||!(224==a.keyCode||!mxClient.IS_MAC&&17==a.keyCode||mxClient.IS_MAC&& -91==a.keyCode)||d||(c.style.left=b.container.scrollLeft+10+"px",c.style.top=b.container.scrollTop+10+"px",b.container.appendChild(c),d=!0,mxClient.IS_QUIRKS?window.setTimeout(function(){c.focus();document.execCommand("selectAll",!1,null)},0):(c.focus(),document.execCommand("selectAll",!1,null)))}));mxEvent.addListener(document,"keyup",mxUtils.bind(this,function(a){var f=a.keyCode;window.setTimeout(mxUtils.bind(this,function(){!d||224!=f&&17!=f&&91!=f||(d=!1,b.isEditing()||null!=this.dialog||null== -b.container||b.container.focus(),c.parentNode.removeChild(c),null==this.dialog&&mxUtils.clearSelection())}),0)}));mxEvent.addListener(c,"copy",mxUtils.bind(this,function(d){if(b.isEnabled())try{mxClipboard.copy(b),this.copyCells(c),a()}catch(z){this.handleError(z)}}));mxEvent.addListener(c,"cut",mxUtils.bind(this,function(d){if(b.isEnabled())try{mxClipboard.copy(b),this.copyCells(c,!0),a()}catch(z){this.handleError(z)}}));mxEvent.addListener(c,"paste",mxUtils.bind(this,function(a){b.isEnabled()&& -!b.isCellLocked(b.getDefaultParent())&&((new Date).getTime(),c.innerHTML=" ",c.focus(),null!=a.clipboardData&&this.pasteCells(a,c,!0),mxEvent.isConsumed(a)||window.setTimeout(mxUtils.bind(this,function(){this.pasteCells(a,c,!1)}),0))}),!0);var e=this.isSelectionAllowed;this.isSelectionAllowed=function(a){return mxEvent.getSource(a)==c?!0:e.apply(this,arguments)}};EditorUi.prototype.getLinkTitle=function(a){var b=Graph.prototype.getLinkTitle.apply(this,arguments);if("data:page/id,"==a.substring(0, -13)){var c=a.indexOf(",");0<c&&(b=this.getPageById(a.substring(c+1)),b=null!=b?b.getName():mxResources.get("pageNotFound"))}else"data:"==a.substring(0,5)&&(b=mxResources.get("action"));return b};EditorUi.prototype.handleCustomLink=function(a){if("data:page/id,"==a.substring(0,13)){var b=a.indexOf(",");if(a=this.getPageById(a.substring(b+1)))this.selectPage(a);else throw Error(mxResources.get("pageNotFound")||"Page not found");}else this.editor.graph.handleCustomLink(a)};EditorUi.prototype.isSettingsEnabled= -function(){return"undefined"!==typeof window.mxSettings&&(isLocalStorage||mxClient.IS_CHROMEAPP)};EditorUi.prototype.installSettings=function(){if(this.isSettingsEnabled()){ColorDialog.recentColors=mxSettings.getRecentColors();if(isLocalStorage)try{window.addEventListener("storage",mxUtils.bind(this,function(a){a.key==mxSettings.key&&(mxSettings.load(),ColorDialog.recentColors=mxSettings.getRecentColors(),this.menus.customFonts=mxSettings.getCustomFonts())}),!1)}catch(f){}this.fireEvent(new mxEventObject("styleChanged", -"keys",[],"values",[],"cells",[]));this.menus.customFonts=mxSettings.getCustomFonts();this.addListener("customFontsChanged",mxUtils.bind(this,function(a,b){mxSettings.setCustomFonts(this.menus.customFonts);mxSettings.save()}));this.editor.graph.connectionHandler.setCreateTarget(mxSettings.isCreateTarget());this.fireEvent(new mxEventObject("copyConnectChanged"));this.addListener("copyConnectChanged",mxUtils.bind(this,function(a,b){mxSettings.setCreateTarget(this.editor.graph.connectionHandler.isCreateTarget()); -mxSettings.save()}));this.editor.graph.pageFormat=mxSettings.getPageFormat();this.addListener("pageFormatChanged",mxUtils.bind(this,function(a,b){mxSettings.setPageFormat(this.editor.graph.pageFormat);mxSettings.save()}));this.editor.graph.view.gridColor=mxSettings.getGridColor("dark"==uiTheme);this.addListener("gridColorChanged",mxUtils.bind(this,function(a,b){console.log("gridColorChanged",this.editor.graph.view.gridColor);mxSettings.setGridColor(this.editor.graph.view.gridColor,"dark"==uiTheme); -mxSettings.save()}));if(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)this.editor.addListener("autosaveChanged",mxUtils.bind(this,function(a,b){mxSettings.setAutosave(this.editor.autosave);mxSettings.save()})),this.editor.autosave=mxSettings.getAutosave();null!=this.sidebar&&this.sidebar.showPalette("search",mxSettings.settings.search);this.editor.chromeless&&!this.editor.editable||null==this.sidebar||!(mxSettings.settings.isNew||8>=parseInt(mxSettings.settings.version||0))||(this.toggleScratchpad(), -mxSettings.save());this.addListener("formatWidthChanged",function(){mxSettings.setFormatWidth(this.formatWidth);mxSettings.save()})}};EditorUi.prototype.copyCells=function(a,b){var c=this.editor.graph;if(c.isSelectionEmpty())a.innerHTML="";else{var d=mxUtils.sortCells(c.model.getTopmostCells(c.getSelectionCells())),f=mxUtils.getXml(c.encodeCells(d));mxUtils.setTextContent(a,encodeURIComponent(f));b?(c.removeCells(d,!1),c.lastPasteXml=null):(c.lastPasteXml=f,c.pasteCounter=0);a.focus();document.execCommand("selectAll", -!1,null)}};EditorUi.prototype.pasteCells=function(a,b,c){if(!mxEvent.isConsumed(a)){var d=b;c&&null!=a.clipboardData&&(d=document.createElement("div"),d.innerHTML=a.clipboardData.getData("text/html"));var f=d.getElementsByTagName("span");if(null!=f&&0<f.length&&"application/vnd.lucid.chart.objects"===f[0].getAttribute("data-lucid-type")){var e=f[0].getAttribute("data-lucid-content");null!=e&&0<e.length&&(this.convertLucidChart(e,mxUtils.bind(this,function(a){var b=this.editor.graph;b.lastPasteXml== -a?b.pasteCounter++:(b.lastPasteXml=a,b.pasteCounter=0);var c=b.pasteCounter*b.gridSize;b.setSelectionCells(this.importXml(a,c,c));b.scrollCellToVisible(b.getSelectionCell())}),mxUtils.bind(this,function(a){this.handleError(a)})),mxEvent.consume(a))}else{var e=mxUtils.trim(mxClient.IS_QUIRKS||8==document.documentMode?mxUtils.getTextContent(d):d.textContent),g=!1;try{var l=e.lastIndexOf("%3E");0<=l&&l<e.length-3&&(e=e.substring(0,l+3))}catch(x){}try{var f=d.getElementsByTagName("span"),k=null!=f&&0< -f.length?mxUtils.trim(decodeURIComponent(f[0].textContent)):decodeURIComponent(e);this.isCompatibleString(k)&&(g=!0,e=k)}catch(x){}d=this.editor.graph;if(null!=e&&0<e.length){if(d.lastPasteXml==e?d.pasteCounter++:(d.lastPasteXml=e,d.pasteCounter=0),c=d.pasteCounter*d.gridSize,g||this.isCompatibleString(e)?d.setSelectionCells(this.importXml(e,c,c)):(g=d.getInsertPoint(),d.isMouseInsertPoint()&&(c=0,d.lastPasteXml==e&&0<d.pasteCounter&&d.pasteCounter--),d.setSelectionCells(this.insertTextAt(e,g.x+c, -g.y+c,!0))),!d.isSelectionEmpty()){d.scrollCellToVisible(d.getSelectionCell());null!=this.hoverIcons&&this.hoverIcons.update(d.view.getState(d.getSelectionCell()));try{mxEvent.consume(a)}catch(x){}}}else c||(d.lastPasteXml=null,d.pasteCounter=0)}}b.innerHTML=" "};EditorUi.prototype.addFileDropHandler=function(a){if(Graph.fileSupport)for(var b=null,c=0;c<a.length;c++)mxEvent.addListener(a[c],"dragleave",function(a){null!=b&&(b.parentNode.removeChild(b),b=null);a.stopPropagation();a.preventDefault()}), -mxEvent.addListener(a[c],"dragover",mxUtils.bind(this,function(a){(this.editor.graph.isEnabled()||"1"!=urlParams.embed)&&null==b&&(!mxClient.IS_IE||10<document.documentMode&&12>document.documentMode)&&(b=this.highlightElement());a.stopPropagation();a.preventDefault()})),mxEvent.addListener(a[c],"drop",mxUtils.bind(this,function(a){null!=b&&(b.parentNode.removeChild(b),b=null);if(this.editor.graph.isEnabled()||"1"!=urlParams.embed)if(0<a.dataTransfer.files.length)this.hideDialog(),"1"==urlParams.embed? -this.importFiles(a.dataTransfer.files,0,0,this.maxImageSize,null,null,null,null,!mxEvent.isControlDown(a)&&!mxEvent.isShiftDown(a)):this.openFiles(a.dataTransfer.files,!0);else{var c=this.extractGraphModelFromEvent(a);if(null==c){var d=null!=a.dataTransfer?a.dataTransfer:a.clipboardData;null!=d&&(10==document.documentMode||11==document.documentMode?c=d.getData("Text"):(c=null,c=0<=mxUtils.indexOf(d.types,"text/uri-list")?a.dataTransfer.getData("text/uri-list"):0<=mxUtils.indexOf(d.types,"text/html")? -d.getData("text/html"):null,null!=c&&0<c.length?(d=document.createElement("div"),d.innerHTML=c,d=d.getElementsByTagName("img"),0<d.length&&(c=d[0].getAttribute("src"))):0<=mxUtils.indexOf(d.types,"text/plain")&&(c=d.getData("text/plain"))),null!=c&&("data:image/png;base64,"==c.substring(0,22)?(c=this.extractGraphModelFromPng(c),null!=c&&0<c.length&&this.openLocalFile(c,null,!0)):!this.isOffline()&&this.isRemoteFileFormat(c)?(new mxXmlRequest(OPEN_URL,"format=xml&data="+encodeURIComponent(c))).send(mxUtils.bind(this, -function(a){200<=a.getStatus()&&299>=a.getStatus()&&this.openLocalFile(a.getText(),null,!0)})):/^https?:\/\//.test(c)&&(null==this.getCurrentFile()?window.location.hash="#U"+encodeURIComponent(c):window.openWindow((mxClient.IS_CHROMEAPP?EditorUi.drawHost+"/":"https://"+location.host+"/")+window.location.search+"#U"+encodeURIComponent(c)))))}else this.openLocalFile(c,null,!0)}a.stopPropagation();a.preventDefault()}))};EditorUi.prototype.highlightElement=function(a){var b=0,c=0,d,f;if(null==a){f=document.body; -var e=document.documentElement;d=(f.clientWidth||e.clientWidth)-3;f=Math.max(f.clientHeight||0,e.clientHeight)-3}else b=a.offsetTop,c=a.offsetLeft,d=a.clientWidth,f=a.clientHeight;e=document.createElement("div");e.style.zIndex=mxPopupMenu.prototype.zIndex+2;e.style.border="3px dotted rgb(254, 137, 12)";e.style.pointerEvents="none";e.style.position="absolute";e.style.top=b+"px";e.style.left=c+"px";e.style.width=Math.max(0,d-3)+"px";e.style.height=Math.max(0,f-3)+"px";null!=a&&a.parentNode==this.editor.graph.container? -this.editor.graph.container.appendChild(e):document.body.appendChild(e);return e};EditorUi.prototype.stringToCells=function(a){a=mxUtils.parseXml(a);var b=this.editor.extractGraphModel(a.documentElement);a=[];if(null!=b){var c=new mxCodec(b.ownerDocument),d=new mxGraphModel;c.decode(b,d);b=d.getChildAt(d.getRoot(),0);for(c=0;c<d.getChildCount(b);c++)a.push(d.getChildAt(b,c))}return a};EditorUi.prototype.openFiles=function(a,b){if(this.spinner.spin(document.body,mxResources.get("loading")))for(var c= -0;c<a.length;c++)mxUtils.bind(this,function(a){var c=new FileReader;c.onload=mxUtils.bind(this,function(c){try{var d=c.target.result,f=a.name;if(null!=f&&0<f.length){!this.useCanvasForExport&&/(\.png)$/i.test(f)&&(f=f.substring(0,f.length-4)+".drawio");var e=mxUtils.bind(this,function(a){f=0<=f.lastIndexOf(".")?f.substring(0,f.lastIndexOf("."))+".drawio":f+".drawio";if("<mxlibrary"==a.substring(0,10)){null==this.getCurrentFile()&&"1"!=urlParams.embed&&this.openLocalFile(this.emptyDiagramXml,this.defaultFilename, -b);try{this.loadLibrary(new LocalLibrary(this,a,f))}catch(B){this.handleError(B,mxResources.get("errorLoadingFile"))}}else this.openLocalFile(a,f,b)});if(/(\.v(dx|sdx?))($|\?)/i.test(f)||/(\.vs(x|sx?))($|\?)/i.test(f))this.importVisio(a,mxUtils.bind(this,function(a){this.spinner.stop();e(a)}));else if(/(\.*<graphml )/.test(d))this.importGraphML(d,mxUtils.bind(this,function(a){this.spinner.stop();e(a)}));else if(Graph.fileSupport&&!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(d, -f))this.parseFile(a,mxUtils.bind(this,function(a){4==a.readyState&&(this.spinner.stop(),200<=a.status&&299>=a.status?e(a.responseText):this.handleError({message:mxResources.get(413==a.status?"drawingTooLarge":"invalidOrMissingFile")},mxResources.get("errorLoadingFile")))}));else if(this.isLucidChartData(d))/(\.json)$/i.test(f)&&(f=f.substring(0,f.length-5)+".drawio"),this.convertLucidChart(d,mxUtils.bind(this,function(a){this.spinner.stop();this.openLocalFile(a,f,b)}),mxUtils.bind(this,function(a){this.spinner.stop(); -this.handleError(a)}));else if("<mxlibrary"==c.target.result.substring(0,10)){this.spinner.stop();null==this.getCurrentFile()&&"1"!=urlParams.embed&&this.openLocalFile(this.emptyDiagramXml,this.defaultFilename,b);try{this.loadLibrary(new LocalLibrary(this,c.target.result,a.name))}catch(x){this.handleError(x,mxResources.get("errorLoadingFile"))}}else 0==d.indexOf("PK")?this.importZipFile(a,mxUtils.bind(this,function(a){this.spinner.stop();e(a)}),mxUtils.bind(this,function(){this.spinner.stop();this.openLocalFile(d, -f,b)})):("image/png"==a.type.substring(0,9)&&(d=this.extractGraphModelFromPng(d)),this.spinner.stop(),this.openLocalFile(d,f,b))}}catch(x){this.handleError(x)}});c.onerror=mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a);window.openFile=null});"image"===a.type.substring(0,5)&&"image/svg"!==a.type.substring(0,9)?c.readAsDataURL(a):c.readAsText(a)})(a[c])};EditorUi.prototype.openLocalFile=function(a,b,c){var d=this.getCurrentFile(),f=mxUtils.bind(this,function(){window.openFile= -null;if(null==b&&null!=this.getCurrentFile()&&this.isDiagramEmpty()){var d=mxUtils.parseXml(a);null!=d&&(this.editor.setGraphXml(d.documentElement),this.editor.graph.selectAll())}else this.fileLoaded(new LocalFile(this,a,b||this.defaultFilename,c))});if(null!=a&&0<a.length)null==d||!d.isModified()&&(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)?f():(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)&&null!=d&&d.isModified()?this.confirm(mxResources.get("allChangesLost"),null,f,mxResources.get("cancel"), -mxResources.get("discardChanges")):(window.openFile=new OpenFile(function(){window.openFile=null}),window.openFile.setData(a,b),window.openWindow(this.getUrl(),null,mxUtils.bind(this,function(){null!=d&&d.isModified()?this.confirm(mxResources.get("allChangesLost"),null,f,mxResources.get("cancel"),mxResources.get("discardChanges")):f()})));else throw Error(mxResources.get("notADiagramFile"));};EditorUi.prototype.getBasenames=function(){var a={};if(null!=this.pages)for(var b=0;b<this.pages.length;b++)this.updatePageRoot(this.pages[b]), -this.addBasenamesForCell(this.pages[b].root,a);else this.addBasenamesForCell(this.editor.graph.model.getRoot(),a);var b=[],c;for(c in a)b.push(c);return b};EditorUi.prototype.addBasenamesForCell=function(a,b){function c(a){if(null!=a){var c=a.lastIndexOf(".");0<c&&(a=a.substring(c+1,a.length));null==b[a]&&(b[a]=!0)}}var d=this.editor.graph,f=d.getCellStyle(a);c(mxStencilRegistry.getBasenameForStencil(f[mxConstants.STYLE_SHAPE]));d.model.isEdge(a)&&(c(mxMarker.getPackageForType(f[mxConstants.STYLE_STARTARROW])), -c(mxMarker.getPackageForType(f[mxConstants.STYLE_ENDARROW])));for(var f=d.model.getChildCount(a),e=0;e<f;e++)this.addBasenamesForCell(d.model.getChildAt(a,e),b)};EditorUi.prototype.setGraphEnabled=function(a){this.diagramContainer.style.visibility=a?"":"hidden";this.formatContainer.style.visibility=a?"":"hidden";this.sidebarFooterContainer.style.display=a?"":"none";this.sidebarContainer.style.display=a?"":"none";this.hsplit.style.display=a?"":"none";this.editor.graph.setEnabled(a);null!=this.ruler&& -(this.ruler.hRuler.container.style.visibility=a?"":"hidden",this.ruler.vRuler.container.style.visibility=a?"":"hidden");null!=this.tabContainer&&(this.tabContainer.style.visibility=a?"":"hidden");a||(null!=this.actions.outlineWindow&&this.actions.outlineWindow.window.setVisible(!1),null!=this.actions.layersWindow&&this.actions.layersWindow.window.setVisible(!1),null!=this.menus.tagsWindow&&this.menus.tagsWindow.window.setVisible(!1),null!=this.menus.findWindow&&this.menus.findWindow.window.setVisible(!1))}; -EditorUi.prototype.initializeEmbedMode=function(){this.setGraphEnabled(!1);(window.opener||window.parent)!=window&&("1"!=urlParams.spin||this.spinner.spin(document.body,mxResources.get("loading")))&&this.installMessageHandler(mxUtils.bind(this,function(a,b,c){this.spinner.stop();this.addEmbedButtons();this.setGraphEnabled(!0);null!=a&&0<a.length?(this.setFileData(a),this.editor.isChromelessView()?this.editor.graph.isLightboxView()&&this.lightboxFit():this.showLayersDialog(),this.chromelessResize&& -this.chromelessResize()):(this.editor.graph.model.clear(),this.editor.fireEvent(new mxEventObject("resetGraphView")));this.editor.undoManager.clear();this.editor.modified=null!=c?c:!1;this.updateUi();window.self!==window.top&&window.focus();null!=this.format&&this.format.refresh()}))};EditorUi.prototype.showLayersDialog=function(){1<this.editor.graph.getModel().getChildCount(this.editor.graph.getModel().getRoot())&&(null==this.actions.layersWindow?this.actions.get("layers").funct():this.actions.layersWindow.window.setVisible(!0))}; -EditorUi.prototype.getPublicUrl=function(a,b){null!=a?a.getPublicUrl(b):b(null)};EditorUi.prototype.createLoadMessage=function(a){var b=this.editor.graph;return{event:a,pageVisible:b.pageVisible,translate:b.view.translate,bounds:b.getGraphBounds(),currentPage:this.getSelectedPageIndex(),scale:b.view.scale,page:b.view.getBackgroundPageBounds()}};EditorUi.prototype.installMessageHandler=function(a){var b=null,c=!1,d=!1,f=null,e=mxUtils.bind(this,function(a,b){this.editor.modified&&"0"!=urlParams.modified? -null!=urlParams.modified&&this.editor.setStatus(mxUtils.htmlEntities(mxResources.get(urlParams.modified))):this.editor.setStatus("")});this.editor.graph.model.addListener(mxEvent.CHANGE,e);mxEvent.addListener(window,"message",mxUtils.bind(this,function(e){if(e.source==(window.opener||window.parent)){var k=e.data,l=mxUtils.bind(this,function(a){if(null!=a&&"function"===typeof a.charAt&&"<"!=a.charAt(0))try{"data:image/png;base64,"==a.substring(0,22)?a=this.extractGraphModelFromPng(a):"data:image/svg+xml;base64,"== -a.substring(0,26)?a=atob(a.substring(26)):"data:image/svg+xml;utf8,"==a.substring(0,24)&&(a=a.substring(24)),null!=a&&("%"==a.charAt(0)?a=decodeURIComponent(a):"<"!=a.charAt(0)&&(a=Graph.decompress(a)))}catch(Y){}return a});if("json"==urlParams.proto){try{k=JSON.parse(k)}catch(N){k=null}if(null==k)return;if("dialog"==k.action){this.showError(null!=k.titleKey?mxResources.get(k.titleKey):k.title,null!=k.messageKey?mxResources.get(k.messageKey):k.message,null!=k.buttonKey?mxResources.get(k.buttonKey): -k.button);null!=k.modified&&(this.editor.modified=k.modified);return}if("prompt"==k.action){this.spinner.stop();l=new FilenameDialog(this,k.defaultValue||"",null!=k.okKey?mxResources.get(k.okKey):null,function(a){null!=a&&g.postMessage(JSON.stringify({event:"prompt",value:a,message:k}),"*")},null!=k.titleKey?mxResources.get(k.titleKey):k.title);this.showDialog(l.container,300,80,!0,!1);l.init();return}if("draft"==k.action){var p=l(k.xml);this.spinner.stop();l=new DraftDialog(this,mxResources.get("draftFound", -[k.name||this.defaultFilename]),p,mxUtils.bind(this,function(){this.hideDialog();g.postMessage(JSON.stringify({event:"draft",result:"edit",message:k}),"*")}),mxUtils.bind(this,function(){this.hideDialog();g.postMessage(JSON.stringify({event:"draft",result:"discard",message:k}),"*")}),k.editKey?mxResources.get(k.editKey):null,k.discardKey?mxResources.get(k.discardKey):null,k.ignore?mxUtils.bind(this,function(){this.hideDialog();g.postMessage(JSON.stringify({event:"draft",result:"ignore",message:k}), -"*")}):null);this.showDialog(l.container,640,480,!0,!1,mxUtils.bind(this,function(a){a&&this.actions.get("exit").funct()}));try{l.init()}catch(N){g.postMessage(JSON.stringify({event:"draft",error:N.toString(),message:k}),"*")}return}if("template"==k.action){this.spinner.stop();var l=1==k.enableRecent,p=1==k.enableSearch,n=1==k.enableCustomTemp,l=new NewDialog(this,!1,null!=k.callback,mxUtils.bind(this,function(b,c){b=b||this.emptyDiagramXml;null!=k.callback?g.postMessage(JSON.stringify({event:"template", -xml:b,blank:b==this.emptyDiagramXml,name:c}),"*"):(a(b,e,b!=this.emptyDiagramXml),this.editor.modified||this.editor.setStatus(""))}),null,null,null,null,null,null,null,l?mxUtils.bind(this,function(a){this.remoteInvoke("getRecentDiagrams",null,null,a,function(){a(null,"Network Error!")})}):null,p?mxUtils.bind(this,function(a,b){this.remoteInvoke("searchDiagrams",[a],null,b,function(){b(null,"Network Error!")})}):null,mxUtils.bind(this,function(a,b,c){g.postMessage(JSON.stringify({event:"template", -docUrl:a,info:b,name:c}),"*")}),null,null,n?mxUtils.bind(this,function(a){this.remoteInvoke("getCustomTemplates",null,null,a,function(){a({},0)})}):null);this.showDialog(l.container,620,440,!0,!1,mxUtils.bind(this,function(a){a&&this.actions.get("exit").funct()}));l.init();return}if("textContent"==k.action){l=this.getDiagramTextContent();g.postMessage(JSON.stringify({event:"textContent",data:l,message:k}),"*");return}if("status"==k.action){null!=k.messageKey?this.editor.setStatus(mxUtils.htmlEntities(mxResources.get(k.messageKey))): -null!=k.message&&this.editor.setStatus(mxUtils.htmlEntities(k.message));null!=k.modified&&(this.editor.modified=k.modified);return}if("spinner"==k.action){var m=null!=k.messageKey?mxResources.get(k.messageKey):k.message;null==k.show||k.show?this.spinner.spin(document.body,m):this.spinner.stop();return}if("export"==k.action){if("png"==k.format||"xmlpng"==k.format){if(null==k.spin&&null==k.spinKey||this.spinner.spin(document.body,null!=k.spinKey?mxResources.get(k.spinKey):k.spin)){var t=null!=k.xml? -k.xml:this.getFileData(!0);this.editor.graph.setEnabled(!1);var q=this.editor.graph,u=mxUtils.bind(this,function(a){this.editor.graph.setEnabled(!0);this.spinner.stop();var b=this.createLoadMessage("export");b.format=k.format;b.message=k;b.data=a;b.xml=encodeURIComponent(t);g.postMessage(JSON.stringify(b),"*")}),v=mxUtils.bind(this,function(a){null==a&&(a=Editor.blankImage);"xmlpng"==k.format&&(a=this.writeGraphModelToPng(a,"tEXt","mxfile",encodeURIComponent(t)));q!=this.editor.graph&&q.container.parentNode.removeChild(q.container); -u(a)}),p=k.pageId||(null!=this.pages?this.pages[0].getId():null);if(this.isExportToCanvas()){if(null!=this.pages&&this.currentPage.getId()!=p){for(var y=q.getGlobalVariable,q=this.createTemporaryGraph(q.getStylesheet()),G,l=0;l<this.pages.length;l++)if(this.pages[l].getId()==p){G=this.updatePageRoot(this.pages[l]);break}q.getGlobalVariable=function(a){return"page"==a?G.getName():"pagenumber"==a?1:y.apply(this,arguments)};document.body.appendChild(q.container);q.model.setRoot(G.root)}if(null!=k.layerIds){for(var p= -q.model,n=p.getChildCells(p.getRoot()),z={},l=0;l<k.layerIds.length;l++)z[k.layerIds[l]]=!0;for(l=0;l<n.length;l++)p.setVisible(n[l],z[n[l].id]||!1)}this.exportToCanvas(mxUtils.bind(this,function(a){v(a.toDataURL("image/png"))}),null,null,null,mxUtils.bind(this,function(){v(null)}),null,null,k.scale,null,null,null,q)}else(new mxXmlRequest(EXPORT_URL,"format=png&embedXml="+("xmlpng"==k.format?"1":"0")+(null!=p?"&pageId="+p:"")+(null!=k.layerIds?"&extras="+encodeURIComponent(JSON.stringify({layerIds:k.layerIds})): -"")+(null!=k.scale?"&scale="+k.scale:"")+"&base64=1&xml="+encodeURIComponent(t))).send(mxUtils.bind(this,function(a){200<=a.getStatus()&&299>=a.getStatus()?u("data:image/png;base64,"+a.getText()):v(null)}),mxUtils.bind(this,function(){v(null)}))}}else{null!=k.xml&&0<k.xml.length&&this.setFileData(k.xml);m=this.createLoadMessage("export");if("html2"==k.format||"html"==k.format&&("0"!=urlParams.pages||null!=this.pages&&1<this.pages.length))l=this.getXmlFileData(),m.xml=mxUtils.getXml(l),m.data=this.getFileData(null, -null,!0,null,null,null,l),m.format=k.format;else if("html"==k.format)t=this.editor.getGraphXml(),m.data=this.getHtml(t,this.editor.graph),m.xml=mxUtils.getXml(t),m.format=k.format;else{mxSvgCanvas2D.prototype.foAltText=null;l=this.editor.graph.background;l==mxConstants.NONE&&(l=null);m.xml=this.getFileData(!0,null,null,null,null,null,null,null,null,!1);m.format="svg";if(k.embedImages||null==k.embedImages){if(null==k.spin&&null==k.spinKey||this.spinner.spin(document.body,null!=k.spinKey?mxResources.get(k.spinKey): -k.spin))this.editor.graph.setEnabled(!1),"xmlsvg"==k.format?this.getEmbeddedSvg(m.xml,this.editor.graph,null,!0,mxUtils.bind(this,function(a){this.editor.graph.setEnabled(!0);this.spinner.stop();m.data=this.createSvgDataUri(a);g.postMessage(JSON.stringify(m),"*")})):this.convertImages(this.editor.graph.getSvg(l),mxUtils.bind(this,function(a){this.editor.graph.setEnabled(!0);this.spinner.stop();m.data=this.createSvgDataUri(mxUtils.getXml(a));g.postMessage(JSON.stringify(m),"*")}));return}l="xmlsvg"== -k.format?this.getEmbeddedSvg(this.getFileData(!0),this.editor.graph,null,!0):mxUtils.getXml(this.editor.graph.getSvg(l));m.data=this.createSvgDataUri(l)}g.postMessage(JSON.stringify(m),"*")}return}if("load"==k.action)d=1==k.autosave,this.hideDialog(),null!=k.modified&&null==urlParams.modified&&(urlParams.modified=k.modified),null!=k.saveAndExit&&null==urlParams.saveAndExit&&(urlParams.saveAndExit=k.saveAndExit),null!=k.title&&null!=this.buttonContainer&&(p=document.createElement("span"),mxUtils.write(p, -k.title),"atlas"==uiTheme?(this.buttonContainer.style.paddingRight="12px",this.buttonContainer.style.paddingTop="6px",this.buttonContainer.style.right="25px"):"min"!=uiTheme&&(this.buttonContainer.style.paddingRight="38px",this.buttonContainer.style.paddingTop="6px"),null!=this.embedFilenameSpan&&this.embedFilenameSpan.parentNode.removeChild(this.embedFilenameSpan),this.buttonContainer.appendChild(p),this.embedFilenameSpan=p),k=null!=k.xmlpng?this.extractGraphModelFromPng(k.xmlpng):k.xml;else{"remoteInvokeReady"== -k.action?this.handleRemoteInvokeReady(g):"remoteInvoke"==k.action?this.handleRemoteInvoke(k):"remoteInvokeResponse"==k.action?this.handleRemoteInvokeResponse(k):g.postMessage(JSON.stringify({error:"unknownMessage",data:JSON.stringify(k)}),"*");return}}var Q=mxUtils.bind(this,function(e,k){c=!0;try{a(e,k)}catch(L){this.handleError(L)}c=!1;null!=urlParams.modified&&this.editor.setStatus("");var l=mxUtils.bind(this,function(){return"0"!=urlParams.pages||null!=this.pages&&1<this.pages.length?this.getFileData(!0): -mxUtils.getXml(this.editor.getGraphXml())});f=l();d&&null==b&&(b=mxUtils.bind(this,function(a,b){var d=l();if(d!=f&&!c){var e=this.createLoadMessage("autosave");e.xml=d;d=JSON.stringify(e);(window.opener||window.parent).postMessage(d,"*")}f=d}),this.editor.graph.model.addListener(mxEvent.CHANGE,b),this.editor.graph.addListener("gridSizeChanged",b),this.editor.graph.addListener("shadowVisibleChanged",b),this.addListener("pageFormatChanged",b),this.addListener("pageScaleChanged",b),this.addListener("backgroundColorChanged", -b),this.addListener("backgroundImageChanged",b),this.addListener("foldingEnabledChanged",b),this.addListener("mathEnabledChanged",b),this.addListener("gridEnabledChanged",b),this.addListener("guidesEnabledChanged",b),this.addListener("pageViewChanged",b));"1"!=urlParams.returnbounds&&"json"!=urlParams.proto||g.postMessage(JSON.stringify(this.createLoadMessage("load")),"*")});null!=k&&"function"===typeof k.substring&&"data:application/vnd.visio;base64,"==k.substring(0,34)?(l="0M8R4KGxGuE"==k.substring(34, -45)?"raw.vsd":"raw.vsdx",this.importVisio(this.base64ToBlob(k.substring(k.indexOf(",")+1)),function(a){Q(a,e)},mxUtils.bind(this,function(a){this.handleError(a)}),l)):null!=k&&"function"===typeof k.substring&&!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(k,"")?this.parseFile(new Blob([k],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){4==a.readyState&&200<=a.status&&299>=a.status&&"<mxGraphModel"==a.responseText.substring(0,13)&&Q(a.responseText,e)}),""): -null!=k&&"function"===typeof k.substring&&this.isLucidChartData(k)?this.convertLucidChart(k,mxUtils.bind(this,function(a){Q(a)}),mxUtils.bind(this,function(a){this.handleError(a)})):(k=l(k),Q(k,e))}}));var g=window.opener||window.parent,e="json"==urlParams.proto?JSON.stringify({event:"init"}):urlParams.ready||"ready";g.postMessage(e,"*")};EditorUi.prototype.addEmbedButtons=function(){if(null!=this.menubar){var a=document.createElement("div");a.style.display="inline-block";a.style.position="absolute"; -a.style.paddingTop="atlas"==uiTheme?"2px":"0px";a.style.paddingLeft="8px";a.style.paddingBottom="2px";var b=document.createElement("button");b.className="geBigButton";"1"==urlParams.noSaveBtn?(mxUtils.write(b,mxResources.get("saveAndExit")),b.setAttribute("title",mxResources.get("saveAndExit")),mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("saveAndExit").funct()})),a.appendChild(b)):(mxUtils.write(b,mxResources.get("save")),b.setAttribute("title",mxResources.get("save")+ -" ("+Editor.ctrlKey+"+S)"),mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("save").funct()})),a.appendChild(b),"1"==urlParams.saveAndExit&&(b=document.createElement("a"),mxUtils.write(b,mxResources.get("saveAndExit")),b.setAttribute("title",mxResources.get("saveAndExit")),b.className="geBigButton geBigStandardButton",b.style.marginLeft="6px",mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("saveAndExit").funct()})),a.appendChild(b)));b=document.createElement("a"); -mxUtils.write(b,mxResources.get("exit"));b.setAttribute("title",mxResources.get("exit"));b.className="geBigButton geBigStandardButton";b.style.marginLeft="6px";b.style.marginRight="20px";mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("exit").funct()}));a.appendChild(b);this.toolbar.container.appendChild(a);this.toolbar.staticElements.push(a);a.style.right="atlas"!=uiTheme?"52px":"42px"}};EditorUi.prototype.showImportCsvDialog=function(){null==this.importCsvDialog&&(this.importCsvDialog= -new TextareaDialog(this,mxResources.get("csv")+":",Editor.defaultCsvValue,mxUtils.bind(this,function(a){this.importCsv(a)}),null,null,620,430,null,!0,!0,mxResources.get("import"),this.isOffline()?null:"https://about.draw.io/import-from-csv-to-drawio/"));this.showDialog(this.importCsvDialog.container,640,520,!0,!0,null,null,null,null,!0);this.importCsvDialog.init()};EditorUi.prototype.executeLayoutList=function(a,b){for(var c=this.editor.graph,d=c.getSelectionCells(),f=0;f<a.length;f++){var e=new window[a[f].layout](c); -if(null!=a[f].config)for(var g in a[f].config)e[g]=a[f].config[g];this.executeLayout(function(){e.execute(c.getDefaultParent(),0==d.length?null:d)},f==a.length-1,b)}};EditorUi.prototype.importCsv=function(a,b){try{var c=a.split("\n"),d=[],f=[],e={};if(0<c.length){var g={},k=null,l=null,n=null,m=null,q=null,A=null,F=null,D=null,H="",J="auto",I="auto",G=null,K=null,Q=40,N=40,Y=100,T=0,L=this.editor.graph;L.getGraphBounds();for(var W=function(){null!=b?b(la):(L.setSelectionCells(la),L.scrollCellToVisible(L.getSelectionCell()))}, -aa=L.getFreeInsertPoint(),ga=aa.x,ha=aa.y,aa=ha,ca=null,V="auto",D=null,ba=[],R=null,Z=null,X=0;X<c.length&&"#"==c[X].charAt(0);){a=c[X];for(X++;X<c.length&&"\\"==a.charAt(a.length-1)&&"#"==c[X].charAt(0);)a=a.substring(0,a.length-1)+mxUtils.trim(c[X].substring(1)),X++;if("#"!=a.charAt(1)){var ea=a.indexOf(":");if(0<ea){var P=mxUtils.trim(a.substring(1,ea)),M=mxUtils.trim(a.substring(ea+1));"label"==P?ca=L.sanitizeHtml(M):"labelname"==P&&0<M.length&&"-"!=M?m=M:"labels"==P&&0<M.length&&"-"!=M?q=JSON.parse(M): -"style"==P?k=M:"parentstyle"==P?A=M:"stylename"==P&&0<M.length&&"-"!=M?n=M:"styles"==P&&0<M.length&&"-"!=M?l=JSON.parse(M):"identity"==P&&0<M.length&&"-"!=M?F=M:"parent"==P&&0<M.length&&"-"!=M?D=M:"namespace"==P&&0<M.length&&"-"!=M?H=M:"width"==P?J=M:"height"==P?I=M:"left"==P&&0<M.length?G=M:"top"==P&&0<M.length?K=M:"ignore"==P?Z=M.split(","):"connect"==P?ba.push(JSON.parse(M)):"link"==P?R=M:"padding"==P?T=parseFloat(M):"edgespacing"==P?Q=parseFloat(M):"nodespacing"==P?N=parseFloat(M):"levelspacing"== -P?Y=parseFloat(M):"layout"==P&&(V=M)}}}if(null==c[X])throw Error(mxResources.get("invalidOrMissingFile"));var da=this.editor.csvToArray(c[X]),P=ea=null;if(null!=F||null!=D)for(var S=0;S<da.length;S++)F==da[S]&&(ea=S),D==da[S]&&(P=S);null==ca&&(ca="%"+da[0]+"%");if(null!=ba)for(var U=0;U<ba.length;U++)null==g[ba[U].to]&&(g[ba[U].to]={});L.model.beginUpdate();try{for(S=X+1;S<c.length;S++){var ja=this.editor.csvToArray(c[S]);if(null==ja){var ka=40<c[S].length?c[S].substring(0,40)+"...":c[S];throw Error(S+ -" ("+ka+") "+mxResources.get("containsValidationErrors"));}if(ja.length==da.length){var O=null,ma=null!=ea?H+ja[ea]:null;null!=ma&&(O=L.model.getCell(ma));var F=null!=O,fa=new mxCell(ca,new mxGeometry(ga,aa,0,0),k||"whiteSpace=wrap;html=1;");fa.vertex=!0;fa.id=ma;for(var ia=0;ia<ja.length;ia++)L.setAttributeForCell(fa,da[ia],ja[ia]);if(null!=m&&null!=q){var ua=q[fa.getAttribute(m)];null!=ua&&L.labelChanged(fa,ua)}if(null!=n&&null!=l){var va=l[fa.getAttribute(n)];null!=va&&(fa.style=va)}L.setAttributeForCell(fa, -"placeholders","1");fa.style=L.replacePlaceholders(fa,fa.style);F&&(L.model.setGeometry(O,fa.geometry),L.model.setStyle(O,fa.style),0>mxUtils.indexOf(f,O)&&f.push(O));O=fa;if(!F)for(U=0;U<ba.length;U++)g[ba[U].to][O.getAttribute(ba[U].to)]=O;null!=R&&"link"!=R&&(L.setLinkForCell(O,O.getAttribute(R)),L.setAttributeForCell(O,R,null));L.fireEvent(new mxEventObject("cellsInserted","cells",[O]));var wa=this.editor.graph.getPreferredSizeForCell(O);O.vertex&&(null!=G&&null!=O.getAttribute(G)&&(O.geometry.x= -ga+parseFloat(O.getAttribute(G))),null!=K&&null!=O.getAttribute(K)&&(O.geometry.y=ha+parseFloat(O.getAttribute(K))),"@"==J.charAt(0)&&null!=O.getAttribute(J.substring(1))?O.geometry.width=parseFloat(O.getAttribute(J.substring(1))):O.geometry.width="auto"==J?wa.width+T:parseFloat(J),"@"==I.charAt(0)&&null!=O.getAttribute(I.substring(1))?O.geometry.height=parseFloat(O.getAttribute(I.substring(1))):O.geometry.height="auto"==I?wa.height+T:parseFloat(I),aa+=O.geometry.height+N);F?(null==e[ma]&&(e[ma]= -[]),e[ma].push(O)):(D=null!=P?L.model.getCell(H+ja[P]):null,d.push(O),null!=D?(D.style=L.replacePlaceholders(D,A),L.addCell(O,D)):f.push(L.addCell(O)))}}for(var na=f.slice(),la=f.slice(),U=0;U<ba.length;U++)for(var xa=ba[U],S=0;S<f.length;S++){var O=f[S],ya=mxUtils.bind(this,function(a,b,c){var d=b.getAttribute(c.from);if(null!=d){L.setAttributeForCell(b,c.from,null);for(var d=d.split(","),f=0;f<d.length;f++){var e=g[c.to][d[f]];if(null!=e){var k=c.label;null!=c.fromlabel&&(k=(b.getAttribute(c.fromlabel)|| -"")+(k||""));null!=c.tolabel&&(k=(k||"")+(e.getAttribute(c.tolabel)||""));la.push(L.insertEdge(null,null,k||"",c.invert?e:a,c.invert?a:e,c.style||L.createCurrentEdgeStyle()));mxUtils.remove(c.invert?a:e,na)}}}});ya(O,O,xa);if(null!=e[O.id])for(ia=0;ia<e[O.id].length;ia++)ya(O,e[O.id][ia],xa)}if(null!=Z)for(S=0;S<d.length;S++)for(O=d[S],ia=0;ia<Z.length;ia++)L.setAttributeForCell(O,mxUtils.trim(Z[ia]),null);if(0<f.length){var oa=new mxParallelEdgeLayout(L);oa.spacing=Q;var ta=function(){0<oa.spacing&& -oa.execute(L.getDefaultParent());for(var a=0;a<f.length;a++){var b=L.getCellGeometry(f[a]);b.x=Math.round(L.snap(b.x));b.y=Math.round(L.snap(b.y));"auto"==J&&(b.width=Math.round(L.snap(b.width)));"auto"==I&&(b.height=Math.round(L.snap(b.height)))}};if("["==V.charAt(0)){var za=W;L.view.validate();this.executeLayoutList(JSON.parse(V),function(){ta();za()});W=null}else if("circle"==V){var ra=new mxCircleLayout(L);ra.resetEdges=!1;var Aa=ra.isVertexIgnored;ra.isVertexIgnored=function(a){return Aa.apply(this, -arguments)||0>mxUtils.indexOf(f,a)};this.executeLayout(function(){ra.execute(L.getDefaultParent());ta()},!0,W);W=null}else if("horizontaltree"==V||"verticaltree"==V||"auto"==V&&la.length==2*f.length-1&&1==na.length){L.view.validate();var sa=new mxCompactTreeLayout(L,"horizontaltree"==V);sa.levelDistance=N;sa.edgeRouting=!1;sa.resetEdges=!1;this.executeLayout(function(){sa.execute(L.getDefaultParent(),0<na.length?na[0]:null)},!0,W);W=null}else if("horizontalflow"==V||"verticalflow"==V||"auto"==V&& -1==na.length){L.view.validate();var pa=new mxHierarchicalLayout(L,"horizontalflow"==V?mxConstants.DIRECTION_WEST:mxConstants.DIRECTION_NORTH);pa.intraCellSpacing=N;pa.parallelEdgeSpacing=Q;pa.interRankCellSpacing=Y;pa.disableEdgeStyle=!1;this.executeLayout(function(){pa.execute(L.getDefaultParent(),la);L.moveCells(la,ga,ha)},!0,W);W=null}else if("organic"==V||"auto"==V&&la.length>f.length){L.view.validate();var qa=new mxFastOrganicLayout(L);qa.forceConstant=3*N;qa.resetEdges=!1;var Ba=qa.isVertexIgnored; -qa.isVertexIgnored=function(a){return Ba.apply(this,arguments)||0>mxUtils.indexOf(f,a)};oa=new mxParallelEdgeLayout(L);oa.spacing=Q;this.executeLayout(function(){qa.execute(L.getDefaultParent());ta()},!0,W);W=null}}this.hideDialog()}finally{L.model.endUpdate()}null!=W&&W()}}catch(Ca){this.handleError(Ca)}};EditorUi.prototype.getSearch=function(a){var b="";if("1"!=urlParams.offline&&"1"!=urlParams.demo&&null!=a&&0<window.location.search.length){var c="?",d;for(d in urlParams)0>mxUtils.indexOf(a,d)&& -null!=urlParams[d]&&(b+=c+d+"="+urlParams[d],c="&")}else b=window.location.search;return b};EditorUi.prototype.getUrl=function(a){a=null!=a?a:window.location.pathname;var b=0<a.indexOf("?")?1:0;if("1"==urlParams.offline)a+=window.location.search;else{var c="tmp libs clibs state fileId code share notitle data url embed client create title splash".split(" "),d;for(d in urlParams)0>mxUtils.indexOf(c,d)&&(a=0==b?a+"?":a+"&",null!=urlParams[d]&&(a+=d+"="+urlParams[d],b++))}return a};EditorUi.prototype.showLinkDialog= -function(a,b,c){a=new LinkDialog(this,a,b,c,!0);this.showDialog(a.container,560,130,!0,!0);a.init()};var m=EditorUi.prototype.createOutline;EditorUi.prototype.createOutline=function(a){var b=m.apply(this,arguments),c=this.editor.graph,d=b.getSourceGraphBounds;b.getSourceGraphBounds=function(){if(mxUtils.hasScrollbars(c.container)&&c.pageVisible&&null!=this.source.minimumGraphSize){var a=this.source.getPagePadding(),b=this.source.view.scale;return new mxRectangle(0,0,Math.ceil(this.source.minimumGraphSize.width- -2*a.x/b),Math.ceil(this.source.minimumGraphSize.height-2*a.y/b))}return d.apply(this,arguments)};var f=b.getSourceContainerSize;b.getSourceContainerSize=function(){if(mxUtils.hasScrollbars(c.container)&&null!=this.source.minimumGraphSize){var a=this.source.getPagePadding(),b=this.source.view.scale;return new mxRectangle(0,0,Math.ceil(this.source.minimumGraphSize.width*b-2*a.x),Math.ceil(this.source.minimumGraphSize.height*b-2*a.y))}return f.apply(this,arguments)};b.getOutlineOffset=function(a){if(mxUtils.hasScrollbars(c.container)&& -null!=this.source.minimumGraphSize){var d=this.source.getPagePadding();return new mxPoint(Math.round(Math.max(0,(b.outline.container.clientWidth/a-(this.source.minimumGraphSize.width-2*d.x))/2)-d.x),Math.round(Math.max(0,(b.outline.container.clientHeight/a-(this.source.minimumGraphSize.height-2*d.y))/2)-d.y-5/a))}return new mxPoint(8/a,8/a)};var e=b.init;b.init=function(){e.apply(this,arguments);b.outline.view.getBackgroundPageBounds=function(){var a=c.getPageLayout(),b=c.getPageSize();return new mxRectangle(this.scale* -(this.translate.x+a.x*b.width),this.scale*(this.translate.y+a.y*b.height),this.scale*a.width*b.width,this.scale*a.height*b.height)};b.outline.view.validateBackgroundPage()};this.editor.addListener("pageSelected",function(a,c){var d=c.getProperty("change"),f=b.source,e=b.outline;e.pageScale=f.pageScale;e.pageFormat=f.pageFormat;e.background=f.background;e.pageVisible=f.pageVisible;e.background=f.background;var g=mxUtils.getCurrentStyle(f.container);e.container.style.backgroundColor=g.backgroundColor; -null!=f.view.backgroundPageShape&&null!=e.view.backgroundPageShape&&(e.view.backgroundPageShape.fill=f.view.backgroundPageShape.fill);b.outline.view.clear(d.previousPage.root,!0);b.outline.view.validate()});return b};EditorUi.prototype.getServiceCount=function(a,b){var c=1;null==this.drive&&"function"!==typeof window.DriveClient||c++;b||null==this.dropbox&&"function"!==typeof window.DropboxClient||c++;null==this.oneDrive&&"function"!==typeof window.OneDriveClient||c++;b||null==this.gitHub||c++;b|| -null==this.gitLab||c++;b&&a&&isLocalStorage&&"1"==urlParams.browser&&c++;return c};EditorUi.prototype.updateUi=function(){this.updateButtonContainer();this.updateActionStates();var a=this.getCurrentFile(),b=null!=a||"1"==urlParams.embed&&this.editor.graph.isEnabled();this.menus.get("viewPanels").setEnabled(b);this.menus.get("viewZoom").setEnabled(b);var c=("1"!=urlParams.embed||!this.editor.graph.isEnabled())&&(null==a||a.isRestricted());this.actions.get("makeCopy").setEnabled(!c);this.actions.get("print").setEnabled(!c); -this.menus.get("exportAs").setEnabled(!c);this.menus.get("embed").setEnabled(!c);c="1"!=urlParams.embed||this.editor.graph.isEnabled();this.menus.get("extras").setEnabled(c);Editor.enableCustomLibraries&&(this.menus.get("openLibraryFrom").setEnabled(c),this.menus.get("newLibrary").setEnabled(c));a="1"==urlParams.embed&&this.editor.graph.isEnabled()||null!=a&&a.isEditable();this.actions.get("image").setEnabled(b);this.actions.get("zoomIn").setEnabled(b);this.actions.get("zoomOut").setEnabled(b);this.actions.get("resetView").setEnabled(b); -this.actions.get("undo").setEnabled(this.canUndo()&&a);this.actions.get("redo").setEnabled(this.canRedo()&&a);this.menus.get("edit").setEnabled(b);this.menus.get("view").setEnabled(b);this.menus.get("importFrom").setEnabled(a);this.menus.get("arrange").setEnabled(a);null!=this.toolbar&&(null!=this.toolbar.edgeShapeMenu&&this.toolbar.edgeShapeMenu.setEnabled(a),null!=this.toolbar.edgeStyleMenu&&this.toolbar.edgeStyleMenu.setEnabled(a));if(this.isAppCache()){var d=applicationCache;if(null!=d&&null== -this.offlineStatus){this.offlineStatus=document.createElement("div");this.offlineStatus.className="geItem";this.offlineStatus.style.position="absolute";this.offlineStatus.style.fontSize="8pt";this.offlineStatus.style.top="2px";this.offlineStatus.style.right="12px";this.offlineStatus.style.color="#666";this.offlineStatus.style.margin="4px";this.offlineStatus.style.padding="2px";this.offlineStatus.style.verticalAlign="middle";this.offlineStatus.innerHTML="";this.menubarContainer.appendChild(this.offlineStatus); -mxEvent.addListener(this.offlineStatus,"click",mxUtils.bind(this,function(){var a=this.offlineStatus.getElementsByTagName("img");null!=a&&0<a.length&&this.alert(a[0].getAttribute("title"))}));var d=window.applicationCache,e=null,b=mxUtils.bind(this,function(){var a=d.status,b;a==d.CHECKING&&(a=d.DOWNLOADING);switch(a){case d.UNCACHED:b="";break;case d.IDLE:b="min"==uiTheme?"":'<img title="draw.io is up to date." border="0" src="'+IMAGE_PATH+'/checkmark.gif"/>';break;case d.DOWNLOADING:b='<img title="Downloading new version..." border="0" src="'+ -IMAGE_PATH+'/spin.gif"/>';break;case d.UPDATEREADY:b='<img title="'+mxUtils.htmlEntities(mxResources.get("restartForChangeRequired"))+'" border="0" src="'+IMAGE_PATH+'/download.png"/>';break;case d.OBSOLETE:b='<img title="Obsolete" border="0" src="'+IMAGE_PATH+'/clear.gif"/>';break;default:b='<img title="Unknown" border="0" src="'+IMAGE_PATH+'/clear.gif"/>'}a!=e&&(this.offlineStatus.innerHTML=b,e=a)});mxEvent.addListener(d,"checking",b);mxEvent.addListener(d,"noupdate",b);mxEvent.addListener(d,"downloading", -b);mxEvent.addListener(d,"progress",b);mxEvent.addListener(d,"cached",b);mxEvent.addListener(d,"updateready",b);mxEvent.addListener(d,"obsolete",b);mxEvent.addListener(d,"error",b);b()}}else this.updateUserElement()};EditorUi.prototype.updateButtonContainer=function(){};EditorUi.prototype.updateUserElement=function(){};EditorUi.prototype.scheduleSanityCheck=function(){};EditorUi.prototype.stopSanityCheck=function(){};EditorUi.prototype.isDiagramActive=function(){var a=this.getCurrentFile();return null!= -a&&a.isEditable()||"1"==urlParams.embed&&this.editor.graph.isEnabled()};var n=EditorUi.prototype.updateActionStates;EditorUi.prototype.updateActionStates=function(){n.apply(this,arguments);var a=this.editor.graph,b=this.isDiagramActive(),c=this.getCurrentFile();this.actions.get("pageSetup").setEnabled(b);this.actions.get("autosave").setEnabled(null!=c&&c.isEditable()&&c.isAutosaveOptional());this.actions.get("guides").setEnabled(b);this.actions.get("editData").setEnabled(b);this.actions.get("shadowVisible").setEnabled(b); -this.actions.get("connectionArrows").setEnabled(b);this.actions.get("connectionPoints").setEnabled(b);this.actions.get("copyStyle").setEnabled(b&&!a.isSelectionEmpty());this.actions.get("pasteStyle").setEnabled(b&&!a.isSelectionEmpty());this.actions.get("editGeometry").setEnabled(a.getModel().isVertex(a.getSelectionCell()));this.actions.get("createShape").setEnabled(b);this.actions.get("createRevision").setEnabled(b);this.actions.get("moveToFolder").setEnabled(null!=c);this.actions.get("makeCopy").setEnabled(null!= -c&&!c.isRestricted());this.actions.get("editDiagram").setEnabled(b&&(null==c||!c.isRestricted()));this.actions.get("publishLink").setEnabled(null!=c&&!c.isRestricted());this.actions.get("tags").setEnabled("hidden"!=this.diagramContainer.style.visibility);this.actions.get("find").setEnabled("hidden"!=this.diagramContainer.style.visibility);this.actions.get("layers").setEnabled("hidden"!=this.diagramContainer.style.visibility);this.actions.get("outline").setEnabled("hidden"!=this.diagramContainer.style.visibility); -this.actions.get("rename").setEnabled(null!=c&&c.isRenamable()||"1"==urlParams.embed);this.actions.get("close").setEnabled(null!=c);this.menus.get("publish").setEnabled(null!=c&&!c.isRestricted());a=a.view.getState(a.getSelectionCell());this.actions.get("editShape").setEnabled(b&&null!=a&&null!=a.shape&&null!=a.shape.stencil)};var q=EditorUi.prototype.destroy;EditorUi.prototype.destroy=function(){this.editUpdateListener&&(this.editor.undoManager.removeListener(this.editUpdateListener),this.editUpdateListener= -null);null!=this.exportDialog&&(this.exportDialog.parentNode.removeChild(this.exportDialog),this.exportDialog=null);q.apply(this,arguments)};null!=window.ExportDialog&&(ExportDialog.showXmlOption=!1,ExportDialog.showGifOption=!1,ExportDialog.exportFile=function(a,b,c,d,e,g,k){var f=a.editor.graph;if("xml"==c)a.hideDialog(),a.saveData(b,"xml",mxUtils.getXml(a.editor.getGraphXml()),"text/xml");else if("svg"==c)a.hideDialog(),a.saveData(b,"svg",mxUtils.getXml(f.getSvg(d,e,g)),"image/svg+xml");else{var l= -a.getFileData(!0,null,null,null,null,!0),n=f.getGraphBounds(),p=Math.floor(n.width*e/f.view.scale),m=Math.floor(n.height*e/f.view.scale);if(l.length<=MAX_REQUEST_SIZE&&p*m<MAX_AREA)if(a.hideDialog(),"png"!=c&&"jpg"!=c&&"jpeg"!=c||!a.isExportToCanvas()){var t={globalVars:f.getExportVariables()};a.saveRequest(b,c,function(a,b){return new mxXmlRequest(EXPORT_URL,"format="+c+"&base64="+(b||"0")+(null!=a?"&filename="+encodeURIComponent(a):"")+"&extras="+encodeURIComponent(JSON.stringify(t))+(0<k?"&dpi="+ -k:"")+"&bg="+(null!=d?d:"none")+"&w="+p+"&h="+m+"&border="+g+"&xml="+encodeURIComponent(l))})}else"png"==c?a.exportImage(e,null==d||"none"==d,!0,!1,!1,g,!0,!1,null,null,k):a.exportImage(e,!1,!0,!1,!1,g,!0,!1,"jpeg");else mxUtils.alert(mxResources.get("drawingTooLarge"))}});EditorUi.prototype.updateEditReferences=function(a){for(var b=0;b<a.changes.length;b++){var c=a.changes[b];if(null!=c&&c.constructor==mxChildChange&&null!=c.child){var d=c.child;if(null!=d.source&&null!=d.source.id){var f=this.getFutureCellForEdit(c.model, -a,d.source.id);f!=d.source&&(d.source=f)}null!=d.target&&null!=d.target.id&&(c=this.getFutureCellForEdit(c.model,a,d.target.id),c!=d.target&&(d.target=c))}}};EditorUi.prototype.getFutureCellForEdit=function(a,b,c){var d=a.getCell(c);if(null==d)for(var f=b.changes.length-1;0<=f;f--){var e=b.changes[f];if(e.constructor==mxChildChange&&null!=e.child&&e.child.id==c){a.contains(e.previous)&&(d=e.child);break}}return d};EditorUi.prototype.getDiagramTextContent=function(){this.editor.graph.setEnabled(!1); -var a=this.editor.graph,b="";if(null!=this.pages)for(var c=0;c<this.pages.length;c++){var d=a;this.currentPage!=this.pages[c]&&(d=this.createTemporaryGraph(a.getStylesheet()),d.model.setRoot(this.pages[c].root));b+=this.pages[c].getName()+" "+d.getIndexableText()+" "}else b=a.getIndexableText();this.editor.graph.setEnabled(!0);return b};EditorUi.prototype.showRemotelyStoredLibrary=function(a){var b={},c=document.createElement("div");c.style.whiteSpace="nowrap";var d=document.createElement("h3");mxUtils.write(d, -mxUtils.htmlEntities(a));d.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";c.appendChild(d);var e=document.createElement("div");e.style.cssText="border:1px solid lightGray;overflow: auto;height:300px";e.innerHTML='<div style="text-align:center;padding:8px;"><img src="/images/spin.gif"></div>';var f={};try{var g=mxSettings.getCustomLibraries();for(a=0;a<g.length;a++){var k=g[a];if("R"==k.substring(0,1)){var n=JSON.parse(decodeURIComponent(k.substring(1)));f[n[0]]={id:n[0], -title:n[1],downloadUrl:n[2]}}}}catch(x){}this.remoteInvoke("getCustomLibraries",null,null,function(a){e.innerHTML="";if(0==a.length)e.innerHTML='<div style="text-align:center;padding-top:20px;color:gray;">'+mxUtils.htmlEntities(mxResources.get("noLibraries"))+"</div>";else for(var c=0;c<a.length;c++){var d=a[c];f[d.id]&&(b[d.id]=d);var g=this.addCheckbox(e,d.title,f[d.id]);(function(a,c){mxEvent.addListener(c,"change",function(){this.checked?b[a.id]=a:delete b[a.id]})})(d,g)}},mxUtils.bind(this,function(a){e.innerHTML= -"";var b=document.createElement("div");b.style.padding="8px";b.style.textAlign="center";mxUtils.write(b,mxResources.get("error")+": ");mxUtils.write(b,null!=a&&null!=a.message?a.message:mxResources.get("unknownError"));e.appendChild(b)}));c.appendChild(e);c=new CustomDialog(this,c,mxUtils.bind(this,function(){this.spinner.spin(document.body,mxResources.get("loading"));var a=0,c;for(c in b)null==f[c]&&(a++,mxUtils.bind(this,function(b){this.remoteInvoke("getFileContent",[b.downloadUrl],null,mxUtils.bind(this, -function(c){a--;0==a&&this.spinner.stop();try{this.loadLibrary(new RemoteLibrary(this,c,b))}catch(F){this.handleError(F,mxResources.get("errorLoadingFile"))}}),mxUtils.bind(this,function(){a--;0==a&&this.spinner.stop();this.handleError(null,mxResources.get("errorLoadingFile"))}))})(b[c]));for(c in f)b[c]||this.closeLibrary(new RemoteLibrary(this,null,f[c]));0==a&&this.spinner.stop()}),null,null,"https://desk.draw.io/support/solutions/articles/16000092763");this.showDialog(c.container,340,375,!0,!0, -null,null,null,null,!0)};EditorUi.prototype.remoteInvokableFns={getDiagramTextContent:{isAsync:!1}};EditorUi.prototype.remoteInvokeCallbacks=[];EditorUi.prototype.remoteInvokeQueue=[];EditorUi.prototype.handleRemoteInvokeReady=function(a){this.remoteWin=a;for(var b=0;b<this.remoteInvokeQueue.length;b++)a.postMessage(this.remoteInvokeQueue[b],"*");this.remoteInvokeQueue=[]};EditorUi.prototype.handleRemoteInvokeResponse=function(a){var b=a.msgMarkers,c=this.remoteInvokeCallbacks[b.callbackId];a.error? -c.error&&c.error(a.error.errResp):c.callback&&c.callback.apply(this,a.resp);this.remoteInvokeCallbacks[b.callbackId]=null};EditorUi.prototype.remoteInvoke=function(a,b,c,d,e){var f=!0,g=window.setTimeout(mxUtils.bind(this,function(){f=!1;e({code:App.ERROR_TIMEOUT,message:mxResources.get("timeout")})}),this.timeout),k=mxUtils.bind(this,function(){window.clearTimeout(g);f&&d.apply(this,arguments)});c=c||{};c.callbackId=this.remoteInvokeCallbacks.length;this.remoteInvokeCallbacks.push({callback:k,error:e}); -a=JSON.stringify({event:"remoteInvoke",funtionName:a,functionArgs:b,msgMarkers:c});null!=this.remoteWin?this.remoteWin.postMessage(a,"*"):this.remoteInvokeQueue.push(a)};EditorUi.prototype.handleRemoteInvoke=function(a){var b=mxUtils.bind(this,function(b,c){var d={event:"remoteInvokeResponse",msgMarkers:a.msgMarkers};null!=c?d.error={errResp:c}:null!=b&&(d.resp=b);this.remoteWin.postMessage(JSON.stringify(d),"*")});try{var c=a.funtionName,d=this.remoteInvokableFns[c];if(null!=d&&"function"===typeof this[c]){var e= -a.functionArgs;Array.isArray(e)||(e=[]);if(d.isAsync)e.push(function(){b(Array.prototype.slice.apply(arguments))}),e.push(function(a){b(null,a||"Unkown Error")}),this[c].apply(this,e);else{var f=this[c].apply(this,e);b([f])}}else b(null,"Invalid Call: "+c+" is not found.")}catch(z){b(null,"Invalid Call: An error occured, "+z.message)}};EditorUi.prototype.commentsSupported=function(){var a=this.getCurrentFile();return null!=a?a.commentsSupported():!1};EditorUi.prototype.commentsRefreshNeeded=function(){var a= -this.getCurrentFile();return null!=a?a.commentsRefreshNeeded():!0};EditorUi.prototype.commentsSaveNeeded=function(){var a=this.getCurrentFile();return null!=a?a.commentsSaveNeeded():!1};EditorUi.prototype.getComments=function(a,b){var c=this.getCurrentFile();null!=c?c.getComments(a,b):a([])};EditorUi.prototype.addComment=function(a,b,c){var d=this.getCurrentFile();null!=d?d.addComment(a,b,c):b(Date.now())};EditorUi.prototype.canReplyToReplies=function(){var a=this.getCurrentFile();return null!=a? -a.canReplyToReplies():!0};EditorUi.prototype.canComment=function(){var a=this.getCurrentFile();return null!=a?a.canComment():!0};EditorUi.prototype.newComment=function(a,b){var c=this.getCurrentFile();return null!=c?c.newComment(a,b):new DrawioComment(this,null,a,Date.now(),Date.now(),!1,b)};EditorUi.prototype.isRevisionHistorySupported=function(){var a=this.getCurrentFile();return null!=a&&a.isRevisionHistorySupported()};EditorUi.prototype.getRevisions=function(a,b){var c=this.getCurrentFile();null!= -c&&c.getRevisions?c.getRevisions(a,b):b({message:mxResources.get("unknownError")})};EditorUi.prototype.isRevisionHistoryEnabled=function(){var a=this.getCurrentFile();return null!=a&&(a.constructor==DriveFile&&a.isEditable()||a.constructor==DropboxFile)};EditorUi.prototype.getServiceName=function(){return"draw.io"};EditorUi.prototype.addRemoteServiceSecurityCheck=function(a){a.setRequestHeader("Content-Language","da, mi, en, de-DE")}})(); -var CommentsWindow=function(a,c,b,d,g,e){function k(){for(var a=C.getElementsByTagName("div"),b=0,c=0;c<a.length;c++)"none"!=a[c].style.display&&a[c].parentNode==C&&b++;x.style.display=0==b?"block":"none"}function m(a,b,c,d){function e(){b.removeChild(l);b.removeChild(n);g.style.display="block";f.style.display="block"}t={div:b,comment:a,saveCallback:c,deleteOnCancel:d};var f=b.querySelector(".geCommentTxt"),g=b.querySelector(".geCommentActionsList"),l=document.createElement("textarea");l.className= -"geCommentEditTxtArea";l.style.minHeight=f.offsetHeight+"px";l.value=a.content;b.insertBefore(l,f);var n=document.createElement("div");n.className="geCommentEditBtns";var m=mxUtils.button(mxResources.get("cancel"),function(){d?(b.parentNode.removeChild(b),k()):e();t=null});m.className="geCommentEditBtn";n.appendChild(m);var p=mxUtils.button(mxResources.get("save"),function(){f.innerHTML="";a.content=l.value;mxUtils.write(f,a.content);e();c(a);t=null});mxEvent.addListener(l,"keydown",mxUtils.bind(this, +e,g,!0))})):0<=mxUtils.indexOf(a.dataTransfer.types,"text/plain")&&b.setSelectionCells(this.insertTextAt(a.dataTransfer.getData("text/plain"),e,g,!0))}}a.stopPropagation();a.preventDefault()}),!1)}this.initPages();"1"==urlParams.embed&&this.initializeEmbedMode();this.installSettings()};EditorUi.prototype.installImagePasteHandler=function(){if(!mxClient.IS_IE){var a=this.editor.graph;a.container.addEventListener("paste",mxUtils.bind(this,function(b){if(!mxEvent.isConsumed(b))try{for(var c=b.clipboardData|| +b.originalEvent.clipboardData,d=!1,f=0;f<c.types.length;f++)if("text/"===c.types[f].substring(0,5)){d=!0;break}if(!d){var e=c.items;for(index in e){var g=e[index];if("file"===g.kind){if(a.isEditing())this.importFiles([g.getAsFile()],0,0,this.maxImageSize,function(b,c,d,f,e,g){a.insertImage(b,e,g)},function(){},function(a){return"image/"==a.type.substring(0,6)},function(a){for(var b=0;b<a.length;b++)a[b]()});else{var l=this.editor.graph.getInsertPoint();this.importFiles([g.getAsFile()],l.x,l.y,this.maxImageSize); +mxEvent.consume(b)}break}}}}catch(C){}}),!1)}};EditorUi.prototype.installNativeClipboardHandler=function(){function a(){window.setTimeout(function(){c.innerHTML=" ";c.focus();document.execCommand("selectAll",!1,null)},0)}var b=this.editor.graph,c=document.createElement("div");c.setAttribute("autocomplete","off");c.setAttribute("autocorrect","off");c.setAttribute("autocapitalize","off");c.setAttribute("spellcheck","false");c.style.textRendering="optimizeSpeed";c.style.fontFamily="monospace";c.style.wordBreak= +"break-all";c.style.background="transparent";c.style.color="transparent";c.style.position="absolute";c.style.whiteSpace="nowrap";c.style.overflow="hidden";c.style.display="block";c.style.fontSize="1";c.style.zIndex="-1";c.style.resize="none";c.style.outline="none";c.style.width="1px";c.style.height="1px";mxUtils.setOpacity(c,0);c.contentEditable=!0;c.innerHTML=" ";var d=!1;this.keyHandler.bindControlKey(88,null);this.keyHandler.bindControlKey(67,null);this.keyHandler.bindControlKey(86,null); +mxEvent.addListener(document,"keydown",mxUtils.bind(this,function(a){var f=mxEvent.getSource(a);null==b.container||!b.isEnabled()||b.isMouseDown||b.isEditing()||null!=this.dialog||"INPUT"==f.nodeName||"TEXTAREA"==f.nodeName||!(224==a.keyCode||!mxClient.IS_MAC&&17==a.keyCode||mxClient.IS_MAC&&91==a.keyCode)||d||(c.style.left=b.container.scrollLeft+10+"px",c.style.top=b.container.scrollTop+10+"px",b.container.appendChild(c),d=!0,mxClient.IS_QUIRKS?window.setTimeout(function(){c.focus();document.execCommand("selectAll", +!1,null)},0):(c.focus(),document.execCommand("selectAll",!1,null)))}));mxEvent.addListener(document,"keyup",mxUtils.bind(this,function(a){var f=a.keyCode;window.setTimeout(mxUtils.bind(this,function(){!d||224!=f&&17!=f&&91!=f||(d=!1,b.isEditing()||null!=this.dialog||null==b.container||b.container.focus(),c.parentNode.removeChild(c),null==this.dialog&&mxUtils.clearSelection())}),0)}));mxEvent.addListener(c,"copy",mxUtils.bind(this,function(d){if(b.isEnabled())try{mxClipboard.copy(b),this.copyCells(c), +a()}catch(z){this.handleError(z)}}));mxEvent.addListener(c,"cut",mxUtils.bind(this,function(d){if(b.isEnabled())try{mxClipboard.copy(b),this.copyCells(c,!0),a()}catch(z){this.handleError(z)}}));mxEvent.addListener(c,"paste",mxUtils.bind(this,function(a){b.isEnabled()&&!b.isCellLocked(b.getDefaultParent())&&((new Date).getTime(),c.innerHTML=" ",c.focus(),null!=a.clipboardData&&this.pasteCells(a,c,!0),mxEvent.isConsumed(a)||window.setTimeout(mxUtils.bind(this,function(){this.pasteCells(a,c,!1)}), +0))}),!0);var e=this.isSelectionAllowed;this.isSelectionAllowed=function(a){return mxEvent.getSource(a)==c?!0:e.apply(this,arguments)}};EditorUi.prototype.getLinkTitle=function(a){var b=Graph.prototype.getLinkTitle.apply(this,arguments);if("data:page/id,"==a.substring(0,13)){var c=a.indexOf(",");0<c&&(b=this.getPageById(a.substring(c+1)),b=null!=b?b.getName():mxResources.get("pageNotFound"))}else"data:"==a.substring(0,5)&&(b=mxResources.get("action"));return b};EditorUi.prototype.handleCustomLink= +function(a){if("data:page/id,"==a.substring(0,13)){var b=a.indexOf(",");if(a=this.getPageById(a.substring(b+1)))this.selectPage(a);else throw Error(mxResources.get("pageNotFound")||"Page not found");}else this.editor.graph.handleCustomLink(a)};EditorUi.prototype.isSettingsEnabled=function(){return"undefined"!==typeof window.mxSettings&&(isLocalStorage||mxClient.IS_CHROMEAPP)};EditorUi.prototype.installSettings=function(){if(this.isSettingsEnabled()){ColorDialog.recentColors=mxSettings.getRecentColors(); +if(isLocalStorage)try{window.addEventListener("storage",mxUtils.bind(this,function(a){a.key==mxSettings.key&&(mxSettings.load(),ColorDialog.recentColors=mxSettings.getRecentColors(),this.menus.customFonts=mxSettings.getCustomFonts())}),!1)}catch(f){}this.fireEvent(new mxEventObject("styleChanged","keys",[],"values",[],"cells",[]));this.menus.customFonts=mxSettings.getCustomFonts();this.addListener("customFontsChanged",mxUtils.bind(this,function(a,b){mxSettings.setCustomFonts(this.menus.customFonts); +mxSettings.save()}));this.editor.graph.connectionHandler.setCreateTarget(mxSettings.isCreateTarget());this.fireEvent(new mxEventObject("copyConnectChanged"));this.addListener("copyConnectChanged",mxUtils.bind(this,function(a,b){mxSettings.setCreateTarget(this.editor.graph.connectionHandler.isCreateTarget());mxSettings.save()}));this.editor.graph.pageFormat=mxSettings.getPageFormat();this.addListener("pageFormatChanged",mxUtils.bind(this,function(a,b){mxSettings.setPageFormat(this.editor.graph.pageFormat); +mxSettings.save()}));this.editor.graph.view.gridColor=mxSettings.getGridColor("dark"==uiTheme);this.addListener("gridColorChanged",mxUtils.bind(this,function(a,b){console.log("gridColorChanged",this.editor.graph.view.gridColor);mxSettings.setGridColor(this.editor.graph.view.gridColor,"dark"==uiTheme);mxSettings.save()}));if(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)this.editor.addListener("autosaveChanged",mxUtils.bind(this,function(a,b){mxSettings.setAutosave(this.editor.autosave);mxSettings.save()})), +this.editor.autosave=mxSettings.getAutosave();null!=this.sidebar&&this.sidebar.showPalette("search",mxSettings.settings.search);this.editor.chromeless&&!this.editor.editable||null==this.sidebar||!(mxSettings.settings.isNew||8>=parseInt(mxSettings.settings.version||0))||(this.toggleScratchpad(),mxSettings.save());this.addListener("formatWidthChanged",function(){mxSettings.setFormatWidth(this.formatWidth);mxSettings.save()})}};EditorUi.prototype.copyCells=function(a,b){var c=this.editor.graph;if(c.isSelectionEmpty())a.innerHTML= +"";else{var d=mxUtils.sortCells(c.model.getTopmostCells(c.getSelectionCells())),f=mxUtils.getXml(c.encodeCells(d));mxUtils.setTextContent(a,encodeURIComponent(f));b?(c.removeCells(d,!1),c.lastPasteXml=null):(c.lastPasteXml=f,c.pasteCounter=0);a.focus();document.execCommand("selectAll",!1,null)}};EditorUi.prototype.pasteCells=function(a,b,c){if(!mxEvent.isConsumed(a)){var d=b;c&&null!=a.clipboardData&&(d=document.createElement("div"),d.innerHTML=a.clipboardData.getData("text/html"));var f=d.getElementsByTagName("span"); +if(null!=f&&0<f.length&&"application/vnd.lucid.chart.objects"===f[0].getAttribute("data-lucid-type")){var e=f[0].getAttribute("data-lucid-content");null!=e&&0<e.length&&(this.convertLucidChart(e,mxUtils.bind(this,function(a){var b=this.editor.graph;b.lastPasteXml==a?b.pasteCounter++:(b.lastPasteXml=a,b.pasteCounter=0);var c=b.pasteCounter*b.gridSize;b.setSelectionCells(this.importXml(a,c,c));b.scrollCellToVisible(b.getSelectionCell())}),mxUtils.bind(this,function(a){this.handleError(a)})),mxEvent.consume(a))}else{var e= +mxUtils.trim(mxClient.IS_QUIRKS||8==document.documentMode?mxUtils.getTextContent(d):d.textContent),g=!1;try{var l=e.lastIndexOf("%3E");0<=l&&l<e.length-3&&(e=e.substring(0,l+3))}catch(x){}try{var f=d.getElementsByTagName("span"),k=null!=f&&0<f.length?mxUtils.trim(decodeURIComponent(f[0].textContent)):decodeURIComponent(e);this.isCompatibleString(k)&&(g=!0,e=k)}catch(x){}d=this.editor.graph;if(null!=e&&0<e.length){if(d.lastPasteXml==e?d.pasteCounter++:(d.lastPasteXml=e,d.pasteCounter=0),c=d.pasteCounter* +d.gridSize,g||this.isCompatibleString(e)?d.setSelectionCells(this.importXml(e,c,c)):(g=d.getInsertPoint(),d.isMouseInsertPoint()&&(c=0,d.lastPasteXml==e&&0<d.pasteCounter&&d.pasteCounter--),d.setSelectionCells(this.insertTextAt(e,g.x+c,g.y+c,!0))),!d.isSelectionEmpty()){d.scrollCellToVisible(d.getSelectionCell());null!=this.hoverIcons&&this.hoverIcons.update(d.view.getState(d.getSelectionCell()));try{mxEvent.consume(a)}catch(x){}}}else c||(d.lastPasteXml=null,d.pasteCounter=0)}}b.innerHTML=" "}; +EditorUi.prototype.addFileDropHandler=function(a){if(Graph.fileSupport)for(var b=null,c=0;c<a.length;c++)mxEvent.addListener(a[c],"dragleave",function(a){null!=b&&(b.parentNode.removeChild(b),b=null);a.stopPropagation();a.preventDefault()}),mxEvent.addListener(a[c],"dragover",mxUtils.bind(this,function(a){(this.editor.graph.isEnabled()||"1"!=urlParams.embed)&&null==b&&(!mxClient.IS_IE||10<document.documentMode&&12>document.documentMode)&&(b=this.highlightElement());a.stopPropagation();a.preventDefault()})), +mxEvent.addListener(a[c],"drop",mxUtils.bind(this,function(a){null!=b&&(b.parentNode.removeChild(b),b=null);if(this.editor.graph.isEnabled()||"1"!=urlParams.embed)if(0<a.dataTransfer.files.length)this.hideDialog(),"1"==urlParams.embed?this.importFiles(a.dataTransfer.files,0,0,this.maxImageSize,null,null,null,null,!mxEvent.isControlDown(a)&&!mxEvent.isShiftDown(a)):this.openFiles(a.dataTransfer.files,!0);else{var c=this.extractGraphModelFromEvent(a);if(null==c){var d=null!=a.dataTransfer?a.dataTransfer: +a.clipboardData;null!=d&&(10==document.documentMode||11==document.documentMode?c=d.getData("Text"):(c=null,c=0<=mxUtils.indexOf(d.types,"text/uri-list")?a.dataTransfer.getData("text/uri-list"):0<=mxUtils.indexOf(d.types,"text/html")?d.getData("text/html"):null,null!=c&&0<c.length?(d=document.createElement("div"),d.innerHTML=c,d=d.getElementsByTagName("img"),0<d.length&&(c=d[0].getAttribute("src"))):0<=mxUtils.indexOf(d.types,"text/plain")&&(c=d.getData("text/plain"))),null!=c&&("data:image/png;base64,"== +c.substring(0,22)?(c=this.extractGraphModelFromPng(c),null!=c&&0<c.length&&this.openLocalFile(c,null,!0)):!this.isOffline()&&this.isRemoteFileFormat(c)?(new mxXmlRequest(OPEN_URL,"format=xml&data="+encodeURIComponent(c))).send(mxUtils.bind(this,function(a){200<=a.getStatus()&&299>=a.getStatus()&&this.openLocalFile(a.getText(),null,!0)})):/^https?:\/\//.test(c)&&(null==this.getCurrentFile()?window.location.hash="#U"+encodeURIComponent(c):window.openWindow((mxClient.IS_CHROMEAPP?EditorUi.drawHost+"/": +"https://"+location.host+"/")+window.location.search+"#U"+encodeURIComponent(c)))))}else this.openLocalFile(c,null,!0)}a.stopPropagation();a.preventDefault()}))};EditorUi.prototype.highlightElement=function(a){var b=0,c=0,d,f;if(null==a){f=document.body;var e=document.documentElement;d=(f.clientWidth||e.clientWidth)-3;f=Math.max(f.clientHeight||0,e.clientHeight)-3}else b=a.offsetTop,c=a.offsetLeft,d=a.clientWidth,f=a.clientHeight;e=document.createElement("div");e.style.zIndex=mxPopupMenu.prototype.zIndex+ +2;e.style.border="3px dotted rgb(254, 137, 12)";e.style.pointerEvents="none";e.style.position="absolute";e.style.top=b+"px";e.style.left=c+"px";e.style.width=Math.max(0,d-3)+"px";e.style.height=Math.max(0,f-3)+"px";null!=a&&a.parentNode==this.editor.graph.container?this.editor.graph.container.appendChild(e):document.body.appendChild(e);return e};EditorUi.prototype.stringToCells=function(a){a=mxUtils.parseXml(a);var b=this.editor.extractGraphModel(a.documentElement);a=[];if(null!=b){var c=new mxCodec(b.ownerDocument), +d=new mxGraphModel;c.decode(b,d);b=d.getChildAt(d.getRoot(),0);for(c=0;c<d.getChildCount(b);c++)a.push(d.getChildAt(b,c))}return a};EditorUi.prototype.openFiles=function(a,b){if(this.spinner.spin(document.body,mxResources.get("loading")))for(var c=0;c<a.length;c++)mxUtils.bind(this,function(a){var c=new FileReader;c.onload=mxUtils.bind(this,function(c){try{var d=c.target.result,f=a.name;if(null!=f&&0<f.length){!this.useCanvasForExport&&/(\.png)$/i.test(f)&&(f=f.substring(0,f.length-4)+".drawio"); +var e=mxUtils.bind(this,function(a){f=0<=f.lastIndexOf(".")?f.substring(0,f.lastIndexOf("."))+".drawio":f+".drawio";if("<mxlibrary"==a.substring(0,10)){null==this.getCurrentFile()&&"1"!=urlParams.embed&&this.openLocalFile(this.emptyDiagramXml,this.defaultFilename,b);try{this.loadLibrary(new LocalLibrary(this,a,f))}catch(A){this.handleError(A,mxResources.get("errorLoadingFile"))}}else this.openLocalFile(a,f,b)});if(/(\.v(dx|sdx?))($|\?)/i.test(f)||/(\.vs(x|sx?))($|\?)/i.test(f))this.importVisio(a, +mxUtils.bind(this,function(a){this.spinner.stop();e(a)}));else if(/(\.*<graphml )/.test(d))this.importGraphML(d,mxUtils.bind(this,function(a){this.spinner.stop();e(a)}));else if(Graph.fileSupport&&!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(d,f))this.parseFile(a,mxUtils.bind(this,function(a){4==a.readyState&&(this.spinner.stop(),200<=a.status&&299>=a.status?e(a.responseText):this.handleError({message:mxResources.get(413==a.status?"drawingTooLarge":"invalidOrMissingFile")}, +mxResources.get("errorLoadingFile")))}));else if(this.isLucidChartData(d))/(\.json)$/i.test(f)&&(f=f.substring(0,f.length-5)+".drawio"),this.convertLucidChart(d,mxUtils.bind(this,function(a){this.spinner.stop();this.openLocalFile(a,f,b)}),mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a)}));else if("<mxlibrary"==c.target.result.substring(0,10)){this.spinner.stop();null==this.getCurrentFile()&&"1"!=urlParams.embed&&this.openLocalFile(this.emptyDiagramXml,this.defaultFilename,b); +try{this.loadLibrary(new LocalLibrary(this,c.target.result,a.name))}catch(x){this.handleError(x,mxResources.get("errorLoadingFile"))}}else 0==d.indexOf("PK")?this.importZipFile(a,mxUtils.bind(this,function(a){this.spinner.stop();e(a)}),mxUtils.bind(this,function(){this.spinner.stop();this.openLocalFile(d,f,b)})):("image/png"==a.type.substring(0,9)&&(d=this.extractGraphModelFromPng(d)),this.spinner.stop(),this.openLocalFile(d,f,b))}}catch(x){this.handleError(x)}});c.onerror=mxUtils.bind(this,function(a){this.spinner.stop(); +this.handleError(a);window.openFile=null});"image"===a.type.substring(0,5)&&"image/svg"!==a.type.substring(0,9)?c.readAsDataURL(a):c.readAsText(a)})(a[c])};EditorUi.prototype.openLocalFile=function(a,b,c){var d=this.getCurrentFile(),f=mxUtils.bind(this,function(){window.openFile=null;if(null==b&&null!=this.getCurrentFile()&&this.isDiagramEmpty()){var d=mxUtils.parseXml(a);null!=d&&(this.editor.setGraphXml(d.documentElement),this.editor.graph.selectAll())}else this.fileLoaded(new LocalFile(this,a, +b||this.defaultFilename,c))});if(null!=a&&0<a.length)null==d||!d.isModified()&&(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)?f():(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)&&null!=d&&d.isModified()?this.confirm(mxResources.get("allChangesLost"),null,f,mxResources.get("cancel"),mxResources.get("discardChanges")):(window.openFile=new OpenFile(function(){window.openFile=null}),window.openFile.setData(a,b),window.openWindow(this.getUrl(),null,mxUtils.bind(this,function(){null!=d&&d.isModified()? +this.confirm(mxResources.get("allChangesLost"),null,f,mxResources.get("cancel"),mxResources.get("discardChanges")):f()})));else throw Error(mxResources.get("notADiagramFile"));};EditorUi.prototype.getBasenames=function(){var a={};if(null!=this.pages)for(var b=0;b<this.pages.length;b++)this.updatePageRoot(this.pages[b]),this.addBasenamesForCell(this.pages[b].root,a);else this.addBasenamesForCell(this.editor.graph.model.getRoot(),a);var b=[],c;for(c in a)b.push(c);return b};EditorUi.prototype.addBasenamesForCell= +function(a,b){function c(a){if(null!=a){var c=a.lastIndexOf(".");0<c&&(a=a.substring(c+1,a.length));null==b[a]&&(b[a]=!0)}}var d=this.editor.graph,f=d.getCellStyle(a);c(mxStencilRegistry.getBasenameForStencil(f[mxConstants.STYLE_SHAPE]));d.model.isEdge(a)&&(c(mxMarker.getPackageForType(f[mxConstants.STYLE_STARTARROW])),c(mxMarker.getPackageForType(f[mxConstants.STYLE_ENDARROW])));for(var f=d.model.getChildCount(a),e=0;e<f;e++)this.addBasenamesForCell(d.model.getChildAt(a,e),b)};EditorUi.prototype.setGraphEnabled= +function(a){this.diagramContainer.style.visibility=a?"":"hidden";this.formatContainer.style.visibility=a?"":"hidden";this.sidebarFooterContainer.style.display=a?"":"none";this.sidebarContainer.style.display=a?"":"none";this.hsplit.style.display=a?"":"none";this.editor.graph.setEnabled(a);null!=this.ruler&&(this.ruler.hRuler.container.style.visibility=a?"":"hidden",this.ruler.vRuler.container.style.visibility=a?"":"hidden");null!=this.tabContainer&&(this.tabContainer.style.visibility=a?"":"hidden"); +a||(null!=this.actions.outlineWindow&&this.actions.outlineWindow.window.setVisible(!1),null!=this.actions.layersWindow&&this.actions.layersWindow.window.setVisible(!1),null!=this.menus.tagsWindow&&this.menus.tagsWindow.window.setVisible(!1),null!=this.menus.findWindow&&this.menus.findWindow.window.setVisible(!1))};EditorUi.prototype.initializeEmbedMode=function(){this.setGraphEnabled(!1);(window.opener||window.parent)!=window&&("1"!=urlParams.spin||this.spinner.spin(document.body,mxResources.get("loading")))&& +this.installMessageHandler(mxUtils.bind(this,function(a,b,c){this.spinner.stop();this.addEmbedButtons();this.setGraphEnabled(!0);null!=a&&0<a.length?(this.setFileData(a),this.editor.isChromelessView()?this.editor.graph.isLightboxView()&&this.lightboxFit():this.showLayersDialog(),this.chromelessResize&&this.chromelessResize()):(this.editor.graph.model.clear(),this.editor.fireEvent(new mxEventObject("resetGraphView")));this.editor.undoManager.clear();this.editor.modified=null!=c?c:!1;this.updateUi(); +window.self!==window.top&&window.focus();null!=this.format&&this.format.refresh()}))};EditorUi.prototype.showLayersDialog=function(){1<this.editor.graph.getModel().getChildCount(this.editor.graph.getModel().getRoot())&&(null==this.actions.layersWindow?this.actions.get("layers").funct():this.actions.layersWindow.window.setVisible(!0))};EditorUi.prototype.getPublicUrl=function(a,b){null!=a?a.getPublicUrl(b):b(null)};EditorUi.prototype.createLoadMessage=function(a){var b=this.editor.graph;return{event:a, +pageVisible:b.pageVisible,translate:b.view.translate,bounds:b.getGraphBounds(),currentPage:this.getSelectedPageIndex(),scale:b.view.scale,page:b.view.getBackgroundPageBounds()}};EditorUi.prototype.installMessageHandler=function(a){var b=null,c=!1,d=!1,f=null,e=mxUtils.bind(this,function(a,b){this.editor.modified&&"0"!=urlParams.modified?null!=urlParams.modified&&this.editor.setStatus(mxUtils.htmlEntities(mxResources.get(urlParams.modified))):this.editor.setStatus("")});this.editor.graph.model.addListener(mxEvent.CHANGE, +e);mxEvent.addListener(window,"message",mxUtils.bind(this,function(e){if(e.source==(window.opener||window.parent)){var k=e.data,l=mxUtils.bind(this,function(a){if(null!=a&&"function"===typeof a.charAt&&"<"!=a.charAt(0))try{"data:image/png;base64,"==a.substring(0,22)?a=this.extractGraphModelFromPng(a):"data:image/svg+xml;base64,"==a.substring(0,26)?a=atob(a.substring(26)):"data:image/svg+xml;utf8,"==a.substring(0,24)&&(a=a.substring(24)),null!=a&&("%"==a.charAt(0)?a=decodeURIComponent(a):"<"!=a.charAt(0)&& +(a=Graph.decompress(a)))}catch(Y){}return a});if("json"==urlParams.proto){try{k=JSON.parse(k)}catch(N){k=null}if(null==k)return;if("dialog"==k.action){this.showError(null!=k.titleKey?mxResources.get(k.titleKey):k.title,null!=k.messageKey?mxResources.get(k.messageKey):k.message,null!=k.buttonKey?mxResources.get(k.buttonKey):k.button);null!=k.modified&&(this.editor.modified=k.modified);return}if("prompt"==k.action){this.spinner.stop();l=new FilenameDialog(this,k.defaultValue||"",null!=k.okKey?mxResources.get(k.okKey): +null,function(a){null!=a&&g.postMessage(JSON.stringify({event:"prompt",value:a,message:k}),"*")},null!=k.titleKey?mxResources.get(k.titleKey):k.title);this.showDialog(l.container,300,80,!0,!1);l.init();return}if("draft"==k.action){var p=l(k.xml);this.spinner.stop();l=new DraftDialog(this,mxResources.get("draftFound",[k.name||this.defaultFilename]),p,mxUtils.bind(this,function(){this.hideDialog();g.postMessage(JSON.stringify({event:"draft",result:"edit",message:k}),"*")}),mxUtils.bind(this,function(){this.hideDialog(); +g.postMessage(JSON.stringify({event:"draft",result:"discard",message:k}),"*")}),k.editKey?mxResources.get(k.editKey):null,k.discardKey?mxResources.get(k.discardKey):null,k.ignore?mxUtils.bind(this,function(){this.hideDialog();g.postMessage(JSON.stringify({event:"draft",result:"ignore",message:k}),"*")}):null);this.showDialog(l.container,640,480,!0,!1,mxUtils.bind(this,function(a){a&&this.actions.get("exit").funct()}));try{l.init()}catch(N){g.postMessage(JSON.stringify({event:"draft",error:N.toString(), +message:k}),"*")}return}if("template"==k.action){this.spinner.stop();var l=1==k.enableRecent,p=1==k.enableSearch,n=1==k.enableCustomTemp,l=new NewDialog(this,!1,null!=k.callback,mxUtils.bind(this,function(b,c){b=b||this.emptyDiagramXml;null!=k.callback?g.postMessage(JSON.stringify({event:"template",xml:b,blank:b==this.emptyDiagramXml,name:c}),"*"):(a(b,e,b!=this.emptyDiagramXml),this.editor.modified||this.editor.setStatus(""))}),null,null,null,null,null,null,null,l?mxUtils.bind(this,function(a){this.remoteInvoke("getRecentDiagrams", +null,null,a,function(){a(null,"Network Error!")})}):null,p?mxUtils.bind(this,function(a,b){this.remoteInvoke("searchDiagrams",[a],null,b,function(){b(null,"Network Error!")})}):null,mxUtils.bind(this,function(a,b,c){g.postMessage(JSON.stringify({event:"template",docUrl:a,info:b,name:c}),"*")}),null,null,n?mxUtils.bind(this,function(a){this.remoteInvoke("getCustomTemplates",null,null,a,function(){a({},0)})}):null);this.showDialog(l.container,620,440,!0,!1,mxUtils.bind(this,function(a){a&&this.actions.get("exit").funct()})); +l.init();return}if("textContent"==k.action){l=this.getDiagramTextContent();g.postMessage(JSON.stringify({event:"textContent",data:l,message:k}),"*");return}if("status"==k.action){null!=k.messageKey?this.editor.setStatus(mxUtils.htmlEntities(mxResources.get(k.messageKey))):null!=k.message&&this.editor.setStatus(mxUtils.htmlEntities(k.message));null!=k.modified&&(this.editor.modified=k.modified);return}if("spinner"==k.action){var m=null!=k.messageKey?mxResources.get(k.messageKey):k.message;null==k.show|| +k.show?this.spinner.spin(document.body,m):this.spinner.stop();return}if("export"==k.action){if("png"==k.format||"xmlpng"==k.format){if(null==k.spin&&null==k.spinKey||this.spinner.spin(document.body,null!=k.spinKey?mxResources.get(k.spinKey):k.spin)){var q=null!=k.xml?k.xml:this.getFileData(!0);this.editor.graph.setEnabled(!1);var t=this.editor.graph,u=mxUtils.bind(this,function(a){this.editor.graph.setEnabled(!0);this.spinner.stop();var b=this.createLoadMessage("export");b.format=k.format;b.message= +k;b.data=a;b.xml=encodeURIComponent(q);g.postMessage(JSON.stringify(b),"*")}),v=mxUtils.bind(this,function(a){null==a&&(a=Editor.blankImage);"xmlpng"==k.format&&(a=this.writeGraphModelToPng(a,"tEXt","mxfile",encodeURIComponent(q)));t!=this.editor.graph&&t.container.parentNode.removeChild(t.container);u(a)}),p=k.pageId||(null!=this.pages?this.pages[0].getId():null);if(this.isExportToCanvas()){if(null!=this.pages&&this.currentPage.getId()!=p){for(var y=t.getGlobalVariable,t=this.createTemporaryGraph(t.getStylesheet()), +E,l=0;l<this.pages.length;l++)if(this.pages[l].getId()==p){E=this.updatePageRoot(this.pages[l]);break}t.getGlobalVariable=function(a){return"page"==a?E.getName():"pagenumber"==a?1:y.apply(this,arguments)};document.body.appendChild(t.container);t.model.setRoot(E.root)}if(null!=k.layerIds){for(var p=t.model,n=p.getChildCells(p.getRoot()),z={},l=0;l<k.layerIds.length;l++)z[k.layerIds[l]]=!0;for(l=0;l<n.length;l++)p.setVisible(n[l],z[n[l].id]||!1)}this.exportToCanvas(mxUtils.bind(this,function(a){v(a.toDataURL("image/png"))}), +null,null,null,mxUtils.bind(this,function(){v(null)}),null,null,k.scale,null,null,null,t)}else(new mxXmlRequest(EXPORT_URL,"format=png&embedXml="+("xmlpng"==k.format?"1":"0")+(null!=p?"&pageId="+p:"")+(null!=k.layerIds?"&extras="+encodeURIComponent(JSON.stringify({layerIds:k.layerIds})):"")+(null!=k.scale?"&scale="+k.scale:"")+"&base64=1&xml="+encodeURIComponent(q))).send(mxUtils.bind(this,function(a){200<=a.getStatus()&&299>=a.getStatus()?u("data:image/png;base64,"+a.getText()):v(null)}),mxUtils.bind(this, +function(){v(null)}))}}else{null!=k.xml&&0<k.xml.length&&this.setFileData(k.xml);m=this.createLoadMessage("export");if("html2"==k.format||"html"==k.format&&("0"!=urlParams.pages||null!=this.pages&&1<this.pages.length))l=this.getXmlFileData(),m.xml=mxUtils.getXml(l),m.data=this.getFileData(null,null,!0,null,null,null,l),m.format=k.format;else if("html"==k.format)q=this.editor.getGraphXml(),m.data=this.getHtml(q,this.editor.graph),m.xml=mxUtils.getXml(q),m.format=k.format;else{mxSvgCanvas2D.prototype.foAltText= +null;l=this.editor.graph.background;l==mxConstants.NONE&&(l=null);m.xml=this.getFileData(!0,null,null,null,null,null,null,null,null,!1);m.format="svg";if(k.embedImages||null==k.embedImages){if(null==k.spin&&null==k.spinKey||this.spinner.spin(document.body,null!=k.spinKey?mxResources.get(k.spinKey):k.spin))this.editor.graph.setEnabled(!1),"xmlsvg"==k.format?this.getEmbeddedSvg(m.xml,this.editor.graph,null,!0,mxUtils.bind(this,function(a){this.editor.graph.setEnabled(!0);this.spinner.stop();m.data= +this.createSvgDataUri(a);g.postMessage(JSON.stringify(m),"*")})):this.convertImages(this.editor.graph.getSvg(l),mxUtils.bind(this,function(a){this.editor.graph.setEnabled(!0);this.spinner.stop();m.data=this.createSvgDataUri(mxUtils.getXml(a));g.postMessage(JSON.stringify(m),"*")}));return}l="xmlsvg"==k.format?this.getEmbeddedSvg(this.getFileData(!0),this.editor.graph,null,!0):mxUtils.getXml(this.editor.graph.getSvg(l));m.data=this.createSvgDataUri(l)}g.postMessage(JSON.stringify(m),"*")}return}if("load"== +k.action)d=1==k.autosave,this.hideDialog(),null!=k.modified&&null==urlParams.modified&&(urlParams.modified=k.modified),null!=k.saveAndExit&&null==urlParams.saveAndExit&&(urlParams.saveAndExit=k.saveAndExit),null!=k.title&&null!=this.buttonContainer&&(p=document.createElement("span"),mxUtils.write(p,k.title),"atlas"==uiTheme?(this.buttonContainer.style.paddingRight="12px",this.buttonContainer.style.paddingTop="6px",this.buttonContainer.style.right="25px"):"min"!=uiTheme&&(this.buttonContainer.style.paddingRight= +"38px",this.buttonContainer.style.paddingTop="6px"),null!=this.embedFilenameSpan&&this.embedFilenameSpan.parentNode.removeChild(this.embedFilenameSpan),this.buttonContainer.appendChild(p),this.embedFilenameSpan=p),k=null!=k.xmlpng?this.extractGraphModelFromPng(k.xmlpng):k.xml;else{"remoteInvokeReady"==k.action?this.handleRemoteInvokeReady(g):"remoteInvoke"==k.action?this.handleRemoteInvoke(k):"remoteInvokeResponse"==k.action?this.handleRemoteInvokeResponse(k):g.postMessage(JSON.stringify({error:"unknownMessage", +data:JSON.stringify(k)}),"*");return}}var Q=mxUtils.bind(this,function(e,k){c=!0;try{a(e,k)}catch(L){this.handleError(L)}c=!1;null!=urlParams.modified&&this.editor.setStatus("");var l=mxUtils.bind(this,function(){return"0"!=urlParams.pages||null!=this.pages&&1<this.pages.length?this.getFileData(!0):mxUtils.getXml(this.editor.getGraphXml())});f=l();d&&null==b&&(b=mxUtils.bind(this,function(a,b){var d=l();if(d!=f&&!c){var e=this.createLoadMessage("autosave");e.xml=d;d=JSON.stringify(e);(window.opener|| +window.parent).postMessage(d,"*")}f=d}),this.editor.graph.model.addListener(mxEvent.CHANGE,b),this.editor.graph.addListener("gridSizeChanged",b),this.editor.graph.addListener("shadowVisibleChanged",b),this.addListener("pageFormatChanged",b),this.addListener("pageScaleChanged",b),this.addListener("backgroundColorChanged",b),this.addListener("backgroundImageChanged",b),this.addListener("foldingEnabledChanged",b),this.addListener("mathEnabledChanged",b),this.addListener("gridEnabledChanged",b),this.addListener("guidesEnabledChanged", +b),this.addListener("pageViewChanged",b));"1"!=urlParams.returnbounds&&"json"!=urlParams.proto||g.postMessage(JSON.stringify(this.createLoadMessage("load")),"*")});null!=k&&"function"===typeof k.substring&&"data:application/vnd.visio;base64,"==k.substring(0,34)?(l="0M8R4KGxGuE"==k.substring(34,45)?"raw.vsd":"raw.vsdx",this.importVisio(this.base64ToBlob(k.substring(k.indexOf(",")+1)),function(a){Q(a,e)},mxUtils.bind(this,function(a){this.handleError(a)}),l)):null!=k&&"function"===typeof k.substring&& +!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(k,"")?this.parseFile(new Blob([k],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){4==a.readyState&&200<=a.status&&299>=a.status&&"<mxGraphModel"==a.responseText.substring(0,13)&&Q(a.responseText,e)}),""):null!=k&&"function"===typeof k.substring&&this.isLucidChartData(k)?this.convertLucidChart(k,mxUtils.bind(this,function(a){Q(a)}),mxUtils.bind(this,function(a){this.handleError(a)})):(k=l(k),Q(k,e))}}));var g= +window.opener||window.parent,e="json"==urlParams.proto?JSON.stringify({event:"init"}):urlParams.ready||"ready";g.postMessage(e,"*")};EditorUi.prototype.addEmbedButtons=function(){if(null!=this.menubar){var a=document.createElement("div");a.style.display="inline-block";a.style.position="absolute";a.style.paddingTop="atlas"==uiTheme?"2px":"0px";a.style.paddingLeft="8px";a.style.paddingBottom="2px";var b=document.createElement("button");b.className="geBigButton";"1"==urlParams.noSaveBtn?(mxUtils.write(b, +mxResources.get("saveAndExit")),b.setAttribute("title",mxResources.get("saveAndExit")),mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("saveAndExit").funct()})),a.appendChild(b)):(mxUtils.write(b,mxResources.get("save")),b.setAttribute("title",mxResources.get("save")+" ("+Editor.ctrlKey+"+S)"),mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("save").funct()})),a.appendChild(b),"1"==urlParams.saveAndExit&&(b=document.createElement("a"),mxUtils.write(b, +mxResources.get("saveAndExit")),b.setAttribute("title",mxResources.get("saveAndExit")),b.className="geBigButton geBigStandardButton",b.style.marginLeft="6px",mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("saveAndExit").funct()})),a.appendChild(b)));b=document.createElement("a");mxUtils.write(b,mxResources.get("exit"));b.setAttribute("title",mxResources.get("exit"));b.className="geBigButton geBigStandardButton";b.style.marginLeft="6px";b.style.marginRight="20px";mxEvent.addListener(b, +"click",mxUtils.bind(this,function(){this.actions.get("exit").funct()}));a.appendChild(b);this.toolbar.container.appendChild(a);this.toolbar.staticElements.push(a);a.style.right="atlas"!=uiTheme?"52px":"42px"}};EditorUi.prototype.showImportCsvDialog=function(){null==this.importCsvDialog&&(this.importCsvDialog=new TextareaDialog(this,mxResources.get("csv")+":",Editor.defaultCsvValue,mxUtils.bind(this,function(a){this.importCsv(a)}),null,null,620,430,null,!0,!0,mxResources.get("import"),this.isOffline()? +null:"https://about.draw.io/import-from-csv-to-drawio/"));this.showDialog(this.importCsvDialog.container,640,520,!0,!0,null,null,null,null,!0);this.importCsvDialog.init()};EditorUi.prototype.executeLayoutList=function(a,b){for(var c=this.editor.graph,d=c.getSelectionCells(),f=0;f<a.length;f++){var e=new window[a[f].layout](c);if(null!=a[f].config)for(var g in a[f].config)e[g]=a[f].config[g];this.executeLayout(function(){e.execute(c.getDefaultParent(),0==d.length?null:d)},f==a.length-1,b)}};EditorUi.prototype.importCsv= +function(a,b){try{var c=a.split("\n"),d=[],f=[],e={};if(0<c.length){var g={},k=null,l=null,n=null,m=null,t=null,B=null,D=null,G=null,H="",J="auto",I="auto",E=null,K=null,Q=40,N=40,Y=100,T=0,L=this.editor.graph;L.getGraphBounds();for(var W=function(){null!=b?b(la):(L.setSelectionCells(la),L.scrollCellToVisible(L.getSelectionCell()))},aa=L.getFreeInsertPoint(),ga=aa.x,ha=aa.y,aa=ha,ca=null,V="auto",G=null,ba=[],R=null,Z=null,X=0;X<c.length&&"#"==c[X].charAt(0);){a=c[X];for(X++;X<c.length&&"\\"==a.charAt(a.length- +1)&&"#"==c[X].charAt(0);)a=a.substring(0,a.length-1)+mxUtils.trim(c[X].substring(1)),X++;if("#"!=a.charAt(1)){var ea=a.indexOf(":");if(0<ea){var P=mxUtils.trim(a.substring(1,ea)),M=mxUtils.trim(a.substring(ea+1));"label"==P?ca=L.sanitizeHtml(M):"labelname"==P&&0<M.length&&"-"!=M?m=M:"labels"==P&&0<M.length&&"-"!=M?t=JSON.parse(M):"style"==P?k=M:"parentstyle"==P?B=M:"stylename"==P&&0<M.length&&"-"!=M?n=M:"styles"==P&&0<M.length&&"-"!=M?l=JSON.parse(M):"identity"==P&&0<M.length&&"-"!=M?D=M:"parent"== +P&&0<M.length&&"-"!=M?G=M:"namespace"==P&&0<M.length&&"-"!=M?H=M:"width"==P?J=M:"height"==P?I=M:"left"==P&&0<M.length?E=M:"top"==P&&0<M.length?K=M:"ignore"==P?Z=M.split(","):"connect"==P?ba.push(JSON.parse(M)):"link"==P?R=M:"padding"==P?T=parseFloat(M):"edgespacing"==P?Q=parseFloat(M):"nodespacing"==P?N=parseFloat(M):"levelspacing"==P?Y=parseFloat(M):"layout"==P&&(V=M)}}}if(null==c[X])throw Error(mxResources.get("invalidOrMissingFile"));var da=this.editor.csvToArray(c[X]),P=ea=null;if(null!=D||null!= +G)for(var S=0;S<da.length;S++)D==da[S]&&(ea=S),G==da[S]&&(P=S);null==ca&&(ca="%"+da[0]+"%");if(null!=ba)for(var U=0;U<ba.length;U++)null==g[ba[U].to]&&(g[ba[U].to]={});L.model.beginUpdate();try{for(S=X+1;S<c.length;S++){var ja=this.editor.csvToArray(c[S]);if(null==ja){var ka=40<c[S].length?c[S].substring(0,40)+"...":c[S];throw Error(S+" ("+ka+") "+mxResources.get("containsValidationErrors"));}if(ja.length==da.length){var O=null,ma=null!=ea?H+ja[ea]:null;null!=ma&&(O=L.model.getCell(ma));var D=null!= +O,fa=new mxCell(ca,new mxGeometry(ga,aa,0,0),k||"whiteSpace=wrap;html=1;");fa.vertex=!0;fa.id=ma;for(var ia=0;ia<ja.length;ia++)L.setAttributeForCell(fa,da[ia],ja[ia]);if(null!=m&&null!=t){var ua=t[fa.getAttribute(m)];null!=ua&&L.labelChanged(fa,ua)}if(null!=n&&null!=l){var va=l[fa.getAttribute(n)];null!=va&&(fa.style=va)}L.setAttributeForCell(fa,"placeholders","1");fa.style=L.replacePlaceholders(fa,fa.style);D&&(L.model.setGeometry(O,fa.geometry),L.model.setStyle(O,fa.style),0>mxUtils.indexOf(f, +O)&&f.push(O));O=fa;if(!D)for(U=0;U<ba.length;U++)g[ba[U].to][O.getAttribute(ba[U].to)]=O;null!=R&&"link"!=R&&(L.setLinkForCell(O,O.getAttribute(R)),L.setAttributeForCell(O,R,null));L.fireEvent(new mxEventObject("cellsInserted","cells",[O]));var wa=this.editor.graph.getPreferredSizeForCell(O);O.vertex&&(null!=E&&null!=O.getAttribute(E)&&(O.geometry.x=ga+parseFloat(O.getAttribute(E))),null!=K&&null!=O.getAttribute(K)&&(O.geometry.y=ha+parseFloat(O.getAttribute(K))),"@"==J.charAt(0)&&null!=O.getAttribute(J.substring(1))? +O.geometry.width=parseFloat(O.getAttribute(J.substring(1))):O.geometry.width="auto"==J?wa.width+T:parseFloat(J),"@"==I.charAt(0)&&null!=O.getAttribute(I.substring(1))?O.geometry.height=parseFloat(O.getAttribute(I.substring(1))):O.geometry.height="auto"==I?wa.height+T:parseFloat(I),aa+=O.geometry.height+N);D?(null==e[ma]&&(e[ma]=[]),e[ma].push(O)):(G=null!=P?L.model.getCell(H+ja[P]):null,d.push(O),null!=G?(G.style=L.replacePlaceholders(G,B),L.addCell(O,G)):f.push(L.addCell(O)))}}for(var na=f.slice(), +la=f.slice(),U=0;U<ba.length;U++)for(var xa=ba[U],S=0;S<f.length;S++){var O=f[S],ya=mxUtils.bind(this,function(a,b,c){var d=b.getAttribute(c.from);if(null!=d){L.setAttributeForCell(b,c.from,null);for(var d=d.split(","),f=0;f<d.length;f++){var e=g[c.to][d[f]];if(null!=e){var k=c.label;null!=c.fromlabel&&(k=(b.getAttribute(c.fromlabel)||"")+(k||""));null!=c.tolabel&&(k=(k||"")+(e.getAttribute(c.tolabel)||""));la.push(L.insertEdge(null,null,k||"",c.invert?e:a,c.invert?a:e,c.style||L.createCurrentEdgeStyle())); +mxUtils.remove(c.invert?a:e,na)}}}});ya(O,O,xa);if(null!=e[O.id])for(ia=0;ia<e[O.id].length;ia++)ya(O,e[O.id][ia],xa)}if(null!=Z)for(S=0;S<d.length;S++)for(O=d[S],ia=0;ia<Z.length;ia++)L.setAttributeForCell(O,mxUtils.trim(Z[ia]),null);if(0<f.length){var oa=new mxParallelEdgeLayout(L);oa.spacing=Q;var ta=function(){0<oa.spacing&&oa.execute(L.getDefaultParent());for(var a=0;a<f.length;a++){var b=L.getCellGeometry(f[a]);b.x=Math.round(L.snap(b.x));b.y=Math.round(L.snap(b.y));"auto"==J&&(b.width=Math.round(L.snap(b.width))); +"auto"==I&&(b.height=Math.round(L.snap(b.height)))}};if("["==V.charAt(0)){var za=W;L.view.validate();this.executeLayoutList(JSON.parse(V),function(){ta();za()});W=null}else if("circle"==V){var ra=new mxCircleLayout(L);ra.resetEdges=!1;var Aa=ra.isVertexIgnored;ra.isVertexIgnored=function(a){return Aa.apply(this,arguments)||0>mxUtils.indexOf(f,a)};this.executeLayout(function(){ra.execute(L.getDefaultParent());ta()},!0,W);W=null}else if("horizontaltree"==V||"verticaltree"==V||"auto"==V&&la.length== +2*f.length-1&&1==na.length){L.view.validate();var sa=new mxCompactTreeLayout(L,"horizontaltree"==V);sa.levelDistance=N;sa.edgeRouting=!1;sa.resetEdges=!1;this.executeLayout(function(){sa.execute(L.getDefaultParent(),0<na.length?na[0]:null)},!0,W);W=null}else if("horizontalflow"==V||"verticalflow"==V||"auto"==V&&1==na.length){L.view.validate();var pa=new mxHierarchicalLayout(L,"horizontalflow"==V?mxConstants.DIRECTION_WEST:mxConstants.DIRECTION_NORTH);pa.intraCellSpacing=N;pa.parallelEdgeSpacing=Q; +pa.interRankCellSpacing=Y;pa.disableEdgeStyle=!1;this.executeLayout(function(){pa.execute(L.getDefaultParent(),la);L.moveCells(la,ga,ha)},!0,W);W=null}else if("organic"==V||"auto"==V&&la.length>f.length){L.view.validate();var qa=new mxFastOrganicLayout(L);qa.forceConstant=3*N;qa.resetEdges=!1;var Ba=qa.isVertexIgnored;qa.isVertexIgnored=function(a){return Ba.apply(this,arguments)||0>mxUtils.indexOf(f,a)};oa=new mxParallelEdgeLayout(L);oa.spacing=Q;this.executeLayout(function(){qa.execute(L.getDefaultParent()); +ta()},!0,W);W=null}}this.hideDialog()}finally{L.model.endUpdate()}null!=W&&W()}}catch(Ca){this.handleError(Ca)}};EditorUi.prototype.getSearch=function(a){var b="";if("1"!=urlParams.offline&&"1"!=urlParams.demo&&null!=a&&0<window.location.search.length){var c="?",d;for(d in urlParams)0>mxUtils.indexOf(a,d)&&null!=urlParams[d]&&(b+=c+d+"="+urlParams[d],c="&")}else b=window.location.search;return b};EditorUi.prototype.getUrl=function(a){a=null!=a?a:window.location.pathname;var b=0<a.indexOf("?")?1:0; +if("1"==urlParams.offline)a+=window.location.search;else{var c="tmp libs clibs state fileId code share notitle data url embed client create title splash".split(" "),d;for(d in urlParams)0>mxUtils.indexOf(c,d)&&(a=0==b?a+"?":a+"&",null!=urlParams[d]&&(a+=d+"="+urlParams[d],b++))}return a};EditorUi.prototype.showLinkDialog=function(a,b,c){a=new LinkDialog(this,a,b,c,!0);this.showDialog(a.container,560,130,!0,!0);a.init()};var m=EditorUi.prototype.createOutline;EditorUi.prototype.createOutline=function(a){var b= +m.apply(this,arguments),c=this.editor.graph,d=b.getSourceGraphBounds;b.getSourceGraphBounds=function(){if(mxUtils.hasScrollbars(c.container)&&c.pageVisible&&null!=this.source.minimumGraphSize){var a=this.source.getPagePadding(),b=this.source.view.scale;return new mxRectangle(0,0,Math.ceil(this.source.minimumGraphSize.width-2*a.x/b),Math.ceil(this.source.minimumGraphSize.height-2*a.y/b))}return d.apply(this,arguments)};var f=b.getSourceContainerSize;b.getSourceContainerSize=function(){if(mxUtils.hasScrollbars(c.container)&& +null!=this.source.minimumGraphSize){var a=this.source.getPagePadding(),b=this.source.view.scale;return new mxRectangle(0,0,Math.ceil(this.source.minimumGraphSize.width*b-2*a.x),Math.ceil(this.source.minimumGraphSize.height*b-2*a.y))}return f.apply(this,arguments)};b.getOutlineOffset=function(a){if(mxUtils.hasScrollbars(c.container)&&null!=this.source.minimumGraphSize){var d=this.source.getPagePadding();return new mxPoint(Math.round(Math.max(0,(b.outline.container.clientWidth/a-(this.source.minimumGraphSize.width- +2*d.x))/2)-d.x),Math.round(Math.max(0,(b.outline.container.clientHeight/a-(this.source.minimumGraphSize.height-2*d.y))/2)-d.y-5/a))}return new mxPoint(8/a,8/a)};var e=b.init;b.init=function(){e.apply(this,arguments);b.outline.view.getBackgroundPageBounds=function(){var a=c.getPageLayout(),b=c.getPageSize();return new mxRectangle(this.scale*(this.translate.x+a.x*b.width),this.scale*(this.translate.y+a.y*b.height),this.scale*a.width*b.width,this.scale*a.height*b.height)};b.outline.view.validateBackgroundPage()}; +this.editor.addListener("pageSelected",function(a,c){var d=c.getProperty("change"),f=b.source,e=b.outline;e.pageScale=f.pageScale;e.pageFormat=f.pageFormat;e.background=f.background;e.pageVisible=f.pageVisible;e.background=f.background;var g=mxUtils.getCurrentStyle(f.container);e.container.style.backgroundColor=g.backgroundColor;null!=f.view.backgroundPageShape&&null!=e.view.backgroundPageShape&&(e.view.backgroundPageShape.fill=f.view.backgroundPageShape.fill);b.outline.view.clear(d.previousPage.root, +!0);b.outline.view.validate()});return b};EditorUi.prototype.getServiceCount=function(a,b){var c=1;null==this.drive&&"function"!==typeof window.DriveClient||c++;b||null==this.dropbox&&"function"!==typeof window.DropboxClient||c++;null==this.oneDrive&&"function"!==typeof window.OneDriveClient||c++;b||null==this.gitHub||c++;b||null==this.gitLab||c++;b&&a&&isLocalStorage&&"1"==urlParams.browser&&c++;return c};EditorUi.prototype.updateUi=function(){this.updateButtonContainer();this.updateActionStates(); +var a=this.getCurrentFile(),b=null!=a||"1"==urlParams.embed&&this.editor.graph.isEnabled();this.menus.get("viewPanels").setEnabled(b);this.menus.get("viewZoom").setEnabled(b);var c=("1"!=urlParams.embed||!this.editor.graph.isEnabled())&&(null==a||a.isRestricted());this.actions.get("makeCopy").setEnabled(!c);this.actions.get("print").setEnabled(!c);this.menus.get("exportAs").setEnabled(!c);this.menus.get("embed").setEnabled(!c);c="1"!=urlParams.embed||this.editor.graph.isEnabled();this.menus.get("extras").setEnabled(c); +Editor.enableCustomLibraries&&(this.menus.get("openLibraryFrom").setEnabled(c),this.menus.get("newLibrary").setEnabled(c));a="1"==urlParams.embed&&this.editor.graph.isEnabled()||null!=a&&a.isEditable();this.actions.get("image").setEnabled(b);this.actions.get("zoomIn").setEnabled(b);this.actions.get("zoomOut").setEnabled(b);this.actions.get("resetView").setEnabled(b);this.actions.get("undo").setEnabled(this.canUndo()&&a);this.actions.get("redo").setEnabled(this.canRedo()&&a);this.menus.get("edit").setEnabled(b); +this.menus.get("view").setEnabled(b);this.menus.get("importFrom").setEnabled(a);this.menus.get("arrange").setEnabled(a);null!=this.toolbar&&(null!=this.toolbar.edgeShapeMenu&&this.toolbar.edgeShapeMenu.setEnabled(a),null!=this.toolbar.edgeStyleMenu&&this.toolbar.edgeStyleMenu.setEnabled(a));if(this.isAppCache()){var d=applicationCache;if(null!=d&&null==this.offlineStatus){this.offlineStatus=document.createElement("div");this.offlineStatus.className="geItem";this.offlineStatus.style.position="absolute"; +this.offlineStatus.style.fontSize="8pt";this.offlineStatus.style.top="2px";this.offlineStatus.style.right="12px";this.offlineStatus.style.color="#666";this.offlineStatus.style.margin="4px";this.offlineStatus.style.padding="2px";this.offlineStatus.style.verticalAlign="middle";this.offlineStatus.innerHTML="";this.menubarContainer.appendChild(this.offlineStatus);mxEvent.addListener(this.offlineStatus,"click",mxUtils.bind(this,function(){var a=this.offlineStatus.getElementsByTagName("img");null!=a&&0< +a.length&&this.alert(a[0].getAttribute("title"))}));var d=window.applicationCache,e=null,b=mxUtils.bind(this,function(){var a=d.status,b;a==d.CHECKING&&(a=d.DOWNLOADING);switch(a){case d.UNCACHED:b="";break;case d.IDLE:b="min"==uiTheme?"":'<img title="draw.io is up to date." border="0" src="'+IMAGE_PATH+'/checkmark.gif"/>';break;case d.DOWNLOADING:b='<img title="Downloading new version..." border="0" src="'+IMAGE_PATH+'/spin.gif"/>';break;case d.UPDATEREADY:b='<img title="'+mxUtils.htmlEntities(mxResources.get("restartForChangeRequired"))+ +'" border="0" src="'+IMAGE_PATH+'/download.png"/>';break;case d.OBSOLETE:b='<img title="Obsolete" border="0" src="'+IMAGE_PATH+'/clear.gif"/>';break;default:b='<img title="Unknown" border="0" src="'+IMAGE_PATH+'/clear.gif"/>'}a!=e&&(this.offlineStatus.innerHTML=b,e=a)});mxEvent.addListener(d,"checking",b);mxEvent.addListener(d,"noupdate",b);mxEvent.addListener(d,"downloading",b);mxEvent.addListener(d,"progress",b);mxEvent.addListener(d,"cached",b);mxEvent.addListener(d,"updateready",b);mxEvent.addListener(d, +"obsolete",b);mxEvent.addListener(d,"error",b);b()}}else this.updateUserElement()};EditorUi.prototype.updateButtonContainer=function(){};EditorUi.prototype.updateUserElement=function(){};EditorUi.prototype.scheduleSanityCheck=function(){};EditorUi.prototype.stopSanityCheck=function(){};EditorUi.prototype.isDiagramActive=function(){var a=this.getCurrentFile();return null!=a&&a.isEditable()||"1"==urlParams.embed&&this.editor.graph.isEnabled()};var n=EditorUi.prototype.updateActionStates;EditorUi.prototype.updateActionStates= +function(){n.apply(this,arguments);var a=this.editor.graph,b=this.isDiagramActive(),c=this.getCurrentFile();this.actions.get("pageSetup").setEnabled(b);this.actions.get("autosave").setEnabled(null!=c&&c.isEditable()&&c.isAutosaveOptional());this.actions.get("guides").setEnabled(b);this.actions.get("editData").setEnabled(b);this.actions.get("shadowVisible").setEnabled(b);this.actions.get("connectionArrows").setEnabled(b);this.actions.get("connectionPoints").setEnabled(b);this.actions.get("copyStyle").setEnabled(b&& +!a.isSelectionEmpty());this.actions.get("pasteStyle").setEnabled(b&&!a.isSelectionEmpty());this.actions.get("editGeometry").setEnabled(a.getModel().isVertex(a.getSelectionCell()));this.actions.get("createShape").setEnabled(b);this.actions.get("createRevision").setEnabled(b);this.actions.get("moveToFolder").setEnabled(null!=c);this.actions.get("makeCopy").setEnabled(null!=c&&!c.isRestricted());this.actions.get("editDiagram").setEnabled(b&&(null==c||!c.isRestricted()));this.actions.get("publishLink").setEnabled(null!= +c&&!c.isRestricted());this.actions.get("tags").setEnabled("hidden"!=this.diagramContainer.style.visibility);this.actions.get("find").setEnabled("hidden"!=this.diagramContainer.style.visibility);this.actions.get("layers").setEnabled("hidden"!=this.diagramContainer.style.visibility);this.actions.get("outline").setEnabled("hidden"!=this.diagramContainer.style.visibility);this.actions.get("rename").setEnabled(null!=c&&c.isRenamable()||"1"==urlParams.embed);this.actions.get("close").setEnabled(null!=c); +this.menus.get("publish").setEnabled(null!=c&&!c.isRestricted());a=a.view.getState(a.getSelectionCell());this.actions.get("editShape").setEnabled(b&&null!=a&&null!=a.shape&&null!=a.shape.stencil)};var t=EditorUi.prototype.destroy;EditorUi.prototype.destroy=function(){null!=this.exportDialog&&(this.exportDialog.parentNode.removeChild(this.exportDialog),this.exportDialog=null);t.apply(this,arguments)};null!=window.ExportDialog&&(ExportDialog.showXmlOption=!1,ExportDialog.showGifOption=!1,ExportDialog.exportFile= +function(a,b,c,d,e,g,k){var f=a.editor.graph;if("xml"==c)a.hideDialog(),a.saveData(b,"xml",mxUtils.getXml(a.editor.getGraphXml()),"text/xml");else if("svg"==c)a.hideDialog(),a.saveData(b,"svg",mxUtils.getXml(f.getSvg(d,e,g)),"image/svg+xml");else{var l=a.getFileData(!0,null,null,null,null,!0),n=f.getGraphBounds(),p=Math.floor(n.width*e/f.view.scale),m=Math.floor(n.height*e/f.view.scale);if(l.length<=MAX_REQUEST_SIZE&&p*m<MAX_AREA)if(a.hideDialog(),"png"!=c&&"jpg"!=c&&"jpeg"!=c||!a.isExportToCanvas()){var q= +{globalVars:f.getExportVariables()};a.saveRequest(b,c,function(a,b){return new mxXmlRequest(EXPORT_URL,"format="+c+"&base64="+(b||"0")+(null!=a?"&filename="+encodeURIComponent(a):"")+"&extras="+encodeURIComponent(JSON.stringify(q))+(0<k?"&dpi="+k:"")+"&bg="+(null!=d?d:"none")+"&w="+p+"&h="+m+"&border="+g+"&xml="+encodeURIComponent(l))})}else"png"==c?a.exportImage(e,null==d||"none"==d,!0,!1,!1,g,!0,!1,null,null,k):a.exportImage(e,!1,!0,!1,!1,g,!0,!1,"jpeg");else mxUtils.alert(mxResources.get("drawingTooLarge"))}}); +EditorUi.prototype.getDiagramTextContent=function(){this.editor.graph.setEnabled(!1);var a=this.editor.graph,b="";if(null!=this.pages)for(var c=0;c<this.pages.length;c++){var d=a;this.currentPage!=this.pages[c]&&(d=this.createTemporaryGraph(a.getStylesheet()),d.model.setRoot(this.pages[c].root));b+=this.pages[c].getName()+" "+d.getIndexableText()+" "}else b=a.getIndexableText();this.editor.graph.setEnabled(!0);return b};EditorUi.prototype.showRemotelyStoredLibrary=function(a){var b={},c=document.createElement("div"); +c.style.whiteSpace="nowrap";var d=document.createElement("h3");mxUtils.write(d,mxUtils.htmlEntities(a));d.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";c.appendChild(d);var e=document.createElement("div");e.style.cssText="border:1px solid lightGray;overflow: auto;height:300px";e.innerHTML='<div style="text-align:center;padding:8px;"><img src="/images/spin.gif"></div>';var f={};try{var g=mxSettings.getCustomLibraries();for(a=0;a<g.length;a++){var k=g[a];if("R"==k.substring(0, +1)){var n=JSON.parse(decodeURIComponent(k.substring(1)));f[n[0]]={id:n[0],title:n[1],downloadUrl:n[2]}}}}catch(x){}this.remoteInvoke("getCustomLibraries",null,null,function(a){e.innerHTML="";if(0==a.length)e.innerHTML='<div style="text-align:center;padding-top:20px;color:gray;">'+mxUtils.htmlEntities(mxResources.get("noLibraries"))+"</div>";else for(var c=0;c<a.length;c++){var d=a[c];f[d.id]&&(b[d.id]=d);var g=this.addCheckbox(e,d.title,f[d.id]);(function(a,c){mxEvent.addListener(c,"change",function(){this.checked? +b[a.id]=a:delete b[a.id]})})(d,g)}},mxUtils.bind(this,function(a){e.innerHTML="";var b=document.createElement("div");b.style.padding="8px";b.style.textAlign="center";mxUtils.write(b,mxResources.get("error")+": ");mxUtils.write(b,null!=a&&null!=a.message?a.message:mxResources.get("unknownError"));e.appendChild(b)}));c.appendChild(e);c=new CustomDialog(this,c,mxUtils.bind(this,function(){this.spinner.spin(document.body,mxResources.get("loading"));var a=0,c;for(c in b)null==f[c]&&(a++,mxUtils.bind(this, +function(b){this.remoteInvoke("getFileContent",[b.downloadUrl],null,mxUtils.bind(this,function(c){a--;0==a&&this.spinner.stop();try{this.loadLibrary(new RemoteLibrary(this,c,b))}catch(D){this.handleError(D,mxResources.get("errorLoadingFile"))}}),mxUtils.bind(this,function(){a--;0==a&&this.spinner.stop();this.handleError(null,mxResources.get("errorLoadingFile"))}))})(b[c]));for(c in f)b[c]||this.closeLibrary(new RemoteLibrary(this,null,f[c]));0==a&&this.spinner.stop()}),null,null,"https://desk.draw.io/support/solutions/articles/16000092763"); +this.showDialog(c.container,340,375,!0,!0,null,null,null,null,!0)};EditorUi.prototype.remoteInvokableFns={getDiagramTextContent:{isAsync:!1}};EditorUi.prototype.remoteInvokeCallbacks=[];EditorUi.prototype.remoteInvokeQueue=[];EditorUi.prototype.handleRemoteInvokeReady=function(a){this.remoteWin=a;for(var b=0;b<this.remoteInvokeQueue.length;b++)a.postMessage(this.remoteInvokeQueue[b],"*");this.remoteInvokeQueue=[]};EditorUi.prototype.handleRemoteInvokeResponse=function(a){var b=a.msgMarkers,c=this.remoteInvokeCallbacks[b.callbackId]; +a.error?c.error&&c.error(a.error.errResp):c.callback&&c.callback.apply(this,a.resp);this.remoteInvokeCallbacks[b.callbackId]=null};EditorUi.prototype.remoteInvoke=function(a,b,c,d,e){var f=!0,g=window.setTimeout(mxUtils.bind(this,function(){f=!1;e({code:App.ERROR_TIMEOUT,message:mxResources.get("timeout")})}),this.timeout),k=mxUtils.bind(this,function(){window.clearTimeout(g);f&&d.apply(this,arguments)});c=c||{};c.callbackId=this.remoteInvokeCallbacks.length;this.remoteInvokeCallbacks.push({callback:k, +error:e});a=JSON.stringify({event:"remoteInvoke",funtionName:a,functionArgs:b,msgMarkers:c});null!=this.remoteWin?this.remoteWin.postMessage(a,"*"):this.remoteInvokeQueue.push(a)};EditorUi.prototype.handleRemoteInvoke=function(a){var b=mxUtils.bind(this,function(b,c){var d={event:"remoteInvokeResponse",msgMarkers:a.msgMarkers};null!=c?d.error={errResp:c}:null!=b&&(d.resp=b);this.remoteWin.postMessage(JSON.stringify(d),"*")});try{var c=a.funtionName,d=this.remoteInvokableFns[c];if(null!=d&&"function"=== +typeof this[c]){var e=a.functionArgs;Array.isArray(e)||(e=[]);if(d.isAsync)e.push(function(){b(Array.prototype.slice.apply(arguments))}),e.push(function(a){b(null,a||"Unkown Error")}),this[c].apply(this,e);else{var f=this[c].apply(this,e);b([f])}}else b(null,"Invalid Call: "+c+" is not found.")}catch(z){b(null,"Invalid Call: An error occured, "+z.message)}};EditorUi.prototype.commentsSupported=function(){var a=this.getCurrentFile();return null!=a?a.commentsSupported():!1};EditorUi.prototype.commentsRefreshNeeded= +function(){var a=this.getCurrentFile();return null!=a?a.commentsRefreshNeeded():!0};EditorUi.prototype.commentsSaveNeeded=function(){var a=this.getCurrentFile();return null!=a?a.commentsSaveNeeded():!1};EditorUi.prototype.getComments=function(a,b){var c=this.getCurrentFile();null!=c?c.getComments(a,b):a([])};EditorUi.prototype.addComment=function(a,b,c){var d=this.getCurrentFile();null!=d?d.addComment(a,b,c):b(Date.now())};EditorUi.prototype.canReplyToReplies=function(){var a=this.getCurrentFile(); +return null!=a?a.canReplyToReplies():!0};EditorUi.prototype.canComment=function(){var a=this.getCurrentFile();return null!=a?a.canComment():!0};EditorUi.prototype.newComment=function(a,b){var c=this.getCurrentFile();return null!=c?c.newComment(a,b):new DrawioComment(this,null,a,Date.now(),Date.now(),!1,b)};EditorUi.prototype.isRevisionHistorySupported=function(){var a=this.getCurrentFile();return null!=a&&a.isRevisionHistorySupported()};EditorUi.prototype.getRevisions=function(a,b){var c=this.getCurrentFile(); +null!=c&&c.getRevisions?c.getRevisions(a,b):b({message:mxResources.get("unknownError")})};EditorUi.prototype.isRevisionHistoryEnabled=function(){var a=this.getCurrentFile();return null!=a&&(a.constructor==DriveFile&&a.isEditable()||a.constructor==DropboxFile)};EditorUi.prototype.getServiceName=function(){return"draw.io"};EditorUi.prototype.addRemoteServiceSecurityCheck=function(a){a.setRequestHeader("Content-Language","da, mi, en, de-DE")}})(); +var CommentsWindow=function(a,c,b,d,g,e){function k(){for(var a=C.getElementsByTagName("div"),b=0,c=0;c<a.length;c++)"none"!=a[c].style.display&&a[c].parentNode==C&&b++;x.style.display=0==b?"block":"none"}function m(a,b,c,d){function e(){b.removeChild(l);b.removeChild(n);g.style.display="block";f.style.display="block"}q={div:b,comment:a,saveCallback:c,deleteOnCancel:d};var f=b.querySelector(".geCommentTxt"),g=b.querySelector(".geCommentActionsList"),l=document.createElement("textarea");l.className= +"geCommentEditTxtArea";l.style.minHeight=f.offsetHeight+"px";l.value=a.content;b.insertBefore(l,f);var n=document.createElement("div");n.className="geCommentEditBtns";var m=mxUtils.button(mxResources.get("cancel"),function(){d?(b.parentNode.removeChild(b),k()):e();q=null});m.className="geCommentEditBtn";n.appendChild(m);var p=mxUtils.button(mxResources.get("save"),function(){f.innerHTML="";a.content=l.value;mxUtils.write(f,a.content);e();c(a);q=null});mxEvent.addListener(l,"keydown",mxUtils.bind(this, function(a){mxEvent.isConsumed(a)||((mxEvent.isControlDown(a)||mxClient.IS_MAC&&mxEvent.isMetaDown(a))&&13==a.keyCode?(p.click(),mxEvent.consume(a)):27==a.keyCode&&(m.click(),mxEvent.consume(a)))}));p.focus();p.className="geCommentEditBtn gePrimaryBtn";n.appendChild(p);b.insertBefore(n,f);g.style.display="none";f.style.display="none";l.focus()}function n(b,c){c.innerHTML="";var d=new Date(b.modifiedDate),e=a.timeSince(d);null==e&&(e=mxResources.get("lessThanAMinute"));mxUtils.write(c,mxResources.get("timeAgo", -[e],"{1} ago"));c.setAttribute("title",d.toLocaleDateString()+" "+d.toLocaleTimeString())}function q(a){var b=document.createElement("img");b.className="geCommentBusyImg";b.src=IMAGE_PATH+"/spin.gif";a.appendChild(b);a.busyImg=b}function f(a){a.style.border="1px solid red";a.removeChild(a.busyImg)}function l(a){a.style.border="";a.removeChild(a.busyImg)}function p(b,c,d,e,g){function B(a,c,d){var e=document.createElement("li");e.className="geCommentAction";var f=document.createElement("a");f.className= -"geCommentActionLnk";mxUtils.write(f,a);e.appendChild(f);mxEvent.addListener(f,"click",function(a){c(a,b);a.preventDefault();mxEvent.consume(a)});J.appendChild(e);d&&(e.style.display="none")}function E(){function a(b){c.push(d);if(null!=b.replies)for(var e=0;e<b.replies.length;e++)d=d.nextSibling,a(b.replies[e])}var c=[],d=y;a(b);return{pdiv:d,replies:c}}function G(c,d,g,k,n){function x(){q(A);b.addReply(u,function(a){u.id=a;b.replies.push(u);l(A);g&&g()},function(b){t();f(A);a.handleError(b,null, -null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))},k,n)}function t(){m(u,A,function(a){x()},!0)}var B=E().pdiv,u=a.newComment(c,a.getCurrentUser());u.pCommentId=b.id;null==b.replies&&(b.replies=[]);var A=p(u,b.replies,B,e+1);d?t():x()}if(g||!b.isResolved){x.style.display="none";var y=document.createElement("div");y.className="geCommentContainer";y.setAttribute("data-commentId",b.id);y.style.marginLeft=20*e+5+"px";b.isResolved&&"dark"!=uiTheme&&(y.style.backgroundColor="ghostWhite"); -var z=document.createElement("div");z.className="geCommentHeader";var F=document.createElement("img");F.className="geCommentUserImg";F.src=b.user.pictureUrl||Editor.userImage;z.appendChild(F);F=document.createElement("div");F.className="geCommentHeaderTxt";z.appendChild(F);var D=document.createElement("div");D.className="geCommentUsername";mxUtils.write(D,b.user.displayName||"");F.appendChild(D);D=document.createElement("div");D.className="geCommentDate";D.setAttribute("data-commentId",b.id);n(b, -D);F.appendChild(D);y.appendChild(z);z=document.createElement("div");z.className="geCommentTxt";mxUtils.write(z,b.content||"");y.appendChild(z);z=document.createElement("div");z.className="geCommentActions";var J=document.createElement("ul");J.className="geCommentActionsList";z.appendChild(J);u||0!=e&&!v||B(mxResources.get("reply"),function(){G("",!0)},b.isResolved);F=a.getCurrentUser();null==F||F.id!=b.user.id||u||(B(mxResources.get("edit"),function(){function c(){m(b,y,function(){q(y);b.editComment(b.content, -function(){l(y)},function(b){f(y);c();a.handleError(b,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})})}c()},b.isResolved),B(mxResources.get("delete"),function(){a.confirm(mxResources.get("areYouSure"),function(){q(y);b.deleteComment(function(){for(var a=E(b).replies,d=0;d<a.length;d++)C.removeChild(a[d]);for(d=0;d<c.length;d++)if(c[d]==b){c.splice(d,1);break}x.style.display=0==C.getElementsByTagName("div").length?"block":"none"},function(b){f(y);a.handleError(b,null,null, -null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})})},b.isResolved));u||0!=e||B(b.isResolved?mxResources.get("reopen"):mxResources.get("resolve"),function(a){function c(){var c=a.target;c.innerHTML="";b.isResolved=!b.isResolved;mxUtils.write(c,b.isResolved?mxResources.get("reopen"):mxResources.get("resolve"));for(var d=b.isResolved?"none":"",e=E(b).replies,f="dark"==uiTheme?"transparent":b.isResolved?"ghostWhite":"white",g=0;g<e.length;g++){e[g].style.backgroundColor=f;for(var l=e[g].querySelectorAll(".geCommentAction"), -n=0;n<l.length;n++)l[n]!=c.parentNode&&(l[n].style.display=d);A||(e[g].style.display="none")}k()}b.isResolved?G(mxResources.get("reOpened")+": ",!0,c,!1,!0):G(mxResources.get("markedAsResolved"),!1,c,!0)});y.appendChild(z);null!=d?C.insertBefore(y,d.nextSibling):C.appendChild(y);for(d=0;null!=b.replies&&d<b.replies.length;d++)z=b.replies[d],z.isResolved=b.isResolved,p(z,b.replies,null,e+1,g);null!=t&&(t.comment.id==b.id?(g=b.content,b.content=t.comment.content,m(b,y,t.saveCallback,t.deleteOnCancel), -b.content=g):null==t.comment.id&&t.comment.pCommentId==b.id&&(C.appendChild(t.div),m(t.comment,t.div,t.saveCallback,t.deleteOnCancel)));return y}}var u=!a.canComment(),v=a.canReplyToReplies(),t=null,z=document.createElement("div");z.className="geCommentsWin";z.style.background="white"==Dialog.backdropColor?"whiteSmoke":Dialog.backdropColor;var y=EditorUi.compactUi?"26px":"30px",C=document.createElement("div");C.className="geCommentsList";C.style.backgroundColor="white"==Dialog.backdropColor?"whiteSmoke": -Dialog.backdropColor;C.style.bottom=parseInt(y)+7+"px";z.appendChild(C);var x=document.createElement("span");x.style.cssText="display:none;padding-top:10px;text-align:center;";mxUtils.write(x,mxResources.get("noCommentsFound"));var B=document.createElement("div");B.className="geToolbarContainer geCommentsToolbar";B.style.height=y;B.style.padding=EditorUi.compactUi?"4px 0px 3px 0px":"1px";B.style.backgroundColor="white"==Dialog.backdropColor?"whiteSmoke":Dialog.backdropColor;mxClient.IS_QUIRKS&&(B.style.filter= -"none");y=document.createElement("a");y.className="geButton";mxClient.IS_QUIRKS&&(y.style.filter="none");if(!u){var E=y.cloneNode();E.innerHTML='<div class="geSprite geSprite-plus" style="display:inline-block;"></div>';E.setAttribute("title",mxResources.get("create")+"...");mxEvent.addListener(E,"click",function(b){function c(){m(d,e,function(b){q(e);a.addComment(b,function(a){b.id=a;F.push(b);l(e)},function(b){f(e);c();a.handleError(b,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})}, -!0)}var d=a.newComment("",a.getCurrentUser()),e=p(d,F,null,0);c();b.preventDefault();mxEvent.consume(b)});B.appendChild(E)}E=y.cloneNode();E.innerHTML='<img src="'+IMAGE_PATH+'/check.png" style="width: 16px; padding: 2px;">';E.setAttribute("title",mxResources.get("showResolved"));var A=!1;"dark"==uiTheme&&(E.style.filter="invert(100%)");mxEvent.addListener(E,"click",function(a){this.className=(A=!A)?"geButton geCheckedBtn":"geButton";D();a.preventDefault();mxEvent.consume(a)});B.appendChild(E);a.commentsRefreshNeeded()&& -(E=y.cloneNode(),E.innerHTML='<img src="'+IMAGE_PATH+'/update16.png" style="width: 16px; padding: 2px;">',E.setAttribute("title",mxResources.get("refresh")),"dark"==uiTheme&&(E.style.filter="invert(100%)"),mxEvent.addListener(E,"click",function(a){D();a.preventDefault();mxEvent.consume(a)}),B.appendChild(E));a.commentsSaveNeeded()&&(y=y.cloneNode(),y.innerHTML='<img src="'+IMAGE_PATH+'/save.png" style="width: 20px; padding: 2px;">',y.setAttribute("title",mxResources.get("save")),"dark"==uiTheme&& -(y.style.filter="invert(100%)"),mxEvent.addListener(y,"click",function(a){e();a.preventDefault();mxEvent.consume(a)}),B.appendChild(y));z.appendChild(B);var F=[],D=mxUtils.bind(this,function(){this.hasError=!1;if(null!=t){t.div=t.div.cloneNode(!0);var b=t.div.querySelector(".geCommentEditTxtArea"),c=t.div.querySelector(".geCommentEditBtns");t.comment.content=b.value;b.parentNode.removeChild(b);c.parentNode.removeChild(c)}C.innerHTML='<div style="padding-top:10px;text-align:center;"><img src="'+IMAGE_PATH+ -'/spin.gif" valign="middle"> '+mxUtils.htmlEntities(mxResources.get("loading"))+"...</div>";v=a.canReplyToReplies();a.commentsSupported()?a.getComments(function(a){function b(a){if(null!=a){a.sort(function(a,b){return new Date(a.modifiedDate)-new Date(b.modifiedDate)});for(var c=0;c<a.length;c++)b(a[c].replies)}}a.sort(function(a,b){return new Date(a.modifiedDate)-new Date(b.modifiedDate)});C.innerHTML="";C.appendChild(x);x.style.display="block";F=a;for(a=0;a<F.length;a++)b(F[a].replies),p(F[a],F, -null,0,A);null!=t&&null==t.comment.id&&null==t.comment.pCommentId&&(C.appendChild(t.div),m(t.comment,t.div,t.saveCallback,t.deleteOnCancel))},mxUtils.bind(this,function(a){C.innerHTML=mxUtils.htmlEntities(mxResources.get("error")+(a&&a.message?": "+a.message:""));this.hasError=!0})):C.innerHTML=mxUtils.htmlEntities(mxResources.get("error"))});D();this.refreshComments=D;B=mxUtils.bind(this,function(){function a(b){var d=c[b.id];if(null!=d)for(n(b,d),d=0;null!=b.replies&&d<b.replies.length;d++)a(b.replies[d])} -if(this.window.isVisible()){for(var b=C.querySelectorAll(".geCommentDate"),c={},d=0;d<b.length;d++){var e=b[d];c[e.getAttribute("data-commentId")]=e}for(d=0;d<F.length;d++)a(F[d])}});setInterval(B,6E4);this.refreshCommentsTime=B;this.window=new mxWindow(mxResources.get("comments"),z,c,b,d,g,!0,!0);this.window.minimumSize=new mxRectangle(0,0,300,200);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.window.addListener(mxEvent.SHOW, +[e],"{1} ago"));c.setAttribute("title",d.toLocaleDateString()+" "+d.toLocaleTimeString())}function t(a){var b=document.createElement("img");b.className="geCommentBusyImg";b.src=IMAGE_PATH+"/spin.gif";a.appendChild(b);a.busyImg=b}function f(a){a.style.border="1px solid red";a.removeChild(a.busyImg)}function l(a){a.style.border="";a.removeChild(a.busyImg)}function p(b,c,d,e,g){function A(a,c,d){var e=document.createElement("li");e.className="geCommentAction";var f=document.createElement("a");f.className= +"geCommentActionLnk";mxUtils.write(f,a);e.appendChild(f);mxEvent.addListener(f,"click",function(a){c(a,b);a.preventDefault();mxEvent.consume(a)});J.appendChild(e);d&&(e.style.display="none")}function F(){function a(b){c.push(d);if(null!=b.replies)for(var e=0;e<b.replies.length;e++)d=d.nextSibling,a(b.replies[e])}var c=[],d=y;a(b);return{pdiv:d,replies:c}}function E(c,d,g,k,n){function q(){t(B);b.addReply(u,function(a){u.id=a;b.replies.push(u);l(B);g&&g()},function(b){x();f(B);a.handleError(b,null, +null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))},k,n)}function x(){m(u,B,function(a){q()},!0)}var A=F().pdiv,u=a.newComment(c,a.getCurrentUser());u.pCommentId=b.id;null==b.replies&&(b.replies=[]);var B=p(u,b.replies,A,e+1);d?x():q()}if(g||!b.isResolved){x.style.display="none";var y=document.createElement("div");y.className="geCommentContainer";y.setAttribute("data-commentId",b.id);y.style.marginLeft=20*e+5+"px";b.isResolved&&"dark"!=uiTheme&&(y.style.backgroundColor="ghostWhite"); +var z=document.createElement("div");z.className="geCommentHeader";var D=document.createElement("img");D.className="geCommentUserImg";D.src=b.user.pictureUrl||Editor.userImage;z.appendChild(D);D=document.createElement("div");D.className="geCommentHeaderTxt";z.appendChild(D);var G=document.createElement("div");G.className="geCommentUsername";mxUtils.write(G,b.user.displayName||"");D.appendChild(G);G=document.createElement("div");G.className="geCommentDate";G.setAttribute("data-commentId",b.id);n(b, +G);D.appendChild(G);y.appendChild(z);z=document.createElement("div");z.className="geCommentTxt";mxUtils.write(z,b.content||"");y.appendChild(z);z=document.createElement("div");z.className="geCommentActions";var J=document.createElement("ul");J.className="geCommentActionsList";z.appendChild(J);u||0!=e&&!v||A(mxResources.get("reply"),function(){E("",!0)},b.isResolved);D=a.getCurrentUser();null==D||D.id!=b.user.id||u||(A(mxResources.get("edit"),function(){function c(){m(b,y,function(){t(y);b.editComment(b.content, +function(){l(y)},function(b){f(y);c();a.handleError(b,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})})}c()},b.isResolved),A(mxResources.get("delete"),function(){a.confirm(mxResources.get("areYouSure"),function(){t(y);b.deleteComment(function(){for(var a=F(b).replies,d=0;d<a.length;d++)C.removeChild(a[d]);for(d=0;d<c.length;d++)if(c[d]==b){c.splice(d,1);break}x.style.display=0==C.getElementsByTagName("div").length?"block":"none"},function(b){f(y);a.handleError(b,null,null, +null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})})},b.isResolved));u||0!=e||A(b.isResolved?mxResources.get("reopen"):mxResources.get("resolve"),function(a){function c(){var c=a.target;c.innerHTML="";b.isResolved=!b.isResolved;mxUtils.write(c,b.isResolved?mxResources.get("reopen"):mxResources.get("resolve"));for(var d=b.isResolved?"none":"",e=F(b).replies,f="dark"==uiTheme?"transparent":b.isResolved?"ghostWhite":"white",g=0;g<e.length;g++){e[g].style.backgroundColor=f;for(var l=e[g].querySelectorAll(".geCommentAction"), +n=0;n<l.length;n++)l[n]!=c.parentNode&&(l[n].style.display=d);B||(e[g].style.display="none")}k()}b.isResolved?E(mxResources.get("reOpened")+": ",!0,c,!1,!0):E(mxResources.get("markedAsResolved"),!1,c,!0)});y.appendChild(z);null!=d?C.insertBefore(y,d.nextSibling):C.appendChild(y);for(d=0;null!=b.replies&&d<b.replies.length;d++)z=b.replies[d],z.isResolved=b.isResolved,p(z,b.replies,null,e+1,g);null!=q&&(q.comment.id==b.id?(g=b.content,b.content=q.comment.content,m(b,y,q.saveCallback,q.deleteOnCancel), +b.content=g):null==q.comment.id&&q.comment.pCommentId==b.id&&(C.appendChild(q.div),m(q.comment,q.div,q.saveCallback,q.deleteOnCancel)));return y}}var u=!a.canComment(),v=a.canReplyToReplies(),q=null,z=document.createElement("div");z.className="geCommentsWin";z.style.background="white"==Dialog.backdropColor?"whiteSmoke":Dialog.backdropColor;var y=EditorUi.compactUi?"26px":"30px",C=document.createElement("div");C.className="geCommentsList";C.style.backgroundColor="white"==Dialog.backdropColor?"whiteSmoke": +Dialog.backdropColor;C.style.bottom=parseInt(y)+7+"px";z.appendChild(C);var x=document.createElement("span");x.style.cssText="display:none;padding-top:10px;text-align:center;";mxUtils.write(x,mxResources.get("noCommentsFound"));var A=document.createElement("div");A.className="geToolbarContainer geCommentsToolbar";A.style.height=y;A.style.padding=EditorUi.compactUi?"4px 0px 3px 0px":"1px";A.style.backgroundColor="white"==Dialog.backdropColor?"whiteSmoke":Dialog.backdropColor;mxClient.IS_QUIRKS&&(A.style.filter= +"none");y=document.createElement("a");y.className="geButton";mxClient.IS_QUIRKS&&(y.style.filter="none");if(!u){var F=y.cloneNode();F.innerHTML='<div class="geSprite geSprite-plus" style="display:inline-block;"></div>';F.setAttribute("title",mxResources.get("create")+"...");mxEvent.addListener(F,"click",function(b){function c(){m(d,e,function(b){t(e);a.addComment(b,function(a){b.id=a;D.push(b);l(e)},function(b){f(e);c();a.handleError(b,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})}, +!0)}var d=a.newComment("",a.getCurrentUser()),e=p(d,D,null,0);c();b.preventDefault();mxEvent.consume(b)});A.appendChild(F)}F=y.cloneNode();F.innerHTML='<img src="'+IMAGE_PATH+'/check.png" style="width: 16px; padding: 2px;">';F.setAttribute("title",mxResources.get("showResolved"));var B=!1;"dark"==uiTheme&&(F.style.filter="invert(100%)");mxEvent.addListener(F,"click",function(a){this.className=(B=!B)?"geButton geCheckedBtn":"geButton";G();a.preventDefault();mxEvent.consume(a)});A.appendChild(F);a.commentsRefreshNeeded()&& +(F=y.cloneNode(),F.innerHTML='<img src="'+IMAGE_PATH+'/update16.png" style="width: 16px; padding: 2px;">',F.setAttribute("title",mxResources.get("refresh")),"dark"==uiTheme&&(F.style.filter="invert(100%)"),mxEvent.addListener(F,"click",function(a){G();a.preventDefault();mxEvent.consume(a)}),A.appendChild(F));a.commentsSaveNeeded()&&(y=y.cloneNode(),y.innerHTML='<img src="'+IMAGE_PATH+'/save.png" style="width: 20px; padding: 2px;">',y.setAttribute("title",mxResources.get("save")),"dark"==uiTheme&& +(y.style.filter="invert(100%)"),mxEvent.addListener(y,"click",function(a){e();a.preventDefault();mxEvent.consume(a)}),A.appendChild(y));z.appendChild(A);var D=[],G=mxUtils.bind(this,function(){this.hasError=!1;if(null!=q){q.div=q.div.cloneNode(!0);var b=q.div.querySelector(".geCommentEditTxtArea"),c=q.div.querySelector(".geCommentEditBtns");q.comment.content=b.value;b.parentNode.removeChild(b);c.parentNode.removeChild(c)}C.innerHTML='<div style="padding-top:10px;text-align:center;"><img src="'+IMAGE_PATH+ +'/spin.gif" valign="middle"> '+mxUtils.htmlEntities(mxResources.get("loading"))+"...</div>";v=a.canReplyToReplies();a.commentsSupported()?a.getComments(function(a){function b(a){if(null!=a){a.sort(function(a,b){return new Date(a.modifiedDate)-new Date(b.modifiedDate)});for(var c=0;c<a.length;c++)b(a[c].replies)}}a.sort(function(a,b){return new Date(a.modifiedDate)-new Date(b.modifiedDate)});C.innerHTML="";C.appendChild(x);x.style.display="block";D=a;for(a=0;a<D.length;a++)b(D[a].replies),p(D[a],D, +null,0,B);null!=q&&null==q.comment.id&&null==q.comment.pCommentId&&(C.appendChild(q.div),m(q.comment,q.div,q.saveCallback,q.deleteOnCancel))},mxUtils.bind(this,function(a){C.innerHTML=mxUtils.htmlEntities(mxResources.get("error")+(a&&a.message?": "+a.message:""));this.hasError=!0})):C.innerHTML=mxUtils.htmlEntities(mxResources.get("error"))});G();this.refreshComments=G;A=mxUtils.bind(this,function(){function a(b){var d=c[b.id];if(null!=d)for(n(b,d),d=0;null!=b.replies&&d<b.replies.length;d++)a(b.replies[d])} +if(this.window.isVisible()){for(var b=C.querySelectorAll(".geCommentDate"),c={},d=0;d<b.length;d++){var e=b[d];c[e.getAttribute("data-commentId")]=e}for(d=0;d<D.length;d++)a(D[d])}});setInterval(A,6E4);this.refreshCommentsTime=A;this.window=new mxWindow(mxResources.get("comments"),z,c,b,d,g,!0,!0);this.window.minimumSize=new mxRectangle(0,0,300,200);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.window.addListener(mxEvent.SHOW, mxUtils.bind(this,function(){this.window.fit()}));this.window.setLocation=function(a,b){var c=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight;a=Math.max(0,Math.min(a,(window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth)-this.table.clientWidth));b=Math.max(0,Math.min(b,c-this.table.clientHeight-48));this.getX()==a&&this.getY()==b||mxWindow.prototype.setLocation.apply(this,arguments)};var H=mxUtils.bind(this,function(){var a=this.window.getX(), -b=this.window.getY();this.window.setLocation(a,b)});mxEvent.addListener(window,"resize",H);this.destroy=function(){mxEvent.removeListener(window,"resize",H);this.window.destroy()}},ConfirmDialog=function(a,c,b,d,g,e,k,m,n,q,f){var l=document.createElement("div");l.style.textAlign="center";f=null!=f?f:44;var p=document.createElement("div");p.style.padding="6px";p.style.overflow="auto";p.style.maxHeight=f+"px";p.style.lineHeight="1.2em";mxClient.IS_QUIRKS&&(p.style.height="60px");mxUtils.write(p,c); -l.appendChild(p);null!=q&&(p=document.createElement("div"),p.style.padding="6px 0 6px 0",c=document.createElement("img"),c.setAttribute("src",q),p.appendChild(c),l.appendChild(p));q=document.createElement("div");q.style.textAlign="center";q.style.whiteSpace="nowrap";var u=document.createElement("input");u.setAttribute("type","checkbox");e=mxUtils.button(e||mxResources.get("cancel"),function(){a.hideDialog();null!=d&&d(u.checked)});e.className="geBtn";null!=m&&(e.innerHTML=m+"<br>"+e.innerHTML,e.style.paddingBottom= -"8px",e.style.paddingTop="8px",e.style.height="auto",e.style.width="40%");a.editor.cancelFirst&&q.appendChild(e);var v=mxUtils.button(g||mxResources.get("ok"),function(){a.hideDialog();null!=b&&b(u.checked)});q.appendChild(v);null!=k?(v.innerHTML=k+"<br>"+v.innerHTML+"<br>",v.style.paddingBottom="8px",v.style.paddingTop="8px",v.style.height="auto",v.className="geBtn",v.style.width="40%"):v.className="geBtn gePrimaryBtn";a.editor.cancelFirst||q.appendChild(e);l.appendChild(q);n?(q.style.marginTop= -"10px",p=document.createElement("p"),p.style.marginTop="20px",p.appendChild(u),g=document.createElement("span"),mxUtils.write(g," "+mxResources.get("rememberThisSetting")),p.appendChild(g),l.appendChild(p),mxEvent.addListener(g,"click",function(a){u.checked=!u.checked;mxEvent.consume(a)})):q.style.marginTop="12px";this.init=function(){v.focus()};this.container=l};EditorUi.DIFF_INSERT="i";EditorUi.DIFF_REMOVE="r";EditorUi.DIFF_UPDATE="u";EditorUi.prototype.codec=new mxCodec;EditorUi.prototype.viewStateProperties={background:!0,backgroundImage:!0,shadowVisible:!0,foldingEnabled:!0,pageScale:!0,mathEnabled:!0,pageFormat:!0};EditorUi.prototype.cellProperties={id:!0,value:!0,xmlValue:!0,vertex:!0,edge:!0,visible:!0,collapsed:!0,connectable:!0,parent:!0,children:!0,previous:!0,source:!0,target:!0,edges:!0,geometry:!0,style:!0,mxObjectId:!0,mxTransient:!0}; -EditorUi.prototype.patchPages=function(a,c,b,d,g){var e={},k=[],m={},n={},q={},f={};if(null!=d&&null!=d[EditorUi.DIFF_UPDATE])for(var l in d[EditorUi.DIFF_UPDATE])e[l]=d[EditorUi.DIFF_UPDATE][l];if(null!=c[EditorUi.DIFF_REMOVE])for(d=0;d<c[EditorUi.DIFF_REMOVE].length;d++)n[c[EditorUi.DIFF_REMOVE][d]]=!0;if(null!=c[EditorUi.DIFF_INSERT])for(d=0;d<c[EditorUi.DIFF_INSERT].length;d++)m[c[EditorUi.DIFF_INSERT][d].previous]=c[EditorUi.DIFF_INSERT][d];if(null!=c[EditorUi.DIFF_UPDATE])for(l in c[EditorUi.DIFF_UPDATE])d= -c[EditorUi.DIFF_UPDATE][l],null!=d.previous&&(f[d.previous]=l);if(null!=a){var p="";for(d=0;d<a.length;d++){var u=a[d].getId();q[u]=a[d];null!=f[p]||n[u]||null!=c[EditorUi.DIFF_UPDATE]&&null!=c[EditorUi.DIFF_UPDATE][u]&&null!=c[EditorUi.DIFF_UPDATE][u].previous||(f[p]=u);p=u}}var v={},t=mxUtils.bind(this,function(a){var d=null!=a?a.getId():"";if(null!=a&&!v[d]){v[d]=!0;k.push(a);var l=null!=c[EditorUi.DIFF_UPDATE]?c[EditorUi.DIFF_UPDATE][d]:null;null!=l&&(this.updatePageRoot(a),null!=l.name&&a.setName(l.name), -null!=l.view&&this.patchViewState(a,l.view),null!=l.cells&&this.patchPage(a,l.cells,e[a.getId()],g),!b||null==l.cells&&null==l.view||(a.needsUpdate=!0))}a=f[d];null!=a&&(delete f[d],t(q[a]));a=m[d];null!=a&&(delete m[d],z(a))}),z=mxUtils.bind(this,function(a){a=mxUtils.parseXml(a.data).documentElement;a=new DiagramPage(a);this.updatePageRoot(a);var c=q[a.getId()];null==c?t(a):(c.root=a.root,this.currentPage==c?this.editor.graph.model.setRoot(c.root):b&&(c.needsUpdate=!0))});t();for(l in f)t(q[f[l]]), +b=this.window.getY();this.window.setLocation(a,b)});mxEvent.addListener(window,"resize",H);this.destroy=function(){mxEvent.removeListener(window,"resize",H);this.window.destroy()}},ConfirmDialog=function(a,c,b,d,g,e,k,m,n,t,f){var l=document.createElement("div");l.style.textAlign="center";f=null!=f?f:44;var p=document.createElement("div");p.style.padding="6px";p.style.overflow="auto";p.style.maxHeight=f+"px";p.style.lineHeight="1.2em";mxClient.IS_QUIRKS&&(p.style.height="60px");mxUtils.write(p,c); +l.appendChild(p);null!=t&&(p=document.createElement("div"),p.style.padding="6px 0 6px 0",c=document.createElement("img"),c.setAttribute("src",t),p.appendChild(c),l.appendChild(p));t=document.createElement("div");t.style.textAlign="center";t.style.whiteSpace="nowrap";var u=document.createElement("input");u.setAttribute("type","checkbox");e=mxUtils.button(e||mxResources.get("cancel"),function(){a.hideDialog();null!=d&&d(u.checked)});e.className="geBtn";null!=m&&(e.innerHTML=m+"<br>"+e.innerHTML,e.style.paddingBottom= +"8px",e.style.paddingTop="8px",e.style.height="auto",e.style.width="40%");a.editor.cancelFirst&&t.appendChild(e);var v=mxUtils.button(g||mxResources.get("ok"),function(){a.hideDialog();null!=b&&b(u.checked)});t.appendChild(v);null!=k?(v.innerHTML=k+"<br>"+v.innerHTML+"<br>",v.style.paddingBottom="8px",v.style.paddingTop="8px",v.style.height="auto",v.className="geBtn",v.style.width="40%"):v.className="geBtn gePrimaryBtn";a.editor.cancelFirst||t.appendChild(e);l.appendChild(t);n?(t.style.marginTop= +"10px",p=document.createElement("p"),p.style.marginTop="20px",p.appendChild(u),g=document.createElement("span"),mxUtils.write(g," "+mxResources.get("rememberThisSetting")),p.appendChild(g),l.appendChild(p),mxEvent.addListener(g,"click",function(a){u.checked=!u.checked;mxEvent.consume(a)})):t.style.marginTop="12px";this.init=function(){v.focus()};this.container=l};EditorUi.DIFF_INSERT="i";EditorUi.DIFF_REMOVE="r";EditorUi.DIFF_UPDATE="u";EditorUi.prototype.codec=new mxCodec;EditorUi.prototype.viewStateProperties={background:!0,backgroundImage:!0,shadowVisible:!0,foldingEnabled:!0,pageScale:!0,mathEnabled:!0,pageFormat:!0};EditorUi.prototype.cellProperties={id:!0,value:!0,xmlValue:!0,vertex:!0,edge:!0,visible:!0,collapsed:!0,connectable:!0,parent:!0,children:!0,previous:!0,source:!0,target:!0,edges:!0,geometry:!0,style:!0,mxObjectId:!0,mxTransient:!0}; +EditorUi.prototype.patchPages=function(a,c,b,d,g){var e={},k=[],m={},n={},t={},f={};if(null!=d&&null!=d[EditorUi.DIFF_UPDATE])for(var l in d[EditorUi.DIFF_UPDATE])e[l]=d[EditorUi.DIFF_UPDATE][l];if(null!=c[EditorUi.DIFF_REMOVE])for(d=0;d<c[EditorUi.DIFF_REMOVE].length;d++)n[c[EditorUi.DIFF_REMOVE][d]]=!0;if(null!=c[EditorUi.DIFF_INSERT])for(d=0;d<c[EditorUi.DIFF_INSERT].length;d++)m[c[EditorUi.DIFF_INSERT][d].previous]=c[EditorUi.DIFF_INSERT][d];if(null!=c[EditorUi.DIFF_UPDATE])for(l in c[EditorUi.DIFF_UPDATE])d= +c[EditorUi.DIFF_UPDATE][l],null!=d.previous&&(f[d.previous]=l);if(null!=a){var p="";for(d=0;d<a.length;d++){var u=a[d].getId();t[u]=a[d];null!=f[p]||n[u]||null!=c[EditorUi.DIFF_UPDATE]&&null!=c[EditorUi.DIFF_UPDATE][u]&&null!=c[EditorUi.DIFF_UPDATE][u].previous||(f[p]=u);p=u}}var v={},q=mxUtils.bind(this,function(a){var d=null!=a?a.getId():"";if(null!=a&&!v[d]){v[d]=!0;k.push(a);var l=null!=c[EditorUi.DIFF_UPDATE]?c[EditorUi.DIFF_UPDATE][d]:null;null!=l&&(this.updatePageRoot(a),null!=l.name&&a.setName(l.name), +null!=l.view&&this.patchViewState(a,l.view),null!=l.cells&&this.patchPage(a,l.cells,e[a.getId()],g),!b||null==l.cells&&null==l.view||(a.needsUpdate=!0))}a=f[d];null!=a&&(delete f[d],q(t[a]));a=m[d];null!=a&&(delete m[d],z(a))}),z=mxUtils.bind(this,function(a){a=mxUtils.parseXml(a.data).documentElement;a=new DiagramPage(a);this.updatePageRoot(a);var c=t[a.getId()];null==c?q(a):(c.root=a.root,this.currentPage==c?this.editor.graph.model.setRoot(c.root):b&&(c.needsUpdate=!0))});q();for(l in f)q(t[f[l]]), delete f[l];for(l in m)z(m[l]),delete m[l];return k};EditorUi.prototype.patchViewState=function(a,c){if(null!=a.viewState&&null!=c){a==this.currentPage&&(a.viewState=this.editor.graph.getViewState());for(var b in c)a.viewState[b]=JSON.parse(c[b]);a==this.currentPage&&this.editor.graph.setViewState(a.viewState)}}; EditorUi.prototype.createParentLookup=function(a,c){function b(a){var b=d[a];null==b&&(b={inserted:[],moved:{}},d[a]=b);return b}var d={};if(null!=c[EditorUi.DIFF_INSERT])for(var g=0;g<c[EditorUi.DIFF_INSERT].length;g++){var e=c[EditorUi.DIFF_INSERT][g],k=null!=e.parent?e.parent:"",m=null!=e.previous?e.previous:"";b(k).inserted[m]=e}if(null!=c[EditorUi.DIFF_UPDATE])for(var n in c[EditorUi.DIFF_UPDATE])e=c[EditorUi.DIFF_UPDATE][n],null!=e.previous&&(k=e.parent,null==k&&(g=a.getCell(n),null!=g&&(g= a.getParent(g),null!=g&&(k=g.getId()))),null!=k&&(b(k).moved[e.previous]=n));return d}; -EditorUi.prototype.patchPage=function(a,c,b,d){var g=a==this.currentPage?this.editor.graph.model:new mxGraphModel(a.root),e=this.createParentLookup(g,c);g.beginUpdate();try{var k=g.updateEdgeParent,m=new mxDictionary,n=[];g.updateEdgeParent=function(a,b){!m.get(a)&&d&&(m.put(a,!0),n.push(a))};var q=e[""],f=null!=q&&null!=q.inserted?q.inserted[""]:null,l=null;null!=f&&(l=this.getCellForJson(f));if(null==l){var p=null!=q&&null!=q.moved?q.moved[""]:null;null!=p&&(l=g.getCell(p))}null!=l&&(g.setRoot(l), -a.root=l);this.patchCellRecursive(a,g,g.root,e,c);if(null!=c[EditorUi.DIFF_REMOVE])for(var u=0;u<c[EditorUi.DIFF_REMOVE].length;u++){var v=g.getCell(c[EditorUi.DIFF_REMOVE][u]);null!=v&&g.remove(v)}if(null!=c[EditorUi.DIFF_UPDATE]){var t=null!=b&&null!=b.cells?b.cells[EditorUi.DIFF_UPDATE]:null;for(p in c[EditorUi.DIFF_UPDATE])this.patchCell(g,g.getCell(p),c[EditorUi.DIFF_UPDATE][p],null!=t?t[p]:null)}if(null!=c[EditorUi.DIFF_INSERT])for(u=0;u<c[EditorUi.DIFF_INSERT].length;u++)f=c[EditorUi.DIFF_INSERT][u], +EditorUi.prototype.patchPage=function(a,c,b,d){var g=a==this.currentPage?this.editor.graph.model:new mxGraphModel(a.root),e=this.createParentLookup(g,c);g.beginUpdate();try{var k=g.updateEdgeParent,m=new mxDictionary,n=[];g.updateEdgeParent=function(a,b){!m.get(a)&&d&&(m.put(a,!0),n.push(a))};var t=e[""],f=null!=t&&null!=t.inserted?t.inserted[""]:null,l=null;null!=f&&(l=this.getCellForJson(f));if(null==l){var p=null!=t&&null!=t.moved?t.moved[""]:null;null!=p&&(l=g.getCell(p))}null!=l&&(g.setRoot(l), +a.root=l);this.patchCellRecursive(a,g,g.root,e,c);if(null!=c[EditorUi.DIFF_REMOVE])for(var u=0;u<c[EditorUi.DIFF_REMOVE].length;u++){var v=g.getCell(c[EditorUi.DIFF_REMOVE][u]);null!=v&&g.remove(v)}if(null!=c[EditorUi.DIFF_UPDATE]){var q=null!=b&&null!=b.cells?b.cells[EditorUi.DIFF_UPDATE]:null;for(p in c[EditorUi.DIFF_UPDATE])this.patchCell(g,g.getCell(p),c[EditorUi.DIFF_UPDATE][p],null!=q?q[p]:null)}if(null!=c[EditorUi.DIFF_INSERT])for(u=0;u<c[EditorUi.DIFF_INSERT].length;u++)f=c[EditorUi.DIFF_INSERT][u], v=g.getCell(f.id),null!=v&&(g.setTerminal(v,g.getCell(f.source),!0),g.setTerminal(v,g.getCell(f.target),!1));g.updateEdgeParent=k;if(d&&0<n.length)for(u=0;u<n.length;u++)g.contains(n[u])&&g.updateEdgeParent(n[u])}finally{g.endUpdate()}}; -EditorUi.prototype.patchCellRecursive=function(a,c,b,d,g){if(null!=b){for(var e=d[b.getId()],k=null!=e&&null!=e.inserted?e.inserted:{},e=null!=e&&null!=e.moved?e.moved:{},m=0,n=c.getChildCount(b),q="",f=0;f<n;f++){var l=c.getChildAt(b,f).getId();null==e[q]&&(null==g[EditorUi.DIFF_UPDATE]||null==g[EditorUi.DIFF_UPDATE][l]||null==g[EditorUi.DIFF_UPDATE][l].previous&&null==g[EditorUi.DIFF_UPDATE][l].parent)&&(e[q]=l);q=l}n=mxUtils.bind(this,function(e,f){var k=null!=e?e.getId():"";if(null!=e&&f){var l= -c.getCell(k);null!=l&&l!=e&&(e=null)}null!=e&&(c.getChildAt(b,m)!=e&&c.add(b,e,m),this.patchCellRecursive(a,c,e,d,g),m++);return k});for(q=[null];0<q.length;)if(f=q.shift(),f=n(null!=f?f.child:null,null!=f?f.insert:!1),l=e[f],null!=l&&(delete e[f],q.push({child:c.getCell(l)})),l=k[f],null!=l&&(delete k[f],q.push({child:this.getCellForJson(l),insert:!0})),0==q.length){for(f in e)q.push({child:c.getCell(e[f])}),delete e[f];for(f in k)q.push({child:this.getCellForJson(k[f]),insert:!0}),delete k[f]}}}; +EditorUi.prototype.patchCellRecursive=function(a,c,b,d,g){if(null!=b){for(var e=d[b.getId()],k=null!=e&&null!=e.inserted?e.inserted:{},e=null!=e&&null!=e.moved?e.moved:{},m=0,n=c.getChildCount(b),t="",f=0;f<n;f++){var l=c.getChildAt(b,f).getId();null==e[t]&&(null==g[EditorUi.DIFF_UPDATE]||null==g[EditorUi.DIFF_UPDATE][l]||null==g[EditorUi.DIFF_UPDATE][l].previous&&null==g[EditorUi.DIFF_UPDATE][l].parent)&&(e[t]=l);t=l}n=mxUtils.bind(this,function(e,f){var k=null!=e?e.getId():"";if(null!=e&&f){var l= +c.getCell(k);null!=l&&l!=e&&(e=null)}null!=e&&(c.getChildAt(b,m)!=e&&c.add(b,e,m),this.patchCellRecursive(a,c,e,d,g),m++);return k});for(t=[null];0<t.length;)if(f=t.shift(),f=n(null!=f?f.child:null,null!=f?f.insert:!1),l=e[f],null!=l&&(delete e[f],t.push({child:c.getCell(l)})),l=k[f],null!=l&&(delete k[f],t.push({child:this.getCellForJson(l),insert:!0})),0==t.length){for(f in e)t.push({child:c.getCell(e[f])}),delete e[f];for(f in k)t.push({child:this.getCellForJson(k[f]),insert:!0}),delete k[f]}}}; EditorUi.prototype.patchCell=function(a,c,b,d){if(null!=c&&null!=b){if(null==d||null==d.xmlValue&&(null==d.value||""==d.value))"value"in b?a.setValue(c,b.value):null!=b.xmlValue&&a.setValue(c,mxUtils.parseXml(b.xmlValue).documentElement);null!=d&&null!=d.style||null==b.style||a.setStyle(c,b.style);null!=b.visible&&a.setVisible(c,1==b.visible);null!=b.collapsed&&a.setCollapsed(c,1==b.collapsed);null!=b.vertex&&(c.vertex=1==b.vertex);null!=b.edge&&(c.edge=1==b.edge);null!=b.connectable&&(c.connectable= 1==b.connectable);null!=b.geometry&&a.setGeometry(c,this.codec.decode(mxUtils.parseXml(b.geometry).documentElement));null!=b.source&&a.setTerminal(c,a.getCell(b.source),!0);null!=b.target&&a.setTerminal(c,a.getCell(b.target),!1);for(var g in b)this.cellProperties[g]||(c[g]=b[g])}}; EditorUi.prototype.getPagesForNode=function(a,c){var b=this.editor.extractGraphModel(a,!0);null!=b&&(a=b);var b=a.getElementsByTagName(c||"diagram"),d=[];if(0<b.length)for(var g=0;g<b.length;g++){var e=new DiagramPage(b[g]);this.updatePageRoot(e);d.push(e)}else"mxGraphModel"==a.nodeName&&(e=new DiagramPage(a.ownerDocument.createElement("diagram")),e.setName(mxResources.get("pageWithNumber",[1])),mxUtils.setTextContent(e.node,Graph.compressNode(a)),d.push(e));return d}; -EditorUi.prototype.diffPages=function(a,c){for(var b=[],d=[],g={},e={},k={},m=null,n=0;n<c.length;n++)e[c[n].getId()]={page:c[n],prev:m},m=c[n];m=null;for(n=0;n<a.length;n++){var q=a[n].getId(),f=e[q];if(null==f)d.push(q);else{var l=this.diffPage(a[n],f.page),p={};0<Object.keys(l).length&&(p.cells=l);l=this.diffViewState(a[n],f.page);0<Object.keys(l).length&&(p.view=l);if((null!=f.prev?null==m:null!=m)||null!=m&&null!=f.prev&&m.getId()!=f.prev.getId())p.previous=null!=f.prev?f.prev.getId():"";null!= -f.page.getName()&&a[n].getName()!=f.page.getName()&&(p.name=f.page.getName());0<Object.keys(p).length&&(k[q]=p)}delete e[a[n].getId()];m=a[n]}for(q in e)f=e[q],b.push({data:mxUtils.getXml(f.page.node),previous:null!=f.prev?f.prev.getId():""});0<Object.keys(k).length&&(g[EditorUi.DIFF_UPDATE]=k);0<d.length&&(g[EditorUi.DIFF_REMOVE]=d);0<b.length&&(g[EditorUi.DIFF_INSERT]=b);return g}; +EditorUi.prototype.diffPages=function(a,c){for(var b=[],d=[],g={},e={},k={},m=null,n=0;n<c.length;n++)e[c[n].getId()]={page:c[n],prev:m},m=c[n];m=null;for(n=0;n<a.length;n++){var t=a[n].getId(),f=e[t];if(null==f)d.push(t);else{var l=this.diffPage(a[n],f.page),p={};0<Object.keys(l).length&&(p.cells=l);l=this.diffViewState(a[n],f.page);0<Object.keys(l).length&&(p.view=l);if((null!=f.prev?null==m:null!=m)||null!=m&&null!=f.prev&&m.getId()!=f.prev.getId())p.previous=null!=f.prev?f.prev.getId():"";null!= +f.page.getName()&&a[n].getName()!=f.page.getName()&&(p.name=f.page.getName());0<Object.keys(p).length&&(k[t]=p)}delete e[a[n].getId()];m=a[n]}for(t in e)f=e[t],b.push({data:mxUtils.getXml(f.page.node),previous:null!=f.prev?f.prev.getId():""});0<Object.keys(k).length&&(g[EditorUi.DIFF_UPDATE]=k);0<d.length&&(g[EditorUi.DIFF_REMOVE]=d);0<b.length&&(g[EditorUi.DIFF_INSERT]=b);return g}; EditorUi.prototype.createCellLookup=function(a,c,b){b=null!=b?b:{};b[a.getId()]={cell:a,prev:c};var d=a.getChildCount();c=null;for(var g=0;g<d;g++){var e=a.getChildAt(g);this.createCellLookup(e,c,b);c=e}return b}; EditorUi.prototype.diffCellRecursive=function(a,c,b,d,g){d=null!=d?d:{};var e=b[a.getId()];delete b[a.getId()];if(null==e)g.push(a.getId());else{var k=this.diffCell(a,e.cell);if(null!=k.parent||(null!=e.prev?null==c:null!=c)||null!=c&&null!=e.prev&&c.getId()!=e.prev.getId())k.previous=null!=e.prev?e.prev.getId():"";0<Object.keys(k).length&&(d[a.getId()]=k)}e=a.getChildCount();c=null;for(k=0;k<e;k++){var m=a.getChildAt(k);this.diffCellRecursive(m,c,b,d,g);c=m}return d}; EditorUi.prototype.diffPage=function(a,c){var b=[],d=[],g={};this.updatePageRoot(a);this.updatePageRoot(c);var e=this.createCellLookup(c.root),k=this.diffCellRecursive(a.root,null,e,k,d),m;for(m in e){var n=e[m];b.push(this.getJsonForCell(n.cell,n.prev))}0<Object.keys(k).length&&(g[EditorUi.DIFF_UPDATE]=k);0<d.length&&(g[EditorUi.DIFF_REMOVE]=d);0<b.length&&(g[EditorUi.DIFF_INSERT]=b);return g}; @@ -8739,14 +8728,14 @@ DrawioFileSync.prototype.fileChangedNotify=function(){if(this.isValidState())if( DrawioFileSync.prototype.fileChanged=function(a,c,b){var d=window.setTimeout(mxUtils.bind(this,function(){null!=b&&b()||(this.isValidState()?this.file.loadPatchDescriptor(mxUtils.bind(this,function(d){null!=b&&b()||(this.isValidState()?this.catchup(d,a,c,b):null!=c&&c())}),c):null!=c&&c())}),0);return this.notifyThread=d}; DrawioFileSync.prototype.reloadDescriptor=function(){this.file.loadDescriptor(mxUtils.bind(this,function(a){null!=a?(this.file.setDescriptorRevisionId(a,this.file.getCurrentRevisionId()),this.updateDescriptor(a),this.fileChangedNotify()):(this.file.inConflictState=!0,this.file.handleFileError())}),mxUtils.bind(this,function(a){this.file.inConflictState=!0;this.file.handleFileError(a)}))}; DrawioFileSync.prototype.updateDescriptor=function(a){this.file.setDescriptor(a);this.file.descriptorChanged();this.start()}; -DrawioFileSync.prototype.catchup=function(a,c,b,d){if(null!=a&&(null==d||!d())){var g=this.file.getDescriptorRevisionId(a),e=this.file.getCurrentRevisionId();if(e==g)this.file.patchDescriptor(this.file.getDescriptor(),a),null!=c&&c();else if(this.isValidState()){var k=this.file.getDescriptorSecret(a),m=0,n=!1,q=mxUtils.bind(this,function(){if(null==d||!d())if(e!=this.file.getCurrentRevisionId())null!=c&&c();else if(this.isValidState()){var f=!0,l=window.setTimeout(mxUtils.bind(this,function(){f=!1; -this.reload(c,b,d)}),this.ui.timeout);mxUtils.get(EditorUi.cacheUrl+"?id="+encodeURIComponent(this.channelId)+"&from="+encodeURIComponent(e)+"&to="+encodeURIComponent(g)+(null!=k?"&secret="+encodeURIComponent(k):""),mxUtils.bind(this,function(g){this.file.stats.bytesReceived+=g.getText().length;window.clearTimeout(l);if(f&&(null==d||!d()))if(e!=this.file.getCurrentRevisionId())null!=c&&c();else if(this.isValidState()){var k=null,p=[];if(200<=g.getStatus()&&299>=g.getStatus()&&0<g.getText().length)try{var t= -JSON.parse(g.getText());if(null!=t&&0<t.length)for(var z=0;z<t.length;z++){var y=this.stringToObject(t[z]);if(y.v>DrawioFileSync.PROTOCOL){n=!0;p=[];break}else if(y.v===DrawioFileSync.PROTOCOL&&null!=y.d)k=y.d.checksum,p.push(y.d.patch);else{n=!0;p=[];break}}}catch(C){p=[],null!=window.console&&"1"==urlParams.test&&console.log(C)}try{0<p.length?(this.file.stats.cacheHits++,this.merge(p,k,a,c,b,d)):m<=this.maxCacheReadyRetries&&!n&&401!=g.getStatus()?(m++,this.file.stats.cacheMiss++,window.setTimeout(q, -(m+1)*this.cacheReadyDelay)):(this.file.stats.cacheFail++,this.reload(c,b,d))}catch(C){null!=b&&b(C)}}else null!=b&&b()}))}else null!=b&&b()});window.setTimeout(q,this.cacheReadyDelay)}else null!=b&&b()}};DrawioFileSync.prototype.reload=function(a,c,b,d){this.file.updateFile(mxUtils.bind(this,function(){this.lastModified=this.file.getLastModifiedDate();this.updateStatus();this.start();null!=a&&a()}),mxUtils.bind(this,function(a){null!=c&&c(a)}),b,d)}; +DrawioFileSync.prototype.catchup=function(a,c,b,d){if(null!=a&&(null==d||!d())){var g=this.file.getDescriptorRevisionId(a),e=this.file.getCurrentRevisionId();if(e==g)this.file.patchDescriptor(this.file.getDescriptor(),a),null!=c&&c();else if(this.isValidState()){var k=this.file.getDescriptorSecret(a),m=0,n=!1,t=mxUtils.bind(this,function(){if(null==d||!d())if(e!=this.file.getCurrentRevisionId())null!=c&&c();else if(this.isValidState()){var f=!0,l=window.setTimeout(mxUtils.bind(this,function(){f=!1; +this.reload(c,b,d)}),this.ui.timeout);mxUtils.get(EditorUi.cacheUrl+"?id="+encodeURIComponent(this.channelId)+"&from="+encodeURIComponent(e)+"&to="+encodeURIComponent(g)+(null!=k?"&secret="+encodeURIComponent(k):""),mxUtils.bind(this,function(g){this.file.stats.bytesReceived+=g.getText().length;window.clearTimeout(l);if(f&&(null==d||!d()))if(e!=this.file.getCurrentRevisionId())null!=c&&c();else if(this.isValidState()){var k=null,p=[];if(200<=g.getStatus()&&299>=g.getStatus()&&0<g.getText().length)try{var q= +JSON.parse(g.getText());if(null!=q&&0<q.length)for(var z=0;z<q.length;z++){var y=this.stringToObject(q[z]);if(y.v>DrawioFileSync.PROTOCOL){n=!0;p=[];break}else if(y.v===DrawioFileSync.PROTOCOL&&null!=y.d)k=y.d.checksum,p.push(y.d.patch);else{n=!0;p=[];break}}}catch(C){p=[],null!=window.console&&"1"==urlParams.test&&console.log(C)}try{0<p.length?(this.file.stats.cacheHits++,this.merge(p,k,a,c,b,d)):m<=this.maxCacheReadyRetries&&!n&&401!=g.getStatus()?(m++,this.file.stats.cacheMiss++,window.setTimeout(t, +(m+1)*this.cacheReadyDelay)):(this.file.stats.cacheFail++,this.reload(c,b,d))}catch(C){null!=b&&b(C)}}else null!=b&&b()}))}else null!=b&&b()});window.setTimeout(t,this.cacheReadyDelay)}else null!=b&&b()}};DrawioFileSync.prototype.reload=function(a,c,b,d){this.file.updateFile(mxUtils.bind(this,function(){this.lastModified=this.file.getLastModifiedDate();this.updateStatus();this.start();null!=a&&a()}),mxUtils.bind(this,function(a){null!=c&&c(a)}),b,d)}; DrawioFileSync.prototype.merge=function(a,c,b,d,g,e){try{this.file.stats.merged++;this.lastModified=new Date;this.file.shadowPages=null!=this.file.shadowPages?this.file.shadowPages:this.ui.getPagesForNode(mxUtils.parseXml(this.file.shadowData).documentElement);this.file.backupPatch=this.file.isModified()?this.ui.diffPages(this.file.shadowPages,this.ui.pages):null;var k=this.file.ignorePatches(a),m=this.file.getDescriptorRevisionId(b);if(!k){for(e=0;e<a.length;e++)this.file.shadowPages=this.ui.patchPages(this.file.shadowPages, -a[e]);var n=null!=c?this.ui.getHashValueForPages(this.file.shadowPages):null;"1"==urlParams.test&&EditorUi.debug("Sync.merge",[this],"from",this.file.getCurrentRevisionId(),"to",m,"etag",this.file.getDescriptorEtag(b),"backup",this.file.backupPatch,"attempt",this.catchupRetryCount,"patches",a,"checksum",c==n,c);if(null!=c&&c!=n){var q=this.ui.hashValue(this.file.getCurrentRevisionId()),f=this.ui.hashValue(m);this.file.checksumError(g,a,"From: "+q+"\nTo: "+f+"\nChecksum: "+c+"\nCurrent: "+n,m,"merge"); -return}this.file.patch(a,DrawioFile.LAST_WRITE_WINS?this.file.backupPatch:null)}this.file.invalidChecksum=!1;this.file.inConflictState=!1;this.file.patchDescriptor(this.file.getDescriptor(),b);this.file.backupPatch=null;null!=d&&d()}catch(u){this.file.inConflictState=!0;this.file.invalidChecksum=!0;this.file.descriptorChanged();null!=g&&g(u);try{if(this.file.errorReportsEnabled)q=this.ui.hashValue(this.file.getCurrentRevisionId()),f=this.ui.hashValue(m),this.file.sendErrorReport("Error in merge", -"From: "+q+"\nTo: "+f+"\nChecksum: "+c+"\nPatches:\n"+this.file.compressReportData(JSON.stringify(a,null,2)),u);else{var l=this.file.getCurrentUser(),p=null!=l?l.id:"unknown";EditorUi.logError("Error in merge",null,this.file.getMode()+"."+this.file.getId(),p,u)}}catch(v){}}}; +a[e]);var n=null!=c?this.ui.getHashValueForPages(this.file.shadowPages):null;"1"==urlParams.test&&EditorUi.debug("Sync.merge",[this],"from",this.file.getCurrentRevisionId(),"to",m,"etag",this.file.getDescriptorEtag(b),"backup",this.file.backupPatch,"attempt",this.catchupRetryCount,"patches",a,"checksum",c==n,c);if(null!=c&&c!=n){var t=this.ui.hashValue(this.file.getCurrentRevisionId()),f=this.ui.hashValue(m);this.file.checksumError(g,a,"From: "+t+"\nTo: "+f+"\nChecksum: "+c+"\nCurrent: "+n,m,"merge"); +return}this.file.patch(a,DrawioFile.LAST_WRITE_WINS?this.file.backupPatch:null)}this.file.invalidChecksum=!1;this.file.inConflictState=!1;this.file.patchDescriptor(this.file.getDescriptor(),b);this.file.backupPatch=null;null!=d&&d()}catch(u){this.file.inConflictState=!0;this.file.invalidChecksum=!0;this.file.descriptorChanged();null!=g&&g(u);try{if(this.file.errorReportsEnabled)t=this.ui.hashValue(this.file.getCurrentRevisionId()),f=this.ui.hashValue(m),this.file.sendErrorReport("Error in merge", +"From: "+t+"\nTo: "+f+"\nChecksum: "+c+"\nPatches:\n"+this.file.compressReportData(JSON.stringify(a,null,2)),u);else{var l=this.file.getCurrentUser(),p=null!=l?l.id:"unknown";EditorUi.logError("Error in merge",null,this.file.getMode()+"."+this.file.getId(),p,u)}}catch(v){}}}; DrawioFileSync.prototype.descriptorChanged=function(a){this.lastModified=this.file.getLastModifiedDate();if(null!=this.channelId){var c=this.objectToString(this.createMessage({a:"desc",m:this.lastModified.getTime()})),b=this.file.getCurrentRevisionId(),d=this.objectToString({});mxUtils.post(EditorUi.cacheUrl,this.getIdParameters()+"&from="+encodeURIComponent(a)+"&to="+encodeURIComponent(b)+"&msg="+encodeURIComponent(c)+"&data="+encodeURIComponent(d));this.file.stats.bytesSent+=d.length;this.file.stats.msgSent++}this.updateStatus()}; DrawioFileSync.prototype.objectToString=function(a){a=Graph.compress(JSON.stringify(a));null!=this.key&&"undefined"!==typeof CryptoJS&&(a=CryptoJS.AES.encrypt(a,this.key).toString());return a};DrawioFileSync.prototype.stringToObject=function(a){null!=this.key&&"undefined"!==typeof CryptoJS&&(a=CryptoJS.AES.decrypt(a,this.key).toString(CryptoJS.enc.Utf8));return JSON.parse(Graph.decompress(a))}; DrawioFileSync.prototype.fileSaved=function(a,c,b,d){this.lastModified=this.file.getLastModifiedDate();this.resetUpdateStatusThread();this.catchupRetryCount=0;if(!this.ui.isOffline()&&!this.file.inConflictState&&!this.file.redirectDialogShowing&&(this.start(),null!=this.channelId)){var g=null!=this.file.shadowPages?this.file.shadowPages:this.ui.getPagesForNode(mxUtils.parseXml(this.file.shadowData).documentElement);d=this.ui.getHashValueForPages(a);g=this.ui.diffPages(g,a);c=this.file.getDescriptorRevisionId(c); @@ -8762,7 +8751,7 @@ mxAsyncCanvas.prototype.decWaitCounter=function(){this.waitCounter--;0==this.wai mxAsyncCanvas.prototype.setAlpha=function(a){this.state.alpha=a};mxAsyncCanvas.prototype.setFontColor=function(a){this.state.fontColor=a};mxAsyncCanvas.prototype.setFontBackgroundColor=function(a){a==mxConstants.NONE&&(a=null);this.state.fontBackgroundColor=a};mxAsyncCanvas.prototype.setFontBorderColor=function(a){a==mxConstants.NONE&&(a=null);this.state.fontBorderColor=a};mxAsyncCanvas.prototype.setFontSize=function(a){this.state.fontSize=a}; mxAsyncCanvas.prototype.setFontFamily=function(a){this.state.fontFamily=a};mxAsyncCanvas.prototype.setFontStyle=function(a){this.state.fontStyle=a};mxAsyncCanvas.prototype.rect=function(a,c,b,d){};mxAsyncCanvas.prototype.roundrect=function(a,c,b,d,g,e){};mxAsyncCanvas.prototype.ellipse=function(a,c,b,d){};mxAsyncCanvas.prototype.rewriteImageSource=function(a){if("http://"==a.substring(0,7)||"https://"==a.substring(0,8))a="/proxy?url="+encodeURIComponent(a);return a}; mxAsyncCanvas.prototype.image=function(a,c,b,d,g,e,k,m){g=this.rewriteImageSource(g);a=this.htmlCanvas.images[g];null==a&&(a=new Image,a.onload=mxUtils.bind(this,function(){this.decWaitCounter()}),a.onerror=mxUtils.bind(this,function(){this.decWaitCounter()}),this.incWaitCounter(),this.htmlCanvas.images[g]=a,a.src=g)};mxAsyncCanvas.prototype.fill=function(){};mxAsyncCanvas.prototype.stroke=function(){};mxAsyncCanvas.prototype.fillAndStroke=function(){}; -mxAsyncCanvas.prototype.text=function(a,c,b,d,g,e,k,m,n,q,f,l){if(null!=g&&0!=g.length&&(a=this.state.scale,"html"==n&&"function"===typeof html2canvas)){this.incWaitCounter();var p=this.canvasIndex++;html2canvas(g,{onrendered:mxUtils.bind(this,function(a){this.htmlCanvas.subCanvas[p]=a;this.decWaitCounter()}),scale:a,logging:!0})}};mxAsyncCanvas.prototype.finish=function(a){0==this.waitCounter?a():this.onComplete=a};function mxJsCanvas(a){mxAbstractCanvas2D.call(this);this.ctx=a.getContext("2d");this.ctx.textBaseline="top";this.ctx.fillStyle="rgba(255,255,255,0)";this.ctx.strokeStyle="rgba(0, 0, 0, 0)";this.M_RAD_PER_DEG=Math.PI/180;this.images=null==this.images?[]:this.images;this.subCanvas=null==this.subCanvas?[]:this.subCanvas}mxUtils.extend(mxJsCanvas,mxAbstractCanvas2D);mxJsCanvas.prototype.ctx=null;mxJsCanvas.prototype.waitCounter=0;mxJsCanvas.prototype.onComplete=null;mxJsCanvas.prototype.images=null; +mxAsyncCanvas.prototype.text=function(a,c,b,d,g,e,k,m,n,t,f,l){if(null!=g&&0!=g.length&&(a=this.state.scale,"html"==n&&"function"===typeof html2canvas)){this.incWaitCounter();var p=this.canvasIndex++;html2canvas(g,{onrendered:mxUtils.bind(this,function(a){this.htmlCanvas.subCanvas[p]=a;this.decWaitCounter()}),scale:a,logging:!0})}};mxAsyncCanvas.prototype.finish=function(a){0==this.waitCounter?a():this.onComplete=a};function mxJsCanvas(a){mxAbstractCanvas2D.call(this);this.ctx=a.getContext("2d");this.ctx.textBaseline="top";this.ctx.fillStyle="rgba(255,255,255,0)";this.ctx.strokeStyle="rgba(0, 0, 0, 0)";this.M_RAD_PER_DEG=Math.PI/180;this.images=null==this.images?[]:this.images;this.subCanvas=null==this.subCanvas?[]:this.subCanvas}mxUtils.extend(mxJsCanvas,mxAbstractCanvas2D);mxJsCanvas.prototype.ctx=null;mxJsCanvas.prototype.waitCounter=0;mxJsCanvas.prototype.onComplete=null;mxJsCanvas.prototype.images=null; mxJsCanvas.prototype.subCanvas=null;mxJsCanvas.prototype.canvasIndex=0;mxJsCanvas.prototype.hexToRgb=function(a){a=a.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(a,b,d,g){return b+b+d+d+g+g});return(a=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a))?{r:parseInt(a[1],16),g:parseInt(a[2],16),b:parseInt(a[3],16)}:null};mxJsCanvas.prototype.incWaitCounter=function(){this.waitCounter++}; mxJsCanvas.prototype.decWaitCounter=function(){this.waitCounter--;0==this.waitCounter&&null!=this.onComplete&&(this.onComplete(),this.onComplete=null)};mxJsCanvas.prototype.updateFont=function(){var a="";(this.state.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&(a+="bold ");(this.state.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&(a+="italic ");this.ctx.font=a+this.state.fontSize+"px "+this.state.fontFamily}; mxJsCanvas.prototype.save=function(){this.states.push(this.state);this.state=mxUtils.clone(this.state);this.ctx.save()};mxJsCanvas.prototype.restore=function(){this.state=this.states.pop();this.ctx.restore()};mxJsCanvas.prototype.scale=function(a){this.state.scale*=a;this.state.strokeWidth*=a;this.ctx.scale(a,a)};mxJsCanvas.prototype.translate=function(a,c){this.state.dx+=a;this.state.dy+=c;this.ctx.translate(a,c)}; @@ -8777,9 +8766,9 @@ mxJsCanvas.prototype.setShadowOffset=function(a,c){this.state.shadowDx=a;this.st mxJsCanvas.prototype.arcTo=function(a,c,b,d,g,e,k){a=mxUtils.arcToCurves(this.lastMoveX,this.lastMoveY,a,c,b,d,g,e,k);if(null!=a)for(c=0;c<a.length;c+=6)this.curveTo(a[c],a[c+1],a[c+2],a[c+3],a[c+4],a[c+5])};mxJsCanvas.prototype.curveTo=function(a,c,b,d,g,e){this.ctx.bezierCurveTo(a,c,b,d,g,e);this.lastMoveX=g;this.lastMoveY=e};mxJsCanvas.prototype.rect=function(a,c,b,d){this.begin();this.moveTo(a,c);this.lineTo(a+b,c);this.lineTo(a+b,c+d);this.lineTo(a,c+d);this.close()}; mxJsCanvas.prototype.roundrect=function(a,c,b,d,g,e){this.begin();this.moveTo(a+g,c);this.lineTo(a+b-g,c);this.quadTo(a+b,c,a+b,c+e);this.lineTo(a+b,c+d-e);this.quadTo(a+b,c+d,a+b-g,c+d);this.lineTo(a+g,c+d);this.quadTo(a,c+d,a,c+d-e);this.lineTo(a,c+e);this.quadTo(a,c,a+g,c)};mxJsCanvas.prototype.ellipse=function(a,c,b,d){this.ctx.save();this.ctx.translate(a+b/2,c+d/2);this.ctx.scale(b/2,d/2);this.ctx.beginPath();this.ctx.arc(0,0,1,0,2*Math.PI,!1);this.ctx.restore()}; mxJsCanvas.prototype.rewriteImageSource=function(a){if("http://"==a.substring(0,7)||"https://"==a.substring(0,8))a="/proxy?url="+encodeURIComponent(a);return a}; -mxJsCanvas.prototype.image=function(a,c,b,d,g,e,k,m){g=this.rewriteImageSource(g);g=this.images[g];if(null!=g&&0<g.height&&0<g.width){var n=this.ctx;n.save();if(e){e=g.width;var q=g.height,f=Math.min(b/e,d/q);a+=(b-e*f)/2;c+=(d-q*f)/2;b=e*f;d=q*f}k&&(n.translate(2*a+b,0),n.scale(-1,1));m&&(n.translate(0,2*c+d),n.scale(1,-1));n.drawImage(g,a,c,b,d);n.restore()}};mxJsCanvas.prototype.begin=function(){this.ctx.beginPath()};mxJsCanvas.prototype.close=function(){this.ctx.closePath()}; +mxJsCanvas.prototype.image=function(a,c,b,d,g,e,k,m){g=this.rewriteImageSource(g);g=this.images[g];if(null!=g&&0<g.height&&0<g.width){var n=this.ctx;n.save();if(e){e=g.width;var t=g.height,f=Math.min(b/e,d/t);a+=(b-e*f)/2;c+=(d-t*f)/2;b=e*f;d=t*f}k&&(n.translate(2*a+b,0),n.scale(-1,1));m&&(n.translate(0,2*c+d),n.scale(1,-1));n.drawImage(g,a,c,b,d);n.restore()}};mxJsCanvas.prototype.begin=function(){this.ctx.beginPath()};mxJsCanvas.prototype.close=function(){this.ctx.closePath()}; mxJsCanvas.prototype.fill=function(){this.ctx.fill()};mxJsCanvas.prototype.stroke=function(){this.ctx.stroke()};mxJsCanvas.prototype.fillAndStroke=function(){if(this.state.shadow){this.ctx.stroke();this.ctx.fill();var a=this.ctx.shadowColor,c=this.ctx.shadowOffsetX,b=this.ctx.shadowOffsetY;this.ctx.shadowColor="transparent";this.ctx.shadowOffsetX=0;this.ctx.shadowOffsetY=0;this.ctx.stroke();this.ctx.shadowColor=a;this.ctx.shadowOffsetX=c;this.ctx.shadowOffsetY=b}else this.ctx.fill(),this.ctx.stroke()}; -mxJsCanvas.prototype.text=function(a,c,b,d,g,e,k,m,n,q,f,l){if(null!=g&&0!=g.length){b=this.state.scale;0!=l&&(this.ctx.translate(Math.round(a),Math.round(c)),this.ctx.rotate(l*Math.PI/180),this.ctx.translate(Math.round(-a),Math.round(-c)));if("html"==n){g=this.subCanvas[this.canvasIndex++];n=g.height;l=g.width;switch(k){case mxConstants.ALIGN_MIDDLE:c-=n/2/b;break;case mxConstants.ALIGN_BOTTOM:c-=n/b}switch(e){case mxConstants.ALIGN_CENTER:a-=l/2/b;break;case mxConstants.ALIGN_RIGHT:a-=l/b}this.ctx.save(); +mxJsCanvas.prototype.text=function(a,c,b,d,g,e,k,m,n,t,f,l){if(null!=g&&0!=g.length){b=this.state.scale;0!=l&&(this.ctx.translate(Math.round(a),Math.round(c)),this.ctx.rotate(l*Math.PI/180),this.ctx.translate(Math.round(-a),Math.round(-c)));if("html"==n){g=this.subCanvas[this.canvasIndex++];n=g.height;l=g.width;switch(k){case mxConstants.ALIGN_MIDDLE:c-=n/2/b;break;case mxConstants.ALIGN_BOTTOM:c-=n/b}switch(e){case mxConstants.ALIGN_CENTER:a-=l/2/b;break;case mxConstants.ALIGN_RIGHT:a-=l/b}this.ctx.save(); if(null!=this.state.fontBackgroundColor||null!=this.state.fontBorderColor)null!=this.state.fontBackgroundColor&&(this.ctx.fillStyle=this.state.fontBackgroundColor,this.ctx.fillRect(Math.round(a)-.5,Math.round(c)-.5,Math.round(g.width/b),Math.round(g.height/b))),null!=this.state.fontBorderColor&&(this.ctx.strokeStyle=this.state.fontBorderColor,this.ctx.lineWidth=1,this.ctx.strokeRect(Math.round(a)-.5,Math.round(c)-.5,Math.round(g.width/b),Math.round(g.height/b)));this.ctx.scale(1/b,1/b);this.ctx.drawImage(g, Math.round(a*b),Math.round(c*b))}else{this.ctx.save();this.updateFont();l=document.createElement("div");l.innerHTML=g;l.style.position="absolute";l.style.top="-9999px";l.style.left="-9999px";l.style.fontFamily=this.state.fontFamily;l.style.fontWeight="bold";l.style.fontSize=this.state.fontSize+"pt";document.body.appendChild(l);n=[l.offsetWidth,l.offsetHeight];document.body.removeChild(l);g=g.split("\n");l=n[1];this.ctx.textBaseline="top";n=c;switch(k){case mxConstants.ALIGN_MIDDLE:this.ctx.textBaseline= "middle";c-=(g.length-1)*l/2;n=c-this.state.fontSize/2;break;case mxConstants.ALIGN_BOTTOM:this.ctx.textBaseline="alphabetic",c-=l*(g.length-1),n=c-this.state.fontSize}k=[];l=[];for(b=0;b<g.length;b++)l[b]=a,k[b]=this.ctx.measureText(g[b]).width,null!=e&&e!=mxConstants.ALIGN_LEFT&&(l[b]-=k[b],e==mxConstants.ALIGN_CENTER&&(l[b]+=k[b]/2));if(null!=this.state.fontBackgroundColor||null!=this.state.fontBorderColor){a=l[0];e=k[0];for(b=1;b<g.length;b++)a=Math.min(a,l[b]),e=Math.max(e,k[b]);this.ctx.save(); @@ -8818,9 +8807,9 @@ DriveClient.prototype.getUsersList=function(){var a=[],c=JSON.parse(this.getPers DriveClient.prototype.execute=function(a){var c=mxUtils.bind(this,function(b){this.ui.showAuthDialog(this,!0,mxUtils.bind(this,function(b,c){this.authorize(!1,mxUtils.bind(this,function(){null!=c&&c();a()}),mxUtils.bind(this,function(a){var b=mxResources.get("cannotLogin");null!=a&&null!=a.error&&403==a.error.code&&null!=a.error.data&&0<a.error.data.length&&"domainPolicy"==a.error.data[0].reason&&(b=a.error.message);this.logout();this.ui.showError(mxResources.get("error"),b,mxResources.get("help"), mxUtils.bind(this,function(){this.ui.openLink("https://desk.draw.io/support/solutions/articles/16000074659")}),null,mxResources.get("ok"))}),b)}))});this.authorize(!0,a,c)}; DriveClient.prototype.executeRequest=function(a,c,b){try{var d=!0,g=null,e=0;null!=this.requestThread&&window.clearTimeout(this.requestThread);var k=mxUtils.bind(this,function(){try{this.requestThread=null;this.currentRequest=a;null!=g&&window.clearTimeout(g);g=window.setTimeout(mxUtils.bind(this,function(){d=!1;null!=b&&b({code:App.ERROR_TIMEOUT,message:mxResources.get("timeout"),retry:k})}),this.ui.timeout);var m=null,n=!1;"string"===typeof a.params?m=a.params:null!=a.params&&(m=JSON.stringify(a.params), -n=!0);var q=a.fullUrl||this.GDriveBaseUrl+a.url;n&&(q+=(0<q.indexOf("?")?"&":"?")+"alt=json");var f=new mxXmlRequest(q,m,a.method||"GET");f.setRequestHeaders=mxUtils.bind(this,function(b,c){if(null!=a.headers)for(var d in a.headers)b.setRequestHeader(d,a.headers[d]);else null!=a.contentType?b.setRequestHeader("Content-Type",a.contentType):n&&b.setRequestHeader("Content-Type","application/json");b.setRequestHeader("Authorization","Bearer "+this.token)});f.send(mxUtils.bind(this,function(f){try{if(window.clearTimeout(g), -d){var l;try{l=JSON.parse(f.getText())}catch(t){l=null}if(200<=f.getStatus()&&299>=f.getStatus())null!=c&&c(l);else{var n=null!=l&&null!=l.error?null!=l.error.data?l.error.data:l.error.errors:null,m=null!=n&&0<n.length?n[0].reason:null;null==b||null==l||null==l.error||-1!=l.error.code&&(403!=l.error.code||"domainPolicy"!=m&&"The requested mime type change is forbidden."!=l.error.message)?null!=l&&null!=l.error&&(401==l.error.code||403==l.error.code&&"rateLimitExceeded"!=m)?403==l.error.code&&this.retryAuth|| -401==l.error.code&&this.retryAuth&&"authError"==m?(null!=b&&b(l),this.retryAuth=!1):(this.retryAuth=!0,this.execute(k)):null!=l&&null!=l.error&&412!=l.error.code&&404!=l.error.code&&400!=l.error.code&&this.currentRequest==a&&e<this.maxRetries?(e++,this.requestThread=window.setTimeout(k,Math.round(Math.pow(2,e)*(1+.1*(Math.random()-.5))*this.coolOff))):null!=b&&b(l):b(l)}}}catch(t){if(null!=b)b(t);else throw t;}}))}catch(l){if(null!=b)b(l);else throw l;}});null!=this.token&&this.authCalled?k():this.execute(k)}catch(m){if(null!= +n=!0);var t=a.fullUrl||this.GDriveBaseUrl+a.url;n&&(t+=(0<t.indexOf("?")?"&":"?")+"alt=json");var f=new mxXmlRequest(t,m,a.method||"GET");f.setRequestHeaders=mxUtils.bind(this,function(b,c){if(null!=a.headers)for(var d in a.headers)b.setRequestHeader(d,a.headers[d]);else null!=a.contentType?b.setRequestHeader("Content-Type",a.contentType):n&&b.setRequestHeader("Content-Type","application/json");b.setRequestHeader("Authorization","Bearer "+this.token)});f.send(mxUtils.bind(this,function(f){try{if(window.clearTimeout(g), +d){var l;try{l=JSON.parse(f.getText())}catch(q){l=null}if(200<=f.getStatus()&&299>=f.getStatus())null!=c&&c(l);else{var n=null!=l&&null!=l.error?null!=l.error.data?l.error.data:l.error.errors:null,m=null!=n&&0<n.length?n[0].reason:null;null==b||null==l||null==l.error||-1!=l.error.code&&(403!=l.error.code||"domainPolicy"!=m&&"The requested mime type change is forbidden."!=l.error.message)?null!=l&&null!=l.error&&(401==l.error.code||403==l.error.code&&"rateLimitExceeded"!=m)?403==l.error.code&&this.retryAuth|| +401==l.error.code&&this.retryAuth&&"authError"==m?(null!=b&&b(l),this.retryAuth=!1):(this.retryAuth=!0,this.execute(k)):null!=l&&null!=l.error&&412!=l.error.code&&404!=l.error.code&&400!=l.error.code&&this.currentRequest==a&&e<this.maxRetries?(e++,this.requestThread=window.setTimeout(k,Math.round(Math.pow(2,e)*(1+.1*(Math.random()-.5))*this.coolOff))):null!=b&&b(l):b(l)}}}catch(q){if(null!=b)b(q);else throw q;}}))}catch(l){if(null!=b)b(l);else throw l;}});null!=this.token&&this.authCalled?k():this.execute(k)}catch(m){if(null!= b)b(m);else throw m;}};DriveClient.prototype.createAuthWin=function(a){return window.open(a?a:"about:blank","gdauth",["width=525,height=525","top="+(window.screenY+Math.max(window.outerHeight-525,0)/2),"left="+(window.screenX+Math.max(window.outerWidth-525,0)/2),"status=no,resizable=yes,toolbar=no,menubar=no,scrollbars=yes"].join())}; DriveClient.prototype.authorize=function(a,c,b,d,g){var e=mxUtils.bind(this,function(a,d,e){this.token=a.access_token;a.expires=Date.now()+1E3*parseInt(a.expires_in);a.remember=d;this.resetTokenRefresh(a);this.authCalled=!0;if(e||null==this.user){var f=JSON.stringify(a);this.updateUser(mxUtils.bind(this,function(){var a=JSON.parse(f);this.setPersistentToken(a,!d);null!=c&&c()}),b)}else null!=c&&(this.setPersistentToken(a,!d),c())});try{null!=this.ui.stateArg&&null!=this.ui.stateArg.userId&&(this.userId= this.ui.stateArg.userId,null!=this.user&&this.user.id!=this.userId&&(this.user=null));var k=JSON.parse(this.getPersistentToken(!0));null!=k&&(null==this.userId?null!=k.current?(this.userId=k.current.userId,k=k[this.userId]):k=null:k=k[this.userId]);if(!a||null!=k&&null!=k.refresh_token)if(a)(new mxXmlRequest(this.redirectUri+"?state=appIndex%3D"+this.appIndex+"&refresh_token="+k.refresh_token,null,"GET")).send(mxUtils.bind(this,function(a){200<=a.getStatus()&&299>=a.getStatus()?(a=JSON.parse(a.getText()), @@ -8834,26 +8823,25 @@ DriveClient.prototype.moveFile=function(a,c,b,d){null!=a&&null!=c&&this.executeR DriveClient.prototype.loadDescriptor=function(a,c,b,d){this.executeRequest({url:"/files/"+a+"?supportsTeamDrives=true&fields="+(null!=d?d:this.allFields)},c,b)};DriveClient.prototype.getCustomProperty=function(a,c){var b=a.properties,d=null;if(null!=b)for(var g=0;g<b.length;g++)if(b[g].key==c){d=b[g].value;break}return d}; DriveClient.prototype.getFile=function(a,c,b,d,g){d=null!=d?d:!1;g=null!=g?g:!1;null!=urlParams.rev?this.executeRequest({url:"/files/"+a+"/revisions/"+urlParams.rev+"?supportsTeamDrives=true"},mxUtils.bind(this,function(d){d.title=d.originalFilename;d.headRevisionId=d.id;d.id=a;this.getXmlFile(d,c,b)}),b):this.loadDescriptor(a,mxUtils.bind(this,function(a){try{if(null!=this.user){var e=/\.png$/i.test(a.title);/\.v(dx|sdx?)$/i.test(a.title)||/\.gliffy$/i.test(a.title)||!this.ui.useCanvasForExport&& e?this.ui.convertFile(a.downloadUrl+"&access_token="+this.token,a.title,a.mimeType,this.extension,c,b):d||g||a.mimeType==this.libraryMimeType||a.mimeType==this.xmlMimeType?this.getXmlFile(a,c,b,!0,g):this.getXmlFile(a,c,b)}else b({message:mxResources.get("loggedOut")})}catch(m){if(null!=b)b(m);else throw m;}}),b)};DriveClient.prototype.isGoogleRealtimeMimeType=function(a){return null!=a&&"application/vnd.jgraph.mxfile."==a.substring(0,30)}; -DriveClient.prototype.getXmlFile=function(a,c,b,d,g){try{var e=a.downloadUrl+"&access_token="+this.token;this.ui.loadUrl(e,mxUtils.bind(this,function(d){try{if(null==d)b({message:mxResources.get("invalidOrMissingFile")});else if(a.mimeType==this.libraryMimeType||g)a.mimeType!=this.libraryMimeType||g?c(new DriveLibrary(this.ui,d,a)):b({message:mxResources.get("notADiagramFile")});else{var k=!1;if(/\.png$/i.test(a.title)){var n=d.lastIndexOf(",");if(0<n){var q=this.ui.extractGraphModelFromPng(d.substring(n+ -1));if(null!=q&&0<q.length)d=q;else try{var q=d.substring(n+1),f=!window.atob||mxClient.IS_IE||mxClient.IS_IE11?Base64.decode(q):atob(q),l=this.ui.editor.extractGraphModel(mxUtils.parseXml(f).documentElement,!0);null==l||0<l.getElementsByTagName("parsererror").length?k=!0:d=f}catch(p){k=!0}}}else"data:image/png;base64,PG14ZmlsZS"==d.substring(0,32)&&(f=d.substring(22),d=window.atob&&!mxClient.IS_SF?atob(f):Base64.decode(f));Graph.fileSupport&&(new XMLHttpRequest).upload&&this.ui.isRemoteFileFormat(d, +DriveClient.prototype.getXmlFile=function(a,c,b,d,g){try{var e=a.downloadUrl+"&access_token="+this.token;this.ui.loadUrl(e,mxUtils.bind(this,function(d){try{if(null==d)b({message:mxResources.get("invalidOrMissingFile")});else if(a.mimeType==this.libraryMimeType||g)a.mimeType!=this.libraryMimeType||g?c(new DriveLibrary(this.ui,d,a)):b({message:mxResources.get("notADiagramFile")});else{var k=!1;if(/\.png$/i.test(a.title)){var n=d.lastIndexOf(",");if(0<n){var t=this.ui.extractGraphModelFromPng(d.substring(n+ +1));if(null!=t&&0<t.length)d=t;else try{var t=d.substring(n+1),f=!window.atob||mxClient.IS_IE||mxClient.IS_IE11?Base64.decode(t):atob(t),l=this.ui.editor.extractGraphModel(mxUtils.parseXml(f).documentElement,!0);null==l||0<l.getElementsByTagName("parsererror").length?k=!0:d=f}catch(p){k=!0}}}else"data:image/png;base64,PG14ZmlsZS"==d.substring(0,32)&&(f=d.substring(22),d=window.atob&&!mxClient.IS_SF?atob(f):Base64.decode(f));Graph.fileSupport&&(new XMLHttpRequest).upload&&this.ui.isRemoteFileFormat(d, e)?this.ui.parseFile(new Blob([d],{type:"application/octet-stream"}),mxUtils.bind(this,function(d){try{4==d.readyState&&(200<=d.status&&299>=d.status?c(new LocalFile(this.ui,d.responseText,a.title+this.extension,!0)):null!=b&&b({message:mxResources.get("errorLoadingFile")}))}catch(u){if(null!=b)b(u);else throw u;}}),a.title):c(k?new LocalFile(this.ui,d,a.title,!0):new DriveFile(this.ui,d,a))}}catch(p){if(null!=b)b(p);else throw p;}}),b,null!=a.mimeType&&"image/"==a.mimeType.substring(0,6)&&"image/svg"!= a.mimeType.substring(0,9)||/\.png$/i.test(a.title)||/\.jpe?g$/i.test(a.title))}catch(k){if(null!=b)b(k);else throw k;}}; -DriveClient.prototype.saveFile=function(a,c,b,d,g,e,k,m){try{a.saveLevel=1;var n=mxUtils.bind(this,function(b){a.saveLevel=11;if(null!=d)d(b);else throw b;try{if(!a.isConflict(b)){var c="error_"+(a.getErrorMessage(b)||"unknown");null!=b&&null!=b.error&&null!=b.error.code&&(c+="-code_"+b.error.code);EditorUi.logEvent({category:"ERROR-SAVE-FILE-"+a.getHash()+"-rev_"+a.desc.headRevisionId+"-mod_"+a.desc.modifiedDate+"-size_"+a.getSize()+"-mime_"+a.desc.mimeType+(this.ui.editor.autosave?"":"-nosave")+ -(a.isAutosave()?"":"-noauto")+(a.changeListenerEnabled?"":"-nolisten")+(a.inConflictState?"-conflict":"")+(a.invalidChecksum?"-invalid":""),action:c,label:(null!=this.user?"user_"+this.user.id:"nouser")+(null!=a.sync?"-client_"+a.sync.clientId:"-nosync")})}}catch(x){}}),q=mxUtils.bind(this,function(b){n(b);a.saveLevel=12;try{EditorUi.logError(b.message,null,null,b),EditorUi.sendReport("Critical error in DriveClient.saveFile "+(new Date).toISOString()+":\n\nBrowser="+navigator.userAgent+"\nFile="+ -a.desc.id+"."+a.desc.headRevisionId+"\nUser="+(null!=this.user?this.user.id:"nouser")+(null!=a.sync?"-client_"+a.sync.clientId:"-nosync")+"\nMessage="+b.message+"\n\nStack:\n"+b.stack)}catch(C){}});if(a.isEditable()&&null!=a.desc){var f=(new Date).getTime(),l=a.desc.etag,p=a.desc.modifiedDate,u=a.desc.headRevisionId,v=this.ui.useCanvasForExport&&/(\.png)$/i.test(a.getTitle());g=null!=g?g:"1"==urlParams.ignoremime;e=null!=e?e:!1;var t=mxUtils.bind(this,function(d,g,x){try{a.saveLevel=3;var t=null, -E=!1,A={mimeType:a.desc.mimeType,title:a.getTitle()};this.isGoogleRealtimeMimeType(a.desc.mimeType)?(A.mimeType=this.xmlMimeType,t=a.desc,E=c=!0):"application/octet-stream"==A.mimeType&&(A.mimeType=this.xmlMimeType);a.constructor==DriveFile&&(null==m&&(m=[]),null==a.getChannelId()&&m.push({key:"channel",value:Editor.guid(32)}),null==a.getChannelKey()&&m.push({key:"key",value:Editor.guid(32)}),m.push({key:"secret",value:Editor.guid(32)}));x||(null!=d||e||(d=this.placeholderThumbnail,g=this.placeholderMimeType), -null!=d&&null!=g&&(A.thumbnail={image:d,mimeType:g}));var z=a.getData(),y=mxUtils.bind(this,function(d){try{a.saveDelay=(new Date).getTime()-f;var e=(new Date(d.modifiedDate)).getTime()-(new Date(p)).getTime();if(0>=e||l==d.etag||c&&u==d.headRevisionId){var g=[];0>=e&&g.push("invalid modified time");l==d.etag&&g.push("stale etag");c&&u==d.headRevisionId&&g.push("stale revision");var k=g.join(", ");n({message:mxResources.get("errorSavingFile")+": "+k},d);try{EditorUi.sendReport("Critical: Error saving to Google Drive "+ -(new Date).toISOString()+":\n\nBrowser="+navigator.userAgent+"\nFile="+a.desc.id+" "+a.desc.mimeType+"\nUser="+(null!=this.user?this.user.id:"nouser")+(null!=a.sync?"-client_"+a.sync.clientId:"-nosync")+"\nErrors="+k+"\nOld="+u+" "+p+" etag-hash="+this.ui.hashValue(l)+"\nNew="+d.headRevisionId+" "+d.modifiedDate+" etag-hash="+this.ui.hashValue(d.etag)),EditorUi.logError("Critical: Error saving to Google Drive "+a.desc.id,null,"from-"+u+"."+p+"-"+this.ui.hashValue(l)+"-to-"+d.headRevisionId+"."+d.modifiedDate+ -"-"+this.ui.hashValue(d.etag)+(0<k.length?"-errors-"+k:""),"user-"+(null!=this.user?this.user.id:"nouser")+(null!=a.sync?"-client_"+a.sync.clientId:"-nosync"))}catch(Q){}}else{a.saveLevel=null;b(d,z);if(null!=t){this.executeRequest({url:"/files/"+t.id+"/revisions/"+t.headRevisionId+"?supportsTeamDrives=true"},mxUtils.bind(this,mxUtils.bind(this,function(a){a.pinned=!0;this.executeRequest({url:"/files/"+t.id+"/revisions/"+t.headRevisionId,method:"PUT",params:a})})));try{EditorUi.logEvent({category:a.convertedFrom+ -"-CONVERT-FILE-"+a.getHash(),action:"from_"+t.id+"."+t.headRevisionId+"-to_"+a.desc.id+"."+a.desc.headRevisionId,label:null!=this.user?"user_"+this.user.id:"nouser"+(null!=a.sync?"-client_"+a.sync.clientId:"nosync")})}catch(Q){}}try{EditorUi.logEvent({category:"SUCCESS-SAVE-FILE-"+a.getHash()+"-rev0_"+u+"-mod0_"+p,action:"rev-"+d.headRevisionId+"-mod_"+d.modifiedDate+"-size_"+a.getSize()+"-mime_"+a.desc.mimeType+(this.ui.editor.autosave?"":"-nosave")+(a.isAutosave()?"":"-noauto")+(a.changeListenerEnabled? -"":"-nolisten")+(a.inConflictState?"-conflict":"")+(a.invalidChecksum?"-invalid":""),label:(null!=this.user?"user_"+this.user.id:"nouser")+(null!=a.sync?"-client_"+a.sync.clientId:"-nosync")})}catch(Q){}}}catch(Q){q(Q)}}),C=mxUtils.bind(this,function(b,e){a.saveLevel=4;try{null!=m&&(A.properties=m);var f=k||a.constructor!=DriveFile||"manual"!=DrawioFile.SYNC&&"auto"!=DrawioFile.SYNC?null:a.getCurrentEtag(),g=0,l=mxUtils.bind(this,function(d){a.saveLevel=5;try{var k=a.desc.mimeType!=this.xmlMimeType&& -a.desc.mimeType!=this.mimeType&&a.desc.mimeType!=this.libraryMimeType,l=!0,m=window.setTimeout(mxUtils.bind(this,function(){l=!1;n({code:App.ERROR_TIMEOUT,message:mxResources.get("timeout")})}),3*this.ui.timeout);this.executeRequest(this.createUploadRequest(a.getId(),A,b,c||d||k,e,d?null:f,E),mxUtils.bind(this,function(a){window.clearTimeout(m);l&&y(a)}),mxUtils.bind(this,function(b){window.clearTimeout(m);if(l){a.saveLevel=6;try{a.isConflict(b)?this.executeRequest({url:"/files/"+a.getId()+"?supportsTeamDrives=true&fields="+ -this.catchupFields},mxUtils.bind(this,function(c){a.saveLevel=7;try{if(null!=c&&c.etag==f)if(g<this.maxRetries)g++,window.setTimeout(p,2*g*this.coolOff*(1+.1*(Math.random()-.5)));else{p(!0);try{EditorUi.logError("Warning: Stale Etag Overwrite "+a.getHash(),null,a.desc.id+"."+a.desc.headRevisionId,(null!=this.user?"user_"+this.user.id:"nouser")+(null!=a.sync?"-client_"+a.sync.clientId:"-nosync"))}catch(ca){}}else"1"==urlParams.test&&c.headRevisionId==u&&EditorUi.debug("DriveClient: Remote Etag Changed", -"local",f,"remote",c.etag,"rev",a.desc.headRevisionId,"response",[c],"file",[a]),n(b,c)}catch(ca){q(ca)}}),mxUtils.bind(this,function(){n(b)})):n(b)}catch(ha){q(ha)}}}))}catch(ga){q(ga)}}),p=mxUtils.bind(this,function(b){a.saveLevel=9;if(b)l(b);else{var c=!0,d=window.setTimeout(mxUtils.bind(this,function(){c=!1;n({code:App.ERROR_TIMEOUT,message:mxResources.get("timeout")})}),3*this.ui.timeout);this.executeRequest({url:"/files/"+a.getId()+"?supportsTeamDrives=true&fields="+this.catchupFields},mxUtils.bind(this, -function(e){window.clearTimeout(d);if(c){a.saveLevel=13;try{null!=e&&e.headRevisionId==u?("1"==urlParams.test&&f!=e.etag&&EditorUi.debug("DriveClient: Preflight Etag Update","from",f,"to",e.etag,"rev",a.desc.headRevisionId,"response",[e],"file",[a]),f=e.etag,l(b)):n({error:{code:412}},e)}catch(ga){q(ga)}}}),mxUtils.bind(this,function(a){window.clearTimeout(d);c&&n(a)}))}});if(v&&null==d){a.saveLevel=8;var t=new Image;t.onload=mxUtils.bind(this,function(){try{var a=this.thumbnailWidth/t.width,b=document.createElement("canvas"); -b.width=this.thumbnailWidth;b.height=Math.floor(t.height*a);b.getContext("2d").drawImage(t,0,0,b.width,b.height);var c=b.toDataURL(),c=c.substring(c.indexOf(",")+1).replace(/\+/g,"-").replace(/\//g,"_");A.thumbnail={image:c,mimeType:"image/png"};p(!1)}catch(aa){p(!1)}});t.src="data:image/png;base64,"+b}else p(!1)}catch(T){q(T)}});v?this.ui.getEmbeddedPng(mxUtils.bind(this,function(a){C(a,!0)}),n,this.ui.getCurrentFile()!=a?z:null):C(z,!1)}catch(J){q(J)}}),z=mxUtils.bind(this,function(){try{if(a.saveLevel= -2,e||v||a.constructor==DriveLibrary||!this.enableThumbnails||"0"==urlParams.thumb||null!=a.desc.mimeType&&"application/vnd.jgraph.mxfile"!=a.desc.mimeType.substring(0,29)||!this.ui.getThumbnail(this.thumbnailWidth,mxUtils.bind(this,function(b){try{var c=a.thumbTime=null;try{null!=b&&(c=b.toDataURL("image/png")),null!=c&&(c=c.length>this.maxThumbnailSize?null:c.substring(c.indexOf(",")+1).replace(/\+/g,"-").replace(/\//g,"_"))}catch(x){c=null}t(c,"image/png")}catch(x){q(x)}})))a.thumbTime=null,t(null, -null,a.constructor!=DriveLibrary)}catch(y){q(y)}});g||!c?z():(a.saveLevel=10,this.verifyMimeType(a.getId(),z,!0,n))}else this.ui.editor.graph.reset(),n({message:mxResources.get("readOnly")})}catch(y){q(y)}}; +DriveClient.prototype.saveFile=function(a,c,b,d,g,e,k,m){try{a.saveLevel=1;var n=mxUtils.bind(this,function(b){if(null!=d)d(b);else throw b;try{if(!a.isConflict(b)){var c="sl_"+a.saveLevel+"-error_"+(a.getErrorMessage(b)||"unknown");null!=b&&null!=b.error&&null!=b.error.code&&(c+="-code_"+b.error.code);EditorUi.logEvent({category:"ERROR-SAVE-FILE-"+a.getHash()+"-rev_"+a.desc.headRevisionId+"-mod_"+a.desc.modifiedDate+"-size_"+a.getSize()+"-mime_"+a.desc.mimeType+(this.ui.editor.autosave?"":"-nosave")+ +(a.isAutosave()?"":"-noauto")+(a.changeListenerEnabled?"":"-nolisten")+(a.inConflictState?"-conflict":"")+(a.invalidChecksum?"-invalid":""),action:c,label:(null!=this.user?"user_"+this.user.id:"nouser")+(null!=a.sync?"-client_"+a.sync.clientId:"-nosync")})}}catch(x){}}),t=mxUtils.bind(this,function(b){n(b);try{EditorUi.logError(b.message,null,null,b),EditorUi.sendReport("Critical error in DriveClient.saveFile "+(new Date).toISOString()+":\n\nBrowser="+navigator.userAgent+"\nFile="+a.desc.id+"."+a.desc.headRevisionId+ +"\nUser="+(null!=this.user?this.user.id:"nouser")+(null!=a.sync?"-client_"+a.sync.clientId:"-nosync")+"\nSaveLevel="+a.saveLevel+"\nMessage="+b.message+"\n\nStack:\n"+b.stack)}catch(C){}});if(a.isEditable()&&null!=a.desc){var f=(new Date).getTime(),l=a.desc.etag,p=a.desc.modifiedDate,u=a.desc.headRevisionId,v=this.ui.useCanvasForExport&&/(\.png)$/i.test(a.getTitle());g=null!=g?g:"1"==urlParams.ignoremime;e=null!=e?e:!1;var q=mxUtils.bind(this,function(d,g,q){try{a.saveLevel=3;var x=null,F=!1,B={mimeType:a.desc.mimeType, +title:a.getTitle()};this.isGoogleRealtimeMimeType(a.desc.mimeType)?(B.mimeType=this.xmlMimeType,x=a.desc,F=c=!0):"application/octet-stream"==B.mimeType&&(B.mimeType=this.xmlMimeType);a.constructor==DriveFile&&(null==m&&(m=[]),null==a.getChannelId()&&m.push({key:"channel",value:Editor.guid(32)}),null==a.getChannelKey()&&m.push({key:"key",value:Editor.guid(32)}),m.push({key:"secret",value:Editor.guid(32)}));q||(null!=d||e||(d=this.placeholderThumbnail,g=this.placeholderMimeType),null!=d&&null!=g&&(B.thumbnail= +{image:d,mimeType:g}));var z=a.getData(),y=mxUtils.bind(this,function(d){try{if(a.saveDelay=(new Date).getTime()-f,null==d)n({message:mxResources.get("errorSavingFile")+": Empty response"});else{var e=(new Date(d.modifiedDate)).getTime()-(new Date(p)).getTime();if(0>=e||l==d.etag||c&&u==d.headRevisionId){var g=[];0>=e&&g.push("invalid modified time");l==d.etag&&g.push("stale etag");c&&u==d.headRevisionId&&g.push("stale revision");var k=g.join(", ");n({message:mxResources.get("errorSavingFile")+": "+ +k},d);try{EditorUi.logError("Critical: Error saving to Google Drive "+a.desc.id,null,"from-"+u+"."+p+"-"+this.ui.hashValue(l)+"-to-"+d.headRevisionId+"."+d.modifiedDate+"-"+this.ui.hashValue(d.etag)+(0<k.length?"-errors-"+k:""),"user-"+(null!=this.user?this.user.id:"nouser")+(null!=a.sync?"-client_"+a.sync.clientId:"-nosync"))}catch(Q){}}else{a.saveLevel=null;b(d,z);if(null!=x){this.executeRequest({url:"/files/"+x.id+"/revisions/"+x.headRevisionId+"?supportsTeamDrives=true"},mxUtils.bind(this,mxUtils.bind(this, +function(a){a.pinned=!0;this.executeRequest({url:"/files/"+x.id+"/revisions/"+x.headRevisionId,method:"PUT",params:a})})));try{EditorUi.logEvent({category:a.convertedFrom+"-CONVERT-FILE-"+a.getHash(),action:"from_"+x.id+"."+x.headRevisionId+"-to_"+a.desc.id+"."+a.desc.headRevisionId,label:null!=this.user?"user_"+this.user.id:"nouser"+(null!=a.sync?"-client_"+a.sync.clientId:"nosync")})}catch(Q){}}try{EditorUi.logEvent({category:"SUCCESS-SAVE-FILE-"+a.getHash()+"-rev0_"+u+"-mod0_"+p,action:"rev-"+ +d.headRevisionId+"-mod_"+d.modifiedDate+"-size_"+a.getSize()+"-mime_"+a.desc.mimeType+(this.ui.editor.autosave?"":"-nosave")+(a.isAutosave()?"":"-noauto")+(a.changeListenerEnabled?"":"-nolisten")+(a.inConflictState?"-conflict":"")+(a.invalidChecksum?"-invalid":""),label:(null!=this.user?"user_"+this.user.id:"nouser")+(null!=a.sync?"-client_"+a.sync.clientId:"-nosync")})}catch(Q){}}}}catch(Q){t(Q)}}),C=mxUtils.bind(this,function(b,e){a.saveLevel=4;try{null!=m&&(B.properties=m);var f=k||a.constructor!= +DriveFile||"manual"!=DrawioFile.SYNC&&"auto"!=DrawioFile.SYNC?null:a.getCurrentEtag(),g=0,l=mxUtils.bind(this,function(d){a.saveLevel=5;try{var k=a.desc.mimeType!=this.xmlMimeType&&a.desc.mimeType!=this.mimeType&&a.desc.mimeType!=this.libraryMimeType,l=!0,m=window.setTimeout(mxUtils.bind(this,function(){l=!1;n({code:App.ERROR_TIMEOUT,message:mxResources.get("timeout")})}),3*this.ui.timeout);this.executeRequest(this.createUploadRequest(a.getId(),B,b,c||d||k,e,d?null:f,F),mxUtils.bind(this,function(a){window.clearTimeout(m); +l&&y(a)}),mxUtils.bind(this,function(b){window.clearTimeout(m);if(l){a.saveLevel=6;try{a.isConflict(b)?this.executeRequest({url:"/files/"+a.getId()+"?supportsTeamDrives=true&fields="+this.catchupFields},mxUtils.bind(this,function(c){a.saveLevel=7;try{if(null!=c&&c.etag==f)if(g<this.maxRetries)g++,window.setTimeout(p,2*g*this.coolOff*(1+.1*(Math.random()-.5)));else{p(!0);try{EditorUi.logError("Warning: Stale Etag Overwrite "+a.getHash(),null,a.desc.id+"."+a.desc.headRevisionId,(null!=this.user?"user_"+ +this.user.id:"nouser")+(null!=a.sync?"-client_"+a.sync.clientId:"-nosync"))}catch(ca){}}else"1"==urlParams.test&&c.headRevisionId==u&&EditorUi.debug("DriveClient: Remote Etag Changed","local",f,"remote",c.etag,"rev",a.desc.headRevisionId,"response",[c],"file",[a]),n(b,c)}catch(ca){t(ca)}}),mxUtils.bind(this,function(){n(b)})):n(b)}catch(ha){t(ha)}}}))}catch(ga){t(ga)}}),p=mxUtils.bind(this,function(b){a.saveLevel=9;if(b)l(b);else{var c=!0,d=window.setTimeout(mxUtils.bind(this,function(){c=!1;n({code:App.ERROR_TIMEOUT, +message:mxResources.get("timeout")})}),3*this.ui.timeout);this.executeRequest({url:"/files/"+a.getId()+"?supportsTeamDrives=true&fields="+this.catchupFields},mxUtils.bind(this,function(e){window.clearTimeout(d);if(c){a.saveLevel=13;try{null!=e&&e.headRevisionId==u?("1"==urlParams.test&&f!=e.etag&&EditorUi.debug("DriveClient: Preflight Etag Update","from",f,"to",e.etag,"rev",a.desc.headRevisionId,"response",[e],"file",[a]),f=e.etag,l(b)):n({error:{code:412}},e)}catch(ga){t(ga)}}}),mxUtils.bind(this, +function(a){window.clearTimeout(d);c&&n(a)}))}});if(v&&null==d){a.saveLevel=8;var q=new Image;q.onload=mxUtils.bind(this,function(){try{var a=this.thumbnailWidth/q.width,b=document.createElement("canvas");b.width=this.thumbnailWidth;b.height=Math.floor(q.height*a);b.getContext("2d").drawImage(q,0,0,b.width,b.height);var c=b.toDataURL(),c=c.substring(c.indexOf(",")+1).replace(/\+/g,"-").replace(/\//g,"_");B.thumbnail={image:c,mimeType:"image/png"};p(!1)}catch(aa){p(!1)}});q.src="data:image/png;base64,"+ +b}else p(!1)}catch(T){t(T)}});v?this.ui.getEmbeddedPng(mxUtils.bind(this,function(a){C(a,!0)}),n,this.ui.getCurrentFile()!=a?z:null):C(z,!1)}catch(J){t(J)}}),z=mxUtils.bind(this,function(){try{if(a.saveLevel=2,e||v||a.constructor==DriveLibrary||!this.enableThumbnails||"0"==urlParams.thumb||null!=a.desc.mimeType&&"application/vnd.jgraph.mxfile"!=a.desc.mimeType.substring(0,29)||!this.ui.getThumbnail(this.thumbnailWidth,mxUtils.bind(this,function(b){try{var c=a.thumbTime=null;try{null!=b&&(c=b.toDataURL("image/png")), +null!=c&&(c=c.length>this.maxThumbnailSize?null:c.substring(c.indexOf(",")+1).replace(/\+/g,"-").replace(/\//g,"_"))}catch(x){c=null}q(c,"image/png")}catch(x){t(x)}})))a.thumbTime=null,q(null,null,a.constructor!=DriveLibrary)}catch(y){t(y)}});g||!c?z():(a.saveLevel=10,this.verifyMimeType(a.getId(),z,!0,n))}else this.ui.editor.graph.reset(),n({message:mxResources.get("readOnly")})}catch(y){t(y)}}; DriveClient.prototype.verifyMimeType=function(a,c,b,d){null==this.lastMimeCheck&&(this.lastMimeCheck=0);var g=(new Date).getTime();if(b||g-this.lastMimeCheck>this.mimeTypeCheckCoolOff)if(this.lastMimeCheck=g,this.checkingMimeType)null!=c&&c();else{var e=this.checkingMimeType=!0,k=window.setTimeout(mxUtils.bind(this,function(){this.checkingMimeType=e=!1;null!=d&&d({code:App.ERROR_TIMEOUT,message:mxResources.get("timeout")})}),3*this.ui.timeout);this.executeRequest({url:"/files/"+a+"?supportsTeamDrives=true&fields=mimeType"}, mxUtils.bind(this,function(b){window.clearTimeout(k);e&&(this.checkingMimeType=!1,null!=b&&"application/vnd.jgraph.mxfile.realtime"==b.mimeType?this.redirectToNewApp(d,a):null!=c&&c())}),mxUtils.bind(this,function(a){window.clearTimeout(k);e&&(this.checkingMimeType=!1,null!=d&&d(a))}))}else null!=c&&c()}; DriveClient.prototype.redirectToNewApp=function(a,c){this.ui.spinner.stop();if(!this.redirectDialogShowing){this.redirectDialogShowing=!0;var b=window.location.protocol+"//"+this.newAppHostname+"/"+this.ui.getSearch("create title mode url drive splash state".split(" "))+"#G"+c,d=mxUtils.bind(this,function(){this.redirectDialogShowing=!1;window.location.href==b?window.location.reload():window.location.href=b});null!=a?this.ui.confirm(mxResources.get("redirectToNewApp"),d,mxUtils.bind(this,function(){this.redirectDialogShowing= @@ -8883,7 +8871,7 @@ a.rev+"&chrome=0&nav=1&layers=1&edit=_blank"+(null!=b?"&page="+b:""))+window.loc DropboxFile.prototype.doSave=function(a,c,b,d,g,e){var k=this.stat.name;this.stat.name=a;DrawioFile.prototype.save.apply(this,[null,mxUtils.bind(this,function(){this.stat.name=k;this.saveFile(a,c,b,d,g,e)}),d,g,e])}; DropboxFile.prototype.saveFile=function(a,c,b,d){this.isEditable()?this.savingFile?null!=d&&d({code:App.ERROR_BUSY}):(c=mxUtils.bind(this,function(c){if(c){var e=null,g=null;try{e=this.isModified;g=this.isModified();this.savingFile=!0;this.savingFileTime=new Date;var m=mxUtils.bind(this,function(){this.setModified(!1);this.isModified=function(){return g}});m();var n=mxUtils.bind(this,function(c){var f=this.stat.path_display.lastIndexOf("/"),f=1<f?this.stat.path_display.substring(1,f+1):null;this.ui.dropbox.saveFile(a, c,mxUtils.bind(this,function(a){this.savingFile=!1;this.isModified=e;this.stat=a;this.contentChanged();null!=b&&b()}),mxUtils.bind(this,function(a){this.savingFile=!1;this.isModified=e;this.setModified(g||this.isModified());if(null!=d){if(null!=a&&null!=a.retry){var b=a.retry;a.retry=function(){m();b()}}d(a)}}),f)});this.ui.useCanvasForExport&&/(\.png)$/i.test(this.getTitle())?this.ui.getEmbeddedPng(mxUtils.bind(this,function(a){n(this.ui.base64ToBlob(a,"image/png"))}),d,this.ui.getCurrentFile()!= -this?this.getData():null):n(this.getData())}catch(q){if(this.savingFile=!1,null!=e&&(this.isModified=e),null!=g&&this.setModified(g||this.isModified()),null!=d)d(q);else throw q;}}else null!=d&&d()}),this.getTitle()==a?c(!0):this.ui.dropbox.checkExists(a,c)):null!=b&&b()}; +this?this.getData():null):n(this.getData())}catch(t){if(this.savingFile=!1,null!=e&&(this.isModified=e),null!=g&&this.setModified(g||this.isModified()),null!=d)d(t);else throw t;}}else null!=d&&d()}),this.getTitle()==a?c(!0):this.ui.dropbox.checkExists(a,c)):null!=b&&b()}; DropboxFile.prototype.rename=function(a,c,b){this.ui.dropbox.renameFile(this,a,mxUtils.bind(this,function(d){this.hasSameExtension(a,this.getTitle())?(this.stat=d,this.descriptorChanged(),null!=c&&c()):(this.stat=d,this.descriptorChanged(),this.save(!0,c,b))}),b)};DropboxLibrary=function(a,c,b){DropboxFile.call(this,a,c,b)};mxUtils.extend(DropboxLibrary,DropboxFile);DropboxLibrary.prototype.isAutosave=function(){return!0};DropboxLibrary.prototype.doSave=function(a,c,b){this.saveFile(a,!1,c,b)};DropboxLibrary.prototype.open=function(){};DropboxClient=function(a){DrawioClient.call(this,a,"dbauth");this.client=new Dropbox({clientId:App.DROPBOX_APPKEY});this.client.setAccessToken(this.token)};mxUtils.extend(DropboxClient,DrawioClient);DropboxClient.prototype.appPath="/drawio/";DropboxClient.prototype.extension=".drawio";DropboxClient.prototype.writingFile=!1;DropboxClient.prototype.maxRetries=4; DropboxClient.prototype.logout=function(){this.clearPersistentToken();this.setUser(null);this.token=null;this.client.authTokenRevoke().then(mxUtils.bind(this,function(){this.client.setAccessToken(null)}))}; DropboxClient.prototype.updateUser=function(a,c,b){var d=!0,g=window.setTimeout(mxUtils.bind(this,function(){d=!1;c({code:App.ERROR_TIMEOUT})}),this.ui.timeout),e=this.client.usersGetCurrentAccount();e.then(mxUtils.bind(this,function(b){window.clearTimeout(g);d&&(this.setUser(new DrawioUser(b.account_id,b.email,b.name.display_name)),a())}));e["catch"](mxUtils.bind(this,function(e){window.clearTimeout(g);d&&(null==e||401!==e.status||b?c({message:mxResources.get("accessDenied")}):(this.setUser(null), @@ -8894,8 +8882,8 @@ DropboxClient.prototype.executePromise=function(a,c,b){var d=mxUtils.bind(this,f e?b({message:mxResources.get("accessDenied"),retry:mxUtils.bind(this,function(){this.authenticate(function(){g(!0)},b)})}):this.authenticate(function(){d(!0)},b)))}))}),g=mxUtils.bind(this,function(a){null==this.user?this.updateUser(function(){g(!0)},b,a):d(a)});null===this.client.getAccessToken()?this.authenticate(function(){g(!0)},b):g(!1)};DropboxClient.prototype.getLibrary=function(a,c,b){this.getFile(a,c,b,!0)}; DropboxClient.prototype.getFile=function(a,c,b,d){d=null!=d?d:!1;var g=/\.png$/i.test(a);if(/^https:\/\//i.test(a)||/\.v(dx|sdx?)$/i.test(a)||/\.gliffy$/i.test(a)||!this.ui.useCanvasForExport&&g){var e=mxUtils.bind(this,function(){var d=a.split("/");this.ui.convertFile(a,0<d.length?d[d.length-1]:a,null,this.extension,c,b)});null!=this.token?e():this.authenticate(e,b)}else e={path:"/"+a},null!=urlParams.rev&&(e.rev=urlParams.rev),this.readFile(e,mxUtils.bind(this,function(b,e){var k=g?b.lastIndexOf(","): -1,m=null;0<k&&(k=this.ui.extractGraphModelFromPng(b.substring(k+1)),null!=k&&0<k.length?b=k:m=new LocalFile(this,b,a,!0));c(null!=m?m:d?new DropboxLibrary(this.ui,b,e):new DropboxFile(this.ui,b,e))}),b,g)}; -DropboxClient.prototype.readFile=function(a,c,b,d){var g=mxUtils.bind(this,function(k){var m=!0,n=window.setTimeout(mxUtils.bind(this,function(){m=!1;b({code:App.ERROR_TIMEOUT})}),this.ui.timeout),q=this.client.filesGetMetadata({path:"/"+a.path.substring(1),include_deleted:!1});q.then(mxUtils.bind(this,function(a){}));q["catch"](function(a){window.clearTimeout(n);m&&null!=a&&409==a.status&&(m=!1,b({message:mxResources.get("fileNotFound")}))});q=this.client.filesDownload(a);q.then(mxUtils.bind(this, -function(a){window.clearTimeout(n);if(m){m=!1;try{var e=new FileReader;e.onload=mxUtils.bind(this,function(b){c(e.result,a)});d?e.readAsDataURL(a.fileBlob):e.readAsText(a.fileBlob)}catch(p){b(p)}}}));q["catch"](mxUtils.bind(this,function(a){window.clearTimeout(n);m&&(m=!1,null==a||500!=a.status&&400!=a.status&&401!=a.status?b({message:mxResources.get("error")+" "+a.status}):(this.client.setAccessToken(null),this.setUser(null),k?b({message:mxResources.get("accessDenied"),retry:mxUtils.bind(this,function(){this.authenticate(function(){e(!0)}, +DropboxClient.prototype.readFile=function(a,c,b,d){var g=mxUtils.bind(this,function(k){var m=!0,n=window.setTimeout(mxUtils.bind(this,function(){m=!1;b({code:App.ERROR_TIMEOUT})}),this.ui.timeout),t=this.client.filesGetMetadata({path:"/"+a.path.substring(1),include_deleted:!1});t.then(mxUtils.bind(this,function(a){}));t["catch"](function(a){window.clearTimeout(n);m&&null!=a&&409==a.status&&(m=!1,b({message:mxResources.get("fileNotFound")}))});t=this.client.filesDownload(a);t.then(mxUtils.bind(this, +function(a){window.clearTimeout(n);if(m){m=!1;try{var e=new FileReader;e.onload=mxUtils.bind(this,function(b){c(e.result,a)});d?e.readAsDataURL(a.fileBlob):e.readAsText(a.fileBlob)}catch(p){b(p)}}}));t["catch"](mxUtils.bind(this,function(a){window.clearTimeout(n);m&&(m=!1,null==a||500!=a.status&&400!=a.status&&401!=a.status?b({message:mxResources.get("error")+" "+a.status}):(this.client.setAccessToken(null),this.setUser(null),k?b({message:mxResources.get("accessDenied"),retry:mxUtils.bind(this,function(){this.authenticate(function(){e(!0)}, b)})}):this.authenticate(function(){g(!0)},b)))}))}),e=mxUtils.bind(this,function(a){null==this.user?this.updateUser(function(){e(!0)},b,a):g(a)});null===this.client.getAccessToken()?this.authenticate(function(){e(!0)},b):e(!1)}; DropboxClient.prototype.checkExists=function(a,c,b){var d=this.client.filesGetMetadata({path:"/"+a.toLowerCase(),include_deleted:!1});this.executePromise(d,mxUtils.bind(this,function(d){b?c(!1,!0,d):this.ui.confirm(mxResources.get("replaceIt",[a]),function(){c(!0,!0,d)},function(){c(!1,!0,d)})}),function(a){c(!0,!1)})}; DropboxClient.prototype.renameFile=function(a,c,b,d){if(/[\\\/:\?\*"\|]/.test(c))d({message:mxResources.get("dropboxCharsNotAllowed")});else{if(null!=a&&null!=c){var g=a.stat.path_display.substring(1),e=g.lastIndexOf("/");0<e&&(c=g.substring(0,e+1)+c)}null!=a&&null!=c&&a.stat.path_lower.substring(1)!==c.toLowerCase()?this.checkExists(c,mxUtils.bind(this,function(e,g,n){e?(e=mxUtils.bind(this,function(e){e=this.client.filesMove({from_path:a.stat.path_display,to_path:"/"+c,autorename:!1});this.executePromise(e, @@ -8936,18 +8924,18 @@ OneDriveClient.prototype.getAccountTypeAndEndpoint=function(a,c){this.get(this.b OneDriveClient.prototype.executeRequest=function(a,c,b){var d=mxUtils.bind(this,function(g){var e=!0,k=window.setTimeout(mxUtils.bind(this,function(){e=!1;b({code:App.ERROR_TIMEOUT,retry:d})}),this.ui.timeout);this.get(a,mxUtils.bind(this,function(a){window.clearTimeout(k);e&&(200<=a.getStatus()&&299>=a.getStatus()||404==a.getStatus()?(null==this.user&&this.updateUser(this.emptyFn,this.emptyFn,!0),c(a)):g||401!==a.getStatus()&&400!==a.getStatus()?b(this.parseRequestText(a)):this.authenticate(function(){d(!0)}, b,g))}),b)});null==this.token||6E4>this.tokenExpiresOn-Date.now()?this.authenticate(function(){d(!0)},b):d(!1)};OneDriveClient.prototype.checkToken=function(a){null==this.token||null==this.tokenRefreshThread||6E4>this.tokenExpiresOn-Date.now()?this.authenticate(a,this.emptyFn):a()};OneDriveClient.prototype.getItemRef=function(a){var c=a.split("/");return 1<c.length?{driveId:c[0],id:c[1]}:{id:a}}; OneDriveClient.prototype.getItemURL=function(a,c){var b=a.split("/");return 1<b.length?(c?"":this.baseUrl)+"/drives/"+b[0]+"/items/"+b[1]:(c?"":this.baseUrl)+"/me/drive/items/"+a};OneDriveClient.prototype.getLibrary=function(a,c,b){this.getFile(a,c,b,!1,!0)}; -OneDriveClient.prototype.getFile=function(a,c,b,d,g){g=null!=g?g:!1;this.executeRequest(this.getItemURL(a),mxUtils.bind(this,function(a){if(200<=a.getStatus()&&299>=a.getStatus()){var d=JSON.parse(a.getText()),e=/\.png$/i.test(d.name);if(/\.v(dx|sdx?)$/i.test(d.name)||/\.gliffy$/i.test(d.name)||!this.ui.useCanvasForExport&&e)this.ui.convertFile(d["@microsoft.graph.downloadUrl"],d.name,null!=d.file?d.file.mimeType:null,this.extension,c,b);else{var n=!0,q=window.setTimeout(mxUtils.bind(this,function(){n= -!1;b({code:App.ERROR_TIMEOUT})}),this.ui.timeout);this.ui.loadUrl(d["@microsoft.graph.downloadUrl"],mxUtils.bind(this,function(a){try{if(window.clearTimeout(q),n){var f=e?a.lastIndexOf(","):-1,k=null;if(0<f){var m=this.ui.extractGraphModelFromPng(a.substring(f+1));null!=m&&0<m.length?a=m:k=new LocalFile(this.ui,a,d.name,!0)}else if("data:image/png;base64,PG14ZmlsZS"==a.substring(0,32)){var v=a.substring(22);a=window.atob&&!mxClient.IS_SF?atob(v):Base64.decode(v)}Graph.fileSupport&&(new XMLHttpRequest).upload&& -this.ui.isRemoteFileFormat(a,d["@microsoft.graph.downloadUrl"])?this.ui.parseFile(new Blob([a],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){try{4==a.readyState&&(200<=a.status&&299>=a.status?c(new LocalFile(this.ui,a.responseText,d.name+this.extension,!0)):null!=b&&b({message:mxResources.get("errorLoadingFile")}))}catch(z){if(null!=b)b(z);else throw z;}}),d.name):null!=k?c(k):g?c(new OneDriveLibrary(this.ui,a,d)):c(new OneDriveFile(this.ui,a,d))}}catch(t){if(null!=b)b(t);else throw t; -}}),mxUtils.bind(this,function(a){window.clearTimeout(q);n&&b(this.parseRequestText(a))}),e||null!=d.file&&null!=d.file.mimeType&&"image/"==d.file.mimeType.substring(0,6))}}else b(this.parseRequestText(a))}),b)}; +OneDriveClient.prototype.getFile=function(a,c,b,d,g){g=null!=g?g:!1;this.executeRequest(this.getItemURL(a),mxUtils.bind(this,function(a){if(200<=a.getStatus()&&299>=a.getStatus()){var d=JSON.parse(a.getText()),e=/\.png$/i.test(d.name);if(/\.v(dx|sdx?)$/i.test(d.name)||/\.gliffy$/i.test(d.name)||!this.ui.useCanvasForExport&&e)this.ui.convertFile(d["@microsoft.graph.downloadUrl"],d.name,null!=d.file?d.file.mimeType:null,this.extension,c,b);else{var n=!0,t=window.setTimeout(mxUtils.bind(this,function(){n= +!1;b({code:App.ERROR_TIMEOUT})}),this.ui.timeout);this.ui.loadUrl(d["@microsoft.graph.downloadUrl"],mxUtils.bind(this,function(a){try{if(window.clearTimeout(t),n){var f=e?a.lastIndexOf(","):-1,k=null;if(0<f){var m=this.ui.extractGraphModelFromPng(a.substring(f+1));null!=m&&0<m.length?a=m:k=new LocalFile(this.ui,a,d.name,!0)}else if("data:image/png;base64,PG14ZmlsZS"==a.substring(0,32)){var v=a.substring(22);a=window.atob&&!mxClient.IS_SF?atob(v):Base64.decode(v)}Graph.fileSupport&&(new XMLHttpRequest).upload&& +this.ui.isRemoteFileFormat(a,d["@microsoft.graph.downloadUrl"])?this.ui.parseFile(new Blob([a],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){try{4==a.readyState&&(200<=a.status&&299>=a.status?c(new LocalFile(this.ui,a.responseText,d.name+this.extension,!0)):null!=b&&b({message:mxResources.get("errorLoadingFile")}))}catch(z){if(null!=b)b(z);else throw z;}}),d.name):null!=k?c(k):g?c(new OneDriveLibrary(this.ui,a,d)):c(new OneDriveFile(this.ui,a,d))}}catch(q){if(null!=b)b(q);else throw q; +}}),mxUtils.bind(this,function(a){window.clearTimeout(t);n&&b(this.parseRequestText(a))}),e||null!=d.file&&null!=d.file.mimeType&&"image/"==d.file.mimeType.substring(0,6))}}else b(this.parseRequestText(a))}),b)}; OneDriveClient.prototype.renameFile=function(a,c,b,d){null!=a&&null!=c&&(this.isValidFilename(c)?this.checkExists(a.getParentId(),c,!1,mxUtils.bind(this,function(g){g?this.writeFile(this.getItemURL(a.getId()),JSON.stringify({name:c}),"PATCH","application/json",b,d):d()})):d({message:this.invalidFilenameRegExs[0].test(c)?mxResources.get("oneDriveCharsNotAllowed"):mxResources.get("oneDriveInvalidDeviceName")}))}; OneDriveClient.prototype.moveFile=function(a,c,b,d){c=this.getItemRef(c);var g=this.getItemRef(a);c.driveId!=g.driveId?d({message:mxResources.get("cannotMoveOneDrive",null,"Moving a file between accounts is not supported yet.")}):this.writeFile(this.getItemURL(a),JSON.stringify({parentReference:c}),"PATCH","application/json",b,d)};OneDriveClient.prototype.insertLibrary=function(a,c,b,d,g){this.insertFile(a,c,b,d,!0,g)}; OneDriveClient.prototype.insertFile=function(a,c,b,d,g,e){this.isValidFilename(a)?(g=null!=g?g:!1,this.checkExists(e,a,!0,mxUtils.bind(this,function(k){k?(k="/me/drive/root",null!=e&&(k=this.getItemURL(e,!0)),k=this.baseUrl+k+"/children/"+encodeURIComponent(a)+"/content",this.writeFile(k,c,"PUT",null,mxUtils.bind(this,function(a){g?b(new OneDriveLibrary(this.ui,c,a)):b(new OneDriveFile(this.ui,c,a))}),d)):d()}))):d({message:this.invalidFilenameRegExs[0].test(a)?mxResources.get("oneDriveCharsNotAllowed"): mxResources.get("oneDriveInvalidDeviceName")})}; OneDriveClient.prototype.checkExists=function(a,c,b,d){var g="/me/drive/root";null!=a&&(g=this.getItemURL(a,!0));this.executeRequest(this.baseUrl+g+"/children/"+encodeURIComponent(c),mxUtils.bind(this,function(a){404==a.getStatus()?d(!0):b?(this.ui.spinner.stop(),this.ui.confirm(mxResources.get("replaceIt",[c]),function(){d(!0)},function(){d(!1)})):(this.ui.spinner.stop(),this.ui.showError(mxResources.get("error"),mxResources.get("fileExists"),mxResources.get("ok"),function(){d(!1)}))}),function(a){d(!1)}, !0)};OneDriveClient.prototype.saveFile=function(a,c,b,d){try{var g=a.getData(),e=mxUtils.bind(this,function(e){var k=this.getItemURL(a.getId());this.writeFile(k+"/content/",e,"PUT",null,mxUtils.bind(this,function(a){c(a,g)}),b,d)});this.ui.useCanvasForExport&&/(\.png)$/i.test(a.meta.name)?this.ui.getEmbeddedPng(mxUtils.bind(this,function(a){e(this.ui.base64ToBlob(a,"image/png"))}),b,this.ui.getCurrentFile()!=a?g:null):e(g)}catch(k){b(k)}}; -OneDriveClient.prototype.writeFile=function(a,c,b,d,g,e,k){try{if(null!=a&&null!=c)if(4E6<=c.length)e({message:mxResources.get("drawingTooLarge")+" ("+this.ui.formatFileSize(c.length)+" / 4 MB)"});else{var m=mxUtils.bind(this,function(n){try{var q=!0,f=window.setTimeout(mxUtils.bind(this,function(){q=!1;e({code:App.ERROR_TIMEOUT,retry:m})}),this.ui.timeout),l=new mxXmlRequest(a,c,b);l.setRequestHeaders=mxUtils.bind(this,function(a,b){a.setRequestHeader("Content-Type",d||" ");a.setRequestHeader("Authorization", -"Bearer "+this.token);null!=k&&a.setRequestHeader("If-Match",k)});l.send(mxUtils.bind(this,function(a){window.clearTimeout(f);q&&(200<=a.getStatus()&&299>=a.getStatus()?(null==this.user&&this.updateUser(this.emptyFn,this.emptyFn,!0),g(JSON.parse(a.getText()))):n||401!==a.getStatus()?e(this.parseRequestText(a),a):this.authenticate(function(){m(!0)},e,n))}),mxUtils.bind(this,function(a){window.clearTimeout(f);q&&e(this.parseRequestText(a))}))}catch(p){e(p)}});null==this.token||6E4>this.tokenExpiresOn- +OneDriveClient.prototype.writeFile=function(a,c,b,d,g,e,k){try{if(null!=a&&null!=c)if(4E6<=c.length)e({message:mxResources.get("drawingTooLarge")+" ("+this.ui.formatFileSize(c.length)+" / 4 MB)"});else{var m=mxUtils.bind(this,function(n){try{var t=!0,f=window.setTimeout(mxUtils.bind(this,function(){t=!1;e({code:App.ERROR_TIMEOUT,retry:m})}),this.ui.timeout),l=new mxXmlRequest(a,c,b);l.setRequestHeaders=mxUtils.bind(this,function(a,b){a.setRequestHeader("Content-Type",d||" ");a.setRequestHeader("Authorization", +"Bearer "+this.token);null!=k&&a.setRequestHeader("If-Match",k)});l.send(mxUtils.bind(this,function(a){window.clearTimeout(f);t&&(200<=a.getStatus()&&299>=a.getStatus()?(null==this.user&&this.updateUser(this.emptyFn,this.emptyFn,!0),g(JSON.parse(a.getText()))):n||401!==a.getStatus()?e(this.parseRequestText(a),a):this.authenticate(function(){m(!0)},e,n))}),mxUtils.bind(this,function(a){window.clearTimeout(f);t&&e(this.parseRequestText(a))}))}catch(p){e(p)}});null==this.token||6E4>this.tokenExpiresOn- Date.now()?this.authenticate(function(){m(!0)},e):m(!1)}else e({message:mxResources.get("unknownError")})}catch(n){e(n)}};OneDriveClient.prototype.parseRequestText=function(a){var c={message:mxResources.get("unknownError")};try{c=JSON.parse(a.getText())}catch(b){}return c};OneDriveClient.prototype.pickLibrary=function(a){this.pickFile(function(c){a(c)})}; OneDriveClient.prototype.pickFolder=function(a,c){var b=mxUtils.bind(this,function(b){var c=mxUtils.bind(this,function(){OneDrive.save({clientId:this.clientId,action:"query",openInNewWindow:!0,advanced:{endpointHint:mxClient.IS_IE11?null:this.endpointHint,redirectUri:this.pickerRedirectUri,queryParameters:"select=id,name,parentReference",accessToken:this.token,isConsumerAccount:!1},success:mxUtils.bind(this,function(b){a(b);mxClient.IS_IE11&&(this.token=b.accessToken)}),cancel:mxUtils.bind(this,function(){}), error:mxUtils.bind(this,function(a){this.ui.showError(mxResources.get("error"),a)})})});b?c():this.ui.confirm(mxResources.get("useRootFolder"),mxUtils.bind(this,function(){a({value:[{id:"root",name:"root",parentReference:{driveId:"me"}}]})}),c,mxResources.get("yes"),mxResources.get("noPickFolder")+"...",!0);null==this.user&&this.updateUser(this.emptyFn,this.emptyFn,!0)});null==this.token||6E4>this.tokenExpiresOn-Date.now()?this.authenticate(mxUtils.bind(this,function(){b(!1)}),this.emptyFn):b(c)}; @@ -8966,7 +8954,7 @@ c({message:mxResources.get("accessDenied")}):(this.setUser(this.createUser(JSON. GitHubClient.prototype.authenticate=function(a,c){if(null==window.onGitHubCallback){var b=mxUtils.bind(this,function(){var d=!0;this.ui.showAuthDialog(this,!0,mxUtils.bind(this,function(g,e){null!=window.open("https://github.com/login/oauth/authorize?client_id="+this.clientId+"&scope="+this.scope,"ghauth")?window.onGitHubCallback=mxUtils.bind(this,function(k,m){if(d)if(window.onGitHubCallback=null,d=!1,null==k)c({message:mxResources.get("accessDenied"),retry:b});else{var n=mxUtils.bind(this,function(){var b= !0,d=window.setTimeout(mxUtils.bind(this,function(){b=!1;c({code:App.ERROR_TIMEOUT,retry:n})}),this.ui.timeout);mxUtils.get("/github?client_id="+this.clientId+"&code="+k,mxUtils.bind(this,function(f){window.clearTimeout(d);if(b)try{if(200>f.getStatus()||300<=f.getStatus())c({message:mxResources.get("cannotLogin")});else{null!=e&&e();var k=f.getText();this.token=k.substring(k.indexOf("=")+1,k.indexOf("&"));this.setUser(null);g&&this.setPersistentToken(this.token);a()}}catch(u){c(u)}finally{null!=m&& m.close()}}))});n()}else null!=m&&m.close()}):c({message:mxResources.get("serviceUnavailableOrBlocked"),retry:b})}),mxUtils.bind(this,function(){d&&(window.onGitHubCallback=null,d=!1,c({message:mxResources.get("accessDenied"),retry:b}))}))});b()}else c({code:App.ERROR_BUSY})};GitHubClient.prototype.getErrorMessage=function(a,c){try{var b=JSON.parse(a.getText());null!=b&&null!=b.message&&(c=b.message)}catch(d){}return c}; -GitHubClient.prototype.executeRequest=function(a,c,b,d){var g=mxUtils.bind(this,function(k){var m=!0,n=window.setTimeout(mxUtils.bind(this,function(){m=!1;b({code:App.ERROR_TIMEOUT,retry:e})}),this.ui.timeout),q=this.token;a.setRequestHeaders=function(a,b){a.setRequestHeader("Authorization","token "+q)};a.send(mxUtils.bind(this,function(){window.clearTimeout(n);if(m)if(200<=a.getStatus()&&299>=a.getStatus()||d&&404==a.getStatus())c(a);else if(401===a.getStatus())k?b({code:a.getStatus(),message:mxResources.get("accessDenied"), +GitHubClient.prototype.executeRequest=function(a,c,b,d){var g=mxUtils.bind(this,function(k){var m=!0,n=window.setTimeout(mxUtils.bind(this,function(){m=!1;b({code:App.ERROR_TIMEOUT,retry:e})}),this.ui.timeout),t=this.token;a.setRequestHeaders=function(a,b){a.setRequestHeader("Authorization","token "+t)};a.send(mxUtils.bind(this,function(){window.clearTimeout(n);if(m)if(200<=a.getStatus()&&299>=a.getStatus()||d&&404==a.getStatus())c(a);else if(401===a.getStatus())k?b({code:a.getStatus(),message:mxResources.get("accessDenied"), retry:mxUtils.bind(this,function(){this.authenticate(function(){e(!0)},b)})}):this.authenticate(function(){g(!0)},b);else if(403===a.getStatus()){var f=!1;try{var l=JSON.parse(a.getText());null!=l&&null!=l.errors&&0<l.errors.length&&(f="too_large"==l.errors[0].code)}catch(p){}b({message:mxResources.get(f?"drawingTooLarge":"forbidden")})}else 404===a.getStatus()?b({code:a.getStatus(),message:this.getErrorMessage(a,mxResources.get("fileNotFound"))}):409===a.getStatus()?b({code:a.getStatus(),status:409}): b({code:a.getStatus(),message:this.getErrorMessage(a,mxResources.get("error")+" "+a.getStatus())})}),b)}),e=mxUtils.bind(this,function(a){null==this.user?this.updateUser(function(){e(!0)},b,a):g(a)});null==this.token?this.authenticate(function(){e(!0)},b):e(!1)};GitHubClient.prototype.getLibrary=function(a,c,b){this.getFile(a,c,b,!0)}; GitHubClient.prototype.getSha=function(a,c,b,d,g,e){var k="&t="+(new Date).getTime();a=new mxXmlRequest(this.baseUrl+"/repos/"+a+"/"+c+"/contents/"+b+"?ref="+d+k,null,"HEAD");this.executeRequest(a,mxUtils.bind(this,function(a){try{g(a.request.getResponseHeader("Etag").match(/"([^"]+)"/)[1])}catch(n){e(n)}}),e)}; @@ -8974,27 +8962,27 @@ GitHubClient.prototype.getFile=function(a,c,b,d,g){d=null!=d?d:!1;var e=a.split( a=new mxXmlRequest(this.baseUrl+"/repos/"+k+"/"+m+"/contents/"+a+"?ref="+n+g,null,"GET"),this.executeRequest(a,mxUtils.bind(this,function(a){try{c(this.createGitHubFile(k,m,n,JSON.parse(a.getText()),d))}catch(f){b(f)}}),b))}; GitHubClient.prototype.createGitHubFile=function(a,c,b,d,g){a={org:a,repo:c,ref:b,name:d.name,path:d.path,sha:d.sha,html_url:d.html_url,download_url:d.download_url};c=d.content;"base64"===d.encoding&&(/\.jpe?g$/i.test(d.name)?c="data:image/jpeg;base64,"+c:/\.gif$/i.test(d.name)?c="data:image/gif;base64,"+c:/\.png$/i.test(d.name)?(d=this.ui.extractGraphModelFromPng(c),c=null!=d&&0<d.length?d:"data:image/png;base64,"+c):c=Base64.decode(c));return g?new GitHubLibrary(this.ui,c,a):new GitHubFile(this.ui, c,a)};GitHubClient.prototype.insertLibrary=function(a,c,b,d,g){this.insertFile(a,c,b,d,!0,g,!1)}; -GitHubClient.prototype.insertFile=function(a,c,b,d,g,e,k){g=null!=g?g:!1;e=e.split("/");var m=e[0],n=e[1],q=e[2],f=e.slice(3,e.length).join("/");0<f.length&&(f+="/");f+=a;this.checkExists(m+"/"+n+"/"+q+"/"+f,!0,mxUtils.bind(this,function(e,p){e?g?(k||(c=Base64.encode(c)),this.showCommitDialog(a,!0,mxUtils.bind(this,function(a){this.writeFile(m,n,q,f,a,c,p,mxUtils.bind(this,function(a){try{var c=JSON.parse(a.getText());b(this.createGitHubFile(m,n,q,c.content,g))}catch(z){d(z)}}),d)}),d)):b(new GitHubFile(this.ui, -c,{org:m,repo:n,ref:q,name:a,path:f,sha:p,isNew:!0})):d()}))};GitHubClient.prototype.showCommitDialog=function(a,c,b,d){var g=this.ui.spinner.pause();a=new FilenameDialog(this.ui,mxResources.get(c?"addedFile":"updateFile",[a]),mxResources.get("ok"),mxUtils.bind(this,function(a){g();b(a)}),mxResources.get("commitMessage"),null,null,null,null,mxUtils.bind(this,function(){d()}),null,280);this.ui.showDialog(a.container,400,80,!0,!1);a.init()}; +GitHubClient.prototype.insertFile=function(a,c,b,d,g,e,k){g=null!=g?g:!1;e=e.split("/");var m=e[0],n=e[1],t=e[2],f=e.slice(3,e.length).join("/");0<f.length&&(f+="/");f+=a;this.checkExists(m+"/"+n+"/"+t+"/"+f,!0,mxUtils.bind(this,function(e,p){e?g?(k||(c=Base64.encode(c)),this.showCommitDialog(a,!0,mxUtils.bind(this,function(a){this.writeFile(m,n,t,f,a,c,p,mxUtils.bind(this,function(a){try{var c=JSON.parse(a.getText());b(this.createGitHubFile(m,n,t,c.content,g))}catch(z){d(z)}}),d)}),d)):b(new GitHubFile(this.ui, +c,{org:m,repo:n,ref:t,name:a,path:f,sha:p,isNew:!0})):d()}))};GitHubClient.prototype.showCommitDialog=function(a,c,b,d){var g=this.ui.spinner.pause();a=new FilenameDialog(this.ui,mxResources.get(c?"addedFile":"updateFile",[a]),mxResources.get("ok"),mxUtils.bind(this,function(a){g();b(a)}),mxResources.get("commitMessage"),null,null,null,null,mxUtils.bind(this,function(){d()}),null,280);this.ui.showDialog(a.container,400,80,!0,!1);a.init()}; GitHubClient.prototype.writeFile=function(a,c,b,d,g,e,k,m,n){e.length>=this.maxFileSize?n({message:mxResources.get("drawingTooLarge")+" ("+this.ui.formatFileSize(e.length)+" / 1 MB)"}):(b={path:d,branch:decodeURIComponent(b),message:g,content:e},null!=k&&(b.sha=k),a=new mxXmlRequest(this.baseUrl+"/repos/"+a+"/"+c+"/contents/"+d,JSON.stringify(b),"PUT"),this.executeRequest(a,mxUtils.bind(this,function(a){m(a)}),mxUtils.bind(this,function(a){404==a.code&&(a.helpLink="https://github.com/settings/connections/applications/"+ this.clientId,a.code=null);n(a)})))}; GitHubClient.prototype.checkExists=function(a,c,b){var d=a.split("/"),g=d[0],e=d[1],k=d[2];a=d.slice(3,d.length).join("/");this.getSha(g,e,a,k,mxUtils.bind(this,function(d){if(c){var e=this.ui.spinner.pause();this.ui.confirm(mxResources.get("replaceIt",[a]),function(){e();b(!0,d)},function(){e();b(!1)})}else this.ui.spinner.stop(),this.ui.showError(mxResources.get("error"),mxResources.get("fileExists"),mxResources.get("ok"),function(){b(!1)})}),mxUtils.bind(this,function(a){b(!0)}),null,!0)}; -GitHubClient.prototype.saveFile=function(a,c,b,d,g){var e=a.meta.org,k=a.meta.repo,m=a.meta.ref,n=a.meta.path,q=mxUtils.bind(this,function(d,f){this.writeFile(e,k,m,n,g,f,d,mxUtils.bind(this,function(b){delete a.meta.isNew;c(JSON.parse(b.getText()).content.sha)}),mxUtils.bind(this,function(a){b(a)}))}),f=mxUtils.bind(this,function(){this.ui.useCanvasForExport&&/(\.png)$/i.test(n)?this.ui.getEmbeddedPng(mxUtils.bind(this,function(b){q(a.meta.sha,b)}),b,this.ui.getCurrentFile()!=a?a.getData():null): -q(a.meta.sha,Base64.encode(a.getData()))});d?this.getSha(e,k,n,m,mxUtils.bind(this,function(b){a.meta.sha=b;f()}),b):f()};GitHubClient.prototype.pickLibrary=function(a){this.pickFile(a)};GitHubClient.prototype.pickFolder=function(a){this.showGitHubDialog(!1,a)};GitHubClient.prototype.pickFile=function(a){a=null!=a?a:mxUtils.bind(this,function(a){this.ui.loadFile("H"+encodeURIComponent(a))});this.showGitHubDialog(!0,a)}; +GitHubClient.prototype.saveFile=function(a,c,b,d,g){var e=a.meta.org,k=a.meta.repo,m=a.meta.ref,n=a.meta.path,t=mxUtils.bind(this,function(d,f){this.writeFile(e,k,m,n,g,f,d,mxUtils.bind(this,function(b){delete a.meta.isNew;c(JSON.parse(b.getText()).content.sha)}),mxUtils.bind(this,function(a){b(a)}))}),f=mxUtils.bind(this,function(){this.ui.useCanvasForExport&&/(\.png)$/i.test(n)?this.ui.getEmbeddedPng(mxUtils.bind(this,function(b){t(a.meta.sha,b)}),b,this.ui.getCurrentFile()!=a?a.getData():null): +t(a.meta.sha,Base64.encode(a.getData()))});d?this.getSha(e,k,n,m,mxUtils.bind(this,function(b){a.meta.sha=b;f()}),b):f()};GitHubClient.prototype.pickLibrary=function(a){this.pickFile(a)};GitHubClient.prototype.pickFolder=function(a){this.showGitHubDialog(!1,a)};GitHubClient.prototype.pickFile=function(a){a=null!=a?a:mxUtils.bind(this,function(a){this.ui.loadFile("H"+encodeURIComponent(a))});this.showGitHubDialog(!0,a)}; GitHubClient.prototype.showGitHubDialog=function(a,c){var b=null,d=null,g=null,e=null,k=document.createElement("div");k.style.whiteSpace="nowrap";k.style.overflow="hidden";k.style.height="304px";var m=document.createElement("h3");mxUtils.write(m,mxResources.get(a?"selectFile":"selectFolder"));m.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";k.appendChild(m);var n=document.createElement("div");n.style.whiteSpace="nowrap";n.style.border="1px solid lightgray";n.style.boxSizing= -"border-box";n.style.padding="4px";n.style.overflow="auto";n.style.lineHeight="1.2em";n.style.height="274px";k.appendChild(n);var q=document.createElement("div");q.style.textOverflow="ellipsis";q.style.boxSizing="border-box";q.style.overflow="hidden";q.style.padding="4px";q.style.width="100%";var f=new CustomDialog(this.ui,k,mxUtils.bind(this,function(){c(b+"/"+d+"/"+encodeURIComponent(g)+"/"+e)}));this.ui.showDialog(f.container,420,360,!0,!0);a&&f.okButton.parentNode.removeChild(f.okButton);var l= -mxUtils.bind(this,function(a,b,c){var d=document.createElement("a");d.setAttribute("href","javascript:void(0);");d.setAttribute("title",a);mxUtils.write(d,a);mxEvent.addListener(d,"click",b);null!=c&&(a=q.cloneNode(),a.style.padding=c,a.appendChild(d),d=a);return d}),p=mxUtils.bind(this,function(a){var c=document.createElement("div");c.style.marginBottom="8px";c.appendChild(l(b+"/"+d,mxUtils.bind(this,function(){e=null;C()})));a||(mxUtils.write(c," / "),c.appendChild(l(decodeURIComponent(g),mxUtils.bind(this, -function(){e=null;y()}))));if(null!=e&&0<e.length){var f=e.split("/");for(a=0;a<f.length;a++)(function(a){mxUtils.write(c," / ");c.appendChild(l(f[a],mxUtils.bind(this,function(){e=f.slice(0,a+1).join("/");z()})))})(a)}n.appendChild(c)}),u=mxUtils.bind(this,function(a){this.ui.handleError(a,null,mxUtils.bind(this,function(){this.ui.spinner.stop();null!=this.getUser()?(e=g=d=b=null,C()):this.ui.hideDialog()}))}),v=null,t=null,z=mxUtils.bind(this,function(k){null==k&&(n.innerHTML="",k=1);var m=new mxXmlRequest(this.baseUrl+ -"/repos/"+b+"/"+d+"/contents/"+e+"?ref="+encodeURIComponent(g)+"&per_page=100&page="+k,null,"GET");this.ui.spinner.spin(n,mxResources.get("loading"));f.okButton.removeAttribute("disabled");null!=t&&(mxEvent.removeListener(n,"scroll",t),t=null);null!=v&&null!=v.parentNode&&v.parentNode.removeChild(v);v=document.createElement("a");v.style.display="block";v.setAttribute("href","javascript:void(0);");mxUtils.write(v,mxResources.get("more")+"...");var x=mxUtils.bind(this,function(){z(k+1)});mxEvent.addListener(v, -"click",x);this.executeRequest(m,mxUtils.bind(this,function(f){this.ui.spinner.stop();1==k&&(p(),n.appendChild(l("../ [Up]",mxUtils.bind(this,function(){if(""==e)e=null,C();else{var a=e.split("/");e=a.slice(0,a.length-1).join("/");z()}}),"4px")));var m=JSON.parse(f.getText());if(null==m||0==m.length)mxUtils.write(n,mxResources.get("noFiles"));else{var t=!0,x=0;f=mxUtils.bind(this,function(f){for(var k=0;k<m.length;k++)mxUtils.bind(this,function(k,m){if(f==("dir"==k.type)){var p=q.cloneNode();p.style.backgroundColor= -t?"#eeeeee":"";t=!t;var B=document.createElement("img");B.src=IMAGE_PATH+"/"+("dir"==k.type?"folder.png":"file.png");B.setAttribute("align","absmiddle");B.style.marginRight="4px";B.style.marginTop="-4px";B.width=20;p.appendChild(B);p.appendChild(l(k.name+("dir"==k.type?"/":""),mxUtils.bind(this,function(){"dir"==k.type?(e=k.path,z()):a&&"file"==k.type&&(this.ui.hideDialog(),c(b+"/"+d+"/"+encodeURIComponent(g)+"/"+k.path))})));n.appendChild(p);x++}})(m[k],k)});f(!0);a&&f(!1)}}),u,!0)}),y=mxUtils.bind(this, -function(a){null==a&&(n.innerHTML="",a=1);var c=new mxXmlRequest(this.baseUrl+"/repos/"+b+"/"+d+"/branches?per_page=100&page="+a,null,"GET");f.okButton.setAttribute("disabled","disabled");this.ui.spinner.spin(n,mxResources.get("loading"));null!=t&&(mxEvent.removeListener(n,"scroll",t),t=null);null!=v&&null!=v.parentNode&&v.parentNode.removeChild(v);v=document.createElement("a");v.style.display="block";v.setAttribute("href","javascript:void(0);");mxUtils.write(v,mxResources.get("more")+"...");var k= -mxUtils.bind(this,function(){y(a+1)});mxEvent.addListener(v,"click",k);this.executeRequest(c,mxUtils.bind(this,function(b){this.ui.spinner.stop();1==a&&(p(!0),n.appendChild(l("../ [Up]",mxUtils.bind(this,function(){e=null;C()}),"4px")));b=JSON.parse(b.getText());if(null==b||0==b.length)mxUtils.write(n,mxResources.get("noFiles"));else{for(var c=0;c<b.length;c++)mxUtils.bind(this,function(a,b){var c=q.cloneNode();c.style.backgroundColor=0==b%2?"#eeeeee":"";c.appendChild(l(a.name,mxUtils.bind(this,function(){g= -a.name;e="";z()})));n.appendChild(c)})(b[c],c);100==b.length&&(n.appendChild(v),t=function(){n.scrollTop>=n.scrollHeight-n.offsetHeight&&k()},mxEvent.addListener(n,"scroll",t))}}),u)}),C=mxUtils.bind(this,function(a){null==a&&(n.innerHTML="",a=1);var c=new mxXmlRequest(this.baseUrl+"/user/repos?per_page=100&page="+a,null,"GET");f.okButton.setAttribute("disabled","disabled");this.ui.spinner.spin(n,mxResources.get("loading"));null!=t&&mxEvent.removeListener(n,"scroll",t);null!=v&&null!=v.parentNode&& +"border-box";n.style.padding="4px";n.style.overflow="auto";n.style.lineHeight="1.2em";n.style.height="274px";k.appendChild(n);var t=document.createElement("div");t.style.textOverflow="ellipsis";t.style.boxSizing="border-box";t.style.overflow="hidden";t.style.padding="4px";t.style.width="100%";var f=new CustomDialog(this.ui,k,mxUtils.bind(this,function(){c(b+"/"+d+"/"+encodeURIComponent(g)+"/"+e)}));this.ui.showDialog(f.container,420,360,!0,!0);a&&f.okButton.parentNode.removeChild(f.okButton);var l= +mxUtils.bind(this,function(a,b,c){var d=document.createElement("a");d.setAttribute("href","javascript:void(0);");d.setAttribute("title",a);mxUtils.write(d,a);mxEvent.addListener(d,"click",b);null!=c&&(a=t.cloneNode(),a.style.padding=c,a.appendChild(d),d=a);return d}),p=mxUtils.bind(this,function(a){var c=document.createElement("div");c.style.marginBottom="8px";c.appendChild(l(b+"/"+d,mxUtils.bind(this,function(){e=null;C()})));a||(mxUtils.write(c," / "),c.appendChild(l(decodeURIComponent(g),mxUtils.bind(this, +function(){e=null;y()}))));if(null!=e&&0<e.length){var f=e.split("/");for(a=0;a<f.length;a++)(function(a){mxUtils.write(c," / ");c.appendChild(l(f[a],mxUtils.bind(this,function(){e=f.slice(0,a+1).join("/");z()})))})(a)}n.appendChild(c)}),u=mxUtils.bind(this,function(a){this.ui.handleError(a,null,mxUtils.bind(this,function(){this.ui.spinner.stop();null!=this.getUser()?(e=g=d=b=null,C()):this.ui.hideDialog()}))}),v=null,q=null,z=mxUtils.bind(this,function(k){null==k&&(n.innerHTML="",k=1);var m=new mxXmlRequest(this.baseUrl+ +"/repos/"+b+"/"+d+"/contents/"+e+"?ref="+encodeURIComponent(g)+"&per_page=100&page="+k,null,"GET");this.ui.spinner.spin(n,mxResources.get("loading"));f.okButton.removeAttribute("disabled");null!=q&&(mxEvent.removeListener(n,"scroll",q),q=null);null!=v&&null!=v.parentNode&&v.parentNode.removeChild(v);v=document.createElement("a");v.style.display="block";v.setAttribute("href","javascript:void(0);");mxUtils.write(v,mxResources.get("more")+"...");var x=mxUtils.bind(this,function(){z(k+1)});mxEvent.addListener(v, +"click",x);this.executeRequest(m,mxUtils.bind(this,function(f){this.ui.spinner.stop();1==k&&(p(),n.appendChild(l("../ [Up]",mxUtils.bind(this,function(){if(""==e)e=null,C();else{var a=e.split("/");e=a.slice(0,a.length-1).join("/");z()}}),"4px")));var m=JSON.parse(f.getText());if(null==m||0==m.length)mxUtils.write(n,mxResources.get("noFiles"));else{var q=!0,x=0;f=mxUtils.bind(this,function(f){for(var k=0;k<m.length;k++)mxUtils.bind(this,function(k,m){if(f==("dir"==k.type)){var p=t.cloneNode();p.style.backgroundColor= +q?"#eeeeee":"";q=!q;var A=document.createElement("img");A.src=IMAGE_PATH+"/"+("dir"==k.type?"folder.png":"file.png");A.setAttribute("align","absmiddle");A.style.marginRight="4px";A.style.marginTop="-4px";A.width=20;p.appendChild(A);p.appendChild(l(k.name+("dir"==k.type?"/":""),mxUtils.bind(this,function(){"dir"==k.type?(e=k.path,z()):a&&"file"==k.type&&(this.ui.hideDialog(),c(b+"/"+d+"/"+encodeURIComponent(g)+"/"+k.path))})));n.appendChild(p);x++}})(m[k],k)});f(!0);a&&f(!1)}}),u,!0)}),y=mxUtils.bind(this, +function(a){null==a&&(n.innerHTML="",a=1);var c=new mxXmlRequest(this.baseUrl+"/repos/"+b+"/"+d+"/branches?per_page=100&page="+a,null,"GET");f.okButton.setAttribute("disabled","disabled");this.ui.spinner.spin(n,mxResources.get("loading"));null!=q&&(mxEvent.removeListener(n,"scroll",q),q=null);null!=v&&null!=v.parentNode&&v.parentNode.removeChild(v);v=document.createElement("a");v.style.display="block";v.setAttribute("href","javascript:void(0);");mxUtils.write(v,mxResources.get("more")+"...");var k= +mxUtils.bind(this,function(){y(a+1)});mxEvent.addListener(v,"click",k);this.executeRequest(c,mxUtils.bind(this,function(b){this.ui.spinner.stop();1==a&&(p(!0),n.appendChild(l("../ [Up]",mxUtils.bind(this,function(){e=null;C()}),"4px")));b=JSON.parse(b.getText());if(null==b||0==b.length)mxUtils.write(n,mxResources.get("noFiles"));else{for(var c=0;c<b.length;c++)mxUtils.bind(this,function(a,b){var c=t.cloneNode();c.style.backgroundColor=0==b%2?"#eeeeee":"";c.appendChild(l(a.name,mxUtils.bind(this,function(){g= +a.name;e="";z()})));n.appendChild(c)})(b[c],c);100==b.length&&(n.appendChild(v),q=function(){n.scrollTop>=n.scrollHeight-n.offsetHeight&&k()},mxEvent.addListener(n,"scroll",q))}}),u)}),C=mxUtils.bind(this,function(a){null==a&&(n.innerHTML="",a=1);var c=new mxXmlRequest(this.baseUrl+"/user/repos?per_page=100&page="+a,null,"GET");f.okButton.setAttribute("disabled","disabled");this.ui.spinner.spin(n,mxResources.get("loading"));null!=q&&mxEvent.removeListener(n,"scroll",q);null!=v&&null!=v.parentNode&& v.parentNode.removeChild(v);v=document.createElement("a");v.style.display="block";v.setAttribute("href","javascript:void(0);");mxUtils.write(v,mxResources.get("more")+"...");var k=mxUtils.bind(this,function(){C(a+1)});mxEvent.addListener(v,"click",k);this.executeRequest(c,mxUtils.bind(this,function(c){this.ui.spinner.stop();c=JSON.parse(c.getText());if(null==c||0==c.length)mxUtils.write(n,mxResources.get("noFiles"));else{1==a&&(n.appendChild(l(mxResources.get("enterValue")+"...",mxUtils.bind(this, function(){var a=new FilenameDialog(this.ui,"org/repo/ref",mxResources.get("ok"),mxUtils.bind(this,function(a){if(null!=a){var c=a.split("/");if(1<c.length){a=c[0];var f=c[1];3>c.length?(b=a,d=f,e=g=null,y()):this.ui.spinner.spin(n,mxResources.get("loading"))&&(c=encodeURIComponent(c.slice(2,c.length).join("/")),this.getFile(a+"/"+f+"/"+c,mxUtils.bind(this,function(a){this.ui.spinner.stop();b=a.meta.org;d=a.meta.repo;g=decodeURIComponent(a.meta.ref);e="";z()}),mxUtils.bind(this,function(a){this.ui.spinner.stop(); -this.ui.handleError({message:mxResources.get("fileNotFound")})})))}else this.ui.spinner.stop(),this.ui.handleError({message:mxResources.get("invalidName")})}}),mxResources.get("enterValue"));this.ui.showDialog(a.container,300,80,!0,!1);a.init()}))),mxUtils.br(n),mxUtils.br(n));for(var f=0;f<c.length;f++)mxUtils.bind(this,function(a,c){var f=q.cloneNode();f.style.backgroundColor=0==c%2?"#eeeeee":"";f.appendChild(l(a.full_name,mxUtils.bind(this,function(){b=a.owner.login;d=a.name;g=a.default_branch; -e="";z()})));n.appendChild(f)})(c[f],f)}100==c.length&&(n.appendChild(v),t=function(){n.scrollTop>=n.scrollHeight-n.offsetHeight&&k()},mxEvent.addListener(n,"scroll",t))}),u)});C()};GitHubClient.prototype.logout=function(){this.clearPersistentToken();this.setUser(null);this.token=null};TrelloFile=function(a,c,b){DrawioFile.call(this,a,c);this.meta=b;this.saveNeededCounter=0};mxUtils.extend(TrelloFile,DrawioFile);TrelloFile.prototype.getHash=function(){return"T"+encodeURIComponent(this.meta.compoundId)};TrelloFile.prototype.getMode=function(){return App.MODE_TRELLO};TrelloFile.prototype.isAutosave=function(){return!0};TrelloFile.prototype.getTitle=function(){return this.meta.name};TrelloFile.prototype.isRenamable=function(){return!1};TrelloFile.prototype.getSize=function(){return this.meta.bytes}; +this.ui.handleError({message:mxResources.get("fileNotFound")})})))}else this.ui.spinner.stop(),this.ui.handleError({message:mxResources.get("invalidName")})}}),mxResources.get("enterValue"));this.ui.showDialog(a.container,300,80,!0,!1);a.init()}))),mxUtils.br(n),mxUtils.br(n));for(var f=0;f<c.length;f++)mxUtils.bind(this,function(a,c){var f=t.cloneNode();f.style.backgroundColor=0==c%2?"#eeeeee":"";f.appendChild(l(a.full_name,mxUtils.bind(this,function(){b=a.owner.login;d=a.name;g=a.default_branch; +e="";z()})));n.appendChild(f)})(c[f],f)}100==c.length&&(n.appendChild(v),q=function(){n.scrollTop>=n.scrollHeight-n.offsetHeight&&k()},mxEvent.addListener(n,"scroll",q))}),u)});C()};GitHubClient.prototype.logout=function(){this.clearPersistentToken();this.setUser(null);this.token=null};TrelloFile=function(a,c,b){DrawioFile.call(this,a,c);this.meta=b;this.saveNeededCounter=0};mxUtils.extend(TrelloFile,DrawioFile);TrelloFile.prototype.getHash=function(){return"T"+encodeURIComponent(this.meta.compoundId)};TrelloFile.prototype.getMode=function(){return App.MODE_TRELLO};TrelloFile.prototype.isAutosave=function(){return!0};TrelloFile.prototype.getTitle=function(){return this.meta.name};TrelloFile.prototype.isRenamable=function(){return!1};TrelloFile.prototype.getSize=function(){return this.meta.bytes}; TrelloFile.prototype.save=function(a,c,b){this.doSave(this.getTitle(),c,b)};TrelloFile.prototype.saveAs=function(a,c,b){this.doSave(a,c,b)};TrelloFile.prototype.doSave=function(a,c,b){var d=this.meta.name;this.meta.name=a;DrawioFile.prototype.save.apply(this,arguments);this.meta.name=d;this.saveFile(a,!1,c,b)}; TrelloFile.prototype.saveFile=function(a,c,b,d){if(this.isEditable())if(this.savingFile)null!=d&&(this.saveNeededCounter++,d({code:App.ERROR_BUSY}));else if(this.savingFile=!0,this.savingFileTime=new Date,this.getTitle()==a){var g=this.isModified,e=this.isModified(),k=mxUtils.bind(this,function(){this.setModified(!1);this.isModified=function(){return e}});k();this.ui.trello.saveFile(this,mxUtils.bind(this,function(e){this.savingFile=!1;this.isModified=g;this.meta=e;this.contentChanged();null!=b&& b();0<this.saveNeededCounter&&(this.saveNeededCounter--,this.saveFile(a,c,b,d))}),mxUtils.bind(this,function(a){this.savingFile=!1;this.isModified=g;this.setModified(e||this.isModified());if(null!=d){if(null!=a&&null!=a.retry){var b=a.retry;a.retry=function(){k();b()}}d(a)}}))}else this.ui.pickFolder(App.MODE_TRELLO,mxUtils.bind(this,function(e){this.ui.trello.insertFile(a,this.getData(),mxUtils.bind(this,function(e){this.savingFile=!1;null!=b&&b();this.ui.fileLoaded(e);0<this.saveNeededCounter&& @@ -9007,51 +8995,51 @@ TrelloClient.prototype.insertFile=function(a,c,b,d,g,e){g=null!=g?g:!1;var k=mxU TrelloClient.prototype.saveFile=function(a,c,b){var d=a.meta.compoundId.split(this.SEPARATOR),g=mxUtils.bind(this,function(g){this.writeFile(a.meta.name,g,d[0],function(a){Trello.del("cards/"+d[0]+"/attachments/"+d[1],mxUtils.bind(this,function(){c(a)}),mxUtils.bind(this,function(a){null!=a&&401==a.status?this.authenticate(e,b,!0):b()}))},b)}),e=mxUtils.bind(this,function(){this.ui.useCanvasForExport&&/(\.png)$/i.test(a.meta.name)?this.ui.getEmbeddedPng(mxUtils.bind(this,function(a){g(this.ui.base64ToBlob(a, "image/png"))}),b,this.ui.getCurrentFile()!=a?a.getData():null):g(a.getData())});this.authenticate(e,b)}; TrelloClient.prototype.writeFile=function(a,c,b,d,g){if(null!=a&&null!=c)if(c.length>=this.maxFileSize)g({message:mxResources.get("drawingTooLarge")+" ("+this.ui.formatFileSize(c.length)+" / 10 MB)"});else{var e=mxUtils.bind(this,function(){var k=!0,m=window.setTimeout(mxUtils.bind(this,function(){k=!1;g({code:App.ERROR_TIMEOUT,retry:e})}),this.ui.timeout),n=new FormData;n.append("key",Trello.key());n.append("token",Trello.token());n.append("file","string"===typeof c?new Blob([c]):c,a);n.append("name", -a);var q=new XMLHttpRequest;q.responseType="json";q.onreadystatechange=mxUtils.bind(this,function(){if(4===q.readyState&&(window.clearTimeout(m),k))if(200==q.status){var a=q.response;a.compoundId=b+this.SEPARATOR+a.id;d(a)}else 401==q.status?this.authenticate(e,g,!0):g()});q.open("POST",this.baseUrl+"cards/"+b+"/attachments");q.send(n)});this.authenticate(e,g)}else g({message:mxResources.get("unknownError")})};TrelloClient.prototype.pickLibrary=function(a){this.pickFile(a)}; +a);var t=new XMLHttpRequest;t.responseType="json";t.onreadystatechange=mxUtils.bind(this,function(){if(4===t.readyState&&(window.clearTimeout(m),k))if(200==t.status){var a=t.response;a.compoundId=b+this.SEPARATOR+a.id;d(a)}else 401==t.status?this.authenticate(e,g,!0):g()});t.open("POST",this.baseUrl+"cards/"+b+"/attachments");t.send(n)});this.authenticate(e,g)}else g({message:mxResources.get("unknownError")})};TrelloClient.prototype.pickLibrary=function(a){this.pickFile(a)}; TrelloClient.prototype.pickFolder=function(a){this.authenticate(mxUtils.bind(this,function(){this.showTrelloDialog(!1,a)}),mxUtils.bind(this,function(a){this.ui.showError(mxResources.get("error"),a)}))};TrelloClient.prototype.pickFile=function(a,c){a=null!=a?a:mxUtils.bind(this,function(a){this.ui.loadFile("T"+encodeURIComponent(a))});this.authenticate(mxUtils.bind(this,function(){this.showTrelloDialog(!0,a)}),mxUtils.bind(this,function(a){this.ui.showError(mxResources.get("error"),a,mxResources.get("ok"))}))}; TrelloClient.prototype.showTrelloDialog=function(a,c){var b=null,d="@me",g=0,e=document.createElement("div");e.style.whiteSpace="nowrap";e.style.overflow="hidden";e.style.height="224px";var k=document.createElement("h3");mxUtils.write(k,a?mxResources.get("selectFile"):mxResources.get("selectCard"));k.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";e.appendChild(k);var m=document.createElement("div");m.style.whiteSpace="nowrap";m.style.overflow="auto";m.style.height= "194px";e.appendChild(m);e=new CustomDialog(this.ui,e);this.ui.showDialog(e.container,340,270,!0,!0);e.okButton.parentNode.removeChild(e.okButton);var n=mxUtils.bind(this,function(a,b,c){g++;var d=document.createElement("div");d.style="width:100%;text-overflow:ellipsis;overflow:hidden;vertical-align:middle;background:"+(0==g%2?"#eee":"#fff");var e=document.createElement("a");e.setAttribute("href","javascript:void(0);");if(null!=c){var f=document.createElement("img");f.src=c.url;f.width=c.width;f.height= -c.height;f.style="border: 1px solid black;margin:5px;vertical-align:middle";e.appendChild(f)}mxUtils.write(e,a);mxEvent.addListener(e,"click",b);d.appendChild(e);return d}),q=mxUtils.bind(this,function(a){this.ui.handleError(a,null,mxUtils.bind(this,function(){this.ui.spinner.stop();this.ui.hideDialog()}))}),f=mxUtils.bind(this,function(){g=0;m.innerHTML="";this.ui.spinner.spin(m,mxResources.get("loading"));var a=mxUtils.bind(this,function(){Trello.cards.get(b+"/attachments",{fields:"id,name,previews"}, -mxUtils.bind(this,function(a){this.ui.spinner.stop();m.appendChild(n("../ [Up]",mxUtils.bind(this,function(){u()})));mxUtils.br(m);null==a||0==a.length?mxUtils.write(m,mxResources.get("noFiles")):mxUtils.bind(this,function(){for(var d=0;d<a.length;d++)mxUtils.bind(this,function(a){m.appendChild(n(a.name,mxUtils.bind(this,function(){this.ui.hideDialog();c(b+this.SEPARATOR+a.id)}),null!=a.previews?a.previews[0]:null))})(a[d])})()}),mxUtils.bind(this,function(b){401==b.status?this.authenticate(a,q,!0): -null!=q&&q(b)}))});a()}),l=null,p=null,u=mxUtils.bind(this,function(e){null==e&&(g=0,m.innerHTML="",e=1);this.ui.spinner.spin(m,mxResources.get("loading"));null!=l&&null!=l.parentNode&&l.parentNode.removeChild(l);l=document.createElement("a");l.style.display="block";l.setAttribute("href","javascript:void(0);");mxUtils.write(l,mxResources.get("more")+"...");var k=mxUtils.bind(this,function(){mxEvent.removeListener(m,"scroll",p);u(e+1)});mxEvent.addListener(l,"click",k);var v=mxUtils.bind(this,function(){Trello.get("search", +c.height;f.style="border: 1px solid black;margin:5px;vertical-align:middle";e.appendChild(f)}mxUtils.write(e,a);mxEvent.addListener(e,"click",b);d.appendChild(e);return d}),t=mxUtils.bind(this,function(a){this.ui.handleError(a,null,mxUtils.bind(this,function(){this.ui.spinner.stop();this.ui.hideDialog()}))}),f=mxUtils.bind(this,function(){g=0;m.innerHTML="";this.ui.spinner.spin(m,mxResources.get("loading"));var a=mxUtils.bind(this,function(){Trello.cards.get(b+"/attachments",{fields:"id,name,previews"}, +mxUtils.bind(this,function(a){this.ui.spinner.stop();m.appendChild(n("../ [Up]",mxUtils.bind(this,function(){u()})));mxUtils.br(m);null==a||0==a.length?mxUtils.write(m,mxResources.get("noFiles")):mxUtils.bind(this,function(){for(var d=0;d<a.length;d++)mxUtils.bind(this,function(a){m.appendChild(n(a.name,mxUtils.bind(this,function(){this.ui.hideDialog();c(b+this.SEPARATOR+a.id)}),null!=a.previews?a.previews[0]:null))})(a[d])})()}),mxUtils.bind(this,function(b){401==b.status?this.authenticate(a,t,!0): +null!=t&&t(b)}))});a()}),l=null,p=null,u=mxUtils.bind(this,function(e){null==e&&(g=0,m.innerHTML="",e=1);this.ui.spinner.spin(m,mxResources.get("loading"));null!=l&&null!=l.parentNode&&l.parentNode.removeChild(l);l=document.createElement("a");l.style.display="block";l.setAttribute("href","javascript:void(0);");mxUtils.write(l,mxResources.get("more")+"...");var k=mxUtils.bind(this,function(){mxEvent.removeListener(m,"scroll",p);u(e+1)});mxEvent.addListener(l,"click",k);var v=mxUtils.bind(this,function(){Trello.get("search", {query:""==mxUtils.trim(d)?"is:open":d,cards_limit:100,cards_page:e-1},mxUtils.bind(this,function(g){this.ui.spinner.stop();g=null!=g?g.cards:null;if(null==g||0==g.length)mxUtils.write(m,mxResources.get("noFiles"));else{1==e&&(m.appendChild(n(mxResources.get("filterCards")+"...",mxUtils.bind(this,function(){var a=new FilenameDialog(this.ui,d,mxResources.get("ok"),mxUtils.bind(this,function(a){null!=a&&(d=a,u())}),mxResources.get("filterCards"),null,null,"http://help.trello.com/article/808-searching-for-cards-all-boards"); -this.ui.showDialog(a.container,300,80,!0,!1);a.init()}))),mxUtils.br(m));for(var t=0;t<g.length;t++)mxUtils.bind(this,function(d){m.appendChild(n(d.name,mxUtils.bind(this,function(){a?(b=d.id,f()):(this.ui.hideDialog(),c(d.id))})))})(g[t]);100==g.length&&(m.appendChild(l),p=function(){m.scrollTop>=m.scrollHeight-m.offsetHeight&&k()},mxEvent.addListener(m,"scroll",p))}}),mxUtils.bind(this,function(a){401==a.status?this.authenticate(v,q,!0):null!=q&&q({message:a.responseText})}))});v()});u()}; +this.ui.showDialog(a.container,300,80,!0,!1);a.init()}))),mxUtils.br(m));for(var q=0;q<g.length;q++)mxUtils.bind(this,function(d){m.appendChild(n(d.name,mxUtils.bind(this,function(){a?(b=d.id,f()):(this.ui.hideDialog(),c(d.id))})))})(g[q]);100==g.length&&(m.appendChild(l),p=function(){m.scrollTop>=m.scrollHeight-m.offsetHeight&&k()},mxEvent.addListener(m,"scroll",p))}}),mxUtils.bind(this,function(a){401==a.status?this.authenticate(v,t,!0):null!=t&&t({message:a.responseText})}))});v()});u()}; TrelloClient.prototype.isAuthorized=function(){try{return null!=localStorage.trello_token}catch(a){}return!1};TrelloClient.prototype.logout=function(){localStorage.removeItem("trello_token");Trello.deauthorize()};GitLabFile=function(a,c,b){GitHubFile.call(this,a,c,b);this.peer=this.ui.gitLab};mxUtils.extend(GitLabFile,GitHubFile);GitLabFile.prototype.getId=function(){return this.meta.org+"/"+(null!=this.meta.repo?encodeURIComponent(this.meta.repo)+"/"+(null!=this.meta.ref?this.meta.ref+(null!=this.meta.path?"/"+this.meta.path:""):""):"")};GitLabFile.prototype.getHash=function(){return encodeURIComponent("A"+this.getId())};GitLabFile.prototype.isConflict=function(a){return null!=a&&400==a.status}; GitLabFile.prototype.getMode=function(){return App.MODE_GITLAB};GitLabFile.prototype.getDescriptorEtag=function(a){return a.last_commit_id};GitLabFile.prototype.setDescriptorEtag=function(a,c){a.last_commit_id=c};GitLabLibrary=function(a,c,b){GitLabFile.call(this,a,c,b)};mxUtils.extend(GitLabLibrary,GitLabFile);GitLabLibrary.prototype.doSave=function(a,c,b){this.saveFile(a,!1,c,b)};GitLabLibrary.prototype.open=function(){};GitLabClient=function(a){GitHubClient.call(this,a,"gitlabauth")};mxUtils.extend(GitLabClient,GitHubClient);GitLabClient.prototype.clientId=DRAWIO_GITLAB_ID;GitLabClient.prototype.scope="api%20read_repository%20write_repository";GitLabClient.prototype.baseUrl=DRAWIO_GITLAB_URL+"/api/v4"; GitLabClient.prototype.authenticate=function(a,c){if(null==window.onGitLabCallback){var b=mxUtils.bind(this,function(){var d=!0;this.ui.showAuthDialog(this,!0,mxUtils.bind(this,function(g,e){var k=window.location.href,k=k.substring(0,k.lastIndexOf("/")),k=encodeURIComponent(k+"/gitlab.html");null!=window.open(DRAWIO_GITLAB_URL+"/oauth/authorize?client_id="+this.clientId+"&scope="+this.scope+"&redirect_uri="+k+"&response_type=token&state=123","gitlabauth")?window.onGitLabCallback=mxUtils.bind(this, function(k,n){d?(window.onGitLabCallback=null,d=!1,null==k?c({message:mxResources.get("accessDenied"),retry:b}):(null!=e&&e(),this.token=k,this.setUser(null),g&&this.setPersistentToken(this.token),a())):null!=n&&n.close()}):c({message:mxResources.get("serviceUnavailableOrBlocked"),retry:b})}),mxUtils.bind(this,function(){d&&(window.onGitLabCallback=null,d=!1,c({message:mxResources.get("accessDenied"),retry:b}))}))});b()}else c({code:App.ERROR_BUSY})}; -GitLabClient.prototype.executeRequest=function(a,c,b,d){var g=mxUtils.bind(this,function(k){var m=!0,n=window.setTimeout(mxUtils.bind(this,function(){m=!1;b({code:App.ERROR_TIMEOUT,message:mxResources.get("timeout")})}),this.ui.timeout),q=this.token;a.setRequestHeaders=function(a,b){a.setRequestHeader("Authorization","Bearer "+q);a.setRequestHeader("PRIVATE_TOKEN",q);a.setRequestHeader("Content-Type","application/json")};a.send(mxUtils.bind(this,function(){window.clearTimeout(n);if(m)if(200<=a.getStatus()&& +GitLabClient.prototype.executeRequest=function(a,c,b,d){var g=mxUtils.bind(this,function(k){var m=!0,n=window.setTimeout(mxUtils.bind(this,function(){m=!1;b({code:App.ERROR_TIMEOUT,message:mxResources.get("timeout")})}),this.ui.timeout),t=this.token;a.setRequestHeaders=function(a,b){a.setRequestHeader("Authorization","Bearer "+t);a.setRequestHeader("PRIVATE_TOKEN",t);a.setRequestHeader("Content-Type","application/json")};a.send(mxUtils.bind(this,function(){window.clearTimeout(n);if(m)if(200<=a.getStatus()&& 299>=a.getStatus()||d&&404==a.getStatus())c(a);else if(401===a.getStatus())k?b({message:mxResources.get("accessDenied"),retry:mxUtils.bind(this,function(){this.authenticate(function(){e(!0)},b)})}):this.authenticate(function(){g(!0)},b);else if(403===a.getStatus()){var f=!1;try{var l=JSON.parse(a.getText());null!=l&&null!=l.errors&&0<l.errors.length&&(f="too_large"==l.errors[0].code)}catch(p){}b({message:mxResources.get(f?"drawingTooLarge":"forbidden")})}else 404===a.getStatus()?b({message:this.getErrorMessage(a, mxResources.get("fileNotFound"))}):400===a.getStatus()?b({status:400}):b({status:a.getStatus(),message:this.getErrorMessage(a,mxResources.get("error")+" "+a.getStatus())})}),b)}),e=mxUtils.bind(this,function(a){null==this.user?this.updateUser(function(){e(!0)},b,a):g(a)});null==this.token?this.authenticate(function(){e(!0)},b):e(!1)}; -GitLabClient.prototype.getRefIndex=function(a,c,b,d,g){if(null!=g)b(a,g);else{var e=a.length-2,k=mxUtils.bind(this,function(){if(2>e)d({message:mxResources.get("fileNotFound")});else{var g=Math.max(e-1,0),n=a.slice(0,g).join("/"),g=a[g],q=a[e],f=a.slice(e+1,a.length).join("/"),n=this.baseUrl+"/projects/"+encodeURIComponent(n+"/"+g)+"/repository/"+(c?"tree?path="+f+"&ref="+q:"files/"+encodeURIComponent(f)+"?ref="+q),l=new mxXmlRequest(n,null,"HEAD");this.executeRequest(l,mxUtils.bind(this,function(){200== +GitLabClient.prototype.getRefIndex=function(a,c,b,d,g){if(null!=g)b(a,g);else{var e=a.length-2,k=mxUtils.bind(this,function(){if(2>e)d({message:mxResources.get("fileNotFound")});else{var g=Math.max(e-1,0),n=a.slice(0,g).join("/"),g=a[g],t=a[e],f=a.slice(e+1,a.length).join("/"),n=this.baseUrl+"/projects/"+encodeURIComponent(n+"/"+g)+"/repository/"+(c?"tree?path="+f+"&ref="+t:"files/"+encodeURIComponent(f)+"?ref="+t),l=new mxXmlRequest(n,null,"HEAD");this.executeRequest(l,mxUtils.bind(this,function(){200== l.getStatus()?b(a,e):d({message:mxResources.get("fileNotFound")})}),mxUtils.bind(this,function(){404==l.getStatus()?(e--,k()):d({message:mxResources.get("fileNotFound")})}))}});k()}}; -GitLabClient.prototype.getFile=function(a,c,b,d,g,e){d=null!=d?d:!1;this.getRefIndex(a.split("/"),!1,mxUtils.bind(this,function(e,m){var k=Math.max(m-1,0),q=e.slice(0,k).join("/"),f=e[k],l=e[m];a=e.slice(m+1,e.length).join("/");k=/\.png$/i.test(a);if(!g&&(/\.v(dx|sdx?)$/i.test(a)||/\.gliffy$/i.test(a)||!this.ui.useCanvasForExport&&k))null!=this.token?(k=this.baseUrl+"/projects/"+encodeURIComponent(q+"/"+f)+"/repository/files/"+encodeURIComponent(l),e=a.split("/"),this.ui.convertFile(k,0<e.length? -e[e.length-1]:a,null,this.extension,c,b)):b({message:mxResources.get("accessDenied")});else{var p="&t="+(new Date).getTime(),k=this.baseUrl+"/projects/"+encodeURIComponent(q+"/"+f)+"/repository/files/"+encodeURIComponent(a)+"?ref="+l,k=new mxXmlRequest(k+p,null,"GET");this.executeRequest(k,mxUtils.bind(this,function(a){try{c(this.createGitLabFile(q,f,l,JSON.parse(a.getText()),d,m))}catch(v){b(v)}}),b)}}),b,e)}; +GitLabClient.prototype.getFile=function(a,c,b,d,g,e){d=null!=d?d:!1;this.getRefIndex(a.split("/"),!1,mxUtils.bind(this,function(e,m){var k=Math.max(m-1,0),t=e.slice(0,k).join("/"),f=e[k],l=e[m];a=e.slice(m+1,e.length).join("/");k=/\.png$/i.test(a);if(!g&&(/\.v(dx|sdx?)$/i.test(a)||/\.gliffy$/i.test(a)||!this.ui.useCanvasForExport&&k))null!=this.token?(k=this.baseUrl+"/projects/"+encodeURIComponent(t+"/"+f)+"/repository/files/"+encodeURIComponent(l),e=a.split("/"),this.ui.convertFile(k,0<e.length? +e[e.length-1]:a,null,this.extension,c,b)):b({message:mxResources.get("accessDenied")});else{var p="&t="+(new Date).getTime(),k=this.baseUrl+"/projects/"+encodeURIComponent(t+"/"+f)+"/repository/files/"+encodeURIComponent(a)+"?ref="+l,k=new mxXmlRequest(k+p,null,"GET");this.executeRequest(k,mxUtils.bind(this,function(a){try{c(this.createGitLabFile(t,f,l,JSON.parse(a.getText()),d,m))}catch(v){b(v)}}),b)}}),b,e)}; GitLabClient.prototype.createGitLabFile=function(a,c,b,d,g,e){var k=DRAWIO_GITLAB_URL+"/",m=d.file_name;a={org:a,repo:c,ref:b,name:m,path:d.file_path,html_url:k+a+"/"+c+"/blob/"+b+"/"+d.file_path,download_url:k+a+"/"+c+"/raw/"+b+"/"+d.file_path+"?inline=false",last_commit_id:d.last_commit_id,refPos:e};c=d.content;"base64"===d.encoding&&(/\.jpe?g$/i.test(m)?c="data:image/jpeg;base64,"+c:/\.gif$/i.test(m)?c="data:image/gif;base64,"+c:/\.png$/i.test(m)?(d=this.ui.extractGraphModelFromPng(c),c=null!= d&&0<d.length?d:"data:image/png;base64,"+c):c=Base64.decode(c));return g?new GitLabLibrary(this.ui,c,a):new GitLabFile(this.ui,c,a)}; GitLabClient.prototype.insertFile=function(a,c,b,d,g,e,k){g=null!=g?g:!1;this.getRefIndex(e.split("/"),!0,mxUtils.bind(this,function(e,n){var m=Math.max(n-1,0),f=e.slice(0,m).join("/"),l=e[m],p=e[n];path=e.slice(n+1,e.length).join("/");0<path.length&&(path+="/");path+=a;this.checkExists(f+"/"+l+"/"+p+"/"+path,!0,mxUtils.bind(this,function(e,m){if(e)if(g)k||(c=Base64.encode(c)),this.showCommitDialog(a,!0,mxUtils.bind(this,function(a){this.writeFile(f,l,p,path,a,c,m,mxUtils.bind(this,function(a){try{var c= -JSON.parse(a.getText());b(this.createGitLabFile(f,l,p,c.content,g,n))}catch(x){d(x)}}),d)}),d);else{var t=DRAWIO_GITLAB_URL+"/";b(new GitLabFile(this.ui,c,{org:f,repo:l,ref:p,name:a,path:path,html_url:t+f+"/"+l+"/blob/"+p+"/"+path,download_url:t+f+"/"+l+"/raw/"+p+"/"+path+"?inline=false",refPos:n,last_commit_id:m,isNew:!0}))}else d()}))}),d)}; +JSON.parse(a.getText());b(this.createGitLabFile(f,l,p,c.content,g,n))}catch(x){d(x)}}),d)}),d);else{var q=DRAWIO_GITLAB_URL+"/";b(new GitLabFile(this.ui,c,{org:f,repo:l,ref:p,name:a,path:path,html_url:q+f+"/"+l+"/blob/"+p+"/"+path,download_url:q+f+"/"+l+"/raw/"+p+"/"+path+"?inline=false",refPos:n,last_commit_id:m,isNew:!0}))}else d()}))}),d)}; GitLabClient.prototype.checkExists=function(a,c,b){this.getFile(a,mxUtils.bind(this,function(d){if(c){var g=this.ui.spinner.pause();this.ui.confirm(mxResources.get("replaceIt",[a]),function(){g();b(!0,d.getCurrentEtag())},function(){g();b(!1)})}else this.ui.spinner.stop(),this.ui.showError(mxResources.get("error"),mxResources.get("fileExists"),mxResources.get("ok"),function(){b(!1)})}),mxUtils.bind(this,function(a){b(!0)}),null,!0)}; -GitLabClient.prototype.writeFile=function(a,c,b,d,g,e,k,m,n){if(e.length>=this.maxFileSize)n({message:mxResources.get("drawingTooLarge")+" ("+this.ui.formatFileSize(e.length)+" / 1 MB)"});else{var q="POST";b={path:encodeURIComponent(d),branch:decodeURIComponent(b),commit_message:g,content:e,encoding:"base64"};null!=k&&(b.last_commit_id=k,q="PUT");a=this.baseUrl+"/projects/"+encodeURIComponent(a+"/"+c)+"/repository/files/"+encodeURIComponent(d);q=new mxXmlRequest(a,JSON.stringify(b),q);this.executeRequest(q, +GitLabClient.prototype.writeFile=function(a,c,b,d,g,e,k,m,n){if(e.length>=this.maxFileSize)n({message:mxResources.get("drawingTooLarge")+" ("+this.ui.formatFileSize(e.length)+" / 1 MB)"});else{var t="POST";b={path:encodeURIComponent(d),branch:decodeURIComponent(b),commit_message:g,content:e,encoding:"base64"};null!=k&&(b.last_commit_id=k,t="PUT");a=this.baseUrl+"/projects/"+encodeURIComponent(a+"/"+c)+"/repository/files/"+encodeURIComponent(d);t=new mxXmlRequest(a,JSON.stringify(b),t);this.executeRequest(t, mxUtils.bind(this,function(a){m(a)}),n)}}; -GitLabClient.prototype.saveFile=function(a,c,b,d,g){var e=a.meta.org,k=a.meta.repo,m=a.meta.ref,n=a.meta.path,q=mxUtils.bind(this,function(d,f){this.writeFile(e,k,m,n,g,f,d,mxUtils.bind(this,function(d){delete a.meta.isNew;this.getFile(e+"/"+k+"/"+m+"/"+n,mxUtils.bind(this,function(b){b.getData()==a.getData()?c(b.getCurrentEtag()):c({content:a.getCurrentEtag()})}),b,null,null,a.meta.refPos)}),b)}),f=mxUtils.bind(this,function(){this.ui.useCanvasForExport&&/(\.png)$/i.test(n)?this.ui.getEmbeddedPng(mxUtils.bind(this, -function(b){q(a.meta.last_commit_id,b)}),b,this.ui.getCurrentFile()!=a?a.getData():null):q(a.meta.last_commit_id,Base64.encode(a.getData()))});d?this.getFile(e+"/"+k+"/"+m+"/"+n,mxUtils.bind(this,function(b){a.meta.last_commit_id=b.meta.last_commit_id;f()}),b):f()};GitLabClient.prototype.pickFolder=function(a){this.showGitLabDialog(!1,a)};GitLabClient.prototype.pickFile=function(a){a=null!=a?a:mxUtils.bind(this,function(a){this.ui.loadFile("A"+encodeURIComponent(a))});this.showGitLabDialog(!0,a)}; +GitLabClient.prototype.saveFile=function(a,c,b,d,g){var e=a.meta.org,k=a.meta.repo,m=a.meta.ref,n=a.meta.path,t=mxUtils.bind(this,function(d,f){this.writeFile(e,k,m,n,g,f,d,mxUtils.bind(this,function(d){delete a.meta.isNew;this.getFile(e+"/"+k+"/"+m+"/"+n,mxUtils.bind(this,function(b){b.getData()==a.getData()?c(b.getCurrentEtag()):c({content:a.getCurrentEtag()})}),b,null,null,a.meta.refPos)}),b)}),f=mxUtils.bind(this,function(){this.ui.useCanvasForExport&&/(\.png)$/i.test(n)?this.ui.getEmbeddedPng(mxUtils.bind(this, +function(b){t(a.meta.last_commit_id,b)}),b,this.ui.getCurrentFile()!=a?a.getData():null):t(a.meta.last_commit_id,Base64.encode(a.getData()))});d?this.getFile(e+"/"+k+"/"+m+"/"+n,mxUtils.bind(this,function(b){a.meta.last_commit_id=b.meta.last_commit_id;f()}),b):f()};GitLabClient.prototype.pickFolder=function(a){this.showGitLabDialog(!1,a)};GitLabClient.prototype.pickFile=function(a){a=null!=a?a:mxUtils.bind(this,function(a){this.ui.loadFile("A"+encodeURIComponent(a))});this.showGitLabDialog(!0,a)}; GitLabClient.prototype.showGitLabDialog=function(a,c){var b=null,d=null,g=null,e=null,k=document.createElement("div");k.style.whiteSpace="nowrap";k.style.overflow="hidden";k.style.height="304px";var m=document.createElement("h3");mxUtils.write(m,mxResources.get(a?"selectFile":"selectFolder"));m.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";k.appendChild(m);var n=document.createElement("div");n.style.whiteSpace="nowrap";n.style.border="1px solid lightgray";n.style.boxSizing= -"border-box";n.style.padding="4px";n.style.overflow="auto";n.style.lineHeight="1.2em";n.style.height="274px";k.appendChild(n);var q=document.createElement("div");q.style.textOverflow="ellipsis";q.style.boxSizing="border-box";q.style.overflow="hidden";q.style.padding="4px";q.style.width="100%";var f=new CustomDialog(this.ui,k,mxUtils.bind(this,function(){c(b+"/"+d+"/"+encodeURIComponent(g)+"/"+e)}));this.ui.showDialog(f.container,420,360,!0,!0);a&&f.okButton.parentNode.removeChild(f.okButton);var l= -mxUtils.bind(this,function(a,b,c){var d=document.createElement("a");d.setAttribute("href","javascript:void(0);");d.setAttribute("title",a);mxUtils.write(d,a);mxEvent.addListener(d,"click",b);null!=c&&(a=q.cloneNode(),a.style.padding=c,a.appendChild(d),d=a);return d}),p=mxUtils.bind(this,function(a){var c=document.createElement("div");c.style.marginBottom="8px";c.appendChild(l(b+"/"+d,mxUtils.bind(this,function(){e=null;C()})));a||(mxUtils.write(c," / "),c.appendChild(l(decodeURIComponent(g),mxUtils.bind(this, -function(){e=null;y()}))));if(null!=e&&0<e.length){var f=e.split("/");for(a=0;a<f.length;a++)(function(a){mxUtils.write(c," / ");c.appendChild(l(f[a],mxUtils.bind(this,function(){e=f.slice(0,a+1).join("/");z()})))})(a)}n.appendChild(c)}),u=mxUtils.bind(this,function(a){this.ui.handleError(a,null,mxUtils.bind(this,function(){this.ui.spinner.stop();null!=this.getUser()?(e=g=d=b=null,C()):this.ui.hideDialog()}))}),v=null,t=null,z=mxUtils.bind(this,function(k){null==k&&(n.innerHTML="",k=1);var m=new mxXmlRequest(this.baseUrl+ -"/projects/"+encodeURIComponent(b+"/"+d)+"/repository/tree?path="+e+"&ref="+g+"&per_page=100&page="+k,null,"GET");this.ui.spinner.spin(n,mxResources.get("loading"));f.okButton.removeAttribute("disabled");null!=t&&(mxEvent.removeListener(n,"scroll",t),t=null);null!=v&&null!=v.parentNode&&v.parentNode.removeChild(v);v=document.createElement("a");v.style.display="block";v.setAttribute("href","javascript:void(0);");mxUtils.write(v,mxResources.get("more")+"...");var x=mxUtils.bind(this,function(){z(k+ -1)});mxEvent.addListener(v,"click",x);this.executeRequest(m,mxUtils.bind(this,function(f){this.ui.spinner.stop();1==k&&(p(!g),n.appendChild(l("../ [Up]",mxUtils.bind(this,function(){if(""==e)e=null,C();else{var a=e.split("/");e=a.slice(0,a.length-1).join("/");z()}}),"4px")));var m=JSON.parse(f.getText());if(null==m||0==m.length)mxUtils.write(n,mxResources.get("noFiles"));else{var B=!0,u=0;f=mxUtils.bind(this,function(f){for(var k=0;k<m.length;k++)mxUtils.bind(this,function(k){if(f==("tree"==k.type)){var m= -q.cloneNode();m.style.backgroundColor=B?"#eeeeee":"";B=!B;var p=document.createElement("img");p.src=IMAGE_PATH+"/"+("tree"==k.type?"folder.png":"file.png");p.setAttribute("align","absmiddle");p.style.marginRight="4px";p.style.marginTop="-4px";p.width=20;m.appendChild(p);m.appendChild(l(k.name+("tree"==k.type?"/":""),mxUtils.bind(this,function(){"tree"==k.type?(e=k.path,z()):a&&"blob"==k.type&&(this.ui.hideDialog(),c(b+"/"+d+"/"+g+"/"+k.path))})));n.appendChild(m);u++}})(m[k])});f(!0);a&&f(!1);100== -u&&(n.appendChild(v),t=function(){n.scrollTop>=n.scrollHeight-n.offsetHeight&&x()},mxEvent.addListener(n,"scroll",t))}}),u,!0)}),y=mxUtils.bind(this,function(a){null==a&&(n.innerHTML="",a=1);var c=new mxXmlRequest(this.baseUrl+"/projects/"+encodeURIComponent(b+"/"+d)+"/repository/branches?per_page=100&page="+a,null,"GET");f.okButton.setAttribute("disabled","disabled");this.ui.spinner.spin(n,mxResources.get("loading"));null!=t&&(mxEvent.removeListener(n,"scroll",t),t=null);null!=v&&null!=v.parentNode&& +"border-box";n.style.padding="4px";n.style.overflow="auto";n.style.lineHeight="1.2em";n.style.height="274px";k.appendChild(n);var t=document.createElement("div");t.style.textOverflow="ellipsis";t.style.boxSizing="border-box";t.style.overflow="hidden";t.style.padding="4px";t.style.width="100%";var f=new CustomDialog(this.ui,k,mxUtils.bind(this,function(){c(b+"/"+d+"/"+encodeURIComponent(g)+"/"+e)}));this.ui.showDialog(f.container,420,360,!0,!0);a&&f.okButton.parentNode.removeChild(f.okButton);var l= +mxUtils.bind(this,function(a,b,c){var d=document.createElement("a");d.setAttribute("href","javascript:void(0);");d.setAttribute("title",a);mxUtils.write(d,a);mxEvent.addListener(d,"click",b);null!=c&&(a=t.cloneNode(),a.style.padding=c,a.appendChild(d),d=a);return d}),p=mxUtils.bind(this,function(a){var c=document.createElement("div");c.style.marginBottom="8px";c.appendChild(l(b+"/"+d,mxUtils.bind(this,function(){e=null;C()})));a||(mxUtils.write(c," / "),c.appendChild(l(decodeURIComponent(g),mxUtils.bind(this, +function(){e=null;y()}))));if(null!=e&&0<e.length){var f=e.split("/");for(a=0;a<f.length;a++)(function(a){mxUtils.write(c," / ");c.appendChild(l(f[a],mxUtils.bind(this,function(){e=f.slice(0,a+1).join("/");z()})))})(a)}n.appendChild(c)}),u=mxUtils.bind(this,function(a){this.ui.handleError(a,null,mxUtils.bind(this,function(){this.ui.spinner.stop();null!=this.getUser()?(e=g=d=b=null,C()):this.ui.hideDialog()}))}),v=null,q=null,z=mxUtils.bind(this,function(k){null==k&&(n.innerHTML="",k=1);var m=new mxXmlRequest(this.baseUrl+ +"/projects/"+encodeURIComponent(b+"/"+d)+"/repository/tree?path="+e+"&ref="+g+"&per_page=100&page="+k,null,"GET");this.ui.spinner.spin(n,mxResources.get("loading"));f.okButton.removeAttribute("disabled");null!=q&&(mxEvent.removeListener(n,"scroll",q),q=null);null!=v&&null!=v.parentNode&&v.parentNode.removeChild(v);v=document.createElement("a");v.style.display="block";v.setAttribute("href","javascript:void(0);");mxUtils.write(v,mxResources.get("more")+"...");var x=mxUtils.bind(this,function(){z(k+ +1)});mxEvent.addListener(v,"click",x);this.executeRequest(m,mxUtils.bind(this,function(f){this.ui.spinner.stop();1==k&&(p(!g),n.appendChild(l("../ [Up]",mxUtils.bind(this,function(){if(""==e)e=null,C();else{var a=e.split("/");e=a.slice(0,a.length-1).join("/");z()}}),"4px")));var m=JSON.parse(f.getText());if(null==m||0==m.length)mxUtils.write(n,mxResources.get("noFiles"));else{var A=!0,u=0;f=mxUtils.bind(this,function(f){for(var k=0;k<m.length;k++)mxUtils.bind(this,function(k){if(f==("tree"==k.type)){var m= +t.cloneNode();m.style.backgroundColor=A?"#eeeeee":"";A=!A;var p=document.createElement("img");p.src=IMAGE_PATH+"/"+("tree"==k.type?"folder.png":"file.png");p.setAttribute("align","absmiddle");p.style.marginRight="4px";p.style.marginTop="-4px";p.width=20;m.appendChild(p);m.appendChild(l(k.name+("tree"==k.type?"/":""),mxUtils.bind(this,function(){"tree"==k.type?(e=k.path,z()):a&&"blob"==k.type&&(this.ui.hideDialog(),c(b+"/"+d+"/"+g+"/"+k.path))})));n.appendChild(m);u++}})(m[k])});f(!0);a&&f(!1);100== +u&&(n.appendChild(v),q=function(){n.scrollTop>=n.scrollHeight-n.offsetHeight&&x()},mxEvent.addListener(n,"scroll",q))}}),u,!0)}),y=mxUtils.bind(this,function(a){null==a&&(n.innerHTML="",a=1);var c=new mxXmlRequest(this.baseUrl+"/projects/"+encodeURIComponent(b+"/"+d)+"/repository/branches?per_page=100&page="+a,null,"GET");f.okButton.setAttribute("disabled","disabled");this.ui.spinner.spin(n,mxResources.get("loading"));null!=q&&(mxEvent.removeListener(n,"scroll",q),q=null);null!=v&&null!=v.parentNode&& v.parentNode.removeChild(v);v=document.createElement("a");v.style.display="block";v.setAttribute("href","javascript:void(0);");mxUtils.write(v,mxResources.get("more")+"...");var k=mxUtils.bind(this,function(){y(a+1)});mxEvent.addListener(v,"click",k);this.executeRequest(c,mxUtils.bind(this,function(b){this.ui.spinner.stop();1==a&&(p(!0),n.appendChild(l("../ [Up]",mxUtils.bind(this,function(){e=null;C()}),"4px")));b=JSON.parse(b.getText());if(null==b||0==b.length)mxUtils.write(n,mxResources.get("noFiles")); -else{for(var c=0;c<b.length;c++)mxUtils.bind(this,function(a,b){var c=q.cloneNode();c.style.backgroundColor=0==b%2?"#eeeeee":"";c.appendChild(l(a.name,mxUtils.bind(this,function(){g=encodeURIComponent(a.name);e="";z()})));n.appendChild(c)})(b[c],c);100==b.length&&(n.appendChild(v),t=function(){n.scrollTop>=n.scrollHeight-n.offsetHeight&&k()},mxEvent.addListener(n,"scroll",t))}}),u)});f.okButton.setAttribute("disabled","disabled");this.ui.spinner.spin(n,mxResources.get("loading"));var C=mxUtils.bind(this, -function(a){this.ui.spinner.stop();null==a&&(n.innerHTML="",a=1);null!=t&&(mxEvent.removeListener(n,"scroll",t),t=null);null!=v&&null!=v.parentNode&&v.parentNode.removeChild(v);v=document.createElement("a");v.style.display="block";v.setAttribute("href","javascript:void(0);");mxUtils.write(v,mxResources.get("more")+"...");var c=mxUtils.bind(this,function(){C(a+1)});mxEvent.addListener(v,"click",c);var f=mxUtils.bind(this,function(a){this.ui.spinner.spin(n,mxResources.get("loading"));var b=new mxXmlRequest(this.baseUrl+ +else{for(var c=0;c<b.length;c++)mxUtils.bind(this,function(a,b){var c=t.cloneNode();c.style.backgroundColor=0==b%2?"#eeeeee":"";c.appendChild(l(a.name,mxUtils.bind(this,function(){g=encodeURIComponent(a.name);e="";z()})));n.appendChild(c)})(b[c],c);100==b.length&&(n.appendChild(v),q=function(){n.scrollTop>=n.scrollHeight-n.offsetHeight&&k()},mxEvent.addListener(n,"scroll",q))}}),u)});f.okButton.setAttribute("disabled","disabled");this.ui.spinner.spin(n,mxResources.get("loading"));var C=mxUtils.bind(this, +function(a){this.ui.spinner.stop();null==a&&(n.innerHTML="",a=1);null!=q&&(mxEvent.removeListener(n,"scroll",q),q=null);null!=v&&null!=v.parentNode&&v.parentNode.removeChild(v);v=document.createElement("a");v.style.display="block";v.setAttribute("href","javascript:void(0);");mxUtils.write(v,mxResources.get("more")+"...");var c=mxUtils.bind(this,function(){C(a+1)});mxEvent.addListener(v,"click",c);var f=mxUtils.bind(this,function(a){this.ui.spinner.spin(n,mxResources.get("loading"));var b=new mxXmlRequest(this.baseUrl+ "/groups?per_page=100",null,"GET");this.executeRequest(b,mxUtils.bind(this,function(b){this.ui.spinner.stop();a(JSON.parse(b.getText()))}),u)}),k=mxUtils.bind(this,function(a,b){this.ui.spinner.spin(n,mxResources.get("loading"));var c=new mxXmlRequest(this.baseUrl+"/groups/"+a.id+"/projects?per_page=100",null,"GET");this.executeRequest(c,mxUtils.bind(this,function(c){this.ui.spinner.stop();b(a,JSON.parse(c.getText()))}),u)});f(mxUtils.bind(this,function(f){var m=new mxXmlRequest(this.baseUrl+"/users/"+ this.user.id+"/projects?per_page=100&page="+a,null,"GET");this.ui.spinner.spin(n,mxResources.get("loading"));this.executeRequest(m,mxUtils.bind(this,function(m){this.ui.spinner.stop();m=JSON.parse(m.getText());if(null!=m&&0!=m.length||null!=f&&0!=f.length){1==a&&(n.appendChild(l(mxResources.get("enterValue")+"...",mxUtils.bind(this,function(){var a=new FilenameDialog(this.ui,"org/repo/ref",mxResources.get("ok"),mxUtils.bind(this,function(a){null!=a&&(a=a.split("/"),1<a.length?(b=a[0],d=a[1],g="master", -e=null,2<a.length&&(e=encodeURIComponent(a.slice(2,a.length).join("/"))),z()):(this.ui.spinner.stop(),this.ui.handleError({message:mxResources.get("invalidName")})))}),mxResources.get("enterValue"));this.ui.showDialog(a.container,300,80,!0,!1);a.init()}))),mxUtils.br(n),mxUtils.br(n));for(var p=!0,x=0;x<m.length;x++)mxUtils.bind(this,function(a,c){var f=q.cloneNode();f.style.backgroundColor=p?"#eeeeee":"";p=!p;f.appendChild(l(a.name_with_namespace,mxUtils.bind(this,function(){b=a.owner.username;d= -a.path;g=a.default_branch||"master";e="";z()})));n.appendChild(f)})(m[x],x);for(x=0;x<f.length;x++)k(f[x],mxUtils.bind(this,function(a,c){for(var f=0;f<c.length;f++){var k=q.cloneNode();k.style.backgroundColor=p?"#eeeeee":"";p=!p;mxUtils.bind(this,function(c){k.appendChild(l(c.name_with_namespace,mxUtils.bind(this,function(){b=a.full_path;d=c.path;g=c.default_branch||"master";e="";z()})));n.appendChild(k)})(c[f])}}))}else mxUtils.write(n,mxResources.get("noFiles"));100==m.length&&(n.appendChild(v), -t=function(){n.scrollTop>=n.scrollHeight-n.offsetHeight&&c()},mxEvent.addListener(n,"scroll",t))}),u)}))});this.token?this.user?C():this.updateUser(function(){C()},u,!0):this.authenticate(mxUtils.bind(this,function(){this.updateUser(function(){C()},u,!0)}),u)};GitLabClient.prototype.logout=function(){this.clearPersistentToken();this.setUser(null);this.token=null};DrawioComment=function(a,c,b,d,g,e,k){this.file=a;this.id=c;this.content=b;this.modifiedDate=d;this.createdDate=g;this.isResolved=e;this.user=k;this.replies=[]};DrawioComment.prototype.addReplyDirect=function(a){null!=a&&this.replies.push(a)};DrawioComment.prototype.addReply=function(a,c,b,d,g){c()};DrawioComment.prototype.editComment=function(a,c,b){c()};DrawioComment.prototype.deleteComment=function(a,c){a()};DriveComment=function(a,c,b,d,g,e,k,m){DrawioComment.call(this,a,c,b,d,g,e,k);this.pCommentId=m};mxUtils.extend(DriveComment,DrawioComment);DriveComment.prototype.addReply=function(a,c,b,d,g){a={content:a.content};d?a.verb="resolve":g&&(a.verb="reopen");this.file.ui.drive.executeRequest({url:"/files/"+this.file.getId()+"/comments/"+this.id+"/replies",params:a,method:"POST"},mxUtils.bind(this,function(a){c(a.replyId)}),b)}; +e=null,2<a.length&&(e=encodeURIComponent(a.slice(2,a.length).join("/"))),z()):(this.ui.spinner.stop(),this.ui.handleError({message:mxResources.get("invalidName")})))}),mxResources.get("enterValue"));this.ui.showDialog(a.container,300,80,!0,!1);a.init()}))),mxUtils.br(n),mxUtils.br(n));for(var p=!0,x=0;x<m.length;x++)mxUtils.bind(this,function(a,c){var f=t.cloneNode();f.style.backgroundColor=p?"#eeeeee":"";p=!p;f.appendChild(l(a.name_with_namespace,mxUtils.bind(this,function(){b=a.owner.username;d= +a.path;g=a.default_branch||"master";e="";z()})));n.appendChild(f)})(m[x],x);for(x=0;x<f.length;x++)k(f[x],mxUtils.bind(this,function(a,c){for(var f=0;f<c.length;f++){var k=t.cloneNode();k.style.backgroundColor=p?"#eeeeee":"";p=!p;mxUtils.bind(this,function(c){k.appendChild(l(c.name_with_namespace,mxUtils.bind(this,function(){b=a.full_path;d=c.path;g=c.default_branch||"master";e="";z()})));n.appendChild(k)})(c[f])}}))}else mxUtils.write(n,mxResources.get("noFiles"));100==m.length&&(n.appendChild(v), +q=function(){n.scrollTop>=n.scrollHeight-n.offsetHeight&&c()},mxEvent.addListener(n,"scroll",q))}),u)}))});this.token?this.user?C():this.updateUser(function(){C()},u,!0):this.authenticate(mxUtils.bind(this,function(){this.updateUser(function(){C()},u,!0)}),u)};GitLabClient.prototype.logout=function(){this.clearPersistentToken();this.setUser(null);this.token=null};DrawioComment=function(a,c,b,d,g,e,k){this.file=a;this.id=c;this.content=b;this.modifiedDate=d;this.createdDate=g;this.isResolved=e;this.user=k;this.replies=[]};DrawioComment.prototype.addReplyDirect=function(a){null!=a&&this.replies.push(a)};DrawioComment.prototype.addReply=function(a,c,b,d,g){c()};DrawioComment.prototype.editComment=function(a,c,b){c()};DrawioComment.prototype.deleteComment=function(a,c){a()};DriveComment=function(a,c,b,d,g,e,k,m){DrawioComment.call(this,a,c,b,d,g,e,k);this.pCommentId=m};mxUtils.extend(DriveComment,DrawioComment);DriveComment.prototype.addReply=function(a,c,b,d,g){a={content:a.content};d?a.verb="resolve":g&&(a.verb="reopen");this.file.ui.drive.executeRequest({url:"/files/"+this.file.getId()+"/comments/"+this.id+"/replies",params:a,method:"POST"},mxUtils.bind(this,function(a){c(a.replyId)}),b)}; DriveComment.prototype.editComment=function(a,c,b){this.content=a;a={content:a};this.file.ui.drive.executeRequest(this.pCommentId?{url:"/files/"+this.file.getId()+"/comments/"+this.pCommentId+"/replies/"+this.id,params:a,method:"PATCH"}:{url:"/files/"+this.file.getId()+"/comments/"+this.id,params:a,method:"PATCH"},c,b)}; DriveComment.prototype.deleteComment=function(a,c){this.file.ui.drive.executeRequest(this.pCommentId?{url:"/files/"+this.file.getId()+"/comments/"+this.pCommentId+"/replies/"+this.id,method:"DELETE"}:{url:"/files/"+this.file.getId()+"/comments/"+this.id,method:"DELETE"},a,c)};App=function(a,c,b){EditorUi.call(this,a,c,null!=b?b:"1"==urlParams.lightbox||"min"==uiTheme&&"0"!=urlParams.chrome);mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||(window.onunload=mxUtils.bind(this,function(){var a=this.getCurrentFile();if(null!=a&&a.isModified()){var b={category:"DISCARD-FILE-"+a.getHash(),action:(a.savingFile?"saving":"")+(a.savingFile&&null!=a.savingFileTime?"_"+Math.round((Date.now()-a.savingFileTime.getTime())/1E3):"")+(null!=a.saveLevel?"-sl_"+a.saveLevel:"")+"-age_"+(null!= a.ageStart?Math.round((Date.now()-a.ageStart.getTime())/1E3):"x")+(this.editor.autosave?"":"-nosave")+(a.isAutosave()?"":"-noauto")+"-open_"+(null!=a.opened?Math.round((Date.now()-a.opened.getTime())/1E3):"x")+"-save_"+(null!=a.lastSaved?Math.round((Date.now()-a.lastSaved.getTime())/1E3):"x")+"-change_"+(null!=a.lastChanged?Math.round((Date.now()-a.lastChanged.getTime())/1E3):"x")+"-alive_"+Math.round((Date.now()-App.startTime.getTime())/1E3),label:null!=a.sync?"client_"+a.sync.clientId:"nosync"}; @@ -9079,7 +9067,7 @@ null!=e&&(g=e.plugins)}catch(l){}e=urlParams.p;App.initPluginCallback();null!=e& [g.join("\n")]).replace(/\\n/g,"\n")))for(m=0;m<g.length;m++)try{null==App.pluginsLoaded[g[m]]&&(App.pluginsLoaded[g[m]]=!0,App.embedModePluginsCount++,"/"==g[m].charAt(0)&&(g[m]=PLUGINS_BASE_PATH+g[m]),mxscript(g[m]))}catch(l){}}}"function"===typeof window.DriveClient&&"undefined"===typeof gapi&&("1"!=urlParams.embed&&"0"!=urlParams.gapi||"1"==urlParams.embed&&"1"==urlParams.gapi)&&isSvgBrowser&&isLocalStorage&&(null==document.documentMode||10<=document.documentMode)?mxscript("https://apis.google.com/js/api.js?onload=DrawGapiClientCallback", null,null,null,mxClient.IS_SVG):"undefined"===typeof window.gapi&&(window.DriveClient=null)}"0"!=urlParams.math&&Editor.initMath();try{if(null!=mxSettings.settings){if(null!=mxSettings.settings.autosaveDelay){var n=parseInt(mxSettings.settings.autosaveDelay);!isNaN(n)&&0<n?(DrawioFile.prototype.autosaveDelay=n,null!=window.console&&console.log("Setting autosaveDelay to "+DrawioFile.prototype.autosaveDelay)):null!=window.console&&console.log("Invalid value for autosaveDelay")}null!=mxSettings.settings.defaultEdgeLength&& (n=parseInt(mxSettings.settings.defaultEdgeLength),!isNaN(n)&&0<n?(Graph.prototype.defaultEdgeLength=n,null!=window.console&&console.log("Setting defaultEdgeLength to "+Graph.prototype.defaultEdgeLength)):null!=window.console&&console.log("Invalid value for defaultEdgeLength"))}}catch(l){null!=window.console&&console.error(l)}if(null!=window.DRAWIO_CONFIG)try{Editor.configure(window.DRAWIO_CONFIG,!0)}catch(l){null!=window.console&&console.log("Error in global configuration: "+l,window.DRAWIO_CONFIG)}if("1"== -urlParams.configure){var q=window.opener||window.parent,f=function(a){if(a.source==q)try{var b=JSON.parse(a.data);null!=b&&"configure"==b.action&&(mxEvent.removeListener(window,"message",f),Editor.configure(b.config,!0),mxSettings.load(),d())}catch(u){null!=window.console&&console.log("Error in configuration: "+u)}};mxEvent.addListener(window,"message",f);q.postMessage(JSON.stringify({event:"configure"}),"*")}else d()};mxUtils.extend(App,EditorUi);App.prototype.defaultUserPicture="https://lh3.googleusercontent.com/-HIzvXUy6QUY/AAAAAAAAAAI/AAAAAAAAAAA/giuR7PQyjEk/photo.jpg?sz=64"; +urlParams.configure){var t=window.opener||window.parent,f=function(a){if(a.source==t)try{var b=JSON.parse(a.data);null!=b&&"configure"==b.action&&(mxEvent.removeListener(window,"message",f),Editor.configure(b.config,!0),mxSettings.load(),d())}catch(u){null!=window.console&&console.log("Error in configuration: "+u)}};mxEvent.addListener(window,"message",f);t.postMessage(JSON.stringify({event:"configure"}),"*")}else d()};mxUtils.extend(App,EditorUi);App.prototype.defaultUserPicture="https://lh3.googleusercontent.com/-HIzvXUy6QUY/AAAAAAAAAAI/AAAAAAAAAAA/giuR7PQyjEk/photo.jpg?sz=64"; App.prototype.shareImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDowOTgwMTE3NDA3MjA2ODExODhDNkFGMDBEQkQ0RTgwOSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoxMjU2NzdEMTcwRDIxMUUxQjc0MDkxRDhCNUQzOEFGRCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoxMjU2NzdEMDcwRDIxMUUxQjc0MDkxRDhCNUQzOEFGRCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IFdpbmRvd3MiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowNjgwMTE3NDA3MjA2ODExODcxRkM4MUY1OTFDMjQ5OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowNzgwMTE3NDA3MjA2ODExODhDNkFGMDBEQkQ0RTgwOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PrM/fs0AAADgSURBVHjaYmDAA/7//88MwgzkAKDGFiD+BsQ/QWxSNaf9RwN37twpI8WAS+gGfP78+RpQSoRYA36iG/D379+vQClNdLVMOMz4gi7w79+/n0CKg1gD9qELvH379hzIHGK9oA508ieY8//8+fO5rq4uFCilRKwL1JmYmNhhHEZGRiZ+fn6Q2meEbDYG4u3/cYCfP38uA7kOm0ZOIJ7zn0jw48ePPiDFhmzArv8kgi9fvuwB+w5qwH9ykjswbFSZyM4sEMDPBDTlL5BxkFSd7969OwZ2BZKYGhDzkmjOJ4AAAwBhpRqGnEFb8QAAAABJRU5ErkJggg=="; App.prototype.chevronUpImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDg2NEE3NUY1MUVBMTFFM0I3MUVEMTc0N0YyOUI4QzEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDg2NEE3NjA1MUVBMTFFM0I3MUVEMTc0N0YyOUI4QzEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0ODY0QTc1RDUxRUExMUUzQjcxRUQxNzQ3RjI5QjhDMSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0ODY0QTc1RTUxRUExMUUzQjcxRUQxNzQ3RjI5QjhDMSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pg+qUokAAAAMUExURQAAANnZ2b+/v////5bgre4AAAAEdFJOU////wBAKqn0AAAAL0lEQVR42mJgRgMMRAswMKAKMDDARBjg8lARBoR6KImkH0wTbygT6YaS4DmAAAMAYPkClOEDDD0AAAAASUVORK5CYII=": IMAGE_PATH+"/chevron-up.png"; @@ -9117,11 +9105,11 @@ App.prototype.updateDraft=function(){isLocalStorage&&null!=localStorage&&localSt App.prototype.getRecent=function(){if(isLocalStorage&&null!=localStorage){try{var a=localStorage.getItem(".recent");if(null!=a)return JSON.parse(a)}catch(c){}return null}};App.prototype.resetRecent=function(a){if(isLocalStorage&&null!=localStorage)try{localStorage.removeItem(".recent")}catch(c){}};App.prototype.removeDraft=function(){if(isLocalStorage&&null!=localStorage&&"0"==urlParams.splash)try{localStorage.removeItem(".draft")}catch(a){}}; App.prototype.onBeforeUnload=function(){if("1"==urlParams.embed&&this.editor.modified)return mxResources.get("allChangesLost");var a=this.getCurrentFile();if(null!=a)if(a.constructor!=LocalFile||""!=a.getHash()||a.isModified()||"1"==urlParams.nowarn||this.isDiagramEmpty()||null!=urlParams.url||this.editor.isChromelessView()){if(a.isModified())return mxResources.get("allChangesLost");a.close(!0)}else return mxResources.get("ensureDataSaved")}; App.prototype.updateDocumentTitle=function(){if(!this.editor.graph.isLightboxView()){var a=this.editor.appName,c=this.getCurrentFile();this.isOfflineApp()&&(a+=" app");null!=c&&(a=(null!=c.getTitle()?c.getTitle():this.defaultFilename)+" - "+a);document.title=a}};App.prototype.createCrcTable=function(){for(var a=[],c,b=0;256>b;b++){c=b;for(var d=0;8>d;d++)c=c&1?3988292384^c>>>1:c>>>1;a[b]=c}return a}; -App.prototype.getThumbnail=function(a,c){var b=!1;try{var d=!0,g=window.setTimeout(mxUtils.bind(this,function(){d=!1;c(null)}),this.timeout),e=mxUtils.bind(this,function(a){window.clearTimeout(g);d&&c(a)});null==this.thumbImageCache&&(this.thumbImageCache={});var k=this.editor.graph,m=null!=k.themes&&"darkTheme"==k.defaultThemeName;if(null!=this.pages&&(this.currentPage!=this.pages[0]||m)){var n=k.getGlobalVariable,k=this.createTemporaryGraph(m?k.getDefaultStylesheet():k.getStylesheet()),q=this.pages[0]; -m&&(k.defaultThemeName="default");k.getGlobalVariable=function(a){return"page"==a?q.getName():"pagenumber"==a?1:n.apply(this,arguments)};k.getGlobalVariable=n;document.body.appendChild(k.container);k.model.setRoot(q.root)}if(mxClient.IS_CHROMEAPP||!k.mathEnabled&&this.useCanvasForExport)this.exportToCanvas(mxUtils.bind(this,function(a){try{k!=this.editor.graph&&null!=k.container.parentNode&&k.container.parentNode.removeChild(k.container)}catch(E){a=null}e(a)}),a,this.thumbImageCache,"#ffffff",function(){e()}, -null,null,null,null,null,null,k),b=!0;else if(this.canvasSupported&&null!=this.getCurrentFile()){var f=document.createElement("canvas"),l=k.getGraphBounds(),p=a/l.width,p=Math.min(1,Math.min(3*a/(4*l.height),p)),u=Math.floor(l.x),v=Math.floor(l.y);f.setAttribute("width",Math.ceil(p*(l.width+4)));f.setAttribute("height",Math.ceil(p*(l.height+4)));var t=f.getContext("2d");t.scale(p,p);t.translate(-u,-v);var z=k.background;if(null==z||""==z||z==mxConstants.NONE)z="#ffffff";t.save();t.fillStyle=z;t.fillRect(u, -v,Math.ceil(l.width+4),Math.ceil(l.height+4));t.restore();var y=new mxJsCanvas(f),C=new mxAsyncCanvas(this.thumbImageCache);y.images=this.thumbImageCache.images;var x=new mxImageExport;x.drawShape=function(a,b){a.shape instanceof mxShape&&a.shape.checkBounds()&&(b.save(),b.translate(.5,.5),a.shape.paint(b),b.translate(-.5,-.5),b.restore())};x.drawText=function(a,b){};x.drawState(k.getView().getState(k.model.root),C);C.finish(mxUtils.bind(this,function(){try{x.drawState(k.getView().getState(k.model.root), -y),k!=this.editor.graph&&null!=k.container.parentNode&&k.container.parentNode.removeChild(k.container)}catch(B){f=null}e(f)}));b=!0}}catch(B){b=!1,null!=k&&k!=this.editor.graph&&null!=k.container.parentNode&&k.container.parentNode.removeChild(k.container)}return b}; +App.prototype.getThumbnail=function(a,c){var b=!1;try{var d=!0,g=window.setTimeout(mxUtils.bind(this,function(){d=!1;c(null)}),this.timeout),e=mxUtils.bind(this,function(a){window.clearTimeout(g);d&&c(a)});null==this.thumbImageCache&&(this.thumbImageCache={});var k=this.editor.graph,m=null!=k.themes&&"darkTheme"==k.defaultThemeName;if(null!=this.pages&&(this.currentPage!=this.pages[0]||m)){var n=k.getGlobalVariable,k=this.createTemporaryGraph(m?k.getDefaultStylesheet():k.getStylesheet()),t=this.pages[0]; +m&&(k.defaultThemeName="default");k.getGlobalVariable=function(a){return"page"==a?t.getName():"pagenumber"==a?1:n.apply(this,arguments)};k.getGlobalVariable=n;document.body.appendChild(k.container);k.model.setRoot(t.root)}if(mxClient.IS_CHROMEAPP||!k.mathEnabled&&this.useCanvasForExport)this.exportToCanvas(mxUtils.bind(this,function(a){try{k!=this.editor.graph&&null!=k.container.parentNode&&k.container.parentNode.removeChild(k.container)}catch(F){a=null}e(a)}),a,this.thumbImageCache,"#ffffff",function(){e()}, +null,null,null,null,null,null,k),b=!0;else if(this.canvasSupported&&null!=this.getCurrentFile()){var f=document.createElement("canvas"),l=k.getGraphBounds(),p=a/l.width,p=Math.min(1,Math.min(3*a/(4*l.height),p)),u=Math.floor(l.x),v=Math.floor(l.y);f.setAttribute("width",Math.ceil(p*(l.width+4)));f.setAttribute("height",Math.ceil(p*(l.height+4)));var q=f.getContext("2d");q.scale(p,p);q.translate(-u,-v);var z=k.background;if(null==z||""==z||z==mxConstants.NONE)z="#ffffff";q.save();q.fillStyle=z;q.fillRect(u, +v,Math.ceil(l.width+4),Math.ceil(l.height+4));q.restore();var y=new mxJsCanvas(f),C=new mxAsyncCanvas(this.thumbImageCache);y.images=this.thumbImageCache.images;var x=new mxImageExport;x.drawShape=function(a,b){a.shape instanceof mxShape&&a.shape.checkBounds()&&(b.save(),b.translate(.5,.5),a.shape.paint(b),b.translate(-.5,-.5),b.restore())};x.drawText=function(a,b){};x.drawState(k.getView().getState(k.model.root),C);C.finish(mxUtils.bind(this,function(){try{x.drawState(k.getView().getState(k.model.root), +y),k!=this.editor.graph&&null!=k.container.parentNode&&k.container.parentNode.removeChild(k.container)}catch(A){f=null}e(f)}));b=!0}}catch(A){b=!1,null!=k&&k!=this.editor.graph&&null!=k.container.parentNode&&k.container.parentNode.removeChild(k.container)}return b}; App.prototype.createBackground=function(){var a=this.createDiv("background");a.style.position="absolute";a.style.background="white";a.style.left="0px";a.style.top="0px";a.style.bottom="0px";a.style.right="0px";mxUtils.setOpacity(a,100);mxClient.IS_QUIRKS&&new mxDivResizer(a);return a}; (function(){var a=EditorUi.prototype.setMode;App.prototype.setMode=function(c,b){a.apply(this,arguments);null!=this.mode&&(Editor.useLocalStorage=this.mode==App.MODE_BROWSER);if(null!=this.appIcon){var d=this.getCurrentFile();c=null!=d?d.getMode():c;c==App.MODE_GOOGLE?(this.appIcon.setAttribute("title",mxResources.get("openIt",[mxResources.get("googleDrive")])),this.appIcon.style.cursor="pointer"):c==App.MODE_DROPBOX?(this.appIcon.setAttribute("title",mxResources.get("openIt",[mxResources.get("dropbox")])), this.appIcon.style.cursor="pointer"):c==App.MODE_ONEDRIVE?(this.appIcon.setAttribute("title",mxResources.get("openIt",[mxResources.get("oneDrive")])),this.appIcon.style.cursor="pointer"):(this.appIcon.removeAttribute("title"),this.appIcon.style.cursor=c==App.MODE_DEVICE?"pointer":"default")}if(b)try{if(isLocalStorage)localStorage.setItem(".mode",c);else if("undefined"!=typeof Storage){var g=new Date;g.setYear(g.getFullYear()+1);document.cookie="MODE="+c+"; expires="+g.toUTCString()}}catch(e){}}})(); @@ -9139,7 +9127,7 @@ mxResources.get("close");c.appendChild(a);mxEvent.addListener(a,"click",function App.prototype.start=function(){this.bg.parentNode.removeChild(this.bg);this.restoreLibraries();this.spinner.stop();try{if("1"!=urlParams.client&&"1"!=urlParams.embed&&mxEvent.addListener(window,"hashchange",mxUtils.bind(this,function(a){try{this.hideDialog();var b=this.getDiagramId(),c=this.getCurrentFile();null!=c&&c.getHash()==b||this.loadFile(b,!0)}catch(m){null!=document.body&&this.handleError(m,mxResources.get("errorLoadingFile"),mxUtils.bind(this,function(){var a=this.getCurrentFile();window.location.hash= null!=a?a.getHash():""}))}})),(null==window.location.hash||1>=window.location.hash.length)&&null!=urlParams.url)this.loadFile("U"+urlParams.url,!0);else if(null==this.getCurrentFile()){var a=mxUtils.bind(this,function(){if("1"==urlParams.client&&(null==window.location.hash||0==window.location.hash.length||"#P"==window.location.hash.substring(0,2))){var a=mxUtils.bind(this,function(a){"data:image/png;base64,"==a.substring(0,22)&&(a=this.extractGraphModelFromPng(a));var b=urlParams.title,b=null!=b? decodeURIComponent(b):this.defaultFilename;a=new LocalFile(this,a,b,!0);null!=window.location.hash&&"#P"==window.location.hash.substring(0,2)&&(a.getHash=function(){return window.location.hash.substring(1)});this.fileLoaded(a);this.getCurrentFile().setModified(!this.editor.chromeless)}),b=window.opener||window.parent;if(b!=window){var c=urlParams.create;null!=c?a(b[decodeURIComponent(c)]):(c=urlParams.data,null!=c?a(decodeURIComponent(c)):this.installMessageHandler(mxUtils.bind(this,function(c,d){d.source== -b&&a(c)})))}}else if(null==this.dialog)if("1"==urlParams.demo)c=Editor.useLocalStorage,this.createFile(this.defaultFilename,null,null,null,null,null,null,!0),Editor.useLocalStorage=c;else{c=!1;try{c=null!=window.opener&&null!=window.opener.openFile}catch(q){}if(c)this.spinner.spin(document.body,mxResources.get("loading"));else if(c=this.getDiagramId(),"0"!=urlParams.splash||null!=c&&0!=c.length)this.loadFile(c);else if(!mxClient.IS_CHROMEAPP){var d=this.getDraft(),n=null!=d?d.data:this.getFileData(), +b&&a(c)})))}}else if(null==this.dialog)if("1"==urlParams.demo)c=Editor.useLocalStorage,this.createFile(this.defaultFilename,null,null,null,null,null,null,!0),Editor.useLocalStorage=c;else{c=!1;try{c=null!=window.opener&&null!=window.opener.openFile}catch(t){}if(c)this.spinner.spin(document.body,mxResources.get("loading"));else if(c=this.getDiagramId(),"0"!=urlParams.splash||null!=c&&0!=c.length)this.loadFile(c);else if(!mxClient.IS_CHROMEAPP){var d=this.getDraft(),n=null!=d?d.data:this.getFileData(), c=Editor.useLocalStorage;this.createFile(this.defaultFilename,n,null,null,null,null,null,!0);Editor.useLocalStorage=c;null!=d&&(c=this.getCurrentFile(),null!=c&&c.addUnsavedStatus())}}}),c=decodeURIComponent(urlParams.create||"");if((null==window.location.hash||1>=window.location.hash.length)&&null!=c&&0<c.length&&this.spinner.spin(document.body,mxResources.get("loading"))){var b=mxUtils.bind(this,function(){this.spinner.spin(document.body,mxResources.get("reconnecting"))&&(window.location.search= this.getSearch(["create","title"]))}),d=mxUtils.bind(this,function(a){this.spinner.stop();if("0"!=urlParams.splash){this.fileLoaded(new LocalFile(this,a,null));this.editor.graph.setEnabled(!1);this.mode=urlParams.mode;var b=urlParams.title,b=null!=b?decodeURIComponent(b):this.defaultFilename;a=this.getServiceCount(!0);isLocalStorage&&a++;var c=4>=a?2:6<a?4:3,b=new CreateDialog(this,b,mxUtils.bind(this,function(a,b){if(null==b){this.hideDialog();var c=Editor.useLocalStorage;this.createFile(0<a.length? a:this.defaultFilename,this.getFileData(),null,null,null,!0,null,!0);Editor.useLocalStorage=c}else this.pickFolder(b,mxUtils.bind(this,function(c){this.createFile(a,this.getFileData(!0),null,b,null,!0,c)}))}),null,null,null,null,"1"==urlParams.browser,null,null,!0,c,null,null,null,this.editor.fileExtensions);this.showDialog(b.container,400,a>c?390:270,!0,!1,mxUtils.bind(this,function(a){a&&null==this.getCurrentFile()&&this.showSplash()}));b.init()}}),c=decodeURIComponent(c);if("http://"!=c.substring(0, @@ -9162,20 +9150,20 @@ App.prototype.saveLibrary=function(a,c,b,d,g,e,k){try{d=null!=d?d:this.mode;g=nu m,b,mxUtils.bind(this,function(a){this.spinner.stop();this.hideDialog(!0);this.libraryLoaded(a,c)}),n,this.drive.libraryMimeType):d==App.MODE_GITHUB&&null!=this.gitHub&&this.spinner.spin(document.body,mxResources.get("inserting"))?this.gitHub.insertLibrary(a,m,mxUtils.bind(this,function(a){this.spinner.stop();this.hideDialog(!0);this.libraryLoaded(a,c)}),n,b):d==App.MODE_GITLAB&&null!=this.gitLab&&this.spinner.spin(document.body,mxResources.get("inserting"))?this.gitLab.insertLibrary(a,m,mxUtils.bind(this, function(a){this.spinner.stop();this.hideDialog(!0);this.libraryLoaded(a,c)}),n,b):d==App.MODE_TRELLO&&null!=this.trello&&this.spinner.spin(document.body,mxResources.get("inserting"))?this.trello.insertLibrary(a,m,mxUtils.bind(this,function(a){this.spinner.stop();this.hideDialog(!0);this.libraryLoaded(a,c)}),n,b):d==App.MODE_DROPBOX&&null!=this.dropbox&&this.spinner.spin(document.body,mxResources.get("inserting"))?this.dropbox.insertLibrary(a,m,mxUtils.bind(this,function(a){this.spinner.stop();this.hideDialog(!0); this.libraryLoaded(a,c)}),n,b):d==App.MODE_ONEDRIVE&&null!=this.oneDrive&&this.spinner.spin(document.body,mxResources.get("inserting"))?this.oneDrive.insertLibrary(a,m,mxUtils.bind(this,function(a){this.spinner.stop();this.hideDialog(!0);this.libraryLoaded(a,c)}),n,b):d==App.MODE_BROWSER?(b=mxUtils.bind(this,function(){var b=new StorageLibrary(this,m,a);b.saveFile(a,!1,mxUtils.bind(this,function(){this.hideDialog(!0);this.libraryLoaded(b,c)}),n)}),null==localStorage.getItem(a)?b():this.confirm(mxResources.get("replaceIt", -[a]),b)):this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")})}));else if(g||this.spinner.spin(document.body,mxResources.get("saving"))){b.setData(m);var q=mxUtils.bind(this,function(){b.save(!0,mxUtils.bind(this,function(a){this.spinner.stop();this.hideDialog(!0);e||this.libraryLoaded(b,c);null!=k&&k()}),n)});if(a!=b.getTitle()){var f=b.getHash();b.rename(a,mxUtils.bind(this,function(a){b.constructor!=LocalLibrary&&f!=b.getHash()&&(mxSettings.removeCustomLibrary(f),mxSettings.addCustomLibrary(b.getHash())); -this.removeLibrarySidebar(f);q()}),n)}else q()}}catch(l){this.handleError(l)}}; +[a]),b)):this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")})}));else if(g||this.spinner.spin(document.body,mxResources.get("saving"))){b.setData(m);var t=mxUtils.bind(this,function(){b.save(!0,mxUtils.bind(this,function(a){this.spinner.stop();this.hideDialog(!0);e||this.libraryLoaded(b,c);null!=k&&k()}),n)});if(a!=b.getTitle()){var f=b.getHash();b.rename(a,mxUtils.bind(this,function(a){b.constructor!=LocalLibrary&&f!=b.getHash()&&(mxSettings.removeCustomLibrary(f),mxSettings.addCustomLibrary(b.getHash())); +this.removeLibrarySidebar(f);t()}),n)}else t()}}catch(l){this.handleError(l)}}; App.prototype.saveFile=function(a,c){var b=this.getCurrentFile();if(null!=b){var d=mxUtils.bind(this,function(){this.removeDraft();this.getCurrentFile()==b||b.isModified()||(b.getMode()!=App.MODE_DEVICE?this.editor.setStatus(mxUtils.htmlEntities(mxResources.get("allChangesSaved"))):this.editor.setStatus(""));null!=c&&c()});if(a||null==b.getTitle()||null==this.mode){var g=null!=b.getTitle()?b.getTitle():this.defaultFilename,e=!mxClient.IS_IOS||!navigator.standalone,k=this.mode,m=this.getServiceCount(!0); isLocalStorage&&m++;var n=4>=m?2:6<m?4:3,g=new CreateDialog(this,g,mxUtils.bind(this,function(a,b){null!=a&&0<a.length&&(null==k&&b==App.MODE_DEVICE?(this.setMode(App.MODE_DEVICE),this.save(a,d)):"download"==b?(new LocalFile(this,null,a)).save():"_blank"==b?(window.openFile=new OpenFile(function(){window.openFile=null}),window.openFile.setData(this.getFileData(!0)),this.openLink(this.getUrl(window.location.pathname),null,!0)):k!=b?this.pickFolder(b,mxUtils.bind(this,function(c){this.createFile(a, this.getFileData(/(\.xml)$/i.test(a)||0>a.indexOf(".")||/(\.drawio)$/i.test(a),/(\.svg)$/i.test(a),/(\.html)$/i.test(a)),null,b,d,null==this.mode,c)})):null!=b&&this.save(a,d))}),mxUtils.bind(this,function(){this.hideDialog()}),mxResources.get("saveAs"),mxResources.get("download"),null,null,e,null,!0,n,null,null,null,this.editor.fileExtensions);this.showDialog(g.container,400,m>n?390:270,!0,!0);g.init()}else this.save(b.getTitle(),d)}}; App.prototype.loadTemplate=function(a,c,b,d){var g=!1,e=a;this.editor.isCorsEnabledForUrl(e)||(e="t="+(new Date).getTime(),e=PROXY_URL+"?url="+encodeURIComponent(a)+"&base64=1&"+e,g=!0);var k=null!=d?d:a;this.loadUrl(e,mxUtils.bind(this,function(d){try{var e=g?!window.atob||mxClient.IS_IE||mxClient.IS_IE11?Base64.decode(d):atob(d):d;if(/(\.v(dx|sdx?))($|\?)/i.test(k)||this.isVisioData(e))this.importVisio(this.base64ToBlob(d.substring(d.indexOf(",")+1)),function(a){c(a)},b,k);else if(!this.isOffline()&& -(new XMLHttpRequest).upload&&this.isRemoteFileFormat(e,k))this.parseFile(new Blob([e],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){4==a.readyState&&200<=a.status&&299>=a.status&&"<mxGraphModel"==a.responseText.substring(0,13)&&c(a.responseText)}),a);else if(this.isLucidChartData(e))this.convertLucidChart(e,mxUtils.bind(this,function(a){c(a)}),mxUtils.bind(this,function(a){b(a)}));else{if(/(\.png)($|\?)/i.test(k)||this.isPngData(e))e=this.extractGraphModelFromPng(d);c(e)}}catch(q){b(q)}}), +(new XMLHttpRequest).upload&&this.isRemoteFileFormat(e,k))this.parseFile(new Blob([e],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){4==a.readyState&&200<=a.status&&299>=a.status&&"<mxGraphModel"==a.responseText.substring(0,13)&&c(a.responseText)}),a);else if(this.isLucidChartData(e))this.convertLucidChart(e,mxUtils.bind(this,function(a){c(a)}),mxUtils.bind(this,function(a){b(a)}));else{if(/(\.png)($|\?)/i.test(k)||this.isPngData(e))e=this.extractGraphModelFromPng(d);c(e)}}catch(t){b(t)}}), b,/(\.png)($|\?)/i.test(k)||/(\.v(dx|sdx?))($|\?)/i.test(k),null,null,g)};App.prototype.getPeerForMode=function(a){return a==App.MODE_GOOGLE?this.drive:a==App.MODE_GITHUB?this.gitHub:a==App.MODE_GITLAB?this.gitLab:a==App.MODE_DROPBOX?this.dropbox:a==App.MODE_ONEDRIVE?this.oneDrive:a==App.MODE_TRELLO?this.trello:null}; -App.prototype.createFile=function(a,c,b,d,g,e,k,m,n){d=m?null:null!=d?d:this.mode;if(null!=a&&this.spinner.spin(document.body,mxResources.get("inserting"))){c=null!=c?c:this.emptyDiagramXml;var q=mxUtils.bind(this,function(){this.spinner.stop()}),f=mxUtils.bind(this,function(a){q();null==a&&null==this.getCurrentFile()&&null==this.dialog?this.showSplash():null!=a&&this.handleError(a)});try{if(d==App.MODE_GOOGLE&&null!=this.drive)null==k&&null!=this.stateArg&&null!=this.stateArg.folderId&&(k=this.stateArg.folderId), -this.drive.insertFile(a,c,k,mxUtils.bind(this,function(a){q();this.fileCreated(a,b,e,g,n)}),f);else if(d==App.MODE_GITHUB&&null!=this.gitHub)this.gitHub.insertFile(a,c,mxUtils.bind(this,function(a){q();this.fileCreated(a,b,e,g,n)}),f,!1,k);else if(d==App.MODE_GITLAB&&null!=this.gitLab)this.gitLab.insertFile(a,c,mxUtils.bind(this,function(a){q();this.fileCreated(a,b,e,g,n)}),f,!1,k);else if(d==App.MODE_TRELLO&&null!=this.trello)this.trello.insertFile(a,c,mxUtils.bind(this,function(a){q();this.fileCreated(a, -b,e,g,n)}),f,!1,k);else if(d==App.MODE_DROPBOX&&null!=this.dropbox)this.dropbox.insertFile(a,c,mxUtils.bind(this,function(a){q();this.fileCreated(a,b,e,g,n)}),f);else if(d==App.MODE_ONEDRIVE&&null!=this.oneDrive)this.oneDrive.insertFile(a,c,mxUtils.bind(this,function(a){q();this.fileCreated(a,b,e,g,n)}),f,!1,k);else if(d==App.MODE_BROWSER){q();var l=mxUtils.bind(this,function(){var d=new StorageFile(this,c,a);d.saveFile(a,!1,mxUtils.bind(this,function(){this.fileCreated(d,b,e,g,n)}),f)});null==localStorage.getItem(a)? -l():this.confirm(mxResources.get("replaceIt",[a]),l,mxUtils.bind(this,function(){null==this.getCurrentFile()&&null==this.dialog&&this.showSplash()}))}else q(),this.fileCreated(new LocalFile(this,c,a,null==d),b,e,g,n)}catch(p){q(),this.handleError(p)}}}; -App.prototype.fileCreated=function(a,c,b,d,g){var e=window.location.pathname;null!=c&&0<c.length&&(e+="?libs="+c);null!=g&&0<g.length&&(e+="?clibs="+g);e=this.getUrl(e);a.getMode()!=App.MODE_DEVICE&&(e+="#"+a.getHash());if(this.spinner.spin(document.body,mxResources.get("inserting"))){var k=a.getData(),k=0<k.length?this.editor.extractGraphModel(mxUtils.parseXml(k).documentElement,!0):null,m=window.location.protocol+"//"+window.location.hostname+e,n=k,q=null;null!=k&&/\.svg$/i.test(a.getTitle())&& -(q=this.createTemporaryGraph(this.editor.graph.getStylesheet()),document.body.appendChild(q.container),n=this.decodeNodeIntoGraph(n,q));a.setData(this.createFileData(k,q,a,m));null!=q&&q.container.parentNode.removeChild(q.container);var f=mxUtils.bind(this,function(){this.spinner.stop()}),l=mxUtils.bind(this,function(){f();var k=this.getCurrentFile();null==b&&null!=k&&(b=!k.isModified()&&null==k.getMode());var l=mxUtils.bind(this,function(){window.openFile=null;this.fileLoaded(a);b&&a.addAllSavedStatus(); +App.prototype.createFile=function(a,c,b,d,g,e,k,m,n){d=m?null:null!=d?d:this.mode;if(null!=a&&this.spinner.spin(document.body,mxResources.get("inserting"))){c=null!=c?c:this.emptyDiagramXml;var t=mxUtils.bind(this,function(){this.spinner.stop()}),f=mxUtils.bind(this,function(a){t();null==a&&null==this.getCurrentFile()&&null==this.dialog?this.showSplash():null!=a&&this.handleError(a)});try{if(d==App.MODE_GOOGLE&&null!=this.drive)null==k&&null!=this.stateArg&&null!=this.stateArg.folderId&&(k=this.stateArg.folderId), +this.drive.insertFile(a,c,k,mxUtils.bind(this,function(a){t();this.fileCreated(a,b,e,g,n)}),f);else if(d==App.MODE_GITHUB&&null!=this.gitHub)this.gitHub.insertFile(a,c,mxUtils.bind(this,function(a){t();this.fileCreated(a,b,e,g,n)}),f,!1,k);else if(d==App.MODE_GITLAB&&null!=this.gitLab)this.gitLab.insertFile(a,c,mxUtils.bind(this,function(a){t();this.fileCreated(a,b,e,g,n)}),f,!1,k);else if(d==App.MODE_TRELLO&&null!=this.trello)this.trello.insertFile(a,c,mxUtils.bind(this,function(a){t();this.fileCreated(a, +b,e,g,n)}),f,!1,k);else if(d==App.MODE_DROPBOX&&null!=this.dropbox)this.dropbox.insertFile(a,c,mxUtils.bind(this,function(a){t();this.fileCreated(a,b,e,g,n)}),f);else if(d==App.MODE_ONEDRIVE&&null!=this.oneDrive)this.oneDrive.insertFile(a,c,mxUtils.bind(this,function(a){t();this.fileCreated(a,b,e,g,n)}),f,!1,k);else if(d==App.MODE_BROWSER){t();var l=mxUtils.bind(this,function(){var d=new StorageFile(this,c,a);d.saveFile(a,!1,mxUtils.bind(this,function(){this.fileCreated(d,b,e,g,n)}),f)});null==localStorage.getItem(a)? +l():this.confirm(mxResources.get("replaceIt",[a]),l,mxUtils.bind(this,function(){null==this.getCurrentFile()&&null==this.dialog&&this.showSplash()}))}else t(),this.fileCreated(new LocalFile(this,c,a,null==d),b,e,g,n)}catch(p){t(),this.handleError(p)}}}; +App.prototype.fileCreated=function(a,c,b,d,g){var e=window.location.pathname;null!=c&&0<c.length&&(e+="?libs="+c);null!=g&&0<g.length&&(e+="?clibs="+g);e=this.getUrl(e);a.getMode()!=App.MODE_DEVICE&&(e+="#"+a.getHash());if(this.spinner.spin(document.body,mxResources.get("inserting"))){var k=a.getData(),k=0<k.length?this.editor.extractGraphModel(mxUtils.parseXml(k).documentElement,!0):null,m=window.location.protocol+"//"+window.location.hostname+e,n=k,t=null;null!=k&&/\.svg$/i.test(a.getTitle())&& +(t=this.createTemporaryGraph(this.editor.graph.getStylesheet()),document.body.appendChild(t.container),n=this.decodeNodeIntoGraph(n,t));a.setData(this.createFileData(k,t,a,m));null!=t&&t.container.parentNode.removeChild(t.container);var f=mxUtils.bind(this,function(){this.spinner.stop()}),l=mxUtils.bind(this,function(){f();var k=this.getCurrentFile();null==b&&null!=k&&(b=!k.isModified()&&null==k.getMode());var l=mxUtils.bind(this,function(){window.openFile=null;this.fileLoaded(a);b&&a.addAllSavedStatus(); null!=c&&this.sidebar.showEntries(c);if(null!=g){for(var d=[],e=g.split(";"),f=0;f<e.length;f++)d.push(decodeURIComponent(e[f]));this.loadLibraries(d)}}),n=mxUtils.bind(this,function(){b||null==k||!k.isModified()?l():this.confirm(mxResources.get("allChangesLost"),null,l,mxResources.get("cancel"),mxResources.get("discardChanges"))});null!=d&&d();null==b||b?n():(a.constructor==LocalFile&&(window.openFile=new OpenFile(function(){window.openFile=null}),window.openFile.setData(a.getData(),a.getTitle(), null==a.getMode())),null!=d&&d(),window.openWindow(e,null,n))});a.constructor==LocalFile?l():a.saveFile(a.getTitle(),!1,mxUtils.bind(this,function(){l()}),mxUtils.bind(this,function(a){f();this.handleError(a)}))}}; App.prototype.loadFile=function(a,c,b,d,g){this.hideDialog();var e=mxUtils.bind(this,function(){if(null==a||0==a.length)this.editor.setStatus(""),this.fileLoaded(null);else if(this.spinner.spin(document.body,mxResources.get("loading")))if("L"==a.charAt(0))if(this.spinner.stop(),isLocalStorage)try{a=decodeURIComponent(a.substring(1));var e=localStorage.getItem(a);if(null!=e)this.fileLoaded(new StorageFile(this,e,a)),null!=d&&d();else throw{message:mxResources.get("fileNotFound")};}catch(p){this.handleError(p, @@ -9193,8 +9181,8 @@ mxResources.get("browser")+")":a.constructor==LocalLibrary&&(c+=" ("+mxResources App.prototype.loadLibraries=function(a,c){if(null!=this.sidebar){null==this.pendingLibraries&&(this.pendingLibraries={});var b=mxUtils.bind(this,function(a,b){b||mxSettings.removeCustomLibrary(a);delete this.pendingLibraries[a]}),d=0,g=[],e=mxUtils.bind(this,function(){if(0==d){if(null!=a)for(var b=a.length-1;0<=b;b--)null!=g[b]&&this.loadLibrary(g[b]);null!=c&&c()}});if(null!=a)for(var k=0;k<a.length;k++){var m=encodeURIComponent(decodeURIComponent(a[k]));mxUtils.bind(this,function(a,c){if(null!= a&&0<a.length&&null==this.pendingLibraries[a]&&null==this.sidebar.palettes[a]){d++;var f=mxUtils.bind(this,function(b){delete this.pendingLibraries[a];g[c]=b;d--;e()}),k=mxUtils.bind(this,function(c){b(a,c);d--;e()});this.pendingLibraries[a]=!0;var n=a.substring(0,1);if("L"==n)(isLocalStorage||mxClient.IS_CHROMEAPP)&&window.setTimeout(mxUtils.bind(this,function(){try{var b=decodeURIComponent(a.substring(1));this.getLocalData(b,mxUtils.bind(this,function(a){".scratchpad"==b&&null==a&&(a=this.emptyLibraryXml); null!=a?f(new StorageLibrary(this,a,b)):k()}))}catch(y){k()}}),0);else if("U"==n){var m=decodeURIComponent(a.substring(1));if(!this.isOffline()){n=m;this.editor.isCorsEnabledForUrl(n)||(n="t="+(new Date).getTime(),n=PROXY_URL+"?url="+encodeURIComponent(m)+"&"+n);try{mxUtils.get(n,mxUtils.bind(this,function(a){if(200<=a.getStatus()&&299>=a.getStatus())try{f(new UrlLibrary(this,a.getText(),m))}catch(y){k()}else k()}),function(){k()})}catch(z){k()}}}else if("R"==n){if(n=decodeURIComponent(a.substring(1)), -!this.isOffline())try{var n=JSON.parse(n),q={id:n[0],title:n[1],downloadUrl:n[2]};this.remoteInvoke("getFileContent",[q.downloadUrl],null,mxUtils.bind(this,function(a){try{f(new RemoteLibrary(this,a,q))}catch(y){k()}}),function(){k()})}catch(z){k()}}else if("S"==n&&null!=this.loadDesktopLib)try{this.loadDesktopLib(decodeURIComponent(a.substring(1)),function(a){f(a)},k)}catch(z){k()}else{var t=null;"G"==n?null!=this.drive&&null!=this.drive.user&&(t=this.drive):"H"==n?null!=this.gitHub&&null!=this.gitHub.getUser()&& -(t=this.gitHub):"T"==n?null!=this.trello&&this.trello.isAuthorized()&&(t=this.trello):"D"==n?null!=this.dropbox&&null!=this.dropbox.getUser()&&(t=this.dropbox):"W"==n&&null!=this.oneDrive&&null!=this.oneDrive.getUser()&&(t=this.oneDrive);null!=t?t.getLibrary(decodeURIComponent(a.substring(1)),mxUtils.bind(this,function(a){try{f(a)}catch(y){k()}}),function(a){k()}):k(!0)}}})(m,k)}e()}}; +!this.isOffline())try{var n=JSON.parse(n),t={id:n[0],title:n[1],downloadUrl:n[2]};this.remoteInvoke("getFileContent",[t.downloadUrl],null,mxUtils.bind(this,function(a){try{f(new RemoteLibrary(this,a,t))}catch(y){k()}}),function(){k()})}catch(z){k()}}else if("S"==n&&null!=this.loadDesktopLib)try{this.loadDesktopLib(decodeURIComponent(a.substring(1)),function(a){f(a)},k)}catch(z){k()}else{var q=null;"G"==n?null!=this.drive&&null!=this.drive.user&&(q=this.drive):"H"==n?null!=this.gitHub&&null!=this.gitHub.getUser()&& +(q=this.gitHub):"T"==n?null!=this.trello&&this.trello.isAuthorized()&&(q=this.trello):"D"==n?null!=this.dropbox&&null!=this.dropbox.getUser()&&(q=this.dropbox):"W"==n&&null!=this.oneDrive&&null!=this.oneDrive.getUser()&&(q=this.oneDrive);null!=q?q.getLibrary(decodeURIComponent(a.substring(1)),mxUtils.bind(this,function(a){try{f(a)}catch(y){k()}}),function(a){k()}):k(!0)}}})(m,k)}e()}}; App.prototype.updateButtonContainer=function(){if(null!=this.buttonContainer){var a=this.getCurrentFile();this.commentsSupported()?null==this.commentButton&&(this.commentButton=document.createElement("a"),this.commentButton.setAttribute("title",mxResources.get("comments")),this.commentButton.className="geToolbarButton",this.commentButton.style.cssText="display:inline-block;position:relative;box-sizing:border-box;margin-right:4px;float:left;cursor:pointer;width:24px;height:24px;background-size:24px 24px;background-position:center center;background-repeat:no-repeat;background-image:url("+ Editor.commentImage+");","atlas"==uiTheme?(this.commentButton.style.marginRight="10px",this.commentButton.style.marginTop="-3px"):this.commentButton.style.marginTop="min"==uiTheme?"1px":"-5px",mxEvent.addListener(this.commentButton,"click",mxUtils.bind(this,function(){this.actions.get("comments").funct()})),this.buttonContainer.appendChild(this.commentButton),"dark"==uiTheme||"atlas"==uiTheme)&&(this.commentButton.style.filter="invert(100%)"):null!=this.commentButton&&(this.commentButton.parentNode.removeChild(this.commentButton), this.commentButton=null);null!=a&&a.constructor==DriveFile?null==this.shareButton&&(this.shareButton=document.createElement("div"),this.shareButton.className="geBtn gePrimaryBtn",this.shareButton.style.display="inline-block",this.shareButton.style.backgroundColor="#F2931E",this.shareButton.style.borderColor="#F08705",this.shareButton.style.backgroundImage="none",this.shareButton.style.padding="2px 10px 0 10px",this.shareButton.style.marginTop="-10px",this.shareButton.style.height="28px",this.shareButton.style.lineHeight= @@ -9211,9 +9199,9 @@ App.prototype.descriptorChanged=function(){var a=this.getCurrentFile();if(null!= window.location.hash=a:0<window.location.hash.length&&(window.location.hash=""))}this.updateUi();null!=this.format&&this.editor.graph.isSelectionEmpty()&&this.format.refresh()}; App.prototype.showAuthDialog=function(a,c,b,d){var g=this.spinner.pause();this.showDialog((new AuthDialog(this,a,c,mxUtils.bind(this,function(a){try{null!=b&&b(a,mxUtils.bind(this,function(){this.hideDialog();g()}))}catch(k){this.editor.setStatus(mxUtils.htmlEntities(k.message))}}))).container,300,c?180:140,!0,!0,mxUtils.bind(this,function(a){null!=d&&d();a&&null==this.getCurrentFile()&&null==this.dialog&&this.showSplash()}))}; App.prototype.convertFile=function(a,c,b,d,g,e){var k=c;/\.svg$/i.test(k)||(k=k.substring(0,c.lastIndexOf("."))+d);var m=!1;null!=this.gitHub&&a.substring(0,this.gitHub.baseUrl.length)==this.gitHub.baseUrl&&(m=!0);if(/\.v(dx|sdx?)$/i.test(c)&&Graph.fileSupport&&(new XMLHttpRequest).upload&&"string"===typeof(new XMLHttpRequest).responseType){var n=new XMLHttpRequest;n.open("GET",a,!0);m||(n.responseType="blob");n.onload=mxUtils.bind(this,function(){if(200<=n.status&&299>=n.status){var a=null;m?(a= -JSON.parse(n.responseText),a=this.base64ToBlob(a.content,"application/octet-stream")):a=new Blob([n.response],{type:"application/octet-stream"});this.importVisio(a,mxUtils.bind(this,function(a){g(new LocalFile(this,a,k,!0))}),e,c)}else null!=e&&e({message:mxResources.get("errorLoadingFile")})});n.onerror=e;n.send()}else{var q=mxUtils.bind(this,function(b){try{/\.png$/i.test(c)?(temp=this.extractGraphModelFromPng(b),null!=temp?g(new LocalFile(this,temp,k,!0)):g(new LocalFile(this,b,c,!0))):Graph.fileSupport&& +JSON.parse(n.responseText),a=this.base64ToBlob(a.content,"application/octet-stream")):a=new Blob([n.response],{type:"application/octet-stream"});this.importVisio(a,mxUtils.bind(this,function(a){g(new LocalFile(this,a,k,!0))}),e,c)}else null!=e&&e({message:mxResources.get("errorLoadingFile")})});n.onerror=e;n.send()}else{var t=mxUtils.bind(this,function(b){try{/\.png$/i.test(c)?(temp=this.extractGraphModelFromPng(b),null!=temp?g(new LocalFile(this,temp,k,!0)):g(new LocalFile(this,b,c,!0))):Graph.fileSupport&& (new XMLHttpRequest).upload&&this.isRemoteFileFormat(b,a)?this.parseFile(new Blob([b],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){4==a.readyState&&(200<=a.status&&299>=a.status?g(new LocalFile(this,a.responseText,k,!0)):null!=e&&e({message:mxResources.get("errorLoadingFile")}))}),c):g(new LocalFile(this,b,k,!0))}catch(l){null!=e&&e(l)}});b=/\.png$/i.test(c)||/\.jpe?g$/i.test(c)||null!=b&&"image/"==b.substring(0,6);m?mxUtils.get(a,mxUtils.bind(this,function(a){if(200<=a.getStatus()&& -299>=a.getStatus()){if(null!=g){a=JSON.parse(a.getText());var b=a.content;"base64"===a.encoding&&(b=/\.png$/i.test(c)?"data:image/png;base64,"+b:!window.atob||mxClient.IS_IE||mxClient.IS_IE11?Base64.decode(b):atob(b));q(b)}}else null!=e&&e({code:App.ERROR_UNKNOWN})}),function(){null!=e&&e({code:App.ERROR_UNKNOWN})},!1,this.timeout,function(){null!=e&&e({code:App.ERROR_TIMEOUT,retry:fn})}):this.loadUrl(a,q,e,b)}}; +299>=a.getStatus()){if(null!=g){a=JSON.parse(a.getText());var b=a.content;"base64"===a.encoding&&(b=/\.png$/i.test(c)?"data:image/png;base64,"+b:!window.atob||mxClient.IS_IE||mxClient.IS_IE11?Base64.decode(b):atob(b));t(b)}}else null!=e&&e({code:App.ERROR_UNKNOWN})}),function(){null!=e&&e({code:App.ERROR_UNKNOWN})},!1,this.timeout,function(){null!=e&&e({code:App.ERROR_TIMEOUT,retry:fn})}):this.loadUrl(a,t,e,b)}}; App.prototype.updateHeader=function(){if(null!=this.menubar){this.appIcon=document.createElement("a");this.appIcon.style.display="block";this.appIcon.style.position="absolute";this.appIcon.style.width="28px";this.appIcon.style.height=this.menubarHeight-28+"px";this.appIcon.style.margin="14px 0px 8px 20px";this.appIcon.style.opacity="0.75";this.appIcon.style.borderRadius="3px";"dark"!=uiTheme&&(this.appIcon.style.backgroundColor="#f08705");mxEvent.disableContextMenu(this.appIcon);mxEvent.addListener(this.appIcon, "click",mxUtils.bind(this,function(a){this.appIconClicked(a)}));var a=mxClient.IS_SVG?"dark"==uiTheme?"url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIKICAgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMzA2LjE4NSAxMjAuMjk2IgogICB2aWV3Qm94PSIyNCAyNiA2OCA2OCIKICAgeT0iMHB4IgogICB4PSIwcHgiCiAgIHZlcnNpb249IjEuMSI+CiAgIAkgPGc+PGxpbmUKICAgICAgIHkyPSI3Mi4zOTQiCiAgICAgICB4Mj0iNDEuMDYxIgogICAgICAgeTE9IjQzLjM4NCIKICAgICAgIHgxPSI1OC4wNjkiCiAgICAgICBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiCiAgICAgICBzdHJva2Utd2lkdGg9IjMuNTUyOCIKICAgICAgIHN0cm9rZT0iI0ZGRkZGRiIKICAgICAgIGZpbGw9Im5vbmUiIC8+PGxpbmUKICAgICAgIHkyPSI3Mi4zOTQiCiAgICAgICB4Mj0iNzUuMDc2IgogICAgICAgeTE9IjQzLjM4NCIKICAgICAgIHgxPSI1OC4wNjgiCiAgICAgICBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiCiAgICAgICBzdHJva2Utd2lkdGg9IjMuNTAwOCIKICAgICAgIHN0cm9rZT0iI0ZGRkZGRiIKICAgICAgIGZpbGw9Im5vbmUiIC8+PGc+PHBhdGgKICAgICAgICAgZD0iTTUyLjc3Myw3Ny4wODRjMCwxLjk1NC0xLjU5OSwzLjU1My0zLjU1MywzLjU1M0gzNi45OTljLTEuOTU0LDAtMy41NTMtMS41OTktMy41NTMtMy41NTN2LTkuMzc5ICAgIGMwLTEuOTU0LDEuNTk5LTMuNTUzLDMuNTUzLTMuNTUzaDEyLjIyMmMxLjk1NCwwLDMuNTUzLDEuNTk5LDMuNTUzLDMuNTUzVjc3LjA4NHoiCiAgICAgICAgIGZpbGw9IiNGRkZGRkYiIC8+PC9nPjxnCiAgICAgICBpZD0iZzM0MTkiPjxwYXRoCiAgICAgICAgIGQ9Ik02Ny43NjIsNDguMDc0YzAsMS45NTQtMS41OTksMy41NTMtMy41NTMsMy41NTNINTEuOTg4Yy0xLjk1NCwwLTMuNTUzLTEuNTk5LTMuNTUzLTMuNTUzdi05LjM3OSAgICBjMC0xLjk1NCwxLjU5OS0zLjU1MywzLjU1My0zLjU1M0g2NC4yMWMxLjk1NCwwLDMuNTUzLDEuNTk5LDMuNTUzLDMuNTUzVjQ4LjA3NHoiCiAgICAgICAgIGZpbGw9IiNGRkZGRkYiIC8+PC9nPjxnPjxwYXRoCiAgICAgICAgIGQ9Ik04Mi43NTIsNzcuMDg0YzAsMS45NTQtMS41OTksMy41NTMtMy41NTMsMy41NTNINjYuOTc3Yy0xLjk1NCwwLTMuNTUzLTEuNTk5LTMuNTUzLTMuNTUzdi05LjM3OSAgICBjMC0xLjk1NCwxLjU5OS0zLjU1MywzLjU1My0zLjU1M2gxMi4yMjJjMS45NTQsMCwzLjU1MywxLjU5OSwzLjU1MywzLjU1M1Y3Ny4wODR6IgogICAgICAgICBmaWxsPSIjRkZGRkZGIiAvPjwvZz48L2c+PC9zdmc+)": "url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJFYmVuZV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMjI1IDIyNSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjI1IDIyNTsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MXtmaWxsOiNERjZDMEM7fQoJLnN0MntmaWxsOiNGRkZGRkY7fQo8L3N0eWxlPgo8cGF0aCBjbGFzcz0ic3QxIiBkPSJNMjI1LDIxNS40YzAsNS4zLTQuMyw5LjYtOS41LDkuNmwwLDBINzcuMWwtNDQuOC00NS41TDYwLjIsMTM0bDgyLjctMTAyLjdsODIuMSw4NC41VjIxNS40eiIvPgo8cGF0aCBjbGFzcz0ic3QyIiBkPSJNMTg0LjYsMTI1LjhoLTIzLjdsLTI1LTQyLjdjNS43LTEuMiw5LjgtNi4yLDkuNy0xMlYzOWMwLTYuOC01LjQtMTIuMy0xMi4yLTEyLjNoLTAuMUg5MS42CgljLTYuOCwwLTEyLjMsNS40LTEyLjMsMTIuMlYzOXYzMi4xYzAsNS44LDQsMTAuOCw5LjcsMTJsLTI1LDQyLjdINDAuNGMtNi44LDAtMTIuMyw1LjQtMTIuMywxMi4ydjAuMXYzMi4xCgljMCw2LjgsNS40LDEyLjMsMTIuMiwxMi4zaDAuMWg0MS43YzYuOCwwLDEyLjMtNS40LDEyLjMtMTIuMnYtMC4xdi0zMi4xYzAtNi44LTUuNC0xMi4zLTEyLjItMTIuM2gtMC4xaC00bDI0LjgtNDIuNGgxOS4zCglsMjQuOSw0Mi40SDE0M2MtNi44LDAtMTIuMyw1LjQtMTIuMywxMi4ydjAuMXYzMi4xYzAsNi44LDUuNCwxMi4zLDEyLjIsMTIuM2gwLjFoNDEuN2M2LjgsMCwxMi4zLTUuNCwxMi4zLTEyLjJ2LTAuMXYtMzIuMQoJYzAtNi44LTUuNC0xMi4zLTEyLjItMTIuM0MxODQuNywxMjUuOCwxODQuNywxMjUuOCwxODQuNiwxMjUuOHoiLz4KPC9zdmc+Cg==)": @@ -9260,9 +9248,9 @@ var c=Menus.prototype.init;Menus.prototype.init=function(){c.apply(this,argument window.location.hostname||"test.draw.io"==window.location.hostname||"drive.draw.io"==window.location.hostname)&&("1"!=urlParams.embed&&"0"!=urlParams.od||"1"==urlParams.embed&&"1"==urlParams.od)&&!navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&(0>navigator.userAgent.indexOf("MSIE")||10<=document.documentMode),n=("1"!=urlParams.embed&&"0"!=urlParams.tr||"1"==urlParams.embed&&"1"==urlParams.tr)&&mxClient.IS_SVG&&(null==document.documentMode||9<document.documentMode);mxClient.IS_SVG||a.isOffline()|| ((new Image).src=IMAGE_PATH+"/help.png");a.actions.addAction("new...",function(){var b=a.isOffline(),c=new NewDialog(a,b);a.showDialog(c.container,b?350:620,b?70:440,!0,!0,function(b){b&&null==a.getCurrentFile()&&a.showSplash()});c.init()});a.actions.put("exportSvg",new Action(mxResources.get("formatSvg")+"...",function(){a.showExportDialog(mxResources.get("formatSvg"),!0,mxResources.get("export"),"https://support.draw.io/display/DO/Exporting+Files",mxUtils.bind(this,function(b,c,d,e,f,g,k,l,m,n){b= parseInt(b);!isNaN(b)&&0<b&&a.exportSvg(b/100,c,d,e,f,g,k,!l,m,n)}),!0,null,"svg")}));a.actions.put("insertTemplate",new Action(mxResources.get("template")+"...",function(){var b=new NewDialog(a,null,!1,function(b){a.hideDialog();if(null!=b){var c=a.editor.graph.getFreeInsertPoint();d.setSelectionCells(a.importXml(b,Math.max(c.x,20),Math.max(c.y,20),!0));d.scrollCellToVisible(d.getSelectionCell())}},null,null,null,null,null,null,null,null,null,null,!1,mxResources.get("insert"));a.showDialog(b.container, -620,440,!0,!0)})).isEnabled=g;var q=a.actions.addAction("points",function(){a.editor.graph.view.setUnit(mxConstants.POINTS)});q.setToggleAction(!0);q.setSelectedCallback(function(){return a.editor.graph.view.unit==mxConstants.POINTS});q=a.actions.addAction("inches",function(){a.editor.graph.view.setUnit(mxConstants.INCHES)});q.setToggleAction(!0);q.setSelectedCallback(function(){return a.editor.graph.view.unit==mxConstants.INCHES});q=a.actions.addAction("millimeters",function(){a.editor.graph.view.setUnit(mxConstants.MILLIMETERS)}); -q.setToggleAction(!0);q.setSelectedCallback(function(){return a.editor.graph.view.unit==mxConstants.MILLIMETERS});this.put("units",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,["points","millimeters"],b)})));q=a.actions.addAction("ruler",function(){mxSettings.setRulerOn(!mxSettings.isRulerOn());mxSettings.save();null!=a.ruler?(a.ruler.destroy(),a.ruler=null):a.ruler=new mxDualRuler(a,a.editor.graph.view.unit);a.refresh()});q.setEnabled(a.canvasSupported&&9!=document.documentMode); -q.setToggleAction(!0);q.setSelectedCallback(function(){return null!=a.ruler});window.mxFreehand&&(a.actions.put("insertFreehand",new Action(mxResources.get("freehand")+"...",function(b){d.isEnabled()&&(null==this.freehandWindow&&(this.freehandWindow=new FreehandWindow(a,document.body.offsetWidth-420,102,176,104)),d.freehand.isDrawing()?d.freehand.stopDrawing():d.freehand.startDrawing(),this.freehandWindow.window.setVisible(d.freehand.isDrawing()))})).isEnabled=function(){return g()&&mxClient.IS_SVG}); +620,440,!0,!0)})).isEnabled=g;var t=a.actions.addAction("points",function(){a.editor.graph.view.setUnit(mxConstants.POINTS)});t.setToggleAction(!0);t.setSelectedCallback(function(){return a.editor.graph.view.unit==mxConstants.POINTS});t=a.actions.addAction("inches",function(){a.editor.graph.view.setUnit(mxConstants.INCHES)});t.setToggleAction(!0);t.setSelectedCallback(function(){return a.editor.graph.view.unit==mxConstants.INCHES});t=a.actions.addAction("millimeters",function(){a.editor.graph.view.setUnit(mxConstants.MILLIMETERS)}); +t.setToggleAction(!0);t.setSelectedCallback(function(){return a.editor.graph.view.unit==mxConstants.MILLIMETERS});this.put("units",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,["points","millimeters"],b)})));t=a.actions.addAction("ruler",function(){mxSettings.setRulerOn(!mxSettings.isRulerOn());mxSettings.save();null!=a.ruler?(a.ruler.destroy(),a.ruler=null):a.ruler=new mxDualRuler(a,a.editor.graph.view.unit);a.refresh()});t.setEnabled(a.canvasSupported&&9!=document.documentMode); +t.setToggleAction(!0);t.setSelectedCallback(function(){return null!=a.ruler});window.mxFreehand&&(a.actions.put("insertFreehand",new Action(mxResources.get("freehand")+"...",function(b){d.isEnabled()&&(null==this.freehandWindow&&(this.freehandWindow=new FreehandWindow(a,document.body.offsetWidth-420,102,176,104)),d.freehand.isDrawing()?d.freehand.stopDrawing():d.freehand.startDrawing(),this.freehandWindow.window.setVisible(d.freehand.isDrawing()))})).isEnabled=function(){return g()&&mxClient.IS_SVG}); a.actions.put("exportXml",new Action(mxResources.get("formatXml")+"...",function(){var b=document.createElement("div");b.style.whiteSpace="nowrap";var c=null==a.pages||1>=a.pages.length,e=document.createElement("h3");mxUtils.write(e,mxResources.get("formatXml"));e.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:4px";b.appendChild(e);var f=a.addCheckbox(b,mxResources.get("selectionOnly"),!1,d.isSelectionEmpty()),g=a.addCheckbox(b,mxResources.get("compressed"),!0),k=a.addCheckbox(b, mxResources.get("allPages"),!c,c);k.style.marginBottom="16px";mxEvent.addListener(f,"change",function(){f.checked?k.setAttribute("disabled","disabled"):k.removeAttribute("disabled")});b=new CustomDialog(a,b,mxUtils.bind(this,function(){a.downloadFile("xml",!g.checked,null,!f.checked,c||!k.checked)}),null,mxResources.get("export"));a.showDialog(b.container,300,180,!0,!0)}));a.actions.put("exportUrl",new Action(mxResources.get("url")+"...",function(){a.showPublishLinkDialog(mxResources.get("url"),!0, null,null,function(b,c,d,e,f,g){b=new EmbedDialog(a,a.createLink(b,c,d,e,f,g,null,!0));a.showDialog(b.container,440,240,!0,!0);b.init()})}));a.actions.put("exportHtml",new Action(mxResources.get("formatHtmlEmbedded")+"...",function(){a.spinner.spin(document.body,mxResources.get("loading"))&&a.getPublicUrl(a.getCurrentFile(),function(b){a.spinner.stop();a.showHtmlDialog(mxResources.get("export"),null,b,function(b,c,d,e,f,g,k,l,m,n){a.createHtml(b,c,d,e,f,g,k,l,m,n,mxUtils.bind(this,function(b,c){var d= @@ -9272,24 +9260,24 @@ a.getBaseFilename(k),e='\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" conten !1,!1),a.pdfPageExport||mxEvent.addListener(k,"change",e);c=new CustomDialog(a,c,mxUtils.bind(this,function(){a.downloadFile("pdf",null,null,!k.checked,b?!0:!g.checked,!l.checked,null,null,null,m.checked)}),null,mxResources.get("export"));a.showDialog(c.container,300,f,!0,!0)}else a.showDialog((new PrintDialog(a,mxResources.get("formatPdf"))).container,360,null!=a.pages&&1<a.pages.length?420:360,!0,!0)}));a.actions.addAction("open...",function(){a.pickFile()});a.actions.addAction("close",function(){function b(){a.fileLoaded(null)} var c=a.getCurrentFile();null!=c&&c.isModified()?a.confirm(mxResources.get("allChangesLost"),null,b,mxResources.get("cancel"),mxResources.get("discardChanges")):b()});a.actions.addAction("editShape...",mxUtils.bind(this,function(){d.getSelectionCells();if(1==d.getSelectionCount()){var b=d.getSelectionCell(),c=d.view.getState(b);null!=c&&null!=c.shape&&null!=c.shape.stencil&&(b=new EditShapeDialog(a,b,mxResources.get("editShape")+":",630,400),a.showDialog(b.container,640,480,!0,!1),b.init())}}));a.actions.addAction("revisionHistory...", function(){a.isRevisionHistorySupported()?a.spinner.spin(document.body,mxResources.get("loading"))&&a.getRevisions(mxUtils.bind(this,function(b,c){a.spinner.stop();var d=new RevisionDialog(a,b,c);a.showDialog(d.container,640,480,!0,!0);d.init()}),mxUtils.bind(this,function(b){a.handleError(b)})):a.showError(mxResources.get("error"),mxResources.get("notAvailable"),mxResources.get("ok"))});a.actions.addAction("createRevision",function(){a.actions.get("save").funct()},null,null,Editor.ctrlKey+"+S"); -q=a.actions.addAction("synchronize",function(){a.synchronizeCurrentFile("none"==DrawioFile.SYNC)},null,null,"Alt+Shift+S");"none"==DrawioFile.SYNC&&(q.label=mxResources.get("refresh"));a.actions.addAction("upload...",function(){var b=a.getCurrentFile();null!=b&&(window.drawdata=a.getFileData(),b=null!=b.getTitle()?b.getTitle():a.defaultFilename,a.openLink(window.location.protocol+"//"+window.location.host+"/?create=drawdata&"+(a.mode==App.MODE_DROPBOX?"mode=dropbox&":"")+"title="+encodeURIComponent(b), -null,!0))});"undefined"!==typeof MathJax&&(q=a.actions.addAction("mathematicalTypesetting",function(){var b=new ChangePageSetup(a);b.ignoreColor=!0;b.ignoreImage=!0;b.mathEnabled=!a.isMathEnabled();d.model.execute(b)}),q.setToggleAction(!0),q.setSelectedCallback(function(){return a.isMathEnabled()}),q.isEnabled=g);if(isLocalStorage||mxClient.IS_CHROMEAPP)q=a.actions.addAction("showStartScreen",function(){mxSettings.setShowStartScreen(!mxSettings.getShowStartScreen());mxSettings.save()}),q.setToggleAction(!0), -q.setSelectedCallback(function(){return mxSettings.getShowStartScreen()});var f=a.actions.addAction("autosave",function(){a.editor.setAutosave(!a.editor.autosave)});f.setToggleAction(!0);f.setSelectedCallback(function(){return f.isEnabled()&&a.editor.autosave});a.actions.addAction("editGeometry...",function(){for(var b=d.getSelectionCells(),c=[],e=0;e<b.length;e++)d.getModel().isVertex(b[e])&&c.push(b[e]);0<c.length&&(b=new EditGeometryDialog(a,c),a.showDialog(b.container,200,250,!0,!0),b.init())}, +t=a.actions.addAction("synchronize",function(){a.synchronizeCurrentFile("none"==DrawioFile.SYNC)},null,null,"Alt+Shift+S");"none"==DrawioFile.SYNC&&(t.label=mxResources.get("refresh"));a.actions.addAction("upload...",function(){var b=a.getCurrentFile();null!=b&&(window.drawdata=a.getFileData(),b=null!=b.getTitle()?b.getTitle():a.defaultFilename,a.openLink(window.location.protocol+"//"+window.location.host+"/?create=drawdata&"+(a.mode==App.MODE_DROPBOX?"mode=dropbox&":"")+"title="+encodeURIComponent(b), +null,!0))});"undefined"!==typeof MathJax&&(t=a.actions.addAction("mathematicalTypesetting",function(){var b=new ChangePageSetup(a);b.ignoreColor=!0;b.ignoreImage=!0;b.mathEnabled=!a.isMathEnabled();d.model.execute(b)}),t.setToggleAction(!0),t.setSelectedCallback(function(){return a.isMathEnabled()}),t.isEnabled=g);if(isLocalStorage||mxClient.IS_CHROMEAPP)t=a.actions.addAction("showStartScreen",function(){mxSettings.setShowStartScreen(!mxSettings.getShowStartScreen());mxSettings.save()}),t.setToggleAction(!0), +t.setSelectedCallback(function(){return mxSettings.getShowStartScreen()});var f=a.actions.addAction("autosave",function(){a.editor.setAutosave(!a.editor.autosave)});f.setToggleAction(!0);f.setSelectedCallback(function(){return f.isEnabled()&&a.editor.autosave});a.actions.addAction("editGeometry...",function(){for(var b=d.getSelectionCells(),c=[],e=0;e<b.length;e++)d.getModel().isVertex(b[e])&&c.push(b[e]);0<c.length&&(b=new EditGeometryDialog(a,c),a.showDialog(b.container,200,250,!0,!0),b.init())}, null,null,Editor.ctrlKey+"+Shift+M");var l="rounded shadow dashed dashPattern fontFamily fontSize fontColor fontStyle align verticalAlign strokeColor strokeWidth fillColor gradientColor swimlaneFillColor textOpacity gradientDirection glass labelBackgroundColor labelBorderColor opacity spacing spacingTop spacingLeft spacingBottom spacingRight endFill endArrow endSize targetPerimeterSpacing startFill startArrow startSize sourcePerimeterSpacing arcSize".split(" ");a.actions.addAction("copyStyle",function(){var b= d.view.getState(d.getSelectionCell());if(d.isEnabled()&&null!=b){a.copiedStyle=mxUtils.clone(b.style);for(var b=d.getModel().getStyle(b.cell),b=null!=b?b.split(";"):[],c=0;c<b.length;c++){var e=b[c],f=e.indexOf("=");if(0<=f){var g=e.substring(0,f),e=e.substring(f+1);null==a.copiedStyle[g]&&"none"==e&&(a.copiedStyle[g]="none")}}}},null,null,Editor.ctrlKey+"+Shift+C");a.actions.addAction("pasteStyle",function(){if(d.isEnabled()&&!d.isSelectionEmpty()&&null!=a.copiedStyle){d.getModel().beginUpdate(); try{for(var b=d.getSelectionCells(),c=0;c<b.length;c++)for(var e=d.view.getState(b[c]),f=0;f<l.length;f++){var g=l[f],k=a.copiedStyle[g];e.style[g]!=k&&d.setCellStyles(g,k,[b[c]])}}finally{d.getModel().endUpdate()}}},null,null,Editor.ctrlKey+"+Shift+V");a.actions.put("pageBackgroundImage",new Action(mxResources.get("backgroundImage")+"...",function(){if(!a.isOffline()){var b=new BackgroundImageDialog(a,function(b){a.setBackgroundImage(b)});a.showDialog(b.container,320,170,!0,!0);b.init()}}));a.actions.put("exportPng", new Action(mxResources.get("formatPng")+"...",function(){a.isExportToCanvas()?a.showExportDialog(mxResources.get("image"),!1,mxResources.get("export"),"https://support.draw.io/display/DO/Exporting+Files",mxUtils.bind(this,function(b,c,d,e,f,g,k,l,m,n,p){b=parseInt(b);!isNaN(b)&&0<b&&a.exportImage(b/100,c,d,e,f,k,!l,m,null,p)}),!0,!0,"png"):a.isOffline()||mxClient.IS_IOS&&navigator.standalone||a.showRemoteExportDialog(mxResources.get("export"),null,mxUtils.bind(this,function(b,c,d,e,f){a.downloadFile(c? "xmlpng":"png",null,null,b,null,null,d,e,f)}),!1,!0)}));a.actions.put("exportJpg",new Action(mxResources.get("formatJpg")+"...",function(){a.isExportToCanvas()?a.showExportDialog(mxResources.get("image"),!1,mxResources.get("export"),"https://support.draw.io/display/DO/Exporting+Files",mxUtils.bind(this,function(b,c,d,e,f,g,k,l,m,n,p){b=parseInt(b);!isNaN(b)&&0<b&&a.exportImage(b/100,!1,d,e,!1,k,!l,!1,"jpeg",p)}),!0,!1,"jpeg"):a.isOffline()||mxClient.IS_IOS&&navigator.standalone||a.showRemoteExportDialog(mxResources.get("export"), -null,mxUtils.bind(this,function(b,c,d,e,f){a.downloadFile("jpeg",null,null,b,null,null,null,e,f)}),!0,!0)}));q=a.actions.put("shadowVisible",new Action(mxResources.get("shadow"),function(){d.setShadowVisible(!d.shadowVisible)}));q.setToggleAction(!0);q.setSelectedCallback(function(){return d.shadowVisible});var p=!1;a.actions.put("about",new Action(mxResources.get("aboutDrawio")+"...",function(){p||(a.showDialog((new AboutDialog(a)).container,220,300,!0,!0,function(){p=!1}),p=!0)},null,null,"F1")); +null,mxUtils.bind(this,function(b,c,d,e,f){a.downloadFile("jpeg",null,null,b,null,null,null,e,f)}),!0,!0)}));t=a.actions.put("shadowVisible",new Action(mxResources.get("shadow"),function(){d.setShadowVisible(!d.shadowVisible)}));t.setToggleAction(!0);t.setSelectedCallback(function(){return d.shadowVisible});var p=!1;a.actions.put("about",new Action(mxResources.get("aboutDrawio")+"...",function(){p||(a.showDialog((new AboutDialog(a)).container,220,300,!0,!0,function(){p=!1}),p=!0)},null,null,"F1")); a.actions.addAction("userManual...",function(){a.openLink("https://support.draw.io/display/DO/Draw.io+Online+User+Manual")});a.actions.addAction("support...",function(){a.openLink("https://about.draw.io/support/")});a.actions.addAction("exportOptionsDisabled...",function(){a.handleError({message:mxResources.get("exportOptionsDisabledDetails")},mxResources.get("exportOptionsDisabled"))});a.actions.addAction("keyboardShortcuts...",function(){mxClient.IS_CHROMEAPP||EditorUi.isElectronApp?a.openLink("https://www.draw.io/shortcuts.svg"): -mxClient.IS_SVG?a.openLink("shortcuts.svg"):a.openLink("https://www.draw.io/?lightbox=1#Uhttps%3A%2F%2Fwww.draw.io%2Fshortcuts.svg")});a.actions.addAction("feedback...",function(){var b=new FeedbackDialog(a);a.showDialog(b.container,610,360,!0,!1);b.init()});a.actions.addAction("quickStart...",function(){a.openLink("https://www.youtube.com/watch?v=Z0D96ZikMkc")});q=a.actions.addAction("tags...",mxUtils.bind(this,function(){null==this.tagsWindow?(this.tagsWindow=new TagsWindow(a,document.body.offsetWidth- -380,230,300,120),this.tagsWindow.window.addListener("show",function(){a.fireEvent(new mxEventObject("tags"))}),this.tagsWindow.window.addListener("hide",function(){a.fireEvent(new mxEventObject("tags"))}),this.tagsWindow.window.setVisible(!0),a.fireEvent(new mxEventObject("tags"))):this.tagsWindow.window.setVisible(!this.tagsWindow.window.isVisible())}));q.setToggleAction(!0);q.setSelectedCallback(mxUtils.bind(this,function(){return null!=this.tagsWindow&&this.tagsWindow.window.isVisible()}));q=a.actions.addAction("find...", -mxUtils.bind(this,function(){null==this.findWindow?(this.findWindow=new FindWindow(a,document.body.offsetWidth-300,110,240,140),this.findWindow.window.addListener("show",function(){a.fireEvent(new mxEventObject("find"))}),this.findWindow.window.addListener("hide",function(){a.fireEvent(new mxEventObject("find"))}),this.findWindow.window.setVisible(!0),a.fireEvent(new mxEventObject("find"))):this.findWindow.window.setVisible(!this.findWindow.window.isVisible())}));q.setToggleAction(!0);q.setSelectedCallback(mxUtils.bind(this, +mxClient.IS_SVG?a.openLink("shortcuts.svg"):a.openLink("https://www.draw.io/?lightbox=1#Uhttps%3A%2F%2Fwww.draw.io%2Fshortcuts.svg")});a.actions.addAction("feedback...",function(){var b=new FeedbackDialog(a);a.showDialog(b.container,610,360,!0,!1);b.init()});a.actions.addAction("quickStart...",function(){a.openLink("https://www.youtube.com/watch?v=Z0D96ZikMkc")});t=a.actions.addAction("tags...",mxUtils.bind(this,function(){null==this.tagsWindow?(this.tagsWindow=new TagsWindow(a,document.body.offsetWidth- +380,230,300,120),this.tagsWindow.window.addListener("show",function(){a.fireEvent(new mxEventObject("tags"))}),this.tagsWindow.window.addListener("hide",function(){a.fireEvent(new mxEventObject("tags"))}),this.tagsWindow.window.setVisible(!0),a.fireEvent(new mxEventObject("tags"))):this.tagsWindow.window.setVisible(!this.tagsWindow.window.isVisible())}));t.setToggleAction(!0);t.setSelectedCallback(mxUtils.bind(this,function(){return null!=this.tagsWindow&&this.tagsWindow.window.isVisible()}));t=a.actions.addAction("find...", +mxUtils.bind(this,function(){null==this.findWindow?(this.findWindow=new FindWindow(a,document.body.offsetWidth-300,110,240,140),this.findWindow.window.addListener("show",function(){a.fireEvent(new mxEventObject("find"))}),this.findWindow.window.addListener("hide",function(){a.fireEvent(new mxEventObject("find"))}),this.findWindow.window.setVisible(!0),a.fireEvent(new mxEventObject("find"))):this.findWindow.window.setVisible(!this.findWindow.window.isVisible())}));t.setToggleAction(!0);t.setSelectedCallback(mxUtils.bind(this, function(){return null!=this.findWindow&&this.findWindow.window.isVisible()}));a.actions.put("exportVsdx",new Action(mxResources.get("formatVsdx")+" (beta)...",function(){a.exportVisio()}));if(mxClient.IS_CHROMEAPP||isLocalStorage&&"1"!=urlParams.offline){this.put("language",new Menu(mxUtils.bind(this,function(b,c){var d=mxUtils.bind(this,function(d){var e=""==d?mxResources.get("automatic"):mxLanguageMap[d],f=null;""!=e&&(f=b.addItem(e,null,mxUtils.bind(this,function(){mxSettings.setLanguage(d);mxSettings.save(); mxClient.language=d;mxResources.loadDefaultBundle=!1;mxResources.add(RESOURCE_BASE);a.alert(mxResources.get("restartForChangeRequired"))}),c),(d==mxLanguage||""==d&&null==mxLanguage)&&b.addCheckmark(f,Editor.checkmarkImage));return f});d("");b.addSeparator(c);for(var e in mxLanguageMap)d(e)})));var u=Menus.prototype.createMenubar;Menus.prototype.createMenubar=function(a){var b=u.apply(this,arguments);if(null!=b){var c=this.get("language");if(null!=c){c=b.addMenu("",c.funct);c.setAttribute("title", mxResources.get("language"));c.style.width="16px";c.style.paddingTop="2px";c.style.paddingLeft="4px";c.style.zIndex="1";c.style.position="absolute";c.style.display="block";c.style.cursor="pointer";c.style.right="17px";"atlas"==uiTheme?(c.style.top="6px",c.style.right="15px"):c.style.top="min"==uiTheme?"2px":"0px";if(mxClient.IS_VML)c.innerHTML='<div class="geIcon geSprite geSprite-globe"/>';else{var d=document.createElement("div");d.style.backgroundImage="url("+Editor.globeImage+")";d.style.backgroundPosition= "center center";d.style.backgroundRepeat="no-repeat";d.style.backgroundSize="19px 19px";d.style.position="absolute";d.style.height="19px";d.style.width="19px";d.style.marginTop="2px";d.style.zIndex="1";c.appendChild(d);mxUtils.setOpacity(c,40);if("atlas"==uiTheme||"dark"==uiTheme)c.style.opacity="0.85",c.style.filter="invert(100%)"}document.body.appendChild(c)}}return b}}a.customLayoutConfig=[{layout:"mxHierarchicalLayout",config:{orientation:"west",intraCellSpacing:30,interRankCellSpacing:100,interHierarchySpacing:60, -parallelEdgeSpacing:10}}];a.actions.addAction("runLayout",function(){var b=new TextareaDialog(a,"Run Layouts:",JSON.stringify(a.customLayoutConfig,null,2),function(b){if(0<b.length)try{var c=JSON.parse(b);a.executeLayoutList(c);a.customLayoutConfig=c}catch(A){a.handleError(A),console.error(A)}});b.textarea.style.width="600px";b.textarea.style.height="380px";a.showDialog(b.container,620,460,!0,!0);b.init()});var q=this.get("layout"),v=q.funct;q.funct=function(b,c){v.apply(this,arguments);b.addSeparator(c); +parallelEdgeSpacing:10}}];a.actions.addAction("runLayout",function(){var b=new TextareaDialog(a,"Run Layouts:",JSON.stringify(a.customLayoutConfig,null,2),function(b){if(0<b.length)try{var c=JSON.parse(b);a.executeLayoutList(c);a.customLayoutConfig=c}catch(B){a.handleError(B),console.error(B)}});b.textarea.style.width="600px";b.textarea.style.height="380px";a.showDialog(b.container,620,460,!0,!0);b.init()});var t=this.get("layout"),v=t.funct;t.funct=function(b,c){v.apply(this,arguments);b.addSeparator(c); a.menus.addMenuItem(b,"runLayout",c,null,null,mxResources.get("apply")+"...")};this.put("help",new Menu(mxUtils.bind(this,function(b,c){if(!mxClient.IS_CHROMEAPP&&a.isOffline())this.addMenuItems(b,["about"],c);else{var d=b.addItem("Search:",null,null,c,null,null,!1);d.style.backgroundColor="dark"==uiTheme?"#505759":"whiteSmoke";d.style.cursor="default";var e=document.createElement("input");e.setAttribute("type","text");e.setAttribute("size","25");e.style.marginLeft="8px";mxEvent.addListener(e,"keydown", mxUtils.bind(this,function(a){var b=mxUtils.trim(e.value);13==a.keyCode&&0<b.length?(this.editorUi.openLink("https://desk.draw.io/support/search/solutions?term="+encodeURIComponent(b)),e.value="",EditorUi.logEvent({category:"SEARCH-HELP",action:"search",label:b}),null!=this.editorUi.menubar&&window.setTimeout(mxUtils.bind(this,function(){this.editorUi.menubar.hideMenu()}),0)):27==a.keyCode&&(e.value="")}));d.firstChild.nextSibling.appendChild(e);mxEvent.addGestureListeners(e,function(a){document.activeElement!= e&&e.focus();mxEvent.consume(a)},function(a){mxEvent.consume(a)},function(a){mxEvent.consume(a)});window.setTimeout(function(){e.focus()},0);this.addMenuItems(b,["-","quickStart","userManual","keyboardShortcuts","-"],c);mxClient.IS_CHROMEAPP||this.addMenuItems(b,["feedback"],c);this.addMenuItems(b,["support","-"],c);EditorUi.isElectronApp||navigator.standalone||"1"==urlParams.embed||this.addMenuItems(b,["downloadDesktop"],c);navigator.standalone||"1"==urlParams.embed||this.addMenuItems(b,["useOffline"], @@ -9299,12 +9287,12 @@ d.insertVertex(d.getDefaultParent(),null,"",a.x/c-b.x,a.y/c-b.y,a.width/c,a.heig ": Visited: "+a)}var c=a.parentNode.id,d=a.childNodes;a={};for(var e={},f=null,g={},k=0;k<d.length;k++){var l=d[k];if(null!=l.id&&0<l.id.length)if(null==a[l.id]){a[l.id]=l.id;var m=l.getAttribute("parent");null==m?null!=f?mxLog.debug(c+": Multiple roots: "+l.id):f=l.id:(null==e[m]&&(e[m]=[]),e[m].push(l.id))}else g[l.id]=l.id}0<Object.keys(g).length?(d=c+": "+Object.keys(g).length+" Duplicates: "+Object.keys(g).join(", "),mxLog.debug(d+" (see console)")):mxLog.debug(c+": Checked");var n={};null== f?mxLog.debug(c+": No root"):(b(f),Object.keys(n).length!=Object.keys(a).length&&(mxLog.debug(c+": Invalid tree: (see console)"),console.log(c+": Invalid tree",e)))};"<"!=b.charAt(0)&&(b=Graph.decompress(b),mxLog.debug("See console for uncompressed XML"),console.log("xml",b));var d=mxUtils.parseXml(b),e=a.getPagesForNode(d.documentElement,"mxGraphModel");if(null!=e&&0<e.length)try{var f=a.getHashValueForPages(e);mxLog.debug("Checksum: ",f)}catch(J){mxLog.debug("Error: ",J.message)}else mxLog.debug("No pages found for checksum"); var g=d.getElementsByTagName("root");for(b=0;b<g.length;b++)c(g[b]);mxLog.show()}catch(J){a.handleError(J),console.error(J)}});b.textarea.style.width="600px";b.textarea.style.height="380px";a.showDialog(b.container,620,460,!0,!0);b.init()})),a.actions.addAction("testDiff",mxUtils.bind(this,function(){if(null!=a.pages){var b=new TextareaDialog(a,"Paste Data:","",function(b){if(0<b.length)try{console.log(JSON.stringify(a.diffPages(a.pages,a.getPagesForNode(mxUtils.parseXml(b).documentElement)),null, -2))}catch(E){a.handleError(E),console.error(E)}});b.textarea.style.width="600px";b.textarea.style.height="380px";a.showDialog(b.container,620,460,!0,!0);b.init()}else a.alert("No pages")})),a.actions.addAction("testInspect",mxUtils.bind(this,function(){console.log(a,d.getModel())})),a.actions.addAction("testXmlImageExport",mxUtils.bind(this,function(){var a=new mxImageExport,b=d.getGraphBounds(),c=d.view.scale,e=mxUtils.createXmlDocument(),f=e.createElement("output");e.appendChild(f);e=new mxXmlCanvas2D(f); +2))}catch(F){a.handleError(F),console.error(F)}});b.textarea.style.width="600px";b.textarea.style.height="380px";a.showDialog(b.container,620,460,!0,!0);b.init()}else a.alert("No pages")})),a.actions.addAction("testInspect",mxUtils.bind(this,function(){console.log(a,d.getModel())})),a.actions.addAction("testXmlImageExport",mxUtils.bind(this,function(){var a=new mxImageExport,b=d.getGraphBounds(),c=d.view.scale,e=mxUtils.createXmlDocument(),f=e.createElement("output");e.appendChild(f);e=new mxXmlCanvas2D(f); e.translate(Math.floor((1-b.x)/c),Math.floor((1-b.y)/c));e.scale(1/c);var g=0,k=e.save;e.save=function(){g++;k.apply(this,arguments)};var l=e.restore;e.restore=function(){g--;l.apply(this,arguments)};var m=a.drawShape;a.drawShape=function(a){mxLog.debug("entering shape",a,g);m.apply(this,arguments);mxLog.debug("leaving shape",a,g)};a.drawState(d.getView().getState(d.model.root),e);mxLog.show();mxLog.debug(mxUtils.getXml(f));mxLog.debug("stateCounter",g)})),a.actions.addAction("testDownloadRtModel...", mxUtils.bind(this,function(){null==a.drive?a.handleError({message:mxResources.get("serviceUnavailableOrBlocked")}):a.drive.execute(mxUtils.bind(this,function(){var b=prompt("File ID","");if(null!=b&&0<b.length&&a.spinner.spin(document.body,mxResources.get("export"))){var c=new mxXmlRequest("https://www.googleapis.com/drive/v2/files/"+b+"/realtime?supportsTeamDrives=true",null,"GET");c.setRequestHeaders=function(b){mxXmlRequest.prototype.setRequestHeaders.apply(this,arguments);b.setRequestHeader("authorization", "Bearer "+a.drive.token)};c.send(function(c){a.spinner.stop();200<=c.getStatus()&&299>=c.getStatus()?a.saveLocalFile(c.getText(),"json-"+b+".txt","text/plain"):a.handleError({message:mxResources.get("fileNotFound")},mxResources.get("errorLoadingFile"))})}}))})),a.actions.addAction("testShowConsole",function(){mxLog.isVisible()?mxLog.window.fit():mxLog.show();mxLog.window.div.style.zIndex=mxPopupMenu.prototype.zIndex-1}),this.put("testDevelop",new Menu(mxUtils.bind(this,function(b,c){this.addMenuItems(b, "createSidebarEntry showBoundingBox - testCheckFile testDiff - testInspect - testXmlImageExport - testDownloadRtModel".split(" "),c);b.addItem(mxResources.get("testImportRtModel")+"...",null,function(){var b=document.createElement("input");b.setAttribute("type","file");mxEvent.addListener(b,"change",mxUtils.bind(this,function(){if(null!=b.files){var c=new FileReader;c.onload=mxUtils.bind(this,function(c){try{a.openLocalFile(mxUtils.getXml(a.drive.convertJsonToXml(JSON.parse(c.target.result).data)), -b.files[0].name,!0)}catch(D){a.handleError(D,mxResources.get("errorLoadingFile"))}});c.readAsText(b.files[0])}}));b.click()},c);this.addMenuItems(b,["-","testShowConsole"],c)}))));a.actions.addAction("shapes...",function(){mxClient.IS_CHROMEAPP||!a.isOffline()?a.showDialog((new MoreShapesDialog(a,!0)).container,640,isLocalStorage?mxClient.IS_IOS?480:460:440,!0,!0):a.showDialog((new MoreShapesDialog(a,!1)).container,360,isLocalStorage?mxClient.IS_IOS?300:280:260,!0,!0)});a.actions.put("createShape", +b.files[0].name,!0)}catch(G){a.handleError(G,mxResources.get("errorLoadingFile"))}});c.readAsText(b.files[0])}}));b.click()},c);this.addMenuItems(b,["-","testShowConsole"],c)}))));a.actions.addAction("shapes...",function(){mxClient.IS_CHROMEAPP||!a.isOffline()?a.showDialog((new MoreShapesDialog(a,!0)).container,640,isLocalStorage?mxClient.IS_IOS?480:460:440,!0,!0):a.showDialog((new MoreShapesDialog(a,!1)).container,360,isLocalStorage?mxClient.IS_IOS?300:280:260,!0,!0)});a.actions.put("createShape", new Action(mxResources.get("shape")+"...",function(b){d.isEnabled()&&(b=new mxCell("",new mxGeometry(0,0,120,120),a.defaultCustomShapeStyle),b.vertex=!0,b=new EditShapeDialog(a,b,mxResources.get("editShape")+":",630,400),a.showDialog(b.container,640,480,!0,!1),b.init())})).isEnabled=g;a.actions.put("embedHtml",new Action(mxResources.get("html")+"...",function(){a.spinner.spin(document.body,mxResources.get("loading"))&&a.getPublicUrl(a.getCurrentFile(),function(b){a.spinner.stop();a.showHtmlDialog(mxResources.get("create"), "https://desk.draw.io/support/solutions/articles/16000042542",b,function(b,c,d,e,f,g,k,l,m,n){a.createHtml(b,c,d,e,f,g,k,l,m,n,mxUtils.bind(this,function(b,c){var d=new EmbedDialog(a,b+"\n"+c,null,null,function(){var d=window.open(),e=d.document;if(null!=e){"CSS1Compat"===document.compatMode&&e.writeln("<!DOCTYPE html>");e.writeln("<html>");e.writeln("<head><title>"+encodeURIComponent(mxResources.get("preview"))+'</title><meta charset="utf-8"></head>');e.writeln("<body>");e.writeln(b);var f=mxClient.IS_IE|| mxClient.IS_EDGE||null!=document.documentMode;f&&e.writeln(c);e.writeln("</body>");e.writeln("</html>");e.close();if(!f){var g=d.document.createElement("div");g.marginLeft="26px";g.marginTop="26px";mxUtils.write(g,mxResources.get("updatingDocument"));f=d.document.createElement("img");f.setAttribute("src",window.location.protocol+"//"+window.location.hostname+"/"+IMAGE_PATH+"/spin.gif");f.style.marginLeft="6px";g.appendChild(f);d.document.body.insertBefore(g,d.document.body.firstChild);window.setTimeout(function(){var a= @@ -9314,8 +9302,8 @@ b);a.showDialog(b.container,440,240,!0,!0);b.init()},function(b){a.spinner.stop( a.handleError(b)})},mxResources.get("formatSvg"),mxResources.get("image"),!0,"https://desk.draw.io/support/solutions/articles/16000042548")}));a.actions.put("embedIframe",new Action(mxResources.get("iframe")+"...",function(){var b=d.getGraphBounds();a.showPublishLinkDialog(mxResources.get("iframe"),null,"100%",Math.ceil((b.y+b.height-d.view.translate.y)/d.view.scale)+2,function(b,c,d,e,f,g,k,l){a.spinner.spin(document.body,mxResources.get("loading"))&&a.getPublicUrl(a.getCurrentFile(),function(m){a.spinner.stop(); m=new EmbedDialog(a,'<iframe frameborder="0" style="width:'+k+";height:"+l+';" src="'+a.createLink(b,c,d,e,f,g,m)+'"></iframe>');a.showDialog(m.container,440,240,!0,!0);m.init()})},!0)}));a.actions.put("publishLink",new Action(mxResources.get("link")+"...",function(){a.showPublishLinkDialog(null,null,null,null,function(b,c,d,e,f,g){a.spinner.spin(document.body,mxResources.get("loading"))&&a.getPublicUrl(a.getCurrentFile(),function(k){a.spinner.stop();k=new EmbedDialog(a,a.createLink(b,c,d,e,f,g,k)); a.showDialog(k.container,440,240,!0,!0);k.init()})})}));a.actions.addAction("microsoftOffice...",function(){a.openLink("https://office.draw.io")});a.actions.addAction("googleDocs...",function(){a.openLink("http://docsaddon.draw.io")});a.actions.addAction("googleSlides...",function(){a.openLink("https://slidesaddon.draw.io")});a.actions.addAction("googleSheets...",function(){a.openLink("https://sheetsaddon.draw.io")});a.actions.addAction("googleSites...",function(){a.spinner.spin(document.body,mxResources.get("loading"))&& -a.getPublicUrl(a.getCurrentFile(),function(b){a.spinner.stop();b=new GoogleSitesDialog(a,b);a.showDialog(b.container,420,256,!0,!0);b.init()})});if(isLocalStorage||mxClient.IS_CHROMEAPP)q=a.actions.addAction("scratchpad",function(){a.toggleScratchpad()}),q.setToggleAction(!0),q.setSelectedCallback(function(){return null!=a.scratchpad}),a.actions.addAction("plugins...",function(){a.showDialog((new PluginsDialog(a)).container,360,170,!0,!1)});q=a.actions.addAction("search",function(){var b=a.sidebar.isEntryVisible("search"); -a.sidebar.showPalette("search",!b);isLocalStorage&&(mxSettings.settings.search=!b,mxSettings.save())});q.setToggleAction(!0);q.setSelectedCallback(function(){return a.sidebar.isEntryVisible("search")});"1"==urlParams.embed&&(a.actions.get("save").funct=function(b){d.isEditing()&&d.stopEditing();var c="0"!=urlParams.pages||null!=a.pages&&1<a.pages.length?a.getFileData(!0):mxUtils.getXml(a.editor.getGraphXml());if("json"==urlParams.proto){var e=a.createLoadMessage("save");e.xml=c;b&&(e.exit=!0);c=JSON.stringify(e)}(window.opener|| +a.getPublicUrl(a.getCurrentFile(),function(b){a.spinner.stop();b=new GoogleSitesDialog(a,b);a.showDialog(b.container,420,256,!0,!0);b.init()})});if(isLocalStorage||mxClient.IS_CHROMEAPP)t=a.actions.addAction("scratchpad",function(){a.toggleScratchpad()}),t.setToggleAction(!0),t.setSelectedCallback(function(){return null!=a.scratchpad}),a.actions.addAction("plugins...",function(){a.showDialog((new PluginsDialog(a)).container,360,170,!0,!1)});t=a.actions.addAction("search",function(){var b=a.sidebar.isEntryVisible("search"); +a.sidebar.showPalette("search",!b);isLocalStorage&&(mxSettings.settings.search=!b,mxSettings.save())});t.setToggleAction(!0);t.setSelectedCallback(function(){return a.sidebar.isEntryVisible("search")});"1"==urlParams.embed&&(a.actions.get("save").funct=function(b){d.isEditing()&&d.stopEditing();var c="0"!=urlParams.pages||null!=a.pages&&1<a.pages.length?a.getFileData(!0):mxUtils.getXml(a.editor.getGraphXml());if("json"==urlParams.proto){var e=a.createLoadMessage("save");e.xml=c;b&&(e.exit=!0);c=JSON.stringify(e)}(window.opener|| window.parent).postMessage(c,"*");"0"!=urlParams.modified&&"1"!=urlParams.keepmodified&&(a.editor.modified=!1,a.editor.setStatus(""));null!=a.getCurrentFile()&&a.saveFile()},a.actions.addAction("saveAndExit",function(){a.actions.get("save").funct(!0)}),a.actions.addAction("exit",function(){var b=function(){a.editor.modified=!1;var b="json"==urlParams.proto?JSON.stringify({event:"exit",modified:a.editor.modified}):"";(window.opener||window.parent).postMessage(b,"*")};a.editor.modified?a.confirm(mxResources.get("allChangesLost"), null,b,mxResources.get("cancel"),mxResources.get("discardChanges")):b()}));this.put("exportAs",new Menu(mxUtils.bind(this,function(b,c){a.isExportToCanvas()?(this.addMenuItems(b,["exportPng"],c),a.jpgSupported&&this.addMenuItems(b,["exportJpg"],c)):a.isOffline()||mxClient.IS_IOS&&navigator.standalone||this.addMenuItems(b,["exportPng","exportJpg"],c);this.addMenuItems(b,["exportSvg","-"],c);a.isOffline()||a.printPdfExport?this.addMenuItems(b,["exportPdf"],c):a.isOffline()||mxClient.IS_IOS&&navigator.standalone|| this.addMenuItems(b,["exportPdf"],c);mxClient.IS_IE||"undefined"===typeof VsdxExport&&a.isOffline()||this.addMenuItems(b,["exportVsdx"],c);this.addMenuItems(b,["-","exportHtml","exportXml","exportUrl"],c);a.isOffline()||(b.addSeparator(c),this.addMenuItem(b,"export",c).firstChild.nextSibling.innerHTML=mxResources.get("advanced")+"...")})));this.put("importFrom",new Menu(mxUtils.bind(this,function(b,c){function f(b){b.pickFile(function(c){a.spinner.spin(document.body,mxResources.get("loading"))&&b.getFile(c, @@ -9328,18 +9316,18 @@ b.addItem(mxResources.get("trello")+" ("+mxResources.get("loading")+"...)",null, b.length&&a.spinner.spin(document.body,mxResources.get("loading"))){var c=/(\.png)($|\?)/i.test(b)?"image/png":"text/xml";a.loadUrl(PROXY_URL+"?url="+encodeURIComponent(b),function(a){g(a,c,b)},function(){a.spinner.stop();a.handleError(null,mxResources.get("errorLoadingFile"))},"image/png"==c)}},mxResources.get("url"));a.showDialog(b.container,300,80,!0,!0);b.init()},c))}))).isEnabled=g;this.put("theme",new Menu(mxUtils.bind(this,function(b,c){var d=mxSettings.getUi(),e=b.addItem(mxResources.get("automatic"), null,function(){mxSettings.setUi("");mxSettings.save();a.alert(mxResources.get("restartForChangeRequired"))},c);"kennedy"!=d&&"atlas"!=d&&"dark"!=d&&"min"!=d&&b.addCheckmark(e,Editor.checkmarkImage);b.addSeparator(c);e=b.addItem(mxResources.get("kennedy"),null,function(){mxSettings.setUi("kennedy");mxSettings.save();a.alert(mxResources.get("restartForChangeRequired"))},c);"kennedy"==d&&b.addCheckmark(e,Editor.checkmarkImage);e=b.addItem(mxResources.get("minimal"),null,function(){mxSettings.setUi("min"); mxSettings.save();a.alert(mxResources.get("restartForChangeRequired"))},c);"min"==d&&b.addCheckmark(e,Editor.checkmarkImage);e=b.addItem(mxResources.get("atlas"),null,function(){mxSettings.setUi("atlas");mxSettings.save();a.alert(mxResources.get("restartForChangeRequired"))},c);"atlas"==d&&b.addCheckmark(e,Editor.checkmarkImage);e=b.addItem(mxResources.get("dark"),null,function(){mxSettings.setUi("dark");mxSettings.save();a.alert(mxResources.get("restartForChangeRequired"))},c);"dark"==d&&b.addCheckmark(e, -Editor.checkmarkImage)})));q=this.editorUi.actions.addAction("rename...",mxUtils.bind(this,function(){var b=this.editorUi.getCurrentFile();if(null!=b){var c=null!=b.getTitle()?b.getTitle():this.editorUi.defaultFilename,c=new FilenameDialog(this.editorUi,c,mxResources.get("rename"),mxUtils.bind(this,function(a){null!=a&&0<a.length&&null!=b&&a!=b.getTitle()&&this.editorUi.spinner.spin(document.body,mxResources.get("renaming"))&&b.rename(a,mxUtils.bind(this,function(a){this.editorUi.spinner.stop()}), -mxUtils.bind(this,function(a){this.editorUi.handleError(a,null!=a?mxResources.get("errorRenamingFile"):null)}))}),b.constructor==DriveFile||b.constructor==StorageFile?mxResources.get("diagramName"):null,function(b){if(null!=b&&0<b.length)return!0;a.showError(mxResources.get("error"),mxResources.get("invalidName"),mxResources.get("ok"));return!1},null,null,null,null,a.editor.fileExtensions);this.editorUi.showDialog(c.container,340,90,!0,!0);c.init()}}));q.isEnabled=function(){return this.enabled&& -g.apply(this,arguments)};q.visible="1"!=urlParams.embed;a.actions.addAction("makeCopy...",mxUtils.bind(this,function(){var b=a.getCurrentFile();if(null!=b){var c=a.getCopyFilename(b);b.constructor==DriveFile?(c=new CreateDialog(a,c,mxUtils.bind(this,function(c,d){"download"==d&&(d=App.MODE_GOOGLE);null!=c&&0<c.length&&(d==App.MODE_GOOGLE?a.spinner.spin(document.body,mxResources.get("saving"))&&b.saveAs(c,mxUtils.bind(this,function(c){b.desc=c;b.save(!1,mxUtils.bind(this,function(){a.spinner.stop(); +Editor.checkmarkImage)})));t=this.editorUi.actions.addAction("rename...",mxUtils.bind(this,function(){var b=this.editorUi.getCurrentFile();if(null!=b){var c=null!=b.getTitle()?b.getTitle():this.editorUi.defaultFilename,c=new FilenameDialog(this.editorUi,c,mxResources.get("rename"),mxUtils.bind(this,function(a){null!=a&&0<a.length&&null!=b&&a!=b.getTitle()&&this.editorUi.spinner.spin(document.body,mxResources.get("renaming"))&&b.rename(a,mxUtils.bind(this,function(a){this.editorUi.spinner.stop()}), +mxUtils.bind(this,function(a){this.editorUi.handleError(a,null!=a?mxResources.get("errorRenamingFile"):null)}))}),b.constructor==DriveFile||b.constructor==StorageFile?mxResources.get("diagramName"):null,function(b){if(null!=b&&0<b.length)return!0;a.showError(mxResources.get("error"),mxResources.get("invalidName"),mxResources.get("ok"));return!1},null,null,null,null,a.editor.fileExtensions);this.editorUi.showDialog(c.container,340,90,!0,!0);c.init()}}));t.isEnabled=function(){return this.enabled&& +g.apply(this,arguments)};t.visible="1"!=urlParams.embed;a.actions.addAction("makeCopy...",mxUtils.bind(this,function(){var b=a.getCurrentFile();if(null!=b){var c=a.getCopyFilename(b);b.constructor==DriveFile?(c=new CreateDialog(a,c,mxUtils.bind(this,function(c,d){"download"==d&&(d=App.MODE_GOOGLE);null!=c&&0<c.length&&(d==App.MODE_GOOGLE?a.spinner.spin(document.body,mxResources.get("saving"))&&b.saveAs(c,mxUtils.bind(this,function(c){b.desc=c;b.save(!1,mxUtils.bind(this,function(){a.spinner.stop(); b.setModified(!1);b.addAllSavedStatus()}),mxUtils.bind(this,function(b){a.handleError(b)}))}),mxUtils.bind(this,function(b){a.handleError(b)})):a.createFile(c,a.getFileData(!0),null,d))}),mxUtils.bind(this,function(){a.hideDialog()}),mxResources.get("makeCopy"),mxResources.get("create"),null,null,null,null,!0,null,null,null,null,a.editor.fileExtensions),a.showDialog(c.container,420,380,!0,!0),c.init()):a.editor.editAsNew(this.editorUi.getFileData(!0),c)}}));a.actions.addAction("moveToFolder...",mxUtils.bind(this, function(){var b=a.getCurrentFile();if(b.getMode()==App.MODE_GOOGLE||b.getMode()==App.MODE_ONEDRIVE){var c=!1;if(b.getMode()==App.MODE_GOOGLE&&null!=b.desc.parents)for(var d=0;d<b.desc.parents.length;d++)if(b.desc.parents[d].isRoot){c=!0;break}a.pickFolder(b.getMode(),mxUtils.bind(this,function(c){a.spinner.spin(document.body,mxResources.get("moving"))&&b.move(c,mxUtils.bind(this,function(b){a.spinner.stop()}),mxUtils.bind(this,function(b){a.handleError(b)}))}),null,!0,c)}}));this.put("publish",new Menu(mxUtils.bind(this, -function(a,b){this.addMenuItems(a,["publishLink"],b)})));a.actions.put("useOffline",new Action(mxResources.get("useOffline")+"...",function(){a.openLink("https://app.draw.io/")}));a.actions.put("downloadDesktop",new Action(mxResources.get("downloadDesktop")+"...",function(){a.openLink("https://get.draw.io/")}));this.editorUi.actions.addAction("share...",mxUtils.bind(this,function(){try{var b=a.getCurrentFile();null!=b&&a.drive.showPermissions(b.getId())}catch(B){a.handleError(B)}}));this.put("embed", -new Menu(mxUtils.bind(this,function(b,c){var d=a.getCurrentFile();null==d||d.getMode()!=App.MODE_GOOGLE&&d.getMode()!=App.MODE_GITHUB||!/(\.png)$/i.test(d.getTitle())||this.addMenuItems(b,["liveImage","-"],c);this.addMenuItems(b,["embedImage","embedSvg","-","embedHtml"],c);navigator.standalone||a.isOffline()||this.addMenuItems(b,["embedIframe"],c);"1"==urlParams.embed||a.isOffline()||this.addMenuItems(b,"- googleDocs googleSlides googleSheets - microsoftOffice".split(" "),c)})));var t=function(b, +function(a,b){this.addMenuItems(a,["publishLink"],b)})));a.actions.put("useOffline",new Action(mxResources.get("useOffline")+"...",function(){a.openLink("https://app.draw.io/")}));a.actions.put("downloadDesktop",new Action(mxResources.get("downloadDesktop")+"...",function(){a.openLink("https://get.draw.io/")}));this.editorUi.actions.addAction("share...",mxUtils.bind(this,function(){try{var b=a.getCurrentFile();null!=b&&a.drive.showPermissions(b.getId())}catch(A){a.handleError(A)}}));this.put("embed", +new Menu(mxUtils.bind(this,function(b,c){var d=a.getCurrentFile();null==d||d.getMode()!=App.MODE_GOOGLE&&d.getMode()!=App.MODE_GITHUB||!/(\.png)$/i.test(d.getTitle())||this.addMenuItems(b,["liveImage","-"],c);this.addMenuItems(b,["embedImage","embedSvg","-","embedHtml"],c);navigator.standalone||a.isOffline()||this.addMenuItems(b,["embedIframe"],c);"1"==urlParams.embed||a.isOffline()||this.addMenuItems(b,"- googleDocs googleSlides googleSheets - microsoftOffice".split(" "),c)})));var q=function(b, c,d,e){("plantUml"!=e||EditorUi.enablePlantUml&&!a.isOffline())&&b.addItem(d,null,mxUtils.bind(this,function(){if("fromText"==e||"formatSql"==e||"plantUml"==e){var b=new ParseDialog(a,d,e);a.showDialog(b.container,620,420,!0,!1);a.dialog.container.style.overflow="auto"}else b=new CreateGraphDialog(a,d,e),a.showDialog(b.container,620,420,!0,!1);b.init()}),c,null,g())},z=function(a,b,c,e){var f=d.isMouseInsertPoint()?d.getInsertPoint():d.getFreeInsertPoint();a=new mxCell(a,new mxGeometry(f.x,f.y,b, c),e);a.vertex=!0;d.getModel().beginUpdate();try{a=d.addCell(a),d.fireEvent(new mxEventObject("cellsInserted","cells",[a]))}finally{d.getModel().endUpdate()}d.scrollCellToVisible(a);d.setSelectionCell(a);d.container.focus();d.editAfterInsert&&d.startEditing(a);return a};a.actions.put("exportSvg",new Action(mxResources.get("formatSvg")+"...",function(){a.showExportDialog(mxResources.get("formatSvg"),!0,mxResources.get("export"),"https://support.draw.io/display/DO/Exporting+Files",mxUtils.bind(this, function(b,c,d,e,f,g,k,l,m,n){b=parseInt(b);!isNaN(b)&&0<b&&a.exportSvg(b/100,c,d,e,f,g,k,!l,m,n)}),!0,null,"svg")}));a.actions.put("insertText",new Action(mxResources.get("text"),function(){d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())&&d.startEditingAtCell(z("Text",40,20,"text;html=1;resizable=0;autosize=1;align=center;verticalAlign=middle;points=[];fillColor=none;strokeColor=none;rounded=0;"))}),null,null,Editor.ctrlKey+"+Shift+X").isEnabled=g;a.actions.put("insertRectangle",new Action(mxResources.get("rectangle"), function(){d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())&&z("",120,60,"whiteSpace=wrap;html=1;")}),null,null,Editor.ctrlKey+"+K").isEnabled=g;a.actions.put("insertEllipse",new Action(mxResources.get("ellipse"),function(){d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())&&z("",80,80,"ellipse;whiteSpace=wrap;html=1;")}),null,null,Editor.ctrlKey+"+Shift+K").isEnabled=g;a.actions.put("insertRhombus",new Action(mxResources.get("rhombus"),function(){d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())&& -z("",80,80,"rhombus;whiteSpace=wrap;html=1;")})).isEnabled=g;var y=mxUtils.bind(this,function(a,b,c){for(var d=0;d<c.length;d++)"-"==c[d]?a.addSeparator(b):t(a,b,mxResources.get(c[d])+"...",c[d])});this.put("insert",new Menu(mxUtils.bind(this,function(b,c){this.addMenuItems(b,"insertRectangle insertEllipse insertRhombus - insertText insertLink - insertImage".split(" "),c);a.insertTemplateEnabled&&!a.isOffline()&&this.addMenuItems(b,["insertTemplate","-"],c);this.addMenuItems(b,["createShape","insertFreehand", +z("",80,80,"rhombus;whiteSpace=wrap;html=1;")})).isEnabled=g;var y=mxUtils.bind(this,function(a,b,c){for(var d=0;d<c.length;d++)"-"==c[d]?a.addSeparator(b):q(a,b,mxResources.get(c[d])+"...",c[d])});this.put("insert",new Menu(mxUtils.bind(this,function(b,c){this.addMenuItems(b,"insertRectangle insertEllipse insertRhombus - insertText insertLink - insertImage".split(" "),c);a.insertTemplateEnabled&&!a.isOffline()&&this.addMenuItems(b,["insertTemplate","-"],c);this.addMenuItems(b,["createShape","insertFreehand", "-"],c);this.addSubmenu("insertLayout",b,c,mxResources.get("layout"));this.addSubmenu("insertAdvanced",b,c,mxResources.get("advanced"))})));this.put("insertLayout",new Menu(mxUtils.bind(this,function(a,b){y(a,b,"horizontalFlow verticalFlow - horizontalTree verticalTree radialTree - organic circle".split(" "))})));this.put("insertAdvanced",new Menu(mxUtils.bind(this,function(b,c){y(b,c,["fromText","plantUml","-","formatSql"]);b.addItem(mxResources.get("csv")+"...",null,function(){a.showImportCsvDialog()}, c,null,g())})));this.put("openRecent",new Menu(function(b,c){var d=a.getRecent();if(null!=d){for(var e=0;e<d.length;e++)(function(d){var e=d.mode;e==App.MODE_GOOGLE?e="googleDrive":e==App.MODE_ONEDRIVE&&(e="oneDrive");b.addItem(d.title+" ("+mxResources.get(e)+")",null,function(){a.loadFile(d.id)},c)})(d[e]);b.addSeparator(c)}b.addItem(mxResources.get("reset"),null,function(){a.resetRecent()},c)}));this.put("openFrom",new Menu(function(b,c){null!=a.drive?b.addItem(mxResources.get("googleDrive")+"...", null,function(){a.pickFile(App.MODE_GOOGLE)},c):e&&"function"===typeof window.DriveClient&&b.addItem(mxResources.get("googleDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=a.oneDrive?b.addItem(mxResources.get("oneDrive")+"...",null,function(){a.pickFile(App.MODE_ONEDRIVE)},c):m&&"function"===typeof window.OneDriveClient&&b.addItem(mxResources.get("oneDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);null!=a.dropbox?b.addItem(mxResources.get("dropbox")+ @@ -9354,9 +9342,9 @@ c);null!=a.gitLab&&b.addItem(mxResources.get("gitlab")+"...",null,function(){a.s " ("+mxResources.get("loading")+"...)",null,function(){},c,null,!1);b.addSeparator(c);null!=a.gitHub&&b.addItem(mxResources.get("github")+"...",null,function(){a.pickLibrary(App.MODE_GITHUB)},c);null!=a.gitLab&&b.addItem(mxResources.get("gitlab")+"...",null,function(){a.pickLibrary(App.MODE_GITLAB)},c);null!=a.trello?b.addItem(mxResources.get("trello")+"...",null,function(){a.pickLibrary(App.MODE_TRELLO)},c):n&&"function"===typeof window.TrelloClient&&b.addItem(mxResources.get("trello")+" ("+mxResources.get("loading")+ "...)",null,function(){},c,null,!1);b.addSeparator(c);isLocalStorage&&"0"!=urlParams.browser&&b.addItem(mxResources.get("browser")+"...",null,function(){a.pickLibrary(App.MODE_BROWSER)},c);b.addItem(mxResources.get("device")+"...",null,function(){a.pickLibrary(App.MODE_DEVICE)},c);a.isOffline()||(b.addSeparator(c),b.addItem(mxResources.get("url")+"...",null,function(){var b=new FilenameDialog(a,"",mxResources.get("open"),function(b){if(null!=b&&0<b.length&&a.spinner.spin(document.body,mxResources.get("loading"))){var c= b;a.editor.isCorsEnabledForUrl(b)||(c=PROXY_URL+"?url="+encodeURIComponent(b));mxUtils.get(c,function(c){if(200<=c.getStatus()&&299>=c.getStatus()){a.spinner.stop();try{a.loadLibrary(new UrlLibrary(this,c.getText(),b))}catch(H){a.handleError(H,mxResources.get("errorLoadingFile"))}}else a.spinner.stop(),a.handleError(null,mxResources.get("errorLoadingFile"))},function(){a.spinner.stop();a.handleError(null,mxResources.get("errorLoadingFile"))})}},mxResources.get("url"));a.showDialog(b.container,300, -80,!0,!0);b.init()},c));"1"==urlParams.confLib&&(b.addSeparator(c),b.addItem(mxResources.get("confluenceCloud")+"...",null,function(){a.showRemotelyStoredLibrary(mxResources.get("libraries"))},c))})));this.put("edit",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,"undo redo - cut copy paste delete - duplicate - find - editData editTooltip - editStyle editGeometry - edit - editLink openLink - selectVertices selectEdges selectAll selectNone - lockUnlock".split(" "))})));q=a.actions.addAction("comments", +80,!0,!0);b.init()},c));"1"==urlParams.confLib&&(b.addSeparator(c),b.addItem(mxResources.get("confluenceCloud")+"...",null,function(){a.showRemotelyStoredLibrary(mxResources.get("libraries"))},c))})));this.put("edit",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,"undo redo - cut copy paste delete - duplicate - find - editData editTooltip - editStyle editGeometry - edit - editLink openLink - selectVertices selectEdges selectAll selectNone - lockUnlock".split(" "))})));t=a.actions.addAction("comments", mxUtils.bind(this,function(){if(null==this.commentsWindow)this.commentsWindow=new CommentsWindow(a,document.body.offsetWidth-380,120,300,350),this.commentsWindow.window.addListener("show",function(){a.fireEvent(new mxEventObject("comments"))}),this.commentsWindow.window.addListener("hide",function(){a.fireEvent(new mxEventObject("comments"))}),this.commentsWindow.window.setVisible(!0),a.fireEvent(new mxEventObject("comments"));else{var b=!this.commentsWindow.window.isVisible();this.commentsWindow.window.setVisible(b); -this.commentsWindow.refreshCommentsTime();b&&this.commentsWindow.hasError&&this.commentsWindow.refreshComments()}}));q.setToggleAction(!0);q.setSelectedCallback(mxUtils.bind(this,function(){return null!=this.commentsWindow&&this.commentsWindow.window.isVisible()}));a.editor.addListener("fileLoaded",mxUtils.bind(this,function(){null!=this.commentsWindow&&(this.commentsWindow.destroy(),this.commentsWindow=null)}));var q=this.get("viewPanels"),C=q.funct;q.funct=function(b,c){C.apply(this,arguments); +this.commentsWindow.refreshCommentsTime();b&&this.commentsWindow.hasError&&this.commentsWindow.refreshComments()}}));t.setToggleAction(!0);t.setSelectedCallback(mxUtils.bind(this,function(){return null!=this.commentsWindow&&this.commentsWindow.window.isVisible()}));a.editor.addListener("fileLoaded",mxUtils.bind(this,function(){null!=this.commentsWindow&&(this.commentsWindow.destroy(),this.commentsWindow=null)}));var t=this.get("viewPanels"),C=t.funct;t.funct=function(b,c){C.apply(this,arguments); a.commentsSupported()&&a.menus.addMenuItems(b,["comments"],c)};this.put("view",new Menu(mxUtils.bind(this,function(b,c){this.addMenuItems(b,(null!=this.editorUi.format?["formatPanel"]:[]).concat(["outline","layers"]).concat(a.commentsSupported()?["comments","-"]:["-"]));this.addMenuItems(b,["-","search"],c);if(isLocalStorage||mxClient.IS_CHROMEAPP){var d=this.addMenuItem(b,"scratchpad",c);(!a.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)&&this.addLinkToItem(d,"https://desk.draw.io/support/solutions/articles/16000042367")}this.addMenuItems(b, ["shapes","-","pageView","pageScale"]);this.addSubmenu("units",b,c);this.addMenuItems(b,"- scrollbars tooltips ruler - grid guides".split(" "),c);mxClient.IS_SVG&&(null==document.documentMode||9<document.documentMode)&&this.addMenuItem(b,"shadowVisible",c);this.addMenuItems(b,"- connectionArrows connectionPoints - resetView zoomIn zoomOut".split(" "),c)})));this.put("extras",new Menu(mxUtils.bind(this,function(b,c){"1"!=urlParams.embed&&(this.addSubmenu("theme",b,c),b.addSeparator(c));this.addMenuItems(b, ["copyConnect","collapseExpand","-"],c);if("undefined"!==typeof MathJax){var d=this.addMenuItem(b,"mathematicalTypesetting",c);(!a.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)&&this.addLinkToItem(d,"https://desk.draw.io/support/solutions/articles/16000032875")}"1"!=urlParams.embed&&this.addMenuItems(b,["autosave"],c);this.addMenuItems(b,["-","editDiagram"],c);b.addSeparator(c);"1"!=urlParams.embed&&(isLocalStorage||mxClient.IS_CHROMEAPP)&&this.addMenuItems(b,["showStartScreen"],c); @@ -9426,29 +9414,29 @@ mxResources.get("copyOf",[a.getName()]))}),d)})};(function(){var a=EditorUi.prot a)?b:void 0})),null!=d.relatedPage.root&&a.encodeCell(d.relatedPage.root,g));return g};a.beforeDecode=function(a,c,g){g.ui=a.ui;g.relatedPage=g.ui.getPageById(c.getAttribute("relatedPage"));if(null==g.relatedPage){var b=c.ownerDocument.createElement("diagram");b.setAttribute("id",c.getAttribute("relatedPage"));b.setAttribute("name",c.getAttribute("name"));g.relatedPage=new DiagramPage(b);b=c.getAttribute("viewState");null!=b&&(g.relatedPage.viewState=JSON.parse(b),c.removeAttribute("viewState")); c=c.cloneNode(!0);b=c.firstChild;if(null!=b)for(g.relatedPage.root=a.decodeCell(b,!1),g=b.nextSibling,b.parentNode.removeChild(b),b=g;null!=b;){g=b.nextSibling;if(b.nodeType==mxConstants.NODETYPE_ELEMENT){var d=b.getAttribute("id");null==a.lookup(d)&&a.decodeCell(b)}b.parentNode.removeChild(b);b=g}}return c};a.afterDecode=function(a,c,g){g.index=g.previousIndex;return g};mxCodecRegistry.register(a)})();(function(){var a=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAMAAABhEH5lAAAASFBMVEUAAAAAAAB/f3/9/f319fUfHx/7+/s+Pj69vb0AAAAAAAAAAAAAAAAAAAAAAAAAAAB2dnZ1dXUAAAAAAAAVFRX///8ZGRkGBgbOcI1hAAAAE3RSTlMA+vr9/f38+fb1893Bo00u+/tFvPJUBQAAAIRJREFUGNM0jEcSxCAQAxlydGqD///TNWxZBx1aXVIrWysplbapL3sFxgDq/idXBnHgBPK1nIxwc55vCXl6dRFtrV6svs/A/UjsPcpzA5tqyByD92HqQlMFh45BG6ND1DiKSoPDdm96N77bg5F+wyaEqRGb8ZiOwHQqdg9hehszcLAEIQB2lQ4p/sEpnAAAAABJRU5ErkJggg==":IMAGE_PATH+"/move.png";EditorUi.prototype.altShiftActions[68]= "selectDescendants";var c=Graph.prototype.foldCells;Graph.prototype.foldCells=function(a,b,d,m,n){b=null!=b?b:!1;null==d&&(d=this.getFoldableCells(this.getSelectionCells(),a));this.stopEditing();this.model.beginUpdate();try{for(var e=d.slice(),f=[],g=0;g<d.length;g++){var k=this.view.getState(d[g]),u=null!=k?k.style:this.getCellStyle(d[g]);"1"==mxUtils.getValue(u,"treeFolding","0")&&(this.traverse(d[g],!0,mxUtils.bind(this,function(a,b){null!=b&&f.push(b);a!=d[g]&&f.push(a);return a==d[g]||!this.model.isCollapsed(a)})), -this.model.setCollapsed(d[g],a))}for(g=0;g<f.length;g++)this.model.setVisible(f[g],!a);d=e;d=c.apply(this,arguments)}finally{this.model.endUpdate()}return d};var b=EditorUi.prototype.init;EditorUi.prototype.init=function(){b.apply(this,arguments);this.editor.isChromelessView()&&!this.editor.editable||this.addTrees()};EditorUi.prototype.addTrees=function(){function b(a){return z.isVertex(a)&&d(a)}function c(a){var b=!1;null!=a&&(b=t.view.getState(a),b="1"==(null!=b?b.style:t.getCellStyle(a)).treeMoving); -return b}function d(a){var b=!1;null!=a&&(a=z.getParent(a),b=t.view.getState(a),b="tree"==(null!=b?b.style:t.getCellStyle(a)).containerType);return b}function m(a){var b=!1;null!=a&&(a=z.getParent(a),b=t.view.getState(a),t.view.getState(a),b=null!=(null!=b?b.style:t.getCellStyle(a)).childLayout);return b}function n(a){a=t.view.getState(a);if(null!=a){var b=t.getIncomingEdges(a.cell);if(0<b.length&&(b=t.view.getState(b[0]),null!=b&&(b=b.absolutePoints,null!=b&&0<b.length&&(b=b[b.length-1],null!=b)))){if(b.y== -a.y&&Math.abs(b.x-a.getCenterX())<a.width/2)return mxConstants.DIRECTION_SOUTH;if(b.y==a.y+a.height&&Math.abs(b.x-a.getCenterX())<a.width/2)return mxConstants.DIRECTION_NORTH;if(b.x>a.getCenterX())return mxConstants.DIRECTION_WEST}}return mxConstants.DIRECTION_EAST}function q(a,b){b=null!=b?b:!0;t.model.beginUpdate();try{var c=t.model.getParent(a),d=t.getIncomingEdges(a),e=t.cloneCells([d[0],a]);t.model.setTerminal(e[0],t.model.getTerminal(d[0],!0),!0);var f=n(a),g=c.geometry;f==mxConstants.DIRECTION_SOUTH|| -f==mxConstants.DIRECTION_NORTH?e[1].geometry.x+=b?a.geometry.width+10:-e[1].geometry.width-10:e[1].geometry.y+=b?a.geometry.height+10:-e[1].geometry.height-10;t.view.currentRoot!=c&&(e[1].geometry.x-=g.x,e[1].geometry.y-=g.y);var k=t.view.getState(a),l=t.view.scale;if(null!=k){var m=mxRectangle.fromRectangle(k);f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH?m.x+=(b?a.geometry.width+10:-e[1].geometry.width-10)*l:m.y+=(b?a.geometry.height+10:-e[1].geometry.height-10)*l;var p=t.getOutgoingEdges(t.model.getTerminal(d[0], -!0));if(null!=p){for(var q=f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH,u=g=d=0;u<p.length;u++){var v=t.model.getTerminal(p[u],!1);if(f==n(v)){var x=t.view.getState(v);v!=a&&null!=x&&(q&&b!=x.getCenterX()<k.getCenterX()||!q&&b!=x.getCenterY()<k.getCenterY())&&mxUtils.intersects(m,x)&&(d=10+Math.max(d,(Math.min(m.x+m.width,x.x+x.width)-Math.max(m.x,x.x))/l),g=10+Math.max(g,(Math.min(m.y+m.height,x.y+x.height)-Math.max(m.y,x.y))/l))}}q?g=0:d=0;for(u=0;u<p.length;u++)if(v=t.model.getTerminal(p[u], -!1),f==n(v)&&(x=t.view.getState(v),v!=a&&null!=x&&(q&&b!=x.getCenterX()<k.getCenterX()||!q&&b!=x.getCenterY()<k.getCenterY()))){var A=[];t.traverse(x.cell,!0,function(a,b){null!=b&&A.push(b);A.push(a);return!0});t.moveCells(A,(b?1:-1)*d,(b?1:-1)*g)}}}return t.addCells(e,c)}finally{t.model.endUpdate()}}function f(a){t.model.beginUpdate();try{var b=n(a),c=t.getIncomingEdges(a),d=t.cloneCells([c[0],a]);t.model.setTerminal(c[0],d[1],!1);t.model.setTerminal(d[0],d[1],!0);t.model.setTerminal(d[0],a,!1); -var e=t.model.getParent(a),f=e.geometry,g=[];t.view.currentRoot!=e&&(d[1].geometry.x-=f.x,d[1].geometry.y-=f.y);t.traverse(a,!0,function(a,b){null!=b&&g.push(b);g.push(a);return!0});var k=a.geometry.width+40,l=a.geometry.height+40;b==mxConstants.DIRECTION_SOUTH?k=0:b==mxConstants.DIRECTION_NORTH?(k=0,l=-l):b==mxConstants.DIRECTION_WEST?(k=-k,l=0):b==mxConstants.DIRECTION_EAST&&(l=0);t.moveCells(g,k,l);return t.addCells(d,e)}finally{t.model.endUpdate()}}function l(a){t.model.beginUpdate();try{var b= -t.model.getParent(a),c=t.getIncomingEdges(a),d=t.cloneCells([c[0],a]);t.model.setTerminal(d[0],a,!0);var c=t.getOutgoingEdges(a),e=b.geometry,f=[];t.view.currentRoot==b&&(e=new mxRectangle);for(var g=0;g<c.length;g++){var k=t.model.getTerminal(c[g],!1);null!=k&&f.push(k)}var l=t.view.getBounds(f),m=n(a),p=t.view.translate,q=t.view.scale;m==mxConstants.DIRECTION_SOUTH?(d[1].geometry.x=null==l?a.geometry.x+(a.geometry.width-d[1].geometry.width)/2:(l.x+l.width)/q-p.x-e.x+10,d[1].geometry.y+=d[1].geometry.height- -e.y+40):m==mxConstants.DIRECTION_NORTH?(d[1].geometry.x=null==l?a.geometry.x+(a.geometry.width-d[1].geometry.width)/2:(l.x+l.width)/q-p.x+-e.x+10,d[1].geometry.y-=d[1].geometry.height+e.y+40):(d[1].geometry.x=m==mxConstants.DIRECTION_WEST?d[1].geometry.x-(d[1].geometry.width+e.x+40):d[1].geometry.x+(d[1].geometry.width-e.x+40),d[1].geometry.y=null==l?a.geometry.y+(a.geometry.height-d[1].geometry.height)/2:(l.y+l.height)/q-p.y+-e.y+10);return t.addCells(d,b)}finally{t.model.endUpdate()}}function p(a, -b,c){a=t.getOutgoingEdges(a);c=t.view.getState(c);var d=[];if(null!=c&&null!=a){for(var e=0;e<a.length;e++){var f=t.view.getState(t.model.getTerminal(a[e],!1));null!=f&&(!b&&Math.min(f.x+f.width,c.x+c.width)>=Math.max(f.x,c.x)||b&&Math.min(f.y+f.height,c.y+c.height)>=Math.max(f.y,c.y))&&d.push(f)}d.sort(function(a,c){return b?a.x+a.width-c.x-c.width:a.y+a.height-c.y-c.height})}return d}function u(a,b){var c=n(a),d=b==mxConstants.DIRECTION_EAST||b==mxConstants.DIRECTION_WEST;(c==mxConstants.DIRECTION_EAST|| -c==mxConstants.DIRECTION_WEST)==d&&c!=b?v.actions.get("selectParent").funct():c==b?(d=t.getOutgoingEdges(a),null!=d&&0<d.length&&t.setSelectionCell(t.model.getTerminal(d[0],!1))):(c=t.getIncomingEdges(a),null!=c&&0<c.length&&(d=p(t.model.getTerminal(c[0],!0),d,a),c=t.view.getState(a),null!=c&&(c=mxUtils.indexOf(d,c),0<=c&&(c+=b==mxConstants.DIRECTION_NORTH||b==mxConstants.DIRECTION_WEST?-1:1,0<=c&&c<=d.length-1&&t.setSelectionCell(d[c].cell)))))}var v=this,t=v.editor.graph,z=t.getModel(),y=v.menus.createPopupMenu; -v.menus.createPopupMenu=function(a,c,d){y.apply(this,arguments);if(1==t.getSelectionCount()){c=t.getSelectionCell();var e=t.getOutgoingEdges(c);a.addSeparator();null!=e&&0<e.length&&(b(t.getSelectionCell())&&this.addMenuItems(a,["selectChildren"],null,d),this.addMenuItems(a,["selectDescendants"],null,d));b(t.getSelectionCell())&&(a.addSeparator(),0<t.getIncomingEdges(c).length&&this.addMenuItems(a,["selectSiblings","selectParent"],null,d))}};v.actions.addAction("selectChildren",function(){if(t.isEnabled()&& -1==t.getSelectionCount()){var a=t.getSelectionCell(),a=t.getOutgoingEdges(a);if(null!=a){for(var b=[],c=0;c<a.length;c++)b.push(t.model.getTerminal(a[c],!1));t.setSelectionCells(b)}}},null,null,"Alt+Shift+X");v.actions.addAction("selectSiblings",function(){if(t.isEnabled()&&1==t.getSelectionCount()){var a=t.getSelectionCell(),a=t.getIncomingEdges(a);if(null!=a&&0<a.length&&(a=t.getOutgoingEdges(t.model.getTerminal(a[0],!0)),null!=a)){for(var b=[],c=0;c<a.length;c++)b.push(t.model.getTerminal(a[c], -!1));t.setSelectionCells(b)}}},null,null,"Alt+Shift+S");v.actions.addAction("selectParent",function(){if(t.isEnabled()&&1==t.getSelectionCount()){var a=t.getSelectionCell(),a=t.getIncomingEdges(a);null!=a&&0<a.length&&t.setSelectionCell(t.model.getTerminal(a[0],!0))}},null,null,"Alt+Shift+P");v.actions.addAction("selectDescendants",function(){if(t.isEnabled()&&1==t.getSelectionCount()){var a=t.getSelectionCell(),b=[];t.traverse(a,!0,function(a,c){null!=c&&b.push(c);b.push(a);return!0});t.setSelectionCells(b)}}, -null,null,"Alt+Shift+D");var C=t.removeCells;t.removeCells=function(a,c){c=null!=c?c:!0;null==a&&(a=this.getDeletableCells(this.getSelectionCells()));c&&(a=this.getDeletableCells(this.addAllEdges(a)));for(var e=[],f=0;f<a.length;f++){var g=a[f];z.isEdge(g)&&d(g)&&(e.push(g),g=z.getTerminal(g,!1));b(g)?(t.traverse(g,!0,function(a,b){null!=b&&e.push(b);e.push(a);return!0}),g=t.getIncomingEdges(a[f]),a=a.concat(g)):e.push(a[f])}a=e;return C.apply(this,arguments)};v.hoverIcons.getStateAt=function(a,c, -d){return b(a.cell)?null:this.graph.view.getState(this.graph.getCellAt(c,d))};var x=t.duplicateCells;t.duplicateCells=function(a,c){a=null!=a?a:this.getSelectionCells();for(var d=a.slice(0),e=0;e<d.length;e++){var f=t.view.getState(d[e]);if(null!=f&&b(f.cell))for(var g=t.getIncomingEdges(f.cell),f=0;f<g.length;f++)mxUtils.remove(g[f],a)}this.model.beginUpdate();try{var k=x.call(this,a,c);if(k.length==a.length)for(e=0;e<a.length;e++)if(b(a[e])){var l=t.getIncomingEdges(k[e]),g=t.getIncomingEdges(a[e]); -if(0==l.length&&0<g.length){var m=this.cloneCell(g[0]);this.addEdge(m,t.getDefaultParent(),this.model.getTerminal(g[0],!0),k[e])}}}finally{this.model.endUpdate()}return k};var B=t.moveCells;t.moveCells=function(a,c,d,e,f,g,k){var l=null;this.model.beginUpdate();try{var m=f,n=this.view.getState(f),p=null!=n?n.style:this.getCellStyle(f);if(null!=a&&b(f)&&"1"==mxUtils.getValue(p,"treeFolding","0")){for(var q=0;q<a.length;q++)if(b(a[q])||t.model.isEdge(a[q])&&null==t.model.getTerminal(a[q],!0)){f=t.model.getParent(a[q]); -break}if(null!=m&&f!=m&&null!=this.view.getState(a[0])){var u=t.getIncomingEdges(a[0]);if(0<u.length){var v=t.view.getState(t.model.getTerminal(u[0],!0));if(null!=v){var x=t.view.getState(m);null!=x&&(c=(x.getCenterX()-v.getCenterX())/t.view.scale,d=(x.getCenterY()-v.getCenterY())/t.view.scale)}}}}l=B.apply(this,arguments);if(null!=l&&null!=a&&l.length==a.length)for(q=0;q<l.length;q++)if(this.model.isEdge(l[q]))b(m)&&0>mxUtils.indexOf(l,this.model.getTerminal(l[q],!0))&&this.model.setTerminal(l[q], -m,!0);else if(b(a[q])&&(u=t.getIncomingEdges(a[q]),0<u.length))if(!e)b(m)&&0>mxUtils.indexOf(a,this.model.getTerminal(u[0],!0))&&this.model.setTerminal(u[0],m,!0);else if(0==t.getIncomingEdges(l[q]).length){n=m;if(null==n||n==t.model.getParent(a[q]))n=t.model.getTerminal(u[0],!0);e=this.cloneCell(u[0]);this.addEdge(e,t.getDefaultParent(),n,l[q])}}finally{this.model.endUpdate()}return l};if(null!=v.sidebar){var E=v.sidebar.dropAndConnect;v.sidebar.dropAndConnect=function(a,c,d,e){var f=t.model,g=null; -f.beginUpdate();try{if(g=E.apply(this,arguments),b(a))for(var k=0;k<g.length;k++)if(f.isEdge(g[k])&&null==f.getTerminal(g[k],!0)){f.setTerminal(g[k],a,!0);var l=t.getCellGeometry(g[k]);l.points=null;null!=l.getTerminalPoint(!0)&&l.setTerminalPoint(null,!0)}}finally{f.endUpdate()}return g}}var A={88:v.actions.get("selectChildren"),84:v.actions.get("selectSubtree"),80:v.actions.get("selectParent"),83:v.actions.get("selectSiblings")},F=v.onKeyDown;v.onKeyDown=function(a){try{if(t.isEnabled()&&!t.isEditing()&& -b(t.getSelectionCell())&&1==t.getSelectionCount()){var c=null;0<t.getIncomingEdges(t.getSelectionCell()).length&&(9==a.which?c=mxEvent.isShiftDown(a)?f(t.getSelectionCell()):l(t.getSelectionCell()):13==a.which&&(c=q(t.getSelectionCell(),!mxEvent.isShiftDown(a))));if(null!=c&&0<c.length)1==c.length&&t.model.isEdge(c[0])?t.setSelectionCell(t.model.getTerminal(c[0],!1)):t.setSelectionCell(c[c.length-1]),null!=v.hoverIcons&&v.hoverIcons.update(t.view.getState(t.getSelectionCell())),t.startEditingAtCell(t.getSelectionCell()), -mxEvent.consume(a);else if(mxEvent.isAltDown(a)&&mxEvent.isShiftDown(a)){var d=A[a.keyCode];null!=d&&(d.funct(a),mxEvent.consume(a))}else 37==a.keyCode?(u(t.getSelectionCell(),mxConstants.DIRECTION_WEST),mxEvent.consume(a)):38==a.keyCode?(u(t.getSelectionCell(),mxConstants.DIRECTION_NORTH),mxEvent.consume(a)):39==a.keyCode?(u(t.getSelectionCell(),mxConstants.DIRECTION_EAST),mxEvent.consume(a)):40==a.keyCode&&(u(t.getSelectionCell(),mxConstants.DIRECTION_SOUTH),mxEvent.consume(a))}}catch(N){console.log("error", -N)}mxEvent.isConsumed(a)||F.apply(this,arguments)};var D=t.connectVertex;t.connectVertex=function(a,c,d,e,g,k){var m=t.getIncomingEdges(a);return b(a)&&0<m.length?(d=n(a),e=d==mxConstants.DIRECTION_EAST||d==mxConstants.DIRECTION_WEST,g=c==mxConstants.DIRECTION_EAST||c==mxConstants.DIRECTION_WEST,d==c?l(a):e==g?f(a):q(a,c!=mxConstants.DIRECTION_NORTH&&c!=mxConstants.DIRECTION_WEST)):D.call(this,a,c,d,e,g,k)};t.getSubtree=function(a){var d=[a];!c(a)&&!b(a)||m(a)||t.traverse(a,!0,function(a,b){null!= +this.model.setCollapsed(d[g],a))}for(g=0;g<f.length;g++)this.model.setVisible(f[g],!a);d=e;d=c.apply(this,arguments)}finally{this.model.endUpdate()}return d};var b=EditorUi.prototype.init;EditorUi.prototype.init=function(){b.apply(this,arguments);this.editor.isChromelessView()&&!this.editor.editable||this.addTrees()};EditorUi.prototype.addTrees=function(){function b(a){return z.isVertex(a)&&d(a)}function c(a){var b=!1;null!=a&&(b=q.view.getState(a),b="1"==(null!=b?b.style:q.getCellStyle(a)).treeMoving); +return b}function d(a){var b=!1;null!=a&&(a=z.getParent(a),b=q.view.getState(a),b="tree"==(null!=b?b.style:q.getCellStyle(a)).containerType);return b}function m(a){var b=!1;null!=a&&(a=z.getParent(a),b=q.view.getState(a),q.view.getState(a),b=null!=(null!=b?b.style:q.getCellStyle(a)).childLayout);return b}function n(a){a=q.view.getState(a);if(null!=a){var b=q.getIncomingEdges(a.cell);if(0<b.length&&(b=q.view.getState(b[0]),null!=b&&(b=b.absolutePoints,null!=b&&0<b.length&&(b=b[b.length-1],null!=b)))){if(b.y== +a.y&&Math.abs(b.x-a.getCenterX())<a.width/2)return mxConstants.DIRECTION_SOUTH;if(b.y==a.y+a.height&&Math.abs(b.x-a.getCenterX())<a.width/2)return mxConstants.DIRECTION_NORTH;if(b.x>a.getCenterX())return mxConstants.DIRECTION_WEST}}return mxConstants.DIRECTION_EAST}function t(a,b){b=null!=b?b:!0;q.model.beginUpdate();try{var c=q.model.getParent(a),d=q.getIncomingEdges(a),e=q.cloneCells([d[0],a]);q.model.setTerminal(e[0],q.model.getTerminal(d[0],!0),!0);var f=n(a),g=c.geometry;f==mxConstants.DIRECTION_SOUTH|| +f==mxConstants.DIRECTION_NORTH?e[1].geometry.x+=b?a.geometry.width+10:-e[1].geometry.width-10:e[1].geometry.y+=b?a.geometry.height+10:-e[1].geometry.height-10;q.view.currentRoot!=c&&(e[1].geometry.x-=g.x,e[1].geometry.y-=g.y);var k=q.view.getState(a),l=q.view.scale;if(null!=k){var m=mxRectangle.fromRectangle(k);f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH?m.x+=(b?a.geometry.width+10:-e[1].geometry.width-10)*l:m.y+=(b?a.geometry.height+10:-e[1].geometry.height-10)*l;var p=q.getOutgoingEdges(q.model.getTerminal(d[0], +!0));if(null!=p){for(var t=f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH,u=g=d=0;u<p.length;u++){var v=q.model.getTerminal(p[u],!1);if(f==n(v)){var x=q.view.getState(v);v!=a&&null!=x&&(t&&b!=x.getCenterX()<k.getCenterX()||!t&&b!=x.getCenterY()<k.getCenterY())&&mxUtils.intersects(m,x)&&(d=10+Math.max(d,(Math.min(m.x+m.width,x.x+x.width)-Math.max(m.x,x.x))/l),g=10+Math.max(g,(Math.min(m.y+m.height,x.y+x.height)-Math.max(m.y,x.y))/l))}}t?g=0:d=0;for(u=0;u<p.length;u++)if(v=q.model.getTerminal(p[u], +!1),f==n(v)&&(x=q.view.getState(v),v!=a&&null!=x&&(t&&b!=x.getCenterX()<k.getCenterX()||!t&&b!=x.getCenterY()<k.getCenterY()))){var A=[];q.traverse(x.cell,!0,function(a,b){null!=b&&A.push(b);A.push(a);return!0});q.moveCells(A,(b?1:-1)*d,(b?1:-1)*g)}}}return q.addCells(e,c)}finally{q.model.endUpdate()}}function f(a){q.model.beginUpdate();try{var b=n(a),c=q.getIncomingEdges(a),d=q.cloneCells([c[0],a]);q.model.setTerminal(c[0],d[1],!1);q.model.setTerminal(d[0],d[1],!0);q.model.setTerminal(d[0],a,!1); +var e=q.model.getParent(a),f=e.geometry,g=[];q.view.currentRoot!=e&&(d[1].geometry.x-=f.x,d[1].geometry.y-=f.y);q.traverse(a,!0,function(a,b){null!=b&&g.push(b);g.push(a);return!0});var k=a.geometry.width+40,l=a.geometry.height+40;b==mxConstants.DIRECTION_SOUTH?k=0:b==mxConstants.DIRECTION_NORTH?(k=0,l=-l):b==mxConstants.DIRECTION_WEST?(k=-k,l=0):b==mxConstants.DIRECTION_EAST&&(l=0);q.moveCells(g,k,l);return q.addCells(d,e)}finally{q.model.endUpdate()}}function l(a){q.model.beginUpdate();try{var b= +q.model.getParent(a),c=q.getIncomingEdges(a),d=q.cloneCells([c[0],a]);q.model.setTerminal(d[0],a,!0);var c=q.getOutgoingEdges(a),e=b.geometry,f=[];q.view.currentRoot==b&&(e=new mxRectangle);for(var g=0;g<c.length;g++){var k=q.model.getTerminal(c[g],!1);null!=k&&f.push(k)}var l=q.view.getBounds(f),m=n(a),p=q.view.translate,t=q.view.scale;m==mxConstants.DIRECTION_SOUTH?(d[1].geometry.x=null==l?a.geometry.x+(a.geometry.width-d[1].geometry.width)/2:(l.x+l.width)/t-p.x-e.x+10,d[1].geometry.y+=d[1].geometry.height- +e.y+40):m==mxConstants.DIRECTION_NORTH?(d[1].geometry.x=null==l?a.geometry.x+(a.geometry.width-d[1].geometry.width)/2:(l.x+l.width)/t-p.x+-e.x+10,d[1].geometry.y-=d[1].geometry.height+e.y+40):(d[1].geometry.x=m==mxConstants.DIRECTION_WEST?d[1].geometry.x-(d[1].geometry.width+e.x+40):d[1].geometry.x+(d[1].geometry.width-e.x+40),d[1].geometry.y=null==l?a.geometry.y+(a.geometry.height-d[1].geometry.height)/2:(l.y+l.height)/t-p.y+-e.y+10);return q.addCells(d,b)}finally{q.model.endUpdate()}}function p(a, +b,c){a=q.getOutgoingEdges(a);c=q.view.getState(c);var d=[];if(null!=c&&null!=a){for(var e=0;e<a.length;e++){var f=q.view.getState(q.model.getTerminal(a[e],!1));null!=f&&(!b&&Math.min(f.x+f.width,c.x+c.width)>=Math.max(f.x,c.x)||b&&Math.min(f.y+f.height,c.y+c.height)>=Math.max(f.y,c.y))&&d.push(f)}d.sort(function(a,c){return b?a.x+a.width-c.x-c.width:a.y+a.height-c.y-c.height})}return d}function u(a,b){var c=n(a),d=b==mxConstants.DIRECTION_EAST||b==mxConstants.DIRECTION_WEST;(c==mxConstants.DIRECTION_EAST|| +c==mxConstants.DIRECTION_WEST)==d&&c!=b?v.actions.get("selectParent").funct():c==b?(d=q.getOutgoingEdges(a),null!=d&&0<d.length&&q.setSelectionCell(q.model.getTerminal(d[0],!1))):(c=q.getIncomingEdges(a),null!=c&&0<c.length&&(d=p(q.model.getTerminal(c[0],!0),d,a),c=q.view.getState(a),null!=c&&(c=mxUtils.indexOf(d,c),0<=c&&(c+=b==mxConstants.DIRECTION_NORTH||b==mxConstants.DIRECTION_WEST?-1:1,0<=c&&c<=d.length-1&&q.setSelectionCell(d[c].cell)))))}var v=this,q=v.editor.graph,z=q.getModel(),y=v.menus.createPopupMenu; +v.menus.createPopupMenu=function(a,c,d){y.apply(this,arguments);if(1==q.getSelectionCount()){c=q.getSelectionCell();var e=q.getOutgoingEdges(c);a.addSeparator();null!=e&&0<e.length&&(b(q.getSelectionCell())&&this.addMenuItems(a,["selectChildren"],null,d),this.addMenuItems(a,["selectDescendants"],null,d));b(q.getSelectionCell())&&(a.addSeparator(),0<q.getIncomingEdges(c).length&&this.addMenuItems(a,["selectSiblings","selectParent"],null,d))}};v.actions.addAction("selectChildren",function(){if(q.isEnabled()&& +1==q.getSelectionCount()){var a=q.getSelectionCell(),a=q.getOutgoingEdges(a);if(null!=a){for(var b=[],c=0;c<a.length;c++)b.push(q.model.getTerminal(a[c],!1));q.setSelectionCells(b)}}},null,null,"Alt+Shift+X");v.actions.addAction("selectSiblings",function(){if(q.isEnabled()&&1==q.getSelectionCount()){var a=q.getSelectionCell(),a=q.getIncomingEdges(a);if(null!=a&&0<a.length&&(a=q.getOutgoingEdges(q.model.getTerminal(a[0],!0)),null!=a)){for(var b=[],c=0;c<a.length;c++)b.push(q.model.getTerminal(a[c], +!1));q.setSelectionCells(b)}}},null,null,"Alt+Shift+S");v.actions.addAction("selectParent",function(){if(q.isEnabled()&&1==q.getSelectionCount()){var a=q.getSelectionCell(),a=q.getIncomingEdges(a);null!=a&&0<a.length&&q.setSelectionCell(q.model.getTerminal(a[0],!0))}},null,null,"Alt+Shift+P");v.actions.addAction("selectDescendants",function(){if(q.isEnabled()&&1==q.getSelectionCount()){var a=q.getSelectionCell(),b=[];q.traverse(a,!0,function(a,c){null!=c&&b.push(c);b.push(a);return!0});q.setSelectionCells(b)}}, +null,null,"Alt+Shift+D");var C=q.removeCells;q.removeCells=function(a,c){c=null!=c?c:!0;null==a&&(a=this.getDeletableCells(this.getSelectionCells()));c&&(a=this.getDeletableCells(this.addAllEdges(a)));for(var e=[],f=0;f<a.length;f++){var g=a[f];z.isEdge(g)&&d(g)&&(e.push(g),g=z.getTerminal(g,!1));b(g)?(q.traverse(g,!0,function(a,b){null!=b&&e.push(b);e.push(a);return!0}),g=q.getIncomingEdges(a[f]),a=a.concat(g)):e.push(a[f])}a=e;return C.apply(this,arguments)};v.hoverIcons.getStateAt=function(a,c, +d){return b(a.cell)?null:this.graph.view.getState(this.graph.getCellAt(c,d))};var x=q.duplicateCells;q.duplicateCells=function(a,c){a=null!=a?a:this.getSelectionCells();for(var d=a.slice(0),e=0;e<d.length;e++){var f=q.view.getState(d[e]);if(null!=f&&b(f.cell))for(var g=q.getIncomingEdges(f.cell),f=0;f<g.length;f++)mxUtils.remove(g[f],a)}this.model.beginUpdate();try{var k=x.call(this,a,c);if(k.length==a.length)for(e=0;e<a.length;e++)if(b(a[e])){var l=q.getIncomingEdges(k[e]),g=q.getIncomingEdges(a[e]); +if(0==l.length&&0<g.length){var m=this.cloneCell(g[0]);this.addEdge(m,q.getDefaultParent(),this.model.getTerminal(g[0],!0),k[e])}}}finally{this.model.endUpdate()}return k};var A=q.moveCells;q.moveCells=function(a,c,d,e,f,g,k){var l=null;this.model.beginUpdate();try{var m=f,n=this.view.getState(f),p=null!=n?n.style:this.getCellStyle(f);if(null!=a&&b(f)&&"1"==mxUtils.getValue(p,"treeFolding","0")){for(var t=0;t<a.length;t++)if(b(a[t])||q.model.isEdge(a[t])&&null==q.model.getTerminal(a[t],!0)){f=q.model.getParent(a[t]); +break}if(null!=m&&f!=m&&null!=this.view.getState(a[0])){var u=q.getIncomingEdges(a[0]);if(0<u.length){var x=q.view.getState(q.model.getTerminal(u[0],!0));if(null!=x){var v=q.view.getState(m);null!=v&&(c=(v.getCenterX()-x.getCenterX())/q.view.scale,d=(v.getCenterY()-x.getCenterY())/q.view.scale)}}}}l=A.apply(this,arguments);if(null!=l&&null!=a&&l.length==a.length)for(t=0;t<l.length;t++)if(this.model.isEdge(l[t]))b(m)&&0>mxUtils.indexOf(l,this.model.getTerminal(l[t],!0))&&this.model.setTerminal(l[t], +m,!0);else if(b(a[t])&&(u=q.getIncomingEdges(a[t]),0<u.length))if(!e)b(m)&&0>mxUtils.indexOf(a,this.model.getTerminal(u[0],!0))&&this.model.setTerminal(u[0],m,!0);else if(0==q.getIncomingEdges(l[t]).length){n=m;if(null==n||n==q.model.getParent(a[t]))n=q.model.getTerminal(u[0],!0);e=this.cloneCell(u[0]);this.addEdge(e,q.getDefaultParent(),n,l[t])}}finally{this.model.endUpdate()}return l};if(null!=v.sidebar){var F=v.sidebar.dropAndConnect;v.sidebar.dropAndConnect=function(a,c,d,e){var f=q.model,g=null; +f.beginUpdate();try{if(g=F.apply(this,arguments),b(a))for(var k=0;k<g.length;k++)if(f.isEdge(g[k])&&null==f.getTerminal(g[k],!0)){f.setTerminal(g[k],a,!0);var l=q.getCellGeometry(g[k]);l.points=null;null!=l.getTerminalPoint(!0)&&l.setTerminalPoint(null,!0)}}finally{f.endUpdate()}return g}}var B={88:v.actions.get("selectChildren"),84:v.actions.get("selectSubtree"),80:v.actions.get("selectParent"),83:v.actions.get("selectSiblings")},D=v.onKeyDown;v.onKeyDown=function(a){try{if(q.isEnabled()&&!q.isEditing()&& +b(q.getSelectionCell())&&1==q.getSelectionCount()){var c=null;0<q.getIncomingEdges(q.getSelectionCell()).length&&(9==a.which?c=mxEvent.isShiftDown(a)?f(q.getSelectionCell()):l(q.getSelectionCell()):13==a.which&&(c=t(q.getSelectionCell(),!mxEvent.isShiftDown(a))));if(null!=c&&0<c.length)1==c.length&&q.model.isEdge(c[0])?q.setSelectionCell(q.model.getTerminal(c[0],!1)):q.setSelectionCell(c[c.length-1]),null!=v.hoverIcons&&v.hoverIcons.update(q.view.getState(q.getSelectionCell())),q.startEditingAtCell(q.getSelectionCell()), +mxEvent.consume(a);else if(mxEvent.isAltDown(a)&&mxEvent.isShiftDown(a)){var d=B[a.keyCode];null!=d&&(d.funct(a),mxEvent.consume(a))}else 37==a.keyCode?(u(q.getSelectionCell(),mxConstants.DIRECTION_WEST),mxEvent.consume(a)):38==a.keyCode?(u(q.getSelectionCell(),mxConstants.DIRECTION_NORTH),mxEvent.consume(a)):39==a.keyCode?(u(q.getSelectionCell(),mxConstants.DIRECTION_EAST),mxEvent.consume(a)):40==a.keyCode&&(u(q.getSelectionCell(),mxConstants.DIRECTION_SOUTH),mxEvent.consume(a))}}catch(N){console.log("error", +N)}mxEvent.isConsumed(a)||D.apply(this,arguments)};var G=q.connectVertex;q.connectVertex=function(a,c,d,e,g,k){var m=q.getIncomingEdges(a);return b(a)&&0<m.length?(d=n(a),e=d==mxConstants.DIRECTION_EAST||d==mxConstants.DIRECTION_WEST,g=c==mxConstants.DIRECTION_EAST||c==mxConstants.DIRECTION_WEST,d==c?l(a):e==g?f(a):t(a,c!=mxConstants.DIRECTION_NORTH&&c!=mxConstants.DIRECTION_WEST)):G.call(this,a,c,d,e,g,k)};q.getSubtree=function(a){var d=[a];!c(a)&&!b(a)||m(a)||q.traverse(a,!0,function(a,b){null!= b&&0>mxUtils.indexOf(d,b)&&d.push(b);0>mxUtils.indexOf(d,a)&&d.push(a);return!0});return d};var H=mxVertexHandler.prototype.init;mxVertexHandler.prototype.init=function(){H.apply(this,arguments);(c(this.state.cell)||b(this.state.cell))&&0<this.graph.getOutgoingEdges(this.state.cell).length&&(this.moveHandle=mxUtils.createImage(a),this.moveHandle.setAttribute("title","Move Subtree"),this.moveHandle.style.position="absolute",this.moveHandle.style.cursor="pointer",this.moveHandle.style.width="18px", this.moveHandle.style.height="18px",this.graph.container.appendChild(this.moveHandle),mxEvent.addGestureListeners(this.moveHandle,mxUtils.bind(this,function(a){this.graph.graphHandler.start(this.state.cell,mxEvent.getClientX(a),mxEvent.getClientY(a));this.graph.graphHandler.cells=this.graph.getSubtree(this.state.cell);this.graph.graphHandler.bounds=this.state.view.getBounds(this.graph.graphHandler.cells);this.graph.graphHandler.pBounds=this.graph.graphHandler.getPreviewBounds(this.graph.graphHandler.cells); this.graph.graphHandler.cellWasClicked=!0;this.graph.isMouseTrigger=mxEvent.isMouseEvent(a);this.graph.isMouseDown=!0;mxEvent.consume(a)})))};var J=mxVertexHandler.prototype.redrawHandles;mxVertexHandler.prototype.redrawHandles=function(){J.apply(this,arguments);null!=this.moveHandle&&(this.moveHandle.style.left=this.state.x+this.state.width+(40>this.state.width?10:0)+2+"px",this.moveHandle.style.top=this.state.y+this.state.height+(40>this.state.height?10:0)+2+"px")};var I=mxVertexHandler.prototype.destroy; @@ -9456,8 +9444,8 @@ mxVertexHandler.prototype.destroy=function(a,b){I.apply(this,arguments);null!=th a.vertex=!0;return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,a.value)}),this.addEntry("tree mindmap mindmaps central idea branch topic",function(){var a=new mxCell("Mindmap",new mxGeometry(0,0,420,126),"swimlane;html=1;startSize=20;horizontal=1;containerType=tree;");a.vertex=!0;var b=new mxCell("Central Idea",new mxGeometry(160,60,100,40),"ellipse;whiteSpace=wrap;html=1;align=center;container=1;recursiveResize=0;treeFolding=1;treeMoving=1;");b.vertex=!0;var c=new mxCell("Topic", new mxGeometry(320,40,80,20),"whiteSpace=wrap;html=1;rounded=1;arcSize=50;align=center;verticalAlign=middle;container=1;recursiveResize=0;strokeWidth=1;autosize=1;spacing=4;treeFolding=1;treeMoving=1;");c.vertex=!0;var d=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=entityRelationEdgeStyle;startArrow=none;endArrow=none;segment=10;curved=1;");d.geometry.relative=!0;d.edge=!0;b.insertEdge(d,!0);c.insertEdge(d,!1);var e=new mxCell("Branch",new mxGeometry(320,80,72,26),"whiteSpace=wrap;html=1;shape=partialRectangle;top=0;left=0;bottom=1;right=0;points=[[0,1],[1,1]];strokeColor=#000000;fillColor=none;align=center;verticalAlign=bottom;routingCenterY=0.5;snapToPoint=1;container=1;recursiveResize=0;autosize=1;treeFolding=1;treeMoving=1;"); e.vertex=!0;var g=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=entityRelationEdgeStyle;startArrow=none;endArrow=none;segment=10;curved=1;");g.geometry.relative=!0;g.edge=!0;b.insertEdge(g,!0);e.insertEdge(g,!1);var p=new mxCell("Topic",new mxGeometry(20,40,80,20),"whiteSpace=wrap;html=1;rounded=1;arcSize=50;align=center;verticalAlign=middle;container=1;recursiveResize=0;strokeWidth=1;autosize=1;spacing=4;treeFolding=1;treeMoving=1;");p.vertex=!0;var u=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=entityRelationEdgeStyle;startArrow=none;endArrow=none;segment=10;curved=1;"); -u.geometry.relative=!0;u.edge=!0;b.insertEdge(u,!0);p.insertEdge(u,!1);var v=new mxCell("Branch",new mxGeometry(20,80,72,26),"whiteSpace=wrap;html=1;shape=partialRectangle;top=0;left=0;bottom=1;right=0;points=[[0,1],[1,1]];strokeColor=#000000;fillColor=none;align=center;verticalAlign=bottom;routingCenterY=0.5;snapToPoint=1;container=1;recursiveResize=0;autosize=1;treeFolding=1;treeMoving=1;");v.vertex=!0;var t=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=entityRelationEdgeStyle;startArrow=none;endArrow=none;segment=10;curved=1;"); -t.geometry.relative=!0;t.edge=!0;b.insertEdge(t,!0);v.insertEdge(t,!1);a.insert(d);a.insert(g);a.insert(u);a.insert(t);a.insert(b);a.insert(c);a.insert(e);a.insert(p);a.insert(v);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,a.value)}),this.addEntry("tree mindmap mindmaps central idea",function(){var a=new mxCell("Central Idea",new mxGeometry(0,0,100,40),"ellipse;whiteSpace=wrap;html=1;align=center;container=1;recursiveResize=0;treeFolding=1;treeMoving=1;");a.vertex= +u.geometry.relative=!0;u.edge=!0;b.insertEdge(u,!0);p.insertEdge(u,!1);var v=new mxCell("Branch",new mxGeometry(20,80,72,26),"whiteSpace=wrap;html=1;shape=partialRectangle;top=0;left=0;bottom=1;right=0;points=[[0,1],[1,1]];strokeColor=#000000;fillColor=none;align=center;verticalAlign=bottom;routingCenterY=0.5;snapToPoint=1;container=1;recursiveResize=0;autosize=1;treeFolding=1;treeMoving=1;");v.vertex=!0;var q=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=entityRelationEdgeStyle;startArrow=none;endArrow=none;segment=10;curved=1;"); +q.geometry.relative=!0;q.edge=!0;b.insertEdge(q,!0);v.insertEdge(q,!1);a.insert(d);a.insert(g);a.insert(u);a.insert(q);a.insert(b);a.insert(c);a.insert(e);a.insert(p);a.insert(v);return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,a.value)}),this.addEntry("tree mindmap mindmaps central idea",function(){var a=new mxCell("Central Idea",new mxGeometry(0,0,100,40),"ellipse;whiteSpace=wrap;html=1;align=center;container=1;recursiveResize=0;treeFolding=1;treeMoving=1;");a.vertex= !0;return sb.createVertexTemplateFromCells([a],a.geometry.width,a.geometry.height,a.value)}),this.addEntry("tree mindmap mindmaps branch",function(){var a=new mxCell("Branch",new mxGeometry(0,0,80,20),"whiteSpace=wrap;html=1;shape=partialRectangle;top=0;left=0;bottom=1;right=0;points=[[0,1],[1,1]];strokeColor=#000000;fillColor=none;align=center;verticalAlign=bottom;routingCenterY=0.5;snapToPoint=1;container=1;recursiveResize=0;autosize=1;treeFolding=1;treeMoving=1;");a.vertex=!0;var b=new mxCell("", new mxGeometry(0,0,0,0),"edgeStyle=entityRelationEdgeStyle;startArrow=none;endArrow=none;segment=10;curved=1;");b.geometry.setTerminalPoint(new mxPoint(-40,40),!0);b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!1);return sb.createVertexTemplateFromCells([a,b],a.geometry.width,a.geometry.height,a.value)}),this.addEntry("tree mindmap mindmaps sub topic",function(){var a=new mxCell("Sub Topic",new mxGeometry(0,0,72,26),"whiteSpace=wrap;html=1;rounded=1;arcSize=50;align=center;verticalAlign=middle;container=1;recursiveResize=0;strokeWidth=1;autosize=1;spacing=4;treeFolding=1;treeMoving=1;"); a.vertex=!0;var b=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=entityRelationEdgeStyle;startArrow=none;endArrow=none;segment=10;curved=1;");b.geometry.setTerminalPoint(new mxPoint(-40,40),!0);b.geometry.relative=!0;b.edge=!0;a.insertEdge(b,!1);return sb.createVertexTemplateFromCells([a,b],a.geometry.width,a.geometry.height,a.value)}),this.addEntry("tree orgchart organization division",function(){var a=new mxCell("Orgchart",new mxGeometry(0,0,280,220),"swimlane;html=1;startSize=20;horizontal=1;containerType=tree;"); @@ -9475,7 +9463,7 @@ g.className="geTitle";b.appendChild(g);return g}var d=document.createElement("di c("newLibrary",mxResources.get("newLibrary")),d.style.boxSizing="border-box",d.style.paddingRight="6px",d.style.paddingLeft="6px",d.style.height="32px",d.style.left="0",d=c("openLibraryFrom",mxResources.get("openLibraryFrom")),d.style.borderLeft="1px solid lightgray",d.style.boxSizing="border-box",d.style.paddingRight="6px",d.style.paddingLeft="6px",d.style.height="32px",d.style.left="50%";b.appendChild(a.sidebar.container);b.style.overflow="hidden";return b});a.sidebarWindow.window.minimumSize=new mxRectangle(0, 0,90,90);a.sidebarWindow.window.setVisible(!0);a.getLocalData("sidebar",function(b){a.sidebar.showEntries(b,null,!0)});a.restoreLibraries()}else a.sidebarWindow.window.setVisible(!a.sidebarWindow.window.isVisible());a.sidebarWindow.window.isVisible()&&a.sidebarWindow.window.fit()}if("1"==urlParams.lightbox||"0"==urlParams.chrome||"undefined"===typeof window.Format||"undefined"===typeof window.Menus)window.uiTheme=null;else{var b=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth; try{var d=document.createElement("style");d.type="text/css";d.innerHTML="* { -webkit-font-smoothing: antialiased; }html body .mxWindow button.geBtn { font-size:12px !important; margin-left: 0; }html body table.mxWindow td.mxWindowPane div.mxWindowPane *:not(svg *) { font-size:9pt; }table.mxWindow * { font-size:13px; }html body div.diagramContainer button, html body button.geBtn { font-size:14px; font-weight:700;border-radius: 5px; }html body button.geBtn:active { opacity: 0.6; }html body a.geMenuItem { opacity: 0.75; cursor: pointer; user-select:none; }html body a.geMenuItem[disabled] { opacity: 0.2; }html body a.geMenuItem[disabled]:active { opacity: 0.2; }html body div.geActivePage { opacity: 0.7; }html body a.geMenuItem:active { opacity: 0.2; }html body .geToolbarButton { opacity: 0.3; }html body .geToolbarButton:active { opacity: 0.15; }html body .geStatus:active { opacity: 0.5; }html table.mxPopupMenu tr.mxPopupMenuItemHover:active { opacity:0.7; }html body .geDialog input, html body .geToolbarContainer input, html body .mxWindow input {padding:2px;display:inline-block; }div.geDialog { border-radius: 5px; }html body div.geDialog button.geBigButton { color: #fff !important; border: none !important; }.mxWindow button, .geDialog select, .mxWindow select { display:inline-block; }html body .mxWindow .geColorBtn, html body .geDialog .geColorBtn { background: none; }html body div.diagramContainer button, html body .mxWindow button, html body .geDialog button { min-width: 0px; border-radius: 5px; color: #353535 !important; border-style: solid; border-width: 1px; border-color: rgb(216, 216, 216); }html body div.diagramContainer button:hover, html body .mxWindow button:hover, html body .geDialog button:hover { border-color: rgb(177, 177, 177); }html body div.diagramContainer button:active, html body .mxWindow button:active, html body .geDialog button:active { opacity: 0.6; }div.diagramContainer button.geBtn, .mxWindow button.geBtn, .geDialog button.geBtn { min-width:72px; font-weight: 600; background: none; }div.diagramContainer button.gePrimaryBtn, .mxWindow button.gePrimaryBtn, .geDialog button.gePrimaryBtn, html body .gePrimaryBtn { background: #29b6f2; color: #fff !important; border: none; box-shadow: none; }html body .gePrimaryBtn:hover { background: #29b6f2; border: none; box-shadow: inherit; }html body button.gePrimaryBtn:hover { background: #29b6f2; border: none; }.geBtn button { min-width:72px !important; }div.geToolbarContainer a.geButton { margin:0px; padding: 0 2px 4px 2px; } .geDialog, .mxWindow td.mxWindowPane *, div.geSprite, td.mxWindowTitle, .geDiagramContainer { box-sizing:content-box; }.mxWindow div button.geStyleButton { box-sizing: border-box; }table.mxWindow td.mxWindowPane button.geColorBtn { padding:0px; box-sizing: border-box; }td.mxWindowPane .geSidebarContainer button { padding:2px; box-sizing: border-box; }html body .geMenuItem { font-size:14px; text-decoration: none; font-weight: normal; padding: 6px 10px 6px 10px; border: none; border-radius: 5px; color: #353535; box-shadow: inset 0 0 0 1px rgba(0,0,0,.11), inset 0 -1px 0 0 rgba(0,0,0,.08), 0 1px 2px 0 rgba(0,0,0,.04); }.geToolbarContainer { background:#fff !important; }div.geSidebarContainer { background-color: #ffffff; }div.geSidebarContainer .geTitle { background-color:#fdfdfd; }div.mxWindow td.mxWindowPane button { background-image: none; float: none; }td.mxWindowTitle { height: 22px !important; background: none !important; font-size: 13px !important; text-align:center !important; border-bottom:1px solid lightgray; }div.mxWindow, div.mxWindowTitle { background-image: none !important; background-color:#fff !important; }div.mxWindow { border-radius:5px; box-shadow: 0px 0px 2px #C0C0C0 !important;}div.mxWindow * { font-family: inherit !important; }html div.geVerticalHandle { position:absolute;bottom:0px;left:50%;cursor:row-resize;width:11px;height:11px;background:white;margin-bottom:-6px; margin-left:-6px; border: none; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.11), inset 0 -1px 0 0 rgba(0,0,0,.08), 0 1px 2px 0 rgba(0,0,0,.04); }html div.geInactivePage { background: rgb(249, 249, 249) !important; color:lightgray !important; } html div.geActivePage { background: white !important;color: #353535 !important; } html div.mxRubberband { border:1px solid; border-color: #29b6f2 !important; background:rgba(41,182,242,0.5) !important; } html body div.mxPopupMenu { border-radius:5px; border:1px solid #c0c0c0; padding:5px 0 5px 0; box-shadow: 0px 4px 17px -4px rgba(96,96,96,1); } html table.mxPopupMenu td.mxPopupMenuItem { color: #353535; font-size: 14px; padding-top: 4px; padding-bottom: 4px; }html table.mxPopupMenu tr.mxPopupMenuItemHover { background-color: #29b6f2; }html tr.mxPopupMenuItemHover td.mxPopupMenuItem, html tr.mxPopupMenuItemHover td.mxPopupMenuItem span { color: #fff !important; }html tr.mxPopupMenuItem, html td.mxPopupMenuItem { transition-property: none !important; }html table.mxPopupMenu hr { height: 2px; background-color: rgba(0,0,0,.07); margin: 5px 0; }"+ -(mxClient.IS_IOS?"html input[type=checkbox], html input[type=radio] { height:12px; }":"");document.getElementsByTagName("head")[0].appendChild(d)}catch(t){}var g=function(a,b,c,d,e,f,g){var k=document.createElement("div");k.className="geSidebarContainer";k.style.position="absolute";k.style.width="100%";k.style.height="100%";k.style.border="1px solid whiteSmoke";k.style.overflowX="hidden";k.style.overflowY="auto";g(k);this.window=new mxWindow(b,k,c,d,e,f,!0,!0);this.window.destroyOnClose=!1;this.window.setMaximizable(!1); +(mxClient.IS_IOS?"html input[type=checkbox], html input[type=radio] { height:12px; }":"");document.getElementsByTagName("head")[0].appendChild(d)}catch(q){}var g=function(a,b,c,d,e,f,g){var k=document.createElement("div");k.className="geSidebarContainer";k.style.position="absolute";k.style.width="100%";k.style.height="100%";k.style.border="1px solid whiteSmoke";k.style.overflowX="hidden";k.style.overflowY="auto";g(k);this.window=new mxWindow(b,k,c,d,e,f,!0,!0);this.window.destroyOnClose=!1;this.window.setMaximizable(!1); this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.window.setLocation=function(a,b){var c=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;a=Math.max(0,Math.min(a,(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)-this.table.clientWidth));b=Math.max(0,Math.min(b,c-this.table.clientHeight-48));this.getX()==a&&this.getY()==b||mxWindow.prototype.setLocation.apply(this,arguments)};mxClient.IS_SF&& (this.window.div.onselectstart=mxUtils.bind(this,function(b){null==b&&(b=window.event);return null!=b&&a.isSelectionAllowed(b)}))};Editor.checkmarkImage=Graph.createSvgImage(22,18,'<path transform="translate(4 0)" d="M7.181,15.007a1,1,0,0,1-.793-0.391L3.222,10.5A1,1,0,1,1,4.808,9.274L7.132,12.3l6.044-8.86A1,1,0,1,1,14.83,4.569l-6.823,10a1,1,0,0,1-.8.437H7.181Z" fill="#29b6f2"/>').src;mxWindow.prototype.closeImage=Graph.createSvgImage(18,10,'<path d="M 5 1 L 13 9 M 13 1 L 5 9" stroke="#C0C0C0" stroke-width="2"/>').src; mxWindow.prototype.minimizeImage=Graph.createSvgImage(14,10,'<path d="M 3 7 L 7 3 L 11 7" stroke="#C0C0C0" stroke-width="2" fill="#ffffff"/>').src;mxWindow.prototype.normalizeImage=Graph.createSvgImage(14,10,'<path d="M 3 3 L 7 7 L 11 3" stroke="#C0C0C0" stroke-width="2" fill="#ffffff"/>').src;mxConstraintHandler.prototype.pointImage=Graph.createSvgImage(5,5,'<path d="m 0 0 L 5 5 M 0 5 L 5 0" stroke="#29b6f2"/>');mxOutline.prototype.sizerImage=null;mxConstants.VERTEX_SELECTION_COLOR="#C0C0C0";mxConstants.EDGE_SELECTION_COLOR= @@ -9483,7 +9471,7 @@ mxWindow.prototype.minimizeImage=Graph.createSvgImage(14,10,'<path d="M 3 7 L 7 "#f0f0f0";mxGraphHandler.prototype.previewColor="#C0C0C0";mxRubberband.prototype.defaultOpacity=50;HoverIcons.prototype.inactiveOpacity=25;Format.prototype.showCloseButton=!1;EditorUi.prototype.closableScratchpad=!1;EditorUi.prototype.toolbarHeight=46;EditorUi.prototype.footerHeight=0;Graph.prototype.editAfterInsert=!0;Editor.prototype.isChromelessView=function(){return!1};Graph.prototype.isLightboxView=function(){return!1};var e=EditorUi.prototype.updateTabContainer;EditorUi.prototype.updateTabContainer= function(){null!=this.tabContainer&&(this.tabContainer.style.right="70px",this.diagramContainer.style.bottom=this.tabContainerHeight+"px");e.apply(this,arguments)};var k=EditorUi.prototype.updateActionStates;EditorUi.prototype.updateActionStates=function(){k.apply(this,arguments);this.menus.get("save").setEnabled(null!=this.getCurrentFile()||"1"==urlParams.embed)};var m=Menus.prototype.addShortcut;Menus.prototype.addShortcut=function(a,c){null!=c.shortcut&&900>b&&!mxClient.IS_IOS?a.firstChild.nextSibling.setAttribute("title", c.shortcut):m.apply(this,arguments)};var n=App.prototype.updateUserElement;App.prototype.updateUserElement=function(){n.apply(this,arguments);if(null!=this.userElement){var a=this.userElement;a.style.cssText="position:relative;margin-right:4px;cursor:pointer;display:"+a.style.display;a.className="geToolbarButton";a.innerHTML="";a.style.backgroundImage="url("+Editor.userImage+")";a.style.backgroundPosition="center center";a.style.backgroundRepeat="no-repeat";a.style.backgroundSize="24px 24px";a.style.height= -"24px";a.style.width="24px";a.style.cssFloat="right";a.setAttribute("title",mxResources.get("changeUser"));"none"!=a.style.display&&(a.style.display="inline-block")}};var q=App.prototype.updateButtonContainer;App.prototype.updateButtonContainer=function(){q.apply(this,arguments);if(null!=this.shareButton){var a=this.shareButton;a.style.cssText="display:inline-block;position:relative;box-sizing:border-box;margin-right:4px;cursor:pointer;";a.className="geToolbarButton";a.innerHTML="";a.style.backgroundImage= +"24px";a.style.width="24px";a.style.cssFloat="right";a.setAttribute("title",mxResources.get("changeUser"));"none"!=a.style.display&&(a.style.display="inline-block")}};var t=App.prototype.updateButtonContainer;App.prototype.updateButtonContainer=function(){t.apply(this,arguments);if(null!=this.shareButton){var a=this.shareButton;a.style.cssText="display:inline-block;position:relative;box-sizing:border-box;margin-right:4px;cursor:pointer;";a.className="geToolbarButton";a.innerHTML="";a.style.backgroundImage= "url("+Editor.shareImage+")";a.style.backgroundPosition="center center";a.style.backgroundRepeat="no-repeat";a.style.backgroundSize="24px 24px";a.style.height="24px";a.style.width="24px"}};EditorUi.prototype.addEmbedButtons=function(){if(null!=this.buttonContainer){var a=document.createElement("div");a.style.display="inline-block";a.style.position="relative";a.style.marginTop="8px";a.style.marginRight="4px";var b=document.createElement("a");b.className="geMenuItem gePrimaryBtn";b.style.marginLeft= "8px";b.style.padding="6px";"1"==urlParams.noSaveBtn?(mxUtils.write(b,mxResources.get("saveAndExit")),b.setAttribute("title",mxResources.get("saveAndExit")),mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("saveAndExit").funct()})),a.appendChild(b)):(mxUtils.write(b,mxResources.get("save")),b.setAttribute("title",mxResources.get("save")+" ("+Editor.ctrlKey+"+S)"),mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("save").funct()})),a.appendChild(b), "1"==urlParams.saveAndExit&&(b=document.createElement("a"),mxUtils.write(b,mxResources.get("saveAndExit")),b.setAttribute("title",mxResources.get("saveAndExit")),b.className="geMenuItem",b.style.marginLeft="6px",b.style.padding="6px",mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("saveAndExit").funct()})),a.appendChild(b)));b=document.createElement("a");mxUtils.write(b,mxResources.get("exit"));b.setAttribute("title",mxResources.get("exit"));b.className="geMenuItem";b.style.marginLeft= @@ -9519,32 +9507,32 @@ null,640<=b?d("",f.funct,!0,mxResources.get("zoomOut")+" ("+Editor.ctrlKey+" -)" null],60)}c=k.menus.get("language");null!=c&&!mxClient.IS_CHROMEAPP&&!EditorUi.isElectronApp&&600<=b?(null==Q&&(f=p.addMenu("",c.funct),f.setAttribute("title",mxResources.get("language")),f.className="geToolbarButton",f.style.backgroundImage="url("+Editor.globeImage+")",f.style.backgroundPosition="center center",f.style.backgroundRepeat="no-repeat",f.style.backgroundSize="24px 24px",f.style.position="absolute",f.style.height="24px",f.style.width="24px",f.style.zIndex="1",f.style.right="8px",f.style.cursor= "pointer",f.style.top="1"==urlParams.embed?"12px":"11px",m.appendChild(f),Q=f),k.buttonContainer.style.paddingRight="34px"):(k.buttonContainer.style.paddingRight="4px",null!=Q&&(Q.parentNode.removeChild(Q),Q=null))}v.apply(this,arguments);var g=document.createElement("div");g.style.cssText="position:absolute;left:0px;right:0px;top:0px;overflow-y:auto;overflow-x:hidden;";g.style.bottom="1"!=urlParams.embed||"1"==urlParams.libraries?"63px":"32px";this.sidebar=this.createSidebar(g);null==urlParams.clibs&& null==urlParams.libs||c(this);var k=this,l=k.editor.graph;k.toolbar=this.createToolbar(k.createDiv("geToolbar"));k.defaultLibraryName=mxResources.get("untitledLibrary");var m=document.createElement("div");m.style.cssText="position:absolute;left:0px;right:0px;top:0px;height:30px;padding:8px;border-bottom:1px solid lightgray;background-color:#ffffff;text-align:left;white-space:nowrap;";var n=null,p=new Menubar(k,m);k.statusContainer=k.createStatusContainer();k.statusContainer.style.position="relative"; -k.statusContainer.style.maxWidth="";k.statusContainer.style.marginTop="7px";k.statusContainer.style.marginLeft="6px";k.statusContainer.style.color="gray";k.statusContainer.style.cursor="default";k.editor.addListener("statusChanged",mxUtils.bind(this,function(){k.setStatusText(k.editor.getStatus())}));var q=k.descriptorChanged;k.descriptorChanged=function(){q.apply(this,arguments);var a=k.getCurrentFile();if(null!=a&&null!=a.getTitle()){var b=a.getMode();"google"==b?b="googleDrive":"github"==b?b="gitHub": +k.statusContainer.style.maxWidth="";k.statusContainer.style.marginTop="7px";k.statusContainer.style.marginLeft="6px";k.statusContainer.style.color="gray";k.statusContainer.style.cursor="default";k.editor.addListener("statusChanged",mxUtils.bind(this,function(){k.setStatusText(k.editor.getStatus())}));var t=k.descriptorChanged;k.descriptorChanged=function(){t.apply(this,arguments);var a=k.getCurrentFile();if(null!=a&&null!=a.getTitle()){var b=a.getMode();"google"==b?b="googleDrive":"github"==b?b="gitHub": "gitlab"==b?b="gitLab":"onedrive"==b&&(b="oneDrive");b=mxResources.get(b);m.setAttribute("title",a.getTitle()+(null!=b?" ("+b+")":""))}else m.removeAttribute("title")};k.setStatusText(k.editor.getStatus());m.appendChild(k.statusContainer);k.buttonContainer=document.createElement("div");k.buttonContainer.style.cssText="position:absolute;right:0px;padding-right:34px;top:10px;white-space:nowrap;padding-top:2px;background-color:inherit;";m.appendChild(k.buttonContainer);k.menubarContainer=k.buttonContainer; k.tabContainer=document.createElement("div");k.tabContainer.style.cssText="position:absolute;left:0px;right:0px;bottom:0px;height:30px;white-space:nowrap;border-bottom:1px solid lightgray;background-color:#ffffff;border-top:1px solid lightgray;margin-bottom:-2px;visibility:hidden;";var g=k.diagramContainer.parentNode,u=document.createElement("div");u.style.cssText="position:absolute;top:0px;left:0px;right:0px;bottom:0px;overflow:hidden;";k.diagramContainer.style.top="47px";var I=k.menus.get("viewZoom"); -if(null!=I){this.tabContainer.style.right="70px";var G=p.addMenu("100%",I.funct);G.setAttribute("title",mxResources.get("zoom")+" (Alt+Mousewheel)");G.style.whiteSpace="nowrap";G.style.backgroundImage="url("+mxWindow.prototype.minimizeImage+")";G.style.backgroundPosition="right 6px center";G.style.backgroundRepeat="no-repeat";G.style.backgroundColor="#ffffff";G.style.paddingRight="10px";G.style.display="block";G.style.position="absolute";G.style.textDecoration="none";G.style.textDecoration="none"; -G.style.right="0px";G.style.bottom="0px";G.style.overflow="hidden";G.style.visibility="hidden";G.style.textAlign="center";G.style.color="#000";G.style.fontSize="12px";G.style.color="#707070";G.style.width="59px";G.style.cursor="pointer";G.style.borderTop="1px solid lightgray";G.style.borderLeft="1px solid lightgray";G.style.height=parseInt(k.tabContainerHeight)-1+"px";G.style.lineHeight=parseInt(k.tabContainerHeight)+1+"px";u.appendChild(G);I=mxUtils.bind(this,function(){G.innerHTML=Math.round(100* -k.editor.graph.view.scale)+"%"});k.editor.graph.view.addListener(mxEvent.EVENT_SCALE,I);k.editor.addListener("resetGraphView",I);k.editor.addListener("pageSelected",I);var K=k.setGraphEnabled;k.setGraphEnabled=function(){K.apply(this,arguments);null!=this.tabContainer&&(G.style.visibility=this.tabContainer.style.visibility,this.diagramContainer.style.bottom="hidden"!=this.tabContainer.style.visibility?this.tabContainerHeight+"px":"0px")}}u.appendChild(k.tabContainer);u.appendChild(m);u.appendChild(k.diagramContainer); +if(null!=I){this.tabContainer.style.right="70px";var E=p.addMenu("100%",I.funct);E.setAttribute("title",mxResources.get("zoom")+" (Alt+Mousewheel)");E.style.whiteSpace="nowrap";E.style.backgroundImage="url("+mxWindow.prototype.minimizeImage+")";E.style.backgroundPosition="right 6px center";E.style.backgroundRepeat="no-repeat";E.style.backgroundColor="#ffffff";E.style.paddingRight="10px";E.style.display="block";E.style.position="absolute";E.style.textDecoration="none";E.style.textDecoration="none"; +E.style.right="0px";E.style.bottom="0px";E.style.overflow="hidden";E.style.visibility="hidden";E.style.textAlign="center";E.style.color="#000";E.style.fontSize="12px";E.style.color="#707070";E.style.width="59px";E.style.cursor="pointer";E.style.borderTop="1px solid lightgray";E.style.borderLeft="1px solid lightgray";E.style.height=parseInt(k.tabContainerHeight)-1+"px";E.style.lineHeight=parseInt(k.tabContainerHeight)+1+"px";u.appendChild(E);I=mxUtils.bind(this,function(){E.innerHTML=Math.round(100* +k.editor.graph.view.scale)+"%"});k.editor.graph.view.addListener(mxEvent.EVENT_SCALE,I);k.editor.addListener("resetGraphView",I);k.editor.addListener("pageSelected",I);var K=k.setGraphEnabled;k.setGraphEnabled=function(){K.apply(this,arguments);null!=this.tabContainer&&(E.style.visibility=this.tabContainer.style.visibility,this.diagramContainer.style.bottom="hidden"!=this.tabContainer.style.visibility?this.tabContainerHeight+"px":"0px")}}u.appendChild(k.tabContainer);u.appendChild(m);u.appendChild(k.diagramContainer); g.appendChild(u);k.updateTabContainer();var Q=null;f();mxEvent.addListener(window,"resize",function(){f();null!=k.sidebarWindow&&k.sidebarWindow.window.fit();null!=k.formatWindow&&k.formatWindow.window.fit();null!=k.actions.outlineWindow&&k.actions.outlineWindow.window.fit();null!=k.actions.layersWindow&&k.actions.layersWindow.window.fit();null!=k.menus.tagsWindow&&k.menus.tagsWindow.window.fit();null!=k.menus.findWindow&&k.menus.findWindow.window.fit()})}}}; -(function(){var a=!1;"min"!=uiTheme||a||mxClient.IS_CHROMEAPP||(EditorUi.initMinimalTheme(),a=!0);var c=EditorUi.initTheme;EditorUi.initTheme=function(){c.apply(this,arguments);"min"!=uiTheme||a||(this.initMinimalTheme(),a=!0)}})();(function(){var a=mxGuide.prototype.move;mxGuide.prototype.move=function(b,c,e,k){var d=c.y,g=c.x,q=!1,f=!1;if(null!=this.states&&null!=b&&null!=c){var l=this,p=new mxCellState,u=this.graph.getView().scale,v=Math.max(2,this.getGuideTolerance()/2);p.x=b.x+g;p.y=b.y+d;p.width=b.width;p.height=b.height;for(var t=[],z=[],y=0;y<this.states.length;y++){var C=this.states[y];C instanceof mxCellState&&(k||!this.graph.isCellSelected(C.cell))&&((p.x>=C.x&&p.x<=C.x+C.width||C.x>=p.x&&C.x<=p.x+p.width)&&(p.y> -C.y+C.height+4||p.y+p.height+4<C.y)?t.push(C):(p.y>=C.y&&p.y<=C.y+C.height||C.y>=p.y&&C.y<=p.y+p.height)&&(p.x>C.x+C.width+4||p.x+p.width+4<C.x)&&z.push(C))}var x=0,B=0,E=C=0,A=0,F=0,D=0,H=0,J=5*u;if(1<t.length){t.push(p);t.sort(function(a,b){return a.y-b.y});var I=!1,y=p==t[0],u=p==t[t.length-1];if(!y&&!u)for(y=1;y<t.length-1;y++)if(p==t[y]){u=t[y-1];y=t[y+1];C=B=E=(y.y-u.y-u.height-p.height)/2;break}for(y=0;y<t.length-1;y++){var u=t[y],G=t[y+1],K=p==u||p==G,G=G.y-u.y-u.height,I=I|p==u;if(0==B&& -0==x)B=G,x=1;else if(Math.abs(B-G)<=(K||1==y&&I?v:0))x+=1;else if(1<x&&I){t=t.slice(0,y+1);break}else if(3<=t.length-y&&!I)x=0,C=B=0!=E?E:0,t.splice(0,0==y?1:y),y=-1;else break;0!=C||K||(B=C=G)}3==t.length&&t[1]==p&&(C=0)}if(1<z.length){z.push(p);z.sort(function(a,b){return a.x-b.x});I=!1;y=p==z[0];u=p==z[z.length-1];if(!y&&!u)for(y=1;y<z.length-1;y++)if(p==z[y]){u=z[y-1];y=z[y+1];D=F=H=(y.x-u.x-u.width-p.width)/2;break}for(y=0;y<z.length-1;y++){u=z[y];G=z[y+1];K=p==u||p==G;G=G.x-u.x-u.width;I|=p== -u;if(0==F&&0==A)F=G,A=1;else if(Math.abs(F-G)<=(K||1==y&&I?v:0))A+=1;else if(1<A&&I){z=z.slice(0,y+1);break}else if(3<=z.length-y&&!I)A=0,D=F=0!=H?H:0,z.splice(0,0==y?1:y),y=-1;else break;0!=D||K||(F=D=G)}3==z.length&&z[1]==p&&(D=0)}v=function(a,b,c,d){var e=[],f;d?(d=J,f=0):(d=0,f=J);e.push(new mxPoint(a.x-d,a.y-f));e.push(new mxPoint(a.x+d,a.y+f));e.push(a);e.push(b);e.push(new mxPoint(b.x-d,b.y-f));e.push(new mxPoint(b.x+d,b.y+f));if(null!=c)return c.points=e,c;a=new mxPolyline(e,mxConstants.GUIDE_COLOR, -mxConstants.GUIDE_STROKEWIDTH);a.dialect=mxConstants.DIALECT_SVG;a.pointerEvents=!1;a.init(l.graph.getView().getOverlayPane());return a};F=function(a,b){if(a&&null!=l.guidesArrHor)for(var c=0;c<l.guidesArrHor.length;c++)l.guidesArrHor[c].node.style.visibility="hidden";if(b&&null!=l.guidesArrVer)for(c=0;c<l.guidesArrVer.length;c++)l.guidesArrVer[c].node.style.visibility="hidden"};if(1<A&&A==z.length-1){A=[];H=l.guidesArrHor;q=[];g=0;y=z[0]==p?1:0;I=z[y].y+z[y].height;if(0<D)for(y=0;y<z.length-1;y++)u= -z[y],G=z[y+1],p==u?(g=G.x-u.width-D,q.push(new mxPoint(g+u.width+J,I)),q.push(new mxPoint(G.x-J,I))):p==G?(q.push(new mxPoint(u.x+u.width+J,I)),g=u.x+u.width+D,q.push(new mxPoint(g-J,I))):(q.push(new mxPoint(u.x+u.width+J,I)),q.push(new mxPoint(G.x-J,I)));else u=z[0],y=z[2],g=u.x+u.width+(y.x-u.x-u.width-p.width)/2,q.push(new mxPoint(u.x+u.width+J,I)),q.push(new mxPoint(g-J,I)),q.push(new mxPoint(g+p.width+J,I)),q.push(new mxPoint(y.x-J,I));for(y=0;y<q.length;y+=2)z=q[y],D=q[y+1],z=v(z,D,null!=H? -H[y/2]:null),z.node.style.visibility="visible",z.redraw(),A.push(z);for(y=q.length/2;null!=H&&y<H.length;y++)H[y].destroy();l.guidesArrHor=A;g-=b.x;q=!0}else F(!0);if(1<x&&x==t.length-1){A=[];H=l.guidesArrVer;f=[];d=0;y=t[0]==p?1:0;x=t[y].x+t[y].width;if(0<C)for(y=0;y<t.length-1;y++)u=t[y],G=t[y+1],p==u?(d=G.y-u.height-C,f.push(new mxPoint(x,d+u.height+J)),f.push(new mxPoint(x,G.y-J))):p==G?(f.push(new mxPoint(x,u.y+u.height+J)),d=u.y+u.height+C,f.push(new mxPoint(x,d-J))):(f.push(new mxPoint(x,u.y+ -u.height+J)),f.push(new mxPoint(x,G.y-J)));else u=t[0],y=t[2],d=u.y+u.height+(y.y-u.y-u.height-p.height)/2,f.push(new mxPoint(x,u.y+u.height+J)),f.push(new mxPoint(x,d-J)),f.push(new mxPoint(x,d+p.height+J)),f.push(new mxPoint(x,y.y-J));for(y=0;y<f.length;y+=2)z=f[y],D=f[y+1],z=v(z,D,null!=H?H[y/2]:null,!0),z.node.style.visibility="visible",z.redraw(),A.push(z);for(y=f.length/2;null!=H&&y<H.length;y++)H[y].destroy();l.guidesArrVer=A;d-=b.y;f=!0}else F(!1,!0)}if(q||f)return p=new mxPoint(g,d),t=a.call(this, -b,p,e,k),q&&!f?p.y=t.y:f&&!q&&(p.x=t.x),t.y!=p.y&&null!=this.guideY&&null!=this.guideY.node&&(this.guideY.node.style.visibility="hidden"),t.x!=p.x&&null!=this.guideX&&null!=this.guideX.node&&(this.guideX.node.style.visibility="hidden"),p;F(!0,!0);return a.apply(this,arguments)};var c=mxGuide.prototype.setVisible;mxGuide.prototype.setVisible=function(a){c.call(this,a);var b=this.guidesArrVer,d=this.guidesArrHor;if(null!=b)for(var k=0;k<b.length;k++)b[k].node.style.visibility=a?"visible":"hidden";if(null!= -d)for(k=0;k<d.length;k++)d[k].node.style.visibility=a?"visible":"hidden"};var b=mxGuide.prototype.destroy;mxGuide.prototype.destroy=function(){b.call(this);var a=this.guidesArrVer,c=this.guidesArrHor;if(null!=a){for(var e=0;e<a.length;e++)a[e].destroy();this.guidesArrVer=null}if(null!=c){for(e=0;e<c.length;e++)c[e].destroy();this.guidesArrHor=null}}})();function mxRuler(a,c,b,d){function g(){var c=a.diagramContainer;q.style.top=c.offsetTop-k+"px";q.style.left=c.offsetLeft-k+"px";q.style.width=(b?0:c.offsetWidth)+k+"px";q.style.height=(b?c.offsetHeight:0)+k+"px"}function e(a,b,c){var d;return function(){var e=this,f=arguments,g=c&&!d;clearTimeout(d);d=setTimeout(function(){d=null;c||a.apply(e,f)},b);g&&a.apply(e,f)}}var k=this.RULER_THICKNESS,m=this;this.unit=c;var n="dark"!=window.uiTheme?{bkgClr:"#ffffff",outBkgClr:"#e8e9ed",cornerClr:"#fbfbfb", -strokeClr:"#dadce0",fontClr:"#BBBBBB",guideClr:"#0000BB"}:{bkgClr:"#202020",outBkgClr:"#2a2a2a",cornerClr:"#2a2a2a",strokeClr:"#505759",fontClr:"#BBBBBB",guideClr:"#0088cf"},q=document.createElement("div");q.style.position="absolute";q.style.background=n.bkgClr;q.style[b?"borderRight":"borderBottom"]="0.5px solid "+n.strokeClr;q.style.borderLeft="0.5px solid "+n.strokeClr;document.body.appendChild(q);mxEvent.disableContextMenu(q);this.editorUiRefresh=a.refresh;a.refresh=function(b){m.editorUiRefresh.apply(a, -arguments);g()};g();var f=document.createElement("canvas");f.width=q.offsetWidth;f.height=q.offsetHeight;q.style.overflow="hidden";f.style.position="relative";q.appendChild(f);var l=f.getContext("2d");this.ui=a;var p=a.editor.graph;this.graph=p;this.container=q;this.canvas=f;var u=function(a,c,d,e,f){a=Math.round(a);c=Math.round(c);d=Math.round(d);e=Math.round(e);l.beginPath();l.moveTo(a+.5,c+.5);l.lineTo(d+.5,e+.5);l.stroke();f&&(b?(l.save(),l.translate(a,c),l.rotate(-Math.PI/2),l.fillText(f,0,0), -l.restore()):l.fillText(f,a,c))},v=function(){l.clearRect(0,0,f.width,f.height);l.beginPath();l.lineWidth=.7;l.strokeStyle=n.strokeClr;l.setLineDash([]);l.font="9px Arial";l.textAlign="center";var a=p.view.scale,c=p.view.getBackgroundPageBounds(),d=p.view.translate,e=p.view.getGraphBounds(),g=p.pageVisible,q=g?k+(b?c.y-p.container.scrollTop:c.x-p.container.scrollLeft):k+(b?d.y-p.container.scrollTop:d.x-p.container.scrollLeft),v=0;g&&(v=b?Math.floor(((e.y+1)/a-d.y)/p.pageFormat.height)*p.pageFormat.height* -a:Math.floor(((e.x+1)/a-d.x)/p.pageFormat.width)*p.pageFormat.width*a);var A,F,D;switch(m.unit){case mxConstants.POINTS:A=D=10;F=[3,5,5,5,5,10,5,5,5,5];break;case mxConstants.MILLIMETERS:D=10;A=mxConstants.PIXELS_PER_MM;F=[5,3,3,3,3,6,3,3,3,3];break;case mxConstants.INCHES:D=.5>=a||4<=a?8:16,A=mxConstants.PIXELS_PER_INCH/D,F=[5,3,5,3,7,3,5,3,7,3,5,3,7,3,5,3]}d=A;2<=a?d=A/(2*Math.floor(a/2)):.5>=a&&(d=A*Math.floor(1/a/2)*(m.unit==mxConstants.MILLIMETERS?2:1));A=null;c=g?Math.min(q+(b?c.height:c.width), -b?f.height:f.width):b?f.height:f.width;g&&(l.fillStyle=n.outBkgClr,b?(l.fillRect(0,k,k,q-k),l.fillRect(0,c,k,f.height)):(l.fillRect(k,0,q-k,k),l.fillRect(c,0,f.width,k)));l.fillStyle=n.fontClr;for(g=g?q:q%(d*a);g<=c;g+=d*a)if(e=Math.round((g-q)/a/d),!(g<k||e==A)){A=e;var H=null;0==e%D&&(H=m.formatText(v+e*d)+"");b?u(k-F[Math.abs(e)%D],g,k,g,H):u(g,k-F[Math.abs(e)%D],g,k,H)}l.lineWidth=1;u(b?0:k,b?k:0,k,k);l.fillStyle=n.cornerClr;l.fillRect(0,0,k,k)};this.drawRuler=v;this.sizeListener=c=e(function(){var a= -p.container;b?(a=a.offsetHeight+k,f.height!=a&&(f.height=a,q.style.height=a+"px",v())):(a=a.offsetWidth+k,f.width!=a&&(f.width=a,q.style.width=a+"px",v()))},10);this.pageListener=function(){v()};this.scrollListener=d=e(function(){var a=b?p.container.scrollTop:p.container.scrollLeft;m.lastScroll!=a&&(m.lastScroll=a,v())},10);this.unitListener=function(a,b){m.setUnit(b.getProperty("unit"))};p.addListener(mxEvent.SIZE,c);p.container.addEventListener("scroll",d);p.view.addListener("unitChanged",this.unitListener); -a.addListener("pageViewChanged",this.pageListener);a.addListener("pageScaleChanged",this.pageListener);a.addListener("pageFormatChanged",this.pageListener);this.setStyle=function(a){n=a;q.style.background=n.bkgClr;v()};this.origGuideMove=mxGuide.prototype.move;mxGuide.prototype.move=function(a,c,d,e){var f;if(b&&4<a.height||!b&&4<a.width){if(null!=m.guidePart)try{l.putImageData(m.guidePart.imgData1,m.guidePart.x1,m.guidePart.y1),l.putImageData(m.guidePart.imgData2,m.guidePart.x2,m.guidePart.y2),l.putImageData(m.guidePart.imgData3, -m.guidePart.x3,m.guidePart.y3)}catch(K){}f=m.origGuideMove.apply(this,arguments);try{var g,p,q,t,v,y,z,C,G;l.lineWidth=.5;l.strokeStyle=n.guideClr;l.setLineDash([2]);b?(p=a.y+f.y+k-this.graph.container.scrollTop,g=0,v=p+a.height/2,t=k/2,C=p+a.height,z=0,q=l.getImageData(g,p-1,k,3),u(g,p,k,p),p--,y=l.getImageData(t,v-1,k,3),u(t,v,k,v),v--,G=l.getImageData(z,C-1,k,3),u(z,C,k,C),C--):(p=0,g=a.x+f.x+k-this.graph.container.scrollLeft,v=k/2,t=g+a.width/2,C=0,z=g+a.width,q=l.getImageData(g-1,p,3,k),u(g, -p,g,k),g--,y=l.getImageData(t-1,v,3,k),u(t,v,t,k),t--,G=l.getImageData(z-1,C,3,k),u(z,C,z,k),z--);if(null==m.guidePart||m.guidePart.x1!=g||m.guidePart.y1!=p)m.guidePart={imgData1:q,x1:g,y1:p,imgData2:y,x2:t,y2:v,imgData3:G,x3:z,y3:C}}catch(K){}}else f=m.origGuideMove.apply(this,arguments);return f};this.origGuideDestroy=mxGuide.prototype.destroy;mxGuide.prototype.destroy=function(){var a=m.origGuideDestroy.apply(this,arguments);if(null!=m.guidePart)try{l.putImageData(m.guidePart.imgData1,m.guidePart.x1, +(function(){var a=!1;"min"!=uiTheme||a||mxClient.IS_CHROMEAPP||(EditorUi.initMinimalTheme(),a=!0);var c=EditorUi.initTheme;EditorUi.initTheme=function(){c.apply(this,arguments);"min"!=uiTheme||a||(this.initMinimalTheme(),a=!0)}})();(function(){var a=mxGuide.prototype.move;mxGuide.prototype.move=function(b,c,e,k){var d=c.y,g=c.x,t=!1,f=!1;if(null!=this.states&&null!=b&&null!=c){var l=this,p=new mxCellState,u=this.graph.getView().scale,v=Math.max(2,this.getGuideTolerance()/2);p.x=b.x+g;p.y=b.y+d;p.width=b.width;p.height=b.height;for(var q=[],z=[],y=0;y<this.states.length;y++){var C=this.states[y];C instanceof mxCellState&&(k||!this.graph.isCellSelected(C.cell))&&((p.x>=C.x&&p.x<=C.x+C.width||C.x>=p.x&&C.x<=p.x+p.width)&&(p.y> +C.y+C.height+4||p.y+p.height+4<C.y)?q.push(C):(p.y>=C.y&&p.y<=C.y+C.height||C.y>=p.y&&C.y<=p.y+p.height)&&(p.x>C.x+C.width+4||p.x+p.width+4<C.x)&&z.push(C))}var x=0,A=0,F=C=0,B=0,D=0,G=0,H=0,J=5*u;if(1<q.length){q.push(p);q.sort(function(a,b){return a.y-b.y});var I=!1,y=p==q[0],u=p==q[q.length-1];if(!y&&!u)for(y=1;y<q.length-1;y++)if(p==q[y]){u=q[y-1];y=q[y+1];C=A=F=(y.y-u.y-u.height-p.height)/2;break}for(y=0;y<q.length-1;y++){var u=q[y],E=q[y+1],K=p==u||p==E,E=E.y-u.y-u.height,I=I|p==u;if(0==A&& +0==x)A=E,x=1;else if(Math.abs(A-E)<=(K||1==y&&I?v:0))x+=1;else if(1<x&&I){q=q.slice(0,y+1);break}else if(3<=q.length-y&&!I)x=0,C=A=0!=F?F:0,q.splice(0,0==y?1:y),y=-1;else break;0!=C||K||(A=C=E)}3==q.length&&q[1]==p&&(C=0)}if(1<z.length){z.push(p);z.sort(function(a,b){return a.x-b.x});I=!1;y=p==z[0];u=p==z[z.length-1];if(!y&&!u)for(y=1;y<z.length-1;y++)if(p==z[y]){u=z[y-1];y=z[y+1];G=D=H=(y.x-u.x-u.width-p.width)/2;break}for(y=0;y<z.length-1;y++){u=z[y];E=z[y+1];K=p==u||p==E;E=E.x-u.x-u.width;I|=p== +u;if(0==D&&0==B)D=E,B=1;else if(Math.abs(D-E)<=(K||1==y&&I?v:0))B+=1;else if(1<B&&I){z=z.slice(0,y+1);break}else if(3<=z.length-y&&!I)B=0,G=D=0!=H?H:0,z.splice(0,0==y?1:y),y=-1;else break;0!=G||K||(D=G=E)}3==z.length&&z[1]==p&&(G=0)}v=function(a,b,c,d){var e=[],f;d?(d=J,f=0):(d=0,f=J);e.push(new mxPoint(a.x-d,a.y-f));e.push(new mxPoint(a.x+d,a.y+f));e.push(a);e.push(b);e.push(new mxPoint(b.x-d,b.y-f));e.push(new mxPoint(b.x+d,b.y+f));if(null!=c)return c.points=e,c;a=new mxPolyline(e,mxConstants.GUIDE_COLOR, +mxConstants.GUIDE_STROKEWIDTH);a.dialect=mxConstants.DIALECT_SVG;a.pointerEvents=!1;a.init(l.graph.getView().getOverlayPane());return a};D=function(a,b){if(a&&null!=l.guidesArrHor)for(var c=0;c<l.guidesArrHor.length;c++)l.guidesArrHor[c].node.style.visibility="hidden";if(b&&null!=l.guidesArrVer)for(c=0;c<l.guidesArrVer.length;c++)l.guidesArrVer[c].node.style.visibility="hidden"};if(1<B&&B==z.length-1){B=[];H=l.guidesArrHor;t=[];g=0;y=z[0]==p?1:0;I=z[y].y+z[y].height;if(0<G)for(y=0;y<z.length-1;y++)u= +z[y],E=z[y+1],p==u?(g=E.x-u.width-G,t.push(new mxPoint(g+u.width+J,I)),t.push(new mxPoint(E.x-J,I))):p==E?(t.push(new mxPoint(u.x+u.width+J,I)),g=u.x+u.width+G,t.push(new mxPoint(g-J,I))):(t.push(new mxPoint(u.x+u.width+J,I)),t.push(new mxPoint(E.x-J,I)));else u=z[0],y=z[2],g=u.x+u.width+(y.x-u.x-u.width-p.width)/2,t.push(new mxPoint(u.x+u.width+J,I)),t.push(new mxPoint(g-J,I)),t.push(new mxPoint(g+p.width+J,I)),t.push(new mxPoint(y.x-J,I));for(y=0;y<t.length;y+=2)z=t[y],G=t[y+1],z=v(z,G,null!=H? +H[y/2]:null),z.node.style.visibility="visible",z.redraw(),B.push(z);for(y=t.length/2;null!=H&&y<H.length;y++)H[y].destroy();l.guidesArrHor=B;g-=b.x;t=!0}else D(!0);if(1<x&&x==q.length-1){B=[];H=l.guidesArrVer;f=[];d=0;y=q[0]==p?1:0;x=q[y].x+q[y].width;if(0<C)for(y=0;y<q.length-1;y++)u=q[y],E=q[y+1],p==u?(d=E.y-u.height-C,f.push(new mxPoint(x,d+u.height+J)),f.push(new mxPoint(x,E.y-J))):p==E?(f.push(new mxPoint(x,u.y+u.height+J)),d=u.y+u.height+C,f.push(new mxPoint(x,d-J))):(f.push(new mxPoint(x,u.y+ +u.height+J)),f.push(new mxPoint(x,E.y-J)));else u=q[0],y=q[2],d=u.y+u.height+(y.y-u.y-u.height-p.height)/2,f.push(new mxPoint(x,u.y+u.height+J)),f.push(new mxPoint(x,d-J)),f.push(new mxPoint(x,d+p.height+J)),f.push(new mxPoint(x,y.y-J));for(y=0;y<f.length;y+=2)z=f[y],G=f[y+1],z=v(z,G,null!=H?H[y/2]:null,!0),z.node.style.visibility="visible",z.redraw(),B.push(z);for(y=f.length/2;null!=H&&y<H.length;y++)H[y].destroy();l.guidesArrVer=B;d-=b.y;f=!0}else D(!1,!0)}if(t||f)return p=new mxPoint(g,d),q=a.call(this, +b,p,e,k),t&&!f?p.y=q.y:f&&!t&&(p.x=q.x),q.y!=p.y&&null!=this.guideY&&null!=this.guideY.node&&(this.guideY.node.style.visibility="hidden"),q.x!=p.x&&null!=this.guideX&&null!=this.guideX.node&&(this.guideX.node.style.visibility="hidden"),p;D(!0,!0);return a.apply(this,arguments)};var c=mxGuide.prototype.setVisible;mxGuide.prototype.setVisible=function(a){c.call(this,a);var b=this.guidesArrVer,d=this.guidesArrHor;if(null!=b)for(var k=0;k<b.length;k++)b[k].node.style.visibility=a?"visible":"hidden";if(null!= +d)for(k=0;k<d.length;k++)d[k].node.style.visibility=a?"visible":"hidden"};var b=mxGuide.prototype.destroy;mxGuide.prototype.destroy=function(){b.call(this);var a=this.guidesArrVer,c=this.guidesArrHor;if(null!=a){for(var e=0;e<a.length;e++)a[e].destroy();this.guidesArrVer=null}if(null!=c){for(e=0;e<c.length;e++)c[e].destroy();this.guidesArrHor=null}}})();function mxRuler(a,c,b,d){function g(){var c=a.diagramContainer;t.style.top=c.offsetTop-k+"px";t.style.left=c.offsetLeft-k+"px";t.style.width=(b?0:c.offsetWidth)+k+"px";t.style.height=(b?c.offsetHeight:0)+k+"px"}function e(a,b,c){var d;return function(){var e=this,f=arguments,g=c&&!d;clearTimeout(d);d=setTimeout(function(){d=null;c||a.apply(e,f)},b);g&&a.apply(e,f)}}var k=this.RULER_THICKNESS,m=this;this.unit=c;var n="dark"!=window.uiTheme?{bkgClr:"#ffffff",outBkgClr:"#e8e9ed",cornerClr:"#fbfbfb", +strokeClr:"#dadce0",fontClr:"#BBBBBB",guideClr:"#0000BB"}:{bkgClr:"#202020",outBkgClr:"#2a2a2a",cornerClr:"#2a2a2a",strokeClr:"#505759",fontClr:"#BBBBBB",guideClr:"#0088cf"},t=document.createElement("div");t.style.position="absolute";t.style.background=n.bkgClr;t.style[b?"borderRight":"borderBottom"]="0.5px solid "+n.strokeClr;t.style.borderLeft="0.5px solid "+n.strokeClr;document.body.appendChild(t);mxEvent.disableContextMenu(t);this.editorUiRefresh=a.refresh;a.refresh=function(b){m.editorUiRefresh.apply(a, +arguments);g()};g();var f=document.createElement("canvas");f.width=t.offsetWidth;f.height=t.offsetHeight;t.style.overflow="hidden";f.style.position="relative";t.appendChild(f);var l=f.getContext("2d");this.ui=a;var p=a.editor.graph;this.graph=p;this.container=t;this.canvas=f;var u=function(a,c,d,e,f){a=Math.round(a);c=Math.round(c);d=Math.round(d);e=Math.round(e);l.beginPath();l.moveTo(a+.5,c+.5);l.lineTo(d+.5,e+.5);l.stroke();f&&(b?(l.save(),l.translate(a,c),l.rotate(-Math.PI/2),l.fillText(f,0,0), +l.restore()):l.fillText(f,a,c))},v=function(){l.clearRect(0,0,f.width,f.height);l.beginPath();l.lineWidth=.7;l.strokeStyle=n.strokeClr;l.setLineDash([]);l.font="9px Arial";l.textAlign="center";var a=p.view.scale,c=p.view.getBackgroundPageBounds(),d=p.view.translate,e=p.view.getGraphBounds(),g=p.pageVisible,t=g?k+(b?c.y-p.container.scrollTop:c.x-p.container.scrollLeft):k+(b?d.y-p.container.scrollTop:d.x-p.container.scrollLeft),v=0;g&&(v=b?Math.floor(((e.y+1)/a-d.y)/p.pageFormat.height)*p.pageFormat.height* +a:Math.floor(((e.x+1)/a-d.x)/p.pageFormat.width)*p.pageFormat.width*a);var B,D,G;switch(m.unit){case mxConstants.POINTS:B=G=10;D=[3,5,5,5,5,10,5,5,5,5];break;case mxConstants.MILLIMETERS:G=10;B=mxConstants.PIXELS_PER_MM;D=[5,3,3,3,3,6,3,3,3,3];break;case mxConstants.INCHES:G=.5>=a||4<=a?8:16,B=mxConstants.PIXELS_PER_INCH/G,D=[5,3,5,3,7,3,5,3,7,3,5,3,7,3,5,3]}d=B;2<=a?d=B/(2*Math.floor(a/2)):.5>=a&&(d=B*Math.floor(1/a/2)*(m.unit==mxConstants.MILLIMETERS?2:1));B=null;c=g?Math.min(t+(b?c.height:c.width), +b?f.height:f.width):b?f.height:f.width;g&&(l.fillStyle=n.outBkgClr,b?(l.fillRect(0,k,k,t-k),l.fillRect(0,c,k,f.height)):(l.fillRect(k,0,t-k,k),l.fillRect(c,0,f.width,k)));l.fillStyle=n.fontClr;for(g=g?t:t%(d*a);g<=c;g+=d*a)if(e=Math.round((g-t)/a/d),!(g<k||e==B)){B=e;var H=null;0==e%G&&(H=m.formatText(v+e*d)+"");b?u(k-D[Math.abs(e)%G],g,k,g,H):u(g,k-D[Math.abs(e)%G],g,k,H)}l.lineWidth=1;u(b?0:k,b?k:0,k,k);l.fillStyle=n.cornerClr;l.fillRect(0,0,k,k)};this.drawRuler=v;this.sizeListener=c=e(function(){var a= +p.container;b?(a=a.offsetHeight+k,f.height!=a&&(f.height=a,t.style.height=a+"px",v())):(a=a.offsetWidth+k,f.width!=a&&(f.width=a,t.style.width=a+"px",v()))},10);this.pageListener=function(){v()};this.scrollListener=d=e(function(){var a=b?p.container.scrollTop:p.container.scrollLeft;m.lastScroll!=a&&(m.lastScroll=a,v())},10);this.unitListener=function(a,b){m.setUnit(b.getProperty("unit"))};p.addListener(mxEvent.SIZE,c);p.container.addEventListener("scroll",d);p.view.addListener("unitChanged",this.unitListener); +a.addListener("pageViewChanged",this.pageListener);a.addListener("pageScaleChanged",this.pageListener);a.addListener("pageFormatChanged",this.pageListener);this.setStyle=function(a){n=a;t.style.background=n.bkgClr;v()};this.origGuideMove=mxGuide.prototype.move;mxGuide.prototype.move=function(a,c,d,e){var f;if(b&&4<a.height||!b&&4<a.width){if(null!=m.guidePart)try{l.putImageData(m.guidePart.imgData1,m.guidePart.x1,m.guidePart.y1),l.putImageData(m.guidePart.imgData2,m.guidePart.x2,m.guidePart.y2),l.putImageData(m.guidePart.imgData3, +m.guidePart.x3,m.guidePart.y3)}catch(K){}f=m.origGuideMove.apply(this,arguments);try{var g,p,q,t,v,y,z,C,E;l.lineWidth=.5;l.strokeStyle=n.guideClr;l.setLineDash([2]);b?(p=a.y+f.y+k-this.graph.container.scrollTop,g=0,v=p+a.height/2,t=k/2,C=p+a.height,z=0,q=l.getImageData(g,p-1,k,3),u(g,p,k,p),p--,y=l.getImageData(t,v-1,k,3),u(t,v,k,v),v--,E=l.getImageData(z,C-1,k,3),u(z,C,k,C),C--):(p=0,g=a.x+f.x+k-this.graph.container.scrollLeft,v=k/2,t=g+a.width/2,C=0,z=g+a.width,q=l.getImageData(g-1,p,3,k),u(g, +p,g,k),g--,y=l.getImageData(t-1,v,3,k),u(t,v,t,k),t--,E=l.getImageData(z-1,C,3,k),u(z,C,z,k),z--);if(null==m.guidePart||m.guidePart.x1!=g||m.guidePart.y1!=p)m.guidePart={imgData1:q,x1:g,y1:p,imgData2:y,x2:t,y2:v,imgData3:E,x3:z,y3:C}}catch(K){}}else f=m.origGuideMove.apply(this,arguments);return f};this.origGuideDestroy=mxGuide.prototype.destroy;mxGuide.prototype.destroy=function(){var a=m.origGuideDestroy.apply(this,arguments);if(null!=m.guidePart)try{l.putImageData(m.guidePart.imgData1,m.guidePart.x1, m.guidePart.y1),l.putImageData(m.guidePart.imgData2,m.guidePart.x2,m.guidePart.y2),l.putImageData(m.guidePart.imgData3,m.guidePart.x3,m.guidePart.y3),m.guidePart=null}catch(z){}return a}}mxRuler.prototype.RULER_THICKNESS=14;mxRuler.prototype.unit=mxConstants.POINTS;mxRuler.prototype.setUnit=function(a){this.unit=a;this.drawRuler()}; mxRuler.prototype.formatText=function(a){switch(this.unit){case mxConstants.POINTS:return Math.round(a);case mxConstants.MILLIMETERS:return(a/mxConstants.PIXELS_PER_MM).toFixed(1);case mxConstants.INCHES:return(a/mxConstants.PIXELS_PER_INCH).toFixed(2)}}; mxRuler.prototype.destroy=function(){this.ui.refresh=this.editorUiRefresh;mxGuide.prototype.move=this.origGuideMove;mxGuide.prototype.destroy=this.origGuideDestroy;this.graph.removeListener(this.sizeListener);this.graph.container.removeEventListener("scroll",this.scrollListener);this.graph.view.removeListener("unitChanged",this.unitListener);this.ui.removeListener("pageViewChanged",this.pageListener);this.ui.removeListener("pageScaleChanged",this.pageListener);this.ui.removeListener("pageFormatChanged", @@ -9552,10 +9540,10 @@ this.pageListener);null!=this.container&&this.container.parentNode.removeChild(t function mxDualRuler(a,c){var b=new mxPoint(mxRuler.prototype.RULER_THICKNESS,mxRuler.prototype.RULER_THICKNESS);this.editorUiGetDiagContOffset=a.getDiagramContainerOffset;a.getDiagramContainerOffset=function(){return b};this.editorUiRefresh=a.refresh;this.ui=a;this.origGuideMove=mxGuide.prototype.move;this.origGuideDestroy=mxGuide.prototype.destroy;this.vRuler=new mxRuler(a,c,!0);this.hRuler=new mxRuler(a,c,!1,!0);var d=mxUtils.bind(this,function(b){var c=!1;mxEvent.addGestureListeners(b,mxUtils.bind(this, function(b){c=null!=a.currentMenu;mxEvent.consume(b)}),null,mxUtils.bind(this,function(d){if(a.editor.graph.isEnabled()&&!a.editor.graph.isMouseDown&&(mxEvent.isTouchEvent(d)||mxEvent.isPopupTrigger(d))){a.editor.graph.popupMenuHandler.hideMenu();a.hideCurrentMenu();if(!mxEvent.isTouchEvent(d)||!c){var e=new mxPopupMenu(mxUtils.bind(this,function(b,c){a.menus.addMenuItems(b,["points","millimeters"],c)}));e.div.className+=" geMenubarMenu";e.smartSeparators=!0;e.showDisabled=!0;e.autoExpand=!0;e.hideMenu= mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(e,arguments);a.resetCurrentMenu();e.destroy()});var g=mxEvent.getClientX(d),k=mxEvent.getClientY(d);e.popup(g,k,null,d);a.setCurrentMenu(e,b)}mxEvent.consume(d)}}))});d(this.hRuler.container);d(this.vRuler.container);this.vRuler.drawRuler();this.hRuler.drawRuler()}mxDualRuler.prototype.setUnit=function(a){this.vRuler.setUnit(a);this.hRuler.setUnit(a)};mxDualRuler.prototype.setStyle=function(a){this.vRuler.setStyle(a);this.hRuler.setStyle(a)}; -mxDualRuler.prototype.destroy=function(){this.vRuler.destroy();this.hRuler.destroy();this.ui.refresh=this.editorUiRefresh;mxGuide.prototype.move=this.origGuideMove;mxGuide.prototype.destroy=this.origGuideDestroy;this.ui.getDiagramContainerOffset=this.editorUiGetDiagContOffset};function mxFreehand(a){var c=null!=a.view&&null!=a.view.canvas?a.view.canvas.ownerSVGElement:null;if(null!=a.container&&null!=c){var b=mxFreehand.prototype.NORMAL_SMOOTHING,d=null,g=[],e,k=[],m,n=!1,q=!0,f=[],l=!1,p=!1;this.setClosedPath=function(a){n=a};this.setAutoClose=function(a){q=a};this.setStopClickEnabled=function(a){p=a};this.setSmoothing=function(a){b=a};var u=function(b){l=b;a.getRubberband().setEnabled(!b);a.graphHandler.setSelectEnabled(!b);a.graphHandler.setMoveEnabled(!b);a.container.style.cursor= +mxDualRuler.prototype.destroy=function(){this.vRuler.destroy();this.hRuler.destroy();this.ui.refresh=this.editorUiRefresh;mxGuide.prototype.move=this.origGuideMove;mxGuide.prototype.destroy=this.origGuideDestroy;this.ui.getDiagramContainerOffset=this.editorUiGetDiagContOffset};function mxFreehand(a){var c=null!=a.view&&null!=a.view.canvas?a.view.canvas.ownerSVGElement:null;if(null!=a.container&&null!=c){var b=mxFreehand.prototype.NORMAL_SMOOTHING,d=null,g=[],e,k=[],m,n=!1,t=!0,f=[],l=!1,p=!1;this.setClosedPath=function(a){n=a};this.setAutoClose=function(a){t=a};this.setStopClickEnabled=function(a){p=a};this.setSmoothing=function(a){b=a};var u=function(b){l=b;a.getRubberband().setEnabled(!b);a.graphHandler.setSelectEnabled(!b);a.graphHandler.setMoveEnabled(!b);a.container.style.cursor= b?"crosshair":"";a.fireEvent(new mxEventObject("freehandStateChanged"))};this.startDrawing=function(){u(!0)};this.isDrawing=function(){return l};var v=mxUtils.bind(this,function(a){if(d){var b=p&&0<k.length&&null!=m&&2>m.length;b||k.push.apply(k,m);m=[];k.push(null);g.push(d);d=null;b&&this.stopDrawing();mxEvent.consume(a)}});this.stopDrawing=function(){if(0<g.length){for(var b=k[0].x,c=k[0].x,e=k[0].y,f=k[0].y,l=1;l<k.length;l++)null!=k[l]&&(b=Math.max(b,k[l].x),c=Math.min(c,k[l].x),e=Math.max(e, -k[l].y),f=Math.min(f,k[l].y));b-=c;e-=f;if(0<b&&0<e){var m=100/b,p=100/e;k.map(function(a){if(null==a)return a;a.x=(a.x-c)*m;a.y=(a.y-f)*p;return a});for(var t='<shape strokewidth="inherit"><foreground>',v=0,l=0;l<k.length;l++){var y=k[l];if(null==y){var y=!1,v=k[v],z=k[l-1];!n&&q&&(y=v.x-z.x,z=v.y-z.y,y=Math.sqrt(y*y+z*z)<=a.tolerance);if(n||y)t+='<line x="'+v.x.toFixed(2)+'" y="'+v.y.toFixed(2)+'"/>';t+="</path>"+(n||y?"<fillstroke/>":"<stroke/>");v=l+1}else t=l==v?t+('<path><move x="'+y.x.toFixed(2)+ -'" y="'+y.y.toFixed(2)+'"/>'):t+('<line x="'+y.x.toFixed(2)+'" y="'+y.y.toFixed(2)+'"/>')}var l=mxConstants.STYLE_SHAPE+"=stencil("+Graph.compress(t+"</foreground></shape>")+");fillColor=none;",t=a.view.scale,v=a.view.translate,K=new mxCell("",new mxGeometry(c/t-v.x,f/t-v.y,b/t,e/t),l);K.vertex=1;a.model.beginUpdate();try{K=a.addCell(K)}finally{a.model.endUpdate()}a.fireEvent(new mxEventObject("cellsInserted","cells",[K]));a.fireEvent(new mxEventObject("freehandInserted","cell",K));setTimeout(function(){a.setSelectionCells([K])}, +k[l].y),f=Math.min(f,k[l].y));b-=c;e-=f;if(0<b&&0<e){var m=100/b,p=100/e;k.map(function(a){if(null==a)return a;a.x=(a.x-c)*m;a.y=(a.y-f)*p;return a});for(var q='<shape strokewidth="inherit"><foreground>',v=0,l=0;l<k.length;l++){var y=k[l];if(null==y){var y=!1,v=k[v],z=k[l-1];!n&&t&&(y=v.x-z.x,z=v.y-z.y,y=Math.sqrt(y*y+z*z)<=a.tolerance);if(n||y)q+='<line x="'+v.x.toFixed(2)+'" y="'+v.y.toFixed(2)+'"/>';q+="</path>"+(n||y?"<fillstroke/>":"<stroke/>");v=l+1}else q=l==v?q+('<path><move x="'+y.x.toFixed(2)+ +'" y="'+y.y.toFixed(2)+'"/>'):q+('<line x="'+y.x.toFixed(2)+'" y="'+y.y.toFixed(2)+'"/>')}var l=mxConstants.STYLE_SHAPE+"=stencil("+Graph.compress(q+"</foreground></shape>")+");fillColor=none;",q=a.view.scale,v=a.view.translate,K=new mxCell("",new mxGeometry(c/q-v.x,f/q-v.y,b/q,e/q),l);K.vertex=1;a.model.beginUpdate();try{K=a.addCell(K)}finally{a.model.endUpdate()}a.fireEvent(new mxEventObject("cellsInserted","cells",[K]));a.fireEvent(new mxEventObject("freehandInserted","cell",K));setTimeout(function(){a.setSelectionCells([K])}, 10)}for(l=0;l<g.length;l++)g[l].parentNode.removeChild(g[l]);d=null;g=[];k=[]}u(!1)};mxEvent.addGestureListeners(c,function(b){if(l){var g=parseFloat(a.currentVertexStyle[mxConstants.STYLE_STROKEWIDTH]||1),g=Math.max(1,g*a.view.scale);d=document.createElementNS("http://www.w3.org/2000/svg","path");d.setAttribute("fill","none");d.setAttribute("stroke",a.currentVertexStyle[mxConstants.STYLE_STROKECOLOR]||"#000");d.setAttribute("stroke-width",g);if("1"==a.currentVertexStyle[mxConstants.STYLE_DASHED]){var n= -a.currentVertexStyle[mxConstants.STYLE_DASH_PATTERN]||"3 3",n=n.split(" ").map(function(a){return parseFloat(a)*g}).join(" ");d.setAttribute("stroke-dasharray",n)}f=[];n=t(b);z(n);e="M"+n.x+" "+n.y;k.push(n);m=[];d.setAttribute("d",e);c.appendChild(d);mxEvent.consume(b)}},function(a){if(d){z(t(a));var b=y(0);if(b){e+=" L"+b.x+" "+b.y;k.push(b);var c="";m=[];for(var g=2;g<f.length;g+=2)b=y(g),c+=" L"+b.x+" "+b.y,m.push(b);d.setAttribute("d",e+c)}mxEvent.consume(a)}},v);var t=function(b){return mxUtils.convertPoint(a.container, +a.currentVertexStyle[mxConstants.STYLE_DASH_PATTERN]||"3 3",n=n.split(" ").map(function(a){return parseFloat(a)*g}).join(" ");d.setAttribute("stroke-dasharray",n)}f=[];n=q(b);z(n);e="M"+n.x+" "+n.y;k.push(n);m=[];d.setAttribute("d",e);c.appendChild(d);mxEvent.consume(b)}},function(a){if(d){z(q(a));var b=y(0);if(b){e+=" L"+b.x+" "+b.y;k.push(b);var c="";m=[];for(var g=2;g<f.length;g+=2)b=y(g),c+=" L"+b.x+" "+b.y,m.push(b);d.setAttribute("d",e+c)}mxEvent.consume(a)}},v);var q=function(b){return mxUtils.convertPoint(a.container, mxEvent.getClientX(b),mxEvent.getClientY(b))},z=function(a){for(f.push(a);f.length>b;)f.shift()},y=function(a){var c=f.length;if(1===c%2||c>=b){var d=0,e=0,g,k=0;for(g=a;g<c;g++)k++,a=f[g],d+=a.x,e+=a.y;return{x:d/k,y:e/k}}return null}}}mxFreehand.prototype.NO_SMOOTHING=1;mxFreehand.prototype.MILD_SMOOTHING=4;mxFreehand.prototype.NORMAL_SMOOTHING=8;mxFreehand.prototype.VERY_SMOOTH_SMOOTHING=12;mxFreehand.prototype.SUPER_SMOOTH_SMOOTHING=16;mxFreehand.prototype.HYPER_SMOOTH_SMOOTHING=20; diff --git a/src/main/webapp/js/diagramly/Dialogs.js b/src/main/webapp/js/diagramly/Dialogs.js index 2826b81582f7a35acac84e1f03f8579f31feb2d3..4391632cbb2c2a2829bf62436247116715542891 100644 --- a/src/main/webapp/js/diagramly/Dialogs.js +++ b/src/main/webapp/js/diagramly/Dialogs.js @@ -930,6 +930,8 @@ var EmbedDialog = function(editorUi, result, timeout, ignoreSize, previewFn, tit text.setAttribute('autocorrect', 'off'); text.setAttribute('autocapitalize', 'off'); text.setAttribute('spellcheck', 'false'); + text.style.fontFamily = 'monospace'; + text.style.wordBreak = 'break-all'; text.style.marginTop = '10px'; text.style.resize = 'none'; text.style.height = '150px'; diff --git a/src/main/webapp/js/diagramly/DriveClient.js b/src/main/webapp/js/diagramly/DriveClient.js index aae4e32c4b5ea2edb38da8b4dc835cae83769f3a..19efc39b4abe28dfdd7c9dd78e322987d1c2bc4f 100644 --- a/src/main/webapp/js/diagramly/DriveClient.js +++ b/src/main/webapp/js/diagramly/DriveClient.js @@ -1175,8 +1175,6 @@ DriveClient.prototype.saveFile = function(file, revision, success, errFn, noChec var error = mxUtils.bind(this, function(e) { - file.saveLevel = 11; - if (errFn != null) { errFn(e); @@ -1191,7 +1189,8 @@ DriveClient.prototype.saveFile = function(file, revision, success, errFn, noChec { if (!file.isConflict(e)) { - var err = 'error_' + (file.getErrorMessage(e) || 'unknown'); + var err = 'sl_' + file.saveLevel + '-error_' + + (file.getErrorMessage(e) || 'unknown'); if (e != null && e.error != null && e.error.code != null) { @@ -1219,7 +1218,6 @@ DriveClient.prototype.saveFile = function(file, revision, success, errFn, noChec var criticalError = mxUtils.bind(this, function(e) { error(e); - file.saveLevel = 12; try { @@ -1231,6 +1229,7 @@ DriveClient.prototype.saveFile = function(file, revision, success, errFn, noChec '\nFile=' + file.desc.id + '.' + file.desc.headRevisionId + '\nUser=' + ((this.user != null) ? this.user.id : 'nouser') + ((file.sync != null) ? '-client_' + file.sync.clientId : '-nosync') + + '\nSaveLevel=' + file.saveLevel + '\nMessage=' + e.message + '\n\nStack:\n' + e.stack); } @@ -1343,109 +1342,108 @@ DriveClient.prototype.saveFile = function(file, revision, success, errFn, noChec { file.saveDelay = new Date().getTime() - t0; - // Checks if modified time is in the future and head revision has changed - var delta = new Date(resp.modifiedDate).getTime() - new Date(mod0).getTime(); - - if (delta <= 0 || etag0 == resp.etag || (revision && head0 == resp.headRevisionId)) + if (resp == null) { - var reasons = []; - - if (delta <= 0) - { - reasons.push('invalid modified time'); - } - - if (etag0 == resp.etag) - { - reasons.push('stale etag'); - } - - if (revision && head0 == resp.headRevisionId) - { - reasons.push('stale revision'); - } - - var temp = reasons.join(', '); - error({message: mxResources.get('errorSavingFile') + ': ' + temp}, resp); - - // Logs failed save - try - { - EditorUi.sendReport('Critical: Error saving to Google Drive ' + - new Date().toISOString() + ':' + '\n\nBrowser=' + navigator.userAgent + - '\nFile=' + file.desc.id + ' ' + file.desc.mimeType + - '\nUser=' + ((this.user != null) ? this.user.id : 'nouser') + - ((file.sync != null) ? '-client_' + file.sync.clientId : '-nosync') + - '\nErrors=' + temp + '\nOld=' + head0 + ' ' + mod0 + ' etag-hash=' + - this.ui.hashValue(etag0) + '\nNew=' + resp.headRevisionId + ' ' + - resp.modifiedDate + ' etag-hash=' + this.ui.hashValue(resp.etag)) - EditorUi.logError('Critical: Error saving to Google Drive ' + file.desc.id, - null, 'from-' + head0 + '.' + mod0 + '-' + this.ui.hashValue(etag0) + - '-to-' + resp.headRevisionId + '.' + resp.modifiedDate + '-' + - this.ui.hashValue(resp.etag) + ((temp.length > 0) ? '-errors-' + temp : ''), - 'user-' + ((this.user != null) ? this.user.id : 'nouser') + - ((file.sync != null) ? '-client_' + file.sync.clientId : '-nosync')); - } - catch (e) - { - // ignore - } + error({message: mxResources.get('errorSavingFile') + ': Empty response'}); } else { - file.saveLevel = null; - success(resp, savedData); - - if (prevDesc != null) + // Checks if modified time is in the future and head revision has changed + var delta = new Date(resp.modifiedDate).getTime() - new Date(mod0).getTime(); + + if (delta <= 0 || etag0 == resp.etag || (revision && head0 == resp.headRevisionId)) { - // Pins previous revision - this.executeRequest({ - url: '/files/' + prevDesc.id + '/revisions/' + prevDesc.headRevisionId + '?supportsTeamDrives=true' - }, mxUtils.bind(this, mxUtils.bind(this, function(resp) + var reasons = []; + + if (delta <= 0) { - resp.pinned = true; - - this.executeRequest({ - url: '/files/' + prevDesc.id + '/revisions/' + prevDesc.headRevisionId, - method: 'PUT', - params: resp - }); - }))); + reasons.push('invalid modified time'); + } + + if (etag0 == resp.etag) + { + reasons.push('stale etag'); + } + + if (revision && head0 == resp.headRevisionId) + { + reasons.push('stale revision'); + } - // Logs conversion + var temp = reasons.join(', '); + error({message: mxResources.get('errorSavingFile') + ': ' + temp}, resp); + + // Logs failed save try { - EditorUi.logEvent({category: file.convertedFrom + '-CONVERT-FILE-' + file.getHash(), - action: 'from_' + prevDesc.id + '.' + prevDesc.headRevisionId + - '-to_' + file.desc.id + '.' + file.desc.headRevisionId, - label: (this.user != null) ? ('user_' + this.user.id) : 'nouser' + - ((file.sync != null) ? '-client_' + file.sync.clientId : 'nosync')}); + EditorUi.logError('Critical: Error saving to Google Drive ' + file.desc.id, + null, 'from-' + head0 + '.' + mod0 + '-' + this.ui.hashValue(etag0) + + '-to-' + resp.headRevisionId + '.' + resp.modifiedDate + '-' + + this.ui.hashValue(resp.etag) + ((temp.length > 0) ? '-errors-' + temp : ''), + 'user-' + ((this.user != null) ? this.user.id : 'nouser') + + ((file.sync != null) ? '-client_' + file.sync.clientId : '-nosync')); } catch (e) { // ignore } } - - // Logs successful save - try - { - EditorUi.logEvent({category: 'SUCCESS-SAVE-FILE-' + file.getHash() + - '-rev0_' + head0 + '-mod0_' + mod0, - action: 'rev-' + resp.headRevisionId + - '-mod_' + resp.modifiedDate + '-size_' + file.getSize() + - '-mime_' + file.desc.mimeType + - ((this.ui.editor.autosave) ? '' : '-nosave') + - ((file.isAutosave()) ? '' : '-noauto') + - ((file.changeListenerEnabled) ? '' : '-nolisten') + - ((file.inConflictState) ? '-conflict' : '') + - ((file.invalidChecksum) ? '-invalid' : ''), - label: ((this.user != null) ? ('user_' + this.user.id) : 'nouser') + - ((file.sync != null) ? ('-client_' + file.sync.clientId) : '-nosync')}); - } - catch (e) + else { - // ignore + file.saveLevel = null; + success(resp, savedData); + + if (prevDesc != null) + { + // Pins previous revision + this.executeRequest({ + url: '/files/' + prevDesc.id + '/revisions/' + prevDesc.headRevisionId + '?supportsTeamDrives=true' + }, mxUtils.bind(this, mxUtils.bind(this, function(resp) + { + resp.pinned = true; + + this.executeRequest({ + url: '/files/' + prevDesc.id + '/revisions/' + prevDesc.headRevisionId, + method: 'PUT', + params: resp + }); + }))); + + // Logs conversion + try + { + EditorUi.logEvent({category: file.convertedFrom + '-CONVERT-FILE-' + file.getHash(), + action: 'from_' + prevDesc.id + '.' + prevDesc.headRevisionId + + '-to_' + file.desc.id + '.' + file.desc.headRevisionId, + label: (this.user != null) ? ('user_' + this.user.id) : 'nouser' + + ((file.sync != null) ? '-client_' + file.sync.clientId : 'nosync')}); + } + catch (e) + { + // ignore + } + } + + // Logs successful save + try + { + EditorUi.logEvent({category: 'SUCCESS-SAVE-FILE-' + file.getHash() + + '-rev0_' + head0 + '-mod0_' + mod0, + action: 'rev-' + resp.headRevisionId + + '-mod_' + resp.modifiedDate + '-size_' + file.getSize() + + '-mime_' + file.desc.mimeType + + ((this.ui.editor.autosave) ? '' : '-nosave') + + ((file.isAutosave()) ? '' : '-noauto') + + ((file.changeListenerEnabled) ? '' : '-nolisten') + + ((file.inConflictState) ? '-conflict' : '') + + ((file.invalidChecksum) ? '-invalid' : ''), + label: ((this.user != null) ? ('user_' + this.user.id) : 'nouser') + + ((file.sync != null) ? ('-client_' + file.sync.clientId) : '-nosync')}); + } + catch (e) + { + // ignore + } } } } diff --git a/src/main/webapp/js/diagramly/EditorUi.js b/src/main/webapp/js/diagramly/EditorUi.js index 8a79e66c998c0fb50455eb873e593b6265a0d4c7..1a48138baacc002340bdce7081308bc663b7ea30 100644 --- a/src/main/webapp/js/diagramly/EditorUi.js +++ b/src/main/webapp/js/diagramly/EditorUi.js @@ -1011,26 +1011,57 @@ currentPage = (currentPage != null) ? currentPage : false; uncompressed = (uncompressed != null) ? uncompressed : !Editor.compressXml; + // Generats graph model XML node for single page export var node = this.editor.getGraphXml(ignoreSelection); - + if (ignoreSelection && this.fileNode != null && this.currentPage != null) { - if (uncompressed) - { - EditorUi.removeChildNodes(this.currentPage.node); - this.currentPage.node.appendChild(node); - } - else - { - var data = Graph.compressNode(node); - mxUtils.setTextContent(this.currentPage.node, data); - } - + // Updates current page XML if selection is ignored + EditorUi.removeChildNodes(this.currentPage.node); + mxUtils.setTextContent(this.currentPage.node, Graph.compressNode(node)); + + // Creates a clone of the file node for processing node = this.fileNode.cloneNode(false); + + // Appends the node of the page and applies compression + function appendPage(pageNode) + { + var models = pageNode.getElementsByTagName('mxGraphModel'); + var modelNode = (models.length > 0) ? models[0] : null; + var clone = pageNode; + + if (modelNode == null && uncompressed) + { + var text = mxUtils.trim(mxUtils.getTextContent(pageNode)); + clone = pageNode.cloneNode(false); + + if (text.length > 0) + { + var tmp = Graph.decompress(text); + + if (tmp != null && tmp.length > 0) + { + clone.appendChild(mxUtils.parseXml(tmp).documentElement); + } + } + } + else if (modelNode != null && !uncompressed) + { + clone = pageNode.cloneNode(false); + mxUtils.setTextContent(clone, Graph.compressNode(modelNode)); + } + else + { + clone = pageNode.cloneNode(true); + } + + node.appendChild(clone); + }; + if (currentPage) { - node.appendChild(this.currentPage.node); + appendPage(this.currentPage.node); } else { @@ -1044,29 +1075,15 @@ var enc = new mxCodec(mxUtils.createXmlDocument()); var temp = enc.encode(new mxGraphModel(this.pages[i].root)); this.editor.graph.saveViewState(this.pages[i].viewState, temp); - - if (uncompressed) - { - EditorUi.removeChildNodes(this.pages[i].node); - this.pages[i].node.appendChild(temp); - } - else - { - mxUtils.setTextContent(this.pages[i].node, Graph.compressNode(temp)); - } - + EditorUi.removeChildNodes(this.pages[i].node); + mxUtils.setTextContent(this.pages[i].node, Graph.compressNode(temp)); + // Marks the page as up-to-date delete this.pages[i].needsUpdate; } - else if (uncompressed) - { - var temp = Editor.parseDiagramNode(this.pages[i].node); - EditorUi.removeChildNodes(this.pages[i].node); - this.pages[i].node.appendChild(temp); - } } - node.appendChild(this.pages[i].node); + appendPage(this.pages[i].node); } } } @@ -4888,7 +4905,7 @@ else { data = '#R' + encodeURIComponent((allPages) ? - this.getFileData(true, null, null, null, null, null, null, true) : + this.getFileData(true, null, null, null, null, null, null, true, null, false) : Graph.compress(mxUtils.getXml(this.editor.getGraphXml()))) } } @@ -9472,22 +9489,6 @@ this.initPages(); - // Installs listener for fixing references in undo history in - // collaborative editing where terminals may have vanished - // Undo/Redo listener to update edit's references before executing undo/redo - this.editUpdateListener = mxUtils.bind(this, function(sender, evt) - { - var edit = evt.getProperty('edit'); - - if (edit != null) - { - this.updateEditReferences(edit); - } - }); - - this.editor.undoManager.addListener(mxEvent.BEFORE_UNDO, this.editUpdateListener); - this.editor.undoManager.addListener(mxEvent.BEFORE_REDO, this.editUpdateListener); - // Embedded mode if (urlParams['embed'] == '1') { @@ -9595,6 +9596,8 @@ textInput.setAttribute('autocapitalize', 'off'); textInput.setAttribute('spellcheck', 'false'); textInput.style.textRendering = 'optimizeSpeed'; + textInput.style.fontFamily = 'monospace'; + textInput.style.wordBreak = 'break-all'; textInput.style.background = 'transparent'; textInput.style.color = 'transparent'; textInput.style.position = 'absolute'; @@ -12799,12 +12802,6 @@ EditorUi.prototype.destroy = function() { - if (this.editUpdateListener) - { - this.editor.undoManager.removeListener(this.editUpdateListener); - this.editUpdateListener = null; - } - if (this.exportDialog != null) { this.exportDialog.parentNode.removeChild(this.exportDialog); @@ -12884,87 +12881,6 @@ }; } - /********************************************************************************************* - * This section is a fix for undo/redo edits having stale 1st- and 2nd-order references * - * The code might be reworked or even thrown out when a conceptually nicer solution is found * - *********************************************************************************************/ - - /** - * Updates all references in all edits and their changes in order to correspond to current model - */ - EditorUi.prototype.updateEditReferences = function(edit) - { - for (var i = 0; i < edit.changes.length; i++) - { - var change = edit.changes[i]; - - if (change != null && change.constructor == mxChildChange) - { - if (change.child != null) - { - var child = change.child; - - if (child.source != null && child.source.id != null) - { - var modelSource = this.getFutureCellForEdit(change.model, edit, child.source.id); - - if (modelSource != child.source) - { - child.source = modelSource - } - } - - if (child.target != null && child.target.id != null) - { - var modelTarget = this.getFutureCellForEdit(change.model, edit, child.target.id); - - if (modelTarget != child.target) - { - child.target = modelTarget - } - } - } - } - } - }; - - /** - * Looks ahead in edit's changes to see if the last child change containing ID is one that creates a cell, then returns it. - * If cell already exists in a model, returns it first. - */ - EditorUi.prototype.getFutureCellForEdit = function(model, edit, id) - { - var result = model.getCell(id); - - if (result == null) - { - // Scans changes backwards - for (var i = edit.changes.length - 1; i >= 0; i--) - { - var change = edit.changes[i]; - - if (change.constructor == mxChildChange) - { - // Checks if child is being added in this change - if (change.child != null && change.child.id == id) - { - // Checks if cell is being removed - if (model.contains(change.previous)) - { - result = change.child; - } - - // Stops scan in any case, at the end of the edit - // the cell will be either added or deleted - break; - } - } - } - } - - return result; - }; - EditorUi.prototype.getDiagramTextContent = function() { this.editor.graph.setEnabled(false); diff --git a/src/main/webapp/js/diagramly/GraphViewer.js b/src/main/webapp/js/diagramly/GraphViewer.js index 8f110ffeb8bc2904005a2d49a0247c8bdc26c46a..1db828e26065f820d14ac27a9b408a33890f1c45 100644 --- a/src/main/webapp/js/diagramly/GraphViewer.js +++ b/src/main/webapp/js/diagramly/GraphViewer.js @@ -1294,7 +1294,7 @@ GraphViewer.prototype.addClickHandler = function(graph, ui) if (ui != null) { - if (href != null && !(graph.isExternalProtocol(href) || graph.isBlankLink(href))) + if (href != null && !(graph.isExternalProtocol(href) || graph.isBlankLink(href) || graph.customLinkClicked(href))) { // Hides lightbox if any links are clicked // Async handling needed for anchors to work @@ -1303,6 +1303,10 @@ GraphViewer.prototype.addClickHandler = function(graph, ui) ui.destroy(); }, 0); } + else + { + mxEvent.consume(evt); + } } else if (href != null && ui == null && graph.isCustomLink(href) && (mxEvent.isTouchEvent(evt) || !mxEvent.isPopupTrigger(evt)) && diff --git a/src/main/webapp/js/diagramly/sidebar/Sidebar-Floorplan.js b/src/main/webapp/js/diagramly/sidebar/Sidebar-Floorplan.js index c2d43279dc25c29f524efe818361971601f82e10..47a0eb77e97c7f9b3297595a26b215a6cc3a2517 100644 --- a/src/main/webapp/js/diagramly/sidebar/Sidebar-Floorplan.js +++ b/src/main/webapp/js/diagramly/sidebar/Sidebar-Floorplan.js @@ -32,7 +32,7 @@ this.createVertexTemplateEntry('shape=dimension;direction=west;whiteSpace=wrap;html=1;align=center;points=[];verticalAlign=top;spacingTop=-8;labelBackgroundColor=#ffffff', 100, 40, 'Label', 'Vertical Dimension', null, null, 'vertical dimension measure distance unit'), this.createVertexTemplateEntry('shape=dimension;direction=north;whiteSpace=wrap;html=1;align=right;points=[];verticalAlign=middle;labelBackgroundColor=#ffffff', 40, 100, 'Label', 'Vertical Dimension', null, null, 'vertical dimension measure distance unit'), this.createVertexTemplateEntry('shape=dimension;direction=south;whiteSpace=wrap;html=1;align=left;points=[];verticalAlign=middle;labelBackgroundColor=#ffffff', 40, 100, 'Label', 'Horizontal Dimension', null, null, 'horizontal dimension measure distance unit'), - this.createVertexTemplateEntry(s + 'window;fillColor=#ffffff;', + this.createVertexTemplateEntry(s + 'window;', w, 10, '', 'Window', null, null, this.getTagsForStencil(gn, 'window', dt).join(' ')), this.createVertexTemplateEntry(s + 'stairs;', 300, 100, '', 'Stairs', null, null, this.getTagsForStencil(gn, 'stairs', dt).join(' ')), diff --git a/src/main/webapp/js/diagramly/sidebar/Sidebar-Flowchart.js b/src/main/webapp/js/diagramly/sidebar/Sidebar-Flowchart.js index 10410849bbbf16f2757a18c385175dc9e7ee0b88..2cc84b4d591ea02b3a2a8147bcb1404c5df359ce 100644 --- a/src/main/webapp/js/diagramly/sidebar/Sidebar-Flowchart.js +++ b/src/main/webapp/js/diagramly/sidebar/Sidebar-Flowchart.js @@ -5,8 +5,8 @@ var w = 100; var h = 100; var s = 'strokeWidth=2;html=1;shape=mxgraph.flowchart.'; - var s2 = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;html=1;strokeWidth=2;shape=mxgraph.flowchart.'; - var s3 = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;html=1;strokeWidth=2;shape='; + var s2 = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;html=1;shape=mxgraph.flowchart.'; + var s3 = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;html=1;shape='; var gn = 'mxgraph.flowchart'; var dt = ''; diff --git a/src/main/webapp/js/diagramly/sidebar/Sidebar-GCP.js b/src/main/webapp/js/diagramly/sidebar/Sidebar-GCP.js index 02628bfc5c3da29cc6d03c7b9a6ff170cb7ce823..df5954cbe6839f2f33a7557d2638d85a4daaed93 100644 --- a/src/main/webapp/js/diagramly/sidebar/Sidebar-GCP.js +++ b/src/main/webapp/js/diagramly/sidebar/Sidebar-GCP.js @@ -5,7 +5,7 @@ { var sb = this; var n = 'dashed=0;html=1;' + mxConstants.STYLE_SHAPE + '=mxgraph.gcp.compute.'; - var n1 = 'dashed=0;html=1;strokeColor=#dddddd;fillcolor=#ffffff;gradientColor=none;shadow=1;strokeWidth=1;'; + var n1 = 'dashed=0;html=1;strokeColor=#dddddd;gradientColor=none;shadow=1;strokeWidth=1;'; var gn = 'mxgraph.gcp.product_cards'; var dt = 'gcp google cloud platform card'; var s = 0.3; //scale diff --git a/src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js b/src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js index 2b3515aedd312dc6a03f668918f643c6ed71ce91..aebb031dfd982ab0ffbfdb8d9aa935e390feb42e 100644 --- a/src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js +++ b/src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js @@ -69,7 +69,7 @@ var fns = []; var fns = [ - this.createVertexTemplateEntry(s + 'fillColor=#ffffff;', + this.createVertexTemplateEntry(s + '', 120, 70, 'User 1', 'User 1 (Default)', null, null, this.getTagsForStencil(gn, '', dt + 'user').join(' ')), this.createVertexTemplateEntry(s + 'fillColor=#F3E5F5;', 120, 150, 'Infrastructure\nSystem', 'Infrastructure System', null, null, this.getTagsForStencil(gn, '', dt + 'infrastructure system').join(' ')), @@ -181,7 +181,7 @@ this.createVertexTemplateEntry('fillColor=#4DA1F5;strokeColor=none;shadow=1;gradientColor=none;fontSize=14;align=left;spacingLeft=50;fontColor=#ffffff;', 1000, 40, 'Architecture: App Engine and Cloud Endpoints', 'Title bar', null, null, this.getTagsForStencil(gn, '', dt + 'title bar').join(' ')), - this.createVertexTemplateEntry('fillColor=#ffffff;strokeColor=none;shadow=0;gradientColor=none;fontSize=11;align=left;spacing=10;fontColor=#;9E9E9E;verticalAlign=top;spacingTop=100;', + this.createVertexTemplateEntry('strokeColor=none;shadow=0;gradientColor=none;fontSize=11;align=left;spacing=10;fontColor=#;9E9E9E;verticalAlign=top;spacingTop=100;', 300, 350, 'Use this note to call out\nor clarify parts of a diagram', 'Note', null, null, this.getTagsForStencil(gn, '', dt + 'note').join(' ')), this.addEntry(dt + 'project', function() @@ -203,7 +203,7 @@ this.addEntry(dt + 'markers', function() { - s = 'shape=ellipse;perimeter=ellipsePerimeter;fillColor=#ffffff;strokeColor=#BDBDBD;strokeWidth=2;shadow=0;gradientColor=none;fontColor=#757575;align=center;html=1;fontStyle=1;spacingTop=-1;'; + s = 'shape=ellipse;perimeter=ellipsePerimeter;strokeColor=#BDBDBD;strokeWidth=2;shadow=0;gradientColor=none;fontColor=#757575;align=center;html=1;fontStyle=1;spacingTop=-1;'; var icon1 = new mxCell('1', new mxGeometry(0, 0, 20, 20), s); icon1.vertex = true; @@ -231,7 +231,7 @@ var s = 'strokeColor=none;fillColor=none;fontColor=#757575;align=left;html=1;fontStyle=0;spacingLeft=5;fontSize=11;verticalAlign=top;whiteSpace=wrap;spacingRight=5;'; var bg = new mxCell('', new mxGeometry(0, 0, 600, 70), - 'fillColor=#ffffff;strokeColor=#BDBDBD;strokeWidth=1;shadow=0;gradientColor=none;'); + 'strokeColor=#BDBDBD;strokeWidth=1;shadow=0;gradientColor=none;'); bg.vertex = true; var label1 = new mxCell('1 Commit code', new mxGeometry(0, 0, 200, 30), s); @@ -567,7 +567,7 @@ fns.push( this.addEntry(dt + 'blank one line', function() { - var bg = new mxCell('Blank One Line', new mxGeometry(0, 0, 100, 44), 'dashed=0;strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;labelPosition=center;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#000000;fontSize=12;'); + var bg = new mxCell('Blank One Line', new mxGeometry(0, 0, 100, 44), 'dashed=0;strokeColor=#dddddd;shadow=1;strokeWidth=1;labelPosition=center;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontSize=12;'); bg.vertex = true; return sb.createVertexTemplateFromCells([bg], 100, 44, 'Blank One Line'); @@ -579,7 +579,7 @@ fns.push( this.addEntry(dt + 'blank two and three line', function() { - var bg = new mxCell('Blank Two\n\& Three Line', new mxGeometry(0, 0, 90, 44), 'dashed=0;strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;labelPosition=center;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#000000;fontSize=12;'); + var bg = new mxCell('Blank Two\n\& Three Line', new mxGeometry(0, 0, 90, 44), 'dashed=0;strokeColor=#dddddd;shadow=1;strokeWidth=1;labelPosition=center;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontSize=12;'); bg.vertex = true; return sb.createVertexTemplateFromCells([bg], 100, 44, 'Blank One Line'); @@ -1493,7 +1493,7 @@ fns.push( this.addEntry(dt, function() { - var bg = new mxCell('', new mxGeometry(0, 0, w1, 60), 'strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;'); + var bg = new mxCell('', new mxGeometry(0, 0, w1, 60), 'strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;'); bg.vertex = true; var icon1 = new mxCell(label, new mxGeometry(0, 0.5, 44, 39), s + icon + ';part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#999999;fontSize=12;'); icon1.geometry.relative = true; @@ -1508,7 +1508,7 @@ fns.push( this.addEntry(dt, function() { - var bg = new mxCell('', new mxGeometry(0, 0, w2, 60), 'strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;'); + var bg = new mxCell('', new mxGeometry(0, 0, w2, 60), 'strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;'); bg.vertex = true; var icon1 = new mxCell('<font color="#000000">Name</font><br>' + label1, new mxGeometry(0, 0.5, 44, 39), s + icon + ';part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#999999;fontSize=12;'); icon1.geometry.relative = true; @@ -1523,7 +1523,7 @@ fns.push( this.addEntry(dt, function() { - var bg = new mxCell('', new mxGeometry(0, 0, w2 + 8, 68), 'shape=mxgraph.gcp2.doubleRect;strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;'); + var bg = new mxCell('', new mxGeometry(0, 0, w2 + 8, 68), 'shape=mxgraph.gcp2.doubleRect;strokeColor=#dddddd;shadow=1;strokeWidth=1;'); bg.vertex = true; var icon1 = new mxCell('<font color="#000000">Name</font><br>' + label1, new mxGeometry(0, 0.5, 44, 39), s + icon + ';part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#999999;fontSize=12;'); icon1.geometry.relative = true; @@ -1546,7 +1546,7 @@ fns.push( this.addEntry(dt, function() { - var bg = new mxCell('', new mxGeometry(0, 0, w1, 60), 'strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;'); + var bg = new mxCell('', new mxGeometry(0, 0, w1, 60), 'strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;'); bg.vertex = true; var icon1 = new mxCell(label, new mxGeometry(0, 0, 45 * scaleX, 45 * scaleY), s + icon + ';part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#999999;fontSize=12;'); icon1.geometry.relative = true; @@ -1562,7 +1562,7 @@ fns.push( this.addEntry(dt, function() { - var bg = new mxCell('', new mxGeometry(0, 0, w2, 60), 'strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;'); + var bg = new mxCell('', new mxGeometry(0, 0, w2, 60), 'strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;'); bg.vertex = true; var icon1 = new mxCell('<font color="#000000">Name</font><br>' + label1, new mxGeometry(0, 0, 45 * scaleX, 45 * scaleY), s + icon + ';part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#999999;fontSize=12;'); icon1.geometry.relative = true; @@ -1577,7 +1577,7 @@ fns.push( this.addEntry(dt, function() { - var bg = new mxCell('', new mxGeometry(0, 0, w2 + 8, 68), 'shape=mxgraph.gcp2.doubleRect;strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;'); + var bg = new mxCell('', new mxGeometry(0, 0, w2 + 8, 68), 'shape=mxgraph.gcp2.doubleRect;strokeColor=#dddddd;shadow=1;strokeWidth=1;'); bg.vertex = true; var icon1 = new mxCell('<font color="#000000">Name</font><br>' + label1, new mxGeometry(0, 0, 45 * scaleX, 45 * scaleY), s + icon + ';part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#999999;fontSize=12;'); icon1.geometry.relative = true; @@ -1600,9 +1600,9 @@ fns.push( this.addEntry(dt, function() { - var bg = new mxCell('', new mxGeometry(0, 0, w, h), 'strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;'); + var bg = new mxCell('', new mxGeometry(0, 0, w, h), 'strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;'); bg.vertex = true; - var icon1 = new mxCell(label, new mxGeometry(0, 0.5, 32, 32), s + icon + ';part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontColor=#000000;fontSize=12;'); + var icon1 = new mxCell(label, new mxGeometry(0, 0.5, 32, 32), s + icon + ';part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;fontSize=12;'); icon1.geometry.relative = true; icon1.geometry.offset = new mxPoint(5, -16); icon1.vertex = true; @@ -1623,7 +1623,7 @@ fns.push( this.addEntry(dt, function() { - var bg = new mxCell('', new mxGeometry(0, 0, w, 70), 'strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;'); + var bg = new mxCell('', new mxGeometry(0, 0, w, 70), 'strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;'); bg.vertex = true; var icon1 = new mxCell('<font color="#000000">Name</font><br>' + label1 + '<hr><font style="font-size: 11px">Attribute Name</font>', new mxGeometry(0, 0, 44, 39), s + icon + ';part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=top;spacingLeft=5;fontColor=#999999;fontSize=12;spacingTop=-8;'); @@ -1639,7 +1639,7 @@ fns.push( this.addEntry(dt, function() { - var bg = new mxCell('', new mxGeometry(0, 0, w + 8, 78), 'shape=mxgraph.gcp2.doubleRect;strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;'); + var bg = new mxCell('', new mxGeometry(0, 0, w + 8, 78), 'shape=mxgraph.gcp2.doubleRect;strokeColor=#dddddd;shadow=1;strokeWidth=1;'); bg.vertex = true; var icon1 = new mxCell('<font color="#000000">Name</font><br>' + label1 + '<hr><font style="font-size: 11px">Attribute Name</font>', new mxGeometry(0, 0, 44, 39), s + icon + ';part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=top;spacingLeft=5;fontColor=#999999;fontSize=12;spacingTop=-8;'); @@ -1663,7 +1663,7 @@ fns.push( this.addEntry(dt, function() { - var bg = new mxCell('', new mxGeometry(0, 0, w, 95), 'strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;'); + var bg = new mxCell('', new mxGeometry(0, 0, w, 95), 'strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;'); bg.vertex = true; var mainTitleCell = new mxCell('<font color="#000000">' + label1 + '</font><hr>' + capacityLabel, @@ -1728,7 +1728,7 @@ fns.push( this.addEntry(dt, function() { - var bg = new mxCell('', new mxGeometry(0, 0, w, 95), 'strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;'); + var bg = new mxCell('', new mxGeometry(0, 0, w, 95), 'strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;'); bg.vertex = true; var mainTitleCell = new mxCell('<font color="#000000">' + label1 + '</font><hr>' + capacityLabel, @@ -1802,7 +1802,7 @@ this.addEntry(dt, function() { var bg = new mxCell(label, new mxGeometry(0, 0, 70, 85 + h1), - 'strokeColor=#dddddd;fillColor=#ffffff;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;labelPosition=center;verticalLabelPosition=middle;align=center;verticalAlign=bottom;spacingLeft=0;fontColor=#999999;fontSize=12;whiteSpace=wrap;spacingBottom=2;'); + 'strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;labelPosition=center;verticalLabelPosition=middle;align=center;verticalAlign=bottom;spacingLeft=0;fontColor=#999999;fontSize=12;whiteSpace=wrap;spacingBottom=2;'); bg.vertex = true; var icon1 = new mxCell('', new mxGeometry(0.5, 0, 50 * scaleX, 50 * scaleY), s + icon + ';part=1;'); icon1.geometry.relative = true; diff --git a/src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js b/src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js index b5f1b2feeff5c6e7f9e36b04286bb09f3cdd0695..06f6c6f8ac78de8f701670f3bfb6dc7fa445c697 100644 --- a/src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js +++ b/src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js @@ -6,7 +6,7 @@ var s = "dashed=0;align=center;fontSize=12;shape="; var s2 = "dashed=0;html=1;shape=mxgraph.gmdl."; var anc = "shape=rect;fillColor=none;strokeColor=none;"; - var fac = 'shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;'; + var fac = 'shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;'; var gn = 'mxgraph.gmdl'; var dt = 'gmdl google media design library bottom navigation '; var sb = this; @@ -32,7 +32,7 @@ var s = "dashed=0;align=center;fontSize=12;shape="; var s2 = "dashed=0;html=1;shape=mxgraph.gmdl."; var anc = "shape=rect;fillColor=none;strokeColor=none;"; - var fac = 'shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;'; + var fac = 'shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;'; var gn = 'mxgraph.gmdl'; var dt = 'gmdl google media design library bottom sheets '; var sb = this; @@ -68,19 +68,19 @@ var s = "dashed=0;align=center;fontSize=12;shape="; var s2 = "dashed=0;html=1;shape=mxgraph.gmdl."; var anc = "shape=rect;fillColor=none;strokeColor=none;"; - var fac = 'shape=ellipse;dashed=0;fillColor=#ffffff;strokeColor=none;shadow=1;fontSize=13;fontColor=#000000;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;'; + var fac = 'shape=ellipse;dashed=0;strokeColor=none;shadow=1;fontSize=13;align=center;verticalAlign=top;labelPosition=center;verticalLabelPosition=bottom;html=1;aspect=fixed;'; var gn = 'mxgraph.gmdl'; var dt = 'gmdl google media design library button '; var sb = this; var fns = [ - this.createVertexTemplateEntry(s + 'rect;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;shadow=1;fontColor=#000000;', + this.createVertexTemplateEntry(s + 'rect;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;shadow=1', 100, 36, 'NORMAL', 'Raised Button (Normal)', null, null, this.getTagsForStencil(gn, 'button', dt).join(' ')), - this.createVertexTemplateEntry(s + 'rect;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;shadow=1;fontColor=#000000;', + this.createVertexTemplateEntry(s + 'rect;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;shadow=1', 100, 36, 'HOVER', 'Raised Button (Hover)', null, null, this.getTagsForStencil(gn, 'button', dt).join(' ')), this.createVertexTemplateEntry(s + 'rect;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;shadow=1;', 100, 36, 'FOCUSED', 'Raised Button (Focused)', null, null, this.getTagsForStencil(gn, 'button', dt).join(' ')), - this.createVertexTemplateEntry(s + 'rect;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;shadow=1;fontColor=#000000;', + this.createVertexTemplateEntry(s + 'rect;fillColor=#e0e0e0;strokeColor=none;fontStyle=1;shadow=1', 100, 36, 'PRESSED', 'Raised Button (Pressed)', null, null, this.getTagsForStencil(gn, 'button', dt).join(' ')), this.createVertexTemplateEntry(s + 'rect;fillColor=#000000;strokeColor=none;fontStyle=1;opacity=12;fontColor=#BDBDBD;', 100, 36, 'DISABLED', 'Raised Button (Pressed)', null, null, this.getTagsForStencil(gn, 'button', dt).join(' ')), @@ -92,17 +92,17 @@ 100, 36, 'FOCUSED', 'Raised Button (Focused)', null, null, this.getTagsForStencil(gn, 'button', dt).join(' ')), this.createVertexTemplateEntry(s + 'rect;fillColor=#2196F3;strokeColor=none;fontStyle=1;shadow=1;fontColor=#ffffff;', 100, 36, 'PRESSED', 'Raised Button (Pressed)', null, null, this.getTagsForStencil(gn, 'button', dt).join(' ')), - this.createVertexTemplateEntry(s + 'rect;fillColor=#ffffff;strokeColor=none;fontStyle=1;opacity=12;fontColor=#BDBDBD;shadow=0;', + this.createVertexTemplateEntry(s + 'rect;strokeColor=none;fontStyle=1;opacity=12;fontColor=#BDBDBD;shadow=0;', 100, 36, 'DISABLED', 'Raised Button (Pressed)', null, null, this.getTagsForStencil(gn, 'button', dt).join(' ')), - this.createVertexTemplateEntry(s + 'rect;fillColor=none;strokeColor=none;fontStyle=1;fontColor=#000000;shadow=0;', + this.createVertexTemplateEntry(s + 'rect;fillColor=none;strokeColor=none;fontStyle=1;shadow=0;', 100, 36, 'NORMAL', 'Raised Button (Normal)', null, null, this.getTagsForStencil(gn, 'button', dt).join(' ')), - this.createVertexTemplateEntry(s + 'rect;fillColor=#999999;opacity=20;strokeColor=none;fontStyle=1;fontColor=#000000;shadow=0;', + this.createVertexTemplateEntry(s + 'rect;fillColor=#999999;opacity=20;strokeColor=none;fontStyle=1;shadow=0;', 100, 36, 'HOVER', 'Raised Button (Hover)', null, null, this.getTagsForStencil(gn, 'button', dt).join(' ')), - this.createVertexTemplateEntry(s + 'rect;fillColor=#999999;opacity=20;strokeColor=none;fontStyle=1;fontColor=#000000;shadow=0;', + this.createVertexTemplateEntry(s + 'rect;fillColor=#999999;opacity=20;strokeColor=none;fontStyle=1;shadow=0;', 100, 36, 'FOCUSED', 'Raised Button (Focused)', null, null, this.getTagsForStencil(gn, 'button', dt).join(' ')), this.createVertexTemplateEntry(s + 'rect;fillColor=#999999;opacity=40;strokeColor=none;fontStyle=1;', 100, 36, 'PRESSED', 'Raised Button (Pressed)', null, null, this.getTagsForStencil(gn, 'button', dt).join(' ')), - this.createVertexTemplateEntry(s + 'rect;fillColor=#ffffff;opacity=26;strokeColor=none;fontStyle=1;opacity=12;fontColor=#BDBDBD;shadow=0;', + this.createVertexTemplateEntry(s + 'rect;opacity=26;strokeColor=none;fontStyle=1;opacity=12;fontColor=#BDBDBD;shadow=0;', 100, 36, 'DISABLED', 'Raised Button (Pressed)', null, null, this.getTagsForStencil(gn, 'button', dt).join(' ')), this.createVertexTemplateEntry(s + 'rect;fillColor=none;strokeColor=none;fontStyle=1;fontColor=#ffffff;shadow=0;', 100, 36, 'NORMAL', 'Raised Button (Normal)', null, null, this.getTagsForStencil(gn, 'button', dt).join(' ')), @@ -456,7 +456,7 @@ var bg1 = new mxCell('', new mxGeometry(0, 0, 344, 254), 'shape=rect;fillColor=#BDBDBD;strokeColor=#BDBDBD;shadow=1;'); bg1.vertex = true; var part1 = new mxCell('Greyhound divisively hello couldly wonderfully marginally far upon excluding.', - new mxGeometry(0, 172, 344, 82), 'shape=rect;strokeColor=none;fillColor=#ffffff;;whiteSpace=wrap;align=left;spacingLeft=16;fontColor=#666666;fontSize=14;'); + new mxGeometry(0, 172, 344, 82), 'shape=rect;strokeColor=none;whiteSpace=wrap;align=left;spacingLeft=16;fontColor=#666666;fontSize=14;'); part1.vertex = true; bg1.insert(part1); return sb.createVertexTemplateFromCells([bg1], 300, 230, 'Card'); @@ -1170,19 +1170,19 @@ var sb = this; var fns = [ - this.createVertexTemplateEntry(s2 + 'slider2;barPos=0;strokeColor=#bbbbbb;opacity=100;strokeWidth=2;fillColor=#ffffff;handleSize=10;shadow=0;', + this.createVertexTemplateEntry(s2 + 'slider2;barPos=0;strokeColor=#bbbbbb;opacity=100;strokeWidth=2;handleSize=10;shadow=0;', 200, 10, '', 'Slider (normal)', null, null, this.getTagsForStencil(gn, 'slider normal', dt).join(' ')), this.createVertexTemplateEntry(s2 + 'slider2;barPos=50;strokeColor=#3F51B5;opacity=100;strokeWidth=2;fillColor=#3F51B5;handleSize=10;shadow=0;', 200, 10, '', 'Slider (normal)', null, null, this.getTagsForStencil(gn, 'slider normal', dt).join(' ')), this.createVertexTemplateEntry(s2 + 'slider2;barPos=100;strokeColor=#3F51B5;opacity=100;strokeWidth=2;fillColor=#3F51B5;handleSize=10;shadow=0;', 200, 10, '', 'Slider (normal)', null, null, this.getTagsForStencil(gn, 'slider normal', dt).join(' ')), - this.createVertexTemplateEntry(s2 + 'sliderFocused;barPos=0;strokeColor=#bbbbbb;opacity=100;strokeWidth=2;fillColor=#ffffff;handleSize=30;shadow=0;', + this.createVertexTemplateEntry(s2 + 'sliderFocused;barPos=0;strokeColor=#bbbbbb;opacity=100;strokeWidth=2;handleSize=30;shadow=0;', 200, 30, '', 'Slider (focused)', null, null, this.getTagsForStencil(gn, 'slider focused', dt).join(' ')), this.createVertexTemplateEntry(s2 + 'sliderFocused;barPos=50;strokeColor=#3F51B5;opacity=100;strokeWidth=2;fillColor=#3F51B5;handleSize=30;shadow=0;', 200, 30, '', 'Slider (focused)', null, null, this.getTagsForStencil(gn, 'slider focused', dt).join(' ')), this.createVertexTemplateEntry(s2 + 'sliderFocused;barPos=100;strokeColor=#3F51B5;opacity=100;strokeWidth=2;fillColor=#3F51B5;handleSize=30;shadow=0;', 200, 30, '', 'Slider (focused)', null, null, this.getTagsForStencil(gn, 'slider focused', dt).join(' ')), - this.createVertexTemplateEntry(s2 + 'slider2;barPos=0;strokeColor=#bbbbbb;opacity=100;strokeWidth=2;fillColor=#ffffff;handleSize=20;shadow=0;', + this.createVertexTemplateEntry(s2 + 'slider2;barPos=0;strokeColor=#bbbbbb;opacity=100;strokeWidth=2;handleSize=20;shadow=0;', 200, 20, '', 'Slider (click)', null, null, this.getTagsForStencil(gn, 'slider click', dt).join(' ')), this.createVertexTemplateEntry(s2 + 'slider2;barPos=50;strokeColor=#3F51B5;opacity=100;strokeWidth=2;fillColor=#3F51B5;handleSize=20;shadow=0;', 200, 20, '', 'Slider (click)', null, null, this.getTagsForStencil(gn, 'slider click', dt).join(' ')), @@ -1194,7 +1194,7 @@ 210, 20, '', 'Slider (disabled)', null, null, this.getTagsForStencil(gn, 'slider disabled', dt).join(' ')), this.createVertexTemplateEntry(s2 + 'sliderDisabled2;strokeColor=#b0b0b0;strokeWidth=2;fillColor=#b0b0b0;handleSize=6;shadow=0;hPos=100;', 210, 20, '', 'Slider (disabled)', null, null, this.getTagsForStencil(gn, 'slider disabled', dt).join(' ')), - this.createVertexTemplateEntry(s2 + 'slider2;barPos=0;strokeColor=#000000;opacity=100;strokeWidth=2;fillColor=#000000;handleSize=10;shadow=0;', + this.createVertexTemplateEntry(s2 + 'slider2;barPos=0;opacity=100;strokeWidth=2;fillColor=#000000;handleSize=10;shadow=0;', 200, 10, '', 'Discrete slider (normal, light)', null, null, this.getTagsForStencil(gn, 'discrete slider normal light', dt).join(' ')), this.createVertexTemplateEntry(s2 + 'slider2;barPos=60;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;', 200, 10, '', 'Discrete slider (normal)', null, null, this.getTagsForStencil(gn, 'slider normal', dt).join(' ')), @@ -1218,7 +1218,7 @@ 200, 20, '', 'Discrete slider (disabled)', null, null, this.getTagsForStencil(gn, 'discrete slider disabled', dt).join(' ')), this.createVertexTemplateEntry(s2 + 'sliderDisabled2;strokeColor=#b0b0b0;strokeWidth=2;fillColor=#b0b0b0;handleSize=6;shadow=0;hPos=100;', 200, 20, '', 'Discrete slider (disabled)', null, null, this.getTagsForStencil(gn, 'discrete slider disabled', dt).join(' ')), - this.createVertexTemplateEntry(s2 + 'slider2;barPos=0;strokeColor=#ffffff;opacity=100;strokeWidth=2;fillColor=#ffffff;handleSize=10;shadow=0;', + this.createVertexTemplateEntry(s2 + 'slider2;barPos=0;strokeColor=#ffffff;opacity=100;strokeWidth=2;handleSize=10;shadow=0;', 200, 10, '', 'Discrete slider (normal, dark)', null, null, this.getTagsForStencil(gn, 'discrete slider normal dark', dt).join(' ')), this.createVertexTemplateEntry(s2 + 'sliderDiscreteDots;barPos=0;bright=0;strokeColor=#0F9D58;opacity=100;strokeWidth=2;fillColor=#0F9D58;handleSize=10;shadow=0;fontSize=12;fontColor=#ffffff;', 200, 45, '', 'Discrete slider (click, dark)', null, null, this.getTagsForStencil(gn, 'discrete slider click dark', dt).join(' ')), @@ -1361,7 +1361,7 @@ }), this.addEntry(dt + 'single line text field focus light', function() { - var text1 = new mxCell('Input text', new mxGeometry(0, 0, 346, 30), 'text;fontColor=#000000;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;'); + var text1 = new mxCell('Input text', new mxGeometry(0, 0, 346, 30), 'text;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;'); text1.vertex = true; var part1 = new mxCell('', new mxGeometry(0, 25, 346, 10), s + 'line;strokeWidth=2;noLabel=1;strokeColor=#0C8CF2;opacity=50;'); part1.vertex = true; @@ -1369,7 +1369,7 @@ }), this.addEntry(dt + 'single line text field normal light', function() { - var text1 = new mxCell('Input text', new mxGeometry(0, 0, 346, 30), 'text;fontColor=#000000;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;'); + var text1 = new mxCell('Input text', new mxGeometry(0, 0, 346, 30), 'text;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;'); text1.vertex = true; var part1 = new mxCell('', new mxGeometry(0, 25, 346, 10), s + 'line;strokeWidth=1;noLabel=1;strokeColor=#eeeeee;'); part1.vertex = true; @@ -1377,7 +1377,7 @@ }), this.addEntry(dt + 'single line text field error light', function() { - var text1 = new mxCell('Input text', new mxGeometry(0, 0, 346, 30), 'text;fontColor=#000000;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;'); + var text1 = new mxCell('Input text', new mxGeometry(0, 0, 346, 30), 'text;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;'); text1.vertex = true; var part1 = new mxCell('', new mxGeometry(0, 25, 346, 10), s + 'line;strokeWidth=2;noLabel=1;strokeColor=#ff0000;'); part1.vertex = true; @@ -1444,7 +1444,7 @@ { var text1 = new mxCell('Label text', new mxGeometry(0, 0, 346, 30), 'text;fontColor=#1F9BFD;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;'); text1.vertex = true; - var text2 = new mxCell('Input text', new mxGeometry(0, 20, 346, 30), 'text;fontColor=#000000;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;'); + var text2 = new mxCell('Input text', new mxGeometry(0, 20, 346, 30), 'text;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;'); text2.vertex = true; var part1 = new mxCell('', new mxGeometry(0, 45, 346, 10), s + 'line;strokeWidth=2;noLabel=1;strokeColor=#1F9BFD;'); part1.vertex = true; @@ -1454,7 +1454,7 @@ { var text1 = new mxCell('Label text', new mxGeometry(0, 0, 346, 30), 'text;fontColor=#cccccc;fontSize=12;verticalAlign=middle;strokeColor=none;fillColor=none;'); text1.vertex = true; - var text2 = new mxCell('Input text', new mxGeometry(0, 20, 346, 30), 'text;fontColor=#000000;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;'); + var text2 = new mxCell('Input text', new mxGeometry(0, 20, 346, 30), 'text;fontSize=16;verticalAlign=middle;strokeColor=none;fillColor=none;'); text2.vertex = true; var part1 = new mxCell('', new mxGeometry(0, 45, 346, 10), s + 'line;strokeWidth=2;noLabel=1;strokeColor=#eeeeee;'); part1.vertex = true; diff --git a/src/main/webapp/js/diagramly/sidebar/Sidebar-IBM.js b/src/main/webapp/js/diagramly/sidebar/Sidebar-IBM.js index ec3a0b12e9733a0ca66a55aa627d44f5eae566b8..80a6fd6955f41e4b8d97c77bf0df5c831198cf50 100644 --- a/src/main/webapp/js/diagramly/sidebar/Sidebar-IBM.js +++ b/src/main/webapp/js/diagramly/sidebar/Sidebar-IBM.js @@ -540,7 +540,7 @@ this.addEntry(dt + 'ibm cloud', function() { - var bg1 = new mxCell('IBM Cloud', new mxGeometry(0, 0, 200, 200), 'swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=12;strokeColor=#417CB9;fontColor=#000000;verticalAlign=top;align=left;spacingLeft=30;spacingTop=1;dashed=0;strokeWidth=1;'); + var bg1 = new mxCell('IBM Cloud', new mxGeometry(0, 0, 200, 200), 'swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=12;strokeColor=#417CB9;verticalAlign=top;align=left;spacingLeft=30;spacingTop=1;dashed=0;strokeWidth=1;'); bg1.vertex = true; var bg2 = new mxCell('', new mxGeometry(0, 0, 30, 30), s + 'CloudTag.svg;part=1;'); bg2.vertex = true; @@ -551,7 +551,7 @@ this.addEntry(dt + '', function() { - var bg1 = new mxCell('VPC', new mxGeometry(0, 0, 200, 200), 'swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=12;strokeColor=#417CB9;fontColor=#000000;verticalAlign=top;align=left;spacingLeft=30;spacingTop=1;dashed=0;strokeWidth=1;'); + var bg1 = new mxCell('VPC', new mxGeometry(0, 0, 200, 200), 'swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=12;strokeColor=#417CB9;verticalAlign=top;align=left;spacingLeft=30;spacingTop=1;dashed=0;strokeWidth=1;'); bg1.vertex = true; var bg2 = new mxCell('', new mxGeometry(0, 0, 30, 30), s + 'VPCTag.svg;part=1;'); bg2.vertex = true; @@ -562,7 +562,7 @@ this.addEntry(dt + '', function() { - var bg1 = new mxCell('Region', new mxGeometry(0, 0, 200, 200), 'swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=0;strokeColor=#00882B;fontColor=#000000;verticalAlign=top;align=left;spacingLeft=30;dashed=1;strokeWidth=1;container=1;dashPattern=1 1;'); + var bg1 = new mxCell('Region', new mxGeometry(0, 0, 200, 200), 'swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=0;strokeColor=#00882B;verticalAlign=top;align=left;spacingLeft=30;dashed=1;strokeWidth=1;container=1;dashPattern=1 1;'); bg1.vertex = true; var bg2 = new mxCell('', new mxGeometry(0, 0, 30, 30), s + 'RegionTag.svg;part=1;'); bg2.vertex = true; @@ -573,7 +573,7 @@ this.addEntry(dt + '', function() { - var bg1 = new mxCell('Zone', new mxGeometry(0, 0, 200, 200), 'swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=0;strokeColor=#00882B;fontColor=#000000;verticalAlign=top;align=left;spacingLeft=30;dashed=1;strokeWidth=1;container=1;'); + var bg1 = new mxCell('Zone', new mxGeometry(0, 0, 200, 200), 'swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=0;strokeColor=#00882B;verticalAlign=top;align=left;spacingLeft=30;dashed=1;strokeWidth=1;container=1;'); bg1.vertex = true; var bg2 = new mxCell('', new mxGeometry(0, 0, 30, 30), s + 'ZoneTag.svg;part=1;'); bg2.vertex = true; @@ -584,7 +584,7 @@ this.addEntry(dt + '', function() { - var bg1 = new mxCell('Subnet', new mxGeometry(0, 0, 200, 200), 'swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=12;strokeColor=#2A8838;fontColor=#000000;verticalAlign=top;align=left;spacingLeft=30;spacingTop=1;dashed=0;strokeWidth=1;'); + var bg1 = new mxCell('Subnet', new mxGeometry(0, 0, 200, 200), 'swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=12;strokeColor=#2A8838;verticalAlign=top;align=left;spacingLeft=30;spacingTop=1;dashed=0;strokeWidth=1;'); bg1.vertex = true; var bg2 = new mxCell('', new mxGeometry(0, 0, 30, 40), s + 'SubnetTag.svg;part=1;'); bg2.vertex = true; @@ -594,12 +594,12 @@ }), this.createVertexTemplateEntry( - 'rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=0;strokeColor=#FD0000;fillColor=none;fontColor=#000000;verticalAlign=top;align=center;spacingLeft=5;dashed=1;dashPattern=5 2;labelPosition=center;verticalLabelPosition=bottom;strokeWidth=2;', + 'rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=0;strokeColor=#FD0000;fillColor=none;verticalAlign=top;align=center;spacingLeft=5;dashed=1;dashPattern=5 2;labelPosition=center;verticalLabelPosition=bottom;strokeWidth=2;', 200, 200, 'Security Group', 'Security Group', true, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.addEntry(dt + '', function() { - var bg1 = new mxCell('Classic Infrastructure', new mxGeometry(0, 0, 200, 200), 'swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=0;strokeColor=#4376BB;fontColor=#000000;verticalAlign=top;align=left;spacingLeft=30;dashed=0;strokeWidth=1;container=1;'); + var bg1 = new mxCell('Classic Infrastructure', new mxGeometry(0, 0, 200, 200), 'swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=0;strokeColor=#4376BB;verticalAlign=top;align=left;spacingLeft=30;dashed=0;strokeWidth=1;container=1;'); bg1.vertex = true; var bg2 = new mxCell('', new mxGeometry(0, 0, 30, 30), s + 'ClassicInfrastructureTag.svg;part=1;'); bg2.vertex = true; @@ -608,21 +608,21 @@ return sb.createVertexTemplateFromCells([bg1], 200, 200, 'Classic Infrastructure'); }), - this.createVertexTemplateEntry('swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=0;strokeColor=#4376BB;fontColor=#000000;verticalAlign=top;align=left;spacingLeft=30;dashed=0;strokeWidth=1;container=1;', + this.createVertexTemplateEntry('swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=0;strokeColor=#4376BB;verticalAlign=top;align=left;spacingLeft=30;dashed=0;strokeWidth=1;container=1;', 200, 200, 'Other Group', 'Other Group', true, null, this.getTagsForStencil(gn, '', dt).join(' ')), this.addEntry(dt + '', function() { - var bg1 = new mxCell('', new mxGeometry(0, 0, 320, 200), 'swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=0;strokeColor=#4376BB;fontColor=#000000;verticalAlign=top;align=left;spacingLeft=5;dashed=0;strokeWidth=1;container=1;'); + var bg1 = new mxCell('', new mxGeometry(0, 0, 320, 200), 'swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=0;strokeColor=#4376BB;verticalAlign=top;align=left;spacingLeft=5;dashed=0;strokeWidth=1;container=1;'); bg1.vertex = true; - var bg2 = new mxCell('Public', new mxGeometry(15, 0, 30, 30), 'aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#000000;labelBackgroundColor=none;fontSize=12;spacingTop=-5;image;image=img/lib/ibm/vpc/PublicTag.svg;part=1;'); + var bg2 = new mxCell('Public', new mxGeometry(15, 0, 30, 30), 'aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;labelBackgroundColor=none;fontSize=12;spacingTop=-5;image;image=img/lib/ibm/vpc/PublicTag.svg;part=1;'); bg2.vertex = true; bg1.insert(bg2); - var bg3 = new mxCell('Enterprise', new mxGeometry(275, 0, 30, 30), 'aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;fontColor=#000000;labelBackgroundColor=none;fontSize=12;spacingTop=-5;image;image=img/lib/ibm/vpc/EnterpriseTag.svg;part=1;'); + var bg3 = new mxCell('Enterprise', new mxGeometry(275, 0, 30, 30), 'aspect=fixed;perimeter=ellipsePerimeter;html=1;align=center;shadow=0;dashed=0;labelBackgroundColor=none;fontSize=12;spacingTop=-5;image;image=img/lib/ibm/vpc/EnterpriseTag.svg;part=1;'); bg3.vertex = true; bg1.insert(bg3); - var bg4 = new mxCell('IBM Cloud', new mxGeometry(60, 0, 200, 200), 'swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=12;strokeColor=#417CB9;fontColor=#000000;verticalAlign=top;align=left;spacingLeft=30;spacingTop=1;dashed=0;strokeWidth=1;'); + var bg4 = new mxCell('IBM Cloud', new mxGeometry(60, 0, 200, 200), 'swimlane;fontStyle=0;horizontal=1;collapsible=0;startSize=28;swimlaneLine=0;swimlaneFillColor=none;fillColor=none;rounded=0;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=12;strokeColor=#417CB9;verticalAlign=top;align=left;spacingLeft=30;spacingTop=1;dashed=0;strokeWidth=1;'); bg4.vertex = true; bg1.insert(bg4); var bg5 = new mxCell('', new mxGeometry(0, 0, 30, 30), s + 'CloudTag.svg;part=1;'); @@ -655,11 +655,11 @@ d, d, '', 'Data Center', false, null, this.getTagsForStencil(gn, 'dat acenter', dt).join(' ')), this.createVertexTemplateEntry(s + 'Enterprise2.svg;', d, d * 0.8, '', 'Enterprise', false, null, this.getTagsForStencil(gn, 'enterprise', dt).join(' ')), - this.createEdgeTemplateEntry('edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=classicThin;endFill=1;rounded=0;strokeColor=#000000;strokeWidth=1;startArrow=classicThin;startFill=1;', + this.createEdgeTemplateEntry('edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=classicThin;endFill=1;rounded=0;strokeWidth=1;startArrow=classicThin;startFill=1;', d, d, '', 'Bidirectional Connector', null, dt + 'bidirectional connector'), - this.createEdgeTemplateEntry('edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=classicThin;endFill=1;rounded=0;strokeColor=#000000;strokeWidth=1;', + this.createEdgeTemplateEntry('edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=classicThin;endFill=1;rounded=0;strokeWidth=1;', d, d, '', 'Directional Connector', null, dt + 'directional connector'), - this.createEdgeTemplateEntry('edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=none;endFill=0;rounded=0;strokeColor=#000000;strokeWidth=1;', + this.createEdgeTemplateEntry('edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=none;endFill=0;rounded=0;strokeWidth=1;', d, d, '', 'Nondirectional Connector', null, dt + 'nondirectional connector') ]; diff --git a/src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js b/src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js index 0f78e63c3a74444521a6a51bd0373888cb25d567..daad47530041785aa7793851ad10e71893c3a6bb 100644 --- a/src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js +++ b/src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js @@ -56,19 +56,19 @@ 'verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;fillColor=#10739E;strokeColor=none;startAngle=0;endAngle=0.75;arcWidth=0.4;fontSize=20;fontColor=#10739E;align=center;fontStyle=1;', w, h, '75%', 'Partial Concentric Ellipse', null, null, this.getTagsForStencil(gn, 'partConcEllipse', dt).join(' ')), this.createVertexTemplateEntry( - 'verticalLabelPosition=middle;verticalAlign=bottom;html=1;shape=mxgraph.infographic.circularDial;dy=15;fillColor=#10739E;strokeColor=none;labelPosition=center;align=center;fontColor=#FFFFFF;fontStyle=1;fontSize=15;spacingBottom=5;', + 'verticalLabelPosition=middle;verticalAlign=bottom;html=1;shape=mxgraph.infographic.circularDial;dy=15;fillColor=#10739E;strokeColor=none;labelPosition=center;align=center;fontStyle=1;fontSize=15;spacingBottom=5;', w * 0.8, h * 1.1, 'Label', 'Circular Dial', null, null, this.getTagsForStencil(gn, 'circularDial', dt).join(' ')), this.addEntry(dt + 'chevron list', function() { - var button1 = new mxCell('LABEL', new mxGeometry(0, 0, 200, 30), 'shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#10739E;strokeColor=none;fontSize=17;fontColor=#FFFFFF;fontStyle=1;align=center;'); + var button1 = new mxCell('LABEL', new mxGeometry(0, 0, 200, 30), 'shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#10739E;strokeColor=none;fontSize=17;fontStyle=1;align=center;'); button1.vertex = true; var button2 = new mxCell(' - Lorem ipsum dolor sit amet<br>' + ' - consectetur adipisicing elit<br>' + ' - sed do eiusmod tempor<br>' + ' - incididunt ut labore et dolore<br>' + ' - magna aliqua.', - new mxGeometry(0, 40, 190, 120), 'shape=rect;fillColor=#B1DDF0;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;'); + new mxGeometry(0, 40, 190, 120), 'shape=rect;fillColor=#B1DDF0;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;'); button2.vertex = true; return sb.createVertexTemplateFromCells([button1, button2], 200, 160, 'Chevron list'); @@ -103,12 +103,12 @@ 'verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout;dy=15;fillColor=#10739E;strokeColor=none;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;', w, h, '50%', 'Circular Callout', null, null, this.getTagsForStencil(gn, 'circularCallout', dt).join(' ')), this.createVertexTemplateEntry( - 'verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;fillColor=#ffffff;strokeColor=#10739E;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;', + 'verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;strokeColor=#10739E;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;', w * 0.6, h * 1.4, '', 'Circular Callout', null, null, this.getTagsForStencil(gn, 'circularCallout2', dt).join(' ')), this.addEntry(dt + 'circular dial', function() { - var part1 = new mxCell('', new mxGeometry(0, 0, 100, 100), 'verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#10739E;fontSize=10;fontColor=#000000;align=center;fillOpacity=20;'); + var part1 = new mxCell('', new mxGeometry(0, 0, 100, 100), 'verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.donut;dx=10;strokeColor=none;fillColor=#10739E;fontSize=10;align=center;fillOpacity=20;'); part1.vertex = true; var part2 = new mxCell('65%', new mxGeometry(0, 0, 100, 100), 'verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.basic.partConcEllipse;startAngle=0;endAngle=0.65;arcWidth=0.2;strokeColor=none;fillColor=#10739E;fontSize=22;fontColor=#10739E;align=center;fontStyle=1'); part2.vertex = true; @@ -137,57 +137,57 @@ var chrevron1 = new mxCell('LABEL', new mxGeometry(0, 0, 200, 30), 'shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#10739E;strokeColor=none;fontSize=17;fontColor=#FFFFFF;fontStyle=1;align=center;rounded=0;'); chrevron1.vertex = true; var process1 = new mxCell(str1, new mxGeometry(0, 40, 190, 120), - 'shape=rect;fillColor=#B1DDF0;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); + 'shape=rect;fillColor=#B1DDF0;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); process1.vertex = true; var process2 = new mxCell(str1, - new mxGeometry(0, 170, 190, 120), 'shape=rect;fillColor=#B1DDF0;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); + new mxGeometry(0, 170, 190, 120), 'shape=rect;fillColor=#B1DDF0;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); process2.vertex = true; var process3 = new mxCell(str1, - new mxGeometry(0, 300, 190, 120), 'shape=rect;fillColor=#B1DDF0;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); + new mxGeometry(0, 300, 190, 120), 'shape=rect;fillColor=#B1DDF0;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); process3.vertex = true; var chrevron2 = new mxCell('LABEL', new mxGeometry(200, 0, 200, 30), 'shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#F2931E;strokeColor=none;fontSize=17;fontColor=#FFFFFF;fontStyle=1;align=center;rounded=0;'); chrevron2.vertex = true; var process4 = new mxCell(str1, - new mxGeometry(200, 40, 190, 120), 'shape=rect;fillColor=#FCE7CD;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); + new mxGeometry(200, 40, 190, 120), 'shape=rect;fillColor=#FCE7CD;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); process4.vertex = true; var process5 = new mxCell(str1, - new mxGeometry(200, 170, 190, 120), 'shape=rect;fillColor=#FCE7CD;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); + new mxGeometry(200, 170, 190, 120), 'shape=rect;fillColor=#FCE7CD;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); process5.vertex = true; var process6 = new mxCell(str1, - new mxGeometry(200, 300, 190, 120), 'shape=rect;fillColor=#FCE7CD;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); + new mxGeometry(200, 300, 190, 120), 'shape=rect;fillColor=#FCE7CD;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); process6.vertex = true; var chrevron3 = new mxCell('LABEL', new mxGeometry(400, 0, 200, 30), 'shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#AE4132;strokeColor=none;fontSize=17;fontColor=#FFFFFF;fontStyle=1;align=center;rounded=0;'); chrevron3.vertex = true; var process7 = new mxCell(str1, - new mxGeometry(400, 40, 190, 120), 'shape=rect;fillColor=#FAD9D5;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); + new mxGeometry(400, 40, 190, 120), 'shape=rect;fillColor=#FAD9D5;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); process7.vertex = true; var process8 = new mxCell(str1, - new mxGeometry(400, 170, 190, 120), 'shape=rect;fillColor=#FAD9D5;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); + new mxGeometry(400, 170, 190, 120), 'shape=rect;fillColor=#FAD9D5;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); process8.vertex = true; var process9 = new mxCell(str1, - new mxGeometry(400, 300, 190, 120), 'shape=rect;fillColor=#FAD9D5;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); + new mxGeometry(400, 300, 190, 120), 'shape=rect;fillColor=#FAD9D5;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); process9.vertex = true; var chrevron4 = new mxCell('LABEL', new mxGeometry(600, 0, 200, 30), 'shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#23445D;strokeColor=none;fontSize=17;fontColor=#FFFFFF;fontStyle=1;align=center;rounded=0;'); chrevron4.vertex = true; var process10 = new mxCell(str1, - new mxGeometry(600, 40, 190, 120), 'shape=rect;fillColor=#BAC8D3;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); + new mxGeometry(600, 40, 190, 120), 'shape=rect;fillColor=#BAC8D3;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); process10.vertex = true; var process11 = new mxCell(str1, - new mxGeometry(600, 170, 190, 120), 'shape=rect;fillColor=#BAC8D3;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); + new mxGeometry(600, 170, 190, 120), 'shape=rect;fillColor=#BAC8D3;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); process11.vertex = true; var process12 = new mxCell(str1, - new mxGeometry(600, 300, 190, 120), 'shape=rect;fillColor=#BAC8D3;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); + new mxGeometry(600, 300, 190, 120), 'shape=rect;fillColor=#BAC8D3;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); process12.vertex = true; var chrevron5 = new mxCell('LABEL', new mxGeometry(800, 0, 200, 30), 'shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#12AAB5;strokeColor=none;fontSize=17;fontColor=#FFFFFF;fontStyle=1;align=center;rounded=0;'); chrevron5.vertex = true; var process13 = new mxCell(str1, - new mxGeometry(800, 40, 190, 120), 'shape=rect;fillColor=#B0E3E6;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); + new mxGeometry(800, 40, 190, 120), 'shape=rect;fillColor=#B0E3E6;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); process13.vertex = true; var process14 = new mxCell(str1, - new mxGeometry(800, 170, 190, 120), 'shape=rect;fillColor=#B0E3E6;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); + new mxGeometry(800, 170, 190, 120), 'shape=rect;fillColor=#B0E3E6;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); process14.vertex = true; var process15 = new mxCell(str1, - new mxGeometry(800, 300, 190, 120), 'shape=rect;fillColor=#B0E3E6;strokeColor=none;fontSize=12;fontColor=#000000;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); + new mxGeometry(800, 300, 190, 120), 'shape=rect;fillColor=#B0E3E6;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;'); process15.vertex = true; return sb.createVertexTemplateFromCells([chrevron1, chrevron2, chrevron3, chrevron4, chrevron5, process1, process2, process3, process4, process5, process6, process7, process8, process9, process10, process11, process12, process13, process14, process15], 1000, 420, 'Chevron list'); @@ -300,15 +300,15 @@ var arch5 = new mxCell('', new mxGeometry(420, 90, 120, 120), s4 + 'partConcEllipse;startAngle=0.25;endAngle=0.75;arcWidth=0.25;fillColor=#15AA96;strokeColor=none;'); arch5.vertex = true; - var circle1 = new mxCell('1', new mxGeometry(35, 125, 50, 50), 'shape=ellipse;strokeWidth=6;fillColor=#ffffff;strokeColor=#10739E;fontSize=15;html=0;fontStyle=1;fontColor=#10739E;'); + var circle1 = new mxCell('1', new mxGeometry(35, 125, 50, 50), 'shape=ellipse;strokeWidth=6;strokeColor=#10739E;fontSize=15;html=0;fontStyle=1;fontColor=#10739E;'); circle1.vertex = true; - var circle2 = new mxCell('2', new mxGeometry(140, 125, 50, 50), 'shape=ellipse;strokeWidth=6;fillColor=#ffffff;strokeColor=#F2931E;fontSize=15;html=0;fontStyle=1;fontColor=#F2931E;'); + var circle2 = new mxCell('2', new mxGeometry(140, 125, 50, 50), 'shape=ellipse;strokeWidth=6;strokeColor=#F2931E;fontSize=15;html=0;fontStyle=1;fontColor=#F2931E;'); circle2.vertex = true; - var circle3 = new mxCell('3', new mxGeometry(245, 125, 50, 50), 'shape=ellipse;strokeWidth=6;fillColor=#ffffff;strokeColor=#AE4132;fontSize=15;html=0;fontStyle=1;fontColor=#AE4132;'); + var circle3 = new mxCell('3', new mxGeometry(245, 125, 50, 50), 'shape=ellipse;strokeWidth=6;strokeColor=#AE4132;fontSize=15;html=0;fontStyle=1;fontColor=#AE4132;'); circle3.vertex = true; - var circle4 = new mxCell('4', new mxGeometry(350, 125, 50, 50), 'shape=ellipse;strokeWidth=6;fillColor=#ffffff;strokeColor=#23445D;fontSize=15;html=0;fontStyle=1;fontColor=#23445D;'); + var circle4 = new mxCell('4', new mxGeometry(350, 125, 50, 50), 'shape=ellipse;strokeWidth=6;strokeColor=#23445D;fontSize=15;html=0;fontStyle=1;fontColor=#23445D;'); circle4.vertex = true; - var circle5 = new mxCell('5', new mxGeometry(455, 125, 50, 50), 'shape=ellipse;strokeWidth=6;fillColor=#ffffff;strokeColor=#12AAB5;fontSize=15;html=0;fontStyle=1;fontColor=#12AAB5;'); + var circle5 = new mxCell('5', new mxGeometry(455, 125, 50, 50), 'shape=ellipse;strokeWidth=6;strokeColor=#12AAB5;fontSize=15;html=0;fontStyle=1;fontColor=#12AAB5;'); circle5.vertex = true; var label1 = new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#10739E"><b>Label</b></font><br><br><font size="1">' + @@ -348,15 +348,15 @@ var arch5 = new mxCell('', new mxGeometry(400, 210, 120, 120), s4 + 'partConcEllipse;startAngle=0.75;endAngle=0.5;arcWidth=0.25;fillColor=#12AAB5;strokeColor=none;shadow=0;'); arch5.vertex = true; - var circle1 = new mxCell('1', new mxGeometry(225, 35, 50, 50), 'shape=ellipse;strokeWidth=6;fillColor=#ffffff;strokeColor=#10739E;fontSize=15;html=1;fontStyle=1;fontColor=#10739E;shadow=1;'); + var circle1 = new mxCell('1', new mxGeometry(225, 35, 50, 50), 'shape=ellipse;strokeWidth=6;strokeColor=#10739E;fontSize=15;html=1;fontStyle=1;fontColor=#10739E;shadow=1;'); circle1.vertex = true; - var circle2 = new mxCell('2', new mxGeometry(225, 140, 50, 50), 'shape=ellipse;strokeWidth=6;fillColor=#ffffff;strokeColor=#F2931E;fontSize=15;html=1;fontStyle=1;fontColor=#F2931E;shadow=1;'); + var circle2 = new mxCell('2', new mxGeometry(225, 140, 50, 50), 'shape=ellipse;strokeWidth=6;strokeColor=#F2931E;fontSize=15;html=1;fontStyle=1;fontColor=#F2931E;shadow=1;'); circle2.vertex = true; - var circle3 = new mxCell('3', new mxGeometry(330, 140, 50, 50), 'shape=ellipse;strokeWidth=6;fillColor=#ffffff;strokeColor=#AE4132;fontSize=15;html=1;fontStyle=1;fontColor=#AE4132;shadow=1;'); + var circle3 = new mxCell('3', new mxGeometry(330, 140, 50, 50), 'shape=ellipse;strokeWidth=6;strokeColor=#AE4132;fontSize=15;html=1;fontStyle=1;fontColor=#AE4132;shadow=1;'); circle3.vertex = true; - var circle4 = new mxCell('4', new mxGeometry(330, 245, 50, 50), 'shape=ellipse;strokeWidth=6;fillColor=#ffffff;strokeColor=#23445D;fontSize=15;html=1;fontStyle=1;fontColor=#23445D;shadow=1;'); + var circle4 = new mxCell('4', new mxGeometry(330, 245, 50, 50), 'shape=ellipse;strokeWidth=6;strokeColor=#23445D;fontSize=15;html=1;fontStyle=1;fontColor=#23445D;shadow=1;'); circle4.vertex = true; - var circle5 = new mxCell('5', new mxGeometry(435, 245, 50, 50), 'shape=ellipse;strokeWidth=6;fillColor=#ffffff;strokeColor=#12AAB5;fontSize=15;html=1;fontStyle=1;fontColor=#12AAB5;shadow=1;'); + var circle5 = new mxCell('5', new mxGeometry(435, 245, 50, 50), 'shape=ellipse;strokeWidth=6;strokeColor=#12AAB5;fontSize=15;html=1;fontStyle=1;fontColor=#12AAB5;shadow=1;'); circle5.vertex = true; var label1 = new mxCell('<font style="font-size: 10px"><font style="font-size: 12px" color="#10739E"><b>Label</b></font><br><br><font size="1">' + @@ -702,35 +702,35 @@ bg1.vertex = true; var bar1 = new mxCell('65%', new mxGeometry(0, 0, 260, 40), 'html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#10739E;strokeColor=none;align=left;verticalAlign=middle;fontColor=#ffffff;fontSize=18;spacingLeft=10;fontStyle=1;shadow=0;'); bar1.vertex = true; - var label1 = new mxCell('Label', new mxGeometry(320, 0, 80, 40), 'text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;fontColor=#000000;spacingRight=10;'); + var label1 = new mxCell('Label', new mxGeometry(320, 0, 80, 40), 'text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;spacingRight=10;'); label1.vertex = true; var bg2 = new mxCell('', new mxGeometry(0, 50, 400, 40), 'whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#dddddd;strokeColor=none;rounded=0;'); bg2.vertex = true; var bar2 = new mxCell('45%', new mxGeometry(0, 50, 180, 40), 'html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#F2931E;strokeColor=none;align=left;verticalAlign=middle;fontColor=#ffffff;fontSize=18;spacingLeft=10;fontStyle=1;shadow=0;'); bar2.vertex = true; - var label2 = new mxCell('Label', new mxGeometry(320, 50, 80, 40), 'text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;fontColor=#000000;spacingRight=10;'); + var label2 = new mxCell('Label', new mxGeometry(320, 50, 80, 40), 'text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;spacingRight=10;'); label2.vertex = true; var bg3 = new mxCell('', new mxGeometry(0, 100, 400, 40), 'whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#dddddd;strokeColor=none;rounded=0;'); bg3.vertex = true; var bar3 = new mxCell('30%', new mxGeometry(0, 100, 120, 40), 'html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#AE4132;strokeColor=none;align=left;verticalAlign=middle;fontColor=#ffffff;fontSize=18;spacingLeft=10;fontStyle=1;shadow=0;'); bar3.vertex = true; - var label3 = new mxCell('Label', new mxGeometry(320, 100, 80, 40), 'text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;fontColor=#000000;spacingRight=10;'); + var label3 = new mxCell('Label', new mxGeometry(320, 100, 80, 40), 'text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;spacingRight=10;'); label3.vertex = true; var bg4 = new mxCell('', new mxGeometry(0, 150, 400, 40), 'whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#dddddd;strokeColor=none;rounded=0;'); bg4.vertex = true; var bar4 = new mxCell('60%', new mxGeometry(0, 150, 240, 40), 'html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#23445D;strokeColor=none;align=left;verticalAlign=middle;fontColor=#ffffff;fontSize=18;spacingLeft=10;fontStyle=1;shadow=0;'); bar4.vertex = true; - var label4 = new mxCell('Label', new mxGeometry(320, 150, 80, 40), 'text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;fontColor=#000000;spacingRight=10;'); + var label4 = new mxCell('Label', new mxGeometry(320, 150, 80, 40), 'text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;spacingRight=10;'); label4.vertex = true; var bg5 = new mxCell('', new mxGeometry(0, 200, 400, 40), 'whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#dddddd;strokeColor=none;rounded=0;'); bg5.vertex = true; var bar5 = new mxCell('85%', new mxGeometry(0, 200, 340, 40), 'html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#12AAB5;strokeColor=none;align=left;verticalAlign=middle;fontColor=#ffffff;fontSize=18;spacingLeft=10;fontStyle=1;shadow=0;'); bar5.vertex = true; - var label5 = new mxCell('Label', new mxGeometry(320, 200, 80, 40), 'text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;fontColor=#000000;spacingRight=10;'); + var label5 = new mxCell('Label', new mxGeometry(320, 200, 80, 40), 'text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;spacingRight=10;'); label5.vertex = true; return sb.createVertexTemplateFromCells([bg1, bar1, bg2, bar2, bg3, bar3, bg4, bar4, bg5, bar5, label1, label2, label3, label4, label5], 400, 250, 'Percentage list'); @@ -801,15 +801,15 @@ this.addEntry(dt + 'pyramid graph', function() { - var part1 = new mxCell('Label', new mxGeometry(0, 70, 80, 70), 'verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedPyramid;fillColor=#10739E;strokeColor=none;fontSize=10;labelPosition=center;align=center;fontColor=#000000;shadow=0;'); + var part1 = new mxCell('Label', new mxGeometry(0, 70, 80, 70), 'verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedPyramid;fillColor=#10739E;strokeColor=none;fontSize=10;labelPosition=center;align=center;shadow=0;'); part1.vertex = true; - var part2 = new mxCell('Label', new mxGeometry(60, 10, 80, 130), 'verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedPyramid;fillColor=#F2931E;strokeColor=none;fontSize=10;labelPosition=center;align=center;fontColor=#000000;shadow=0;'); + var part2 = new mxCell('Label', new mxGeometry(60, 10, 80, 130), 'verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedPyramid;fillColor=#F2931E;strokeColor=none;fontSize=10;labelPosition=center;align=center;shadow=0;'); part2.vertex = true; - var part3 = new mxCell('Label', new mxGeometry(120, 0, 80, 140), 'verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedPyramid;fillColor=#AE4132;strokeColor=none;fontSize=10;labelPosition=center;align=center;fontColor=#000000;shadow=0;'); + var part3 = new mxCell('Label', new mxGeometry(120, 0, 80, 140), 'verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedPyramid;fillColor=#AE4132;strokeColor=none;fontSize=10;labelPosition=center;align=center;shadow=0;'); part3.vertex = true; - var part4 = new mxCell('Label', new mxGeometry(180, 40, 80, 100), 'verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedPyramid;fillColor=#12AAB5;strokeColor=none;fontSize=10;labelPosition=center;align=center;fontColor=#000000;shadow=0;'); + var part4 = new mxCell('Label', new mxGeometry(180, 40, 80, 100), 'verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedPyramid;fillColor=#12AAB5;strokeColor=none;fontSize=10;labelPosition=center;align=center;shadow=0;'); part4.vertex = true; - var part5 = new mxCell('Label', new mxGeometry(240, 60, 80, 80), 'verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedPyramid;fillColor=#23445D;strokeColor=none;fontSize=10;labelPosition=center;align=center;fontColor=#000000;shadow=0;'); + var part5 = new mxCell('Label', new mxGeometry(240, 60, 80, 80), 'verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.infographic.shadedPyramid;fillColor=#23445D;strokeColor=none;fontSize=10;labelPosition=center;align=center;shadow=0;'); part5.vertex = true; return sb.createVertexTemplateFromCells([part5, part4, part3, part2, part1], 320, 140, 'Pyramid Graph'); @@ -822,7 +822,7 @@ var arrow1 = new mxCell('', new mxGeometry(3, 30, 24, 70), 'shape=mxgraph.arrows2.arrow;dy=0.4;dx=16;notch=0;direction=north;fillColor=#1699D3;strokeColor=none;'); arrow1.vertex = true; part1.insert(arrow1); - var text1 = new mxCell('Label', new mxGeometry(0, 0, 30, 20), 'text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;;fontColor=#FFFFFF;fontSize=10;'); + var text1 = new mxCell('Label', new mxGeometry(0, 0, 30, 20), 'text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;fontColor=#FFFFFF;fontSize=10;'); text1.vertex = true; part1.insert(text1); @@ -831,7 +831,7 @@ var arrow2 = new mxCell('', new mxGeometry(3, 0, 24, 80), 'shape=mxgraph.arrows2.arrow;dy=0.4;dx=16;notch=0;direction=south;fillColor=#F5AB50;strokeColor=none;'); arrow2.vertex = true; part2.insert(arrow2); - var text2 = new mxCell('Label', new mxGeometry(0, 0, 30, 20), 'text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;;fontColor=#FFFFFF;fontSize=10;'); + var text2 = new mxCell('Label', new mxGeometry(0, 0, 30, 20), 'text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;fontColor=#FFFFFF;fontSize=10;'); text2.vertex = true; part2.insert(text2); @@ -840,7 +840,7 @@ var arrow3 = new mxCell('', new mxGeometry(3, 80, 24, 50), 'shape=mxgraph.arrows2.arrow;dy=0.4;dx=16;notch=0;direction=north;fillColor=#E85642;strokeColor=none;'); arrow3.vertex = true; part3.insert(arrow3); - var text3 = new mxCell('Label', new mxGeometry(0, 0, 30, 20), 'text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;;fontColor=#FFFFFF;fontSize=10;'); + var text3 = new mxCell('Label', new mxGeometry(0, 0, 30, 20), 'text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;fontColor=#FFFFFF;fontSize=10;'); text3.vertex = true; part3.insert(text3); @@ -849,7 +849,7 @@ var arrow4 = new mxCell('', new mxGeometry(3, 0, 24, 30), 'shape=mxgraph.arrows2.arrow;dy=0.4;dx=16;notch=0;direction=south;fillColor=#64BBE2;strokeColor=none;'); arrow4.vertex = true; part4.insert(arrow4); - var text4 = new mxCell('Label', new mxGeometry(0, 0, 30, 20), 'text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;;fontColor=#FFFFFF;fontSize=10;'); + var text4 = new mxCell('Label', new mxGeometry(0, 0, 30, 20), 'text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;fontColor=#FFFFFF;fontSize=10;'); text4.vertex = true; part4.insert(text4); @@ -858,7 +858,7 @@ var arrow5 = new mxCell('', new mxGeometry(3, 10, 24, 60), 'shape=mxgraph.arrows2.arrow;dy=0.4;dx=16;notch=0;direction=north;fillColor=#2F5B7C;strokeColor=none;'); arrow5.vertex = true; part5.insert(arrow5); - var text5 = new mxCell('Label', new mxGeometry(0, 0, 30, 20), 'text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;;fontColor=#FFFFFF;fontSize=10;'); + var text5 = new mxCell('Label', new mxGeometry(0, 0, 30, 20), 'text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;fontColor=#FFFFFF;fontSize=10;'); text5.vertex = true; part5.insert(text5); @@ -966,7 +966,7 @@ var text1 = new mxCell( 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', new mxGeometry(0, 140, 100, 120), - 'verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;fontColor=#000000;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;'); + 'verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;'); text1.vertex = true; var label2 = new mxCell('Label', new mxGeometry(110, 0, 100, 30), 'verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=none;strokeColor=none;fontSize=15;fontColor=#F2931E;align=center;fontStyle=1;'); @@ -976,7 +976,7 @@ var text2 = new mxCell( 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', new mxGeometry(110, 140, 100, 120), - 'verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;fontColor=#000000;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;'); + 'verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;'); text2.vertex = true; var label3 = new mxCell('Label', new mxGeometry(220, 0, 100, 30), 'verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=none;strokeColor=none;fontSize=15;fontColor=#AE4132;align=center;fontStyle=1;'); @@ -986,7 +986,7 @@ var text3 = new mxCell( 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', new mxGeometry(220, 140, 100, 120), - 'verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;fontColor=#000000;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;'); + 'verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;'); text3.vertex = true; var label4 = new mxCell('Label', new mxGeometry(330, 0, 100, 30), 'verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=none;strokeColor=none;fontSize=15;fontColor=#23445D;align=center;fontStyle=1;'); @@ -996,7 +996,7 @@ var text4 = new mxCell( 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', new mxGeometry(330, 140, 100, 120), - 'verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;fontColor=#000000;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;'); + 'verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;'); text4.vertex = true; var label5 = new mxCell('Label', new mxGeometry(440, 0, 100, 30), 'verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=none;strokeColor=none;fontSize=15;fontColor=#12AAB5;align=center;fontStyle=1;'); @@ -1006,7 +1006,7 @@ var text5 = new mxCell( 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', new mxGeometry(440, 140, 100, 120), - 'verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;fontColor=#000000;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;'); + 'verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;'); text5.vertex = true; return sb.createVertexTemplateFromCells([part1, part2, part3, part4, part5, label1, label2, label3, label4, label5, text1, text2, text3, text4, text5], 540, 260, 'Circular Dial List (horizontal)'); @@ -1236,7 +1236,7 @@ text1.geometry.relative = true; text1.geometry.offset = new mxPoint(200, 0); ribbon1.insert(text1); - var icon1 = new mxCell('', new mxGeometry(50, 32, 50, 37), 'shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fillColor=#FFFFFF;fontSize=15;fontColor=#FFFFFF;align=left;'); + var icon1 = new mxCell('', new mxGeometry(50, 32, 50, 37), 'shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fontSize=15;fontColor=#FFFFFF;align=left;'); icon1.vertex = true; var ribbon2 = new mxCell('', new mxGeometry(0, 120, 500, 100), 'html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=0;fillColor=#F2931E;strokeColor=none;shadow=1;'); @@ -1255,7 +1255,7 @@ text2.geometry.relative = true; text2.geometry.offset = new mxPoint(200, 0); ribbon2.insert(text2); - var icon2 = new mxCell('', new mxGeometry(50, 152, 50, 37), 'shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fillColor=#FFFFFF;fontSize=15;fontColor=#FFFFFF;align=left;'); + var icon2 = new mxCell('', new mxGeometry(50, 152, 50, 37), 'shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fontSize=15;fontColor=#FFFFFF;align=left;'); icon2.vertex = true; var ribbon3 = new mxCell('', new mxGeometry(0, 240, 500, 100), 'html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=0;fillColor=#AE4132;strokeColor=none;shadow=1;'); @@ -1274,7 +1274,7 @@ text3.geometry.relative = true; text3.geometry.offset = new mxPoint(200, 0); ribbon3.insert(text3); - var icon3 = new mxCell('', new mxGeometry(50, 272, 50, 37), 'shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fillColor=#FFFFFF;fontSize=15;fontColor=#FFFFFF;align=left;'); + var icon3 = new mxCell('', new mxGeometry(50, 272, 50, 37), 'shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fontSize=15;fontColor=#FFFFFF;align=left;'); icon3.vertex = true; var ribbon4 = new mxCell('', new mxGeometry(0, 360, 500, 100), 'html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=0;fillColor=#23445D;strokeColor=none;shadow=1;'); @@ -1293,7 +1293,7 @@ text4.geometry.relative = true; text4.geometry.offset = new mxPoint(200, 0); ribbon4.insert(text4); - var icon4 = new mxCell('', new mxGeometry(50, 392, 50, 37), 'shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fillColor=#FFFFFF;fontSize=15;fontColor=#FFFFFF;align=left;'); + var icon4 = new mxCell('', new mxGeometry(50, 392, 50, 37), 'shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fontSize=15;fontColor=#FFFFFF;align=left;'); icon4.vertex = true; var ribbon5 = new mxCell('', new mxGeometry(0, 480, 500, 100), 'html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=0;fillColor=#12AAB5;strokeColor=none;shadow=1;'); @@ -1312,7 +1312,7 @@ text5.geometry.relative = true; text5.geometry.offset = new mxPoint(200, 0); ribbon5.insert(text5); - var icon5 = new mxCell('', new mxGeometry(50, 512, 50, 37), 'shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fillColor=#FFFFFF;fontSize=15;fontColor=#FFFFFF;align=left;'); + var icon5 = new mxCell('', new mxGeometry(50, 512, 50, 37), 'shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fontSize=15;fontColor=#FFFFFF;align=left;'); icon5.vertex = true; return sb.createVertexTemplateFromCells([ribbon1, item1, icon1, ribbon2, item2, icon2, ribbon3, item3, icon3, ribbon4, item4, icon4, ribbon5, item5, icon5], 550, 590, 'Ribbon List'); @@ -1322,27 +1322,27 @@ { var part1 = new mxCell('Label', new mxGeometry(0, 0, 120, 70), 'html=1;shape=mxgraph.infographic.barCallout;dx=60;dy=30;fillColor=#10739E;strokeColor=none;align=center;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingTop=5;'); part1.vertex = true; - var dial1 = new mxCell('12', new mxGeometry(40, 75, 40, 40), 'ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#10739E;strokeWidth=6;fillColor=#FFFFFF;fontSize=16;fontColor=#000000;align=center;fontStyle=1'); + var dial1 = new mxCell('12', new mxGeometry(40, 75, 40, 40), 'ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#10739E;strokeWidth=6;fontSize=16;align=center;fontStyle=1'); dial1.vertex = true; var part2 = new mxCell('Label', new mxGeometry(120, 0, 160, 70), 'html=1;shape=mxgraph.infographic.barCallout;dx=80;dy=30;fillColor=#F2931E;strokeColor=none;align=center;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingTop=5;'); part2.vertex = true; - var dial2 = new mxCell('16', new mxGeometry(180, 75, 40, 40), 'ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#F2931E;strokeWidth=6;fillColor=#FFFFFF;fontSize=16;fontColor=#000000;align=center;fontStyle=1'); + var dial2 = new mxCell('16', new mxGeometry(180, 75, 40, 40), 'ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#F2931E;strokeWidth=6;fontSize=16;align=center;fontStyle=1'); dial2.vertex = true; var part3 = new mxCell('Label', new mxGeometry(280, 0, 80, 70), 'html=1;shape=mxgraph.infographic.barCallout;dx=40;dy=30;fillColor=#AE4132;strokeColor=none;align=center;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingTop=5;'); part3.vertex = true; - var dial3 = new mxCell('8', new mxGeometry(300, 75, 40, 40), 'ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#AE4132;strokeWidth=6;fillColor=#FFFFFF;fontSize=16;fontColor=#000000;align=center;fontStyle=1'); + var dial3 = new mxCell('8', new mxGeometry(300, 75, 40, 40), 'ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#AE4132;strokeWidth=6;fontSize=16;align=center;fontStyle=1'); dial3.vertex = true; var part4 = new mxCell('Label', new mxGeometry(360, 0, 200, 70), 'html=1;shape=mxgraph.infographic.barCallout;dx=100;dy=30;fillColor=#23445D;strokeColor=none;align=center;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingTop=5;'); part4.vertex = true; - var dial4 = new mxCell('20', new mxGeometry(440, 75, 40, 40), 'ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#23445D;strokeWidth=6;fillColor=#FFFFFF;fontSize=16;fontColor=#000000;align=center;fontStyle=1'); + var dial4 = new mxCell('20', new mxGeometry(440, 75, 40, 40), 'ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#23445D;strokeWidth=6;fontSize=16;align=center;fontStyle=1'); dial4.vertex = true; var part5 = new mxCell('Label', new mxGeometry(560, 0, 140, 70), 'html=1;shape=mxgraph.infographic.barCallout;dx=70;dy=30;fillColor=#12AAB5;strokeColor=none;align=center;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingTop=5;'); part5.vertex = true; - var dial5 = new mxCell('14', new mxGeometry(610, 75, 40, 40), 'ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#12AAB5;strokeWidth=6;fillColor=#FFFFFF;fontSize=16;fontColor=#000000;align=center;fontStyle=1'); + var dial5 = new mxCell('14', new mxGeometry(610, 75, 40, 40), 'ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#12AAB5;strokeWidth=6;fontSize=16;align=center;fontStyle=1'); dial5.vertex = true; return sb.createVertexTemplateFromCells([part1, part2, part3, part4, part5, dial1, dial2, dial3, dial4, dial5], 700, 115, 'Bar Graph'); @@ -1350,19 +1350,19 @@ this.addEntry(dt + 'arrow graph', function() { - var part1 = new mxCell('Label', new mxGeometry(0, 40, 90, 160), 'html=1;shadow=0;dashed=0;align=center;verticalAlign=top;shape=mxgraph.arrows2.arrow;dy=0.4;dx=60;direction=north;notch=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#10739E;fontSize=14;fontColor=#000000;labelPosition=center;verticalLabelPosition=bottom;fontStyle=1'); + var part1 = new mxCell('Label', new mxGeometry(0, 40, 90, 160), 'html=1;shadow=0;dashed=0;align=center;verticalAlign=top;shape=mxgraph.arrows2.arrow;dy=0.4;dx=60;direction=north;notch=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#10739E;fontSize=14;labelPosition=center;verticalLabelPosition=bottom;fontStyle=1'); part1.vertex = true; - var part2 = new mxCell('Label', new mxGeometry(50, 0, 90, 200), 'html=1;shadow=0;dashed=0;align=center;verticalAlign=top;shape=mxgraph.arrows2.arrow;dy=0.4;dx=60;direction=north;notch=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#F2931E;fontSize=14;fontColor=#000000;labelPosition=center;verticalLabelPosition=bottom;fontStyle=1'); + var part2 = new mxCell('Label', new mxGeometry(50, 0, 90, 200), 'html=1;shadow=0;dashed=0;align=center;verticalAlign=top;shape=mxgraph.arrows2.arrow;dy=0.4;dx=60;direction=north;notch=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#F2931E;fontSize=14;labelPosition=center;verticalLabelPosition=bottom;fontStyle=1'); part2.vertex = true; - var part3 = new mxCell('Label', new mxGeometry(100, 20, 90, 180), 'html=1;shadow=0;dashed=0;align=center;verticalAlign=top;shape=mxgraph.arrows2.arrow;dy=0.4;dx=60;direction=north;notch=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#AE4132;fontSize=14;fontColor=#000000;labelPosition=center;verticalLabelPosition=bottom;fontStyle=1'); + var part3 = new mxCell('Label', new mxGeometry(100, 20, 90, 180), 'html=1;shadow=0;dashed=0;align=center;verticalAlign=top;shape=mxgraph.arrows2.arrow;dy=0.4;dx=60;direction=north;notch=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#AE4132;fontSize=14;labelPosition=center;verticalLabelPosition=bottom;fontStyle=1'); part3.vertex = true; - var part4 = new mxCell('Label', new mxGeometry(150, 90, 90, 110), 'html=1;shadow=0;dashed=0;align=center;verticalAlign=top;shape=mxgraph.arrows2.arrow;dy=0.4;dx=60;direction=north;notch=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#23445D;fontSize=14;fontColor=#000000;labelPosition=center;verticalLabelPosition=bottom;fontStyle=1'); + var part4 = new mxCell('Label', new mxGeometry(150, 90, 90, 110), 'html=1;shadow=0;dashed=0;align=center;verticalAlign=top;shape=mxgraph.arrows2.arrow;dy=0.4;dx=60;direction=north;notch=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#23445D;fontSize=14;labelPosition=center;verticalLabelPosition=bottom;fontStyle=1'); part4.vertex = true; - var part5 = new mxCell('Label', new mxGeometry(200, 60, 90, 140), 'html=1;shadow=0;dashed=0;align=center;verticalAlign=top;shape=mxgraph.arrows2.arrow;dy=0.4;dx=60;direction=north;notch=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#12AAB5;fontSize=14;fontColor=#000000;labelPosition=center;verticalLabelPosition=bottom;fontStyle=1'); + var part5 = new mxCell('Label', new mxGeometry(200, 60, 90, 140), 'html=1;shadow=0;dashed=0;align=center;verticalAlign=top;shape=mxgraph.arrows2.arrow;dy=0.4;dx=60;direction=north;notch=0;strokeColor=#FFFFFF;strokeWidth=6;fillColor=#12AAB5;fontSize=14;labelPosition=center;verticalLabelPosition=bottom;fontStyle=1'); part5.vertex = true; return sb.createVertexTemplateFromCells([part1, part2, part3, part4, part5], 300, 200, 'Arrow Graph'); @@ -1443,23 +1443,23 @@ var text1 = new mxCell( 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', - new mxGeometry(0, 30, 240, 50), 'rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;fontColor=#000000;align=right;html=1;'); + new mxGeometry(0, 30, 240, 50), 'rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;align=right;html=1;'); text1.vertex = true; var text2 = new mxCell( 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', - new mxGeometry(0, 110, 240, 50), 'rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;fontColor=#000000;align=right;html=1;'); + new mxGeometry(0, 110, 240, 50), 'rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;align=right;html=1;'); text2.vertex = true; var text3 = new mxCell( 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', - new mxGeometry(0, 190, 240, 50), 'rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;fontColor=#000000;align=right;html=1;'); + new mxGeometry(0, 190, 240, 50), 'rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;align=right;html=1;'); text3.vertex = true; var text4 = new mxCell( 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', - new mxGeometry(0, 290, 240, 50), 'rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;fontColor=#000000;align=right;html=1;'); + new mxGeometry(0, 290, 240, 50), 'rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;align=right;html=1;'); text4.vertex = true; var text5 = new mxCell( 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', - new mxGeometry(0, 380, 240, 50), 'rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;fontColor=#000000;align=right;html=1;'); + new mxGeometry(0, 380, 240, 50), 'rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;align=right;html=1;'); text5.vertex = true; return sb.createVertexTemplateFromCells([part5, part4, part3, part2, part1, callout1, callout2, callout3, callout4, callout5, text1, text2, text3, text4, text5], 415, 430, 'Cylinder Graph'); @@ -1556,28 +1556,28 @@ this.addEntry(dt + 'roadmap vertical', function() { - var startPoint = new mxCell('', new mxGeometry(234, 0, 12, 12), 'ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;fillColor=none;strokeColor=#333333;fontSize=16;fontColor=#000000;align=center;strokeWidth=2;'); + var startPoint = new mxCell('', new mxGeometry(234, 0, 12, 12), 'ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;fillColor=none;strokeColor=#333333;fontSize=16;align=center;strokeWidth=2;'); startPoint.vertex = true; - var endPoint = new mxCell('', new mxGeometry(234, 498, 12, 12), 'ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;fillColor=none;strokeColor=#333333;fontSize=16;fontColor=#000000;align=center;strokeWidth=2;'); + var endPoint = new mxCell('', new mxGeometry(234, 498, 12, 12), 'ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;fillColor=none;strokeColor=#333333;fontSize=16;align=center;strokeWidth=2;'); endPoint.vertex = true; - var edge1 = new mxCell('', new mxGeometry(0, 0, 0, 0), 'endArrow=none;html=1;strokeWidth=3;strokeColor=#CCCCCC;labelBackgroundColor=none;fontSize=16;fontColor=#000000;'); + var edge1 = new mxCell('', new mxGeometry(0, 0, 0, 0), 'endArrow=none;html=1;strokeWidth=3;strokeColor=#CCCCCC;labelBackgroundColor=none;fontSize=16'); edge1.geometry.relative = true; edge1.edge = true; startPoint.insertEdge(edge1, true); endPoint.insertEdge(edge1, false); - var item1 = new mxCell('', new mxGeometry(0, 30, 246, 60), 'verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;fillColor=#ffffff;strokeColor=#10739E;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;shadow=0;direction=north;'); + var item1 = new mxCell('', new mxGeometry(0, 30, 246, 60), 'verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;strokeColor=#10739E;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;shadow=0;direction=north;'); item1.vertex = true; - var item2 = new mxCell('', new mxGeometry(234, 100, 246, 60), 'verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;fillColor=#ffffff;strokeColor=#F2931E;labelPosition=center;align=center;fontColor=#F2931E;fontStyle=1;fontSize=24;shadow=0;direction=north;flipH=1;'); + var item2 = new mxCell('', new mxGeometry(234, 100, 246, 60), 'verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;strokeColor=#F2931E;labelPosition=center;align=center;fontColor=#F2931E;fontStyle=1;fontSize=24;shadow=0;direction=north;flipH=1;'); item2.vertex = true; - var item3 = new mxCell('', new mxGeometry(0, 170, 246, 60), 'verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;fillColor=#ffffff;strokeColor=#AE4132;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;shadow=0;direction=north;'); + var item3 = new mxCell('', new mxGeometry(0, 170, 246, 60), 'verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;strokeColor=#AE4132;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;shadow=0;direction=north;'); item3.vertex = true; - var item4 = new mxCell('', new mxGeometry(234, 240, 246, 60), 'verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;fillColor=#ffffff;strokeColor=#23445D;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;shadow=0;direction=north;flipH=1;'); + var item4 = new mxCell('', new mxGeometry(234, 240, 246, 60), 'verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;strokeColor=#23445D;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;shadow=0;direction=north;flipH=1;'); item4.vertex = true; - var item5 = new mxCell('', new mxGeometry(0, 310, 246, 60), 'verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;fillColor=#ffffff;strokeColor=#12AAB5;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;shadow=0;direction=north;'); + var item5 = new mxCell('', new mxGeometry(0, 310, 246, 60), 'verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;strokeColor=#12AAB5;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;shadow=0;direction=north;'); item5.vertex = true; - var item6 = new mxCell('', new mxGeometry(234, 380, 246, 60), 'verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;fillColor=#ffffff;strokeColor=#56517E;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;shadow=0;direction=north;flipH=1;'); + var item6 = new mxCell('', new mxGeometry(234, 380, 246, 60), 'verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;strokeColor=#56517E;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;shadow=0;direction=north;flipH=1;'); item6.vertex = true; var label1 = new mxCell('Label', new mxGeometry(70, 20, 160, 30), 'fillColor=#10739E;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;'); diff --git a/src/main/webapp/js/diagramly/sidebar/Sidebar-Ios.js b/src/main/webapp/js/diagramly/sidebar/Sidebar-Ios.js index 0cc575243b2e1a86f416b7761c47d0d63c2096e5..dfa0784c432c1ddfadd6060408fa309672ec6656 100644 --- a/src/main/webapp/js/diagramly/sidebar/Sidebar-Ios.js +++ b/src/main/webapp/js/diagramly/sidebar/Sidebar-Ios.js @@ -26,11 +26,11 @@ this.createVertexTemplateEntry(s + 'iPhone;direction=north;bgStyle=bgGreen;fillColor=#aaaaaa;', sizeY, sizeX, '', 'iPhone (landscape)', null, null, null), this.createVertexTemplateEntry(s + 'iPad;bgStyle=bgGreen;fillColor=#aaaaaa;', sizeX * 2.425, sizeY * 1.5625, '', 'iPad (portrait)', null, null, null), this.createVertexTemplateEntry(s + 'iPad;direction=north;bgStyle=bgGreen;fillColor=#aaaaaa;', sizeY * 1.5625, sizeX * 2.425, '', 'iPad (landscape)', null, null, null), - this.createVertexTemplateEntry(s + 'iBgFlat;strokeColor=#18211b;fillColor=#ffffff;', sizeX * 0.875, sizeY * 0.7, '', 'iPad background (white)', null, null, null), + this.createVertexTemplateEntry(s + 'iBgFlat;strokeColor=#18211b;', sizeX * 0.875, sizeY * 0.7, '', 'iPad background (white)', null, null, null), this.createVertexTemplateEntry(s + 'iBgFlat;strokeColor=#18211b;fillColor=#1f2923;', sizeX * 0.875, sizeY * 0.7, '', 'iPad background (green)', null, null, null), this.createVertexTemplateEntry(s + 'iBgFlat;strokeColor=#18211b;fillColor=#dddddd;', sizeX * 0.875, sizeY * 0.7, '', 'iPad background (gray)', null, null, null), this.createVertexTemplateEntry(s + 'iBgStriped;strokeColor=#18211b;fillColor=#5D7585;strokeColor2=#657E8F;', sizeX * 0.875, sizeY * 0.7, '', 'iPad background (striped)', null, null, null), - this.createVertexTemplateEntry(s + 'iBgMap;strokeColor=#18211b;fillColor=#ffffff;strokeColor2=#008cff;fillColor2=#96D1FF;', sizeX * 0.875, sizeY * 0.7, '', 'iPad background (map)', null, null, null), + this.createVertexTemplateEntry(s + 'iBgMap;strokeColor=#18211b;strokeColor2=#008cff;fillColor2=#96D1FF;', sizeX * 0.875, sizeY * 0.7, '', 'iPad background (map)', null, null, null), this.addDataEntry(null, 165, 50, 'Button bar', '3ZfdboIwFMefhltSKCjeIptZsl3tCTqo0KxQUurUPf0OpfgJiVN0OowJ55z20P7Ov01r4Wm+mklSZm8iodzCTxaeSiFU85avppRzy0UssXBkuS6Cv+U+90QdHUUlkbRQp3Rwmw5fhC9o42kclVpz48hUDsOKHAuHVUYSsQQDgZGQKqOJMSBS1u3zVVrPxWaisqWkMQwilO/su475dTslxSedCi6kzo49/UBkzjjf8c/1A37IlzCYTRsrRAHJQjNuKhVd9c5du8zEZ1TkVMk1NFmyRGWmxchvumWUpZnp5jfMEKkaO9103ZKEFwOzGyw+AvuiaA4eZzjASpThQilRHEDeRWlwHXGPvfoHEcJZCgkiTud1saqSxKxIX7UVOfWn56JQJntgzJ1EI/2cWhH3vIo4ru1fXhOvQ+yjVG3GPkRNSBFnNZpDTBvemqb5kHMqNtyNre3gGcGu9xLsQkUdTAdQud+ncny9bQQ9pMJNaVpitxH86GEF79+p4Md9gveGI/ohYE/P/8nObiqEx/ZNlR88rPLHd6r8SZ/yr3hiPNzqAa4fjf3g+CRpFsOlku89dUIMoSDWsQGWw1bkt1kOrQAecD1M7nQ9OE4H0r+/Ov3menTmYfyM6xGY2zutju1deX8A'), @@ -97,7 +97,7 @@ sizeX * 0.2175, sizeY * 0.0375, 'Button', 'Forward button', null, null, null), this.createVertexTemplateEntry(s + 'iPrevNext;strokeColor=#444444;fillColor=#dddddd;fillColor2=#3D5565;fillColor3=#ffffff;align=center;', sizeX * 0.2175, sizeY * 0.0375, '', 'Prev/next button', null, null, null), - this.createVertexTemplateEntry(s2 + 'iTextInput;strokeColor=#444444;fontColor=#000000;buttonText=;fontSize=8;fillColor=#ffffff;whiteSpace=wrap;align=left;', + this.createVertexTemplateEntry(s2 + 'iTextInput;strokeColor=#444444;buttonText=;fontSize=8;whiteSpace=wrap;align=left;', sizeX * 0.2175, sizeY * 0.0375, 'Default text', 'Text input', null, null, null), this.addDataEntry(null, 165, 50, 'Radio Buttons', '7VbbbsIwDP2avqI2AcTrgI2XTZu2/UAgpo2WNlWSMdjXz0kMu0AlNLa9jEiV6nNsyz6nkZrxSb2eWdFWN0aCzvhlxifWGJ/e6vUEtM5YrmTGpxljOT4Zu+pgi8jmrbDQ+GMKWCpYCf0MCUmA8xtNQOVrHGtaZHzsKiHNCwY5BlK4CiQFyLQhv16XYZeeMq5nLSxwiLF9UK+B4yHPW/MEE6ONjd35MB5klkrrD/gyHsSxn1S4zZZrTAOhKSyerVMruAeX2ue0ClgP6045IkRazMDU4O0GU16U9BVlDAeprAJVVlQ2oO7Cpbjclb6Liy+k72Gt+Z7Wt61XpkGs2FN9Kyi2UK1LG+OiYq6BJP8imIwHcaFV2SCmYRnUd61YqKa8jtGUhULTeLJkROEhQ7SYg74zTsUZ+dQmNcZBYLUQ+voLXyspw3C7hAsaZEfQKI+mpa/hKMfYYceogPXIrQ2JvI0/OHrIz9Pt7HfbuX+JznZ+z85i+EduDrrd5Ke72Y/n37vJRn92O4fdfvbPt/OH/OwXv+Mmhu+/QJH79If0Bg=='), @@ -108,7 +108,7 @@ sizeX * 0.29, sizeY * 0.0375, 'Option 1', 'Combobox', null, null, null), this.createVertexTemplateEntry(s2 + 'iOnOffButton;mainText=;strokeColor=#444444;fontSize=9;fontColor=#ffffff;spacingRight=14;buttonState=on', sizeX * 0.2175, sizeY * 0.0375, 'ON', 'On-off button', null, null, null), - this.createVertexTemplateEntry(s2 + 'iTextInput;strokeColor=#444444;fontColor=#000000;align=left;buttonText=;fontSize=8;fillColor=#ffffff;', sizeX * 0.2175, sizeY * 0.0375, + this.createVertexTemplateEntry(s2 + 'iTextInput;strokeColor=#444444;align=left;buttonText=;fontSize=8', sizeX * 0.2175, sizeY * 0.0375, '********', 'Password field', null, null, null), this.addDataEntry(null, 150, 100, 'Alert Box', 'rVVNb6MwEP01PjaycdI2x02629NKq+awZwsGbNXYyHYb6K/fMTgNCLJKP5CQmDdf9nszgvB93T460cjftgBN+E/C987aMHzV7R60JhlVBeEPJMsoviT7dcHLei9thAMTrknIhoRXoV9gQH5ocAGhAnzuVBOUNWgFaBG8JRlnlPDdkpN6yK0p8EMrA0NdHzqd6spQ4+0eGGZ7KQp7RKMvJbyEIhnoaWJ83VaRkpWyflUKk3dPT5DjhXbuoN5iwH0MDs4+w95q6/oWvOgf9JRK6xG+3t6xbczAooVCZkY+tuXsNvpsI3IVulg7nqS0k7CyfxKezrBF8yhVgAOmRuCIZ0ZMaFUZNHPsBJi/Sxwjr9Be1KmHkkiPYGsIrsOQoyqCTBGbQUsqQVXylEYTKPwAVO+5Z9nxIym/PAV8NgWHWEQqU8V2omnAoEbfJikqKiOzYzYZ/w/rSzQ78Jj5N/HDruU5+xzP2WbAHGgR1CtM6n+F+/WM+91LCHGvvott56a7w+djfIn32Yqd9+D6Fcs3OQCbr9iSqF+RMCXQVZKqmxQYCXy/pC/9oL6p/x+rTDg3v1nTSfOb09ycStiy9BBmA/J+jaWZQfP8RxjCxz+Mfw=='), @@ -132,7 +132,7 @@ this.createVertexTemplateEntry(s + 'iCallButtons;', sizeX * 0.87, sizeY * 0.575, '', 'Call buttons', null, null, null), this.createVertexTemplateEntry(s2 + 'iOption;barPos=80;pointerPos=bottom;buttonText=Option;fontSize=10;fontColor=#ffffff;spacingBottom=6;', sizeX * 0.375, sizeY * 0.06875, '', 'Option', null, null, null), this.createVertexTemplateEntry(s + 'iAlphaList;fontSize=7.5;', sizeX * 0.075, sizeY * 0.5625, '', 'Alphabet list', null, null, null), - this.createVertexTemplateEntry(s2 + 'iHorButtonBar;buttonText=Item 1,+Item 2,Item 3,Item 4;textColor=#999999;textColor2=#ffffff;strokeColor=#444444;strokeColor2=#c4c4c4;fillColor=#ffffff;fillColor2=#008cff;fontSize=8;', sizeX * 0.825, sizeY * 0.03125, + this.createVertexTemplateEntry(s2 + 'iHorButtonBar;buttonText=Item 1,+Item 2,Item 3,Item 4;textColor=#999999;textColor2=#ffffff;strokeColor=#444444;strokeColor2=#c4c4c4;fillColor2=#008cff;fontSize=8;', sizeX * 0.825, sizeY * 0.03125, '', 'Horizontal button bar', null, null, null), this.createVertexTemplateEntry(s3 + 'iPin;fillColor2=#00dd00;fillColor3=#004400;strokeColor=#006600;', sizeX * 0.05, sizeY * 0.0625, '', 'Pin', null, null, null), this.createVertexTemplateEntry(s3 + 'iPin;fillColor2=#dd0000;fillColor3=#440000;strokeColor=#660000;', sizeX * 0.05, sizeY * 0.0625, '', 'Pin', null, null, null), @@ -160,12 +160,12 @@ this.createVertexTemplateEntry(s + 'iCloudProgressBar;barPos=20;', sizeX * 0.75, sizeY * 0.025, '', 'Cloud progress bar', null, null, null), this.createVertexTemplateEntry(s2 + 'iDownloadBar;verticalAlign=top;spacingTop=-4;fontSize=8;fontColor=#ffffff;buttonText=' + ';barPos=30;align=center;', sizeX * 0.87, sizeY * 0.075, 'Downloading 2 of 6', 'Download bar', null, null, null), this.createVertexTemplateEntry(s2 + 'iScreenNameBar;fillColor2=#000000;fillColor3=#ffffff;buttonText=;fontColor=#ffffff;fontSize=10;whiteSpace=wrap;align=center;', sizeX * 0.87, sizeY * 0.0625, 'Screen Name', 'Screen name bar', null, null, null), - this.createVertexTemplateEntry(s + 'iIconGrid;fillColor=#ffffff;strokeColor=#000000;gridSize=3,3;', sizeX * 0.75, sizeY * 0.375, '', 'Icon grid', null, null, null), - this.createVertexTemplateEntry(s2 + 'iCopy;fillColor=#000000;strokeColor=#000000;buttonText=;fontColor=#ffffff;spacingBottom=6;fontSize=9;fillColor2=#000000;fillColor3=#ffffff;align=center;', sizeX * 0.2, sizeY * 0.06875, 'Copy', 'Copy', null, null, null), + this.createVertexTemplateEntry(s + 'iIconGrid;gridSize=3,3;', sizeX * 0.75, sizeY * 0.375, '', 'Icon grid', null, null, null), + this.createVertexTemplateEntry(s2 + 'iCopy;fillColor=#000000;buttonText=;fontColor=#ffffff;spacingBottom=6;fontSize=9;fillColor2=#000000;fillColor3=#ffffff;align=center;', sizeX * 0.2, sizeY * 0.06875, 'Copy', 'Copy', null, null, null), this.addEntry(null, function() { - var bg = new mxCell('Copy', new mxGeometry(sizeX * 0.05, 0, sizeX * 0.2, sizeY * 0.06875), s4 + 'iCopy;fillColor=#000000;strokeColor=#000000;buttonText=;fontColor=#ffffff;spacingBottom=6;fontSize=9;fillColor2=#000000;fillColor3=#ffffff;align=center;'); + var bg = new mxCell('Copy', new mxGeometry(sizeX * 0.05, 0, sizeX * 0.2, sizeY * 0.06875), s4 + 'iCopy;fillColor=#000000;buttonText=;fontColor=#ffffff;spacingBottom=6;fontSize=9;fillColor2=#000000;fillColor3=#ffffff;align=center;'); bg.vertex = true; var area1 = new mxCell('', new mxGeometry(0, sizeY * 0.06875, sizeX * 0.3, sizeY * 0.13125), s4 + 'rect;fillColor=#2266ff;strokeColor=none;opacity=30;'); area1.vertex = true; diff --git a/src/main/webapp/js/diagramly/sidebar/Sidebar-Ios7.js b/src/main/webapp/js/diagramly/sidebar/Sidebar-Ios7.js index 86b5ff714ea0b45ae7d670858bb350541545d69c..2a2926eb4cad66d90bc37caef93f109fb6857caf 100644 --- a/src/main/webapp/js/diagramly/sidebar/Sidebar-Ios7.js +++ b/src/main/webapp/js/diagramly/sidebar/Sidebar-Ios7.js @@ -14,7 +14,7 @@ //default tags var dt = 'ios icon '; - var s = 'html=1;verticalLabelPosition=bottom;align=center;labelBackgroundColor=#ffffff;verticalAlign=top;strokeWidth=2;strokeColor=#0080F0;fillColor=#ffffff;shadow=0;dashed=0;shape=mxgraph.ios7.icons.' + var s = 'html=1;verticalLabelPosition=bottom;align=center;labelBackgroundColor=#ffffff;verticalAlign=top;strokeWidth=2;strokeColor=#0080F0;shadow=0;dashed=0;shape=mxgraph.ios7.icons.' var inh = 'strokeColor=inherit;fillColor=inherit;gradientColor=inherit;'; var gn = 'mxgraph.ios7.icons'; @@ -143,16 +143,16 @@ var fns = [ this.createVertexTemplateEntry( - 'html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7.misc.iphone;fillColor=#ffffff;strokeColor=#c0c0c0;', + 'html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7.misc.iphone;strokeColor=#c0c0c0;', sizeX, sizeY, '', 'iPhone (Portrait)', null, null, this.getTagsForStencil(gn, 'phone', dt + 'portrait').join(' ')), this.createVertexTemplateEntry( - 'html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7.misc.ipad7inch;fillColor=#ffffff;strokeColor=#c0c0c0;', + 'html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7.misc.ipad7inch;strokeColor=#c0c0c0;', sizeX * 1.83, sizeY * 1.3725, '', "iPad (7'')", null, null, this.getTagsForStencil(gn, 'tablet tab 7', dt + 'portrait').join(' ')), this.createVertexTemplateEntry( - 'html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7.misc.ipad10inch;fillColor=#ffffff;strokeColor=#c0c0c0;', + 'html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7.misc.ipad10inch;strokeColor=#c0c0c0;', sizeX * 2.44, sizeY * 1.7325, '', "iPad (10'')", null, null, this.getTagsForStencil(gn, 'tablet tab 10', dt + 'portrait').join(' ')), this.createVertexTemplateEntry( - 'html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7.misc.ipad13inch;fillColor=#ffffff;strokeColor=#c0c0c0;', + 'html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;shadow=0;dashed=0;strokeWidth=1;shape=mxgraph.ios7.misc.ipad13inch;strokeColor=#c0c0c0;', sizeX * 2.86, sizeY * 2.0325, '', "iPad (13'')", null, null, this.getTagsForStencil(gn, 'tablet tab 10', dt + 'portrait').join(' ')), this.addDataEntry(dt + 'app bar portrait', 175, 15, 'App Bar (portrait)', 'zVVdb4IwFP01fZTw6cejoDNLZmLYkj03o0CzQkmpivv1u0BBEIw+zMUmJL3n3tt7e05LkeUlxUbgLN7ygDBkrZHlCc5lPUsKjzCGTJ0GyFoh09ThQ+bLFa9RefUMC5LKexLMOuGA2Z7USA3k8sQUEMsE2loZyHJzKfg3+aSBjBskxgE/gqGDEeA8JoEywJOVKyRFVO5Oozyf7amGs8zFAvwhZczjjIuqihVWA3CIDih03/hSnsIyruqTCEmKq3utILXRDeEJkeIEIUfVcBkxc+q0mNAobtIUhvPajtrUM3MwUeSNE2kNiPSWvv+69gd8NsQI8gX1XcxolILJSFiaIU/lO/0pA+Ylixn+omn0VjlXpt2PaMwOj7garVYXLHZJV5Cq8MEzteBdTJvjTJ/UmdMUox3mHX2EeMWaIAxLeiC9cmNqqIo7TqGRttxkql0oyMMwJ3KgX9vpXZLaA0kNOPJLx9ltb4l6oeJTaVRcaPTPmqnyE0vvlX+Qhs5Aw8UcNejtSynqfV+5lb5ixVj0Q6ZPKrlxU3B77O/4R4LbzgMEB/P8WNbh3bf0Fw=='), @@ -160,18 +160,18 @@ 'zZVdb4IwFIZ/TS81UMDppaIzS2Zi2JJdN6NAs0JJqYr79TvQovJh9MbFJiScj/ac87wlIMdPy7UkebIRIeXIWSHHl0Io/ZaWPuUcYYuFyFkijC14EH69ErXrqJUTSTN1zwasN+wJ31Ht0Y5CHblxJCqFtpY2chaFkuKHfrFQJY0nIaE4gGGBEZIioaExIJJXJ6RlXE03ZqJ42bExyfMFkRCPGOe+4ELWVZyoXuCH7JBB900sExkcszB9UqloeXXW2mUGXVORUiWPkHIwDVfzTjUPK6EsTpptnvaRQtvxaeuZHLwYeMMgnR5Ifx4Eb6ugx7MBI+k31F8QzuIMTE6jyoxEpj7Yb5UwrSjm5Jtl8XsdXGK3ndGYFxxJvU5adSheQjcuU+FT5ObAu0jjYdJHc+fGhugFeW8IvKEmKSeK7Wmr3JAapuJWMGjkVG40GXcUFFFUUNXT79TpXZK6PUltuPJzz9tubonaUfGpNCo7Gv2zZqb8CLfLP0hDr6fhbIoa7+2PUuq5r3yVgaFiz9opkyeV3L4puOs9TnD3EYKDef5Z6vTLf+kf'), this.createVertexTemplateEntry( - s + 'slider;barPos=20;strokeColor=#0080f0;fillColor=#ffffff;strokeColor2=#a0a0a0;', + s + 'slider;barPos=20;strokeColor=#0080f0;strokeColor2=#a0a0a0;', sizeX * 0.75, sizeY * 0.0375, '', 'Slider', null, null, this.getTagsForStencil(gn, dt + 'slider', null).join(' ')), this.createVertexTemplateEntry( - s2 + 'downloadBar;verticalAlign=middle;fontSize=8;fontColor=#000000;buttonText=;barPos=30;fillColor=#aaaaaa;strokeColor=#0080f0;align=center;', + s2 + 'downloadBar;verticalAlign=middle;fontSize=8;buttonText=;barPos=30;fillColor=#aaaaaa;strokeColor=#0080f0;align=center;', sizeX * 0.75, sizeY * 0.075, 'Downloading 2 of 6\n\n', 'Download bar', null, null, this.getTagsForStencil(gn, 'downloadBar', dt + '').join(' ')), this.createVertexTemplateEntry( - sm + 'adjust;fillColor=#ffffff;gradientColor=none;', + sm + 'adjust;gradientColor=none;', sizeX * 0.4, sizeY * 0.05, '', 'Adjust', null, null, this.getTagsForStencil(gn, 'adjust', dt + '').join(' ')), this.addEntry(dt + 'horizontal button bar', function() { - var bg = new mxCell('', new mxGeometry(0, 0, 164, 12.5), s2 + 'rrect;rSize=3;strokeColor=#0080F0;fillColor=#ffffff;gradientColor=none;'); + var bg = new mxCell('', new mxGeometry(0, 0, 164, 12.5), s2 + 'rrect;rSize=3;strokeColor=#0080F0;gradientColor=none;'); bg.vertex = true; var button1 = new mxCell('Item 1', new mxGeometry(0, 0, 41, 12.5), inh + s2 + 'leftButton;rSize=3;fontSize=8;'); button1.vertex = true; @@ -198,7 +198,7 @@ { var bg = new mxCell('', new mxGeometry(0, 0, 164, 20), 'shape=rect;fillColor=#F6F6F8;strokeColor=none;'); bg.vertex = true; - var text1 = new mxCell('Label', new mxGeometry(55, 0, 54, 20), 'text;fontColor=#000000;fontSize=10;verticalAlign=middle;align=center;spacingTop=2;'); + var text1 = new mxCell('Label', new mxGeometry(55, 0, 54, 20), 'text;fontSize=10;verticalAlign=middle;align=center;spacingTop=2;'); text1.vertex = true; bg.insert(text1); var text2 = new mxCell('Label', new mxGeometry(109, 0, 55, 20), 'text;fontColor=#0080f0;fontSize=10;verticalAlign=middle;align=right;spacingTop=2;spacingRight=4;'); @@ -212,7 +212,7 @@ { var bg = new mxCell('', new mxGeometry(0, 0, 164, 20), 'shape=rect;fillColor=#e0e0e0;strokeColor=none;'); bg.vertex = true; - var part1 = new mxCell('', new mxGeometry(0, 0, 164, 20), s2 + 'marginRect;rx=3;ry=3;rectMargin=5;fillColor=#ffffff;strokeColor=none;'); + var part1 = new mxCell('', new mxGeometry(0, 0, 164, 20), s2 + 'marginRect;rx=3;ry=3;rectMargin=5;strokeColor=none;'); part1.vertex = true; bg.insert(part1); var icon1 = new mxCell('Search', new mxGeometry(0.5, 0.5, 6, 6), 'shape=mxgraph.ios7.icons.looking_glass;strokeColor=#e0e0e0;fillColor=none;fontColor=#e0e0e0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;fontSize=6;fontStyle=0;spacingTop=2;'); @@ -396,10 +396,10 @@ sm + 'right;strokeColor=#0080f0;', sizeX * 0.03, sizeY * 0.03, '', 'Right', null, null, this.getTagsForStencil(gnm, 'right', dt + '').join(' ')), this.createVertexTemplateEntry( - sm + 'increase;fillColor=#ffffff;strokeColor=#0080f0;', + sm + 'increase;strokeColor=#0080f0;', sizeX * 0.06, sizeY * 0.03, '', 'Increase', null, null, this.getTagsForStencil(gnm, 'increase', dt + '').join(' ')), this.createVertexTemplateEntry( - sm + 'info;fillColor=#ffffff;strokeColor=#0080f0;', + sm + 'info;strokeColor=#0080f0;', sizeX * 0.06, sizeY * 0.03, '', 'Info', null, null, this.getTagsForStencil(gnm, 'info', dt + '').join(' ')), this.createVertexTemplateEntry( sm + 'more_2;strokeColor=#a0a0a0;', @@ -411,7 +411,7 @@ sm + 'options;fillColor=#222222;', sizeX * 0.06, sizeY * 0.015, '', 'Options', null, null, this.getTagsForStencil(gnm, 'options', dt + '').join(' ')), this.createVertexTemplateEntry( - sm + 'pause;fillColor=#ffffff;strokeColor=#0080f0;', + sm + 'pause;strokeColor=#0080f0;', sizeX * 0.06, sizeY * 0.03, '', 'Pause', null, null, this.getTagsForStencil(gnm, 'pause', dt + '').join(' ')), this.createVertexTemplateEntry( sm + 'star;fillColor=#0080f0;strokeColor=none;', diff --git a/src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js b/src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js index f8abb4be999bed6a19fe6825dc3bf5f7b7eb1754..14eb352a46a28eef5376ef83bdb86435279d06a8 100644 --- a/src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js +++ b/src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js @@ -23,7 +23,6 @@ // Space savers var skcl6 = mxConstants.STYLE_STROKECOLOR + '=#666666;'; var skcl9 = mxConstants.STYLE_STROKECOLOR + '=#999999;'; - var flclf = mxConstants.STYLE_FILLCOLOR + '=#ffffff;'; var skclN = mxConstants.STYLE_STROKECOLOR + '=none;'; var sb = this; var gn = 'mxgraph.mockup.buttons'; @@ -77,7 +76,7 @@ this.addEntry(dt + 'vertical bar', function() { - var bg = new mxCell('', new mxGeometry(0, 0, 120, 200), s2 + 'rrect;rSize=10;fillColor=#ffffff;strokeColor=#666666;'); + var bg = new mxCell('', new mxGeometry(0, 0, 120, 200), s2 + 'rrect;rSize=10;strokeColor=#666666;'); bg.vertex = true; var button2 = new mxCell('Button 2', new mxGeometry(0, 0, 120, 50), inh + s2 + 'rrect;rSize=0;fontSize=17;fontColor=#666666;fontStyle=1;resizeWidth=1;'); button2.geometry.relative = true; @@ -102,7 +101,7 @@ return sb.createVertexTemplateFromCells([bg], bg.geometry.width, bg.geometry.height, 'Vertical Button Bar'); }), - this.createVertexTemplateEntry(s2 + 'buttons.onOffButton;fillColor=#ffffff;gradientColor=none;' + skcl9 + 'buttonState=on;fillColor2=#008cff;fontColor=#ffffff;fontSize=17;mainText=;spacingRight=40;fontStyle=1;', + this.createVertexTemplateEntry(s2 + 'buttons.onOffButton;gradientColor=none;' + skcl9 + 'buttonState=on;fillColor2=#008cff;fontColor=#ffffff;fontSize=17;mainText=;spacingRight=40;fontStyle=1;', 150, 50, 'ON', 'On-off button', null, null, this.getTagsForStencil(gn, 'onOffButton', dt + 'on off').join(' ')) ]; @@ -125,7 +124,6 @@ // Space savers var skcl6 = mxConstants.STYLE_STROKECOLOR + '=#666666;'; var skcl9 = mxConstants.STYLE_STROKECOLOR + '=#999999;'; - var flclf = mxConstants.STYLE_FILLCOLOR + '=#ffffff;'; var skclN = mxConstants.STYLE_STROKECOLOR + '=none;'; var sb = this; @@ -134,12 +132,12 @@ var fns = [ - this.createVertexTemplateEntry(s + 'containers.videoPlayer;' + skcl6 + 'strokeColor2=#008cff;strokeColor3=#c4c4c4;textColor=#666666;' + flclf + 'fillColor2=#008cff;barHeight=30;barPos=20;', + this.createVertexTemplateEntry(s + 'containers.videoPlayer;' + skcl6 + 'strokeColor2=#008cff;strokeColor3=#c4c4c4;textColor=#666666;fillColor2=#008cff;barHeight=30;barPos=20;', 300, 200, '', 'Video Player', null, null, this.getTagsForStencil(gn, 'videoPlayer', dt).join(' ')), this.addEntry(dt + 'accordion', function() { - var bg = new mxCell('', new mxGeometry(0, 0, 100, 220), s2 + 'containers.rrect;rSize=0;fillColor=#ffffff;strokeColor=#666666;'); + var bg = new mxCell('', new mxGeometry(0, 0, 100, 220), s2 + 'containers.rrect;rSize=0;strokeColor=#666666;'); bg.vertex = true; var button1 = new mxCell('Group 1', new mxGeometry(0, 0, 100, 26), inh + s2 + 'containers.rrect;rSize=0;fontSize=17;fontColor=#666666;fontStyle=1;resizeWidth=1;'); button1.geometry.relative = true; @@ -166,7 +164,7 @@ this.addEntry(dt + 'browser window', function() { - var bg = new mxCell('', new mxGeometry(0, 0, 550, 380), s2 + 'containers.browserWindow;rSize=0;fillColor=#ffffff;strokeColor=#666666;strokeColor2=#008cff;strokeColor3=#c4c4c4;mainText=,;recursiveResize=0;'); + var bg = new mxCell('', new mxGeometry(0, 0, 550, 380), s2 + 'containers.browserWindow;rSize=0;strokeColor=#666666;strokeColor2=#008cff;strokeColor3=#c4c4c4;mainText=,;recursiveResize=0;'); bg.vertex = true; var button1 = new mxCell('Page 1', new mxGeometry(60, 12, 110, 26), s2 + 'containers.anchor;fontSize=17;fontColor=#666666;align=left;'); button1.vertex = true; @@ -178,14 +176,14 @@ return sb.createVertexTemplateFromCells([bg], bg.geometry.width, bg.geometry.height, 'Browser Window'); }), - this.createVertexTemplateEntry(s + 'containers.userMale;' + skcl6 + 'strokeColor2=#008cff;' + flclf, + this.createVertexTemplateEntry(s + 'containers.userMale;' + skcl6 + 'strokeColor2=#008cff;', 100, 100, '', 'User, Male', null, null, this.getTagsForStencil(gn, 'userMale', dt).join(' ')), - this.createVertexTemplateEntry(s + 'containers.userFemale;' + skcl6 + 'strokeColor2=#008cff;' + flclf, + this.createVertexTemplateEntry(s + 'containers.userFemale;' + skcl6 + 'strokeColor2=#008cff;', 100, 100, '', 'User, Female', null, null, this.getTagsForStencil(gn, 'userFemale', dt).join(' ')), this.addEntry(dt + 'group', function() { - var area1 = new mxCell('', new mxGeometry(0, 0, 150, 200), 'shape=mxgraph.mockup.containers.marginRect;rectMarginTop=10;strokeColor=#666666;fillColor=#ffffff;strokeWidth=1;dashed=0;rounded=1;arcSize=5;recursiveResize=0;'); + var area1 = new mxCell('', new mxGeometry(0, 0, 150, 200), 'shape=mxgraph.mockup.containers.marginRect;rectMarginTop=10;strokeColor=#666666;strokeWidth=1;dashed=0;rounded=1;arcSize=5;recursiveResize=0;'); area1.vertex = true; var button1 = new mxCell('Group', new mxGeometry(5, 0, 90, 30), 'shape=rect;strokeColor=none;fillColor=#008cff;strokeWidth=1;dashed=0;rounded=1;arcSize=20;fontColor=#ffffff;fontSize=17;spacing=2;spacingTop=-2;align=left;autosize=1;spacingLeft=4;resizeWidth=0;resizeHeight=0;perimeter=none;'); button1.vertex = true; @@ -194,12 +192,12 @@ return sb.createVertexTemplateFromCells([area1], 150, 200, 'Group'); }), - this.createVertexTemplateEntry(s2 + 'containers.window;align=left;verticalAlign=top;spacingLeft=8;strokeColor2=#008cff;strokeColor3=#c4c4c4;fontColor=#666666;' + flclf + 'mainText=;fontSize=17;labelBackgroundColor=none;', + this.createVertexTemplateEntry(s2 + 'containers.window;align=left;verticalAlign=top;spacingLeft=8;strokeColor2=#008cff;strokeColor3=#c4c4c4;fontColor=#666666;mainText=;fontSize=17;labelBackgroundColor=none;', 550, 380, 'Window Title', 'Window', null, null, this.getTagsForStencil(gn, 'window', dt).join(' ')), this.addEntry(dt + 'horizontal tab bar', function() { - var bg = new mxCell('', new mxGeometry(0, 0, 400, 200), s2 + 'containers.marginRect2;rectMarginTop=32;strokeColor=#666666;fillColor=#ffffff;gradientColor=none;'); + var bg = new mxCell('', new mxGeometry(0, 0, 400, 200), s2 + 'containers.marginRect2;rectMarginTop=32;strokeColor=#666666;gradientColor=none;'); bg.vertex = true; var button1 = new mxCell('Tab 1', new mxGeometry(0, 0, 60, 25), inh + s2 + 'containers.rrect;rSize=0;fontSize=17;fontColor=#666666;gradientColor=none;'); button1.geometry.relative = true; @@ -227,7 +225,7 @@ this.addEntry(dt + 'vertical tab bar', function() { - var bg = new mxCell('', new mxGeometry(0, 0, 400, 200), s2 + 'containers.marginRect2;rectMarginLeft=67;strokeColor=#666666;fillColor=#ffffff;gradientColor=none;'); + var bg = new mxCell('', new mxGeometry(0, 0, 400, 200), s2 + 'containers.marginRect2;rectMarginLeft=67;strokeColor=#666666;gradientColor=none;'); bg.vertex = true; var button1 = new mxCell('Tab 1', new mxGeometry(0, 0, 60, 25), inh + s2 + 'containers.rrect;rSize=0;fontSize=17;fontColor=#666666;'); button1.geometry.relative = true; @@ -278,7 +276,6 @@ // Space savers var skcl6 = mxConstants.STYLE_STROKECOLOR + '=#666666;'; var skcl9 = mxConstants.STYLE_STROKECOLOR + '=#999999;'; - var flclf = mxConstants.STYLE_FILLCOLOR + '=#ffffff;'; var skclN = mxConstants.STYLE_STROKECOLOR + '=none;'; var sb = this; @@ -297,7 +294,7 @@ this.addDataEntry(dt + 'radiobutton radio button group', 150, 120, 'Radiobutton Group', '7ZbJboMwEIafhmtEcMhyTdrm0kpVc+jZhQlYMRjZztan72A7C4Eg1LQ5ZSQkzwwztv/PLB6ZZbu5pEX6JmLgHnn2yEwKoe0o282Acy/wWeyRJy8IfLy84OVKtm+yfkEl5LpLQWALNpSvwUZsQOk9dwGlpVjBJ4t1ioG+R6YqpbHYouOjE1OVQuwcylmS4zjC6UFiINUZP1UVZctsl5Tb7WUiWq2L3lLITPWkhAgXPJUL9g2umZ14JriQZiVkYgwzS8b5WXxprKyGaC0V28AHqFMft0WQGnZXZTIhp9EcRAZa7vGWrdt2eUdopfRTYEl6KHP6+lTZQHKsPamOAyd8MwRSg7AArVmeYLBf5+F0xB6sUHAh2oU0YKxVTKQRM9ThLBcZq+I7oOWwLEGpgka4wlfjPQ3KmUWu3UL6I+ef9RwawzinX8DfhWKaibKhtGp2wxQ0Y3IFY1uwt96oF1q/ArGBYXg7wkELwoZH6oGwG0JyT4ZhC0NyG0NqrInhwFgzw6Pef8jQ98eReVfejeHwngyHHb5nNXAXsI5IqrBykUOVRSepwlapSPW413Sa1GWa3K7SqOWkDx5vq9+e9Mk/nnR0T3+FJlf5afwB'), - this.createVertexTemplateEntry(s + 'forms.colorPicker;chosenColor=#aaddff;fillColor=#ffffff;', 40, 40, '', 'Color Picker', null, null, this.getTagsForStencil(gn, 'colorPicker', dt).join(' ')), + this.createVertexTemplateEntry(s + 'forms.colorPicker;chosenColor=#aaddff;', 40, 40, '', 'Color Picker', null, null, this.getTagsForStencil(gn, 'colorPicker', dt).join(' ')), this.createVertexTemplateEntry(s2 + 'forms.comboBox;' + skcl9 + mxConstants.STYLE_FILLCOLOR + '=#ddeeff;align=left;fillColor2=#aaddff;mainText=;fontColor=#666666;fontSize=17;spacingLeft=3;', 150, 30, 'Option 1', 'Combo Box', null, null, this.getTagsForStencil(gn, 'comboBox', dt).join(' ')), this.createVertexTemplateEntry(s2 + 'forms.spinner;' + skcl9 + 'spinLayout=right;spinStyle=normal;adjStyle=triangle;fillColor=#aaddff;fontSize=17;fontColor=#666666;mainText=;html=1;overflow=fill;', @@ -312,7 +309,7 @@ this.addEntry(dt + 'menu bar', function() { - var bg = new mxCell('', new mxGeometry(0, 0, 498, 30), s2 + 'forms.rrect;rSize=0;strokeColor=#999999;fillColor=#ffffff;'); + var bg = new mxCell('', new mxGeometry(0, 0, 498, 30), s2 + 'forms.rrect;rSize=0;strokeColor=#999999;'); bg.vertex = true; var button1 = new mxCell('File', new mxGeometry(0, 0, 83, 30), inh + s2 + 'forms.rrect;rSize=0;fontSize=17;fontColor=#666666;'); button1.vertex = true; @@ -336,24 +333,24 @@ return sb.createVertexTemplateFromCells([bg], bg.geometry.width, bg.geometry.height, 'Menu Bar'); }), - this.createVertexTemplateEntry(s + 'forms.horSlider;' + skcl9 + flclf + 'sliderStyle=basic;sliderPos=20;handleStyle=circle;fillColor2=#ddeeff;', + this.createVertexTemplateEntry(s + 'forms.horSlider;' + skcl9 + 'sliderStyle=basic;sliderPos=20;handleStyle=circle;fillColor2=#ddeeff;', 150, 30, '', 'Horizontal Slider', null, null, this.getTagsForStencil(gn, 'horSlider', dt + 'horizontal').join(' ')), - this.createVertexTemplateEntry(s + 'forms.horSlider;' + skcl9 + flclf + 'sliderStyle=basic;sliderPos=20;handleStyle=circle;fillColor2=#ddeeff;direction=north;', + this.createVertexTemplateEntry(s + 'forms.horSlider;' + skcl9 + 'sliderStyle=basic;sliderPos=20;handleStyle=circle;fillColor2=#ddeeff;direction=north;', 30, 150, '', 'Vertical Slider', null, null, this.getTagsForStencil(gn, 'horSlider', dt + 'vertical').join(' ')), this.addDataEntry(dt + 'list box', 150, 200, 'List Box', '7ZZdS8MwFIZ/TW9HlmzO3W7qEBQEBa9De9oG06YkUTd/vadJ3FprZX7MOVigkPMmJx/vEw6N2LxYLjSv8muVgIzYecTmWinre8VyDlJGlIgkYmcRpQS/iF70jA7dKKm4htJuk0B9whOXj+AVLxi7kkEwVqsHuBeJzVEYRmxmcp6oZwwIBgk3OSQh4FJkJfZj3B40Crkt5Carqpcslll93UGh4ofHapAqXZiB1hDjgWf6VrxAWMxvPFdSaXcSNnUNR1IhZUNPXUM9XAa0hWWvIU4KbixAFWD1Cqc8hwvWM8beNJKDyPKQRkkQufFCts7d+IudYPHHdrOO3XfCotGH4LkqbUMn5DR2ntd6WGA4+YSNBoOzmlfaihb9Hi0WNA2SW/EErfV/QnDUIXhpoUBluB+IvIzz2usuhzavE9caO0lIa/im4rEosysXnY3/HBT9KqiwxY0SuDMlqzbvtwyVpgZsB+z6YFuxHvex3lORPLL2WHbB+qSPNfs/xfnXsL+r0UkC4Gp0u/qXqoRDfSOTXbyRSd8bGR3rwR5ZT3+BNYabn24/vflP/go='), - this.createVertexTemplateEntry(s2 + 'forms.pwField;' + skcl9 + 'mainText=;align=left;fillColor=#ffffff;fontColor=#666666;fontSize=17;spacingLeft=3;', 150, 30, '********', 'Password Field', null, null, this.getTagsForStencil(gn, 'pwField', dt).join(' ')), - this.createVertexTemplateEntry(s + 'forms.splitter;fillColor=#ffffff;' + skcl9, 350, 10, '', 'Horizontal Splitter', null, null, this.getTagsForStencil(gn, 'splitter', dt).join(' ')), - this.createVertexTemplateEntry(s + 'forms.splitter;fillColor=#ffffff;' + skcl9 + mxConstants.STYLE_DIRECTION + '=' + mxConstants.DIRECTION_NORTH + ';', 10, 350, '', 'Vertical Splitter', null, null, this.getTagsForStencil(gn, 'splitter', dt).join(' ')), + this.createVertexTemplateEntry(s2 + 'forms.pwField;' + skcl9 + 'mainText=;align=left;fontColor=#666666;fontSize=17;spacingLeft=3;', 150, 30, '********', 'Password Field', null, null, this.getTagsForStencil(gn, 'pwField', dt).join(' ')), + this.createVertexTemplateEntry(s + 'forms.splitter;' + skcl9, 350, 10, '', 'Horizontal Splitter', null, null, this.getTagsForStencil(gn, 'splitter', dt).join(' ')), + this.createVertexTemplateEntry(s + 'forms.splitter;' + skcl9 + mxConstants.STYLE_DIRECTION + '=' + mxConstants.DIRECTION_NORTH + ';', 10, 350, '', 'Vertical Splitter', null, null, this.getTagsForStencil(gn, 'splitter', dt).join(' ')), this.addEntry(dt + 'wedge bar', function() { - var button1 = new mxCell('Tab 1', new mxGeometry(10, 0, 70, 30), s2 + 'forms.uRect;fontSize=17;fontColor=#666666;align=left;spacingLeft=5;strokeColor=#666666;fillColor=#ffffff;'); + var button1 = new mxCell('Tab 1', new mxGeometry(10, 0, 70, 30), s2 + 'forms.uRect;fontSize=17;fontColor=#666666;align=left;spacingLeft=5;strokeColor=#666666;'); button1.vertex = true; var button2 = new mxCell('Tab 2', new mxGeometry(85, 0, 70, 30), s2 + 'forms.uRect;fontSize=17;fontColor=#ffffff;align=left;spacingLeft=5;strokeColor=#008cff;fillColor=#008cff;'); button2.vertex = true; - var button3 = new mxCell('Tab 3', new mxGeometry(160, 0, 70, 30), s2 + 'forms.uRect;fontSize=17;fontColor=#666666;align=left;spacingLeft=5;strokeColor=#666666;fillColor=#ffffff;'); + var button3 = new mxCell('Tab 3', new mxGeometry(160, 0, 70, 30), s2 + 'forms.uRect;fontSize=17;fontColor=#666666;align=left;spacingLeft=5;strokeColor=#666666;'); button3.vertex = true; return sb.createVertexTemplateFromCells([button1, button2, button3], 230, 30, 'Wedge Bar'); @@ -362,7 +359,7 @@ this.createVertexTemplateEntry(s + 'menus_and_buttons.font_style_selector_1;', 136, 31, '', 'Formatting Toolbar 1', null, null, this.getTagsForStencil('mxgraph.mockup.menus_and_buttons', 'font_style_selector_1', dt).join(' ')), this.createVertexTemplateEntry(s + 'menus_and_buttons.font_style_selector_2;', 235, 31, '', 'Formatting Toolbar 2', null, null, this.getTagsForStencil('mxgraph.mockup.menus_and_buttons', 'font_style_selector_2', dt).join(' ')), this.createVertexTemplateEntry(s + 'menus_and_buttons.font_style_selector_3;', 176, 38, '', 'Formatting Toolbar 3', null, null, this.getTagsForStencil('mxgraph.mockup.menus_and_buttons', 'font_style_selector_3', dt).join(' ')), - this.createVertexTemplateEntry(s2 + 'forms.searchBox;' + skcl9 + 'mainText=;fillColor=#ffffff;strokeColor2=#008cff;fontColor=#666666;fontSize=17;align=left;spacingLeft=3;', + this.createVertexTemplateEntry(s2 + 'forms.searchBox;' + skcl9 + 'mainText=;strokeColor2=#008cff;fontColor=#666666;fontSize=17;align=left;spacingLeft=3;', 150, 30, 'Search', 'Search Box', null, null, this.getTagsForStencil(gn, 'searchBox', dt).join(' ')), this.addDataEntry(dt + 'sign in', 200, 300, 'Sign In', '7Vhtb9owEP41+TIJ5DgkLR8HG6jShpBQtc8uubysTowct8B+/RzHQILDFmm4TScsRYrPOft8z3N3sR1vmu3mnGyS7ywE6nhfHW/KGRPVW7abAqUORmnoeF8cjJF8HDy7MOqqUbQhHHLRRQFXCq+EvkAlqQSF2FMtKARnz/AjDUUiBa7jTYqEhGwrO0h2QlIkEOoOoWmcy/e1XB64FCQioyetTTlltovL7Q4ztn5+2QwjxrNiyDmspcETvkp/gZ6sWnjKKOPKEm+smhyJUkpr8kg1KdebAS5gd9EhSqS9MQeWgeB7+clWb7B0CqqchhJI40SreQchKSpBfNQ9+Ve+aBe3u9sz3L0qHYbRQ/4+fif5OindOIlYLrTvXaz7NRcHqtVWohApvKCQSg0jN2Sd5vE3Na6M64QK/isqbhsqmt6IAyUifYXG/G1I6SWWLJUrY3QwSE+zb3YPE7AoKkAYQB/t7IT9qEOoaahomkNbAIQhgCJ6kxu4CbiJybUQuG9BwLWCgGcDAd9A4LGQ0YLRgmRS8PkWgv0JwZENAgQGAX6yJA8ZfIii140OTfB9q/nAb6ODb4MOgQ063Bl0WJKi2DIe3pJBr5LB2LeA/r2B/ifdbtmg59nAdW0QYmwQYvUwX5Q/54t+MMI3GJEz9aN4RobjeejsnBQET0+VvJZcgkNfb+5fGbFvKNT40fbz6F0nXeAmPQZHKl6VHwcS1ggyYzxmpSGnwjHrd+Eo04fiwB8TBTojxejqieMiTdrTiJWyMnCtHPRc1+CJyYkenvQuQ/J2577B2Aoi5jXXArZSUJ3/+hyv3Qo7+j/j884KGVou4ao6/7i81fkPVeevUeZl93TdXn1ev43/DQ=='), @@ -392,7 +389,6 @@ // Space savers var skcl6 = mxConstants.STYLE_STROKECOLOR + '=#666666;'; var skcl9 = mxConstants.STYLE_STROKECOLOR + '=#999999;'; - var flclf = mxConstants.STYLE_FILLCOLOR + '=#ffffff;'; var skclN = mxConstants.STYLE_STROKECOLOR + '=none;'; var sb = this; @@ -401,31 +397,31 @@ var fns = [ - this.createVertexTemplateEntry(s + 'graphics.barChart;' + flclf + skclN + 'strokeColor2=none;strokeColor3=#666666;fillColor2=#008cff;fillColor3=#dddddd;', + this.createVertexTemplateEntry(s + 'graphics.barChart;' + skclN + 'strokeColor2=none;strokeColor3=#666666;fillColor2=#008cff;fillColor3=#dddddd;', 400, 200, '', 'Bar Chart', null, null, this.getTagsForStencil(gn, 'barChart', dt).join(' ')), - this.createVertexTemplateEntry(s + 'graphics.columnChart;' + flclf + skclN + 'strokeColor2=none;strokeColor3=#666666;fillColor2=#008cff;fillColor3=#dddddd;', + this.createVertexTemplateEntry(s + 'graphics.columnChart;' + skclN + 'strokeColor2=none;strokeColor3=#666666;fillColor2=#008cff;fillColor3=#dddddd;', 400, 200, '', 'Column Chart', null, null, this.getTagsForStencil(gn, 'columnChart', dt).join(' ')), - this.createVertexTemplateEntry(s + 'graphics.lineChart;' + flclf + skclN + 'strokeColor2=#666666;strokeColor3=#008cff;strokeColor4=#dddddd;', + this.createVertexTemplateEntry(s + 'graphics.lineChart;' + skclN + 'strokeColor2=#666666;strokeColor3=#008cff;strokeColor4=#dddddd;', 400, 200, '', 'Line Chart', null, null, this.getTagsForStencil(gn, 'lineChart', dt).join(' ')), this.createVertexTemplateEntry(s + 'graphics.pieChart;' + mxConstants.STYLE_STROKECOLOR + '=#008cff;parts=10,20,35;partColors=#e0e0e0,#d0d0d0,#c0c0c0,#b0b0b0,#a0a0a0;strokeWidth=2;', 200, 200, '', 'Pie Chart', null, null, this.getTagsForStencil(gn, 'pieChart', dt).join(' ')), - this.createVertexTemplateEntry(s + 'graphics.simpleIcon;strokeColor=#999999;fillColor=#ffffff;', + this.createVertexTemplateEntry(s + 'graphics.simpleIcon;strokeColor=#999999;', 50, 50, '', 'Icon Placeholder', null, null, this.getTagsForStencil(gn, 'simpleIcon', dt + 'icon placeholder').join(' ')), this.addDataEntry(dt + 'icon grid placeholder', 200, 200, 'Icon Grid', '7ZdRa8MgEMc/ja8licu6Pm7pVgYb7G3PNrFRqjWobdNvv4vadYUVRpv5ZCDg/e9OzvuRCyJcyX6hScfeVUMFws8IV1op61eyr6gQqMh4g/AcFUUGLypeLnhz5806ounG/iWh8Ak7IrbUK14w9iCCsKPa8pqIN7Kk4kMZbrnagGuprFUS4SfDSKP2oGRgNMQw2gSDCN4OoTVUQzUIzEo44jyH5XHbxxBjVTfsZbVa00/eWBbiYPduqET27dCliVT1ettNnMFrMzFcdoK+1kNNIb1SQmlXPJ65BzwrLsQPfeUe0MP5oRjaX+yhk0IDF1RJavUBQvahTPCWvs0Zo7xl9lwjxtvtd+YJCCwCk9/54MTnej4hYVr6jAi47hKum3HlRxAReJWJ1/W8DtE/r/uEa7RpGJ/eNNEbbzjGx/eQ8N08K2P+22aJ19jDMia+PEv8Rh+X/wgQzNO13fnObvVf'), - this.createVertexTemplateEntry(s + 'graphics.bubbleChart;' + flclf + skclN + 'strokeColor2=none;strokeColor3=#666666;fillColor2=#008cff;fillColor3=#dddddd;', + this.createVertexTemplateEntry(s + 'graphics.bubbleChart;' + skclN + 'strokeColor2=none;strokeColor3=#666666;fillColor2=#008cff;fillColor3=#dddddd;', 400, 200, '', 'Bubble Chart', null, null, this.getTagsForStencil(gn, 'bubbleChart', dt + 'bubble chart').join(' ')), this.addDataEntry(dt + 'gauge', 100, 100, 'Gauge', 'zZXdT8IwEMD/mr6S0jqVRxnKiya8GJ/LemwN3bp0BcZ/760tXwKRGEGbLblv7n49MsLTsh1bURdvRoIm/Jnw1BrjglS2KWhNGFWS8BFhjOJL2MsZb997aS0sVO6SBBYSlkIvIFiCoXFrHQ1LsE5lQr+KKeiJaZRTpkLX1DhnSsKHTSGkWaGFoiJFU4CMitAq70Iz7AYsGgpX4oijPoqbsk8xxpm6q+WsmcOHkq6IcVi97jop27yj1CtNNl/UPa+orOnlYpGjfzhTWqdGG+u75jN/thX3PAN/0OMzcSA0s6SLxG5CYBMip1MpsQZLUZYSYCMPBlnma/sKnkvISLuHDysAqfd/ktLHkBBp4+jQnr0xb4rXNQZTgrNrDFlFKF0EDbdKC1B54b4YRWiG5dvc3QKgEHfg9D7wo31IJ+8kwcYTkoyOduPkdf1gGb67ZFFlRQdzODOV2wN778+lYNlpsDEBJ/QZ66hGmnvYkxPU2S9AvzuCTv+e9KaIhpm7Mnh6AP4huRn45Aj89k/0H9DbMO012fNbsUd191XzvoOP3ic='), - this.createVertexTemplateEntry(s + 'graphics.plotChart;' + flclf + mxConstants.STYLE_STROKECOLOR + '=none;strokeColor2=#aaaaaa;strokeColor3=#666666;fillColor2=#99aaff,#0022ff,#008cff;', + this.createVertexTemplateEntry(s + 'graphics.plotChart;' + mxConstants.STYLE_STROKECOLOR + '=none;strokeColor2=#aaaaaa;strokeColor3=#666666;fillColor2=#99aaff,#0022ff,#008cff;', 400, 200, '', 'Plot Chart', null, null, this.getTagsForStencil(gn, 'plotChart', dt + 'plot chart').join(' ')), this.addEntry(dt + 'gantt chart', function() { - var bg = new mxCell('', new mxGeometry(0, 0, 600, 300), s2 + 'graphics.rrect;rSize=0;strokeColor=#999999;fillColor=#ffffff;'); + var bg = new mxCell('', new mxGeometry(0, 0, 600, 300), s2 + 'graphics.rrect;rSize=0;strokeColor=#999999;'); bg.vertex = true; var cell1 = new mxCell('#', new mxGeometry(0, 0, 20, 40), inh + s2 + 'graphics.rrect;rSize=0;fontColor=#666666;'); cell1.vertex = true; @@ -588,7 +584,6 @@ // Space savers var skcl6 = mxConstants.STYLE_STROKECOLOR + '=#666666;'; var skcl9 = mxConstants.STYLE_STROKECOLOR + '=#999999;'; - var flclf = mxConstants.STYLE_FILLCOLOR + '=#ffffff;'; var skclN = mxConstants.STYLE_STROKECOLOR + '=none;'; var sb = this; @@ -622,26 +617,25 @@ // Space savers var skcl6 = mxConstants.STYLE_STROKECOLOR + '=#666666;'; var skcl9 = mxConstants.STYLE_STROKECOLOR + '=#999999;'; - var flclf = mxConstants.STYLE_FILLCOLOR + '=#ffffff;'; var skclN = mxConstants.STYLE_STROKECOLOR + '=none;'; var sb = this; var gn = 'mxgraph.mockup.misc'; var dt = 'mockup '; - var miscCommon = skcl9 + mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;shadow=0;dashed=0;fillColor=#ffffff;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;strokeWidth=2;html=1;' + mxConstants.STYLE_SHAPE + '=mxgraph.mockup.'; + var miscCommon = skcl9 + mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;shadow=0;dashed=0;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;strokeWidth=2;html=1;' + mxConstants.STYLE_SHAPE + '=mxgraph.mockup.'; var fns = [ this.createVertexTemplateEntry(s + 'misc.help_icon;', 32, 32, '', 'Help Icon', null, null, this.getTagsForStencil(gn, 'help_icon', dt).join(' ')), - this.createVertexTemplateEntry(s + 'misc.playbackControls;fillColor=#ffffff;' + skcl9 + 'fillColor2=#99ddff;strokeColor2=none;fillColor3=#ffffff;strokeColor3=none;', + this.createVertexTemplateEntry(s + 'misc.playbackControls;' + skcl9 + 'fillColor2=#99ddff;strokeColor2=none;fillColor3=#ffffff;strokeColor3=none;', 250, 30, '', 'Playback Controls', null, null, this.getTagsForStencil(gn, 'playbackControls', dt).join(' ')), this.createVertexTemplateEntry(s + 'misc.progressBar;fillColor=#cccccc;' + skclN + 'fillColor2=#99ddff;barPos=80;', 200, 20, '', 'Progress Bar', null, null, this.getTagsForStencil(gn, 'progress bar', dt).join(' ')), this.createVertexTemplateEntry(s + 'misc.shoppingCart;' + skcl9, 50, 50, '', 'Shopping Cart', null, null, this.getTagsForStencil(gn, 'shopping cart', dt).join(' ')), this.createVertexTemplateEntry(s + 'misc.rating;' + skcl9 + mxConstants.STYLE_FILLCOLOR + '=#ffff00;emptyFillColor=#ffffff;grade=4;ratingScale=5;ratingStyle=star;', 225, 30, '', 'Rating', null, null, this.getTagsForStencil(gn, 'rating', dt).join(' ')), - this.createVertexTemplateEntry(s + 'misc.mail2;fillColor=#ffffff;' + skcl9, 100, 60, '', 'Mail', null, null, this.getTagsForStencil(gn, 'mail', dt).join(' ')), + this.createVertexTemplateEntry(s + 'misc.mail2;' + skcl9, 100, 60, '', 'Mail', null, null, this.getTagsForStencil(gn, 'mail', dt).join(' ')), this.createVertexTemplateEntry(s + 'misc.volumeSlider;barPos=80;fillColor=#cccccc;' + skcl9 + 'fillColor2=#ddeeff;', 250, 30, '', 'Volume Slider', null, null, this.getTagsForStencil(gn, 'volume slider', dt).join(' ')), this.createVertexTemplateEntry(miscCommon + 'misc.editIcon;', @@ -658,18 +652,18 @@ 25, 25, '', 'Registered', null, null, this.getTagsForStencil(gn, 'registeredIcon', dt + 'registered icon').join(' ')), this.createVertexTemplateEntry(miscCommon + 'misc.volumeIcon;', 25, 25, '', 'Volume', null, null, this.getTagsForStencil(gn, 'volumeIcon', dt + 'volume icon').join(' ')), - this.createVertexTemplateEntry(s2 + 'misc.ruler2;dx=100;rulerOrient=down;unitSize=10;fillColor=#ffffff;fontColor=#999999;spacingLeft=96;align=left;verticalAlign=middle;spacingBottom=10;spacingTop=0;spacingRight=0;spacing=0;' + skcl9, + this.createVertexTemplateEntry(s2 + 'misc.ruler2;dx=100;rulerOrient=down;unitSize=10;fontColor=#999999;spacingLeft=96;align=left;verticalAlign=middle;spacingBottom=10;spacingTop=0;spacingRight=0;spacing=0;' + skcl9, 350, 30, '1', 'Horizontal Ruler', null, null, this.getTagsForStencil(gn, 'ruler', dt + 'horizontal').join(' ')), - this.createVertexTemplateEntry(s2 + 'misc.ruler2;dx=100;rulerOrient=up;unitSize=10;fillColor=#ffffff;fontColor=#999999;spacingLeft=96;align=left;verticalAlign=middle;spacingBottom=0;spacingTop=10;spacingRight=0;spacing=0;' + skcl9, + this.createVertexTemplateEntry(s2 + 'misc.ruler2;dx=100;rulerOrient=up;unitSize=10;fontColor=#999999;spacingLeft=96;align=left;verticalAlign=middle;spacingBottom=0;spacingTop=10;spacingRight=0;spacing=0;' + skcl9, 350, 30, '1', 'Horizontal Ruler', null, null, this.getTagsForStencil(gn, 'ruler', dt + 'horizontal').join(' ')), - this.createVertexTemplateEntry(s2 + 'misc.ruler2;dx=100;rulerOrient=down;unitSize=10;fillColor=#ffffff;fontColor=#999999;spacingLeft=96;align=left;verticalAlign=middle;spacingBottom=10;spacingTop=0;spacingRight=0;rotation=-90;spacing=0;' + skcl9, + this.createVertexTemplateEntry(s2 + 'misc.ruler2;dx=100;rulerOrient=down;unitSize=10;fontColor=#999999;spacingLeft=96;align=left;verticalAlign=middle;spacingBottom=10;spacingTop=0;spacingRight=0;rotation=-90;spacing=0;' + skcl9, 350, 30, '1', 'Vertical Ruler', null, null, this.getTagsForStencil(gn, 'ruler', dt + 'horizontal').join(' ')), - this.createVertexTemplateEntry(s2 + 'misc.ruler2;dx=100;rulerOrient=up;unitSize=10;fillColor=#ffffff;fontColor=#999999;spacingLeft=96;align=left;verticalAlign=middle;spacingBottom=0;spacingTop=10;spacingRight=0;rotation=-90;spacing=0;' + skcl9, + this.createVertexTemplateEntry(s2 + 'misc.ruler2;dx=100;rulerOrient=up;unitSize=10;fontColor=#999999;spacingLeft=96;align=left;verticalAlign=middle;spacingBottom=0;spacingTop=10;spacingRight=0;rotation=-90;spacing=0;' + skcl9, 350, 30, '1', 'Vertical Ruler', null, null, this.getTagsForStencil(gn, 'ruler', dt + 'horizontal').join(' ')), this.addEntry(dt + 'revision table', function() { - var bg = new mxCell('', new mxGeometry(0, 0, 400, 75), s2 + 'misc.rrect;rSize=0;strokeColor=#666666;fillColor=#ffffff;'); + var bg = new mxCell('', new mxGeometry(0, 0, 400, 75), s2 + 'misc.rrect;rSize=0;strokeColor=#666666;'); bg.vertex = true; var cell1 = new mxCell('REVISION HISTORY', new mxGeometry(0, 0, 400, 25), inh + s2 + 'misc.rrect;rSize=0;fontSize=17;fontColor=#999999;'); cell1.vertex = true; @@ -729,13 +723,12 @@ // Space savers var skcl6 = mxConstants.STYLE_STROKECOLOR + '=#666666;'; var skcl9 = mxConstants.STYLE_STROKECOLOR + '=#999999;'; - var flclf = mxConstants.STYLE_FILLCOLOR + '=#ffffff;'; var skclN = mxConstants.STYLE_STROKECOLOR + '=none;'; var sb = this; var gn = 'mxgraph.mockup.navigation'; var dt = 'mockup navigation '; - var miscCommon = skcl9 + mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;shadow=0;dashed=0;fillColor=#ffffff;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;strokeWidth=2;html=1;' + mxConstants.STYLE_SHAPE + '=mxgraph.mockup.'; + var miscCommon = skcl9 + mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;shadow=0;dashed=0;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;strokeWidth=2;html=1;' + mxConstants.STYLE_SHAPE + '=mxgraph.mockup.'; var fns = [ @@ -748,17 +741,17 @@ 'Step Bar', null, null, this.getTagsForStencil(gn, 'stepBar', dt).join(' ')), this.createVertexTemplateEntry(s2 + 'navigation.stepBar;strokeColor=#c4c4c4;textColor=#666666;textColor2=#008cff;mainText=Layer 1,Layer 2,+Layer 3,Layer 4;textSize=17;fillColor=#666666;overflow=fill;fontSize=17;fontColor=#666666;', 300, 50, '', 'Step Bar', null, null, this.getTagsForStencil(gn, 'stepBar', dt).join(' ')), - this.createVertexTemplateEntry(s + 'navigation.coverFlow;strokeColor=#999999;fillColor=#ffffff;', + this.createVertexTemplateEntry(s + 'navigation.coverFlow;strokeColor=#999999;', 400, 200, '', 'Cover Flow', null, null, this.getTagsForStencil(gn, 'coverFlow', dt).join(' ')), - this.createVertexTemplateEntry(s + 'navigation.scrollBar;fillColor=#ffffff;' + skcl9 + 'barPos=20;fillColor2=#99ddff;strokeColor2=none;', + this.createVertexTemplateEntry(s + 'navigation.scrollBar;' + skcl9 + 'barPos=20;fillColor2=#99ddff;strokeColor2=none;', 200, 20, '', 'Horizontal Scroll Bar', null, null, this.getTagsForStencil(gn, 'scrollBar', dt).join(' ')), - this.createVertexTemplateEntry(s + 'navigation.scrollBar;fillColor=#ffffff;' + skcl9 + 'barPos=20;fillColor2=#99ddff;strokeColor2=none;direction=north;', + this.createVertexTemplateEntry(s + 'navigation.scrollBar;' + skcl9 + 'barPos=20;fillColor2=#99ddff;strokeColor2=none;direction=north;', 20, 200, '', 'Vertical Scroll Bar', null, null, this.getTagsForStencil(gn, 'scrollBar', dt).join(' ')), this.createVertexTemplateEntry(s2 + 'navigation.pagination;linkText=;fontSize=17;fontColor=#0000ff;fontStyle=4;', 350, 30, '<< Prev 1 2 3 4 5 6 7 8 9 10 Next >>', 'Pagination', null, null, this.getTagsForStencil(gn, 'pagination', dt).join(' ')), this.createVertexTemplateEntry(s + 'navigation.pageControl;fillColor=#999999;strokeColor=#ddeeff;', 100, 30, '', 'Page Control', null, null, this.getTagsForStencil(gn, 'pageControl', dt).join(' ')), - this.createVertexTemplateEntry(s + 'navigation.mapNavigator;fillColor=#ffffff;fillColor2=#99ddff;strokeColor2=none;strokeColor3=#ffffff;' + skcl9, + this.createVertexTemplateEntry(s + 'navigation.mapNavigator;fillColor2=#99ddff;strokeColor2=none;strokeColor3=#ffffff;' + skcl9, 60, 100, '', 'Map Navigator', null, null, this.getTagsForStencil(gn, 'mapNavigator', dt).join(' ')), this.createVertexTemplateEntry(s + 'misc.loading_circle_1;pointerEvents=1', 90, 90, '', 'Wheel Throbber 1', null, null, this.getTagsForStencil(gn, 'loading_circle_1', dt).join(' ')), this.createVertexTemplateEntry(s + 'misc.loading_circle_2;pointerEvents=1', 90, 90, '', 'Wheel Throbber 2', null, null, this.getTagsForStencil(gn, 'loading_circle_2', dt).join(' ')) @@ -783,13 +776,12 @@ // Space savers var skcl6 = mxConstants.STYLE_STROKECOLOR + '=#666666;'; var skcl9 = mxConstants.STYLE_STROKECOLOR + '=#999999;'; - var flclf = mxConstants.STYLE_FILLCOLOR + '=#ffffff;'; var skclN = mxConstants.STYLE_STROKECOLOR + '=none;'; var sb = this; var gn = 'mxgraph.mockup.text'; var dt = 'mockup text '; - var miscCommon = skcl9 + mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;shadow=0;dashed=0;fillColor=#ffffff;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;strokeWidth=2;html=1;' + mxConstants.STYLE_SHAPE + '=mxgraph.mockup.'; + var miscCommon = skcl9 + mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;shadow=0;dashed=0;' + mxConstants.STYLE_VERTICAL_ALIGN + '=top;strokeWidth=2;html=1;' + mxConstants.STYLE_SHAPE + '=mxgraph.mockup.'; var loremText = 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\nSed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?'; var fns = @@ -799,7 +791,7 @@ this.addEntry(dt + 'horizontal button bar', function() { - var bg = new mxCell('', new mxGeometry(0, 0, 500, 25), s2 + 'text.rrect;rSize=0;fillColor=#ffffff;strokeColor=#666666;'); + var bg = new mxCell('', new mxGeometry(0, 0, 500, 25), s2 + 'text.rrect;rSize=0;strokeColor=#666666;'); bg.vertex = true; var button2 = new mxCell('Button 2', new mxGeometry(125, 0, 125, 25), inh + s2 + 'text.rrect;rSize=0;fontSize=17;fontColor=#0000ff;'); button2.vertex = true; @@ -829,13 +821,13 @@ 200, 200, 'Note Line 1\nNote Line 2\nNote Line 3', 'Sticky Note', null, null, this.getTagsForStencil(gn, 'stickyNote', dt).join(' ')), this.createVertexTemplateEntry(s2 + 'text.bulletedList;textColor=#666666;mainText=,,,,;textSize=17;bulletStyle=none;' + skclN + mxConstants.STYLE_FILLCOLOR + '=none;align=left;verticalAlign=top;fontSize=17;fontColor=#666666;', 150, 135, '-Line 1\n-Line 2\n-Line 3\n-Line 4', 'Bulleted List', null, null, this.getTagsForStencil(gn, 'bulletedList', dt).join(' ')), - this.createVertexTemplateEntry(s2 + 'text.textBox;fillColor=#ffffff;fontColor=#666666;align=left;fontSize=17;spacingLeft=4;spacingTop=-3;' + skcl6 + 'mainText=', + this.createVertexTemplateEntry(s2 + 'text.textBox;fontColor=#666666;align=left;fontSize=17;spacingLeft=4;spacingTop=-3;' + skcl6 + 'mainText=', 150, 30, 'Line 1', 'Text Box', null, null, this.getTagsForStencil(gn, 'textBox', dt).join(' ')), - this.createVertexTemplateEntry(s2 + 'text.captcha;fillColor=#ffffff;fontColor=#666666;fontSize=25;' + skcl6 + 'mainText=', + this.createVertexTemplateEntry(s2 + 'text.captcha;fontColor=#666666;fontSize=25;' + skcl6 + 'mainText=', 150, 50, 'fG2yQ23', 'Captcha', null, null, this.getTagsForStencil(gn, 'captcha', dt).join(' ')), this.createVertexTemplateEntry(s2 + 'text.alphanumeric;linkText=;html=1;fontStyle=4;fontSize=17;fontColor=#0000ff;', 450, 50, '0-9 A B C D E F G H I J K L M N O P Q R S T U V X Y Z', 'Alphanumeric', null, null, this.getTagsForStencil(gn, 'alphanumeric', dt).join(' ')), - this.createVertexTemplateEntry('text;spacingTop=-5;fillColor=#ffffff;whiteSpace=wrap;html=1;align=left;fontSize=12;fontFamily=Helvetica;fillColor=none;strokeColor=none;', + this.createVertexTemplateEntry('text;spacingTop=-5;whiteSpace=wrap;html=1;align=left;fontSize=12;fontFamily=Helvetica;fillColor=none;strokeColor=none;', 250, 470, loremText, 'Paragraph of Text', null, null, this.getTagsForStencil(gn, 'peragraph of text', dt).join(' ')), this.addEntry(dt + 'table', function() @@ -843,7 +835,7 @@ var classCell = new mxCell('<table cellpadding="4" cellspacing="0" border="1" style="font-size:1em;width:100%;height:100%;"><tr><th>Header 1</th><th>Header 2</th></tr>' + '<tr><td>row 1, cell 1</td><td>row 1, cell 2</td></tr><tr><td>row 2, cell 1</td>' + '<td>row 2, cell 2</td></tr></table> ', new mxGeometry(0, 0, 180, 80), - 'verticalAlign=top;align=left;overflow=fill;fillColor=#ffffff;fontSize=12;fontFamily=Helvetica;html=1'); + 'verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1'); classCell.vertex = true; return sb.createVertexTemplateFromCells([classCell], classCell.geometry.width, classCell.geometry.height, 'Table'); diff --git a/src/main/webapp/js/diagramly/sidebar/Sidebar-Office.js b/src/main/webapp/js/diagramly/sidebar/Sidebar-Office.js index 1e646feed23f9f6e5457c2493df98e084c06632b..3214a33a7171cc2d9fc13b026c341f57f202a6fd 100644 --- a/src/main/webapp/js/diagramly/sidebar/Sidebar-Office.js +++ b/src/main/webapp/js/diagramly/sidebar/Sidebar-Office.js @@ -1390,11 +1390,4 @@ } })); }; - - - - - - - })(); diff --git a/src/main/webapp/js/diagramly/sidebar/Sidebar-Rack.js b/src/main/webapp/js/diagramly/sidebar/Sidebar-Rack.js index c2b6d766751e1e7f6d3c8c878ec942ae049a79dc..4ec5dd6957aded2520dc4e0bb7e7bd1ba9c47b3a 100644 --- a/src/main/webapp/js/diagramly/sidebar/Sidebar-Rack.js +++ b/src/main/webapp/js/diagramly/sidebar/Sidebar-Rack.js @@ -4,20 +4,19 @@ Sidebar.prototype.addRackGeneralPalette = function() { var s = 'strokeColor=#666666;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;outlineConnect=0;shadow=0;dashed=0;'; - var sr = 'strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;'; - var sr2 = 'strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;'; + var sr = 'strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;'; //default tags var dt = 'rack equipment '; this.addPaletteFunctions('rackGeneral', 'Rack / General', false, [ - this.createVertexTemplateEntry(s + 'shape=mxgraph.rackGeneral.container;fillColor2=#f4f4f4;fillColor=#ffffff;container=1;collapsible=0;childLayout=rack;allowGaps=1;marginLeft=9;marginRight=9;marginTop=21;marginBottom=22;textColor=#666666;numDisp=off;', 180, 228.6, '', 'Rack Cabinet', null, null, dt + 'cabinet'), - this.createVertexTemplateEntry(s + 'shape=mxgraph.rackGeneral.container;fillColor2=#f4f4f4;fillColor=#ffffff;container=1;collapsible=0;childLayout=rack;allowGaps=1;marginLeft=33;marginRight=9;marginTop=21;marginBottom=22;textColor=#666666;numDisp=ascend;', 210, 228.6, '', 'Numbered Rack Cabinet', null, null, dt + 'cabinet numbered'), + this.createVertexTemplateEntry(s + 'shape=mxgraph.rackGeneral.container;fillColor2=#f4f4f4;container=1;collapsible=0;childLayout=rack;allowGaps=1;marginLeft=9;marginRight=9;marginTop=21;marginBottom=22;textColor=#666666;numDisp=off;', 180, 228.6, '', 'Rack Cabinet', null, null, dt + 'cabinet'), + this.createVertexTemplateEntry(s + 'shape=mxgraph.rackGeneral.container;fillColor2=#f4f4f4;container=1;collapsible=0;childLayout=rack;allowGaps=1;marginLeft=33;marginRight=9;marginTop=21;marginBottom=22;textColor=#666666;numDisp=ascend;', 210, 228.6, '', 'Numbered Rack Cabinet', null, null, dt + 'cabinet numbered'), this.createVertexTemplateEntry(s + 'shape=mxgraph.rackGeneral.container;container=1;collapsible=0;childLayout=rack;allowGaps=1;marginLeft=9;marginRight=9;marginTop=21;marginBottom=22;textColor=#666666;numDisp=off;', 180, 228.6, '', 'Rack Cabinet', null, null, dt + 'cabinet'), this.createVertexTemplateEntry(s + 'shape=mxgraph.rackGeneral.container;container=1;collapsible=0;childLayout=rack;allowGaps=1;marginLeft=33;marginRight=9;marginTop=21;marginBottom=22;textColor=#666666;numDisp=ascend;', 210, 228.6, '', 'Numbered Rack Cabinet', null, null, dt + 'cabinet numbered'), this.createVertexTemplateEntry(sr + 'text;', 160, 15, '', 'Spacing', null, null, dt + 'spacing'), - this.createVertexTemplateEntry(sr2 + 'shape=mxgraph.rackGeneral.plate;fillColor=#e8e8e8;', 160, 15, '', 'Cover Plate', null, null, dt + 'cover plate'), + this.createVertexTemplateEntry(sr + 'shape=mxgraph.rackGeneral.plate;fillColor=#e8e8e8;', 160, 15, '', 'Cover Plate', null, null, dt + 'cover plate'), this.createVertexTemplateEntry(sr + 'shape=mxgraph.rack.general.1u_rack_server;', 160, 15, '', 'Server', null, null, dt + 'server'), this.createVertexTemplateEntry(sr + 'shape=mxgraph.rackGeneral.horCableDuct;', 160, 15, '', 'Horizontal Cable Duct', null, null, dt + 'horizontal cable duct'), this.createVertexTemplateEntry(sr + 'shape=mxgraph.rackGeneral.horRoutingBank;', 160, 20, '', 'Horizontal Routing Bank', null, null, dt + 'horizontal routing bank'), @@ -41,7 +40,7 @@ Sidebar.prototype.addRackF5Palette = function() { - var sr = 'strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;'; + var sr = 'strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;'; //default tags var dt = 'rack equipment '; @@ -78,7 +77,7 @@ Sidebar.prototype.addRackDellPalette = function() { - var sr = 'strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;fillColor=#ffffff;outlineConnect=0;'; + var sr = 'strokeColor=#666666;html=1;labelPosition=right;align=left;spacingLeft=15;shadow=0;dashed=0;outlineConnect=0;'; //default tags var dt = 'rack equipment '; diff --git a/src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js b/src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js index 64d8719a64b782137a697b86a0e0f11d5f157223..6ba137904f1806191ee403b470cc3315191024e8 100644 --- a/src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js +++ b/src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js @@ -918,13 +918,13 @@ label1.setConnectable(false); label1.vertex = true; cardCell.insert(label1); - var assoc1 = new mxCell('ITransCmd', new mxGeometry(0, 0, 0, 0), 'edgeStyle=none;html=1;align=left;verticalAlign=bottom;endArrow=sysMLReqInt;endSize=8;exitX=0;exitY=0.5;fillColor=#ffffff;'); + var assoc1 = new mxCell('ITransCmd', new mxGeometry(0, 0, 0, 0), 'edgeStyle=none;html=1;align=left;verticalAlign=bottom;endArrow=sysMLReqInt;endSize=8;exitX=0;exitY=0.5;'); assoc1.geometry.setTerminalPoint(new mxPoint(0, 0), false); assoc1.geometry.relative = true; assoc1.geometry.x = 1; assoc1.edge = true; cardCell.insertEdge(assoc1, true); - var assoc2 = new mxCell('ITransData', new mxGeometry(0, 0, 0, 0), 'edgeStyle=none;html=1;align=left;verticalAlign=top;endArrow=sysMLProvInt;endSize=12;exitX=0;exitY=0.5;fillColor=#ffffff;'); + var assoc2 = new mxCell('ITransData', new mxGeometry(0, 0, 0, 0), 'edgeStyle=none;html=1;align=left;verticalAlign=top;endArrow=sysMLProvInt;endSize=12;exitX=0;exitY=0.5;'); assoc2.geometry.setTerminalPoint(new mxPoint(0, 60), false); assoc2.geometry.relative = true; assoc2.geometry.x = 1; @@ -943,13 +943,13 @@ label1.setConnectable(false); label1.vertex = true; cardCell.insert(label1); - var assoc1 = new mxCell('ITransCmd', new mxGeometry(0, 0, 0, 0), 'edgeStyle=none;html=1;align=left;verticalAlign=bottom;endArrow=sysMLReqInt;endSize=8;exitX=0;exitY=0.5;fillColor=#ffffff;'); + var assoc1 = new mxCell('ITransCmd', new mxGeometry(0, 0, 0, 0), 'edgeStyle=none;html=1;align=left;verticalAlign=bottom;endArrow=sysMLReqInt;endSize=8;exitX=0;exitY=0.5;'); assoc1.geometry.setTerminalPoint(new mxPoint(0, 0), false); assoc1.geometry.relative = true; assoc1.geometry.x = 1; assoc1.edge = true; cardCell.insertEdge(assoc1, true); - var assoc2 = new mxCell('ITransData', new mxGeometry(0, 0, 0, 0), 'edgeStyle=none;html=1;align=left;verticalAlign=top;endArrow=sysMLProvInt;endSize=12;exitX=0;exitY=0.5;fillColor=#ffffff;'); + var assoc2 = new mxCell('ITransData', new mxGeometry(0, 0, 0, 0), 'edgeStyle=none;html=1;align=left;verticalAlign=top;endArrow=sysMLProvInt;endSize=12;exitX=0;exitY=0.5;'); assoc2.geometry.setTerminalPoint(new mxPoint(0, 60), false); assoc2.geometry.relative = true; assoc2.geometry.x = 1; @@ -1084,7 +1084,7 @@ this.addDataEntry(dt + 'fork node', 200, 80, 'Fork Node', '7ZZNb4JAEIZ/DXdYrPZq0XppExMPPa8yhU2XHbKMn7++Czt+QDQ1RpMeJCHZfeeD2feBhCBOis3EyjL/xBR0EI+DOLGI5FfFJgGtAxGqNIhHgRChuwPxfiEaNdGwlBYMXVMgfMFK6iV4xQsVbTULVS7Lemlh4Vq+5VS4KUeRW34rrRPUaJvEOGwup6/AklpI/SHnoKdYKVJoXM4cibA4SRhqlZnCj0pYugiP4+KwuXikRuLzTAALILt1KVzQ9ycO1yql3Es9r+Sgspx7vHKWrPw+O/Q5uuUWbNh58+K/zYM0gxlvQc9xPT4Kp1Y2MbfO0aodGpK6Fk06tLbRDZq6wuLSpFA/vva5Imlpn4ElmEaz+ANffPZ4nzVTu3qESBw8ridrOVzh0i6g9VpcYboFLUmt2q3OmcqlU1Suowi3TKaDwc2aAXFSh8ThqVfB6d0fzv61baNh47touhhcxb+DwF+MCJkCQ4keBuXlCeVWKPHDoPSfUG6F8vIwKIMnlFuhDO4FxW2Pf2I+/fRH7Rc='), - this.createVertexTemplateEntry('shape=ellipse;html=1;illColor=#000000;strokeWidth=2;verticalLabelPosition=bottom;verticalAlignment=top;perimeter=ellipsePerimeter;', + this.createVertexTemplateEntry('shape=ellipse;html=1;fillColor=#000000;strokeWidth=2;verticalLabelPosition=bottom;verticalAlignment=top;perimeter=ellipsePerimeter;', 40, 40, '', 'Initial Node', null, null, this.getTagsForStencil(gn, '', dt + 'initial node').join(' ')), this.addDataEntry(dt + 'join node', 200, 80, 'Join Node', '7ZZNb8IwDIZ/Ta6oNBvsugLjskmTdtg5tKbNltZVahjs189NMigfk5AAaQcqVXLs1076PjlUyFG5mlpVFy+YgRFyIuTIIpKPytUIjBFxpDMhxyKOI35F/PRHte+qUa0sVHRKQ+wblsoswGfEMPlAXTU1pJzo9XpiOPaihtYmiJpC1W1oIeVtkoJKPvm4z+FcGzNCg9YJZeQezi/Bkk6VeVYzMK/YaNJYsWaGRFiywLSFRKWfucVFlXVmzN3TmfFodN72EtacDV/ANVj96YJLBQumgCWQXbPkt0EOfMuXzqjwuTufKUDnRRjy4L2MVOPX+WbQ1mEOgsnHDZeHhu+bC1kOb2EJZoZfk22ia7WrcVyg1d9YkeJC4syDdrPWdaiyR2udCmtgz5KGLH7Ce/hO6TVv+rvdrB9v7GzPsGNmgwubws6lOcFfC0aRXu6OOmZfaH3lm0dbLnEUHF8HJnsASNkcKDTtMdic4iQsd5fH8ntbnenK0h6IDpoKKzhAdwjKTfl3qAKa/tXQ3N/QnIdGXg3N4IbmPDT3V0MzvKE5D83wUmh4uf2f8/Lu794P'), diff --git a/src/main/webapp/js/diagramly/sidebar/Sidebar-WebIcons.js b/src/main/webapp/js/diagramly/sidebar/Sidebar-WebIcons.js index 914b71efa64042610d2b3749dc5e256a8e01e8b7..5de931d2ffc29241853c23ce973b160d1185b06d 100644 --- a/src/main/webapp/js/diagramly/sidebar/Sidebar-WebIcons.js +++ b/src/main/webapp/js/diagramly/sidebar/Sidebar-WebIcons.js @@ -20,29 +20,29 @@ w * 512, h * 512, '', 'Aim', null, null, this.getTagsForStencil(gn, 'aim', dt).join(' ')), this.createVertexTemplateEntry(s + 'allvoices;fillColor=#807E7E;gradientColor=#1B1C1C', w * 512, h * 512, '', 'Allvoices', null, null, this.getTagsForStencil(gn, 'allvoices', dt).join(' ')), - this.createVertexTemplateEntry(s + 'amazon;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'amazon;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Amazon', null, null, this.getTagsForStencil(gn, 'amazon', dt).join(' ')), - this.createVertexTemplateEntry(s + 'amazon_2;fillColor=#605658;gradientColor=#231F20', + this.createVertexTemplateEntry(s + 'amazon_2;gradientColor=#231F20', w * 512, h * 512, '', 'Amazon', null, null, this.getTagsForStencil(gn, 'amazon', dt).join(' ')), - this.createVertexTemplateEntry(s + 'android;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'android;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Android', null, null, this.getTagsForStencil(gn, 'android', dt).join(' ')), - this.createVertexTemplateEntry(s + 'apache;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'apache;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Apache', null, null, this.getTagsForStencil(gn, 'apache db database', dt).join(' ')), this.createVertexTemplateEntry(s + 'apple;fillColor=#807E7E;gradientColor=#1B1C1C', w * 512, h * 512, '', 'Apple', null, null, this.getTagsForStencil(gn, 'apple', dt).join(' ')), this.createVertexTemplateEntry(s + 'apple_classic;fillColor=#66E8F3;gradientColor=#1C7CBA', w * 512, h * 512, '', 'Apple (classic)', null, null, this.getTagsForStencil(gn, 'apple classic', dt).join(' ')), - this.createVertexTemplateEntry(s + 'arduino;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'arduino;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Arduino', null, null, this.getTagsForStencil(gn, 'arduino', dt).join(' ')), this.createVertexTemplateEntry(s + 'ask;fillColor=#F33543;gradientColor=#B50E11', w * 512, h * 512, '', 'Ask', null, null, this.getTagsForStencil(gn, 'ask', dt).join(' ')), - this.createVertexTemplateEntry(s + 'atlassian;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'atlassian;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Atlassian', null, null, this.getTagsForStencil(gn, 'atlassian', dt).join(' ')), this.createVertexTemplateEntry(s + 'audioboo;fillColor=#EB35CF;gradientColor=#8C0E35', w * 512, h * 512, '', 'Audioboo', null, null, this.getTagsForStencil(gn, 'audioboo', dt).join(' ')), - this.createVertexTemplateEntry(s + 'aws;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'aws;gradientColor=#DFDEDE', w * 512, h * 512, '', 'AWS', null, null, this.getTagsForStencil(gn, 'aws amazon web service', dt).join(' ')), - this.createVertexTemplateEntry(s + 'aws_s3;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'aws_s3;gradientColor=#DFDEDE', w * 512, h * 512, '', 'AWS S3', null, null, this.getTagsForStencil(gn, 'aws s3 amazon web service', dt).join(' ')), this.createVertexTemplateEntry(s + 'baidu;fillColor=#738FE8;gradientColor=#1F2470', w * 512, h * 512, '', 'Baidu', null, null, this.getTagsForStencil(gn, 'baidu', dt).join(' ')), @@ -52,29 +52,29 @@ w * 512, h * 512, '', 'Behance', null, null, this.getTagsForStencil(gn, 'behance', dt).join(' ')), this.createVertexTemplateEntry(s + 'bing;fillColor=#0A776E;gradientColor=#053D39', w * 512, h * 512, '', 'Bing', null, null, this.getTagsForStencil(gn, 'bing', dt).join(' ')), - this.createVertexTemplateEntry(s + 'bitbucket;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'bitbucket;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Bitbucket', null, null, this.getTagsForStencil(gn, 'bitbucket', dt).join(' ')), this.createVertexTemplateEntry(s + 'blinklist;fillColor=#695D5D;gradientColor=#100E0E', w * 512, h * 512, '', 'Blinklist', null, null, this.getTagsForStencil(gn, 'blinklist', dt).join(' ')), this.createVertexTemplateEntry(s + 'blogger;fillColor=#FDE47C;gradientColor=#F55F21', w * 512, h * 512, '', 'Blogger', null, null, this.getTagsForStencil(gn, 'blogger', dt).join(' ')), - this.createVertexTemplateEntry(s + 'blogmarks;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'blogmarks;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Blogmarks', null, null, this.getTagsForStencil(gn, 'blogmarks', dt).join(' ')), this.createVertexTemplateEntry(s + 'bookmarks.fr;fillColor=#F9FAF4;gradientColor=#DCDFBB', w * 512, h * 512, '', 'Bookmarks.fr', null, null, this.getTagsForStencil(gn, 'bookmarks.fr', dt).join(' ')), this.createVertexTemplateEntry(s + 'box;fillColor=#4CDFEF;gradientColor=#153EA0', w * 512, h * 512, '', 'Box', null, null, this.getTagsForStencil(gn, 'box', dt).join(' ')), - this.createVertexTemplateEntry(s + 'buddymarks;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'buddymarks;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Buddymarks', null, null, this.getTagsForStencil(gn, 'buddymarks', dt).join(' ')), - this.createVertexTemplateEntry(s + 'buffer;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'buffer;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Buffer', null, null, this.getTagsForStencil(gn, 'buffer', dt).join(' ')), - this.createVertexTemplateEntry(s + 'buzzfeed;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'buzzfeed;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Buzzfeed', null, null, this.getTagsForStencil(gn, 'buzzfeed', dt).join(' ')), - this.createVertexTemplateEntry(s + 'chrome;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'chrome;gradientColor=#DFDEDE', w * 516, h * 520, '', 'Chrome', null, null, this.getTagsForStencil(gn, 'chrome', dt).join(' ')), this.createVertexTemplateEntry(s + 'citeulike;fillColor=#ACD65E;gradientColor=#2E3618', w * 512, h * 512, '', 'Citeulike', null, null, this.getTagsForStencil(gn, 'citeulike', dt).join(' ')), - this.createVertexTemplateEntry(s + 'confluence;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'confluence;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Confluence', null, null, this.getTagsForStencil(gn, 'confluence', dt).join(' ')), this.createVertexTemplateEntry(s + 'connotea;fillColor=#E9FDFC;gradientColor=#BADBE9', w * 512, h * 512, '', 'Connotea', null, null, this.getTagsForStencil(gn, 'connotea', dt).join(' ')), @@ -86,25 +86,25 @@ w * 512, h * 512, '', 'Designfloat', null, null, this.getTagsForStencil(gn, 'designfloat', dt).join(' ')), this.createVertexTemplateEntry(s + 'deviantart;fillColor=#00C659;gradientColor=#00813B', w * 512, h * 512, '', 'Deviantart', null, null, this.getTagsForStencil(gn, 'deviantart', dt).join(' ')), - this.createVertexTemplateEntry(s + 'digg;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'digg;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Digg', null, null, this.getTagsForStencil(gn, 'digg', dt).join(' ')), this.createVertexTemplateEntry(s + 'diigo;fillColor=#2C7DE0;gradientColor=#1E5599', w * 512, h * 512, '', 'Diigo', null, null, this.getTagsForStencil(gn, 'diiigo', dt).join(' ')), - this.createVertexTemplateEntry(s + 'dopplr;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'dopplr;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Dopplr', null, null, this.getTagsForStencil(gn, 'dopplr', dt).join(' ')), this.createVertexTemplateEntry(s + 'drawio2;fillColor=#2174CE;gradientColor=#134277', w * 512, h * 512, '', 'Draw.io', null, null, this.getTagsForStencil(gn, 'drawio draw io draw.io', dt).join(' ')), - this.createVertexTemplateEntry(s + 'dribbble;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'dribbble;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Dribbble', null, null, this.getTagsForStencil(gn, 'dribbble', dt).join(' ')), this.createVertexTemplateEntry(s + 'dropbox;fillColor=#0BAAFE;gradientColor=#0080E6', w * 512, h * 512, '', 'Dropbox', null, null, this.getTagsForStencil(gn, 'dropbox', dt).join(' ')), this.createVertexTemplateEntry(s + 'dropbox2;fillColor=#2FB8FC;gradientColor=#0080E6', w * 512, h * 512, '', 'Dropbox', null, null, this.getTagsForStencil(gn, 'dropbox', dt).join(' ')), - this.createVertexTemplateEntry(s + 'drupal;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'drupal;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Drupal', null, null, this.getTagsForStencil(gn, 'drupal', dt).join(' ')), - this.createVertexTemplateEntry(s + 'dzone;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'dzone;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Dzone', null, null, this.getTagsForStencil(gn, 'dzone', dt).join(' ')), - this.createVertexTemplateEntry(s + 'ebay;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'ebay;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Ebay', null, null, this.getTagsForStencil(gn, 'ebay', dt).join(' ')), this.createVertexTemplateEntry(s + 'edmodo;fillColor=#2F81CE;gradientColor=#1F5487', w * 512, h * 512, '', 'Edmodo', null, null, this.getTagsForStencil(gn, 'edmodo', dt).join(' ')), @@ -116,61 +116,61 @@ w * 512, h * 512, '', 'Fancy', null, null, this.getTagsForStencil(gn, 'fancy', dt).join(' ')), this.createVertexTemplateEntry(s + 'fark;fillColor=#EBEBF1;gradientColor=#8482A7', w * 512, h * 512, '', 'Fark', null, null, this.getTagsForStencil(gn, 'fark', dt).join(' ')), - this.createVertexTemplateEntry(s + 'fashiolista;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'fashiolista;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Fashiolista', null, null, this.getTagsForStencil(gn, 'fashiolista', dt).join(' ')), this.createVertexTemplateEntry(s + 'feed;fillColor=#FFAC75;gradientColor=#FF6600', w * 512, h * 512, '', 'Feed', null, null, this.getTagsForStencil(gn, 'feed', dt).join(' ')), - this.createVertexTemplateEntry(s + 'feedburner;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'feedburner;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Feedburner', null, null, this.getTagsForStencil(gn, 'feedburner', dt).join(' ')), - this.createVertexTemplateEntry(s + 'flickr;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'flickr;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Flickr', null, null, this.getTagsForStencil(gn, 'flickr', dt).join(' ')), this.createVertexTemplateEntry(s + 'folkd;fillColor=#27A2E9;gradientColor=#0A2977', w * 512, h * 512, '', 'Folkd', null, null, this.getTagsForStencil(gn, 'folkd', dt).join(' ')), this.createVertexTemplateEntry(s + 'forrst;fillColor=#3E6B32;gradientColor=#111C0D', w * 512, h * 512, '', 'Forrst', null, null, this.getTagsForStencil(gn, 'forrst', dt).join(' ')), - this.createVertexTemplateEntry(s + 'fotolog;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'fotolog;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Fotolog', null, null, this.getTagsForStencil(gn, 'fotolog', dt).join(' ')), this.createVertexTemplateEntry(s + 'freshbump;fillColor=#695D5D;gradientColor=#100E0E', w * 512, h * 512, '', 'Freshbump', null, null, this.getTagsForStencil(gn, 'freshbump', dt).join(' ')), - this.createVertexTemplateEntry(s + 'fresqui;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'fresqui;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Fresqui', null, null, this.getTagsForStencil(gn, 'fresqui', dt).join(' ')), this.createVertexTemplateEntry(s + 'friendfeed;fillColor=#7BDCEF;gradientColor=#21379E', w * 512, h * 512, '', 'Friendfeed', null, null, this.getTagsForStencil(gn, 'fiendfeed', dt).join(' ')), - this.createVertexTemplateEntry(s + 'funp;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'funp;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Funp', null, null, this.getTagsForStencil(gn, 'funp', dt).join(' ')), - this.createVertexTemplateEntry(s + 'fwisp;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'fwisp;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Fwisp', null, null, this.getTagsForStencil(gn, 'fwisp', dt).join(' ')), this.createVertexTemplateEntry(s + 'gabbr;fillColor=#FBAC39;gradientColor=#EA2B0E', w * 512, h * 512, '', 'Gabbr', null, null, this.getTagsForStencil(gn, 'gabbr', dt).join(' ')), this.createVertexTemplateEntry(s + 'gamespot;fillColor=#695D5D;gradientColor=#100E0E', w * 512, h * 512, '', 'Gamespot', null, null, this.getTagsForStencil(gn, 'gamespot', dt).join(' ')), - this.createVertexTemplateEntry(s + 'github;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'github;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Github', null, null, this.getTagsForStencil(gn, 'github', dt).join(' ')), - this.createVertexTemplateEntry(s + 'gmail;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'gmail;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Gmail', null, null, this.getTagsForStencil(gn, 'gmail', dt).join(' ')), - this.createVertexTemplateEntry(s + 'google;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'google;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Google', null, null, this.getTagsForStencil(gn, 'google', dt).join(' ')), - this.createVertexTemplateEntry(s + 'google_drive;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'google_drive;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Google Drive', null, null, this.getTagsForStencil(gn, 'google drive', dt).join(' ')), - this.createVertexTemplateEntry(s + 'google_hangout;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'google_hangout;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Google Hangout', null, null, this.getTagsForStencil(gn, 'google hangout', dt).join(' ')), this.createVertexTemplateEntry(s + 'google_play;fillColor=#000000', w * 347, h * 103, '', 'Google Play', null, null, this.getTagsForStencil(gn, 'google play', dt).join(' ')), this.createVertexTemplateEntry(s + 'google_play_light;fillColor=#66E8F3;gradientColor=#1C7CBA', w * 300, h * 52, '', 'Google Play Light', null, null, this.getTagsForStencil(gn, 'google play light', dt).join(' ')), - this.createVertexTemplateEntry(s + 'google_photos;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'google_photos;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Google Photos', null, null, this.getTagsForStencil(gn, 'google photos', dt).join(' ')), this.createVertexTemplateEntry(s + 'google_plus;fillColor=#F24B46;gradientColor=#AD3832', w * 512, h * 512, '', 'Google Plus', null, null, this.getTagsForStencil(gn, 'google plus', dt).join(' ')), this.createVertexTemplateEntry(s + 'grooveshark;fillColor=#695D5D;gradientColor=#000000', w * 512, h * 512, '', 'Grooveshark', null, null, this.getTagsForStencil(gn, 'grooveshark', dt).join(' ')), - this.createVertexTemplateEntry(s + 'hatena;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'hatena;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Hatena', null, null, this.getTagsForStencil(gn, 'hatena', dt).join(' ')), - this.createVertexTemplateEntry(s + 'html5;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'html5;gradientColor=#DFDEDE', w * 512, h * 512, '', 'HTML5', null, null, this.getTagsForStencil(gn, 'html5 html', dt).join(' ')), - this.createVertexTemplateEntry(s + 'identi.ca;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'identi.ca;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Identi.ca', null, null, this.getTagsForStencil(gn, 'identi.ca', dt).join(' ')), - this.createVertexTemplateEntry(s + 'instagram;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'instagram;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Instagram', null, null, this.getTagsForStencil(gn, 'instagram', dt).join(' ')), this.createVertexTemplateEntry(s + 'instapaper;fillColor=#807E7E;gradientColor=#1B1C1C', w * 512, h * 512, '', 'Instapaper', null, null, this.getTagsForStencil(gn, 'instapaper', dt).join(' ')), @@ -178,15 +178,15 @@ w * 512, h * 512, '', 'iOS', null, null, this.getTagsForStencil(gn, 'ios', dt).join(' ')), this.createVertexTemplateEntry(s + 'jamespot;fillColor=#695D5D;gradientColor=#100E0E', w * 512, h * 512, '', 'Jamespot', null, null, this.getTagsForStencil(gn, 'jamespot', dt).join(' ')), - this.createVertexTemplateEntry(s + 'java;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'java;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Java', null, null, this.getTagsForStencil(gn, 'java', dt).join(' ')), this.createVertexTemplateEntry(s + 'joomla;fillColor=#1F457D;gradientColor=#081220', w * 512, h * 512, '', 'Joomla', null, null, this.getTagsForStencil(gn, 'joomla', dt).join(' ')), this.createVertexTemplateEntry(s + 'jquery;fillColor=#0BB9EA;gradientColor=#032F80', w * 512, h * 512, '', 'Jquery', null, null, this.getTagsForStencil(gn, 'jquery', dt).join(' ')), - this.createVertexTemplateEntry(s + 'json;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'json;gradientColor=#DFDEDE', w * 512, h * 512, '', 'JSON', null, null, this.getTagsForStencil(gn, 'json', dt).join(' ')), - this.createVertexTemplateEntry(s + 'json_2;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'json_2;gradientColor=#DFDEDE', w * 512, h * 512, '', 'JSON', null, null, this.getTagsForStencil(gn, 'json', dt).join(' ')), this.createVertexTemplateEntry(s + 'last.fm;fillColor=#F33543;gradientColor=#BD0E11', w * 512, h * 512, '', 'Last.fm', null, null, this.getTagsForStencil(gn, 'last.fm last fm', dt).join(' ')), @@ -200,49 +200,49 @@ w * 512, h * 512, '', 'Mail.ru', null, null, this.getTagsForStencil(gn, 'mail.ru', dt).join(' ')), this.createVertexTemplateEntry(s + 'meetup;fillColor=#F83263;gradientColor=#D40D19', w * 512, h * 512, '', 'Meetup', null, null, this.getTagsForStencil(gn, 'meetup', dt).join(' ')), - this.createVertexTemplateEntry(s + 'meneame;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'meneame;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Meneame', null, null, this.getTagsForStencil(gn, 'meneame', dt).join(' ')), - this.createVertexTemplateEntry(s + 'messenger;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'messenger;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Messenger', null, null, this.getTagsForStencil(gn, 'messenger', dt).join(' ')), - this.createVertexTemplateEntry(s + 'messenger_2;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'messenger_2;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Messenger', null, null, this.getTagsForStencil(gn, 'messenger', dt).join(' ')), this.createVertexTemplateEntry(s + 'messenger_3;fillColor=#09BEFC;gradientColor=#0060FA', w * 512, h * 512, '', 'Messenger', null, null, this.getTagsForStencil(gn, 'messenger', dt).join(' ')), this.createVertexTemplateEntry(s + 'mind_body_green;fillColor=#E0EEF8;gradientColor=#4496D5', w * 512, h * 512, '', 'Mind Body Green', null, null, this.getTagsForStencil(gn, 'mind body green', dt).join(' ')), - this.createVertexTemplateEntry(s + 'mongodb;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'mongodb;gradientColor=#DFDEDE', w * 512, h * 512, '', 'MongoDb', null, null, this.getTagsForStencil(gn, 'mongodb', dt).join(' ')), this.createVertexTemplateEntry(s + 'myspace;fillColor=#3C69E2;gradientColor=#101B54', w * 512, h * 512, '', 'MySpace', null, null, this.getTagsForStencil(gn, 'myspace', dt).join(' ')), - this.createVertexTemplateEntry(s + 'n4g;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'n4g;gradientColor=#DFDEDE', w * 512, h * 512, '', 'N4g', null, null, this.getTagsForStencil(gn, 'n4g', dt).join(' ')), this.createVertexTemplateEntry(s + 'netlog;fillColor=#FA3743;gradientColor=#E10E11', w * 512, h * 512, '', 'Netlog', null, null, this.getTagsForStencil(gn, 'netlog', dt).join(' ')), this.createVertexTemplateEntry(s + 'netvibes;fillColor=#99DB00;gradientColor=#638E00', w * 512, h * 512, '', 'Netvibes', null, null, this.getTagsForStencil(gn, 'netvibes', dt).join(' ')), - this.createVertexTemplateEntry(s + 'netvouz;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'netvouz;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Netvouz', null, null, this.getTagsForStencil(gn, 'netvouz', dt).join(' ')), - this.createVertexTemplateEntry(s + 'networkedblogs;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'networkedblogs;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Networkedblogs', null, null, this.getTagsForStencil(gn, 'networkedblogs', dt).join(' ')), this.createVertexTemplateEntry(s + 'newsvine;fillColor=#008733;gradientColor=#00441B', w * 512, h * 512, '', 'Newsvine', null, null, this.getTagsForStencil(gn, 'newsvine', dt).join(' ')), this.createVertexTemplateEntry(s + 'odnoklassniki;fillColor=#FDE15A;gradientColor=#F24317', w * 512, h * 512, '', 'Odnoklassniki', null, null, this.getTagsForStencil(gn, 'odnoklassniki', dt).join(' ')), - this.createVertexTemplateEntry(s + 'oknotizie;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'oknotizie;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Oknotizie', null, null, this.getTagsForStencil(gn, 'oknotizie', dt).join(' ')), - this.createVertexTemplateEntry(s + 'onedrive;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'onedrive;gradientColor=#DFDEDE', w * 512, h * 512, '', 'OneDrive', null, null, this.getTagsForStencil(gn, 'onedrive', dt).join(' ')), this.createVertexTemplateEntry(s + 'oracle;fillColor=#FA3743;gradientColor=#E10E11', w * 512, h * 512, '', 'Oracle', null, null, this.getTagsForStencil(gn, 'oracle', dt).join(' ')), - this.createVertexTemplateEntry(s + 'paypal;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'paypal;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Paypal', null, null, this.getTagsForStencil(gn, 'paypal', dt).join(' ')), this.createVertexTemplateEntry(s + 'phone;fillColor=#76F21E;gradientColor=#079704', w * 512, h * 512, '', 'Phone', null, null, this.getTagsForStencil(gn, 'phone', dt).join(' ')), - this.createVertexTemplateEntry(s + 'phonefavs;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'phonefavs;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Phonefavs', null, null, this.getTagsForStencil(gn, 'phonefavs', dt).join(' ')), this.createVertexTemplateEntry(s + 'pinterest;fillColor=#E50B28;gradientColor=#890616', w * 512, h * 512, '', 'Pinterest', null, null, this.getTagsForStencil(gn, 'pinterest', dt).join(' ')), - this.createVertexTemplateEntry(s + 'plaxo;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'plaxo;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Plaxo', null, null, this.getTagsForStencil(gn, 'plaxo', dt).join(' ')), this.createVertexTemplateEntry(s + 'playfire;fillColor=#695D5D;gradientColor=#100E0E', w * 512, h * 512, '', 'Playfire', null, null, this.getTagsForStencil(gn, 'playfire', dt).join(' ')), @@ -262,13 +262,13 @@ w * 512, h * 512, '', 'Scoopit', null, null, this.getTagsForStencil(gn, 'scoopit', dt).join(' ')), this.createVertexTemplateEntry(s + 'scribd;fillColor=#1D637D;gradientColor=#071920', w * 512, h * 512, '', 'Scribd', null, null, this.getTagsForStencil(gn, 'scribd', dt).join(' ')), - this.createVertexTemplateEntry(s + 'segnalo;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'segnalo;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Segnalo', null, null, this.getTagsForStencil(gn, 'segnalo', dt).join(' ')), - this.createVertexTemplateEntry(s + 'sina;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'sina;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Sina', null, null, this.getTagsForStencil(gn, 'sina', dt).join(' ')), - this.createVertexTemplateEntry(s + 'sitejot;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'sitejot;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Sitejot', null, null, this.getTagsForStencil(gn, 'sitejot', dt).join(' ')), - this.createVertexTemplateEntry(s + 'skype;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'skype;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Skype', null, null, this.getTagsForStencil(gn, 'skype', dt).join(' ')), this.createVertexTemplateEntry(s + 'skyrock;fillColor=#47B8FF;gradientColor=#006AAD', w * 512, h * 512, '', 'Skyrock', null, null, this.getTagsForStencil(gn, 'skyrock', dt).join(' ')), @@ -284,15 +284,15 @@ w * 512, h * 512, '', 'Sonico', null, null, this.getTagsForStencil(gn, 'sonico', dt).join(' ')), this.createVertexTemplateEntry(s + 'soundcloud;fillColor=#F78E11;gradientColor=#F93A0E', w * 512, h * 512, '', 'Soundcloud', null, null, this.getTagsForStencil(gn, 'soundcloud', dt).join(' ')), - this.createVertexTemplateEntry(s + 'sourceforge;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'sourceforge;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Sourceforge', null, null, this.getTagsForStencil(gn, 'sourceforge', dt).join(' ')), this.createVertexTemplateEntry(s + 'sourceforge_2;fillColor=#0078AF;gradientColor=#00385E', w * 512, h * 512, '', 'Sourceforge', null, null, this.getTagsForStencil(gn, 'sourceforge', dt).join(' ')), this.createVertexTemplateEntry(s + 'spring.me;fillColor=#3CBEF2;gradientColor=#2B8AAF', w * 512, h * 512, '', 'Spring.me', null, null, this.getTagsForStencil(gn, 'spring me', dt).join(' ')), - this.createVertexTemplateEntry(s + 'stackexchange;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'stackexchange;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Stackexchange', null, null, this.getTagsForStencil(gn, 'stackexchange stack exchange', dt).join(' ')), - this.createVertexTemplateEntry(s + 'stackoverflow;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'stackoverflow;gradientColor=#DFDEDE', w * 512, h * 512, '', 'StackOverflow', null, null, this.getTagsForStencil(gn, 'stackoverflow stack overflow', dt).join(' ')), this.createVertexTemplateEntry(s + 'startaid;fillColor=#47B0E5;gradientColor=#2F7599', w * 512, h * 512, '', 'Startaid', null, null, this.getTagsForStencil(gn, 'startaid', dt).join(' ')), @@ -302,27 +302,27 @@ w * 512, h * 512, '', 'Steam', null, null, this.getTagsForStencil(gn, 'steam', dt).join(' ')), this.createVertexTemplateEntry(s + 'stumbleupon;fillColor=#FA823C;gradientColor=#E12110', w * 512, h * 512, '', 'StumbleUpon', null, null, this.getTagsForStencil(gn, 'stumbleupon', dt).join(' ')), - this.createVertexTemplateEntry(s + 'stumpedia;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'stumpedia;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Stumpedia', null, null, this.getTagsForStencil(gn, 'stumpedia', dt).join(' ')), this.createVertexTemplateEntry(s + 'technorati;fillColor=#99EC92;gradientColor=#288925', w * 512, h * 512, '', 'Technorati', null, null, this.getTagsForStencil(gn, 'technorati', dt).join(' ')), - this.createVertexTemplateEntry(s + 'translate;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'translate;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Translate', null, null, this.getTagsForStencil(gn, 'translate', dt).join(' ')), this.createVertexTemplateEntry(s + 'tumblr;fillColor=#588BBC;gradientColor=#172330', w * 512, h * 512, '', 'Tumblr', null, null, this.getTagsForStencil(gn, 'tumblr', dt).join(' ')), - this.createVertexTemplateEntry(s + 'tunein;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'tunein;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Tunein', null, null, this.getTagsForStencil(gn, 'tunein', dt).join(' ')), this.createVertexTemplateEntry(s + 'twitter;fillColor=#49EAF7;gradientColor=#137BD0', w * 512, h * 512, '', 'Twitter', null, null, this.getTagsForStencil(gn, 'twitter', dt).join(' ')), - this.createVertexTemplateEntry(s + 'two;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'two;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Two', null, null, this.getTagsForStencil(gn, 'two', dt).join(' ')), this.createVertexTemplateEntry(s + 'typepad;fillColor=#CBD372;gradientColor=#818748', w * 512, h * 512, '', 'Typepad', null, null, this.getTagsForStencil(gn, 'typepad', dt).join(' ')), - this.createVertexTemplateEntry(s + 'viadeo;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'viadeo;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Viadeo', null, null, this.getTagsForStencil(gn, 'viadeo', dt).join(' ')), this.createVertexTemplateEntry(s + 'viber;fillColor=#9964C4;gradientColor=#52366B', w * 512, h * 512, '', 'Viber', null, null, this.getTagsForStencil(gn, 'viber', dt).join(' ')), - this.createVertexTemplateEntry(s + 'viddler;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'viddler;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Viddler', null, null, this.getTagsForStencil(gn, 'viddler', dt).join(' ')), this.createVertexTemplateEntry(s + 'vimeo;fillColor=#A4EDF9;gradientColor=#2B8ED9', w * 512, h * 512, '', 'Vimeo', null, null, this.getTagsForStencil(gn, 'vimeo', dt).join(' ')), @@ -330,7 +330,7 @@ w * 512, h * 512, '', 'Virb', null, null, this.getTagsForStencil(gn, 'virb', dt).join(' ')), this.createVertexTemplateEntry(s + 'vkontakte;fillColor=#5F94CC;gradientColor=#39587A', w * 512, h * 512, '', 'Vkontakte', null, null, this.getTagsForStencil(gn, 'vkontakte', dt).join(' ')), - this.createVertexTemplateEntry(s + 'wakoopa;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'wakoopa;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Wakoopa', null, null, this.getTagsForStencil(gn, 'wakoopa', dt).join(' ')), this.createVertexTemplateEntry(s + 'weheartit;fillColor=#FF7AA2;gradientColor=#FF4577', w * 512, h * 512, '', 'Weheartit', null, null, this.getTagsForStencil(gn, 'weheartit', dt).join(' ')), @@ -342,11 +342,11 @@ w * 512, h * 512, '', 'Wordpress', null, null, this.getTagsForStencil(gn, 'wordpress', dt).join(' ')), this.createVertexTemplateEntry(s + 'wordpress_2;fillColor=#35E2EE;gradientColor=#0E4D99', w * 512, h * 512, '', 'Wordpress', null, null, this.getTagsForStencil(gn, 'wordpress', dt).join(' ')), - this.createVertexTemplateEntry(s + 'xanga;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'xanga;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Xanga', null, null, this.getTagsForStencil(gn, 'xanga', dt).join(' ')), this.createVertexTemplateEntry(s + 'xerpi;fillColor=#7F719B;gradientColor=#32264B', w * 512, h * 512, '', 'Xerpi', null, null, this.getTagsForStencil(gn, 'xerpi', dt).join(' ')), - this.createVertexTemplateEntry(s + 'xing;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'xing;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Xing', null, null, this.getTagsForStencil(gn, 'xing', dt).join(' ')), this.createVertexTemplateEntry(s + 'yahoo;fillColor=#AC37AE;gradientColor=#2E0E2D', w * 512, h * 512, '', 'Yahoo', null, null, this.getTagsForStencil(gn, 'yahoo', dt).join(' ')), @@ -354,13 +354,13 @@ w * 512, h * 512, '', 'Yahoo', null, null, this.getTagsForStencil(gn, 'yahoo', dt).join(' ')), this.createVertexTemplateEntry(s + 'yammer;fillColor=#00AFE0;gradientColor=#005F7A', w * 512, h * 512, '', 'Yammer', null, null, this.getTagsForStencil(gn, 'yammer', dt).join(' ')), - this.createVertexTemplateEntry(s + 'yandex;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'yandex;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Yandex', null, null, this.getTagsForStencil(gn, 'yandex', dt).join(' ')), this.createVertexTemplateEntry(s + 'yelp;fillColor=#EF5140;gradientColor=#9C1410', w * 512, h * 512, '', 'Yelp', null, null, this.getTagsForStencil(gn, 'yelp', dt).join(' ')), - this.createVertexTemplateEntry(s + 'yoolink;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'yoolink;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Yoolink', null, null, this.getTagsForStencil(gn, 'yoolink', dt).join(' ')), - this.createVertexTemplateEntry(s + 'youmob;fillColor=#FFFFFF;gradientColor=#DFDEDE', + this.createVertexTemplateEntry(s + 'youmob;gradientColor=#DFDEDE', w * 512, h * 512, '', 'Youmob', null, null, this.getTagsForStencil(gn, 'youmob', dt).join(' ')) ]); }; @@ -459,7 +459,7 @@ w * 360, h * 360, '', 'Designfloat', null, null, this.getTagsForStencil(gn, 'designfloat', dt).join(' ')), this.createVertexTemplateEntry(s + 'deviantart;fillColor=#009544;strokeColor=none;', w * 310, h * 432, '', 'Deviantart', null, null, this.getTagsForStencil(gn, 'deviantart', dt).join(' ')), - this.createVertexTemplateEntry(s + 'digg;fillColor=#ffffff', + this.createVertexTemplateEntry(s + 'digg', w * 290, h * 280, '', 'Digg', null, null, this.getTagsForStencil(gn, 'digg', dt).join(' ')), this.createVertexTemplateEntry(s + 'diigo;fillColor=#2973D2;strokeColor=none', w * 306, h * 344, '', 'Diigo', null, null, this.getTagsForStencil(gn, 'diiigo', dt).join(' ')), diff --git a/src/main/webapp/js/viewer.min.js b/src/main/webapp/js/viewer.min.js index eaab91fe9ff0e42851137d496a6912fc925d9c00..c2f0deb758e1c12ba87050a542e8f39afadff4db 100644 --- a/src/main/webapp/js/viewer.min.js +++ b/src/main/webapp/js/viewer.min.js @@ -494,15 +494,15 @@ mxGuide.prototype.createGuideShape=function(a){a=new mxPolyline([],mxConstants.G mxGuide.prototype.move=function(a,b,c,d){if(null!=this.states&&(this.horizontal||this.vertical)&&null!=a&&null!=b){var e=function(b,c){b+=this.graph.panDy;var d=!1;Math.abs(b-E)<y?(l=b-a.getCenterY(),y=Math.abs(b-E),d=!0):Math.abs(b-B)<y?(l=b-a.y,y=Math.abs(b-B),d=!0):Math.abs(b-C)<y&&(l=b-a.y-a.height,y=Math.abs(b-C),d=!0);d&&(r=c,t=Math.round(b-this.graph.panDy),null==this.guideY&&(this.guideY=this.createGuideShape(!1),this.guideY.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_VML: mxConstants.DIALECT_SVG,this.guideY.pointerEvents=!1,this.guideY.init(this.graph.getView().getOverlayPane())));q=q||d},f=function(b,c){b+=this.graph.panDx;var d=!1;Math.abs(b-v)<x?(k=b-a.getCenterX(),x=Math.abs(b-v),d=!0):Math.abs(b-A)<x?(k=b-a.x,x=Math.abs(b-A),d=!0):Math.abs(b-z)<x&&(k=b-a.x-a.width,x=Math.abs(b-z),d=!0);d&&(n=c,p=Math.round(b-this.graph.panDx),null==this.guideX&&(this.guideX=this.createGuideShape(!0),this.guideX.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_VML: mxConstants.DIALECT_SVG,this.guideX.pointerEvents=!1,this.guideX.init(this.graph.getView().getOverlayPane())));m=m||d},g=this.graph.getView().translate;d=this.graph.getView().scale;var k=b.x,l=b.y,m=!1,n=null,p=null,q=!1,r=null,t=null,u=this.getGuideTolerance(),x=u,y=u,u=a.clone();u.x+=b.x;u.y+=b.y;var A=u.x,z=u.x+u.width,v=u.getCenterX(),B=u.y,C=u.y+u.height,E=u.getCenterY();for(b=0;b<this.states.length;b++)u=this.states[b],null==u||this.isStateIgnored(u)||(this.horizontal&&(f.call(this,u.getCenterX(), -u),f.call(this,u.x,u),f.call(this,u.x+u.width,u)),this.vertical&&(e.call(this,u.getCenterY(),u),e.call(this,u.y,u),e.call(this,u.y+u.height,u)));c&&(m||(c=a.x-(this.graph.snap(a.x/d-g.x)+g.x)*d,k=this.graph.snap(k/d)*d-c),q||(c=a.y-(this.graph.snap(a.y/d-g.y)+g.y)*d,l=this.graph.snap(l/d)*d-c));d=this.graph.container;m||null==this.guideX?null!=this.guideX&&(null!=n&&null!=a&&(minY=Math.min(a.y+l-this.graph.panDy,n.y),maxY=Math.max(a.y+a.height+l-this.graph.panDy,n.y+n.height)),this.guideX.points= -null!=minY&&null!=maxY?[new mxPoint(p,minY),new mxPoint(p,maxY)]:[new mxPoint(p,-this.graph.panDy),new mxPoint(p,d.scrollHeight-3-this.graph.panDy)],this.guideX.stroke=this.getGuideColor(n,!0),this.guideX.node.style.visibility="visible",this.guideX.redraw()):this.guideX.node.style.visibility="hidden";q||null==this.guideY?null!=this.guideY&&(null!=r&&null!=a&&(minX=Math.min(a.x+k-this.graph.panDx,r.x),maxX=Math.max(a.x+a.width+k-this.graph.panDx,r.x+r.width)),this.guideY.points=null!=minX&&null!=maxX? -[new mxPoint(minX,t),new mxPoint(maxX,t)]:[new mxPoint(-this.graph.panDx,t),new mxPoint(d.scrollWidth-3-this.graph.panDx,t)],this.guideY.stroke=this.getGuideColor(r,!1),this.guideY.node.style.visibility="visible",this.guideY.redraw()):this.guideY.node.style.visibility="hidden";b=this.getDelta(a,n,k,r,l)}return b}; -mxGuide.prototype.getDelta=function(a,b,c,d,e){if(this.rounded||null!=b&&null==b.cell)c=Math.floor(a.x+c)-a.x;if(this.rounded||null!=d&&null==d.cell)e=Math.floor(a.y+e)-a.y;return new mxPoint(c,e)};mxGuide.prototype.getGuideColor=function(a,b){return mxConstants.GUIDE_COLOR};mxGuide.prototype.hide=function(){this.setVisible(!1)}; -mxGuide.prototype.setVisible=function(a){null!=this.guideX&&(this.guideX.node.style.visibility=a?"visible":"hidden");null!=this.guideY&&(this.guideY.node.style.visibility=a?"visible":"hidden")};mxGuide.prototype.destroy=function(){null!=this.guideX&&(this.guideX.destroy(),this.guideX=null);null!=this.guideY&&(this.guideY.destroy(),this.guideY=null)};function mxShape(a){this.stencil=a;this.initStyles()}mxShape.prototype.dialect=null;mxShape.prototype.scale=1;mxShape.prototype.antiAlias=!0; -mxShape.prototype.minSvgStrokeWidth=1;mxShape.prototype.bounds=null;mxShape.prototype.points=null;mxShape.prototype.node=null;mxShape.prototype.state=null;mxShape.prototype.style=null;mxShape.prototype.boundingBox=null;mxShape.prototype.stencil=null;mxShape.prototype.svgStrokeTolerance=8;mxShape.prototype.pointerEvents=!0;mxShape.prototype.svgPointerEvents="all";mxShape.prototype.shapePointerEvents=!1;mxShape.prototype.stencilPointerEvents=!1;mxShape.prototype.vmlScale=1; -mxShape.prototype.outline=!1;mxShape.prototype.visible=!0;mxShape.prototype.useSvgBoundingBox=!1;mxShape.prototype.init=function(a){null==this.node&&(this.node=this.create(a),null!=a&&a.appendChild(this.node))};mxShape.prototype.initStyles=function(a){this.strokewidth=1;this.rotation=0;this.strokeOpacity=this.fillOpacity=this.opacity=100;this.flipV=this.flipH=!1};mxShape.prototype.isParseVml=function(){return!0};mxShape.prototype.isHtmlAllowed=function(){return!1}; -mxShape.prototype.getSvgScreenOffset=function(){return 1==mxUtils.mod(Math.max(1,Math.round((this.stencil&&"inherit"!=this.stencil.strokewidth?Number(this.stencil.strokewidth):this.strokewidth)*this.scale)),2)?.5:0};mxShape.prototype.create=function(a){return null!=a&&null!=a.ownerSVGElement?this.createSvg(a):8==document.documentMode||!mxClient.IS_VML||this.dialect!=mxConstants.DIALECT_VML&&this.isHtmlAllowed()?this.createHtml(a):this.createVml(a)}; -mxShape.prototype.createSvg=function(){return document.createElementNS(mxConstants.NS_SVG,"g")};mxShape.prototype.createVml=function(){var a=document.createElement(mxClient.VML_PREFIX+":group");a.style.position="absolute";return a};mxShape.prototype.createHtml=function(){var a=document.createElement("div");a.style.position="absolute";return a};mxShape.prototype.reconfigure=function(){this.redraw()}; +u),f.call(this,u.x,u),f.call(this,u.x+u.width,u)),this.vertical&&(e.call(this,u.getCenterY(),u),e.call(this,u.y,u),e.call(this,u.y+u.height,u)));c&&(m||(c=a.x-(this.graph.snap(a.x/d-g.x)+g.x)*d,k=this.graph.snap(k/d)*d-c),q||(c=a.y-(this.graph.snap(a.y/d-g.y)+g.y)*d,l=this.graph.snap(l/d)*d-c));d=this.graph.container;m||null==this.guideX?null!=this.guideX&&(g=c=null,null!=n&&null!=a&&(c=Math.min(a.y+l-this.graph.panDy,n.y),g=Math.max(a.y+a.height+l-this.graph.panDy,n.y+n.height)),this.guideX.points= +null!=c&&null!=g?[new mxPoint(p,c),new mxPoint(p,g)]:[new mxPoint(p,-this.graph.panDy),new mxPoint(p,d.scrollHeight-3-this.graph.panDy)],this.guideX.stroke=this.getGuideColor(n,!0),this.guideX.node.style.visibility="visible",this.guideX.redraw()):this.guideX.node.style.visibility="hidden";q||null==this.guideY?null!=this.guideY&&(g=c=null,null!=r&&null!=a&&(c=Math.min(a.x+k-this.graph.panDx,r.x),g=Math.max(a.x+a.width+k-this.graph.panDx,r.x+r.width)),this.guideY.points=null!=c&&null!=g?[new mxPoint(c, +t),new mxPoint(g,t)]:[new mxPoint(-this.graph.panDx,t),new mxPoint(d.scrollWidth-3-this.graph.panDx,t)],this.guideY.stroke=this.getGuideColor(r,!1),this.guideY.node.style.visibility="visible",this.guideY.redraw()):this.guideY.node.style.visibility="hidden";b=this.getDelta(a,n,k,r,l)}return b};mxGuide.prototype.getDelta=function(a,b,c,d,e){if(this.rounded||null!=b&&null==b.cell)c=Math.floor(a.x+c)-a.x;if(this.rounded||null!=d&&null==d.cell)e=Math.floor(a.y+e)-a.y;return new mxPoint(c,e)}; +mxGuide.prototype.getGuideColor=function(a,b){return mxConstants.GUIDE_COLOR};mxGuide.prototype.hide=function(){this.setVisible(!1)};mxGuide.prototype.setVisible=function(a){null!=this.guideX&&(this.guideX.node.style.visibility=a?"visible":"hidden");null!=this.guideY&&(this.guideY.node.style.visibility=a?"visible":"hidden")};mxGuide.prototype.destroy=function(){null!=this.guideX&&(this.guideX.destroy(),this.guideX=null);null!=this.guideY&&(this.guideY.destroy(),this.guideY=null)}; +function mxShape(a){this.stencil=a;this.initStyles()}mxShape.prototype.dialect=null;mxShape.prototype.scale=1;mxShape.prototype.antiAlias=!0;mxShape.prototype.minSvgStrokeWidth=1;mxShape.prototype.bounds=null;mxShape.prototype.points=null;mxShape.prototype.node=null;mxShape.prototype.state=null;mxShape.prototype.style=null;mxShape.prototype.boundingBox=null;mxShape.prototype.stencil=null;mxShape.prototype.svgStrokeTolerance=8;mxShape.prototype.pointerEvents=!0;mxShape.prototype.svgPointerEvents="all"; +mxShape.prototype.shapePointerEvents=!1;mxShape.prototype.stencilPointerEvents=!1;mxShape.prototype.vmlScale=1;mxShape.prototype.outline=!1;mxShape.prototype.visible=!0;mxShape.prototype.useSvgBoundingBox=!1;mxShape.prototype.init=function(a){null==this.node&&(this.node=this.create(a),null!=a&&a.appendChild(this.node))};mxShape.prototype.initStyles=function(a){this.strokewidth=1;this.rotation=0;this.strokeOpacity=this.fillOpacity=this.opacity=100;this.flipV=this.flipH=!1}; +mxShape.prototype.isParseVml=function(){return!0};mxShape.prototype.isHtmlAllowed=function(){return!1};mxShape.prototype.getSvgScreenOffset=function(){return 1==mxUtils.mod(Math.max(1,Math.round((this.stencil&&"inherit"!=this.stencil.strokewidth?Number(this.stencil.strokewidth):this.strokewidth)*this.scale)),2)?.5:0}; +mxShape.prototype.create=function(a){return null!=a&&null!=a.ownerSVGElement?this.createSvg(a):8==document.documentMode||!mxClient.IS_VML||this.dialect!=mxConstants.DIALECT_VML&&this.isHtmlAllowed()?this.createHtml(a):this.createVml(a)};mxShape.prototype.createSvg=function(){return document.createElementNS(mxConstants.NS_SVG,"g")};mxShape.prototype.createVml=function(){var a=document.createElement(mxClient.VML_PREFIX+":group");a.style.position="absolute";return a}; +mxShape.prototype.createHtml=function(){var a=document.createElement("div");a.style.position="absolute";return a};mxShape.prototype.reconfigure=function(){this.redraw()}; mxShape.prototype.redraw=function(){this.updateBoundsFromPoints();this.visible&&this.checkBounds()?(this.node.style.visibility="visible",this.clear(),"DIV"!=this.node.nodeName||!this.isHtmlAllowed()&&mxClient.IS_VML?this.redrawShape():this.redrawHtmlShape(),this.updateBoundingBox()):(this.node.style.visibility="hidden",this.boundingBox=null)}; mxShape.prototype.clear=function(){if(null!=this.node.ownerSVGElement)for(;null!=this.node.lastChild;)this.node.removeChild(this.node.lastChild);else this.node.style.cssText="position:absolute;"+(null!=this.cursor?"cursor:"+this.cursor+";":""),this.node.innerHTML=""}; mxShape.prototype.updateBoundsFromPoints=function(){var a=this.points;if(null!=a&&0<a.length&&null!=a[0]){this.bounds=new mxRectangle(Number(a[0].x),Number(a[0].y),1,1);for(var b=1;b<this.points.length;b++)null!=a[b]&&this.bounds.add(new mxRectangle(Number(a[b].x),Number(a[b].y),1,1))}}; @@ -580,10 +580,10 @@ function mxArrowConnector(a,b,c,d,e,f,g){mxShape.call(this);this.points=a;this.f mxArrowConnector.prototype.resetStyles=function(){mxShape.prototype.resetStyles.apply(this,arguments);this.arrowSpacing=mxConstants.ARROW_SPACING};mxArrowConnector.prototype.apply=function(a){mxShape.prototype.apply.apply(this,arguments);null!=this.style&&(this.startSize=3*mxUtils.getNumber(this.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5),this.endSize=3*mxUtils.getNumber(this.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5))}; mxArrowConnector.prototype.augmentBoundingBox=function(a){mxShape.prototype.augmentBoundingBox.apply(this,arguments);var b=this.getEdgeWidth();this.isMarkerStart()&&(b=Math.max(b,this.getStartArrowWidth()));this.isMarkerEnd()&&(b=Math.max(b,this.getEndArrowWidth()));a.grow((b/2+this.strokewidth)*this.scale)}; mxArrowConnector.prototype.paintEdgeShape=function(a,b){var c=this.strokewidth;this.outline&&(c=Math.max(1,mxUtils.getNumber(this.style,mxConstants.STYLE_STROKEWIDTH,this.strokewidth)));for(var d=this.getStartArrowWidth()+c,e=this.getEndArrowWidth()+c,f=this.outline?this.getEdgeWidth()+c:this.getEdgeWidth(),g=this.isOpenEnded(),k=this.isMarkerStart(),l=this.isMarkerEnd(),m=g?0:this.arrowSpacing+c/2,n=this.startSize+c,c=this.endSize+c,p=this.isArrowRounded(),q=b[b.length-1],r=1;r<b.length-1&&b[r].x== -b[0].x&&b[r].y==b[0].y;)r++;var t=b[r].x-b[0].x,r=b[r].y-b[0].y,u=Math.sqrt(t*t+r*r);if(0!=u){var x=t/u,y,A=x,z=r/u,v,B=z,u=f*z,C=-f*x,E=[];p?a.setLineJoin("round"):2<b.length&&a.setMiterLimit(1.42);a.begin();t=x;r=z;if(k&&!g)this.paintMarker(a,b[0].x,b[0].y,x,z,n,d,f,m,!0);else{y=b[0].x+u/2+m*x;v=b[0].y+C/2+m*z;var F=b[0].x-u/2+m*x,J=b[0].y-C/2+m*z;g?(a.moveTo(y,v),E.push(function(){a.lineTo(F,J)})):(a.moveTo(F,J),a.lineTo(y,v))}for(var D=v=y=0,u=0;u<b.length-2;u++)if(C=mxUtils.relativeCcw(b[u].x, -b[u].y,b[u+1].x,b[u+1].y,b[u+2].x,b[u+2].y),y=b[u+2].x-b[u+1].x,v=b[u+2].y-b[u+1].y,D=Math.sqrt(y*y+v*v),0!=D&&(A=y/D,B=v/D,tmp=Math.max(Math.sqrt((x*A+z*B+1)/2),.04),y=x+A,v=z+B,D=Math.sqrt(y*y+v*v),0!=D)){y/=D;v/=D;var D=Math.max(tmp,Math.min(this.strokewidth/200+.04,.35)),D=0!=C&&p?Math.max(.1,D):Math.max(tmp,.06),G=b[u+1].x+v*f/2/D,H=b[u+1].y-y*f/2/D;v=b[u+1].x-v*f/2/D;y=b[u+1].y+y*f/2/D;0!=C&&p?-1==C?(C=v+B*f,D=y-A*f,a.lineTo(v+z*f,y-x*f),a.quadTo(G,H,C,D),function(b,c){E.push(function(){a.lineTo(b, -c)})}(v,y)):(a.lineTo(G,H),function(b,c){var d=G-z*f,e=H+x*f,g=G-B*f,k=H+A*f;E.push(function(){a.quadTo(b,c,d,e)});E.push(function(){a.lineTo(g,k)})}(v,y)):(a.lineTo(G,H),function(b,c){E.push(function(){a.lineTo(b,c)})}(v,y));x=A;z=B}u=f*B;C=-f*A;if(l&&!g)this.paintMarker(a,q.x,q.y,-x,-z,c,e,f,m,!1);else{a.lineTo(q.x-m*A+u/2,q.y-m*B+C/2);var I=q.x-m*A-u/2,K=q.y-m*B-C/2;g?(a.moveTo(I,K),E.splice(0,0,function(){a.moveTo(I,K)})):a.lineTo(I,K)}for(u=E.length-1;0<=u;u--)E[u]();g?(a.end(),a.stroke()):(a.close(), -a.fillAndStroke());a.setShadow(!1);a.setMiterLimit(4);p&&a.setLineJoin("flat");2<b.length&&(a.setMiterLimit(4),k&&!g&&(a.begin(),this.paintMarker(a,b[0].x,b[0].y,t,r,n,d,f,m,!0),a.stroke(),a.end()),l&&!g&&(a.begin(),this.paintMarker(a,q.x,q.y,-x,-z,c,e,f,m,!0),a.stroke(),a.end()))}}; +b[0].x&&b[r].y==b[0].y;)r++;var t=b[r].x-b[0].x,r=b[r].y-b[0].y,u=Math.sqrt(t*t+r*r);if(0!=u){var x=t/u,y,A=x,z=r/u,v,B=z,u=f*z,C=-f*x,E=[];p?a.setLineJoin("round"):2<b.length&&a.setMiterLimit(1.42);a.begin();t=x;r=z;if(k&&!g)this.paintMarker(a,b[0].x,b[0].y,x,z,n,d,f,m,!0);else{y=b[0].x+u/2+m*x;v=b[0].y+C/2+m*z;var G=b[0].x-u/2+m*x,J=b[0].y-C/2+m*z;g?(a.moveTo(y,v),E.push(function(){a.lineTo(G,J)})):(a.moveTo(G,J),a.lineTo(y,v))}for(var D=v=y=0,u=0;u<b.length-2;u++)if(C=mxUtils.relativeCcw(b[u].x, +b[u].y,b[u+1].x,b[u+1].y,b[u+2].x,b[u+2].y),y=b[u+2].x-b[u+1].x,v=b[u+2].y-b[u+1].y,D=Math.sqrt(y*y+v*v),0!=D){A=y/D;B=v/D;D=Math.max(Math.sqrt((x*A+z*B+1)/2),.04);y=x+A;v=z+B;var H=Math.sqrt(y*y+v*v);if(0!=H){y/=H;v/=H;var H=Math.max(D,Math.min(this.strokewidth/200+.04,.35)),D=0!=C&&p?Math.max(.1,H):Math.max(D,.06),I=b[u+1].x+v*f/2/D,F=b[u+1].y-y*f/2/D;v=b[u+1].x-v*f/2/D;y=b[u+1].y+y*f/2/D;0!=C&&p?-1==C?(C=v+B*f,D=y-A*f,a.lineTo(v+z*f,y-x*f),a.quadTo(I,F,C,D),function(b,c){E.push(function(){a.lineTo(b, +c)})}(v,y)):(a.lineTo(I,F),function(b,c){var d=I-z*f,e=F+x*f,g=I-B*f,k=F+A*f;E.push(function(){a.quadTo(b,c,d,e)});E.push(function(){a.lineTo(g,k)})}(v,y)):(a.lineTo(I,F),function(b,c){E.push(function(){a.lineTo(b,c)})}(v,y));x=A;z=B}}u=f*B;C=-f*A;if(l&&!g)this.paintMarker(a,q.x,q.y,-x,-z,c,e,f,m,!1);else{a.lineTo(q.x-m*A+u/2,q.y-m*B+C/2);var K=q.x-m*A-u/2,L=q.y-m*B-C/2;g?(a.moveTo(K,L),E.splice(0,0,function(){a.moveTo(K,L)})):a.lineTo(K,L)}for(u=E.length-1;0<=u;u--)E[u]();g?(a.end(),a.stroke()): +(a.close(),a.fillAndStroke());a.setShadow(!1);a.setMiterLimit(4);p&&a.setLineJoin("flat");2<b.length&&(a.setMiterLimit(4),k&&!g&&(a.begin(),this.paintMarker(a,b[0].x,b[0].y,t,r,n,d,f,m,!0),a.stroke(),a.end()),l&&!g&&(a.begin(),this.paintMarker(a,q.x,q.y,-x,-z,c,e,f,m,!0),a.stroke(),a.end()))}}; mxArrowConnector.prototype.paintMarker=function(a,b,c,d,e,f,g,k,l,m){g=k/g;var n=k*e/2;k=-k*d/2;var p=(l+f)*d;f=(l+f)*e;m?a.moveTo(b-n+p,c-k+f):a.lineTo(b-n+p,c-k+f);a.lineTo(b-n/g+p,c-k/g+f);a.lineTo(b+l*d,c+l*e);a.lineTo(b+n/g+p,c+k/g+f);a.lineTo(b+n+p,c+k+f)};mxArrowConnector.prototype.isArrowRounded=function(){return this.isRounded};mxArrowConnector.prototype.getStartArrowWidth=function(){return mxConstants.ARROW_WIDTH};mxArrowConnector.prototype.getEndArrowWidth=function(){return mxConstants.ARROW_WIDTH}; mxArrowConnector.prototype.getEdgeWidth=function(){return mxConstants.ARROW_WIDTH/3};mxArrowConnector.prototype.isOpenEnded=function(){return!1};mxArrowConnector.prototype.isMarkerStart=function(){return mxUtils.getValue(this.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants.NONE};mxArrowConnector.prototype.isMarkerEnd=function(){return mxUtils.getValue(this.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE}; function mxText(a,b,c,d,e,f,g,k,l,m,n,p,q,r,t,u,x,y,A,z,v){mxShape.call(this);this.value=a;this.bounds=b;this.color=null!=e?e:"black";this.align=null!=c?c:mxConstants.ALIGN_CENTER;this.valign=null!=d?d:mxConstants.ALIGN_MIDDLE;this.family=null!=f?f:mxConstants.DEFAULT_FONTFAMILY;this.size=null!=g?g:mxConstants.DEFAULT_FONTSIZE;this.fontStyle=null!=k?k:mxConstants.DEFAULT_FONTSTYLE;this.spacing=parseInt(l||2);this.spacingTop=this.spacing+parseInt(m||0);this.spacingRight=this.spacing+parseInt(n||0); @@ -949,8 +949,8 @@ k.writeln(l);mxClient.IS_VML?k.writeln('<html xmlns:v="urn:schemas-microsoft-com q.y*this.scale,m.width+=m.x,m.height+=m.y,m.x=0,this.border=m.y=0);var r=this.pageFormat.width-2*this.border,t=this.pageFormat.height-2*this.border;this.pageFormat.height+=this.marginTop+this.marginBottom;m.width/=p;m.height/=p;var u=Math.max(1,Math.ceil((m.width+this.x0)/r)),x=Math.max(1,Math.ceil((m.height+this.y0)/t));this.pageCount=u*x;var y=mxUtils.bind(this,function(){if(this.pageSelector&&(1<x||1<u)){var a=this.createPageSelector(x,u);k.body.appendChild(a);if(mxClient.IS_IE&&null==k.documentMode|| 5==k.documentMode||8==k.documentMode||7==k.documentMode){a.style.position="absolute";var b=function(){a.style.top=(k.body.scrollTop||k.documentElement.scrollTop)+10+"px"};mxEvent.addListener(this.wnd,"scroll",function(a){b()});mxEvent.addListener(this.wnd,"resize",function(a){b()})}}}),A=mxUtils.bind(this,function(a,b){null!=this.borderColor&&(a.style.borderColor=this.borderColor,a.style.borderStyle="solid",a.style.borderWidth="1px");a.style.background=this.backgroundColor;if(c||b)a.style.pageBreakAfter= "always";if(g&&(mxClient.IS_IE||11<=document.documentMode||mxClient.IS_EDGE))k.writeln(a.outerHTML),a.parentNode.removeChild(a);else if(mxClient.IS_IE||11<=document.documentMode||mxClient.IS_EDGE){var d=k.createElement("div");d.innerHTML=a.outerHTML;d=d.getElementsByTagName("div")[0];k.body.appendChild(d);a.parentNode.removeChild(a)}else a.parentNode.removeChild(a),k.body.appendChild(a);(c||b)&&this.addPageBreak(k)}),z=this.getCoverPages(this.pageFormat.width,this.pageFormat.height);if(null!=z)for(var v= -0;v<z.length;v++)A(z[v],!0);for(var B=this.getAppendices(this.pageFormat.width,this.pageFormat.height),v=0;v<x;v++){var C=v*t/this.scale-this.y0/this.scale+(m.y-q.y*n)/n;for(a=0;a<u;a++){if(null==this.wnd)return null;var E=a*r/this.scale-this.x0/this.scale+(m.x-q.x*n)/n,F=v*u+a+1,J=new mxRectangle(E,C,r,t),f=this.renderPage(this.pageFormat.width,this.pageFormat.height,0,0,mxUtils.bind(this,function(a){this.addGraphFragment(-E,-C,this.scale,F,a,J);this.printBackgroundImage&&this.insertBackgroundImage(a, --E,-C)}),F);f.setAttribute("id","mxPage-"+F);A(f,null!=B||v<x-1||a<u-1)}}if(null!=B)for(v=0;v<B.length;v++)A(B[v],v<B.length-1);g&&!d&&(this.closeDocument(),y());this.wnd.focus()}catch(D){null!=f&&null!=f.parentNode&&f.parentNode.removeChild(f)}finally{this.graph.cellRenderer.initializeOverlay=e}return this.wnd};mxPrintPreview.prototype.addPageBreak=function(a){var b=a.createElement("hr");b.className="mxPageBreak";a.body.appendChild(b)}; +0;v<z.length;v++)A(z[v],!0);for(var B=this.getAppendices(this.pageFormat.width,this.pageFormat.height),v=0;v<x;v++){var C=v*t/this.scale-this.y0/this.scale+(m.y-q.y*n)/n;for(a=0;a<u;a++){if(null==this.wnd)return null;var E=a*r/this.scale-this.x0/this.scale+(m.x-q.x*n)/n,G=v*u+a+1,J=new mxRectangle(E,C,r,t),f=this.renderPage(this.pageFormat.width,this.pageFormat.height,0,0,mxUtils.bind(this,function(a){this.addGraphFragment(-E,-C,this.scale,G,a,J);this.printBackgroundImage&&this.insertBackgroundImage(a, +-E,-C)}),G);f.setAttribute("id","mxPage-"+G);A(f,null!=B||v<x-1||a<u-1)}}if(null!=B)for(v=0;v<B.length;v++)A(B[v],v<B.length-1);g&&!d&&(this.closeDocument(),y());this.wnd.focus()}catch(D){null!=f&&null!=f.parentNode&&f.parentNode.removeChild(f)}finally{this.graph.cellRenderer.initializeOverlay=e}return this.wnd};mxPrintPreview.prototype.addPageBreak=function(a){var b=a.createElement("hr");b.className="mxPageBreak";a.body.appendChild(b)}; mxPrintPreview.prototype.closeDocument=function(){try{if(null!=this.wnd&&null!=this.wnd.document){var a=this.wnd.document;this.writePostfix(a);a.writeln("</body>");a.writeln("</html>");a.close();mxEvent.release(a.body)}}catch(b){}}; mxPrintPreview.prototype.writeHead=function(a,b){null!=this.title&&a.writeln("<title>"+this.title+"</title>");mxClient.IS_VML&&a.writeln('<style type="text/css">v\\:*{behavior:url(#default#VML)}o\\:*{behavior:url(#default#VML)}</style>');mxClient.link("stylesheet",mxClient.basePath+"/css/common.css",a);a.writeln('<style type="text/css">');a.writeln("@media print {");a.writeln(" * { -webkit-print-color-adjust: exact; }");a.writeln(" table.mxPageSelector { display: none; }");a.writeln(" hr.mxPageBreak { display: none; }"); a.writeln("}");a.writeln("@media screen {");a.writeln(" table.mxPageSelector { position: fixed; right: 10px; top: 10px;font-family: Arial; font-size:10pt; border: solid 1px darkgray;background: white; border-collapse:collapse; }");a.writeln(" table.mxPageSelector td { border: solid 1px gray; padding:4px; }");a.writeln(" body.mxPage { background: gray; }");a.writeln("}");null!=b&&a.writeln(b);a.writeln("</style>")};mxPrintPreview.prototype.writePostfix=function(a){}; @@ -960,11 +960,11 @@ mxPrintPreview.prototype.renderPage=function(a,b,c,d,e,f){f=this.wnd.document;va "relative";m.style.marginLeft=c+"px";m.style.marginTop=d+"px";8==f.documentMode&&(l.style.position="absolute",m.style.position="absolute");10==f.documentMode&&(m.style.width="100%",m.style.height="100%");l.appendChild(m);g.appendChild(l);document.body.appendChild(g);k=m}else g.style.width=a+"px",g.style.height=b+"px",g.style.overflow="hidden",g.style.pageBreakInside="avoid",8==f.documentMode&&(g.style.position="relative"),l=document.createElement("div"),l.style.width=a-2*this.border+"px",l.style.height= b-2*this.border+"px",l.style.overflow="hidden",!mxClient.IS_IE||null!=f.documentMode&&5!=f.documentMode&&8!=f.documentMode&&7!=f.documentMode?(l.style.top=this.border+"px",l.style.left=this.border+"px"):(l.style.marginTop=this.border+"px",l.style.marginLeft=this.border+"px"),this.graph.dialect==mxConstants.DIALECT_VML&&(l.style.position="absolute"),g.appendChild(l),document.body.appendChild(g),k=l}catch(n){throw g.parentNode.removeChild(g),n;}e(k);return g}; mxPrintPreview.prototype.getRoot=function(){var a=this.graph.view.currentRoot;null==a&&(a=this.graph.getModel().getRoot());return a}; -mxPrintPreview.prototype.addGraphFragment=function(a,b,c,d,e,f){var g=this.graph.getView();d=this.graph.container;this.graph.container=e;var k=g.getCanvas(),l=g.getBackgroundPane(),m=g.getDrawPane(),n=g.getOverlayPane();if(this.graph.dialect==mxConstants.DIALECT_SVG){if(g.createSvg(),!mxClient.NO_FO){var p=g.getDrawPane().parentNode;p.getAttribute("transform");p.setAttribute("transformOrigin","0 0");p.setAttribute("transform","scale("+c+","+c+")translate("+a+","+b+")");c=1;b=a=0}}else this.graph.dialect== -mxConstants.DIALECT_VML?g.createVml():g.createHtml();p=g.isEventsEnabled();g.setEventsEnabled(!1);var q=this.graph.isEnabled();this.graph.setEnabled(!1);var r=g.getTranslate();g.translate=new mxPoint(a,b);var t=this.graph.cellRenderer.redraw,u=g.states;a=g.scale;if(this.clipping){var x=new mxRectangle((f.x+r.x)*a,(f.y+r.y)*a,f.width*a/c,f.height*a/c);this.graph.cellRenderer.redraw=function(a,b,c){if(null!=a){var d=u.get(a.cell);null!=d&&(d=g.getBoundingBox(d,!1),null==d||mxUtils.intersects(x,d))}t.apply(this, -arguments)}}a=null;try{var y=[this.getRoot()];a=new mxTemporaryCellStates(g,c,y,null,mxUtils.bind(this,function(a){return this.getLinkForCellState(a)}))}finally{if(mxClient.IS_IE)g.overlayPane.innerHTML="",g.canvas.style.overflow="hidden",g.canvas.style.position="relative",g.canvas.style.top=this.marginTop+"px",g.canvas.style.width=f.width+"px",g.canvas.style.height=f.height+"px";else for(c=e.firstChild;null!=c;)y=c.nextSibling,b=c.nodeName.toLowerCase(),"svg"==b?(c.style.overflow="hidden",c.style.position= -"relative",c.style.top=this.marginTop+"px",c.setAttribute("width",f.width),c.setAttribute("height",f.height),c.style.width="",c.style.height=""):"default"!=c.style.cursor&&"div"!=b&&c.parentNode.removeChild(c),c=y;this.printBackgroundImage&&(e=e.getElementsByTagName("svg"),0<e.length&&(e[0].style.position="absolute"));g.overlayPane.parentNode.removeChild(g.overlayPane);this.graph.setEnabled(q);this.graph.container=d;this.graph.cellRenderer.redraw=t;g.canvas=k;g.backgroundPane=l;g.drawPane=m;g.overlayPane= -n;g.translate=r;a.destroy();g.setEventsEnabled(p)}};mxPrintPreview.prototype.getLinkForCellState=function(a){return this.graph.getLinkForCell(a.cell)}; +mxPrintPreview.prototype.addGraphFragment=function(a,b,c,d,e,f){var g=this.graph.getView();d=this.graph.container;this.graph.container=e;var k=g.getCanvas(),l=g.getBackgroundPane(),m=g.getDrawPane(),n=g.getOverlayPane(),p=c;if(this.graph.dialect==mxConstants.DIALECT_SVG){if(g.createSvg(),!mxClient.NO_FO){var q=g.getDrawPane().parentNode;q.getAttribute("transform");q.setAttribute("transformOrigin","0 0");q.setAttribute("transform","scale("+c+","+c+")translate("+a+","+b+")");c=1;b=a=0}}else this.graph.dialect== +mxConstants.DIALECT_VML?g.createVml():g.createHtml();q=g.isEventsEnabled();g.setEventsEnabled(!1);var r=this.graph.isEnabled();this.graph.setEnabled(!1);var t=g.getTranslate();g.translate=new mxPoint(a,b);var u=this.graph.cellRenderer.redraw,x=g.states;a=g.scale;if(this.clipping){var y=new mxRectangle((f.x+t.x)*a,(f.y+t.y)*a,f.width*a/p,f.height*a/p);this.graph.cellRenderer.redraw=function(a,b,c){if(null!=a){var d=x.get(a.cell);if(null!=d&&(d=g.getBoundingBox(d,!1),null!=d&&!mxUtils.intersects(y, +d)))return}u.apply(this,arguments)}}a=null;try{var A=[this.getRoot()];a=new mxTemporaryCellStates(g,c,A,null,mxUtils.bind(this,function(a){return this.getLinkForCellState(a)}))}finally{if(mxClient.IS_IE)g.overlayPane.innerHTML="",g.canvas.style.overflow="hidden",g.canvas.style.position="relative",g.canvas.style.top=this.marginTop+"px",g.canvas.style.width=f.width+"px",g.canvas.style.height=f.height+"px";else for(c=e.firstChild;null!=c;)A=c.nextSibling,b=c.nodeName.toLowerCase(),"svg"==b?(c.style.overflow= +"hidden",c.style.position="relative",c.style.top=this.marginTop+"px",c.setAttribute("width",f.width),c.setAttribute("height",f.height),c.style.width="",c.style.height=""):"default"!=c.style.cursor&&"div"!=b&&c.parentNode.removeChild(c),c=A;this.printBackgroundImage&&(e=e.getElementsByTagName("svg"),0<e.length&&(e[0].style.position="absolute"));g.overlayPane.parentNode.removeChild(g.overlayPane);this.graph.setEnabled(r);this.graph.container=d;this.graph.cellRenderer.redraw=u;g.canvas=k;g.backgroundPane= +l;g.drawPane=m;g.overlayPane=n;g.translate=t;a.destroy();g.setEventsEnabled(q)}};mxPrintPreview.prototype.getLinkForCellState=function(a){return this.graph.getLinkForCell(a.cell)}; mxPrintPreview.prototype.insertBackgroundImage=function(a,b,c){var d=this.graph.backgroundImage;if(null!=d){var e=document.createElement("img");e.style.position="absolute";e.style.marginLeft=Math.round(b*this.scale)+"px";e.style.marginTop=Math.round(c*this.scale)+"px";e.setAttribute("width",Math.round(this.scale*d.width));e.setAttribute("height",Math.round(this.scale*d.height));e.src=d.src;a.insertBefore(e,a.firstChild)}};mxPrintPreview.prototype.getCoverPages=function(){return null}; mxPrintPreview.prototype.getAppendices=function(){return null};mxPrintPreview.prototype.print=function(a){a=this.open(a);null!=a&&a.print()};mxPrintPreview.prototype.close=function(){null!=this.wnd&&(this.wnd.close(),this.wnd=null)};function mxStylesheet(){this.styles={};this.putDefaultVertexStyle(this.createDefaultVertexStyle());this.putDefaultEdgeStyle(this.createDefaultEdgeStyle())} mxStylesheet.prototype.createDefaultVertexStyle=function(){var a={};a[mxConstants.STYLE_SHAPE]=mxConstants.SHAPE_RECTANGLE;a[mxConstants.STYLE_PERIMETER]=mxPerimeter.RectanglePerimeter;a[mxConstants.STYLE_VERTICAL_ALIGN]=mxConstants.ALIGN_MIDDLE;a[mxConstants.STYLE_ALIGN]=mxConstants.ALIGN_CENTER;a[mxConstants.STYLE_FILLCOLOR]="#C3D9FF";a[mxConstants.STYLE_STROKECOLOR]="#6482B9";a[mxConstants.STYLE_FONTCOLOR]="#774400";return a}; @@ -1059,8 +1059,8 @@ mxCellRenderer.prototype.getLabelBounds=function(a){var b=a.view.graph,c=a.view. mxConstants.NONE),b!=mxConstants.NONE&&""!=b&&(f=parseFloat(mxUtils.getValue(a.style,mxConstants.STYLE_STROKEWIDTH,1))*c,b=1+Math.floor((f-1)/2),f=Math.floor(f+1),e.x+=b,e.y+=b,e.width-=f,e.height-=f);a.text.isPaintBoundsInverted()&&(b=(a.width-a.height)/2,e.x+=b,e.y-=b,b=e.width,e.width=e.height,e.height=b);null!=a.shape&&(b=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),f=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE), b==mxConstants.ALIGN_CENTER&&f==mxConstants.ALIGN_MIDDLE&&(e=a.shape.getLabelBounds(e)));b=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_WIDTH,null);null!=b&&(e.width=parseFloat(b)*c);d||this.rotateLabelBounds(a,e);return e}; mxCellRenderer.prototype.rotateLabelBounds=function(a,b){b.y-=a.text.margin.y*b.height;b.x-=a.text.margin.x*b.width;if(!this.legacySpacing||"fill"!=a.style[mxConstants.STYLE_OVERFLOW]&&"width"!=a.style[mxConstants.STYLE_OVERFLOW]){var c=a.view.scale,d=a.text.getSpacing();b.x+=d.x*c;b.y+=d.y*c;var d=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),e=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),f=mxUtils.getValue(a.style, -mxConstants.STYLE_LABEL_WIDTH,null);b.width=Math.max(0,b.width-(d==mxConstants.ALIGN_CENTER&&null==f?a.text.spacingLeft*c+a.text.spacingRight*c:0));b.height=Math.max(0,b.height-(e==mxConstants.ALIGN_MIDDLE?a.text.spacingTop*c+a.text.spacingBottom*c:0))}e=a.text.getTextRotation();0!=e&&null!=a&&a.view.graph.model.isVertex(a.cell)&&(c=a.getCenterX(),d=a.getCenterY(),b.x!=c||b.y!=d)&&(e*=Math.PI/180,pt=mxUtils.getRotatedPoint(new mxPoint(b.x,b.y),Math.cos(e),Math.sin(e),new mxPoint(c,d)),b.x=pt.x,b.y= -pt.y)}; +mxConstants.STYLE_LABEL_WIDTH,null);b.width=Math.max(0,b.width-(d==mxConstants.ALIGN_CENTER&&null==f?a.text.spacingLeft*c+a.text.spacingRight*c:0));b.height=Math.max(0,b.height-(e==mxConstants.ALIGN_MIDDLE?a.text.spacingTop*c+a.text.spacingBottom*c:0))}e=a.text.getTextRotation();0!=e&&null!=a&&a.view.graph.model.isVertex(a.cell)&&(c=a.getCenterX(),d=a.getCenterY(),b.x!=c||b.y!=d)&&(e*=Math.PI/180,c=mxUtils.getRotatedPoint(new mxPoint(b.x,b.y),Math.cos(e),Math.sin(e),new mxPoint(c,d)),b.x=c.x,b.y= +c.y)}; mxCellRenderer.prototype.redrawCellOverlays=function(a,b){this.createCellOverlays(a);if(null!=a.overlays){var c=mxUtils.mod(mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,0),90),d=mxUtils.toRadians(c),e=Math.cos(d),f=Math.sin(d);a.overlays.visit(function(d,k){var g=k.overlay.getBounds(a);if(!a.view.graph.getModel().isEdge(a.cell)&&null!=a.shape&&0!=c){var m=g.getCenterX(),n=g.getCenterY(),n=mxUtils.getRotatedPoint(new mxPoint(m,n),e,f,new mxPoint(a.getCenterX(),a.getCenterY())),m=n.x,n=n.y;g.x= Math.round(m-g.width/2);g.y=Math.round(n-g.height/2)}if(b||null==k.bounds||k.scale!=a.view.scale||!k.bounds.equals(g))k.bounds=g,k.scale=a.view.scale,k.redraw()})}}; mxCellRenderer.prototype.redrawControl=function(a,b){var c=a.view.graph.getFoldingImage(a);if(null!=a.control&&null!=c){var c=this.getControlBounds(a,c.width,c.height),d=this.legacyControlPosition?mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,0):a.shape.getTextRotation(),e=a.view.scale;if(b||a.control.scale!=e||!a.control.bounds.equals(c)||a.control.rotation!=d)a.control.rotation=d,a.control.bounds=c,a.control.scale=e,a.control.redraw()}}; @@ -1969,8 +1969,8 @@ jscolor.picker.btn.appendChild(jscolor.picker.btnS);jscolor.picker.box.appendChi jscolor.fireEvent(u,"change"))};l.padM.onmousedown=function(a){switch(t){case 0:0===r.hsv[2]&&r.fromHSV(null,null,1);break;case 1:0===r.hsv[1]&&r.fromHSV(null,1,null)}y=!0;m(a);p()};l.sldM.onmouseup=l.sldM.onmouseout=function(){A&&(A=!1,jscolor.fireEvent(u,"change"))};l.sldM.onmousedown=function(a){A=!0;n(a);p()};d=e(r);l.box.style.width=d[0]+"px";l.box.style.height=d[1]+"px";l.boxB.style.position="absolute";l.boxB.style.clear="both";l.boxB.style.left=b+"px";l.boxB.style.top=c+"px";l.boxB.style.zIndex= r.pickerZIndex;l.boxB.style.border=r.pickerBorder+"px solid";l.boxB.style.borderColor=r.pickerBorderColor;l.boxB.style.background=r.pickerFaceColor;l.pad.style.width=jscolor.images.pad[0]+"px";l.pad.style.height=jscolor.images.pad[1]+"px";l.padB.style.position="absolute";l.padB.style.left=r.pickerFace+"px";l.padB.style.top=r.pickerFace+"px";l.padB.style.border=r.pickerInset+"px solid";l.padB.style.borderColor=r.pickerInsetColor;l.padM.style.position="absolute";l.padM.style.left="0";l.padM.style.top= "0";l.padM.style.width=r.pickerFace+2*r.pickerInset+jscolor.images.pad[0]+jscolor.images.arrow[0]+"px";l.padM.style.height=l.box.style.height;l.padM.style.cursor="crosshair";l.sld.style.overflow="hidden";l.sld.style.width=jscolor.images.sld[0]+"px";l.sld.style.height=jscolor.images.sld[1]+"px";l.sldB.style.display=r.slider?"block":"none";l.sldB.style.position="absolute";l.sldB.style.right=r.pickerFace+"px";l.sldB.style.top=r.pickerFace+"px";l.sldB.style.border=r.pickerInset+"px solid";l.sldB.style.borderColor= -r.pickerInsetColor;l.sldM.style.display=r.slider?"block":"none";l.sldM.style.position="absolute";l.sldM.style.right="0";l.sldM.style.top="0";l.sldM.style.width=jscolor.images.sld[0]+jscolor.images.arrow[0]+r.pickerFace+2*r.pickerInset+"px";l.sldM.style.height=l.box.style.height;try{l.sldM.style.cursor="pointer"}catch(I){l.sldM.style.cursor="hand"}l.btn.style.display=r.pickerClosable?"block":"none";l.btn.style.position="absolute";l.btn.style.left=r.pickerFace+"px";l.btn.style.bottom=r.pickerFace+"px"; -l.btn.style.padding="0 15px";l.btn.style.height="18px";l.btn.style.border=r.pickerInset+"px solid";(function(){var a=r.pickerInsetColor.split(/\s+/);l.btn.style.borderColor=2>a.length?a[0]:a[1]+" "+a[0]+" "+a[0]+" "+a[1]})();l.btn.style.color=r.pickerButtonColor;l.btn.style.font="12px sans-serif";l.btn.style.textAlign="center";try{l.btn.style.cursor="pointer"}catch(I){l.btn.style.cursor="hand"}l.btn.onmousedown=function(){r.hidePicker()};l.btnS.style.lineHeight=l.btn.style.height;switch(t){case 0:var q= +r.pickerInsetColor;l.sldM.style.display=r.slider?"block":"none";l.sldM.style.position="absolute";l.sldM.style.right="0";l.sldM.style.top="0";l.sldM.style.width=jscolor.images.sld[0]+jscolor.images.arrow[0]+r.pickerFace+2*r.pickerInset+"px";l.sldM.style.height=l.box.style.height;try{l.sldM.style.cursor="pointer"}catch(F){l.sldM.style.cursor="hand"}l.btn.style.display=r.pickerClosable?"block":"none";l.btn.style.position="absolute";l.btn.style.left=r.pickerFace+"px";l.btn.style.bottom=r.pickerFace+"px"; +l.btn.style.padding="0 15px";l.btn.style.height="18px";l.btn.style.border=r.pickerInset+"px solid";(function(){var a=r.pickerInsetColor.split(/\s+/);l.btn.style.borderColor=2>a.length?a[0]:a[1]+" "+a[0]+" "+a[0]+" "+a[1]})();l.btn.style.color=r.pickerButtonColor;l.btn.style.font="12px sans-serif";l.btn.style.textAlign="center";try{l.btn.style.cursor="pointer"}catch(F){l.btn.style.cursor="hand"}l.btn.onmousedown=function(){r.hidePicker()};l.btnS.style.lineHeight=l.btn.style.height;switch(t){case 0:var q= "hs.png";break;case 1:q="hv.png"}l.padM.style.backgroundImage="url(data:image/gif;base64,R0lGODlhDwAPAKEBAAAAAP///////////yH5BAEKAAIALAAAAAAPAA8AAAIklB8Qx53b4otSUWcvyiz4/4AeQJbmKY4p1HHapBlwPL/uVRsFADs=)";l.padM.style.backgroundRepeat="no-repeat";l.sldM.style.backgroundImage="url(data:image/gif;base64,R0lGODlhBwALAKECAAAAAP///6g8eKg8eCH5BAEKAAIALAAAAAAHAAsAAAITTIQYcLnsgGxvijrxqdQq6DRJAQA7)";l.sldM.style.backgroundRepeat="no-repeat";l.pad.style.backgroundImage="url('"+jscolor.getDir()+q+"')";l.pad.style.backgroundRepeat= "no-repeat";l.pad.style.backgroundPosition="0 0";f();g();jscolor.picker.owner=r;document.getElementsByTagName("body")[0].appendChild(l.boxB)}function e(a){return[2*a.pickerInset+2*a.pickerFace+jscolor.images.pad[0]+(a.slider?2*a.pickerInset+2*jscolor.images.arrow[0]+jscolor.images.sld[0]:0),a.pickerClosable?4*a.pickerInset+3*a.pickerFace+jscolor.images.pad[1]+a.pickerButtonHeight:2*a.pickerInset+2*a.pickerFace+jscolor.images.pad[1]]}function f(){switch(t){case 0:var a=1;break;case 1:a=2}jscolor.picker.padM.style.backgroundPosition= r.pickerFace+r.pickerInset+Math.round(r.hsv[0]/6*(jscolor.images.pad[0]-1))-Math.floor(jscolor.images.cross[0]/2)+"px "+(r.pickerFace+r.pickerInset+Math.round((1-r.hsv[a])*(jscolor.images.pad[1]-1))-Math.floor(jscolor.images.cross[1]/2))+"px";a=jscolor.picker.sld.childNodes;switch(t){case 0:for(var b=c(r.hsv[0],r.hsv[1],1),d=0;d<a.length;d+=1)a[d].style.backgroundColor="rgb("+b[0]*(1-d/a.length)*100+"%,"+b[1]*(1-d/a.length)*100+"%,"+b[2]*(1-d/a.length)*100+"%)";break;case 1:var e,f=[r.hsv[2],0,0], @@ -2024,11 +2024,11 @@ Editor.prototype.setFilename=function(a){this.filename=a}; Editor.prototype.createUndoManager=function(){var a=this.graph,b=new mxUndoManager;this.undoListener=function(a,f){b.undoableEditHappened(f.getProperty("edit"))};var f=mxUtils.bind(this,function(a,b){this.undoListener.apply(this,arguments)});a.getModel().addListener(mxEvent.UNDO,f);a.getView().addListener(mxEvent.UNDO,f);f=function(b,f){var d=a.getSelectionCellsForChanges(f.getProperty("edit").changes);a.getModel();for(var l=[],v=0;v<d.length;v++)null!=a.view.getState(d[v])&&l.push(d[v]);a.setSelectionCells(l)}; b.addListener(mxEvent.UNDO,f);b.addListener(mxEvent.REDO,f);return b};Editor.prototype.initStencilRegistry=function(){};Editor.prototype.destroy=function(){null!=this.graph&&(this.graph.destroy(),this.graph=null)};OpenFile=function(a){this.consumer=this.producer=null;this.done=a;this.args=null};OpenFile.prototype.setConsumer=function(a){this.consumer=a;this.execute()};OpenFile.prototype.setData=function(){this.args=arguments;this.execute()};OpenFile.prototype.error=function(a){this.cancel(!0);mxUtils.alert(a)}; OpenFile.prototype.execute=function(){null!=this.consumer&&null!=this.args&&(this.cancel(!1),this.consumer.apply(this,this.args))};OpenFile.prototype.cancel=function(a){null!=this.done&&this.done(null!=a?a:!0)}; -function Dialog(a,b,f,d,l,m,p,v,y,B,c){var e=0;mxClient.IS_VML&&(null==document.documentMode||8>document.documentMode)&&(e=80);f+=e;d+=e;var k=f,u=d,n=mxUtils.getDocumentSize(),g=n.height,z=Math.max(1,Math.round((n.width-f-64)/2)),A=Math.max(1,Math.round((g-d-a.footerHeight)/3));mxClient.IS_QUIRKS||(b.style.maxHeight="100%");f=null!=document.body?Math.min(f,document.body.scrollWidth-64):f;d=Math.min(d,g-64);0<a.dialogs.length&&(this.zIndex+=2*a.dialogs.length);null==this.bg&&(this.bg=a.createDiv("background"), -this.bg.style.position="absolute",this.bg.style.background=Dialog.backdropColor,this.bg.style.height=g+"px",this.bg.style.right="0px",this.bg.style.zIndex=this.zIndex-2,mxUtils.setOpacity(this.bg,this.bgOpacity),mxClient.IS_QUIRKS&&new mxDivResizer(this.bg));n=mxUtils.getDocumentScrollOrigin(document);this.bg.style.left=n.x+"px";this.bg.style.top=n.y+"px";z+=n.x;A+=n.y;l&&document.body.appendChild(this.bg);var q=a.createDiv(y?"geTransDialog":"geDialog");l=this.getPosition(z,A,f,d);z=l.x;A=l.y;q.style.width= -f+"px";q.style.height=d+"px";q.style.left=z+"px";q.style.top=A+"px";q.style.zIndex=this.zIndex;q.appendChild(b);document.body.appendChild(q);!v&&b.clientHeight>q.clientHeight-64&&(b.style.overflowY="auto");m&&(m=document.createElement("img"),m.setAttribute("src",Dialog.prototype.closeImage),m.setAttribute("title",mxResources.get("close")),m.className="geDialogClose",m.style.top=A+14+"px",m.style.left=z+f+38-e+"px",m.style.zIndex=this.zIndex,mxEvent.addListener(m,"click",mxUtils.bind(this,function(){a.hideDialog(!0)})), -document.body.appendChild(m),this.dialogImg=m,c||mxEvent.addGestureListeners(this.bg,null,null,mxUtils.bind(this,function(c){a.hideDialog(!0)})));this.resizeListener=mxUtils.bind(this,function(){if(null!=B){var c=B();null!=c&&(k=f=c.w,u=d=c.h)}c=mxUtils.getDocumentSize();g=c.height;this.bg.style.height=g+"px";z=Math.max(1,Math.round((c.width-f-64)/2));A=Math.max(1,Math.round((g-d-a.footerHeight)/3));f=null!=document.body?Math.min(k,document.body.scrollWidth-64):k;d=Math.min(u,g-64);c=this.getPosition(z, -A,f,d);z=c.x;A=c.y;q.style.left=z+"px";q.style.top=A+"px";q.style.width=f+"px";q.style.height=d+"px";!v&&b.clientHeight>q.clientHeight-64&&(b.style.overflowY="auto");null!=this.dialogImg&&(this.dialogImg.style.top=A+14+"px",this.dialogImg.style.left=z+f+38-e+"px")});mxEvent.addListener(window,"resize",this.resizeListener);this.onDialogClose=p;this.container=q;a.editor.fireEvent(new mxEventObject("showDialog"))}Dialog.backdropColor="white";Dialog.prototype.zIndex=mxPopupMenu.prototype.zIndex-1; +function Dialog(a,b,f,d,l,m,p,v,z,B,c){var e=0;mxClient.IS_VML&&(null==document.documentMode||8>document.documentMode)&&(e=80);f+=e;d+=e;var k=f,t=d,n=mxUtils.getDocumentSize(),g=n.height,y=Math.max(1,Math.round((n.width-f-64)/2)),A=Math.max(1,Math.round((g-d-a.footerHeight)/3));mxClient.IS_QUIRKS||(b.style.maxHeight="100%");f=null!=document.body?Math.min(f,document.body.scrollWidth-64):f;d=Math.min(d,g-64);0<a.dialogs.length&&(this.zIndex+=2*a.dialogs.length);null==this.bg&&(this.bg=a.createDiv("background"), +this.bg.style.position="absolute",this.bg.style.background=Dialog.backdropColor,this.bg.style.height=g+"px",this.bg.style.right="0px",this.bg.style.zIndex=this.zIndex-2,mxUtils.setOpacity(this.bg,this.bgOpacity),mxClient.IS_QUIRKS&&new mxDivResizer(this.bg));n=mxUtils.getDocumentScrollOrigin(document);this.bg.style.left=n.x+"px";this.bg.style.top=n.y+"px";y+=n.x;A+=n.y;l&&document.body.appendChild(this.bg);var q=a.createDiv(z?"geTransDialog":"geDialog");l=this.getPosition(y,A,f,d);y=l.x;A=l.y;q.style.width= +f+"px";q.style.height=d+"px";q.style.left=y+"px";q.style.top=A+"px";q.style.zIndex=this.zIndex;q.appendChild(b);document.body.appendChild(q);!v&&b.clientHeight>q.clientHeight-64&&(b.style.overflowY="auto");m&&(m=document.createElement("img"),m.setAttribute("src",Dialog.prototype.closeImage),m.setAttribute("title",mxResources.get("close")),m.className="geDialogClose",m.style.top=A+14+"px",m.style.left=y+f+38-e+"px",m.style.zIndex=this.zIndex,mxEvent.addListener(m,"click",mxUtils.bind(this,function(){a.hideDialog(!0)})), +document.body.appendChild(m),this.dialogImg=m,c||mxEvent.addGestureListeners(this.bg,null,null,mxUtils.bind(this,function(c){a.hideDialog(!0)})));this.resizeListener=mxUtils.bind(this,function(){if(null!=B){var c=B();null!=c&&(k=f=c.w,t=d=c.h)}c=mxUtils.getDocumentSize();g=c.height;this.bg.style.height=g+"px";y=Math.max(1,Math.round((c.width-f-64)/2));A=Math.max(1,Math.round((g-d-a.footerHeight)/3));f=null!=document.body?Math.min(k,document.body.scrollWidth-64):k;d=Math.min(t,g-64);c=this.getPosition(y, +A,f,d);y=c.x;A=c.y;q.style.left=y+"px";q.style.top=A+"px";q.style.width=f+"px";q.style.height=d+"px";!v&&b.clientHeight>q.clientHeight-64&&(b.style.overflowY="auto");null!=this.dialogImg&&(this.dialogImg.style.top=A+14+"px",this.dialogImg.style.left=y+f+38-e+"px")});mxEvent.addListener(window,"resize",this.resizeListener);this.onDialogClose=p;this.container=q;a.editor.fireEvent(new mxEventObject("showDialog"))}Dialog.backdropColor="white";Dialog.prototype.zIndex=mxPopupMenu.prototype.zIndex-1; Dialog.prototype.noColorImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyBpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBXaW5kb3dzIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkEzRDlBMUUwODYxMTExRTFCMzA4RDdDMjJBMEMxRDM3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkEzRDlBMUUxODYxMTExRTFCMzA4RDdDMjJBMEMxRDM3Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QTNEOUExREU4NjExMTFFMUIzMDhEN0MyMkEwQzFEMzciIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QTNEOUExREY4NjExMTFFMUIzMDhEN0MyMkEwQzFEMzciLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5xh3fmAAAABlBMVEX////MzMw46qqDAAAAGElEQVR42mJggAJGKGAYIIGBth8KAAIMAEUQAIElnLuQAAAAAElFTkSuQmCC": IMAGE_PATH+"/nocolor.png";Dialog.prototype.closeImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJAQMAAADaX5RTAAAABlBMVEV7mr3///+wksspAAAAAnRSTlP/AOW3MEoAAAAdSURBVAgdY9jXwCDDwNDRwHCwgeExmASygSL7GgB12QiqNHZZIwAAAABJRU5ErkJggg==":IMAGE_PATH+"/close.png"; Dialog.prototype.clearImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhDQAKAIABAMDAwP///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OUIzOEM1NzI4NjEyMTFFMUEzMkNDMUE3NjZERDE2QjIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OUIzOEM1NzM4NjEyMTFFMUEzMkNDMUE3NjZERDE2QjIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5QjM4QzU3MDg2MTIxMUUxQTMyQ0MxQTc2NkREMTZCMiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5QjM4QzU3MTg2MTIxMUUxQTMyQ0MxQTc2NkREMTZCMiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgH//v38+/r5+Pf29fTz8vHw7+7t7Ovq6ejn5uXk4+Lh4N/e3dzb2tnY19bV1NPS0dDPzs3My8rJyMfGxcTDwsHAv769vLu6ubi3trW0s7KxsK+urayrqqmop6alpKOioaCfnp2cm5qZmJeWlZSTkpGQj46NjIuKiYiHhoWEg4KBgH9+fXx7enl4d3Z1dHNycXBvbm1sa2ppaGdmZWRjYmFgX15dXFtaWVhXVlVUU1JRUE9OTUxLSklIR0ZFRENCQUA/Pj08Ozo5ODc2NTQzMjEwLy4tLCsqKSgnJiUkIyIhIB8eHRwbGhkYFxYVFBMSERAPDg0MCwoJCAcGBQQDAgEAACH5BAEAAAEALAAAAAANAAoAAAIXTGCJebD9jEOTqRlttXdrB32PJ2ncyRQAOw==":IMAGE_PATH+ @@ -2037,31 +2037,31 @@ Dialog.prototype.lockedImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoA "/locked.png"; Dialog.prototype.unlockedImage=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAMAAABhq6zVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MzdDMDZCN0QxNzIxMTFFNUI0RTk5NTg4OTcyMUUyODEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MzdDMDZCN0UxNzIxMTFFNUI0RTk5NTg4OTcyMUUyODEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDozN0MwNkI3QjE3MjExMUU1QjRFOTk1ODg5NzIxRTI4MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDozN0MwNkI3QzE3MjExMUU1QjRFOTk1ODg5NzIxRTI4MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PkKMpVwAAAAYUExURZmZmbKysr+/v6ysrOXl5czMzLGxsf///zHN5lwAAAAIdFJOU/////////8A3oO9WQAAADxJREFUeNpUzFESACAEBNBVsfe/cZJU+8Mzs8CIABCidtfGOndnYsT40HDSiCcbPdoJo10o9aI677cpwACRoAF3dFNlswAAAABJRU5ErkJggg==":IMAGE_PATH+ "/unlocked.png";Dialog.prototype.bgOpacity=80;Dialog.prototype.getPosition=function(a,b){return new mxPoint(a,b)};Dialog.prototype.close=function(a,b){if(null!=this.onDialogClose){if(0==this.onDialogClose(a,b))return!1;this.onDialogClose=null}null!=this.dialogImg&&(this.dialogImg.parentNode.removeChild(this.dialogImg),this.dialogImg=null);null!=this.bg&&null!=this.bg.parentNode&&this.bg.parentNode.removeChild(this.bg);mxEvent.removeListener(window,"resize",this.resizeListener);this.container.parentNode.removeChild(this.container)}; -var ErrorDialog=function(a,b,f,d,l,m,p,v,y,B,c){y=null!=y?y:!0;var e=document.createElement("div");e.style.textAlign="center";if(null!=b){var k=document.createElement("div");k.style.padding="0px";k.style.margin="0px";k.style.fontSize="18px";k.style.paddingBottom="16px";k.style.marginBottom="10px";k.style.borderBottom="1px solid #c0c0c0";k.style.color="gray";k.style.whiteSpace="nowrap";k.style.textOverflow="ellipsis";k.style.overflow="hidden";mxUtils.write(k,b);k.setAttribute("title",b);e.appendChild(k)}b= -document.createElement("div");b.style.lineHeight="1.2em";b.style.padding="6px";b.innerHTML=f;e.appendChild(b);f=document.createElement("div");f.style.marginTop="12px";f.style.textAlign="center";null!=m&&(b=mxUtils.button(mxResources.get("tryAgain"),function(){a.hideDialog();m()}),b.className="geBtn",f.appendChild(b),f.style.textAlign="center");null!=B&&(B=mxUtils.button(B,function(){null!=c&&c()}),B.className="geBtn",f.appendChild(B));var u=mxUtils.button(d,function(){y&&a.hideDialog();null!=l&&l()}); -u.className="geBtn";f.appendChild(u);null!=p&&(d=mxUtils.button(p,function(){y&&a.hideDialog();null!=v&&v()}),d.className="geBtn gePrimaryBtn",f.appendChild(d));this.init=function(){u.focus()};e.appendChild(f);this.container=e},PrintDialog=function(a,b){this.create(a,b)}; -PrintDialog.prototype.create=function(a){function b(a){var b=v.checked||B.checked,d=parseInt(e.value)/100;isNaN(d)&&(d=1,e.value="100%");var d=.75*d,k=f.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT,u=1/f.pageScale;if(b){var q=v.checked?1:parseInt(c.value);isNaN(q)||(u=mxUtils.getScaleForPageCount(q,f,k))}f.getGraphBounds();var l=q=0,k=mxRectangle.fromRectangle(k);k.width=Math.ceil(k.width*d);k.height=Math.ceil(k.height*d);u*=d;!b&&f.pageVisible?(d=f.getPageLayout(),q-=d.x*k.width,l-=d.y*k.height): -b=!0;b=PrintDialog.createPrintPreview(f,u,k,0,q,l,b);b.open();a&&PrintDialog.printPreview(b)}var f=a.editor.graph,d,l,m=document.createElement("table");m.style.width="100%";m.style.height="100%";var p=document.createElement("tbody");d=document.createElement("tr");var v=document.createElement("input");v.setAttribute("type","checkbox");l=document.createElement("td");l.setAttribute("colspan","2");l.style.fontSize="10pt";l.appendChild(v);var y=document.createElement("span");mxUtils.write(y," "+mxResources.get("fitPage")); -l.appendChild(y);mxEvent.addListener(y,"click",function(a){v.checked=!v.checked;B.checked=!v.checked;mxEvent.consume(a)});mxEvent.addListener(v,"change",function(){B.checked=!v.checked});d.appendChild(l);p.appendChild(d);d=d.cloneNode(!1);var B=document.createElement("input");B.setAttribute("type","checkbox");l=document.createElement("td");l.style.fontSize="10pt";l.appendChild(B);y=document.createElement("span");mxUtils.write(y," "+mxResources.get("posterPrint")+":");l.appendChild(y);mxEvent.addListener(y, +var ErrorDialog=function(a,b,f,d,l,m,p,v,z,B,c){z=null!=z?z:!0;var e=document.createElement("div");e.style.textAlign="center";if(null!=b){var k=document.createElement("div");k.style.padding="0px";k.style.margin="0px";k.style.fontSize="18px";k.style.paddingBottom="16px";k.style.marginBottom="10px";k.style.borderBottom="1px solid #c0c0c0";k.style.color="gray";k.style.whiteSpace="nowrap";k.style.textOverflow="ellipsis";k.style.overflow="hidden";mxUtils.write(k,b);k.setAttribute("title",b);e.appendChild(k)}b= +document.createElement("div");b.style.lineHeight="1.2em";b.style.padding="6px";b.innerHTML=f;e.appendChild(b);f=document.createElement("div");f.style.marginTop="12px";f.style.textAlign="center";null!=m&&(b=mxUtils.button(mxResources.get("tryAgain"),function(){a.hideDialog();m()}),b.className="geBtn",f.appendChild(b),f.style.textAlign="center");null!=B&&(B=mxUtils.button(B,function(){null!=c&&c()}),B.className="geBtn",f.appendChild(B));var t=mxUtils.button(d,function(){z&&a.hideDialog();null!=l&&l()}); +t.className="geBtn";f.appendChild(t);null!=p&&(d=mxUtils.button(p,function(){z&&a.hideDialog();null!=v&&v()}),d.className="geBtn gePrimaryBtn",f.appendChild(d));this.init=function(){t.focus()};e.appendChild(f);this.container=e},PrintDialog=function(a,b){this.create(a,b)}; +PrintDialog.prototype.create=function(a){function b(a){var b=v.checked||B.checked,d=parseInt(e.value)/100;isNaN(d)&&(d=1,e.value="100%");var d=.75*d,k=f.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT,t=1/f.pageScale;if(b){var q=v.checked?1:parseInt(c.value);isNaN(q)||(t=mxUtils.getScaleForPageCount(q,f,k))}f.getGraphBounds();var l=q=0,k=mxRectangle.fromRectangle(k);k.width=Math.ceil(k.width*d);k.height=Math.ceil(k.height*d);t*=d;!b&&f.pageVisible?(d=f.getPageLayout(),q-=d.x*k.width,l-=d.y*k.height): +b=!0;b=PrintDialog.createPrintPreview(f,t,k,0,q,l,b);b.open();a&&PrintDialog.printPreview(b)}var f=a.editor.graph,d,l,m=document.createElement("table");m.style.width="100%";m.style.height="100%";var p=document.createElement("tbody");d=document.createElement("tr");var v=document.createElement("input");v.setAttribute("type","checkbox");l=document.createElement("td");l.setAttribute("colspan","2");l.style.fontSize="10pt";l.appendChild(v);var z=document.createElement("span");mxUtils.write(z," "+mxResources.get("fitPage")); +l.appendChild(z);mxEvent.addListener(z,"click",function(a){v.checked=!v.checked;B.checked=!v.checked;mxEvent.consume(a)});mxEvent.addListener(v,"change",function(){B.checked=!v.checked});d.appendChild(l);p.appendChild(d);d=d.cloneNode(!1);var B=document.createElement("input");B.setAttribute("type","checkbox");l=document.createElement("td");l.style.fontSize="10pt";l.appendChild(B);z=document.createElement("span");mxUtils.write(z," "+mxResources.get("posterPrint")+":");l.appendChild(z);mxEvent.addListener(z, "click",function(a){B.checked=!B.checked;v.checked=!B.checked;mxEvent.consume(a)});d.appendChild(l);var c=document.createElement("input");c.setAttribute("value","1");c.setAttribute("type","number");c.setAttribute("min","1");c.setAttribute("size","4");c.setAttribute("disabled","disabled");c.style.width="50px";l=document.createElement("td");l.style.fontSize="10pt";l.appendChild(c);mxUtils.write(l," "+mxResources.get("pages")+" (max)");d.appendChild(l);p.appendChild(d);mxEvent.addListener(B,"change", function(){B.checked?c.removeAttribute("disabled"):c.setAttribute("disabled","disabled");v.checked=!B.checked});d=d.cloneNode(!1);l=document.createElement("td");mxUtils.write(l,mxResources.get("pageScale")+":");d.appendChild(l);l=document.createElement("td");var e=document.createElement("input");e.setAttribute("value","100 %");e.setAttribute("size","5");e.style.width="50px";l.appendChild(e);d.appendChild(l);p.appendChild(d);d=document.createElement("tr");l=document.createElement("td");l.colSpan=2; -l.style.paddingTop="20px";l.setAttribute("align","right");y=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});y.className="geBtn";a.editor.cancelFirst&&l.appendChild(y);if(PrintDialog.previewEnabled){var k=mxUtils.button(mxResources.get("preview"),function(){a.hideDialog();b(!1)});k.className="geBtn";l.appendChild(k)}k=mxUtils.button(mxResources.get(PrintDialog.previewEnabled?"print":"ok"),function(){a.hideDialog();b(!0)});k.className="geBtn gePrimaryBtn";l.appendChild(k);a.editor.cancelFirst|| -l.appendChild(y);d.appendChild(l);p.appendChild(d);m.appendChild(p);this.container=m};PrintDialog.printPreview=function(a){try{if(null!=a.wnd){var b=function(){a.wnd.focus();a.wnd.print();a.wnd.close()};mxClient.IS_GC?window.setTimeout(b,500):b()}}catch(f){}}; +l.style.paddingTop="20px";l.setAttribute("align","right");z=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});z.className="geBtn";a.editor.cancelFirst&&l.appendChild(z);if(PrintDialog.previewEnabled){var k=mxUtils.button(mxResources.get("preview"),function(){a.hideDialog();b(!1)});k.className="geBtn";l.appendChild(k)}k=mxUtils.button(mxResources.get(PrintDialog.previewEnabled?"print":"ok"),function(){a.hideDialog();b(!0)});k.className="geBtn gePrimaryBtn";l.appendChild(k);a.editor.cancelFirst|| +l.appendChild(z);d.appendChild(l);p.appendChild(d);m.appendChild(p);this.container=m};PrintDialog.printPreview=function(a){try{if(null!=a.wnd){var b=function(){a.wnd.focus();a.wnd.print();a.wnd.close()};mxClient.IS_GC?window.setTimeout(b,500):b()}}catch(f){}}; PrintDialog.createPrintPreview=function(a,b,f,d,l,m,p){b=new mxPrintPreview(a,b,f,d,l,m);b.title=mxResources.get("preview");b.printBackgroundImage=!0;b.autoOrigin=p;a=a.background;if(null==a||""==a||a==mxConstants.NONE)a="#ffffff";b.backgroundColor=a;var v=b.writeHead;b.writeHead=function(a){v.apply(this,arguments);a.writeln('<style type="text/css">');a.writeln("@media screen {");a.writeln(" body > div { padding:30px;box-sizing:content-box; }");a.writeln("}");a.writeln("</style>")};return b}; PrintDialog.previewEnabled=!0; -var PageSetupDialog=function(a){function b(){null==c||c==mxConstants.NONE?(B.style.backgroundColor="",B.style.backgroundImage="url('"+Dialog.prototype.noColorImage+"')"):(B.style.backgroundColor=c,B.style.backgroundImage="")}function f(){null==u?(k.removeAttribute("title"),k.style.fontSize="",k.innerHTML=mxResources.get("change")+"..."):(k.setAttribute("title",u.src),k.style.fontSize="11px",k.innerHTML=u.src.substring(0,42)+"...")}var d=a.editor.graph,l,m,p=document.createElement("table");p.style.width= -"100%";p.style.height="100%";var v=document.createElement("tbody");l=document.createElement("tr");m=document.createElement("td");m.style.verticalAlign="top";m.style.fontSize="10pt";mxUtils.write(m,mxResources.get("paperSize")+":");l.appendChild(m);m=document.createElement("td");m.style.verticalAlign="top";m.style.fontSize="10pt";var y=PageSetupDialog.addPageFormatPanel(m,"pagesetupdialog",d.pageFormat);l.appendChild(m);v.appendChild(l);l=document.createElement("tr");m=document.createElement("td"); +var PageSetupDialog=function(a){function b(){null==c||c==mxConstants.NONE?(B.style.backgroundColor="",B.style.backgroundImage="url('"+Dialog.prototype.noColorImage+"')"):(B.style.backgroundColor=c,B.style.backgroundImage="")}function f(){null==t?(k.removeAttribute("title"),k.style.fontSize="",k.innerHTML=mxResources.get("change")+"..."):(k.setAttribute("title",t.src),k.style.fontSize="11px",k.innerHTML=t.src.substring(0,42)+"...")}var d=a.editor.graph,l,m,p=document.createElement("table");p.style.width= +"100%";p.style.height="100%";var v=document.createElement("tbody");l=document.createElement("tr");m=document.createElement("td");m.style.verticalAlign="top";m.style.fontSize="10pt";mxUtils.write(m,mxResources.get("paperSize")+":");l.appendChild(m);m=document.createElement("td");m.style.verticalAlign="top";m.style.fontSize="10pt";var z=PageSetupDialog.addPageFormatPanel(m,"pagesetupdialog",d.pageFormat);l.appendChild(m);v.appendChild(l);l=document.createElement("tr");m=document.createElement("td"); mxUtils.write(m,mxResources.get("background")+":");l.appendChild(m);m=document.createElement("td");m.style.whiteSpace="nowrap";document.createElement("input").setAttribute("type","text");var B=document.createElement("button");B.style.width="18px";B.style.height="18px";B.style.marginRight="20px";B.style.backgroundPosition="center center";B.style.backgroundRepeat="no-repeat";var c=d.background;b();mxEvent.addListener(B,"click",function(e){a.pickColor(c||"none",function(a){c=a;b()});mxEvent.consume(e)}); m.appendChild(B);mxUtils.write(m,mxResources.get("gridSize")+":");var e=document.createElement("input");e.setAttribute("type","number");e.setAttribute("min","0");e.style.width="40px";e.style.marginLeft="6px";e.value=d.getGridSize();m.appendChild(e);mxEvent.addListener(e,"change",function(){var a=parseInt(e.value);e.value=Math.max(1,isNaN(a)?d.getGridSize():a)});l.appendChild(m);v.appendChild(l);l=document.createElement("tr");m=document.createElement("td");mxUtils.write(m,mxResources.get("image")+ -":");l.appendChild(m);m=document.createElement("td");var k=document.createElement("a");k.style.textDecoration="underline";k.style.cursor="pointer";k.style.color="#a0a0a0";var u=d.backgroundImage;mxEvent.addListener(k,"click",function(c){a.showBackgroundImageDialog(function(a){u=a;f()});mxEvent.consume(c)});f();m.appendChild(k);l.appendChild(m);v.appendChild(l);l=document.createElement("tr");m=document.createElement("td");m.colSpan=2;m.style.paddingTop="16px";m.setAttribute("align","right");var n= -mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});n.className="geBtn";a.editor.cancelFirst&&m.appendChild(n);var g=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();d.gridSize!==e.value&&d.setGridSize(parseInt(e.value));var b=new ChangePageSetup(a,c,u,y.get());b.ignoreColor=d.background==c;b.ignoreImage=(null!=d.backgroundImage?d.backgroundImage.src:null)===(null!=u?u.src:null);d.pageFormat.width==b.previousFormat.width&&d.pageFormat.height==b.previousFormat.height&& +":");l.appendChild(m);m=document.createElement("td");var k=document.createElement("a");k.style.textDecoration="underline";k.style.cursor="pointer";k.style.color="#a0a0a0";var t=d.backgroundImage;mxEvent.addListener(k,"click",function(c){a.showBackgroundImageDialog(function(a){t=a;f()});mxEvent.consume(c)});f();m.appendChild(k);l.appendChild(m);v.appendChild(l);l=document.createElement("tr");m=document.createElement("td");m.colSpan=2;m.style.paddingTop="16px";m.setAttribute("align","right");var n= +mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});n.className="geBtn";a.editor.cancelFirst&&m.appendChild(n);var g=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();d.gridSize!==e.value&&d.setGridSize(parseInt(e.value));var b=new ChangePageSetup(a,c,t,z.get());b.ignoreColor=d.background==c;b.ignoreImage=(null!=d.backgroundImage?d.backgroundImage.src:null)===(null!=t?t.src:null);d.pageFormat.width==b.previousFormat.width&&d.pageFormat.height==b.previousFormat.height&& b.ignoreColor&&b.ignoreImage||d.model.execute(b)});g.className="geBtn gePrimaryBtn";m.appendChild(g);a.editor.cancelFirst||m.appendChild(n);l.appendChild(m);v.appendChild(l);p.appendChild(v);this.container=p}; PageSetupDialog.addPageFormatPanel=function(a,b,f,d){function l(a,b,d){if(d||e!=document.activeElement&&k!=document.activeElement){a=!1;for(b=0;b<n.length;b++)d=n[b],q?"custom"==d.key&&(v.value=d.key,q=!1):null!=d.format&&("a4"==d.key?826==f.width?(f=mxRectangle.fromRectangle(f),f.width=827):826==f.height&&(f=mxRectangle.fromRectangle(f),f.height=827):"a5"==d.key&&(584==f.width?(f=mxRectangle.fromRectangle(f),f.width=583):584==f.height&&(f=mxRectangle.fromRectangle(f),f.height=583)),f.width==d.format.width&& -f.height==d.format.height?(v.value=d.key,m.setAttribute("checked","checked"),m.defaultChecked=!0,m.checked=!0,p.removeAttribute("checked"),p.defaultChecked=!1,p.checked=!1,a=!0):f.width==d.format.height&&f.height==d.format.width&&(v.value=d.key,m.removeAttribute("checked"),m.defaultChecked=!1,m.checked=!1,p.setAttribute("checked","checked"),p.defaultChecked=!0,a=p.checked=!0));a?(y.style.display="",c.style.display="none"):(e.value=f.width/100,k.value=f.height/100,m.setAttribute("checked","checked"), -v.value="custom",y.style.display="none",c.style.display="")}}b="format-"+b;var m=document.createElement("input");m.setAttribute("name",b);m.setAttribute("type","radio");m.setAttribute("value","portrait");var p=document.createElement("input");p.setAttribute("name",b);p.setAttribute("type","radio");p.setAttribute("value","landscape");var v=document.createElement("select");v.style.marginBottom="8px";v.style.width="202px";var y=document.createElement("div");y.style.marginLeft="4px";y.style.width="210px"; -y.style.height="24px";m.style.marginRight="6px";y.appendChild(m);b=document.createElement("span");b.style.maxWidth="100px";mxUtils.write(b,mxResources.get("portrait"));y.appendChild(b);p.style.marginLeft="10px";p.style.marginRight="6px";y.appendChild(p);var B=document.createElement("span");B.style.width="100px";mxUtils.write(B,mxResources.get("landscape"));y.appendChild(B);var c=document.createElement("div");c.style.marginLeft="4px";c.style.width="210px";c.style.height="24px";var e=document.createElement("input"); -e.setAttribute("size","7");e.style.textAlign="right";c.appendChild(e);mxUtils.write(c," in x ");var k=document.createElement("input");k.setAttribute("size","7");k.style.textAlign="right";c.appendChild(k);mxUtils.write(c," in");y.style.display="none";c.style.display="none";for(var u={},n=PageSetupDialog.getFormats(),g=0;g<n.length;g++){var z=n[g];u[z.key]=z;var A=document.createElement("option");A.setAttribute("value",z.key);mxUtils.write(A,z.title);v.appendChild(A)}var q=!1;l();a.appendChild(v);mxUtils.br(a); -a.appendChild(y);a.appendChild(c);var F=f,x=function(a,b){var g=u[v.value];null!=g.format?(e.value=g.format.width/100,k.value=g.format.height/100,c.style.display="none",y.style.display=""):(y.style.display="none",c.style.display="");g=parseFloat(e.value);if(isNaN(g)||0>=g)e.value=f.width/100;g=parseFloat(k.value);if(isNaN(g)||0>=g)k.value=f.height/100;g=new mxRectangle(0,0,Math.floor(100*parseFloat(e.value)),Math.floor(100*parseFloat(k.value)));"custom"!=v.value&&p.checked&&(g=new mxRectangle(0,0, +f.height==d.format.height?(v.value=d.key,m.setAttribute("checked","checked"),m.defaultChecked=!0,m.checked=!0,p.removeAttribute("checked"),p.defaultChecked=!1,p.checked=!1,a=!0):f.width==d.format.height&&f.height==d.format.width&&(v.value=d.key,m.removeAttribute("checked"),m.defaultChecked=!1,m.checked=!1,p.setAttribute("checked","checked"),p.defaultChecked=!0,a=p.checked=!0));a?(z.style.display="",c.style.display="none"):(e.value=f.width/100,k.value=f.height/100,m.setAttribute("checked","checked"), +v.value="custom",z.style.display="none",c.style.display="")}}b="format-"+b;var m=document.createElement("input");m.setAttribute("name",b);m.setAttribute("type","radio");m.setAttribute("value","portrait");var p=document.createElement("input");p.setAttribute("name",b);p.setAttribute("type","radio");p.setAttribute("value","landscape");var v=document.createElement("select");v.style.marginBottom="8px";v.style.width="202px";var z=document.createElement("div");z.style.marginLeft="4px";z.style.width="210px"; +z.style.height="24px";m.style.marginRight="6px";z.appendChild(m);b=document.createElement("span");b.style.maxWidth="100px";mxUtils.write(b,mxResources.get("portrait"));z.appendChild(b);p.style.marginLeft="10px";p.style.marginRight="6px";z.appendChild(p);var B=document.createElement("span");B.style.width="100px";mxUtils.write(B,mxResources.get("landscape"));z.appendChild(B);var c=document.createElement("div");c.style.marginLeft="4px";c.style.width="210px";c.style.height="24px";var e=document.createElement("input"); +e.setAttribute("size","7");e.style.textAlign="right";c.appendChild(e);mxUtils.write(c," in x ");var k=document.createElement("input");k.setAttribute("size","7");k.style.textAlign="right";c.appendChild(k);mxUtils.write(c," in");z.style.display="none";c.style.display="none";for(var t={},n=PageSetupDialog.getFormats(),g=0;g<n.length;g++){var y=n[g];t[y.key]=y;var A=document.createElement("option");A.setAttribute("value",y.key);mxUtils.write(A,y.title);v.appendChild(A)}var q=!1;l();a.appendChild(v);mxUtils.br(a); +a.appendChild(z);a.appendChild(c);var F=f,x=function(a,b){var g=t[v.value];null!=g.format?(e.value=g.format.width/100,k.value=g.format.height/100,c.style.display="none",z.style.display=""):(z.style.display="none",c.style.display="");g=parseFloat(e.value);if(isNaN(g)||0>=g)e.value=f.width/100;g=parseFloat(k.value);if(isNaN(g)||0>=g)k.value=f.height/100;g=new mxRectangle(0,0,Math.floor(100*parseFloat(e.value)),Math.floor(100*parseFloat(k.value)));"custom"!=v.value&&p.checked&&(g=new mxRectangle(0,0, g.height,g.width));b&&q||g.width==F.width&&g.height==F.height||(F=g,null!=d&&d(F))};mxEvent.addListener(b,"click",function(a){m.checked=!0;x(a);mxEvent.consume(a)});mxEvent.addListener(B,"click",function(a){p.checked=!0;x(a);mxEvent.consume(a)});mxEvent.addListener(e,"blur",x);mxEvent.addListener(e,"click",x);mxEvent.addListener(k,"blur",x);mxEvent.addListener(k,"click",x);mxEvent.addListener(p,"change",x);mxEvent.addListener(m,"change",x);mxEvent.addListener(v,"change",function(a){q="custom"==v.value; x(a,!0)});x();return{set:function(a){f=a;l(null,null,!0)},get:function(){return F},widthInput:e,heightInput:k}}; PageSetupDialog.getFormats=function(){return[{key:"letter",title:'US-Letter (8,5" x 11")',format:mxConstants.PAGE_FORMAT_LETTER_PORTRAIT},{key:"legal",title:'US-Legal (8,5" x 14")',format:new mxRectangle(0,0,850,1400)},{key:"tabloid",title:'US-Tabloid (11" x 17")',format:new mxRectangle(0,0,1100,1700)},{key:"executive",title:'US-Executive (7" x 10")',format:new mxRectangle(0,0,700,1E3)},{key:"a0",title:"A0 (841 mm x 1189 mm)",format:new mxRectangle(0,0,3300,4681)},{key:"a1",title:"A1 (594 mm x 841 mm)", @@ -2075,7 +2075,7 @@ c="url("+this.gridImage+")";var k=d=0;null!=a.view.backgroundPageShape&&(k=this. b,a.container.className="geDiagramContainer geDiagramBackdrop",d.style.backgroundImage="none",d.style.backgroundColor=""):(a.container.className="geDiagramContainer",d.style.backgroundPosition=e,d.style.backgroundColor=b,d.style.backgroundImage=c)};mxGraphView.prototype.createSvgGrid=function(a){for(var b=this.graph.gridSize*this.scale;b<this.minGridSize;)b*=2;for(var d=this.gridSteps*b,c=[],e=1;e<this.gridSteps;e++){var k=e*b;c.push("M 0 "+k+" L "+d+" "+k+" M "+k+" 0 L "+k+" "+d)}return'<svg width="'+ d+'" height="'+d+'" xmlns="'+mxConstants.NS_SVG+'"><defs><pattern id="grid" width="'+d+'" height="'+d+'" patternUnits="userSpaceOnUse"><path d="'+c.join(" ")+'" fill="none" stroke="'+a+'" opacity="0.2" stroke-width="1"/><path d="M '+d+" 0 L 0 0 0 "+d+'" fill="none" stroke="'+a+'" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(#grid)"/></svg>'};var a=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=function(b,d){a.apply(this,arguments);if(null!=this.shiftPreview1){var f= this.view.canvas;null!=f.ownerSVGElement&&(f=f.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";f.style.backgroundPosition=c}};mxGraph.prototype.updatePageBreaks=function(a,b,d){var c=this.view.scale,e=this.view.translate,k=this.pageFormat,f=c*this.pageScale,n=this.view.getBackgroundPageBounds();b=n.width;d=n.height;var g= -new mxRectangle(c*e.x,c*e.y,k.width*f,k.height*f),z=(a=a&&Math.min(g.width,g.height)>this.minPageBreakDist)?Math.ceil(d/g.height)-1:0,A=a?Math.ceil(b/g.width)-1:0,q=n.x+b,l=n.y+d;null==this.horizontalPageBreaks&&0<z&&(this.horizontalPageBreaks=[]);null==this.verticalPageBreaks&&0<A&&(this.verticalPageBreaks=[]);a=mxUtils.bind(this,function(a){if(null!=a){for(var c=a==this.horizontalPageBreaks?z:A,e=0;e<=c;e++){var b=a==this.horizontalPageBreaks?[new mxPoint(Math.round(n.x),Math.round(n.y+(e+1)*g.height)), +new mxRectangle(c*e.x,c*e.y,k.width*f,k.height*f),y=(a=a&&Math.min(g.width,g.height)>this.minPageBreakDist)?Math.ceil(d/g.height)-1:0,A=a?Math.ceil(b/g.width)-1:0,q=n.x+b,l=n.y+d;null==this.horizontalPageBreaks&&0<y&&(this.horizontalPageBreaks=[]);null==this.verticalPageBreaks&&0<A&&(this.verticalPageBreaks=[]);a=mxUtils.bind(this,function(a){if(null!=a){for(var c=a==this.horizontalPageBreaks?y:A,e=0;e<=c;e++){var b=a==this.horizontalPageBreaks?[new mxPoint(Math.round(n.x),Math.round(n.y+(e+1)*g.height)), new mxPoint(Math.round(q),Math.round(n.y+(e+1)*g.height))]:[new mxPoint(Math.round(n.x+(e+1)*g.width),Math.round(n.y)),new mxPoint(Math.round(n.x+(e+1)*g.width),Math.round(l))];null!=a[e]?(a[e].points=b,a[e].redraw()):(b=new mxPolyline(b,this.pageBreakColor),b.dialect=this.dialect,b.isDashed=this.pageBreakDashed,b.pointerEvents=!1,b.init(this.view.backgroundPane),b.redraw(),a[e]=b)}for(e=c;e<a.length;e++)a[e].destroy();a.splice(c,a.length-c)}});a(this.horizontalPageBreaks);a(this.verticalPageBreaks)}; var b=mxGraphHandler.prototype.shouldRemoveCellsFromParent;mxGraphHandler.prototype.shouldRemoveCellsFromParent=function(a,d,f){for(var c=0;c<d.length;c++)if(this.graph.getModel().isVertex(d[c])){var e=this.graph.getCellGeometry(d[c]);if(null!=e&&e.relative)return!1}return b.apply(this,arguments)};var f=mxConnectionHandler.prototype.createMarker;mxConnectionHandler.prototype.createMarker=function(){var a=f.apply(this,arguments);a.intersects=mxUtils.bind(this,function(b,d){return this.isConnecting()? !0:mxCellMarker.prototype.intersects.apply(a,arguments)});return a};mxGraphView.prototype.createBackgroundPageShape=function(a){return new mxRectangleShape(a,"#ffffff",this.graph.defaultPageBorderColor)};mxGraphView.prototype.getBackgroundPageBounds=function(){var a=this.getGraphBounds(),b=0<a.width?a.x/this.scale-this.translate.x:0,d=0<a.height?a.y/this.scale-this.translate.y:0,c=this.graph.pageFormat,e=this.graph.pageScale,k=c.width*e,c=c.height*e,e=Math.floor(Math.min(0,b)/k),f=Math.floor(Math.min(0, @@ -2089,18 +2089,18 @@ l,this.menubarContainer.onmousedown=l,this.toolbarContainer.onselectstart=l,this (b=function(a){if(null!=a){var c=mxEvent.getSource(a);if("A"==c.nodeName)for(;null!=c;){if("geHint"==c.className)return!0;c=c.parentNode}}return l(a)},mxClient.IS_IE&&("undefined"===typeof document.documentMode||9>document.documentMode)?mxEvent.addListener(this.diagramContainer,"contextmenu",b):this.diagramContainer.oncontextmenu=b):d.panningHandler.usePopupTrigger=!1;d.init(this.diagramContainer);mxClient.IS_SVG&&null!=d.view.getDrawPane()&&(b=d.view.getDrawPane().ownerSVGElement,null!=b&&(b.style.position= "absolute"));this.hoverIcons=this.createHoverIcons();mxEvent.addListener(this.diagramContainer,"mousemove",mxUtils.bind(this,function(a){var c=mxUtils.getOffset(this.diagramContainer);0<mxEvent.getClientX(a)-c.x-this.diagramContainer.clientWidth||0<mxEvent.getClientY(a)-c.y-this.diagramContainer.clientHeight?this.diagramContainer.setAttribute("title",mxResources.get("panTooltip")):this.diagramContainer.removeAttribute("title")}));var m=!1,p=this.hoverIcons.isResetEvent;this.hoverIcons.isResetEvent= function(a,c){return m||p.apply(this,arguments)};this.keydownHandler=mxUtils.bind(this,function(a){32!=a.which||d.isEditing()?mxEvent.isConsumed(a)||27!=a.keyCode||this.hideDialog(null,!0):(m=!0,this.hoverIcons.reset(),d.container.style.cursor="move",d.isEditing()||mxEvent.getSource(a)!=d.container||mxEvent.consume(a))});mxEvent.addListener(document,"keydown",this.keydownHandler);this.keyupHandler=mxUtils.bind(this,function(a){d.container.style.cursor="";m=!1});mxEvent.addListener(document,"keyup", -this.keyupHandler);var v=d.panningHandler.isForcePanningEvent;d.panningHandler.isForcePanningEvent=function(a){return v.apply(this,arguments)||m||mxEvent.isMouseEvent(a.getEvent())&&(this.usePopupTrigger||!mxEvent.isPopupTrigger(a.getEvent()))&&(!mxEvent.isControlDown(a.getEvent())&&mxEvent.isRightMouseButton(a.getEvent())||mxEvent.isMiddleMouseButton(a.getEvent()))};var y=d.cellEditor.isStopEditingEvent;d.cellEditor.isStopEditingEvent=function(a){return y.apply(this,arguments)||13==a.keyCode&&(!mxClient.IS_SF&& -mxEvent.isControlDown(a)||mxClient.IS_MAC&&mxEvent.isMetaDown(a)||mxClient.IS_SF&&mxEvent.isShiftDown(a))};var B=!1,c=null,e=null,k=null,u=mxUtils.bind(this,function(){if(null!=this.toolbar&&B!=d.cellEditor.isContentEditing()){for(var a=this.toolbar.container.firstChild,b=[];null!=a;){var g=a.nextSibling;0>mxUtils.indexOf(this.toolbar.staticElements,a)&&(a.parentNode.removeChild(a),b.push(a));a=g}a=this.toolbar.fontMenu;g=this.toolbar.sizeMenu;if(null==k)this.toolbar.createTextToolbar();else{for(var f= -0;f<k.length;f++)this.toolbar.container.appendChild(k[f]);this.toolbar.fontMenu=c;this.toolbar.sizeMenu=e}B=d.cellEditor.isContentEditing();c=a;e=g;k=b}}),n=this,g=d.cellEditor.startEditing;d.cellEditor.startEditing=function(){g.apply(this,arguments);u();if(d.cellEditor.isContentEditing()){var a=!1,c=function(){a||(a=!0,window.setTimeout(function(){for(var c=d.getSelectedElement();null!=c&&c.nodeType!=mxConstants.NODETYPE_ELEMENT;)c=c.parentNode;if(null!=c&&(c=mxUtils.getCurrentStyle(c),null!=c&& -null!=n.toolbar)){var e=c.fontFamily;"'"==e.charAt(0)&&(e=e.substring(1));"'"==e.charAt(e.length-1)&&(e=e.substring(0,e.length-1));n.toolbar.setFontName(e);n.toolbar.setFontSize(parseInt(c.fontSize))}a=!1},0))};mxEvent.addListener(d.cellEditor.textarea,"input",c);mxEvent.addListener(d.cellEditor.textarea,"touchend",c);mxEvent.addListener(d.cellEditor.textarea,"mouseup",c);mxEvent.addListener(d.cellEditor.textarea,"keyup",c);c()}};var z=d.cellEditor.stopEditing;d.cellEditor.stopEditing=function(a, -c){z.apply(this,arguments);u()};d.container.setAttribute("tabindex","0");d.container.style.cursor="default";if(window.self===window.top&&null!=d.container.parentNode)try{d.container.focus()}catch(K){}var A=d.fireMouseEvent;d.fireMouseEvent=function(a,c,e){a==mxEvent.MOUSE_DOWN&&this.container.focus();A.apply(this,arguments)};d.popupMenuHandler.autoExpand=!0;null!=this.menus&&(d.popupMenuHandler.factoryMethod=mxUtils.bind(this,function(a,c,e){this.menus.createPopupMenu(a,c,e)}));mxEvent.addGestureListeners(document, +this.keyupHandler);var v=d.panningHandler.isForcePanningEvent;d.panningHandler.isForcePanningEvent=function(a){return v.apply(this,arguments)||m||mxEvent.isMouseEvent(a.getEvent())&&(this.usePopupTrigger||!mxEvent.isPopupTrigger(a.getEvent()))&&(!mxEvent.isControlDown(a.getEvent())&&mxEvent.isRightMouseButton(a.getEvent())||mxEvent.isMiddleMouseButton(a.getEvent()))};var z=d.cellEditor.isStopEditingEvent;d.cellEditor.isStopEditingEvent=function(a){return z.apply(this,arguments)||13==a.keyCode&&(!mxClient.IS_SF&& +mxEvent.isControlDown(a)||mxClient.IS_MAC&&mxEvent.isMetaDown(a)||mxClient.IS_SF&&mxEvent.isShiftDown(a))};var B=!1,c=null,e=null,k=null,t=mxUtils.bind(this,function(){if(null!=this.toolbar&&B!=d.cellEditor.isContentEditing()){for(var a=this.toolbar.container.firstChild,b=[];null!=a;){var g=a.nextSibling;0>mxUtils.indexOf(this.toolbar.staticElements,a)&&(a.parentNode.removeChild(a),b.push(a));a=g}a=this.toolbar.fontMenu;g=this.toolbar.sizeMenu;if(null==k)this.toolbar.createTextToolbar();else{for(var f= +0;f<k.length;f++)this.toolbar.container.appendChild(k[f]);this.toolbar.fontMenu=c;this.toolbar.sizeMenu=e}B=d.cellEditor.isContentEditing();c=a;e=g;k=b}}),n=this,g=d.cellEditor.startEditing;d.cellEditor.startEditing=function(){g.apply(this,arguments);t();if(d.cellEditor.isContentEditing()){var a=!1,c=function(){a||(a=!0,window.setTimeout(function(){for(var c=d.getSelectedElement();null!=c&&c.nodeType!=mxConstants.NODETYPE_ELEMENT;)c=c.parentNode;if(null!=c&&(c=mxUtils.getCurrentStyle(c),null!=c&& +null!=n.toolbar)){var e=c.fontFamily;"'"==e.charAt(0)&&(e=e.substring(1));"'"==e.charAt(e.length-1)&&(e=e.substring(0,e.length-1));n.toolbar.setFontName(e);n.toolbar.setFontSize(parseInt(c.fontSize))}a=!1},0))};mxEvent.addListener(d.cellEditor.textarea,"input",c);mxEvent.addListener(d.cellEditor.textarea,"touchend",c);mxEvent.addListener(d.cellEditor.textarea,"mouseup",c);mxEvent.addListener(d.cellEditor.textarea,"keyup",c);c()}};var y=d.cellEditor.stopEditing;d.cellEditor.stopEditing=function(a, +c){y.apply(this,arguments);t()};d.container.setAttribute("tabindex","0");d.container.style.cursor="default";if(window.self===window.top&&null!=d.container.parentNode)try{d.container.focus()}catch(K){}var A=d.fireMouseEvent;d.fireMouseEvent=function(a,c,e){a==mxEvent.MOUSE_DOWN&&this.container.focus();A.apply(this,arguments)};d.popupMenuHandler.autoExpand=!0;null!=this.menus&&(d.popupMenuHandler.factoryMethod=mxUtils.bind(this,function(a,c,e){this.menus.createPopupMenu(a,c,e)}));mxEvent.addGestureListeners(document, mxUtils.bind(this,function(a){d.popupMenuHandler.hideMenu()}));this.keyHandler=this.createKeyHandler(a);this.getKeyHandler=function(){return keyHandler};var q="rounded shadow glass dashed dashPattern comic labelBackgroundColor".split(" "),F="shape edgeStyle curved rounded elbow comic jumpStyle jumpSize".split(" ");this.setDefaultStyle=function(a){try{var c=d.view.getState(a);if(null!=c){var e=a.clone();e.style="";var b=d.getCellStyle(e);a=[];var e=[],k;for(k in c.style)b[k]!=c.style[k]&&(a.push(c.style[k]), -e.push(k));for(var g=d.getModel().getStyle(c.cell),f=null!=g?g.split(";"):[],g=0;g<f.length;g++){var t=f[g],n=t.indexOf("=");if(0<=n){k=t.substring(0,n);var u=t.substring(n+1);null!=b[k]&&"none"==u&&(a.push(u),e.push(k))}}d.getModel().isEdge(c.cell)?d.currentEdgeStyle={}:d.currentVertexStyle={};this.fireEvent(new mxEventObject("styleChanged","keys",e,"values",a,"cells",[c.cell]))}}catch(G){this.handleError(G)}};this.clearDefaultStyle=function(){d.currentEdgeStyle=mxUtils.clone(d.defaultEdgeStyle); -d.currentVertexStyle=mxUtils.clone(d.defaultVertexStyle);this.fireEvent(new mxEventObject("styleChanged","keys",[],"values",[],"cells",[]))};var x=["fontFamily","fontSize","fontColor"],E="edgeStyle startArrow startFill startSize endArrow endFill endSize".split(" "),t=["startArrow startFill startSize sourcePerimeterSpacing endArrow endFill endSize targetPerimeterSpacing".split(" "),["strokeColor","strokeWidth"],["fillColor","gradientColor"],x,["opacity"],["align"],["html"]];for(a=0;a<t.length;a++)for(b= -0;b<t[a].length;b++)q.push(t[a][b]);for(a=0;a<F.length;a++)0>mxUtils.indexOf(q,F[a])&&q.push(F[a]);var C=function(a,c){var e=d.getModel();e.beginUpdate();try{if(c)for(var b=e.isEdge(n),k=b?d.currentEdgeStyle:d.currentVertexStyle,b=["fontSize","fontFamily","fontColor"],g=0;g<b.length;g++){var f=k[b[g]];null!=f&&d.setCellStyles(b[g],f,a)}else for(f=0;f<a.length;f++){for(var n=a[f],u=e.getStyle(n),C=null!=u?u.split(";"):[],z=q.slice(),g=0;g<C.length;g++){var l=C[g],A=l.indexOf("=");if(0<=A){var x=l.substring(0, -A),ca=mxUtils.indexOf(z,x);0<=ca&&z.splice(ca,1);for(var K=0;K<t.length;K++){var m=t[K];if(0<=mxUtils.indexOf(m,x))for(var v=0;v<m.length;v++){var Y=mxUtils.indexOf(z,m[v]);0<=Y&&z.splice(Y,1)}}}}for(var k=(b=e.isEdge(n))?d.currentEdgeStyle:d.currentVertexStyle,p=e.getStyle(n),g=0;g<z.length;g++){var x=z[g],E=k[x];null==E||"shape"==x&&!b||b&&!(0>mxUtils.indexOf(F,x))||(p=mxUtils.setStyle(p,x,E))}e.setStyle(n,p)}}finally{e.endUpdate()}};d.addListener("cellsInserted",function(a,c){C(c.getProperty("cells"))}); +e.push(k));for(var g=d.getModel().getStyle(c.cell),f=null!=g?g.split(";"):[],g=0;g<f.length;g++){var u=f[g],n=u.indexOf("=");if(0<=n){k=u.substring(0,n);var C=u.substring(n+1);null!=b[k]&&"none"==C&&(a.push(C),e.push(k))}}d.getModel().isEdge(c.cell)?d.currentEdgeStyle={}:d.currentVertexStyle={};this.fireEvent(new mxEventObject("styleChanged","keys",e,"values",a,"cells",[c.cell]))}}catch(G){this.handleError(G)}};this.clearDefaultStyle=function(){d.currentEdgeStyle=mxUtils.clone(d.defaultEdgeStyle); +d.currentVertexStyle=mxUtils.clone(d.defaultVertexStyle);this.fireEvent(new mxEventObject("styleChanged","keys",[],"values",[],"cells",[]))};var x=["fontFamily","fontSize","fontColor"],E="edgeStyle startArrow startFill startSize endArrow endFill endSize".split(" "),u=["startArrow startFill startSize sourcePerimeterSpacing endArrow endFill endSize targetPerimeterSpacing".split(" "),["strokeColor","strokeWidth"],["fillColor","gradientColor"],x,["opacity"],["align"],["html"]];for(a=0;a<u.length;a++)for(b= +0;b<u[a].length;b++)q.push(u[a][b]);for(a=0;a<F.length;a++)0>mxUtils.indexOf(q,F[a])&&q.push(F[a]);var C=function(a,c){var e=d.getModel();e.beginUpdate();try{if(c)for(var b=e.isEdge(n),k=b?d.currentEdgeStyle:d.currentVertexStyle,b=["fontSize","fontFamily","fontColor"],g=0;g<b.length;g++){var f=k[b[g]];null!=f&&d.setCellStyles(b[g],f,a)}else for(f=0;f<a.length;f++){for(var n=a[f],C=e.getStyle(n),t=null!=C?C.split(";"):[],y=q.slice(),g=0;g<t.length;g++){var l=t[g],A=l.indexOf("=");if(0<=A){var x=l.substring(0, +A),ca=mxUtils.indexOf(y,x);0<=ca&&y.splice(ca,1);for(var K=0;K<u.length;K++){var m=u[K];if(0<=mxUtils.indexOf(m,x))for(var v=0;v<m.length;v++){var Y=mxUtils.indexOf(y,m[v]);0<=Y&&y.splice(Y,1)}}}}for(var k=(b=e.isEdge(n))?d.currentEdgeStyle:d.currentVertexStyle,p=e.getStyle(n),g=0;g<y.length;g++){var x=y[g],E=k[x];null==E||"shape"==x&&!b||b&&!(0>mxUtils.indexOf(F,x))||(p=mxUtils.setStyle(p,x,E))}e.setStyle(n,p)}}finally{e.endUpdate()}};d.addListener("cellsInserted",function(a,c){C(c.getProperty("cells"))}); d.addListener("textInserted",function(a,c){C(c.getProperty("cells"),!0)});d.connectionHandler.addListener(mxEvent.CONNECT,function(a,c){var e=[c.getProperty("cell")];c.getProperty("terminalInserted")&&e.push(c.getProperty("terminal"));C(e)});this.addListener("styleChanged",mxUtils.bind(this,function(a,c){var e=c.getProperty("cells"),b=!1,k=!1;if(0<e.length)for(var g=0;g<e.length&&(b=d.getModel().isVertex(e[g])||b,!(k=d.getModel().isEdge(e[g])||k)||!b);g++);else k=b=!0;for(var e=c.getProperty("keys"), -f=c.getProperty("values"),g=0;g<e.length;g++){var t=0<=mxUtils.indexOf(x,e[g]);if("strokeColor"!=e[g]||null!=f[g]&&"none"!=f[g])if(0<=mxUtils.indexOf(F,e[g]))k||0<=mxUtils.indexOf(E,e[g])?null==f[g]?delete d.currentEdgeStyle[e[g]]:d.currentEdgeStyle[e[g]]=f[g]:b&&0<=mxUtils.indexOf(q,e[g])&&(null==f[g]?delete d.currentVertexStyle[e[g]]:d.currentVertexStyle[e[g]]=f[g]);else if(0<=mxUtils.indexOf(q,e[g])){if(b||t)null==f[g]?delete d.currentVertexStyle[e[g]]:d.currentVertexStyle[e[g]]=f[g];if(k||t|| +f=c.getProperty("values"),g=0;g<e.length;g++){var u=0<=mxUtils.indexOf(x,e[g]);if("strokeColor"!=e[g]||null!=f[g]&&"none"!=f[g])if(0<=mxUtils.indexOf(F,e[g]))k||0<=mxUtils.indexOf(E,e[g])?null==f[g]?delete d.currentEdgeStyle[e[g]]:d.currentEdgeStyle[e[g]]=f[g]:b&&0<=mxUtils.indexOf(q,e[g])&&(null==f[g]?delete d.currentVertexStyle[e[g]]:d.currentVertexStyle[e[g]]=f[g]);else if(0<=mxUtils.indexOf(q,e[g])){if(b||u)null==f[g]?delete d.currentVertexStyle[e[g]]:d.currentVertexStyle[e[g]]=f[g];if(k||u|| 0<=mxUtils.indexOf(E,e[g]))null==f[g]?delete d.currentEdgeStyle[e[g]]:d.currentEdgeStyle[e[g]]=f[g]}}null!=this.toolbar&&(this.toolbar.setFontName(d.currentVertexStyle.fontFamily||Menus.prototype.defaultFont),this.toolbar.setFontSize(d.currentVertexStyle.fontSize||Menus.prototype.defaultFontSize),null!=this.toolbar.edgeStyleMenu&&(this.toolbar.edgeStyleMenu.getElementsByTagName("div")[0].className="orthogonalEdgeStyle"==d.currentEdgeStyle.edgeStyle&&"1"==d.currentEdgeStyle.curved?"geSprite geSprite-curved": "straight"==d.currentEdgeStyle.edgeStyle||"none"==d.currentEdgeStyle.edgeStyle||null==d.currentEdgeStyle.edgeStyle?"geSprite geSprite-straight":"entityRelationEdgeStyle"==d.currentEdgeStyle.edgeStyle?"geSprite geSprite-entity":"elbowEdgeStyle"==d.currentEdgeStyle.edgeStyle?"geSprite geSprite-"+("vertical"==d.currentEdgeStyle.elbow?"verticalelbow":"horizontalelbow"):"isometricEdgeStyle"==d.currentEdgeStyle.edgeStyle?"geSprite geSprite-"+("vertical"==d.currentEdgeStyle.elbow?"verticalisometric":"horizontalisometric"): "geSprite geSprite-orthogonal"),null!=this.toolbar.edgeShapeMenu&&(this.toolbar.edgeShapeMenu.getElementsByTagName("div")[0].className="link"==d.currentEdgeStyle.shape?"geSprite geSprite-linkedge":"flexArrow"==d.currentEdgeStyle.shape?"geSprite geSprite-arrow":"arrow"==d.currentEdgeStyle.shape?"geSprite geSprite-simplearrow":"geSprite geSprite-connection"),null!=this.toolbar.lineStartMenu&&(this.toolbar.lineStartMenu.getElementsByTagName("div")[0].className=this.getCssClassForMarker("start",d.currentEdgeStyle.shape, @@ -2123,20 +2123,20 @@ EditorUi.prototype.initClipboard=function(){var a=this,b=mxClipboard.cut;mxClipb 0),k=0;k<m.length;k++)c.add(e,m[k]);b.updateCustomLinks(b.createCellMapping(f,l),m);mxClipboard.insertCount=1;mxClipboard.setCells(m)}a.updatePasteActionStates();return d};var f=mxClipboard.paste;mxClipboard.paste=function(b){var d=null;b.cellEditor.isContentEditing()?document.execCommand("paste",!1,null):d=f.apply(this,arguments);a.updatePasteActionStates();return d};var d=this.editor.graph.cellEditor.startEditing;this.editor.graph.cellEditor.startEditing=function(){d.apply(this,arguments);a.updatePasteActionStates()}; var l=this.editor.graph.cellEditor.stopEditing;this.editor.graph.cellEditor.stopEditing=function(b,d){l.apply(this,arguments);a.updatePasteActionStates()};this.updatePasteActionStates()};EditorUi.prototype.lazyZoomDelay=20; EditorUi.prototype.initCanvas=function(){var a=this.editor.graph;a.timerAutoScroll=!0;a.getPagePadding=function(){return new mxPoint(Math.max(0,Math.round((a.container.offsetWidth-34)/a.view.scale)),Math.max(0,Math.round((a.container.offsetHeight-34)/a.view.scale)))};a.view.getBackgroundPageBounds=function(){var a=this.graph.getPageLayout(),c=this.graph.getPageSize();return new mxRectangle(this.scale*(this.translate.x+a.x*c.width),this.scale*(this.translate.y+a.y*c.height),this.scale*a.width*c.width, -this.scale*a.height*c.height)};a.getPreferredPageSize=function(a,c,e){a=this.getPageLayout();c=this.getPageSize();return new mxRectangle(0,0,a.width*c.width,a.height*c.height)};var b=null,f=this;if(this.editor.isChromelessView()){this.chromelessResize=b=mxUtils.bind(this,function(c,e,b,d){if(null!=a.container&&!a.isViewer()){b=null!=b?b:0;d=null!=d?d:0;var k=a.pageVisible?a.view.getBackgroundPageBounds():a.getGraphBounds(),g=mxUtils.hasScrollbars(a.container),f=a.view.translate,t=a.view.scale,n=mxRectangle.fromRectangle(k); -n.x=n.x/t-f.x;n.y=n.y/t-f.y;n.width/=t;n.height/=t;var f=a.container.scrollTop,u=a.container.scrollLeft,C=mxClient.IS_QUIRKS||8<=document.documentMode?20:14;if(8==document.documentMode||9==document.documentMode)C+=3;var q=a.container.offsetWidth-C,C=a.container.offsetHeight-C;c=c?Math.max(.3,Math.min(e||1,q/n.width)):t;e=(q-c*n.width)/2/c;var z=0==this.lightboxVerticalDivider?0:(C-c*n.height)/this.lightboxVerticalDivider/c;g&&(e=Math.max(e,0),z=Math.max(z,0));if(g||k.width<q||k.height<C)a.view.scaleAndTranslate(c, -Math.floor(e-n.x),Math.floor(z-n.y)),a.container.scrollTop=f*c/t,a.container.scrollLeft=u*c/t;else if(0!=b||0!=d)k=a.view.translate,a.view.setTranslate(Math.floor(k.x+b/t),Math.floor(k.y+d/t))}});this.chromelessWindowResize=mxUtils.bind(this,function(){this.chromelessResize(!1)});var d=mxUtils.bind(this,function(){this.chromelessWindowResize(!1)});mxEvent.addListener(window,"resize",d);this.destroyFunctions.push(function(){mxEvent.removeListener(window,"resize",d)});this.editor.addListener("resetGraphView", +this.scale*a.height*c.height)};a.getPreferredPageSize=function(a,c,e){a=this.getPageLayout();c=this.getPageSize();return new mxRectangle(0,0,a.width*c.width,a.height*c.height)};var b=null,f=this;if(this.editor.isChromelessView()){this.chromelessResize=b=mxUtils.bind(this,function(c,e,b,d){if(null!=a.container&&!a.isViewer()){b=null!=b?b:0;d=null!=d?d:0;var k=a.pageVisible?a.view.getBackgroundPageBounds():a.getGraphBounds(),g=mxUtils.hasScrollbars(a.container),f=a.view.translate,u=a.view.scale,n=mxRectangle.fromRectangle(k); +n.x=n.x/u-f.x;n.y=n.y/u-f.y;n.width/=u;n.height/=u;var f=a.container.scrollTop,C=a.container.scrollLeft,t=mxClient.IS_QUIRKS||8<=document.documentMode?20:14;if(8==document.documentMode||9==document.documentMode)t+=3;var q=a.container.offsetWidth-t,t=a.container.offsetHeight-t;c=c?Math.max(.3,Math.min(e||1,q/n.width)):u;e=(q-c*n.width)/2/c;var y=0==this.lightboxVerticalDivider?0:(t-c*n.height)/this.lightboxVerticalDivider/c;g&&(e=Math.max(e,0),y=Math.max(y,0));if(g||k.width<q||k.height<t)a.view.scaleAndTranslate(c, +Math.floor(e-n.x),Math.floor(y-n.y)),a.container.scrollTop=f*c/u,a.container.scrollLeft=C*c/u;else if(0!=b||0!=d)k=a.view.translate,a.view.setTranslate(Math.floor(k.x+b/u),Math.floor(k.y+d/u))}});this.chromelessWindowResize=mxUtils.bind(this,function(){this.chromelessResize(!1)});var d=mxUtils.bind(this,function(){this.chromelessWindowResize(!1)});mxEvent.addListener(window,"resize",d);this.destroyFunctions.push(function(){mxEvent.removeListener(window,"resize",d)});this.editor.addListener("resetGraphView", mxUtils.bind(this,function(){this.chromelessResize(!0)}));this.actions.get("zoomIn").funct=mxUtils.bind(this,function(c){a.zoomIn();this.chromelessResize(!1)});this.actions.get("zoomOut").funct=mxUtils.bind(this,function(c){a.zoomOut();this.chromelessResize(!1)});if("0"!=urlParams.toolbar){var l=JSON.parse(decodeURIComponent(urlParams["toolbar-config"]||"{}"));this.chromelessToolbar=document.createElement("div");this.chromelessToolbar.style.position="fixed";this.chromelessToolbar.style.overflow="hidden"; this.chromelessToolbar.style.boxSizing="border-box";this.chromelessToolbar.style.whiteSpace="nowrap";this.chromelessToolbar.style.backgroundColor="#000000";this.chromelessToolbar.style.padding="10px 10px 8px 10px";this.chromelessToolbar.style.left=a.isViewer()?"0":"50%";mxClient.IS_VML||(mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"borderRadius","20px"),mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"transition","opacity 600ms ease-in-out"));var m=mxUtils.bind(this,function(){var c= mxUtils.getCurrentStyle(a.container);a.isViewer()?this.chromelessToolbar.style.top="0":this.chromelessToolbar.style.bottom=(null!=c?parseInt(c["margin-bottom"]||0):0)+(null!=this.tabContainer?20+parseInt(this.tabContainer.style.height):20)+"px"});this.editor.addListener("resetGraphView",m);m();var p=0,m=mxUtils.bind(this,function(a,c,e){p++;var b=document.createElement("span");b.style.paddingLeft="8px";b.style.paddingRight="8px";b.style.cursor="pointer";mxEvent.addListener(b,"click",a);null!=e&&b.setAttribute("title", -e);a=document.createElement("img");a.setAttribute("border","0");a.setAttribute("src",c);b.appendChild(a);this.chromelessToolbar.appendChild(b);return b});null!=l.backBtn&&m(mxUtils.bind(this,function(a){window.location.href=l.backBtn.url;mxEvent.consume(a)}),Editor.backLargeImage,mxResources.get("back",null,"Back"));var v=m(mxUtils.bind(this,function(a){this.actions.get("previousPage").funct();mxEvent.consume(a)}),Editor.previousLargeImage,mxResources.get("previousPage")),y=document.createElement("div"); -y.style.display="inline-block";y.style.verticalAlign="top";y.style.fontFamily="Helvetica,Arial";y.style.marginTop="8px";y.style.fontSize="14px";y.style.color="#ffffff";this.chromelessToolbar.appendChild(y);var B=m(mxUtils.bind(this,function(a){this.actions.get("nextPage").funct();mxEvent.consume(a)}),Editor.nextLargeImage,mxResources.get("nextPage")),c=mxUtils.bind(this,function(){null!=this.pages&&1<this.pages.length&&null!=this.currentPage&&(y.innerHTML="",mxUtils.write(y,mxUtils.indexOf(this.pages, -this.currentPage)+1+" / "+this.pages.length))});v.style.paddingLeft="0px";v.style.paddingRight="4px";B.style.paddingLeft="4px";B.style.paddingRight="0px";var e=mxUtils.bind(this,function(){null!=this.pages&&1<this.pages.length&&null!=this.currentPage?(B.style.display="",v.style.display="",y.style.display="inline-block"):(B.style.display="none",v.style.display="none",y.style.display="none");c()});this.editor.addListener("resetGraphView",e);this.editor.addListener("pageSelected",c);m(mxUtils.bind(this, +e);a=document.createElement("img");a.setAttribute("border","0");a.setAttribute("src",c);b.appendChild(a);this.chromelessToolbar.appendChild(b);return b});null!=l.backBtn&&m(mxUtils.bind(this,function(a){window.location.href=l.backBtn.url;mxEvent.consume(a)}),Editor.backLargeImage,mxResources.get("back",null,"Back"));var v=m(mxUtils.bind(this,function(a){this.actions.get("previousPage").funct();mxEvent.consume(a)}),Editor.previousLargeImage,mxResources.get("previousPage")),z=document.createElement("div"); +z.style.display="inline-block";z.style.verticalAlign="top";z.style.fontFamily="Helvetica,Arial";z.style.marginTop="8px";z.style.fontSize="14px";z.style.color="#ffffff";this.chromelessToolbar.appendChild(z);var B=m(mxUtils.bind(this,function(a){this.actions.get("nextPage").funct();mxEvent.consume(a)}),Editor.nextLargeImage,mxResources.get("nextPage")),c=mxUtils.bind(this,function(){null!=this.pages&&1<this.pages.length&&null!=this.currentPage&&(z.innerHTML="",mxUtils.write(z,mxUtils.indexOf(this.pages, +this.currentPage)+1+" / "+this.pages.length))});v.style.paddingLeft="0px";v.style.paddingRight="4px";B.style.paddingLeft="4px";B.style.paddingRight="0px";var e=mxUtils.bind(this,function(){null!=this.pages&&1<this.pages.length&&null!=this.currentPage?(B.style.display="",v.style.display="",z.style.display="inline-block"):(B.style.display="none",v.style.display="none",z.style.display="none");c()});this.editor.addListener("resetGraphView",e);this.editor.addListener("pageSelected",c);m(mxUtils.bind(this, function(a){this.actions.get("zoomOut").funct();mxEvent.consume(a)}),Editor.zoomOutLargeImage,mxResources.get("zoomOut")+" (Alt+Mousewheel)");m(mxUtils.bind(this,function(a){this.actions.get("zoomIn").funct();mxEvent.consume(a)}),Editor.zoomInLargeImage,mxResources.get("zoomIn")+" (Alt+Mousewheel)");m(mxUtils.bind(this,function(c){a.isLightboxView()?(1==a.view.scale?this.lightboxFit():a.zoomTo(1),this.chromelessResize(!1)):this.chromelessResize(!0);mxEvent.consume(c)}),Editor.actualSizeLargeImage, -mxResources.get("fit"));var k=null,u=null,n=mxUtils.bind(this,function(a){null!=k&&(window.clearTimeout(k),fadeThead=null);null!=u&&(window.clearTimeout(u),fadeThead2=null);k=window.setTimeout(mxUtils.bind(this,function(){mxUtils.setOpacity(this.chromelessToolbar,0);k=null;u=window.setTimeout(mxUtils.bind(this,function(){this.chromelessToolbar.style.display="none";u=null}),600)}),a||200)}),g=mxUtils.bind(this,function(a){null!=k&&(window.clearTimeout(k),fadeThead=null);null!=u&&(window.clearTimeout(u), -fadeThead2=null);this.chromelessToolbar.style.display="";mxUtils.setOpacity(this.chromelessToolbar,a||30)});if("1"==urlParams.layers){this.layersDialog=null;var z=m(mxUtils.bind(this,function(c){if(null!=this.layersDialog)this.layersDialog.parentNode.removeChild(this.layersDialog),this.layersDialog=null;else{this.layersDialog=a.createLayersDialog();mxEvent.addListener(this.layersDialog,"mouseleave",mxUtils.bind(this,function(){this.layersDialog.parentNode.removeChild(this.layersDialog);this.layersDialog= -null}));var e=z.getBoundingClientRect();mxUtils.setPrefixedStyle(this.layersDialog.style,"borderRadius","5px");this.layersDialog.style.position="fixed";this.layersDialog.style.fontFamily="Helvetica,Arial";this.layersDialog.style.backgroundColor="#000000";this.layersDialog.style.width="160px";this.layersDialog.style.padding="4px 2px 4px 2px";this.layersDialog.style.color="#ffffff";mxUtils.setOpacity(this.layersDialog,70);this.layersDialog.style.left=e.left+"px";this.layersDialog.style.bottom=parseInt(this.chromelessToolbar.style.bottom)+ -this.chromelessToolbar.offsetHeight+4+"px";e=mxUtils.getCurrentStyle(this.editor.graph.container);this.layersDialog.style.zIndex=e.zIndex;document.body.appendChild(this.layersDialog)}mxEvent.consume(c)}),Editor.layersLargeImage,mxResources.get("layers")),A=a.getModel();A.addListener(mxEvent.CHANGE,function(){z.style.display=1<A.getChildCount(A.root)?"":"none"})}this.addChromelessToolbarItems(m);null==this.editor.editButtonLink&&null==this.editor.editButtonFunc||m(mxUtils.bind(this,function(c){null!= +mxResources.get("fit"));var k=null,t=null,n=mxUtils.bind(this,function(a){null!=k&&(window.clearTimeout(k),fadeThead=null);null!=t&&(window.clearTimeout(t),fadeThead2=null);k=window.setTimeout(mxUtils.bind(this,function(){mxUtils.setOpacity(this.chromelessToolbar,0);k=null;t=window.setTimeout(mxUtils.bind(this,function(){this.chromelessToolbar.style.display="none";t=null}),600)}),a||200)}),g=mxUtils.bind(this,function(a){null!=k&&(window.clearTimeout(k),fadeThead=null);null!=t&&(window.clearTimeout(t), +fadeThead2=null);this.chromelessToolbar.style.display="";mxUtils.setOpacity(this.chromelessToolbar,a||30)});if("1"==urlParams.layers){this.layersDialog=null;var y=m(mxUtils.bind(this,function(c){if(null!=this.layersDialog)this.layersDialog.parentNode.removeChild(this.layersDialog),this.layersDialog=null;else{this.layersDialog=a.createLayersDialog();mxEvent.addListener(this.layersDialog,"mouseleave",mxUtils.bind(this,function(){this.layersDialog.parentNode.removeChild(this.layersDialog);this.layersDialog= +null}));var e=y.getBoundingClientRect();mxUtils.setPrefixedStyle(this.layersDialog.style,"borderRadius","5px");this.layersDialog.style.position="fixed";this.layersDialog.style.fontFamily="Helvetica,Arial";this.layersDialog.style.backgroundColor="#000000";this.layersDialog.style.width="160px";this.layersDialog.style.padding="4px 2px 4px 2px";this.layersDialog.style.color="#ffffff";mxUtils.setOpacity(this.layersDialog,70);this.layersDialog.style.left=e.left+"px";this.layersDialog.style.bottom=parseInt(this.chromelessToolbar.style.bottom)+ +this.chromelessToolbar.offsetHeight+4+"px";e=mxUtils.getCurrentStyle(this.editor.graph.container);this.layersDialog.style.zIndex=e.zIndex;document.body.appendChild(this.layersDialog)}mxEvent.consume(c)}),Editor.layersLargeImage,mxResources.get("layers")),A=a.getModel();A.addListener(mxEvent.CHANGE,function(){y.style.display=1<A.getChildCount(A.root)?"":"none"})}this.addChromelessToolbarItems(m);null==this.editor.editButtonLink&&null==this.editor.editButtonFunc||m(mxUtils.bind(this,function(c){null!= this.editor.editButtonFunc?this.editor.editButtonFunc():"_blank"==this.editor.editButtonLink?this.editor.editAsNew(this.getEditBlankXml()):a.openLink(this.editor.editButtonLink,"editWindow");mxEvent.consume(c)}),Editor.editLargeImage,mxResources.get("edit"));if(null!=this.lightboxToolbarActions)for(e=0;e<this.lightboxToolbarActions.length;e++){var q=this.lightboxToolbarActions[e];m(q.fn,q.icon,q.tooltip)}null!=l.refreshBtn&&m(mxUtils.bind(this,function(a){l.refreshBtn.url?window.location.href=l.refreshBtn.url: window.location.reload();mxEvent.consume(a)}),Editor.refreshLargeImage,mxResources.get("refresh",null,"Refresh"));null!=l.fullscreenBtn&&window.self!==window.top&&m(mxUtils.bind(this,function(c){l.fullscreenBtn.url?a.openLink(l.fullscreenBtn.url):a.openLink(window.location.href);mxEvent.consume(c)}),Editor.fullscreenLargeImage,mxResources.get("openInNewWindow",null,"Open in New Window"));(l.closeBtn&&window.self===window.top||a.lightbox&&("1"==urlParams.close||this.container!=document.body))&&m(mxUtils.bind(this, function(a){"1"==urlParams.close||l.closeBtn?window.close():(this.destroy(),mxEvent.consume(a))}),Editor.closeLargeImage,mxResources.get("close")+" (Escape)");this.chromelessToolbar.style.display="none";a.isViewer()||mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"transform","translate(-50%,0)");a.container.appendChild(this.chromelessToolbar);mxEvent.addListener(a.container,mxClient.IS_POINTER?"pointermove":"mousemove",mxUtils.bind(this,function(a){mxEvent.isTouchEvent(a)||(mxEvent.isShiftDown(a)|| @@ -2144,10 +2144,10 @@ g(30),n())}));mxEvent.addListener(this.chromelessToolbar,mxClient.IS_POINTER?"po g(30)}));var F=a.getTolerance();a.addMouseListener({startX:0,startY:0,scrollLeft:0,scrollTop:0,mouseDown:function(c,e){this.startX=e.getGraphX();this.startY=e.getGraphY();this.scrollLeft=a.container.scrollLeft;this.scrollTop=a.container.scrollTop},mouseMove:function(a,c){},mouseUp:function(c,e){mxEvent.isTouchEvent(e.getEvent())&&Math.abs(this.scrollLeft-a.container.scrollLeft)<F&&Math.abs(this.scrollTop-a.container.scrollTop)<F&&Math.abs(this.startX-e.getGraphX())<F&&Math.abs(this.startY-e.getGraphY())< F&&(0<parseFloat(f.chromelessToolbar.style.opacity||0)?n():g(30))}})}this.editor.editable||this.addChromelessClickHandler()}else if(this.editor.extendCanvas){var x=a.view.validate;a.view.validate=function(){if(null!=this.graph.container&&mxUtils.hasScrollbars(this.graph.container)){var a=this.graph.getPagePadding(),c=this.graph.getPageSize();this.translate.x=a.x-(this.x0||0)*c.width;this.translate.y=a.y-(this.y0||0)*c.height}x.apply(this,arguments)};if(!a.isViewer()){var E=a.sizeDidChange;a.sizeDidChange= function(){if(null!=this.container&&mxUtils.hasScrollbars(this.container)){var c=this.getPageLayout(),e=this.getPagePadding(),b=this.getPageSize(),d=Math.ceil(2*e.x+c.width*b.width),k=Math.ceil(2*e.y+c.height*b.height),g=a.minimumGraphSize;if(null==g||g.width!=d||g.height!=k)a.minimumGraphSize=new mxRectangle(0,0,d,k);d=e.x-c.x*b.width;e=e.y-c.y*b.height;this.autoTranslate||this.view.translate.x==d&&this.view.translate.y==e?E.apply(this,arguments):(this.autoTranslate=!0,this.view.x0=c.x,this.view.y0= -c.y,c=a.view.translate.x,b=a.view.translate.y,a.view.setTranslate(d,e),a.container.scrollLeft+=Math.round((d-c)*a.view.scale),a.container.scrollTop+=Math.round((e-b)*a.view.scale),this.autoTranslate=!1)}else this.fireEvent(new mxEventObject(mxEvent.SIZE,"bounds",this.getGraphBounds()))}}}a.updateZoomTimeout=null;a.cumulativeZoomFactor=1;var t=null;a.lazyZoom=function(c){null!=this.updateZoomTimeout&&window.clearTimeout(this.updateZoomTimeout);c?.15>this.view.scale*this.cumulativeZoomFactor?this.cumulativeZoomFactor= +c.y,c=a.view.translate.x,b=a.view.translate.y,a.view.setTranslate(d,e),a.container.scrollLeft+=Math.round((d-c)*a.view.scale),a.container.scrollTop+=Math.round((e-b)*a.view.scale),this.autoTranslate=!1)}else this.fireEvent(new mxEventObject(mxEvent.SIZE,"bounds",this.getGraphBounds()))}}}a.updateZoomTimeout=null;a.cumulativeZoomFactor=1;var u=null;a.lazyZoom=function(c){null!=this.updateZoomTimeout&&window.clearTimeout(this.updateZoomTimeout);c?.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(){var c=mxUtils.getOffset(a.container),e=0,d=0;null!=t&&(e=a.container.offsetWidth/2-t.x+c.x,d=a.container.offsetHeight/2-t.y+c.y);c=this.view.scale;this.zoom(this.cumulativeZoomFactor);this.view.scale!=c&&(null!=b&&f.chromelessResize(!1,null,e*(this.cumulativeZoomFactor-1),d*(this.cumulativeZoomFactor-1)),!mxUtils.hasScrollbars(a.container)||0==e&&0==d||(a.container.scrollLeft-=e*(this.cumulativeZoomFactor- -1),a.container.scrollTop-=d*(this.cumulativeZoomFactor-1)));this.cumulativeZoomFactor=1;this.updateZoomTimeout=null}),this.lazyZoomDelay)};mxEvent.addMouseWheelListener(mxUtils.bind(this,function(c,e){if((null==this.dialogs||0==this.dialogs.length)&&a.isZoomWheelEvent(c))for(var b=mxEvent.getSource(c);null!=b;){if(b==a.container)return t=new mxPoint(mxEvent.getClientX(c),mxEvent.getClientY(c)),a.lazyZoom(e),mxEvent.consume(c),!1;b=b.parentNode}}),a.container)}; +this.cumulativeZoomFactor,160)/this.view.scale);this.updateZoomTimeout=window.setTimeout(mxUtils.bind(this,function(){var c=mxUtils.getOffset(a.container),e=0,d=0;null!=u&&(e=a.container.offsetWidth/2-u.x+c.x,d=a.container.offsetHeight/2-u.y+c.y);c=this.view.scale;this.zoom(this.cumulativeZoomFactor);this.view.scale!=c&&(null!=b&&f.chromelessResize(!1,null,e*(this.cumulativeZoomFactor-1),d*(this.cumulativeZoomFactor-1)),!mxUtils.hasScrollbars(a.container)||0==e&&0==d||(a.container.scrollLeft-=e*(this.cumulativeZoomFactor- +1),a.container.scrollTop-=d*(this.cumulativeZoomFactor-1)));this.cumulativeZoomFactor=1;this.updateZoomTimeout=null}),this.lazyZoomDelay)};mxEvent.addMouseWheelListener(mxUtils.bind(this,function(c,e){if((null==this.dialogs||0==this.dialogs.length)&&a.isZoomWheelEvent(c))for(var b=mxEvent.getSource(c);null!=b;){if(b==a.container)return u=new mxPoint(mxEvent.getClientX(c),mxEvent.getClientY(c)),a.lazyZoom(e),mxEvent.consume(c),!1;b=b.parentNode}}),a.container)}; EditorUi.prototype.addChromelessToolbarItems=function(a){a(mxUtils.bind(this,function(a){this.actions.get("print").funct();mxEvent.consume(a)}),Editor.printLargeImage,mxResources.get("print"))}; 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&&0<a.length&&(a="#"+a);this.editor.graph.addClickHandler(a)};EditorUi.prototype.toggleFormatPanel=function(a){null!=this.format&&(this.formatWidth=a||0<this.formatWidth?0:240,this.formatContainer.style.display=a||0<this.formatWidth?"":"none",this.refresh(),this.format.refresh(),this.fireEvent(new mxEventObject("formatWidthChanged")))}; @@ -2180,11 +2180,11 @@ this.actions.get("collapsible").setEnabled(f&&(a.isContainer(a.getSelectionCell( this.actions.get("editLink").setEnabled(1==a.getSelectionCount());this.actions.get("openLink").setEnabled(1==a.getSelectionCount()&&null!=a.getLinkForCell(a.getSelectionCell()));this.actions.get("guides").setEnabled(a.isEnabled());this.actions.get("grid").setEnabled(!this.editor.chromeless||this.editor.editable);b=a.isEnabled()&&!a.isCellLocked(a.getDefaultParent());this.menus.get("layout").setEnabled(b);this.menus.get("insert").setEnabled(b);this.menus.get("direction").setEnabled(b&&f);this.menus.get("align").setEnabled(b&& f&&1<a.getSelectionCount());this.menus.get("distribute").setEnabled(b&&f&&1<a.getSelectionCount());this.actions.get("selectVertices").setEnabled(b);this.actions.get("selectEdges").setEnabled(b);this.actions.get("selectAll").setEnabled(b);this.actions.get("selectNone").setEnabled(b);this.updatePasteActionStates()};EditorUi.prototype.zeroOffset=new mxPoint(0,0);EditorUi.prototype.getDiagramContainerOffset=function(){return this.zeroOffset}; EditorUi.prototype.refresh=function(a){a=null!=a?a:!0;var b=mxClient.IS_IE&&(null==document.documentMode||5==document.documentMode),f=this.container.clientWidth,d=this.container.clientHeight;this.container==document.body&&(f=document.body.clientWidth||document.documentElement.clientWidth,d=b?document.body.clientHeight||document.documentElement.clientHeight:document.documentElement.clientHeight);var l=0;mxClient.IS_IOS&&!window.navigator.standalone&&window.innerHeight!=document.documentElement.clientHeight&& -(l=document.documentElement.clientHeight-window.innerHeight,window.scrollTo(0,0));var m=Math.max(0,Math.min(this.hsplitPosition,f-this.splitSize-20)),p=0;null!=this.menubar&&(this.menubarContainer.style.height=this.menubarHeight+"px",p+=this.menubarHeight);null!=this.toolbar&&(this.toolbarContainer.style.top=this.menubarHeight+"px",this.toolbarContainer.style.height=this.toolbarHeight+"px",p+=this.toolbarHeight);0<p&&!mxClient.IS_QUIRKS&&(p+=1);var v=0;if(null!=this.sidebarFooterContainer){var y= -this.footerHeight+l,v=Math.max(0,Math.min(d-p-y,this.sidebarFooterHeight));this.sidebarFooterContainer.style.width=m+"px";this.sidebarFooterContainer.style.height=v+"px";this.sidebarFooterContainer.style.bottom=y+"px"}y=null!=this.format?this.formatWidth:0;this.sidebarContainer.style.top=p+"px";this.sidebarContainer.style.width=m+"px";this.formatContainer.style.top=p+"px";this.formatContainer.style.width=y+"px";this.formatContainer.style.display=null!=this.format?"":"none";var B=this.getDiagramContainerOffset(), +(l=document.documentElement.clientHeight-window.innerHeight,window.scrollTo(0,0));var m=Math.max(0,Math.min(this.hsplitPosition,f-this.splitSize-20)),p=0;null!=this.menubar&&(this.menubarContainer.style.height=this.menubarHeight+"px",p+=this.menubarHeight);null!=this.toolbar&&(this.toolbarContainer.style.top=this.menubarHeight+"px",this.toolbarContainer.style.height=this.toolbarHeight+"px",p+=this.toolbarHeight);0<p&&!mxClient.IS_QUIRKS&&(p+=1);var v=0;if(null!=this.sidebarFooterContainer){var z= +this.footerHeight+l,v=Math.max(0,Math.min(d-p-z,this.sidebarFooterHeight));this.sidebarFooterContainer.style.width=m+"px";this.sidebarFooterContainer.style.height=v+"px";this.sidebarFooterContainer.style.bottom=z+"px"}z=null!=this.format?this.formatWidth:0;this.sidebarContainer.style.top=p+"px";this.sidebarContainer.style.width=m+"px";this.formatContainer.style.top=p+"px";this.formatContainer.style.width=z+"px";this.formatContainer.style.display=null!=this.format?"":"none";var B=this.getDiagramContainerOffset(), c=null!=this.hsplit.parentNode?m+this.splitSize:0;this.diagramContainer.style.left=c+B.x+"px";this.diagramContainer.style.top=p+B.y+"px";this.footerContainer.style.height=this.footerHeight+"px";this.hsplit.style.top=this.sidebarContainer.style.top;this.hsplit.style.bottom=this.footerHeight+l+"px";this.hsplit.style.left=m+"px";this.footerContainer.style.display=0==this.footerHeight?"none":"";null!=this.tabContainer&&(this.tabContainer.style.left=c+"px");b?(this.menubarContainer.style.width=f+"px", -this.toolbarContainer.style.width=this.menubarContainer.style.width,b=Math.max(0,d-this.footerHeight-this.menubarHeight-this.toolbarHeight),this.sidebarContainer.style.height=b-v+"px",this.formatContainer.style.height=b+"px",this.diagramContainer.style.width=null!=this.hsplit.parentNode?Math.max(0,f-m-this.splitSize-y)+"px":f+"px",this.footerContainer.style.width=this.menubarContainer.style.width,v=Math.max(0,d-this.footerHeight-this.menubarHeight-this.toolbarHeight),null!=this.tabContainer&&(this.tabContainer.style.width= -this.diagramContainer.style.width,this.tabContainer.style.bottom=this.footerHeight+l+"px",v-=this.tabContainer.clientHeight),this.diagramContainer.style.height=v+"px",this.hsplit.style.height=v+"px"):(0<this.footerHeight&&(this.footerContainer.style.bottom=l+"px"),this.diagramContainer.style.right=y+"px",f=0,null!=this.tabContainer&&(this.tabContainer.style.bottom=this.footerHeight+l+"px",this.tabContainer.style.right=this.diagramContainer.style.right,f=this.tabContainer.clientHeight),this.sidebarContainer.style.bottom= +this.toolbarContainer.style.width=this.menubarContainer.style.width,b=Math.max(0,d-this.footerHeight-this.menubarHeight-this.toolbarHeight),this.sidebarContainer.style.height=b-v+"px",this.formatContainer.style.height=b+"px",this.diagramContainer.style.width=null!=this.hsplit.parentNode?Math.max(0,f-m-this.splitSize-z)+"px":f+"px",this.footerContainer.style.width=this.menubarContainer.style.width,v=Math.max(0,d-this.footerHeight-this.menubarHeight-this.toolbarHeight),null!=this.tabContainer&&(this.tabContainer.style.width= +this.diagramContainer.style.width,this.tabContainer.style.bottom=this.footerHeight+l+"px",v-=this.tabContainer.clientHeight),this.diagramContainer.style.height=v+"px",this.hsplit.style.height=v+"px"):(0<this.footerHeight&&(this.footerContainer.style.bottom=l+"px"),this.diagramContainer.style.right=z+"px",f=0,null!=this.tabContainer&&(this.tabContainer.style.bottom=this.footerHeight+l+"px",this.tabContainer.style.right=this.diagramContainer.style.right,f=this.tabContainer.clientHeight),this.sidebarContainer.style.bottom= this.footerHeight+v+l+"px",this.formatContainer.style.bottom=this.footerHeight+l+"px",this.diagramContainer.style.bottom=this.footerHeight+l+f+"px");a&&this.editor.graph.sizeDidChange()};EditorUi.prototype.createTabContainer=function(){return null}; EditorUi.prototype.createDivs=function(){this.menubarContainer=this.createDiv("geMenubarContainer");this.toolbarContainer=this.createDiv("geToolbarContainer");this.sidebarContainer=this.createDiv("geSidebarContainer");this.formatContainer=this.createDiv("geSidebarContainer geFormatContainer");this.diagramContainer=this.createDiv("geDiagramContainer");this.footerContainer=this.createDiv("geFooterContainer");this.hsplit=this.createDiv("geHsplit");this.hsplit.setAttribute("title",mxResources.get("collapseExpand")); this.menubarContainer.style.top="0px";this.menubarContainer.style.left="0px";this.menubarContainer.style.right="0px";this.toolbarContainer.style.left="0px";this.toolbarContainer.style.right="0px";this.sidebarContainer.style.left="0px";this.formatContainer.style.right="0px";this.formatContainer.style.zIndex="1";this.diagramContainer.style.right=(null!=this.format?this.formatWidth:0)+"px";this.footerContainer.style.left="0px";this.footerContainer.style.right="0px";this.footerContainer.style.bottom= @@ -2194,10 +2194,10 @@ this.sidebar=this.editor.chromeless?null:this.createSidebar(this.sidebarContaine this.container.appendChild(this.sidebarFooterContainer);this.container.appendChild(this.diagramContainer);null!=this.container&&null!=this.tabContainer&&this.container.appendChild(this.tabContainer);this.toolbar=this.editor.chromeless?null:this.createToolbar(this.createDiv("geToolbar"));null!=this.toolbar&&(this.toolbarContainer.appendChild(this.toolbar.container),this.container.appendChild(this.toolbarContainer));null!=this.sidebar&&(this.container.appendChild(this.hsplit),this.addSplitHandler(this.hsplit, !0,0,mxUtils.bind(this,function(a){this.hsplitPosition=a;this.refresh()})))};EditorUi.prototype.createStatusContainer=function(){var a=document.createElement("a");a.className="geItem geStatus";420>screen.width&&(a.style.maxWidth=Math.max(20,screen.width-320)+"px",a.style.overflow="hidden");return a};EditorUi.prototype.setStatusText=function(a){this.statusContainer.innerHTML=a};EditorUi.prototype.createToolbar=function(a){return new Toolbar(this,a)}; EditorUi.prototype.createSidebar=function(a){return new Sidebar(this,a)};EditorUi.prototype.createFormat=function(a){return new Format(this,a)};EditorUi.prototype.createFooter=function(){return this.createDiv("geFooter")};EditorUi.prototype.createDiv=function(a){var b=document.createElement("div");b.className=a;return b}; -EditorUi.prototype.addSplitHandler=function(a,b,f,d){function l(a){if(null!=p){var e=new mxPoint(mxEvent.getClientX(a),mxEvent.getClientY(a));d(Math.max(0,v+(b?e.x-p.x:p.y-e.y)-f));mxEvent.consume(a);v!=c()&&(y=!0,B=null)}}function m(a){l(a);p=v=null}var p=null,v=null,y=!0,B=null;mxClient.IS_POINTER&&(a.style.touchAction="none");var c=mxUtils.bind(this,function(){var c=parseInt(b?a.style.left:a.style.bottom);b||(c=c+f-this.footerHeight);return c});mxEvent.addGestureListeners(a,function(a){p=new mxPoint(mxEvent.getClientX(a), -mxEvent.getClientY(a));v=c();y=!1;mxEvent.consume(a)});mxEvent.addListener(a,"click",mxUtils.bind(this,function(a){if(!y&&this.hsplitClickEnabled){var e=null!=B?B-f:0;B=c();d(e);mxEvent.consume(a)}}));mxEvent.addGestureListeners(document,null,l,m);this.destroyFunctions.push(function(){mxEvent.removeGestureListeners(document,null,l,m)})}; +EditorUi.prototype.addSplitHandler=function(a,b,f,d){function l(a){if(null!=p){var e=new mxPoint(mxEvent.getClientX(a),mxEvent.getClientY(a));d(Math.max(0,v+(b?e.x-p.x:p.y-e.y)-f));mxEvent.consume(a);v!=c()&&(z=!0,B=null)}}function m(a){l(a);p=v=null}var p=null,v=null,z=!0,B=null;mxClient.IS_POINTER&&(a.style.touchAction="none");var c=mxUtils.bind(this,function(){var c=parseInt(b?a.style.left:a.style.bottom);b||(c=c+f-this.footerHeight);return c});mxEvent.addGestureListeners(a,function(a){p=new mxPoint(mxEvent.getClientX(a), +mxEvent.getClientY(a));v=c();z=!1;mxEvent.consume(a)});mxEvent.addListener(a,"click",mxUtils.bind(this,function(a){if(!z&&this.hsplitClickEnabled){var e=null!=B?B-f:0;B=c();d(e);mxEvent.consume(a)}}));mxEvent.addGestureListeners(document,null,l,m);this.destroyFunctions.push(function(){mxEvent.removeGestureListeners(document,null,l,m)})}; EditorUi.prototype.handleError=function(a,b,f,d,l){a=null!=a&&null!=a.error?a.error:a;if(null!=a||null!=b){l=mxUtils.htmlEntities(mxResources.get("unknownError"));var m=mxResources.get("ok");b=null!=b?b:mxResources.get("error");null!=a&&null!=a.message&&(l=mxUtils.htmlEntities(a.message));this.showError(b,l,m,f,null,null,null,null,null,null,null,null,d?f:null)}else null!=f&&f()}; -EditorUi.prototype.showError=function(a,b,f,d,l,m,p,v,y,B,c,e,k){a=new ErrorDialog(this,a,b,f||mxResources.get("ok"),d,l,m,p,e,v,y);b=Math.ceil(null!=b?b.length/50:1);this.showDialog(a.container,B||340,c||100+20*b,!0,!1,k);a.init()};EditorUi.prototype.showDialog=function(a,b,f,d,l,m,p,v,y,B){this.editor.graph.tooltipHandler.hideTooltip();null==this.dialogs&&(this.dialogs=[]);this.dialog=new Dialog(this,a,b,f,d,l,m,p,v,y,B);this.dialogs.push(this.dialog)}; +EditorUi.prototype.showError=function(a,b,f,d,l,m,p,v,z,B,c,e,k){a=new ErrorDialog(this,a,b,f||mxResources.get("ok"),d,l,m,p,e,v,z);b=Math.ceil(null!=b?b.length/50:1);this.showDialog(a.container,B||340,c||100+20*b,!0,!1,k);a.init()};EditorUi.prototype.showDialog=function(a,b,f,d,l,m,p,v,z,B){this.editor.graph.tooltipHandler.hideTooltip();null==this.dialogs&&(this.dialogs=[]);this.dialog=new Dialog(this,a,b,f,d,l,m,p,v,z,B);this.dialogs.push(this.dialog)}; EditorUi.prototype.hideDialog=function(a,b){if(null!=this.dialogs&&0<this.dialogs.length){var f=this.dialogs.pop();0==f.close(a,b)?this.dialogs.push(f):(this.dialog=0<this.dialogs.length?this.dialogs[this.dialogs.length-1]:null,this.editor.fireEvent(new mxEventObject("hideDialog")),null==this.dialog&&"hidden"!=this.editor.graph.container.style.visibility&&window.setTimeout(mxUtils.bind(this,function(){this.editor.graph.isEditing()&&null!=this.editor.graph.cellEditor.textarea?this.editor.graph.cellEditor.textarea.focus(): (mxUtils.clearSelection(),this.editor.graph.container.focus())}),0))}};EditorUi.prototype.pickColor=function(a,b){var f=this.editor.graph,d=f.cellEditor.saveSelection(),l=226+17*(Math.ceil(ColorDialog.prototype.presetColors.length/12)+Math.ceil(ColorDialog.prototype.defaultColors.length/12)),m=new ColorDialog(this,a||"none",function(a){f.cellEditor.restoreSelection(d);b(a)},function(){f.cellEditor.restoreSelection(d)});this.showDialog(m.container,230,l,!0,!1);m.init()}; EditorUi.prototype.openFile=function(){window.openFile=new OpenFile(mxUtils.bind(this,function(a){this.hideDialog(a)}));this.showDialog((new OpenDialog(this)).container,Editor.useLocalStorage?640:320,Editor.useLocalStorage?480:220,!0,!0,function(){window.openFile=null})}; @@ -2215,8 +2215,8 @@ EditorUi.prototype.createOutline=function(a){var b=new mxOutline(this.editor.gra EditorUi.prototype.createKeyHandler=function(a){function b(a,c,b){p.push(function(){if(!d.isSelectionEmpty()&&d.isEnabled())if(c=null!=c?c:1,b){d.getModel().beginUpdate();try{for(var e=d.getSelectionCells(),k=0;k<e.length;k++)if(d.getModel().isVertex(e[k])&&d.isCellResizable(e[k])){var f=d.getCellGeometry(e[k]);null!=f&&(f=f.clone(),37==a?f.width=Math.max(0,f.width-c):38==a?f.height=Math.max(0,f.height-c):39==a?f.width+=c:40==a&&(f.height+=c),d.getModel().setGeometry(e[k],f))}}finally{d.getModel().endUpdate()}}else e= d.getSelectionCell(),k=d.model.getParent(e),f=null,1==d.getSelectionCount()&&d.model.isVertex(e)&&null!=d.layoutManager&&!d.isCellLocked(e)&&(f=d.layoutManager.getLayout(k)),null!=f&&f.constructor==mxStackLayout?(f=k.getIndex(e),37==a||38==a?d.model.add(k,e,Math.max(0,f-1)):39!=a&&40!=a||d.model.add(k,e,Math.min(d.model.getChildCount(k),f+1))):(k=e=0,37==a?e=-c:38==a?k=-c:39==a?e=c:40==a&&(k=c),d.moveCells(d.getMovableCells(d.getSelectionCells()),e,k))});null!=v&&window.clearTimeout(v);v=window.setTimeout(function(){if(0< p.length){d.getModel().beginUpdate();try{for(var a=0;a<p.length;a++)p[a]();p=[]}finally{d.getModel().endUpdate()}d.scrollCellToVisible(d.getSelectionCell())}},200)}var f=this,d=this.editor.graph,l=new mxKeyHandler(d),m=l.isEventIgnored;l.isEventIgnored=function(a){return(!this.isControlDown(a)||mxEvent.isShiftDown(a)||90!=a.keyCode&&89!=a.keyCode&&188!=a.keyCode&&190!=a.keyCode&&85!=a.keyCode)&&(66!=a.keyCode&&73!=a.keyCode||!this.isControlDown(a)||this.graph.cellEditor.isContentEditing()&&!mxClient.IS_FF&& -!mxClient.IS_SF)&&m.apply(this,arguments)};l.isEnabledForEvent=function(a){return!mxEvent.isConsumed(a)&&this.isGraphEvent(a)&&this.isEnabled()&&(null==f.dialogs||0==f.dialogs.length)};l.isControlDown=function(a){return mxEvent.isControlDown(a)||mxClient.IS_MAC&&a.metaKey};var p=[],v=null,y={37:mxConstants.DIRECTION_WEST,38:mxConstants.DIRECTION_NORTH,39:mxConstants.DIRECTION_EAST,40:mxConstants.DIRECTION_SOUTH},B=l.getFunction;mxKeyHandler.prototype.getFunction=function(a){if(d.isEnabled()){if(mxEvent.isShiftDown(a)&& -mxEvent.isAltDown(a)){var c=f.actions.get(f.altShiftActions[a.keyCode]);if(null!=c)return c.funct}if(9==a.keyCode&&mxEvent.isAltDown(a))return mxEvent.isShiftDown(a)?function(){d.selectParentCell()}:function(){d.selectChildCell()};if(null!=y[a.keyCode]&&!d.isSelectionEmpty())if(!this.isControlDown(a)&&mxEvent.isShiftDown(a)&&mxEvent.isAltDown(a)){if(d.model.isVertex(d.getSelectionCell()))return function(){var c=d.connectVertex(d.getSelectionCell(),y[a.keyCode],d.defaultEdgeLength,a,!0);null!=c&&0< +!mxClient.IS_SF)&&m.apply(this,arguments)};l.isEnabledForEvent=function(a){return!mxEvent.isConsumed(a)&&this.isGraphEvent(a)&&this.isEnabled()&&(null==f.dialogs||0==f.dialogs.length)};l.isControlDown=function(a){return mxEvent.isControlDown(a)||mxClient.IS_MAC&&a.metaKey};var p=[],v=null,z={37:mxConstants.DIRECTION_WEST,38:mxConstants.DIRECTION_NORTH,39:mxConstants.DIRECTION_EAST,40:mxConstants.DIRECTION_SOUTH},B=l.getFunction;mxKeyHandler.prototype.getFunction=function(a){if(d.isEnabled()){if(mxEvent.isShiftDown(a)&& +mxEvent.isAltDown(a)){var c=f.actions.get(f.altShiftActions[a.keyCode]);if(null!=c)return c.funct}if(9==a.keyCode&&mxEvent.isAltDown(a))return mxEvent.isShiftDown(a)?function(){d.selectParentCell()}:function(){d.selectChildCell()};if(null!=z[a.keyCode]&&!d.isSelectionEmpty())if(!this.isControlDown(a)&&mxEvent.isShiftDown(a)&&mxEvent.isAltDown(a)){if(d.model.isVertex(d.getSelectionCell()))return function(){var c=d.connectVertex(d.getSelectionCell(),z[a.keyCode],d.defaultEdgeLength,a,!0);null!=c&&0< c.length&&(1==c.length&&d.model.isEdge(c[0])?d.setSelectionCell(d.model.getTerminal(c[0],!1)):d.setSelectionCell(c[c.length-1]),d.scrollCellToVisible(d.getSelectionCell()),null!=f.hoverIcons&&f.hoverIcons.update(d.view.getState(d.getSelectionCell())))}}else return this.isControlDown(a)?function(){b(a.keyCode,mxEvent.isShiftDown(a)?d.gridSize:null,!0)}:function(){b(a.keyCode,mxEvent.isShiftDown(a)?d.gridSize:null)}}return B.apply(this,arguments)};l.bindAction=mxUtils.bind(this,function(a,c,b,d){var e= this.actions.get(b);null!=e&&(b=function(){e.isEnabled()&&e.funct()},c?d?l.bindControlShiftKey(a,b):l.bindControlKey(a,b):d?l.bindShiftKey(a,b):l.bindKey(a,b))});var c=l.escape;l.escape=function(a){c.apply(this,arguments)};l.enter=function(){};l.bindControlShiftKey(36,function(){d.exitGroup()});l.bindControlShiftKey(35,function(){d.enterGroup()});l.bindKey(36,function(){d.home()});l.bindKey(35,function(){d.refresh()});l.bindAction(107,!0,"zoomIn");l.bindAction(109,!0,"zoomOut");l.bindAction(80,!0, "print");l.bindAction(79,!0,"outline",!0);l.bindAction(112,!1,"about");if(!this.editor.chromeless||this.editor.editable)l.bindControlKey(36,function(){d.isEnabled()&&d.foldCells(!0)}),l.bindControlKey(35,function(){d.isEnabled()&&d.foldCells(!1)}),l.bindControlKey(13,function(){d.isEnabled()&&d.setSelectionCells(d.duplicateCells(d.getSelectionCells(),!1))}),l.bindAction(8,!1,"delete"),l.bindAction(8,!0,"deleteAll"),l.bindAction(46,!1,"delete"),l.bindAction(46,!0,"deleteAll"),l.bindAction(72,!0,"resetView"), @@ -2231,25 +2231,25 @@ mxConstants.PIXELS_PER_MM=3.937;mxConstants.PIXELS_PER_INCH=100;mxConstants.SHAD mxText.prototype.baseSpacingTop=5;mxText.prototype.baseSpacingBottom=1;mxGraphModel.prototype.ignoreRelativeEdgeParent=!1;mxGraphView.prototype.gridImage=mxClient.IS_SVG?"data:image/gif;base64,R0lGODlhCgAKAJEAAAAAAP///8zMzP///yH5BAEAAAMALAAAAAAKAAoAAAIJ1I6py+0Po2wFADs=":IMAGE_PATH+"/grid.gif";mxGraphView.prototype.gridSteps=4;mxGraphView.prototype.minGridSize=4;mxGraphView.prototype.defaultGridColor="#e0e0e0";mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultGridColor; mxGraphView.prototype.unit=mxConstants.POINTS;mxGraphView.prototype.setUnit=function(a){this.unit!=a&&(this.unit=a,this.fireEvent(new mxEventObject("unitChanged","unit",a)))};mxSvgCanvas2D.prototype.foAltText="[Not supported by viewer]";mxShape.prototype.getConstraints=function(a,b,f){return null}; Graph=function(a,b,f,d,l,m){mxGraph.call(this,a,b,f,d);this.themes=l||this.defaultThemes;this.currentEdgeStyle=mxUtils.clone(this.defaultEdgeStyle);this.currentVertexStyle=mxUtils.clone(this.defaultVertexStyle);this.standalone=null!=m?m:!1;a=this.baseUrl;b=a.indexOf("//");this.domainPathUrl=this.domainUrl="";0<b&&(b=a.indexOf("/",b+2),0<b&&(this.domainUrl=a.substring(0,b)),b=a.lastIndexOf("/"),0<b&&(this.domainPathUrl=a.substring(0,b+1)));this.isHtmlLabel=function(a){var c=this.view.getState(a);a= -null!=c?c.style:this.getCellStyle(a);return null!=a?"1"==a.html||"wrap"==a[mxConstants.STYLE_WHITE_SPACE]:!1};if(this.edgeMode){var p=null,v=null,y=null,B=null,c=!1;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(a,e){if("mouseDown"==e.getProperty("eventName")&&this.isEnabled()){var b=e.getProperty("event");if(!mxEvent.isControlDown(b.getEvent())&&!mxEvent.isShiftDown(b.getEvent())){var d=b.getState();null!=d&&this.model.isEdge(d.cell)&&(p=new mxPoint(b.getGraphX(),b.getGraphY()), -c=this.isCellSelected(d.cell),y=d,v=b,null!=d.text&&null!=d.text.boundingBox&&mxUtils.contains(d.text.boundingBox,b.getGraphX(),b.getGraphY())?B=mxEvent.LABEL_HANDLE:(d=this.selectionCellsHandler.getHandler(d.cell),null!=d&&null!=d.bends&&0<d.bends.length&&(B=d.getHandleForEvent(b))))}}}));this.addMouseListener({mouseDown:function(a,c){},mouseMove:mxUtils.bind(this,function(a,e){var b=this.selectionCellsHandler.handlers.map,d;for(d in b)if(null!=b[d].index)return;if(this.isEnabled()&&!this.panningHandler.isActive()&& -!mxEvent.isControlDown(e.getEvent())&&!mxEvent.isShiftDown(e.getEvent())&&!mxEvent.isAltDown(e.getEvent()))if(d=this.tolerance,null!=p&&null!=y&&null!=v){if(b=y,Math.abs(p.x-e.getGraphX())>d||Math.abs(p.y-e.getGraphY())>d){this.isCellSelected(b.cell)||this.setSelectionCell(b.cell);var k=this.selectionCellsHandler.getHandler(b.cell);if(null!=k&&null!=k.bends&&0<k.bends.length){var g=k.getHandleForEvent(v),f=this.view.getEdgeStyle(b);d=f==mxEdgeStyle.EntityRelation;c||B!=mxEvent.LABEL_HANDLE||(g=B); -if(d&&0!=g&&g!=k.bends.length-1&&g!=mxEvent.LABEL_HANDLE)!d||null==b.visibleSourceState&&null==b.visibleTargetState||(this.graphHandler.reset(),e.consume());else if(g==mxEvent.LABEL_HANDLE||0==g||null!=b.visibleSourceState||g==k.bends.length-1||null!=b.visibleTargetState)d||g==mxEvent.LABEL_HANDLE||(d=b.absolutePoints,null!=d&&(null==f&&null==g||f==mxEdgeStyle.OrthConnector)&&(g=B,null==g&&(g=new mxRectangle(p.x,p.y),g.grow(mxEdgeHandler.prototype.handleImage.width/2),mxUtils.contains(g,d[0].x,d[0].y)? -g=0:mxUtils.contains(g,d[d.length-1].x,d[d.length-1].y)?g=k.bends.length-1:null!=f&&(2==d.length||3==d.length&&(0==Math.round(d[0].x-d[1].x)&&0==Math.round(d[1].x-d[2].x)||0==Math.round(d[0].y-d[1].y)&&0==Math.round(d[1].y-d[2].y)))?g=2:(g=mxUtils.findNearestSegment(b,p.x,p.y),g=null==f?mxEvent.VIRTUAL_HANDLE-g:g+1))),null==g&&(g=mxEvent.VIRTUAL_HANDLE)),k.start(e.getGraphX(),e.getGraphX(),g),B=p=v=y=null,c=!1,e.consume(),this.graphHandler.reset()}}}else if(b=e.getState(),null!=b&&this.model.isEdge(b.cell)){k= -null;d=b.absolutePoints;if(null!=d)if(g=new mxRectangle(e.getGraphX(),e.getGraphY()),g.grow(mxEdgeHandler.prototype.handleImage.width/2),null!=b.text&&null!=b.text.boundingBox&&mxUtils.contains(b.text.boundingBox,e.getGraphX(),e.getGraphY()))k="move";else if(mxUtils.contains(g,d[0].x,d[0].y)||mxUtils.contains(g,d[d.length-1].x,d[d.length-1].y))k="pointer";else if(null!=b.visibleSourceState||null!=b.visibleTargetState)f=this.view.getEdgeStyle(b),k="crosshair",f!=mxEdgeStyle.EntityRelation&&this.isOrthogonal(b)&& -(f=mxUtils.findNearestSegment(b,e.getGraphX(),e.getGraphY()),f<d.length-1&&0<=f&&(k=0==Math.round(d[f].x-d[f+1].x)?"col-resize":"row-resize"));null!=k&&b.setCursor(k)}}),mouseUp:mxUtils.bind(this,function(a,c){B=p=v=y=null})})}this.cellRenderer.getLabelValue=function(a){var c=mxCellRenderer.prototype.getLabelValue.apply(this,arguments);a.view.graph.isHtmlLabel(a.cell)&&(c=1!=a.style.html?mxUtils.htmlEntities(c,!1):a.view.graph.sanitizeHtml(c));return c};if("undefined"!==typeof mxVertexHandler){this.setConnectable(!0); +null!=c?c.style:this.getCellStyle(a);return null!=a?"1"==a.html||"wrap"==a[mxConstants.STYLE_WHITE_SPACE]:!1};if(this.edgeMode){var p=null,v=null,z=null,B=null,c=!1;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(a,e){if("mouseDown"==e.getProperty("eventName")&&this.isEnabled()){var b=e.getProperty("event");if(!mxEvent.isControlDown(b.getEvent())&&!mxEvent.isShiftDown(b.getEvent())){var d=b.getState();null!=d&&this.model.isEdge(d.cell)&&(p=new mxPoint(b.getGraphX(),b.getGraphY()), +c=this.isCellSelected(d.cell),z=d,v=b,null!=d.text&&null!=d.text.boundingBox&&mxUtils.contains(d.text.boundingBox,b.getGraphX(),b.getGraphY())?B=mxEvent.LABEL_HANDLE:(d=this.selectionCellsHandler.getHandler(d.cell),null!=d&&null!=d.bends&&0<d.bends.length&&(B=d.getHandleForEvent(b))))}}}));this.addMouseListener({mouseDown:function(a,c){},mouseMove:mxUtils.bind(this,function(a,b){var e=this.selectionCellsHandler.handlers.map,d;for(d in e)if(null!=e[d].index)return;if(this.isEnabled()&&!this.panningHandler.isActive()&& +!mxEvent.isControlDown(b.getEvent())&&!mxEvent.isShiftDown(b.getEvent())&&!mxEvent.isAltDown(b.getEvent()))if(d=this.tolerance,null!=p&&null!=z&&null!=v){if(e=z,Math.abs(p.x-b.getGraphX())>d||Math.abs(p.y-b.getGraphY())>d){this.isCellSelected(e.cell)||this.setSelectionCell(e.cell);var k=this.selectionCellsHandler.getHandler(e.cell);if(null!=k&&null!=k.bends&&0<k.bends.length){var g=k.getHandleForEvent(v),f=this.view.getEdgeStyle(e);d=f==mxEdgeStyle.EntityRelation;c||B!=mxEvent.LABEL_HANDLE||(g=B); +if(d&&0!=g&&g!=k.bends.length-1&&g!=mxEvent.LABEL_HANDLE)!d||null==e.visibleSourceState&&null==e.visibleTargetState||(this.graphHandler.reset(),b.consume());else if(g==mxEvent.LABEL_HANDLE||0==g||null!=e.visibleSourceState||g==k.bends.length-1||null!=e.visibleTargetState)d||g==mxEvent.LABEL_HANDLE||(d=e.absolutePoints,null!=d&&(null==f&&null==g||f==mxEdgeStyle.OrthConnector)&&(g=B,null==g&&(g=new mxRectangle(p.x,p.y),g.grow(mxEdgeHandler.prototype.handleImage.width/2),mxUtils.contains(g,d[0].x,d[0].y)? +g=0:mxUtils.contains(g,d[d.length-1].x,d[d.length-1].y)?g=k.bends.length-1:null!=f&&(2==d.length||3==d.length&&(0==Math.round(d[0].x-d[1].x)&&0==Math.round(d[1].x-d[2].x)||0==Math.round(d[0].y-d[1].y)&&0==Math.round(d[1].y-d[2].y)))?g=2:(g=mxUtils.findNearestSegment(e,p.x,p.y),g=null==f?mxEvent.VIRTUAL_HANDLE-g:g+1))),null==g&&(g=mxEvent.VIRTUAL_HANDLE)),k.start(b.getGraphX(),b.getGraphX(),g),B=p=v=z=null,c=!1,b.consume(),this.graphHandler.reset()}}}else if(e=b.getState(),null!=e&&this.model.isEdge(e.cell)){k= +null;d=e.absolutePoints;if(null!=d)if(g=new mxRectangle(b.getGraphX(),b.getGraphY()),g.grow(mxEdgeHandler.prototype.handleImage.width/2),null!=e.text&&null!=e.text.boundingBox&&mxUtils.contains(e.text.boundingBox,b.getGraphX(),b.getGraphY()))k="move";else if(mxUtils.contains(g,d[0].x,d[0].y)||mxUtils.contains(g,d[d.length-1].x,d[d.length-1].y))k="pointer";else if(null!=e.visibleSourceState||null!=e.visibleTargetState)f=this.view.getEdgeStyle(e),k="crosshair",f!=mxEdgeStyle.EntityRelation&&this.isOrthogonal(e)&& +(f=mxUtils.findNearestSegment(e,b.getGraphX(),b.getGraphY()),f<d.length-1&&0<=f&&(k=0==Math.round(d[f].x-d[f+1].x)?"col-resize":"row-resize"));null!=k&&e.setCursor(k)}}),mouseUp:mxUtils.bind(this,function(a,c){B=p=v=z=null})})}this.cellRenderer.getLabelValue=function(a){var c=mxCellRenderer.prototype.getLabelValue.apply(this,arguments);a.view.graph.isHtmlLabel(a.cell)&&(c=1!=a.style.html?mxUtils.htmlEntities(c,!1):a.view.graph.sanitizeHtml(c));return c};if("undefined"!==typeof mxVertexHandler){this.setConnectable(!0); this.setDropEnabled(!0);this.setPanning(!0);this.setTooltips(!0);this.setAllowLoops(!0);this.allowAutoPanning=!0;this.constrainChildren=this.resetEdgesOnConnect=!1;this.constrainRelativeChildren=!0;this.graphHandler.scrollOnMove=!1;this.graphHandler.scaleGrid=!0;this.connectionHandler.setCreateTarget(!1);this.connectionHandler.insertBeforeSource=!0;this.connectionHandler.isValidSource=function(a,c){return!1};this.alternateEdgeStyle="vertical";null==d&&this.loadStylesheet();var e=this.graphHandler.getGuideStates; -this.graphHandler.getGuideStates=function(){var a=e.apply(this,arguments);if(this.graph.pageVisible){for(var c=[],b=this.graph.pageFormat,d=this.graph.pageScale,k=b.width*d,b=b.height*d,d=this.graph.view.translate,g=this.graph.view.scale,f=this.graph.getPageLayout(),t=0;t<f.width;t++)c.push(new mxRectangle(((f.x+t)*k+d.x)*g,(f.y*b+d.y)*g,k*g,b*g));for(t=0;t<f.height;t++)c.push(new mxRectangle((f.x*k+d.x)*g,((f.y+t)*b+d.y)*g,k*g,b*g));a=c.concat(a)}return a};mxDragSource.prototype.dragElementZIndex= +this.graphHandler.getGuideStates=function(){var a=e.apply(this,arguments);if(this.graph.pageVisible){for(var c=[],b=this.graph.pageFormat,d=this.graph.pageScale,k=b.width*d,b=b.height*d,d=this.graph.view.translate,g=this.graph.view.scale,f=this.graph.getPageLayout(),u=0;u<f.width;u++)c.push(new mxRectangle(((f.x+u)*k+d.x)*g,(f.y*b+d.y)*g,k*g,b*g));for(u=0;u<f.height;u++)c.push(new mxRectangle((f.x*k+d.x)*g,((f.y+u)*b+d.y)*g,k*g,b*g));a=c.concat(a)}return a};mxDragSource.prototype.dragElementZIndex= mxPopupMenu.prototype.zIndex;mxGuide.prototype.getGuideColor=function(a,c){return null==a.cell?"#ffa500":mxConstants.GUIDE_COLOR};this.graphHandler.createPreviewShape=function(a){this.previewColor="#000000"==this.graph.background?"#ffffff":mxGraphHandler.prototype.previewColor;return mxGraphHandler.prototype.createPreviewShape.apply(this,arguments)};this.graphHandler.getCells=function(a){for(var c=mxGraphHandler.prototype.getCells.apply(this,arguments),b=[],e=0;e<c.length;e++){var d=this.graph.view.getState(c[e]), -d=null!=d?d.style:this.graph.getCellStyle(c[e]);"1"==mxUtils.getValue(d,"part","0")?(d=this.graph.model.getParent(c[e]),this.graph.model.isVertex(d)&&0>mxUtils.indexOf(c,d)&&b.push(d)):b.push(c[e])}return b};this.connectionHandler.createTargetVertex=function(a,c){var b=this.graph.view.getState(c),b=null!=b?b.style:this.graph.getCellStyle(c);mxUtils.getValue(b,"part",!1)&&(b=this.graph.model.getParent(c),this.graph.model.isVertex(b)&&(c=b));return mxConnectionHandler.prototype.createTargetVertex.apply(this, -arguments)};var k=new mxRubberband(this);this.getRubberband=function(){return k};var u=(new Date).getTime(),n=0,g=this.connectionHandler.mouseMove;this.connectionHandler.mouseMove=function(){var a=this.currentState;g.apply(this,arguments);a!=this.currentState?(u=(new Date).getTime(),n=0):n=(new Date).getTime()-u};var z=this.connectionHandler.isOutlineConnectEvent;this.connectionHandler.isOutlineConnectEvent=function(a){return null!=this.currentState&&a.getState()==this.currentState&&2E3<n||(null== -this.currentState||"0"!=mxUtils.getValue(this.currentState.style,"outlineConnect","1"))&&z.apply(this,arguments)};var A=this.isToggleEvent;this.isToggleEvent=function(a){return A.apply(this,arguments)||!mxClient.IS_CHROMEOS&&mxEvent.isShiftDown(a)};var q=k.isForceRubberbandEvent;k.isForceRubberbandEvent=function(a){return q.apply(this,arguments)||mxClient.IS_CHROMEOS&&mxEvent.isShiftDown(a.getEvent())||mxUtils.hasScrollbars(this.graph.container)&&mxClient.IS_FF&&mxClient.IS_WIN&&null==a.getState()&& +d=null!=d?d.style:this.graph.getCellStyle(c[e]);"1"==mxUtils.getValue(d,"part","0")?(d=this.graph.model.getParent(c[e]),this.graph.model.isVertex(d)&&0>mxUtils.indexOf(c,d)&&b.push(d)):b.push(c[e])}return b};this.connectionHandler.createTargetVertex=function(a,c){var e=this.graph.view.getState(c),e=null!=e?e.style:this.graph.getCellStyle(c);mxUtils.getValue(e,"part",!1)&&(e=this.graph.model.getParent(c),this.graph.model.isVertex(e)&&(c=e));return mxConnectionHandler.prototype.createTargetVertex.apply(this, +arguments)};var k=new mxRubberband(this);this.getRubberband=function(){return k};var t=(new Date).getTime(),n=0,g=this.connectionHandler.mouseMove;this.connectionHandler.mouseMove=function(){var a=this.currentState;g.apply(this,arguments);a!=this.currentState?(t=(new Date).getTime(),n=0):n=(new Date).getTime()-t};var y=this.connectionHandler.isOutlineConnectEvent;this.connectionHandler.isOutlineConnectEvent=function(a){return null!=this.currentState&&a.getState()==this.currentState&&2E3<n||(null== +this.currentState||"0"!=mxUtils.getValue(this.currentState.style,"outlineConnect","1"))&&y.apply(this,arguments)};var A=this.isToggleEvent;this.isToggleEvent=function(a){return A.apply(this,arguments)||!mxClient.IS_CHROMEOS&&mxEvent.isShiftDown(a)};var q=k.isForceRubberbandEvent;k.isForceRubberbandEvent=function(a){return q.apply(this,arguments)||mxClient.IS_CHROMEOS&&mxEvent.isShiftDown(a.getEvent())||mxUtils.hasScrollbars(this.graph.container)&&mxClient.IS_FF&&mxClient.IS_WIN&&null==a.getState()&& mxEvent.isTouchEvent(a.getEvent())};var F=null;this.panningHandler.addListener(mxEvent.PAN_START,mxUtils.bind(this,function(){this.isEnabled()&&(F=this.container.style.cursor,this.container.style.cursor="move")}));this.panningHandler.addListener(mxEvent.PAN_END,mxUtils.bind(this,function(){this.isEnabled()&&(this.container.style.cursor=F)}));this.popupMenuHandler.autoExpand=!0;this.popupMenuHandler.isSelectOnPopup=function(a){return mxEvent.isMouseEvent(a.getEvent())};var x=this.click;this.click= -function(a){var c=null==a.state&&null!=a.sourceState&&this.isCellLocked(a.sourceState.cell);if(this.isEnabled()&&!c||a.isConsumed())return x.apply(this,arguments);var b=c?a.sourceState.cell:a.getCell();null!=b&&(b=this.getLinkForCell(b),null!=b&&(this.isCustomLink(b)?this.customLinkClicked(b):this.openLink(b)));this.isEnabled()&&c&&this.clearSelection()};this.tooltipHandler.getStateForEvent=function(a){return a.sourceState};this.getCursorForMouseEvent=function(a){var c=null==a.state&&null!=a.sourceState&& -this.isCellLocked(a.sourceState.cell);return this.getCursorForCell(c?a.sourceState.cell:a.getCell())};var E=this.getCursorForCell;this.getCursorForCell=function(a){if(!this.isEnabled()||this.isCellLocked(a)){if(null!=this.getLinkForCell(a))return"pointer";if(this.isCellLocked(a))return"default"}return E.apply(this,arguments)};this.selectRegion=function(a,c){var b=this.getAllCells(a.x,a.y,a.width,a.height);this.selectCellsForEvent(b,c);return b};this.getAllCells=function(a,c,b,e,d,k){k=null!=k?k:[]; -if(0<b||0<e){var g=this.getModel(),f=a+b,t=c+e;null==d&&(d=this.getCurrentRoot(),null==d&&(d=g.getRoot()));if(null!=d)for(var n=g.getChildCount(d),u=0;u<n;u++){var q=g.getChildAt(d,u),C=this.view.getState(q);if(null!=C&&this.isCellVisible(q)&&"1"!=mxUtils.getValue(C.style,"locked","0")){var ca=mxUtils.getValue(C.style,mxConstants.STYLE_ROTATION)||0;0!=ca&&(C=mxUtils.getBoundingBox(C,ca));(g.isEdge(q)||g.isVertex(q))&&C.x>=a&&C.y+C.height<=t&&C.y>=c&&C.x+C.width<=f&&k.push(q);this.getAllCells(a,c, -b,e,q,k)}}}return k};var t=this.graphHandler.shouldRemoveCellsFromParent;this.graphHandler.shouldRemoveCellsFromParent=function(a,c,b){return this.graph.isCellSelected(a)?!1:t.apply(this,arguments)};this.isCellLocked=function(a){for(a=this.view.getState(a);null!=a;){if("1"==mxUtils.getValue(a.style,"locked","0"))return!0;a=this.view.getState(this.model.getParent(a.cell))}return!1};var C=null;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(a,c){if("mouseDown"==c.getProperty("eventName")){var b= -c.getProperty("event").getState();C=null==b||this.isSelectionEmpty()||this.isCellSelected(b.cell)?null:this.getSelectionCells()}}));this.addListener(mxEvent.TAP_AND_HOLD,mxUtils.bind(this,function(a,c){if(!mxEvent.isMultiTouchEvent(c)){var b=c.getProperty("event"),e=c.getProperty("cell");null==e?(b=mxUtils.convertPoint(this.container,mxEvent.getClientX(b),mxEvent.getClientY(b)),k.start(b.x,b.y)):null!=C?this.addSelectionCells(C):1<this.getSelectionCount()&&this.isCellSelected(e)&&this.removeSelectionCell(e); +function(a){var c=null==a.state&&null!=a.sourceState&&this.isCellLocked(a.sourceState.cell);if(this.isEnabled()&&!c||a.isConsumed())return x.apply(this,arguments);var e=c?a.sourceState.cell:a.getCell();null!=e&&(e=this.getLinkForCell(e),null!=e&&(this.isCustomLink(e)?this.customLinkClicked(e):this.openLink(e)));this.isEnabled()&&c&&this.clearSelection()};this.tooltipHandler.getStateForEvent=function(a){return a.sourceState};this.getCursorForMouseEvent=function(a){var c=null==a.state&&null!=a.sourceState&& +this.isCellLocked(a.sourceState.cell);return this.getCursorForCell(c?a.sourceState.cell:a.getCell())};var E=this.getCursorForCell;this.getCursorForCell=function(a){if(!this.isEnabled()||this.isCellLocked(a)){if(null!=this.getLinkForCell(a))return"pointer";if(this.isCellLocked(a))return"default"}return E.apply(this,arguments)};this.selectRegion=function(a,c){var e=this.getAllCells(a.x,a.y,a.width,a.height);this.selectCellsForEvent(e,c);return e};this.getAllCells=function(a,c,e,b,d,k){k=null!=k?k:[]; +if(0<e||0<b){var g=this.getModel(),f=a+e,u=c+b;null==d&&(d=this.getCurrentRoot(),null==d&&(d=g.getRoot()));if(null!=d)for(var n=g.getChildCount(d),t=0;t<n;t++){var q=g.getChildAt(d,t),C=this.view.getState(q);if(null!=C&&this.isCellVisible(q)&&"1"!=mxUtils.getValue(C.style,"locked","0")){var ca=mxUtils.getValue(C.style,mxConstants.STYLE_ROTATION)||0;0!=ca&&(C=mxUtils.getBoundingBox(C,ca));(g.isEdge(q)||g.isVertex(q))&&C.x>=a&&C.y+C.height<=u&&C.y>=c&&C.x+C.width<=f&&k.push(q);this.getAllCells(a,c, +e,b,q,k)}}}return k};var u=this.graphHandler.shouldRemoveCellsFromParent;this.graphHandler.shouldRemoveCellsFromParent=function(a,c,e){return this.graph.isCellSelected(a)?!1:u.apply(this,arguments)};this.isCellLocked=function(a){for(a=this.view.getState(a);null!=a;){if("1"==mxUtils.getValue(a.style,"locked","0"))return!0;a=this.view.getState(this.model.getParent(a.cell))}return!1};var C=null;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(a,c){if("mouseDown"==c.getProperty("eventName")){var e= +c.getProperty("event").getState();C=null==e||this.isSelectionEmpty()||this.isCellSelected(e.cell)?null:this.getSelectionCells()}}));this.addListener(mxEvent.TAP_AND_HOLD,mxUtils.bind(this,function(a,c){if(!mxEvent.isMultiTouchEvent(c)){var e=c.getProperty("event"),b=c.getProperty("cell");null==b?(e=mxUtils.convertPoint(this.container,mxEvent.getClientX(e),mxEvent.getClientY(e)),k.start(e.x,e.y)):null!=C?this.addSelectionCells(C):1<this.getSelectionCount()&&this.isCellSelected(b)&&this.removeSelectionCell(b); C=null;c.consume()}}));this.connectionHandler.selectCells=function(a,c){this.graph.setSelectionCell(c||a)};this.connectionHandler.constraintHandler.isStateIgnored=function(a,c){return c&&a.view.graph.isCellSelected(a.cell)};this.selectionModel.addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){var a=this.connectionHandler.constraintHandler;null!=a.currentFocus&&a.isStateIgnored(a.currentFocus,!0)&&(a.currentFocus=null,a.constraints=null,a.destroyIcons());a.destroyFocusHighlight()}));Graph.touchStyle&& this.initTouch();var K=this.updateMouseEvent;this.updateMouseEvent=function(a){a=K.apply(this,arguments);null!=a.state&&this.isCellLocked(a.getCell())&&(a.state=null);return a}}this.currentTranslate=new mxPoint(0,0)};Graph.touchStyle=mxClient.IS_TOUCH||mxClient.IS_FF&&mxClient.IS_WIN||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints||null==window.urlParams||"1"==urlParams.touch; Graph.fileSupport=null!=window.File&&null!=window.FileReader&&null!=window.FileList&&(null==window.urlParams||"0"!=urlParams.filesupport);Graph.lineJumpsEnabled=!0;Graph.defaultJumpSize=6; @@ -2259,15 +2259,15 @@ Graph.compress=function(a,b){if(null==a||0==a.length||"undefined"===typeof pako) mxUtils.extend(Graph,mxGraph);Graph.prototype.minFitScale=null;Graph.prototype.maxFitScale=null;Graph.prototype.linkPolicy="frame"==urlParams.target?"blank":urlParams.target||"auto";Graph.prototype.linkTarget="frame"==urlParams.target?"_self":"_blank";Graph.prototype.linkRelation="nofollow noopener noreferrer";Graph.prototype.defaultScrollbars=!mxClient.IS_IOS;Graph.prototype.defaultPageVisible=!0;Graph.prototype.lightbox=!1;Graph.prototype.defaultPageBackgroundColor="#ffffff"; Graph.prototype.defaultPageBorderColor="#ffffff";Graph.prototype.scrollTileSize=new mxRectangle(0,0,400,400);Graph.prototype.transparentBackground=!0;Graph.prototype.selectParentAfterDelete=!1;Graph.prototype.defaultEdgeLength=80;Graph.prototype.edgeMode=!1;Graph.prototype.connectionArrowsEnabled=!0;Graph.prototype.placeholderPattern=RegExp("%(date{.*}|[^%^{^}]+)%","g");Graph.prototype.absoluteUrlPattern=/^(?:[a-z]+:)?\/\//i;Graph.prototype.defaultThemeName="default"; Graph.prototype.defaultThemes={};Graph.prototype.baseUrl=null!=urlParams.base?decodeURIComponent(urlParams.base):(window!=window.top?document.referrer:document.location.toString()).split("#")[0];Graph.prototype.editAfterInsert=!1;Graph.prototype.builtInProperties=["label","tooltip","placeholders","placeholder"];Graph.prototype.standalone=!1; -Graph.prototype.init=function(a){mxGraph.prototype.init.apply(this,arguments);this.cellRenderer.initializeLabel=function(a,f){mxCellRenderer.prototype.initializeLabel.apply(this,arguments);var b=a.view.graph.tolerance,l=!0,m=null,p=mxUtils.bind(this,function(a){l=!0;m=new mxPoint(mxEvent.getClientX(a),mxEvent.getClientY(a))}),v=mxUtils.bind(this,function(a){l=l&&null!=m&&Math.abs(m.x-mxEvent.getClientX(a))<b&&Math.abs(m.y-mxEvent.getClientY(a))<b}),y=mxUtils.bind(this,function(b){if(l)for(var c=mxEvent.getSource(b);null!= -c&&c!=f.node;){if("a"==c.nodeName.toLowerCase()){a.view.graph.labelLinkClicked(a,c,b);break}c=c.parentNode}});mxEvent.addGestureListeners(f.node,p,v,y);mxEvent.addListener(f.node,"click",function(a){mxEvent.consume(a)})};this.initLayoutManager()}; -(function(){Graph.prototype.useCssTransforms=!1;Graph.prototype.currentScale=1;Graph.prototype.currentTranslate=new mxPoint(0,0);Graph.prototype.isCssTransformsSupported=function(){return this.dialect==mxConstants.DIALECT_SVG&&!mxClient.NO_FO};Graph.prototype.getCellAt=function(a,b,f,p,v,y){this.useCssTransforms&&(a=a/this.currentScale-this.currentTranslate.x,b=b/this.currentScale-this.currentTranslate.y);return this.getScaledCellAt.apply(this,arguments)};Graph.prototype.getScaledCellAt=function(a, -b,f,p,v,y){p=null!=p?p:!0;v=null!=v?v:!0;null==f&&(f=this.getCurrentRoot(),null==f&&(f=this.getModel().getRoot()));if(null!=f)for(var d=this.model.getChildCount(f)-1;0<=d;d--){var c=this.model.getChildAt(f,d),e=this.getScaledCellAt(a,b,c,p,v,y);if(null!=e)return e;if(this.isCellVisible(c)&&(v&&this.model.isEdge(c)||p&&this.model.isVertex(c))&&(e=this.view.getState(c),null!=e&&(null==y||!y(e,a,b))&&this.intersects(e,a,b)))return c}return null};mxCellHighlight.prototype.getStrokeWidth=function(a){a= +Graph.prototype.init=function(a){mxGraph.prototype.init.apply(this,arguments);this.cellRenderer.initializeLabel=function(a,f){mxCellRenderer.prototype.initializeLabel.apply(this,arguments);var b=a.view.graph.tolerance,l=!0,m=null,p=mxUtils.bind(this,function(a){l=!0;m=new mxPoint(mxEvent.getClientX(a),mxEvent.getClientY(a))}),v=mxUtils.bind(this,function(a){l=l&&null!=m&&Math.abs(m.x-mxEvent.getClientX(a))<b&&Math.abs(m.y-mxEvent.getClientY(a))<b}),z=mxUtils.bind(this,function(b){if(l)for(var c=mxEvent.getSource(b);null!= +c&&c!=f.node;){if("a"==c.nodeName.toLowerCase()){a.view.graph.labelLinkClicked(a,c,b);break}c=c.parentNode}});mxEvent.addGestureListeners(f.node,p,v,z);mxEvent.addListener(f.node,"click",function(a){mxEvent.consume(a)})};this.initLayoutManager()}; +(function(){Graph.prototype.useCssTransforms=!1;Graph.prototype.currentScale=1;Graph.prototype.currentTranslate=new mxPoint(0,0);Graph.prototype.isCssTransformsSupported=function(){return this.dialect==mxConstants.DIALECT_SVG&&!mxClient.NO_FO};Graph.prototype.getCellAt=function(a,b,f,p,v,z){this.useCssTransforms&&(a=a/this.currentScale-this.currentTranslate.x,b=b/this.currentScale-this.currentTranslate.y);return this.getScaledCellAt.apply(this,arguments)};Graph.prototype.getScaledCellAt=function(a, +b,f,p,v,z){p=null!=p?p:!0;v=null!=v?v:!0;null==f&&(f=this.getCurrentRoot(),null==f&&(f=this.getModel().getRoot()));if(null!=f)for(var d=this.model.getChildCount(f)-1;0<=d;d--){var c=this.model.getChildAt(f,d),e=this.getScaledCellAt(a,b,c,p,v,z);if(null!=e)return e;if(this.isCellVisible(c)&&(v&&this.model.isEdge(c)||p&&this.model.isVertex(c))&&(e=this.view.getState(c),null!=e&&(null==z||!z(e,a,b))&&this.intersects(e,a,b)))return c}return null};mxCellHighlight.prototype.getStrokeWidth=function(a){a= this.strokeWidth;this.graph.useCssTransforms&&(a/=this.graph.currentScale);return a};mxGraphView.prototype.getGraphBounds=function(){var a=this.graphBounds;if(this.graph.useCssTransforms)var b=this.graph.currentTranslate,f=this.graph.currentScale,a=new mxRectangle((a.x+b.x)*f,(a.y+b.y)*f,a.width*f,a.height*f);return a};mxGraphView.prototype.viewStateChanged=function(){this.graph.useCssTransforms?this.validate():this.revalidate();this.graph.sizeDidChange()};var a=mxGraphView.prototype.validate;mxGraphView.prototype.validate= function(b){this.graph.useCssTransforms&&(this.graph.currentScale=this.scale,this.graph.currentTranslate.x=this.translate.x,this.graph.currentTranslate.y=this.translate.y,this.scale=1,this.translate.x=0,this.translate.y=0);a.apply(this,arguments);this.graph.useCssTransforms&&(this.graph.updateCssTransform(),this.scale=this.graph.currentScale,this.translate.x=this.graph.currentTranslate.x,this.translate.y=this.graph.currentTranslate.y)};Graph.prototype.updateCssTransform=function(){var a=this.view.getDrawPane(); if(null!=a)if(a=a.parentNode,this.useCssTransforms){var b=a.getAttribute("transform");a.setAttribute("transformOrigin","0 0");var f=Math.round(100*this.currentScale)/100;a.setAttribute("transform","scale("+f+","+f+")translate("+Math.round(100*this.currentTranslate.x)/100+","+Math.round(100*this.currentTranslate.y)/100+")");if(b!=a.getAttribute("transform"))try{if(mxClient.IS_EDGE){var p=a.style.display;a.style.display="none";a.getBBox();a.style.display=p}}catch(v){}}else a.removeAttribute("transformOrigin"), -a.removeAttribute("transform")};var b=mxGraphView.prototype.validateBackgroundPage;mxGraphView.prototype.validateBackgroundPage=function(){var a=this.graph.useCssTransforms,f=this.scale,m=this.translate;a&&(this.scale=this.graph.currentScale,this.translate=this.graph.currentTranslate);b.apply(this,arguments);a&&(this.scale=f,this.translate=m)};var f=mxGraph.prototype.updatePageBreaks;mxGraph.prototype.updatePageBreaks=function(a,b,m){var d=this.useCssTransforms,l=this.view.scale,y=this.view.translate; -d&&(this.view.scale=1,this.view.translate=new mxPoint(0,0),this.useCssTransforms=!1);f.apply(this,arguments);d&&(this.view.scale=l,this.view.translate=y,this.useCssTransforms=!0)}})();Graph.prototype.isLightboxView=function(){return this.lightbox};Graph.prototype.isViewer=function(){return!1}; +a.removeAttribute("transform")};var b=mxGraphView.prototype.validateBackgroundPage;mxGraphView.prototype.validateBackgroundPage=function(){var a=this.graph.useCssTransforms,f=this.scale,m=this.translate;a&&(this.scale=this.graph.currentScale,this.translate=this.graph.currentTranslate);b.apply(this,arguments);a&&(this.scale=f,this.translate=m)};var f=mxGraph.prototype.updatePageBreaks;mxGraph.prototype.updatePageBreaks=function(a,b,m){var d=this.useCssTransforms,l=this.view.scale,z=this.view.translate; +d&&(this.view.scale=1,this.view.translate=new mxPoint(0,0),this.useCssTransforms=!1);f.apply(this,arguments);d&&(this.view.scale=l,this.view.translate=z,this.useCssTransforms=!0)}})();Graph.prototype.isLightboxView=function(){return this.lightbox};Graph.prototype.isViewer=function(){return!1}; Graph.prototype.labelLinkClicked=function(a,b,f){b=b.getAttribute("href");if(null!=b&&!this.isCustomLink(b)&&mxEvent.isLeftMouseButton(f)&&!mxEvent.isPopupTrigger(f)||mxEvent.isTouchEvent(f)){if(!this.isEnabled()||this.isCellLocked(a.cell))a=this.isBlankLink(b)?this.linkTarget:"_top",this.openLink(this.getAbsoluteUrl(b),a);mxEvent.consume(f)}}; Graph.prototype.openLink=function(a,b,f){var d=window;try{if("_self"==b&&window!=window.top)window.location.href=a;else if(a.substring(0,this.baseUrl.length)==this.baseUrl&&"#"==a.charAt(this.baseUrl.length)&&"_top"==b&&window==window.top){var l=a.split("#")[1];window.location.hash=="#"+l&&(window.location.hash="");window.location.hash=l}else d=window.open(a,b),null==d||f||(d.opener=null)}catch(m){}return d};Graph.prototype.getLinkTitle=function(a){return a.substring(a.lastIndexOf("/")+1)}; Graph.prototype.isCustomLink=function(a){return"data:"==a.substring(0,5)};Graph.prototype.customLinkClicked=function(a){return!1};Graph.prototype.isExternalProtocol=function(a){return"mailto:"===a.substring(0,7)};Graph.prototype.isBlankLink=function(a){return!this.isExternalProtocol(a)&&("blank"===this.linkPolicy||"self"!==this.linkPolicy&&!this.isRelativeUrl(a)&&a.substring(0,this.domainUrl.length)!==this.domainUrl)}; @@ -2285,8 +2285,8 @@ Graph.prototype.isLabelMovable=function(a){var b=this.view.getState(a),b=null!=b Graph.prototype.getGlobalVariable=function(a){var b=null;"date"==a?b=(new Date).toLocaleDateString():"time"==a?b=(new Date).toLocaleTimeString():"timestamp"==a?b=(new Date).toLocaleString():"date{"==a.substring(0,5)&&(a=a.substring(5,a.length-1),b=this.formatDate(new Date,a));return b}; Graph.prototype.formatDate=function(a,b,f){null==this.dateFormatCache&&(this.dateFormatCache={i18n:{dayNames:"Sun Mon Tue Wed Thu Fri Sat Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),monthNames:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec January February March April May June July August September October November December".split(" ")},masks:{"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy", shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"}});var d=this.dateFormatCache,l=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,m=/[^-+\dA-Z]/g,p=function(a,c){a=String(a);for(c=c||2;a.length<c;)a="0"+a;return a};1!=arguments.length||"[object String]"!=Object.prototype.toString.call(a)|| -/\d/.test(a)||(b=a,a=void 0);a=a?new Date(a):new Date;if(isNaN(a))throw SyntaxError("invalid date");b=String(d.masks[b]||b||d.masks["default"]);"UTC:"==b.slice(0,4)&&(b=b.slice(4),f=!0);var v=f?"getUTC":"get",y=a[v+"Date"](),B=a[v+"Day"](),c=a[v+"Month"](),e=a[v+"FullYear"](),k=a[v+"Hours"](),u=a[v+"Minutes"](),n=a[v+"Seconds"](),v=a[v+"Milliseconds"](),g=f?0:a.getTimezoneOffset(),z={d:y,dd:p(y),ddd:d.i18n.dayNames[B],dddd:d.i18n.dayNames[B+7],m:c+1,mm:p(c+1),mmm:d.i18n.monthNames[c],mmmm:d.i18n.monthNames[c+ -12],yy:String(e).slice(2),yyyy:e,h:k%12||12,hh:p(k%12||12),H:k,HH:p(k),M:u,MM:p(u),s:n,ss:p(n),l:p(v,3),L:p(99<v?Math.round(v/10):v),t:12>k?"a":"p",tt:12>k?"am":"pm",T:12>k?"A":"P",TT:12>k?"AM":"PM",Z:f?"UTC":(String(a).match(l)||[""]).pop().replace(m,""),o:(0<g?"-":"+")+p(100*Math.floor(Math.abs(g)/60)+Math.abs(g)%60,4),S:["th","st","nd","rd"][3<y%10?0:(10!=y%100-y%10)*y%10]};return b.replace(/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,function(a){return a in z?z[a]:a.slice(1, +/\d/.test(a)||(b=a,a=void 0);a=a?new Date(a):new Date;if(isNaN(a))throw SyntaxError("invalid date");b=String(d.masks[b]||b||d.masks["default"]);"UTC:"==b.slice(0,4)&&(b=b.slice(4),f=!0);var v=f?"getUTC":"get",z=a[v+"Date"](),B=a[v+"Day"](),c=a[v+"Month"](),e=a[v+"FullYear"](),k=a[v+"Hours"](),t=a[v+"Minutes"](),n=a[v+"Seconds"](),v=a[v+"Milliseconds"](),g=f?0:a.getTimezoneOffset(),y={d:z,dd:p(z),ddd:d.i18n.dayNames[B],dddd:d.i18n.dayNames[B+7],m:c+1,mm:p(c+1),mmm:d.i18n.monthNames[c],mmmm:d.i18n.monthNames[c+ +12],yy:String(e).slice(2),yyyy:e,h:k%12||12,hh:p(k%12||12),H:k,HH:p(k),M:t,MM:p(t),s:n,ss:p(n),l:p(v,3),L:p(99<v?Math.round(v/10):v),t:12>k?"a":"p",tt:12>k?"am":"pm",T:12>k?"A":"P",TT:12>k?"AM":"PM",Z:f?"UTC":(String(a).match(l)||[""]).pop().replace(m,""),o:(0<g?"-":"+")+p(100*Math.floor(Math.abs(g)/60)+Math.abs(g)%60,4),S:["th","st","nd","rd"][3<z%10?0:(10!=z%100-z%10)*z%10]};return b.replace(/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,function(a){return a in y?y[a]:a.slice(1, a.length-1)})}; Graph.prototype.createLayersDialog=function(){var a=document.createElement("div");a.style.position="absolute";for(var b=this.getModel(),f=b.getChildCount(b.root),d=0;d<f;d++)mxUtils.bind(this,function(d){var f=document.createElement("div");f.style.overflow="hidden";f.style.textOverflow="ellipsis";f.style.padding="2px";f.style.whiteSpace="nowrap";var l=document.createElement("input");l.style.display="inline-block";l.setAttribute("type","checkbox");b.isVisible(d)&&(l.setAttribute("checked","checked"), l.defaultChecked=!0);f.appendChild(l);var v=this.convertValueToString(d)||mxResources.get("background")||"Background";f.setAttribute("title",v);mxUtils.write(f,v);a.appendChild(f);mxEvent.addListener(l,"click",function(){null!=l.getAttribute("checked")?l.removeAttribute("checked"):l.setAttribute("checked","checked");b.setVisible(d,l.checked)})})(b.getChildAt(b.root,d));return a}; @@ -2294,9 +2294,9 @@ Graph.prototype.replacePlaceholders=function(a,b){var f=[];if(null!=b){for(var d match.index)+(null!=m?m:l));d=match.index+l.length}}f.push(b.substring(d))}return f.join("")};Graph.prototype.restoreSelection=function(a){if(null!=a&&0<a.length){for(var b=[],f=0;f<a.length;f++){var d=this.model.getCell(a[f].id);null!=d&&b.push(d)}this.setSelectionCells(b)}else this.clearSelection()}; Graph.prototype.selectCellsForConnectVertex=function(a,b,f){2==a.length&&this.model.isVertex(a[1])?(this.setSelectionCell(a[1]),null!=f&&(mxEvent.isTouchEvent(b)?f.update(f.getState(this.view.getState(a[1]))):f.reset()),this.scrollCellToVisible(a[1])):this.setSelectionCells(a)}; Graph.prototype.connectVertex=function(a,b,f,d,l,m){if(a.geometry.relative&&this.model.isEdge(a.parent))return[];m=m?m:!1;var p=a.geometry.relative&&null!=a.parent.geometry?new mxPoint(a.parent.geometry.width*a.geometry.x,a.parent.geometry.height*a.geometry.y):new mxPoint(a.geometry.x,a.geometry.y);b==mxConstants.DIRECTION_NORTH?(p.x+=a.geometry.width/2,p.y-=f):b==mxConstants.DIRECTION_SOUTH?(p.x+=a.geometry.width/2,p.y+=a.geometry.height+f):(p.x=b==mxConstants.DIRECTION_WEST?p.x-f:p.x+(a.geometry.width+ -f),p.y+=a.geometry.height/2);f=this.view.getState(this.model.getParent(a));var v=this.view.scale,y=this.view.translate,B=y.x*v,y=y.y*v;null!=f&&this.model.isVertex(f.cell)&&(B=f.x,y=f.y);this.model.isVertex(a.parent)&&a.geometry.relative&&(p.x+=a.parent.geometry.x,p.y+=a.parent.geometry.y);m=m||mxEvent.isControlDown(d)&&!l?null:this.getCellAt(B+p.x*v,y+p.y*v);this.model.isAncestor(m,a)&&(m=null);for(f=m;null!=f;){if(this.isCellLocked(f)){m=null;break}f=this.model.getParent(f)}null!=m&&(f=this.view.getState(a), +f),p.y+=a.geometry.height/2);f=this.view.getState(this.model.getParent(a));var v=this.view.scale,z=this.view.translate,B=z.x*v,z=z.y*v;null!=f&&this.model.isVertex(f.cell)&&(B=f.x,z=f.y);this.model.isVertex(a.parent)&&a.geometry.relative&&(p.x+=a.parent.geometry.x,p.y+=a.parent.geometry.y);m=m||mxEvent.isControlDown(d)&&!l?null:this.getCellAt(B+p.x*v,z+p.y*v);this.model.isAncestor(m,a)&&(m=null);for(f=m;null!=f;){if(this.isCellLocked(f)){m=null;break}f=this.model.getParent(f)}null!=m&&(f=this.view.getState(a), v=this.view.getState(m),null!=f&&null!=v&&mxUtils.intersects(f,v)&&(m=null));if(l=!mxEvent.isShiftDown(d)||l)b==mxConstants.DIRECTION_NORTH?p.y-=a.geometry.height/2:b==mxConstants.DIRECTION_SOUTH?p.y+=a.geometry.height/2:p.x=b==mxConstants.DIRECTION_WEST?p.x-a.geometry.width/2:p.x+a.geometry.width/2;null==m||this.isCellConnectable(m)||(f=this.getModel().getParent(m),this.getModel().isVertex(f)&&this.isCellConnectable(f)&&(m=f));if(m==a||this.model.isEdge(m)||!this.isCellConnectable(m))m=null;f=[]; -this.model.beginUpdate();try{v=m;if(null==v&&l){for(var B=a,c=this.getCellGeometry(a);null!=c&&c.relative;)B=this.getModel().getParent(B),c=this.getCellGeometry(B);var e=this.view.getState(B),k=null!=e?e.style:this.getCellStyle(B);if(mxUtils.getValue(k,"part",!1)){var u=this.model.getParent(B);this.model.isVertex(u)&&(B=u)}v=this.duplicateCells([B],!1)[0];c=this.getCellGeometry(v);null!=c&&(c.x=p.x-c.width/2,c.y=p.y-c.height/2)}c=null;null!=this.layoutManager&&(c=this.layoutManager.getLayout(this.model.getParent(a))); +this.model.beginUpdate();try{v=m;if(null==v&&l){for(var B=a,c=this.getCellGeometry(a);null!=c&&c.relative;)B=this.getModel().getParent(B),c=this.getCellGeometry(B);var e=this.view.getState(B),k=null!=e?e.style:this.getCellStyle(B);if(mxUtils.getValue(k,"part",!1)){var t=this.model.getParent(B);this.model.isVertex(t)&&(B=t)}v=this.duplicateCells([B],!1)[0];c=this.getCellGeometry(v);null!=c&&(c.x=p.x-c.width/2,c.y=p.y-c.height/2)}c=null;null!=this.layoutManager&&(c=this.layoutManager.getLayout(this.model.getParent(a))); var n=mxEvent.isControlDown(d)&&l||null==m&&null!=c&&c.constructor==mxStackLayout?null:this.insertEdge(this.model.getParent(a),null,"",a,v,this.createCurrentEdgeStyle());if(null!=n&&this.connectionHandler.insertBeforeSource){var g=null;for(d=a;null!=d.parent&&null!=d.geometry&&d.geometry.relative&&d.parent!=n.parent;)d=this.model.getParent(d);null!=d&&null!=d.parent&&d.parent==n.parent&&(g=d.parent.getIndex(d),this.model.add(d.parent,n,g))}null==m&&null!=v&&null!=c&&null!=a.parent&&c.constructor== mxStackLayout&&b==mxConstants.DIRECTION_WEST&&(g=a.parent.getIndex(a),this.model.add(a.parent,v,g));null!=n&&f.push(n);null==m&&null!=v&&f.push(v);null==v&&null!=n&&n.geometry.setTerminalPoint(p,!1);null!=n&&this.fireEvent(new mxEventObject("cellsInserted","cells",[n]))}finally{this.model.endUpdate()}return f}; Graph.prototype.getIndexableText=function(){var a=document.createElement("div"),b=[],f,d;for(d in this.model.cells)if(f=this.model.cells[d],this.model.isVertex(f)||this.model.isEdge(f))this.isHtmlLabel(f)?(a.innerHTML=this.getLabel(f),f=mxUtils.extractTextWithWhitespace([a])):f=this.getLabel(f),f=mxUtils.trim(f.replace(/[\x00-\x1F\x7F-\x9F]|\s+/g," ")),0<f.length&&b.push(f);return b.join(" ")}; @@ -2304,8 +2304,8 @@ Graph.prototype.convertValueToString=function(a){if(null!=a.value&&"object"==typ Graph.prototype.getLinksForState=function(a){return null!=a&&null!=a.text&&null!=a.text.node?a.text.node.getElementsByTagName("a"):null};Graph.prototype.getLinkForCell=function(a){return null!=a.value&&"object"==typeof a.value?(a=a.value.getAttribute("link"),null!=a&&"javascript:"===a.toLowerCase().substring(0,11)&&(a=a.substring(11)),a):null}; Graph.prototype.getCellStyle=function(a){var b=mxGraph.prototype.getCellStyle.apply(this,arguments);if(null!=a&&null!=this.layoutManager){var f=this.model.getParent(a);this.model.isVertex(f)&&this.isCellCollapsed(a)&&(f=this.layoutManager.getLayout(f),null!=f&&f.constructor==mxStackLayout&&(b[mxConstants.STYLE_HORIZONTAL]=!f.horizontal))}return b}; Graph.prototype.updateAlternateBounds=function(a,b,f){if(null!=a&&null!=b&&null!=this.layoutManager&&null!=b.alternateBounds){var d=this.layoutManager.getLayout(this.model.getParent(a));null!=d&&d.constructor==mxStackLayout&&(d.horizontal?b.alternateBounds.height=0:b.alternateBounds.width=0)}mxGraph.prototype.updateAlternateBounds.apply(this,arguments)};Graph.prototype.isMoveCellsEvent=function(a,b){return mxEvent.isShiftDown(a)||"1"==mxUtils.getValue(b.style,"moveCells","0")}; -Graph.prototype.foldCells=function(a,b,f,d,l){b=null!=b?b:!1;null==f&&(f=this.getFoldableCells(this.getSelectionCells(),a));if(null!=f){this.model.beginUpdate();try{if(mxGraph.prototype.foldCells.apply(this,arguments),null!=this.layoutManager)for(var m=0;m<f.length;m++){var p=this.view.getState(f[m]),v=this.getCellGeometry(f[m]);if(null!=p&&null!=v){var y=Math.round(v.width-p.width/this.view.scale),B=Math.round(v.height-p.height/this.view.scale);if(0!=B||0!=y){var c=this.model.getParent(f[m]),e=this.layoutManager.getLayout(c); -null==e?null!=l&&this.isMoveCellsEvent(l,p)&&this.moveSiblings(p,c,y,B):null!=l&&mxEvent.isAltDown(l)||e.constructor!=mxStackLayout||e.resizeLast||this.resizeParentStacks(c,e,y,B)}}}}finally{this.model.endUpdate()}this.isEnabled()&&this.setSelectionCells(f)}}; +Graph.prototype.foldCells=function(a,b,f,d,l){b=null!=b?b:!1;null==f&&(f=this.getFoldableCells(this.getSelectionCells(),a));if(null!=f){this.model.beginUpdate();try{if(mxGraph.prototype.foldCells.apply(this,arguments),null!=this.layoutManager)for(var m=0;m<f.length;m++){var p=this.view.getState(f[m]),v=this.getCellGeometry(f[m]);if(null!=p&&null!=v){var z=Math.round(v.width-p.width/this.view.scale),B=Math.round(v.height-p.height/this.view.scale);if(0!=B||0!=z){var c=this.model.getParent(f[m]),e=this.layoutManager.getLayout(c); +null==e?null!=l&&this.isMoveCellsEvent(l,p)&&this.moveSiblings(p,c,z,B):null!=l&&mxEvent.isAltDown(l)||e.constructor!=mxStackLayout||e.resizeLast||this.resizeParentStacks(c,e,z,B)}}}}finally{this.model.endUpdate()}this.isEnabled()&&this.setSelectionCells(f)}}; Graph.prototype.moveSiblings=function(a,b,f,d){this.model.beginUpdate();try{var l=this.getCellsBeyond(a.x,a.y,b,!0,!0);for(b=0;b<l.length;b++)if(l[b]!=a.cell){var m=this.view.getState(l[b]),p=this.getCellGeometry(l[b]);null!=m&&null!=p&&(p=p.clone(),p.translate(Math.round(f*Math.max(0,Math.min(1,(m.x-a.x)/a.width))),Math.round(d*Math.max(0,Math.min(1,(m.y-a.y)/a.height)))),this.model.setGeometry(l[b],p))}}finally{this.model.endUpdate()}}; Graph.prototype.resizeParentStacks=function(a,b,f,d){if(null!=this.layoutManager&&null!=b&&b.constructor==mxStackLayout&&!b.resizeLast){this.model.beginUpdate();try{for(var l=b.horizontal;null!=a&&null!=b&&b.constructor==mxStackLayout&&b.horizontal==l&&!b.resizeLast;){var m=this.getCellGeometry(a),p=this.view.getState(a);null!=p&&null!=m&&(m=m.clone(),b.horizontal?m.width+=f+Math.min(0,p.width/this.view.scale-m.width):m.height+=d+Math.min(0,p.height/this.view.scale-m.height),this.model.setGeometry(a, m));a=this.model.getParent(a);b=this.layoutManager.getLayout(a)}}finally{this.model.endUpdate()}}};Graph.prototype.isContainer=function(a){var b=this.view.getState(a),b=null!=b?b.style:this.getCellStyle(a);return this.isSwimlane(a)?"0"!=b.container:"1"==b.container};Graph.prototype.isCellConnectable=function(a){var b=this.view.getState(a),b=null!=b?b.style:this.getCellStyle(a);return null!=b&&null!=b.connectable?"0"!=b.connectable:mxGraph.prototype.isCellConnectable.apply(this,arguments)}; @@ -2351,13 +2351,13 @@ HoverIcons.prototype.setCurrentState=function(a){"eastwest"!=a.style.portConstra (function(){var a=mxGraphView.prototype.resetValidationState;mxGraphView.prototype.resetValidationState=function(){a.apply(this,arguments);this.validEdges=[]};var b=mxGraphView.prototype.validateCellState;mxGraphView.prototype.validateCellState=function(a,d){d=null!=d?d:!0;var c=this.getState(a);null!=c&&d&&this.graph.model.isEdge(c.cell)&&null!=c.style&&1!=c.style[mxConstants.STYLE_CURVED]&&!c.invalid&&this.updateLineJumps(c)&&this.graph.cellRenderer.redraw(c,!1,this.isRendering());c=b.apply(this, arguments);null!=c&&d&&this.graph.model.isEdge(c.cell)&&null!=c.style&&1!=c.style[mxConstants.STYLE_CURVED]&&this.validEdges.push(c);return c};var f=mxCellRenderer.prototype.isShapeInvalid;mxCellRenderer.prototype.isShapeInvalid=function(a,b){return f.apply(this,arguments)||null!=a.routedPoints&&null!=b.routedPoints&&!mxUtils.equalPoints(b.routedPoints,a.routedPoints)};var d=mxGraphView.prototype.updateCellState;mxGraphView.prototype.updateCellState=function(a){d.apply(this,arguments);this.graph.model.isEdge(a.cell)&& 1!=a.style[mxConstants.STYLE_CURVED]&&this.updateLineJumps(a)};mxGraphView.prototype.updateLineJumps=function(a){var b=a.absolutePoints;if(Graph.lineJumpsEnabled){var c=null!=a.routedPoints,e=null;if(null!=b&&null!=this.validEdges&&"none"!==mxUtils.getValue(a.style,"jumpStyle","none")){for(var d=function(c,b,d){var k=new mxPoint(b,d);k.type=c;e.push(k);k=null!=a.routedPoints?a.routedPoints[e.length-1]:null;return null==k||k.type!=c||k.x!=b||k.y!=d},f=.5*this.scale,c=!1,e=[],n=0;n<b.length-1;n++){for(var g= -b[n+1],z=b[n],A=[],q=b[n+2];n<b.length-2&&mxUtils.ptSegDistSq(z.x,z.y,q.x,q.y,g.x,g.y)<1*this.scale*this.scale;)g=q,n++,q=b[n+2];for(var c=d(0,z.x,z.y)||c,l=0;l<this.validEdges.length;l++){var x=this.validEdges[l],v=x.absolutePoints;if(null!=v&&mxUtils.intersects(a,x)&&"1"!=x.style.noJump)for(x=0;x<v.length-1;x++){for(var t=v[x+1],C=v[x],q=v[x+2];x<v.length-2&&mxUtils.ptSegDistSq(C.x,C.y,q.x,q.y,t.x,t.y)<1*this.scale*this.scale;)t=q,x++,q=v[x+2];q=mxUtils.intersection(z.x,z.y,g.x,g.y,C.x,C.y,t.x, -t.y);if(null!=q&&(Math.abs(q.x-z.x)>f||Math.abs(q.y-z.y)>f)&&(Math.abs(q.x-g.x)>f||Math.abs(q.y-g.y)>f)&&(Math.abs(q.x-C.x)>f||Math.abs(q.y-C.y)>f)&&(Math.abs(q.x-t.x)>f||Math.abs(q.y-t.y)>f)){t=q.x-z.x;C=q.y-z.y;q={distSq:t*t+C*C,x:q.x,y:q.y};for(t=0;t<A.length;t++)if(A[t].distSq>q.distSq){A.splice(t,0,q);q=null;break}null==q||0!=A.length&&A[A.length-1].x===q.x&&A[A.length-1].y===q.y||A.push(q)}}}for(x=0;x<A.length;x++)c=d(1,A[x].x,A[x].y)||c}q=b[b.length-1];c=d(0,q.x,q.y)||c}a.routedPoints=e;return c}return!1}; +b[n+1],y=b[n],A=[],q=b[n+2];n<b.length-2&&mxUtils.ptSegDistSq(y.x,y.y,q.x,q.y,g.x,g.y)<1*this.scale*this.scale;)g=q,n++,q=b[n+2];for(var c=d(0,y.x,y.y)||c,l=0;l<this.validEdges.length;l++){var x=this.validEdges[l],v=x.absolutePoints;if(null!=v&&mxUtils.intersects(a,x)&&"1"!=x.style.noJump)for(x=0;x<v.length-1;x++){for(var u=v[x+1],C=v[x],q=v[x+2];x<v.length-2&&mxUtils.ptSegDistSq(C.x,C.y,q.x,q.y,u.x,u.y)<1*this.scale*this.scale;)u=q,x++,q=v[x+2];q=mxUtils.intersection(y.x,y.y,g.x,g.y,C.x,C.y,u.x, +u.y);if(null!=q&&(Math.abs(q.x-y.x)>f||Math.abs(q.y-y.y)>f)&&(Math.abs(q.x-g.x)>f||Math.abs(q.y-g.y)>f)&&(Math.abs(q.x-C.x)>f||Math.abs(q.y-C.y)>f)&&(Math.abs(q.x-u.x)>f||Math.abs(q.y-u.y)>f)){u=q.x-y.x;C=q.y-y.y;q={distSq:u*u+C*C,x:q.x,y:q.y};for(u=0;u<A.length;u++)if(A[u].distSq>q.distSq){A.splice(u,0,q);q=null;break}null==q||0!=A.length&&A[A.length-1].x===q.x&&A[A.length-1].y===q.y||A.push(q)}}}for(x=0;x<A.length;x++)c=d(1,A[x].x,A[x].y)||c}q=b[b.length-1];c=d(0,q.x,q.y)||c}a.routedPoints=e;return c}return!1}; var l=mxConnector.prototype.paintLine;mxConnector.prototype.paintLine=function(a,b,c){this.routedPoints=null!=this.state?this.state.routedPoints:null;if(this.outline||null==this.state||null==this.style||null==this.state.routedPoints||0==this.state.routedPoints.length)l.apply(this,arguments);else{var e=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2,d=(parseInt(mxUtils.getValue(this.style,"jumpSize",Graph.defaultJumpSize))-2)/2+this.strokewidth,f=mxUtils.getValue(this.style, -"jumpStyle","none"),n,g=!0,z=null,A=null;n=[];var q=null;a.begin();for(var v=0;v<this.state.routedPoints.length;v++){var x=this.state.routedPoints[v],m=new mxPoint(x.x/this.scale,x.y/this.scale);0==v?m=b[0]:v==this.state.routedPoints.length-1&&(m=b[b.length-1]);var t=!1;if(null!=z&&1==x.type){var C=this.state.routedPoints[v+1],x=C.x/this.scale-m.x,C=C.y/this.scale-m.y,x=x*x+C*C;null==q&&(q=new mxPoint(m.x-z.x,m.y-z.y),A=Math.sqrt(q.x*q.x+q.y*q.y),0<A?(q.x=q.x*d/A,q.y=q.y*d/A):q=null);x>d*d&&0<A&& -(x=z.x-m.x,C=z.y-m.y,x=x*x+C*C,x>d*d&&(t=new mxPoint(m.x-q.x,m.y-q.y),x=new mxPoint(m.x+q.x,m.y+q.y),n.push(t),this.addPoints(a,n,c,e,!1,null,g),n=0>Math.round(q.x)||0==Math.round(q.x)&&0>=Math.round(q.y)?1:-1,g=!1,"sharp"==f?(a.lineTo(t.x-q.y*n,t.y+q.x*n),a.lineTo(x.x-q.y*n,x.y+q.x*n),a.lineTo(x.x,x.y)):"arc"==f?(n*=1.3,a.curveTo(t.x-q.y*n,t.y+q.x*n,x.x-q.y*n,x.y+q.x*n,x.x,x.y)):(a.moveTo(x.x,x.y),g=!0),n=[x],t=!0))}else q=null;t||(n.push(m),z=m)}this.addPoints(a,n,c,e,!1,null,g);a.stroke()}};var m= -mxGraphView.prototype.updateFloatingTerminalPoint;mxGraphView.prototype.updateFloatingTerminalPoint=function(a,b,c,e){if(null==b||null==a||"1"!=b.style.snapToPoint&&"1"!=a.style.snapToPoint)m.apply(this,arguments);else{b=this.getTerminalPort(a,b,e);var d=this.getNextPoint(a,c,e),f=this.graph.isOrthogonal(a),n=mxUtils.toRadians(Number(b.style[mxConstants.STYLE_ROTATION]||"0")),g=new mxPoint(b.getCenterX(),b.getCenterY());if(0!=n)var z=Math.cos(-n),l=Math.sin(-n),d=mxUtils.getRotatedPoint(d,z,l,g); -z=parseFloat(a.style[mxConstants.STYLE_PERIMETER_SPACING]||0);z+=parseFloat(a.style[e?mxConstants.STYLE_SOURCE_PERIMETER_SPACING:mxConstants.STYLE_TARGET_PERIMETER_SPACING]||0);d=this.getPerimeterPoint(b,d,0==n&&f,z);0!=n&&(z=Math.cos(n),l=Math.sin(n),d=mxUtils.getRotatedPoint(d,z,l,g));a.setAbsoluteTerminalPoint(this.snapToAnchorPoint(a,b,c,e,d),e)}};mxGraphView.prototype.snapToAnchorPoint=function(a,b,c,e,d){if(null!=b&&null!=a){a=this.graph.getAllConnectionConstraints(b);e=c=null;if(null!=a)for(var k= +"jumpStyle","none"),n,g=!0,y=null,A=null;n=[];var q=null;a.begin();for(var v=0;v<this.state.routedPoints.length;v++){var x=this.state.routedPoints[v],m=new mxPoint(x.x/this.scale,x.y/this.scale);0==v?m=b[0]:v==this.state.routedPoints.length-1&&(m=b[b.length-1]);var u=!1;if(null!=y&&1==x.type){var C=this.state.routedPoints[v+1],x=C.x/this.scale-m.x,C=C.y/this.scale-m.y,x=x*x+C*C;null==q&&(q=new mxPoint(m.x-y.x,m.y-y.y),A=Math.sqrt(q.x*q.x+q.y*q.y),0<A?(q.x=q.x*d/A,q.y=q.y*d/A):q=null);x>d*d&&0<A&& +(x=y.x-m.x,C=y.y-m.y,x=x*x+C*C,x>d*d&&(u=new mxPoint(m.x-q.x,m.y-q.y),x=new mxPoint(m.x+q.x,m.y+q.y),n.push(u),this.addPoints(a,n,c,e,!1,null,g),n=0>Math.round(q.x)||0==Math.round(q.x)&&0>=Math.round(q.y)?1:-1,g=!1,"sharp"==f?(a.lineTo(u.x-q.y*n,u.y+q.x*n),a.lineTo(x.x-q.y*n,x.y+q.x*n),a.lineTo(x.x,x.y)):"arc"==f?(n*=1.3,a.curveTo(u.x-q.y*n,u.y+q.x*n,x.x-q.y*n,x.y+q.x*n,x.x,x.y)):(a.moveTo(x.x,x.y),g=!0),n=[x],u=!0))}else q=null;u||(n.push(m),y=m)}this.addPoints(a,n,c,e,!1,null,g);a.stroke()}};var m= +mxGraphView.prototype.updateFloatingTerminalPoint;mxGraphView.prototype.updateFloatingTerminalPoint=function(a,b,c,e){if(null==b||null==a||"1"!=b.style.snapToPoint&&"1"!=a.style.snapToPoint)m.apply(this,arguments);else{b=this.getTerminalPort(a,b,e);var d=this.getNextPoint(a,c,e),f=this.graph.isOrthogonal(a),n=mxUtils.toRadians(Number(b.style[mxConstants.STYLE_ROTATION]||"0")),g=new mxPoint(b.getCenterX(),b.getCenterY());if(0!=n)var y=Math.cos(-n),l=Math.sin(-n),d=mxUtils.getRotatedPoint(d,y,l,g); +y=parseFloat(a.style[mxConstants.STYLE_PERIMETER_SPACING]||0);y+=parseFloat(a.style[e?mxConstants.STYLE_SOURCE_PERIMETER_SPACING:mxConstants.STYLE_TARGET_PERIMETER_SPACING]||0);d=this.getPerimeterPoint(b,d,0==n&&f,y);0!=n&&(y=Math.cos(n),l=Math.sin(n),d=mxUtils.getRotatedPoint(d,y,l,g));a.setAbsoluteTerminalPoint(this.snapToAnchorPoint(a,b,c,e,d),e)}};mxGraphView.prototype.snapToAnchorPoint=function(a,b,c,e,d){if(null!=b&&null!=a){a=this.graph.getAllConnectionConstraints(b);e=c=null;if(null!=a)for(var k= 0;k<a.length;k++){var f=this.graph.getConnectionPoint(b,a[k]);if(null!=f){var g=(f.x-d.x)*(f.x-d.x)+(f.y-d.y)*(f.y-d.y);if(null==e||g<e)c=f,e=g}}null!=c&&(d=c)}return d};var p=mxStencil.prototype.evaluateTextAttribute;mxStencil.prototype.evaluateTextAttribute=function(a,b,c){var e=p.apply(this,arguments);"1"==a.getAttribute("placeholders")&&null!=c.state&&(e=c.state.view.graph.replacePlaceholders(c.state.cell,e));return e};var v=mxCellRenderer.prototype.createShape;mxCellRenderer.prototype.createShape= function(a){if(null!=a.style&&"undefined"!==typeof pako){var b=mxUtils.getValue(a.style,mxConstants.STYLE_SHAPE,null);if(null!=b&&"string"===typeof b&&"stencil("==b.substring(0,8))try{var c=b.substring(8,b.length-1),e=mxUtils.parseXml(Graph.decompress(c));return new mxShape(new mxStencil(e.documentElement))}catch(k){null!=window.console&&console.log("Error in shape: "+k)}}return v.apply(this,arguments)}})();mxStencilRegistry.libraries={};mxStencilRegistry.dynamicLoading=!0; mxStencilRegistry.allowEval=!0;mxStencilRegistry.packages=[]; @@ -2377,16 +2377,16 @@ Graph.prototype.defaultEdgeStyle={edgeStyle:"orthogonalEdgeStyle",rounded:"0",je (a+="comic="+this.currentEdgeStyle.comic+";");null!=this.currentEdgeStyle.jumpStyle&&(a+="jumpStyle="+this.currentEdgeStyle.jumpStyle+";");null!=this.currentEdgeStyle.jumpSize&&(a+="jumpSize="+this.currentEdgeStyle.jumpSize+";");null!=this.currentEdgeStyle.orthogonalLoop?a+="orthogonalLoop="+this.currentEdgeStyle.orthogonalLoop+";":null!=Graph.prototype.defaultEdgeStyle.orthogonalLoop&&(a+="orthogonalLoop="+Graph.prototype.defaultEdgeStyle.orthogonalLoop+";");null!=this.currentEdgeStyle.jettySize? a+="jettySize="+this.currentEdgeStyle.jettySize+";":null!=Graph.prototype.defaultEdgeStyle.jettySize&&(a+="jettySize="+Graph.prototype.defaultEdgeStyle.jettySize+";");"elbowEdgeStyle"==this.currentEdgeStyle.edgeStyle&&null!=this.currentEdgeStyle.elbow&&(a+="elbow="+this.currentEdgeStyle.elbow+";");return a=null!=this.currentEdgeStyle.html?a+("html="+this.currentEdgeStyle.html+";"):a+"html=1;"};Graph.prototype.getPagePadding=function(){return new mxPoint(0,0)};Graph.prototype.loadStylesheet=function(){var a= null!=this.themes?this.themes[this.defaultThemeName]:mxStyleRegistry.dynamicLoading?mxUtils.load(STYLE_PATH+"/default.xml").getDocumentElement():null;null!=a&&(new mxCodec(a.ownerDocument)).decode(a,this.getStylesheet())};Graph.prototype.createCellLookup=function(a,c){c=null!=c?c:{};for(var b=0;b<a.length;b++){var e=a[b];c[mxObjectIdentity.get(e)]=e.getId();for(var d=this.model.getChildCount(e),k=0;k<d;k++)this.createCellLookup([this.model.getChildAt(e,k)],c)}return c};Graph.prototype.createCellMapping= -function(a,c,b){b=null!=b?b:{};for(var e in a){var d=c[e];null==b[d]&&(b[d]=a[e].getId()||"")}return b};Graph.prototype.importGraphModel=function(a,c,b,e){c=null!=c?c:0;b=null!=b?b:0;var d=new mxCodec(a.ownerDocument),k=new mxGraphModel;d.decode(a,k);a=[];var d={},f={},g=k.getChildren(this.cloneCell(k.root,this.isCloneInvalidEdges(),d));if(null!=g){var t=this.createCellLookup([k.root]),g=g.slice();this.model.beginUpdate();try{if(1!=g.length||this.isCellLocked(this.getDefaultParent()))for(k=0;k<g.length;k++)a= -a.concat(this.model.getChildren(this.moveCells([g[k]],c,b,!1,this.model.getRoot())[0]));else a=this.moveCells(k.getChildren(g[0]),c,b,!1,this.getDefaultParent()),f[k.getChildAt(k.root,0).getId()]=this.getDefaultParent().getId();this.createCellMapping(d,t,f);this.updateCustomLinks(f,a);if(e){this.isGridEnabled()&&(c=this.snap(c),b=this.snap(b));var n=this.getBoundingBoxFromGeometry(a,!0);null!=n&&this.moveCells(a,c-n.x,b-n.y)}}finally{this.model.endUpdate()}}return a};Graph.prototype.encodeCells=function(a){for(var c= +function(a,c,b){b=null!=b?b:{};for(var e in a){var d=c[e];null==b[d]&&(b[d]=a[e].getId()||"")}return b};Graph.prototype.importGraphModel=function(a,c,b,e){c=null!=c?c:0;b=null!=b?b:0;var d=new mxCodec(a.ownerDocument),k=new mxGraphModel;d.decode(a,k);a=[];var d={},f={},g=k.getChildren(this.cloneCell(k.root,this.isCloneInvalidEdges(),d));if(null!=g){var u=this.createCellLookup([k.root]),g=g.slice();this.model.beginUpdate();try{if(1!=g.length||this.isCellLocked(this.getDefaultParent()))for(k=0;k<g.length;k++)a= +a.concat(this.model.getChildren(this.moveCells([g[k]],c,b,!1,this.model.getRoot())[0]));else a=this.moveCells(k.getChildren(g[0]),c,b,!1,this.getDefaultParent()),f[k.getChildAt(k.root,0).getId()]=this.getDefaultParent().getId();this.createCellMapping(d,u,f);this.updateCustomLinks(f,a);if(e){this.isGridEnabled()&&(c=this.snap(c),b=this.snap(b));var n=this.getBoundingBoxFromGeometry(a,!0);null!=n&&this.moveCells(a,c-n.x,b-n.y)}}finally{this.model.endUpdate()}}return a};Graph.prototype.encodeCells=function(a){for(var c= {},b=this.cloneCells(a,null,c),e=new mxDictionary,d=0;d<a.length;d++)e.put(a[d],!0);for(d=0;d<b.length;d++){var k=this.view.getState(a[d]);if(null!=k){var f=this.getCellGeometry(b[d]);null==f||!f.relative||this.model.isEdge(a[d])||e.get(this.model.getParent(a[d]))||(f.relative=!1,f.x=k.x/k.view.scale-k.view.translate.x,f.y=k.y/k.view.scale-k.view.translate.y)}}e=new mxCodec;k=new mxGraphModel;f=k.getChildAt(k.getRoot(),0);for(d=0;d<b.length;d++)k.add(f,b[d]);this.updateCustomLinks(this.createCellMapping(c, this.createCellLookup(a)),b);return e.encode(k)};var m=Graph.prototype.moveCells;Graph.prototype.moveCells=function(a,c,b,e,d,k,f){f=null!=f?f:{};var g=m.apply(this,arguments);e&&this.updateCustomLinks(this.createCellMapping(f,this.createCellLookup(a)),g);return g};Graph.prototype.updateCustomLinks=function(a,c){for(var b=0;b<c.length;b++)null!=c[b]&&this.updateCustomLinksForCell(a,c[b])};Graph.prototype.updateCustomLinksForCell=function(a,c){};Graph.prototype.getAllConnectionConstraints=function(a, c){if(null!=a){var b=mxUtils.getValue(a.style,"points",null);if(null!=b){var e=[];try{for(var d=JSON.parse(b),b=0;b<d.length;b++){var k=d[b];e.push(new mxConnectionConstraint(new mxPoint(k[0],k[1]),2<k.length?"0"!=k[2]:!0,null,3<k.length?k[3]:0,4<k.length?k[4]:0))}}catch(R){}return e}if(null!=a.shape&&null!=a.shape.bounds){k=a.shape.direction;d=a.shape.bounds;b=a.shape.scale;e=d.width/b;d=d.height/b;if(k==mxConstants.DIRECTION_NORTH||k==mxConstants.DIRECTION_SOUTH)k=e,e=d,d=k;b=a.shape.getConstraints(a.style, e,d);if(null!=b)return b;if(null!=a.shape.stencil&&null!=a.shape.stencil.constraints)return a.shape.stencil.constraints;if(null!=a.shape.constraints)return a.shape.constraints}}return null};Graph.prototype.flipEdge=function(a){if(null!=a){var c=this.view.getState(a),c=null!=c?c.style:this.getCellStyle(a);null!=c&&(c=mxUtils.getValue(c,mxConstants.STYLE_ELBOW,mxConstants.ELBOW_HORIZONTAL)==mxConstants.ELBOW_HORIZONTAL?mxConstants.ELBOW_VERTICAL:mxConstants.ELBOW_HORIZONTAL,this.setCellStyles(mxConstants.STYLE_ELBOW, c,[a]))}};Graph.prototype.isValidRoot=function(a){for(var c=this.model.getChildCount(a),b=0,e=0;e<c;e++){var d=this.model.getChildAt(a,e);this.model.isVertex(d)&&(d=this.getCellGeometry(d),null==d||d.relative||b++)}return 0<b||this.isContainer(a)};Graph.prototype.isValidDropTarget=function(a){var c=this.view.getState(a),c=null!=c?c.style:this.getCellStyle(a);return"1"!=mxUtils.getValue(c,"part","0")&&(this.isContainer(a)||mxGraph.prototype.isValidDropTarget.apply(this,arguments)&&"0"!=mxUtils.getValue(c, "dropTarget","1"))};Graph.prototype.createGroupCell=function(){var a=mxGraph.prototype.createGroupCell.apply(this,arguments);a.setStyle("group");return a};Graph.prototype.isExtendParentsOnAdd=function(a){var c=mxGraph.prototype.isExtendParentsOnAdd.apply(this,arguments);if(c&&null!=a&&null!=this.layoutManager){var b=this.model.getParent(a);null!=b&&(b=this.layoutManager.getLayout(b),null!=b&&b.constructor==mxStackLayout&&(c=!1))}return c};Graph.prototype.getPreferredSizeForCell=function(a){var c= -mxGraph.prototype.getPreferredSizeForCell.apply(this,arguments);null!=c&&(c.width+=10,c.height+=4,this.gridEnabled&&(c.width=this.snap(c.width),c.height=this.snap(c.height)));return c};Graph.prototype.turnShapes=function(a){var c=this.getModel(),b=[];c.beginUpdate();try{for(var e=0;e<a.length;e++){var d=a[e];if(c.isEdge(d)){var k=c.getTerminal(d,!0),f=c.getTerminal(d,!1);c.setTerminal(d,f,!0);c.setTerminal(d,k,!1);var g=c.getGeometry(d);if(null!=g){g=g.clone();null!=g.points&&g.points.reverse();var t= -g.getTerminalPoint(!0),n=g.getTerminalPoint(!1);g.setTerminalPoint(t,!1);g.setTerminalPoint(n,!0);c.setGeometry(d,g);var u=this.view.getState(d),C=this.view.getState(k),q=this.view.getState(f);if(null!=u){var z=null!=C?this.getConnectionConstraint(u,C,!0):null,l=null!=q?this.getConnectionConstraint(u,q,!1):null;this.setConnectionConstraint(d,k,!0,l);this.setConnectionConstraint(d,f,!1,z)}b.push(d)}}else if(c.isVertex(d)&&(g=this.getCellGeometry(d),null!=g)){g=g.clone();g.x+=g.width/2-g.height/2;g.y+= +mxGraph.prototype.getPreferredSizeForCell.apply(this,arguments);null!=c&&(c.width+=10,c.height+=4,this.gridEnabled&&(c.width=this.snap(c.width),c.height=this.snap(c.height)));return c};Graph.prototype.turnShapes=function(a){var c=this.getModel(),b=[];c.beginUpdate();try{for(var e=0;e<a.length;e++){var d=a[e];if(c.isEdge(d)){var k=c.getTerminal(d,!0),f=c.getTerminal(d,!1);c.setTerminal(d,f,!0);c.setTerminal(d,k,!1);var g=c.getGeometry(d);if(null!=g){g=g.clone();null!=g.points&&g.points.reverse();var u= +g.getTerminalPoint(!0),n=g.getTerminalPoint(!1);g.setTerminalPoint(u,!1);g.setTerminalPoint(n,!0);c.setGeometry(d,g);var t=this.view.getState(d),C=this.view.getState(k),q=this.view.getState(f);if(null!=t){var y=null!=C?this.getConnectionConstraint(t,C,!0):null,l=null!=q?this.getConnectionConstraint(t,q,!1):null;this.setConnectionConstraint(d,k,!0,l);this.setConnectionConstraint(d,f,!1,y)}b.push(d)}}else if(c.isVertex(d)&&(g=this.getCellGeometry(d),null!=g)){g=g.clone();g.x+=g.width/2-g.height/2;g.y+= g.height/2-g.width/2;var x=g.width;g.width=g.height;g.height=x;c.setGeometry(d,g);var A=this.view.getState(d);if(null!=A){var D=A.style[mxConstants.STYLE_DIRECTION]||"east";"east"==D?D="south":"south"==D?D="west":"west"==D?D="north":"north"==D&&(D="east");this.setCellStyles(mxConstants.STYLE_DIRECTION,D,[d])}b.push(d)}}}finally{c.endUpdate()}return b};Graph.prototype.stencilHasPlaceholders=function(a){if(null!=a&&null!=a.fgNode)for(a=a.fgNode.firstChild;null!=a;){if("text"==a.nodeName&&"1"==a.getAttribute("placeholders"))return!0; a=a.nextSibling}return!1};Graph.prototype.processChange=function(a){mxGraph.prototype.processChange.apply(this,arguments);if(a instanceof mxValueChange&&null!=a.cell&&null!=a.cell.value&&"object"==typeof a.cell.value){var c=this.model.getDescendants(a.cell);if(0<c.length)for(var b=0;b<c.length;b++){var e=this.view.getState(c[b]);null!=e&&null!=e.shape&&null!=e.shape.stencil&&this.stencilHasPlaceholders(e.shape.stencil)?this.removeStateForCell(c[b]):this.isReplacePlaceholders(c[b])&&this.view.invalidate(c[b], !1,!1)}}};Graph.prototype.replaceElement=function(a,c){for(var b=a.ownerDocument.createElement(null!=c?c:"span"),e=Array.prototype.slice.call(a.attributes);attr=e.pop();)b.setAttribute(attr.nodeName,attr.nodeValue);b.innerHTML=a.innerHTML;a.parentNode.replaceChild(b,a)};Graph.prototype.processElements=function(a,c){for(var b=a.getElementsByTagName("*"),e=0;e<b.length;e++)c(b[e])};Graph.prototype.updateLabelElements=function(a,c,b){a=null!=a?a:this.getSelectionCells();for(var e=document.createElement("div"), @@ -2407,18 +2407,18 @@ a.sourceState;if(null==c||null==g.getLinkForCell(c.cell))a=g.getCellAt(a.getGrap this.currentState||c.getState()!=this.currentState&&null!=c.sourceState||!g.intersects(this.currentState,c.getGraphX(),c.getGraphY()))&&this.updateCurrentState(c))}},mouseUp:function(a,e){for(var d=e.getSource(),f=e.getEvent();null!=d&&"a"!=d.nodeName.toLowerCase();)d=d.parentNode;null==d&&Math.abs(this.scrollLeft-g.container.scrollLeft)<k&&Math.abs(this.scrollTop-g.container.scrollTop)<k&&(null==e.sourceState||!e.isSource(e.sourceState.control))&&((mxEvent.isLeftMouseButton(f)||mxEvent.isMiddleMouseButton(f))&& !mxEvent.isPopupTrigger(f)||mxEvent.isTouchEvent(f))&&(null!=this.currentLink?(d=g.isBlankLink(this.currentLink),"data:"!==this.currentLink.substring(0,5)&&d||null==c||c(f,this.currentLink),mxEvent.isConsumed(f)||(f=mxEvent.isMiddleMouseButton(f)?"_blank":d?g.linkTarget:"_top",g.openLink(this.currentLink,f),e.consume())):null!=b&&!e.isConsumed()&&Math.abs(this.scrollLeft-g.container.scrollLeft)<k&&Math.abs(this.scrollTop-g.container.scrollTop)<k&&Math.abs(this.startX-e.getGraphX())<k&&Math.abs(this.startY- e.getGraphY())<k&&b(e.getEvent()));this.clear()},activate:function(a){this.currentLink=g.getAbsoluteUrl(g.getLinkForCell(a.cell));null!=this.currentLink&&(g.container.style.cursor="pointer",null!=this.highlight&&this.highlight.highlight(a))},clear:function(){null!=g.container&&(g.container.style.cursor=d);this.currentLink=this.currentState=null;null!=this.highlight&&this.highlight.hide();null!=g.tooltipHandler&&g.tooltipHandler.hide()}};g.click=function(a){};g.addMouseListener(f);mxEvent.addListener(document, -"mouseleave",function(a){f.clear()})};Graph.prototype.duplicateCells=function(a,c){a=null!=a?a:this.getSelectionCells();c=null!=c?c:!0;a=this.model.getTopmostCells(a);var b=this.getModel(),e=this.gridSize,d=[];b.beginUpdate();try{for(var k=this.cloneCells(a,!1,null,!0),g=0;g<a.length;g++){var f=b.getParent(a[g]),t=this.moveCells([k[g]],e,e,!1)[0];d.push(t);if(c)b.add(f,k[g]);else{var n=f.getIndex(a[g]);b.add(f,k[g],n+1)}}}finally{b.endUpdate()}return d};Graph.prototype.insertImage=function(a,c,b){if(null!= +"mouseleave",function(a){f.clear()})};Graph.prototype.duplicateCells=function(a,c){a=null!=a?a:this.getSelectionCells();c=null!=c?c:!0;a=this.model.getTopmostCells(a);var b=this.getModel(),e=this.gridSize,d=[];b.beginUpdate();try{for(var k=this.cloneCells(a,!1,null,!0),g=0;g<a.length;g++){var f=b.getParent(a[g]),u=this.moveCells([k[g]],e,e,!1)[0];d.push(u);if(c)b.add(f,k[g]);else{var n=f.getIndex(a[g]);b.add(f,k[g],n+1)}}}finally{b.endUpdate()}return d};Graph.prototype.insertImage=function(a,c,b){if(null!= a&&null!=this.cellEditor.textarea){for(var e=this.cellEditor.textarea.getElementsByTagName("img"),d=[],k=0;k<e.length;k++)d.push(e[k]);document.execCommand("insertimage",!1,a);a=this.cellEditor.textarea.getElementsByTagName("img");if(a.length==d.length+1)for(k=a.length-1;0<=k;k--)if(0==k||a[k]!=d[k-1]){a[k].setAttribute("width",c);a[k].setAttribute("height",b);break}}};Graph.prototype.insertLink=function(a){if(null!=this.cellEditor.textarea)if(0==a.length)document.execCommand("unlink",!1);else if(mxClient.IS_FF){for(var c= this.cellEditor.textarea.getElementsByTagName("a"),b=[],e=0;e<c.length;e++)b.push(c[e]);document.execCommand("createlink",!1,mxUtils.trim(a));c=this.cellEditor.textarea.getElementsByTagName("a");if(c.length==b.length+1)for(e=c.length-1;0<=e;e--)if(c[e]!=b[e-1]){for(c=c[e].getElementsByTagName("a");0<c.length;){for(b=c[0].parentNode;null!=c[0].firstChild;)b.insertBefore(c[0].firstChild,c[0]);b.removeChild(c[0])}break}}else document.execCommand("createlink",!1,mxUtils.trim(a))};Graph.prototype.isCellResizable= function(a){var c=mxGraph.prototype.isCellResizable.apply(this,arguments),b=this.view.getState(a),b=null!=b?b.style:this.getCellStyle(a);return c||"0"!=mxUtils.getValue(b,mxConstants.STYLE_RESIZABLE,"1")&&"wrap"==b[mxConstants.STYLE_WHITE_SPACE]};Graph.prototype.distributeCells=function(a,c){null==c&&(c=this.getSelectionCells());if(null!=c&&1<c.length){for(var b=[],e=null,d=null,k=0;k<c.length;k++)if(this.getModel().isVertex(c[k])){var g=this.view.getState(c[k]);if(null!=g){var f=a?g.getCenterX(): -g.getCenterY(),e=null!=e?Math.max(e,f):f,d=null!=d?Math.min(d,f):f;b.push(g)}}if(2<b.length){b.sort(function(c,b){return a?c.x-b.x:c.y-b.y});g=this.view.translate;f=this.view.scale;d=d/f-(a?g.x:g.y);e=e/f-(a?g.x:g.y);this.getModel().beginUpdate();try{for(var t=(e-d)/(b.length-1),e=d,k=1;k<b.length-1;k++){var n=this.view.getState(this.model.getParent(b[k].cell)),u=this.getCellGeometry(b[k].cell),e=e+t;null!=u&&null!=n&&(u=u.clone(),a?u.x=Math.round(e-u.width/2)-n.origin.x:u.y=Math.round(e-u.height/ -2)-n.origin.y,this.getModel().setGeometry(b[k].cell,u))}}finally{this.getModel().endUpdate()}}}return c};Graph.prototype.isCloneEvent=function(a){return mxClient.IS_MAC&&mxEvent.isMetaDown(a)||mxEvent.isControlDown(a)};Graph.prototype.createSvgImageExport=function(){var a=new mxImageExport;a.getLinkForCellState=mxUtils.bind(this,function(a,c){return this.getLinkForCell(a.cell)});return a};Graph.prototype.getSvg=function(a,c,b,e,d,k,g,f,t,n){var u=this.useCssTransforms;u&&(this.useCssTransforms=!1, -this.view.revalidate(),this.sizeDidChange());try{c=null!=c?c:1;b=null!=b?b:0;d=null!=d?d:!0;k=null!=k?k:!0;g=null!=g?g:!0;var C=k||e?this.getGraphBounds():this.getBoundingBox(this.getSelectionCells());if(null==C)throw Error(mxResources.get("drawingEmpty"));var q=this.view.scale,z=mxUtils.createXmlDocument(),l=null!=z.createElementNS?z.createElementNS(mxConstants.NS_SVG,"svg"):z.createElement("svg");null!=a&&(null!=l.style?l.style.backgroundColor=a:l.setAttribute("style","background-color:"+a));null== -z.createElementNS?(l.setAttribute("xmlns",mxConstants.NS_SVG),l.setAttribute("xmlns:xlink",mxConstants.NS_XLINK)):l.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink",mxConstants.NS_XLINK);a=c/q;var x=Math.max(1,Math.ceil(C.width*a)+2*b)+(n?5:0),A=Math.max(1,Math.ceil(C.height*a)+2*b)+(n?5:0);l.setAttribute("version","1.1");l.setAttribute("width",x+"px");l.setAttribute("height",A+"px");l.setAttribute("viewBox",(d?"-0.5 -0.5":"0 0")+" "+x+" "+A);z.appendChild(l);var D=null!=z.createElementNS? -z.createElementNS(mxConstants.NS_SVG,"g"):z.createElement("g");l.appendChild(D);var v=this.createSvgCanvas(D);v.foOffset=d?-.5:0;v.textOffset=d?-.5:0;v.imageOffset=d?-.5:0;v.translate(Math.floor((b/c-C.x)/q),Math.floor((b/c-C.y)/q));var m=document.createElement("textarea"),K=v.createAlternateContent;v.createAlternateContent=function(a,c,b,e,d,k,g,f,t,n,u,C,q){var z=this.state;if(null!=this.foAltText&&(0==e||0!=z.fontSize&&k.length<5*e/z.fontSize)){var l=this.createElement("text");l.setAttribute("x", -Math.round(e/2));l.setAttribute("y",Math.round((d+z.fontSize)/2));l.setAttribute("fill",z.fontColor||"black");l.setAttribute("text-anchor","middle");l.setAttribute("font-size",Math.round(z.fontSize)+"px");l.setAttribute("font-family",z.fontFamily);(z.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&l.setAttribute("font-weight","bold");(z.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&l.setAttribute("font-style","italic");(z.fontStyle&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&& +g.getCenterY(),e=null!=e?Math.max(e,f):f,d=null!=d?Math.min(d,f):f;b.push(g)}}if(2<b.length){b.sort(function(c,b){return a?c.x-b.x:c.y-b.y});g=this.view.translate;f=this.view.scale;d=d/f-(a?g.x:g.y);e=e/f-(a?g.x:g.y);this.getModel().beginUpdate();try{for(var u=(e-d)/(b.length-1),e=d,k=1;k<b.length-1;k++){var n=this.view.getState(this.model.getParent(b[k].cell)),t=this.getCellGeometry(b[k].cell),e=e+u;null!=t&&null!=n&&(t=t.clone(),a?t.x=Math.round(e-t.width/2)-n.origin.x:t.y=Math.round(e-t.height/ +2)-n.origin.y,this.getModel().setGeometry(b[k].cell,t))}}finally{this.getModel().endUpdate()}}}return c};Graph.prototype.isCloneEvent=function(a){return mxClient.IS_MAC&&mxEvent.isMetaDown(a)||mxEvent.isControlDown(a)};Graph.prototype.createSvgImageExport=function(){var a=new mxImageExport;a.getLinkForCellState=mxUtils.bind(this,function(a,c){return this.getLinkForCell(a.cell)});return a};Graph.prototype.getSvg=function(a,c,b,e,d,k,g,f,u,n){var t=this.useCssTransforms;t&&(this.useCssTransforms=!1, +this.view.revalidate(),this.sizeDidChange());try{c=null!=c?c:1;b=null!=b?b:0;d=null!=d?d:!0;k=null!=k?k:!0;g=null!=g?g:!0;var C=k||e?this.getGraphBounds():this.getBoundingBox(this.getSelectionCells());if(null==C)throw Error(mxResources.get("drawingEmpty"));var q=this.view.scale,y=mxUtils.createXmlDocument(),l=null!=y.createElementNS?y.createElementNS(mxConstants.NS_SVG,"svg"):y.createElement("svg");null!=a&&(null!=l.style?l.style.backgroundColor=a:l.setAttribute("style","background-color:"+a));null== +y.createElementNS?(l.setAttribute("xmlns",mxConstants.NS_SVG),l.setAttribute("xmlns:xlink",mxConstants.NS_XLINK)):l.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink",mxConstants.NS_XLINK);a=c/q;var x=Math.max(1,Math.ceil(C.width*a)+2*b)+(n?5:0),A=Math.max(1,Math.ceil(C.height*a)+2*b)+(n?5:0);l.setAttribute("version","1.1");l.setAttribute("width",x+"px");l.setAttribute("height",A+"px");l.setAttribute("viewBox",(d?"-0.5 -0.5":"0 0")+" "+x+" "+A);y.appendChild(l);var D=null!=y.createElementNS? +y.createElementNS(mxConstants.NS_SVG,"g"):y.createElement("g");l.appendChild(D);var v=this.createSvgCanvas(D);v.foOffset=d?-.5:0;v.textOffset=d?-.5:0;v.imageOffset=d?-.5:0;v.translate(Math.floor((b/c-C.x)/q),Math.floor((b/c-C.y)/q));var m=document.createElement("textarea"),K=v.createAlternateContent;v.createAlternateContent=function(a,c,b,e,d,k,g,f,u,n,t,C,q){var y=this.state;if(null!=this.foAltText&&(0==e||0!=y.fontSize&&k.length<5*e/y.fontSize)){var l=this.createElement("text");l.setAttribute("x", +Math.round(e/2));l.setAttribute("y",Math.round((d+y.fontSize)/2));l.setAttribute("fill",y.fontColor||"black");l.setAttribute("text-anchor","middle");l.setAttribute("font-size",Math.round(y.fontSize)+"px");l.setAttribute("font-family",y.fontFamily);(y.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&l.setAttribute("font-weight","bold");(y.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&l.setAttribute("font-style","italic");(y.fontStyle&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&& l.setAttribute("text-decoration","underline");try{return m.innerHTML=k,l.textContent=m.value,l}catch(ra){return K.apply(this,arguments)}}else return K.apply(this,arguments)};var H=this.backgroundImage;if(null!=H){c=q/c;var E=this.view.translate,p=new mxRectangle(E.x*c,E.y*c,H.width*c,H.height*c);mxUtils.intersects(C,p)&&v.image(E.x,E.y,H.width,H.height,H.src,!0)}v.scale(a);v.textEnabled=g;f=null!=f?f:this.createSvgImageExport();var F=f.drawCellState,P=f.getLinkForCellState;f.getLinkForCellState=function(a, -c){var b=P.apply(this,arguments);return null==b||a.view.graph.isCustomLink(b)?null:b};f.drawCellState=function(a,c){for(var b=a.view.graph,e=b.isCellSelected(a.cell),d=b.model.getParent(a.cell);!k&&!e&&null!=d;)e=b.isCellSelected(d),d=b.model.getParent(d);(k||e)&&F.apply(this,arguments)};f.drawState(this.getView().getState(this.model.root),v);this.updateSvgLinks(l,t,!0);return l}finally{u&&(this.useCssTransforms=!0,this.view.revalidate(),this.sizeDidChange())}};Graph.prototype.updateSvgLinks=function(a, +c){var b=P.apply(this,arguments);return null==b||a.view.graph.isCustomLink(b)?null:b};f.drawCellState=function(a,c){for(var b=a.view.graph,e=b.isCellSelected(a.cell),d=b.model.getParent(a.cell);!k&&!e&&null!=d;)e=b.isCellSelected(d),d=b.model.getParent(d);(k||e)&&F.apply(this,arguments)};f.drawState(this.getView().getState(this.model.root),v);this.updateSvgLinks(l,u,!0);return l}finally{t&&(this.useCssTransforms=!0,this.view.revalidate(),this.sizeDidChange())}};Graph.prototype.updateSvgLinks=function(a, c,b){a=a.getElementsByTagName("a");for(var e=0;e<a.length;e++){var d=a[e].getAttribute("href");null==d&&(d=a[e].getAttribute("xlink:href"));null!=d&&(null!=c&&/^https?:\/\//.test(d)?a[e].setAttribute("target",c):b&&this.isCustomLink(d)&&a[e].setAttribute("href","javascript:void(0);"))}};Graph.prototype.createSvgCanvas=function(a){a=new mxSvgCanvas2D(a);a.pointerEvents=!0;return a};Graph.prototype.getSelectedElement=function(){var a=null;if(window.getSelection){var c=window.getSelection();c.getRangeAt&& c.rangeCount&&(a=c.getRangeAt(0).commonAncestorContainer)}else document.selection&&(a=document.selection.createRange().parentElement());return a};Graph.prototype.getParentByName=function(a,c,b){for(;null!=a&&a.nodeName!=c;){if(a==b)return null;a=a.parentNode}return a};Graph.prototype.getParentByNames=function(a,c,b){for(;null!=a&&!(0<=mxUtils.indexOf(c,a.nodeName));){if(a==b)return null;a=a.parentNode}return a};Graph.prototype.selectNode=function(a){var c=null;if(window.getSelection){if(c=window.getSelection(), c.getRangeAt&&c.rangeCount){var b=document.createRange();b.selectNode(a);c.removeAllRanges();c.addRange(b)}}else(c=document.selection)&&"Control"!=c.type&&(a=c.createRange(),a.collapse(!0),b=c.createRange(),b.setEndPoint("StartToStart",a),b.select())};Graph.prototype.insertRow=function(a,c){for(var b=a.tBodies[0],e=b.rows[0].cells,d=0,k=0;k<e.length;k++)var g=e[k].getAttribute("colspan"),d=d+(null!=g?parseInt(g):1);b=b.insertRow(c);for(k=0;k<d;k++)mxUtils.br(b.insertCell(-1));return b.cells[0]};Graph.prototype.deleteRow= @@ -2431,7 +2431,7 @@ mxUtils.bind(this,function(a,d){this.popupMenuHandler.popupTrigger=!this.isEditi return null!=a&&1==a.style.html};mxCellEditor.prototype.isTableSelected=function(){return null!=this.graph.getParentByName(this.graph.getSelectedElement(),"TABLE",this.textarea)};mxCellEditor.prototype.alignText=function(a,c){!this.isTableSelected()==(null==c||!mxEvent.isShiftDown(c))&&(this.graph.cellEditor.setAlign(a),this.graph.processElements(this.textarea,function(a){a.removeAttribute("align");a.style.textAlign=null}));document.execCommand("justify"+a.toLowerCase(),!1,null)};mxCellEditor.prototype.saveSelection= function(){if(window.getSelection){var a=window.getSelection();if(a.getRangeAt&&a.rangeCount){for(var c=[],b=0,e=a.rangeCount;b<e;++b)c.push(a.getRangeAt(b));return c}}else if(document.selection&&document.selection.createRange)return document.selection.createRange();return null};mxCellEditor.prototype.restoreSelection=function(a){try{if(a)if(window.getSelection){sel=window.getSelection();sel.removeAllRanges();for(var c=0,b=a.length;c<b;++c)sel.addRange(a[c])}else document.selection&&a.select&&a.select()}catch(V){}}; var p=mxCellRenderer.prototype.initializeLabel;mxCellRenderer.prototype.initializeLabel=function(a){null!=a.text&&(a.text.replaceLinefeeds="0"!=mxUtils.getValue(a.style,"nl2Br","1"));p.apply(this,arguments)};var v=mxConstraintHandler.prototype.update;mxConstraintHandler.prototype.update=function(a,c){this.isKeepFocusEvent(a)||!mxEvent.isAltDown(a.getEvent())?v.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=function(a){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)}; -mxCellEditor.prototype.escapeCancelsEditing=!1;var y=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(a,c){y.apply(this,arguments);var b=this.graph.view.getState(a);this.textarea.className=null!=b&&1==b.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(a);var b=this.graph.getModel().getParent(a),e=this.graph.getCellGeometry(a);this.graph.getModel().isEdge(b)&& +mxCellEditor.prototype.escapeCancelsEditing=!1;var z=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(a,c){z.apply(this,arguments);var b=this.graph.view.getState(a);this.textarea.className=null!=b&&1==b.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(a);var b=this.graph.getModel().getParent(a),e=this.graph.getCellGeometry(a);this.graph.getModel().isEdge(b)&& null!=e&&e.relative||this.graph.getModel().isEdge(a)?mxClient.IS_QUIRKS?this.textarea.style.border="gray dotted 1px":this.textarea.style.outline=mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_FF&&mxClient.IS_WIN?"gray dotted 1px":"":mxClient.IS_QUIRKS&&(this.textarea.style.outline="none",this.textarea.style.border="")};var B=mxCellEditor.prototype.installListeners;mxCellEditor.prototype.installListeners=function(a){function c(a,b){b.originalNode=a;a=a.firstChild;for(var e=b.firstChild;null!=a&&null!= e;)c(a,e),a=a.nextSibling,e=e.nextSibling;return b}function b(a,c){if(null!=a)if(c.originalNode!=a)e(a);else for(a=a.firstChild,c=c.firstChild;null!=a;){var d=a.nextSibling;null==c?e(a):(b(a,c),c=c.nextSibling);a=d}}function e(a){for(var c=a.firstChild;null!=c;){var b=c.nextSibling;e(c);c=b}1==a.nodeType&&("BR"===a.nodeName||null!=a.firstChild)||3==a.nodeType&&0!=mxUtils.trim(mxUtils.getTextContent(a)).length?(3==a.nodeType&&mxUtils.setTextContent(a,mxUtils.getTextContent(a).replace(/\n|\r/g,"")), 1==a.nodeType&&(a.removeAttribute("style"),a.removeAttribute("class"),a.removeAttribute("width"),a.removeAttribute("cellpadding"),a.removeAttribute("cellspacing"),a.removeAttribute("border"))):a.parentNode.removeChild(a)}B.apply(this,arguments);mxClient.IS_QUIRKS||7===document.documentMode||8===document.documentMode||mxEvent.addListener(this.textarea,"paste",mxUtils.bind(this,function(a){var e=c(this.textarea,this.textarea.cloneNode(!0));window.setTimeout(mxUtils.bind(this,function(){null!=this.textarea&& @@ -2447,14 +2447,14 @@ this.textarea.clientWidth)+"px",this.bounds.width=parseInt(this.textarea.style.w function(a,c){if("0"==mxUtils.getValue(a.style,"html","0"))return mxCellEditorGetInitialValue.apply(this,arguments);var b=this.graph.getEditingValue(a.cell,c);"1"==mxUtils.getValue(a.style,"nl2Br","1")&&(b=b.replace(/\n/g,"<br/>"));return b=this.graph.sanitizeHtml(b,!0)};mxCellEditorGetCurrentValue=mxCellEditor.prototype.getCurrentValue;mxCellEditor.prototype.getCurrentValue=function(a){if("0"==mxUtils.getValue(a.style,"html","0"))return mxCellEditorGetCurrentValue.apply(this,arguments);var c=this.graph.sanitizeHtml(this.textarea.innerHTML, !0);return c="1"==mxUtils.getValue(a.style,"nl2Br","1")?c.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>"):c.replace(/\r\n/g,"").replace(/\n/g,"")};var e=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(a){this.codeViewMode&&this.toggleViewMode();e.apply(this,arguments);this.focusContainer()};mxCellEditor.prototype.focusContainer=function(){try{this.graph.container.focus()}catch(ca){}};var k=mxCellEditor.prototype.applyValue;mxCellEditor.prototype.applyValue=function(a, c){this.graph.getModel().beginUpdate();try{if(k.apply(this,arguments),this.graph.isCellDeletable(a.cell)&&0==this.graph.model.getChildCount(a.cell)){var b=mxUtils.getValue(a.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE),e=mxUtils.getValue(a.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE);""==c&&b==mxConstants.NONE&&e==mxConstants.NONE&&this.graph.removeCells([a.cell],!1)}}finally{this.graph.getModel().endUpdate()}};mxCellEditor.prototype.getBackgroundColor=function(a){var c=mxUtils.getValue(a.style, -mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null);null!=c&&c!=mxConstants.NONE||!(null!=a.cell.geometry&&0<a.cell.geometry.width)||0==mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,0)&&0!=mxUtils.getValue(a.style,mxConstants.STYLE_HORIZONTAL,1)||(c=mxUtils.getValue(a.style,mxConstants.STYLE_FILLCOLOR,null));c==mxConstants.NONE&&(c=null);return c};mxCellEditor.prototype.getMinimumSize=function(a){var c=this.graph.getView().scale;return new mxRectangle(0,0,null==a.text?30:a.text.size*c+20,30)};var u= -mxGraphHandler.prototype.moveCells;mxGraphHandler.prototype.moveCells=function(a,c,b,e,d,k){mxEvent.isAltDown(k)&&(d=null);u.apply(this,arguments)};mxGraphView.prototype.formatUnitText=function(a){return a?b(a,this.unit):a};mxGraphHandler.prototype.updateHint=function(c){if(null!=this.shape){null==this.hint&&(this.hint=a(),this.graph.container.appendChild(this.hint));var e=this.graph.view.translate,d=this.graph.view.scale;c=this.roundLength((this.bounds.x+this.currentDx)/d-e.x);e=this.roundLength((this.bounds.y+ +mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null);null!=c&&c!=mxConstants.NONE||!(null!=a.cell.geometry&&0<a.cell.geometry.width)||0==mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,0)&&0!=mxUtils.getValue(a.style,mxConstants.STYLE_HORIZONTAL,1)||(c=mxUtils.getValue(a.style,mxConstants.STYLE_FILLCOLOR,null));c==mxConstants.NONE&&(c=null);return c};mxCellEditor.prototype.getMinimumSize=function(a){var c=this.graph.getView().scale;return new mxRectangle(0,0,null==a.text?30:a.text.size*c+20,30)};var t= +mxGraphHandler.prototype.moveCells;mxGraphHandler.prototype.moveCells=function(a,c,b,e,d,k){mxEvent.isAltDown(k)&&(d=null);t.apply(this,arguments)};mxGraphView.prototype.formatUnitText=function(a){return a?b(a,this.unit):a};mxGraphHandler.prototype.updateHint=function(c){if(null!=this.shape){null==this.hint&&(this.hint=a(),this.graph.container.appendChild(this.hint));var e=this.graph.view.translate,d=this.graph.view.scale;c=this.roundLength((this.bounds.x+this.currentDx)/d-e.x);e=this.roundLength((this.bounds.y+ this.currentDy)/d-e.y);d=this.graph.view.unit;this.hint.innerHTML=b(c,d)+", "+b(e,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(a,c){return!this.graph.isSwimlane(a.cell)&&0<this.graph.model.getChildCount(a.cell)&& !mxEvent.isControlDown(c.getEvent())&&!this.graph.isCellCollapsed(a.cell)&&"1"==mxUtils.getValue(a.style,"recursiveResize","1")&&null==mxUtils.getValue(a.style,"childLayout",null)};mxVertexHandler.prototype.isCenteredEvent=function(a,c){return!(!this.graph.isSwimlane(a.cell)&&0<this.graph.model.getChildCount(a.cell)&&!this.graph.isCellCollapsed(a.cell)&&"1"==mxUtils.getValue(a.style,"recursiveResize","1")&&null==mxUtils.getValue(a.style,"childLayout",null))&&mxEvent.isControlDown(c.getEvent())||mxEvent.isMetaDown(c.getEvent())}; var n=mxVertexHandler.prototype.getHandlePadding;mxVertexHandler.prototype.getHandlePadding=function(){var a=new mxPoint(0,0),c=this.tolerance;this.graph.cellEditor.getEditingCell()==this.state.cell&&null!=this.sizers&&0<this.sizers.length&&null!=this.sizers[0]?(c/=2,a.x=this.sizers[0].bounds.width+c,a.y=this.sizers[0].bounds.height+c):a=n.apply(this,arguments);return a};mxVertexHandler.prototype.updateHint=function(c){if(this.index!=mxEvent.LABEL_HANDLE){null==this.hint&&(this.hint=a(),this.state.view.graph.container.appendChild(this.hint)); if(this.index==mxEvent.ROTATION_HANDLE)this.hint.innerHTML=this.currentAlpha+"°";else{c=this.state.view.scale;var e=this.state.view.unit;this.hint.innerHTML=b(this.roundLength(this.bounds.width/c),e)+" x "+b(this.roundLength(this.bounds.height/c),e)}c=mxUtils.getBoundingBox(this.bounds,null!=this.currentAlpha?this.currentAlpha:this.state.style[mxConstants.STYLE_ROTATION]||"0");null==c&&(c=this.bounds);this.hint.style.left=c.x+Math.round((c.width-this.hint.clientWidth)/2)+"px";this.hint.style.top= c.y+c.height+12+"px";null!=this.linkHint&&(this.linkHint.style.display="none")}};mxVertexHandler.prototype.removeHint=function(){mxGraphHandler.prototype.removeHint.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.display="")};var g=mxEdgeHandler.prototype.mouseMove;mxEdgeHandler.prototype.mouseMove=function(a,c){g.apply(this,arguments);null!=this.graph.graphHandler&&null!=this.graph.graphHandler.first&&null!=this.linkHint&&"none"!=this.linkHint.style.display&&(this.linkHint.style.display= -"none")};var z=mxEdgeHandler.prototype.mouseUp;mxEdgeHandler.prototype.mouseUp=function(a,c){z.apply(this,arguments);null!=this.linkHint&&"none"==this.linkHint.style.display&&(this.linkHint.style.display="")};mxEdgeHandler.prototype.updateHint=function(c,e){null==this.hint&&(this.hint=a(),this.state.view.graph.container.appendChild(this.hint));var d=this.graph.view.translate,k=this.graph.view.scale,g=this.roundLength(e.x/k-d.x),d=this.roundLength(e.y/k-d.y),k=this.graph.view.unit;this.hint.innerHTML= +"none")};var y=mxEdgeHandler.prototype.mouseUp;mxEdgeHandler.prototype.mouseUp=function(a,c){y.apply(this,arguments);null!=this.linkHint&&"none"==this.linkHint.style.display&&(this.linkHint.style.display="")};mxEdgeHandler.prototype.updateHint=function(c,e){null==this.hint&&(this.hint=a(),this.state.view.graph.container.appendChild(this.hint));var d=this.graph.view.translate,k=this.graph.view.scale,g=this.roundLength(e.x/k-d.x),d=this.roundLength(e.y/k-d.y),k=this.graph.view.unit;this.hint.innerHTML= b(g,k)+", "+b(d,k);this.hint.style.visibility="visible";if(this.isSource||this.isTarget)null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus?(g=this.constraintHandler.currentConstraint.point,this.hint.innerHTML="["+Math.round(100*g.x)+"%, "+Math.round(100*g.y)+"%]"):this.marker.hasValidState()&&(this.hint.style.visibility="hidden");this.hint.style.left=Math.round(c.getGraphX()-this.hint.clientWidth/2)+"px";this.hint.style.top=Math.max(c.getGraphY(),e.y)+this.state.view.graph.gridSize+ "px";null!=this.linkHint&&(this.linkHint.style.display="none")};mxEdgeHandler.prototype.removeHint=mxVertexHandler.prototype.removeHint;HoverIcons.prototype.mainHandle=mxClient.IS_SVG?Graph.createSvgImage(18,18,'<circle cx="9" cy="9" r="5" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'" stroke-width="1"/>'):new mxImage(IMAGE_PATH+"/handle-main.png",17,17);HoverIcons.prototype.secondaryHandle=mxClient.IS_SVG?Graph.createSvgImage(16,16,'<path d="m 8 3 L 13 8 L 8 13 L 3 8 z" stroke="#fff" fill="#fca000"/>'): new mxImage(IMAGE_PATH+"/handle-secondary.png",17,17);HoverIcons.prototype.fixedHandle=mxClient.IS_SVG?Graph.createSvgImage(18,18,'<circle cx="9" cy="9" r="5" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'" stroke-width="1"/><path d="m 7 7 L 11 11 M 7 11 L 11 7" stroke="#fff"/>'):new mxImage(IMAGE_PATH+"/handle-fixed.png",17,17);HoverIcons.prototype.terminalHandle=mxClient.IS_SVG?Graph.createSvgImage(18,18,'<circle cx="9" cy="9" r="5" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'" stroke-width="1"/><circle cx="9" cy="9" r="2" stroke="#fff" fill="transparent"/>'): @@ -2468,13 +2468,13 @@ function(a){return!mxEvent.isShiftDown(a.getEvent())};if(Graph.touchStyle){if(mx function(a){var c=a.getEvent();return null==a.getState()&&!mxEvent.isMouseEvent(c)||mxEvent.isPopupTrigger(c)&&(null==a.getState()||mxEvent.isControlDown(c)||mxEvent.isShiftDown(c))};var A=mxGraphHandler.prototype.mouseDown;mxGraphHandler.prototype.mouseDown=function(a,c){A.apply(this,arguments);mxEvent.isTouchEvent(c.getEvent())&&this.graph.isCellSelected(c.getCell())&&1<this.graph.getSelectionCount()&&(this.delayedSelection=!1)}}else mxPanningHandler.prototype.isPanningTrigger=function(a){var c= a.getEvent();return mxEvent.isLeftMouseButton(c)&&(this.useLeftButtonForPanning&&null==a.getState()||mxEvent.isControlDown(c)&&!mxEvent.isShiftDown(c))||this.usePopupTrigger&&mxEvent.isPopupTrigger(c)};mxRubberband.prototype.isSpaceEvent=function(a){return this.graph.isEnabled()&&!this.graph.isCellLocked(this.graph.getDefaultParent())&&mxEvent.isControlDown(a.getEvent())&&mxEvent.isShiftDown(a.getEvent())};mxRubberband.prototype.mouseUp=function(a,c){var b=null!=this.div&&"none"!=this.div.style.display, e=null,d=null,k=null,g=null;null!=this.first&&null!=this.currentX&&null!=this.currentY&&(e=this.first.x,d=this.first.y,k=(this.currentX-e)/this.graph.view.scale,g=(this.currentY-d)/this.graph.view.scale,mxEvent.isAltDown(c.getEvent())||(k=this.graph.snap(k),g=this.graph.snap(g),this.graph.isGridEnabled()||(Math.abs(k)<this.graph.tolerance&&(k=0),Math.abs(g)<this.graph.tolerance&&(g=0))));this.reset();if(b){if(mxEvent.isAltDown(c.getEvent())&&this.graph.isToggleEvent(c.getEvent())){var k=new mxRectangle(this.x, -this.y,this.width,this.height),f=this.graph.getCells(k.x,k.y,k.width,k.height);this.graph.removeSelectionCells(f)}else if(this.isSpaceEvent(c)){this.graph.model.beginUpdate();try{for(f=this.graph.getCellsBeyond(e,d,this.graph.getDefaultParent(),!0,!0),b=0;b<f.length;b++)if(this.graph.isCellMovable(f[b])){var t=this.graph.view.getState(f[b]),n=this.graph.getCellGeometry(f[b]);null!=t&&null!=n&&(n=n.clone(),n.translate(k,g),this.graph.model.setGeometry(f[b],n))}}finally{this.graph.model.endUpdate()}}else k= +this.y,this.width,this.height),f=this.graph.getCells(k.x,k.y,k.width,k.height);this.graph.removeSelectionCells(f)}else if(this.isSpaceEvent(c)){this.graph.model.beginUpdate();try{for(f=this.graph.getCellsBeyond(e,d,this.graph.getDefaultParent(),!0,!0),b=0;b<f.length;b++)if(this.graph.isCellMovable(f[b])){var u=this.graph.view.getState(f[b]),n=this.graph.getCellGeometry(f[b]);null!=u&&null!=n&&(n=n.clone(),n.translate(k,g),this.graph.model.setGeometry(f[b],n))}}finally{this.graph.model.endUpdate()}}else k= new mxRectangle(this.x,this.y,this.width,this.height),this.graph.selectRegion(k,c.getEvent());c.consume()}};mxRubberband.prototype.mouseMove=function(a,c){if(!c.isConsumed()&&null!=this.first){var b=mxUtils.getScrollOrigin(this.graph.container),e=mxUtils.getOffset(this.graph.container);b.x-=e.x;b.y-=e.y;var e=c.getX()+b.x,b=c.getY()+b.y,d=this.first.x-e,k=this.first.y-b,g=this.graph.tolerance;if(null!=this.div||Math.abs(d)>g||Math.abs(k)>g)null==this.div&&(this.div=this.createShape()),mxUtils.clearSelection(), this.update(e,b),this.isSpaceEvent(c)?(e=this.x+this.width,b=this.y+this.height,d=this.graph.view.scale,mxEvent.isAltDown(c.getEvent())||(this.width=this.graph.snap(this.width/d)*d,this.height=this.graph.snap(this.height/d)*d,this.graph.isGridEnabled()||(this.width<this.graph.tolerance&&(this.width=0),this.height<this.graph.tolerance&&(this.height=0)),this.x<this.first.x&&(this.x=e-this.width),this.y<this.first.y&&(this.y=b-this.height)),this.div.style.borderStyle="dashed",this.div.style.backgroundColor= "white",this.div.style.left=this.x+"px",this.div.style.top=this.y+"px",this.div.style.width=Math.max(0,this.width)+"px",this.div.style.height=this.graph.container.clientHeight+"px",this.div.style.borderWidth=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)),c.consume()}};var q=mxRubberband.prototype.reset;mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv), -this.secondDiv=null);q.apply(this,arguments)};var F=(new Date).getTime(),x=0,E=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(a,c,b,e){E.apply(this,arguments);b!=this.currentTerminalState?(F=(new Date).getTime(),x=0):x=(new Date).getTime()-F;this.currentTerminalState=b};var t=mxEdgeHandler.prototype.isOutlineConnectEvent;mxEdgeHandler.prototype.isOutlineConnectEvent=function(a){return null!=this.currentTerminalState&&a.getState()==this.currentTerminalState&& -2E3<x||(null==this.currentTerminalState||"0"!=mxUtils.getValue(this.currentTerminalState.style,"outlineConnect","1"))&&t.apply(this,arguments)};mxVertexHandler.prototype.isCustomHandleEvent=function(a){return!mxEvent.isShiftDown(a.getEvent())};mxEdgeHandler.prototype.createHandleShape=function(a,c){var b=null!=a&&0==a,e=this.state.getVisibleTerminalState(b),d=null!=a&&(0==a||a>=this.state.absolutePoints.length-1||this.constructor==mxElbowEdgeHandler&&2==a)?this.graph.getConnectionConstraint(this.state, +this.secondDiv=null);q.apply(this,arguments)};var F=(new Date).getTime(),x=0,E=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(a,c,b,e){E.apply(this,arguments);b!=this.currentTerminalState?(F=(new Date).getTime(),x=0):x=(new Date).getTime()-F;this.currentTerminalState=b};var u=mxEdgeHandler.prototype.isOutlineConnectEvent;mxEdgeHandler.prototype.isOutlineConnectEvent=function(a){return null!=this.currentTerminalState&&a.getState()==this.currentTerminalState&& +2E3<x||(null==this.currentTerminalState||"0"!=mxUtils.getValue(this.currentTerminalState.style,"outlineConnect","1"))&&u.apply(this,arguments)};mxVertexHandler.prototype.isCustomHandleEvent=function(a){return!mxEvent.isShiftDown(a.getEvent())};mxEdgeHandler.prototype.createHandleShape=function(a,c){var b=null!=a&&0==a,e=this.state.getVisibleTerminalState(b),d=null!=a&&(0==a||a>=this.state.absolutePoints.length-1||this.constructor==mxElbowEdgeHandler&&2==a)?this.graph.getConnectionConstraint(this.state, e,b):null,b=null!=(null!=d?this.graph.getConnectionPoint(this.state.getVisibleTerminalState(b),d):null)?this.fixedHandleImage:null!=d&&null!=e?this.terminalHandleImage:this.handleImage;if(null!=b)return b=new mxImageShape(new mxRectangle(0,0,b.width,b.height),b.src),b.preserveImageAspect=!1,b;b=mxConstants.HANDLE_SIZE;this.preferHtml&&--b;return new mxRectangleShape(new mxRectangle(0,0,b,b),mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};var C=mxVertexHandler.prototype.createSizerShape; mxVertexHandler.prototype.createSizerShape=function(a,c,b){this.handleImage=c==mxEvent.ROTATION_HANDLE?HoverIcons.prototype.rotationHandle:c==mxEvent.LABEL_HANDLE?this.secondaryHandleImage:this.handleImage;return C.apply(this,arguments)};var K=mxGraphHandler.prototype.getBoundingBox;mxGraphHandler.prototype.getBoundingBox=function(a){if(null!=a&&1==a.length){var c=this.graph.getModel(),b=c.getParent(a[0]),e=this.graph.getCellGeometry(a[0]);if(c.isEdge(b)&&null!=e&&e.relative&&(c=this.graph.view.getState(a[0]), null!=c&&2>c.width&&2>c.height&&null!=c.text&&null!=c.text.boundingBox))return mxRectangle.fromRectangle(c.text.boundingBox)}return K.apply(this,arguments)};var Y=mxGraphHandler.prototype.getGuideStates;mxGraphHandler.prototype.getGuideStates=function(){for(var a=Y.apply(this,arguments),c=[],b=0;b<a.length;b++)"1"!=mxUtils.getValue(a[b].style,"part","0")&&c.push(a[b]);return c};var H=mxVertexHandler.prototype.getSelectionBounds;mxVertexHandler.prototype.getSelectionBounds=function(a){var c=this.graph.getModel(), @@ -2494,12 +2494,12 @@ var ba=mxConnectionHandler.prototype.init;mxConnectionHandler.prototype.init=fun null!=c&&(b=Math.max(b,c.y+c.height));this.linkHint.style.left=Math.max(0,Math.round(a.x+(a.width-this.linkHint.clientWidth)/2))+"px";this.linkHint.style.top=Math.round(b+this.verticalOffset/2+6+this.state.view.graph.tolerance)+"px"}};var G=mxVertexHandler.prototype.destroy;mxVertexHandler.prototype.destroy=function(){G.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint),this.linkHint=null);null!=this.changeHandler&&(this.graph.getSelectionModel().removeListener(this.changeHandler), this.graph.getModel().removeListener(this.changeHandler),this.changeHandler=null);null!=this.editingHandler&&(this.graph.removeListener(this.editingHandler),this.editingHandler=null)};var Z=mxEdgeHandler.prototype.redrawHandles;mxEdgeHandler.prototype.redrawHandles=function(){if(null!=this.marker&&(Z.apply(this),null!=this.state&&null!=this.linkHint)){var a=this.state;null!=this.state.text&&null!=this.state.text.bounds&&(a=new mxRectangle(a.x,a.y,a.width,a.height),a.add(this.state.text.bounds));this.linkHint.style.left= Math.max(0,Math.round(a.x+(a.width-this.linkHint.clientWidth)/2))+"px";this.linkHint.style.top=Math.round(a.y+a.height+6+this.state.view.graph.tolerance)+"px"}};var na=mxEdgeHandler.prototype.reset;mxEdgeHandler.prototype.reset=function(){na.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.visibility="")};var ja=mxEdgeHandler.prototype.destroy;mxEdgeHandler.prototype.destroy=function(){ja.apply(this,arguments);null!=this.linkHint&&(this.linkHint.parentNode.removeChild(this.linkHint), -this.linkHint=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.graph.getSelectionModel().removeListener(this.changeHandler),this.changeHandler=null)}}();(function(){function a(){mxCylinder.call(this)}function b(){mxActor.call(this)}function f(){mxCylinder.call(this)}function d(){mxCylinder.call(this)}function l(){mxCylinder.call(this)}function m(){mxActor.call(this)}function p(){mxCylinder.call(this)}function v(){mxActor.call(this)}function y(){mxActor.call(this)}function B(){mxActor.call(this)}function c(){mxActor.call(this)}function e(){mxActor.call(this)}function k(){mxActor.call(this)}function u(){mxActor.call(this)}function n(a,c){this.canvas= +this.linkHint=null);null!=this.changeHandler&&(this.graph.getModel().removeListener(this.changeHandler),this.graph.getSelectionModel().removeListener(this.changeHandler),this.changeHandler=null)}}();(function(){function a(){mxCylinder.call(this)}function b(){mxActor.call(this)}function f(){mxCylinder.call(this)}function d(){mxCylinder.call(this)}function l(){mxCylinder.call(this)}function m(){mxActor.call(this)}function p(){mxCylinder.call(this)}function v(){mxActor.call(this)}function z(){mxActor.call(this)}function B(){mxActor.call(this)}function c(){mxActor.call(this)}function e(){mxActor.call(this)}function k(){mxActor.call(this)}function t(){mxActor.call(this)}function n(a,c){this.canvas= a;this.canvas.setLineJoin("round");this.canvas.setLineCap("round");this.defaultVariation=c;this.originalLineTo=this.canvas.lineTo;this.canvas.lineTo=mxUtils.bind(this,n.prototype.lineTo);this.originalMoveTo=this.canvas.moveTo;this.canvas.moveTo=mxUtils.bind(this,n.prototype.moveTo);this.originalClose=this.canvas.close;this.canvas.close=mxUtils.bind(this,n.prototype.close);this.originalQuadTo=this.canvas.quadTo;this.canvas.quadTo=mxUtils.bind(this,n.prototype.quadTo);this.originalCurveTo=this.canvas.curveTo; -this.canvas.curveTo=mxUtils.bind(this,n.prototype.curveTo);this.originalArcTo=this.canvas.arcTo;this.canvas.arcTo=mxUtils.bind(this,n.prototype.arcTo)}function g(){mxRectangleShape.call(this)}function z(){mxRectangleShape.call(this)}function A(){mxActor.call(this)}function q(){mxActor.call(this)}function F(){mxActor.call(this)}function x(){mxRectangleShape.call(this)}function E(){mxRectangleShape.call(this)}function t(){mxCylinder.call(this)}function C(){mxShape.call(this)}function K(){mxShape.call(this)} +this.canvas.curveTo=mxUtils.bind(this,n.prototype.curveTo);this.originalArcTo=this.canvas.arcTo;this.canvas.arcTo=mxUtils.bind(this,n.prototype.arcTo)}function g(){mxRectangleShape.call(this)}function y(){mxRectangleShape.call(this)}function A(){mxActor.call(this)}function q(){mxActor.call(this)}function F(){mxActor.call(this)}function x(){mxRectangleShape.call(this)}function E(){mxRectangleShape.call(this)}function u(){mxCylinder.call(this)}function C(){mxShape.call(this)}function K(){mxShape.call(this)} function Y(){mxEllipse.call(this)}function H(){mxShape.call(this)}function Q(){mxShape.call(this)}function D(){mxRectangleShape.call(this)}function L(){mxShape.call(this)}function O(){mxShape.call(this)}function P(){mxShape.call(this)}function ba(){mxShape.call(this)}function W(){mxShape.call(this)}function G(){mxCylinder.call(this)}function Z(){mxDoubleEllipse.call(this)}function na(){mxDoubleEllipse.call(this)}function ja(){mxArrowConnector.call(this);this.spacing=0}function ca(){mxArrowConnector.call(this); this.spacing=0}function ka(){mxActor.call(this)}function S(){mxRectangleShape.call(this)}function V(){mxActor.call(this)}function pa(){mxActor.call(this)}function ga(){mxActor.call(this)}function R(){mxActor.call(this)}function la(){mxActor.call(this)}function M(){mxActor.call(this)}function I(){mxActor.call(this)}function ea(){mxActor.call(this)}function N(){mxActor.call(this)}function T(){mxActor.call(this)}function ha(){mxEllipse.call(this)}function ia(){mxEllipse.call(this)}function J(){mxEllipse.call(this)} -function qa(){mxRhombus.call(this)}function aa(){mxEllipse.call(this)}function da(){mxEllipse.call(this)}function Aa(){mxEllipse.call(this)}function wa(){mxEllipse.call(this)}function za(){mxActor.call(this)}function ma(){mxActor.call(this)}function fa(){mxActor.call(this)}function sa(){mxConnector.call(this)}function Ea(a,c,b,e,d,k,g,f,t,n){g+=t;var X=e.clone();e.x-=d*(2*g+t);e.y-=k*(2*g+t);d*=g+t;k*=g+t;return function(){a.ellipse(X.x-d-g,X.y-k-g,2*g,2*g);n?a.fillAndStroke():a.stroke()}}mxUtils.extend(a, +function qa(){mxRhombus.call(this)}function aa(){mxEllipse.call(this)}function da(){mxEllipse.call(this)}function Aa(){mxEllipse.call(this)}function wa(){mxEllipse.call(this)}function za(){mxActor.call(this)}function ma(){mxActor.call(this)}function fa(){mxActor.call(this)}function sa(){mxConnector.call(this)}function Ea(a,c,b,e,d,k,g,f,u,n){g+=u;var X=e.clone();e.x-=d*(2*g+u);e.y-=k*(2*g+u);d*=g+u;k*=g+u;return function(){a.ellipse(X.x-d-g,X.y-k-g,2*g,2*g);n?a.fillAndStroke():a.stroke()}}mxUtils.extend(a, mxCylinder);a.prototype.size=20;a.prototype.darkOpacity=0;a.prototype.darkOpacity2=0;a.prototype.paintVertexShape=function(a,c,b,e,d){var k=Math.max(0,Math.min(e,Math.min(d,parseFloat(mxUtils.getValue(this.style,"size",this.size))))),g=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity",this.darkOpacity)))),X=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity2",this.darkOpacity2))));a.translate(c,b);a.begin();a.moveTo(0,0);a.lineTo(e-k,0);a.lineTo(e, k);a.lineTo(e,d);a.lineTo(k,d);a.lineTo(0,d-k);a.lineTo(0,0);a.close();a.end();a.fillAndStroke();this.outline||(a.setShadow(!1),0!=g&&(a.setFillAlpha(Math.abs(g)),a.setFillColor(0>g?"#FFFFFF":"#000000"),a.begin(),a.moveTo(0,0),a.lineTo(e-k,0),a.lineTo(e,k),a.lineTo(k,k),a.close(),a.fill()),0!=X&&(a.setFillAlpha(Math.abs(X)),a.setFillColor(0>X?"#FFFFFF":"#000000"),a.begin(),a.moveTo(0,0),a.lineTo(k,k),a.lineTo(k,d),a.lineTo(0,d-k),a.close(),a.fill()),a.begin(),a.moveTo(k,d),a.lineTo(k,k),a.lineTo(0, 0),a.moveTo(k,k),a.lineTo(e,k),a.end(),a.stroke())};a.prototype.getLabelMargins=function(a){return mxUtils.getValue(this.style,"boundedLbl",!1)?(a=parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale,new mxRectangle(a,a,0,0)):null};mxCellRenderer.registerShape("cube",a);var ta=Math.tan(mxUtils.toRadians(30)),oa=(.5-ta)/2;mxUtils.extend(b,mxActor);b.prototype.size=20;b.prototype.redrawPath=function(a,c,b,e,d){c=Math.min(e,d/ta);a.translate((e-c)/2,(d-c)/2+c/4);a.moveTo(0,.25*c);a.lineTo(.5* @@ -2509,24 +2509,24 @@ c),a.curveTo(0,-c/3,e,-c/3,e,c),a.lineTo(e,d-c),a.curveTo(e,d+c/3,0,d+c/3,0,d-c) Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity",this.darkOpacity))));a.translate(c,b);a.begin();a.moveTo(0,0);a.lineTo(e-k,0);a.lineTo(e,k);a.lineTo(e,d);a.lineTo(0,d);a.lineTo(0,0);a.close();a.end();a.fillAndStroke();this.outline||(a.setShadow(!1),0!=g&&(a.setFillAlpha(Math.abs(g)),a.setFillColor(0>g?"#FFFFFF":"#000000"),a.begin(),a.moveTo(e-k,0),a.lineTo(e-k,k),a.lineTo(e,k),a.close(),a.fill()),a.begin(),a.moveTo(e-k,0),a.lineTo(e-k,k),a.lineTo(e,k),a.end(),a.stroke())}; mxCellRenderer.registerShape("note",l);mxUtils.extend(m,mxActor);m.prototype.redrawPath=function(a,c,b,e,d){a.moveTo(0,0);a.quadTo(e/2,.5*d,e,0);a.quadTo(.5*e,d/2,e,d);a.quadTo(e/2,.5*d,0,d);a.quadTo(.5*e,d/2,0,0);a.end()};mxCellRenderer.registerShape("switch",m);mxUtils.extend(p,mxCylinder);p.prototype.tabWidth=60;p.prototype.tabHeight=20;p.prototype.tabPosition="right";p.prototype.redrawPath=function(a,c,b,e,d,k){c=Math.max(0,Math.min(e,parseFloat(mxUtils.getValue(this.style,"tabWidth",this.tabWidth)))); b=Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));var g=mxUtils.getValue(this.style,"tabPosition",this.tabPosition);k?"left"==g?(a.moveTo(0,b),a.lineTo(c,b)):(a.moveTo(e-c,b),a.lineTo(e,b)):("left"==g?(a.moveTo(0,0),a.lineTo(c,0),a.lineTo(c,b),a.lineTo(e,b)):(a.moveTo(0,b),a.lineTo(e-c,b),a.lineTo(e-c,0),a.lineTo(e,0)),a.lineTo(e,d),a.lineTo(0,d),a.lineTo(0,b),a.close());a.end()};mxCellRenderer.registerShape("folder",p);mxUtils.extend(v,mxActor);v.prototype.size= -30;v.prototype.isRoundable=function(){return!0};v.prototype.redrawPath=function(a,c,b,e,d){c=Math.max(0,Math.min(e,Math.min(d,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));b=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(c,0),new mxPoint(e,0),new mxPoint(e,d),new mxPoint(0,d),new mxPoint(0,c)],this.isRounded,b,!0);a.end()};mxCellRenderer.registerShape("card",v);mxUtils.extend(y,mxActor);y.prototype.size=.4;y.prototype.redrawPath= -function(a,c,b,e,d){c=d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));a.moveTo(0,c/2);a.quadTo(e/4,1.4*c,e/2,c/2);a.quadTo(3*e/4,c*(1-1.4),e,c/2);a.lineTo(e,d-c/2);a.quadTo(3*e/4,d-1.4*c,e/2,d-c/2);a.quadTo(e/4,d-c*(1-1.4),0,d-c/2);a.lineTo(0,c/2);a.close();a.end()};y.prototype.getLabelBounds=function(a){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var c=mxUtils.getValue(this.style,"size",this.size),b=a.width,e=a.height;if(null==this.direction||this.direction== -mxConstants.DIRECTION_EAST||this.direction==mxConstants.DIRECTION_WEST)return c*=e,new mxRectangle(a.x,a.y+c,b,e-2*c);c*=b;return new mxRectangle(a.x+c,a.y,b-2*c,e)}return a};mxCellRenderer.registerShape("tape",y);mxUtils.extend(B,mxActor);B.prototype.size=.3;B.prototype.getLabelMargins=function(a){return mxUtils.getValue(this.style,"boundedLbl",!1)?new mxRectangle(0,0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*a.height):null};B.prototype.redrawPath=function(a,c,b,e,d){c=d*Math.max(0, +30;v.prototype.isRoundable=function(){return!0};v.prototype.redrawPath=function(a,c,b,e,d){c=Math.max(0,Math.min(e,Math.min(d,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));b=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(c,0),new mxPoint(e,0),new mxPoint(e,d),new mxPoint(0,d),new mxPoint(0,c)],this.isRounded,b,!0);a.end()};mxCellRenderer.registerShape("card",v);mxUtils.extend(z,mxActor);z.prototype.size=.4;z.prototype.redrawPath= +function(a,c,b,e,d){c=d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));a.moveTo(0,c/2);a.quadTo(e/4,1.4*c,e/2,c/2);a.quadTo(3*e/4,c*(1-1.4),e,c/2);a.lineTo(e,d-c/2);a.quadTo(3*e/4,d-1.4*c,e/2,d-c/2);a.quadTo(e/4,d-c*(1-1.4),0,d-c/2);a.lineTo(0,c/2);a.close();a.end()};z.prototype.getLabelBounds=function(a){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var c=mxUtils.getValue(this.style,"size",this.size),b=a.width,e=a.height;if(null==this.direction||this.direction== +mxConstants.DIRECTION_EAST||this.direction==mxConstants.DIRECTION_WEST)return c*=e,new mxRectangle(a.x,a.y+c,b,e-2*c);c*=b;return new mxRectangle(a.x+c,a.y,b-2*c,e)}return a};mxCellRenderer.registerShape("tape",z);mxUtils.extend(B,mxActor);B.prototype.size=.3;B.prototype.getLabelMargins=function(a){return mxUtils.getValue(this.style,"boundedLbl",!1)?new mxRectangle(0,0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*a.height):null};B.prototype.redrawPath=function(a,c,b,e,d){c=d*Math.max(0, Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));a.moveTo(0,0);a.lineTo(e,0);a.lineTo(e,d-c/2);a.quadTo(3*e/4,d-1.4*c,e/2,d-c/2);a.quadTo(e/4,d-c*(1-1.4),0,d-c/2);a.lineTo(0,c/2);a.close();a.end()};mxCellRenderer.registerShape("document",B);var Ka=mxCylinder.prototype.getCylinderSize;mxCylinder.prototype.getCylinderSize=function(a,c,b,e){var d=mxUtils.getValue(this.style,"size");return null!=d?e*Math.max(0,Math.min(1,d)):Ka.apply(this,arguments)};mxCylinder.prototype.getLabelMargins= function(a){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var c=2*mxUtils.getValue(this.style,"size",.15);return new mxRectangle(0,Math.min(this.maxHeight*this.scale,a.height*c),0,0)}return null};mxUtils.extend(c,mxActor);c.prototype.size=.2;c.prototype.isRoundable=function(){return!0};c.prototype.redrawPath=function(a,c,b,e,d){c=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));b=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/ 2;this.addPoints(a,[new mxPoint(0,d),new mxPoint(c,0),new mxPoint(e,0),new mxPoint(e-c,d)],this.isRounded,b,!0);a.end()};mxCellRenderer.registerShape("parallelogram",c);mxUtils.extend(e,mxActor);e.prototype.size=.2;e.prototype.isRoundable=function(){return!0};e.prototype.redrawPath=function(a,c,b,e,d){c=e*Math.max(0,Math.min(.5,parseFloat(mxUtils.getValue(this.style,"size",this.size))));b=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0, d),new mxPoint(c,0),new mxPoint(e-c,0),new mxPoint(e,d)],this.isRounded,b,!0)};mxCellRenderer.registerShape("trapezoid",e);mxUtils.extend(k,mxActor);k.prototype.size=.5;k.prototype.redrawPath=function(a,c,b,e,d){a.setFillColor(null);c=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));b=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(e,0),new mxPoint(c,0),new mxPoint(c,d/2),new mxPoint(0,d/2),new mxPoint(c, -d/2),new mxPoint(c,d),new mxPoint(e,d)],this.isRounded,b,!1);a.end()};mxCellRenderer.registerShape("curlyBracket",k);mxUtils.extend(u,mxActor);u.prototype.redrawPath=function(a,c,b,e,d){a.setStrokeWidth(1);a.setFillColor(this.stroke);c=e/5;a.rect(0,0,c,d);a.fillAndStroke();a.rect(2*c,0,c,d);a.fillAndStroke();a.rect(4*c,0,c,d);a.fillAndStroke()};mxCellRenderer.registerShape("parallelMarker",u);n.prototype.moveTo=function(a,c){this.originalMoveTo.apply(this.canvas,arguments);this.lastX=a;this.lastY= +d/2),new mxPoint(c,d),new mxPoint(e,d)],this.isRounded,b,!1);a.end()};mxCellRenderer.registerShape("curlyBracket",k);mxUtils.extend(t,mxActor);t.prototype.redrawPath=function(a,c,b,e,d){a.setStrokeWidth(1);a.setFillColor(this.stroke);c=e/5;a.rect(0,0,c,d);a.fillAndStroke();a.rect(2*c,0,c,d);a.fillAndStroke();a.rect(4*c,0,c,d);a.fillAndStroke()};mxCellRenderer.registerShape("parallelMarker",t);n.prototype.moveTo=function(a,c){this.originalMoveTo.apply(this.canvas,arguments);this.lastX=a;this.lastY= c;this.firstX=a;this.firstY=c};n.prototype.close=function(){null!=this.firstX&&null!=this.firstY&&(this.lineTo(this.firstX,this.firstY),this.originalClose.apply(this.canvas,arguments));this.originalClose.apply(this.canvas,arguments)};n.prototype.quadTo=function(a,c,b,e){this.originalQuadTo.apply(this.canvas,arguments);this.lastX=b;this.lastY=e};n.prototype.curveTo=function(a,c,b,e,d,k){this.originalCurveTo.apply(this.canvas,arguments);this.lastX=d;this.lastY=k};n.prototype.arcTo=function(a,c,b,e, d,k,g){this.originalArcTo.apply(this.canvas,arguments);this.lastX=k;this.lastY=g};n.prototype.lineTo=function(a,c){if(null!=this.lastX&&null!=this.lastY){var b=function(a){return"number"===typeof a?a?0>a?-1:1:a===a?0:NaN:NaN},e=Math.abs(a-this.lastX),d=Math.abs(c-this.lastY),k=Math.sqrt(e*e+d*d);if(2>k){this.originalLineTo.apply(this.canvas,arguments);this.lastX=a;this.lastY=c;return}var g=Math.round(k/10),f=this.defaultVariation;5>g&&(g=5,f/=3);for(var X=b(a-this.lastX)*e/g,b=b(c-this.lastY)*d/g, -e=e/k,d=d/k,k=0;k<g;k++){var t=(Math.random()-.5)*f;this.originalLineTo.call(this.canvas,X*k+this.lastX-t*d,b*k+this.lastY-t*e)}this.originalLineTo.call(this.canvas,a,c)}else this.originalLineTo.apply(this.canvas,arguments);this.lastX=a;this.lastY=c};n.prototype.destroy=function(){this.canvas.lineTo=this.originalLineTo;this.canvas.moveTo=this.originalMoveTo;this.canvas.close=this.originalClose;this.canvas.quadTo=this.originalQuadTo;this.canvas.curveTo=this.originalCurveTo;this.canvas.arcTo=this.originalArcTo}; +e=e/k,d=d/k,k=0;k<g;k++){var u=(Math.random()-.5)*f;this.originalLineTo.call(this.canvas,X*k+this.lastX-u*d,b*k+this.lastY-u*e)}this.originalLineTo.call(this.canvas,a,c)}else this.originalLineTo.apply(this.canvas,arguments);this.lastX=a;this.lastY=c};n.prototype.destroy=function(){this.canvas.lineTo=this.originalLineTo;this.canvas.moveTo=this.originalMoveTo;this.canvas.close=this.originalClose;this.canvas.quadTo=this.originalQuadTo;this.canvas.curveTo=this.originalCurveTo;this.canvas.arcTo=this.originalArcTo}; var Ba=mxShape.prototype.paint;mxShape.prototype.defaultJiggle=1.5;mxShape.prototype.paint=function(a){null!=this.style&&"0"!=mxUtils.getValue(this.style,"comic","0")&&null==a.handHiggle&&(a.handJiggle=new n(a,mxUtils.getValue(this.style,"jiggle",this.defaultJiggle)));Ba.apply(this,arguments);null!=a.handJiggle&&(a.handJiggle.destroy(),delete a.handJiggle)};mxRhombus.prototype.defaultJiggle=2;var La=mxRectangleShape.prototype.isHtmlAllowed;mxRectangleShape.prototype.isHtmlAllowed=function(){return(null== this.style||"0"==mxUtils.getValue(this.style,"comic","0"))&&La.apply(this,arguments)};var Ca=mxRectangleShape.prototype.paintBackground;mxRectangleShape.prototype.paintBackground=function(a,c,b,e,d){if(null==a.handJiggle)Ca.apply(this,arguments);else{var k=!0;null!=this.style&&(k="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));if(k||null!=this.fill&&this.fill!=mxConstants.NONE||null!=this.stroke&&this.stroke!=mxConstants.NONE)k||null!=this.fill&&this.fill!=mxConstants.NONE|| (a.pointerEvents=!1),a.begin(),this.isRounded?("1"==mxUtils.getValue(this.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?k=Math.min(e/2,Math.min(d/2,mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2)):(k=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,k=Math.min(e*k,d*k)),a.moveTo(c+k,b),a.lineTo(c+e-k,b),a.quadTo(c+e,b,c+e,b+k),a.lineTo(c+e,b+d-k),a.quadTo(c+e,b+d,c+e-k,b+d),a.lineTo(c+k,b+d),a.quadTo(c,b+d,c,b+d-k), a.lineTo(c,b+k),a.quadTo(c,b,c+k,b)):(a.moveTo(c,b),a.lineTo(c+e,b),a.lineTo(c+e,b+d),a.lineTo(c,b+d),a.lineTo(c,b)),a.close(),a.end(),a.fillAndStroke()}};var xa=mxRectangleShape.prototype.paintForeground;mxRectangleShape.prototype.paintForeground=function(a,c,b,e,d){null==a.handJiggle&&xa.apply(this,arguments)};mxUtils.extend(g,mxRectangleShape);g.prototype.size=.1;g.prototype.isHtmlAllowed=function(){return!1};g.prototype.getLabelBounds=function(a){if(mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL, !0)==(null==this.direction||this.direction==mxConstants.DIRECTION_EAST||this.direction==mxConstants.DIRECTION_WEST)){var c=a.width,b=a.height;a=new mxRectangle(a.x,a.y,c,b);var e=c*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));if(this.isRounded)var d=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,e=Math.max(e,Math.min(c*d,b*d));a.x+=Math.round(e);a.width-=Math.round(2*e)}return a};g.prototype.paintForeground= -function(a,c,b,e,d){var k=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));if(this.isRounded)var g=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,k=Math.max(k,Math.min(e*g,d*g));k=Math.round(k);a.begin();a.moveTo(c+k,b);a.lineTo(c+k,b+d);a.moveTo(c+e-k,b);a.lineTo(c+e-k,b+d);a.end();a.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("process",g);mxUtils.extend(z, -mxRectangleShape);z.prototype.paintBackground=function(a,c,b,e,d){a.setFillColor(mxConstants.NONE);a.rect(c,b,e,d);a.fill()};z.prototype.paintForeground=function(a,c,b,e,d){};mxCellRenderer.registerShape("transparent",z);mxUtils.extend(A,mxHexagon);A.prototype.size=30;A.prototype.position=.5;A.prototype.position2=.5;A.prototype.base=20;A.prototype.getLabelMargins=function(){return new mxRectangle(0,0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale)};A.prototype.isRoundable= +function(a,c,b,e,d){var k=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));if(this.isRounded)var g=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,k=Math.max(k,Math.min(e*g,d*g));k=Math.round(k);a.begin();a.moveTo(c+k,b);a.lineTo(c+k,b+d);a.moveTo(c+e-k,b);a.lineTo(c+e-k,b+d);a.end();a.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("process",g);mxUtils.extend(y, +mxRectangleShape);y.prototype.paintBackground=function(a,c,b,e,d){a.setFillColor(mxConstants.NONE);a.rect(c,b,e,d);a.fill()};y.prototype.paintForeground=function(a,c,b,e,d){};mxCellRenderer.registerShape("transparent",y);mxUtils.extend(A,mxHexagon);A.prototype.size=30;A.prototype.position=.5;A.prototype.position2=.5;A.prototype.base=20;A.prototype.getLabelMargins=function(){return new mxRectangle(0,0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale)};A.prototype.isRoundable= function(){return!0};A.prototype.redrawPath=function(a,c,b,e,d){c=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;b=Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,"size",this.size))));var k=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position",this.position)))),g=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2)))),f=Math.max(0,Math.min(e,parseFloat(mxUtils.getValue(this.style,"base",this.base)))); this.addPoints(a,[new mxPoint(0,0),new mxPoint(e,0),new mxPoint(e,d-b),new mxPoint(Math.min(e,k+f),d-b),new mxPoint(g,d),new mxPoint(Math.max(0,k),d-b),new mxPoint(0,d-b)],this.isRounded,c,!0,[4])};mxCellRenderer.registerShape("callout",A);mxUtils.extend(q,mxActor);q.prototype.size=.2;q.prototype.fixedSize=20;q.prototype.isRoundable=function(){return!0};q.prototype.redrawPath=function(a,c,b,e,d){c="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(e,parseFloat(mxUtils.getValue(this.style, "size",this.fixedSize)))):e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));b=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,0),new mxPoint(e-c,0),new mxPoint(e,d/2),new mxPoint(e-c,d),new mxPoint(0,d),new mxPoint(c,d/2)],this.isRounded,b,!0);a.end()};mxCellRenderer.registerShape("step",q);mxUtils.extend(F,mxHexagon);F.prototype.size=.25;F.prototype.isRoundable=function(){return!0};F.prototype.redrawPath= @@ -2534,32 +2534,32 @@ function(a,c,b,e,d){c=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.s c,b,e,d){var k=Math.min(e/5,d/5)+1;a.begin();a.moveTo(c+e/2,b+k);a.lineTo(c+e/2,b+d-k);a.moveTo(c+k,b+d/2);a.lineTo(c+e-k,b+d/2);a.end();a.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("plus",x);var ua=mxRhombus.prototype.paintVertexShape;mxRhombus.prototype.getLabelBounds=function(a){if(1==this.style["double"]){var c=(2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(a.x+ c,a.y+c,a.width-2*c,a.height-2*c)}return a};mxRhombus.prototype.paintVertexShape=function(a,c,b,e,d){ua.apply(this,arguments);if(!this.outline&&1==this.style["double"]){var k=2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0);c+=k;b+=k;e-=2*k;d-=2*k;0<e&&0<d&&(a.setShadow(!1),ua.apply(this,[a,c,b,e,d]))}};mxUtils.extend(E,mxRectangleShape);E.prototype.isHtmlAllowed=function(){return!1};E.prototype.getLabelBounds=function(a){if(1==this.style["double"]){var c=(Math.max(2, this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(a.x+c,a.y+c,a.width-2*c,a.height-2*c)}return a};E.prototype.paintForeground=function(a,c,b,e,d){if(null!=this.style){if(!this.outline&&1==this.style["double"]){var k=Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0);c+=k;b+=k;e-=2*k;d-=2*k;0<e&&0<d&&mxRectangleShape.prototype.paintBackground.apply(this,arguments)}a.setDashed(!1);var k=0,g;do{g=mxCellRenderer.defaultShapes[this.style["symbol"+ -k]];if(null!=g){var f=this.style["symbol"+k+"Align"],X=this.style["symbol"+k+"VerticalAlign"],t=this.style["symbol"+k+"Width"],n=this.style["symbol"+k+"Height"],u=this.style["symbol"+k+"Spacing"]||0,C=this.style["symbol"+k+"VSpacing"]||u,q=this.style["symbol"+k+"ArcSpacing"];null!=q&&(q*=this.getArcSize(e+this.strokewidth,d+this.strokewidth),u+=q,C+=q);var q=c,z=b,q=f==mxConstants.ALIGN_CENTER?q+(e-t)/2:f==mxConstants.ALIGN_RIGHT?q+(e-t-u):q+u,z=X==mxConstants.ALIGN_MIDDLE?z+(d-n)/2:X==mxConstants.ALIGN_BOTTOM? -z+(d-n-C):z+C;a.save();f=new g;f.style=this.style;g.prototype.paintVertexShape.call(f,a,q,z,t,n);a.restore()}k++}while(null!=g)}mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("ext",E);mxUtils.extend(t,mxCylinder);t.prototype.redrawPath=function(a,c,b,e,d,k){k?(a.moveTo(0,0),a.lineTo(e/2,d/2),a.lineTo(e,0),a.end()):(a.moveTo(0,0),a.lineTo(e,0),a.lineTo(e,d),a.lineTo(0,d),a.close())};mxCellRenderer.registerShape("message",t);mxUtils.extend(C,mxShape); +k]];if(null!=g){var f=this.style["symbol"+k+"Align"],X=this.style["symbol"+k+"VerticalAlign"],u=this.style["symbol"+k+"Width"],n=this.style["symbol"+k+"Height"],t=this.style["symbol"+k+"Spacing"]||0,C=this.style["symbol"+k+"VSpacing"]||t,q=this.style["symbol"+k+"ArcSpacing"];null!=q&&(q*=this.getArcSize(e+this.strokewidth,d+this.strokewidth),t+=q,C+=q);var q=c,y=b,q=f==mxConstants.ALIGN_CENTER?q+(e-u)/2:f==mxConstants.ALIGN_RIGHT?q+(e-u-t):q+t,y=X==mxConstants.ALIGN_MIDDLE?y+(d-n)/2:X==mxConstants.ALIGN_BOTTOM? +y+(d-n-C):y+C;a.save();f=new g;f.style=this.style;g.prototype.paintVertexShape.call(f,a,q,y,u,n);a.restore()}k++}while(null!=g)}mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("ext",E);mxUtils.extend(u,mxCylinder);u.prototype.redrawPath=function(a,c,b,e,d,k){k?(a.moveTo(0,0),a.lineTo(e/2,d/2),a.lineTo(e,0),a.end()):(a.moveTo(0,0),a.lineTo(e,0),a.lineTo(e,d),a.lineTo(0,d),a.close())};mxCellRenderer.registerShape("message",u);mxUtils.extend(C,mxShape); C.prototype.paintBackground=function(a,c,b,e,d){a.translate(c,b);a.ellipse(e/4,0,e/2,d/4);a.fillAndStroke();a.begin();a.moveTo(e/2,d/4);a.lineTo(e/2,2*d/3);a.moveTo(e/2,d/3);a.lineTo(0,d/3);a.moveTo(e/2,d/3);a.lineTo(e,d/3);a.moveTo(e/2,2*d/3);a.lineTo(0,d);a.moveTo(e/2,2*d/3);a.lineTo(e,d);a.end();a.stroke()};mxCellRenderer.registerShape("umlActor",C);mxUtils.extend(K,mxShape);K.prototype.getLabelMargins=function(a){return new mxRectangle(a.width/6,0,0,0)};K.prototype.paintBackground=function(a, c,b,e,d){a.translate(c,b);a.begin();a.moveTo(0,d/4);a.lineTo(0,3*d/4);a.end();a.stroke();a.begin();a.moveTo(0,d/2);a.lineTo(e/6,d/2);a.end();a.stroke();a.ellipse(e/6,0,5*e/6,d);a.fillAndStroke()};mxCellRenderer.registerShape("umlBoundary",K);mxUtils.extend(Y,mxEllipse);Y.prototype.paintVertexShape=function(a,c,b,e,d){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.begin();a.moveTo(c+e/8,b+d);a.lineTo(c+7*e/8,b+d);a.end();a.stroke()};mxCellRenderer.registerShape("umlEntity",Y);mxUtils.extend(H, mxShape);H.prototype.paintVertexShape=function(a,c,b,e,d){a.translate(c,b);a.begin();a.moveTo(e,0);a.lineTo(0,d);a.moveTo(0,0);a.lineTo(e,d);a.end();a.stroke()};mxCellRenderer.registerShape("umlDestroy",H);mxUtils.extend(Q,mxShape);Q.prototype.getLabelBounds=function(a){return new mxRectangle(a.x,a.y+a.height/8,a.width,7*a.height/8)};Q.prototype.paintBackground=function(a,c,b,e,d){a.translate(c,b);a.begin();a.moveTo(3*e/8,d/8*1.1);a.lineTo(5*e/8,0);a.end();a.stroke();a.ellipse(0,d/8,e,7*d/8);a.fillAndStroke()}; -Q.prototype.paintForeground=function(a,c,b,e,d){a.begin();a.moveTo(3*e/8,d/8*1.1);a.lineTo(5*e/8,d/4);a.end();a.stroke()};mxCellRenderer.registerShape("umlControl",Q);mxUtils.extend(D,mxRectangleShape);D.prototype.size=40;D.prototype.isHtmlAllowed=function(){return!1};D.prototype.getLabelBounds=function(a){var c=Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale));return new mxRectangle(a.x,a.y,a.width,c)};D.prototype.paintBackground=function(a,c,b,e, +Q.prototype.paintForeground=function(a,c,e,b,d){a.begin();a.moveTo(3*b/8,d/8*1.1);a.lineTo(5*b/8,d/4);a.end();a.stroke()};mxCellRenderer.registerShape("umlControl",Q);mxUtils.extend(D,mxRectangleShape);D.prototype.size=40;D.prototype.isHtmlAllowed=function(){return!1};D.prototype.getLabelBounds=function(a){var c=Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale));return new mxRectangle(a.x,a.y,a.width,c)};D.prototype.paintBackground=function(a,c,b,e, d){var k=Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),g=mxUtils.getValue(this.style,"participant");null==g||null==this.state?mxRectangleShape.prototype.paintBackground.call(this,a,c,b,e,k):(g=this.state.view.graph.cellRenderer.getShape(g),null!=g&&g!=D&&(g=new g,g.apply(this.state),a.save(),g.paintVertexShape(a,c,b,e,k),a.restore()));k<d&&(a.setDashed(!0),a.begin(),a.moveTo(c+e/2,b+k),a.lineTo(c+e/2,b+d),a.end(),a.stroke())};D.prototype.paintForeground=function(a, c,b,e,d){var k=Math.max(0,Math.min(d,parseFloat(mxUtils.getValue(this.style,"size",this.size))));mxRectangleShape.prototype.paintForeground.call(this,a,c,b,e,Math.min(d,k))};mxCellRenderer.registerShape("umlLifeline",D);mxUtils.extend(L,mxShape);L.prototype.width=60;L.prototype.height=30;L.prototype.corner=10;L.prototype.getLabelMargins=function(a){return new mxRectangle(0,0,a.width-parseFloat(mxUtils.getValue(this.style,"width",this.width)*this.scale),a.height-parseFloat(mxUtils.getValue(this.style, -"height",this.height)*this.scale))};L.prototype.paintBackground=function(a,c,b,e,d){var k=this.corner,g=Math.min(e,Math.max(k,parseFloat(mxUtils.getValue(this.style,"width",this.width)))),f=Math.min(d,Math.max(1.5*k,parseFloat(mxUtils.getValue(this.style,"height",this.height)))),t=mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.NONE);t!=mxConstants.NONE&&(a.setFillColor(t),a.rect(c,b,e,d),a.fill());null!=this.fill&&this.fill!=mxConstants.NONE&&this.gradient&&this.gradient!= +"height",this.height)*this.scale))};L.prototype.paintBackground=function(a,c,b,e,d){var k=this.corner,g=Math.min(e,Math.max(k,parseFloat(mxUtils.getValue(this.style,"width",this.width)))),f=Math.min(d,Math.max(1.5*k,parseFloat(mxUtils.getValue(this.style,"height",this.height)))),u=mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.NONE);u!=mxConstants.NONE&&(a.setFillColor(u),a.rect(c,b,e,d),a.fill());null!=this.fill&&this.fill!=mxConstants.NONE&&this.gradient&&this.gradient!= mxConstants.NONE?(this.getGradientBounds(a,c,b,e,d),a.setGradient(this.fill,this.gradient,c,b,e,d,this.gradientDirection)):a.setFillColor(this.fill);a.begin();a.moveTo(c,b);a.lineTo(c+g,b);a.lineTo(c+g,b+Math.max(0,f-1.5*k));a.lineTo(c+Math.max(0,g-k),b+f);a.lineTo(c,b+f);a.close();a.fillAndStroke();a.begin();a.moveTo(c+g,b);a.lineTo(c+e,b);a.lineTo(c+e,b+d);a.lineTo(c,b+d);a.lineTo(c,b+f);a.stroke()};mxCellRenderer.registerShape("umlFrame",L);mxPerimeter.LifelinePerimeter=function(a,c,b,e){e=D.prototype.size; null!=c&&(e=mxUtils.getValue(c.style,"size",e)*c.view.scale);c=parseFloat(c.style[mxConstants.STYLE_STROKEWIDTH]||1)*c.view.scale/2-1;b.x<a.getCenterX()&&(c=-1*(c+1));return new mxPoint(a.getCenterX()+c,Math.min(a.y+a.height,Math.max(a.y+e,b.y)))};mxStyleRegistry.putValue("lifelinePerimeter",mxPerimeter.LifelinePerimeter);mxPerimeter.OrthogonalPerimeter=function(a,c,b,e){e=!0;return mxPerimeter.RectanglePerimeter.apply(this,arguments)};mxStyleRegistry.putValue("orthogonalPerimeter",mxPerimeter.OrthogonalPerimeter); mxPerimeter.BackbonePerimeter=function(a,c,b,e){e=parseFloat(c.style[mxConstants.STYLE_STROKEWIDTH]||1)*c.view.scale/2-1;null!=c.style.backboneSize&&(e+=parseFloat(c.style.backboneSize)*c.view.scale/2-1);if("south"==c.style[mxConstants.STYLE_DIRECTION]||"north"==c.style[mxConstants.STYLE_DIRECTION])return b.x<a.getCenterX()&&(e=-1*(e+1)),new mxPoint(a.getCenterX()+e,Math.min(a.y+a.height,Math.max(a.y,b.y)));b.y<a.getCenterY()&&(e=-1*(e+1));return new mxPoint(Math.min(a.x+a.width,Math.max(a.x,b.x)), a.getCenterY()+e)};mxStyleRegistry.putValue("backbonePerimeter",mxPerimeter.BackbonePerimeter);mxPerimeter.CalloutPerimeter=function(a,c,b,e){return mxPerimeter.RectanglePerimeter(mxUtils.getDirectedBounds(a,new mxRectangle(0,0,0,Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(c.style,"size",A.prototype.size))*c.view.scale))),c.style),c,b,e)};mxStyleRegistry.putValue("calloutPerimeter",mxPerimeter.CalloutPerimeter);mxPerimeter.ParallelogramPerimeter=function(a,b,e,d){var k=c.prototype.size; -null!=b&&(k=mxUtils.getValue(b.style,"size",k));var g=a.x,f=a.y,t=a.width,n=a.height;b=null!=b?mxUtils.getValue(b.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;b==mxConstants.DIRECTION_NORTH||b==mxConstants.DIRECTION_SOUTH?(k=n*Math.max(0,Math.min(1,k)),f=[new mxPoint(g,f),new mxPoint(g+t,f+k),new mxPoint(g+t,f+n),new mxPoint(g,f+n-k),new mxPoint(g,f)]):(k=t*Math.max(0,Math.min(1,k)),f=[new mxPoint(g+k,f),new mxPoint(g+t,f),new mxPoint(g+t-k,f+n),new mxPoint(g, -f+n),new mxPoint(g+k,f)]);n=a.getCenterX();a=a.getCenterY();a=new mxPoint(n,a);d&&(e.x<g||e.x>g+t?a.y=e.y:a.x=e.x);return mxUtils.getPerimeterPoint(f,a,e)};mxStyleRegistry.putValue("parallelogramPerimeter",mxPerimeter.ParallelogramPerimeter);mxPerimeter.TrapezoidPerimeter=function(a,c,b,d){var k=e.prototype.size;null!=c&&(k=mxUtils.getValue(c.style,"size",k));var g=a.x,f=a.y,t=a.width,n=a.height;c=null!=c?mxUtils.getValue(c.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST; -c==mxConstants.DIRECTION_EAST?(k=t*Math.max(0,Math.min(1,k)),f=[new mxPoint(g+k,f),new mxPoint(g+t-k,f),new mxPoint(g+t,f+n),new mxPoint(g,f+n),new mxPoint(g+k,f)]):c==mxConstants.DIRECTION_WEST?(k=t*Math.max(0,Math.min(1,k)),f=[new mxPoint(g,f),new mxPoint(g+t,f),new mxPoint(g+t-k,f+n),new mxPoint(g+k,f+n),new mxPoint(g,f)]):c==mxConstants.DIRECTION_NORTH?(k=n*Math.max(0,Math.min(1,k)),f=[new mxPoint(g,f+k),new mxPoint(g+t,f),new mxPoint(g+t,f+n),new mxPoint(g,f+n-k),new mxPoint(g,f+k)]):(k=n*Math.max(0, -Math.min(1,k)),f=[new mxPoint(g,f),new mxPoint(g+t,f+k),new mxPoint(g+t,f+n-k),new mxPoint(g,f+n),new mxPoint(g,f)]);n=a.getCenterX();a=a.getCenterY();a=new mxPoint(n,a);d&&(b.x<g||b.x>g+t?a.y=b.y:a.x=b.x);return mxUtils.getPerimeterPoint(f,a,b)};mxStyleRegistry.putValue("trapezoidPerimeter",mxPerimeter.TrapezoidPerimeter);mxPerimeter.StepPerimeter=function(a,c,b,e){var d="0"!=mxUtils.getValue(c.style,"fixedSize","0"),k=d?q.prototype.fixedSize:q.prototype.size;null!=c&&(k=mxUtils.getValue(c.style, -"size",k));var g=a.x,f=a.y,t=a.width,n=a.height,X=a.getCenterX();a=a.getCenterY();c=null!=c?mxUtils.getValue(c.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;c==mxConstants.DIRECTION_EAST?(d=d?Math.max(0,Math.min(t,k)):t*Math.max(0,Math.min(1,k)),f=[new mxPoint(g,f),new mxPoint(g+t-d,f),new mxPoint(g+t,a),new mxPoint(g+t-d,f+n),new mxPoint(g,f+n),new mxPoint(g+d,a),new mxPoint(g,f)]):c==mxConstants.DIRECTION_WEST?(d=d?Math.max(0,Math.min(t,k)):t*Math.max(0, -Math.min(1,k)),f=[new mxPoint(g+d,f),new mxPoint(g+t,f),new mxPoint(g+t-d,a),new mxPoint(g+t,f+n),new mxPoint(g+d,f+n),new mxPoint(g,a),new mxPoint(g+d,f)]):c==mxConstants.DIRECTION_NORTH?(d=d?Math.max(0,Math.min(n,k)):n*Math.max(0,Math.min(1,k)),f=[new mxPoint(g,f+d),new mxPoint(X,f),new mxPoint(g+t,f+d),new mxPoint(g+t,f+n),new mxPoint(X,f+n-d),new mxPoint(g,f+n),new mxPoint(g,f+d)]):(d=d?Math.max(0,Math.min(n,k)):n*Math.max(0,Math.min(1,k)),f=[new mxPoint(g,f),new mxPoint(X,f+d),new mxPoint(g+ -t,f),new mxPoint(g+t,f+n-d),new mxPoint(X,f+n),new mxPoint(g,f+n-d),new mxPoint(g,f)]);X=new mxPoint(X,a);e&&(b.x<g||b.x>g+t?X.y=b.y:X.x=b.x);return mxUtils.getPerimeterPoint(f,X,b)};mxStyleRegistry.putValue("stepPerimeter",mxPerimeter.StepPerimeter);mxPerimeter.HexagonPerimeter2=function(a,c,b,e){var d=F.prototype.size;null!=c&&(d=mxUtils.getValue(c.style,"size",d));var k=a.x,g=a.y,f=a.width,t=a.height,n=a.getCenterX();a=a.getCenterY();c=null!=c?mxUtils.getValue(c.style,mxConstants.STYLE_DIRECTION, -mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;c==mxConstants.DIRECTION_NORTH||c==mxConstants.DIRECTION_SOUTH?(d=t*Math.max(0,Math.min(1,d)),g=[new mxPoint(n,g),new mxPoint(k+f,g+d),new mxPoint(k+f,g+t-d),new mxPoint(n,g+t),new mxPoint(k,g+t-d),new mxPoint(k,g+d),new mxPoint(n,g)]):(d=f*Math.max(0,Math.min(1,d)),g=[new mxPoint(k+d,g),new mxPoint(k+f-d,g),new mxPoint(k+f,a),new mxPoint(k+f-d,g+t),new mxPoint(k+d,g+t),new mxPoint(k,a),new mxPoint(k+d,g)]);n=new mxPoint(n,a);e&&(b.x<k||b.x>k+ +null!=b&&(k=mxUtils.getValue(b.style,"size",k));var g=a.x,f=a.y,u=a.width,n=a.height;b=null!=b?mxUtils.getValue(b.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;b==mxConstants.DIRECTION_NORTH||b==mxConstants.DIRECTION_SOUTH?(k=n*Math.max(0,Math.min(1,k)),f=[new mxPoint(g,f),new mxPoint(g+u,f+k),new mxPoint(g+u,f+n),new mxPoint(g,f+n-k),new mxPoint(g,f)]):(k=u*Math.max(0,Math.min(1,k)),f=[new mxPoint(g+k,f),new mxPoint(g+u,f),new mxPoint(g+u-k,f+n),new mxPoint(g, +f+n),new mxPoint(g+k,f)]);n=a.getCenterX();a=a.getCenterY();a=new mxPoint(n,a);d&&(e.x<g||e.x>g+u?a.y=e.y:a.x=e.x);return mxUtils.getPerimeterPoint(f,a,e)};mxStyleRegistry.putValue("parallelogramPerimeter",mxPerimeter.ParallelogramPerimeter);mxPerimeter.TrapezoidPerimeter=function(a,c,b,d){var k=e.prototype.size;null!=c&&(k=mxUtils.getValue(c.style,"size",k));var g=a.x,f=a.y,u=a.width,n=a.height;c=null!=c?mxUtils.getValue(c.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST; +c==mxConstants.DIRECTION_EAST?(k=u*Math.max(0,Math.min(1,k)),f=[new mxPoint(g+k,f),new mxPoint(g+u-k,f),new mxPoint(g+u,f+n),new mxPoint(g,f+n),new mxPoint(g+k,f)]):c==mxConstants.DIRECTION_WEST?(k=u*Math.max(0,Math.min(1,k)),f=[new mxPoint(g,f),new mxPoint(g+u,f),new mxPoint(g+u-k,f+n),new mxPoint(g+k,f+n),new mxPoint(g,f)]):c==mxConstants.DIRECTION_NORTH?(k=n*Math.max(0,Math.min(1,k)),f=[new mxPoint(g,f+k),new mxPoint(g+u,f),new mxPoint(g+u,f+n),new mxPoint(g,f+n-k),new mxPoint(g,f+k)]):(k=n*Math.max(0, +Math.min(1,k)),f=[new mxPoint(g,f),new mxPoint(g+u,f+k),new mxPoint(g+u,f+n-k),new mxPoint(g,f+n),new mxPoint(g,f)]);n=a.getCenterX();a=a.getCenterY();a=new mxPoint(n,a);d&&(b.x<g||b.x>g+u?a.y=b.y:a.x=b.x);return mxUtils.getPerimeterPoint(f,a,b)};mxStyleRegistry.putValue("trapezoidPerimeter",mxPerimeter.TrapezoidPerimeter);mxPerimeter.StepPerimeter=function(a,c,b,e){var d="0"!=mxUtils.getValue(c.style,"fixedSize","0"),k=d?q.prototype.fixedSize:q.prototype.size;null!=c&&(k=mxUtils.getValue(c.style, +"size",k));var g=a.x,f=a.y,u=a.width,n=a.height,X=a.getCenterX();a=a.getCenterY();c=null!=c?mxUtils.getValue(c.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;c==mxConstants.DIRECTION_EAST?(d=d?Math.max(0,Math.min(u,k)):u*Math.max(0,Math.min(1,k)),f=[new mxPoint(g,f),new mxPoint(g+u-d,f),new mxPoint(g+u,a),new mxPoint(g+u-d,f+n),new mxPoint(g,f+n),new mxPoint(g+d,a),new mxPoint(g,f)]):c==mxConstants.DIRECTION_WEST?(d=d?Math.max(0,Math.min(u,k)):u*Math.max(0, +Math.min(1,k)),f=[new mxPoint(g+d,f),new mxPoint(g+u,f),new mxPoint(g+u-d,a),new mxPoint(g+u,f+n),new mxPoint(g+d,f+n),new mxPoint(g,a),new mxPoint(g+d,f)]):c==mxConstants.DIRECTION_NORTH?(d=d?Math.max(0,Math.min(n,k)):n*Math.max(0,Math.min(1,k)),f=[new mxPoint(g,f+d),new mxPoint(X,f),new mxPoint(g+u,f+d),new mxPoint(g+u,f+n),new mxPoint(X,f+n-d),new mxPoint(g,f+n),new mxPoint(g,f+d)]):(d=d?Math.max(0,Math.min(n,k)):n*Math.max(0,Math.min(1,k)),f=[new mxPoint(g,f),new mxPoint(X,f+d),new mxPoint(g+ +u,f),new mxPoint(g+u,f+n-d),new mxPoint(X,f+n),new mxPoint(g,f+n-d),new mxPoint(g,f)]);X=new mxPoint(X,a);e&&(b.x<g||b.x>g+u?X.y=b.y:X.x=b.x);return mxUtils.getPerimeterPoint(f,X,b)};mxStyleRegistry.putValue("stepPerimeter",mxPerimeter.StepPerimeter);mxPerimeter.HexagonPerimeter2=function(a,c,b,e){var d=F.prototype.size;null!=c&&(d=mxUtils.getValue(c.style,"size",d));var k=a.x,g=a.y,f=a.width,u=a.height,n=a.getCenterX();a=a.getCenterY();c=null!=c?mxUtils.getValue(c.style,mxConstants.STYLE_DIRECTION, +mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;c==mxConstants.DIRECTION_NORTH||c==mxConstants.DIRECTION_SOUTH?(d=u*Math.max(0,Math.min(1,d)),g=[new mxPoint(n,g),new mxPoint(k+f,g+d),new mxPoint(k+f,g+u-d),new mxPoint(n,g+u),new mxPoint(k,g+u-d),new mxPoint(k,g+d),new mxPoint(n,g)]):(d=f*Math.max(0,Math.min(1,d)),g=[new mxPoint(k+d,g),new mxPoint(k+f-d,g),new mxPoint(k+f,a),new mxPoint(k+f-d,g+u),new mxPoint(k+d,g+u),new mxPoint(k,a),new mxPoint(k+d,g)]);n=new mxPoint(n,a);e&&(b.x<k||b.x>k+ f?n.y=b.y:n.x=b.x);return mxUtils.getPerimeterPoint(g,n,b)};mxStyleRegistry.putValue("hexagonPerimeter2",mxPerimeter.HexagonPerimeter2);mxUtils.extend(O,mxShape);O.prototype.size=10;O.prototype.paintBackground=function(a,c,b,e,d){var k=parseFloat(mxUtils.getValue(this.style,"size",this.size));a.translate(c,b);a.ellipse((e-k)/2,0,k,k);a.fillAndStroke();a.begin();a.moveTo(e/2,k);a.lineTo(e/2,d);a.end();a.stroke()};mxCellRenderer.registerShape("lollipop",O);mxUtils.extend(P,mxShape);P.prototype.size= 10;P.prototype.inset=2;P.prototype.paintBackground=function(a,c,b,e,d){var k=parseFloat(mxUtils.getValue(this.style,"size",this.size)),g=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;a.translate(c,b);a.begin();a.moveTo(e/2,k+g);a.lineTo(e/2,d);a.end();a.stroke();a.begin();a.moveTo((e-k)/2-g,k/2);a.quadTo((e-k)/2-g,k+g,e/2,k+g);a.quadTo((e+k)/2+g,k+g,(e+k)/2+g,k/2);a.end();a.stroke()};mxCellRenderer.registerShape("requires",P);mxUtils.extend(ba,mxShape);ba.prototype.paintBackground= function(a,c,b,e,d){a.translate(c,b);a.begin();a.moveTo(0,0);a.quadTo(e,0,e,d/2);a.quadTo(e,d,0,d);a.end();a.stroke()};mxCellRenderer.registerShape("requiredInterface",ba);mxUtils.extend(W,mxShape);W.prototype.inset=2;W.prototype.paintBackground=function(a,c,b,e,d){var k=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;a.translate(c,b);a.ellipse(0,k,e-2*k,d-2*k);a.fillAndStroke();a.begin();a.moveTo(e/2,0);a.quadTo(e,0,e,d/2);a.quadTo(e,d,e/2,d);a.end();a.stroke()};mxCellRenderer.registerShape("providedRequiredInterface", -W);mxUtils.extend(G,mxCylinder);G.prototype.jettyWidth=32;G.prototype.jettyHeight=12;G.prototype.redrawPath=function(a,c,b,e,d,k){var g=parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));c=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));b=g/2;var g=b+g/2,f=.3*d-c/2,t=.7*d-c/2;k?(a.moveTo(b,f),a.lineTo(g,f),a.lineTo(g,f+c),a.lineTo(b,f+c),a.moveTo(b,t),a.lineTo(g,t),a.lineTo(g,t+c),a.lineTo(b,t+c)):(a.moveTo(b,0),a.lineTo(e,0),a.lineTo(e,d),a.lineTo(b,d), -a.lineTo(b,t+c),a.lineTo(0,t+c),a.lineTo(0,t),a.lineTo(b,t),a.lineTo(b,f+c),a.lineTo(0,f+c),a.lineTo(0,f),a.lineTo(b,f),a.close());a.end()};mxCellRenderer.registerShape("component",G);mxUtils.extend(Z,mxDoubleEllipse);Z.prototype.outerStroke=!0;Z.prototype.paintVertexShape=function(a,c,b,e,d){var k=Math.min(4,Math.min(e/5,d/5));0<e&&0<d&&(a.ellipse(c+k,b+k,e-2*k,d-2*k),a.fillAndStroke());a.setShadow(!1);this.outerStroke&&(a.ellipse(c,b,e,d),a.stroke())};mxCellRenderer.registerShape("endState",Z); +W);mxUtils.extend(G,mxCylinder);G.prototype.jettyWidth=32;G.prototype.jettyHeight=12;G.prototype.redrawPath=function(a,c,b,e,d,k){var g=parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));c=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));b=g/2;var g=b+g/2,f=.3*d-c/2,u=.7*d-c/2;k?(a.moveTo(b,f),a.lineTo(g,f),a.lineTo(g,f+c),a.lineTo(b,f+c),a.moveTo(b,u),a.lineTo(g,u),a.lineTo(g,u+c),a.lineTo(b,u+c)):(a.moveTo(b,0),a.lineTo(e,0),a.lineTo(e,d),a.lineTo(b,d), +a.lineTo(b,u+c),a.lineTo(0,u+c),a.lineTo(0,u),a.lineTo(b,u),a.lineTo(b,f+c),a.lineTo(0,f+c),a.lineTo(0,f),a.lineTo(b,f),a.close());a.end()};mxCellRenderer.registerShape("component",G);mxUtils.extend(Z,mxDoubleEllipse);Z.prototype.outerStroke=!0;Z.prototype.paintVertexShape=function(a,c,b,e,d){var k=Math.min(4,Math.min(e/5,d/5));0<e&&0<d&&(a.ellipse(c+k,b+k,e-2*k,d-2*k),a.fillAndStroke());a.setShadow(!1);this.outerStroke&&(a.ellipse(c,b,e,d),a.stroke())};mxCellRenderer.registerShape("endState",Z); mxUtils.extend(na,Z);na.prototype.outerStroke=!1;mxCellRenderer.registerShape("startState",na);mxUtils.extend(ja,mxArrowConnector);ja.prototype.defaultWidth=4;ja.prototype.isOpenEnded=function(){return!0};ja.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};ja.prototype.isArrowRounded=function(){return this.isRounded};mxCellRenderer.registerShape("link",ja);mxUtils.extend(ca,mxArrowConnector);ca.prototype.defaultWidth= 10;ca.prototype.defaultArrowWidth=20;ca.prototype.getStartArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"startWidth",this.defaultArrowWidth)};ca.prototype.getEndArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"endWidth",this.defaultArrowWidth)};ca.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};mxCellRenderer.registerShape("flexArrow",ca);mxUtils.extend(ka, mxActor);ka.prototype.size=30;ka.prototype.isRoundable=function(){return!0};ka.prototype.redrawPath=function(a,c,b,e,d){c=Math.min(d,parseFloat(mxUtils.getValue(this.style,"size",this.size)));b=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,d),new mxPoint(0,c),new mxPoint(e,0),new mxPoint(e,d)],this.isRounded,b,!0);a.end()};mxCellRenderer.registerShape("manualInput",ka);mxUtils.extend(S,mxRectangleShape);S.prototype.dx=20;S.prototype.dy= @@ -2570,10 +2570,10 @@ ga.prototype.dx=20;ga.prototype.dy=20;ga.prototype.redrawPath=function(a,c,b,e,d new mxPoint((e-c)/2,d),new mxPoint((e-c)/2,b),new mxPoint(0,b)],this.isRounded,k,!0);a.end()};mxCellRenderer.registerShape("tee",ga);mxUtils.extend(R,mxActor);R.prototype.arrowWidth=.3;R.prototype.arrowSize=.2;R.prototype.redrawPath=function(a,c,b,e,d){var k=d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth))));c=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));b=(d-k)/2;var k=b+k,g=mxUtils.getValue(this.style, mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,b),new mxPoint(e-c,b),new mxPoint(e-c,0),new mxPoint(e,d/2),new mxPoint(e-c,d),new mxPoint(e-c,k),new mxPoint(0,k)],this.isRounded,g,!0);a.end()};mxCellRenderer.registerShape("singleArrow",R);mxUtils.extend(la,mxActor);la.prototype.redrawPath=function(a,c,b,e,d){var k=d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",R.prototype.arrowWidth))));c=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style, "arrowSize",R.prototype.arrowSize))));b=(d-k)/2;var k=b+k,g=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,d/2),new mxPoint(c,0),new mxPoint(c,b),new mxPoint(e-c,b),new mxPoint(e-c,0),new mxPoint(e,d/2),new mxPoint(e-c,d),new mxPoint(e-c,k),new mxPoint(c,k),new mxPoint(c,d)],this.isRounded,g,!0);a.end()};mxCellRenderer.registerShape("doubleArrow",la);mxUtils.extend(M,mxActor);M.prototype.size=.1;M.prototype.redrawPath=function(a,c, -b,e,d){c=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));a.moveTo(c,0);a.lineTo(e,0);a.quadTo(e-2*c,d/2,e,d);a.lineTo(c,d);a.quadTo(c-2*c,d/2,c,0);a.close();a.end()};mxCellRenderer.registerShape("dataStorage",M);mxUtils.extend(I,mxActor);I.prototype.redrawPath=function(a,c,b,e,d){a.moveTo(0,0);a.quadTo(e,0,e,d/2);a.quadTo(e,d,0,d);a.close();a.end()};mxCellRenderer.registerShape("or",I);mxUtils.extend(ea,mxActor);ea.prototype.redrawPath=function(a,c,b,e,d){a.moveTo(0, -0);a.quadTo(e,0,e,d/2);a.quadTo(e,d,0,d);a.quadTo(e/2,d/2,0,0);a.close();a.end()};mxCellRenderer.registerShape("xor",ea);mxUtils.extend(N,mxActor);N.prototype.size=20;N.prototype.isRoundable=function(){return!0};N.prototype.redrawPath=function(a,c,b,e,d){c=Math.min(e/2,Math.min(d,parseFloat(mxUtils.getValue(this.style,"size",this.size))));b=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(c,0),new mxPoint(e-c,0),new mxPoint(e,.8*c),new mxPoint(e, -d),new mxPoint(0,d),new mxPoint(0,.8*c)],this.isRounded,b,!0);a.end()};mxCellRenderer.registerShape("loopLimit",N);mxUtils.extend(T,mxActor);T.prototype.size=.375;T.prototype.isRoundable=function(){return!0};T.prototype.redrawPath=function(a,c,b,e,d){c=d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));b=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,0),new mxPoint(e,0),new mxPoint(e,d-c),new mxPoint(e/ -2,d),new mxPoint(0,d-c)],this.isRounded,b,!0);a.end()};mxCellRenderer.registerShape("offPageConnector",T);mxUtils.extend(ha,mxEllipse);ha.prototype.paintVertexShape=function(a,c,b,e,d){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.begin();a.moveTo(c+e/2,b+d);a.lineTo(c+e,b+d);a.end();a.stroke()};mxCellRenderer.registerShape("tapeData",ha);mxUtils.extend(ia,mxEllipse);ia.prototype.paintVertexShape=function(a,c,b,e,d){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.setShadow(!1); +b,e,d){c=e*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));a.moveTo(c,0);a.lineTo(e,0);a.quadTo(e-2*c,d/2,e,d);a.lineTo(c,d);a.quadTo(c-2*c,d/2,c,0);a.close();a.end()};mxCellRenderer.registerShape("dataStorage",M);mxUtils.extend(I,mxActor);I.prototype.redrawPath=function(a,c,e,b,d){a.moveTo(0,0);a.quadTo(b,0,b,d/2);a.quadTo(b,d,0,d);a.close();a.end()};mxCellRenderer.registerShape("or",I);mxUtils.extend(ea,mxActor);ea.prototype.redrawPath=function(a,c,b,e,d){a.moveTo(0, +0);a.quadTo(e,0,e,d/2);a.quadTo(e,d,0,d);a.quadTo(e/2,d/2,0,0);a.close();a.end()};mxCellRenderer.registerShape("xor",ea);mxUtils.extend(N,mxActor);N.prototype.size=20;N.prototype.isRoundable=function(){return!0};N.prototype.redrawPath=function(a,c,e,b,d){c=Math.min(b/2,Math.min(d,parseFloat(mxUtils.getValue(this.style,"size",this.size))));e=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(c,0),new mxPoint(b-c,0),new mxPoint(b,.8*c),new mxPoint(b, +d),new mxPoint(0,d),new mxPoint(0,.8*c)],this.isRounded,e,!0);a.end()};mxCellRenderer.registerShape("loopLimit",N);mxUtils.extend(T,mxActor);T.prototype.size=.375;T.prototype.isRoundable=function(){return!0};T.prototype.redrawPath=function(a,c,e,b,d){c=d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));e=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,0),new mxPoint(b,0),new mxPoint(b,d-c),new mxPoint(b/ +2,d),new mxPoint(0,d-c)],this.isRounded,e,!0);a.end()};mxCellRenderer.registerShape("offPageConnector",T);mxUtils.extend(ha,mxEllipse);ha.prototype.paintVertexShape=function(a,c,b,e,d){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.begin();a.moveTo(c+e/2,b+d);a.lineTo(c+e,b+d);a.end();a.stroke()};mxCellRenderer.registerShape("tapeData",ha);mxUtils.extend(ia,mxEllipse);ia.prototype.paintVertexShape=function(a,c,b,e,d){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.setShadow(!1); a.begin();a.moveTo(c,b+d/2);a.lineTo(c+e,b+d/2);a.end();a.stroke();a.begin();a.moveTo(c+e/2,b);a.lineTo(c+e/2,b+d);a.end();a.stroke()};mxCellRenderer.registerShape("orEllipse",ia);mxUtils.extend(J,mxEllipse);J.prototype.paintVertexShape=function(a,c,b,e,d){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.setShadow(!1);a.begin();a.moveTo(c+.145*e,b+.145*d);a.lineTo(c+.855*e,b+.855*d);a.end();a.stroke();a.begin();a.moveTo(c+.855*e,b+.145*d);a.lineTo(c+.145*e,b+.855*d);a.end();a.stroke()}; mxCellRenderer.registerShape("sumEllipse",J);mxUtils.extend(qa,mxRhombus);qa.prototype.paintVertexShape=function(a,c,b,e,d){mxRhombus.prototype.paintVertexShape.apply(this,arguments);a.setShadow(!1);a.begin();a.moveTo(c,b+d/2);a.lineTo(c+e,b+d/2);a.end();a.stroke()};mxCellRenderer.registerShape("sortShape",qa);mxUtils.extend(aa,mxEllipse);aa.prototype.paintVertexShape=function(a,c,b,e,d){a.begin();a.moveTo(c,b);a.lineTo(c+e,b);a.lineTo(c+e/2,b+d/2);a.close();a.fillAndStroke();a.begin();a.moveTo(c, b+d);a.lineTo(c+e,b+d);a.lineTo(c+e/2,b+d/2);a.close();a.fillAndStroke()};mxCellRenderer.registerShape("collate",aa);mxUtils.extend(da,mxEllipse);da.prototype.paintVertexShape=function(a,c,b,e,d){var k=b+d-5;a.begin();a.moveTo(c,b);a.lineTo(c,b+d);a.moveTo(c,k);a.lineTo(c+10,k-5);a.moveTo(c,k);a.lineTo(c+10,k+5);a.moveTo(c,k);a.lineTo(c+e,k);a.moveTo(c+e,b);a.lineTo(c+e,b+d);a.moveTo(c+e,k);a.lineTo(c+e-10,k-5);a.moveTo(c+e,k);a.lineTo(c+e-10,k+5);a.end();a.stroke()};mxCellRenderer.registerShape("dimension", @@ -2581,13 +2581,13 @@ da);mxUtils.extend(Aa,mxEllipse);Aa.prototype.paintVertexShape=function(a,c,b,e, d):a.moveTo(c,b+d),"1"==mxUtils.getValue(this.style,"left","1")&&a.lineTo(c,b-this.strokewidth/2),a.end(),a.stroke())};mxCellRenderer.registerShape("partialRectangle",Aa);mxUtils.extend(wa,mxEllipse);wa.prototype.paintVertexShape=function(a,c,b,e,d){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.setShadow(!1);a.begin();"vertical"==mxUtils.getValue(this.style,"line")?(a.moveTo(c+e/2,b),a.lineTo(c+e/2,b+d)):(a.moveTo(c,b+d/2),a.lineTo(c+e,b+d/2));a.end();a.stroke()};mxCellRenderer.registerShape("lineEllipse", wa);mxUtils.extend(za,mxActor);za.prototype.redrawPath=function(a,c,b,e,d){c=Math.min(e,d/2);a.moveTo(0,0);a.lineTo(e-c,0);a.quadTo(e,0,e,d/2);a.quadTo(e,d,e-c,d);a.lineTo(0,d);a.close();a.end()};mxCellRenderer.registerShape("delay",za);mxUtils.extend(ma,mxActor);ma.prototype.size=.2;ma.prototype.redrawPath=function(a,c,b,e,d){c=Math.min(d,e);var k=Math.max(0,Math.min(c,c*parseFloat(mxUtils.getValue(this.style,"size",this.size))));c=(d-k)/2;b=c+k;var g=(e-k)/2,k=g+k;a.moveTo(0,c);a.lineTo(g,c);a.lineTo(g, 0);a.lineTo(k,0);a.lineTo(k,c);a.lineTo(e,c);a.lineTo(e,b);a.lineTo(k,b);a.lineTo(k,d);a.lineTo(g,d);a.lineTo(g,b);a.lineTo(0,b);a.close();a.end()};mxCellRenderer.registerShape("cross",ma);mxUtils.extend(fa,mxActor);fa.prototype.size=.25;fa.prototype.redrawPath=function(a,c,b,e,d){c=Math.min(e,d/2);b=Math.min(e-c,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*e);a.moveTo(0,d/2);a.lineTo(b,0);a.lineTo(e-c,0);a.quadTo(e,0,e,d/2);a.quadTo(e,d,e-c,d);a.lineTo(b,d);a.close();a.end()}; -mxCellRenderer.registerShape("display",fa);mxUtils.extend(sa,mxConnector);sa.prototype.origPaintEdgeShape=sa.prototype.paintEdgeShape;sa.prototype.paintEdgeShape=function(a,c,b){for(var e=[],d=0;d<c.length;d++)e.push(mxUtils.clone(c[d]));var d=a.state.dashed,k=a.state.fixDash;sa.prototype.origPaintEdgeShape.apply(this,[a,e,b]);3<=a.state.strokeWidth&&(e=mxUtils.getValue(this.style,"fillColor",null),null!=e&&(a.setStrokeColor(e),a.setStrokeWidth(a.state.strokeWidth-2),a.setDashed(d,k),sa.prototype.origPaintEdgeShape.apply(this, -[a,c,b])))};mxCellRenderer.registerShape("filledEdge",sa);"undefined"!==typeof StyleFormatPanel&&function(){var a=StyleFormatPanel.prototype.getCustomColors;StyleFormatPanel.prototype.getCustomColors=function(){var c=this.format.getSelectionState(),b=a.apply(this,arguments);"umlFrame"==c.style.shape&&b.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"#ffffff"});return b}}();mxMarker.addMarker("dash",function(a,c,b,e,d,k,g,f,t,n){var u=d*(g+t+1),q=k*(g+t+1);return function(){a.begin(); -a.moveTo(e.x-u/2-q/2,e.y-q/2+u/2);a.lineTo(e.x+q/2-3*u/2,e.y-3*q/2-u/2);a.stroke()}});mxMarker.addMarker("cross",function(a,c,b,e,d,k,g,f,t,n){var u=d*(g+t+1),q=k*(g+t+1);return function(){a.begin();a.moveTo(e.x-u/2-q/2,e.y-q/2+u/2);a.lineTo(e.x+q/2-3*u/2,e.y-3*q/2-u/2);a.moveTo(e.x-u/2+q/2,e.y-q/2-u/2);a.lineTo(e.x-q/2-3*u/2,e.y-3*q/2+u/2);a.stroke()}});mxMarker.addMarker("circle",Ea);mxMarker.addMarker("circlePlus",function(a,c,b,e,d,k,g,f,t,n){var u=e.clone(),q=Ea.apply(this,arguments),C=d*(g+ -2*t),z=k*(g+2*t);return function(){q.apply(this,arguments);a.begin();a.moveTo(u.x-d*t,u.y-k*t);a.lineTo(u.x-2*C+d*t,u.y-2*z+k*t);a.moveTo(u.x-C-z+k*t,u.y-z+C-d*t);a.lineTo(u.x+z-C-k*t,u.y-z-C+d*t);a.stroke()}});mxMarker.addMarker("halfCircle",function(a,c,b,e,d,k,g,f,t,n){var u=d*(g+t+1),q=k*(g+t+1),C=e.clone();e.x-=u;e.y-=q;return function(){a.begin();a.moveTo(C.x-q,C.y+u);a.quadTo(e.x-q,e.y+u,e.x,e.y);a.quadTo(e.x+q,e.y-u,C.x+q,C.y-u);a.stroke()}});mxMarker.addMarker("async",function(a,c,b,e,d, -k,g,f,t,n){c=d*t*1.118;b=k*t*1.118;d*=g+t;k*=g+t;var u=e.clone();u.x-=c;u.y-=b;e.x+=1*-d-c;e.y+=1*-k-b;return function(){a.begin();a.moveTo(u.x,u.y);f?a.lineTo(u.x-d-k/2,u.y-k+d/2):a.lineTo(u.x+k/2-d,u.y-k-d/2);a.lineTo(u.x-d,u.y-k);a.close();n?a.fillAndStroke():a.stroke()}});mxMarker.addMarker("openAsync",function(a){a=null!=a?a:2;return function(c,b,e,d,k,g,f,t,n,u){k*=f+n;g*=f+n;var q=d.clone();return function(){c.begin();c.moveTo(q.x,q.y);t?c.lineTo(q.x-k-g/a,q.y-g+k/a):c.lineTo(q.x+g/a-k,q.y- -g-k/a);c.stroke()}}}(2));if("undefined"!==typeof mxVertexHandler){var Fa=function(a,c,b){return ya(a,["width"],c,function(c,e,d,k,g){g=a.shape.getEdgeWidth()*a.view.scale+b;return new mxPoint(k.x+e*c/4+d*g/2,k.y+d*c/4-e*g/2)},function(c,e,d,k,g,f){c=Math.sqrt(mxUtils.ptSegDistSq(k.x,k.y,g.x,g.y,f.x,f.y));a.style.width=Math.round(2*c)/a.view.scale-b})},ya=function(a,c,b,e,d){return U(a,c,function(c){var d=a.absolutePoints,k=d.length-1;c=a.view.translate;var g=a.view.scale,f=b?d[0]:d[k],d=b?d[1]:d[k- -1],k=d.x-f.x,t=d.y-f.y,n=Math.sqrt(k*k+t*t),f=e.call(this,n,k/n,t/n,f,d);return new mxPoint(f.x/g-c.x,f.y/g-c.y)},function(c,e,k){var g=a.absolutePoints,f=g.length-1;c=a.view.translate;var t=a.view.scale,n=b?g[0]:g[f],g=b?g[1]:g[f-1],f=g.x-n.x,u=g.y-n.y,q=Math.sqrt(f*f+u*u);e.x=(e.x+c.x)*t;e.y=(e.y+c.y)*t;d.call(this,q,f/q,u/q,n,g,e,k)})},va=function(a){return function(c){return[U(c,["arrowWidth","arrowSize"],function(c){var b=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"arrowWidth",R.prototype.arrowWidth))), +mxCellRenderer.registerShape("display",fa);mxUtils.extend(sa,mxConnector);sa.prototype.origPaintEdgeShape=sa.prototype.paintEdgeShape;sa.prototype.paintEdgeShape=function(a,c,e){for(var b=[],d=0;d<c.length;d++)b.push(mxUtils.clone(c[d]));var d=a.state.dashed,k=a.state.fixDash;sa.prototype.origPaintEdgeShape.apply(this,[a,b,e]);3<=a.state.strokeWidth&&(b=mxUtils.getValue(this.style,"fillColor",null),null!=b&&(a.setStrokeColor(b),a.setStrokeWidth(a.state.strokeWidth-2),a.setDashed(d,k),sa.prototype.origPaintEdgeShape.apply(this, +[a,c,e])))};mxCellRenderer.registerShape("filledEdge",sa);"undefined"!==typeof StyleFormatPanel&&function(){var a=StyleFormatPanel.prototype.getCustomColors;StyleFormatPanel.prototype.getCustomColors=function(){var c=this.format.getSelectionState(),b=a.apply(this,arguments);"umlFrame"==c.style.shape&&b.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"#ffffff"});return b}}();mxMarker.addMarker("dash",function(a,c,b,e,d,k,g,f,u,n){var t=d*(g+u+1),q=k*(g+u+1);return function(){a.begin(); +a.moveTo(e.x-t/2-q/2,e.y-q/2+t/2);a.lineTo(e.x+q/2-3*t/2,e.y-3*q/2-t/2);a.stroke()}});mxMarker.addMarker("cross",function(a,c,e,b,d,k,g,f,u,n){var t=d*(g+u+1),q=k*(g+u+1);return function(){a.begin();a.moveTo(b.x-t/2-q/2,b.y-q/2+t/2);a.lineTo(b.x+q/2-3*t/2,b.y-3*q/2-t/2);a.moveTo(b.x-t/2+q/2,b.y-q/2-t/2);a.lineTo(b.x-q/2-3*t/2,b.y-3*q/2+t/2);a.stroke()}});mxMarker.addMarker("circle",Ea);mxMarker.addMarker("circlePlus",function(a,c,b,e,d,k,g,f,u,n){var t=e.clone(),q=Ea.apply(this,arguments),C=d*(g+ +2*u),y=k*(g+2*u);return function(){q.apply(this,arguments);a.begin();a.moveTo(t.x-d*u,t.y-k*u);a.lineTo(t.x-2*C+d*u,t.y-2*y+k*u);a.moveTo(t.x-C-y+k*u,t.y-y+C-d*u);a.lineTo(t.x+y-C-k*u,t.y-y-C+d*u);a.stroke()}});mxMarker.addMarker("halfCircle",function(a,c,b,e,d,k,g,f,u,n){var t=d*(g+u+1),q=k*(g+u+1),C=e.clone();e.x-=t;e.y-=q;return function(){a.begin();a.moveTo(C.x-q,C.y+t);a.quadTo(e.x-q,e.y+t,e.x,e.y);a.quadTo(e.x+q,e.y-t,C.x+q,C.y-t);a.stroke()}});mxMarker.addMarker("async",function(a,c,e,b,d, +k,g,f,u,n){c=d*u*1.118;e=k*u*1.118;d*=g+u;k*=g+u;var t=b.clone();t.x-=c;t.y-=e;b.x+=1*-d-c;b.y+=1*-k-e;return function(){a.begin();a.moveTo(t.x,t.y);f?a.lineTo(t.x-d-k/2,t.y-k+d/2):a.lineTo(t.x+k/2-d,t.y-k-d/2);a.lineTo(t.x-d,t.y-k);a.close();n?a.fillAndStroke():a.stroke()}});mxMarker.addMarker("openAsync",function(a){a=null!=a?a:2;return function(c,e,b,d,k,g,f,u,n,t){k*=f+n;g*=f+n;var q=d.clone();return function(){c.begin();c.moveTo(q.x,q.y);u?c.lineTo(q.x-k-g/a,q.y-g+k/a):c.lineTo(q.x+g/a-k,q.y- +g-k/a);c.stroke()}}}(2));if("undefined"!==typeof mxVertexHandler){var Fa=function(a,c,e){return ya(a,["width"],c,function(c,b,d,k,g){g=a.shape.getEdgeWidth()*a.view.scale+e;return new mxPoint(k.x+b*c/4+d*g/2,k.y+d*c/4-b*g/2)},function(c,b,d,k,g,f){c=Math.sqrt(mxUtils.ptSegDistSq(k.x,k.y,g.x,g.y,f.x,f.y));a.style.width=Math.round(2*c)/a.view.scale-e})},ya=function(a,c,e,b,d){return U(a,c,function(c){var d=a.absolutePoints,k=d.length-1;c=a.view.translate;var g=a.view.scale,f=e?d[0]:d[k],d=e?d[1]:d[k- +1],k=d.x-f.x,u=d.y-f.y,n=Math.sqrt(k*k+u*u),f=b.call(this,n,k/n,u/n,f,d);return new mxPoint(f.x/g-c.x,f.y/g-c.y)},function(c,b,k){var g=a.absolutePoints,f=g.length-1;c=a.view.translate;var u=a.view.scale,n=e?g[0]:g[f],g=e?g[1]:g[f-1],f=g.x-n.x,t=g.y-n.y,q=Math.sqrt(f*f+t*t);b.x=(b.x+c.x)*u;b.y=(b.y+c.y)*u;d.call(this,q,f/q,t/q,n,g,b,k)})},va=function(a){return function(c){return[U(c,["arrowWidth","arrowSize"],function(c){var b=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"arrowWidth",R.prototype.arrowWidth))), e=Math.max(0,Math.min(a,mxUtils.getValue(this.state.style,"arrowSize",R.prototype.arrowSize)));return new mxPoint(c.x+(1-e)*c.width,c.y+(1-b)*c.height/2)},function(c,b){this.state.style.arrowWidth=Math.max(0,Math.min(1,Math.abs(c.y+c.height/2-b.y)/c.height*2));this.state.style.arrowSize=Math.max(0,Math.min(a,(c.x+c.width-b.x)/c.width))})]}},Ma=function(a,c,b){return function(e){var d=[U(e,["size"],function(b){var e=Math.max(0,Math.min(b.width,Math.min(b.height,parseFloat(mxUtils.getValue(this.state.style, "size",c)))))*a;return new mxPoint(b.x+e,b.y+e)},function(c,b){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(c.width,b.x-c.x),Math.min(c.height,b.y-c.y)))/a)})];b&&mxUtils.getValue(e.style,mxConstants.STYLE_ROUNDED,!1)&&d.push(ra(e));return d}},Ga=function(a,c,b,e,d){b=null!=b?b:1;return function(k){var g=[U(k,["size"],function(c){var b=null!=d?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,e=parseFloat(mxUtils.getValue(this.state.style,"size",b?d:a));return new mxPoint(c.x+ Math.max(0,Math.min(c.width,e*(b?1:c.width))),c.getCenterY())},function(a,c,e){var g=null!=d?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null;a=g?c.x-a.x:Math.max(0,Math.min(b,(c.x-a.x)/a.width));g&&!mxEvent.isAltDown(e.getEvent())&&(a=k.view.graph.snap(a));this.state.style.size=a},null,e)];c&&mxUtils.getValue(k.style,mxConstants.STYLE_ROUNDED,!1)&&g.push(ra(k));return g}},Na=function(a){return function(c){var b=[U(c,["size"],function(c){var b=Math.max(0,Math.min(a,parseFloat(mxUtils.getValue(this.state.style, @@ -2595,14 +2595,14 @@ Math.max(0,Math.min(c.width,e*(b?1:c.width))),c.getCenterY())},function(a,c,e){v mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)){var d=mxUtils.getValue(a.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;return new mxPoint(b.x+b.width-Math.min(b.width/2,d),b.y+e)}d=Math.max(0,parseFloat(mxUtils.getValue(a.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)))/100;return new mxPoint(b.x+b.width-Math.min(Math.max(b.width/2,b.height/2),Math.min(b.width,b.height)*d),b.y+e)},function(c,b,e){"1"==mxUtils.getValue(a.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)? this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.max(0,Math.min(c.width,2*(c.x+c.width-b.x)))):this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.min(50,Math.max(0,100*(c.width-b.x+c.x)/Math.min(c.width,c.height))))})},U=function(a,c,b,e,d,k){var g=new mxHandle(a,null,mxVertexHandler.prototype.secondaryHandleImage);g.execute=function(){for(var a=0;a<c.length;a++)this.copyStyle(c[a])};g.getPosition=b;g.setPosition=e;g.ignoreGrid=null!=d?d:!0;if(k){var f=g.positionChanged;g.positionChanged= function(){f.apply(this,arguments);a.view.invalidate(this.state.cell);a.view.validate()}}return g},Ha={link:function(a){return[Fa(a,!0,10),Fa(a,!1,10)]},flexArrow:function(a){var c=a.view.graph.gridSize/a.view.scale,b=[];mxUtils.getValue(a.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants.NONE&&(b.push(ya(a,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(c,b,e,d,k){c=(a.shape.getEdgeWidth()-a.shape.strokewidth)*a.view.scale;k=3*mxUtils.getNumber(a.style, -mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*a.view.scale;return new mxPoint(d.x+b*(k+a.shape.strokewidth*a.view.scale)+e*c/2,d.y+e*(k+a.shape.strokewidth*a.view.scale)-b*c/2)},function(b,e,d,k,g,f,t){b=Math.sqrt(mxUtils.ptSegDistSq(k.x,k.y,g.x,g.y,f.x,f.y));e=mxUtils.ptLineDist(k.x,k.y,k.x+d,k.y-e,f.x,f.y);a.style[mxConstants.STYLE_STARTSIZE]=Math.round(100*(e-a.shape.strokewidth)/3)/100/a.view.scale;a.style.width=Math.round(2*b)/a.view.scale;mxEvent.isControlDown(t.getEvent())&&(a.style[mxConstants.STYLE_ENDSIZE]= -a.style[mxConstants.STYLE_STARTSIZE]);mxEvent.isAltDown(t.getEvent())||Math.abs(parseFloat(a.style[mxConstants.STYLE_STARTSIZE])-parseFloat(a.style[mxConstants.STYLE_ENDSIZE]))<c/6&&(a.style[mxConstants.STYLE_STARTSIZE]=a.style[mxConstants.STYLE_ENDSIZE])})),b.push(ya(a,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(c,b,e,d,k){c=(a.shape.getStartArrowWidth()-a.shape.strokewidth)*a.view.scale;k=3*mxUtils.getNumber(a.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/ -5)*a.view.scale;return new mxPoint(d.x+b*(k+a.shape.strokewidth*a.view.scale)+e*c/2,d.y+e*(k+a.shape.strokewidth*a.view.scale)-b*c/2)},function(b,e,d,k,g,f,t){b=Math.sqrt(mxUtils.ptSegDistSq(k.x,k.y,g.x,g.y,f.x,f.y));e=mxUtils.ptLineDist(k.x,k.y,k.x+d,k.y-e,f.x,f.y);a.style[mxConstants.STYLE_STARTSIZE]=Math.round(100*(e-a.shape.strokewidth)/3)/100/a.view.scale;a.style.startWidth=Math.max(0,Math.round(2*b)-a.shape.getEdgeWidth())/a.view.scale;mxEvent.isControlDown(t.getEvent())&&(a.style[mxConstants.STYLE_ENDSIZE]= -a.style[mxConstants.STYLE_STARTSIZE],a.style.endWidth=a.style.startWidth);mxEvent.isAltDown(t.getEvent())||(Math.abs(parseFloat(a.style[mxConstants.STYLE_STARTSIZE])-parseFloat(a.style[mxConstants.STYLE_ENDSIZE]))<c/6&&(a.style[mxConstants.STYLE_STARTSIZE]=a.style[mxConstants.STYLE_ENDSIZE]),Math.abs(parseFloat(a.style.startWidth)-parseFloat(a.style.endWidth))<c&&(a.style.startWidth=a.style.endWidth))})));mxUtils.getValue(a.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE&&(b.push(ya(a, -["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(c,b,e,d,k){c=(a.shape.getEdgeWidth()-a.shape.strokewidth)*a.view.scale;k=3*mxUtils.getNumber(a.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*a.view.scale;return new mxPoint(d.x+b*(k+a.shape.strokewidth*a.view.scale)-e*c/2,d.y+e*(k+a.shape.strokewidth*a.view.scale)+b*c/2)},function(b,e,d,k,g,f,t){b=Math.sqrt(mxUtils.ptSegDistSq(k.x,k.y,g.x,g.y,f.x,f.y));e=mxUtils.ptLineDist(k.x,k.y,k.x+d,k.y-e,f.x,f.y);a.style[mxConstants.STYLE_ENDSIZE]= -Math.round(100*(e-a.shape.strokewidth)/3)/100/a.view.scale;a.style.width=Math.round(2*b)/a.view.scale;mxEvent.isControlDown(t.getEvent())&&(a.style[mxConstants.STYLE_STARTSIZE]=a.style[mxConstants.STYLE_ENDSIZE]);mxEvent.isAltDown(t.getEvent())||Math.abs(parseFloat(a.style[mxConstants.STYLE_ENDSIZE])-parseFloat(a.style[mxConstants.STYLE_STARTSIZE]))<c/6&&(a.style[mxConstants.STYLE_ENDSIZE]=a.style[mxConstants.STYLE_STARTSIZE])})),b.push(ya(a,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE], -!1,function(c,b,e,d,k){c=(a.shape.getEndArrowWidth()-a.shape.strokewidth)*a.view.scale;k=3*mxUtils.getNumber(a.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*a.view.scale;return new mxPoint(d.x+b*(k+a.shape.strokewidth*a.view.scale)-e*c/2,d.y+e*(k+a.shape.strokewidth*a.view.scale)+b*c/2)},function(b,e,d,k,g,f,t){b=Math.sqrt(mxUtils.ptSegDistSq(k.x,k.y,g.x,g.y,f.x,f.y));e=mxUtils.ptLineDist(k.x,k.y,k.x+d,k.y-e,f.x,f.y);a.style[mxConstants.STYLE_ENDSIZE]=Math.round(100*(e-a.shape.strokewidth)/ -3)/100/a.view.scale;a.style.endWidth=Math.max(0,Math.round(2*b)-a.shape.getEdgeWidth())/a.view.scale;mxEvent.isControlDown(t.getEvent())&&(a.style[mxConstants.STYLE_STARTSIZE]=a.style[mxConstants.STYLE_ENDSIZE],a.style.startWidth=a.style.endWidth);mxEvent.isAltDown(t.getEvent())||(Math.abs(parseFloat(a.style[mxConstants.STYLE_ENDSIZE])-parseFloat(a.style[mxConstants.STYLE_STARTSIZE]))<c/6&&(a.style[mxConstants.STYLE_ENDSIZE]=a.style[mxConstants.STYLE_STARTSIZE]),Math.abs(parseFloat(a.style.endWidth)- +mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*a.view.scale;return new mxPoint(d.x+b*(k+a.shape.strokewidth*a.view.scale)+e*c/2,d.y+e*(k+a.shape.strokewidth*a.view.scale)-b*c/2)},function(b,e,d,k,g,f,u){b=Math.sqrt(mxUtils.ptSegDistSq(k.x,k.y,g.x,g.y,f.x,f.y));e=mxUtils.ptLineDist(k.x,k.y,k.x+d,k.y-e,f.x,f.y);a.style[mxConstants.STYLE_STARTSIZE]=Math.round(100*(e-a.shape.strokewidth)/3)/100/a.view.scale;a.style.width=Math.round(2*b)/a.view.scale;mxEvent.isControlDown(u.getEvent())&&(a.style[mxConstants.STYLE_ENDSIZE]= +a.style[mxConstants.STYLE_STARTSIZE]);mxEvent.isAltDown(u.getEvent())||Math.abs(parseFloat(a.style[mxConstants.STYLE_STARTSIZE])-parseFloat(a.style[mxConstants.STYLE_ENDSIZE]))<c/6&&(a.style[mxConstants.STYLE_STARTSIZE]=a.style[mxConstants.STYLE_ENDSIZE])})),b.push(ya(a,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(c,b,e,d,k){c=(a.shape.getStartArrowWidth()-a.shape.strokewidth)*a.view.scale;k=3*mxUtils.getNumber(a.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/ +5)*a.view.scale;return new mxPoint(d.x+b*(k+a.shape.strokewidth*a.view.scale)+e*c/2,d.y+e*(k+a.shape.strokewidth*a.view.scale)-b*c/2)},function(b,e,d,k,g,f,u){b=Math.sqrt(mxUtils.ptSegDistSq(k.x,k.y,g.x,g.y,f.x,f.y));e=mxUtils.ptLineDist(k.x,k.y,k.x+d,k.y-e,f.x,f.y);a.style[mxConstants.STYLE_STARTSIZE]=Math.round(100*(e-a.shape.strokewidth)/3)/100/a.view.scale;a.style.startWidth=Math.max(0,Math.round(2*b)-a.shape.getEdgeWidth())/a.view.scale;mxEvent.isControlDown(u.getEvent())&&(a.style[mxConstants.STYLE_ENDSIZE]= +a.style[mxConstants.STYLE_STARTSIZE],a.style.endWidth=a.style.startWidth);mxEvent.isAltDown(u.getEvent())||(Math.abs(parseFloat(a.style[mxConstants.STYLE_STARTSIZE])-parseFloat(a.style[mxConstants.STYLE_ENDSIZE]))<c/6&&(a.style[mxConstants.STYLE_STARTSIZE]=a.style[mxConstants.STYLE_ENDSIZE]),Math.abs(parseFloat(a.style.startWidth)-parseFloat(a.style.endWidth))<c&&(a.style.startWidth=a.style.endWidth))})));mxUtils.getValue(a.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE&&(b.push(ya(a, +["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(c,b,e,d,k){c=(a.shape.getEdgeWidth()-a.shape.strokewidth)*a.view.scale;k=3*mxUtils.getNumber(a.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*a.view.scale;return new mxPoint(d.x+b*(k+a.shape.strokewidth*a.view.scale)-e*c/2,d.y+e*(k+a.shape.strokewidth*a.view.scale)+b*c/2)},function(b,e,d,k,g,f,u){b=Math.sqrt(mxUtils.ptSegDistSq(k.x,k.y,g.x,g.y,f.x,f.y));e=mxUtils.ptLineDist(k.x,k.y,k.x+d,k.y-e,f.x,f.y);a.style[mxConstants.STYLE_ENDSIZE]= +Math.round(100*(e-a.shape.strokewidth)/3)/100/a.view.scale;a.style.width=Math.round(2*b)/a.view.scale;mxEvent.isControlDown(u.getEvent())&&(a.style[mxConstants.STYLE_STARTSIZE]=a.style[mxConstants.STYLE_ENDSIZE]);mxEvent.isAltDown(u.getEvent())||Math.abs(parseFloat(a.style[mxConstants.STYLE_ENDSIZE])-parseFloat(a.style[mxConstants.STYLE_STARTSIZE]))<c/6&&(a.style[mxConstants.STYLE_ENDSIZE]=a.style[mxConstants.STYLE_STARTSIZE])})),b.push(ya(a,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE], +!1,function(c,b,e,d,k){c=(a.shape.getEndArrowWidth()-a.shape.strokewidth)*a.view.scale;k=3*mxUtils.getNumber(a.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*a.view.scale;return new mxPoint(d.x+b*(k+a.shape.strokewidth*a.view.scale)-e*c/2,d.y+e*(k+a.shape.strokewidth*a.view.scale)+b*c/2)},function(b,e,d,k,g,f,u){b=Math.sqrt(mxUtils.ptSegDistSq(k.x,k.y,g.x,g.y,f.x,f.y));e=mxUtils.ptLineDist(k.x,k.y,k.x+d,k.y-e,f.x,f.y);a.style[mxConstants.STYLE_ENDSIZE]=Math.round(100*(e-a.shape.strokewidth)/ +3)/100/a.view.scale;a.style.endWidth=Math.max(0,Math.round(2*b)-a.shape.getEdgeWidth())/a.view.scale;mxEvent.isControlDown(u.getEvent())&&(a.style[mxConstants.STYLE_STARTSIZE]=a.style[mxConstants.STYLE_ENDSIZE],a.style.startWidth=a.style.endWidth);mxEvent.isAltDown(u.getEvent())||(Math.abs(parseFloat(a.style[mxConstants.STYLE_ENDSIZE])-parseFloat(a.style[mxConstants.STYLE_STARTSIZE]))<c/6&&(a.style[mxConstants.STYLE_ENDSIZE]=a.style[mxConstants.STYLE_STARTSIZE]),Math.abs(parseFloat(a.style.endWidth)- parseFloat(a.style.startWidth))<c&&(a.style.endWidth=a.style.startWidth))})));return b},swimlane:function(a){var c=[U(a,[mxConstants.STYLE_STARTSIZE],function(c){var b=parseFloat(mxUtils.getValue(a.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));return 1==mxUtils.getValue(a.style,mxConstants.STYLE_HORIZONTAL,1)?new mxPoint(c.getCenterX(),c.y+Math.max(0,Math.min(c.height,b))):new mxPoint(c.x+Math.max(0,Math.min(c.width,b)),c.getCenterY())},function(c,b){a.style[mxConstants.STYLE_STARTSIZE]= 1==mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,1)?Math.round(Math.max(0,Math.min(c.height,b.y-c.y))):Math.round(Math.max(0,Math.min(c.width,b.x-c.x)))})];if(mxUtils.getValue(a.style,mxConstants.STYLE_ROUNDED)){var b=parseFloat(mxUtils.getValue(a.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));c.push(ra(a,b/2))}return c},label:Da(),ext:Da(),rectangle:Da(),triangle:Da(),rhombus:Da(),umlLifeline:function(a){return[U(a,["size"],function(a){var c=Math.max(0,Math.min(a.height, parseFloat(mxUtils.getValue(this.state.style,"size",D.prototype.size))));return new mxPoint(a.getCenterX(),a.y+c)},function(a,c){this.state.style.size=Math.round(Math.max(0,Math.min(a.height,c.y-a.y)))},!1)]},umlFrame:function(a){return[U(a,["width","height"],function(a){var c=Math.max(L.prototype.corner,Math.min(a.width,mxUtils.getValue(this.state.style,"width",L.prototype.width))),b=Math.max(1.5*L.prototype.corner,Math.min(a.height,mxUtils.getValue(this.state.style,"height",L.prototype.height))); @@ -2618,12 +2618,12 @@ b=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",A.prototype Math.max(0,Math.min(a.width,mxUtils.getValue(this.state.style,"dx",ga.prototype.dx))),b=Math.max(0,Math.min(a.height,mxUtils.getValue(this.state.style,"dy",ga.prototype.dy)));return new mxPoint(a.x+(a.width+c)/2,a.y+b)},function(a,c){this.state.style.dx=Math.round(Math.max(0,2*Math.min(a.width/2,c.x-a.x-a.width/2)));this.state.style.dy=Math.round(Math.max(0,Math.min(a.height,c.y-a.y)))})]},singleArrow:va(1),doubleArrow:va(.5),folder:function(a){return[U(a,["tabWidth","tabHeight"],function(a){var c= Math.max(0,Math.min(a.width,mxUtils.getValue(this.state.style,"tabWidth",p.prototype.tabWidth))),b=Math.max(0,Math.min(a.height,mxUtils.getValue(this.state.style,"tabHeight",p.prototype.tabHeight)));mxUtils.getValue(this.state.style,"tabPosition",p.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(c=a.width-c);return new mxPoint(a.x+c,a.y+b)},function(a,c){var b=Math.max(0,Math.min(a.width,c.x-a.x));mxUtils.getValue(this.state.style,"tabPosition",p.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&& (b=a.width-b);this.state.style.tabWidth=Math.round(b);this.state.style.tabHeight=Math.round(Math.max(0,Math.min(a.height,c.y-a.y)))})]},document:function(a){return[U(a,["size"],function(a){var c=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",B.prototype.size))));return new mxPoint(a.x+3*a.width/4,a.y+(1-c)*a.height)},function(a,c){this.state.style.size=Math.max(0,Math.min(1,(a.y+a.height-c.y)/a.height))})]},tape:function(a){return[U(a,["size"],function(a){var c=Math.max(0, -Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",y.prototype.size))));return new mxPoint(a.getCenterX(),a.y+c*a.height/2)},function(a,c){this.state.style.size=Math.max(0,Math.min(1,(c.y-a.y)/a.height*2))})]},offPageConnector:function(a){return[U(a,["size"],function(a){var c=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",T.prototype.size))));return new mxPoint(a.getCenterX(),a.y+(1-c)*a.height)},function(a,c){this.state.style.size=Math.max(0,Math.min(1,(a.y+ +Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",z.prototype.size))));return new mxPoint(a.getCenterX(),a.y+c*a.height/2)},function(a,c){this.state.style.size=Math.max(0,Math.min(1,(c.y-a.y)/a.height*2))})]},offPageConnector:function(a){return[U(a,["size"],function(a){var c=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",T.prototype.size))));return new mxPoint(a.getCenterX(),a.y+(1-c)*a.height)},function(a,c){this.state.style.size=Math.max(0,Math.min(1,(a.y+ a.height-c.y)/a.height))})]},step:Ga(q.prototype.size,!0,null,!0,q.prototype.fixedSize),hexagon:Ga(F.prototype.size,!0,.5,!0),curlyBracket:Ga(k.prototype.size,!1),display:Ga(fa.prototype.size,!1),cube:Ma(1,a.prototype.size,!1),card:Ma(.5,v.prototype.size,!0),loopLimit:Ma(.5,N.prototype.size,!0),trapezoid:Na(.5),parallelogram:Na(1)};Graph.createHandle=U;Graph.handleFactory=Ha;mxVertexHandler.prototype.createCustomHandles=function(){if(1==this.state.view.graph.getSelectionCount()&&this.graph.isCellRotatable(this.state.cell)){var a= this.state.style.shape;null==mxCellRenderer.defaultShapes[a]&&null==mxStencilRegistry.getStencil(a)&&(a=mxConstants.SHAPE_RECTANGLE);a=Ha[a];null==a&&null!=this.state.shape&&this.state.shape.isRoundable()&&(a=Ha[mxConstants.SHAPE_RECTANGLE]);if(null!=a)return a(this.state)}return null};mxEdgeHandler.prototype.createCustomHandles=function(){if(1==this.state.view.graph.getSelectionCount()){var a=this.state.style.shape;null==mxCellRenderer.defaultShapes[a]&&null==mxStencilRegistry.getStencil(a)&&(a= mxConstants.SHAPE_CONNECTOR);a=Ha[a];if(null!=a)return a(this.state)}return null}}else Graph.createHandle=function(){},Graph.handleFactory={};var Ia=new mxPoint(1,0),Ja=new mxPoint(1,0),va=mxUtils.toRadians(-30),Ia=mxUtils.getRotatedPoint(Ia,Math.cos(va),Math.sin(va)),va=mxUtils.toRadians(-150),Ja=mxUtils.getRotatedPoint(Ja,Math.cos(va),Math.sin(va));mxEdgeStyle.IsometricConnector=function(a,c,b,e,d){var k=a.view;e=null!=e&&0<e.length?e[0]:null;var g=a.absolutePoints,f=g[0],g=g[g.length-1];null!= -e&&(e=k.transformControlPoint(a,e));null==f&&null!=c&&(f=new mxPoint(c.getCenterX(),c.getCenterY()));null==g&&null!=b&&(g=new mxPoint(b.getCenterX(),b.getCenterY()));var t=Ia.x,n=Ia.y,u=Ja.x,q=Ja.y,C="horizontal"==mxUtils.getValue(a.style,"elbow","horizontal");if(null!=g&&null!=f){a=function(a,c,b){a-=z.x;var e=c-z.y;c=(q*a-u*e)/(t*q-n*u);a=(n*a-t*e)/(n*u-t*q);C?(b&&(z=new mxPoint(z.x+t*c,z.y+n*c),d.push(z)),z=new mxPoint(z.x+u*a,z.y+q*a)):(b&&(z=new mxPoint(z.x+u*a,z.y+q*a),d.push(z)),z=new mxPoint(z.x+ -t*c,z.y+n*c));d.push(z)};var z=f;null==e&&(e=new mxPoint(f.x+(g.x-f.x)/2,f.y+(g.y-f.y)/2));a(e.x,e.y,!0);a(g.x,g.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",mxEdgeStyle.IsometricConnector);var Oa=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(a,c){if(c==mxEdgeStyle.IsometricConnector){var b=new mxElbowEdgeHandler(a);b.snapToTerminals=!1;return b}return Oa.apply(this,arguments)};b.prototype.constraints=[];f.prototype.getConstraints=function(a,c,b){a=[];var e= +e&&(e=k.transformControlPoint(a,e));null==f&&null!=c&&(f=new mxPoint(c.getCenterX(),c.getCenterY()));null==g&&null!=b&&(g=new mxPoint(b.getCenterX(),b.getCenterY()));var u=Ia.x,n=Ia.y,t=Ja.x,q=Ja.y,C="horizontal"==mxUtils.getValue(a.style,"elbow","horizontal");if(null!=g&&null!=f){a=function(a,c,b){a-=y.x;var e=c-y.y;c=(q*a-t*e)/(u*q-n*t);a=(n*a-u*e)/(n*t-u*q);C?(b&&(y=new mxPoint(y.x+u*c,y.y+n*c),d.push(y)),y=new mxPoint(y.x+t*a,y.y+q*a)):(b&&(y=new mxPoint(y.x+t*a,y.y+q*a),d.push(y)),y=new mxPoint(y.x+ +u*c,y.y+n*c));d.push(y)};var y=f;null==e&&(e=new mxPoint(f.x+(g.x-f.x)/2,f.y+(g.y-f.y)/2));a(e.x,e.y,!0);a(g.x,g.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",mxEdgeStyle.IsometricConnector);var Oa=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(a,c){if(c==mxEdgeStyle.IsometricConnector){var b=new mxElbowEdgeHandler(a);b.snapToTerminals=!1;return b}return Oa.apply(this,arguments)};b.prototype.constraints=[];f.prototype.getConstraints=function(a,c,b){a=[];var e= Math.tan(mxUtils.toRadians(30)),d=(.5-e)/2,e=Math.min(c,b/(.5+e));c=(c-e)/2;b=(b-e)/2;a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,c,b+.25*e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,c+.5*e,b+e*d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,c+e,b+.25*e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,c+e,b+.75*e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,c+.5*e,b+(1-d)*e));a.push(new mxConnectionConstraint(new mxPoint(0, 0),!1,null,c,b+.75*e));return a};A.prototype.getConstraints=function(a,c,b){a=[];mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE);var e=Math.max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"size",this.size))));parseFloat(mxUtils.getValue(this.style,"position",this.position));var d=c*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2))));parseFloat(mxUtils.getValue(this.style,"base",this.base));a.push(new mxConnectionConstraint(new mxPoint(0, 0),!1));a.push(new mxConnectionConstraint(new mxPoint(.25,0),!1));a.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));a.push(new mxConnectionConstraint(new mxPoint(.75,0),!1));a.push(new mxConnectionConstraint(new mxPoint(1,0),!1));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,c,.5*(b-e)));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,c,b-e));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,d,b));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0, @@ -2646,7 +2646,7 @@ mxRectangleShape.prototype.constraints;mxCylinder.prototype.constraints=[new mxC 1),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1)];G.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,.7),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25, 1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];mxActor.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.25,.2),!1),new mxConnectionConstraint(new mxPoint(.1,.5),!1),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.75,.25),!1),new mxConnectionConstraint(new mxPoint(.9,.5),!1),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25, 1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];m.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(.5,.25),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.5,.75),!1),new mxConnectionConstraint(new mxPoint(1, -1),!1)];y.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.35),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.65),!1),new mxConnectionConstraint(new mxPoint(1,.35),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,.65),!1),new mxConnectionConstraint(new mxPoint(.25,1),!1),new mxConnectionConstraint(new mxPoint(.75,0),!1)];q.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0), +1),!1)];z.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.35),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.65),!1),new mxConnectionConstraint(new mxPoint(1,.35),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,.65),!1),new mxConnectionConstraint(new mxPoint(.25,1),!1),new mxConnectionConstraint(new mxPoint(.75,0),!1)];q.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0), !0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1, .75),!0)];mxLine.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];O.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.5,1),!1)];mxDoubleEllipse.prototype.constraints=mxEllipse.prototype.constraints;mxRhombus.prototype.constraints=mxEllipse.prototype.constraints;mxTriangle.prototype.constraints= [new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0)];mxHexagon.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.375,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.625,0),!0),new mxConnectionConstraint(new mxPoint(0, @@ -2672,7 +2672,7 @@ function(){d.openLink(b.getUrl())});this.addAction("open...",function(){window.o ": "+c.message)}}));b.showDialog((new OpenDialog(this)).container,320,220,!0,!0,function(){window.openFile=null})}).isEnabled=l;this.addAction("save",function(){b.saveFile(!1)},null,null,Editor.ctrlKey+"+S").isEnabled=l;this.addAction("saveAs...",function(){b.saveFile(!0)},null,null,Editor.ctrlKey+"+Shift+S").isEnabled=l;this.addAction("export...",function(){b.showDialog((new ExportDialog(b)).container,300,296,!0,!0)});this.addAction("editDiagram...",function(){var a=new EditDiagramDialog(b);b.showDialog(a.container, 620,420,!0,!1);a.init()});this.addAction("pageSetup...",function(){b.showDialog((new PageSetupDialog(b)).container,320,220,!0,!0)}).isEnabled=l;this.addAction("print...",function(){b.showDialog((new PrintDialog(b)).container,300,180,!0,!0)},null,"sprite-print",Editor.ctrlKey+"+P");this.addAction("preview",function(){mxUtils.show(d,null,10,10)});this.addAction("undo",function(){b.undo()},null,"sprite-undo",Editor.ctrlKey+"+Z");this.addAction("redo",function(){b.redo()},null,"sprite-redo",mxClient.IS_WIN? Editor.ctrlKey+"+Y":Editor.ctrlKey+"+Shift+Z");this.addAction("cut",function(){mxClipboard.cut(d)},null,"sprite-cut",Editor.ctrlKey+"+X");this.addAction("copy",function(){mxClipboard.copy(d)},null,"sprite-copy",Editor.ctrlKey+"+C");this.addAction("paste",function(){d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())&&mxClipboard.paste(d)},!1,"sprite-paste",Editor.ctrlKey+"+V");this.addAction("pasteHere",function(a){if(d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())){d.getModel().beginUpdate(); -try{var b=mxClipboard.paste(d);if(null!=b){a=!0;for(var f=0;f<b.length&&a;f++)a=a&&d.model.isEdge(b[f]);var c=d.view.translate,e=d.view.scale,k=c.x,u=c.y,c=null;if(1==b.length&&a){var n=d.getCellGeometry(b[0]);null!=n&&(c=n.getTerminalPoint(!0))}c=null!=c?c:d.getBoundingBoxFromGeometry(b,a);if(null!=c){var g=Math.round(d.snap(d.popupMenuHandler.triggerX/e-k)),z=Math.round(d.snap(d.popupMenuHandler.triggerY/e-u));d.cellsMoved(b,g-c.x,z-c.y)}}}finally{d.getModel().endUpdate()}}});this.addAction("copySize", +try{var b=mxClipboard.paste(d);if(null!=b){a=!0;for(var f=0;f<b.length&&a;f++)a=a&&d.model.isEdge(b[f]);var c=d.view.translate,e=d.view.scale,k=c.x,t=c.y,c=null;if(1==b.length&&a){var n=d.getCellGeometry(b[0]);null!=n&&(c=n.getTerminalPoint(!0))}c=null!=c?c:d.getBoundingBoxFromGeometry(b,a);if(null!=c){var g=Math.round(d.snap(d.popupMenuHandler.triggerX/e-k)),y=Math.round(d.snap(d.popupMenuHandler.triggerY/e-t));d.cellsMoved(b,g-c.x,y-c.y)}}}finally{d.getModel().endUpdate()}}});this.addAction("copySize", function(a){a=d.getSelectionCell();d.isEnabled()&&null!=a&&d.getModel().isVertex(a)&&(a=d.getCellGeometry(a),null!=a&&(b.copiedSize=new mxRectangle(a.x,a.y,a.width,a.height)))},null,null,"Alt+Shit+X");this.addAction("pasteSize",function(a){if(d.isEnabled()&&!d.isSelectionEmpty()&&null!=b.copiedSize){d.getModel().beginUpdate();try{var f=d.getSelectionCells();for(a=0;a<f.length;a++)if(d.getModel().isVertex(f[a])){var l=d.getCellGeometry(f[a]);null!=l&&(l=l.clone(),l.width=b.copiedSize.width,l.height= b.copiedSize.height,d.getModel().setGeometry(f[a],l))}}finally{d.getModel().endUpdate()}}},null,null,"Alt+Shit+V");this.addAction("delete",function(b){a(null!=b&&mxEvent.isShiftDown(b))},null,null,"Delete");this.addAction("deleteAll",function(){a(!0)},null,null,Editor.ctrlKey+"+Delete");this.addAction("duplicate",function(){d.setSelectionCells(d.duplicateCells())},null,null,Editor.ctrlKey+"+D");this.put("turn",new Action(mxResources.get("turn")+" / "+mxResources.get("reverse"),function(){d.turnShapes(d.getSelectionCells())}, null,null,Editor.ctrlKey+"+R"));this.addAction("selectVertices",function(){d.selectVertices()},null,null,Editor.ctrlKey+"+Shift+I");this.addAction("selectEdges",function(){d.selectEdges()},null,null,Editor.ctrlKey+"+Shift+E");this.addAction("selectAll",function(){d.selectAll(null,!0)},null,null,Editor.ctrlKey+"+A");this.addAction("selectNone",function(){d.clearSelection()},null,null,Editor.ctrlKey+"+Shift+A");this.addAction("lockUnlock",function(){if(!d.isSelectionEmpty()){d.getModel().beginUpdate(); @@ -2683,8 +2683,8 @@ null,null,"F2/Enter");this.addAction("editData...",function(){var a=d.getSelecti 320,200,!0,!0);f.init()}},null,null,"Alt+Shift+T");this.addAction("openLink",function(){var a=d.getLinkForCell(d.getSelectionCell());null!=a&&d.openLink(a)});this.addAction("editLink...",function(){var a=b.editor.graph;if(a.isEnabled()&&!a.isSelectionEmpty()){var d=a.getSelectionCell(),f=a.getLinkForCell(d)||"";b.showLinkDialog(f,mxResources.get("apply"),function(c){c=mxUtils.trim(c);a.setLinkForCell(d,0<c.length?c:null)})}},null,null,"Alt+Shift+L");this.put("insertImage",new Action(mxResources.get("image")+ "...",function(){d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())&&(d.clearSelection(),b.actions.get("image").funct())})).isEnabled=l;this.put("insertLink",new Action(mxResources.get("link")+"...",function(){d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())&&b.showLinkDialog("",mxResources.get("insert"),function(a,b){a=mxUtils.trim(a);if(0<a.length){var f=null,c=d.getLinkTitle(a);null!=b&&0<b.length&&(f=b[0].iconUrl,c=b[0].name||b[0].type,c=c.charAt(0).toUpperCase()+c.substring(1),30<c.length&& (c=c.substring(0,30)+"..."));var e=d.getFreeInsertPoint(),f=new mxCell(c,new mxGeometry(e.x,e.y,100,40),"fontColor=#0000EE;fontStyle=4;rounded=1;overflow=hidden;"+(null!=f?"shape=label;imageWidth=16;imageHeight=16;spacingLeft=26;align=left;image="+f:"spacing=10;"));f.vertex=!0;d.setLinkForCell(f,a);d.cellSizeUpdated(f,!0);d.getModel().beginUpdate();try{f=d.addCell(f),d.fireEvent(new mxEventObject("cellsInserted","cells",[f]))}finally{d.getModel().endUpdate()}d.setSelectionCell(f);d.scrollCellToVisible(d.getSelectionCell())}})})).isEnabled= -l;this.addAction("link...",mxUtils.bind(this,function(){var a=b.editor.graph;if(a.isEnabled())if(a.cellEditor.isContentEditing()){var d=a.getSelectedElement(),f=a.getParentByName(d,"A",a.cellEditor.textarea),c="";if(null==f&&null!=d&&null!=d.getElementsByTagName)for(var e=d.getElementsByTagName("a"),k=0;k<e.length&&null==f;k++)e[k].textContent==d.textContent&&(f=e[k]);null!=f&&"A"==f.nodeName&&(c=f.getAttribute("href")||"",a.selectNode(f));var u=a.cellEditor.saveSelection();b.showLinkDialog(c,mxResources.get("apply"), -mxUtils.bind(this,function(c){a.cellEditor.restoreSelection(u);null!=c&&a.insertLink(c)}))}else a.isSelectionEmpty()?this.get("insertLink").funct():this.get("editLink").funct()})).isEnabled=l;this.addAction("autosize",function(){var a=d.getSelectionCells();if(null!=a){d.getModel().beginUpdate();try{for(var b=0;b<a.length;b++){var f=a[b];if(d.getModel().getChildCount(f))d.updateGroupBounds([f],20);else{var c=d.view.getState(f),e=d.getCellGeometry(f);d.getModel().isVertex(f)&&null!=c&&null!=c.text&& +l;this.addAction("link...",mxUtils.bind(this,function(){var a=b.editor.graph;if(a.isEnabled())if(a.cellEditor.isContentEditing()){var d=a.getSelectedElement(),f=a.getParentByName(d,"A",a.cellEditor.textarea),c="";if(null==f&&null!=d&&null!=d.getElementsByTagName)for(var e=d.getElementsByTagName("a"),k=0;k<e.length&&null==f;k++)e[k].textContent==d.textContent&&(f=e[k]);null!=f&&"A"==f.nodeName&&(c=f.getAttribute("href")||"",a.selectNode(f));var t=a.cellEditor.saveSelection();b.showLinkDialog(c,mxResources.get("apply"), +mxUtils.bind(this,function(c){a.cellEditor.restoreSelection(t);null!=c&&a.insertLink(c)}))}else a.isSelectionEmpty()?this.get("insertLink").funct():this.get("editLink").funct()})).isEnabled=l;this.addAction("autosize",function(){var a=d.getSelectionCells();if(null!=a){d.getModel().beginUpdate();try{for(var b=0;b<a.length;b++){var f=a[b];if(d.getModel().getChildCount(f))d.updateGroupBounds([f],20);else{var c=d.view.getState(f),e=d.getCellGeometry(f);d.getModel().isVertex(f)&&null!=c&&null!=c.text&& null!=e&&d.isWrapping(f)?(e=e.clone(),e.height=c.text.boundingBox.height/d.view.scale,d.getModel().setGeometry(f,e)):d.updateCellSize(f)}}}finally{d.getModel().endUpdate()}}},null,null,Editor.ctrlKey+"+Shift+Y");this.addAction("formattedText",function(){var a=d.getView().getState(d.getSelectionCell());if(null!=a){var f="1";d.stopEditing();d.getModel().beginUpdate();try{if("1"==a.style.html){var f=null,l=d.convertValueToString(a.cell);"0"!=mxUtils.getValue(a.style,"nl2Br","1")&&(l=l.replace(/\n/g, "").replace(/<br\s*.?>/g,"\n"));var c=document.createElement("div");c.innerHTML=l;l=mxUtils.extractTextWithWhitespace(c.childNodes);d.cellLabelChanged(a.cell,l)}else l=mxUtils.htmlEntities(d.convertValueToString(a.cell),!1),"0"!=mxUtils.getValue(a.style,"nl2Br","1")&&(l=l.replace(/\n/g,"<br/>")),d.cellLabelChanged(a.cell,d.sanitizeHtml(l));d.setCellStyles("html",f);b.fireEvent(new mxEventObject("styleChanged","keys",["html"],"values",[null!=f?f:"0"],"cells",d.getSelectionCells()))}finally{d.getModel().endUpdate()}}}); this.addAction("wordWrap",function(){var a=d.getView().getState(d.getSelectionCell()),b="wrap";d.stopEditing();null!=a&&"wrap"==a.style[mxConstants.STYLE_WHITE_SPACE]&&(b=null);d.setCellStyles(mxConstants.STYLE_WHITE_SPACE,b)});this.addAction("rotation",function(){var a="0",f=d.getView().getState(d.getSelectionCell());null!=f&&(a=f.style[mxConstants.STYLE_ROTATION]||a);a=new FilenameDialog(b,a,mxResources.get("apply"),function(a){null!=a&&0<a.length&&d.setCellStyles(mxConstants.STYLE_ROTATION,a)}, @@ -2713,7 +2713,7 @@ function(b){null!=b&&d.setCellStyle(mxUtils.trim(b),a)},null,null,400,220);this. if(null!=a&&d.getModel().isEdge(a)){var b=f.graph.selectionCellsHandler.getHandler(a);if(b instanceof mxEdgeHandler){for(var l=d.view.translate,c=d.view.scale,e=l.x,l=l.y,a=d.getModel().getParent(a),k=d.getCellGeometry(a);d.getModel().isVertex(a)&&null!=k;)e+=k.x,l+=k.y,a=d.getModel().getParent(a),k=d.getCellGeometry(a);e=Math.round(d.snap(d.popupMenuHandler.triggerX/c-e));c=Math.round(d.snap(d.popupMenuHandler.triggerY/c-l));b.addPointAt(b.state,e,c)}}});this.addAction("removeWaypoint",function(){var a= b.actions.get("removeWaypoint");null!=a.handler&&a.handler.removePoint(a.handler.state,a.index)});this.addAction("clearWaypoints",function(){var a=d.getSelectionCells();if(null!=a){a=d.addAllEdges(a);d.getModel().beginUpdate();try{for(var b=0;b<a.length;b++){var f=a[b];if(d.getModel().isEdge(f)){var c=d.getCellGeometry(f);null!=c&&(c=c.clone(),c.points=null,d.getModel().setGeometry(f,c))}}}finally{d.getModel().endUpdate()}}},null,null,"Alt+Shift+C");m=this.addAction("subscript",mxUtils.bind(this, function(){d.cellEditor.isContentEditing()&&document.execCommand("subscript",!1,null)}),null,null,Editor.ctrlKey+"+,");m=this.addAction("superscript",mxUtils.bind(this,function(){d.cellEditor.isContentEditing()&&document.execCommand("superscript",!1,null)}),null,null,Editor.ctrlKey+"+.");this.addAction("image...",function(){if(d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())){var a=mxResources.get("image")+" ("+mxResources.get("url")+"):",f=d.getView().getState(d.getSelectionCell()),l="";null!= -f&&(l=f.style[mxConstants.STYLE_IMAGE]||l);var c=d.cellEditor.saveSelection();b.showImageDialog(a,l,function(a,b,f){if(d.cellEditor.isContentEditing())d.cellEditor.restoreSelection(c),d.insertImage(a,b,f);else{var e=d.getSelectionCells();if(null!=a&&(0<a.length||0<e.length)){var k=null;d.getModel().beginUpdate();try{if(0==e.length){var u=d.getFreeInsertPoint(),k=e=[d.insertVertex(d.getDefaultParent(),null,"",u.x,u.y,b,f,"shape=image;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;")]; +f&&(l=f.style[mxConstants.STYLE_IMAGE]||l);var c=d.cellEditor.saveSelection();b.showImageDialog(a,l,function(a,b,f){if(d.cellEditor.isContentEditing())d.cellEditor.restoreSelection(c),d.insertImage(a,b,f);else{var e=d.getSelectionCells();if(null!=a&&(0<a.length||0<e.length)){var k=null;d.getModel().beginUpdate();try{if(0==e.length){var t=d.getFreeInsertPoint(),k=e=[d.insertVertex(d.getDefaultParent(),null,"",t.x,t.y,b,f,"shape=image;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;")]; d.fireEvent(new mxEventObject("cellsInserted","cells",k))}d.setCellStyles(mxConstants.STYLE_IMAGE,0<a.length?a:null,e);var l=d.view.getState(e[0]),q=null!=l?l.style:d.getCellStyle(e[0]);"image"!=q[mxConstants.STYLE_SHAPE]&&"label"!=q[mxConstants.STYLE_SHAPE]?d.setCellStyles(mxConstants.STYLE_SHAPE,"image",e):0==a.length&&d.setCellStyles(mxConstants.STYLE_SHAPE,null,e);if(1==d.getSelectionCount()&&null!=b&&null!=f){var m=e[0],x=d.getModel().getGeometry(m);null!=x&&(x=x.clone(),x.width=b,x.height=f, d.getModel().setGeometry(m,x))}}finally{d.getModel().endUpdate()}null!=k&&(d.setSelectionCells(k),d.scrollCellToVisible(k[0]))}}},d.cellEditor.isContentEditing(),!d.cellEditor.isContentEditing())}}).isEnabled=l;m=this.addAction("layers",mxUtils.bind(this,function(){null==this.layersWindow?(this.layersWindow=new LayersWindow(b,document.body.offsetWidth-280,120,220,180),this.layersWindow.window.addListener("show",function(){b.fireEvent(new mxEventObject("layers"))}),this.layersWindow.window.addListener("hide", function(){b.fireEvent(new mxEventObject("layers"))}),this.layersWindow.window.setVisible(!0),b.fireEvent(new mxEventObject("layers"))):this.layersWindow.window.setVisible(!this.layersWindow.window.isVisible())}),null,null,Editor.ctrlKey+"+Shift+L");m.setToggleAction(!0);m.setSelectedCallback(mxUtils.bind(this,function(){return null!=this.layersWindow&&this.layersWindow.window.isVisible()}));m=this.addAction("formatPanel",mxUtils.bind(this,function(){b.toggleFormatPanel()}),null,null,Editor.ctrlKey+ @@ -2725,23 +2725,23 @@ DrawioFile.prototype.autosaveDelay=1500;DrawioFile.prototype.maxAutosaveDelay=3E DrawioFile.prototype.maxAutosaveRevisionDelay=3E5;DrawioFile.prototype.inConflictState=!1;DrawioFile.prototype.invalidChecksum=!1;DrawioFile.prototype.errorReportsEnabled=!1;DrawioFile.prototype.reportEnabled=!0;DrawioFile.prototype.ageStart=null;DrawioFile.prototype.getSize=function(){return null!=this.data?this.data.length:0}; DrawioFile.prototype.synchronizeFile=function(a,b){this.savingFile?null!=b&&b({message:mxResources.get("busy")}):null!=this.sync?this.sync.fileChanged(a,b):this.updateFile(a,b)}; DrawioFile.prototype.updateFile=function(a,b,f,d){null!=f&&f()||(this.ui.getCurrentFile()!=this||this.invalidChecksum?null!=b&&b():this.getLatestVersion(mxUtils.bind(this,function(l){try{null!=f&&f()||(this.ui.getCurrentFile()!=this||this.invalidChecksum?null!=b&&b():null!=l?this.mergeFile(l,a,b,d):this.reloadFile(a,b))}catch(m){null!=b&&b(m)}}),b))}; -DrawioFile.prototype.mergeFile=function(a,b,f,d){var l=!0;try{this.stats.fileMerged++;var m=null!=this.shadowPages?this.shadowPages:this.ui.getPagesForNode(mxUtils.parseXml(this.shadowData).documentElement),p=this.ui.getPagesForNode(mxUtils.parseXml(a.data).documentElement);if(null!=p&&0<p.length){this.shadowPages=p;this.backupPatch=this.isModified()?this.ui.diffPages(m,this.ui.pages):null;var v=[this.ui.diffPages(null!=d?d:m,this.shadowPages)];if(!this.ignorePatches(v)){var y=this.ui.patchPages(m, -v[0]);d={};var B=this.ui.getHashValueForPages(y,d),m={},c=this.ui.getHashValueForPages(this.shadowPages,m);"1"==urlParams.test&&EditorUi.debug("File.mergeFile",[this],"backup",this.backupPatch,"patches",v,"checksum",c==B,B);if(null!=B&&B!=c){var e=this.compressReportData(this.getAnonymizedXmlForPages(p)),k=this.compressReportData(this.getAnonymizedXmlForPages(y)),u=this.ui.hashValue(a.getCurrentEtag()),n=this.ui.hashValue(this.getCurrentEtag());this.checksumError(f,v,"Shadow Details: "+JSON.stringify(d)+ -"\nChecksum: "+B+"\nCurrent: "+c+"\nCurrent Details: "+JSON.stringify(m)+"\nFrom: "+u+"\nTo: "+n+"\n\nFile Data:\n"+e+"\nPatched Shadow:\n"+k,null,"mergeFile");return}this.patch(v,DrawioFile.LAST_WRITE_WINS?this.backupPatch:null)}}else throw l=!1,Error(mxResources.get("notADiagramFile"));this.inConflictState=this.invalidChecksum=!1;this.setDescriptor(a.getDescriptor());this.descriptorChanged();this.backupPatch=null;null!=b&&b()}catch(A){this.invalidChecksum=this.inConflictState=!0;this.descriptorChanged(); -null!=f&&f(A);try{if(l)if(this.errorReportsEnabled)this.sendErrorReport("Error in mergeFile",null,A);else{var g=this.getCurrentUser(),z=null!=g?g.id:"unknown";EditorUi.logError("Error in mergeFile",null,this.getMode()+"."+this.getId(),z,A)}}catch(q){}}}; +DrawioFile.prototype.mergeFile=function(a,b,f,d){var l=!0;try{this.stats.fileMerged++;var m=null!=this.shadowPages?this.shadowPages:this.ui.getPagesForNode(mxUtils.parseXml(this.shadowData).documentElement),p=this.ui.getPagesForNode(mxUtils.parseXml(a.data).documentElement);if(null!=p&&0<p.length){this.shadowPages=p;this.backupPatch=this.isModified()?this.ui.diffPages(m,this.ui.pages):null;var v=[this.ui.diffPages(null!=d?d:m,this.shadowPages)];if(!this.ignorePatches(v)){var z=this.ui.patchPages(m, +v[0]);d={};var B=this.ui.getHashValueForPages(z,d),m={},c=this.ui.getHashValueForPages(this.shadowPages,m);"1"==urlParams.test&&EditorUi.debug("File.mergeFile",[this],"backup",this.backupPatch,"patches",v,"checksum",c==B,B);if(null!=B&&B!=c){var e=this.compressReportData(this.getAnonymizedXmlForPages(p)),k=this.compressReportData(this.getAnonymizedXmlForPages(z)),t=this.ui.hashValue(a.getCurrentEtag()),n=this.ui.hashValue(this.getCurrentEtag());this.checksumError(f,v,"Shadow Details: "+JSON.stringify(d)+ +"\nChecksum: "+B+"\nCurrent: "+c+"\nCurrent Details: "+JSON.stringify(m)+"\nFrom: "+t+"\nTo: "+n+"\n\nFile Data:\n"+e+"\nPatched Shadow:\n"+k,null,"mergeFile");return}this.patch(v,DrawioFile.LAST_WRITE_WINS?this.backupPatch:null)}}else throw l=!1,Error(mxResources.get("notADiagramFile"));this.inConflictState=this.invalidChecksum=!1;this.setDescriptor(a.getDescriptor());this.descriptorChanged();this.backupPatch=null;null!=b&&b()}catch(A){this.invalidChecksum=this.inConflictState=!0;this.descriptorChanged(); +null!=f&&f(A);try{if(l)if(this.errorReportsEnabled)this.sendErrorReport("Error in mergeFile",null,A);else{var g=this.getCurrentUser(),y=null!=g?g.id:"unknown";EditorUi.logError("Error in mergeFile",null,this.getMode()+"."+this.getId(),y,A)}}catch(q){}}}; DrawioFile.prototype.getAnonymizedXmlForPages=function(a){var b=new mxCodec(mxUtils.createXmlDocument()),f=b.document.createElement("mxfile");if(null!=a)for(var d=0;d<a.length;d++){var l=b.encode(new mxGraphModel(a[d].root));"1"!=urlParams.dev&&(l=this.ui.anonymizeNode(l,!0));l.setAttribute("id",a[d].getId());a[d].viewState&&this.ui.editor.graph.saveViewState(a[d].viewState,l,!0);f.appendChild(l)}return mxUtils.getPrettyXml(f)}; DrawioFile.prototype.compressReportData=function(a,b,f){b=null!=b?b:1E4;null!=f&&null!=a&&a.length>f?a=a.substring(0,f)+"[...]":null!=a&&a.length>b&&(a=Graph.compress(a)+"\n");return a}; DrawioFile.prototype.checksumError=function(a,b,f,d,l){this.stats.checksumErrors++;this.invalidChecksum=this.inConflictState=!0;this.descriptorChanged();null!=this.sync&&this.sync.updateOnlineState();null!=a&&a();try{if(this.errorReportsEnabled){if(null!=b)for(a=0;a<b.length;a++)this.ui.anonymizePatch(b[a]);var m=mxUtils.bind(this,function(a){var d=this.compressReportData(JSON.stringify(b,null,2));a=null!=a?this.compressReportData(this.getAnonymizedXmlForPages(this.ui.getPagesForNode(mxUtils.parseXml(a.data).documentElement)), 25E3):"n/a";this.sendErrorReport("Checksum Error in "+l+" "+this.getHash(),(null!=f?f:"")+"\n\nPatches:\n"+d+(null!=a?"\n\nRemote:\n"+a:""),null,7E4)});null==d?m(null):this.getLatestVersion(mxUtils.bind(this,function(a){null!=a&&a.getCurrentEtag()==d?m(a):m(null)}),function(){})}else{var p=this.getCurrentUser(),v=null!=p?p.id:"unknown";EditorUi.logError("Checksum Error in "+l+" "+this.getId(),null,this.getMode()+"."+this.getId(),"user_"+v+(null!=this.sync?"-client_"+this.sync.clientId:"-nosync")); -try{EditorUi.logEvent({category:"CHECKSUM-ERROR-SYNC-FILE-"+this.getHash(),action:l,label:"user_"+v+(null!=this.sync?"-client_"+this.sync.clientId:"-nosync")})}catch(y){}}}catch(y){}}; -DrawioFile.prototype.sendErrorReport=function(a,b,f,d){try{var l=this.compressReportData(this.getAnonymizedXmlForPages(this.shadowPages),25E3),m=this.compressReportData(this.getAnonymizedXmlForPages(this.ui.pages),25E3),p=this.getCurrentUser(),v=null!=p?this.ui.hashValue(p.id):"unknown",y=null!=this.sync?"-client_"+this.sync.clientId:"-nosync",B=this.getTitle(),c=B.lastIndexOf("."),p="xml";0<c&&(p=B.substring(c));var e=null!=f?f.stack:Error().stack;EditorUi.sendReport(a+" "+(new Date).toISOString()+ -":\n\nBrowser="+navigator.userAgent+"\nFile="+this.ui.hashValue(this.getId())+" ("+this.getMode()+")"+(this.isModified()?" modified":"")+"\nSize/Type="+this.getSize()+" ("+p+")\nUser="+v+y+"\nPrefix="+this.ui.editor.graph.model.prefix+"\nSync="+DrawioFile.SYNC+(null!=this.sync?(this.sync.enabled?" enabled":"")+(this.sync.isConnected()?" connected":""):"")+"\nPlugins="+(null!=mxSettings.settings?mxSettings.getPlugins():"null")+"\n\nStats:\n"+JSON.stringify(this.stats,null,2)+(null!=b?"\n\n"+b:"")+ +try{EditorUi.logEvent({category:"CHECKSUM-ERROR-SYNC-FILE-"+this.getHash(),action:l,label:"user_"+v+(null!=this.sync?"-client_"+this.sync.clientId:"-nosync")})}catch(z){}}}catch(z){}}; +DrawioFile.prototype.sendErrorReport=function(a,b,f,d){try{var l=this.compressReportData(this.getAnonymizedXmlForPages(this.shadowPages),25E3),m=this.compressReportData(this.getAnonymizedXmlForPages(this.ui.pages),25E3),p=this.getCurrentUser(),v=null!=p?this.ui.hashValue(p.id):"unknown",z=null!=this.sync?"-client_"+this.sync.clientId:"-nosync",B=this.getTitle(),c=B.lastIndexOf("."),p="xml";0<c&&(p=B.substring(c));var e=null!=f?f.stack:Error().stack;EditorUi.sendReport(a+" "+(new Date).toISOString()+ +":\n\nBrowser="+navigator.userAgent+"\nFile="+this.ui.hashValue(this.getId())+" ("+this.getMode()+")"+(this.isModified()?" modified":"")+"\nSize/Type="+this.getSize()+" ("+p+")\nUser="+v+z+"\nPrefix="+this.ui.editor.graph.model.prefix+"\nSync="+DrawioFile.SYNC+(null!=this.sync?(this.sync.enabled?" enabled":"")+(this.sync.isConnected()?" connected":""):"")+"\nPlugins="+(null!=mxSettings.settings?mxSettings.getPlugins():"null")+"\n\nStats:\n"+JSON.stringify(this.stats,null,2)+(null!=b?"\n\n"+b:"")+ (null!=f?"\n\nError: "+f.message:"")+"\n\nStack:\n"+e+"\n\nShadow:\n"+l+"\n\nData:\n"+m,d)}catch(k){}}; DrawioFile.prototype.reloadFile=function(a,b){try{this.ui.spinner.stop();var f=mxUtils.bind(this,function(){this.stats.fileReloaded++;this.reportEnabled=!1;var b=this.ui.editor.graph.getViewState(),f=this.ui.editor.graph.getSelectionCells(),m=this.ui.currentPage;this.ui.loadFile(this.getHash(),!0,null,mxUtils.bind(this,function(){if(null==this.ui.fileLoadedError){this.ui.restoreViewState(m,b,f);null!=this.backupPatch&&this.patch([this.backupPatch]);var d=this.ui.getCurrentFile();null!=d&&(d.stats= this.stats);null!=a&&a()}}),!0)});this.isModified()&&null==this.backupPatch?this.ui.confirm(mxResources.get("allChangesLost"),mxUtils.bind(this,function(){this.handleFileSuccess("manual"==DrawioFile.SYNC)}),f,mxResources.get("cancel"),mxResources.get("discardChanges")):f()}catch(d){null!=b&&b(d)}};DrawioFile.prototype.copyFile=function(a,b){this.ui.editor.editAsNew(this.ui.getFileData(!0),this.ui.getCopyFilename(this))}; DrawioFile.prototype.ignorePatches=function(a){for(var b=!0,f=0;f<a.length&&b;f++)b=b&&0==Object.keys(a[f]).length;return b}; -DrawioFile.prototype.patch=function(a,b){var f=this.ui.editor.undoManager,d=f.history.slice(),l=f.indexOfNextAdd,m=this.ui.editor.graph;m.container.style.visibility="hidden";var p=this.changeListenerEnabled;this.changeListenerEnabled=!1;var v=m.foldingEnabled,y=m.mathEnabled,B=m.cellRenderer.redraw;m.cellRenderer.redraw=function(a){a.view.graph.isEditing(a.cell)&&(a.view.graph.scrollCellToVisible(a.cell),a.view.graph.cellEditor.resize());B.apply(this,arguments)};m.model.beginUpdate();try{for(var c= -0;c<a.length;c++)this.ui.pages=this.ui.patchPages(this.ui.pages,a[c],!0,b,this.isModified());0==this.ui.pages.length&&this.ui.pages.push(this.ui.createPage());0>mxUtils.indexOf(this.ui.pages,this.ui.currentPage)&&this.ui.selectPage(this.ui.pages[0],!0)}finally{m.container.style.visibility="";m.model.endUpdate();m.cellRenderer.redraw=B;this.changeListenerEnabled=p;f.history=d;f.indexOfNextAdd=l;f.fireEvent(new mxEventObject(mxEvent.CLEAR));if(null==this.ui.currentPage||this.ui.currentPage.needsUpdate)y!= +DrawioFile.prototype.patch=function(a,b){var f=this.ui.editor.undoManager,d=f.history.slice(),l=f.indexOfNextAdd,m=this.ui.editor.graph;m.container.style.visibility="hidden";var p=this.changeListenerEnabled;this.changeListenerEnabled=!1;var v=m.foldingEnabled,z=m.mathEnabled,B=m.cellRenderer.redraw;m.cellRenderer.redraw=function(a){a.view.graph.isEditing(a.cell)&&(a.view.graph.scrollCellToVisible(a.cell),a.view.graph.cellEditor.resize());B.apply(this,arguments)};m.model.beginUpdate();try{for(var c= +0;c<a.length;c++)this.ui.pages=this.ui.patchPages(this.ui.pages,a[c],!0,b,this.isModified());0==this.ui.pages.length&&this.ui.pages.push(this.ui.createPage());0>mxUtils.indexOf(this.ui.pages,this.ui.currentPage)&&this.ui.selectPage(this.ui.pages[0],!0)}finally{m.container.style.visibility="";m.model.endUpdate();m.cellRenderer.redraw=B;this.changeListenerEnabled=p;f.history=d;f.indexOfNextAdd=l;f.fireEvent(new mxEventObject(mxEvent.CLEAR));if(null==this.ui.currentPage||this.ui.currentPage.needsUpdate)z!= m.mathEnabled?(this.ui.editor.updateGraphComponents(),m.refresh()):(v!=m.foldingEnabled?m.view.revalidate():m.view.validate(),m.sizeDidChange());this.ui.updateTabContainer()}}; DrawioFile.prototype.save=function(a,b,f,d,l,m){try{if(this.isEditable())if(!l&&this.invalidChecksum)if(null!=f)f({message:mxResources.get("checksum")});else throw Error(mxResources.get("checksum"));else this.updateFileData(),this.clearAutosave(),null!=b&&b();else if(null!=f)f({message:mxResources.get("readOnly")});else throw Error(mxResources.get("readOnly"));}catch(p){if(null!=f)f(p);else throw p;}}; DrawioFile.prototype.updateFileData=function(){this.setData(this.ui.getFileData(null,null,null,null,null,null,null,null,this,!this.isCompressed()))};DrawioFile.prototype.isCompressedStorage=function(){return!0};DrawioFile.prototype.isCompressed=function(){var a=null!=this.ui.fileNode?this.ui.fileNode.getAttribute("compressed"):null;return null!=a?"false"!=a:this.isCompressedStorage()&&Editor.compressXml};DrawioFile.prototype.saveAs=function(a,b,f){};DrawioFile.prototype.saveFile=function(a,b,f,d){}; @@ -2839,17 +2839,17 @@ c(a)};Editor.prototype.base64Encode=function(a){for(var c="",b=0,e=a.length,d,k, 4|(k&240)>>4);c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((k&15)<<2);c+="=";break}g=a.charCodeAt(b++);c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(d>>2);c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((d&3)<<4|(k&240)>>4);c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((k&15)<<2|(g&192)>>6);c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g&63)}return c}; Editor.prototype.loadUrl=function(a,c,b,e,d,k){try{var g=e||/(\.png)($|\?)/i.test(a)||/(\.jpe?g)($|\?)/i.test(a)||/(\.gif)($|\?)/i.test(a);d=null!=d?d:!0;var f=mxUtils.bind(this,function(){mxUtils.get(a,mxUtils.bind(this,function(a){if(200<=a.getStatus()&&299>=a.getStatus()){if(null!=c){var e=a.getText();if(g){if((9==document.documentMode||10==document.documentMode)&&"undefined"!==typeof window.mxUtilsBinaryToArray){a=mxUtilsBinaryToArray(a.request.responseBody).toArray();for(var e=Array(a.length), d=0;d<a.length;d++)e[d]=String.fromCharCode(a[d]);e=e.join("")}k=null!=k?k:"data:image/png;base64,";e=k+this.base64Encode(e)}c(e)}}else null!=b&&b({code:App.ERROR_UNKNOWN},a)}),function(){null!=b&&b({code:App.ERROR_UNKNOWN})},g,this.timeout,function(){d&&null!=b&&b({code:App.ERROR_TIMEOUT,retry:f})})});f()}catch(O){null!=b&&b(O)}};Editor.prototype.loadFonts=function(a){if(null!=this.fontCss&&null==this.resolvedFontCss){var c=function(a){return a.replace(RegExp("^[\\s\"']+","g"),"").replace(RegExp("[\\s\"']+$", -"g"),"")},b=this.fontCss.split("url("),e=0,d={},k=mxUtils.bind(this,function(){if(0==e){for(var k=[b[0]],g=1;g<b.length;g++){var f=b[g].indexOf(")");k.push('url("');k.push(d[c(b[g].substring(0,f))]);k.push('"'+b[g].substring(f))}this.resolvedFontCss=k.join("");a()}});if(0<b.length)for(var g=1;g<b.length;g++){var f=b[g].indexOf(")"),n=null,t=b[g].indexOf("format(",f);0<t&&(n=c(b[g].substring(t+7,b[g].indexOf(")",t))));mxUtils.bind(this,function(a){if(null==d[a]){d[a]=a;e++;var c="application/x-font-ttf"; +"g"),"")},b=this.fontCss.split("url("),e=0,d={},k=mxUtils.bind(this,function(){if(0==e){for(var k=[b[0]],g=1;g<b.length;g++){var f=b[g].indexOf(")");k.push('url("');k.push(d[c(b[g].substring(0,f))]);k.push('"'+b[g].substring(f))}this.resolvedFontCss=k.join("");a()}});if(0<b.length)for(var g=1;g<b.length;g++){var f=b[g].indexOf(")"),n=null,u=b[g].indexOf("format(",f);0<u&&(n=c(b[g].substring(u+7,b[g].indexOf(")",u))));mxUtils.bind(this,function(a){if(null==d[a]){d[a]=a;e++;var c="application/x-font-ttf"; if("svg"==n||/(\.svg)($|\?)/i.test(a))c="image/svg+xml";else if("otf"==n||"embedded-opentype"==n||/(\.otf)($|\?)/i.test(a))c="application/x-font-opentype";else if("woff"==n||/(\.woff)($|\?)/i.test(a))c="application/font-woff";else if("woff2"==n||/(\.woff2)($|\?)/i.test(a))c="application/font-woff2";else if("eot"==n||/(\.eot)($|\?)/i.test(a))c="application/vnd.ms-fontobject";else if("sfnt"==n||/(\.sfnt)($|\?)/i.test(a))c="application/font-sfnt";var b=a;/^https?:\/\//.test(b)&&!this.isCorsEnabledForUrl(b)&& (b=PROXY_URL+"?url="+encodeURIComponent(a));this.loadUrl(b,mxUtils.bind(this,function(c){d[a]=c;e--;k()}),mxUtils.bind(this,function(a){e--;k()}),!0,null,"data:"+c+";charset=utf-8;base64,")}})(c(b[g].substring(0,f)),n)}}else a()};Editor.prototype.convertMath=function(a,c,b,e){a.mathEnabled&&"undefined"!==typeof MathJax&&"undefined"!==typeof MathJax.Hub?(Editor.MathJaxRender(c),window.setTimeout(mxUtils.bind(this,function(){MathJax.Hub.Queue(mxUtils.bind(this,function(){e()}))}),0)):e()};Editor.prototype.isExportToCanvas= -function(){return mxClient.IS_CHROMEAPP||!this.graph.mathEnabled&&this.useCanvasForExport};Editor.prototype.exportToCanvas=function(a,c,b,e,d,k,g,f,n,u,q,z,l,x){k=null!=k?k:!0;z=null!=z?z:this.graph;l=null!=l?l:0;var t=n?null:z.background;t==mxConstants.NONE&&(t=null);null==t&&(t=e);null==t&&0==n&&(t=this.graph.defaultPageBackgroundColor);this.convertImages(z.getSvg(t,null,null,x,null,null!=g?g:!0,null,null,null,u),mxUtils.bind(this,function(b){var e=new Image;e.onload=mxUtils.bind(this,function(){try{var g= -document.createElement("canvas"),n=parseInt(b.getAttribute("width")),u=parseInt(b.getAttribute("height"));f=null!=f?f:1;null!=c&&(f=k?Math.min(1,Math.min(3*c/(4*u),c/n)):c/n);n=Math.ceil(f*n)+2*l;u=Math.ceil(f*u)+2*l;g.setAttribute("width",n);g.setAttribute("height",u);var q=g.getContext("2d");null!=t&&(q.beginPath(),q.rect(0,0,n,u),q.fillStyle=t,q.fill());q.scale(f,f);mxClient.IS_SF?window.setTimeout(function(){q.drawImage(e,l/f,l/f);a(g)},0):(q.drawImage(e,l/f,l/f),a(g))}catch(R){null!=d&&d(R)}}); -e.onerror=function(a){null!=d&&d(a)};try{u&&this.graph.addSvgShadow(b);var g=mxUtils.bind(this,function(){if(null!=this.resolvedFontCss){var a=document.createElement("style");a.setAttribute("type","text/css");a.innerHTML=this.resolvedFontCss;b.getElementsByTagName("defs")[0].appendChild(a)}this.convertMath(z,b,!0,mxUtils.bind(this,function(){e.src=this.createSvgDataUri(mxUtils.getXml(b))}))});this.loadFonts(g)}catch(S){null!=d&&d(S)}}),b,q)};Editor.prototype.writeGraphModelToPng=function(a,c,b,e, -d){function k(a,c){var b=n;n+=c;return a.substring(b,n)}function g(a){a=k(a,4);return a.charCodeAt(3)+(a.charCodeAt(2)<<8)+(a.charCodeAt(1)<<16)+(a.charCodeAt(0)<<24)}function f(a){return String.fromCharCode(a>>24&255,a>>16&255,a>>8&255,a&255)}a=a.substring(a.indexOf(",")+1);a=window.atob?atob(a):Base64.decode(a,!0);var n=0;if(k(a,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=d&&d();else if(k(a,4),"IHDR"!=k(a,4))null!=d&&d();else{k(a,17);d=a.substring(0,n);do{var t=g(a); -if("IDAT"==k(a,4)){d=a.substring(0,n-8);b=b+String.fromCharCode(0)+("zTXt"==c?String.fromCharCode(0):"")+e;e=4294967295;e=EditorUi.prototype.updateCRC(e,c,0,4);e=EditorUi.prototype.updateCRC(e,b,0,b.length);d+=f(b.length)+c+b+f(e^4294967295);d+=a.substring(n-8,a.length);break}d+=a.substring(n-8,n-4+t);k(a,t);k(a,4)}while(t);return"data:image/png;base64,"+(window.btoa?btoa(d):Base64.encode(d,!0))}};if(window.ColorDialog){FilenameDialog.filenameHelpLink="https://desk.draw.io/support/solutions/articles/16000091426"; +function(){return mxClient.IS_CHROMEAPP||!this.graph.mathEnabled&&this.useCanvasForExport};Editor.prototype.exportToCanvas=function(a,c,b,e,d,k,g,f,n,t,q,y,l,x){k=null!=k?k:!0;y=null!=y?y:this.graph;l=null!=l?l:0;var u=n?null:y.background;u==mxConstants.NONE&&(u=null);null==u&&(u=e);null==u&&0==n&&(u=this.graph.defaultPageBackgroundColor);this.convertImages(y.getSvg(u,null,null,x,null,null!=g?g:!0,null,null,null,t),mxUtils.bind(this,function(b){var e=new Image;e.onload=mxUtils.bind(this,function(){try{var g= +document.createElement("canvas"),n=parseInt(b.getAttribute("width")),t=parseInt(b.getAttribute("height"));f=null!=f?f:1;null!=c&&(f=k?Math.min(1,Math.min(3*c/(4*t),c/n)):c/n);n=Math.ceil(f*n)+2*l;t=Math.ceil(f*t)+2*l;g.setAttribute("width",n);g.setAttribute("height",t);var q=g.getContext("2d");null!=u&&(q.beginPath(),q.rect(0,0,n,t),q.fillStyle=u,q.fill());q.scale(f,f);mxClient.IS_SF?window.setTimeout(function(){q.drawImage(e,l/f,l/f);a(g)},0):(q.drawImage(e,l/f,l/f),a(g))}catch(R){null!=d&&d(R)}}); +e.onerror=function(a){null!=d&&d(a)};try{t&&this.graph.addSvgShadow(b);var g=mxUtils.bind(this,function(){if(null!=this.resolvedFontCss){var a=document.createElement("style");a.setAttribute("type","text/css");a.innerHTML=this.resolvedFontCss;b.getElementsByTagName("defs")[0].appendChild(a)}this.convertMath(y,b,!0,mxUtils.bind(this,function(){e.src=this.createSvgDataUri(mxUtils.getXml(b))}))});this.loadFonts(g)}catch(S){null!=d&&d(S)}}),b,q)};Editor.prototype.writeGraphModelToPng=function(a,c,b,e, +d){function k(a,c){var b=n;n+=c;return a.substring(b,n)}function g(a){a=k(a,4);return a.charCodeAt(3)+(a.charCodeAt(2)<<8)+(a.charCodeAt(1)<<16)+(a.charCodeAt(0)<<24)}function f(a){return String.fromCharCode(a>>24&255,a>>16&255,a>>8&255,a&255)}a=a.substring(a.indexOf(",")+1);a=window.atob?atob(a):Base64.decode(a,!0);var n=0;if(k(a,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=d&&d();else if(k(a,4),"IHDR"!=k(a,4))null!=d&&d();else{k(a,17);d=a.substring(0,n);do{var u=g(a); +if("IDAT"==k(a,4)){d=a.substring(0,n-8);b=b+String.fromCharCode(0)+("zTXt"==c?String.fromCharCode(0):"")+e;e=4294967295;e=EditorUi.prototype.updateCRC(e,c,0,4);e=EditorUi.prototype.updateCRC(e,b,0,b.length);d+=f(b.length)+c+b+f(e^4294967295);d+=a.substring(n-8,a.length);break}d+=a.substring(n-8,n-4+u);k(a,u);k(a,4)}while(u);return"data:image/png;base64,"+(window.btoa?btoa(d):Base64.encode(d,!0))}};if(window.ColorDialog){FilenameDialog.filenameHelpLink="https://desk.draw.io/support/solutions/articles/16000091426"; var l=ColorDialog.addRecentColor;ColorDialog.addRecentColor=function(a,c){l.apply(this,arguments);mxSettings.setRecentColors(ColorDialog.recentColors);mxSettings.save()};var m=ColorDialog.resetRecentColors;ColorDialog.resetRecentColors=function(){m.apply(this,arguments);mxSettings.setRecentColors(ColorDialog.recentColors);mxSettings.save()}}window.EditDataDialog&&(EditDataDialog.getDisplayIdForCell=function(a,c){var b=null;null!=a.editor.graph.getModel().getParent(c)?b=c.getId():null!=a.currentPage&& (b=a.currentPage.getId());return b});if(null!=window.StyleFormatPanel){var p=Format.prototype.init;Format.prototype.init=function(){p.apply(this,arguments);this.editorUi.editor.addListener("fileLoaded",this.update)};var v=Format.prototype.refresh;Format.prototype.refresh=function(){null!=this.editorUi.getCurrentFile()||"1"==urlParams.embed||this.editorUi.editor.chromeless?v.apply(this,arguments):this.clear()};DiagramFormatPanel.prototype.isShadowOptionVisible=function(){var a=this.editorUi.getCurrentFile(); -return"1"==urlParams.embed||null!=a&&a.isEditable()};DiagramFormatPanel.prototype.isMathOptionVisible=function(a){return!1};var y=DiagramFormatPanel.prototype.addView;DiagramFormatPanel.prototype.addView=function(a){a=y.apply(this,arguments);this.editorUi.getCurrentFile();if(mxClient.IS_SVG&&this.isShadowOptionVisible()){var c=this.editorUi,b=c.editor.graph,e=this.createOption(mxResources.get("shadow"),function(){return b.shadowVisible},function(a){var e=new ChangePageSetup(c);e.ignoreColor=!0;e.ignoreImage= +return"1"==urlParams.embed||null!=a&&a.isEditable()};DiagramFormatPanel.prototype.isMathOptionVisible=function(a){return!1};var z=DiagramFormatPanel.prototype.addView;DiagramFormatPanel.prototype.addView=function(a){a=z.apply(this,arguments);this.editorUi.getCurrentFile();if(mxClient.IS_SVG&&this.isShadowOptionVisible()){var c=this.editorUi,b=c.editor.graph,e=this.createOption(mxResources.get("shadow"),function(){return b.shadowVisible},function(a){var e=new ChangePageSetup(c);e.ignoreColor=!0;e.ignoreImage= !0;e.shadowVisible=a;b.model.execute(e)},{install:function(a){this.listener=function(){a(b.shadowVisible)};c.addListener("shadowVisibleChanged",this.listener)},destroy:function(){c.removeListener(this.listener)}});Editor.shadowOptionEnabled||(e.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),mxUtils.setOpacity(e,60));a.appendChild(e)}return a};var B=DiagramFormatPanel.prototype.addOptions;DiagramFormatPanel.prototype.addOptions=function(a){a=B.apply(this,arguments);var c=this.editorUi, b=c.editor.graph;if(b.isEnabled()){var e=c.getCurrentFile();if(null!=e&&e.isAutosaveOptional()){var d=this.createOption(mxResources.get("autosave"),function(){return c.editor.autosave},function(a){c.editor.setAutosave(a);c.editor.autosave&&e.isModified()&&e.fileChanged()},{install:function(a){this.listener=function(){a(c.editor.autosave)};c.editor.addListener("autosaveChanged",this.listener)},destroy:function(){c.editor.removeListener(this.listener)}});a.appendChild(d)}}if(this.isMathOptionVisible()&& b.isEnabled()&&"undefined"!==typeof MathJax){d=this.createOption(mxResources.get("mathematicalTypesetting"),function(){return b.mathEnabled},function(a){c.actions.get("mathematicalTypesetting").funct()},{install:function(a){this.listener=function(){a(b.mathEnabled)};c.addListener("mathEnabledChanged",this.listener)},destroy:function(){c.removeListener(this.listener)}});d.style.paddingTop="5px";a.appendChild(d);var k=c.menus.createHelpLink("https://desk.draw.io/support/solutions/articles/16000032875"); @@ -2879,19 +2879,19 @@ Editor.commonVertexProperties):Array.prototype.push.apply(d.shape.customProperti {},e=a.vertices,d=a.edges,k=0;k<e.length;k++)this.findCommonProperties(e[k],b,0==k);for(k=0;k<d.length;k++)this.findCommonProperties(d[k],b,0==e.length&&0==k);null!=Object.getOwnPropertyNames&&0<Object.getOwnPropertyNames(b).length&&this.container.appendChild(this.addProperties(this.createPanel(),b,a))}};var e=StyleFormatPanel.prototype.addStyleOps;StyleFormatPanel.prototype.addStyleOps=function(a){var c=mxUtils.button(mxResources.get("copyStyle"),mxUtils.bind(this,function(a){this.editorUi.actions.get("copyStyle").funct()})); c.setAttribute("title",mxResources.get("copyStyle")+" ("+this.editorUi.actions.get("copyStyle").shortcut+")");c.style.marginBottom="2px";c.style.width="100px";c.style.marginRight="2px";a.appendChild(c);c=mxUtils.button(mxResources.get("pasteStyle"),mxUtils.bind(this,function(a){this.editorUi.actions.get("pasteStyle").funct()}));c.setAttribute("title",mxResources.get("pasteStyle")+" ("+this.editorUi.actions.get("pasteStyle").shortcut+")");c.style.marginBottom="2px";c.style.width="100px";a.appendChild(c); mxUtils.br(a);return e.apply(this,arguments)};EditorUi.prototype.propertiesCollapsed=!0;StyleFormatPanel.prototype.addProperties=function(a,c,b){function e(a,c,b,e){q.getModel().beginUpdate();try{var d=[],k=[];if(null!=b.index){for(var g=[],f=b.parentRow.nextSibling;f&&f.getAttribute("data-pName")==a;)g.push(f.getAttribute("data-pValue")),f=f.nextSibling;b.index<g.length?null!=e?g.splice(e,1):g[b.index]=c:g.push(c);null!=b.size&&g.length>b.size&&(g=g.slice(0,b.size));c=g.join(",");null!=b.countProperty&& -(q.setCellStyles(b.countProperty,g.length,q.getSelectionCells()),d.push(b.countProperty),k.push(g.length))}q.setCellStyles(a,c,q.getSelectionCells());d.push(a);k.push(c);if(null!=b.dependentProps)for(a=0;a<b.dependentProps.length;a++){var n=b.dependentPropsDefVal[a],u=b.dependentPropsVals[a];if(u.length>c)u=u.slice(0,c);else for(var z=u.length;z<c;z++)u.push(n);u=u.join(",");q.setCellStyles(b.dependentProps[a],u,q.getSelectionCells());d.push(b.dependentProps[a]);k.push(u)}if("function"==typeof b.onChange)b.onChange(q, -c);t.editorUi.fireEvent(new mxEventObject("styleChanged","keys",d,"values",k,"cells",q.getSelectionCells()))}finally{q.getModel().endUpdate()}}function d(c,b,e){var d=mxUtils.getOffset(a,!0),k=mxUtils.getOffset(c,!0);b.style.position="absolute";b.style.left=k.x-d.x+"px";b.style.top=k.y-d.y+"px";b.style.width=c.offsetWidth+"px";b.style.height=c.offsetHeight-(e?4:0)+"px";b.style.zIndex=5}function k(a,c,b){var d=document.createElement("div");d.style.width="32px";d.style.height="4px";d.style.margin="2px"; -d.style.border="1px solid black";d.style.background=c&&"none"!=c?c:"url('"+Dialog.prototype.noColorImage+"')";btn=mxUtils.button("",mxUtils.bind(t,function(k){this.editorUi.pickColor(c,function(c){d.style.background="none"==c?"url('"+Dialog.prototype.noColorImage+"')":c;e(a,c,b)});mxEvent.consume(k)}));btn.style.height="12px";btn.style.width="40px";btn.className="geColorBtn";btn.appendChild(d);return btn}function g(a,c,b,d,k,g,f){null!=c&&(c=c.split(","),z.push({name:a,values:c,type:b,defVal:d,countProperty:k, -parentRow:g,isDeletable:!0,flipBkg:f}));btn=mxUtils.button("+",mxUtils.bind(t,function(c){for(var n=g,t=0;null!=n.nextSibling;)if(n.nextSibling.getAttribute("data-pName")==a)n=n.nextSibling,t++;else break;var q={type:b,parentRow:g,index:t,isDeletable:!0,defVal:d,countProperty:k},t=u(a,"",q,0==t%2,f);e(a,d,q);n.parentNode.insertBefore(t,n.nextSibling);mxEvent.consume(c)}));btn.style.height="16px";btn.style.width="25px";btn.className="geColorBtn";return btn}function f(a,c,b,e,d,k,g){if(0<d){var f=Array(d); -c=null!=c?c.split(","):[];for(var n=0;n<d;n++)f[n]=null!=c[n]?c[n]:null!=e?e:"";z.push({name:a,values:f,type:b,defVal:e,parentRow:k,flipBkg:g,size:d})}return document.createElement("div")}function n(a,c,b){var d=document.createElement("input");d.type="checkbox";d.checked="1"==c;mxEvent.addListener(d,"change",function(){e(a,d.checked?"1":"0",b)});return d}function u(c,b,u,q,z){var l=u.dispName,x=u.type,A=document.createElement("tr");A.className="gePropRow"+(z?"Dark":"")+(q?"Alt":"")+" gePropNonHeaderRow"; -A.setAttribute("data-pName",c);A.setAttribute("data-pValue",b);q=!1;null!=u.index&&(A.setAttribute("data-index",u.index),l=(null!=l?l:"")+"["+u.index+"]",q=!0);var C=document.createElement("td");C.className="gePropRowCell";C.innerHTML=mxUtils.htmlEntities(mxResources.get(l,null,l));q&&(C.style.textAlign="right");A.appendChild(C);C=document.createElement("td");C.className="gePropRowCell";if("color"==x)C.appendChild(k(c,b,u));else if("bool"==x||"boolean"==x)C.appendChild(n(c,b,u));else if("enum"==x){var D= -u.enumList;for(z=0;z<D.length;z++)if(l=D[z],l.val==b){C.innerHTML=mxUtils.htmlEntities(mxResources.get(l.dispName,null,l.dispName));break}mxEvent.addListener(C,"click",mxUtils.bind(t,function(){var k=document.createElement("select");d(C,k);for(var g=0;g<D.length;g++){var f=D[g],n=document.createElement("option");n.value=mxUtils.htmlEntities(f.val);n.innerHTML=mxUtils.htmlEntities(mxResources.get(f.dispName,null,f.dispName));k.appendChild(n)}k.value=b;a.appendChild(k);mxEvent.addListener(k,"change", -function(){var a=mxUtils.htmlEntities(k.value);e(c,a,u)});k.focus();mxEvent.addListener(k,"blur",function(){a.removeChild(k)})}))}else"dynamicArr"==x?C.appendChild(g(c,b,u.subType,u.subDefVal,u.countProperty,A,z)):"staticArr"==x?C.appendChild(f(c,b,u.subType,u.subDefVal,u.size,A,z)):(C.innerHTML=b,mxEvent.addListener(C,"click",mxUtils.bind(t,function(){function k(){var a=g.value,a=0==a.length&&"string"!=x?0:a;u.allowAuto&&("auto"==a.trim().toLowerCase()?(a="auto",x="string"):(a=parseFloat(a),a=isNaN(a)? -0:a));null!=u.min&&a<u.min?a=u.min:null!=u.max&&a>u.max&&(a=u.max);a=mxUtils.htmlEntities(("int"==x?parseInt(a):a)+"");e(c,a,u)}var g=document.createElement("input");d(C,g,!0);g.value=b;g.className="gePropEditor";"int"!=x&&"float"!=x||u.allowAuto||(g.type="number",g.step="int"==x?"1":"any",null!=u.min&&(g.min=parseFloat(u.min)),null!=u.max&&(g.max=parseFloat(u.max)));a.appendChild(g);mxEvent.addListener(g,"keypress",function(a){13==a.keyCode&&k()});g.focus();mxEvent.addListener(g,"blur",function(){k()})}))); -u.isDeletable&&(z=mxUtils.button("-",mxUtils.bind(t,function(a){e(c,"",u,u.index);mxEvent.consume(a)})),z.style.height="16px",z.style.width="25px",z.style["float"]="right",z.className="geColorBtn",C.appendChild(z));A.appendChild(C);return A}var t=this,q=this.editorUi.editor.graph,z=[];a.style.position="relative";a.style.padding="0";var l=document.createElement("table");l.style.whiteSpace="nowrap";l.style.width="100%";var x=document.createElement("tr");x.className="gePropHeader";var A=document.createElement("th"); -A.className="gePropHeaderCell";var C=document.createElement("img");C.src=Sidebar.prototype.expandedImage;A.appendChild(C);mxUtils.write(A,mxResources.get("property"));x.style.cursor="pointer";var m=function(){var c=l.querySelectorAll(".gePropNonHeaderRow"),b;if(t.editorUi.propertiesCollapsed){C.src=Sidebar.prototype.collapsedImage;b="none";for(var e=a.childNodes.length-1;0<=e;e--)try{var d=a.childNodes[e],k=d.nodeName.toUpperCase();"INPUT"!=k&&"SELECT"!=k||a.removeChild(d)}catch(J){}}else C.src=Sidebar.prototype.expandedImage, -b="";for(e=0;e<c.length;e++)c[e].style.display=b};mxEvent.addListener(x,"click",function(){t.editorUi.propertiesCollapsed=!t.editorUi.propertiesCollapsed;m()});x.appendChild(A);A=document.createElement("th");A.className="gePropHeaderCell";A.innerHTML=mxResources.get("value");x.appendChild(A);l.appendChild(x);var E=!1,F=!1,p;for(p in c)if(x=c[p],"function"!=typeof x.isVisible||x.isVisible(b,this)){var v=null!=b.style[p]?mxUtils.htmlEntities(b.style[p]+""):x.defVal;if("separator"==x.type)F=!F;else{if("staticArr"== -x.type)x.size=parseInt(b.style[x.sizeProperty]||c[x.sizeProperty].defVal)||0;else if(null!=x.dependentProps){for(var K=x.dependentProps,y=[],B=[],A=0;A<K.length;A++){var I=b.style[K[A]];B.push(c[K[A]].subDefVal);y.push(null!=I?I.split(","):[])}x.dependentPropsDefVal=B;x.dependentPropsVals=y}l.appendChild(u(p,v,x,E,F));E=!E}}for(A=0;A<z.length;A++)for(x=z[A],c=x.parentRow,b=0;b<x.values.length;b++)p=u(x.name,x.values[b],{type:x.type,parentRow:x.parentRow,isDeletable:x.isDeletable,index:b,defVal:x.defVal, +(q.setCellStyles(b.countProperty,g.length,q.getSelectionCells()),d.push(b.countProperty),k.push(g.length))}q.setCellStyles(a,c,q.getSelectionCells());d.push(a);k.push(c);if(null!=b.dependentProps)for(a=0;a<b.dependentProps.length;a++){var n=b.dependentPropsDefVal[a],t=b.dependentPropsVals[a];if(t.length>c)t=t.slice(0,c);else for(var y=t.length;y<c;y++)t.push(n);t=t.join(",");q.setCellStyles(b.dependentProps[a],t,q.getSelectionCells());d.push(b.dependentProps[a]);k.push(t)}if("function"==typeof b.onChange)b.onChange(q, +c);u.editorUi.fireEvent(new mxEventObject("styleChanged","keys",d,"values",k,"cells",q.getSelectionCells()))}finally{q.getModel().endUpdate()}}function d(c,b,e){var d=mxUtils.getOffset(a,!0),k=mxUtils.getOffset(c,!0);b.style.position="absolute";b.style.left=k.x-d.x+"px";b.style.top=k.y-d.y+"px";b.style.width=c.offsetWidth+"px";b.style.height=c.offsetHeight-(e?4:0)+"px";b.style.zIndex=5}function k(a,c,b){var d=document.createElement("div");d.style.width="32px";d.style.height="4px";d.style.margin="2px"; +d.style.border="1px solid black";d.style.background=c&&"none"!=c?c:"url('"+Dialog.prototype.noColorImage+"')";btn=mxUtils.button("",mxUtils.bind(u,function(k){this.editorUi.pickColor(c,function(c){d.style.background="none"==c?"url('"+Dialog.prototype.noColorImage+"')":c;e(a,c,b)});mxEvent.consume(k)}));btn.style.height="12px";btn.style.width="40px";btn.className="geColorBtn";btn.appendChild(d);return btn}function g(a,c,b,d,k,g,f){null!=c&&(c=c.split(","),y.push({name:a,values:c,type:b,defVal:d,countProperty:k, +parentRow:g,isDeletable:!0,flipBkg:f}));btn=mxUtils.button("+",mxUtils.bind(u,function(c){for(var n=g,u=0;null!=n.nextSibling;)if(n.nextSibling.getAttribute("data-pName")==a)n=n.nextSibling,u++;else break;var q={type:b,parentRow:g,index:u,isDeletable:!0,defVal:d,countProperty:k},u=t(a,"",q,0==u%2,f);e(a,d,q);n.parentNode.insertBefore(u,n.nextSibling);mxEvent.consume(c)}));btn.style.height="16px";btn.style.width="25px";btn.className="geColorBtn";return btn}function f(a,c,b,e,d,k,g){if(0<d){var f=Array(d); +c=null!=c?c.split(","):[];for(var n=0;n<d;n++)f[n]=null!=c[n]?c[n]:null!=e?e:"";y.push({name:a,values:f,type:b,defVal:e,parentRow:k,flipBkg:g,size:d})}return document.createElement("div")}function n(a,c,b){var d=document.createElement("input");d.type="checkbox";d.checked="1"==c;mxEvent.addListener(d,"change",function(){e(a,d.checked?"1":"0",b)});return d}function t(c,b,t,q,y){var l=t.dispName,x=t.type,A=document.createElement("tr");A.className="gePropRow"+(y?"Dark":"")+(q?"Alt":"")+" gePropNonHeaderRow"; +A.setAttribute("data-pName",c);A.setAttribute("data-pValue",b);q=!1;null!=t.index&&(A.setAttribute("data-index",t.index),l=(null!=l?l:"")+"["+t.index+"]",q=!0);var C=document.createElement("td");C.className="gePropRowCell";C.innerHTML=mxUtils.htmlEntities(mxResources.get(l,null,l));q&&(C.style.textAlign="right");A.appendChild(C);C=document.createElement("td");C.className="gePropRowCell";if("color"==x)C.appendChild(k(c,b,t));else if("bool"==x||"boolean"==x)C.appendChild(n(c,b,t));else if("enum"==x){var D= +t.enumList;for(y=0;y<D.length;y++)if(l=D[y],l.val==b){C.innerHTML=mxUtils.htmlEntities(mxResources.get(l.dispName,null,l.dispName));break}mxEvent.addListener(C,"click",mxUtils.bind(u,function(){var k=document.createElement("select");d(C,k);for(var g=0;g<D.length;g++){var f=D[g],n=document.createElement("option");n.value=mxUtils.htmlEntities(f.val);n.innerHTML=mxUtils.htmlEntities(mxResources.get(f.dispName,null,f.dispName));k.appendChild(n)}k.value=b;a.appendChild(k);mxEvent.addListener(k,"change", +function(){var a=mxUtils.htmlEntities(k.value);e(c,a,t)});k.focus();mxEvent.addListener(k,"blur",function(){a.removeChild(k)})}))}else"dynamicArr"==x?C.appendChild(g(c,b,t.subType,t.subDefVal,t.countProperty,A,y)):"staticArr"==x?C.appendChild(f(c,b,t.subType,t.subDefVal,t.size,A,y)):(C.innerHTML=b,mxEvent.addListener(C,"click",mxUtils.bind(u,function(){function k(){var a=g.value,a=0==a.length&&"string"!=x?0:a;t.allowAuto&&("auto"==a.trim().toLowerCase()?(a="auto",x="string"):(a=parseFloat(a),a=isNaN(a)? +0:a));null!=t.min&&a<t.min?a=t.min:null!=t.max&&a>t.max&&(a=t.max);a=mxUtils.htmlEntities(("int"==x?parseInt(a):a)+"");e(c,a,t)}var g=document.createElement("input");d(C,g,!0);g.value=b;g.className="gePropEditor";"int"!=x&&"float"!=x||t.allowAuto||(g.type="number",g.step="int"==x?"1":"any",null!=t.min&&(g.min=parseFloat(t.min)),null!=t.max&&(g.max=parseFloat(t.max)));a.appendChild(g);mxEvent.addListener(g,"keypress",function(a){13==a.keyCode&&k()});g.focus();mxEvent.addListener(g,"blur",function(){k()})}))); +t.isDeletable&&(y=mxUtils.button("-",mxUtils.bind(u,function(a){e(c,"",t,t.index);mxEvent.consume(a)})),y.style.height="16px",y.style.width="25px",y.style["float"]="right",y.className="geColorBtn",C.appendChild(y));A.appendChild(C);return A}var u=this,q=this.editorUi.editor.graph,y=[];a.style.position="relative";a.style.padding="0";var l=document.createElement("table");l.style.whiteSpace="nowrap";l.style.width="100%";var x=document.createElement("tr");x.className="gePropHeader";var A=document.createElement("th"); +A.className="gePropHeaderCell";var C=document.createElement("img");C.src=Sidebar.prototype.expandedImage;A.appendChild(C);mxUtils.write(A,mxResources.get("property"));x.style.cursor="pointer";var m=function(){var c=l.querySelectorAll(".gePropNonHeaderRow"),b;if(u.editorUi.propertiesCollapsed){C.src=Sidebar.prototype.collapsedImage;b="none";for(var e=a.childNodes.length-1;0<=e;e--)try{var d=a.childNodes[e],k=d.nodeName.toUpperCase();"INPUT"!=k&&"SELECT"!=k||a.removeChild(d)}catch(J){}}else C.src=Sidebar.prototype.expandedImage, +b="";for(e=0;e<c.length;e++)c[e].style.display=b};mxEvent.addListener(x,"click",function(){u.editorUi.propertiesCollapsed=!u.editorUi.propertiesCollapsed;m()});x.appendChild(A);A=document.createElement("th");A.className="gePropHeaderCell";A.innerHTML=mxResources.get("value");x.appendChild(A);l.appendChild(x);var E=!1,F=!1,p;for(p in c)if(x=c[p],"function"!=typeof x.isVisible||x.isVisible(b,this)){var v=null!=b.style[p]?mxUtils.htmlEntities(b.style[p]+""):x.defVal;if("separator"==x.type)F=!F;else{if("staticArr"== +x.type)x.size=parseInt(b.style[x.sizeProperty]||c[x.sizeProperty].defVal)||0;else if(null!=x.dependentProps){for(var K=x.dependentProps,z=[],B=[],A=0;A<K.length;A++){var I=b.style[K[A]];B.push(c[K[A]].subDefVal);z.push(null!=I?I.split(","):[])}x.dependentPropsDefVal=B;x.dependentPropsVals=z}l.appendChild(t(p,v,x,E,F));E=!E}}for(A=0;A<y.length;A++)for(x=y[A],c=x.parentRow,b=0;b<x.values.length;b++)p=t(x.name,x.values[b],{type:x.type,parentRow:x.parentRow,isDeletable:x.isDeletable,index:b,defVal:x.defVal, countProperty:x.countProperty,size:x.size},0==b%2,x.flipBkg),c.parentNode.insertBefore(p,c.nextSibling),c=p;a.appendChild(l);m();return a};StyleFormatPanel.prototype.addStyles=function(a){function c(a){function c(a){var c=mxUtils.button("",function(c){e.getModel().beginUpdate();try{var b=e.getSelectionCells();for(c=0;c<b.length;c++){for(var d=e.getModel().getStyle(b[c]),g=0;g<k.length;g++)d=mxUtils.removeStylename(d,k[g]);var f=e.getModel().isVertex(b[c])?e.defaultVertexStyle:e.defaultEdgeStyle;null!= a?(d=mxUtils.setStyle(d,mxConstants.STYLE_GRADIENTCOLOR,a.gradient||mxUtils.getValue(f,mxConstants.STYLE_GRADIENTCOLOR,null)),d=""==a.fill?mxUtils.setStyle(d,mxConstants.STYLE_FILLCOLOR,null):mxUtils.setStyle(d,mxConstants.STYLE_FILLCOLOR,a.fill||mxUtils.getValue(f,mxConstants.STYLE_FILLCOLOR,null)),d=""==a.stroke?mxUtils.setStyle(d,mxConstants.STYLE_STROKECOLOR,null):mxUtils.setStyle(d,mxConstants.STYLE_STROKECOLOR,a.stroke||mxUtils.getValue(f,mxConstants.STYLE_STROKECOLOR,null)),e.getModel().isVertex(b[c])&& (d=mxUtils.setStyle(d,mxConstants.STYLE_FONTCOLOR,a.font||mxUtils.getValue(f,mxConstants.STYLE_FONTCOLOR,null)))):(d=mxUtils.setStyle(d,mxConstants.STYLE_FILLCOLOR,mxUtils.getValue(f,mxConstants.STYLE_FILLCOLOR,"#ffffff")),d=mxUtils.setStyle(d,mxConstants.STYLE_STROKECOLOR,mxUtils.getValue(f,mxConstants.STYLE_STROKECOLOR,"#000000")),d=mxUtils.setStyle(d,mxConstants.STYLE_GRADIENTCOLOR,mxUtils.getValue(f,mxConstants.STYLE_GRADIENTCOLOR,null)),e.getModel().isVertex(b[c])&&(d=mxUtils.setStyle(d,mxConstants.STYLE_FONTCOLOR, @@ -2910,9 +2910,9 @@ a.button,c.relatedTarget=a.relatedTarget}catch(Q){}}k.apply(this,arguments);wind this.layoutManager.getLayout=function(a){var c=this.graph.getCellStyle(a);if(null!=c){if("rack"==c.childLayout){var b=new mxStackLayout(this.graph,!1);b.gridSize=null!=c.rackUnitSize?parseFloat(c.rackUnitSize):"undefined"!==typeof mxRackContainer?mxRackContainer.unitSize:20;b.fill=!0;b.marginLeft=c.marginLeft||0;b.marginRight=c.marginRight||0;b.marginTop=c.marginTop||0;b.marginBottom=c.marginBottom||0;b.allowGaps=c.allowGaps||0;b.resizeParent=!1;return b}if("undefined"!==typeof mxTableLayout&&"tableLayout"== c.childLayout)return b=new mxTableLayout(this.graph),b.rows=c.tableRows||2,b.columns=c.tableColumns||2,b.colPercentages=c.colPercentages,b.rowPercentages=c.rowPercentages,b.equalColumns="1"==mxUtils.getValue(c,"equalColumns",b.colPercentages?"0":"1"),b.equalRows="1"==mxUtils.getValue(c,"equalRows",b.rowPercentages?"0":"1"),b.resizeParent="1"==mxUtils.getValue(c,"resizeParent","1"),b.border=c.tableBorder||b.border,b.marginLeft=c.marginLeft||0,b.marginRight=c.marginRight||0,b.marginTop=c.marginTop|| 0,b.marginBottom=c.marginBottom||0,b.autoAddCol="1"==mxUtils.getValue(c,"autoAddCol","0"),b.autoAddRow="1"==mxUtils.getValue(c,"autoAddRow",b.autoAddCol?"0":"1"),b.colWidths=c.colWidths||"100",b.rowHeights=c.rowHeights||"50",b}return e.apply(this,arguments)};this.updateGlobalUrlVariables()};Graph.prototype.updateGlobalUrlVariables=function(){this.globalVars=Editor.globalVars;if(null!=urlParams.vars)try{this.globalVars=null!=this.globalVars?mxUtils.clone(this.globalVars):{};var a=JSON.parse(decodeURIComponent(urlParams.vars)); -if(null!=a)for(var c in a)this.globalVars[c]=a[c]}catch(K){null!=window.console&&console.log("Error in vars URL parameter: "+K)}};Graph.prototype.getExportVariables=function(){return null!=this.globalVars?mxUtils.clone(this.globalVars):{}};var u=Graph.prototype.getGlobalVariable;Graph.prototype.getGlobalVariable=function(a){var c=u.apply(this,arguments);null==c&&null!=this.globalVars&&(c=this.globalVars[a]);return c};Graph.prototype.getDefaultStylesheet=function(){if(null==this.defaultStylesheet){var a= +if(null!=a)for(var c in a)this.globalVars[c]=a[c]}catch(K){null!=window.console&&console.log("Error in vars URL parameter: "+K)}};Graph.prototype.getExportVariables=function(){return null!=this.globalVars?mxUtils.clone(this.globalVars):{}};var t=Graph.prototype.getGlobalVariable;Graph.prototype.getGlobalVariable=function(a){var c=t.apply(this,arguments);null==c&&null!=this.globalVars&&(c=this.globalVars[a]);return c};Graph.prototype.getDefaultStylesheet=function(){if(null==this.defaultStylesheet){var a= this.themes["default-style2"];this.defaultStylesheet=(new mxCodec(a.ownerDocument)).decode(a)}return this.defaultStylesheet};Graph.prototype.isViewer=function(){return urlParams.viewer};var n=Graph.prototype.getSvg;Graph.prototype.getSvg=function(){var a=null;null!=this.themes&&"darkTheme"==this.defaultThemeName&&(a=this.stylesheet,this.stylesheet=this.getDefaultStylesheet(),this.refresh());var c=n.apply(this,arguments);null!=a&&(this.stylesheet=a,this.refresh());return c};var g=Graph.prototype.isCssTransformsSupported; -Graph.prototype.isCssTransformsSupported=function(){return g.apply(this,arguments)&&!mxClient.IS_SF};var z=mxGraphView.prototype.validateBackgroundPage;mxGraphView.prototype.validateBackgroundPage=function(){z.apply(this,arguments);if(mxClient.IS_GC&&null!=this.getDrawPane()){var a=this.getDrawPane().parentNode;!this.graph.mathEnabled||mxClient.NO_FO||null!=this.webKitForceRepaintNode&&null!=this.webKitForceRepaintNode.parentNode||"svg"!=this.graph.container.firstChild.nodeName?null==this.webKitForceRepaintNode|| +Graph.prototype.isCssTransformsSupported=function(){return g.apply(this,arguments)&&!mxClient.IS_SF};var y=mxGraphView.prototype.validateBackgroundPage;mxGraphView.prototype.validateBackgroundPage=function(){y.apply(this,arguments);if(mxClient.IS_GC&&null!=this.getDrawPane()){var a=this.getDrawPane().parentNode;!this.graph.mathEnabled||mxClient.NO_FO||null!=this.webKitForceRepaintNode&&null!=this.webKitForceRepaintNode.parentNode||"svg"!=this.graph.container.firstChild.nodeName?null==this.webKitForceRepaintNode|| this.graph.mathEnabled&&("svg"==this.graph.container.firstChild.nodeName||this.graph.container.firstChild==this.webKitForceRepaintNode)||(null!=this.webKitForceRepaintNode.parentNode&&this.webKitForceRepaintNode.parentNode.removeChild(this.webKitForceRepaintNode),this.webKitForceRepaintNode=null):(this.webKitForceRepaintNode=document.createElement("div"),this.webKitForceRepaintNode.style.cssText="position:absolute;",a.ownerSVGElement.parentNode.insertBefore(this.webKitForceRepaintNode,a.ownerSVGElement))}}; var A=Graph.prototype.loadStylesheet;Graph.prototype.loadStylesheet=function(){A.apply(this,arguments);this.currentStyle="default-style2"};Graph.prototype.handleCustomLink=function(a){if("data:action/json,"==a.substring(0,17)&&(a=JSON.parse(a.substring(17)),null!=a.actions)){for(var c=0;c<a.actions.length;c++){var b=a.actions[c];if(null!=b.open)if(this.isCustomLink(b.open)){if(!this.customLinkClicked(b.open))return}else this.openLink(b.open)}this.model.beginUpdate();try{for(c=0;c<a.actions.length;c++)b= a.actions[c],null!=b.toggle&&this.toggleCells(this.getCellsForAction(b.toggle,!0)),null!=b.show&&this.setCellsVisible(this.getCellsForAction(b.show,!0),!0),null!=b.hide&&this.setCellsVisible(this.getCellsForAction(b.hide,!0),!1)}finally{this.model.endUpdate()}for(c=0;c<a.actions.length;c++){var b=a.actions[c],e=[];null!=b.select&&this.isEnabled()&&(e=this.getCellsForAction(b.select),this.setSelectionCells(e));null!=b.highlight&&(e=this.getCellsForAction(b.highlight),this.highlightCells(e,b.highlight.color, @@ -2920,7 +2920,7 @@ b.highlight.duration,b.highlight.opacity));null!=b.scroll&&(e=this.getCellsForAc null!=b&&"data:action/json,"==b.substring(0,17)&&(d[g].setAttribute("href",this.updateCustomLink(a,b)),k=!0);k&&this.labelChanged(c,e.innerHTML)}};Graph.prototype.updateCustomLink=function(a,c){if("data:action/json,"==c.substring(0,17))try{var b=JSON.parse(c.substring(17));null!=b.actions&&(this.updateCustomLinkActions(a,b.actions),c="data:action/json,"+JSON.stringify(b))}catch(Y){}return c};Graph.prototype.updateCustomLinkActions=function(a,c){for(var b=0;b<c.length;b++){var e=c[b];this.updateCustomLinkAction(a, e.toggle);this.updateCustomLinkAction(a,e.show);this.updateCustomLinkAction(a,e.hide);this.updateCustomLinkAction(a,e.select);this.updateCustomLinkAction(a,e.highlight);this.updateCustomLinkAction(a,e.scroll)}};Graph.prototype.updateCustomLinkAction=function(a,c){if(null!=c&&null!=c.cells){for(var b=[],e=0;e<c.cells.length;e++)if("*"==c.cells[e])b.push(c.cells[e]);else{var d=a[c.cells[e]];null!=d?""!=d&&b.push(d):b.push(c.cells[e])}c.cells=b}};Graph.prototype.getCellsForAction=function(a,c){return this.getCellsById(a.cells).concat(this.getCellsForTags(a.tags, null,null,c))};Graph.prototype.getCellsById=function(a){var c=[];if(null!=a)for(var b=0;b<a.length;b++)if("*"==a[b])var e=this.getDefaultParent(),c=c.concat(this.model.filterDescendants(function(a){return a!=e},e));else{var d=this.model.getCell(a[b]);null!=d&&c.push(d)}return c};Graph.prototype.getCellsForTags=function(a,c,b,e){var d=[];if(null!=a){c=null!=c?c:this.model.getDescendants(this.model.getRoot());b=null!=b?b:"tags";for(var k=0,g={},f=0;f<a.length;f++)0<a[f].length&&(g[a[f].toLowerCase()]= -!0,k++);for(f=0;f<c.length;f++)if(e&&this.model.getParent(c[f])==this.model.root||this.model.isVertex(c[f])||this.model.isEdge(c[f])){var n=null!=c[f].value&&"object"==typeof c[f].value?mxUtils.trim(c[f].value.getAttribute(b)||""):"",u=!1;if(0<n.length){if(n=n.toLowerCase().split(" "),n.length>=a.length){for(var q=u=0;q<n.length&&u<k;q++)null!=g[n[q]]&&u++;u=u==k}}else u=0==a.length;u&&d.push(c[f])}}return d};Graph.prototype.toggleCells=function(a){this.model.beginUpdate();try{for(var c=0;c<a.length;c++)this.model.setVisible(a[c], +!0,k++);for(f=0;f<c.length;f++)if(e&&this.model.getParent(c[f])==this.model.root||this.model.isVertex(c[f])||this.model.isEdge(c[f])){var n=null!=c[f].value&&"object"==typeof c[f].value?mxUtils.trim(c[f].value.getAttribute(b)||""):"",t=!1;if(0<n.length){if(n=n.toLowerCase().split(" "),n.length>=a.length){for(var q=t=0;q<n.length&&t<k;q++)null!=g[n[q]]&&t++;t=t==k}}else t=0==a.length;t&&d.push(c[f])}}return d};Graph.prototype.toggleCells=function(a){this.model.beginUpdate();try{for(var c=0;c<a.length;c++)this.model.setVisible(a[c], !this.model.isVisible(a[c]))}finally{this.model.endUpdate()}};Graph.prototype.setCellsVisible=function(a,c){this.model.beginUpdate();try{for(var b=0;b<a.length;b++)this.model.setVisible(a[b],c)}finally{this.model.endUpdate()}};Graph.prototype.highlightCells=function(a,c,b,e){for(var d=0;d<a.length;d++)this.highlightCell(a[d],c,b,e)};Graph.prototype.highlightCell=function(a,c,b,e){c=null!=c?c:mxConstants.DEFAULT_VALID_COLOR;b=null!=b?b:1E3;a=this.view.getState(a);if(null!=a){var d=Math.max(5,mxUtils.getValue(a.style, mxConstants.STYLE_STROKEWIDTH,1)+4),k=new mxCellHighlight(this,c,d,!1);null!=e&&(k.opacity=e);k.highlight(a);window.setTimeout(function(){null!=k.shape&&(mxUtils.setPrefixedStyle(k.shape.node.style,"transition","all 1200ms ease-in-out"),k.shape.node.style.opacity=0);window.setTimeout(function(){k.destroy()},1200)},b)}};Graph.prototype.addSvgShadow=function(a,c,b){b=null!=b?b:!1;var e=a.ownerDocument,d=null!=e.createElementNS?e.createElementNS(mxConstants.NS_SVG,"filter"):e.createElement("filter"); d.setAttribute("id",this.shadowId);var k=null!=e.createElementNS?e.createElementNS(mxConstants.NS_SVG,"feGaussianBlur"):e.createElement("feGaussianBlur");k.setAttribute("in","SourceAlpha");k.setAttribute("stdDeviation",this.svgShadowBlur);k.setAttribute("result","blur");d.appendChild(k);k=null!=e.createElementNS?e.createElementNS(mxConstants.NS_SVG,"feOffset"):e.createElement("feOffset");k.setAttribute("in","blur");k.setAttribute("dx",this.svgShadowSize);k.setAttribute("dy",this.svgShadowSize);k.setAttribute("result", @@ -2936,28 +2936,28 @@ a)?this.view.getDrawPane().setAttribute("filter","url(#"+this.shadowId+")"):this [SHAPES_PATH+"/mockup/mxMockupText.js"];mxStencilRegistry.libraries.floorplan=[SHAPES_PATH+"/mxFloorplan.js",STENCIL_PATH+"/floorplan.xml"];mxStencilRegistry.libraries.bootstrap=[SHAPES_PATH+"/mxBootstrap.js",STENCIL_PATH+"/bootstrap.xml"];mxStencilRegistry.libraries.gmdl=[SHAPES_PATH+"/mxGmdl.js",STENCIL_PATH+"/gmdl.xml"];mxStencilRegistry.libraries.gcp2=[SHAPES_PATH+"/mxGCP2.js",STENCIL_PATH+"/gcp2.xml"];mxStencilRegistry.libraries.cabinets=[SHAPES_PATH+"/mxCabinets.js",STENCIL_PATH+"/cabinets.xml"]; mxStencilRegistry.libraries.archimate=[SHAPES_PATH+"/mxArchiMate.js"];mxStencilRegistry.libraries.archimate3=[SHAPES_PATH+"/mxArchiMate3.js"];mxStencilRegistry.libraries.sysml=[SHAPES_PATH+"/mxSysML.js"];mxStencilRegistry.libraries.eip=[SHAPES_PATH+"/mxEip.js",STENCIL_PATH+"/eip.xml"];mxStencilRegistry.libraries.networks=[SHAPES_PATH+"/mxNetworks.js",STENCIL_PATH+"/networks.xml"];mxStencilRegistry.libraries.aws3d=[SHAPES_PATH+"/mxAWS3D.js",STENCIL_PATH+"/aws3d.xml"];mxStencilRegistry.libraries.aws4= [SHAPES_PATH+"/mxAWS4.js",STENCIL_PATH+"/aws4.xml"];mxStencilRegistry.libraries.aws4b=[SHAPES_PATH+"/mxAWS4.js",STENCIL_PATH+"/aws4.xml"];mxStencilRegistry.libraries.veeam=[STENCIL_PATH+"/veeam/2d.xml",STENCIL_PATH+"/veeam/3d.xml",STENCIL_PATH+"/veeam/veeam.xml"];mxStencilRegistry.libraries.pid2inst=[SHAPES_PATH+"/pid2/mxPidInstruments.js"];mxStencilRegistry.libraries.pid2misc=[SHAPES_PATH+"/pid2/mxPidMisc.js",STENCIL_PATH+"/pid/misc.xml"];mxStencilRegistry.libraries.pid2valves=[SHAPES_PATH+"/pid2/mxPidValves.js"]; -mxStencilRegistry.libraries.pidFlowSensors=[STENCIL_PATH+"/pid/flow_sensors.xml"];mxMarker.getPackageForType=function(a){var c=null;null!=a&&0<a.length&&("ER"==a.substring(0,2)?c="mxgraph.er":"sysML"==a.substring(0,5)&&(c="mxgraph.sysml"));return c};var q=mxMarker.createMarker;mxMarker.createMarker=function(a,c,b,e,d,k,g,f,n,u){if(null!=b&&null==mxMarker.markers[b]){var z=this.getPackageForType(b);null!=z&&mxStencilRegistry.getStencil(z)}return q.apply(this,arguments)};PrintDialog.prototype.create= -function(a,c){function b(){x.value=Math.max(1,Math.min(f,Math.max(parseInt(x.value),parseInt(l.value))));l.value=Math.max(1,Math.min(f,Math.min(parseInt(x.value),parseInt(l.value))))}function e(c){function b(c,b,k){var g=c.useCssTransforms,f=c.currentTranslate,n=c.currentScale,u=c.view.translate,q=c.view.scale;c.useCssTransforms&&(c.useCssTransforms=!1,c.currentTranslate=new mxPoint(0,0),c.currentScale=1,c.view.translate=new mxPoint(0,0),c.view.scale=1);var z=c.getGraphBounds(),l=0,t=0,x=ha.get(), -A=1/c.pageScale,F=E.checked;if(F)var A=parseInt(N.value),p=parseInt(T.value),A=Math.min(x.height*p/(z.height/c.view.scale),x.width*A/(z.width/c.view.scale));else A=parseInt(m.value)/(100*c.pageScale),isNaN(A)&&(e=1/c.pageScale,m.value="100 %");x=mxRectangle.fromRectangle(x);x.width=Math.ceil(x.width*e);x.height=Math.ceil(x.height*e);A*=e;!F&&c.pageVisible?(z=c.getPageLayout(),l-=z.x*x.width,t-=z.y*x.height):F=!0;if(null==b){b=PrintDialog.createPrintPreview(c,A,x,0,l,t,F);b.pageSelector=!1;b.mathEnabled= +mxStencilRegistry.libraries.pidFlowSensors=[STENCIL_PATH+"/pid/flow_sensors.xml"];mxMarker.getPackageForType=function(a){var c=null;null!=a&&0<a.length&&("ER"==a.substring(0,2)?c="mxgraph.er":"sysML"==a.substring(0,5)&&(c="mxgraph.sysml"));return c};var q=mxMarker.createMarker;mxMarker.createMarker=function(a,c,b,e,d,k,g,f,n,t){if(null!=b&&null==mxMarker.markers[b]){var y=this.getPackageForType(b);null!=y&&mxStencilRegistry.getStencil(y)}return q.apply(this,arguments)};PrintDialog.prototype.create= +function(a,c){function b(){x.value=Math.max(1,Math.min(f,Math.max(parseInt(x.value),parseInt(l.value))));l.value=Math.max(1,Math.min(f,Math.min(parseInt(x.value),parseInt(l.value))))}function e(c){function b(c,b,k){var g=c.useCssTransforms,f=c.currentTranslate,n=c.currentScale,t=c.view.translate,q=c.view.scale;c.useCssTransforms&&(c.useCssTransforms=!1,c.currentTranslate=new mxPoint(0,0),c.currentScale=1,c.view.translate=new mxPoint(0,0),c.view.scale=1);var y=c.getGraphBounds(),l=0,u=0,x=ha.get(), +A=1/c.pageScale,F=E.checked;if(F)var A=parseInt(N.value),p=parseInt(T.value),A=Math.min(x.height*p/(y.height/c.view.scale),x.width*A/(y.width/c.view.scale));else A=parseInt(m.value)/(100*c.pageScale),isNaN(A)&&(e=1/c.pageScale,m.value="100 %");x=mxRectangle.fromRectangle(x);x.width=Math.ceil(x.width*e);x.height=Math.ceil(x.height*e);A*=e;!F&&c.pageVisible?(y=c.getPageLayout(),l-=y.x*x.width,u-=y.y*x.height):F=!0;if(null==b){b=PrintDialog.createPrintPreview(c,A,x,0,l,u,F);b.pageSelector=!1;b.mathEnabled= !1;l=a.getCurrentFile();null!=l&&(b.title=l.getTitle());var D=b.writeHead;b.writeHead=function(c){D.apply(this,arguments);null!=a.editor.fontCss&&(c.writeln('<style type="text/css">'),c.writeln(a.editor.fontCss),c.writeln("</style>"))};if("undefined"!==typeof MathJax){var C=b.renderPage;b.renderPage=function(a,c,b,e,d,k){var g=mxClient.NO_FO;mxClient.NO_FO=this.graph.mathEnabled&&!this.useForeignObjectForMath?!0:this.originalNoForeignObject;var f=C.apply(this,arguments);mxClient.NO_FO=g;this.graph.mathEnabled? -this.mathEnabled=this.mathEnabled||!0:f.className="geDisableMathJax";return f}}l=null;null!=d.themes&&"darkTheme"==d.defaultThemeName&&(l=d.stylesheet,d.stylesheet=d.getDefaultStylesheet(),d.refresh());b.open(null,null,k,!0);null!=l&&(d.stylesheet=l,d.refresh())}else{x=c.background;if(null==x||""==x||x==mxConstants.NONE)x="#ffffff";b.backgroundColor=x;b.autoOrigin=F;b.appendGraph(c,A,l,t,k,!0)}g&&(c.useCssTransforms=g,c.currentTranslate=f,c.currentScale=n,c.view.translate=u,c.view.scale=q);return b} -var e=parseInt(ia.value)/100;isNaN(e)&&(e=1,ia.value="100 %");var e=.75*e,k=l.value,g=x.value,f=!q.checked,u=null;f&&(f=k==n&&g==n);if(!f&&null!=a.pages&&a.pages.length){var z=0,f=a.pages.length-1;q.checked||(z=parseInt(k)-1,f=parseInt(g)-1);for(var t=z;t<=f;t++){var A=a.pages[t],k=A==a.currentPage?d:null;if(null==k){var k=a.createTemporaryGraph(d.getStylesheet()),g=!0,z=!1,p=null,F=null;null==A.viewState&&null==A.root&&a.updatePageRoot(A);null!=A.viewState&&(g=A.viewState.pageVisible,z=A.viewState.mathEnabled, -p=A.viewState.background,F=A.viewState.backgroundImage);k.background=p;k.backgroundImage=null!=F?new mxImage(F.src,F.width,F.height):null;k.pageVisible=g;k.mathEnabled=z;var D=k.getGlobalVariable;k.getGlobalVariable=function(c){return"page"==c?A.getName():"pagenumber"==c?t+1:"pagecount"==c?null!=a.pages?a.pages.length:1:D.apply(this,arguments)};document.body.appendChild(k.container);a.updatePageRoot(A);k.model.setRoot(A.root)}u=b(k,u,t!=f);k!=d&&k.container.parentNode.removeChild(k.container)}}else u= -b(d);null==u?a.handleError({message:mxResources.get("errorUpdatingPreview")}):(u.mathEnabled&&(f=u.wnd.document,f.writeln('<script type="text/x-mathjax-config">'),f.writeln("MathJax.Hub.Config({"),f.writeln("showMathMenu: false,"),f.writeln('messageStyle: "none",'),f.writeln('jax: ["input/TeX", "input/MathML", "input/AsciiMath", "output/HTML-CSS"],'),f.writeln('extensions: ["tex2jax.js", "mml2jax.js", "asciimath2jax.js"],'),f.writeln('"HTML-CSS": {'),f.writeln("imageFont: null"),f.writeln("},"),f.writeln("TeX: {"), +this.mathEnabled=this.mathEnabled||!0:f.className="geDisableMathJax";return f}}l=null;null!=d.themes&&"darkTheme"==d.defaultThemeName&&(l=d.stylesheet,d.stylesheet=d.getDefaultStylesheet(),d.refresh());b.open(null,null,k,!0);null!=l&&(d.stylesheet=l,d.refresh())}else{x=c.background;if(null==x||""==x||x==mxConstants.NONE)x="#ffffff";b.backgroundColor=x;b.autoOrigin=F;b.appendGraph(c,A,l,u,k,!0)}g&&(c.useCssTransforms=g,c.currentTranslate=f,c.currentScale=n,c.view.translate=t,c.view.scale=q);return b} +var e=parseInt(ia.value)/100;isNaN(e)&&(e=1,ia.value="100 %");var e=.75*e,k=l.value,g=x.value,f=!q.checked,t=null;f&&(f=k==n&&g==n);if(!f&&null!=a.pages&&a.pages.length){var y=0,f=a.pages.length-1;q.checked||(y=parseInt(k)-1,f=parseInt(g)-1);for(var u=y;u<=f;u++){var A=a.pages[u],k=A==a.currentPage?d:null;if(null==k){var k=a.createTemporaryGraph(d.getStylesheet()),g=!0,y=!1,p=null,F=null;null==A.viewState&&null==A.root&&a.updatePageRoot(A);null!=A.viewState&&(g=A.viewState.pageVisible,y=A.viewState.mathEnabled, +p=A.viewState.background,F=A.viewState.backgroundImage);k.background=p;k.backgroundImage=null!=F?new mxImage(F.src,F.width,F.height):null;k.pageVisible=g;k.mathEnabled=y;var D=k.getGlobalVariable;k.getGlobalVariable=function(c){return"page"==c?A.getName():"pagenumber"==c?u+1:"pagecount"==c?null!=a.pages?a.pages.length:1:D.apply(this,arguments)};document.body.appendChild(k.container);a.updatePageRoot(A);k.model.setRoot(A.root)}t=b(k,t,u!=f);k!=d&&k.container.parentNode.removeChild(k.container)}}else t= +b(d);null==t?a.handleError({message:mxResources.get("errorUpdatingPreview")}):(t.mathEnabled&&(f=t.wnd.document,f.writeln('<script type="text/x-mathjax-config">'),f.writeln("MathJax.Hub.Config({"),f.writeln("showMathMenu: false,"),f.writeln('messageStyle: "none",'),f.writeln('jax: ["input/TeX", "input/MathML", "input/AsciiMath", "output/HTML-CSS"],'),f.writeln('extensions: ["tex2jax.js", "mml2jax.js", "asciimath2jax.js"],'),f.writeln('"HTML-CSS": {'),f.writeln("imageFont: null"),f.writeln("},"),f.writeln("TeX: {"), f.writeln('extensions: ["AMSmath.js", "AMSsymbols.js", "noErrors.js", "noUndefined.js"]'),f.writeln("},"),f.writeln("tex2jax: {"),f.writeln('\tignoreClass: "geDisableMathJax"'),f.writeln("},"),f.writeln("asciimath2jax: {"),f.writeln('\tignoreClass: "geDisableMathJax"'),f.writeln("}"),f.writeln("});"),c&&(f.writeln("MathJax.Hub.Queue(function () {"),f.writeln("window.print();"),f.writeln("});")),f.writeln("\x3c/script>"),f.writeln('<script type="text/javascript" src="'+DRAW_MATH_URL+'/MathJax.js">\x3c/script>')), -u.closeDocument(),!u.mathEnabled&&c&&PrintDialog.printPreview(u))}var d=a.editor.graph,k=document.createElement("div"),g=document.createElement("h3");g.style.width="100%";g.style.textAlign="center";g.style.marginTop="0px";mxUtils.write(g,c||mxResources.get("print"));k.appendChild(g);var f=1,n=1,u=document.createElement("div");u.style.cssText="border-bottom:1px solid lightGray;padding-bottom:12px;margin-bottom:12px;";var q=document.createElement("input");q.style.cssText="margin-right:8px;margin-bottom:8px;"; -q.setAttribute("value","all");q.setAttribute("type","radio");q.setAttribute("name","pages-printdialog");u.appendChild(q);g=document.createElement("span");mxUtils.write(g,mxResources.get("printAllPages"));u.appendChild(g);mxUtils.br(u);var z=q.cloneNode(!0);q.setAttribute("checked","checked");z.setAttribute("value","range");u.appendChild(z);g=document.createElement("span");mxUtils.write(g,mxResources.get("pages")+":");u.appendChild(g);var l=document.createElement("input");l.style.cssText="margin:0 8px 0 8px;"; -l.setAttribute("value","1");l.setAttribute("type","number");l.setAttribute("min","1");l.style.width="50px";u.appendChild(l);g=document.createElement("span");mxUtils.write(g,mxResources.get("to"));u.appendChild(g);var x=l.cloneNode(!0);u.appendChild(x);mxEvent.addListener(l,"focus",function(){z.checked=!0});mxEvent.addListener(x,"focus",function(){z.checked=!0});mxEvent.addListener(l,"change",b);mxEvent.addListener(x,"change",b);if(null!=a.pages&&(f=a.pages.length,null!=a.currentPage))for(g=0;g<a.pages.length;g++)if(a.currentPage== -a.pages[g]){n=g+1;l.value=n;x.value=n;break}l.setAttribute("max",f);x.setAttribute("max",f);1<f&&k.appendChild(u);var t=document.createElement("div");t.style.marginBottom="10px";var A=document.createElement("input");A.style.marginRight="8px";A.setAttribute("value","adjust");A.setAttribute("type","radio");A.setAttribute("name","printZoom");t.appendChild(A);g=document.createElement("span");mxUtils.write(g,mxResources.get("adjustTo"));t.appendChild(g);var m=document.createElement("input");m.style.cssText= -"margin:0 8px 0 8px;";m.setAttribute("value","100 %");m.style.width="50px";t.appendChild(m);mxEvent.addListener(m,"focus",function(){A.checked=!0});k.appendChild(t);var u=u.cloneNode(!1),E=A.cloneNode(!0);E.setAttribute("value","fit");A.setAttribute("checked","checked");g=document.createElement("div");g.style.cssText="display:inline-block;height:100%;vertical-align:top;padding-top:2px;";g.appendChild(E);u.appendChild(g);t=document.createElement("table");t.style.display="inline-block";var p=document.createElement("tbody"), -F=document.createElement("tr"),C=F.cloneNode(!0),v=document.createElement("td"),y=v.cloneNode(!0),B=v.cloneNode(!0),M=v.cloneNode(!0),I=v.cloneNode(!0),ea=v.cloneNode(!0);v.style.textAlign="right";M.style.textAlign="right";mxUtils.write(v,mxResources.get("fitTo"));var N=document.createElement("input");N.style.cssText="margin:0 8px 0 8px;";N.setAttribute("value","1");N.setAttribute("min","1");N.setAttribute("type","number");N.style.width="40px";y.appendChild(N);g=document.createElement("span");mxUtils.write(g, -mxResources.get("fitToSheetsAcross"));B.appendChild(g);mxUtils.write(M,mxResources.get("fitToBy"));var T=N.cloneNode(!0);I.appendChild(T);mxEvent.addListener(N,"focus",function(){E.checked=!0});mxEvent.addListener(T,"focus",function(){E.checked=!0});g=document.createElement("span");mxUtils.write(g,mxResources.get("fitToSheetsDown"));ea.appendChild(g);F.appendChild(v);F.appendChild(y);F.appendChild(B);C.appendChild(M);C.appendChild(I);C.appendChild(ea);p.appendChild(F);p.appendChild(C);t.appendChild(p); -u.appendChild(t);k.appendChild(u);u=document.createElement("div");g=document.createElement("div");g.style.fontWeight="bold";g.style.marginBottom="12px";mxUtils.write(g,mxResources.get("paperSize"));u.appendChild(g);g=document.createElement("div");g.style.marginBottom="12px";var ha=PageSetupDialog.addPageFormatPanel(g,"printdialog",a.editor.graph.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT);u.appendChild(g);g=document.createElement("span");mxUtils.write(g,mxResources.get("pageScale"));u.appendChild(g); -var ia=document.createElement("input");ia.style.cssText="margin:0 8px 0 8px;";ia.setAttribute("value","100 %");ia.style.width="60px";u.appendChild(ia);k.appendChild(u);g=document.createElement("div");g.style.cssText="text-align:right;margin:48px 0 0 0;";u=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});u.className="geBtn";a.editor.cancelFirst&&g.appendChild(u);a.isOffline()||(t=mxUtils.button(mxResources.get("help"),function(){d.openLink("https://desk.draw.io/support/solutions/articles/16000048947")}), -t.className="geBtn",g.appendChild(t));PrintDialog.previewEnabled&&(t=mxUtils.button(mxResources.get("preview"),function(){a.hideDialog();e(!1)}),t.className="geBtn",g.appendChild(t));t=mxUtils.button(mxResources.get(PrintDialog.previewEnabled?"print":"ok"),function(){a.hideDialog();e(!0)});t.className="geBtn gePrimaryBtn";g.appendChild(t);a.editor.cancelFirst||g.appendChild(u);k.appendChild(g);this.container=k};var F=ChangePageSetup.prototype.execute;ChangePageSetup.prototype.execute=function(){null== +t.closeDocument(),!t.mathEnabled&&c&&PrintDialog.printPreview(t))}var d=a.editor.graph,k=document.createElement("div"),g=document.createElement("h3");g.style.width="100%";g.style.textAlign="center";g.style.marginTop="0px";mxUtils.write(g,c||mxResources.get("print"));k.appendChild(g);var f=1,n=1,t=document.createElement("div");t.style.cssText="border-bottom:1px solid lightGray;padding-bottom:12px;margin-bottom:12px;";var q=document.createElement("input");q.style.cssText="margin-right:8px;margin-bottom:8px;"; +q.setAttribute("value","all");q.setAttribute("type","radio");q.setAttribute("name","pages-printdialog");t.appendChild(q);g=document.createElement("span");mxUtils.write(g,mxResources.get("printAllPages"));t.appendChild(g);mxUtils.br(t);var y=q.cloneNode(!0);q.setAttribute("checked","checked");y.setAttribute("value","range");t.appendChild(y);g=document.createElement("span");mxUtils.write(g,mxResources.get("pages")+":");t.appendChild(g);var l=document.createElement("input");l.style.cssText="margin:0 8px 0 8px;"; +l.setAttribute("value","1");l.setAttribute("type","number");l.setAttribute("min","1");l.style.width="50px";t.appendChild(l);g=document.createElement("span");mxUtils.write(g,mxResources.get("to"));t.appendChild(g);var x=l.cloneNode(!0);t.appendChild(x);mxEvent.addListener(l,"focus",function(){y.checked=!0});mxEvent.addListener(x,"focus",function(){y.checked=!0});mxEvent.addListener(l,"change",b);mxEvent.addListener(x,"change",b);if(null!=a.pages&&(f=a.pages.length,null!=a.currentPage))for(g=0;g<a.pages.length;g++)if(a.currentPage== +a.pages[g]){n=g+1;l.value=n;x.value=n;break}l.setAttribute("max",f);x.setAttribute("max",f);1<f&&k.appendChild(t);var u=document.createElement("div");u.style.marginBottom="10px";var A=document.createElement("input");A.style.marginRight="8px";A.setAttribute("value","adjust");A.setAttribute("type","radio");A.setAttribute("name","printZoom");u.appendChild(A);g=document.createElement("span");mxUtils.write(g,mxResources.get("adjustTo"));u.appendChild(g);var m=document.createElement("input");m.style.cssText= +"margin:0 8px 0 8px;";m.setAttribute("value","100 %");m.style.width="50px";u.appendChild(m);mxEvent.addListener(m,"focus",function(){A.checked=!0});k.appendChild(u);var t=t.cloneNode(!1),E=A.cloneNode(!0);E.setAttribute("value","fit");A.setAttribute("checked","checked");g=document.createElement("div");g.style.cssText="display:inline-block;height:100%;vertical-align:top;padding-top:2px;";g.appendChild(E);t.appendChild(g);u=document.createElement("table");u.style.display="inline-block";var p=document.createElement("tbody"), +F=document.createElement("tr"),C=F.cloneNode(!0),v=document.createElement("td"),z=v.cloneNode(!0),B=v.cloneNode(!0),M=v.cloneNode(!0),I=v.cloneNode(!0),ea=v.cloneNode(!0);v.style.textAlign="right";M.style.textAlign="right";mxUtils.write(v,mxResources.get("fitTo"));var N=document.createElement("input");N.style.cssText="margin:0 8px 0 8px;";N.setAttribute("value","1");N.setAttribute("min","1");N.setAttribute("type","number");N.style.width="40px";z.appendChild(N);g=document.createElement("span");mxUtils.write(g, +mxResources.get("fitToSheetsAcross"));B.appendChild(g);mxUtils.write(M,mxResources.get("fitToBy"));var T=N.cloneNode(!0);I.appendChild(T);mxEvent.addListener(N,"focus",function(){E.checked=!0});mxEvent.addListener(T,"focus",function(){E.checked=!0});g=document.createElement("span");mxUtils.write(g,mxResources.get("fitToSheetsDown"));ea.appendChild(g);F.appendChild(v);F.appendChild(z);F.appendChild(B);C.appendChild(M);C.appendChild(I);C.appendChild(ea);p.appendChild(F);p.appendChild(C);u.appendChild(p); +t.appendChild(u);k.appendChild(t);t=document.createElement("div");g=document.createElement("div");g.style.fontWeight="bold";g.style.marginBottom="12px";mxUtils.write(g,mxResources.get("paperSize"));t.appendChild(g);g=document.createElement("div");g.style.marginBottom="12px";var ha=PageSetupDialog.addPageFormatPanel(g,"printdialog",a.editor.graph.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT);t.appendChild(g);g=document.createElement("span");mxUtils.write(g,mxResources.get("pageScale"));t.appendChild(g); +var ia=document.createElement("input");ia.style.cssText="margin:0 8px 0 8px;";ia.setAttribute("value","100 %");ia.style.width="60px";t.appendChild(ia);k.appendChild(t);g=document.createElement("div");g.style.cssText="text-align:right;margin:48px 0 0 0;";t=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});t.className="geBtn";a.editor.cancelFirst&&g.appendChild(t);a.isOffline()||(u=mxUtils.button(mxResources.get("help"),function(){d.openLink("https://desk.draw.io/support/solutions/articles/16000048947")}), +u.className="geBtn",g.appendChild(u));PrintDialog.previewEnabled&&(u=mxUtils.button(mxResources.get("preview"),function(){a.hideDialog();e(!1)}),u.className="geBtn",g.appendChild(u));u=mxUtils.button(mxResources.get(PrintDialog.previewEnabled?"print":"ok"),function(){a.hideDialog();e(!0)});u.className="geBtn gePrimaryBtn";g.appendChild(u);a.editor.cancelFirst||g.appendChild(t);k.appendChild(g);this.container=k};var F=ChangePageSetup.prototype.execute;ChangePageSetup.prototype.execute=function(){null== this.page&&(this.page=this.ui.currentPage);this.page!=this.ui.currentPage?null!=this.page.viewState&&(this.ignoreColor||(this.page.viewState.background=this.color),this.ignoreImage||(this.page.viewState.backgroundImage=this.image),null!=this.format&&(this.page.viewState.pageFormat=this.format),null!=this.mathEnabled&&(this.page.viewState.mathEnabled=this.mathEnabled),null!=this.shadowVisible&&(this.page.viewState.shadowVisible=this.shadowVisible)):(F.apply(this,arguments),null!=this.mathEnabled&& this.mathEnabled!=this.ui.isMathEnabled()&&(this.ui.setMathEnabled(this.mathEnabled),this.mathEnabled=!this.mathEnabled),null!=this.shadowVisible&&this.shadowVisible!=this.ui.editor.graph.shadowVisible&&(this.ui.editor.graph.setShadowVisible(this.shadowVisible),this.shadowVisible=!this.shadowVisible))};Editor.prototype.useCanvasForExport=!1;try{var x=document.createElement("canvas"),E=new Image;E.onload=function(){try{x.getContext("2d").drawImage(E,0,0);var a=x.toDataURL("image/png");Editor.prototype.useCanvasForExport= -null!=a&&6<a.length}catch(C){}};E.src="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1px" height="1px" version="1.1"><foreignObject pointer-events="all" width="1" height="1"><div xmlns="http://www.w3.org/1999/xhtml"></div></foreignObject></svg>')))}catch(t){}})(); +null!=a&&6<a.length}catch(C){}};E.src="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1px" height="1px" version="1.1"><foreignObject pointer-events="all" width="1" height="1"><div xmlns="http://www.w3.org/1999/xhtml"></div></foreignObject></svg>')))}catch(u){}})(); (function(){var a=new mxObjectCodec(new ChangePageSetup,["ui","previousColor","previousImage","previousFormat"]);a.beforeDecode=function(a,f,d){d.ui=a.ui;return f};a.afterDecode=function(a,f,d){d.previousColor=d.color;d.previousImage=d.image;d.previousFormat=d.format;null!=d.foldingEnabled&&(d.foldingEnabled=!d.foldingEnabled);null!=d.mathEnabled&&(d.mathEnabled=!d.mathEnabled);null!=d.shadowVisible&&(d.shadowVisible=!d.shadowVisible);return d};mxCodecRegistry.register(a)})();(function(){EditorUi.VERSION="@DRAWIO-VERSION@";EditorUi.compactUi="atlas"!=uiTheme;mxGraphView.prototype.defaultDarkGridColor="#6e6e6e";"dark"==uiTheme&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&/.*\.draw\.io$/.test(window.location.hostname)&&"support.draw.io"!=window.location.hostname;EditorUi.drawHost="https://www.draw.io";EditorUi.lastErrorMessage=null;EditorUi.ignoredAnonymizedChars="\n\t`~!@#$%^&*()_+{}|:\"<>?-=[];'./,\n\t"; EditorUi.templateFile=TEMPLATE_PATH+"/index.xml";EditorUi.cacheUrl="1"==urlParams.dev?"/cache":"https://rt.draw.io/cache";Editor.cacheTimeout=1E4;EditorUi.enablePlantUml=EditorUi.enableLogging;EditorUi.isElectronApp=null!=window&&null!=window.process&&null!=window.process.versions&&null!=window.process.versions.electron;EditorUi.scratchpadHelpLink="https://desk.draw.io/support/solutions/articles/16000042367";EditorUi.logError=function(a,b,d,f,n){if("1"==urlParams.dev)EditorUi.debug("logError",a,b, d,f,n);else if(EditorUi.enableLogging)try{if(a!=EditorUi.lastErrorMessage&&(null==a||null==b||-1==a.indexOf("Script error")&&-1==a.indexOf("extension"))&&null!=a&&0>a.indexOf("DocumentClosedError")){EditorUi.lastErrorMessage=a;var c=0<=a.indexOf("NetworkError")||0<=a.indexOf("SecurityError")||0<=a.indexOf("NS_ERROR_FAILURE")||0<=a.indexOf("out of memory")?"CONFIG":"SEVERE",e=null!=window.DRAWIO_LOG_URL?window.DRAWIO_LOG_URL:"";n=null!=n?n:Error(a);(new Image).src=e+"/log?severity="+c+"&v="+encodeURIComponent(EditorUi.VERSION)+ @@ -2973,91 +2973,92 @@ b()};EditorUi.prototype.setMathEnabled=function(a){this.editor.graph.mathEnabled !navigator.onLine||!a&&"1"==urlParams.stealth};EditorUi.prototype.createSpinner=function(a,b,d){d=null!=d?d:24;var c=new Spinner({lines:12,length:d,width:Math.round(d/3),radius:Math.round(d/2),rotate:0,color:"dark"==uiTheme?"#c0c0c0":"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,zIndex:2E9}),e=c.spin;c.spin=function(d,k){var g=!1;this.active||(e.call(this,d),this.active=!0,null!=k&&(g=document.createElement("div"),g.style.position="absolute",g.style.whiteSpace="nowrap",g.style.background="#4B4243", g.style.color="white",g.style.fontFamily="Helvetica, Arial",g.style.fontSize="9pt",g.style.padding="6px",g.style.paddingLeft="10px",g.style.paddingRight="10px",g.style.zIndex=2E9,g.style.left=Math.max(0,a)+"px",g.style.top=Math.max(0,b+70)+"px",mxUtils.setPrefixedStyle(g.style,"borderRadius","6px"),mxUtils.setPrefixedStyle(g.style,"transform","translate(-50%,-50%)"),"dark"!=uiTheme&&mxUtils.setPrefixedStyle(g.style,"boxShadow","2px 2px 3px 0px #ddd"),"..."!=k.substring(k.length-3,k.length)&&"!"!= k.charAt(k.length-1)&&(k+="..."),g.innerHTML=k,d.appendChild(g),c.status=g,mxClient.IS_VML&&(null==document.documentMode||8>=document.documentMode)&&(g.style.left=Math.round(Math.max(0,a-g.offsetWidth/2))+"px",g.style.top=Math.round(Math.max(0,b+70-g.offsetHeight/2))+"px")),this.pause=mxUtils.bind(this,function(){var a=function(){};this.active&&(a=mxUtils.bind(this,function(){this.spin(d,k)}));this.stop();return a}),g=!0);return g};var k=c.stop;c.stop=function(){k.call(this);this.active=!1;null!= -c.status&&(c.status.parentNode.removeChild(c.status),c.status=null)};c.pause=function(){return function(){}};return c};EditorUi.prototype.isCompatibleString=function(a){try{var c=mxUtils.parseXml(a),b=this.editor.extractGraphModel(c.documentElement,!0);return null!=b&&0==b.getElementsByTagName("parsererror").length}catch(u){}return!1};EditorUi.prototype.isVisioData=function(a){return 8<a.length&&208==a.charCodeAt(0)&&207==a.charCodeAt(1)&&17==a.charCodeAt(2)&&224==a.charCodeAt(3)&&161==a.charCodeAt(4)&& +c.status&&(c.status.parentNode.removeChild(c.status),c.status=null)};c.pause=function(){return function(){}};return c};EditorUi.prototype.isCompatibleString=function(a){try{var c=mxUtils.parseXml(a),b=this.editor.extractGraphModel(c.documentElement,!0);return null!=b&&0==b.getElementsByTagName("parsererror").length}catch(t){}return!1};EditorUi.prototype.isVisioData=function(a){return 8<a.length&&208==a.charCodeAt(0)&&207==a.charCodeAt(1)&&17==a.charCodeAt(2)&&224==a.charCodeAt(3)&&161==a.charCodeAt(4)&& 177==a.charCodeAt(5)&&26==a.charCodeAt(6)&&225==a.charCodeAt(7)||80==a.charCodeAt(0)&&75==a.charCodeAt(1)&&3==a.charCodeAt(2)&&4==a.charCodeAt(3)||80==a.charCodeAt(0)&&75==a.charCodeAt(1)&&3==a.charCodeAt(2)&&6==a.charCodeAt(3)};EditorUi.prototype.isPngData=function(a){return 8<a.length&&137==a.charCodeAt(0)&&80==a.charCodeAt(1)&&78==a.charCodeAt(2)&&71==a.charCodeAt(3)&&13==a.charCodeAt(4)&&10==a.charCodeAt(5)&&26==a.charCodeAt(6)&&10==a.charCodeAt(7)};var a=EditorUi.prototype.extractGraphModelFromHtml; -EditorUi.prototype.extractGraphModelFromHtml=function(c){var b=a.apply(this,arguments);if(null==b)try{var d=c.indexOf("<mxfile ");if(0<=d){var f=c.lastIndexOf("</mxfile>");f>d&&(b=c.substring(d,f+15).replace(/>/g,">").replace(/</g,"<").replace(/\\"/g,'"').replace(/\n/g,""))}else var n=mxUtils.parseXml(c),g=this.editor.extractGraphModel(n.documentElement,null!=this.pages||"hidden"==this.diagramContainer.style.visibility),b=null!=g?mxUtils.getXml(g):""}catch(z){}return b};EditorUi.prototype.validateFileData= +EditorUi.prototype.extractGraphModelFromHtml=function(c){var b=a.apply(this,arguments);if(null==b)try{var d=c.indexOf("<mxfile ");if(0<=d){var f=c.lastIndexOf("</mxfile>");f>d&&(b=c.substring(d,f+15).replace(/>/g,">").replace(/</g,"<").replace(/\\"/g,'"').replace(/\n/g,""))}else var n=mxUtils.parseXml(c),g=this.editor.extractGraphModel(n.documentElement,null!=this.pages||"hidden"==this.diagramContainer.style.visibility),b=null!=g?mxUtils.getXml(g):""}catch(y){}return b};EditorUi.prototype.validateFileData= function(a){if(null!=a&&0<a.length){var c=a.indexOf('<meta charset="utf-8">');0<=c&&(a=a.slice(0,c)+'<meta charset="utf-8"/>'+a.slice(c+23-1,a.length));a=Graph.zapGremlins(a)}return a};EditorUi.prototype.replaceFileData=function(a){a=this.validateFileData(a);a=null!=a&&0<a.length?mxUtils.parseXml(a).documentElement:null;var c=null!=a?this.editor.extractGraphModel(a,!0):null;null!=c&&(a=c);if(null!=a){c=this.editor.graph;c.model.beginUpdate();try{var b=null!=this.pages?this.pages.slice():null,d=a.getElementsByTagName("diagram"); if("0"!=urlParams.pages||1<d.length||1==d.length&&d[0].hasAttribute("name")){this.fileNode=a;this.pages=null!=this.pages?this.pages:[];for(var f=d.length-1;0<=f;f--){var g=this.updatePageRoot(new DiagramPage(d[f]));null==g.getName()&&g.setName(mxResources.get("pageWithNumber",[f+1]));c.model.execute(new ChangePage(this,g,0==f?g:null,0))}}else"0"!=urlParams.pages&&null==this.fileNode&&(this.fileNode=a.ownerDocument.createElement("mxfile"),this.currentPage=new DiagramPage(a.ownerDocument.createElement("diagram")), -this.currentPage.setName(mxResources.get("pageWithNumber",[1])),c.model.execute(new ChangePage(this,this.currentPage,this.currentPage,0))),this.editor.setGraphXml(a),null!=this.currentPage&&(this.currentPage.root=this.editor.graph.model.root);if(null!=b)for(f=0;f<b.length;f++)c.model.execute(new ChangePage(this,b[f],null))}finally{c.model.endUpdate()}}};EditorUi.prototype.createFileData=function(a,b,d,f,n,g,l,A,q,m,x){b=null!=b?b:this.editor.graph;n=null!=n?n:!1;q=null!=q?q:!0;var c,e=null;null== -d||d.getMode()==App.MODE_DEVICE||d.getMode()==App.MODE_BROWSER?c="_blank":e=c=f;if(null==a)return"";var k=a;if("mxfile"!=k.nodeName.toLowerCase()){if(x){var u=a.ownerDocument.createElement("diagram");u.setAttribute("id",Editor.guid());u.appendChild(a)}else{u=Graph.zapGremlins(mxUtils.getXml(a));k=Graph.compress(u);if(Graph.decompress(k)!=u)return u;u=a.ownerDocument.createElement("diagram");u.setAttribute("id",Editor.guid());mxUtils.setTextContent(u,k)}k=a.ownerDocument.createElement("mxfile");k.appendChild(u)}m? +this.currentPage.setName(mxResources.get("pageWithNumber",[1])),c.model.execute(new ChangePage(this,this.currentPage,this.currentPage,0))),this.editor.setGraphXml(a),null!=this.currentPage&&(this.currentPage.root=this.editor.graph.model.root);if(null!=b)for(f=0;f<b.length;f++)c.model.execute(new ChangePage(this,b[f],null))}finally{c.model.endUpdate()}}};EditorUi.prototype.createFileData=function(a,b,d,f,n,g,y,l,q,m,x){b=null!=b?b:this.editor.graph;n=null!=n?n:!1;q=null!=q?q:!0;var c,e=null;null== +d||d.getMode()==App.MODE_DEVICE||d.getMode()==App.MODE_BROWSER?c="_blank":e=c=f;if(null==a)return"";var k=a;if("mxfile"!=k.nodeName.toLowerCase()){if(x){var t=a.ownerDocument.createElement("diagram");t.setAttribute("id",Editor.guid());t.appendChild(a)}else{t=Graph.zapGremlins(mxUtils.getXml(a));k=Graph.compress(t);if(Graph.decompress(k)!=t)return t;t=a.ownerDocument.createElement("diagram");t.setAttribute("id",Editor.guid());mxUtils.setTextContent(t,k)}k=a.ownerDocument.createElement("mxfile");k.appendChild(t)}m? (k=k.cloneNode(!0),k.removeAttribute("modified"),k.removeAttribute("host"),k.removeAttribute("agent"),k.removeAttribute("etag"),k.removeAttribute("userAgent"),k.removeAttribute("version"),k.removeAttribute("editor"),k.removeAttribute("type")):(k.removeAttribute("userAgent"),k.removeAttribute("version"),k.removeAttribute("editor"),k.removeAttribute("pages"),k.removeAttribute("type"),mxClient.IS_CHROMEAPP?k.setAttribute("host","Chrome"):EditorUi.isElectronApp?k.setAttribute("host","Electron"):k.setAttribute("host", -window.location.hostname),k.setAttribute("modified",(new Date).toISOString()),k.setAttribute("agent",navigator.userAgent),k.setAttribute("version",EditorUi.VERSION),k.setAttribute("etag",Editor.guid()),a=null!=d?d.getMode():this.mode,null!=a&&k.setAttribute("type",a),null!=this.pages&&k.setAttribute("pages",this.pages.length));x=x?mxUtils.getPrettyXml(k):mxUtils.getXml(k);if(!g&&!n&&(l||null!=d&&/(\.html)$/i.test(d.getTitle())))x=this.getHtml2(mxUtils.getXml(k),b,null!=d?d.getTitle():null,c,e);else if(g|| -!n&&null!=d&&/(\.svg)$/i.test(d.getTitle()))null==d||d.getMode()!=App.MODE_DEVICE&&d.getMode()!=App.MODE_BROWSER||(f=null),x=this.getEmbeddedSvg(x,b,f,null,A,q,e);return x};EditorUi.prototype.getXmlFileData=function(a,b,d){a=null!=a?a:!0;b=null!=b?b:!1;d=null!=d?d:!Editor.compressXml;var c=this.editor.getGraphXml(a);if(a&&null!=this.fileNode&&null!=this.currentPage)if(d?(EditorUi.removeChildNodes(this.currentPage.node),this.currentPage.node.appendChild(c)):(c=Graph.compressNode(c),mxUtils.setTextContent(this.currentPage.node, -c)),c=this.fileNode.cloneNode(!1),b)c.appendChild(this.currentPage.node);else for(b=0;b<this.pages.length;b++)this.currentPage!=this.pages[b]&&(this.pages[b].needsUpdate?(a=(new mxCodec(mxUtils.createXmlDocument())).encode(new mxGraphModel(this.pages[b].root)),this.editor.graph.saveViewState(this.pages[b].viewState,a),d?(EditorUi.removeChildNodes(this.pages[b].node),this.pages[b].node.appendChild(a)):mxUtils.setTextContent(this.pages[b].node,Graph.compressNode(a)),delete this.pages[b].needsUpdate): -d&&(a=Editor.parseDiagramNode(this.pages[b].node),EditorUi.removeChildNodes(this.pages[b].node),this.pages[b].node.appendChild(a))),c.appendChild(this.pages[b].node);return c};EditorUi.prototype.anonymizeString=function(a,b){for(var c=[],e=0;e<a.length;e++){var d=a.charAt(e);0<=EditorUi.ignoredAnonymizedChars.indexOf(d)?c.push(d):isNaN(parseInt(d))?d.toLowerCase()!=d?c.push(String.fromCharCode(65+Math.round(25*Math.random()))):d.toUpperCase()!=d?c.push(String.fromCharCode(97+Math.round(25*Math.random()))): -/\s/.test(d)?c.push(" "):c.push("?"):c.push(b?"0":Math.round(9*Math.random()))}return c.join("")};EditorUi.prototype.anonymizePatch=function(a){if(null!=a[EditorUi.DIFF_INSERT])for(var c=0;c<a[EditorUi.DIFF_INSERT].length;c++)try{var b=mxUtils.parseXml(a[EditorUi.DIFF_INSERT][c].data).documentElement.cloneNode(!1);null!=b.getAttribute("name")&&b.setAttribute("name",this.anonymizeString(b.getAttribute("name")));a[EditorUi.DIFF_INSERT][c].data=mxUtils.getXml(b)}catch(g){a[EditorUi.DIFF_INSERT][c].data= -g.message}if(null!=a[EditorUi.DIFF_UPDATE]){for(var d in a[EditorUi.DIFF_UPDATE]){var f=a[EditorUi.DIFF_UPDATE][d];null!=f.name&&(f.name=this.anonymizeString(f.name));null!=f.cells&&(c=mxUtils.bind(this,function(a){var c=f.cells[a];if(null!=c){for(var b in c)null!=c[b].value&&(c[b].value="["+c[b].value.length+"]"),null!=c[b].xmlValue&&(c[b].xmlValue="["+c[b].xmlValue.length+"]"),null!=c[b].style&&(c[b].style="["+c[b].style.length+"]"),0==Object.keys(c[b]).length&&delete c[b];0==Object.keys(c).length&& -delete f.cells[a]}}),c(EditorUi.DIFF_INSERT),c(EditorUi.DIFF_UPDATE),0==Object.keys(f.cells).length&&delete f.cells);0==Object.keys(f).length&&delete a[EditorUi.DIFF_UPDATE][d]}0==Object.keys(a[EditorUi.DIFF_UPDATE]).length&&delete a[EditorUi.DIFF_UPDATE]}return a};EditorUi.prototype.anonymizeAttributes=function(a,b){if(null!=a.attributes)for(var c=0;c<a.attributes.length;c++)"as"!=a.attributes[c].name&&a.setAttribute(a.attributes[c].name,this.anonymizeString(a.attributes[c].value,b));if(null!=a.childNodes)for(c= -0;c<a.childNodes.length;c++)this.anonymizeAttributes(a.childNodes[c],b)};EditorUi.prototype.anonymizeNode=function(a,b){for(var c=a.getElementsByTagName("mxCell"),e=0;e<c.length;e++)null!=c[e].getAttribute("value")&&c[e].setAttribute("value","["+c[e].getAttribute("value").length+"]"),null!=c[e].getAttribute("xmlValue")&&c[e].setAttribute("xmlValue","["+c[e].getAttribute("xmlValue").length+"]"),null!=c[e].getAttribute("style")&&c[e].setAttribute("style","["+c[e].getAttribute("style").length+"]"),null!= -c[e].parentNode&&"root"!=c[e].parentNode.nodeName&&null!=c[e].parentNode.parentNode&&(c[e].setAttribute("id",c[e].parentNode.getAttribute("id")),c[e].parentNode.parentNode.replaceChild(c[e],c[e].parentNode));return a};EditorUi.prototype.synchronizeCurrentFile=function(a){var c=this.getCurrentFile();null!=c&&(c.savingFile?this.handleError({message:mxResources.get("busy")}):!a&&c.invalidChecksum?c.handleFileError(null,!0):this.spinner.spin(document.body,mxResources.get("updatingDocument"))&&(c.clearAutosave(), -this.editor.setStatus(""),a?c.reloadFile(mxUtils.bind(this,function(){c.handleFileSuccess("manual"==DrawioFile.SYNC)}),mxUtils.bind(this,function(a){c.handleFileError(a,!0)})):c.synchronizeFile(mxUtils.bind(this,function(){c.handleFileSuccess("manual"==DrawioFile.SYNC)}),mxUtils.bind(this,function(a){c.handleFileError(a,!0)}))))};EditorUi.prototype.getFileData=function(a,b,d,f,n,g,l,A,q,m){n=null!=n?n:!0;g=null!=g?g:!1;var c=this.editor.graph;if(b||!a&&null!=q&&/(\.svg)$/i.test(q.getTitle()))if(m= -!1,null!=this.pages&&this.currentPage!=this.pages[0]){var e=c.getGlobalVariable,c=this.createTemporaryGraph(c.getStylesheet()),k=this.pages[0];c.getGlobalVariable=function(a){return"page"==a?k.getName():"pagenumber"==a?1:e.apply(this,arguments)};document.body.appendChild(c.container);c.model.setRoot(k.root)}l=null!=l?l:this.getXmlFileData(n,g,m);q=null!=q?q:this.getCurrentFile();a=this.createFileData(l,c,q,window.location.href,a,b,d,f,n,A,m);c!=this.editor.graph&&c.container.parentNode.removeChild(c.container); -return a};EditorUi.prototype.getHtml=function(a,b,d,f,n,g){g=null!=g?g:!0;var c=null,e=EditorUi.drawHost+"/js/embed-static.min.js";if(null!=b){var c=g?b.getGraphBounds():b.getBoundingBox(b.getSelectionCells()),k=b.view.scale;g=Math.floor(c.x/k-b.view.translate.x);k=Math.floor(c.y/k-b.view.translate.y);c=b.background;null==n&&(b=this.getBasenames().join(";"),0<b.length&&(e=EditorUi.drawHost+"/embed.js?s="+b));a.setAttribute("x0",g);a.setAttribute("y0",k)}null!=a&&(a.setAttribute("pan","1"),a.setAttribute("zoom", -"1"),a.setAttribute("resize","0"),a.setAttribute("fit","0"),a.setAttribute("border","20"),a.setAttribute("links","1"),null!=f&&a.setAttribute("edit",f));null!=n&&(n=n.replace(/&/g,"&"));a=null!=a?Graph.zapGremlins(mxUtils.getXml(a)):"";f=Graph.compress(a);Graph.decompress(f)!=a&&(f=encodeURIComponent(a));return(null==n?'\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=5,IE=9" ><![endif]--\x3e\n':"")+"<!DOCTYPE html>\n<html"+(null!=n?' xmlns="http://www.w3.org/1999/xhtml">':">")+"\n<head>\n"+ -(null==n?null!=d?"<title>"+mxUtils.htmlEntities(d)+"</title>\n":"":"<title>Draw.io Diagram</title>\n")+(null!=n?'<meta http-equiv="refresh" content="0;URL=\''+n+"'\"/>\n":"")+"</head>\n<body"+(null==n&&null!=c&&c!=mxConstants.NONE?' style="background-color:'+c+';">':">")+'\n<div class="mxgraph" style="position:relative;overflow:auto;width:100%;">\n<div style="width:1px;height:1px;overflow:hidden;">'+f+"</div>\n</div>\n"+(null==n?'<script type="text/javascript" src="'+e+'">\x3c/script>':'<a style="position:absolute;top:50%;left:50%;margin-top:-128px;margin-left:-64px;" href="'+ -n+'" target="_blank"><img border="0" src="'+EditorUi.drawHost+'/images/drawlogo128.png"/></a>')+"\n</body>\n</html>\n"};EditorUi.prototype.getHtml2=function(a,b,d,f,n){b=EditorUi.drawHost+"/js/viewer.min.js";null!=n&&(n=n.replace(/&/g,"&"));a={highlight:"#0000ff",nav:this.editor.graph.foldingEnabled,resize:!0,xml:Graph.zapGremlins(a),toolbar:"pages zoom layers lightbox"};null!=this.pages&&null!=this.currentPage&&(a.page=mxUtils.indexOf(this.pages,this.currentPage));return(null==n?'\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=5,IE=9" ><![endif]--\x3e\n': -"")+"<!DOCTYPE html>\n<html"+(null!=n?' xmlns="http://www.w3.org/1999/xhtml">':">")+"\n<head>\n"+(null==n?null!=d?"<title>"+mxUtils.htmlEntities(d)+"</title>\n":"":"<title>Draw.io Diagram</title>\n")+(null!=n?'<meta http-equiv="refresh" content="0;URL=\''+n+"'\"/>\n":"")+'<meta charset="utf-8"/>\n</head>\n<body>\n<div class="mxgraph" style="max-width:100%;border:1px solid transparent;" data-mxgraph="'+mxUtils.htmlEntities(JSON.stringify(a))+'"></div>\n'+(null==n?'<script type="text/javascript" src="'+ -b+'">\x3c/script>':'<a style="position:absolute;top:50%;left:50%;margin-top:-128px;margin-left:-64px;" href="'+n+'" target="_blank"><img border="0" src="'+EditorUi.drawHost+'/images/drawlogo128.png"/></a>')+"\n</body>\n</html>\n"};EditorUi.prototype.setFileData=function(a){a=this.validateFileData(a);this.pages=this.fileNode=this.currentPage=null;a=null!=a&&0<a.length?mxUtils.parseXml(a).documentElement:null;var c=Editor.extractParserError(a,mxResources.get("invalidOrMissingFile"));if(c)throw Error(c); -c=null!=a?this.editor.extractGraphModel(a,!0):null;null!=c&&(a=c);if(null!=a&&"mxfile"==a.nodeName&&(c=a.getElementsByTagName("diagram"),"0"!=urlParams.pages||1<c.length||1==c.length&&c[0].hasAttribute("name"))){var b=null;this.fileNode=a;this.pages=[];for(a=0;a<c.length;a++){null==c[a].getAttribute("id")&&c[a].setAttribute("id",a);var d=new DiagramPage(c[a]);null==d.getName()&&d.setName(mxResources.get("pageWithNumber",[a+1]));this.pages.push(d);null!=urlParams["page-id"]&&d.getId()==urlParams["page-id"]&& -(b=d)}this.currentPage=null!=b?b:this.pages[Math.max(0,Math.min(this.pages.length-1,urlParams.page||0))];a=this.currentPage.node}"0"!=urlParams.pages&&null==this.fileNode&&null!=a&&(this.fileNode=a.ownerDocument.createElement("mxfile"),this.currentPage=new DiagramPage(a.ownerDocument.createElement("diagram")),this.currentPage.setName(mxResources.get("pageWithNumber",[1])),this.pages=[this.currentPage]);this.editor.setGraphXml(a);null!=this.currentPage&&(this.currentPage.root=this.editor.graph.model.root)}; -EditorUi.prototype.getBaseFilename=function(a){var c=this.getCurrentFile(),c=null!=c&&null!=c.getTitle()?c.getTitle():this.defaultFilename;if(/(\.xml)$/i.test(c)||/(\.html)$/i.test(c)||/(\.svg)$/i.test(c)||/(\.png)$/i.test(c)||/(\.drawio)$/i.test(c))c=c.substring(0,c.lastIndexOf("."));!a&&null!=this.pages&&1<this.pages.length&&null!=this.currentPage&&null!=this.currentPage.node.getAttribute("name")&&0<this.currentPage.getName().length&&(c=c+"-"+this.currentPage.getName());return c};EditorUi.prototype.downloadFile= -function(a,b,d,f,n,g,l,A,q,m){try{f=null!=f?f:this.editor.graph.isSelectionEmpty();var c=this.getBaseFilename(!n),e=c+"."+a;if("xml"==a){var k='<?xml version="1.0" encoding="UTF-8"?>\n'+this.getFileData(!0,null,null,null,f,n,null,null,null,b);this.saveData(e,a,k,"text/xml")}else if("html"==a)k=this.getHtml2(this.getFileData(!0),this.editor.graph,c),this.saveData(e,a,k,"text/html");else if("svg"!=a&&"xmlsvg"!=a||!this.spinner.spin(document.body,mxResources.get("export")))"xmlpng"==a?e=c+".png":"jpeg"== -a&&(e=c+".jpg"),this.saveRequest(e,a,mxUtils.bind(this,function(c,b){try{var e=this.editor.graph.pageVisible;null!=g&&(this.editor.graph.pageVisible=g);var d=this.createDownloadRequest(c,a,f,b,l,n,A,q,m);this.editor.graph.pageVisible=e;return d}catch(P){this.handleError(P)}}));else{var u=null,z=mxUtils.bind(this,function(a){a.length<=MAX_REQUEST_SIZE?this.saveData(e,"svg",a,"image/svg+xml"):this.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(u)}))}); -if("svg"==a){var p=this.editor.graph.background;if(l||p==mxConstants.NONE)p=null;var F=this.editor.graph.getSvg(p,null,null,null,null,f);d&&this.editor.graph.addSvgShadow(F);this.convertImages(F,mxUtils.bind(this,mxUtils.bind(this,function(a){this.spinner.stop();z('<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n'+mxUtils.getXml(a))})))}else e=c+".svg",u=this.getFileData(!1,!0,null,mxUtils.bind(this,function(a){this.spinner.stop(); -z(a)}),f)}}catch(Q){this.handleError(Q)}};EditorUi.prototype.createDownloadRequest=function(a,b,d,f,n,g,l,A,q){var c=this.editor.graph,e=c.getGraphBounds();d=this.getFileData(!0,null,null,null,d,0==g?!1:"xmlpng"!=b);var k="",u="";if(e.width*e.height>MAX_AREA||d.length>MAX_REQUEST_SIZE)throw{message:mxResources.get("drawingTooLarge")};e="0";"pdf"==b&&0==g&&(u="&allPages=1");if("xmlpng"==b&&(e="1",b="png",null!=this.pages&&null!=this.currentPage))for(g=0;g<this.pages.length;g++)if(this.pages[g]==this.currentPage){k= -"&from="+g;break}g=c.background;"png"==b&&n?g=mxConstants.NONE:n||null!=g&&g!=mxConstants.NONE||(g="#ffffff");n={globalVars:c.getExportVariables()};q&&(n.grid={size:c.gridSize,steps:c.view.gridSteps,color:c.view.gridColor});return new mxXmlRequest(EXPORT_URL,"format="+b+k+u+"&bg="+(null!=g?g:mxConstants.NONE)+"&base64="+f+"&embedXml="+e+"&xml="+encodeURIComponent(d)+(null!=a?"&filename="+encodeURIComponent(a):"")+"&extras="+encodeURIComponent(JSON.stringify(n))+(null!=l?"&scale="+l:"")+(null!=A?"&border="+ -A:""))};EditorUi.prototype.setMode=function(a,b){this.mode=a};EditorUi.prototype.loadDescriptor=function(a,b,d){var c=window.location.hash,e=mxUtils.bind(this,function(e){var d=null!=a.data?a.data:"";null!=e&&0<e.length&&(0<d.length&&(d+="\n"),d+=e);e=new LocalFile(this,"csv"!=a.format&&0<d.length?d:this.emptyDiagramXml,null!=urlParams.title?decodeURIComponent(urlParams.title):this.defaultFilename,!0);e.getHash=function(){return c};this.fileLoaded(e);"csv"==a.format&&this.importCsv(d,mxUtils.bind(this, -function(a){this.editor.undoManager.clear();this.editor.setModified(!1);this.editor.setStatus("")}));if(null!=a.update){var k=null!=a.interval?parseInt(a.interval):6E4,g=null,f=mxUtils.bind(this,function(){var c=this.currentPage;mxUtils.post(a.update,"xml="+encodeURIComponent(mxUtils.getXml(this.editor.getGraphXml())),mxUtils.bind(this,function(a){c===this.currentPage&&(200<=a.getStatus()&&300>=a.getStatus()?(this.updateDiagram(a.getText()),n()):this.handleError({message:mxResources.get("error")+ -" "+a.getStatus()}))}),mxUtils.bind(this,function(a){this.handleError(a)}))}),n=mxUtils.bind(this,function(){window.clearTimeout(g);g=window.setTimeout(f,k)});this.editor.addListener("pageSelected",mxUtils.bind(this,function(){n();f()}));n();f()}null!=b&&b()});if(null!=a.url&&0<a.url.length){var k=a.url;/^https?:\/\//.test(k)&&!this.editor.isCorsEnabledForUrl(k)&&(k=PROXY_URL+"?url="+encodeURIComponent(k));this.loadUrl(k,mxUtils.bind(this,function(a){e(a)}),mxUtils.bind(this,function(a){null!=d&& -d(a)}))}else e("")};EditorUi.prototype.updateDiagram=function(a){function c(a){var c=new mxCellOverlay(a.image||f.warningImage,a.tooltip,a.align,a.valign,a.offset);c.addListener(mxEvent.CLICK,function(c,b){d.alert(a.tooltip)});return c}var b=null,d=this;if(null!=a&&0<a.length&&(b=mxUtils.parseXml(a),a=null!=b?b.documentElement:null,null!=a&&"updates"==a.nodeName)){var f=this.editor.graph,g=f.getModel();g.beginUpdate();var l=null;try{for(a=a.firstChild;null!=a;){if("update"==a.nodeName){var A=g.getCell(a.getAttribute("id")); -if(null!=A){try{var q=a.getAttribute("value");if(null!=q){var m=mxUtils.parseXml(q).documentElement;if(null!=m)if("1"==m.getAttribute("replace-value"))g.setValue(A,m);else for(var x=m.attributes,p=0;p<x.length;p++)f.setAttributeForCell(A,x[p].nodeName,0<x[p].nodeValue.length?x[p].nodeValue:null)}}catch(L){null!=window.console&&console.log("Error in value for "+A.id+": "+L)}try{var t=a.getAttribute("style");null!=t&&f.model.setStyle(A,t)}catch(L){null!=window.console&&console.log("Error in style for "+ -A.id+": "+L)}try{var C=a.getAttribute("icon");if(null!=C){var v=0<C.length?JSON.parse(C):null;null!=v&&v.append||f.removeCellOverlays(A);null!=v&&f.addCellOverlay(A,c(v))}}catch(L){null!=window.console&&console.log("Error in icon for "+A.id+": "+L)}try{var y=a.getAttribute("geometry");if(null!=y){var y=JSON.parse(y),H=f.getCellGeometry(A);if(null!=H){H=H.clone();for(key in y){var B=parseFloat(y[key]);"dx"==key?H.x+=B:"dy"==key?H.y+=B:"dw"==key?H.width+=B:"dh"==key?H.height+=B:H[key]=parseFloat(y[key])}f.model.setGeometry(A, -H)}}}catch(L){null!=window.console&&console.log("Error in icon for "+A.id+": "+L)}}}else if("model"==a.nodeName){for(var D=a.firstChild;null!=D&&D.nodeType!=mxConstants.NODETYPE_ELEMENT;)D=D.nextSibling;null!=D&&(new mxCodec(a.firstChild)).decode(D,g)}else if("view"==a.nodeName){if(a.hasAttribute("scale")&&(f.view.scale=parseFloat(a.getAttribute("scale"))),a.hasAttribute("dx")||a.hasAttribute("dy"))f.view.translate=new mxPoint(parseFloat(a.getAttribute("dx")||0),parseFloat(a.getAttribute("dy")||0))}else"fit"== -a.nodeName&&(l=a.hasAttribute("max-scale")?parseFloat(a.getAttribute("max-scale")):1);a=a.nextSibling}}finally{g.endUpdate()}null!=l&&this.chromelessResize&&this.chromelessResize(!0,l)}return b};EditorUi.prototype.getCopyFilename=function(a,b){var c=null!=a&&null!=a.getTitle()?a.getTitle():this.defaultFilename,e="",d=c.lastIndexOf(".");0<=d&&(e=c.substring(d),c=c.substring(0,d));if(b)var f=new Date,d=f.getFullYear(),l=f.getMonth()+1,A=f.getDate(),q=f.getHours(),m=f.getMinutes(),f=f.getSeconds(),c= -c+(" "+(d+"-"+l+"-"+A+"-"+q+"-"+m+"-"+f));return c=mxResources.get("copyOf",[c])+e};EditorUi.prototype.fileLoaded=function(a,b){var c=this.getCurrentFile();this.fileLoadedError=null;this.setCurrentFile(null);var e=!1;this.hideDialog();null!=c&&(c.removeListener(this.descriptorChangedListener),c.close());this.editor.graph.model.clear();this.editor.undoManager.clear();var d=mxUtils.bind(this,function(){this.setGraphEnabled(!1);this.setCurrentFile(null);null!=c&&this.updateDocumentTitle();this.editor.graph.model.clear(); -this.editor.undoManager.clear();this.setBackgroundImage(null);!b&&null!=window.location.hash&&0<window.location.hash.length&&(window.location.hash="");null!=this.fname&&(this.fnameWrapper.style.display="none",this.fname.innerHTML="",this.fname.setAttribute("title",mxResources.get("rename")));this.editor.setStatus("");this.updateUi();b||this.showSplash()});if(null!=a)try{mxClient.IS_SF&&"min"==uiTheme&&(this.diagramContainer.style.visibility="");this.openingFile=!0;this.setCurrentFile(a);a.addListener("descriptorChanged", -this.descriptorChangedListener);a.addListener("contentChanged",this.descriptorChangedListener);a.open();delete this.openingFile;this.setGraphEnabled(!0);this.setMode(a.getMode());this.editor.graph.model.prefix=Editor.guid()+"-";this.editor.undoManager.clear();this.descriptorChanged();this.updateUi();a.isEditable()?a.isModified()?(a.addUnsavedStatus(),null!=a.backupPatch&&a.patch([a.backupPatch])):this.editor.setStatus(""):this.editor.setStatus('<span class="geStatusAlert" style="margin-left:8px;">'+ -mxUtils.htmlEntities(mxResources.get("readOnly"))+"</span>");!this.editor.isChromelessView()||this.editor.editable?(this.editor.graph.selectUnlockedLayer(),this.showLayersDialog(),this.restoreLibraries(),window.self!==window.top&&window.focus()):this.editor.graph.isLightboxView()&&this.lightboxFit();this.chromelessResize&&this.chromelessResize();this.editor.fireEvent(new mxEventObject("fileLoaded"));e=!0;this.isOffline()||null==a.getMode()||EditorUi.logEvent({category:a.getMode().toUpperCase()+"-OPEN-FILE-"+ -a.getHash(),action:"size_"+a.getSize(),label:"autosave_"+(this.editor.autosave?"on":"off")});if(this.editor.editable&&this.mode==a.getMode()&&a.getMode()!=App.MODE_DEVICE&&null!=a.getMode())try{this.addRecent({id:a.getHash(),title:a.getTitle(),mode:a.getMode()})}catch(z){}try{mxSettings.setOpenCounter(mxSettings.getOpenCounter()+1),mxSettings.save()}catch(z){}}catch(z){this.fileLoadedError=z;null!=window.console&&(console.error(z),console.log("error in fileLoaded:",a,z));if(EditorUi.enableLogging&& -!this.isOffline())try{(new Image).src=(null!=window.DRAWIO_LOG_URL?window.DRAWIO_LOG_URL:"")+"/log?v="+encodeURIComponent(EditorUi.VERSION)+"&msg=errorInFileLoaded:url:"+encodeURIComponent(window.location.href)+(null!=z&&null!=z.message?":err:"+encodeURIComponent(z.message):"")+(null!=z&&null!=z.stack?"&stack="+encodeURIComponent(z.stack):"")}catch(A){}var f=mxUtils.bind(this,function(){null!=urlParams.url&&this.spinner.spin(document.body,mxResources.get("reconnecting"))?window.location.search=this.getSearch(["url"]): -null!=c?this.fileLoaded(c):d()});b?f():this.handleError(z,mxResources.get("errorLoadingFile"),f,!0)}else d();return e};EditorUi.prototype.getHashValueForPages=function(a,b){var c=0,e=new mxGraphModel,d=new mxCodec;null!=b&&(b.byteCount=0,b.attrCount=0,b.eltCount=0,b.nodeCount=0);for(var f=0;f<a.length;f++){this.updatePageRoot(a[f]);var l=a[f].node.cloneNode(!1);l.removeAttribute("name");e.root=a[f].root;var A=d.encode(e);this.editor.graph.saveViewState(a[f].viewState,A,!0);A.removeAttribute("pageWidth"); -A.removeAttribute("pageHeight");l.appendChild(A);null!=b&&(b.eltCount+=l.getElementsByTagName("*").length,b.nodeCount+=l.getElementsByTagName("mxCell").length);c=(c<<5)-c+this.hashValue(l,function(a,c,b,e){return!e||"mxGeometry"!=a.nodeName&&"mxPoint"!=a.nodeName||"x"!=c&&"y"!=c&&"width"!=c&&"height"!=c?e&&"mxCell"==a.nodeName&&"previous"==c?null:b:Math.round(b)},b)<<0}return c};EditorUi.prototype.hashValue=function(a,b,d){var c=0;if(null!=a&&"object"===typeof a&&"number"===typeof a.nodeType&&"string"=== -typeof a.nodeName&&"function"===typeof a.getAttribute){null!=a.nodeName&&(c^=this.hashValue(a.nodeName,b,d));if(null!=a.attributes){null!=d&&(d.attrCount+=a.attributes.length);for(var e=0;e<a.attributes.length;e++){var k=a.attributes[e].name,f=null!=b?b(a,k,a.attributes[e].value,!0):a.attributes[e].value;null!=f&&(c^=this.hashValue(k,b,d)+this.hashValue(f,b,d))}}if(null!=a.childNodes)for(e=0;e<a.childNodes.length;e++)c=(c<<5)-c+this.hashValue(a.childNodes[e],b,d)<<0}else if(null!=a&&"function"!== -typeof a){a=String(a);b=0;null!=d&&(d.byteCount+=a.length);for(e=0;e<a.length;e++)b=(b<<5)-b+a.charCodeAt(e)<<0;c^=b}return c};EditorUi.prototype.descriptorChanged=function(){};EditorUi.prototype.restoreLibraries=function(){};EditorUi.prototype.saveLibrary=function(a,b,d,f,n,g,l){};EditorUi.prototype.isScratchpadEnabled=function(){return isLocalStorage||mxClient.IS_CHROMEAPP};EditorUi.prototype.toggleScratchpad=function(){this.isScratchpadEnabled()&&(null==this.scratchpad?this.getLocalData(".scratchpad", -mxUtils.bind(this,function(a){null==a&&(a=this.emptyLibraryXml);this.loadLibrary(new StorageLibrary(this,a,".scratchpad"))})):this.closeLibrary(this.scratchpad))};EditorUi.prototype.createLibraryDataFromImages=function(a){var c=mxUtils.createXmlDocument(),b=c.createElement("mxlibrary");mxUtils.setTextContent(b,JSON.stringify(a));c.appendChild(b);return mxUtils.getXml(c)};EditorUi.prototype.closeLibrary=function(a){null!=a&&(this.removeLibrarySidebar(a.getHash()),a.constructor!=LocalLibrary&&mxSettings.removeCustomLibrary(a.getHash()), -".scratchpad"==a.title&&(this.scratchpad=null))};EditorUi.prototype.removeLibrarySidebar=function(a){var c=this.sidebar.palettes[a];if(null!=c){for(var b=0;b<c.length;b++)c[b].parentNode.removeChild(c[b]);delete this.sidebar.palettes[a]}};EditorUi.prototype.repositionLibrary=function(a){var c=this.sidebar.container;if(null==a){var b=this.sidebar.palettes["L.scratchpad"];null==b&&(b=this.sidebar.palettes.search);null!=b&&(a=b[b.length-1].nextSibling)}a=null!=a?a:c.firstChild.nextSibling.nextSibling; -var b=c.lastChild,d=b.previousSibling;c.insertBefore(b,a);c.insertBefore(d,b)};EditorUi.prototype.loadLibrary=function(a){var c=mxUtils.parseXml(a.getData());if("mxlibrary"==c.documentElement.nodeName){var b=JSON.parse(mxUtils.getTextContent(c.documentElement));this.libraryLoaded(a,b,c.documentElement.getAttribute("title"))}else throw{message:mxResources.get("notALibraryFile")};};EditorUi.prototype.getLibraryStorageHint=function(a){return""};EditorUi.prototype.libraryLoaded=function(a,b,d){if(null!= -this.sidebar){a.constructor!=LocalLibrary&&mxSettings.addCustomLibrary(a.getHash());".scratchpad"==a.title&&(this.scratchpad=a);var c=this.sidebar.palettes[a.getHash()],c=null!=c?c[c.length-1].nextSibling:null;this.removeLibrarySidebar(a.getHash());var e=null,k=mxUtils.bind(this,function(c,b){0==c.length&&a.isEditable()?(null==e&&(e=document.createElement("div"),e.className="geDropTarget",mxUtils.write(e,mxResources.get("dragElementsHere"))),b.appendChild(e)):this.addLibraryEntries(c,b)});null!=this.sidebar&& -null!=b&&this.sidebar.addEntries(b);d=null!=d&&0<d.length?d:a.getTitle();var f=this.sidebar.addPalette(a.getHash(),d,!0,mxUtils.bind(this,function(a){k(b,a)}));this.repositionLibrary(c);var l=f.parentNode.previousSibling;d=l.getAttribute("title");null!=d&&0<d.length&&".scratchpad"!=a.title&&l.setAttribute("title",this.getLibraryStorageHint(a)+"\n"+d);var q=document.createElement("div");q.style.position="absolute";q.style.right="0px";q.style.top="0px";q.style.padding="8px";mxClient.IS_QUIRKS||8==document.documentMode|| -(q.style.backgroundColor="inherit");l.style.position="relative";var m=document.createElement("img");m.setAttribute("src",Dialog.prototype.closeImage);m.setAttribute("title",mxResources.get("close"));m.setAttribute("valign","absmiddle");m.setAttribute("border","0");m.style.margin="0 3px";var x=null;if(".scratchpad"!=a.title||this.closableScratchpad)q.appendChild(m),mxEvent.addListener(m,"click",mxUtils.bind(this,function(c){if(!mxEvent.isConsumed(c)){var b=mxUtils.bind(this,function(){this.closeLibrary(a)}); -null!=x?this.confirm(mxResources.get("allChangesLost"),null,b,mxResources.get("cancel"),mxResources.get("discardChanges")):b();mxEvent.consume(c)}}));if(a.isEditable()){var p=this.editor.graph,t=null,C=mxUtils.bind(this,function(c){this.showLibraryDialog(a.getTitle(),f,b,a,a.getMode());mxEvent.consume(c)}),v=mxUtils.bind(this,function(c){a.setModified(!0);a.isAutosave()?(null!=t&&null!=t.parentNode&&t.parentNode.removeChild(t),t=m.cloneNode(!1),t.setAttribute("src",Editor.spinImage),t.setAttribute("title", -mxResources.get("saving")),t.style.cursor="default",t.style.marginRight="2px",t.style.marginTop="-2px",q.insertBefore(t,q.firstChild),l.style.paddingRight=18*q.childNodes.length+"px",this.saveLibrary(a.getTitle(),b,a,a.getMode(),!0,!0,function(){null!=t&&null!=t.parentNode&&(t.parentNode.removeChild(t),l.style.paddingRight=18*q.childNodes.length+"px")})):null==x&&(x=m.cloneNode(!1),x.setAttribute("src",IMAGE_PATH+"/download.png"),x.setAttribute("title",mxResources.get("save")),q.insertBefore(x,q.firstChild), -mxEvent.addListener(x,"click",mxUtils.bind(this,function(c){this.saveLibrary(a.getTitle(),b,a,a.getMode(),a.constructor==LocalLibrary,!0,function(){null==x||a.isModified()||(l.style.paddingRight=18*q.childNodes.length+"px",x.parentNode.removeChild(x),x=null)});mxEvent.consume(c)})),l.style.paddingRight=18*q.childNodes.length+"px")}),y=mxUtils.bind(this,function(a,c,d,k){a=p.cloneCells(mxUtils.sortCells(p.model.getTopmostCells(a)));for(var g=0;g<a.length;g++){var n=p.getCellGeometry(a[g]);null!=n&& -n.translate(-c.x,-c.y)}f.appendChild(this.sidebar.createVertexTemplateFromCells(a,c.width,c.height,k||"",!0,!1,!1));a={xml:Graph.compress(mxUtils.getXml(this.editor.graph.encodeCells(a))),w:c.width,h:c.height};null!=k&&(a.title=k);b.push(a);v(d);null!=e&&null!=e.parentNode&&0<b.length&&(e.parentNode.removeChild(e),e=null)}),H=mxUtils.bind(this,function(a){if(p.isSelectionEmpty())p.getRubberband().isActive()?(p.getRubberband().execute(a),p.getRubberband().reset()):this.showError(mxResources.get("error"), -mxResources.get("nothingIsSelected"),mxResources.get("ok"));else{var c=p.getSelectionCells(),b=p.view.getBounds(c),d=p.view.scale;b.x/=d;b.y/=d;b.width/=d;b.height/=d;b.x-=p.view.translate.x;b.y-=p.view.translate.y;y(c,b)}mxEvent.consume(a)});mxEvent.addGestureListeners(f,function(){},mxUtils.bind(this,function(a){p.isMouseDown&&null!=p.panningManager&&null!=p.graphHandler.shape&&(p.graphHandler.shape.node.style.visibility="hidden",f.style.backgroundColor="#f1f3f4",f.style.cursor="copy",p.panningManager.stop(), -p.autoScroll=!1,null!=p.graphHandler.guide&&p.graphHandler.guide.setVisible(!1),null!=p.graphHandler.hint&&(p.graphHandler.hint.style.visibility="hidden"),mxEvent.consume(a))}),mxUtils.bind(this,function(a){p.isMouseDown&&null!=p.panningManager&&null!=p.graphHandler&&(f.style.backgroundColor="",f.style.cursor="default",this.sidebar.showTooltips=!0,p.panningManager.stop(),p.graphHandler.reset(),p.isMouseDown=!1,p.autoScroll=!0,H(a),mxEvent.consume(a))}));mxEvent.addListener(f,"mouseleave",mxUtils.bind(this, -function(a){p.isMouseDown&&null!=p.graphHandler.shape&&(p.graphHandler.shape.node.style.visibility="visible",f.style.backgroundColor="",f.style.cursor="",p.autoScroll=!0,null!=p.graphHandler.guide&&p.graphHandler.guide.setVisible(!0),null!=p.graphHandler.hint&&(p.graphHandler.hint.style.visibility="visible"))}));Graph.fileSupport&&(mxEvent.addListener(f,"dragover",mxUtils.bind(this,function(a){f.style.backgroundColor="#f1f3f4";a.dataTransfer.dropEffect="copy";f.style.cursor="copy";this.sidebar.hideTooltip(); -a.stopPropagation();a.preventDefault()})),mxEvent.addListener(f,"drop",mxUtils.bind(this,function(a){f.style.cursor="";f.style.backgroundColor="";0<a.dataTransfer.files.length&&this.importFiles(a.dataTransfer.files,0,0,this.maxImageSize,mxUtils.bind(this,function(c,d,g,n,u,l,q,t,x){if(null!=c&&"image/"==d.substring(0,6))c="shape=image;verticalLabelPosition=bottom;verticalAlign=top;aspect=fixed;image="+this.convertDataUri(c),c=[new mxCell("",new mxGeometry(0,0,u,l),c)],c[0].vertex=!0,y(c,new mxRectangle(0, -0,u,l),a,mxEvent.isAltDown(a)?null:q.substring(0,q.lastIndexOf(".")).replace(/_/g," ")),null!=e&&null!=e.parentNode&&0<b.length&&(e.parentNode.removeChild(e),e=null);else{var z=!1,A=mxUtils.bind(this,function(c,d){if(null!=c&&"text/xml"==d){var g=mxUtils.parseXml(c);if("mxlibrary"==g.documentElement.nodeName)try{var n=JSON.parse(mxUtils.getTextContent(g.documentElement));k(n,f);b=b.concat(n);v(a);this.spinner.stop();z=!0}catch(M){}else if("mxfile"==g.documentElement.nodeName)try{for(var u=g.documentElement.getElementsByTagName("diagram"), -g=0;g<u.length;g++){var q=this.stringToCells(Editor.getDiagramNodeXml(u[g])),l=this.editor.graph.getBoundingBoxFromGeometry(q);y(q,new mxRectangle(0,0,l.width,l.height),a)}z=!0}catch(M){null!=window.console&&console.log("error in drop handler:",M)}}z||(this.spinner.stop(),this.handleError({message:mxResources.get("errorLoadingFile")}));null!=e&&null!=e.parentNode&&0<b.length&&(e.parentNode.removeChild(e),e=null)});null!=x&&null!=q&&(/(\.v(dx|sdx?))($|\?)/i.test(q)||/(\.vs(x|sx?))($|\?)/i.test(q))? -this.importVisio(x,function(a){A(a,"text/xml")},null,q):!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(c,q)&&null!=x?this.parseFile(x,mxUtils.bind(this,function(a){4==a.readyState&&(this.spinner.stop(),200<=a.status&&299>=a.status?A(a.responseText,"text/xml"):this.handleError({message:mxResources.get(413==a.status?"drawingTooLarge":"invalidOrMissingFile")},mxResources.get("errorLoadingFile")))})):A(c,d)}}));a.stopPropagation();a.preventDefault()})),mxEvent.addListener(f,"dragleave", -function(a){f.style.cursor="";f.style.backgroundColor="";a.stopPropagation();a.preventDefault()}));m=m.cloneNode(!1);m.setAttribute("src",Editor.editImage);m.setAttribute("title",mxResources.get("edit"));q.insertBefore(m,q.firstChild);mxEvent.addListener(m,"click",C);mxEvent.addListener(f,"dblclick",function(a){mxEvent.getSource(a)==f&&C(a)});d=m.cloneNode(!1);d.setAttribute("src",Editor.plusImage);d.setAttribute("title",mxResources.get("add"));q.insertBefore(d,q.firstChild);mxEvent.addListener(d, -"click",H);this.isOffline()||".scratchpad"!=a.title||null==EditorUi.scratchpadHelpLink||(d=document.createElement("span"),d.setAttribute("title",mxResources.get("help")),d.style.cssText="color:#a3a3a3;text-decoration:none;margin-right:2px;",mxUtils.write(d,"?"),mxEvent.addGestureListeners(d,mxUtils.bind(this,function(a){this.openLink(EditorUi.scratchpadHelpLink);mxEvent.consume(a)})),q.insertBefore(d,q.firstChild))}l.appendChild(q);l.style.paddingRight=18*q.childNodes.length+"px"}};EditorUi.prototype.addLibraryEntries= -function(a,b){for(var c=0;c<a.length;c++){var d=a[c],e=d.data;if(null!=e){var e=this.convertDataUri(e),f="shape=image;verticalLabelPosition=bottom;verticalAlign=top;imageAspect=0;";"fixed"==d.aspect&&(f+="aspect=fixed;");b.appendChild(this.sidebar.createVertexTemplate(f+"image="+e,d.w,d.h,"",d.title||"",!1,!1,!0))}else null!=d.xml&&(e=this.stringToCells(Graph.decompress(d.xml)),0<e.length&&b.appendChild(this.sidebar.createVertexTemplateFromCells(e,d.w,d.h,d.title||"",!0,!1,!0)))}};EditorUi.prototype.getResource= -function(a){return null!=a?a[mxLanguage]||a.main:null};EditorUi.prototype.footerHeight=0;"1"==urlParams.offline||EditorUi.isElectronApp||("1"==urlParams.savesidebar&&(Sidebar.prototype.thumbWidth=64,Sidebar.prototype.thumbHeight=64),EditorUi.prototype.createFooter=function(){return document.getElementById("geFooter")});EditorUi.initTheme=function(){"atlas"==uiTheme?(mxClient.link("stylesheet",STYLE_PATH+"/atlas.css"),"undefined"!==typeof Toolbar&&(Toolbar.prototype.unselectedBackground=mxClient.IS_QUIRKS? -"none":"linear-gradient(rgb(255, 255, 255) 0px, rgb(242, 242, 242) 100%)",Toolbar.prototype.selectedBackground="rgb(242, 242, 242)"),Editor.prototype.initialTopSpacing=3,EditorUi.prototype.menubarHeight=41,EditorUi.prototype.toolbarHeight=38):"dark"==uiTheme&&(mxClient.link("stylesheet",STYLE_PATH+"/dark.css"),Dialog.backdropColor="#2a2a2a",Graph.prototype.defaultThemeName="darkTheme",Graph.prototype.defaultPageBackgroundColor="#2a2a2a",Graph.prototype.defaultPageBorderColor="#505759",Format.prototype.inactiveTabBackgroundColor= -"black",BaseFormatPanel.prototype.buttonBackgroundColor="#2a2a2a",Sidebar.prototype.dragPreviewBorder="1px dashed #cccccc",mxGraphHandler.prototype.previewColor="#cccccc",StyleFormatPanel.prototype.defaultStrokeColor="#cccccc",mxClient.IS_SVG&&(Editor.helpImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAP1BMVEUAAAD///////////////////////////////////////////////////////////////////////////////9Du/pqAAAAFXRSTlMAT30qCJRBboyDZyCgRzUUdF46MJlgXETgAAAAeklEQVQY022O2w4DIQhEQUURda/9/28tUO2+7CQS5sgQ4F1RapX78YUwRqQjTU8ILqQfKerTKTvACJ4nLX3krt+8aS82oI8aQC4KavRgtvEW/mDvsICgA03PSGRr79MqX1YPNIxzjyqtw8ZnnRo4t5a5undtJYRywau+ds4Cyza3E6YAAAAASUVORK5CYII=", +window.location.hostname),k.setAttribute("modified",(new Date).toISOString()),k.setAttribute("agent",navigator.userAgent),k.setAttribute("version",EditorUi.VERSION),k.setAttribute("etag",Editor.guid()),a=null!=d?d.getMode():this.mode,null!=a&&k.setAttribute("type",a),null!=this.pages&&k.setAttribute("pages",this.pages.length));x=x?mxUtils.getPrettyXml(k):mxUtils.getXml(k);if(!g&&!n&&(y||null!=d&&/(\.html)$/i.test(d.getTitle())))x=this.getHtml2(mxUtils.getXml(k),b,null!=d?d.getTitle():null,c,e);else if(g|| +!n&&null!=d&&/(\.svg)$/i.test(d.getTitle()))null==d||d.getMode()!=App.MODE_DEVICE&&d.getMode()!=App.MODE_BROWSER||(f=null),x=this.getEmbeddedSvg(x,b,f,null,l,q,e);return x};EditorUi.prototype.getXmlFileData=function(a,b,d){a=null!=a?a:!0;b=null!=b?b:!1;d=null!=d?d:!Editor.compressXml;var c=this.editor.getGraphXml(a);if(a&&null!=this.fileNode&&null!=this.currentPage)if(a=function(a){var b=a.getElementsByTagName("mxGraphModel"),b=0<b.length?b[0]:null;null==b&&d?(b=mxUtils.trim(mxUtils.getTextContent(a)), +a=a.cloneNode(!1),0<b.length&&(b=Graph.decompress(b),null!=b&&0<b.length&&a.appendChild(mxUtils.parseXml(b).documentElement))):null==b||d?a=a.cloneNode(!0):(a=a.cloneNode(!1),mxUtils.setTextContent(a,Graph.compressNode(b)));c.appendChild(a)},EditorUi.removeChildNodes(this.currentPage.node),mxUtils.setTextContent(this.currentPage.node,Graph.compressNode(c)),c=this.fileNode.cloneNode(!1),b)a(this.currentPage.node);else for(b=0;b<this.pages.length;b++){if(this.currentPage!=this.pages[b]&&this.pages[b].needsUpdate){var e= +(new mxCodec(mxUtils.createXmlDocument())).encode(new mxGraphModel(this.pages[b].root));this.editor.graph.saveViewState(this.pages[b].viewState,e);EditorUi.removeChildNodes(this.pages[b].node);mxUtils.setTextContent(this.pages[b].node,Graph.compressNode(e));delete this.pages[b].needsUpdate}a(this.pages[b].node)}return c};EditorUi.prototype.anonymizeString=function(a,b){for(var c=[],e=0;e<a.length;e++){var d=a.charAt(e);0<=EditorUi.ignoredAnonymizedChars.indexOf(d)?c.push(d):isNaN(parseInt(d))?d.toLowerCase()!= +d?c.push(String.fromCharCode(65+Math.round(25*Math.random()))):d.toUpperCase()!=d?c.push(String.fromCharCode(97+Math.round(25*Math.random()))):/\s/.test(d)?c.push(" "):c.push("?"):c.push(b?"0":Math.round(9*Math.random()))}return c.join("")};EditorUi.prototype.anonymizePatch=function(a){if(null!=a[EditorUi.DIFF_INSERT])for(var c=0;c<a[EditorUi.DIFF_INSERT].length;c++)try{var b=mxUtils.parseXml(a[EditorUi.DIFF_INSERT][c].data).documentElement.cloneNode(!1);null!=b.getAttribute("name")&&b.setAttribute("name", +this.anonymizeString(b.getAttribute("name")));a[EditorUi.DIFF_INSERT][c].data=mxUtils.getXml(b)}catch(g){a[EditorUi.DIFF_INSERT][c].data=g.message}if(null!=a[EditorUi.DIFF_UPDATE]){for(var d in a[EditorUi.DIFF_UPDATE]){var f=a[EditorUi.DIFF_UPDATE][d];null!=f.name&&(f.name=this.anonymizeString(f.name));null!=f.cells&&(c=mxUtils.bind(this,function(a){var c=f.cells[a];if(null!=c){for(var b in c)null!=c[b].value&&(c[b].value="["+c[b].value.length+"]"),null!=c[b].xmlValue&&(c[b].xmlValue="["+c[b].xmlValue.length+ +"]"),null!=c[b].style&&(c[b].style="["+c[b].style.length+"]"),0==Object.keys(c[b]).length&&delete c[b];0==Object.keys(c).length&&delete f.cells[a]}}),c(EditorUi.DIFF_INSERT),c(EditorUi.DIFF_UPDATE),0==Object.keys(f.cells).length&&delete f.cells);0==Object.keys(f).length&&delete a[EditorUi.DIFF_UPDATE][d]}0==Object.keys(a[EditorUi.DIFF_UPDATE]).length&&delete a[EditorUi.DIFF_UPDATE]}return a};EditorUi.prototype.anonymizeAttributes=function(a,b){if(null!=a.attributes)for(var c=0;c<a.attributes.length;c++)"as"!= +a.attributes[c].name&&a.setAttribute(a.attributes[c].name,this.anonymizeString(a.attributes[c].value,b));if(null!=a.childNodes)for(c=0;c<a.childNodes.length;c++)this.anonymizeAttributes(a.childNodes[c],b)};EditorUi.prototype.anonymizeNode=function(a,b){for(var c=a.getElementsByTagName("mxCell"),e=0;e<c.length;e++)null!=c[e].getAttribute("value")&&c[e].setAttribute("value","["+c[e].getAttribute("value").length+"]"),null!=c[e].getAttribute("xmlValue")&&c[e].setAttribute("xmlValue","["+c[e].getAttribute("xmlValue").length+ +"]"),null!=c[e].getAttribute("style")&&c[e].setAttribute("style","["+c[e].getAttribute("style").length+"]"),null!=c[e].parentNode&&"root"!=c[e].parentNode.nodeName&&null!=c[e].parentNode.parentNode&&(c[e].setAttribute("id",c[e].parentNode.getAttribute("id")),c[e].parentNode.parentNode.replaceChild(c[e],c[e].parentNode));return a};EditorUi.prototype.synchronizeCurrentFile=function(a){var c=this.getCurrentFile();null!=c&&(c.savingFile?this.handleError({message:mxResources.get("busy")}):!a&&c.invalidChecksum? +c.handleFileError(null,!0):this.spinner.spin(document.body,mxResources.get("updatingDocument"))&&(c.clearAutosave(),this.editor.setStatus(""),a?c.reloadFile(mxUtils.bind(this,function(){c.handleFileSuccess("manual"==DrawioFile.SYNC)}),mxUtils.bind(this,function(a){c.handleFileError(a,!0)})):c.synchronizeFile(mxUtils.bind(this,function(){c.handleFileSuccess("manual"==DrawioFile.SYNC)}),mxUtils.bind(this,function(a){c.handleFileError(a,!0)}))))};EditorUi.prototype.getFileData=function(a,b,d,f,n,g,l, +A,q,m){n=null!=n?n:!0;g=null!=g?g:!1;var c=this.editor.graph;if(b||!a&&null!=q&&/(\.svg)$/i.test(q.getTitle()))if(m=!1,null!=this.pages&&this.currentPage!=this.pages[0]){var e=c.getGlobalVariable,c=this.createTemporaryGraph(c.getStylesheet()),k=this.pages[0];c.getGlobalVariable=function(a){return"page"==a?k.getName():"pagenumber"==a?1:e.apply(this,arguments)};document.body.appendChild(c.container);c.model.setRoot(k.root)}l=null!=l?l:this.getXmlFileData(n,g,m);q=null!=q?q:this.getCurrentFile();a=this.createFileData(l, +c,q,window.location.href,a,b,d,f,n,A,m);c!=this.editor.graph&&c.container.parentNode.removeChild(c.container);return a};EditorUi.prototype.getHtml=function(a,b,d,f,n,g){g=null!=g?g:!0;var c=null,e=EditorUi.drawHost+"/js/embed-static.min.js";if(null!=b){var c=g?b.getGraphBounds():b.getBoundingBox(b.getSelectionCells()),k=b.view.scale;g=Math.floor(c.x/k-b.view.translate.x);k=Math.floor(c.y/k-b.view.translate.y);c=b.background;null==n&&(b=this.getBasenames().join(";"),0<b.length&&(e=EditorUi.drawHost+ +"/embed.js?s="+b));a.setAttribute("x0",g);a.setAttribute("y0",k)}null!=a&&(a.setAttribute("pan","1"),a.setAttribute("zoom","1"),a.setAttribute("resize","0"),a.setAttribute("fit","0"),a.setAttribute("border","20"),a.setAttribute("links","1"),null!=f&&a.setAttribute("edit",f));null!=n&&(n=n.replace(/&/g,"&"));a=null!=a?Graph.zapGremlins(mxUtils.getXml(a)):"";f=Graph.compress(a);Graph.decompress(f)!=a&&(f=encodeURIComponent(a));return(null==n?'\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=5,IE=9" ><![endif]--\x3e\n': +"")+"<!DOCTYPE html>\n<html"+(null!=n?' xmlns="http://www.w3.org/1999/xhtml">':">")+"\n<head>\n"+(null==n?null!=d?"<title>"+mxUtils.htmlEntities(d)+"</title>\n":"":"<title>Draw.io Diagram</title>\n")+(null!=n?'<meta http-equiv="refresh" content="0;URL=\''+n+"'\"/>\n":"")+"</head>\n<body"+(null==n&&null!=c&&c!=mxConstants.NONE?' style="background-color:'+c+';">':">")+'\n<div class="mxgraph" style="position:relative;overflow:auto;width:100%;">\n<div style="width:1px;height:1px;overflow:hidden;">'+f+ +"</div>\n</div>\n"+(null==n?'<script type="text/javascript" src="'+e+'">\x3c/script>':'<a style="position:absolute;top:50%;left:50%;margin-top:-128px;margin-left:-64px;" href="'+n+'" target="_blank"><img border="0" src="'+EditorUi.drawHost+'/images/drawlogo128.png"/></a>')+"\n</body>\n</html>\n"};EditorUi.prototype.getHtml2=function(a,b,d,f,n){b=EditorUi.drawHost+"/js/viewer.min.js";null!=n&&(n=n.replace(/&/g,"&"));a={highlight:"#0000ff",nav:this.editor.graph.foldingEnabled,resize:!0,xml:Graph.zapGremlins(a), +toolbar:"pages zoom layers lightbox"};null!=this.pages&&null!=this.currentPage&&(a.page=mxUtils.indexOf(this.pages,this.currentPage));return(null==n?'\x3c!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=5,IE=9" ><![endif]--\x3e\n':"")+"<!DOCTYPE html>\n<html"+(null!=n?' xmlns="http://www.w3.org/1999/xhtml">':">")+"\n<head>\n"+(null==n?null!=d?"<title>"+mxUtils.htmlEntities(d)+"</title>\n":"":"<title>Draw.io Diagram</title>\n")+(null!=n?'<meta http-equiv="refresh" content="0;URL=\''+n+"'\"/>\n": +"")+'<meta charset="utf-8"/>\n</head>\n<body>\n<div class="mxgraph" style="max-width:100%;border:1px solid transparent;" data-mxgraph="'+mxUtils.htmlEntities(JSON.stringify(a))+'"></div>\n'+(null==n?'<script type="text/javascript" src="'+b+'">\x3c/script>':'<a style="position:absolute;top:50%;left:50%;margin-top:-128px;margin-left:-64px;" href="'+n+'" target="_blank"><img border="0" src="'+EditorUi.drawHost+'/images/drawlogo128.png"/></a>')+"\n</body>\n</html>\n"};EditorUi.prototype.setFileData=function(a){a= +this.validateFileData(a);this.pages=this.fileNode=this.currentPage=null;a=null!=a&&0<a.length?mxUtils.parseXml(a).documentElement:null;var c=Editor.extractParserError(a,mxResources.get("invalidOrMissingFile"));if(c)throw Error(c);c=null!=a?this.editor.extractGraphModel(a,!0):null;null!=c&&(a=c);if(null!=a&&"mxfile"==a.nodeName&&(c=a.getElementsByTagName("diagram"),"0"!=urlParams.pages||1<c.length||1==c.length&&c[0].hasAttribute("name"))){var b=null;this.fileNode=a;this.pages=[];for(a=0;a<c.length;a++){null== +c[a].getAttribute("id")&&c[a].setAttribute("id",a);var d=new DiagramPage(c[a]);null==d.getName()&&d.setName(mxResources.get("pageWithNumber",[a+1]));this.pages.push(d);null!=urlParams["page-id"]&&d.getId()==urlParams["page-id"]&&(b=d)}this.currentPage=null!=b?b:this.pages[Math.max(0,Math.min(this.pages.length-1,urlParams.page||0))];a=this.currentPage.node}"0"!=urlParams.pages&&null==this.fileNode&&null!=a&&(this.fileNode=a.ownerDocument.createElement("mxfile"),this.currentPage=new DiagramPage(a.ownerDocument.createElement("diagram")), +this.currentPage.setName(mxResources.get("pageWithNumber",[1])),this.pages=[this.currentPage]);this.editor.setGraphXml(a);null!=this.currentPage&&(this.currentPage.root=this.editor.graph.model.root)};EditorUi.prototype.getBaseFilename=function(a){var c=this.getCurrentFile(),c=null!=c&&null!=c.getTitle()?c.getTitle():this.defaultFilename;if(/(\.xml)$/i.test(c)||/(\.html)$/i.test(c)||/(\.svg)$/i.test(c)||/(\.png)$/i.test(c)||/(\.drawio)$/i.test(c))c=c.substring(0,c.lastIndexOf("."));!a&&null!=this.pages&& +1<this.pages.length&&null!=this.currentPage&&null!=this.currentPage.node.getAttribute("name")&&0<this.currentPage.getName().length&&(c=c+"-"+this.currentPage.getName());return c};EditorUi.prototype.downloadFile=function(a,b,d,f,n,g,l,A,q,m){try{f=null!=f?f:this.editor.graph.isSelectionEmpty();var c=this.getBaseFilename(!n),e=c+"."+a;if("xml"==a){var k='<?xml version="1.0" encoding="UTF-8"?>\n'+this.getFileData(!0,null,null,null,f,n,null,null,null,b);this.saveData(e,a,k,"text/xml")}else if("html"== +a)k=this.getHtml2(this.getFileData(!0),this.editor.graph,c),this.saveData(e,a,k,"text/html");else if("svg"!=a&&"xmlsvg"!=a||!this.spinner.spin(document.body,mxResources.get("export")))"xmlpng"==a?e=c+".png":"jpeg"==a&&(e=c+".jpg"),this.saveRequest(e,a,mxUtils.bind(this,function(c,b){try{var e=this.editor.graph.pageVisible;null!=g&&(this.editor.graph.pageVisible=g);var d=this.createDownloadRequest(c,a,f,b,l,n,A,q,m);this.editor.graph.pageVisible=e;return d}catch(P){this.handleError(P)}}));else{var t= +null,y=mxUtils.bind(this,function(a){a.length<=MAX_REQUEST_SIZE?this.saveData(e,"svg",a,"image/svg+xml"):this.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(t)}))});if("svg"==a){var p=this.editor.graph.background;if(l||p==mxConstants.NONE)p=null;var F=this.editor.graph.getSvg(p,null,null,null,null,f);d&&this.editor.graph.addSvgShadow(F);this.convertImages(F,mxUtils.bind(this,mxUtils.bind(this,function(a){this.spinner.stop(); +y('<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n'+mxUtils.getXml(a))})))}else e=c+".svg",t=this.getFileData(!1,!0,null,mxUtils.bind(this,function(a){this.spinner.stop();y(a)}),f)}}catch(Q){this.handleError(Q)}};EditorUi.prototype.createDownloadRequest=function(a,b,d,f,n,g,l,A,q){var c=this.editor.graph,e=c.getGraphBounds();d=this.getFileData(!0,null,null,null,d,0==g?!1:"xmlpng"!=b);var k="",t="";if(e.width* +e.height>MAX_AREA||d.length>MAX_REQUEST_SIZE)throw{message:mxResources.get("drawingTooLarge")};e="0";"pdf"==b&&0==g&&(t="&allPages=1");if("xmlpng"==b&&(e="1",b="png",null!=this.pages&&null!=this.currentPage))for(g=0;g<this.pages.length;g++)if(this.pages[g]==this.currentPage){k="&from="+g;break}g=c.background;"png"==b&&n?g=mxConstants.NONE:n||null!=g&&g!=mxConstants.NONE||(g="#ffffff");n={globalVars:c.getExportVariables()};q&&(n.grid={size:c.gridSize,steps:c.view.gridSteps,color:c.view.gridColor}); +return new mxXmlRequest(EXPORT_URL,"format="+b+k+t+"&bg="+(null!=g?g:mxConstants.NONE)+"&base64="+f+"&embedXml="+e+"&xml="+encodeURIComponent(d)+(null!=a?"&filename="+encodeURIComponent(a):"")+"&extras="+encodeURIComponent(JSON.stringify(n))+(null!=l?"&scale="+l:"")+(null!=A?"&border="+A:""))};EditorUi.prototype.setMode=function(a,b){this.mode=a};EditorUi.prototype.loadDescriptor=function(a,b,d){var c=window.location.hash,e=mxUtils.bind(this,function(e){var d=null!=a.data?a.data:"";null!=e&&0<e.length&& +(0<d.length&&(d+="\n"),d+=e);e=new LocalFile(this,"csv"!=a.format&&0<d.length?d:this.emptyDiagramXml,null!=urlParams.title?decodeURIComponent(urlParams.title):this.defaultFilename,!0);e.getHash=function(){return c};this.fileLoaded(e);"csv"==a.format&&this.importCsv(d,mxUtils.bind(this,function(a){this.editor.undoManager.clear();this.editor.setModified(!1);this.editor.setStatus("")}));if(null!=a.update){var k=null!=a.interval?parseInt(a.interval):6E4,f=null,g=mxUtils.bind(this,function(){var c=this.currentPage; +mxUtils.post(a.update,"xml="+encodeURIComponent(mxUtils.getXml(this.editor.getGraphXml())),mxUtils.bind(this,function(a){c===this.currentPage&&(200<=a.getStatus()&&300>=a.getStatus()?(this.updateDiagram(a.getText()),n()):this.handleError({message:mxResources.get("error")+" "+a.getStatus()}))}),mxUtils.bind(this,function(a){this.handleError(a)}))}),n=mxUtils.bind(this,function(){window.clearTimeout(f);f=window.setTimeout(g,k)});this.editor.addListener("pageSelected",mxUtils.bind(this,function(){n(); +g()}));n();g()}null!=b&&b()});if(null!=a.url&&0<a.url.length){var k=a.url;/^https?:\/\//.test(k)&&!this.editor.isCorsEnabledForUrl(k)&&(k=PROXY_URL+"?url="+encodeURIComponent(k));this.loadUrl(k,mxUtils.bind(this,function(a){e(a)}),mxUtils.bind(this,function(a){null!=d&&d(a)}))}else e("")};EditorUi.prototype.updateDiagram=function(a){function c(a){var c=new mxCellOverlay(a.image||f.warningImage,a.tooltip,a.align,a.valign,a.offset);c.addListener(mxEvent.CLICK,function(c,b){d.alert(a.tooltip)});return c} +var b=null,d=this;if(null!=a&&0<a.length&&(b=mxUtils.parseXml(a),a=null!=b?b.documentElement:null,null!=a&&"updates"==a.nodeName)){var f=this.editor.graph,g=f.getModel();g.beginUpdate();var l=null;try{for(a=a.firstChild;null!=a;){if("update"==a.nodeName){var A=g.getCell(a.getAttribute("id"));if(null!=A){try{var q=a.getAttribute("value");if(null!=q){var m=mxUtils.parseXml(q).documentElement;if(null!=m)if("1"==m.getAttribute("replace-value"))g.setValue(A,m);else for(var x=m.attributes,p=0;p<x.length;p++)f.setAttributeForCell(A, +x[p].nodeName,0<x[p].nodeValue.length?x[p].nodeValue:null)}}catch(L){null!=window.console&&console.log("Error in value for "+A.id+": "+L)}try{var u=a.getAttribute("style");null!=u&&f.model.setStyle(A,u)}catch(L){null!=window.console&&console.log("Error in style for "+A.id+": "+L)}try{var C=a.getAttribute("icon");if(null!=C){var v=0<C.length?JSON.parse(C):null;null!=v&&v.append||f.removeCellOverlays(A);null!=v&&f.addCellOverlay(A,c(v))}}catch(L){null!=window.console&&console.log("Error in icon for "+ +A.id+": "+L)}try{var z=a.getAttribute("geometry");if(null!=z){var z=JSON.parse(z),H=f.getCellGeometry(A);if(null!=H){H=H.clone();for(key in z){var B=parseFloat(z[key]);"dx"==key?H.x+=B:"dy"==key?H.y+=B:"dw"==key?H.width+=B:"dh"==key?H.height+=B:H[key]=parseFloat(z[key])}f.model.setGeometry(A,H)}}}catch(L){null!=window.console&&console.log("Error in icon for "+A.id+": "+L)}}}else if("model"==a.nodeName){for(var D=a.firstChild;null!=D&&D.nodeType!=mxConstants.NODETYPE_ELEMENT;)D=D.nextSibling;null!= +D&&(new mxCodec(a.firstChild)).decode(D,g)}else if("view"==a.nodeName){if(a.hasAttribute("scale")&&(f.view.scale=parseFloat(a.getAttribute("scale"))),a.hasAttribute("dx")||a.hasAttribute("dy"))f.view.translate=new mxPoint(parseFloat(a.getAttribute("dx")||0),parseFloat(a.getAttribute("dy")||0))}else"fit"==a.nodeName&&(l=a.hasAttribute("max-scale")?parseFloat(a.getAttribute("max-scale")):1);a=a.nextSibling}}finally{g.endUpdate()}null!=l&&this.chromelessResize&&this.chromelessResize(!0,l)}return b}; +EditorUi.prototype.getCopyFilename=function(a,b){var c=null!=a&&null!=a.getTitle()?a.getTitle():this.defaultFilename,e="",d=c.lastIndexOf(".");0<=d&&(e=c.substring(d),c=c.substring(0,d));if(b)var f=new Date,d=f.getFullYear(),l=f.getMonth()+1,A=f.getDate(),q=f.getHours(),m=f.getMinutes(),f=f.getSeconds(),c=c+(" "+(d+"-"+l+"-"+A+"-"+q+"-"+m+"-"+f));return c=mxResources.get("copyOf",[c])+e};EditorUi.prototype.fileLoaded=function(a,b){var c=this.getCurrentFile();this.fileLoadedError=null;this.setCurrentFile(null); +var e=!1;this.hideDialog();null!=c&&(c.removeListener(this.descriptorChangedListener),c.close());this.editor.graph.model.clear();this.editor.undoManager.clear();var d=mxUtils.bind(this,function(){this.setGraphEnabled(!1);this.setCurrentFile(null);null!=c&&this.updateDocumentTitle();this.editor.graph.model.clear();this.editor.undoManager.clear();this.setBackgroundImage(null);!b&&null!=window.location.hash&&0<window.location.hash.length&&(window.location.hash="");null!=this.fname&&(this.fnameWrapper.style.display= +"none",this.fname.innerHTML="",this.fname.setAttribute("title",mxResources.get("rename")));this.editor.setStatus("");this.updateUi();b||this.showSplash()});if(null!=a)try{mxClient.IS_SF&&"min"==uiTheme&&(this.diagramContainer.style.visibility="");this.openingFile=!0;this.setCurrentFile(a);a.addListener("descriptorChanged",this.descriptorChangedListener);a.addListener("contentChanged",this.descriptorChangedListener);a.open();delete this.openingFile;this.setGraphEnabled(!0);this.setMode(a.getMode()); +this.editor.graph.model.prefix=Editor.guid()+"-";this.editor.undoManager.clear();this.descriptorChanged();this.updateUi();a.isEditable()?a.isModified()?(a.addUnsavedStatus(),null!=a.backupPatch&&a.patch([a.backupPatch])):this.editor.setStatus(""):this.editor.setStatus('<span class="geStatusAlert" style="margin-left:8px;">'+mxUtils.htmlEntities(mxResources.get("readOnly"))+"</span>");!this.editor.isChromelessView()||this.editor.editable?(this.editor.graph.selectUnlockedLayer(),this.showLayersDialog(), +this.restoreLibraries(),window.self!==window.top&&window.focus()):this.editor.graph.isLightboxView()&&this.lightboxFit();this.chromelessResize&&this.chromelessResize();this.editor.fireEvent(new mxEventObject("fileLoaded"));e=!0;this.isOffline()||null==a.getMode()||EditorUi.logEvent({category:a.getMode().toUpperCase()+"-OPEN-FILE-"+a.getHash(),action:"size_"+a.getSize(),label:"autosave_"+(this.editor.autosave?"on":"off")});if(this.editor.editable&&this.mode==a.getMode()&&a.getMode()!=App.MODE_DEVICE&& +null!=a.getMode())try{this.addRecent({id:a.getHash(),title:a.getTitle(),mode:a.getMode()})}catch(y){}try{mxSettings.setOpenCounter(mxSettings.getOpenCounter()+1),mxSettings.save()}catch(y){}}catch(y){this.fileLoadedError=y;null!=window.console&&(console.error(y),console.log("error in fileLoaded:",a,y));if(EditorUi.enableLogging&&!this.isOffline())try{(new Image).src=(null!=window.DRAWIO_LOG_URL?window.DRAWIO_LOG_URL:"")+"/log?v="+encodeURIComponent(EditorUi.VERSION)+"&msg=errorInFileLoaded:url:"+ +encodeURIComponent(window.location.href)+(null!=y&&null!=y.message?":err:"+encodeURIComponent(y.message):"")+(null!=y&&null!=y.stack?"&stack="+encodeURIComponent(y.stack):"")}catch(A){}var f=mxUtils.bind(this,function(){null!=urlParams.url&&this.spinner.spin(document.body,mxResources.get("reconnecting"))?window.location.search=this.getSearch(["url"]):null!=c?this.fileLoaded(c):d()});b?f():this.handleError(y,mxResources.get("errorLoadingFile"),f,!0)}else d();return e};EditorUi.prototype.getHashValueForPages= +function(a,b){var c=0,e=new mxGraphModel,d=new mxCodec;null!=b&&(b.byteCount=0,b.attrCount=0,b.eltCount=0,b.nodeCount=0);for(var f=0;f<a.length;f++){this.updatePageRoot(a[f]);var l=a[f].node.cloneNode(!1);l.removeAttribute("name");e.root=a[f].root;var A=d.encode(e);this.editor.graph.saveViewState(a[f].viewState,A,!0);A.removeAttribute("pageWidth");A.removeAttribute("pageHeight");l.appendChild(A);null!=b&&(b.eltCount+=l.getElementsByTagName("*").length,b.nodeCount+=l.getElementsByTagName("mxCell").length); +c=(c<<5)-c+this.hashValue(l,function(a,c,b,e){return!e||"mxGeometry"!=a.nodeName&&"mxPoint"!=a.nodeName||"x"!=c&&"y"!=c&&"width"!=c&&"height"!=c?e&&"mxCell"==a.nodeName&&"previous"==c?null:b:Math.round(b)},b)<<0}return c};EditorUi.prototype.hashValue=function(a,b,d){var c=0;if(null!=a&&"object"===typeof a&&"number"===typeof a.nodeType&&"string"===typeof a.nodeName&&"function"===typeof a.getAttribute){null!=a.nodeName&&(c^=this.hashValue(a.nodeName,b,d));if(null!=a.attributes){null!=d&&(d.attrCount+= +a.attributes.length);for(var e=0;e<a.attributes.length;e++){var k=a.attributes[e].name,f=null!=b?b(a,k,a.attributes[e].value,!0):a.attributes[e].value;null!=f&&(c^=this.hashValue(k,b,d)+this.hashValue(f,b,d))}}if(null!=a.childNodes)for(e=0;e<a.childNodes.length;e++)c=(c<<5)-c+this.hashValue(a.childNodes[e],b,d)<<0}else if(null!=a&&"function"!==typeof a){a=String(a);b=0;null!=d&&(d.byteCount+=a.length);for(e=0;e<a.length;e++)b=(b<<5)-b+a.charCodeAt(e)<<0;c^=b}return c};EditorUi.prototype.descriptorChanged= +function(){};EditorUi.prototype.restoreLibraries=function(){};EditorUi.prototype.saveLibrary=function(a,b,d,f,n,g,l){};EditorUi.prototype.isScratchpadEnabled=function(){return isLocalStorage||mxClient.IS_CHROMEAPP};EditorUi.prototype.toggleScratchpad=function(){this.isScratchpadEnabled()&&(null==this.scratchpad?this.getLocalData(".scratchpad",mxUtils.bind(this,function(a){null==a&&(a=this.emptyLibraryXml);this.loadLibrary(new StorageLibrary(this,a,".scratchpad"))})):this.closeLibrary(this.scratchpad))}; +EditorUi.prototype.createLibraryDataFromImages=function(a){var c=mxUtils.createXmlDocument(),b=c.createElement("mxlibrary");mxUtils.setTextContent(b,JSON.stringify(a));c.appendChild(b);return mxUtils.getXml(c)};EditorUi.prototype.closeLibrary=function(a){null!=a&&(this.removeLibrarySidebar(a.getHash()),a.constructor!=LocalLibrary&&mxSettings.removeCustomLibrary(a.getHash()),".scratchpad"==a.title&&(this.scratchpad=null))};EditorUi.prototype.removeLibrarySidebar=function(a){var c=this.sidebar.palettes[a]; +if(null!=c){for(var b=0;b<c.length;b++)c[b].parentNode.removeChild(c[b]);delete this.sidebar.palettes[a]}};EditorUi.prototype.repositionLibrary=function(a){var c=this.sidebar.container;if(null==a){var b=this.sidebar.palettes["L.scratchpad"];null==b&&(b=this.sidebar.palettes.search);null!=b&&(a=b[b.length-1].nextSibling)}a=null!=a?a:c.firstChild.nextSibling.nextSibling;var b=c.lastChild,d=b.previousSibling;c.insertBefore(b,a);c.insertBefore(d,b)};EditorUi.prototype.loadLibrary=function(a){var c=mxUtils.parseXml(a.getData()); +if("mxlibrary"==c.documentElement.nodeName){var b=JSON.parse(mxUtils.getTextContent(c.documentElement));this.libraryLoaded(a,b,c.documentElement.getAttribute("title"))}else throw{message:mxResources.get("notALibraryFile")};};EditorUi.prototype.getLibraryStorageHint=function(a){return""};EditorUi.prototype.libraryLoaded=function(a,b,d){if(null!=this.sidebar){a.constructor!=LocalLibrary&&mxSettings.addCustomLibrary(a.getHash());".scratchpad"==a.title&&(this.scratchpad=a);var c=this.sidebar.palettes[a.getHash()], +c=null!=c?c[c.length-1].nextSibling:null;this.removeLibrarySidebar(a.getHash());var e=null,f=mxUtils.bind(this,function(c,b){0==c.length&&a.isEditable()?(null==e&&(e=document.createElement("div"),e.className="geDropTarget",mxUtils.write(e,mxResources.get("dragElementsHere"))),b.appendChild(e)):this.addLibraryEntries(c,b)});null!=this.sidebar&&null!=b&&this.sidebar.addEntries(b);d=null!=d&&0<d.length?d:a.getTitle();var k=this.sidebar.addPalette(a.getHash(),d,!0,mxUtils.bind(this,function(a){f(b,a)})); +this.repositionLibrary(c);var l=k.parentNode.previousSibling;d=l.getAttribute("title");null!=d&&0<d.length&&".scratchpad"!=a.title&&l.setAttribute("title",this.getLibraryStorageHint(a)+"\n"+d);var q=document.createElement("div");q.style.position="absolute";q.style.right="0px";q.style.top="0px";q.style.padding="8px";mxClient.IS_QUIRKS||8==document.documentMode||(q.style.backgroundColor="inherit");l.style.position="relative";var m=document.createElement("img");m.setAttribute("src",Dialog.prototype.closeImage); +m.setAttribute("title",mxResources.get("close"));m.setAttribute("valign","absmiddle");m.setAttribute("border","0");m.style.margin="0 3px";var x=null;if(".scratchpad"!=a.title||this.closableScratchpad)q.appendChild(m),mxEvent.addListener(m,"click",mxUtils.bind(this,function(c){if(!mxEvent.isConsumed(c)){var b=mxUtils.bind(this,function(){this.closeLibrary(a)});null!=x?this.confirm(mxResources.get("allChangesLost"),null,b,mxResources.get("cancel"),mxResources.get("discardChanges")):b();mxEvent.consume(c)}})); +if(a.isEditable()){var p=this.editor.graph,u=null,v=mxUtils.bind(this,function(c){this.showLibraryDialog(a.getTitle(),k,b,a,a.getMode());mxEvent.consume(c)}),z=mxUtils.bind(this,function(c){a.setModified(!0);a.isAutosave()?(null!=u&&null!=u.parentNode&&u.parentNode.removeChild(u),u=m.cloneNode(!1),u.setAttribute("src",Editor.spinImage),u.setAttribute("title",mxResources.get("saving")),u.style.cursor="default",u.style.marginRight="2px",u.style.marginTop="-2px",q.insertBefore(u,q.firstChild),l.style.paddingRight= +18*q.childNodes.length+"px",this.saveLibrary(a.getTitle(),b,a,a.getMode(),!0,!0,function(){null!=u&&null!=u.parentNode&&(u.parentNode.removeChild(u),l.style.paddingRight=18*q.childNodes.length+"px")})):null==x&&(x=m.cloneNode(!1),x.setAttribute("src",IMAGE_PATH+"/download.png"),x.setAttribute("title",mxResources.get("save")),q.insertBefore(x,q.firstChild),mxEvent.addListener(x,"click",mxUtils.bind(this,function(c){this.saveLibrary(a.getTitle(),b,a,a.getMode(),a.constructor==LocalLibrary,!0,function(){null== +x||a.isModified()||(l.style.paddingRight=18*q.childNodes.length+"px",x.parentNode.removeChild(x),x=null)});mxEvent.consume(c)})),l.style.paddingRight=18*q.childNodes.length+"px")}),B=mxUtils.bind(this,function(a,c,d,f){a=p.cloneCells(mxUtils.sortCells(p.model.getTopmostCells(a)));for(var g=0;g<a.length;g++){var n=p.getCellGeometry(a[g]);null!=n&&n.translate(-c.x,-c.y)}k.appendChild(this.sidebar.createVertexTemplateFromCells(a,c.width,c.height,f||"",!0,!1,!1));a={xml:Graph.compress(mxUtils.getXml(this.editor.graph.encodeCells(a))), +w:c.width,h:c.height};null!=f&&(a.title=f);b.push(a);z(d);null!=e&&null!=e.parentNode&&0<b.length&&(e.parentNode.removeChild(e),e=null)}),H=mxUtils.bind(this,function(a){if(p.isSelectionEmpty())p.getRubberband().isActive()?(p.getRubberband().execute(a),p.getRubberband().reset()):this.showError(mxResources.get("error"),mxResources.get("nothingIsSelected"),mxResources.get("ok"));else{var c=p.getSelectionCells(),b=p.view.getBounds(c),e=p.view.scale;b.x/=e;b.y/=e;b.width/=e;b.height/=e;b.x-=p.view.translate.x; +b.y-=p.view.translate.y;B(c,b)}mxEvent.consume(a)});mxEvent.addGestureListeners(k,function(){},mxUtils.bind(this,function(a){p.isMouseDown&&null!=p.panningManager&&null!=p.graphHandler.shape&&(p.graphHandler.shape.node.style.visibility="hidden",k.style.backgroundColor="#f1f3f4",k.style.cursor="copy",p.panningManager.stop(),p.autoScroll=!1,null!=p.graphHandler.guide&&p.graphHandler.guide.setVisible(!1),null!=p.graphHandler.hint&&(p.graphHandler.hint.style.visibility="hidden"),mxEvent.consume(a))}), +mxUtils.bind(this,function(a){p.isMouseDown&&null!=p.panningManager&&null!=p.graphHandler&&(k.style.backgroundColor="",k.style.cursor="default",this.sidebar.showTooltips=!0,p.panningManager.stop(),p.graphHandler.reset(),p.isMouseDown=!1,p.autoScroll=!0,H(a),mxEvent.consume(a))}));mxEvent.addListener(k,"mouseleave",mxUtils.bind(this,function(a){p.isMouseDown&&null!=p.graphHandler.shape&&(p.graphHandler.shape.node.style.visibility="visible",k.style.backgroundColor="",k.style.cursor="",p.autoScroll= +!0,null!=p.graphHandler.guide&&p.graphHandler.guide.setVisible(!0),null!=p.graphHandler.hint&&(p.graphHandler.hint.style.visibility="visible"))}));Graph.fileSupport&&(mxEvent.addListener(k,"dragover",mxUtils.bind(this,function(a){k.style.backgroundColor="#f1f3f4";a.dataTransfer.dropEffect="copy";k.style.cursor="copy";this.sidebar.hideTooltip();a.stopPropagation();a.preventDefault()})),mxEvent.addListener(k,"drop",mxUtils.bind(this,function(a){k.style.cursor="";k.style.backgroundColor="";0<a.dataTransfer.files.length&& +this.importFiles(a.dataTransfer.files,0,0,this.maxImageSize,mxUtils.bind(this,function(c,d,g,n,t,l,q,u,x){if(null!=c&&"image/"==d.substring(0,6))c="shape=image;verticalLabelPosition=bottom;verticalAlign=top;aspect=fixed;image="+this.convertDataUri(c),c=[new mxCell("",new mxGeometry(0,0,t,l),c)],c[0].vertex=!0,B(c,new mxRectangle(0,0,t,l),a,mxEvent.isAltDown(a)?null:q.substring(0,q.lastIndexOf(".")).replace(/_/g," ")),null!=e&&null!=e.parentNode&&0<b.length&&(e.parentNode.removeChild(e),e=null);else{var y= +!1,A=mxUtils.bind(this,function(c,d){if(null!=c&&"text/xml"==d){var g=mxUtils.parseXml(c);if("mxlibrary"==g.documentElement.nodeName)try{var n=JSON.parse(mxUtils.getTextContent(g.documentElement));f(n,k);b=b.concat(n);z(a);this.spinner.stop();y=!0}catch(M){}else if("mxfile"==g.documentElement.nodeName)try{for(var t=g.documentElement.getElementsByTagName("diagram"),g=0;g<t.length;g++){var q=this.stringToCells(Editor.getDiagramNodeXml(t[g])),l=this.editor.graph.getBoundingBoxFromGeometry(q);B(q,new mxRectangle(0, +0,l.width,l.height),a)}y=!0}catch(M){null!=window.console&&console.log("error in drop handler:",M)}}y||(this.spinner.stop(),this.handleError({message:mxResources.get("errorLoadingFile")}));null!=e&&null!=e.parentNode&&0<b.length&&(e.parentNode.removeChild(e),e=null)});null!=x&&null!=q&&(/(\.v(dx|sdx?))($|\?)/i.test(q)||/(\.vs(x|sx?))($|\?)/i.test(q))?this.importVisio(x,function(a){A(a,"text/xml")},null,q):!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(c,q)&&null!=x?this.parseFile(x, +mxUtils.bind(this,function(a){4==a.readyState&&(this.spinner.stop(),200<=a.status&&299>=a.status?A(a.responseText,"text/xml"):this.handleError({message:mxResources.get(413==a.status?"drawingTooLarge":"invalidOrMissingFile")},mxResources.get("errorLoadingFile")))})):A(c,d)}}));a.stopPropagation();a.preventDefault()})),mxEvent.addListener(k,"dragleave",function(a){k.style.cursor="";k.style.backgroundColor="";a.stopPropagation();a.preventDefault()}));m=m.cloneNode(!1);m.setAttribute("src",Editor.editImage); +m.setAttribute("title",mxResources.get("edit"));q.insertBefore(m,q.firstChild);mxEvent.addListener(m,"click",v);mxEvent.addListener(k,"dblclick",function(a){mxEvent.getSource(a)==k&&v(a)});d=m.cloneNode(!1);d.setAttribute("src",Editor.plusImage);d.setAttribute("title",mxResources.get("add"));q.insertBefore(d,q.firstChild);mxEvent.addListener(d,"click",H);this.isOffline()||".scratchpad"!=a.title||null==EditorUi.scratchpadHelpLink||(d=document.createElement("span"),d.setAttribute("title",mxResources.get("help")), +d.style.cssText="color:#a3a3a3;text-decoration:none;margin-right:2px;",mxUtils.write(d,"?"),mxEvent.addGestureListeners(d,mxUtils.bind(this,function(a){this.openLink(EditorUi.scratchpadHelpLink);mxEvent.consume(a)})),q.insertBefore(d,q.firstChild))}l.appendChild(q);l.style.paddingRight=18*q.childNodes.length+"px"}};EditorUi.prototype.addLibraryEntries=function(a,b){for(var c=0;c<a.length;c++){var d=a[c],e=d.data;if(null!=e){var e=this.convertDataUri(e),f="shape=image;verticalLabelPosition=bottom;verticalAlign=top;imageAspect=0;"; +"fixed"==d.aspect&&(f+="aspect=fixed;");b.appendChild(this.sidebar.createVertexTemplate(f+"image="+e,d.w,d.h,"",d.title||"",!1,!1,!0))}else null!=d.xml&&(e=this.stringToCells(Graph.decompress(d.xml)),0<e.length&&b.appendChild(this.sidebar.createVertexTemplateFromCells(e,d.w,d.h,d.title||"",!0,!1,!0)))}};EditorUi.prototype.getResource=function(a){return null!=a?a[mxLanguage]||a.main:null};EditorUi.prototype.footerHeight=0;"1"==urlParams.offline||EditorUi.isElectronApp||("1"==urlParams.savesidebar&& +(Sidebar.prototype.thumbWidth=64,Sidebar.prototype.thumbHeight=64),EditorUi.prototype.createFooter=function(){return document.getElementById("geFooter")});EditorUi.initTheme=function(){"atlas"==uiTheme?(mxClient.link("stylesheet",STYLE_PATH+"/atlas.css"),"undefined"!==typeof Toolbar&&(Toolbar.prototype.unselectedBackground=mxClient.IS_QUIRKS?"none":"linear-gradient(rgb(255, 255, 255) 0px, rgb(242, 242, 242) 100%)",Toolbar.prototype.selectedBackground="rgb(242, 242, 242)"),Editor.prototype.initialTopSpacing= +3,EditorUi.prototype.menubarHeight=41,EditorUi.prototype.toolbarHeight=38):"dark"==uiTheme&&(mxClient.link("stylesheet",STYLE_PATH+"/dark.css"),Dialog.backdropColor="#2a2a2a",Graph.prototype.defaultThemeName="darkTheme",Graph.prototype.defaultPageBackgroundColor="#2a2a2a",Graph.prototype.defaultPageBorderColor="#505759",Format.prototype.inactiveTabBackgroundColor="black",BaseFormatPanel.prototype.buttonBackgroundColor="#2a2a2a",Sidebar.prototype.dragPreviewBorder="1px dashed #cccccc",mxGraphHandler.prototype.previewColor= +"#cccccc",StyleFormatPanel.prototype.defaultStrokeColor="#cccccc",mxClient.IS_SVG&&(Editor.helpImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAP1BMVEUAAAD///////////////////////////////////////////////////////////////////////////////9Du/pqAAAAFXRSTlMAT30qCJRBboyDZyCgRzUUdF46MJlgXETgAAAAeklEQVQY022O2w4DIQhEQUURda/9/28tUO2+7CQS5sgQ4F1RapX78YUwRqQjTU8ILqQfKerTKTvACJ4nLX3krt+8aS82oI8aQC4KavRgtvEW/mDvsICgA03PSGRr79MqX1YPNIxzjyqtw8ZnnRo4t5a5undtJYRywau+ds4Cyza3E6YAAAAASUVORK5CYII=", Editor.checkmarkImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAMAAACeyVWkAAAARVBMVEUAAACZmZkICAgEBASNjY2Dg4MYGBiTk5N5eXl1dXVmZmZQUFBCQkI3NzceHh4MDAykpKSJiYl+fn5sbGxaWlo/Pz8SEhK96uPlAAAAAXRSTlMAQObYZgAAAE5JREFUGNPFzTcSgDAQQ1HJGUfy/Y9K7V1qeOUfzQifCQZai1XHaz11LFysbDbzgDSSWMZiETz3+b8yNUc/MMsktxuC8XQBSncdLwz+8gCCggGXzBcozAAAAABJRU5ErkJggg=="))};EditorUi.initTheme();EditorUi.prototype.hideFooter=function(){var a=document.getElementById("geFooter");null!=a&&(this.footerHeight=0,a.style.display= "none",this.refresh())};EditorUi.prototype.showFooter=function(a){var c=document.getElementById("geFooter");null!=c&&(this.footerHeight=a,c.style.display="inline",this.refresh())};EditorUi.prototype.showImageDialog=function(a,b,d,f,n){a=new ImageDialog(this,a,b,d,f,n);this.showDialog(a.container,Graph.fileSupport?440:360,Graph.fileSupport?200:90,!0,!0);a.init()};EditorUi.prototype.showBackgroundImageDialog=function(a){a=null!=a?a:mxUtils.bind(this,function(a){a=new ChangePageSetup(this,null,a);a.ignoreColor= !0;this.editor.graph.model.execute(a)});var c=new BackgroundImageDialog(this,mxUtils.bind(this,function(c){a(c)}));this.showDialog(c.container,360,200,!0,!0);c.init()};EditorUi.prototype.showLibraryDialog=function(a,b,d,f,n){a=new LibraryDialog(this,a,b,d,f,n);this.showDialog(a.container,640,440,!0,!1,mxUtils.bind(this,function(a){a&&null==this.getCurrentFile()&&"1"!=urlParams.embed&&this.showSplash()}));a.init()};var b=EditorUi.prototype.createFormat;EditorUi.prototype.createFormat=function(a){var c= b.apply(this,arguments);this.editor.graph.addListener("viewStateChanged",mxUtils.bind(this,function(a){this.editor.graph.isSelectionEmpty()&&c.refresh()}));return c};EditorUi.prototype.createSidebarFooterContainer=function(){var a=this.createDiv("geSidebarContainer geSidebarFooter");a.style.position="absolute";a.style.overflow="hidden";var b=document.createElement("a");b.className="geTitle";b.style.color="#DF6C0C";b.style.fontWeight="bold";b.style.height="100%";b.style.paddingTop="9px";b.innerHTML= '<span style="font-size:18px;margin-right:5px;">+</span>';mxUtils.write(b,mxResources.get("moreShapes")+"...");mxEvent.addListener(b,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(a){a.preventDefault()}));mxEvent.addListener(b,"click",mxUtils.bind(this,function(a){this.actions.get("shapes").funct();mxEvent.consume(a)}));a.appendChild(b);return a};EditorUi.prototype.handleError=function(a,b,d,f,n,g){var c=null!=this.spinner&&null!=this.spinner.pause?this.spinner.pause():function(){}, -e=null!=a&&null!=a.error?a.error:a;if(null!=e||null!=b){var k=mxUtils.htmlEntities(mxResources.get("unknownError")),u=mxResources.get("ok"),l=null;b=null!=b?b:mxResources.get("error");if(null!=e){null!=e.retry&&(u=mxResources.get("cancel"),l=function(){c();e.retry()});if(404==e.code||404==e.status||403==e.code){var k=403==e.code?null!=e.message?mxUtils.htmlEntities(e.message):mxUtils.htmlEntities(mxResources.get("accessDenied")):null!=n?n:mxUtils.htmlEntities(mxResources.get("fileNotFoundOrDenied")+ +e=null!=a&&null!=a.error?a.error:a;if(null!=e||null!=b){var k=mxUtils.htmlEntities(mxResources.get("unknownError")),t=mxResources.get("ok"),l=null;b=null!=b?b:mxResources.get("error");if(null!=e){null!=e.retry&&(t=mxResources.get("cancel"),l=function(){c();e.retry()});if(404==e.code||404==e.status||403==e.code){var k=403==e.code?null!=e.message?mxUtils.htmlEntities(e.message):mxUtils.htmlEntities(mxResources.get("accessDenied")):null!=n?n:mxUtils.htmlEntities(mxResources.get("fileNotFoundOrDenied")+ (null!=this.drive&&null!=this.drive.user?" ("+this.drive.user.displayName+", "+this.drive.user.email+")":"")),m=null!=g?g:window.location.hash;if(null!=m&&("#G"==m.substring(0,2)||"#Uhttps%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D"==m.substring(0,45))&&(null!=a&&null!=a.error&&(null!=a.error.errors&&0<a.error.errors.length&&"fileAccess"==a.error.errors[0].reason||null!=a.error.data&&0<a.error.data.length&&"fileAccess"==a.error.data[0].reason)||404==e.code||404==e.status)){m="#U"==m.substring(0,2)?m.substring(45, m.lastIndexOf("%26ex")):m.substring(2);this.showError(b,k,mxResources.get("openInNewWindow"),mxUtils.bind(this,function(){this.editor.graph.openLink("https://drive.google.com/open?id="+m);this.handleError(a,b,d,f,n)}),l,mxResources.get("changeUser"),mxUtils.bind(this,function(){function a(){e.innerHTML="";for(var a=0;a<c.length;a++){var b=document.createElement("option");mxUtils.write(b,c[a].displayName);b.value=a;e.appendChild(b);b=document.createElement("option");b.innerHTML=" "; mxUtils.write(b,"<"+c[a].email+">");b.setAttribute("disabled","disabled");e.appendChild(b)}b=document.createElement("option");mxUtils.write(b,mxResources.get("addAccount"));b.value=c.length;e.appendChild(b)}var c=this.drive.getUsersList(),b=document.createElement("div"),d=document.createElement("span");d.style.marginTop="6px";mxUtils.write(d,mxResources.get("changeUser")+": ");b.appendChild(d);var e=document.createElement("select");e.style.width="200px";a();mxEvent.addListener(e,"change",mxUtils.bind(this, function(){var b=e.value,d=c.length!=b;d&&this.drive.setUser(c[b]);this.drive.authorize(d,mxUtils.bind(this,function(){d||(c=this.drive.getUsersList(),a())}),mxUtils.bind(this,function(a){this.handleError(a)}),!0)}));b.appendChild(e);b=new CustomDialog(this,b,mxUtils.bind(this,function(){this.loadFile(window.location.hash.substr(1),!0)}));this.showDialog(b.container,300,75,!0,!0)}),mxResources.get("cancel"),mxUtils.bind(this,function(){this.hideDialog();null!=d&&d()}),480,150);return}}null!=e.message? -k=mxUtils.htmlEntities(e.message):null!=e.response&&null!=e.response.error?k=mxUtils.htmlEntities(e.response.error):"undefined"!==typeof window.App&&(e.code==App.ERROR_TIMEOUT?k=mxUtils.htmlEntities(mxResources.get("timeout")):e.code==App.ERROR_BUSY&&(k=mxUtils.htmlEntities(mxResources.get("busy"))))}var t=g=null;null!=e&&null!=e.helpLink&&(g=mxResources.get("help"),t=mxUtils.bind(this,function(){return this.editor.graph.openLink(e.helpLink)}));this.showError(b,k,u,d,l,null,null,g,t,null,null,null, +k=mxUtils.htmlEntities(e.message):null!=e.response&&null!=e.response.error?k=mxUtils.htmlEntities(e.response.error):"undefined"!==typeof window.App&&(e.code==App.ERROR_TIMEOUT?k=mxUtils.htmlEntities(mxResources.get("timeout")):e.code==App.ERROR_BUSY&&(k=mxUtils.htmlEntities(mxResources.get("busy"))))}var u=g=null;null!=e&&null!=e.helpLink&&(g=mxResources.get("help"),u=mxUtils.bind(this,function(){return this.editor.graph.openLink(e.helpLink)}));this.showError(b,k,t,d,l,null,null,g,u,null,null,null, f?d:null)}else null!=d&&d()};EditorUi.prototype.alert=function(a,b){var c=new ErrorDialog(this,null,a,mxResources.get("ok"),b);this.showDialog(c.container,340,100,!0,!1);c.init()};EditorUi.prototype.confirm=function(a,b,d,f,n,g){var c=null!=this.spinner&&null!=this.spinner.pause?this.spinner.pause():function(){},e=Math.min(200,28*Math.ceil(a.length/50));a=new ConfirmDialog(this,a,function(){c();null!=b&&b()},function(){c();null!=d&&d()},f,n,null,null,null,null,e);this.showDialog(a.container,340,46+ e,!0,g);a.init()};EditorUi.prototype.setCurrentFile=function(a){null!=a&&(a.opened=new Date);this.currentFile=a};EditorUi.prototype.getCurrentFile=function(){return this.currentFile};EditorUi.prototype.isExportToCanvas=function(){return mxClient.IS_CHROMEAPP||!this.editor.graph.mathEnabled&&this.useCanvasForExport};EditorUi.prototype.createSvgDataUri=function(a){return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(a)))};EditorUi.prototype.createImageDataUri=function(a,b,d,f){var c= a.toDataURL("image/"+d);if(6>=c.length||c==a.cloneNode(!1).toDataURL("image/"+d))throw{message:"Invalid image"};null!=b&&(c=this.writeGraphModelToPng(c,"tEXt","mxfile",encodeURIComponent(b)));0<f&&(c=this.writeGraphModelToPng(c,"pHYs","dpi",f));return c};EditorUi.prototype.saveCanvas=function(a,b,d,f,n){var c="jpeg"==d?"jpg":d;f=this.getBaseFilename(f)+"."+c;a=this.createImageDataUri(a,b,d,n);this.saveData(f,c,a.substring(a.lastIndexOf(",")+1),"image/"+d,!0)};EditorUi.prototype.isLocalFileSave=function(){return"remote"!= @@ -3066,7 +3067,7 @@ urlParams.save&&(mxClient.IS_IE||"undefined"!==typeof window.Blob&&"undefined"!= if(mxClient.IS_GC)var k=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./),e=65==(k?parseInt(k[2],10):!1)?!1:e;if(e||this.isOffline()){c.href=URL.createObjectURL(f?this.base64ToBlob(a,d):new Blob([a],{type:d}));e?c.download=b:c.setAttribute("target","_blank");document.body.appendChild(c);try{window.setTimeout(function(){URL.revokeObjectURL(c.href)},0),c.click(),c.parentNode.removeChild(c)}catch(q){}}else this.createEchoRequest(a,b,d,f,n).simulate(document,"_blank")}};EditorUi.prototype.createEchoRequest= function(a,b,d,f,n,g){a="xml="+encodeURIComponent(a);return new mxXmlRequest(SAVE_URL,a+(null!=d?"&mime="+d:"")+(null!=n?"&format="+n:"")+(null!=g?"&base64="+g:"")+(null!=b?"&filename="+encodeURIComponent(b):"")+(f?"&binary=1":""))};EditorUi.prototype.base64ToBlob=function(a,b){b=b||"";for(var c=atob(a),d=c.length,e=Math.ceil(d/1024),f=Array(e),l=0;l<e;++l){for(var A=1024*l,q=Math.min(A+1024,d),m=Array(q-A),x=0;A<q;++x,++A)m[x]=c[A].charCodeAt(0);f[l]=new Uint8Array(m)}return new Blob(f,{type:b})}; EditorUi.prototype.saveLocalFile=function(a,b,d,f,n,g,l){g=null!=g?g:!1;l=null!=l?l:"vsdx"!=n&&(!mxClient.IS_IOS||!navigator.standalone);n=this.getServiceCount(g);isLocalStorage&&n++;var c=4>=n?2:6<n?4:3;b=new CreateDialog(this,b,mxUtils.bind(this,function(c,b){try{if("_blank"==b)if(null==d||"image/"!=d.substring(0,6)||"image/svg"==d.substring(0,9)&&!mxClient.IS_SVG){var e=window.open("about:blank");null==e?mxUtils.popup(a,!0):(e.document.write("<pre>"+mxUtils.htmlEntities(a,!1)+"<pre>"),e.document.close())}else this.openInNewWindow(a, -d,f);else b==App.MODE_DEVICE||"download"==b?this.doSaveLocalFile(a,c,d,f):null!=c&&0<c.length&&this.pickFolder(b,mxUtils.bind(this,function(e){try{this.exportFile(a,c,d,f,b,e)}catch(t){this.handleError(t)}}))}catch(E){this.handleError(E)}}),mxUtils.bind(this,function(){this.hideDialog()}),mxResources.get("saveAs"),mxResources.get("download"),!1,g,l,null,1<n,c,a,d,f);g=this.isServices(n)?n>c?390:270:160;this.showDialog(b.container,400,g,!0,!0);b.init()};EditorUi.prototype.openInNewWindow=function(a, +d,f);else b==App.MODE_DEVICE||"download"==b?this.doSaveLocalFile(a,c,d,f):null!=c&&0<c.length&&this.pickFolder(b,mxUtils.bind(this,function(e){try{this.exportFile(a,c,d,f,b,e)}catch(u){this.handleError(u)}}))}catch(E){this.handleError(E)}}),mxUtils.bind(this,function(){this.hideDialog()}),mxResources.get("saveAs"),mxResources.get("download"),!1,g,l,null,1<n,c,a,d,f);g=this.isServices(n)?n>c?390:270:160;this.showDialog(b.container,400,g,!0,!0);b.init()};EditorUi.prototype.openInNewWindow=function(a, b,d){if(mxClient.IS_GC||mxClient.IS_EDGE||11==document.documentMode||10==document.documentMode){var c=window.open("about:blank");null==c||null==c.document?mxUtils.popup(a,!0):("image/svg+xml"==b?c.document.write("<html>"+a+"</html>"):c.document.write('<html><img src="data:'+b+(d?";base64,"+a:";charset=utf8,"+encodeURIComponent(a))+'"/></html>'),c.document.close())}else c=window.open("data:"+b+(d?";base64,"+a:";charset=utf8,"+encodeURIComponent(a))),null!=c&&null!=c.document||mxUtils.popup(a,!0)}; var f=EditorUi.prototype.addChromelessToolbarItems;EditorUi.prototype.addChromelessToolbarItems=function(a){if(this.isExportToCanvas()){this.exportDialog=null;var c=a(mxUtils.bind(this,function(a){var b=mxUtils.bind(this,function(){mxEvent.removeListener(this.editor.graph.container,"click",b);null!=this.exportDialog&&(this.exportDialog.parentNode.removeChild(this.exportDialog),this.exportDialog=null)});if(null!=this.exportDialog)b.apply(this);else{this.exportDialog=document.createElement("div");var d= c.getBoundingClientRect();mxUtils.setPrefixedStyle(this.exportDialog.style,"borderRadius","5px");this.exportDialog.style.position="fixed";this.exportDialog.style.textAlign="center";this.exportDialog.style.fontFamily="Helvetica,Arial";this.exportDialog.style.backgroundColor="#000000";this.exportDialog.style.width="50px";this.exportDialog.style.height="50px";this.exportDialog.style.padding="4px 2px 4px 2px";this.exportDialog.style.color="#ffffff";mxUtils.setOpacity(this.exportDialog,70);this.exportDialog.style.left= @@ -3076,9 +3077,9 @@ b.apply(this,arguments)}))}),null,this.thumbImageCache,null,mxUtils.bind(this,fu a,f,n,b,c)}),d,n,f)};EditorUi.prototype.saveRequest=function(a,b,d,f,n,g,l){l=null!=l?l:!mxClient.IS_IOS||!navigator.standalone;var c=this.getServiceCount(!1);isLocalStorage&&c++;var e=4>=c?2:6<c?4:3;a=new CreateDialog(this,a,mxUtils.bind(this,function(a,c){if("_blank"==c||null!=a&&0<a.length){var e=d("_blank"==c?null:a,c==App.MODE_DEVICE||"download"==c||null==c||"_blank"==c?"0":"1");null!=e&&(c==App.MODE_DEVICE||"download"==c||"_blank"==c?e.simulate(document,"_blank"):this.pickFolder(c,mxUtils.bind(this, function(d){g=null!=g?g:"pdf"==b?"application/pdf":"image/"+b;if(null!=f)try{this.exportFile(f,a,g,!0,c,d)}catch(C){this.handleError(C)}else this.spinner.spin(document.body,mxResources.get("saving"))&&e.send(mxUtils.bind(this,function(){this.spinner.stop();if(200<=e.getStatus()&&299>=e.getStatus())try{this.exportFile(e.getText(),a,g,!0,c,d)}catch(C){this.handleError(C)}else this.handleError({message:mxResources.get("errorSavingFile")})}),function(a){this.spinner.stop();this.handleError(a)})})))}}), mxUtils.bind(this,function(){this.hideDialog()}),mxResources.get("saveAs"),mxResources.get("download"),!1,!1,l,null,1<c,e,f,g,n);c=this.isServices(c)?4<c?390:270:160;this.showDialog(a.container,380,c,!0,!0);a.init()};EditorUi.prototype.isServices=function(a){return 1!=a};EditorUi.prototype.getEditBlankXml=function(){return this.getFileData(!0)};EditorUi.prototype.exportFile=function(a,b,d,f,n,g){};EditorUi.prototype.pickFolder=function(a,b,d){b(null)};EditorUi.prototype.exportSvg=function(a,b,d,f, -n,g,l,m,q,p){if(this.spinner.spin(document.body,mxResources.get("export"))){var c=this.editor.graph.isSelectionEmpty();d=null!=d?d:c;c=b?null:this.editor.graph.background;c==mxConstants.NONE&&(c=null);null==c&&0==b&&(c="#ffffff");var e=this.editor.graph.getSvg(c,a,l,m,null,d,null,null,"blank"==p?"_blank":"self"==p?"_top":null);f&&this.editor.graph.addSvgShadow(e);var k=this.getBaseFilename()+".svg",u=mxUtils.bind(this,function(a){this.spinner.stop();n&&a.setAttribute("content",this.getFileData(!0, +n,g,l,m,q,p){if(this.spinner.spin(document.body,mxResources.get("export"))){var c=this.editor.graph.isSelectionEmpty();d=null!=d?d:c;c=b?null:this.editor.graph.background;c==mxConstants.NONE&&(c=null);null==c&&0==b&&(c="#ffffff");var e=this.editor.graph.getSvg(c,a,l,m,null,d,null,null,"blank"==p?"_blank":"self"==p?"_top":null);f&&this.editor.graph.addSvgShadow(e);var k=this.getBaseFilename()+".svg",t=mxUtils.bind(this,function(a){this.spinner.stop();n&&a.setAttribute("content",this.getFileData(!0, null,null,null,d,q,null,null,null,!1));if(null!=this.editor.fontCss){var c=a.ownerDocument,c=null!=c.createElementNS?c.createElementNS(mxConstants.NS_SVG,"style"):c.createElement("style");c.setAttribute("type","text/css");mxUtils.setTextContent(c,this.editor.fontCss);a.getElementsByTagName("defs")[0].appendChild(c)}var b='<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n'+mxUtils.getXml(a);this.isLocalFileSave()|| -b.length<=MAX_REQUEST_SIZE?this.saveData(k,"svg",b,"image/svg+xml"):this.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(b)}))});this.convertMath(this.editor.graph,e,!1,mxUtils.bind(this,function(){g?(null==this.thumbImageCache&&(this.thumbImageCache={}),this.convertImages(e,u,this.thumbImageCache)):u(e)}))}};EditorUi.prototype.addRadiobox=function(a,b,d,f,n,g,l){return this.addCheckbox(a,d,f,n,g,l,!0,b)};EditorUi.prototype.addCheckbox= +b.length<=MAX_REQUEST_SIZE?this.saveData(k,"svg",b,"image/svg+xml"):this.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(b)}))});this.convertMath(this.editor.graph,e,!1,mxUtils.bind(this,function(){g?(null==this.thumbImageCache&&(this.thumbImageCache={}),this.convertImages(e,t,this.thumbImageCache)):t(e)}))}};EditorUi.prototype.addRadiobox=function(a,b,d,f,n,g,l){return this.addCheckbox(a,d,f,n,g,l,!0,b)};EditorUi.prototype.addCheckbox= function(a,b,d,f,n,g,l,m){g=null!=g?g:!0;var c=document.createElement("input");c.style.marginRight="8px";c.style.marginTop="16px";c.setAttribute("type",l?"radio":"checkbox");l="geCheckbox-"+Editor.guid();c.id=l;null!=m&&c.setAttribute("name",m);d&&(c.setAttribute("checked","checked"),c.defaultChecked=!0);f&&c.setAttribute("disabled","disabled");g&&(a.appendChild(c),d=document.createElement("label"),mxUtils.write(d,b),d.setAttribute("for",l),a.appendChild(d),n||mxUtils.br(a));return c};EditorUi.prototype.addEditButton= function(a,b){var c=this.addCheckbox(a,mxResources.get("edit")+":",!0,null,!0);c.style.marginLeft="24px";var d=this.getCurrentFile(),e="";null!=d&&d.getMode()!=App.MODE_DEVICE&&d.getMode()!=App.MODE_BROWSER&&(e=window.location.href);var f=document.createElement("select");f.style.width="120px";f.style.marginLeft="8px";f.style.marginRight="10px";f.className="geBtn";d=document.createElement("option");d.setAttribute("value","blank");mxUtils.write(d,mxResources.get("makeCopy"));f.appendChild(d);d=document.createElement("option"); d.setAttribute("value","custom");mxUtils.write(d,mxResources.get("custom")+"...");f.appendChild(d);a.appendChild(f);mxEvent.addListener(f,"change",mxUtils.bind(this,function(){if("custom"==f.value){var a=new FilenameDialog(this,e,mxResources.get("ok"),function(a){null!=a?e=a:f.value="blank"},mxResources.get("url"),null,null,null,null,function(){f.value="blank"});this.showDialog(a.container,300,80,!0,!1);a.init()}}));mxEvent.addListener(c,"change",mxUtils.bind(this,function(){c.checked&&(null==b|| @@ -3087,64 +3088,64 @@ Dialog.prototype.closeImage+"')")+';"></div>'}mxUtils.write(a,mxResources.get("l e.setAttribute("value","self");mxUtils.write(e,mxResources.get("openInThisWindow"));d.appendChild(e);b&&(e=document.createElement("option"),e.setAttribute("value","frame"),mxUtils.write(e,mxResources.get("openInThisWindow")+" ("+mxResources.get("iframe")+")"),d.appendChild(e));a.appendChild(d);mxUtils.write(a,mxResources.get("borderColor")+":");var f="#0000ff",l=null,l=mxUtils.button("",mxUtils.bind(this,function(a){this.pickColor(f||"none",function(a){f=a;c()});mxEvent.consume(a)}));c();l.style.padding= mxClient.IS_FF?"4px 2px 4px 2px":"4px";l.style.marginLeft="4px";l.style.height="22px";l.style.width="22px";l.style.position="relative";l.style.top=mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_EDGE?"6px":"1px";l.className="geColorBtn";a.appendChild(l);mxUtils.br(a);return{getColor:function(){return f},getTarget:function(){return d.value},focus:function(){d.focus()}}};EditorUi.prototype.createLink=function(a,b,d,f,n,g,l,m){var c=this.getCurrentFile(),e=[];f&&(e.push("lightbox=1"),"auto"!=a&&e.push("target="+ a),null!=b&&b!=mxConstants.NONE&&e.push("highlight="+("#"==b.charAt(0)?b.substring(1):b)),null!=n&&0<n.length&&e.push("edit="+encodeURIComponent(n)),g&&e.push("layers=1"),this.editor.graph.foldingEnabled&&e.push("nav=1"));d&&null!=this.currentPage&&null!=this.pages&&this.currentPage!=this.pages[0]&&e.push("page-id="+this.currentPage.getId());a=!0;null!=l?d="#U"+encodeURIComponent(l):(c=this.getCurrentFile(),m||null==c||c.constructor!=window.DriveFile?d="#R"+encodeURIComponent(d?this.getFileData(!0, -null,null,null,null,null,null,!0):Graph.compress(mxUtils.getXml(this.editor.getGraphXml()))):(d="#"+c.getHash(),a=!1));a&&null!=c&&null!=c.getTitle()&&c.getTitle()!=this.defaultFilename&&e.push("title="+encodeURIComponent(c.getTitle()));return(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||!/.*\.draw\.io$/.test(window.location.hostname)?EditorUi.drawHost:"https://"+window.location.host+"/")+(0<e.length?"?"+e.join("&"):"")+d};EditorUi.prototype.createHtml=function(a,b,d,f,n,g,l,m,q,p,x){this.getBasenames(); +null,null,null,null,null,null,!0,null,!1):Graph.compress(mxUtils.getXml(this.editor.getGraphXml()))):(d="#"+c.getHash(),a=!1));a&&null!=c&&null!=c.getTitle()&&c.getTitle()!=this.defaultFilename&&e.push("title="+encodeURIComponent(c.getTitle()));return(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||!/.*\.draw\.io$/.test(window.location.hostname)?EditorUi.drawHost:"https://"+window.location.host+"/")+(0<e.length?"?"+e.join("&"):"")+d};EditorUi.prototype.createHtml=function(a,b,d,f,n,g,l,m,q,p,x){this.getBasenames(); var c={};""!=n&&n!=mxConstants.NONE&&(c.highlight=n);"auto"!==f&&(c.target=f);q||(c.lightbox=!1);c.nav=this.editor.graph.foldingEnabled;d=parseInt(d);isNaN(d)||100==d||(c.zoom=d/100);d=[];l&&(d.push("pages"),c.resize=!0,null!=this.pages&&null!=this.currentPage&&(c.page=mxUtils.indexOf(this.pages,this.currentPage)));b&&(d.push("zoom"),c.resize=!0);m&&d.push("layers");0<d.length&&(q&&d.push("lightbox"),c.toolbar=d.join(" "));null!=p&&0<p.length&&(c.edit=p);null!=a?c.url=a:c.xml=this.getFileData(!0, null,null,null,null,!l);b='<div class="mxgraph" style="'+(g?"max-width:100%;":"")+(""!=d?"border:1px solid transparent;":"")+'" data-mxgraph="'+mxUtils.htmlEntities(JSON.stringify(c))+'"></div>';a=null!=a?"&fetch="+encodeURIComponent(a):"";x(b,'<script type="text/javascript" src="'+(0<a.length?("1"==urlParams.dev?"https://test.draw.io/embed2.js?dev=1":EditorUi.drawHost+"/embed2.js?")+a:"1"==urlParams.dev?"https://test.draw.io/js/viewer.min.js":window.VIEWER_URL?window.VIEWER_URL:EditorUi.drawHost+ "/js/viewer.min.js")+'">\x3c/script>')};EditorUi.prototype.showHtmlDialog=function(a,b,d,f){var c=document.createElement("div");c.style.whiteSpace="nowrap";var e=document.createElement("h3");mxUtils.write(e,mxResources.get("html"));e.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";c.appendChild(e);var k=document.createElement("div");k.style.cssText="border-bottom:1px solid lightGray;padding-bottom:8px;margin-bottom:12px;";var l=document.createElement("input");l.style.cssText= -"margin-right:8px;margin-top:8px;margin-bottom:8px;";l.setAttribute("value","url");l.setAttribute("type","radio");l.setAttribute("name","type-embedhtmldialog");e=l.cloneNode(!0);e.setAttribute("value","copy");k.appendChild(e);var q=document.createElement("span");mxUtils.write(q,mxResources.get("includeCopyOfMyDiagram"));k.appendChild(q);mxUtils.br(k);k.appendChild(l);q=document.createElement("span");mxUtils.write(q,mxResources.get("publicDiagramUrl"));k.appendChild(q);var u=this.getCurrentFile(); -null==d&&null!=u&&u.constructor==window.DriveFile&&(q=document.createElement("a"),q.style.paddingLeft="12px",q.style.color="gray",q.setAttribute("href","javascript:void(0);"),mxUtils.write(q,mxResources.get("share")),k.appendChild(q),mxEvent.addListener(q,"click",mxUtils.bind(this,function(){this.hideDialog();this.drive.showPermissions(u.getId())})));e.setAttribute("checked","checked");null==d&&l.setAttribute("disabled","disabled");c.appendChild(k);var x=this.addLinkSection(c),m=this.addCheckbox(c, -mxResources.get("zoom"),!0,null,!0);mxUtils.write(c,":");var t=document.createElement("input");t.setAttribute("type","text");t.style.marginRight="16px";t.style.width="60px";t.style.marginLeft="4px";t.style.marginRight="12px";t.value="100%";c.appendChild(t);var p=this.addCheckbox(c,mxResources.get("fit"),!0),k=null!=this.pages&&1<this.pages.length,v=v=this.addCheckbox(c,mxResources.get("allPages"),k,!k),y=this.addCheckbox(c,mxResources.get("layers"),!0),H=this.addCheckbox(c,mxResources.get("lightbox"), -!0),B=this.addEditButton(c,H),D=B.getEditInput();D.style.marginBottom="16px";mxEvent.addListener(H,"change",function(){H.checked?D.removeAttribute("disabled"):D.setAttribute("disabled","disabled");D.checked&&H.checked?B.getEditSelect().removeAttribute("disabled"):B.getEditSelect().setAttribute("disabled","disabled")});a=new CustomDialog(this,c,mxUtils.bind(this,function(){f(l.checked?d:null,m.checked,t.value,x.getTarget(),x.getColor(),p.checked,v.checked,y.checked,H.checked,B.getLink())}),null,a, +"margin-right:8px;margin-top:8px;margin-bottom:8px;";l.setAttribute("value","url");l.setAttribute("type","radio");l.setAttribute("name","type-embedhtmldialog");e=l.cloneNode(!0);e.setAttribute("value","copy");k.appendChild(e);var q=document.createElement("span");mxUtils.write(q,mxResources.get("includeCopyOfMyDiagram"));k.appendChild(q);mxUtils.br(k);k.appendChild(l);q=document.createElement("span");mxUtils.write(q,mxResources.get("publicDiagramUrl"));k.appendChild(q);var t=this.getCurrentFile(); +null==d&&null!=t&&t.constructor==window.DriveFile&&(q=document.createElement("a"),q.style.paddingLeft="12px",q.style.color="gray",q.setAttribute("href","javascript:void(0);"),mxUtils.write(q,mxResources.get("share")),k.appendChild(q),mxEvent.addListener(q,"click",mxUtils.bind(this,function(){this.hideDialog();this.drive.showPermissions(t.getId())})));e.setAttribute("checked","checked");null==d&&l.setAttribute("disabled","disabled");c.appendChild(k);var x=this.addLinkSection(c),m=this.addCheckbox(c, +mxResources.get("zoom"),!0,null,!0);mxUtils.write(c,":");var u=document.createElement("input");u.setAttribute("type","text");u.style.marginRight="16px";u.style.width="60px";u.style.marginLeft="4px";u.style.marginRight="12px";u.value="100%";c.appendChild(u);var p=this.addCheckbox(c,mxResources.get("fit"),!0),k=null!=this.pages&&1<this.pages.length,v=v=this.addCheckbox(c,mxResources.get("allPages"),k,!k),z=this.addCheckbox(c,mxResources.get("layers"),!0),H=this.addCheckbox(c,mxResources.get("lightbox"), +!0),B=this.addEditButton(c,H),D=B.getEditInput();D.style.marginBottom="16px";mxEvent.addListener(H,"change",function(){H.checked?D.removeAttribute("disabled"):D.setAttribute("disabled","disabled");D.checked&&H.checked?B.getEditSelect().removeAttribute("disabled"):B.getEditSelect().setAttribute("disabled","disabled")});a=new CustomDialog(this,c,mxUtils.bind(this,function(){f(l.checked?d:null,m.checked,u.value,x.getTarget(),x.getColor(),p.checked,v.checked,z.checked,H.checked,B.getLink())}),null,a, b);this.showDialog(a.container,340,384,!0,!0);e.focus()};EditorUi.prototype.showPublishLinkDialog=function(a,b,d,f,n,g){var c=document.createElement("div");c.style.whiteSpace="nowrap";var e=document.createElement("h3");mxUtils.write(e,a||mxResources.get("link"));e.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";c.appendChild(e);var k=this.getCurrentFile(),e="https://desk.draw.io/support/solutions/articles/16000051941";a=0;if(null!=k&&k.constructor==window.DriveFile&& -!b){a=80;var e="https://desk.draw.io/support/solutions/articles/16000039384",l=document.createElement("div");l.style.cssText="border-bottom:1px solid lightGray;padding-bottom:14px;padding-top:6px;margin-bottom:14px;text-align:center;";var u=document.createElement("div");u.style.whiteSpace="normal";mxUtils.write(u,mxResources.get("linkAccountRequired"));l.appendChild(u);u=mxUtils.button(mxResources.get("share"),mxUtils.bind(this,function(){this.drive.showPermissions(k.getId())}));u.style.marginTop= -"12px";u.className="geBtn";l.appendChild(u);c.appendChild(l);u=document.createElement("a");u.style.paddingLeft="12px";u.style.color="gray";u.style.fontSize="11px";u.setAttribute("href","javascript:void(0);");mxUtils.write(u,mxResources.get("check"));l.appendChild(u);mxEvent.addListener(u,"click",mxUtils.bind(this,function(){this.spinner.spin(document.body,mxResources.get("loading"))&&this.getPublicUrl(this.getCurrentFile(),mxUtils.bind(this,function(a){this.spinner.stop();a=new ErrorDialog(this,null, -mxResources.get(null!=a?"diagramIsPublic":"diagramIsNotPublic"),mxResources.get("ok"));this.showDialog(a.container,300,80,!0,!1);a.init()}))}))}var m=null,t=null;if(null!=d||null!=f)a+=30,mxUtils.write(c,mxResources.get("width")+":"),m=document.createElement("input"),m.setAttribute("type","text"),m.style.marginRight="16px",m.style.width="50px",m.style.marginLeft="6px",m.style.marginRight="16px",m.style.marginBottom="10px",m.value="100%",c.appendChild(m),mxUtils.write(c,mxResources.get("height")+":"), -t=document.createElement("input"),t.setAttribute("type","text"),t.style.width="50px",t.style.marginLeft="6px",t.style.marginBottom="10px",t.value=f+"px",c.appendChild(t),mxUtils.br(c);var p=this.addLinkSection(c,g);d=null!=this.pages&&1<this.pages.length;var v=null;if(null==k||k.constructor!=window.DriveFile||b)v=this.addCheckbox(c,mxResources.get("allPages"),d,!d);var y=this.addCheckbox(c,mxResources.get("lightbox"),!0),H=this.addEditButton(c,y),B=H.getEditInput(),D=this.addCheckbox(c,mxResources.get("layers"), -!0);D.style.marginLeft=B.style.marginLeft;D.style.marginBottom="16px";D.style.marginTop="8px";mxEvent.addListener(y,"change",function(){y.checked?(D.removeAttribute("disabled"),B.removeAttribute("disabled")):(D.setAttribute("disabled","disabled"),B.setAttribute("disabled","disabled"));B.checked&&y.checked?H.getEditSelect().removeAttribute("disabled"):H.getEditSelect().setAttribute("disabled","disabled")});b=new CustomDialog(this,c,mxUtils.bind(this,function(){n(p.getTarget(),p.getColor(),null==v? -!0:v.checked,y.checked,H.getLink(),D.checked,null!=m?m.value:null,null!=t?t.value:null)}),null,mxResources.get("create"),e);this.showDialog(b.container,340,254+a,!0,!0);null!=m?(m.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?m.select():document.execCommand("selectAll",!1,null)):p.focus()};EditorUi.prototype.showRemoteExportDialog=function(a,b,d,f,n){var c=document.createElement("div");c.style.whiteSpace="nowrap";var e=document.createElement("h3");mxUtils.write(e, -mxResources.get("image"));e.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:"+(n?"10":"4")+"px";c.appendChild(e);if(n){mxUtils.write(c,mxResources.get("zoom")+":");var k=document.createElement("input");k.setAttribute("type","text");k.style.marginRight="16px";k.style.width="60px";k.style.marginLeft="4px";k.style.marginRight="12px";k.value=this.lastExportZoom||"100%";c.appendChild(k);mxUtils.write(c,mxResources.get("borderWidth")+":");var l=document.createElement("input");l.setAttribute("type", -"text");l.style.marginRight="16px";l.style.width="60px";l.style.marginLeft="4px";l.value=this.lastExportBorder||"0";c.appendChild(l);mxUtils.br(c)}var u=this.addCheckbox(c,mxResources.get("selectionOnly"),!1,this.editor.graph.isSelectionEmpty()),x=f?null:this.addCheckbox(c,mxResources.get("includeCopyOfMyDiagram"),!0),e=this.editor.graph,m=f?null:this.addCheckbox(c,mxResources.get("transparentBackground"),e.background==mxConstants.NONE||null==e.background);null!=m&&(m.style.marginBottom="16px");a= -new CustomDialog(this,c,mxUtils.bind(this,function(){var a=parseInt(k.value)/100||1,c=parseInt(l.value)||0;d(!u.checked,null!=x?x.checked:!1,null!=m?m.checked:!1,a,c)}),null,a,b);this.showDialog(a.container,300,(n?25:0)+(f?125:210),!0,!0)};EditorUi.prototype.showExportDialog=function(a,b,d,f,l,g,m,A){m=null!=m?m:!0;var c=document.createElement("div");c.style.whiteSpace="nowrap";var e=this.editor.graph,k="jpeg"==A?196:300,n=document.createElement("h3");mxUtils.write(n,a);n.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:10px"; -c.appendChild(n);mxUtils.write(c,mxResources.get("zoom")+":");var u=document.createElement("input");u.setAttribute("type","text");u.style.marginRight="16px";u.style.width="60px";u.style.marginLeft="4px";u.style.marginRight="12px";u.value=this.lastExportZoom||"100%";c.appendChild(u);mxUtils.write(c,mxResources.get("borderWidth")+":");var z=document.createElement("input");z.setAttribute("type","text");z.style.marginRight="16px";z.style.width="60px";z.style.marginLeft="4px";z.value=this.lastExportBorder|| -"0";c.appendChild(z);mxUtils.br(c);var p=this.addCheckbox(c,mxResources.get("transparentBackground"),!1,null,null,"jpeg"!=A),v=this.addCheckbox(c,mxResources.get("selectionOnly"),!1,e.isSelectionEmpty()),y=document.createElement("input");y.style.marginTop="16px";y.style.marginRight="8px";y.style.marginLeft="24px";y.setAttribute("disabled","disabled");y.setAttribute("type","checkbox");g&&(c.appendChild(y),mxUtils.write(c,mxResources.get("crop")),mxUtils.br(c),k+=26,mxEvent.addListener(v,"change",function(){v.checked? -y.removeAttribute("disabled"):y.setAttribute("disabled","disabled")}));e.isSelectionEmpty()||(y.setAttribute("checked","checked"),y.defaultChecked=!0);var B=this.addCheckbox(c,mxResources.get("shadow"),e.shadowVisible),D=document.createElement("input");D.style.marginTop="16px";D.style.marginRight="8px";D.setAttribute("type","checkbox");!this.isOffline()&&this.canvasSupported||D.setAttribute("disabled","disabled");b&&(c.appendChild(D),mxUtils.write(c,mxResources.get("embedImages")),mxUtils.br(c),k+= +!b){a=80;var e="https://desk.draw.io/support/solutions/articles/16000039384",l=document.createElement("div");l.style.cssText="border-bottom:1px solid lightGray;padding-bottom:14px;padding-top:6px;margin-bottom:14px;text-align:center;";var t=document.createElement("div");t.style.whiteSpace="normal";mxUtils.write(t,mxResources.get("linkAccountRequired"));l.appendChild(t);t=mxUtils.button(mxResources.get("share"),mxUtils.bind(this,function(){this.drive.showPermissions(k.getId())}));t.style.marginTop= +"12px";t.className="geBtn";l.appendChild(t);c.appendChild(l);t=document.createElement("a");t.style.paddingLeft="12px";t.style.color="gray";t.style.fontSize="11px";t.setAttribute("href","javascript:void(0);");mxUtils.write(t,mxResources.get("check"));l.appendChild(t);mxEvent.addListener(t,"click",mxUtils.bind(this,function(){this.spinner.spin(document.body,mxResources.get("loading"))&&this.getPublicUrl(this.getCurrentFile(),mxUtils.bind(this,function(a){this.spinner.stop();a=new ErrorDialog(this,null, +mxResources.get(null!=a?"diagramIsPublic":"diagramIsNotPublic"),mxResources.get("ok"));this.showDialog(a.container,300,80,!0,!1);a.init()}))}))}var m=null,u=null;if(null!=d||null!=f)a+=30,mxUtils.write(c,mxResources.get("width")+":"),m=document.createElement("input"),m.setAttribute("type","text"),m.style.marginRight="16px",m.style.width="50px",m.style.marginLeft="6px",m.style.marginRight="16px",m.style.marginBottom="10px",m.value="100%",c.appendChild(m),mxUtils.write(c,mxResources.get("height")+":"), +u=document.createElement("input"),u.setAttribute("type","text"),u.style.width="50px",u.style.marginLeft="6px",u.style.marginBottom="10px",u.value=f+"px",c.appendChild(u),mxUtils.br(c);var p=this.addLinkSection(c,g);d=null!=this.pages&&1<this.pages.length;var v=null;if(null==k||k.constructor!=window.DriveFile||b)v=this.addCheckbox(c,mxResources.get("allPages"),d,!d);var z=this.addCheckbox(c,mxResources.get("lightbox"),!0),H=this.addEditButton(c,z),B=H.getEditInput(),D=this.addCheckbox(c,mxResources.get("layers"), +!0);D.style.marginLeft=B.style.marginLeft;D.style.marginBottom="16px";D.style.marginTop="8px";mxEvent.addListener(z,"change",function(){z.checked?(D.removeAttribute("disabled"),B.removeAttribute("disabled")):(D.setAttribute("disabled","disabled"),B.setAttribute("disabled","disabled"));B.checked&&z.checked?H.getEditSelect().removeAttribute("disabled"):H.getEditSelect().setAttribute("disabled","disabled")});b=new CustomDialog(this,c,mxUtils.bind(this,function(){n(p.getTarget(),p.getColor(),null==v? +!0:v.checked,z.checked,H.getLink(),D.checked,null!=m?m.value:null,null!=u?u.value:null)}),null,mxResources.get("create"),e);this.showDialog(b.container,340,254+a,!0,!0);null!=m?(m.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?m.select():document.execCommand("selectAll",!1,null)):p.focus()};EditorUi.prototype.showRemoteExportDialog=function(a,b,d,f,l){var c=document.createElement("div");c.style.whiteSpace="nowrap";var e=document.createElement("h3");mxUtils.write(e, +mxResources.get("image"));e.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:"+(l?"10":"4")+"px";c.appendChild(e);if(l){mxUtils.write(c,mxResources.get("zoom")+":");var k=document.createElement("input");k.setAttribute("type","text");k.style.marginRight="16px";k.style.width="60px";k.style.marginLeft="4px";k.style.marginRight="12px";k.value=this.lastExportZoom||"100%";c.appendChild(k);mxUtils.write(c,mxResources.get("borderWidth")+":");var n=document.createElement("input");n.setAttribute("type", +"text");n.style.marginRight="16px";n.style.width="60px";n.style.marginLeft="4px";n.value=this.lastExportBorder||"0";c.appendChild(n);mxUtils.br(c)}var t=this.addCheckbox(c,mxResources.get("selectionOnly"),!1,this.editor.graph.isSelectionEmpty()),x=f?null:this.addCheckbox(c,mxResources.get("includeCopyOfMyDiagram"),!0),e=this.editor.graph,m=f?null:this.addCheckbox(c,mxResources.get("transparentBackground"),e.background==mxConstants.NONE||null==e.background);null!=m&&(m.style.marginBottom="16px");a= +new CustomDialog(this,c,mxUtils.bind(this,function(){var a=parseInt(k.value)/100||1,c=parseInt(n.value)||0;d(!t.checked,null!=x?x.checked:!1,null!=m?m.checked:!1,a,c)}),null,a,b);this.showDialog(a.container,300,(l?25:0)+(f?125:210),!0,!0)};EditorUi.prototype.showExportDialog=function(a,b,d,f,l,g,m,A){m=null!=m?m:!0;var c=document.createElement("div");c.style.whiteSpace="nowrap";var e=this.editor.graph,k="jpeg"==A?196:300,n=document.createElement("h3");mxUtils.write(n,a);n.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:10px"; +c.appendChild(n);mxUtils.write(c,mxResources.get("zoom")+":");var t=document.createElement("input");t.setAttribute("type","text");t.style.marginRight="16px";t.style.width="60px";t.style.marginLeft="4px";t.style.marginRight="12px";t.value=this.lastExportZoom||"100%";c.appendChild(t);mxUtils.write(c,mxResources.get("borderWidth")+":");var y=document.createElement("input");y.setAttribute("type","text");y.style.marginRight="16px";y.style.width="60px";y.style.marginLeft="4px";y.value=this.lastExportBorder|| +"0";c.appendChild(y);mxUtils.br(c);var p=this.addCheckbox(c,mxResources.get("transparentBackground"),!1,null,null,"jpeg"!=A),v=this.addCheckbox(c,mxResources.get("selectionOnly"),!1,e.isSelectionEmpty()),z=document.createElement("input");z.style.marginTop="16px";z.style.marginRight="8px";z.style.marginLeft="24px";z.setAttribute("disabled","disabled");z.setAttribute("type","checkbox");g&&(c.appendChild(z),mxUtils.write(c,mxResources.get("crop")),mxUtils.br(c),k+=26,mxEvent.addListener(v,"change",function(){v.checked? +z.removeAttribute("disabled"):z.setAttribute("disabled","disabled")}));e.isSelectionEmpty()||(z.setAttribute("checked","checked"),z.defaultChecked=!0);var B=this.addCheckbox(c,mxResources.get("shadow"),e.shadowVisible),D=document.createElement("input");D.style.marginTop="16px";D.style.marginRight="8px";D.setAttribute("type","checkbox");!this.isOffline()&&this.canvasSupported||D.setAttribute("disabled","disabled");b&&(c.appendChild(D),mxUtils.write(c,mxResources.get("embedImages")),mxUtils.br(c),k+= 26);var L=null;if("png"==A||"jpeg"==A)L=this.addCheckbox(c,mxResources.get("grid"),!1,this.isOffline()||!this.canvasSupported,!1,!0),k+=26;var O=this.addCheckbox(c,mxResources.get("includeCopyOfMyDiagram"),m,null,null,"jpeg"!=A),P=null!=this.pages&&1<this.pages.length,ba=this.addCheckbox(c,P?mxResources.get("allPages"):"",P,!P,null,"jpeg"!=A);ba.style.marginLeft="24px";ba.style.marginBottom="16px";P||(ba.style.display="none");mxEvent.addListener(O,"change",function(){O.checked&&P?ba.removeAttribute("disabled"): ba.setAttribute("disabled","disabled")});m&&P||ba.setAttribute("disabled","disabled");var W=document.createElement("select");W.style.maxWidth="260px";W.style.marginLeft="8px";W.style.marginRight="10px";W.className="geBtn";a=document.createElement("option");a.setAttribute("value","auto");mxUtils.write(a,mxResources.get("automatic"));W.appendChild(a);a=document.createElement("option");a.setAttribute("value","blank");mxUtils.write(a,mxResources.get("openInNewWindow"));W.appendChild(a);a=document.createElement("option"); -a.setAttribute("value","self");mxUtils.write(a,mxResources.get("openInThisWindow"));W.appendChild(a);"svg"==A&&(mxUtils.write(c,mxResources.get("links")+":"),c.appendChild(W),mxUtils.br(c),mxUtils.br(c),k+=26);d=new CustomDialog(this,c,mxUtils.bind(this,function(){this.lastExportBorder=z.value;this.lastExportZoom=u.value;l(u.value,p.checked,!v.checked,B.checked,O.checked,D.checked,z.value,y.checked,!ba.checked,W.value,null!=L?L.checked:null)}),null,d,f);this.showDialog(d.container,340,k,!0,!0,null, -null,null,null,!0);u.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?u.select():document.execCommand("selectAll",!1,null)};EditorUi.prototype.showEmbedImageDialog=function(a,b,d,f,l){var c=document.createElement("div");c.style.whiteSpace="nowrap";var e=this.editor.graph;if(null!=b){var k=document.createElement("h3");mxUtils.write(k,b);k.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:4px";c.appendChild(k)}var n=this.addCheckbox(c,mxResources.get("fit"), -!0),u=this.addCheckbox(c,mxResources.get("shadow"),e.shadowVisible&&f,!f),m=this.addCheckbox(c,d),p=this.addCheckbox(c,mxResources.get("lightbox"),!0),t=this.addEditButton(c,p),v=t.getEditInput(),y=1<e.model.getChildCount(e.model.getRoot()),B=this.addCheckbox(c,mxResources.get("layers"),y,!y);B.style.marginLeft=v.style.marginLeft;B.style.marginBottom="12px";B.style.marginTop="8px";mxEvent.addListener(p,"change",function(){p.checked?(y&&B.removeAttribute("disabled"),v.removeAttribute("disabled")): -(B.setAttribute("disabled","disabled"),v.setAttribute("disabled","disabled"));v.checked&&p.checked?t.getEditSelect().removeAttribute("disabled"):t.getEditSelect().setAttribute("disabled","disabled")});b=new CustomDialog(this,c,mxUtils.bind(this,function(){a(n.checked,u.checked,m.checked,p.checked,t.getLink(),B.checked)}),null,mxResources.get("embed"),l);this.showDialog(b.container,280,280,!0,!0)};EditorUi.prototype.createEmbedImage=function(a,b,d,f,l,g,m,p){function c(c){var b=" ",k="";f&&(b=" onclick=\"(function(img){if(img.wnd!=null&&!img.wnd.closed){img.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==img.wnd){img.wnd.postMessage(decodeURIComponent(img.getAttribute('src')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);img.wnd=window.open('"+ +a.setAttribute("value","self");mxUtils.write(a,mxResources.get("openInThisWindow"));W.appendChild(a);"svg"==A&&(mxUtils.write(c,mxResources.get("links")+":"),c.appendChild(W),mxUtils.br(c),mxUtils.br(c),k+=26);d=new CustomDialog(this,c,mxUtils.bind(this,function(){this.lastExportBorder=y.value;this.lastExportZoom=t.value;l(t.value,p.checked,!v.checked,B.checked,O.checked,D.checked,y.value,z.checked,!ba.checked,W.value,null!=L?L.checked:null)}),null,d,f);this.showDialog(d.container,340,k,!0,!0,null, +null,null,null,!0);t.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode||mxClient.IS_QUIRKS?t.select():document.execCommand("selectAll",!1,null)};EditorUi.prototype.showEmbedImageDialog=function(a,b,d,f,l){var c=document.createElement("div");c.style.whiteSpace="nowrap";var e=this.editor.graph;if(null!=b){var k=document.createElement("h3");mxUtils.write(k,b);k.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:4px";c.appendChild(k)}var n=this.addCheckbox(c,mxResources.get("fit"), +!0),t=this.addCheckbox(c,mxResources.get("shadow"),e.shadowVisible&&f,!f),m=this.addCheckbox(c,d),p=this.addCheckbox(c,mxResources.get("lightbox"),!0),u=this.addEditButton(c,p),v=u.getEditInput(),z=1<e.model.getChildCount(e.model.getRoot()),B=this.addCheckbox(c,mxResources.get("layers"),z,!z);B.style.marginLeft=v.style.marginLeft;B.style.marginBottom="12px";B.style.marginTop="8px";mxEvent.addListener(p,"change",function(){p.checked?(z&&B.removeAttribute("disabled"),v.removeAttribute("disabled")): +(B.setAttribute("disabled","disabled"),v.setAttribute("disabled","disabled"));v.checked&&p.checked?u.getEditSelect().removeAttribute("disabled"):u.getEditSelect().setAttribute("disabled","disabled")});b=new CustomDialog(this,c,mxUtils.bind(this,function(){a(n.checked,t.checked,m.checked,p.checked,u.getLink(),B.checked)}),null,mxResources.get("embed"),l);this.showDialog(b.container,280,280,!0,!0)};EditorUi.prototype.createEmbedImage=function(a,b,d,f,l,g,m,p){function c(c){var b=" ",k="";f&&(b=" onclick=\"(function(img){if(img.wnd!=null&&!img.wnd.closed){img.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==img.wnd){img.wnd.postMessage(decodeURIComponent(img.getAttribute('src')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);img.wnd=window.open('"+ EditorUi.drawHost+"/?client=1&lightbox=1"+(l?"&edit=_blank":"")+(g?"&layers=1":"")+"');}})(this);\"",k+="cursor:pointer;");a&&(k+="max-width:100%;");var n="";d&&(n=' width="'+Math.round(e.width)+'" height="'+Math.round(e.height)+'"');m('<img src="'+c+'"'+n+(""!=k?' style="'+k+'"':"")+b+"/>")}var e=this.editor.graph.getGraphBounds();if(this.isExportToCanvas())this.exportToCanvas(mxUtils.bind(this,function(a){var b=f?this.getFileData(!0):null;a=this.createImageDataUri(a,b,"png");c(a)}),null,null,null, mxUtils.bind(this,function(a){p({message:mxResources.get("unknownError")})}),null,!0,d?2:1,null,b);else if(b=this.getFileData(!0),e.width*e.height<=MAX_AREA&&b.length<=MAX_REQUEST_SIZE){var k="";d&&(k="&w="+Math.round(2*e.width)+"&h="+Math.round(2*e.height));var n=new mxXmlRequest(EXPORT_URL,"format=png&base64=1&embedXml="+(f?"1":"0")+k+"&xml="+encodeURIComponent(b));n.send(mxUtils.bind(this,function(){200<=n.getStatus()&&299>=n.getStatus()?c("data:image/png;base64,"+n.getText()):p({message:mxResources.get("unknownError")})}))}else p({message:mxResources.get("drawingTooLarge")})}; -EditorUi.prototype.createEmbedSvg=function(a,b,d,f,l,g,m){var c=this.editor.graph.getSvg(),e=c.getElementsByTagName("a");if(null!=e)for(var k=0;k<e.length;k++){var n=e[k].getAttribute("href");null!=n&&"#"==n.charAt(0)&&"_blank"==e[k].getAttribute("target")&&e[k].removeAttribute("target")}f&&c.setAttribute("content",this.getFileData(!0));b&&this.editor.graph.addSvgShadow(c);if(d){var u=" ",t="";f&&(u="onclick=\"(function(img){if(img.wnd!=null&&!img.wnd.closed){img.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==img.wnd){img.wnd.postMessage(decodeURIComponent(img.getAttribute('src')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);img.wnd=window.open('"+ -EditorUi.drawHost+"/?client=1&lightbox=1"+(l?"&edit=_blank":"")+(g?"&layers=1":"")+"');}})(this);\"",t+="cursor:pointer;");a&&(t+="max-width:100%;");this.convertImages(c,mxUtils.bind(this,function(a){m('<img src="'+this.createSvgDataUri(mxUtils.getXml(a))+'"'+(""!=t?' style="'+t+'"':"")+u+"/>")}))}else t="",f&&(c.setAttribute("onclick","(function(svg){var src=window.event.target||window.event.srcElement;while (src!=null&&src.nodeName.toLowerCase()!='a'){src=src.parentNode;}if(src==null){if(svg.wnd!=null&&!svg.wnd.closed){svg.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==svg.wnd){svg.wnd.postMessage(decodeURIComponent(svg.getAttribute('content')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);svg.wnd=window.open('"+ -EditorUi.drawHost+"/?client=1&lightbox=1"+(l?"&edit=_blank":"")+(g?"&layers=1":"")+"');}}})(this);"),t+="cursor:pointer;"),a&&(a=parseInt(c.getAttribute("width")),b=parseInt(c.getAttribute("height")),c.setAttribute("viewBox","-0.5 -0.5 "+a+" "+b),t+="max-width:100%;max-height:"+b+"px;",c.removeAttribute("height")),""!=t&&c.setAttribute("style",t),m(mxUtils.getXml(c))};EditorUi.prototype.timeSince=function(a){a=Math.floor((new Date-a)/1E3);var c=Math.floor(a/31536E3);if(1<c)return c+" "+mxResources.get("years"); +EditorUi.prototype.createEmbedSvg=function(a,b,d,f,l,g,m){var c=this.editor.graph.getSvg(),e=c.getElementsByTagName("a");if(null!=e)for(var k=0;k<e.length;k++){var n=e[k].getAttribute("href");null!=n&&"#"==n.charAt(0)&&"_blank"==e[k].getAttribute("target")&&e[k].removeAttribute("target")}f&&c.setAttribute("content",this.getFileData(!0));b&&this.editor.graph.addSvgShadow(c);if(d){var t=" ",u="";f&&(t="onclick=\"(function(img){if(img.wnd!=null&&!img.wnd.closed){img.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==img.wnd){img.wnd.postMessage(decodeURIComponent(img.getAttribute('src')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);img.wnd=window.open('"+ +EditorUi.drawHost+"/?client=1&lightbox=1"+(l?"&edit=_blank":"")+(g?"&layers=1":"")+"');}})(this);\"",u+="cursor:pointer;");a&&(u+="max-width:100%;");this.convertImages(c,mxUtils.bind(this,function(a){m('<img src="'+this.createSvgDataUri(mxUtils.getXml(a))+'"'+(""!=u?' style="'+u+'"':"")+t+"/>")}))}else u="",f&&(c.setAttribute("onclick","(function(svg){var src=window.event.target||window.event.srcElement;while (src!=null&&src.nodeName.toLowerCase()!='a'){src=src.parentNode;}if(src==null){if(svg.wnd!=null&&!svg.wnd.closed){svg.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==svg.wnd){svg.wnd.postMessage(decodeURIComponent(svg.getAttribute('content')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);svg.wnd=window.open('"+ +EditorUi.drawHost+"/?client=1&lightbox=1"+(l?"&edit=_blank":"")+(g?"&layers=1":"")+"');}}})(this);"),u+="cursor:pointer;"),a&&(a=parseInt(c.getAttribute("width")),b=parseInt(c.getAttribute("height")),c.setAttribute("viewBox","-0.5 -0.5 "+a+" "+b),u+="max-width:100%;max-height:"+b+"px;",c.removeAttribute("height")),""!=u&&c.setAttribute("style",u),m(mxUtils.getXml(c))};EditorUi.prototype.timeSince=function(a){a=Math.floor((new Date-a)/1E3);var c=Math.floor(a/31536E3);if(1<c)return c+" "+mxResources.get("years"); c=Math.floor(a/2592E3);if(1<c)return c+" "+mxResources.get("months");c=Math.floor(a/86400);if(1<c)return c+" "+mxResources.get("days");c=Math.floor(a/3600);if(1<c)return c+" "+mxResources.get("hours");c=Math.floor(a/60);return 1<c?c+" "+mxResources.get("minutes"):1==c?c+" "+mxResources.get("minute"):null};EditorUi.prototype.convertMath=function(a,b,d,f){a.mathEnabled&&"undefined"!==typeof MathJax&&"undefined"!==typeof MathJax.Hub?(Editor.MathJaxRender(b),window.setTimeout(mxUtils.bind(this,function(){MathJax.Hub.Queue(mxUtils.bind(this, function(){f()}))}),0)):f()};EditorUi.prototype.decodeNodeIntoGraph=function(a,b){if(null!=a){var c=null;if("diagram"==a.nodeName)c=a;else if("mxfile"==a.nodeName){var d=a.getElementsByTagName("diagram");if(0<d.length){var c=d[0],e=b.getGlobalVariable;b.getGlobalVariable=function(a){return"page"==a?c.getAttribute("name")||mxResources.get("pageWithNumber",[1]):"pagenumber"==a?1:e.apply(this,arguments)}}}null!=c&&(a=Editor.parseDiagramNode(c))}d=this.editor.graph;try{this.editor.graph=b,this.editor.setGraphXml(a)}catch(g){}finally{this.editor.graph= d}return a};EditorUi.prototype.getEmbeddedPng=function(a,b,d){try{var c=this.editor.graph,e=null;if(null!=d&&0<d.length)c=this.createTemporaryGraph(this.editor.graph.getStylesheet()),document.body.appendChild(c.container),this.decodeNodeIntoGraph(this.editor.extractGraphModel(mxUtils.parseXml(d).documentElement,!0),c),e=d;else if(null!=this.pages&&this.currentPage!=this.pages[0]){var c=this.createTemporaryGraph(c.getStylesheet()),f=c.getGlobalVariable,k=this.pages[0];c.getGlobalVariable=function(a){return"page"== a?k.getName():"pagenumber"==a?1:f.apply(this,arguments)};document.body.appendChild(c.container);c.model.setRoot(k.root)}this.exportToCanvas(mxUtils.bind(this,function(d){try{null==e&&(e=this.getFileData(!0,null,null,null,null,null,null,null,null,!1));var f=d.toDataURL("image/png"),f=this.writeGraphModelToPng(f,"tEXt","mxfile",encodeURIComponent(e));a(f.substring(f.lastIndexOf(",")+1));c!=this.editor.graph&&c.container.parentNode.removeChild(c.container)}catch(F){null!=b&&b(F)}}),null,null,null,mxUtils.bind(this, function(a){null!=b&&b(a)}),null,null,null,null,c.shadowVisible,null,c)}catch(A){null!=b&&b(A)}};EditorUi.prototype.getEmbeddedSvg=function(a,b,d,f,l,g,m){m=b.background;m==mxConstants.NONE&&(m=null);g=b.getSvg(m,null,null,null,null,g);b.shadowVisible&&b.addSvgShadow(g);null!=a&&g.setAttribute("content",a);null!=d&&g.setAttribute("resource",d);if(null!=l)this.convertImages(g,mxUtils.bind(this,function(a){l((f?"":'<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n')+ mxUtils.getXml(a))}));else return(f?"":'<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n')+mxUtils.getXml(g)};EditorUi.prototype.exportImage=function(a,b,d,f,l,g,m,p,q,v,x){q=null!=q?q:"png";if(this.spinner.spin(document.body,mxResources.get("exporting"))){var c=this.editor.graph.isSelectionEmpty();d=null!=d?d:c;null==this.thumbImageCache&&(this.thumbImageCache={});try{this.exportToCanvas(mxUtils.bind(this, -function(a){this.spinner.stop();try{this.saveCanvas(a,l?this.getFileData(!0,null,null,null,d,p):null,q,null==this.pages||0==this.pages.length,x)}catch(C){"Invalid image"==C.message?this.downloadFile(q):this.handleError(C)}}),null,this.thumbImageCache,null,mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a)}),null,d,a||1,b,f,null,null,g,m,v)}catch(t){this.spinner.stop(),this.handleError(t)}}};EditorUi.prototype.loadFonts=function(a){if(null!=this.editor.fontCss&&null==this.editor.resolvedFontCss){var c= +function(a){this.spinner.stop();try{this.saveCanvas(a,l?this.getFileData(!0,null,null,null,d,p):null,q,null==this.pages||0==this.pages.length,x)}catch(C){"Invalid image"==C.message?this.downloadFile(q):this.handleError(C)}}),null,this.thumbImageCache,null,mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a)}),null,d,a||1,b,f,null,null,g,m,v)}catch(u){this.spinner.stop(),this.handleError(u)}}};EditorUi.prototype.loadFonts=function(a){if(null!=this.editor.fontCss&&null==this.editor.resolvedFontCss){var c= function(a){return a.replace(RegExp("^[\\s\"']+","g"),"").replace(RegExp("[\\s\"']+$","g"),"")},b=this.editor.fontCss.split("url("),d=0,f={},g=mxUtils.bind(this,function(){if(0==d){for(var e=[b[0]],k=1;k<b.length;k++){var g=b[k].indexOf(")");e.push('url("');e.push(f[c(b[k].substring(0,g))]);e.push('"'+b[k].substring(g))}this.editor.resolvedFontCss=e.join("");a()}});if(0<b.length)for(var l=1;l<b.length;l++){var m=b[l].indexOf(")"),q=null,p=b[l].indexOf("format(",m);0<p&&(q=c(b[l].substring(p+7,b[l].indexOf(")", p))));mxUtils.bind(this,function(a){if(null==f[a]){f[a]=a;d++;var c="application/x-font-ttf";if("svg"==q||/(\.svg)($|\?)/i.test(a))c="image/svg+xml";else if("otf"==q||"embedded-opentype"==q||/(\.otf)($|\?)/i.test(a))c="application/x-font-opentype";else if("woff"==q||/(\.woff)($|\?)/i.test(a))c="application/font-woff";else if("woff2"==q||/(\.woff2)($|\?)/i.test(a))c="application/font-woff2";else if("eot"==q||/(\.eot)($|\?)/i.test(a))c="application/vnd.ms-fontobject";else if("sfnt"==q||/(\.sfnt)($|\?)/i.test(a))c= -"application/font-sfnt";var b=a;/^https?:\/\//.test(b)&&!this.editor.isCorsEnabledForUrl(b)&&(b=PROXY_URL+"?url="+encodeURIComponent(a));this.loadUrl(b,mxUtils.bind(this,function(c){f[a]=c;d--;g()}),mxUtils.bind(this,function(a){d--;g()}),!0,null,"data:"+c+";charset=utf-8;base64,")}})(c(b[l].substring(0,m)),q)}}else a()};EditorUi.prototype.exportToCanvas=function(a,b,d,f,l,g,m,p,q,v,x,E,t,C,y){try{g=null!=g?g:!0;m=null!=m?m:!0;E=null!=E?E:this.editor.graph;t=null!=t?t:0;var c=q?null:E.background; -c==mxConstants.NONE&&(c=null);null==c&&(c=f);null==c&&0==q&&(c="#ffffff");this.convertImages(E.getSvg(null,null,null,C,null,m,null,null,null,v),mxUtils.bind(this,function(d){var e=new Image;e.onload=mxUtils.bind(this,function(){try{var f=function(){mxClient.IS_SF?window.setTimeout(function(){q.drawImage(e,t/p,t/p);a(k)},0):(q.drawImage(e,t/p,t/p),a(k))},k=document.createElement("canvas"),n=parseInt(d.getAttribute("width")),u=parseInt(d.getAttribute("height"));p=null!=p?p:1;null!=b&&(p=g?Math.min(1, -Math.min(3*b/(4*u),b/n)):b/n);n=Math.ceil(p*n)+2*t;u=Math.ceil(p*u)+2*t;k.setAttribute("width",n);k.setAttribute("height",u);var q=k.getContext("2d");null!=c&&(q.beginPath(),q.rect(0,0,n,u),q.fillStyle=c,q.fill());q.scale(p,p);if(y){var m=E.view,x=btoa(unescape(encodeURIComponent(m.createSvgGrid(m.gridColor)))),x="data:image/svg+xml;base64,"+x,z=E.gridSize*m.gridSteps*p,A=E.getGraphBounds(),D=A.x*p,v=A.y*p,F=new Image;F.src=x;F.onload=function(){for(var a=-Math.round(z-mxUtils.mod(m.translate.x*p- -D,z)),c=-Math.round(z-mxUtils.mod(m.translate.y*p-v,z));a<n;a+=z)for(var b=c;b<u;b+=z)q.drawImage(F,a/p,b/p);f()}}else f()}catch(V){null!=l&&l(V)}});e.onerror=function(a){null!=l&&l(a)};try{v&&this.editor.graph.addSvgShadow(d);var f=mxUtils.bind(this,function(){if(null!=this.editor.resolvedFontCss){var a=document.createElement("style");a.setAttribute("type","text/css");a.innerHTML=this.editor.resolvedFontCss;d.getElementsByTagName("defs")[0].appendChild(a)}this.convertMath(E,d,!0,mxUtils.bind(this, +"application/font-sfnt";var b=a;/^https?:\/\//.test(b)&&!this.editor.isCorsEnabledForUrl(b)&&(b=PROXY_URL+"?url="+encodeURIComponent(a));this.loadUrl(b,mxUtils.bind(this,function(c){f[a]=c;d--;g()}),mxUtils.bind(this,function(a){d--;g()}),!0,null,"data:"+c+";charset=utf-8;base64,")}})(c(b[l].substring(0,m)),q)}}else a()};EditorUi.prototype.exportToCanvas=function(a,b,d,f,l,g,m,p,q,v,x,E,u,C,z){try{g=null!=g?g:!0;m=null!=m?m:!0;E=null!=E?E:this.editor.graph;u=null!=u?u:0;var c=q?null:E.background; +c==mxConstants.NONE&&(c=null);null==c&&(c=f);null==c&&0==q&&(c="#ffffff");this.convertImages(E.getSvg(null,null,null,C,null,m,null,null,null,v),mxUtils.bind(this,function(d){var e=new Image;e.onload=mxUtils.bind(this,function(){try{var f=function(){mxClient.IS_SF?window.setTimeout(function(){q.drawImage(e,u/p,u/p);a(k)},0):(q.drawImage(e,u/p,u/p),a(k))},k=document.createElement("canvas"),n=parseInt(d.getAttribute("width")),t=parseInt(d.getAttribute("height"));p=null!=p?p:1;null!=b&&(p=g?Math.min(1, +Math.min(3*b/(4*t),b/n)):b/n);n=Math.ceil(p*n)+2*u;t=Math.ceil(p*t)+2*u;k.setAttribute("width",n);k.setAttribute("height",t);var q=k.getContext("2d");null!=c&&(q.beginPath(),q.rect(0,0,n,t),q.fillStyle=c,q.fill());q.scale(p,p);if(z){var m=E.view,x=btoa(unescape(encodeURIComponent(m.createSvgGrid(m.gridColor)))),x="data:image/svg+xml;base64,"+x,y=E.gridSize*m.gridSteps*p,A=E.getGraphBounds(),D=A.x*p,v=A.y*p,F=new Image;F.src=x;F.onload=function(){for(var a=-Math.round(y-mxUtils.mod(m.translate.x*p- +D,y)),c=-Math.round(y-mxUtils.mod(m.translate.y*p-v,y));a<n;a+=y)for(var b=c;b<t;b+=y)q.drawImage(F,a/p,b/p);f()}}else f()}catch(V){null!=l&&l(V)}});e.onerror=function(a){null!=l&&l(a)};try{v&&this.editor.graph.addSvgShadow(d);var f=mxUtils.bind(this,function(){if(null!=this.editor.resolvedFontCss){var a=document.createElement("style");a.setAttribute("type","text/css");a.innerHTML=this.editor.resolvedFontCss;d.getElementsByTagName("defs")[0].appendChild(a)}this.convertMath(E,d,!0,mxUtils.bind(this, function(){e.src=this.createSvgDataUri(mxUtils.getXml(d))}))});this.loadFonts(f)}catch(L){null!=l&&l(L)}}),d,x)}catch(H){null!=l&&l(H)}};EditorUi.prototype.createImageUrlConverter=function(){var a=new mxUrlConverter;a.updateBaseUrl();var b=a.convert,d=this;a.convert=function(c){if(null!=c){var e="http://"==c.substring(0,7)||"https://"==c.substring(0,8);e&&!navigator.onLine?c=d.svgBrokenImage.src:!e||c.substring(0,a.baseUrl.length)==a.baseUrl||d.crossOriginImages&&d.editor.isCorsEnabledForUrl(c)?"chrome-extension://"== c.substring(0,19)||mxClient.IS_CHROMEAPP||(c=b.apply(this,arguments)):c=PROXY_URL+"?url="+encodeURIComponent(c)}return c};return a};EditorUi.prototype.convertImages=function(a,b,d,f){null==f&&(f=this.createImageUrlConverter());var c=0,e=d||{};d=mxUtils.bind(this,function(d,k){for(var g=a.getElementsByTagName(d),l=0;l<g.length;l++)mxUtils.bind(this,function(d){try{if(null!=d){var g=f.convert(d.getAttribute(k));if(null!=g&&"data:"!=g.substring(0,5)){var l=e[g];null==l?(c++,this.convertImageToDataUri(g, function(f){null!=f&&(e[g]=f,d.setAttribute(k,f));c--;0==c&&b(a)})):d.setAttribute(k,l)}else null!=g&&d.setAttribute(k,g)}}catch(C){}})(g[l])});d("image","xlink:href");d("img","src");0==c&&b(a)};EditorUi.prototype.loadUrl=function(a,b,d,f,l,g,m){try{var c=!m&&(f||/(\.png)($|\?)/i.test(a)||/(\.jpe?g)($|\?)/i.test(a)||/(\.gif)($|\?)/i.test(a));l=null!=l?l:!0;var e=mxUtils.bind(this,function(){mxUtils.get(a,mxUtils.bind(this,function(a){if(200<=a.getStatus()&&299>=a.getStatus()){if(null!=b){var e=a.getText(); if(c){if((9==document.documentMode||10==document.documentMode)&&"undefined"!==typeof window.mxUtilsBinaryToArray){a=mxUtilsBinaryToArray(a.request.responseBody).toArray();for(var e=Array(a.length),f=0;f<a.length;f++)e[f]=String.fromCharCode(a[f]);e=e.join("")}g=null!=g?g:"data:image/png;base64,";e=g+this.base64Encode(e)}b(e)}}else null!=d&&d({message:mxResources.get("error")+" "+a.getStatus()},a)}),function(a){null!=d&&d({message:mxResources.get("error")+" "+a.getStatus()})},c,this.timeout,function(){l&& null!=d&&d({code:App.ERROR_TIMEOUT,retry:e})})});e()}catch(F){null!=d&&d(F)}};EditorUi.prototype.isCorsEnabledForUrl=function(a){return this.editor.isCorsEnabledForUrl(a)};EditorUi.prototype.convertImageToDataUri=function(a,b){try{var c=!0,d=window.setTimeout(mxUtils.bind(this,function(){c=!1;b(this.svgBrokenImage.src)}),this.timeout);if(/(\.svg)$/i.test(a))mxUtils.get(a,mxUtils.bind(this,function(a){window.clearTimeout(d);c&&b(this.createSvgDataUri(a.getText()))}),function(){window.clearTimeout(d); -c&&b(this.svgBrokenImage.src)});else{var e=new Image,f=this;this.crossOriginImages&&(e.crossOrigin="anonymous");e.onload=function(){window.clearTimeout(d);if(c)try{var a=document.createElement("canvas"),k=a.getContext("2d");a.height=e.height;a.width=e.width;k.drawImage(e,0,0);b(a.toDataURL())}catch(q){b(f.svgBrokenImage.src)}};e.onerror=function(){window.clearTimeout(d);c&&b(f.svgBrokenImage.src)};e.src=a}}catch(z){b(this.svgBrokenImage.src)}};EditorUi.prototype.importXml=function(a,b,d,f,l){b=null!= -b?b:0;d=null!=d?d:0;var c=[];try{var e=this.editor.graph;if(null!=a&&0<a.length){e.model.beginUpdate();try{var k=mxUtils.parseXml(a),n=this.editor.extractGraphModel(k.documentElement,null!=this.pages);if(null!=n&&"mxfile"==n.nodeName&&null!=this.pages){var u=n.getElementsByTagName("diagram");if(1==u.length)n=Editor.parseDiagramNode(u[0]);else if(1<u.length){a={};var k=[],m=0;null!=this.pages&&1==this.pages.length&&this.isDiagramEmpty()&&(n=Editor.parseDiagramNode(u[0]),f=!1,m=1);for(;m<u.length;m++){var p= -u[m].getAttribute("id");u[m].removeAttribute("id");var t=this.updatePageRoot(new DiagramPage(u[m]));a[p]=u[m].getAttribute("id");var v=this.pages.length;null==t.getName()&&t.setName(mxResources.get("pageWithNumber",[v+1]));e.model.execute(new ChangePage(this,t,t,v,!0));k.push(t)}this.updatePageLinks(a,k)}}null!=n&&"mxGraphModel"===n.nodeName&&(c=e.importGraphModel(n,b,d,f))}finally{e.model.endUpdate()}}}catch(K){if(l)throw K;this.handleError(K)}return c};EditorUi.prototype.updatePageLinks=function(a, +c&&b(this.svgBrokenImage.src)});else{var e=new Image,f=this;this.crossOriginImages&&(e.crossOrigin="anonymous");e.onload=function(){window.clearTimeout(d);if(c)try{var a=document.createElement("canvas"),k=a.getContext("2d");a.height=e.height;a.width=e.width;k.drawImage(e,0,0);b(a.toDataURL())}catch(q){b(f.svgBrokenImage.src)}};e.onerror=function(){window.clearTimeout(d);c&&b(f.svgBrokenImage.src)};e.src=a}}catch(y){b(this.svgBrokenImage.src)}};EditorUi.prototype.importXml=function(a,b,d,f,l){b=null!= +b?b:0;d=null!=d?d:0;var c=[];try{var e=this.editor.graph;if(null!=a&&0<a.length){e.model.beginUpdate();try{var k=mxUtils.parseXml(a),n=this.editor.extractGraphModel(k.documentElement,null!=this.pages);if(null!=n&&"mxfile"==n.nodeName&&null!=this.pages){var t=n.getElementsByTagName("diagram");if(1==t.length)n=Editor.parseDiagramNode(t[0]);else if(1<t.length){a={};var k=[],m=0;null!=this.pages&&1==this.pages.length&&this.isDiagramEmpty()&&(n=Editor.parseDiagramNode(t[0]),f=!1,m=1);for(;m<t.length;m++){var p= +t[m].getAttribute("id");t[m].removeAttribute("id");var u=this.updatePageRoot(new DiagramPage(t[m]));a[p]=t[m].getAttribute("id");var v=this.pages.length;null==u.getName()&&u.setName(mxResources.get("pageWithNumber",[v+1]));e.model.execute(new ChangePage(this,u,u,v,!0));k.push(u)}this.updatePageLinks(a,k)}}null!=n&&"mxGraphModel"===n.nodeName&&(c=e.importGraphModel(n,b,d,f))}finally{e.model.endUpdate()}}}catch(K){if(l)throw K;this.handleError(K)}return c};EditorUi.prototype.updatePageLinks=function(a, b){for(var c=0;c<b.length;c++)this.updatePageLinksForCell(a,b[c].root)};EditorUi.prototype.updatePageLinksForCell=function(a,b){var c=document.createElement("div"),d=this.editor.graph,e=d.getLinkForCell(b);null!=e&&d.setLinkForCell(b,this.updatePageLink(a,e));if(d.isHtmlLabel(b)){c.innerHTML=d.getLabel(b);for(var f=c.getElementsByTagName("a"),l=!1,m=0;m<f.length;m++)e=f[m].getAttribute("href"),null!=e&&(f[m].setAttribute("href",this.updatePageLink(a,e)),l=!0);l&&d.labelChanged(b,c.innerHTML)}for(m= 0;m<d.model.getChildCount(b);m++)this.updatePageLinksForCell(a,d.model.getChildAt(b,m))};EditorUi.prototype.updatePageLink=function(a,b){if("data:page/id,"==b.substring(0,13)){var c=a[b.substring(b.indexOf(",")+1)];b=null!=c?"data:page/id,"+c:null}else if("data:action/json,"==b.substring(0,17))try{var d=JSON.parse(b.substring(17));if(null!=d.actions){for(var e=0;e<d.actions.length;e++){var f=d.actions[e];null!=f.open&&"data:page/id,"==f.open.substring(0,13)&&(c=a[f.open.substring(f.open.indexOf(",")+ -1)],null!=c?f.open="data:page/id,"+c:delete f.open)}b="data:action/json,"+JSON.stringify(d)}}catch(z){}return b};EditorUi.prototype.isRemoteVisioFormat=function(a){return/(\.v(sd|dx))($|\?)/i.test(a)||/(\.vs(s|x))($|\?)/i.test(a)};EditorUi.prototype.importVisio=function(a,b,d,f){f=null!=f?f:a.name;d=null!=d?d:mxUtils.bind(this,function(a){this.handleError(a)});var c=mxUtils.bind(this,function(){this.loadingExtensions=!1;if(this.doImportVisio){var c=this.isRemoteVisioFormat(f);try{var e="UNKNOWN-VISIO", +1)],null!=c?f.open="data:page/id,"+c:delete f.open)}b="data:action/json,"+JSON.stringify(d)}}catch(y){}return b};EditorUi.prototype.isRemoteVisioFormat=function(a){return/(\.v(sd|dx))($|\?)/i.test(a)||/(\.vs(s|x))($|\?)/i.test(a)};EditorUi.prototype.importVisio=function(a,b,d,f){f=null!=f?f:a.name;d=null!=d?d:mxUtils.bind(this,function(a){this.handleError(a)});var c=mxUtils.bind(this,function(){this.loadingExtensions=!1;if(this.doImportVisio){var c=this.isRemoteVisioFormat(f);try{var e="UNKNOWN-VISIO", k=f.lastIndexOf(".");0<=k&&k<f.length&&(e=f.substring(k+1).toUpperCase());EditorUi.logEvent({category:e+"-MS-IMPORT-FILE",action:"filename_"+f,label:c?"remote":"local"})}catch(F){}if(c)if(null!=VSD_CONVERT_URL){c=new FormData;c.append("file1",a,f);var l=new XMLHttpRequest;l.open("POST",VSD_CONVERT_URL);l.responseType="blob";this.addRemoteServiceSecurityCheck(l);l.onreadystatechange=mxUtils.bind(this,function(){if(4==l.readyState)if(200<=l.status&&299>=l.status)try{var a=l.response;if("text/xml"== -a.type){var c=new FileReader;c.onload=mxUtils.bind(this,function(a){try{b(a.target.result)}catch(t){d({message:mxResources.get("errorLoadingFile")})}});c.readAsText(a)}else this.doImportVisio(a,b,d,f)}catch(E){d(E)}else d({})});l.send(c)}else d({message:"conf"==this.getServiceName()?mxResources.get("vsdNoConfig"):mxResources.get("serviceUnavailableOrBlocked")});else try{this.doImportVisio(a,b,d,f)}catch(F){d(F)}}else this.spinner.stop(),this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")})}); +a.type){var c=new FileReader;c.onload=mxUtils.bind(this,function(a){try{b(a.target.result)}catch(u){d({message:mxResources.get("errorLoadingFile")})}});c.readAsText(a)}else this.doImportVisio(a,b,d,f)}catch(E){d(E)}else d({})});l.send(c)}else d({message:"conf"==this.getServiceName()?mxResources.get("vsdNoConfig"):mxResources.get("serviceUnavailableOrBlocked")});else try{this.doImportVisio(a,b,d,f)}catch(F){d(F)}}else this.spinner.stop(),this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")})}); this.doImportVisio||this.loadingExtensions||this.isOffline(!0)?c():(this.loadingExtensions=!0,mxscript("js/extensions.min.js",c))};EditorUi.prototype.importGraphML=function(a,b,d){d=null!=d?d:mxUtils.bind(this,function(a){this.handleError(a)});var c=mxUtils.bind(this,function(){this.loadingExtensions=!1;if(this.doImportGraphML)try{this.doImportGraphML(a,b,d)}catch(n){d(n)}else this.spinner.stop(),this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")})});this.doImportGraphML||this.loadingExtensions|| this.isOffline(!0)?c():(this.loadingExtensions=!0,mxscript("js/extensions.min.js",c))};EditorUi.prototype.exportVisio=function(){var a=mxUtils.bind(this,function(){this.loadingExtensions=!1;if("undefined"!==typeof VsdxExport)try{(new VsdxExport(this)).exportCurrentDiagrams()||this.handleError({message:mxResources.get("unknownError")})}catch(e){this.handleError(e)}else this.spinner.stop(),this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")})});"undefined"!==typeof VsdxExport|| this.loadingExtensions||this.isOffline(!0)?a():(this.loadingExtensions=!0,mxscript("js/extensions.min.js",a))};EditorUi.prototype.convertLucidChart=function(a,b,d){var c=mxUtils.bind(this,function(){this.loadingExtensions=!1;if("undefined"!==typeof window.LucidImporter){try{EditorUi.logEvent({category:"LUCIDCHART-IMPORT-FILE",action:"size_"+a.length})}catch(n){}try{b(LucidImporter.importState(JSON.parse(a)))}catch(n){d(n)}}else d({message:mxResources.get("serviceUnavailableOrBlocked")})});"undefined"!== @@ -3167,20 +3168,20 @@ null;null!=a&&"<mxlibrary"==a.substring(0,10)?this.loadLibrary(new LocalLibrary( a+";")])):/(\.*<graphml )/.test(a)?(c=!0,this.importGraphML(a,k)):null!=q&&null!=m&&(/(\.v(dx|sdx?))($|\?)/i.test(m)||/(\.vs(x|sx?))($|\?)/i.test(m))?(c=!0,this.importVisio(q,k)):!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(a,m)?(c=!0,this.parseFile(null!=q?q:new Blob([a],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){4==a.readyState&&(200<=a.status&&299>=a.status?k(a.responseText):null!=p&&p(null))}),m)):0==a.indexOf("PK")&&null!=q?(c=!0,this.importZipFile(q, k,mxUtils.bind(this,function(){e=this.insertTextAt(this.validateFileData(a),d,f,!0,null,v);p(e)}))):/(\.v(sd|dx))($|\?)/i.test(m)||/(\.vs(s|x))($|\?)/i.test(m)||(e=this.insertTextAt(this.validateFileData(a),d,f,!0,null,v));c||null==p||p(e);return e};EditorUi.prototype.base64Encode=function(a){for(var c="",b=0,d=a.length,f,g,l;b<d;){f=a.charCodeAt(b++)&255;if(b==d){c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(f>>2);c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((f& 3)<<4);c+="==";break}g=a.charCodeAt(b++);if(b==d){c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(f>>2);c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((f&3)<<4|(g&240)>>4);c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((g&15)<<2);c+="=";break}l=a.charCodeAt(b++);c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(f>>2);c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((f& -3)<<4|(g&240)>>4);c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((g&15)<<2|(l&192)>>6);c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(l&63)}return c};EditorUi.prototype.importFiles=function(a,b,d,f,l,g,m,p,q,v,x,y){b=null!=b?b:0;d=null!=d?d:0;f=null!=f?f:this.maxImageSize;v=null!=v?v:this.maxImageBytes;var c=null!=b&&null!=d,e=!0,k=!1;if(!mxClient.IS_CHROMEAPP&&null!=a)for(var n=x||this.resampleThreshold,u=0;u<a.length;u++)if("image/"==a[u].type.substring(0, -6)&&a[u].size>n){k=!0;break}var z=mxUtils.bind(this,function(){var k=this.editor.graph,n=k.gridSize;l=null!=l?l:mxUtils.bind(this,function(a,b,d,e,f,g,k,l,n){return null!=a&&"<mxlibrary"==a.substring(0,10)?(this.spinner.stop(),this.loadLibrary(new LocalLibrary(this,a,k)),null):this.importFile(a,b,d,e,f,g,k,l,n,c,y)});g=null!=g?g:mxUtils.bind(this,function(a){k.setSelectionCells(a)});if(this.spinner.spin(document.body,mxResources.get("loading")))for(var q=a.length,u=q,t=[],z=mxUtils.bind(this,function(a, -c){t[a]=c;if(0==--u){this.spinner.stop();if(null!=p)p(t);else{var b=[];k.getModel().beginUpdate();try{for(var d=0;d<t.length;d++){var e=t[d]();null!=e&&(b=b.concat(e))}}finally{k.getModel().endUpdate()}}g(b)}}),A=0;A<q;A++)mxUtils.bind(this,function(c){var g=a[c];if(null!=g){var q=new FileReader;q.onload=mxUtils.bind(this,function(a){if(null==m||m(g))if("image/"==g.type.substring(0,6))if("image/svg"==g.type.substring(0,9)){var q=a.target.result,u=q.indexOf(","),t=decodeURIComponent(escape(atob(q.substring(u+ -1)))),p=mxUtils.parseXml(t),t=p.getElementsByTagName("svg");if(0<t.length){var t=t[0],D=y?null:t.getAttribute("content");null!=D&&"<"!=D.charAt(0)&&"%"!=D.charAt(0)&&(D=unescape(window.atob?atob(D):Base64.decode(D,!0)));null!=D&&"%"==D.charAt(0)&&(D=decodeURIComponent(D));null==D||"<mxfile "!==D.substring(0,8)&&"<mxGraphModel "!==D.substring(0,14)?z(c,mxUtils.bind(this,function(){try{if(q.substring(0,u+1),null!=p){var a=p.getElementsByTagName("svg");if(0<a.length){var e=a[0],m=e.getAttribute("width"), -t=e.getAttribute("height"),m=null!=m&&"%"!=m.charAt(m.length-1)?parseFloat(m):NaN,t=null!=t&&"%"!=t.charAt(t.length-1)?parseFloat(t):NaN,x=e.getAttribute("viewBox");if(null==x||0==x.length)e.setAttribute("viewBox","0 0 "+m+" "+t);else if(isNaN(m)||isNaN(t)){var z=x.split(" ");3<z.length&&(m=parseFloat(z[2]),t=parseFloat(z[3]))}q=this.createSvgDataUri(mxUtils.getXml(e));var v=Math.min(1,Math.min(f/Math.max(1,m)),f/Math.max(1,t)),D=l(q,g.type,b+c*n,d+c*n,Math.max(1,Math.round(m*v)),Math.max(1,Math.round(t* -v)),g.name);if(isNaN(m)||isNaN(t)){var A=new Image;A.onload=mxUtils.bind(this,function(){m=Math.max(1,A.width);t=Math.max(1,A.height);D[0].geometry.width=m;D[0].geometry.height=t;e.setAttribute("viewBox","0 0 "+m+" "+t);q=this.createSvgDataUri(mxUtils.getXml(e));var a=q.indexOf(";");0<a&&(q=q.substring(0,a)+q.substring(q.indexOf(",",a+1)));k.setCellStyles("image",q,[D[0]])});A.src=this.createSvgDataUri(mxUtils.getXml(e))}return D}}}catch(aa){}return null})):z(c,mxUtils.bind(this,function(){return l(D, -"text/xml",b+c*n,d+c*n,0,0,g.name)}))}else z(c,mxUtils.bind(this,function(){return null}))}else{t=!1;if("image/png"==g.type){var A=y?null:this.extractGraphModelFromPng(a.target.result);if(null!=A&&0<A.length){var P=new Image;P.src=a.target.result;z(c,mxUtils.bind(this,function(){return l(A,"text/xml",b+c*n,d+c*n,P.width,P.height,g.name)}));t=!0}}t||(mxClient.IS_CHROMEAPP?(this.spinner.stop(),this.showError(mxResources.get("error"),mxResources.get("dragAndDropNotSupported"),mxResources.get("cancel"), -mxUtils.bind(this,function(){}),null,mxResources.get("ok"),mxUtils.bind(this,function(){this.actions.get("import").funct()}))):this.loadImage(a.target.result,mxUtils.bind(this,function(k){this.resizeImage(k,a.target.result,mxUtils.bind(this,function(k,m,q){z(c,mxUtils.bind(this,function(){if(null!=k&&k.length<v){var t=e&&this.isResampleImage(a.target.result,x)?Math.min(1,Math.min(f/m,f/q)):1;return l(k,g.type,b+c*n,d+c*n,Math.round(m*t),Math.round(q*t),g.name)}this.handleError({message:mxResources.get("imageTooBig")}); -return null}))}),e,f,x)}),mxUtils.bind(this,function(){this.handleError({message:mxResources.get("invalidOrMissingFile")})})))}else l(a.target.result,g.type,b+c*n,d+c*n,240,160,g.name,function(a){z(c,function(){return a})},g)});/(\.v(dx|sdx?))($|\?)/i.test(g.name)||/(\.vs(x|sx?))($|\?)/i.test(g.name)?l(null,g.type,b+c*n,d+c*n,240,160,g.name,function(a){z(c,function(){return a})},g):"image"==g.type.substring(0,5)?q.readAsDataURL(g):q.readAsText(g)}})(A)});if(k){k=[];for(u=0;u<a.length;u++)k.push(a[u]); -a=k;this.confirmImageResize(function(a){e=a;z()},q)}else z()};EditorUi.prototype.confirmImageResize=function(a,b){b=null!=b?b:!1;var c=null!=this.spinner&&null!=this.spinner.pause?this.spinner.pause():function(){},d=isLocalStorage||mxClient.IS_CHROMEAPP?mxSettings.getResizeImages():null,e=function(d,e){if(d||b)mxSettings.setResizeImages(d?e:null),mxSettings.save();c();a(e)};null==d||b?this.showDialog((new ConfirmDialog(this,mxResources.get("resizeLargeImages"),function(a){e(a,!0)},function(a){e(a, +3)<<4|(g&240)>>4);c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((g&15)<<2|(l&192)>>6);c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(l&63)}return c};EditorUi.prototype.importFiles=function(a,b,d,f,l,g,m,p,q,v,x,z){b=null!=b?b:0;d=null!=d?d:0;f=null!=f?f:this.maxImageSize;v=null!=v?v:this.maxImageBytes;var c=null!=b&&null!=d,e=!0,k=!1;if(!mxClient.IS_CHROMEAPP&&null!=a)for(var n=x||this.resampleThreshold,t=0;t<a.length;t++)if("image/"==a[t].type.substring(0, +6)&&a[t].size>n){k=!0;break}var y=mxUtils.bind(this,function(){var k=this.editor.graph,n=k.gridSize;l=null!=l?l:mxUtils.bind(this,function(a,b,d,e,f,g,k,l,n){return null!=a&&"<mxlibrary"==a.substring(0,10)?(this.spinner.stop(),this.loadLibrary(new LocalLibrary(this,a,k)),null):this.importFile(a,b,d,e,f,g,k,l,n,c,z)});g=null!=g?g:mxUtils.bind(this,function(a){k.setSelectionCells(a)});if(this.spinner.spin(document.body,mxResources.get("loading")))for(var q=a.length,t=q,u=[],y=mxUtils.bind(this,function(a, +c){u[a]=c;if(0==--t){this.spinner.stop();if(null!=p)p(u);else{var b=[];k.getModel().beginUpdate();try{for(var d=0;d<u.length;d++){var e=u[d]();null!=e&&(b=b.concat(e))}}finally{k.getModel().endUpdate()}}g(b)}}),A=0;A<q;A++)mxUtils.bind(this,function(c){var g=a[c];if(null!=g){var q=new FileReader;q.onload=mxUtils.bind(this,function(a){if(null==m||m(g))if("image/"==g.type.substring(0,6))if("image/svg"==g.type.substring(0,9)){var q=a.target.result,t=q.indexOf(","),u=decodeURIComponent(escape(atob(q.substring(t+ +1)))),p=mxUtils.parseXml(u),u=p.getElementsByTagName("svg");if(0<u.length){var u=u[0],D=z?null:u.getAttribute("content");null!=D&&"<"!=D.charAt(0)&&"%"!=D.charAt(0)&&(D=unescape(window.atob?atob(D):Base64.decode(D,!0)));null!=D&&"%"==D.charAt(0)&&(D=decodeURIComponent(D));null==D||"<mxfile "!==D.substring(0,8)&&"<mxGraphModel "!==D.substring(0,14)?y(c,mxUtils.bind(this,function(){try{if(q.substring(0,t+1),null!=p){var a=p.getElementsByTagName("svg");if(0<a.length){var e=a[0],m=e.getAttribute("width"), +u=e.getAttribute("height"),m=null!=m&&"%"!=m.charAt(m.length-1)?parseFloat(m):NaN,u=null!=u&&"%"!=u.charAt(u.length-1)?parseFloat(u):NaN,x=e.getAttribute("viewBox");if(null==x||0==x.length)e.setAttribute("viewBox","0 0 "+m+" "+u);else if(isNaN(m)||isNaN(u)){var y=x.split(" ");3<y.length&&(m=parseFloat(y[2]),u=parseFloat(y[3]))}q=this.createSvgDataUri(mxUtils.getXml(e));var v=Math.min(1,Math.min(f/Math.max(1,m)),f/Math.max(1,u)),D=l(q,g.type,b+c*n,d+c*n,Math.max(1,Math.round(m*v)),Math.max(1,Math.round(u* +v)),g.name);if(isNaN(m)||isNaN(u)){var A=new Image;A.onload=mxUtils.bind(this,function(){m=Math.max(1,A.width);u=Math.max(1,A.height);D[0].geometry.width=m;D[0].geometry.height=u;e.setAttribute("viewBox","0 0 "+m+" "+u);q=this.createSvgDataUri(mxUtils.getXml(e));var a=q.indexOf(";");0<a&&(q=q.substring(0,a)+q.substring(q.indexOf(",",a+1)));k.setCellStyles("image",q,[D[0]])});A.src=this.createSvgDataUri(mxUtils.getXml(e))}return D}}}catch(aa){}return null})):y(c,mxUtils.bind(this,function(){return l(D, +"text/xml",b+c*n,d+c*n,0,0,g.name)}))}else y(c,mxUtils.bind(this,function(){return null}))}else{u=!1;if("image/png"==g.type){var A=z?null:this.extractGraphModelFromPng(a.target.result);if(null!=A&&0<A.length){var P=new Image;P.src=a.target.result;y(c,mxUtils.bind(this,function(){return l(A,"text/xml",b+c*n,d+c*n,P.width,P.height,g.name)}));u=!0}}u||(mxClient.IS_CHROMEAPP?(this.spinner.stop(),this.showError(mxResources.get("error"),mxResources.get("dragAndDropNotSupported"),mxResources.get("cancel"), +mxUtils.bind(this,function(){}),null,mxResources.get("ok"),mxUtils.bind(this,function(){this.actions.get("import").funct()}))):this.loadImage(a.target.result,mxUtils.bind(this,function(k){this.resizeImage(k,a.target.result,mxUtils.bind(this,function(k,m,q){y(c,mxUtils.bind(this,function(){if(null!=k&&k.length<v){var u=e&&this.isResampleImage(a.target.result,x)?Math.min(1,Math.min(f/m,f/q)):1;return l(k,g.type,b+c*n,d+c*n,Math.round(m*u),Math.round(q*u),g.name)}this.handleError({message:mxResources.get("imageTooBig")}); +return null}))}),e,f,x)}),mxUtils.bind(this,function(){this.handleError({message:mxResources.get("invalidOrMissingFile")})})))}else l(a.target.result,g.type,b+c*n,d+c*n,240,160,g.name,function(a){y(c,function(){return a})},g)});/(\.v(dx|sdx?))($|\?)/i.test(g.name)||/(\.vs(x|sx?))($|\?)/i.test(g.name)?l(null,g.type,b+c*n,d+c*n,240,160,g.name,function(a){y(c,function(){return a})},g):"image"==g.type.substring(0,5)?q.readAsDataURL(g):q.readAsText(g)}})(A)});if(k){k=[];for(t=0;t<a.length;t++)k.push(a[t]); +a=k;this.confirmImageResize(function(a){e=a;y()},q)}else y()};EditorUi.prototype.confirmImageResize=function(a,b){b=null!=b?b:!1;var c=null!=this.spinner&&null!=this.spinner.pause?this.spinner.pause():function(){},d=isLocalStorage||mxClient.IS_CHROMEAPP?mxSettings.getResizeImages():null,e=function(d,e){if(d||b)mxSettings.setResizeImages(d?e:null),mxSettings.save();c();a(e)};null==d||b?this.showDialog((new ConfirmDialog(this,mxResources.get("resizeLargeImages"),function(a){e(a,!0)},function(a){e(a, !1)},mxResources.get("resize"),mxResources.get("actualSize"),'<img style="margin-top:8px;" src="'+Editor.loResImage+'"/>','<img style="margin-top:8px;" src="'+Editor.hiResImage+'"/>',isLocalStorage||mxClient.IS_CHROMEAPP)).container,340,isLocalStorage||mxClient.IS_CHROMEAPP?220:200,!0,!0):e(!1,d)};EditorUi.prototype.parseFile=function(a,b,d){d=null!=d?d:a.name;var c=new FormData;c.append("format","xml");c.append("upfile",a,d);var e=new XMLHttpRequest;e.open("POST",OPEN_URL);e.onreadystatechange=function(){b(e)}; -e.send(c);try{EditorUi.logEvent({category:"GLIFFY-IMPORT-FILE",action:"size_"+a.size})}catch(g){}};EditorUi.prototype.isResampleImage=function(a,b){b=null!=b?b:this.resampleThreshold;return a.length>b};EditorUi.prototype.resizeImage=function(a,b,d,f,l,g){l=null!=l?l:this.maxImageSize;var c=Math.max(1,a.width),e=Math.max(1,a.height);if(f&&this.isResampleImage(b,g))try{var k=Math.max(c/l,e/l);if(1<k){var n=Math.round(c/k),m=Math.round(e/k),u=document.createElement("canvas");u.width=n;u.height=m;u.getContext("2d").drawImage(a, -0,0,n,m);var t=u.toDataURL();if(t.length<b.length){var p=document.createElement("canvas");p.width=n;p.height=m;var v=p.toDataURL();t!==v&&(b=t,c=n,e=m)}}}catch(Y){}d(b,c,e)};EditorUi.prototype.crcTable=[];for(var d=0;256>d;d++)for(var l=d,m=0;8>m;m++)l=1==(l&1)?3988292384^l>>>1:l>>>1,EditorUi.prototype.crcTable[d]=l;EditorUi.prototype.updateCRC=function(a,b,d,f){for(var c=0;c<f;c++)a=EditorUi.prototype.crcTable[(a^b.charCodeAt(d+c))&255]^a>>>8;return a};EditorUi.prototype.crc32=function(a){this.crcTable= -this.crcTable||this.createCrcTable();for(var c=-1,b=0;b<a.length;b++)c=c>>>8^this.crcTable[(c^a.charCodeAt(b))&255];return(c^-1)>>>0};EditorUi.prototype.writeGraphModelToPng=function(a,b,d,f,l){function c(a,c){var b=n;n+=c;return a.substring(b,n)}function e(a){a=c(a,4);return a.charCodeAt(3)+(a.charCodeAt(2)<<8)+(a.charCodeAt(1)<<16)+(a.charCodeAt(0)<<24)}function k(a){return String.fromCharCode(a>>24&255,a>>16&255,a>>8&255,a&255)}a=a.substring(a.indexOf(",")+1);a=window.atob?atob(a):Base64.decode(a, +e.send(c);try{EditorUi.logEvent({category:"GLIFFY-IMPORT-FILE",action:"size_"+a.size})}catch(g){}};EditorUi.prototype.isResampleImage=function(a,b){b=null!=b?b:this.resampleThreshold;return a.length>b};EditorUi.prototype.resizeImage=function(a,b,d,f,l,g){l=null!=l?l:this.maxImageSize;var c=Math.max(1,a.width),e=Math.max(1,a.height);if(f&&this.isResampleImage(b,g))try{var k=Math.max(c/l,e/l);if(1<k){var n=Math.round(c/k),m=Math.round(e/k),t=document.createElement("canvas");t.width=n;t.height=m;t.getContext("2d").drawImage(a, +0,0,n,m);var u=t.toDataURL();if(u.length<b.length){var p=document.createElement("canvas");p.width=n;p.height=m;var v=p.toDataURL();u!==v&&(b=u,c=n,e=m)}}}catch(Y){}d(b,c,e)};EditorUi.prototype.crcTable=[];for(var d=0;256>d;d++)for(var l=d,m=0;8>m;m++)l=1==(l&1)?3988292384^l>>>1:l>>>1,EditorUi.prototype.crcTable[d]=l;EditorUi.prototype.updateCRC=function(a,b,d,f){for(var c=0;c<f;c++)a=EditorUi.prototype.crcTable[(a^b.charCodeAt(d+c))&255]^a>>>8;return a};EditorUi.prototype.crc32=function(a){this.crcTable= +this.crcTable||this.createCrcTable();for(var c=-1,b=0;b<a.length;b++)c=c>>>8^this.crcTable[(c^a.charCodeAt(b))&255];return(c^-1)>>>0};EditorUi.prototype.writeGraphModelToPng=function(a,b,d,f,l){function c(a,b){var c=n;n+=b;return a.substring(c,n)}function e(a){a=c(a,4);return a.charCodeAt(3)+(a.charCodeAt(2)<<8)+(a.charCodeAt(1)<<16)+(a.charCodeAt(0)<<24)}function k(a){return String.fromCharCode(a>>24&255,a>>16&255,a>>8&255,a&255)}a=a.substring(a.indexOf(",")+1);a=window.atob?atob(a):Base64.decode(a, !0);var n=0;if(c(a,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=l&&l();else if(c(a,4),"IHDR"!=c(a,4))null!=l&&l();else{c(a,17);l=a.substring(0,n);do{var m=e(a);if("IDAT"==c(a,4)){l=a.substring(0,n-8);"pHYs"==b&&"dpi"==d?(d=Math.round(f/.0254),d=k(d)+k(d)+String.fromCharCode(1)):d=d+String.fromCharCode(0)+("zTXt"==b?String.fromCharCode(0):"")+f;f=4294967295;f=this.updateCRC(f,b,0,4);f=this.updateCRC(f,d,0,d.length);l+=k(d.length)+b+d+k(f^4294967295);l+=a.substring(n-8, a.length);break}l+=a.substring(n-8,n-4+m);c(a,m);c(a,4)}while(m);return"data:image/png;base64,"+(window.btoa?btoa(l):Base64.encode(l,!0))}};EditorUi.prototype.extractGraphModelFromPng=function(a){return Editor.extractGraphModelFromPng(a)};EditorUi.prototype.loadImage=function(a,b,d){try{var c=new Image;c.onload=function(){b(c)};null!=d&&(c.onerror=d);c.src=a}catch(n){if(null!=d)d(n);else throw n;}};var p=EditorUi.prototype.init;EditorUi.prototype.init=function(){mxStencilRegistry.allowEval=mxStencilRegistry.allowEval&& !this.isOfflineApp();"undefined"!==typeof window.mxSettings&&(this.formatWidth=mxSettings.getFormatWidth());var a=this,b=this.editor.graph,d=b.cellEditor.startEditing;b.cellEditor.startEditing=function(c,e){var f=this.graph.getAttributeForCell(c,"plantUmlData");if(null!=f){var g=JSON.parse(f),f=new TextareaDialog(a,mxResources.get("plantUml")+":",g.data,function(d){null!=d&&a.spinner.spin(document.body,mxResources.get("inserting"))&&a.generatePlantUmlImage(d,g.format,function(e,f,k){a.spinner.stop(); @@ -3189,152 +3190,150 @@ b.getLinkTitle=function(b){return a.getLinkTitle(b)};b.customLinkClicked=functio a.pages&&null!=a.currentPage)for(var c=0;c<a.pages.length;c++)if(a.pages[c]==a.currentPage){0<c&&(b+=(0<b.length?"&":"?")+"page="+c);break}"1"==urlParams.dev&&(b+=(0<b.length?"&":"?")+"dev=1&drawdev=1");return l.apply(this,arguments)};var g=b.addClickHandler;b.addClickHandler=function(a,c,d){var e=c;c=function(a,c){if(null==c){var d=mxEvent.getSource(a);"a"==d.nodeName.toLowerCase()&&(c=d.getAttribute("href"))}null!=c&&b.isCustomLink(c)&&(mxEvent.isTouchEvent(a)||!mxEvent.isPopupTrigger(a))&&b.customLinkClicked(c)&& mxEvent.consume(a);null!=e&&e(a,c)};g.call(this,a,c,d)};p.apply(this,arguments);mxClient.IS_SVG&&this.editor.graph.addSvgShadow(b.view.canvas.ownerSVGElement,null,!0);a.actions.get("print").funct=function(){a.showDialog((new PrintDialog(a)).container,360,null!=a.pages&&1<a.pages.length?420:360,!0,!0)};this.defaultFilename=mxResources.get("untitledDiagram");var m=b.getExportVariables;b.getExportVariables=function(){var b=m.apply(this,arguments);b.pagecount=null!=a.pages?a.pages.length:1;b.page=null!= a.currentPage?a.currentPage.getName():"";b.pagenumber=null!=a.pages&&null!=a.currentPage?mxUtils.indexOf(a.pages,a.currentPage)+1:1;return b};var v=b.getGlobalVariable;b.getGlobalVariable=function(b){return"page"==b&&null!=a.currentPage?a.currentPage.getName():"pagenumber"==b?null!=a.currentPage&&null!=a.pages?mxUtils.indexOf(a.pages,a.currentPage)+1:1:"pagecount"==b?null!=a.pages?a.pages.length:1:v.apply(this,arguments)};var q=b.labelLinkClicked;b.labelLinkClicked=function(a,c,d){var e=c.getAttribute("href"); -if(null==e||!b.isCustomLink(e)||!mxEvent.isTouchEvent(d)&&mxEvent.isPopupTrigger(d))q.apply(this,arguments);else{if(!b.isEnabled()||null!=a&&b.isCellLocked(a.cell))b.customLinkClicked(e),b.getRubberband().reset();mxEvent.consume(d)}};this.editor.getOrCreateFilename=function(){var b=a.defaultFilename,c=a.getCurrentFile();null!=c&&(b=null!=c.getTitle()?c.getTitle():b);return b};var y=this.actions.get("print");y.setEnabled(!mxClient.IS_IOS||!navigator.standalone);y.visible=y.isEnabled();if(!this.editor.chromeless|| +if(null==e||!b.isCustomLink(e)||!mxEvent.isTouchEvent(d)&&mxEvent.isPopupTrigger(d))q.apply(this,arguments);else{if(!b.isEnabled()||null!=a&&b.isCellLocked(a.cell))b.customLinkClicked(e),b.getRubberband().reset();mxEvent.consume(d)}};this.editor.getOrCreateFilename=function(){var b=a.defaultFilename,c=a.getCurrentFile();null!=c&&(b=null!=c.getTitle()?c.getTitle():b);return b};var z=this.actions.get("print");z.setEnabled(!mxClient.IS_IOS||!navigator.standalone);z.visible=z.isEnabled();if(!this.editor.chromeless|| this.editor.editable)this.keyHandler.bindAction(70,!0,"find"),this.keyHandler.bindAction(67,!0,"copyStyle",!0),this.keyHandler.bindAction(86,!0,"pasteStyle",!0),this.keyHandler.bindAction(77,!0,"editGeometry",!0),this.keyHandler.bindAction(88,!0,"insertText",!0),this.keyHandler.bindAction(75,!0,"insertRectangle"),this.keyHandler.bindAction(75,!0,"insertEllipse",!0),mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||(this.altShiftActions[83]="synchronize"),this.installImagePasteHandler(),this.installNativeClipboardHandler(); this.spinner=this.createSpinner(document.body.clientWidth/2-2,Math.max(document.body.clientHeight||0,document.documentElement.clientHeight||0)/2,24);Graph.fileSupport&&this.editor.graph.addListener(mxEvent.EDITING_STARTED,mxUtils.bind(this,function(a){var b=this.editor.graph,c=b.cellEditor.text2,d=null;null!=c&&(mxEvent.addListener(c,"dragleave",function(a){null!=d&&(d.parentNode.removeChild(d),d=null);a.stopPropagation();a.preventDefault()}),mxEvent.addListener(c,"dragover",mxUtils.bind(this,function(a){null== d&&(!mxClient.IS_IE||10<document.documentMode)&&(d=this.highlightElement(c));a.stopPropagation();a.preventDefault()})),mxEvent.addListener(c,"drop",mxUtils.bind(this,function(a){null!=d&&(d.parentNode.removeChild(d),d=null);if(0<a.dataTransfer.files.length)this.importFiles(a.dataTransfer.files,0,0,this.maxImageSize,function(a,c,d,e,f,g){b.insertImage(a,f,g)},function(){},function(a){return"image/"==a.type.substring(0,6)},function(a){for(var b=0;b<a.length;b++)a[b]()},mxEvent.isControlDown(a));else if(0<= mxUtils.indexOf(a.dataTransfer.types,"text/uri-list")){var c=a.dataTransfer.getData("text/uri-list");/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(c)?this.loadImage(decodeURIComponent(c),mxUtils.bind(this,function(a){var d=Math.max(1,a.width);a=Math.max(1,a.height);var e=this.maxImageSize,e=Math.min(1,Math.min(e/Math.max(1,d)),e/Math.max(1,a));b.insertImage(decodeURIComponent(c),d*e,a*e)})):document.execCommand("insertHTML",!1,a.dataTransfer.getData("text/plain"))}else 0<=mxUtils.indexOf(a.dataTransfer.types, -"text/html")?document.execCommand("insertHTML",!1,a.dataTransfer.getData("text/html")):0<=mxUtils.indexOf(a.dataTransfer.types,"text/plain")&&document.execCommand("insertHTML",!1,a.dataTransfer.getData("text/plain"));a.stopPropagation();a.preventDefault()})))}));"undefined"!==typeof window.mxSettings&&(y=this.editor.graph.view,y.setUnit(mxSettings.getUnit()),y.addListener("unitChanged",function(a,b){mxSettings.setUnit(b.getProperty("unit"));mxSettings.save()}),this.ruler=!this.canvasSupported||9== -document.documentMode||"1"!=urlParams.ruler&&!mxSettings.isRulerOn()||this.editor.isChromelessView()&&!this.editor.editable?null:new mxDualRuler(this,y.unit),this.refresh());if("1"==urlParams.styledev){y=document.getElementById("geFooter");null!=y&&(this.styleInput=document.createElement("input"),this.styleInput.setAttribute("type","text"),this.styleInput.style.position="absolute",this.styleInput.style.top="14px",this.styleInput.style.left="2px",this.styleInput.style.width="98%",this.styleInput.style.visibility= -"hidden",this.styleInput.style.opacity="0.9",mxEvent.addListener(this.styleInput,"change",mxUtils.bind(this,function(){this.editor.graph.getModel().setStyle(this.editor.graph.getSelectionCell(),this.styleInput.value)})),y.appendChild(this.styleInput),this.editor.graph.getSelectionModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(a,b){if(0<this.editor.graph.getSelectionCount()){var c=this.editor.graph.getSelectionCell(),c=this.editor.graph.getModel().getStyle(c);this.styleInput.value=c|| -"";this.styleInput.style.visibility="visible"}else this.styleInput.style.visibility="hidden"})));var x=this.isSelectionAllowed;this.isSelectionAllowed=function(a){return mxEvent.getSource(a)==this.styleInput?!0:x.apply(this,arguments)}}y=document.getElementById("geInfo");null!=y&&y.parentNode.removeChild(y);if(Graph.fileSupport&&(!this.editor.chromeless||this.editor.editable)){var E=null;mxEvent.addListener(b.container,"dragleave",function(a){b.isEnabled()&&(null!=E&&(E.parentNode.removeChild(E), +"text/html")?document.execCommand("insertHTML",!1,a.dataTransfer.getData("text/html")):0<=mxUtils.indexOf(a.dataTransfer.types,"text/plain")&&document.execCommand("insertHTML",!1,a.dataTransfer.getData("text/plain"));a.stopPropagation();a.preventDefault()})))}));"undefined"!==typeof window.mxSettings&&(z=this.editor.graph.view,z.setUnit(mxSettings.getUnit()),z.addListener("unitChanged",function(a,b){mxSettings.setUnit(b.getProperty("unit"));mxSettings.save()}),this.ruler=!this.canvasSupported||9== +document.documentMode||"1"!=urlParams.ruler&&!mxSettings.isRulerOn()||this.editor.isChromelessView()&&!this.editor.editable?null:new mxDualRuler(this,z.unit),this.refresh());if("1"==urlParams.styledev){z=document.getElementById("geFooter");null!=z&&(this.styleInput=document.createElement("input"),this.styleInput.setAttribute("type","text"),this.styleInput.style.position="absolute",this.styleInput.style.top="14px",this.styleInput.style.left="2px",this.styleInput.style.width="98%",this.styleInput.style.visibility= +"hidden",this.styleInput.style.opacity="0.9",mxEvent.addListener(this.styleInput,"change",mxUtils.bind(this,function(){this.editor.graph.getModel().setStyle(this.editor.graph.getSelectionCell(),this.styleInput.value)})),z.appendChild(this.styleInput),this.editor.graph.getSelectionModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(a,b){if(0<this.editor.graph.getSelectionCount()){var c=this.editor.graph.getSelectionCell(),c=this.editor.graph.getModel().getStyle(c);this.styleInput.value=c|| +"";this.styleInput.style.visibility="visible"}else this.styleInput.style.visibility="hidden"})));var x=this.isSelectionAllowed;this.isSelectionAllowed=function(a){return mxEvent.getSource(a)==this.styleInput?!0:x.apply(this,arguments)}}z=document.getElementById("geInfo");null!=z&&z.parentNode.removeChild(z);if(Graph.fileSupport&&(!this.editor.chromeless||this.editor.editable)){var E=null;mxEvent.addListener(b.container,"dragleave",function(a){b.isEnabled()&&(null!=E&&(E.parentNode.removeChild(E), E=null),a.stopPropagation(),a.preventDefault())});mxEvent.addListener(b.container,"dragover",mxUtils.bind(this,function(a){null==E&&(!mxClient.IS_IE||10<document.documentMode)&&(E=this.highlightElement(b.container));null!=this.sidebar&&this.sidebar.hideTooltip();a.stopPropagation();a.preventDefault()}));mxEvent.addListener(b.container,"drop",mxUtils.bind(this,function(a){null!=E&&(E.parentNode.removeChild(E),E=null);if(b.isEnabled()){var c=mxUtils.convertPoint(b.container,mxEvent.getClientX(a),mxEvent.getClientY(a)), d=b.view.translate,e=b.view.scale,f=c.x/e-d.x,g=c.y/e-d.y;mxEvent.isAltDown(a)&&(g=f=0);if(0<a.dataTransfer.files.length)this.importFiles(a.dataTransfer.files,f,g,this.maxImageSize,null,null,null,null,mxEvent.isControlDown(a),null,null,mxEvent.isShiftDown(a));else{var k=0<=mxUtils.indexOf(a.dataTransfer.types,"text/uri-list")?a.dataTransfer.getData("text/uri-list"):null,c=this.extractGraphModelFromEvent(a,null!=this.pages);if(null!=c)b.setSelectionCells(this.importXml(c,f,g,!0));else if(0<=mxUtils.indexOf(a.dataTransfer.types, "text/html")){var l=a.dataTransfer.getData("text/html"),c=document.createElement("div");c.innerHTML=l;var n=null,d=c.getElementsByTagName("img");null!=d&&1==d.length?(l=d[0].getAttribute("src"),/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(l)||(n=!0)):(c=c.getElementsByTagName("a"),null!=c&&1==c.length&&(l=c[0].getAttribute("href")));var m=!0,q=mxUtils.bind(this,function(){b.setSelectionCells(this.insertTextAt(l,f,g,!0,n,null,m))});n&&l.length>this.resampleThreshold?this.confirmImageResize(function(a){m= a;q()},mxEvent.isControlDown(a)):q()}else null!=k&&/\.(gif|jpg|jpeg|tiff|png|svg)$/i.test(k)?this.loadImage(decodeURIComponent(k),mxUtils.bind(this,function(a){var c=Math.max(1,a.width);a=Math.max(1,a.height);var d=this.maxImageSize,d=Math.min(1,Math.min(d/Math.max(1,c)),d/Math.max(1,a));b.setSelectionCell(b.insertVertex(null,null,"",f,g,c*d,a*d,"shape=image;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;aspect=fixed;imageAspect=0;image="+k+";"))}),mxUtils.bind(this,function(a){b.setSelectionCells(this.insertTextAt(k, -f,g,!0))})):0<=mxUtils.indexOf(a.dataTransfer.types,"text/plain")&&b.setSelectionCells(this.insertTextAt(a.dataTransfer.getData("text/plain"),f,g,!0))}}a.stopPropagation();a.preventDefault()}),!1)}this.initPages();this.editUpdateListener=mxUtils.bind(this,function(a,b){var c=b.getProperty("edit");null!=c&&this.updateEditReferences(c)});this.editor.undoManager.addListener(mxEvent.BEFORE_UNDO,this.editUpdateListener);this.editor.undoManager.addListener(mxEvent.BEFORE_REDO,this.editUpdateListener);"1"== -urlParams.embed&&this.initializeEmbedMode();this.installSettings()};EditorUi.prototype.installImagePasteHandler=function(){if(!mxClient.IS_IE){var a=this.editor.graph;a.container.addEventListener("paste",mxUtils.bind(this,function(b){if(!mxEvent.isConsumed(b))try{for(var c=b.clipboardData||b.originalEvent.clipboardData,d=!1,e=0;e<c.types.length;e++)if("text/"===c.types[e].substring(0,5)){d=!0;break}if(!d){var f=c.items;for(index in f){var l=f[index];if("file"===l.kind){if(a.isEditing())this.importFiles([l.getAsFile()], -0,0,this.maxImageSize,function(b,c,d,e,f,g){a.insertImage(b,f,g)},function(){},function(a){return"image/"==a.type.substring(0,6)},function(a){for(var b=0;b<a.length;b++)a[b]()});else{var m=this.editor.graph.getInsertPoint();this.importFiles([l.getAsFile()],m.x,m.y,this.maxImageSize);mxEvent.consume(b)}break}}}}catch(q){}}),!1)}};EditorUi.prototype.installNativeClipboardHandler=function(){function a(){window.setTimeout(function(){d.innerHTML=" ";d.focus();document.execCommand("selectAll",!1,null)}, -0)}var b=this.editor.graph,d=document.createElement("div");d.setAttribute("autocomplete","off");d.setAttribute("autocorrect","off");d.setAttribute("autocapitalize","off");d.setAttribute("spellcheck","false");d.style.textRendering="optimizeSpeed";d.style.background="transparent";d.style.color="transparent";d.style.position="absolute";d.style.whiteSpace="nowrap";d.style.overflow="hidden";d.style.display="block";d.style.fontSize="1";d.style.zIndex="-1";d.style.resize="none";d.style.outline="none";d.style.width= -"1px";d.style.height="1px";mxUtils.setOpacity(d,0);d.contentEditable=!0;d.innerHTML=" ";var f=!1;this.keyHandler.bindControlKey(88,null);this.keyHandler.bindControlKey(67,null);this.keyHandler.bindControlKey(86,null);mxEvent.addListener(document,"keydown",mxUtils.bind(this,function(a){var c=mxEvent.getSource(a);null==b.container||!b.isEnabled()||b.isMouseDown||b.isEditing()||null!=this.dialog||"INPUT"==c.nodeName||"TEXTAREA"==c.nodeName||!(224==a.keyCode||!mxClient.IS_MAC&&17==a.keyCode||mxClient.IS_MAC&& -91==a.keyCode)||f||(d.style.left=b.container.scrollLeft+10+"px",d.style.top=b.container.scrollTop+10+"px",b.container.appendChild(d),f=!0,mxClient.IS_QUIRKS?window.setTimeout(function(){d.focus();document.execCommand("selectAll",!1,null)},0):(d.focus(),document.execCommand("selectAll",!1,null)))}));mxEvent.addListener(document,"keyup",mxUtils.bind(this,function(a){var c=a.keyCode;window.setTimeout(mxUtils.bind(this,function(){!f||224!=c&&17!=c&&91!=c||(f=!1,b.isEditing()||null!=this.dialog||null== -b.container||b.container.focus(),d.parentNode.removeChild(d),null==this.dialog&&mxUtils.clearSelection())}),0)}));mxEvent.addListener(d,"copy",mxUtils.bind(this,function(c){if(b.isEnabled())try{mxClipboard.copy(b),this.copyCells(d),a()}catch(z){this.handleError(z)}}));mxEvent.addListener(d,"cut",mxUtils.bind(this,function(c){if(b.isEnabled())try{mxClipboard.copy(b),this.copyCells(d,!0),a()}catch(z){this.handleError(z)}}));mxEvent.addListener(d,"paste",mxUtils.bind(this,function(a){b.isEnabled()&& -!b.isCellLocked(b.getDefaultParent())&&((new Date).getTime(),d.innerHTML=" ",d.focus(),null!=a.clipboardData&&this.pasteCells(a,d,!0),mxEvent.isConsumed(a)||window.setTimeout(mxUtils.bind(this,function(){this.pasteCells(a,d,!1)}),0))}),!0);var l=this.isSelectionAllowed;this.isSelectionAllowed=function(a){return mxEvent.getSource(a)==d?!0:l.apply(this,arguments)}};EditorUi.prototype.getLinkTitle=function(a){var b=Graph.prototype.getLinkTitle.apply(this,arguments);if("data:page/id,"==a.substring(0, -13)){var c=a.indexOf(",");0<c&&(b=this.getPageById(a.substring(c+1)),b=null!=b?b.getName():mxResources.get("pageNotFound"))}else"data:"==a.substring(0,5)&&(b=mxResources.get("action"));return b};EditorUi.prototype.handleCustomLink=function(a){if("data:page/id,"==a.substring(0,13)){var b=a.indexOf(",");if(a=this.getPageById(a.substring(b+1)))this.selectPage(a);else throw Error(mxResources.get("pageNotFound")||"Page not found");}else this.editor.graph.handleCustomLink(a)};EditorUi.prototype.isSettingsEnabled= -function(){return"undefined"!==typeof window.mxSettings&&(isLocalStorage||mxClient.IS_CHROMEAPP)};EditorUi.prototype.installSettings=function(){if(this.isSettingsEnabled()){ColorDialog.recentColors=mxSettings.getRecentColors();if(isLocalStorage)try{window.addEventListener("storage",mxUtils.bind(this,function(a){a.key==mxSettings.key&&(mxSettings.load(),ColorDialog.recentColors=mxSettings.getRecentColors(),this.menus.customFonts=mxSettings.getCustomFonts())}),!1)}catch(c){}this.fireEvent(new mxEventObject("styleChanged", -"keys",[],"values",[],"cells",[]));this.menus.customFonts=mxSettings.getCustomFonts();this.addListener("customFontsChanged",mxUtils.bind(this,function(a,b){mxSettings.setCustomFonts(this.menus.customFonts);mxSettings.save()}));this.editor.graph.connectionHandler.setCreateTarget(mxSettings.isCreateTarget());this.fireEvent(new mxEventObject("copyConnectChanged"));this.addListener("copyConnectChanged",mxUtils.bind(this,function(a,b){mxSettings.setCreateTarget(this.editor.graph.connectionHandler.isCreateTarget()); -mxSettings.save()}));this.editor.graph.pageFormat=mxSettings.getPageFormat();this.addListener("pageFormatChanged",mxUtils.bind(this,function(a,b){mxSettings.setPageFormat(this.editor.graph.pageFormat);mxSettings.save()}));this.editor.graph.view.gridColor=mxSettings.getGridColor("dark"==uiTheme);this.addListener("gridColorChanged",mxUtils.bind(this,function(a,b){console.log("gridColorChanged",this.editor.graph.view.gridColor);mxSettings.setGridColor(this.editor.graph.view.gridColor,"dark"==uiTheme); -mxSettings.save()}));if(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)this.editor.addListener("autosaveChanged",mxUtils.bind(this,function(a,b){mxSettings.setAutosave(this.editor.autosave);mxSettings.save()})),this.editor.autosave=mxSettings.getAutosave();null!=this.sidebar&&this.sidebar.showPalette("search",mxSettings.settings.search);this.editor.chromeless&&!this.editor.editable||null==this.sidebar||!(mxSettings.settings.isNew||8>=parseInt(mxSettings.settings.version||0))||(this.toggleScratchpad(), -mxSettings.save());this.addListener("formatWidthChanged",function(){mxSettings.setFormatWidth(this.formatWidth);mxSettings.save()})}};EditorUi.prototype.copyCells=function(a,b){var c=this.editor.graph;if(c.isSelectionEmpty())a.innerHTML="";else{var d=mxUtils.sortCells(c.model.getTopmostCells(c.getSelectionCells())),e=mxUtils.getXml(c.encodeCells(d));mxUtils.setTextContent(a,encodeURIComponent(e));b?(c.removeCells(d,!1),c.lastPasteXml=null):(c.lastPasteXml=e,c.pasteCounter=0);a.focus();document.execCommand("selectAll", -!1,null)}};EditorUi.prototype.pasteCells=function(a,b,d){if(!mxEvent.isConsumed(a)){var c=b;d&&null!=a.clipboardData&&(c=document.createElement("div"),c.innerHTML=a.clipboardData.getData("text/html"));var e=c.getElementsByTagName("span");if(null!=e&&0<e.length&&"application/vnd.lucid.chart.objects"===e[0].getAttribute("data-lucid-type")){var f=e[0].getAttribute("data-lucid-content");null!=f&&0<f.length&&(this.convertLucidChart(f,mxUtils.bind(this,function(a){var b=this.editor.graph;b.lastPasteXml== -a?b.pasteCounter++:(b.lastPasteXml=a,b.pasteCounter=0);var c=b.pasteCounter*b.gridSize;b.setSelectionCells(this.importXml(a,c,c));b.scrollCellToVisible(b.getSelectionCell())}),mxUtils.bind(this,function(a){this.handleError(a)})),mxEvent.consume(a))}else{var f=mxUtils.trim(mxClient.IS_QUIRKS||8==document.documentMode?mxUtils.getTextContent(c):c.textContent),k=!1;try{var l=f.lastIndexOf("%3E");0<=l&&l<f.length-3&&(f=f.substring(0,l+3))}catch(F){}try{var e=c.getElementsByTagName("span"),m=null!=e&&0< -e.length?mxUtils.trim(decodeURIComponent(e[0].textContent)):decodeURIComponent(f);this.isCompatibleString(m)&&(k=!0,f=m)}catch(F){}c=this.editor.graph;if(null!=f&&0<f.length){if(c.lastPasteXml==f?c.pasteCounter++:(c.lastPasteXml=f,c.pasteCounter=0),d=c.pasteCounter*c.gridSize,k||this.isCompatibleString(f)?c.setSelectionCells(this.importXml(f,d,d)):(k=c.getInsertPoint(),c.isMouseInsertPoint()&&(d=0,c.lastPasteXml==f&&0<c.pasteCounter&&c.pasteCounter--),c.setSelectionCells(this.insertTextAt(f,k.x+d, -k.y+d,!0))),!c.isSelectionEmpty()){c.scrollCellToVisible(c.getSelectionCell());null!=this.hoverIcons&&this.hoverIcons.update(c.view.getState(c.getSelectionCell()));try{mxEvent.consume(a)}catch(F){}}}else d||(c.lastPasteXml=null,c.pasteCounter=0)}}b.innerHTML=" "};EditorUi.prototype.addFileDropHandler=function(a){if(Graph.fileSupport)for(var b=null,c=0;c<a.length;c++)mxEvent.addListener(a[c],"dragleave",function(a){null!=b&&(b.parentNode.removeChild(b),b=null);a.stopPropagation();a.preventDefault()}), -mxEvent.addListener(a[c],"dragover",mxUtils.bind(this,function(a){(this.editor.graph.isEnabled()||"1"!=urlParams.embed)&&null==b&&(!mxClient.IS_IE||10<document.documentMode&&12>document.documentMode)&&(b=this.highlightElement());a.stopPropagation();a.preventDefault()})),mxEvent.addListener(a[c],"drop",mxUtils.bind(this,function(a){null!=b&&(b.parentNode.removeChild(b),b=null);if(this.editor.graph.isEnabled()||"1"!=urlParams.embed)if(0<a.dataTransfer.files.length)this.hideDialog(),"1"==urlParams.embed? -this.importFiles(a.dataTransfer.files,0,0,this.maxImageSize,null,null,null,null,!mxEvent.isControlDown(a)&&!mxEvent.isShiftDown(a)):this.openFiles(a.dataTransfer.files,!0);else{var c=this.extractGraphModelFromEvent(a);if(null==c){var d=null!=a.dataTransfer?a.dataTransfer:a.clipboardData;null!=d&&(10==document.documentMode||11==document.documentMode?c=d.getData("Text"):(c=null,c=0<=mxUtils.indexOf(d.types,"text/uri-list")?a.dataTransfer.getData("text/uri-list"):0<=mxUtils.indexOf(d.types,"text/html")? -d.getData("text/html"):null,null!=c&&0<c.length?(d=document.createElement("div"),d.innerHTML=c,d=d.getElementsByTagName("img"),0<d.length&&(c=d[0].getAttribute("src"))):0<=mxUtils.indexOf(d.types,"text/plain")&&(c=d.getData("text/plain"))),null!=c&&("data:image/png;base64,"==c.substring(0,22)?(c=this.extractGraphModelFromPng(c),null!=c&&0<c.length&&this.openLocalFile(c,null,!0)):!this.isOffline()&&this.isRemoteFileFormat(c)?(new mxXmlRequest(OPEN_URL,"format=xml&data="+encodeURIComponent(c))).send(mxUtils.bind(this, -function(a){200<=a.getStatus()&&299>=a.getStatus()&&this.openLocalFile(a.getText(),null,!0)})):/^https?:\/\//.test(c)&&(null==this.getCurrentFile()?window.location.hash="#U"+encodeURIComponent(c):window.openWindow((mxClient.IS_CHROMEAPP?EditorUi.drawHost+"/":"https://"+location.host+"/")+window.location.search+"#U"+encodeURIComponent(c)))))}else this.openLocalFile(c,null,!0)}a.stopPropagation();a.preventDefault()}))};EditorUi.prototype.highlightElement=function(a){var b=0,c=0,d,f;if(null==a){f=document.body; -var g=document.documentElement;d=(f.clientWidth||g.clientWidth)-3;f=Math.max(f.clientHeight||0,g.clientHeight)-3}else b=a.offsetTop,c=a.offsetLeft,d=a.clientWidth,f=a.clientHeight;g=document.createElement("div");g.style.zIndex=mxPopupMenu.prototype.zIndex+2;g.style.border="3px dotted rgb(254, 137, 12)";g.style.pointerEvents="none";g.style.position="absolute";g.style.top=b+"px";g.style.left=c+"px";g.style.width=Math.max(0,d-3)+"px";g.style.height=Math.max(0,f-3)+"px";null!=a&&a.parentNode==this.editor.graph.container? -this.editor.graph.container.appendChild(g):document.body.appendChild(g);return g};EditorUi.prototype.stringToCells=function(a){a=mxUtils.parseXml(a);var b=this.editor.extractGraphModel(a.documentElement);a=[];if(null!=b){var c=new mxCodec(b.ownerDocument),d=new mxGraphModel;c.decode(b,d);b=d.getChildAt(d.getRoot(),0);for(c=0;c<d.getChildCount(b);c++)a.push(d.getChildAt(b,c))}return a};EditorUi.prototype.openFiles=function(a,b){if(this.spinner.spin(document.body,mxResources.get("loading")))for(var c= -0;c<a.length;c++)mxUtils.bind(this,function(a){var c=new FileReader;c.onload=mxUtils.bind(this,function(c){try{var d=c.target.result,e=a.name;if(null!=e&&0<e.length){!this.useCanvasForExport&&/(\.png)$/i.test(e)&&(e=e.substring(0,e.length-4)+".drawio");var f=mxUtils.bind(this,function(a){e=0<=e.lastIndexOf(".")?e.substring(0,e.lastIndexOf("."))+".drawio":e+".drawio";if("<mxlibrary"==a.substring(0,10)){null==this.getCurrentFile()&&"1"!=urlParams.embed&&this.openLocalFile(this.emptyDiagramXml,this.defaultFilename, -b);try{this.loadLibrary(new LocalLibrary(this,a,e))}catch(x){this.handleError(x,mxResources.get("errorLoadingFile"))}}else this.openLocalFile(a,e,b)});if(/(\.v(dx|sdx?))($|\?)/i.test(e)||/(\.vs(x|sx?))($|\?)/i.test(e))this.importVisio(a,mxUtils.bind(this,function(a){this.spinner.stop();f(a)}));else if(/(\.*<graphml )/.test(d))this.importGraphML(d,mxUtils.bind(this,function(a){this.spinner.stop();f(a)}));else if(Graph.fileSupport&&!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(d, -e))this.parseFile(a,mxUtils.bind(this,function(a){4==a.readyState&&(this.spinner.stop(),200<=a.status&&299>=a.status?f(a.responseText):this.handleError({message:mxResources.get(413==a.status?"drawingTooLarge":"invalidOrMissingFile")},mxResources.get("errorLoadingFile")))}));else if(this.isLucidChartData(d))/(\.json)$/i.test(e)&&(e=e.substring(0,e.length-5)+".drawio"),this.convertLucidChart(d,mxUtils.bind(this,function(a){this.spinner.stop();this.openLocalFile(a,e,b)}),mxUtils.bind(this,function(a){this.spinner.stop(); -this.handleError(a)}));else if("<mxlibrary"==c.target.result.substring(0,10)){this.spinner.stop();null==this.getCurrentFile()&&"1"!=urlParams.embed&&this.openLocalFile(this.emptyDiagramXml,this.defaultFilename,b);try{this.loadLibrary(new LocalLibrary(this,c.target.result,a.name))}catch(F){this.handleError(F,mxResources.get("errorLoadingFile"))}}else 0==d.indexOf("PK")?this.importZipFile(a,mxUtils.bind(this,function(a){this.spinner.stop();f(a)}),mxUtils.bind(this,function(){this.spinner.stop();this.openLocalFile(d, -e,b)})):("image/png"==a.type.substring(0,9)&&(d=this.extractGraphModelFromPng(d)),this.spinner.stop(),this.openLocalFile(d,e,b))}}catch(F){this.handleError(F)}});c.onerror=mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a);window.openFile=null});"image"===a.type.substring(0,5)&&"image/svg"!==a.type.substring(0,9)?c.readAsDataURL(a):c.readAsText(a)})(a[c])};EditorUi.prototype.openLocalFile=function(a,b,d){var c=this.getCurrentFile(),e=mxUtils.bind(this,function(){window.openFile= -null;if(null==b&&null!=this.getCurrentFile()&&this.isDiagramEmpty()){var c=mxUtils.parseXml(a);null!=c&&(this.editor.setGraphXml(c.documentElement),this.editor.graph.selectAll())}else this.fileLoaded(new LocalFile(this,a,b||this.defaultFilename,d))});if(null!=a&&0<a.length)null==c||!c.isModified()&&(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)?e():(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)&&null!=c&&c.isModified()?this.confirm(mxResources.get("allChangesLost"),null,e,mxResources.get("cancel"), -mxResources.get("discardChanges")):(window.openFile=new OpenFile(function(){window.openFile=null}),window.openFile.setData(a,b),window.openWindow(this.getUrl(),null,mxUtils.bind(this,function(){null!=c&&c.isModified()?this.confirm(mxResources.get("allChangesLost"),null,e,mxResources.get("cancel"),mxResources.get("discardChanges")):e()})));else throw Error(mxResources.get("notADiagramFile"));};EditorUi.prototype.getBasenames=function(){var a={};if(null!=this.pages)for(var b=0;b<this.pages.length;b++)this.updatePageRoot(this.pages[b]), -this.addBasenamesForCell(this.pages[b].root,a);else this.addBasenamesForCell(this.editor.graph.model.getRoot(),a);var b=[],d;for(d in a)b.push(d);return b};EditorUi.prototype.addBasenamesForCell=function(a,b){function c(a){if(null!=a){var c=a.lastIndexOf(".");0<c&&(a=a.substring(c+1,a.length));null==b[a]&&(b[a]=!0)}}var d=this.editor.graph,e=d.getCellStyle(a);c(mxStencilRegistry.getBasenameForStencil(e[mxConstants.STYLE_SHAPE]));d.model.isEdge(a)&&(c(mxMarker.getPackageForType(e[mxConstants.STYLE_STARTARROW])), -c(mxMarker.getPackageForType(e[mxConstants.STYLE_ENDARROW])));for(var e=d.model.getChildCount(a),f=0;f<e;f++)this.addBasenamesForCell(d.model.getChildAt(a,f),b)};EditorUi.prototype.setGraphEnabled=function(a){this.diagramContainer.style.visibility=a?"":"hidden";this.formatContainer.style.visibility=a?"":"hidden";this.sidebarFooterContainer.style.display=a?"":"none";this.sidebarContainer.style.display=a?"":"none";this.hsplit.style.display=a?"":"none";this.editor.graph.setEnabled(a);null!=this.ruler&& -(this.ruler.hRuler.container.style.visibility=a?"":"hidden",this.ruler.vRuler.container.style.visibility=a?"":"hidden");null!=this.tabContainer&&(this.tabContainer.style.visibility=a?"":"hidden");a||(null!=this.actions.outlineWindow&&this.actions.outlineWindow.window.setVisible(!1),null!=this.actions.layersWindow&&this.actions.layersWindow.window.setVisible(!1),null!=this.menus.tagsWindow&&this.menus.tagsWindow.window.setVisible(!1),null!=this.menus.findWindow&&this.menus.findWindow.window.setVisible(!1))}; -EditorUi.prototype.initializeEmbedMode=function(){this.setGraphEnabled(!1);(window.opener||window.parent)!=window&&("1"!=urlParams.spin||this.spinner.spin(document.body,mxResources.get("loading")))&&this.installMessageHandler(mxUtils.bind(this,function(a,b,d){this.spinner.stop();this.addEmbedButtons();this.setGraphEnabled(!0);null!=a&&0<a.length?(this.setFileData(a),this.editor.isChromelessView()?this.editor.graph.isLightboxView()&&this.lightboxFit():this.showLayersDialog(),this.chromelessResize&& -this.chromelessResize()):(this.editor.graph.model.clear(),this.editor.fireEvent(new mxEventObject("resetGraphView")));this.editor.undoManager.clear();this.editor.modified=null!=d?d:!1;this.updateUi();window.self!==window.top&&window.focus();null!=this.format&&this.format.refresh()}))};EditorUi.prototype.showLayersDialog=function(){1<this.editor.graph.getModel().getChildCount(this.editor.graph.getModel().getRoot())&&(null==this.actions.layersWindow?this.actions.get("layers").funct():this.actions.layersWindow.window.setVisible(!0))}; -EditorUi.prototype.getPublicUrl=function(a,b){null!=a?a.getPublicUrl(b):b(null)};EditorUi.prototype.createLoadMessage=function(a){var b=this.editor.graph;return{event:a,pageVisible:b.pageVisible,translate:b.view.translate,bounds:b.getGraphBounds(),currentPage:this.getSelectedPageIndex(),scale:b.view.scale,page:b.view.getBackgroundPageBounds()}};EditorUi.prototype.installMessageHandler=function(a){var b=null,c=!1,d=!1,f=null,g=mxUtils.bind(this,function(a,b){this.editor.modified&&"0"!=urlParams.modified? -null!=urlParams.modified&&this.editor.setStatus(mxUtils.htmlEntities(mxResources.get(urlParams.modified))):this.editor.setStatus("")});this.editor.graph.model.addListener(mxEvent.CHANGE,g);mxEvent.addListener(window,"message",mxUtils.bind(this,function(e){if(e.source==(window.opener||window.parent)){var g=e.data,k=mxUtils.bind(this,function(a){if(null!=a&&"function"===typeof a.charAt&&"<"!=a.charAt(0))try{"data:image/png;base64,"==a.substring(0,22)?a=this.extractGraphModelFromPng(a):"data:image/svg+xml;base64,"== -a.substring(0,26)?a=atob(a.substring(26)):"data:image/svg+xml;utf8,"==a.substring(0,24)&&(a=a.substring(24)),null!=a&&("%"==a.charAt(0)?a=decodeURIComponent(a):"<"!=a.charAt(0)&&(a=Graph.decompress(a)))}catch(ba){}return a});if("json"==urlParams.proto){try{g=JSON.parse(g)}catch(P){g=null}if(null==g)return;if("dialog"==g.action){this.showError(null!=g.titleKey?mxResources.get(g.titleKey):g.title,null!=g.messageKey?mxResources.get(g.messageKey):g.message,null!=g.buttonKey?mxResources.get(g.buttonKey): -g.button);null!=g.modified&&(this.editor.modified=g.modified);return}if("prompt"==g.action){this.spinner.stop();k=new FilenameDialog(this,g.defaultValue||"",null!=g.okKey?mxResources.get(g.okKey):null,function(a){null!=a&&l.postMessage(JSON.stringify({event:"prompt",value:a,message:g}),"*")},null!=g.titleKey?mxResources.get(g.titleKey):g.title);this.showDialog(k.container,300,80,!0,!1);k.init();return}if("draft"==g.action){var m=k(g.xml);this.spinner.stop();k=new DraftDialog(this,mxResources.get("draftFound", -[g.name||this.defaultFilename]),m,mxUtils.bind(this,function(){this.hideDialog();l.postMessage(JSON.stringify({event:"draft",result:"edit",message:g}),"*")}),mxUtils.bind(this,function(){this.hideDialog();l.postMessage(JSON.stringify({event:"draft",result:"discard",message:g}),"*")}),g.editKey?mxResources.get(g.editKey):null,g.discardKey?mxResources.get(g.discardKey):null,g.ignore?mxUtils.bind(this,function(){this.hideDialog();l.postMessage(JSON.stringify({event:"draft",result:"ignore",message:g}), -"*")}):null);this.showDialog(k.container,640,480,!0,!1,mxUtils.bind(this,function(a){a&&this.actions.get("exit").funct()}));try{k.init()}catch(P){l.postMessage(JSON.stringify({event:"draft",error:P.toString(),message:g}),"*")}return}if("template"==g.action){this.spinner.stop();var k=1==g.enableRecent,m=1==g.enableSearch,n=1==g.enableCustomTemp,k=new NewDialog(this,!1,null!=g.callback,mxUtils.bind(this,function(b,c){b=b||this.emptyDiagramXml;null!=g.callback?l.postMessage(JSON.stringify({event:"template", -xml:b,blank:b==this.emptyDiagramXml,name:c}),"*"):(a(b,e,b!=this.emptyDiagramXml),this.editor.modified||this.editor.setStatus(""))}),null,null,null,null,null,null,null,k?mxUtils.bind(this,function(a){this.remoteInvoke("getRecentDiagrams",null,null,a,function(){a(null,"Network Error!")})}):null,m?mxUtils.bind(this,function(a,b){this.remoteInvoke("searchDiagrams",[a],null,b,function(){b(null,"Network Error!")})}):null,mxUtils.bind(this,function(a,b,c){l.postMessage(JSON.stringify({event:"template", -docUrl:a,info:b,name:c}),"*")}),null,null,n?mxUtils.bind(this,function(a){this.remoteInvoke("getCustomTemplates",null,null,a,function(){a({},0)})}):null);this.showDialog(k.container,620,440,!0,!1,mxUtils.bind(this,function(a){a&&this.actions.get("exit").funct()}));k.init();return}if("textContent"==g.action){k=this.getDiagramTextContent();l.postMessage(JSON.stringify({event:"textContent",data:k,message:g}),"*");return}if("status"==g.action){null!=g.messageKey?this.editor.setStatus(mxUtils.htmlEntities(mxResources.get(g.messageKey))): -null!=g.message&&this.editor.setStatus(mxUtils.htmlEntities(g.message));null!=g.modified&&(this.editor.modified=g.modified);return}if("spinner"==g.action){var p=null!=g.messageKey?mxResources.get(g.messageKey):g.message;null==g.show||g.show?this.spinner.spin(document.body,p):this.spinner.stop();return}if("export"==g.action){if("png"==g.format||"xmlpng"==g.format){if(null==g.spin&&null==g.spinKey||this.spinner.spin(document.body,null!=g.spinKey?mxResources.get(g.spinKey):g.spin)){var u=null!=g.xml? -g.xml:this.getFileData(!0);this.editor.graph.setEnabled(!1);var v=this.editor.graph,z=mxUtils.bind(this,function(a){this.editor.graph.setEnabled(!0);this.spinner.stop();var b=this.createLoadMessage("export");b.format=g.format;b.message=g;b.data=a;b.xml=encodeURIComponent(u);l.postMessage(JSON.stringify(b),"*")}),y=mxUtils.bind(this,function(a){null==a&&(a=Editor.blankImage);"xmlpng"==g.format&&(a=this.writeGraphModelToPng(a,"tEXt","mxfile",encodeURIComponent(u)));v!=this.editor.graph&&v.container.parentNode.removeChild(v.container); -z(a)}),m=g.pageId||(null!=this.pages?this.pages[0].getId():null);if(this.isExportToCanvas()){if(null!=this.pages&&this.currentPage.getId()!=m){for(var A=v.getGlobalVariable,v=this.createTemporaryGraph(v.getStylesheet()),D,k=0;k<this.pages.length;k++)if(this.pages[k].getId()==m){D=this.updatePageRoot(this.pages[k]);break}v.getGlobalVariable=function(a){return"page"==a?D.getName():"pagenumber"==a?1:A.apply(this,arguments)};document.body.appendChild(v.container);v.model.setRoot(D.root)}if(null!=g.layerIds){for(var m= -v.model,n=m.getChildCells(m.getRoot()),B={},k=0;k<g.layerIds.length;k++)B[g.layerIds[k]]=!0;for(k=0;k<n.length;k++)m.setVisible(n[k],B[n[k].id]||!1)}this.exportToCanvas(mxUtils.bind(this,function(a){y(a.toDataURL("image/png"))}),null,null,null,mxUtils.bind(this,function(){y(null)}),null,null,g.scale,null,null,null,v)}else(new mxXmlRequest(EXPORT_URL,"format=png&embedXml="+("xmlpng"==g.format?"1":"0")+(null!=m?"&pageId="+m:"")+(null!=g.layerIds?"&extras="+encodeURIComponent(JSON.stringify({layerIds:g.layerIds})): -"")+(null!=g.scale?"&scale="+g.scale:"")+"&base64=1&xml="+encodeURIComponent(u))).send(mxUtils.bind(this,function(a){200<=a.getStatus()&&299>=a.getStatus()?z("data:image/png;base64,"+a.getText()):y(null)}),mxUtils.bind(this,function(){y(null)}))}}else{null!=g.xml&&0<g.xml.length&&this.setFileData(g.xml);p=this.createLoadMessage("export");if("html2"==g.format||"html"==g.format&&("0"!=urlParams.pages||null!=this.pages&&1<this.pages.length))k=this.getXmlFileData(),p.xml=mxUtils.getXml(k),p.data=this.getFileData(null, -null,!0,null,null,null,k),p.format=g.format;else if("html"==g.format)u=this.editor.getGraphXml(),p.data=this.getHtml(u,this.editor.graph),p.xml=mxUtils.getXml(u),p.format=g.format;else{mxSvgCanvas2D.prototype.foAltText=null;k=this.editor.graph.background;k==mxConstants.NONE&&(k=null);p.xml=this.getFileData(!0,null,null,null,null,null,null,null,null,!1);p.format="svg";if(g.embedImages||null==g.embedImages){if(null==g.spin&&null==g.spinKey||this.spinner.spin(document.body,null!=g.spinKey?mxResources.get(g.spinKey): -g.spin))this.editor.graph.setEnabled(!1),"xmlsvg"==g.format?this.getEmbeddedSvg(p.xml,this.editor.graph,null,!0,mxUtils.bind(this,function(a){this.editor.graph.setEnabled(!0);this.spinner.stop();p.data=this.createSvgDataUri(a);l.postMessage(JSON.stringify(p),"*")})):this.convertImages(this.editor.graph.getSvg(k),mxUtils.bind(this,function(a){this.editor.graph.setEnabled(!0);this.spinner.stop();p.data=this.createSvgDataUri(mxUtils.getXml(a));l.postMessage(JSON.stringify(p),"*")}));return}k="xmlsvg"== -g.format?this.getEmbeddedSvg(this.getFileData(!0),this.editor.graph,null,!0):mxUtils.getXml(this.editor.graph.getSvg(k));p.data=this.createSvgDataUri(k)}l.postMessage(JSON.stringify(p),"*")}return}if("load"==g.action)d=1==g.autosave,this.hideDialog(),null!=g.modified&&null==urlParams.modified&&(urlParams.modified=g.modified),null!=g.saveAndExit&&null==urlParams.saveAndExit&&(urlParams.saveAndExit=g.saveAndExit),null!=g.title&&null!=this.buttonContainer&&(m=document.createElement("span"),mxUtils.write(m, -g.title),"atlas"==uiTheme?(this.buttonContainer.style.paddingRight="12px",this.buttonContainer.style.paddingTop="6px",this.buttonContainer.style.right="25px"):"min"!=uiTheme&&(this.buttonContainer.style.paddingRight="38px",this.buttonContainer.style.paddingTop="6px"),null!=this.embedFilenameSpan&&this.embedFilenameSpan.parentNode.removeChild(this.embedFilenameSpan),this.buttonContainer.appendChild(m),this.embedFilenameSpan=m),g=null!=g.xmlpng?this.extractGraphModelFromPng(g.xmlpng):g.xml;else{"remoteInvokeReady"== -g.action?this.handleRemoteInvokeReady(l):"remoteInvoke"==g.action?this.handleRemoteInvoke(g):"remoteInvokeResponse"==g.action?this.handleRemoteInvokeResponse(g):l.postMessage(JSON.stringify({error:"unknownMessage",data:JSON.stringify(g)}),"*");return}}var O=mxUtils.bind(this,function(e,g){c=!0;try{a(e,g)}catch(G){this.handleError(G)}c=!1;null!=urlParams.modified&&this.editor.setStatus("");var k=mxUtils.bind(this,function(){return"0"!=urlParams.pages||null!=this.pages&&1<this.pages.length?this.getFileData(!0): -mxUtils.getXml(this.editor.getGraphXml())});f=k();d&&null==b&&(b=mxUtils.bind(this,function(a,b){var d=k();if(d!=f&&!c){var e=this.createLoadMessage("autosave");e.xml=d;d=JSON.stringify(e);(window.opener||window.parent).postMessage(d,"*")}f=d}),this.editor.graph.model.addListener(mxEvent.CHANGE,b),this.editor.graph.addListener("gridSizeChanged",b),this.editor.graph.addListener("shadowVisibleChanged",b),this.addListener("pageFormatChanged",b),this.addListener("pageScaleChanged",b),this.addListener("backgroundColorChanged", -b),this.addListener("backgroundImageChanged",b),this.addListener("foldingEnabledChanged",b),this.addListener("mathEnabledChanged",b),this.addListener("gridEnabledChanged",b),this.addListener("guidesEnabledChanged",b),this.addListener("pageViewChanged",b));"1"!=urlParams.returnbounds&&"json"!=urlParams.proto||l.postMessage(JSON.stringify(this.createLoadMessage("load")),"*")});null!=g&&"function"===typeof g.substring&&"data:application/vnd.visio;base64,"==g.substring(0,34)?(k="0M8R4KGxGuE"==g.substring(34, -45)?"raw.vsd":"raw.vsdx",this.importVisio(this.base64ToBlob(g.substring(g.indexOf(",")+1)),function(a){O(a,e)},mxUtils.bind(this,function(a){this.handleError(a)}),k)):null!=g&&"function"===typeof g.substring&&!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(g,"")?this.parseFile(new Blob([g],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){4==a.readyState&&200<=a.status&&299>=a.status&&"<mxGraphModel"==a.responseText.substring(0,13)&&O(a.responseText,e)}),""): -null!=g&&"function"===typeof g.substring&&this.isLucidChartData(g)?this.convertLucidChart(g,mxUtils.bind(this,function(a){O(a)}),mxUtils.bind(this,function(a){this.handleError(a)})):(g=k(g),O(g,e))}}));var l=window.opener||window.parent,g="json"==urlParams.proto?JSON.stringify({event:"init"}):urlParams.ready||"ready";l.postMessage(g,"*")};EditorUi.prototype.addEmbedButtons=function(){if(null!=this.menubar){var a=document.createElement("div");a.style.display="inline-block";a.style.position="absolute"; -a.style.paddingTop="atlas"==uiTheme?"2px":"0px";a.style.paddingLeft="8px";a.style.paddingBottom="2px";var b=document.createElement("button");b.className="geBigButton";"1"==urlParams.noSaveBtn?(mxUtils.write(b,mxResources.get("saveAndExit")),b.setAttribute("title",mxResources.get("saveAndExit")),mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("saveAndExit").funct()})),a.appendChild(b)):(mxUtils.write(b,mxResources.get("save")),b.setAttribute("title",mxResources.get("save")+ -" ("+Editor.ctrlKey+"+S)"),mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("save").funct()})),a.appendChild(b),"1"==urlParams.saveAndExit&&(b=document.createElement("a"),mxUtils.write(b,mxResources.get("saveAndExit")),b.setAttribute("title",mxResources.get("saveAndExit")),b.className="geBigButton geBigStandardButton",b.style.marginLeft="6px",mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("saveAndExit").funct()})),a.appendChild(b)));b=document.createElement("a"); -mxUtils.write(b,mxResources.get("exit"));b.setAttribute("title",mxResources.get("exit"));b.className="geBigButton geBigStandardButton";b.style.marginLeft="6px";b.style.marginRight="20px";mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("exit").funct()}));a.appendChild(b);this.toolbar.container.appendChild(a);this.toolbar.staticElements.push(a);a.style.right="atlas"!=uiTheme?"52px":"42px"}};EditorUi.prototype.showImportCsvDialog=function(){null==this.importCsvDialog&&(this.importCsvDialog= -new TextareaDialog(this,mxResources.get("csv")+":",Editor.defaultCsvValue,mxUtils.bind(this,function(a){this.importCsv(a)}),null,null,620,430,null,!0,!0,mxResources.get("import"),this.isOffline()?null:"https://about.draw.io/import-from-csv-to-drawio/"));this.showDialog(this.importCsvDialog.container,640,520,!0,!0,null,null,null,null,!0);this.importCsvDialog.init()};EditorUi.prototype.executeLayoutList=function(a,b){for(var c=this.editor.graph,d=c.getSelectionCells(),e=0;e<a.length;e++){var f=new window[a[e].layout](c); -if(null!=a[e].config)for(var l in a[e].config)f[l]=a[e].config[l];this.executeLayout(function(){f.execute(c.getDefaultParent(),0==d.length?null:d)},e==a.length-1,b)}};EditorUi.prototype.importCsv=function(a,b){try{var c=a.split("\n"),d=[],e=[],f={};if(0<c.length){var l={},m=null,p=null,v=null,x=null,y=null,t=null,B=null,K=null,Y="",H="auto",Q="auto",D=null,L=null,O=40,P=40,ba=100,W=0,G=this.editor.graph;G.getGraphBounds();for(var Z=function(){null!=b?b(fa):(G.setSelectionCells(fa),G.scrollCellToVisible(G.getSelectionCell()))}, -na=G.getFreeInsertPoint(),ja=na.x,ca=na.y,na=ca,ka=null,S="auto",K=null,V=[],pa=null,ga=null,R=0;R<c.length&&"#"==c[R].charAt(0);){a=c[R];for(R++;R<c.length&&"\\"==a.charAt(a.length-1)&&"#"==c[R].charAt(0);)a=a.substring(0,a.length-1)+mxUtils.trim(c[R].substring(1)),R++;if("#"!=a.charAt(1)){var la=a.indexOf(":");if(0<la){var M=mxUtils.trim(a.substring(1,la)),I=mxUtils.trim(a.substring(la+1));"label"==M?ka=G.sanitizeHtml(I):"labelname"==M&&0<I.length&&"-"!=I?x=I:"labels"==M&&0<I.length&&"-"!=I?y=JSON.parse(I): -"style"==M?m=I:"parentstyle"==M?t=I:"stylename"==M&&0<I.length&&"-"!=I?v=I:"styles"==M&&0<I.length&&"-"!=I?p=JSON.parse(I):"identity"==M&&0<I.length&&"-"!=I?B=I:"parent"==M&&0<I.length&&"-"!=I?K=I:"namespace"==M&&0<I.length&&"-"!=I?Y=I:"width"==M?H=I:"height"==M?Q=I:"left"==M&&0<I.length?D=I:"top"==M&&0<I.length?L=I:"ignore"==M?ga=I.split(","):"connect"==M?V.push(JSON.parse(I)):"link"==M?pa=I:"padding"==M?W=parseFloat(I):"edgespacing"==M?O=parseFloat(I):"nodespacing"==M?P=parseFloat(I):"levelspacing"== -M?ba=parseFloat(I):"layout"==M&&(S=I)}}}if(null==c[R])throw Error(mxResources.get("invalidOrMissingFile"));var ea=this.editor.csvToArray(c[R]),M=la=null;if(null!=B||null!=K)for(var N=0;N<ea.length;N++)B==ea[N]&&(la=N),K==ea[N]&&(M=N);null==ka&&(ka="%"+ea[0]+"%");if(null!=V)for(var T=0;T<V.length;T++)null==l[V[T].to]&&(l[V[T].to]={});G.model.beginUpdate();try{for(N=R+1;N<c.length;N++){var ha=this.editor.csvToArray(c[N]);if(null==ha){var ia=40<c[N].length?c[N].substring(0,40)+"...":c[N];throw Error(N+ -" ("+ia+") "+mxResources.get("containsValidationErrors"));}if(ha.length==ea.length){var J=null,qa=null!=la?Y+ha[la]:null;null!=qa&&(J=G.model.getCell(qa));var B=null!=J,aa=new mxCell(ka,new mxGeometry(ja,na,0,0),m||"whiteSpace=wrap;html=1;");aa.vertex=!0;aa.id=qa;for(var da=0;da<ha.length;da++)G.setAttributeForCell(aa,ea[da],ha[da]);if(null!=x&&null!=y){var Aa=y[aa.getAttribute(x)];null!=Aa&&G.labelChanged(aa,Aa)}if(null!=v&&null!=p){var wa=p[aa.getAttribute(v)];null!=wa&&(aa.style=wa)}G.setAttributeForCell(aa, -"placeholders","1");aa.style=G.replacePlaceholders(aa,aa.style);B&&(G.model.setGeometry(J,aa.geometry),G.model.setStyle(J,aa.style),0>mxUtils.indexOf(e,J)&&e.push(J));J=aa;if(!B)for(T=0;T<V.length;T++)l[V[T].to][J.getAttribute(V[T].to)]=J;null!=pa&&"link"!=pa&&(G.setLinkForCell(J,J.getAttribute(pa)),G.setAttributeForCell(J,pa,null));G.fireEvent(new mxEventObject("cellsInserted","cells",[J]));var za=this.editor.graph.getPreferredSizeForCell(J);J.vertex&&(null!=D&&null!=J.getAttribute(D)&&(J.geometry.x= -ja+parseFloat(J.getAttribute(D))),null!=L&&null!=J.getAttribute(L)&&(J.geometry.y=ca+parseFloat(J.getAttribute(L))),"@"==H.charAt(0)&&null!=J.getAttribute(H.substring(1))?J.geometry.width=parseFloat(J.getAttribute(H.substring(1))):J.geometry.width="auto"==H?za.width+W:parseFloat(H),"@"==Q.charAt(0)&&null!=J.getAttribute(Q.substring(1))?J.geometry.height=parseFloat(J.getAttribute(Q.substring(1))):J.geometry.height="auto"==Q?za.height+W:parseFloat(Q),na+=J.geometry.height+P);B?(null==f[qa]&&(f[qa]= -[]),f[qa].push(J)):(K=null!=M?G.model.getCell(Y+ha[M]):null,d.push(J),null!=K?(K.style=G.replacePlaceholders(K,t),G.addCell(J,K)):e.push(G.addCell(J)))}}for(var ma=e.slice(),fa=e.slice(),T=0;T<V.length;T++)for(var sa=V[T],N=0;N<e.length;N++){var J=e[N],Ea=mxUtils.bind(this,function(a,b,c){var d=b.getAttribute(c.from);if(null!=d){G.setAttributeForCell(b,c.from,null);for(var d=d.split(","),e=0;e<d.length;e++){var f=l[c.to][d[e]];if(null!=f){var g=c.label;null!=c.fromlabel&&(g=(b.getAttribute(c.fromlabel)|| -"")+(g||""));null!=c.tolabel&&(g=(g||"")+(f.getAttribute(c.tolabel)||""));fa.push(G.insertEdge(null,null,g||"",c.invert?f:a,c.invert?a:f,c.style||G.createCurrentEdgeStyle()));mxUtils.remove(c.invert?a:f,ma)}}}});Ea(J,J,sa);if(null!=f[J.id])for(da=0;da<f[J.id].length;da++)Ea(J,f[J.id][da],sa)}if(null!=ga)for(N=0;N<d.length;N++)for(J=d[N],da=0;da<ga.length;da++)G.setAttributeForCell(J,mxUtils.trim(ga[da]),null);if(0<e.length){var ta=new mxParallelEdgeLayout(G);ta.spacing=O;var oa=function(){0<ta.spacing&& -ta.execute(G.getDefaultParent());for(var a=0;a<e.length;a++){var b=G.getCellGeometry(e[a]);b.x=Math.round(G.snap(b.x));b.y=Math.round(G.snap(b.y));"auto"==H&&(b.width=Math.round(G.snap(b.width)));"auto"==Q&&(b.height=Math.round(G.snap(b.height)))}};if("["==S.charAt(0)){var Ka=Z;G.view.validate();this.executeLayoutList(JSON.parse(S),function(){oa();Ka()});Z=null}else if("circle"==S){var Ba=new mxCircleLayout(G);Ba.resetEdges=!1;var La=Ba.isVertexIgnored;Ba.isVertexIgnored=function(a){return La.apply(this, -arguments)||0>mxUtils.indexOf(e,a)};this.executeLayout(function(){Ba.execute(G.getDefaultParent());oa()},!0,Z);Z=null}else if("horizontaltree"==S||"verticaltree"==S||"auto"==S&&fa.length==2*e.length-1&&1==ma.length){G.view.validate();var Ca=new mxCompactTreeLayout(G,"horizontaltree"==S);Ca.levelDistance=P;Ca.edgeRouting=!1;Ca.resetEdges=!1;this.executeLayout(function(){Ca.execute(G.getDefaultParent(),0<ma.length?ma[0]:null)},!0,Z);Z=null}else if("horizontalflow"==S||"verticalflow"==S||"auto"==S&& -1==ma.length){G.view.validate();var xa=new mxHierarchicalLayout(G,"horizontalflow"==S?mxConstants.DIRECTION_WEST:mxConstants.DIRECTION_NORTH);xa.intraCellSpacing=P;xa.parallelEdgeSpacing=O;xa.interRankCellSpacing=ba;xa.disableEdgeStyle=!1;this.executeLayout(function(){xa.execute(G.getDefaultParent(),fa);G.moveCells(fa,ja,ca)},!0,Z);Z=null}else if("organic"==S||"auto"==S&&fa.length>e.length){G.view.validate();var ua=new mxFastOrganicLayout(G);ua.forceConstant=3*P;ua.resetEdges=!1;var Fa=ua.isVertexIgnored; -ua.isVertexIgnored=function(a){return Fa.apply(this,arguments)||0>mxUtils.indexOf(e,a)};ta=new mxParallelEdgeLayout(G);ta.spacing=O;this.executeLayout(function(){ua.execute(G.getDefaultParent());oa()},!0,Z);Z=null}}this.hideDialog()}finally{G.model.endUpdate()}null!=Z&&Z()}}catch(ya){this.handleError(ya)}};EditorUi.prototype.getSearch=function(a){var b="";if("1"!=urlParams.offline&&"1"!=urlParams.demo&&null!=a&&0<window.location.search.length){var c="?",d;for(d in urlParams)0>mxUtils.indexOf(a,d)&& -null!=urlParams[d]&&(b+=c+d+"="+urlParams[d],c="&")}else b=window.location.search;return b};EditorUi.prototype.getUrl=function(a){a=null!=a?a:window.location.pathname;var b=0<a.indexOf("?")?1:0;if("1"==urlParams.offline)a+=window.location.search;else{var c="tmp libs clibs state fileId code share notitle data url embed client create title splash".split(" "),d;for(d in urlParams)0>mxUtils.indexOf(c,d)&&(a=0==b?a+"?":a+"&",null!=urlParams[d]&&(a+=d+"="+urlParams[d],b++))}return a};EditorUi.prototype.showLinkDialog= -function(a,b,d){a=new LinkDialog(this,a,b,d,!0);this.showDialog(a.container,560,130,!0,!0);a.init()};var v=EditorUi.prototype.createOutline;EditorUi.prototype.createOutline=function(a){var b=v.apply(this,arguments),c=this.editor.graph,d=b.getSourceGraphBounds;b.getSourceGraphBounds=function(){if(mxUtils.hasScrollbars(c.container)&&c.pageVisible&&null!=this.source.minimumGraphSize){var a=this.source.getPagePadding(),b=this.source.view.scale;return new mxRectangle(0,0,Math.ceil(this.source.minimumGraphSize.width- -2*a.x/b),Math.ceil(this.source.minimumGraphSize.height-2*a.y/b))}return d.apply(this,arguments)};var f=b.getSourceContainerSize;b.getSourceContainerSize=function(){if(mxUtils.hasScrollbars(c.container)&&null!=this.source.minimumGraphSize){var a=this.source.getPagePadding(),b=this.source.view.scale;return new mxRectangle(0,0,Math.ceil(this.source.minimumGraphSize.width*b-2*a.x),Math.ceil(this.source.minimumGraphSize.height*b-2*a.y))}return f.apply(this,arguments)};b.getOutlineOffset=function(a){if(mxUtils.hasScrollbars(c.container)&& -null!=this.source.minimumGraphSize){var d=this.source.getPagePadding();return new mxPoint(Math.round(Math.max(0,(b.outline.container.clientWidth/a-(this.source.minimumGraphSize.width-2*d.x))/2)-d.x),Math.round(Math.max(0,(b.outline.container.clientHeight/a-(this.source.minimumGraphSize.height-2*d.y))/2)-d.y-5/a))}return new mxPoint(8/a,8/a)};var g=b.init;b.init=function(){g.apply(this,arguments);b.outline.view.getBackgroundPageBounds=function(){var a=c.getPageLayout(),b=c.getPageSize();return new mxRectangle(this.scale* -(this.translate.x+a.x*b.width),this.scale*(this.translate.y+a.y*b.height),this.scale*a.width*b.width,this.scale*a.height*b.height)};b.outline.view.validateBackgroundPage()};this.editor.addListener("pageSelected",function(a,c){var d=c.getProperty("change"),e=b.source,f=b.outline;f.pageScale=e.pageScale;f.pageFormat=e.pageFormat;f.background=e.background;f.pageVisible=e.pageVisible;f.background=e.background;var g=mxUtils.getCurrentStyle(e.container);f.container.style.backgroundColor=g.backgroundColor; -null!=e.view.backgroundPageShape&&null!=f.view.backgroundPageShape&&(f.view.backgroundPageShape.fill=e.view.backgroundPageShape.fill);b.outline.view.clear(d.previousPage.root,!0);b.outline.view.validate()});return b};EditorUi.prototype.getServiceCount=function(a,b){var c=1;null==this.drive&&"function"!==typeof window.DriveClient||c++;b||null==this.dropbox&&"function"!==typeof window.DropboxClient||c++;null==this.oneDrive&&"function"!==typeof window.OneDriveClient||c++;b||null==this.gitHub||c++;b|| -null==this.gitLab||c++;b&&a&&isLocalStorage&&"1"==urlParams.browser&&c++;return c};EditorUi.prototype.updateUi=function(){this.updateButtonContainer();this.updateActionStates();var a=this.getCurrentFile(),b=null!=a||"1"==urlParams.embed&&this.editor.graph.isEnabled();this.menus.get("viewPanels").setEnabled(b);this.menus.get("viewZoom").setEnabled(b);var d=("1"!=urlParams.embed||!this.editor.graph.isEnabled())&&(null==a||a.isRestricted());this.actions.get("makeCopy").setEnabled(!d);this.actions.get("print").setEnabled(!d); -this.menus.get("exportAs").setEnabled(!d);this.menus.get("embed").setEnabled(!d);d="1"!=urlParams.embed||this.editor.graph.isEnabled();this.menus.get("extras").setEnabled(d);Editor.enableCustomLibraries&&(this.menus.get("openLibraryFrom").setEnabled(d),this.menus.get("newLibrary").setEnabled(d));a="1"==urlParams.embed&&this.editor.graph.isEnabled()||null!=a&&a.isEditable();this.actions.get("image").setEnabled(b);this.actions.get("zoomIn").setEnabled(b);this.actions.get("zoomOut").setEnabled(b);this.actions.get("resetView").setEnabled(b); -this.actions.get("undo").setEnabled(this.canUndo()&&a);this.actions.get("redo").setEnabled(this.canRedo()&&a);this.menus.get("edit").setEnabled(b);this.menus.get("view").setEnabled(b);this.menus.get("importFrom").setEnabled(a);this.menus.get("arrange").setEnabled(a);null!=this.toolbar&&(null!=this.toolbar.edgeShapeMenu&&this.toolbar.edgeShapeMenu.setEnabled(a),null!=this.toolbar.edgeStyleMenu&&this.toolbar.edgeStyleMenu.setEnabled(a));if(this.isAppCache()){var f=applicationCache;if(null!=f&&null== -this.offlineStatus){this.offlineStatus=document.createElement("div");this.offlineStatus.className="geItem";this.offlineStatus.style.position="absolute";this.offlineStatus.style.fontSize="8pt";this.offlineStatus.style.top="2px";this.offlineStatus.style.right="12px";this.offlineStatus.style.color="#666";this.offlineStatus.style.margin="4px";this.offlineStatus.style.padding="2px";this.offlineStatus.style.verticalAlign="middle";this.offlineStatus.innerHTML="";this.menubarContainer.appendChild(this.offlineStatus); -mxEvent.addListener(this.offlineStatus,"click",mxUtils.bind(this,function(){var a=this.offlineStatus.getElementsByTagName("img");null!=a&&0<a.length&&this.alert(a[0].getAttribute("title"))}));var f=window.applicationCache,l=null,b=mxUtils.bind(this,function(){var a=f.status,b;a==f.CHECKING&&(a=f.DOWNLOADING);switch(a){case f.UNCACHED:b="";break;case f.IDLE:b="min"==uiTheme?"":'<img title="draw.io is up to date." border="0" src="'+IMAGE_PATH+'/checkmark.gif"/>';break;case f.DOWNLOADING:b='<img title="Downloading new version..." border="0" src="'+ -IMAGE_PATH+'/spin.gif"/>';break;case f.UPDATEREADY:b='<img title="'+mxUtils.htmlEntities(mxResources.get("restartForChangeRequired"))+'" border="0" src="'+IMAGE_PATH+'/download.png"/>';break;case f.OBSOLETE:b='<img title="Obsolete" border="0" src="'+IMAGE_PATH+'/clear.gif"/>';break;default:b='<img title="Unknown" border="0" src="'+IMAGE_PATH+'/clear.gif"/>'}a!=l&&(this.offlineStatus.innerHTML=b,l=a)});mxEvent.addListener(f,"checking",b);mxEvent.addListener(f,"noupdate",b);mxEvent.addListener(f,"downloading", -b);mxEvent.addListener(f,"progress",b);mxEvent.addListener(f,"cached",b);mxEvent.addListener(f,"updateready",b);mxEvent.addListener(f,"obsolete",b);mxEvent.addListener(f,"error",b);b()}}else this.updateUserElement()};EditorUi.prototype.updateButtonContainer=function(){};EditorUi.prototype.updateUserElement=function(){};EditorUi.prototype.scheduleSanityCheck=function(){};EditorUi.prototype.stopSanityCheck=function(){};EditorUi.prototype.isDiagramActive=function(){var a=this.getCurrentFile();return null!= -a&&a.isEditable()||"1"==urlParams.embed&&this.editor.graph.isEnabled()};var y=EditorUi.prototype.updateActionStates;EditorUi.prototype.updateActionStates=function(){y.apply(this,arguments);var a=this.editor.graph,b=this.isDiagramActive(),d=this.getCurrentFile();this.actions.get("pageSetup").setEnabled(b);this.actions.get("autosave").setEnabled(null!=d&&d.isEditable()&&d.isAutosaveOptional());this.actions.get("guides").setEnabled(b);this.actions.get("editData").setEnabled(b);this.actions.get("shadowVisible").setEnabled(b); -this.actions.get("connectionArrows").setEnabled(b);this.actions.get("connectionPoints").setEnabled(b);this.actions.get("copyStyle").setEnabled(b&&!a.isSelectionEmpty());this.actions.get("pasteStyle").setEnabled(b&&!a.isSelectionEmpty());this.actions.get("editGeometry").setEnabled(a.getModel().isVertex(a.getSelectionCell()));this.actions.get("createShape").setEnabled(b);this.actions.get("createRevision").setEnabled(b);this.actions.get("moveToFolder").setEnabled(null!=d);this.actions.get("makeCopy").setEnabled(null!= -d&&!d.isRestricted());this.actions.get("editDiagram").setEnabled(b&&(null==d||!d.isRestricted()));this.actions.get("publishLink").setEnabled(null!=d&&!d.isRestricted());this.actions.get("tags").setEnabled("hidden"!=this.diagramContainer.style.visibility);this.actions.get("find").setEnabled("hidden"!=this.diagramContainer.style.visibility);this.actions.get("layers").setEnabled("hidden"!=this.diagramContainer.style.visibility);this.actions.get("outline").setEnabled("hidden"!=this.diagramContainer.style.visibility); -this.actions.get("rename").setEnabled(null!=d&&d.isRenamable()||"1"==urlParams.embed);this.actions.get("close").setEnabled(null!=d);this.menus.get("publish").setEnabled(null!=d&&!d.isRestricted());a=a.view.getState(a.getSelectionCell());this.actions.get("editShape").setEnabled(b&&null!=a&&null!=a.shape&&null!=a.shape.stencil)};var B=EditorUi.prototype.destroy;EditorUi.prototype.destroy=function(){this.editUpdateListener&&(this.editor.undoManager.removeListener(this.editUpdateListener),this.editUpdateListener= -null);null!=this.exportDialog&&(this.exportDialog.parentNode.removeChild(this.exportDialog),this.exportDialog=null);B.apply(this,arguments)};null!=window.ExportDialog&&(ExportDialog.showXmlOption=!1,ExportDialog.showGifOption=!1,ExportDialog.exportFile=function(a,b,d,f,l,g,m){var c=a.editor.graph;if("xml"==d)a.hideDialog(),a.saveData(b,"xml",mxUtils.getXml(a.editor.getGraphXml()),"text/xml");else if("svg"==d)a.hideDialog(),a.saveData(b,"svg",mxUtils.getXml(c.getSvg(f,l,g)),"image/svg+xml");else{var e= -a.getFileData(!0,null,null,null,null,!0),k=c.getGraphBounds(),n=Math.floor(k.width*l/c.view.scale),p=Math.floor(k.height*l/c.view.scale);if(e.length<=MAX_REQUEST_SIZE&&n*p<MAX_AREA)if(a.hideDialog(),"png"!=d&&"jpg"!=d&&"jpeg"!=d||!a.isExportToCanvas()){var t={globalVars:c.getExportVariables()};a.saveRequest(b,d,function(a,b){return new mxXmlRequest(EXPORT_URL,"format="+d+"&base64="+(b||"0")+(null!=a?"&filename="+encodeURIComponent(a):"")+"&extras="+encodeURIComponent(JSON.stringify(t))+(0<m?"&dpi="+ -m:"")+"&bg="+(null!=f?f:"none")+"&w="+n+"&h="+p+"&border="+g+"&xml="+encodeURIComponent(e))})}else"png"==d?a.exportImage(l,null==f||"none"==f,!0,!1,!1,g,!0,!1,null,null,m):a.exportImage(l,!1,!0,!1,!1,g,!0,!1,"jpeg");else mxUtils.alert(mxResources.get("drawingTooLarge"))}});EditorUi.prototype.updateEditReferences=function(a){for(var b=0;b<a.changes.length;b++){var c=a.changes[b];if(null!=c&&c.constructor==mxChildChange&&null!=c.child){var d=c.child;if(null!=d.source&&null!=d.source.id){var f=this.getFutureCellForEdit(c.model, -a,d.source.id);f!=d.source&&(d.source=f)}null!=d.target&&null!=d.target.id&&(c=this.getFutureCellForEdit(c.model,a,d.target.id),c!=d.target&&(d.target=c))}}};EditorUi.prototype.getFutureCellForEdit=function(a,b,d){var c=a.getCell(d);if(null==c)for(var e=b.changes.length-1;0<=e;e--){var f=b.changes[e];if(f.constructor==mxChildChange&&null!=f.child&&f.child.id==d){a.contains(f.previous)&&(c=f.child);break}}return c};EditorUi.prototype.getDiagramTextContent=function(){this.editor.graph.setEnabled(!1); -var a=this.editor.graph,b="";if(null!=this.pages)for(var d=0;d<this.pages.length;d++){var f=a;this.currentPage!=this.pages[d]&&(f=this.createTemporaryGraph(a.getStylesheet()),f.model.setRoot(this.pages[d].root));b+=this.pages[d].getName()+" "+f.getIndexableText()+" "}else b=a.getIndexableText();this.editor.graph.setEnabled(!0);return b};EditorUi.prototype.showRemotelyStoredLibrary=function(a){var b={},c=document.createElement("div");c.style.whiteSpace="nowrap";var d=document.createElement("h3");mxUtils.write(d, -mxUtils.htmlEntities(a));d.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";c.appendChild(d);var f=document.createElement("div");f.style.cssText="border:1px solid lightGray;overflow: auto;height:300px";f.innerHTML='<div style="text-align:center;padding:8px;"><img src="/images/spin.gif"></div>';var g={};try{var l=mxSettings.getCustomLibraries();for(a=0;a<l.length;a++){var m=l[a];if("R"==m.substring(0,1)){var p=JSON.parse(decodeURIComponent(m.substring(1)));g[p[0]]={id:p[0], -title:p[1],downloadUrl:p[2]}}}}catch(F){}this.remoteInvoke("getCustomLibraries",null,null,function(a){f.innerHTML="";if(0==a.length)f.innerHTML='<div style="text-align:center;padding-top:20px;color:gray;">'+mxUtils.htmlEntities(mxResources.get("noLibraries"))+"</div>";else for(var c=0;c<a.length;c++){var d=a[c];g[d.id]&&(b[d.id]=d);var e=this.addCheckbox(f,d.title,g[d.id]);(function(a,c){mxEvent.addListener(c,"change",function(){this.checked?b[a.id]=a:delete b[a.id]})})(d,e)}},mxUtils.bind(this,function(a){f.innerHTML= -"";var b=document.createElement("div");b.style.padding="8px";b.style.textAlign="center";mxUtils.write(b,mxResources.get("error")+": ");mxUtils.write(b,null!=a&&null!=a.message?a.message:mxResources.get("unknownError"));f.appendChild(b)}));c.appendChild(f);c=new CustomDialog(this,c,mxUtils.bind(this,function(){this.spinner.spin(document.body,mxResources.get("loading"));var a=0,c;for(c in b)null==g[c]&&(a++,mxUtils.bind(this,function(b){this.remoteInvoke("getFileContent",[b.downloadUrl],null,mxUtils.bind(this, -function(c){a--;0==a&&this.spinner.stop();try{this.loadLibrary(new RemoteLibrary(this,c,b))}catch(C){this.handleError(C,mxResources.get("errorLoadingFile"))}}),mxUtils.bind(this,function(){a--;0==a&&this.spinner.stop();this.handleError(null,mxResources.get("errorLoadingFile"))}))})(b[c]));for(c in g)b[c]||this.closeLibrary(new RemoteLibrary(this,null,g[c]));0==a&&this.spinner.stop()}),null,null,"https://desk.draw.io/support/solutions/articles/16000092763");this.showDialog(c.container,340,375,!0,!0, -null,null,null,null,!0)};EditorUi.prototype.remoteInvokableFns={getDiagramTextContent:{isAsync:!1}};EditorUi.prototype.remoteInvokeCallbacks=[];EditorUi.prototype.remoteInvokeQueue=[];EditorUi.prototype.handleRemoteInvokeReady=function(a){this.remoteWin=a;for(var b=0;b<this.remoteInvokeQueue.length;b++)a.postMessage(this.remoteInvokeQueue[b],"*");this.remoteInvokeQueue=[]};EditorUi.prototype.handleRemoteInvokeResponse=function(a){var b=a.msgMarkers,c=this.remoteInvokeCallbacks[b.callbackId];a.error? -c.error&&c.error(a.error.errResp):c.callback&&c.callback.apply(this,a.resp);this.remoteInvokeCallbacks[b.callbackId]=null};EditorUi.prototype.remoteInvoke=function(a,b,d,f,l){var c=!0,e=window.setTimeout(mxUtils.bind(this,function(){c=!1;l({code:App.ERROR_TIMEOUT,message:mxResources.get("timeout")})}),this.timeout),k=mxUtils.bind(this,function(){window.clearTimeout(e);c&&f.apply(this,arguments)});d=d||{};d.callbackId=this.remoteInvokeCallbacks.length;this.remoteInvokeCallbacks.push({callback:k,error:l}); -a=JSON.stringify({event:"remoteInvoke",funtionName:a,functionArgs:b,msgMarkers:d});null!=this.remoteWin?this.remoteWin.postMessage(a,"*"):this.remoteInvokeQueue.push(a)};EditorUi.prototype.handleRemoteInvoke=function(a){var b=mxUtils.bind(this,function(b,c){var d={event:"remoteInvokeResponse",msgMarkers:a.msgMarkers};null!=c?d.error={errResp:c}:null!=b&&(d.resp=b);this.remoteWin.postMessage(JSON.stringify(d),"*")});try{var c=a.funtionName,d=this.remoteInvokableFns[c];if(null!=d&&"function"===typeof this[c]){var f= -a.functionArgs;Array.isArray(f)||(f=[]);if(d.isAsync)f.push(function(){b(Array.prototype.slice.apply(arguments))}),f.push(function(a){b(null,a||"Unkown Error")}),this[c].apply(this,f);else{var g=this[c].apply(this,f);b([g])}}else b(null,"Invalid Call: "+c+" is not found.")}catch(z){b(null,"Invalid Call: An error occured, "+z.message)}};EditorUi.prototype.commentsSupported=function(){var a=this.getCurrentFile();return null!=a?a.commentsSupported():!1};EditorUi.prototype.commentsRefreshNeeded=function(){var a= -this.getCurrentFile();return null!=a?a.commentsRefreshNeeded():!0};EditorUi.prototype.commentsSaveNeeded=function(){var a=this.getCurrentFile();return null!=a?a.commentsSaveNeeded():!1};EditorUi.prototype.getComments=function(a,b){var c=this.getCurrentFile();null!=c?c.getComments(a,b):a([])};EditorUi.prototype.addComment=function(a,b,d){var c=this.getCurrentFile();null!=c?c.addComment(a,b,d):b(Date.now())};EditorUi.prototype.canReplyToReplies=function(){var a=this.getCurrentFile();return null!=a? -a.canReplyToReplies():!0};EditorUi.prototype.canComment=function(){var a=this.getCurrentFile();return null!=a?a.canComment():!0};EditorUi.prototype.newComment=function(a,b){var c=this.getCurrentFile();return null!=c?c.newComment(a,b):new DrawioComment(this,null,a,Date.now(),Date.now(),!1,b)};EditorUi.prototype.isRevisionHistorySupported=function(){var a=this.getCurrentFile();return null!=a&&a.isRevisionHistorySupported()};EditorUi.prototype.getRevisions=function(a,b){var c=this.getCurrentFile();null!= -c&&c.getRevisions?c.getRevisions(a,b):b({message:mxResources.get("unknownError")})};EditorUi.prototype.isRevisionHistoryEnabled=function(){var a=this.getCurrentFile();return null!=a&&(a.constructor==DriveFile&&a.isEditable()||a.constructor==DropboxFile)};EditorUi.prototype.getServiceName=function(){return"draw.io"};EditorUi.prototype.addRemoteServiceSecurityCheck=function(a){a.setRequestHeader("Content-Language","da, mi, en, de-DE")}})(); +f,g,!0))})):0<=mxUtils.indexOf(a.dataTransfer.types,"text/plain")&&b.setSelectionCells(this.insertTextAt(a.dataTransfer.getData("text/plain"),f,g,!0))}}a.stopPropagation();a.preventDefault()}),!1)}this.initPages();"1"==urlParams.embed&&this.initializeEmbedMode();this.installSettings()};EditorUi.prototype.installImagePasteHandler=function(){if(!mxClient.IS_IE){var a=this.editor.graph;a.container.addEventListener("paste",mxUtils.bind(this,function(b){if(!mxEvent.isConsumed(b))try{for(var c=b.clipboardData|| +b.originalEvent.clipboardData,d=!1,e=0;e<c.types.length;e++)if("text/"===c.types[e].substring(0,5)){d=!0;break}if(!d){var f=c.items;for(index in f){var l=f[index];if("file"===l.kind){if(a.isEditing())this.importFiles([l.getAsFile()],0,0,this.maxImageSize,function(b,c,d,e,f,g){a.insertImage(b,f,g)},function(){},function(a){return"image/"==a.type.substring(0,6)},function(a){for(var b=0;b<a.length;b++)a[b]()});else{var m=this.editor.graph.getInsertPoint();this.importFiles([l.getAsFile()],m.x,m.y,this.maxImageSize); +mxEvent.consume(b)}break}}}}catch(q){}}),!1)}};EditorUi.prototype.installNativeClipboardHandler=function(){function a(){window.setTimeout(function(){d.innerHTML=" ";d.focus();document.execCommand("selectAll",!1,null)},0)}var b=this.editor.graph,d=document.createElement("div");d.setAttribute("autocomplete","off");d.setAttribute("autocorrect","off");d.setAttribute("autocapitalize","off");d.setAttribute("spellcheck","false");d.style.textRendering="optimizeSpeed";d.style.fontFamily="monospace";d.style.wordBreak= +"break-all";d.style.background="transparent";d.style.color="transparent";d.style.position="absolute";d.style.whiteSpace="nowrap";d.style.overflow="hidden";d.style.display="block";d.style.fontSize="1";d.style.zIndex="-1";d.style.resize="none";d.style.outline="none";d.style.width="1px";d.style.height="1px";mxUtils.setOpacity(d,0);d.contentEditable=!0;d.innerHTML=" ";var f=!1;this.keyHandler.bindControlKey(88,null);this.keyHandler.bindControlKey(67,null);this.keyHandler.bindControlKey(86,null); +mxEvent.addListener(document,"keydown",mxUtils.bind(this,function(a){var c=mxEvent.getSource(a);null==b.container||!b.isEnabled()||b.isMouseDown||b.isEditing()||null!=this.dialog||"INPUT"==c.nodeName||"TEXTAREA"==c.nodeName||!(224==a.keyCode||!mxClient.IS_MAC&&17==a.keyCode||mxClient.IS_MAC&&91==a.keyCode)||f||(d.style.left=b.container.scrollLeft+10+"px",d.style.top=b.container.scrollTop+10+"px",b.container.appendChild(d),f=!0,mxClient.IS_QUIRKS?window.setTimeout(function(){d.focus();document.execCommand("selectAll", +!1,null)},0):(d.focus(),document.execCommand("selectAll",!1,null)))}));mxEvent.addListener(document,"keyup",mxUtils.bind(this,function(a){var c=a.keyCode;window.setTimeout(mxUtils.bind(this,function(){!f||224!=c&&17!=c&&91!=c||(f=!1,b.isEditing()||null!=this.dialog||null==b.container||b.container.focus(),d.parentNode.removeChild(d),null==this.dialog&&mxUtils.clearSelection())}),0)}));mxEvent.addListener(d,"copy",mxUtils.bind(this,function(c){if(b.isEnabled())try{mxClipboard.copy(b),this.copyCells(d), +a()}catch(y){this.handleError(y)}}));mxEvent.addListener(d,"cut",mxUtils.bind(this,function(c){if(b.isEnabled())try{mxClipboard.copy(b),this.copyCells(d,!0),a()}catch(y){this.handleError(y)}}));mxEvent.addListener(d,"paste",mxUtils.bind(this,function(a){b.isEnabled()&&!b.isCellLocked(b.getDefaultParent())&&((new Date).getTime(),d.innerHTML=" ",d.focus(),null!=a.clipboardData&&this.pasteCells(a,d,!0),mxEvent.isConsumed(a)||window.setTimeout(mxUtils.bind(this,function(){this.pasteCells(a,d,!1)}), +0))}),!0);var l=this.isSelectionAllowed;this.isSelectionAllowed=function(a){return mxEvent.getSource(a)==d?!0:l.apply(this,arguments)}};EditorUi.prototype.getLinkTitle=function(a){var b=Graph.prototype.getLinkTitle.apply(this,arguments);if("data:page/id,"==a.substring(0,13)){var c=a.indexOf(",");0<c&&(b=this.getPageById(a.substring(c+1)),b=null!=b?b.getName():mxResources.get("pageNotFound"))}else"data:"==a.substring(0,5)&&(b=mxResources.get("action"));return b};EditorUi.prototype.handleCustomLink= +function(a){if("data:page/id,"==a.substring(0,13)){var b=a.indexOf(",");if(a=this.getPageById(a.substring(b+1)))this.selectPage(a);else throw Error(mxResources.get("pageNotFound")||"Page not found");}else this.editor.graph.handleCustomLink(a)};EditorUi.prototype.isSettingsEnabled=function(){return"undefined"!==typeof window.mxSettings&&(isLocalStorage||mxClient.IS_CHROMEAPP)};EditorUi.prototype.installSettings=function(){if(this.isSettingsEnabled()){ColorDialog.recentColors=mxSettings.getRecentColors(); +if(isLocalStorage)try{window.addEventListener("storage",mxUtils.bind(this,function(a){a.key==mxSettings.key&&(mxSettings.load(),ColorDialog.recentColors=mxSettings.getRecentColors(),this.menus.customFonts=mxSettings.getCustomFonts())}),!1)}catch(c){}this.fireEvent(new mxEventObject("styleChanged","keys",[],"values",[],"cells",[]));this.menus.customFonts=mxSettings.getCustomFonts();this.addListener("customFontsChanged",mxUtils.bind(this,function(a,b){mxSettings.setCustomFonts(this.menus.customFonts); +mxSettings.save()}));this.editor.graph.connectionHandler.setCreateTarget(mxSettings.isCreateTarget());this.fireEvent(new mxEventObject("copyConnectChanged"));this.addListener("copyConnectChanged",mxUtils.bind(this,function(a,b){mxSettings.setCreateTarget(this.editor.graph.connectionHandler.isCreateTarget());mxSettings.save()}));this.editor.graph.pageFormat=mxSettings.getPageFormat();this.addListener("pageFormatChanged",mxUtils.bind(this,function(a,b){mxSettings.setPageFormat(this.editor.graph.pageFormat); +mxSettings.save()}));this.editor.graph.view.gridColor=mxSettings.getGridColor("dark"==uiTheme);this.addListener("gridColorChanged",mxUtils.bind(this,function(a,b){console.log("gridColorChanged",this.editor.graph.view.gridColor);mxSettings.setGridColor(this.editor.graph.view.gridColor,"dark"==uiTheme);mxSettings.save()}));if(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)this.editor.addListener("autosaveChanged",mxUtils.bind(this,function(a,b){mxSettings.setAutosave(this.editor.autosave);mxSettings.save()})), +this.editor.autosave=mxSettings.getAutosave();null!=this.sidebar&&this.sidebar.showPalette("search",mxSettings.settings.search);this.editor.chromeless&&!this.editor.editable||null==this.sidebar||!(mxSettings.settings.isNew||8>=parseInt(mxSettings.settings.version||0))||(this.toggleScratchpad(),mxSettings.save());this.addListener("formatWidthChanged",function(){mxSettings.setFormatWidth(this.formatWidth);mxSettings.save()})}};EditorUi.prototype.copyCells=function(a,b){var c=this.editor.graph;if(c.isSelectionEmpty())a.innerHTML= +"";else{var d=mxUtils.sortCells(c.model.getTopmostCells(c.getSelectionCells())),e=mxUtils.getXml(c.encodeCells(d));mxUtils.setTextContent(a,encodeURIComponent(e));b?(c.removeCells(d,!1),c.lastPasteXml=null):(c.lastPasteXml=e,c.pasteCounter=0);a.focus();document.execCommand("selectAll",!1,null)}};EditorUi.prototype.pasteCells=function(a,b,d){if(!mxEvent.isConsumed(a)){var c=b;d&&null!=a.clipboardData&&(c=document.createElement("div"),c.innerHTML=a.clipboardData.getData("text/html"));var e=c.getElementsByTagName("span"); +if(null!=e&&0<e.length&&"application/vnd.lucid.chart.objects"===e[0].getAttribute("data-lucid-type")){var f=e[0].getAttribute("data-lucid-content");null!=f&&0<f.length&&(this.convertLucidChart(f,mxUtils.bind(this,function(a){var b=this.editor.graph;b.lastPasteXml==a?b.pasteCounter++:(b.lastPasteXml=a,b.pasteCounter=0);var c=b.pasteCounter*b.gridSize;b.setSelectionCells(this.importXml(a,c,c));b.scrollCellToVisible(b.getSelectionCell())}),mxUtils.bind(this,function(a){this.handleError(a)})),mxEvent.consume(a))}else{var f= +mxUtils.trim(mxClient.IS_QUIRKS||8==document.documentMode?mxUtils.getTextContent(c):c.textContent),k=!1;try{var l=f.lastIndexOf("%3E");0<=l&&l<f.length-3&&(f=f.substring(0,l+3))}catch(F){}try{var e=c.getElementsByTagName("span"),m=null!=e&&0<e.length?mxUtils.trim(decodeURIComponent(e[0].textContent)):decodeURIComponent(f);this.isCompatibleString(m)&&(k=!0,f=m)}catch(F){}c=this.editor.graph;if(null!=f&&0<f.length){if(c.lastPasteXml==f?c.pasteCounter++:(c.lastPasteXml=f,c.pasteCounter=0),d=c.pasteCounter* +c.gridSize,k||this.isCompatibleString(f)?c.setSelectionCells(this.importXml(f,d,d)):(k=c.getInsertPoint(),c.isMouseInsertPoint()&&(d=0,c.lastPasteXml==f&&0<c.pasteCounter&&c.pasteCounter--),c.setSelectionCells(this.insertTextAt(f,k.x+d,k.y+d,!0))),!c.isSelectionEmpty()){c.scrollCellToVisible(c.getSelectionCell());null!=this.hoverIcons&&this.hoverIcons.update(c.view.getState(c.getSelectionCell()));try{mxEvent.consume(a)}catch(F){}}}else d||(c.lastPasteXml=null,c.pasteCounter=0)}}b.innerHTML=" "}; +EditorUi.prototype.addFileDropHandler=function(a){if(Graph.fileSupport)for(var b=null,c=0;c<a.length;c++)mxEvent.addListener(a[c],"dragleave",function(a){null!=b&&(b.parentNode.removeChild(b),b=null);a.stopPropagation();a.preventDefault()}),mxEvent.addListener(a[c],"dragover",mxUtils.bind(this,function(a){(this.editor.graph.isEnabled()||"1"!=urlParams.embed)&&null==b&&(!mxClient.IS_IE||10<document.documentMode&&12>document.documentMode)&&(b=this.highlightElement());a.stopPropagation();a.preventDefault()})), +mxEvent.addListener(a[c],"drop",mxUtils.bind(this,function(a){null!=b&&(b.parentNode.removeChild(b),b=null);if(this.editor.graph.isEnabled()||"1"!=urlParams.embed)if(0<a.dataTransfer.files.length)this.hideDialog(),"1"==urlParams.embed?this.importFiles(a.dataTransfer.files,0,0,this.maxImageSize,null,null,null,null,!mxEvent.isControlDown(a)&&!mxEvent.isShiftDown(a)):this.openFiles(a.dataTransfer.files,!0);else{var c=this.extractGraphModelFromEvent(a);if(null==c){var d=null!=a.dataTransfer?a.dataTransfer: +a.clipboardData;null!=d&&(10==document.documentMode||11==document.documentMode?c=d.getData("Text"):(c=null,c=0<=mxUtils.indexOf(d.types,"text/uri-list")?a.dataTransfer.getData("text/uri-list"):0<=mxUtils.indexOf(d.types,"text/html")?d.getData("text/html"):null,null!=c&&0<c.length?(d=document.createElement("div"),d.innerHTML=c,d=d.getElementsByTagName("img"),0<d.length&&(c=d[0].getAttribute("src"))):0<=mxUtils.indexOf(d.types,"text/plain")&&(c=d.getData("text/plain"))),null!=c&&("data:image/png;base64,"== +c.substring(0,22)?(c=this.extractGraphModelFromPng(c),null!=c&&0<c.length&&this.openLocalFile(c,null,!0)):!this.isOffline()&&this.isRemoteFileFormat(c)?(new mxXmlRequest(OPEN_URL,"format=xml&data="+encodeURIComponent(c))).send(mxUtils.bind(this,function(a){200<=a.getStatus()&&299>=a.getStatus()&&this.openLocalFile(a.getText(),null,!0)})):/^https?:\/\//.test(c)&&(null==this.getCurrentFile()?window.location.hash="#U"+encodeURIComponent(c):window.openWindow((mxClient.IS_CHROMEAPP?EditorUi.drawHost+"/": +"https://"+location.host+"/")+window.location.search+"#U"+encodeURIComponent(c)))))}else this.openLocalFile(c,null,!0)}a.stopPropagation();a.preventDefault()}))};EditorUi.prototype.highlightElement=function(a){var b=0,c=0,d,f;if(null==a){f=document.body;var g=document.documentElement;d=(f.clientWidth||g.clientWidth)-3;f=Math.max(f.clientHeight||0,g.clientHeight)-3}else b=a.offsetTop,c=a.offsetLeft,d=a.clientWidth,f=a.clientHeight;g=document.createElement("div");g.style.zIndex=mxPopupMenu.prototype.zIndex+ +2;g.style.border="3px dotted rgb(254, 137, 12)";g.style.pointerEvents="none";g.style.position="absolute";g.style.top=b+"px";g.style.left=c+"px";g.style.width=Math.max(0,d-3)+"px";g.style.height=Math.max(0,f-3)+"px";null!=a&&a.parentNode==this.editor.graph.container?this.editor.graph.container.appendChild(g):document.body.appendChild(g);return g};EditorUi.prototype.stringToCells=function(a){a=mxUtils.parseXml(a);var b=this.editor.extractGraphModel(a.documentElement);a=[];if(null!=b){var c=new mxCodec(b.ownerDocument), +d=new mxGraphModel;c.decode(b,d);b=d.getChildAt(d.getRoot(),0);for(c=0;c<d.getChildCount(b);c++)a.push(d.getChildAt(b,c))}return a};EditorUi.prototype.openFiles=function(a,b){if(this.spinner.spin(document.body,mxResources.get("loading")))for(var c=0;c<a.length;c++)mxUtils.bind(this,function(a){var c=new FileReader;c.onload=mxUtils.bind(this,function(c){try{var d=c.target.result,e=a.name;if(null!=e&&0<e.length){!this.useCanvasForExport&&/(\.png)$/i.test(e)&&(e=e.substring(0,e.length-4)+".drawio"); +var f=mxUtils.bind(this,function(a){e=0<=e.lastIndexOf(".")?e.substring(0,e.lastIndexOf("."))+".drawio":e+".drawio";if("<mxlibrary"==a.substring(0,10)){null==this.getCurrentFile()&&"1"!=urlParams.embed&&this.openLocalFile(this.emptyDiagramXml,this.defaultFilename,b);try{this.loadLibrary(new LocalLibrary(this,a,e))}catch(x){this.handleError(x,mxResources.get("errorLoadingFile"))}}else this.openLocalFile(a,e,b)});if(/(\.v(dx|sdx?))($|\?)/i.test(e)||/(\.vs(x|sx?))($|\?)/i.test(e))this.importVisio(a, +mxUtils.bind(this,function(a){this.spinner.stop();f(a)}));else if(/(\.*<graphml )/.test(d))this.importGraphML(d,mxUtils.bind(this,function(a){this.spinner.stop();f(a)}));else if(Graph.fileSupport&&!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(d,e))this.parseFile(a,mxUtils.bind(this,function(a){4==a.readyState&&(this.spinner.stop(),200<=a.status&&299>=a.status?f(a.responseText):this.handleError({message:mxResources.get(413==a.status?"drawingTooLarge":"invalidOrMissingFile")}, +mxResources.get("errorLoadingFile")))}));else if(this.isLucidChartData(d))/(\.json)$/i.test(e)&&(e=e.substring(0,e.length-5)+".drawio"),this.convertLucidChart(d,mxUtils.bind(this,function(a){this.spinner.stop();this.openLocalFile(a,e,b)}),mxUtils.bind(this,function(a){this.spinner.stop();this.handleError(a)}));else if("<mxlibrary"==c.target.result.substring(0,10)){this.spinner.stop();null==this.getCurrentFile()&&"1"!=urlParams.embed&&this.openLocalFile(this.emptyDiagramXml,this.defaultFilename,b); +try{this.loadLibrary(new LocalLibrary(this,c.target.result,a.name))}catch(F){this.handleError(F,mxResources.get("errorLoadingFile"))}}else 0==d.indexOf("PK")?this.importZipFile(a,mxUtils.bind(this,function(a){this.spinner.stop();f(a)}),mxUtils.bind(this,function(){this.spinner.stop();this.openLocalFile(d,e,b)})):("image/png"==a.type.substring(0,9)&&(d=this.extractGraphModelFromPng(d)),this.spinner.stop(),this.openLocalFile(d,e,b))}}catch(F){this.handleError(F)}});c.onerror=mxUtils.bind(this,function(a){this.spinner.stop(); +this.handleError(a);window.openFile=null});"image"===a.type.substring(0,5)&&"image/svg"!==a.type.substring(0,9)?c.readAsDataURL(a):c.readAsText(a)})(a[c])};EditorUi.prototype.openLocalFile=function(a,b,d){var c=this.getCurrentFile(),e=mxUtils.bind(this,function(){window.openFile=null;if(null==b&&null!=this.getCurrentFile()&&this.isDiagramEmpty()){var c=mxUtils.parseXml(a);null!=c&&(this.editor.setGraphXml(c.documentElement),this.editor.graph.selectAll())}else this.fileLoaded(new LocalFile(this,a, +b||this.defaultFilename,d))});if(null!=a&&0<a.length)null==c||!c.isModified()&&(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)?e():(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)&&null!=c&&c.isModified()?this.confirm(mxResources.get("allChangesLost"),null,e,mxResources.get("cancel"),mxResources.get("discardChanges")):(window.openFile=new OpenFile(function(){window.openFile=null}),window.openFile.setData(a,b),window.openWindow(this.getUrl(),null,mxUtils.bind(this,function(){null!=c&&c.isModified()? +this.confirm(mxResources.get("allChangesLost"),null,e,mxResources.get("cancel"),mxResources.get("discardChanges")):e()})));else throw Error(mxResources.get("notADiagramFile"));};EditorUi.prototype.getBasenames=function(){var a={};if(null!=this.pages)for(var b=0;b<this.pages.length;b++)this.updatePageRoot(this.pages[b]),this.addBasenamesForCell(this.pages[b].root,a);else this.addBasenamesForCell(this.editor.graph.model.getRoot(),a);var b=[],d;for(d in a)b.push(d);return b};EditorUi.prototype.addBasenamesForCell= +function(a,b){function c(a){if(null!=a){var c=a.lastIndexOf(".");0<c&&(a=a.substring(c+1,a.length));null==b[a]&&(b[a]=!0)}}var d=this.editor.graph,e=d.getCellStyle(a);c(mxStencilRegistry.getBasenameForStencil(e[mxConstants.STYLE_SHAPE]));d.model.isEdge(a)&&(c(mxMarker.getPackageForType(e[mxConstants.STYLE_STARTARROW])),c(mxMarker.getPackageForType(e[mxConstants.STYLE_ENDARROW])));for(var e=d.model.getChildCount(a),f=0;f<e;f++)this.addBasenamesForCell(d.model.getChildAt(a,f),b)};EditorUi.prototype.setGraphEnabled= +function(a){this.diagramContainer.style.visibility=a?"":"hidden";this.formatContainer.style.visibility=a?"":"hidden";this.sidebarFooterContainer.style.display=a?"":"none";this.sidebarContainer.style.display=a?"":"none";this.hsplit.style.display=a?"":"none";this.editor.graph.setEnabled(a);null!=this.ruler&&(this.ruler.hRuler.container.style.visibility=a?"":"hidden",this.ruler.vRuler.container.style.visibility=a?"":"hidden");null!=this.tabContainer&&(this.tabContainer.style.visibility=a?"":"hidden"); +a||(null!=this.actions.outlineWindow&&this.actions.outlineWindow.window.setVisible(!1),null!=this.actions.layersWindow&&this.actions.layersWindow.window.setVisible(!1),null!=this.menus.tagsWindow&&this.menus.tagsWindow.window.setVisible(!1),null!=this.menus.findWindow&&this.menus.findWindow.window.setVisible(!1))};EditorUi.prototype.initializeEmbedMode=function(){this.setGraphEnabled(!1);(window.opener||window.parent)!=window&&("1"!=urlParams.spin||this.spinner.spin(document.body,mxResources.get("loading")))&& +this.installMessageHandler(mxUtils.bind(this,function(a,b,d){this.spinner.stop();this.addEmbedButtons();this.setGraphEnabled(!0);null!=a&&0<a.length?(this.setFileData(a),this.editor.isChromelessView()?this.editor.graph.isLightboxView()&&this.lightboxFit():this.showLayersDialog(),this.chromelessResize&&this.chromelessResize()):(this.editor.graph.model.clear(),this.editor.fireEvent(new mxEventObject("resetGraphView")));this.editor.undoManager.clear();this.editor.modified=null!=d?d:!1;this.updateUi(); +window.self!==window.top&&window.focus();null!=this.format&&this.format.refresh()}))};EditorUi.prototype.showLayersDialog=function(){1<this.editor.graph.getModel().getChildCount(this.editor.graph.getModel().getRoot())&&(null==this.actions.layersWindow?this.actions.get("layers").funct():this.actions.layersWindow.window.setVisible(!0))};EditorUi.prototype.getPublicUrl=function(a,b){null!=a?a.getPublicUrl(b):b(null)};EditorUi.prototype.createLoadMessage=function(a){var b=this.editor.graph;return{event:a, +pageVisible:b.pageVisible,translate:b.view.translate,bounds:b.getGraphBounds(),currentPage:this.getSelectedPageIndex(),scale:b.view.scale,page:b.view.getBackgroundPageBounds()}};EditorUi.prototype.installMessageHandler=function(a){var b=null,c=!1,d=!1,f=null,g=mxUtils.bind(this,function(a,b){this.editor.modified&&"0"!=urlParams.modified?null!=urlParams.modified&&this.editor.setStatus(mxUtils.htmlEntities(mxResources.get(urlParams.modified))):this.editor.setStatus("")});this.editor.graph.model.addListener(mxEvent.CHANGE, +g);mxEvent.addListener(window,"message",mxUtils.bind(this,function(e){if(e.source==(window.opener||window.parent)){var g=e.data,k=mxUtils.bind(this,function(a){if(null!=a&&"function"===typeof a.charAt&&"<"!=a.charAt(0))try{"data:image/png;base64,"==a.substring(0,22)?a=this.extractGraphModelFromPng(a):"data:image/svg+xml;base64,"==a.substring(0,26)?a=atob(a.substring(26)):"data:image/svg+xml;utf8,"==a.substring(0,24)&&(a=a.substring(24)),null!=a&&("%"==a.charAt(0)?a=decodeURIComponent(a):"<"!=a.charAt(0)&& +(a=Graph.decompress(a)))}catch(ba){}return a});if("json"==urlParams.proto){try{g=JSON.parse(g)}catch(P){g=null}if(null==g)return;if("dialog"==g.action){this.showError(null!=g.titleKey?mxResources.get(g.titleKey):g.title,null!=g.messageKey?mxResources.get(g.messageKey):g.message,null!=g.buttonKey?mxResources.get(g.buttonKey):g.button);null!=g.modified&&(this.editor.modified=g.modified);return}if("prompt"==g.action){this.spinner.stop();k=new FilenameDialog(this,g.defaultValue||"",null!=g.okKey?mxResources.get(g.okKey): +null,function(a){null!=a&&l.postMessage(JSON.stringify({event:"prompt",value:a,message:g}),"*")},null!=g.titleKey?mxResources.get(g.titleKey):g.title);this.showDialog(k.container,300,80,!0,!1);k.init();return}if("draft"==g.action){var m=k(g.xml);this.spinner.stop();k=new DraftDialog(this,mxResources.get("draftFound",[g.name||this.defaultFilename]),m,mxUtils.bind(this,function(){this.hideDialog();l.postMessage(JSON.stringify({event:"draft",result:"edit",message:g}),"*")}),mxUtils.bind(this,function(){this.hideDialog(); +l.postMessage(JSON.stringify({event:"draft",result:"discard",message:g}),"*")}),g.editKey?mxResources.get(g.editKey):null,g.discardKey?mxResources.get(g.discardKey):null,g.ignore?mxUtils.bind(this,function(){this.hideDialog();l.postMessage(JSON.stringify({event:"draft",result:"ignore",message:g}),"*")}):null);this.showDialog(k.container,640,480,!0,!1,mxUtils.bind(this,function(a){a&&this.actions.get("exit").funct()}));try{k.init()}catch(P){l.postMessage(JSON.stringify({event:"draft",error:P.toString(), +message:g}),"*")}return}if("template"==g.action){this.spinner.stop();var k=1==g.enableRecent,m=1==g.enableSearch,n=1==g.enableCustomTemp,k=new NewDialog(this,!1,null!=g.callback,mxUtils.bind(this,function(b,c){b=b||this.emptyDiagramXml;null!=g.callback?l.postMessage(JSON.stringify({event:"template",xml:b,blank:b==this.emptyDiagramXml,name:c}),"*"):(a(b,e,b!=this.emptyDiagramXml),this.editor.modified||this.editor.setStatus(""))}),null,null,null,null,null,null,null,k?mxUtils.bind(this,function(a){this.remoteInvoke("getRecentDiagrams", +null,null,a,function(){a(null,"Network Error!")})}):null,m?mxUtils.bind(this,function(a,b){this.remoteInvoke("searchDiagrams",[a],null,b,function(){b(null,"Network Error!")})}):null,mxUtils.bind(this,function(a,b,c){l.postMessage(JSON.stringify({event:"template",docUrl:a,info:b,name:c}),"*")}),null,null,n?mxUtils.bind(this,function(a){this.remoteInvoke("getCustomTemplates",null,null,a,function(){a({},0)})}):null);this.showDialog(k.container,620,440,!0,!1,mxUtils.bind(this,function(a){a&&this.actions.get("exit").funct()})); +k.init();return}if("textContent"==g.action){k=this.getDiagramTextContent();l.postMessage(JSON.stringify({event:"textContent",data:k,message:g}),"*");return}if("status"==g.action){null!=g.messageKey?this.editor.setStatus(mxUtils.htmlEntities(mxResources.get(g.messageKey))):null!=g.message&&this.editor.setStatus(mxUtils.htmlEntities(g.message));null!=g.modified&&(this.editor.modified=g.modified);return}if("spinner"==g.action){var p=null!=g.messageKey?mxResources.get(g.messageKey):g.message;null==g.show|| +g.show?this.spinner.spin(document.body,p):this.spinner.stop();return}if("export"==g.action){if("png"==g.format||"xmlpng"==g.format){if(null==g.spin&&null==g.spinKey||this.spinner.spin(document.body,null!=g.spinKey?mxResources.get(g.spinKey):g.spin)){var t=null!=g.xml?g.xml:this.getFileData(!0);this.editor.graph.setEnabled(!1);var v=this.editor.graph,y=mxUtils.bind(this,function(a){this.editor.graph.setEnabled(!0);this.spinner.stop();var b=this.createLoadMessage("export");b.format=g.format;b.message= +g;b.data=a;b.xml=encodeURIComponent(t);l.postMessage(JSON.stringify(b),"*")}),z=mxUtils.bind(this,function(a){null==a&&(a=Editor.blankImage);"xmlpng"==g.format&&(a=this.writeGraphModelToPng(a,"tEXt","mxfile",encodeURIComponent(t)));v!=this.editor.graph&&v.container.parentNode.removeChild(v.container);y(a)}),m=g.pageId||(null!=this.pages?this.pages[0].getId():null);if(this.isExportToCanvas()){if(null!=this.pages&&this.currentPage.getId()!=m){for(var A=v.getGlobalVariable,v=this.createTemporaryGraph(v.getStylesheet()), +D,k=0;k<this.pages.length;k++)if(this.pages[k].getId()==m){D=this.updatePageRoot(this.pages[k]);break}v.getGlobalVariable=function(a){return"page"==a?D.getName():"pagenumber"==a?1:A.apply(this,arguments)};document.body.appendChild(v.container);v.model.setRoot(D.root)}if(null!=g.layerIds){for(var m=v.model,n=m.getChildCells(m.getRoot()),B={},k=0;k<g.layerIds.length;k++)B[g.layerIds[k]]=!0;for(k=0;k<n.length;k++)m.setVisible(n[k],B[n[k].id]||!1)}this.exportToCanvas(mxUtils.bind(this,function(a){z(a.toDataURL("image/png"))}), +null,null,null,mxUtils.bind(this,function(){z(null)}),null,null,g.scale,null,null,null,v)}else(new mxXmlRequest(EXPORT_URL,"format=png&embedXml="+("xmlpng"==g.format?"1":"0")+(null!=m?"&pageId="+m:"")+(null!=g.layerIds?"&extras="+encodeURIComponent(JSON.stringify({layerIds:g.layerIds})):"")+(null!=g.scale?"&scale="+g.scale:"")+"&base64=1&xml="+encodeURIComponent(t))).send(mxUtils.bind(this,function(a){200<=a.getStatus()&&299>=a.getStatus()?y("data:image/png;base64,"+a.getText()):z(null)}),mxUtils.bind(this, +function(){z(null)}))}}else{null!=g.xml&&0<g.xml.length&&this.setFileData(g.xml);p=this.createLoadMessage("export");if("html2"==g.format||"html"==g.format&&("0"!=urlParams.pages||null!=this.pages&&1<this.pages.length))k=this.getXmlFileData(),p.xml=mxUtils.getXml(k),p.data=this.getFileData(null,null,!0,null,null,null,k),p.format=g.format;else if("html"==g.format)t=this.editor.getGraphXml(),p.data=this.getHtml(t,this.editor.graph),p.xml=mxUtils.getXml(t),p.format=g.format;else{mxSvgCanvas2D.prototype.foAltText= +null;k=this.editor.graph.background;k==mxConstants.NONE&&(k=null);p.xml=this.getFileData(!0,null,null,null,null,null,null,null,null,!1);p.format="svg";if(g.embedImages||null==g.embedImages){if(null==g.spin&&null==g.spinKey||this.spinner.spin(document.body,null!=g.spinKey?mxResources.get(g.spinKey):g.spin))this.editor.graph.setEnabled(!1),"xmlsvg"==g.format?this.getEmbeddedSvg(p.xml,this.editor.graph,null,!0,mxUtils.bind(this,function(a){this.editor.graph.setEnabled(!0);this.spinner.stop();p.data= +this.createSvgDataUri(a);l.postMessage(JSON.stringify(p),"*")})):this.convertImages(this.editor.graph.getSvg(k),mxUtils.bind(this,function(a){this.editor.graph.setEnabled(!0);this.spinner.stop();p.data=this.createSvgDataUri(mxUtils.getXml(a));l.postMessage(JSON.stringify(p),"*")}));return}k="xmlsvg"==g.format?this.getEmbeddedSvg(this.getFileData(!0),this.editor.graph,null,!0):mxUtils.getXml(this.editor.graph.getSvg(k));p.data=this.createSvgDataUri(k)}l.postMessage(JSON.stringify(p),"*")}return}if("load"== +g.action)d=1==g.autosave,this.hideDialog(),null!=g.modified&&null==urlParams.modified&&(urlParams.modified=g.modified),null!=g.saveAndExit&&null==urlParams.saveAndExit&&(urlParams.saveAndExit=g.saveAndExit),null!=g.title&&null!=this.buttonContainer&&(m=document.createElement("span"),mxUtils.write(m,g.title),"atlas"==uiTheme?(this.buttonContainer.style.paddingRight="12px",this.buttonContainer.style.paddingTop="6px",this.buttonContainer.style.right="25px"):"min"!=uiTheme&&(this.buttonContainer.style.paddingRight= +"38px",this.buttonContainer.style.paddingTop="6px"),null!=this.embedFilenameSpan&&this.embedFilenameSpan.parentNode.removeChild(this.embedFilenameSpan),this.buttonContainer.appendChild(m),this.embedFilenameSpan=m),g=null!=g.xmlpng?this.extractGraphModelFromPng(g.xmlpng):g.xml;else{"remoteInvokeReady"==g.action?this.handleRemoteInvokeReady(l):"remoteInvoke"==g.action?this.handleRemoteInvoke(g):"remoteInvokeResponse"==g.action?this.handleRemoteInvokeResponse(g):l.postMessage(JSON.stringify({error:"unknownMessage", +data:JSON.stringify(g)}),"*");return}}var O=mxUtils.bind(this,function(e,g){c=!0;try{a(e,g)}catch(G){this.handleError(G)}c=!1;null!=urlParams.modified&&this.editor.setStatus("");var k=mxUtils.bind(this,function(){return"0"!=urlParams.pages||null!=this.pages&&1<this.pages.length?this.getFileData(!0):mxUtils.getXml(this.editor.getGraphXml())});f=k();d&&null==b&&(b=mxUtils.bind(this,function(a,b){var d=k();if(d!=f&&!c){var e=this.createLoadMessage("autosave");e.xml=d;d=JSON.stringify(e);(window.opener|| +window.parent).postMessage(d,"*")}f=d}),this.editor.graph.model.addListener(mxEvent.CHANGE,b),this.editor.graph.addListener("gridSizeChanged",b),this.editor.graph.addListener("shadowVisibleChanged",b),this.addListener("pageFormatChanged",b),this.addListener("pageScaleChanged",b),this.addListener("backgroundColorChanged",b),this.addListener("backgroundImageChanged",b),this.addListener("foldingEnabledChanged",b),this.addListener("mathEnabledChanged",b),this.addListener("gridEnabledChanged",b),this.addListener("guidesEnabledChanged", +b),this.addListener("pageViewChanged",b));"1"!=urlParams.returnbounds&&"json"!=urlParams.proto||l.postMessage(JSON.stringify(this.createLoadMessage("load")),"*")});null!=g&&"function"===typeof g.substring&&"data:application/vnd.visio;base64,"==g.substring(0,34)?(k="0M8R4KGxGuE"==g.substring(34,45)?"raw.vsd":"raw.vsdx",this.importVisio(this.base64ToBlob(g.substring(g.indexOf(",")+1)),function(a){O(a,e)},mxUtils.bind(this,function(a){this.handleError(a)}),k)):null!=g&&"function"===typeof g.substring&& +!this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(g,"")?this.parseFile(new Blob([g],{type:"application/octet-stream"}),mxUtils.bind(this,function(a){4==a.readyState&&200<=a.status&&299>=a.status&&"<mxGraphModel"==a.responseText.substring(0,13)&&O(a.responseText,e)}),""):null!=g&&"function"===typeof g.substring&&this.isLucidChartData(g)?this.convertLucidChart(g,mxUtils.bind(this,function(a){O(a)}),mxUtils.bind(this,function(a){this.handleError(a)})):(g=k(g),O(g,e))}}));var l= +window.opener||window.parent,g="json"==urlParams.proto?JSON.stringify({event:"init"}):urlParams.ready||"ready";l.postMessage(g,"*")};EditorUi.prototype.addEmbedButtons=function(){if(null!=this.menubar){var a=document.createElement("div");a.style.display="inline-block";a.style.position="absolute";a.style.paddingTop="atlas"==uiTheme?"2px":"0px";a.style.paddingLeft="8px";a.style.paddingBottom="2px";var b=document.createElement("button");b.className="geBigButton";"1"==urlParams.noSaveBtn?(mxUtils.write(b, +mxResources.get("saveAndExit")),b.setAttribute("title",mxResources.get("saveAndExit")),mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("saveAndExit").funct()})),a.appendChild(b)):(mxUtils.write(b,mxResources.get("save")),b.setAttribute("title",mxResources.get("save")+" ("+Editor.ctrlKey+"+S)"),mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("save").funct()})),a.appendChild(b),"1"==urlParams.saveAndExit&&(b=document.createElement("a"),mxUtils.write(b, +mxResources.get("saveAndExit")),b.setAttribute("title",mxResources.get("saveAndExit")),b.className="geBigButton geBigStandardButton",b.style.marginLeft="6px",mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("saveAndExit").funct()})),a.appendChild(b)));b=document.createElement("a");mxUtils.write(b,mxResources.get("exit"));b.setAttribute("title",mxResources.get("exit"));b.className="geBigButton geBigStandardButton";b.style.marginLeft="6px";b.style.marginRight="20px";mxEvent.addListener(b, +"click",mxUtils.bind(this,function(){this.actions.get("exit").funct()}));a.appendChild(b);this.toolbar.container.appendChild(a);this.toolbar.staticElements.push(a);a.style.right="atlas"!=uiTheme?"52px":"42px"}};EditorUi.prototype.showImportCsvDialog=function(){null==this.importCsvDialog&&(this.importCsvDialog=new TextareaDialog(this,mxResources.get("csv")+":",Editor.defaultCsvValue,mxUtils.bind(this,function(a){this.importCsv(a)}),null,null,620,430,null,!0,!0,mxResources.get("import"),this.isOffline()? +null:"https://about.draw.io/import-from-csv-to-drawio/"));this.showDialog(this.importCsvDialog.container,640,520,!0,!0,null,null,null,null,!0);this.importCsvDialog.init()};EditorUi.prototype.executeLayoutList=function(a,b){for(var c=this.editor.graph,d=c.getSelectionCells(),e=0;e<a.length;e++){var f=new window[a[e].layout](c);if(null!=a[e].config)for(var l in a[e].config)f[l]=a[e].config[l];this.executeLayout(function(){f.execute(c.getDefaultParent(),0==d.length?null:d)},e==a.length-1,b)}};EditorUi.prototype.importCsv= +function(a,b){try{var c=a.split("\n"),d=[],e=[],f={};if(0<c.length){var l={},m=null,p=null,v=null,x=null,z=null,u=null,B=null,K=null,Y="",H="auto",Q="auto",D=null,L=null,O=40,P=40,ba=100,W=0,G=this.editor.graph;G.getGraphBounds();for(var Z=function(){null!=b?b(fa):(G.setSelectionCells(fa),G.scrollCellToVisible(G.getSelectionCell()))},na=G.getFreeInsertPoint(),ja=na.x,ca=na.y,na=ca,ka=null,S="auto",K=null,V=[],pa=null,ga=null,R=0;R<c.length&&"#"==c[R].charAt(0);){a=c[R];for(R++;R<c.length&&"\\"==a.charAt(a.length- +1)&&"#"==c[R].charAt(0);)a=a.substring(0,a.length-1)+mxUtils.trim(c[R].substring(1)),R++;if("#"!=a.charAt(1)){var la=a.indexOf(":");if(0<la){var M=mxUtils.trim(a.substring(1,la)),I=mxUtils.trim(a.substring(la+1));"label"==M?ka=G.sanitizeHtml(I):"labelname"==M&&0<I.length&&"-"!=I?x=I:"labels"==M&&0<I.length&&"-"!=I?z=JSON.parse(I):"style"==M?m=I:"parentstyle"==M?u=I:"stylename"==M&&0<I.length&&"-"!=I?v=I:"styles"==M&&0<I.length&&"-"!=I?p=JSON.parse(I):"identity"==M&&0<I.length&&"-"!=I?B=I:"parent"== +M&&0<I.length&&"-"!=I?K=I:"namespace"==M&&0<I.length&&"-"!=I?Y=I:"width"==M?H=I:"height"==M?Q=I:"left"==M&&0<I.length?D=I:"top"==M&&0<I.length?L=I:"ignore"==M?ga=I.split(","):"connect"==M?V.push(JSON.parse(I)):"link"==M?pa=I:"padding"==M?W=parseFloat(I):"edgespacing"==M?O=parseFloat(I):"nodespacing"==M?P=parseFloat(I):"levelspacing"==M?ba=parseFloat(I):"layout"==M&&(S=I)}}}if(null==c[R])throw Error(mxResources.get("invalidOrMissingFile"));var ea=this.editor.csvToArray(c[R]),M=la=null;if(null!=B|| +null!=K)for(var N=0;N<ea.length;N++)B==ea[N]&&(la=N),K==ea[N]&&(M=N);null==ka&&(ka="%"+ea[0]+"%");if(null!=V)for(var T=0;T<V.length;T++)null==l[V[T].to]&&(l[V[T].to]={});G.model.beginUpdate();try{for(N=R+1;N<c.length;N++){var ha=this.editor.csvToArray(c[N]);if(null==ha){var ia=40<c[N].length?c[N].substring(0,40)+"...":c[N];throw Error(N+" ("+ia+") "+mxResources.get("containsValidationErrors"));}if(ha.length==ea.length){var J=null,qa=null!=la?Y+ha[la]:null;null!=qa&&(J=G.model.getCell(qa));var B=null!= +J,aa=new mxCell(ka,new mxGeometry(ja,na,0,0),m||"whiteSpace=wrap;html=1;");aa.vertex=!0;aa.id=qa;for(var da=0;da<ha.length;da++)G.setAttributeForCell(aa,ea[da],ha[da]);if(null!=x&&null!=z){var Aa=z[aa.getAttribute(x)];null!=Aa&&G.labelChanged(aa,Aa)}if(null!=v&&null!=p){var wa=p[aa.getAttribute(v)];null!=wa&&(aa.style=wa)}G.setAttributeForCell(aa,"placeholders","1");aa.style=G.replacePlaceholders(aa,aa.style);B&&(G.model.setGeometry(J,aa.geometry),G.model.setStyle(J,aa.style),0>mxUtils.indexOf(e, +J)&&e.push(J));J=aa;if(!B)for(T=0;T<V.length;T++)l[V[T].to][J.getAttribute(V[T].to)]=J;null!=pa&&"link"!=pa&&(G.setLinkForCell(J,J.getAttribute(pa)),G.setAttributeForCell(J,pa,null));G.fireEvent(new mxEventObject("cellsInserted","cells",[J]));var za=this.editor.graph.getPreferredSizeForCell(J);J.vertex&&(null!=D&&null!=J.getAttribute(D)&&(J.geometry.x=ja+parseFloat(J.getAttribute(D))),null!=L&&null!=J.getAttribute(L)&&(J.geometry.y=ca+parseFloat(J.getAttribute(L))),"@"==H.charAt(0)&&null!=J.getAttribute(H.substring(1))? +J.geometry.width=parseFloat(J.getAttribute(H.substring(1))):J.geometry.width="auto"==H?za.width+W:parseFloat(H),"@"==Q.charAt(0)&&null!=J.getAttribute(Q.substring(1))?J.geometry.height=parseFloat(J.getAttribute(Q.substring(1))):J.geometry.height="auto"==Q?za.height+W:parseFloat(Q),na+=J.geometry.height+P);B?(null==f[qa]&&(f[qa]=[]),f[qa].push(J)):(K=null!=M?G.model.getCell(Y+ha[M]):null,d.push(J),null!=K?(K.style=G.replacePlaceholders(K,u),G.addCell(J,K)):e.push(G.addCell(J)))}}for(var ma=e.slice(), +fa=e.slice(),T=0;T<V.length;T++)for(var sa=V[T],N=0;N<e.length;N++){var J=e[N],Ea=mxUtils.bind(this,function(a,b,c){var d=b.getAttribute(c.from);if(null!=d){G.setAttributeForCell(b,c.from,null);for(var d=d.split(","),e=0;e<d.length;e++){var f=l[c.to][d[e]];if(null!=f){var g=c.label;null!=c.fromlabel&&(g=(b.getAttribute(c.fromlabel)||"")+(g||""));null!=c.tolabel&&(g=(g||"")+(f.getAttribute(c.tolabel)||""));fa.push(G.insertEdge(null,null,g||"",c.invert?f:a,c.invert?a:f,c.style||G.createCurrentEdgeStyle())); +mxUtils.remove(c.invert?a:f,ma)}}}});Ea(J,J,sa);if(null!=f[J.id])for(da=0;da<f[J.id].length;da++)Ea(J,f[J.id][da],sa)}if(null!=ga)for(N=0;N<d.length;N++)for(J=d[N],da=0;da<ga.length;da++)G.setAttributeForCell(J,mxUtils.trim(ga[da]),null);if(0<e.length){var ta=new mxParallelEdgeLayout(G);ta.spacing=O;var oa=function(){0<ta.spacing&&ta.execute(G.getDefaultParent());for(var a=0;a<e.length;a++){var b=G.getCellGeometry(e[a]);b.x=Math.round(G.snap(b.x));b.y=Math.round(G.snap(b.y));"auto"==H&&(b.width=Math.round(G.snap(b.width))); +"auto"==Q&&(b.height=Math.round(G.snap(b.height)))}};if("["==S.charAt(0)){var Ka=Z;G.view.validate();this.executeLayoutList(JSON.parse(S),function(){oa();Ka()});Z=null}else if("circle"==S){var Ba=new mxCircleLayout(G);Ba.resetEdges=!1;var La=Ba.isVertexIgnored;Ba.isVertexIgnored=function(a){return La.apply(this,arguments)||0>mxUtils.indexOf(e,a)};this.executeLayout(function(){Ba.execute(G.getDefaultParent());oa()},!0,Z);Z=null}else if("horizontaltree"==S||"verticaltree"==S||"auto"==S&&fa.length== +2*e.length-1&&1==ma.length){G.view.validate();var Ca=new mxCompactTreeLayout(G,"horizontaltree"==S);Ca.levelDistance=P;Ca.edgeRouting=!1;Ca.resetEdges=!1;this.executeLayout(function(){Ca.execute(G.getDefaultParent(),0<ma.length?ma[0]:null)},!0,Z);Z=null}else if("horizontalflow"==S||"verticalflow"==S||"auto"==S&&1==ma.length){G.view.validate();var xa=new mxHierarchicalLayout(G,"horizontalflow"==S?mxConstants.DIRECTION_WEST:mxConstants.DIRECTION_NORTH);xa.intraCellSpacing=P;xa.parallelEdgeSpacing=O; +xa.interRankCellSpacing=ba;xa.disableEdgeStyle=!1;this.executeLayout(function(){xa.execute(G.getDefaultParent(),fa);G.moveCells(fa,ja,ca)},!0,Z);Z=null}else if("organic"==S||"auto"==S&&fa.length>e.length){G.view.validate();var ua=new mxFastOrganicLayout(G);ua.forceConstant=3*P;ua.resetEdges=!1;var Fa=ua.isVertexIgnored;ua.isVertexIgnored=function(a){return Fa.apply(this,arguments)||0>mxUtils.indexOf(e,a)};ta=new mxParallelEdgeLayout(G);ta.spacing=O;this.executeLayout(function(){ua.execute(G.getDefaultParent()); +oa()},!0,Z);Z=null}}this.hideDialog()}finally{G.model.endUpdate()}null!=Z&&Z()}}catch(ya){this.handleError(ya)}};EditorUi.prototype.getSearch=function(a){var b="";if("1"!=urlParams.offline&&"1"!=urlParams.demo&&null!=a&&0<window.location.search.length){var c="?",d;for(d in urlParams)0>mxUtils.indexOf(a,d)&&null!=urlParams[d]&&(b+=c+d+"="+urlParams[d],c="&")}else b=window.location.search;return b};EditorUi.prototype.getUrl=function(a){a=null!=a?a:window.location.pathname;var b=0<a.indexOf("?")?1:0; +if("1"==urlParams.offline)a+=window.location.search;else{var c="tmp libs clibs state fileId code share notitle data url embed client create title splash".split(" "),d;for(d in urlParams)0>mxUtils.indexOf(c,d)&&(a=0==b?a+"?":a+"&",null!=urlParams[d]&&(a+=d+"="+urlParams[d],b++))}return a};EditorUi.prototype.showLinkDialog=function(a,b,d){a=new LinkDialog(this,a,b,d,!0);this.showDialog(a.container,560,130,!0,!0);a.init()};var v=EditorUi.prototype.createOutline;EditorUi.prototype.createOutline=function(a){var b= +v.apply(this,arguments),c=this.editor.graph,d=b.getSourceGraphBounds;b.getSourceGraphBounds=function(){if(mxUtils.hasScrollbars(c.container)&&c.pageVisible&&null!=this.source.minimumGraphSize){var a=this.source.getPagePadding(),b=this.source.view.scale;return new mxRectangle(0,0,Math.ceil(this.source.minimumGraphSize.width-2*a.x/b),Math.ceil(this.source.minimumGraphSize.height-2*a.y/b))}return d.apply(this,arguments)};var f=b.getSourceContainerSize;b.getSourceContainerSize=function(){if(mxUtils.hasScrollbars(c.container)&& +null!=this.source.minimumGraphSize){var a=this.source.getPagePadding(),b=this.source.view.scale;return new mxRectangle(0,0,Math.ceil(this.source.minimumGraphSize.width*b-2*a.x),Math.ceil(this.source.minimumGraphSize.height*b-2*a.y))}return f.apply(this,arguments)};b.getOutlineOffset=function(a){if(mxUtils.hasScrollbars(c.container)&&null!=this.source.minimumGraphSize){var d=this.source.getPagePadding();return new mxPoint(Math.round(Math.max(0,(b.outline.container.clientWidth/a-(this.source.minimumGraphSize.width- +2*d.x))/2)-d.x),Math.round(Math.max(0,(b.outline.container.clientHeight/a-(this.source.minimumGraphSize.height-2*d.y))/2)-d.y-5/a))}return new mxPoint(8/a,8/a)};var g=b.init;b.init=function(){g.apply(this,arguments);b.outline.view.getBackgroundPageBounds=function(){var a=c.getPageLayout(),b=c.getPageSize();return new mxRectangle(this.scale*(this.translate.x+a.x*b.width),this.scale*(this.translate.y+a.y*b.height),this.scale*a.width*b.width,this.scale*a.height*b.height)};b.outline.view.validateBackgroundPage()}; +this.editor.addListener("pageSelected",function(a,c){var d=c.getProperty("change"),e=b.source,f=b.outline;f.pageScale=e.pageScale;f.pageFormat=e.pageFormat;f.background=e.background;f.pageVisible=e.pageVisible;f.background=e.background;var g=mxUtils.getCurrentStyle(e.container);f.container.style.backgroundColor=g.backgroundColor;null!=e.view.backgroundPageShape&&null!=f.view.backgroundPageShape&&(f.view.backgroundPageShape.fill=e.view.backgroundPageShape.fill);b.outline.view.clear(d.previousPage.root, +!0);b.outline.view.validate()});return b};EditorUi.prototype.getServiceCount=function(a,b){var c=1;null==this.drive&&"function"!==typeof window.DriveClient||c++;b||null==this.dropbox&&"function"!==typeof window.DropboxClient||c++;null==this.oneDrive&&"function"!==typeof window.OneDriveClient||c++;b||null==this.gitHub||c++;b||null==this.gitLab||c++;b&&a&&isLocalStorage&&"1"==urlParams.browser&&c++;return c};EditorUi.prototype.updateUi=function(){this.updateButtonContainer();this.updateActionStates(); +var a=this.getCurrentFile(),b=null!=a||"1"==urlParams.embed&&this.editor.graph.isEnabled();this.menus.get("viewPanels").setEnabled(b);this.menus.get("viewZoom").setEnabled(b);var d=("1"!=urlParams.embed||!this.editor.graph.isEnabled())&&(null==a||a.isRestricted());this.actions.get("makeCopy").setEnabled(!d);this.actions.get("print").setEnabled(!d);this.menus.get("exportAs").setEnabled(!d);this.menus.get("embed").setEnabled(!d);d="1"!=urlParams.embed||this.editor.graph.isEnabled();this.menus.get("extras").setEnabled(d); +Editor.enableCustomLibraries&&(this.menus.get("openLibraryFrom").setEnabled(d),this.menus.get("newLibrary").setEnabled(d));a="1"==urlParams.embed&&this.editor.graph.isEnabled()||null!=a&&a.isEditable();this.actions.get("image").setEnabled(b);this.actions.get("zoomIn").setEnabled(b);this.actions.get("zoomOut").setEnabled(b);this.actions.get("resetView").setEnabled(b);this.actions.get("undo").setEnabled(this.canUndo()&&a);this.actions.get("redo").setEnabled(this.canRedo()&&a);this.menus.get("edit").setEnabled(b); +this.menus.get("view").setEnabled(b);this.menus.get("importFrom").setEnabled(a);this.menus.get("arrange").setEnabled(a);null!=this.toolbar&&(null!=this.toolbar.edgeShapeMenu&&this.toolbar.edgeShapeMenu.setEnabled(a),null!=this.toolbar.edgeStyleMenu&&this.toolbar.edgeStyleMenu.setEnabled(a));if(this.isAppCache()){var f=applicationCache;if(null!=f&&null==this.offlineStatus){this.offlineStatus=document.createElement("div");this.offlineStatus.className="geItem";this.offlineStatus.style.position="absolute"; +this.offlineStatus.style.fontSize="8pt";this.offlineStatus.style.top="2px";this.offlineStatus.style.right="12px";this.offlineStatus.style.color="#666";this.offlineStatus.style.margin="4px";this.offlineStatus.style.padding="2px";this.offlineStatus.style.verticalAlign="middle";this.offlineStatus.innerHTML="";this.menubarContainer.appendChild(this.offlineStatus);mxEvent.addListener(this.offlineStatus,"click",mxUtils.bind(this,function(){var a=this.offlineStatus.getElementsByTagName("img");null!=a&&0< +a.length&&this.alert(a[0].getAttribute("title"))}));var f=window.applicationCache,l=null,b=mxUtils.bind(this,function(){var a=f.status,b;a==f.CHECKING&&(a=f.DOWNLOADING);switch(a){case f.UNCACHED:b="";break;case f.IDLE:b="min"==uiTheme?"":'<img title="draw.io is up to date." border="0" src="'+IMAGE_PATH+'/checkmark.gif"/>';break;case f.DOWNLOADING:b='<img title="Downloading new version..." border="0" src="'+IMAGE_PATH+'/spin.gif"/>';break;case f.UPDATEREADY:b='<img title="'+mxUtils.htmlEntities(mxResources.get("restartForChangeRequired"))+ +'" border="0" src="'+IMAGE_PATH+'/download.png"/>';break;case f.OBSOLETE:b='<img title="Obsolete" border="0" src="'+IMAGE_PATH+'/clear.gif"/>';break;default:b='<img title="Unknown" border="0" src="'+IMAGE_PATH+'/clear.gif"/>'}a!=l&&(this.offlineStatus.innerHTML=b,l=a)});mxEvent.addListener(f,"checking",b);mxEvent.addListener(f,"noupdate",b);mxEvent.addListener(f,"downloading",b);mxEvent.addListener(f,"progress",b);mxEvent.addListener(f,"cached",b);mxEvent.addListener(f,"updateready",b);mxEvent.addListener(f, +"obsolete",b);mxEvent.addListener(f,"error",b);b()}}else this.updateUserElement()};EditorUi.prototype.updateButtonContainer=function(){};EditorUi.prototype.updateUserElement=function(){};EditorUi.prototype.scheduleSanityCheck=function(){};EditorUi.prototype.stopSanityCheck=function(){};EditorUi.prototype.isDiagramActive=function(){var a=this.getCurrentFile();return null!=a&&a.isEditable()||"1"==urlParams.embed&&this.editor.graph.isEnabled()};var z=EditorUi.prototype.updateActionStates;EditorUi.prototype.updateActionStates= +function(){z.apply(this,arguments);var a=this.editor.graph,b=this.isDiagramActive(),d=this.getCurrentFile();this.actions.get("pageSetup").setEnabled(b);this.actions.get("autosave").setEnabled(null!=d&&d.isEditable()&&d.isAutosaveOptional());this.actions.get("guides").setEnabled(b);this.actions.get("editData").setEnabled(b);this.actions.get("shadowVisible").setEnabled(b);this.actions.get("connectionArrows").setEnabled(b);this.actions.get("connectionPoints").setEnabled(b);this.actions.get("copyStyle").setEnabled(b&& +!a.isSelectionEmpty());this.actions.get("pasteStyle").setEnabled(b&&!a.isSelectionEmpty());this.actions.get("editGeometry").setEnabled(a.getModel().isVertex(a.getSelectionCell()));this.actions.get("createShape").setEnabled(b);this.actions.get("createRevision").setEnabled(b);this.actions.get("moveToFolder").setEnabled(null!=d);this.actions.get("makeCopy").setEnabled(null!=d&&!d.isRestricted());this.actions.get("editDiagram").setEnabled(b&&(null==d||!d.isRestricted()));this.actions.get("publishLink").setEnabled(null!= +d&&!d.isRestricted());this.actions.get("tags").setEnabled("hidden"!=this.diagramContainer.style.visibility);this.actions.get("find").setEnabled("hidden"!=this.diagramContainer.style.visibility);this.actions.get("layers").setEnabled("hidden"!=this.diagramContainer.style.visibility);this.actions.get("outline").setEnabled("hidden"!=this.diagramContainer.style.visibility);this.actions.get("rename").setEnabled(null!=d&&d.isRenamable()||"1"==urlParams.embed);this.actions.get("close").setEnabled(null!=d); +this.menus.get("publish").setEnabled(null!=d&&!d.isRestricted());a=a.view.getState(a.getSelectionCell());this.actions.get("editShape").setEnabled(b&&null!=a&&null!=a.shape&&null!=a.shape.stencil)};var B=EditorUi.prototype.destroy;EditorUi.prototype.destroy=function(){null!=this.exportDialog&&(this.exportDialog.parentNode.removeChild(this.exportDialog),this.exportDialog=null);B.apply(this,arguments)};null!=window.ExportDialog&&(ExportDialog.showXmlOption=!1,ExportDialog.showGifOption=!1,ExportDialog.exportFile= +function(a,b,d,f,l,g,m){var c=a.editor.graph;if("xml"==d)a.hideDialog(),a.saveData(b,"xml",mxUtils.getXml(a.editor.getGraphXml()),"text/xml");else if("svg"==d)a.hideDialog(),a.saveData(b,"svg",mxUtils.getXml(c.getSvg(f,l,g)),"image/svg+xml");else{var e=a.getFileData(!0,null,null,null,null,!0),k=c.getGraphBounds(),n=Math.floor(k.width*l/c.view.scale),p=Math.floor(k.height*l/c.view.scale);if(e.length<=MAX_REQUEST_SIZE&&n*p<MAX_AREA)if(a.hideDialog(),"png"!=d&&"jpg"!=d&&"jpeg"!=d||!a.isExportToCanvas()){var u= +{globalVars:c.getExportVariables()};a.saveRequest(b,d,function(a,b){return new mxXmlRequest(EXPORT_URL,"format="+d+"&base64="+(b||"0")+(null!=a?"&filename="+encodeURIComponent(a):"")+"&extras="+encodeURIComponent(JSON.stringify(u))+(0<m?"&dpi="+m:"")+"&bg="+(null!=f?f:"none")+"&w="+n+"&h="+p+"&border="+g+"&xml="+encodeURIComponent(e))})}else"png"==d?a.exportImage(l,null==f||"none"==f,!0,!1,!1,g,!0,!1,null,null,m):a.exportImage(l,!1,!0,!1,!1,g,!0,!1,"jpeg");else mxUtils.alert(mxResources.get("drawingTooLarge"))}}); +EditorUi.prototype.getDiagramTextContent=function(){this.editor.graph.setEnabled(!1);var a=this.editor.graph,b="";if(null!=this.pages)for(var d=0;d<this.pages.length;d++){var f=a;this.currentPage!=this.pages[d]&&(f=this.createTemporaryGraph(a.getStylesheet()),f.model.setRoot(this.pages[d].root));b+=this.pages[d].getName()+" "+f.getIndexableText()+" "}else b=a.getIndexableText();this.editor.graph.setEnabled(!0);return b};EditorUi.prototype.showRemotelyStoredLibrary=function(a){var b={},c=document.createElement("div"); +c.style.whiteSpace="nowrap";var d=document.createElement("h3");mxUtils.write(d,mxUtils.htmlEntities(a));d.style.cssText="width:100%;text-align:center;margin-top:0px;margin-bottom:12px";c.appendChild(d);var f=document.createElement("div");f.style.cssText="border:1px solid lightGray;overflow: auto;height:300px";f.innerHTML='<div style="text-align:center;padding:8px;"><img src="/images/spin.gif"></div>';var g={};try{var l=mxSettings.getCustomLibraries();for(a=0;a<l.length;a++){var m=l[a];if("R"==m.substring(0, +1)){var p=JSON.parse(decodeURIComponent(m.substring(1)));g[p[0]]={id:p[0],title:p[1],downloadUrl:p[2]}}}}catch(F){}this.remoteInvoke("getCustomLibraries",null,null,function(a){f.innerHTML="";if(0==a.length)f.innerHTML='<div style="text-align:center;padding-top:20px;color:gray;">'+mxUtils.htmlEntities(mxResources.get("noLibraries"))+"</div>";else for(var c=0;c<a.length;c++){var d=a[c];g[d.id]&&(b[d.id]=d);var e=this.addCheckbox(f,d.title,g[d.id]);(function(a,c){mxEvent.addListener(c,"change",function(){this.checked? +b[a.id]=a:delete b[a.id]})})(d,e)}},mxUtils.bind(this,function(a){f.innerHTML="";var b=document.createElement("div");b.style.padding="8px";b.style.textAlign="center";mxUtils.write(b,mxResources.get("error")+": ");mxUtils.write(b,null!=a&&null!=a.message?a.message:mxResources.get("unknownError"));f.appendChild(b)}));c.appendChild(f);c=new CustomDialog(this,c,mxUtils.bind(this,function(){this.spinner.spin(document.body,mxResources.get("loading"));var a=0,c;for(c in b)null==g[c]&&(a++,mxUtils.bind(this, +function(b){this.remoteInvoke("getFileContent",[b.downloadUrl],null,mxUtils.bind(this,function(c){a--;0==a&&this.spinner.stop();try{this.loadLibrary(new RemoteLibrary(this,c,b))}catch(C){this.handleError(C,mxResources.get("errorLoadingFile"))}}),mxUtils.bind(this,function(){a--;0==a&&this.spinner.stop();this.handleError(null,mxResources.get("errorLoadingFile"))}))})(b[c]));for(c in g)b[c]||this.closeLibrary(new RemoteLibrary(this,null,g[c]));0==a&&this.spinner.stop()}),null,null,"https://desk.draw.io/support/solutions/articles/16000092763"); +this.showDialog(c.container,340,375,!0,!0,null,null,null,null,!0)};EditorUi.prototype.remoteInvokableFns={getDiagramTextContent:{isAsync:!1}};EditorUi.prototype.remoteInvokeCallbacks=[];EditorUi.prototype.remoteInvokeQueue=[];EditorUi.prototype.handleRemoteInvokeReady=function(a){this.remoteWin=a;for(var b=0;b<this.remoteInvokeQueue.length;b++)a.postMessage(this.remoteInvokeQueue[b],"*");this.remoteInvokeQueue=[]};EditorUi.prototype.handleRemoteInvokeResponse=function(a){var b=a.msgMarkers,c=this.remoteInvokeCallbacks[b.callbackId]; +a.error?c.error&&c.error(a.error.errResp):c.callback&&c.callback.apply(this,a.resp);this.remoteInvokeCallbacks[b.callbackId]=null};EditorUi.prototype.remoteInvoke=function(a,b,d,f,l){var c=!0,e=window.setTimeout(mxUtils.bind(this,function(){c=!1;l({code:App.ERROR_TIMEOUT,message:mxResources.get("timeout")})}),this.timeout),k=mxUtils.bind(this,function(){window.clearTimeout(e);c&&f.apply(this,arguments)});d=d||{};d.callbackId=this.remoteInvokeCallbacks.length;this.remoteInvokeCallbacks.push({callback:k, +error:l});a=JSON.stringify({event:"remoteInvoke",funtionName:a,functionArgs:b,msgMarkers:d});null!=this.remoteWin?this.remoteWin.postMessage(a,"*"):this.remoteInvokeQueue.push(a)};EditorUi.prototype.handleRemoteInvoke=function(a){var b=mxUtils.bind(this,function(b,c){var d={event:"remoteInvokeResponse",msgMarkers:a.msgMarkers};null!=c?d.error={errResp:c}:null!=b&&(d.resp=b);this.remoteWin.postMessage(JSON.stringify(d),"*")});try{var c=a.funtionName,d=this.remoteInvokableFns[c];if(null!=d&&"function"=== +typeof this[c]){var f=a.functionArgs;Array.isArray(f)||(f=[]);if(d.isAsync)f.push(function(){b(Array.prototype.slice.apply(arguments))}),f.push(function(a){b(null,a||"Unkown Error")}),this[c].apply(this,f);else{var g=this[c].apply(this,f);b([g])}}else b(null,"Invalid Call: "+c+" is not found.")}catch(y){b(null,"Invalid Call: An error occured, "+y.message)}};EditorUi.prototype.commentsSupported=function(){var a=this.getCurrentFile();return null!=a?a.commentsSupported():!1};EditorUi.prototype.commentsRefreshNeeded= +function(){var a=this.getCurrentFile();return null!=a?a.commentsRefreshNeeded():!0};EditorUi.prototype.commentsSaveNeeded=function(){var a=this.getCurrentFile();return null!=a?a.commentsSaveNeeded():!1};EditorUi.prototype.getComments=function(a,b){var c=this.getCurrentFile();null!=c?c.getComments(a,b):a([])};EditorUi.prototype.addComment=function(a,b,d){var c=this.getCurrentFile();null!=c?c.addComment(a,b,d):b(Date.now())};EditorUi.prototype.canReplyToReplies=function(){var a=this.getCurrentFile(); +return null!=a?a.canReplyToReplies():!0};EditorUi.prototype.canComment=function(){var a=this.getCurrentFile();return null!=a?a.canComment():!0};EditorUi.prototype.newComment=function(a,b){var c=this.getCurrentFile();return null!=c?c.newComment(a,b):new DrawioComment(this,null,a,Date.now(),Date.now(),!1,b)};EditorUi.prototype.isRevisionHistorySupported=function(){var a=this.getCurrentFile();return null!=a&&a.isRevisionHistorySupported()};EditorUi.prototype.getRevisions=function(a,b){var c=this.getCurrentFile(); +null!=c&&c.getRevisions?c.getRevisions(a,b):b({message:mxResources.get("unknownError")})};EditorUi.prototype.isRevisionHistoryEnabled=function(){var a=this.getCurrentFile();return null!=a&&(a.constructor==DriveFile&&a.isEditable()||a.constructor==DropboxFile)};EditorUi.prototype.getServiceName=function(){return"draw.io"};EditorUi.prototype.addRemoteServiceSecurityCheck=function(a){a.setRequestHeader("Content-Language","da, mi, en, de-DE")}})(); var CommentsWindow=function(a,b,f,d,l,m){function p(){for(var a=q.getElementsByTagName("div"),b=0,c=0;c<a.length;c++)"none"!=a[c].style.display&&a[c].parentNode==q&&b++;F.style.display=0==b?"block":"none"}function v(a,b,c,d){function e(){b.removeChild(l);b.removeChild(m);k.style.display="block";f.style.display="block"}g={div:b,comment:a,saveCallback:c,deleteOnCancel:d};var f=b.querySelector(".geCommentTxt"),k=b.querySelector(".geCommentActionsList"),l=document.createElement("textarea");l.className= -"geCommentEditTxtArea";l.style.minHeight=f.offsetHeight+"px";l.value=a.content;b.insertBefore(l,f);var m=document.createElement("div");m.className="geCommentEditBtns";var n=mxUtils.button(mxResources.get("cancel"),function(){d?(b.parentNode.removeChild(b),p()):e();g=null});n.className="geCommentEditBtn";m.appendChild(n);var t=mxUtils.button(mxResources.get("save"),function(){f.innerHTML="";a.content=l.value;mxUtils.write(f,a.content);e();c(a);g=null});mxEvent.addListener(l,"keydown",mxUtils.bind(this, -function(a){mxEvent.isConsumed(a)||((mxEvent.isControlDown(a)||mxClient.IS_MAC&&mxEvent.isMetaDown(a))&&13==a.keyCode?(t.click(),mxEvent.consume(a)):27==a.keyCode&&(n.click(),mxEvent.consume(a)))}));t.focus();t.className="geCommentEditBtn gePrimaryBtn";m.appendChild(t);b.insertBefore(m,f);k.style.display="none";f.style.display="none";l.focus()}function y(b,c){c.innerHTML="";var d=new Date(b.modifiedDate),e=a.timeSince(d);null==e&&(e=mxResources.get("lessThanAMinute"));mxUtils.write(c,mxResources.get("timeAgo", +"geCommentEditTxtArea";l.style.minHeight=f.offsetHeight+"px";l.value=a.content;b.insertBefore(l,f);var m=document.createElement("div");m.className="geCommentEditBtns";var n=mxUtils.button(mxResources.get("cancel"),function(){d?(b.parentNode.removeChild(b),p()):e();g=null});n.className="geCommentEditBtn";m.appendChild(n);var u=mxUtils.button(mxResources.get("save"),function(){f.innerHTML="";a.content=l.value;mxUtils.write(f,a.content);e();c(a);g=null});mxEvent.addListener(l,"keydown",mxUtils.bind(this, +function(a){mxEvent.isConsumed(a)||((mxEvent.isControlDown(a)||mxClient.IS_MAC&&mxEvent.isMetaDown(a))&&13==a.keyCode?(u.click(),mxEvent.consume(a)):27==a.keyCode&&(n.click(),mxEvent.consume(a)))}));u.focus();u.className="geCommentEditBtn gePrimaryBtn";m.appendChild(u);b.insertBefore(m,f);k.style.display="none";f.style.display="none";l.focus()}function z(b,c){c.innerHTML="";var d=new Date(b.modifiedDate),e=a.timeSince(d);null==e&&(e=mxResources.get("lessThanAMinute"));mxUtils.write(c,mxResources.get("timeAgo", [e],"{1} ago"));c.setAttribute("title",d.toLocaleDateString()+" "+d.toLocaleTimeString())}function B(a){var b=document.createElement("img");b.className="geCommentBusyImg";b.src=IMAGE_PATH+"/spin.gif";a.appendChild(b);a.busyImg=b}function c(a){a.style.border="1px solid red";a.removeChild(a.busyImg)}function e(a){a.style.border="";a.removeChild(a.busyImg)}function k(b,d,f,l,m){function x(a,c,d){var e=document.createElement("li");e.className="geCommentAction";var f=document.createElement("a");f.className= -"geCommentActionLnk";mxUtils.write(f,a);e.appendChild(f);mxEvent.addListener(f,"click",function(a){c(a,b);a.preventDefault();mxEvent.consume(a)});O.appendChild(e);d&&(e.style.display="none")}function D(){function a(b){c.push(d);if(null!=b.replies)for(var e=0;e<b.replies.length;e++)d=d.nextSibling,a(b.replies[e])}var c=[],d=A;a(b);return{pdiv:d,replies:c}}function z(d,f,g,m,n){function p(){B(u);b.addReply(x,function(a){x.id=a;b.replies.push(x);e(u);g&&g()},function(b){t();c(u);a.handleError(b,null, -null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))},m,n)}function t(){v(x,u,function(a){p()},!0)}var q=D().pdiv,x=a.newComment(d,a.getCurrentUser());x.pCommentId=b.id;null==b.replies&&(b.replies=[]);var u=k(x,b.replies,q,l+1);f?t():p()}if(m||!b.isResolved){F.style.display="none";var A=document.createElement("div");A.className="geCommentContainer";A.setAttribute("data-commentId",b.id);A.style.marginLeft=20*l+5+"px";b.isResolved&&"dark"!=uiTheme&&(A.style.backgroundColor="ghostWhite"); -var C=document.createElement("div");C.className="geCommentHeader";var E=document.createElement("img");E.className="geCommentUserImg";E.src=b.user.pictureUrl||Editor.userImage;C.appendChild(E);E=document.createElement("div");E.className="geCommentHeaderTxt";C.appendChild(E);var L=document.createElement("div");L.className="geCommentUsername";mxUtils.write(L,b.user.displayName||"");E.appendChild(L);L=document.createElement("div");L.className="geCommentDate";L.setAttribute("data-commentId",b.id);y(b, -L);E.appendChild(L);A.appendChild(C);C=document.createElement("div");C.className="geCommentTxt";mxUtils.write(C,b.content||"");A.appendChild(C);C=document.createElement("div");C.className="geCommentActions";var O=document.createElement("ul");O.className="geCommentActionsList";C.appendChild(O);u||0!=l&&!n||x(mxResources.get("reply"),function(){z("",!0)},b.isResolved);E=a.getCurrentUser();null==E||E.id!=b.user.id||u||(x(mxResources.get("edit"),function(){function d(){v(b,A,function(){B(A);b.editComment(b.content, +"geCommentActionLnk";mxUtils.write(f,a);e.appendChild(f);mxEvent.addListener(f,"click",function(a){c(a,b);a.preventDefault();mxEvent.consume(a)});O.appendChild(e);d&&(e.style.display="none")}function D(){function a(b){c.push(d);if(null!=b.replies)for(var e=0;e<b.replies.length;e++)d=d.nextSibling,a(b.replies[e])}var c=[],d=A;a(b);return{pdiv:d,replies:c}}function y(d,f,g,m,n){function p(){B(t);b.addReply(x,function(a){x.id=a;b.replies.push(x);e(t);g&&g()},function(b){u();c(t);a.handleError(b,null, +null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))},m,n)}function u(){v(x,t,function(a){p()},!0)}var q=D().pdiv,x=a.newComment(d,a.getCurrentUser());x.pCommentId=b.id;null==b.replies&&(b.replies=[]);var t=k(x,b.replies,q,l+1);f?u():p()}if(m||!b.isResolved){F.style.display="none";var A=document.createElement("div");A.className="geCommentContainer";A.setAttribute("data-commentId",b.id);A.style.marginLeft=20*l+5+"px";b.isResolved&&"dark"!=uiTheme&&(A.style.backgroundColor="ghostWhite"); +var E=document.createElement("div");E.className="geCommentHeader";var C=document.createElement("img");C.className="geCommentUserImg";C.src=b.user.pictureUrl||Editor.userImage;E.appendChild(C);C=document.createElement("div");C.className="geCommentHeaderTxt";E.appendChild(C);var L=document.createElement("div");L.className="geCommentUsername";mxUtils.write(L,b.user.displayName||"");C.appendChild(L);L=document.createElement("div");L.className="geCommentDate";L.setAttribute("data-commentId",b.id);z(b, +L);C.appendChild(L);A.appendChild(E);E=document.createElement("div");E.className="geCommentTxt";mxUtils.write(E,b.content||"");A.appendChild(E);E=document.createElement("div");E.className="geCommentActions";var O=document.createElement("ul");O.className="geCommentActionsList";E.appendChild(O);t||0!=l&&!n||x(mxResources.get("reply"),function(){y("",!0)},b.isResolved);C=a.getCurrentUser();null==C||C.id!=b.user.id||t||(x(mxResources.get("edit"),function(){function d(){v(b,A,function(){B(A);b.editComment(b.content, function(){e(A)},function(b){c(A);d();a.handleError(b,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})})}d()},b.isResolved),x(mxResources.get("delete"),function(){a.confirm(mxResources.get("areYouSure"),function(){B(A);b.deleteComment(function(){for(var a=D(b).replies,c=0;c<a.length;c++)q.removeChild(a[c]);for(c=0;c<d.length;c++)if(d[c]==b){d.splice(c,1);break}F.style.display=0==q.getElementsByTagName("div").length?"block":"none"},function(b){c(A);a.handleError(b,null,null, -null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})})},b.isResolved));u||0!=l||x(b.isResolved?mxResources.get("reopen"):mxResources.get("resolve"),function(a){function c(){var c=a.target;c.innerHTML="";b.isResolved=!b.isResolved;mxUtils.write(c,b.isResolved?mxResources.get("reopen"):mxResources.get("resolve"));for(var d=b.isResolved?"none":"",e=D(b).replies,f="dark"==uiTheme?"transparent":b.isResolved?"ghostWhite":"white",g=0;g<e.length;g++){e[g].style.backgroundColor=f;for(var k=e[g].querySelectorAll(".geCommentAction"), -l=0;l<k.length;l++)k[l]!=c.parentNode&&(k[l].style.display=d);t||(e[g].style.display="none")}p()}b.isResolved?z(mxResources.get("reOpened")+": ",!0,c,!1,!0):z(mxResources.get("markedAsResolved"),!1,c,!0)});A.appendChild(C);null!=f?q.insertBefore(A,f.nextSibling):q.appendChild(A);for(f=0;null!=b.replies&&f<b.replies.length;f++)C=b.replies[f],C.isResolved=b.isResolved,k(C,b.replies,null,l+1,m);null!=g&&(g.comment.id==b.id?(m=b.content,b.content=g.comment.content,v(b,A,g.saveCallback,g.deleteOnCancel), -b.content=m):null==g.comment.id&&g.comment.pCommentId==b.id&&(q.appendChild(g.div),v(g.comment,g.div,g.saveCallback,g.deleteOnCancel)));return A}}var u=!a.canComment(),n=a.canReplyToReplies(),g=null,z=document.createElement("div");z.className="geCommentsWin";z.style.background="white"==Dialog.backdropColor?"whiteSmoke":Dialog.backdropColor;var A=EditorUi.compactUi?"26px":"30px",q=document.createElement("div");q.className="geCommentsList";q.style.backgroundColor="white"==Dialog.backdropColor?"whiteSmoke": -Dialog.backdropColor;q.style.bottom=parseInt(A)+7+"px";z.appendChild(q);var F=document.createElement("span");F.style.cssText="display:none;padding-top:10px;text-align:center;";mxUtils.write(F,mxResources.get("noCommentsFound"));var x=document.createElement("div");x.className="geToolbarContainer geCommentsToolbar";x.style.height=A;x.style.padding=EditorUi.compactUi?"4px 0px 3px 0px":"1px";x.style.backgroundColor="white"==Dialog.backdropColor?"whiteSmoke":Dialog.backdropColor;mxClient.IS_QUIRKS&&(x.style.filter= -"none");A=document.createElement("a");A.className="geButton";mxClient.IS_QUIRKS&&(A.style.filter="none");if(!u){var E=A.cloneNode();E.innerHTML='<div class="geSprite geSprite-plus" style="display:inline-block;"></div>';E.setAttribute("title",mxResources.get("create")+"...");mxEvent.addListener(E,"click",function(b){function d(){v(f,g,function(b){B(g);a.addComment(b,function(a){b.id=a;C.push(b);e(g)},function(b){c(g);d();a.handleError(b,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})}, -!0)}var f=a.newComment("",a.getCurrentUser()),g=k(f,C,null,0);d();b.preventDefault();mxEvent.consume(b)});x.appendChild(E)}E=A.cloneNode();E.innerHTML='<img src="'+IMAGE_PATH+'/check.png" style="width: 16px; padding: 2px;">';E.setAttribute("title",mxResources.get("showResolved"));var t=!1;"dark"==uiTheme&&(E.style.filter="invert(100%)");mxEvent.addListener(E,"click",function(a){this.className=(t=!t)?"geButton geCheckedBtn":"geButton";K();a.preventDefault();mxEvent.consume(a)});x.appendChild(E);a.commentsRefreshNeeded()&& +null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})})},b.isResolved));t||0!=l||x(b.isResolved?mxResources.get("reopen"):mxResources.get("resolve"),function(a){function c(){var c=a.target;c.innerHTML="";b.isResolved=!b.isResolved;mxUtils.write(c,b.isResolved?mxResources.get("reopen"):mxResources.get("resolve"));for(var d=b.isResolved?"none":"",e=D(b).replies,f="dark"==uiTheme?"transparent":b.isResolved?"ghostWhite":"white",g=0;g<e.length;g++){e[g].style.backgroundColor=f;for(var k=e[g].querySelectorAll(".geCommentAction"), +l=0;l<k.length;l++)k[l]!=c.parentNode&&(k[l].style.display=d);u||(e[g].style.display="none")}p()}b.isResolved?y(mxResources.get("reOpened")+": ",!0,c,!1,!0):y(mxResources.get("markedAsResolved"),!1,c,!0)});A.appendChild(E);null!=f?q.insertBefore(A,f.nextSibling):q.appendChild(A);for(f=0;null!=b.replies&&f<b.replies.length;f++)E=b.replies[f],E.isResolved=b.isResolved,k(E,b.replies,null,l+1,m);null!=g&&(g.comment.id==b.id?(m=b.content,b.content=g.comment.content,v(b,A,g.saveCallback,g.deleteOnCancel), +b.content=m):null==g.comment.id&&g.comment.pCommentId==b.id&&(q.appendChild(g.div),v(g.comment,g.div,g.saveCallback,g.deleteOnCancel)));return A}}var t=!a.canComment(),n=a.canReplyToReplies(),g=null,y=document.createElement("div");y.className="geCommentsWin";y.style.background="white"==Dialog.backdropColor?"whiteSmoke":Dialog.backdropColor;var A=EditorUi.compactUi?"26px":"30px",q=document.createElement("div");q.className="geCommentsList";q.style.backgroundColor="white"==Dialog.backdropColor?"whiteSmoke": +Dialog.backdropColor;q.style.bottom=parseInt(A)+7+"px";y.appendChild(q);var F=document.createElement("span");F.style.cssText="display:none;padding-top:10px;text-align:center;";mxUtils.write(F,mxResources.get("noCommentsFound"));var x=document.createElement("div");x.className="geToolbarContainer geCommentsToolbar";x.style.height=A;x.style.padding=EditorUi.compactUi?"4px 0px 3px 0px":"1px";x.style.backgroundColor="white"==Dialog.backdropColor?"whiteSmoke":Dialog.backdropColor;mxClient.IS_QUIRKS&&(x.style.filter= +"none");A=document.createElement("a");A.className="geButton";mxClient.IS_QUIRKS&&(A.style.filter="none");if(!t){var E=A.cloneNode();E.innerHTML='<div class="geSprite geSprite-plus" style="display:inline-block;"></div>';E.setAttribute("title",mxResources.get("create")+"...");mxEvent.addListener(E,"click",function(b){function d(){v(f,g,function(b){B(g);a.addComment(b,function(a){b.id=a;C.push(b);e(g)},function(b){c(g);d();a.handleError(b,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))})}, +!0)}var f=a.newComment("",a.getCurrentUser()),g=k(f,C,null,0);d();b.preventDefault();mxEvent.consume(b)});x.appendChild(E)}E=A.cloneNode();E.innerHTML='<img src="'+IMAGE_PATH+'/check.png" style="width: 16px; padding: 2px;">';E.setAttribute("title",mxResources.get("showResolved"));var u=!1;"dark"==uiTheme&&(E.style.filter="invert(100%)");mxEvent.addListener(E,"click",function(a){this.className=(u=!u)?"geButton geCheckedBtn":"geButton";K();a.preventDefault();mxEvent.consume(a)});x.appendChild(E);a.commentsRefreshNeeded()&& (E=A.cloneNode(),E.innerHTML='<img src="'+IMAGE_PATH+'/update16.png" style="width: 16px; padding: 2px;">',E.setAttribute("title",mxResources.get("refresh")),"dark"==uiTheme&&(E.style.filter="invert(100%)"),mxEvent.addListener(E,"click",function(a){K();a.preventDefault();mxEvent.consume(a)}),x.appendChild(E));a.commentsSaveNeeded()&&(A=A.cloneNode(),A.innerHTML='<img src="'+IMAGE_PATH+'/save.png" style="width: 20px; padding: 2px;">',A.setAttribute("title",mxResources.get("save")),"dark"==uiTheme&& -(A.style.filter="invert(100%)"),mxEvent.addListener(A,"click",function(a){m();a.preventDefault();mxEvent.consume(a)}),x.appendChild(A));z.appendChild(x);var C=[],K=mxUtils.bind(this,function(){this.hasError=!1;if(null!=g){g.div=g.div.cloneNode(!0);var b=g.div.querySelector(".geCommentEditTxtArea"),c=g.div.querySelector(".geCommentEditBtns");g.comment.content=b.value;b.parentNode.removeChild(b);c.parentNode.removeChild(c)}q.innerHTML='<div style="padding-top:10px;text-align:center;"><img src="'+IMAGE_PATH+ +(A.style.filter="invert(100%)"),mxEvent.addListener(A,"click",function(a){m();a.preventDefault();mxEvent.consume(a)}),x.appendChild(A));y.appendChild(x);var C=[],K=mxUtils.bind(this,function(){this.hasError=!1;if(null!=g){g.div=g.div.cloneNode(!0);var b=g.div.querySelector(".geCommentEditTxtArea"),c=g.div.querySelector(".geCommentEditBtns");g.comment.content=b.value;b.parentNode.removeChild(b);c.parentNode.removeChild(c)}q.innerHTML='<div style="padding-top:10px;text-align:center;"><img src="'+IMAGE_PATH+ '/spin.gif" valign="middle"> '+mxUtils.htmlEntities(mxResources.get("loading"))+"...</div>";n=a.canReplyToReplies();a.commentsSupported()?a.getComments(function(a){function b(a){if(null!=a){a.sort(function(a,b){return new Date(a.modifiedDate)-new Date(b.modifiedDate)});for(var c=0;c<a.length;c++)b(a[c].replies)}}a.sort(function(a,b){return new Date(a.modifiedDate)-new Date(b.modifiedDate)});q.innerHTML="";q.appendChild(F);F.style.display="block";C=a;for(a=0;a<C.length;a++)b(C[a].replies),k(C[a],C, -null,0,t);null!=g&&null==g.comment.id&&null==g.comment.pCommentId&&(q.appendChild(g.div),v(g.comment,g.div,g.saveCallback,g.deleteOnCancel))},mxUtils.bind(this,function(a){q.innerHTML=mxUtils.htmlEntities(mxResources.get("error")+(a&&a.message?": "+a.message:""));this.hasError=!0})):q.innerHTML=mxUtils.htmlEntities(mxResources.get("error"))});K();this.refreshComments=K;x=mxUtils.bind(this,function(){function a(b){var d=c[b.id];if(null!=d)for(y(b,d),d=0;null!=b.replies&&d<b.replies.length;d++)a(b.replies[d])} -if(this.window.isVisible()){for(var b=q.querySelectorAll(".geCommentDate"),c={},d=0;d<b.length;d++){var e=b[d];c[e.getAttribute("data-commentId")]=e}for(d=0;d<C.length;d++)a(C[d])}});setInterval(x,6E4);this.refreshCommentsTime=x;this.window=new mxWindow(mxResources.get("comments"),z,b,f,d,l,!0,!0);this.window.minimumSize=new mxRectangle(0,0,300,200);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.window.addListener(mxEvent.SHOW, +null,0,u);null!=g&&null==g.comment.id&&null==g.comment.pCommentId&&(q.appendChild(g.div),v(g.comment,g.div,g.saveCallback,g.deleteOnCancel))},mxUtils.bind(this,function(a){q.innerHTML=mxUtils.htmlEntities(mxResources.get("error")+(a&&a.message?": "+a.message:""));this.hasError=!0})):q.innerHTML=mxUtils.htmlEntities(mxResources.get("error"))});K();this.refreshComments=K;x=mxUtils.bind(this,function(){function a(b){var d=c[b.id];if(null!=d)for(z(b,d),d=0;null!=b.replies&&d<b.replies.length;d++)a(b.replies[d])} +if(this.window.isVisible()){for(var b=q.querySelectorAll(".geCommentDate"),c={},d=0;d<b.length;d++){var e=b[d];c[e.getAttribute("data-commentId")]=e}for(d=0;d<C.length;d++)a(C[d])}});setInterval(x,6E4);this.refreshCommentsTime=x;this.window=new mxWindow(mxResources.get("comments"),y,b,f,d,l,!0,!0);this.window.minimumSize=new mxRectangle(0,0,300,200);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.window.addListener(mxEvent.SHOW, mxUtils.bind(this,function(){this.window.fit()}));this.window.setLocation=function(a,b){var c=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight;a=Math.max(0,Math.min(a,(window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth)-this.table.clientWidth));b=Math.max(0,Math.min(b,c-this.table.clientHeight-48));this.getX()==a&&this.getY()==b||mxWindow.prototype.setLocation.apply(this,arguments)};var Y=mxUtils.bind(this,function(){var a=this.window.getX(), -b=this.window.getY();this.window.setLocation(a,b)});mxEvent.addListener(window,"resize",Y);this.destroy=function(){mxEvent.removeListener(window,"resize",Y);this.window.destroy()}},ConfirmDialog=function(a,b,f,d,l,m,p,v,y,B,c){var e=document.createElement("div");e.style.textAlign="center";c=null!=c?c:44;var k=document.createElement("div");k.style.padding="6px";k.style.overflow="auto";k.style.maxHeight=c+"px";k.style.lineHeight="1.2em";mxClient.IS_QUIRKS&&(k.style.height="60px");mxUtils.write(k,b); -e.appendChild(k);null!=B&&(k=document.createElement("div"),k.style.padding="6px 0 6px 0",b=document.createElement("img"),b.setAttribute("src",B),k.appendChild(b),e.appendChild(k));B=document.createElement("div");B.style.textAlign="center";B.style.whiteSpace="nowrap";var u=document.createElement("input");u.setAttribute("type","checkbox");m=mxUtils.button(m||mxResources.get("cancel"),function(){a.hideDialog();null!=d&&d(u.checked)});m.className="geBtn";null!=v&&(m.innerHTML=v+"<br>"+m.innerHTML,m.style.paddingBottom= -"8px",m.style.paddingTop="8px",m.style.height="auto",m.style.width="40%");a.editor.cancelFirst&&B.appendChild(m);var n=mxUtils.button(l||mxResources.get("ok"),function(){a.hideDialog();null!=f&&f(u.checked)});B.appendChild(n);null!=p?(n.innerHTML=p+"<br>"+n.innerHTML+"<br>",n.style.paddingBottom="8px",n.style.paddingTop="8px",n.style.height="auto",n.className="geBtn",n.style.width="40%"):n.className="geBtn gePrimaryBtn";a.editor.cancelFirst||B.appendChild(m);e.appendChild(B);y?(B.style.marginTop= -"10px",k=document.createElement("p"),k.style.marginTop="20px",k.appendChild(u),l=document.createElement("span"),mxUtils.write(l," "+mxResources.get("rememberThisSetting")),k.appendChild(l),e.appendChild(k),mxEvent.addListener(l,"click",function(a){u.checked=!u.checked;mxEvent.consume(a)})):B.style.marginTop="12px";this.init=function(){n.focus()};this.container=e};function DiagramPage(a,b){this.node=a;null!=b?this.node.setAttribute("id",b):null==this.getId()&&this.node.setAttribute("id",Editor.guid())}DiagramPage.prototype.node=null;DiagramPage.prototype.root=null;DiagramPage.prototype.viewState=null;DiagramPage.prototype.getId=function(){return this.node.getAttribute("id")};DiagramPage.prototype.getName=function(){return this.node.getAttribute("name")}; +b=this.window.getY();this.window.setLocation(a,b)});mxEvent.addListener(window,"resize",Y);this.destroy=function(){mxEvent.removeListener(window,"resize",Y);this.window.destroy()}},ConfirmDialog=function(a,b,f,d,l,m,p,v,z,B,c){var e=document.createElement("div");e.style.textAlign="center";c=null!=c?c:44;var k=document.createElement("div");k.style.padding="6px";k.style.overflow="auto";k.style.maxHeight=c+"px";k.style.lineHeight="1.2em";mxClient.IS_QUIRKS&&(k.style.height="60px");mxUtils.write(k,b); +e.appendChild(k);null!=B&&(k=document.createElement("div"),k.style.padding="6px 0 6px 0",b=document.createElement("img"),b.setAttribute("src",B),k.appendChild(b),e.appendChild(k));B=document.createElement("div");B.style.textAlign="center";B.style.whiteSpace="nowrap";var t=document.createElement("input");t.setAttribute("type","checkbox");m=mxUtils.button(m||mxResources.get("cancel"),function(){a.hideDialog();null!=d&&d(t.checked)});m.className="geBtn";null!=v&&(m.innerHTML=v+"<br>"+m.innerHTML,m.style.paddingBottom= +"8px",m.style.paddingTop="8px",m.style.height="auto",m.style.width="40%");a.editor.cancelFirst&&B.appendChild(m);var n=mxUtils.button(l||mxResources.get("ok"),function(){a.hideDialog();null!=f&&f(t.checked)});B.appendChild(n);null!=p?(n.innerHTML=p+"<br>"+n.innerHTML+"<br>",n.style.paddingBottom="8px",n.style.paddingTop="8px",n.style.height="auto",n.className="geBtn",n.style.width="40%"):n.className="geBtn gePrimaryBtn";a.editor.cancelFirst||B.appendChild(m);e.appendChild(B);z?(B.style.marginTop= +"10px",k=document.createElement("p"),k.style.marginTop="20px",k.appendChild(t),l=document.createElement("span"),mxUtils.write(l," "+mxResources.get("rememberThisSetting")),k.appendChild(l),e.appendChild(k),mxEvent.addListener(l,"click",function(a){t.checked=!t.checked;mxEvent.consume(a)})):B.style.marginTop="12px";this.init=function(){n.focus()};this.container=e};function DiagramPage(a,b){this.node=a;null!=b?this.node.setAttribute("id",b):null==this.getId()&&this.node.setAttribute("id",Editor.guid())}DiagramPage.prototype.node=null;DiagramPage.prototype.root=null;DiagramPage.prototype.viewState=null;DiagramPage.prototype.getId=function(){return this.node.getAttribute("id")};DiagramPage.prototype.getName=function(){return this.node.getAttribute("name")}; DiagramPage.prototype.setName=function(a){null==a?this.node.removeAttribute("name"):this.node.setAttribute("name",a)};function RenamePage(a,b,f){this.ui=a;this.page=b;this.previous=this.name=f}RenamePage.prototype.execute=function(){var a=this.page.getName();this.page.setName(this.previous);this.name=this.previous;this.previous=a;this.ui.editor.graph.updatePlaceholders();this.ui.editor.fireEvent(new mxEventObject("pageRenamed"))}; function MovePage(a,b,f){this.ui=a;this.oldIndex=b;this.newIndex=f}MovePage.prototype.execute=function(){this.ui.pages.splice(this.newIndex,0,this.ui.pages.splice(this.oldIndex,1)[0]);var a=this.oldIndex;this.oldIndex=this.newIndex;this.newIndex=a;this.ui.editor.graph.updatePlaceholders();this.ui.editor.fireEvent(new mxEventObject("pageMoved"))}; function SelectPage(a,b,f){this.ui=a;this.previousPage=this.page=b;this.neverShown=!0;null!=b&&(this.neverShown=null==b.viewState,this.ui.updatePageRoot(b),null!=f&&(b.viewState=f,this.neverShown=!1))} @@ -3374,8 +3373,8 @@ EditorUi.prototype.updateTabContainer=function(){if(null!=this.tabContainer&&nul f)/this.pages.length)+1),l=null,m=0;m<this.pages.length;m++)mxUtils.bind(this,function(d,c){this.pages[d]==this.currentPage?(c.className="geActivePage",c.style.backgroundColor="dark"==uiTheme?"#2a2a2a":"#fff"):c.className="geInactivePage";c.setAttribute("draggable","true");mxEvent.addListener(c,"dragstart",mxUtils.bind(this,function(b){a.isEnabled()?(mxClient.IS_FF&&b.dataTransfer.setData("Text","<diagram/>"),l=d):mxEvent.consume(b)}));mxEvent.addListener(c,"dragend",mxUtils.bind(this,function(a){a.stopPropagation(); a.preventDefault()}));mxEvent.addListener(c,"dragover",mxUtils.bind(this,function(a){null!=l&&(a.dataTransfer.dropEffect="move");a.stopPropagation();a.preventDefault()}));mxEvent.addListener(c,"drop",mxUtils.bind(this,function(a){null!=l&&d!=l&&this.movePage(l,d);l=null;a.stopPropagation();a.preventDefault()}));b.appendChild(c)})(m,this.createTabForPage(this.pages[m],d,this.pages[m]!=this.currentPage,m+1));this.tabContainer.innerHTML="";this.tabContainer.appendChild(b);d=this.createPageMenuTab(); this.tabContainer.appendChild(d);d=null;this.isPageInsertTabVisible()&&(d=this.createPageInsertTab(),this.tabContainer.appendChild(d));if(b.clientWidth>this.tabContainer.clientWidth-f){null!=d&&(d.style.position="absolute",d.style.right="0px",b.style.marginRight="30px");var p=this.createControlTab(4," ❮ ");p.style.position="absolute";p.style.right=this.editor.chromeless?"29px":"55px";p.style.fontSize="13pt";this.tabContainer.appendChild(p);var v=this.createControlTab(4," ❯"); -v.style.position="absolute";v.style.right=this.editor.chromeless?"0px":"29px";v.style.fontSize="13pt";this.tabContainer.appendChild(v);var y=Math.max(0,this.tabContainer.clientWidth-(this.editor.chromeless?86:116));b.style.width=y+"px";mxEvent.addListener(p,"click",mxUtils.bind(this,function(a){b.scrollLeft-=Math.max(20,y-20);mxUtils.setOpacity(p,0<b.scrollLeft?100:50);mxUtils.setOpacity(v,b.scrollLeft<b.scrollWidth-b.clientWidth?100:50);mxEvent.consume(a)}));mxUtils.setOpacity(p,0<b.scrollLeft?100: -50);mxUtils.setOpacity(v,b.scrollLeft<b.scrollWidth-b.clientWidth?100:50);mxEvent.addListener(v,"click",mxUtils.bind(this,function(a){b.scrollLeft+=Math.max(20,y-20);mxUtils.setOpacity(p,0<b.scrollLeft?100:50);mxUtils.setOpacity(v,b.scrollLeft<b.scrollWidth-b.clientWidth?100:50);mxEvent.consume(a)}))}}};EditorUi.prototype.isPageInsertTabVisible=function(){return 1==urlParams.embed||null!=this.getCurrentFile()&&this.getCurrentFile().isEditable()}; +v.style.position="absolute";v.style.right=this.editor.chromeless?"0px":"29px";v.style.fontSize="13pt";this.tabContainer.appendChild(v);var z=Math.max(0,this.tabContainer.clientWidth-(this.editor.chromeless?86:116));b.style.width=z+"px";mxEvent.addListener(p,"click",mxUtils.bind(this,function(a){b.scrollLeft-=Math.max(20,z-20);mxUtils.setOpacity(p,0<b.scrollLeft?100:50);mxUtils.setOpacity(v,b.scrollLeft<b.scrollWidth-b.clientWidth?100:50);mxEvent.consume(a)}));mxUtils.setOpacity(p,0<b.scrollLeft?100: +50);mxUtils.setOpacity(v,b.scrollLeft<b.scrollWidth-b.clientWidth?100:50);mxEvent.addListener(v,"click",mxUtils.bind(this,function(a){b.scrollLeft+=Math.max(20,z-20);mxUtils.setOpacity(p,0<b.scrollLeft?100:50);mxUtils.setOpacity(v,b.scrollLeft<b.scrollWidth-b.clientWidth?100:50);mxEvent.consume(a)}))}}};EditorUi.prototype.isPageInsertTabVisible=function(){return 1==urlParams.embed||null!=this.getCurrentFile()&&this.getCurrentFile().isEditable()}; EditorUi.prototype.createTab=function(a){var b=document.createElement("div");b.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";b.style.whiteSpace="nowrap";b.style.boxSizing="border-box";b.style.position="relative";b.style.overflow="hidden";b.style.textAlign="center";b.style.marginLeft="-1px";b.style.height=this.tabContainer.clientHeight+"px";b.style.padding="12px 4px 8px 4px";b.style.border="dark"==uiTheme?"1px solid #505759":"1px solid #e8eaed";b.style.borderTopStyle="none";b.style.borderBottomStyle= "none";b.style.backgroundColor=this.tabContainer.style.backgroundColor;b.style.cursor="move";b.style.color="gray";a&&(mxEvent.addListener(b,"mouseenter",mxUtils.bind(this,function(a){this.editor.graph.isMouseDown||(b.style.backgroundColor="dark"==uiTheme?"black":"#e8eaed",mxEvent.consume(a))})),mxEvent.addListener(b,"mouseleave",mxUtils.bind(this,function(a){b.style.backgroundColor=this.tabContainer.style.backgroundColor;mxEvent.consume(a)})));return b}; EditorUi.prototype.createControlTab=function(a,b){var f=this.createTab(!0);f.style.lineHeight=this.tabContainerHeight+"px";f.style.paddingTop=a+"px";f.style.cursor="pointer";f.style.width="30px";f.innerHTML=b;null!=f.firstChild&&null!=f.firstChild.style&&mxUtils.setOpacity(f.firstChild,40);return f}; @@ -3385,37 +3384,37 @@ function(){this.removePage(f)}),b),a.addItem(mxResources.get("rename"),null,mxUt mxEvent.getClientX(a),l=mxEvent.getClientY(a);b.popup(d,l,null,a);this.setCurrentMenu(b);mxEvent.consume(a)}));return a};EditorUi.prototype.createPageInsertTab=function(){var a=this.createControlTab(4,'<div class="geSprite geSprite-plus" style="display:inline-block;width:21px;height:21px;"></div>');a.setAttribute("title",mxResources.get("insertPage"));mxEvent.addListener(a,"click",mxUtils.bind(this,function(a){this.insertPage();mxEvent.consume(a)}));return a}; EditorUi.prototype.createTabForPage=function(a,b,f,d){f=this.createTab(f);var l=a.getName()||mxResources.get("untitled"),m=a.getId();f.setAttribute("title",l+(null!=m?" ("+m+")":"")+" ["+d+"]");mxUtils.write(f,l);f.style.maxWidth=b+"px";f.style.width=b+"px";this.addTabListeners(a,f);42<b&&(f.style.textOverflow="ellipsis");return f}; EditorUi.prototype.addTabListeners=function(a,b){mxEvent.disableContextMenu(b);var f=this.editor.graph;mxEvent.addListener(b,"dblclick",mxUtils.bind(this,function(b){this.renamePage(a);mxEvent.consume(b)}));var d=!1,l=!1;mxEvent.addGestureListeners(b,mxUtils.bind(this,function(b){d=null!=this.currentMenu;l=a==this.currentPage;f.isMouseDown||l||this.selectPage(a)}),null,mxUtils.bind(this,function(m){if(f.isEnabled()&&!f.isMouseDown&&(mxEvent.isTouchEvent(m)&&l||mxEvent.isPopupTrigger(m))){f.popupMenuHandler.hideMenu(); -this.hideCurrentMenu();if(!mxEvent.isTouchEvent(m)||!d){var p=new mxPopupMenu(this.createPageMenu(a));p.div.className+=" geMenubarMenu";p.smartSeparators=!0;p.showDisabled=!0;p.autoExpand=!0;p.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(p,arguments);this.resetCurrentMenu();p.destroy()});var v=mxEvent.getClientX(m),y=mxEvent.getClientY(m);p.popup(v,y,null,m);this.setCurrentMenu(p,b)}mxEvent.consume(m)}}))}; +this.hideCurrentMenu();if(!mxEvent.isTouchEvent(m)||!d){var p=new mxPopupMenu(this.createPageMenu(a));p.div.className+=" geMenubarMenu";p.smartSeparators=!0;p.showDisabled=!0;p.autoExpand=!0;p.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(p,arguments);this.resetCurrentMenu();p.destroy()});var v=mxEvent.getClientX(m),z=mxEvent.getClientY(m);p.popup(v,z,null,m);this.setCurrentMenu(p,b)}mxEvent.consume(m)}}))}; EditorUi.prototype.createPageMenu=function(a,b){return mxUtils.bind(this,function(f,d){f.addItem(mxResources.get("insert"),null,mxUtils.bind(this,function(){this.insertPage(null,mxUtils.indexOf(this.pages,a)+1)}),d);f.addItem(mxResources.get("delete"),null,mxUtils.bind(this,function(){this.removePage(a)}),d);f.addItem(mxResources.get("rename"),null,mxUtils.bind(this,function(){this.renamePage(a,b)}),d);f.addSeparator(d);f.addItem(mxResources.get("duplicate"),null,mxUtils.bind(this,function(){this.duplicatePage(a, mxResources.get("copyOf",[a.getName()]))}),d)})};(function(){var a=EditorUi.prototype.refresh;EditorUi.prototype.refresh=function(b){a.apply(this,arguments);this.updateTabContainer()}})();(function(){mxCodecRegistry.getCodec(ChangePageSetup).exclude.push("page")})();(function(){var a=new mxObjectCodec(new MovePage,["ui"]);a.beforeDecode=function(a,f,d){d.ui=a.ui;return f};a.afterDecode=function(a,f,d){a=d.oldIndex;d.oldIndex=d.newIndex;d.newIndex=a;return d};mxCodecRegistry.register(a)})(); (function(){var a=new mxObjectCodec(new RenamePage,["ui","page"]);a.beforeDecode=function(a,f,d){d.ui=a.ui;return f};a.afterDecode=function(a,f,d){a=d.previous;d.previous=d.name;d.name=a;return d};mxCodecRegistry.register(a)})(); (function(){var a=new mxObjectCodec(new ChangePage,"ui relatedPage index neverShown page previousPage".split(" ")),b="defaultParent currentRoot scrollLeft scrollTop scale translate lastPasteXml pasteCounter".split(" ");a.afterEncode=function(a,d,l){l.setAttribute("relatedPage",d.relatedPage.getId());null==d.index&&(l.setAttribute("name",d.relatedPage.getName()),null!=d.relatedPage.viewState&&l.setAttribute("viewState",JSON.stringify(d.relatedPage.viewState,function(a,d){return 0>mxUtils.indexOf(b, a)?d:void 0})),null!=d.relatedPage.root&&a.encodeCell(d.relatedPage.root,l));return l};a.beforeDecode=function(a,b,l){l.ui=a.ui;l.relatedPage=l.ui.getPageById(b.getAttribute("relatedPage"));if(null==l.relatedPage){var d=b.ownerDocument.createElement("diagram");d.setAttribute("id",b.getAttribute("relatedPage"));d.setAttribute("name",b.getAttribute("name"));l.relatedPage=new DiagramPage(d);d=b.getAttribute("viewState");null!=d&&(l.relatedPage.viewState=JSON.parse(d),b.removeAttribute("viewState")); b=b.cloneNode(!0);d=b.firstChild;if(null!=d)for(l.relatedPage.root=a.decodeCell(d,!1),l=d.nextSibling,d.parentNode.removeChild(d),d=l;null!=d;){l=d.nextSibling;if(d.nodeType==mxConstants.NODETYPE_ELEMENT){var f=d.getAttribute("id");null==a.lookup(f)&&a.decodeCell(d)}d.parentNode.removeChild(d);d=l}}return b};a.afterDecode=function(a,b,l){l.index=l.previousIndex;return l};mxCodecRegistry.register(a)})();(function(){var a=mxClient.IS_SVG?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAMAAABhEH5lAAAASFBMVEUAAAAAAAB/f3/9/f319fUfHx/7+/s+Pj69vb0AAAAAAAAAAAAAAAAAAAAAAAAAAAB2dnZ1dXUAAAAAAAAVFRX///8ZGRkGBgbOcI1hAAAAE3RSTlMA+vr9/f38+fb1893Bo00u+/tFvPJUBQAAAIRJREFUGNM0jEcSxCAQAxlydGqD///TNWxZBx1aXVIrWysplbapL3sFxgDq/idXBnHgBPK1nIxwc55vCXl6dRFtrV6svs/A/UjsPcpzA5tqyByD92HqQlMFh45BG6ND1DiKSoPDdm96N77bg5F+wyaEqRGb8ZiOwHQqdg9hehszcLAEIQB2lQ4p/sEpnAAAAABJRU5ErkJggg==":IMAGE_PATH+"/move.png";EditorUi.prototype.altShiftActions[68]= -"selectDescendants";var b=Graph.prototype.foldCells;Graph.prototype.foldCells=function(a,d,f,v,y){d=null!=d?d:!1;null==f&&(f=this.getFoldableCells(this.getSelectionCells(),a));this.stopEditing();this.model.beginUpdate();try{for(var l=f.slice(),c=[],e=0;e<f.length;e++){var k=this.view.getState(f[e]),m=null!=k?k.style:this.getCellStyle(f[e]);"1"==mxUtils.getValue(m,"treeFolding","0")&&(this.traverse(f[e],!0,mxUtils.bind(this,function(a,b){null!=b&&c.push(b);a!=f[e]&&c.push(a);return a==f[e]||!this.model.isCollapsed(a)})), -this.model.setCollapsed(f[e],a))}for(e=0;e<c.length;e++)this.model.setVisible(c[e],!a);f=l;f=b.apply(this,arguments)}finally{this.model.endUpdate()}return f};var f=EditorUi.prototype.init;EditorUi.prototype.init=function(){f.apply(this,arguments);this.editor.isChromelessView()&&!this.editor.editable||this.addTrees()};EditorUi.prototype.addTrees=function(){function b(a){return z.isVertex(a)&&f(a)}function d(a){var b=!1;null!=a&&(b=g.view.getState(a),b="1"==(null!=b?b.style:g.getCellStyle(a)).treeMoving); -return b}function f(a){var b=!1;null!=a&&(a=z.getParent(a),b=g.view.getState(a),b="tree"==(null!=b?b.style:g.getCellStyle(a)).containerType);return b}function v(a){var b=!1;null!=a&&(a=z.getParent(a),b=g.view.getState(a),g.view.getState(a),b=null!=(null!=b?b.style:g.getCellStyle(a)).childLayout);return b}function y(a){a=g.view.getState(a);if(null!=a){var b=g.getIncomingEdges(a.cell);if(0<b.length&&(b=g.view.getState(b[0]),null!=b&&(b=b.absolutePoints,null!=b&&0<b.length&&(b=b[b.length-1],null!=b)))){if(b.y== -a.y&&Math.abs(b.x-a.getCenterX())<a.width/2)return mxConstants.DIRECTION_SOUTH;if(b.y==a.y+a.height&&Math.abs(b.x-a.getCenterX())<a.width/2)return mxConstants.DIRECTION_NORTH;if(b.x>a.getCenterX())return mxConstants.DIRECTION_WEST}}return mxConstants.DIRECTION_EAST}function B(a,b){b=null!=b?b:!0;g.model.beginUpdate();try{var c=g.model.getParent(a),d=g.getIncomingEdges(a),e=g.cloneCells([d[0],a]);g.model.setTerminal(e[0],g.model.getTerminal(d[0],!0),!0);var f=y(a),k=c.geometry;f==mxConstants.DIRECTION_SOUTH|| +"selectDescendants";var b=Graph.prototype.foldCells;Graph.prototype.foldCells=function(a,d,f,v,z){d=null!=d?d:!1;null==f&&(f=this.getFoldableCells(this.getSelectionCells(),a));this.stopEditing();this.model.beginUpdate();try{for(var l=f.slice(),c=[],e=0;e<f.length;e++){var k=this.view.getState(f[e]),m=null!=k?k.style:this.getCellStyle(f[e]);"1"==mxUtils.getValue(m,"treeFolding","0")&&(this.traverse(f[e],!0,mxUtils.bind(this,function(a,b){null!=b&&c.push(b);a!=f[e]&&c.push(a);return a==f[e]||!this.model.isCollapsed(a)})), +this.model.setCollapsed(f[e],a))}for(e=0;e<c.length;e++)this.model.setVisible(c[e],!a);f=l;f=b.apply(this,arguments)}finally{this.model.endUpdate()}return f};var f=EditorUi.prototype.init;EditorUi.prototype.init=function(){f.apply(this,arguments);this.editor.isChromelessView()&&!this.editor.editable||this.addTrees()};EditorUi.prototype.addTrees=function(){function b(a){return y.isVertex(a)&&f(a)}function d(a){var b=!1;null!=a&&(b=g.view.getState(a),b="1"==(null!=b?b.style:g.getCellStyle(a)).treeMoving); +return b}function f(a){var b=!1;null!=a&&(a=y.getParent(a),b=g.view.getState(a),b="tree"==(null!=b?b.style:g.getCellStyle(a)).containerType);return b}function v(a){var b=!1;null!=a&&(a=y.getParent(a),b=g.view.getState(a),g.view.getState(a),b=null!=(null!=b?b.style:g.getCellStyle(a)).childLayout);return b}function z(a){a=g.view.getState(a);if(null!=a){var b=g.getIncomingEdges(a.cell);if(0<b.length&&(b=g.view.getState(b[0]),null!=b&&(b=b.absolutePoints,null!=b&&0<b.length&&(b=b[b.length-1],null!=b)))){if(b.y== +a.y&&Math.abs(b.x-a.getCenterX())<a.width/2)return mxConstants.DIRECTION_SOUTH;if(b.y==a.y+a.height&&Math.abs(b.x-a.getCenterX())<a.width/2)return mxConstants.DIRECTION_NORTH;if(b.x>a.getCenterX())return mxConstants.DIRECTION_WEST}}return mxConstants.DIRECTION_EAST}function B(a,b){b=null!=b?b:!0;g.model.beginUpdate();try{var c=g.model.getParent(a),d=g.getIncomingEdges(a),e=g.cloneCells([d[0],a]);g.model.setTerminal(e[0],g.model.getTerminal(d[0],!0),!0);var f=z(a),k=c.geometry;f==mxConstants.DIRECTION_SOUTH|| f==mxConstants.DIRECTION_NORTH?e[1].geometry.x+=b?a.geometry.width+10:-e[1].geometry.width-10:e[1].geometry.y+=b?a.geometry.height+10:-e[1].geometry.height-10;g.view.currentRoot!=c&&(e[1].geometry.x-=k.x,e[1].geometry.y-=k.y);var l=g.view.getState(a),m=g.view.scale;if(null!=l){var n=mxRectangle.fromRectangle(l);f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH?n.x+=(b?a.geometry.width+10:-e[1].geometry.width-10)*m:n.y+=(b?a.geometry.height+10:-e[1].geometry.height-10)*m;var p=g.getOutgoingEdges(g.model.getTerminal(d[0], -!0));if(null!=p){for(var t=f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH,q=k=d=0;q<p.length;q++){var x=g.model.getTerminal(p[q],!1);if(f==y(x)){var u=g.view.getState(x);x!=a&&null!=u&&(t&&b!=u.getCenterX()<l.getCenterX()||!t&&b!=u.getCenterY()<l.getCenterY())&&mxUtils.intersects(n,u)&&(d=10+Math.max(d,(Math.min(n.x+n.width,u.x+u.width)-Math.max(n.x,u.x))/m),k=10+Math.max(k,(Math.min(n.y+n.height,u.y+u.height)-Math.max(n.y,u.y))/m))}}t?k=0:d=0;for(q=0;q<p.length;q++)if(x=g.model.getTerminal(p[q], -!1),f==y(x)&&(u=g.view.getState(x),x!=a&&null!=u&&(t&&b!=u.getCenterX()<l.getCenterX()||!t&&b!=u.getCenterY()<l.getCenterY()))){var v=[];g.traverse(u.cell,!0,function(a,b){null!=b&&v.push(b);v.push(a);return!0});g.moveCells(v,(b?1:-1)*d,(b?1:-1)*k)}}}return g.addCells(e,c)}finally{g.model.endUpdate()}}function c(a){g.model.beginUpdate();try{var b=y(a),c=g.getIncomingEdges(a),d=g.cloneCells([c[0],a]);g.model.setTerminal(c[0],d[1],!1);g.model.setTerminal(d[0],d[1],!0);g.model.setTerminal(d[0],a,!1); +!0));if(null!=p){for(var u=f==mxConstants.DIRECTION_SOUTH||f==mxConstants.DIRECTION_NORTH,q=k=d=0;q<p.length;q++){var x=g.model.getTerminal(p[q],!1);if(f==z(x)){var t=g.view.getState(x);x!=a&&null!=t&&(u&&b!=t.getCenterX()<l.getCenterX()||!u&&b!=t.getCenterY()<l.getCenterY())&&mxUtils.intersects(n,t)&&(d=10+Math.max(d,(Math.min(n.x+n.width,t.x+t.width)-Math.max(n.x,t.x))/m),k=10+Math.max(k,(Math.min(n.y+n.height,t.y+t.height)-Math.max(n.y,t.y))/m))}}u?k=0:d=0;for(q=0;q<p.length;q++)if(x=g.model.getTerminal(p[q], +!1),f==z(x)&&(t=g.view.getState(x),x!=a&&null!=t&&(u&&b!=t.getCenterX()<l.getCenterX()||!u&&b!=t.getCenterY()<l.getCenterY()))){var v=[];g.traverse(t.cell,!0,function(a,b){null!=b&&v.push(b);v.push(a);return!0});g.moveCells(v,(b?1:-1)*d,(b?1:-1)*k)}}}return g.addCells(e,c)}finally{g.model.endUpdate()}}function c(a){g.model.beginUpdate();try{var b=z(a),c=g.getIncomingEdges(a),d=g.cloneCells([c[0],a]);g.model.setTerminal(c[0],d[1],!1);g.model.setTerminal(d[0],d[1],!0);g.model.setTerminal(d[0],a,!1); var e=g.model.getParent(a),f=e.geometry,k=[];g.view.currentRoot!=e&&(d[1].geometry.x-=f.x,d[1].geometry.y-=f.y);g.traverse(a,!0,function(a,b){null!=b&&k.push(b);k.push(a);return!0});var l=a.geometry.width+40,m=a.geometry.height+40;b==mxConstants.DIRECTION_SOUTH?l=0:b==mxConstants.DIRECTION_NORTH?(l=0,m=-m):b==mxConstants.DIRECTION_WEST?(l=-l,m=0):b==mxConstants.DIRECTION_EAST&&(m=0);g.moveCells(k,l,m);return g.addCells(d,e)}finally{g.model.endUpdate()}}function e(a){g.model.beginUpdate();try{var b= -g.model.getParent(a),c=g.getIncomingEdges(a),d=g.cloneCells([c[0],a]);g.model.setTerminal(d[0],a,!0);var c=g.getOutgoingEdges(a),e=b.geometry,f=[];g.view.currentRoot==b&&(e=new mxRectangle);for(var k=0;k<c.length;k++){var l=g.model.getTerminal(c[k],!1);null!=l&&f.push(l)}var m=g.view.getBounds(f),n=y(a),p=g.view.translate,t=g.view.scale;n==mxConstants.DIRECTION_SOUTH?(d[1].geometry.x=null==m?a.geometry.x+(a.geometry.width-d[1].geometry.width)/2:(m.x+m.width)/t-p.x-e.x+10,d[1].geometry.y+=d[1].geometry.height- -e.y+40):n==mxConstants.DIRECTION_NORTH?(d[1].geometry.x=null==m?a.geometry.x+(a.geometry.width-d[1].geometry.width)/2:(m.x+m.width)/t-p.x+-e.x+10,d[1].geometry.y-=d[1].geometry.height+e.y+40):(d[1].geometry.x=n==mxConstants.DIRECTION_WEST?d[1].geometry.x-(d[1].geometry.width+e.x+40):d[1].geometry.x+(d[1].geometry.width-e.x+40),d[1].geometry.y=null==m?a.geometry.y+(a.geometry.height-d[1].geometry.height)/2:(m.y+m.height)/t-p.y+-e.y+10);return g.addCells(d,b)}finally{g.model.endUpdate()}}function k(a, -b,c){a=g.getOutgoingEdges(a);c=g.view.getState(c);var d=[];if(null!=c&&null!=a){for(var e=0;e<a.length;e++){var f=g.view.getState(g.model.getTerminal(a[e],!1));null!=f&&(!b&&Math.min(f.x+f.width,c.x+c.width)>=Math.max(f.x,c.x)||b&&Math.min(f.y+f.height,c.y+c.height)>=Math.max(f.y,c.y))&&d.push(f)}d.sort(function(a,c){return b?a.x+a.width-c.x-c.width:a.y+a.height-c.y-c.height})}return d}function u(a,b){var c=y(a),d=b==mxConstants.DIRECTION_EAST||b==mxConstants.DIRECTION_WEST;(c==mxConstants.DIRECTION_EAST|| -c==mxConstants.DIRECTION_WEST)==d&&c!=b?n.actions.get("selectParent").funct():c==b?(d=g.getOutgoingEdges(a),null!=d&&0<d.length&&g.setSelectionCell(g.model.getTerminal(d[0],!1))):(c=g.getIncomingEdges(a),null!=c&&0<c.length&&(d=k(g.model.getTerminal(c[0],!0),d,a),c=g.view.getState(a),null!=c&&(c=mxUtils.indexOf(d,c),0<=c&&(c+=b==mxConstants.DIRECTION_NORTH||b==mxConstants.DIRECTION_WEST?-1:1,0<=c&&c<=d.length-1&&g.setSelectionCell(d[c].cell)))))}var n=this,g=n.editor.graph,z=g.getModel(),A=n.menus.createPopupMenu; +g.model.getParent(a),c=g.getIncomingEdges(a),d=g.cloneCells([c[0],a]);g.model.setTerminal(d[0],a,!0);var c=g.getOutgoingEdges(a),e=b.geometry,f=[];g.view.currentRoot==b&&(e=new mxRectangle);for(var k=0;k<c.length;k++){var l=g.model.getTerminal(c[k],!1);null!=l&&f.push(l)}var m=g.view.getBounds(f),n=z(a),p=g.view.translate,u=g.view.scale;n==mxConstants.DIRECTION_SOUTH?(d[1].geometry.x=null==m?a.geometry.x+(a.geometry.width-d[1].geometry.width)/2:(m.x+m.width)/u-p.x-e.x+10,d[1].geometry.y+=d[1].geometry.height- +e.y+40):n==mxConstants.DIRECTION_NORTH?(d[1].geometry.x=null==m?a.geometry.x+(a.geometry.width-d[1].geometry.width)/2:(m.x+m.width)/u-p.x+-e.x+10,d[1].geometry.y-=d[1].geometry.height+e.y+40):(d[1].geometry.x=n==mxConstants.DIRECTION_WEST?d[1].geometry.x-(d[1].geometry.width+e.x+40):d[1].geometry.x+(d[1].geometry.width-e.x+40),d[1].geometry.y=null==m?a.geometry.y+(a.geometry.height-d[1].geometry.height)/2:(m.y+m.height)/u-p.y+-e.y+10);return g.addCells(d,b)}finally{g.model.endUpdate()}}function k(a, +b,c){a=g.getOutgoingEdges(a);c=g.view.getState(c);var d=[];if(null!=c&&null!=a){for(var e=0;e<a.length;e++){var f=g.view.getState(g.model.getTerminal(a[e],!1));null!=f&&(!b&&Math.min(f.x+f.width,c.x+c.width)>=Math.max(f.x,c.x)||b&&Math.min(f.y+f.height,c.y+c.height)>=Math.max(f.y,c.y))&&d.push(f)}d.sort(function(a,c){return b?a.x+a.width-c.x-c.width:a.y+a.height-c.y-c.height})}return d}function t(a,b){var c=z(a),d=b==mxConstants.DIRECTION_EAST||b==mxConstants.DIRECTION_WEST;(c==mxConstants.DIRECTION_EAST|| +c==mxConstants.DIRECTION_WEST)==d&&c!=b?n.actions.get("selectParent").funct():c==b?(d=g.getOutgoingEdges(a),null!=d&&0<d.length&&g.setSelectionCell(g.model.getTerminal(d[0],!1))):(c=g.getIncomingEdges(a),null!=c&&0<c.length&&(d=k(g.model.getTerminal(c[0],!0),d,a),c=g.view.getState(a),null!=c&&(c=mxUtils.indexOf(d,c),0<=c&&(c+=b==mxConstants.DIRECTION_NORTH||b==mxConstants.DIRECTION_WEST?-1:1,0<=c&&c<=d.length-1&&g.setSelectionCell(d[c].cell)))))}var n=this,g=n.editor.graph,y=g.getModel(),A=n.menus.createPopupMenu; n.menus.createPopupMenu=function(a,c,d){A.apply(this,arguments);if(1==g.getSelectionCount()){c=g.getSelectionCell();var e=g.getOutgoingEdges(c);a.addSeparator();null!=e&&0<e.length&&(b(g.getSelectionCell())&&this.addMenuItems(a,["selectChildren"],null,d),this.addMenuItems(a,["selectDescendants"],null,d));b(g.getSelectionCell())&&(a.addSeparator(),0<g.getIncomingEdges(c).length&&this.addMenuItems(a,["selectSiblings","selectParent"],null,d))}};n.actions.addAction("selectChildren",function(){if(g.isEnabled()&& 1==g.getSelectionCount()){var a=g.getSelectionCell(),a=g.getOutgoingEdges(a);if(null!=a){for(var b=[],c=0;c<a.length;c++)b.push(g.model.getTerminal(a[c],!1));g.setSelectionCells(b)}}},null,null,"Alt+Shift+X");n.actions.addAction("selectSiblings",function(){if(g.isEnabled()&&1==g.getSelectionCount()){var a=g.getSelectionCell(),a=g.getIncomingEdges(a);if(null!=a&&0<a.length&&(a=g.getOutgoingEdges(g.model.getTerminal(a[0],!0)),null!=a)){for(var b=[],c=0;c<a.length;c++)b.push(g.model.getTerminal(a[c], !1));g.setSelectionCells(b)}}},null,null,"Alt+Shift+S");n.actions.addAction("selectParent",function(){if(g.isEnabled()&&1==g.getSelectionCount()){var a=g.getSelectionCell(),a=g.getIncomingEdges(a);null!=a&&0<a.length&&g.setSelectionCell(g.model.getTerminal(a[0],!0))}},null,null,"Alt+Shift+P");n.actions.addAction("selectDescendants",function(){if(g.isEnabled()&&1==g.getSelectionCount()){var a=g.getSelectionCell(),b=[];g.traverse(a,!0,function(a,c){null!=c&&b.push(c);b.push(a);return!0});g.setSelectionCells(b)}}, -null,null,"Alt+Shift+D");var q=g.removeCells;g.removeCells=function(a,c){c=null!=c?c:!0;null==a&&(a=this.getDeletableCells(this.getSelectionCells()));c&&(a=this.getDeletableCells(this.addAllEdges(a)));for(var d=[],e=0;e<a.length;e++){var k=a[e];z.isEdge(k)&&f(k)&&(d.push(k),k=z.getTerminal(k,!1));b(k)?(g.traverse(k,!0,function(a,b){null!=b&&d.push(b);d.push(a);return!0}),k=g.getIncomingEdges(a[e]),a=a.concat(k)):d.push(a[e])}a=d;return q.apply(this,arguments)};n.hoverIcons.getStateAt=function(a,c, +null,null,"Alt+Shift+D");var q=g.removeCells;g.removeCells=function(a,c){c=null!=c?c:!0;null==a&&(a=this.getDeletableCells(this.getSelectionCells()));c&&(a=this.getDeletableCells(this.addAllEdges(a)));for(var d=[],e=0;e<a.length;e++){var k=a[e];y.isEdge(k)&&f(k)&&(d.push(k),k=y.getTerminal(k,!1));b(k)?(g.traverse(k,!0,function(a,b){null!=b&&d.push(b);d.push(a);return!0}),k=g.getIncomingEdges(a[e]),a=a.concat(k)):d.push(a[e])}a=d;return q.apply(this,arguments)};n.hoverIcons.getStateAt=function(a,c, d){return b(a.cell)?null:this.graph.view.getState(this.graph.getCellAt(c,d))};var F=g.duplicateCells;g.duplicateCells=function(a,c){a=null!=a?a:this.getSelectionCells();for(var d=a.slice(0),e=0;e<d.length;e++){var f=g.view.getState(d[e]);if(null!=f&&b(f.cell))for(var k=g.getIncomingEdges(f.cell),f=0;f<k.length;f++)mxUtils.remove(k[f],a)}this.model.beginUpdate();try{var l=F.call(this,a,c);if(l.length==a.length)for(e=0;e<a.length;e++)if(b(a[e])){var m=g.getIncomingEdges(l[e]),k=g.getIncomingEdges(a[e]); -if(0==m.length&&0<k.length){var n=this.cloneCell(k[0]);this.addEdge(n,g.getDefaultParent(),this.model.getTerminal(k[0],!0),l[e])}}}finally{this.model.endUpdate()}return l};var x=g.moveCells;g.moveCells=function(a,c,d,e,f,k,l){var m=null;this.model.beginUpdate();try{var n=f,p=this.view.getState(f),t=null!=p?p.style:this.getCellStyle(f);if(null!=a&&b(f)&&"1"==mxUtils.getValue(t,"treeFolding","0")){for(var q=0;q<a.length;q++)if(b(a[q])||g.model.isEdge(a[q])&&null==g.model.getTerminal(a[q],!0)){f=g.model.getParent(a[q]); -break}if(null!=n&&f!=n&&null!=this.view.getState(a[0])){var u=g.getIncomingEdges(a[0]);if(0<u.length){var v=g.view.getState(g.model.getTerminal(u[0],!0));if(null!=v){var z=g.view.getState(n);null!=z&&(c=(z.getCenterX()-v.getCenterX())/g.view.scale,d=(z.getCenterY()-v.getCenterY())/g.view.scale)}}}}m=x.apply(this,arguments);if(null!=m&&null!=a&&m.length==a.length)for(q=0;q<m.length;q++)if(this.model.isEdge(m[q]))b(n)&&0>mxUtils.indexOf(m,this.model.getTerminal(m[q],!0))&&this.model.setTerminal(m[q], -n,!0);else if(b(a[q])&&(u=g.getIncomingEdges(a[q]),0<u.length))if(!e)b(n)&&0>mxUtils.indexOf(a,this.model.getTerminal(u[0],!0))&&this.model.setTerminal(u[0],n,!0);else if(0==g.getIncomingEdges(m[q]).length){p=n;if(null==p||p==g.model.getParent(a[q]))p=g.model.getTerminal(u[0],!0);e=this.cloneCell(u[0]);this.addEdge(e,g.getDefaultParent(),p,m[q])}}finally{this.model.endUpdate()}return m};if(null!=n.sidebar){var E=n.sidebar.dropAndConnect;n.sidebar.dropAndConnect=function(a,c,d,e){var f=g.model,k=null; -f.beginUpdate();try{if(k=E.apply(this,arguments),b(a))for(var l=0;l<k.length;l++)if(f.isEdge(k[l])&&null==f.getTerminal(k[l],!0)){f.setTerminal(k[l],a,!0);var m=g.getCellGeometry(k[l]);m.points=null;null!=m.getTerminalPoint(!0)&&m.setTerminalPoint(null,!0)}}finally{f.endUpdate()}return k}}var t={88:n.actions.get("selectChildren"),84:n.actions.get("selectSubtree"),80:n.actions.get("selectParent"),83:n.actions.get("selectSiblings")},C=n.onKeyDown;n.onKeyDown=function(a){try{if(g.isEnabled()&&!g.isEditing()&& +if(0==m.length&&0<k.length){var n=this.cloneCell(k[0]);this.addEdge(n,g.getDefaultParent(),this.model.getTerminal(k[0],!0),l[e])}}}finally{this.model.endUpdate()}return l};var x=g.moveCells;g.moveCells=function(a,c,d,e,f,k,l){var m=null;this.model.beginUpdate();try{var n=f,p=this.view.getState(f),u=null!=p?p.style:this.getCellStyle(f);if(null!=a&&b(f)&&"1"==mxUtils.getValue(u,"treeFolding","0")){for(var q=0;q<a.length;q++)if(b(a[q])||g.model.isEdge(a[q])&&null==g.model.getTerminal(a[q],!0)){f=g.model.getParent(a[q]); +break}if(null!=n&&f!=n&&null!=this.view.getState(a[0])){var t=g.getIncomingEdges(a[0]);if(0<t.length){var v=g.view.getState(g.model.getTerminal(t[0],!0));if(null!=v){var y=g.view.getState(n);null!=y&&(c=(y.getCenterX()-v.getCenterX())/g.view.scale,d=(y.getCenterY()-v.getCenterY())/g.view.scale)}}}}m=x.apply(this,arguments);if(null!=m&&null!=a&&m.length==a.length)for(q=0;q<m.length;q++)if(this.model.isEdge(m[q]))b(n)&&0>mxUtils.indexOf(m,this.model.getTerminal(m[q],!0))&&this.model.setTerminal(m[q], +n,!0);else if(b(a[q])&&(t=g.getIncomingEdges(a[q]),0<t.length))if(!e)b(n)&&0>mxUtils.indexOf(a,this.model.getTerminal(t[0],!0))&&this.model.setTerminal(t[0],n,!0);else if(0==g.getIncomingEdges(m[q]).length){p=n;if(null==p||p==g.model.getParent(a[q]))p=g.model.getTerminal(t[0],!0);e=this.cloneCell(t[0]);this.addEdge(e,g.getDefaultParent(),p,m[q])}}finally{this.model.endUpdate()}return m};if(null!=n.sidebar){var E=n.sidebar.dropAndConnect;n.sidebar.dropAndConnect=function(a,c,d,e){var f=g.model,k=null; +f.beginUpdate();try{if(k=E.apply(this,arguments),b(a))for(var l=0;l<k.length;l++)if(f.isEdge(k[l])&&null==f.getTerminal(k[l],!0)){f.setTerminal(k[l],a,!0);var m=g.getCellGeometry(k[l]);m.points=null;null!=m.getTerminalPoint(!0)&&m.setTerminalPoint(null,!0)}}finally{f.endUpdate()}return k}}var u={88:n.actions.get("selectChildren"),84:n.actions.get("selectSubtree"),80:n.actions.get("selectParent"),83:n.actions.get("selectSiblings")},C=n.onKeyDown;n.onKeyDown=function(a){try{if(g.isEnabled()&&!g.isEditing()&& b(g.getSelectionCell())&&1==g.getSelectionCount()){var d=null;0<g.getIncomingEdges(g.getSelectionCell()).length&&(9==a.which?d=mxEvent.isShiftDown(a)?c(g.getSelectionCell()):e(g.getSelectionCell()):13==a.which&&(d=B(g.getSelectionCell(),!mxEvent.isShiftDown(a))));if(null!=d&&0<d.length)1==d.length&&g.model.isEdge(d[0])?g.setSelectionCell(g.model.getTerminal(d[0],!1)):g.setSelectionCell(d[d.length-1]),null!=n.hoverIcons&&n.hoverIcons.update(g.view.getState(g.getSelectionCell())),g.startEditingAtCell(g.getSelectionCell()), -mxEvent.consume(a);else if(mxEvent.isAltDown(a)&&mxEvent.isShiftDown(a)){var f=t[a.keyCode];null!=f&&(f.funct(a),mxEvent.consume(a))}else 37==a.keyCode?(u(g.getSelectionCell(),mxConstants.DIRECTION_WEST),mxEvent.consume(a)):38==a.keyCode?(u(g.getSelectionCell(),mxConstants.DIRECTION_NORTH),mxEvent.consume(a)):39==a.keyCode?(u(g.getSelectionCell(),mxConstants.DIRECTION_EAST),mxEvent.consume(a)):40==a.keyCode&&(u(g.getSelectionCell(),mxConstants.DIRECTION_SOUTH),mxEvent.consume(a))}}catch(P){console.log("error", -P)}mxEvent.isConsumed(a)||C.apply(this,arguments)};var K=g.connectVertex;g.connectVertex=function(a,d,f,k,l,m){var n=g.getIncomingEdges(a);return b(a)&&0<n.length?(f=y(a),k=f==mxConstants.DIRECTION_EAST||f==mxConstants.DIRECTION_WEST,l=d==mxConstants.DIRECTION_EAST||d==mxConstants.DIRECTION_WEST,f==d?e(a):k==l?c(a):B(a,d!=mxConstants.DIRECTION_NORTH&&d!=mxConstants.DIRECTION_WEST)):K.call(this,a,d,f,k,l,m)};g.getSubtree=function(a){var c=[a];!d(a)&&!b(a)||v(a)||g.traverse(a,!0,function(a,b){null!= +mxEvent.consume(a);else if(mxEvent.isAltDown(a)&&mxEvent.isShiftDown(a)){var f=u[a.keyCode];null!=f&&(f.funct(a),mxEvent.consume(a))}else 37==a.keyCode?(t(g.getSelectionCell(),mxConstants.DIRECTION_WEST),mxEvent.consume(a)):38==a.keyCode?(t(g.getSelectionCell(),mxConstants.DIRECTION_NORTH),mxEvent.consume(a)):39==a.keyCode?(t(g.getSelectionCell(),mxConstants.DIRECTION_EAST),mxEvent.consume(a)):40==a.keyCode&&(t(g.getSelectionCell(),mxConstants.DIRECTION_SOUTH),mxEvent.consume(a))}}catch(P){console.log("error", +P)}mxEvent.isConsumed(a)||C.apply(this,arguments)};var K=g.connectVertex;g.connectVertex=function(a,d,f,k,l,m){var n=g.getIncomingEdges(a);return b(a)&&0<n.length?(f=z(a),k=f==mxConstants.DIRECTION_EAST||f==mxConstants.DIRECTION_WEST,l=d==mxConstants.DIRECTION_EAST||d==mxConstants.DIRECTION_WEST,f==d?e(a):k==l?c(a):B(a,d!=mxConstants.DIRECTION_NORTH&&d!=mxConstants.DIRECTION_WEST)):K.call(this,a,d,f,k,l,m)};g.getSubtree=function(a){var c=[a];!d(a)&&!b(a)||v(a)||g.traverse(a,!0,function(a,b){null!= b&&0>mxUtils.indexOf(c,b)&&c.push(b);0>mxUtils.indexOf(c,a)&&c.push(a);return!0});return c};var Y=mxVertexHandler.prototype.init;mxVertexHandler.prototype.init=function(){Y.apply(this,arguments);(d(this.state.cell)||b(this.state.cell))&&0<this.graph.getOutgoingEdges(this.state.cell).length&&(this.moveHandle=mxUtils.createImage(a),this.moveHandle.setAttribute("title","Move Subtree"),this.moveHandle.style.position="absolute",this.moveHandle.style.cursor="pointer",this.moveHandle.style.width="18px", this.moveHandle.style.height="18px",this.graph.container.appendChild(this.moveHandle),mxEvent.addGestureListeners(this.moveHandle,mxUtils.bind(this,function(a){this.graph.graphHandler.start(this.state.cell,mxEvent.getClientX(a),mxEvent.getClientY(a));this.graph.graphHandler.cells=this.graph.getSubtree(this.state.cell);this.graph.graphHandler.bounds=this.state.view.getBounds(this.graph.graphHandler.cells);this.graph.graphHandler.pBounds=this.graph.graphHandler.getPreviewBounds(this.graph.graphHandler.cells); this.graph.graphHandler.cellWasClicked=!0;this.graph.isMouseTrigger=mxEvent.isMouseEvent(a);this.graph.isMouseDown=!0;mxEvent.consume(a)})))};var H=mxVertexHandler.prototype.redrawHandles;mxVertexHandler.prototype.redrawHandles=function(){H.apply(this,arguments);null!=this.moveHandle&&(this.moveHandle.style.left=this.state.x+this.state.width+(40>this.state.width?10:0)+2+"px",this.moveHandle.style.top=this.state.y+this.state.height+(40>this.state.height?10:0)+2+"px")};var Q=mxVertexHandler.prototype.destroy; @@ -3449,7 +3448,7 @@ mxWindow.prototype.minimizeImage=Graph.createSvgImage(14,10,'<path d="M 3 7 L 7 "#C0C0C0";mxConstants.CONNECT_HANDLE_FILLCOLOR="#cee7ff";mxConstants.DEFAULT_VALID_COLOR="#29b6f2";mxConstants.GUIDE_COLOR="#C0C0C0";mxConstants.HIGHLIGHT_STROKEWIDTH=5;mxConstants.HIGHLIGHT_OPACITY=35;mxConstants.OUTLINE_COLOR="#29b6f2";mxConstants.OUTLINE_HANDLE_FILLCOLOR="#29b6f2";mxConstants.OUTLINE_HANDLE_STROKECOLOR="#fff";Graph.prototype.svgShadowColor="#3D4574";Graph.prototype.svgShadowOpacity="0.4";Graph.prototype.svgShadowSize="0.6";Graph.prototype.svgShadowBlur="1.2";Format.prototype.inactiveTabBackgroundColor= "#f0f0f0";mxGraphHandler.prototype.previewColor="#C0C0C0";mxRubberband.prototype.defaultOpacity=50;HoverIcons.prototype.inactiveOpacity=25;Format.prototype.showCloseButton=!1;EditorUi.prototype.closableScratchpad=!1;EditorUi.prototype.toolbarHeight=46;EditorUi.prototype.footerHeight=0;Graph.prototype.editAfterInsert=!0;Editor.prototype.isChromelessView=function(){return!1};Graph.prototype.isLightboxView=function(){return!1};var m=EditorUi.prototype.updateTabContainer;EditorUi.prototype.updateTabContainer= function(){null!=this.tabContainer&&(this.tabContainer.style.right="70px",this.diagramContainer.style.bottom=this.tabContainerHeight+"px");m.apply(this,arguments)};var p=EditorUi.prototype.updateActionStates;EditorUi.prototype.updateActionStates=function(){p.apply(this,arguments);this.menus.get("save").setEnabled(null!=this.getCurrentFile()||"1"==urlParams.embed)};var v=Menus.prototype.addShortcut;Menus.prototype.addShortcut=function(a,b){null!=b.shortcut&&900>f&&!mxClient.IS_IOS?a.firstChild.nextSibling.setAttribute("title", -b.shortcut):v.apply(this,arguments)};var y=App.prototype.updateUserElement;App.prototype.updateUserElement=function(){y.apply(this,arguments);if(null!=this.userElement){var a=this.userElement;a.style.cssText="position:relative;margin-right:4px;cursor:pointer;display:"+a.style.display;a.className="geToolbarButton";a.innerHTML="";a.style.backgroundImage="url("+Editor.userImage+")";a.style.backgroundPosition="center center";a.style.backgroundRepeat="no-repeat";a.style.backgroundSize="24px 24px";a.style.height= +b.shortcut):v.apply(this,arguments)};var z=App.prototype.updateUserElement;App.prototype.updateUserElement=function(){z.apply(this,arguments);if(null!=this.userElement){var a=this.userElement;a.style.cssText="position:relative;margin-right:4px;cursor:pointer;display:"+a.style.display;a.className="geToolbarButton";a.innerHTML="";a.style.backgroundImage="url("+Editor.userImage+")";a.style.backgroundPosition="center center";a.style.backgroundRepeat="no-repeat";a.style.backgroundSize="24px 24px";a.style.height= "24px";a.style.width="24px";a.style.cssFloat="right";a.setAttribute("title",mxResources.get("changeUser"));"none"!=a.style.display&&(a.style.display="inline-block")}};var B=App.prototype.updateButtonContainer;App.prototype.updateButtonContainer=function(){B.apply(this,arguments);if(null!=this.shareButton){var a=this.shareButton;a.style.cssText="display:inline-block;position:relative;box-sizing:border-box;margin-right:4px;cursor:pointer;";a.className="geToolbarButton";a.innerHTML="";a.style.backgroundImage= "url("+Editor.shareImage+")";a.style.backgroundPosition="center center";a.style.backgroundRepeat="no-repeat";a.style.backgroundSize="24px 24px";a.style.height="24px";a.style.width="24px"}};EditorUi.prototype.addEmbedButtons=function(){if(null!=this.buttonContainer){var a=document.createElement("div");a.style.display="inline-block";a.style.position="relative";a.style.marginTop="8px";a.style.marginRight="4px";var b=document.createElement("a");b.className="geMenuItem gePrimaryBtn";b.style.marginLeft= "8px";b.style.padding="6px";"1"==urlParams.noSaveBtn?(mxUtils.write(b,mxResources.get("saveAndExit")),b.setAttribute("title",mxResources.get("saveAndExit")),mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("saveAndExit").funct()})),a.appendChild(b)):(mxUtils.write(b,mxResources.get("save")),b.setAttribute("title",mxResources.get("save")+" ("+Editor.ctrlKey+"+S)"),mxEvent.addListener(b,"click",mxUtils.bind(this,function(){this.actions.get("save").funct()})),a.appendChild(b), @@ -3459,7 +3458,7 @@ mxUtils.bind(this,function(a,b){var c=new FilenameDialog(this.editorUi,a,mxResou null,d),a.addSeparator(),this.addSubmenu("layout",a)):e.isSelectionEmpty()&&e.isEnabled()?(a.addSeparator(),this.addMenuItems(a,["editData"],null,d),a.addSeparator(),this.addSubmenu("layout",a),this.addSubmenu("view",a,null,mxResources.get("options")),this.addMenuItems(a,["-","exitGroup"],null,d)):e.isEnabled()&&this.addMenuItems(a,["-","lockUnlock"],null,d)};EditorUi.prototype.toggleFormatPanel=function(b){null!=this.formatWindow?this.formatWindow.window.setVisible(b?!1:!this.formatWindow.window.isVisible()): a(this)};DiagramFormatPanel.prototype.isMathOptionVisible=function(){return!0};var e=EditorUi.prototype.destroy;EditorUi.prototype.destroy=function(){null!=this.sidebarWindow&&(this.sidebarWindow.window.setVisible(!1),this.sidebarWindow.window.destroy(),this.sidebarWindow=null);null!=this.formatWindow&&(this.formatWindow.window.setVisible(!1),this.formatWindow.window.destroy(),this.formatWindow=null);null!=this.actions.outlineWindow&&(this.actions.outlineWindow.window.setVisible(!1),this.actions.outlineWindow.window.destroy(), this.actions.outlineWindow=null);null!=this.actions.layersWindow&&(this.actions.layersWindow.window.setVisible(!1),this.actions.layersWindow.window.destroy(),this.actions.layersWindow=null);null!=this.menus.tagsWindow&&(this.menus.tagsWindow.window.setVisible(!1),this.menus.tagsWindow.window.destroy(),this.menus.tagsWindow=null);null!=this.menus.findWindow&&(this.menus.findWindow.window.setVisible(!1),this.menus.findWindow.window.destroy(),this.menus.findWindow=null);e.apply(this,arguments)};var k= -EditorUi.prototype.setGraphEnabled;EditorUi.prototype.setGraphEnabled=function(a){k.apply(this,arguments);a||(null!=this.sidebarWindow&&this.sidebarWindow.window.setVisible(!1),null!=this.formatWindow&&this.formatWindow.window.setVisible(!1))};EditorUi.prototype.chromelessWindowResize=function(){};var u=Menus.prototype.init;Menus.prototype.init=function(){u.apply(this,arguments);var c=this.editorUi,d=c.editor.graph;c.actions.get("editDiagram").label=mxResources.get("formatXml")+"...";c.actions.get("createShape").label= +EditorUi.prototype.setGraphEnabled;EditorUi.prototype.setGraphEnabled=function(a){k.apply(this,arguments);a||(null!=this.sidebarWindow&&this.sidebarWindow.window.setVisible(!1),null!=this.formatWindow&&this.formatWindow.window.setVisible(!1))};EditorUi.prototype.chromelessWindowResize=function(){};var t=Menus.prototype.init;Menus.prototype.init=function(){t.apply(this,arguments);var c=this.editorUi,d=c.editor.graph;c.actions.get("editDiagram").label=mxResources.get("formatXml")+"...";c.actions.get("createShape").label= mxResources.get("shape")+"...";c.actions.get("outline").label=mxResources.get("outline")+"...";c.actions.get("layers").label=mxResources.get("layers")+"...";c.actions.put("importCsv",new Action(mxResources.get("csv")+"...",function(){d.popupMenuHandler.hideMenu();c.showImportCsvDialog()}));c.actions.put("importText",new Action(mxResources.get("text")+"...",function(){var a=new ParseDialog(c,"Insert from Text");c.showDialog(a.container,620,420,!0,!1);a.init()}));c.actions.put("formatSql",new Action(mxResources.get("formatSql")+ "...",function(){var a=new ParseDialog(c,"Insert from Text","formatSql");c.showDialog(a.container,620,420,!0,!1);a.init()}));c.actions.put("toggleShapes",new Action(mxResources.get("shapes")+"...",function(){b(c)}));c.actions.put("toggleFormat",new Action(mxResources.get("format")+"...",function(){a(c)}));EditorUi.enablePlantUml&&!c.isOffline()&&c.actions.put("plantUml",new Action(mxResources.get("plantUml")+"...",function(){var a=new ParseDialog(c,"Insert from Text","plantUml");c.showDialog(a.container, 620,420,!0,!1);a.init()}));this.put("diagram",new Menu(mxUtils.bind(this,function(a,b){var d=c.getCurrentFile();c.menus.addSubmenu("extras",a,b,mxResources.get("preferences"));a.addSeparator(b);mxClient.IS_CHROMEAPP||EditorUi.isElectronApp?(c.menus.addMenuItems(a,["new","open","-"],b),EditorUi.isElectronApp&&c.menus.addMenuItems(a,["synchronize","-"],b),c.menus.addMenuItems(a,["save","saveAs","-"],b)):"1"==urlParams.embed?(c.menus.addMenuItems(a,["-","save"],b),"1"==urlParams.saveAndExit&&c.menus.addMenuItems(a, @@ -3470,12 +3469,12 @@ b):(c.menus.addMenuItems(a,["save","saveAs","-","rename"],b),c.isOfflineApp()?na b);!c.isOfflineApp()&&isLocalStorage&&(a.addSeparator(b),c.menus.addMenuItem(a,"plugins",b));a.addSeparator(b)})));this.put("insertAdvanced",new Menu(mxUtils.bind(this,function(a,b){c.menus.addMenuItems(a,"importText plantUml - formatSql importCsv - createShape editDiagram".split(" "),b)})));this.put("insert",new Menu(mxUtils.bind(this,function(a,b){c.menus.addMenuItems(a,"insertRectangle insertEllipse insertRhombus - insertText insertLink - insertImage".split(" "),b);c.insertTemplateEnabled&&!c.isOffline()&& c.menus.addMenuItems(a,["insertTemplate"],b);a.addSeparator(b);this.addMenuItems(a,["createShape","insertFreehand","-"],b);this.addSubmenu("insertLayout",a,b,mxResources.get("layout"));this.addSubmenu("insertAdvanced",a,b,mxResources.get("advanced"));a.addSeparator(b);mxClient.IS_CHROMEAPP||EditorUi.isElectronApp?c.menus.addMenuItems(a,["import"],b):c.menus.addSubmenu("importFrom",a,b)})));var k="horizontalFlow verticalFlow - horizontalTree verticalTree radialTree - organic circle".split(" "),l=function(a, b,d,e){a.addItem(d,null,mxUtils.bind(this,function(){var a=new CreateGraphDialog(c,d,e);c.showDialog(a.container,620,420,!0,!1);a.init()}),b)};this.put("insertLayout",new Menu(mxUtils.bind(this,function(a,b){for(var c=0;c<k.length;c++)"-"==k[c]?a.addSeparator(b):l(a,b,mxResources.get(k[c])+"...",k[c])})));this.put("view",new Menu(mxUtils.bind(this,function(a,b){c.menus.addMenuItems(a,"grid guides - connectionArrows connectionPoints -".split(" "),b);if("undefined"!==typeof MathJax){var d=c.menus.addMenuItem(a, -"mathematicalTypesetting",b);c.menus.addLinkToItem(d,"https://desk.draw.io/support/solutions/articles/16000032875")}c.menus.addMenuItems(a,["copyConnect","collapseExpand","-","pageScale"],b)})))};var n=EditorUi.prototype.init;EditorUi.prototype.init=function(){function a(a,b,c){var d=l.menus.get(a),e=v.addMenu(mxResources.get(a),mxUtils.bind(this,function(){d.funct.apply(this,arguments)}),u);e.className="geMenuItem";e.style.display="inline-block";e.style.boxSizing="border-box";e.style.top="6px";e.style.marginRight= +"mathematicalTypesetting",b);c.menus.addLinkToItem(d,"https://desk.draw.io/support/solutions/articles/16000032875")}c.menus.addMenuItems(a,["copyConnect","collapseExpand","-","pageScale"],b)})))};var n=EditorUi.prototype.init;EditorUi.prototype.init=function(){function a(a,b,c){var d=l.menus.get(a),e=v.addMenu(mxResources.get(a),mxUtils.bind(this,function(){d.funct.apply(this,arguments)}),t);e.className="geMenuItem";e.style.display="inline-block";e.style.boxSizing="border-box";e.style.top="6px";e.style.marginRight= "6px";e.style.height="30px";e.style.paddingTop="6px";e.style.paddingBottom="6px";e.style.cursor="pointer";e.setAttribute("title",mxResources.get(a));l.menus.menuCreated(d,e,"geMenuItem");null!=c?(e.style.backgroundImage="url("+c+")",e.style.backgroundPosition="center center",e.style.backgroundRepeat="no-repeat",e.style.backgroundSize="24px 24px",e.style.width="34px",e.innerHTML=""):b||(e.style.backgroundImage="url("+mxWindow.prototype.normalizeImage+")",e.style.backgroundPosition="right 6px center", e.style.backgroundRepeat="no-repeat",e.style.paddingRight="22px");return e}function c(a,b,c,d,e,f){var g=document.createElement("a");g.className="geMenuItem";g.style.display="inline-block";g.style.boxSizing="border-box";g.style.height="30px";g.style.padding="6px";g.style.position="relative";g.style.verticalAlign="top";g.style.top="0px";null!=l.statusContainer?p.insertBefore(g,l.statusContainer):p.appendChild(g);null!=f?(g.style.backgroundImage="url("+f+")",g.style.backgroundPosition="center center", g.style.backgroundRepeat="no-repeat",g.style.backgroundSize="24px 24px",g.style.width="34px"):mxUtils.write(g,a);mxEvent.addListener(g,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(a){a.preventDefault()}));mxEvent.addListener(g,"click",function(a){"disabled"!=g.getAttribute("disabled")&&b(a);mxEvent.consume(a)});null==c&&(g.style.marginRight="4px");null!=d&&g.setAttribute("title",d);null!=e&&(a=function(){e.isEnabled()?(g.removeAttribute("disabled"),g.style.cursor="pointer"): (g.setAttribute("disabled","disabled"),g.style.cursor="default")},e.addListener("stateChanged",a),a());return g}function d(a,b){var c=document.createElement("div");c.className="geMenuItem";c.style.display="inline-block";c.style.verticalAlign="top";c.style.marginRight="6px";c.style.padding="0 4px 0 4px";c.style.height="30px";c.style.position="relative";c.style.top="0px";for(var d=0;d<a.length;d++)null!=a[d]&&(a[d].style.margin="0px",a[d].style.boxShadow="none",c.appendChild(a[d]));null!=b&&mxUtils.setOpacity(c, -b);null!=l.statusContainer?p.insertBefore(c,l.statusContainer):p.appendChild(c);return c}function e(){for(var b=p.firstChild;null!=b;){var e=b.nextSibling;"geMenuItem"!=b.className&&"geItem"!=b.className||b.parentNode.removeChild(b);b=e}u=p.firstChild;f=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;(b=1E3>f)||a("diagram");d([b?a("diagram",null,IMAGE_PATH+"/drawlogo.svg"):null,c(mxResources.get("shapes"),l.actions.get("toggleShapes").funct,null,mxResources.get("shapes"), +b);null!=l.statusContainer?p.insertBefore(c,l.statusContainer):p.appendChild(c);return c}function e(){for(var b=p.firstChild;null!=b;){var e=b.nextSibling;"geMenuItem"!=b.className&&"geItem"!=b.className||b.parentNode.removeChild(b);b=e}t=p.firstChild;f=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;(b=1E3>f)||a("diagram");d([b?a("diagram",null,IMAGE_PATH+"/drawlogo.svg"):null,c(mxResources.get("shapes"),l.actions.get("toggleShapes").funct,null,mxResources.get("shapes"), l.actions.get("image"),b?"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTMgMTN2OGg4di04aC04ek0zIDIxaDh2LThIM3Y4ek0zIDN2OGg4VjNIM3ptMTMuNjYtMS4zMUwxMSA3LjM0IDE2LjY2IDEzbDUuNjYtNS42Ni01LjY2LTUuNjV6Ii8+PC9zdmc+":null),c(mxResources.get("format"),l.actions.get("toggleFormat").funct,null,mxResources.get("format")+" ("+l.actions.get("formatPanel").shortcut+")",l.actions.get("image"),b?"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTIgM2MtNC45NyAwLTkgNC4wMy05IDlzNC4wMyA5IDkgOWMuODMgMCAxLjUtLjY3IDEuNS0xLjUgMC0uMzktLjE1LS43NC0uMzktMS4wMS0uMjMtLjI2LS4zOC0uNjEtLjM4LS45OSAwLS44My42Ny0xLjUgMS41LTEuNUgxNmMyLjc2IDAgNS0yLjI0IDUtNSAwLTQuNDItNC4wMy04LTktOHptLTUuNSA5Yy0uODMgMC0xLjUtLjY3LTEuNS0xLjVTNS42NyA5IDYuNSA5IDggOS42NyA4IDEwLjUgNy4zMyAxMiA2LjUgMTJ6bTMtNEM4LjY3IDggOCA3LjMzIDggNi41UzguNjcgNSA5LjUgNXMxLjUuNjcgMS41IDEuNVMxMC4zMyA4IDkuNSA4em01IDBjLS44MyAwLTEuNS0uNjctMS41LTEuNVMxMy42NyA1IDE0LjUgNXMxLjUuNjcgMS41IDEuNVMxNS4zMyA4IDE0LjUgOHptMyA0Yy0uODMgMC0xLjUtLjY3LTEuNS0xLjVTMTYuNjcgOSAxNy41IDlzMS41LjY3IDEuNSAxLjUtLjY3IDEuNS0xLjUgMS41eiIvPjwvc3ZnPg==": null)],b?60:null);e=a("insert",!0,b?"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTkgMTNoLTZ2NmgtMnYtNkg1di0yaDZWNWgydjZoNnYyeiIvPjwvc3ZnPg==":null);d([e,c(mxResources.get("delete"),l.actions.get("delete").funct,null,mxResources.get("delete"),l.actions.get("delete"),b?"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNNiAxOWMwIDEuMS45IDIgMiAyaDhjMS4xIDAgMi0uOSAyLTJWN0g2djEyek0xOSA0aC0zLjVsLTEtMWgtNWwtMSAxSDV2MmgxNFY0eiIvPjwvc3ZnPg==": null)],b?60:null);if(411<=f&&(e=l.actions.get("undo"),b=l.actions.get("redo"),e=c("",e.funct,null,mxResources.get("undo")+" ("+e.shortcut+")",e,"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTIuNSA4Yy0yLjY1IDAtNS4wNS45OS02LjkgMi42TDIgN3Y5aDlsLTMuNjItMy42MmMxLjM5LTEuMTYgMy4xNi0xLjg4IDUuMTItMS44OCAzLjU0IDAgNi41NSAyLjMxIDcuNiA1LjVsMi4zNy0uNzhDMjEuMDggMTEuMDMgMTcuMTUgOCAxMi41IDh6Ii8+PC9zdmc+"),b=c("", @@ -3485,8 +3484,8 @@ d([c("",function(){m.popupMenuHandler.hideMenu();var a=m.view.scale,b=m.view.tra null,640<=f?c("",e.funct,!0,mxResources.get("zoomOut")+" ("+Editor.ctrlKey+" -)",e,"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTUuNSAxNGgtLjc5bC0uMjgtLjI3QzE1LjQxIDEyLjU5IDE2IDExLjExIDE2IDkuNSAxNiA1LjkxIDEzLjA5IDMgOS41IDNTMyA1LjkxIDMgOS41IDUuOTEgMTYgOS41IDE2YzEuNjEgMCAzLjA5LS41OSA0LjIzLTEuNTdsLjI3LjI4di43OWw1IDQuOTlMMjAuNDkgMTlsLTQuOTktNXptLTYgMEM3LjAxIDE0IDUgMTEuOTkgNSA5LjVTNy4wMSA1IDkuNSA1IDE0IDcuMDEgMTQgOS41IDExLjk5IDE0IDkuNSAxNHpNNyA5aDV2MUg3eiIvPjwvc3ZnPg=="): null],60)}b=l.menus.get("language");null!=b&&!mxClient.IS_CHROMEAPP&&!EditorUi.isElectronApp&&600<=f?(null==O&&(e=v.addMenu("",b.funct),e.setAttribute("title",mxResources.get("language")),e.className="geToolbarButton",e.style.backgroundImage="url("+Editor.globeImage+")",e.style.backgroundPosition="center center",e.style.backgroundRepeat="no-repeat",e.style.backgroundSize="24px 24px",e.style.position="absolute",e.style.height="24px",e.style.width="24px",e.style.zIndex="1",e.style.right="8px",e.style.cursor= "pointer",e.style.top="1"==urlParams.embed?"12px":"11px",p.appendChild(e),O=e),l.buttonContainer.style.paddingRight="34px"):(l.buttonContainer.style.paddingRight="4px",null!=O&&(O.parentNode.removeChild(O),O=null))}n.apply(this,arguments);var k=document.createElement("div");k.style.cssText="position:absolute;left:0px;right:0px;top:0px;overflow-y:auto;overflow-x:hidden;";k.style.bottom="1"!=urlParams.embed||"1"==urlParams.libraries?"63px":"32px";this.sidebar=this.createSidebar(k);null==urlParams.clibs&& -null==urlParams.libs||b(this);var l=this,m=l.editor.graph;l.toolbar=this.createToolbar(l.createDiv("geToolbar"));l.defaultLibraryName=mxResources.get("untitledLibrary");var p=document.createElement("div");p.style.cssText="position:absolute;left:0px;right:0px;top:0px;height:30px;padding:8px;border-bottom:1px solid lightgray;background-color:#ffffff;text-align:left;white-space:nowrap;";var u=null,v=new Menubar(l,p);l.statusContainer=l.createStatusContainer();l.statusContainer.style.position="relative"; -l.statusContainer.style.maxWidth="";l.statusContainer.style.marginTop="7px";l.statusContainer.style.marginLeft="6px";l.statusContainer.style.color="gray";l.statusContainer.style.cursor="default";l.editor.addListener("statusChanged",mxUtils.bind(this,function(){l.setStatusText(l.editor.getStatus())}));var y=l.descriptorChanged;l.descriptorChanged=function(){y.apply(this,arguments);var a=l.getCurrentFile();if(null!=a&&null!=a.getTitle()){var b=a.getMode();"google"==b?b="googleDrive":"github"==b?b="gitHub": +null==urlParams.libs||b(this);var l=this,m=l.editor.graph;l.toolbar=this.createToolbar(l.createDiv("geToolbar"));l.defaultLibraryName=mxResources.get("untitledLibrary");var p=document.createElement("div");p.style.cssText="position:absolute;left:0px;right:0px;top:0px;height:30px;padding:8px;border-bottom:1px solid lightgray;background-color:#ffffff;text-align:left;white-space:nowrap;";var t=null,v=new Menubar(l,p);l.statusContainer=l.createStatusContainer();l.statusContainer.style.position="relative"; +l.statusContainer.style.maxWidth="";l.statusContainer.style.marginTop="7px";l.statusContainer.style.marginLeft="6px";l.statusContainer.style.color="gray";l.statusContainer.style.cursor="default";l.editor.addListener("statusChanged",mxUtils.bind(this,function(){l.setStatusText(l.editor.getStatus())}));var z=l.descriptorChanged;l.descriptorChanged=function(){z.apply(this,arguments);var a=l.getCurrentFile();if(null!=a&&null!=a.getTitle()){var b=a.getMode();"google"==b?b="googleDrive":"github"==b?b="gitHub": "gitlab"==b?b="gitLab":"onedrive"==b&&(b="oneDrive");b=mxResources.get(b);p.setAttribute("title",a.getTitle()+(null!=b?" ("+b+")":""))}else p.removeAttribute("title")};l.setStatusText(l.editor.getStatus());p.appendChild(l.statusContainer);l.buttonContainer=document.createElement("div");l.buttonContainer.style.cssText="position:absolute;right:0px;padding-right:34px;top:10px;white-space:nowrap;padding-top:2px;background-color:inherit;";p.appendChild(l.buttonContainer);l.menubarContainer=l.buttonContainer; l.tabContainer=document.createElement("div");l.tabContainer.style.cssText="position:absolute;left:0px;right:0px;bottom:0px;height:30px;white-space:nowrap;border-bottom:1px solid lightgray;background-color:#ffffff;border-top:1px solid lightgray;margin-bottom:-2px;visibility:hidden;";var k=l.diagramContainer.parentNode,B=document.createElement("div");B.style.cssText="position:absolute;top:0px;left:0px;right:0px;bottom:0px;overflow:hidden;";l.diagramContainer.style.top="47px";var Q=l.menus.get("viewZoom"); if(null!=Q){this.tabContainer.style.right="70px";var D=v.addMenu("100%",Q.funct);D.setAttribute("title",mxResources.get("zoom")+" (Alt+Mousewheel)");D.style.whiteSpace="nowrap";D.style.backgroundImage="url("+mxWindow.prototype.minimizeImage+")";D.style.backgroundPosition="right 6px center";D.style.backgroundRepeat="no-repeat";D.style.backgroundColor="#ffffff";D.style.paddingRight="10px";D.style.display="block";D.style.position="absolute";D.style.textDecoration="none";D.style.textDecoration="none"; @@ -3518,16 +3517,16 @@ this.handlingResize||(m=window.setTimeout(mxUtils.bind(this,this.fitGraph),100)) a.style.height&&this.autoFit?a.offsetHeight:void 0;if(0<a.offsetWidth&&(this.allowZoomIn||b.width+2*this.graph.border>a.offsetWidth||b.height+2*this.graph.border>f)){var m=null;null!=f&&b.height+2*this.graph.border>f-2&&(m=(f-2*this.graph.border-2)/b.height);this.fitGraph(m)}else this.widthIsEmpty||0!=this.graphConfig.resize||""==a.style.height?(this.graph.view.setTranslate(Math.floor(this.graph.border-b.x/this.graph.view.scale),Math.floor(this.graph.border-b.y/this.graph.view.scale)),l=a.offsetWidth): this.graph.center((!this.widthIsEmpty||b.width<this.minWidth)&&1!=this.graphConfig.resize);a.style.minWidth=d});mxClient.IS_QUIRKS||8==document.documentMode?window.setTimeout(p,0):p();this.positionGraph=function(){b=this.graph.getGraphBounds();l=null;p()}};GraphViewer.prototype.updateContainerWidth=function(a,b){a.style.width=b+"px"}; GraphViewer.prototype.updateContainerHeight=function(a,b){if(this.zoomEnabled||!this.autoFit||"BackCompat"==document.compatMode||mxClient.IS_QUIRKS||8==document.documentMode)a.style.height=b+"px"}; -GraphViewer.prototype.showLayers=function(a,b){var f=this.graphConfig.layers,f=null!=f?f.split(" "):[],d=this.graphConfig.layerIds,l=null!=d&&0<d.length;if(0<f.length||l||null!=b){var m=null!=b?b.getModel():null,p=a.getModel();p.beginUpdate();try{for(var v=p.getChildCount(p.root),y=0;y<v;y++)p.setVisible(p.getChildAt(p.root,y),null!=b?m.isVisible(m.getChildAt(m.root,y)):!1);if(null==m)if(l)for(y=0;y<d.length;y++)p.setVisible(p.getCell(d[y]),!0);else for(y=0;y<f.length;y++)p.setVisible(p.getChildAt(p.root, -parseInt(f[y])),!0)}finally{p.endUpdate()}}}; +GraphViewer.prototype.showLayers=function(a,b){var f=this.graphConfig.layers,f=null!=f?f.split(" "):[],d=this.graphConfig.layerIds,l=null!=d&&0<d.length;if(0<f.length||l||null!=b){var m=null!=b?b.getModel():null,p=a.getModel();p.beginUpdate();try{for(var v=p.getChildCount(p.root),z=0;z<v;z++)p.setVisible(p.getChildAt(p.root,z),null!=b?m.isVisible(m.getChildAt(m.root,z)):!1);if(null==m)if(l)for(z=0;z<d.length;z++)p.setVisible(p.getCell(d[z]),!0);else for(z=0;z<f.length;z++)p.setVisible(p.getChildAt(p.root, +parseInt(f[z])),!0)}finally{p.endUpdate()}}}; GraphViewer.prototype.addToolbar=function(){function a(a,b,d,e){var g=document.createElement("div");g.style.borderRight="1px solid #d0d0d0";g.style.padding="3px 6px 3px 6px";mxEvent.addListener(g,"click",a);null!=d&&g.setAttribute("title",d);g.style.display=mxClient.IS_QUIRKS?"inline":"inline-block";a=document.createElement("img");a.setAttribute("border","0");a.setAttribute("src",b);null==e||e?(mxEvent.addListener(g,"mouseenter",function(){g.style.backgroundColor="#ddd"}),mxEvent.addListener(g,"mouseleave", function(){g.style.backgroundColor="#eee"}),mxUtils.setOpacity(a,60),g.style.cursor="pointer"):mxUtils.setOpacity(g,30);g.appendChild(a);f.appendChild(g);c++;return g}var b=this.graph.container;"bottom"==this.graphConfig["toolbar-position"]?b.style.marginBottom=this.toolbarHeight+"px":"inline"!=this.graphConfig["toolbar-position"]&&(b.style.marginTop=this.toolbarHeight+"px");var f=b.ownerDocument.createElement("div");f.style.position="absolute";f.style.overflow="hidden";f.style.boxSizing="border-box"; f.style.whiteSpace="nowrap";f.style.textAlign="left";f.style.zIndex=this.toolbarZIndex;f.style.backgroundColor="#eee";f.style.height=this.toolbarHeight+"px";this.toolbar=f;if("inline"==this.graphConfig["toolbar-position"]){mxUtils.setPrefixedStyle(f.style,"transition","opacity 100ms ease-in-out");mxUtils.setOpacity(f,30);var d=null,l=null,m=mxUtils.bind(this,function(a){null!=d&&(window.clearTimeout(d),fadeThead=null);null!=l&&(window.clearTimeout(l),fadeThead2=null);d=window.setTimeout(mxUtils.bind(this, function(){mxUtils.setOpacity(f,0);d=null;l=window.setTimeout(mxUtils.bind(this,function(){f.style.display="none";l=null}),100)}),a||200)}),p=mxUtils.bind(this,function(a){null!=d&&(window.clearTimeout(d),fadeThead=null);null!=l&&(window.clearTimeout(l),fadeThead2=null);f.style.display="";mxUtils.setOpacity(f,a||30)});mxEvent.addListener(this.graph.container,mxClient.IS_POINTER?"pointermove":"mousemove",mxUtils.bind(this,function(a){mxEvent.isTouchEvent(a)||(p(30),m())}));mxEvent.addListener(f,mxClient.IS_POINTER? -"pointermove":"mousemove",function(a){mxEvent.consume(a)});mxEvent.addListener(f,"mouseenter",mxUtils.bind(this,function(a){p(100)}));mxEvent.addListener(f,"mousemove",mxUtils.bind(this,function(a){p(100);mxEvent.consume(a)}));mxEvent.addListener(f,"mouseleave",mxUtils.bind(this,function(a){mxEvent.isTouchEvent(a)||p(30)}));var v=this.graph,y=v.getTolerance();v.addMouseListener({startX:0,startY:0,scrollLeft:0,scrollTop:0,mouseDown:function(a,b){this.startX=b.getGraphX();this.startY=b.getGraphY(); -this.scrollLeft=v.container.scrollLeft;this.scrollTop=v.container.scrollTop},mouseMove:function(a,b){},mouseUp:function(a,b){mxEvent.isTouchEvent(b.getEvent())&&Math.abs(this.scrollLeft-v.container.scrollLeft)<y&&Math.abs(this.scrollTop-v.container.scrollTop)<y&&Math.abs(this.startX-b.getGraphX())<y&&Math.abs(this.startY-b.getGraphY())<y&&(0<parseFloat(f.style.opacity||0)?m():p(30))}})}for(var B=this.toolbarItems,c=0,e=null,k=null,u=0;u<B.length;u++){var n=B[u];if("pages"==n){k=b.ownerDocument.createElement("div"); -k.style.cssText="display:inline-block;position:relative;padding:3px 4px 0 4px;vertical-align:top;font-family:Helvetica,Arial;font-size:12px;top:4px;cursor:default;";mxUtils.setOpacity(k,70);var g=a(mxUtils.bind(this,function(){this.selectPage(this.currentPage-1)}),Editor.previousImage,mxResources.get("previousPage")||"Previous Page");g.style.borderRightStyle="none";g.style.paddingLeft="0px";g.style.paddingRight="0px";f.appendChild(k);var z=a(mxUtils.bind(this,function(){this.selectPage(this.currentPage+ -1)}),Editor.nextImage,mxResources.get("nextPage")||"Next Page");z.style.paddingLeft="0px";z.style.paddingRight="0px";n=mxUtils.bind(this,function(){k.innerHTML="";mxUtils.write(k,this.currentPage+1+" / "+this.diagrams.length);k.style.display=1<this.diagrams.length?"inline-block":"none";g.style.display=k.style.display;z.style.display=k.style.display});this.addListener("graphChanged",n);n()}else if("zoom"==n)this.zoomEnabled&&(a(mxUtils.bind(this,function(){this.graph.zoomOut()}),Editor.zoomOutImage, +"pointermove":"mousemove",function(a){mxEvent.consume(a)});mxEvent.addListener(f,"mouseenter",mxUtils.bind(this,function(a){p(100)}));mxEvent.addListener(f,"mousemove",mxUtils.bind(this,function(a){p(100);mxEvent.consume(a)}));mxEvent.addListener(f,"mouseleave",mxUtils.bind(this,function(a){mxEvent.isTouchEvent(a)||p(30)}));var v=this.graph,z=v.getTolerance();v.addMouseListener({startX:0,startY:0,scrollLeft:0,scrollTop:0,mouseDown:function(a,b){this.startX=b.getGraphX();this.startY=b.getGraphY(); +this.scrollLeft=v.container.scrollLeft;this.scrollTop=v.container.scrollTop},mouseMove:function(a,b){},mouseUp:function(a,b){mxEvent.isTouchEvent(b.getEvent())&&Math.abs(this.scrollLeft-v.container.scrollLeft)<z&&Math.abs(this.scrollTop-v.container.scrollTop)<z&&Math.abs(this.startX-b.getGraphX())<z&&Math.abs(this.startY-b.getGraphY())<z&&(0<parseFloat(f.style.opacity||0)?m():p(30))}})}for(var B=this.toolbarItems,c=0,e=null,k=null,t=0;t<B.length;t++){var n=B[t];if("pages"==n){k=b.ownerDocument.createElement("div"); +k.style.cssText="display:inline-block;position:relative;padding:3px 4px 0 4px;vertical-align:top;font-family:Helvetica,Arial;font-size:12px;top:4px;cursor:default;";mxUtils.setOpacity(k,70);var g=a(mxUtils.bind(this,function(){this.selectPage(this.currentPage-1)}),Editor.previousImage,mxResources.get("previousPage")||"Previous Page");g.style.borderRightStyle="none";g.style.paddingLeft="0px";g.style.paddingRight="0px";f.appendChild(k);var y=a(mxUtils.bind(this,function(){this.selectPage(this.currentPage+ +1)}),Editor.nextImage,mxResources.get("nextPage")||"Next Page");y.style.paddingLeft="0px";y.style.paddingRight="0px";n=mxUtils.bind(this,function(){k.innerHTML="";mxUtils.write(k,this.currentPage+1+" / "+this.diagrams.length);k.style.display=1<this.diagrams.length?"inline-block":"none";g.style.display=k.style.display;y.style.display=k.style.display});this.addListener("graphChanged",n);n()}else if("zoom"==n)this.zoomEnabled&&(a(mxUtils.bind(this,function(){this.graph.zoomOut()}),Editor.zoomOutImage, mxResources.get("zoomOut")||"Zoom Out"),a(mxUtils.bind(this,function(){this.graph.zoomIn()}),Editor.zoomInImage,mxResources.get("zoomIn")||"Zoom In"),a(mxUtils.bind(this,function(){this.graph.view.scaleAndTranslate(this.graph.initialViewState.scale,this.graph.initialViewState.translate.x,this.graph.initialViewState.translate.y)}),Editor.zoomFitImage,mxResources.get("fit")||"Fit"));else if("layers"==n){if(this.layersEnabled){var A=this.graph.getModel(),q=a(mxUtils.bind(this,function(a){if(null!=e)e.parentNode.removeChild(e), e=null;else{e=this.graph.createLayersDialog();mxEvent.addListener(e,"mouseleave",function(){e.parentNode.removeChild(e);e=null});a=q.getBoundingClientRect();e.style.width="140px";e.style.padding="2px 0px 2px 0px";e.style.border="1px solid #d0d0d0";e.style.backgroundColor="#eee";e.style.fontFamily="Helvetica Neue,Helvetica,Arial Unicode MS,Arial";e.style.fontSize="11px";e.style.zIndex=this.toolbarZIndex+1;mxUtils.setOpacity(e,80);var b=mxUtils.getDocumentScrollOrigin(document);e.style.left=b.x+a.left+ "px";e.style.top=b.y+a.bottom+"px";document.body.appendChild(e)}}),Editor.layersImage,mxResources.get("layers")||"Layers");A.addListener(mxEvent.CHANGE,function(){q.style.display=1<A.getChildCount(A.root)?"inline-block":"none"});q.style.display=1<A.getChildCount(A.root)?"inline-block":"none"}}else"lightbox"==n?this.lightboxEnabled&&a(mxUtils.bind(this,function(){this.showLightbox()}),Editor.maximizeImage,mxResources.get("show")||"Show"):null!=this.graphConfig["toolbar-buttons"]&&(n=this.graphConfig["toolbar-buttons"][n], @@ -3535,8 +3534,8 @@ null!=n&&a(null==n.enabled||n.enabled?n.handler:function(){},n.image,n.title,n.e 70),f.appendChild(B));this.minToolbarWidth=34*c;var F=b.style.border,B=mxUtils.bind(this,function(){f.style.width="inline"==this.graphConfig["toolbar-position"]?"auto":Math.max(this.minToolbarWidth,b.offsetWidth)+"px";f.style.border="1px solid #d0d0d0";if(1!=this.graphConfig["toolbar-nohide"]){var a=b.getBoundingClientRect(),c=mxUtils.getScrollOrigin(document.body),c="relative"===document.body.style.position?document.body.getBoundingClientRect():{left:-c.x,top:-c.y},a={left:a.left-c.left,top:a.top- c.top,bottom:a.bottom-c.top,right:a.right-c.left};f.style.left=a.left+"px";"bottom"==this.graphConfig["toolbar-position"]?f.style.top=a.bottom-1+"px":"inline"!=this.graphConfig["toolbar-position"]?(f.style.marginTop=-this.toolbarHeight+"px",f.style.top=a.top+1+"px"):f.style.top=a.top+"px";"1px solid transparent"==F&&(b.style.border="1px solid #d0d0d0");document.body.appendChild(f);var d=mxUtils.bind(this,function(){null!=f.parentNode&&f.parentNode.removeChild(f);null!=e&&(e.parentNode.removeChild(e), e=null);b.style.border=F});mxEvent.addListener(document,"mousemove",function(a){for(a=mxEvent.getSource(a);null!=a;){if(a==b||a==f||a==e)return;a=a.parentNode}d()});mxEvent.addListener(document,"mouseleave",function(a){d()})}else f.style.top=-this.toolbarHeight+"px",b.appendChild(f)});1!=this.graphConfig["toolbar-nohide"]?mxEvent.addListener(b,"mouseenter",B):B()}; -GraphViewer.prototype.addClickHandler=function(a,b){a.linkPolicy=this.graphConfig.target||a.linkPolicy;a.addClickHandler(this.graphConfig.highlight,mxUtils.bind(this,function(f,d){if(null==d){var l=mxEvent.getSource(f);"a"==l.nodeName.toLowerCase()&&(d=l.getAttribute("href"))}null!=b?null==d||a.isExternalProtocol(d)||a.isBlankLink(d)||window.setTimeout(function(){b.destroy()},0):null!=d&&null==b&&a.isCustomLink(d)&&(mxEvent.isTouchEvent(f)||!mxEvent.isPopupTrigger(f))&&a.customLinkClicked(d)&&mxEvent.consume(f)}), -mxUtils.bind(this,function(a){null!=b||!this.lightboxClickEnabled||mxEvent.isTouchEvent(a)&&0!=this.toolbarItems.length||this.showLightbox()}))}; +GraphViewer.prototype.addClickHandler=function(a,b){a.linkPolicy=this.graphConfig.target||a.linkPolicy;a.addClickHandler(this.graphConfig.highlight,mxUtils.bind(this,function(f,d){if(null==d){var l=mxEvent.getSource(f);"a"==l.nodeName.toLowerCase()&&(d=l.getAttribute("href"))}null!=b?null==d||a.isExternalProtocol(d)||a.isBlankLink(d)||a.customLinkClicked(d)?mxEvent.consume(f):window.setTimeout(function(){b.destroy()},0):null!=d&&null==b&&a.isCustomLink(d)&&(mxEvent.isTouchEvent(f)||!mxEvent.isPopupTrigger(f))&& +a.customLinkClicked(d)&&mxEvent.consume(f)}),mxUtils.bind(this,function(a){null!=b||!this.lightboxClickEnabled||mxEvent.isTouchEvent(a)&&0!=this.toolbarItems.length||this.showLightbox()}))}; GraphViewer.prototype.showLightbox=function(a,b,f){if("open"==this.graphConfig.lightbox||window.self!==window.top)if(null==this.lightboxWindow||this.lightboxWindow.closed){a=null!=a?a:null!=this.graphConfig.editable?this.graphConfig.editable:!0;f={client:1,lightbox:1,target:null!=f?f:"blank"};a&&(f.edit=this.graphConfig.edit||"_blank");if(null!=b?b:1)f.close=1;this.layersEnabled&&(f.layers=1);null!=this.graphConfig&&0!=this.graphConfig.nav&&(f.nav=1);null!=this.graphConfig&&null!=this.graphConfig.highlight&& (f.highlight=this.graphConfig.highlight.substring(1));null!=this.currentPage&&0<this.currentPage&&(f.page=this.currentPage);"undefined"!==typeof window.postMessage&&(null==document.documentMode||10<=document.documentMode)?null==this.lightboxWindow&&mxEvent.addListener(window,"message",mxUtils.bind(this,function(a){"ready"==a.data&&a.source==this.lightboxWindow&&this.lightboxWindow.postMessage(this.xml,"*")})):f.data=encodeURIComponent(this.xml);a="www.draw.io";"1"==urlParams.dev&&(f.dev="1",f.drawdev= "1",a="test.draw.io");this.lightboxWindow=window.open("https://"+a+"/#P"+encodeURIComponent(JSON.stringify(f)))}else this.lightboxWindow.focus();else this.showLocalLightbox()}; @@ -3544,10 +3543,10 @@ GraphViewer.prototype.showLocalLightbox=function(){var a=mxUtils.getDocumentScro var f=document.createElement("img");f.setAttribute("border","0");f.setAttribute("src",Editor.closeImage);mxClient.IS_QUIRKS?(f.style.position="absolute",f.style.right="32px",f.style.top=a.y+32+"px"):f.style.cssText="position:fixed;top:32px;right:32px;";f.style.cursor="pointer";mxEvent.addListener(f,"click",function(){l.destroy()});urlParams.pages="1";urlParams.page=this.currentPage;urlParams["page-id"]=this.graphConfig.pageId;urlParams["layer-ids"]=null!=this.graphConfig.layerIds?this.graphConfig.layerIds.join(" "): null;urlParams.nav=0!=this.graphConfig.nav?"1":"0";urlParams.layers=this.layersEnabled?"1":"0";if(null==document.documentMode||10<=document.documentMode)Editor.prototype.editButtonLink=this.graphConfig.edit,Editor.prototype.editButtonFunc=this.graphConfig.editFunc;EditorUi.prototype.updateActionStates=function(){};EditorUi.prototype.addBeforeUnloadListener=function(){};EditorUi.prototype.addChromelessClickHandler=function(){};var d=Graph.prototype.shadowId;Graph.prototype.shadowId="lightboxDropShadow"; var l=new EditorUi(new Editor(!0),document.createElement("div"),!0);l.editor.editBlankUrl=this.editBlankUrl;l.editor.graph.shadowId="lightboxDropShadow";Graph.prototype.shadowId=d;l.refresh=function(){};var m=mxUtils.bind(this,function(a){27==a.keyCode&&l.destroy()}),p=l.destroy;l.destroy=function(){mxEvent.removeListener(document.documentElement,"keydown",m);document.body.removeChild(b);document.body.removeChild(f);document.body.style.overflow="auto";GraphViewer.resizeSensorEnabled=!0;p.apply(this, -arguments)};var v=l.editor.graph,y=v.container;y.style.overflow="hidden";this.lightboxChrome?(y.style.border="1px solid #c0c0c0",y.style.margin="40px",mxEvent.addListener(document.documentElement,"keydown",m)):(b.style.display="none",f.style.display="none");var B=this;v.getImageFromBundles=function(a){return B.getImageUrl(a)};var c=l.createTemporaryGraph;l.createTemporaryGraph=function(){var a=c.apply(this,arguments);a.getImageFromBundles=function(a){return B.getImageUrl(a)};return a};this.graphConfig.move&& -(v.isMoveCellsEvent=function(a){return!0});mxClient.IS_QUIRKS||(mxUtils.setPrefixedStyle(y.style,"border-radius","4px"),y.style.position="fixed");GraphViewer.resizeSensorEnabled=!1;document.body.style.overflow="hidden";mxClient.IS_SF||mxClient.IS_EDGE||(mxUtils.setPrefixedStyle(y.style,"transform","rotateY(90deg)"),mxUtils.setPrefixedStyle(y.style,"transition","all .25s ease-in-out"));this.addClickHandler(v,l);window.setTimeout(mxUtils.bind(this,function(){y.style.outline="none";y.style.zIndex=this.lightboxZIndex; -f.style.zIndex=this.lightboxZIndex;document.body.appendChild(y);document.body.appendChild(f);l.setFileData(this.xml);mxUtils.setPrefixedStyle(y.style,"transform","rotateY(0deg)");l.chromelessToolbar.style.bottom="60px";l.chromelessToolbar.style.zIndex=this.lightboxZIndex;document.body.appendChild(l.chromelessToolbar);l.getEditBlankXml=mxUtils.bind(this,function(){return this.xml});mxClient.IS_QUIRKS&&(y.style.position="absolute",y.style.display="block",y.style.left=a.x+"px",y.style.top=a.y+"px",y.style.width= -document.body.clientWidth-80+"px",y.style.height=document.body.clientHeight-80+"px",y.style.backgroundColor="white",l.chromelessToolbar.style.display="block",l.chromelessToolbar.style.position="absolute",l.chromelessToolbar.style.bottom="",l.chromelessToolbar.style.top=a.y+document.body.clientHeight-100+"px");l.lightboxFit();l.chromelessResize();this.showLayers(v,this.graph);mxEvent.addListener(b,"click",function(){l.destroy()})}),0);return l}; +arguments)};var v=l.editor.graph,z=v.container;z.style.overflow="hidden";this.lightboxChrome?(z.style.border="1px solid #c0c0c0",z.style.margin="40px",mxEvent.addListener(document.documentElement,"keydown",m)):(b.style.display="none",f.style.display="none");var B=this;v.getImageFromBundles=function(a){return B.getImageUrl(a)};var c=l.createTemporaryGraph;l.createTemporaryGraph=function(){var a=c.apply(this,arguments);a.getImageFromBundles=function(a){return B.getImageUrl(a)};return a};this.graphConfig.move&& +(v.isMoveCellsEvent=function(a){return!0});mxClient.IS_QUIRKS||(mxUtils.setPrefixedStyle(z.style,"border-radius","4px"),z.style.position="fixed");GraphViewer.resizeSensorEnabled=!1;document.body.style.overflow="hidden";mxClient.IS_SF||mxClient.IS_EDGE||(mxUtils.setPrefixedStyle(z.style,"transform","rotateY(90deg)"),mxUtils.setPrefixedStyle(z.style,"transition","all .25s ease-in-out"));this.addClickHandler(v,l);window.setTimeout(mxUtils.bind(this,function(){z.style.outline="none";z.style.zIndex=this.lightboxZIndex; +f.style.zIndex=this.lightboxZIndex;document.body.appendChild(z);document.body.appendChild(f);l.setFileData(this.xml);mxUtils.setPrefixedStyle(z.style,"transform","rotateY(0deg)");l.chromelessToolbar.style.bottom="60px";l.chromelessToolbar.style.zIndex=this.lightboxZIndex;document.body.appendChild(l.chromelessToolbar);l.getEditBlankXml=mxUtils.bind(this,function(){return this.xml});mxClient.IS_QUIRKS&&(z.style.position="absolute",z.style.display="block",z.style.left=a.x+"px",z.style.top=a.y+"px",z.style.width= +document.body.clientWidth-80+"px",z.style.height=document.body.clientHeight-80+"px",z.style.backgroundColor="white",l.chromelessToolbar.style.display="block",l.chromelessToolbar.style.position="absolute",l.chromelessToolbar.style.bottom="",l.chromelessToolbar.style.top=a.y+document.body.clientHeight-100+"px");l.lightboxFit();l.chromelessResize();this.showLayers(v,this.graph);mxEvent.addListener(b,"click",function(){l.destroy()})}),0);return l}; GraphViewer.processElements=function(a){mxUtils.forEach(GraphViewer.getElementsByClassName(a||"mxgraph"),function(a){try{a.innerHTML="",GraphViewer.createViewerForElement(a)}catch(f){throw a.innerHTML=f.message,f;}})}; GraphViewer.getElementsByClassName=function(a){if(document.getElementsByClassName){var b=document.getElementsByClassName(a);a=[];for(var f=0;f<b.length;f++)a.push(b[f]);return a}for(var d=document.getElementsByTagName("*"),b=[],f=0;f<d.length;f++){var l=d[f].className;null!=l&&0<l.length&&(l=l.split(" "),0<=mxUtils.indexOf(l,a)&&b.push(d[f]))}return b}; GraphViewer.createViewerForElement=function(a,b){var f=a.getAttribute("data-mxgraph");if(null!=f){var d=JSON.parse(f),l=function(f){f=mxUtils.parseXml(f);f=new GraphViewer(a,f.documentElement,d);null!=b&&b(f)};null!=d.url?GraphViewer.getUrl(d.url,function(a){l(a)}):l(d.xml)}}; @@ -3555,7 +3554,7 @@ GraphViewer.initCss=function(){try{var a=document.createElement("style");a.type= GraphViewer.cachedUrls={};GraphViewer.getUrl=function(a,b,f){if(null!=GraphViewer.cachedUrls[a])b(GraphViewer.cachedUrls[a]);else{var d=0<navigator.userAgent.indexOf("MSIE 9")?new XDomainRequest:new XMLHttpRequest;d.open("GET",a);d.onload=function(){b(null!=d.getText?d.getText():d.responseText)};d.onerror=f;d.send()}};GraphViewer.resizeSensorEnabled=!0;GraphViewer.useResizeSensor=!0; (function(){var a=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(a){return window.setTimeout(a,20)},b=function(f,d){function l(){this.q=[];this.add=function(a){this.q.push(a)};var a,b;this.call=function(){a=0;for(b=this.q.length;a<b;a++)this.q[a].call()}}function m(a,b){return a.currentStyle?a.currentStyle[b]:window.getComputedStyle?window.getComputedStyle(a,null).getPropertyValue(b):a.style[b]}function p(b,c){if(!b.resizedAttached)b.resizedAttached= new l,b.resizedAttached.add(c);else if(b.resizedAttached){b.resizedAttached.add(c);return}b.resizeSensor=document.createElement("div");b.resizeSensor.className="resize-sensor";b.resizeSensor.style.cssText="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;";b.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;"><div style="position: absolute; left: 0; top: 0; transition: 0s;"></div></div><div class="resize-sensor-shrink" style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;"><div style="position: absolute; left: 0; top: 0; transition: 0s; width: 200%; height: 200%"></div></div>'; -b.appendChild(b.resizeSensor);"static"==m(b,"position")&&(b.style.position="relative");var d=b.resizeSensor.childNodes[0],e=d.childNodes[0],f=b.resizeSensor.childNodes[1],k=function(){e.style.width="100000px";e.style.height="100000px";d.scrollLeft=1E5;d.scrollTop=1E5;f.scrollLeft=1E5;f.scrollTop=1E5};k();var p=!1,q=function(){b.resizedAttached&&(p&&(b.resizedAttached.call(),p=!1),a(q))};a(q);var v,x,y,t,B=function(){if((y=b.offsetWidth)!=v||(t=b.offsetHeight)!=x)p=!0,v=y,x=t;k()},K=function(a,b,c){a.attachEvent? -a.attachEvent("on"+b,c):a.addEventListener(b,c)};K(d,"scroll",B);K(f,"scroll",B)}var v=function(){GraphViewer.resizeSensorEnabled&&d()},y=Object.prototype.toString.call(f),B="[object Array]"===y||"[object NodeList]"===y||"[object HTMLCollection]"===y||"undefined"!==typeof jQuery&&f instanceof jQuery||"undefined"!==typeof Elements&&f instanceof Elements;if(B)for(var y=0,c=f.length;y<c;y++)p(f[y],v);else p(f,v);this.detach=function(){if(B)for(var a=0,c=f.length;a<c;a++)b.detach(f[a]);else b.detach(f)}}; +b.appendChild(b.resizeSensor);"static"==m(b,"position")&&(b.style.position="relative");var d=b.resizeSensor.childNodes[0],e=d.childNodes[0],f=b.resizeSensor.childNodes[1],k=function(){e.style.width="100000px";e.style.height="100000px";d.scrollLeft=1E5;d.scrollTop=1E5;f.scrollLeft=1E5;f.scrollTop=1E5};k();var p=!1,q=function(){b.resizedAttached&&(p&&(b.resizedAttached.call(),p=!1),a(q))};a(q);var v,x,z,u,B=function(){if((z=b.offsetWidth)!=v||(u=b.offsetHeight)!=x)p=!0,v=z,x=u;k()},K=function(a,b,c){a.attachEvent? +a.attachEvent("on"+b,c):a.addEventListener(b,c)};K(d,"scroll",B);K(f,"scroll",B)}var v=function(){GraphViewer.resizeSensorEnabled&&d()},z=Object.prototype.toString.call(f),B="[object Array]"===z||"[object NodeList]"===z||"[object HTMLCollection]"===z||"undefined"!==typeof jQuery&&f instanceof jQuery||"undefined"!==typeof Elements&&f instanceof Elements;if(B)for(var z=0,c=f.length;z<c;z++)p(f[z],v);else p(f,v);this.detach=function(){if(B)for(var a=0,c=f.length;a<c;a++)b.detach(f[a]);else b.detach(f)}}; b.detach=function(a){a.resizeSensor&&(a.removeChild(a.resizeSensor),delete a.resizeSensor,delete a.resizedAttached)};window.ResizeSensor=b})(); (function(){Editor.initMath();GraphViewer.initCss();if(null!=window.onDrawioViewerLoad)window.onDrawioViewerLoad();else GraphViewer.processElements()})();