Lines Matching +defs:b +defs:e

2b){"object"==typeof exports?module.exports=b():"function"==typeof define&&define.amd?define(b):a.S…  argument
36 …urn E[a]||(E[a]="\\"+a.charCodeAt(0).toString(16)+" ")}function x(a){return e[a]||(e[a]=("\u0010">… class
37 b=RegExp("\\\\(?:(?:[0-9a-fA-F]{1,6}[\\t\\n\\f ]?|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|[\… argument
39b.da(h.n):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 … argument
40 a=/^(?:\.\.\/)*(?:\.\.$)?/;e.prototype.toString=function(){var d=[];s!==this.j&&d.push(this.j,":");… class
43 b=d[g++],a.push(h,encodeURIComponent(f.toString())),h="&",b&&a.push("=",encodeURIComponent(b.toStri… argument
45 (function(){function g(a){return"string"===typeof a?'url("'+a.replace(e,w)+'")':'url("about:blank")… variable
46 b=/^(?:([^:/?# ]+):)?/,a=/^(?:https?|mailto|data)$/i;aa=function(){var a={};return function y(f,b,k… argument
50 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)… argument
54 "i");Z=function(b){for(var b=b.slice(),f=b.length,g=0,k=0;k<f;++k){var e=b[k];" "!=e&&(b[g++]=e)}b.… argument
57 r=!b,b&&(b=b[0].replace(/ +/g,""))):(a=ba(a,k),!a||!a.length?r=n:b=a.join(", "));r||q.push(b,"{")}F… argument
61 e&&(a=~(a+1));return a}function E(b,a,g){for(;a<g&&";"!==b[a]&&"}"!==b[a];)++a;return a<g&&";"===b[… argument
62 …,f,h,a):f;a.endStylesheet&&a.endStylesheet()};var v=/^-?[a-z]/i;ga=function(b,a){for(var g=U(b),f=… argument
74 $.f={a:0,abbr:0,acronym:0,address:0,applet:272,area:2,article:0,aside:0,audio:0,b:0,base:274,basefo… property in $.f
76 …Element",article:"HTMLElement",aside:"HTMLElement",audio:"HTMLAudioElement",b:"HTMLElement",base:"… property in $.Q
83b=a.match(q);return b?String.fromCharCode(parseInt(b[1],10)):(b=a.match(B))?String.fromCharCode(pa… argument
84 function v(b){var d={z:b.z||b.cdata,A:b.A||b.comment,B:b.B||b.endDoc,t:b.t||b.endTag,e:b.e||b.pcdat… function
88 …));l++);l<z&&(l-=1);z=a.slice(k,l).join("");if(d.c&g.c.CDATA)f.z&&f.z(z,h,t,b(f,a,l,j,h));else if(… argument
89 …ce(/^[\s\S][^a-z\s]*/,"");f.R=l;f.next=h+1;return f}}function h(a){function b(a,d){f||d.push(a)}va… function
90 [];f=C},startTag:function(b,e,h){if(!f&&g.f.hasOwnProperty(b)){var j=g.f[b];if(!(j&g.c.FOLDABLE)){v… argument
91 e[b],o=e[b+1];o!==s&&o!==c&&h.push(" ",m,'="',E(o),'"')}h.push(">");j&g.c.EMPTY&&!(k&g.c.EMPTY)&&h.… argument
92 d.length&&(a=d[e].v);d.length=e;b.push("</",a,">")}}}},pcdata:b,rcdata:b,cdata:b,endDoc:function(a)… argument
93 function l(a,b,d){b=b+"::"+d;if(a.hasOwnProperty(b))return a[b];b="*::"+d;if(a.hasOwnProperty(b))re… argument
95 s,h&&y(h,a,k,m,i)}else i=s,h&&y(h,a,k,m,i);b[j+1]=i}return b}function ea(a,b,d){return function(e,f… argument
109e();return a},_minBufferSize:0});l.Hasher=q.extend({cfg:t.extend(),init:function(a){this.cfg=this.… argument
113 (function(u){function p(b,n,a,c,e,j,k){b=b+(n&a|~n&c)+e+k;return(b<<j|b>>>32-j)+n}function d(b,n,a,… argument
121 CryptoJS.lib.Cipher||function(u){var p=CryptoJS,d=p.lib,l=d.Base,s=d.WordArray,t=d.BufferedBlockAlg… argument
122 finalize:function(e){e&&this._append(e);return this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MO… argument
123 c[d]},q=(d.BlockCipherMode=l.extend({createEncryptor:function(e,a){return this.Encryptor.create(e,a… argument
125 this,b&&b.words)},_doProcessBlock:function(a,b){this._mode.processBlock(a,b)},_doFinalize:function(… argument
126 1701076831]).concat(a).concat(b):b).toString(r)},parse:function(a){a=r.parse(a);var b=a.words;if(13… argument
127 decrypt:function(a,b,c,d){d=this.cfg.extend(d);b=this._parse(b,d.format);return a.createDecryptor(c… argument
128 b.keySize,b.ivSize);l.iv=d.iv;b=a.encrypt.call(this,b,c,d.key,l);b.mixIn(d);return b},decrypt:funct… argument
131 8&255]]^n[l[k&255]]},encryptBlock:function(a,b){this._doCryptBlock(a,b,this._keySchedule,t,r,w,v,l)… argument
134 !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof d… argument
135 !function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports&&"string"!=… function
155 var rough=function(){function d(b,a,e){if(b&&b.length){a=_slicedToArray(a,2);var c=a[0],f=a[1];e*=M… argument
156 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];… argument
157 return f!==k&&d!==g||!(0!==f||!v(b,e,a))||!(0!==k||!v(b,c,a))||!(0!==d||!v(e,b,c))||!(0!==g||!v(e,a… argument
159 c.edge.x?0:(a.edge.x-c.edge.x)/Math.abs(a.edge.x-c.edge.x)}),1<m.length)for(k=0;k<m.length;k+=2){g=… argument
167 Math.abs(y[0]),J=Math.abs(y[1]),K=y[2],N=y[3],O=y[4],L=y[5],M=y[6];if(0===I||0===J)g.push({key:"C",… argument
170 2][1],r),m.push([c[0],c[1],b[0],b[1],a[0],a[1]]);return m}function N(b,a,e){var c=(b||[]).length;if… argument
172 f=k[1],k=P(k[0],null,e);e.disableMultiStroke||(b=ba(c.increment,b,a,c.rx,c.ry,1.5,0,e),b=_slicedToA… argument
173 return d&&(g?r.push.apply(r,_toConsumableArray(D(b,a,b+e*Math.cos(f),a+c*Math.sin(f),n)).concat(_to… argument
174 ops:e}}function G(b,a){var e=ma,c=a.fillStyle||"hachure";if(!A[c])switch(c){case "zigzag":A[c]||(A[… argument
175 void 0!==arguments[3]?arguments[3]:1)*(ea(e)*(a-b)+b)}function u(b,a){return O(-b,b,a,2<arguments.l… argument
177 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())]}… argument
180 g)+a+.9*c*Math.cos(r+.5*d),u(k,g)+e+.9*f*Math.sin(r+.5*d)]),[m,n]}function da(b,a,e,c,f,k,d,g,n){va… argument
183 …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,n,e,c,f)):(f.le… class in U
184 e){return this._fillPolygon(a,e)}},{key:"_fillPolygon",value:function(a,e){var c=2<arguments.length… argument
185 {key:"connectingLines",value:function(a,e){var c=[];if(1<e.length)for(var f=1;f<e.length;f++){var b… argument
187 b.push(r);return b}return this.midPointInPolygon(a,e)?[e]:[]}}]);return b}(),na=function(b){functio… argument
188 e),b=Object.assign({},e,{hachureAngle:e.hachureAngle+90}),b=this._fillPolygon(a,b);return c.ops=c.o… class in pa
189 2);var r=b/4,g=_createForOfIteratorHelper(a),n;try{for(g.s();!(n=g.n()).done;)for(var m=n.value,l=h… class in qa
190 b);this.helper=a}_createClass(b,[{key:"fillPolygon",value:function(a,e){var c=C(a,e);return{type:"f… argument
191b+d),p=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.co… class in ra
192 e,{hachureGap:c+b}));return{type:"fillSketch",ops:this.zigzagLines(c,b,e)}}},{key:"zigzagLines",val… argument
193 _toConsumableArray(b.helper.doubleLineOps(l[0],l[1],t[0],t[1],c)).concat(_toConsumableArray(b.helpe… argument
194 a){return u(b,a)},randOffsetWithRange:function(b,a,e){return O(b,a,e)},ellipse:function(b,a,e,c,d){… argument
195 combineNestedSvgPaths:!1,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1};this.… argument
196 {key:"rectangle",value:function(a,e,c,b,d){d=this._o(d);var f=[],g;g=N([[a,e],[a+c,e],[a+c,e+b],[a,… argument
197 this._d("ellipse",f,d)}},{key:"circle",value:function(a,e,c,b){a=this.ellipse(a,e,c,c,b);return a.s… argument
198 c,e,b,d,f,g){e=Math.abs(e/2);b=Math.abs(b/2);e+=u(.01*e,g);for(b+=u(.01*b,g);0>d;)d+=2*Math.PI,f+=2… argument
200 e[f+1][1]-c*e[f-1][1])/6];d[2]=[e[f+1][0]+(c*e[f][0]-c*e[f+2][0])/6,e[f+1][1]+(c*e[f][1]-c*e[f+2][1… argument
201 value:function(a,e){var c=this._o(e),b=[];if(!a)return this._d("path",b,c);a=(a||"").replace(/\n/g,… argument
204 b.push({op:"move",data:h.map(function(b){return b+(e?0:u(a,c))})});f=[h[0],h[1]];d=[h[0],h[1]];retu… argument
205 b,c)}},{key:"opsToPath",value:function(a,e){var c="",b=_createForOfIteratorHelper(a.ops),d;try{for(… argument
206 {key:"toPaths",value:function(a){var e=a.options||this.defaultOptions,c=[];a=_createForOfIteratorHe… argument
207 e){var c=e.fillWeight;return 0>c&&(c=e.strokeWidth/2),{d:this.opsToPath(a),stroke:e.fill||"none",st… class in ua
209 {key:"fillSketch",value:function(a,e,c){var b=c.fillWeight;0>b&&(b=c.strokeWidth/2);a.save();c.fill… argument
210 …[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()}"… argument
211 value:function(a,b,c,d,k){a=this.gen.ellipse(a,b,c,d,k);return this.draw(a),a}},{key:"circle",value… argument
212 void 0);return this.draw(e),e}},{key:"curve",value:function(a,b){var c=this.gen.curve(a,b);return t… argument
214 "".concat(c.strokeLineDashOffset));break;case "fillPath":m=d.createElementNS("http://www.w3.org/200… argument
216 {key:"opsToPath",value:function(a,b){return this.gen.opsToPath(a,b)}},{key:"line",value:function(a,… argument
217 return this.draw(c)}},{key:"polygon",value:function(a,b){var c=this.gen.polygon(a,b);return this.dr… argument
219 …JKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(a,b){var c="",d,e,f,g,k,… argument
227 …urlParams.lang;if(null==a&&"undefined"!=typeof JSON&&isLocalStorage)try{var b=localStorage.getItem… variable
232 …&isLocalStorage&&"undefined"!==typeof JSON&&"1"!=urlParams.lightbox)try{var b=localStorage.getItem… variable
233 return a}();function setCurrentXml(a,b){null!=window.parent&&null!=window.parent.openFile&&window.p… argument
234 …ypeof JSON&&isLocalStorage)try{var a=localStorage.getItem(".drawio-config"),b=!0;null!=a&&(b=JSON.… variable
243 …xOf("Win"),IS_MAC:0<navigator.appVersion.indexOf("Mac"),IS_CHROMEOS:/\bCrOS\b/.test(navigator.appV… argument
244 e.setAttribute("rel",a);e.setAttribute("href",b);e.setAttribute("charset","UTF-8");e.setAttribute("… argument
252 …de||11==document.documentMode){var f=mxLog.window.getElement(),a=function(a,b){mxLog.textarea.styl… argument
255 "",b=0;b<arguments.length;b++)a+=arguments[b],b<arguments.length-1&&(a+=" ");mxLog.write(a+"\n")}},… variable in mxObjectIdentity
256 clear:function(a){"object"!==typeof a&&"function"!==typeof a||delete a[mxObjectIdentity.FIELD_NAME]… argument
258 …es?0<=mxUtils.indexOf(mxClient.languages,a):!0},getDefaultBundle:function(a,b){return mxResources.… argument
259 mxResources.isLanguageSupported(b)&&b!=mxClient.defaultLanguage?a+"_"+b+mxResources.extension:null}… argument
262 "/resources/graph",null,a)})}};function mxPoint(a,b){this.x=null!=a?a:0;this.y=null!=b?b:0}mxPoint.… argument
263 mxRectangle.prototype.height=null;mxRectangle.prototype.setRect=function(a,b,c,d){this.x=a;this.y=b… argument
267 var mxEffects={animateChanges:function(a,b,c){var d=0,e=function(){for(var g=!1,k=0;k<b.length;k++)… argument
271 ""):null}}(),parseCssNumber:function(a){"thin"==a?a="2":"medium"==a?a="4":"thick"==a&&(a="6");a=par… argument
272 return null!=a&&("scroll"==a.overflow||"auto"==a.overflow)},bind:function(a,b){return function(){re… variable in mxUtils
273 if(null!=d&&d==c)return a}for(a=a.firstChild;null!=a;){d=mxUtils.findNode(a,b,c);if(null!=d)return … variable in mxUtils
277 …ion(a){return(new DOMParser).parseFromString(a,"text/xml")}:function(a){var b=mxUtils.createMsXmlD… variable
278 …deType==mxConstants.NODETYPE_TEXT;){var d=b?c.previousSibling:c.nextSibling,e=mxUtils.getTextConte… variable in mxUtils
282 extractTextWithWhitespace:function(a){function b(a){if(1!=a.length||"BR"!=a[0].nodeName&&"\n"!=a[0]… function
284 …terHTML)return a.outerHTML;var b=[];b.push("<"+a.nodeName);var c=a.attributes;if(null!=c)for(var d… variable
287 b,function(){c[d](e)},f)},link:function(a,b,c,d){var e=document.createElement("span");e.style.color… variable in mxUtils
288 fit:function(a){var b=mxUtils.getDocumentSize(),c=parseInt(a.offsetLeft),d=parseInt(a.offsetWidth), variable in mxUtils
289 function(a,b){k.apply(this,arguments);for(var c in g)a.setRequestHeader(c,g[c])});null!=d&&a.setBin… argument
291 e;for(e in a)e!=mxObjectIdentity.FIELD_NAME&&(null==b||0>mxUtils.indexOf(b,e))&&(d[e]=c||"object"!=… variable in mxUtils
292 b||null!=a&&null!=b&&a.length!=b.length)return!1;if(null!=a&&null!=b){for(var d in b)c++;for(d in a… variable
295 4)*Math.sin(e/4)/Math.sin(e/2);n=p*c;p*=d;c*=q;d*=q;for(var y=Math.cos(f),B=Math.sin(f),r=-m*(n*B+d… variable
296 c?c:new mxPoint(a.x+a.width/2,a.y+a.height/2);var f=new mxPoint(a.x,a.y);b=new mxPoint(a.x+a.width,… variable
299 d.indexOf(mxConstants.DIRECTION_SOUTH))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_SOUTH;break;c… variable
300 …earestSegment:function(a,b,c){var d=-1;if(0<a.absolutePoints.length)for(var e=a.absolutePoints[0],… variable
304 b,c){var d=a.y,e=a.x,f=d+a.height,g=e+a.width;a=b.x;var k=c.x;b.x>c.x&&(a=c.x,k=b.x);k>g&&(k=g);a<e… variable
311 b){mxEffects.animateChanges.apply(this,arguments)},cascadeOpacity:function(a,b,c){mxEffects.cascade… variable
312 sortCells:function(a,b){b=null!=b?b:!0;var c=new mxDictionary;a.sort(function(a,e){var d=c.get(a);n… variable
313 a[c].indexOf("=")&&b.push(a[c])}return b},indexOfStylename:function(a,b){if(null!=a&&null!=b)for(va… variable
314 …c].indexOf("=")&&b.push(a[c])}return b.join(";")},setCellStyles:function(a,b,c,d){if(null!=b&&0<b.… variable
315 9),16)/255);a="rgba("+b+", "+c+", "+d+", "+e+")"}return a},setCssText:function(a,b){if(null!=a&&nul… argument
321 …endChild(f.overlayPane);var n=f.getTranslate();f.translate=new mxPoint(d,e);b=new mxTemporaryCellS… variable
326 …ane.ownerSVGElement?(c.appendChild(g),d=g):e.appendChild(g),f=f.nextSibling;b.body.appendChild(c);… variable
328 …b?b:"")},confirm:function(a){return confirm(a)},error:function(a,b,c,d){var e=document.createEleme… variable
348 mxEventObject.prototype.properties=null;mxEventObject.prototype.consumed=!1;mxEventObject.prototype… argument
352 mxEventSource.prototype.setEventsEnabled=function(a){this.eventsEnabled=a};mxEventSource.prototype.… argument
354 mxEventSource.prototype.fireEvent=function(a,b){if(null!=this.eventListeners&&this.isEventsEnabled(… argument
355 …dEventListener){var a=!1;try{document.addEventListener("test",function(){},Object.defineProperty&&… argument
360 a){mxEvent.removeAllListeners(a);var b=a.childNodes;if(null!=b){var c=b.length;for(a=0;a<c;a+=1)mxE… argument
361 [],e=0,f=0;mxEvent.addGestureListeners(b,mxUtils.bind(this,function(a){mxEvent.isMouseEvent(a)||nul… argument
362 2,d[0].clientY+(d[1].clientY-d[0].clientY)/2),e=b,f=c}}),mxUtils.bind(this,function(a){d=[];f=e=0})… argument
371 function mxXmlRequest(a,b,c,d,e,f){this.url=a;this.params=b;this.method=c||"POST";this.async=null!=… argument
375 mxXmlRequest.prototype.send=function(a,b,c,d){this.request=this.create();null!=this.request&&(null!… argument
376 …est.send(this.params))};mxXmlRequest.prototype.setRequestHeaders=function(a,b){null!=b&&a.setReque… argument
377 mxXmlRequest.prototype.simulate=function(a,b){a=a||document;var c=null;a==document&&(c=window.onbef… argument
379 var mxClipboard={STEPSIZE:10,insertCount:1,cells:null,setCells:function(a){mxClipboard.cells=a},get… argument
381 function mxWindow(a,b,c,d,e,f,g,k,l,m){null!=b&&(g=null!=g?g:!0,this.content=b,this.init(c,d,e,f,m)… argument
384 mxWindow.prototype.init=function(a,b,c,d,e){e=null!=e?e:"mxWindow";this.div=document.createElement(… argument
393 mxWindow.prototype.setSize=function(a,b){a=Math.max(this.minimumSize.width,a);b=Math.max(this.minim… argument
406 g);this.fireEvent(new mxEventObject(mxEvent.MOVE_END,"event",a));mxEvent.consume(a)});mxEvent.addGe… argument
412 mxForm.prototype.addButtons=function(a,b){var c=document.createElement("tr"),d=document.createEleme… argument
413 mxForm.prototype.addText=function(a,b,c){var d=document.createElement("input");d.setAttribute("type… argument
414 mxForm.prototype.addCombo=function(a,b,c){var d=document.createElement("select");null!=c&&d.setAttr… argument
415 mxForm.prototype.addField=function(a,b){var c=document.createElement("tr"),d=document.createElement… argument
416 mxImage.prototype.y=0;function mxDivResizer(a,b){if("div"==a.nodeName.toLowerCase()){null==b&&(b=wi… argument
419 function mxDragSource(a,b){this.element=a;this.dropHandler=b;mxEvent.addGestureListeners(a,mxUtils.… argument
422 mxDragSource.prototype.setGridEnabled=function(a){this.gridEnabled=a};mxDragSource.prototype.getGra… argument
427 mxDragSource.prototype.graphContainsEvent=function(a,b){var c=mxEvent.getClientX(b),d=mxEvent.getCl… argument
432 mxDragSource.prototype.dragEnter=function(a,b){a.isMouseDown=!0;a.isMouseTrigger=mxEvent.isMouseEve… argument
433 this.eventConsumer)};mxDragSource.prototype.dragExit=function(a,b){this.currentPoint=this.currentDr… argument
434 mxDragSource.prototype.dragOver=function(a,b){var c=mxUtils.getOffset(a.container),d=mxUtils.getScr… argument
437 mxDragSource.prototype.drop=function(a,b,c,d,e){this.dropHandler.apply(this,arguments);"hidden"!=a.… argument
438 mxToolbar.prototype.addItem=function(a,b,c,d,e,f){var g=document.createElement(null!=b?"img":"butto… argument
441 mxToolbar.prototype.addActionCombo=function(a,b){var c=document.createElement("select");c.className… argument
442 mxToolbar.prototype.addSwitchMode=function(a,b,c,d,e){var f=document.createElement("img");f.initial… argument
444 mxToolbar.prototype.addMode=function(a,b,c,d,e,f){f=null!=f?f:!0;var g=document.createElement(null!… argument
446 mxToolbar.prototype.selectMode=function(a,b){if(this.selectedMode!=a){if(null!=this.selectedMode){v… argument
448 mxToolbar.prototype.addLine=function(){var a=document.createElement("hr");a.style.marginRight="6px"… argument
459 ….active=!1;this.dy=this.dx=this.t0y=this.t0x=this.tdy=this.tdx=0;this.scrollbars=!1;this.scrollTop… argument
461 this.getDy())}),this.delay)});this.isActive=function(){return active};this.getDx=function(){return … argument
468 mxPopupMenu.prototype.addItem=function(a,b,c,d,e,f,g,k){d=d||this;this.itemCount++;d.willAddSeparat… argument
471 …iver=null;mxEvent.consume(a)}));k||mxEvent.addListener(l,"mouseout",mxUtils.bind(this,function(a){… argument
473 mxPopupMenu.prototype.showSubmenu=function(a,b){if(null!=b.div){b.div.style.left=a.div.offsetLeft+b… argument
475 mxPopupMenu.prototype.addSeparator=function(a,b){a=a||this;if(this.smartSeparators&&!b)a.willAddSep… argument
476 mxPopupMenu.prototype.popup=function(a,b,c,d){if(null!=this.div&&null!=this.tbody&&null!=this.facto… argument
483 …ndow.clearInterval(this.thread),this.thread=null,this.fireEvent(new mxEventObject(mxEvent.DONE)))}… argument
485 mxMorphing.prototype.animateCell=function(a,b,c){var d=this.graph.getView().getState(a),e=null;if(n… argument
486 mxMorphing.prototype.stopRecursion=function(a,b){return null!=b&&(0!=b.x||0!=b.y)};mxMorphing.proto… argument
488 mxImageBundle.prototype.alt=null;mxImageBundle.prototype.putImage=function(a,b,c){this.images[a]={v… argument
489 mxImageExport.prototype.drawState=function(a,b){null!=a&&(this.visitStatesRecursive(a,b,mxUtils.bin… argument
490 mxImageExport.prototype.visitStatesRecursive=function(a,b,c){if(null!=a){c(a,b);for(var d=a.view.gr… argument
491 mxImageExport.prototype.drawCellState=function(a,b){var c=this.getLinkForCellState(a,b);null!=c&&b.… argument
492 mxImageExport.prototype.drawText=function(a,b){null!=a.text&&a.text.checkBounds()&&(b.save(),a.text… argument
497 …ractCanvas2D.prototype.addOp=function(){if(null!=this.path&&(this.path.push(arguments[0]),2<argume… argument
498 mxAbstractCanvas2D.prototype.save=function(){this.states.push(this.state);this.state=mxUtils.clone(… argument
499 mxAbstractCanvas2D.prototype.rotate=function(a,b,c,d,e){};mxAbstractCanvas2D.prototype.setAlpha=fun… argument
500 mxAbstractCanvas2D.prototype.setGradient=function(a,b,c,d,e,f,g,k,l){c=this.state;c.fillColor=a;c.g… argument
503 mxAbstractCanvas2D.prototype.setFontStyle=function(a){null==a&&(a=0);this.state.fontStyle=a};mxAbst… argument
504 …bstractCanvas2D.prototype.begin=function(){this.lastY=this.lastX=0;this.path=[]};mxAbstractCanvas2… argument
505 mxAbstractCanvas2D.prototype.arcTo=function(a,b,c,d,e,f,g){a=mxUtils.arcToCurves(this.lastX,this.la… argument
509 mxXmlCanvas2D.prototype.restore=function(){this.compressed&&mxAbstractCanvas2D.prototype.restore.ap… argument
510 mxXmlCanvas2D.prototype.rotate=function(a,b,c,d,e){var f=this.createElement("rotate");if(0!=a||b||c… argument
514 mxXmlCanvas2D.prototype.setGradient=function(a,b,c,d,e,f,g,k,l){if(null!=a&&null!=b){mxAbstractCanv… argument
517 mxXmlCanvas2D.prototype.setDashed=function(a,b){if(this.compressed){if(this.state.dashed==a)return;… argument
529 mxXmlCanvas2D.prototype.setShadowOffset=function(a,b){if(this.compressed){if(this.state.shadowDx==a… argument
530 mxXmlCanvas2D.prototype.rect=function(a,b,c,d){var e=this.createElement("rect");e.setAttribute("x",… argument
531 mxXmlCanvas2D.prototype.roundrect=function(a,b,c,d,e,f){var g=this.createElement("roundrect");g.set… argument
532 mxXmlCanvas2D.prototype.ellipse=function(a,b,c,d){var e=this.createElement("ellipse");e.setAttribut… argument
533 mxXmlCanvas2D.prototype.image=function(a,b,c,d,e,f,g,k){e=this.converter.convert(e);var l=this.crea… argument
534 …begin"));this.lastY=this.lastX=0};mxXmlCanvas2D.prototype.moveTo=function(a,b){var c=this.createEl… argument
535 mxXmlCanvas2D.prototype.lineTo=function(a,b){var c=this.createElement("line");c.setAttribute("x",th… argument
536 mxXmlCanvas2D.prototype.curveTo=function(a,b,c,d,e,f){var g=this.createElement("curve");g.setAttrib… argument
537 mxXmlCanvas2D.prototype.text=function(a,b,c,d,e,f,g,k,l,m,n,p,q){if(this.textEnabled&&null!=e){mxUt… argument
539 function mxSvgCanvas2D(a,b){mxAbstractCanvas2D.call(this);this.root=a;this.gradients=[];this.defs=n… argument
543 ….prototype.cacheOffsetSize=!0;mxSvgCanvas2D.prototype.setCssText=function(a,b){mxClient.IS_IE||mxC… argument
545 mxSvgCanvas2D.prototype.createElement=function(a,b){if(null!=this.root.ownerDocument.createElementN… argument
546 mxSvgCanvas2D.prototype.createAlternateContent=function(a,b,c,d,e,f,g,k,l,m,n,p,q){a=this.getAltern… argument
549 mxSvgCanvas2D.prototype.createGradientId=function(a,b,c,d,e){"#"==a.charAt(0)&&(a=a.substring(1));"… argument
550 mxSvgCanvas2D.prototype.getSvgGradient=function(a,b,c,d,e){var f=this.createGradientId(a,b,c,d,e),g… argument
551 mxSvgCanvas2D.prototype.createSvgGradient=function(a,b,c,d,e){var f=this.createElement(e==mxConstan… argument
553 mxSvgCanvas2D.prototype.addNode=function(a,b){var c=this.node,d=this.state;if(null!=c){if("path"==c… argument
563 mxSvgCanvas2D.prototype.setLink=function(a,b){if(null==a)this.root=this.originalRoot;else{this.orig… argument
564 mxSvgCanvas2D.prototype.rotate=function(a,b,c,d,e){if(0!=a||b||c){var f=this.state;d+=f.dx;e+=f.dy;… argument
565 d;f.rotationCy=e}};mxSvgCanvas2D.prototype.begin=function(){mxAbstractCanvas2D.prototype.begin.appl… argument
566 mxSvgCanvas2D.prototype.roundrect=function(a,b,c,d,e,f){this.rect(a,b,c,d);0<e&&this.node.setAttrib… argument
567 mxSvgCanvas2D.prototype.image=function(a,b,c,d,e,f,g,k){e=this.converter.convert(e);f=null!=f?f:!0;… argument
573 …dChild(a);d.appendChild(c);b.appendChild(d)}else b.innerHTML=a;return b};mxSvgCanvas2D.prototype.u… argument
574 mxSvgCanvas2D.prototype.addForeignObject=function(a,b,c,d,e,f,g,k,l,m,n,p,q,r,t){q=this.createEleme… argument
576 mxSvgCanvas2D.prototype.updateTextNodes=function(a,b,c,d,e,f,g,k,l,m,n){var p=this.state.scale;mxSv… argument
577 "center")+"; ",this.getTextCss(),p,mxUtils.bind(this,function(c,d,e,f,g){a+=this.state.dx;b+=this.s… argument
580 mxSvgCanvas2D.createCss=function(a,b,c,d,e,f,g,k,l,m,n,p,q){p="box-sizing: border-box; font-size: 0… argument
585 mxSvgCanvas2D.prototype.text=function(a,b,c,d,e,f,g,k,l,m,n,p,q){if(this.textEnabled&&null!=e)if(p=… argument
586 mxSvgCanvas2D.prototype.createClip=function(a,b,c,d){a=Math.round(a);b=Math.round(b);c=Math.round(c… argument
587 mxSvgCanvas2D.prototype.plainText=function(a,b,c,d,e,f,g,k,l,m,n,p){n=null!=n?n:0;k=this.state;var … argument
593 mxSvgCanvas2D.prototype.addTextBackground=function(a,b,c,d,e,f,g,k,l){var m=this.state;if(null!=m.f… argument
597 ….prototype.fillAndStroke=function(){this.addNode(!0,!0)};function mxGuide(a,b){this.graph=a;this.s… argument
599 …e.prototype.move=function(a,b,c,d){if(null!=this.states&&(this.horizontal||this.vertical)&&null!=a… argument
600 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=!… argument
604 "hidden"}return b};mxGuide.prototype.getDelta=function(a,b,c,d,e){var f=this.graph.view.scale;if(th… argument
628 mxShape.prototype.configureCanvas=function(a,b,c,d,e){var f=null;null!=this.style&&(f=this.style.da… argument
630 mxShape.prototype.getGradientBounds=function(a,b,c,d,e){return new mxRectangle(b,c,d,e)};mxShape.pr… argument
631 mxShape.prototype.paintBackground=function(a,b,c,d,e){};mxShape.prototype.paintForeground=function(… argument
632 mxShape.prototype.getArcSize=function(a,b){var c;"1"==mxUtils.getValue(this.style,mxConstants.STYLE… argument
633 mxShape.prototype.paintGlassEffect=function(a,b,c,d,e,f){var g=Math.ceil(this.strokewidth/2);a.setG… argument
634 mxShape.prototype.addPoints=function(a,b,c,d,e,f,g){if(null!=b&&0<b.length){g=null!=g?g:!0;var k=b[… argument
646 mxShape.prototype.createTransparentSvgRectangle=function(a,b,c,d){var e=document.createElementNS(mx… argument
651 mxStencil.prototype.evaluateTextAttribute=function(a,b,c){b=this.evaluateAttribute(a,b,c);a=a.getAt… argument
652 mxStencil.prototype.drawShape=function(a,b,c,d,e,f){var g=a.states.slice(),k=mxUtils.getValue(b.sty… argument
653 this.drawChildren(a,b,c,d,e,f,this.bgNode,k,!1,!0);this.drawChildren(a,b,c,d,e,f,this.fgNode,k,!0,!… argument
654 mxStencil.prototype.computeAspect=function(a,b,c,d,e,f){a=b;b=d/this.w0;var g=e/this.h0;if(f=f==mxC… argument
655 mxStencil.prototype.drawNode=function(a,b,c,d,e,f){var g=c.nodeName,k=d.x,l=d.y,m=d.width,n=d.heigh… argument
664 var mxStencilRegistry={stencils:{},addStencil:function(a,b){mxStencilRegistry.stencils[a]=b},getSte… argument
665 (function(){function a(a){a=null!=a?a:2;return function(b,c,d,k,l,m,n,p,q,r){c=l*q*1.118;p=m*q*1.11… argument
666 null!=a?a:2;return function(b,c,d,k,l,m,n,p,q,r){c=l*q*1.118;d=m*q*1.118;l*=n+q;m*=n+q;var e=k.clon… argument
667 …block",a(2));mxMarker.addMarker("blockThin",a(3));mxMarker.addMarker("open",b(2));mxMarker.addMark… argument
668 mxMarker.addMarker("baseDash",function(a,b,c,g,k,l,m,n,p,q){var d=k*(m+p+1),e=l*(m+p+1);return func… argument
669e();a.moveTo(d.x-k,d.y-l);a.lineTo(d.x-2*k-.5*l,d.y+.5*k-2*l);a.lineTo(d.x-2*k+.5*l,d.y-.5*k-2*l);… argument
670 mxActor.prototype.redrawPath=function(a,b,c,d,e){b=d/3;a.moveTo(0,e);a.curveTo(0,3*e/5,0,2*e/5,d/2,… argument
671 mxCloud.prototype.redrawPath=function(a,b,c,d,e){a.moveTo(.25*d,.25*e);a.curveTo(.05*d,.25*e,0,.5*e… argument
673 mxRectangleShape.prototype.paintBackground=function(a,b,c,d,e){if(this.isRounded){var f;"1"==mxUtil… argument
674 mxRectangleShape.prototype.isRoundable=function(a,b,c,d,e){return!0};mxRectangleShape.prototype.pai… argument
675 mxEllipse.prototype.paintVertexShape=function(a,b,c,d,e){a.ellipse(b,c,d,e);a.fillAndStroke()};func… argument
676 mxDoubleEllipse.prototype.paintForeground=function(a,b,c,d,e){if(!this.outline){var f=mxUtils.getVa… argument
677 mxDoubleEllipse.prototype.getLabelBounds=function(a){var b=mxUtils.getValue(this.style,mxConstants.… argument
678 mxRhombus.prototype.paintVertexShape=function(a,b,c,d,e){var f=d/2,g=e/2,k=mxUtils.getValue(this.st… argument
679 …nverted=function(){return!1};mxPolyline.prototype.paintEdgeShape=function(a,b){var c=a.pointerEven… argument
680 mxPolyline.prototype.paintLine=function(a,b,c){var d=mxUtils.getValue(this.style,mxConstants.STYLE_… argument
681 function mxArrow(a,b,c,d,e,f,g){mxShape.call(this);this.points=a;this.fill=b;this.stroke=c;this.str… argument
682 mxArrow.prototype.paintEdgeShape=function(a,b){var c=mxConstants.ARROW_SPACING,d=mxConstants.ARROW_… argument
683 function mxArrowConnector(a,b,c,d,e,f,g){mxShape.call(this);this.points=a;this.fill=b;this.stroke=c… argument
686 mxArrowConnector.prototype.paintEdgeShape=function(a,b){var c=this.strokewidth;this.outline&&(c=Mat… argument
688 z=b[u+2].y-b[u+1].y,E=Math.sqrt(y*y+z*z),0!=E){B=y/E;C=z/E;E=Math.max(Math.sqrt((x*B+A*C+1)/2),.04)… argument
689 x*f,g=I-C*f,k=F+B*f;D.push(function(){a.quadTo(b,c,d,e)});D.push(function(){a.lineTo(g,k)})}(z,y)):… argument
690 p&&a.setLineJoin("flat");2<b.length&&(a.setMiterLimit(4),k&&!g&&(a.begin(),this.paintMarker(a,b[0].… argument
693 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
697 mxText.prototype.paint=function(a,b){var c=this.scale,d=this.bounds.x/c,e=this.bounds.y/c,f=this.bo… argument
714 mxText.prototype.configureCanvas=function(a,b,c,d,e){mxShape.prototype.configureCanvas.apply(this,a… argument
735 mxText.prototype.updateSize=function(a,b){var c=Math.max(0,Math.round(this.bounds.width/this.scale)… argument
739 …oundable=function(){return!0};mxTriangle.prototype.redrawPath=function(a,b,c,d,e){b=mxUtils.getVal… argument
740 mxHexagon.prototype.redrawPath=function(a,b,c,d,e){b=mxUtils.getValue(this.style,mxConstants.STYLE_… argument
741 mxLine.prototype.paintVertexShape=function(a,b,c,d,e){a.begin();if(this.vertical){var f=b+d/2;a.mov… argument
743etValue(this.style,"imageFlipV",0))};mxImageShape.prototype.isHtmlAllowed=function(){return!this.p… argument
744 mxImageShape.prototype.paintVertexShape=function(a,b,c,d,e){null!=this.image?(null!=this.imageBackg… argument
747 …d(a)}else this.setTransparentBackgroundImage(this.node)};function mxLabel(a,b,c,d){mxRectangleShap… argument
750 mxLabel.prototype.paintForeground=function(a,b,c,d,e){this.paintImage(a,b,c,d,e);this.paintIndicato… argument
751 mxLabel.prototype.getImageBounds=function(a,b,c,d){var e=mxUtils.getValue(this.style,mxConstants.ST… argument
752 a+(c-g)/2:e==mxConstants.ALIGN_RIGHT?a+(c-g-l):a+l;b=f==mxConstants.ALIGN_TOP?b+l:f==mxConstants.AL… argument
753 mxLabel.prototype.getIndicatorBounds=function(a,b,c,d){var e=mxUtils.getValue(this.style,mxConstant… argument
756 Math.round(b.width)+"px";a.style.height=Math.round(b.height)+"px";a.src=this.image;this.node.append… argument
757 mxCylinder.prototype.paintVertexShape=function(a,b,c,d,e){a.translate(b,c);a.begin();this.redrawPat… argument
758 mxCylinder.prototype.redrawPath=function(a,b,c,d,e,f){b=this.getCylinderSize(b,c,d,e);if(f&&null!=t… argument
759 …gBox.apply(this,arguments)};mxConnector.prototype.paintEdgeShape=function(a,b){var c=this.createMa… argument
760 mxConnector.prototype.createMarker=function(a,b,c){var d=null,e=b.length,f=mxUtils.getValue(this.st… argument
763 1);a.grow(b*this.scale)};function mxSwimlane(a,b,c,d){mxShape.call(this);this.bounds=a;this.fill=b;… argument
766 this.direction==mxConstants.DIRECTION_WEST);if(f){b=Math.min(a.width,b*this.scale);if(d||e)a.x+=a.w… argument
767 mxSwimlane.prototype.getSwimlaneArcSize=function(a,b,c){if("1"==mxUtils.getValue(this.style,mxConst… argument
768 mxSwimlane.prototype.paintVertexShape=function(a,b,c,d,e){var f=this.getTitleSize(),g=1==mxUtils.ge… argument
770 mxSwimlane.prototype.paintSwimlane=function(a,b,c,d,e,f,g,k){a.begin();var l=!0;null!=this.style&&(… argument
772 mxSwimlane.prototype.paintRoundedSwimlane=function(a,b,c,d,e,f,g,k,l){a.begin();var m=!0;null!=this… argument
774 a.stroke():a.fillAndStroke()));l&&this.paintDivider(a,b,c,d,e,f,k==mxConstants.NONE)};mxSwimlane.pr… argument
775 mxSwimlane.prototype.getImageBounds=function(a,b,c,d){return this.isHorizontal()?new mxRectangle(a+… argument
776 …ction(){return this.graph};mxGraphLayout.prototype.getConstraint=function(a,b,c,d){return this.gra… argument
777 mxGraphLayout.traverse=function(a,b,c,d,e){if(null!=c&&null!=a&&(b=null!=b?b:!0,e=e||new mxDictiona… argument
778 mxGraphLayout.prototype.isAncestor=function(a,b,c){if(!c)return this.graph.model.getParent(b)==a;if… argument
779 mxGraphLayout.prototype.isEdgeIgnored=function(a){var b=this.graph.getModel();return!b.isEdge(a)||!… argument
781 mxGraphLayout.prototype.setEdgePoints=function(a,b){if(null!=a){var c=this.graph.model,d=c.getGeome… argument
782 mxGraphLayout.prototype.setVertexLocation=function(a,b,c){var d=this.graph.getModel(),e=d.getGeomet… argument
785 b=b.clone(),null!=a&&a!=this.parent&&(a=this.getParentOffset(a),b.x+=a.x,b.y+=a.y));return new mxRe… argument
786 WeightedCellSorter.prototype.cell=null;WeightedCellSorter.prototype.compare=function(a,b){return nu… argument
789 mxStackLayout.prototype.moveCell=function(a,b,c){var d=this.graph.getModel(),e=d.getParent(a),f=thi… argument
791 mxStackLayout.prototype.getLayoutCells=function(a){for(var b=this.graph.getModel(),c=b.getChildCoun… argument
797 mxStackLayout.prototype.setChildGeometry=function(a,b){var c=this.graph.getCellGeometry(a);null!=c&… argument
798 mxStackLayout.prototype.updateParentGeometry=function(a,b,c){var d=this.isHorizontal(),e=this.graph… argument
799 function mxPartitionLayout(a,b,c,d){mxGraphLayout.call(this,a);this.horizontal=null!=b?b:!0;this.sp… argument
800 mxPartitionLayout.prototype.moveCell=function(a,b,c){c=this.graph.getModel();var d=c.getParent(a);i… argument
803 function mxCompactTreeLayout(a,b,c){mxGraphLayout.call(this,a);this.horizontal=null!=b?b:!0;this.in… argument
807 mxCompactTreeLayout.prototype.execute=function(a,b){this.parent=a;var c=this.graph.getModel();if(nu… argument
810 mxCompactTreeLayout.prototype.moveNode=function(a,b,c){a.x+=b;a.y+=c;this.apply(a);for(a=a.child;nu… argument
811 …pactTreeLayout.prototype.sortOutgoingEdges=function(a,b){var c=new mxDictionary;b.sort(function(b, argument
812 mxCompactTreeLayout.prototype.findRankHeights=function(a,b){if(null==this.maxRankHeight[b]||this.ma… argument
813 mxCompactTreeLayout.prototype.dfs=function(a,b){var c=mxCellPath.create(a),d=null;if(null!=a&&null=… argument
815 mxCompactTreeLayout.prototype.horizontalLayout=function(a,b,c,d){a.x+=b+a.offsetX;a.y+=c+a.offsetY;… argument
816 mxCompactTreeLayout.prototype.verticalLayout=function(a,b,c,d,e){a.x+=c+a.offsetY;a.y+=d+a.offsetX;… argument
817 mxCompactTreeLayout.prototype.attachParent=function(a,b){var c=this.nodeDistance+this.levelDistance… argument
820 mxCompactTreeLayout.prototype.merge=function(a,b){for(var c=0,d=0,e=0,f=a.lowerHead,g=b.upperHead;n… argument
821 mxCompactTreeLayout.prototype.offset=function(a,b,c,d,e,f){if(e<=a||0>=a+c)return 0;a=0<e*d-c*f?0>a… argument
823 mxCompactTreeLayout.prototype.apply=function(a,b){var c=this.graph.getModel(),d=a.cell,e=c.getGeome… argument
824 mxCompactTreeLayout.prototype.createLine=function(a,b,c){var d={};d.dx=a;d.dy=b;d.next=c;return d};… argument
830 mxRadialTreeLayout.prototype.execute=function(a,b){this.parent=a;this.edgeRouting=this.useBoundingB… argument
833 mxRadialTreeLayout.prototype.calcRowDims=function(a,b){if(null!=a&&0!=a.length){this.rowMinX[b]=thi… argument
845 g,d=d/f*g,e=e/f*g,this.dispX[b]+=d,this.dispY[b]+=e,this.dispX[c]-=d,this.dispY[c]-=e)}}};mxFastOrg… argument
848 c);this.moveCircle&&(e=this.x0,d=this.y0);this.circle(f,n,e,d)}finally{b.endUpdate()}};mxCircleLayo… argument
849 …prototype.checkOverlap=!1;mxParallelEdgeLayout.prototype.execute=function(a,b){var c=this.findPara… argument
850 mxParallelEdgeLayout.prototype.findParallels=function(a,b){var c=[],d=mxUtils.bind(this,function(a)… argument
853 1)/2,c=c+g/2-d*(a.length-1)/2,f=0;f<a.length;f++)this.route(a[f],b,c),b-=e,c+=d}};mxParallelEdgeLay… argument
854 mxCompositeLayout.prototype.moveCell=function(a,b,c){null!=this.master?this.master.moveCell.apply(t… argument
856 mxEdgeLabelLayout.prototype.placeLabels=function(a,b){var c=this.graph.getModel();c.beginUpdate();t… argument
857 mxEdgeLabelLayout.prototype.avoid=function(a,b){var c=this.graph.getModel(),d=a.text.boundingBox;if… argument
860 mxGraphAbstractHierarchyCell.prototype.setGeneralPurposeVariable=function(a,b){return null};mxGraph… argument
864 …emp[0]};mxGraphHierarchyNode.prototype.setGeneralPurposeVariable=function(a,b){this.temp[0]=b};mxG… argument
869 …ank-1]};mxGraphHierarchyEdge.prototype.setGeneralPurposeVariable=function(a,b){this.temp[a-this.mi… argument
870 function mxGraphHierarchyModel(a,b,c,d,e){a.getGraph();this.tightenToSource=e;this.roots=c;this.par… argument
873 mxGraphHierarchyModel.prototype.createInternalCells=function(a,b,c){for(var d=a.getGraph(),e=0;e<b.… argument
877 mxGraphHierarchyModel.prototype.fixRanks=function(){var a=[];this.ranks=[];for(var b=0;b<this.maxRa… argument
878 [],d.x=[],d.y=[],b=d.minRank+1;b<d.maxRank;b++)a[b].push(d),d.setGeneralPurposeVariable(b,a[b].leng… argument
879 mxGraphHierarchyModel.prototype.dfs=function(a,b,c,d,e,f){if(null!=b){var g=b.id;if(null==e[g])for(… argument
880 mxGraphHierarchyModel.prototype.extendedDfs=function(a,b,c,d,e,f,g,k){if(null!=b)if(null==a||null!=… argument
881 function mxSwimlaneModel(a,b,c,d,e){a.getGraph();this.tightenToSource=e;this.roots=c;this.parent=d;… argument
884 mxSwimlaneModel.prototype.createInternalCells=function(a,b,c){for(var d=a.getGraph(),e=a.swimlanes,… argument
888 mxSwimlaneModel.prototype.maxChainDfs=function(a,b,c,d,e){if(null!=b&&(a=mxCellPath.create(b.cell),… argument
889 mxSwimlaneModel.prototype.fixRanks=function(){var a=[];this.ranks=[];for(var b=0;b<this.maxRank+1;b… argument
890 d.x=[],d.y=[],b=d.minRank+1;b<d.maxRank;b++)a[b].push(d),d.setGeneralPurposeVariable(b,a[b].length-… argument
891 mxSwimlaneModel.prototype.dfs=function(a,b,c,d,e,f){if(null!=b){var g=b.id;if(null==e[g])for(e[g]=b… argument
892 mxSwimlaneModel.prototype.extendedDfs=function(a,b,c,d,e,f,g,k){if(null!=b)if(null==a||null!=b.hash… argument
897 mxMedianHybridCrossingReduction.prototype.calculateRankCrossing=function(a,b){for(var c=0,d=b.ranks… argument
899 mxMedianHybridCrossingReduction.prototype.transpose=function(a,b){for(var c=!0,d=0;c&&10>d++;)for(v… argument
901 y.setGeneralPurposeVariable(f,B.getGeneralPurposeVariable(f)),B.setGeneralPurposeVariable(f,p),p=m,… argument
902 mxMedianHybridCrossingReduction.prototype.medianRank=function(a,b){for(var c=this.nestedBestRanks[a… argument
903 f))};mxMedianHybridCrossingReduction.prototype.medianValue=function(a,b){for(var c=[],d=0,e=0;e<a.l… argument
904 MedianCellSorter.prototype.compare=function(a,b){return null!=a&&null!=b?b.medianValue>a.medianValu… argument
905 …(a){a=this.layout.getModel();for(var b={},c=a.vertexMapper.getValues(),d={},e=0;e<c.length;e++)d[c… argument
906e,f,n){c.isAncestor(a)&&(e.invert(),mxUtils.remove(e,a.connectsAsSource),c.connectsAsSource.push(e… argument
915 …r(e=0;e<k.length;e++)l=k[e],l=c.get(l),null!=l&&0==l.visited&&(l.visited=!0,b.push(l));for(e=0;e<n… argument
916 mxCoordinateAssignment.prototype.rankMedianPosition=function(a,b,c){b=b.ranks[a];for(var d=[],e={},… argument
918 this.intraCellSpacing,n++)}l>=k&&l<=q?g.setGeneralPurposeVariable(a,l):l<k?(g.setGeneralPurposeVari… argument
919 mxCoordinateAssignment.prototype.medianXValue=function(a,b){if(0==a.length)return 0;for(var c=[],d=… argument
920 mxCoordinateAssignment.prototype.initialCoords=function(a,b){this.calculateWidestRank(a,b);for(var … argument
921 mxCoordinateAssignment.prototype.rankCoordinates=function(a,b,c){b=c.ranks[a];c=this.initialX+(this… argument
923 mxCoordinateAssignment.prototype.calculateWidestRank=function(a,b){var c=-this.interRankCellSpacing… argument
926 mxCoordinateAssignment.prototype.minPath=function(a,b){for(var c=b.edgeMapper.getValues(),d=0;d<c.l… argument
928 mxCoordinateAssignment.prototype.repositionValid=function(a,b,c,d){a=a.ranks[c];for(var e=-1,f=0;f<… argument
929 mxCoordinateAssignment.prototype.setCellLocations=function(a,b){this.rankTopY=[];this.rankBottomY=[… argument
940 mxCoordinateAssignment.prototype.processReversedEdge=function(a,b){};function mxSwimlaneOrdering(a)… argument
941 …lone(a.vertexMapper,null,!0),c=null;if(null!=a.roots)for(var d=a.roots,c=[],e=0;e<d.length;e++)c[e… argument
942 …d),mxUtils.remove(d,c.connectsAsSource));a=mxCellPath.create(c.cell);delete b[a]},c,!0,null)};func… argument
946 mxHierarchicalLayout.prototype.execute=function(a,b){this.parent=a;var c=this.graph.model;this.edge… argument
948 mxHierarchicalLayout.prototype.findRoots=function(a,b){var c=[];if(null!=a&&null!=b){var d=this.gra… argument
951 mxHierarchicalLayout.prototype.getVisibleTerminal=function(a,b){var c=this.edgesTargetTermCache;b&&… argument
954 mxHierarchicalLayout.prototype.filterDescendants=function(a,b){var c=this.graph.model;c.isVertex(a)… argument
955 mxHierarchicalLayout.prototype.getEdgesBetween=function(a,b,c){c=null!=c?c:!1;for(var d=this.getEdg… argument
956 mxHierarchicalLayout.prototype.traverse=function(a,b,c,d,e,f,g){if(null!=a&&null!=d){var k=mxObject… argument
958 mxHierarchicalLayout.prototype.placementStage=function(a,b){var c=new mxCoordinateAssignment(this,t… argument
962 mxSwimlaneLayout.prototype.execute=function(a,b){this.parent=a;var c=this.graph.model;this.edgesCac… argument
967 mxSwimlaneLayout.prototype.findRoots=function(a,b){var c=[];if(null!=a&&null!=b){var d=this.graph.m… argument
970 mxSwimlaneLayout.prototype.getVisibleTerminal=function(a,b){var c=this.edgesTargetTermCache;b&&(c=t… argument
973 mxSwimlaneLayout.prototype.filterDescendants=function(a,b){var c=this.graph.model;c.isVertex(a)&&a!… argument
974 mxSwimlaneLayout.prototype.getEdgesBetween=function(a,b,c){c=null!=c?c:!1;for(var d=this.getEdges(a… argument
975 mxSwimlaneLayout.prototype.traverse=function(a,b,c,d,e,f,g,k){if(null!=a&&null!=d){var l=mxObjectId… argument
977 mxSwimlaneLayout.prototype.placementStage=function(a,b){var c=new mxCoordinateAssignment(this,this.… argument
979 …his.cells?this.cells[a]:null};mxGraphModel.prototype.filterCells=function(a,b){var c=null;if(null!… argument
980 mxGraphModel.prototype.filterDescendants=function(a,b){var c=[];b=b||this.getRoot();(null==a||a(b))… argument
981 mxGraphModel.prototype.rootChanged=function(a){var b=this.root;this.root=a;this.nextId=0;this.cells… argument
982 …a){return null!=a?a.getParent():null};mxGraphModel.prototype.add=function(a,b,c){if(b!=a&&null!=a&… argument
984 ….prefix+a+this.postfix};mxGraphModel.prototype.updateEdgeParents=function(a,b){b=b||this.getRoot(a… argument
985 mxGraphModel.prototype.updateEdgeParent=function(a,b){for(var c=this.getTerminal(a,!0),d=this.getTe… argument
987 mxGraphModel.prototype.getNearestCommonAncestor=function(a,b){if(null!=a&&null!=b){var c=mxCellPath… argument
988 mxGraphModel.prototype.cellRemoved=function(a){if(null!=a&&null!=this.cells){for(var b=this.getChil… argument
989 …n null!=a?a.getChildCount():0};mxGraphModel.prototype.getChildAt=function(a,b){return null!=a?a.ge… argument
990 mxGraphModel.prototype.getChildCells=function(a,b,c){b=null!=b?b:!1;c=null!=c?c:!1;for(var d=this.g… argument
991 mxGraphModel.prototype.setTerminal=function(a,b,c){var d=b!=this.getTerminal(a,c);this.execute(new … argument
992 mxGraphModel.prototype.terminalForCellChanged=function(a,b,c){var d=this.getTerminal(a,c);null!=b?b… argument
994 mxGraphModel.prototype.getEdges=function(a,b,c,d){b=null!=b?b:!0;c=null!=c?c:!0;d=null!=d?d:!0;for(… argument
995 mxGraphModel.prototype.getEdgesBetween=function(a,b,c){c=null!=c?c:!1;var d=this.getEdgeCount(a),e=… argument
996 mxGraphModel.prototype.getOpposites=function(a,b,c,d){c=null!=c?c:!0;d=null!=d?d:!0;var e=[];if(nul… argument
998 …eturn null!=a?a.getValue():null};mxGraphModel.prototype.setValue=function(a,b){this.execute(new mx… argument
999 mxGraphModel.prototype.geometryForCellChanged=function(a,b){var c=this.getGeometry(a);a.setGeometry… argument
1000 mxGraphModel.prototype.setCollapsed=function(a,b){b!=this.isCollapsed(a)&&this.execute(new mxCollap… argument
1001 mxGraphModel.prototype.visibleStateForCellChanged=function(a,b){var c=this.isVisible(a);a.setVisibl… argument
1004 mxGraphModel.prototype.mergeChildren=function(a,b,c){c=null!=c?c:!0;this.beginUpdate();try{var d={}… argument
1005 mxGraphModel.prototype.mergeChildrenImpl=function(a,b,c,d){this.beginUpdate();try{for(var e=a.getCh… argument
1006 mxGraphModel.prototype.getParents=function(a){var b=[];if(null!=a)for(var c=new mxDictionary,d=0;d<… argument
1007 mxGraphModel.prototype.cloneCells=function(a,b,c){b=null!=b?b:!0;c=null!=c?c:{};for(var d=[],e=0;e<… argument
1008 …unction(a){return a.clone()};mxGraphModel.prototype.restoreClone=function(a,b,c){var d=this.getTer… argument
1009 …is.previous=this.model.rootChanged(this.previous)};function mxChildChange(a,b,c,d){this.model=a;th… argument
1011 mxChildChange.prototype.connect=function(a,b){b=null!=b?b:!0;var c=a.getTerminal(!0),d=a.getTermina… argument
1012 function mxTerminalChange(a,b,c,d){this.model=a;this.cell=b;this.previous=this.terminal=c;this.sour… argument
1013 …del.valueForCellChanged(this.cell,this.previous))};function mxStyleChange(a,b,c){this.model=a;this… argument
1014 …ometryForCellChanged(this.cell,this.previous))};function mxCollapseChange(a,b,c){this.model=a;this… argument
1015 function mxVisibleChange(a,b,c){this.model=a;this.cell=b;this.previous=this.visible=c}mxVisibleChan… argument
1016 mxCellAttributeChange.prototype.execute=function(){if(null!=this.cell){var a=this.cell.getAttribute… argument
1020 …){return a?this.source:this.target};mxCell.prototype.setTerminal=function(a,b){b?this.source=a:thi… argument
1021 …ll==this.children?null:this.children[a]};mxCell.prototype.insert=function(a,b){null!=a&&(null==b&&… argument
1023 mxCell.prototype.insertEdge=function(a,b){null!=a&&(a.removeFromTerminal(b),a.setTerminal(this,b),n… argument
1024 mxCell.prototype.removeFromTerminal=function(a){var b=this.getTerminal(a);null!=b&&b.removeEdge(thi… argument
1025 mxCell.prototype.setAttribute=function(a,b){var c=this.getValue();null!=c&&c.nodeType==mxConstants.… argument
1027 …rcePoint:this.targetPoint};mxGeometry.prototype.setTerminalPoint=function(a,b){b?this.sourcePoint=… argument
1028 mxGeometry.prototype.rotate=function(a,b){var c=mxUtils.toRadians(a),d=Math.cos(c),c=Math.sin(c);if… argument
1030 mxGeometry.prototype.translate=function(a,b){a=parseFloat(a);b=parseFloat(b);this.relative||(this.x… argument
1032 mxGeometry.prototype.scale=function(a,b,c){a=parseFloat(a);b=parseFloat(b);null!=this.sourcePoint&&… argument
1036 var mxCellPath={PATH_SEPARATOR:".",create:function(a){var b="";if(null!=a)for(var c=a.getParent();n… argument
1037 return c},compare:function(a,b){for(var c=Math.min(a.length,b.length),d=0,e=0;e<c;e++)if(a[e]!=b[e]… argument
1038 Math.tan(f)/2):f<-m?(g.y=a.y,g.x=b-a.height*Math.tan(l)/2):f<m?(g.x=a.x+a.width,g.y=e+a.width*Math.… argument
1040 m);return new mxPoint(b,c)},RhombusPerimeter:function(a,b,c,d){b=a.x;var e=a.y,f=a.width;a=a.height… argument
1044 a,m-l),q=Math.PI,r=Math.PI/2;new mxPoint(l,a);b=null!=b?mxUtils.getValue(b.style,mxConstants.STYLE_… variable
1053 function mxPrintPreview(a,b,c,d,e,f,g,k,l){this.graph=a;this.scale=null!=b?b:1/a.pageScale;this.bor… argument
1056 mxPrintPreview.prototype.appendGraph=function(a,b,c,d,e,f){this.graph=a;this.scale=null!=b?b:1/a.pa… argument
1057 mxPrintPreview.prototype.open=function(a,b,c,d){var e=this.graph.cellRenderer.initializeOverlay,f=n… argument
1059 …Mode||8==k.documentMode||7==k.documentMode){a.style.position="absolute";var b=function(){a.style.t… function
1060 k.documentElement.scrollTop)+10+"px"};mxEvent.addListener(this.wnd,"scroll",function(a){b()});mxEve… argument
1065 mxPrintPreview.prototype.writeHead=function(a,b){null!=this.title&&a.writeln("<title>"+this.title+"… argument
1067 mxPrintPreview.prototype.createPageSelector=function(a,b){var c=this.wnd.document,d=c.createElement… argument
1069 mxPrintPreview.prototype.renderPage=function(a,b,c,d,e,f){f=this.wnd.document;var g=document.create… argument
1073 mxPrintPreview.prototype.addGraphFragment=function(a,b,c,d,e,f){var g=this.graph.getView();d=this.g… argument
1074 …;this.graph.setEnabled(!1);var t=g.getTranslate();g.translate=new mxPoint(a,b);var u=this.graph.ce… argument
1078 mxPrintPreview.prototype.insertBackgroundImage=function(a,b,c){var d=this.graph.backgroundImage;if(… argument
1082 …eturn this.styles.defaultEdge};mxStylesheet.prototype.putCellStyle=function(a,b){this.styles[a]=b}; argument
1083 mxStylesheet.prototype.getCellStyle=function(a,b){var c=b;if(null!=a&&0<a.length)for(var d=a.split(… argument
1084 function mxCellState(a,b,c){this.view=a;this.cell=b;this.style=null!=c?c:{};this.origin=new mxPoint… argument
1086 mxCellState.prototype.getPerimeterBounds=function(a,b){a=a||0;b=null!=b?b:new mxRectangle(this.x,th… argument
1087 mxCellState.prototype.setAbsoluteTerminalPoint=function(a,b){b?(null==this.absolutePoints&&(this.ab… argument
1089 …isibleTargetState};mxCellState.prototype.setVisibleTerminalState=function(a,b){b?this.visibleSourc… argument
1098 mxGraphSelectionModel.prototype.removeCells=function(a){if(null!=a){for(var b=[],c=0;c<a.length;c++… argument
1099 …f(this.cells,a),0<=a&&this.cells.splice(a,1))};function mxSelectionChange(a,b,c){this.selectionMod… argument
1105 mxCellEditor.prototype.applyValue=function(a,b){this.graph.labelChanged(a.cell,b,this.trigger)};mxC… argument
1106 mxCellEditor.prototype.getInitialValue=function(a,b){var c=mxUtils.htmlEntities(this.graph.getEditi… argument
1109 var b=mxUtils.bind(this,function(b){null!=this.editingCell&&this.clearOnChange&&a.innerHTML==this.g… argument
1123 mxCellEditor.prototype.startEditing=function(a,b){this.stopEditing(!0);this.align=null;null==this.t… argument
1139 …ototype.forceControlClickHandler=!1;mxCellRenderer.registerShape=function(a,b){mxCellRenderer.defa… argument
1148 mxCellRenderer.prototype.resolveColor=function(a,b,c){var d=c==mxConstants.STYLE_FONTCOLOR?a.text:a… argument
1150 mxCellRenderer.prototype.createLabel=function(a,b){var c=a.view.graph;c.getModel().isEdge(a.cell);i… argument
1152 …a;this.initializeLabel(a,a.text);this.configureShape(a);var e=!1,f=function(b){var d=a;if(mxClient… argument
1153 mxUtils.bind(this,function(b){this.isLabelEvent(a,b)&&(c.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMo… argument
1154 mxUtils.bind(this,function(b){this.isLabelEvent(a,b)&&(c.dblClick(b,a.cell),mxEvent.consume(b))}))}… argument
1156 a.overlays.visit(function(a,b){b.destroy()});a.overlays=c};mxCellRenderer.prototype.initializeOverl… argument
1157 mxCellRenderer.prototype.installCellOverlayListeners=function(a,b,c){var d=a.view.graph;mxEvent.add… argument
1160 mxCellRenderer.prototype.initControl=function(a,b,c,d){var e=a.view.graph;e.isHtmlLabel(a.cell)&&mx… argument
1161 e.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(b,a));mxEvent.consume(b)},function(b){e.fireMo… argument
1162 mxCellRenderer.prototype.isShapeEvent=function(a,b){return!0};mxCellRenderer.prototype.isLabelEvent… argument
1165 mxCellRenderer.prototype.redrawLabel=function(a,b){var c=a.view.graph,d=this.getLabelValue(a),e=c.i… argument
1168 mxCellRenderer.prototype.isTextShapeInvalid=function(a,b){function c(c,e,f){return"spacingTop"==e||… argument
1173 mxCellRenderer.prototype.rotateLabelBounds=function(a,b){b.y-=a.text.margin.y*b.height;b.x-=a.text.… argument
1176 mxCellRenderer.prototype.redrawCellOverlays=function(a,b){this.createCellOverlays(a);if(null!=a.ove… argument
1178 mxCellRenderer.prototype.redrawControl=function(a,b){var c=a.view.graph.getFoldingImage(a);if(null!… argument
1179 mxCellRenderer.prototype.getControlBounds=function(a,b,c){if(null!=a.control){var d=a.view.scale,e=… argument
1181 mxCellRenderer.prototype.insertStateAfter=function(a,b,c){for(var d=this.getShapesForState(a),e=0;e… argument
1183 …eturn[a.shape,a.text,a.control]};mxCellRenderer.prototype.redraw=function(a,b,c){b=this.redrawShap… argument
1184 mxCellRenderer.prototype.redrawShape=function(a,b,c){var d=a.view.graph.model,e=!1;null!=a.shape&&n… argument
1187 …ion(a){a.shape.redraw()};mxCellRenderer.prototype.isShapeInvalid=function(a,b){return null==b.boun… argument
1189 var mxEdgeStyle={EntityRelation:function(a,b,c,d,e){var f=a.view,g=f.graph;d=mxUtils.getValue(a.sty… argument
1191 null!=b&&null!=c&&(a=k?b.x:b.x+b.width,b=f.getRoutingCenterY(b),l=n?c.x:c.x+c.width,c=f.getRoutingC… argument
1193 …x<b.x||c.x>b.x+b.width?null!=c?(d=c.x,m=Math.max(Math.abs(l-c.y),m)):a==mxConstants.DIRECTION_NORT… argument
1194 m=Math.max(b.x+b.width,c.x+c.width),k=Math.min(b.y,c.y),n=Math.max(b.y+b.height,c.y+c.height),f=a.v… argument
1196 k)),mxUtils.contains(c,a,f)||mxUtils.contains(b,a,f)||e.push(new mxPoint(a,f)),1==e.length&&(null!=… argument
1198 e.push(new mxPoint(d.x,k)):(f=Math.max(b.x,c.x),e.push(new mxPoint(f+(Math.min(b.x+b.width,c.x+c.wi… argument
1206 …tion(a,b){var c=[];if(null!=a)for(var d=0;d<a.length;d++)if(null!=a[d]){var e=new mxPoint(Math.rou… variable
1218 ….x!=e[a].x||e[a-1].y!=e[a].y?a++:e.splice(a,1)}},getRoutePattern:function(a,b,c,d){var e=a[0]==mxC… argument
1225 mxGraphView.prototype.scaleAndTranslate=function(a,b,c){var d=this.scale,e=new mxPoint(this.transla… argument
1227 mxGraphView.prototype.setTranslate=function(a,b){var c=new mxPoint(this.translate.x,this.translate.… argument
1228 …){this.invalidate();this.validate()};mxGraphView.prototype.clear=function(a,b,c){var d=this.graph.… argument
1229 mxGraphView.prototype.invalidate=function(a,b,c){var d=this.graph.getModel();a=a||d.getRoot();b=nul… argument
1234 mxGraphView.prototype.getBoundingBox=function(a,b){b=null!=b?b:!0;var c=null;if(null!=a&&(null!=a.s… argument
1241 mxGraphView.prototype.redrawBackgroundImage=function(a,b){a.scale=this.scale;a.bounds.x=this.scale*… argument
1242 mxGraphView.prototype.validateCell=function(a,b){if(null!=a)if(b=(null!=b?b:!0)&&this.graph.isCellV… argument
1243 mxGraphView.prototype.validateCellState=function(a,b){b=null!=b?b:!0;var c=null;if(null!=a&&(c=this… argument
1248 mxGraphView.prototype.updateVertexState=function(a,b){var c=this.graph.getModel(),d=this.getState(c… argument
1249 mxGraphView.prototype.updateEdgeState=function(a,b){var c=a.getVisibleTerminalState(!0),d=a.getVisi… argument
1254 mxGraphView.prototype.updateFixedTerminalPoints=function(a,b,c){this.updateFixedTerminalPoint(a,b,!… argument
1255 mxGraphView.prototype.getFixedTerminalPoint=function(a,b,c,d){var e=null;null!=d&&(e=this.graph.get… argument
1257 mxGraphView.prototype.updatePoints=function(a,b,c,d){if(null!=a){var e=[];e.push(a.absolutePoints[0… argument
1258 a.absolutePoints;e.push(b[b.length-1]);a.absolutePoints=e}};mxGraphView.prototype.transformControlP… argument
1259 mxGraphView.prototype.isLoopStyleEnabled=function(a,b,c,d){var e=this.graph.getConnectionConstraint… argument
1260 mxGraphView.prototype.getEdgeStyle=function(a,b,c,d){a=this.isLoopStyleEnabled(a,b,c,d)?mxUtils.get… argument
1261 mxGraphView.prototype.updateFloatingTerminalPoints=function(a,b,c){var d=a.absolutePoints,e=d[0];nu… argument
1262 mxGraphView.prototype.getFloatingTerminalPoint=function(a,b,c,d){b=this.getTerminalPort(a,b,d);var … argument
1263 0);a=this.getPerimeterPoint(b,e,0==c&&f,k);0!=c&&(k=Math.cos(c),l=Math.sin(c),a=mxUtils.getRotatedP… argument
1264 mxGraphView.prototype.getPerimeterPoint=function(a,b,c,d){var e=null;if(null!=a){var f=this.getPeri… argument
1266 mxGraphView.prototype.getRoutingCenterY=function(a){var b=null!=a.style?parseFloat(a.style[mxConsta… argument
1267 …nction(a){a=a.style[mxConstants.STYLE_PERIMETER];if("string"==typeof a){var b=mxStyleRegistry.getV… argument
1268 mxGraphView.prototype.getVisibleTerminal=function(a,b){for(var c=this.graph.getModel(),d=c.getTermi… argument
1271 mxGraphView.prototype.getPoint=function(a,b){var c=a.getCenterX(),d=a.getCenterY();if(null==a.segme… argument
1273 mxGraphView.prototype.getRelativePoint=function(a,b,c){var d=this.graph.getModel().getGeometry(a.ce… argument
1276 mxGraphView.prototype.getState=function(a,b){b=b||!1;var c=null;null!=a&&(c=this.states.get(a),b&&(… argument
1281 mxGraphView.prototype.installListeners=function(){var a=this.graph,b=a.container;if(null!=b){mxClie… argument
1282 function(b){!this.isContainerEvent(b)||(mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_GC||mxClient.… argument
1283 "dblclick",mxUtils.bind(this,function(b){this.isContainerEvent(b)&&a.dblClick(b)}));var d=function(… argument
1284 this.captureDocumentGesture&&a.isMouseDown&&null!=a.container&&!this.isContainerEvent(b)&&"none"!=a… argument
1287 …teContainerStyle(a))};mxGraphView.prototype.updateHtmlCanvasSize=function(a,b){if(null!=this.graph… argument
1288 mxGraphView.prototype.createHtmlPane=function(a,b){var c=document.createElement("DIV");null!=a&&nul… argument
1293 function mxCurrentRootChange(a,b){this.view=a;this.previous=this.root=b;this.isUp=null==b;if(!this.… argument
1295 function mxGraph(a,b,c,d,e){this.mouseListeners=null;this.renderHint=c;this.dialect=mxClient.IS_SVG… argument
1296 …s.view.rendering;this.graphModelChangeListener=mxUtils.bind(this,function(a,b){this.graphModelChan… argument
1312 mxGraph.prototype.getSelectionCellsForChanges=function(a,b){for(var c=new mxDictionary,d=[],e=mxUti… argument
1318 mxGraph.prototype.addCellOverlay=function(a,b){null==a.overlays&&(a.overlays=[]);a.overlays.push(b)… argument
1319 mxGraph.prototype.removeCellOverlay=function(a,b){if(null==b)this.removeCellOverlays(a);else{var c=… argument
1321 mxGraph.prototype.setCellWarning=function(a,b,c,d){if(null!=b&&0<b.length)return c=null!=c?c:this.w… argument
1322 mxGraph.prototype.startEditingAtCell=function(a,b){null!=b&&mxEvent.isMultiTouchEvent(b)||(null==a&… argument
1323 …iting=function(a){this.cellEditor.stopEditing(a);this.fireEvent(new mxEventObject(mxEvent.EDITING_… argument
1324 mxGraph.prototype.cellLabelChanged=function(a,b,c){this.model.beginUpdate();try{this.model.setValue… argument
1325 …ed(b)&&!d.isConsumed()){if(null!=c){if(this.isTransparentClickEvent(b)){var e=!1;a=this.getCellAt(… variable
1327 mxGraph.prototype.isSiblingSelected=function(a){for(var b=this.model,c=b.getParent(a),d=b.getChildC… argument
1330 mxGraph.prototype.scrollPointToVisible=function(a,b,c,d){if(this.timerAutoScroll||!this.ignoreScrol… argument
1334 …a.borderBottomWidth):0))};mxGraph.prototype.getPreferredPageSize=function(a,b,c){a=this.view.trans… argument
1335 mxGraph.prototype.fit=function(a,b,c,d,e,f,g){if(null!=this.container){a=null!=a?a:this.getBorder()… argument
1340 b)+"px");this.updatePageBreaks(this.pageBreaksVisible,c,b)}this.fireEvent(new mxEventObject(mxEvent… argument
1341 mxGraph.prototype.updatePageBreaks=function(a,b,c){b=this.view.scale;c=this.view.translate;var d=th… argument
1344 mxGraph.prototype.getCurrentCellStyle=function(a,b){var c=b?null:this.view.getState(a);return null!… argument
1346 mxGraph.prototype.setCellStyle=function(a,b){b=b||this.getSelectionCells();if(null!=b){this.model.b… argument
1347 mxGraph.prototype.toggleCellStyles=function(a,b,c){b=null!=b?b:!1;c=c||this.getEditableCells(this.g… argument
1348 mxGraph.prototype.setCellStyleFlags=function(a,b,c,d){d=d||this.getEditableCells(this.getSelectionC… argument
1349 mxGraph.prototype.alignCells=function(a,b,c){null==b&&(b=this.getMovableCells(this.getSelectionCell… argument
1354 mxGraph.prototype.orderCells=function(a,b,c){null==b&&(b=mxUtils.sortCells(this.getEditableCells(th… argument
1355 mxGraph.prototype.cellsOrdered=function(a,b,c){if(null!=a){this.model.beginUpdate();try{for(var d=0… argument
1356 mxGraph.prototype.groupCells=function(a,b,c){null==c&&(c=mxUtils.sortCells(this.getSelectionCells()… argument
1358 mxGraph.prototype.getBoundsForGroup=function(a,b,c){b=this.getBoundingBoxFromGeometry(b,!0);null!=b… argument
1362 mxGraph.prototype.updateGroupBounds=function(a,b,c,d,e,f,g){null==a&&(a=this.getSelectionCells());b… argument
1364 mxGraph.prototype.getBoundingBox=function(a){var b=null;if(null!=a&&0<a.length)for(var c=0;c<a.leng… argument
1365 mxGraph.prototype.cloneCells=function(a,b,c,d){b=null!=b?b:!0;var e=null;if(null!=a){for(var f=new … argument
1367 …n].x+=c,m[n].y+=p}}else m.translate(c,p)}}else e=[]}return e};mxGraph.prototype.insertVertex=funct… argument
1368 mxGraph.prototype.insertEdge=function(a,b,c,d,e,f){b=this.createEdge(a,b,c,d,e,f);return this.addEd… argument
1369 mxGraph.prototype.addCells=function(a,b,c,d,e,f){null==b&&(b=this.getDefaultParent());null==c&&(c=t… argument
1370 mxGraph.prototype.cellsAdded=function(a,b,c,d,e,f,g,k){if(null!=a&&null!=b&&null!=c){this.model.beg… argument
1372 …finally{this.model.endUpdate()}}};mxGraph.prototype.autoSizeCell=function(a,b){if(null!=b?b:1)for(… argument
1373 mxGraph.prototype.removeCells=function(a,b){b=null!=b?b:!0;null==a&&(a=this.getDeletableCells(this.… argument
1377 mxGraph.prototype.splitEdge=function(a,b,c,d,e,f,g,k){d=d||0;e=e||0;k=null!=k?k:this.model.getParen… argument
1379 mxGraph.prototype.toggleCells=function(a,b,c){null==b&&(b=this.getSelectionCells());c&&(b=this.addA… argument
1380 mxGraph.prototype.foldCells=function(a,b,c,d,e){b=null!=b?b:!1;null==c&&(c=this.getFoldableCells(th… argument
1381 mxGraph.prototype.cellsFolded=function(a,b,c,d){if(null!=a&&0<a.length){this.model.beginUpdate();tr… argument
1382 mxGraph.prototype.swapBounds=function(a,b){if(null!=a){var c=this.model.getGeometry(a);null!=c&&(c=… argument
1383 mxGraph.prototype.updateAlternateBounds=function(a,b,c){if(null!=a&&null!=b){c=this.getCurrentCellS… argument
1385 mxGraph.prototype.getAllEdges=function(a){var b=[];if(null!=a)for(var c=0;c<a.length;c++){for(var d… argument
1386 mxGraph.prototype.cellSizeUpdated=function(a,b){if(null!=a){this.model.beginUpdate();try{var c=this… argument
1389 mxGraph.prototype.getPreferredSizeForCell=function(a,b){var c=null;if(null!=a){var d=this.view.crea… argument
1391 …\n/g,"<br>"),f=mxUtils.getSizeForString(k,f,e[mxConstants.STYLE_FONTFAMILY],b,e[mxConstants.STYLE_… argument
1392 mxGraph.prototype.resizeCells=function(a,b,c){c=null!=c?c:this.isRecursiveResize();this.model.begin… argument
1393 mxGraph.prototype.cellsResized=function(a,b,c){c=null!=c?c:!1;var d=[];if(null!=a&&null!=b&&a.lengt… argument
1394 mxGraph.prototype.cellResized=function(a,b,c,d){var e=this.model.getGeometry(a);if(null!=e&&(e.x!=b… argument
1395 mxGraph.prototype.resizeChildCells=function(a,b){for(var c=this.model.getGeometry(a),d=0!=c.width?b… argument
1396 mxGraph.prototype.scaleCell=function(a,b,c,d){var e=this.model.getGeometry(a);if(null!=e){var f=thi… argument
1398 mxGraph.prototype.importCells=function(a,b,c,d,e,f){return this.moveCells(a,b,c,!0,d,e,f)}; argument
1399 mxGraph.prototype.moveCells=function(a,b,c,d,e,f,g){b=null!=b?b:0;c=null!=c?c:0;d=null!=d?d:!1;if(n… argument
1402 mxGraph.prototype.cellsMoved=function(a,b,c,d,e,f){if(null!=a&&(0!=b||0!=c)){f=null!=f?f:!1;this.mo… argument
1403 mxGraph.prototype.translateCell=function(a,b,c){var d=this.model.getGeometry(a);if(null!=d){b=parse… argument
1407 mxGraph.prototype.constrainChild=function(a,b){if(null!=a){var c=this.getCellGeometry(a);if(null!=c… argument
1412 mxGraph.prototype.getOutlineConstraint=function(a,b,c){if(null!=b.shape){c=this.view.getPerimeterBo… argument
1414 …),!1)}return null};mxGraph.prototype.getAllConnectionConstraints=function(a,b){return null!=a&&nul… argument
1415 mxGraph.prototype.getConnectionConstraint=function(a,b,c){b=null;var d=a.style[c?mxConstants.STYLE_… argument
1417 mxGraph.prototype.setConnectionConstraint=function(a,b,c,d){if(null!=d){this.model.beginUpdate();tr… argument
1420 mxGraph.prototype.getConnectionPoint=function(a,b,c){c=null!=c?c:!0;var d=null;if(null!=a&&null!=b.… argument
1423 mxGraph.prototype.connectCell=function(a,b,c,d){this.model.beginUpdate();try{var e=this.model.getTe… argument
1424 mxGraph.prototype.cellConnected=function(a,b,c,d){if(null!=a){this.model.beginUpdate();try{var e=th… argument
1428 …sPort=function(a){return!1};mxGraph.prototype.getTerminalForPort=function(a,b){return this.model.g… argument
1430 …turn this.view.getGraphBounds()};mxGraph.prototype.getCellBounds=function(a,b,c){var d=[a];b&&(d=d… argument
1431 mxGraph.prototype.getBoundingBoxFromGeometry=function(a,b){b=null!=b?b:!1;var c=null;if(null!=a)for… argument
1434 mxGraph.prototype.snapDelta=function(a,b,c,d,e){var f=this.view.translate,g=this.view.scale;!c&&thi… argument
1435 mxGraph.prototype.panGraph=function(a,b){if(this.useScrollbarsForPanning&&mxUtils.hasScrollbars(thi… argument
1439 …w.translate.y=0,this.view.setScale(1))};mxGraph.prototype.zoomTo=function(a,b){this.zoom(a/this.vi… argument
1440 mxGraph.prototype.center=function(a,b,c,d){a=null!=a?a:!0;b=null!=b?b:!0;c=null!=c?c:.5;d=null!=d?d… argument
1442 mxGraph.prototype.zoom=function(a,b){b=null!=b?b:this.centerZoom;var c=Math.round(this.view.scale*a… argument
1447 mxGraph.prototype.scrollCellToVisible=function(a,b){var c=-this.view.translate.x,d=-this.view.trans… argument
1454 mxGraph.prototype.isEdgeValid=function(a,b,c){return null==this.getEdgeValidationError(a,b,c)}; argument
1455 mxGraph.prototype.getEdgeValidationError=function(a,b,c){if(null!=a&&!this.isAllowDanglingEdges()&&… argument
1456 "\n"}var e=this.model.getDirectedEdgeCount(b,!0,a),f=this.model.getDirectedEdgeCount(c,!1,a);if(nul… argument
1457 mxGraph.prototype.validateGraph=function(a,b){a=null!=a?a:this.model.getRoot();b=null!=b?b:{};for(v… argument
1460 mxGraph.prototype.validateCell=function(a,b){return null};mxGraph.prototype.getBackgroundImage=func… argument
1463 mxGraph.prototype.getTooltip=function(a,b,c,d){var e=null;null!=a&&(null==a.control||b!=a.control.n… argument
1465 mxGraph.prototype.getStartSize=function(a,b){var c=new mxRectangle,d=this.getCurrentCellStyle(a,b),… argument
1467 …ON_WEST][mxUtils.mod(a,4)]};mxGraph.prototype.getActualStartSize=function(a,b){var c=new mxRectang… argument
1471 mxGraph.prototype.isSwimlane=function(a,b){return null==a||this.model.getParent(a)==this.model.getR… argument
1484 mxGraph.prototype.isCellResizable=function(a){var b=this.getCurrentCellStyle(a);return this.isCells… argument
1486 mxGraph.prototype.isCellEditable=function(a){var b=this.getCurrentCellStyle(a);return this.isCellsE… argument
1487 mxGraph.prototype.setCellsDisconnectable=function(a){this.cellsDisconnectable=a};mxGraph.prototype.… argument
1492 …pParent=function(a){return!1};mxGraph.prototype.getFoldableCells=function(a,b){return this.model.f… argument
1493 mxGraph.prototype.isCellFoldable=function(a,b){var c=this.getCurrentCellStyle(a);return 0<this.mode… argument
1494 mxGraph.prototype.isSplitTarget=function(a,b,c){return this.model.isEdge(a)&&null!=b&&1==b.length&&… argument
1495 mxGraph.prototype.getDropTarget=function(a,b,c,d){if(!this.isSwimlaneNesting())for(var e=0;e<a.leng… argument
1497 mxGraph.prototype.getSwimlaneAt=function(a,b,c){null==c&&(c=this.getCurrentRoot(),null==c&&(c=this.… argument
1498 mxGraph.prototype.getCellAt=function(a,b,c,d,e,f){d=null!=d?d:!0;e=null!=e?e:!0;null==c&&(c=this.ge… argument
1499 mxGraph.prototype.intersects=function(a,b,c){if(null!=a){var d=a.absolutePoints;if(null!=d){a=this.… argument
1500 mxGraph.prototype.hitsSwimlaneContent=function(a,b,c){var d=this.getView().getState(a);a=this.getSt… argument
1501 mxGraph.prototype.getChildCells=function(a,b,c){a=null!=a?a:this.getDefaultParent();a=this.model.ge… argument
1502 mxGraph.prototype.getEdges=function(a,b,c,d,e,f){c=null!=c?c:!0;d=null!=d?d:!0;e=null!=e?e:!0;f=nul… argument
1503 !1),(e&&l==n||l!=n&&(c&&n==a&&(null==b||this.isValidAncestor(l,b,f))||d&&l==a&&(null==b||this.isVal… argument
1504 mxGraph.prototype.getOpposites=function(a,b,c,d){c=null!=c?c:!0;d=null!=d?d:!0;var e=[],f=new mxDic… argument
1505 mxGraph.prototype.getEdgesBetween=function(a,b,c){c=null!=c?c:!1;for(var d=this.getEdges(a),e=[],f=… argument
1506 mxGraph.prototype.getPointForEvent=function(a,b){var c=mxUtils.convertPoint(this.container,mxEvent.… argument
1507 mxGraph.prototype.getCells=function(a,b,c,d,e,f,g,k,l){f=null!=f?f:[];if(0<c||0<d||null!=g){var m=t… argument
1508 m.isEdge(t)&&mxUtils.intersects(g,u)||null==g&&(m.isEdge(t)||m.isVertex(t))&&u.x>=a&&u.y+u.height<=… argument
1509 mxGraph.prototype.findTreeRoots=function(a,b,c){b=null!=b?b:!1;c=null!=c?c:!1;var d=[];if(null!=a){… argument
1510 mxGraph.prototype.traverse=function(a,b,c,d,e,f){if(null!=c&&null!=a&&(b=null!=b?b:!0,f=null!=f?f:!… argument
1512 …tSelectionModel().removeCells(a)};mxGraph.prototype.selectRegion=function(a,b){var c=this.getCells… argument
1514 mxGraph.prototype.selectCell=function(a,b,c){var d=this.selectionModel,e=0<d.cells.length?d.cells[0… argument
1515 b%f)):(b--,a=this.model.getChildAt(d,0>b?f-1:b)),this.setSelectionCell(a)):this.getCurrentRoot()!=d… argument
1516 …tion(a){this.selectCells(!1,!0,a)};mxGraph.prototype.selectCells=function(a,b,c,d){c=c||this.getDe… argument
1517 mxGraph.prototype.selectCellForEvent=function(a,b){var c=this.isCellSelected(a);this.isToggleEvent(… argument
1519 mxGraph.prototype.createEdgeHandler=function(a,b){return b==mxEdgeStyle.Loop||b==mxEdgeStyle.ElbowC… argument
1521 mxGraph.prototype.updateMouseEvent=function(a,b){if(null==a.graphX||null==a.graphY){var c=mxUtils.c… argument
1523 mxGraph.prototype.isEventIgnored=function(a,b,c){var d=mxEvent.isMouseEvent(b.getEvent()),e=!1;b.ge… argument
1526 mxGraph.prototype.isSyntheticEventIgnored=function(a,b,c){c=!1;b=mxEvent.isMouseEvent(b.getEvent())… argument
1527 mxGraph.prototype.isEventSourceIgnored=function(a,b){var c=b.getSource(),d=null!=c.nodeName?c.nodeN… argument
1528 mxGraph.prototype.fireMouseEvent=function(a,b,c){if(this.isEventSourceIgnored(a,b))null!=this.toolt… argument
1535 a==mxEvent.MOUSE_DOWN&&this.isEditing()&&!this.cellEditor.isEventSource(b.getEvent())&&this.stopEdi… argument
1537el&&null!=this.graphModelChangeListener&&(this.model.removeListener(this.graphModelChangeListener)… argument
1540 a.y+a.height/2:a.y+a.height;return new mxRectangle(Math.round(b.x-(d*this.defaultOverlap-this.offse… argument
1558 function mxMultiplicity(a,b,c,d,e,f,g,k,l,m){this.source=a;this.type=b;this.attr=c;this.value=d;thi… argument
1560 mxMultiplicity.prototype.check=function(a,b,c,d,e,f){var g="";if(this.source&&this.checkTerminal(a,… argument
1561 mxMultiplicity.prototype.checkNeighbors=function(a,b,c,d){b=a.model.getValue(c);d=a.model.getValue(… argument
1562 mxMultiplicity.prototype.checkType=function(a,b,c,d,e){return null!=b?isNaN(b.nodeType)?b==c:mxUtil… argument
1567 …out(a,mxEvent.LAYOUT_CELLS)};mxLayoutManager.prototype.getLayout=function(a,b){return null};mxLayo… argument
1568 mxLayoutManager.prototype.cellsMoved=function(a,b){if(null!=a&&null!=b)for(var c=mxUtils.convertPoi… argument
1569 mxLayoutManager.prototype.cellsResized=function(a,b,c){if(null!=a&&null!=b)for(var d=this.getGraph(… argument
1570 …hLayout(a.cell):[]};mxLayoutManager.prototype.addCellsWithLayout=function(a,b){return this.addDesc… argument
1571 mxLayoutManager.prototype.addAncestorsWithLayout=function(a,b){b=null!=b?b:[];if(null!=a&&(null!=th… argument
1572 …youtCells(a.reverse(),!1)};mxLayoutManager.prototype.layoutCells=function(a,b){if(0<a.length){var … argument
1573 mxLayoutManager.prototype.executeLayout=function(a,b){var c=this.getLayout(a,b?mxEvent.BEGIN_UPDATE… argument
1574 function mxSwimlaneManager(a,b,c,d){this.horizontal=null!=b?b:!0;this.addEnabled=null!=c?c:!0;this.… argument
1582 mxSwimlaneManager.prototype.resizeSwimlane=function(a,b,c,d){var e=this.getGraph().getModel();e.beg… argument
1584 function mxTemporaryCellStates(a,b,c,d,e,f){b=null!=b?b:1;this.view=a;this.oldValidateCellState=a.v… argument
1585 arguments);b.shape.paint=c});a.validateCellState=function(b,c){return null==b||null==d||d(b)?g.oldV… argument
1587ellStatePreview.prototype.deltas=null;mxCellStatePreview.prototype.count=0;mxCellStatePreview.prot… argument
1588 mxCellStatePreview.prototype.show=function(a){this.deltas.visit(mxUtils.bind(this,function(a,c){thi… argument
1589 mxCellStatePreview.prototype.translateState=function(a,b,c){if(null!=a){var d=this.graph.getModel()… argument
1590 mxCellStatePreview.prototype.revalidateState=function(a,b,c,d){if(null!=a){var e=this.graph.getMode… argument
1591 g)),b,c,d)}};mxCellStatePreview.prototype.addEdges=function(a){for(var b=this.graph.getModel(),c=b.… argument
1600 mxGraphHandler.prototype.isPropagateSelectionCell=function(a,b,c){var d=this.graph.model.getParent(… argument
1602 mxGraphHandler.prototype.isDelayedSelection=function(a,b){if(!this.graph.isToggleEvent(b.getEvent()… argument
1604 mxGraphHandler.prototype.selectCellForEvent=function(a,b){var c=this.graph.view.getState(a);if(null… argument
1605 mxGraphHandler.prototype.consumeMouseEvent=function(a,b){b.consume()}; argument
1606 mxGraphHandler.prototype.mouseDown=function(a,b){if(!b.isConsumed()&&this.isEnabled()&&this.graph.i… argument
1612 mxGraphHandler.prototype.start=function(a,b,c,d){this.cell=a;this.first=mxUtils.convertPoint(this.g… argument
1614 b!=(this.target||e))})}};mxGraphHandler.prototype.addStates=function(a,b){var c=this.graph.view.get… argument
1616 …ath.round(100*a)/100};mxGraphHandler.prototype.isValidDropTarget=function(a,b){return this.graph.m… argument
1618 mxGraphHandler.prototype.mouseMove=function(a,b){var c=this.graph;if(b.isConsumed()||!c.isMouseDown… argument
1620 g)?g:c.getCellAt(b.getGraphX(),b.getGraphY(),null,null,null,mxUtils.bind(this,function(a,b,c){retur… argument
1624 …teLivePreview=function(a,b){if(!this.suspended){var c=[];null!=this.allCells&&this.allCells.visit(… argument
1630 …on(){null!=this.allCells&&(this.allCells.visit(mxUtils.bind(this,function(a,b){null!=b.shape&&null… argument
1631 "");this.cloning||null!=b.text&&b.text.updateBoundingBox();b.view.invalidate(b.cell)})),this.graph.… argument
1632 mxGraphHandler.prototype.mouseUp=function(a,b){if(!b.isConsumed())if(this.livePreviewUsed&&this.res… argument
1635 mxGraphHandler.prototype.shouldRemoveCellsFromParent=function(a,b,c){if(this.graph.getModel().isVer… argument
1636 mxGraphHandler.prototype.moveCells=function(a,b,c,d,e,f){d&&(a=this.graph.getCloneableCells(a));var… argument
1647 …tiTouchEvent(a.getEvent())};mxPanningHandler.prototype.mouseDown=function(a,b){this.mouseDownEvent… argument
1649 mxPanningHandler.prototype.mouseMove=function(a,b){this.dx=b.getX()-this.startX;this.dy=b.getY()-th… argument
1650 "event",b))}(this.active||this.panningTrigger)&&b.consume()};mxPanningHandler.prototype.mouseUp=fun… argument
1652 mxPanningHandler.prototype.panGraph=function(a,b){this.graph.getView().setTranslate(a,b)};mxPanning… argument
1653 function mxPopupMenuHandler(a,b){null!=a&&(this.graph=a,this.factoryMethod=b,this.graph.addMouseLis… argument
1655 mxPopupMenuHandler.prototype.mouseDown=function(a,b){this.isEnabled()&&!mxEvent.isMultiTouchEvent(b… argument
1656 mxPopupMenuHandler.prototype.mouseMove=function(a,b){this.inTolerance&&null!=this.screenX&&null!=th… argument
1657 mxPopupMenuHandler.prototype.mouseUp=function(a,b,c){a=null==c;c=null!=c?c:mxUtils.bind(this,functi… argument
1659 function mxCellMarker(a,b,c,d){mxEventSource.call(this);null!=a&&(this.graph=a,this.validColor=null… argument
1662 mxCellMarker.prototype.process=function(a){var b=null;this.isEnabled()&&(b=this.getState(a),this.se… argument
1663 mxCellMarker.prototype.markCell=function(a,b){var c=this.graph.getView().getState(a);null!=c&&(this… argument
1664 mxCellMarker.prototype.getMarkerColor=function(a,b,c){return c?this.validColor:this.invalidColor};m… argument
1665 mxCellMarker.prototype.intersects=function(a,b){return this.hotspotEnabled?mxUtils.intersectsHotspo… argument
1668 mxSelectionCellsHandler.prototype.handlers=null;mxSelectionCellsHandler.prototype.isEnabled=functio… argument
1670 …fresh=function(){var a=this.handlers;this.handlers=new mxDictionary;for(var b=mxUtils.sortCells(th… argument
1672 mxSelectionCellsHandler.prototype.updateHandler=function(a){var b=this.handlers.remove(a.cell);if(n… argument
1673 mxSelectionCellsHandler.prototype.mouseMove=function(a,b){if(this.graph.isEnabled()&&this.isEnabled… argument
1675 function mxConnectionHandler(a,b){mxEventSource.call(this);null!=a&&(this.graph=a,this.factoryMetho… argument
1678 mxConnectionHandler.prototype.insertBeforeSource=!1;mxConnectionHandler.prototype.isEnabled=functio… argument
1683 …Marker(this.graph);a.hotspotEnabled=!0;a.getCell=mxUtils.bind(this,function(b){var c=mxCellMarker.… argument
1685 mxUtils.bind(this,function(b){return this.isConnecting()?null==this.error:mxCellMarker.prototype.is… argument
1686 mxConnectionHandler.prototype.start=function(a,b,c,d){this.previous=a;this.first=new mxPoint(b,c);t… argument
1687 …on(a){return!0};mxConnectionHandler.prototype.validateConnection=function(a,b){return this.isValid… argument
1690 mxConnectionHandler.prototype.redrawIcons=function(a,b){if(null!=a&&null!=a[0]&&null!=b){var c=this… argument
1691 mxConnectionHandler.prototype.getIconPosition=function(a,b){var c=this.graph.getView().scale,d=b.ge… argument
1693 mxConnectionHandler.prototype.mouseDown=function(a,b){this.mouseDownCounter++;if(this.isEnabled()&&… argument
1698 mxConnectionHandler.prototype.updateCurrentState=function(a,b){this.constraintHandler.update(a,null… argument
1704 mxConnectionHandler.prototype.snapToPreview=function(a,b){if(!mxEvent.isAltDown(a.getEvent())&&null… argument
1705 mxConnectionHandler.prototype.mouseMove=function(a,b){if(b.isConsumed()||!this.ignoreMouseDown&&nul… argument
1713 mxConnectionHandler.prototype.updateEdgeState=function(a,b){null!=this.sourceConstraint&&null!=this… argument
1716 mxConnectionHandler.prototype.getTargetPerimeterPoint=function(a,b){var c=null,d=a.view,e=d.getPeri… argument
1717 mxConnectionHandler.prototype.getSourcePerimeterPoint=function(a,b,c){c=null;var d=a.view,e=d.getPe… argument
1718 mxConnectionHandler.prototype.updateIcons=function(a,b,c){};mxConnectionHandler.prototype.isStopEve… argument
1720 mxConnectionHandler.prototype.checkConstraints=function(a,b){return null==a||null==b||null==a.point… argument
1721 mxConnectionHandler.prototype.mouseUp=function(a,b){if(!b.isConsumed()&&this.isConnecting()){if(thi… argument
1726 mxConnectionHandler.prototype.connect=function(a,b,c,d){if(null!=b||this.isCreateTarget(c)||this.gr… argument
1730 p.setTerminalPoint(t,!1)}this.fireEvent(new mxEventObject(mxEvent.CONNECT,"cell",g,"terminal",b,"ev… argument
1731 mxConnectionHandler.prototype.insertEdge=function(a,b,c,d,e,f){if(null==this.factoryMethod)return t… argument
1732 mxConnectionHandler.prototype.createTargetVertex=function(a,b){for(var c=this.graph.getCellGeometry… argument
1734 mxConnectionHandler.prototype.createEdge=function(a,b,c,d){var e=null;null!=this.factoryMethod&&(e=… argument
1740 mxConstraintHandler.prototype.getImageForConstraint=function(a,b,c){return this.pointImage};mxConst… argument
1742 mxConstraintHandler.prototype.getCellForEvent=function(a,b){var c=a.getCell();null!=c||null==b||a.g… argument
1743 mxConstraintHandler.prototype.update=function(a,b,c,d){if(this.isEnabled()&&!this.isEventIgnored(a)… argument
1749 mxConstraintHandler.prototype.setFocus=function(a,b,c){this.constraints=null!=b&&!this.isStateIgnor… argument
1752 …LIGHT_OPACITY;return a};mxConstraintHandler.prototype.intersects=function(a,b,c,d){return mxUtils.… argument
1757 mxRubberband.prototype.mouseDown=function(a,b){if(!b.isConsumed()&&this.isEnabled()&&this.graph.isE… argument
1758 mxRubberband.prototype.start=function(a,b){function c(a){a=new mxMouseEvent(a);var b=mxUtils.conver… argument
1759 mxRubberband.prototype.mouseMove=function(a,b){if(!b.isConsumed()&&null!=this.first){var c=mxUtils.… argument
1760 mxRubberband.prototype.createShape=function(){null==this.sharedDiv&&(this.sharedDiv=document.create… argument
1761 mxRubberband.prototype.mouseUp=function(a,b){var c=this.isActive();this.reset();c&&(this.execute(b.… argument
1763 this.currentX=0;this.div=this.first=null};mxRubberband.prototype.update=function(a,b){this.currentX… argument
1765 mxRubberband.prototype.destroy=function(){this.destroyed||(this.destroyed=!0,this.graph.removeMouse… argument
1766 …ototype.getPosition=function(a){};mxHandle.prototype.setPosition=function(a,b,c){};mxHandle.protot… argument
1767 mxHandle.prototype.processEvent=function(a){var b=this.graph.view.scale,c=this.graph.view.translate… variable
1772 …parentNode==this.graph.container};mxHandle.prototype.rotatePoint=function(a,b){var c=this.state.ge… argument
1773 mxHandle.prototype.flipPoint=function(a){if(null!=this.state.shape){var b=this.state.getCellBounds(… argument
1784 mxVertexHandler.prototype.isCenteredEvent=function(a,b){return!1};mxVertexHandler.prototype.createC… argument
1788 mxVertexHandler.prototype.createSizer=function(a,b,c,d){c=c||mxConstants.HANDLE_SIZE;c=new mxRectan… argument
1790 mxVertexHandler.prototype.createSizerShape=function(a,b,c){return null!=this.handleImage?(a=new mxR… argument
1791 mxVertexHandler.prototype.moveSizerTo=function(a,b,c){null!=a&&(a.bounds.x=Math.floor(b-a.bounds.wi… argument
1792 mxVertexHandler.prototype.getHandleForEvent=function(a){var b=mxEvent.isMouseEvent(a.getEvent())?1:… argument
1794 …eEvent=function(a){return!0};mxVertexHandler.prototype.mouseDown=function(a,b){if(!b.isConsumed()&… argument
1795 mxVertexHandler.prototype.start=function(a,b,c){if(null!=this.selectionBorder)if(this.livePreviewAc… argument
1802 mxVertexHandler.prototype.mouseMove=function(a,b){b.isConsumed()||null==this.index?this.graph.isMou… argument
1818 mxVertexHandler.prototype.mouseUp=function(a,b){if(null!=this.index&&null!=this.state){var c=new mx… argument
1820 …p,n=l*n-m*p,p=c,q=this.graph.view.scale,r=this.isRecursiveResize(this.state,b);this.resizeCell(thi… argument
1821 mxVertexHandler.prototype.rotateCell=function(a,b,c){if(0!=b){var d=this.graph.getModel();if(d.isVe… argument
1826 mxVertexHandler.prototype.resizeCell=function(a,b,c,d,e,f,g){b=this.graph.model.getGeometry(a);null… argument
1827 b)):null!=this.unscaledBounds&&(d=this.graph.view.scale,0==this.childOffsetX&&0==this.childOffsetY|… argument
1828 mxVertexHandler.prototype.union=function(a,b,c,d,e,f,g,k,l){e=null!=e?e&&this.graph.gridEnabled:thi… argument
1847 …pe&&(this.state=a,this.init(),this.escapeHandler=mxUtils.bind(this,function(b,c){var d=null!=this.… argument
1857 …return mxConstants.EDGE_SELECTION_DASHED};mxEdgeHandler.prototype.isConnectableCell=function(a){re… argument
1860 return null==b.error};return a};mxEdgeHandler.prototype.validateConnection=function(a,b){return thi… argument
1862 b.push(d);e||(this.points.push(new mxPoint(0,0)),d.node.style.visibility="hidden")})(c)}return b};m… argument
1866 mxEdgeHandler.prototype.initBend=function(a,b){this.preferHtml?(a.dialect=mxConstants.DIALECT_STRIC… argument
1867 mxEdgeHandler.prototype.getHandleForEvent=function(a){var b=null;if(null!=this.state){var c=functio… argument
1870 mxEdgeHandler.prototype.mouseDown=function(a,b){if(this.graph.isCellEditable(this.state.cell)){var … argument
1872 mxEdgeHandler.prototype.start=function(a,b,c){this.startX=a;this.startY=b;this.isSource=null==this.… argument
1873 …ength;c++)c!=mxEvent.CUSTOM_HANDLE-this.index&&this.customHandles[c].setVisible(!1)};mxEdgeHandler… argument
1880 mxEdgeHandler.prototype.getPreviewPoints=function(a,b){var c=this.graph.getCellGeometry(this.state.… argument
1885 mxEdgeHandler.prototype.updatePreviewState=function(a,b,c,d,e){var f=this.isSource?c:this.state.get… argument
1890 mxEdgeHandler.prototype.mouseMove=function(a,b){if(null!=this.index&&null!=this.marker){this.curren… argument
1895 mxEdgeHandler.prototype.mouseUp=function(a,b){if(null!=this.index&&null!=this.marker){null!=this.sh… argument
1902 mxEdgeHandler.prototype.convertPoint=function(a,b){var c=this.graph.getView().getScale(),d=this.gra… argument
1903 mxEdgeHandler.prototype.moveLabel=function(a,b,c){var d=this.graph.getModel(),e=d.getGeometry(a.cel… argument
1904 …th.round((c-(g.y+(k.y-g.y)/2))/f)),e.x=0,e.y=0)}d.setGeometry(a.cell,e)}};mxEdgeHandler.prototype.… argument
1905 mxEdgeHandler.prototype.changeTerminalPoint=function(a,b,c,d){var e=this.graph.getModel();e.beginUp… argument
1906 mxEdgeHandler.prototype.changePoints=function(a,b,c){var d=this.graph.getModel();d.beginUpdate();tr… argument
1907 mxEdgeHandler.prototype.addPoint=function(a,b){var c=mxUtils.convertPoint(this.graph.container,mxEv… argument
1908 mxEdgeHandler.prototype.addPointAt=function(a,b,c){var d=this.graph.getCellGeometry(a.cell);b=new m… argument
1909 this.redraw()}};mxEdgeHandler.prototype.removePoint=function(a,b){if(0<b&&b<this.abspoints.length-1… argument
1918 mxEdgeHandler.prototype.redrawInnerBends=function(a,b){for(var c=1;c<this.bends.length-1;c++)if(nul… argument
1931 mxElbowEdgeHandler.prototype.convertPoint=function(a,b){var c=this.graph.getView().getScale(),d=thi… argument
1932 mxElbowEdgeHandler.prototype.redrawInnerBends=function(a,b){var c=this.graph.getModel().getGeometry… argument
1938 mxEdgeSegmentHandler.prototype.updatePreviewState=function(a,b,c,d){mxEdgeHandler.prototype.updateP… argument
1941 mxEdgeSegmentHandler.prototype.connect=function(a,b,c,d,e){var f=this.graph.getModel(),g=f.getGeome… argument
1942 …de=function(a){return null};mxEdgeSegmentHandler.prototype.start=function(a,b,c){mxEdgeHandler.pro… argument
1945 mxEdgeSegmentHandler.prototype.redrawInnerBends=function(a,b){if(this.graph.isCellBendable(this.sta… argument
1947 function mxKeyHandler(a,b){null!=a&&(this.graph=a,this.target=b||document.documentElement,this.norm… argument
1948 …abled=function(a){this.enabled=a};mxKeyHandler.prototype.bindKey=function(a,b){this.normalKeys[a]=… argument
1949 mxKeyHandler.prototype.bindControlKey=function(a,b){this.controlKeys[a]=b};mxKeyHandler.prototype.b… argument
1952 …er),this.keydownHandler=null);this.target=null};function mxTooltipHandler(a,b){null!=a&&(this.grap… argument
1954 …,this.div.className="mxTooltip",this.div.style.visibility="hidden",document.body.appendChild(this.… argument
1955 mxTooltipHandler.prototype.mouseMove=function(a,b){if(b.getX()!=this.lastX||b.getY()!=this.lastY){t… argument
1957 mxTooltipHandler.prototype.reset=function(a,b,c){if(!this.ignoreTouchEvents||mxEvent.isMouseEvent(a… argument
1959 mxTooltipHandler.prototype.show=function(a,b,c){if(!this.destroyed&&null!=a&&0<a.length){null==this… argument
1960 …eChild(this.div),this.destroyed=!0,this.div=null)};function mxCellTracker(a,b,c){mxCellMarker.call… argument
1961 mxCellTracker.prototype.mouseDown=function(a,b){};mxCellTracker.prototype.mouseMove=function(a,b){t… argument
1962 function mxCellHighlight(a,b,c,d){null!=a&&(this.graph=a,this.highlightColor=null!=b?b:mxConstants.… argument
1969 mxCellHighlight.prototype.isHighlightAt=function(a,b){var c=!1;if(null!=this.shape&&null!=document.… argument
1970 var mxCodecRegistry={codecs:[],aliases:[],register:function(a){if(null!=a){var b=a.getName();mxCode… argument
1971 function mxCodec(a){this.document=a||mxUtils.createXmlDocument();this.objects=[]}mxCodec.prototype.… argument
1975 mxCodec.prototype.decode=function(a,b){this.updateElements();var c=null;if(null!=a&&a.nodeType==mxC… argument
1976 …f a.isCellCodec?a.isCellCodec():!1};mxCodec.prototype.decodeCell=function(a,b){b=null!=b?b:!0;var … argument
1977 mxCodec.prototype.insertIntoGraph=function(a){var b=a.parent,c=a.getTerminal(!0),d=a.getTerminal(!1… argument
1978 function mxObjectCodec(a,b,c,d){this.template=a;this.exclude=null!=b?b:[];this.idrefs=null!=c?c:[];… argument
1979 …nstructor};mxObjectCodec.prototype.getFieldName=function(a){if(null!=a){var b=this.reverse[a];null… argument
1980 mxObjectCodec.prototype.isReference=function(a,b,c,d){return 0<=mxUtils.indexOf(this.idrefs,b)};mxO… argument
1981 mxObjectCodec.prototype.encodeValue=function(a,b,c,d,e){if(null!=d){if(this.isReference(b,c,d,!0)){… argument
1982 mxObjectCodec.prototype.writePrimitiveAttribute=function(a,b,c,d,e){d=this.convertAttributeToXml(a,… argument
1983 mxObjectCodec.prototype.writeComplexAttribute=function(a,b,c,d,e){a=a.encode(d);null!=a?(null!=c&&a… argument
1984 mxObjectCodec.prototype.convertAttributeFromXml=function(a,b,c){var d=b.value;this.isNumericAttribu… argument
1985 mxObjectCodec.prototype.afterEncode=function(a,b,c){return c};mxObjectCodec.prototype.decode=functi… argument
1986 mxObjectCodec.prototype.decodeAttributes=function(a,b,c){b=b.attributes;if(null!=b)for(var d=0;d<b.… argument
1987 mxObjectCodec.prototype.decodeAttribute=function(a,b,c){if(!this.isIgnoredAttribute(a,b,c)){var d=b… argument
1988 mxObjectCodec.prototype.decodeChildren=function(a,b,c){for(b=b.firstChild;null!=b;){var d=b.nextSib… argument
1989 mxObjectCodec.prototype.decodeChild=function(a,b,c){var d=this.getFieldName(b.getAttribute("as"));i… argument
1990 mxObjectCodec.prototype.getFieldTemplate=function(a,b,c){a=a[b];a instanceof Array&&0<a.length&&(a=… argument
1991 mxObjectCodec.prototype.afterDecode=function(a,b,c){return c}; argument
1992 mxCodecRegistry.register(function(){var a=new mxObjectCodec(new mxCell,["children","edges","overlay… argument
1998 …child","previousIndex"],["parent","previous"]);a.isReference=function(a,c,d,e){return"child"!=c||e… argument
2001 var mxGenericChangeCodec=function(a,b){var c=new mxObjectCodec(a,["model","previous"],["cell"]);c.a… argument
2018 a},addEvent:function(a,b,c){a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent&&a.attachEv… argument
2021 …idth,document.documentElement.clientHeight]:[0,0]},URI:function(a){function b(a){for(var b="";a;)i… function
2024 a.query):("/"===this.path.substr(0,1)?c.path=b(this.path):(c.path=null!==a.authority&&""===a.path?"… argument
2025 a,c];case 4:return[a,e,c];case 5:return[c,e,a]}}function d(b,c){if(!mxJSColor.picker){mxJSColor.pic… argument
2034 …ner=r;document.getElementsByTagName("body")[0].appendChild(l.boxB)}function e(a){return[2*a.picker… function
2042 A)&&u){var b=this.toString();this.caps&&(b=b.toUpperCase());this.hash&&(b="#"+b);u.value=b}a&z||!x|… argument
2043 d);this.exportColor(e)};this.fromRGB=function(a,b,c,d){0>a&&(a=0);1<a&&(a=1);0>b&&(b=0);1<b&&(b=1);… argument
2047 Editor=function(a,b,d,e,c){mxEventSource.call(this);this.chromeless=null!=a?a:this.chromeless;this.… argument
2048 function(){return this.status};this.graphChangeListener=function(a,b){var d=null!=b?b.getProperty("… argument
2084 Editor.prototype.editAsNew=function(a,b){var d=null!=b?"?title="+encodeURIComponent(b):"";null!=url… argument
2085 …Url(d)+"#R"+encodeURIComponent(a))};Editor.prototype.createGraph=function(a,b){var d=new Graph(nul… argument
2097 Editor.prototype.createUndoManager=function(){var a=this.graph,b=new mxUndoManager;this.undoListene… argument
2100 function Dialog(a,b,d,e,c,f,k,h,g,l,m){var n=g?57:0,p=d,q=e,u=g?0:64,v=Editor.inlineFullscreen||nul… argument
2103 f.setAttribute("title",mxResources.get("close")),f.className="geDialogClose",f.style.top=x+14+"px",… argument
2109 "/clear.gif";Dialog.prototype.bgOpacity=80;Dialog.prototype.getPosition=function(a,b){return new mx… argument
2110 var ErrorDialog=function(a,b,d,e,c,f,k,h,g,l,m){g=null!=g?g:!0;var n=document.createElement("div");… argument
2112 q.className="geBtn";d.appendChild(q);null!=k&&(e=mxUtils.button(k,function(){g&&a.hideDialog();null… argument
2113 PrintDialog.prototype.create=function(a){function b(a){var b=h.checked||l.checked,c=parseInt(n.valu… function
2119 …s.container=f};PrintDialog.printPreview=function(a){try{if(null!=a.wnd){var b=function(){a.wnd.foc… function
2120 PrintDialog.createPrintPreview=function(a,b,d,e,c,f,k){b=new mxPrintPreview(a,b,d,e,c,f);b.title=mx… argument
2122 var PageSetupDialog=function(a){function b(){null==m||m==mxConstants.NONE?(l.style.backgroundColor=… function
2127 "60px";q.style.padding="4px";var u=e.backgroundImage,v=function(b){a.showBackgroundImageDialog(func… argument
2130 PageSetupDialog.addPageFormatPanel=function(a,b,d,e){function c(a,b,c){if(c||n!=document.activeElem… argument
2135 …ild(h);mxUtils.br(a);a.appendChild(g);a.appendChild(m);var z=d,E=function(a,b){var c=q[h.value];nu… argument
2141 var FilenameDialog=function(a,b,d,e,c,f,k,h,g,l,m,n){g=null!=g?g:!0;var p,q,u=document.createElemen… argument
2148 FilenameDialog.createTypeHint=function(a,b,d){var e=document.createElement("img");e.style.backgroun… argument
2149 …tAttribute("title",mxResources.get(d[a].title));break}};mxEvent.addListener(b,"keyup",c);mxEvent.a… argument
2151 FilenameDialog.createFileTypes=function(a,b,d){var e=document.createElement("select");for(a=0;a<d.l… argument
2154 this.backgroundPageShape.init(a.container),c.style.position="absolute",a.container.insertBefore(thi… argument
2155 …isHideOnHover()&&a.tooltipHandler.hide();a.isMouseDown&&!mxEvent.isConsumed(b)&&a.fireMouseEvent(m… argument
2159 …svg>'};var a=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=function(b,c){a.apply(this,argu… argument
2160 …gridSteps,e=-Math.round(e-mxUtils.mod(this.view.translate.x*this.view.scale+b,e))+"px "+-Math.roun… argument
2164 d.apply(this,arguments);a.intersects=mxUtils.bind(this,function(b,c){return this.isConnecting()?!0:… argument
2165 e=this.graph.pageScale,f=d.width*e,d=d.height*e,e=Math.floor(Math.min(0,b)/f),p=Math.floor(Math.min… argument
2166 this.useScrollbarsForPanning&&mxUtils.hasScrollbars(this.container)||(this.view.backgroundPageShape… argument
2167 function(a,b,c){var d,e=this.graph.model.getParent(a);if(b)d=this.graph.model.isEdge(a)?null:this.g… argument
2168 …&!this.graph.isToggleEvent(c.getEvent())||this.graph.isTableCell(a)&&this.graph.isCellSelected(e);… argument
2174 mxUtils.indexOf(f,k[b])&&f.push(k[b]);var n=function(a,b,c,d,g,k,l){d=null!=d?d:e.currentVertexStyl… argument
2176 e.addListener("cellsInserted",function(a,b){n(b.getProperty("cells"),null,null,null,null,!0,!0)});e… argument
2180 !1,v=this.hoverIcons.isResetEvent;this.hoverIcons.isResetEvent=function(a,b){return u||v.apply(this… argument
2181 "";u=!1});mxEvent.addListener(document,"keyup",this.keyupHandler);var t=e.panningHandler.isForcePan… method
2182 …_MAC&&mxEvent.isMetaDown(a)||mxClient.IS_SF&&mxEvent.isShiftDown(a))};var x=e.isZoomWheelEvent;e.i… method
2183 b.push(a));a=c}a=this.toolbar.fontMenu;c=this.toolbar.sizeMenu;if(null==C)this.toolbar.createTextTo… function
2184 null!=b&&(b=mxUtils.getCurrentStyle(b),null!=b&&null!=y.toolbar&&(y.toolbar.setFontName(Graph.strip… argument
2185 e.container.setAttribute("tabindex","0");e.container.style.cursor="default";if(window.self===window… argument
2186 …turn keyHandler};e.connectionHandler.addListener(mxEvent.CONNECT,function(a,b){var c=[b.getPropert… argument
2192 (a=mxUtils.bind(this,function(){var a=e.currentVertexStyle.fontFamily||"Helvetica",b=String(e.curre… argument
2201 d);var e=a.popupMenuHandler.isMenuShowing;a.popupMenuHandler.isMenuShowing=function(){return e.appl… argument
2202 30)}};if(null!=this.hoverIcons){this.hoverIcons.addListener("reset",d);var f=this.hoverIcons.drag;t… argument
2204 h=window.setTimeout(mxUtils.bind(this,function(){var c=d.getProperty("arrow"),e=d.getProperty("dire… argument
2205 b.hoverIcons.update(a.view.getState(c))},function(b){a.selectCellsForConnectVertex(b)},f,this.hover… argument
2206 EditorUi.prototype.centerShapePicker=function(a,b,d,e,c){if(c==mxConstants.DIRECTION_EAST||c==mxCon… argument
2207 EditorUi.prototype.showShapePicker=function(a,b,d,e,c,f){a=this.createShapePicker(a,b,d,e,c,mxUtils… argument
2208 EditorUi.prototype.createShapePicker=function(a,b,d,e,c,f,k,h){var g=null;if(null!=k&&0<k.length){v… argument
2212 EditorUi.prototype.getCellsForShapePicker=function(a,b){var d=mxUtils.bind(this,function(a,b,d,k){r… argument
2220 EditorUi.prototype.getCssClassForMarker=function(a,b,d,e){return"flexArrow"==b?null!=d&&d!=mxConsta… argument
2225 EditorUi.prototype.initClipboard=function(){var a=this,b=mxClipboard.cut;mxClipboard.cut=function(c… argument
2226 0),p=0;p<f.length;p++){m.add(n,f[p]);var q=b.view.getState(c[p]);if(null!=q){var u=b.getCellGeometr… argument
2227 null;b.cellEditor.isContentEditing()?document.execCommand("paste",!1,null):c=d.apply(this,arguments… argument
2230 this.scale*a.height*b.height)};a.getPreferredPageSize=function(a,b,c){a=this.getPageLayout();b=this… argument
2233 …ssResize(!0)}));this.actions.get("zoomIn").funct=mxUtils.bind(this,function(b){a.zoomIn();this.chr… argument
2235 "transition","opacity 600ms ease-in-out");var f=mxUtils.bind(this,function(){var b=mxUtils.getCurre… argument
2240 f(mxUtils.bind(this,function(b){a.isLightboxView()?(1==a.view.scale?this.lightboxFit():a.zoomTo(1),… argument
2241 "none";q=null}),600)}),a||200)}),v=mxUtils.bind(this,function(a){null!=p&&(window.clearTimeout(p),p… argument
2244 …tButtonLink&&null==this.editor.editButtonFunc||f(mxUtils.bind(this,function(b){null!=this.editor.e… argument
2246 function(b){c.fullscreenBtn.url?a.openLink(c.fullscreenBtn.url):a.openLink(window.location.href);mx… argument
2248 mxUtils.bind(this,function(b){a.tooltipHandler.resetTimer();a.tooltipHandler.hideTooltip();mxEvent.… argument
2249 …ainer.scrollLeft;this.scrollTop=a.container.scrollTop},mouseMove:function(a,b){},mouseUp:function(… argument
2255 …)?d.wheelZoomDelay:d.lazyZoomDelay)},0)},P=Date.now();a.lazyZoom=function(b,c,e){(c=c||!a.scrollba… argument
2259e("+this.cumulativeZoomFactor+")"));a.view.getDecoratorPane().style.opacity="0";a.view.getOverlayP… argument
2261 a.container);a.panningHandler.zoomGraph=function(b){a.cumulativeZoomFactor=b.scale;a.lazyZoom(0<b.s… argument
2265 …r.openFile&&window.opener.openFile.setConsumer(mxUtils.bind(this,function(a,b){try{var d=mxUtils.p… argument
2266 …entObject("resetGraphView"))};EditorUi.prototype.showPopupMenu=function(a,b,d,e){this.editor.graph… argument
2267 EditorUi.prototype.setCurrentMenu=function(a,b){this.currentMenuElt=b;this.currentMenu=a};EditorUi.… argument
2275 b.view.scale-c);b.defaultPageVisible=a;this.fireEvent(new mxEventObject("pageViewChanged"))};functi… argument
2276 function ChangePageSetup(a,b,d,e,c){this.ui=a;this.previousColor=this.color=b;this.previousImage=th… argument
2281 EditorUi.prototype.setPageFormat=function(a,b){b=null!=b?b:"1"==urlParams.sketch;this.editor.graph.… argument
2284 this.editor.graph.cellEditor.stopEditing=function(a,b){f.apply(this,arguments);e()};e()}; argument
2304 EditorUi.prototype.addSplitHandler=function(a,b,d,e){function c(a){if(null!=k){var c=new mxPoint(mx… argument
2306 EditorUi.prototype.handleError=function(a,b,d,e,c){a=null!=a&&null!=a.error?a.error:a;if(null!=a||n… argument
2307 EditorUi.prototype.showError=function(a,b,d,e,c,f,k,h,g,l,m,n,p){a=new ErrorDialog(this,a,b,d||mxRe… argument
2308 EditorUi.prototype.hideDialog=function(a,b,d){null!=this.dialogs&&0<this.dialogs.length&&(null==d||… argument
2310 EditorUi.prototype.pickColor=function(a,b){var d=this.editor.graph,e=d.cellEditor.saveSelection(),c… argument
2313 …tion(a){this.readGraphModelFromClipboardWithType(mxUtils.bind(this,function(b){null!=b?a(b):this.r… argument
2314 EditorUi.prototype.readGraphModelFromClipboardWithType=function(a,b){navigator.clipboard.read().the… argument
2315 0<=e&&e<d.length-3&&(d=d.substring(0,e+3))}catch(m){}try{var g=c.getElementsByTagName("span"),l=nul… argument
2325 EditorUi.prototype.executeLayout=function(a,b,d){var e=this.editor.graph;if(e.isEnabled()){e.getMod… argument
2326 EditorUi.prototype.showImageDialog=function(a,b,d,e){e=this.editor.graph.cellEditor;var c=e.saveSel… argument
2328 EditorUi.prototype.showBackgroundImageDialog=function(a,b){a=null!=a?a:mxUtils.bind(this,function(a… argument
2329 …this.editor.graph.view.validateBackgroundImage();this.fireEvent(new mxEventObject("backgroundImage… argument
2331 EditorUi.prototype.createKeyHandler=function(a){function b(a,b,c){if(!e.isSelectionEmpty()&&e.isEna… argument
2337 mxUtils.bind(this,function(a,b,d,e){var f=this.actions.get(d);null!=f&&(d=function(){f.isEnabled()&… argument
2344 …ns.length;a++)this.destroyFunctions[a]();this.destroyFunctions=null}for(var b=[this.menubarContain… argument
2359 Sidebar.prototype.getTooltipOffset=function(a,b){var d=b.height+2*this.tooltipBorder;return new mxP… argument
2360 Sidebar.prototype.createTooltip=function(a,b,d,e,c,f,k,h,g,l,m){m=null!=m?m:!0;this.tooltipMouseDow… argument
2369 Sidebar.prototype.showTooltip=function(a,b,d,e,c,f){if(this.enableTooltips&&this.showTooltips&&this… argument
2370 Sidebar.prototype.hideTooltip=function(){null!=this.thread&&(window.clearTimeout(this.thread),this.…
2372 mxUtils.bind(this,function(){var b=this.editorUi.stringToCells(Graph.decompress(a.xml));return this… argument
2373 Sidebar.prototype.addEntry=function(a,b){if(null!=this.taglist&&null!=a&&0<a.length){null!=this.cur… argument
2374 Sidebar.prototype.addEntryForTag=function(a,b){if(null!=a&&1<a.length){var d=this.taglist[a];"objec… argument
2375 Sidebar.prototype.searchEntries=function(a,b,d,e,c){if(null!=this.taglist&&null!=a){var f=a.toLower… argument
2376 null,f)};Sidebar.prototype.filterTags=function(a){if(null!=a){a=a.split(" ");for(var b=[],d={},e=0;… argument
2381 function(){u=4*Math.max(1,Math.floor(this.container.clientWidth/(this.thumbWidth+10)));this.hideToo… argument
2386 Sidebar.prototype.insertSearchHint=function(a,b,d,e,c,f,k,h){0==c.length&&1==e&&(d=document.createE… argument
2495 Sidebar.prototype.createThumb=function(a,b,d,e,c,f,k){this.graph.labelsVisible=null==f||f;f=mxClien… argument
2499 Sidebar.prototype.createItem=function(a,b,d,e,c,f,k,h){h=null!=h?h:!0;var g=document.createElement(… argument
2502 Sidebar.prototype.updateShapes=function(a,b){var d=this.editorUi.editor.graph,e=d.getCellStyle(a),c… argument
2505 Sidebar.prototype.createDropHandler=function(a,b,d,e){d=null!=d?d:!0;return mxUtils.bind(this,funct… argument
2508 Sidebar.prototype.createDragPreview=function(a,b){var d=document.createElement("div");d.className="… argument
2509 Sidebar.prototype.dropAndConnect=function(a,b,d,e,c){var f=this.getDropAndConnectGeometry(a,b[e],d,… argument
2510 v.x,t.y+=v.y)}var w=!h.isTableRow(a)&&!h.isTableCell(a)&&(h.model.isEdge(a)||null!=l&&!l.relative&&… argument
2513 Sidebar.prototype.getDropAndConnectGeometry=function(a,b,d,e){var c=this.editorUi.editor.graph,f=c.… argument
2517 …etCenterY()))))));return e};Sidebar.prototype.isDropStyleEnabled=function(a,b){var d=!0;if(null!=b… argument
2519 Sidebar.prototype.createDragSource=function(a,b,d,e,c){function f(a,b){var c;c=mxUtils.createImage(… argument
2521 …ell)||null==l?m:l,a.setSelectionCells(this.dropAndConnect(t.cell,e,R,k,c))):b.apply(this,arguments… argument
2523 "none");this.previewElementWidth=b.style.width;this.previewElementHeight=b.style.height;return b};v… argument
2527 u.getDropTarget=mxUtils.bind(this,function(a,b,c,d){var g=mxEvent.isAltDown(d)||null==e?null:a.getC… argument
2541 Sidebar.prototype.itemClicked=function(a,b,d,e){e=this.editorUi.editor.graph;e.container.focus();if… argument
2543 Sidebar.prototype.addClickHandler=function(a,b,d){var e=b.mouseDown,c=b.mouseMove,f=b.mouseUp,k=thi… argument
2545 Sidebar.prototype.createVertexTemplateEntry=function(a,b,d,e,c,f,k,h){null!=h&&null!=c&&(h+=" "+c);… argument
2546 Sidebar.prototype.createVertexTemplateFromData=function(a,b,d,e,c,f,k,h){a=mxUtils.parseXml(Graph.d… argument
2547 Sidebar.prototype.createEdgeTemplateEntry=function(a,b,d,e,c,f,k,h,g){k=null!=k&&0<k.length?k:c.toL… argument
2548 Sidebar.prototype.createEdgeTemplate=function(a,b,d,e,c,f,k,h){a=new mxCell(null!=e?e:"",new mxGeom… argument
2549 Sidebar.prototype.addPaletteFunctions=function(a,b,d,e){this.addPalette(a,b,d,mxUtils.bind(this,fun… argument
2550 Sidebar.prototype.addPalette=function(a,b,d,e){b=this.createTitle(b);this.container.appendChild(b);… argument
2551 Sidebar.prototype.addFoldingHandler=function(a,b,d){var e=!1;if(!mxClient.IS_IE||8<=document.docume… argument
2554 Sidebar.prototype.addImagePalette=function(a,b,d,e,c,f,k){for(var h=[],g=0;g<c.length;g++)mxUtils.b… argument
2555 Sidebar.prototype.getTagsForStencil=function(a,b,d){a=a.split(".");for(var e=1;e<a.length;e++)a[e]=… argument
2556 Sidebar.prototype.addStencilPalette=function(a,b,d,e,c,f,k,h,g,l){k=null!=k?k:1;if(this.addStencils… argument
2557 !0,!0);this.addPaletteFunctions(a,b,!1,m)}else this.addPalette(a,b,!1,mxUtils.bind(this,function(a)… argument
2561 Uint8Array.from||(Uint8Array.from=function(){var a=Object.prototype.toString,b=function(b){return"f… argument
2565 …unitChanged","unit",a)))};mxSvgCanvas2D.prototype.foAltText="[Not supported by viewer]";mxShape.pr… argument
2567 Graph=function(a,b,d,e,c,f){mxGraph.call(this,a,b,d,e);this.themes=c||this.defaultThemes;this.curre… argument
2568 …h=null,g=null,l=null,m=!1;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(a,b… argument
2573 b){},mouseMove:mxUtils.bind(this,function(a,b){var c=this.selectionCellsHandler.handlers.map,d;for(… argument
2580 …t(n.cell))}}null!=e&&c.setCursor(e)}}),mouseUp:mxUtils.bind(this,function(a,b){l=k=h=g=null})})}th… argument
2581 …ndler.insertBeforeSource=!0;this.connectionHandler.isValidSource=function(a,b){return!1};this.alte… argument
2582 function(){var a=n.apply(this,arguments);if(this.graph.pageVisible){for(var b=[],c=this.graph.pageF… argument
2584 this.graph.isCellSelected(b[e])?this.graph.model.getParent(b[e]):this.graph.isTableRow(a)&&this.gra… argument
2585 q.apply(this,arguments)};this.connectionHandler.createTargetVertex=function(a,b){b=this.graph.getCo… argument
2590 this.getCursorForMouseEvent=function(a){var b=null==a.state&&null!=a.sourceState&&this.isCellLocked… argument
2591 …eturn"1"==mxUtils.getValue(a.style,"locked","0")},!0);if(this.isToggleEvent(b))for(var d=0;d<c.len… argument
2592 …null;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(a,b){if("mouseDown"==b.g… argument
2593 …electionCount()&&this.isCellSelected(d)&&this.removeSelectionCell(d);L=null;b.consume()}}));this.c… argument
2599 Graph.createSvgImage=function(a,b,d,e,c){d=unescape(encodeURIComponent(Graph.svgDoctype+'<svg xmlns… argument
2601 Graph.base64EncodeUnicode=function(a){return btoa(encodeURIComponent(a).replace(/%([0-9A-F]{2})/g,f… argument
2603 Graph.arrayBufferIndexOfString=function(a,b,d){var e=b.charCodeAt(0),c=1,f=-1;for(d=d||0;d<a.byteLe… argument
2604 Graph.decompress=function(a,b,d){if(null==a||0==a.length||"undefined"===typeof pako)return a;a=Grap… argument
2605 Graph.fadeNodes=function(a,b,d,e,c){c=null!=c?c:1E3;Graph.setTransitionForNodes(a,null);Graph.setOp… argument
2606 Graph.setOpacityForNodes=function(a,b){for(var d=0;d<a.length;d++)a[d].style.opacity=b};Graph.remov… argument
2607 Graph.sanitizeSvg=function(a){function b(b){for(b=a.getElementsByTagName(b);0<b.length;)b[0].parent… function
2611 Graph.createRemoveIcon=function(a,b){var d=document.createElement("img");d.setAttribute("src",Dialo… argument
2616 …ype.init.apply(this,arguments);this.cellRenderer.initializeLabel=function(a,b){mxCellRenderer.prot… argument
2618 b&&this.graph.isCustomLink(b)&&(mxEvent.isTouchEvent(a)||!mxEvent.isPopupTrigger(a))&&this.graph.cu… argument
2619 …ntTranslate=new mxPoint(0,0);Graph.prototype.getVerticesAndEdges=function(a,b){a=null!=a?a:!0;b=nu… argument
2620 b,c){if(null!=a){var d={},e;for(e in a){var f=a[e];null!=f&&(d[e]=!0,null==b[e]&&c?b[e]=f:b[e]!=f&&… argument
2622 (b[f]=mxConstants.NONE)}}}return b};Graph.prototype.pasteStyle=function(a,b,c){c=null!=c?c:Graph.pa… argument
2623 mxClient.IS_IOS)};Graph.prototype.isCssTransformsSupported=function(){return this.dialect==mxConsta… argument
2626 if(!this.model.isVertex(b))break;a=b}return a};Graph.prototype.filterSelectionCells=function(a){var… argument
2631 …ototype.validateBackgroundPage=function(){var a=this.graph.useCssTransforms,b=this.scale,d=this.tr… argument
2633 Graph.prototype.labelLinkClicked=function(a,b,d){b=b.getAttribute("href");if(null!=b&&!this.isCusto… argument
2634 Graph.prototype.openLink=function(a,b,d){var e=window;try{if("_self"==b&&window!=window.top)window.… argument
2637 …utManager=new mxLayoutManager(this);this.layoutManager.hasLayout=function(a,b){return null!=this.g… argument
2643 Graph.prototype.createWipeAnimations=function(a,b){for(var d=[],e=0;e<a.length;e++){var c=this.view… argument
2644 Graph.prototype.createEdgeWipeAnimation=function(a,b){var d=a.absolutePoints.slice(),e=a.segments,c… argument
2646 …exWipeAnimation=function(a,b){var d=new mxRectangle.fromRectangle(a.shape.bounds);return{execute:m… argument
2647 …cityForNodes(this.getNodesForCells([a.cell]),b?1:0))})}};Graph.prototype.executeAnimations=functio… argument
2650 e)};Graph.prototype.sanitizeHtml=function(a,b){return Graph.sanitizeHtml(a,b)};Graph.prototype.upda… argument
2652 …n(a)&&!mxEvent.isMetaDown(a)};Graph.prototype.isEdgeIgnored=function(a){var b=!1;null!=a&&(a=this.… argument
2656 Graph.prototype.formatDate=function(a,b,d){null==this.dateFormatCache&&(this.dateFormatCache={i18n:… argument
2657 …tcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"}});var e=this.dateFormatCache,c=/\b(?:[PMCEA][SDP]T|(?:P… argument
2661 Graph.prototype.createLayersDialog=function(a,b){var d=document.createElement("div");d.style.positi… argument
2664 Graph.prototype.replacePlaceholders=function(a,b,d,e){e=[];if(null!=b){for(var c=0;match=this.place… argument
2666 Graph.prototype.selectCellsForConnectVertex=function(a,b,d){2==a.length&&this.model.isVertex(a[1])?… argument
2667 Graph.prototype.connectVertex=function(a,b,d,e,c,f,k,h){f=f?f:!1;if(a.geometry.relative&&this.model… argument
2678 Graph.prototype.updateAlternateBounds=function(a,b,d){if(null!=a&&null!=b&&null!=this.layoutManager… argument
2679 Graph.prototype.foldCells=function(a,b,d,e,c){b=null!=b?b:!1;null==d&&(d=this.getFoldableCells(this… argument
2681 Graph.prototype.moveSiblings=function(a,b,d,e){this.model.beginUpdate();try{var c=this.getCellsBeyo… argument
2682 Graph.prototype.resizeParentStacks=function(a,b,d,e){if(null!=this.layoutManager&&null!=b&&b.constr… argument
2684 Graph.prototype.isLabelMovable=function(a){var b=this.getCurrentCellStyle(a);return null!=b.movable… argument
2685 Graph.prototype.getSwimlaneAt=function(a,b,d){var e=mxGraph.prototype.getSwimlaneAt.apply(this,argu… argument
2686 ….isSelectionEmpty()||this.clearSelection()};Graph.prototype.zoom=function(a,b){a=Math.max(.01,Math… argument
2688 Graph.prototype.fitWindow=function(a,b){b=null!=b?b:10;var d=this.container.clientWidth-b,e=this.co… argument
2690 …length&&e.push({name:a[c].nodeName,value:a[c].nodeValue});e.sort(function(a,b){return a.name<b.nam… argument
2692 …nction(a){return Graph.compressNode(a)};Graph.prototype.compress=function(a,b){return Graph.compre… argument
2693 Graph.prototype.decompress=function(a,b){return Graph.decompress(a,b)};Graph.prototype.zapGremlins=… argument
2702 mxEvent.getSource(a)==this.graph.container&&this.setDisplay("none")}));this.graph.addListener(mxEve… argument
2703 e){b=!1;var c=e.getEvent();if(this.isResetEvent(c))this.reset();else if(!this.isActive()){var d=thi… argument
2704 function(a,e){var c=e.getEvent();mxUtils.convertPoint(this.graph.container,mxEvent.getClientX(c),mx… argument
2705 …?(this.setDisplay(""),this.repaint()):mxEvent.isTouchEvent(c)||this.reset();b=!1;this.resetActiveA… argument
2706 HoverIcons.prototype.createArrow=function(a,b,d){var e=null,e=mxUtils.createImage(a.src);e.style.wi… argument
2710 HoverIcons.prototype.setDisplay=function(a){this.visitNodes(function(b){b.style.display=a})};HoverI… argument
2711 HoverIcons.prototype.drag=function(a,b,d){this.graph.popupMenuHandler.hideMenu();this.graph.stopEdi… argument
2712 mxUtils.getValue(b.style,mxConstants.STYLE_EDGE,null)&&(a=this.getDirection(),b.cell.style=mxUtils.… argument
2713 HoverIcons.prototype.click=function(a,b,d){var e=d.getEvent(),c=d.getGraphX(),f=d.getGraphY(),c=thi… argument
2714 HoverIcons.prototype.execute=function(a,b,d){d=d.getEvent();this.graph.selectCellsForConnectVertex(… argument
2717 (d=b.rotationShape.boundingBox));b=mxUtils.bind(this,function(a,b,c){if(null!=d){var e=new mxRectan… argument
2719 …is.currentState.getCenterX(),a.y+a.height+this.triangleDown.height/2);null!=b&&b==e&&e==c&&c==a&&(… argument
2722 …?null:mxRectangle.fromRectangle(this.currentState);this.visitNodes(function(b){null!=b.parentNode&… argument
2724 HoverIcons.prototype.update=function(a,b,d){if(!this.graph.connectionArrowsEnabled||null!=a&&"0"==m… argument
2727erIcons.prototype.setCurrentState=function(a){"eastwest"!=a.style.portConstraint&&(this.graph.cont… argument
2728 Graph.prototype.createTable=function(a,b,d,e,c,f,k,h,g){d=null!=d?d:60;e=null!=e?e:40;f=null!=f?f:3… argument
2729 …dLayout=tableLayout;"),this.createParent(this.createVertex(null,null,"",0,0,b*d,e,h),this.createVe… argument
2730 Graph.prototype.createCrossFunctionalSwimlane=function(a,b,d,e,c,f,k,h,g){d=null!=d?d:120;e=null!=e… argument
2734 Graph.prototype.setTableRowHeight=function(a,b,d){d=null!=d?d:!0;var e=this.getModel();e.beginUpdat… argument
2736 Graph.prototype.setTableColumnWidth=function(a,b,d){d=null!=d?d:!1;var e=this.getModel(),c=e.getPar… argument
2738 …(a)||!this.graph.isCellVisible(a)};TableLayout.prototype.getSize=function(a,b){for(var d=0,e=0;e<a… argument
2739 TableLayout.prototype.getRowLayout=function(a,b){for(var d=this.graph.model.getChildCells(a,!0),e=t… argument
2740 TableLayout.prototype.layoutRow=function(a,b,d,e,c){var f=this.graph.getModel(),k=f.getChildCells(a… argument
2748 mxConstants.STYLE_DASHED,"0")&&a[1].setAttribute("stroke-dasharray",8*this.state.view.scale);var b=… argument
2749ents);this.graph.model.isEdge(a.cell)&&1!=a.style[mxConstants.STYLE_CURVED]&&this.updateLineJumps(… argument
2752 l[C].y)||c}m=b[b.length-1];c=e(0,m.x,m.y)||c}a.routedPoints=d;return c}return!1};var f=mxConnector.… argument
2755 …etFixedTerminalPoint;mxGraphView.prototype.getFixedTerminalPoint=function(a,b,c,d){return null!=b&… argument
2756 mxGraphView.prototype.updateFloatingTerminalPoint=function(a,b,c,d){if(null==b||null==a||"1"!=b.sty… argument
2757 …IMETER_SPACING:mxConstants.STYLE_TARGET_PERIMETER_SPACING]||0);e=this.getPerimeterPoint(b,e,0==g&&… argument
2758 …=g,d=k}}null!=c&&(e=c)}return e};var g=mxStencil.prototype.evaluateTextAttribute;mxStencil.prototy… argument
2764 mxStencilRegistry.loadStencilSet=function(a,b,d,e){var c=mxStencilRegistry.packages[a];if(null!=d&&… argument
2765 c.documentElement&&mxStencilRegistry.parseStencilSet(c.documentElement,b,f)}};mxStencilRegistry.loa… argument
2766 mxStencilRegistry.parseStencilSet=function(a,b,d){if("stencils"==a.nodeName)for(var e=a.firstChild;… argument
2768 …sName="geHint";a.style.whiteSpace="nowrap";a.style.position="absolute";return a}function b(a,b){sw… argument
2776 Graph.prototype.updateCellStyles=function(a,b,c){this.model.beginUpdate();try{for(var d=0;d<c.lengt… argument
2777 …decode(a,this.getStylesheet())};Graph.prototype.createCellLookup=function(a,b){b=null!=b?b:{};for(… argument
2778 "")}return c};Graph.prototype.importGraphModel=function(a,b,c,d){b=null!=b?b:0;c=null!=c?c:0;var e=… argument
2781 c);return f.encode(g)};Graph.prototype.isSwimlane=function(a,b){if(null!=a&&this.model.getParent(a)… argument
2782 !this.isTable(b))};var g=Graph.prototype.splitEdge;Graph.prototype.splitEdge=function(a,b,c,d,e,f,k… argument
2784 …n c};var l=Graph.prototype.selectCell;Graph.prototype.selectCell=function(a,b,c){if(b||c)l.apply(t… argument
2785 …ll!=e&&a&&f.length>e||!a&&0<e)return;for(var c=0;c<this.model.getChildCount(b);c++)g(this.model.ge… argument
2786 …ry(a[0]),null!=e&&null!=d)){c=e.clone();e=d.clone();e.x=c.x;e.y=c.y;c.x=d.x;c.y=d.y;this.model.beg… argument
2789 …a};var n=Graph.prototype.removeCells;Graph.prototype.removeCells=function(a,b){var c=[];this.model… argument
2790 …ldCount(f)?0>mxUtils.indexOf(a,f)&&0>mxUtils.indexOf(c,f)&&c.push(f):this.labelChanged(a[d],"")}el… argument
2791 null!=c?c:new Graph;for(var d=0;d<b.length;d++)null!=b[d]&&c.updateCustomLinksForCell(a,b[d],c)};Gr… argument
2794 …turn 0<c||this.isContainer(a)};Graph.prototype.isValidDropTarget=function(a,b,c){for(var d=this.ge… argument
2796 arguments);null!=b&&(b.width+=10,b.height+=4,this.gridEnabled&&(b.width=this.snap(b.width),b.height… argument
2801 "object"==typeof a.cell.value&&this.invalidateDescendantsWithPlaceholders(a.cell)};Graph.prototype.… argument
2802 b?b:"span"),d=Array.prototype.slice.call(a.attributes);attr=d.pop();)c.setAttribute(attr.nodeName,a… argument
2803 …erHTML=f;for(var g=d.getElementsByTagName(null!=c?c:"*"),k=0;k<g.length;k++)b(g[k]);d.innerHTML!=f… argument
2806 …s.isCellDeletable(a[c])&&this.isTransparentState(this.view.getState(a[c]))&&b.push(a[c]);a=b;mxGra… argument
2807 this.setAttributeForCell(a,c,b)};Graph.prototype.getAttributeForCell=function(a,b,c){a=null!=a.valu… argument
2808 Graph.prototype.getDropTarget=function(a,b,c,d){this.getModel();if(mxEvent.isAltDown(b))return null… argument
2809 …();this.firstClickSource=a.getSource()};Graph.prototype.dblClick=function(a,b){this.isEnabled()&&(… argument
2813 ….isMouseInsertPoint=function(){return!1};Graph.prototype.addText=function(a,b,c){var d=new mxCell;… argument
2815 e.x-(null!=c?c.origin.x:0),d.geometry.y=Math.round(b/this.view.scale)-e.y-(null!=c?c.origin.y:0),d.… argument
2817 g.getCellAt(a.getGraphX(),a.getGraphY(),null,null,null,function(a,b,c){return null==g.getLinkForCel… argument
2818 (g.container.style.cursor="move");this.updateCurrentState(b)},mouseMove:function(a,b){if(g.isMouseD… argument
2822 …seleave",function(a){k.clear()})};Graph.prototype.duplicateCells=function(a,b){a=null!=a?a:this.ge… argument
2823 if(null!=l){var m=this.moveCells([h[c]],e,e,!1)[0];f.push(m);if(b)d.add(l,h[c]);else{var n=l.getInd… argument
2826 function(a){var b=mxGraph.prototype.isCellResizable.apply(this,arguments),c=this.getCurrentCellStyl… argument
2827 …(d,k):k,e=null!=e?Math.min(e,k):k;c.push(g)}}if(2<c.length){c.sort(function(b,c){return a?b.x-c.x:… argument
2828 …l().setGeometry(c[f].cell,m))}}finally{this.getModel().endUpdate()}}}return b};Graph.prototype.isC… argument
2829 …idth,a.height));return b};Graph.prototype.getBackgroundImageObject=function(a){return a};Graph.pro… argument
2832 ba+"px");t.setAttribute("viewBox",(e?"-0.5 -0.5":"0 0")+" "+v+" "+ba);u.appendChild(t);var ea=null!… argument
2834 z.x)*b,(y.y+z.y)*b,y.width*b,y.height*b);mxUtils.intersects(W,x)&&w.image(y.x+z.x,y.y+z.y,y.width,y… argument
2835 …,this.sizeDidChange())}};Graph.prototype.addForeignObjectWarning=function(a,b){if("0"!=urlParams["… argument
2837 e.setAttributeNS(mxConstants.NS_XLINK,"target","_blank"));var f=a.createElement("text");f.setAttrib… argument
2839 …r.textarea.firstChild);return a};Graph.prototype.getParentByName=function(a,b,c){for(;null!=a&&a.n… argument
2840 function(a,b,c){for(;null!=a&&!(0<=mxUtils.indexOf(b,a.nodeName));){if(a==c)return null;a=a.parentN… argument
2842 c.push(k[d])}return c};Graph.prototype.insertTableColumn=function(a,b){var c=this.getModel();c.begi… argument
2844 function(a,b){var c=this.getModel();c.beginUpdate();try{var d=null,e=a;if("stackLayout"==this.getCu… argument
2848 Graph.prototype.insertRow=function(a,b){for(var c=a.tBodies[0],d=c.rows[0].cells,e=0,f=0;f<d.length… argument
2849 for(d=0;d<c.rows.length;d++)e=c.rows[d].insertCell(b),mxUtils.br(e);return c.rows[0].cells[0<=b?b:c… argument
2850 for(var d;d=c.firstChild;)lastNode=a.appendChild(d);b.insertNode(a)}}else(b=document.selection)&&"C… argument
2851 this.getAbsoluteUrl(a));d.setAttribute("title",c(this.isCustomLink(a)?this.getLinkTitle(a):a,80));n… argument
2852 function(a,b){this.popupMenuHandler.hideMenu()});var a=this.updateMouseEvent;this.updateMouseEvent=… argument
2853 "default");return b};var b=!1,c=!1,d=!1,e=this.fireMouseEvent;this.fireMouseEvent=function(a,f,g){a… argument
2854 (this.popupMenuHandler.popupTrigger||!d&&!f&&(c&&null==e.getCell()&&this.isSelectionEmpty()||b&&thi… argument
2856 c=b.getRangeAt(0),d="\t";if(null!=a)for(d="";0<a;)d+=" ",a--;a=document.createElement("span");a.sty… argument
2858 …indow.getSelection){sel=window.getSelection();sel.removeAllRanges();for(var b=0,c=a.length;b<c;++b… argument
2859 b){this.isKeepFocusEvent(a)||!mxEvent.isAltDown(a.getEvent())?v.apply(this,arguments):this.reset()}… argument
2861 function(a){function b(a,c){c.originalNode=a;a=a.firstChild;for(var d=c.firstChild;null!=a&&null!=d… function
2869 …ar x=mxCellEditor.prototype.resize;mxCellEditor.prototype.resize=function(a,b){if(null!=this.texta… argument
2872 …prototype.getInitialValue;mxCellEditor.prototype.getInitialValue=function(a,b){if("0"==mxUtils.get… argument
2874 …ellEditor.prototype.applyValue;mxCellEditor.prototype.applyValue=function(a,b){this.graph.getModel… argument
2876 0,null==a.text?30:a.text.size*b+20,30)};mxGraphHandlerIsValidDropTarget=mxGraphHandler.prototype.is… argument
2878 …ckLayout.prototype.resizeCell;mxStackLayout.prototype.resizeCell=function(a,b){H.apply(this,argume… argument
2881 …lePosition=function(){var a=this.getHandlePadding();return new mxPoint(this.bounds.x+this.bounds.w… argument
2887 g.shape.node.parentNode.firstChild);g.redraw=function(){if(null!=this.shape){var a=b.getActualStart… argument
2890 c.setPosition=function(a,b,c){h=Math.max(Graph.minTableRowHeight-a.height,b.y-a.y-a.height)};c.exec… argument
2892 [];for(b=0;b<a.getChildCount(this.state.cell);b++)mxUtils.bind(this,function(b){if(null!=b&&a.isVer… argument
2898 …dgeHandler.prototype.mouseMove;mxEdgeHandler.prototype.mouseMove=function(a,b){Z.apply(this,argume… argument
2899 function(a,b){O.apply(this,arguments);null!=this.linkHint&&"none"==this.linkHint.style.display&&(th… argument
2910 …getTolerance()};mxPanningHandler.prototype.isPanningTrigger=function(a){var b=a.getEvent();return … argument
2912 mxEvent.isShiftDown(a.getEvent())&&mxEvent.isAltDown(a.getEvent())};mxRubberband.prototype.cancelle… argument
2914 …mxRectangle(this.x,this.y,this.width,this.height),this.graph.selectRegion(f,b.getEvent());b.consum… argument
2918 mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChil… argument
2919 …apply(this,arguments)};mxEdgeHandler.prototype.createHandleShape=function(a,b){var c=null!=a&&0==a… argument
2921 mxVertexHandler.prototype.createSizerShape=function(a,b,c){this.handleImage=b==mxEvent.ROTATION_HAN… argument
2923 c=b.getParent(a.cell),d=this.graph.getCellGeometry(a.cell);return b.isEdge(c)&&null!=d&&d.relative&… argument
2925 …xHandler.prototype.mouseMove;mxVertexHandler.prototype.mouseMove=function(a,b){ta.apply(this,argum… argument
2926 "none"))};var ka=mxVertexHandler.prototype.mouseUp;mxVertexHandler.prototype.mouseUp=function(a,b){… argument
2928 this.cornerHandles.push(c)}}var d=mxUtils.bind(this,function(){null!=this.specialHandle&&(this.spec… argument
2929 this.changeHandler);this.editingHandler=mxUtils.bind(this,function(a,b){this.redrawHandles()});this… argument
2934 function(b,c){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell),this.graph.getLinksFor… argument
2942 …ion(){V.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.visibility="")};var qa=mxE… argument
2959 Format.doubleBlockFilledMarkerImage=Graph.createSvgImage(20,22,'<path transform="translate(4,2)" st… argument
2961 Format.prototype.init=function(){var a=this.editorUi,b=a.editor,d=b.graph;this.update=mxUtils.bind(… argument
2962 a.addListener("styleChanged",mxUtils.bind(this,function(a,b){this.refresh()}));b.addListener("autos… argument
2965 Format.prototype.updateSelectionStateForCell=function(a,b,d,e){d=this.editorUi.editor.graph;a.cells… argument
2974 "solid";e.style.display="inline-block";e.style.height="25px";e.style.overflow="hidden";e.style.widt… argument
2981 "none";g(p,d,l++,!0)}}};BaseFormatPanel=function(a,b,d){this.format=a;this.editorUi=b;this.containe… argument
2982 BaseFormatPanel.prototype.installInputHandler=function(a,b,d,e,c,f,k,h){f=null!=f?f:"";h=null!=h?h:… argument
2986 BaseFormatPanel.prototype.createStepper=function(a,b,d,e,c,f,k){d=null!=d?d:1;e=null!=e?e:9;var h=1… argument
2989 BaseFormatPanel.prototype.createOption=function(a,b,d,e,c){var f=document.createElement("div");f.st… argument
2991 BaseFormatPanel.prototype.createCellOption=function(a,b,d,e,c,f,k,h,g){var l=this.editorUi,m=l.edit… argument
2993 BaseFormatPanel.prototype.createColorOption=function(a,b,d,e,c,f,k,h){var g=document.createElement(… argument
2998 BaseFormatPanel.prototype.createCellColorOption=function(a,b,d,e,c,f){var k=this.editorUi,h=k.edito… argument
3000 BaseFormatPanel.prototype.addArrow=function(a,b){b=null!=b?b:10;var d=document.createElement("div")… argument
3003 BaseFormatPanel.prototype.addUnitInput=function(a,b,d,e,c,f,k,h,g){k=null!=k?k:0;b=document.createE… argument
3004 BaseFormatPanel.prototype.createRelativeOption=function(a,b,d,e,c){d=null!=d?d:52;var f=this.editor… argument
3007 BaseFormatPanel.prototype.addLabel=function(a,b,d,e){e=null!=e?e:61;var c=document.createElement("d… argument
3008 BaseFormatPanel.prototype.addKeyHandler=function(a,b){mxEvent.addListener(a,"keydown",mxUtils.bind(… argument
3010 …+)this.listeners[a].destroy();this.listeners=null}};ArrangePanel=function(a,b,d){BaseFormatPanel.c… argument
3037 a.style.paddingTop="10px");e.containsLabel||(c=mxResources.get("reverse"),0<e.vertices.length&&0<e.… argument
3047 h.style.fontWeight="bold";mxUtils.write(h,mxResources.get("position"));w.appendChild(h);var x=this.… argument
3051 ArrangePanel.prototype.addGeometryHandler=function(a,b){function d(d){if(""!=a.value){var k=parseFl… argument
3053 ArrangePanel.prototype.addEdgeGeometryHandler=function(a,b){function d(d){if(""!=a.value){var k=par… argument
3058 document.createElement("div");f.style.position="absolute";f.style.width="70px";f.style.marginTop="0… argument
3060 …"none",v.style.display="none")});l=this.addEdgeGeometryHandler(q,function(a,b){a.sourcePoint.x=b})… argument
3061 x()};TextFormatPanel=function(a,b,d){BaseFormatPanel.call(this,a,b,d);this.init()};mxUtils.extend(T… argument
3062 TextFormatPanel.prototype.addFont=function(a){function b(a,b){a.style.backgroundImage=b?Editor.isDa… function
3081 …function(a){if(window.getSelection&&!mxClient.IS_IE&&!mxClient.IS_IE11){var b=function(b,g){null!=… argument
3083 b(g);for(g=0;g<k.length;g++)b(k[g])}O.value=a+" pt"}else if(window.getSelection||document.selection… argument
3104 G=k}else a.appendChild(k),a.appendChild(this.createRelativeOption(mxResources.get("opacity"),mxCons… argument
3110 …t(function(){var a=e.getSelectedEditingElement();if(null!=a){var d=function(a,b){if(null!=a&&null!= argument
3111 b){if(a==b)return!0;if(a.length>b.length+1)return a.substring(a.length-b.length-1,a.length)=="-"+b}… argument
3115 function(a,b,c,d,e){return"#"+("0"+Number(b).toString(16)).substr(-2)+("0"+Number(c).toString(16)).… argument
3117 "keyup",f);this.listeners.push({destroy:function(){}});f()}return a};StyleFormatPanel=function(a,b,… argument
3123 StyleFormatPanel.prototype.addSvgRule=function(a,b,d,e,c,f,k){var h=this.editorUi.editor.graph;k.te… argument
3136 StyleFormatPanel.prototype.addStroke=function(a){function b(a){var b=parseFloat(t.value),b=Math.min… function
3141 function(a,b,c,d,e){a=this.editorUi.menus.styleChange(a,"",d,e,"geIcon",null);d=document.createElem… argument
3185 …s.length==f.cells.length&&a.appendChild(k);var Q=mxUtils.bind(this,function(b,c,d){function g(a,b,… argument
3201 ….appendChild(c);a.appendChild(e);var g=k,l=0,m=mxUtils.bind(this,function(a,b,c){a=this.createCell… argument
3203 …eOps=function(a){a.style.paddingTop="10px";a.style.paddingBottom="10px";var b=mxUtils.button(mxRes… argument
3208 …","strokeColor","fontColor","gradientColor"],u=mxUtils.bind(this,function(a,b){var c=d.getVertices… argument
3209 …ll!=g.labelBackgroundColor&&d.updateCellStyles("labelBackgroundColor",null!=b?b.background:null,[c… argument
3210 0;d<b.length;d++)if(null!=a[b[d]]&&a[b[d]]!=mxConstants.NONE||b[d]!=mxConstants.STYLE_FILLCOLOR&&b[… argument
3211 a[g]}}),n=mxUtils.button(mxResources.get("reset"),mxUtils.bind(this,function(a){a=d.getVerticesAndE… argument
3216 …Style.curved=k?"1":"0";e.beginUpdate();try{u(q,l);var p=new ChangePageSetup(b,null!=l?l.background… argument
3217 d.getCellStyle;b=d.background;var f=d.view.gridColor;d.background=null!=l?l.background:null;d.view.… argument
3220 …yle.height="6px";y.style.marginLeft="4px";y.style.marginRight="3px";y.style.borderRadius="3px";y.s… argument
3223 …Listener),this.darkModeChangedListener=null)};DiagramFormatPanel=function(a,b,d){BaseFormatPanel.c… argument
3231 DiagramFormatPanel.prototype.addGridOption=function(a){function b(a){var b=d.isFloatUnit()?parseFlo… function
3239 b.setAttribute("title",mxResources.get("clearDefaultStyle")+" ("+this.editorUi.actions.get("clearDe… function
3240 …unction z(){mxActor.call(this)}function E(){mxActor.call(this)}function H(a,b){this.canvas=a;this.… argument
3245 …Ga(){mxEllipse.call(this)}function Ha(){mxActor.call(this)}function ya(){mxActor.call(this)}functi… argument
3246 e-g,r.y-f-g,2*g,2*g);l?a.fillAndStroke():a.stroke()}}mxUtils.extend(a,mxSwimlane);a.prototype.getLa argument
3247 b,c,d,e)};a.prototype.paintForeground=function(a,b,c,d,e){if(null!=this.state){var r=this.flipH,f=t… argument
3250 c+g-f.height),a.moveTo(b+k.x+f.x,c+F.y),g=0);a.lineTo(b+k.x+f.x,c+e-f.height);a.end();a.stroke()}}}… argument
3253 e);mxUtils.extend(d,mxCylinder);d.prototype.size=6;d.prototype.paintVertexShape=function(a,b,c,d,e)… argument
3254 (e-b)/2+b/4);a.moveTo(0,.25*b);a.lineTo(.5*b,b*xa);a.lineTo(b,.25*b);a.lineTo(.5*b,(.5-xa)*b);a.lin… argument
3255 .75*b),a.lineTo(.5*b,(1-xa)*b),a.lineTo(0,.75*b),a.close());a.end()};mxCellRenderer.registerShape("… argument
3256 a.begin()),a.translate(0,-b);f||(a.moveTo(0,b),a.curveTo(0,-b/3,d,-b/3,d,b),a.lineTo(d,e-b),a.curve… argument
3258 r),a.end(),a.stroke())};mxCellRenderer.registerShape("note",k);mxUtils.extend(h,k);mxCellRenderer.r… argument
3259 "isoAngle",this.isoAngle))))*Math.PI/200,r=Math.min(d*Math.tan(r),.5*e);a.translate(b,c);a.begin();… argument
3261 15;m.prototype.paintVertexShape=function(a,b,c,d,e){var r=Math.max(0,Math.min(.5*e,parseFloat(mxUti… argument
3262 f&&(a.begin(),a.moveTo(d,r),a.arcTo(.5*d,r,0,0,1,.5*d,2*r),a.arcTo(.5*d,r,0,0,1,0,r),a.stroke()))};…
3263 p.prototype.paintVertexShape=function(a,b,c,d,e){a.translate(b,c);b=Math.max(0,Math.min(d,parseFloa… argument
3267 b))}return new mxRectangle(0,Math.min(a.height,b),0,0)}return null};mxUtils.extend(q,mxCylinder);q.… argument
3270 function(a,b,c,d,e){b=Math.max(0,Math.min(d,Math.min(e,parseFloat(mxUtils.getValue(this.style,"size… argument
3272 d,new mxRectangle(a.x,a.y+b,c,d-2*b);b*=c;return new mxRectangle(a.x+b,a.y,c-2*b,d)}return a};mxCel… argument
3273 0);a.lineTo(d,0);a.lineTo(d,e-b/2);a.quadTo(3*d/4,e-1.4*b,d/2,e-b/2);a.quadTo(d/4,e-b*(1-1.4),0,e-b… argument
3277 !1)){var b=mxUtils.getValue(this.style,"size",15);return new mxRectangle(0,Math.min(a.height*this.s… argument
3278 …ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,e),new mxPoint(b,0),new mxPoin… argument
3279eFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):d*Math.max(0,Math.min(.5,parseFloat(m… argument
3280 b=d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c=mxUtils.get… argument
3281 b=d/5;a.rect(0,0,b,e);a.fillAndStroke();a.rect(2*b,0,b,e);a.fillAndStroke();a.rect(4*b,0,b,e);a.fil… argument
3282 …adTo=function(a,b,c,d){this.originalQuadTo.apply(this.canvas,arguments);this.lastX=c;this.lastY=d}… argument
3286ectangleShape.prototype.isHtmlAllowed=function(){return!this.outline&&(null==this.style||"0"==mxUt… argument
3290 C.prototype.paintForeground=function(a,b,c,d,e){var r=mxUtils.getValue(this.style,"fixedSize",this.… argument
3291 …xUtils.extend(G,mxRectangleShape);G.prototype.paintBackground=function(a,b,c,d,e){a.setFillColor(m… argument
3292 …otype.isRoundable=function(){return!0};y.prototype.redrawPath=function(a,b,c,d,e){b=mxUtils.getVal… argument
3293 …oat(mxUtils.getValue(this.style,"base",this.base))));this.addPoints(a,[new mxPoint(0,0),new mxPoin… argument
3295 …otype.isRoundable=function(){return!0};L.prototype.redrawPath=function(a,b,c,d,e){b="0"!=mxUtils.g… argument
3296 0),new mxPoint(d-b,0),new mxPoint(d,.5*e),new mxPoint(d-b,e),new mxPoint(b,e),new mxPoint(0,.5*e)],… argument
3297 …);var Ua=mxRhombus.prototype.paintVertexShape;mxRhombus.prototype.getLabelBounds=function(a){if(1=… argument
3298 0);b+=f;c+=f;d-=2*f;e-=2*f;0<d&&0<e&&(a.setShadow(!1),Ua.apply(this,[a,b,c,d,e]))}};mxUtils.extend(… argument
3301 R);mxUtils.extend(K,mxCylinder);K.prototype.redrawPath=function(a,b,c,d,e,f){f?(a.moveTo(0,0),a.lin… argument
3302e/3);a.lineTo(0,e);a.moveTo(d/2,2*e/3);a.lineTo(d,e);a.end();a.stroke()};mxCellRenderer.registerSh… argument
3303 X);mxUtils.extend(Z,mxEllipse);Z.prototype.paintVertexShape=function(a,b,c,d,e){mxEllipse.prototype… argument
3304 …a.height/8,a.width,7*a.height/8)};S.prototype.paintBackground=function(a,b,c,d,e){a.translate(b,c)… argument
3305 40;Q.prototype.isHtmlAllowed=function(){return!1};Q.prototype.getLabelBounds=function(a){var b=Math… argument
3306b,c,d,f),a.restore()));f<e&&(a.setDashed("1"==mxUtils.getValue(this.style,"lifelineDashed","1")),a… argument
3307ellRenderer.registerShape("umlLifeline",Q);mxUtils.extend(U,mxShape);U.prototype.width=60;U.protot… argument
3309 a.moveTo(b,c);a.lineTo(b+r,c);a.lineTo(b+r,c+Math.max(0,g-1.5*f));a.lineTo(b+Math.max(0,r-f),c+g);a… argument
3310 c,d){d=Q.prototype.size;null!=b&&(d=mxUtils.getValue(b.style,"size",d)*b.view.scale);b=parseFloat(b… argument
3311 mxPerimeter.OrthogonalPerimeter);mxPerimeter.BackbonePerimeter=function(a,b,c,d){d=parseFloat(b.sty… argument
3312 …ter",mxPerimeter.BackbonePerimeter);mxPerimeter.CalloutPerimeter=function(a,b,c,d){return mxPerime… argument
3314 …Perimeter.ParallelogramPerimeter);mxPerimeter.TrapezoidPerimeter=function(a,b,c,d){var e="0"!=mxUt… argument
3317 …meter",mxPerimeter.TrapezoidPerimeter);mxPerimeter.StepPerimeter=function(a,b,c,d){var e="0"!=mxUt… argument
3320 …imeter",mxPerimeter.StepPerimeter);mxPerimeter.HexagonPerimeter2=function(a,b,c,d){var e="0"!=mxUt… argument
3322eturn mxUtils.getPerimeterPoint(g,l,c)};mxStyleRegistry.putValue("hexagonPerimeter2",mxPerimeter.H… argument
3323 mxShape);ja.prototype.size=10;ja.prototype.inset=2;ja.prototype.paintBackground=function(a,b,c,d,e)… argument
3324 mxShape);ma.prototype.paintBackground=function(a,b,c,d,e){a.translate(b,c);a.begin();a.moveTo(0,0);… argument
3325 e,d/2,e);a.end();a.stroke()};mxCellRenderer.registerShape("providedRequiredInterface",na);mxUtils.e… argument
3326 k),a.lineTo(g,k),a.lineTo(g,k+b),a.lineTo(c,k+b)):(a.moveTo(c,0),a.lineTo(d,0),a.lineTo(d,e),a.line… argument
3328 function(a,b,c,d,e){var f=d/2,g=e/2,r=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConst… argument
3331 function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewid… argument
3332e)],this.isRounded,c,!0);a.end()};mxCellRenderer.registerShape("manualInput",ha);mxUtils.extend(aa… argument
3333 …x",this.dx))));f=Math.max(f,Math.min(e,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));a.b… argument
3334e,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"… argument
3335e){a.moveTo(0,0);a.lineTo(0,e);a.end();a.moveTo(d,0);a.lineTo(d,e);a.end();a.moveTo(0,e/2);a.lineT… argument
3336 …mxPoint(0,0),new mxPoint(d,0),new mxPoint(d,c),new mxPoint((d+b)/2,c),new mxPoint((d+b)/2,e),new m… argument
3337 this.arrowWidth))));b=d*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",th… argument
3339 f),new mxPoint(b,e)],this.isRounded,g,!0);a.end()};mxCellRenderer.registerShape("doubleArrow",qa);m… argument
3340 a.quadTo(b-2*b,e/2,b,0);a.close();a.end()};mxCellRenderer.registerShape("dataStorage",J);mxUtils.ex… argument
3341 20;ba.prototype.isRoundable=function(){return!0};ba.prototype.redrawPath=function(a,b,c,d,e){b=Math… argument
3342 .375;ea.prototype.isRoundable=function(){return!0};ea.prototype.redrawPath=function(a,b,c,d,e){b=e*… argument
3343 function(a,b,c,d,e){mxEllipse.prototype.paintVertexShape.apply(this,arguments);a.begin();a.moveTo(b… argument
3344 Aa);mxUtils.extend(Ea,mxEllipse);Ea.prototype.paintVertexShape=function(a,b,c,d,e){mxEllipse.protot… argument
3345 arguments);a.setShadow(!1);a.begin();a.moveTo(b,c+e/2);a.lineTo(b+d,c+e/2);a.end();a.stroke()};mxCe… argument
3346 function(a,b,c,d,e){var f=c+e-5;a.begin();a.moveTo(b,c);a.lineTo(b,c+e);a.moveTo(b,f);a.lineTo(b+10… argument
3348 c+e);(this.outline||"1"==mxUtils.getValue(this.style,"left","1"))&&a.lineTo(b,c);a.end();a.stroke()… argument
3349 Ga);mxUtils.extend(Ha,mxActor);Ha.prototype.redrawPath=function(a,b,c,d,e){b=Math.min(d,e/2);a.move… argument
3350 0);a.lineTo(f,0);a.lineTo(f,b);a.lineTo(d,b);a.lineTo(d,c);a.lineTo(f,c);a.lineTo(f,e);a.lineTo(g,e… argument
3356 function(a,b,c,d,e){a.translate(b,c);this.strictDrawShape(a,0,0,d,e)};N.prototype.strictDrawShape=f… argument
3383 q),f.paintLeftInner(a,b,c,d,e,g,v,h,l,B,q),a.close(),a.fillAndStroke());a.begin();f.paintFolds(a,b,… argument
3384 function(a,b,c,d,e,f,g,h,k){"square"==g||"default"==g&&"square"==f||!k?a.moveTo(0,e):a.moveTo(h,e)}… argument
3385 g&&"square"==f||!k?a.lineTo(d,0):a.lineTo(d-h,0)};N.prototype.paintNE=function(a,b,c,d,e,f,g,h,k){i… argument
3386 N.prototype.paintLeft=function(a,b,c,d,e,f,g,h,k){"square"==g||"default"==g&&"square"==f||!k?a.line… argument
3387 …uare"==g||"default"==g&&"square"==f||!k?a.lineTo(0,e):a.lineTo(h,e)};N.prototype.paintSW=function(… argument
3388else if("invRound"==g||"default"==g&&"invRound"==f)a.arcTo(h+k,h+k,0,0,1,k,k+h);else if("snip"==g|… argument
3389 .5*k,k):a.lineTo(h+k,k):a.lineTo(0,k):a.lineTo(0,0)};N.prototype.paintNEInner=function(a,b,c,d,e,f,… argument
3390eTo(d,k):l?"square"==g||"default"==g&&"square"==f?a.lineTo(d-k,k):"rounded"==g||"default"==g&&"rou… argument
3391 h-k):a.lineTo(k,e):a.lineTo(0,e)};N.prototype.paintSEInner=function(a,b,c,d,e,f,g,h,k){if("rounded"… argument
3392e):"square"==g||"default"==g&&"square"==f||!l?a.lineTo(d-k,e-k):"rounded"==g||"default"==g&&"round… argument
3393e-k);else if("snip"==g||"default"==g&&"snip"==f)a.lineTo(h+.5*k,e-k);else if("fold"==g||"default"=… argument
3394 function(a,b,c,d,e,f,g,h,k,l){l?"square"==g||"default"==g&&"square"==f?a.lineTo(k,e-k):"rounded"==g… argument
3395e-h-.5*k):("invRound"==g||"default"==g&&"invRound"==f||"fold"==g||"default"==g&&"fold"==f)&&a.move… argument
3396e,f,g,h,k,l){l?"square"==g||"default"==g&&"square"==f||l?a.moveTo(d-k,k):"rounded"==g||"default"==… argument
3397 …=f)&&a.lineTo(d-k,h+k):a.lineTo(d,k)};N.prototype.moveNWInner=function(a,b,c,d,e,f,g,h,k,l,m){l||m… argument
3398e,f,g,h,k,l,m){l||m?!l&&m?a.lineTo(k,0):l&&!m?a.lineTo(0,k):"square"==g||"default"==g&&"square"==f… argument
3400 function(a,b,c){for(var d=[],e=0;e<b.length;e++)d.push(mxUtils.clone(b[e]));var e=a.state.dashed,f=… argument
3401 StyleFormatPanel.prototype.getCustomColors=function(){var b=this.format.getSelectionState(),c=a.app… argument
3402 e*(g+k+1),r=f*(g+k+1),n=d.x+m/2,p=d.y+r/2;d.x-=m;d.y-=r;return function(){a.begin();a.moveTo(n-m/2-… argument
3403 …Marker.addMarker("circle",Ra);mxMarker.addMarker("circlePlus",function(a,b,c,d,e,f,g,h,k,l){var m=… argument
3404 …r,d.y-m,n.x+r,n.y-m);a.stroke()}});mxMarker.addMarker("async",function(a,b,c,d,e,f,g,h,k,l){b=e*k*… argument
3405 e,f,g,h,k,l,m){f*=h+l;g*=h+l;var r=e.clone();return function(){b.begin();b.moveTo(r.x,r.y);k?b.line… argument
3406 function(a,b,c,d,e){return T(a,b,function(b){var e=a.absolutePoints,f=e.length-1;b=a.view.translate… argument
3407 ["arrowWidth","arrowSize"],function(b){var c=Math.max(0,Math.min(1,mxUtils.getValue(this.state.styl… argument
3408 ["size"],function(b){var c=Math.max(0,Math.min(.5*b.height,parseFloat(mxUtils.getValue(this.state.s… argument
3409 c.x-b.x),Math.min(b.height,c.y-b.y)))/a)},!1)];c&&mxUtils.getValue(d.style,mxConstants.STYLE_ROUNDE… argument
3410 "fixedSize","0")?b.x-a.x:Math.max(0,Math.min(c,(b.x-a.x)/a.width));this.state.style.size=a},!1,d)];… argument
3411 function(b,d){var e=null!=c&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?d.x-b.x:Math.m… argument
3412 …th.max(c.width/2,c.height/2),Math.min(c.width,c.height)*e),c.y+d)},function(b,c,d){"1"==mxUtils.ge… argument
3413 this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.max(0,Math.min(b.width,2*(b.x+b.width-c… argument
3414ed=function(){k.apply(this,arguments);a.view.invalidate(this.state.cell);a.view.validate()}}return… argument
3415 mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*a.view.scale;return new mxPoint(e.x+c*(f+a.sh… argument
3416e[mxConstants.STYLE_STARTSIZE]);mxEvent.isAltDown(k.getEvent())||Math.abs(parseFloat(a.style[mxCon… argument
3417 5)*a.view.scale;return new mxPoint(e.x+c*(f+a.shape.strokewidth*a.view.scale)+d*b/2,e.y+d*(f+a.shap… argument
3419 ["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(b,c,d,e,f){b=(a.shape.g… argument
3421 !1,function(b,c,d,e,f){b=(a.shape.getEndArrowWidth()-a.shape.strokewidth)*a.view.scale;f=3*mxUtils.… argument
3423 parseFloat(a.style.startWidth))<b&&(a.style.endWidth=a.style.startWidth))})));return c},swimlane:fu… argument
3424 1)?new mxPoint(b.getCenterX(),b.y+Math.max(0,Math.min(b.height,c))):new mxPoint(b.x+Math.max(0,Math… argument
3426 return new mxPoint(a.getCenterX(),a.y+b)},function(a,b){this.state.style.size=Math.round(Math.max(0… argument
3428 a.width,b.x-a.x)):Math.max(0,Math.min(.5,(b.x-a.x)/a.width));this.state.style.size=c},!1)];mxUtils.… argument
3429 a.getCenterY()-b.y)/c*2,Math.max(0,a.getCenterX()-b.x)/c*2)))})]},note:function(a){return[T(a,["siz… argument
3430 …his.state.style,"size",h.prototype.size)))));return new mxPoint(a.x+a.width-b,a.y+b)},function(a,b… argument
3431 Math.round(Math.max(0,Math.min(a.height,4*(b.y-a.y)/3)))},!1)];mxUtils.getValue(a.style,mxConstants… argument
3436 Math.min(a.height,b.y-a.y)))},!1)];mxUtils.getValue(a.style,mxConstants.STYLE_ROUNDED,!1)&&b.push(r… argument
3437 Math.min(a.width,b.x-a.x)));this.state.style.jettyHeight=Math.round(Math.max(0,Math.min(a.height,b.… argument
3438 Math.min(a.height,b.y-a.y)))},!1)]},tee:function(a){return[T(a,["dx","dy"],function(a){var b=Math.m… argument
3439 doubleArrow:ua(.5),folder:function(a){return[T(a,["tabWidth","tabHeight"],function(a){var b=Math.ma… argument
3440 "tabPosition",p.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(c=a.width-c);this.state.style.tab… argument
3441 !1)]},tape:function(a){return[T(a,["size"],function(a){var b=Math.max(0,Math.min(1,parseFloat(mxUti… argument
3442 Math.tan(b),.5*a.height))},function(a,b){this.state.style.isoAngle=Math.max(0,50*(b.y-a.y)/a.height… argument
3443 [Graph.createHandle(a,["size"],function(a){var b=Math.max(0,Math.min(a.width/2,a.height/2,parseFloa… argument
3447 …(La,Math.cos(ua),Math.sin(ua));mxEdgeStyle.IsometricConnector=function(a,b,c,d,e){var f=a.view;d=n… argument
3448 "horizontal");if(null!=g&&null!=h){a=function(a,b,c){a-=p.x;var d=b-p.y;b=(n*a-m*d)/(k*n-l*m);a=(l*… argument
3449 Graph.prototype.createEdgeHandler=function(a,b){if(b==mxEdgeStyle.IsometricConnector){var c=new mxE… argument
3450 0),!1,null,b+d,c+.25*d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b+d,c+.75*d));a… argument
3451 a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b,d));a.push(new mxConnectionConstraint(… argument
3457 …xRectangleShape.prototype.constraints;k.prototype.getConstraints=function(a,b,c){a=[];var d=Math.m… argument
3458 0),!1,null,b,d));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b,.5*(c+d)));a.push(new… argument
3460 … mxPoint(1,1),!1));a.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));b>=2*d&&a.push(new mxC… argument
3462 …t(0,0),!1,null,0,.5*(c-d)));return a};m.prototype.getConstraints=function(a,b,c){a=[];b=Math.max(0… argument
3464 null,0,c-b-.5*(.5*c-b)));a.push(new mxConnectionConstraint(new mxPoint(.145,0),!1,null,0,.29*b));a.… argument
3469 mxRectangleShape.prototype.constraints;za.prototype.getConstraints=function(a,b,c){a=[];var d=Math.… argument
3470 .5),!1,null));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,b-d,c));a.push(new mxConne… argument
3485 …];mxArrow.prototype.constraints=null;ia.prototype.getConstraints=function(a,b,c){a=[];var d=Math.m… argument
3487 0),!1,null,.5*(b-d),c));a.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(b-d),.5*(c+e… argument
3490 …ctionConstraint(new mxPoint(1,1),!1)];V.prototype.getConstraints=function(a,b,c){a=[];var d=c*Math… argument
3492 0),!1,null,0,c-d));return a};qa.prototype.getConstraints=function(a,b,c){a=[];var d=c*Math.max(0,Ma… argument
3493 0),!1,null,b-e,0));a.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));a.push(new mxConnection… argument
3499 …bleCells(c.getSelectionCells()),a);null!=a&&c.setSelectionCells(a)}function b(){if(!c.isSelectionE… function
3501 …dow.openNew=!1;window.openKey="import";window.openFile=new OpenFile(mxUtils.bind(this,function(){d… argument
3505 …paste",Editor.ctrlKey+"+V");this.addAction("pasteHere",function(a){function b(a){if(null!=a){for(v… function
3506 d-g)),c.cellsMoved(a,b-e.x,d-e.y))}}function e(){c.getModel().beginUpdate();try{b(mxClipboard.paste… function
3508bled()&&null!=a&&(a=a.cloneValue(),null==a||isNaN(a.nodeType)||(d.copiedValue=a))},null,null,"Alt+… argument
3510 …ion("deleteAll",function(){a(!0)});this.addAction("deleteLabels",function(){b()},null,null,Editor.… argument
3517 … a=c.getSelectionCell();if(c.isEnabled()&&null!=a&&c.isCellEditable(a)){var b="";if(mxUtils.isNode… argument
3518 b)});d.showDialog(b.container,320,200,!0,!0);b.init()}},null,null,"Alt+Shift+T");this.addAction("op… argument
3519 …t("insertImage",new Action(mxResources.get("image")+"...",function(){c.isEnabled()&&!c.isCellLocke… argument
3538 "/help"+a+".html")});var h=!1;this.put("about",new Action(mxResources.get("about")+" Graph Editor..… argument
3548 …var a=c.getEditableCells(c.getSelectionCells());if(null!=a&&0<a.length){var b=c.getModel(),b=new T… argument
3550 …andler.triggerX/f-h));f=Math.round(c.snap(c.popupMenuHandler.triggerY/f-d));b.addPointAt(b.state,h… argument
3553 var f=c.cellEditor.saveSelection();d.showImageDialog(a,e,function(a,b,d){if(c.cellEditor.isContentE… argument
3559 Actions.prototype.addAction=function(a,b,d,e,c){var f;"..."==a.substring(a.length-3)?(a=a.substring… argument
3561 Menus.prototype.init=function(){var a=this.editorUi,b=a.editor.graph,d=mxUtils.bind(b,b.isEnabled);… argument
3563 mxResources.get("custom")+"...","",mxConstants.DEFAULT_FONTFAMILY,mxConstants.STYLE_FONTFAMILY,c,!0… argument
3566 …Of(e,this.defaultFontSize)&&(e.push(this.defaultFontSize),e.sort(function(a,b){return a-b}));for(v… argument
3577 …new Menu(mxUtils.bind(this,function(a,c){var d=mxUtils.bind(this,function(a,b){var c=new FilenameD… argument
3583 b.getSelectionCell();if(null==c||0==b.getModel().getChildCount(c))c=b.getDefaultParent();a.execute(… argument
3584 a,b);this.addMenuItems(a,["turn","-"],b);this.addSubmenu("align",a,b);this.addSubmenu("distribute",… argument
3585 …mat?["formatPanel"]:[]).concat("outline layers - pageView pageScale - scrollbars tooltips - grid g… argument
3586 [.25,.5,.75,1,1.25,1.5,2,3,4],e=0;e<d.length;e++)(function(d){a.addItem(100*d+"%",null,function(){b argument
3587 this.put("extras",new Menu(mxUtils.bind(this,function(a,b){this.addMenuItems(a,["copyConnect","coll… argument
3588 Menus.prototype.addSubmenu=function(a,b,d,e){var c=this.get(a);null!=c&&(c=c.isEnabled(),b.showDisa… argument
3589 Menus.prototype.addInsertTableCellItem=function(a,b){var d=this.editorUi.editor.graph,e=d.getSelect… argument
3595 Menus.prototype.addInsertTableItem=function(a,b,d,e){function c(a,b){for(var c=["<table>"],d=0;d<a;… argument
3596 …=0;c<e.cells.length;c++)f=e.cells[c],d==h.sectionRowIndex&&c==g.cellIndex&&(b="blue"==f.style.back… argument
3600 …hild(n),mxUtils.br(a.firstChild),mxUtils.br(a.firstChild));var p=function(a,b){var c=document.crea… argument
3602 Menus.prototype.edgeStyleChange=function(a,b,d,e,c,f,k,h){return this.showIconOnly(a.addItem(b,h,mx… argument
3604 Menus.prototype.styleChange=function(a,b,d,e,c,f,k,h,g){var l=this.createStyleChangeFunction(d,e);a… argument
3605 Menus.prototype.createStyleChangeFunction=function(a,b){return mxUtils.bind(this,function(d){var e=… argument
3607 Menus.prototype.promptChange=function(a,b,d,e,c,f,k,h,g,l){return a.addItem(b,null,mxUtils.bind(thi… argument
3609 Menus.prototype.pickColor=function(a,b,d){var e=this.editorUi,c=e.editor.graph,f=226+17*(Math.ceil(… argument
3611 …0,f,!0,!0);this.colorDialog.init()}};Menus.prototype.toggleStyle=function(a,b){var d=this.editorUi… argument
3612 Menus.prototype.addMenuItem=function(a,b,d,e,c,f){var k=this.editorUi.actions.get(b);return null!=k… argument
3613 Menus.prototype.addShortcut=function(a,b){if(null!=b.shortcut){var d=a.firstChild.nextSibling.nextS… argument
3614 Menus.prototype.createPopupMenu=function(a,b,d){a.smartSeparators=!0;this.addPopupMenuHistoryItems(… argument
3615 Menus.prototype.addPopupMenuEditItems=function(a,b,d){this.editorUi.editor.graph.isSelectionEmpty()… argument
3616 Menus.prototype.addPopupMenuArrangeItems=function(a,b,d){var e=this.editorUi.editor.graph;0<e.getEd… argument
3618 Menus.prototype.addPopupMenuCellItems=function(a,b,d){var e=this.editorUi.editor.graph,c=e.view.get… argument
3621 Menus.prototype.addPopupMenuCellEditItems=function(a,b,d,e){var c=this.editorUi.editor.graph.view.g… argument
3622 Menus.prototype.addPopupMenuSelectionItems=function(a,b,d){this.editorUi.editor.graph.isSelectionEm… argument
3623 Menus.prototype.menuCreated=function(a,b,d){null!=b&&(d=null!=d?d:"geItem",a.addListener("stateChan… argument
3624 Menubar.prototype.addMenu=function(a,b,d){var e=document.createElement("a");e.className="geItem";mx… argument
3625 Menubar.prototype.addMenuHandler=function(a,b){if(null!=b){var d=!0,e=mxUtils.bind(this,function(c)… argument
3626 …t.consume(c)});mxEvent.addListener(a,"mousemove",mxUtils.bind(this,function(b){null!=this.editorUi… argument
3627 function Menu(a,b){mxEventSource.call(this);this.funct=a;this.enabled=null!=b?b:!0}mxUtils.extend(M… argument
3644 Toolbar.prototype.addDropDownArrow=function(a,b,d,e,c,f,k,h){c=EditorUi.compactUi?c:h;a.style.white… argument
3664 null,mxUtils.bind(this,function(){try{b.deleteRow(f,e.sectionRowIndex)}catch(m){this.editorUi.handl… argument
3665 function(a){null==a||a==mxConstants.NONE?(f.removeAttribute("border"),f.style.border="",f.style.bor… argument
3669 (c.getElementsByTagName("img")[0].style.left="22px",c.getElementsByTagName("img")[0].style.top="5px… argument
3670 Toolbar.prototype.addMenuFunction=function(a,b,d,e,c,f){return this.addMenuFunctionInContainer(null… argument
3671 Toolbar.prototype.addItems=function(a,b,d){for(var e=[],c=0;c<a.length;c++){var f=a[c];"-"==f?e.pus… argument
3672 Toolbar.prototype.addButton=function(a,b,d,e){a=this.createButton(a);e=null!=e?e:this.container;thi… argument
3673 Toolbar.prototype.addClickHandler=function(a,b){null!=b&&(mxEvent.addListener(a,"click",function(d)… argument
3674 Toolbar.prototype.createLabel=function(a,b){var d=document.createElement("a");d.className="geLabel"… argument
3675 Toolbar.prototype.addMenuHandler=function(a,b,d,e){if(null!=d){var c=this.editorUi.editor.graph,f=n… argument
3676 f.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(f,arguments);this.edit… argument
3677 Toolbar.prototype.destroy=function(){null!=this.gestureHandler&&(mxEvent.removeGestureListeners(doc… argument
3679 …){mxClient.IS_TOUCH||k.focus()};var g=new mxJSColor.color(k);g.pickerOnfocus=!1;g.showPicker();d=d… argument
3684 p.style.textAlign="right";p.style.whiteSpace="nowrap";var q=mxUtils.button(mxResources.get("cancel"… argument
3687 ColorDialog.addRecentColor=function(a,b){null!=a&&(mxUtils.remove(a,ColorDialog.recentColors),Color… argument
3689 "http://www.jgraph.com/");d.setAttribute("target","_blank");mxUtils.write(d,"www.jgraph.com");b.app… argument
3691 …14px";v.style.whiteSpace="nowrap";v.setAttribute("align","right");null!=p&&(b=mxUtils.button(mxRes… argument
3694 !1),d.addEventListener("drop",function(b){b.stopPropagation();b.preventDefault();if(0<b.dataTransfe… argument
3698 var ExportDialog=function(a){function b(){var a=m.value,b=a.lastIndexOf(".");m.value=0<b?a.substrin… function
3714 ExportDialog.exportFile=function(a,b,d,e,c,f,k,h){h=a.editor.graph;if("xml"==d)ExportDialog.saveLoc… argument
3716 ExportDialog.saveLocalFile=function(a,b,d,e){b.length<MAX_REQUEST_SIZE?(a.hideDialog(),(new mxXmlRe… argument
3717 var EditDataDialog=function(a,b){function d(){0<z.value.length?E.removeAttribute("disabled"):E.setA… argument
3718 …ll!=EditDataDialog.getDisplayIdForCell?EditDataDialog.getDisplayIdForCell(a,b):null,v=function(a,b… argument
3719 …"absolute";d.style.top="4px";d.style.right="0px";d.style.margin="0px";d.style.width="9px";d.style.… argument
3720 2);p[a].style.width="100%";0<c.indexOf("\n")&&p[a].setAttribute("rows","2");v(p[a],b);null!=h[b]&&0… argument
3729 EditDataDialog.getDisplayIdForCell=function(a,b){var d=null;null!=a.editor.graph.getModel().getPare… argument
3730 var LinkDialog=function(a,b,d,e){var c=document.createElement("div");mxUtils.write(c,mxResources.ge… argument
3732 mxEvent.addListener(b,"click",function(){k.value="";k.focus()});f.appendChild(k);f.appendChild(b);c… argument
3733 b.className="geBtn";a.editor.cancelFirst&&f.appendChild(b);d=mxUtils.button(d,function(){a.hideDial… argument
3734 new mxRectangle(0,0,80,80);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window… argument
3736 mxUtils.bind(this,function(){h.setSuspended(!0)}));this.window.addListener(mxEvent.NORMALIZE,mxUtil… argument
3737 null!=b){var c=g.convertValueToString(b),c=new FilenameDialog(a,c||mxResources.get("background"),mx… argument
3739 mxEvent.addListener(e,"dragover",function(b){b.dataTransfer.dropEffect="move";q=a;b.stopPropagation… argument
3744 …14px",h.style.fontSize="14px",h.style.margin="0px",h.style.marginTop="-1px",b.appendChild(h),mxEve… argument
3745 h.style.fontSize="14px",h.style.margin="0px",h.style.marginTop="-1px",b.appendChild(h),mxEvent.addL… argument
3751 new mxCell),g.setDefaultParent(null)):0<b&&b<=g.model.getChildCount(g.model.root)?g.setDefaultParen… argument
3752 !g.isSelectionEmpty()){var c=mxUtils.getOffset(z);a.showPopupMenu(mxUtils.bind(this,function(a,b){f… argument
3753 var E=w.cloneNode(!1);E.setAttribute("title",mxResources.get("editData"));m=m.cloneNode(!1);m.setAt… argument
3757 …his.window.fit()}));this.refreshLayers=h;this.window.setLocation=function(a,b){var c=window.innerH… argument
3775 libs:["archimate"]},{id:"webicons",libs:["webicons","weblogos"]},{id:"sysml",prefix:"sysml",libs:Si… argument
3778 …unction(a){this.showPalette(a)};Sidebar.prototype.showPalettes=function(a,c,b){for(var d=0;d<c.len… argument
3780 this.customEntries[c],d=0;d<b.entries.length;d++){var e=b.entries[d];if(e.id==a){if(null!=e.libs&&0… argument
3791 image:IMAGE_PATH+"/sidebar-webIcons.png"},{title:mxResources.get("signs"),id:"signs",image:IMAGE_PA… argument
3797 a[c].split("\t");if(1<b.length){var d=b[0].toLowerCase().replace(" ","_"),b=mxUtils.trim(b.slice(1,… argument
3802 …id+"."+v,this.editorUi.getResource(a.title),!1,mxUtils.bind(this,function(c,b){var d=mxUtils.bind(… argument
3803 this.editorUi.editor.isCorsEnabledForUrl(e)||(e=PROXY_URL+"?url="+encodeURIComponent(e));this.edito… argument
3815 …();this.addWebIconsPalette();this.addWebLogosPalette();this.addSignsPalette(b,c);this.showEntries(… argument
3816 mxUtils.bind(this,function(c,b,e,f,g){if(null!=this.createdSearchIndex&&null==l||0>mxUtils.indexOf(… argument
3817 function(a,b){c.push(mxUtils.bind(this,function(){return this.createVertexTemplate("shape=image;htm… argument
3818 function(c,e,g,h){!this.editorUi.isOffline()&&c.length<=b/4?(g=d-Math.ceil((e-b/4)/b),mxUtils.get(I… argument
3819 … d=Sidebar.prototype.itemClicked;Sidebar.prototype.itemClicked=function(a,c,b){var e=this.editorUi… argument
3855 48,50,"","Writer",!1,null,this.getTagsForStencil("ms active directory ","writer","ibm").join(" ")),… argument
3867 "allied telesis",this,"points=[];aspect=fixed;html=1;align=center;shadow=0;dashed=0;image;image=img… argument
3870 …}))};Sidebar.prototype.addAlliedTelesisComputerTerminalsPalette=function(a,b,e,c){c+="computer_and… argument
3875 this.addPalette("allied_telesisComputer and Terminals","Allied Telesis / Computer and Terminals",!1… argument
3877 "media converter standalone",b).join(" ")),this.createVertexTemplateEntry(c+"Media_Converter_Standa… argument
3880 a,"","Surveillance Camera Ceiling",!1,null,this.getTagsForStencil("security","surveillance camera c… argument
3883 "datacenter server storage unit large",b).join(" "))];this.addPalette("allied_telesisStorage","Alli… argument
3889 …g;",1.3*a,.88*a,"","Switch 52 port L3",!1,null,this.getTagsForStencil("switch","switch 52 port l3"… argument
3999 null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate application layer data object")… argument
4011 null,null,this.getTagsForStencil("mxgraph.archimate3","","archimate business layer representation")… argument
4012 …himate3Composite","Archimate 3.0 / Composite",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
4016 …Archimate 3.0 / Implementation and Migration",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
4023 function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addArchimate3Ph… argument
4026 function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addArchimate3Re… argument
4035 …rchimate3Strategy","Archimate 3.0 / Strategy",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
4048 …mate3Technology","Archimate 3.0 / Technology",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
4062 …ddPalette("arrows2",mxResources.get("arrows"),!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
4506 this.addAWS4SecurityIdentityCompliancePalette(1,100,100,78,"mxgraph.aws4",this);this.setCurrentSear… argument
4511 100*a,0*a,"","Open (double)",null,this.getTagsForStencil(b,"","aws amazon web service arrows arrow … argument
4522 this.createVertexTemplateEntry(e+"external_toolkit;",68*a,78*a,"","Toolkit",null,null,this.getTagsF… argument
4525 Sidebar.prototype.addAWS4GroupsPalette=function(a,b,e,c){e=c+"outlineConnect=0;gradientColor=none;h… argument
4535 130*a,130*a,"Generic group",null,null,null,this.getTagsForStencil(b,"generic","aws amazon web servi… argument
4549 "glue databrew","aws amazon web service analytics ").join(" ")),this.createVertexTemplateEntry(b+"g… argument
4561 Sidebar.prototype.addAWS4ARVRPalette=function(a,b,e,c,d,f){a="sketch=0;points=[[0,0,0],[0.25,0,0],[… argument
4562 this.addPaletteFunctions("aws4AR VR","AWS / AR & VR",!1,[this.createVertexTemplateEntry(a+"resource… argument
4563 function(a,b,e,c,d,f){a="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[… argument
4567eateVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".savings_plans;",c,c,"","Savings Plans",null,… argument
4570edger Database",null,null,this.getTagsForStencil(d,"quantum ledger database","aws amazon web servi… argument
4578 …ations ").join(" "))])};Sidebar.prototype.addAWS4ComputePalette=function(a,b,e,c,d,f){b="sketch=0;… argument
4614 …a,"","X1 Instance",null,null,this.getTagsForStencil(d,"x1","aws amazon web service compute ").join… argument
4623 …oin(" "))])};Sidebar.prototype.addAWS4CustomerEnablementPalette=function(a,b,e,c,d,f){a="sketch=0;… argument
4627 Sidebar.prototype.addAWS4CustomerEngagementPalette=function(a,b,e,c,d,f){a="sketch=0;points=[[0,0,0… argument
4629 …s.createVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".pinpoint;",c,c,"","Pinpoint",null,null,t… argument
4647 "dense storage node","aws amazon web service db database ").join(" ")),this.createVertexTemplateEnt… argument
4654 …ftware development kit","aws amazon web service dev developer tools ").join(" ")),this.createVerte… argument
4658 Sidebar.prototype.addAWS4FrontEndWebMobilePalette=function(a,b,e,c,d,f){b="sketch=0;outlineConnect=… argument
4662 48*a,48*a,"","Location Service Track",null,null,this.getTagsForStencil(d,"location service track","… argument
4664 "resourceIcon;resIcon="+d+".lumberyard;",c,c,"","Lumberyard",null,null,this.getTagsForStencil(d,"lu… argument
4688 this.createVertexTemplateEntry(b+"utility;",78*a,78*a,"","Utility",null,null,this.getTagsForStencil… argument
4705 "aws amazon web service machine learning ").join(" ")),this.createVertexTemplateEntry(b+"sagemaker_… argument
4736 … ").join(" "))])};Sidebar.prototype.addAWS4MediaServicesPalette=function(a,b,e,c,d,f){a="sketch=0;… argument
4744eateVertexTemplateEntry(a+"resourceIcon;resIcon="+d+".elemental_link;",c,c,"","Elemental Link",nul… argument
4753 …" "))])};Sidebar.prototype.addAWS4NetworkContentDeliveryPalette=function(a,b,e,c,d,f){b="sketch=0;… argument
4775 …"Traffic Mirroring",null,null,this.getTagsForStencil(d,"vpc virtual private cloud traffic mirrorin… argument
4781 "braket_state_vector;",78*a,78*a,"","Braket State Vector",null,null,this.getTagsForStencil(d,"brake… argument
4785 78*a,"","Cloud Extensions ROS",null,null,this.getTagsForStencil(d,"cloud extension ros","aws amazon… argument
4786 mxConstants.STYLE_SHAPE+"=mxgraph.aws4.";this.addPaletteFunctions("aws4Satellite","AWS / Satellite"… argument
4787 function(a,b,e,c,d,f){b="sketch=0;outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#… argument
4810 Sidebar.prototype.addAWS4ServerlessPalette=function(a,b,e,c,d,f){this.addPaletteFunctions("aws4Serv… argument
4811 …=mxgraph.aws4.resourceIcon;resIcon="+d+".serverless;",c,c,"","Serverless",null,null,this.getTagsFo… argument
4844 "aws4bNetwork Content Delivery");this.addAWS4bNetworkContentDeliveryPalette(80,100,60,a,b,"mxgraph.… argument
4849 100,0,"","Open (left)",null,this.getTagsForStencil(a,"","aws amazon web service arrows arrow open l… argument
4857 …ws amazon web service general resources ").join(" ")),this.createVertexTemplateEntry(d+"resourceIc… argument
4859 this.createVertexTemplateEntry(a+"illustration_desktop;pointerEvents=1",100,91,"desktop",null,null,… argument
4867 this.createVertexTemplateEntry(a+"group;grIcon="+b+".group_spot_fleet;strokeColor=#232F3E;fillColor… argument
4875 this.createVertexTemplateEntry(a+"group;grIcon="+b+".group_spot_fleet;strokeColor=#FFFFFF;fillColor… argument
4884 this.createVertexTemplateEntry(d+"resourceIcon;resIcon="+f+".dense_compute_node;",e,e,"Dense\ncompu… argument
4885 b,e,c,d,f,g){this.addPaletteFunctions("aws4bApplication Integration","AWS18 / Application Integrati… argument
4889 …egration ").join(" "))])};Sidebar.prototype.addAWS4bARVRPalette=function(a,b,e,c,d,f,g){this.addPa… argument
4891 a,b+10,"AWS Cost and Usage Report",null,null,null,this.getTagsForStencil(f,"cost usage report","aws… argument
4892 "AWS18 / Business Productivity",!1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".alex… argument
4905 …ment","aws amazon web service compute ").join(" ")),this.createVertexTemplateEntry(d+"resourceIcon… argument
4907 "aws amazon web service customer engagement ").join(" ")),this.createVertexTemplateEntry(d+"resourc… argument
4920 …f+".dense_storage_node;",e,e,"Dense\nstorage node",null,null,null,this.getTagsForStencil(f,"dense … argument
4921 function(a,b,e,c,d,f,g){this.addPaletteFunctions("aws4bDesktop App Streaming","AWS18 / Desktop & Ap… argument
4925 b+10,"AWS Tools and SDKs",null,null,null,this.getTagsForStencil(f,"tools and sdks software developm… argument
4926 !1,[this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".gamelift;",a,b+10,"Amazon GameLift",… argument
4930 …iot ").join(" "))])};Sidebar.prototype.addAWS4bIOTThingsPalette=function(a,b,e,c,d,f,g){this.addPa… argument
4936 …l","aws amazon web service internet of things iot ").join(" ")),this.createVertexTemplateEntry(d+"… argument
4947 "resourceIcon;resIcon="+f+".topic_2;",e,e,"Topic",null,null,null,this.getTagsForStencil(f,"topic","… argument
4952 ….join(" "))])};Sidebar.prototype.addAWS4bManagementToolsPalette=function(a,b,e,c,d,f,g){this.addPa… argument
4969 ".checklist_security;",e,e,"Checklist\nsecurity",null,null,null,this.getTagsForStencil(f,"checklist… argument
4973 …ces ").join(" "))])};Sidebar.prototype.addAWS4bMigrationPalette=function(a,b,e,c,d,f,g){this.addPa… argument
4976 "snowball edge","aws amazon web service migration ").join(" ")),this.createVertexTemplateEntry(c+"p… argument
4978 this.createVertexTemplateEntry(c+"productIcon;prIcon="+f+".mobile_hub;",a,b+10,"AWS Mobile Hub",nul… argument
4989 …])};Sidebar.prototype.addAWS4bSecurityIdentityCompliancePalette=function(a,b,e,c,d,f,g){this.addPa… argument
5001 …iance ").join(" "))])};Sidebar.prototype.addAWS4bStoragePalette=function(a,b,e,c,d,f,g){this.addPa… argument
5047 this.setCurrentSearchEntryLibrary("azure2","azure2Web");this.addAzure2WebPalette("mxgraph.azure2",4… argument
5050 "Translator_Text.svg;",.17*b,.17*b,"","Translator Text",null,null,this.getTagsForStencil(a,"transla… argument
5054 "azure analytics ").join(" "))];this.addPalette("azure2Analytics","Azure / Analytics",!1,mxUtils.bi… argument
5058 …Child(d[c](a))}))};Sidebar.prototype.addAzure2AzureStackPalette=function(a,b,e,c){var d=[this.crea… argument
5061 …](a))}))};Sidebar.prototype.addAzure2AzureVMwareSolutionPalette=function(a,b,e,c){var d=[this.crea… argument
5063 this.createVertexTemplateEntry(c+"Consortium.svg;",.17*b,.17*b,"","Consortium",null,null,this.getTa… argument
5072 this.createVertexTemplateEntry(c+"VM_Scale_Sets.svg;",.17*b,.17*b,"","VM Scale Sets",null,null,this… argument
5075 null,null,this.getTagsForStencil(a,"service fabric clusters","azure containers ").join(" "))];this.… argument
5076 b,.17*b,"","Elixir Purple",null,null,this.getTagsForStencil(a,"elixir purple","azure cxp ").join(" … argument
5084 .155*b,.17*b,"","SSIS Lift and Shift IR",null,null,this.getTagsForStencil(a,"ssis lift and shift ir… argument
5086 this.createVertexTemplateEntry(c+"Lab_Services.svg;",.165*b,.16*b,"","Lab Services",null,null,this.… argument
5116 Sidebar.prototype.addAzure2IdentityPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry(… argument
5120 "users","azure identity ").join(" "))];this.addPalette("azure2Identity","Azure / Identity",!1,mxUti… argument
5125 .17*b,.15*b,"","System Topic",null,null,this.getTagsForStencil(a,"system topic","azure integration … argument
5126 this.createVertexTemplateEntry(c+"Time_Series_Insights_Access_Policies.svg;",.105*b,.17*b,"","Time … argument
5129 this.getTagsForStencil(a,"intune for education","azure intune ").join(" "))];this.addPalette("azure… argument
5133etTagsForStencil(a,"time series insights environments","azure iot internet of things ").join(" "))… argument
5143 this.addPalette("azure2Management Governance","Azure / Management Governance",!1,mxUtils.bind(this,… argument
5145 …,this.getTagsForStencil(a,"recovery services vaults","azure migrate ").join(" "))];this.addPalette… argument
5146 …endChild(d[c](a))}))};Sidebar.prototype.addAzure2MonitorPalette=function(a,b,e,c){var d=[this.crea… argument
5159 this.createVertexTemplateEntry(c+"Web_Application_Firewall_Policies_WAF.svg;",.17*b,.17*b,"","Web A… argument
5164 …endChild(d[c](a))}))};Sidebar.prototype.addAzure2PreviewPalette=function(a,b,e,c){var d=[this.crea… argument
5167 .16*b,.165*b,"","Web Environment",null,null,this.getTagsForStencil(a,"web environment","azure previ… argument
5170 "Security_Center.svg;",.14*b,.17*b,"","Security Center",null,null,this.getTagsForStencil(a,"securit… argument
5176 ….appendChild(d[c](a))}))};Sidebar.prototype.addAzure2WebPalette=function(a,b,e,c){var d=[this.crea… argument
5712 400,this);this.setCurrentSearchEntryLibrary("bpmn2","bpmn2Gateways");this.addBPMN2GatewaysPalette("… argument
5734 this.addPalette("bpmn2General","BPMN 2.0 General",!1,mxUtils.bind(this,function(a){for(var b=0;b<c… argument
5767 180,100,"","Call Activity, Expanded",null,null,"bpmn business process model notation task call acti… argument
5820 this.addPalette("bpmn2Choreographies","BPMN 2.0 Choreographies",!1,mxUtils.bind(this,function(a){f… argument
5869erminate",null,null,"bpmn business process model notation event terminate")];this.addPalette("bpmn… argument
5986 …inets",mxResources.get("cabinets"),!1,mxUtils.bind(this,function(a){for(var b=0;b<c.length;b++)a.a… argument
5990 this.addCisco19StealthwatchPalette(a,b,e);this.setCurrentSearchEntryLibrary("cisco19","cisco19SAFE"… argument
5999 50,50,"","Secure Catalyst Switch (color)",null,null,this.getTagsForStencil("mxgraph.cisco19","secur… argument
6000 function(a,b,e){this.addPaletteFunctions("cisco19Routing WAN","Cisco 19 / Routing WAN",!1,[this.cre… argument
6009 this.createVertexTemplateEntry(b+"rect;prIcon=asr_9000;fillColor=#FAFAFA;strokeColor=#005073;",50,5… argument
6010et Mgmt. Appliance",null,null,this.getTagsForStencil("mxgraph.cisco19","net management appliance m… argument
6025 50*.55,50,"","Secure Server",null,null,this.getTagsForStencil("mxgraph.cisco19","secure server","ci… argument
6030 null,null,this.getTagsForStencil("mxgraph.cisco19","mesh access point","cisco wireless lan local ar… argument
6052 …;Sidebar.prototype.addCisco19SecurityCloudsAndConnectorsPalette=function(a,b,e){this.addPaletteFun… argument
6063e+"secure_endpoints;fillColor=#005073;strokeColor=none;",50,35,"","Secure Endpoint (laptop)",null,… argument
6071 e+"branch;fillColor=#005073;strokeColor=none;",50,50,"","Branch",null,null,this.getTagsForStencil("… argument
6072enter","cisco dna sd access").join(" ")),this.createVertexTemplateEntry("points=[[0.5,0.37,0],[1,0… argument
6074 …vSmart",null,null,this.getTagsForStencil("mxgraph.cisco19","vsmart","cisco sd wan viptela wide are… argument
6076 …thwatch").join(" "))])};Sidebar.prototype.addCisco19SafePalette=function(a,b,e){this.addPaletteFun… argument
6605 "eightLineBusElbow;notch=180;",200,200,"","8-Line Bus Elbow",null,null,this.getTagsForStencil("mxgr… argument
6852 this.addPalette("gcpCards","GCP / Cards",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e+… argument
6861 …dgeTemplateEntry("edgeStyle=orthogonalEdgeStyle;fontSize=12;html=1;endArrow=blockThin;endFill=1;ro… argument
6939 "GCP / General Icons",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e… argument
6948 …tte("gcp2Service Cards","GCP / Service Cards",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
6950 …this.addPalette("gcp2Compute","GCP / Compute",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
6952 …e("gcp2API Management","GCP / API Management",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
6955 a);this.addPalette("gcp2Security","GCP / Security",!1,mxUtils.bind(this,function(b){for(var e=0;e<a… argument
6957 …e("gcp2Data Analytics","GCP / Data Analytics",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
6958 …tte("gcp2Data Transfer","GCP / Data Transfer",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
6961 a);this.addGCP2CardSet("Advanced\nSolutions Lab","advanced_solutions_lab",140,200,"gcp google cloud… argument
6962 "GCP / Internet of Things",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChil… argument
6963 "cloud_memorystore",140,170,"gcp google cloud platform databases memorystore",a);this.addGCP2CardSe… argument
6964 …this.addPalette("gcp2Storage","GCP / Storage",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
6968 a);this.addPalette("gcp2Management Tools","GCP / Management Tools",!1,mxUtils.bind(this,function(b)… argument
6972 …ddPalette("gcp2Networking","GCP / Networking",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
6976 function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prototype.addGCP2Expanded… argument
6981 …Product Cards","GCP / Expanded Product Cards",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
6987 …r Device Cards","GCP / User and Device Cards",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
6990 …tte("gcp2Product Cards","GCP / Product Cards",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
7054 "","gcp google cloud platform icons icon migration generic placeholder product").join(" "))];this.a… argument
7058 …geometry.offset=new mxPoint(5,-19.5);d.vertex=!0;a.insert(d);return g.createVertexTemplateFromCell… argument
7061 …mxCell('<font color="#000000">Name</font><br>'+m,new mxGeometry(0,0,45*e,45*c),l+b+";part=1;labelP… argument
7063 …turn g.createVertexTemplateFromCells([d],e,c,k)}))};Sidebar.prototype.addGCP2ExpandedProductCardSe… argument
7065ertex=!0;var c=new mxCell('<font color="#000000">Name</font><br>'+h+'<hr><font style="font-size: 1… argument
7073eometry.relative=!0;l.geometry.offset=new mxPoint(115,55);l.vertex=!0;a.insert(l);return r.createV… argument
7084 …tems","GCP Icons / API Platform & Ecosystems",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
7093 18,20,"","Pub Sub",null,null,this.getTagsForStencil("mxgraph.gcp3","","gcp google cloud platform bi… argument
7105 …Palette("gcp3Cloud AI","GCP Icons / Cloud AI",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
7111 …ddPalette("gcp3Compute","GCP Icons / Compute",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
7112 …cp3Data Transfer","GCP Icons / Data Transfer",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
7116 …eveloper Tools","GCP Icons / Developer Tools",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
7130 …ns","GCP Icons / Expanded Product Card Icons",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
7131 …ddPalette("gcp3Generic","GCP Icons / Generic",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
7137 20,17,"","Web Security Scanner",null,null,this.getTagsForStencil("mxgraph.gcp3","","gcp google clou… argument
7138 …t of Things","GCP Icons / Internet of Things",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
7146 …agement Tools","GCP Icons / Management Tools",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
7161 …tte("gcp3Networking","GCP Icons / Networking",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
7166 …Source Icons","GCP Icons / Open Source Icons",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
7174 … Databases","GCP Icons / Storage & Databases",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
7457 this.setCurrentSearchEntryLibrary()};Sidebar.prototype.addIBMAnalyticsPalette=function(a,b,e,c){c+=… argument
7459 Sidebar.prototype.addIBMApplicationsPalette=function(a,b,e,c){c+="applications/";var d=[this.create… argument
7465 b).join(" ")),this.createVertexTemplateEntry(c+"visualization.svg;",a,a,"","Visualization",!1,null,… argument
7472 !1,null,this.getTagsForStencil("blockchain","transaction manager",b).join(" ")),this.createVertexTe… argument
7476 null,this.getTagsForStencil("data ","ground truth",b).join(" ")),this.createVertexTemplateEntry(c+"… argument
7480 "release management",b).join(" "))];this.addPalette("ibmDevOps","IBM / DevOps",!1,mxUtils.bind(this… argument
7486 b).join(" ")),this.createVertexTemplateEntry(c+"transformation_connectivity.svg;",a,a,"","Transform… argument
7492 Sidebar.prototype.addIBMMiscPalette=function(a,b,e,c){c+="miscellaneous/";var d=[this.createVertexT… argument
7496 .25*a,.25*a,"","Scalable",!1,null,this.getTagsForStencil("miscellaneous ","scalable",b).join(" ")),… argument
7501 a,a,"","Trustend Computing",!1,null,this.getTagsForStencil("security ","trustend computing",b).join… argument
7503 b).join(" ")),this.createVertexTemplateEntry(c+"networking.svg;",a,a,"","Networking",!1,null,this.g… argument
7505 !1,null,this.getTagsForStencil("users ","sensor",b).join(" ")),this.createVertexTemplateEntry(c+"us… argument
7514 Sidebar.prototype.addIBMBoxesPalette=function(a,b,e,c){var d=[this.createVertexTemplateEntry("shape… argument
7521 …endChild(d[c](a))}))};Sidebar.prototype.addIBMConnectorsPalette=function(a,b,e,c){var d=[this.crea… argument
8021 this.setCurrentSearchEntryLibrary("mscae","mscaeStorage Service");this.addMSCAEStorageServicePalett… argument
8027 this.createVertexTemplateEntry(c+"WebAppWordPress.svg;",.49*b,.5*b,"","WebAppWordPress",null,null,t… argument
8089 .5*b,.5*b,"","XML Web Service",null,null,this.getTagsForStencil(a,"xml web service","ms microsoft c… argument
8119 this.addPalette("mscaeIntuneFlat","CAE / Intune (flat)",!1,mxUtils.bind(this,function(a){for(var b=… argument
8131 …,function(a){for(var b=0;b<c.length;b++)a.appendChild(c[b](a))}))};Sidebar.prototype.addMSCAESyste… argument
8138 this.addPalette("mscaeSystem CenterFlat","CAE / System Center (flat)",!1,mxUtils.bind(this,function… argument
8142 this.addPalette("mscaeAI and ML Service","CAE / AI and ML Service",!1,mxUtils.bind(this,function(a)… argument
8147 …ld(d[c](a))}))};Sidebar.prototype.addMSCAEComputeServicePalette=function(a,b,e,c){var d=[this.crea… argument
8152 …(d[c](a))}))};Sidebar.prototype.addMSCAEComputeServiceVMPalette=function(a,b,e,c){var d=[this.crea… argument
8156 this.createVertexTemplateEntry(c+"VM_Windows_Non_Azure.svg;",.5*b,.46*b,"","VM (Windows, Non-Azure)… argument
8158 this.getTagsForStencil(a,"kubernetes services","ms microsoft cloud enterprise container service").j… argument
8167 "virtual datacenter","ms microsoft cloud enterprise database databases db service").join(" "))];thi… argument
8171 Sidebar.prototype.addMSCAEGeneralServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateE… argument
8180 this.createVertexTemplateEntry(c+"Info.svg;",.5*b,.5*b,"","What's New",null,null,this.getTagsForSte… argument
8187 Sidebar.prototype.addMSCAEIntegrationServicePalette=function(a,b,e,c){var d=[this.createVertexTempl… argument
8195 "CAE / Integration Service",!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChi… argument
8200 …ild(d[c](a))}))};Sidebar.prototype.addMSCAEIntuneServicePalette=function(a,b,e,c){var d=[this.crea… argument
8205 "Tools.svg;",.47*b,.5*b,"","Tools",null,null,this.getTagsForStencil(a,"tools","ms microsoft cloud e… argument
8213etTagsForStencil(a,"solutions","ms microsoft cloud enterprise management and governance service").… argument
8216 Sidebar.prototype.addMSCAEMigrateServicePalette=function(a,b,e,c){var d=[this.createVertexTemplateE… argument
8217 this.createVertexTemplateEntry(c+"Backup.svg;",.5*b,.42*b,"","Recovery Services Vaults",null,null,t… argument
8218 b,.5*b,"","Spatial Anchor",null,null,this.getTagsForStencil(a,"spatial anchor","ms microsoft cloud … argument
8220 this.addPalette("mscaeMobile Service","CAE / Mobile Service",!1,mxUtils.bind(this,function(a){for(v… argument
8232 this.addPalette("mscaeNetworking Service","CAE / Networking Service",!1,mxUtils.bind(this,function(… argument
8237 this.createVertexTemplateEntry(c+"Web_App_Firewall.svg;",.5*b,.5*b,"","Web App Firewall",null,null,… argument
8239 this.addPalette("mscaeSecurity Service","CAE / Security Service",!1,mxUtils.bind(this,function(a){f… argument
8247 …dChild(d[c](a))}))};Sidebar.prototype.addMSCAEWebServicePalette=function(a,b,e,c){var d=[this.crea… argument
8301 102,99,"","Public IM Cloud Service",null,null,this.getTagsForStencil("mxgraph.office.clouds","publi… argument
8351 !1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))};Sidebar.prot… argument
8439 …dPalette("officeConcepts","Office / Concepts",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
8469 this.addPalette("officeDatabases","Office / Databases",!1,mxUtils.bind(this,function(b){for(var e=0… argument
8500 …addPalette("officeDevices","Office / Devices",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
8535 …dPalette("officeSecurity","Office / Security",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
8603 this.addPalette("officeServers","Office / Servers",!1,mxUtils.bind(this,function(b){for(var e=0;e<a… argument
8620 …interEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#505050;labelPosition=center;ver… argument
8634 …his.addPalette("officeSites","Office / Sites",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
8660 …er ").join(" "))];this.addPalette("officeUsers","Office / Users",!1,mxUtils.bind(this,function(b){… argument
8771 …iewing_glass","process instrumentation ").join(" "))])}})();(function(){Sidebar.prototype.addRackP… argument
8950 this.createVertexTemplateEntry("html=1;verticalLabelPosition=bottom;verticalAlign=top;outlineConnec… argument
8975 …in(" "))];this.addPalette("sitemap","Sitemap",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
9376 this.addPalette("veeamData Center","Veeam / Data Center",!1,mxUtils.bind(this,function(b){for(var e… argument
9395 this.addPalette("veeamMisc","Veeam / Miscellaneous",!1,mxUtils.bind(this,function(b){for(var e=0;e<… argument
9415 …addPalette("veeamSoftware","Veeam / Software",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
9433 this.addPalette("veeamStorage","Veeam / Storage",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.l… argument
9447 …"veeamUsersStatus","Veeam / Users and Status",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
9466 …ph.veeam.vascomponent","one client","veeam vmware virtual machine vas availability suite component… argument
9492 44.8,44.8,"","Veeam Explorer",null,null,this.getTagsForStencil("mxgraph.veeam.backup_replication","… argument
9502 this.addPalette("veeamProducts","Veeam / Products",!1,mxUtils.bind(this,function(b){for(var e=0;e<a… argument
9517 this.addPalette("veeamVMs and Tape","Veeam / VMs and Tape",!1,mxUtils.bind(this,function(b){for(var… argument
9552 …" "))];this.addPalette("veeam3D","Veeam / 3D",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
9567 20,20,"9","Number nine",null,null,this.getTagsForStencil("mxgraph.veeam2","number nine","veeam vmwa… argument
9594 …tte("veeam2Data Center","Veeam / Data Center",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
9608 …ddPalette("veeam2Features","Veeam / Features",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
9638 …interEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;ver… argument
9679 …veeam2Products and Components","Veeam / Products and Components",!1,mxUtils.bind(this,function(b){… argument
9705 this.addPalette("veeam2Software","Veeam / Software",!1,mxUtils.bind(this,function(b){for(var e=0;e<… argument
9716 this.addPalette("veeam2States","Veeam / States",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.le… argument
9742 ….addPalette("veeam2Storage","Veeam / Storage",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.len… argument
9779 "Veeam / 3D",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild(a[e](b))}))}… argument
9839 "VMware Validated Design",!1,mxUtils.bind(this,function(b){for(var e=0;e<a.length;e++)b.appendChild… argument
9975 DrawioFile=function(b,e){mxEventSource.call(this);this.ui=b;this.shadowData=this.data=e||"";this.sh… argument
9978 …his.data?this.data.length:0};DrawioFile.prototype.synchronizeFile=function(b,e){this.savingFile?nu… argument
9979 DrawioFile.prototype.updateFile=function(b,e,d,c){null!=d&&d()||(this.ui.getCurrentFile()!=this||th… argument
9980 DrawioFile.prototype.mergeFile=function(b,e,d,c){var g=!0;try{this.stats.fileMerged++;var k=null!=t… argument
9984 DrawioFile.prototype.getAnonymizedXmlForPages=function(b){var e=new mxCodec(mxUtils.createXmlDocume… argument
9985 DrawioFile.prototype.compressReportData=function(b,e,d){e=null!=e?e:1E4;null!=d&&null!=b&&b.length>… argument
9986 DrawioFile.prototype.checksumError=function(b,e,d,c,g){this.stats.checksumErrors++;this.invalidChec… argument
9987 …um Error in "+g+" "+this.getHash(),(null!=d?d:"")+"\n\nPatches:\n"+f+(null!=b?"\n\nRemote:\n"+b:""… argument
9989 DrawioFile.prototype.sendErrorReport=function(b,e,d,c){try{var g=this.compressReportData(this.getAn… argument
9992 DrawioFile.prototype.reloadFile=function(b,e){try{this.ui.spinner.stop();var d=mxUtils.bind(this,fu… argument
9993 b()}}),!0)});this.isModified()&&null==this.backupPatch?this.ui.confirm(mxResources.get("allChangesL… argument
9994 DrawioFile.prototype.ignorePatches=function(b){for(var e=!0,d=0;d<b.length&&e;d++)e=e&&0==Object.ke… argument
9995 DrawioFile.prototype.patch=function(b,e,d){var c=this.ui.editor.undoManager,g=c.history.slice(),k=c… argument
9998 DrawioFile.prototype.save=function(b,e,d,c,g,k){try{if(this.isEditable())if(!g&&this.invalidChecksu… argument
9999e.prototype.updateFileData=function(){this.setData(this.ui.getFileData(null,null,null,null,null,nu… argument
10000 DrawioFile.prototype.getPublicUrl=function(b){b(null)};DrawioFile.prototype.isRestricted=function()… argument
10001 DrawioFile.prototype.isAutosave=function(){return!this.inConflictState&&this.ui.editor.autosave};Dr… argument
10002 DrawioFile.prototype.getId=function(){return""};DrawioFile.prototype.isEditable=function(){return!t… argument
10003 DrawioFile.prototype.open=function(){this.stats.opened++;var b=this.getData();if(null!=b){var e=fun… argument
10004 …ySupported=function(){return!1};DrawioFile.prototype.getRevisions=function(b,e){b(null)};DrawioFil… argument
10005 …stealth||"1"!=urlParams.rt&&this.ui.editor.chromeless&&!this.ui.editor.editable||(null==this.sync&… argument
10006 DrawioFile.prototype.getLatestVersion=function(b,e){b(null)};DrawioFile.prototype.getLastModifiedDa… argument
10007 …criptor=function(){};DrawioFile.prototype.setDescriptorRevisionId=function(b,e){this.setDescriptor… argument
10008 …null==this.changeListener&&(this.changeListener=mxUtils.bind(this,function(b,e){var d=null!=e?e.ge… argument
10011 DrawioFile.prototype.addAllSavedStatus=function(b){null!=this.ui.statusContainer&&this.ui.getCurren… argument
10012 …veDraft=function(){try{null==this.draftId&&(this.draftId=Editor.guid());var b={type:"draft",create… class in popupMenuHandler.AnonymousFunction9bd35d6bbd100
10014 DrawioFile.prototype.addUnsavedStatus=function(b){if(!this.inConflictState&&null!=this.ui.statusCon… argument
10017 DrawioFile.prototype.addConflictStatus=function(b,e){this.invalidChecksum&&null==e&&(e=mxResources.… argument
10018 mxEvent.getSource(c).nodeName&&b()}))):this.ui.alert(mxUtils.htmlEntities(mxResources.get("fileChan… argument
10019 DrawioFile.prototype.showRefreshDialog=function(b,e,d){null==d&&(d=mxResources.get("checksum"));thi… argument
10021 DrawioFile.prototype.showCopyDialog=function(b,e,d){this.invalidChecksum=this.inConflictState=!1;th… argument
10022 DrawioFile.prototype.showConflictDialog=function(b,e){this.ui.showError(mxResources.get("externalCh… argument
10023 DrawioFile.prototype.redirectToNewApp=function(b,e){this.ui.spinner.stop();if(!this.redirectDialogS… argument
10025 g)}};DrawioFile.prototype.handleFileSuccess=function(b){this.ui.spinner.stop();this.ui.getCurrentFi… argument
10026 DrawioFile.prototype.handleFileError=function(b,e){this.ui.spinner.stop();if(this.ui.getCurrentFile… argument
10028 DrawioFile.prototype.handleConflictError=function(b,e){var d=mxUtils.bind(this,function(){this.hand… argument
10030 ….get("updatingDocument")));this.synchronizeFile(d,c)}),this.getErrorMessage(b))};DrawioFile.protot… argument
10031 …utosave(this.autosaveDelay,this.maxAutosaveDelay,mxUtils.bind(this,function(b){this.ui.stopSanityC… argument
10032 …eSanityCheck(),this.ageStart=this.lastChanged)}),mxUtils.bind(this,function(b){this.handleFileErro… argument
10033 DrawioFile.prototype.createSecret=function(b){var e=Editor.guid(32);null==this.sync||this.isOptimis… argument
10035 DrawioFile.prototype.fileSaved=function(b,e,d,c,g){this.lastSaved=new Date;this.ageStart=null;try{t… argument
10037 DrawioFile.prototype.autosave=function(b,e,d,c){null==this.lastAutosave&&(this.lastAutosave=Date.no… argument
10038 function(b){null!=c&&c(b)}))}else this.isModified()||this.ui.editor.setStatus(""),null!=d&&d(null)}… argument
10040 DrawioFile.prototype.close=function(b){this.updateFileData();this.stats.closed++;this.isAutosave()&… argument
10042 …sSaveNeeded=function(){return!1};DrawioFile.prototype.getComments=function(b,e){b([])};DrawioFile.… argument
10043 LocalFile.prototype.isRenamable=function(){return!0};LocalFile.prototype.save=function(b,e,d){this.… argument
10044 LocalFile.prototype.getLatestVersion=function(b,e){null==this.fileHandle?b(null):this.ui.loadFileSy… argument
10045 LocalFile.prototype.saveFile=function(b,e,d,c,g){b!=this.title&&(this.desc=this.fileHandle=null);th… argument
10046 function(b){this.savingFile=!1;null!=c&&c({error:b})});this.saveDraft();this.fileHandle.createWrita… argument
10047 b;this.fileSaved(n,c,f,e);this.removeDraft()}catch(A){e(A)}}),e)}),e)}),e):(this.inConflictState=!0… argument
10048blank")}else this.ui.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("err… argument
10049 …setFileData(this.getData());this.installListeners()};LocalLibrary=function(b,e,d){LocalFile.call(t… argument
10050 StorageFile.prototype.isRenamable=function(){return!0};StorageFile.prototype.save=function(b,e,d){t… argument
10051 StorageFile.insertFile=function(b,e,d,c,g){var k=mxUtils.bind(this,function(k){var f=function(){var… argument
10052 StorageFile.getFileInfo=function(b,e,d,c){b.getDatabaseItem(e,function(b){d(b)},mxUtils.bind(this,f… argument
10053 StorageFile.prototype.saveFile=function(b,e,d,c){if(this.isEditable()){var g=mxUtils.bind(this,func… argument
10055 StorageFile.prototype.rename=function(b,e,d){var c=this.getTitle();c!=b?StorageFile.getFileInfo(thi… argument
10056 StorageFile.prototype.getLatestVersion=function(b,e){StorageFile.getFileContent(this.ui,this.title,… argument
10057 StorageFile.listLocalStorageFiles=function(b){for(var e=[],d=0;d<localStorage.length;d++){var c=loc… argument
10058 StorageFile.migrate=function(b){var e=StorageFile.listLocalStorageFiles();e.push({title:".scratchpa… argument
10059 StorageFile.listFiles=function(b,e,d,c){b.getDatabaseItems(function(b){var c=[];if(null!=b)for(var … argument
10060 StorageLibrary.prototype.isRenamable=function(b,e,d){return".scratchpad"!=this.title};StorageLibrar… argument
10061 RemoteLibrary.prototype.saveAs=function(b,e,d){};RemoteLibrary.prototype.updateFileData=function(){… argument
10063 var StorageDialog=function(b,e,d){function c(c,g,k,p,x,A){function q(){mxEvent.addListener(t,"click… argument
10072 "9pt",m.style.marginTop="-14px",m.innerHTML='<a style="background-color:#dcdcdc;padding:6px;color:b… argument
10083 b.mode==App.MODE_GITLAB&&null!=b.gitLab?d(function(){b.gitLab.logout();b.openLink(DRAWIO_GITLAB_URL… argument
10093 var GoogleSitesDialog=function(b,e){function d(){var b=null!=G&&null!=G.getTitle()?G.getTitle():thi… argument
10102ent.addListener(m,"click",function(){m.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documen… argument
10103 function(){var e=document.createElement("div");e.style.position="relative";e.style.border="1px soli… argument
10105 !1;k.connectionHandler.createEdgeState=function(b){b=k.createEdge(null,null,null,null,null,n);retur… argument
10106 k.insertEdge(f,null,"",b,m,n)},function(){k.scrollCellToVisible(m)})});c.addListener("pointerdown",… argument
10108ew mxHierarchicalLayout(k,mxConstants.DIRECTION_WEST):"organic"==d?(p=new mxFastOrganicLayout(k,!1… argument
10114 var BackgroundImageDialog=function(b,e,d){var c=document.createElement("div");c.style.whiteSpace="n… argument
10117 "",null!=d&&d("")):(l.value=mxUtils.trim(l.value),b.loadImage(l.value,function(b){x.value=b.width;A… argument
10118 n.setAttribute("checked","checked");n.checked=!0});if(Graph.fileSupport){l.setAttribute("placeholde… argument
10119 …p",mxUtils.bind(this,function(c){null!=e&&(e.parentNode.removeChild(e),e=null);if(0<c.dataTransfer… argument
10121 A.setAttribute("type","text");A.style.width="60px";A.style.marginLeft="8px";A.style.marginRight="16… argument
10123 …ction(){t=!0});g.className="geBtn";g.width="100";d.appendChild(g);g=mxUtils.button(mxResources.get… argument
10124 …n";d.appendChild(applyBtn);b.editor.cancelFirst||d.appendChild(g);c.appendChild(d);this.container=… argument
10127 295,212)},200):b.generatePlantUmlImage(c,g,function(f,d,e){b.spinner.stop();l(c,g,f,d,e)},function(… argument
10135 m.scrollCellToVisible(m.getSelectionCell())}}}else{var H=function(b){var c=M[b];null==c&&(c=new mxC… argument
10143 …"+mxResources.get("text")+")");EditorUi.enablePlantUml&&Graph.fileSupport&&!b.isOffline()&&"plantU… argument
10145 …{n.value==q?b.hideDialog():b.confirm(mxResources.get("areYouSure"),function(){b.hideDialog()})});l… argument
10147 null==b.stateArg||null==b.stateArg.folderId)}}function C(b,c,d,e,m,g,p){null!=na&&(na.style.backgro… argument
10148 b.getStatus()&&299>=b.getStatus()&&(B=b.getText());f(B)}))}else f(B)}function K(f,e,l){if(null!=f&&… argument
10151 …Editor.errorImage,this.onerror=null)};mxEvent.addGestureListeners(v,mxUtils.bind(this,function(b){… argument
10153 …td></tr></table>");mxEvent.addGestureListeners(v,mxUtils.bind(this,function(b){A()}),null,null);mx… argument
10154 …></table>",l&&C(v),mxEvent.addGestureListeners(v,mxUtils.bind(this,function(b){C(v,null,null,c,g)}… argument
10155bsolute";D.style.cursor="default";D.style.padding="8px";D.style.right="0px";D.style.top="0px";v.ap… argument
10156 f.length&&(f=f.substring(0,18)+"&hellip;");return f+" ("+c.length+")"}function c(b,c,f){mxEvent.add… argument
10166 …Name="geBtn gePrimaryBtn";if(q||t){var K=[],X=null,J=null,N=null,O=function(b){P.setAttribute("dis… argument
10167 ….style.whiteSpace="nowrap";x.style.height="30px";D.appendChild(x);E=mxUtils.button(mxResources.get… argument
10168 "";Q.spin(R);var c=function(b,c,f){L=0;Q.stop();ma=b;f=f||{};var d=0,e;for(e in f)d+=f[e].length;if… argument
10169 …Left="10px";Y.style.width="220px";mxEvent.addListener(Y,"keypress",function(b){13==b.keyCode&&W(!0… argument
10172 Dialog.prototype.closeImage&&(U.setAttribute("src",Z),U.setAttribute("title",mxResources.get("searc… argument
10174 0;R.innerHTML="";L=0;f=document.createElement("div");f.style.cssText="border: 1px solid #D3D3D3; pa… argument
10175 U.setAttribute("title",mxResources.get("reset")))}));x+=23;var ha=document.createElement("div");ha.… argument
10177 (l=[],ea[d]=l);e=b.getAttribute("clibs");null!=c[e]&&(e=c[e]);e={url:b.getAttribute("url"),libs:b.g… class in AnonymousFunction9bd35d6bcf600
10178 (qa=PROXY_URL+"?url="+encodeURIComponent(qa));Q.spin(R);null!=A?A(function(b,c){ja=b;N=oa=c;sa()},s… argument
10182 var CreateDialog=function(b,e,d,c,g,k,n,f,l,m,p,q,t,u,v,x,A){function z(c,f,d,l){function m(){mxEve… argument
10189 function(c){b.handleError(c)}))}),x.style.marginTop="6px",x.className="geBtn");l&&Editor.popupsAllo… argument
10198 var PopupDialog=function(b,e,d,c,g){g=null!=g?g:!0;var k=document.createElement("div");k.style.text… argument
10199 null!=d&&d();b.openLink(e,null,!0)});f.className="geBtn gePrimaryBtn";f.style.width=n.style.width;k… argument
10201 "100% 50%";l.style.paddingRight="14px";d=document.createElement("div");d.setAttribute("title",mxRes… argument
10203 (b.hideDialog(),c(f)):(f=b.convertDataUri(f),d=null==d?120:d,e=null==e?100:e,b.hideDialog(),c(f,d,e… argument
10204 b.stopPropagation();b.preventDefault()});mxEvent.addListener(c,"dragover",mxUtils.bind(this,functio… argument
10205 6)},function(b){for(var c=0;c<b.length;c++)b[c]()},!mxEvent.isControlDown(c),null,null,!0);else if(… argument
10206 "geBtn";b.editor.cancelFirst&&d.appendChild(e);ImageDialog.filePicked=function(b){b.action==google.… argument
10207 c,f,d,e,l){p(b)},function(){},function(b){return"image/"==b.type.substring(0,6)},function(b){for(va… argument
10208 function(){var c=new CropImageDialog(b,l.value,function(b){l.value=b});b.showDialog(c.container,300… argument
10209 "center 65%",f.style.backgroundRepeat="no-repeat",e=document.createElement("div"),e.style.position=… argument
10217 …pport){var c=l.parentNode,f=null;mxEvent.addListener(c,"dragleave",function(b){null!=f&&(f.parentN… argument
10219 b.isOffline()&&!mxClient.IS_CHROMEAPP&&(d.style.display="none");d=mxUtils.button(mxResources.get("c… argument
10221 if(null==b.linkPicker){var c=b.drive.createLinkPicker();b.linkPicker=c.setCallback(function(b){Link… argument
10222 c){p.value=c.value[0].webUrl;p.focus()})});null!=b.gitHub&&f(IMAGE_PATH+"/github-logo.svg",mxResour… argument
10223 p.value=DRAWIO_GITLAB_URL+"/"+c+"/"+f+"/blob/"+d+"/"+b;p.focus()}})});mxEvent.addListener(p,"keypre… argument
10228 …eCopyOfMyDiagram"));d.appendChild(k);mxEvent.addListener(k,"click",function(b){m.checked=!m.checke… argument
10230 var RevisionDialog=function(b,e,d){var c=document.createElement("div"),g=document.createElement("h3… argument
10232 f.getGlobalVariable=function(b){return"page"==b&&null!=m&&null!=m[p]?m[p].getAttribute("name"):"pag… argument
10236 H.style.outline="none";H.style.border="none";H.style.margin="2px";mxUtils.setOpacity(H,60);var I=k.… argument
10241 null!=c?mxResources.get("errorSavingFile"):null)})}))});P.className="geBtn";P.setAttribute("disable… argument
10244 "0px";Y.style.width="100%";var ka=document.createElement("tbody"),aa=(new Date).toDateString();null… argument
10249 …le",d.toLocaleDateString()+" "+d.toLocaleTimeString()+(null!=c.fileSize?" "+b.formatFileSize(parse… argument
10251 …Utils.setOpacity(D,20),mxUtils.setOpacity(H,20),u.spin(k),c.getXml(function(b){if(B==c)try{q(b)}ca… argument
10254 function(b,e,d,c,g,k,n,f,l){var m=document.createElement("div"),p=document.createElement("div");p.s… argument
10256 "46px";A.style.bottom="74px";A.style.overflow="hidden";mxEvent.disableContextMenu(A);m.appendChild(… argument
10260button(k||mxResources.get("edit"),function(){c.apply(this,[q.value])});k.className="geBtn gePrimar… argument
10261 b){var c=b.getAttribute("background");if(null==c||""==c||c==mxConstants.NONE)c=Editor.isDarkMode()?… argument
10263 "geBtn";f=null!=f?mxUtils.button(mxResources.get("ignore"),f):null;null!=f&&(f.className="geBtn");b argument
10264 mxUtils.trim(c[e].nodeValue.replace(/[\x00-\x1F\x7F-\x9F]|\s+/g," ")).toLowerCase();if(null==b&&(d&… argument
10273 I.setAttribute("title",mxResources.get("find")+" (Enter)");I.style["float"]="none";I.style.width="1… argument
10277 …ls();b.editor.graph.rendering=!1;p.getModel().beginUpdate();try{for(var d=0,e={};l(!1,!0,!0)&&100>… class in popupMenuHandler.AnonymousFunction9bd35d6bd6f00.AnonymousFunction9bd35d6bd7400
10280 "90px",I.style.width="90px";mxEvent.addListener(C,"keyup",function(b){if(91==b.keyCode||93==b.keyCo… argument
10282 …bled","disabled"))):p.container.focus()}));this.window.setLocation=function(b,c){var f=window.inne… argument
10283 var X=mxUtils.bind(this,function(){var b=this.window.getX(),c=this.window.getY();this.window.setLoc… argument
10286 this.window.setLocation=function(b,c){var f=window.innerHeight||document.body.clientHeight||documen… argument
10287 this.window.setLocation(b,c)});mxEvent.addListener(window,"resize",f);this.destroy=function(){mxEve… argument
10289 …unction(){n.refresh();this.window.fit()}));this.window.setLocation=function(b,c){var f=window.inne… argument
10290 arguments)};var l=mxUtils.bind(this,function(){var b=this.window.getX(),c=this.window.getY();this.w… argument
10293 …style.fontSize="18px";n.style.padding="14px";g.appendChild(k);g.appendChild(b);g.appendChild(n);d&… argument
10294 g},MoreShapesDialog=function(b,e,d){d=null!=d?d:b.sidebar.entries;var c=document.createElement("div… argument
10296 …nowrap";d.style.overflow="hidden";d.style.textOverflow="ellipsis";d.setAttribute("title",c.title+"… argument
10298 …);t=d;t.style.backgroundColor=Editor.isDarkMode()?"#000000":"#ebf2f9";null!=b&&mxEvent.consume(b)}… argument
10301 …dingRight="20px",k.appendChild(x),mxUtils.write(k," "+mxResources.get("rememberThisSetting")),x.ch… argument
10303 e.checked=b.sidebar.isEntryVisible(d);var l=document.createElement("span");mxUtils.write(l,f);f=doc… argument
10305 mxEvent.addListener(k,"click",function(b){x.checked=!x.checked;mxEvent.consume(b)}));c.appendChild(… argument
10306b.editor.cancelFirst?(d.appendChild(k),d.appendChild(l)):(d.appendChild(l),d.appendChild(k));c.app… argument
10308 mxUtils.button(mxResources.get("add")+"...",null!=e?function(){e(function(b){b&&0>mxUtils.indexOf(n… argument
10311 …ar p=document.createElement("div");p.style.marginTop="14px";p.style.textAlign="right";var q=mxUtil… argument
10315 "geBtn gePrimaryBtn";m=document.createElement("div");m.style.marginTop="20px";m.style.textAlign="ri… argument
10323 …umber(z.value),[e[c]])}}finally{d.getModel().endUpdate()}});B.className="geBtn gePrimaryBtn";mxEve… argument
10324 …u.firstChild,c=0;null!=f&&f!=b;)f=f.nextSibling,c++;return c}function f(c,d,e,l,m,g,k,q,t){try{if(… argument
10327 F.setAttribute("src",Editor.closeBlackImage);F.setAttribute("border","0");F.setAttribute("title",mx… argument
10328 f.xml){p.splice(e,1);break}E.parentNode.removeChild(b);0==p.length&&(u.style.backgroundImage="url('… argument
10329 …&&(k.aspect="fixed",p.push(k),G=k);mxEvent.addListener(I,"keydown",function(b){13==b.keyCode&&null… argument
10330 9<document.documentMode)){var f=new FilenameDialog(b,G.title||"",mxResources.get("ok"),function(b){… argument
10331 …focus();document.execCommand("selectAll",!1,null);B=function(){I.removeAttribute("contentEditable"… argument
10332 …(E.style,"transform","scale(0.5,0.5)");mxUtils.setOpacity(E,30);F.style.visibility="";I.style.visi… argument
10334 0,0,0,{xml:D,w:M.width,h:M.height})}m=!0}}catch(R){}m||(b.spinner.stop(),b.handleError({message:mxR… argument
10335 else if(0<c.dataTransfer.files.length)b.importFiles(c.dataTransfer.files,0,0,b.maxImageSize,F(c));e… argument
10338bsolute";v.style.width="640px";v.style.top="260px";v.style.textAlign="center";v.style.fontSize="22… argument
10339 !1;if(null!=c)for(e=0;e<c.length;e++)q=c[e],f(q.data,null,0,0,q.w,q.h,q,q.aspect,q.title);mxEvent.a… argument
10345 b.importFiles(G.files,0,0,b.maxImageSize,function(b,f,d,e,l,m,g,p,k){null!=G.files&&(F(c)(b,f,d,e,l… argument
10346 B=null);b.showImageDialog(mxResources.get("addImageUrl"),"",function(b,c,d){C=!1;if(null!=b){if("da… argument
10347 …nSave");q.className="geBtn gePrimaryBtn";c.appendChild(q);b.editor.cancelFirst||c.appendChild(e);d… argument
10352 (c.setSelectionCell(f),c.scrollCellToVisible(f))}};d=mxUtils.button(mxResources.get("preview"),func… argument
10354 …=d();if("string"===typeof c){b.showError(mxResources.get("error"),c);return}}m&&b.hideDialog(null,… argument
10355 "normal",N.style.textDecoration="none",O=N,N=null)}function z(b,c,f,d,e,l,m){if(-1<b.className.inde… argument
10356 !b.editor.isCorsEnabledForUrl(d)?PROXY_URL+"?url="+encodeURIComponent(d):TEMPLATE_PATH+"/"+d;mxUtil… argument
10359 da=!1;d.src="/images/icon-search.svg"}):m(c.url,k)}}function y(b,c,f){if(null!=W){for(var d=W.class… argument
10361 var n=null==b.mode||b.mode==App.MODE_GOOGLE||b.mode==App.MODE_BROWSER?mxResources.get("diagramName"… argument
10368 "click",function(f){B(b,c,d,f)})})(c[g],A,v);ia.appendChild(A)}}for(var x in e)c=e[x],0<c.length&&(… argument
10371 …hild(p);ea.appendChild(m);mxEvent.addListener(m,"click",function(){function b(){var f=c.querySelec… function
10372 ")",e=f=mxUtils.htmlEntities(f);15<f.length&&(f=f.substring(0,15)+"&hellip;");return{lbl:f+" ("+c.l… function
10376 0;c<f.length;c++)f[c].style.margin="0";b.style.visibility="hidden"},250);c.classList.toggle("geTemp… argument
10377 e=[],l=0;l<d.length;l++)e.push(encodeURIComponent(mxUtils.getTextContent(d[l])));null!=f&&0<e.lengt… class in AnonymousFunction9bd35d6bde300
10378 b.getAttribute("name"),preview:b.getAttribute("preview"),clibs:e,tags:b.getAttribute("tags")};l.pus… argument
10380 …,d.push(m));e=t;g++}0==d.length?U.innerHTML=mxResources.get("noResultsFor",[b]):G(d,!0)}}function … argument
10381 aa?null:k)):I(aa)),fa=b,ca=aa}function Q(b){null!=za&&clearTimeout(za);13==b.keyCode?L(oa.value):za… argument
10389 !1,ba,pa))});var da=!1;mxEvent.addListener(T,"click",function(){ka?(V.style.height="280px",ea.style… argument
10390 typeof b.getAttribute&&null!=b.getAttribute("title")&&va.push({img:b.getAttribute("img"),libs:b.get… argument
10391 …);mxEvent.addListener(oa,"input",Q);mxEvent.addListener(ga,"click",function(b){C(!1,!1)});q&&mxEve… argument
10392 var BtnDialog=function(b,e,d,c){var g=document.createElement("div");g.style.textAlign="center";var … argument
10394 mxUtils.write(b,mxResources.get("authorizedIn",[n],"You are now authorized in {1}"));d=mxUtils.butt… argument
10407 function AspectDialog(b,e,d,c,g){this.aspect={pageId:e||(b.pages?b.pages[0].getId():null),layerIds:… argument
10410 AspectDialog.prototype.createViewer=function(b,e,d,c){mxEvent.disableContextMenu(b);b.style.userSel… argument
10412 AspectDialog.prototype.createPageItem=function(b,e,d){var c=document.createElement("div");c.classNa… argument
10414 AspectDialog.prototype.createLayerItem=function(b,e,d,c){e=d.convertValueToString(b)||mxResources.g… argument
10416 var FilePropertiesDialog=function(b){var e,d,c=document.createElement("table"),g=document.createEle… argument
10467 Editor.createRoughCanvas=function(b){var c=rough.canvas({getContext:function(){return b}});c.draw=f… argument
10468 0>p&&(p=d.strokeWidth/2);b.setStrokeAlpha(b.state.fillAlpha);b.setStrokeColor(d.fill||"");b.setStro… argument
10469 f.filled?b.fill():b.stroke()};return c};(function(){function b(c,f,d){this.canvas=c;this.rc=f;this.… class in popupMenuHandler.AnonymousFunction9bd35d6be0700
10472 this.path=[];this.passThrough=!1}b.prototype.moveOp="M";b.prototype.lineOp="L";b.prototype.quadOp="… argument
10476 []};b.prototype.end=function(){this.passThrough&&this.originalEnd.apply(this.canvas,arguments)};b.p… argument
10477 c),this.lastX=b,this.lastY=c)};b.prototype.moveTo=function(b,c){this.passThrough?this.originalMoveT… argument
10478 function(b,c,f,d,e,l){this.passThrough?this.originalCurveTo.apply(this.canvas,arguments):(this.addO… argument
10479 this.originalRect.apply(this.canvas,arguments):(this.path=[],this.nextShape=this.rc.generator.recta… argument
10480 this.quadTo(b+f,c,b+f,c+l),this.lineTo(b+f,c+d-l),this.quadTo(b+f,c+d,b+f-e,c+d),this.lineTo(b+e,c+… argument
10483 …iginalRoundrect};mxShape.prototype.createRoughCanvas=function(c){return new b(c,Editor.createRough… argument
10485e&&null!=l&&(c.addTolerance=function(){})}f.apply(this,arguments);c.addTolerance=d};var d=mxShape.… argument
10486 function(b){return null==b||0==b.length||"undefined"===typeof pako?b:Graph.arrayBufferToString(pako… argument
10488 (d=decodeURIComponent(d)),null!=d&&0<d.length)b=mxUtils.parseXml(d).documentElement;else throw{mess… argument
10489 …f.length&&(d=mxUtils.parseXml(f).documentElement)):(f=mxUtils.getChildNodes(b),0<f.length&&(d=mxUt… argument
10491 d){var p=b.indexOf("%3C%2Fmxfile%3E)",e)+15,e=e-9;if(p>e){f=b.substring(e,p);break}}10==g&&("endobj… argument
10492 c.length&&(c=b[c[1]],null!=c&&(c=/.* \/Subject (\d+) (\d+) R/g.exec(c.join("\n")),null!=c&&0<c.leng… argument
10493 2)),{to:"string"}).replace(/\+/g," "),null!=b&&0<b.length&&(c=b))):"tEXt"==f&&(b=b.split(String.fro… argument
10494 …t(d[0])));return null!=f?mxUtils.trim(f):f};Editor.addRetryToError=function(b,c){if(null!=b){var f… argument
10503 b.maxImageBytes);null!=b.maxImageSize&&(EditorUi.prototype.maxImageSize=b.maxImageSize)}};Editor.co… argument
10504 e.setAttribute("rel","preload");e.setAttribute("href",d);e.setAttribute("as","font");e.setAttribute… argument
10508 !0:this.originalNoForeignObject;this.graph.useCssTransforms=!mxClient.NO_FO&&this.isChromelessView(… argument
10509 this.graph.extFonts.length&&(this.graph.extFonts=[])}b.apply(this,arguments)}else throw{message:mxR… argument
10510 c);null!=d&&f.setAttribute("backgroundImage",JSON.stringify(d));f.setAttribute("math",this.graph.ma… argument
10511 c.charAt(0)&&(c=unescape(window.atob?atob(c):Base64.decode(cont,c))),null!=c&&"%"==c.charAt(0)&&(c=… argument
10513 !0:this.originalNoForeignObject;this.graph.useCssTransforms=!mxClient.NO_FO&&this.isChromelessView(… argument
10514 [];Editor.doMathJaxRender=function(b){window.setTimeout(function(){"hidden"!=b.style.visibility&&Ma… argument
10515 MathJax.Hub.Register.StartupHook("Begin",function(){for(var b=0;b<Editor.mathJaxQueue.length;b++)Ed… argument
10517 Editor.prototype.csvToArray=function(b){if(!/^\s*(?:'[^'\\]*(?:\\[\S\s][^'\\]*)*'|"[^"\\]*(?:\\[\S\… argument
10518 '"')):void 0!==e&&c.push(e);return""});/,\s*$/.test(b)&&c.push("");return c};Editor.prototype.isCor… argument
10519 function(){var b=new mxUrlConverter;b.updateBaseUrl();var c=b.convert,f=this;b.convert=function(d){… argument
10520b)))};Editor.prototype.convertImageToDataUri=function(b,c){try{var f=!0,d=window.setTimeout(mxUtil… argument
10521 if(f)try{var b=document.createElement("canvas"),l=b.getContext("2d");b.height=e.height;b.width=e.wi… argument
10522 function(f){try{if(null!=f){var g=d.convert(f.getAttribute(m));if(null!=g&&"data:"!=g.substring(0,5… argument
10524 2);c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((e&3)<<4|(l&240)>>4… argument
10525 function(){mxUtils.get(b,mxUtils.bind(this,function(b){if(200<=b.getStatus()&&299>=b.getStatus()){i… argument
10526 b):f({message:mxResources.get("error")+" "+b.getStatus()},b))}),function(b){null!=f&&f({message:mxR… argument
10527 e=null;null!=d&&0<d.length&&(e=d[0].getAttribute("href"));for(var l=1;l<f.length;l++)if(d=f[l].inde… argument
10528 var e=mxUtils.bind(this,function(){if(0==d){for(var b=[f[0]],e=1;e<f.length;e++){var l=f[e].indexOf… argument
10530 (f=PROXY_URL+"?url="+encodeURIComponent(b));this.loadUrl(f,mxUtils.bind(this,function(c){this.cache… argument
10531 …null==this.cachedGoogleFonts&&(this.cachedGoogleFonts={});for(var e=mxUtils.bind(this,function(){0… argument
10532 b+'";src: url("'+c+'")}'})(c[l].name,c[l].url);e()}else b()};Editor.prototype.addMathCss=function(b… argument
10533 d.createElementNS(mxConstants.NS_SVG,"defs"):d.createElement("defs"),null!=b.firstChild?b.insertBef… argument
10534 return Math.min(f,Math.min(d/b,d/c))};Editor.prototype.exportToCanvas=function(b,c,f,d,e,l,m,g,p,k,… argument
10536 g&&y.scale(g,g);if(u){var v=t.view,B=v.scale;v.scale=1;var A=btoa(unescape(encodeURIComponent(v.cre… argument
10537 function(b){null!=e&&e(b)};L.src=A}else m()}catch(wa){null!=e&&e(wa)}});d.onerror=function(b){null!… argument
10538 e&&e(ea)}}),f,q)}catch(ha){null!=e&&e(ha)}};Editor.crcTable=[];for(var g=0;256>g;g++)for(var k=g,n=… argument
10539 p)}function m(b){b=l(b,4);return b.charCodeAt(3)+(b.charCodeAt(2)<<8)+(b.charCodeAt(1)<<16)+(b.char… argument
10541 var f=ColorDialog.addRecentColor;ColorDialog.addRecentColor=function(b,c){f.apply(this,arguments);m… argument
10543 return"1"==urlParams.embed||null!=b&&b.isEditable()};DiagramFormatPanel.prototype.isMathOptionVisib… argument
10544 !0;d.shadowVisible=b;f.model.execute(d)},{install:function(b){this.listener=function(){b(f.shadowVi… argument
10545 f=c.editor.graph;if(f.isEnabled()){var d=c.getCurrentFile();if(null!=d&&d.isAutosaveOptional()){var… argument
10546 …es.get("mathematicalTypesetting"),function(){return f.mathEnabled},function(b){c.actions.get("math… argument
10568 gradient:"#ea6b66"},{fill:"#e6d0de",stroke:"#996185",gradient:"#d5739d"}],[{fill:"",stroke:""},{fil… argument
10571 e);for(e=0;e<d.length;e++)this.findCommonProperties(d[e],c,0==f.length&&0==e);null!=Object.getOwnPr… argument
10572 …;f.style.marginBottom="2px";f.style.width="104px";f.style.marginRight="2px";b.appendChild(f);0<c.c… argument
10573 f.style.width="210px";mxUtils.br(b);return v.apply(this,arguments)};EditorUi.prototype.propertiesCo… argument
10575 typeof f.onChange)f.onChange(t,c);q.editorUi.fireEvent(new mxEventObject("styleChanged","keys",e,"v… argument
10576 "4px";e.style.margin="2px";e.style.border="1px solid black";e.style.background=c&&"none"!=c?c:"url(… argument
10578 function g(b,c,f,d,e,l,m){if(0<e){var g=Array(e);c=null!=c?c.split(","):[];for(var p=0;p<e;p++)g[p]… argument
10583 (m.min=parseFloat(k.min)),null!=k.max&&(m.max=parseFloat(k.max)));b.appendChild(m);mxEvent.addListe… argument
10588 …ze:u.size},0==f%2,u.flipBkg),c.parentNode.insertBefore(D,c.nextSibling),c=D;b.appendChild(y);A();r… argument
10590 p.style.display="inline-block";p.style.width="6px";p.style.height="6px";p.style.marginLeft="4px";p.… argument
10591 "transparent"),this.format.currentScheme=b,q(this.defaultColorSchemes[this.format.currentScheme]),m… argument
10600 1<this.defaultColorSchemes.length&&(b.appendChild(t),b.appendChild(n));mxEvent.addListener(n,"click… argument
10601 function(b){this.editorUi.actions.get("editStyle").funct()})),f.setAttribute("title",mxResources.ge… argument
10602 …0px":(f.style.width="104px",c.style.width="104px",c.style.marginLeft="2px"),b.appendChild(c)):c.im… argument
10603 b.appendChild(c));return b}}Graph.customFontElements={};Graph.recentCustomFonts={};Graph.isGoogleFo… argument
10604 mxUtils.write(f,'@font-face {\nfont-family: "'+b+'";\nsrc: url("'+c+'");\n}'));return f};Graph.addF… argument
10605 …appendChild(e.elt)):null!=f&&f()}else null!=f&&f()}else null!=f&&f();return b};Graph.getFontUrl=fu… argument
10606 b[c].getAttribute("face"):b[c].style.fontFamily;null!=d&&Graph.addFont(d,f)}}};Graph.processFontSty… argument
10607 …bled=!1;var x=Graph.prototype.init;Graph.prototype.init=function(){function b(b){c=b}x.apply(this,… argument
10608 null;mxEvent.addListener(this.container,"mouseenter",b);mxEvent.addListener(this.container,"mousemo… argument
10610 function(b){this.replaceDefaultColors(b);return Graph.processFontStyle(A.apply(this,arguments))};Gr… argument
10611 mxConstants.STYLE_IMAGE_BACKGROUND,c);this.replaceDefaultColor(b,mxConstants.STYLE_LABEL_BORDERCOLO… argument
10612butes(this.node)};Graph.prototype.createTagsDialog=function(b,c,f){function d(){for(var b=m.getSel… argument
10613 …"fixed";l.style.width="100%";var p=document.createElement("tbody");if(null!=b&&0<b.length)for(var … argument
10619 "border-box";k.style.borderRadius="4px";k.style.userSelect="none";k.style.overflow="auto";k.style.p… argument
10620 …ar t=mxUtils.button(mxResources.get("add"),function(){null!=f&&f(g,function(b){g=b;n()})});t.setAt… argument
10622 Graph.customFontElements[c];b.push({name:f.name,url:f.url})}return b};Graph.prototype.setFont=funct… argument
10624 {}};var C=Graph.prototype.getGlobalVariable;Graph.prototype.getGlobalVariable=function(b){var c=C.a… argument
10625 function(b,c,f,d,e,l,m,g,p,k,q,t,n,y){var u=null,v=null,B=null;t||null==this.themes||"darkTheme"!=t… argument
10627 …pe.createSvgImageExport;Graph.prototype.createSvgImageExport=function(){var b=G.apply(this,argumen… argument
10631 arguments);this.currentStyle="default-style2"};Graph.prototype.handleCustomLink=function(b){"data:a… argument
10637 …(),null!=c&&c()});p()}};Graph.prototype.doUpdateCustomLinksForCell=function(b,c){var f=this.getLin… argument
10638 …/json,"==f.substring(0,17)&&(e[m].setAttribute("href",this.updateCustomLink(b,f)),l=!0);l&&this.la… argument
10639 c.length;f++){var d=c[f],e;for(e in d)this.updateCustomLinkAction(b,d[e],"cells"),this.updateCustom… argument
10640 [],e=0;e<f.length;e++)0>b.excludeCells.indexOf(f[e].id)&&d.push(f[e]);f=d}return f};Graph.prototype… argument
10641 Graph.prototype.isAllTagsHidden=function(b){if(null==b||0==b.length||0==this.hiddenTags.length)retu… argument
10642 …r p=this.getTagsForCell(c[g]),k=!1;if(0<p.length&&(p=p.split(" "),p.length>=b.length)){for(var q=k… argument
10643 …(e[m]);c=l}else return[]}return f};Graph.prototype.getTagsForCells=function(b){for(var c=[],f={},d… argument
10644 b.length&&0<c.length){this.model.beginUpdate();try{for(var f=0;f<b.length;f++){for(var d=this.getTa… argument
10645 …tils.indexOf(e,c[m]);0<=g&&(e.splice(g,1),l=!0)}l&&this.setAttributeForCell(b[f],"tags",e.join(" "… argument
10646 Graph.prototype.highlightCells=function(b,c,f,d){for(var e=0;e<b.length;e++)this.highlightCell(b[e]… argument
10647 …t(function(){l.destroy()},1200)},f)}};Graph.prototype.addSvgShadow=function(b,c,f,d){f=null!=f?f:!… argument
10651 parseInt(b.getAttribute("height"))+6),c=b.getAttribute("viewBox"),null!=c&&0<c.length&&(c=c.split("… argument
10663 "/pid/misc.xml"];mxStencilRegistry.libraries.pid2valves=[SHAPES_PATH+"/pid2/mxPidValves.js"];mxSten… argument
10664 …il(q)}return M.apply(this,arguments)};PrintDialog.prototype.create=function(b,c){function f(){y.va… argument
10668 if("undefined"!==typeof MathJax){var z=f.renderPage;f.renderPage=function(c,f,d,e,l,m){var g=mxClie… argument
10687 (function(){var b=new mxObjectCodec(new ChangePageSetup,["ui","previousColor","previousImage","prev… argument
10691 noteMargin:10,messageMargin:35,mirrorActors:!0,bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,show… argument
10693 …ponent(g.stack):"")}}catch(x){}try{n||null==window.console||console.error(k,b,c,d,e,g)}catch(x){}}… argument
10694 "")}catch(m){}};EditorUi.sendReport=function(b,c){if("1"==urlParams.dev)EditorUi.debug("sendReport"… argument
10695b.push(arguments[c]);console.log.apply(console,b)}}catch(m){}};EditorUi.parsePng=function(b,c,d){f… argument
10696 m)break}while(d)}};EditorUi.removeChildNodes=function(b){for(;null!=b.firstChild;)b.removeChild(b.f… argument
10700 function(b,c,d){return this.editor.graph.openLink(b,c,d)};EditorUi.prototype.showSplash=function(b)… argument
10701 b;this.fireEvent(new mxEventObject("mathEnabledChanged"))};EditorUi.prototype.isMathEnabled=functio… argument
10704 g.innerHTML=m,d.appendChild(g),e.status=g),this.pause=mxUtils.bind(this,function(){var b=function()… argument
10705 …rerror").length}catch(p){}return!1};EditorUi.prototype.isVisioData=function(b){return 8<b.length&&… argument
10706 function(b){return 8<b.length&&(208==b.charCodeAt(0)&&207==b.charCodeAt(1)&&17==b.charCodeAt(2)&&22… argument
10707 26==b.charCodeAt(6)&&10==b.charCodeAt(7)};var b=EditorUi.prototype.createKeyHandler;EditorUi.protot… argument
10709 …actGraphModelFromHtml;EditorUi.prototype.extractGraphModelFromHtml=function(b){var c=e.apply(this,… argument
10710 …tXml(k):""}catch(u){}return c};EditorUi.prototype.validateFileData=function(b){if(null!=b&&0<b.len… argument
10713 EditorUi.prototype.createFileData=function(b,c,d,e,g,k,n,v,x,A,z){c=null!=c?c:this.editor.graph;g=n… argument
10716etPrettyXml(m):mxUtils.getXml(m);if(!k&&!g&&(n||null!=d&&/(\.html)$/i.test(d.getTitle())))z=this.g… argument
10717 if(b&&null!=this.fileNode&&null!=this.currentPage)if(b=function(b){var c=b.getElementsByTagName("mx… argument
10720 Graph.compressNode(g))));b(m)}return f};EditorUi.prototype.anonymizeString=function(b,c){for(var f=… argument
10721 function(b){if(null!=b[EditorUi.DIFF_INSERT])for(var c=0;c<b[EditorUi.DIFF_INSERT].length;c++)try{v… argument
10722 (e.name=this.anonymizeString(e.name));null!=e.cells&&(c=mxUtils.bind(this,function(b){var c=e.cells… argument
10723 delete b[EditorUi.DIFF_UPDATE][d]}0==Object.keys(b[EditorUi.DIFF_UPDATE]).length&&delete b[EditorUi… argument
10725 f[d].parentNode.parentNode.replaceChild(f[d],f[d].parentNode));return b};EditorUi.prototype.synchro… argument
10726 function(b){c.handleFileError(b,!0)})):c.synchronizeFile(mxUtils.bind(this,function(){c.handleFileS… argument
10727 …etBackgroundImage(p.viewState.backgroundImage);f.getGlobalVariable=function(b){return"page"==b?p.g… argument
10728 k,A,z);x=null!=x?x:this.getCurrentFile();b=this.createFileData(n,f,x,window.location.href,b,c,d,e,g… argument
10731 e+"</div>\n</div>\n"+(null==g?'<script type="text/javascript" src="'+l+'">\x3c/script>':'<a style="… class in popupMenuHandler.AnonymousFunction9bd35d6bebf00
10734 function(b){b=this.validateFileData(b);this.pages=this.fileNode=this.currentPage=null;b=null!=b&&0<… argument
10737 !1)}}catch(x){}};EditorUi.prototype.getBaseFilename=function(b){var c=this.getCurrentFile(),c=null!… argument
10738 this.currentPage.getName());return c};EditorUi.prototype.downloadFile=function(b,c,d,e,g,k,n,v,x,A,… argument
10739 b||!this.spinner.spin(document.body,mxResources.get("export")))"xmlpng"==b?l=f+".png":"jpeg"==b&&(l… argument
10740 mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(p)}))});if("svg"==b){var q=this… argument
10741 t(b)}),e)}}catch(I){this.handleError(I)}};EditorUi.prototype.createDownloadRequest=function(b,c,d,e… argument
10743 A+"&xml="+encodeURIComponent(d)+(null!=b?"&filename="+encodeURIComponent(b):"")+"&extras="+encodeUR… argument
10744 …efaultFilename,!0);d.getHash=function(){return f};this.fileLoaded(d);"csv"==b.format&&this.importC… argument
10745 function(b){c===this.currentPage&&(200<=b.getStatus()&&300>=b.getStatus()?(this.updateDiagram(b.get… argument
10746 mxUtils.bind(this,function(b){null!=d&&d(b)})):e("")};EditorUi.prototype.updateDiagram=function(b){… argument
10750 0),parseFloat(b.getAttribute("dy")||0))}else"fit"==b.nodeName&&(k=b.hasAttribute("max-scale")?parse… argument
10751 …n f=mxResources.get("copyOf",[f])+d};EditorUi.prototype.fileLoaded=function(b,c){var f=this.getCur… argument
10757 function(b,c){var f=0,d=new mxGraphModel,e=new mxCodec;null!=c&&(c.byteCount=0,c.attrCount=0,c.eltC… argument
10758 f=(f<<5)-f+this.hashValue(g,function(b,c,f,d){return!d||"mxGeometry"!=b.nodeName&&"mxPoint"!=b.node… argument
10760 …pe.restoreLibraries=function(){};EditorUi.prototype.saveLibrary=function(b,c,d,e,g,k,n){};EditorUi… argument
10761 EditorUi.prototype.createLibraryDataFromImages=function(b){var c=mxUtils.createXmlDocument(),f=c.cr… argument
10762 …c.length;f++)c[f].parentNode.removeChild(c[f]);delete this.sidebar.palettes[b]}};EditorUi.prototyp… argument
10763 mxUtils.parseXml(b.getData());if("mxlibrary"==f.documentElement.nodeName){var d=JSON.parse(mxUtils.… argument
10765 d,null!=e?e:!0,mxUtils.bind(this,function(b){m(c,b)}));this.repositionLibrary(f);var k=g.parentNode… argument
10769 mxEvent.addListener(B,"click",mxUtils.bind(this,function(f){this.saveLibrary(b.getTitle(),c,b,b.get… argument
10770 k.translate(-f.x,-f.y)}g.appendChild(this.sidebar.createVertexTemplateFromCells(b,f.width,f.height,… class in popupMenuHandler.AnonymousFunction9bd35d6bee900.AnonymousFunction9bd35d6bef300
10771 …t/=d;f.x-=y.view.translate.x;f.y-=y.view.translate.y;E(c,f)}mxEvent.consume(b)});mxEvent.addGestur… argument
10772 "#f1f3f4",g.style.cursor="copy",y.panningManager.stop(),y.autoScroll=!1,mxEvent.consume(b))}),mxUti… argument
10773 null!=y.graphHandler.hint&&(y.graphHandler.hint.style.visibility="visible"),g.style.backgroundColor… argument
10774 this.importFiles(b.dataTransfer.files,0,0,this.maxImageSize,mxUtils.bind(this,function(f,d,e,k,p,n,… argument
10776 q=this.editor.graph.getBoundingBoxFromGeometry(n);E(n,new mxRectangle(0,0,q.width,q.height),b)}u=!0… argument
10777 …sRemoteFileFormat(f,q)&&null!=y?this.parseFile(y,mxUtils.bind(this,function(b){4==b.readyState&&(t… argument
10778 b.preventDefault()}));n=n.cloneNode(!1);n.setAttribute("src",Editor.editImage);n.setAttribute("titl… argument
10779 (e=document.createElement("span"),e.setAttribute("title",mxResources.get("help")),e.style.cssText="… argument
10780 e=d.data;if(null!=e){var e=this.convertDataUri(e),l="shape=image;verticalLabelPosition=bottom;verti… argument
10784e:"14",endSize:"14",sourcePerimeterSpacing:"8",targetPerimeterSpacing:"8"},Editor.configurationKey… argument
10785 Graph.fileSupport?480:360,Graph.fileSupport?200:90,!0,!0);b.init()};EditorUi.prototype.showBackgrou… argument
10786 mxUtils.bind(this,function(b){b&&null==this.getCurrentFile()&&"1"!=urlParams.embed&&this.showSplash… argument
10787 "absolute";b.style.overflow="hidden";var c=document.createElement("a");c.className="geTitle";c.styl… argument
10788 …function(b){this.actions.get("shapes").funct();mxEvent.consume(b)}));b.appendChild(c);return b};Ed… argument
10791 …itor.graph.openLink("https://drive.google.com/open?id="+q);this.handleError(b,c,d,e,g)}),p,mxResou… function
10793 …ve.authorize(d,mxUtils.bind(this,function(){d||(c=this.drive.getUsersList(),b())}),mxUtils.bind(th… argument
10795 …ll,null,null,e?d:null)}else null!=d&&d()};EditorUi.prototype.alert=function(b,c,d){b=new ErrorDial… argument
10796 b.init()};EditorUi.prototype.confirm=function(b,c,d,e,g,k){var f=null!=this.spinner&&null!=this.spi… argument
10800 l.style.paddingBottom="30px";l.appendChild(c)}var k=mxUtils.bind(this,function(){null!=l.parentNode… argument
10801 function(){k()}),1E3)});mxEvent.addListener(l,"click",mxUtils.bind(this,function(b){var c=mxEvent.g… argument
10802 …ditor.isExportToCanvas()};EditorUi.prototype.createImageDataUri=function(b,c,d,e){b=b.toDataURL("i… argument
10803 c,d,g);this.saveData(e,f,b.substring(b.lastIndexOf(",")+1),"image/"+d,!0)};EditorUi.prototype.isLoc… argument
10804extarea.style.height="380px";this.showDialog(f.container,620,460,!0,!0,null,null,null,null,!0);f.i… argument
10806 …],10):!1)?!1:k}if(k||this.isOffline()){f.href=URL.createObjectURL(e?this.base64ToBlob(b,d):new Blo… argument
10807 b+(null!=d?"&mime="+d:"")+(null!=g?"&format="+g:"")+(null!=k?"&base64="+k:"")+(null!=c?"&filename="… argument
10810 function(b,c,d){var f=window.open("about:blank");null==f||null==f.document?mxUtils.popup(b,!0):("im… argument
10811 …w.location.hostname)};EditorUi.prototype.addChromelessToolbarItems=function(b){if(null!=urlParams.… argument
10817 …nvas()&&this.isChromelessImageExportEnabled()){this.exportDialog=null;var d=b(mxUtils.bind(this,fu… argument
10820 function(b){e.stop();this.exportDialog.style.width="auto";this.exportDialog.style.height="auto";thi… argument
10821 …openInNewWindow(f.substring(f.indexOf(",")+1),"image/png",!0);c.apply(this,arguments)}))}),null,th… argument
10822 this.saveLocalFile(d,b,e,g,c):this.saveRequest(b,c,mxUtils.bind(this,function(b,f){return this.crea… argument
10824 function(b){this.spinner.stop();this.handleError(b)})})))}}),mxUtils.bind(this,function(){this.hide… argument
10825 c,d){c(null)};EditorUi.prototype.exportSvg=function(b,c,d,e,g,k,n,v,x,A,z,B,y,C){if(this.spinner.sp… argument
10826 this.getBaseFilename()+(g?".drawio":"")+".svg";C=null!=C?C:mxUtils.bind(this,function(b){this.isLoc… argument
10827 "\n":"")+Graph.svgDoctype+"\n"+mxUtils.getXml(b))});this.editor.graph.mathEnabled&&this.editor.addM… argument
10828 …ement("input");f.style.marginRight="8px";f.style.marginTop="16px";f.setAttribute("type",n?"radio":… argument
10830 …"custom");mxUtils.write(d,mxResources.get("custom")+"...");l.appendChild(d);b.appendChild(l);mxEve… argument
10831 c.checked)?l.removeAttribute("disabled"):l.setAttribute("disabled","disabled")}));mxUtils.br(b);ret… argument
10833 e.setAttribute("value","self");mxUtils.write(e,mxResources.get("openInThisWindow"));d.appendChild(e… argument
10834ent.IS_FF?"4px 2px 4px 2px":"4px";g.style.marginLeft="4px";g.style.height="22px";g.style.width="22… argument
10835 "1"!=urlParams.dev||n.push("lightbox=1"),"auto"!=b&&n.push("target="+b),null!=c&&c!=mxConstants.NON… argument
10837 "1"!=urlParams.dev?EditorUi.lightboxHost:mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||!/.*\.draw\… argument
10839 '"></div>';b=null!=b?"&fetch="+encodeURIComponent(b):"";B(c,'<script type="text/javascript" src="'+… argument
10844etAttribute("disabled","disabled");I.checked&&D.checked?H.getEditSelect().removeAttribute("disable… argument
10847 mxEvent.addListener(p,"click",mxUtils.bind(this,function(){this.spinner.spin(document.body,mxResour… argument
10851 null!=t?t.value:null,I.checked)}),null,mxResources.get("create"),n);this.showDialog(c.container,340… argument
10854 …ked,null!=n?n.checked:!1,null!=q?q.checked:!1,b,c)}),null,b,c);this.showDialog(b.container,300,(g?… argument
10862e);this.showDialog(d.container,340,m,!0,!0,null,null,null,null,!0);q.focus();mxClient.IS_GC||mxCli… argument
10865 …c.container,280,300,!0,!0)};EditorUi.prototype.createEmbedImage=function(b,c,d,e,g,k,n,v){function… argument
10866 …edit=_blank":"")+(k?"&layers=1":"")+"');}})(this);\"",p+="cursor:pointer;");b&&(p+="max-width:100%… argument
10867 this.createImageDataUri(b,c,"png");f(b)}),null,null,null,mxUtils.bind(this,function(b){v({message:m… argument
10868 299>=q.getStatus()?f("data:image/png;base64,"+q.getText()):v({message:mxResources.get("unknownError… argument
10870 "")+"');}})(this);\"",t+="cursor:pointer;");b&&(t+="max-width:100%;");this.editor.convertImages(f,m… argument
10871 …edit=_blank":"")+(k?"&layers=1":"")+"');}}})(this);"),t+="cursor:pointer;"),b&&(b=parseInt(f.getAt… argument
10872 Math.floor((new Date-b)/1E3);var c=Math.floor(b/31536E3);if(1<c)return c+" "+mxResources.get("years… argument
10873 b;else if("mxfile"==b.nodeName){var d=b.getElementsByTagName("diagram");if(0<d.length){var f=d[0],e… argument
10874 b){if(b.hasAttribute("scale")){var d=parseFloat(b.getAttribute("scale"));!isNaN(d)&&0<d&&(c=d)}b.ha… argument
10875 …reateTemporaryGraph(l?f.getDefaultStylesheet():f.getStylesheet()),k=f.getGlobalVariable;f.setBackg… argument
10876 arguments)};document.body.appendChild(f.container);f.model.setRoot(p.root)}this.editor.exportToCanv… argument
10877 c(b)}),null,null,e,null,f.shadowVisible,null,f,g,null,null,null,"diagram",null)}catch(z){null!=c&&c… argument
10878 (e?"":Graph.xmlDeclaration+"\n"+Graph.svgFileComment+"\n"+Graph.svgDoctype+"\n")+mxUtils.getXml(b);… argument
10879 this.editor.embedExtFonts(mxUtils.bind(this,function(f){try{null!=f&&this.editor.addFontCss(b,f),c(… argument
10880 g?this.getFileData(!0,null,null,null,d,v):null,x,null==this.pages||0==this.pages.length,z)}catch(G)… argument
10883 …model.execute(new ChangePage(this,G,G,E,!0));k.push(G)}this.updatePageLinks(b,k)}}if(null!=p&&"mxG… argument
10884 0;f<c.length;f++)this.updatePageLinksForCell(b,c[f].root)};EditorUi.prototype.updatePageLinksForCel… argument
10885 0;k<d.model.getChildCount(c);k++)this.updatePageLinksForCell(b,d.model.getChildAt(c,k))};EditorUi.p… argument
10886e/id,"+f:null==this.getPageById(g)&&delete l.open}}c="data:action/json,"+JSON.stringify(d)}}catch(… argument
10888 p.open("POST",VSD_CONVERT_URL+(/(\.vss|\.vsx)$/.test(e)?"?stencil=1":""));p.responseType="blob";thi… argument
10890 f))};EditorUi.prototype.importGraphML=function(b,c,d){d=null!=d?d:mxUtils.bind(this,function(b){thi… argument
10891 function(b){var c=mxUtils.bind(this,function(){this.loadingExtensions=!1;if("undefined"!==typeof Vs… argument
10892 function(b,c,d){var f=mxUtils.bind(this,function(){this.loadingExtensions=!1;if("undefined"!==typeo… argument
10893 window.setTimeout(f,0):(this.loadingExtensions=!0,"1"==urlParams.dev?mxscript("js/diagramly/Extensi… argument
10894 …ialize(c),mermaid.mermaidAPI.render("geMermaidOutput-"+(new Date).getTime(),b,function(b){try{if(m… argument
10895 …0].getAttribute("viewBox").split(/\s+/),l=parseFloat(k[2]),g=parseFloat(k[3])}catch(B){l=l||100,g=… argument
10896 c,d,e){function f(b,c,f){c1=b>>2;c2=(b&3)<<4|c>>4;c3=(c&15)<<2|f>>6;c4=f&63;r="";r+=l(c1&63);r+=l(c… argument
10897 b.charCodeAt(i+1),0):i+1==b.length?r+f(b.charCodeAt(i),0,0):r+f(b.charCodeAt(i),b.charCodeAt(i+1),b… argument
10898 1)))),p=mxUtils.parseXml(m).getElementsByTagName("svg");0<p.length&&(b=parseFloat(p[0].getAttribute… argument
10899 !0)}finally{f.getModel().endUpdate()}return e};EditorUi.prototype.insertTextAt=function(b,c,d,e,g,k… argument
10901 26)?(l=b.substring(b.indexOf(",")+1),l=window.atob&&!mxClient.IS_SF?atob(l):Base64.decode(l,!0)):l=… argument
10903 null,b,f.snap(c),f.snap(d),1,1,"text;"+(e?"html=1;":"")),f.updateCellSize(l),f.fireEvent(new mxEven… argument
10905 …endUpdate()}return[g]}}return[]};EditorUi.prototype.formatFileSize=function(b){var c=-1;do b/=1024… argument
10906 b.substring(0,c)+b.substring(b.indexOf(",",c+1)))}return b};EditorUi.prototype.isRemoteFileFormat=f… argument
10907 "file");mxEvent.addListener(d,"change",mxUtils.bind(this,function(){null!=d.files&&(this.importFile… argument
10908 b,c,d)});window.deleteBrowserFile=mxUtils.bind(this,function(b,c,d){StorageFile.deleteFile(this,b,c… argument
10909 null,c)}else this.editor.graph.setSelectionCells(this.importXml(b,0,0,!0))}));this.showDialog((new … argument
10910 function(){this.loadingExtensions=!1;"undefined"!==typeof JSZip?JSZip.loadAsync(b).then(function(e)… argument
10911 {type:"application/octet-stream"}),mxUtils.bind(this,function(b){4==b.readyState&&(200<=b.status&&2… argument
10913 …ackgroundColor=#ffffff;verticalAlign=top;aspect=fixed;imageAspect=0;image="+b+";")])):/(\.*<graphm… argument
10914 b.readyState&&(200<=b.status&&299>=b.status?m(b.responseText):null!=v&&v(null))}),n)):0==b.indexOf(… argument
10915e?e:this.maxImageSize;A=null!=A?A:this.maxImageBytes;var f=null!=c&&null!=d,l=!0;c=null!=c?c:0;d=n… argument
10916 b,k)),null):this.importFile(b,c,d,e,l,g,k,m,p,f,B,y)}catch(pa){return this.handleError(pa),null}});… argument
10917 0;C<q;C++)mxUtils.bind(this,function(f){var k=b[f];if(null!=k){var q=new FileReader;q.onload=mxUtil… argument
10922 b.target.result,mxUtils.bind(this,function(b,m,n){D(f,mxUtils.bind(this,function(){if(null!=b&&b.le… argument
10923 function(b){D(f,function(){return b})},k)});/(\.v(dx|sdx?))($|\?)/i.test(k.name)||/(\.vs(x|sx?))($|… argument
10924 …mxSettings.getResizeImages():null,e=function(f,e){if(f||c)mxSettings.setResizeImages(f?e:null),mxS… argument
10925 ….IS_CHROMEAPP?220:200,!0,!0):e(!1,f)};EditorUi.prototype.parseFile=function(b,c,d){d=null!=d?d:b.n… argument
10926 c){c=null!=c?c:this.resampleThreshold;return b>c};EditorUi.prototype.resizeImage=function(b,c,d,e,g… argument
10927 …}}}catch(E){}d(c,f,l)};EditorUi.prototype.extractGraphModelFromPng=function(b){return Editor.extra… argument
10928 !this.isOfflineApp();this.isSettingsEnabled()&&("1"==urlParams.sketch&&this.doSetSketchMode(null!=m… argument
10929 …,mxResources.get("inserting"))&&b.generatePlantUmlImage(f,g.format,function(e,l,k){b.spinner.stop(… argument
10930 …ontainer,420,300,!0,!0);f.init()};c.cellEditor.editMermaidData=function(d,f,e){var g=JSON.parse(e)… argument
10931 l),m.height=Math.max(m.height,k),c.cellsResized([d],[m],!1));c.setAttributeForCell(d,"mermaidData",… argument
10932 …f,e,g);else{var l=c.getCellStyle(f);"1"==mxUtils.getValue(l,"metaEdit","0")?b.showDataDialog(f):d.… argument
10933 …oundImage;c.setBackgroundImage=function(c){null!=c&&null!=c.originalSrc&&(c=b.createImageForPageLi… argument
10936 this.editor.getEditBlankUrl=function(b){b=null!=b?b:"";"1"==urlParams.dev&&(b+=(0<b.length?"&":"?")… argument
10937 …type.addPopupMenuEditItems;this.menus.addPopupMenuEditItems=function(c,d,f){b.editor.graph.isSelec… method
10939 "page"==c&&null!=b.currentPage?b.currentPage.getName():"pagenumber"==c?null!=b.currentPage&&null!=b… argument
10941 !0,"editGeometry",!0),this.keyHandler.bindAction(88,!0,"insertText",!0),this.keyHandler.bindAction(… argument
10942 f&&(f.parentNode.removeChild(f),f=null);b.stopPropagation();b.preventDefault()}),mxEvent.addListene… argument
10943 g,l)},function(){},function(b){return"image/"==b.type.substring(0,6)},function(b){for(var c=0;c<b.l… argument
10945 function(b,c){mxSettings.setUnit(c.getProperty("unit"));mxSettings.save()}),this.ruler=!this.canvas… argument
10946 …tyle.left="2px",this.styleInput.style.width="98%",this.styleInput.style.visibility="hidden",this.s… argument
10947 …etModel().getStyle(d);this.styleInput.value=d||"";this.styleInput.style.visibility="visible"}else … argument
10948 "dragleave",function(b){c.isEnabled()&&(null!=G&&(G.parentNode.removeChild(G),G=null),b.stopPropaga… argument
10951 !0)):(f=d.getElementsByTagName("a"),null!=f&&1==f.length?m=f[0].getAttribute("href"):(d=d.getElemen… argument
10952 mxUtils.bind(this,function(b){var d=Math.max(1,b.width);b=Math.max(1,b.height);var f=this.maxImageS… argument
10954 …l=g[index];if("file"===l.kind){if(b.isEditing())this.importFiles([l.getAsFile()],0,0,this.maxImage… argument
10956 "hidden";d.style.display="block";d.style.fontSize="1";d.style.zIndex="-1";d.style.resize="none";d.s… argument
10957 c.isEditing()||null!=this.dialog||"INPUT"==f.nodeName||"TEXTAREA"==f.nodeName||224!=b.keyCode&&(mxC… argument
10959 "paste",mxUtils.bind(this,function(b){c.isEnabled()&&!c.isCellLocked(c.getDefaultParent())&&(d.inne… argument
10960 "...")&&window.setTimeout(mxUtils.bind(this,function(){this.spinner.stop();this.doSetSketchMode(b);… argument
10961 b&&(Editor.inlineFullscreen=b,this.fireEvent(new mxEventObject("inlineFullscreenChanged")),(window.… argument
10965 …eStyle);this.clearDefaultStyle()}};EditorUi.prototype.getLinkTitle=function(b){var c=Graph.prototy… argument
10967 if(isLocalStorage)try{window.addEventListener("storage",mxUtils.bind(this,function(b){b.key==mxSett… argument
10968 …Changed"));this.addListener("copyConnectChanged",mxUtils.bind(this,function(b,c){mxSettings.setCre… argument
10969 mxSettings.getPageFormat();this.addListener("pageFormatChanged",mxUtils.bind(this,function(b,c){mxS… argument
10970 mxUtils.bind(this,function(b,c){mxSettings.setAutosave(this.editor.autosave);mxSettings.save()})),t… argument
10971 …is.formatWidth);mxSettings.save()})}};EditorUi.prototype.copyImage=function(b,c,d){try{null!=navig… argument
10972 this.writeImageToClipboard(f,e,g,mxUtils.bind(this,function(b){this.handleError(b)}))}catch(x){this… argument
10973 1),"image/png");b=new ClipboardItem({"image/png":f,"text/html":new Blob(['<img src="'+b+'" width="'… argument
10974 e,d.pasteCounter=0);b.focus();document.execCommand("selectAll",!1,null)}};EditorUi.prototype.copyXm… argument
10976 f.getInsertPoint(),f.isMouseInsertPoint()&&(l=0,f.lastPasteXml==b&&0<f.pasteCounter&&f.pasteCounter… argument
10978 null!=d&&0<d.length&&(this.convertLucidChart(d,mxUtils.bind(this,function(b){var c=this.editor.grap… argument
10979 g.length-3&&(g=g.substring(0,n+3))}catch(B){}try{l=f.getElementsByTagName("span"),m=null!=l&&0<l.le… argument
10980 null,d=0;d<b.length;d++)mxEvent.addListener(b[d],"dragleave",function(b){null!=c&&(c.parentNode.rem… argument
10983 …,"format=xml&data="+encodeURIComponent(d))).send(mxUtils.bind(this,function(b){200<=b.getStatus()&… argument
10984 "#U"+encodeURIComponent(d)))))}else this.openLocalFile(d,null,!0)}b.stopPropagation();b.preventDefa… argument
10985 ….style.width=Math.max(0,f-3)+"px";g.style.height=Math.max(0,e-3)+"px";null!=b&&b.parentNode==this.… argument
10986 …for(d=0;d<f.getChildCount(c);d++)b.push(f.getChildAt(c,d))}return b};EditorUi.prototype.openFileHa… argument
10987 …agramXml,this.defaultFilename,e);try{this.loadLibrary(new LocalLibrary(this,b,c))}catch(x){this.ha… argument
10988 !this.isOffline()&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(b,c))this.parseFile(d,mxUti… argument
10989 this.openLocalFile(b,c,e)}),mxUtils.bind(this,function(b){this.spinner.stop();this.handleError(b)})… argument
10990 mxUtils.bind(this,function(){this.spinner.stop();this.openLocalFile(b,c,e)}));else{if("image/png"==… argument
10991 d.onload=mxUtils.bind(this,function(d){try{this.openFileHandle(d.target.result,b.name,b,c)}catch(u)… argument
10994 this.addBasenamesForCell(this.pages[c].root,b);else this.addBasenamesForCell(this.editor.graph.mode… argument
10995 d(mxMarker.getPackageForType(e[mxConstants.STYLE_ENDARROW])));for(var e=f.model.getChildCount(b),g=… argument
10997 null!=this.menus.findReplaceWindow&&this.menus.findReplaceWindow.window.setVisible(!1))};EditorUi.p… argument
11000 EditorUi.prototype.getPublicUrl=function(b,c){null!=b?b.getPublicUrl(c):c(null)};EditorUi.prototype… argument
11002 (this.diagramContainer.removeAttribute("data-bounds"),Editor.inlineFullscreen=!1,c.model.clear(),th… argument
11003 ….addListener(mxEvent.CHANGE,g);mxEvent.addListener(window,"message",mxUtils.bind(this,function(g){… argument
11005 …his,l.defaultValue||"",null!=l.okKey?mxResources.get(l.okKey):l.ok,function(b){null!=b?k.postMessa… argument
11007 …:null);this.showDialog(q.container,640,480,!0,!1,mxUtils.bind(this,function(b){b&&this.actions.get… argument
11008 c,d){b=b||this.emptyDiagramXml;k.postMessage(JSON.stringify({event:"template",xml:b,blank:b==this.e… argument
11009 function(b,c,d){this.remoteInvoke("getFileContent",[b.url],null,c,d)}),null,D?mxUtils.bind(this,fun… argument
11010 name:d,tempUrl:f,libs:e,builtIn:!0,message:l}),"*"):(b(c,g,c!=this.emptyDiagramXml,l.toSketch),this… argument
11011 docUrl:b,info:c,name:d}),"*")}),null,null,D?mxUtils.bind(this,function(b){this.remoteInvoke("getCus… argument
11013 l.viewport);return}if("snapshot"==l.action){this.sendEmbeddedSvgExport(!0);return}if("export"==l.ac… argument
11014 c.message=l;c.data=b;c.xml=Q;k.postMessage(JSON.stringify(c),"*")}),X=mxUtils.bind(this,function(b)… argument
11016 …(e[d],g[e[d].id]||!1)}this.editor.exportToCanvas(mxUtils.bind(this,function(b){X(b.toDataURL("imag… argument
11017 …")+"&base64=1&xml="+encodeURIComponent(Q))).send(mxUtils.bind(this,function(b){200<=b.getStatus()&… argument
11020 null==l.spinKey||this.spinner.spin(document.body,null!=l.spinKey?mxResources.get(l.spinKey):l.spin)… argument
11025 …on(){k.postMessage(JSON.stringify({event:"merge",message:l}),"*")},function(b){k.postMessage(JSON.… argument
11027 e=ka();f&&null==c&&(c=mxUtils.bind(this,function(b,c){var f=ka();if(f!=e&&!d){var g=this.createLoad… argument
11029 "raw.vsdx",this.importVisio(this.base64ToBlob(l.substring(l.indexOf(",")+1)),function(b){aa(b,g)},m… argument
11030 typeof l.substring&&this.isLucidChartData(l)?this.convertLucidChart(l,mxUtils.bind(this,function(b)… argument
11031 …proto){var n=this.editor.graph.openLink;this.editor.graph.openLink=function(b,c,d){n.apply(this,ar… argument
11035 …xResources.get("csv")+":",Editor.defaultCsvValue,mxUtils.bind(this,function(b){this.importCsv(b)})… argument
11036 EditorUi.prototype.executeLayoutList=function(b,c){for(var d=this.editor.graph,f=d.getSelectionCell… argument
11044 …push(J.addCell(V)))}for(U=0;U<e.length;U++)da="@"==H.charAt(0)?e[U].getAttribute(H.substring(1)):n… argument
11048 …e=!1;wa.resetEdges=!1;var za=wa.isVertexIgnored;wa.isVertexIgnored=function(b){return za.apply(thi… argument
11050 P;ya.parallelEdgeSpacing=Q;ya.interRankCellSpacing=K;ya.disableEdgeStyle=!1;this.executeLayout(func… argument
11051 …N()}}catch(Ea){this.handleError(Ea)}};EditorUi.prototype.getSearch=function(b){var c="";if("1"!=ur… argument
11052 if("1"==urlParams.offline)b+=window.location.search;else{var d="tmp libs clibs state fileId code sh… argument
11061e.destroy=function(){null!=this.exportDialog&&(this.exportDialog.parentNode.removeChild(this.expor… argument
11062 g,k)),"image/svg+xml");else{var l=b.getFileData(!0,null,null,null,null,!0),m=f.getGraphBounds(),p=M… argument
11064 this.pages)for(var d=0;d<this.pages.length;d++){var e=b;this.currentPage!=this.pages[d]&&(e=this.cr… argument
11066 …x[2]}}}}catch(A){}this.remoteInvoke("getCustomLibraries",null,null,function(b){f.innerHTML="";if(0… argument
11067 function(b){f.innerHTML="";var c=document.createElement("div");c.style.padding="8px";c.style.textAl… argument
11069 340,390,!0,!0,null,null,null,null,!0)};EditorUi.prototype.remoteInvokableFns={getDiagramTextContent… argument
11070 "*");this.remoteInvokeQueue=[]};EditorUi.prototype.handleRemoteInvokeResponse=function(b){var c=b.m… argument
11071 this.timeout),k=mxUtils.bind(this,function(){window.clearTimeout(l);f&&e.apply(this,arguments)}),m=… argument
11072 c){var d=mxUtils.bind(this,function(c,d){var e={event:"remoteInvokeResponse",msgMarkers:b.msgMarker… class in popupMenuHandler.AnonymousFunction9bd35d6b10b300.AnonymousFunction9bd35d6b10b400
11073 (k=[]);if(f.isAsync)k.push(function(){d(Array.prototype.slice.apply(arguments))}),k.push(function(b argument
11075 …arted=!0,this.getDatabaseItem(".drawioMigrated3",mxUtils.bind(this,function(b){if(!b||"1"==urlPara… argument
11076 …(){g++;m()}),m=mxUtils.bind(this,function(){try{if(g>=f.length)l();else{var b=f[g];StorageFile.get… argument
11077 size:b.data.length,lastModified:Date.now(),type:b.isLib?"L":"F"},{title:b.title,data:b.data}],k,k,[… argument
11078esp&&0<g.resp.length&&null!=g.resp[0]?(f=g.resp[0],d=!1,m()):l():null!=g.resp&&0<g.resp.length&&nu… argument
11079 [g],b=[b],c=[c]);var l=f.transaction(g,"readwrite");l.oncomplete=d;l.onerror=e;for(f=0;f<g.length;f… argument
11080 function(b,c,d,e){this.openDatabase(mxUtils.bind(this,function(f){try{e=e||"objects";var g=f.transa… argument
11081 …};EditorUi.prototype.getDatabaseItemKeys=function(b,c,d){this.openDatabase(mxUtils.bind(this,funct… argument
11082 this.getCurrentFile();return null!=b?b.commentsRefreshNeeded():!0};EditorUi.prototype.commentsSaveN… argument
11083 b.canReplyToReplies():!0};EditorUi.prototype.canComment=function(){var b=this.getCurrentFile();retu… argument
11084 d&&d.getRevisions?d.getRevisions(b,c):c({message:mxResources.get("unknownError")})};EditorUi.protot… argument
11085 return this.editor.loadUrl(b,c,d,e,g,k,n,v)};EditorUi.prototype.loadFonts=function(b){EditorUi.logE… argument
11086 return this.editor.embedExtFonts(b)};EditorUi.prototype.exportToCanvas=function(b,c,d,e,g,k,n,v,x,A… argument
11087 return this.editor.convertImages(b,c,d,e)};EditorUi.prototype.convertImageToDataUri=function(b,c){E… argument
11088 return Editor.crc32(b)};EditorUi.prototype.writeGraphModelToPng=function(b,c,d,e,g){EditorUi.logEve… argument
11089 …--[if IE]>"===e.substring(0,12),e="<mxlibrary>"===e.substring(0,11);(g||e)&&b.push(d)}}return b};E… argument
11090 var CommentsWindow=function(b,e,d,c,g,k){function n(){for(var b=B.getElementsByTagName("div"),c=0,d… argument
11092 function(b){mxEvent.isConsumed(b)||((mxEvent.isControlDown(b)||mxClient.IS_MAC&&mxEvent.isMetaDown(… argument
11093 [f],"{1} ago"));d.setAttribute("title",e.toLocaleDateString()+" "+e.toLocaleTimeString())}function … argument
11094 …tils.write(g,b);f.appendChild(g);mxEvent.addListener(g,"click",function(b){d(b,c);b.preventDefault… function
11095 …ities(mxResources.get("objectNotFound")))},l,n)}function B(){f(v,D,function(b){y()},!0)}var u=C().… argument
11098 …nction(){m(F);c.editComment(c.content,function(){q(F)},function(c){p(F);d();b.handleError(c,null,n… argument
11099 0;b<e.length;b++)e[b].parentNode.removeChild(e[b]);q(F);F.style.opacity="0.5"}else{e=C(c).replies;f… argument
11104 "...");mxEvent.addListener(F,"click",function(c){function d(){f(e,g,function(c){m(g);b.addComment(c… argument
11105 …e()&&(F.style.filter="invert(100%)");mxEvent.addListener(F,"click",function(b){this.className=(G=!… argument
11106 b.preventDefault();mxEvent.consume(b)}),C.appendChild(F));b.commentsSaveNeeded()&&(z=z.cloneNode(),… argument
11107 …nt=c.value;c.parentNode.removeChild(c);d.parentNode.removeChild(d)}catch(L){b.handleError(L)}B.inn… argument
11108 new Date(c.modifiedDate)});for(var d=0;d<b.length;d++)c(b[d].replies)}}b.sort(function(b,c){return … argument
11109 ": "+b.message:""));this.hasError=!0})):B.innerHTML=mxUtils.htmlEntities(mxResources.get("error"))}… function
11110 …Rectangle(0,0,300,200);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.se… argument
11111ent.body.clientWidth||document.documentElement.clientWidth)-this.table.clientWidth));c=Math.max(0,… argument
11115 "click",function(b){u.checked=!u.checked;mxEvent.consume(b)})):m.style.marginTop="12px";this.init=f… argument
11116 EditorUi.prototype.patchPages=function(b,e,d,c,g){var k={},n=[],f={},l={},m={},p={};if(null!=c&&nul… argument
11117 e[EditorUi.DIFF_UPDATE][q],null!=c.previous&&(p[c.previous]=q);if(null!=b){var t="";for(c=0;c<b.len… argument
11118 null!=l.view&&this.patchViewState(b,l.view),null!=l.cells&&this.patchPage(b,l.cells,k[b.getId()],g)… argument
11119 delete p[q];for(q in f)A(f[q]),delete f[q];return n};EditorUi.prototype.patchViewState=function(b,e argument
11120 EditorUi.prototype.createParentLookup=function(b,e){function d(b){var d=c[b];null==d&&(d={inserted:… argument
11122 EditorUi.prototype.patchPage=function(b,e,d,c){var g=b==this.currentPage?this.editor.graph.model:ne… argument
11125 EditorUi.prototype.patchCellRecursive=function(b,e,d,c,g){if(null!=d){for(var k=c[d.getId()],n=null… argument
11127 EditorUi.prototype.patchCell=function(b,e,d,c){if(null!=e&&null!=d){if(null==c||null==c.xmlValue&&(… argument
11129 EditorUi.prototype.getPagesForNode=function(b,e){var d=this.editor.extractGraphModel(b,!0,!0);null!… argument
11130 EditorUi.prototype.diffPages=function(b,e){for(var d=[],c=[],g={},k={},n={},f=null,l=0;l<e.length;l… argument
11132 EditorUi.prototype.createCellLookup=function(b,e,d){d=null!=d?d:{};d[b.getId()]={cell:b,prev:e};var… argument
11133 EditorUi.prototype.diffCellRecursive=function(b,e,d,c,g){c=null!=c?c:{};var k=d[b.getId()];delete d… argument
11134 EditorUi.prototype.diffPage=function(b,e){var d=[],c=[],g={};this.updatePageRoot(b);this.updatePage… argument
11135 EditorUi.prototype.diffViewState=function(b,e){var d=b.viewState,c=e.viewState,g={};e==this.current… argument
11136 EditorUi.prototype.getCellForJson=function(b){var e=null!=b.geometry?this.codec.decode(mxUtils.pars… argument
11137 EditorUi.prototype.getJsonForCell=function(b,e){var d={id:b.getId()};b.vertex&&(d.vertex=1);b.edge&… argument
11139 EditorUi.prototype.diffCell=function(b,e){function d(b){return null!=b&&"object"===typeof b&&"numbe… argument
11142 typeof e[k]||b[k]==e[k]||(c[k]=void 0===e[k]?null:e[k]);return c};EditorUi.prototype.isObjectEqual=… argument
11143 setShowStartScreen:function(b){mxSettings.settings.showStartScreen=b},getGridColor:function(b){retu… argument
11144 b},getOpenCounter:function(){return mxSettings.settings.openCounter},setOpenCounter:function(b){mxS… argument
11145 …s.customLibraries=[]);0>mxUtils.indexOf(mxSettings.settings.customLibraries,b)&&("L.scratchpad"===… argument
11146 setPlugins:function(b){mxSettings.settings.plugins=b},getRecentColors:function(){return mxSettings.… argument
11147 setPageFormat:function(b){mxSettings.settings.pageFormat=b},getUnit:function(){return mxSettings.se… argument
11149 …alStorage.setItem(mxSettings.key,JSON.stringify(mxSettings.settings))}catch(b){}},load:function(){… argument
11153 ("undefined"==typeof mxLoadSettings||mxLoadSettings)&&mxSettings.load();DrawioFileSync=function(b){… argument
11154 this.activityListener=mxUtils.bind(this,function(b){this.lastActivity=new Date;this.start()});mxEve… argument
11155 mxUtils.bind(this,function(b){null!=b.error&&null!=b.error.data&&4004===b.error.data.code&&EditorUi… argument
11156 this.file.stats.msgSent++;this.announced=!0}});this.changeListener=mxUtils.bind(this,function(b){th… argument
11161 DrawioFileSync.prototype.updateOnlineState=function(){if("1"!=urlParams.embedRT){var b=mxUtils.bind… argument
11164 mxEvent.addListener(e,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(b){b… argument
11171 DrawioFileSync.prototype.handleMessageData=function(b){if("desc"==b.a)this.file.savingFile||this.re… argument
11173 DrawioFileSync.prototype.optimisticSync=function(b){null==this.reloadThread&&(b=null!=b?b:0,b<this.… argument
11175 DrawioFileSync.prototype.fileChangedNotify=function(b){if(this.isValidState())if(this.file.savingFi… argument
11176 DrawioFileSync.prototype.fileChanged=function(b,e,d,c){return this.notifyThread=c=window.setTimeout… argument
11177 …adDescriptor=function(){this.file.loadDescriptor(mxUtils.bind(this,function(b){null!=b?(this.file.… argument
11178 DrawioFileSync.prototype.updateDescriptor=function(b){this.file.setDescriptor(b);this.file.descript… argument
11179 DrawioFileSync.prototype.p2pCatchup=function(b,e,d,c,g,k,n,f){if(null!=g&&(null==f||!f()))if(this.f… argument
11181 DrawioFileSync.prototype.catchup=function(b,e,d,c){if(null!=b&&(null==c||!c())){var g=this.file.get… argument
11185 DrawioFileSync.prototype.reload=function(b,e,d,c){this.file.updateFile(mxUtils.bind(this,function()… argument
11186 DrawioFileSync.prototype.merge=function(b,e,d,c,g,k){try{this.file.stats.merged++;this.lastModified… argument
11190 DrawioFileSync.prototype.descriptorChanged=function(b){this.lastModified=this.file.getLastModifiedD… argument
11191 DrawioFileSync.prototype.objectToString=function(b){b=Graph.compress(JSON.stringify(b));null!=this.… argument
11192 DrawioFileSync.prototype.createToken=function(b,e,d){var c=!0,g=window.setTimeout(mxUtils.bind(this… argument
11194 DrawioFileSync.prototype.sendFileChanges=function(b,e){this.lastModified=this.file.getLastModifiedD… argument
11196 DrawioFileSync.prototype.fileSaved=function(b,e,d,c,g){this.lastModified=this.file.getLastModifiedD… argument
11199 …"")+(null!=g?"&token="+encodeURIComponent(g):""),mxUtils.bind(this,function(b){window.clearTimeout… argument
11200 DrawioFileSync.prototype.getIdParameters=function(){var b="id="+this.channelId;null!=this.pusher&&n… argument
11201 DrawioFileSync.prototype.fileConflict=function(b,e,d){this.catchupRetryCount++;this.catchupRetryCou… argument
11203 …estroy=function(){if(null!=this.channelId){var b=this.file.getCurrentUser(),e={a:"leave"};null!=b&… class in AnonymousFunction9bd35d6b118900
11206 …heme=Graph.prototype.defaultThemes["default-style2"];function mxAsyncCanvas(b){mxAbstractCanvas2D.… argument
11207e.decWaitCounter=function(){this.waitCounter--;0==this.waitCounter&&null!=this.onComplete&&(this.o… argument
11208 mxAsyncCanvas.prototype.setAlpha=function(b){this.state.alpha=b};mxAsyncCanvas.prototype.setFontCol… argument
11209 mxAsyncCanvas.prototype.setFontFamily=function(b){this.state.fontFamily=b};mxAsyncCanvas.prototype.… argument
11210 mxAsyncCanvas.prototype.image=function(b,e,d,c,g,k,n,f){g=this.rewriteImageSource(g);b=this.htmlCan… argument
11211 mxAsyncCanvas.prototype.text=function(b,e,d,c,g,k,n,f,l,m,p,q){if(null!=g&&0!=g.length&&(b=this.sta… argument
11212 …l;mxJsCanvas.prototype.canvasIndex=0;mxJsCanvas.prototype.hexToRgb=function(b){b=b.replace(/^#?([a… argument
11214e.save=function(){this.states.push(this.state);this.state=mxUtils.clone(this.state);this.ctx.save(… argument
11215 mxJsCanvas.prototype.rotate=function(b,e,d,c,g){c-=this.state.dx;g-=this.state.dy;this.ctx.translat… argument
11216 mxJsCanvas.prototype.setGradient=function(b,e,d,c,g,k,n,f,l){d=this.ctx.createLinearGradient(0,c,0,… argument
11217 mxJsCanvas.prototype.setStrokeColor=function(b){null!=b&&(b==mxConstants.NONE?(this.state.strokeCol… argument
11218 mxJsCanvas.prototype.setLineDash=function(b){try{"function"===typeof this.ctx.setLineDash&&this.ctx… argument
11219 mxJsCanvas.prototype.setMiterLimit=function(b){this.ctx.lineJoin=b};mxJsCanvas.prototype.setFontCol… argument
11220 mxJsCanvas.prototype.setFontFamily=function(b){this.state.fontFamily=b};mxJsCanvas.prototype.setFon… argument
11221 mxJsCanvas.prototype.setShadowColor=function(b){if(null==b||b==mxConstants.NONE)b=null,this.ctx.sha… argument
11222 mxJsCanvas.prototype.setShadowOffset=function(b,e){this.state.shadowDx=b;this.state.shadowDy=e;this… argument
11223 mxJsCanvas.prototype.arcTo=function(b,e,d,c,g,k,n){b=mxUtils.arcToCurves(this.lastMoveX,this.lastMo… argument
11224 mxJsCanvas.prototype.roundrect=function(b,e,d,c,g,k){this.begin();this.moveTo(b+g,e);this.lineTo(b+… argument
11225 mxJsCanvas.prototype.rewriteImageSource=function(b){if("http://"==b.substring(0,7)||"https://"==b.s… argument
11226 mxJsCanvas.prototype.image=function(b,e,d,c,g,k,n,f){g=this.rewriteImageSource(g);g=this.images[g];… argument
11228 mxJsCanvas.prototype.text=function(b,e,d,c,g,k,n,f,l,m,p,q){if(null!=g&&0!=g.length){d=this.state.s… argument
11233 …as};mxJsCanvas.prototype.finish=function(b){0==this.waitCounter?b():this.onComplete=b};DrawioClien… argument
11235 DrawioClient.prototype.getPersistentToken=function(b){var e=null;isLocalStorage&&(e=localStorage.ge… argument
11236 …),localStorage.setItem("."+this.cookieName,e)))}return e};DrawioClient.prototype.setPersistentToke… argument
11237 DriveFile.prototype.isConflict=function(b){return null!=b&&null!=b.error&&412==b.error.code};DriveF… argument
11238 …Url=function(b){this.ui.drive.executeRequest({url:"/files/"+this.desc.id+"/permissions?supportsAll… argument
11239eFile.prototype.isRenamable=function(){return this.isEditable()&&DrawioFile.prototype.isEditable.a… argument
11240 DriveFile.prototype.saveFile=function(b,e,d,c,g,k){try{this.isEditable()?this.savingFile||(this.sav… argument
11241 Math.max(DriveFile.prototype.autosaveDelay,this.saveDelay))),this.desc=b,null!=f?this.fileSaved(g,m… argument
11243 DriveFile.prototype.copyFile=function(b,e){this.isRestricted()?DrawioFile.prototype.copyFile.apply(… argument
11244 DriveFile.prototype.makeCopy=function(b,e,d){this.ui.spinner.spin(document.body,mxResources.get("sa… argument
11245 DriveFile.prototype.rename=function(b,e,d){var c=this.getCurrentEtag();this.ui.drive.renameFile(thi… argument
11246 DriveFile.prototype.move=function(b,e,d){this.ui.drive.moveFile(this.getId(),b,mxUtils.bind(this,fu… argument
11248 DriveFile.prototype.getRevisions=function(b,e){this.ui.drive.executeRequest({url:"/files/"+this.get… argument
11249 c?"&page="+c:""))+window.location.hash})})(d.items[c]);b(d.items)}),e)};DriveFile.prototype.getLate… argument
11250 DriveFile.prototype.getDescriptor=function(){return this.desc};DriveFile.prototype.setDescriptor=fu… argument
11251 DriveFile.prototype.setDescriptorEtag=function(b,e){b.etag=e};DriveFile.prototype.loadPatchDescript… argument
11252 DriveFile.prototype.loadDescriptor=function(b,e){this.ui.drive.loadDescriptor(this.getId(),b,e)};Dr… argument
11253 DriveFile.prototype.getComments=function(b,e){function d(b,e,n){if(e.deleted)return null;n=new Driv… argument
11254 …mxUtils.bind(this,function(c){for(var e=[],g=0;g<c.items.length;g++){var f=d(this,c.items[g]);null… argument
11255 DriveFile.prototype.newComment=function(b,e){return new DriveComment(this,null,b,Date.now(),Date.no… argument
11260 …nt.prototype.sameWinRedirectUrl=null;DriveClient.prototype.setUser=function(b){this.user=b;null==t… argument
11262 this.setUser(null);b=null};DriveClient.prototype.execute=function(b){var c=mxUtils.bind(this,functi… argument
11263 c,mxResources.get("help"),mxUtils.bind(this,function(){this.ui.openLink("https://www.diagrams.net/d… argument
11264 function(){g=!1;null!=e&&e({code:App.ERROR_TIMEOUT,message:mxResources.get("timeout"),retry:l})}),t… argument
11265 …tent-Type","application/json");c.setRequestHeader("Authorization","Bearer "+b)});t.send(mxUtils.bi… argument
11267 …l!=e)e(z);else throw z;}}))}catch(u){if(null!=e)e(u);else throw u;}});null!=b&&this.authCalled?l()… argument
11268 DriveClient.prototype.authorize=function(b,c,e,k,n){this.isExtAuth&&!b?window.parent.driveAuth(mxUt… argument
11269 …esh(d);this.authCalled=!0;if(e||null==this.user){var f=JSON.stringify(d);this.updateUser(mxUtils.b… argument
11270 …omponent("cId="+this.clientId+"&domain="+window.location.hostname+"&token="+b)+"&userId="+this.use… argument
11272 …ocation=g;null!=f&&(window.onGoogleDriveCallback=mxUtils.bind(this,function(b,c){window.onGoogleDr… argument
11273 null);null!=b&&null==b.error&&0<b.expires_in&&(this.tokenRefreshInterval=1E3*parseInt(b.expires_in)… argument
11274 function(){b();c&&this.fireEvent(new mxEventObject("disconnected"))})):b()};DriveClient.prototype.u… argument
11275e.id,c,f,g,e.locale));this.userId=e.id;null!=d&&d()}),c)}),c,null,null,null,null,e)}catch(k){if(nu… argument
11276 b&&null!=c&&this.executeRequest(this.createDriveRequest(b,{title:c}),e,k)};DriveClient.prototype.mo… argument
11277 c,e,!0,!0)};DriveClient.prototype.loadDescriptor=function(b,c,e,k){this.executeRequest({url:"/files… argument
11278 …,title"},k,n)};DriveClient.prototype.getCustomProperty=function(b,c){var d=b.properties,e=null;if(… argument
11280 else throw m;}}),e)};DriveClient.prototype.isGoogleRealtimeMimeType=function(b){return null!=b&&"ap… argument
11282 f=!0:b=m}catch(z){f=!0}}}else/\.pdf$/i.test(d.title)?(l=Editor.extractGraphModelFromPdf(b),null!=l&… argument
11283 b.responseText,d.title+this.extension,!0)):null!=e&&e({message:mxResources.get("errorLoadingFile")}… argument
11284 …meType.substring(0,9)||/\.png$/i.test(d.title)||/\.jpe?g$/i.test(d.title)||/\.pdf$/i.test(d.title)… argument
11285 b.getHash()+"-rev_"+b.desc.headRevisionId+"-mod_"+b.desc.modifiedDate+"-size_"+b.getSize()+"-mime_"… argument
11289 …gth?"-errors-"+l:""),"user-"+(null!=this.user?this.user.id:"nouser")+(null!=b.sync?"-client_"+b.sy… argument
11290 y.headRevisionId,method:"PUT",params:b})})));try{EditorUi.logEvent({category:b.convertedFrom+"-CONV… argument
11291 null:b.getCurrentEtag(),p=mxUtils.bind(this,function(k){b.saveLevel=5;try{var l=b.desc.mimeType!=th… argument
11292 …portsAllDrives=true&fields="+this.catchupFields},mxUtils.bind(this,function(e){b.saveLevel=7;try{i… argument
11296 c.width=this.thumbnailWidth;c.height=Math.floor(q.height*b);c.getContext("2d").drawImage(q,0,0,c.wi… argument
11297 b?t:null,G.scale,G.border)}else L(t,!1)}catch(P){u(P)}});try{b.saveLevel=2,(f||B||b.constructor==Dr… argument
11298 "image/png")}catch(H){u(H)}})))&&G(null,null,b.constructor!=DriveLibrary)}catch(E){u(E)}}else this.… class in DriveClient.insertFile
11299 …orSavingFile")}):k(new DriveFile(this.ui,c,b))}),n)};DriveClient.prototype.createUploadRequest=fun… argument
11302 null!=d?d:mxUtils.bind(this,function(b){this.ui.loadFile("G"+b)});this.filePicked=mxUtils.bind(this… argument
11305 function(b){if(b.action==google.picker.Action.PICKED||b.action==google.picker.Action.CANCEL)mxEvent… argument
11306 …this,function(){try{this.ui.spinner.stop();var c=mxUtils.bind(this,function(b){"picker modal-dialo… argument
11308 …Url)));e.folderPicker=e.folderPicker.setCallback(mxUtils.bind(this,function(b){b.action!=google.pi… argument
11309 …eError(k)}});c?g():this.ui.confirm(mxResources.get("useRootFolder"),mxUtils.bind(this,function(){t… argument
11310 this.filePickerCallback(b.docs[0].id):b.action==google.picker.Action.CANCEL&&null==this.ui.getCurre… argument
11313 e.libraryPicker=e.libraryPicker.setCallback(mxUtils.bind(this,function(b){b.action!=google.picker.A… argument
11315 …=null),this.sharingObserver=new MutationObserver(mxUtils.bind(this,function(b){for(var d=!1,e=0;e<… argument
11316bserver.disconnect(),this.sharingObserver=null)})),this.sharingObserver.observe(document,{childLis… argument
11317 JSON.parse(this.getPersistentToken(!0))||{};b.userId=this.userId;d.current=b;d[this.userId]={user:t… argument
11319 DropboxFile.prototype.getRevisions=function(b,e){var d=this.ui.dropbox.client.filesListRevisions({p… argument
11320 b.rev+"&chrome=0&nav=1&layers=1&edit=_blank"+(null!=c?"&page="+c:""))+window.location.hash})})})(c.… argument
11321 DropboxFile.prototype.doSave=function(b,e,d,c,g,k){var n=this.stat.name;this.stat.name=b;DrawioFile… argument
11322 DropboxFile.prototype.saveFile=function(b,e,d,c){this.isEditable()?this.savingFile?null!=c&&c({code… argument
11323 null!=d&&d()}),mxUtils.bind(this,function(b){this.savingFile=!1;null!=c&&c(b)}),f)});if(this.ui.use… argument
11324 e)):null!=d&&d()};DropboxFile.prototype.rename=function(b,e,d){this.ui.dropbox.renameFile(this,b,mx… argument
11325 DropboxClient.prototype.logout=function(){this.ui.editor.loadUrl(this.redirectUri+"?doLogout=1&stat… argument
11326 n.then(mxUtils.bind(this,function(b){window.clearTimeout(k);g&&(this.setUser(new DrawioUser(b.accou… argument
11327 "?getState=1",null,"GET")).send(mxUtils.bind(this,function(c){200<=c.getStatus()&&299>=c.getStatus(… argument
11328 function(e){200<=e.getStatus()&&299>=e.getStatus()?(b=JSON.parse(e.getText()).access_token,this.cli… argument
11329 …omponent("cId="+this.clientId+"&domain="+window.location.hostname+"&token="+e),"dbauth")?window.on… argument
11330 m&&m.close()}):c({message:mxResources.get("serviceUnavailableOrBlocked"),retry:g})}),mxUtils.bind(t… argument
11331 f&&null!=d&&d(b)}));m["catch"](mxUtils.bind(this,function(d){window.clearTimeout(l);f&&(null==d||50… argument
11332 c,b):g(b)});null==b?this.authenticate(function(){k(!0)},c):k(!1)};DropboxClient.prototype.getLibrar… argument
11333 c)}else n={path:"/"+e},null!=urlParams.rev&&(n.rev=urlParams.rev),this.readFile(n,mxUtils.bind(this… argument
11334 …+e.path.substring(1),include_deleted:!1});p.then(mxUtils.bind(this,function(b){}));p["catch"](func… argument
11335 p["catch"](mxUtils.bind(this,function(d){window.clearTimeout(m);l&&(l=!1,null==d||500!=d.status&&40… argument
11336 b?this.authenticate(function(){n(!0)},c):n(!1)};DropboxClient.prototype.checkExists=function(b,d,c)… argument
11337 else{if(null!=b&&null!=d){var e=b.stat.path_display.substring(1),n=e.lastIndexOf("/");0<n&&(d=e.sub… argument
11338 …is.executePromise(k,e,g)):e()):g()})):g({message:mxResources.get("invalidName")})}};DropboxClient.… argument
11339 …i.formatFileSize(d.length)+" / 150 MB)"});else{k=null!=k?k:"";var e=mxUtils.bind(this,function(){r… argument
11340 …get("loading"))){var c=mxUtils.bind(this,function(b){this.ui.spinner.stop();this.ui.handleError(b)… argument
11341 function(b,d,c){this.ui.confirm(mxResources.get("note")+": "+mxResources.get("fileWillBeSavedInAppF… argument
11342 function(b,d){this.ui.loadFile(null!=b?"D"+encodeURIComponent(b):d.getHash(),null,d)}),Dropbox.choo… argument
11344 …erviceUnavailableOrBlocked")})};DropboxClient.prototype.createFile=function(b,d,c){var e=/(\.png)$… argument
11345 1)),null!=k&&0<k.length&&(g=k));this.insertFile(b.name,g,mxUtils.bind(this,function(c){d(b.name,c)}… argument
11348eDriveFile.prototype.getId=function(){return this.getIdOf(this.meta)};OneDriveFile.prototype.getPa… argument
11350 OneDriveFile.prototype.isConflict=function(b){return null!=b&&(412==b.getStatus()||409==b.getStatus… argument
11351 OneDriveFile.prototype.getLatestVersion=function(b,e){this.ui.oneDrive.getFile(this.getId(),b,e)};O… argument
11352 OneDriveFile.prototype.loadPatchDescriptor=function(b,e){var d=this.ui.oneDrive.getItemURL(this.get… argument
11353eDriveFile.prototype.getChannelKey=function(){return"undefined"!==typeof CryptoJS?CryptoJS.MD5(thi… argument
11354 OneDriveFile.prototype.doSave=function(b,e,d,c,g,k){var n=this.meta.name;this.meta.name=b;DrawioFil… argument
11355 OneDriveFile.prototype.saveFile=function(b,e,d,c,g,k){if(!this.isEditable())null!=d&&d();else if(!t… argument
11356 this.savingFile=!1;this.meta=b;this.fileSaved(f,e,mxUtils.bind(this,function(){this.contentChanged(… argument
11357 c(b)}catch(q){if(this.savingFile=!1,null!=c)c(q);else throw q;}}),b)}catch(m){if(this.savingFile=!1… argument
11358 OneDriveFile.prototype.rename=function(b,e,d){var c=this.getCurrentEtag();this.ui.oneDrive.renameFi… argument
11359 OneDriveFile.prototype.move=function(b,e,d){this.ui.oneDrive.moveFile(this.getId(),b,mxUtils.bind(t… argument
11362 OneDriveClient.prototype.extension=".drawio";OneDriveClient.prototype.baseUrl="https://graph.micros… argument
11363 …!0};OneDriveClient.prototype.get=function(e,d,c){e=new mxXmlRequest(e,null,"GET");e.setRequestHead… argument
11364 (this.logout(),this.authenticate(mxUtils.bind(this,function(){this.updateUser(b,d,!0)}),d)):(g=JSON… argument
11365 function(){this.authenticate(this.emptyFn,this.emptyFn,!0)}),900*b))};OneDriveClient.prototype.auth… argument
11366 d&&d(e)}),d)};OneDriveClient.prototype.updateAuthInfo=function(e,d,c,g,k){c&&this.setUser(null);b=e… argument
11367 !0,f=JSON.parse(this.getPersistentToken(!0));null!=f?(new mxXmlRequest(this.redirectUri+"?state="+e… argument
11368 !0,mxUtils.bind(this,function(b,f){var g="https://login.microsoftonline.com/common/oauth2/v2.0/auth… argument
11369 …es"].join());null!=g&&(window.onOneDriveCallback=mxUtils.bind(this,function(e,g){if(n){window.onOn… argument
11370 …p.ERROR_BUSY})};OneDriveClient.prototype.getAccountTypeAndEndpoint=function(b,d){this.get(this.bas… argument
11371 this.setPersistentToken(JSON.stringify(k),!k.remember));b();return}}catch(n){}d({message:mxResource… argument
11372 this.user&&this.updateUser(this.emptyFn,this.emptyFn,!0),d(e)):b||401!==e.getStatus()&&400!==e.getS… argument
11373 function(b){var d=b.split("/");return 1<d.length?{driveId:d[0],id:d[1]}:{id:b}};OneDriveClient.prot… argument
11374 0<d&&(b=b.substring(0,d));return b};OneDriveClient.prototype.getFile=function(b,d,c,g,k){k=null!=k?… argument
11375 else{var m=!0,n=window.setTimeout(mxUtils.bind(this,function(){m=!1;c({code:App.ERROR_TIMEOUT})}),t… argument
11376 b.substring(22);b=window.atob&&!mxClient.IS_SF?atob(p):Base64.decode(p)}Graph.fileSupport&&(new XML… argument
11377 null!=f?d(f):k?d(new OneDriveLibrary(this.ui,b,e)):d(new OneDriveFile(this.ui,b,e))}}catch(x){if(nu… argument
11378 null}):c(this.parseRequestText(b))}),c)};OneDriveClient.prototype.renameFile=function(b,d,c,g){null… argument
11379 c,g){d=this.getItemRef(d);var e=this.getItemRef(b);d.driveId!=e.driveId?g({message:mxResources.get(… argument
11380 function(e){if(e){e="/me/drive/root";null!=n&&(e=this.getItemURL(n,!0));var f=mxUtils.bind(this,fun… argument
11381 mxResources.get("oneDriveInvalidDeviceName")})};OneDriveClient.prototype.checkExists=function(b,d,c… argument
11382 function(){g(!1)}))}),function(b){g(!1)},!0)};OneDriveClient.prototype.saveFile=function(b,d,c,g){t… argument
11383 "image/png"))}),c,this.ui.getCurrentFile()!=b?e:null,f.scale,f.border)}else n(e)}catch(l){c(l)}};On… argument
11384 "bytes "+e+"-"+(e+m.length-1)+"/"+d.length)});p.send(mxUtils.bind(this,function(p){window.clearTime… argument
11385 …mlRequest(e+"/createUploadSession","{}","POST");q.setRequestHeaders=mxUtils.bind(this,function(c,d… argument
11386 g,c))}),mxUtils.bind(this,function(b){window.clearTimeout(l);d&&g(this.parseRequestText(b))}))}catc… argument
11387 …tHeader("Content-Type",g||" ");c.setRequestHeader("Authorization","Bearer "+b);null!=f&&c.setReque… argument
11388 mxUtils.bind(this,function(b){window.clearTimeout(q);p&&n(this.parseRequestText(b))}))}catch(u){n(u… argument
11389 function(b){this.pickFile(function(d){b(d)})};OneDriveClient.prototype.createInlinePicker=function(… argument
11390e.style.width=k.container.parentNode.style.width;e.style.height=parseInt(k.container.parentNode.st… argument
11391 b({value:[c]}):b(OneDriveFile.prototype.getIdOf(c))},mxUtils.bind(this,function(b){this.ui.showErro… argument
11393 this.user&&this.updateUser(this.emptyFn,this.emptyFn,!0)});null==b||6E4>this.tokenExpiresOn-Date.no… argument
11396 "logout","width=525,height=525,status=no,resizable=yes,toolbar=no,menubar=no,scrollbars=yes");this.… argument
11398 …totype.getPublicUrl=function(b){null!=this.meta.download_url?mxUtils.get(this.meta.download_url,mx… argument
11399 …amable=function(){return!1};GitHubFile.prototype.getLatestVersion=function(b,e){this.peer.getFile(… argument
11400 GitHubFile.prototype.save=function(b,e,d,c,g,k){this.doSave(this.getTitle(),e,d,c,g,k)};GitHubFile.… argument
11401 GitHubFile.prototype.saveFile=function(b,e,d,c,g,k,n){if(this.isEditable())if(this.savingFile)null!… argument
11402 null!=d&&d()}),c)}),mxUtils.bind(this,function(b){this.savingFile=!1;this.isConflict(b)?(this.inCon… argument
11403 d&&d();this.ui.fileLoaded(b)}),mxUtils.bind(this,function(){this.savingFile=!1;null!=c&&c()}),!1,f, argument
11404 …ient.prototype.authToken="token";GitHubClient.prototype.setToken=function(e){b=e};GitHubClient.pro… argument
11405 f)};n.send(mxUtils.bind(this,function(){window.clearTimeout(k);g&&(401===n.getStatus()?c?d({message… argument
11406 function(b,d){(new mxXmlRequest(this.redirectUri+"?getState=1",null,"GET")).send(mxUtils.bind(this,… argument
11407 …omponent("cId="+this.clientId+"&domain="+window.location.hostname+"&token="+e),"ghauth")?window.on… argument
11408 …!1,c({message:mxResources.get("accessDenied"),retry:g}))}))});g()}else c({code:App.ERROR_BUSY})};G… argument
11409 " "+b;e.setRequestHeaders=function(b,c){b.setRequestHeader("Authorization",p)};e.send(mxUtils.bind(… argument
11410 null!=p.errors&&0<p.errors.length&&(b="too_large"==p.errors[0].code)}catch(u){}c({message:mxResourc… argument
11411 this.user?this.updateUser(function(){n(!0)},c,b):k(b)});null==b?this.authenticate(function(){n(!0)}… argument
11413 …+e+"?ref="+m+n,null,"GET"),this.executeRequest(e,mxUtils.bind(this,function(b){try{d(this.createGi… argument
11414 d="data:image/gif;base64,"+d:/\.png$/i.test(g.name)?(g=this.ui.extractGraphModelFromPng(d),d=null!=… argument
11415 ….bind(this,function(l,n){l?k?(f||(d=Base64.encode(d)),this.showCommitDialog(b,!0,mxUtils.bind(this… argument
11416 mxResources.get(d?"addedFile":"updateFile",[b]),mxResources.get("ok"),mxUtils.bind(this,function(b)… argument
11417 null!=f&&(c.sha=f),b=new mxXmlRequest(this.baseUrl+"/repos/"+b+"/"+d+"/contents/"+g,JSON.stringify(… argument
11418 this.ui.confirm(mxResources.get("replaceIt",[b]),function(){f();c(!0,e)},function(){f();c(!1)})}els… argument
11419 d(JSON.parse(c.getText()).content.sha)}),mxUtils.bind(this,function(b){c(b)}))}),q=mxUtils.bind(thi… argument
11420 function(b){this.pickFile(b)};GitHubClient.prototype.pickFolder=function(b){this.showGitHubDialog(!… argument
11422 ….style.width="100%";var q=new CustomDialog(this.ui,f,mxUtils.bind(this,function(){d(c+"/"+e+"/"+en… argument
11423 d,b.appendChild(f),f=b);return f}),u=mxUtils.bind(this,function(b){var d=document.createElement("di… argument
11424 z()}),null,!0))})(b)}m.appendChild(d)}),v=mxUtils.bind(this,function(b){this.ui.handleError(b,null,… argument
11427 …h=20;y.appendChild(u);y.appendChild(t(g.name+("dir"==g.type?"/":""),mxUtils.bind(this,function(){"… argument
11429 …0].name,n="",z();else{for(var e=0;e<c.length;e++)mxUtils.bind(this,function(b,c){var d=p.cloneNode… argument
11430 m.offsetHeight&&g()},mxEvent.addListener(m,"scroll",A))}}),v)}),y=mxUtils.bind(this,function(b){nul… argument
11431 mxResources.get("more")+"...");var f=mxUtils.bind(this,function(){y(b+1)});mxEvent.addListener(x,"c… argument
11432 if(1<d.length){b=d[0];var f=d[1];3>d.length?(c=b,e=f,n=k=null,B()):this.ui.spinner.spin(m,mxResourc… argument
11433 mxResources.get("enterValue"));this.ui.showDialog(b.container,300,80,!0,!1);b.init()}))),mxUtils.br… argument
11434 …=function(){this.clearPersistentToken();this.setUser(null);b=null}})();TrelloFile=function(b,e,d){… argument
11435 TrelloFile.prototype.save=function(b,e,d){this.doSave(this.getTitle(),e,d)};TrelloFile.prototype.sa… argument
11436 TrelloFile.prototype.saveFile=function(b,e,d,c){this.isEditable()?this.savingFile?null!=c&&(this.sa… argument
11437 function(b){this.savingFile=!1;null!=c&&c(b)})):this.ui.pickFolder(App.MODE_TRELLO,mxUtils.bind(thi… argument
11438 TrelloClient.prototype.authenticate=function(b,e,d){d&&this.logout();d=mxUtils.bind(this,function(c… argument
11439 TrelloClient.prototype.getFile=function(b,e,d,c,g){g=null!=g?g:!1;var k=mxUtils.bind(this,function(… argument
11441 (d=k)}g?e(new TrelloLibrary(this.ui,d,c)):e(new TrelloFile(this.ui,d,c))}}),mxUtils.bind(this,funct… argument
11442 TrelloClient.prototype.insertFile=function(b,e,d,c,g,k){g=null!=g?g:!1;var n=mxUtils.bind(this,func… argument
11443 TrelloClient.prototype.saveFile=function(b,e,d){var c=b.meta.compoundId.split(this.SEPARATOR),g=mxU… argument
11445 TrelloClient.prototype.writeFile=function(b,e,d,c,g){if(null!=b&&null!=e)if(e.length>=this.maxFileS… argument
11446 b);var m=new XMLHttpRequest;m.responseType="json";m.onreadystatechange=mxUtils.bind(this,function()… argument
11447 TrelloClient.prototype.pickFolder=function(b){this.authenticate(mxUtils.bind(this,function(){this.s… argument
11448 TrelloClient.prototype.showTrelloDialog=function(b,e){var d=null,c="@me",g=0,k=document.createEleme… argument
11449 …,340,290,!0,!0);k.okButton.parentNode.removeChild(k.okButton);var l=mxUtils.bind(this,function(b,c… argument
11450 …id black;margin:5px;vertical-align:middle";f.appendChild(k)}mxUtils.write(f,b);mxEvent.addListener… argument
11451 "/attachments",{fields:"id,name,previews"},mxUtils.bind(this,function(b){this.ui.spinner.stop();f.a… argument
11453 …ery:""==mxUtils.trim(c)?"is:open":c,cards_limit:100,cards_page:k-1},mxUtils.bind(this,function(g){… argument
11454 this.ui.showDialog(b.container,300,80,!0,!1);b.init()}))),mxUtils.br(f));for(var m=0;m<g.length;m++… argument
11455 TrelloClient.prototype.isAuthorized=function(){try{return null!=localStorage.trello_token}catch(b){… argument
11456 GitLabFile.prototype.getId=function(){return this.meta.org+"/"+(null!=this.meta.repo?encodeURICompo… argument
11457 GitLabFile.prototype.setDescriptorEtag=function(b,e){b.last_commit_id=e};GitLabLibrary=function(b,e… argument
11458 function(b,d){(new mxXmlRequest(this.redirectUri+"?getState=1",null,"GET")).send(mxUtils.bind(this,… argument
11459 e),null,"GET")).send(mxUtils.bind(this,function(e){200<=e.getStatus()&&299>=e.getStatus()?(b=JSON.p… argument
11460 …omponent("cId="+this.clientId+"&domain="+window.location.hostname+"&token="+e),"gitlabauth")?windo… argument
11461 retry:g})}),mxUtils.bind(this,function(){k&&(window.onGitLabCallback=null,k=!1,c({message:mxResourc… argument
11463 null!=p.errors&&0<p.errors.length&&(b="too_large"==p.errors[0].code)}catch(u){}c({message:mxResourc… argument
11464 c,b):k(b)});null==b?this.authenticate(function(){n(!0)},c):n(!1)};GitLabClient.prototype.getRefInde… argument
11465 …);this.executeRequest(u,mxUtils.bind(this,function(){200==u.getStatus()?c(b,e):g({message:mxResour… argument
11466 …ffy$/i.test(e)||/\.pdf$/i.test(e)||!this.ui.useCanvasForExport&&m))if(null!=b){var m="&t="+(new Da… argument
11467 d)}))}else c({message:mxResources.get("accessDenied")});else m="&t="+(new Date).getTime(),u=this.ba… argument
11468 …"+c:/\.pdf$/i.test(d)?c="data:application/pdf;base64,"+c:/\.png$/i.test(d)?(b=this.ui.extractGraph… class in GitLabClient.createGitLabFile
11469 "?inline=false",last_commit_id:g.last_commit_id,refPos:n};g=this.getFileContent(g);return k?new Git… argument
11470 (d=Base64.encode(d)),this.showCommitDialog(b,!0,mxUtils.bind(this,function(b){this.writeFile(n,t,u,… argument
11471 …ngth)};GitLabClient.prototype.checkExists=function(b,d,c){this.getFile(b,mxUtils.bind(this,functio… argument
11472 …essage:k,content:n,encoding:"base64"};null!=f&&(c.last_commit_id=f,e="PUT");b=this.baseUrl+"/proje… argument
11473 m)}};GitLabClient.prototype.saveFile=function(b,d,c,g,k){var e=b.meta.org,f=b.meta.repo,l=b.meta.re… argument
11474 this.ui.getEmbeddedPng(mxUtils.bind(this,function(c){p(b.meta.last_commit_id,c)}),c,this.ui.getCurr… argument
11475 …is.showGitLabDialog(!0,b)};GitLabClient.prototype.showGitLabDialog=function(e,d){var c=null,g=null… argument
11477 370,!0,!0);e&&q.okButton.parentNode.removeChild(q.okButton);var t=mxUtils.bind(this,function(b,c,d,… argument
11478 null;y()}),null,!0));b||(mxUtils.write(d," / "),d.appendChild(t(decodeURIComponent(k),mxUtils.bind(… argument
11479 y()):this.ui.hideDialog()}))}),x=null,A=null,z=mxUtils.bind(this,function(b){null==b&&(m.innerHTML=… argument
11481 !0,v=0;f=mxUtils.bind(this,function(b){for(var f=0;f<q.length;f++)mxUtils.bind(this,function(f){if(… argument
11482 f.type?(n=f.path,z()):e&&"blob"==f.type&&(this.ui.hideDialog(),d(c+"/"+g+"/"+k+"/"+f.path))})));m.a… argument
11484 …0].name,n="",z();else{for(var e=0;e<c.length;e++)mxUtils.bind(this,function(b,c){var d=p.cloneNode… argument
11485 m.scrollHeight-m.offsetHeight&&f()},mxEvent.addListener(m,"scroll",A))}}),v)});q.okButton.setAttrib argument
11486 …,mxResources.get("more")+"...");var q=mxUtils.bind(this,function(){0===e&&y(b+1)});mxEvent.addList… argument
11488 function(){if(0===e){var b=new FilenameDialog(this.ui,"org/repo/ref",mxResources.get("ok"),mxUtils.… argument
11489 function(b){var d=p.cloneNode();d.style.backgroundColor=u?Editor.isDarkMode()?"#000000":"#eeeeee":"… argument
11491 …gout=1&state="+encodeURIComponent("cId="+this.clientId+"&domain="+window.location.hostname));this.… argument
11492 …sCompressedStorage=function(){return!0};NotionFile.prototype.save=function(b,e,d,c,g){this.doSave(… argument
11493 NotionFile.prototype.saveFile=function(b,e,d,c,g,k){if(this.isEditable())if(this.savingFile)null!=c… argument
11494 …!0,this.ui.pickFolder(this.getMode(),mxUtils.bind(this,function(e){this.peer.insertFile(b,this.get… argument
11495 function(b){if("string"===typeof b.title)return b.title;for(var d=[],c=0;c<b.title.length;c++)d.pus… argument
11496 mxUtils.bind(this,function(f){b=f;this.executeRequest("/v1/databases",null,"GET",mxUtils.bind(this,… argument
11497 d,c,g,k,n){var f=mxUtils.bind(this,function(){var l=!0,m=window.setTimeout(mxUtils.bind(this,functi… argument
11498 (200<=b.getStatus()&&299>=b.getStatus()?(null==this.user&&this.setUser(new DrawioUser("notion",null… argument
11499 encodeURIComponent(b),null,"GET",mxUtils.bind(this,function(e){try{var f=e.properties[this.xmlField… argument
11500 !1;var e,l,m=mxUtils.bind(this,function(){this.checkExists(e,b,l,!0,mxUtils.bind(this,function(f,m)… argument
11501 {name:this.xmlField,type:"rich_text",rich_text:{}},this.executeRequest("/v1/databases/"+encodeURICo… argument
11502 [d]),function(){k(!0,b.results[0].id)},function(){k(!1)})):(this.ui.spinner.stop(),this.ui.showErro… argument
11503 b&&null!=k)if(2E5<k.length)l({message:mxResources.get("drawingTooLarge")+" ("+this.ui.formatFileSiz… argument
11504 function(b){var d={message:mxResources.get("unknownError")};try{d=JSON.parse(b.getText())}catch(c){… argument
11506 k.appendChild(f);var l=document.createElement("div");l.style.textOverflow="ellipsis";l.style.boxSiz… argument
11507 "click",c);e&&(f.style.textDecoration="underline");null!=d&&(b=l.cloneNode(),b.style.padding=d,b.ap… argument
11508 x=mxUtils.bind(this,function(b){null==b&&(f.innerHTML="");this.ui.spinner.spin(f,mxResources.get("l… argument
11509 b);this.executeRequest("/v1/databases/"+encodeURIComponent(c)+"/query",JSON.stringify(g),"POST",mxU… argument
11513endChild(n)})(n[q],q,B),y++}m.has_more?(g=m.next_cursor,0==y?k():(f.appendChild(u),v=function(){f.… argument
11514 DriveComment.prototype.editComment=function(b,e,d){this.content=b;b={content:b};this.file.ui.drive.… argument
11515 DriveComment.prototype.deleteComment=function(b,e){this.file.ui.drive.executeRequest(this.pCommentI… argument
11516 g&&(b="data:image/png;base64,"+Editor.base64Encode(b),b=Editor.extractGraphModelFromPng(b));var c=m… argument
11517 (n(M,void 0),k(M))}function A(b){function c(b){var c=document.createElement("div");c.className="odP… argument
11520 x()}}function y(b,c,k,m,n){function p(c){D.stop();var d=document.createElement("table");d.className… argument
11525 b:"/me/drive")+(c?"/items/"+c:"/root")+"/children"}q||(C+=(0<C.indexOf("?")?"&":"?")+"select=id,nam… argument
11526 /\.png$/.test(e.name)||/\.drawio$/.test(e.name))&&c.push(e)}p(c)}},function(b){if(y){clearTimeout(t… argument
11527 null==g&&(g=function(){var b=null;try{b=JSON.parse(localStorage.getItem("mxODPickerRecentList"))}ca… argument
11532 G;var O=u(".odPreview"),W=u("#odFiles");b=function(b,c){c=c||document;return c.querySelectorAll(b)}… argument
11533 …ner("click",function(){null!=K&&(e(null),y.apply(this,K))});m&&u("#odBackBtn").addEventListener("c… argument
11537 …h.prototype.warningImage.src;window.openWindow=mxUtils.bind(this,function(b,d,e){if("1"==urlParams… argument
11538 !this.editor.editable||this.addFileDropHandler([document]);if(null!=App.DrawPlugins){for(b=0;b<App.… argument
11544 App.loadScripts=function(b,e){for(var d=b.length,c=0;c<b.length;c++)mxscript(b[c],function(){0==--d… argument
11550 App.clearServiceWorker=function(b){navigator.serviceWorker.getRegistrations().then(function(e){if(n… argument
11551 App.main=function(b,e){function d(c){mxUtils.getAll("1"!=urlParams.dev?[c]:[c,STYLE_PATH+"/default.… argument
11554 …()})}):"undefined"===typeof window.Trello&&(window.TrelloClient=null)}null!=b&&b(c);"0"!=urlParams… argument
11557 d))},function(b){b=document.getElementById("geStatus");null!=b&&(b.innerHTML="Error loading page. <… argument
11559 0;b<Menus.prototype.defaultFonts.length;b++){var c=Menus.prototype.defaultFonts[b];"string"!==typeo… argument
11566 …;if("1"==urlParams.configure){var l=window.opener||window.parent,m=function(b){if(b.source==l)try{… argument
11577 …Plugins&&(App.DrawPlugins=[],window.Draw={},window.Draw.loadPlugin=function(b){App.DrawPlugins.pus… argument
11578 App.loadPlugins=function(b,e){EditorUi.debug("Loading plugins",b);for(var d=0;d<b.length;d++)if(nul… argument
11588 …essView()&&(mxClient.IS_ANDROID||mxClient.IS_IOS)&&window.addEventListener("beforeinstallprompt",m… argument
11590 "manual";var b=this.getCurrentFile();null!=b&&null!=b.sync&&(b.sync.destroy(),b.sync=null,b=mxUtils… argument
11592 document.createElement("img"),this.icon.setAttribute("src",IMAGE_PATH+"/logo-flat-small.png"),this.… argument
11594 …urrentFile();if(null!=b&&b.isModified()&&b.isAutosave()&&b.isOverdue()){var e={category:"WARN-FILE… class in AnonymousFunction9bd35d6b14fe00
11606 b.appendChild(k);this.bannerShowing=!0;var n=mxUtils.bind(this,function(){null!=b.parentNode&&(b.pa… argument
11607 function(b){mxEvent.consume(b);n()}));mxEvent.addListener(g,"click",mxUtils.bind(this,function(b){m… argument
11609 App.prototype.checkLicense=function(){var b=this.drive.getUser(),e=null!=b?b.email:null;if(!this.is… argument
11610 c)}}}catch(f){}}))}};App.prototype.handleLicense=function(b,e){null!=b&&null!=b.plugins&&App.loadPl… argument
11611 App.prototype.addRecent=function(b){if(isLocalStorage&&null!=localStorage){var e=this.getRecent();i… argument
11612 App.prototype.resetRecent=function(b){if(isLocalStorage&&null!=localStorage)try{localStorage.remove… argument
11615 App.prototype.getThumbnail=function(b,e){var d=!1;try{var c=!0,g=window.setTimeout(mxUtils.bind(thi… argument
11616 ….setBackgroundImage(f):null!=p.viewState&&null!=p.viewState&&(f=p.viewState.backgroundImage,n.setB… argument
11619 …es=this.thumbImageCache.images;var E=new mxImageExport;E.drawShape=function(b,c){b.shape instanceo… argument
11621 (function(){var b=EditorUi.prototype.setMode;App.prototype.setMode=function(e,d){b.apply(this,argum… argument
11623 App.prototype.appIconClicked=function(b){if(mxEvent.isAltDown(b))this.showSplash(!0);else{var e=thi… argument
11627 App.prototype.open=function(){try{if(null!=window.opener){var b=urlParams.create;null!=b&&(b=decode… argument
11628 …c.length-4)+".drawio");this.fileLoaded(mxClient.IS_IOS?new StorageFile(this,b,c):new LocalFile(thi… argument
11631 App.prototype.showRefreshDialog=function(b,e){if(!this.showingRefreshDialog&&(this.showingRefreshDi… argument
11633 App.prototype.showAlert=function(b){if(null!=b&&0<b.length){var e=document.createElement("div");e.c… argument
11634 b.style.display="block";b.setAttribute("title",mxResources.get("close"));b.innerHTML=mxResources.ge… argument
11637 function(b){var c=this.getCurrentFile();EditorUi.debug("storage event",b,c);null!=c&&".draft-alive-… argument
11638 …File();null!=d&&d.getHash()==c||this.loadFile(c,!0)}catch(l){null!=document.body&&this.handleError… argument
11639 …indow.location.hash.length||"#P"==window.location.hash.substring(0,2))){var b=mxUtils.bind(this,fu… argument
11640 c=null!=c?decodeURIComponent(c):this.defaultFilename;b=new LocalFile(this,b,c,!0);null!=window.loca… argument
11643 this.spinner.spin(document.body,mxResources.get("loading"))){var c=mxUtils.bind(this,function(){thi… argument
11644 isLocalStorage&&b++;var d=4>=b?2:6<b?4:3,c=new CreateDialog(this,c,mxUtils.bind(this,function(b,c){… argument
11645 400,b>d?390:270,!0,!1,mxUtils.bind(this,function(b){b&&null==this.getCurrentFile()&&this.showSplash… argument
11648 App.prototype.loadDraft=function(b,e){this.createFile(this.defaultFilename,b,null,null,mxUtils.bind… argument
11649 App.prototype.checkDrafts=function(){try{var b=Editor.guid();localStorage.setItem(".draft-alive-che… argument
11650 …toLocaleTimeString()]),1<d.length?null:d[0].data,mxUtils.bind(this,function(b){this.hideDialog();b… argument
11651 …:null),this.showDialog(e.container,640,480,!0,!1,mxUtils.bind(this,function(b){"0"!=urlParams.spla… argument
11653 App.prototype.showSplash=function(b){if("1"!=urlParams.noFileMenu){var e=this.getServiceCount(!0),d… argument
11655 App.prototype.addLanguageMenu=function(b,e){var d=null;if(null!=this.menus.get("language")){d=docum… argument
11656 …ces.get("language"));d.appendChild(c)}mxEvent.addListener(d,"click",mxUtils.bind(this,function(b){… argument
11658 App.prototype.loadFileSystemEntry=function(b,e,d){d=null!=d?d:mxUtils.bind(this,function(b){this.ha… argument
11660 App.prototype.createFileSystemOptions=function(b){var e=[],d=null;if(null!=b){var c=b.lastIndexOf("… argument
11661 g):this.editor.diagramFileTypes[c].extension==d?e.splice(0,0,g):e.push(g)}return{types:e,fileName:b argument
11662 App.prototype.pickFile=function(b){try{if(b=null!=b?b:this.mode,b==App.MODE_GOOGLE)null!=this.drive… argument
11663 mxUtils.bind(this,function(b){"AbortError"!=b.name&&this.handleError(b)}));else if(b==App.MODE_DEVI… argument
11664 …();window.openKey="open";window.listBrowserFiles=mxUtils.bind(this,function(b,c){StorageFile.listF… argument
11665 …string(d.length-4)||(d=d.substring(0,d.length-4)+".drawio");this.fileLoaded(b==App.MODE_BROWSER?ne… argument
11667 App.prototype.pickLibrary=function(b){b=null!=b?b:this.mode;if(b==App.MODE_GOOGLE||b==App.MODE_DROP… argument
11668 …e this.spinner.spin(document.body,mxResources.get("loading"))&&e.getLibrary(b,mxUtils.bind(this,fu… argument
11669 "file");mxEvent.addListener(d,"change",mxUtils.bind(this,function(){if(null!=d.files){for(var b=0;b… argument
11670 !1;window.openKey="open";window.listBrowserFiles=mxUtils.bind(this,function(b,c){StorageFile.listFi… argument
11672 App.prototype.saveLibrary=function(b,e,d,c,g,k,n){try{c=null!=c?c:this.mode;g=null!=g?g:!1;k=null!=… argument
11673 this.drive.insertFile(b,f,d,mxUtils.bind(this,function(b){this.spinner.stop();this.hideDialog(!0);t… argument
11674 f,mxUtils.bind(this,function(b){this.spinner.stop();this.hideDialog(!0);this.libraryLoaded(b,e)}),l… argument
11675 this.hideDialog(!0);this.libraryLoaded(b,e)}),l,d):c==App.MODE_DROPBOX&&null!=this.dropbox&&this.sp… argument
11677 function(b){this.spinner.stop();this.hideDialog(!0);k||this.libraryLoaded(d,e);null!=n&&n()}),l)});… argument
11678 App.prototype.saveFile=function(b,e){var d=this.getCurrentFile();if(null!=d){var c=mxUtils.bind(thi… argument
11679 function(b,e){d.invalidFileHandle=null;d.fileHandle=b;d.title=e.name;d.desc=e;this.save(e.name,c)})… argument
11680 function(){this.hideDialog();this.actions.get("exportPdf").funct()}),mxUtils.bind(this,function(){f… argument
11681 d.desc=e;this.setMode(App.MODE_DEVICE);this.save(e.name,c)}),mxUtils.bind(this,function(b){"AbortEr… argument
11683 App.prototype.loadTemplate=function(b,e,d,c,g){var k=!1,n=b;this.editor.isCorsEnabledForUrl(n)||(n=… argument
11684 "raw.vsd":"raw.vsdx"),this.importVisio(this.base64ToBlob(c.substring(c.indexOf(",")+1)),function(b)… argument
11685 mxUtils.bind(this,function(b){d(b)}));else{if(/(\.png)($|\?)/i.test(f)||this.isPngData(l))l=this.ex… argument
11686 App.prototype.getPeerForMode=function(b){return b==App.MODE_GOOGLE?this.drive:b==App.MODE_GITHUB?th… argument
11687 App.prototype.createFile=function(b,e,d,c,g,k,n,f,l){c=f?null:null!=c?c:this.mode;if(null!=b&&this.… argument
11688 this.drive.insertFile(b,e,n,mxUtils.bind(this,function(b){m();this.fileCreated(b,d,k,g,l)}),p)):c==… argument
11689 !1,n):c==App.MODE_TRELLO&&null!=this.trello?this.trello.insertFile(b,e,mxUtils.bind(this,function(b… argument
11690 this.fileCreated(b,d,k,g,l)}),p):!f&&c==App.MODE_DEVICE&&EditorUi.nativeFileSupport?(m(),this.showS… argument
11691 App.prototype.fileCreated=function(b,e,d,c,g){var k=window.location.pathname;null!=e&&0<e.length&&(… argument
11694 null==b.getMode())),null!=c&&c(),window.openWindow(k,null,m))});b.constructor==LocalFile?q():b.save… argument
11695 App.prototype.loadFile=function(b,e,d,c,g){if("1"==urlParams.openInSameWin||navigator.standalone)e=… argument
11698 this.defaultFilename,!0);g.getHash=function(){return b};this.fileLoaded(g);null!=c&&c()}else if("E"… argument
11706 App.prototype.getLibraryStorageHint=function(b){var e=b.getTitle();b.constructor!=LocalLibrary&&(e+… argument
11708 App.prototype.loadLibraries=function(b,e){if(null!=this.sidebar){null==this.pendingLibraries&&(this… argument
11709 b&&0<b.length&&null==this.pendingLibraries[b]&&null==this.sidebar.palettes[b]){c++;var f=mxUtils.bi… argument
11710 (b=this.emptyLibraryXml);null!=b?f(new StorageLibrary(this,b,c)):l()}),l)}catch(z){l()}}),0);else i… argument
11711 b,v))}catch(z){l()}}),function(){l()})}catch(A){l()}}else if("S"==m&&null!=this.loadDesktopLib)try{… argument
11712 null!=this.oneDrive.getUser()&&(x=this.oneDrive);null!=x?x.getLibrary(decodeURIComponent(b.substrin… argument
11719 App.prototype.fetchAndShowNotification=function(b,e){if(!this.fetchingNotif){b=b||"online";var d=nu… argument
11720 Date.now()?(this.fetchingNotif=!0,mxUtils.get(NOTIFICATIONS_URL,mxUtils.bind(this,function(b){200<=… argument
11721 App.prototype.showNotification=function(b,e){function d(b){var c=document.querySelector(".geNotific… argument
11729 App.prototype.save=function(b,e){var d=this.getCurrentFile();if(null!=d&&this.spinner.spin(document… argument
11730 App.prototype.pickFolder=function(b,e,d,c,g){d=null!=d?d:!0;var k=this.spinner.pause();d&&b==App.MO… argument
11731 e(b))}),c):d&&b==App.MODE_GITHUB&&null!=this.gitHub?this.gitHub.pickFolder(mxUtils.bind(this,functi… argument
11732 App.prototype.exportFile=function(b,e,d,c,g,k){g==App.MODE_DROPBOX?null!=this.dropbox&&this.spinner… argument
11733 mxUtils.bind(this,function(b){this.spinner.stop();this.handleError(b)}),d,c):g==App.MODE_ONEDRIVE?n… argument
11734 function(){this.spinner.stop()}),mxUtils.bind(this,function(b){this.spinner.stop();this.handleError… argument
11735 d):b,mxUtils.bind(this,function(){this.spinner.stop()}),mxUtils.bind(this,function(b){this.spinner.… argument
11738 App.prototype.showAuthDialog=function(b,e,d,c){var g=this.spinner.pause();this.showDialog((new Auth… argument
11739 App.prototype.convertFile=function(b,e,d,c,g,k,n,f){var l=e;/\.svg$/i.test(l)||(l=l.substring(0,e.l… argument
11740 p.status&&299>=p.status){var b=null;m?(b=JSON.parse(p.responseText),b=this.base64ToBlob(b.content,"… argument
11741 …):Graph.fileSupport&&(new XMLHttpRequest).upload&&this.isRemoteFileFormat(c,b)?this.parseFile(new … argument
11742 …st(e)||/\.pdf$/i.test(e)||null!=d&&"image/"==d.substring(0,6);m?mxUtils.get(b,mxUtils.bind(this,fu… argument
11745 "click",mxUtils.bind(this,function(b){this.appIconClicked(b)}));var b=mxClient.IS_SVG?"dark"==uiThe… argument
11751 this.fname.setAttribute("title",mxResources.get("rename"));this.fname.className="geItem";this.fname… argument
11754 "16px";this.toggleFormatElement.style.height="16px";this.toggleFormatElement.style.backgroundPositi… argument
11755 function(b){this.actions.get("formatPanel").funct();mxEvent.consume(b)}));var e=mxUtils.bind(this,f… argument
11757 "no-repeat";this.fullscreenElement.style.backgroundImage="url('"+this.fullscreenImage+"')";this.too… argument
11758 "click",mxUtils.bind(this,function(b){var c=this.fullscreenMode;"atlas"!=uiTheme&&"1"!=urlParams.em… argument
11760 …er(this.toggleElement,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(b){… argument
11762 App.prototype.toggleCompactMode=function(b){(b=null!=b?b:this.compactMode)?(this.menubar.container.… argument
11767 …nt,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(b){b.preventDefault()}… argument
11769 …e=this.drive.getUsersList();if(0<e.length){var k=mxUtils.bind(this,function(b,c){var d=this.getCur… argument
11772 …ion(c){k(mxUtils.bind(this,function(){this.stateArg=null;this.drive.setUser(b);this.drive.authoriz… argument
11774 …Utils.button(mxResources.get("addAccount"),mxUtils.bind(this,function(){var b=this.drive.createAut… argument
11775 …ppendChild(n);this.userPanel.appendChild(d)}}d=mxUtils.bind(this,function(b,d,e,f){if(null!=b){c&&… argument
11785 ….className="geBtn",d.appendChild(n),this.userPanel.appendChild(d));document.body.appendChild(this.… argument
11789 …Format&&(this.graph.pageFormat=mxSettings.getPageFormat())};(function(){var b=mxPopupMenu.prototyp… argument
11790 …Utils.setOpacity(d,50);d.style.height="16px";d.style.width="16px";d.setAttribute("border","0");d.s… argument
11791 Menus.prototype.init=function(){function b(b,c,d){this.ui=b;this.previousExtFonts=this.extFonts=c;t… argument
11793 …ms.noFileMenu&&(this.defaultMenuItems=this.defaultMenuItems.filter(function(b){return"file"!=b}));… argument
11794 d.init()}else{var e=function(b){return{id:b.id,isExt:!0,url:b.downloadUrl,title:b.title,imgUrl:b.th… argument
11795 …,g,f?!0:!1,function(c){for(var d=[],f=0;f<c.items.length;f++)d.push(e(c.items[f]));b(d)},d)},funct… argument
11796 !g.isCellLocked(g.getDefaultParent())){var b=new NewDialog(c,null,!1,function(b){c.hideDialog();if(… argument
11798 …h.view.setUnit(mxConstants.METERS)});p.setToggleAction(!0);p.setSelectedCallback(function(){return… argument
11800 …ment.fullscreenElement});c.actions.addAction("properties...",function(){var b=new FilePropertiesDi… argument
11803 300,200,!0,!0)}));Editor.enableExportUrl&&c.actions.put("exportUrl",new Action(mxResources.get("url… argument
11804 function(b){c.spinner.stop();c.showHtmlDialog(mxResources.get("export"),null,b,function(b,d,e,f,g,k… argument
11811 …",function(){c.pickFile()});c.actions.addAction("close",function(){function b(){null!=d&&d.removeD… function
11812 g.getSelectionCell(),d=g.view.getState(b);null!=d&&null!=d.shape&&null!=d.shape.stencil&&(b=new Edi… argument
11813 function(b){c.handleError(b)})):c.showError(mxResources.get("error"),mxResources.get("notAvailable"… argument
11817 …(mxResources.get("backgroundImage")+"...",function(){if(!c.isOffline()){var b=new BackgroundImageD… argument
11818 function(b,d,e,f,g,k,l,m,n,p,q,t,u,v){b=parseInt(b);!isNaN(b)&&0<b&&c.exportSvg(b/100,d,e,f,g,k,l,!… argument
11819efaultIncludeDiagram,"png",!0):c.isOffline()||mxClient.IS_IOS&&navigator.standalone||c.showRemoteE… argument
11820 function(b,d,e,f,g,k,l,m,n,p,q,t,u){b=parseInt(b);!isNaN(b)&&0<b&&c.exportImage(b/100,!1,e,f,!1,l,!… argument
11825 function(){c.fireEvent(new mxEventObject("tags"))}),this.tagsWindow.window.setVisible(!0),c.fireEve… argument
11829 mxEvent.isShiftDown(b)&&(localStorage.removeItem(".drawio-config"),localStorage.removeItem(".mode")… argument
11830 b=new TextareaDialog(c,mxResources.get("configuration")+":",null!=b?JSON.stringify(JSON.parse(b),nu… argument
11831 "600px";b.textarea.style.height="380px";c.showDialog(b.container,620,460,!0,!1);b.init()});if(mxCli… argument
11832 d),(e==mxLanguage||""==e&&null==mxLanguage)&&b.addCheckmark(g,Editor.checkmarkImage));return g});e(… argument
11835 null,2),function(b){if(0<b.length)try{var d=JSON.parse(b);c.executeLayoutList(d);c.customLayoutConf… argument
11841 g.isSelectionEmpty()?null:g.getSelectionCells())},!1)}),d);b.addSeparator(d);c.menus.addMenuItem(b,… argument
11842 …marginLeft="8px";mxEvent.addListener(f,"keydown",mxUtils.bind(this,function(b){var c=mxUtils.trim(… argument
11843 b.keyCode&&(f.value="")}));e.firstChild.nextSibling.appendChild(f);mxEvent.addGestureListeners(f,fu… argument
11847 mxUtils.bind(this,function(){var b=g.getGraphBounds(),c=g.view.translate,d=g.view.scale;g.insertVer… argument
11850 …bug("No pages found for checksum");var k=e.getElementsByTagName("root");for(b=0;b<k.length;b++)d(k… argument
11851 c.getCurrentFile();if(0<b.length&&null!=d)try{var e=JSON.parse(b);d.patch([e],null,!0);c.hideDialog… argument
11853 …s)};var m=e.restore;e.restore=function(){k--;m.apply(this,arguments)};var n=b.drawShape;b.drawShap… argument
11854 mxLog.debug(mxUtils.getXml(f));mxLog.debug("stateCounter",k)}));c.actions.addAction("testShowConsol… argument
11855 …ctions.put("createShape",new Action(mxResources.get("shape")+"...",function(b){g.isEnabled()&&(b=n… argument
11856 640,480,!0,!1),b.init())})).isEnabled=k;c.actions.put("embedHtml",new Action(mxResources.get("html"… argument
11860 …mxResources.get("image")+"...",function(){c.showEmbedImageDialog(function(b,d,e,f,g,k){c.spinner.s… argument
11861 "...",function(){c.showEmbedImageDialog(function(b,d,e,f,g,k){c.spinner.spin(document.body,mxResour… argument
11862 …nkDialog(mxResources.get("iframe"),null,"100%",Math.ceil(b.height/g.view.scale)+2,function(b,d,e,f… argument
11863 …c.showPublishLinkDialog(mxResources.get("notion"),null,null,null,function(b,d,e,f,g,k,l,m,n){c.spi… argument
11864 null,null,null,function(b,d,e,f,g,k,l,m,n){c.spinner.spin(document.body,mxResources.get("loading"))… argument
11865 …ody,mxResources.get("loading"))&&c.getPublicUrl(c.getCurrentFile(),function(b){c.spinner.stop();b=… argument
11867 "1"==urlParams.embed&&(c.actions.get("save").funct=function(b){g.isEditing()&&g.stopEditing();var d… argument
11868 EmbedFile||b.constructor==LocalFile&&null==b.mode||c.saveFile()},c.actions.addAction("saveAndExit",… function
11869 "*")};c.editor.modified?c.confirm(mxResources.get("allChangesLost"),null,b,mxResources.get("cancel"… argument
11870b,["exportPdf"],d);mxClient.IS_IE||"undefined"===typeof VsdxExport&&c.isOffline()||this.addMenuIte… argument
11871 mxResources.get("loading"))&&b.getFile(d,function(b){var d="data:image/"==b.getData().substring(0,1… argument
11872 …h.max(0,(k.y+k.height)/f.scale-f.translate.y)+4*g.gridSize));"data:image/"==b.substring(0,11)?c.lo… argument
11873 b.length>c.resampleThreshold?c.confirmImageResize(function(b){k=b;n()}):n()}),mxUtils.bind(this,fun… argument
11877 "...",null,function(){c.importLocalFile(!0)},d);c.isOffline()||(b.addSeparator(d),b.addItem(mxResou… argument
11878 "image/png"==d)}},mxResources.get("url"));c.showDialog(b.container,300,80,!0,!0);b.init()},d))}))).… argument
11881 …ocalFile&&null!=b.fileHandle)c.showSaveFilePicker(mxUtils.bind(c,function(d,e){b.invalidFileHandle… argument
11882 b.getTitle()&&this.editorUi.spinner.spin(document.body,mxResources.get("renaming"))&&b.rename(c,mxU… argument
11883 null,null,null,null,c.editor.fileExtensions);this.editorUi.showDialog(d.container,340,96,!0,!0);d.i… argument
11884 null!=d&&0<d.length&&(e==App.MODE_GOOGLE?c.spinner.spin(document.body,mxResources.get("saving"))&&b argument
11886 function(d){c.spinner.spin(document.body,mxResources.get("moving"))&&b.move(d,mxUtils.bind(this,fun… argument
11887 ….editorUi.actions.addAction("share...",mxUtils.bind(this,function(){try{var b=c.getCurrentFile();n… argument
11888 c.isOffline()||this.addMenuItems(b,["embedIframe"],d);"1"==urlParams.embed||c.isOffline()||this.add… argument
11889 "auto"}else b=new CreateGraphDialog(c,e,f),c.showDialog(b.container,620,420,!0,!1);b.init()}),d,nul… argument
11892 …;html=1;")})).isEnabled=k;c.addInsertMenuItems=mxUtils.bind(this,function(b,d,e){for(var f=0;f<e.l… argument
11893 d);b.addSeparator(d);this.addSubmenu("insertLayout",b,d,mxResources.get("layout"));this.addSubmenu(… argument
11894 …wImportCsvDialog()},d,null,k())})));this.put("openRecent",new Menu(function(b,d){var e=c.getRecent… argument
11898 d);"1"!=urlParams.noDevice&&b.addItem(mxResources.get("device")+"...",null,function(){c.pickFile(Ap… argument
11899 mxResources.get("url"));c.showDialog(b.container,300,80,!0,!0);b.init()},d))}));Editor.enableCustom… argument
11903 …l,null,App.MODE_DEVICE)},d)})),this.put("openLibraryFrom",new Menu(function(b,d){"undefined"!=type… argument
11906 " ("+mxResources.get("loading")+"...)",null,function(){},d,null,!1);b.addSeparator(d);isLocalStorag… argument
11908 mxResources.get("url"));c.showDialog(b.container,300,80,!0,!0);b.init()},d));"1"==urlParams.confLib… argument
11910 this.commentsWindow.window.setVisible(b);this.commentsWindow.refreshCommentsTime();b&&this.comments… argument
11911 function(b,d){z.apply(this,arguments);c.menus.addMenuItems(b,["tags"],d);c.commentsSupported()&&c.m… argument
11913 ["-","fullscreen"],d)})));this.put("extras",new Menu(mxUtils.bind(this,function(b,d){"1"==urlParams… argument
11914 "-"],d);"1"!=urlParams.embed&&(isLocalStorage||mxClient.IS_CHROMEAPP)&&this.addMenuItems(b,["showSt… function
11915 isExt:!0,url:b.downloadUrl,title:b.title,imgUrl:b.thumbnailLink,changedBy:b.lastModifyingUserName,l… argument
11916 e(d)},f)},function(b,d,e){c.drive.getFile(b.id,function(b){d(b.data)},e)},null,function(b){b({Test:… argument
11923 this.previousExtFonts=c};this.put("fontFamily",new Menu(mxUtils.bind(this,function(d,e){for(var f=m… argument
11924 …gCell()]))},function(){n.updateLabelElements(n.getSelectionCells(),function(b){b.removeAttribute("… argument
11927 …tUrl))}d.addSeparator(e);if("1"!=urlParams["ext-fonts"]){for(var l=function(b){var c=encodeURIComp… argument
11928 m[c]=b)}},m={},n={},p=[],k=0;k<this.customFonts.length;k++)l(this.customFonts[k]);for(var q in Grap… argument
11931 e=Graph.getFontUrl(c,null),null!=e&&(Graph.isGoogleFontUrl(e)?(e=null,d="g"):d="w")))}else f=b.getV… argument
11932 null!=e&&e.substring(0,PROXY_URL.length)==PROXY_URL&&(e=decodeURIComponent(e.substr((PROXY_URL+"?ur… argument
11934 …onts)))}finally{b.getModel().endUpdate()}}}));this.editorUi.showDialog(d.container,380,Editor.enab… argument
11935 …ototype.setName=function(b){null==b?this.node.removeAttribute("name"):this.node.setAttribute("name… argument
11936 function MovePage(b,e,d){this.ui=b;this.oldIndex=e;this.newIndex=d}MovePage.prototype.execute=funct… argument
11937 function SelectPage(b,e,d){this.ui=b;this.previousPage=this.page=e;this.neverShown=!0;null!=e&&(thi… argument
11940 function ChangePage(b,e,d,c,g){SelectPage.call(this,b,d);this.relatedPage=e;this.index=c;this.previ… argument
11942 EditorUi.prototype.getPageIndex=function(b){var e=null;if(null!=this.pages&&null!=b)for(var d=0;d<t… argument
11943 EditorUi.prototype.createImageForPageLink=function(b,e,d){var c=b.indexOf(","),g=null;0<c&&(c=this.… argument
11944 EditorUi.prototype.getImageForPage=function(b,e,d){d=null!=d?d:this.editor.graph;var c=d.getGlobalV… argument
11949 …"===typeof Editor.MathJaxClear||null!=this.editor&&this.editor.graph.mathEnabled||Editor.MathJaxCl… argument
11950 EditorUi.prototype.restoreViewState=function(b,e,d){b=null!=b?this.getPageById(b.getId()):null;var … argument
11951 Graph.prototype.createViewState=function(b){var e=b.getAttribute("page"),d=parseFloat(b.getAttribut… argument
11954 Graph.prototype.saveViewState=function(b,e,d,c){d||(e.setAttribute("grid",null==b||b.gridEnabled?"1… argument
11956 JSON.stringify(c)));e.setAttribute("math",null!=b&&b.mathEnabled?"1":"0");e.setAttribute("shadow",n… argument
11959 Graph.prototype.setViewState=function(b,e){if(null!=b){this.lastPasteXml=b.lastPasteXml;this.pasteC… argument
11964 Graph.prototype.addExtFont=function(b,e,d){if(b&&e){"1"!=urlParams["ext-fonts"]&&(Graph.recentCusto… argument
11966 EditorUi.prototype.updatePageRoot=function(b,e){if(null==b.root){var d=this.editor.extractGraphMode… argument
11968 EditorUi.prototype.selectPage=function(b,e,d){try{if(b!=this.currentPage){this.editor.graph.isEditi… argument
11969 EditorUi.prototype.selectNextPage=function(b){var e=this.currentPage;null!=e&&null!=this.pages&&(e=… argument
11970 EditorUi.prototype.insertPage=function(b,e){if(this.editor.graph.isEnabled()){this.editor.graph.isE… argument
11971 EditorUi.prototype.createPage=function(b,e){var d=new DiagramPage(this.fileNode.ownerDocument.creat… argument
11972 EditorUi.prototype.removePage=function(b){try{var e=this.editor.graph,d=mxUtils.indexOf(this.pages,… argument
11973 EditorUi.prototype.duplicatePage=function(b,e){var d=null;try{var c=this.editor.graph;if(c.isEnable… argument
11974 b)+1);c.updateCustomLinks(c.createCellMapping(k,n),[d.root])}}catch(f){this.handleError(f)}return d… argument
11975 EditorUi.prototype.movePage=function(b,e){this.editor.graph.model.execute(new MovePage(this,b,e))};… argument
11977 1),g=null,k=0;k<this.pages.length;k++)mxUtils.bind(this,function(c,d){this.pages[c]==this.currentPa… argument
11978 b.preventDefault()}));mxEvent.addListener(d,"dragover",mxUtils.bind(this,function(b){null!=g&&(b.da… argument
11980 f.style.right=this.editor.chromeless?"0px":"29px";f.style.fontSize="13pt";this.tabContainer.appendC… argument
11981 …lientWidth?100:50);mxEvent.addListener(f,"click",mxUtils.bind(this,function(b){e.scrollLeft+=Math.… argument
11982 EditorUi.prototype.createTab=function(b){var e=document.createElement("div");e.style.display="inlin… argument
11983 this.tabContainer.style.backgroundColor;e.style.cursor="move";e.style.color="gray";b&&(mxEvent.addL… argument
11984 EditorUi.prototype.createControlTab=function(b,e,d){d=this.createTab(null!=d?d:!0);d.style.lineHeig… argument
11985 EditorUi.prototype.createPageMenuTab=function(b){b=this.createControlTab(3,'<div class="geSprite ge… argument
11986 var c=new mxPopupMenu(mxUtils.bind(this,function(b,c){for(var d=0;d<this.pages.length;d++)mxUtils.b… argument
11989 EditorUi.prototype.createPageInsertTab=function(){var b=this.createControlTab(4,'<div class="geSpri… argument
11990 EditorUi.prototype.createTabForPage=function(b,e,d,c){d=this.createTab(d);var g=b.getName()||mxReso… argument
11991 EditorUi.prototype.addTabListeners=function(b,e){mxEvent.disableContextMenu(e);var d=this.editor.gr… argument
11993 EditorUi.prototype.getLinkForPage=function(b,e,d){if(!mxClient.IS_CHROMEAPP&&!EditorUi.isElectronAp… argument
11995 EditorUi.prototype.createPageMenu=function(b,e){return mxUtils.bind(this,function(d,c){var g=this.e… argument
11996 …nkDialog(mxResources.get("url"),!0,null,null,mxUtils.bind(this,function(c,d,e,l,m,p){c=this.create… argument
11998 !0,!0))}),c))})};(function(){var b=EditorUi.prototype.refresh;EditorUi.prototype.refresh=function(e argument
12000 (function(){var b=new mxObjectCodec(new ChangePage,"ui relatedPage index neverShown page previousPa… argument
12002 c=c.cloneNode(!0);d=c.firstChild;if(null!=d)for(e.relatedPage.root=b.decodeCell(d,!1),e=d.nextSibli… argument
12003 function(b,d){this.model.beginUpdate();try{var c=[];this.traverse(d,!0,mxUtils.bind(this,function(b… argument
12004 d,e,n,f,l),mxUtils.bind(this,function(b){return this.isTreeEdge(b)}))};Graph.prototype.getIncomingT… argument
12005 !1;null!=b&&(c="1"==v.getCurrentCellStyle(b).treeMoving);return c}function e(b){var c=!1;null!=b&&(… argument
12006 null!=c&&0<c.length&&(c=c[c.length-1],null!=c)))){if(c.y==b.y&&Math.abs(c.x-b.getCenterX())<b.width… argument
12009 …gth;u++)if(y=v.model.getTerminal(q[u],!1),k==f(y)&&(x=v.view.getState(y),y!=b&&null!=x&&(t&&c!=x.g… argument
12010 f(b),d=v.getIncomingTreeEdges(b),e=v.cloneCells([d[0],b]);v.model.setTerminal(d[0],e[1],!1);v.model… argument
12011 …Cells(l,m,n);return v.addCells(e,g)}finally{v.model.endUpdate()}}function p(b,c){v.model.beginUpda… argument
12014 (b.geometry.height-k[1].geometry.height)/2:(t.y+t.height)/y-u.y+-p.y+10);return v.addCells(k,d)}fin… argument
12015 d.y-d.height})}return e}function t(b,c){var d=f(b),e=c==mxConstants.DIRECTION_EAST||c==mxConstants.… argument
12016 c==mxConstants.DIRECTION_WEST?-1:1,0<=d&&d<=e.length-1&&v.setSelectionCell(e[d].cell)))))}var u=thi… argument
12019 !0))}},null,null,"Alt+Shift+P");u.actions.addAction("selectDescendants",function(b,c){var d=v.getSe… argument
12020 var z=v.removeCells;v.removeCells=function(c,d){d=null!=d?d:!0;null==c&&(c=this.getDeletableCells(t… argument
12021 f;return z.apply(this,arguments)};u.hoverIcons.getStateAt=function(c,d,e){return b(c.cell)?null:thi… argument
12022 v.getIncomingTreeEdges(l[f]),k=v.getIncomingTreeEdges(c[f]);if(0==m.length&&0<k.length){var n=this.… argument
12024 !0))&&this.model.setTerminal(m[q],n,!0);else if(b(c[q])&&(t=v.getIncomingTreeEdges(c[q]),0<t.length… argument
12028 …G.apply(this,arguments)};var E=v.connectVertex;v.connectVertex=function(c,d,e,g,k,n,q){var t=v.get… argument
12029 [c];!d(c)&&!b(c)||n(c)||v.traverse(c,!0,function(b,c){var d=null!=c&&v.isTreeEdge(c);d&&0>mxUtils.i… argument
12030 "Move Subtree"),this.moveHandle.style.position="absolute",this.moveHandle.style.cursor="pointer",th… argument
12031 this.graph.isMouseDown=!0;u.hoverIcons.reset();mxEvent.consume(b)})))};var H=mxVertexHandler.protot… argument
12032 arguments);null!=this.moveHandle&&(this.moveHandle.style.display=b?"":"none")};var M=mxVertexHandle… argument
12049 !0;e.edge=!0;d.insertEdge(e,!1);return sb.createVertexTemplateFromCells([c,e,b,d],220,60,"Sub Secti… argument
12050b.formatWindow.window.setVisible(!0)):b.formatWindow.window.setVisible(null!=d?d:!b.formatWindow.w… argument
12051 e.container.clientHeight-30),function(c){function d(d,e){var g=b.menus.get(d),k=f.addMenu(e,mxUtils… argument
12056e||"undefined"===typeof window.Format||"undefined"===typeof window.Menus)window.uiTheme=null;else{… argument
12057 new mxWindow(c,l,d,e,f,g,!0,!0);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.w… argument
12062 EditorUi.prototype.setDarkMode=function(b){this.spinner.spin(document.body,mxResources.get("working… argument
12063 "text/css");EditorUi.prototype.doSetDarkMode=function(b){if(Editor.darkMode!=b){var c=this.editor.g… argument
12076 EditorUi.prototype.updateTabContainer=function(){null!=this.tabContainer&&(this.tabContainer.style.… argument
12083 b.appendChild(c));this.buttonContainer.appendChild(b);this.buttonContainer.style.top="6px";this.edi… argument
12084 … t=Menus.prototype.createPopupMenu;Menus.prototype.createPopupMenu=function(b,c,d){var e=this.edit… argument
12086 mxClient.IS_IE11)||this.addMenuItems(b,["toggleDarkMode"]))};var u=Menus.prototype.addPopupMenuEdit… argument
12089 …torUi.prototype.setGraphEnabled;EditorUi.prototype.setGraphEnabled=function(b){x.apply(this,argume… argument
12091 c.actions.get("tags").label=mxResources.get("tags")+"...";c.actions.get("forkme").visible="1"!=urlP… argument
12092 …tions.put("togglePagesVisible",new Action(mxResources.get("pages"),function(b){c.setPagesVisible(!… argument
12095 b.init()}));var g=this.addPopupMenuCellEditItems;this.put("editCell",new Menu(mxUtils.bind(this,fun… argument
12099 ["print"],d);null!=e&&null!=c.fileNode&&"1"!=urlParams.embedInline&&(e=null!=e.getTitle()?e.getTitl… argument
12101 e.isRevisionHistorySupported()&&c.menus.addMenuItems(b,["-","revisionHistory"],d)})));var k=this.ge… argument
12102 var m=this.get("importFrom");this.put("importFrom",new Menu(mxUtils.bind(this,function(b,e){m.funct… argument
12104 "search","scratchpad"],d),"1"==urlParams.sketch&&null==urlParams.pages&&this.addMenuItems(b,["toggl… argument
12105 function(){var b=this.get("insert"),d=b.funct;b.funct=function(b,e){"1"==urlParams.sketch?(c.menus.… argument
12106 function(){var b=new CreateGraphDialog(c,e,f);c.showDialog(b.container,620,420,!0,!1);b.init()}),d)… argument
12107 c.getSelectionModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(e,f){0<c.getSelectionCo… argument
12108 …arseInt(this.div.style.left)+150+"px"):(this.div.style.width="240px",this.table.style.width="240px… argument
12110 "center center",f.style.backgroundRepeat="no-repeat",f.style.backgroundSize="24px 24px",f.style.wid… argument
12112 b);mxEvent.addListener(k,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(b… argument
12113 b),b());return k}function g(b,c,d){d=document.createElement("div");d.className="geMenuItem";d.style… argument
12116 ….get("delete").funct,null,mxResources.get("delete"),m.actions.get("delete"),b?Editor.trashImage:nu… argument
12132 Y);m.addListener("editInlineStop",mxUtils.bind(this,function(b){m.diagramContainer.style.width="10p… argument
12133 mxEvent.isPopupTrigger(c)&&(null==b.getState()||mxEvent.isControlDown(c)||mxEvent.isShiftDown(c))})… argument
12134 …dListener(p,"mouseenter",function(){m.statusContainer.style.display="inline-block"});mxEvent.addLi… argument
12137 …ableContextMenu(S);mxEvent.addGestureListeners(S,mxUtils.bind(this,function(b){(mxEvent.isShiftDow… argument
12139e.backgroundPosition="top center";ca.style.backgroundRepeat="no-repeat";ca.setAttribute("title","M… argument
12146 mxUtils.bind(this,function(){m.setStatusText(m.editor.getStatus())}));if(null!=z){var Y=function(b)… argument
12158 …sform="";mxEvent.addGestureListeners(m.diagramContainer.parentNode,function(b){mxEvent.getSource(b… argument
12159 mxEvent.getClientY(b)),m.sendEmbeddedSvgExport())});l=document.createElement("div");l.style.positio… argument
12160 mxEvent.consume(b)});l=l.cloneNode(!1);l.style.cursor="col-resize";m.diagramContainer.parentNode.ap… argument
12161 xa+mxEvent.getClientY(b)-ta)+"px",c=!0);c&&((window.opener||window.parent).postMessage(JSON.stringi… argument
12162 "hidden";O.style.display="none"}"1"==urlParams.prefetchFonts&&m.editor.loadFonts()}}};(function(){v… argument
12163 …=0,C=0,F=B=0,G=0,E=0,D=0,H=0,I=5*u;if(1<x.length){x.push(t);x.sort(function(b,c){return b.y-c.y});… argument
12164 0==y)C=L,y=1;else if(Math.abs(C-L)<=(Q||1==z&&M?v:0))y+=1;else if(1<y&&M){x=x.slice(0,z+1);break}el… argument
12165 u;if(0==E&&0==G)E=L,G=1;else if(Math.abs(E-L)<=(Q||1==z&&M?v:0))G+=1;else if(1<G&&M){A=A.slice(0,z+… argument
12166 mxConstants.GUIDE_STROKEWIDTH);b.dialect=mxConstants.DIALECT_SVG;b.pointerEvents=!1;b.init(q.graph.… argument
12170 …t.y&&null!=this.guideY&&null!=this.guideY.node&&(this.guideY.node.style.visibility="hidden"),x.x!=… argument
12171 d)for(n=0;n<d.length;n++)d[n].node.style.visibility=b?"visible":"hidden"};var d=mxGuide.prototype.d… argument
12173 …ocument.body.appendChild(q);mxEvent.disableContextMenu(q);this.editorUiRefresh=b.refresh;b.refresh= method
12174 function(c){m.editorUiRefresh.apply(b,arguments);g()};g();var t=document.createElement("canvas");t.… argument
12179 function(b,c){m.setUnit(c.getProperty("unit"))};v.addListener(mxEvent.SIZE,e);v.container.addEventL… argument
12183 mxRuler.prototype.setUnit=function(b){this.unit=b;this.drawRuler()};mxRuler.prototype.formatText=fu… argument
12186 function mxDualRuler(b,e){var d=new mxPoint(mxRuler.prototype.RULER_THICKNESS,mxRuler.prototype.RUL… method
12187 function(c){d=null!=b.currentMenu;mxEvent.consume(c)}),null,mxUtils.bind(this,function(e){if(b.edit… argument
12189 mxDualRuler.prototype.setUnit=function(b){this.vRuler.setUnit(b);this.hRuler.setUnit(b)};mxDualRule… argument
12190 function(b){x=b};this.setSmoothing=function(b){d=b};var A=function(c){v=c;b.getRubberband().setEnab… argument
12191 p)&&this.stopDrawing();p&&2<=d&&this.startDrawing();mxEvent.consume(b)}});this.createStyle=function… argument
12193 Graph.compress(v)+")");v=b.view.scale;x=b.view.translate;d=new mxCell("",new mxGeometry(e/v-x.x,k/v… argument
12195 …,mxUtils.getValue(m,mxConstants.STYLE_STROKECOLOR,"#000"));"default"==m&&(m=b.shapeForegroundColor… argument
12196 u=[];l=y(l);C(l);k="M"+l.x+" "+l.y;n.push(l);f=[];c.setAttribute("d",k);e.appendChild(c);g.consume(… argument
12197 function(d,e){c&&b.isEnabled()&&!b.isCellLocked(b.getDefaultParent())&&(z(e.getEvent()),e.consume()… argument