Lines Matching refs:n

4n)}function i(){function c(b,c){return a("<"+b+' xmlns="urn:schemas-microsoft.com:vml" class="spin…
10 (function(){var c=void 0,n=!0,s=null,C=!1,J=["aliceblue,antiquewhite,aqua,aquamarine,azure,beige,bi… variable
41n):f=h.Y();f?b.ea(h.k):f=h.$();var g=h.g,k=x(g);if(f)b.ca(h.V()),k=k&&k.replace(a,"");else if(f=!!…
42n&&d.push(this.n,"@"),d.push(this.k),s!==this.h&&d.push(":",this.h.toString()));s!==this.g&&d.push…
43 …return s!==this.j};e.prototype.da=function(d){this.n=d?d:s};e.prototype.X=function(){return s!==th…
52 f["+"]=f["~"]=f;ba=function(a,d,b){function g(i,r){function o(b,f,g){var y,e,i,l,o,m=n;y="";if(b<f)…
54 …ush(b);return m}" "===a[i]&&++i;r-1!==i&&" "===a[r]&&--r;for(var j=[],l=i,q=n,u=i;q&&u<r;++u){var …
55 …l)),n):!b||b(a.slice(i,r))}var e=d.na,v=d.L,x=d.Aa,N=[],u=0,i,q=0,B;for(i=0;i<a.length;++i)if(B=a[…
58 …startBlock:function(){r||q.push("{")},endBlock:function(){r||(q.push("}"),r=n)},startRuleset:funct…
59n:b=a.join(", "));r||q.push(b,"{")}F.push(s)},endRuleset:function(){F.pop();r||q.push("}");i()},de…
62 function M(b,a,g,f){var h=a,d=x(b,a,g,n);if(0>d)return d=~d,d===h?d+1:d;var y=b[d];if("{"!==y)retur…
64 …var f=0,h=e.length;f<h;)f=" "===e[f]?f+1:f<h?"@"===e[f].charAt(0)?g(e,f,h,a,n):M(e,f,h,a):f;a.endS…
88 …p,z).join("");a.A(D.substr(0,D.length-2),t,A,b(a,d,z+1,e,t))}p=z+1}else e.C=n}e.C&&a.e&&a.e("&lt;!…
89n}e.r&&a.e&&a.e("&lt;!",t,A,b(a,d,p,e,t))}else a.e&&a.e("&lt;!",t,A,b(a,d,p,e,t));break;case "<?":…
91 …e=[e,a[h++]];h<j;h++){if(i){if(">"===a[h])break}else 0<=a[h].indexOf(d)&&(i=n);e.push(a[h])}if(j<=…
101n=30,r=15,s=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),o=new Uint… argument
114 …&&d&&"number"===typeof d.length){l&&(d=l);var p=0,v=function(){};return{s:v,n:function(){return p>…
115 B=!1,C;return{s:function(){l=d[Symbol.iterator]()},n:function(){var d=l.next();z=d.done;return d},e…
123 …k=0;k<c.length-1;k++){var g=c[k],d=c[k+1];if(g[1]!==d[1]){var n=Math.min(g[1],d[1]);b.push({ymin:n,
124 ymax:Math.max(g[1],d[1]),x:n===g[1]?g[0]:d[0],islope:(d[0]-g[0])/(d[1]-g[1])})}}if(b.sort(function(…
126 …k.text],c=k.text);if(!(f+d<e.length))throw Error("Path data ended short");for(k=f;k<f+d;k++){var n=
127n.type)throw Error("Param not a number: "+c+","+n.text);g[g.length]=+n.text}if("number"!=typeof K[…
128n+=q[1];w.push({key:"M",data:[g,n]});m=g;x=n;break;case "L":w.push({key:"L",data:_toConsumableArra…
129n:a+g});w.push({key:"Q",data:p});g=p[2];n=p[3];break;case "A":w.push({key:"A",data:_toConsumableAr…
130n=q[3];break;case "s":var u=q.map(function(a,c){return c%2?a+n:a+g});w.push({key:"S",data:u});g=u[…
131 …ata:[m,x]});break;case "V":x=y[0];g.push({key:"L",data:[m,x]});break;case "S":var F=0,v=0;"C"===n||
132n?(F=m+(m-h),v=x+(x-q)):(F=m,v=x);g.push({key:"C",data:[F,v].concat(_toConsumableArray(y))});h=y[0…
133n=u}}catch(ka){b.e(ka)}finally{b.f()}return g}function I(b,a,e){return[b*Math.cos(e)-a*Math.sin(e)…
134 …=t*t/(f*f)+h*h/(k*k);1<q&&(q=Math.sqrt(q),f*=q,k*=q);q=f*f;var l=k*k;g=(g===n?-1:1)*Math.sqrt(Math…
135 n&&t>g&&(t-=2*Math.PI);!n&&g>t&&(g-=2*Math.PI)}Math.abs(g-t)>120*Math.PI/180&&(g=n&&g>t?t+120*Math.…
138n){e=Math.abs(e/2);c=Math.abs(c/2);e+=u(.01*e,n);for(c+=u(.01*c,n);0>f;)f+=2*Math.PI,k+=2*Math.PI;… argument
139 …ray(D(b,a,b+e*Math.cos(f),a+c*Math.sin(f),n)).concat(_toConsumableArray(D(b,a,b+e*Math.cos(k),a+c*…
141 …,a,e,c,f,k,d){var g=Math.pow(b-e,2)+Math.pow(a-c,2),n=Math.sqrt(g),m=1,m=200>n?1:500<n?.4:-.001666…
142n/10);var h=r/2,g=.2+.2*ea(f),n=f.bowing*f.maxRandomnessOffset*(c-a)/200,t=f.bowing*f.maxRandomnes…
143n+b+(e-b)*g+p(),t+a+(c-a)*g+p(),n+b+2*(e-b)*g+p(),t+a+2*(c-a)*g+p(),e+(v?0:p()),c+(v?0:p())]}),l}f…
144 k[0]=[n[0],n[1]];k[1]=[n[0]+(d*b[g+1][0]-d*b[g-1][0])/6,n[1]+(d*b[g+1][1]-d*b[g-1][1])/6];k[2]=[b[g…
145n=[],m=[],r=u(.5,g)-Math.PI/2;m.push([u(k,g)+a+.9*c*Math.cos(r-b),u(k,g)+e+.9*f*Math.sin(r-b)]);fo…
146n]}function da(b,a,e,c,f,k,d,g,n){var m=k+u(.1,n);k=[];for(k.push([u(g,n)+a+.9*c*Math.cos(m-b),u(g… argument
147 …ion V(b,a,e,c){c=c||[];var f=b[a+0],d=b[a+1],r=b[a+2],g=b[a+3],n=3*d[0]-2*f[0]-g[0],n=n*n,d=3*d[1]…
148n<m&&(n=m),d<f&&(d=f),n+d)<e?(e=b[a+0],c.length?1<(h=c[c.length-1],l=e,Math.sqrt(Q(h,l)))&&c.push(…
149 …Math.max(0,Math.min(1,p)),Q(h,E(l,t,p))));h>g&&(g=h,n=m)}return Math.sqrt(g)>c?(R(b,a,n+1,c,f),R(b…
150 …unction(a,e){var c=[],f=_createForOfIteratorHelper(a),b;try{for(f.s();!(b=f.n()).done;){var d=b.va…
152 (r=l(r,g,e[0],e[1]))){var g=h([r,e[0]]),n=h([r,e[1]]);g>c&&n>c&&b.push({point:r,distance:g})}}if(1<…
155 2);var r=b/4,g=_createForOfIteratorHelper(a),n;try{for(g.s();!(n=g.n()).done;)for(var m=n.value,l=h…
168n()).done;){var m=l.value,n=m.data;switch(m.key){case "M":h();a=[n[0],n[1]];f.push(a);break;case "…
169 …,b=[],d=[0,0],f=[0,0],e=_createForOfIteratorHelper(e),g;try{for(e.s();!(g=e.n()).done;){var k=g.va…
170 …C":var l=_slicedToArray(h,6),m=l[4],n=l[5];b.push.apply(b,_toConsumableArray(ta(l[0],l[1],l[2],l[3…
171n()).done;){var h=d.value,g="number"==typeof e&&0<=e?h.data.map(function(a){return+a.toFixed(e)}):…
172 …ons,c=[];a=_createForOfIteratorHelper(a.sets||[]);var b;try{for(a.s();!(b=a.n()).done;){var d=b.va…
174 e.n()).done;){var h=d.value;switch(h.type){case "path":b.save();b.strokeStyle="none"===c.stroke?"tr…
175 …a.beginPath();var b=_createForOfIteratorHelper(e.ops),d;try{for(b.s();!(d=b.n()).done;){var h=d.va…
176 …1],g[2],g[3],g[4],g[5]);break;case "lineTo":a.lineTo(g[0],g[1])}}}catch(n){b.e(n)}finally{b.f()}"f…
179 "g"),h=a.options.fixedDecimalPlaceDigits,b=_createForOfIteratorHelper(b),g;try{for(b.s();!(g=b.n())…
233 …mxUtils.setOpacity(m.shape.node,100*d/10);else{var n=a.getView().scale,p=(l.geometry.x-l.previous.…
234n,r=(l.geometry.width-l.previous.width)*n,n=(l.geometry.height-l.previous.height)*n;0==d?(m.x-=p,m…
259 …){k-=a;l-=b;if(0===c||0===d)return q;c=Math.abs(c);d=Math.abs(d);var m=-k/2,n=-l/2,p=Math.cos(e*Ma… variable
260n;var m=-1*q*m+p*n,n=e*e,r=m*m,t=c*c,u=d*d,x=n/t+r/u;1<x?(c*=Math.sqrt(x),d*=Math.sqrt(x),f=0):(x=…
261n=p*c;p*=d;c*=q;d*=q;for(var y=Math.cos(f),B=Math.sin(f),r=-m*(n*B+d*y),t=-m*(c*B-p*y),q=[],A=0;A<…
271n=mxUtils.getValue(a.style,mxConstants.STYLE_STARTSIZE)*a.view.scale;0<n&&(mxUtils.getValue(a.styl… variable
287n=f.getTranslate();f.translate=new mxPoint(d,e);b=new mxTemporaryCellStates(a.getView(),b,c);try{g…
435 …ll==d.div&&this.createSubmenu(d));d.tbody.appendChild(l);if(0!=g&&0!=f){var n=null;mxEvent.addGest…
436 …u(d,l),d.activeRow=l));null!=document.selection&&8==document.documentMode&&(n=document.selection.c…
437 this.hideMenu();if(null!=n){try{n.select()}catch(q){}n=null}null!=c&&c(a)}this.eventReceiver=null;m…
503 mxXmlCanvas2D.prototype.text=function(a,b,c,d,e,f,g,k,l,m,n,p,q){if(this.textEnabled&&null!=e){mxUt… argument
504 m);null!=n&&r.setAttribute("clip",n?"1":"0");null!=p&&r.setAttribute("rotation",p);null!=q&&r.setAt…
511 …rn c};mxSvgCanvas2D.prototype.getAlternateText=function(a,b,c,d,e,f,g,k,l,m,n,p,q){return null!=f?… argument
512 …eateAlternateContent=function(a,b,c,d,e,f,g,k,l,m,n,p,q){a=this.getAlternateText(a,b,c,d,e,f,g,k,l… argument
534 …;e=this.state.transform||"";if(g||k){var n=f=1,p=0,q=0;g&&(f=-1,p=-c-2*a);k&&(n=-1,q=-d-2*b);e+="s…
539 …ion(a,b,c,d,e,f,g,k,l,m,n){null!=n&&null!=n.firstChild&&null!=n.firstChild.firstChild&&this.update… argument
540n,p,q,r,t){q=this.createElement("g");var u=this.createElement("foreignObject");this.setCssText(u,"… argument
542 mxSvgCanvas2D.prototype.updateTextNodes=function(a,b,c,d,e,f,g,k,l,m,n){var p=this.state.scale;mxSv… argument
543 …Utils.bind(this,function(c,d,e,f,g){a+=this.state.dx;b+=this.state.dy;var k=n.firstChild,l=k.first…
544 …otate("+r+" "+a+" "+b+")":"";""!=t?n.setAttribute("transform",t):n.removeAttribute("transform");1!…
545 this.state.alpha):n.removeAttribute("opacity")}))};
546n,p,q){p="box-sizing: border-box; font-size: 0; text-align: "+(c==mxConstants.ALIGN_LEFT?"left":c=… argument
547n+="width: 100%; ",p+=t,r=0,0<b&&(p+="max-height: "+Math.round(b)+"px; ")):"block"==f?(t="width: "…
548 "px; ",""!=c&&"fill"!=f&&(r=0)):(n+="white-space: nowrap; ",""==c&&"block"!=f&&(x=0));q(x,r,m+t+u,p…
551n,p,q){if(this.textEnabled&&null!=e)if(p=null!=p?p:0,this.foEnabled&&"html"==l){var r=this.createD… argument
553n,p){n=null!=n?n:0;k=this.state;var q=k.fontSize,r=this.createElement("g"),t=k.transform||"";this.… argument
554 n-=d/2:g==mxConstants.ALIGN_BOTTOM&&(n-=d)),n=this.createClip(p*k.scale-2,n*k.scale-2,c*k.scale+4,d…
555n&&r.setAttribute("text-anchor",n);this.styleEnabled&&q==mxConstants.DEFAULT_FONTSIZE||r.setAttrib…
556 n-=d:(m=this.matchHtmlAlignment&&m&&0<d?Math.min(u,d):u,n-=m+1));for(m=0;m<t.length;m++)0<t[m].leng…
559n=null;if("fill"==l||"width"==l)g==mxConstants.ALIGN_CENTER?c-=e/2:g==mxConstants.ALIGN_RIGHT&&(c-…
560 n=new mxRectangle(n.x,n.y+(p?0:1),n.width,n.height+(p?1:0))}catch(q){}if(null==n||0==n.width||0==n.…
561n.style.fontWeight="bold"),(m.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&(n.styl…
562 …",Math.floor(n.x-1)),b.setAttribute("y",Math.floor(n.y-1)),b.setAttribute("width",Math.ceil(n.widt…
566 n=n||f};var e=function(c,d,e){var f=!1;e&&Math.abs(c-y)<r?(b.x=c-a.getCenterX(),r=Math.abs(c-y),f=!…
567 g.y+=b.y;for(var k=!1,l=null,m=null,n=!1,p=null,q=null,r=f,t=f,u=g.x,x=g.x+g.width,y=g.getCenterX()…
568 g,!1)));this.graph.snapDelta(b,a,!c,k,n);b=this.getDelta(a,l,b.x,p,b.y);c=this.graph.container;k||n…
569 this.guideX.redraw()):this.guideX.node.style.visibility="hidden";n||null==this.guideY?null!=this.gu…
592n=this.createBoundingBox();this.dialect==mxConstants.DIALECT_SVG?(m=this.createTransparentSvgRecta…
600 …(l,b.length)];var n=m.x-g.x,m=m.y-g.y;if(c&&(0!=n||0!=m)&&(null==f||0>mxUtils.indexOf(f,l-1))){var…
601 …,l++;n=m.x-g.x;m=m.y-g.y;p=Math.max(1,Math.sqrt(n*n+m*m));n=g.x+n*Math.min(d,p/2)/p;m=g.y+m*Math.m…
621 …de=function(a,b,c,d,e,f){var g=c.nodeName,k=d.x,l=d.y,m=d.width,n=d.height,p=Math.min(m,n);if("sav…
622n)),r++;else{p=!0;break}}u=u.nextSibling}if(!p&&0<r)for(m=0;m<t.length;m++)n=!1,l=t[m][0],k=t[m][t…
623n);else if("quad"==g)a.quadTo(k+Number(c.getAttribute("x1"))*m,l+Number(c.getAttribute("y1"))*n,k+…
624 n,Number(c.getAttribute("x-axis-rotation")),Number(c.getAttribute("large-arc-flag")),Number(c.getAt…
625 n,b=Number(b)/100,b=Math.min(d*b,f*b),a.roundrect(k+Number(c.getAttribute("x"))*m,l+Number(c.getAtt…
626 …tion"),a.text(k+Number(c.getAttribute("x"))*m,l+Number(c.getAttribute("y"))*n,0,0,d,c.getAttribute…
627 …bute("x"))*m,l+=Number(c.getAttribute("y"))*n,d=Number(c.getAttribute("w"))*m,f=Number(c.getAttrib…
628 …ribute("pattern"),null!=c){c=c.split(" ");n=[];for(m=0;m<c.length;m++)0<c[m].length&&n.push(Number…
630 …ers[a]=b},createMarker:function(a,b,c,d,e,f,g,k,l,m){var n=mxMarker.markers[c];return null!=n?n(a,…
631n,p,q,r){c=l*q*1.118;p=m*q*1.118;l*=n+q;m*=n+q;var e=k.clone();e.x-=c;e.y-=p;n=d!=mxConstants.ARRO… argument
632n,p,q,r){c=l*q*1.118;d=m*q*1.118;l*=n+q;m*=n+q;var e=k.clone();e.x-=c;e.y-=d;k.x+=2*-c;k.y+=2*-d;r… argument
633 …addMarker("openThin",b(3));mxMarker.addMarker("oval",function(a,b,c,g,k,l,m,n,p,q){var d=m/2,e=g.c… argument
634n,p,q){var d=k*(m+p+1),e=l*(m+p+1);return function(){a.begin();a.moveTo(g.x-e/2,g.y+d/2);a.lineTo(… argument
648 …,k=k/l,l=d*k/3,d=-d*g/3,n=e.x-l/2+c*g,e=e.y-d/2+c*k,p=n+l,q=e+d,r=p+m*g,m=q+m*k,t=r+l,u=m+d,x=t-3*…
652 …d(),k=this.isMarkerStart(),l=this.isMarkerEnd(),m=g?0:this.arrowSpacing+c/2,n=this.startSize+c,c=t…
653 …Limit(1.42);a.begin();r=x;t=A;if(k&&!g)this.paintMarker(a,b[0].x,b[0].y,x,A,n,d,f,m,!0);else{y=b[0…
656n,d,f,m,!0),a.stroke(),a.end()),l&&!g&&(a.begin(),this.paintMarker(a,q.x,q.y,-x,-A,c,e,f,m,!0),a.s…
659n,p,q,r,t,u,x,y,B,A,z){mxShape.call(this);this.value=a;this.bounds=b;this.color=null!=e?e:"black";… argument
695n=Math.sin(-m),b=l*-(b+.5),c=g*-(c+.5);0!=m&&(m="progid:DXImageTransform.Microsoft.Matrix(M11="+e+…
760 …width));c==k&&(e-=l);k?g+=l:f+=l}d.beginUpdate();try{for(var l=0,k=null,m=0,n=null,p=this.getLayou…
762n=r;k=t;m=c?k.x+k.width+Math.floor(u/2):k.y+k.height+Math.floor(u/2)}}this.resizeParent&&null!=b&&…
767 …ored(k)&&this.isVertexMovable(k)&&e.push(k)}f=e.length;if(0<f){var l=this.border,m=this.border,n=b?
768n=n-2*this.border;a=this.graph.isSwimlane(a)?this.graph.getStartSize(a):new mxRectangle;n-=b?a.hei…
793n=[],p,q,r=0;r<l.length;r++)this.horizontal?(p=g.x+g.width,q=g.y+b,n.push(new mxPoint(p,q)),p=g.x+…
804 …xBounds(g),m=l.width,n=l.height,p=l.x,q=l.y;this.cellLocation[d][0]=p+m/2;this.cellLocation[d][1]=…
813 …e=null==e?m.x:Math.min(e,m.x),c=Math.max(c,Math.max(m.width,m.height))}}var n=this.getRadius(f.len…
814 c);this.moveCircle&&(e=this.x0,d=this.y0);this.circle(f,n,e,d)}finally{b.endUpdate()}};mxCircleLayo…
840 …l.length;m++){var n=l[m];this.edgeMapper.put(n,k);d.resetEdge(n);a.disableEdgeStyle&&(a.setEdgeSty…
851 …&&2*l.length>=m.length){for(var l=new mxGraphHierarchyEdge(m),n=0;n<m.length;n++){var p=m[n];this.…
863 …PurposeVariable(a),k=k.getPreviousLayerConnectedCells(a),m=[],n=0;n<k.length;n++){var p=k[n].getGe…
865n=m.getGeneralPurposeVariable(f);0>n&&(n=l);k[n]=m}for(var p=null,q=null,r,t,u=null,x=null,y,B=nul…
866 0;A<n.length;A++)t[A]=n[A].getGeneralPurposeVariable(f-1)}else m=p,n=q,r=u,t=x,y=B;B=k[l+1];p=B.get…
867 …le(f,B.getGeneralPurposeVariable(f)),B.setGeneralPurposeVariable(f,p),p=m,q=n,u=r,x=t,B=y,e||(c=!0…
871 …],e=0;e<f.length;e++)c[e]=a.vertexMapper.get(f[e]);a.visit(function(a,c,e,f,n){c.isAncestor(a)&&(e… argument
872 !0);a.visit(function(a,c,e,f,n){c.isAncestor(a)&&(e.invert(),mxUtils.remove(e,a.connectsAsSource),c… argument
879 …ayerConnectedCells(l),n=e.getPreviousLayerConnectedCells(l),p=k.length,q=n.length,r=this.medianXVa…
881 …=c.get(l),null!=l&&0==l.visited&&(l.visited=!0,b.push(l));for(e=0;e<n.length;e++)l=n[e],l=c.get(l)…
883n=d[f].rankIndex-1;0<=n;){var p=e[b[n].id];if(null!=p){var q=p.cell;p.visited?(k=q.getGeneralPurpo…
884 this.intraCellSpacing,n++)}l>=k&&l<=q?g.setGeneralPurposeVariable(a,l):l<k?(g.setGeneralPurposeVari…
889n=g[m];if(n.isVertex()){var p=this.layout.getVertexBounds(n.cell);null!=p?this.orientation==mxCons…
890n.edges?p=n.edges.length:mxLog.warn("edge.edges is null"),n.width=(p-1)*this.parallelEdgeSpacing);…
892 ….getGeneralPurposeVariable(l);f!=m?(g=!1,f=m):k++}if(!g){for(var g=f=0,m=[],n=[],p=e.getGeneralPur…
893n[l-e.minRank-2]=p,g++):this.repositionValid(b,e,l-1,p)?(n[l-e.minRank-2]=p,g++):(n[l-e.minRank-2]…
897 …th;m++){var n=new WeightedCellSorter(f[m],f[m].getX(g));l.push(n)}l.sort(WeightedCellSorter.protot…
898 …1)*this.prefHozEdgeSep+2*this.prefHozEdgeSep&&(n+=this.prefHozEdgeSep,p-=this.prefHozEdgeSep);l=(p…
899 p+=this.prefVertEdgeOff:m>f/2&&(p-=this.prefVertEdgeOff),t=0;t<q;t++)r[4*t+2*k]=n,n+=l,r[4*t+2*k+1]…
900 …stants.DIRECTION_SOUTH,m=0;m<a.edges.length;m++){var n=a.edges[m],p=this.layout.getVisibleTerminal…
901 …omY[c],x=f[4*e+1+t];r!=l&&(x=-x);var u=u+x,t=f[4*e+t],y=k.model.getTerminal(n,!0);this.layout.isPo…
903 …t],r!=l&&(x=-x),u-=x,t=f[4*e+2-t],r=k.model.getTerminal(n,!1),p=this.layout.getVisibleTerminal(n,!…
904 …new mxPoint(u,t))));a.isReversed&&this.processReversedEdge(a,n);this.layout.setEdgePoints(n,q);b=0…
914 …or(var l=this.getEdges(k),m=0,n=0,p=0;p<l.length;p++)this.getVisibleTerminal(l[p],!0)==k?m++:n++;0…
922 …getVisibleTerminal(l[c],!k[c]);for(var m=1,n=0;n<l.length;n++)if(n!=c){var p=k[n];this.getVisibleT…
931 …this.parentBorder:this.interRankCellSpacing/2),m=b[e].x-l,n=a.y-this.parentBorder;k.x+=m;k.y=n;k.w…
932 …+d.height+2*this.parentBorder;this.graph.model.setGeometry(f,k);this.graph.moveCells(g,-m,c.y-n)}};
933n=0,p=0;p<l.length;p++){var q=this.getVisibleTerminal(l[p],!0);q==k?(q=this.getVisibleTerminal(l[p…
941n=this.getVisibleTerminal(m[c],!0),p=n==a;p&&(n=this.getVisibleTerminal(m[c],!1));for(var q=0;q<th…
961 …dgeAt(f,e),l=this.getTerminal(k,!0),m=this.getTerminal(k,!1),n=m==a&&l==b;(l==a&&m==b||!c&&n)&&d.p…
1004 …a.y,g=a.width/2,k=a.height/2,l=e+g,m=f+k;b=c.x;c=c.y;var n=parseInt(b-l),p=parseInt(c-m);if(0==n&&…
1005n&&0==p)return new mxPoint(b,c);if(d){if(c>=f&&c<=f+a.height)return a=c-m,a=Math.sqrt(g*g*(1-a*a/(…
1006n=k;d&&(l>=b&&l<=b+f?m=l:c>=e&&c<=e+a&&(n=c));return l<g?c<k?mxUtils.intersection(l,c,m,n,g,e,b,k)…
1007n=new mxPoint(f,g),p=new mxPoint(f+k,m),q=new mxPoint(f,g+l);b==mxConstants.DIRECTION_NORTH?(n=q,p…
1008 …-Math.PI+t||r>Math.PI-t)?c=d&&(e&&c.x>=n.x&&c.x<=q.x||!e&&c.y>=n.y&&c.y<=q.y)?e?new mxPoint(c.x,n.…
1009n.x,n.y,p.x,p.y):mxUtils.intersection(c.x,c.y,a,m,p.x,p.y,q.x,q.y));null==c&&(c=new mxPoint(a,m));…
1010n<f||m<e&&n>f+k||m>e+g&&n<f||m>e+g&&n>f+k)d=!1;if(d){if(t){if(m==l){if(n<=f)return new mxPoint(l,f…
1011n==f+k/4)return new mxPoint(e+g,f+k/4);if(n==f+3*k/4)return new mxPoint(e+g,f+3*k/4)}else if(m==e)…
1012n>f+3*k/4&&(b=new mxPoint(e-Math.floor(.5*g),f+Math.floor(.5*k)),u=new mxPoint(e+g,f+Math.floor(1.…
1013n>f+k){if(m==e+g/4)return new mxPoint(e+g/4,f+k);if(m==e+3*g/4)return new mxPoint(e+3*g/4,f+k)}els…
1014 …th.floor(.5*g),f-Math.floor(.5*k)),u=new mxPoint(e+Math.floor(1.25*g),f+k)):n>a&&(m>e+g/4&&m<e+3*g…
1015 e+g?(d=m,p=n<a?f+k:f):n>=f&&n<=f+k&&(p=n,d=m<l?e+g:e);c=mxUtils.intersection(d,p,c.x,c.y,b.x,b.y,u.…
1024 …ass="mxPage">')}var m=this.graph.getGraphBounds().clone(),n=this.graph.getView().getScale(),p=n/th…
1028 ….y0/this.scale+(m.y-q.y*n)/n;for(a=0;a<u;a++){if(null==this.wnd)return null;var D=a*r/this.scale-t…
1033 …c.createElement("td"),n=c.createElement("a");n.setAttribute("href","#mxPage-"+l);!mxClient.IS_NS||…
1034 mxUtils.write(n,l,c);m.appendChild(n);g.appendChild(m)}e.appendChild(g)}d.appendChild(e);return d};
1037 …,g.appendChild(l),document.body.appendChild(g),k=l}catch(n){throw g.parentNode.removeChild(g),n;}e…
1039 …h.container=e;var k=g.getCanvas(),l=g.getBackgroundPane(),m=g.getDrawPane(),n=g.getOverlayPane(),p…
1042 …iner=d;this.graph.cellRenderer.redraw=u;g.canvas=k;g.backgroundPane=l;g.drawPane=m;g.overlayPane=n;
1081n=(parseInt(a.style[mxConstants.STYLE_SPACING_LEFT]||0)+mxText.prototype.baseSpacingLeft)*c+f,f=mx…
1094 …xt()||!this.clearOnChange)&&document.execCommand("selectAll",!1,null)}catch(n){}}};mxCellEditor.pr…
1142 … m=g.getCenterX(),n=g.getCenterY(),n=mxUtils.getRotatedPoint(new mxPoint(m,n),e,f,new mxPoint(a.ge…
1143 Math.round(m-g.width/2);g.y=Math.round(n-g.height/2)}if(b||null==k.bounds||k.scale!=a.view.scale||!…
1155 …tePoints,l=k[0],m=k[k.length-1],k=!1;if(null!=b){var n=g.getCellGeometry(b.cell);n.relative?k=.5>=
1156n=!0;null!=c&&(g=g.getCellGeometry(c.cell),g.relative?n=.5>=g.x:null!=b&&(n=(null!=l?l.x:b.x+b.wid…
1157 …f.getRoutingCenterY(b),l=n?c.x:c.x+c.width,c=f.getRoutingCenterY(c),f=new mxPoint(a+(k?-d:d),b),g=…
1160n=Math.max(b.y+b.height,c.y+c.height),f=a.view.transformControlPoint(a,f),g=f.y<k||f.y>n,k=f.x<l||…
1164 …etRoutingCenterX(b),a.view.getRoutingCenterY(b)):null!=m&&(m=m.clone());var n=f.length-1;if(null!=…
1165 …ath.abs(p[0].x-m.x)&&(p[0].x=m.x),1>Math.abs(p[0].y-m.y)&&(p[0].y=m.y));r=f[n];null!=r&&null!=p[p.…
1166 …z)){l=A?!1:!0;break}if(x||t){l=t;1==q&&(l=0==p.length%2?t:x);break}}t=g;u=f[n];null!=u&&(t=null);x…
1167n];null==m&&null!=g&&(m=new mxPoint(a.view.getRoutingCenterX(g),a.view.getRoutingCenterY(g)));null…
1168 f[n]&&null!=g)for(;0<c.length&&null!=c[c.length-1]&&mxUtils.contains(g,c[c.length-1].x,c[c.length-1…
1173 …e),m=mxEdgeStyle.scaleCellState(c,a.view.scale),n=f[0],p=f[f.length-1],q=null!=l?l.x:n.x,r=null!=l…
1174 …;null!=l&&m==l&&(f=z=Math.max(f,z));var C=z+f,v=!1;if(null!=n&&null!=p)var v=p.x-n.x,D=p.y-n.y,v=v…
1176 …1][2]/2);D=z-r;z=0;0>v?z=0>D?2:1:0>=D&&(z=3,0==v&&(z=2));r=null;null!=l&&(r=n);l=[[.5,.5],[.5,.5]]…
1177 …ations[3]=Math.max(t-C,0);C=[];m=[];n=[];m[0]=p>=t?mxConstants.DIRECTION_MASK_WEST:mxConstants.DIR…
1178n[1]=mxUtils.reversePortConstraints(n[0]);p=p>=t?p:t;r=v>=r?v:r;t=[[0,0],[0,0]];u=!1;for(v=0;2>v;v…
1179 n[0],t[0][1]=m[0],t[1][0]=m[1],t[1][1]=n[1],u=!0));0<r&&!u&&(t[0][0]=n[0],t[0][1]=m[0],t[1][0]=n[1]…
1181 …ASK_EAST|mxConstants.DIRECTION_MASK_WEST))?0:1;for(v=0;v<c.length;v++)n=c[v]&15,u=n==mxConstants.D…
1182n,u+=z,4<u&&(u-=4),p=mxEdgeStyle.dirVectors[u-1],n=0<u%2?0:1,n!=C&&(f++,mxEdgeStyle.wayPoints1[f][…
1183 …ertexSeperations[u]/2)),0<f&&mxEdgeStyle.wayPoints1[f][n]==mxEdgeStyle.wayPoints1[f-1][n]?f--:C=n;…
1235 …ce=0;var d=0,g=[],f=c;if(null!=f){for(var c=f.x,k=f.y,l=c,m=k,n=1;n<b.length;n++){var p=b[n];null!…
1239n=0,p=0,q=2;q<e;q++)g=k,k=a.absolutePoints[q],g=mxUtils.ptSegDistSq(g.x,g.y,k.x,k.y,b,c),p+=f[q-2]…
1240 a+(n-(c-f))*n;a=Math.sqrt(0>=f?0:f*f/(a*a+n*n));a>e&&(a=e);e=Math.sqrt(mxUtils.ptSegDistSq(g.x,g.y,…
1301 …&(g=g.clone(),g.width+=g.x,g.height+=g.y,g.x=0,g.y=0);var k=this.view.scale,n=g.width/k,p=g.height…
1302n=Math.max(n,this.backgroundImage.width-g.x/k),p=Math.max(p,this.backgroundImage.height-g.y/k));va…
1328 …ildCells(a[k]);if(null!=m&&0<m.length){var n=this.getBoundingBoxFromGeometry(m,!0);if(null!=n&&0<n
1329n.x-b-p.x-g),l.y=Math.round(l.y+n.y-b-p.y-d));l.width=Math.round(n.width+2*b+p.x+g+e+p.width);l.he…
1331 …e[g],!1)))e[g]=null;else{var m=this.model.getGeometry(e[g]);if(null!=m){var n=this.view.getState(a…
1332n&&null!=p)if(c=d?0:p.origin.x,p=d?0:p.origin.y,this.model.isEdge(e[g])){if(n=n.absolutePoints,nul…
1333 k-l.y),!1);m=m.points;if(null!=m)for(n=0;n<m.length;n++)m[n].x+=c,m[n].y+=p}}else m.translate(c,p)}…
1336n=new mxPoint(0,0),l=0;l<a.length;l++)if(null==a[l])c--;else{var p=this.model.getParent(a[l]);if(n…
1343 …!=m&&null!=m.points&&null!=l){var n=this.view.translate,p=this.view.scale,q=mxUtils.findNearestSeg…
1354n=this.view.getBounds(this.model.getChildren(a));if(null!=n){var p=this.view.translate,q=this.view…
1365 …();try{for(var l=new mxDictionary,m=0;m<a.length;m++)l.put(a[m],!0);for(var n=mxUtils.bind(this,fu…
1366 (n(this.model.getTerminal(r,!0))||n(this.model.getTerminal(r,!1)))||p.push(a[m])}a=p;d&&(a=this.clo…
1379n=b.style[mxConstants.STYLE_FLIPV];null!=b.shape&&null!=b.shape.stencil&&(m=1==mxUtils.getValue(b.…
1392 …ent(a[e]));if(null!=g&&null!=k){var f=f.clone(),l=-k.origin.x,m=-k.origin.y,n=g.absolutePoints,p=t…
1393n[0].x/b-c.x+l,n[0].y/b-c.y+m),!0),this.model.setTerminal(a[e],null,!0))}var q=this.model.getTermi…
1406n=a?g-k.width:0,p=b?f-k.height:0;e?(k.x-=l.x,k.y-=l.y,a=this.container.scrollWidth,b=this.containe…
1407 (a-g)/2,this.container.scrollTop=(b-f)/2):this.view.setTranslate(a?Math.floor(l.x-k.x/m+n*c/m):l.x,…
1468n=this.model.getChildAt(a,m);if(k||!this.isCellVisible(n))g=g.concat(this.model.getEdges(n,c,d))}g…
1469 !1),(e&&l==n||l!=n&&(c&&n==a&&(null==b||this.isValidAncestor(l,b,f))||d&&l==a&&(null==b||this.isVal…
1473 …b,c,d,e,f,g,k,l){f=null!=f?f:[];if(0<c||0<d||null!=g){var m=this.getModel(),n=a+c,p=b+d;null==e&&(…
1474 …(m.isEdge(t)||m.isVertex(t))&&u.x>=a&&u.y+u.height<=p&&u.y>=b&&u.x+u.width<=n)&&f.push(t);x&&!l||t…
1475n=this.getConnections(m,b?a:null),p=0,q=0,r=0;r<n.length;r++)this.view.getVisibleTerminal(n[r],!0)…
1512n=a.clientHeight-2*this.border,p=this.getViewBox();e=Math.max(p.width/l,p.height/n);if(mxEvent.get…
1513n*e/2+(b.y-this.border-q.top)*e}else p=this.source.view.translate,n=this.viewport.getBoundingClien…
1586 …State(l),n=!1;null!=m&&(e||this.isValidDropTarget(l,b))?(this.target!=l&&(this.target=l,this.setHi…
1587 …mxConstants.INVALID_CONNECT_TARGET_COLOR,this.setHighlightColor(g),n=!0)));null!=m&&n?this.highlig…
1693 …Parent(m)));var n=k=null;null!=this.edgeState&&(k=this.edgeState.cell.value,n=this.edgeState.cell.…
1710 …var g=e.getCenterX(),l=e.getCenterY(),m=0;m<this.focusIcons.length;m++){var n=g-this.focusIcons[m]…
1711n=n*n+p*p;if((this.intersects(this.focusIcons[m],e,b,c)||null!=d&&this.intersects(this.focusIcons[…
1712 …mxEvent.redirectMouseEvents(p.node,this.graph,q)}this.focusHighlight.bounds=n;this.focusHighlight.…
1786n=c.x-this.startX,p=c.y-this.startY,c=m*n+l*p,n=l*n-m*p,p=c,q=this.graph.view.scale,r=this.isRecur…
1794 …d(new mxRectangle(d,g,0,0)),f;var m=a.width,n=a.height,p=a.x-g.x*f,q=p+m;a=a.y-g.y*f;var r=a+n,t=p…
1795 …ht,1==d||2==d||7==d||6==d?e=c*k:c=e/k,0==d&&(p=q-e,a=r-c)));l&&(e+=e-m,c+=c-n,p+=t-(p+e/2),a+=u-(a…
1801n=mxUtils.getRotatedPoint(new mxPoint(a.x,a.y),k,l,m);this.moveSizerTo(this.sizers[0],n.x,n.y);thi…
1802n.x=b;n.y=a.y;n=mxUtils.getRotatedPoint(n,k,l,m);this.moveSizerTo(this.sizers[2],n.x,n.y);this.siz…
1803 n.x,n.y);this.sizers[5].setCursor(f[mxUtils.mod(6+g,f.length)]);n.x=d;n.y=c;n=mxUtils.getRotatedPoi…
1804 …=Math.sin(g),m=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),n=mxUtils.getRotatedPo…
1805 (this.moveSizerTo(this.rotationShape,n.x,n.y),this.rotationShape.node.style.visibility=this.state.v…
1852n=this.graph.view.scale;null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandl…
1853 …,this.marker.highlight.shape.strokewidth=mxConstants.HIGHLIGHT_STROKEWIDTH/n/n,this.marker.highlig…
1905 …rY(f)/l-m.y,n=this.graph.getConnectionConstraint(a,f,!0);null!=n&&(n=this.graph.getConnectionPoint…
1906 g,!1))n=this.graph.getConnectionPoint(g,l),null!=n&&(this.convertPoint(n,!1),k=n.y);k=[new mxPoint(…
1907n=l[1],k=[],p=2;p<l.length;p++){var q=l[p];0==Math.round(m.x-n.x)&&0==Math.round(n.x-q.x)||0==Math…
1969 …m="edge":0<k&&null!=l?m="group":b.isVertex(d)&&(m="vertex");if(null!=m){var n=a.document.createEle…
1970n.setAttribute("label",c.graph.getLabel(d)),c.graph.isHtmlLabel(d)&&n.setAttribute("html",!0));if(…
1971n.setAttribute(p,g);g=f.absolutePoints;if(null!=g&&0<g.length){l=Math.round(g[0].x)+","+Math.round…
1972 0;p<k;p++)f=this.encodeCell(a,c,b.getChildAt(d,p)),null!=f&&n.appendChild(f)}}return n};return a}()…
1993 …x.onmousedown=function(){};l.box.onmousemove=function(a){if(y||B)y&&m(a),B&&n(a),document.selectio…
1994 …(B=!1,mxJSColor.fireEvent(u,"change"))};l.sldM.onmousedown=function(a){B=!0;n(a);p()};d=e(r);l.box…
2004 …SColor.images.pad[0]-1)*a,null,1-b/(mxJSColor.images.pad[1]-1),v)}}function n(a){a=mxJSColor.getRe… function
2066 function Dialog(b,c,e,k,g,p,t,d,f,l,q){var m=f?57:0,n=e,u=k,v=f?0:64,y=Editor.inlineFullscreen||nul…
2070n=e=f.w,u=k=f.h)}f=mxUtils.getDocumentSize();x=f.height;this.bg.style.height=x+"px";Editor.inlineF…
2076n=document.createElement("div");n.style.padding="0px";n.style.margin="0px";n.style.fontSize="18px"…
2079n=d.checked?1:parseInt(q.value);isNaN(n)||(k=mxUtils.getScaleForPageCount(n,e,g))}e.getGraphBounds…
2080 f=!0;f=PrintDialog.createPrintPreview(e,k,g,0,n,u,f);f.open();b&&PrintDialog.printPreview(f)}var e=…
2084n=mxUtils.button(mxResources.get("preview"),function(){b.hideDialog();c(!1)});n.className="geBtn";…
2092 …cument.createElement("td");var n=document.createElement("button");n.className="geBtn";n.style.marg…
2093n,"click",y);mxEvent.addListener(u,"click",y);e();p.appendChild(u);p.appendChild(n);g.appendChild(…
2094 b.editor.cancelFirst&&p.appendChild(n);y=mxUtils.button(mxResources.get("apply"),function(){b.hideD…
2095 p.appendChild(y);b.editor.cancelFirst||p.appendChild(n);g.appendChild(p);d.appendChild(g);t.appendC…
2096 …tPanel=function(b,c,e,k){function g(b,c,l){if(l||m!=document.activeElement&&n!=document.activeElem…
2097 …ked=!0));b?(f.style.display="",q.style.display="none"):(m.value=e.width/100,n.value=e.height/100,p…
2100 …ls.write(q," in x ");var n=document.createElement("input");n.setAttribute("size","7");n.style.text…
2101n.value=l.format.height/100,q.style.display="none",f.style.display=""):(f.style.display="none",q.s…
2102n.value)));"custom"!=d.value&&t.checked&&(l=new mxRectangle(0,0,l.height,l.width));c&&I||l.width==…
2103 …;return{set:function(b){e=b;g(null,null,!0)},get:function(){return B},widthInput:m,heightInput:n}};
2107n,u,v=document.createElement("table"),y=document.createElement("tbody");v.style.position="absolute…
2110n.appendChild(u);if(null!=g||null==t)y.appendChild(n),null!=q&&(u.appendChild(FilenameDialog.creat…
2111n.appendChild(u),c=FilenameDialog.createFileTypes(b,x,b.editor.diagramFileTypes),c.style.marginLef…
2112 …lick()});u.appendChild(D);b.editor.cancelFirst||u.appendChild(q);n.appendChild(u);y.appendChild(n);
2137 …l<g.length;l++){var q=g[l],m=q.indexOf("=");if(0<=m){e=q.substring(0,m);var n=q.substring(m+1);nul…
2138 c[e]&&"none"==n&&(b.push(n),f.push(e))}}k.getModel().isEdge(d.cell)?k.currentEdgeStyle={}:k.current…
2140 …ate();try{for(H=0;H<b.length;H++){var n=b[H],A;if(f)A=["fontSize","fontFamily","fontColor"];else{v…
2141n);m=F?l:e;for(var Q=c.getStyle(n),J=0;J<A.length;J++){var N=A[J],D=m[N];null!=D&&"edgeStyle"!=N&&…
2142n=mxUtils.bind(this,function(b){null==b&&(b=window.event);return k.isEditing()||null!=b&&this.isSe…
2143 n,this.toolbarContainer.onmousedown=n,this.diagramContainer.onselectstart=n,this.diagramContainer.o…
2144 d;){if("geHint"==d.className)return!0;d=d.parentNode}}return n(b)},mxClient.IS_IE&&("undefined"===t…
2153 …r c=d.getProperty("keys"),m=d.getProperty("values"),q=0;q<c.length;q++){var n=0<=mxUtils.indexOf(f…
2154 …<=mxUtils.indexOf(p,c[q])){if(e||n)null==m[q]?delete k.currentVertexStyle[c[q]]:k.currentVertexSty…
2197n=8<=document.documentMode?20:14;if(8==document.documentMode||9==document.documentMode)n+=3;var v=…
2206n=null,u=null,v=mxUtils.bind(this,function(b){null!=n&&(window.clearTimeout(n),n=null);null!=u&&(w…
2207 "none";u=null}),600)}),b||200)}),y=mxUtils.bind(this,function(b){null!=n&&(window.clearTimeout(n),n
2273n){b=new ErrorDialog(this,b,c,e||mxResources.get("ok"),k,g,p,t,m,d,f);c=Math.ceil(null!=c?c.length… argument
2320 …cell),null==m||null==m.getHandleForEvent(e))){var n=new mxRectangle(e.getGraphX()-1,e.getGraphY()-…
2321n,new mxRectangle(g.x,g.y-2,u.width*k,3))&&this.model.getChildAt(m,0)!=v||mxUtils.intersects(n,new…
2322 this.model.getChildAt(v,0)!=g.cell||mxUtils.intersects(n,new mxRectangle(g.x+u.width*k-2,g.y,2,u.he…
2323 …Utils.intersects(n,new mxRectangle(g.x+(m.x-m.width-1)*k+(0==m.x?g.width:0),g.y,1,g.height))||(0<m…
2325n=m==mxEdgeStyle.EntityRelation;q||l!=mxEvent.LABEL_HANDLE||(g=l);if(n&&0!=g&&g!=k.bends.length-1&…
2326n[0].x,n[0].y)?g=0:mxUtils.contains(g,n[n.length-1].x,n[n.length-1].y)?g=k.bends.length-1:null!=m&…
2327 …tGraphY()),g.grow(mxEdgeHandler.prototype.handleImage.width/2),n=e.absolutePoints,null!=n)if(null!…
2328n[0].x,n[0].y)||mxUtils.contains(g,n[n.length-1].x,n[n.length-1].y))k="pointer";else if(null!=e.vi…
2329n=this.model.getParent(e.cell),m=this.model.getParent(n),!this.isCellSelected(m)))if(mxUtils.inter…
2330n=e;null==k&&null!=n&&(this.isTableCell(n.cell)||this.isTableRow(n.cell)||this.isTable(n.cell));){…
2331 "row-resize")}n=this.view.getState(this.model.getParent(n.cell))}}null!=k&&e.setCursor(k)}}),mouseU…
2334 …viewShape.apply(this,arguments)};var n=this.graphHandler.getCells;this.graphHandler.getCells=funct…
2409 …":"get",f=b[d+"Date"](),l=b[d+"Day"](),q=b[d+"Month"](),m=b[d+"FullYear"](),n=b[d+"Hours"](),u=b[d…
2410n%12||12,hh:t(n%12||12),H:n,HH:t(n),M:u,MM:t(u),s:v,ss:t(v),l:t(d,3),L:t(99<d?Math.round(d/10):d),…
2419n=this.view.translate,l=n.x*e,n=n.y*e;null!=m&&this.model.isVertex(m.cell)&&(l=m.x,n=m.y);this.mod…
2423n=null;for(e=b;null!=e.parent&&null!=e.geometry&&e.geometry.relative&&e.parent!=m.parent;)e=this.m…
2424n));null!=m&&I.push(m);null==v&&null!=B&&I.push(B);null==B&&null!=m&&m.geometry.setTerminalPoint(q…
2488 …c)),k.setGeometry(q,m)))}if(d||e){var n=this.getCellGeometry(p);null!=n&&(n=n.clone(),n.width+=c,k…
2492n=!0,u=g[q];null!=u&&null!=u.geo&&null!=u.rowspan&&1<u.rowspan&&(u.geo.height+=null!=m.alternateBo…
2493 0),d=m;null==u||1>u.rowspan?(m.rowspan=parseInt(n.rowspan||0),g[q]=m):null!=u&&(m.colspan=parseInt(…
2494 …ildCells(b,!0),m=this.getSize(q,!1);if(0<f&&0<l&&0<q.length&&0<m){if(g){var n=this.graph.getCellGe…
2495n&&(n=n.clone(),n.height=f-m+n.height,t.setGeometry(q[q.length-1],n))}for(var u=p?null:this.getRow…
2504n=null;b.begin();for(var t=0;t<this.state.routedPoints.length;t++){var E=this.state.routedPoints[t…
2505n.x*n.x+n.y*n.y),0<q?(n.x=n.x*e/q,n.y=n.y*e/q):n=null);E>e*e&&0<q&&(E=k.x-K.x,L=k.y-K.y,E=E*E+L*L,…
2506 ….y-n.x*m),b.moveTo(E.x,E.y)):"arc"==g?(m*=1.3,b.curveTo(C.x-n.y*m,C.y+n.x*m,E.x-n.y*m,E.y+n.x*m,E.…
2507 …CenterX(),f.getCenterY());if(0!=k)var m=Math.cos(-k),n=Math.sin(-k),g=mxUtils.getRotatedPoint(g,m,
2508 …getPerimeterPoint(f,g,0==k&&l,m);0!=k&&(m=Math.cos(k),n=Math.sin(k),g=mxUtils.getRotatedPoint(g,m,
2530 …)&&(d=this.snap(d),f=this.snap(f));var n=this.getBoundingBoxFromGeometry(b,!0);null!=n&&this.moveC…
2533 …++){var n=this.getCellGeometry(m[d]);null!=n&&n.relative&&0<n.x&&this.model.remove(m[d])}var H=thi…
2534 this.getCellGeometry(H[d]),null!=n&&n.relative&&0>=n.x&&this.model.remove(H[d]);this.setCellStyles(…
2538n=this.model.getParent(b[m]),H=this.getCellGeometry(b[m]);this.isTable(n)&&k.push(n);if(null!=n&&n…
2547 …m=m.clone();null!=m.points&&m.points.reverse();var q=m.getTerminalPoint(!0),n=m.getTerminalPoint(!…
2548 m.setTerminalPoint(q,!1);m.setTerminalPoint(n,!0);f.setGeometry(g,m);var H=this.view.getState(g),v=…
2550 …&"1"==b.getAttribute("placeholders"))return!0;b=b.nextSibling}return!1};var n=Graph.prototype.proc…
2551 …te(d);null!=f&&null!=f.shape&&(this.view.invalidate(d),f.shape.bounds=null)}n.apply(this,arguments…
2574 if(null!=q){var n=this.moveCells([m[f]],e,e,!1)[0];g.push(n);if(d)c.add(q,m[f]);else{var H=q.getInd…
2578 …[g].cell)),n=this.getCellGeometry(f[g].cell),c=c+m;null!=n&&null!=q&&(n=n.clone(),b?n.x=Math.round…
2579 2)-q.origin.y,this.getModel().setGeometry(f[g].cell,n))}}finally{this.getModel().endUpdate()}}}retu…
2580 …etSvg=function(b,d,f,c,e,g,l,k,m,q,n,H,v,u){var A=null;if(null!=u)for(A=new mxDictionary,n=0;n<u.l… argument
2583 …"div"),Z=C.getAlternateText;C.getAlternateText=function(b,d,f,c,e,g,l,k,m,q,n,H,z){if(null!=g&&0<t… argument
2593 …h,g=0;g<l.length;g++){var m=f.getChildCells(l[g],!0)[e],q=f.cloneCell(m,!1),n=this.getCellGeometry…
2594 null;if(null!=n){var k=n.width,H=this.getCellGeometry(l[g]);null!=H&&(n.height=H.height)}f.add(l[g]…
2596 ….height)}f.add(c,e,k+(d?0:1));var n=this.getCellGeometry(c);null!=n&&(n=n.clone(),n.height+=m.heig…
2637 …ounds());var m=f<k.length-1?k[f+1]:null,m=null!=m?d.getCellGeometry(m):null,n=null!=m&&null!=m.alt…
2639 q.width,d.x-b.x-q.width);v=mxEvent.isShiftDown(f.getEvent());null==n||v||(H=Math.min(H,n.width-Grap…
2693 …oke=f;this.strokewidth=null!=c?c:1}function m(){mxActor.call(this)}function n(){mxCylinder.call(th… function
2702 …colspans:[]};sa.push(q);if(null!=da){q.y=da.y+da.height;b.begin();b.moveTo(d+g.x,f+da.y);for(var n=
2703 …;ya++)z.model.isVisible(q.cells[ya])?n=q.x:(0<n&&b.lineTo(d+n-g.width,f+da.y),b.moveTo(d+da.x+da.w…
2716 …;mxCellRenderer.registerShape("switch",m);mxUtils.extend(n,mxCylinder);n.prototype.tabWidth=60;n.p…
2717 20;n.prototype.tabPosition="right";n.prototype.arcSize=.1;n.prototype.paintVertexShape=function(b,d…
2719 …o(c-10,f+20),b.close(),b.stroke())};mxCellRenderer.registerShape("folder",n);n.prototype.getLabelM…
2728 …ight*this.scale,2*d*this.scale),0,Math.max(0,.3*d*this.scale))}return null};n.prototype.getLabelMa…
2753 …h"],q=this.style["symbol"+g+"Height"],n=this.style["symbol"+g+"Spacing"]||0,H=this.style["symbol"+…
2754 …,e+this.strokewidth),n+=da,H+=da);var da=d,sa=f,da=l==mxConstants.ALIGN_CENTER?da+(c-m)/2:l==mxCon…
2811n=g&&g.indent?g.indent:Math.max(0,Math.min(c,parseFloat(mxUtils.getValue(this.style,"indent",this.…
2814 …Math.min(c,e)/100);m=Math.min(m,.5*Math.min(c,e));k||(n=Math.min(v*Math.min(c,e)/100));n=Math.min(
2815n,u,x):b.moveTo(n,0),g.paintLeftInner(b,d,f,c,e,l,y,m,n,p,x),x&&p&&g.paintSWInner(b,d,f,c,e,l,y,m,
2816n),g.paintTopInner(b,d,f,c,e,l,J,m,n,x,u),u&&x&&g.paintNWInner(b,d,f,c,e,l,J,m,n),b.fill(),"none"=…
2817n,p),g.paintBottomInner(b,d,f,c,e,l,G,m,n,A,p)),b.stroke()):(b.begin(),g.moveSE(b,d,f,c,e,l,G,m,A)…
2818n,u,x),g.paintLeftInner(b,d,f,c,e,l,y,m,n,p,x)),b.stroke(),b.begin(),g.moveNE(b,d,f,c,e,l,t,m,u),g…
2819n,p),g.paintRightInner(b,d,f,c,e,l,t,m,n,u,A),b.close(),b.fillAndStroke()):!u&&A&&p&&!x?"frame"!=q…
2820n,x),g.paintBottomInner(b,d,f,c,e,l,G,m,n,A,p),g.paintSEInner(b,d,f,c,e,l,G,m,n),g.paintRightInner…
2821n,p,x),g.paintSWInner(b,d,f,c,e,l,y,m,n,p),g.paintBottomInner(b,d,f,c,e,l,G,m,n,A,p),g.paintSEInne…
2822n,A,p),g.paintSEInner(b,d,f,c,e,l,G,m,n),g.paintRightInner(b,d,f,c,e,l,t,m,n,u,A),b.close(),b.fill…
2823n,A),g.paintTopInner(b,d,f,c,e,l,J,m,n,x,u),g.paintNWInner(b,d,f,c,e,l,J,m,n),g.paintLeftInner(b,d…
2824n,x),g.paintBottomInner(b,d,f,c,e,l,G,m,n,A,p)),b.stroke()):(b.begin(),g.moveNW(b,d,f,c,e,l,J,m,x)…
2825n,A),g.paintTopInner(b,d,f,c,e,l,J,m,n,x,u),g.paintNWInner(b,d,f,c,e,l,J,m,n),g.paintLeftInner(b,d…
2826n,A),g.paintTopInner(b,d,f,c,e,l,J,m,n,x,u),g.paintNWInner(b,d,f,c,e,l,J,m,n),g.paintLeftInner(b,d…
2827n,p),g.paintRightInner(b,d,f,c,e,l,t,m,n,u,A),g.paintNEInner(b,d,f,c,e,l,t,m,n),g.paintTopInner(b,…
2828n,p),g.paintRightInner(b,d,f,c,e,l,t,m,n,u,A),g.paintNEInner(b,d,f,c,e,l,t,m,n),g.paintTopInner(b,…
2829n,p),g.paintRightInner(b,d,f,c,e,l,t,m,n,u,A),g.paintNEInner(b,d,f,c,e,l,t,m,n),g.paintTopInner(b,…
2830n,x),g.paintBottomInner(b,d,f,c,e,l,G,m,n,A,p),g.paintSEInner(b,d,f,c,e,l,G,m,n),g.paintRightInner…
2831n,x),g.paintBottomInner(b,d,f,c,e,l,G,m,n,A,p),g.paintSEInner(b,d,f,c,e,l,G,m,n),g.paintRightInner…
2832n,x),g.paintSWInner(b,d,f,c,e,l,y,m,n,p),g.paintBottomInner(b,d,f,c,e,l,G,m,n,A,p),g.paintSEInner(…
2833n,x),g.paintSWInner(b,d,f,c,e,l,y,m,n,p),g.paintBottomInner(b,d,f,c,e,l,G,m,n,A,p),g.paintSEInner(…
2834n),g.paintTopInner(b,d,f,c,e,l,J,m,n,x,u),g.paintNWInner(b,d,f,c,e,l,J,m,n),g.paintLeftInner(b,d,f…
2835n,p),g.paintRightInner(b,d,f,c,e,l,t,m,n,u,A)),b.stroke()):(b.begin(),g.moveNE(b,d,f,c,e,l,t,m,u),…
2836n,A,p)),b.stroke()):(b.begin(),g.moveSE(b,d,f,c,e,l,G,m,A),g.paintBottom(b,d,f,c,e,l,y,m,x),g.line…
2837 x),g.paintLeftInner(b,d,f,c,e,l,y,m,n,p,x),b.close(),b.fillAndStroke());b.begin();g.paintFolds(b,d,…
2842 …prototype.paintTopInner=function(b,d,f,c,e,g,l,m,k,n,q){n||q?!n&&q?b.lineTo(0,k):n&&!q?b.lineTo(k,… argument
2843 …neTo(c-m-k,k)};X.prototype.paintRightInner=function(b,d,f,c,e,g,l,m,k,n,q){n||q?!n&&q?b.lineTo(c-k, argument
2844n&&!q?b.lineTo(c,k):n?"square"==l||"default"==l&&"square"==g?b.lineTo(c-k,k):"rounded"==l||"defaul… argument
2845 …-k)};X.prototype.paintBottomInner=function(b,d,f,c,e,g,l,m,k,n,q){n||q?!n&&q?b.lineTo(c,e-k):n&&!q? argument
2846n?b.lineTo(c-k,e-k):"rounded"==l||"default"==l&&"rounded"==g||"snip"==l||"default"==l&&"snip"==g?b… argument
2847 …-k),b.lineTo(k+m,e-k)};X.prototype.moveSWInner=function(b,d,f,c,e,g,l,m,k,n){n?"square"==l||"defau… argument
2848n){n?"square"==l||"default"==l&&"square"==g?b.lineTo(k,e-k):"rounded"==l||"default"==l&&"rounded"=… argument
2849 …-m-k):b.moveTo(c-k,e)};X.prototype.lineSEInner=function(b,d,f,c,e,g,l,m,k,n){n?"square"==l||"defau… argument
2850n){n?"square"==l||"default"==l&&"square"==g||n?b.moveTo(c-k,k):"rounded"==l||"default"==l&&"rounde… argument
2851 …eTo(c,k)};X.prototype.moveNWInner=function(b,d,f,c,e,g,l,m,k,n,q){n||q?!n&&q?b.moveTo(k,0):n&&!q?b… argument
2852n,q){n||q?!n&&q?b.lineTo(k,0):n&&!q?b.lineTo(0,k):"square"==l||"default"==l&&"square"==g?b.lineTo(… argument
2853 …&&A&&u&&(b.moveTo(c-q,e),b.lineTo(c-q,e-q),b.lineTo(c,e-q)),("fold"==n||"default"==n&&"fold"==g)&&…
2855n){var q=e*(l+k+1),H=g*(l+k+1);return function(){b.begin();b.moveTo(c.x-q/2-H/2,c.y-H/2+q/2);b.lin… argument
2856n?b.fillAndStroke():b.stroke()}});mxMarker.addMarker("cross",function(b,d,f,c,e,g,l,m,k,q){var n=e…
2857n/2);b.stroke()}});mxMarker.addMarker("circle",Oa);mxMarker.addMarker("circlePlus",function(b,d,f,… argument
2858n);b.quadTo(c.x-H,c.y+n,c.x,c.y);b.quadTo(c.x+H,c.y-n,u.x+H,u.y-n);b.stroke()}});mxMarker.addMarke… argument
2859 e,g,l,m,k,q,n){g*=m+q;l*=m+q;var H=e.clone();return function(){d.begin();d.moveTo(H.x,H.y);k?d.line…
2860 …[0]:l[m],l=f?l[1]:l[m-1],m=l.x-q.x,n=l.y-q.y,H=Math.sqrt(m*m+n*n);c.x=(c.x+d.x)*k;c.y=(c.y+d.y)*k;…
2893n.prototype.tabWidth))),f=Math.max(0,Math.min(b.height,mxUtils.getValue(this.state.style,"tabHeigh…
2894 d){var f=Math.max(0,Math.min(b.width,d.x-b.x));mxUtils.getValue(this.state.style,"tabPosition",n.pr…
2902n=Sa.x,H=Sa.y,u="horizontal"==mxUtils.getValue(b.style,"elbow","horizontal");if(null!=l&&null!=m){…
2918 …new mxConnectionConstraint(new mxPoint(.145,1),!1,null,0,.29*-d));return b};n.prototype.getConstra…
3004 …w.translate,e=g.view.scale,n=c.x,c=c.y,b=g.getModel().getParent(b),u=g.getCellGeometry(b);g.getMod…
3005 …eometry(b);n=Math.round(g.snap(g.popupMenuHandler.triggerX/e-n));e=Math.round(g.snap(g.popupMenuHa…
3009 …null,f);if(1==g.getSelectionCount()&&null!=d&&null!=c){var n=f[0],q=g.getModel().getGeometry(n);nu…
3010 q.height=c,g.getModel().setGeometry(n,q))}}finally{g.getModel().endUpdate()}null!=e&&(g.setSelectio…
3021 …l!=l&&l!=q){var m=this.compressReportData(this.getAnonymizedXmlForPages(t)),n=this.compressReportD…
3022 …ngify(p)+"\nFrom: "+u+"\nTo: "+v+"\n\nFile Data:\n"+m+"\nPatched Shadow:\n"+n,null,"mergeFile");re…
3031 …l!=e?"\n\nError: "+e.message:"")+"\n\nStack:\n"+m+"\n\nShadow:\n"+g+"\n\nData:\n"+p,k)}catch(n){}};
3152 …configurePointerEvents,k=d.setStrokeColor;d.setStrokeColor=function(){};var n=d.setFillColor;d.set…
3153 c.apply(this,arguments);d.handJiggle.passThrough=!1;d.setFillColor=n;d.setStrokeColor=k;this.config…
3192 …est(b)||/(\.gif)($|\?)/i.test(b)||/(\.pdf)($|\?)/i.test(b));e=null!=e?e:!0;var n=mxUtils.bind(this,
3194 …,k,this.timeout,function(){e&&null!=c&&c({code:App.ERROR_TIMEOUT,retry:n})},m)});n()}catch(na){nul…
3202n,q,u,p,x,v,t,y,C){try{g=null!=g?g:!0;l=null!=l?l:!0;u=null!=u?u:this.graph;p=null!=p?p:0;var H=k?… argument
3203n=parseInt(c.getAttribute("width")),q=parseInt(c.getAttribute("height"));m=null!=m?m:1;null!=d&&(m…
3204 …h.round(C-mxUtils.mod((J-G)*m,C)),d=-Math.round(C-mxUtils.mod((N-F)*m,C));b<n;b+=C)for(var c=d;c<q…
3205 …y}else l()}catch(Ba){null!=e&&e(Ba)}});f.onerror=function(b){null!=e&&e(b)};n&&this.graph.addSvgSh…
3207 …f(g(b,4),"IHDR"!=g(b,4))null!=e&&e();else{g(b,17);e=b.substring(0,k);do{var n=l(b);if("IDAT"==g(b,…
3208 …7295);e+=b.substring(k-8,b.length);break}e+=b.substring(k-8,k-4+n);g(b,n);g(b,4)}while(n);return"d…
3212 …ppendChild(f)}return b};var n=DiagramFormatPanel.prototype.addOptions;DiagramFormatPanel.prototype…
3242n=c.dependentPropsVals[b];if(n.length>d)n=n.slice(0,d);else for(var v=n.length;v<d;v++)n.push(k);n
3245 …ar u={type:c,parentRow:l,index:q,isDeletable:!0,defVal:e,countProperty:g},q=n(b,"",u,0==q%2,m);f(b…
3246 …ge",function(){f(b,e.checked?"1":"0",c)});return e}function n(d,c,n,u,v){var p=n.dispName,x=n.type… argument
3247n.index&&(t.setAttribute("data-index",n.index),p=(null!=p?p:"")+"["+n.index+"]",u=!0);var y=docume…
3248 x||"boolean"==x)y.appendChild(k(d,c,n));else if("enum"==x){var C=n.enumList;for(v=0;v<C.length;v++)…
3249n)});g.focus();mxEvent.addListener(g,"blur",function(){b.removeChild(g)})}))}else"dynamicArr"==x?y…
3250n.allowAuto&&(null!=b.trim&&"auto"==b.trim().toLowerCase()?(b="auto",x="string"):(b=parseFloat(b),…
3251n.min)),null!=n.max&&(l.max=parseFloat(n.max)));b.appendChild(l);mxEvent.addListener(l,"keypress",…
3254 …ertices.length&&1==c.edges.length&&(v=c.edges[0].id);null!=v&&x.appendChild(n("id",mxUtils.htmlEnt…
3255 …ntPropsVals=F}x.appendChild(n(B,N,v,H,A));H=!H}}for(t=0;t<p.length;t++)for(v=p[t],d=v.parentRow,c=…
3258 …nt.addListener(k,"click",mxUtils.bind(this,function(){n(b)}))})(m);l.push(k);g.appendChild(k)}var
3265 …s.br(f),d(b[g])});null==this.format.currentScheme?n(Editor.isDarkMode()?1:"1"==urlParams.sketch?5:…
3267 "click",mxUtils.bind(this,function(){n(mxUtils.mod(this.format.currentScheme-1,this.defaultColorSch…
3268 ….appendChild(v));mxEvent.addListener(v,"click",mxUtils.bind(this,function(){n(mxUtils.mod(this.for…
3279 …extNodes;mxSvgCanvas2D.prototype.updateTextNodes=function(b,d,c,f,e,g,l,m,k,n,q){D.apply(this,argu… argument
3280 …)}function e(b){l.hiddenTags=b?[]:m.slice();f();l.refresh()}function g(b,c){n.innerHTML="";if(0<b.…
3281 …var q=0;q<b.length;q++)(function(b){var g=0>mxUtils.indexOf(l.hiddenTags,b),n=document.createEleme…
3282 …ush(b):0<=c&&l.hiddenTags.splice(c,1),f(),l.refresh());mxEvent.consume(d)});n.appendChild(q);q=doc…
3284 b);c.splice(k,1);l.hiddenTags=c;f();l.refresh()}mxEvent.consume(d)});n.appendChild(q);if(l.isEnable…
3286n.appendChild(q)}k.appendChild(n)})(b[q]);g.appendChild(k);n.appendChild(g)}}var l=this,m=l.hidden…
3287n.style.borderRadius="4px";n.style.userSelect="none";n.style.overflow="auto";n.style.position="abs…
3293 function(b,d,c,f,e,g,l,m,k,n,q,u,v,p){var x=null,t=null,y=null;u||null==this.themes||"darkTheme"!=t… argument
3300 …tions,n=b[e++],q=[];if(null!=n.open)if(l(),this.isCustomLink(n.open)){if(!this.customLinkClicked(n
3301n.wait?parseInt(n.wait):1E3),l());null!=n.opacity&&null!=n.opacity.value&&Graph.setOpacityForNodes…
3302n.fadeOut.delay));null!=n.wipeIn&&(q=q.concat(this.createWipeAnimations(this.getCellsForAction(n.w…
3303n.toggleStyle&&null!=n.toggleStyle.key&&(g(),this.toggleCellStyles(n.toggleStyle.key,null!=n.toggl…
3304n.highlight.color,n.highlight.duration,n.highlight.opacity));null!=n.scroll&&(u=this.getCellsForAc…
3305 (f++,this.executeAnimations(q,m,c?1:n.steps,c?0:n.delay));0==f?k():l()}else this.stoppingCustomActi…
3310 …agsForCell(d[m]),n=!1;if(0<k.length&&(k=k.split(" "),k.length>=b.length)){for(var q=n=0;q<k.length…
3331 …r ea=mxMarker.createMarker;mxMarker.createMarker=function(b,d,c,f,e,g,l,m,k,n){if(null!=c&&null==m… argument
3332 …ion c(d,c,g){var l=d.useCssTransforms,m=d.currentTranslate,k=d.currentScale,n=d.view.translate,q=d…
3338n,d.view.scale=q);return c}var f=parseInt(E.value)/100;isNaN(f)&&(f=1,E.value="100 %");var f=.75*f…
3339 …lse{n&&(n=l==k&&m==k);if(!n&&null!=b.pages&&b.pages.length){var x=0,n=b.pages.length-1;q.checked||…
3341n);l!=e&&l.container.parentNode.removeChild(l.container)}}else u=c(e);null==u?b.handleError({messa…
3342n=document.createElement("div");n.style.cssText="border-bottom:1px solid lightGray;padding-bottom:…
3343n.appendChild(l);mxUtils.br(n);var u=q.cloneNode(!0);q.setAttribute("checked","checked");u.setAttr…
3344n.appendChild(l);var p=v.cloneNode(!0);n.appendChild(p);mxEvent.addListener(v,"focus",function(){u…
3346n=n.cloneNode(!1),C=t.cloneNode(!0);C.setAttribute("value","fit");t.setAttribute("checked","checke…
3348 …hild(Q);B.appendChild(N);B.appendChild(F);x.appendChild(B);n.appendChild(x);g.appendChild(n);n=doc…
3349n.appendChild(l);l=document.createElement("div");l.style.marginBottom="12px";var M=PageSetupDialog…
3350n.appendChild(E);g.appendChild(n);l=document.createElement("div");l.style.cssText="text-align:righ…
3351 …e="geBtn gePrimaryBtn";l.appendChild(x);b.editor.cancelFirst||l.appendChild(n);g.appendChild(l);th…
3366 …r b=c.toDataURL("image/png");EditorUi.prototype.useCanvasForExport=null!=b&&6<b.length}catch(n){}};
3381n=b.ownerDocument.createElement("diagram");n.setAttribute("id",Editor.guid());n.appendChild(b)}els…
3382 n.setAttribute("id",Editor.guid());mxUtils.setTextContent(n,l)}l=b.ownerDocument.createElement("mxf…
3389 …);b[EditorUi.DIFF_INSERT][d].data=mxUtils.getXml(c)}catch(n){b[EditorUi.DIFF_INSERT][d].data=n.mes…
3395n=this.pages[0];this.currentPage==n?d.setBackgroundImage(this.editor.graph.backgroundImage):null!=
3406 this.currentPage.getName());return d};EditorUi.prototype.downloadFile=function(b,c,e,g,k,n,u,p,t,x,… argument
3407 …unction(d,c){try{var f=this.editor.graph.pageVisible;null!=n&&(this.editor.graph.pageVisible=n);va…
3409n,u,p,t,x,D){var d=this.editor.graph,f=d.getGraphBounds();e=this.getFileData(!0,null,null,null,e,0… argument
3410n=0;n<this.pages.length;n++)if(this.pages[n]==this.currentPage){l="&from="+n;break}n=d.background;…
3428 …oreLibraries=function(){};EditorUi.prototype.saveLibrary=function(b,c,e,g,k,n,p){};EditorUi.protot… argument
3442n,q,p,u,v){if(null!=d&&"image/"==e.substring(0,6))d="shape=image;verticalLabelPosition=bottom;vert… argument
3443 …me)try{for(var n=g.documentElement.getElementsByTagName("diagram"),m=0;m<n.length;m++){var q=this.…
3456 ….appendChild(c);return b};EditorUi.prototype.handleError=function(b,c,e,g,k,n,p){var d=null!=this.… argument
3458 null!=k?null:null!=n?n:window.location.hash;if(null!=q&&("#G"==q.substring(0,2)||"#Uhttps%3A%2F%2Fd…
3462 …==typeof f&&0<f.length&&(p=mxUtils.htmlEntities(f)))}var u=n=null;null!=f&&null!=f.helpLink?(n=mxR…
3463n=mxResources.get("contactOwner"),p+=mxUtils.htmlEntities(" ("+n+": "+f.ownerEmail+")"),u=mxUtils.… argument
3464 …=e&&e()},g,k,null,null,null,null,f);this.showDialog(b.container,340,46+f,!0,n);b.init()};EditorUi.…
3472 k,n){"text/xml"!=e||/(\.drawio)$/i.test(c)||/(\.xml)$/i.test(c)||/(\.svg)$/i.test(c)||/(\.html)$/i.…
3473n=(null==navigator.userAgent||0>navigator.userAgent.indexOf("PaleMoon/"))&&"undefined"!==typeof d.…
3474 …e,g,k,n){b="xml="+encodeURIComponent(b);return new mxXmlRequest(SAVE_URL,b+(null!=e?"&mime="+e:"")… argument
3475 …e=function(b,c,e,g,k,n,p,v){n=null!=n?n:!1;p=null!=p?p:"vsdx"!=k&&(!mxClient.IS_IOS||!navigator.st… argument
3477 …xResources.get("download"),!1,n,p,null,1<k,d,b,e,g);n=this.isServices(k)?k>d?390:270:160;this.show…
3490n,p){p=null!=p?p:!mxClient.IS_IOS||!navigator.standalone;var d=this.getServiceCount(!1);isLocalSto… argument
3491n,!0,d,e)}catch(F){this.handleError(F)}else this.spinner.spin(document.body,mxResources.get("savin…
3492n,k);d=this.isServices(d)?4<d?390:270:160;this.showDialog(b.container,420,d,!0,!0);b.init()};Edito… argument
3495n?(null==this.thumbImageCache&&(this.thumbImageCache={}),this.editor.convertImages(b,q,this.thumbI… argument
3496 …d","checked"),d.defaultChecked=!0);g&&d.setAttribute("disabled","disabled");n&&(b.appendChild(d),e…
3502 …on(){e.focus()}}};EditorUi.prototype.createUrlParameters=function(b,c,e,g,k,n,p){p=null!=p?p:[];g&… argument
3503n&&p.push("layers=1"),this.editor.graph.foldingEnabled&&p.push("nav=1"));e&&null!=this.currentPage… argument
3505 …gth?"?"+y.join("&"):"")+e};EditorUi.prototype.createHtml=function(b,c,e,g,k,n,p,t,y,x,D,I){this.ge… argument
3506 …is.getFileData(!0,null,null,null,null,!p);c='<div class="mxgraph" style="'+(n?"max-width:100%;":""…
3512 …,!0);f.focus()};EditorUi.prototype.showPublishLinkDialog=function(b,c,e,g,k,n,p){var d=document.cr… argument
3516 …",t.value=g+"px",d.appendChild(t),mxUtils.br(d);var u=this.addLinkSection(d,n);e=null!=this.pages&…
3517 …heckbox(d,mxResources.get("lightbox"),!0,null,null,!n),K=this.addEditButton(d,E),C=K.getEditInput(…
3522 …+(g?125:210),!0,!0)};EditorUi.prototype.showExportDialog=function(b,c,e,g,k,n,p,t,y){p=null!=p?p:E… argument
3525 …dListener(C,"change",function(){"selectionOnly"==C.value&&(v.checked=!0)})):n&&(d.appendChild(K),m…
3533 …iner,280,300,!0,!0)};EditorUi.prototype.createEmbedImage=function(b,c,e,g,k,n,p,t){function d(d){v… argument
3534 EditorUi.lightboxHost+"/?client=1"+(null!=l?"&page="+l:"")+(k?"&edit=_blank":"")+(n?"&layers=1":"")…
3536 …("drawingTooLarge")})};EditorUi.prototype.createEmbedSvg=function(b,c,e,g,k,n,p){var d=this.editor… argument
3537 …,r);img.wnd=window.open('"+EditorUi.lightboxHost+"/?client=1"+(k?"&edit=_blank":"")+(n?"&layers=1":
3539 EditorUi.lightboxHost+"/?client=1"+(null!=c?"&page="+c:"")+(k?"&edit=_blank":"")+(n?"&layers=1":"")…
3541 …=this.editor.graph;try{this.editor.graph=c,this.editor.setGraphXml(b)}catch(n){}finally{this.edito…
3545n,p,t,y,x,D,I,B){t=null!=t?t:!0;D=null!=D?D:0;p=null!=y?y:c.background;p==mxConstants.NONE&&(p=nul… argument
3546n);if(null!=k)this.embedFonts(n,mxUtils.bind(this,function(b){t?this.editor.convertImages(b,mxUtil…
3547 …b)}}))}catch(l){c(b)}}))};EditorUi.prototype.exportImage=function(b,c,e,g,k,n,p,t,y,x,D,I,B){y=nul… argument
3548n,p,x,I,B)}catch(M){this.spinner.stop(),this.handleError(M)}}};EditorUi.prototype.isCorsEnabledFor… argument
3549 …&null!=this.pages){var q=m.getElementsByTagName("diagram");if(1==q.length&&!n){if(m=Editor.parseDi…
3550 …model.execute(new RenamePage(this,this.currentPage,t))}}else if(0<q.length){n=[];var u=0;null!=thi…
3551 …er",[K+1]));f.model.execute(new ChangePage(this,E,E,K,!0));n.push(E)}this.updatePageLinks(b,n)}}if…
3555 …serviceUnavailableOrBlocked")});else{d=new FormData;d.append("file1",b,g);var n=new XMLHttpRequest;
3556 n.open("POST",VSD_CONVERT_URL+(/(\.vss|\.vsx)$/.test(g)?"?stencil=1":""));n.responseType="blob";thi…
3557n.responseType||"text"==n.responseType?e({message:n.responseText}):(d=new FileReader,d.onload=func…
3566 1)))),n=mxUtils.parseXml(m).getElementsByTagName("svg");0<n.length&&(b=parseFloat(n[0].getAttribute…
3567 …ate()}return f};EditorUi.prototype.insertTextAt=function(b,c,e,g,k,n,p,t){n=null!=n?n:!0;p=null!=p… argument
3568 …,c,e,n,!0,t)}if("data:image/png;base64,"==b.substring(0,22)&&(f=this.extractGraphModelFromPng(b),n…
3569 …ecodeURIComponent(b.substring(b.indexOf(",")+1));var l=this.importXml(f,c,e,n,!0,t);if(0<l.length)…
3571n,null,t);if(0<b.length)if(this.isLucidChartData(b))this.convertLucidChart(b,mxUtils.bind(this,fun…
3813 …g.appendChild(document.createTextNode('@font-face {\n\tfont-family: "'+b+'";\n\tsrc: url("'+c+'");…
4011 …DIRECTLY EDIT THIS FILE, IT IS AUTOMATICALLY GENERATED AND IT IS BASED ON:*\n# https://docs.google…
4022 …his.diagrams=this.xmlNode.getElementsByTagName("diagram"),m=this.xmlNode)}),n=this.graph.setBackgr…
4023 b.originalSrc=c))}n.apply(this,arguments)};var p=this.graph.getGraphBounds;this.graph.getGraphBound…
4051 …at(e.style.opacity||0)?p():t(30))}})}for(var l=this.toolbarItems,q=0,m=null,n=null,u=null,v=null,y…
4058n&&(n=this.graph.createTagsDialog(mxUtils.bind(this,function(){return!0})),n.div.getElementsByTagN…
4059n.div,80));if(null!=u)u.parentNode.removeChild(u),u=null;else{u=n.div;mxEvent.addListener(u,"mouse…
4086 …ft=1E5;k.scrollTop=1E5};l();var m=!1,n=function(){c.resizedAttached&&(m&&(c.resizedAttached.call()… function