Lines Matching refs:bind

238 return null!=a&&("scroll"==a.overflow||"auto"==a.overflow)},bind:function(a,b){return function(){re…
327 ….addGestureListeners(b,mxUtils.bind(this,function(a){mxEvent.isMouseEvent(a)||null==a.pointerId||d…
328 2,d[0].clientY+(d[1].clientY-d[0].clientY)/2),e=b,f=c}}),mxUtils.bind(this,function(a){d=[];f=e=0})…
341 …();null!=this.request&&(null!=a&&(this.request.onreadystatechange=mxUtils.bind(this,function(){thi…
352 …d(b);this.table.appendChild(a);this.div.appendChild(this.table);e=mxUtils.bind(this,function(a){th…
356 …resize.style.cursor="nw-resize";var b=null,c=null,d=null,e=null;a=mxUtils.bind(this,function(a){th…
357bind(this,function(a){if(null!=b&&null!=c){var f=mxEvent.getClientX(a)-b,g=mxEvent.getClientY(a)-c…
364 …mizeImg);this.minimized=!1;this.height=this.maxDisplay=null;var a=mxUtils.bind(this,function(a){th…
366 …hild(this.maximize);var a=!1,b=null,c=null,d=null,e=null,f=null,g=mxUtils.bind(this,function(g){th…
371bind(this,function(a){var b=mxEvent.getClientX(a),c=mxEvent.getClientY(a),d=this.getX(),e=this.get…
373 …endChild(this.closeImg);mxEvent.addGestureListeners(this.closeImg,mxUtils.bind(this,function(a){th…
382 …his.resizeHeight="auto"==c.height);mxEvent.addListener(b,"resize",mxUtils.bind(this,function(a){th…
385 …){this.element=a;this.dropHandler=b;mxEvent.addGestureListeners(a,mxUtils.bind(this,function(a){th…
390 …his.startDrag(a),this.mouseMoveHandler=mxUtils.bind(this,this.mouseMove),this.mouseUpHandler=mxUti…
404 …ick",c),mxClient.IS_TOUCH&&mxEvent.addListener(g,"touchend",c));a=mxUtils.bind(this,function(a){nu…
405 mxUtils.bind(this,function(a){null!=d?g.setAttribute("src",d):g.style.backgroundColor="gray";if(nul…
408 …;null!=a&&f.setAttribute("title",a);mxEvent.addListener(f,"click",mxUtils.bind(this,function(a){a=…
410 …ener(g,"click",mxUtils.bind(this,function(a){this.selectMode(g,c);this.noReset=!1})),mxEvent.addLi…
425bind(this,function(a,b){this.active&&this.stop()})};a.addMouseListener(this.mouseListener);this.mo…
426 …ft;this.scrollTop=a.container.scrollTop;return window.setInterval(mxUtils.bind(this,function(){thi…
435 …dChild(l);if(0!=g&&0!=f){var n=null;mxEvent.addGestureListeners(l,mxUtils.bind(this,function(a){th…
436bind(this,function(a){d.activeRow!=l&&d.activeRow!=d&&(null!=d.activeRow&&null!=d.activeRow.div.pa…
437 …er=null;mxEvent.consume(a)}));k||mxEvent.addListener(l,"mouseout",mxUtils.bind(this,function(a){l.…
445 function mxAutoSaveManager(a){this.changeHandler=mxUtils.bind(this,function(a,c){this.isEnabled()&&…
448 …ion=function(){null==this.thread&&(this.thread=window.setInterval(mxUtils.bind(this,this.updateAni…
455 …a,b,mxUtils.bind(this,function(){this.drawCellState.apply(this,arguments)})),this.includeOverlays&…
543 "center")+"; ",this.getTextCss(),p,mxUtils.bind(this,function(c,d,e,f,g){a+=this.state.dx;b+=this.s…
686 null,c,d,this.scale,mxUtils.bind(this,function(a,c,d,k,l,m){a=this.getTextRotation();a=(1!=this.sca…
757 …red(f)&&this.isVertexMovable(f)&&d.push(f)}this.allowGaps&&d.sort(mxUtils.bind(this,function(a,b){…
816 mxParallelEdgeLayout.prototype.findParallels=function(a,b){var c=[],d=mxUtils.bind(this,function(a)…
1025 …h.max(1,Math.ceil((m.height+this.y0)/t));this.pageCount=u*x;var y=mxUtils.bind(this,function(){if(…
1026 …)});mxEvent.addListener(this.wnd,"resize",function(a){b()})}}}),B=mxUtils.bind(this,function(a,b){…
1028 …=this.renderPage(this.pageFormat.width,this.pageFormat.height,0,0,mxUtils.bind(this,function(a){th…
1041 null;try{var B=[this.getRoot()];a=new mxTemporaryCellStates(g,c,B,null,mxUtils.bind(this,function(a…
1068bind(this,function(){this.graph.isEditing()&&this.resize()});this.graph.view.addListener(mxEvent.S…
1074bind(this,function(a){this.graph.stopEditing(!1);mxEvent.consume(a)}));mxEvent.addListener(a,"blur…
1075bind(this,function(b){null!=this.editingCell&&this.clearOnChange&&a.innerHTML==this.getEmptyLabelT…
1076bind(this,function(a){null!=this.editingCell&&this.autoSize&&!mxEvent.isConsumed(a)&&(null!=this.r…
1094 …||"fill"!=c.style[mxConstants.STYLE_OVERFLOW])&&window.setTimeout(mxUtils.bind(this,function(){thi…
1119bind(this,function(b){this.isLabelEvent(a,b)&&(c.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEven…
1120 mxUtils.bind(this,function(b){this.isLabelEvent(a,b)&&(c.dblClick(b,a.cell),mxEvent.consume(b))}))}…
1125 …e.createControlClickHandler=function(a){var b=a.view.graph;return mxUtils.bind(this,function(c){if…
1129 …ape.node,mxUtils.bind(this,function(c){this.isShapeEvent(a,c)&&b.fireMouseEvent(mxEvent.MOUSE_DOWN…
1130bind(this,function(d){this.isShapeEvent(a,d)&&b.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(d…
1203bind(this,function(a){this.graph.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(a))}),mxUtils.
1205bind(this,function(a){this.graph.dblClick(a)})),mxEvent.addGestureListeners(this.backgroundPageSha…
1247bind(this,function(b){a.fireGestureEvent(b);mxEvent.consume(b)})),mxEvent.addListener(b,"gesturech…
1248 …ils.bind(this,function(b){!this.isContainerEvent(b)||null!=c&&b.pointerId!=c||a.fireMouseEvent(mxE…
1249bind(this,function(b){this.isContainerEvent(b)&&a.dblClick(b)}));var d=function(c){var d=null;mxCl…
1250 …nt(mxEvent.MOUSE_MOVE,new mxMouseEvent(b,d(b)))});this.endHandler=mxUtils.bind(this,function(b){th…
1262 …ering=null!=e?e:this.view.rendering;this.graphModelChangeListener=mxUtils.bind(this,function(a,b){…
1273bind(this,function(a){null!=this.tooltipHandler&&null!=this.tooltipHandler.div&&this.tooltipHandle…
1278 …onCellsForChanges=function(a,b){for(var c=new mxDictionary,d=[],e=mxUtils.bind(this,function(a){if…
1287 …(c,"<font color=red>"+b+"</font>"),d&&b.addListener(mxEvent.CLICK,mxUtils.bind(this,function(b,c){…
1291 …nt(b)){var e=!1;a=this.getCellAt(a.graphX,a.graphY,null,null,null,mxUtils.bind(this,function(a){va…
1308 …ull==this.verticalPageBreaks&&0<k&&(this.verticalPageBreaks=[]);a=mxUtils.bind(this,function(a){if…
1341 …,!0);for(e=0;e<a.length;e++){for(var f=this.getAllEdges([a[e]]),g=mxUtils.bind(this,function(d,f){…
1365 …ar l=new mxDictionary,m=0;m<a.length;m++)l.put(a[m],!0);for(var n=mxUtils.bind(this,function(a){fo…
1439 …ype.getCloneableCells=function(a){return this.model.filterCells(a,mxUtils.bind(this,function(a){re…
1440 …pe.getExportableCells=function(a){return this.model.filterCells(a,mxUtils.bind(this,function(a){re…
1441 mxGraph.prototype.getImportableCells=function(a){return this.model.filterCells(a,mxUtils.bind(this,…
1442 mxGraph.prototype.getDeletableCells=function(a){return this.model.filterCells(a,mxUtils.bind(this,f…
1443 …ype.getRotatableCells=function(a){return this.model.filterCells(a,mxUtils.bind(this,function(a){re…
1444 mxGraph.prototype.getMovableCells=function(a){return this.model.filterCells(a,mxUtils.bind(this,fun…
1449 …ype.getResizableCells=function(a){return this.model.filterCells(a,mxUtils.bind(this,function(a){re…
1451 …type.getEditableCells=function(a){return this.model.filterCells(a,mxUtils.bind(this,function(a){re…
1458 …pe.getFoldableCells=function(a,b){return this.model.filterCells(a,mxUtils.bind(this,function(a){re…
1481 …a=a||this.getDefaultParent();var c=b?this.model.filterDescendants(mxUtils.bind(this,function(b){re…
1482 ….selectCells=function(a,b,c,d){c=c||this.getDefaultParent();var e=mxUtils.bind(this,function(c){re…
1490 …ls.bind(this,function(a){this.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(a,this.getStateFo…
1500 …ut(this.tapAndHoldThread),this.tapAndHoldThread=window.setTimeout(mxUtils.bind(this,function(){thi…
1508 mxOutline.prototype.init=function(a){this.container=a;this.updateHandler=mxUtils.bind(this,function…
1509 this.updateHandler);this.scrollHandler=mxUtils.bind(this,function(a,c){this.update(!1)});mxEvent.ad…
1512 mxOutline.prototype.addGestureListeners=function(a){var b=null,c=0,d=0,e=1,f=mxUtils.bind(this,func…
1513 …ollLeft;d=this.source.container.scrollTop;mxEvent.consume(f)}}),g=mxUtils.bind(this,function(a){th…
1514 …entX(a))*e,(b.y-mxEvent.getClientY(a))*e),mxEvent.consume(a))}),k=mxUtils.bind(this,function(a){if…
1518 …e;Array.prototype.slice.call(a.getElementsByTagName("*")).forEach(mxUtils.bind(this,function(a){if…
1522 …,this.fullUpdate=this.fullUpdate||a,this.thread=window.setTimeout(mxUtils.bind(this,function(){thi…
1529bind(this,function(a,c){this.isEnabled()&&this.beforeUndo(c.getProperty("edit"))});this.moveHandle…
1540 …mxUtils.bind(this,function(a,b){this.isEnabled()&&this.isAddEnabled()&&this.cellsAdded(b.getProper…
1554 …s.deltas.visit(mxUtils.bind(this,function(a,c){this.translateState(c.state,c.point.x,c.point.y)}))…
1559bind(this,function(){this.suspended||(this.updatePreview(),this.updateHint())});this.graph.addList…
1561 ….addListener(mxEvent.REFRESH,this.refreshHandler);this.keyHandler=mxUtils.bind(this,function(a){nu…
1574 …n(){var a=this.graph.getDefaultParent(),b=this.graph.getModel(),c=mxUtils.bind(this,function(a){re…
1579 …te(a[b]),null==c||g.get(c)||g.put(c,!0);this.guide.isStateIgnored=mxUtils.bind(this,function(a){va…
1586 g)?g:c.getCellAt(b.getGraphX(),b.getGraphY(),null,null,null,mxUtils.bind(this,function(a,b,c){retur…
1590 …this.suspended){var c=[];null!=this.allCells&&this.allCells.visit(mxUtils.bind(this,function(d,e){…
1596 …tLivePreview=function(){null!=this.allCells&&(this.allCells.visit(mxUtils.bind(this,function(a,b){…
1608bind(this,function(a,c){var b=c.getProperty("eventName"),e=c.getProperty("event");b==mxEvent.MOUSE…
1609 …istener(mxEvent.GESTURE,this.gestureHandler),this.mouseUpListener=mxUtils.bind(this,function(){thi…
1619 …oryMethod=b,this.graph.addMouseListener(this),this.gestureHandler=mxUtils.bind(this,function(a,b){…
1620 …u.prototype.init.apply(this);mxEvent.addGestureListeners(this.div,mxUtils.bind(this,function(a){th…
1623 mxPopupMenuHandler.prototype.mouseUp=function(a,b,c){a=null==c;c=null!=c?c:mxUtils.bind(this,functi…
1632 …xDictionary;this.graph.addMouseListener(this);this.refreshHandler=mxUtils.bind(this,function(a,c){…
1636 …efresh(),e.redraw()));null!=e&&this.handlers.put(b[c],e)}}a.visit(mxUtils.bind(this,function(a,b){…
1641 …(this.graph=a,this.factoryMethod=b,this.init(),this.escapeHandler=mxUtils.bind(this,function(a,b){…
1646 …intHandler=new mxConstraintHandler(this.graph);this.changeHandler=mxUtils.bind(this,function(a){nu…
1647 …mxEvent.SCALE_AND_TRANSLATE,this.changeHandler);this.drillHandler=mxUtils.bind(this,function(a){th…
1649 …{var a=new mxCellMarker(this.graph);a.hotspotEnabled=!0;a.getCell=mxUtils.bind(this,function(b){va…
1651bind(this,function(b){return this.isConnecting()?null==this.error:mxCellMarker.prototype.isValidSt…
1655 …ts.CURSOR_CONNECT;var f=mxUtils.bind(this,function(){return null!=this.currentState?this.currentSt…
1703 function mxConstraintHandler(a){this.graph=a;this.resetHandler=mxUtils.bind(this,function(a,c){null…
1709 …leaveHandler&&null!=this.graph.container&&(this.mouseleaveHandler=mxUtils.bind(this,function(){thi…
1712 this.focusHighlight=p;var q=mxUtils.bind(this,function(){return null!=this.currentFocus?this.curren…
1717 f.node.parentNode.firstChild);e=mxUtils.bind(this,function(){return null!=this.currentFocus?this.cu…
1720 …h=a,this.graph.addMouseListener(this),this.forceRubberbandHandler=mxUtils.bind(this,function(a,c){…
1721bind(this,function(){this.repaint()}),this.graph.addListener(mxEvent.PAN,this.panHandler),this.ges…
1724 …ontainer;this.dragHandler=mxUtils.bind(this,function(a){this.mouseMove(this.graph,c(a))});this.dro…
1741 function mxVertexHandler(a){null!=a&&(this.state=a,this.init(),this.escapeHandler=mxUtils.bind(this…
1758 …)?new mxRectangle(a.getGraphX()-b,a.getGraphY()-b,2*b,2*b):null,b=mxUtils.bind(this,function(b){va…
1813 …l!=a&&null!=a.shape&&(this.state=a,this.init(),this.escapeHandler=mxUtils.bind(this,function(b,c){…
1827 …CellBendable(a))&&mxUtils.bind(this,function(a){var d=this.createHandleShape(a);this.initBend(d,mx…
1828 …Bendable(this.state.cell))for(var b=1;b<this.abspoints.length;b++)mxUtils.bind(this,function(b){th…
1893 …s.CURSOR_TERMINAL_HANDLE);a.push(b);a.push(this.createVirtualBend(mxUtils.bind(this,function(a){!m…
1913bind(this,function(a){this.keyDown(a)}),mxEvent.addListener(this.target,"keydown",this.keydownHand…
1920 …t.body.appendChild(this.div),mxEvent.addGestureListeners(this.div,mxUtils.bind(this,function(a){"A…
1923 …Source(c.shape)||a.isSource(c.text);this.thread=window.setTimeout(mxUtils.bind(this,function(){if(…
1926 …is.getCell=c);mxClient.IS_IE&&mxEvent.addListener(window,"unload",mxUtils.bind(this,function(){thi…
1928 …!1,this.opacity=mxConstants.HIGHLIGHT_OPACITY,this.repaintHandler=mxUtils.bind(this,function(){if(…
1929 …addListener(mxEvent.CHANGE,this.repaintHandler),this.resetHandler=mxUtils.bind(this,function(){thi…
2014 …setModified(!0)};this.graph.getModel().addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){thi…
2050 …==document.documentMode||10<=document.documentMode)){var k=null,g=mxUtils.bind(this,function(c){"r…
2063 …unction(b,e){c.undoableEditHappened(e.getProperty("edit"))};var e=mxUtils.bind(this,function(b,c){…
2069bind(this,function(){b.hideDialog(!0)})),document.body.appendChild(p),this.dialogImg=p,!q)){var F=…
2109bind(this,function(b){null==d&&(!mxClient.IS_IE||10<document.documentMode)&&(d=x,d.style.backgroun…
2120bind(this,function(d){b.dblClick(d)})),mxEvent.addGestureListeners(this.backgroundPageShape.node,m…
2121 …ed(d)&&b.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(d))}),mxUtils.bind(this,function(d){b.…
2127 …ull==this.verticalPageBreaks&&0<x&&(this.verticalPageBreaks=[]);b=mxUtils.bind(this,function(b){if…
2130 e.apply(this,arguments);b.intersects=mxUtils.bind(this,function(d,f){return this.isConnecting()?!0:…
2142 …tHandler=m;this.createDivs();this.createUi();this.refresh();var n=mxUtils.bind(this,function(b){nu…
2145 …arguments)}}mxEvent.addListener(this.diagramContainer,"mousemove",mxUtils.bind(this,function(b){va…
2146bind(this,function(b){32!=b.which||k.isEditing()?mxEvent.isConsumed(b)||27!=b.keyCode||this.hideDi…
2148 …eturn v||I.apply(this,arguments)};var B=!1,F=null,M=null,E=null,K=mxUtils.bind(this,function(){if(…
2151 …ctoryMethod=mxUtils.bind(this,function(b,d,f){this.menus.createPopupMenu(b,d,f)}));mxEvent.addGest…
2152 …State(f[f.length-1]))},0));m(f)});this.addListener("styleChanged",mxUtils.bind(this,function(b,d){…
2158 (b=mxUtils.bind(this,function(){var b=k.currentVertexStyle.fontFamily||"Helvetica",d=String(k.curre…
2159bind(this,function(b){null!=this.currentMenu&&mxEvent.getSource(b)!=this.currentMenu.div&&this.hid…
2160bind(this,function(){this.refresh()});mxEvent.addListener(window,"orientationchange",this.orientat…
2161bind(this,function(){k.view.validateBackground()}));this.addListener("backgroundColorChanged",mxUt…
2163bind(this,function(){b.tooltipHandler.hide();null!=b.connectionHandler&&null!=b.connectionHandler.…
2164bind(this,function(b){this.onKeyDown(b)}));mxEvent.addListener(b.container,"keypress",mxUtils.bind
2166 …RE_MOUSE_EVENT,mxUtils.bind(this,function(b,d){"mouseDown"==d.getProperty("eventName")&&c.hideShap…
2167 …tX(d),mxEvent.getClientY(d));mxEvent.consume(d);window.setTimeout(mxUtils.bind(this,function(){c.s…
2168 …h.connectVertex(d.cell,e,this.graph.defaultEdgeLength,f,null,null,mxUtils.bind(this,function(f,l,q…
2169bind(this,function(){c.showShapePicker(g.getGraphX(),g.getGraphY(),m,mxUtils.bind(this,function(d)…
2170bind(this,function(){var d=e.getProperty("arrow"),f=e.getProperty("direction"),l=e.getProperty("ev…
2171 …itor.shapePickerHoverDelay)}));this.hoverIcons.addListener("blur",mxUtils.bind(this,function(b,c){…
2173 …pePicker=function(b,c,e,k,g,p){b=this.createShapePicker(b,c,e,k,g,mxUtils.bind(this,function(){thi…
2175 ….style.backgroundColor=q.background);q.container.appendChild(f);e=mxUtils.bind(this,function(d){va…
2178 EditorUi.prototype.getCellsForShapePicker=function(b,c){var e=mxUtils.bind(this,function(b,c,e,t){r…
2196 …e=this;if(this.editor.isChromelessView()){this.chromelessResize=c=mxUtils.bind(this,function(d,f,c…
2198bind(this,function(){this.chromelessResize(!1)});var k=mxUtils.bind(this,function(){this.chromeles…
2199 …zoomIn").funct=mxUtils.bind(this,function(d){b.zoomIn();this.chromelessResize(!1)});this.actions.g…
2201bind(this,function(){var d=mxUtils.getCurrentStyle(b.container);b.isViewer()?this.chromelessToolba…
2202bind(this,function(b){window.location.href=g.backBtn.url;mxEvent.consume(b)}),Editor.backImage,mxR…
2203 …"#000000":"#ffffff";this.chromelessToolbar.appendChild(f);var l=p(mxUtils.bind(this,function(b){th…
2204bind(this,function(){null!=this.pages&&1<this.pages.length&&null!=this.currentPage&&(f.innerHTML="…
2205bind(this,function(b){this.actions.get("zoomOut").funct();mxEvent.consume(b)}),Editor.zoomOutImage…
2206bind(this,function(d){b.isLightboxView()?(1==b.view.scale?this.lightboxFit():b.zoomTo(1),this.chro…
2207bind(this,function(b){null!=n&&(window.clearTimeout(n),n=null);null!=u&&(window.clearTimeout(u),u=…
2208 "mouseleave",mxUtils.bind(this,function(){this.layersDialog.parentNode.removeChild(this.layersDialo…
2210 …==this.editor.editButtonLink&&null==this.editor.editButtonFunc||p(mxUtils.bind(this,function(d){nu…
2211bind(this,function(b){g.refreshBtn.url?window.location.href=g.refreshBtn.url:window.location.reloa…
2212 …ghtbox&&("1"==urlParams.close||this.container!=document.body))&&p(mxUtils.bind(this,function(b){"1…
2213 …istener(b.container,mxClient.IS_POINTER?"pointermove":"mousemove",mxUtils.bind(this,function(b){mx…
2214bind(this,function(d){b.tooltipHandler.resetTimer();b.tooltipHandler.hideTooltip();mxEvent.isShift…
2218 …w.setTimeout(function(){if(!b.isMouseDown||ea)C=window.setTimeout(mxUtils.bind(this,function(){b.i…
2225 …||1==b.cumulativeZoomFactor||Q(0)});mxEvent.addMouseWheelListener(mxUtils.bind(this,function(d,f,c…
2227 …e(d)}};EditorUi.prototype.addChromelessToolbarItems=function(b){b(mxUtils.bind(this,function(b){th…
2230 …rototype.addBeforeUnloadListener=function(){window.onbeforeunload=mxUtils.bind(this,function(){if(…
2231 …&null!=window.opener.openFile&&window.opener.openFile.setConsumer(mxUtils.bind(this,function(b,c){…
2232 …g.smartSeparators=!0;g.showDisabled=!0;g.autoExpand=!0;g.hideMenu=mxUtils.bind(this,function(){mxP…
2249 …et("undo"),c=this.actions.get("redo"),e=this.editor.undoManager,k=mxUtils.bind(this,function(){b.s…
2265 …s.createStatusContainer(),this.editor.addListener("statusChanged",mxUtils.bind(this,function(){thi…
2268 !0,0,mxUtils.bind(this,function(b){this.hsplitPosition=b;this.refresh()})))};EditorUi.prototype.cre…
2270 …!0,l=null;mxClient.IS_POINTER&&(b.style.touchAction="none");var q=mxUtils.bind(this,function(){var…
2271 mxEvent.getClientY(b));d=q();f=!1;mxEvent.consume(b)});mxEvent.addListener(b,"click",mxUtils.bind(t…
2274 …!=this.editor.graph.container.style.visibility&&window.setTimeout(mxUtils.bind(this,function(){thi…
2277 EditorUi.prototype.openFile=function(){window.openFile=new OpenFile(mxUtils.bind(this,function(b){t…
2279 …elFromClipboardWithType(mxUtils.bind(this,function(c){null!=c?b(c):this.readGraphModelFromClipboar…
2280bind(this,function(e){if(null!=e&&0<e.length&&"html"==c&&0<=mxUtils.indexOf(e[0].types,"text/html"…
2288 …CreateFilename(),mxResources.get("save"),mxUtils.bind(this,function(b){this.save(b)}),null,mxUtils…
2291 …ndexOf("Camino"))?(b=new mxMorphing(k),b.addListener(mxEvent.DONE,mxUtils.bind(this,function(){k.g…
2294 EditorUi.prototype.showBackgroundImageDialog=function(b,c){b=null!=b?b:mxUtils.bind(this,function(b…
2303 mxUtils.bind(this,function(b,d,f,c){var e=this.actions.get(f);null!=e&&(f=function(){e.isEnabled()&…
2319 …null,f=null,l=null,q=!1;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(b,c){…
2324 d){},mouseMove:mxUtils.bind(this,function(b,c){var e=this.selectionCellsHandler.handlers.map,g;for(…
2331 …this.model.getParent(n.cell))}}null!=k&&e.setCursor(k)}}),mouseUp:mxUtils.bind(this,function(b,c){…
2338 …())};var M=null;this.panningHandler.addListener(mxEvent.PAN_START,mxUtils.bind(this,function(){thi…
2339 mxUtils.bind(this,function(){this.isEnabled()&&(this.container.style.cursor=M)}));this.popupMenuHan…
2343bind(this,function(b,d){if("mouseDown"==d.getProperty("eventName")){var f=d.getProperty("event").g…
2345 mxUtils.bind(this,function(){var b=this.connectionHandler.constraintHandler;null!=b.currentFocus&&b…
2367bind(this,function(b){k=!0;t=new mxPoint(mxEvent.getClientX(b),mxEvent.getClientY(b))}),f=mxUtils.
2368 …s,arguments);null!=this.div&&mxEvent.addListener(this.div,"click",mxUtils.bind(this,function(b){va…
2369 …Clicked(c)&&mxEvent.consume(b))}))}}this.addListener(mxEvent.SIZE,mxUtils.bind(this,function(b,c){…
2395 …ePoints.slice(),k=b.segments,g=b.length,p=e.length;return{execute:mxUtils.bind(this,function(t,d){…
2396 b.text.node&&(b.text.node.style.opacity=l)}}),stop:mxUtils.bind(this,function(){null!=b.shape&&(b.s…
2397bind(this,function(k,g){if(null!=b.shape){var p=k/g;c||(p=1-p);b.shape.bounds=new mxRectangle(e.x,…
2398 …=function(b,c,e,k){e=null!=e?e:30;k=null!=k?k:30;var g=null,p=0,t=mxUtils.bind(this,function(){if(…
2412 …";for(var k=this.getModel(),g=k.getChildCount(k.root),p=0;p<g;p++)mxUtils.bind(this,function(g){fu…
2421 …q.x-b.geometry.width/2:q.x+b.geometry.width/2);var I=[],B=v,v=u;g=mxUtils.bind(this,function(e){if…
2451 …this.arrowLeft];this.resetHandler=mxUtils.bind(this,function(){this.reset()});this.repaintHandler=…
2452 …ent.ESCAPE,mxUtils.bind(this,function(){this.mouseDownPoint=null}));mxEvent.addListener(this.graph…
2453bind(this,function(b){this.reset()}));var b=this.graph.click;this.graph.click=mxUtils.bind(this,fu…
2454bind(this,function(b,k){var e=k.getEvent();this.isResetEvent(e)?this.reset():this.graph.isMouseDow…
2457 …lute";k.style.cursor=this.cssCursor;mxEvent.addGestureListeners(k,mxUtils.bind(this,function(b){nu…
2458 …,this.graph,this.currentState);mxEvent.addListener(k,"mouseenter",mxUtils.bind(this,function(b){mx…
2459 "arrow",k,"direction",e,"event",b)))}));mxEvent.addListener(k,"mouseleave",mxUtils.bind(this,functi…
2468 (e=c.rotationShape.boundingBox));c=mxUtils.bind(this,function(b,f,c){if(null!=e){var d=new mxRectan…
2470 …=null);var p=this.graph.getCellGeometry(this.currentState.cell),t=mxUtils.bind(this,function(b,f){…
2475 …(this.updateThread),null!=b&&(this.updateThread=window.setTimeout(mxUtils.bind(this,function(){thi…
2515 …=g){var p=!1;if(null==g)try{if(k){mxStencilRegistry.loadStencil(b,mxUtils.bind(this,function(e){nu…
2516 …tencilRegistry.loadStencil=function(b,c){if(null!=c)mxUtils.get(b,mxUtils.bind(this,function(b){c(…
2524 …er=function(){var b=t.apply(this,arguments),d=b.getCell;b.getCell=mxUtils.bind(this,function(b){va…
2535 …(this,arguments);else{var c=this.getSelectionCell(),e=null,g=[],k=mxUtils.bind(this,function(d){if…
2566 …)}return c};Graph.prototype.addClickHandler=function(b,d,f){var c=mxUtils.bind(this,function(){var…
2579 …geExport=function(){var b=new mxImageExport;b.getLinkForCellState=mxUtils.bind(this,function(b,d){…
2602 …te(c,f(d,40));this.isCustomLink(b)&&mxEvent.addListener(c,"click",mxUtils.bind(this,function(d){th…
2604 …Showing());e.apply(this,arguments)};this.popupMenuHandler.mouseUp=mxUtils.bind(this,function(b,e){…
2605 …sCellSelected(e.getCell())));g=!d||g?null:mxUtils.bind(this,function(b){window.setTimeout(mxUtils.
2613 …textarea,"paste",mxUtils.bind(this,function(b){var c=d(this.textarea,this.textarea.cloneNode(!0));…
2636 …ength){for(var k=f.getChildCells(l[0].cell,!0),f=0;f<k.length;f++)mxUtils.bind(this,function(f){va…
2639 …){};l.reset=function(){H=0};b.push(l)})(f);for(f=0;f<l.length;f++)mxUtils.bind(this,function(f){f=…
2643bind(this,function(d){if(null!=d&&b.isVertex(d.cell)){var f=mxUtils.createImage(Editor.rowMoveImag…
2644 …ouseEvent(b),this.graph.isMouseDown=!0);mxEvent.consume(b)}),null,mxUtils.bind(this,function(b){mx…
2679bind(this,function(){null!=this.specialHandle&&(this.specialHandle.node.style.display=this.graph.i…
2680 this.changeHandler);this.editingHandler=mxUtils.bind(this,function(b,d){this.redrawHandles()});this…
2681 …ild(this.linkHint),mxEvent.addListener(this.linkHint,"mouseenter",mxUtils.bind(this,function(){thi…
2682 …inter";this.linkHint.appendChild(c);mxEvent.addListener(c,"click",mxUtils.bind(this,function(b){th…
2683 [mxResources.get("link")]),mxUtils.bind(this,function(b){this.graph.setLinkForCell(this.state.cell,…
2684bind(this,function(){return this.state.view.graph.connectionHandler.isEnabled()});var b=mxUtils.bi…
2686 mxUtils.bind(this,function(){return this.graph.connectionHandler.isEnabled()})};var ma=mxVertexHand…
2694 …ation=d;this.originalLineTo=this.canvas.lineTo;this.canvas.lineTo=mxUtils.bind(this,M.prototype.li…
2695bind(this,M.prototype.moveTo);this.originalClose=this.canvas.close;this.canvas.close=mxUtils.bind(…
2956 …window.openFile=new OpenFile(mxUtils.bind(this,function(){e.hideDialog()}));window.openFile.setCon…
2976 …getSelectionCell())}},!0)})).isEnabled=p;this.addAction("link...",mxUtils.bind(this,function(){if(…
2977 …ditor.saveSelection();e.showLinkDialog(c,mxResources.get("apply"),mxUtils.bind(this,function(b){g.…
2983 …))},null,null,Editor.ctrlKey+"+Shift+H");this.addAction("fitPage",mxUtils.bind(this,function(){g.p…
2984 …-1)}),null,null,Editor.ctrlKey+"+J");this.addAction("fitTwoPages",mxUtils.bind(this,function(){g.p…
2985 …ull,null,Editor.ctrlKey+"+Shift+J");this.addAction("fitPageWidth",mxUtils.bind(this,function(){g.p…
2986 …,mxUtils.bind(this,function(){var b=new FilenameDialog(this.editorUi,parseInt(100*g.getView().getS…
2987 …le...",mxUtils.bind(this,function(){var b=new FilenameDialog(this.editorUi,parseInt(100*g.pageScal…
2990 …back(function(){return g.scrollbars});t=this.addAction("pageView",mxUtils.bind(this,function(){e.s…
2993 …utDialog(e)).container,320,280,!0,!0,function(){d=!1}),d=!0)}));t=mxUtils.bind(this,function(b,d,c…
3003 mxUtils.bind(this,function(){var b=g.getEditableCells(g.getSelectionCells());if(null!=b&&0<b.length…
3006 …Update()}}},null,null,"Alt+Shift+C");t=this.addAction("subscript",mxUtils.bind(this,function(){g.c…
3007 …)}),null,null,Editor.ctrlKey+"+,");t=this.addAction("superscript",mxUtils.bind(this,function(){g.c…
3010bind(this,function(){null==this.layersWindow?(this.layersWindow=new LayersWindow(e,document.body.o…
3011 …mxUtils.bind(this,function(){return null!=this.layersWindow&&this.layersWindow.window.isVisible()}…
3012bind(this,function(){return 0<e.formatWidth}));t=this.addAction("outline",mxUtils.bind(this,functi…
3013 …r.ctrlKey+"+Shift+O");t.setToggleAction(!0);t.setSelectedCallback(mxUtils.bind(this,function(){ret…
3019 …()!=this||this.invalidChecksum?null!=c&&c():this.getLatestVersion(mxUtils.bind(this,function(g){tr…
3026 …null!=c)for(b=0;b<c.length;b++)this.ui.anonymizePatch(c[b]);var p=mxUtils.bind(this,function(b){va…
3027 …emote:\n"+b:""),null,7E4)});null==k?p(null):this.getLatestVersion(mxUtils.bind(this,function(b){nu…
3032bind(this,function(){this.stats.fileReloaded++;var c=this.ui.editor.graph.getViewState(),e=this.ui…
3033 …his.backupPatch?this.ui.confirm(mxResources.get("allChangesLost"),mxUtils.bind(this,function(){thi…
3044 …e.prototype.loadPatchDescriptor=function(b,c){this.loadDescriptor(mxUtils.bind(this,function(c){b(…
3048 …teners=function(){null==this.changeListener&&(this.changeListener=mxUtils.bind(this,function(b,c){…
3051 …style.textDecoration="underline",mxEvent.addListener(b[0],"click",mxUtils.bind(this,function(){thi…
3055 …gth?(c[0].style.cursor="pointer",mxEvent.addListener(c[0],"click",mxUtils.bind(this,function(){thi…
3056 …eout(this.saveDraftThread),this.saveDraftThread=window.setTimeout(mxUtils.bind(this,function(){thi…
3057 …gth?(e[0].style.cursor="pointer",mxEvent.addListener(e[0],"click",mxUtils.bind(this,function(c){"I…
3059bind(this,function(){this.reloadFile(b,c)})):(this.addConflictStatus(mxUtils.bind(this,function(){…
3060 …sources.get("synchronize"),mxUtils.bind(this,function(){this.reloadFile(b,c)}),mxResources.get("ca…
3061 …akeCopy"),mxUtils.bind(this,function(){this.copyFile(b,c)}),null,mxResources.get("overwrite"),e,mx…
3062 …b,null,mxResources.get("synchronize"),c,mxResources.get("cancel"),mxUtils.bind(this,function(){thi…
3063 …edirectToNewApp");null!=c&&(k+=" ("+c+")");var g=mxUtils.bind(this,function(){var c=mxUtils.bind(t…
3064bind(this,function(){this.redirectDialogShowing=!1}),c,mxResources.get("cancel"),mxResources.get("…
3068bind(this,function(){this.handleFileSuccess(!0)}),k=mxUtils.bind(this,function(b){this.handleFileE…
3069bind(this,function(){this.ui.spinner.stop();this.ui.spinner.spin(document.body,mxResources.get(thi…
3071 …eChanges(),this.autosave(this.autosaveDelay,this.maxAutosaveDelay,mxUtils.bind(this,function(b){th…
3072 …&(this.ui.scheduleSanityCheck(),this.ageStart=this.lastChanged)}),mxUtils.bind(this,function(b){th…
3073 …sOptimisticSync()?b(c):this.sync.createToken(c,mxUtils.bind(this,function(e){b(c,e)}),mxUtils.bind
3077bind(this,function(){this.lastAutosave=null;this.autosaveThread==g&&(this.autosaveThread=null);if(…
3085bind(this,function(){this.setModified(this.getShadowModified());this.contentChanged();null!=e&&e()…
3086bind(this,function(b){this.fileHandle.getFile().then(mxUtils.bind(this,function(e){this.invalidFil…
3087 …t()}catch(x){f(x)}}),f)}),f)}),f):(this.inConflictState=!0,f())}),mxUtils.bind(this,function(b){th…
3088 …,mxUtils.bind(this,function(){mxUtils.popup(c)}));d()}});p?(c=this.ui.getPngFileProperties(this.ui…
3137bind(this,b.prototype.begin);this.originalEnd=this.canvas.end;this.canvas.end=mxUtils.bind(this,b.…
3138bind(this,b.prototype.roundrect);this.originalEllipse=this.canvas.ellipse;this.canvas.ellipse=mxUt…
3139bind(this,b.prototype.arcTo);this.originalClose=this.canvas.close;this.canvas.close=mxUtils.bind(t…
3160 …&&!mxClient.IS_SF?atob(c):Base64.decode(c,!0);EditorUi.parsePng(f,mxUtils.bind(this,function(b,c,e…
3183 …unction(){f.apply(this,arguments);this.graph.addListener(mxEvent.SIZE,mxUtils.bind(this,function(b,
3188 …Timeout(mxUtils.bind(this,function(){c=!1;d(Editor.svgBrokenImage.src)}),this.timeout);if(/(\.svg)…
3189 …r());var e=0,g=c||{};c=mxUtils.bind(this,function(c,l){for(var m=b.getElementsByTagName(c),k=0;k<m…
3192 …est(b)||/(\.gif)($|\?)/i.test(b)||/(\.pdf)($|\?)/i.test(b));e=null!=e?e:!0;var n=mxUtils.bind(this,
3193 function(){mxUtils.get(b,mxUtils.bind(this,function(b){if(200<=b.getStatus()&&299>=b.getStatus()){i…
3196bind(this,function(){if(0==f){for(var b=[c[0]],e=1;e<c.length;e++){var g=c[e].indexOf(")");b.push(…
3198bind(this,function(d){this.cachedFonts[b]=d;f--;e()}),mxUtils.bind(this,function(b){f--;e()}),!0,n…
3199bind(this,function(){0==f&&this.embedCssFonts(c,b)}),g=0;g<d.length;g++)mxUtils.bind(this,function…
3202 …,null,l,null,null,null,n,null,t,y,C),mxUtils.bind(this,function(c){try{var f=new Image;f.onload=mx…
3205bind(this,function(){try{null!=this.resolvedFontCss&&this.addFontCss(c,this.resolvedFontCss),f.src…
3239 …getSelectionState(),c=mxUtils.button(mxResources.get("copyStyle"),mxUtils.bind(this,function(b){th…
3240 …;0<d.cells.length?(c=mxUtils.button(mxResources.get("pasteStyle"),mxUtils.bind(this,function(b){th…
3244 …:"url('"+Dialog.prototype.noColorImage+"')";btn=mxUtils.button("",mxUtils.bind(q,function(g){this.…
3245 …:g,parentRow:l,isDeletable:!0,flipBkg:m}));btn=mxUtils.button("+",mxUtils.bind(q,function(d){for(v…
3248 …(p.dispName,null,p.dispName));break}mxEvent.addListener(y,"click",mxUtils.bind(q,function(){var g=…
3250 "click",mxUtils.bind(q,function(){function g(){var b=l.value,b=0==b.length&&"string"!=x?0:b;n.allow…
3251 …,"blur",function(){g()})})));n.isDeletable&&(v=mxUtils.button("-",mxUtils.bind(q,function(b){f(d,"…
3258 …xUtils.bind(this,function(b){mxEvent.addListener(k,"click",mxUtils.bind(this,function(){n(b)}))})(…
3259 …round="#84d7ff")}),q=mxUtils.bind(this,function(b){var d=mxUtils.bind(this,function(b){var d=mxUti…
3267 "click",mxUtils.bind(this,function(){n(mxUtils.mod(this.format.currentScheme-1,this.defaultColorSch…
3268bind(this,function(){n(mxUtils.mod(this.format.currentScheme+1,this.defaultColorSchemes.length))})…
3269 …l!=f.shape.stencil?(d=mxUtils.button(mxResources.get("editShape"),mxUtils.bind(this,function(b){th…
3270 …&0<d.cells.length&&(d=mxUtils.button(mxResources.get("editImage"),mxUtils.bind(this,function(b){th…
3288 …ddListener(mxEvent.ROOT,function(){m=l.hiddenTags.slice()});var v=mxUtils.bind(this,function(d,c){…
3300bind(this,function(){c||(c=!0,this.model.beginUpdate())}),l=mxUtils.bind(this,function(){c&&(c=!1,…
3372 …ndChild(m),f.status=m),this.pause=mxUtils.bind(this,function(){var b=function(){};this.active&&(b=…
3390 (g.name=this.anonymizeString(g.name));null!=g.cells&&(d=mxUtils.bind(this,function(b){var d=g.cells…
3393 …tStatus(""),b?d.reloadFile(mxUtils.bind(this,function(){d.handleFileSuccess("manual"==DrawioFile.S…
3394 …b,!0)})):d.synchronizeFile(mxUtils.bind(this,function(){d.handleFileSuccess("manual"==DrawioFile.S…
3407bind(this,function(d,c){try{var f=this.editor.graph.pageVisible;null!=n&&(this.editor.graph.pageVi…
3408bind(this,function(){mxUtils.popup(m)}))});if("svg"==b){var v=this.editor.graph.background;if(u||v…
3411 …otype.loadDescriptor=function(b,c,e){var d=window.location.hash,f=mxUtils.bind(this,function(f){va…
3412bind(this,function(b){this.editor.undoManager.clear();this.editor.setModified(!1);this.editor.setS…
3413bind(this,function(b){this.handleError(b)}))}),m=mxUtils.bind(this,function(){window.clearTimeout(…
3414 mxUtils.bind(this,function(b){null!=e&&e(b)})):f("")};EditorUi.prototype.updateDiagram=function(b){…
3419 ….editor.graph.model.clear();this.editor.undoManager.clear();var e=mxUtils.bind(this,function(){thi…
3424 …ion:"message_"+u.message,label:"stack_"+u.stack})}catch(v){}var g=mxUtils.bind(this,function(){nul…
3428 …ll==this.scratchpad?StorageFile.getFileContent(this,".scratchpad",mxUtils.bind(this,function(b){nu…
3432 …tSibling:null;this.removeLibrarySidebar(b.getHash());var f=null,l=mxUtils.bind(this,function(d,c){…
3433 e,null!=g?g:!0,mxUtils.bind(this,function(b){l(c,b)}));this.repositionLibrary(d);var q=k.parentNode…
3434 …d(t),mxEvent.addListener(t,"click",mxUtils.bind(this,function(d){if(!mxEvent.isConsumed(d)){var c=…
3435 …ph,F=null,M=mxUtils.bind(this,function(d){this.showLibraryDialog(b.getTitle(),k,c,b,b.getMode());m…
3437bind(this,function(d){this.saveLibrary(b.getTitle(),c,b,b.getMode(),b.constructor==LocalLibrary,!0…
3438 ….parentNode&&0<c.length&&(f.parentNode.removeChild(f),f=null)}),C=mxUtils.bind(this,function(b){if…
3439 …)}mxEvent.consume(b)});mxEvent.addGestureListeners(k,function(){},mxUtils.bind(this,function(b){B.…
3440bind(this,function(b){B.isMouseDown&&null!=B.panningManager&&null!=B.graphHandler&&(k.style.backgr…
3441bind(this,function(b){k.style.backgroundColor="#f1f3f4";b.dataTransfer.dropEffect="copy";k.style.c…
3442 this.importFiles(b.dataTransfer.files,0,0,this.maxImageSize,mxUtils.bind(this,function(d,e,g,m,n,q,…
3443 f=null);else{var x=!1,t=mxUtils.bind(this,function(d,e){if(null!=d&&"application/pdf"==e){var g=Edi…
3445 this.isRemoteFileFormat(d,p)&&null!=v?this.parseFile(v,mxUtils.bind(this,function(b){4==b.readyStat…
3447 …rsor:pointer;",mxUtils.write(g,"?"),mxEvent.addGestureListeners(g,mxUtils.bind(this,function(b){th…
3453bind(this,function(b,d){if(!d){var c=new ChangePageSetup(this,null,b);c.ignoreColor=!0;this.editor…
3454 …(this,arguments);this.editor.graph.addListener("viewStateChanged",mxUtils.bind(this,function(b){th…
3455 …pointerdown":"mousedown",mxUtils.bind(this,function(b){b.preventDefault()}));mxEvent.addListener(c…
3459bind(this,function(){this.editor.graph.openLink("https://drive.google.com/open?id="+q);this.handle…
3460 …select");e.style.width="200px";b();mxEvent.addListener(e,"change",mxUtils.bind(this,function(){var…
3461bind(this,function(){f||(d=this.drive.getUsersList(),b())}),mxUtils.bind(this,function(b){this.han…
3462 …r u=n=null;null!=f&&null!=f.helpLink?(n=mxResources.get("help"),u=mxUtils.bind(this,function(){ret…
3463 …ctOwner"),p+=mxUtils.htmlEntities(" ("+n+": "+f.ownerEmail+")"),u=mxUtils.bind(this,function(){ret…
3467 …ppendChild(k);f.style.paddingBottom="30px";f.appendChild(c)}var q=mxUtils.bind(this,function(){nul…
3468bind(this,function(b){mxEvent.consume(b);q()}));var p=mxUtils.bind(this,function(){mxUtils.setPref…
3475 …sLocalStorage&&k++;var d=4>=k?2:6<k?4:3;c=new CreateDialog(this,c,mxUtils.bind(this,function(d,c){…
3476 …eLocalFile(b,d,e,g,null,v):null!=d&&0<d.length&&this.pickFolder(c,mxUtils.bind(this,function(f){tr…
3477 d,e,g,c,f)}catch(M){this.handleError(M)}}))}catch(F){this.handleError(F)}}),mxUtils.bind(this,funct…
3479 …ll;var d=b(mxUtils.bind(this,function(b){null==this.tagsComponent&&(this.tagsComponent=this.editor…
3481 …agsComponent.div;mxEvent.addListener(this.tagsDialog,"mouseleave",mxUtils.bind(this,function(){nul…
3483bind(this,function(){var b=this.editor.graph.getAllTags();d.style.display=0<b.length?"":"none"}))}…
3484bind(this,function(){null!=this.tagsDialog&&(this.tagsDialog.parentNode.removeChild(this.tagsDialo…
3485 …ExportEnabled()){this.exportDialog=null;var c=b(mxUtils.bind(this,function(b){var d=mxUtils.bind(t…
3487 …zIndex:2E9});f.spin(this.exportDialog);this.editor.exportToCanvas(mxUtils.bind(this,function(b){f.…
3488bind(this,function(){this.openInNewWindow(c.substring(c.indexOf(",")+1),"image/png",!0);d.apply(th…
3489 …ocalFileSave()?this.saveLocalFile(e,b,g,k,c):this.saveRequest(b,c,mxUtils.bind(this,function(b,d){…
3490bind(this,function(b,d){if("_blank"==d||null!=b&&0<b.length){var f=e("_blank"==d?null:b,d==App.MOD…
3491bind(this,function(){this.spinner.stop();if(200<=f.getStatus()&&299>=f.getStatus())try{this.export…
3493 …;var m=this.getBaseFilename()+(k?".drawio":"")+".svg";F=null!=F?F:mxUtils.bind(this,function(b){th…
3494 …gTooLarge")},mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(b)}))});var q=mxU…
3495 var u=mxUtils.bind(this,function(b){n?(null==this.thumbImageCache&&(this.thumbImageCache={}),this.e…
3498bind(this,function(){if("custom"==g.value){var b=new FilenameDialog(this,f,mxResources.get("ok"),f…
3501 …et("borderColor")+":");var g="#0000ff",k=null,k=mxUtils.button("",mxUtils.bind(this,function(b){th…
3510 mxEvent.addListener(q,"click",mxUtils.bind(this,function(){this.hideDialog();this.drive.showPermiss…
3512 …).setAttribute("disabled","disabled")});b=new CustomDialog(this,d,mxUtils.bind(this,function(){g(k…
3514 …red"));f.appendChild(m);m=mxUtils.button(mxResources.get("share"),mxUtils.bind(this,function(){thi…
3515 …,mxUtils.bind(this,function(){this.spinner.spin(document.body,mxResources.get("loading"))&&this.ge…
3518 …).setAttribute("disabled","disabled")});c=new CustomDialog(this,d,mxUtils.bind(this,function(){k(u…
3521 …;null!=t&&(t.style.marginBottom="16px");b=new CustomDialog(this,d,mxUtils.bind(this,function(){var…
3529 …d(A),mxUtils.br(d),mxUtils.br(d),l+=50);e=new CustomDialog(this,d,mxUtils.bind(this,function(){thi…
3532 …).setAttribute("disabled","disabled")});c=new CustomDialog(this,d,mxUtils.bind(this,function(){b(m…
3534 …PageIndex();if(this.isExportToCanvas())this.editor.exportToCanvas(mxUtils.bind(this,function(b){va…
3535bind(this,function(b){t({message:mxResources.get("unknownError")})}),null,!0,e?2:1,null,c,null,nul…
3538 …:pointer;");b&&(t+="max-width:100%;");this.editor.convertImages(d,mxUtils.bind(this,function(b){p(…
3544bind(this,function(e){try{null==l&&(l=this.getFileData(!0,null,null,null,null,null,null,null,null,…
3545 …Attribute("content",b);null!=e&&n.setAttribute("resource",e);var d=mxUtils.bind(this,function(b){b=
3546bind(this,function(b){t?this.editor.convertImages(b,mxUtils.bind(this,function(b){d(b)})):d(b)}));…
3547bind(this,function(d){try{null!=d&&this.editor.addFontCss(b,d),c(b)}catch(q){c(b)}}))}catch(l){c(b…
3548 …D)}catch(E){this.handleError(E)}}),null,this.thumbImageCache,null,mxUtils.bind(this,function(b){th…
3554 …,g,k){g=null!=g?g:b.name;e=null!=e?e:mxUtils.bind(this,function(b){this.handleError(b)});var d=mxU…
3556bind(this,function(){if(4==n.readyState)if(200<=n.status&&299>=n.status)try{var b=n.response;if("t…
3558 …tGraphML=function(b,c,e){e=null!=e?e:mxUtils.bind(this,function(b){this.handleError(b)});var d=mxU…
3559 function(b){var d=mxUtils.bind(this,function(){this.loadingExtensions=!1;if("undefined"!==typeof Vs…
3560 function(b,c,e){var d=mxUtils.bind(this,function(){this.loadingExtensions=!1;if("undefined"!==typeo…
3567 …w Blob([b.replace(/\s+/g," ")],{type:"application/octet-stream"}),mxUtils.bind(this,function(b){4=…
3569 …atch(B){}this.loadImage(b,mxUtils.bind(this,function(f){if("data:"==b.substring(0,5))this.resizeIm…
3570 …f;verticalAlign=top;aspect=fixed;imageAspect=0;image="+b+";"))}}),mxUtils.bind(this,function(){var…
3571 …ertLucidChart(b,mxUtils.bind(this,function(b){this.editor.graph.setSelectionCells(this.importXml(b…
4017 …ocument,this.xmlNode=c,this.xml=mxUtils.getXml(c),null!=b)){var k=mxUtils.bind(this,function(){thi…
4022 ….getIndexById(b);var c=0<=b;c&&this.selectPage(b);return c};var g=mxUtils.bind(this,function(){if(…
4026 …);return!0};var v=this.graph.foldTreeCell;this.graph.foldTreeCell=mxUtils.bind(this,function(){thi…
4027 …"undefined"!==typeof e){var g=this.getObservableParent(b),p=new e(mxUtils.bind(this,function(c){0<…
4035 …ow=1!=this.graphConfig["toolbar-nohide"]?"hidden":"visible";var k=mxUtils.bind(this,function(){if(…
4037 …late.clone());e=!1}}),g=null;this.handlingResize=!1;this.fitGraph=mxUtils.bind(this,function(c){va…
4038 …nslate.clone(),scale:this.graph.view.scale},g=d,window.setTimeout(mxUtils.bind(this,function(){thi…
4040 …it){var p=g=null,k=mxUtils.bind(this,function(){window.clearTimeout(p);this.handlingResize||(p=win…
4041 k);var t=mxUtils.bind(this,function(d){var e=b.style.minWidth;this.widthIsEmpty&&(b.style.minWidth=…
4048bind(this,function(b){null!=k&&(window.clearTimeout(k),fadeThead=null);null!=g&&(window.clearTimeo…
4049bind(this,function(){e.style.display="none";g=null}),100)}),b||200)}),t=mxUtils.bind(this,function…
4050bind(this,function(b){t(100)}));mxEvent.addListener(e,"mousemove",mxUtils.bind(this,function(b){t(…
4052bind(this,function(){this.selectPage(this.currentPage-1)}),Editor.previousImage,mxResources.get("p…
4053bind(this,function(){v.innerHTML="";mxUtils.write(v,this.currentPage+1+" / "+this.diagrams.length)…
4054bind(this,function(){this.graph.zoomIn()}),Editor.zoomInImage,mxResources.get("zoomIn")||"Zoom In"…
4055 m=null;else{m=this.graph.createLayersDialog(mxUtils.bind(this,function(){if(this.autoCrop)this.crop…
4057 …t(B.root)?"inline-block":"none"}}else if("tags"==x){if(this.tagsEnabled){var M=b(mxUtils.bind(this,
4058 function(b){null==n&&(n=this.graph.createTagsDialog(mxUtils.bind(this,function(){return!0})),n.div.…
4059 …age,mxResources.get("tags")||"Tags");B.addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){M.s…
4060 …?"inline-block":"none"}}else"lightbox"==x?this.lightboxEnabled&&b(mxUtils.bind(this,function(){thi…
4061 …this.filename=l);this.minToolbarWidth=34*q;var E=c.style.border,K=mxUtils.bind(this,function(){e.s…
4063 …le.border="1px solid #d0d0d0");document.body.appendChild(e);var f=mxUtils.bind(this,function(){nul…
4066 …target||b.linkPolicy;b.addClickHandler(this.graphConfig.highlight,mxUtils.bind(this,function(e,k){…
4067 …omLinkClicked(k)&&(mxUtils.clearSelection(),mxEvent.consume(e))}),mxUtils.bind(this,function(b){nu…
4069 …)?null==this.lightboxWindow&&mxEvent.addListener(window,"message",mxUtils.bind(this,function(b){"r…
4074 k.refresh=function(){};var g=mxUtils.bind(this,function(b){27==b.keyCode&&k.destroy()}),p=k.destroy…
4076 …l .25s ease-in-out"));this.addClickHandler(t,k);window.setTimeout(mxUtils.bind(this,function(){d.s…
4077 …;document.body.appendChild(k.chromelessToolbar);k.getEditBlankXml=mxUtils.bind(this,function(){ret…