Lines Matching refs:p

53p=H="",ca=C;/^[~^$*|]?=$/.test(a[b])&&(H=a[b++],p=a[b++],/^[0-9A-Za-z:_\-]+$/.test(p)?p='"'+p+'"':…
54 …NT:""!==H&&(m=C);break;default:m=C}m&&(i+="["+W.replace(/[^\w-]/g,"\\$&")+H+p+(ca?" i]":"]"))}else…
77 …:276,noframes:276,noscript:276,object:272,ol:0,optgroup:0,option:1,output:0,p:1,param:274,pre:0,pr… property in $.f
81 …"HTMLOptGroupElement",option:"HTMLOptionElement",output:"HTMLOutputElement",p:"HTMLParagraphElemen… property in $.Q
86 …ction b(b,d,g,f,t){return function(){a(b,d,g,f,t)}}function a(a,d,p,e,t){try{a.H&&0==p&&a.H(t);for… argument
87p<i;){var o=d[p++],l=d[p];switch(o){case "&":I.test(l)?(a.e&&a.e("&"+l,t,A,b(a,d,p,e,t)),p++):a.e&…
88p+1]){p+=2;j=h[1].toLowerCase();a.w&&a.w(j,[],t,A,b(a,d,p,e,t));var B=g.f[j];B&K&&(p=k(d,{name:j,n…
89p,e,t));break;case "<!":if(/^\w/.test(l)){if(!e.r){for(z=p+1;z<i&&">"!==d[z];z++);z<i?p=z+1:e.r=n}…
101p=new Array(n);function m(t,e,a,i,n){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.e…
103 …n(d,h,l,p){if(h){l=$jscomp.global;d=d.split(".");for(p=0;p<d.length-1;p++){var v=d[p];v in l||(l[v… argument
104 …){if(d)return d;var h=Function.prototype.apply;return function(d,p,v){return h.call(d,p,v)}},"es6"… argument
105 …d){return d?d:function(d,l,p){void 0===p&&(p=d);p=Object.create(p.prototype||Object.prototype);ret…
107p){$jscomp.initSymbolIterator();l=null!=l?l:function(d){return d};var h=[],z=d[Symbol.iterator];if…
109p){var h=this.length||0;0>l&&(l=Math.max(0,h+l));if(null==p||p>h)p=h;p=Number(p);0>p&&(p=Math.max(…
111 …ction(){var l=_getPrototypeOf(d);if(h)var p=_getPrototypeOf(this).constructor,l=Reflect.construct(…
114 …=typeof d.length){l&&(d=l);var p=0,v=function(){};return{s:v,n:function(){return p>=d.length?{done…
115 …<h.length;l++){var p=h[l];p.enumerable=p.enumerable||!1;p.configurable=!0;"value"in p&&(p.writable…
119 …keToArray(d,h){if(null==h||h>d.length)h=d.length;for(var l=0,p=Array(h);l<h;l++)p[l]=d[l];return p}
120p=!0,v=!1,z=void 0;try{for(var B=d[Symbol.iterator](),C;!(p=(C=B.next()).done)&&(l.push(C.value),!…
122 d]:null}function p(b,a,e){var c=b.length;if(3>c)return!1;var f=[Number.MAX_SAFE_INTEGER,e];a=[a,e];… function
129 case "q":var p=q.map(function(a,c){return c%2?a+n:a+g});w.push({key:"Q",data:p});g=p[2];n=p[3];brea…
130 …=0,x=0,w=0,t=0,h=0,q=0;b=_createForOfIteratorHelper(b);var l;try{for(b.s();!(l=b.n()).done;){var p=
131 l.value,u=p.key,y=p.data;switch(u){case "M":g.push({key:"M",data:_toConsumableArray(y)});a=y;e=_sli…
142 …ssOffset*(b-e)/200,n=u(n,f,m),t=u(t,f,m),l=[],q=function(){return u(h,f,m)},p=function(){return u(… function
143 data:[n+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())]}…
148 …[a],r=b[e-1],g=0,n=1,m=a+1;m<e-1;++m){var h;h=b[m];var l=d,t=r,p=Q(l,t);0===p?h=Q(h,l):(p=((h[0]-l…
149 l[0])+(h[1]-l[1])*(t[1]-l[1]))/p,h=(p=Math.max(0,Math.min(1,p)),Q(h,E(l,t,p))));h>g&&(g=h,n=m)}retu…
151 …eArray(b))))}return c}},{key:"midPointInPolygon",value:function(a,e){return p(a,(e[0][0]+e[1][0])/…
152 …tance}).map(function(a){return a.point});if(p.apply(void 0,[a].concat(_toConsumableArray(e[0])))||…
155 …(l/b)-1,t=l-w*b,p=(m[0][0]+m[1][0])/2-b/4,q=Math.min(m[0][1],m[1][1]),u=0;u<w;u++){var v=q+t+u*b,z…
157p=t+b,t=[k[0]+t*Math.cos(a)+f*Math.cos(a),k[1]+t*Math.sin(a)+f*Math.sin(a)],p=[k[0]+p*Math.cos(a)+…
233 …ell))mxUtils.setOpacity(m.shape.node,100*d/10);else{var n=a.getView().scale,p=(l.geometry.x-l.prev…
234 …*n,n=(l.geometry.height-l.previous.height)*n;0==d?(m.x-=p,m.y-=q,m.width-=r,m.height-=n):(m.x+=p/1…
259 …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*Math.PI/ variable
260p*m+q*n;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=…
261p*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<g;…
269 …ll!=f){var g=c.x-f.x,k=c.y-f.y,f={p:f,distSq:k*k+g*g};null!=f&&(null==d||d.distSq>f.distSq)&&(d=f)… property in f
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 … c};mxSvgCanvas2D.prototype.getAlternateText=function(a,b,c,d,e,f,g,k,l,m,n,p,q){return null!=f?th… argument
512 …teAlternateContent=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,m… argument
534 …te.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+="scale("+f+",…
540p,q,r,t){q=this.createElement("g");var u=this.createElement("foreignObject");this.setCssText(u,"ov… argument
541 p),null!=a&&(u.setAttribute("requiredFeatures","http://www.w3.org/TR/SVG11/feature#Extensibility"),…
542 mxSvgCanvas2D.prototype.updateTextNodes=function(a,b,c,d,e,f,g,k,l,m,n){var p=this.state.scale;mxSv…
543p,mxUtils.bind(this,function(c,d,e,f,g){a+=this.state.dx;b+=this.state.dy;var k=n.firstChild,l=k.f…
544 …k.setAttribute("width",Math.ceil(1/Math.min(1,p)*100)+"%");k.setAttribute("height",Math.ceil(1/Mat…
546p,q){p="box-sizing: border-box; font-size: 0; text-align: "+(c==mxConstants.ALIGN_LEFT?"left":c==m… argument
547 p+="width: "+Math.round(a-2)+"px; "+u):"width"==f?(t="width: "+Math.round(a-2)+"px; ",n+="width: 10…
548 "px; ",""!=c&&"fill"!=f&&(r=0)):(n+="white-space: nowrap; ",""==c&&"block"!=f&&(x=0));q(x,r,m+t+u,p
551p,q){if(this.textEnabled&&null!=e)if(p=null!=p?p:0,this.foEnabled&&"html"==l){var r=this.createDiv… argument
553p){n=null!=n?n:0;k=this.state;var q=k.fontSize,r=this.createElement("g"),t=k.transform||"";this.up… argument
554p*k.scale-2,n*k.scale-2,c*k.scale+4,d*k.scale+4),null!=this.defs?this.defs.appendChild(n):this.roo…
555 …Attribute("opacity",k.alpha);t=e.split("\n");p=Math.round(q*mxConstants.LINE_HEIGHT);var u=q+(t.le…
556 …rmat(n*k.scale)+this.textOffset),mxUtils.write(q,t[m]),r.appendChild(q)),n+=p;this.root.appendChil…
559 …if(null!=a.getBBox&&this.root.ownerDocument==document)try{var n=a.getBBox(),p=mxClient.IS_IE&&mxCl…
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.…
565 …(c-B),f=!0):Math.abs(c-A)<t&&(b.y=c-a.y-a.height,t=Math.abs(c-A),f=!0));f&&(p=d,q=c,null==this.gui…
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…
569p&&null!=a&&(d=Math.min(a.x+b.x-this.graph.panDx,p.x),e=Math.max(a.x+a.width+b.x-this.graph.panDx,
600 …ll==f||0>mxUtils.indexOf(f,l-1))){var p=Math.sqrt(n*n+m*m);a.lineTo(g.x+n*Math.min(d,p/2)/p,g.y+m*…
601 ….length)],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…
621p=Math.min(m,n);if("save"==g)a.save();else if("restore"==g)a.restore();else if(f){if("path"==g){a.…
622p=!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[m].length-1]…
626 …(p=b.rotation,q=1==mxUtils.getValue(b.style,mxConstants.STYLE_FLIPH,0),b=1==mxUtils.getValue(b.sty…
627p=mxStencilRegistry.getStencil(c.getAttribute("name")),null!=p&&(k+=Number(c.getAttribute("x"))*m,…
628 …c.split(" ");n=[];for(m=0;m<c.length;m++)0<c[m].length&&n.push(Number(c[m])*p);c=n.join(" ");a.set…
629 …bute("family")):"fontsize"==g&&a.setFontSize(Number(c.getAttribute("size"))*p);!e||"fillstroke"!=g…
631p,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.ARROW_… argument
632p,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;ret… argument
633 …dMarker("openThin",b(3));mxMarker.addMarker("oval",function(a,b,c,g,k,l,m,n,p,q){var d=m/2,e=g.clo… argument
634p,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(g.… argument
648 …/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*l,y=u-3*d;a.begin();a…
652 …MarkerEnd(),m=g?0:this.arrowSpacing+c/2,n=this.startSize+c,c=this.endSize+c,p=this.isArrowRounded(…
653 u=Math.sqrt(r*r+t*t);if(0!=u){var x=r/u,y,B=x,A=t/u,z,C=A,u=f*A,v=-f*x,D=[];p?a.setLineJoin("round"…
654 ….04,.35)),E=0!=v&&p?Math.max(.1,H):Math.max(E,.06),I=b[u+1].x+z*f/2/E,F=b[u+1].y-y*f/2/E;z=b[u+1].…
656 p&&a.setLineJoin("flat");2<b.length&&(a.setMiterLimit(4),k&&!g&&(a.begin(),this.paintMarker(a,b[0].…
659 function mxText(a,b,c,d,e,f,g,k,l,m,n,p,q,r,t,u,x,y,B,A,z){mxShape.call(this);this.value=a;this.bou… argument
660 this.spacingBottom=this.spacing+parseInt(p||0);this.spacingLeft=this.spacing+parseInt(q||0);this.ho…
760 …d.beginUpdate();try{for(var l=0,k=null,m=0,n=null,p=this.getLayoutCells(a),q=0;q<p.length;q++){var…
768p=c.getGeometry(k);null!=p&&(p=p.clone(),p.x=l,p.y=m,b?(this.resizeVertices&&(p.width=d,p.height=n…
793p,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+g.wid…
804 …s[k]=d;var l=this.getVertexBounds(g),m=l.width,n=l.height,p=l.x,q=l.y;this.cellLocation[d][0]=p+m/…
806p=this.graph.snap(Math.round(this.cellLocation[d][0])),q=this.graph.snap(Math.round(this.cellLocat…
851 …m.length;n++){var p=m[n];this.edgeMapper.put(p,l);d.resetEdge(p);a.disableEdgeStyle&&(a.setEdgeSty…
863 …sLayerConnectedCells(a),m=[],n=0;n<k.length;n++){var p=k[n].getGeneralPurposeVariable(a-1);m.push(
865 …;l++){var m=g[l],n=m.getGeneralPurposeVariable(f);0>n&&(n=l);k[n]=m}for(var p=null,q=null,r,t,u=nu…
866p,n=q,r=u,t=x,y=B;B=k[l+1];p=B.getNextLayerConnectedCells(f);q=B.getPreviousLayerConnectedCells(f)…
867 y.setGeneralPurposeVariable(f,B.getGeneralPurposeVariable(f)),B.setGeneralPurposeVariable(f,p),p=m,…
879 …ex),k=e.getNextLayerConnectedCells(l),n=e.getPreviousLayerConnectedCells(l),p=k.length,q=n.length,…
880p+q,x=e.getGeneralPurposeVariable(l),y=x;0<u&&(y=(r*p+t*q)/u);p=!1;y<x-1?0==m?(e.setGeneralPurpose…
881 y),p=!0):x>e.getGeneralPurposeVariable(l)+1&&(e.setGeneralPurposeVariable(l,x),p=!0)));if(p){for(e=…
883p=e[b[n].id];if(null!=p){var q=p.cell;p.visited?(k=q.getGeneralPurposeVariable(a)+q.width/2+this.i…
889p=this.layout.getVertexBounds(n.cell);null!=p?this.orientation==mxConstants.DIRECTION_NORTH||this.…
890 (p=1,null!=n.edges?p=n.edges.length:mxLog.warn("edge.edges is null"),n.width=(p-1)*this.parallelEdg…
892p=e.getGeneralPurposeVariable(e.minRank+1),l=e.minRank+1;l<e.maxRank-1;l++){var q=e.getX(l+1);p==q…
893p,f++):p=m[l-e.minRank-1]=q}p=e.getX(l);for(l=e.maxRank-1;l>e.minRank+1;l--)q=e.getX(l-1),p==q?(n[…
897 …(n)}l.sort(WeightedCellSorter.prototype.compare);for(var n=e.x[0]-e.width/2,p=n+e.width,q=f=0,g=[]…
898 …EdgeSep+2*this.prefHozEdgeSep&&(n+=this.prefHozEdgeSep,p-=this.prefHozEdgeSep);l=(p-n)/f;n+=l/2;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 …TH,m=0;m<a.edges.length;m++){var n=a.edges[m],p=this.layout.getVisibleTerminal(n,!0),q=[],r=a.isRe…
901 …inal(n,!0);this.layout.isPort(y)&&k.model.getParent(y)==p&&(t=k.view.getState(y),t=null!=t?t.x:p.g…
902p=a.maxRank-1;for(r&&(t=0,x=a.x.length,u=1,p=a.minRank+1);a.maxRank!=a.minRank&&t!=x;t+=u){var y=a…
903p+=u}null!=f&&(t=r?2:0,u=r?l?this.rankTopY[c]:this.rankBottomY[c]:l?this.rankBottomY[d]:this.rankT…
914 …isCellVisible(k)){for(var l=this.getEdges(k),m=0,n=0,p=0;p<l.length;p++)this.getVisibleTerminal(l[
922 …],!k[c]);for(var m=1,n=0;n<l.length;n++)if(n!=c){var p=k[n];this.getVisibleTerminal(l[n],!p)==a&&(
933 …r l=this.getEdges(k),m=0,n=0,p=0;p<l.length;p++){var q=this.getVisibleTerminal(l[p],!0);q==k?(q=th…
941p=n==a;p&&(n=this.getVisibleTerminal(m[c],!1));for(var q=0;q<this.swimlanes.length&&!l.isAncestor(…
1004 …th/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&&0!=p)return…
1005p/Math.abs(p));if(0==n&&0==p)return new mxPoint(b,c);if(d){if(c>=f&&c<=f+a.height)return a=c-m,a=M…
1007p=new mxPoint(f+k,m),q=new mxPoint(f,g+l);b==mxConstants.DIRECTION_NORTH?(n=q,p=new mxPoint(a,g),q…
1009p.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));return c… variable
1014 …t(e+Math.floor(.5*g),f+Math.floor(1.5*k)),u=new mxPoint(e+Math.floor(1.25*g),f)))}d=l;p=a;m>=e&&m<=
1015p=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.x,u.y)}e…
1016p>m&&p<r?(b=new mxPoint(e,f-Math.floor(.25*k)),u=new mxPoint(e+Math.floor(1.5*g),f+Math.floor(.5*k…
1017p==m)return new mxPoint(e+Math.floor(.75*g),f);if(p==q-m)return new mxPoint(e+Math.floor(.25*g),f)…
1018 p<q?(b=new mxPoint(e-Math.floor(.25*g),f+k),u=new mxPoint(e+Math.floor(.5*g),f-Math.floor(.5*k))):0…
1024 …var m=this.graph.getGraphBounds().clone(),n=this.graph.getView().getScale(),p=n/this.scale,q=this.…
1025 2*this.border;this.pageFormat.height+=this.marginTop+this.marginBottom;m.width/=p;m.height/=p;var u…
1039 ….getCanvas(),l=g.getBackgroundPane(),m=g.getDrawPane(),n=g.getOverlayPane(),p=c;if(this.graph.dial…
1040 …is.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.ce…
1155 …ate,b.x=l.x,b.y=l.y;else if(null!=b){var p=mxUtils.getPortConstraints(b,a,!0,mxConstants.DIRECTION…
1156 p!=mxConstants.DIRECTION_MASK_WEST+mxConstants.DIRECTION_MASK_EAST&&(k=p==mxConstants.DIRECTION_MAS…
1164 …ew.getRoutingCenterY(b)):null!=m&&(m=m.clone());var n=f.length-1;if(null!=d&&0<d.length){for(var p=
1165p.push(r)}if(0==p.length)return;null!=m&&null!=p[0]&&(1>Math.abs(p[0].x-m.x)&&(p[0].x=m.x),1>Math.…
1166p.length%2?t:x);break}}t=g;u=f[n];null!=u&&(t=null);x=p[p.length-1];y&&B&&(p=p.slice(1))}l&&(null!…
1167 !l,d=p[q],l?m.y=d.y:m.x=d.x,c.push(m.clone())}else d=m,l=!0;m=f[n];null==m&&null!=g&&(m=new mxPoint…
1173 …,a.view.scale),n=f[0],p=f[f.length-1],q=null!=l?l.x:n.x,r=null!=l?l.y:n.y,t=null!=l?l.width:0,u=nu…
1174 p.y,B=null!=m?m.width:0,A=null!=m?m.height:0,f=mxEdgeStyle.getJettySize(a,!0),z=mxEdgeStyle.getJett…
1177p);v=q[0][1]-(q[1][1]+q[1][3]);p=q[0][0]-(q[1][0]+q[1][2]);r=q[1][1]-(q[0][1]+q[0][3]);t=q[1][0]-(…
1178p=p>=t?p:t;r=v>=r?v:r;t=[[0,0],[0,0]];u=!1;for(v=0;2>v;v++)0==b[v]&&(0==(m[v]&c[v])&&(m[v]=mxUtils…
1179 …=!0));0<r&&!u&&(t[0][0]=n[0],t[0][1]=m[0],t[1][0]=n[1],t[1][1]=m[1],u=!0);0<p&&!u&&(t[0][0]=m[0],t…
1182 3:n,u+=z,4<u&&(u-=4),p=mxEdgeStyle.dirVectors[u-1],n=0<u%2?0:1,n!=C&&(f++,mxEdgeStyle.wayPoints1[f]…
1183 p[0],0<r&&(mxEdgeStyle.wayPoints1[f][0]+=p[0]*r)):(r=(r-mxEdgeStyle.wayPoints1[f][1])*p[1],0<r&&(mx…
1235 …k=f.y,l=c,m=k,n=1;n<b.length;n++){var p=b[n];null!=p&&(e=f.x-p.x,f=f.y-p.y,e=Math.sqrt(e*e+f*f),g.…
1239 …x,k.y,b,c),m=0,n=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…
1301 …),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/k;null!=thi…
1302 …ndImage.width-g.x/k),p=Math.max(p,this.backgroundImage.height-g.y/k));var q=(b?a:2*a)+c+1,l=l-q,m=…
1328 …his.getBoundingBoxFromGeometry(m,!0);if(null!=n&&0<n.width&&0<n.height){var p=this.isSwimlane(a[k]…
1329p.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.height=M…
1332 p=this.view.getState(this.model.getParent(a[g]));if(null!=n&&null!=p)if(c=d?0:p.origin.x,p=d?0:p.or…
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)}…
1336 …gth;l++)if(null==a[l])c--;else{var p=this.model.getParent(a[l]);if(null!=m&&a[l]!=b&&b!=p){var q=t…
1337 (t.x=Math.max(0,t.x),t.y=Math.max(0,t.y));this.model.setGeometry(a[l],t)}}b==p&&c+l>this.model.getC…
1343 …oints&&null!=l){var n=this.view.translate,p=this.view.scale,q=mxUtils.findNearestSegment(l,(d+n.x)…
1354 …a));if(null!=n){var p=this.view.translate,q=this.view.scale,r=(n.y+n.height)/q-d.y-p.y;d.width=Mat…
1365 …a){for(;null!=a;){if(l.get(a))return!0;a=this.model.getParent(a)}return!1}),p=[],m=0;m<a.length;m+…
1366 (n(this.model.getTerminal(r,!0))||n(this.model.getTerminal(r,!1)))||p.push(a[m])}a=p;d&&(a=this.clo…
1392 …lone(),l=-k.origin.x,m=-k.origin.y,n=g.absolutePoints,p=this.model.getTerminal(a[e],!0);if(null!=p
1393 p,!0)){for(;null!=p&&!d.get(p);)p=this.model.getParent(p);null==p&&(f.setTerminalPoint(new mxPoint(…
1406p=b?f-k.height:0;e?(k.x-=l.x,k.y-=l.y,a=this.container.scrollWidth,b=this.container.scrollHeight,a…
1407 …f)/2):this.view.setTranslate(a?Math.floor(l.x-k.x/m+n*c/m):l.x,b?Math.floor(l.y-k.y/m+p*d/m):l.y)};
1473 …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&&(e=this…
1474 …tersects(g,u)||null==g&&(m.isEdge(t)||m.isVertex(t))&&u.x>=a&&u.y+u.height<=p&&u.y>=b&&u.x+u.width…
1475 …(m,b?a:null),p=0,q=0,r=0;r<n.length;r++)this.view.getVisibleTerminal(n[r],!0)==m?p++:q++;(c&&0==p&…
1512p=this.getViewBox();e=Math.max(p.width/l,p.height/n);if(mxEvent.getSource(f)!=this.viewport)if(thi…
1513p.y-n*e/2+(b.y-this.border-q.top)*e}else p=this.source.view.translate,n=this.viewport.getBoundingC…
1694 …&&e.add(m,g,l.parent.getIndex(l))}var p=e.getGeometry(g);null==p&&(p=new mxGeometry,p.relative=!0,…
1695 …view.scale,r=this.graph.view.translate;p.points=[];for(a=0;a<this.waypoints.length;a++){var t=this…
1696 p.setTerminalPoint(t,!1)}this.fireEvent(new mxEventObject(mxEvent.CONNECT,"cell",g,"terminal",b,"ev…
1711 p=l-this.focusIcons[m].bounds.getCenterY(),n=n*n+p*p;if((this.intersects(this.focusIcons[m],e,b,c)|…
1712 …s.focusHighlight=p;var q=mxUtils.bind(this,function(){return null!=this.currentFocus?this.currentF…
1786p=c.y-this.startY,c=m*n+l*p,n=l*n-m*p,p=c,q=this.graph.view.scale,r=this.isRecursiveResize(this.st…
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
1795p+=b,p=e?this.graph.snap(p/f)*f:Math.round(p/f)*f;else if(2==d||4==d||7==d)q+=b,q=e?this.graph.sna…
1907 …0<g.points.length)for(var l=this.abspoints,m=l[0],n=l[1],k=[],p=2;p<l.length;p++){var q=l[p];0==Ma…
1970p=c.getGraphBounds();null!=p&&(n.setAttribute("x",Math.round(p.x)),n.setAttribute("y",Math.round(p
1971p,g);g=f.absolutePoints;if(null!=g&&0<g.length){l=Math.round(g[0].x)+","+Math.round(g[0].y);for(p=…
1972 0;p<k;p++)f=this.encodeCell(a,c,b.getChildAt(d,p)),null!=f&&n.appendChild(f)}}return n};return a}()…
1994 p()};l.padM.onmouseup=l.padM.onmouseout=function(){y&&(y=!1,mxJSColor.fireEvent(u,"change"))};l.pad…
2004 …eak;case 1:r.fromHSV(null,1-a/(mxJSColor.images.sld[1]-1),null,C)}}function p(){if(r.onImmediateCh… function
2011 …Element),y=!1,B=!1,A=1,z=2,C=4,v=8;u&&(q=function(){r.fromString(u.value,A);p()},mxJSColor.addEven…
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… argument
2068 …&(c.style.overflowY="auto");c.style.overflowX="hidden";if(p&&(p=document.createElement("img"),p.se…
2069 p.setAttribute("title",mxResources.get("close")),p.className="geDialogClose",p.style.top=I+14+"px",
2076 var ErrorDialog=function(b,c,e,k,g,p,t,d,f,l,q){f=null!=f?f:!0;var m=document.createElement("div");… argument
2077 …2px";e.style.textAlign="center";null!=p&&(c=mxUtils.button(mxResources.get("tryAgain"),function(){…
2080 …Dialog.printPreview(f)}var e=b.editor.graph,k,g,p=document.createElement("table");p.style.width="1…
2085 g.appendChild(f);k.appendChild(g);t.appendChild(k);p.appendChild(t);this.container=p};PrintDialog.p…
2086 PrintDialog.createPrintPreview=function(b,c,e,k,g,p,t){c=new mxPrintPreview(b,c,e,k,g,p);c.title=mx… argument
2088 …"):(u.removeAttribute("src"),u.style.display="none")}var k=b.editor.graph,g,p,t=document.createEle…
2089p=document.createElement("td");p.style.verticalAlign="top";p.style.fontSize="10pt";mxUtils.write(p
2090 mxUtils.write(p,mxResources.get("background")+":");g.appendChild(p);p=document.createElement("td");
2091p.appendChild(l);mxUtils.write(p,mxResources.get("gridSize")+":");var m=document.createElement("in…
2092 p=document.createElement("td");mxUtils.write(p,mxResources.get("image")+":");g.appendChild(p);p=doc…
2093p.appendChild(u);p.appendChild(n);g.appendChild(p);d.appendChild(g);g=document.createElement("tr")…
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…
2097p.setAttribute("checked","checked"),p.defaultChecked=!0,p.checked=!0,t.removeAttribute("checked"),…
2098 …display="")}}c="format-"+c;var p=document.createElement("input");p.setAttribute("name",c);p.setAtt…
2099 …nLeft="4px";f.style.width="210px";f.style.height="24px";p.style.marginRight="6px";f.appendChild(p)…
2102p.checked=!0;F(b);mxEvent.consume(b)});mxEvent.addListener(l,"click",function(b){t.checked=!0;F(b)…
2107 var FilenameDialog=function(b,c,e,k,g,p,t,d,f,l,q,m){f=null!=f?f:!0;var n,u,v=document.createElemen… argument
2108 …e.width=null!=m?m+"px":"180px";var D=mxUtils.button(e,function(){if(null==p||p(x.value))f&&b.hideD…
2127 …is.minPageBreakDist)?Math.ceil(f/v.height)-1:0,x=b?Math.ceil(d/v.width)-1:0,p=u.x+d,I=u.y+f;null==…
2128 Math.round(u.y+(f+1)*v.height)),new mxPoint(Math.round(p),Math.round(u.y+(f+1)*v.height))]:[new mxP…
2132 …nt.addListener(l,"mousedown",function(b){mxEvent.consume(b)});return l};var p=mxGraphHandler.proto…
2133 …=c&&c.relative||!this.graph.isContainer(e)||this.graph.isPart(b));else if(c=p.apply(this,arguments…
2136 this.menus=this.createMenus();if(!k.standalone){var p="rounded shadow glass dashed dashPattern labe…
2139p,f[c])&&p.push(f[c]);var l="edgeStyle startArrow startFill startSize endArrow endFill endSize".sp…
2140p,t[c])&&p.push(t[c]);var m=function(b,f,c,e,l,g,m){e=null!=e?e:k.currentVertexStyle;l=null!=l?l:k…
2153 ….currentEdgeStyle[c[q]]:k.currentEdgeStyle[c[q]]=m[q]:e&&0<=mxUtils.indexOf(p,c[q])&&(null==m[q]?d…
2154 k.currentVertexStyle[c[q]]=m[q]);else if(0<=mxUtils.indexOf(p,c[q])){if(e||n)null==m[q]?delete k.cu…
2168 …hoverIcons.addListener("reset",e);var p=this.hoverIcons.drag;this.hoverIcons.drag=function(){c.hid…
2170 …(null!=this.hoverIcons.currentState?this.hoverIcons.currentState.cell:null),p=c.showShapePicker(k,…
2171 …hapePicker(p,d,k,g,f);mxUtils.setOpacity(p,30);mxEvent.addListener(p,"mouseenter",function(){mxUti…
2172p=b.getBoundingClientRect();g==mxConstants.DIRECTION_NORTH?(e-=p.width/2-10,k-=p.height+6):g==mxCo…
2173p){b=this.createShapePicker(b,c,e,k,g,mxUtils.bind(this,function(){this.hideShapePicker()}),this.g… argument
2174 EditorUi.prototype.createShapePicker=function(b,c,e,k,g,p,t,d){var f=null;if(null!=t&&0<t.length){v… argument
2177 …Cell(f);null!=l.hoverIcons&&l.hoverIcons.update(q.view.getState(f))}null!=p&&p()})});for(g=0;g<(d?…
2201p=mxUtils.bind(this,function(){var d=mxUtils.getCurrentStyle(b.container);b.isViewer()?this.chrome…
2202p(mxUtils.bind(this,function(b){window.location.href=g.backBtn.url;mxEvent.consume(b)}),Editor.bac…
2203 …ent.IS_IE11?"#000000":"#ffffff";this.chromelessToolbar.appendChild(f);var l=p(mxUtils.bind(this,fu…
2205p(mxUtils.bind(this,function(b){this.actions.get("zoomOut").funct();mxEvent.consume(b)}),Editor.zo…
2206 p(mxUtils.bind(this,function(d){b.isLightboxView()?(1==b.view.scale?this.lightboxFit():b.zoomTo(1),…
2207 …lessToolbar,b||30)});if("1"==urlParams.layers){this.layersDialog=null;var x=p(mxUtils.bind(this,fu…
2210 …dalone)&&this.addChromelessToolbarItems(p);null==this.editor.editButtonLink&&null==this.editor.edi…
2211p(I.fn,I.icon,I.tooltip)}null!=g.refreshBtn&&p(mxUtils.bind(this,function(b){g.refreshBtn.url?wind…
2212 …ow.top||b.lightbox&&("1"==urlParams.close||this.container!=document.body))&&p(mxUtils.bind(this,fu…
2240 …ize=b;c.view.validateBackground();if(e){var p=c.getSelectionCells();c.clearSelection();c.setSelect…
2249 …r.graph.cellEditor.startEditing=function(){g.apply(this,arguments);k()};var p=this.editor.graph.ce…
2250 this.editor.graph.cellEditor.stopEditing=function(b,d){p.apply(this,arguments);k()};k()};
2251 …raph,c=!1,e=!1,k=!1,g=!1,p=[],t=b.getSelectionCells();if(null!=t)for(var d=0;d<t.length;d++){var f…
2252 …this.actions.get("bringForward").setEnabled(1==p.length);this.actions.get("sendBackward").setEnabl…
2253 …emoveFromGroup").setEnabled(k&&b.getModel().isVertex(b.getModel().getParent(p[0])));b.view.getStat…
2255p.length);this.actions.get("openLink").setEnabled(1==b.getSelectionCount()&&null!=b.getLinkForCell…
2256p&&c&&1<b.getSelectionCount());this.actions.get("selectVertices").setEnabled(p);this.actions.get("…
2258p=0;if(null!=this.sidebarFooterContainer){var t=this.footerHeight+k,p=Math.max(0,Math.min(e-c-t,th…
2261 p+k+"px";this.formatContainer.style.bottom=this.footerHeight+k+"px";"1"!=urlParams.embedInline&&(th…
2270 …+(c?g.x-t.x:t.y-g.y)-e));mxEvent.consume(b);d!=q()&&(f=!0,l=null)}}function p(b){g(b);t=d=null}var… function
2271 …estureListeners(document,null,g,p);this.destroyFunctions.push(function(){mxEvent.removeGestureList…
2272 …;var p=mxResources.get("ok");c=null!=c?c:mxResources.get("error");null!=b&&null!=b.message&&(g=mxU…
2273p,t,d,f,l,q,m,n){b=new ErrorDialog(this,b,c,e||mxResources.get("ok"),k,g,p,t,m,d,f);c=Math.ceil(nu… argument
2275 …y,k=[],g=0;g<c.length;g++){var p=b.isTableCell(c[g])?b.model.getParent(c[g]):c[g];null==p||e.get(p
2276p=new ColorDialog(this,b||"none",function(b){e.cellEditor.restoreSelection(k);c(b)},function(){e.c…
2292p=mxUtils.prompt(b,c);k.restoreSelection(g);if(null!=p&&0<p.length){var t=new Image;t.onload=funct…
2299 …d);g.reset()}},400))}}}var e=this,k=this.editor.graph,g=new mxKeyHandler(k),p=g.isEventIgnored;g.i…
2300 …his.graph.cellEditor.isContentEditing()&&!mxClient.IS_FF&&!mxClient.IS_SF)&&p.apply(this,arguments…
2318p){mxGraph.call(this,b,c,e,k);this.themes=g||this.defaultThemes;this.currentEdgeStyle=mxUtils.clon… argument
2354p=-1;for(e=e||0;e<b.byteLength;e++)if(b[e]==k){p=e;break}for(e=p+1;-1<p&&e<b.byteLength&&e<p+c.len…
2358 …tributes.length;g++){var p=e[k].attributes[g];2<p.name.length&&"on"==p.name.toLowerCase().substrin…
2359 …sByTagName("svg");if(0<g.length){document.body.appendChild(c);try{var k=e=1,p=g[0].getAttribute("w…
2360 p=null!=p&&"%"!=p.charAt(p.length-1)?parseFloat(p):NaN,t=null!=t&&"%"!=t.charAt(t.length-1)?parseFl…
2382 …tTranslate);g.apply(this,arguments);b&&(this.scale=d,this.translate=f)};var p=mxGraph.prototype.up…
2383 new mxPoint(0,0),this.useCssTransforms=!1);p.apply(this,arguments);c&&(this.view.scale=e,this.view.…
2385 …on.hash=g}else k=window.open(b,null!=c?c:"_blank"),null==k||e||(k.opener=null)}catch(p){}return k};
2392 …lue.attributes:null,g={};g.id=b[e].id;if(null!=k)for(var p=0;p<k.length;p++)g[k[p].nodeName]=k[p].…
2393 …r(var g=this.cellRenderer.getShapesForState(k),p=0;p<g.length;p++)null!=g[p]&&null!=g[p].node&&c.p…
2395 …s,g=b.length,p=e.length;return{execute:mxUtils.bind(this,function(t,d){if(null!=b.shape){var f=[e[…
2397p=k/g;c||(p=1-p);b.shape.bounds=new mxRectangle(e.x,e.y,e.width*p,e.height);b.shape.redraw();0==k&…
2398p=0,t=mxUtils.bind(this,function(){if(p==e||this.stoppingCustomActions){window.clearInterval(g);fo…
2408 …antic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,p=/[^-+\dA-Z]/g,t=func…
2410 …A":"P",TT:12>n?"AM":"PM",Z:e?"UTC":(String(b).match(g)||[""]).pop().replace(p,""),o:(0<y?"-":"+")+…
2412 …position="absolute";for(var k=this.getModel(),g=k.getChildCount(k.root),p=0;p<g;p++)mxUtils.bind(t…
2414 …tion(){k.setVisible(g,!k.isVisible(g));d();null!=b&&b(g)});d()})(k.getChildAt(k.root,p));return e};
2415p=match[0];if(2<p.length&&"%label%"!=p&&"%tooltip%"!=p){var t=null;if(match.index>g&&"%"==c.charAt…
2416 …=t&&null!=e&&(t=e[d])}k.push(c.substring(g,match.index)+(null!=t?t:p));g=match.index+p.length}}k.p…
2418 Graph.prototype.connectVertex=function(b,c,e,k,g,p,t,d){p=p?p:!1;if(b.geometry.relative&&this.model… argument
2419 …parent.geometry.x,q.y+=b.parent.geometry.y);p=p?null:(new mxRectangle(l+q.x*e,n+q.y*e)).grow(40*e)…
2420p,null,!0):null;var m=this.view.getState(b),u=null,v=null;if(null!=p){p=p.reverse();for(var y=0;y<
2430p=0;p<e.length;p++){var t=this.view.getState(e[p]),d=this.getCellGeometry(e[p]);if(null!=t&&null!=…
2432p=this.view.getState(g[c]),t=this.getCellGeometry(g[c]);null!=p&&null!=t&&(t=t.clone(),t.translate…
2433p=this.getCellGeometry(b),t=this.view.getState(b);null!=t&&null!=p&&(p=p.clone(),c.horizontal?p.wi…
2434 p));b=this.model.getParent(b);c=this.layoutManager.getLayout(b)}}finally{this.model.endUpdate()}}};…
2439 …ntainer)){var p=this.view.translate;this.container.scrollTop=(b.y+p.y)*g-Math.max((k-b.height*g)/2…
2454 …reset();else if(!this.isActive()){var p=this.getState(k.getState());null==p&&mxEvent.isTouchEvent(…
2464 …click=function(b,c,e){var k=e.getEvent(),g=e.getGraphX(),p=e.getGraphY(),g=this.getStateAt(b,g,p);…
2470 …t+this.triangleDown.height/2);null!=c&&c==k&&k==g&&g==b&&(b=g=k=c=null);var p=this.graph.getCellGe…
2471 …entState.cell)||this.graph.isSwimlane(b)||!(null==d||null==p||d.height<3*p.height&&d.width<3*p.wid…
2478 …,g){b=this.cloneCell(b);for(var p=0;p<e;p++){var t=this.cloneCell(c),d=this.getCellGeometry(t);nul…
2479 Graph.prototype.createTable=function(b,c,e,k,g,p,t,d,f){e=null!=e?e:60;k=null!=k?k:40;p=null!=p?p:3… argument
2480p:0),null!=t?t:"shape=table;startSize="+(null!=g?p:"0")+";container=1;collapsible=0;childLayout=ta…
2481 Graph.prototype.createCrossFunctionalSwimlane=function(b,c,e,k,g,p,t,d,f){e=null!=e?e:120;k=null!=k… argument
2482p?p:"shape=table;childLayout=tableLayout;rowLines=0;columnLines=0;startSize="+l+";"+(null==g?"fill…
2483 return 1<b?(t.geometry.y=k+p,this.createParent(g,this.createParent(t,this.createVertex(null,null,""…
2485p=k.getParent(b),t=k.getChildCells(p,!0);if(!e){var d=mxUtils.indexOf(t,b);if(d<t.length-1){var f=…
2486 null!=this.layoutManager&&this.layoutManager.executeLayout(p,!0)}}finally{k.endUpdate()}};
2487 …tParent(b),p=k.getParent(g),t=k.getChildCells(g,!0);b=mxUtils.indexOf(t,b);var d=b==t.length-1;k.b…
2488 …s.getCellGeometry(p);null!=n&&(n=n.clone(),n.width+=c,k.setGeometry(p,n))}null!=this.layoutManager…
2490p=c-k.x-k.width,t=[],k=k.x,d=0;d<e.length;d++){var f=this.graph.getCellGeometry(e[d]);null!=f&&(k+…
2491 TableLayout.prototype.layoutRow=function(b,c,e,k,g){var p=this.graph.getModel(),t=p.getChildCells(b…
2492p.setGeometry(t[q],m));var n=!0,u=g[q];null!=u&&null!=u.geo&&null!=u.rowspan&&1<u.rowspan&&(u.geo.…
2494 …k=this.graph.getCellStyle(b),g="1"==mxUtils.getValue(k,"resizeLastRow","0"),p="1"==mxUtils.getValu…
2495p?null:this.getRowLayout(q[0],l),v=[],y=c.y,x=0;x<q.length;x++)n=this.graph.getCellGeometry(q[x]),…
2501 d||g.x!=f||g.y!=e},g=.5*this.scale,f=!1,c=[],l=0;l<d.length-1;l++){for(var k=d[l+1],q=d[l],p=[],t=d…
2502p.length;C++)if(p[C].distSq>t.distSq){p.splice(C,0,t);t=null;break}null==t||0!=p.length&&p[p.lengt…
2503 p[E].y)||f}t=d[d.length-1];f=e(0,t.x,t.y)||f}b.routedPoints=c;return f}return!1};var p=mxConnector.…
2513 …(mxStencilRegistry.allowEval){var p=mxUtils.load(g);null!=p&&200<=p.getStatus()&&299>=p.getStatus(…
2515p=!1;if(null==g)try{if(k){mxStencilRegistry.loadStencil(b,mxUtils.bind(this,function(e){null!=e&&n…
2516 g.documentElement&&mxStencilRegistry.parseStencilSet(g.documentElement,c,p)}};mxStencilRegistry.loa…
2517 …tribute("name"),null!=b)){var g=g.toLowerCase(),p=b.replace(/ /g,"_");e&&mxStencilRegistry.addSten…
2518 d=k.getAttribute("h"),t=null==t?80:parseInt(t,10),d=null==d?80:parseInt(d,10);c(g,p,b,t,d)}}k=k.nex…
2523 …(b.style);return b};var p=mxConnectionHandler.prototype.createShape;mxConnectionHandler.prototype.…
2539p=A.length-u.length;if(0<p)for(var x=0;x<p;x++){var J=this.cloneCell(u[u.length-1]);null!=J&&(J.va…
2548 …tConnectionConstraint(g,l,!0,ca);this.setConnectionConstraint(g,k,!1,A);var p=mxUtils.getValue(H.s…
2549 …SPACING),[g]);this.setCellStyles(mxConstants.STYLE_TARGET_PERIMETER_SPACING,p,[g])}c.push(g)}}else…
2580 …null!=f?f:0;e=null!=e?e:!0;g=null!=g?g:!0;l=null!=l?l:!0;q=null!=q?q:!1;var p="page"==v?this.view.…
2581p=mxRectangle.fromRectangle(p),p.add(new mxRectangle((this.view.translate.x+this.backgroundImage.x…
2582 …tants.NS_XLINK);b=d/x;var G=Math.max(1,Math.ceil(p.width*b)+2*f)+(q&&0==f?5:0),y=Math.max(1,Math.c…
2583 …tOffset=e?-.5:0;C.imageOffset=e?-.5:0;C.translate(Math.floor(f/d-p.x/x),Math.floor(f/d-p.y/x));var…
2585 F=new mxRectangle((N.x+aa.x)*d,(N.y+aa.y)*d,N.width*d,N.height*d);mxUtils.intersects(p,F)&&C.image(…
2693 …function k(){mxActor.call(this)}function g(){mxCylinder.call(this)}function p(){mxCylinder.call(th… function
2709 …));b.end()};mxCellRenderer.registerShape("isoCube",g);mxUtils.extend(p,mxCylinder);p.prototype.red…
2710p.prototype.getLabelMargins=function(b){return new mxRectangle(0,2.5*Math.min(b.height/2,Math.roun…
2811 …tyle,"top",!0),A=g&&g.right?g.right:mxUtils.getValue(this.style,"right",!0),p=g&&g.bottom?g.bottom…
2814p||x)&&"frame"!=q&&(b.begin(),u?g.moveNW(b,d,f,c,e,l,J,m,x):b.moveTo(0,0),u&&g.paintNW(b,d,f,c,e,l…
2815p),g.paintLeft(b,d,f,c,e,l,J,m,u),b.close(),b.fill(),b.setShadow(!1),b.setFillColor(Z),H=k=da,"non…
2816p,x),b.stroke()));u||A||p||!x?u||A||!p||x?!u&&!A&&p&&x?"frame"!=q?(b.begin(),g.moveSE(b,d,f,c,e,l,…
2817p),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),g…
2818p,x)),b.stroke(),b.begin(),g.moveNE(b,d,f,c,e,l,t,m,u),g.paintRight(b,d,f,c,e,l,G,m,p),"double"==q…
2819p),g.paintRightInner(b,d,f,c,e,l,t,m,n,u,A),b.close(),b.fillAndStroke()):!u&&A&&p&&!x?"frame"!=q?(…
2820p),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.fillAndS…
2821p,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(…
2822p),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.fillAndS…
2823 p),g.paintLeft(b,d,f,c,e,l,J,m,u),g.paintNW(b,d,f,c,e,l,J,m,x),g.paintTop(b,d,f,c,e,l,t,m,A),g.line…
2824p)),b.stroke()):(b.begin(),g.moveNW(b,d,f,c,e,l,J,m,x),g.paintTop(b,d,f,c,e,l,t,m,A),g.lineNEInner…
2825p),g.paintLeft(b,d,f,c,e,l,J,m,u),g.paintNW(b,d,f,c,e,l,J,m,x),g.paintTop(b,d,f,c,e,l,t,m,A),"doub…
2826p),g.paintLeft(b,d,f,c,e,l,J,m,u),g.paintNW(b,d,f,c,e,l,J,m,x),g.paintTop(b,d,f,c,e,l,t,m,A),g.lin…
2827p),"double"==q&&(g.moveSEInner(b,d,f,c,e,l,G,m,n,p),g.paintRightInner(b,d,f,c,e,l,t,m,n,u,A),g.pai…
2828p&&x?"frame"!=q?(b.begin(),g.moveSW(b,d,f,c,e,l,y,m,p),g.paintLeft(b,d,f,c,e,l,J,m,u),g.paintNW(b,…
2829p),g.paintLeft(b,d,f,c,e,l,J,m,u),g.paintNW(b,d,f,c,e,l,J,m,x),g.paintTop(b,d,f,c,e,l,t,m,A),g.pai…
2830p),g.paintSE(b,d,f,c,e,l,G,m,A),g.paintBottom(b,d,f,c,e,l,y,m,x),"double"==q&&(g.moveSWInner(b,d,f…
2831p),g.paintSE(b,d,f,c,e,l,G,m,A),g.paintBottom(b,d,f,c,e,l,y,m,x),g.lineSWInner(b,d,f,c,e,l,y,m,n,x…
2832p),g.paintSE(b,d,f,c,e,l,G,m,A),g.paintBottom(b,d,f,c,e,l,y,m,x),g.paintSW(b,d,f,c,e,l,y,m,p),g.pa…
2833p),g.paintSE(b,d,f,c,e,l,G,m,A),g.paintBottom(b,d,f,c,e,l,y,m,x),g.paintSW(b,d,f,c,e,l,y,m,p),g.pa…
2834 …n,x,u),g.paintNWInner(b,d,f,c,e,l,J,m,n),g.paintLeftInner(b,d,f,c,e,l,y,m,n,p,x),b.close(),b.fillA…
2835p),"double"==q&&(g.moveSEInner(b,d,f,c,e,l,G,m,n,p),g.paintRightInner(b,d,f,c,e,l,t,m,n,u,A)),b.st…
2836p)),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.lineSWIn…
2837 ….paintLeftInner(b,d,f,c,e,l,y,m,n,p,x),b.close(),b.fillAndStroke());b.begin();g.paintFolds(b,d,f,c…
2954 …finally{g.getModel().endUpdate()}}}var e=this.editorUi,k=e.editor,g=k.graph,p=function(){return Ac… function
2957p;this.addAction("save",function(){e.saveFile(!1)},null,null,Editor.ctrlKey+"+S").isEnabled=p;this…
2958 320,240,!0,!0)}).isEnabled=p;this.addAction("print...",function(){e.showDialog((new PrintDialog(e))…
2974 …Parent())&&(g.clearSelection(),e.actions.get("image").funct())})).isEnabled=p;this.put("insertLink…
2976 …ctionCell(d);g.scrollCellToVisible(g.getSelectionCell())}},!0)})).isEnabled=p;this.addAction("link…
2977 …()?this.get("insertLink").funct():this.get("editLink").funct()})).isEnabled=p;this.addAction("auto…
2990 t.isEnabled=p;t=this.addAction("scrollbars",function(){e.setScrollbars(!e.hasScrollbars())});t.setT…
2992p;t=this.addAction("autosave",function(){e.editor.setAutosave(!e.editor.autosave)});t.setToggleAct…
3010 …ellEditor.isContentEditing(),!g.cellEditor.isContentEditing())}}).isEnabled=p;t=this.addAction("la…
3014 …){var p;"..."==b.substring(b.length-3)?(b=b.substring(0,b.length-3),p=mxResources.get(b)+"..."):p=…
3019 …?null!=c&&c():null!=g?this.mergeFile(g,b,c,k):this.reloadFile(b,c))}catch(p){null!=c&&c(p)}}),c))};
3020p=null!=this.shadowPages?this.shadowPages:this.ui.getPagesForNode(mxUtils.parseXml(this.shadowData…
3021 …0]);k={};var l=this.ui.getHashValueForPages(f,k),p={},q=this.ui.getHashValueForPages(this.shadowPa…
3022 "\nChecksum: "+l+"\nCurrent: "+q+"\nCurrent Details: "+JSON.stringify(p)+"\nFrom: "+u+"\nTo: "+v+"\…
3026 …Enabled){if(null!=c)for(b=0;b<c.length;b++)this.ui.anonymizePatch(c[b]);var p=mxUtils.bind(this,fu…
3027 …"+b:""),null,7E4)});null==k?p(null):this.getLatestVersion(mxUtils.bind(this,function(b){null!=b&&b…
3029 …is.compressReportData(this.getAnonymizedXmlForPages(this.shadowPages),25E3),p=this.compressReportD…
3031 "")+(null!=e?"\n\nError: "+e.message:"")+"\n\nStack:\n"+m+"\n\nShadow:\n"+g+"\n\nData:\n"+p,k)}catc…
3032 …,p=this.ui.currentPage;this.ui.loadFile(this.getHash(),!0,null,mxUtils.bind(this,function(){if(nul…
3035 DrawioFile.prototype.patch=function(b,c,e){var k=this.ui.editor.undoManager,g=k.history.slice(),p=k…
3036 …erer.redraw=q;this.changeListenerEnabled=d;e||(k.history=g,k.indexOfNextAdd=p,k.fireEvent(new mxEv…
3038 DrawioFile.prototype.save=function(b,c,e,k,g,p){try{if(this.isEditable())if(!g&&this.invalidChecksu… argument
3068 …=GitHubFile&&this.constructor!=GitLabFile||null==b?null:b.commitMessage))}),p=mxUtils.bind(this,fu…
3069 ….showRefreshDialog(e,k,this.getErrorMessage(b)):c?this.showConflictDialog(g,p):this.addConflictSta…
3076 …this.sendErrorReport("Error in fileSaved",null,d);else{var p=this.getCurrentUser(),t=null!=p?p.id:…
3082 …File=function(b,c,e,k,g,p){DrawioFile.call(this,b,c);this.title=e;this.mode=k?null:App.MODE_DEVICE… argument
3085 …&(this.desc=this.fileHandle=null);this.title=b;g||this.updateFileData();var p=this.ui.useCanvasFor…
3086 …{this.invalidFileHandle=null;this.desc.lastModified==e.lastModified?b.write(p?this.ui.base64ToBlob…
3087p?"image/png":"text/xml",p);else if(c.length<MAX_REQUEST_SIZE){var e=b.lastIndexOf("."),e=0<e?b.su…
3088 …ources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(c)}));d()}});p?(c=this.ui.getPngFil…
3202p,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?null:u… argument
3204 ….getGraphBounds(),J=t.translate.x*A,N=t.translate.y*A,G=J+(B.x-J)/A-p,F=N+(B.y-N)/A-p,D=new Image;…
3206 …rcTable=[];for(var g=0;256>g;g++)for(var p=g,t=0;8>t;t++)p=1==(p&1)?3988292384^p>>>1:p>>>1,Editor.…
3244 …n";btn.appendChild(e);return btn}function l(b,d,c,e,g,l,m){null!=d&&(d=d.split(","),p.push({name:b,
3246p.push({name:b,values:m,type:c,defVal:f,parentRow:g,flipBkg:l,size:e})}return document.createEleme…
3247p=(null!=p?p:"")+"["+n.index+"]",u=!0);var y=document.createElement("td");y.className="gePropRowCe…
3248 …var C=n.enumList;for(v=0;v<C.length;v++)if(p=C[v],p.val==c){mxUtils.write(y,mxResources.get(p.disp…
3251 …dChild(v));t.appendChild(y);return t}var q=this,u=this.editorUi.editor.graph,p=[];b.style.position=
3255 ….dependentPropsVals=F}x.appendChild(n(B,N,v,H,A));H=!H}}for(t=0;t<p.length;t++)for(v=p[t],d=v.pare…
3289p=document.createElement("div");p.style.boxSizing="border-box";p.style.whiteSpace="nowrap";p.style…
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
3304 …for(var v=this.getAllTags(),p=0;p<v.length;p++)0>mxUtils.indexOf(n.tags.visible,v[p])&&0>mxUtils.i…
3332 …function c(){p.value=Math.max(1,Math.min(m,Math.max(parseInt(p.value),parseInt(v.value))));v.value…
3333p=0,x=M.get(),t=1/d.pageScale,B=C.checked;if(B)var t=parseInt(K.value),N=parseInt(J.value),t=Math.…
3334 B=!0;if(null==c){c=PrintDialog.createPrintPreview(d,t,x,0,v,p,B);c.pageSelector=!1;c.mathEnabled=!1…
3336 …nabled=this.mathEnabled||!0:k.className="geDisableMathJax";return k}}v=null;p=e.enableFlowAnimatio…
3337p;null!=v&&(e.stylesheet=v,e.refresh())}else{x=d.background;if(null==x||""==x||x==mxConstants.NONE…
3338p)+'";\nsrc: url("'+mxUtils.htmlEntities(B)+'");\n}'),c.wnd.document.writeln("</style>"))}l&&(d.us…
3344p=v.cloneNode(!0);n.appendChild(p);mxEvent.addListener(v,"focus",function(){u.checked=!0});mxEvent…
3381 …type.createFileData=function(b,c,e,g,m,k,u,v,p,x,t){c=null!=c?c:this.editor.graph;m=null!=m?m:!1;p argument
3384 …&e.getMode()!=App.MODE_BROWSER||(g=null),t=this.getEmbeddedSvg(t,c,g,null,v,p,f);return t};EditorU…
3394 …a=function(b,c,e,g,m,k,u,v,p,x,t){m=null!=m?m:!0;k=null!=k?k:!1;var d=this.editor.graph;if(c||!b&&… argument
3396 k,x,t);p=null!=p?p:this.getCurrentFile();b=this.createFileData(u,d,p,window.location.href,b,c,e,g,m…
3404 …or.graph.getModel(),u=k.getChildren(k.root),e=0;e<u.length;e++){var p=u[e];k.setVisible(p,b[p.id]||
3406 this.currentPage.getName());return d};EditorUi.prototype.downloadFile=function(b,c,e,g,k,n,u,p,t,x,… argument
3407 …is.editor.graph.pageVisible=n);var e=this.createDownloadRequest(d,b,g,c,u,k,p,t,x,D,I);this.editor…
3409 …eError(O)}};EditorUi.prototype.createDownloadRequest=function(b,c,e,g,k,n,u,p,t,x,D){var d=this.ed… argument
3411 …ncodeURIComponent(JSON.stringify(k))+(null!=u?"&scale="+u:"")+(null!=p?"&border="+p:""))};EditorUi…
3415p=k.getCell(b.getAttribute("id"));if(null!=p){try{var t=b.getAttribute("value");if(null!=t){var x=…
3416p.id+": "+O)}try{var F=b.getAttribute("icon");if(null!=F){var M=0<F.length?JSON.parse(F):null;null…
3417 …=parseFloat(E[key])}g.model.setGeometry(p,K)}}}catch(O){null!=window.console&&console.log("Error i…
3418 …string(e),d=d.substring(0,e));if(c)var g=new Date,e=g.getFullYear(),k=g.getMonth()+1,p=g.getDate(),
3419 t=g.getHours(),x=g.getMinutes(),g=g.getSeconds(),d=d+(" "+(e+"-"+k+"-"+p+"-"+t+"-"+x+"-"+g));return…
3425 …var p=e.encode(f);this.editor.graph.saveViewState(b[g].viewState,p,!0);p.removeAttribute("pageWidt…
3428 …eLibraries=function(){};EditorUi.prototype.saveLibrary=function(b,c,e,g,k,n,p){};EditorUi.prototyp… argument
3433 …(b)+"\n"+g);var p=document.createElement("div");p.style.position="absolute";p.style.right="0px";p.…
3434 …nvert(100%)");var I=null;if(".scratchpad"!=b.title||this.closableScratchpad)p.appendChild(t),mxEve…
3436p.insertBefore(F,p.firstChild),q.style.paddingRight=18*p.childNodes.length+"px",this.saveLibrary(b…
3437 …tyle.paddingRight=18*p.childNodes.length+"px",I.parentNode.removeChild(I),I=null)});mxEvent.consum…
3442p,u,v){if(null!=d&&"image/"==e.substring(0,6))d="shape=image;verticalLabelPosition=bottom;vertical… argument
3444 p=this.editor.graph.getBoundingBoxFromGeometry(q);K(q,new mxRectangle(0,0,p.width,p.height),b)}x=!0…
3445 this.isRemoteFileFormat(d,p)&&null!=v?this.parseFile(v,mxUtils.bind(this,function(b){4==b.readyStat…
3446p.insertBefore(t,p.firstChild);mxEvent.addListener(t,"click",M);mxEvent.addListener(k,"dblclick",f…
3447 …atchpadHelpLink);mxEvent.consume(b)})),p.insertBefore(g,p.firstChild))}q.appendChild(p);q.style.pa…
3456p){var d=null!=this.spinner&&null!=this.spinner.pause?this.spinner.pause():function(){},f=null!=b&… argument
3457 …"),m=function(){d();f.retry()});if(404==f.code||404==f.status||403==f.code){p=403==f.code?null!=f.…
3458 …0,2)?q.substring(45,q.lastIndexOf("%26ex")):q.substring(2);this.showError(c,p,mxResources.get("ope…
3461 …unction(){this.hideDialog();null!=e&&e()}),480,150);return}}null!=f.message?p=""==f.message&&null!…
3462p=mxUtils.htmlEntities(f.response.error):"undefined"!==typeof window.App&&(f.code==App.ERROR_TIMEO…
3463p+=mxUtils.htmlEntities(" ("+n+": "+f.ownerEmail+")"),u=mxUtils.bind(this,function(){return this.o…
3468p=mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(f.style,"transform","translate(-50%,120%)"…
3469 …xedStyle(f.style,"transform","translate(-50%,0%)")}),500);window.setTimeout(p,3E4);d=!0}return d};…
3475p=1024*k,t=Math.min(p+1024,e),x=Array(t-p),D=0;p<t;++D,++p)x[D]=d[p].charCodeAt(0);g[k]=new Uint8A… argument
3477 …s.hideDialog()}),mxResources.get("saveAs"),mxResources.get("download"),!1,n,p,null,1<k,d,b,e,g);n=…
3490 function(b,c,e,g,k,n,p){p=null!=p?p:!mxClient.IS_IOS||!navigator.standalone;var d=this.getServiceCo… argument
3492p,null,1<d,f,g,n,k);d=this.isServices(d)?4<d?390:270:160;this.showDialog(b.container,420,d,!0,!0);… argument
3493 …ph.defaultPageBackgroundColor:"#ffffff");var l=this.editor.graph.getSvg(f,b,p,v,null,e,null,null,"…
3495 …iobox=function(b,c,e,g,k,n,p){return this.addCheckbox(b,e,g,k,n,p,!0,c)};EditorUi.prototype.addChe… argument
3496p?"radio":"checkbox");p="geCheckbox-"+Editor.guid();d.id=p;null!=t&&d.setAttribute("name",t);e&&(d…
3502 …cus()}}};EditorUi.prototype.createUrlParameters=function(b,c,e,g,k,n,p){p=null!=p?p:[];g&&("https:… argument
3503 p.push("lightbox=1"),"auto"!=b&&p.push("target="+b),null!=c&&c!=mxConstants.NONE&&p.push("highlight… argument
3504 y);b=this.getCurrentFile();c=!0;null!=p?e="#U"+encodeURIComponent(p):(b=this.getCurrentFile(),t||nu…
3505p,t,y,x,D,I){this.getBasenames();var d={};""!=k&&k!=mxConstants.NONE&&(d.highlight=k);"auto"!==g&&… argument
3506 …&&(d.edit=D);null!=b?d.url=b:d.xml=this.getFileData(!0,null,null,null,null,!p);c='<div class="mxgr…
3509 …esources.get("publicDiagramUrl"));l.appendChild(q);var p=this.getCurrentFile();null==e&&null!=p&&p
3510 …",mxUtils.bind(this,function(){this.hideDialog();this.drive.showPermissions(p.getId())})));f.setAt…
3512 …0);f.focus()};EditorUi.prototype.showPublishLinkDialog=function(b,c,e,g,k,n,p){var d=document.crea… argument
3513 …structor!=window.DriveFile||c)p=null!=p?p:"https://www.diagrams.net/doc/faq/publish-diagram-as-lin…
3519 null!=t?t.value:null,O.checked)}),null,mxResources.get("create"),p);this.showDialog(c.container,340…
3521 …d,mxResources.get("selectionOnly"),!1,this.editor.graph.isSelectionEmpty()),p=g?null:this.addCheck…
3522p?p.checked:!1,null!=t?t.checked:!1,b,d)}),null,b,c);this.showDialog(b.container,300,(k?25:0)+(g?1… argument
3528 …0),l+=30;var J=this.addCheckbox(d,mxResources.get("includeCopyOfMyDiagram"),p,null,null,"jpeg"!=t)…
3531 …),!0),q=this.addCheckbox(d,mxResources.get("shadow"),f.shadowVisible&&g,!g),p=this.addCheckbox(d,e…
3532 …);c=new CustomDialog(this,d,mxUtils.bind(this,function(){b(m.checked,q.checked,p.checked,t.checked,
3533 …er,280,300,!0,!0)};EditorUi.prototype.createEmbedImage=function(b,c,e,g,k,n,p,t){function d(d){var… argument
3534 …e&&(q=' width="'+Math.round(f.width)+'" height="'+Math.round(f.height)+'"');p('<img src="'+d+'"'+q…
3536 …drawingTooLarge")})};EditorUi.prototype.createEmbedSvg=function(b,c,e,g,k,n,p){var d=this.editor.g… argument
3538 …max-width:100%;");this.editor.convertImages(d,mxUtils.bind(this,function(b){p('<img src="'+Editor.…
3539 …itor.addFontCss(d),this.editor.graph.mathEnabled&&this.editor.addMathCss(d),p(mxUtils.getXml(d))};…
3545 …function(b,c,e,g,k,n,p,t,y,x,D,I,B){t=null!=t?t:!0;D=null!=D?D:0;p=null!=y?y:c.background;p==mxCon… argument
3547 …}}))}catch(l){c(b)}}))};EditorUi.prototype.exportImage=function(b,c,e,g,k,n,p,t,y,x,D,I,B){y=null!… argument
3548p,x,I,B)}catch(M){this.spinner.stop(),this.handleError(M)}}};EditorUi.prototype.isCorsEnabledForUr… argument
3551 …,c,e,g),null!=d))for(u=0;u<d.length;u++)this.updatePageLinksForCell(b,d[u]);p&&this.insertHandler(…
3552p=0;p<g.length;p++)f=g[p].getAttribute("href"),null!=f&&(g[p].setAttribute("href",this.updatePageL…
3553 0;p<e.model.getChildCount(c);p++)this.updatePageLinksForCell(b,e.model.getChildAt(c,p))};EditorUi.p…
3567 …turn f};EditorUi.prototype.insertTextAt=function(b,c,e,g,k,n,p,t){n=null!=n?n:!0;p=null!=p?p:!0;if… argument
3570 this.convertDataUri(b)+";"))}),p,this.maxImageSize);else{var g=Math.min(1,Math.min(this.maxImageSiz…
4023 …nalSrc=c))}n.apply(this,arguments)};var p=this.graph.getGraphBounds;this.graph.getGraphBounds=func…
4027 …){var g=this.getObservableParent(b),p=new e(mxUtils.bind(this,function(c){0<b.offsetWidth&&(p.disc…
4032 …g<k.getChildCount(k.root);g++){var p=k.getChildAt(k.root,g),c=c&&k.isVisible(p);e.push(k.isVisible…
4040 …s.zoomEnabled&&this.autoFit){var p=g=null,k=mxUtils.bind(this,function(){window.clearTimeout(p);th…
4044p=!1;if(0<e.length||g||null!=c){var t=null!=c?c.getModel():null,p=b.getModel();p.beginUpdate();try…
4045p.getChildAt(p.root,l),p.setVisible(q,f[q.id]||!1)}else for(l=0;l<d;l++)p.setVisible(p.getChildAt(
4048 …on","opacity 100ms ease-in-out");mxUtils.setOpacity(e,30);var k=null,g=null,p=mxUtils.bind(this,fu…
4049 …":"mousemove",mxUtils.bind(this,function(b){mxEvent.isTouchEvent(b)||(t(30),p())}));mxEvent.addLis…
4051 …f&&Math.abs(this.startY-c.getGraphY())<f&&(0<parseFloat(e.style.opacity||0)?p():t(30))}})}for(var …
4074p=k.destroy;k.destroy=function(){mxEvent.removeListener(document.documentElement,"keydown",g);docu…
4084 ….call=function(){b=0;for(c=this.q.length;b<c;b++)this.q[b].call()}}function p(b,c){return b.curren… function
4086 c.appendChild(c.resizeSensor);"static"==p(c,"position")&&(c.style.position="relative");var e=c.resi…