draw.io is a JavaScript, client-side editor for general diagramming.
29.3.6 release
David Benson8b988d670049
diff --git a/ChangeLog b/ChangeLogindex 1f1905f74..c6c0e8c0f 100644--- a/ChangeLog+++ b/ChangeLog@@ -1,3 +1,18 @@+27-JAN-2026: 29.3.6++- Adds delete all pages option+- Improvements for XML import+- Adds custom line dash pattern options+- Update translations submodule to 996b60e+- Disables file size stats+- Adds claude guide to root+- Fixes handling of inherit color value+- Fixes overflow, adds option to insert layer after current layer, moves selection layers [jgraph/drawio#5438]+- Update translations submodule to 6650194+- Update translations submodule to 645f7e6+- Conf Cloud: Fixed race condition in OAuth requests when multiple viewers are in the same page [DID-17497]+- VSDX Import: Fixed some NPE and added a case for embedded images [DID-17282]+20-JAN-2026: 29.3.5- Add simple.js build to atlas.min.jsdiff --git a/VERSION b/VERSIONindex 89cb00e98..ee118f50a 100644--- a/VERSION+++ b/VERSION@@ -1 +1 @@-29.3.5\ No newline at end of file+29.3.6\ No newline at end of filediff --git a/src/main/webapp/js/app.min.js b/src/main/webapp/js/app.min.jsindex 378ad22b7..3c0a33070 100644--- a/src/main/webapp/js/app.min.js+++ b/src/main/webapp/js/app.min.js@@ -68,7 +68,7 @@ b),-1!==c&&c===b&&(window.DRAWIO_LOG_URL="https://log.draw.io"))}})();"1"==urlPa"se.diagrams.net"==window.location.hostname&&(urlParams.db="0",urlParams.od="0",urlParams.gh="0",urlParams.gl="0",urlParams.tr="0",urlParams.plugins="0",urlParams.mode="google",urlParams.lockdown="1",window.DRAWIO_GOOGLE_APP_ID=window.DRAWIO_GOOGLE_APP_ID||"184079235871",window.DRAWIO_GOOGLE_CLIENT_ID=window.DRAWIO_GOOGLE_CLIENT_ID||"184079235871-pjf5nn0lff27lk8qf0770gmffiv9gt61.apps.googleusercontent.com");"trello"==urlParams.mode&&(urlParams.tr="1");"embed.diagrams.net"==window.location.hostname&&(urlParams.embed="1");(null==window.location.hash||1>=window.location.hash.length)&&null!=urlParams.open&&(window.location.hash=urlParams.open);"function"!==typeof window.structuredClone&&(window.structuredClone=function(a){return a});window.urlParams=window.urlParams||{};window.DOM_PURIFY_CONFIG=window.DOM_PURIFY_CONFIG||{ADD_TAGS:["use","foreignObject"],FORBID_TAGS:["form"],ALLOWED_URI_REGEXP:/^((?!javascript:).)*$/i,HTML_INTEGRATION_POINTS:{foreignobject:!0},ADD_ATTR:["target","content","pointer-events","requiredFeatures"]};window.MAX_REQUEST_SIZE=window.MAX_REQUEST_SIZE||10485760;window.MAX_AREA=window.MAX_AREA||225E6;window.EXPORT_URL=window.EXPORT_URL||"/export";window.SAVE_URL=window.SAVE_URL||"/save";window.OPEN_URL=window.OPEN_URL||"/open";window.RESOURCES_PATH=window.RESOURCES_PATH||"resources";window.RESOURCE_BASE=window.RESOURCE_BASE||window.RESOURCES_PATH+"/grapheditor";window.STENCIL_PATH=window.STENCIL_PATH||"stencils";window.IMAGE_PATH=window.IMAGE_PATH||"images";window.STYLE_PATH=window.STYLE_PATH||"styles";window.CSS_PATH=window.CSS_PATH||"styles";window.OPEN_FORM=window.OPEN_FORM||"open.html";window.mxBasePath=window.mxBasePath||"mxgraph";-window.mxImageBasePath=window.mxImageBasePath||"mxgraph/images";window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"29.3.5",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),+window.mxImageBasePath=window.mxImageBasePath||"mxgraph/images";window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"29.3.6",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),IS_OP:null!=navigator.userAgent&&(0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/")),IS_OT:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&0>navigator.userAgent.indexOf("Presto/2.2.")&&0>navigator.userAgent.indexOf("Presto/2.1.")&&0>navigator.userAgent.indexOf("Presto/2.0.")&&0>navigator.userAgent.indexOf("Presto/1."),IS_SF:/Apple Computer, Inc/.test(navigator.vendor),IS_ANDROID:0<=navigator.appVersion.indexOf("Android"),IS_IOS:/iP(hone|od|ad)/.test(navigator.platform)||navigator.userAgent.match(/Mac/)&&navigator.maxTouchPoints&&2<navigator.maxTouchPoints,IS_WEBVIEW:/((iPhone|iPod|iPad).*AppleWebKit(?!.*Version)|; wv)/i.test(navigator.userAgent),IS_GC:/Google Inc/.test(navigator.vendor),IS_CHROMEAPP:null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime,IS_FF:-1<navigator.userAgent.toLowerCase().indexOf("firefox"),IS_MT:0<=navigator.userAgent.indexOf("Firefox/")&&0>navigator.userAgent.indexOf("Firefox/1.")&&0>navigator.userAgent.indexOf("Firefox/2.")||0<=navigator.userAgent.indexOf("Iceweasel/")&&0>navigator.userAgent.indexOf("Iceweasel/1.")&&0>navigator.userAgent.indexOf("Iceweasel/2.")||0<=navigator.userAgent.indexOf("SeaMonkey/")&&0>navigator.userAgent.indexOf("SeaMonkey/1.")||0<=navigator.userAgent.indexOf("Iceape/")&&0>navigator.userAgent.indexOf("Iceape/1."),IS_SVG:"MICROSOFT INTERNET EXPLORER"!=navigator.appName.toUpperCase(),NO_FO:!document.createElementNS||@@ -2009,9 +2009,9 @@ Editor.popupsAllowed=null!=window.urlParams?"1"!=urlParams.noDevice:!0;Editor.siEditor.isPngDataUrl=function(a){return null!=a&&"data:image/png;"==a.substring(0,15)};Editor.isJpgDataUrl=function(a){return null!=a&&("data:image/jpg;"==a.substring(0,15)||"data:image/jpeg;"==a.substring(0,16))};Editor.isPngData=function(a){return 8<a.length&&137==a.charCodeAt(0)&&80==a.charCodeAt(1)&&78==a.charCodeAt(2)&&71==a.charCodeAt(3)&&13==a.charCodeAt(4)&&10==a.charCodeAt(5)&&26==a.charCodeAt(6)&&10==a.charCodeAt(7)};Editor.isJpgData=function(a){return 2<a.length&&255==a.charCodeAt(0)&&216==a.charCodeAt(1)};Editor.stripImageMetadata=function(a,b){if(null!=a&&b&&(Editor.isJpgDataUrl(a)||Editor.isPngDataUrl(a))){b=a.indexOf(",")+1;var e=a.substring(b),f=window.atob&&!mxClient.IS_SF?atob(e):Base64.decode(e,!0),g=new ArrayBuffer(f.length),d=new Uint8Array(g);for(e=0;e<f.length;e++)d[e]=f.charCodeAt(e);d=null;Editor.isJpgData(f)?d=Editor.stripJpgMetadata(g):Editor.isPngData(f)&&(d=Editor.stripPngMetadata(g));if(null!=d){f="";for(e=0;e<d.length;e++)f+=String.fromCharCode(d[e]);a=a.substring(0,b)+btoa(f)}}return a};-Editor.stripJpgMetadata=function(a){var b=new DataView(a),e=[];e.push(new Uint8Array(a,0,2));for(var f=2;f<a.byteLength-1;){var g=b.getUint16(f);if(65498===g){e.push(new Uint8Array(a,f));break}if(65488<=g&&65497>=g)e.push(new Uint8Array(a,f,2)),f+=2;else{var d=b.getUint16(f+2),h=65506===g;65505===g||h||e.push(new Uint8Array(a,f,2+d));f+=2+d}}a=e.reduce(function(l,r){return l+r.length},0);a=new Uint8Array(a);b=0;e=$jscomp.makeIterator(e);for(f=e.next();!f.done;f=e.next())f=f.value,a.set(f,b),b+=f.length;+Editor.stripJpgMetadata=function(a){var b=new DataView(a),e=[];e.push(new Uint8Array(a,0,2));for(var f=2;f<a.byteLength-1;){var g=b.getUint16(f);if(65498===g){e.push(new Uint8Array(a,f));break}if(65488<=g&&65497>=g)e.push(new Uint8Array(a,f,2)),f+=2;else{var d=b.getUint16(f+2),h=65506===g;65505===g||h||e.push(new Uint8Array(a,f,2+d));f+=2+d}}a=e.reduce(function(l,q){return l+q.length},0);a=new Uint8Array(a);b=0;e=$jscomp.makeIterator(e);for(f=e.next();!f.done;f=e.next())f=f.value,a.set(f,b),b+=f.length;return a};-Editor.stripPngMetadata=function(a){var b=new DataView(a),e=new Set("eXIf tEXt iTXt zTXt iCCP tIME".split(" ")),f=[];f.push(new Uint8Array(a,0,8));for(var g=8;g<a.byteLength;){var d=b.getUint32(g),h=String.fromCharCode(b.getUint8(g+4),b.getUint8(g+5),b.getUint8(g+6),b.getUint8(g+7));d=8+d+4;e.has(h)||f.push(new Uint8Array(a,g,d));g+=d;if("IEND"===h)break}a=f.reduce(function(l,r){return l+r.length},0);a=new Uint8Array(a);b=0;f=$jscomp.makeIterator(f);for(e=f.next();!e.done;e=f.next())e=e.value,a.set(e,+Editor.stripPngMetadata=function(a){var b=new DataView(a),e=new Set("eXIf tEXt iTXt zTXt iCCP tIME".split(" ")),f=[];f.push(new Uint8Array(a,0,8));for(var g=8;g<a.byteLength;){var d=b.getUint32(g),h=String.fromCharCode(b.getUint8(g+4),b.getUint8(g+5),b.getUint8(g+6),b.getUint8(g+7));d=8+d+4;e.has(h)||f.push(new Uint8Array(a,g,d));g+=d;if("IEND"===h)break}a=f.reduce(function(l,q){return l+q.length},0);a=new Uint8Array(a);b=0;f=$jscomp.makeIterator(f);for(e=f.next();!e.done;e=f.next())e=e.value,a.set(e,b),b+=e.length;return a};Editor.convertHtmlToText=function(a){if(null!=a){var b=document.createElement("div");b.innerHTML=Graph.sanitizeHtml(a);return mxUtils.extractTextWithWhitespace(b.childNodes)}return null};Editor.extractGraphModelFromText=function(a){function b(d){var h=d.indexOf("```");0<=h&&(d=d.substring(d,0,h+6));return d}function e(d){var h=d.lastIndexOf("```");0<=h&&(d=d.substring(h+3));return d}var f=a.indexOf("<mxGraphModel "),g=a.indexOf("</mxGraphModel>");0>f&&(f=a.indexOf("<mxGraphModel>"));return 0<=f&&g>f?[mxUtils.trim(b(a.substring(0,f))),a.substring(f,g+15),mxUtils.trim(e(a.substring(g+15)))]:[a,"",""]};Editor.extractGraphModelFromPng=function(a){var b=null;try{var e=a.substring(a.indexOf(",")+1),f=window.atob&&!mxClient.IS_SF?atob(e):Base64.decode(e,!0);EditorUi.parsePng(f,mxUtils.bind(this,function(g,d,h){g=f.substring(g+8,g+8+h);"zTXt"==d?(h=g.indexOf(String.fromCharCode(0)),"mxGraphModel"==g.substring(0,h)&&(g=pako.inflateRaw(Graph.stringToArrayBuffer(g.substring(h+2)),{to:"string"}).replace(/\+/g," "),null!=g&&0<g.length&&(b=g))):"tEXt"==d&&(g=g.split(String.fromCharCode(0)),1<g.length&&("mxGraphModel"==@@ -2040,78 +2040,78 @@ Editor.prototype.setModified=function(a){this.modified=a};Editor.prototype.setFiEditor.prototype.createUndoManager=function(){var a=this.graph,b=new mxUndoManager;this.undoListener=function(f,g){b.undoableEditHappened(g.getProperty("edit"))};var e=mxUtils.bind(this,function(f,g){this.undoListener.apply(this,arguments)});a.getModel().addListener(mxEvent.UNDO,e);a.getView().addListener(mxEvent.UNDO,e);e=function(f,g){f=g.getProperty("edit").changes;f=a.getSelectionCellsForChanges(f);g=!1;if(0<f.length){for(var d=[],h=0;h<f.length;h++)null!=a.view.getState(f[h])&&(d.push(f[h]),g||(a.scrollCellToVisible(f[h]),g=!0));a.setSelectionCells(d)}};b.addListener(mxEvent.UNDO,e);b.addListener(mxEvent.REDO,e);return b};Editor.prototype.initStencilRegistry=function(){};Editor.prototype.destroy=function(){null!=this.graph&&(this.graph.destroy(),this.graph=null)};OpenFile=function(a){this.consumer=this.producer=null;this.done=a;this.args=null};OpenFile.prototype.setConsumer=function(a){this.consumer=a;this.execute()};OpenFile.prototype.setData=function(){this.args=arguments;this.execute()};OpenFile.prototype.error=function(a){this.cancel(!0);mxUtils.alert(a)};OpenFile.prototype.execute=function(){null!=this.consumer&&null!=this.args&&(this.cancel(!1),this.consumer.apply(this,this.args))};OpenFile.prototype.cancel=function(a){null!=this.done&&this.done(null!=a?a:!0)};-function Dialog(a,b,e,f,g,d,h,l,r,k,u){this.editorUi=a;null==this.bg&&(this.bg=a.createDiv("geBackground"));g&&document.body.appendChild(this.bg);g=a.createDiv(r?"geTransDialog":"geDialog");g.style.width=e+60+"px";g.style.height=f+60+"px";"1"!=urlParams.embedInline||Editor.inlineFullscreen||null==a.embedViewport||(g.style.left=a.embedViewport.x+a.embedViewport.width/2+"px",g.style.top=a.embedViewport.y+a.embedViewport.height/2+"px");g.appendChild(b);document.body.appendChild(g);if(d&&(b=document.createElement("div"),+function Dialog(a,b,e,f,g,d,h,l,q,k,u){this.editorUi=a;null==this.bg&&(this.bg=a.createDiv("geBackground"));g&&document.body.appendChild(this.bg);g=a.createDiv(q?"geTransDialog":"geDialog");g.style.width=e+60+"px";g.style.height=f+60+"px";"1"!=urlParams.embedInline||Editor.inlineFullscreen||null==a.embedViewport||(g.style.left=a.embedViewport.x+a.embedViewport.width/2+"px",g.style.top=a.embedViewport.y+a.embedViewport.height/2+"px");g.appendChild(b);document.body.appendChild(g);if(d&&(b=document.createElement("div"),b.className="geButton",b.setAttribute("title",mxResources.get("close")),b.style.backgroundImage="url("+Editor.crossImage+")",b.style.position="absolute",b.style.top="0px",b.style.right="0px",mxEvent.addListener(b,"click",mxUtils.bind(this,function(){a.hideDialog(!0)})),g.appendChild(b),!u)){var w=!1;mxEvent.addGestureListeners(this.bg,mxUtils.bind(this,function(y){w=!0}),null,mxUtils.bind(this,function(y){w&&(a.hideDialog(!0),w=!1)}))}this.onDialogClose=h;this.container=g;null!=k&&this.addResizeHandler(k);a.editor.fireEvent(new mxEventObject("showDialog"))}Dialog.prototype.noColorImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyBpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBXaW5kb3dzIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkEzRDlBMUUwODYxMTExRTFCMzA4RDdDMjJBMEMxRDM3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkEzRDlBMUUxODYxMTExRTFCMzA4RDdDMjJBMEMxRDM3Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QTNEOUExREU4NjExMTFFMUIzMDhEN0MyMkEwQzFEMzciIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QTNEOUExREY4NjExMTFFMUIzMDhEN0MyMkEwQzFEMzciLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5xh3fmAAAABlBMVEX////MzMw46qqDAAAAGElEQVR42mJggAJGKGAYIIGBth8KAAIMAEUQAIElnLuQAAAAAElFTkSuQmCC";Dialog.prototype.closeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJAQMAAADaX5RTAAAABlBMVEV7mr3///+wksspAAAAAnRSTlP/AOW3MEoAAAAdSURBVAgdY9jXwCDDwNDRwHCwgeExmASygSL7GgB12QiqNHZZIwAAAABJRU5ErkJggg==";Dialog.prototype.clearImage="data:image/gif;base64,R0lGODlhDQAKAIABAMDAwP///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OUIzOEM1NzI4NjEyMTFFMUEzMkNDMUE3NjZERDE2QjIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OUIzOEM1NzM4NjEyMTFFMUEzMkNDMUE3NjZERDE2QjIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5QjM4QzU3MDg2MTIxMUUxQTMyQ0MxQTc2NkREMTZCMiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5QjM4QzU3MTg2MTIxMUUxQTMyQ0MxQTc2NkREMTZCMiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgH//v38+/r5+Pf29fTz8vHw7+7t7Ovq6ejn5uXk4+Lh4N/e3dzb2tnY19bV1NPS0dDPzs3My8rJyMfGxcTDwsHAv769vLu6ubi3trW0s7KxsK+urayrqqmop6alpKOioaCfnp2cm5qZmJeWlZSTkpGQj46NjIuKiYiHhoWEg4KBgH9+fXx7enl4d3Z1dHNycXBvbm1sa2ppaGdmZWRjYmFgX15dXFtaWVhXVlVUU1JRUE9OTUxLSklIR0ZFRENCQUA/Pj08Ozo5ODc2NTQzMjEwLy4tLCsqKSgnJiUkIyIhIB8eHRwbGhkYFxYVFBMSERAPDg0MCwoJCAcGBQQDAgEAACH5BAEAAAEALAAAAAANAAoAAAIXTGCJebD9jEOTqRlttXdrB32PJ2ncyRQAOw==";Dialog.prototype.getDocumentSize=function(){return mxUtils.getDocumentSize()};Dialog.prototype.getPosition=function(a,b){return new mxPoint(a,b)};-Dialog.prototype.addResizeHandler=function(a){var b=document.createElement("img");b.setAttribute("src",mxWindow.prototype.resizeImage);b.style.cursor="nwse-resize";b.style.position="absolute";b.style.bottom="0px";b.style.right="0px";b.style.zIndex="2";var e=null,f=null,g=null,d=null,h=mxUtils.bind(this,function(k){e=mxEvent.getClientX(k);f=mxEvent.getClientY(k);g=parseInt(this.container.style.width);d=parseInt(this.container.style.height);mxEvent.addGestureListeners(document,null,l,r);mxEvent.consume(k)}),-l=mxUtils.bind(this,function(k){if(null!=e&&null!=f){var u=mxEvent.getClientX(k)-e,w=mxEvent.getClientY(k)-f;this.container.style.width=Math.max(a.width,g+2*u)+"px";this.container.style.height=Math.max(a.height,d+2*w)+"px";mxEvent.consume(k)}}),r=mxUtils.bind(this,function(k){null!=e&&null!=f&&(f=e=null,mxEvent.removeGestureListeners(document,null,l,r),mxEvent.consume(k))});mxEvent.addGestureListeners(b,h,l,r);this.container.appendChild(b)};+Dialog.prototype.addResizeHandler=function(a){var b=document.createElement("img");b.setAttribute("src",mxWindow.prototype.resizeImage);b.style.cursor="nwse-resize";b.style.position="absolute";b.style.bottom="0px";b.style.right="0px";b.style.zIndex="2";var e=null,f=null,g=null,d=null,h=mxUtils.bind(this,function(k){e=mxEvent.getClientX(k);f=mxEvent.getClientY(k);g=parseInt(this.container.style.width);d=parseInt(this.container.style.height);mxEvent.addGestureListeners(document,null,l,q);mxEvent.consume(k)}),+l=mxUtils.bind(this,function(k){if(null!=e&&null!=f){var u=mxEvent.getClientX(k)-e,w=mxEvent.getClientY(k)-f;this.container.style.width=Math.max(a.width,g+2*u)+"px";this.container.style.height=Math.max(a.height,d+2*w)+"px";mxEvent.consume(k)}}),q=mxUtils.bind(this,function(k){null!=e&&null!=f&&(f=e=null,mxEvent.removeGestureListeners(document,null,l,q),mxEvent.consume(k))});mxEvent.addGestureListeners(b,h,l,q);this.container.appendChild(b)};Dialog.prototype.close=function(a,b){if(null!=this.onDialogClose){if(0==this.onDialogClose(a,b))return!1;this.onDialogClose=null}null!=this.dialogImg&&null!=this.dialogImg.parentNode&&(this.dialogImg.parentNode.removeChild(this.dialogImg),this.dialogImg=null);null!=this.bg&&null!=this.bg.parentNode&&this.bg.parentNode.removeChild(this.bg);null!=this.editorUi.embedViewport?this.editorUi.removeListener(this.resizeListener):mxEvent.removeListener(window,"resize",this.resizeListener);null!=this.container.parentNode&&this.container.parentNode.removeChild(this.container)};-var ErrorDialog=function(a,b,e,f,g,d,h,l,r,k,u){r=null!=r?r:!0;var w=document.createElement("div");w.style.textAlign="center";if(null!=b){var y=document.createElement("div");y.style.padding="0px";y.style.margin="0px";y.style.fontSize="18px";y.style.paddingBottom="16px";y.style.marginBottom="10px";y.style.borderBottom="1px solid #c0c0c0";y.style.color="gray";y.style.whiteSpace="nowrap";y.style.textOverflow="ellipsis";y.style.overflow="hidden";mxUtils.write(y,b);y.setAttribute("title",b);w.appendChild(y)}b=+var ErrorDialog=function(a,b,e,f,g,d,h,l,q,k,u){q=null!=q?q:!0;var w=document.createElement("div");w.style.textAlign="center";if(null!=b){var y=document.createElement("div");y.style.padding="0px";y.style.margin="0px";y.style.fontSize="18px";y.style.paddingBottom="16px";y.style.marginBottom="10px";y.style.borderBottom="1px solid #c0c0c0";y.style.color="gray";y.style.whiteSpace="nowrap";y.style.textOverflow="ellipsis";y.style.overflow="hidden";mxUtils.write(y,b);y.setAttribute("title",b);w.appendChild(y)}b=document.createElement("div");b.style.lineHeight="1.2em";b.style.padding="6px";"string"===typeof e&&(e=e.replace(/\n/g,"<br/>"));b.innerHTML=Graph.sanitizeHtml(e);w.appendChild(b);e=document.createElement("div");e.style.marginTop="12px";e.style.textAlign="center";null!=d&&(b=mxUtils.button(mxResources.get("tryAgain"),function(){a.hideDialog();d()}),b.className="geBtn",e.appendChild(b),e.style.textAlign="center");null!=k&&(k=mxUtils.button(k,function(){null!=u&&u()}),k.className="geBtn",e.appendChild(k));-var A=mxUtils.button(f,function(){r&&a.hideDialog();null!=g&&g()});A.className="geBtn";e.appendChild(A);null!=h&&(f=mxUtils.button(h,function(){r&&a.hideDialog();null!=l&&l()}),f.className="geBtn gePrimaryBtn",e.appendChild(f));this.init=function(){A.focus()};w.appendChild(e);this.container=w},PrintDialog=function(a,b,e,f){this.create(a,b,e,f)};-PrintDialog.prototype.create=function(a){function b(A){var G=h.checked||k.checked,D=parseInt(w.value)/100;isNaN(D)&&(D=1,w.value="100%");mxClient.IS_SF&&(D*=.75);var F=e.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT,H=1/e.pageScale;if(G){var M=h.checked?1:parseInt(u.value);isNaN(M)||(H=mxUtils.getScaleForPageCount(M,e,F))}var N=M=0;F=mxRectangle.fromRectangle(F);F.width=Math.ceil(F.width*D);F.height=Math.ceil(F.height*D);H*=D;!G&&e.pageVisible?(D=e.getPageLayout(),M-=D.x*F.width,N-=D.y*F.height):-G=!0;G=PrintDialog.createPrintPreview(e,H,F,0,M,N,G);G.open();A&&PrintDialog.printPreview(G)}var e=a.editor.graph,f=document.createElement("table");f.style.width="100%";f.style.height="100%";var g=document.createElement("tbody");var d=document.createElement("tr");var h=document.createElement("input");h.setAttribute("type","checkbox");var l=document.createElement("td");l.setAttribute("colspan","2");l.style.fontSize="10pt";l.appendChild(h);var r=document.createElement("span");mxUtils.write(r," "+mxResources.get("fitPage"));-l.appendChild(r);mxEvent.addListener(r,"click",function(A){h.checked=!h.checked;k.checked=!h.checked;mxEvent.consume(A)});mxEvent.addListener(h,"change",function(){k.checked=!h.checked});d.appendChild(l);g.appendChild(d);d=d.cloneNode(!1);var k=document.createElement("input");k.setAttribute("type","checkbox");l=document.createElement("td");l.style.fontSize="10pt";l.appendChild(k);r=document.createElement("span");mxUtils.write(r," "+mxResources.get("posterPrint")+":");l.appendChild(r);mxEvent.addListener(r,+var A=mxUtils.button(f,function(){q&&a.hideDialog();null!=g&&g()});A.className="geBtn";e.appendChild(A);null!=h&&(f=mxUtils.button(h,function(){q&&a.hideDialog();null!=l&&l()}),f.className="geBtn gePrimaryBtn",e.appendChild(f));this.init=function(){A.focus()};w.appendChild(e);this.container=w},PrintDialog=function(a,b,e,f){this.create(a,b,e,f)};+PrintDialog.prototype.create=function(a){function b(A){var F=h.checked||k.checked,D=parseInt(w.value)/100;isNaN(D)&&(D=1,w.value="100%");mxClient.IS_SF&&(D*=.75);var G=e.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT,H=1/e.pageScale;if(F){var M=h.checked?1:parseInt(u.value);isNaN(M)||(H=mxUtils.getScaleForPageCount(M,e,G))}var N=M=0;G=mxRectangle.fromRectangle(G);G.width=Math.ceil(G.width*D);G.height=Math.ceil(G.height*D);H*=D;!F&&e.pageVisible?(D=e.getPageLayout(),M-=D.x*G.width,N-=D.y*G.height):+F=!0;F=PrintDialog.createPrintPreview(e,H,G,0,M,N,F);F.open();A&&PrintDialog.printPreview(F)}var e=a.editor.graph,f=document.createElement("table");f.style.width="100%";f.style.height="100%";var g=document.createElement("tbody");var d=document.createElement("tr");var h=document.createElement("input");h.setAttribute("type","checkbox");var l=document.createElement("td");l.setAttribute("colspan","2");l.style.fontSize="10pt";l.appendChild(h);var q=document.createElement("span");mxUtils.write(q," "+mxResources.get("fitPage"));+l.appendChild(q);mxEvent.addListener(q,"click",function(A){h.checked=!h.checked;k.checked=!h.checked;mxEvent.consume(A)});mxEvent.addListener(h,"change",function(){k.checked=!h.checked});d.appendChild(l);g.appendChild(d);d=d.cloneNode(!1);var k=document.createElement("input");k.setAttribute("type","checkbox");l=document.createElement("td");l.style.fontSize="10pt";l.appendChild(k);q=document.createElement("span");mxUtils.write(q," "+mxResources.get("posterPrint")+":");l.appendChild(q);mxEvent.addListener(q,"click",function(A){k.checked=!k.checked;h.checked=!k.checked;mxEvent.consume(A)});d.appendChild(l);var u=document.createElement("input");u.setAttribute("value","1");u.setAttribute("type","number");u.setAttribute("min","1");u.setAttribute("size","4");u.setAttribute("disabled","disabled");u.style.width="50px";l=document.createElement("td");l.style.fontSize="10pt";l.appendChild(u);mxUtils.write(l," "+mxResources.get("pages")+" (max)");d.appendChild(l);g.appendChild(d);mxEvent.addListener(k,"change",function(){k.checked?u.removeAttribute("disabled"):u.setAttribute("disabled","disabled");h.checked=!k.checked});d=d.cloneNode(!1);l=document.createElement("td");mxUtils.write(l,mxResources.get("pageScale")+":");d.appendChild(l);l=document.createElement("td");var w=document.createElement("input");w.setAttribute("value","100 %");w.setAttribute("size","5");w.style.width="50px";l.appendChild(w);d.appendChild(l);g.appendChild(d);d=document.createElement("tr");l=document.createElement("td");l.colSpan=2;-l.style.paddingTop="20px";l.setAttribute("align","right");r=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});r.className="geBtn";a.editor.cancelFirst&&l.appendChild(r);if(PrintDialog.previewEnabled){var y=mxUtils.button(mxResources.get("preview"),function(){a.hideDialog();b(!1)});y.className="geBtn";l.appendChild(y)}y=mxUtils.button(mxResources.get(PrintDialog.previewEnabled?"print":"ok"),function(){a.hideDialog();b(!0)});y.className="geBtn gePrimaryBtn";l.appendChild(y);a.editor.cancelFirst||-l.appendChild(r);d.appendChild(l);g.appendChild(d);f.appendChild(g);this.container=f};PrintDialog.printPreview=function(a){try{null!=a.wnd&&window.setTimeout(function(){a.wnd.focus();a.wnd.print();a.wnd.close()},500)}catch(b){}};-PrintDialog.createPrintPreview=function(a,b,e,f,g,d,h){b=new mxPrintPreview(a,b,e,f,g,d);b.title=mxResources.get("preview");b.addPageCss=!mxClient.IS_SF;b.printBackgroundImage=!0;b.autoOrigin=h;h=a.background;if(null==h||""==h||h==mxConstants.NONE)h="#ffffff";b.backgroundColor=h;var l=b.isTextLabel;b.isTextLabel=function(k){return"geHint"==!k.className&&l.apply(this,arguments)};var r=b.getLinkForCellState;b.getLinkForCellState=function(k){return a.getAbsoluteUrl(r.apply(this,arguments))};return b};+l.style.paddingTop="20px";l.setAttribute("align","right");q=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});q.className="geBtn";a.editor.cancelFirst&&l.appendChild(q);if(PrintDialog.previewEnabled){var y=mxUtils.button(mxResources.get("preview"),function(){a.hideDialog();b(!1)});y.className="geBtn";l.appendChild(y)}y=mxUtils.button(mxResources.get(PrintDialog.previewEnabled?"print":"ok"),function(){a.hideDialog();b(!0)});y.className="geBtn gePrimaryBtn";l.appendChild(y);a.editor.cancelFirst||+l.appendChild(q);d.appendChild(l);g.appendChild(d);f.appendChild(g);this.container=f};PrintDialog.printPreview=function(a){try{null!=a.wnd&&window.setTimeout(function(){a.wnd.focus();a.wnd.print();a.wnd.close()},500)}catch(b){}};+PrintDialog.createPrintPreview=function(a,b,e,f,g,d,h){b=new mxPrintPreview(a,b,e,f,g,d);b.title=mxResources.get("preview");b.addPageCss=!mxClient.IS_SF;b.printBackgroundImage=!0;b.autoOrigin=h;h=a.background;if(null==h||""==h||h==mxConstants.NONE)h="#ffffff";b.backgroundColor=h;var l=b.isTextLabel;b.isTextLabel=function(k){return"geHint"==!k.className&&l.apply(this,arguments)};var q=b.getLinkForCellState;b.getLinkForCellState=function(k){return a.getAbsoluteUrl(q.apply(this,arguments))};return b};PrintDialog.previewEnabled=!0;var PageSetupDialog=function(a){function b(){var D=w;null!=D&&null!=D.originalSrc&&(D=a.createImageForPageLink(D.originalSrc,null));null!=D&&null!=D.src?(u.style.backgroundImage="url("+D.src+")",u.style.display="inline-block"):(u.style.backgroundImage="",u.style.display="none");u.style.backgroundColor="";null!=y&&y!=mxConstants.NONE&&(u.style.backgroundColor=y,u.style.display="inline-block")}var e=a.editor.graph,f=document.createElement("table");f.style.width="100%";f.style.height="100%";var g=document.createElement("tbody");var d=document.createElement("tr");var h=document.createElement("td");h.style.verticalAlign="top";h.style.fontSize="10pt";mxUtils.write(h,mxResources.get("paperSize")+":");d.appendChild(h);h=document.createElement("td");h.style.verticalAlign="top";h.style.fontSize="10pt";var l=PageSetupDialog.addPageFormatPanel(h,"pagesetupdialog",e.pageFormat);d.appendChild(h);g.appendChild(d);d=document.createElement("tr");h=document.createElement("td");mxUtils.write(h,mxResources.get("gridSize")+":");d.appendChild(h);-h=document.createElement("td");h.style.whiteSpace="nowrap";var r=document.createElement("input");r.setAttribute("type","number");r.setAttribute("min","0");r.style.width="40px";r.style.marginLeft="6px";r.value=e.getGridSize();h.appendChild(r);mxEvent.addListener(r,"change",function(){var D=parseInt(r.value);r.value=Math.max(1,isNaN(D)?e.getGridSize():D)});d.appendChild(h);g.appendChild(d);d=document.createElement("tr");h=document.createElement("td");mxUtils.write(h,mxResources.get("background")+":");+h=document.createElement("td");h.style.whiteSpace="nowrap";var q=document.createElement("input");q.setAttribute("type","number");q.setAttribute("min","0");q.style.width="40px";q.style.marginLeft="6px";q.value=e.getGridSize();h.appendChild(q);mxEvent.addListener(q,"change",function(){var D=parseInt(q.value);q.value=Math.max(1,isNaN(D)?e.getGridSize():D)});d.appendChild(h);g.appendChild(d);d=document.createElement("tr");h=document.createElement("td");mxUtils.write(h,mxResources.get("background")+":");d.appendChild(h);h=document.createElement("td");var k=document.createElement("button");k.className="geBtn";k.style.margin="0px";mxUtils.write(k,mxResources.get("change")+"...");var u=document.createElement("div");u.style.display="inline-block";u.style.verticalAlign="middle";u.style.backgroundPosition="center center";u.style.backgroundRepeat="no-repeat";u.style.backgroundSize="contain";u.style.border="1px solid lightGray";u.style.borderRadius="4px";u.style.marginRight="14px";u.style.height="32px";-u.style.width="64px";u.style.cursor="pointer";u.style.padding="4px";var w=e.backgroundImage,y=e.background,A=e.shadowVisible,G=function(D){a.showBackgroundImageDialog(function(F,H,M,N){H||(null!=F&&null!=F.src&&Graph.isPageLink(F.src)&&(F={originalSrc:F.src}),w=F,A=N);y=M;b()},w,y,!0);mxEvent.consume(D)};mxEvent.addListener(k,"click",G);mxEvent.addListener(u,"click",G);b();h.appendChild(u);h.appendChild(k);d.appendChild(h);g.appendChild(d);d=document.createElement("tr");h=document.createElement("td");-h.colSpan=2;h.style.paddingTop="16px";h.setAttribute("align","right");k=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});k.className="geBtn";a.editor.cancelFirst&&h.appendChild(k);G=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();var D=parseInt(r.value);isNaN(D)||e.gridSize===D||e.setGridSize(D);D=new ChangePageSetup(a,y,w,l.get());D.ignoreColor=e.background==y;D.ignoreImage=(null!=e.backgroundImage?e.backgroundImage.src:null)===(null!=w?w.src:null);null!=A&&-(D.shadowVisible=A);e.pageFormat.width==D.previousFormat.width&&e.pageFormat.height==D.previousFormat.height&&D.ignoreColor&&D.ignoreImage&&D.shadowVisible==e.shadowVisible||e.model.execute(D)});G.className="geBtn gePrimaryBtn";h.appendChild(G);a.editor.cancelFirst||h.appendChild(k);d.appendChild(h);g.appendChild(d);f.appendChild(g);this.container=f};+u.style.width="64px";u.style.cursor="pointer";u.style.padding="4px";var w=e.backgroundImage,y=e.background,A=e.shadowVisible,F=function(D){a.showBackgroundImageDialog(function(G,H,M,N){H||(null!=G&&null!=G.src&&Graph.isPageLink(G.src)&&(G={originalSrc:G.src}),w=G,A=N);y=M;b()},w,y,!0);mxEvent.consume(D)};mxEvent.addListener(k,"click",F);mxEvent.addListener(u,"click",F);b();h.appendChild(u);h.appendChild(k);d.appendChild(h);g.appendChild(d);d=document.createElement("tr");h=document.createElement("td");+h.colSpan=2;h.style.paddingTop="16px";h.setAttribute("align","right");k=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});k.className="geBtn";a.editor.cancelFirst&&h.appendChild(k);F=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();var D=parseInt(q.value);isNaN(D)||e.gridSize===D||e.setGridSize(D);D=new ChangePageSetup(a,y,w,l.get());D.ignoreColor=e.background==y;D.ignoreImage=(null!=e.backgroundImage?e.backgroundImage.src:null)===(null!=w?w.src:null);null!=A&&+(D.shadowVisible=A);e.pageFormat.width==D.previousFormat.width&&e.pageFormat.height==D.previousFormat.height&&D.ignoreColor&&D.ignoreImage&&D.shadowVisible==e.shadowVisible||e.model.execute(D)});F.className="geBtn gePrimaryBtn";h.appendChild(F);a.editor.cancelFirst||h.appendChild(k);d.appendChild(h);g.appendChild(d);f.appendChild(g);this.container=f};PageSetupDialog.addPageFormatPanel=function(a,b,e,f){b="format-"+b;var g=document.createElement("input");g.setAttribute("name",b);g.setAttribute("type","radio");g.setAttribute("value","portrait");var d=document.createElement("input");d.setAttribute("name",b);d.setAttribute("type","radio");d.setAttribute("value","landscape");var h=document.createElement("select");h.style.position="relative";h.style.marginBottom="4px";h.style.borderRadius="4px";h.style.borderWidth="1px";h.style.borderStyle="solid";-h.style.boxSizing="border-box";h.style.padding="2px";h.style.width="210px";var l=document.createElement("div");l.style.whiteSpace="nowrap";l.style.marginLeft="4px";l.style.width="210px";l.style.height="24px";g.style.marginRight="6px";l.appendChild(g);b=document.createElement("span");b.style.maxWidth="100px";mxUtils.write(b,mxResources.get("portrait"));l.appendChild(b);d.style.marginLeft="10px";d.style.marginRight="6px";l.appendChild(d);var r=document.createElement("span");r.style.width="100px";mxUtils.write(r,-mxResources.get("landscape"));l.appendChild(r);var k=document.createElement("div");k.style.whiteSpace="nowrap";k.style.marginLeft="4px";k.style.fontSize="12px";k.style.width="210px";k.style.height="24px";var u=document.createElement("input");u.setAttribute("size","7");u.setAttribute("title",mxResources.get("width"));u.style.textAlign="right";k.appendChild(u);mxUtils.write(k," x ");var w=document.createElement("input");w.setAttribute("size","7");w.setAttribute("title",mxResources.get("height"));w.style.textAlign=-"right";k.appendChild(w);var y=document.createElement("select");y.style.marginLeft="4px";y.style.maxWidth="78px";y.style.width="78px";for(var A=[{label:mxResources.get("points"),unit:mxConstants.POINTS},{label:mxResources.get("inches"),unit:mxConstants.INCHES},{label:mxResources.get("millimeters"),unit:mxConstants.MILLIMETERS}],G=0;G<A.length;G++){var D=document.createElement("option");D.setAttribute("value",A[G].unit);mxUtils.write(D,A[G].label);y.appendChild(D)}y.value=Editor.pageSizeUnit;k.appendChild(y);-l.style.display="none";k.style.display="none";var F={},H=PageSetupDialog.getFormats();for(G=0;G<H.length;G++)A=H[G],F[A.key]=A,D=document.createElement("option"),D.setAttribute("value",A.key),mxUtils.write(D,A.title),h.appendChild(D);var M=function(){h.value="custom";for(var K=0;K<H.length;K++){var T=H[K];null!=T.format&&("a4"==T.key?826==e.width?(e=mxRectangle.fromRectangle(e),e.width=827):826==e.height&&(e=mxRectangle.fromRectangle(e),e.height=827):"a5"==T.key&&(584==e.width?(e=mxRectangle.fromRectangle(e),+h.style.boxSizing="border-box";h.style.padding="2px";h.style.width="210px";var l=document.createElement("div");l.style.whiteSpace="nowrap";l.style.marginLeft="4px";l.style.width="210px";l.style.height="24px";g.style.marginRight="6px";l.appendChild(g);b=document.createElement("span");b.style.maxWidth="100px";mxUtils.write(b,mxResources.get("portrait"));l.appendChild(b);d.style.marginLeft="10px";d.style.marginRight="6px";l.appendChild(d);var q=document.createElement("span");q.style.width="100px";mxUtils.write(q,+mxResources.get("landscape"));l.appendChild(q);var k=document.createElement("div");k.style.whiteSpace="nowrap";k.style.marginLeft="4px";k.style.fontSize="12px";k.style.width="210px";k.style.height="24px";var u=document.createElement("input");u.setAttribute("size","7");u.setAttribute("title",mxResources.get("width"));u.style.textAlign="right";k.appendChild(u);mxUtils.write(k," x ");var w=document.createElement("input");w.setAttribute("size","7");w.setAttribute("title",mxResources.get("height"));w.style.textAlign=+"right";k.appendChild(w);var y=document.createElement("select");y.style.marginLeft="4px";y.style.maxWidth="78px";y.style.width="78px";for(var A=[{label:mxResources.get("points"),unit:mxConstants.POINTS},{label:mxResources.get("inches"),unit:mxConstants.INCHES},{label:mxResources.get("millimeters"),unit:mxConstants.MILLIMETERS}],F=0;F<A.length;F++){var D=document.createElement("option");D.setAttribute("value",A[F].unit);mxUtils.write(D,A[F].label);y.appendChild(D)}y.value=Editor.pageSizeUnit;k.appendChild(y);+l.style.display="none";k.style.display="none";var G={},H=PageSetupDialog.getFormats();for(F=0;F<H.length;F++)A=H[F],G[A.key]=A,D=document.createElement("option"),D.setAttribute("value",A.key),mxUtils.write(D,A.title),h.appendChild(D);var M=function(){h.value="custom";for(var K=0;K<H.length;K++){var T=H[K];null!=T.format&&("a4"==T.key?826==e.width?(e=mxRectangle.fromRectangle(e),e.width=827):826==e.height&&(e=mxRectangle.fromRectangle(e),e.height=827):"a5"==T.key&&(584==e.width?(e=mxRectangle.fromRectangle(e),e.width=583):584==e.height&&(e=mxRectangle.fromRectangle(e),e.height=583)),e.width==T.format.width&&e.height==T.format.height?(h.value=T.key,g.setAttribute("checked","checked"),g.defaultChecked=!0,g.checked=!0,d.removeAttribute("checked"),d.defaultChecked=!1,d.checked=!1,detected=!0):e.width==T.format.height&&e.height==T.format.width&&(h.value=T.key,g.removeAttribute("checked"),g.defaultChecked=!1,g.checked=!1,d.setAttribute("checked","checked"),d.defaultChecked=!0,detected=d.checked=!0))}"custom"==-h.value?(u.value=Editor.toUnit(e.width,y.value),w.value=Editor.toUnit(e.height,y.value),g.setAttribute("checked","checked"),h.value="custom",l.style.display="none",k.style.display=""):(l.style.display="",k.style.display="none")};M();a.appendChild(h);mxUtils.br(a);a.appendChild(l);a.appendChild(k);var N=function(K,T){K=F[h.value];null!=K.format?(u.value=Editor.toUnit(d.checked?K.format.height:K.format.width,y.value),w.value=Editor.toUnit(d.checked?K.format.width:K.format.height,y.value),k.style.display=+h.value?(u.value=Editor.toUnit(e.width,y.value),w.value=Editor.toUnit(e.height,y.value),g.setAttribute("checked","checked"),h.value="custom",l.style.display="none",k.style.display=""):(l.style.display="",k.style.display="none")};M();a.appendChild(h);mxUtils.br(a);a.appendChild(l);a.appendChild(k);var N=function(K,T){K=G[h.value];null!=K.format?(u.value=Editor.toUnit(d.checked?K.format.height:K.format.width,y.value),w.value=Editor.toUnit(d.checked?K.format.width:K.format.height,y.value),k.style.display="none",l.style.display=""):(l.style.display="none",k.style.display="");K=parseFloat(u.value);if(isNaN(K)||0>=K)u.value=Editor.toUnit(e.width,y.value);K=parseFloat(w.value);if(isNaN(K)||0>=K)w.value=Editor.toUnit(e.height,y.value);K=new mxRectangle(0,0,Math.floor(Editor.fromUnit(parseFloat(u.value),y.value)),Math.floor(Editor.fromUnit(parseFloat(w.value),y.value)));T||K.width==e.width&&K.height==e.height||(e=K,null!=f&&f(e))};mxEvent.addListener(b,"click",function(K){g.checked=!0;N(K);mxEvent.consume(K)});-mxEvent.addListener(r,"click",function(K){d.checked=!0;N(K);mxEvent.consume(K)});mxEvent.addListener(u,"blur",N);mxEvent.addListener(u,"click",N);mxEvent.addListener(w,"blur",N);mxEvent.addListener(w,"click",N);mxEvent.addListener(d,"change",N);mxEvent.addListener(g,"change",N);mxEvent.addListener(h,"change",function(K){N(K,"custom"==h.value);mxEvent.consume(K)});mxEvent.addListener(y,"change",function(K){u.value=Editor.toUnit(Editor.fromUnit(u.value,Editor.pageSizeUnit),y.value);w.value=Editor.toUnit(Editor.fromUnit(w.value,+mxEvent.addListener(q,"click",function(K){d.checked=!0;N(K);mxEvent.consume(K)});mxEvent.addListener(u,"blur",N);mxEvent.addListener(u,"click",N);mxEvent.addListener(w,"blur",N);mxEvent.addListener(w,"click",N);mxEvent.addListener(d,"change",N);mxEvent.addListener(g,"change",N);mxEvent.addListener(h,"change",function(K){N(K,"custom"==h.value);mxEvent.consume(K)});mxEvent.addListener(y,"change",function(K){u.value=Editor.toUnit(Editor.fromUnit(u.value,Editor.pageSizeUnit),y.value);w.value=Editor.toUnit(Editor.fromUnit(w.value,Editor.pageSizeUnit),y.value);Editor.pageSizeUnit=y.value;N(K,!0);mxEvent.consume(K)});N(null,!0);return{set:function(K){e=K;M(null,null,!0)},get:function(){return e},widthInput:u,heightInput:w}};PageSetupDialog.getFormats=function(){return[{key:"letter",title:'US-Letter (8,5" x 11")',format:mxConstants.PAGE_FORMAT_LETTER_PORTRAIT},{key:"legal",title:'US-Legal (8,5" x 14")',format:new mxRectangle(0,0,850,1400)},{key:"tabloid",title:'US-Tabloid (11" x 17")',format:new mxRectangle(0,0,1100,1700)},{key:"executive",title:'US-Executive (7" x 10")',format:new mxRectangle(0,0,700,1E3)},{key:"a0",title:"A0 (841 mm x 1189 mm)",format:new mxRectangle(0,0,3300,4681)},{key:"a1",title:"A1 (594 mm x 841 mm)",format:new mxRectangle(0,0,2339,3300)},{key:"a2",title:"A2 (420 mm x 594 mm)",format:new mxRectangle(0,0,1654,2336)},{key:"a3",title:"A3 (297 mm x 420 mm)",format:new mxRectangle(0,0,1169,1654)},{key:"a4",title:"A4 (210 mm x 297 mm)",format:mxConstants.PAGE_FORMAT_A4_PORTRAIT},{key:"a5",title:"A5 (148 mm x 210 mm)",format:new mxRectangle(0,0,583,827)},{key:"a6",title:"A6 (105 mm x 148 mm)",format:new mxRectangle(0,0,413,583)},{key:"a7",title:"A7 (74 mm x 105 mm)",format:new mxRectangle(0,0,291,413)},{key:"b4",title:"B4 (250 mm x 353 mm)",format:new mxRectangle(0,0,980,1390)},{key:"b5",title:"B5 (176 mm x 250 mm)",format:new mxRectangle(0,0,690,980)},{key:"16-9",title:"16:9 (1600 x 900)",format:new mxRectangle(0,0,900,1600)},{key:"16-10",title:"16:10 (1920 x 1200)",format:new mxRectangle(0,0,1200,1920)},{key:"4-3",title:"4:3 (1600 x 1200)",format:new mxRectangle(0,0,1200,1600)},{key:"custom",title:mxResources.get("custom"),format:null}]};-var FilenameDialog=function(a,b,e,f,g,d,h,l,r,k,u){r=null!=r?r:!0;var w=document.createElement("div"),y=document.createElement("div");y.style.width="100%";y.style.display="grid";y.style.gap="5px 8px";y.style.gridAutoColumns="auto 1fr";y.style.boxSizing="border-box";y.style.padding="3px";var A=document.createElement("div");A.style.display="inline-flex";A.style.alignItems="center";A.style.justifyContent="flex-end";A.style.minWidth="0";var G=document.createElement("div");G.style.display="inline-block";-G.style.textOverflow="ellipsis";G.style.whiteSpace="nowrap";G.style.overflow="hidden";G.style.fontSize="10pt";G.style.padding="2px 0";G.setAttribute("title",g||mxResources.get("filename"));mxUtils.write(G,(g||mxResources.get("filename"))+":");A.appendChild(G);y.appendChild(A);var D=document.createElement("input");D.setAttribute("value",b||"");D.style.flexGrow="1";var F=mxUtils.button(e,function(){if(null==d||d(D.value))r&&a.hideDialog(),f(D.value)});F.className="geBtn gePrimaryBtn";this.init=function(){if(null!=+var FilenameDialog=function(a,b,e,f,g,d,h,l,q,k,u){q=null!=q?q:!0;var w=document.createElement("div"),y=document.createElement("div");y.style.width="100%";y.style.display="grid";y.style.gap="5px 8px";y.style.gridAutoColumns="auto 1fr";y.style.boxSizing="border-box";y.style.padding="3px";var A=document.createElement("div");A.style.display="inline-flex";A.style.alignItems="center";A.style.justifyContent="flex-end";A.style.minWidth="0";var F=document.createElement("div");F.style.display="inline-block";+F.style.textOverflow="ellipsis";F.style.whiteSpace="nowrap";F.style.overflow="hidden";F.style.fontSize="10pt";F.style.padding="2px 0";F.setAttribute("title",g||mxResources.get("filename"));mxUtils.write(F,(g||mxResources.get("filename"))+":");A.appendChild(F);y.appendChild(A);var D=document.createElement("input");D.setAttribute("value",b||"");D.style.flexGrow="1";var G=mxUtils.button(e,function(){if(null==d||d(D.value))q&&a.hideDialog(),f(D.value)});G.className="geBtn gePrimaryBtn";this.init=function(){if(null!=g||null==h)if(null!=u?Editor.selectFilename(D):(D.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?D.select():document.execCommand("selectAll",!1,null)),Graph.fileSupport){var H=y.parentNode;if(null!=H){var M=null;mxEvent.addListener(H,"dragleave",function(N){null!=M&&(M.style.backgroundColor="",M=null);N.stopPropagation();N.preventDefault()});mxEvent.addListener(H,"dragover",mxUtils.bind(this,function(N){null==M&&(!mxClient.IS_IE||10<document.documentMode)&&(M=D,M.style.backgroundColor=-"#ebf2f9");N.stopPropagation();N.preventDefault()}));mxEvent.addListener(H,"drop",mxUtils.bind(this,function(N){null!=M&&(M.style.backgroundColor="",M=null);0<=mxUtils.indexOf(N.dataTransfer.types,"text/uri-list")&&(D.value=decodeURIComponent(N.dataTransfer.getData("text/uri-list")),F.click());N.stopPropagation();N.preventDefault()}))}}};A=document.createElement("div");A.style.display="inline-flex";A.style.alignItems="center";A.style.gap="4px";A.style.whiteSpace="nowrap";A.appendChild(D);y.appendChild(A);+"#ebf2f9");N.stopPropagation();N.preventDefault()}));mxEvent.addListener(H,"drop",mxUtils.bind(this,function(N){null!=M&&(M.style.backgroundColor="",M=null);0<=mxUtils.indexOf(N.dataTransfer.types,"text/uri-list")&&(D.value=decodeURIComponent(N.dataTransfer.getData("text/uri-list")),G.click());N.stopPropagation();N.preventDefault()}))}}};A=document.createElement("div");A.style.display="inline-flex";A.style.alignItems="center";A.style.gap="4px";A.style.whiteSpace="nowrap";A.appendChild(D);y.appendChild(A);null==g&&null!=h||null==u||null==a.editor.diagramFileTypes||(A=document.createElement("div"),A.style.display="inline-flex",A.style.alignItems="center",A.style.textOverflow="ellipsis",A.style.justifyContent="flex-end",A.style.fontSize="10pt",mxUtils.write(A,mxResources.get("type")+":"),y.appendChild(A),A=document.createElement("div"),A.style.display="inline-flex",A.style.alignItems="center",A.style.whiteSpace="nowrap",y.appendChild(A),b=FilenameDialog.createFileTypes(a,D,a.editor.diagramFileTypes),b.style.width="100%",A.appendChild(b));null!=h&&y.appendChild(h);row=document.createElement("div");row.style.gridColumn="1 / span 2";row.style.paddingTop=null!=u?"6px":"14px";row.style.whiteSpace="nowrap";row.style.display="inline-flex";row.style.alignItems="center";row.style.justifyContent="flex-end";row.setAttribute("align","right");A=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog();null!=k&&k()});A.className="geBtn";null==l||a.isOffline()||row.appendChild(a.createHelpIcon(l));-a.editor.cancelFirst&&row.appendChild(A);mxEvent.addListener(D,"keypress",function(H){13==H.keyCode&&F.click()});row.appendChild(F);a.editor.cancelFirst||row.appendChild(A);y.appendChild(row);w.appendChild(y);this.container=w};FilenameDialog.filenameHelpLink=null;+a.editor.cancelFirst&&row.appendChild(A);mxEvent.addListener(D,"keypress",function(H){13==H.keyCode&&G.click()});row.appendChild(G);a.editor.cancelFirst||row.appendChild(A);y.appendChild(row);w.appendChild(y);this.container=w};FilenameDialog.filenameHelpLink=null;FilenameDialog.createFileTypes=function(a,b,e){var f=document.createElement("select");for(a=0;a<e.length;a++){var g=document.createElement("option");g.setAttribute("value",a);mxUtils.write(g,mxResources.get(e[a].description)+" (."+e[a].extension+")");f.appendChild(g)}mxEvent.addListener(f,"change",function(d){d=e[f.value].extension;var h=b.value.lastIndexOf(".drawio.");h=0<h?h:b.value.lastIndexOf(".");"drawio"!=d&&(d="drawio."+d);b.value=0<h?b.value.substring(0,h+1)+d:b.value+"."+d;"createEvent"in-document?(d=document.createEvent("HTMLEvents"),d.initEvent("change",!1,!0),b.dispatchEvent(d)):b.fireEvent("onchange")});a=function(d){d=b.value.toLowerCase();for(var h=0,l=0;l<e.length;l++){var r=e[l].extension,k=null;"drawio"!=r&&(k=r,r=".drawio."+r);if(d.substring(d.length-r.length-1)=="."+r||null!=k&&d.substring(d.length-k.length-1)=="."+k){h=l;break}}f.value=h};mxEvent.addListener(b,"change",a);mxEvent.addListener(b,"keyup",a);a();return f};+document?(d=document.createEvent("HTMLEvents"),d.initEvent("change",!1,!0),b.dispatchEvent(d)):b.fireEvent("onchange")});a=function(d){d=b.value.toLowerCase();for(var h=0,l=0;l<e.length;l++){var q=e[l].extension,k=null;"drawio"!=q&&(k=q,q=".drawio."+q);if(d.substring(d.length-q.length-1)=="."+q||null!=k&&d.substring(d.length-k.length-1)=="."+k){h=l;break}}f.value=h};mxEvent.addListener(b,"change",a);mxEvent.addListener(b,"keyup",a);a();return f};var WrapperWindow=function(a,b,e,f,g,d,h,l){l=null!=l?l:document.createElement("div");this.window=new mxWindow(b,l,e,f,g,d,!0,!0);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);a.installResizeHandler(this,!0);h(l)};-(function(){mxGraphView.prototype.validateBackgroundPage=function(){var h=this.graph;if(null!=h.container&&!h.transparentBackground){if(h.pageVisible){var l=this.getBackgroundPageBounds();if(null==this.backgroundPageShape){for(var r=h.container.firstChild;null!=r&&r.nodeType!=mxConstants.NODETYPE_ELEMENT;)r=r.nextSibling;null!=r&&(this.backgroundPageShape=this.createBackgroundPageShape(l),this.backgroundPageShape.scale=1,this.backgroundPageShape.isShadow=!0,this.backgroundPageShape.dialect=mxConstants.DIALECT_STRICTHTML,-this.backgroundPageShape.init(h.container),r.style.position="absolute",h.container.insertBefore(this.backgroundPageShape.node,r),this.backgroundPageShape.redraw(),this.backgroundPageShape.node.className="geBackgroundPage",mxEvent.addListener(this.backgroundPageShape.node,"dblclick",mxUtils.bind(this,function(k){h.dblClick(k)})),mxEvent.addGestureListeners(this.backgroundPageShape.node,mxUtils.bind(this,function(k){h.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(k))}),mxUtils.bind(this,function(k){null!=+(function(){mxGraphView.prototype.validateBackgroundPage=function(){var h=this.graph;if(null!=h.container&&!h.transparentBackground){if(h.pageVisible){var l=this.getBackgroundPageBounds();if(null==this.backgroundPageShape){for(var q=h.container.firstChild;null!=q&&q.nodeType!=mxConstants.NODETYPE_ELEMENT;)q=q.nextSibling;null!=q&&(this.backgroundPageShape=this.createBackgroundPageShape(l),this.backgroundPageShape.scale=1,this.backgroundPageShape.isShadow=!0,this.backgroundPageShape.dialect=mxConstants.DIALECT_STRICTHTML,+this.backgroundPageShape.init(h.container),q.style.position="absolute",h.container.insertBefore(this.backgroundPageShape.node,q),this.backgroundPageShape.redraw(),this.backgroundPageShape.node.className="geBackgroundPage",mxEvent.addListener(this.backgroundPageShape.node,"dblclick",mxUtils.bind(this,function(k){h.dblClick(k)})),mxEvent.addGestureListeners(this.backgroundPageShape.node,mxUtils.bind(this,function(k){h.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(k))}),mxUtils.bind(this,function(k){null!=h.tooltipHandler&&h.tooltipHandler.isHideOnHover()&&h.tooltipHandler.hide();h.isMouseDown&&!mxEvent.isConsumed(k)&&h.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(k))}),mxUtils.bind(this,function(k){h.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(k))})))}else this.backgroundPageShape.scale=1,this.backgroundPageShape.bounds=l,this.backgroundPageShape.redraw()}else null!=this.backgroundPageShape&&(this.backgroundPageShape.destroy(),this.backgroundPageShape=null);this.validateBackgroundStyles()}};-mxGraphView.prototype.validateBackgroundStyles=function(h,l,r){var k=this.graph;h=null!=h?h:1;var u=mxUtils.getLightDarkColor(null==k.background||k.background==mxConstants.NONE?k.defaultPageBackgroundColor:k.background).cssText,w=mxUtils.getLightDarkColor(k.defaultPageBorderColor).cssText,y=null!=u&&this.gridColor!=u.toLowerCase()?this.gridColor:"#ffffff",A="none",G="";"simple"==k.getAdaptiveColors()&&k.background!=mxConstants.NONE&&null!=k.background&&(u=k.background);if(k.isGridEnabled()||k.gridVisible){G=-10;mxClient.IS_SVG?(A=unescape(encodeURIComponent(this.createSvgGrid(y,h))),A=window.btoa?btoa(A):Base64.encode(A,!0),A="url(data:image/svg+xml;base64,"+A+")",G=k.gridSize*this.scale*this.gridSteps*h):A="url("+this.gridImage+")";var D=y=0;l=null!=l?l-this.translate.x*this.scale:0;r=null!=r?r-this.translate.y*this.scale:0;var F=k.gridSize*this.scale*this.gridSteps,H=l%F;F=r%F;null!=k.view.backgroundPageShape&&(D=this.getBackgroundPageBounds(),y=1+D.x,D=1+D.y);G=-Math.round(G-mxUtils.mod(this.translate.x*-this.scale-y+l,G)+H*h)+"px "+-Math.round(G-mxUtils.mod(this.translate.y*this.scale-D+r,G)+F*h)+"px"}h=k.view.canvas;null!=h.ownerSVGElement&&(h=h.ownerSVGElement);y=!Editor.isDarkMode()&&k.enableDiagramBackground;null!=k.view.backgroundPageShape?(k.view.backgroundPageShape.node.style.backgroundPosition=G,k.view.backgroundPageShape.node.style.backgroundImage=A,k.view.backgroundPageShape.node.style.backgroundColor=u,k.view.backgroundPageShape.node.style.borderColor=w,k.view.backgroundPageShape.node.style.colorScheme=-"none"==k.getAdaptiveColors()?"light":"",h.style.backgroundImage="none",h.style.backgroundColor="",k.container.style.backgroundColor=y?k.diagramBackgroundColor:""):(h.style.backgroundPosition=G,h.style.backgroundImage=A,"1"==urlParams.transparent?k.container.style.background="transparent":!y||null!=k.background&&k.background!=mxConstants.NONE?h.style.backgroundColor=u:(h.style.backgroundColor=k.diagramBackgroundColor,k.container.style.backgroundColor=""))};mxGraphView.prototype.createSvgGrid=function(h,-l){for(var r=this.graph.gridSize*this.scale*(null!=l?l:1);r<this.minGridSize;)r*=2;l=this.gridSteps*r;for(var k=[],u=1;u<this.gridSteps;u++){var w=u*r;k.push("M 0 "+w+" L "+l+" "+w+" M "+w+" 0 L "+w+" "+l)}h=mxUtils.getLightDarkColor(h);r="color-scheme: light dark;";mxClient.IS_SF&&(r="color-scheme: "+("none"!=this.graph.getAdaptiveColors()&&Editor.isDarkMode()?"dark":"light"));return'<svg style="'+r+'" width="'+l+'" height="'+l+'" xmlns="'+mxConstants.NS_SVG+'"><defs><pattern id="grid" width="'++mxGraphView.prototype.validateBackgroundStyles=function(h,l,q){var k=this.graph;h=null!=h?h:1;var u=mxUtils.getLightDarkColor(null==k.background||k.background==mxConstants.NONE?k.defaultPageBackgroundColor:k.background).cssText,w=mxUtils.getLightDarkColor(k.defaultPageBorderColor).cssText,y=null!=u&&this.gridColor!=u.toLowerCase()?this.gridColor:"#ffffff",A="none",F="";"simple"==k.getAdaptiveColors()&&k.background!=mxConstants.NONE&&null!=k.background&&(u=k.background);if(k.isGridEnabled()||k.gridVisible){F=+10;mxClient.IS_SVG?(A=unescape(encodeURIComponent(this.createSvgGrid(y,h))),A=window.btoa?btoa(A):Base64.encode(A,!0),A="url(data:image/svg+xml;base64,"+A+")",F=k.gridSize*this.scale*this.gridSteps*h):A="url("+this.gridImage+")";var D=y=0;l=null!=l?l-this.translate.x*this.scale:0;q=null!=q?q-this.translate.y*this.scale:0;var G=k.gridSize*this.scale*this.gridSteps,H=l%G;G=q%G;null!=k.view.backgroundPageShape&&(D=this.getBackgroundPageBounds(),y=1+D.x,D=1+D.y);F=-Math.round(F-mxUtils.mod(this.translate.x*+this.scale-y+l,F)+H*h)+"px "+-Math.round(F-mxUtils.mod(this.translate.y*this.scale-D+q,F)+G*h)+"px"}h=k.view.canvas;null!=h.ownerSVGElement&&(h=h.ownerSVGElement);y=!Editor.isDarkMode()&&k.enableDiagramBackground;null!=k.view.backgroundPageShape?(k.view.backgroundPageShape.node.style.backgroundPosition=F,k.view.backgroundPageShape.node.style.backgroundImage=A,k.view.backgroundPageShape.node.style.backgroundColor=u,k.view.backgroundPageShape.node.style.borderColor=w,k.view.backgroundPageShape.node.style.colorScheme=+"none"==k.getAdaptiveColors()?"light":"",h.style.backgroundImage="none",h.style.backgroundColor="",k.container.style.backgroundColor=y?k.diagramBackgroundColor:""):(h.style.backgroundPosition=F,h.style.backgroundImage=A,"1"==urlParams.transparent?k.container.style.background="transparent":!y||null!=k.background&&k.background!=mxConstants.NONE?h.style.backgroundColor=u:(h.style.backgroundColor=k.diagramBackgroundColor,k.container.style.backgroundColor=""))};mxGraphView.prototype.createSvgGrid=function(h,+l){for(var q=this.graph.gridSize*this.scale*(null!=l?l:1);q<this.minGridSize;)q*=2;l=this.gridSteps*q;for(var k=[],u=1;u<this.gridSteps;u++){var w=u*q;k.push("M 0 "+w+" L "+l+" "+w+" M "+w+" 0 L "+w+" "+l)}h=mxUtils.getLightDarkColor(h);q="color-scheme: light dark;";mxClient.IS_SF&&(q="color-scheme: "+("none"!=this.graph.getAdaptiveColors()&&Editor.isDarkMode()?"dark":"light"));return'<svg style="'+q+'" width="'+l+'" height="'+l+'" xmlns="'+mxConstants.NS_SVG+'"><defs><pattern id="grid" width="'+l+'" height="'+l+'" patternUnits="userSpaceOnUse"><path d="'+k.join(" ")+'" fill="none" style="stroke:'+mxUtils.htmlEntities(h.cssText)+';" stroke="'+h.light+'" opacity="0.2" stroke-width="1"/><path d="M '+l+" 0 L 0 0 0 "+l+'" fill="none" style="stroke:'+mxUtils.htmlEntities(h.cssText)+';" stroke="'+h.light+'" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(#grid)"/></svg>'};var a=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=function(h,l){a.apply(this,arguments);-if(null!=this.shiftPreview1){var r=this.view.canvas;null!=r.ownerSVGElement&&(r=r.ownerSVGElement);var k=this.gridSize*this.view.scale*this.view.gridSteps;k=-Math.round(k-mxUtils.mod(this.view.translate.x*this.view.scale+h,k))+"px "+-Math.round(k-mxUtils.mod(this.view.translate.y*this.view.scale+l,k))+"px";r.style.backgroundPosition=k}};mxGraph.prototype.updatePageBreaks=function(h,l,r){var k=this.view.scale,u=this.view.translate,w=this.pageFormat,y=k*this.pageScale,A=this.view.getBackgroundPageBounds();-l=A.width;r=A.height;var G=new mxRectangle(k*u.x,k*u.y,w.width*y,w.height*y),D=(h=h&&Math.min(G.width,G.height)>this.minPageBreakDist)?Math.ceil(r/G.height)-1:0,F=h?Math.ceil(l/G.width)-1:0,H=A.x+l,M=A.y+r;null==this.horizontalPageBreaks&&0<D&&(this.horizontalPageBreaks=[]);null==this.verticalPageBreaks&&0<F&&(this.verticalPageBreaks=[]);h=mxUtils.bind(this,function(N){if(null!=N){for(var K=N==this.horizontalPageBreaks?D:F,T=0;T<=K;T++){var W=N==this.horizontalPageBreaks?[new mxPoint(Math.round(A.x),-Math.round(A.y+(T+1)*G.height)),new mxPoint(Math.round(H),Math.round(A.y+(T+1)*G.height))]:[new mxPoint(Math.round(A.x+(T+1)*G.width),Math.round(A.y)),new mxPoint(Math.round(A.x+(T+1)*G.width),Math.round(M))];null!=N[T]?(N[T].points=W,N[T].redraw()):(W=new mxPolyline(W,this.pageBreakColor),W.dialect=this.dialect,W.isDashed=this.pageBreakDashed,W.pointerEvents=!1,W.init(this.view.backgroundPane),W.redraw(),N[T]=W)}for(T=K;T<N.length;T++)null!=N[T]&&N[T].destroy();N.splice(K,N.length-K)}});h(this.horizontalPageBreaks);-h(this.verticalPageBreaks)};var b=mxGraphHandler.prototype.shouldRemoveCellsFromParent;mxGraphHandler.prototype.shouldRemoveCellsFromParent=function(h,l,r){for(var k=0;k<l.length;k++){if(this.graph.isTableCell(l[k])||this.graph.isTableRow(l[k]))return!1;if(this.graph.getModel().isVertex(l[k])){var u=this.graph.getCellGeometry(l[k]);if(null!=u&&u.relative)return!1}}return b.apply(this,arguments)};var e=mxConnectionHandler.prototype.createMarker;mxConnectionHandler.prototype.createMarker=function(){var h=-e.apply(this,arguments);h.intersects=mxUtils.bind(this,function(l,r){return this.isConnecting()?!0:mxCellMarker.prototype.intersects.apply(h,arguments)});return h};mxGraphView.prototype.createBackgroundPageShape=function(h){return new mxRectangleShape(h,"#ffffff",this.graph.defaultPageBorderColor)};mxGraphView.prototype.getBackgroundPageBounds=function(){var h=this.getGraphBounds(),l=0<h.width?h.x/this.scale-this.translate.x:0,r=0<h.height?h.y/this.scale-this.translate.y:0,k=this.graph.pageFormat,-u=this.graph.pageScale,w=k.width*u;k=k.height*u;u=Math.floor(Math.min(0,l)/w);var y=Math.floor(Math.min(0,r)/k);return new mxRectangle(this.scale*(this.translate.x+u*w),this.scale*(this.translate.y+y*k),this.scale*(Math.ceil(Math.max(1,l+h.width/this.scale)/w)-u)*w,this.scale*(Math.ceil(Math.max(1,r+h.height/this.scale)/k)-y)*k)};var f=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=function(h,l){f.apply(this,arguments);this.dialect==mxConstants.DIALECT_SVG||null==this.view.backgroundPageShape||-this.useScrollbarsForPanning&&mxUtils.hasScrollbars(this.container)||(this.view.backgroundPageShape.node.style.marginLeft=h+"px",this.view.backgroundPageShape.node.style.marginTop=l+"px")};var g=mxPopupMenu.prototype.addItem;mxPopupMenu.prototype.addItem=function(h,l,r,k,u,w){var y=g.apply(this,arguments);null==w||w||mxEvent.addListener(y,"mousedown",function(A){mxEvent.consume(A)});return y};var d=mxGraphHandler.prototype.isPropagateSelectionCell;mxGraphHandler.prototype.isPropagateSelectionCell=-function(h,l,r){var k=this.graph.model.getParent(h);if(l){var u=this.graph.model.isEdge(h)?null:this.graph.getCellGeometry(h);u=!this.graph.model.isEdge(k)&&!this.graph.isSiblingSelected(h)&&(null!=u&&u.relative||!this.graph.isContainer(k)||this.graph.isPart(h))}else if(u=d.apply(this,arguments),this.graph.isTableCell(h)||this.graph.isTableRow(h))u=k,this.graph.isTable(u)||(u=this.graph.model.getParent(u)),u=!this.graph.selectionCellsHandler.isHandled(u)||this.graph.isCellSelected(u)&&this.graph.isToggleEvent(r.getEvent())||-this.graph.isCellSelected(h)&&!this.graph.isToggleEvent(r.getEvent())||this.graph.isTableCell(h)&&this.graph.isCellSelected(k);return u};mxPopupMenuHandler.prototype.getCellForPopupEvent=function(h){h=h.getCell();for(var l=this.graph.getModel(),r=l.getParent(h),k=this.graph.view.getState(r),u=this.graph.isCellSelected(h);null!=k&&(l.isVertex(r)||l.isEdge(r));){var w=this.graph.isCellSelected(r);u=u||w;if(w||!u&&(this.graph.isTableCell(h)||this.graph.isTableRow(h)))h=r;r=l.getParent(r)}return h}})();EditorUi=function(a,b,e){mxEventSource.call(this);this.destroyFunctions=[];this.editor=a||new Editor;this.container=b||document.body;var f=this,g=this.editor.graph;g.lightbox=e;var d=g.getGraphBounds;g.getGraphBounds=function(){var X=d.apply(this,arguments),ba=this.backgroundImage;if(null!=ba&&null!=ba.width&&null!=ba.height){var L=this.view.translate,U=this.view.scale;X=mxRectangle.fromRectangle(X);X.add(new mxRectangle((L.x+ba.x)*U,(L.y+ba.y)*U,ba.width*U,ba.height*U))}return X};g.useCssTransforms&&+if(null!=this.shiftPreview1){var q=this.view.canvas;null!=q.ownerSVGElement&&(q=q.ownerSVGElement);var k=this.gridSize*this.view.scale*this.view.gridSteps;k=-Math.round(k-mxUtils.mod(this.view.translate.x*this.view.scale+h,k))+"px "+-Math.round(k-mxUtils.mod(this.view.translate.y*this.view.scale+l,k))+"px";q.style.backgroundPosition=k}};mxGraph.prototype.updatePageBreaks=function(h,l,q){var k=this.view.scale,u=this.view.translate,w=this.pageFormat,y=k*this.pageScale,A=this.view.getBackgroundPageBounds();+l=A.width;q=A.height;var F=new mxRectangle(k*u.x,k*u.y,w.width*y,w.height*y),D=(h=h&&Math.min(F.width,F.height)>this.minPageBreakDist)?Math.ceil(q/F.height)-1:0,G=h?Math.ceil(l/F.width)-1:0,H=A.x+l,M=A.y+q;null==this.horizontalPageBreaks&&0<D&&(this.horizontalPageBreaks=[]);null==this.verticalPageBreaks&&0<G&&(this.verticalPageBreaks=[]);h=mxUtils.bind(this,function(N){if(null!=N){for(var K=N==this.horizontalPageBreaks?D:G,T=0;T<=K;T++){var W=N==this.horizontalPageBreaks?[new mxPoint(Math.round(A.x),+Math.round(A.y+(T+1)*F.height)),new mxPoint(Math.round(H),Math.round(A.y+(T+1)*F.height))]:[new mxPoint(Math.round(A.x+(T+1)*F.width),Math.round(A.y)),new mxPoint(Math.round(A.x+(T+1)*F.width),Math.round(M))];null!=N[T]?(N[T].points=W,N[T].redraw()):(W=new mxPolyline(W,this.pageBreakColor),W.dialect=this.dialect,W.isDashed=this.pageBreakDashed,W.pointerEvents=!1,W.init(this.view.backgroundPane),W.redraw(),N[T]=W)}for(T=K;T<N.length;T++)null!=N[T]&&N[T].destroy();N.splice(K,N.length-K)}});h(this.horizontalPageBreaks);+h(this.verticalPageBreaks)};var b=mxGraphHandler.prototype.shouldRemoveCellsFromParent;mxGraphHandler.prototype.shouldRemoveCellsFromParent=function(h,l,q){for(var k=0;k<l.length;k++){if(this.graph.isTableCell(l[k])||this.graph.isTableRow(l[k]))return!1;if(this.graph.getModel().isVertex(l[k])){var u=this.graph.getCellGeometry(l[k]);if(null!=u&&u.relative)return!1}}return b.apply(this,arguments)};var e=mxConnectionHandler.prototype.createMarker;mxConnectionHandler.prototype.createMarker=function(){var h=+e.apply(this,arguments);h.intersects=mxUtils.bind(this,function(l,q){return this.isConnecting()?!0:mxCellMarker.prototype.intersects.apply(h,arguments)});return h};mxGraphView.prototype.createBackgroundPageShape=function(h){return new mxRectangleShape(h,"#ffffff",this.graph.defaultPageBorderColor)};mxGraphView.prototype.getBackgroundPageBounds=function(){var h=this.getGraphBounds(),l=0<h.width?h.x/this.scale-this.translate.x:0,q=0<h.height?h.y/this.scale-this.translate.y:0,k=this.graph.pageFormat,+u=this.graph.pageScale,w=k.width*u;k=k.height*u;u=Math.floor(Math.min(0,l)/w);var y=Math.floor(Math.min(0,q)/k);return new mxRectangle(this.scale*(this.translate.x+u*w),this.scale*(this.translate.y+y*k),this.scale*(Math.ceil(Math.max(1,l+h.width/this.scale)/w)-u)*w,this.scale*(Math.ceil(Math.max(1,q+h.height/this.scale)/k)-y)*k)};var f=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=function(h,l){f.apply(this,arguments);this.dialect==mxConstants.DIALECT_SVG||null==this.view.backgroundPageShape||+this.useScrollbarsForPanning&&mxUtils.hasScrollbars(this.container)||(this.view.backgroundPageShape.node.style.marginLeft=h+"px",this.view.backgroundPageShape.node.style.marginTop=l+"px")};var g=mxPopupMenu.prototype.addItem;mxPopupMenu.prototype.addItem=function(h,l,q,k,u,w){var y=g.apply(this,arguments);null==w||w||mxEvent.addListener(y,"mousedown",function(A){mxEvent.consume(A)});return y};var d=mxGraphHandler.prototype.isPropagateSelectionCell;mxGraphHandler.prototype.isPropagateSelectionCell=+function(h,l,q){var k=this.graph.model.getParent(h);if(l){var u=this.graph.model.isEdge(h)?null:this.graph.getCellGeometry(h);u=!this.graph.model.isEdge(k)&&!this.graph.isSiblingSelected(h)&&(null!=u&&u.relative||!this.graph.isContainer(k)||this.graph.isPart(h))}else if(u=d.apply(this,arguments),this.graph.isTableCell(h)||this.graph.isTableRow(h))u=k,this.graph.isTable(u)||(u=this.graph.model.getParent(u)),u=!this.graph.selectionCellsHandler.isHandled(u)||this.graph.isCellSelected(u)&&this.graph.isToggleEvent(q.getEvent())||+this.graph.isCellSelected(h)&&!this.graph.isToggleEvent(q.getEvent())||this.graph.isTableCell(h)&&this.graph.isCellSelected(k);return u};mxPopupMenuHandler.prototype.getCellForPopupEvent=function(h){h=h.getCell();for(var l=this.graph.getModel(),q=l.getParent(h),k=this.graph.view.getState(q),u=this.graph.isCellSelected(h);null!=k&&(l.isVertex(q)||l.isEdge(q));){var w=this.graph.isCellSelected(q);u=u||w;if(w||!u&&(this.graph.isTableCell(h)||this.graph.isTableRow(h)))h=q;q=l.getParent(q)}return h}})();EditorUi=function(a,b,e){mxEventSource.call(this);this.destroyFunctions=[];this.editor=a||new Editor;this.container=b||document.body;var f=this,g=this.editor.graph;g.lightbox=e;var d=g.getGraphBounds;g.getGraphBounds=function(){var X=d.apply(this,arguments),ba=this.backgroundImage;if(null!=ba&&null!=ba.width&&null!=ba.height){var L=this.view.translate,U=this.view.scale;X=mxRectangle.fromRectangle(X);X.add(new mxRectangle((L.x+ba.x)*U,(L.y+ba.y)*U,ba.width*U,ba.height*U))}return X};g.useCssTransforms&&(this.lazyZoomDelay=0);this.selectionStateListener=mxUtils.bind(this,function(X,ba){this.clearSelectionState()});g.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionStateListener);g.getModel().addListener(mxEvent.CHANGE,this.selectionStateListener);g.addListener(mxEvent.EDITING_STARTED,this.selectionStateListener);g.addListener(mxEvent.EDITING_STOPPED,this.selectionStateListener);g.getView().addListener("unitChanged",this.selectionStateListener);if(this.editor.chromeless&&!this.editor.editable){g.isEnabled=-function(){return!1};g.panningHandler.isForcePanningEvent=function(X){for(var ba=X.getSource();null!=ba&&ba!=g.container;){if("foreignObject"===ba.nodeName||"text"===ba.nodeName)return!1;ba=ba.parentNode}return!mxEvent.isPopupTrigger(X.getEvent())};var h=g.panningHandler.start;g.panningHandler.start=function(){h.apply(this,arguments);mxUtils.clearSelection()}}this.actions=new Actions(this);this.menus=this.createMenus();if(!g.standalone){var l=!1,r=!1;this.setDefaultStyle=function(X){try{g.getModel().isEdge(X)?-r=g.pasteEdgeStyle=!1:l=!1;var ba=g.getCellStyle(X,!1),L=[],U=[],aa;for(aa in ba)L.push(ba[aa]),U.push(aa);g.getModel().isEdge(X)?g.currentEdgeStyle={}:g.currentVertexStyle={};this.fireEvent(new mxEventObject("styleChanged","keys",U,"values",L,"cells",[X],"force",!0));g.getModel().isEdge(X)?r=g.pasteEdgeStyle=!0:l=!0}catch(ha){this.handleError(ha)}};this.clearDefaultStyle=function(){g.currentEdgeStyle=mxUtils.clone(g.defaultEdgeStyle);g.currentVertexStyle=mxUtils.clone(g.defaultVertexStyle);l=r=g.pasteEdgeStyle=+function(){return!1};g.panningHandler.isForcePanningEvent=function(X){for(var ba=X.getSource();null!=ba&&ba!=g.container;){if("foreignObject"===ba.nodeName||"text"===ba.nodeName)return!1;ba=ba.parentNode}return!mxEvent.isPopupTrigger(X.getEvent())};var h=g.panningHandler.start;g.panningHandler.start=function(){h.apply(this,arguments);mxUtils.clearSelection()}}this.actions=new Actions(this);this.menus=this.createMenus();if(!g.standalone){var l=!1,q=!1;this.setDefaultStyle=function(X){try{g.getModel().isEdge(X)?+q=g.pasteEdgeStyle=!1:l=!1;var ba=g.getCellStyle(X,!1),L=[],U=[],aa;for(aa in ba)L.push(ba[aa]),U.push(aa);g.getModel().isEdge(X)?g.currentEdgeStyle={}:g.currentVertexStyle={};this.fireEvent(new mxEventObject("styleChanged","keys",U,"values",L,"cells",[X],"force",!0));g.getModel().isEdge(X)?q=g.pasteEdgeStyle=!0:l=!0}catch(ha){this.handleError(ha)}};this.clearDefaultStyle=function(){g.currentEdgeStyle=mxUtils.clone(g.defaultEdgeStyle);g.currentVertexStyle=mxUtils.clone(g.defaultVertexStyle);l=q=g.pasteEdgeStyle=!1;this.fireEvent(new mxEventObject("styleChanged","keys",[],"values",[],"cells",[]))};g.addListener("cellsInserted",function(X,ba){g.pasteCellStyles(g.includeDescendants(ba.getProperty("cells")))});g.addListener("textInserted",function(X,ba){g.pasteCellStyles(ba.getProperty("cells"))});this.createDivs();this.createUi();this.refresh();var k=mxUtils.bind(this,function(X){null==X&&(X=window.event);return g.isEditing()||null!=X&&this.isSelectionAllowed(X)});this.container!=document.body||this.editor.chromeless&&!this.editor.editable||(this.menubarContainer.onselectstart=k,this.menubarContainer.onmousedown=k,this.toolbarContainer.onselectstart=k,this.toolbarContainer.onmousedown=k,this.diagramContainer.onselectstart=k,this.diagramContainer.onmousedown=k,this.sidebarContainer.onselectstart=k,this.sidebarContainer.onmousedown=k,this.formatContainer.onselectstart=k,this.formatContainer.onmousedown=k,null!=this.tabContainer&&(this.tabContainer.onselectstart=k),mxClient.IS_IOS&&(b=function(){var X=null;if(/iP(hone|od|ad)/.test(navigator.platform)){var ba=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);try{X=[parseInt(ba[1],10),parseInt(ba[2],10),parseInt(ba[3]||0,10)]}catch(L){}}return X}(),null!=b&&16<=b[0]&&(mxUtils.setPrefixedStyle(this.menubarContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.diagramContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.sidebarContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.formatContainer.style,"userSelect","none"),null!=this.tabContainer&&mxUtils.setPrefixedStyle(this.tabContainer.style,@@ -2119,21 +2119,21 @@ navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);try{X=[parseInt(ba[1],10),p(b=g.view.getDrawPane().ownerSVGElement,null!=b&&(b.style.position="absolute"));this.hoverIcons=this.createHoverIcons();if(null!=g.graphHandler){var u=g.graphHandler.start;g.graphHandler.start=function(){null!=f.hoverIcons&&f.hoverIcons.reset();u.apply(this,arguments)}}mxEvent.addListener(this.diagramContainer,"mousemove",mxUtils.bind(this,function(X){var ba=mxUtils.getOffset(this.diagramContainer);0<mxEvent.getClientX(X)-ba.x-this.diagramContainer.clientWidth||0<mxEvent.getClientY(X)-ba.y-this.diagramContainer.clientHeight?this.diagramContainer.setAttribute("title",mxResources.get("panTooltip")):this.diagramContainer.removeAttribute("title")}));var w=this.hoverIcons.isResetEvent;this.hoverIcons.isResetEvent=function(X,ba){return f.isSpaceDown()||w.apply(this,arguments)};this.keydownHandler=mxUtils.bind(this,function(X){16==X.which?this.shiftDown=!0:32!=X.which||g.isEditing()?mxEvent.isConsumed(X)||27!=X.keyCode||this.hideDialog(null,!0):(this.spaceDown=!0,this.hoverIcons.reset(),g.container.style.cursor="move",g.isEditing()||mxEvent.getSource(X)!=g.container||mxEvent.consume(X))});mxEvent.addListener(document,"keydown",this.keydownHandler);this.keyupHandler=mxUtils.bind(this,function(X){g.container.style.cursor="";this.shiftDown=this.spaceDown=!1});mxEvent.addListener(document,"keyup",this.keyupHandler);var y=g.panningHandler.isForcePanningEvent;g.panningHandler.isForcePanningEvent=function(X){return y.apply(this,arguments)||f.isSpaceDown()||mxEvent.isMouseEvent(X.getEvent())&&(this.usePopupTrigger||!mxEvent.isPopupTrigger(X.getEvent()))&&-(!mxEvent.isControlDown(X.getEvent())&&mxEvent.isRightMouseButton(X.getEvent())||mxEvent.isMiddleMouseButton(X.getEvent()))};var A=g.cellEditor.isStopEditingEvent;g.cellEditor.isStopEditingEvent=function(X){return A.apply(this,arguments)||13==X.keyCode&&(!mxClient.IS_SF&&mxEvent.isControlDown(X)||mxClient.IS_MAC&&mxEvent.isMetaDown(X)||mxClient.IS_SF&&mxEvent.isShiftDown(X))};var G=g.isZoomWheelEvent;g.isZoomWheelEvent=function(){return f.isSpaceDown()||G.apply(this,arguments)};var D=mxUtils.bind(this,-function(){if(null!=this.toolbar)for(var X=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,ba=this.toolbar.container.firstChild;null!=ba;){var L=ba.getAttribute("data-min-width");null!=L&&parseInt(L)>X?ba.style.display="none":ba.style.display="";ba=ba.nextSibling}}),F=!1,H=null,M=null,N=null,K=mxUtils.bind(this,function(){if(null!=this.toolbar&&F!=g.cellEditor.isContentEditing()){for(var X=this.toolbar.container.firstChild,ba=[];null!=X;){var L=X.nextSibling;X.parentNode.removeChild(X);-ba.push(X);X=L}X=this.toolbar.fontMenu;L=this.toolbar.sizeMenu;if(null==N)this.toolbar.createTextToolbar();else{for(var U=0;U<N.length;U++)this.toolbar.container.appendChild(N[U]);this.toolbar.fontMenu=H;this.toolbar.sizeMenu=M}F=g.cellEditor.isContentEditing();H=X;M=L;N=ba;D()}});this.addListener("languageChanged",mxUtils.bind(this,function(){this.destroyWindows(!0);this.descriptorChanged();this.updateStatusAgain();K()}));this.addListener("currentThemeChanged",D);mxEvent.addListener(window,"resize",+(!mxEvent.isControlDown(X.getEvent())&&mxEvent.isRightMouseButton(X.getEvent())||mxEvent.isMiddleMouseButton(X.getEvent()))};var A=g.cellEditor.isStopEditingEvent;g.cellEditor.isStopEditingEvent=function(X){return A.apply(this,arguments)||13==X.keyCode&&(!mxClient.IS_SF&&mxEvent.isControlDown(X)||mxClient.IS_MAC&&mxEvent.isMetaDown(X)||mxClient.IS_SF&&mxEvent.isShiftDown(X))};var F=g.isZoomWheelEvent;g.isZoomWheelEvent=function(){return f.isSpaceDown()||F.apply(this,arguments)};var D=mxUtils.bind(this,+function(){if(null!=this.toolbar)for(var X=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,ba=this.toolbar.container.firstChild;null!=ba;){var L=ba.getAttribute("data-min-width");null!=L&&parseInt(L)>X?ba.style.display="none":ba.style.display="";ba=ba.nextSibling}}),G=!1,H=null,M=null,N=null,K=mxUtils.bind(this,function(){if(null!=this.toolbar&&G!=g.cellEditor.isContentEditing()){for(var X=this.toolbar.container.firstChild,ba=[];null!=X;){var L=X.nextSibling;X.parentNode.removeChild(X);+ba.push(X);X=L}X=this.toolbar.fontMenu;L=this.toolbar.sizeMenu;if(null==N)this.toolbar.createTextToolbar();else{for(var U=0;U<N.length;U++)this.toolbar.container.appendChild(N[U]);this.toolbar.fontMenu=H;this.toolbar.sizeMenu=M}G=g.cellEditor.isContentEditing();H=X;M=L;N=ba;D()}});this.addListener("languageChanged",mxUtils.bind(this,function(){this.destroyWindows(!0);this.descriptorChanged();this.updateStatusAgain();K()}));this.addListener("currentThemeChanged",D);mxEvent.addListener(window,"resize",D);D();g.isTouchPopupMenuEnabled=function(){return null==f.dialog};var T=g.cellEditor.startEditing;g.cellEditor.startEditing=function(){T.apply(this,arguments);K();if(g.cellEditor.isContentEditing()){var X=!1,ba=function(){X||(X=!0,window.setTimeout(function(){var L=g.getSelectedEditingElement();null!=L&&(L=mxUtils.getCurrentStyle(L),null!=L&&null!=f.toolbar&&(f.toolbar.setFontName(mxUtils.getCssFontFamily(L.fontFamily)),f.toolbar.setFontSize(parseInt(L.fontSize))));X=!1},0))};mxEvent.addListener(g.cellEditor.textarea,"input",ba);mxEvent.addListener(g.cellEditor.textarea,"touchend",ba);mxEvent.addListener(g.cellEditor.textarea,"mouseup",ba);mxEvent.addListener(g.cellEditor.textarea,"keyup",ba);ba()}};var W=g.cellEditor.stopEditing;g.cellEditor.stopEditing=function(X,ba){try{W.apply(this,arguments),K()}catch(L){f.handleError(L)}};g.container.setAttribute("tabindex","0");g.container.style.cursor="default";if(window.self===window.top&&null!=g.container.parentNode)try{g.container.focus()}catch(X){}var S=g.fireMouseEvent;g.fireMouseEvent=function(X,ba,L){try{X==mxEvent.MOUSE_DOWN&&this.container.focus(),S.apply(this,arguments)}catch(U){f.handleError(U)}};var V=g.foldCells;g.foldCells=function(X,ba,L,U,aa){try{V.apply(this,arguments)}catch(ha){f.handleError(ha)}};g.popupMenuHandler.autoExpand=!0;null!=this.menus&&(g.popupMenuHandler.factoryMethod=mxUtils.bind(this,function(X,ba,L){this.menus.createPopupMenu(X,ba,L)}));mxEvent.addGestureListeners(document,mxUtils.bind(this,function(X){g.popupMenuHandler.hideMenu()}));this.keyHandler=this.createKeyHandler(a);this.getKeyHandler=function(){return keyHandler};g.connectionHandler.addListener(mxEvent.CONNECT,function(X,ba){var L=[ba.getProperty("cell")];ba.getProperty("terminalInserted")&&(L.push(ba.getProperty("terminal")),window.setTimeout(function(){null!=f.hoverIcons&&f.hoverIcons.update(g.view.getState(L[L.length-1]))},0));g.pasteCellStyles(L)});var fa=null,P=null;a=mxUtils.bind(this,function(){if(null!=this.toolbar){var X=this.getSelectionState();g.isEnabled()&&0<X.edges.length?(null!=this.toolbar.edgeStyleMenu&&(this.toolbar.edgeStyleMenu.style.backgroundImage="url("+this.getImageForEdgeStyle(X.style)+")"),null!=this.toolbar.edgeShapeMenu&&(this.toolbar.edgeShapeMenu.style.backgroundImage="url("+this.getImageForEdgeShape(X.style)+")")):(null!=this.toolbar.edgeStyleMenu&&(this.toolbar.edgeStyleMenu.style.backgroundImage="url("+fa+")"),null!=this.toolbar.edgeShapeMenu&&(this.toolbar.edgeShapeMenu.style.backgroundImage="url("+P+")"))}});g.selectionModel.addListener(mxEvent.CHANGE,-a);g.getModel().addListener(mxEvent.CHANGE,a);this.addListener("styleChanged",mxUtils.bind(this,function(X,ba){X=ba.getProperty("force");(this.updateDefaultStyle||X)&&g.copyCellStyles(ba.getProperty("cells"),ba.getProperty("keys"),ba.getProperty("values"),g.currentVertexStyle,g.currentEdgeStyle,l,r);null!=this.toolbar&&(this.toolbar.setFontName(g.currentVertexStyle.fontFamily||Menus.prototype.defaultFont),this.toolbar.setFontSize(g.currentVertexStyle.fontSize||Menus.prototype.defaultFontSize),ba=+a);g.getModel().addListener(mxEvent.CHANGE,a);this.addListener("styleChanged",mxUtils.bind(this,function(X,ba){X=ba.getProperty("force");(this.updateDefaultStyle||X)&&g.copyCellStyles(ba.getProperty("cells"),ba.getProperty("keys"),ba.getProperty("values"),g.currentVertexStyle,g.currentEdgeStyle,l,q);null!=this.toolbar&&(this.toolbar.setFontName(g.currentVertexStyle.fontFamily||Menus.prototype.defaultFont),this.toolbar.setFontSize(g.currentVertexStyle.fontSize||Menus.prototype.defaultFontSize),ba=this.getSelectionState(),null!=this.toolbar.edgeStyleMenu&&(fa=this.getImageForEdgeStyle(g.currentEdgeStyle),0==ba.edges.length&&(this.toolbar.edgeStyleMenu.style.backgroundImage="url("+fa+")")),null!=this.toolbar.edgeShapeMenu&&(P=this.getImageForEdgeShape(g.currentEdgeStyle),0==ba.edges.length&&(this.toolbar.edgeShapeMenu.style.backgroundImage="url("+P+")")))}));null!=this.toolbar&&(a=mxUtils.bind(this,function(){var X=g.currentVertexStyle.fontFamily||"Helvetica",ba=String(g.currentVertexStyle.fontSize||"12"),L=g.getView().getState(g.getSelectionCell());null!=L&&(X=L.style[mxConstants.STYLE_FONTFAMILY]||X,ba=L.style[mxConstants.STYLE_FONTSIZE]||ba,10<X.length&&(X=X.substring(0,8)+"..."));this.toolbar.setFontName(X);this.toolbar.setFontSize(ba)}),g.getSelectionModel().addListener(mxEvent.CHANGE,a),g.getModel().addListener(mxEvent.CHANGE,a));g.addListener(mxEvent.CELLS_ADDED,function(X,ba){X=ba.getProperty("cells");ba=ba.getProperty("parent");null!=ba&&g.getModel().isLayer(ba)&&!g.isCellVisible(ba)&&null!=X&&0<X.length&&g.getModel().setVisible(ba,!0)});Graph.selectParentLayer&&g.selectionModel.addListener(mxEvent.CHANGE,function(){if(g.isEnabled()&&!g.isSelectionEmpty()){var X=g.getLayerForCells(g.getSelectionCells());null!=X&&g.setDefaultParent(X)}});this.gestureHandler=mxUtils.bind(this,function(X){this.isHideCurrentMenuEvent(X)&&this.hideCurrentMenu()});mxEvent.addGestureListeners(document,this.gestureHandler);var Z=null;this.resizeHandler=mxUtils.bind(this,function(){null!=Z&&window.clearTimeout(Z);Z=window.setTimeout(mxUtils.bind(this,function(){Z=null;this.windowResized()}),100)});mxEvent.addListener(window,"resize",this.resizeHandler);this.orientationChangeHandler=mxUtils.bind(this,function(){this.refresh()});mxEvent.addListener(window,"orientationchange",this.orientationChangeHandler);mxClient.IS_IOS&&!window.navigator.standalone&&"undefined"!==typeof Menus&&(this.scrollHandler=mxUtils.bind(this,function(){window.scrollTo(0,0)}),mxEvent.addListener(window,"scroll",this.scrollHandler));this.editor.addListener("resetGraphView",mxUtils.bind(this,function(){this.resetScrollbars()}));this.addListener("gridEnabledChanged",mxUtils.bind(this,function(){g.view.validateBackground()}));this.addListener("backgroundColorChanged",mxUtils.bind(this,function(){g.view.validateBackground()}));g.addListener("gridSizeChanged",mxUtils.bind(this,function(){g.isGridEnabled()&&g.view.validateBackground()}));this.editor.resetGraph()}this.init();g.standalone||this.open()};EditorUi.compactUi=!0;-EditorUi.parsePng=function(a,b,e){function f(l,r){var k=d;d+=r;return l.substring(k,d)}function g(l){l=f(l,4);return l.charCodeAt(3)+(l.charCodeAt(2)<<8)+(l.charCodeAt(1)<<16)+(l.charCodeAt(0)<<24)}var d=0;if(f(a,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=e&&e();else if(f(a,4),"IHDR"!=f(a,4))null!=e&&e();else{f(a,17);do{e=g(a);var h=f(a,4);if(null!=b&&b(d-8,h,e))break;value=f(a,e);f(a,4);if("IEND"==h)break}while(e)}};mxUtils.extend(EditorUi,mxEventSource);+EditorUi.parsePng=function(a,b,e){function f(l,q){var k=d;d+=q;return l.substring(k,d)}function g(l){l=f(l,4);return l.charCodeAt(3)+(l.charCodeAt(2)<<8)+(l.charCodeAt(1)<<16)+(l.charCodeAt(0)<<24)}var d=0;if(f(a,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=e&&e();else if(f(a,4),"IHDR"!=f(a,4))null!=e&&e();else{f(a,17);do{e=g(a);var h=f(a,4);if(null!=b&&b(d-8,h,e))break;value=f(a,e);f(a,4);if("IEND"==h)break}while(e)}};mxUtils.extend(EditorUi,mxEventSource);EditorUi.prototype.splitSize=mxClient.IS_TOUCH||mxClient.IS_POINTER?12:8;EditorUi.prototype.formatEnabled=!0;EditorUi.prototype.formatWidth=240;EditorUi.prototype.defaultSidebarWidth=Math.min(screen.width/2,"large"!=urlParams["sidebar-entries"]?220:230);EditorUi.prototype.hsplitPosition=screen.width<=Editor.smallScreenWidth?0:EditorUi.prototype.defaultSidebarWidth;EditorUi.prototype.allowAnimation=!0;EditorUi.prototype.lightboxMaxFitScale=2;EditorUi.prototype.lightboxVerticalDivider=4;EditorUi.prototype.hsplitClickEnabled=!1;EditorUi.prototype.updateDefaultStyle=!1;EditorUi.prototype.spaceDown=!1;EditorUi.prototype.shiftDown=!1;EditorUi.prototype.init=function(){var a=this.editor.graph;if(!a.standalone){"0"!=urlParams["shape-picker"]&&this.installShapePicker();mxEvent.addListener(a.container,"scroll",mxUtils.bind(this,function(){a.tooltipHandler.hide();null!=a.connectionHandler&&null!=a.connectionHandler.constraintHandler&&a.connectionHandler.constraintHandler.reset()}));a.addListener(mxEvent.ESCAPE,mxUtils.bind(this,function(){a.tooltipHandler.hide();var f=a.getRubberband();null!=f&&f.cancel()}));mxEvent.addListener(a.container,@@ -2142,34 +2142,34 @@ arguments);e.updateActionStates()};a.showLinkDialog=mxUtils.bind(e,e.showLinkDiaEditorUi.prototype.createSelectionState=function(){for(var a=this.editor.graph,b=a.getSelectionCells(),e=this.initSelectionState(),f=!0,g=0;g<b.length;g++){var d=a.getCurrentCellStyle(b[g]);"0"!=mxUtils.getValue(d,mxConstants.STYLE_EDITABLE,"1")&&(this.updateSelectionStateForCell(e,b[g],b,f),f=!1)}this.updateSelectionStateForTableCells(e);if(Editor.enableCustomProperties){e.customProperties={};a=e.vertices;b=e.edges;for(g=0;g<a.length;g++)this.findCommonProperties(a[g],e.customProperties,0==g,e);for(g=0;g<b.length;g++)this.findCommonProperties(b[g],e.customProperties,0==a.length&&0==g,e)}return e};EditorUi.prototype.findCommonProperties=function(a,b,e,f){f=mxUtils.bind(this,function(k){if(null!=k)if(e)for(var u=0;u<k.length;u++)b[k[u].name]=k[u];else for(var w in b)if(null!=w){var y=!1;for(u=0;u<k.length;u++)if(k[u].name==w&&k[u].type==b[w].type){y=!0;break}y||delete b[w]}});var g=this.editor.graph,d=g.view.getState(a);if(null!=d&&null!=d.shape){if(!d.shape.commonCustomPropAdded){d.shape.commonCustomPropAdded=!0;d.shape.customProperties=d.shape.customProperties||[];if(null!=d.shape&&null!=-d.shape.stencil&&null!=d.shape.stencil.desc){var h=d.shape.stencil,l=[],r=mxUtils.bind(this,function(k){k=h.desc.getElementsByTagName(k);for(var u=[],w=0;w<k.length;w++){var y=k[w].getAttribute("color");if(!mxUtils.isValidColor(y)&&!l[y]&&"fill"!=y&&"stroke"!=y&&"font"!=y){l[y]=!0;var A=k[w].getAttribute("name");A=null!=A?A:Editor.getLabelForStylename(y);var G=k[w].getAttribute("default"),D=h.getDefaultColorValue(k[w],g),F=G;G==mxConstants.NONE&&(G="default");u.push({name:y,type:"color",primary:"false"!=-k[w].getAttribute("primary"),defVal:G,defaultColor:D,undefinedColor:F,dispName:A})}}return u});Array.prototype.push.apply(d.shape.customProperties,r("fillcolor"));Array.prototype.push.apply(d.shape.customProperties,r("strokecolor"));Array.prototype.push.apply(d.shape.customProperties,r("fontcolor"))}d.cell.vertex?Array.prototype.push.apply(d.shape.customProperties,Editor.commonVertexProperties):Array.prototype.push.apply(d.shape.customProperties,Editor.commonEdgeProperties)}f(d.shape.customProperties)}a=+d.shape.stencil&&null!=d.shape.stencil.desc){var h=d.shape.stencil,l=[],q=mxUtils.bind(this,function(k){k=h.desc.getElementsByTagName(k);for(var u=[],w=0;w<k.length;w++){var y=k[w].getAttribute("color");if(!mxUtils.isValidColor(y)&&!l[y]&&"fill"!=y&&"stroke"!=y&&"font"!=y){l[y]=!0;var A=k[w].getAttribute("name");A=null!=A?A:Editor.getLabelForStylename(y);var F=k[w].getAttribute("default"),D=h.getDefaultColorValue(k[w],g),G=F;F==mxConstants.NONE&&(F="default");u.push({name:y,type:"color",primary:"false"!=+k[w].getAttribute("primary"),defVal:F,defaultColor:D,undefinedColor:G,dispName:A})}}return u});Array.prototype.push.apply(d.shape.customProperties,q("fillcolor"));Array.prototype.push.apply(d.shape.customProperties,q("strokecolor"));Array.prototype.push.apply(d.shape.customProperties,q("fontcolor"))}d.cell.vertex?Array.prototype.push.apply(d.shape.customProperties,Editor.commonVertexProperties):Array.prototype.push.apply(d.shape.customProperties,Editor.commonEdgeProperties)}f(d.shape.customProperties)}a=a.getAttribute("customProperties");if(null!=a)try{f(JSON.parse(a))}catch(k){}};EditorUi.prototype.initSelectionState=function(){return{vertices:[],edges:[],cells:[],x:null,y:null,width:null,height:null,style:{},containsImage:!1,containsLabel:!1,fill:!0,glass:!0,html:!0,rounded:!0,autoSize:!1,image:!1,shadow:!0,lineJumps:!0,resizable:!0,table:!1,cell:!1,row:!1,movable:!0,rotatable:!0,stroke:!0,swimlane:!1,unlocked:this.editor.graph.isEnabled(),connections:!1}};-EditorUi.prototype.updateSelectionStateForTableCells=function(a){if(1<a.cells.length&&a.cell){var b=mxUtils.sortCells(a.cells),e=this.editor.graph.model,f=e.getParent(b[0]),g=e.getParent(f);if(null!=f&&null!=g){for(var d=f.getIndex(b[0]),h=g.getIndex(f),l=null,r=1,k=1,u=0,w=h<g.getChildCount()-1?e.getChildAt(e.getChildAt(g,h+1),d):null;u<b.length-1;){var y=b[++u];null==w||w!=y||null!=l&&r!=l||(l=r,r=0,k++,f=e.getParent(w),w=h+k<g.getChildCount()?e.getChildAt(e.getChildAt(g,h+k),d):null);var A=this.editor.graph.view.getState(y);-if(y==e.getChildAt(f,d+r)&&null!=A&&1==mxUtils.getValue(A.style,"colspan",1)&&1==mxUtils.getValue(A.style,"rowspan",1))r++;else break}u==k*r-1&&(a.mergeCell=b[0],a.colspan=r,a.rowspan=k)}}};EditorUi.prototype.windowResized=function(){window.setTimeout(mxUtils.bind(this,function(){null!=this.editor.graph&&this.editor.graph.sizeDidChange()}),0)};+EditorUi.prototype.updateSelectionStateForTableCells=function(a){if(1<a.cells.length&&a.cell){var b=mxUtils.sortCells(a.cells),e=this.editor.graph.model,f=e.getParent(b[0]),g=e.getParent(f);if(null!=f&&null!=g){for(var d=f.getIndex(b[0]),h=g.getIndex(f),l=null,q=1,k=1,u=0,w=h<g.getChildCount()-1?e.getChildAt(e.getChildAt(g,h+1),d):null;u<b.length-1;){var y=b[++u];null==w||w!=y||null!=l&&q!=l||(l=q,q=0,k++,f=e.getParent(w),w=h+k<g.getChildCount()?e.getChildAt(e.getChildAt(g,h+k),d):null);var A=this.editor.graph.view.getState(y);+if(y==e.getChildAt(f,d+q)&&null!=A&&1==mxUtils.getValue(A.style,"colspan",1)&&1==mxUtils.getValue(A.style,"rowspan",1))q++;else break}u==k*q-1&&(a.mergeCell=b[0],a.colspan=q,a.rowspan=k)}}};EditorUi.prototype.windowResized=function(){window.setTimeout(mxUtils.bind(this,function(){null!=this.editor.graph&&this.editor.graph.sizeDidChange()}),0)};EditorUi.prototype.createTimeout=function(a,b,e){var f=!0,g=null,d=mxUtils.bind(this,function(l){g.clear()&&(f=!1,l=null!=l?l:{code:App.ERROR_TIMEOUT,message:mxResources.get("timeout"),retry:mxUtils.bind(this,function(){this.createTimeout(a,b,e)})},null!=e?e(l):this.handleError(l))}),h=window.setTimeout(d,null!=a?a:this.timeout);g={clear:function(){window.clearTimeout(h);return f},isAlive:function(){return f}};null!=b&&this.tryAndHandle(mxUtils.bind(this,function(){b(g)}),d);return g};EditorUi.prototype.tryAndHandle=function(a,b){try{a()}catch(e){null!=b?b(e):this.handleError(e)}};-EditorUi.prototype.removeUserDefinedDarkColors=function(a,b,e){var f=this.editor.graph;a=null!=a?a:f.getSelectionCells();var g=Graph.colorStyles,d=document.createElement("div");f.model.beginUpdate();try{for(var h=0;h<a.length;h++)if(f.model.isEdge(a[h])||f.model.isVertex(a[h])){var l=f.getCellStyle(a[h],!1);if(null!=l)for(var r=0;r<g.length;r++)try{var k=l[g[r]];if(mxUtils.isLightDarkColor(k)){var u=mxUtils.getLightDarkColor(k);f.setCellStyles(g[r],u.light,[a[h]])}}catch(y){}b&&f.isHtmlLabel(a[h])&&-"0"!=mxUtils.getValue(l,"html","0")&&(d.innerHTML=Graph.sanitizeHtml(f.getLabel(a[h])),Graph.addLightDarkColors(d,null,null,function(y,A,G){return mxUtils.isLightDarkColor(G)?(G=mxUtils.getLightDarkColor(G),y.style.setProperty(A,G.light),!0):!1})&&f.cellLabelChanged(a[h],d.innerHTML))}if(e&&mxUtils.isLightDarkColor(f.background)){u=mxUtils.getLightDarkColor(f.background);var w=new ChangePageSetup(this,u.light);w.ignoreImage=!0;f.model.execute(w)}}finally{f.model.endUpdate()}return a};+EditorUi.prototype.removeUserDefinedDarkColors=function(a,b,e){var f=this.editor.graph;a=null!=a?a:f.getSelectionCells();var g=Graph.colorStyles,d=document.createElement("div");f.model.beginUpdate();try{for(var h=0;h<a.length;h++)if(f.model.isEdge(a[h])||f.model.isVertex(a[h])){var l=f.getCellStyle(a[h],!1);if(null!=l)for(var q=0;q<g.length;q++)try{var k=l[g[q]];if(mxUtils.isLightDarkColor(k)){var u=mxUtils.getLightDarkColor(k);f.setCellStyles(g[q],u.light,[a[h]])}}catch(y){}b&&f.isHtmlLabel(a[h])&&+"0"!=mxUtils.getValue(l,"html","0")&&(d.innerHTML=Graph.sanitizeHtml(f.getLabel(a[h])),Graph.addLightDarkColors(d,null,null,function(y,A,F){return mxUtils.isLightDarkColor(F)?(F=mxUtils.getLightDarkColor(F),y.style.setProperty(A,F.light),!0):!1})&&f.cellLabelChanged(a[h],d.innerHTML))}if(e&&mxUtils.isLightDarkColor(f.background)){u=mxUtils.getLightDarkColor(f.background);var w=new ChangePageSetup(this,u.light);w.ignoreImage=!0;f.model.execute(w)}}finally{f.model.endUpdate()}return a};EditorUi.prototype.updateSelectionStateForCell=function(a,b,e,f){e=this.editor.graph;a.cells.push(b);if(e.getModel().isVertex(b)){a.connections=0<e.model.getEdgeCount(b);a.unlocked=a.unlocked&&!e.isCellLocked(b);a.resizable=a.resizable&&e.isCellResizable(b);a.rotatable=a.rotatable&&e.isCellRotatable(b);a.movable=a.movable&&e.isCellMovable(b)&&!e.isTableRow(b)&&!e.isTableCell(b);a.swimlane=a.swimlane||e.isSwimlane(b);a.table=a.table||e.isTable(b);a.cell=a.cell||e.isTableCell(b);a.row=a.row||e.isTableRow(b);a.vertices.push(b);var g=e.getCellGeometry(b);if(null!=g&&(0<g.width?null==a.width?a.width=g.width:a.width!=g.width&&(a.width=""):a.containsLabel=!0,0<g.height?null==a.height?a.height=g.height:a.height!=g.height&&(a.height=""):a.containsLabel=!0,!g.relative||null!=g.offset)){var d=g.relative?g.offset.x:g.x;g=g.relative?g.offset.y:g.y;null==a.x?a.x=d:a.x!=d&&(a.x="");null==a.y?a.y=g:a.y!=g&&(a.y="")}}else e.getModel().isEdge(b)&&(a.edges.push(b),a.connections=!0,a.resizable=!1,a.rotatable=!1,a.movable=!1);d=e.view.getState(b);null!=d&&(a.html=a.html&&e.isHtmlLabel(b),a.autoSize=a.autoSize||e.isAutoSizeState(d),a.glass=a.glass&&e.isGlassState(d),a.rounded=a.rounded&&e.isRoundedState(d),a.lineJumps=a.lineJumps&&e.isLineJumpState(d),a.image=a.image||e.isImageState(d),a.shadow=a.shadow&&e.isShadowState(d),a.fill=a.fill&&e.isFillState(d),a.gradient=a.fill&&e.isGradientState(d),a.stroke=a.stroke&&e.isStrokeState(d),b=mxUtils.getValue(d.style,mxConstants.STYLE_SHAPE,null),a.containsImage=a.containsImage||"image"==b,e.mergeStyle(d.style,a.style,f))};-EditorUi.prototype.installShapePicker=function(){var a=this.editor.graph,b=this;a.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(r,k){"mouseDown"==k.getProperty("eventName")&&b.hideShapePicker()}));var e=mxUtils.bind(this,function(){b.hideShapePicker(!0)});a.addListener("wheel",e);a.addListener(mxEvent.ESCAPE,e);a.view.addListener(mxEvent.SCALE,e);a.view.addListener(mxEvent.SCALE_AND_TRANSLATE,e);a.getSelectionModel().addListener(mxEvent.CHANGE,e);var f=a.popupMenuHandler.isMenuShowing;-a.popupMenuHandler.isMenuShowing=function(){return f.apply(this,arguments)||null!=b.shapePicker||null!=b.currentMenu};var g=a.dblClick;a.dblClick=function(r,k){if(this.isEnabled())if(null!=k||null==b.sidebar||mxEvent.isShiftDown(r)||a.isCellLocked(a.getDefaultParent()))g.apply(this,arguments);else{var u=mxUtils.convertPoint(this.container,mxEvent.getClientX(r),mxEvent.getClientY(r));mxEvent.consume(r);window.setTimeout(mxUtils.bind(this,function(){b.showShapePicker(u.x,u.y)}),30)}};if(null!=this.hoverIcons){this.hoverIcons.addListener("reset",-mxUtils.bind(this,function(){null!=this.hoverIcons.shapePickerHoverDiv&&(this.hoverIcons.shapePickerHoverDiv=null,b.hideShapePicker(!0))}));var d=this.hoverIcons.drag;this.hoverIcons.drag=function(){b.hideShapePicker();d.apply(this,arguments)};var h=this.hoverIcons.execute;this.hoverIcons.execute=function(r,k,u){var w=u.getEvent();this.graph.isCloneEvent(w)||mxEvent.isShiftDown(w)?h.apply(this,arguments):this.graph.connectVertex(r.cell,k,this.graph.defaultEdgeLength,w,null,null,mxUtils.bind(this,-function(y,A,G){var D=a.getCompositeParent(r.cell);y=a.getCellGeometry(D);for(u.consume();null!=D&&a.model.isVertex(D)&&null!=y&&y.relative;)cell=D,D=a.model.getParent(cell),y=a.getCellGeometry(D);window.setTimeout(mxUtils.bind(this,function(){this.shapePickerHoverDiv=b.showShapePicker(u.getGraphX(),u.getGraphY(),D,mxUtils.bind(this,function(F){G(F);null!=b.hoverIcons&&b.hoverIcons.update(a.view.getState(F))}),k)}),30)}),mxUtils.bind(this,function(y){this.graph.selectCellsForConnectVertex(y,w,this)}))};-var l=null;this.hoverIcons.addListener("focus",mxUtils.bind(this,function(r,k){null!=l&&window.clearTimeout(l);l=window.setTimeout(mxUtils.bind(this,function(){var u=k.getProperty("arrow"),w=k.getProperty("direction"),y=k.getProperty("event");u=u.getBoundingClientRect();var A=mxUtils.getOffset(a.container),G=a.container.scrollLeft+u.x-A.x;A=a.container.scrollTop+u.y-A.y;var D=a.getCompositeParent(null!=this.hoverIcons.currentState?this.hoverIcons.currentState.cell:null),F=b.showShapePicker(G,A,D,-mxUtils.bind(this,function(H){null!=H&&a.connectVertex(D,w,a.defaultEdgeLength,y,!0,!1,function(M,N,K){K(H);null!=b.hoverIcons&&b.hoverIcons.update(a.view.getState(H))},function(M){a.selectCellsForConnectVertex(M)},y,this.hoverIcons)}),w,!0);null!=F&&(this.centerShapePicker(F,u,G,A,w),this.hoverIcons.shapePickerHoverDiv=F,mxUtils.setOpacity(F,30),mxEvent.addListener(F,"mouseenter",function(){mxUtils.setOpacity(F,100)}),mxEvent.addListener(F,"mouseleave",function(){b.hideShapePicker()}))}),Editor.shapePickerHoverDelay)}));-this.hoverIcons.addListener("blur",mxUtils.bind(this,function(r,k){null!=l&&window.clearTimeout(l)}))}};+EditorUi.prototype.installShapePicker=function(){var a=this.editor.graph,b=this;a.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(q,k){"mouseDown"==k.getProperty("eventName")&&b.hideShapePicker()}));var e=mxUtils.bind(this,function(){b.hideShapePicker(!0)});a.addListener("wheel",e);a.addListener(mxEvent.ESCAPE,e);a.view.addListener(mxEvent.SCALE,e);a.view.addListener(mxEvent.SCALE_AND_TRANSLATE,e);a.getSelectionModel().addListener(mxEvent.CHANGE,e);var f=a.popupMenuHandler.isMenuShowing;+a.popupMenuHandler.isMenuShowing=function(){return f.apply(this,arguments)||null!=b.shapePicker||null!=b.currentMenu};var g=a.dblClick;a.dblClick=function(q,k){if(this.isEnabled())if(null!=k||null==b.sidebar||mxEvent.isShiftDown(q)||a.isCellLocked(a.getDefaultParent()))g.apply(this,arguments);else{var u=mxUtils.convertPoint(this.container,mxEvent.getClientX(q),mxEvent.getClientY(q));mxEvent.consume(q);window.setTimeout(mxUtils.bind(this,function(){b.showShapePicker(u.x,u.y)}),30)}};if(null!=this.hoverIcons){this.hoverIcons.addListener("reset",+mxUtils.bind(this,function(){null!=this.hoverIcons.shapePickerHoverDiv&&(this.hoverIcons.shapePickerHoverDiv=null,b.hideShapePicker(!0))}));var d=this.hoverIcons.drag;this.hoverIcons.drag=function(){b.hideShapePicker();d.apply(this,arguments)};var h=this.hoverIcons.execute;this.hoverIcons.execute=function(q,k,u){var w=u.getEvent();this.graph.isCloneEvent(w)||mxEvent.isShiftDown(w)?h.apply(this,arguments):this.graph.connectVertex(q.cell,k,this.graph.defaultEdgeLength,w,null,null,mxUtils.bind(this,+function(y,A,F){var D=a.getCompositeParent(q.cell);y=a.getCellGeometry(D);for(u.consume();null!=D&&a.model.isVertex(D)&&null!=y&&y.relative;)cell=D,D=a.model.getParent(cell),y=a.getCellGeometry(D);window.setTimeout(mxUtils.bind(this,function(){this.shapePickerHoverDiv=b.showShapePicker(u.getGraphX(),u.getGraphY(),D,mxUtils.bind(this,function(G){F(G);null!=b.hoverIcons&&b.hoverIcons.update(a.view.getState(G))}),k)}),30)}),mxUtils.bind(this,function(y){this.graph.selectCellsForConnectVertex(y,w,this)}))};+var l=null;this.hoverIcons.addListener("focus",mxUtils.bind(this,function(q,k){null!=l&&window.clearTimeout(l);l=window.setTimeout(mxUtils.bind(this,function(){var u=k.getProperty("arrow"),w=k.getProperty("direction"),y=k.getProperty("event");u=u.getBoundingClientRect();var A=mxUtils.getOffset(a.container),F=a.container.scrollLeft+u.x-A.x;A=a.container.scrollTop+u.y-A.y;var D=a.getCompositeParent(null!=this.hoverIcons.currentState?this.hoverIcons.currentState.cell:null),G=b.showShapePicker(F,A,D,+mxUtils.bind(this,function(H){null!=H&&a.connectVertex(D,w,a.defaultEdgeLength,y,!0,!1,function(M,N,K){K(H);null!=b.hoverIcons&&b.hoverIcons.update(a.view.getState(H))},function(M){a.selectCellsForConnectVertex(M)},y,this.hoverIcons)}),w,!0);null!=G&&(this.centerShapePicker(G,u,F,A,w),this.hoverIcons.shapePickerHoverDiv=G,mxUtils.setOpacity(G,30),mxEvent.addListener(G,"mouseenter",function(){mxUtils.setOpacity(G,100)}),mxEvent.addListener(G,"mouseleave",function(){b.hideShapePicker()}))}),Editor.shapePickerHoverDelay)}));+this.hoverIcons.addListener("blur",mxUtils.bind(this,function(q,k){null!=l&&window.clearTimeout(l)}))}};EditorUi.prototype.centerShapePicker=function(a,b,e,f,g){if(g==mxConstants.DIRECTION_EAST||g==mxConstants.DIRECTION_WEST)a.style.width="40px";var d=a.getBoundingClientRect();g==mxConstants.DIRECTION_NORTH?(e-=d.width/2-10,f-=d.height+6):g==mxConstants.DIRECTION_SOUTH?(e-=d.width/2-10,f+=b.height+6):g==mxConstants.DIRECTION_WEST?(e-=d.width+6,f-=d.height/2-10):g==mxConstants.DIRECTION_EAST&&(e+=b.width+6,f-=d.height/2-10);a.style.left=e+"px";a.style.top=f+"px"};-EditorUi.prototype.showShapePicker=function(a,b,e,f,g,d,h,l,r){var k=null;this.editor.graph.freehand.isDrawing()||(l=l||null==e,k=this.createShapePicker(a,b,e,f,g,mxUtils.bind(this,function(){this.hideShapePicker()}),this.getCellsForShapePicker(e,d,l),d,h,l,r),null!=k&&(null==this.hoverIcons||d||this.hoverIcons.reset(),a=this.editor.graph,a.popupMenuHandler.hideMenu(),a.tooltipHandler.hideTooltip(),this.hideCurrentMenu(),this.hideShapePicker(),this.shapePickerCallback=f,this.shapePicker=k));return k};-EditorUi.prototype.createShapePicker=function(a,b,e,f,g,d,h,l,r,k,u){u=null!=u?u:!0;var w=this.editor.graph,y=null;r=null!=r?r:function(D){D=D[0];var F=0,H=0,M=D.geometry;null!=M&&(w.model.isEdge(D)&&(D=M.getTerminalPoint(!1),M=new mxRectangle(0,0,D.x,D.y)),F=M.width/2,H=M.height/2);return new mxPoint(w.snap(Math.round(a/w.view.scale)-w.view.translate.x-F),w.snap(Math.round(b/w.view.scale)-w.view.translate.y-H))};if(null!=h&&0<h.length){var A=this;w=this.editor.graph;y=document.createElement("div");-g=w.view.getState(e);var G=null==e||null!=g&&w.isTransparentState(g)?null:w.copyStyle(e);y.className="geShapePicker";y.setAttribute("title",mxResources.get("sidebarTooltip"));y.style.left=Math.round(a)+"px";y.style.top=Math.round(b)+"px";mxClient.IS_POINTER&&(y.style.touchAction="none");l||mxUtils.setPrefixedStyle(y.style,"transform","translate(-22px,-22px)");w.container.appendChild(y);g=mxUtils.bind(this,function(D){var F=document.createElement("a");y.appendChild(F);null!=G&&"1"!=urlParams.sketch?-this.sidebar.graph.pasteStyle(G,[D]):this.sidebar.graph.pasteCellStyles([D],w.currentVertexStyle,w.currentEdgeStyle);var H=D.geometry;w.model.isEdge(D)&&(H=H.getTerminalPoint(!1),H=new mxRectangle(0,0,H.x,H.y));null!=H&&(H=this.sidebar.createVertexTemplateFromCells([D],H.width,H.height,"",!0,!1,null,!1,mxUtils.bind(this,function(M){if(!mxEvent.isAltDown(M)||1!=w.getSelectionCount()){if(!mxEvent.isShiftDown(M)||null==e&&w.isSelectionEmpty()){var N=w.cloneCell(D);if(null!=f)f(N);else{var K=r([N]);w.model.isEdge(N)?+EditorUi.prototype.showShapePicker=function(a,b,e,f,g,d,h,l,q){var k=null;this.editor.graph.freehand.isDrawing()||(l=l||null==e,k=this.createShapePicker(a,b,e,f,g,mxUtils.bind(this,function(){this.hideShapePicker()}),this.getCellsForShapePicker(e,d,l),d,h,l,q),null!=k&&(null==this.hoverIcons||d||this.hoverIcons.reset(),a=this.editor.graph,a.popupMenuHandler.hideMenu(),a.tooltipHandler.hideTooltip(),this.hideCurrentMenu(),this.hideShapePicker(),this.shapePickerCallback=f,this.shapePicker=k));return k};+EditorUi.prototype.createShapePicker=function(a,b,e,f,g,d,h,l,q,k,u){u=null!=u?u:!0;var w=this.editor.graph,y=null;q=null!=q?q:function(D){D=D[0];var G=0,H=0,M=D.geometry;null!=M&&(w.model.isEdge(D)&&(D=M.getTerminalPoint(!1),M=new mxRectangle(0,0,D.x,D.y)),G=M.width/2,H=M.height/2);return new mxPoint(w.snap(Math.round(a/w.view.scale)-w.view.translate.x-G),w.snap(Math.round(b/w.view.scale)-w.view.translate.y-H))};if(null!=h&&0<h.length){var A=this;w=this.editor.graph;y=document.createElement("div");+g=w.view.getState(e);var F=null==e||null!=g&&w.isTransparentState(g)?null:w.copyStyle(e);y.className="geShapePicker";y.setAttribute("title",mxResources.get("sidebarTooltip"));y.style.left=Math.round(a)+"px";y.style.top=Math.round(b)+"px";mxClient.IS_POINTER&&(y.style.touchAction="none");l||mxUtils.setPrefixedStyle(y.style,"transform","translate(-22px,-22px)");w.container.appendChild(y);g=mxUtils.bind(this,function(D){var G=document.createElement("a");y.appendChild(G);null!=F&&"1"!=urlParams.sketch?+this.sidebar.graph.pasteStyle(F,[D]):this.sidebar.graph.pasteCellStyles([D],w.currentVertexStyle,w.currentEdgeStyle);var H=D.geometry;w.model.isEdge(D)&&(H=H.getTerminalPoint(!1),H=new mxRectangle(0,0,H.x,H.y));null!=H&&(H=this.sidebar.createVertexTemplateFromCells([D],H.width,H.height,"",!0,!1,null,!1,mxUtils.bind(this,function(M){if(!mxEvent.isAltDown(M)||1!=w.getSelectionCount()){if(!mxEvent.isShiftDown(M)||null==e&&w.isSelectionEmpty()){var N=w.cloneCell(D);if(null!=f)f(N);else{var K=q([N]);w.model.isEdge(N)?N.geometry.translate(K.x,K.y):(N.geometry.x=K.x,N.geometry.y=K.y);w.model.beginUpdate();try{w.addCell(N),w.model.isVertex(N)&&w.isAutoSizeCell(N)&&w.updateCellSize(N)}finally{w.model.endUpdate()}w.setSelectionCell(N);w.scrollCellToVisible(N);u&&w.startEditing(N);null!=A.hoverIcons&&A.hoverIcons.update(w.view.getState(N))}}else N=w.getEditableCells(null!=e?[e]:w.getSelectionCells()),w.updateShapes(D,N);null!=d&&d(M);mxEvent.consume(M)}}),25,25,null,null,e),H.style.display="flex",H.style.alignItems=-"center",H.style.justifyContent="center",F.appendChild(H))});for(k=0;k<(l?Math.min(h.length,4):h.length);k++)g(h[k]);h=y.offsetTop+y.clientHeight-(w.container.scrollTop+w.container.offsetHeight);0<h&&(y.style.top=Math.max(w.container.scrollTop+22,b-h)+"px");h=y.offsetLeft+y.clientWidth-(w.container.scrollLeft+w.container.offsetWidth);0<h&&(y.style.left=Math.max(w.container.scrollLeft+22,a-h)+"px")}return y};-EditorUi.prototype.getCellsForShapePicker=function(a,b,e){var f=this.editor.graph,g=mxUtils.bind(this,function(d,h,l,r){return f.createVertex(null,null,r||"",0,0,h||120,l||60,d,!1)});b=mxUtils.bind(this,function(d,h,l){d=new mxCell(l||"",new mxGeometry(0,0,f.defaultEdgeLength+20,0),d);d.geometry.setTerminalPoint(new mxPoint(0,0),!0);d.geometry.setTerminalPoint(new mxPoint(d.geometry.width,null!=h?h:0),!1);d.geometry.points=null!=h?[new mxPoint(d.geometry.width/2,h)]:[];d.geometry.relative=!0;d.edge=+"center",H.style.justifyContent="center",G.appendChild(H))});for(k=0;k<(l?Math.min(h.length,4):h.length);k++)g(h[k]);h=y.offsetTop+y.clientHeight-(w.container.scrollTop+w.container.offsetHeight);0<h&&(y.style.top=Math.max(w.container.scrollTop+22,b-h)+"px");h=y.offsetLeft+y.clientWidth-(w.container.scrollLeft+w.container.offsetWidth);0<h&&(y.style.left=Math.max(w.container.scrollLeft+22,a-h)+"px")}return y};+EditorUi.prototype.getCellsForShapePicker=function(a,b,e){var f=this.editor.graph,g=mxUtils.bind(this,function(d,h,l,q){return f.createVertex(null,null,q||"",0,0,h||120,l||60,d,!1)});b=mxUtils.bind(this,function(d,h,l){d=new mxCell(l||"",new mxGeometry(0,0,f.defaultEdgeLength+20,0),d);d.geometry.setTerminalPoint(new mxPoint(0,0),!0);d.geometry.setTerminalPoint(new mxPoint(d.geometry.width,null!=h?h:0),!1);d.geometry.points=null!=h?[new mxPoint(d.geometry.width/2,h)]:[];d.geometry.relative=!0;d.edge=!0;return d});if(null!=a)try{a=f.cloneCell(a),f.model.isVertex(a)&&null!=a.geometry&&(a.geometry.x=0,a.geometry.y=0)}catch(d){a=null}null==a&&(a=g(f.appendFontSize(Editor.defaultTextStyle,f.vertexFontSize),60,30,"Text"));a=[a,g("whiteSpace=wrap;html=1;"),g("ellipse;whiteSpace=wrap;html=1;",80,80),g("rhombus;whiteSpace=wrap;html=1;",80,80),g("rounded=1;whiteSpace=wrap;html=1;"),g("shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;"),g("shape=trapezoid;perimeter=trapezoidPerimeter;whiteSpace=wrap;html=1;fixedSize=1;",120,60),g("shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;fixedSize=1;",120,80),g("shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;",120,80),g("shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;"),g("triangle;whiteSpace=wrap;html=1;",60,80),g("shape=document;whiteSpace=wrap;html=1;boundedLbl=1;",120,80),g("shape=tape;whiteSpace=wrap;html=1;",120,100),g("ellipse;shape=cloud;whiteSpace=wrap;html=1;",120,80),g("shape=singleArrow;whiteSpace=wrap;html=1;arrowWidth=0.4;arrowSize=0.4;",80,60),g("shape=waypoint;sketch=0;size=6;pointerEvents=1;points=[];fillColor=none;resizable=0;rotatable=0;perimeter=centerPerimeter;snapToPoint=1;",20,20)];e&&(a=a.concat([b("edgeStyle=none;orthogonalLoop=1;jettySize=auto;html=1;"),b("edgeStyle=none;orthogonalLoop=1;jettySize=auto;html=1;endArrow=classic;startArrow=classic;endSize=8;startSize=8;"),b("edgeStyle=none;orthogonalLoop=1;jettySize=auto;html=1;shape=flexArrow;rounded=1;startSize=8;endSize=8;"),b("edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;curved=0;rounded=0;endSize=8;startSize=8;sourcePerimeterSpacing=0;targetPerimeterSpacing=0;",@@ -2187,34 +2187,34 @@ EditorUi.prototype.getImageForEdgeShape=function(a){var b=Format.connectionImageEditorUi.prototype.getImageForEdgeStyle=function(a){var b=Format.orthogonalImage.src,e=mxUtils.getValue(a,mxConstants.STYLE_EDGE,null);"1"==mxUtils.getValue(a,mxConstants.STYLE_NOEDGESTYLE,null)&&(e=null);"orthogonalEdgeStyle"==e&&"1"==mxUtils.getValue(a,mxConstants.STYLE_CURVED,null)?b=Format.curvedImage.src:"straight"==e||"none"==e||null==e?b=Format.straightImage.src:"entityRelationEdgeStyle"==e?b=Format.entityImage.src:"elbowEdgeStyle"==e?b="vertical"==mxUtils.getValue(a,mxConstants.STYLE_ELBOW,null)?Format.verticalElbowImage.src:Format.horizontalElbowImage.src:"isometricEdgeStyle"==e&&(b="vertical"==mxUtils.getValue(a,mxConstants.STYLE_ELBOW,null)?Format.verticalIsometricImage.src:Format.horizontalIsometricImage.src);return b};EditorUi.prototype.createMenus=function(){return null};EditorUi.prototype.updatePasteActionStates=function(){var a=this.editor.graph,b=this.actions.get("paste"),e=this.actions.get("pasteHere");b.setEnabled(this.editor.graph.cellEditor.isContentEditing()||(null!=navigator.clipboard||!mxClipboard.isEmpty())&&a.isEnabled()&&!a.isCellLocked(a.getDefaultParent()));e.setEnabled(b.isEnabled())};-EditorUi.prototype.initClipboard=function(){var a=this,b=mxClipboard.cut;mxClipboard.cut=function(d){d.cellEditor.isContentEditing()?document.execCommand("cut",!1,null):b.apply(this,arguments);a.updatePasteActionStates()};mxClipboard.copy=function(d){var h=null;if(d.cellEditor.isContentEditing())document.execCommand("copy",!1,null);else{h=h||d.getSelectionCells();h=d.getExportableCells(d.model.getTopmostCells(h));for(var l={},r=d.createCellLookup(h),k=d.cloneCells(h,null,l),u=new mxGraphModel,w=u.getChildAt(u.getRoot(),-0),y=0;y<k.length;y++){u.add(w,k[y]);var A=d.view.getState(h[y]);if(null!=A){var G=d.getCellGeometry(k[y]);null!=G&&G.relative&&!u.isEdge(h[y])&&null==r[mxObjectIdentity.get(u.getParent(h[y]))]&&(G.offset=null,G.relative=!1,G.x=A.x/A.view.scale-A.view.translate.x,G.y=A.y/A.view.scale-A.view.translate.y)}}d.updateCustomLinks(d.createCellMapping(l,r),k);mxClipboard.insertCount=1;mxClipboard.setCells(k)}a.updatePasteActionStates();return h};var e=mxClipboard.paste;mxClipboard.paste=function(d){var h=+EditorUi.prototype.initClipboard=function(){var a=this,b=mxClipboard.cut;mxClipboard.cut=function(d){d.cellEditor.isContentEditing()?document.execCommand("cut",!1,null):b.apply(this,arguments);a.updatePasteActionStates()};mxClipboard.copy=function(d){var h=null;if(d.cellEditor.isContentEditing())document.execCommand("copy",!1,null);else{h=h||d.getSelectionCells();h=d.getExportableCells(d.model.getTopmostCells(h));for(var l={},q=d.createCellLookup(h),k=d.cloneCells(h,null,l),u=new mxGraphModel,w=u.getChildAt(u.getRoot(),+0),y=0;y<k.length;y++){u.add(w,k[y]);var A=d.view.getState(h[y]);if(null!=A){var F=d.getCellGeometry(k[y]);null!=F&&F.relative&&!u.isEdge(h[y])&&null==q[mxObjectIdentity.get(u.getParent(h[y]))]&&(F.offset=null,F.relative=!1,F.x=A.x/A.view.scale-A.view.translate.x,F.y=A.y/A.view.scale-A.view.translate.y)}}d.updateCustomLinks(d.createCellMapping(l,q),k);mxClipboard.insertCount=1;mxClipboard.setCells(k)}a.updatePasteActionStates();return h};var e=mxClipboard.paste;mxClipboard.paste=function(d){var h=null;d.cellEditor.isContentEditing()?document.execCommand("paste",!1,null):h=e.apply(this,arguments);a.updatePasteActionStates();return h};var f=this.editor.graph.cellEditor.startEditing;this.editor.graph.cellEditor.startEditing=function(){f.apply(this,arguments);a.updatePasteActionStates()};var g=this.editor.graph.cellEditor.stopEditing;this.editor.graph.cellEditor.stopEditing=function(d,h){g.apply(this,arguments);a.updatePasteActionStates()};this.updatePasteActionStates()};EditorUi.prototype.lazyZoomDelay=20;EditorUi.prototype.wheelZoomDelay=500;EditorUi.prototype.buttonZoomDelay=600;EditorUi.prototype.initCanvas=function(){var a=this.editor.graph;a.timerAutoScroll=!0;a.getPagePadding=function(){return new mxPoint(Math.max(0,Math.round((a.container.offsetWidth-34)/a.view.scale)),Math.max(0,Math.round((a.container.offsetHeight-34)/a.view.scale)))};a.view.getBackgroundPageBounds=function(){var ca=this.graph.getPageLayout(),la=this.graph.getPageSize();return new mxRectangle(this.scale*(this.translate.x+ca.x*la.width),this.scale*(this.translate.y+ca.y*la.height),this.scale*ca.width*la.width,this.scale*ca.height*la.height)};a.getPreferredPageSize=function(ca,la,ia){ca=this.getPageLayout();la=this.getPageSize();return new mxRectangle(0,0,ca.width*la.width,ca.height*la.height)};var b=null,e=this;if(this.editor.isChromelessView()){this.chromelessResize=b=mxUtils.bind(this,function(ca,la,ia,O){if(null!=a.container&&!a.isViewer()){ia=null!=ia?ia:0;O=null!=O?O:0;var qa=a.pageVisible?a.view.getBackgroundPageBounds():a.getGraphBounds(),ja=mxUtils.hasScrollbars(a.container),va=a.view.translate,-za=a.view.scale,La=mxRectangle.fromRectangle(qa);La.x=La.x/za-va.x;La.y=La.y/za-va.y;La.width/=za;La.height/=za;va=a.container.scrollTop;var Na=a.container.scrollLeft,Ja=8<=document.documentMode?20:14;if(8==document.documentMode||9==document.documentMode)Ja+=3;var Ka=a.container.offsetWidth-Ja;Ja=a.container.offsetHeight-Ja;ca=ca?Math.max(.3,Math.min(la||1,Ka/La.width)):za;la=(Ka-ca*La.width)/2/ca;var ta=0==this.lightboxVerticalDivider?0:(Ja-ca*La.height)/this.lightboxVerticalDivider/ca;ja&&(la=Math.max(la,-0),ta=Math.max(ta,0));if(ja||qa.width<Ka||qa.height<Ja)a.view.scaleAndTranslate(ca,Math.floor(la-La.x),Math.floor(ta-La.y)),a.container.scrollTop=va*ca/za,a.container.scrollLeft=Na*ca/za;else if(0!=ia||0!=O)qa=a.view.translate,a.view.setTranslate(Math.floor(qa.x+ia/za),Math.floor(qa.y+O/za))}});this.chromelessWindowResize=mxUtils.bind(this,function(){this.chromelessResize(!1)});var f=mxUtils.bind(this,function(){this.chromelessWindowResize(!1)});mxEvent.addListener(window,"resize",f);this.destroyFunctions.push(function(){mxEvent.removeListener(window,+ya=a.view.scale,La=mxRectangle.fromRectangle(qa);La.x=La.x/ya-va.x;La.y=La.y/ya-va.y;La.width/=ya;La.height/=ya;va=a.container.scrollTop;var Na=a.container.scrollLeft,Ja=8<=document.documentMode?20:14;if(8==document.documentMode||9==document.documentMode)Ja+=3;var Ka=a.container.offsetWidth-Ja;Ja=a.container.offsetHeight-Ja;ca=ca?Math.max(.3,Math.min(la||1,Ka/La.width)):ya;la=(Ka-ca*La.width)/2/ca;var ta=0==this.lightboxVerticalDivider?0:(Ja-ca*La.height)/this.lightboxVerticalDivider/ca;ja&&(la=Math.max(la,+0),ta=Math.max(ta,0));if(ja||qa.width<Ka||qa.height<Ja)a.view.scaleAndTranslate(ca,Math.floor(la-La.x),Math.floor(ta-La.y)),a.container.scrollTop=va*ca/ya,a.container.scrollLeft=Na*ca/ya;else if(0!=ia||0!=O)qa=a.view.translate,a.view.setTranslate(Math.floor(qa.x+ia/ya),Math.floor(qa.y+O/ya))}});this.chromelessWindowResize=mxUtils.bind(this,function(){this.chromelessResize(!1)});var f=mxUtils.bind(this,function(){this.chromelessWindowResize(!1)});mxEvent.addListener(window,"resize",f);this.destroyFunctions.push(function(){mxEvent.removeListener(window,"resize",f)});this.editor.addListener("resetGraphView",mxUtils.bind(this,function(){this.chromelessResize(!0)}));this.actions.get("zoomIn").funct=mxUtils.bind(this,function(ca){a.zoomIn();this.chromelessResize(!1)});this.actions.get("zoomOut").funct=mxUtils.bind(this,function(ca){a.zoomOut();this.chromelessResize(!1)});if("0"!=urlParams.toolbar){var g=JSON.parse(decodeURIComponent(urlParams["toolbar-config"]||"{}"));this.chromelessToolbar=document.createElement("div");this.chromelessToolbar.style.position="fixed";this.chromelessToolbar.style.overflow="hidden";this.chromelessToolbar.style.boxSizing="border-box";this.chromelessToolbar.style.whiteSpace="nowrap";this.chromelessToolbar.style.padding="10px 10px 8px 10px";this.chromelessToolbar.style.left=a.isViewer()?"0":"50%";mxClient.IS_IE||mxClient.IS_IE11?(this.chromelessToolbar.style.backgroundColor="#ffffff",this.chromelessToolbar.style.border="3px solid black"):this.chromelessToolbar.style.backgroundColor="#000000";mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"borderRadius","16px");mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"transition","opacity 600ms ease-in-out");var d=mxUtils.bind(this,function(){var ca=mxUtils.getCurrentStyle(a.container);a.isViewer()?this.chromelessToolbar.style.top="0":this.chromelessToolbar.style.bottom=(null!=ca?parseInt(ca["margin-bottom"]||0):0)+(null!=this.tabContainer?20+parseInt(this.tabContainer.style.height):20)+"px"});this.editor.addListener("resetGraphView",d);d();var h=0;d=mxUtils.bind(this,function(ca,la,ia){h++;var O=document.createElement("span");O.style.paddingLeft="8px";O.style.paddingRight="8px";O.style.cursor="pointer";mxEvent.addListener(O,"click",ca);null!=ia&&O.setAttribute("title",ia);ca=document.createElement("img");ca.setAttribute("border","0");ca.setAttribute("src",la);ca.style.width="36px";ca.style.filter="invert(100%)";O.appendChild(ca);this.chromelessToolbar.appendChild(O);return O});if(null!=g.backBtn){var l=Graph.sanitizeLink(g.backBtn.url);null!=l&&d(mxUtils.bind(this,function(ca){window.location.href=-l;mxEvent.consume(ca)}),Editor.backImage,mxResources.get("back",null,"Back"))}if(this.isPagesEnabled()){var r=d(mxUtils.bind(this,function(ca){this.actions.get("previousPage").funct();mxEvent.consume(ca)}),Editor.chevronLeftImage,mxResources.get("previousPage")),k=document.createElement("div");k.style.fontFamily=Editor.defaultHtmlFont;k.style.display="inline-block";k.style.verticalAlign="top";k.style.fontWeight="bold";k.style.marginTop="8px";k.style.fontSize="14px";k.style.cursor="default";k.style.color=+l;mxEvent.consume(ca)}),Editor.backImage,mxResources.get("back",null,"Back"))}if(this.isPagesEnabled()){var q=d(mxUtils.bind(this,function(ca){this.actions.get("previousPage").funct();mxEvent.consume(ca)}),Editor.chevronLeftImage,mxResources.get("previousPage")),k=document.createElement("div");k.style.fontFamily=Editor.defaultHtmlFont;k.style.display="inline-block";k.style.verticalAlign="top";k.style.fontWeight="bold";k.style.marginTop="8px";k.style.fontSize="14px";k.style.cursor="default";k.style.color=mxClient.IS_IE||mxClient.IS_IE11?"#000000":"#ffffff";this.chromelessToolbar.appendChild(k);var u=d(mxUtils.bind(this,function(ca){this.actions.get("nextPage").funct();mxEvent.consume(ca)}),Editor.chevronRightImage,mxResources.get("nextPage")),w=mxUtils.bind(this,function(){if(null!=this.pages&&1<this.pages.length&&null!=this.currentPage){k.innerText="";var ca=mxUtils.indexOf(this.pages,this.currentPage);mxUtils.write(k,ca+1+" / "+this.pages.length);k.setAttribute("title",mxResources.get("currentPage")+-": "+this.currentPage.getName());r.setAttribute("title",mxResources.get("previousPage")+": "+this.pages[mxUtils.mod(ca-1,this.pages.length)].getName());u.setAttribute("title",mxResources.get("nextPage")+": "+this.pages[mxUtils.mod(ca+1,this.pages.length)].getName())}});r.style.paddingLeft="0px";r.style.paddingRight="4px";u.style.paddingLeft="4px";u.style.paddingRight="0px";var y=mxUtils.bind(this,function(){null!=this.pages&&1<this.pages.length&&null!=this.currentPage?(u.style.display="",r.style.display=-"",k.style.display="inline-block"):(u.style.display="none",r.style.display="none",k.style.display="none");w()});if(null!=this.menus){var A=this.menus.get("pages");null!=A&&mxEvent.addListener(k,"click",mxUtils.bind(this,function(ca){var la=new mxPopupMenu(A.funct);la.smartSeparators=!0;la.showDisabled=!0;la.autoExpand=!0;la.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(la,arguments);la.destroy()});var ia=mxUtils.getOffset(k);la.popup(ia.x,ia.y+k.offsetHeight,null,ca);+": "+this.currentPage.getName());q.setAttribute("title",mxResources.get("previousPage")+": "+this.pages[mxUtils.mod(ca-1,this.pages.length)].getName());u.setAttribute("title",mxResources.get("nextPage")+": "+this.pages[mxUtils.mod(ca+1,this.pages.length)].getName())}});q.style.paddingLeft="0px";q.style.paddingRight="4px";u.style.paddingLeft="4px";u.style.paddingRight="0px";var y=mxUtils.bind(this,function(){null!=this.pages&&1<this.pages.length&&null!=this.currentPage?(u.style.display="",q.style.display=+"",k.style.display="inline-block"):(u.style.display="none",q.style.display="none",k.style.display="none");w()});if(null!=this.menus){var A=this.menus.get("pages");null!=A&&mxEvent.addListener(k,"click",mxUtils.bind(this,function(ca){var la=new mxPopupMenu(A.funct);la.smartSeparators=!0;la.showDisabled=!0;la.autoExpand=!0;la.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(la,arguments);la.destroy()});var ia=mxUtils.getOffset(k);la.popup(ia.x,ia.y+k.offsetHeight,null,ca);mxEvent.addListener(la.div,"mouseleave",mxUtils.bind(this,function(){la.hideMenu()}))}))}this.editor.addListener("resetGraphView",y);this.editor.addListener("pageSelected",w)}d(mxUtils.bind(this,function(ca){this.actions.get("zoomOut").funct();mxEvent.consume(ca)}),Editor.zoomOutImage,mxResources.get("zoomOut")+" (Alt+Mousewheel)");d(mxUtils.bind(this,function(ca){this.actions.get("zoomIn").funct();mxEvent.consume(ca)}),Editor.zoomInImage,mxResources.get("zoomIn")+" (Alt+Mousewheel)");d(mxUtils.bind(this,-function(ca){a.isLightboxView()?(1==a.view.scale?this.lightboxFit():a.zoomTo(1),this.chromelessResize(!1)):this.chromelessResize(!0);mxEvent.consume(ca)}),Editor.zoomFitImage,mxResources.get("fit"));var G=null,D=null,F=mxUtils.bind(this,function(ca){null!=G&&(window.clearTimeout(G),G=null);null!=D&&(window.clearTimeout(D),D=null);G=window.setTimeout(mxUtils.bind(this,function(){mxUtils.setOpacity(this.chromelessToolbar,0);G=null;D=window.setTimeout(mxUtils.bind(this,function(){this.chromelessToolbar.style.display=-"none";D=null}),600)}),ca||200)}),H=mxUtils.bind(this,function(ca){null!=G&&(window.clearTimeout(G),G=null);null!=D&&(window.clearTimeout(D),D=null);this.chromelessToolbar.style.display="";mxUtils.setOpacity(this.chromelessToolbar,ca||30)});if("1"==urlParams.layers){this.layersDialog=null;var M=d(mxUtils.bind(this,function(ca){if(null!=this.layersDialog)this.layersDialog.parentNode.removeChild(this.layersDialog),this.layersDialog=null;else{this.layersDialog=a.createLayersDialog(mxUtils.bind(this,+function(ca){a.isLightboxView()?(1==a.view.scale?this.lightboxFit():a.zoomTo(1),this.chromelessResize(!1)):this.chromelessResize(!0);mxEvent.consume(ca)}),Editor.zoomFitImage,mxResources.get("fit"));var F=null,D=null,G=mxUtils.bind(this,function(ca){null!=F&&(window.clearTimeout(F),F=null);null!=D&&(window.clearTimeout(D),D=null);F=window.setTimeout(mxUtils.bind(this,function(){mxUtils.setOpacity(this.chromelessToolbar,0);F=null;D=window.setTimeout(mxUtils.bind(this,function(){this.chromelessToolbar.style.display=+"none";D=null}),600)}),ca||200)}),H=mxUtils.bind(this,function(ca){null!=F&&(window.clearTimeout(F),F=null);null!=D&&(window.clearTimeout(D),D=null);this.chromelessToolbar.style.display="";mxUtils.setOpacity(this.chromelessToolbar,ca||30)});if("1"==urlParams.layers){this.layersDialog=null;var M=d(mxUtils.bind(this,function(ca){if(null!=this.layersDialog)this.layersDialog.parentNode.removeChild(this.layersDialog),this.layersDialog=null;else{this.layersDialog=a.createLayersDialog(mxUtils.bind(this,function(){this.chromelessResize&&this.chromelessResize()}),!0);mxEvent.addListener(this.layersDialog,"mouseleave",mxUtils.bind(this,function(){this.layersDialog.parentNode.removeChild(this.layersDialog);this.layersDialog=null}));var la=M.getBoundingClientRect();mxUtils.setPrefixedStyle(this.layersDialog.style,"borderRadius","5px");this.layersDialog.style.position="fixed";this.layersDialog.style.fontFamily=Editor.defaultHtmlFont;this.layersDialog.style.width="160px";this.layersDialog.style.padding="4px 2px 4px 2px";this.layersDialog.style.left=la.left+"px";this.layersDialog.style.bottom=parseInt(this.chromelessToolbar.style.bottom)+this.chromelessToolbar.offsetHeight+4+"px";mxClient.IS_IE||mxClient.IS_IE11?(this.layersDialog.style.backgroundColor="#ffffff",this.layersDialog.style.border="2px solid black",this.layersDialog.style.color="#000000"):(this.layersDialog.style.backgroundColor="#000000",this.layersDialog.style.color="#ffffff",mxUtils.setOpacity(this.layersDialog,80));la=mxUtils.getCurrentStyle(this.editor.graph.container);this.layersDialog.style.zIndex=la.zIndex;document.body.appendChild(this.layersDialog);this.editor.fireEvent(new mxEventObject("layersDialogShown"))}mxEvent.consume(ca)}),Editor.layersImage,mxResources.get("layers")),N=a.getModel();N.addListener(mxEvent.CHANGE,function(){M.style.display=1<N.getChildCount(N.root)?"":"none"})}("1"!=urlParams.openInSameWin||navigator.standalone)&&this.addChromelessToolbarItems(d);null==this.editor.editButtonLink&&null==this.editor.editButtonFunc||d(mxUtils.bind(this,function(ca){if(null!=this.editor.editButtonFunc)this.editor.editButtonFunc();else if("_blank"==this.editor.editButtonLink){var la=null!=this.currentPage?this.currentPage.getId():null;this.editor.editAsNew(this.getEditBlankXml(),null,null,la)}else a.openLink(this.editor.editButtonLink,"editWindow");mxEvent.consume(ca)}),Editor.editImage,mxResources.get("edit"));if(null!=this.lightboxToolbarActions)for(y=0;y<this.lightboxToolbarActions.length;y++){var K=this.lightboxToolbarActions[y];K.elem=d(K.fn,K.icon,K.tooltip)}if(null!=g.refreshBtn){var T=null==g.refreshBtn.url?null:Graph.sanitizeLink(g.refreshBtn.url);d(mxUtils.bind(this,function(ca){null!=T?window.location.href=T:window.location.reload();mxEvent.consume(ca)}),Editor.refreshImage,mxResources.get("refresh",null,"Refresh"))}null!=g.fullscreenBtn&&window.self!==window.top&&d(mxUtils.bind(this,function(ca){g.fullscreenBtn.url?a.openLink(g.fullscreenBtn.url):a.openLink(window.location.href);mxEvent.consume(ca)}),Editor.fullscreenImage,mxResources.get("openInNewWindow",null,"Open in New Window"));!g.noCloseBtn&&(g.closeBtn&&window.self===window.top||a.lightbox&&("1"==urlParams.close||this.container!=document.body))&&d(mxUtils.bind(this,function(ca){"1"==urlParams.close||g.closeBtn?window.close():(this.destroy(),mxEvent.consume(ca))}),Editor.closeImage,mxResources.get("close")+" (Escape)");this.chromelessToolbar.style.display="none";a.isViewer()||mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"transform","translate(-50%,0)");a.container.appendChild(this.chromelessToolbar);-mxEvent.addListener(a.container,mxClient.IS_POINTER?"pointermove":"mousemove",mxUtils.bind(this,function(ca){mxEvent.isTouchEvent(ca)||(mxEvent.isShiftDown(ca)||H(30),F())}));mxEvent.addListener(this.chromelessToolbar,mxClient.IS_POINTER?"pointermove":"mousemove",function(ca){mxEvent.consume(ca)});mxEvent.addListener(this.chromelessToolbar,"mouseenter",mxUtils.bind(this,function(ca){a.tooltipHandler.resetTimer();a.tooltipHandler.hideTooltip();mxEvent.isShiftDown(ca)?F():H(100)}));mxEvent.addListener(this.chromelessToolbar,-"mousemove",mxUtils.bind(this,function(ca){mxEvent.isShiftDown(ca)?F():H(100);mxEvent.consume(ca)}));mxEvent.addListener(this.chromelessToolbar,"mouseleave",mxUtils.bind(this,function(ca){mxEvent.isTouchEvent(ca)||H(30)}));var W=a.getTolerance();a.addMouseListener({startX:0,startY:0,scrollLeft:0,scrollTop:0,mouseDown:function(ca,la){this.startX=la.getGraphX();this.startY=la.getGraphY();this.scrollLeft=a.container.scrollLeft;this.scrollTop=a.container.scrollTop},mouseMove:function(ca,la){},mouseUp:function(ca,-la){mxEvent.isTouchEvent(la.getEvent())&&Math.abs(this.scrollLeft-a.container.scrollLeft)<W&&Math.abs(this.scrollTop-a.container.scrollTop)<W&&Math.abs(this.startX-la.getGraphX())<W&&Math.abs(this.startY-la.getGraphY())<W&&(0<parseFloat(e.chromelessToolbar.style.opacity||0)?F():H(30))}})}this.editor.editable||this.addChromelessClickHandler()}else if(this.editor.extendCanvas){var S=a.view.validate,V=new mxPoint,fa=!1,P=null;a.view.validate=function(){if(null!=a.container&&mxUtils.hasScrollbars(a.container)){if(null!=+mxEvent.addListener(a.container,mxClient.IS_POINTER?"pointermove":"mousemove",mxUtils.bind(this,function(ca){mxEvent.isTouchEvent(ca)||(mxEvent.isShiftDown(ca)||H(30),G())}));mxEvent.addListener(this.chromelessToolbar,mxClient.IS_POINTER?"pointermove":"mousemove",function(ca){mxEvent.consume(ca)});mxEvent.addListener(this.chromelessToolbar,"mouseenter",mxUtils.bind(this,function(ca){a.tooltipHandler.resetTimer();a.tooltipHandler.hideTooltip();mxEvent.isShiftDown(ca)?G():H(100)}));mxEvent.addListener(this.chromelessToolbar,+"mousemove",mxUtils.bind(this,function(ca){mxEvent.isShiftDown(ca)?G():H(100);mxEvent.consume(ca)}));mxEvent.addListener(this.chromelessToolbar,"mouseleave",mxUtils.bind(this,function(ca){mxEvent.isTouchEvent(ca)||H(30)}));var W=a.getTolerance();a.addMouseListener({startX:0,startY:0,scrollLeft:0,scrollTop:0,mouseDown:function(ca,la){this.startX=la.getGraphX();this.startY=la.getGraphY();this.scrollLeft=a.container.scrollLeft;this.scrollTop=a.container.scrollTop},mouseMove:function(ca,la){},mouseUp:function(ca,+la){mxEvent.isTouchEvent(la.getEvent())&&Math.abs(this.scrollLeft-a.container.scrollLeft)<W&&Math.abs(this.scrollTop-a.container.scrollTop)<W&&Math.abs(this.startX-la.getGraphX())<W&&Math.abs(this.startY-la.getGraphY())<W&&(0<parseFloat(e.chromelessToolbar.style.opacity||0)?G():H(30))}})}this.editor.editable||this.addChromelessClickHandler()}else if(this.editor.extendCanvas){var S=a.view.validate,V=new mxPoint,fa=!1,P=null;a.view.validate=function(){if(null!=a.container&&mxUtils.hasScrollbars(a.container)){if(null!=e.currentPage&&P!=e.currentPage){P=e.currentPage;fa=!0;var ca=a.getBoundingBoxFromGeometry(a.model.getCells(),!0,null,!0);null==ca&&(ca=new mxRectangle(a.view.translate.x*a.view.scale,a.view.translate.y*a.view.scale));ca=a.getPageLayout(ca,V,1);var la=a.getDefaultTranslate(ca);this.x0=ca.x;this.y0=ca.y;if(la.x!=this.translate.x||la.y!=this.translate.y)this.invalidate(),this.translate.x=la.x,this.translate.y=la.y}la=a.getPagePadding();var ia=a.getPageSize();ca=la.x-(this.x0||0)*ia.width;la=la.y-(this.y0||0)*ia.height;if(this.translate.x!=ca||this.translate.y!=la)this.invalidate(),this.translate.x=ca,this.translate.y=la}S.apply(this,arguments)};if(!a.isViewer()){var Z=a.sizeDidChange;a.sizeDidChange=function(){var ca=fa;fa=!1;if(null!=this.container&&mxUtils.hasScrollbars(this.container)){this.updateMinimumSize();if(!this.autoTranslate){var la=this.getPageLayout(),ia=this.getDefaultTranslate(la),O=this.view.translate.x,qa=this.view.translate.y;if(ia.x!=O||ia.y!=qa){this.view.x0=la.x;this.view.y0=la.y;this.autoTranslate=!0;this.view.setTranslate(ia.x,ia.y);this.autoTranslate=!1;ca||(this.container.scrollLeft+=Math.round((ia.x-O)*this.view.scale),this.container.scrollTop+=Math.round((ia.y-qa)*this.view.scale));return}}Z.apply(this,arguments)}else this.fireEvent(new mxEventObject(mxEvent.SIZE,"bounds",this.getGraphBounds()))}}}var X=a.view.getBackgroundPane(),ba=a.view.getDrawPane();a.cumulativeZoomFactor=1;var L=null,U=null,aa=null,ha=null,ma=null,oa=function(ca){null!=L&&window.clearTimeout(L);@@ -2248,7 +2248,7 @@ e.width-b.clientWidth,e.x-10)),e.y>b.scrollTop+.9*b.clientHeight&&(b.scrollTop=MEditorUi.prototype.setPageVisible=function(a){var b=this.editor.graph,e=mxUtils.hasScrollbars(b.container),f=0,g=0;e&&(f=b.view.translate.x*b.view.scale-b.container.scrollLeft,g=b.view.translate.y*b.view.scale-b.container.scrollTop);b.pageVisible=a;b.pageBreaksVisible=a;b.preferPageSize=a;b.view.validateBackground();if(e){var d=b.getSelectionCells();b.clearSelection();b.setSelectionCells(d)}b.sizeDidChange();e&&(b.container.scrollLeft=b.view.translate.x*b.view.scale-f,b.container.scrollTop=b.view.translate.y*b.view.scale-g);b.defaultPageVisible=a;this.fireEvent(new mxEventObject("pageViewChanged"))};EditorUi.prototype.installResizeHandler=function(a,b,e){b&&(a.window.setSize=function(g,d){if(!this.minimized){var h=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight;g=Math.min(g,(window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth)-this.getX());d=Math.min(d,h-this.getY())}mxWindow.prototype.setSize.apply(this,arguments)});a.window.setLocation=function(g,d){var h=window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth,-l=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight,r=parseInt(this.div.style.width),k=parseInt(this.div.style.height);g=Math.max(0,Math.min(g,h-r));d=Math.max(0,Math.min(d,l-k));this.getX()==g&&this.getY()==d||mxWindow.prototype.setLocation.apply(this,arguments);b&&!this.minimized&&this.setSize(r,k)};var f=mxUtils.bind(this,function(){var g=a.window.getX(),d=a.window.getY();a.window.setLocation(g,d)});mxEvent.addListener(window,"resize",f);a.destroy=function(){mxEvent.removeListener(window,+l=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight,q=parseInt(this.div.style.width),k=parseInt(this.div.style.height);g=Math.max(0,Math.min(g,h-q));d=Math.max(0,Math.min(d,l-k));this.getX()==g&&this.getY()==d||mxWindow.prototype.setLocation.apply(this,arguments);b&&!this.minimized&&this.setSize(q,k)};var f=mxUtils.bind(this,function(){var g=a.window.getX(),d=a.window.getY();a.window.setLocation(g,d)});mxEvent.addListener(window,"resize",f);a.destroy=function(){mxEvent.removeListener(window,"resize",f);a.window.destroy();null!=e&&e()}};function ChangeGridColor(a,b){this.ui=a;this.color=b}ChangeGridColor.prototype.execute=function(){var a=this.ui.editor.graph.view.gridColor;this.ui.setGridColor(this.color);this.color=a};function ChangePageSetup(a,b,e,f,g){this.ui=a;this.previousColor=this.color=b;this.previousImage=this.image=e;this.previousFormat=this.format=f;this.previousPageScale=this.pageScale=g;this.ignoreImage=this.ignoreColor=!1}ChangePageSetup.prototype.execute=function(){var a=this.ui.editor.graph;if(!this.ignoreColor){this.color=this.previousColor;var b=a.background;this.ui.setBackgroundColor(this.previousColor);this.previousColor=b}if(!this.ignoreImage){this.image=this.previousImage;b=a.backgroundImage;var e=this.previousImage;null!=e&&Graph.isPageLink(e.src)&&(e=this.ui.createImageForPageLink(e.src,this.ui.currentPage));this.ui.setBackgroundImage(e);this.previousImage=b}null!=this.previousFormat&&(this.format=this.previousFormat,b=a.pageFormat,this.previousFormat.width!=b.width||this.previousFormat.height!=b.height)&&(this.ui.setPageFormat(this.previousFormat),this.previousFormat=b);null!=this.foldingEnabled&&this.foldingEnabled!=this.ui.editor.graph.foldingEnabled&&(this.ui.setFoldingEnabled(this.foldingEnabled),this.foldingEnabled=!this.foldingEnabled);null!=this.previousPageScale&&(a=this.ui.editor.graph.pageScale,this.previousPageScale!=a&&(this.ui.setPageScale(this.previousPageScale),this.previousPageScale=a))};@@ -2277,17 +2277,17 @@ EditorUi.prototype.setStatusText=function(a){this.statusContainer.innerHTML=Grap"transition","all 0.2s ease");window.setTimeout(mxUtils.bind(this,function(){mxUtils.setOpacity(e,100);mxUtils.setPrefixedStyle(e.style,"transform","scaleX(1)");mxUtils.setPrefixedStyle(e.style,"transition","all 1s ease");window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(e.style,"transform","scaleX(0)");mxUtils.setOpacity(e,0);window.setTimeout(mxUtils.bind(this,function(){null!=e.parentNode&&e.parentNode.removeChild(e)}),1E3)}),Editor.updateStatusInterval/2)}),0)})(a[b])};EditorUi.prototype.clearStatus=function(){this.updateStatus(mxUtils.bind(this,function(){this.editor.setStatus("")}))};EditorUi.prototype.updateStatus=function(a){null!=a&&a();this.lastStatusUpdate=a};EditorUi.prototype.updateStatusAgain=function(){null!=this.lastStatusUpdate&&this.lastStatusUpdate()};EditorUi.prototype.createStatusDiv=function(a){var b=document.createElement("div");b.className="geStatusDiv";b.setAttribute("title",a);b.innerText=a;return b};EditorUi.prototype.createToolbar=function(a){return new Toolbar(this,a)};EditorUi.prototype.createSidebar=function(a){return new Sidebar(this,a)};EditorUi.prototype.createFormat=function(a){return new Format(this,a)};EditorUi.prototype.createDiv=function(a){var b=document.createElement("div");b.className=a;return b};-EditorUi.prototype.addSplitHandler=function(a,b,e,f){function g(w){if(null!=h){var y=new mxPoint(mxEvent.getClientX(w),mxEvent.getClientY(w));f(Math.max(0,l+(b?y.x-h.x:h.y-y.y)-e));mxEvent.consume(w);l!=u()&&(r=!0,k=null)}}function d(w){g(w);h=l=null}var h=null,l=null,r=!0,k=null;mxClient.IS_POINTER&&(a.style.touchAction="none");var u=mxUtils.bind(this,function(){var w=parseInt(b?a.offsetLeft:a.offsetTop);b||(w+=e);return w});mxEvent.addGestureListeners(a,function(w){h=new mxPoint(mxEvent.getClientX(w),-mxEvent.getClientY(w));l=u();r=!1;mxEvent.consume(w)});mxEvent.addListener(a,"click",mxUtils.bind(this,function(w){if(!r&&this.hsplitClickEnabled){var y=null!=k?k-e:0;k=u();f(y);mxEvent.consume(w)}}));mxEvent.addGestureListeners(document,null,g,d);this.destroyFunctions.push(function(){mxEvent.removeGestureListeners(document,null,g,d)})};+EditorUi.prototype.addSplitHandler=function(a,b,e,f){function g(w){if(null!=h){var y=new mxPoint(mxEvent.getClientX(w),mxEvent.getClientY(w));f(Math.max(0,l+(b?y.x-h.x:h.y-y.y)-e));mxEvent.consume(w);l!=u()&&(q=!0,k=null)}}function d(w){g(w);h=l=null}var h=null,l=null,q=!0,k=null;mxClient.IS_POINTER&&(a.style.touchAction="none");var u=mxUtils.bind(this,function(){var w=parseInt(b?a.offsetLeft:a.offsetTop);b||(w+=e);return w});mxEvent.addGestureListeners(a,function(w){h=new mxPoint(mxEvent.getClientX(w),+mxEvent.getClientY(w));l=u();q=!1;mxEvent.consume(w)});mxEvent.addListener(a,"click",mxUtils.bind(this,function(w){if(!q&&this.hsplitClickEnabled){var y=null!=k?k-e:0;k=u();f(y);mxEvent.consume(w)}}));mxEvent.addGestureListeners(document,null,g,d);this.destroyFunctions.push(function(){mxEvent.removeGestureListeners(document,null,g,d)})};EditorUi.prototype.prompt=function(a,b,e,f){a=new FilenameDialog(this,b,mxResources.get("apply"),function(g){e(f?g:parseFloat(g))},a);this.showDialog(a.container,300,80,!0,!0);a.init()};EditorUi.prototype.handleError=function(a,b,e,f,g){a=null!=a&&null!=a.error?a.error:a;if(null!=a||null!=b){g=mxUtils.htmlEntities(mxResources.get("unknownError"));var d=mxResources.get("ok");b=null!=b?b:mxResources.get("error");null!=a&&null!=a.message&&(g=mxUtils.htmlEntities(a.message));this.showError(b,g,d,e,null,null,null,null,null,null,null,null,f?e:null)}else null!=e&&e()};-EditorUi.prototype.showError=function(a,b,e,f,g,d,h,l,r,k,u,w,y){a=new ErrorDialog(this,a,b,e||mxResources.get("ok"),f,g,d,h,w,l,r);b=Math.ceil(null!=b?b.length/50:1);this.showDialog(a.container,k||340,u||100+20*b,!0,!1,y);a.init()};EditorUi.prototype.showDialog=function(a,b,e,f,g,d,h,l,r,k){this.editor.graph.tooltipHandler.resetTimer();this.editor.graph.tooltipHandler.hideTooltip();null==this.dialogs&&(this.dialogs=[]);this.dialog=new Dialog(this,a,b,e,f,g,d,h,l,r,k);this.dialogs.push(this.dialog)};+EditorUi.prototype.showError=function(a,b,e,f,g,d,h,l,q,k,u,w,y){a=new ErrorDialog(this,a,b,e||mxResources.get("ok"),f,g,d,h,w,l,q);b=Math.ceil(null!=b?b.length/50:1);this.showDialog(a.container,k||340,u||100+20*b,!0,!1,y);a.init()};EditorUi.prototype.showDialog=function(a,b,e,f,g,d,h,l,q,k){this.editor.graph.tooltipHandler.resetTimer();this.editor.graph.tooltipHandler.hideTooltip();null==this.dialogs&&(this.dialogs=[]);this.dialog=new Dialog(this,a,b,e,f,g,d,h,l,q,k);this.dialogs.push(this.dialog)};EditorUi.prototype.hideDialog=function(a,b,e){var f=null;if(null!=this.dialogs&&0<this.dialogs.length)for(var g=this.dialogs.length-1;0<=g;g--)if(!this.dialogs[g].closing){f=this.dialogs[g];break}null==f||null!=e&&e!=this.dialog.container.firstChild||(f.closing=!0,0==f.close(a,b)?delete f.closing:(delete f.closing,a=mxUtils.lastIndexOf(this.dialogs,f),0<=a&&this.dialogs.splice(a,1),this.dialog=0<this.dialogs.length?this.dialogs[this.dialogs.length-1]:null,this.editor.fireEvent(new mxEventObject("hideDialog","dialog",f)),null==this.dialog&&null!=this.editor.graph.container&&"hidden"!=this.editor.graph.container.style.visibility&&window.setTimeout(mxUtils.bind(this,function(){null==this.editor||null!=this.dialogs&&0!=this.dialogs.length||(this.editor.graph.isEditing()&&null!=this.editor.graph.cellEditor.textarea?this.editor.graph.cellEditor.textarea.focus():(mxUtils.clearSelection(),this.editor.graph.container.focus()))}),0)))};EditorUi.prototype.ctrlEnter=function(){var a=this.editor.graph;if(a.isEnabled())try{for(var b=a.getSelectionCells(),e=new mxDictionary,f=[],g=0;g<b.length;g++){var d=a.isTableCell(b[g])?a.model.getParent(b[g]):b[g];null==d||e.get(d)||(e.put(d,!0),f.push(d))}a.setSelectionCells(a.duplicateCells(f,!1))}catch(h){this.handleError(h)}};-EditorUi.prototype.pickColor=function(a,b,e,f,g){var d=this.editor.graph,h=d.cellEditor.saveSelection(),l=(g?240:290)+17*(Math.ceil(ColorDialog.prototype.presetColors.length/12)+Math.ceil(ColorDialog.prototype.defaultColors.length/12));a=new ColorDialog(this,a,function(r){d.cellEditor.restoreSelection(h);b(r)},function(){d.cellEditor.restoreSelection(h)},e,f,g);this.showDialog(a.container,230,l,!0,!1);a.init()};+EditorUi.prototype.pickColor=function(a,b,e,f,g){var d=this.editor.graph,h=d.cellEditor.saveSelection(),l=(g?240:290)+17*(Math.ceil(ColorDialog.prototype.presetColors.length/12)+Math.ceil(ColorDialog.prototype.defaultColors.length/12));a=new ColorDialog(this,a,function(q){d.cellEditor.restoreSelection(h);b(q)},function(){d.cellEditor.restoreSelection(h)},e,f,g);this.showDialog(a.container,230,l,!0,!1);a.init()};EditorUi.prototype.openFile=function(){window.openFile=new OpenFile(mxUtils.bind(this,function(a){this.hideDialog(a)}));this.showDialog((new OpenDialog(this)).container,Editor.useLocalStorage?640:320,Editor.useLocalStorage?480:220,!0,!0,function(){window.openFile=null})};-EditorUi.prototype.base64ToBlob=function(a,b){b=b||"";a=atob(a);for(var e=a.length,f=Math.ceil(e/1024),g=Array(f),d=0;d<f;++d){for(var h=1024*d,l=Math.min(h+1024,e),r=Array(l-h),k=0;h<l;++k,++h)r[k]=a[h].charCodeAt(0);g[d]=new Uint8Array(r)}return new Blob(g,{type:b})};+EditorUi.prototype.base64ToBlob=function(a,b){b=b||"";a=atob(a);for(var e=a.length,f=Math.ceil(e/1024),g=Array(f),d=0;d<f;++d){for(var h=1024*d,l=Math.min(h+1024,e),q=Array(l-h),k=0;h<l;++k,++h)q[k]=a[h].charCodeAt(0);g[d]=new Uint8Array(q)}return new Blob(g,{type:b})};EditorUi.prototype.extractGraphModelFromHtml=function(a){var b=null;try{var e=a.indexOf("<mxGraphModel ");if(0<=e){var f=a.lastIndexOf("</mxGraphModel>");f>e&&(b=a.substring(e,f+21).replace(/>/g,">").replace(/</g,"<").replace(/\\"/g,'"').replace(/\n/g,""))}}catch(g){}return b};EditorUi.prototype.extractGraphModelFromEvent=function(a){var b=null,e=null;null!=a&&(a=null!=a.dataTransfer?a.dataTransfer:a.clipboardData,null!=a&&(e=0<=mxUtils.indexOf(a.types,"text/html")?a.getData("text/html"):null,0<=mxUtils.indexOf(a.types,"text/plain")&&(null==e||0==e.length)&&(e=a.getData("text/plain")),null!=e&&(e=Graph.zapGremlins(mxUtils.trim(e)),a=this.extractGraphModelFromHtml(e),null!=a&&(e=a))));null!=e&&this.isCompatibleString(e)&&(b=e);return b};EditorUi.prototype.isCompatibleString=function(a){return!1};EditorUi.prototype.saveFile=function(a){a||null==this.editor.filename?(a=new FilenameDialog(this,this.editor.getOrCreateFilename(),mxResources.get("save"),mxUtils.bind(this,function(b){this.save(b)}),null,mxUtils.bind(this,function(b){if(null!=b&&0<b.length)return!0;mxUtils.confirm(mxResources.get("invalidName"));return!1})),this.showDialog(a.container,340,96,!0,!0),a.init()):this.save(this.editor.getOrCreateFilename())};@@ -2300,28 +2300,28 @@ EditorUi.prototype.showDataDialog=function(a){null!=a&&"undefined"!==typeof windEditorUi.prototype.showBackgroundImageDialog=function(a,b){a=null!=a?a:mxUtils.bind(this,function(f){f=new ChangePageSetup(this,null,f);f.ignoreColor=!0;this.editor.graph.model.execute(f)});var e=mxUtils.prompt(mxResources.get("backgroundImage"),null!=b?b.src:"");null!=e&&0<e.length?(b=new Image,b.onload=function(){a(new mxImage(e,b.width,b.height),!1)},b.onerror=function(){a(null,!0);mxUtils.alert(mxResources.get("fileNotFound"))},b.src=e):a(null)};EditorUi.prototype.setBackgroundImage=function(a){this.editor.graph.setBackgroundImage(a);this.editor.graph.view.validateBackgroundImage();this.fireEvent(new mxEventObject("backgroundImageChanged"))};EditorUi.prototype.confirm=function(a,b,e){mxUtils.confirm(a)?null!=b&&b():null!=e&&e()};EditorUi.prototype.createOutline=function(a){var b=new mxOutline(this.editor.graph);mxEvent.addListener(window,"resize",function(){b.update(!1)});return b};EditorUi.prototype.altShiftActions={65:"connectionArrows",82:"clearWaypoints",76:"editLink",79:"connectionPoints",81:"editConnectionPoints",84:"editTooltip",86:"pasteSize",70:"copySize",66:"copyData",69:"pasteData"};EditorUi.prototype.ctrlAltShiftActions={70:"bringForward",66:"sendBackward",88:"copyAsSvg"};EditorUi.prototype.ctrlAltActions={88:"copyAsImage"};-EditorUi.prototype.createKeyHandler=function(a){function b(w,y,A){if(!f.isSelectionEmpty()&&f.isEnabled()){y=null!=y?y:1;var G=f.getCompositeParents(f.getSelectionCells()),D=0<G.length?G[0]:null;if(null!=D)if(A){f.getModel().beginUpdate();try{for(D=0;D<G.length;D++)if(f.getModel().isVertex(G[D])&&f.isCellResizable(G[D])){var F=f.getCellGeometry(G[D]);null!=F&&(F=F.clone(),37==w?F.width=Math.max(0,F.width-y):38==w?F.height=Math.max(0,F.height-y):39==w?F.width+=y:40==w&&(F.height+=y),f.getModel().setGeometry(G[D],-F))}}finally{f.getModel().endUpdate()}}else{F=f.model.getParent(D);var H=f.getView().scale;A=null;1==f.getSelectionCount()&&f.model.isVertex(D)&&null!=f.layoutManager&&!f.isCellLocked(D)&&(A=f.layoutManager.getLayout(F));if(null!=A&&A.constructor==mxStackLayout)y=F.getIndex(D),37==w||38==w?f.model.add(F,D,Math.max(0,y-1)):(39==w||40==w)&&f.model.add(F,D,Math.min(f.model.getChildCount(F),y+1));else{var M=f.graphHandler;null!=M&&(null==M.first&&M.start(D,0,0,f.getMovableCells(G)),null!=M.first&&(D=-G=0,37==w?G=-y:38==w?D=-y:39==w?G=y:40==w&&(D=y),M.currentDx+=G*H,M.currentDy+=D*H,M.checkPreview(),M.updatePreview()),null!=h&&window.clearTimeout(h),h=window.setTimeout(function(){if(null!=M.first){var N=M.roundLength(M.currentDx/H),K=M.roundLength(M.currentDy/H);M.moveCells(M.cells,N,K);M.reset()}},400))}}}}var e=this,f=this.editor.graph,g=new mxKeyHandler(f),d=g.isEventIgnored;g.isEventIgnored=function(w){return!(mxEvent.isShiftDown(w)&&9==w.keyCode)&&(!this.isControlDown(w)||mxEvent.isShiftDown(w)||+EditorUi.prototype.createKeyHandler=function(a){function b(w,y,A){if(!f.isSelectionEmpty()&&f.isEnabled()){y=null!=y?y:1;var F=f.getCompositeParents(f.getSelectionCells()),D=0<F.length?F[0]:null;if(null!=D)if(A){f.getModel().beginUpdate();try{for(D=0;D<F.length;D++)if(f.getModel().isVertex(F[D])&&f.isCellResizable(F[D])){var G=f.getCellGeometry(F[D]);null!=G&&(G=G.clone(),37==w?G.width=Math.max(0,G.width-y):38==w?G.height=Math.max(0,G.height-y):39==w?G.width+=y:40==w&&(G.height+=y),f.getModel().setGeometry(F[D],+G))}}finally{f.getModel().endUpdate()}}else{G=f.model.getParent(D);var H=f.getView().scale;A=null;1==f.getSelectionCount()&&f.model.isVertex(D)&&null!=f.layoutManager&&!f.isCellLocked(D)&&(A=f.layoutManager.getLayout(G));if(null!=A&&A.constructor==mxStackLayout)y=G.getIndex(D),37==w||38==w?f.model.add(G,D,Math.max(0,y-1)):(39==w||40==w)&&f.model.add(G,D,Math.min(f.model.getChildCount(G),y+1));else{var M=f.graphHandler;null!=M&&(null==M.first&&M.start(D,0,0,f.getMovableCells(F)),null!=M.first&&(D=+F=0,37==w?F=-y:38==w?D=-y:39==w?F=y:40==w&&(D=y),M.currentDx+=F*H,M.currentDy+=D*H,M.checkPreview(),M.updatePreview()),null!=h&&window.clearTimeout(h),h=window.setTimeout(function(){if(null!=M.first){var N=M.roundLength(M.currentDx/H),K=M.roundLength(M.currentDy/H);M.moveCells(M.cells,N,K);M.reset()}},400))}}}}var e=this,f=this.editor.graph,g=new mxKeyHandler(f),d=g.isEventIgnored;g.isEventIgnored=function(w){return!(mxEvent.isShiftDown(w)&&9==w.keyCode)&&(!this.isControlDown(w)||mxEvent.isShiftDown(w)||90!=w.keyCode&&89!=w.keyCode&&188!=w.keyCode&&190!=w.keyCode&&85!=w.keyCode&&83!=w.keyCode)&&(66!=w.keyCode&&73!=w.keyCode||!this.isControlDown(w)||this.graph.cellEditor.isContentEditing()&&!mxClient.IS_FF&&!mxClient.IS_SF)&&(109!=w.keyCode&&107!=w.keyCode||!this.isControlDown(w)&&!mxEvent.isShiftDown(w)||!this.graph.cellEditor.isContentEditing()&&!mxClient.IS_FF&&!mxClient.IS_SF)&&d.apply(this,arguments)};g.isEnabledForEvent=function(w){return!mxEvent.isConsumed(w)&&this.isGraphEvent(w)&&this.isEnabled()&&-(null==e.dialogs||0==e.dialogs.length)};g.isControlDown=function(w){return mxEvent.isControlDown(w)||mxClient.IS_MAC&&w.metaKey};var h=null,l={37:mxConstants.DIRECTION_WEST,38:mxConstants.DIRECTION_NORTH,39:mxConstants.DIRECTION_EAST,40:mxConstants.DIRECTION_SOUTH},r=g.getFunction;mxKeyHandler.prototype.getFunction=function(w){if(f.isEnabled()){var y=null;mxEvent.isShiftDown(w)&&this.isControlDown(w)&&mxEvent.isAltDown(w)?y=e.actions.get(e.ctrlAltShiftActions[w.keyCode]):mxEvent.isShiftDown(w)&&mxEvent.isAltDown(w)?+(null==e.dialogs||0==e.dialogs.length)};g.isControlDown=function(w){return mxEvent.isControlDown(w)||mxClient.IS_MAC&&w.metaKey};var h=null,l={37:mxConstants.DIRECTION_WEST,38:mxConstants.DIRECTION_NORTH,39:mxConstants.DIRECTION_EAST,40:mxConstants.DIRECTION_SOUTH},q=g.getFunction;mxKeyHandler.prototype.getFunction=function(w){if(f.isEnabled()){var y=null;mxEvent.isShiftDown(w)&&this.isControlDown(w)&&mxEvent.isAltDown(w)?y=e.actions.get(e.ctrlAltShiftActions[w.keyCode]):mxEvent.isShiftDown(w)&&mxEvent.isAltDown(w)?y=e.actions.get(e.altShiftActions[w.keyCode]):this.isControlDown(w)&&mxEvent.isAltDown(w)&&(y=e.actions.get(e.ctrlAltActions[w.keyCode]));if(null!=y)return y.funct;if("/"==w.key&&!this.isControlDown(w)&&!mxEvent.isAltDown(w))return function(){var A=document.getElementById("geOmniSearch");null!=A&&30<A.clientWidth&&A.focus()};if(null!=l[w.keyCode]&&!f.isSelectionEmpty())if(!this.isControlDown(w)&&mxEvent.isShiftDown(w)&&mxEvent.isAltDown(w)){if(f.model.isVertex(f.getSelectionCell()))return function(){var A=-f.connectVertex(f.getSelectionCell(),l[w.keyCode],f.defaultEdgeLength,w,!0);null!=A&&0<A.length&&(1==A.length&&f.model.isEdge(A[0])?f.setSelectionCell(f.model.getTerminal(A[0],!1)):f.setSelectionCell(A[A.length-1]),f.scrollCellToVisible(f.getSelectionCell()),null!=e.hoverIcons&&e.hoverIcons.update(f.view.getState(f.getSelectionCell())))}}else return this.isControlDown(w)?function(){b(w.keyCode,mxEvent.isShiftDown(w)?f.gridSize:null,!0)}:function(){b(w.keyCode,mxEvent.isShiftDown(w)?f.gridSize:null)}}return r.apply(this,-arguments)};g.bindAction=mxUtils.bind(this,function(w,y,A,G){var D=this.actions.get(A);null!=D&&(A=function(){D.isEnabled()&&D.funct.apply(this,arguments)},y?G?g.bindControlShiftKey(w,A):g.bindControlKey(w,A):G?g.bindShiftKey(w,A):g.bindKey(w,A))});var k=this,u=g.escape;g.escape=function(w){u.apply(this,arguments)};g.enter=function(){};g.bindControlShiftKey(36,function(){f.exitGroup()});g.bindControlShiftKey(35,function(){f.enterGroup()});g.bindShiftKey(36,function(){f.home()});g.bindKey(35,function(){f.refresh()});+f.connectVertex(f.getSelectionCell(),l[w.keyCode],f.defaultEdgeLength,w,!0);null!=A&&0<A.length&&(1==A.length&&f.model.isEdge(A[0])?f.setSelectionCell(f.model.getTerminal(A[0],!1)):f.setSelectionCell(A[A.length-1]),f.scrollCellToVisible(f.getSelectionCell()),null!=e.hoverIcons&&e.hoverIcons.update(f.view.getState(f.getSelectionCell())))}}else return this.isControlDown(w)?function(){b(w.keyCode,mxEvent.isShiftDown(w)?f.gridSize:null,!0)}:function(){b(w.keyCode,mxEvent.isShiftDown(w)?f.gridSize:null)}}return q.apply(this,+arguments)};g.bindAction=mxUtils.bind(this,function(w,y,A,F){var D=this.actions.get(A);null!=D&&(A=function(){D.isEnabled()&&D.funct.apply(this,arguments)},y?F?g.bindControlShiftKey(w,A):g.bindControlKey(w,A):F?g.bindShiftKey(w,A):g.bindKey(w,A))});var k=this,u=g.escape;g.escape=function(w){u.apply(this,arguments)};g.enter=function(){};g.bindControlShiftKey(36,function(){f.exitGroup()});g.bindControlShiftKey(35,function(){f.enterGroup()});g.bindShiftKey(36,function(){f.home()});g.bindKey(35,function(){f.refresh()});g.bindAction(80,!0,"print");g.bindAction(107,!0,"zoomIn");g.bindAction(109,!0,"zoomOut");g.bindAction(61,!0,"zoomIn");g.bindAction(187,!0,"zoomIn");g.bindAction(222,!0,"zoomIn");g.bindAction(173,!0,"zoomOut");g.bindAction(189,!0,"zoomOut");if(!this.editor.chromeless||this.editor.editable)g.bindAction(79,!0,"outline",!0),g.bindControlKey(36,function(){f.isEnabled()&&f.foldCells(!0)}),g.bindControlKey(35,function(){f.isEnabled()&&f.foldCells(!1)}),g.bindControlKey(13,function(){k.ctrlEnter()}),g.bindAction(8,!1,"delete"),g.bindAction(8,!0,"deleteAll"),g.bindAction(8,!1,"deleteLabels",!0),g.bindAction(46,!1,"delete"),g.bindAction(46,!0,"deleteAll"),g.bindAction(46,!1,"deleteLabels",!0),g.bindAction(36,!1,"resetView"),g.bindAction(72,!0,"fitWindow",!0),g.bindAction(74,!0,"fitPage"),g.bindAction(74,!0,"fitTwoPages",!0),g.bindAction(48,!0,"customZoom"),g.bindAction(82,!0,"turn"),g.bindAction(82,!0,"clearDefaultStyle",!0),g.bindAction(83,!0,"save"),g.bindAction(83,!0,"saveAs",!0),g.bindAction(65,!0,"selectAll"),g.bindAction(65,!0,"selectNone",!0),g.bindAction(73,!0,"selectVertices",!0),g.bindAction(69,!0,"selectEdges",!0),g.bindAction(69,!0,"editStyle"),g.bindAction(66,!0,"bold"),g.bindAction(66,!0,"toBack",!0),g.bindAction(70,!0,"toFront",!0),g.bindAction(68,!0,"duplicate"),g.bindAction(68,!0,"setAsDefaultStyle",!0),g.bindAction(90,!0,"undo"),g.bindAction(90,!0,"redo",!0),g.bindAction(89,!0,"redo"),g.bindAction(89,!0,"autosize",!0),g.bindAction(88,!0,"cut"),g.bindAction(67,!0,"copy"),g.bindAction(86,!0,"paste"),g.bindAction(71,!0,"group"),g.bindAction(77,!0,"editData"),g.bindAction(71,!0,"grid",!0),g.bindAction(73,!0,"italic"),g.bindAction(76,!0,"lockUnlock"),g.bindAction(76,!0,"layers",!0),g.bindAction(80,!0,"format",!0),g.bindAction(85,!0,"underline"),g.bindAction(85,!0,"ungroup",!0),g.bindAction(109,!0,"decreaseFontSize",!0),g.bindAction(107,!0,"increaseFontSize",!0),g.bindAction(219,!0,"decreaseFontSize",!0),g.bindAction(221,!0,"increaseFontSize",!0),g.bindAction(190,!0,"superscript"),g.bindAction(188,!0,"subscript"),g.bindAction(13,!1,"keyPressEnter"),g.bindKey(113,function(){f.isEnabled()&&f.startEditingAtCell()});return g};EditorUi.prototype.createMenuElement=function(a,b,e){var f=document.createElement("a");this.addMenuHandler(f,b,e);mxUtils.write(f,a);f.className="geItem";return f};-EditorUi.prototype.addMenuHandler=function(a,b,e,f){if(null!=b){var g=null,d=!0,h=mxUtils.bind(this,function(l){null!=e&&e(l);if(!mxEvent.isConsumed(l)&&d&&(null==a.enabled||a.enabled)){this.editor.graph.popupMenuHandler.hideMenu();var r=new mxPopupMenu(b);r.smartSeparators=!0;r.showDisabled=!0;r.autoExpand=!0;r.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(r,arguments);this.resetCurrentMenu();g=null;r.destroy()});this.menus.autoPopup||null==this.currentMenu||this.hideCurrentMenu();-var k=mxUtils.getOffset(a);r.popup(k.x,k.y+a.offsetHeight,null,l);this.setCurrentMenu(r,a);g=r}f||mxEvent.consume(l)});mxEvent.addListener(a,"mousemove",mxUtils.bind(this,function(l){if(this.menus.autoPopup&&null!=this.currentMenu&&this.currentMenuElt!=a&&null!=this.currentMenuElt){var r=this.currentMenuElt;this.hideCurrentMenu();r.parentNode==a.parentNode&&"INPUT"!=a.nodeName&&h(l)}}));mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(l){!this.menus.autoPopup&&+EditorUi.prototype.addMenuHandler=function(a,b,e,f){if(null!=b){var g=null,d=!0,h=mxUtils.bind(this,function(l){null!=e&&e(l);if(!mxEvent.isConsumed(l)&&d&&(null==a.enabled||a.enabled)){this.editor.graph.popupMenuHandler.hideMenu();var q=new mxPopupMenu(b);q.smartSeparators=!0;q.showDisabled=!0;q.autoExpand=!0;q.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(q,arguments);this.resetCurrentMenu();g=null;q.destroy()});this.menus.autoPopup||null==this.currentMenu||this.hideCurrentMenu();+var k=mxUtils.getOffset(a);q.popup(k.x,k.y+a.offsetHeight,null,l);this.setCurrentMenu(q,a);g=q}f||mxEvent.consume(l)});mxEvent.addListener(a,"mousemove",mxUtils.bind(this,function(l){if(this.menus.autoPopup&&null!=this.currentMenu&&this.currentMenuElt!=a&&null!=this.currentMenuElt){var q=this.currentMenuElt;this.hideCurrentMenu();q.parentNode==a.parentNode&&"INPUT"!=a.nodeName&&h(l)}}));mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(l){!this.menus.autoPopup&&null!=this.currentMenu&&this.currentMenuElt!=a&&mxEvent.isMouseEvent(l)&&this.hideCurrentMenu();d=null==this.currentMenu;"INPUT"!=mxEvent.getSource(l).nodeName?l.preventDefault():l.stopPropagation()}));mxEvent.addListener(a,"click",mxUtils.bind(this,function(l){h(l);d=!0}));f&&(mxEvent.addListener(a,"focus",mxUtils.bind(this,function(l){h(l);d=!0})),mxEvent.addListener(a,"blur",mxUtils.bind(this,function(l){this.currentMenu==g&&this.hideCurrentMenu()})),mxEvent.addListener(a,"keyup",mxUtils.bind(this,function(l){this.hideCurrentMenu();13!=l.keyCode&&27!=l.keyCode&&(h(l),d=!0)})))}};EditorUi.prototype.addShapePicker=function(a,b){var e=this.editor.graph;mxEvent.addListener(a,"click",mxUtils.bind(this,function(f){if(this.isShapePickerVisible())this.hideShapePicker();else{var g=mxUtils.getOffset(a);Editor.inlineFullscreen||null==this.embedViewport?b?(g.x-=this.diagramContainer.offsetLeft+30,g.y=a.offsetHeight-2):(g.x+=16+a.offsetHeight+this.sketchPickerMenuElt.offsetWidth/2,g.y+=20):(g.x=0,g.y=a.offsetTop);this.showShapePicker(Math.max(this.diagramContainer.scrollLeft+Math.max(24,g.x)),this.diagramContainer.scrollTop+g.y,null,null,null,null,mxUtils.bind(this,function(d){return e.getCenterInsertPoint(e.getBoundingBoxFromGeometry(d,!0))}),b,!1)}mxEvent.consume(f)}))};EditorUi.prototype.createZoomInput=function(a){var b=document.createElement("input");b.className="geButton geZoomInput";b.style.backgroundImage="url("+Editor.thinExpandImage+")";b.setAttribute("type","text");b.setAttribute("value","100%");var e=this.menus.get("viewZoom");this.dependsOnLanguage(mxUtils.bind(this,function(){b.setAttribute("title",mxResources.get("zoom")+" (Alt+Mousewheel)")}));(a||mxClient.IS_TOUCH)&&b.setAttribute("readonly","true");var f=!1;mxEvent.addGestureListeners(b,mxUtils.bind(this,function(g){f=!1;mxClient.IS_TOUCH||mxEvent.getSource(g)!=b||document.activeElement==b||(b.focus(),mxClient.IS_GC||mxClient.IS_FF?b.select():document.execCommand("selectAll",!1,null),f=!0)}),mxUtils.bind(this,function(g){mxEvent.getSource(g)==b&&f&&mxEvent.consume(g)}),mxUtils.bind(this,function(g){f&&(mxEvent.consume(g),f=!1)}));this.addMenuHandler(b,e.funct);mxUtils.bind(this,function(g){mxEvent.addListener(g,"click",mxUtils.bind(this,function(h){mxEvent.isAltDown(h)?(this.hideCurrentMenu(),this.actions.get("customZoom").funct(),-mxEvent.consume(h)):mxEvent.isShiftDown(h)&&(this.hideCurrentMenu(),this.actions.get("smartFit").funct(),mxEvent.consume(h))}));var d=mxUtils.bind(this,function(h,l,r){b.value=Math.round(100*this.editor.graph.view.scale*(null!=r?r:1))+"%";document.activeElement==b&&this.editor.graph.container.focus()});mxEvent.addListener(b,"keydown",mxUtils.bind(this,function(h){if(27==h.keyCode||13==h.keyCode||9==h.keyCode)27==h.keyCode||isNaN(parseInt(b.value))?d():this.editor.graph.zoomTo(parseInt(b.value)/100),+mxEvent.consume(h)):mxEvent.isShiftDown(h)&&(this.hideCurrentMenu(),this.actions.get("smartFit").funct(),mxEvent.consume(h))}));var d=mxUtils.bind(this,function(h,l,q){b.value=Math.round(100*this.editor.graph.view.scale*(null!=q?q:1))+"%";document.activeElement==b&&this.editor.graph.container.focus()});mxEvent.addListener(b,"keydown",mxUtils.bind(this,function(h){if(27==h.keyCode||13==h.keyCode||9==h.keyCode)27==h.keyCode||isNaN(parseInt(b.value))?d():this.editor.graph.zoomTo(parseInt(b.value)/100),this.hideCurrentMenu(),mxEvent.consume(h)}));this.editor.graph.view.addListener(mxEvent.EVENT_SCALE,d);this.editor.addListener("resetGraphView",d);this.editor.addListener("pageSelected",d);mxEvent.addListener(b,"blur",d);this.editor.graph.addListener("zoomPreview",mxUtils.bind(this,function(h,l){d(h,l,l.getProperty("factor"))}))})(b);return b};EditorUi.prototype.createHelpIcon=function(a,b){b=document.createElement("img");b.setAttribute("src",Editor.helpImage);b.setAttribute("title",mxResources.get("help")+" ("+a+")");b.className="geHelpIcon";mxEvent.addGestureListeners(b,mxUtils.bind(this,function(e){this.hideCurrentMenu();this.openLink(a);mxEvent.consume(e)}));return b};EditorUi.prototype.destroy=function(){var a=this.editor.graph;null!=a&&null!=this.selectionStateListener&&(a.getSelectionModel().removeListener(this.selectionStateListener),a.getModel().removeListener(this.selectionStateListener),a.getView().removeListener(this.selectionStateListener),a.removeListener(this.selectionStateListener),this.selectionStateListener=null);null!=this.editor&&(this.editor.destroy(),this.editor=null);null!=this.menubar&&(this.menubar.destroy(),this.menubar=null);null!=this.toolbar&&@@ -2344,11 +2344,11 @@ Sidebar.prototype.getTooltipOffset=function(a,b){if(mxUtils.isAncestorNode(this.2-b.height/2-6)};Sidebar.prototype.createMoreShapes=function(){var a=this.editorUi.createDiv("geSidebarFooter"),b=document.createElement("button");b.className="geBtn gePrimaryBtn";this.editorUi.dependsOnLanguage(mxUtils.bind(this,function(){b.innerHTML="<span>+</span>";mxUtils.write(b,mxResources.get("moreShapes"));b.setAttribute("title",mxResources.get("moreShapes"))}));mxEvent.addListener(b,"click",mxUtils.bind(this,function(e){this.editorUi.actions.get("shapes").funct();mxEvent.consume(e)}));mxEvent.preventDefault(b);a.appendChild(b);return a};-Sidebar.prototype.createTooltip=function(a,b,e,f,g,d,h,l,r,k,u){u=null!=u?u:!0;this.tooltipMouseDown=r;r=this.editorUi.editor.graph;if(null==this.tooltip){this.tooltip=document.createElement("div");this.tooltip.className="geSidebarTooltip";this.tooltip.style.userSelect="none";this.tooltip.style.zIndex=mxPopupMenu.prototype.zIndex-1;document.body.appendChild(this.tooltip);mxEvent.addMouseWheelListener(mxUtils.bind(this,function(y){this.hideTooltip()}),this.tooltip);this.graph2=new Graph(this.tooltip,null,+Sidebar.prototype.createTooltip=function(a,b,e,f,g,d,h,l,q,k,u){u=null!=u?u:!0;this.tooltipMouseDown=q;q=this.editorUi.editor.graph;if(null==this.tooltip){this.tooltip=document.createElement("div");this.tooltip.className="geSidebarTooltip";this.tooltip.style.userSelect="none";this.tooltip.style.zIndex=mxPopupMenu.prototype.zIndex-1;document.body.appendChild(this.tooltip);mxEvent.addMouseWheelListener(mxUtils.bind(this,function(y){this.hideTooltip()}),this.tooltip);this.graph2=new Graph(this.tooltip,null,null,this.editorUi.editor.graph.getStylesheet());this.graph2.shapeBackgroundColor=this.graph.shapeBackgroundColor;this.graph2.resetViewOnRootChange=!1;this.graph2.foldingEnabled=!1;this.graph2.gridEnabled=!1;this.graph2.autoScroll=!1;this.graph2.setTooltips(!1);this.graph2.setConnectable(!1);this.graph2.setPanning(!1);this.graph2.setEnabled(!1);if(this.graph2.dialect==mxConstants.DIALECT_SVG){var w=this.graph2.view.getDrawPane().ownerSVGElement;null!=w&&(w.style.overflow="visible")}else this.graph2.view.canvas.style.overflow="visible";this.graph2.openLink=mxUtils.bind(this,function(){this.hideTooltip()});mxEvent.addGestureListeners(this.tooltip,mxUtils.bind(this,function(y){null!=this.tooltipMouseDown&&this.tooltipMouseDown(y);window.setTimeout(mxUtils.bind(this,function(){null!=this.tooltipCloseImage&&"none"!=this.tooltipCloseImage.style.display||this.hideTooltip()}),0)}),null,mxUtils.bind(this,function(y){this.hideTooltip()}));w=document.createElement("img");w.setAttribute("src",Editor.crossImage);w.setAttribute("title",mxResources.get("close"));w.className="geButton";this.tooltip.appendChild(w);this.tooltipCloseImage=w;mxEvent.addListener(w,"click",mxUtils.bind(this,function(y){this.hideTooltip();mxEvent.consume(y)}))}this.tooltipCloseImage.style.display=k?"":"none";this.graph2.model.clear();this.graph2.view.setTranslate(this.tooltipBorder,this.tooltipBorder);this.graph2.view.scale=!l&&(e>this.maxTooltipWidth||f>this.maxTooltipHeight)?Math.round(100*Math.min(this.maxTooltipWidth/e,this.maxTooltipHeight/f))/100:-1;this.tooltip.style.display="block";this.graph2.labelsVisible=null==d||d;d=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;null!=b&&(b=this.graph2.cloneCells(b),this.graph2.pasteCellStyles(r.includeDescendants(b),u?r.currentVertexStyle:r.defaultVertexStyle,u?r.currentEdgeStyle:r.defaultEdgeStyle,null,r.pasteEdgeStyle),this.graph2.addCells(b));mxClient.NO_FO=d;u=this.graph2.getGraphBounds();l&&0<e&&0<f&&(u.width>e||u.height>f)?(e=Math.round(100*Math.min(e/u.width,f/u.height))/+1;this.tooltip.style.display="block";this.graph2.labelsVisible=null==d||d;d=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;null!=b&&(b=this.graph2.cloneCells(b),this.graph2.pasteCellStyles(q.includeDescendants(b),u?q.currentVertexStyle:q.defaultVertexStyle,u?q.currentEdgeStyle:q.defaultEdgeStyle,null,q.pasteEdgeStyle),this.graph2.addCells(b));mxClient.NO_FO=d;u=this.graph2.getGraphBounds();l&&0<e&&0<f&&(u.width>e||u.height>f)?(e=Math.round(100*Math.min(e/u.width,f/u.height))/100,mxClient.NO_FO?(this.graph2.view.setScale(Math.round(100*Math.min(this.maxTooltipWidth/u.width,this.maxTooltipHeight/u.height))/100),u=this.graph2.getGraphBounds()):(this.graph2.view.getDrawPane().ownerSVGElement.style.transform="scale("+e+")",this.graph2.view.getDrawPane().ownerSVGElement.style.transformOrigin="0 0",u.width*=e,u.height*=e)):mxClient.NO_FO||(this.graph2.view.getDrawPane().ownerSVGElement.style.transform="");e=u.width+2*this.tooltipBorder+4;f=u.height+2*this.tooltipBorder;this.tooltip.style.overflow="visible";this.tooltip.style.width=e+"px";l=e;this.tooltipTitles&&null!=g&&0<g.length?(null==this.tooltipTitle?(this.tooltipTitle=document.createElement("div"),this.tooltipTitle.style.borderTopStyle="solid",this.tooltipTitle.style.borderTopWidth="1px",this.tooltipTitle.style.textAlign="center",this.tooltipTitle.style.width="100%",this.tooltipTitle.style.overflow="hidden",this.tooltipTitle.style.position="absolute",this.tooltipTitle.style.paddingTop="6px",this.tooltipTitle.style.bottom="6px",this.tooltip.appendChild(this.tooltipTitle)):this.tooltipTitle.innerText="",this.tooltipTitle.style.display="",mxUtils.write(this.tooltipTitle,g),this.tooltipTitle.setAttribute("title",g),l=Math.min(this.maxTooltipWidth,Math.max(e,this.tooltipTitle.scrollWidth+4)),g=this.tooltipTitle.offsetHeight+10,f+=g,this.tooltipTitle.style.marginTop=2-g+"px"):null!=this.tooltipTitle&&null!=this.tooltipTitle.parentNode&&(this.tooltipTitle.style.display="none");l>e&&(this.tooltip.style.width=l+"px");this.tooltip.style.height=f+"px";g=-Math.round(u.x-this.tooltipBorder)+@@ -2359,28 +2359,28 @@ Sidebar.prototype.addEntries=function(a,b){for(var e=0;e<a.length;e++)mxUtils.bi0<d.length&&this.addEntry(d,mxUtils.bind(this,function(){var h=this.editorUi.stringToCells("<"==f.xml.charAt(0)?f.xml:Graph.decompress(f.xml));return this.createVertexTemplateFromCells(h,f.w,f.h,f.title||"",!0,!1,!0)}))})(a[e])};Sidebar.prototype.setCurrentSearchEntryLibrary=function(a,b){this.currentSearchEntryLibrary=null!=a?{id:a,lib:b}:null};Sidebar.prototype.getKeyStyle=function(a){var b=[];if("string"===typeof a){a=a.split(";");for(var e=0;e<a.length;e++){var f=a[e].split("=");1<f.length&&0>mxUtils.indexOf(this.ignoredStyles,f[0])&&b.push(f[0]+"="+f[1])}}return b.join(";")};Sidebar.prototype.addLibForStyle=function(a,b){""!=a&&(null==this.styleToLibs&&(this.styleToLibs={}),null==this.styleToLibs[a]&&(this.styleToLibs[a]=[]),this.styleToLibs[a].push(b))};Sidebar.prototype.getLibsForStyle=function(a){return null!=this.styleToLibs?this.styleToLibs[a]:null};-Sidebar.prototype.addEntry=function(a,b){if(null!=this.currentSearchEntryLibrary){var e=this,f=this.createVertexTemplateFromCells;this.createVertexTemplateFromCells=function(l,r,k,u,w){if(null!=l)for(r=0;r<l.length;r++)e.addLibForStyle(e.getKeyStyle(l[r].style),this.currentSearchEntryLibrary)};b();this.createVertexTemplateFromCells=f}if(null!=this.taglist&&null!=a&&0<a.length){null!=this.currentSearchEntryLibrary&&(b.parentLibraries=[this.currentSearchEntryLibrary]);a=a.toLowerCase().replace(/[\/,\(\)]/g,+Sidebar.prototype.addEntry=function(a,b){if(null!=this.currentSearchEntryLibrary){var e=this,f=this.createVertexTemplateFromCells;this.createVertexTemplateFromCells=function(l,q,k,u,w){if(null!=l)for(q=0;q<l.length;q++)e.addLibForStyle(e.getKeyStyle(l[q].style),this.currentSearchEntryLibrary)};b();this.createVertexTemplateFromCells=f}if(null!=this.taglist&&null!=a&&0<a.length){null!=this.currentSearchEntryLibrary&&(b.parentLibraries=[this.currentSearchEntryLibrary]);a=a.toLowerCase().replace(/[\/,\(\)]/g," ").split(" ");f=[];for(var g={},d=0;d<a.length;d++){null==g[a[d]]&&(g[a[d]]=!0,f.push(a[d]));var h=Editor.soundex(a[d].replace(/\.*\d*$/,""));h!=a[d]&&null==g[h]&&(g[h]=!0,f.push(h))}for(d=0;d<f.length;d++)this.addEntryForTag(f[d],b)}return b};Sidebar.prototype.addEntryForTag=function(a,b){if(null!=a&&1<a.length){var e=this.taglist[a];"object"!==typeof e&&(e={entries:[]},this.taglist[a]=e);e.entries.push(b)}};Sidebar.prototype.isEntryIgnored=function(a,b){b=!b;if(null!=a.parentLibraries&&b)for(var e=0;e<a.parentLibraries.length;e++)if(this.isEntryVisible(a.parentLibraries[e].id)){b=!1;break}return b};-Sidebar.prototype.searchEntries=function(a,b,e,f,g,d){if(null!=this.taglist&&null!=a){"mxgraph."==a.substring(0,8)&&0>a.indexOf(" ")&&8<a.lastIndexOf(".")&&(a=a.substring(8).replace(/\./g," "));var h=a.toLowerCase().split(" ");a=new mxDictionary;g=(e+1)*b;for(var l=[],r=0,k=0;k<h.length;k++){var u=Editor.soundex(h[k].replace(/\.*\d*$/,""));if(0<u.length){l=this.taglist[h[k]];var w=null!=l?l.entries.slice():[];l=this.taglist[u];w=null!=l?w.concat(l.entries):w;u=new mxDictionary;if(0<w.length){l=[];-for(var y=0;y<w.length;y++){var A=w[y];if(0==r==(null==a.get(A))&&null==u.get(A)&&(u.put(A,A),!this.isEntryIgnored(A,d)&&(l.push(A),k==h.length-1&&l.length==g))){f(l.slice(e*b,g),g,!0,h);return}}}else l=[];a=u;r++}}d=l.length;f(l.slice(e*b,(e+1)*b),d,!1,h)}else f([],null,null,h)};Sidebar.prototype.filterTags=function(a){if(null!=a){a=a.split(" ");for(var b=[],e={},f=0;f<a.length;f++)null==e[a[f]]&&(e[a[f]]="1",b.push(a[f]));return b.join(" ")}return null};+Sidebar.prototype.searchEntries=function(a,b,e,f,g,d){if(null!=this.taglist&&null!=a){"mxgraph."==a.substring(0,8)&&0>a.indexOf(" ")&&8<a.lastIndexOf(".")&&(a=a.substring(8).replace(/\./g," "));var h=a.toLowerCase().split(" ");a=new mxDictionary;g=(e+1)*b;for(var l=[],q=0,k=0;k<h.length;k++){var u=Editor.soundex(h[k].replace(/\.*\d*$/,""));if(0<u.length){l=this.taglist[h[k]];var w=null!=l?l.entries.slice():[];l=this.taglist[u];w=null!=l?w.concat(l.entries):w;u=new mxDictionary;if(0<w.length){l=[];+for(var y=0;y<w.length;y++){var A=w[y];if(0==q==(null==a.get(A))&&null==u.get(A)&&(u.put(A,A),!this.isEntryIgnored(A,d)&&(l.push(A),k==h.length-1&&l.length==g))){f(l.slice(e*b,g),g,!0,h);return}}}else l=[];a=u;q++}}d=l.length;f(l.slice(e*b,(e+1)*b),d,!1,h)}else f([],null,null,h)};Sidebar.prototype.filterTags=function(a){if(null!=a){a=a.split(" ");for(var b=[],e={},f=0;f<a.length;f++)null==e[a[f]]&&(e[a[f]]="1",b.push(a[f]));return b.join(" ")}return null};Sidebar.prototype.cloneCell=function(a,b){a=a.clone();null!=b&&(a.value=b);return a};Sidebar.prototype.showPopupMenuForEntry=function(a,b,e){};-Sidebar.prototype.addSearchPalette=function(a){function b(P,Z){D=Z;P=P.firstChild.nextSibling.nextSibling;Z=document.createElement("span");Z.style.color="gray";Z.innerHTML="Enter";P.appendChild(Z)}function e(){k.setAttribute("src",Editor.magnifyImage);k.setAttribute("title",mxResources.get("search"));F.style.display="none";M=r.value="";V()}var f=this.editorUi,g=f.editor.graph,d=document.createElement("div");d.style.visibility="hidden";this.appendChild(d);var h=document.createElement("div");h.className=-"geSidebar geSearchSidebar";a||(h.style.display="none");var l=document.createElement("div");l.style.whiteSpace="nowrap";l.style.textOverflow="clip";l.style.cursor="default";var r=document.createElement("input");r.setAttribute("id","geOmniSearch");r.setAttribute("placeholder",mxResources.get("typeSlashToSearch"));r.setAttribute("type","text");l.appendChild(r);var k=document.createElement("img");k.setAttribute("src",Editor.magnifyImage);k.setAttribute("title",mxResources.get("search"));k.className=-"geAdaptiveAsset";l.appendChild(k);h.appendChild(l);var u=!1;mxEvent.addGestureListeners(r,mxUtils.bind(this,function(P){u=!1;mxClient.IS_TOUCH||mxEvent.getSource(P)!=r||document.activeElement==r||(r.focus(),mxClient.IS_GC||mxClient.IS_FF?r.select():document.execCommand("selectAll",!1,null),u=!0)}),mxUtils.bind(this,function(P){mxEvent.getSource(P)==r&&u&&mxEvent.consume(P)}),mxUtils.bind(this,function(P){u&&(mxEvent.consume(P),u=!1)}));var w=[],y=mxUtils.bind(this,function(P,Z){f.hideCurrentMenu();-mxUtils.remove(P,w);w.unshift(P);5<w.length&&w.pop();P.funct.apply(this,Z);r.value=null}),A="about deleteAll showBoundingBox createSidebarEntry downloadDesktop toggleGoogleFonts".split(" "),G=mxUtils.bind(this,function(P){var Z=null,X;for(X in f.actions.actions){var ba=0>A.indexOf(X)&&"test"!=X.substring(0,4)?f.actions.get(X):null;if(null!=ba&&ba.isEnabled()&&ba.visible){if(X.toLowerCase()==P)return ba;for(var L=P.toLowerCase().split(" "),U=0,aa=0;aa<L.length;aa++)0==L[aa].length?U++:(0<=X.toLowerCase().indexOf(L[aa])||-0<=ba.getTitle().toLowerCase().indexOf(L[aa]))&&U++;U==L.length&&(0>w.indexOf(Z)||null!=Z&&!Z.isEnabled())&&(Z=ba)}}return Z}),D=null;f.addMenuHandler(r,mxUtils.bind(this,function(P,Z){function X(ma){if(null!=ma&&ma.visible){var oa=P.addItem(ma.getTitle(),null,function(){y(ma,arguments)},Z,null,ma.isEnabled());ma.toggleAction&&ma.isSelected()&&P.addCheckmark(oa,Editor.checkmarkImage);null!=D||!ma.isEnabled()||0!=r.value.length&&U!=ma||b(oa,function(){y(ma,arguments);g.container.focus()})}}var ba=-r.value.toLowerCase();D=null;var L=P.addItem(mxResources.get("searchShapes"),null,mxUtils.bind(this,function(){fa()}),Z);b(L,function(){fa()});P.addItem(mxResources.get("findInDiagram"),null,mxUtils.bind(this,function(){f.hideCurrentMenu();f.showSearchWindow(!0,r.value);r.value=""}),Z);Editor.enableAi&&!f.isOffline()&&f.isOwnGDriveDomain()&&f.isExternalDataComms()&&"draw.io"==f.getServiceName()&&"undefined"!==typeof mxMermaidToDrawio&&window.isMermaidEnabled&&P.addItem(mxResources.get("generate"),-null,mxUtils.bind(this,function(){f.openGenerateDialog(r.value);r.value=""}),Z);!f.isOffline()&&f.isOwnGDriveDomain()&&f.isExternalDataComms()&&P.addItem(mxResources.get("help"),null,mxUtils.bind(this,function(){f.searchHelp(r.value);r.value=""}),Z);P.addSeparator();var U=0<r.value.length?G(ba):null;X(U);for(L=0;L<w.length;L++)w[L]!=U&&X(w[L]);if(0<ba.length&&null!=f.pages)for(P.addSeparator(),L=0;L<f.pages.length&&!function(ma){if(null!=ma.getName()&&0<=ma.getName().toLowerCase().indexOf(ba)){var oa=-function(){f.selectPage(ma);g.container.focus();r.value=""},ca=P.addItem(ma.getName()+" ("+mxResources.get("page")+")",null,oa,Z);null==D&&b(ca,oa);return!0}return!1}(f.pages[L]);L++);if(0<ba.length&&null!=f.sidebar&&null!=f.sidebar.entries)for(P.addSeparator(),L=0;L<f.sidebar.entries.length;L++)for(var aa=f.sidebar.entries[L].entries,ha=0;ha<aa.length;ha++)(function(ma){var oa=f.sidebar.getConfigurationById(ma.id),ca=ma.title.toLowerCase().split(" ");null!=oa&&0<=mxUtils.indexOf(ca,ba)&&(ca=function(){var la=-f.sidebar.showPalettes(oa.prefix||"",oa.libs||[oa.id],!0);r.value="";null!=la&&1<la.length&&(null==la[1].firstChild||null!=la[1].firstChild.firstChild&&"none"!=la[1].firstChild.style.display||la[0].click(),la[0].scrollIntoView({behavior:"smooth"}))},ma=P.addItem(ma.title+" ("+mxResources.get("openLibrary")+")",null,ca,Z),null==D&&b(ma,ca));return!0})(aa[ha])}),null,!0);var F=document.createElement("div");F.style.display="none";F.style.paddingTop="8px";F.style.alignItems="center";F.style.justifyContent=-"center";var H=mxUtils.button(mxResources.get("moreResults"),function(){fa()});H.setAttribute("title",mxResources.get("moreResults"));H.className="geBtn gePrimaryBtn";H.style.borderRadius="16px";H.style.padding="8px 12px";F.appendChild(H);h.appendChild(F);var M="",N=!1,K=!1,T=0,W={},S=12,V=mxUtils.bind(this,function(){N=!1;this.currentSearch=null;for(var P=h.firstChild;null!=P;){var Z=P.nextSibling;P!=l&&P!=F&&P.parentNode.removeChild(P);P=Z}});mxEvent.addListener(k,"click",function(){k.getAttribute("src")!=-Editor.magnifyImage&&e();r.focus()});var fa=mxUtils.bind(this,function(){f.hideCurrentMenu();S=4*Math.max(1,Math.floor(this.container.clientWidth/(this.thumbWidth+10)));this.hideTooltip();if(""!=r.value){if(null!=F.parentNode&&(M!=r.value&&(V(),M=r.value,W={},K=!1,T=0),!N&&!K)){H.setAttribute("disabled","true");F.style.display="flex";H.style.cursor="wait";H.innerHTML="";mxUtils.write(H,mxResources.get("loading")+"...");N=!0;var P={};this.currentSearch=P;try{this.searchEntries(M,S,T,mxUtils.bind(this,-function(Z,X,ba,L){if(this.currentSearch==P){Z=null!=Z?Z:[];N=!1;T++;this.insertSearchHint(h,M,S,T,Z,X,ba,L);0==Z.length&&1==T&&(M="");null!=F.parentNode&&F.parentNode.removeChild(F);for(X=0;X<Z.length;X++)mxUtils.bind(this,function(U){try{var aa=U();null!=this.closedLibraryOpacity&&this.searchClosedLibraries&&this.isEntryIgnored(U,!1)&&(aa.style.opacity=this.closedLibraryOpacity);null==W[aa.innerHTML]?(W[aa.innerHTML]=null!=U.parentLibraries?U.parentLibraries.slice():[],h.appendChild(aa)):null!=+Sidebar.prototype.addSearchPalette=function(a){function b(P,Z){D=Z;P=P.firstChild.nextSibling.nextSibling;Z=document.createElement("span");Z.style.color="gray";Z.innerHTML="Enter";P.appendChild(Z)}function e(){k.setAttribute("src",Editor.magnifyImage);k.setAttribute("title",mxResources.get("search"));G.style.display="none";M=q.value="";V()}var f=this.editorUi,g=f.editor.graph,d=document.createElement("div");d.style.visibility="hidden";this.appendChild(d);var h=document.createElement("div");h.className=+"geSidebar geSearchSidebar";a||(h.style.display="none");var l=document.createElement("div");l.style.whiteSpace="nowrap";l.style.textOverflow="clip";l.style.cursor="default";var q=document.createElement("input");q.setAttribute("id","geOmniSearch");q.setAttribute("placeholder",mxResources.get("typeSlashToSearch"));q.setAttribute("type","text");l.appendChild(q);var k=document.createElement("img");k.setAttribute("src",Editor.magnifyImage);k.setAttribute("title",mxResources.get("search"));k.className=+"geAdaptiveAsset";l.appendChild(k);h.appendChild(l);var u=!1;mxEvent.addGestureListeners(q,mxUtils.bind(this,function(P){u=!1;mxClient.IS_TOUCH||mxEvent.getSource(P)!=q||document.activeElement==q||(q.focus(),mxClient.IS_GC||mxClient.IS_FF?q.select():document.execCommand("selectAll",!1,null),u=!0)}),mxUtils.bind(this,function(P){mxEvent.getSource(P)==q&&u&&mxEvent.consume(P)}),mxUtils.bind(this,function(P){u&&(mxEvent.consume(P),u=!1)}));var w=[],y=mxUtils.bind(this,function(P,Z){f.hideCurrentMenu();+mxUtils.remove(P,w);w.unshift(P);5<w.length&&w.pop();P.funct.apply(this,Z);q.value=null}),A="about deleteAll showBoundingBox createSidebarEntry downloadDesktop toggleGoogleFonts".split(" "),F=mxUtils.bind(this,function(P){var Z=null,X;for(X in f.actions.actions){var ba=0>A.indexOf(X)&&"test"!=X.substring(0,4)?f.actions.get(X):null;if(null!=ba&&ba.isEnabled()&&ba.visible){if(X.toLowerCase()==P)return ba;for(var L=P.toLowerCase().split(" "),U=0,aa=0;aa<L.length;aa++)0==L[aa].length?U++:(0<=X.toLowerCase().indexOf(L[aa])||+0<=ba.getTitle().toLowerCase().indexOf(L[aa]))&&U++;U==L.length&&(0>w.indexOf(Z)||null!=Z&&!Z.isEnabled())&&(Z=ba)}}return Z}),D=null;f.addMenuHandler(q,mxUtils.bind(this,function(P,Z){function X(ma){if(null!=ma&&ma.visible){var oa=P.addItem(ma.getTitle(),null,function(){y(ma,arguments)},Z,null,ma.isEnabled());ma.toggleAction&&ma.isSelected()&&P.addCheckmark(oa,Editor.checkmarkImage);null!=D||!ma.isEnabled()||0!=q.value.length&&U!=ma||b(oa,function(){y(ma,arguments);g.container.focus()})}}var ba=+q.value.toLowerCase();D=null;var L=P.addItem(mxResources.get("searchShapes"),null,mxUtils.bind(this,function(){fa()}),Z);b(L,function(){fa()});P.addItem(mxResources.get("findInDiagram"),null,mxUtils.bind(this,function(){f.hideCurrentMenu();f.showSearchWindow(!0,q.value);q.value=""}),Z);Editor.enableAi&&!f.isOffline()&&f.isOwnGDriveDomain()&&f.isExternalDataComms()&&"draw.io"==f.getServiceName()&&"undefined"!==typeof mxMermaidToDrawio&&window.isMermaidEnabled&&P.addItem(mxResources.get("generate"),+null,mxUtils.bind(this,function(){f.openGenerateDialog(q.value);q.value=""}),Z);!f.isOffline()&&f.isOwnGDriveDomain()&&f.isExternalDataComms()&&P.addItem(mxResources.get("help"),null,mxUtils.bind(this,function(){f.searchHelp(q.value);q.value=""}),Z);P.addSeparator();var U=0<q.value.length?F(ba):null;X(U);for(L=0;L<w.length;L++)w[L]!=U&&X(w[L]);if(0<ba.length&&null!=f.pages)for(P.addSeparator(),L=0;L<f.pages.length&&!function(ma){if(null!=ma.getName()&&0<=ma.getName().toLowerCase().indexOf(ba)){var oa=+function(){f.selectPage(ma);g.container.focus();q.value=""},ca=P.addItem(ma.getName()+" ("+mxResources.get("page")+")",null,oa,Z);null==D&&b(ca,oa);return!0}return!1}(f.pages[L]);L++);if(0<ba.length&&null!=f.sidebar&&null!=f.sidebar.entries)for(P.addSeparator(),L=0;L<f.sidebar.entries.length;L++)for(var aa=f.sidebar.entries[L].entries,ha=0;ha<aa.length;ha++)(function(ma){var oa=f.sidebar.getConfigurationById(ma.id),ca=ma.title.toLowerCase().split(" ");null!=oa&&0<=mxUtils.indexOf(ca,ba)&&(ca=function(){var la=+f.sidebar.showPalettes(oa.prefix||"",oa.libs||[oa.id],!0);q.value="";null!=la&&1<la.length&&(null==la[1].firstChild||null!=la[1].firstChild.firstChild&&"none"!=la[1].firstChild.style.display||la[0].click(),la[0].scrollIntoView({behavior:"smooth"}))},ma=P.addItem(ma.title+" ("+mxResources.get("openLibrary")+")",null,ca,Z),null==D&&b(ma,ca));return!0})(aa[ha])}),null,!0);var G=document.createElement("div");G.style.display="none";G.style.paddingTop="8px";G.style.alignItems="center";G.style.justifyContent=+"center";var H=mxUtils.button(mxResources.get("moreResults"),function(){fa()});H.setAttribute("title",mxResources.get("moreResults"));H.className="geBtn gePrimaryBtn";H.style.borderRadius="16px";H.style.padding="8px 12px";G.appendChild(H);h.appendChild(G);var M="",N=!1,K=!1,T=0,W={},S=12,V=mxUtils.bind(this,function(){N=!1;this.currentSearch=null;for(var P=h.firstChild;null!=P;){var Z=P.nextSibling;P!=l&&P!=G&&P.parentNode.removeChild(P);P=Z}});mxEvent.addListener(k,"click",function(){k.getAttribute("src")!=+Editor.magnifyImage&&e();q.focus()});var fa=mxUtils.bind(this,function(){f.hideCurrentMenu();S=4*Math.max(1,Math.floor(this.container.clientWidth/(this.thumbWidth+10)));this.hideTooltip();if(""!=q.value){if(null!=G.parentNode&&(M!=q.value&&(V(),M=q.value,W={},K=!1,T=0),!N&&!K)){H.setAttribute("disabled","true");G.style.display="flex";H.style.cursor="wait";H.innerHTML="";mxUtils.write(H,mxResources.get("loading")+"...");N=!0;var P={};this.currentSearch=P;try{this.searchEntries(M,S,T,mxUtils.bind(this,+function(Z,X,ba,L){if(this.currentSearch==P){Z=null!=Z?Z:[];N=!1;T++;this.insertSearchHint(h,M,S,T,Z,X,ba,L);0==Z.length&&1==T&&(M="");null!=G.parentNode&&G.parentNode.removeChild(G);for(X=0;X<Z.length;X++)mxUtils.bind(this,function(U){try{var aa=U();null!=this.closedLibraryOpacity&&this.searchClosedLibraries&&this.isEntryIgnored(U,!1)&&(aa.style.opacity=this.closedLibraryOpacity);null==W[aa.innerHTML]?(W[aa.innerHTML]=null!=U.parentLibraries?U.parentLibraries.slice():[],h.appendChild(aa)):null!=U.parentLibraries&&(W[aa.innerHTML]=W[aa.innerHTML].concat(U.parentLibraries));mxEvent.addGestureListeners(aa,null,null,mxUtils.bind(this,function(ha){var ma=W[aa.innerHTML];mxEvent.isPopupTrigger(ha)&&this.showPopupMenuForEntry(aa,ma,ha)}));mxEvent.disableContextMenu(aa)}catch(ha){"1"==urlParams.test&&(null==window.console||EditorUi.isElectronApp?(mxLog.show(),mxLog.debug(ha.stack)):console.error(ha))}})(Z[X]);ba?(H.removeAttribute("disabled"),H.innerHTML="",mxUtils.write(H,mxResources.get("moreResults"))):-(H.innerHTML=mxResources.get("reset"),F.style.display="none",K=!0);H.style.cursor="";h.appendChild(F)}}),mxUtils.bind(this,function(){H.style.cursor=""}),this.searchClosedLibraries)}catch(Z){f.handleError(Z)}}}else V(),M=r.value="",W={},F.style.display="none",K=!1,r.focus()});this.searchShapes=function(P){r.value=P;fa()};mxEvent.addListener(r,"keydown",mxUtils.bind(this,function(P){13==P.keyCode&&null!=D?(D(P,P),mxEvent.consume(P)):9==P.keyCode?(g.container.focus(),mxEvent.consume(P)):27==P.keyCode&&-(e(),mxEvent.consume(P))}));a=mxUtils.bind(this,function(){window.setTimeout(mxUtils.bind(this,function(){""==r.value?(k.setAttribute("src",Editor.magnifyImage),k.setAttribute("title",mxResources.get("search"))):(k.setAttribute("src",Editor.crossImage),k.setAttribute("title",mxResources.get("reset")));""==r.value?(K=!0,F.style.display="none"):r.value!=M?(F.style.display="none",K=!1):N||(F.style.display=K?"none":"flex")}),0)});mxEvent.addListener(r,"keyup",a);mxEvent.addListener(r,"paste",a);mxEvent.addListener(r,-"cut",a);mxEvent.addListener(r,"mousedown",function(P){P.stopPropagation&&P.stopPropagation();P.cancelBubble=!0});mxEvent.addListener(r,"selectstart",function(P){P.stopPropagation&&P.stopPropagation();P.cancelBubble=!0});a=document.createElement("div");a.appendChild(h);this.appendChild(a);this.palettes.search=[d,a]};+(H.innerHTML=mxResources.get("reset"),G.style.display="none",K=!0);H.style.cursor="";h.appendChild(G)}}),mxUtils.bind(this,function(){H.style.cursor=""}),this.searchClosedLibraries)}catch(Z){f.handleError(Z)}}}else V(),M=q.value="",W={},G.style.display="none",K=!1,q.focus()});this.searchShapes=function(P){q.value=P;fa()};mxEvent.addListener(q,"keydown",mxUtils.bind(this,function(P){13==P.keyCode&&null!=D?(D(P,P),mxEvent.consume(P)):9==P.keyCode?(g.container.focus(),mxEvent.consume(P)):27==P.keyCode&&+(e(),mxEvent.consume(P))}));a=mxUtils.bind(this,function(){window.setTimeout(mxUtils.bind(this,function(){""==q.value?(k.setAttribute("src",Editor.magnifyImage),k.setAttribute("title",mxResources.get("search"))):(k.setAttribute("src",Editor.crossImage),k.setAttribute("title",mxResources.get("reset")));""==q.value?(K=!0,G.style.display="none"):q.value!=M?(G.style.display="none",K=!1):N||(G.style.display=K?"none":"flex")}),0)});mxEvent.addListener(q,"keyup",a);mxEvent.addListener(q,"paste",a);mxEvent.addListener(q,+"cut",a);mxEvent.addListener(q,"mousedown",function(P){P.stopPropagation&&P.stopPropagation();P.cancelBubble=!0});mxEvent.addListener(q,"selectstart",function(P){P.stopPropagation&&P.stopPropagation();P.cancelBubble=!0});a=document.createElement("div");a.appendChild(h);this.appendChild(a);this.palettes.search=[d,a]};Sidebar.prototype.insertSearchHint=function(a,b,e,f,g,d,h,l){0==g.length&&1==f&&(e=document.createElement("div"),e.className="geSidebarText",b=mxResources.get("noResultsFor",[b]),e.setAttribute("title",b),mxUtils.write(e,b),a.appendChild(e))};Sidebar.prototype.addGeneralPalette=function(a){this.setCurrentSearchEntryLibrary("general","general");var b=this.editorUi.editor.graph,e=this,f=parseInt(this.initialDefaultVertexStyle.fontSize);f=isNaN(f)?"":"fontSize="+Math.min(16,f)+";";var g=b.appendFontSize("edgeLabel;resizable=0;html=1;",b.edgeFontSize),d=new mxCell("List Item",new mxGeometry(0,0,80,30),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;"+f);d.vertex=!0;b=[this.createVertexTemplateEntry("rounded=0;whiteSpace=wrap;html=1;",120,60,"","Rectangle",null,null,"rect rectangle box"),this.createVertexTemplateEntry("rounded=1;whiteSpace=wrap;html=1;",120,60,"","Rounded Rectangle",null,null,"rounded rect rectangle box"),this.createVertexTemplateEntry(b.appendFontSize(Editor.defaultTextStyle,b.vertexFontSize),60,30,"Text","Text",null,null,"text textbox textarea label"),this.createVertexTemplateEntry("text;html=1;whiteSpace=wrap;overflow=hidden;rounded=0;",@@ -2487,106 +2487,106 @@ d.geometry.setTerminalPoint(new mxPoint(0,0),!0);d.geometry.setTerminalPoint(new0,"Use","Dependency",null,"uml dependency use"),this.createEdgeTemplateEntry("endArrow=block;endSize=16;endFill=0;html=1;",160,0,"Extends","Generalization",null,"uml generalization extend"),this.createEdgeTemplateEntry("endArrow=block;startArrow=block;endFill=1;startFill=1;html=1;",160,0,"","Association 2",null,"uml association"),this.createEdgeTemplateEntry("endArrow=open;startArrow=circlePlus;endFill=0;startFill=0;endSize=8;html=1;",160,0,"","Inner Class",null,"uml inner class"),this.createEdgeTemplateEntry("endArrow=open;startArrow=cross;endFill=0;startFill=0;endSize=8;startSize=10;html=1;",160,0,"","Terminate",null,"uml terminate"),this.createEdgeTemplateEntry("endArrow=block;dashed=1;endFill=0;endSize=12;html=1;",160,0,"","Implementation",null,"uml realization implementation"),this.createEdgeTemplateEntry("endArrow=diamondThin;endFill=0;endSize=24;html=1;",160,0,"","Aggregation 2",null,"uml aggregation"),this.createEdgeTemplateEntry("endArrow=diamondThin;endFill=1;endSize=24;html=1;",160,0,"","Composition 2",null,"uml composition"),this.createEdgeTemplateEntry("endArrow=open;endFill=1;endSize=12;html=1;",160,0,"","Association 3",null,"uml association")];this.addPaletteFunctions("uml",mxResources.get("uml"),a||!1,g);this.setCurrentSearchEntryLibrary()};Sidebar.prototype.createTitle=function(a){var b=document.createElement("a");b.setAttribute("title",mxResources.get("sidebarTooltip"));b.className="geTitle";var e=document.createElement("span");mxUtils.write(e,a);b.appendChild(e);return b};-Sidebar.prototype.createThumb=function(a,b,e,f,g,d,h,l,r,k,u,w){this.graph.labelsVisible=null==d||d;d=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;this.graph.shapeForegroundColor="light-dark(#000000, #ffffff)";this.graph.shapeBackgroundColor=null!=k?k:"light-dark(var(--ge-panel-color), var(--ge-dark-panel-color))";this.graph.view.scaleAndTranslate(null!=w?w:1,0,0);this.graph.addCells(a);a=this.graph.getGraphBounds();null==w&&(k=Math.floor(100*Math.min((b-2*this.thumbBorder)/+Sidebar.prototype.createThumb=function(a,b,e,f,g,d,h,l,q,k,u,w){this.graph.labelsVisible=null==d||d;d=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;this.graph.shapeForegroundColor="light-dark(#000000, #ffffff)";this.graph.shapeBackgroundColor=null!=k?k:"light-dark(var(--ge-panel-color), var(--ge-dark-panel-color))";this.graph.view.scaleAndTranslate(null!=w?w:1,0,0);this.graph.addCells(a);a=this.graph.getGraphBounds();null==w&&(k=Math.floor(100*Math.min((b-2*this.thumbBorder)/a.width,(e-2*this.thumbBorder)/a.height))/100,this.graph.view.scaleAndTranslate(k,(b-a.width*k)/2/k-a.x,(e-a.height*k)/2/k-a.y));this.graph.dialect!=mxConstants.DIALECT_SVG||mxClient.NO_FO||null==this.graph.view.getCanvas().ownerSVGElement?(k=this.graph.container.cloneNode(!1),k.innerHTML=this.graph.container.innerHTML):k=this.graph.view.getCanvas().ownerSVGElement.cloneNode(!0);this.graph.getModel().clear();this.graph.view.scaleAndTranslate(1,0,0);mxClient.NO_FO=d;k.style.position="relative";k.style.overflow=null!=w?"visible":"hidden";k.style.left=(null!=u?u:this.thumbBorder-1)+"px";k.style.top=k.style.left;k.style.width=b+"px";k.style.height=e+"px";k.style.visibility="";k.style.minWidth="";k.style.minHeight="";this.disablePointerEvents(k);f.appendChild(k);this.sidebarTitles&&null!=g&&0!=h&&(f.style.height=this.thumbHeight+0+this.sidebarTitleSize+8+"px",b=document.createElement("div"),b.style.color=Editor.isDarkMode()?"#A0A0A0":"#303030",b.style.fontSize=this.sidebarTitleSize+"px",b.style.textAlign="center",b.style.whiteSpace="nowrap",b.style.overflow="hidden",b.style.textOverflow="ellipsis",mxClient.IS_IE&&(b.style.height=this.sidebarTitleSize+12+"px"),b.style.paddingTop="4px",mxUtils.write(b,g),f.appendChild(b));return a};Sidebar.prototype.createSection=function(a){return mxUtils.bind(this,function(){var b=document.createElement("div");b.setAttribute("title",a);b.style.textOverflow="ellipsis";b.style.whiteSpace="nowrap";b.style.textAlign="center";b.style.overflow="hidden";b.style.width="100%";b.style.padding="14px 0";mxUtils.write(b,a);return b})};-Sidebar.prototype.createItem=function(a,b,e,f,g,d,h,l,r,k,u,w,y,A,G){l=null!=l?l:!0;k=null!=k?k:this.thumbWidth;u=null!=u?u:this.thumbHeight;var D=G;if(null==D){D=document.createElement("a");var F=2*this.thumbBorder;D.style.width=k+F+"px";D.style.height=u+F+"px"}mxEvent.addListener(D,"click",function(M){mxEvent.consume(M)});var H=new mxRectangle(0,0,g,d);null!=a&&0<a.length?(F=a,a=this.graph.cloneCells(a),this.graph.pasteCellStyles(this.graph.includeDescendants(F),this.initialDefaultVertexStyle,this.initialDefaultEdgeStyle),-null!=w?(D.className="geButton",D.style.backgroundImage="url("+w+")",D.style.backgroundRepeat="no-repeat",D.style.backgroundPosition="center",D.style.backgroundSize="24px 24px"):null==G&&(D.className="geItem",this.createThumb(F,k,u,D,b,e,f,g,d)),1<a.length||a[0].vertex?(f=this.createDragSource(D,this.createDropHandler(a,!0,h,H,y,A),this.createDragPreview(g,d),a,H,y),this.addClickHandler(D,f,a,r,y),f.isGuidesEnabled=mxUtils.bind(this,function(){return this.editorUi.editor.graph.graphHandler.guidesEnabled})):-null!=a[0]&&a[0].edge&&(f=this.createDragSource(D,this.createDropHandler(a,!1,h,H,y,A),this.createDragPreview(g,d),a,H,y),this.addClickHandler(D,f,a,r)),!mxClient.IS_IOS&&l&&mxEvent.addGestureListeners(D,null,mxUtils.bind(this,function(M){mxEvent.isMouseEvent(M)&&this.showTooltip(D,a,H.width,H.height,b,e)}))):null==G&&(D.style.backgroundImage="url("+Editor.svgBrokenImage.src+")",D.setAttribute("title",b));return D};+Sidebar.prototype.createItem=function(a,b,e,f,g,d,h,l,q,k,u,w,y,A,F){l=null!=l?l:!0;k=null!=k?k:this.thumbWidth;u=null!=u?u:this.thumbHeight;var D=F;if(null==D){D=document.createElement("a");var G=2*this.thumbBorder;D.style.width=k+G+"px";D.style.height=u+G+"px"}mxEvent.addListener(D,"click",function(M){mxEvent.consume(M)});var H=new mxRectangle(0,0,g,d);null!=a&&0<a.length?(G=a,a=this.graph.cloneCells(a),this.graph.pasteCellStyles(this.graph.includeDescendants(G),this.initialDefaultVertexStyle,this.initialDefaultEdgeStyle),+null!=w?(D.className="geButton",D.style.backgroundImage="url("+w+")",D.style.backgroundRepeat="no-repeat",D.style.backgroundPosition="center",D.style.backgroundSize="24px 24px"):null==F&&(D.className="geItem",this.createThumb(G,k,u,D,b,e,f,g,d)),1<a.length||a[0].vertex?(f=this.createDragSource(D,this.createDropHandler(a,!0,h,H,y,A),this.createDragPreview(g,d),a,H,y),this.addClickHandler(D,f,a,q,y),f.isGuidesEnabled=mxUtils.bind(this,function(){return this.editorUi.editor.graph.graphHandler.guidesEnabled})):+null!=a[0]&&a[0].edge&&(f=this.createDragSource(D,this.createDropHandler(a,!1,h,H,y,A),this.createDragPreview(g,d),a,H,y),this.addClickHandler(D,f,a,q)),!mxClient.IS_IOS&&l&&mxEvent.addGestureListeners(D,null,mxUtils.bind(this,function(M){mxEvent.isMouseEvent(M)&&this.showTooltip(D,a,H.width,H.height,b,e)}))):null==F&&(D.style.backgroundImage="url("+Editor.svgBrokenImage.src+")",D.setAttribute("title",b));return D};Sidebar.prototype.prepareCellsForInsert=function(a){if(null!=a&&0<a.length)for(var b=this.graph.getModel(),e=0;e<a.length;e++)if(this.prepareCellsForInsert(b.getChildren(a[e])),b.isVertex(a[e])){var f=b.getEdges(a[e]),g=this.graph.getCellStyle(a[e]);null!=f&&0!=f.length||null==g||1!=mxUtils.getValue(g,mxConstants.STYLE_FLIPV,0)&&1!=mxUtils.getValue(g,mxConstants.STYLE_FLIPH,0)&&1!=mxUtils.getValue(g,"stencilFlipH",0)&&1!=mxUtils.getValue(g,"stencilFlipV",0)||this.graph.setCellStyles("legacyAnchorPoints","0",[a[e]])}};-Sidebar.prototype.createDropHandler=function(a,b,e,f,g,d){e=null!=e?e:!0;this.prepareCellsForInsert.call(this,a);return mxUtils.bind(this,function(h,l,r,k,u,w){for(w=w?null:mxEvent.isTouchEvent(l)||mxEvent.isPenEvent(l)?document.elementFromPoint(mxEvent.getClientX(l),mxEvent.getClientY(l)):mxEvent.getSource(l);null!=w&&w!=this.container;)w=w.parentNode;if(null==w&&h.isEnabled()){a=h.getImportableCells(a);if(0<a.length){h.stopEditing();w=null==r||mxEvent.isAltDown(l)?!1:h.isValidDropTarget(r,a,l);-var y=null;null==r||w||(r=null);if(!h.isCellLocked(r||h.getDefaultParent())){h.model.beginUpdate();try{k=Math.round(k);u=Math.round(u);if(b&&h.isSplitTarget(r,a,l)){var A=h.view.scale,G=h.view.translate,D=(k+G.x)*A,F=(u+G.y)*A,H=h.cloneCells(a);h.splitEdge(r,H,null,k-f.width/2,u-f.height/2,D,F);y=H}else if(0<a.length&&(y=h.importCells(a,k,u,r),h.model.isVertex(d)&&1==y.length&&h.model.isVertex(y[0]))){var M=h.insertEdge(h.model.getParent(d),null,"",d,y[0],h.createCurrentEdgeStyle());h.applyNewEdgeStyle(d,-[M]);y.push(M);h.connectionHandler.insertBeforeSource&&h.insertEdgeBeforeCell(M,d)}if(null!=h.layoutManager){var N=h.layoutManager.getLayout(r);if(null!=N){A=h.view.scale;G=h.view.translate;D=(k+G.x)*A;F=(u+G.y)*A;for(var K=0;K<y.length;K++)N.moveCell(y[K],D,F)}}!e||null!=l&&mxEvent.isShiftDown(l)||h.fireEvent(new mxEventObject("cellsInserted","cells",y));for(K=0;K<y.length;K++)h.model.isVertex(y[K])&&h.isAutoSizeCell(y[K])&&h.updateCellSize(y[K])}catch(T){this.editorUi.handleError(T)}finally{h.model.endUpdate()}null!=+Sidebar.prototype.createDropHandler=function(a,b,e,f,g,d){e=null!=e?e:!0;this.prepareCellsForInsert.call(this,a);return mxUtils.bind(this,function(h,l,q,k,u,w){for(w=w?null:mxEvent.isTouchEvent(l)||mxEvent.isPenEvent(l)?document.elementFromPoint(mxEvent.getClientX(l),mxEvent.getClientY(l)):mxEvent.getSource(l);null!=w&&w!=this.container;)w=w.parentNode;if(null==w&&h.isEnabled()){a=h.getImportableCells(a);if(0<a.length){h.stopEditing();w=null==q||mxEvent.isAltDown(l)?!1:h.isValidDropTarget(q,a,l);+var y=null;null==q||w||(q=null);if(!h.isCellLocked(q||h.getDefaultParent())){h.model.beginUpdate();try{k=Math.round(k);u=Math.round(u);if(b&&h.isSplitTarget(q,a,l)){var A=h.view.scale,F=h.view.translate,D=(k+F.x)*A,G=(u+F.y)*A,H=h.cloneCells(a);h.splitEdge(q,H,null,k-f.width/2,u-f.height/2,D,G);y=H}else if(0<a.length&&(y=h.importCells(a,k,u,q),h.model.isVertex(d)&&1==y.length&&h.model.isVertex(y[0]))){var M=h.insertEdge(h.model.getParent(d),null,"",d,y[0],h.createCurrentEdgeStyle());h.applyNewEdgeStyle(d,+[M]);y.push(M);h.connectionHandler.insertBeforeSource&&h.insertEdgeBeforeCell(M,d)}if(null!=h.layoutManager){var N=h.layoutManager.getLayout(q);if(null!=N){A=h.view.scale;F=h.view.translate;D=(k+F.x)*A;G=(u+F.y)*A;for(var K=0;K<y.length;K++)N.moveCell(y[K],D,G)}}!e||null!=l&&mxEvent.isShiftDown(l)||h.fireEvent(new mxEventObject("cellsInserted","cells",y));for(K=0;K<y.length;K++)h.model.isVertex(y[K])&&h.isAutoSizeCell(y[K])&&h.updateCellSize(y[K])}catch(T){this.editorUi.handleError(T)}finally{h.model.endUpdate()}null!=y&&0<y.length&&(h.scrollCellToVisible(y[0]),h.setSelectionCells(y));(g||h.editAfterInsert&&null!=l&&mxEvent.isMouseEvent(l)&&null!=y&&1==y.length)&&window.setTimeout(function(){h.startEditing(y[0])},0)}}mxEvent.consume(l)}})};Sidebar.prototype.createDragPreview=function(a,b){var e=document.createElement("div");e.className="geDragPreview";e.style.width=a+"px";e.style.height=b+"px";return e};-Sidebar.prototype.dropAndConnect=function(a,b,e,f,g,d,h){var l=this.editorUi.editor.graph,r=l.model.isEdge(a)||null!=d?d:h;r=this.getDropAndConnectGeometry(a,b[r],e,b);var k=[];if(null!=r){var u=null;l.model.beginUpdate();try{var w=l.getCellGeometry(a),y=l.getCellGeometry(b[f]),A=l.model.getParent(a),G=!0;if(null!=l.layoutManager){var D=l.layoutManager.getLayout(A);null!=D&&D.constructor==mxStackLayout&&(G=!1)}k=l.model.isEdge(a)?null:l.view.getState(A);var F=D=0;if(null!=k){var H=k.origin;D=H.x;-F=H.y}var M=!l.isTableRow(a)&&!l.isTableCell(a)&&(l.model.isEdge(a)||null!=w&&!w.relative&&G),N=l.getCellAt((r.x+D+l.view.translate.x)*l.view.scale,(r.y+F+l.view.translate.y)*l.view.scale,null,null,null,function(fa,P,Z){return!l.isContainer(fa.cell)});if(null!=N&&N!=A)k=l.view.getState(N),null!=k&&(H=k.origin,A=N,M=!0,l.model.isEdge(a)||(r.x-=H.x-D,r.y-=H.y-F));else if(!G||l.isTableRow(a)||l.isTableCell(a))r.x+=D,r.y+=F;D=y.x;F=y.y;l.model.isEdge(b[f])&&(F=D=0);k=b=l.importCells(b,r.x-(M?D:0),r.y--(M?F:0),M?A:null);if(l.model.isEdge(a))l.model.setTerminal(a,b[f],e==mxConstants.DIRECTION_NORTH),null!=h&&null!=d&&(l.model.remove(b[h]),l.updateShapes(b[h],[a]));else if(l.model.isEdge(b[f])&&null==d){l.model.setTerminal(b[f],a,!0);var K=l.getCellGeometry(b[f]),T=null!=K?K.getTerminalPoint(!0):null;K.points=null;if(null!=T)for(e=0;e<b.length;e++)if(l.model.isEdge(b[e])&&e!=f){var W=l.getCellGeometry(b[e]),S=null!=W?W.getTerminalPoint(!0):null;null!=S&&S.x==T.x&&S.y==T.y&&l.model.setTerminal(b[e],-a,!0)}if(null!=K.getTerminalPoint(!1))K.setTerminalPoint(r.getTerminalPoint(!1),!1);else if(M&&l.model.isVertex(A)){var V=l.view.getState(A);H=V.cell!=l.view.currentRoot?V.origin:new mxPoint(0,0);l.cellsMoved(b,H.x,H.y,null,null,!0)}}else null!=d&&(y=l.getCellGeometry(b[d]),D=r.x-Math.round(y.x),F=r.y-Math.round(y.y),r.x=Math.round(y.x),r.y=Math.round(y.y),l.model.setGeometry(b[f],r),l.cellsMoved(b,D,F,null,null,!0),k=b.slice(),u=1==k.length?k[0]:null,null!=h?l.model.setTerminal(b[h],a,!0):b.push(l.insertEdge(null,+Sidebar.prototype.dropAndConnect=function(a,b,e,f,g,d,h){var l=this.editorUi.editor.graph,q=l.model.isEdge(a)||null!=d?d:h;q=this.getDropAndConnectGeometry(a,b[q],e,b);var k=[];if(null!=q){var u=null;l.model.beginUpdate();try{var w=l.getCellGeometry(a),y=l.getCellGeometry(b[f]),A=l.model.getParent(a),F=!0;if(null!=l.layoutManager){var D=l.layoutManager.getLayout(A);null!=D&&D.constructor==mxStackLayout&&(F=!1)}k=l.model.isEdge(a)?null:l.view.getState(A);var G=D=0;if(null!=k){var H=k.origin;D=H.x;+G=H.y}var M=!l.isTableRow(a)&&!l.isTableCell(a)&&(l.model.isEdge(a)||null!=w&&!w.relative&&F),N=l.getCellAt((q.x+D+l.view.translate.x)*l.view.scale,(q.y+G+l.view.translate.y)*l.view.scale,null,null,null,function(fa,P,Z){return!l.isContainer(fa.cell)});if(null!=N&&N!=A)k=l.view.getState(N),null!=k&&(H=k.origin,A=N,M=!0,l.model.isEdge(a)||(q.x-=H.x-D,q.y-=H.y-G));else if(!F||l.isTableRow(a)||l.isTableCell(a))q.x+=D,q.y+=G;D=y.x;G=y.y;l.model.isEdge(b[f])&&(G=D=0);k=b=l.importCells(b,q.x-(M?D:0),q.y-+(M?G:0),M?A:null);if(l.model.isEdge(a))l.model.setTerminal(a,b[f],e==mxConstants.DIRECTION_NORTH),null!=h&&null!=d&&(l.model.remove(b[h]),l.updateShapes(b[h],[a]));else if(l.model.isEdge(b[f])&&null==d){l.model.setTerminal(b[f],a,!0);var K=l.getCellGeometry(b[f]),T=null!=K?K.getTerminalPoint(!0):null;K.points=null;if(null!=T)for(e=0;e<b.length;e++)if(l.model.isEdge(b[e])&&e!=f){var W=l.getCellGeometry(b[e]),S=null!=W?W.getTerminalPoint(!0):null;null!=S&&S.x==T.x&&S.y==T.y&&l.model.setTerminal(b[e],+a,!0)}if(null!=K.getTerminalPoint(!1))K.setTerminalPoint(q.getTerminalPoint(!1),!1);else if(M&&l.model.isVertex(A)){var V=l.view.getState(A);H=V.cell!=l.view.currentRoot?V.origin:new mxPoint(0,0);l.cellsMoved(b,H.x,H.y,null,null,!0)}}else null!=d&&(y=l.getCellGeometry(b[d]),D=q.x-Math.round(y.x),G=q.y-Math.round(y.y),q.x=Math.round(y.x),q.y=Math.round(y.y),l.model.setGeometry(b[f],q),l.cellsMoved(b,D,G,null,null,!0),k=b.slice(),u=1==k.length?k[0]:null,null!=h?l.model.setTerminal(b[h],a,!0):b.push(l.insertEdge(null,null,"",a,b[f],l.createCurrentEdgeStyle())));null!=g&&mxEvent.isShiftDown(g)||l.fireEvent(new mxEventObject("cellsInserted","cells",b))}catch(fa){this.editorUi.handleError(fa)}finally{l.model.endUpdate()}l.editAfterInsert&&null!=g&&mxEvent.isMouseEvent(g)&&null!=u&&window.setTimeout(function(){l.startEditing(u)},0)}null!=h&&1<k.length&&k.splice(h,1);return k};-Sidebar.prototype.getDropAndConnectGeometry=function(a,b,e,f){var g=this.editorUi.editor.graph,d=g.view,h=1<f.length,l=g.view.getState(a),r=g.getCellGeometry(a);f=g.getCellGeometry(b);null!=l&&null!=r&&null!=f&&(f=f.clone(),g.model.isEdge(a)?(r=l.absolutePoints,b=r[0],g=r[r.length-1],e==mxConstants.DIRECTION_NORTH?(f.x=b.x/d.scale-d.translate.x-f.width/2,f.y=b.y/d.scale-d.translate.y-f.height/2):(f.x=g.x/d.scale-d.translate.x-f.width/2,f.y=g.y/d.scale-d.translate.y-f.height/2)):(r.relative&&(r=r.clone(),-r.x=(l.x-d.translate.x)/d.scale,r.y=(l.y-d.translate.y)/d.scale),d=g.defaultEdgeLength,g.model.isEdge(b)&&null!=f.getTerminalPoint(!0)&&null!=f.getTerminalPoint(!1)?(b=f.getTerminalPoint(!0),g=f.getTerminalPoint(!1),d=g.x-b.x,b=g.y-b.y,d=Math.sqrt(d*d+b*b),f.x=r.getCenterX(),f.y=r.getCenterY(),f.width=1,f.height=1,e==mxConstants.DIRECTION_NORTH?(f.height=d,f.y=r.y-d,f.setTerminalPoint(new mxPoint(f.x,f.y),!1)):e==mxConstants.DIRECTION_EAST?(f.width=d,f.x=r.x+r.width,f.setTerminalPoint(new mxPoint(f.x+-f.width,f.y),!1)):e==mxConstants.DIRECTION_SOUTH?(f.height=d,f.y=r.y+r.height,f.setTerminalPoint(new mxPoint(f.x,f.y+f.height),!1)):e==mxConstants.DIRECTION_WEST&&(f.width=d,f.x=r.x-d,f.setTerminalPoint(new mxPoint(f.x,f.y),!1))):(!h&&45<f.width&&45<f.height&&45<r.width&&45<r.height&&(f.width*=r.height/f.height,f.height=r.height),f.x=r.x+r.width/2-f.width/2,f.y=r.y+r.height/2-f.height/2,e==mxConstants.DIRECTION_NORTH?f.y=f.y-r.height/2-f.height/2-d:e==mxConstants.DIRECTION_EAST?f.x=f.x+r.width/2+-f.width/2+d:e==mxConstants.DIRECTION_SOUTH?f.y=f.y+r.height/2+f.height/2+d:e==mxConstants.DIRECTION_WEST&&(f.x=f.x-r.width/2-f.width/2-d),g.model.isEdge(b)&&null!=f.getTerminalPoint(!0)&&null!=b.getTerminal(!1)&&(r=g.getCellGeometry(b.getTerminal(!1)),null!=r&&(e==mxConstants.DIRECTION_NORTH?(f.x-=r.getCenterX(),f.y-=r.getCenterY()+r.height/2):e==mxConstants.DIRECTION_EAST?(f.x-=r.getCenterX()-r.width/2,f.y-=r.getCenterY()):e==mxConstants.DIRECTION_SOUTH?(f.x-=r.getCenterX(),f.y-=r.getCenterY()-r.height/-2):e==mxConstants.DIRECTION_WEST&&(f.x-=r.getCenterX()+r.width/2,f.y-=r.getCenterY()))))));return f};Sidebar.prototype.isDropStyleEnabled=function(a,b){var e=!0;null!=b&&1==a.length&&(a=this.graph.getCellStyle(a[b]),null!=a&&(e=mxUtils.getValue(a,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(a,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE)!=mxConstants.NONE));return e};+Sidebar.prototype.getDropAndConnectGeometry=function(a,b,e,f){var g=this.editorUi.editor.graph,d=g.view,h=1<f.length,l=g.view.getState(a),q=g.getCellGeometry(a);f=g.getCellGeometry(b);null!=l&&null!=q&&null!=f&&(f=f.clone(),g.model.isEdge(a)?(q=l.absolutePoints,b=q[0],g=q[q.length-1],e==mxConstants.DIRECTION_NORTH?(f.x=b.x/d.scale-d.translate.x-f.width/2,f.y=b.y/d.scale-d.translate.y-f.height/2):(f.x=g.x/d.scale-d.translate.x-f.width/2,f.y=g.y/d.scale-d.translate.y-f.height/2)):(q.relative&&(q=q.clone(),+q.x=(l.x-d.translate.x)/d.scale,q.y=(l.y-d.translate.y)/d.scale),d=g.defaultEdgeLength,g.model.isEdge(b)&&null!=f.getTerminalPoint(!0)&&null!=f.getTerminalPoint(!1)?(b=f.getTerminalPoint(!0),g=f.getTerminalPoint(!1),d=g.x-b.x,b=g.y-b.y,d=Math.sqrt(d*d+b*b),f.x=q.getCenterX(),f.y=q.getCenterY(),f.width=1,f.height=1,e==mxConstants.DIRECTION_NORTH?(f.height=d,f.y=q.y-d,f.setTerminalPoint(new mxPoint(f.x,f.y),!1)):e==mxConstants.DIRECTION_EAST?(f.width=d,f.x=q.x+q.width,f.setTerminalPoint(new mxPoint(f.x++f.width,f.y),!1)):e==mxConstants.DIRECTION_SOUTH?(f.height=d,f.y=q.y+q.height,f.setTerminalPoint(new mxPoint(f.x,f.y+f.height),!1)):e==mxConstants.DIRECTION_WEST&&(f.width=d,f.x=q.x-d,f.setTerminalPoint(new mxPoint(f.x,f.y),!1))):(!h&&45<f.width&&45<f.height&&45<q.width&&45<q.height&&(f.width*=q.height/f.height,f.height=q.height),f.x=q.x+q.width/2-f.width/2,f.y=q.y+q.height/2-f.height/2,e==mxConstants.DIRECTION_NORTH?f.y=f.y-q.height/2-f.height/2-d:e==mxConstants.DIRECTION_EAST?f.x=f.x+q.width/2++f.width/2+d:e==mxConstants.DIRECTION_SOUTH?f.y=f.y+q.height/2+f.height/2+d:e==mxConstants.DIRECTION_WEST&&(f.x=f.x-q.width/2-f.width/2-d),g.model.isEdge(b)&&null!=f.getTerminalPoint(!0)&&null!=b.getTerminal(!1)&&(q=g.getCellGeometry(b.getTerminal(!1)),null!=q&&(e==mxConstants.DIRECTION_NORTH?(f.x-=q.getCenterX(),f.y-=q.getCenterY()+q.height/2):e==mxConstants.DIRECTION_EAST?(f.x-=q.getCenterX()-q.width/2,f.y-=q.getCenterY()):e==mxConstants.DIRECTION_SOUTH?(f.x-=q.getCenterX(),f.y-=q.getCenterY()-q.height/+2):e==mxConstants.DIRECTION_WEST&&(f.x-=q.getCenterX()+q.width/2,f.y-=q.getCenterY()))))));return f};Sidebar.prototype.isDropStyleEnabled=function(a,b){var e=!0;null!=b&&1==a.length&&(a=this.graph.getCellStyle(a[b]),null!=a&&(e=mxUtils.getValue(a,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(a,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE)!=mxConstants.NONE));return e};Sidebar.prototype.isDropStyleTargetIgnored=function(a){return this.graph.isSwimlane(a.cell)||this.graph.isTableCell(a.cell)||this.graph.isTableRow(a.cell)||this.graph.isTable(a.cell)};Sidebar.prototype.disablePointerEvents=function(a){mxUtils.visitNodes(a,mxUtils.bind(this,function(b){b.nodeType==mxConstants.NODETYPE_ELEMENT&&null!=b.style&&(b.style.pointerEvents="none",b.removeAttribute("pointer-events"))}))};-Sidebar.prototype.createDragSource=function(a,b,e,f,g,d){function h(ja,va){var za=mxUtils.createImage(ja.src);za.style.width=ja.width+"px";za.style.height=ja.height+"px";null!=va&&za.setAttribute("title",va);mxUtils.setOpacity(za,ja==this.refreshTarget?30:20);za.style.position="absolute";za.style.cursor="crosshair";return za}function l(ja,va,za,La){null!=La.parentNode&&(mxUtils.contains(za,ja,va)?(mxUtils.setOpacity(La,100),U=La):mxUtils.setOpacity(La,La==P?30:20));return za}var r=this.editorUi,k=-r.editor.graph,u=null,w=null,y=this;d=0;for(var A=this.livePreview,G=0;G<f.length&&A;G++)d+=k.model.getDescendants(f[G]).length,A=d<k.graphHandler.maxLivePreview;for(G=0;G<f.length&&(null==w&&k.model.isVertex(f[G])?w=G:null==u&&k.model.isEdge(f[G])&&null==k.model.getTerminal(f[G],!0)&&(u=G),null==w||null==u);G++);var D=this.isDropStyleEnabled(f,w),F=mxUtils.makeDraggable(a,k,mxUtils.bind(this,function(ja,va,za,La,Na){null!=this.updateThread&&window.clearTimeout(this.updateThread);if(null!=f&&null!=-K&&U==P){var Ja=ja.isCellSelected(K.cell)?ja.getSelectionCells():[K.cell];ja.updateShapes(ja.model.isEdge(K.cell)?f[0]:f[w],Ja,!0);ja.setSelectionCells(Ja)}else null!=f&&null!=U&&null!=M&&U!=P?(Ja=ja.model.isEdge(M.cell)||null==u?w:u,ja.setSelectionCells(this.dropAndConnect(M.cell,f,L,Ja,va,w,u))):b.apply(this,arguments);null!=this.editorUi.hoverIcons&&this.editorUi.hoverIcons.update(ja.view.getState(ja.getSelectionCell()))}),e,0,0,k.autoscroll,!0,!0);A&&(F.createDragElement=mxUtils.bind(this,function(){return F.createPreviewElement(this.graph)}),-F.createPreviewElement=mxUtils.bind(this,function(ja){var va=document.createElement("a");va.className="geItem";va.style.overflow="visible";ja=ja.view.scale;va.style.width=ja*Math.max(1,g.width)+"px";va.style.height=ja*Math.max(1,g.height)+"px";mxUtils.setOpacity(va,50);var za=k.cloneCells(f);this.graph.pasteCellStyles(k.includeDescendants(za),k.currentVertexStyle,k.currentEdgeStyle,null,k.pasteEdgeStyle);y.createThumb(za,ja*Math.max(1,g.width),ja*Math.max(1,g.height),va,null,null,null,null,null,k.shapeBackgroundColor,-0,ja);return va}));var H=F.mouseDown;F.mouseDown=function(ja){mxEvent.isPopupTrigger(ja)||mxEvent.isMultiTouchEvent(ja)||k.isCellLocked(k.getDefaultParent())||(k.stopEditing(),H.apply(this,arguments))};var M=null,N=null,K=null,T=!1,W=h(this.triangleUp,mxResources.get("connect")),S=h(this.triangleRight,mxResources.get("connect")),V=h(this.triangleDown,mxResources.get("connect")),fa=h(this.triangleLeft,mxResources.get("connect")),P=h(this.refreshTarget,mxResources.get("replace")),Z=null,X=h(this.roundDrop),-ba=h(this.roundDrop),L=mxConstants.DIRECTION_NORTH,U=null,aa=F.createPreviewElement;F.createPreviewElement=function(ja){var va=aa.apply(this,arguments);this.previewElementWidth=va.style.width;this.previewElementHeight=va.style.height;va.style.pointerEvents="none";return va};var ha=F.dragEnter;F.dragEnter=function(ja,va){null!=r.hoverIcons&&r.hoverIcons.setDisplay("none");ha.apply(this,arguments)};var ma=F.dragExit;F.dragExit=function(ja,va){null!=r.hoverIcons&&r.hoverIcons.setDisplay("");ma.apply(this,-arguments)};F.dragOver=function(ja,va){mxDragSource.prototype.dragOver.apply(this,arguments);null!=this.currentGuide&&null!=U&&this.currentGuide.hide();if(null!=this.previewElement){r.hideShapePicker();var za=ja.view;if(null!=K&&U==P)this.previewElement.style.display="none";else if(null!=M&&null!=U){null!=F.currentHighlight&&null!=F.currentHighlight.state&&F.currentHighlight.hide();var La=ja.model.isEdge(M.cell)||null!=w?w:u,Na=y.getDropAndConnectGeometry(M.cell,f[La],L,f),Ja=ja.model.isEdge(M.cell)?-null:ja.getCellGeometry(M.cell),Ka=ja.getCellGeometry(f[La]),ta=ja.model.getParent(M.cell),Ea=za.translate.x*za.scale,Wa=za.translate.y*za.scale;null!=Ja&&!Ja.relative&&ja.model.isVertex(ta)&&ta!=za.currentRoot&&(Wa=za.getState(ta),Ea=Wa.x,Wa=Wa.y);Ja=Ka.x;Ka=Ka.y;ja.model.isEdge(f[La])&&(Ka=Ja=0);this.previewElement.style.left=(Na.x-Ja)*za.scale+Ea+"px";this.previewElement.style.top=(Na.y-Ka)*za.scale+Wa+"px";1==f.length&&(this.previewElement.style.width=Na.width*za.scale+"px",this.previewElement.style.height=-Na.height*za.scale+"px",null!=this.previewElement.firstChild&&(this.previewElement.firstChild.style.display="none",this.previewElement.className="geDragPreview",mxUtils.setOpacity(this.previewElement,100)));this.previewElement.style.display=""}else null!=F.currentHighlight&&null!=F.currentHighlight.state&&ja.model.isEdge(F.currentHighlight.state.cell)?(this.previewElement.style.left=Math.round(parseInt(this.previewElement.style.left)-g.width*za.scale/2)+"px",this.previewElement.style.top=Math.round(parseInt(this.previewElement.style.top)--g.height*za.scale/2)+"px"):(this.previewElement.style.width=this.previewElementWidth,this.previewElement.style.height=this.previewElementHeight,this.previewElement.style.display="",null!=this.previewElement.firstChild&&(this.previewElement.firstChild.style.display="",mxUtils.setOpacity(this.previewElement,50),this.previewElement.className=""))}};var oa=(new Date).getTime(),ca=0,la=null,ia=this.editorUi.editor.graph.getCellStyle(f[0]);F.getDropTarget=mxUtils.bind(this,function(ja,va,za,La){var Na=-mxEvent.isAltDown(La)||null==f?null:ja.getCellAt(va,za,null,null,null,function(Wa,Xa,bb){return ja.isContainer(Wa.cell)&&"0"!=mxUtils.getValue(Wa.style,"dropTarget","1")});if(null!=Na&&!this.graph.isCellConnectable(Na)&&!this.graph.model.isEdge(Na)){var Ja=this.graph.getModel().getParent(Na);this.graph.getModel().isVertex(Ja)&&this.graph.isCellConnectable(Ja)&&(Na=Ja)}ja.isCellLocked(Na)&&(Na=null);var Ka=ja.view.getState(Na);Ja=U=null;la!=Ka?(oa=(new Date).getTime(),ca=0,la=Ka,null!=this.updateThread&&-window.clearTimeout(this.updateThread),null!=Ka&&(this.updateThread=window.setTimeout(function(){null==U&&(la=Ka,F.getDropTarget(ja,va,za,La))},this.dropTargetDelay+10))):ca=(new Date).getTime()-oa;if(D&&2500>ca&&null!=Ka&&!mxEvent.isShiftDown(La)&&(mxUtils.getValue(Ka.style,mxConstants.STYLE_SHAPE)!=mxUtils.getValue(ia,mxConstants.STYLE_SHAPE)&&(mxUtils.getValue(Ka.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(Ka.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE)!=+Sidebar.prototype.createDragSource=function(a,b,e,f,g,d){function h(ja,va){var ya=mxUtils.createImage(ja.src);ya.style.width=ja.width+"px";ya.style.height=ja.height+"px";null!=va&&ya.setAttribute("title",va);mxUtils.setOpacity(ya,ja==this.refreshTarget?30:20);ya.style.position="absolute";ya.style.cursor="crosshair";return ya}function l(ja,va,ya,La){null!=La.parentNode&&(mxUtils.contains(ya,ja,va)?(mxUtils.setOpacity(La,100),U=La):mxUtils.setOpacity(La,La==P?30:20));return ya}var q=this.editorUi,k=+q.editor.graph,u=null,w=null,y=this;d=0;for(var A=this.livePreview,F=0;F<f.length&&A;F++)d+=k.model.getDescendants(f[F]).length,A=d<k.graphHandler.maxLivePreview;for(F=0;F<f.length&&(null==w&&k.model.isVertex(f[F])?w=F:null==u&&k.model.isEdge(f[F])&&null==k.model.getTerminal(f[F],!0)&&(u=F),null==w||null==u);F++);var D=this.isDropStyleEnabled(f,w),G=mxUtils.makeDraggable(a,k,mxUtils.bind(this,function(ja,va,ya,La,Na){null!=this.updateThread&&window.clearTimeout(this.updateThread);if(null!=f&&null!=+K&&U==P){var Ja=ja.isCellSelected(K.cell)?ja.getSelectionCells():[K.cell];ja.updateShapes(ja.model.isEdge(K.cell)?f[0]:f[w],Ja,!0);ja.setSelectionCells(Ja)}else null!=f&&null!=U&&null!=M&&U!=P?(Ja=ja.model.isEdge(M.cell)||null==u?w:u,ja.setSelectionCells(this.dropAndConnect(M.cell,f,L,Ja,va,w,u))):b.apply(this,arguments);null!=this.editorUi.hoverIcons&&this.editorUi.hoverIcons.update(ja.view.getState(ja.getSelectionCell()))}),e,0,0,k.autoscroll,!0,!0);A&&(G.createDragElement=mxUtils.bind(this,function(){return G.createPreviewElement(this.graph)}),+G.createPreviewElement=mxUtils.bind(this,function(ja){var va=document.createElement("a");va.className="geItem";va.style.overflow="visible";ja=ja.view.scale;va.style.width=ja*Math.max(1,g.width)+"px";va.style.height=ja*Math.max(1,g.height)+"px";mxUtils.setOpacity(va,50);var ya=k.cloneCells(f);this.graph.pasteCellStyles(k.includeDescendants(ya),k.currentVertexStyle,k.currentEdgeStyle,null,k.pasteEdgeStyle);y.createThumb(ya,ja*Math.max(1,g.width),ja*Math.max(1,g.height),va,null,null,null,null,null,k.shapeBackgroundColor,+0,ja);return va}));var H=G.mouseDown;G.mouseDown=function(ja){mxEvent.isPopupTrigger(ja)||mxEvent.isMultiTouchEvent(ja)||k.isCellLocked(k.getDefaultParent())||(k.stopEditing(),H.apply(this,arguments))};var M=null,N=null,K=null,T=!1,W=h(this.triangleUp,mxResources.get("connect")),S=h(this.triangleRight,mxResources.get("connect")),V=h(this.triangleDown,mxResources.get("connect")),fa=h(this.triangleLeft,mxResources.get("connect")),P=h(this.refreshTarget,mxResources.get("replace")),Z=null,X=h(this.roundDrop),+ba=h(this.roundDrop),L=mxConstants.DIRECTION_NORTH,U=null,aa=G.createPreviewElement;G.createPreviewElement=function(ja){var va=aa.apply(this,arguments);this.previewElementWidth=va.style.width;this.previewElementHeight=va.style.height;va.style.pointerEvents="none";return va};var ha=G.dragEnter;G.dragEnter=function(ja,va){null!=q.hoverIcons&&q.hoverIcons.setDisplay("none");ha.apply(this,arguments)};var ma=G.dragExit;G.dragExit=function(ja,va){null!=q.hoverIcons&&q.hoverIcons.setDisplay("");ma.apply(this,+arguments)};G.dragOver=function(ja,va){mxDragSource.prototype.dragOver.apply(this,arguments);null!=this.currentGuide&&null!=U&&this.currentGuide.hide();if(null!=this.previewElement){q.hideShapePicker();var ya=ja.view;if(null!=K&&U==P)this.previewElement.style.display="none";else if(null!=M&&null!=U){null!=G.currentHighlight&&null!=G.currentHighlight.state&&G.currentHighlight.hide();var La=ja.model.isEdge(M.cell)||null!=w?w:u,Na=y.getDropAndConnectGeometry(M.cell,f[La],L,f),Ja=ja.model.isEdge(M.cell)?+null:ja.getCellGeometry(M.cell),Ka=ja.getCellGeometry(f[La]),ta=ja.model.getParent(M.cell),Ea=ya.translate.x*ya.scale,Wa=ya.translate.y*ya.scale;null!=Ja&&!Ja.relative&&ja.model.isVertex(ta)&&ta!=ya.currentRoot&&(Wa=ya.getState(ta),Ea=Wa.x,Wa=Wa.y);Ja=Ka.x;Ka=Ka.y;ja.model.isEdge(f[La])&&(Ka=Ja=0);this.previewElement.style.left=(Na.x-Ja)*ya.scale+Ea+"px";this.previewElement.style.top=(Na.y-Ka)*ya.scale+Wa+"px";1==f.length&&(this.previewElement.style.width=Na.width*ya.scale+"px",this.previewElement.style.height=+Na.height*ya.scale+"px",null!=this.previewElement.firstChild&&(this.previewElement.firstChild.style.display="none",this.previewElement.className="geDragPreview",mxUtils.setOpacity(this.previewElement,100)));this.previewElement.style.display=""}else null!=G.currentHighlight&&null!=G.currentHighlight.state&&ja.model.isEdge(G.currentHighlight.state.cell)?(this.previewElement.style.left=Math.round(parseInt(this.previewElement.style.left)-g.width*ya.scale/2)+"px",this.previewElement.style.top=Math.round(parseInt(this.previewElement.style.top)-+g.height*ya.scale/2)+"px"):(this.previewElement.style.width=this.previewElementWidth,this.previewElement.style.height=this.previewElementHeight,this.previewElement.style.display="",null!=this.previewElement.firstChild&&(this.previewElement.firstChild.style.display="",mxUtils.setOpacity(this.previewElement,50),this.previewElement.className=""))}};var oa=(new Date).getTime(),ca=0,la=null,ia=this.editorUi.editor.graph.getCellStyle(f[0]);G.getDropTarget=mxUtils.bind(this,function(ja,va,ya,La){var Na=+mxEvent.isAltDown(La)||null==f?null:ja.getCellAt(va,ya,null,null,null,function(Wa,Xa,bb){return ja.isContainer(Wa.cell)&&"0"!=mxUtils.getValue(Wa.style,"dropTarget","1")});if(null!=Na&&!this.graph.isCellConnectable(Na)&&!this.graph.model.isEdge(Na)){var Ja=this.graph.getModel().getParent(Na);this.graph.getModel().isVertex(Ja)&&this.graph.isCellConnectable(Ja)&&(Na=Ja)}ja.isCellLocked(Na)&&(Na=null);var Ka=ja.view.getState(Na);Ja=U=null;la!=Ka?(oa=(new Date).getTime(),ca=0,la=Ka,null!=this.updateThread&&+window.clearTimeout(this.updateThread),null!=Ka&&(this.updateThread=window.setTimeout(function(){null==U&&(la=Ka,G.getDropTarget(ja,va,ya,La))},this.dropTargetDelay+10))):ca=(new Date).getTime()-oa;if(D&&2500>ca&&null!=Ka&&!mxEvent.isShiftDown(La)&&(mxUtils.getValue(Ka.style,mxConstants.STYLE_SHAPE)!=mxUtils.getValue(ia,mxConstants.STYLE_SHAPE)&&(mxUtils.getValue(Ka.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(Ka.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(Ka.style,mxConstants.STYLE_GRADIENTCOLOR,mxConstants.NONE)!=mxConstants.NONE)||"image"==mxUtils.getValue(ia,mxConstants.STYLE_SHAPE)||1500<ca||ja.model.isEdge(Ka.cell))&&ca>this.dropTargetDelay&&!this.isDropStyleTargetIgnored(Ka)&&(ja.model.isVertex(Ka.cell)&&null!=w||ja.model.isEdge(Ka.cell)&&ja.model.isEdge(f[0]))){if(ja.isCellEditable(Ka.cell)){K=Ka;var ta=ja.model.isEdge(Ka.cell)?ja.view.getPoint(Ka):new mxPoint(Ka.getCenterX(),Ka.getCenterY());ta=new mxRectangle(ta.x--this.refreshTarget.width/2,ta.y-this.refreshTarget.height/2,this.refreshTarget.width,this.refreshTarget.height);P.style.left=Math.floor(ta.x)+"px";P.style.top=Math.floor(ta.y)+"px";null==Z&&(ja.container.appendChild(P),Z=P.parentNode);l(va,za,ta,P)}}else null==K||!mxUtils.contains(K,va,za)||1500<ca&&!mxEvent.isShiftDown(La)?(K=null,null!=Z&&(P.parentNode.removeChild(P),Z=null)):null!=K&&null!=Z&&(ta=ja.model.isEdge(K.cell)?ja.view.getPoint(K):new mxPoint(K.getCenterX(),K.getCenterY()),ta=new mxRectangle(ta.x--this.refreshTarget.width/2,ta.y-this.refreshTarget.height/2,this.refreshTarget.width,this.refreshTarget.height),l(va,za,ta,P));if(T&&null!=M&&!mxEvent.isAltDown(La)&&null==U){Ja=mxRectangle.fromRectangle(M);if(ja.model.isEdge(M.cell)){var Ea=M.absolutePoints;null!=X.parentNode&&(ta=Ea[0],Ja.add(l(va,za,new mxRectangle(ta.x-this.roundDrop.width/2,ta.y-this.roundDrop.height/2,this.roundDrop.width,this.roundDrop.height),X)));null!=ba.parentNode&&(Ea=Ea[Ea.length-1],Ja.add(l(va,za,new mxRectangle(Ea.x-+this.refreshTarget.width/2,ta.y-this.refreshTarget.height/2,this.refreshTarget.width,this.refreshTarget.height);P.style.left=Math.floor(ta.x)+"px";P.style.top=Math.floor(ta.y)+"px";null==Z&&(ja.container.appendChild(P),Z=P.parentNode);l(va,ya,ta,P)}}else null==K||!mxUtils.contains(K,va,ya)||1500<ca&&!mxEvent.isShiftDown(La)?(K=null,null!=Z&&(P.parentNode.removeChild(P),Z=null)):null!=K&&null!=Z&&(ta=ja.model.isEdge(K.cell)?ja.view.getPoint(K):new mxPoint(K.getCenterX(),K.getCenterY()),ta=new mxRectangle(ta.x-+this.refreshTarget.width/2,ta.y-this.refreshTarget.height/2,this.refreshTarget.width,this.refreshTarget.height),l(va,ya,ta,P));if(T&&null!=M&&!mxEvent.isAltDown(La)&&null==U){Ja=mxRectangle.fromRectangle(M);if(ja.model.isEdge(M.cell)){var Ea=M.absolutePoints;null!=X.parentNode&&(ta=Ea[0],Ja.add(l(va,ya,new mxRectangle(ta.x-this.roundDrop.width/2,ta.y-this.roundDrop.height/2,this.roundDrop.width,this.roundDrop.height),X)));null!=ba.parentNode&&(Ea=Ea[Ea.length-1],Ja.add(l(va,ya,new mxRectangle(Ea.x-this.roundDrop.width/2,Ea.y-this.roundDrop.height/2,this.roundDrop.width,this.roundDrop.height),ba)))}else ta=mxRectangle.fromRectangle(M),null!=M.shape&&null!=M.shape.boundingBox&&(ta=mxRectangle.fromRectangle(M.shape.boundingBox)),ta.grow(this.graph.tolerance),ta.grow(HoverIcons.prototype.arrowSpacing),Ea=this.graph.selectionCellsHandler.getHandler(M.cell),null!=Ea&&(ta.x-=Ea.horizontalOffset/2,ta.y-=Ea.verticalOffset/2,ta.width+=Ea.horizontalOffset,ta.height+=Ea.verticalOffset,null!=Ea.rotationShape&&-null!=Ea.rotationShape.node&&"hidden"!=Ea.rotationShape.node.style.visibility&&"none"!=Ea.rotationShape.node.style.display&&null!=Ea.rotationShape.boundingBox&&ta.add(Ea.rotationShape.boundingBox)),Ja.add(l(va,za,new mxRectangle(M.getCenterX()-this.triangleUp.width/2,ta.y-this.triangleUp.height,this.triangleUp.width,this.triangleUp.height),W)),Ja.add(l(va,za,new mxRectangle(ta.x+ta.width,M.getCenterY()-this.triangleRight.height/2,this.triangleRight.width,this.triangleRight.height),S)),Ja.add(l(va,-za,new mxRectangle(M.getCenterX()-this.triangleDown.width/2,ta.y+ta.height,this.triangleDown.width,this.triangleDown.height),V)),Ja.add(l(va,za,new mxRectangle(ta.x-this.triangleLeft.width,M.getCenterY()-this.triangleLeft.height/2,this.triangleLeft.width,this.triangleLeft.height),fa));null!=Ja&&Ja.grow(10)}L=mxConstants.DIRECTION_NORTH;U==S?L=mxConstants.DIRECTION_EAST:U==V||U==ba?L=mxConstants.DIRECTION_SOUTH:U==fa&&(L=mxConstants.DIRECTION_WEST);null!=K&&U==P&&(Ka=K);ta=(null==w||ja.isCellConnectable(f[w]))&&-(ja.model.isEdge(Na)&&null!=w||ja.model.isVertex(Na)&&ja.isCellConnectable(Na));if(null!=M&&5E3<=ca||M!=Ka&&(null==Ja||!mxUtils.contains(Ja,va,za)||500<ca&&null==U&&ta))if(T=!1,M=5E3>ca&&ca>this.dropTargetDelay||ja.model.isEdge(Na)?Ka:null,null!=M&&ta){Ja=[X,ba,W,S,V,fa];for(ta=0;ta<Ja.length;ta++)null!=Ja[ta].parentNode&&Ja[ta].parentNode.removeChild(Ja[ta]);ja.model.isEdge(Na)?(Ea=Ka.absolutePoints,null!=Ea&&(ta=Ea[0],Ea=Ea[Ea.length-1],X.style.left=Math.floor(ta.x-this.roundDrop.width/2)+"px",+null!=Ea.rotationShape.node&&"hidden"!=Ea.rotationShape.node.style.visibility&&"none"!=Ea.rotationShape.node.style.display&&null!=Ea.rotationShape.boundingBox&&ta.add(Ea.rotationShape.boundingBox)),Ja.add(l(va,ya,new mxRectangle(M.getCenterX()-this.triangleUp.width/2,ta.y-this.triangleUp.height,this.triangleUp.width,this.triangleUp.height),W)),Ja.add(l(va,ya,new mxRectangle(ta.x+ta.width,M.getCenterY()-this.triangleRight.height/2,this.triangleRight.width,this.triangleRight.height),S)),Ja.add(l(va,+ya,new mxRectangle(M.getCenterX()-this.triangleDown.width/2,ta.y+ta.height,this.triangleDown.width,this.triangleDown.height),V)),Ja.add(l(va,ya,new mxRectangle(ta.x-this.triangleLeft.width,M.getCenterY()-this.triangleLeft.height/2,this.triangleLeft.width,this.triangleLeft.height),fa));null!=Ja&&Ja.grow(10)}L=mxConstants.DIRECTION_NORTH;U==S?L=mxConstants.DIRECTION_EAST:U==V||U==ba?L=mxConstants.DIRECTION_SOUTH:U==fa&&(L=mxConstants.DIRECTION_WEST);null!=K&&U==P&&(Ka=K);ta=(null==w||ja.isCellConnectable(f[w]))&&+(ja.model.isEdge(Na)&&null!=w||ja.model.isVertex(Na)&&ja.isCellConnectable(Na));if(null!=M&&5E3<=ca||M!=Ka&&(null==Ja||!mxUtils.contains(Ja,va,ya)||500<ca&&null==U&&ta))if(T=!1,M=5E3>ca&&ca>this.dropTargetDelay||ja.model.isEdge(Na)?Ka:null,null!=M&&ta){Ja=[X,ba,W,S,V,fa];for(ta=0;ta<Ja.length;ta++)null!=Ja[ta].parentNode&&Ja[ta].parentNode.removeChild(Ja[ta]);ja.model.isEdge(Na)?(Ea=Ka.absolutePoints,null!=Ea&&(ta=Ea[0],Ea=Ea[Ea.length-1],X.style.left=Math.floor(ta.x-this.roundDrop.width/2)+"px",X.style.top=Math.floor(ta.y-this.roundDrop.height/2)+"px",ba.style.left=Math.floor(Ea.x-this.roundDrop.width/2)+"px",ba.style.top=Math.floor(Ea.y-this.roundDrop.height/2)+"px",null==ja.model.getTerminal(Na,!0)&&ja.container.appendChild(X),null==ja.model.getTerminal(Na,!1)&&ja.container.appendChild(ba))):(ta=mxRectangle.fromRectangle(Ka),null!=Ka.shape&&null!=Ka.shape.boundingBox&&(ta=mxRectangle.fromRectangle(Ka.shape.boundingBox)),ta.grow(this.graph.tolerance),ta.grow(HoverIcons.prototype.arrowSpacing),Ea=this.graph.selectionCellsHandler.getHandler(Ka.cell),null!=Ea&&(ta.x-=Ea.horizontalOffset/2,ta.y-=Ea.verticalOffset/2,ta.width+=Ea.horizontalOffset,ta.height+=Ea.verticalOffset,null!=Ea.rotationShape&&null!=Ea.rotationShape.node&&"hidden"!=Ea.rotationShape.node.style.visibility&&"none"!=Ea.rotationShape.node.style.display&&null!=Ea.rotationShape.boundingBox&&ta.add(Ea.rotationShape.boundingBox)),W.style.left=Math.floor(Ka.getCenterX()-this.triangleUp.width/2)+"px",W.style.top=Math.floor(ta.y-this.triangleUp.height)+"px",S.style.left=Math.floor(ta.x+ta.width)+"px",S.style.top=Math.floor(Ka.getCenterY()-this.triangleRight.height/2)+"px",V.style.left=W.style.left,V.style.top=Math.floor(ta.y+ta.height)+"px",fa.style.left=Math.floor(ta.x-this.triangleLeft.width)+"px",fa.style.top=S.style.top,"eastwest"!=Ka.style.portConstraint&&(ja.container.appendChild(W),ja.container.appendChild(V)),ja.container.appendChild(S),ja.container.appendChild(fa));null!=Ka&&(N=ja.selectionCellsHandler.getHandler(Ka.cell),null!=N&&null!=-N.setHandlesVisible&&N.setHandlesVisible(!1));T=!0}else for(Ja=[X,ba,W,S,V,fa],ta=0;ta<Ja.length;ta++)null!=Ja[ta].parentNode&&Ja[ta].parentNode.removeChild(Ja[ta]);T||null==N||N.setHandlesVisible(!0);Na=mxEvent.isAltDown(La)&&!mxEvent.isShiftDown(La)||null!=K&&U==P?null:mxDragSource.prototype.getDropTarget.apply(this,arguments);null==Na||null==U&&ja.isSplitTarget(Na,f,La)||(Na=ja.getDropTarget(f,La,Na,!0));return Na});var O=F.startDrag;F.startDrag=function(ja){y.activeDragSource=this;O.apply(this,-arguments)};var qa=F.stopDrag;F.stopDrag=function(){qa.apply(this,arguments);for(var ja=[X,ba,P,W,S,V,fa],va=0;va<ja.length;va++)null!=ja[va].parentNode&&ja[va].parentNode.removeChild(ja[va]);null!=M&&null!=N&&N.reset();U=Z=K=M=N=y.activeDragSource=null};return F};+N.setHandlesVisible&&N.setHandlesVisible(!1));T=!0}else for(Ja=[X,ba,W,S,V,fa],ta=0;ta<Ja.length;ta++)null!=Ja[ta].parentNode&&Ja[ta].parentNode.removeChild(Ja[ta]);T||null==N||N.setHandlesVisible(!0);Na=mxEvent.isAltDown(La)&&!mxEvent.isShiftDown(La)||null!=K&&U==P?null:mxDragSource.prototype.getDropTarget.apply(this,arguments);null==Na||null==U&&ja.isSplitTarget(Na,f,La)||(Na=ja.getDropTarget(f,La,Na,!0));return Na});var O=G.startDrag;G.startDrag=function(ja){y.activeDragSource=this;O.apply(this,+arguments)};var qa=G.stopDrag;G.stopDrag=function(){qa.apply(this,arguments);for(var ja=[X,ba,P,W,S,V,fa],va=0;va<ja.length;va++)null!=ja[va].parentNode&&ja[va].parentNode.removeChild(ja[va]);null!=M&&null!=N&&N.reset();U=Z=K=M=N=y.activeDragSource=null};return G};Sidebar.prototype.itemClicked=function(a,b,e,f){f=this.editorUi.editor.graph;f.container.focus();if(mxEvent.isAltDown(e)&&1==f.getSelectionCount()){for(var g=b=null,d=0;d<a.length&&(null==g&&f.model.isVertex(a[d])?g=d:null==b&&f.model.isEdge(a[d])&&null==f.model.getTerminal(a[d],!0)&&(b=d),null==g||null==b);d++);d=null==b?g:b;f.setSelectionCells(this.dropAndConnect(f.getSelectionCell(),a,mxEvent.isMetaDown(e)||mxEvent.isControlDown(e)?mxEvent.isShiftDown(e)?mxConstants.DIRECTION_WEST:mxConstants.DIRECTION_NORTH:mxEvent.isShiftDown(e)?mxConstants.DIRECTION_EAST:mxConstants.DIRECTION_SOUTH,d,e,g,b));f.scrollCellToVisible(f.getSelectionCell())}else mxEvent.isShiftDown(e)&&!f.isSelectionEmpty()?(e=f.getEditableCells(f.getSelectionCells()),f.updateShapes(a[0],e,!0),f.scrollCellToVisible(e)):(a=mxEvent.isAltDown(e)?f.getFreeInsertPoint():f.getCenterInsertPoint(f.getBoundingBoxFromGeometry(a,!0)),b.drop(f,e,null,a.x,a.y,!0))};-Sidebar.prototype.addClickHandler=function(a,b,e,f){var g=b.getGraphForEvent,d=b.mouseDown,h=b.mouseMove,l=b.mouseUp,r=this.editorUi.editor.graph.tolerance,k=!1,u=null,w=this,y=null;b.getGraphForEvent=function(A){return k?g.apply(this,arguments):null};b.mouseDown=function(A){d.apply(this,arguments);u=new mxPoint(mxEvent.getClientX(A),mxEvent.getClientY(A));y=a.style.opacity;k=!1;""==y&&(y="1");null!=this.dragElement&&(this.dragElement.style.display="none")};b.mouseMove=function(A){(k=null!=u&&(Math.abs(u.x--mxEvent.getClientX(A))>r||Math.abs(u.y-mxEvent.getClientY(A))>r))&&null!=this.dragElement&&"none"==this.dragElement.style.display&&(this.dragElement.style.display="");h.apply(this,arguments)};b.mouseUp=function(A){try{mxEvent.isPopupTrigger(A)||null!=this.currentGraph||null==this.dragElement||"none"!=this.dragElement.style.display||(null!=f&&f(A),mxEvent.isConsumed(A)||w.itemClicked(e,b,A,a)),l.apply(b,arguments),u=null,w.currentElt=a}catch(G){b.reset(),w.editorUi.handleError(G)}}};-Sidebar.prototype.createVertexTemplateEntry=function(a,b,e,f,g,d,h,l){null!=l&&null!=g&&(l+=" "+g);l=null!=l&&0<l.length?l:null!=g?g.toLowerCase():"";return this.addEntry(l,mxUtils.bind(this,function(){return this.createVertexTemplate(a,b,e,f,g,d,h)}))};Sidebar.prototype.createVertexTemplate=function(a,b,e,f,g,d,h,l,r,k,u,w,y,A){a=[new mxCell(null!=f?f:"",new mxGeometry(0,0,b,e),a)];a[0].vertex=!0;return this.createVertexTemplateFromCells(a,b,e,g,d,h,l,r,k,u,w,y,A)};-Sidebar.prototype.createVertexTemplateFromData=function(a,b,e,f,g,d,h,l){var r=null;try{var k=mxUtils.parseXml(Graph.decompress(a)),u=new mxCodec(k),w=new mxGraphModel;u.decode(k.documentElement,w);r=this.graph.cloneCells(w.root.getChildAt(0).children)}catch(y){f=mxResources.get("error")+": "+y.message}return this.createVertexTemplateFromCells(r,b,e,f,g,d,h,l)};Sidebar.prototype.createVertexTemplateFromCells=function(a,b,e,f,g,d,h,l,r,k,u,w,y,A){return this.createItem(a,f,g,d,b,e,h,l,r,k,u,w,y,A)};-Sidebar.prototype.createEdgeTemplateEntry=function(a,b,e,f,g,d,h,l,r){h=null!=h&&0<h.length?h:g.toLowerCase();return this.addEntry(h,mxUtils.bind(this,function(){return this.createEdgeTemplate(a,b,e,f,g,d,l,r)}))};-Sidebar.prototype.createEdgeTemplate=function(a,b,e,f,g,d,h,l){a=new mxCell(null!=f?f:"",new mxGeometry(0,0,b,e),a);a.geometry.setTerminalPoint(new mxPoint(0,e),!0);a.geometry.setTerminalPoint(new mxPoint(b,0),!1);a.geometry.relative=!0;a.edge=!0;return this.createEdgeTemplateFromCells([a],b,e,g,d,h,l)};Sidebar.prototype.createEdgeTemplateFromCells=function(a,b,e,f,g,d,h,l,r,k,u,w){return this.createItem(a,f,g,null!=l?l:!0,b,e,d,h,r,k,u,w)};+Sidebar.prototype.addClickHandler=function(a,b,e,f){var g=b.getGraphForEvent,d=b.mouseDown,h=b.mouseMove,l=b.mouseUp,q=this.editorUi.editor.graph.tolerance,k=!1,u=null,w=this,y=null;b.getGraphForEvent=function(A){return k?g.apply(this,arguments):null};b.mouseDown=function(A){d.apply(this,arguments);u=new mxPoint(mxEvent.getClientX(A),mxEvent.getClientY(A));y=a.style.opacity;k=!1;""==y&&(y="1");null!=this.dragElement&&(this.dragElement.style.display="none")};b.mouseMove=function(A){(k=null!=u&&(Math.abs(u.x-+mxEvent.getClientX(A))>q||Math.abs(u.y-mxEvent.getClientY(A))>q))&&null!=this.dragElement&&"none"==this.dragElement.style.display&&(this.dragElement.style.display="");h.apply(this,arguments)};b.mouseUp=function(A){try{mxEvent.isPopupTrigger(A)||null!=this.currentGraph||null==this.dragElement||"none"!=this.dragElement.style.display||(null!=f&&f(A),mxEvent.isConsumed(A)||w.itemClicked(e,b,A,a)),l.apply(b,arguments),u=null,w.currentElt=a}catch(F){b.reset(),w.editorUi.handleError(F)}}};+Sidebar.prototype.createVertexTemplateEntry=function(a,b,e,f,g,d,h,l){null!=l&&null!=g&&(l+=" "+g);l=null!=l&&0<l.length?l:null!=g?g.toLowerCase():"";return this.addEntry(l,mxUtils.bind(this,function(){return this.createVertexTemplate(a,b,e,f,g,d,h)}))};Sidebar.prototype.createVertexTemplate=function(a,b,e,f,g,d,h,l,q,k,u,w,y,A){a=[new mxCell(null!=f?f:"",new mxGeometry(0,0,b,e),a)];a[0].vertex=!0;return this.createVertexTemplateFromCells(a,b,e,g,d,h,l,q,k,u,w,y,A)};+Sidebar.prototype.createVertexTemplateFromData=function(a,b,e,f,g,d,h,l){var q=null;try{var k=mxUtils.parseXml(Graph.decompress(a)),u=new mxCodec(k),w=new mxGraphModel;u.decode(k.documentElement,w);q=this.graph.cloneCells(w.root.getChildAt(0).children)}catch(y){f=mxResources.get("error")+": "+y.message}return this.createVertexTemplateFromCells(q,b,e,f,g,d,h,l)};Sidebar.prototype.createVertexTemplateFromCells=function(a,b,e,f,g,d,h,l,q,k,u,w,y,A){return this.createItem(a,f,g,d,b,e,h,l,q,k,u,w,y,A)};+Sidebar.prototype.createEdgeTemplateEntry=function(a,b,e,f,g,d,h,l,q){h=null!=h&&0<h.length?h:g.toLowerCase();return this.addEntry(h,mxUtils.bind(this,function(){return this.createEdgeTemplate(a,b,e,f,g,d,l,q)}))};+Sidebar.prototype.createEdgeTemplate=function(a,b,e,f,g,d,h,l){a=new mxCell(null!=f?f:"",new mxGeometry(0,0,b,e),a);a.geometry.setTerminalPoint(new mxPoint(0,e),!0);a.geometry.setTerminalPoint(new mxPoint(b,0),!1);a.geometry.relative=!0;a.edge=!0;return this.createEdgeTemplateFromCells([a],b,e,g,d,h,l)};Sidebar.prototype.createEdgeTemplateFromCells=function(a,b,e,f,g,d,h,l,q,k,u,w){return this.createItem(a,f,g,null!=l?l:!0,b,e,d,h,q,k,u,w)};Sidebar.prototype.addPaletteFunctions=function(a,b,e,f){this.addPalette(a,b,e,mxUtils.bind(this,function(g){for(var d=0;d<f.length;d++)g.appendChild(f[d](g))}))};Sidebar.prototype.addPalette=function(a,b,e,f){b=this.createTitle(b);this.appendChild(b);var g=document.createElement("div");g.className="geSidebar";mxClient.IS_POINTER&&(g.style.touchAction="none");e&&this.expandLibraries?(f(g),f=null):g.style.display="none";this.addFoldingHandler(b,g,f);e=document.createElement("div");e.appendChild(g);this.appendChild(e);null!=a&&(this.palettes[a]=[b,e]);return g};Sidebar.prototype.addFoldingHandler=function(a,b,e){var f=!1;a.style.backgroundImage="none"==b.style.display?"url('"+Editor.arrowRightImage+"')":"url('"+Editor.arrowDownImage+"')";mxEvent.addListener(a,"click",mxUtils.bind(this,function(g){if(a.contains(mxEvent.getSource(g))){if("none"==b.style.display){if(f)this.setContentVisible(b,!0);else if(f=!0,null!=e){a.style.cursor="wait";for(var d=[],h=0;h<a.children.length;h++)d.push(a.children[h]);a.innerHTML=mxResources.get("loading")+"...";window.setTimeout(mxUtils.bind(this,function(){this.setContentVisible(b,!0);a.style.cursor="";a.innerHTML="";for(var l=0;l<d.length;l++)a.appendChild(d[l]);l=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;e(b,a);mxClient.NO_FO=l}),mxClient.IS_FF?20:0)}else this.setContentVisible(b,!0);a.style.backgroundImage="url('"+Editor.arrowDownImage+"')"}else a.style.backgroundImage="url('"+Editor.arrowRightImage+"')",this.setContentVisible(b,!1);mxEvent.consume(g)}}));mxEvent.preventDefault(a)};Sidebar.prototype.setContentVisible=function(a,b){var e=Editor.transitionDelay;mxUtils.setPrefixedStyle(a.style,"transition","all "+e+"s linear");b?(mxUtils.setPrefixedStyle(a.style,"transform","scaleY(0)"),a.style.display="block",window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(a.style,"transform","scaleY(1)");window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(a.style,"transform",null);mxUtils.setPrefixedStyle(a.style,"transition",null)}),1E3*e)}),0)):(mxUtils.setPrefixedStyle(a.style,"transform","scaleY(0)"),window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(a.style,"transform",null);mxUtils.setPrefixedStyle(a.style,"transition",null);a.style.display="none"}),1E3*e))};Sidebar.prototype.removePalette=function(a){var b=this.palettes[a];if(null!=b){this.palettes[a]=null;for(a=0;a<b.length;a++)this.container.removeChild(b[a]);return!0}return!1};-Sidebar.prototype.addImagePalette=function(a,b,e,f,g,d,h){for(var l=[],r=0;r<g.length;r++)mxUtils.bind(this,function(k,u,w){if(null==w&&(null==e||"img/lib/clip_art/"!=e.substring(0,17))){w=k.lastIndexOf("/");var y=k.lastIndexOf(".");w=k.substring(0<=w?w+1:0,0<=y?y:k.length).replace(/[-_]/g," ")}l.push(this.createVertexTemplateEntry("image;html=1;image="+e+k+f,this.defaultImageWidth,this.defaultImageHeight,"",u,null!=u,null,this.filterTags(w)))})(g[r],null!=d?d[r]:null,null!=h?h[g[r]]:null);this.addPaletteFunctions(a,+Sidebar.prototype.addImagePalette=function(a,b,e,f,g,d,h){for(var l=[],q=0;q<g.length;q++)mxUtils.bind(this,function(k,u,w){if(null==w&&(null==e||"img/lib/clip_art/"!=e.substring(0,17))){w=k.lastIndexOf("/");var y=k.lastIndexOf(".");w=k.substring(0<=w?w+1:0,0<=y?y:k.length).replace(/[-_]/g," ")}l.push(this.createVertexTemplateEntry("image;html=1;image="+e+k+f,this.defaultImageWidth,this.defaultImageHeight,"",u,null!=u,null,this.filterTags(w)))})(g[q],null!=d?d[q]:null,null!=h?h[g[q]]:null);this.addPaletteFunctions(a,b,!1,l)};Sidebar.prototype.getTagsForStencil=function(a,b,e){a=a.split(".");for(var f=1;f<a.length;f++)a[f]=a[f].replace(/_/g," ");a.push(b.replace(/_/g," "));null!=e&&a.push(e);return a.slice(1,a.length)};-Sidebar.prototype.addStencilPalette=function(a,b,e,f,g,d,h,l,r,k){h=null!=h?h:1;if(this.addStencilsToIndex){var u=[];if(null!=r)for(k=0;k<r.length;k++)u.push(r[k]);mxStencilRegistry.loadStencilSet(e,mxUtils.bind(this,function(w,y,A,G,D){if(null==g||0>mxUtils.indexOf(g,y)){A=this.getTagsForStencil(w,y);var F=null!=l?l[y]:null;null!=F&&A.push(F);u.push(this.createVertexTemplateEntry("shape="+w+y.toLowerCase()+f,Math.round(G*h),Math.round(D*h),"",y.replace(/_/g," "),null,null,this.filterTags(A.join(" "))))}}),-!0,!0);this.addPaletteFunctions(a,b,!1,u)}else this.addPalette(a,b,!1,mxUtils.bind(this,function(w){null==f&&(f="");null!=d&&d.call(this,w);if(null!=r)for(var y=0;y<r.length;y++)r[y](w);mxStencilRegistry.loadStencilSet(e,mxUtils.bind(this,function(A,G,D,F,H){(null==g||0>mxUtils.indexOf(g,G))&&w.appendChild(this.createVertexTemplate("shape="+A+G.toLowerCase()+f,Math.round(F*h),Math.round(H*h),"",G.replace(/_/g," "),!0))}),!0)}))};+Sidebar.prototype.addStencilPalette=function(a,b,e,f,g,d,h,l,q,k){h=null!=h?h:1;if(this.addStencilsToIndex){var u=[];if(null!=q)for(k=0;k<q.length;k++)u.push(q[k]);mxStencilRegistry.loadStencilSet(e,mxUtils.bind(this,function(w,y,A,F,D){if(null==g||0>mxUtils.indexOf(g,y)){A=this.getTagsForStencil(w,y);var G=null!=l?l[y]:null;null!=G&&A.push(G);u.push(this.createVertexTemplateEntry("shape="+w+y.toLowerCase()+f,Math.round(F*h),Math.round(D*h),"",y.replace(/_/g," "),null,null,this.filterTags(A.join(" "))))}}),+!0,!0);this.addPaletteFunctions(a,b,!1,u)}else this.addPalette(a,b,!1,mxUtils.bind(this,function(w){null==f&&(f="");null!=d&&d.call(this,w);if(null!=q)for(var y=0;y<q.length;y++)q[y](w);mxStencilRegistry.loadStencilSet(e,mxUtils.bind(this,function(A,F,D,G,H){(null==g||0>mxUtils.indexOf(g,F))&&w.appendChild(this.createVertexTemplate("shape="+A+F.toLowerCase()+f,Math.round(G*h),Math.round(H*h),"",F.replace(/_/g," "),!0))}),!0)}))};Sidebar.prototype.destroy=function(){null!=this.graph&&(null!=this.graph.container&&null!=this.graph.container.parentNode&&this.graph.container.parentNode.removeChild(this.graph.container),this.graph.destroy(),this.graph=null);null!=this.escapeListener&&(this.editorUi.editor.graph.removeListener(this.escapeListener),this.escapeListener=null);null!=this.refreshListener&&(this.editorUi.removeListener(this.refreshListener),this.refreshListener=null);null!=this.pointerUpHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointerup":"mouseup",this.pointerUpHandler),this.pointerUpHandler=null);null!=this.pointerDownHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointerdown":"mousedown",this.pointerDownHandler),this.pointerDownHandler=null);null!=this.pointerMoveHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointermove":"mousemove",this.pointerMoveHandler),this.pointerMoveHandler=null);null!=this.pointerOutHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointerout":"mouseout",this.pointerOutHandler),this.pointerOutHandler=null)};(function(){var a=[["nbsp","160"],["shy","173"]],b=mxUtils.parseXml;mxUtils.parseXml=function(f){for(var g=0;g<a.length;g++)f=f.replace(new RegExp("&"+a[g][0]+";","g"),"&#"+a[g][1]+";");return b(f)};var e=mxUtils.getSizeForString;mxUtils.getSizeForString=function(f,g,d,h){return e(Graph.sanitizeHtml(f),g,d,h)}})();Date.prototype.toISOString||function(){function a(b){b=String(b);1===b.length&&(b="0"+b);return b}Date.prototype.toISOString=function(){return this.getUTCFullYear()+"-"+a(this.getUTCMonth()+1)+"-"+a(this.getUTCDate())+"T"+a(this.getUTCHours())+":"+a(this.getUTCMinutes())+":"+a(this.getUTCSeconds())+"."+String((this.getUTCMilliseconds()/1E3).toFixed(3)).slice(2,5)+"Z"}}();Date.now||(Date.now=function(){return(new Date).getTime()});Uint8Array.from||(Uint8Array.from=function(){var a=Object.prototype.toString,b=function(f){return"function"===typeof f||"[object Function]"===a.call(f)},e=Math.pow(2,53)-1;return function(f){var g=Object(f);if(null==f)throw new TypeError("Array.from requires an array-like object - not null or undefined");var d=1<arguments.length?arguments[1]:void 0,h;if("undefined"!==typeof d){if(!b(d))throw new TypeError("Array.from: when provided, the second argument must be a function");2<arguments.length&&(h=-arguments[2])}var l=Number(g.length);l=isNaN(l)?0:0!==l&&isFinite(l)?(0<l?1:-1)*Math.floor(Math.abs(l)):l;l=Math.min(Math.max(l,0),e);for(var r=b(this)?Object(new this(l)):Array(l),k=0,u;k<l;)u=g[k],r[k]=d?"undefined"===typeof h?d(u,k):d.call(h,u,k):u,k+=1;r.length=l;return r}}());mxConstants.SHADOW_OPACITY=.25;mxConstants.SHADOWCOLOR="#000000";mxConstants.VML_SHADOWCOLOR="#d0d0d0";mxCodec.allowlist="mxStylesheet Array mxGraphModel mxCell mxGeometry mxRectangle mxPoint mxChildChange mxRootChange mxTerminalChange mxValueChange mxStyleChange mxGeometryChange mxCollapseChange mxVisibleChange mxCellAttributeChange".split(" ");+arguments[2])}var l=Number(g.length);l=isNaN(l)?0:0!==l&&isFinite(l)?(0<l?1:-1)*Math.floor(Math.abs(l)):l;l=Math.min(Math.max(l,0),e);for(var q=b(this)?Object(new this(l)):Array(l),k=0,u;k<l;)u=g[k],q[k]=d?"undefined"===typeof h?d(u,k):d.call(h,u,k):u,k+=1;q.length=l;return q}}());mxConstants.SHADOW_OPACITY=.25;mxConstants.SHADOWCOLOR="#000000";mxConstants.VML_SHADOWCOLOR="#d0d0d0";mxCodec.allowlist="mxStylesheet Array mxGraphModel mxCell mxGeometry mxRectangle mxPoint mxChildChange mxRootChange mxTerminalChange mxValueChange mxStyleChange mxGeometryChange mxCollapseChange mxVisibleChange mxCellAttributeChange".split(" ");mxGraph.prototype.pageBreakColor="#c0c0c0";mxGraph.prototype.pageScale=1;(function(){try{if(null!=navigator&&null!=navigator.language){var a=navigator.language.toLowerCase();mxGraph.prototype.pageFormat="en-us"===a||"en-ca"===a||"es-mx"===a?mxConstants.PAGE_FORMAT_LETTER_PORTRAIT:mxConstants.PAGE_FORMAT_A4_PORTRAIT}}catch(b){}})();mxText.prototype.baseSpacingTop=5;mxText.prototype.baseSpacingBottom=1;mxGraphModel.prototype.ignoreRelativeEdgeParent=!1;mxGraphView.prototype.gridImage="data:image/gif;base64,R0lGODlhCgAKAJEAAAAAAP///8zMzP///yH5BAEAAAMALAAAAAAKAAoAAAIJ1I6py+0Po2wFADs=";mxGraphView.prototype.gridSteps=4;mxGraphView.prototype.minGridSize=4;mxGraphView.prototype.defaultGridColor="#d0d0d0";mxGraphView.prototype.defaultDarkGridColor="#424242";mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultGridColor;mxGraphView.prototype.unit=mxConstants.POINTS;mxGraphView.prototype.setUnit=function(a){this.unit!=a&&(this.unit=a,this.graph.refresh(),this.fireEvent(new mxEventObject("unitChanged","unit",a)))};mxSvgCanvas2D.prototype.foAltText="[Not supported by viewer]";mxShape.prototype.getConstraints=function(a,b,e){return null};mxImageShape.prototype.getImageDataUri=function(){var a=String(this.image);if("data:image/svg+xml;base64,"==a.substring(0,26)&&null!=this.style&&"1"==mxUtils.getValue(this.style,"clipSvg","0")){if(null==this.clippedSvg||this.clippedImage!=a)this.clippedSvg=Graph.clipSvgDataUri(a),this.clippedImage=a;a=this.clippedSvg}return a};(function(){var a=mxStencil.prototype.parseColor;mxStencil.prototype.parseColor=function(b,e,f,g,d){return"default"==g&&null!=d?"fillcolor"==f.nodeName?d.shapeBackgroundColor:d.shapeForegroundColor:a.apply(this,arguments)}})();(function(){var a=mxResources.get;mxResources.get=function(b,e,f){null==f&&(f=b);return a.apply(this,[b,e,f])}})();-(function(){var a=mxPopupMenu.prototype.addItem;mxPopupMenu.prototype.addItem=function(b,e,f,g,d,h,l,r){var k=a.apply(this,arguments);if(null!=e){var u=k.getElementsByTagName("img");0<u.length&&(u[0].className="geButton")}return k}})();+(function(){var a=mxPopupMenu.prototype.addItem;mxPopupMenu.prototype.addItem=function(b,e,f,g,d,h,l,q){var k=a.apply(this,arguments);if(null!=e){var u=k.getElementsByTagName("img");0<u.length&&(u[0].className="geButton")}return k}})();Graph=function(a,b,e,f,g,d){mxGraph.call(this,a,b,e,f);this.themes=g||this.defaultThemes;this.currentEdgeStyle=mxUtils.clone(this.defaultEdgeStyle);this.currentVertexStyle=mxUtils.clone(this.defaultVertexStyle);this.standalone=null!=d?d:!1;a=this.baseUrl;b=a.indexOf("//");this.domainPathUrl=this.domainUrl="";0<b&&(b=a.indexOf("/",b+2),0<b&&(this.domainUrl=a.substring(0,b)),b=a.lastIndexOf("/"),0<b&&(this.domainPathUrl=a.substring(0,b+1)));this.isHtmlLabel=function(L){L=this.getCurrentCellStyle(L);-return null!=L?"1"==L.html||"wrap"==L[mxConstants.STYLE_WHITE_SPACE]:!1};if(this.immediateHandling){var h=null,l=null,r=null,k=null,u=!1,w=!1;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(L,U){if("mouseDown"==U.getProperty("eventName")&&this.isEnabled()){L=U.getProperty("event");var aa=L.getState();U=this.view.scale;if(!mxEvent.isAltDown(L.getEvent())&&null!=aa&&(w=this.isCellSelected(aa.cell),!this.panningHandler.isActive()&&!mxEvent.isControlDown(L.getEvent()))){var ha=this.selectionCellsHandler.getHandler(aa.cell);+return null!=L?"1"==L.html||"wrap"==L[mxConstants.STYLE_WHITE_SPACE]:!1};if(this.immediateHandling){var h=null,l=null,q=null,k=null,u=!1,w=!1;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(L,U){if("mouseDown"==U.getProperty("eventName")&&this.isEnabled()){L=U.getProperty("event");var aa=L.getState();U=this.view.scale;if(!mxEvent.isAltDown(L.getEvent())&&null!=aa&&(w=this.isCellSelected(aa.cell),!this.panningHandler.isActive()&&!mxEvent.isControlDown(L.getEvent()))){var ha=this.selectionCellsHandler.getHandler(aa.cell);if(null==ha||null==ha.getHandleForEvent(L)){var ma=new mxRectangle(L.getGraphX()-1,L.getGraphY()-1),oa=mxEvent.isTouchEvent(L.getEvent())?mxShape.prototype.svgStrokeTolerance-1:(mxShape.prototype.svgStrokeTolerance+2)/2;ha=oa+2;ma.grow(oa);if(this.isTableCell(aa.cell)&&this.isCellMovable(aa.cell)&&!this.isCellSelected(aa.cell)&&!(mxUtils.contains(aa,L.getGraphX()-ha,L.getGraphY()-ha)&&mxUtils.contains(aa,L.getGraphX()-ha,L.getGraphY()+ha)&&mxUtils.contains(aa,L.getGraphX()+ha,L.getGraphY()+ha)&&mxUtils.contains(aa,L.getGraphX()+ha,L.getGraphY()-ha))){var ca=this.model.getParent(aa.cell);ha=this.model.getParent(ca);if(!this.isCellSelected(ha)){oa*=U;var la=2*oa;if(this.model.getChildAt(ha,0)!=ca&&mxUtils.intersects(ma,new mxRectangle(aa.x,aa.y-oa,aa.width,la))||this.model.getChildAt(ca,0)!=aa.cell&&mxUtils.intersects(ma,new mxRectangle(aa.x-oa,aa.y,la,aa.height))||mxUtils.intersects(ma,new mxRectangle(aa.x,aa.y+aa.height-oa,aa.width,la))||mxUtils.intersects(ma,new mxRectangle(aa.x+aa.width-oa,aa.y,la,aa.height)))ca=this.selectionCellsHandler.isHandled(ha),this.selectCellForEvent(ha,L.getEvent()),ha=this.selectionCellsHandler.getHandler(ha),null!=ha&&(oa=ha.getHandleForEvent(L),null!=oa&&(ha.start(L.getGraphX(),L.getGraphY(),oa),ha.blockDelayedSelection=!ca,L.consume()))}}for(;!L.isConsumed()&&null!=aa&&(this.isTableCell(aa.cell)||this.isTableRow(aa.cell)||this.isTable(aa.cell));)this.isSwimlane(aa.cell)&&this.isCellMovable(aa.cell)&&(ha=this.getActualStartSize(aa.cell),(0<ha.x||0<ha.width)&&mxUtils.intersects(ma,new mxRectangle(aa.x+(ha.x-ha.width-1)*U+(0==ha.x?aa.width:0),aa.y,1,aa.height))||(0<ha.y||0<ha.height)&&mxUtils.intersects(ma,new mxRectangle(aa.x,aa.y+(ha.y-ha.height-1)*U+(0==ha.y?aa.height:0),aa.width,1)))&&(this.selectCellForEvent(aa.cell,L.getEvent()),ha=this.selectionCellsHandler.getHandler(aa.cell),null!=ha&&null!=ha.customHandles&&(oa=mxEvent.CUSTOM_HANDLE-ha.customHandles.length+1,ha.start(L.getGraphX(),L.getGraphY(),oa),L.consume())),aa=this.view.getState(this.model.getParent(aa.cell))}}}}));-this.addListener(mxEvent.CONSUME_MOUSE_EVENT,mxUtils.bind(this,function(L,U){if("mouseDown"==U.getProperty("eventName")&&this.isEnabled()){L=U.getProperty("event");var aa=L.getState();mxEvent.isAltDown(L.getEvent())||mxEvent.isControlDown(U)||mxEvent.isShiftDown(U)||w||null==aa||!this.model.isEdge(aa.cell)||(h=new mxPoint(L.getGraphX(),L.getGraphY()),u=this.isCellSelected(aa.cell),r=aa,l=L,null!=aa.text&&null!=aa.text.boundingBox&&mxUtils.contains(aa.text.boundingBox,L.getGraphX(),L.getGraphY())?-k=mxEvent.LABEL_HANDLE:(U=this.selectionCellsHandler.getHandler(aa.cell),null!=U&&null!=U.bends&&0<U.bends.length&&(k=U.getHandleForEvent(L))))}}));this.addMouseListener({mouseDown:function(L,U){},mouseMove:mxUtils.bind(this,function(L,U){L=this.selectionCellsHandler.handlers.map;for(var aa in L)if(null!=L[aa].index)return;if(this.isEnabled()&&!this.panningHandler.isActive()&&!mxEvent.isAltDown(U.getEvent())){var ha=this.tolerance;if(null!=h&&null!=r&&null!=l){if(aa=r,null!=k||Math.abs(h.x-U.getGraphX())>+this.addListener(mxEvent.CONSUME_MOUSE_EVENT,mxUtils.bind(this,function(L,U){if("mouseDown"==U.getProperty("eventName")&&this.isEnabled()){L=U.getProperty("event");var aa=L.getState();mxEvent.isAltDown(L.getEvent())||mxEvent.isControlDown(U)||mxEvent.isShiftDown(U)||w||null==aa||!this.model.isEdge(aa.cell)||(h=new mxPoint(L.getGraphX(),L.getGraphY()),u=this.isCellSelected(aa.cell),q=aa,l=L,null!=aa.text&&null!=aa.text.boundingBox&&mxUtils.contains(aa.text.boundingBox,L.getGraphX(),L.getGraphY())?+k=mxEvent.LABEL_HANDLE:(U=this.selectionCellsHandler.getHandler(aa.cell),null!=U&&null!=U.bends&&0<U.bends.length&&(k=U.getHandleForEvent(L))))}}));this.addMouseListener({mouseDown:function(L,U){},mouseMove:mxUtils.bind(this,function(L,U){L=this.selectionCellsHandler.handlers.map;for(var aa in L)if(null!=L[aa].index)return;if(this.isEnabled()&&!this.panningHandler.isActive()&&!mxEvent.isAltDown(U.getEvent())){var ha=this.tolerance;if(null!=h&&null!=q&&null!=l){if(aa=q,null!=k||Math.abs(h.x-U.getGraphX())>ha||Math.abs(h.y-U.getGraphY())>ha){var ma=null;mxEvent.isShiftDown(U.getEvent())||(ma=this.selectionCellsHandler.getHandler(aa.cell));if(null!=ma&&null!=ma.bends&&0<ma.bends.length){ma.redrawHandles();var oa=null!=k?k:ma.getHandleForEvent(l),ca=this.view.getEdgeStyle(aa),la=ca==mxEdgeStyle.EntityRelation;ha=aa.absolutePoints;u||(oa=k);oa!=mxEvent.LABEL_HANDLE&&null!=ha&&(oa=k,null==oa&&(L=new mxRectangle(h.x,h.y),L.grow(mxEdgeHandler.prototype.handleImage.width/2),mxUtils.contains(L,ha[0].x,ha[0].y)?oa=0:mxUtils.contains(L,ha[ha.length-1].x,ha[ha.length-1].y)?oa=ma.bends.length-1:null!=ha&&(null==ca&&null==oa||ca==mxEdgeStyle.SegmentConnector||ca==mxEdgeStyle.OrthConnector)&&(null!=ca&&(2==ha.length||3==ha.length&&(0==Math.round(ha[0].x-ha[1].x)&&0==Math.round(ha[1].x-ha[2].x)||0==Math.round(ha[0].y-ha[1].y)&&0==Math.round(ha[1].y-ha[2].y)))?oa=2:(oa=mxUtils.findNearestSegment(aa,h.x,h.y),oa=null==ca?mxEvent.VIRTUAL_HANDLE-oa:oa+1))),null==oa&&(oa=mxEvent.VIRTUAL_HANDLE));L=oa==mxEvent.LABEL_HANDLE||-0==oa||oa==ma.bends.length-1;if(!la&&(null!=aa.visibleSourceState||null!=aa.visibleTargetState)||L)ma.start(U.getGraphX(),U.getGraphX(),oa),U.consume(),this.graphHandler.reset()}null!=ma&&(this.selectionCellsHandler.isHandlerActive(ma)?this.isCellSelected(aa.cell)||(this.selectionCellsHandler.handlers.put(aa.cell,ma),this.selectCellForEvent(aa.cell,U.getEvent())):this.isCellSelected(aa.cell)||ma.destroy());u=!1;h=l=r=k=null}}else if(aa=U.getState(),null!=aa&&this.isCellEditable(aa.cell)){L=this.model.getParent(aa.cell);+0==oa||oa==ma.bends.length-1;if(!la&&(null!=aa.visibleSourceState||null!=aa.visibleTargetState)||L)ma.start(U.getGraphX(),U.getGraphX(),oa),U.consume(),this.graphHandler.reset()}null!=ma&&(this.selectionCellsHandler.isHandlerActive(ma)?this.isCellSelected(aa.cell)||(this.selectionCellsHandler.handlers.put(aa.cell,ma),this.selectCellForEvent(aa.cell,U.getEvent())):this.isCellSelected(aa.cell)||ma.destroy());u=!1;h=l=q=k=null}}else if(aa=U.getState(),null!=aa&&this.isCellEditable(aa.cell)){L=this.model.getParent(aa.cell);ma=null;if(this.model.isEdge(aa.cell)&&!this.isCellSelected(aa.cell)&&!mxEvent.isAltDown(U.getEvent())&&!mxEvent.isShiftDown(U.getEvent())&&!this.isAncestorSelected(aa.cell)&&(this.isSwimlane(L)||this.model.isLayer(L)||this.getCurrentRoot()==L)){if(L=new mxRectangle(U.getGraphX(),U.getGraphY()),L.grow(mxEdgeHandler.prototype.handleImage.width/2),ha=aa.absolutePoints,null!=ha)null!=aa.text&&null!=aa.text.boundingBox&&mxUtils.contains(aa.text.boundingBox,U.getGraphX(),U.getGraphY())?ma="move":mxUtils.contains(L,ha[0].x,ha[0].y)||mxUtils.contains(L,ha[ha.length-1].x,ha[ha.length-1].y)?ma="pointer":(ca=this.view.getEdgeStyle(aa),ca==mxEdgeStyle.EntityRelation||null==aa.visibleSourceState&&null==aa.visibleTargetState||(ma="crosshair",ca!=mxEdgeStyle.SegmentConnector&&ca!=mxEdgeStyle.OrthConnector))||(U=mxUtils.findNearestSegment(aa,U.getGraphX(),U.getGraphY()),U<ha.length-1&&0<=U&&(ma=0==Math.round(ha[U].x-ha[U+1].x)?"col-resize":"row-resize"))}else if(!mxEvent.isControlDown(U.getEvent())){ha=mxShape.prototype.svgStrokeTolerance/2;L=new mxRectangle(U.getGraphX(),U.getGraphY());L.grow(ha);if(this.isTableCell(aa.cell)&&this.isCellMovable(aa.cell)&&(U=this.model.getParent(aa.cell),ha=this.model.getParent(U),!this.isCellSelected(ha)))if(mxUtils.intersects(L,new mxRectangle(aa.x,aa.y-2,aa.width,4))&&this.model.getChildAt(ha,0)!=U||mxUtils.intersects(L,new mxRectangle(aa.x,aa.y+aa.height-2,aa.width,4)))ma="row-resize";else if(mxUtils.intersects(L,new mxRectangle(aa.x-2,aa.y,4,aa.height))&&this.model.getChildAt(U,0)!=aa.cell||mxUtils.intersects(L,new mxRectangle(aa.x+aa.width-2,aa.y,4,aa.height)))ma="col-resize";for(U=aa;null==ma&&null!=U&&(this.isTableCell(U.cell)||this.isTableRow(U.cell)||this.isTable(U.cell));)this.isSwimlane(U.cell)&&this.isCellMovable(U.cell)&&(ha=this.getActualStartSize(U.cell),oa=this.view.scale,(0<ha.x||0<ha.width)&&mxUtils.intersects(L,new mxRectangle(U.x+(ha.x-ha.width-1)*oa+(0==ha.x?U.width*oa:0),U.y,1,U.height))?ma="col-resize":(0<ha.y||0<ha.height)&&mxUtils.intersects(L,new mxRectangle(U.x,U.y+(ha.y-ha.height--1)*oa+(0==ha.y?U.height:0),U.width,1))&&(ma="row-resize")),U=this.view.getState(this.model.getParent(U.cell))}null!=ma&&aa.setCursor(ma)}}}),mouseUp:mxUtils.bind(this,function(L,U){k=h=l=r=null})})}this.cellRenderer.minSvgStrokeWidth=.1;var y=document.createElement("div");this.cellRenderer.getLabelValue=function(L){var U=mxCellRenderer.prototype.getLabelValue.apply(this,arguments);L.view.graph.isHtmlLabel(L.cell)&&("0"==mxUtils.getValue(L.style,"html","0")?U=mxUtils.htmlEntities(U,!1):(L.lastLabelValue!=+1)*oa+(0==ha.y?U.height:0),U.width,1))&&(ma="row-resize")),U=this.view.getState(this.model.getParent(U.cell))}null!=ma&&aa.setCursor(ma)}}}),mouseUp:mxUtils.bind(this,function(L,U){k=h=l=q=null})})}this.cellRenderer.minSvgStrokeWidth=.1;var y=document.createElement("div");this.cellRenderer.getLabelValue=function(L){var U=mxCellRenderer.prototype.getLabelValue.apply(this,arguments);L.view.graph.isHtmlLabel(L.cell)&&("0"==mxUtils.getValue(L.style,"html","0")?U=mxUtils.htmlEntities(U,!1):(L.lastLabelValue!=U&&(L.lastLabelValue=U,L.lastSanitizedLabelValue=Graph.sanitizeHtml(U),y.innerHTML=L.lastSanitizedLabelValue,Graph.addLightDarkColors(y,null,"simple"==L.view.graph.getAdaptiveColors())&&(L.lastSanitizedLabelValue=y.innerHTML)),U=L.lastSanitizedLabelValue));return U};if("undefined"!==typeof mxVertexHandler){this.setConnectable(!0);this.setDropEnabled(!0);this.setPanning(!0);this.setTooltips(!0);this.setAllowLoops(!0);this.allowAutoPanning=!0;this.constrainChildren=this.resetEdgesOnConnect=!1;this.constrainRelativeChildren=!0;this.graphHandler.scrollOnMove=!1;this.graphHandler.scaleGrid=!0;this.connectionHandler.setCreateTarget(!1);this.connectionHandler.insertBeforeSource=!0;this.connectionHandler.isValidSource=function(L,U){return!1};this.alternateEdgeStyle="vertical";null==f&&this.loadStylesheet();var A=this.graphHandler.getGuideStates;this.graphHandler.getGuideStates=function(){var L=A.apply(this,arguments);if(this.graph.pageVisible){var U=[],aa=this.graph.pageFormat,ha=this.graph.pageScale,ma=aa.width*ha;aa=aa.height*ha;ha=this.graph.view.translate;for(var oa=this.graph.view.scale,ca=this.graph.getPageLayout(),la=0;la<ca.width;la++)U.push(new mxRectangle(((ca.x+la)*ma+ha.x)*oa,(ca.y*aa+ha.y)*oa,ma*oa,aa*oa));for(la=1;la<ca.height;la++)U.push(new mxRectangle((ca.x*ma+ha.x)*oa,((ca.y+la)*aa+ha.y)*oa,ma*oa,aa*oa));L=U.concat(L)}return L};mxDragSource.prototype.dragElementZIndex=mxPopupMenu.prototype.zIndex;mxGuide.prototype.getGuideColor=function(L,U){return null==L.cell?"#ffa500":mxConstants.GUIDE_COLOR};this.graphHandler.createPreviewShape=-function(L){this.previewColor="#000000"==this.graph.background?"#ffffff":mxGraphHandler.prototype.previewColor;return mxGraphHandler.prototype.createPreviewShape.apply(this,arguments)};var G=this.graphHandler.getCells;this.graphHandler.getCells=function(L){for(var U=G.apply(this,arguments),aa=new mxDictionary,ha=[],ma=0;ma<U.length;ma++){var oa=this.graph.isTableCell(L)&&this.graph.isTableCell(U[ma])&&this.graph.isCellSelected(U[ma])?this.graph.model.getParent(U[ma]):this.graph.isTableRow(L)&&this.graph.isTableRow(U[ma])&&+function(L){this.previewColor="#000000"==this.graph.background?"#ffffff":mxGraphHandler.prototype.previewColor;return mxGraphHandler.prototype.createPreviewShape.apply(this,arguments)};var F=this.graphHandler.getCells;this.graphHandler.getCells=function(L){for(var U=F.apply(this,arguments),aa=new mxDictionary,ha=[],ma=0;ma<U.length;ma++){var oa=this.graph.isTableCell(L)&&this.graph.isTableCell(U[ma])&&this.graph.isCellSelected(U[ma])?this.graph.model.getParent(U[ma]):this.graph.isTableRow(L)&&this.graph.isTableRow(U[ma])&&this.graph.isCellSelected(U[ma])?U[ma]:this.graph.getCompositeParent(U[ma]);null==oa||aa.get(oa)||(aa.put(oa,!0),ha.push(oa))}return ha};var D=this.graphHandler.start;this.graphHandler.start=function(L,U,aa,ha){var ma=!1;this.graph.isTableCell(L)&&(this.graph.isCellSelected(L)?ma=!0:L=this.graph.model.getParent(L));ma||this.graph.isTableRow(L)&&this.graph.isCellSelected(L)||(L=this.graph.getCompositeParent(L));D.apply(this,arguments)};this.connectionHandler.createTargetVertex=function(L,U){U=this.graph.getCompositeParent(U);-return mxConnectionHandler.prototype.createTargetVertex.apply(this,arguments)};this.connectionHandler.insertEdge=function(L,U,aa,ha,ma,oa){var ca=mxConnectionHandler.prototype.insertEdge.apply(this,arguments);null!=ha&&this.graph.applyNewEdgeStyle(ha,[ca]);return ca};var F=new mxRubberband(this);this.getRubberband=function(){return F};var H=(new Date).getTime(),M=0,N=this.connectionHandler.mouseMove;this.connectionHandler.mouseMove=function(){var L=this.currentState;N.apply(this,arguments);L!=this.currentState?+return mxConnectionHandler.prototype.createTargetVertex.apply(this,arguments)};this.connectionHandler.insertEdge=function(L,U,aa,ha,ma,oa){var ca=mxConnectionHandler.prototype.insertEdge.apply(this,arguments);null!=ha&&this.graph.applyNewEdgeStyle(ha,[ca]);return ca};var G=new mxRubberband(this);this.getRubberband=function(){return G};var H=(new Date).getTime(),M=0,N=this.connectionHandler.mouseMove;this.connectionHandler.mouseMove=function(){var L=this.currentState;N.apply(this,arguments);L!=this.currentState?(H=(new Date).getTime(),M=0):M=(new Date).getTime()-H};var K=this.connectionHandler.isOutlineConnectEvent;this.connectionHandler.isOutlineConnectEvent=function(L){return mxEvent.isShiftDown(L.getEvent())&&mxEvent.isAltDown(L.getEvent())?!1:null!=this.currentState&&L.getState()==this.currentState&&2E3<M||(null==this.currentState||"0"!=mxUtils.getValue(this.currentState.style,"outlineConnect","1"))&&K.apply(this,arguments)};var T=this.isToggleEvent;this.isToggleEvent=function(L){return T.apply(this,arguments)||mxEvent.isShiftDown(L)};var W=null;this.panningHandler.addListener(mxEvent.PAN_START,mxUtils.bind(this,function(){this.isEnabled()&&(W=this.container.style.cursor,this.container.style.cursor="move")}));this.panningHandler.addListener(mxEvent.PAN_END,mxUtils.bind(this,function(){this.isEnabled()&&(this.container.style.cursor=W)}));this.popupMenuHandler.autoExpand=!0;this.popupMenuHandler.isSelectOnPopup=function(L){return mxEvent.isMouseEvent(L.getEvent())};var S=this.click;this.click=function(L){var U=null==L.state&&null!=L.sourceState&&this.isCellLocked(this.getLayerForCell(L.sourceState.cell));if(this.isEnabled()&&!U||L.isConsumed())return S.apply(this,arguments);var aa=U?L.sourceState.cell:L.getCell();if(null!=aa){var ha=this.getClickableLinkForCell(aa);null!=ha?this.isCustomLink(ha)?this.customLinkClicked(ha,aa):this.openLink(ha):U&&this.clearSelection()}};this.tooltipHandler.getStateForEvent=function(L){return L.sourceState};var V=this.tooltipHandler.show;this.tooltipHandler.show=@@ -2594,7 +2594,7 @@ function(){V.apply(this,arguments);if(null!=this.div)for(var L=this.div.getElemethis.getCursorForCell=function(L){if(!this.isEnabled()||this.isCellLocked(L)){if(null!=this.getClickableLinkForCell(L))return"pointer";if(this.isCellLocked(L))return"default"}return fa.apply(this,arguments)};this.selectRegion=function(L,U){var aa=mxEvent.isAltDown(U)?L:null;L=this.getCells(L.x,L.y,L.width,L.height,null,null,aa,null,!0);if(this.isToggleEvent(U))for(aa=0;aa<L.length;aa++)this.selectCellForEvent(L[aa],U);else this.selectCellsForEvent(L,U);return L};var P=this.graphHandler.shouldRemoveCellsFromParent;this.graphHandler.shouldRemoveCellsFromParent=function(L,U,aa){return this.graph.isCellSelected(L)?!1:P.apply(this,arguments)};var Z=this.updateMouseEvent;this.updateMouseEvent=function(L){L=Z.apply(this,arguments);null!=L.state&&this.isCellLocked(this.getLayerForCell(L.getCell()))&&(null==this.getLinkForCell(L.getCell())?L.state=this.view.getState(this.getCellAt(L.getGraphX(),L.getGraphY(),null,null,null,mxUtils.bind(this,function(U,aa,ha){return L.state==U||this.isCellLocked(this.getLayerForCell(U.cell))&&null==this.getLinkForCell(U.cell)}))):L.state=null);return L};var X=this.isCellSelectable;this.isCellSelectable=function(L){return X.apply(this,arguments)&&!this.isCellLocked(this.getLayerForCell(L))};this.isCellLocked=function(L){for(;null!=L;){if("1"==mxUtils.getValue(this.getCurrentCellStyle(L),"locked","0"))return!0;L=this.model.getParent(L)}return!1};var ba=null;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(L,U){"mouseDown"==U.getProperty("eventName")&&(L=U.getProperty("event").getState(),-ba=null==L||this.isSelectionEmpty()||this.isCellSelected(L.cell)?null:this.getSelectionCells())}));this.addListener(mxEvent.TAP_AND_HOLD,mxUtils.bind(this,function(L,U){if(!mxEvent.isMultiTouchEvent(U)){L=U.getProperty("event");var aa=U.getProperty("cell");null==aa?(L=mxUtils.convertPoint(this.container,mxEvent.getClientX(L),mxEvent.getClientY(L)),F.start(L.x,L.y)):null!=ba?this.addSelectionCells(ba):1<this.getSelectionCount()&&this.isCellSelected(aa)&&this.removeSelectionCell(aa);ba=null;U.consume()}}));+ba=null==L||this.isSelectionEmpty()||this.isCellSelected(L.cell)?null:this.getSelectionCells())}));this.addListener(mxEvent.TAP_AND_HOLD,mxUtils.bind(this,function(L,U){if(!mxEvent.isMultiTouchEvent(U)){L=U.getProperty("event");var aa=U.getProperty("cell");null==aa?(L=mxUtils.convertPoint(this.container,mxEvent.getClientX(L),mxEvent.getClientY(L)),G.start(L.x,L.y)):null!=ba?this.addSelectionCells(ba):1<this.getSelectionCount()&&this.isCellSelected(aa)&&this.removeSelectionCell(aa);ba=null;U.consume()}}));this.connectionHandler.selectCells=function(L,U){this.graph.setSelectionCell(U||L)};this.connectionHandler.constraintHandler.isStateIgnored=function(L,U){var aa=L.view.graph;return U&&(aa.isCellSelected(L.cell)||aa.isTableRow(L.cell)&&aa.selectionCellsHandler.isHandled(aa.model.getParent(L.cell)))};this.selectionModel.addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){var L=this.connectionHandler.constraintHandler;null!=L.currentFocus&&L.isStateIgnored(L.currentFocus,!0)&&(L.currentFocus=null,L.constraints=null,L.destroyIcons());L.destroyFocusHighlight()}));Graph.touchStyle&&this.initTouch()}this.currentTranslate=new mxPoint(0,0)};Graph.touchStyle=mxClient.IS_TOUCH||mxClient.IS_FF&&mxClient.IS_WIN||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints||null==window.urlParams||"1"==urlParams.touch;Graph.fileSupport=null!=window.File&&null!=window.FileReader&&null!=window.FileList&&(null==window.urlParams||"0"!=urlParams.filesupport);Graph.translateDiagram="1"==urlParams["translate-diagram"];Graph.diagramLanguage=null!=urlParams["diagram-language"]?urlParams["diagram-language"]:mxClient.language;Graph.lineJumpsEnabled=!0;Graph.defaultJumpSize=6;Graph.zoomWheel=!1;Graph.selectParentLayer=!1;Graph.minTableColumnWidth=20;Graph.minTableRowHeight=20;Graph.foreignObjectWarningText="Text is not SVG - cannot display";Graph.foreignObjectWarningLink="https://www.drawio.com/doc/faq/svg-export-text-problems";Graph.xmlDeclaration='<?xml version="1.0" encoding="UTF-8"?>';Graph.svgDoctype='<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">';@@ -2608,30 +2608,30 @@ Graph.createSvgImage=function(a,b,e,f,g){e=unescape(encodeURIComponent(Graph.svgGraph.getSvgFromDataUri=function(a){return null!=a&&"data:image/svg"==a.substring(0,14)?Graph.xmlDeclaration+"\n"+Graph.svgDoctype+"\n"+decodeURIComponent(escape(atob(a.substring(a.indexOf(",")+1)))):null};Graph.createSvgNode=function(a,b,e,f,g){var d=mxUtils.createXmlDocument(),h=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,"svg"):d.createElement("svg");null!=g&&h.setAttribute("style","background: "+g.light+"; background-color: "+g.cssText+";");null==d.createElementNS?(h.setAttribute("xmlns",mxConstants.NS_SVG),h.setAttribute("xmlns:xlink",mxConstants.NS_XLINK)):h.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink",mxConstants.NS_XLINK);h.setAttribute("version","1.1");h.setAttribute("width",e+"px");h.setAttribute("height",f+"px");h.setAttribute("viewBox",a+" "+b+" "+e+" "+f);d.appendChild(h);return h};-Graph.htmlToPng=function(a,b,e,f,g,d){g=null!=g?g:"";d=null!=d?d:Editor.htmlRasterScale;var h=document.createElement("canvas");h.width=b*d;h.height=e*d;var l=document.createElement("img");l.onload=mxUtils.bind(this,function(){try{var k=h.getContext("2d");k.scale(d,d);k.drawImage(l,0,0);f(h.toDataURL())}catch(u){f(null)}});var r=mxUtils.createXmlDocument();r=null!=r.createElementNS?r.createElementNS(mxConstants.NS_SVG,"svg"):r.createElement("svg");a=(new mxSvgCanvas2D(r)).convertHtml(a);l.onerror=+Graph.htmlToPng=function(a,b,e,f,g,d){g=null!=g?g:"";d=null!=d?d:Editor.htmlRasterScale;var h=document.createElement("canvas");h.width=b*d;h.height=e*d;var l=document.createElement("img");l.onload=mxUtils.bind(this,function(){try{var k=h.getContext("2d");k.scale(d,d);k.drawImage(l,0,0);f(h.toDataURL())}catch(u){f(null)}});var q=mxUtils.createXmlDocument();q=null!=q.createElementNS?q.createElementNS(mxConstants.NS_SVG,"svg"):q.createElement("svg");a=(new mxSvgCanvas2D(q)).convertHtml(a);l.onerror=function(k){f(null)};l.src="data:image/svg+xml,"+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="'+b+'" height="'+e+'">'+(""!=g?'<defs xmlns="http://www.w3.org/2000/svg"><style type="text/css">'+g+"</style></defs>":"")+'<foreignObject width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml">'+a+"</div></foreignObject></svg>")};-Graph.addLightDarkColors=function(a,b,e,f){function g(y,A,G){return null!=f?f(y,A,G):mxUtils.isValidColor(G)?(null==h&&null!=b&&(h={}),null!=h&&(h[A]=y.style.getPropertyValue(A)),G=mxUtils.getLightDarkColor(G,null,null,e),y.style.setProperty(A,G.cssText),!0):!1}for(var d=a.getElementsByTagName("*"),h=null,l=!1,r=0;r<d.length;r++)if(d[r]!=a&&null!=d[r].style){h=null;for(var k=0;k<d[r].style.length;k++){var u=d[r].style.item(k),w=d[r].style.getPropertyValue(u);l=g(d[r],u,w)||l}"FONT"==d[r].nodeName&&-""==d[r].style.getPropertyValue("color")&&(w=d[r].getAttribute("color"),l=g(d[r],"color",w)||l);null!=b&&null!=h&&d[r].setAttribute(b,JSON.stringify(h))}return l};Graph.removeLightDarkColors=function(a,b){a=a.getElementsByTagName("*");for(var e=!1,f=0;f<a.length;f++)try{var g=a[f].getAttribute(b);if(null!=g){a[f].removeAttribute(b);var d=JSON.parse(g),h;for(h in d){var l=d[h];""==l?(a[f].style[h]=null,""==a[f].getAttribute("style")&&a[f].removeAttribute("style")):a[f].style[h]=l;e=!0}}}catch(r){}return e};+Graph.addLightDarkColors=function(a,b,e,f){function g(y,A,F){return null!=f?f(y,A,F):mxUtils.isValidColor(F)?(null==h&&null!=b&&(h={}),null!=h&&(h[A]=y.style.getPropertyValue(A)),F=mxUtils.getLightDarkColor(F,null,null,e),y.style.setProperty(A,F.cssText),!0):!1}for(var d=a.getElementsByTagName("*"),h=null,l=!1,q=0;q<d.length;q++)if(d[q]!=a&&null!=d[q].style){h=null;for(var k=0;k<d[q].style.length;k++){var u=d[q].style.item(k),w=d[q].style.getPropertyValue(u);l=g(d[q],u,w)||l}"FONT"==d[q].nodeName&&+""==d[q].style.getPropertyValue("color")&&(w=d[q].getAttribute("color"),l=g(d[q],"color",w)||l);null!=b&&null!=h&&d[q].setAttribute(b,JSON.stringify(h))}return l};Graph.removeLightDarkColors=function(a,b){a=a.getElementsByTagName("*");for(var e=!1,f=0;f<a.length;f++)try{var g=a[f].getAttribute(b);if(null!=g){a[f].removeAttribute(b);var d=JSON.parse(g),h;for(h in d){var l=d[h];""==l?(a[f].style[h]=null,""==a[f].getAttribute("style")&&a[f].removeAttribute("style")):a[f].style[h]=l;e=!0}}}catch(q){}return e};Graph.getGivenColor=function(a,b){var e=null;if(a.nodeType==mxConstants.NODETYPE_ELEMENT){try{var f=a.getAttribute(Graph.backupStyleAttribute);if(null!=f){var g=JSON.parse(f);null!=g&&null!=g[b]&&("color"==b&&"FONT"==a.nodeName&&""==g[b]&&null!=a.getAttribute("color")?e=a.getAttribute("color"):""!=g[b]&&(e=g[b]))}}catch(d){}null==e&&""!=a.style[b]&&(e=a.style[b])}return e};-Graph.setTextColor=function(a,b,e){for(var f=e?Graph.newColorPlaceholder:Graph.newBackgroundPlaceholder,g=e?"color":"background-color",d=a.getElementsByTagName("*"),h=[],l=0;l<d.length;l++)h.push({node:d[l],value:d[l].style[g]});document.execCommand(e?"forecolor":"backcolor",!1,f);a=a.getElementsByTagName("*");for(l=0;l<a.length;l++){if(l<h.length&&h[l].node==a[l]&&h[l].value!=a[l].style[g]&&""==a[l].style[g])try{if(d=a[l].getAttribute(Graph.backupStyleAttribute),null!=d){var r=JSON.parse(d);r[g]=-"";a[l].setAttribute(Graph.backupStyleAttribute,JSON.stringify(r))}}catch(k){}if(e&&a[l].getAttribute("color")==f||a[l].style[g]==f){e&&a[l].getAttribute("color")==f&&a[l].removeAttribute("color");a[l].style[g]=b!=mxConstants.NONE?mxUtils.getLightDarkColor(b).cssText:null;try{d=a[l].getAttribute(Graph.backupStyleAttribute),r=null!=d?JSON.parse(d):{},r[g]=b!=mxConstants.NONE?b:"",a[l].setAttribute(Graph.backupStyleAttribute,JSON.stringify(r))}catch(k){}if(e&&mxClient.IS_FF){b=a[l];e=b.firstChild;if(null!=+Graph.setTextColor=function(a,b,e){for(var f=e?Graph.newColorPlaceholder:Graph.newBackgroundPlaceholder,g=e?"color":"background-color",d=a.getElementsByTagName("*"),h=[],l=0;l<d.length;l++)h.push({node:d[l],value:d[l].style[g]});document.execCommand(e?"forecolor":"backcolor",!1,f);a=a.getElementsByTagName("*");for(l=0;l<a.length;l++){if(l<h.length&&h[l].node==a[l]&&h[l].value!=a[l].style[g]&&""==a[l].style[g])try{if(d=a[l].getAttribute(Graph.backupStyleAttribute),null!=d){var q=JSON.parse(d);q[g]=+"";a[l].setAttribute(Graph.backupStyleAttribute,JSON.stringify(q))}}catch(k){}if(e&&a[l].getAttribute("color")==f||a[l].style[g]==f){e&&a[l].getAttribute("color")==f&&a[l].removeAttribute("color");a[l].style[g]=b!=mxConstants.NONE?mxUtils.getLightDarkColor(b).cssText:null;try{d=a[l].getAttribute(Graph.backupStyleAttribute),q=null!=d?JSON.parse(d):{},q[g]=b!=mxConstants.NONE?b:"",a[l].setAttribute(Graph.backupStyleAttribute,JSON.stringify(q))}catch(k){}if(e&&mxClient.IS_FF){b=a[l];e=b.firstChild;if(null!=e&&"A"==e.nodeName&&null==e.nextSibling&&null!=e.firstChild){b.parentNode.insertBefore(e,b);for(f=e.firstChild;null!=f;)g=f.nextSibling,b.appendChild(f),f=g;e.appendChild(b)}break}}}};Graph.zapGremlins=function(a){return mxUtils.zapGremlins(a)};Graph.stringToBytes=function(a){for(var b=Array(a.length),e=0;e<a.length;e++)b[e]=a.charCodeAt(e);return b};Graph.bytesToString=function(a){for(var b=Array(a.length),e=0;e<a.length;e++)b[e]=String.fromCharCode(a[e]);return b.join("")};Graph.base64EncodeUnicode=function(a){return btoa(encodeURIComponent(a).replace(/%([0-9A-F]{2})/g,function(b,e){return String.fromCharCode(parseInt(e,16))}))};Graph.base64DecodeUnicode=function(a){return decodeURIComponent(Array.prototype.map.call(atob(a),function(b){return"%"+("00"+b.charCodeAt(0).toString(16)).slice(-2)}).join(""))};Graph.compressNode=function(a,b){a=mxUtils.getXml(a);return Graph.compress(b?a:Graph.zapGremlins(a))};Graph.arrayBufferToString=function(a){var b="";a=new Uint8Array(a);for(var e=a.byteLength,f=0;f<e;f++)b+=String.fromCharCode(a[f]);return b};Graph.stringToArrayBuffer=function(a){return Uint8Array.from(a,function(b){return b.charCodeAt(0)})};Graph.arrayBufferIndexOfString=function(a,b,e){var f=b.charCodeAt(0),g=1,d=-1;for(e=e||0;e<a.byteLength;e++)if(a[e]==f){d=e;break}for(e=d+1;-1<d&&e<a.byteLength&&e<d+b.length-1;e++){if(a[e]!=b.charCodeAt(g))return Graph.arrayBufferIndexOfString(a,b,d+1);g++}return g==b.length-1?d:-1};Graph.compress=function(a,b){if(null==a||0==a.length||"undefined"===typeof pako)return a;a=b?pako.deflate(encodeURIComponent(a)):pako.deflateRaw(encodeURIComponent(a));return btoa(Graph.arrayBufferToString(new Uint8Array(a)))};Graph.decompress=function(a,b,e){if(null==a||0==a.length||"undefined"===typeof pako)return a;a=Graph.stringToArrayBuffer(atob(a));b=decodeURIComponent(b?pako.inflate(a,{to:"string"}):pako.inflateRaw(a,{to:"string"}));return e?b:Graph.zapGremlins(b)};Graph.fadeNodes=function(a,b,e,f,g){g=null!=g?g:1E3;Graph.setTransitionForNodes(a,null);Graph.setOpacityForNodes(a,b);window.setTimeout(function(){Graph.setTransitionForNodes(a,"all "+g+"ms ease-in-out");Graph.setOpacityForNodes(a,e);window.setTimeout(function(){Graph.setTransitionForNodes(a,null);null!=f&&f()},g)},0)};-Graph.exploreFromCell=function(a,b,e){pageSize=null!=e&&null!=e.pageSize?e.pageSize:8;minSize=null!=e&&null!=e.minSize?e.minSize:180;(function(f,g){function d(w){w.view.states.visit(function(y,A){null!=A.shape&&w.model.isEdge(w.model.getParent(A.cell))?A.shape.node.parentNode.appendChild(A.shape.node):null!=A.text&&w.model.isEdge(A.cell)&&A.text.node.parentNode.appendChild(A.text.node)})}function h(w,y){if(w.getModel().isVertex(y)){var A=w.container.offsetWidth/2,G=w.container.offsetHeight/2;w.rootCell=-y.referenceCell||y;w.getModel().beginUpdate();try{pageSize=null!=e&&null!=e.pageSize?e.pageSize:8+Math.max(0,Math.floor(Math.min(w.container.offsetWidth-800/120,w.container.offsetHeight-600)/30));for(var D=y.referenceCell||y,F=f.model.getCell(D.sourceCellId),H=f.getEdges(F,null,!0,!0,!1,!0),M=[],N=0;N<H.length;N++)null!=H[N].getTerminal(!0)&&null!=H[N].getTerminal(!1)&&f.isCellVisible(H[N])&&!f.isEdgeIgnored(H[N])&&f.isCellVisible(H[N].getTerminal(!0))&&f.isCellVisible(H[N].getTerminal(!1))&&f.isCellVisible(f.getLayerForCell(H[N]))&&-M.push(H[N]);M=H=M;if(null!=y.startIndex||0<pageSize&&H.length>pageSize){var K=y.startIndex||0;M=H.slice(Math.max(0,K),Math.min(H.length,K+pageSize))}M=f.getOpposites(M,F).concat(M);var T=w.cloneCells(M);for(N=0;N<M.length;N++)if(T[N].sourceCellId=M[N].id,w.model.isEdge(T[N]))for(T[N].geometry.x=0,T[N].geometry.y=0,T[N].geometry.points=null,T[N].setStyle(T[N].getStyle()+";curved=1;noEdgeStyle=1;entryX=none;entryY=none;exitX=none;exitY=none;labelBackgroundColor=#ffffffe0;textOpacity=100;"),T[N].setTerminal(D,-null==T[N].getTerminal(!0)),F=0;F<T[N].getChildCount();F++){var W=T[N].getChildAt(F);null!=W.geometry&&W.geometry.relative&&(W.setStyle(W.getStyle()+";labelBackgroundColor=#ffffffe0;textOpacity=100;"),W.geometry.offset=new mxPoint(0,0),W.geometry.y=0,W.geometry.x=.5>W.geometry.x?-.8:.5<W.geometry.x?.8:0)}if(0<y.startIndex){var S=w.createVertex(null,null,mxResources.get("previousPage")+" ("+Math.ceil((y.startIndex||0)/pageSize)+"/"+Math.ceil(H.length/pageSize)+")",0,0,120,30,"fillColor=green;fontColor=white;strokeColor=green;rounded=1;");+Graph.exploreFromCell=function(a,b,e){pageSize=null!=e&&null!=e.pageSize?e.pageSize:8;minSize=null!=e&&null!=e.minSize?e.minSize:180;(function(f,g){function d(w){w.view.states.visit(function(y,A){null!=A.shape&&w.model.isEdge(w.model.getParent(A.cell))?A.shape.node.parentNode.appendChild(A.shape.node):null!=A.text&&w.model.isEdge(A.cell)&&A.text.node.parentNode.appendChild(A.text.node)})}function h(w,y){if(w.getModel().isVertex(y)){var A=w.container.offsetWidth/2,F=w.container.offsetHeight/2;w.rootCell=+y.referenceCell||y;w.getModel().beginUpdate();try{pageSize=null!=e&&null!=e.pageSize?e.pageSize:8+Math.max(0,Math.floor(Math.min(w.container.offsetWidth-800/120,w.container.offsetHeight-600)/30));for(var D=y.referenceCell||y,G=f.model.getCell(D.sourceCellId),H=f.getEdges(G,null,!0,!0,!1,!0),M=[],N=0;N<H.length;N++)null!=H[N].getTerminal(!0)&&null!=H[N].getTerminal(!1)&&f.isCellVisible(H[N])&&!f.isEdgeIgnored(H[N])&&f.isCellVisible(H[N].getTerminal(!0))&&f.isCellVisible(H[N].getTerminal(!1))&&f.isCellVisible(f.getLayerForCell(H[N]))&&+M.push(H[N]);M=H=M;if(null!=y.startIndex||0<pageSize&&H.length>pageSize){var K=y.startIndex||0;M=H.slice(Math.max(0,K),Math.min(H.length,K+pageSize))}M=f.getOpposites(M,G).concat(M);var T=w.cloneCells(M);for(N=0;N<M.length;N++)if(T[N].sourceCellId=M[N].id,w.model.isEdge(T[N]))for(T[N].geometry.x=0,T[N].geometry.y=0,T[N].geometry.points=null,T[N].setStyle(T[N].getStyle()+";curved=1;noEdgeStyle=1;entryX=none;entryY=none;exitX=none;exitY=none;labelBackgroundColor=#ffffffe0;textOpacity=100;"),T[N].setTerminal(D,+null==T[N].getTerminal(!0)),G=0;G<T[N].getChildCount();G++){var W=T[N].getChildAt(G);null!=W.geometry&&W.geometry.relative&&(W.setStyle(W.getStyle()+";labelBackgroundColor=#ffffffe0;textOpacity=100;"),W.geometry.offset=new mxPoint(0,0),W.geometry.y=0,W.geometry.x=.5>W.geometry.x?-.8:.5<W.geometry.x?.8:0)}if(0<y.startIndex){var S=w.createVertex(null,null,mxResources.get("previousPage")+" ("+Math.ceil((y.startIndex||0)/pageSize)+"/"+Math.ceil(H.length/pageSize)+")",0,0,120,30,"fillColor=green;fontColor=white;strokeColor=green;rounded=1;");S.referenceCell=D;S.startIndex=Math.max(0,(y.startIndex||0)-pageSize);T.splice(0,0,S)}if(H.length>(y.startIndex||0)+pageSize){var V=w.createVertex(null,null,mxResources.get("nextPage")+" ("+(Math.ceil((y.startIndex||0)/pageSize)+2)+"/"+Math.ceil(H.length/pageSize)+")",0,0,120,30,"fillColor=green;fontColor=white;strokeColor=green;rounded=1;");V.referenceCell=D;V.startIndex=(y.startIndex||0)+pageSize;T.splice(0,0,V)}for(var fa in w.getModel().cells){var P=w.getModel().getCell(fa);P!=w.rootCell&&!w.getModel().isAncestor(w.rootCell,-P)&&w.getModel().isVertex(P)&&w.removeCells([P])}w.addCells(T);var Z=w.getModel().getGeometry(w.rootCell);null!=Z&&(Z=Z.clone(),Z.x=A-Z.width/2,Z.y=G-Z.height/3,w.getModel().setGeometry(w.rootCell,Z));y=[];for(fa in w.getModel().cells)P=w.getModel().getCell(fa),P!=w.rootCell&&w.getModel().isVertex(P)&&w.getModel().getParent(P)==w.getDefaultParent()&&(y.push(P),Z=w.getModel().getGeometry(P),null!=Z&&(Z.x=A-Z.width/2,Z.y=G-Z.height/2));var X=y.length,ba=2*Math.PI/X,L=Math.max(minSize,Math.min(w.container.offsetWidth/+P)&&w.getModel().isVertex(P)&&w.removeCells([P])}w.addCells(T);var Z=w.getModel().getGeometry(w.rootCell);null!=Z&&(Z=Z.clone(),Z.x=A-Z.width/2,Z.y=F-Z.height/3,w.getModel().setGeometry(w.rootCell,Z));y=[];for(fa in w.getModel().cells)P=w.getModel().getCell(fa),P!=w.rootCell&&w.getModel().isVertex(P)&&w.getModel().getParent(P)==w.getDefaultParent()&&(y.push(P),Z=w.getModel().getGeometry(P),null!=Z&&(Z.x=A-Z.width/2,Z.y=F-Z.height/2));var X=y.length,ba=2*Math.PI/X,L=Math.max(minSize,Math.min(w.container.offsetWidth/2-40,w.container.offsetHeight/2-80));for(A=0;A<X;A++)Z=w.getModel().getGeometry(y[A]),null!=Z&&(Z=Z.clone(),Z.x+=L*Math.sin(A*ba),Z.y+=L*Math.cos(A*ba),w.getModel().setGeometry(y[A],Z))}finally{w.getModel().endUpdate()}}}var l=document.createElement("div");l.style.position="absolute";l.style.display="block";l.style.overflow="auto";l.style.width="100%";l.style.height="100%";l.style.left="0px";l.style.top="0px";l.style.zIndex=2;l.style.background=f.background==mxConstants.NONE||null==f.background?"light-dark(#ffffff,"+-Editor.darkColor+")":f.background;var r=document.createElement("img");r.setAttribute("src",Editor.closeBlackImage);r.style.position="absolute";r.style.cursor="pointer";r.style.right="10px";r.style.top="10px";l.appendChild(r);var k=document.createElement("div");k.style.position="absolute";k.style.cursor="pointer";k.style.right="38px";k.style.top="14px";k.style.textAlign="right";k.style.verticalAlign="top";mxUtils.write(k,mxResources.get("close"));l.appendChild(k);document.body.appendChild(l);var u=-function(w){27==w.keyCode&&r.click()};mxEvent.addListener(document,"keydown",u);(function(w){var y=new Graph(w);y.keepEdgesInBackground=!0;y.isCellResizable=function(){return!1};y.isCellRotatable=function(){return!1};y.getCursorForCell=function(M){return this.model.isVertex(M)?"pointer":null};y.getFoldingImage=function(){return null};var A=function(){mxEvent.removeListener(document,"keydown",u);w.parentNode.removeChild(w);f.scrollCellToVisible(g)};mxEvent.addListener(r,"click",A);mxEvent.addListener(k,-"click",A);y.setEnabled(!1);var G=y.click;y.click=function(M){var N=M.getCell(),K=null!=N?null!=N.referenceCell?N.referenceCell:N:null;null!=N&&0<y.getEdges(K).length?h(y,N):G.apply(this,arguments)};A=y.container.offsetWidth/2;var D=y.container.offsetHeight/3;y.model.beginUpdate();var F=y.importCells([g])[0];F.sourceCellId=g.id;F.geometry.x=A-F.geometry.width/2;F.geometry.y=D-F.geometry.height/2;y.model.endUpdate();var H=!1;y.getModel().addListener(mxEvent.CHANGE,function(M,N){H||(M=N.getProperty("edit").changes,-mxText.prototype.enableBoundingBox=!1,y.labelsVisible=!1,H=!0,mxEffects.animateChanges(y,M,function(){var K=new mxParallelEdgeLayout(y);K.spacing=60;var T=K.layout;K.layout=function(W){K.spacing=Math.min(60,Math.max(30,60-5*W.length));T.apply(this,arguments)};K.execute(y.getDefaultParent());mxText.prototype.enableBoundingBox=!0;y.labelsVisible=!0;y.tooltipHandler.hide();y.refresh();d(y);H=!1}))});h(y,F)})(l)})(a,b)};Graph.removeKeys=function(a,b){for(var e in a)b(e)&&delete a[e]};+Editor.darkColor+")":f.background;var q=document.createElement("img");q.setAttribute("src",Editor.closeBlackImage);q.style.position="absolute";q.style.cursor="pointer";q.style.right="10px";q.style.top="10px";l.appendChild(q);var k=document.createElement("div");k.style.position="absolute";k.style.cursor="pointer";k.style.right="38px";k.style.top="14px";k.style.textAlign="right";k.style.verticalAlign="top";mxUtils.write(k,mxResources.get("close"));l.appendChild(k);document.body.appendChild(l);var u=+function(w){27==w.keyCode&&q.click()};mxEvent.addListener(document,"keydown",u);(function(w){var y=new Graph(w);y.keepEdgesInBackground=!0;y.isCellResizable=function(){return!1};y.isCellRotatable=function(){return!1};y.getCursorForCell=function(M){return this.model.isVertex(M)?"pointer":null};y.getFoldingImage=function(){return null};var A=function(){mxEvent.removeListener(document,"keydown",u);w.parentNode.removeChild(w);f.scrollCellToVisible(g)};mxEvent.addListener(q,"click",A);mxEvent.addListener(k,+"click",A);y.setEnabled(!1);var F=y.click;y.click=function(M){var N=M.getCell(),K=null!=N?null!=N.referenceCell?N.referenceCell:N:null;null!=N&&0<y.getEdges(K).length?h(y,N):F.apply(this,arguments)};A=y.container.offsetWidth/2;var D=y.container.offsetHeight/3;y.model.beginUpdate();var G=y.importCells([g])[0];G.sourceCellId=g.id;G.geometry.x=A-G.geometry.width/2;G.geometry.y=D-G.geometry.height/2;y.model.endUpdate();var H=!1;y.getModel().addListener(mxEvent.CHANGE,function(M,N){H||(M=N.getProperty("edit").changes,+mxText.prototype.enableBoundingBox=!1,y.labelsVisible=!1,H=!0,mxEffects.animateChanges(y,M,function(){var K=new mxParallelEdgeLayout(y);K.spacing=60;var T=K.layout;K.layout=function(W){K.spacing=Math.min(60,Math.max(30,60-5*W.length));T.apply(this,arguments)};K.execute(y.getDefaultParent());mxText.prototype.enableBoundingBox=!0;y.labelsVisible=!0;y.tooltipHandler.hide();y.refresh();d(y);H=!1}))});h(y,G)})(l)})(a,b)};Graph.removeKeys=function(a,b){for(var e in a)b(e)&&delete a[e]};Graph.setTransitionForNodes=function(a,b){for(var e=0;e<a.length;e++)mxUtils.setPrefixedStyle(a[e].style,"transition",b)};Graph.setOpacityForNodes=function(a,b){for(var e=0;e<a.length;e++)a[e].style.opacity=b};Graph.removePasteFormatting=function(a,b){for(;null!=a;){null!=a.firstChild&&Graph.removePasteFormatting(a.firstChild,!0);var e=a.nextSibling;if(a.nodeType==mxConstants.NODETYPE_ELEMENT&&null!=a.style){"#000000"==a.style.color&&(a.style.color="");if("SPAN"==a.nodeName&&"Apple-tab-span"==a.className){var f=Graph.createTabNode(4);a.parentNode.replaceChild(f,a);a=f}if("P"==a.nodeName&&"p1"==a.className){for(;null!=a.firstChild;)a.parentNode.insertBefore(a.firstChild,a);null!=e&&"P"==e.nodeName&&"p1"==e.className&&a.parentNode.insertBefore(a.ownerDocument.createElement("br"),a);a.parentNode.removeChild(a)}!b&&null!=a.innerHTML&&0<=a.innerHTML.indexOf("\t")&&(f=Graph.createTabNode(4),a.innerHTML=a.innerHTML.replace(/\t/g,f.outerHTML))}a=e}};Graph.createTabNode=function(a){var b="\t";if(null!=a)for(b="";0<a;)b+=" ",a--;a=document.createElement("span");a.style.whiteSpace="pre";a.appendChild(document.createTextNode(b));return a};Graph.sanitizeHtml=function(a,b){return Graph.domPurify(a,!1)};@@ -2640,7 +2640,7 @@ Graph.isStyleAllowed=function(a){a=a.replace(/\\([0-9a-fA-F]{1,6})\s?/g,functionDOMPurify.addHook("afterSanitizeAttributes",function(a){"use"==a.nodeName&&(null!=a.getAttribute("xlink:href")&&!a.getAttribute("xlink:href").startsWith("#")||null!=a.getAttribute("href")&&!a.getAttribute("href").startsWith("#"))?a.remove():"style"==a.nodeName.toLowerCase()&&(Graph.isStyleAllowed(a.textContent)||a.remove())});DOMPurify.addHook("uponSanitizeAttribute",function(a,b){"style"!=b.attrName||Graph.isStyleAllowed(b.attrValue)||(b.keepAttr=!1)});Graph.domPurify=function(a,b){window.DOM_PURIFY_CONFIG.IN_PLACE=b;return DOMPurify.sanitize(a,window.DOM_PURIFY_CONFIG)};Graph.clipSvgDataUri=function(a){if(null!=a&&"data:image/svg+xml;base64,"==a.substring(0,26))try{var b=document.createElement("div");b.style.position="absolute";b.style.visibility="hidden";var e=decodeURIComponent(escape(atob(a.substring(26)))),f=e.indexOf("<svg");if(0<=f){b.innerHTML=Graph.sanitizeHtml(e.substring(f));var g=b.getElementsByTagName("svg");if(0<g.length){document.body.appendChild(b);try{f=e=1;var d=g[0].getAttribute("width"),h=g[0].getAttribute("height");d=null!=d&&"%"!=d.charAt(d.length--1)?parseFloat(d):NaN;h=null!=h&&"%"!=h.charAt(h.length-1)?parseFloat(h):NaN;var l=g[0].getAttribute("viewBox");if(null!=l&&!isNaN(d)&&!isNaN(h)){var r=l.split(" ");4<=l.length&&(e=parseFloat(r[2])/d,f=parseFloat(r[3])/h)}var k=g[0].getBBox();if(0<k.width&&0<k.height){l=0;var u=g[0].querySelectorAll("[stroke-width]");for(r=0;r<u.length;r++)l=Math.max(l,parseFloat(u[r].getAttribute("stroke-width")));var w=new mxRectangle(k.x,k.y,k.width,k.height);w.grow(l/2);!isNaN(d)&&!isNaN(h)&&0>w.x&&0>w.y&&w.width>+1)?parseFloat(d):NaN;h=null!=h&&"%"!=h.charAt(h.length-1)?parseFloat(h):NaN;var l=g[0].getAttribute("viewBox");if(null!=l&&!isNaN(d)&&!isNaN(h)){var q=l.split(" ");4<=l.length&&(e=parseFloat(q[2])/d,f=parseFloat(q[3])/h)}var k=g[0].getBBox();if(0<k.width&&0<k.height){l=0;var u=g[0].querySelectorAll("[stroke-width]");for(q=0;q<u.length;q++)l=Math.max(l,parseFloat(u[q].getAttribute("stroke-width")));var w=new mxRectangle(k.x,k.y,k.width,k.height);w.grow(l/2);!isNaN(d)&&!isNaN(h)&&0>w.x&&0>w.y&&w.width>d&&w.height>h?b.getElementsByTagName("svg")[0].setAttribute("viewBox","0 0 "+d+" "+h):(b.getElementsByTagName("svg")[0].setAttribute("viewBox",w.x+" "+w.y+" "+w.width+" "+w.height),b.getElementsByTagName("svg")[0].setAttribute("width",w.width/e),b.getElementsByTagName("svg")[0].setAttribute("height",w.height/f))}}catch(y){}finally{document.body.removeChild(b)}a=Editor.createSvgDataUri(mxUtils.getXml(g[0]))}}}catch(y){}return a};Graph.createRemoveIcon=function(a,b){var e=document.createElement("img");e.setAttribute("src",Dialog.prototype.clearImage);e.setAttribute("title",a);e.setAttribute("width","13");e.setAttribute("height","10");e.style.marginLeft="4px";e.style.marginBottom="-1px";e.style.cursor="pointer";mxEvent.addListener(e,"click",b);return e};Graph.isPageLink=function(a){return null!=a&&"data:page/id,"==a.substring(0,13)};Graph.rewritePageLinks=function(a,b){function e(g,d){var h=g.getAttribute(d);if(null!=h){Graph.isPageLink(h)&&(h="#"+h.substring(h.indexOf(":")+1));var l=d;b&&"xlink:href"==d&&(g.removeAttribute(d),l="href");g.setAttribute(l,h)}}a=a.getElementsByTagName("a");if(null!=a)for(var f=0;f<a.length;f++)e(a[f],"href"),e(a[f],"xlink:href")};Graph.isLink=function(a){return null!=a&&a.match(/(http(s)?:\/\/.)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g)};@@ -2649,32 +2649,32 @@ Graph.prototype.diagramBackgroundColor="#f0f0f0";Graph.prototype.enableDiagramBaGraph.prototype.scrollTileSize=new mxRectangle(0,0,400,400);Graph.prototype.transparentBackground=!0;Graph.prototype.selectParentAfterDelete=!1;Graph.prototype.defaultEdgeLength=80;Graph.prototype.immediateHandling=!0;Graph.prototype.connectionArrowsEnabled=!0;Graph.prototype.placeholderPattern=RegExp("%(date{.*}|[^%{}\"'=;]+)%","g");Graph.prototype.absoluteUrlPattern=RegExp("^(?:[a-z]+:)?//","i");Graph.prototype.defaultThemeName="default";Graph.prototype.defaultThemes={};Graph.prototype.baseUrl=null!=urlParams.base?mxUtils.removeJavascriptProtocol(decodeURIComponent(urlParams.base)):(window!=window.top?document.referrer:document.location.toString()).split("#")[0];Graph.prototype.editAfterInsert=!1;Graph.prototype.builtInProperties=["label","tooltip","placeholders","placeholder"];Graph.prototype.standalone=!1;Graph.prototype.enableFlowAnimation=!1;Graph.prototype.roundableShapes="label rectangle internalStorage corner parallelogram swimlane triangle trapezoid ext step tee process link rhombus offPageConnector loopLimit hexagon manualInput card curlyBracket singleArrow callout doubleArrow flexArrow umlLifeline".split(" ");Graph.prototype.vertexFontSize=null;Graph.prototype.edgeFontSize=null;Graph.prototype.adaptiveColors="auto";-Graph.prototype.init=function(a){mxGraph.prototype.init.apply(this,arguments);this.cellRenderer.initializeLabel=function(e,f){mxCellRenderer.prototype.initializeLabel.apply(this,arguments);var g=e.view.graph.tolerance,d=!0,h=null,l=mxUtils.bind(this,function(u){d=!0;h=new mxPoint(mxEvent.getClientX(u),mxEvent.getClientY(u))}),r=mxUtils.bind(this,function(u){d=d&&null!=h&&Math.abs(h.x-mxEvent.getClientX(u))<g&&Math.abs(h.y-mxEvent.getClientY(u))<g}),k=mxUtils.bind(this,function(u){if(d)for(var w=mxEvent.getSource(u);null!=-w&&w!=f.node;){if("a"==w.nodeName.toLowerCase()){e.view.graph.labelLinkClicked(e,w,u);break}w=w.parentNode}});mxEvent.addGestureListeners(f.node,l,r,k);mxEvent.addListener(f.node,"click",function(u){mxEvent.consume(u)})};if(null!=this.tooltipHandler){var b=this.tooltipHandler.init;this.tooltipHandler.init=function(){b.apply(this,arguments);null!=this.div&&mxEvent.addListener(this.div,"click",mxUtils.bind(this,function(e){var f=mxEvent.getSource(e);"A"==f.nodeName&&(f=f.getAttribute("href"),null!=+Graph.prototype.init=function(a){mxGraph.prototype.init.apply(this,arguments);this.cellRenderer.initializeLabel=function(e,f){mxCellRenderer.prototype.initializeLabel.apply(this,arguments);var g=e.view.graph.tolerance,d=!0,h=null,l=mxUtils.bind(this,function(u){d=!0;h=new mxPoint(mxEvent.getClientX(u),mxEvent.getClientY(u))}),q=mxUtils.bind(this,function(u){d=d&&null!=h&&Math.abs(h.x-mxEvent.getClientX(u))<g&&Math.abs(h.y-mxEvent.getClientY(u))<g}),k=mxUtils.bind(this,function(u){if(d)for(var w=mxEvent.getSource(u);null!=+w&&w!=f.node;){if("a"==w.nodeName.toLowerCase()){e.view.graph.labelLinkClicked(e,w,u);break}w=w.parentNode}});mxEvent.addGestureListeners(f.node,l,q,k);mxEvent.addListener(f.node,"click",function(u){mxEvent.consume(u)})};if(null!=this.tooltipHandler){var b=this.tooltipHandler.init;this.tooltipHandler.init=function(){b.apply(this,arguments);null!=this.div&&mxEvent.addListener(this.div,"click",mxUtils.bind(this,function(e){var f=mxEvent.getSource(e);"A"==f.nodeName&&(f=f.getAttribute("href"),null!=f&&this.graph.isCustomLink(f)&&(mxEvent.isTouchEvent(e)||!mxEvent.isPopupTrigger(e))&&this.graph.customLinkClicked(f)&&mxEvent.consume(e))}))}}this.initLayoutManager()};(function(){Graph.prototype.useCssTransforms=!1;Graph.prototype.currentScale=1;Graph.prototype.currentTranslate=new mxPoint(0,0);Graph.prototype.pasteEdgeStyle=!1;Graph.prototype.isFillState=function(h){var l=mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null);return!this.isSpecialColor(h.style[mxConstants.STYLE_FILLCOLOR])&&"1"!=mxUtils.getValue(h.style,"lineShape",null)&&(this.model.isVertex(h.cell)||"arrow"==l||"pipe"==l||"wire"==l||"filledEdge"==l||"flexArrow"==l||"mxgraph.arrows2.wedgeArrow"==-l)};Graph.prototype.isGradientState=function(h){var l=mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null);return this.isFillState(h)&&"wire"!=l&&"pipe"!=l};Graph.prototype.isStrokeState=function(h){return!0};Graph.prototype.getTextColor=function(h,l){for(var r=l?"color":"background-color",k=h==this.cellEditor.textarea&&l?"default":Graph.getGivenColor(h,r);null==k&&null!=h&&h!=this.cellEditor.textarea.parentNode;)k=h==this.cellEditor.textarea&&l?"default":Graph.getGivenColor(h,r),h=h.parentNode;+l)};Graph.prototype.isGradientState=function(h){var l=mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null);return this.isFillState(h)&&"wire"!=l&&"pipe"!=l};Graph.prototype.isStrokeState=function(h){return!0};Graph.prototype.getTextColor=function(h,l){for(var q=l?"color":"background-color",k=h==this.cellEditor.textarea&&l?"default":Graph.getGivenColor(h,q);null==k&&null!=h&&h!=this.cellEditor.textarea.parentNode;)k=h==this.cellEditor.textarea&&l?"default":Graph.getGivenColor(h,q),h=h.parentNode;if("rgba(0, 0, 0, 0)"==k||"transparent"==k)k=mxConstants.NONE;return k};Graph.prototype.isSpecialColor=function(h){return 0<=mxUtils.indexOf([mxConstants.STYLE_STROKECOLOR,mxConstants.STYLE_FILLCOLOR,"inherit","swimlane","indicated"],h)};Graph.prototype.isGlassState=function(h){h=mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null);return"label"==h||"rectangle"==h||"internalStorage"==h||"ext"==h||"umlLifeline"==h||"swimlane"==h||"process"==h};Graph.prototype.isRoundedState=function(h){return null!=h.shape?h.shape.isRoundable():0<=mxUtils.indexOf(this.roundableShapes,mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null))};Graph.prototype.isLineJumpState=function(h){var l=mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null);return!mxUtils.getValue(h.style,mxConstants.STYLE_CURVED,!1)&&("connector"==l||"filledEdge"==l||"wire"==l)};Graph.prototype.isAutoSizeState=function(h){return"1"==mxUtils.getValue(h.style,mxConstants.STYLE_AUTOSIZE,null)};Graph.prototype.isImageState=function(h){return null!=-mxUtils.getValue(h.style,mxConstants.STYLE_IMAGE,null)};Graph.prototype.isShadowState=function(h){return!0};Graph.prototype.getVerticesAndEdges=function(h,l){h=null!=h?h:!0;l=null!=l?l:!0;var r=this.model;return r.filterDescendants(function(k){return h&&r.isVertex(k)||l&&r.isEdge(k)},r.getRoot())};Graph.prototype.applyNewEdgeStyle=function(h,l,r){h=this.getCellStyle(h).newEdgeStyle;if(null!=h){this.model.beginUpdate();try{var k=JSON.parse(h),u;for(u in k)this.setCellStyles(u,k[u],l),"edgeStyle"==-u&&"elbowEdgeStyle"==k[u]&&null!=r&&this.setCellStyles("elbow",r==mxConstants.DIRECTION_SOUTH||r==mxConstants.DIRECTION_NOTH?"vertical":"horizontal",l)}finally{this.model.endUpdate()}}};Graph.prototype.getCommonStyle=function(h){for(var l={},r=0;r<h.length;r++){var k=this.view.getState(h[r]);null!=k&&this.mergeStyle(k.style,l,0==r)}return l};Graph.prototype.mergeStyle=function(h,l,r){if(null!=h){var k={},u;for(u in h){var w=h[u];null!=w&&(k[u]=!0,null==l[u]&&r?l[u]=w:l[u]!=w&&delete l[u])}for(u in l)k[u]||-delete l[u]}};Graph.prototype.getStartEditingCell=function(h,l){l=this.getCellStyle(h);l=parseInt(mxUtils.getValue(l,mxConstants.STYLE_STARTSIZE,0));this.isTable(h)&&(!this.isSwimlane(h)||0==l)&&""==this.getLabel(h)&&0<this.model.getChildCount(h)&&(h=this.model.getChildAt(h,0),l=this.getCellStyle(h),l=parseInt(mxUtils.getValue(l,mxConstants.STYLE_STARTSIZE,0)));if(this.isTableRow(h)&&(!this.isSwimlane(h)||0==l)&&""==this.getLabel(h)&&0<this.model.getChildCount(h))for(l=0;l<this.model.getChildCount(h);l++){var r=-this.model.getChildAt(h,l);if(this.isCellEditable(r)){h=r;break}}return h};Graph.prototype.copyStyle=function(h){return this.getCellStyle(h,!1)};Graph.prototype.pasteStyle=function(h,l,r,k){null!=h&&(k||(r=null!=r?r:Graph.cellStyles,Graph.removeKeys(h,function(u){return 0>mxUtils.indexOf(r,u)})),this.updateCellStyles(h,l))};Graph.prototype.copyCellStyles=function(h,l,r,k,u,w,y){var A=!1,G=!1;if(0<h.length)for(var D=0;D<h.length&&(A=this.getModel().isVertex(h[D])||A,!(G=this.getModel().isEdge(h[D])||-G)||!A);D++);else G=A=!0;A=A&&!w;G=G&&!y;for(D=0;D<l.length;D++)if(h=0<=mxUtils.indexOf(Graph.textStyles,l[D]),"strokeColor"!=l[D]||null!=r[D]&&"none"!=r[D])if(0<=mxUtils.indexOf(Graph.cellStyles,l[D])||"shape"==l[D])if("shape"!=l[D]&&(A||h)&&(null==r[D]?delete k[l[D]]:k[l[D]]=r[D]),G||h)null==r[D]?delete u[l[D]]:u[l[D]]=r[D]};Graph.prototype.includeDescendants=function(h){for(var l=[],r=0;r<h.length;r++)l=l.concat(this.model.getDescendants(h[r]));return l};Graph.prototype.pasteCellStyles=function(h,-l,r,k,u){l=null!=l?l:this.currentVertexStyle;r=null!=r?r:this.currentEdgeStyle;u=null!=u?u:this.pasteEdgeStyle;this.model.beginUpdate();try{for(var w=0;w<h.length;w++){var y=h[w],A=this.model.getStyle(y),G=!1;null!=y.style&&(pairs=y.style.split(";"),G=G||0<=mxUtils.indexOf(pairs,"text"));if(G)var D=Graph.textStyles;else if(D=Graph.cellStyles.slice(),!k)for(var F=null!=A?A.split(";"):[],H=0;H<F.length;H++){var M=F[H],N=M.indexOf("=");if(0<=N){var K=M.substring(0,N),T=mxUtils.indexOf(D,K);0<=T&&D.splice(T,-1);for(G=0;G<Graph.cellStyleGroups.length;G++){var W=Graph.cellStyleGroups[G];if(0<=mxUtils.indexOf(W,K))for(var S=0;S<W.length;S++){var V=mxUtils.indexOf(D,W[S]);0<=V&&D.splice(V,1)}}}}var fa=this.model.isEdge(y);G=fa?r:l;for(H=0;H<D.length;H++){K=D[H];var P=G[K];null!=P&&("edgeStyle"!=K||u)&&(fa||!fa&&0>mxUtils.indexOf(Graph.edgeStyles,K))&&(A=mxUtils.setStyle(A,K,P),"fontFamily"==K&&null==G.fontSource&&(A=mxUtils.setStyle(A,"fontSource",null)),fa&&"rounded"==K&&"1"==P&&null==G.curved&&(A=mxUtils.setStyle(A,-"curved",null)))}Editor.simpleLabels&&(A=mxUtils.setStyle(mxUtils.setStyle(A,"html",null),"whiteSpace",null));this.model.setStyle(y,A)}}finally{this.model.endUpdate()}return h};Graph.prototype.updateCellStyles=function(h,l){this.model.beginUpdate();try{for(var r=0;r<l.length;r++)if(this.model.isVertex(l[r])||this.model.isEdge(l[r])){var k=this.getCellStyle(l[r],!1),u=k[mxConstants.STYLE_PERIMETER],w=!1;for(A in h){var y=h[A];if(k[A]!=y){if(A==mxConstants.STYLE_SHAPE&&"umlLifeline"==k[A]&&"umlLifeline"!=-y){w=!0;var A="participant"}this.setCellStyles(A,y,[l[r]])}}w&&this.setCellStyles(mxConstants.STYLE_PERIMETER,u,[l[r]])}}finally{this.model.endUpdate()}};Graph.prototype.isFastZoomEnabled=function(){return"nocss"!=urlParams.zoom&&!mxClient.NO_FO&&!mxClient.IS_EDGE&&!this.useCssTransforms&&(this.isCssTransformsSupported()||mxClient.IS_IOS)};Graph.prototype.isCssTransformsSupported=function(){return this.dialect==mxConstants.DIALECT_SVG&&!mxClient.NO_FO&&(!this.lightbox||!mxClient.IS_SF)};Graph.prototype.getCellAt=-function(h,l,r,k,u,w){this.useCssTransforms&&(h=h/this.currentScale-this.currentTranslate.x,l=l/this.currentScale-this.currentTranslate.y);return this.getScaledCellAt.apply(this,arguments)};Graph.prototype.getScaledCellAt=function(h,l,r,k,u,w){k=null!=k?k:!0;u=null!=u?u:!0;null==r&&(r=this.getCurrentRoot(),null==r&&(r=this.getModel().getRoot()));if(null!=r)for(var y=this.model.getChildCount(r)-1;0<=y;y--){var A=this.model.getChildAt(r,y),G=this.getScaledCellAt(h,l,A,k,u,w);if(null!=G)return G;if(this.isCellVisible(A)&&-(u&&this.model.isEdge(A)||k&&this.model.isVertex(A))&&(G=this.view.getState(A),null!=G&&(null==w||!w(G,h,l))&&this.intersects(G,h,l)))return A}return null};Graph.prototype.isRecursiveVertexResize=function(h){return!this.isSwimlane(h.cell)&&0<this.model.getChildCount(h.cell)&&!this.isCellCollapsed(h.cell)&&"1"==mxUtils.getValue(h.style,"recursiveResize","1")&&null==mxUtils.getValue(h.style,"childLayout",null)};Graph.prototype.getAbsoluteParent=function(h){for(var l=this.getCellGeometry(h);null!=l&&-l.relative;)h=this.getModel().getParent(h),l=this.getCellGeometry(h);return h};Graph.prototype.isPart=function(h){return"1"==mxUtils.getValue(this.getCurrentCellStyle(h),"part","0")||this.isTableCell(h)||this.isTableRow(h)};Graph.prototype.getCompositeParents=function(h){for(var l=new mxDictionary,r=[],k=0;k<h.length;k++){var u=this.getCompositeParent(h[k]);this.isTableCell(u)&&(u=this.graph.model.getParent(u));this.isTableRow(u)&&(u=this.graph.model.getParent(u));null==u||l.get(u)||(l.put(u,!0),-r.push(u))}return r};Graph.prototype.getReferenceTerminal=function(h){if(null!=h){var l=this.getCellGeometry(h);null!=l&&l.relative&&(h=this.model.getParent(h))}null!=h&&this.model.isEdge(h)&&(h=this.model.getParent(h));null!=h&&(h=this.getCompositeParent(h));return h};Graph.prototype.getCompositeParent=function(h){for(;this.isPart(h);){var l=this.model.getParent(h);if(!this.model.isVertex(l))break;h=l}return h};Graph.prototype.filterSelectionCells=function(h){var l=this.getSelectionCells();if(null!=-h){for(var r=[],k=0;k<l.length;k++)h(l[k])||r.push(l[k]);l=r}return l};var a=mxGraph.prototype.scrollRectToVisible;Graph.prototype.scrollRectToVisible=function(h){if(this.useCssTransforms){var l=this.currentScale,r=this.currentTranslate;h=new mxRectangle((h.x+2*r.x)*l-r.x,(h.y+2*r.y)*l-r.y,h.width*l,h.height*l)}a.apply(this,arguments)};mxCellHighlight.prototype.getStrokeWidth=function(h){h=this.strokeWidth;this.graph.useCssTransforms&&(h/=this.graph.currentScale);return h};mxGraphView.prototype.getGraphBounds=-function(){var h=this.graphBounds;if(this.graph.useCssTransforms){var l=this.graph.currentTranslate,r=this.graph.currentScale;h=new mxRectangle((h.x+l.x)*r,(h.y+l.y)*r,h.width*r,h.height*r)}return h};mxGraphView.prototype.viewStateChanged=function(){this.graph.useCssTransforms?this.validate():this.revalidate();this.graph.sizeDidChange()};var b=mxGraphView.prototype.validate;mxGraphView.prototype.validate=function(h){this.graph.useCssTransforms&&(this.graph.currentScale=this.scale,this.graph.currentTranslate.x=-this.translate.x,this.graph.currentTranslate.y=this.translate.y,this.scale=1,this.translate.x=0,this.translate.y=0);b.apply(this,arguments);this.graph.useCssTransforms&&(this.graph.updateCssTransform(),this.scale=this.graph.currentScale,this.translate.x=this.graph.currentTranslate.x,this.translate.y=this.graph.currentTranslate.y)};var e=mxGraph.prototype.getCellsForGroup;Graph.prototype.getCellsForGroup=function(h){h=e.apply(this,arguments);for(var l=[],r=0;r<h.length;r++)this.isTableRow(h[r])||this.isTableCell(h[r])||-l.push(h[r]);return l};var f=mxGraph.prototype.getCellsForUngroup;Graph.prototype.getCellsForUngroup=function(h){h=f.apply(this,arguments);for(var l=[],r=0;r<h.length;r++)this.isTable(h[r])||this.isTableRow(h[r])||this.isTableCell(h[r])||l.push(h[r]);return l};Graph.prototype.updateCssTransform=function(){var h=this.view.getDrawPane();if(null!=h)if(h=h.parentNode,this.useCssTransforms){var l=h.getAttribute("transform");h.setAttribute("transformOrigin","0 0");var r=Math.round(100*this.currentScale)/-100;h.setAttribute("transform","scale("+r+","+r+")translate("+Math.round(100*this.currentTranslate.x)/100+","+Math.round(100*this.currentTranslate.y)/100+")");l!=h.getAttribute("transform")&&this.fireEvent(new mxEventObject("cssTransformChanged"),"transform",h.getAttribute("transform"))}else h.removeAttribute("transformOrigin"),h.removeAttribute("transform")};var g=mxGraphView.prototype.validateBackgroundPage;mxGraphView.prototype.validateBackgroundPage=function(){var h=this.graph.useCssTransforms,-l=this.scale,r=this.translate;h&&(this.scale=this.graph.currentScale,this.translate=this.graph.currentTranslate);g.apply(this,arguments);h&&(this.scale=l,this.translate=r)};var d=mxGraph.prototype.updatePageBreaks;mxGraph.prototype.updatePageBreaks=function(h,l,r){var k=this.useCssTransforms,u=this.view.scale,w=this.view.translate;k&&(this.view.scale=1,this.view.translate=new mxPoint(0,0),this.useCssTransforms=!1);d.apply(this,arguments);k&&(this.view.scale=u,this.view.translate=w,this.useCssTransforms=+mxUtils.getValue(h.style,mxConstants.STYLE_IMAGE,null)};Graph.prototype.isShadowState=function(h){return!0};Graph.prototype.getVerticesAndEdges=function(h,l){h=null!=h?h:!0;l=null!=l?l:!0;var q=this.model;return q.filterDescendants(function(k){return h&&q.isVertex(k)||l&&q.isEdge(k)},q.getRoot())};Graph.prototype.applyNewEdgeStyle=function(h,l,q){h=this.getCellStyle(h).newEdgeStyle;if(null!=h){this.model.beginUpdate();try{var k=JSON.parse(h),u;for(u in k)this.setCellStyles(u,k[u],l),"edgeStyle"==+u&&"elbowEdgeStyle"==k[u]&&null!=q&&this.setCellStyles("elbow",q==mxConstants.DIRECTION_SOUTH||q==mxConstants.DIRECTION_NOTH?"vertical":"horizontal",l)}finally{this.model.endUpdate()}}};Graph.prototype.getCommonStyle=function(h){for(var l={},q=0;q<h.length;q++){var k=this.view.getState(h[q]);null!=k&&this.mergeStyle(k.style,l,0==q)}return l};Graph.prototype.mergeStyle=function(h,l,q){if(null!=h){var k={},u;for(u in h){var w=h[u];null!=w&&(k[u]=!0,null==l[u]&&q?l[u]=w:l[u]!=w&&delete l[u])}for(u in l)k[u]||+delete l[u]}};Graph.prototype.getStartEditingCell=function(h,l){l=this.getCellStyle(h);l=parseInt(mxUtils.getValue(l,mxConstants.STYLE_STARTSIZE,0));this.isTable(h)&&(!this.isSwimlane(h)||0==l)&&""==this.getLabel(h)&&0<this.model.getChildCount(h)&&(h=this.model.getChildAt(h,0),l=this.getCellStyle(h),l=parseInt(mxUtils.getValue(l,mxConstants.STYLE_STARTSIZE,0)));if(this.isTableRow(h)&&(!this.isSwimlane(h)||0==l)&&""==this.getLabel(h)&&0<this.model.getChildCount(h))for(l=0;l<this.model.getChildCount(h);l++){var q=+this.model.getChildAt(h,l);if(this.isCellEditable(q)){h=q;break}}return h};Graph.prototype.copyStyle=function(h){return this.getCellStyle(h,!1)};Graph.prototype.pasteStyle=function(h,l,q,k){null!=h&&(k||(q=null!=q?q:Graph.cellStyles,Graph.removeKeys(h,function(u){return 0>mxUtils.indexOf(q,u)})),this.updateCellStyles(h,l))};Graph.prototype.copyCellStyles=function(h,l,q,k,u,w,y){var A=!1,F=!1;if(0<h.length)for(var D=0;D<h.length&&(A=this.getModel().isVertex(h[D])||A,!(F=this.getModel().isEdge(h[D])||+F)||!A);D++);else F=A=!0;A=A&&!w;F=F&&!y;for(D=0;D<l.length;D++)if(h=0<=mxUtils.indexOf(Graph.textStyles,l[D]),"strokeColor"!=l[D]||null!=q[D]&&"none"!=q[D])if(0<=mxUtils.indexOf(Graph.cellStyles,l[D])||"shape"==l[D])if("shape"!=l[D]&&(A||h)&&(null==q[D]?delete k[l[D]]:k[l[D]]=q[D]),F||h)null==q[D]?delete u[l[D]]:u[l[D]]=q[D]};Graph.prototype.includeDescendants=function(h){for(var l=[],q=0;q<h.length;q++)l=l.concat(this.model.getDescendants(h[q]));return l};Graph.prototype.pasteCellStyles=function(h,+l,q,k,u){l=null!=l?l:this.currentVertexStyle;q=null!=q?q:this.currentEdgeStyle;u=null!=u?u:this.pasteEdgeStyle;this.model.beginUpdate();try{for(var w=0;w<h.length;w++){var y=h[w],A=this.model.getStyle(y),F=!1;null!=y.style&&(pairs=y.style.split(";"),F=F||0<=mxUtils.indexOf(pairs,"text"));if(F)var D=Graph.textStyles;else if(D=Graph.cellStyles.slice(),!k)for(var G=null!=A?A.split(";"):[],H=0;H<G.length;H++){var M=G[H],N=M.indexOf("=");if(0<=N){var K=M.substring(0,N),T=mxUtils.indexOf(D,K);0<=T&&D.splice(T,+1);for(F=0;F<Graph.cellStyleGroups.length;F++){var W=Graph.cellStyleGroups[F];if(0<=mxUtils.indexOf(W,K))for(var S=0;S<W.length;S++){var V=mxUtils.indexOf(D,W[S]);0<=V&&D.splice(V,1)}}}}var fa=this.model.isEdge(y);F=fa?q:l;for(H=0;H<D.length;H++){K=D[H];var P=F[K];null!=P&&("edgeStyle"!=K||u)&&(fa||!fa&&0>mxUtils.indexOf(Graph.edgeStyles,K))&&(A=mxUtils.setStyle(A,K,P),"fontFamily"==K&&null==F.fontSource&&(A=mxUtils.setStyle(A,"fontSource",null)),fa&&"rounded"==K&&"1"==P&&null==F.curved&&(A=mxUtils.setStyle(A,+"curved",null)))}Editor.simpleLabels&&(A=mxUtils.setStyle(mxUtils.setStyle(A,"html",null),"whiteSpace",null));this.model.setStyle(y,A)}}finally{this.model.endUpdate()}return h};Graph.prototype.updateCellStyles=function(h,l){this.model.beginUpdate();try{for(var q=0;q<l.length;q++)if(this.model.isVertex(l[q])||this.model.isEdge(l[q])){var k=this.getCellStyle(l[q],!1),u=k[mxConstants.STYLE_PERIMETER],w=!1;for(A in h){var y=h[A];if(k[A]!=y){if(A==mxConstants.STYLE_SHAPE&&"umlLifeline"==k[A]&&"umlLifeline"!=+y){w=!0;var A="participant"}this.setCellStyles(A,y,[l[q]])}}w&&this.setCellStyles(mxConstants.STYLE_PERIMETER,u,[l[q]])}}finally{this.model.endUpdate()}};Graph.prototype.isFastZoomEnabled=function(){return"nocss"!=urlParams.zoom&&!mxClient.NO_FO&&!mxClient.IS_EDGE&&!this.useCssTransforms&&(this.isCssTransformsSupported()||mxClient.IS_IOS)};Graph.prototype.isCssTransformsSupported=function(){return this.dialect==mxConstants.DIALECT_SVG&&!mxClient.NO_FO&&(!this.lightbox||!mxClient.IS_SF)};Graph.prototype.getCellAt=+function(h,l,q,k,u,w){this.useCssTransforms&&(h=h/this.currentScale-this.currentTranslate.x,l=l/this.currentScale-this.currentTranslate.y);return this.getScaledCellAt.apply(this,arguments)};Graph.prototype.getScaledCellAt=function(h,l,q,k,u,w){k=null!=k?k:!0;u=null!=u?u:!0;null==q&&(q=this.getCurrentRoot(),null==q&&(q=this.getModel().getRoot()));if(null!=q)for(var y=this.model.getChildCount(q)-1;0<=y;y--){var A=this.model.getChildAt(q,y),F=this.getScaledCellAt(h,l,A,k,u,w);if(null!=F)return F;if(this.isCellVisible(A)&&+(u&&this.model.isEdge(A)||k&&this.model.isVertex(A))&&(F=this.view.getState(A),null!=F&&(null==w||!w(F,h,l))&&this.intersects(F,h,l)))return A}return null};Graph.prototype.isRecursiveVertexResize=function(h){return!this.isSwimlane(h.cell)&&0<this.model.getChildCount(h.cell)&&!this.isCellCollapsed(h.cell)&&"1"==mxUtils.getValue(h.style,"recursiveResize","1")&&null==mxUtils.getValue(h.style,"childLayout",null)};Graph.prototype.getAbsoluteParent=function(h){for(var l=this.getCellGeometry(h);null!=l&&+l.relative;)h=this.getModel().getParent(h),l=this.getCellGeometry(h);return h};Graph.prototype.isPart=function(h){return"1"==mxUtils.getValue(this.getCurrentCellStyle(h),"part","0")||this.isTableCell(h)||this.isTableRow(h)};Graph.prototype.getCompositeParents=function(h){for(var l=new mxDictionary,q=[],k=0;k<h.length;k++){var u=this.getCompositeParent(h[k]);this.isTableCell(u)&&(u=this.graph.model.getParent(u));this.isTableRow(u)&&(u=this.graph.model.getParent(u));null==u||l.get(u)||(l.put(u,!0),+q.push(u))}return q};Graph.prototype.getReferenceTerminal=function(h){if(null!=h){var l=this.getCellGeometry(h);null!=l&&l.relative&&(h=this.model.getParent(h))}null!=h&&this.model.isEdge(h)&&(h=this.model.getParent(h));null!=h&&(h=this.getCompositeParent(h));return h};Graph.prototype.getCompositeParent=function(h){for(;this.isPart(h);){var l=this.model.getParent(h);if(!this.model.isVertex(l))break;h=l}return h};Graph.prototype.filterSelectionCells=function(h){var l=this.getSelectionCells();if(null!=+h){for(var q=[],k=0;k<l.length;k++)h(l[k])||q.push(l[k]);l=q}return l};var a=mxGraph.prototype.scrollRectToVisible;Graph.prototype.scrollRectToVisible=function(h){if(this.useCssTransforms){var l=this.currentScale,q=this.currentTranslate;h=new mxRectangle((h.x+2*q.x)*l-q.x,(h.y+2*q.y)*l-q.y,h.width*l,h.height*l)}a.apply(this,arguments)};mxCellHighlight.prototype.getStrokeWidth=function(h){h=this.strokeWidth;this.graph.useCssTransforms&&(h/=this.graph.currentScale);return h};mxGraphView.prototype.getGraphBounds=+function(){var h=this.graphBounds;if(this.graph.useCssTransforms){var l=this.graph.currentTranslate,q=this.graph.currentScale;h=new mxRectangle((h.x+l.x)*q,(h.y+l.y)*q,h.width*q,h.height*q)}return h};mxGraphView.prototype.viewStateChanged=function(){this.graph.useCssTransforms?this.validate():this.revalidate();this.graph.sizeDidChange()};var b=mxGraphView.prototype.validate;mxGraphView.prototype.validate=function(h){this.graph.useCssTransforms&&(this.graph.currentScale=this.scale,this.graph.currentTranslate.x=+this.translate.x,this.graph.currentTranslate.y=this.translate.y,this.scale=1,this.translate.x=0,this.translate.y=0);b.apply(this,arguments);this.graph.useCssTransforms&&(this.graph.updateCssTransform(),this.scale=this.graph.currentScale,this.translate.x=this.graph.currentTranslate.x,this.translate.y=this.graph.currentTranslate.y)};var e=mxGraph.prototype.getCellsForGroup;Graph.prototype.getCellsForGroup=function(h){h=e.apply(this,arguments);for(var l=[],q=0;q<h.length;q++)this.isTableRow(h[q])||this.isTableCell(h[q])||+l.push(h[q]);return l};var f=mxGraph.prototype.getCellsForUngroup;Graph.prototype.getCellsForUngroup=function(h){h=f.apply(this,arguments);for(var l=[],q=0;q<h.length;q++)this.isTable(h[q])||this.isTableRow(h[q])||this.isTableCell(h[q])||l.push(h[q]);return l};Graph.prototype.updateCssTransform=function(){var h=this.view.getDrawPane();if(null!=h)if(h=h.parentNode,this.useCssTransforms){var l=h.getAttribute("transform");h.setAttribute("transformOrigin","0 0");var q=Math.round(100*this.currentScale)/+100;h.setAttribute("transform","scale("+q+","+q+")translate("+Math.round(100*this.currentTranslate.x)/100+","+Math.round(100*this.currentTranslate.y)/100+")");l!=h.getAttribute("transform")&&this.fireEvent(new mxEventObject("cssTransformChanged"),"transform",h.getAttribute("transform"))}else h.removeAttribute("transformOrigin"),h.removeAttribute("transform")};var g=mxGraphView.prototype.validateBackgroundPage;mxGraphView.prototype.validateBackgroundPage=function(){var h=this.graph.useCssTransforms,+l=this.scale,q=this.translate;h&&(this.scale=this.graph.currentScale,this.translate=this.graph.currentTranslate);g.apply(this,arguments);h&&(this.scale=l,this.translate=q)};var d=mxGraph.prototype.updatePageBreaks;mxGraph.prototype.updatePageBreaks=function(h,l,q){var k=this.useCssTransforms,u=this.view.scale,w=this.view.translate;k&&(this.view.scale=1,this.view.translate=new mxPoint(0,0),this.useCssTransforms=!1);d.apply(this,arguments);k&&(this.view.scale=u,this.view.translate=w,this.useCssTransforms=!0)}})();Graph.prototype.isLightboxView=function(){return this.lightbox};Graph.prototype.isViewer=function(){return!1};Graph.prototype.labelLinkClicked=function(a,b,e){var f=b.getAttribute("href");f!=Graph.sanitizeLink(f)&&Graph.sanitizeNode(b);if(null!=f&&!this.isCustomLink(f)&&(mxEvent.isLeftMouseButton(e)&&!mxEvent.isPopupTrigger(e)||mxEvent.isTouchEvent(e))){if(!this.isEnabled()||this.isCellLocked(a.cell))a=this.isBlankLink(f)?this.linkTarget:"_top",this.openLink(this.getAbsoluteUrl(f),a);mxEvent.consume(e)}};Graph.prototype.openLink=function(a,b,e){var f=window;try{if(a=Graph.sanitizeLink(a),null!=a)if("_self"==b&&window!=window.top)window.location.href=a;else if(a.substring(0,this.baseUrl.length)!=this.baseUrl||"#"!=a.charAt(this.baseUrl.length)||"_top"!=b||window!=window.top||navigator.standalone)f=window.open(a,null!=b?b:"_blank",e?null:"noopener,noreferrer"),null==f||e||(f.opener=null);else{var g=a.split("#")[1];window.location.hash=="#"+g&&(window.location.hash="");window.location.hash=g}}catch(d){}return f};Graph.prototype.getLinkTitle=function(a){return a.substring(a.lastIndexOf("/")+1)};Graph.prototype.isCustomLink=function(a){return"data:"==a.substring(0,5)};Graph.prototype.customLinkClicked=function(a,b){return!1};Graph.prototype.isExternalProtocol=function(a){return"mailto:"===a.substring(0,7)};Graph.prototype.isBlankLink=function(a){return!this.isExternalProtocol(a)&&("blank"===this.linkPolicy||"self"!==this.linkPolicy&&!this.isRelativeUrl(a)&&a.substring(0,this.domainUrl.length)!==this.domainUrl)};@@ -2689,7 +2689,7 @@ Graph.prototype.createLayouts=function(a){for(var b=[],e=0;e<a.length;e++)if(0<=Graph.prototype.getDataForCells=function(a,b){for(var e=[],f=0;f<a.length;f++){var g={};g.id=a[f].id;var d=null!=a[f].value?a[f].value.attributes:null;this.isReplacePlaceholders(a[f])&&b&&(g.value=this.getLabel(a[f]));if(null!=d)for(var h=0;h<d.length;h++)g[d[h].nodeName]=d[h].nodeValue;else g.label=this.convertValueToString(a[f]);e.push(g)}return e};Graph.prototype.getNodesForCells=function(a){for(var b=[],e=0;e<a.length;e++){var f=this.view.getState(a[e]);if(null!=f){for(var g=this.cellRenderer.getShapesForState(f),d=0;d<g.length;d++)null!=g[d]&&null!=g[d].node&&b.push(g[d].node);null!=f.control&&null!=f.control.node&&b.push(f.control.node)}}return b};Graph.prototype.createWipeAnimations=function(a,b){for(var e=[],f=0;f<a.length;f++){var g=this.view.getState(a[f]);null!=g&&null!=g.shape&&(this.model.isEdge(g.cell)&&null!=g.absolutePoints&&1<g.absolutePoints.length?e.push(this.createEdgeWipeAnimation(g,b)):this.model.isVertex(g.cell)&&null!=g.shape.bounds&&e.push(this.createVertexWipeAnimation(g,b)))}return e};-Graph.prototype.createEdgeWipeAnimation=function(a,b){var e=a.absolutePoints.slice(),f=a.segments,g=a.length,d=e.length;return{execute:mxUtils.bind(this,function(h,l){if(null!=a.shape){var r=[e[0]];l=h/l;b||(l=1-l);for(var k=g*l,u=1;u<d;u++)if(k<=f[u-1]){r.push(new mxPoint(e[u-1].x+(e[u].x-e[u-1].x)*k/f[u-1],e[u-1].y+(e[u].y-e[u-1].y)*k/f[u-1]));break}else k-=f[u-1],r.push(e[u]);a.shape.points=r;a.shape.redraw();0==h&&Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),1);null!=a.text&&null!=+Graph.prototype.createEdgeWipeAnimation=function(a,b){var e=a.absolutePoints.slice(),f=a.segments,g=a.length,d=e.length;return{execute:mxUtils.bind(this,function(h,l){if(null!=a.shape){var q=[e[0]];l=h/l;b||(l=1-l);for(var k=g*l,u=1;u<d;u++)if(k<=f[u-1]){q.push(new mxPoint(e[u-1].x+(e[u].x-e[u-1].x)*k/f[u-1],e[u-1].y+(e[u].y-e[u-1].y)*k/f[u-1]));break}else k-=f[u-1],q.push(e[u]);a.shape.points=q;a.shape.redraw();0==h&&Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),1);null!=a.text&&null!=a.text.node&&(a.text.node.style.opacity=l)}}),stop:mxUtils.bind(this,function(){null!=a.shape&&(a.shape.points=e,a.shape.redraw(),null!=a.text&&null!=a.text.node&&(a.text.node.style.opacity=""),Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),b?1:0))})}};Graph.prototype.createVertexWipeAnimation=function(a,b){var e=new mxRectangle.fromRectangle(a.shape.bounds);return{execute:mxUtils.bind(this,function(f,g){null!=a.shape&&(g=f/g,b||(g=1-g),a.shape.bounds=new mxRectangle(e.x,e.y,e.width*g,e.height),a.shape.redraw(),0==f&&Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),1),null!=a.text&&null!=a.text.node&&(a.text.node.style.opacity=g))}),stop:mxUtils.bind(this,function(){null!=a.shape&&(a.shape.bounds=e,a.shape.redraw(),null!=a.text&&null!=a.text.node&&(a.text.node.style.opacity=""),Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),b?1:0))})}};Graph.prototype.executeAnimations=function(a,b,e,f){e=null!=e?e:30;f=null!=f?f:30;var g=null,d=0,h=mxUtils.bind(this,function(){if(d==e||this.stoppingCustomActions){window.clearInterval(g);for(var l=0;l<a.length;l++)a[l].stop();null!=b&&b()}else for(l=0;l<a.length;l++)a[l].execute(d,e);d++});g=window.setInterval(h,f);h()};@@ -2704,18 +2704,18 @@ Graph.prototype.isLabelMovable=function(a){var b=this.getCurrentCellStyle(a);retGraph.prototype.getClickableLinkForCell=function(a){do{var b=this.getLinkForCell(a);if(null!=b)return b;a=this.model.getParent(a)}while(null!=a);return null};Graph.prototype.getGlobalVariable=function(a){var b=null;"date"==a?b=(new Date).toLocaleDateString():"time"==a?b=(new Date).toLocaleTimeString():"timestamp"==a?b=(new Date).toLocaleString():"date{"==a.substring(0,5)&&(a=a.substring(5,a.length-1),b=this.formatDate(new Date,a));return b};Graph.prototype.formatDate=function(a,b,e){null==this.dateFormatCache&&(this.dateFormatCache={i18n:{dayNames:"Sun Mon Tue Wed Thu Fri Sat Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),monthNames:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec January February March April May June July August September October November December".split(" ")},masks:{"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"}});var f=this.dateFormatCache,g=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,d=/[^-+\dA-Z]/g,h=function(H,M){H=String(H);for(M=M||2;H.length<M;)H="0"+H;return H};1!=arguments.length||"[object String]"!=Object.prototype.toString.call(a)||-/\d/.test(a)||(b=a,a=void 0);a=a?new Date(a):new Date;if(isNaN(a))throw SyntaxError("invalid date");b=String(f.masks[b]||b||f.masks["default"]);"UTC:"==b.slice(0,4)&&(b=b.slice(4),e=!0);var l=e?"getUTC":"get",r=a[l+"Date"](),k=a[l+"Day"](),u=a[l+"Month"](),w=a[l+"FullYear"](),y=a[l+"Hours"](),A=a[l+"Minutes"](),G=a[l+"Seconds"]();l=a[l+"Milliseconds"]();var D=e?0:a.getTimezoneOffset(),F={d:r,dd:h(r),ddd:f.i18n.dayNames[k],dddd:f.i18n.dayNames[k+7],m:u+1,mm:h(u+1),mmm:f.i18n.monthNames[u],mmmm:f.i18n.monthNames[u+-12],yy:String(w).slice(2),yyyy:w,h:y%12||12,hh:h(y%12||12),H:y,HH:h(y),M:A,MM:h(A),s:G,ss:h(G),l:h(l,3),L:h(99<l?Math.round(l/10):l),t:12>y?"a":"p",tt:12>y?"am":"pm",T:12>y?"A":"P",TT:12>y?"AM":"PM",Z:e?"UTC":(String(a).match(g)||[""]).pop().replace(d,""),o:(0<D?"-":"+")+h(100*Math.floor(Math.abs(D)/60)+Math.abs(D)%60,4),S:["th","st","nd","rd"][3<r%10?0:(10!=r%100-r%10)*r%10]};return b.replace(/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,function(H){return H in F?F[H]:H.slice(1,+/\d/.test(a)||(b=a,a=void 0);a=a?new Date(a):new Date;if(isNaN(a))throw SyntaxError("invalid date");b=String(f.masks[b]||b||f.masks["default"]);"UTC:"==b.slice(0,4)&&(b=b.slice(4),e=!0);var l=e?"getUTC":"get",q=a[l+"Date"](),k=a[l+"Day"](),u=a[l+"Month"](),w=a[l+"FullYear"](),y=a[l+"Hours"](),A=a[l+"Minutes"](),F=a[l+"Seconds"]();l=a[l+"Milliseconds"]();var D=e?0:a.getTimezoneOffset(),G={d:q,dd:h(q),ddd:f.i18n.dayNames[k],dddd:f.i18n.dayNames[k+7],m:u+1,mm:h(u+1),mmm:f.i18n.monthNames[u],mmmm:f.i18n.monthNames[u++12],yy:String(w).slice(2),yyyy:w,h:y%12||12,hh:h(y%12||12),H:y,HH:h(y),M:A,MM:h(A),s:F,ss:h(F),l:h(l,3),L:h(99<l?Math.round(l/10):l),t:12>y?"a":"p",tt:12>y?"am":"pm",T:12>y?"A":"P",TT:12>y?"AM":"PM",Z:e?"UTC":(String(a).match(g)||[""]).pop().replace(d,""),o:(0<D?"-":"+")+h(100*Math.floor(Math.abs(D)/60)+Math.abs(D)%60,4),S:["th","st","nd","rd"][3<q%10?0:(10!=q%100-q%10)*q%10]};return b.replace(/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,function(H){return H in G?G[H]:H.slice(1,H.length-1)})};Graph.prototype.getLayerForCell=function(a){for(;null!=a&&!this.model.isLayer(a);)a=this.model.getParent(a);return a};Graph.prototype.getLayerForCells=function(a){var b=null;if(0<a.length){b=this.getLayerForCell(a[0]);for(var e=1;e<a.length;e++)if(!this.model.isAncestor(b,a[e])){b=null;break}}return b};-Graph.prototype.createLayersDialog=function(a,b){var e=document.createElement("div");e.style.position="absolute";for(var f=this.getModel(),g=f.getChildCount(f.root),d=0;d<g;d++)mxUtils.bind(this,function(h){function l(){f.isVisible(h)?(u.setAttribute("src",Editor.visibleImage),mxUtils.setOpacity(k,75)):(u.setAttribute("src",Editor.hiddenImage),mxUtils.setOpacity(k,25))}var r=this.convertValueToString(h)||mxResources.get("background")||"Background",k=document.createElement("div");k.style.overflow=-"hidden";k.style.textOverflow="ellipsis";k.style.padding="2px";k.style.whiteSpace="nowrap";k.style.cursor="pointer";k.setAttribute("title",mxResources.get(f.isVisible(h)?"hideIt":"show",[r]));var u=document.createElement("img");u.setAttribute("draggable","false");u.setAttribute("align","absmiddle");u.setAttribute("border","0");u.style.position="relative";u.style.width="16px";u.style.padding="0px 6px 0 4px";b&&(u.style.filter="invert(100%)",u.style.top="-2px");k.appendChild(u);mxUtils.write(k,r);e.appendChild(k);+Graph.prototype.createLayersDialog=function(a,b){var e=document.createElement("div");e.style.position="absolute";for(var f=this.getModel(),g=f.getChildCount(f.root),d=0;d<g;d++)mxUtils.bind(this,function(h){function l(){f.isVisible(h)?(u.setAttribute("src",Editor.visibleImage),mxUtils.setOpacity(k,75)):(u.setAttribute("src",Editor.hiddenImage),mxUtils.setOpacity(k,25))}var q=this.convertValueToString(h)||mxResources.get("background")||"Background",k=document.createElement("div");k.style.overflow=+"hidden";k.style.textOverflow="ellipsis";k.style.padding="2px";k.style.whiteSpace="nowrap";k.style.cursor="pointer";k.setAttribute("title",mxResources.get(f.isVisible(h)?"hideIt":"show",[q]));var u=document.createElement("img");u.setAttribute("draggable","false");u.setAttribute("align","absmiddle");u.setAttribute("border","0");u.style.position="relative";u.style.width="16px";u.style.padding="0px 6px 0 4px";b&&(u.style.filter="invert(100%)",u.style.top="-2px");k.appendChild(u);mxUtils.write(k,q);e.appendChild(k);mxEvent.addListener(k,"click",function(){f.setVisible(h,!f.isVisible(h));l();null!=a&&a(h)});l()})(f.getChildAt(f.root,d));return e};-Graph.prototype.replacePlaceholders=function(a,b,e,f){f=[];if(null!=b){for(var g,d=0;g=this.placeholderPattern.exec(b);){var h=g[0];if(2<h.length&&"%label%"!=h&&"%tooltip%"!=h){var l=null;if(g.index>d&&"%"==b.charAt(g.index-1))l=h.substring(1);else{var r=h.substring(1,h.length-1),k={mm:mxConstants.MILLIMETERS,"in":mxConstants.INCHES,m:mxConstants.METERS,current:this.view.unit};if("id"==r)l=a.id;else if("width"===r.substring(0,5)&&this.model.isVertex(a)){var u=this.getCellGeometry(a);null!=u&&(l=u.width,-5<r.length&&(l=Editor.toUnit(l,k[r.substring(6)])))}else if("height"==r.substring(0,6)&&this.model.isVertex(a))u=this.getCellGeometry(a),null!=u&&(l=u.height,6<r.length&&(l=Editor.toUnit(l,k[r.substring(7)])));else if("length"==r.substring(0,6)){for(u=a;null!=u&&!this.model.isEdge(u);)u=this.model.getParent(u);u=this.view.getState(u);null!=u&&(l=Math.round(u.length/this.view.scale),6<r.length&&(l=Editor.toUnit(l,k[r.substring(7)])))}else if(0>r.indexOf("{"))for(k=a;null==l&&null!=k;)null!=k.value&&-"object"==typeof k.value&&(Graph.translateDiagram&&null!=Graph.diagramLanguage&&(l=k.getAttribute(r+"_"+Graph.diagramLanguage)),null==l&&(l=k.hasAttribute(r)?null!=k.getAttribute(r)?k.getAttribute(r):"":null)),k=this.model.getParent(k);null==l&&("pagecount"==r.substring(0,9)&&9<r.length||"pagenumber"==r.substring(0,10)&&10<r.length?(k=r.match(/(pagecount|pagenumber)[\s]*([+-])[\s]*(\d+)/),null!=k&&(l=this.getGlobalVariable(k[1]),3<k.length&&(u=parseInt(k[3]),l+="+"==k[2]?u:-u))):l=this.getGlobalVariable(r));-null==l&&null!=e&&(l=e[r])}f.push(b.substring(d,g.index)+(null!=l?l:h));d=g.index+h.length}}f.push(b.substring(d))}return f.join("")};Graph.prototype.restoreSelection=function(a){if(null!=a&&0<a.length){for(var b=[],e=0;e<a.length;e++){var f=this.model.getCell(a[e].id);null!=f&&b.push(f)}this.setSelectionCells(b)}else this.clearSelection()};+Graph.prototype.replacePlaceholders=function(a,b,e,f){f=[];if(null!=b){for(var g,d=0;g=this.placeholderPattern.exec(b);){var h=g[0];if(2<h.length&&"%label%"!=h&&"%tooltip%"!=h){var l=null;if(g.index>d&&"%"==b.charAt(g.index-1))l=h.substring(1);else{var q=h.substring(1,h.length-1),k={mm:mxConstants.MILLIMETERS,"in":mxConstants.INCHES,m:mxConstants.METERS,current:this.view.unit};if("id"==q)l=a.id;else if("width"===q.substring(0,5)&&this.model.isVertex(a)){var u=this.getCellGeometry(a);null!=u&&(l=u.width,+5<q.length&&(l=Editor.toUnit(l,k[q.substring(6)])))}else if("height"==q.substring(0,6)&&this.model.isVertex(a))u=this.getCellGeometry(a),null!=u&&(l=u.height,6<q.length&&(l=Editor.toUnit(l,k[q.substring(7)])));else if("length"==q.substring(0,6)){for(u=a;null!=u&&!this.model.isEdge(u);)u=this.model.getParent(u);u=this.view.getState(u);null!=u&&(l=Math.round(u.length/this.view.scale),6<q.length&&(l=Editor.toUnit(l,k[q.substring(7)])))}else if(0>q.indexOf("{"))for(k=a;null==l&&null!=k;)null!=k.value&&+"object"==typeof k.value&&(Graph.translateDiagram&&null!=Graph.diagramLanguage&&(l=k.getAttribute(q+"_"+Graph.diagramLanguage)),null==l&&(l=k.hasAttribute(q)?null!=k.getAttribute(q)?k.getAttribute(q):"":null)),k=this.model.getParent(k);null==l&&("pagecount"==q.substring(0,9)&&9<q.length||"pagenumber"==q.substring(0,10)&&10<q.length?(k=q.match(/(pagecount|pagenumber)[\s]*([+-])[\s]*(\d+)/),null!=k&&(l=this.getGlobalVariable(k[1]),3<k.length&&(u=parseInt(k[3]),l+="+"==k[2]?u:-u))):l=this.getGlobalVariable(q));+null==l&&null!=e&&(l=e[q])}f.push(b.substring(d,g.index)+(null!=l?l:h));d=g.index+h.length}}f.push(b.substring(d))}return f.join("")};Graph.prototype.restoreSelection=function(a){if(null!=a&&0<a.length){for(var b=[],e=0;e<a.length;e++){var f=this.model.getCell(a[e].id);null!=f&&b.push(f)}this.setSelectionCells(b)}else this.clearSelection()};Graph.prototype.selectCellForEvent=function(a,b){mxEvent.isShiftDown(b)&&!this.isSelectionEmpty()&&this.selectTableRange(this.getSelectionCell(),a)||mxGraph.prototype.selectCellForEvent.apply(this,arguments)};-Graph.prototype.selectTableRange=function(a,b){var e=!1;if(this.isTableCell(a)&&this.isTableCell(b)){var f=this.model.getParent(a),g=this.model.getParent(f),d=this.model.getParent(b);if(g==this.model.getParent(d)){a=f.getIndex(a);f=g.getIndex(f);var h=d.getIndex(b),l=g.getIndex(d);d=Math.max(f,l);b=Math.min(a,h);a=Math.max(a,h);h=[];for(f=Math.min(f,l);f<=d;f++){l=this.model.getChildAt(g,f);for(var r=b;r<=a;r++)h.push(this.model.getChildAt(l,r))}0<h.length&&(1<h.length||1<this.getSelectionCount()||+Graph.prototype.selectTableRange=function(a,b){var e=!1;if(this.isTableCell(a)&&this.isTableCell(b)){var f=this.model.getParent(a),g=this.model.getParent(f),d=this.model.getParent(b);if(g==this.model.getParent(d)){a=f.getIndex(a);f=g.getIndex(f);var h=d.getIndex(b),l=g.getIndex(d);d=Math.max(f,l);b=Math.min(a,h);a=Math.max(a,h);h=[];for(f=Math.min(f,l);f<=d;f++){l=this.model.getChildAt(g,f);for(var q=b;q<=a;q++)h.push(this.model.getChildAt(l,q))}0<h.length&&(1<h.length||1<this.getSelectionCount()||!this.isCellSelected(h[0]))&&(this.setSelectionCells(h),e=!0)}}return e};Graph.prototype.snapCellsToGrid=function(a,b){this.getModel().beginUpdate();try{for(var e=0;e<a.length;e++){var f=a[e],g=this.getCellGeometry(f);if(null!=g){g=g.clone();if(this.getModel().isVertex(f))g.x=Math.round(g.x/b)*b,g.y=Math.round(g.y/b)*b,g.width=Math.round(g.width/b)*b,g.height=Math.round(g.height/b)*b;else if(this.getModel().isEdge(f)&&null!=g.points)for(var d=0;d<g.points.length;d++)g.points[d].x=Math.round(g.points[d].x/b)*b,g.points[d].y=Math.round(g.points[d].y/b)*b;this.getModel().setGeometry(f,g)}}}finally{this.getModel().endUpdate()}};Graph.prototype.removeChildCells=function(a){this.model.beginUpdate();try{for(var b=this.model.getChildCount(a);0<=b;b--)this.model.remove(this.model.getChildAt(a,b))}finally{this.model.endUpdate()}};@@ -2723,13 +2723,13 @@ Graph.prototype.updateShapes=function(a,b,e){this.model.beginUpdate();try{var f=this.model.isEdge(a)&&this.model.isEdge(b[d]))if(e){var h=this.model.getStyle(b[d]);if(null!=h){var l=h.split(";");0<l.length&&0>l[0].indexOf("=")&&(l=l.slice(1));this.model.setStyle(b[d],l.join(";"))}this.setCellStyles(mxConstants.STYLE_PERIMETER,null,[b[d]]);this.setCellStyles("points",null,[b[d]]);this.pasteStyle(g,[b[d]],null,!0)}else g=this.copyStyle(b[d]),this.model.setStyle(b[d],f),this.pasteStyle(g,[b[d]]);"1"==mxUtils.getValue(this.getCellStyle(b[d],!1),"composite","0")&&this.removeChildCells(b[d])}}finally{this.model.endUpdate()}};Graph.prototype.selectCellsForConnectVertex=function(a,b,e){2==a.length&&this.model.isVertex(a[1])?(this.setSelectionCell(a[1]),this.scrollCellToVisible(a[1]),null!=e&&(mxEvent.isTouchEvent(b)?e.update(e.getState(this.view.getState(a[1]))):e.reset())):this.setSelectionCells(a)};Graph.prototype.isCloneConnectSource=function(a){var b=null;null!=this.layoutManager&&(b=this.layoutManager.getLayout(this.model.getParent(a)));return this.isTableRow(a)||this.isTableCell(a)||null!=b&&b.constructor==mxStackLayout};Graph.prototype.insertEdgeBeforeCell=function(a,b){for(var e=b;null!=e.parent&&null!=e.geometry&&e.geometry.relative&&e.parent!=a.parent;)e=this.model.getParent(e);null!=e&&null!=e.parent&&e.parent==a.parent&&(b=e.parent.getIndex(e),this.model.add(e.parent,a,b))};-Graph.prototype.connectVertex=function(a,b,e,f,g,d,h,l){d=d?d:!1;if(a.geometry.relative&&this.model.isEdge(a.parent))return[];for(;a.geometry.relative&&this.model.isVertex(a.parent);)a=a.parent;var r=this.isCloneConnectSource(a),k=r?a:this.getCompositeParent(a),u=a.geometry.relative&&null!=a.parent.geometry?new mxPoint(a.parent.geometry.width*a.geometry.x,a.parent.geometry.height*a.geometry.y):new mxPoint(k.geometry.x,k.geometry.y);b==mxConstants.DIRECTION_NORTH?(u.x+=k.geometry.width/2,u.y-=e):b==+Graph.prototype.connectVertex=function(a,b,e,f,g,d,h,l){d=d?d:!1;if(a.geometry.relative&&this.model.isEdge(a.parent))return[];for(;a.geometry.relative&&this.model.isVertex(a.parent);)a=a.parent;var q=this.isCloneConnectSource(a),k=q?a:this.getCompositeParent(a),u=a.geometry.relative&&null!=a.parent.geometry?new mxPoint(a.parent.geometry.width*a.geometry.x,a.parent.geometry.height*a.geometry.y):new mxPoint(k.geometry.x,k.geometry.y);b==mxConstants.DIRECTION_NORTH?(u.x+=k.geometry.width/2,u.y-=e):b==mxConstants.DIRECTION_SOUTH?(u.x+=k.geometry.width/2,u.y+=k.geometry.height+e):(u.x=b==mxConstants.DIRECTION_WEST?u.x-e:u.x+(k.geometry.width+e),u.y+=k.geometry.height/2);var w=this.view.getState(this.model.getParent(a));e=this.view.scale;var y=this.view.translate;k=y.x*e;y=y.y*e;null!=w&&this.model.isVertex(w.cell)&&(k=w.x,y=w.y);this.model.isVertex(a.parent)&&a.geometry.relative&&(u.x+=a.parent.geometry.x,u.y+=a.parent.geometry.y);d=d?null:(new mxRectangle(k+u.x*e,y+u.y*e)).grow(40*e);d=null!=d?-this.getCells(0,0,0,0,null,null,d,null,!0):null;w=this.view.getState(a);var A=null,G=null;if(null!=d){d=d.reverse();for(var D=0;D<d.length;D++)if(!this.isCellLocked(d[D])&&!this.model.isEdge(d[D])&&d[D]!=a)if(!this.model.isAncestor(a,d[D])&&this.isContainer(d[D])&&(null==A||d[D]==this.model.getParent(a)))A=d[D];else if(null==G&&this.isCellConnectable(d[D])&&!this.model.isAncestor(d[D],a)&&!this.isSwimlane(d[D])){var F=this.view.getState(d[D]);null==w||null==F||mxUtils.intersects(w,F)||(G=d[D])}}var H=-!mxEvent.isShiftDown(f)||mxEvent.isControlDown(f)||g;H&&("1"!=urlParams.sketch||g)&&(b==mxConstants.DIRECTION_NORTH?u.y-=a.geometry.height/2:b==mxConstants.DIRECTION_SOUTH?u.y+=a.geometry.height/2:u.x=b==mxConstants.DIRECTION_WEST?u.x-a.geometry.width/2:u.x+a.geometry.width/2);var M=[],N=G;G=A;g=mxUtils.bind(this,function(K){if(null==h||null!=K||null==G&&r){this.model.beginUpdate();try{if(null==N&&H){var T=this.getAbsoluteParent(null!=K?K:a);T=r?a:this.getCompositeParent(T);N=null!=K?K:this.duplicateCells([T],-!1)[0];null!=K&&this.addCells([N],this.model.getParent(a),null,null,null,!0);var W=this.getCellGeometry(N);null!=W&&(null!=K&&"1"==urlParams.sketch&&(b==mxConstants.DIRECTION_NORTH?u.y-=W.height/2:b==mxConstants.DIRECTION_SOUTH?u.y+=W.height/2:u.x=b==mxConstants.DIRECTION_WEST?u.x-W.width/2:u.x+W.width/2),W.x=u.x-W.width/2,W.y=u.y-W.height/2);null!=A?(this.addCells([N],A,null,null,null,!0),G=null):H&&!r&&this.addCells([N],this.getDefaultParent(),null,null,null,!0)}var S=mxEvent.isControlDown(f)&&-mxEvent.isShiftDown(f)&&H||null==G&&r?null:this.insertEdge(this.model.getParent(a),null,"",a,N,this.createCurrentEdgeStyle());null!=S&&(M.push(S),this.applyNewEdgeStyle(a,[S],b),this.connectionHandler.insertBeforeSource&&this.insertEdgeBeforeCell(S,a));if(null==G&&null!=N&&null!=a.parent&&r&&b==mxConstants.DIRECTION_WEST){var V=a.parent.getIndex(a);this.model.add(a.parent,N,V)}null==G&&null!=N&&M.push(N);null==N&&null!=S&&S.geometry.setTerminalPoint(u,!1);null!=S&&this.fireEvent(new mxEventObject("cellsInserted",-"cells",[S]))}finally{this.model.endUpdate()}}if(null!=l)l(M);else return M});if(null==h||null!=N||!H||null==G&&r)return g(N);h(k+u.x*e,y+u.y*e,g)};+this.getCells(0,0,0,0,null,null,d,null,!0):null;w=this.view.getState(a);var A=null,F=null;if(null!=d){d=d.reverse();for(var D=0;D<d.length;D++)if(!this.isCellLocked(d[D])&&!this.model.isEdge(d[D])&&d[D]!=a)if(!this.model.isAncestor(a,d[D])&&this.isContainer(d[D])&&(null==A||d[D]==this.model.getParent(a)))A=d[D];else if(null==F&&this.isCellConnectable(d[D])&&!this.model.isAncestor(d[D],a)&&!this.isSwimlane(d[D])){var G=this.view.getState(d[D]);null==w||null==G||mxUtils.intersects(w,G)||(F=d[D])}}var H=+!mxEvent.isShiftDown(f)||mxEvent.isControlDown(f)||g;H&&("1"!=urlParams.sketch||g)&&(b==mxConstants.DIRECTION_NORTH?u.y-=a.geometry.height/2:b==mxConstants.DIRECTION_SOUTH?u.y+=a.geometry.height/2:u.x=b==mxConstants.DIRECTION_WEST?u.x-a.geometry.width/2:u.x+a.geometry.width/2);var M=[],N=F;F=A;g=mxUtils.bind(this,function(K){if(null==h||null!=K||null==F&&q){this.model.beginUpdate();try{if(null==N&&H){var T=this.getAbsoluteParent(null!=K?K:a);T=q?a:this.getCompositeParent(T);N=null!=K?K:this.duplicateCells([T],+!1)[0];null!=K&&this.addCells([N],this.model.getParent(a),null,null,null,!0);var W=this.getCellGeometry(N);null!=W&&(null!=K&&"1"==urlParams.sketch&&(b==mxConstants.DIRECTION_NORTH?u.y-=W.height/2:b==mxConstants.DIRECTION_SOUTH?u.y+=W.height/2:u.x=b==mxConstants.DIRECTION_WEST?u.x-W.width/2:u.x+W.width/2),W.x=u.x-W.width/2,W.y=u.y-W.height/2);null!=A?(this.addCells([N],A,null,null,null,!0),F=null):H&&!q&&this.addCells([N],this.getDefaultParent(),null,null,null,!0)}var S=mxEvent.isControlDown(f)&&+mxEvent.isShiftDown(f)&&H||null==F&&q?null:this.insertEdge(this.model.getParent(a),null,"",a,N,this.createCurrentEdgeStyle());null!=S&&(M.push(S),this.applyNewEdgeStyle(a,[S],b),this.connectionHandler.insertBeforeSource&&this.insertEdgeBeforeCell(S,a));if(null==F&&null!=N&&null!=a.parent&&q&&b==mxConstants.DIRECTION_WEST){var V=a.parent.getIndex(a);this.model.add(a.parent,N,V)}null==F&&null!=N&&M.push(N);null==N&&null!=S&&S.geometry.setTerminalPoint(u,!1);null!=S&&this.fireEvent(new mxEventObject("cellsInserted",+"cells",[S]))}finally{this.model.endUpdate()}}if(null!=l)l(M);else return M});if(null==h||null!=N||!H||null==F&&q)return g(N);h(k+u.x*e,y+u.y*e,g)};Graph.prototype.getIndexableText=function(a){a=null!=a?a:this.model.getDescendants(this.model.root);for(var b=document.createElement("div"),e=[],f,g=0;g<a.length;g++)if(f=a[g],this.model.isVertex(f)||this.model.isEdge(f))this.isHtmlLabel(f)?(b.innerHTML=Graph.sanitizeHtml(this.getLabel(f)),f=mxUtils.extractTextWithWhitespace([b])):f=this.getLabel(f),f=mxUtils.trim(f.replace(/[\x00-\x1F\x7F-\x9F]|\s+/g," ")),0<f.length&&e.push(f);return e.join(" ")};Graph.prototype.convertValueToString=function(a){var b=this.model.getValue(a);if(null!=b&&"object"==typeof b){var e=null;if(this.isReplacePlaceholders(a)&&null!=a.getAttribute("placeholder")){b=a.getAttribute("placeholder");for(var f=a;null==e&&null!=f;)null!=f.value&&"object"==typeof f.value&&(e=f.hasAttribute(b)?null!=f.getAttribute(b)?f.getAttribute(b):"":null),f=this.model.getParent(f)}else e=null,Graph.translateDiagram&&null!=Graph.diagramLanguage&&(e=b.getAttribute("label_"+Graph.diagramLanguage)),null==e&&(e=b.getAttribute("label")||"");return e||""}return mxGraph.prototype.convertValueToString.apply(this,arguments)};Graph.prototype.getLinksForState=function(a){return null!=a&&null!=a.text&&null!=a.text.node?a.text.node.getElementsByTagName("a"):null};Graph.prototype.getLinkForCell=function(a,b){return null!=a.value&&"object"==typeof a.value?(a=a.value.getAttribute("link"),b||(a=mxUtils.removeJavascriptProtocol(a)),a):null};@@ -2741,8 +2741,8 @@ Graph.prototype.getDefaultColor=function(a,b,e){b="default"+b.charAt(0).toUpperCGraph.prototype.setAdaptiveColors=function(a){this.adaptiveColors="default"==a?null:a;"1"==urlParams.embedInline?null!=this.container&&(this.container.style.colorScheme="none"==this.getAdaptiveColors()?"light":""):(a=this.view.getDrawPane().ownerSVGElement,null!=a&&(a.style.colorScheme="none"==this.getAdaptiveColors()?"light":""))};Graph.prototype.getAdaptiveColors=function(){return null!=this.adaptiveColors?this.adaptiveColors:Graph.defaultAdaptiveColors};Graph.prototype.updateAlternateBounds=function(a,b,e){if(null!=a&&null!=b&&null!=this.layoutManager&&null!=b.alternateBounds){var f=this.layoutManager.getLayout(this.model.getParent(a));null!=f&&f.constructor==mxStackLayout&&(f.horizontal?b.alternateBounds.height=0:b.alternateBounds.width=0)}mxGraph.prototype.updateAlternateBounds.apply(this,arguments)};Graph.prototype.moveCellsTo=function(a,b){if(null!=a&&null!=b){for(var e=!0,f=0;f<a.length&&e;f++)e=e&&this.model.isEdge(a[f]);f=null;if(1==a.length&&e){var g=this.getCellGeometry(a[0]);null!=g&&(f=g.getTerminalPoint(!0))}f=null!=f?f:this.getBoundingBoxFromGeometry(a,e);null!=f&&(e=Math.round(this.snap(b.x)),b=Math.round(this.snap(b.y)),this.cellsMoved(a,e-f.x,b-f.y))}};Graph.prototype.isMoveCellsEvent=function(a,b){return mxEvent.isShiftDown(a)||"1"==mxUtils.getValue(b.style,"moveCells","0")};-Graph.prototype.foldCells=function(a,b,e,f,g){b=null!=b?b:!1;null==e&&(e=this.getFoldableCells(this.getSelectionCells(),a));if(null!=e){this.model.beginUpdate();try{mxGraph.prototype.foldCells.apply(this,arguments);for(var d=0;d<e.length;d++){var h=this.view.getState(e[d]),l=this.getCellGeometry(e[d]);if(null!=h&&null!=l&&("1"!=mxUtils.getValue(h.style,"expandToFront","0")||this.isCellCollapsed(e[d])||this.orderCells(!1,[e[d]]),null!=this.layoutManager)){var r=0,k=0;if(l.alternateBounds)r=l.width--l.alternateBounds.width,k=l.height-l.alternateBounds.height;else{var u=this.useCssTransforms?1:this.view.scale;r=Math.round(l.width-h.width/u);k=Math.round(l.height-h.height/u)}if(0!=k||0!=r){var w=this.model.getParent(e[d]),y=this.layoutManager.getLayout(w);null==y?null!=g&&this.isMoveCellsEvent(g,h)&&this.moveSiblings(h,w,r,k):null!=g&&mxEvent.isAltDown(g)||y.constructor!=mxStackLayout||y.resizeLast||this.resizeParentStacks(w,y,r,k)}}}}finally{this.model.endUpdate()}this.isEnabled()&&this.setSelectionCells(e)}};+Graph.prototype.foldCells=function(a,b,e,f,g){b=null!=b?b:!1;null==e&&(e=this.getFoldableCells(this.getSelectionCells(),a));if(null!=e){this.model.beginUpdate();try{mxGraph.prototype.foldCells.apply(this,arguments);for(var d=0;d<e.length;d++){var h=this.view.getState(e[d]),l=this.getCellGeometry(e[d]);if(null!=h&&null!=l&&("1"!=mxUtils.getValue(h.style,"expandToFront","0")||this.isCellCollapsed(e[d])||this.orderCells(!1,[e[d]]),null!=this.layoutManager)){var q=0,k=0;if(l.alternateBounds)q=l.width-+l.alternateBounds.width,k=l.height-l.alternateBounds.height;else{var u=this.useCssTransforms?1:this.view.scale;q=Math.round(l.width-h.width/u);k=Math.round(l.height-h.height/u)}if(0!=k||0!=q){var w=this.model.getParent(e[d]),y=this.layoutManager.getLayout(w);null==y?null!=g&&this.isMoveCellsEvent(g,h)&&this.moveSiblings(h,w,q,k):null!=g&&mxEvent.isAltDown(g)||y.constructor!=mxStackLayout||y.resizeLast||this.resizeParentStacks(w,y,q,k)}}}}finally{this.model.endUpdate()}this.isEnabled()&&this.setSelectionCells(e)}};Graph.prototype.moveSiblings=function(a,b,e,f){this.model.beginUpdate();try{var g=this.getCellsBeyond(a.x,a.y,b,!0,!0);for(b=0;b<g.length;b++)if(g[b]!=a.cell){var d=this.view.getState(g[b]),h=this.getCellGeometry(g[b]);null!=d&&null!=h&&(h=h.clone(),h.translate(Math.round(e*Math.max(0,Math.min(1,(d.x-a.x)/a.width))),Math.round(f*Math.max(0,Math.min(1,(d.y-a.y)/a.height)))),this.model.setGeometry(g[b],h))}}finally{this.model.endUpdate()}};Graph.prototype.resizeParentStacks=function(a,b,e,f){if(null!=this.layoutManager&&null!=b&&b.constructor==mxStackLayout&&!b.resizeLast){this.model.beginUpdate();try{for(var g=b.horizontal;null!=a&&null!=b&&b.constructor==mxStackLayout&&b.horizontal==g&&!b.resizeLast;){var d=this.getCellGeometry(a),h=this.view.getState(a);null!=h&&null!=d&&(d=d.clone(),b.horizontal?d.width+=e+Math.min(0,h.width/this.view.scale-d.width):d.height+=f+Math.min(0,h.height/this.view.scale-d.height),this.model.setGeometry(a,d));a=this.model.getParent(a);b=this.layoutManager.getLayout(a)}}finally{this.model.endUpdate()}}};Graph.prototype.isContainer=function(a){var b=this.getCurrentCellStyle(a);return this.isSwimlane(a)?"0"!=b.container:"1"==b.container};Graph.prototype.isCellConnectable=function(a){var b=this.getCurrentCellStyle(a);return!this.isCellLocked(this.getLayerForCell(a))&&(null!=b.connectable?"0"!=b.connectable:mxGraph.prototype.isCellConnectable.apply(this,arguments))};@@ -2783,10 +2783,10 @@ HoverIcons.prototype.click=function(a,b,e){var f=e.getEvent(),g=e.getGraphX(),d=HoverIcons.prototype.execute=function(a,b,e){e=e.getEvent();this.graph.selectCellsForConnectVertex(this.graph.connectVertex(a.cell,b,this.graph.defaultEdgeLength,e,this.graph.isCloneEvent(e),this.graph.isCloneEvent(e)),e,this)};HoverIcons.prototype.reset=function(a){null!=a&&!a||null==this.updateThread||window.clearTimeout(this.updateThread);this.activeArrow=this.currentState=this.mouseDownPoint=null;this.removeNodes();this.bbox=null;this.fireEvent(new mxEventObject("reset"))};HoverIcons.prototype.repaint=function(){this.bbox=null;if(null!=this.currentState){this.currentState=this.getState(this.currentState);if(null!=this.currentState&&this.graph.model.isVertex(this.currentState.cell)&&this.graph.isCellConnectable(this.currentState.cell)){var a=mxRectangle.fromRectangle(this.currentState);null!=this.currentState.shape&&null!=this.currentState.shape.boundingBox&&(a=mxRectangle.fromRectangle(this.currentState.shape.boundingBox));a.grow(this.graph.tolerance);a.grow(this.arrowSpacing);var b=this.graph.selectionCellsHandler.getHandler(this.currentState.cell);this.graph.isTableRow(this.currentState.cell)&&(b=this.graph.selectionCellsHandler.getHandler(this.graph.model.getParent(this.currentState.cell)));var e=null;null!=b&&(a.x-=b.horizontalOffset/2,a.y-=b.verticalOffset/2,a.width+=b.horizontalOffset,a.height+=b.verticalOffset,null!=b.rotationShape&&null!=b.rotationShape.node&&"hidden"!=b.rotationShape.node.style.visibility&&"none"!=b.rotationShape.node.style.display&&null!=b.rotationShape.boundingBox&&-(e=b.rotationShape.boundingBox));b=mxUtils.bind(this,function(l,r,k){if(null!=e){var u=new mxRectangle(r,k,l.clientWidth,l.clientHeight);mxUtils.intersects(u,e)&&(l==this.arrowUp?k-=u.y+u.height-e.y:l==this.arrowRight?r+=e.x+e.width-u.x:l==this.arrowDown?k+=e.y+e.height-u.y:l==this.arrowLeft&&(r-=u.x+u.width-e.x))}l.style.left=r+"px";l.style.top=k+"px";mxUtils.setOpacity(l,this.inactiveOpacity)});b(this.arrowUp,Math.round(this.currentState.getCenterX()-this.triangleUp.width/2-this.tolerance),Math.round(a.y-+(e=b.rotationShape.boundingBox));b=mxUtils.bind(this,function(l,q,k){if(null!=e){var u=new mxRectangle(q,k,l.clientWidth,l.clientHeight);mxUtils.intersects(u,e)&&(l==this.arrowUp?k-=u.y+u.height-e.y:l==this.arrowRight?q+=e.x+e.width-u.x:l==this.arrowDown?k+=e.y+e.height-u.y:l==this.arrowLeft&&(q-=u.x+u.width-e.x))}l.style.left=q+"px";l.style.top=k+"px";mxUtils.setOpacity(l,this.inactiveOpacity)});b(this.arrowUp,Math.round(this.currentState.getCenterX()-this.triangleUp.width/2-this.tolerance),Math.round(a.y-this.triangleUp.height-this.tolerance));b(this.arrowRight,Math.round(a.x+a.width-this.tolerance),Math.round(this.currentState.getCenterY()-this.triangleRight.height/2-this.tolerance));b(this.arrowDown,parseInt(this.arrowUp.style.left),Math.round(a.y+a.height-this.tolerance));b(this.arrowLeft,Math.round(a.x-this.triangleLeft.width-this.tolerance),parseInt(this.arrowRight.style.top));if(this.checkCollisions){b=this.graph.getCellAt(a.x+a.width+this.triangleRight.width/2,this.currentState.getCenterY());-var f=this.graph.getCellAt(a.x-this.triangleLeft.width/2,this.currentState.getCenterY()),g=this.graph.getCellAt(this.currentState.getCenterX(),a.y-this.triangleUp.height/2);a=this.graph.getCellAt(this.currentState.getCenterX(),a.y+a.height+this.triangleDown.height/2);null!=b&&b==f&&f==g&&g==a&&(a=g=f=b=null);var d=this.graph.getCellGeometry(this.currentState.cell),h=mxUtils.bind(this,function(l,r){var k=this.graph.model.isVertex(l)&&this.graph.getCellGeometry(l);null==l||this.graph.model.isAncestor(l,-this.currentState.cell)||this.graph.isSwimlane(l)||!(null==k||null==d||k.height<3*d.height&&k.width<3*d.width)?r.style.visibility="visible":r.style.visibility="hidden"});h(b,this.arrowRight);h(f,this.arrowLeft);h(g,this.arrowUp);h(a,this.arrowDown)}else this.arrowLeft.style.visibility="visible",this.arrowRight.style.visibility="visible",this.arrowUp.style.visibility="visible",this.arrowDown.style.visibility="visible";this.graph.tooltipHandler.isEnabled()?(this.arrowLeft.setAttribute("title",mxResources.get("plusTooltip")),+var f=this.graph.getCellAt(a.x-this.triangleLeft.width/2,this.currentState.getCenterY()),g=this.graph.getCellAt(this.currentState.getCenterX(),a.y-this.triangleUp.height/2);a=this.graph.getCellAt(this.currentState.getCenterX(),a.y+a.height+this.triangleDown.height/2);null!=b&&b==f&&f==g&&g==a&&(a=g=f=b=null);var d=this.graph.getCellGeometry(this.currentState.cell),h=mxUtils.bind(this,function(l,q){var k=this.graph.model.isVertex(l)&&this.graph.getCellGeometry(l);null==l||this.graph.model.isAncestor(l,+this.currentState.cell)||this.graph.isSwimlane(l)||!(null==k||null==d||k.height<3*d.height&&k.width<3*d.width)?q.style.visibility="visible":q.style.visibility="hidden"});h(b,this.arrowRight);h(f,this.arrowLeft);h(g,this.arrowUp);h(a,this.arrowDown)}else this.arrowLeft.style.visibility="visible",this.arrowRight.style.visibility="visible",this.arrowUp.style.visibility="visible",this.arrowDown.style.visibility="visible";this.graph.tooltipHandler.isEnabled()?(this.arrowLeft.setAttribute("title",mxResources.get("plusTooltip")),this.arrowRight.setAttribute("title",mxResources.get("plusTooltip")),this.arrowUp.setAttribute("title",mxResources.get("plusTooltip")),this.arrowDown.setAttribute("title",mxResources.get("plusTooltip"))):(this.arrowLeft.removeAttribute("title"),this.arrowRight.removeAttribute("title"),this.arrowUp.removeAttribute("title"),this.arrowDown.removeAttribute("title"))}else this.reset();null!=this.currentState&&(this.bbox=this.computeBoundingBox(),null!=this.bbox&&this.bbox.grow(10))}};HoverIcons.prototype.computeBoundingBox=function(){var a=this.graph.model.isEdge(this.currentState.cell)?null:mxRectangle.fromRectangle(this.currentState);this.visitNodes(function(b){null!=b.parentNode&&(b=new mxRectangle(b.offsetLeft,b.offsetTop,b.offsetWidth,b.offsetHeight),null==a?a=b:a.add(b))});return a};HoverIcons.prototype.getState=function(a){if(null!=a)if(a=a.cell,this.graph.getModel().contains(a)){if(this.graph.getModel().isVertex(a)&&!this.graph.isCellConnectable(a)){var b=this.graph.getModel().getParent(a);this.graph.getModel().isVertex(b)&&this.graph.isCellConnectable(b)&&(a=b)}if(this.graph.isCellLocked(a)||this.graph.model.isEdge(a))a=null;a=this.graph.view.getState(a);null!=a&&null==a.style&&(a=null)}else a=null;return a};@@ -2796,43 +2796,43 @@ a||null==this.bbox||null==b||null==e||!mxUtils.contains(this.bbox,b,e))&&(null!=HoverIcons.prototype.setCurrentState=function(a){"eastwest"!=a.style.portConstraint&&(this.graph.container.appendChild(this.arrowUp),this.graph.container.appendChild(this.arrowDown));this.graph.container.appendChild(this.arrowRight);this.graph.container.appendChild(this.arrowLeft);this.currentState=a};Graph.prototype.removeTextStyleForCell=function(a,b){var e=this.getCurrentCellStyle(a),f=!1;this.getModel().beginUpdate();try{if("1"==mxUtils.getValue(e,"html","0")){var g=this.convertValueToString(a);"0"!=mxUtils.getValue(e,"nl2Br","1")&&(g=g.replace(/\n/g,"").replace(/<br\s*.?>/g,"\n"));g=Editor.convertHtmlToText(g);this.cellLabelChanged(a,g);f=!0}b&&(this.setCellStyles("fontSource",null,[a]),this.setCellStyles(mxConstants.STYLE_FONTFAMILY,null,[a]),this.setCellStyles(mxConstants.STYLE_FONTSIZE,null,[a]),this.setCellStyles(mxConstants.STYLE_FONTSTYLE,null,[a]),this.setCellStyles(mxConstants.STYLE_FONTCOLOR,null,[a]),this.setCellStyles(mxConstants.STYLE_LABEL_BORDERCOLOR,null,[a]),this.setCellStyles(mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null,[a]))}finally{this.getModel().endUpdate()}return f};Graph.prototype.createParent=function(a,b,e,f,g){a=this.cloneCell(a);for(var d=0;d<e;d++){var h=this.cloneCell(b),l=this.getCellGeometry(h);null!=l&&(l.x+=d*f,l.y+=d*g);a.insert(h)}return a};-Graph.prototype.createTable=function(a,b,e,f,g,d,h,l,r){e=null!=e?e:60;f=null!=f?f:40;d=null!=d?d:30;l=null!=l?l:"shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;strokeColor=inherit;top=0;left=0;bottom=0;right=0;collapsible=0;dropTarget=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;";r=null!=r?r:"shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;strokeColor=inherit;overflow=hidden;fillColor=none;top=0;left=0;bottom=0;right=0;pointerEvents=1;";return this.createParent(this.createVertex(null,-null,null!=g?g:"",0,0,b*e,a*f+(null!=g?d:0),null!=h?h:"shape=table;startSize="+(null!=g?d:"0")+";container=1;collapsible=0;childLayout=tableLayout;"),this.createParent(this.createVertex(null,null,"",0,0,b*e,f,l),this.createVertex(null,null,"",0,0,e,f,r),b,e,0),a,0,f)};+Graph.prototype.createTable=function(a,b,e,f,g,d,h,l,q){e=null!=e?e:60;f=null!=f?f:40;d=null!=d?d:30;l=null!=l?l:"shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;strokeColor=inherit;top=0;left=0;bottom=0;right=0;collapsible=0;dropTarget=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;";q=null!=q?q:"shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;strokeColor=inherit;overflow=hidden;fillColor=none;top=0;left=0;bottom=0;right=0;pointerEvents=1;";return this.createParent(this.createVertex(null,+null,null!=g?g:"",0,0,b*e,a*f+(null!=g?d:0),null!=h?h:"shape=table;startSize="+(null!=g?d:"0")+";container=1;collapsible=0;childLayout=tableLayout;"),this.createParent(this.createVertex(null,null,"",0,0,b*e,f,l),this.createVertex(null,null,"",0,0,e,f,q),b,e,0),a,0,f)};Graph.prototype.setTableValues=function(a,b,e){for(var f=this.model.getChildCells(a,!0),g=0;g<f.length;g++)if(null!=e&&(f[g].value=e[g]),null!=b)for(var d=this.model.getChildCells(f[g],!0),h=0;h<d.length;h++)null!=b[g][h]&&(d[h].value=b[g][h]);return a};-Graph.prototype.createCrossFunctionalSwimlane=function(a,b,e,f,g,d,h,l,r){e=null!=e?e:120;f=null!=f?f:120;h=null!=h?h:"shape=tableRow;horizontal=0;swimlaneHead=0;swimlaneBody=0;top=0;left=0;strokeColor=inherit;bottom=0;right=0;dropTarget=0;fontStyle=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;startSize=40;collapsible=0;recursiveResize=0;expand=0;";l=null!=l?l:"swimlane;swimlaneHead=0;swimlaneBody=0;fontStyle=0;strokeColor=inherit;connectable=0;fillColor=none;startSize=40;collapsible=0;recursiveResize=0;expand=0;";-r=null!=r?r:"swimlane;swimlaneHead=0;swimlaneBody=0;fontStyle=0;connectable=0;strokeColor=inherit;fillColor=none;startSize=0;collapsible=0;recursiveResize=0;expand=0;";g=this.createVertex(null,null,null!=g?g:"",0,0,b*e,a*f,null!=d?d:"shape=table;childLayout=tableLayout;"+(null==g?"startSize=0;fillColor=none;":"startSize=40;")+"collapsible=0;recursiveResize=0;expand=0;");d=mxUtils.getValue(this.getCellStyle(g),mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE);g.geometry.width+=d;g.geometry.height+=-d;h=this.createVertex(null,null,"",0,d,b*e+d,f,h);g.insert(this.createParent(h,this.createVertex(null,null,"",d,0,e,f,l),b,e,0));return 1<a?(h.geometry.y=f+d,this.createParent(g,this.createParent(h,this.createVertex(null,null,"",d,0,e,f,r),b,e,0),a-1,0,f)):g};-Graph.prototype.visitTableCells=function(a,b){var e=null,f=this.model.getChildCells(a,!0);a=this.getActualStartSize(a,!0);for(var g=0;g<f.length;g++){for(var d=this.getActualStartSize(f[g],!0),h=this.model.getChildCells(f[g],!0),l=this.getCellStyle(f[g],!0),r=null,k=[],u=0;u<h.length;u++){var w=this.getCellGeometry(h[u]),y={cell:h[u],rospan:1,colspan:1,row:g,col:u,geo:w};w=null!=w.alternateBounds?w.alternateBounds:w;y.point=new mxPoint(w.width+(null!=r?r.point.x:a.x+d.x),w.height+(null!=e&&null!=-e[0]?e[0].point.y:a.y+d.y));y.actual=y;null!=e&&null!=e[u]&&1<e[u].rowspan?(y.rowspan=e[u].rowspan-1,y.colspan=e[u].colspan,y.actual=e[u].actual):null!=r&&1<r.colspan?(y.rowspan=r.rowspan,y.colspan=r.colspan-1,y.actual=r.actual):(r=this.getCurrentCellStyle(h[u],!0),null!=r&&(y.rowspan=parseInt(r.rowspan||1),y.colspan=parseInt(r.colspan||1)));r=1==mxUtils.getValue(l,mxConstants.STYLE_SWIMLANE_HEAD,1)&&mxUtils.getValue(l,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE;b(y,h.length,-f.length,a.x+(r?d.x:0),a.y+(r?d.y:0));k.push(y);r=y}e=k}};Graph.prototype.getTableLines=function(a,b,e){var f=[],g=[];(b||e)&&this.visitTableCells(a,mxUtils.bind(this,function(d,h,l,r,k){b&&d.row<l-1&&(null==f[d.row]&&(f[d.row]=[new mxPoint(r,d.point.y)]),1<d.rowspan&&f[d.row].push(null),f[d.row].push(d.point));e&&d.col<h-1&&(null==g[d.col]&&(g[d.col]=[new mxPoint(d.point.x,k)]),1<d.colspan&&g[d.col].push(null),g[d.col].push(d.point))}));return f.concat(g)};+Graph.prototype.createCrossFunctionalSwimlane=function(a,b,e,f,g,d,h,l,q){e=null!=e?e:120;f=null!=f?f:120;h=null!=h?h:"shape=tableRow;horizontal=0;swimlaneHead=0;swimlaneBody=0;top=0;left=0;strokeColor=inherit;bottom=0;right=0;dropTarget=0;fontStyle=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;startSize=40;collapsible=0;recursiveResize=0;expand=0;";l=null!=l?l:"swimlane;swimlaneHead=0;swimlaneBody=0;fontStyle=0;strokeColor=inherit;connectable=0;fillColor=none;startSize=40;collapsible=0;recursiveResize=0;expand=0;";+q=null!=q?q:"swimlane;swimlaneHead=0;swimlaneBody=0;fontStyle=0;connectable=0;strokeColor=inherit;fillColor=none;startSize=0;collapsible=0;recursiveResize=0;expand=0;";g=this.createVertex(null,null,null!=g?g:"",0,0,b*e,a*f,null!=d?d:"shape=table;childLayout=tableLayout;"+(null==g?"startSize=0;fillColor=none;":"startSize=40;")+"collapsible=0;recursiveResize=0;expand=0;");d=mxUtils.getValue(this.getCellStyle(g),mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE);g.geometry.width+=d;g.geometry.height+=+d;h=this.createVertex(null,null,"",0,d,b*e+d,f,h);g.insert(this.createParent(h,this.createVertex(null,null,"",d,0,e,f,l),b,e,0));return 1<a?(h.geometry.y=f+d,this.createParent(g,this.createParent(h,this.createVertex(null,null,"",d,0,e,f,q),b,e,0),a-1,0,f)):g};+Graph.prototype.visitTableCells=function(a,b){var e=null,f=this.model.getChildCells(a,!0);a=this.getActualStartSize(a,!0);for(var g=0;g<f.length;g++){for(var d=this.getActualStartSize(f[g],!0),h=this.model.getChildCells(f[g],!0),l=this.getCellStyle(f[g],!0),q=null,k=[],u=0;u<h.length;u++){var w=this.getCellGeometry(h[u]),y={cell:h[u],rospan:1,colspan:1,row:g,col:u,geo:w};w=null!=w.alternateBounds?w.alternateBounds:w;y.point=new mxPoint(w.width+(null!=q?q.point.x:a.x+d.x),w.height+(null!=e&&null!=+e[0]?e[0].point.y:a.y+d.y));y.actual=y;null!=e&&null!=e[u]&&1<e[u].rowspan?(y.rowspan=e[u].rowspan-1,y.colspan=e[u].colspan,y.actual=e[u].actual):null!=q&&1<q.colspan?(y.rowspan=q.rowspan,y.colspan=q.colspan-1,y.actual=q.actual):(q=this.getCurrentCellStyle(h[u],!0),null!=q&&(y.rowspan=parseInt(q.rowspan||1),y.colspan=parseInt(q.colspan||1)));q=1==mxUtils.getValue(l,mxConstants.STYLE_SWIMLANE_HEAD,1)&&mxUtils.getValue(l,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE;b(y,h.length,+f.length,a.x+(q?d.x:0),a.y+(q?d.y:0));k.push(y);q=y}e=k}};Graph.prototype.getTableLines=function(a,b,e){var f=[],g=[];(b||e)&&this.visitTableCells(a,mxUtils.bind(this,function(d,h,l,q,k){b&&d.row<l-1&&(null==f[d.row]&&(f[d.row]=[new mxPoint(q,d.point.y)]),1<d.rowspan&&f[d.row].push(null),f[d.row].push(d.point));e&&d.col<h-1&&(null==g[d.col]&&(g[d.col]=[new mxPoint(d.point.x,k)]),1<d.colspan&&g[d.col].push(null),g[d.col].push(d.point))}));return f.concat(g)};Graph.prototype.isTableCell=function(a){return this.model.isVertex(a)&&this.isTableRow(this.model.getParent(a))};Graph.prototype.isTableRow=function(a){return this.model.isVertex(a)&&this.isTable(this.model.getParent(a))};Graph.prototype.isTable=function(a){a=this.getCellStyle(a);return null!=a&&"tableLayout"==a.childLayout};Graph.prototype.isStack=function(a){a=this.getCellStyle(a);return null!=a&&"stackLayout"==a.childLayout};Graph.prototype.isStackChild=function(a){return this.model.isVertex(a)&&this.isStack(this.model.getParent(a))};-Graph.prototype.setTableRowHeight=function(a,b,e){e=null!=e?e:!0;var f=this.getModel();f.beginUpdate();try{var g=this.getCellGeometry(a);if(null!=g){g=g.clone();g.height+=b;f.setGeometry(a,g);var d=f.getParent(a),h=f.getChildCells(d,!0);if(!e){var l=mxUtils.indexOf(h,a);if(l<h.length-1){var r=h[l+1],k=this.getCellGeometry(r);null!=k&&(k=k.clone(),k.y+=b,k.height-=b,f.setGeometry(r,k))}}var u=this.getCellGeometry(d);null!=u&&(e||(e=a==h[h.length-1]),e&&(u=u.clone(),u.height+=b,f.setGeometry(d,u)))}}finally{f.endUpdate()}};-Graph.prototype.setTableColumnWidth=function(a,b,e){e=null!=e?e:!1;var f=this.getModel(),g=f.getParent(a),d=f.getParent(g),h=f.getChildCells(g,!0);a=mxUtils.indexOf(h,a);var l=a==h.length-1;f.beginUpdate();try{for(var r=f.getChildCells(d,!0),k=0;k<r.length;k++){g=r[k];h=f.getChildCells(g,!0);var u=h[a],w=this.getCellGeometry(u);null!=w&&(w=w.clone(),w.width+=b,null!=w.alternateBounds&&(w.alternateBounds.width+=b),f.setGeometry(u,w));a<h.length-1&&(u=h[a+1],w=this.getCellGeometry(u),null!=w&&(w=w.clone(),+Graph.prototype.setTableRowHeight=function(a,b,e){e=null!=e?e:!0;var f=this.getModel();f.beginUpdate();try{var g=this.getCellGeometry(a);if(null!=g){g=g.clone();g.height+=b;f.setGeometry(a,g);var d=f.getParent(a),h=f.getChildCells(d,!0);if(!e){var l=mxUtils.indexOf(h,a);if(l<h.length-1){var q=h[l+1],k=this.getCellGeometry(q);null!=k&&(k=k.clone(),k.y+=b,k.height-=b,f.setGeometry(q,k))}}var u=this.getCellGeometry(d);null!=u&&(e||(e=a==h[h.length-1]),e&&(u=u.clone(),u.height+=b,f.setGeometry(d,u)))}}finally{f.endUpdate()}};+Graph.prototype.setTableColumnWidth=function(a,b,e){e=null!=e?e:!1;var f=this.getModel(),g=f.getParent(a),d=f.getParent(g),h=f.getChildCells(g,!0);a=mxUtils.indexOf(h,a);var l=a==h.length-1;f.beginUpdate();try{for(var q=f.getChildCells(d,!0),k=0;k<q.length;k++){g=q[k];h=f.getChildCells(g,!0);var u=h[a],w=this.getCellGeometry(u);null!=w&&(w=w.clone(),w.width+=b,null!=w.alternateBounds&&(w.alternateBounds.width+=b),f.setGeometry(u,w));a<h.length-1&&(u=h[a+1],w=this.getCellGeometry(u),null!=w&&(w=w.clone(),w.x+=b,e||(w.width-=b,null!=w.alternateBounds&&(w.alternateBounds.width-=b)),f.setGeometry(u,w)))}if(l||e){var y=this.getCellGeometry(d);null!=y&&(y=y.clone(),y.width+=b,f.setGeometry(d,y))}null!=this.layoutManager&&this.layoutManager.executeLayout(d)}finally{f.endUpdate()}};function TableLayout(a){mxGraphLayout.call(this,a)}TableLayout.prototype=new mxStackLayout;TableLayout.prototype.constructor=TableLayout;TableLayout.prototype.isHorizontal=function(){return!1};TableLayout.prototype.isVertexIgnored=function(a){return!this.graph.getModel().isVertex(a)||!this.graph.isCellVisible(a)};TableLayout.prototype.getSize=function(a,b){for(var e=0,f=0;f<a.length;f++)if(!this.isVertexIgnored(a[f])){var g=this.graph.getCellGeometry(a[f]);null!=g&&(e+=b?g.width:g.height)}return e};TableLayout.prototype.getRowLayout=function(a,b){var e=this.graph.model.getChildCells(a,!0),f=this.graph.getActualStartSize(a,!0);a=this.getSize(e,!0);b=b-f.x-f.width;var g=[];f=f.x;for(var d=0;d<e.length;d++){var h=this.graph.getCellGeometry(e[d]);null!=h&&(f+=(null!=h.alternateBounds?h.alternateBounds.width:h.width)*b/a,g.push(Math.round(f)))}return g};-TableLayout.prototype.layoutRow=function(a,b,e,f){var g=this.graph.getModel(),d=g.getChildCells(a,!0);a=this.graph.getActualStartSize(a,!0);var h=a.x,l=0;null!=b&&(b=b.slice(),b.splice(0,0,a.x));for(var r=0;r<d.length;r++){var k=this.graph.getCellGeometry(d[r]);null!=k&&(k=k.clone(),k.y=a.y,k.height=e-a.y-a.height,null!=b?(k.x=b[r],k.width=b[r+1]-k.x,r==d.length-1&&r<b.length-2&&(k.width=f-k.x-a.x-a.width)):(k.x=h,h+=k.width,r==d.length-1?k.width=f-a.x-a.width-l:l+=k.width),k.alternateBounds=new mxRectangle(0,-0,k.width,k.height),g.setGeometry(d[r],k))}return l};-TableLayout.prototype.execute=function(a){if(null!=a){var b=this.graph.getActualStartSize(a,!0),e=this.graph.getCellGeometry(a),f=this.graph.getCellStyle(a),g="1"==mxUtils.getValue(f,"resizeLastRow","0"),d="1"==mxUtils.getValue(f,"resizeLast","0");f="1"==mxUtils.getValue(f,"fixedRows","0");var h=this.graph.getModel(),l=0;h.beginUpdate();try{for(var r=e.height-b.y-b.height,k=e.width-b.x-b.width,u=h.getChildCells(a,!0),w=0;w<u.length;w++)h.setVisible(u[w],!0);var y=this.getSize(u,!1);if(0<r&&0<k&&0<-u.length&&0<y){if(g){var A=this.graph.getCellGeometry(u[u.length-1]);null!=A&&(A=A.clone(),A.height=r-y+A.height,h.setGeometry(u[u.length-1],A))}var G=d?null:this.getRowLayout(u[0],k),D=[],F=b.y;for(w=0;w<u.length;w++)A=this.graph.getCellGeometry(u[w]),null!=A&&(A=A.clone(),A.x=b.x,A.width=k,A.y=Math.round(F),F=g||f?F+A.height:F+A.height/y*r,A.height=Math.round(F)-A.y,h.setGeometry(u[w],A)),l=Math.max(l,this.layoutRow(u[w],G,A.height,k,D));f&&r<y&&(e=e.clone(),e.height=F+b.height,h.setGeometry(a,+TableLayout.prototype.layoutRow=function(a,b,e,f){var g=this.graph.getModel(),d=g.getChildCells(a,!0);a=this.graph.getActualStartSize(a,!0);var h=a.x,l=0;null!=b&&(b=b.slice(),b.splice(0,0,a.x));for(var q=0;q<d.length;q++){var k=this.graph.getCellGeometry(d[q]);null!=k&&(k=k.clone(),k.y=a.y,k.height=e-a.y-a.height,null!=b?(k.x=b[q],k.width=b[q+1]-k.x,q==d.length-1&&q<b.length-2&&(k.width=f-k.x-a.x-a.width)):(k.x=h,h+=k.width,q==d.length-1?k.width=f-a.x-a.width-l:l+=k.width),k.alternateBounds=new mxRectangle(0,+0,k.width,k.height),g.setGeometry(d[q],k))}return l};+TableLayout.prototype.execute=function(a){if(null!=a){var b=this.graph.getActualStartSize(a,!0),e=this.graph.getCellGeometry(a),f=this.graph.getCellStyle(a),g="1"==mxUtils.getValue(f,"resizeLastRow","0"),d="1"==mxUtils.getValue(f,"resizeLast","0");f="1"==mxUtils.getValue(f,"fixedRows","0");var h=this.graph.getModel(),l=0;h.beginUpdate();try{for(var q=e.height-b.y-b.height,k=e.width-b.x-b.width,u=h.getChildCells(a,!0),w=0;w<u.length;w++)h.setVisible(u[w],!0);var y=this.getSize(u,!1);if(0<q&&0<k&&0<+u.length&&0<y){if(g){var A=this.graph.getCellGeometry(u[u.length-1]);null!=A&&(A=A.clone(),A.height=q-y+A.height,h.setGeometry(u[u.length-1],A))}var F=d?null:this.getRowLayout(u[0],k),D=[],G=b.y;for(w=0;w<u.length;w++)A=this.graph.getCellGeometry(u[w]),null!=A&&(A=A.clone(),A.x=b.x,A.width=k,A.y=Math.round(G),G=g||f?G+A.height:G+A.height/y*q,A.height=Math.round(G)-A.y,h.setGeometry(u[w],A)),l=Math.max(l,this.layoutRow(u[w],F,A.height,k,D));f&&q<y&&(e=e.clone(),e.height=G+b.height,h.setGeometry(a,e));d&&k<l+Graph.minTableColumnWidth&&(e=e.clone(),e.width=l+b.width+b.x+Graph.minTableColumnWidth,h.setGeometry(a,e));this.graph.visitTableCells(a,mxUtils.bind(this,function(H){h.setVisible(H.cell,H.actual.cell==H.cell);if(H.actual.cell!=H.cell){if(H.actual.row==H.row){var M=null!=H.geo.alternateBounds?H.geo.alternateBounds:H.geo;H.actual.geo.width+=M.width}H.actual.col==H.col&&(M=null!=H.geo.alternateBounds?H.geo.alternateBounds:H.geo,H.actual.geo.height+=M.height)}}))}else for(w=0;w<u.length;w++)h.setVisible(u[w],!1)}finally{h.endUpdate()}}};(function(){var a=mxGraphView.prototype.resetValidationState;mxGraphView.prototype.resetValidationState=function(){a.apply(this,arguments);this.validEdges=[]};var b=mxGraphView.prototype.validateCellState;mxGraphView.prototype.validateCellState=function(w,y){y=null!=y?y:!0;var A=this.getState(w);null!=A&&y&&this.graph.model.isEdge(A.cell)&&null!=A.style&&1!=A.style[mxConstants.STYLE_CURVED]&&!A.invalid&&this.updateLineJumps(A)&&this.graph.cellRenderer.redraw(A,!1,this.isRendering());A=b.apply(this,arguments);null!=A&&y&&this.graph.model.isEdge(A.cell)&&null!=A.style&&1!=A.style[mxConstants.STYLE_CURVED]&&this.validEdges.push(A);return A};mxShape.prototype.isFlowAnimationEnabled=function(){return null!=this.state&&this.state.view.graph.enableFlowAnimation&&this.state.view.graph.model.isEdge(this.state.cell)&&"1"==mxUtils.getValue(this.state.style,"flowAnimation","0")};mxShape.prototype.getFlowAnimationPath=function(w){var y=null!=this.node?this.node.getElementsByTagName("path"):null;if(null!=-y)for(var A=null,G=0;G<y.length;G++)if("hidden"!=y[G].getAttribute("visibility")){if(!(null!=A&&A!=y[G].getAttribute("d")||null!=w&&0!=--w))return y[G]}else null==A&&(A=y[G].getAttribute("d"));return null};mxShape.prototype.addFlowAnimationToShape=function(){null!=this.state&&this.state.view.graph.addFlowAnimationToNode(this.getFlowAnimationPath(),this.state.style,this.state.view.scale,this.state.view.graph.addFlowAnimationStyle())};var e=mxShape.prototype.paint;mxShape.prototype.paint=function(w){e.apply(this,+y)for(var A=null,F=0;F<y.length;F++)if("hidden"!=y[F].getAttribute("visibility")){if(!(null!=A&&A!=y[F].getAttribute("d")||null!=w&&0!=--w))return y[F]}else null==A&&(A=y[F].getAttribute("d"));return null};mxShape.prototype.addFlowAnimationToShape=function(){null!=this.state&&this.state.view.graph.addFlowAnimationToNode(this.getFlowAnimationPath(),this.state.style,this.state.view.scale,this.state.view.graph.addFlowAnimationStyle())};var e=mxShape.prototype.paint;mxShape.prototype.paint=function(w){e.apply(this,arguments);this.isFlowAnimationEnabled()&&this.addFlowAnimationToShape()};var f=mxShape.prototype.createSvgCanvas;mxShape.prototype.createSvgCanvas=function(w){w=f.apply(this,arguments);null!=this.state&&(w.adaptiveColors=this.state.view.graph.getAdaptiveColors());return w};var g=mxCellRenderer.prototype.isShapeInvalid;mxCellRenderer.prototype.isShapeInvalid=function(w,y){return g.apply(this,arguments)||null!=w.routedPoints&&null!=y.routedPoints&&!mxUtils.equalPoints(y.routedPoints,w.routedPoints)};-var d=mxGraphView.prototype.updateCellState;mxGraphView.prototype.updateCellState=function(w){d.apply(this,arguments);this.graph.model.isEdge(w.cell)&&1!=w.style[mxConstants.STYLE_CURVED]&&this.updateLineJumps(w)};mxGraphView.prototype.updateLineJumps=function(w){var y=w.absolutePoints;if(Graph.lineJumpsEnabled){var A=null!=w.routedPoints,G=null;if(null!=y&&null!=this.validEdges&&"none"!==mxUtils.getValue(w.style,"jumpStyle","none")){var D=function(ba,L,U){var aa=new mxPoint(L,U);aa.type=ba;G.push(aa);-aa=null!=w.routedPoints?w.routedPoints[G.length-1]:null;return null==aa||aa.type!=ba||aa.x!=L||aa.y!=U},F=.5*this.scale;A=!1;G=[];for(var H=0;H<y.length-1;H++){for(var M=y[H+1],N=y[H],K=[],T=y[H+2];H<y.length-2&&mxUtils.ptSegDistSq(N.x,N.y,T.x,T.y,M.x,M.y)<1*this.scale*this.scale;)M=T,H++,T=y[H+2];A=D(0,N.x,N.y)||A;for(var W=0;W<this.validEdges.length;W++){var S=this.validEdges[W],V=S.absolutePoints;if(null!=V&&mxUtils.intersects(w,S)&&"1"!=S.style.noJump){var fa=null;for(S=0;S<V.length-1;S++){var P=-V[S+1],Z=V[S];for(T=V[S+2];S<V.length-2&&mxUtils.ptSegDistSq(Z.x,Z.y,T.x,T.y,P.x,P.y)<1*this.scale*this.scale;)P=T,S++,T=V[S+2];var X=mxUtils.intersection(N.x,N.y,M.x,M.y,Z.x,Z.y,P.x,P.y);if(null!=X&&(Math.abs(X.x-N.x)>F||Math.abs(X.y-N.y)>F)&&(Math.abs(X.x-M.x)>F||Math.abs(X.y-M.y)>F)&&(null==fa||mxUtils.ptLineDist(N.x,N.y,M.x,M.y,fa.x,fa.y)>F||mxUtils.ptLineDist(N.x,N.y,M.x,M.y,Z.x,Z.y)>F)&&(null==T||mxUtils.ptLineDist(N.x,N.y,M.x,M.y,T.x,T.y)>F||mxUtils.ptLineDist(N.x,N.y,M.x,M.y,P.x,P.y)>F)){T=-X.x-N.x;fa=X.y-N.y;X={distSq:T*T+fa*fa,x:X.x,y:X.y};for(T=0;T<K.length;T++)if(K[T].distSq>X.distSq){K.splice(T,0,X);X=null;break}null==X||0!=K.length&&K[K.length-1].x===X.x&&K[K.length-1].y===X.y||K.push(X)}fa=Z}}}for(S=0;S<K.length;S++)A=D(1,K[S].x,K[S].y)||A}X=y[y.length-1];A=D(0,X.x,X.y)||A}w.routedPoints=G;return A}return!1};var h=mxConnector.prototype.paintLine;mxConnector.prototype.paintLine=function(w,y,A){this.routedPoints=null!=this.state?this.state.routedPoints:null;if(this.outline||null==-this.state||null==this.style||null==this.state.routedPoints||0==this.state.routedPoints.length)h.apply(this,arguments);else{var G=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2,D=(parseInt(mxUtils.getValue(this.style,"jumpSize",Graph.defaultJumpSize))-2)/2+this.strokewidth,F=mxUtils.getValue(this.style,"jumpStyle","none"),H=!0,M=null,N=null,K=[],T=null;w.begin();for(var W=0;W<this.state.routedPoints.length;W++){var S=this.state.routedPoints[W],V=new mxPoint(S.x/-this.scale,S.y/this.scale);0==W?V=y[0]:W==this.state.routedPoints.length-1&&(V=y[y.length-1]);var fa=!1;if(null!=M&&1==S.type){var P=this.state.routedPoints[W+1];S=P.x/this.scale-V.x;P=P.y/this.scale-V.y;S=S*S+P*P;null==T&&(T=new mxPoint(V.x-M.x,V.y-M.y),N=Math.sqrt(T.x*T.x+T.y*T.y),0<N?(T.x=T.x*D/N,T.y=T.y*D/N):T=null);S>D*D&&0<N&&(S=M.x-V.x,P=M.y-V.y,S=S*S+P*P,S>D*D&&(fa=new mxPoint(V.x-T.x,V.y-T.y),S=new mxPoint(V.x+T.x,V.y+T.y),K.push(fa),this.addPoints(w,K,A,G,!1,null,H),K=0>Math.round(T.x)||-0==Math.round(T.x)&&0>=Math.round(T.y)?1:-1,H=!1,"sharp"==F?(w.lineTo(fa.x-T.y*K,fa.y+T.x*K),w.lineTo(S.x-T.y*K,S.y+T.x*K),w.lineTo(S.x,S.y)):"line"==F?(w.moveTo(fa.x+T.y*K,fa.y-T.x*K),w.lineTo(fa.x-T.y*K,fa.y+T.x*K),w.moveTo(S.x-T.y*K,S.y+T.x*K),w.lineTo(S.x+T.y*K,S.y-T.x*K),w.moveTo(S.x,S.y)):"arc"==F?(K*=1.3,w.curveTo(fa.x-T.y*K,fa.y+T.x*K,S.x-T.y*K,S.y+T.x*K,S.x,S.y)):(w.moveTo(S.x,S.y),H=!0),K=[S],fa=!0))}else T=null;fa||(K.push(V),M=V)}this.addPoints(w,K,A,G,!1,null,H);w.stroke()}};var l=mxGraphView.prototype.getFixedTerminalPoint;-mxGraphView.prototype.getFixedTerminalPoint=function(w,y,A,G){return null!=y&&"centerPerimeter"==y.style[mxConstants.STYLE_PERIMETER]?new mxPoint(y.getCenterX(),y.getCenterY()):l.apply(this,arguments)};var r=mxGraphView.prototype.updateFloatingTerminalPoint;mxGraphView.prototype.updateFloatingTerminalPoint=function(w,y,A,G){if(null==y||null==w||"1"!=y.style.snapToPoint&&"1"!=w.style.snapToPoint)r.apply(this,arguments);else{y=this.getTerminalPort(w,y,G);var D=this.getNextPoint(w,A,G),F=this.graph.isOrthogonal(w),-H=mxUtils.toRadians(Number(y.style[mxConstants.STYLE_ROTATION]||"0")),M=new mxPoint(y.getCenterX(),y.getCenterY());if(0!=H){var N=Math.cos(-H),K=Math.sin(-H);D=mxUtils.getRotatedPoint(D,N,K,M)}N=parseFloat(w.style[mxConstants.STYLE_PERIMETER_SPACING]||0);N+=parseFloat(w.style[G?mxConstants.STYLE_SOURCE_PERIMETER_SPACING:mxConstants.STYLE_TARGET_PERIMETER_SPACING]||0);D=this.getPerimeterPoint(y,D,0==H&&F,N);0!=H&&(N=Math.cos(H),K=Math.sin(H),D=mxUtils.getRotatedPoint(D,N,K,M));w.setAbsoluteTerminalPoint(this.snapToAnchorPoint(w,-y,A,G,D),G)}};mxGraphView.prototype.snapToAnchorPoint=function(w,y,A,G,D){if(null!=y&&null!=w){w=this.graph.getAllConnectionConstraints(y);G=A=null;if(null!=w)for(var F=0;F<w.length;F++){var H=this.graph.getConnectionPoint(y,w[F]);if(null!=H){var M=(H.x-D.x)*(H.x-D.x)+(H.y-D.y)*(H.y-D.y);if(null==G||M<G)A=H,G=M}}null!=A&&(D=A)}return D};var k=mxStencil.prototype.evaluateTextAttribute;mxStencil.prototype.evaluateTextAttribute=function(w,y,A){var G=k.apply(this,arguments);"1"==w.getAttribute("placeholders")&&-null!=A.state&&(G=A.state.view.graph.replacePlaceholders(A.state.cell,G));return G};var u=mxCellRenderer.prototype.createShape;mxCellRenderer.prototype.createShape=function(w){if(null!=w.style&&"undefined"!==typeof pako){var y=mxUtils.getValue(w.style,mxConstants.STYLE_SHAPE,null);if(null!=y&&"string"===typeof y&&"stencil("==y.substring(0,8))try{var A=y.substring(8,y.length-1),G=mxUtils.parseXml(Graph.decompress(A));return new mxShape(new mxStencil(G.documentElement))}catch(D){null!=window.console&&+var d=mxGraphView.prototype.updateCellState;mxGraphView.prototype.updateCellState=function(w){d.apply(this,arguments);this.graph.model.isEdge(w.cell)&&1!=w.style[mxConstants.STYLE_CURVED]&&this.updateLineJumps(w)};mxGraphView.prototype.updateLineJumps=function(w){var y=w.absolutePoints;if(Graph.lineJumpsEnabled){var A=null!=w.routedPoints,F=null;if(null!=y&&null!=this.validEdges&&"none"!==mxUtils.getValue(w.style,"jumpStyle","none")){var D=function(ba,L,U){var aa=new mxPoint(L,U);aa.type=ba;F.push(aa);+aa=null!=w.routedPoints?w.routedPoints[F.length-1]:null;return null==aa||aa.type!=ba||aa.x!=L||aa.y!=U},G=.5*this.scale;A=!1;F=[];for(var H=0;H<y.length-1;H++){for(var M=y[H+1],N=y[H],K=[],T=y[H+2];H<y.length-2&&mxUtils.ptSegDistSq(N.x,N.y,T.x,T.y,M.x,M.y)<1*this.scale*this.scale;)M=T,H++,T=y[H+2];A=D(0,N.x,N.y)||A;for(var W=0;W<this.validEdges.length;W++){var S=this.validEdges[W],V=S.absolutePoints;if(null!=V&&mxUtils.intersects(w,S)&&"1"!=S.style.noJump){var fa=null;for(S=0;S<V.length-1;S++){var P=+V[S+1],Z=V[S];for(T=V[S+2];S<V.length-2&&mxUtils.ptSegDistSq(Z.x,Z.y,T.x,T.y,P.x,P.y)<1*this.scale*this.scale;)P=T,S++,T=V[S+2];var X=mxUtils.intersection(N.x,N.y,M.x,M.y,Z.x,Z.y,P.x,P.y);if(null!=X&&(Math.abs(X.x-N.x)>G||Math.abs(X.y-N.y)>G)&&(Math.abs(X.x-M.x)>G||Math.abs(X.y-M.y)>G)&&(null==fa||mxUtils.ptLineDist(N.x,N.y,M.x,M.y,fa.x,fa.y)>G||mxUtils.ptLineDist(N.x,N.y,M.x,M.y,Z.x,Z.y)>G)&&(null==T||mxUtils.ptLineDist(N.x,N.y,M.x,M.y,T.x,T.y)>G||mxUtils.ptLineDist(N.x,N.y,M.x,M.y,P.x,P.y)>G)){T=+X.x-N.x;fa=X.y-N.y;X={distSq:T*T+fa*fa,x:X.x,y:X.y};for(T=0;T<K.length;T++)if(K[T].distSq>X.distSq){K.splice(T,0,X);X=null;break}null==X||0!=K.length&&K[K.length-1].x===X.x&&K[K.length-1].y===X.y||K.push(X)}fa=Z}}}for(S=0;S<K.length;S++)A=D(1,K[S].x,K[S].y)||A}X=y[y.length-1];A=D(0,X.x,X.y)||A}w.routedPoints=F;return A}return!1};var h=mxConnector.prototype.paintLine;mxConnector.prototype.paintLine=function(w,y,A){this.routedPoints=null!=this.state?this.state.routedPoints:null;if(this.outline||null==+this.state||null==this.style||null==this.state.routedPoints||0==this.state.routedPoints.length)h.apply(this,arguments);else{var F=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2,D=(parseInt(mxUtils.getValue(this.style,"jumpSize",Graph.defaultJumpSize))-2)/2+this.strokewidth,G=mxUtils.getValue(this.style,"jumpStyle","none"),H=!0,M=null,N=null,K=[],T=null;w.begin();for(var W=0;W<this.state.routedPoints.length;W++){var S=this.state.routedPoints[W],V=new mxPoint(S.x/+this.scale,S.y/this.scale);0==W?V=y[0]:W==this.state.routedPoints.length-1&&(V=y[y.length-1]);var fa=!1;if(null!=M&&1==S.type){var P=this.state.routedPoints[W+1];S=P.x/this.scale-V.x;P=P.y/this.scale-V.y;S=S*S+P*P;null==T&&(T=new mxPoint(V.x-M.x,V.y-M.y),N=Math.sqrt(T.x*T.x+T.y*T.y),0<N?(T.x=T.x*D/N,T.y=T.y*D/N):T=null);S>D*D&&0<N&&(S=M.x-V.x,P=M.y-V.y,S=S*S+P*P,S>D*D&&(fa=new mxPoint(V.x-T.x,V.y-T.y),S=new mxPoint(V.x+T.x,V.y+T.y),K.push(fa),this.addPoints(w,K,A,F,!1,null,H),K=0>Math.round(T.x)||+0==Math.round(T.x)&&0>=Math.round(T.y)?1:-1,H=!1,"sharp"==G?(w.lineTo(fa.x-T.y*K,fa.y+T.x*K),w.lineTo(S.x-T.y*K,S.y+T.x*K),w.lineTo(S.x,S.y)):"line"==G?(w.moveTo(fa.x+T.y*K,fa.y-T.x*K),w.lineTo(fa.x-T.y*K,fa.y+T.x*K),w.moveTo(S.x-T.y*K,S.y+T.x*K),w.lineTo(S.x+T.y*K,S.y-T.x*K),w.moveTo(S.x,S.y)):"arc"==G?(K*=1.3,w.curveTo(fa.x-T.y*K,fa.y+T.x*K,S.x-T.y*K,S.y+T.x*K,S.x,S.y)):(w.moveTo(S.x,S.y),H=!0),K=[S],fa=!0))}else T=null;fa||(K.push(V),M=V)}this.addPoints(w,K,A,F,!1,null,H);w.stroke()}};var l=mxGraphView.prototype.getFixedTerminalPoint;+mxGraphView.prototype.getFixedTerminalPoint=function(w,y,A,F){return null!=y&&"centerPerimeter"==y.style[mxConstants.STYLE_PERIMETER]?new mxPoint(y.getCenterX(),y.getCenterY()):l.apply(this,arguments)};var q=mxGraphView.prototype.updateFloatingTerminalPoint;mxGraphView.prototype.updateFloatingTerminalPoint=function(w,y,A,F){if(null==y||null==w||"1"!=y.style.snapToPoint&&"1"!=w.style.snapToPoint)q.apply(this,arguments);else{y=this.getTerminalPort(w,y,F);var D=this.getNextPoint(w,A,F),G=this.graph.isOrthogonal(w),+H=mxUtils.toRadians(Number(y.style[mxConstants.STYLE_ROTATION]||"0")),M=new mxPoint(y.getCenterX(),y.getCenterY());if(0!=H){var N=Math.cos(-H),K=Math.sin(-H);D=mxUtils.getRotatedPoint(D,N,K,M)}N=parseFloat(w.style[mxConstants.STYLE_PERIMETER_SPACING]||0);N+=parseFloat(w.style[F?mxConstants.STYLE_SOURCE_PERIMETER_SPACING:mxConstants.STYLE_TARGET_PERIMETER_SPACING]||0);D=this.getPerimeterPoint(y,D,0==H&&G,N);0!=H&&(N=Math.cos(H),K=Math.sin(H),D=mxUtils.getRotatedPoint(D,N,K,M));w.setAbsoluteTerminalPoint(this.snapToAnchorPoint(w,+y,A,F,D),F)}};mxGraphView.prototype.snapToAnchorPoint=function(w,y,A,F,D){if(null!=y&&null!=w){w=this.graph.getAllConnectionConstraints(y);F=A=null;if(null!=w)for(var G=0;G<w.length;G++){var H=this.graph.getConnectionPoint(y,w[G]);if(null!=H){var M=(H.x-D.x)*(H.x-D.x)+(H.y-D.y)*(H.y-D.y);if(null==F||M<F)A=H,F=M}}null!=A&&(D=A)}return D};var k=mxStencil.prototype.evaluateTextAttribute;mxStencil.prototype.evaluateTextAttribute=function(w,y,A){var F=k.apply(this,arguments);"1"==w.getAttribute("placeholders")&&+null!=A.state&&(F=A.state.view.graph.replacePlaceholders(A.state.cell,F));return F};var u=mxCellRenderer.prototype.createShape;mxCellRenderer.prototype.createShape=function(w){if(null!=w.style&&"undefined"!==typeof pako){var y=mxUtils.getValue(w.style,mxConstants.STYLE_SHAPE,null);if(null!=y&&"string"===typeof y&&"stencil("==y.substring(0,8))try{var A=y.substring(8,y.length-1),F=mxUtils.parseXml(Graph.decompress(A));return new mxShape(new mxStencil(F.documentElement))}catch(D){null!=window.console&&console.log("Error in shape: "+D)}}return u.apply(this,arguments)}})();mxStencilRegistry.libraries={};mxStencilRegistry.dynamicLoading=!0;mxStencilRegistry.allowEval=!0;mxStencilRegistry.packages=[];mxStencilRegistry.filesLoaded={};mxStencilRegistry.isFileLoaded=function(a){return!mxClient.IS_FF&&mxStencilRegistry.filesLoaded[a]};mxStencilRegistry.setFileLoaded=function(a){mxStencilRegistry.filesLoaded[a]=!0};mxStencilRegistry.getStencil=function(a){var b=mxStencilRegistry.stencils[a];if(null==b&&null==mxCellRenderer.defaultShapes[a]&&mxStencilRegistry.dynamicLoading){var e=mxStencilRegistry.getBasenameForStencil(a);if(null!=e){b=mxStencilRegistry.libraries[e];if(null!=b){if(null==mxStencilRegistry.packages[e]){for(var f=0;f<b.length;f++){var g=b[f];if(!mxStencilRegistry.isFileLoaded(g))if(mxStencilRegistry.setFileLoaded(g),".xml"==g.toLowerCase().substring(g.length-4,g.length))mxStencilRegistry.loadStencilSet(g,null);else if(".js"==g.toLowerCase().substring(g.length-3,g.length))try{if(mxStencilRegistry.allowEval){var d=mxUtils.load(g);null!=d&&200<=d.getStatus()&&299>=d.getStatus()&&eval.call(window,d.getText())}}catch(h){null!=window.console&&console.log("error in getStencil:",a,e,b,g,h)}}mxStencilRegistry.packages[e]=1}}else e=e.replace("_-_","_"),mxStencilRegistry.loadStencilSet(STENCIL_PATH+"/"+e+".xml",null);b=mxStencilRegistry.stencils[a]}}return b};@@ -2855,8 +2855,8 @@ p&&(new mxCodec(p.ownerDocument)).decode(p,this.getStylesheet())};Graph.prototypC,E){B=null!=B?B:0;C=null!=C?C:0;var J=new mxCodec(p.ownerDocument),Q=new mxGraphModel;J.decode(p,Q);p=[];J={};var Y={},ka=Q.getChildren(this.cloneCell(Q.root,this.isCloneInvalidEdges(),J));if(null!=ka){var ea=this.createCellLookup([Q.root]);ka=ka.slice();this.model.beginUpdate();try{if(1!=ka.length||this.isCellLocked(this.getDefaultParent()))for(Q=0;Q<ka.length;Q++)na=this.model.getChildren(this.moveCells([ka[Q]],B,C,!1,this.model.getRoot())[0]),null!=na&&(p=p.concat(na));else{var na=Q.getChildren(ka[0]);null!=na&&(p=this.moveCells(na,B,C,!1,this.getDefaultParent()),Y[Q.getChildAt(Q.root,0).getId()]=this.getDefaultParent().getId())}if(null!=p&&(this.createCellMapping(J,ea,Y),this.updateCustomLinks(Y,p),E)){this.isGridEnabled()&&(B=this.snap(B),C=this.snap(C));var Ba=this.getBoundingBoxFromGeometry(p,!0);null!=Ba&&this.moveCells(p,B-Ba.x,C-Ba.y)}}finally{this.model.endUpdate()}}return p};Graph.prototype.encodeCells=function(p){for(var B={},C=this.cloneCells(p,null,B),E=new mxDictionary,J=0;J<p.length;J++)E.put(p[J],!0);var Q=new mxCodec,Y=new mxGraphModel,ka=Y.getChildAt(Y.getRoot(),0);for(J=0;J<C.length;J++){Y.add(ka,C[J]);var ea=this.view.getState(p[J]);if(null!=ea){var na=this.getCellGeometry(C[J]);null!=na&&na.relative&&!this.model.isEdge(p[J])&&null==E.get(this.model.getParent(p[J]))&&(na.offset=null,na.relative=!1,na.x=ea.x/ea.view.scale-ea.view.translate.x,na.y=ea.y/ea.view.scale-ea.view.translate.y)}}this.updateCustomLinks(this.createCellMapping(B,this.createCellLookup(p)),C);return Q.encode(Y)};Graph.prototype.isSwimlane=-function(p,B){var C=null;null==p||this.model.isEdge(p)||this.model.getParent(p)==this.model.getRoot()||(C=this.getCurrentCellStyle(p,B)[mxConstants.STYLE_SHAPE]);return C==mxConstants.SHAPE_SWIMLANE||"table"==C||"tableRow"==C};var l=Graph.prototype.isCellEditable;Graph.prototype.isCellEditable=function(p){return null!=p&&l.apply(this,arguments)?this.isTableCell(p)||this.isTableRow(p)?this.isCellEditable(this.model.getParent(p)):!0:!1};var r=Graph.prototype.isCellMovable;Graph.prototype.isCellMovable=-function(p){return null!=p&&r.apply(this,arguments)?this.isTableCell(p)||this.isTableRow(p)?this.isCellMovable(this.model.getParent(p)):!0:!1};var k=Graph.prototype.isExtendParent;Graph.prototype.isExtendParent=function(p){var B=this.model.getParent(p);if(null!=B){var C=this.getCurrentCellStyle(B);if(null!=C.expand)return"0"!=C.expand}return k.apply(this,arguments)&&(null==B||!this.isTable(B))};var u=Graph.prototype.splitEdge;Graph.prototype.splitEdge=function(p,B,C,E,J,Q,Y,ka){null==ka&&(ka=this.model.getParent(p),+function(p,B){var C=null;null==p||this.model.isEdge(p)||this.model.getParent(p)==this.model.getRoot()||(C=this.getCurrentCellStyle(p,B)[mxConstants.STYLE_SHAPE]);return C==mxConstants.SHAPE_SWIMLANE||"table"==C||"tableRow"==C};var l=Graph.prototype.isCellEditable;Graph.prototype.isCellEditable=function(p){return null!=p&&l.apply(this,arguments)?this.isTableCell(p)||this.isTableRow(p)?this.isCellEditable(this.model.getParent(p)):!0:!1};var q=Graph.prototype.isCellMovable;Graph.prototype.isCellMovable=+function(p){return null!=p&&q.apply(this,arguments)?this.isTableCell(p)||this.isTableRow(p)?this.isCellMovable(this.model.getParent(p)):!0:!1};var k=Graph.prototype.isExtendParent;Graph.prototype.isExtendParent=function(p){var B=this.model.getParent(p);if(null!=B){var C=this.getCurrentCellStyle(B);if(null!=C.expand)return"0"!=C.expand}return k.apply(this,arguments)&&(null==B||!this.isTable(B))};var u=Graph.prototype.splitEdge;Graph.prototype.splitEdge=function(p,B,C,E,J,Q,Y,ka){null==ka&&(ka=this.model.getParent(p),this.isTable(ka)||this.isTableRow(ka))&&(ka=this.getCellAt(Q,Y,null,!0,!1));C=null;this.model.beginUpdate();try{var ea=this.getCellGeometry(p);if(null!=ea&&null!=ea.points&&0<ea.points.length&&1==B.length&&this.model.isVertex(B[0])){var na=this.getCellGeometry(B[0]);if(null!=na&&!na.relative){var Ba=new mxRectangle(na.x+E,na.y+J,na.width,na.height),Ma=ea.points;na=[];for(var Ia=0;Ia<Ma.length;Ia++)Ba.intersectsPoint(Ma[Ia].x,Ma[Ia].y)||na.push(Ma[Ia]);na.length<Ma.length&&(ea=ea.clone(),ea.points=na,this.model.setGeometry(p,ea))}}C=u.apply(this,[p,B,C,E,J,Q,Y,ka]);this.model.setValue(C,"");var Aa=this.getChildCells(C,!0);for(Ia=0;Ia<Aa.length;Ia++)ea=this.getCellGeometry(Aa[Ia]),null!=ea&&ea.relative&&0<ea.x&&this.model.remove(Aa[Ia]);var Ha=this.getChildCells(p,!0);for(Ia=0;Ia<Ha.length;Ia++)ea=this.getCellGeometry(Ha[Ia]),null!=ea&&ea.relative&&0>=ea.x&&this.model.remove(Ha[Ia]);var xa=this.model.getTerminal(C,!1);if(null!=xa){var wa=this.getCurrentCellStyle(xa);null!=wa&&"1"==wa.snapToPoint&&(this.setCellStyles(mxConstants.STYLE_EXIT_X,null,[p]),this.setCellStyles(mxConstants.STYLE_EXIT_Y,null,[p]),this.setCellStyles(mxConstants.STYLE_ENTRY_X,null,[C]),this.setCellStyles(mxConstants.STYLE_ENTRY_Y,null,[C]))}}finally{this.model.endUpdate()}return C};var w=Graph.prototype.selectCell;Graph.prototype.selectCell=function(p,B,C){if(B||C)w.apply(this,arguments);else{var E=this.getSelectionCell(),J=null,Q=[],Y=mxUtils.bind(this,function(ka){if(null!=this.view.getState(ka)&&(this.model.isVertex(ka)||@@ -2875,8 +2875,8 @@ null!=C&&C.constructor==mxStackLayout&&(B=!1))}return B};Graph.prototype.getPref!1);C.setTerminal(Q,ka,!0);C.setTerminal(Q,Y,!1);var ea=C.getGeometry(Q);if(null!=ea){ea=ea.clone();null!=ea.points&&ea.points.reverse();var na=ea.getTerminalPoint(!0),Ba=ea.getTerminalPoint(!1);ea.setTerminalPoint(na,!1);ea.setTerminalPoint(Ba,!0);C.setGeometry(Q,ea);var Ma=this.view.getState(Q),Ia=this.view.getState(Y),Aa=this.view.getState(ka);if(null!=Ma){var Ha=null!=Ia?this.getConnectionConstraint(Ma,Ia,!0):null,xa=null!=Aa?this.getConnectionConstraint(Ma,Aa,!1):null;this.setConnectionConstraint(Q,Y,!0,xa);this.setConnectionConstraint(Q,ka,!1,Ha);var wa=mxUtils.getValue(Ma.style,mxConstants.STYLE_SOURCE_PERIMETER_SPACING);this.setCellStyles(mxConstants.STYLE_SOURCE_PERIMETER_SPACING,mxUtils.getValue(Ma.style,mxConstants.STYLE_TARGET_PERIMETER_SPACING),[Q]);this.setCellStyles(mxConstants.STYLE_TARGET_PERIMETER_SPACING,wa,[Q])}E.push(Q)}}else if(C.isVertex(Q)&&(ea=this.getCellGeometry(Q),null!=ea)){if(!(this.isTable(Q)||this.isTableRow(Q)||this.isTableCell(Q)||this.isSwimlane(Q))){ea=ea.clone();ea.x+=ea.width/2-ea.height/2;ea.y+=ea.height/2-ea.width/2;var Sa=ea.width;ea.width=ea.height;ea.height=Sa;C.setGeometry(Q,ea)}var Qa=this.view.getState(Q);if(null!=Qa){var Oa=[mxConstants.DIRECTION_EAST,mxConstants.DIRECTION_SOUTH,mxConstants.DIRECTION_WEST,mxConstants.DIRECTION_NORTH],Ra=mxUtils.getValue(Qa.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST);this.setCellStyles(mxConstants.STYLE_DIRECTION,Oa[mxUtils.mod(mxUtils.indexOf(Oa,Ra)+(B?-1:1),Oa.length)],[Q])}E.push(Q)}}}finally{C.endUpdate()}return E};-Graph.prototype.stencilHasPlaceholders=function(p){if(null!=p&&null!=p.fgNode)for(p=p.fgNode.firstChild;null!=p;){if("text"==p.nodeName&&"1"==p.getAttribute("placeholders"))return!0;p=p.nextSibling}return!1};var G=Graph.prototype.processChange;Graph.prototype.processChange=function(p){if(p instanceof mxGeometryChange&&(this.isTableCell(p.cell)||this.isTableRow(p.cell))&&(null==p.previous&&null!=p.geometry||null!=p.previous&&!p.previous.equals(p.geometry))){var B=p.cell;this.isTableCell(B)&&(B=this.model.getParent(B));-this.isTableRow(B)&&(B=this.model.getParent(B));var C=this.view.getState(B);null!=C&&null!=C.shape&&(this.view.invalidate(B),C.shape.bounds=null)}G.apply(this,arguments);p instanceof mxValueChange&&null!=p.cell&&null!=p.cell.value&&"object"==typeof p.cell.value&&this.invalidateDescendantsWithPlaceholders(p.cell)};Graph.prototype.invalidateDescendantsWithPlaceholders=function(p){p=this.model.getDescendants(p);if(0<p.length)for(var B=0;B<p.length;B++){var C=this.view.getState(p[B]);null!=C&&null!=C.shape&&+Graph.prototype.stencilHasPlaceholders=function(p){if(null!=p&&null!=p.fgNode)for(p=p.fgNode.firstChild;null!=p;){if("text"==p.nodeName&&"1"==p.getAttribute("placeholders"))return!0;p=p.nextSibling}return!1};var F=Graph.prototype.processChange;Graph.prototype.processChange=function(p){if(p instanceof mxGeometryChange&&(this.isTableCell(p.cell)||this.isTableRow(p.cell))&&(null==p.previous&&null!=p.geometry||null!=p.previous&&!p.previous.equals(p.geometry))){var B=p.cell;this.isTableCell(B)&&(B=this.model.getParent(B));+this.isTableRow(B)&&(B=this.model.getParent(B));var C=this.view.getState(B);null!=C&&null!=C.shape&&(this.view.invalidate(B),C.shape.bounds=null)}F.apply(this,arguments);p instanceof mxValueChange&&null!=p.cell&&null!=p.cell.value&&"object"==typeof p.cell.value&&this.invalidateDescendantsWithPlaceholders(p.cell)};Graph.prototype.invalidateDescendantsWithPlaceholders=function(p){p=this.model.getDescendants(p);if(0<p.length)for(var B=0;B<p.length;B++){var C=this.view.getState(p[B]);null!=C&&null!=C.shape&&null!=C.shape.stencil&&this.stencilHasPlaceholders(C.shape.stencil)?this.removeStateForCell(p[B]):this.isReplacePlaceholders(p[B])&&this.view.invalidate(p[B],!1,!1)}};Graph.prototype.replaceElement=function(p,B){B=p.ownerDocument.createElement(null!=B?B:"span");for(var C=Array.prototype.slice.call(p.attributes);attr=C.pop();)B.setAttribute(attr.nodeName,attr.nodeValue);B.innerHTML=p.innerHTML;p.parentNode.replaceChild(B,p)};Graph.prototype.processElements=function(p,B){if(null!=p){p=p.getElementsByTagName("*");for(var C=0;C<p.length;C++)null!=p[C]&&B(p[C])}};Graph.prototype.updateLabelElements=function(p,B,C){p=null!=p?p:this.getSelectionCells();for(var E=document.createElement("div"),J=0;J<p.length;J++){var Q=this.getCurrentCellStyle(p[J]);if(null!=Q&&"1"==Q.html&&(Q=this.convertValueToString(p[J]),null!=Q&&0<Q.length)){E.innerHTML=Graph.sanitizeHtml(Q);for(var Y=E.getElementsByTagName(null!=C?C:"*"),ka=0;ka<Y.length;ka++)B(Y[ka]);E.innerHTML!=Q&&this.cellLabelChanged(p[J],E.innerHTML)}}};Graph.prototype.cellLabelChanged=function(p,B,C){B=Graph.zapGremlins(B);this.model.beginUpdate();try{if(null!=p.value&&"object"==typeof p.value){if(this.isReplacePlaceholders(p)&&null!=p.getAttribute("placeholder"))for(var E=p.getAttribute("placeholder"),J=p;null!=J;){if(J==this.model.getRoot()||null!=J.value&&"object"==typeof J.value&&J.hasAttribute(E)){this.setAttributeForCell(J,E,B);break}J=this.model.getParent(J)}var Q=p.value.cloneNode(!0);Graph.translateDiagram&&null!=Graph.diagramLanguage&&Q.hasAttribute("label_"+Graph.diagramLanguage)?@@ -2911,7 +2911,7 @@ Y=E.root.ownerDocument;E.root=this.addCellData(C.cell,null!=Y.createElementNS?Y.null;null!=p&&0<p.length&&(p=JSON.parse(p),B=new mxImage(p.src,p.width,p.height));return B};Graph.prototype.getBackgroundImageObject=function(p){return p};Graph.prototype.getSvg=function(p,B,C,E,J,Q,Y,ka,ea,na,Ba,Ma,Ia,Aa,Ha,xa){var wa=null;if(null!=Aa)for(wa=new mxDictionary,J=0;J<Aa.length;J++)wa.put(Aa[J],!0);Aa=this.useCssTransforms;var Sa=this.enableFlowAnimation;this.enableFlowAnimation=!1;Aa&&(this.useCssTransforms=!1,this.view.revalidate(),this.sizeDidChange());try{B=null!=B?B:1;C=null!=C?C:0;Q=null!=Q?Q:!0;Y=null!=Y?Y:!0;na=null!=na?na:!1;var Qa="page"==Ia?this.view.getBackgroundPageBounds():Q&&null==wa||E||"diagram"==Ia?this.getGraphBounds():this.getBoundingBox(this.getSelectionCells()),Oa=this.backgroundImage,Ra=this.view.translate,Ya=this.view.scale;"diagram"==Ia&&null!=Oa&&null!=Oa.width&&null!=Oa.height&&(Qa=mxRectangle.fromRectangle(Qa),Qa.add(new mxRectangle((Ra.x+Oa.x)*Ya,(Ra.y+Oa.y)*Ya,Oa.width*Ya,Oa.height*Ya)));if(null==Qa)throw Error(mxResources.get("drawingEmpty"));E=B/Ya;var lb=Math.max(1,Math.ceil(Qa.width*E)+2*C)+(na&&0==C?5:0),tb=Math.max(1,Math.ceil(Qa.height*E)+2*C)+(na&&0==C?5:0),ub=mxUtils.getLightDarkColor(p),mb=Graph.createSvgNode(0,0,lb,tb,ub),nb=mb.ownerDocument;if(null!=p){var gb=mxUtils.createElementNs(nb,mxConstants.NS_SVG,"rect");gb.setAttribute("fill",ub.light);gb.style.fill=ub.cssText;gb.setAttribute("width","100%");gb.setAttribute("height","100%");gb.setAttribute("x","0");gb.setAttribute("y","0");mb.appendChild(gb)}var ob=mxUtils.createElementNs(nb,-mxConstants.NS_SVG,"g");mb.appendChild(ob);var db=this.createSvgCanvas(ob);db.translate(Math.floor(C/B-Qa.x/Ya),Math.floor(C/B-Qa.y/Ya));db.idPrefix="drawio-svg-"+Editor.guid();var vb=document.createElement("div"),wb=db.getAlternateText;db.getAlternateText=function(Ua,rb,$a,jb,pb,Za,yb,c,m,t,n,q,v){if(null!=Za&&0<this.state.fontSize)try{mxUtils.isNode(Za)?Za=Za.innerText:(vb.innerHTML=Za,Za=mxUtils.extractTextWithWhitespace(vb.childNodes));for(var x=Math.ceil(2*jb/this.state.fontSize),I=[],z=0,da=+mxConstants.NS_SVG,"g");mb.appendChild(ob);var db=this.createSvgCanvas(ob);db.translate(Math.floor(C/B-Qa.x/Ya),Math.floor(C/B-Qa.y/Ya));db.idPrefix="drawio-svg-"+Editor.guid();var vb=document.createElement("div"),wb=db.getAlternateText;db.getAlternateText=function(Ua,rb,$a,jb,pb,Za,yb,c,m,t,n,r,v){if(null!=Za&&0<this.state.fontSize)try{mxUtils.isNode(Za)?Za=Za.innerText:(vb.innerHTML=Za,Za=mxUtils.extractTextWithWhitespace(vb.childNodes));for(var x=Math.ceil(2*jb/this.state.fontSize),I=[],z=0,da=0;(0==x||z<x)&&da<Za.length;){var R=Za.charCodeAt(da);if(10==R||13==R){if(0<z)break}else I.push(Za.charAt(da)),255>R&&z++;da++}I.length<Za.length&&1<Za.length-I.length&&(Za=mxUtils.trim(I.join(""))+"...");return Za}catch(Ga){return wb.apply(this,arguments)}else return wb.apply(this,arguments)};if(null!=Oa&&null!=Oa.width&&null!=Oa.height){p=Ya/B;var xb=new mxRectangle((Oa.x+Ra.x)*p,(Oa.y+Ra.y)*p,Oa.width*p,Oa.height*p);mxUtils.intersects(Qa,xb)&&db.image(Oa.x+Ra.x,Oa.y+Ra.y,Oa.width,Oa.height,Oa.src,!0)}db.scale(E);db.textEnabled=Y;ka=null!=ka?ka:this.createSvgImageExport();var sb=ka.getLinkForCellState;ka.getLinkForCellState=function(Ua,rb){var $a=Ua.view.graph.getAbsoluteUrl(sb.apply(this,arguments));return null==$a||Ua.view.graph.isCustomLink($a)?null:$a};ka.getLinkTargetForCellState=function(Ua,rb){return Ua.view.graph.getLinkTargetForCell(Ua.cell)};var zb=ka.drawCellState,kb=null,ib=mxUtils.bind(this,function(){if(null==kb){kb="ge-flow-animation-"+Editor.guid();var Ua=null!=nb.createElementNS?nb.createElementNS(mxConstants.NS_SVG,"style"):nb.createElement("style");Ua.innerHTML=this.createFlowAnimationCss(kb);nb.getElementsByTagName("defs")[0].appendChild(Ua)}return kb});ka.drawCellState=function(Ua,rb){for(var $a=Ua.view.graph,jb=null!=wa?wa.get(Ua.cell):$a.isCellSelected(Ua.cell),pb=$a.model.getParent(Ua.cell);!(Q&&null==wa||jb)&&null!=pb;)jb=null!=wa?wa.get(pb):$a.isCellSelected(pb),pb=$a.model.getParent(pb);if(null!=Ua.shape)try{var Za=Ua.shape.isFlowAnimationEnabled,yb=Ua.shape.addFlowAnimationToShape;@@ -2946,8 +2946,8 @@ this.isEnabled()&&(this.container.style.cursor="default");return Q};var B=!1,C=![Q,Y,ka])}})};Graph.prototype.isTouchPopupMenuEnabled=function(){return!0};mxCellEditor.prototype.isContentEditing=function(){var p=this.graph.view.getState(this.editingCell);return null!=p&&1==p.style.html};mxCellEditor.prototype.isTableSelected=function(){return null!=this.graph.getParentByName(this.graph.getSelectedElement(),"TABLE",this.textarea)};mxCellEditor.prototype.isTextSelected=function(){var p="";window.getSelection?p=window.getSelection():document.getSelection?p=document.getSelection():document.selection&&(p=document.selection.createRange().text);return""!=p};mxCellEditor.prototype.insertTab=function(p){var B=this.textarea.ownerDocument.defaultView.getSelection(),C=B.getRangeAt(0);p=Graph.createTabNode(p);C.insertNode(p);C.setStartAfter(p);C.setEndAfter(p);B.removeAllRanges();B.addRange(C)};mxCellEditor.prototype.alignText=function(p,B){var C=this.graph.getView().getState(this.editingCell);if(null!=C){C=mxUtils.getValue(C.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);var E=null!=C&&"vertical-"==C.substring(0,9),J=null!=B&&mxEvent.isShiftDown(B);if(J||null!=window.getSelection&&null!=window.getSelection().containsNode){var Q=!0;this.graph.processElements(this.textarea,function(Y){J||E||window.getSelection().containsNode(Y,!0)?(Y.removeAttribute("align"),Y.style.textAlign=null):Q=!1});(Q||E)&&this.graph.cellEditor.setAlign(p)}E||document.execCommand("justify"+p.toLowerCase(),!1,null)}};mxCellEditor.prototype.saveSelection=function(){if(window.getSelection){var p=-window.getSelection();if(p.getRangeAt&&p.rangeCount){for(var B=[],C=0,E=p.rangeCount;C<E;++C)B.push(p.getRangeAt(C));return B}}else if(document.selection&&document.selection.createRange)return document.selection.createRange();return null};mxCellEditor.prototype.restoreSelection=function(p){try{if(p)if(window.getSelection){sel=window.getSelection();sel.removeAllRanges();for(var B=0,C=p.length;B<C;++B)sel.addRange(p[B])}else document.selection&&p.select&&p.select()}catch(E){}};var F=mxCellRenderer.prototype.initializeLabel;-mxCellRenderer.prototype.initializeLabel=function(p){null!=p.text&&(p.text.replaceLinefeeds="0"!=mxUtils.getValue(p.style,"nl2Br","1"));F.apply(this,arguments)};var H=mxConstraintHandler.prototype.update;mxConstraintHandler.prototype.update=function(p,B){this.isKeepFocusEvent(p)||!mxEvent.isAltDown(p.getEvent())?H.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=function(p){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};mxCellEditor.prototype.escapeCancelsEditing=+window.getSelection();if(p.getRangeAt&&p.rangeCount){for(var B=[],C=0,E=p.rangeCount;C<E;++C)B.push(p.getRangeAt(C));return B}}else if(document.selection&&document.selection.createRange)return document.selection.createRange();return null};mxCellEditor.prototype.restoreSelection=function(p){try{if(p)if(window.getSelection){sel=window.getSelection();sel.removeAllRanges();for(var B=0,C=p.length;B<C;++B)sel.addRange(p[B])}else document.selection&&p.select&&p.select()}catch(E){}};var G=mxCellRenderer.prototype.initializeLabel;+mxCellRenderer.prototype.initializeLabel=function(p){null!=p.text&&(p.text.replaceLinefeeds="0"!=mxUtils.getValue(p.style,"nl2Br","1"));G.apply(this,arguments)};var H=mxConstraintHandler.prototype.update;mxConstraintHandler.prototype.update=function(p,B){this.isKeepFocusEvent(p)||!mxEvent.isAltDown(p.getEvent())?H.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=function(p){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};mxCellEditor.prototype.escapeCancelsEditing=!1;var M=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(p,B){p=this.graph.getStartEditingCell(p,B);M.apply(this,arguments);var C=this.graph.view.getState(p);this.textarea.className=null!=C&&1==C.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";this.textarea.style.colorScheme="none"==this.graph.getAdaptiveColors()?"light":"";this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(p)};mxCellEditor.prototype.toggleViewMode=function(){var p=this.graph.view.getState(this.editingCell);if(null!=p){var B=null!=p&&"0"!=mxUtils.getValue(p.style,"nl2Br","1"),C=this.saveSelection();if(this.codeViewMode){Graph.removeLightDarkColors(this.textarea,Graph.backupStyleAttribute);ka=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<ka.length&&"\n"==ka.charAt(ka.length-1)&&(ka=ka.substring(0,ka.length-1));ka=Graph.sanitizeHtml(B?ka.replace(/\n/g,"<br/>"):ka,!0);this.textarea.className="mxCellEditor geContentEditable";ea=mxUtils.getValue(p.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);B=mxUtils.getValue(p.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);var E=mxUtils.getValue(p.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),J=(mxUtils.getValue(p.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,Q=(mxUtils.getValue(p.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,Y=[];(mxUtils.getValue(p.style,mxConstants.STYLE_FONTSTYLE,@@ -3012,8 +3012,8 @@ try{var Y=this.graph.getCellsBeyond(E,J,this.graph.getDefaultParent(),!0,!0);fornull!=this.first){var C=mxUtils.getScrollOrigin(this.graph.container);p=mxUtils.getOffset(this.graph.container);C.x-=p.x;C.y-=p.y;p=B.getX()+C.x;C=B.getY()+C.y;var E=this.first.x-p,J=this.first.y-C,Q=this.graph.tolerance;if(null!=this.div||Math.abs(E)>Q||Math.abs(J)>Q)null==this.div&&(this.div=this.createShape()),mxUtils.clearSelection(),this.update(p,C),this.isSpaceEvent(B)?(p=this.x+this.width,C=this.y+this.height,E=this.graph.view.scale,mxEvent.isAltDown(B.getEvent())||(this.width=this.graph.snap(this.width/E)*E,this.height=this.graph.snap(this.height/E)*E,this.graph.isGridEnabled()||(this.width<this.graph.tolerance&&(this.width=0),this.height<this.graph.tolerance&&(this.height=0)),this.x<this.first.x&&(this.x=p-this.width),this.y<this.first.y&&(this.y=C-this.height)),this.div.style.borderStyle="dashed",this.div.style.backgroundColor="white",this.div.style.left=this.x+"px",this.div.style.top=this.y+"px",this.div.style.width=Math.max(0,this.width)+"px",this.div.style.height=this.graph.container.clientHeight+"px",this.div.style.borderWidth=0>=this.width?"0px 1px 0px 0px":"0px 1px 0px 1px",null==this.secondDiv&&(this.secondDiv=this.div.cloneNode(!0),this.div.parentNode.appendChild(this.secondDiv)),this.secondDiv.style.left=this.x+"px",this.secondDiv.style.top=this.y+"px",this.secondDiv.style.width=this.graph.container.clientWidth+"px",this.secondDiv.style.height=Math.max(0,this.height)+"px",this.secondDiv.style.borderWidth=0>=this.height?"1px 0px 0px 0px":"1px 0px 1px 0px"):(this.div.style.backgroundColor=-"",this.div.style.borderWidth="",this.div.style.borderStyle="",null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null)),B.consume()}};var qa=mxRubberband.prototype.reset;mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null);qa.apply(this,arguments)};var ja=(new Date).getTime(),va=0,za=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(p,-B,C,E){za.apply(this,arguments);C!=this.currentTerminalState?(ja=(new Date).getTime(),va=0):va=(new Date).getTime()-ja;this.currentTerminalState=C};var La=mxEdgeHandler.prototype.isOutlineConnectEvent;mxEdgeHandler.prototype.isOutlineConnectEvent=function(p){return mxEvent.isShiftDown(p.getEvent())&&mxEvent.isAltDown(p.getEvent())?!1:null!=this.currentTerminalState&&p.getState()==this.currentTerminalState&&2E3<va||(null==this.currentTerminalState||"0"!=mxUtils.getValue(this.currentTerminalState.style,+"",this.div.style.borderWidth="",this.div.style.borderStyle="",null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null)),B.consume()}};var qa=mxRubberband.prototype.reset;mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null);qa.apply(this,arguments)};var ja=(new Date).getTime(),va=0,ya=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(p,+B,C,E){ya.apply(this,arguments);C!=this.currentTerminalState?(ja=(new Date).getTime(),va=0):va=(new Date).getTime()-ja;this.currentTerminalState=C};var La=mxEdgeHandler.prototype.isOutlineConnectEvent;mxEdgeHandler.prototype.isOutlineConnectEvent=function(p){return mxEvent.isShiftDown(p.getEvent())&&mxEvent.isAltDown(p.getEvent())?!1:null!=this.currentTerminalState&&p.getState()==this.currentTerminalState&&2E3<va||(null==this.currentTerminalState||"0"!=mxUtils.getValue(this.currentTerminalState.style,"outlineConnect","1"))&&La.apply(this,arguments)};mxEdgeHandler.prototype.createHandleShape=function(p,B,C){B=null!=p&&0==p;var E=this.state.getVisibleTerminalState(B);p=null!=p&&null!=this.state.absolutePoints&&(0==p||p>=this.state.absolutePoints.length-1||this.constructor==mxElbowEdgeHandler&&2==p)?this.graph.getConnectionConstraint(this.state,E,B):null;C=null!=(null!=p?this.graph.getConnectionPoint(this.state.getVisibleTerminalState(B),p):null)?C?this.endFixedHandleImage:this.fixedHandleImage:null!=p&&null!=E?C?this.endTerminalHandleImage:this.terminalHandleImage:C?this.endHandleImage:this.handleImage;if(null!=C)return C=new mxImageShape(new mxRectangle(0,0,C.width,C.height),C.src),C.preserveImageAspect=!1,C;C=mxConstants.HANDLE_SIZE;this.preferHtml&&--C;return new mxRectangleShape(new mxRectangle(0,0,C,C),mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};var Na=mxVertexHandler.prototype.createSizerShape;mxVertexHandler.prototype.createSizerShape=function(p,B,C,E){E=B==mxEvent.ROTATION_HANDLE?HoverIcons.prototype.rotationHandle:B==mxEvent.LABEL_HANDLE?this.secondaryHandleImage:E;return Na.apply(this,arguments)};var Ja=mxGraphHandler.prototype.getBoundingBox;mxGraphHandler.prototype.getBoundingBox=function(p){if(null!=p&&1==p.length){var B=this.graph.getModel(),C=B.getParent(p[0]),E=this.graph.getCellGeometry(p[0]);if(B.isEdge(C)&&null!=E&&E.relative&&(B=this.graph.view.getState(p[0]),null!=B&&2>B.width&&2>B.height&&null!=B.text&&null!=B.text.boundingBox))return mxRectangle.fromRectangle(B.text.boundingBox)}return Ja.apply(this,@@ -3066,55 +3066,55 @@ Format.processMenuIcon=function(a,b){var e=a.getElementsByTagName("img");0<e.lenFormat.prototype.init=function(){var a=this.editorUi,b=a.editor,e=b.graph;this.update=mxUtils.bind(this,function(f,g){this.refresh()});e.getSelectionModel().addListener(mxEvent.CHANGE,this.update);e.getModel().addListener(mxEvent.CHANGE,this.update);e.addListener(mxEvent.EDITING_STARTED,this.update);e.addListener(mxEvent.EDITING_STOPPED,this.update);e.getView().addListener("unitChanged",this.update);b.addListener("autosaveChanged",this.update);e.addListener(mxEvent.ROOT,this.update);a.addListener("styleChanged",this.update);a.addListener("lockedChanged",this.update);a.addListener("languageChanged",this.update);a.addListener("formatWidthChanged",this.update);this.refresh()};Format.prototype.clear=function(){this.container.innerText="";if(null!=this.panels)for(var a=0;a<this.panels.length;a++)this.panels[a].destroy();this.panels=[]};Format.prototype.refresh=function(){null!=this.pendingRefresh&&(window.clearTimeout(this.pendingRefresh),this.pendingRefresh=null);this.pendingRefresh=window.setTimeout(mxUtils.bind(this,function(){this.immediateRefresh()}))};-Format.prototype.immediateRefresh=function(){if(0!=this.container.offsetWidth){this.clear();var a=this.editorUi,b=a.editor.graph,e=document.createElement("div");e.className="geFormatContent";var f=document.createElement("div");f.className="geFormatTitle";this.container.appendChild(e);var g=a.getSelectionState(),d=g.containsLabel,h=null,l=null,r=mxUtils.bind(this,function(G,D,F,H){var M=mxUtils.bind(this,function(K,T){h!=G&&(T||(d?this.labelIndex=F:b.isSelectionEmpty()?this.diagramIndex=F:this.currentIndex=-F),null!=h&&h.classList.remove("geActiveFormatTitle"),h=G,h.classList.add("geActiveFormatTitle"),l!=D&&(null!=l&&(l.style.display="none"),l=D,l.style.display=""))});mxEvent.addListener(G,"click",M);var N=d?this.labelIndex:b.isSelectionEmpty()?this.diagramIndex:this.currentIndex;(H&&null==h||F==N)&&M(null,H&&null==h)}),k=0;if(b.isSelectionEmpty()){var u=document.createElement("div");mxUtils.write(u,mxResources.get("diagram"));f.appendChild(u);f.setAttribute("title",mxResources.get("diagram"));e.appendChild(f);-g=e.cloneNode(!1);this.panels.push(new DiagramFormatPanel(this,a,g));this.container.appendChild(g);g.style.display="none";var w=f.cloneNode(!1);r(f,g,k++);var y=e.cloneNode(!1);y.style.display="none";u=document.createElement("div");mxUtils.write(u,mxResources.get("style"));w.appendChild(u);w.setAttribute("title",mxResources.get("style"));e.appendChild(w);this.panels.push(new DiagramStylePanel(this,a,y));this.container.appendChild(y);r(w,y,k++,!0)}else if(b.isEditing())u=document.createElement("div"),-mxUtils.write(u,mxResources.get("text")),f.appendChild(u),f.setAttribute("title",mxResources.get("text")),e.appendChild(f),y=e.cloneNode(!1),y.style.display="none",this.panels.push(new TextFormatPanel(this,a,y)),this.container.appendChild(y),r(f,y,k++,!0);else{w=f.cloneNode(!1);var A=w.cloneNode(!1);0<g.cells.length&&(u=document.createElement("div"),mxUtils.write(u,mxResources.get("style")),f.appendChild(u),f.setAttribute("title",mxResources.get("style")),e.appendChild(f),y=e.cloneNode(!1),y.style.display=-"none",this.panels.push(new StyleFormatPanel(this,a,y)),this.container.appendChild(y),r(f,y,k++));u=document.createElement("div");mxUtils.write(u,mxResources.get("text"));w.appendChild(u);w.setAttribute("title",mxResources.get("text"));e.appendChild(w);y=e.cloneNode(!1);y.style.display="none";this.panels.push(new TextFormatPanel(this,a,y));this.container.appendChild(y);u=document.createElement("div");mxUtils.write(u,mxResources.get("arrange"));A.appendChild(u);A.setAttribute("title",mxResources.get("arrange"));-e.appendChild(A);f=e.cloneNode(!1);f.style.display="none";this.panels.push(new ArrangePanel(this,a,f));this.container.appendChild(f);0<g.cells.length?r(w,y,k++):w.style.display="none";r(A,f,k++,!0)}e.className="geFormatTitleContainer"}};BaseFormatPanel=function(a,b,e){this.format=a;this.editorUi=b;this.container=e;this.listeners=[]};BaseFormatPanel.prototype.buttonBackgroundColor="transparent";-BaseFormatPanel.prototype.installInputHandler=function(a,b,e,f,g,d,h,l,r){d=null!=d?d:"";l=null!=l?l:!1;var k=this.editorUi,u=k.editor.graph;f=null!=f?f:1;g=null!=g?g:999;var w=null,y=!1,A=null,G=mxUtils.bind(this,function(D){var F=l?parseFloat(a.value):parseInt(a.value);r&&(F=this.fromUnit(F));if(F!=A){A=F;isNaN(F)||b!=mxConstants.STYLE_ROTATION||(F=mxUtils.mod(Math.round(100*F),36E3)/100);F=Math.min(g,Math.max(f,isNaN(F)?e:F));if(u.cellEditor.isContentEditing()&&h)y||(y=!0,null!=w&&(u.cellEditor.restoreSelection(w),-w=null),h(F),a.value=(r?this.inUnit(F):F)+d,y=!1);else if(F!=mxUtils.getValue(k.getSelectionState().style,b,e)){u.isEditing()&&u.stopEditing(!0);u.getModel().beginUpdate();try{var H=k.getSelectionState().cells;u.setCellStyles(b,F,H);b==mxConstants.STYLE_FONTSIZE&&u.updateLabelElements(H,function(N){N.removeAttribute("size");N.style.fontSize="";""==N.getAttribute("style")&&N.removeAttribute("style")});for(var M=0;M<H.length;M++)0==u.model.getChildCount(H[M])&&u.autoSizeCell(H[M],!1);k.fireEvent(new mxEventObject("styleChanged",-"keys",[b],"values",[F],"cells",H))}finally{u.getModel().endUpdate()}}a.value=(r?this.inUnit(F):F)+d}mxEvent.consume(D)});h&&u.cellEditor.isContentEditing()&&mxEvent.addGestureListeners(a,mxUtils.bind(this,function(D){document.activeElement==u.cellEditor.textarea&&(w=u.cellEditor.saveSelection())}));mxEvent.addListener(a,"change",G);mxEvent.addListener(a,"blur",G);return G};BaseFormatPanel.prototype.createPanel=function(){var a=document.createElement("div");a.className="geFormatSection";return a};+Format.prototype.immediateRefresh=function(){if(0!=this.container.offsetWidth){this.clear();var a=this.editorUi,b=a.editor.graph,e=document.createElement("div");e.className="geFormatContent";var f=document.createElement("div");f.className="geFormatTitle";this.container.appendChild(e);var g=a.getSelectionState(),d=g.containsLabel,h=null,l=null,q=mxUtils.bind(this,function(F,D,G,H){var M=mxUtils.bind(this,function(K,T){h!=F&&(T||(d?this.labelIndex=G:b.isSelectionEmpty()?this.diagramIndex=G:this.currentIndex=+G),null!=h&&h.classList.remove("geActiveFormatTitle"),h=F,h.classList.add("geActiveFormatTitle"),l!=D&&(null!=l&&(l.style.display="none"),l=D,l.style.display=""))});mxEvent.addListener(F,"click",M);var N=d?this.labelIndex:b.isSelectionEmpty()?this.diagramIndex:this.currentIndex;(H&&null==h||G==N)&&M(null,H&&null==h)}),k=0;if(b.isSelectionEmpty()){var u=document.createElement("div");mxUtils.write(u,mxResources.get("diagram"));f.appendChild(u);f.setAttribute("title",mxResources.get("diagram"));e.appendChild(f);+g=e.cloneNode(!1);this.panels.push(new DiagramFormatPanel(this,a,g));this.container.appendChild(g);g.style.display="none";var w=f.cloneNode(!1);q(f,g,k++);var y=e.cloneNode(!1);y.style.display="none";u=document.createElement("div");mxUtils.write(u,mxResources.get("style"));w.appendChild(u);w.setAttribute("title",mxResources.get("style"));e.appendChild(w);this.panels.push(new DiagramStylePanel(this,a,y));this.container.appendChild(y);q(w,y,k++,!0)}else if(b.isEditing())u=document.createElement("div"),+mxUtils.write(u,mxResources.get("text")),f.appendChild(u),f.setAttribute("title",mxResources.get("text")),e.appendChild(f),y=e.cloneNode(!1),y.style.display="none",this.panels.push(new TextFormatPanel(this,a,y)),this.container.appendChild(y),q(f,y,k++,!0);else{w=f.cloneNode(!1);var A=w.cloneNode(!1);0<g.cells.length&&(u=document.createElement("div"),mxUtils.write(u,mxResources.get("style")),f.appendChild(u),f.setAttribute("title",mxResources.get("style")),e.appendChild(f),y=e.cloneNode(!1),y.style.display=+"none",this.panels.push(new StyleFormatPanel(this,a,y)),this.container.appendChild(y),q(f,y,k++));u=document.createElement("div");mxUtils.write(u,mxResources.get("text"));w.appendChild(u);w.setAttribute("title",mxResources.get("text"));e.appendChild(w);y=e.cloneNode(!1);y.style.display="none";this.panels.push(new TextFormatPanel(this,a,y));this.container.appendChild(y);u=document.createElement("div");mxUtils.write(u,mxResources.get("arrange"));A.appendChild(u);A.setAttribute("title",mxResources.get("arrange"));+e.appendChild(A);f=e.cloneNode(!1);f.style.display="none";this.panels.push(new ArrangePanel(this,a,f));this.container.appendChild(f);0<g.cells.length?q(w,y,k++):w.style.display="none";q(A,f,k++,!0)}e.className="geFormatTitleContainer"}};BaseFormatPanel=function(a,b,e){this.format=a;this.editorUi=b;this.container=e;this.listeners=[]};BaseFormatPanel.prototype.buttonBackgroundColor="transparent";+BaseFormatPanel.prototype.installInputHandler=function(a,b,e,f,g,d,h,l,q){d=null!=d?d:"";l=null!=l?l:!1;var k=this.editorUi,u=k.editor.graph;f=null!=f?f:1;g=null!=g?g:999;var w=null,y=!1,A=null,F=mxUtils.bind(this,function(D){var G=l?parseFloat(a.value):parseInt(a.value);q&&(G=this.fromUnit(G));if(G!=A){A=G;isNaN(G)||b!=mxConstants.STYLE_ROTATION||(G=mxUtils.mod(Math.round(100*G),36E3)/100);G=Math.min(g,Math.max(f,isNaN(G)?e:G));if(u.cellEditor.isContentEditing()&&h)y||(y=!0,null!=w&&(u.cellEditor.restoreSelection(w),+w=null),h(G),a.value=(q?this.inUnit(G):G)+d,y=!1);else if(G!=mxUtils.getValue(k.getSelectionState().style,b,e)){u.isEditing()&&u.stopEditing(!0);u.getModel().beginUpdate();try{var H=k.getSelectionState().cells;u.setCellStyles(b,G,H);b==mxConstants.STYLE_FONTSIZE&&u.updateLabelElements(H,function(N){N.removeAttribute("size");N.style.fontSize="";""==N.getAttribute("style")&&N.removeAttribute("style")});for(var M=0;M<H.length;M++)0==u.model.getChildCount(H[M])&&u.autoSizeCell(H[M],!1);k.fireEvent(new mxEventObject("styleChanged",+"keys",[b],"values",[G],"cells",H))}finally{u.getModel().endUpdate()}}a.value=(q?this.inUnit(G):G)+d}mxEvent.consume(D)});h&&u.cellEditor.isContentEditing()&&mxEvent.addGestureListeners(a,mxUtils.bind(this,function(D){document.activeElement==u.cellEditor.textarea&&(w=u.cellEditor.saveSelection())}));mxEvent.addListener(a,"change",F);mxEvent.addListener(a,"blur",F);return F};BaseFormatPanel.prototype.createPanel=function(){var a=document.createElement("div");a.className="geFormatSection";return a};BaseFormatPanel.prototype.createTitle=function(a){var b=document.createElement("div");b.className="geFormatSectionTitle";mxUtils.write(b,a);return b};BaseFormatPanel.prototype.addAction=function(a,b){var e=this.editorUi.actions.get(b);b=null;if(null!=e&&e.isEnabled()){b=mxUtils.button(e.getTitle(),mxUtils.bind(this,function(g){try{e.funct(g,g)}catch(d){this.editorUi.handleError(d)}}));var f=null!=e.shortcut?" ("+e.shortcut+")":"";b.setAttribute("title",e.getTitle()+f);b.style.marginBottom="2px";b.className="geFullWidthElement";a.appendChild(b)}return b};BaseFormatPanel.prototype.addActions=function(a,b){for(var e=null,f=null,g=0,d=0;d<b.length;d++){var h=this.addAction(a,b[d]);null!=h&&(g++,0==mxUtils.mod(g,2)&&(f.style.marginRight="4px",f.style.width="104px",h.style.width="104px",e.parentNode.removeChild(e)),e=mxUtils.br(a),f=h)}return g};-BaseFormatPanel.prototype.createStepper=function(a,b,e,f,g,d,h){function l(y,A,G){""==a.value&&(a.value=null!=d?d:A);A=h?parseFloat(a.value):parseInt(a.value);isNaN(A)||(a.value=A+y,null!=b&&b(G))}e=null!=e?e:1;var r=10*e;f=document.createElement("div");f.className="geBtnStepper";f.style.position="absolute";f.style.left="200px";var k=document.createElement("div");k.style.height="9px";k.style.backgroundImage="url("+Editor.arrowUpImage+")";k.style.width="10px";f.appendChild(k);var u=k.cloneNode(!1);-u.style.backgroundImage="url("+Editor.arrowDownImage+")";f.appendChild(u);mxEvent.addGestureListeners(k,function(y){mxEvent.consume(y)},null,function(y){l(mxEvent.isShiftDown(y)?r:e,"0",y);mxEvent.consume(y)});mxEvent.addGestureListeners(u,function(y){mxEvent.consume(y)},null,function(y){l(-(mxEvent.isShiftDown(y)?r:e),"2",y);mxEvent.consume(y)});if(g){var w=null;mxEvent.addGestureListeners(f,function(y){mxEvent.consume(y)},null,function(y){if(null!=w){try{w.select()}catch(A){}w=null;mxEvent.consume(y)}})}else mxEvent.addListener(f,+BaseFormatPanel.prototype.createStepper=function(a,b,e,f,g,d,h){function l(y,A,F){""==a.value&&(a.value=null!=d?d:A);A=h?parseFloat(a.value):parseInt(a.value);isNaN(A)||(a.value=A+y,null!=b&&b(F))}e=null!=e?e:1;var q=10*e;f=document.createElement("div");f.className="geBtnStepper";f.style.position="absolute";f.style.left="200px";var k=document.createElement("div");k.style.height="9px";k.style.backgroundImage="url("+Editor.arrowUpImage+")";k.style.width="10px";f.appendChild(k);var u=k.cloneNode(!1);+u.style.backgroundImage="url("+Editor.arrowDownImage+")";f.appendChild(u);mxEvent.addGestureListeners(k,function(y){mxEvent.consume(y)},null,function(y){l(mxEvent.isShiftDown(y)?q:e,"0",y);mxEvent.consume(y)});mxEvent.addGestureListeners(u,function(y){mxEvent.consume(y)},null,function(y){l(-(mxEvent.isShiftDown(y)?q:e),"2",y);mxEvent.consume(y)});if(g){var w=null;mxEvent.addGestureListeners(f,function(y){mxEvent.consume(y)},null,function(y){if(null!=w){try{w.select()}catch(A){}w=null;mxEvent.consume(y)}})}else mxEvent.addListener(f,"click",function(y){mxEvent.consume(y)});return f};-BaseFormatPanel.prototype.createOption=function(a,b,e,f,g){var d=document.createElement("div");d.className="geFormatEntry";var h=document.createElement("input");h.setAttribute("type","checkbox");d.appendChild(h);var l=document.createElement("span");l.className="geStyleLabel";l.setAttribute("title",a);mxUtils.write(l,a);d.appendChild(l);var r=!1,k=b(),u=function(w,y){r||(r=!0,w?(h.setAttribute("checked","checked"),h.defaultChecked=!0,h.checked=!0):(h.removeAttribute("checked"),h.defaultChecked=!1,-h.checked=!1),k!=w&&(k=w,b()!=k&&e(k,y)),r=!1)};mxEvent.addListener(d,"click",function(w){if("disabled"!=h.getAttribute("disabled")){var y=mxEvent.getSource(w);if(y==d||y==l)h.checked=!h.checked;u(h.checked,w)}});u(k);null!=f&&(f.install(u),this.listeners.push(f));null!=g&&g(d);return d};-BaseFormatPanel.prototype.createCellOption=function(a,b,e,f,g,d,h,l,r){var k=this.editorUi,u=k.editor.graph;f=null!=f?"null"==f?null:f:1;g=null!=g?"null"==g?null:g:0;var w=null!=r?u.getCommonStyle(r):k.getSelectionState().style;return this.createOption(a,function(){return mxUtils.getValue(w,b,e)!=g},function(y){l&&u.stopEditing();if(null!=h)h.funct();else{u.getModel().beginUpdate();try{var A=null!=r?r:k.getSelectionState().cells;y=y?f:g;u.setCellStyles(b,y,A);null!=d&&d(A,y);k.fireEvent(new mxEventObject("styleChanged",+BaseFormatPanel.prototype.createOption=function(a,b,e,f,g){var d=document.createElement("div");d.className="geFormatEntry";var h=document.createElement("input");h.setAttribute("type","checkbox");d.appendChild(h);var l=document.createElement("span");l.className="geStyleLabel";l.setAttribute("title",a);mxUtils.write(l,a);d.appendChild(l);var q=!1,k=b(),u=function(w,y){q||(q=!0,w?(h.setAttribute("checked","checked"),h.defaultChecked=!0,h.checked=!0):(h.removeAttribute("checked"),h.defaultChecked=!1,+h.checked=!1),k!=w&&(k=w,b()!=k&&e(k,y)),q=!1)};mxEvent.addListener(d,"click",function(w){if("disabled"!=h.getAttribute("disabled")){var y=mxEvent.getSource(w);if(y==d||y==l)h.checked=!h.checked;u(h.checked,w)}});u(k);null!=f&&(f.install(u),this.listeners.push(f));null!=g&&g(d);return d};+BaseFormatPanel.prototype.createCellOption=function(a,b,e,f,g,d,h,l,q){var k=this.editorUi,u=k.editor.graph;f=null!=f?"null"==f?null:f:1;g=null!=g?"null"==g?null:g:0;var w=null!=q?u.getCommonStyle(q):k.getSelectionState().style;return this.createOption(a,function(){return mxUtils.getValue(w,b,e)!=g},function(y){l&&u.stopEditing();if(null!=h)h.funct();else{u.getModel().beginUpdate();try{var A=null!=q?q:k.getSelectionState().cells;y=y?f:g;u.setCellStyles(b,y,A);null!=d&&d(A,y);k.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[y],"cells",A))}finally{u.getModel().endUpdate()}}},{install:function(y){this.listener=function(){y(mxUtils.getValue(w,b,e)!=g)};u.getModel().addListener(mxEvent.CHANGE,this.listener)},destroy:function(){u.getModel().removeListener(this.listener)}})};-BaseFormatPanel.prototype.createColorOption=function(a,b,e,f,g,d,h,l,r,k){function u(S,V){"default"!=S||V||(S=l);"default"!=S&&r&&(S=mxUtils.getLightDarkColor(S),S=k()?S.dark:S.light);return S}var w=null!=k;k=null!=k?k:Editor.isDarkMode;var y=this.editorUi.editor.graph,A=document.createElement("div");A.className="geFormatEntry";var G=document.createElement("input");G.setAttribute("type","checkbox");h||A.appendChild(G);var D=document.createElement("span");mxUtils.write(D,a);A.appendChild(D);var F=-b(),H=!1,M=null,N=null,K=document.createElement("input");K.setAttribute("type","color");K.style.position="relative";K.style.visibility="hidden";K.style.top="10px";K.style.width="0px";K.style.height="0px";K.style.border="none";mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_TOUCH||(M=document.createElement("img"),M.src=Editor.colorDropperImage,M.className="geColorDropper geAdaptiveAsset",mxEvent.addListener(M,"click",function(S){K.value=u(F);K.click();mxEvent.consume(S)}));var T=null,W=function(S,V){H||-(H=!0,null!=d&&d(S),V||(null!=T&&(y.cellEditor.restoreSelection(T),T=null),e(S)),F=b(),S=mxUtils.getLightDarkColor("default"!=F?F:l),V=document.createElement("div"),V.style.width="21px",V.style.height="12px",V.style.margin="2px 18px 2px 3px",V.style.borderWidth="1px",V.style.borderStyle="solid",V.style.backgroundColor=S.cssText,N.innerText="",N.appendChild(V),!r&&mxUtils.isLightDarkColor(F)&&S.light!=S.dark?V.style.background="linear-gradient(to right bottom, "+S.cssText+" 50%, "+mxUtils.invertLightDarkColor(S).cssText+-" 50.3%)":r&&w&&(V.style.backgroundColor=k()?S.dark:S.light),null!=M?(V.style.width="21px",V.style.margin="2px 18px 2px 3px",V.appendChild(M)):(V.style.width="36px",V.style.margin="3px"),null!=F&&F!=mxConstants.NONE&&1<F.length&&"string"===typeof F&&(S="#"==F.charAt(0)?F.substring(1).toUpperCase():F,S=ColorDialog.prototype.colorNames[S],null!=S?N.setAttribute("title",S):"default"==F?N.setAttribute("title",mxResources.get("useBlackAndWhite")):N.setAttribute("title",F)),y.isSpecialColor(F)?G.style.display=-"none":(G.style.display="",null!=F&&F!=mxConstants.NONE?(G.setAttribute("checked","checked"),G.defaultChecked=!0,G.checked=!0):(G.removeAttribute("checked"),G.defaultChecked=!1,G.checked=!1)),N.style.display=G.checked||h?"":"none",H=!1)};A.appendChild(K);mxEvent.addListener(K,"change",function(){var S=K.value;if(!r){var V=mxUtils.getLightDarkColor(F);k()?V.dark=S:V.light=S;S="light-dark("+V.light+", "+V.dark+")"}W(S)});N=mxUtils.button("",mxUtils.bind(this,function(S){var V=l;r&&k()&&mxUtils.isLightDarkColor(V)&&-(V=mxUtils.getLightDarkColor(l).dark);this.editorUi.pickColor(u(F,!0),function(fa){W(fa)},"default"==f?"default":null,V,r);mxEvent.consume(S)}));N.className="geColorBtn";N.style.display=G.checked||h?"":"none";A.appendChild(N);a=null!=F&&"string"===typeof F&&"#"==F.charAt(0)?F.substring(1).toUpperCase():F;a=ColorDialog.prototype.colorNames[a];null!=a&&N.setAttribute("title",a);h||(mxEvent.addListener(A,"click",function(S){S=mxEvent.getSource(S);if(S==G||"INPUT"!=S.nodeName)S!=G&&(G.checked=!G.checked),-G.checked||null==F||F==mxConstants.NONE||f==mxConstants.NONE||(f=u(F)),W(G.checked?f:mxConstants.NONE)}),mxEvent.addGestureListeners(G,mxUtils.bind(this,function(S){document.activeElement==y.cellEditor.textarea&&(T=y.cellEditor.saveSelection())})),mxEvent.addGestureListeners(A,mxUtils.bind(this,function(S){document.activeElement==y.cellEditor.textarea&&(T=y.cellEditor.saveSelection())})));W(F,!0);null!=g&&g.install(function(){W(F,!0)},this.listeners.push(g));return A};-BaseFormatPanel.prototype.createArrayCellColorOption=function(a,b,e,f,g,d,h){var l=this.editorUi,r=l.editor.graph,k=r.getCellStyle(r.getSelectionCell(),!1);k=null!=k?null!=k[b]?k[b]:h:null;for(var u=null!=k?mxUtils.parseColorList(k):[],w=document.createElement("div"),y=0;y<u.length;y++)mxUtils.bind(this,function(A){w.appendChild(this.createColorOption(a+" ("+(A+1)+")",function(){return u[y]},function(G){r.getModel().beginUpdate();try{var D=l.getSelectionState().cells;u[A]=G;var F=u.join(",");r.setCellStyles(b,-F,D);null!=g&&g(G);l.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[F],"cells",D))}finally{r.getModel().endUpdate()}},e||mxConstants.NONE,{install:function(G){this.listener=function(){var D=r.getCellStyle(r.getSelectionCell(),!1);null!=D&&(D=null!=D?null!=D[b]?D[b]:h:null,u=null!=D?mxUtils.parseColorList(D):[],G(u[y],!0))};r.getModel().addListener(mxEvent.CHANGE,this.listener)},destroy:function(){r.getModel().removeListener(this.listener)}},f,null,d))})(y);return w};-BaseFormatPanel.prototype.createCellColorOption=function(a,b,e,f,g,d,h,l){function r(){var y=u.getCellStyle(u.getSelectionCell(),!1);return null!=y?null!=y[b]?y[b]:h:null}var k=this.editorUi,u=k.editor.graph,w=r();return null!=w&&l&&1<mxUtils.parseColorList(w).length?this.createArrayCellColorOption(a,b,e,f,g,d,h):this.createColorOption(a,r,function(y){u.getModel().beginUpdate();try{var A=k.getSelectionState().cells;u.setCellStyles(b,y,A);null!=g&&g(y);k.fireEvent(new mxEventObject("styleChanged",-"keys",[b],"values",[y],"cells",A))}finally{u.getModel().endUpdate()}},e||mxConstants.NONE,{install:function(y){this.listener=function(){var A=u.getCellStyle(u.getSelectionCell(),!1);null!=A&&y(null!=A[b]?A[b]:h,!0)};u.getModel().addListener(mxEvent.CHANGE,this.listener)},destroy:function(){u.getModel().removeListener(this.listener)}},f,null,d)};+BaseFormatPanel.prototype.createColorOption=function(a,b,e,f,g,d,h,l,q,k){function u(S,V){"default"!=S||V||(S=l);"default"!=S&&q&&(S=mxUtils.getLightDarkColor(S),S=k()?S.dark:S.light);return S}var w=null!=k;k=null!=k?k:Editor.isDarkMode;var y=this.editorUi.editor.graph,A=document.createElement("div");A.className="geFormatEntry";var F=document.createElement("input");F.setAttribute("type","checkbox");h||A.appendChild(F);var D=document.createElement("span");mxUtils.write(D,a);A.appendChild(D);var G=+b(),H=!1,M=null,N=null,K=document.createElement("input");K.setAttribute("type","color");K.style.position="relative";K.style.visibility="hidden";K.style.top="10px";K.style.width="0px";K.style.height="0px";K.style.border="none";mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_TOUCH||(M=document.createElement("img"),M.src=Editor.colorDropperImage,M.className="geColorDropper geAdaptiveAsset",mxEvent.addListener(M,"click",function(S){K.value=u(G);K.click();mxEvent.consume(S)}));var T=null,W=function(S,V){H||+(H=!0,null!=d&&d(S),V||(null!=T&&(y.cellEditor.restoreSelection(T),T=null),e(S)),G=b(),S=mxUtils.getLightDarkColor("default"!=G?G:l),V=document.createElement("div"),V.style.width="21px",V.style.height="12px",V.style.margin="2px 18px 2px 3px",V.style.borderWidth="1px",V.style.borderStyle="solid",V.style.backgroundColor=S.cssText,N.innerText="",N.appendChild(V),!q&&mxUtils.isLightDarkColor(G)&&S.light!=S.dark?V.style.background="linear-gradient(to right bottom, "+S.cssText+" 50%, "+mxUtils.invertLightDarkColor(S).cssText++" 50.3%)":q&&w&&(V.style.backgroundColor=k()?S.dark:S.light),null!=M?(V.style.width="21px",V.style.margin="2px 18px 2px 3px",V.appendChild(M)):(V.style.width="36px",V.style.margin="3px"),null!=G&&G!=mxConstants.NONE&&1<G.length&&"string"===typeof G&&(S="#"==G.charAt(0)?G.substring(1).toUpperCase():G,S=ColorDialog.prototype.colorNames[S],null!=S?N.setAttribute("title",S):"default"==G?N.setAttribute("title",mxResources.get("useBlackAndWhite")):N.setAttribute("title",G)),y.isSpecialColor(G)?F.style.display=+"none":(F.style.display="",null!=G&&G!=mxConstants.NONE?(F.setAttribute("checked","checked"),F.defaultChecked=!0,F.checked=!0):(F.removeAttribute("checked"),F.defaultChecked=!1,F.checked=!1)),N.style.display=F.checked||h?"":"none",H=!1)};A.appendChild(K);mxEvent.addListener(K,"change",function(){var S=K.value;if(!q){var V=mxUtils.getLightDarkColor(G);k()?V.dark=S:V.light=S;S="light-dark("+V.light+", "+V.dark+")"}W(S)});N=mxUtils.button("",mxUtils.bind(this,function(S){var V=l;q&&k()&&mxUtils.isLightDarkColor(V)&&+(V=mxUtils.getLightDarkColor(l).dark);this.editorUi.pickColor(u(G,!0),function(fa){W(fa)},"default"==f?"default":null,V,q);mxEvent.consume(S)}));N.className="geColorBtn";N.style.display=F.checked||h?"":"none";A.appendChild(N);a=null!=G&&"string"===typeof G&&"#"==G.charAt(0)?G.substring(1).toUpperCase():G;a=ColorDialog.prototype.colorNames[a];null!=a&&N.setAttribute("title",a);h||(mxEvent.addListener(A,"click",function(S){S=mxEvent.getSource(S);if(S==F||"INPUT"!=S.nodeName)S!=F&&(F.checked=!F.checked),+F.checked||null==G||G==mxConstants.NONE||f==mxConstants.NONE||(f=u(G)),W(F.checked?f:mxConstants.NONE)}),mxEvent.addGestureListeners(F,mxUtils.bind(this,function(S){document.activeElement==y.cellEditor.textarea&&(T=y.cellEditor.saveSelection())})),mxEvent.addGestureListeners(A,mxUtils.bind(this,function(S){document.activeElement==y.cellEditor.textarea&&(T=y.cellEditor.saveSelection())})));W(G,!0);null!=g&&g.install(function(){W(G,!0)},this.listeners.push(g));return A};+BaseFormatPanel.prototype.createArrayCellColorOption=function(a,b,e,f,g,d,h){var l=this.editorUi,q=l.editor.graph,k=q.getCellStyle(q.getSelectionCell(),!1);k=null!=k?null!=k[b]?k[b]:h:null;for(var u=null!=k?mxUtils.parseColorList(k):[],w=document.createElement("div"),y=0;y<u.length;y++)mxUtils.bind(this,function(A){w.appendChild(this.createColorOption(a+" ("+(A+1)+")",function(){return u[y]},function(F){q.getModel().beginUpdate();try{var D=l.getSelectionState().cells;u[A]=F;var G=u.join(",");q.setCellStyles(b,+G,D);null!=g&&g(F);l.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[G],"cells",D))}finally{q.getModel().endUpdate()}},e||mxConstants.NONE,{install:function(F){this.listener=function(){var D=q.getCellStyle(q.getSelectionCell(),!1);null!=D&&(D=null!=D?null!=D[b]?D[b]:h:null,u=null!=D?mxUtils.parseColorList(D):[],F(u[y],!0))};q.getModel().addListener(mxEvent.CHANGE,this.listener)},destroy:function(){q.getModel().removeListener(this.listener)}},f,null,d))})(y);return w};+BaseFormatPanel.prototype.createCellColorOption=function(a,b,e,f,g,d,h,l){function q(){var y=u.getCellStyle(u.getSelectionCell(),!1),A=null!=y?y[b]:null;if("inherit"==A){var F=u.getModel().getParent(u.getSelectionCell());F=u.getCellStyle(F,!1);null!=F&&null!=F[b]&&(A=F[b])}return null!=y?null!=A?A:h:null}var k=this.editorUi,u=k.editor.graph,w=q();return null!=w&&l&&1<mxUtils.parseColorList(w).length?this.createArrayCellColorOption(a,b,e,f,g,d,h):this.createColorOption(a,q,function(y){u.getModel().beginUpdate();+try{var A=k.getSelectionState().cells;u.setCellStyles(b,y,A);null!=g&&g(y);k.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[y],"cells",A))}finally{u.getModel().endUpdate()}},e||mxConstants.NONE,{install:function(y){this.listener=function(){var A=u.getCellStyle(u.getSelectionCell(),!1);null!=A&&y(null!=A[b]?A[b]:h,!0)};u.getModel().addListener(mxEvent.CHANGE,this.listener)},destroy:function(){u.getModel().removeListener(this.listener)}},f,null,d)};BaseFormatPanel.prototype.addArrow=function(a){var b=document.createElement("div");b.className="geAdaptiveAsset geArrow";b.style.backgroundImage="url("+Editor.thinExpandImage+")";a.className="geStyleBtn";a.appendChild(b);return b};-BaseFormatPanel.prototype.addUnitInput=function(a,b,e,f,g,d,h,l,r){b=document.createElement("input");b.style.position="absolute";b.style.left=216-e-f+"px";b.style.width=f+"px";a.appendChild(b);f=this.createStepper(b,g,d,l,null,r);f.style.left=216-e+"px";a.appendChild(f);return b};-BaseFormatPanel.prototype.addGenericInput=function(a,b,e,f,g,d){var h=this.editorUi.editor.graph,l=function(){d(r.value)},r=this.addUnitInput(a,b,e,f,l),k=mxUtils.bind(this,function(u,w,y){if(y||r!=document.activeElement)r.value=g()+b});mxEvent.addListener(r,"keydown",function(u){13==u.keyCode?(h.container.focus(),mxEvent.consume(u)):27==u.keyCode&&(k(null,null,!0),h.container.focus(),mxEvent.consume(u))});h.getModel().addListener(mxEvent.CHANGE,k);this.listeners.push({destroy:function(){h.getModel().removeListener(k)}});-k();mxEvent.addListener(r,"blur",l);mxEvent.addListener(r,"change",l);return r};-BaseFormatPanel.prototype.createRelativeOption=function(a,b,e,f,g){e=null!=e?e:52;var d=this.editorUi,h=d.editor.graph,l=this.createPanel();l.className="geFormatEntry";mxUtils.write(l,a);l.style.fontWeight="bold";a=mxUtils.bind(this,function(u){if(null!=f)f(r);else{var w=parseInt(r.value);w=Math.min(100,Math.max(0,isNaN(w)?100:w));var y=h.view.getState(d.getSelectionState().cells[0]);null!=y&&w!=mxUtils.getValue(y.style,b,100)&&(100==w&&(w=null),y=d.getSelectionState().cells,h.setCellStyles(b,w,y),-this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[w],"cells",y)));r.value=(null!=w?w:"100")+" %"}mxEvent.consume(u)});var r=this.addUnitInput(l,"%",16,e,a,10,0,null!=f);if(null!=b){var k=mxUtils.bind(this,function(u,w,y){if(y||r!=document.activeElement)u=d.getSelectionState(),u=parseInt(mxUtils.getValue(u.style,b,100)),r.value=isNaN(u)?"":u+" %"});mxEvent.addListener(r,"keydown",function(u){13==u.keyCode?(h.container.focus(),mxEvent.consume(u)):27==u.keyCode&&(k(null,null,-!0),h.container.focus(),mxEvent.consume(u))});h.getModel().addListener(mxEvent.CHANGE,k);this.listeners.push({destroy:function(){h.getModel().removeListener(k)}});k()}mxEvent.addListener(r,"blur",a);mxEvent.addListener(r,"change",a);null!=g&&g(r);return l};+BaseFormatPanel.prototype.addUnitInput=function(a,b,e,f,g,d,h,l,q){b=document.createElement("input");b.style.position="absolute";b.style.left=216-e-f+"px";b.style.width=f+"px";a.appendChild(b);f=this.createStepper(b,g,d,l,null,q);f.style.left=216-e+"px";a.appendChild(f);return b};+BaseFormatPanel.prototype.addGenericInput=function(a,b,e,f,g,d){var h=this.editorUi.editor.graph,l=function(){d(q.value)},q=this.addUnitInput(a,b,e,f,l),k=mxUtils.bind(this,function(u,w,y){if(y||q!=document.activeElement)q.value=g()+b});mxEvent.addListener(q,"keydown",function(u){13==u.keyCode?(h.container.focus(),mxEvent.consume(u)):27==u.keyCode&&(k(null,null,!0),h.container.focus(),mxEvent.consume(u))});h.getModel().addListener(mxEvent.CHANGE,k);this.listeners.push({destroy:function(){h.getModel().removeListener(k)}});+k();mxEvent.addListener(q,"blur",l);mxEvent.addListener(q,"change",l);return q};+BaseFormatPanel.prototype.createRelativeOption=function(a,b,e,f,g){e=null!=e?e:52;var d=this.editorUi,h=d.editor.graph,l=this.createPanel();l.className="geFormatEntry";mxUtils.write(l,a);l.style.fontWeight="bold";a=mxUtils.bind(this,function(u){if(null!=f)f(q);else{var w=parseInt(q.value);w=Math.min(100,Math.max(0,isNaN(w)?100:w));var y=h.view.getState(d.getSelectionState().cells[0]);null!=y&&w!=mxUtils.getValue(y.style,b,100)&&(100==w&&(w=null),y=d.getSelectionState().cells,h.setCellStyles(b,w,y),+this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[w],"cells",y)));q.value=(null!=w?w:"100")+" %"}mxEvent.consume(u)});var q=this.addUnitInput(l,"%",16,e,a,10,0,null!=f);if(null!=b){var k=mxUtils.bind(this,function(u,w,y){if(y||q!=document.activeElement)u=d.getSelectionState(),u=parseInt(mxUtils.getValue(u.style,b,100)),q.value=isNaN(u)?"":u+" %"});mxEvent.addListener(q,"keydown",function(u){13==u.keyCode?(h.container.focus(),mxEvent.consume(u)):27==u.keyCode&&(k(null,null,+!0),h.container.focus(),mxEvent.consume(u))});h.getModel().addListener(mxEvent.CHANGE,k);this.listeners.push({destroy:function(){h.getModel().removeListener(k)}});k()}mxEvent.addListener(q,"blur",a);mxEvent.addListener(q,"change",a);null!=g&&g(q);return l};BaseFormatPanel.prototype.addLabel=function(a,b,e,f){f=null!=f?f:61;var g=document.createElement("div");mxUtils.write(g,b);g.style.position="absolute";g.style.left=226-e-f+"px";g.style.width=f+"px";g.style.marginTop="10px";g.style.display="flex";g.style.justifyContent="center";a.appendChild(g);return g};BaseFormatPanel.prototype.addKeyHandler=function(a,b){mxEvent.addListener(a,"keydown",mxUtils.bind(this,function(e){13==e.keyCode?(this.editorUi.editor.graph.container.focus(),mxEvent.consume(e)):27==e.keyCode&&(null!=b&&b(null,null,!0),this.editorUi.editor.graph.container.focus(),mxEvent.consume(e))}))};BaseFormatPanel.prototype.destroy=function(){if(null!=this.listeners){for(var a=0;a<this.listeners.length;a++)this.listeners[a].destroy();this.listeners=null}};ArrangePanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(ArrangePanel,BaseFormatPanel);ArrangePanel.prototype.init=function(){var a=this.editorUi.getSelectionState();0<a.cells.length&&(this.container.appendChild(this.addLayerOps(this.createPanel())),this.addGeometry(this.container),this.addEdgeGeometry(this.container),a.containsLabel&&0!=a.edges.length||this.container.appendChild(this.addAngle(this.createPanel())),a.containsLabel||this.container.appendChild(this.addFlip(this.createPanel())),this.container.appendChild(this.addAlign(this.createPanel())),1<a.vertices.length&&!a.cell&&!a.row&&this.container.appendChild(this.addDistribute(this.createPanel())),this.container.appendChild(this.addTable(this.createPanel())));this.container.appendChild(this.addGroupOps(this.createPanel()))};ArrangePanel.prototype.addTable=function(a){var b=this.editorUi,e=b.editor.graph,f=b.getSelectionState();a.appendChild(this.createTitle(mxResources.get("table")));var g=document.createElement("div");g.style.position="relative";g.style.paddingLeft="0px";g.style.borderWidth="0px";g.style.width="220px";g.className="geToolbarContainer";var d=f.vertices[0];1<e.getSelectionCount()&&(e.isTableCell(d)&&(d=e.model.getParent(d)),e.isTableRow(d)&&(d=e.model.getParent(d)));var h=f.table||f.row||f.cell,l=e.isStack(d)||-e.isStackChild(d),r=h;l&&(h="0"==(e.isStack(d)?f.style:e.getCellStyle(e.model.getParent(d))).horizontalStack,r=!h);var k=[];r&&(k=k.concat([b.addButton(Editor.addColumnLeftImage,mxResources.get("insertColumnBefore"),mxUtils.bind(this,function(){try{l?e.insertLane(d,!0):e.insertTableColumn(d,!0)}catch(u){b.handleError(u)}}),g),b.addButton(Editor.addColumnRightImage,mxResources.get("insertColumnAfter"),mxUtils.bind(this,function(){try{l?e.insertLane(d,!1):e.insertTableColumn(d,!1)}catch(u){b.handleError(u)}}),+e.isStackChild(d),q=h;l&&(h="0"==(e.isStack(d)?f.style:e.getCellStyle(e.model.getParent(d))).horizontalStack,q=!h);var k=[];q&&(k=k.concat([b.addButton(Editor.addColumnLeftImage,mxResources.get("insertColumnBefore"),mxUtils.bind(this,function(){try{l?e.insertLane(d,!0):e.insertTableColumn(d,!0)}catch(u){b.handleError(u)}}),g),b.addButton(Editor.addColumnRightImage,mxResources.get("insertColumnAfter"),mxUtils.bind(this,function(){try{l?e.insertLane(d,!1):e.insertTableColumn(d,!1)}catch(u){b.handleError(u)}}),g),b.addButton(Editor.removeColumnImage,mxResources.get("deleteColumn"),mxUtils.bind(this,function(){try{l?e.deleteLane(d):e.deleteTableColumn(d)}catch(u){b.handleError(u)}}),g)]));h&&(k=k.concat([b.addButton(Editor.addRowAboveImage,mxResources.get("insertRowBefore"),mxUtils.bind(this,function(){try{l?e.insertLane(d,!0):e.insertTableRow(d,!0)}catch(u){b.handleError(u)}}),g),b.addButton(Editor.addRowBelowImage,mxResources.get("insertRowAfter"),mxUtils.bind(this,function(){try{l?e.insertLane(d,!1):-e.insertTableRow(d,!1)}catch(u){b.handleError(u)}}),g),b.addButton(Editor.removeRowImage,mxResources.get("deleteRow"),mxUtils.bind(this,function(){try{l?e.deleteLane(d):e.deleteTableRow(d)}catch(u){b.handleError(u)}}),g)]));if(0<k.length){a.appendChild(g);3<k.length&&(k[2].style.marginRight="10px");r=0;if(null!=f.mergeCell)r+=this.addActions(a,["mergeCells"]);else if(1<f.style.colspan||1<f.style.rowspan)r+=this.addActions(a,["unmergeCells"]);0<r&&(g.style.paddingBottom="2px")}else a.style.display=+e.insertTableRow(d,!1)}catch(u){b.handleError(u)}}),g),b.addButton(Editor.removeRowImage,mxResources.get("deleteRow"),mxUtils.bind(this,function(){try{l?e.deleteLane(d):e.deleteTableRow(d)}catch(u){b.handleError(u)}}),g)]));if(0<k.length){a.appendChild(g);3<k.length&&(k[2].style.marginRight="10px");q=0;if(null!=f.mergeCell)q+=this.addActions(a,["mergeCells"]);else if(1<f.style.colspan||1<f.style.rowspan)q+=this.addActions(a,["unmergeCells"]);0<q&&(g.style.paddingBottom="2px")}else a.style.display="none";return a};ArrangePanel.prototype.addLayerOps=function(a){this.addActions(a,["toFront","toBack"]);this.addActions(a,["bringForward","sendBackward"]);return a};ArrangePanel.prototype.addGroupOps=function(a){var b=this.editorUi,e=b.editor.graph;b=b.getSelectionState();var f=this.addActions(a,["group","ungroup"])+this.addActions(a,["removeFromGroup"]);b.cell||b.row||(f+=this.addActions(a,["copySize","pasteSize","swap"]));var g=document.createElement("select");g.style.position="relative";g.className="geFullWidthElement";g.style.marginBottom="2px";for(var d=[{label:mxResources.get("reset")+"...",action:"reset"},{label:mxResources.get("waypoints"),action:"clearWaypoints"},-{label:mxResources.get("connectionPoints"),action:"clearAnchors"}],h=0;h<d.length;h++){var l=this.editorUi.actions.get(d[h].action);if(null==l||l.enabled){var r=document.createElement("option");r.setAttribute("value",d[h].action);r.setAttribute("title",d[h].label+(null!=l&&null!=l.shortcut?" ("+l.shortcut+")":""));mxUtils.write(r,d[h].label);g.appendChild(r)}}1<g.children.length&&(g.value="reset",a.appendChild(g),mxUtils.br(a),f++,mxEvent.addListener(g,"change",mxUtils.bind(this,function(k){k=this.editorUi.actions.get(g.value);+{label:mxResources.get("connectionPoints"),action:"clearAnchors"}],h=0;h<d.length;h++){var l=this.editorUi.actions.get(d[h].action);if(null==l||l.enabled){var q=document.createElement("option");q.setAttribute("value",d[h].action);q.setAttribute("title",d[h].label+(null!=l&&null!=l.shortcut?" ("+l.shortcut+")":""));mxUtils.write(q,d[h].label);g.appendChild(q)}}1<g.children.length&&(g.value="reset",a.appendChild(g),mxUtils.br(a),f++,mxEvent.addListener(g,"change",mxUtils.bind(this,function(k){k=this.editorUi.actions.get(g.value);g.value="reset";null!=k&&k.funct()})));f+=this.addActions(a,["lockUnlock"]);1==b.vertices.length&&0==b.edges.length&&0<e.getOpposites(e.getEdges(b.vertices[0]),b.vertices[0]).length&&(f+=this.addActions(a,["explore"]));0==f&&(a.style.display="none");return a};ArrangePanel.prototype.addAlign=function(a){var b=this.editorUi,e=b.getSelectionState(),f=b.editor.graph;a.appendChild(this.createTitle(mxResources.get("align")));1<e.vertices.length&&(e=document.createElement("div"),e.className="geToolbarContainer",b.addButton(Editor.alignHorizontalLeftImage,mxResources.get("left"),function(){f.alignCells(mxConstants.ALIGN_LEFT)},e).style.marginLeft="6px",b.addButton(Editor.alignHorizontalCenterImage,mxResources.get("center"),function(){f.alignCells(mxConstants.ALIGN_CENTER)},e),b.addButton(Editor.alignHorizontalRightImage,mxResources.get("right"),function(){f.alignCells(mxConstants.ALIGN_RIGHT)},e),b.addButton(Editor.alignVerticalTopImage,mxResources.get("top"),function(){f.alignCells(mxConstants.ALIGN_TOP)},e).style.marginLeft="12px",b.addButton(Editor.alignVerticalMiddleImage,mxResources.get("middle"),function(){f.alignCells(mxConstants.ALIGN_MIDDLE)},e),b.addButton(Editor.alignVerticalBottomImage,mxResources.get("bottom"),function(){f.alignCells(mxConstants.ALIGN_BOTTOM)},@@ -3125,50 +3125,50 @@ ArrangePanel.prototype.addDistribute=function(a){var b=this.editorUi.editor.grape.style.width="104px";a.appendChild(e);mxUtils.br(a);e=document.createElement("div");e.style.margin="6px 0 0 0";e.style.display="flex";e.style.justifyContent="center";e.style.alignItems="center";var f=document.createElement("input");f.setAttribute("type","checkbox");f.setAttribute("id","spacingCheckbox");f.style.margin="0 6px 0 0";e.appendChild(f);var g=document.createElement("label");g.style.verticalAlign="top";g.setAttribute("for","spacingCheckbox");g.style.userSelect="none";mxUtils.write(g,mxResources.get("spacing"));e.appendChild(g);a.appendChild(e);return a};ArrangePanel.prototype.addAngle=function(a){var b=this.editorUi,e=b.editor.graph,f=b.getSelectionState(),g=document.createElement("div");g.style.position="absolute";g.style.marginTop="4px";g.style.width="70px";g.style.fontWeight="bold";a.style.minHeight="20px";var d=null,h=null,l=null;!f.rotatable||f.table||f.row||f.cell||(mxUtils.write(g,mxResources.get("angle")),a.appendChild(g),d=this.addUnitInput(a,"°",16,52,function(){h.apply(this,arguments)}),mxUtils.br(a));f.containsLabel||(g=mxResources.get("reverse"),-0<f.vertices.length&&0<f.edges.length?g=mxResources.get("turn")+" / "+g:0<f.vertices.length&&(g=mxResources.get("turn")),l=mxUtils.button(g,function(k){b.actions.get("turn").funct(k)}),l.setAttribute("title",g+" ("+this.editorUi.actions.get("turn").shortcut+")"),l.className="geFullWidthElement",a.appendChild(l),null!=d&&(l.style.marginTop="10px"));if(null!=d){var r=mxUtils.bind(this,function(k,u,w){if(w||document.activeElement!=d)f=b.getSelectionState(),k=parseFloat(mxUtils.getValue(f.style,mxConstants.STYLE_ROTATION,-0)),d.value=isNaN(k)?"":k+"°"});h=this.installInputHandler(d,mxConstants.STYLE_ROTATION,0,0,360,"°",null,!0);this.addKeyHandler(d,r);e.getModel().addListener(mxEvent.CHANGE,r);this.listeners.push({destroy:function(){e.getModel().removeListener(r)}});r()}return a};+0<f.vertices.length&&0<f.edges.length?g=mxResources.get("turn")+" / "+g:0<f.vertices.length&&(g=mxResources.get("turn")),l=mxUtils.button(g,function(k){b.actions.get("turn").funct(k)}),l.setAttribute("title",g+" ("+this.editorUi.actions.get("turn").shortcut+")"),l.className="geFullWidthElement",a.appendChild(l),null!=d&&(l.style.marginTop="10px"));if(null!=d){var q=mxUtils.bind(this,function(k,u,w){if(w||document.activeElement!=d)f=b.getSelectionState(),k=parseFloat(mxUtils.getValue(f.style,mxConstants.STYLE_ROTATION,+0)),d.value=isNaN(k)?"":k+"°"});h=this.installInputHandler(d,mxConstants.STYLE_ROTATION,0,0,360,"°",null,!0);this.addKeyHandler(d,q);e.getModel().addListener(mxEvent.CHANGE,q);this.listeners.push({destroy:function(){e.getModel().removeListener(q)}});q()}return a};BaseFormatPanel.prototype.getUnit=function(a){var b="";switch(this.editorUi.editor.graph.view.unit){case mxConstants.POINTS:b="pt";break;case mxConstants.INCHES:b='"';break;case mxConstants.MILLIMETERS:b="mm";break;case mxConstants.METERS:b="m"}return(a?a:"")+b};BaseFormatPanel.prototype.inUnit=function(a){return this.editorUi.editor.graph.view.formatUnitText(a)};BaseFormatPanel.prototype.fromUnit=function(a){switch(this.editorUi.editor.graph.view.unit){case mxConstants.POINTS:return a;case mxConstants.INCHES:return a*mxConstants.PIXELS_PER_INCH;case mxConstants.MILLIMETERS:return a*mxConstants.PIXELS_PER_MM;case mxConstants.METERS:return a*mxConstants.PIXELS_PER_MM*1E3}};BaseFormatPanel.prototype.isFloatUnit=function(){return this.editorUi.editor.graph.view.unit!=mxConstants.POINTS};BaseFormatPanel.prototype.getUnitStep=function(){switch(this.editorUi.editor.graph.view.unit){case mxConstants.POINTS:return 1;case mxConstants.INCHES:return.1;case mxConstants.MILLIMETERS:return.5;case mxConstants.METERS:return.001}};-ArrangePanel.prototype.addGeometry=function(a){var b=this,e=this.editorUi,f=e.editor.graph,g=f.getModel(),d=e.getSelectionState(),h=this.createPanel();h.style.height="60px";var l=document.createElement("div");l.className="geStyleLabel";l.style.position="absolute";l.style.fontWeight="bold";l.style.marginTop="4px";l.style.maxWidth="50px";mxUtils.write(l,mxResources.get("size"));h.appendChild(l);var r=this.addUnitInput(h,this.getUnit(),87,52,function(){A.apply(this,arguments)},this.getUnitStep(),null,-null,this.isFloatUnit()),k=this.addUnitInput(h,this.getUnit(),16,52,function(){G.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());l=document.createElement("div");l.style.backgroundImage="url("+Editor.autosizeImage+")";l.className="geButton";l.style.margin="0";l.style.width="21px";l.style.height="21px";l.style.left="52px";mxUtils.setOpacity(l,50);mxEvent.addListener(l,"click",function(){e.actions.get("autosize").funct()});h.appendChild(l);d.row?(r.style.visibility="hidden",r.nextSibling.style.visibility=+ArrangePanel.prototype.addGeometry=function(a){var b=this,e=this.editorUi,f=e.editor.graph,g=f.getModel(),d=e.getSelectionState(),h=this.createPanel();h.style.height="60px";var l=document.createElement("div");l.className="geStyleLabel";l.style.position="absolute";l.style.fontWeight="bold";l.style.marginTop="4px";l.style.maxWidth="50px";mxUtils.write(l,mxResources.get("size"));h.appendChild(l);var q=this.addUnitInput(h,this.getUnit(),87,52,function(){A.apply(this,arguments)},this.getUnitStep(),null,+null,this.isFloatUnit()),k=this.addUnitInput(h,this.getUnit(),16,52,function(){F.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());l=document.createElement("div");l.style.backgroundImage="url("+Editor.autosizeImage+")";l.className="geButton";l.style.margin="0";l.style.width="21px";l.style.height="21px";l.style.left="52px";mxUtils.setOpacity(l,50);mxEvent.addListener(l,"click",function(){e.actions.get("autosize").funct()});h.appendChild(l);d.row?(q.style.visibility="hidden",q.nextSibling.style.visibility="hidden"):this.addLabel(h,mxResources.get("width"),87,64).style.marginTop="0px";this.addLabel(h,mxResources.get("height"),16,64).style.marginTop="0px";mxUtils.br(h);var u=document.createElement("div");u.className="geFormatEntry";u.style.marginTop="14px";var w=this.createCellOption(mxResources.get("constrainProportions"),mxConstants.STYLE_ASPECT,null,"fixed","null");w.className="geFullWidthElement";u.appendChild(w);d.cell||d.row?l.style.visibility="hidden":h.appendChild(u);var y=w.getElementsByTagName("input")[0];-this.addKeyHandler(r,W);this.addKeyHandler(k,W);var A=this.addGeometryHandler(r,function(P,Z,X){Z=Math.max(1,b.fromUnit(Z));if(f.isTableCell(X))return f.setTableColumnWidth(X,Z-P.width,!0),!0;0<P.width&&(y.checked&&(P.height=Math.round(P.height*Z*100/P.width)/100),P.width=Z)});var G=this.addGeometryHandler(k,function(P,Z,X){Z=Math.max(1,b.fromUnit(Z));f.isTableCell(X)&&(X=g.getParent(X));if(f.isTableRow(X))return f.setTableRowHeight(X,Z-P.height),!0;0<P.height&&(y.checked&&(P.width=Math.round(P.width*-Z*100/P.height)/100),P.height=Z)});(d.resizable||d.row||d.cell)&&a.appendChild(h);var D=this.createPanel();D.style.paddingBottom="30px";l=document.createElement("div");l.style.position="absolute";l.style.width="70px";l.style.marginTop="0px";l.style.fontWeight="bold";mxUtils.write(l,mxResources.get("position"));D.appendChild(l);var F=this.addUnitInput(D,this.getUnit(),87,52,function(){S.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),H=this.addUnitInput(D,this.getUnit(),16,+this.addKeyHandler(q,W);this.addKeyHandler(k,W);var A=this.addGeometryHandler(q,function(P,Z,X){Z=Math.max(1,b.fromUnit(Z));if(f.isTableCell(X))return f.setTableColumnWidth(X,Z-P.width,!0),!0;0<P.width&&(y.checked&&(P.height=Math.round(P.height*Z*100/P.width)/100),P.width=Z)});var F=this.addGeometryHandler(k,function(P,Z,X){Z=Math.max(1,b.fromUnit(Z));f.isTableCell(X)&&(X=g.getParent(X));if(f.isTableRow(X))return f.setTableRowHeight(X,Z-P.height),!0;0<P.height&&(y.checked&&(P.width=Math.round(P.width*+Z*100/P.height)/100),P.height=Z)});(d.resizable||d.row||d.cell)&&a.appendChild(h);var D=this.createPanel();D.style.paddingBottom="30px";l=document.createElement("div");l.style.position="absolute";l.style.width="70px";l.style.marginTop="0px";l.style.fontWeight="bold";mxUtils.write(l,mxResources.get("position"));D.appendChild(l);var G=this.addUnitInput(D,this.getUnit(),87,52,function(){S.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),H=this.addUnitInput(D,this.getUnit(),16,52,function(){V.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(D);u=!0;var M=null,N=null;if(d.movable){if(0==d.edges.length&&1==d.vertices.length){var K=f.getCellGeometry(d.vertices[0]);if(null!=K&&K.relative){mxUtils.br(D);l=document.createElement("div");l.style.position="absolute";l.style.width="70px";l.style.marginTop="0px";mxUtils.write(l,mxResources.get("relative"));D.appendChild(l);M=this.addGenericInput(D," %",87,52,function(){return Math.round(1E3*K.x)/10},function(P){P=parseFloat(P);if(!isNaN(P)){g.beginUpdate();try{K=K.clone(),K.x=parseFloat(P)/100,g.setGeometry(d.vertices[0],K)}finally{g.endUpdate()}}});if(g.isEdge(g.getParent(d.vertices[0]))){u=!1;var T=null;N=this.addUnitInput(D,this.getUnit(),16,52,function(){T.apply(this,arguments)});T=this.addGeometryHandler(N,function(P,Z){P.y=b.fromUnit(Z)})}else N=this.addGenericInput(D," %",16,52,function(){return Math.round(1E3*K.y)/10},function(P){P=parseFloat(P);if(!isNaN(P)){g.beginUpdate();try{K=-K.clone(),K.y=parseFloat(P)/100,g.setGeometry(d.vertices[0],K)}finally{g.endUpdate()}}});mxUtils.br(D)}}a.appendChild(D)}this.addLabel(D,mxResources.get(u?"left":"line"),87,64);this.addLabel(D,mxResources.get(u?"top":"orthogonal"),16,64);var W=mxUtils.bind(this,function(P,Z,X){d=e.getSelectionState();if(d.containsLabel||d.vertices.length!=f.getSelectionCount()||null==d.width||null==d.height)h.style.display="none";else{h.style.display="";if(X||document.activeElement!=r)r.value=this.inUnit(d.width)+-" "+this.getUnit();if(X||document.activeElement!=k)k.value=this.inUnit(d.height)+" "+this.getUnit()}if(d.vertices.length==f.getSelectionCount()&&0<d.vertices.length&&null!=d.x&&null!=d.y){P=f.getCellGeometry(d.vertices[0]);D.style.display="";if(X||document.activeElement!=F)F.value=this.inUnit(d.x)+" "+this.getUnit();if(X||document.activeElement!=H)H.value=this.inUnit(d.y)+" "+this.getUnit();null!=P&&P.relative&&(null==M||!X&&document.activeElement==M||(M.value=Math.round(1E3*P.x)/10+" %"),null==N||-!X&&document.activeElement==N||(g.isEdge(g.getParent(d.vertices[0]))?N.value=this.inUnit(P.y)+" "+this.getUnit():N.value=Math.round(1E3*P.y)/10+" %"))}else D.style.display="none"});this.listeners.push({destroy:function(){g.removeListener(W)}});g.addListener(mxEvent.CHANGE,W);this.addKeyHandler(F,W);this.addKeyHandler(H,W);W();var S=this.addGeometryHandler(F,function(P,Z){Z=b.fromUnit(Z);P.relative?(P.offset=null!=P.offset?P.offset:new mxPoint,P.offset.x=Z):P.x=Z});var V=this.addGeometryHandler(H,+K.clone(),K.y=parseFloat(P)/100,g.setGeometry(d.vertices[0],K)}finally{g.endUpdate()}}});mxUtils.br(D)}}a.appendChild(D)}this.addLabel(D,mxResources.get(u?"left":"line"),87,64);this.addLabel(D,mxResources.get(u?"top":"orthogonal"),16,64);var W=mxUtils.bind(this,function(P,Z,X){d=e.getSelectionState();if(d.containsLabel||d.vertices.length!=f.getSelectionCount()||null==d.width||null==d.height)h.style.display="none";else{h.style.display="";if(X||document.activeElement!=q)q.value=this.inUnit(d.width)++" "+this.getUnit();if(X||document.activeElement!=k)k.value=this.inUnit(d.height)+" "+this.getUnit()}if(d.vertices.length==f.getSelectionCount()&&0<d.vertices.length&&null!=d.x&&null!=d.y){P=f.getCellGeometry(d.vertices[0]);D.style.display="";if(X||document.activeElement!=G)G.value=this.inUnit(d.x)+" "+this.getUnit();if(X||document.activeElement!=H)H.value=this.inUnit(d.y)+" "+this.getUnit();null!=P&&P.relative&&(null==M||!X&&document.activeElement==M||(M.value=Math.round(1E3*P.x)/10+" %"),null==N||+!X&&document.activeElement==N||(g.isEdge(g.getParent(d.vertices[0]))?N.value=this.inUnit(P.y)+" "+this.getUnit():N.value=Math.round(1E3*P.y)/10+" %"))}else D.style.display="none"});this.listeners.push({destroy:function(){g.removeListener(W)}});g.addListener(mxEvent.CHANGE,W);this.addKeyHandler(G,W);this.addKeyHandler(H,W);W();var S=this.addGeometryHandler(G,function(P,Z){Z=b.fromUnit(Z);P.relative?(P.offset=null!=P.offset?P.offset:new mxPoint,P.offset.x=Z):P.x=Z});var V=this.addGeometryHandler(H,function(P,Z){Z=b.fromUnit(Z);P.relative?(P.offset=null!=P.offset?P.offset:new mxPoint,P.offset.y=Z):P.y=Z});if(d.movable){if(0==d.edges.length&&1==d.vertices.length&&g.isEdge(g.getParent(d.vertices[0]))&&(K=f.getCellGeometry(d.vertices[0]),null!=K&&K.relative)){var fa=document.createElement("select");fa.style.position="absolute";fa.style.width="134px";fa.style.left="77px";l=document.createElement("option");l.setAttribute("value","none");l.setAttribute("title",mxResources.get("move"));mxUtils.write(l,mxResources.get("move")+"...");fa.appendChild(l);l=document.createElement("option");l.setAttribute("value","start");l.setAttribute("title",mxResources.get("linestart"));mxUtils.write(l,mxResources.get("linestart"));fa.appendChild(l);l=document.createElement("option");l.setAttribute("value","center");l.setAttribute("title",mxResources.get("center"));mxUtils.write(l,mxResources.get("center"));fa.appendChild(l);l=document.createElement("option");l.setAttribute("value","end");l.setAttribute("title",mxResources.get("lineend"));mxUtils.write(l,mxResources.get("lineend"));fa.appendChild(l);mxEvent.addListener(fa,"change",function(P){if("none"!=fa.value){g.beginUpdate();try{K=K.clone(),K.x="start"==fa.value?-1:"end"==fa.value?1:0,K.y=0,K.offset=new mxPoint,g.setGeometry(d.vertices[0],K)}finally{g.endUpdate()}}fa.value="none"});mxUtils.br(D);mxUtils.br(D);D.appendChild(fa)}a.appendChild(D)}};-ArrangePanel.prototype.addGeometryHandler=function(a,b){function e(l){if(""!=a.value){var r=parseFloat(a.value);if(isNaN(r))a.value=d+" "+h.getUnit();else if(r!=d){g.getModel().beginUpdate();try{for(var k=f.getSelectionState().cells,u=0;u<k.length;u++)if(g.getModel().isVertex(k[u])){var w=g.getCellGeometry(k[u]);if(null!=w&&(w=w.clone(),!b(w,r,k[u]))){var y=g.view.getState(k[u]);null!=y&&g.isRecursiveVertexResize(y)&&g.resizeChildCells(k[u],w);g.getModel().setGeometry(k[u],w);g.constrainChildCells(k[u])}}}finally{g.getModel().endUpdate()}d=-r;a.value=r+" "+h.getUnit()}}mxEvent.consume(l)}var f=this.editorUi,g=f.editor.graph,d=null,h=this;mxEvent.addListener(a,"blur",e);mxEvent.addListener(a,"change",e);mxEvent.addListener(a,"focus",function(){d=a.value});return e};-ArrangePanel.prototype.addEdgeGeometryHandler=function(a,b){function e(h){if(""!=a.value){var l=parseFloat(a.value);if(isNaN(l))a.value=d+" pt";else if(l!=d){g.getModel().beginUpdate();try{for(var r=f.getSelectionState().cells,k=0;k<r.length;k++)if(g.getModel().isEdge(r[k])){var u=g.getCellGeometry(r[k]);null!=u&&(u=u.clone(),b(u,l),g.getModel().setGeometry(r[k],u))}}finally{g.getModel().endUpdate()}d=l;a.value=l+" pt"}}mxEvent.consume(h)}var f=this.editorUi,g=f.editor.graph,d=null;mxEvent.addListener(a,+ArrangePanel.prototype.addGeometryHandler=function(a,b){function e(l){if(""!=a.value){var q=parseFloat(a.value);if(isNaN(q))a.value=d+" "+h.getUnit();else if(q!=d){g.getModel().beginUpdate();try{for(var k=f.getSelectionState().cells,u=0;u<k.length;u++)if(g.getModel().isVertex(k[u])){var w=g.getCellGeometry(k[u]);if(null!=w&&(w=w.clone(),!b(w,q,k[u]))){var y=g.view.getState(k[u]);null!=y&&g.isRecursiveVertexResize(y)&&g.resizeChildCells(k[u],w);g.getModel().setGeometry(k[u],w);g.constrainChildCells(k[u])}}}finally{g.getModel().endUpdate()}d=+q;a.value=q+" "+h.getUnit()}}mxEvent.consume(l)}var f=this.editorUi,g=f.editor.graph,d=null,h=this;mxEvent.addListener(a,"blur",e);mxEvent.addListener(a,"change",e);mxEvent.addListener(a,"focus",function(){d=a.value});return e};+ArrangePanel.prototype.addEdgeGeometryHandler=function(a,b){function e(h){if(""!=a.value){var l=parseFloat(a.value);if(isNaN(l))a.value=d+" pt";else if(l!=d){g.getModel().beginUpdate();try{for(var q=f.getSelectionState().cells,k=0;k<q.length;k++)if(g.getModel().isEdge(q[k])){var u=g.getCellGeometry(q[k]);null!=u&&(u=u.clone(),b(u,l),g.getModel().setGeometry(q[k],u))}}finally{g.getModel().endUpdate()}d=l;a.value=l+" pt"}}mxEvent.consume(h)}var f=this.editorUi,g=f.editor.graph,d=null;mxEvent.addListener(a,"blur",e);mxEvent.addListener(a,"change",e);mxEvent.addListener(a,"focus",function(){d=a.value});return e};-ArrangePanel.prototype.addEdgeGeometry=function(a){var b=this,e=this.editorUi,f=e.editor.graph,g=e.getSelectionState(),d=this.createPanel(),h=document.createElement("div");h.style.position="absolute";h.style.width="70px";h.style.marginTop="0px";h.style.fontWeight="bold";mxUtils.write(h,mxResources.get("width"));d.appendChild(h);var l=this.addUnitInput(d,"pt",12,44,function(){r.apply(this,arguments)});mxUtils.br(d);this.addKeyHandler(l,D);var r=mxUtils.bind(this,function(K){var T=parseInt(l.value);-T=Math.min(999,Math.max(1,isNaN(T)?1:T));if(T!=mxUtils.getValue(g.style,"width",mxCellRenderer.defaultShapes.flexArrow.prototype.defaultWidth)){var W=e.getSelectionState().cells;f.setCellStyles("width",T,W);e.fireEvent(new mxEventObject("styleChanged","keys",["width"],"values",[T],"cells",W))}l.value=T+" pt";mxEvent.consume(K)});mxEvent.addListener(l,"blur",r);mxEvent.addListener(l,"change",r);a.appendChild(d);var k=this.createPanel();k.style.paddingBottom="30px";h=document.createElement("div");h.style.position=-"absolute";h.style.width="70px";h.style.marginTop="4px";mxUtils.write(h,mxResources.get("linestart"));k.appendChild(h);var u=this.addUnitInput(k,this.getUnit(),87,52,function(){F.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),w=this.addUnitInput(k,this.getUnit(),16,52,function(){H.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(k);this.addLabel(k,mxResources.get("left"),87,64);this.addLabel(k,mxResources.get("top"),16,64);a.appendChild(k);-this.addKeyHandler(u,D);this.addKeyHandler(w,D);var y=this.createPanel();y.style.paddingBottom="30px";h=document.createElement("div");h.style.position="absolute";h.style.width="70px";h.style.marginTop="4px";mxUtils.write(h,mxResources.get("lineend"));y.appendChild(h);var A=this.addUnitInput(y,this.getUnit(),87,52,function(){M.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),G=this.addUnitInput(y,this.getUnit(),16,52,function(){N.apply(this,arguments)},this.getUnitStep(),null,-null,this.isFloatUnit());mxUtils.br(y);this.addLabel(y,mxResources.get("left"),87,64);this.addLabel(y,mxResources.get("top"),16,64);a.appendChild(y);this.addKeyHandler(A,D);this.addKeyHandler(G,D);var D=mxUtils.bind(this,function(K,T,W){g=e.getSelectionState();K=g.cells[0];if("link"==g.style.shape||"flexArrow"==g.style.shape){if(d.style.display="",W||document.activeElement!=l)W=mxUtils.getValue(g.style,"width",mxCellRenderer.defaultShapes.flexArrow.prototype.defaultWidth),l.value=W+" pt"}else d.style.display=-"none";1==g.cells.length&&f.model.isEdge(K)?(W=f.model.getGeometry(K),null!=W&&null!=W.sourcePoint&&null==f.model.getTerminal(K,!0)?(u.value=this.inUnit(W.sourcePoint.x)+" "+this.getUnit(),w.value=this.inUnit(W.sourcePoint.y)+" "+this.getUnit()):k.style.display="none",null!=W&&null!=W.targetPoint&&null==f.model.getTerminal(K,!1)?(A.value=this.inUnit(W.targetPoint.x)+" "+this.getUnit(),G.value=this.inUnit(W.targetPoint.y)+" "+this.getUnit()):y.style.display="none"):(k.style.display="none",y.style.display=-"none")});var F=this.addEdgeGeometryHandler(u,function(K,T){null!=K.sourcePoint&&(K.sourcePoint.x=b.fromUnit(T))});var H=this.addEdgeGeometryHandler(w,function(K,T){null!=K.sourcePoint&&(K.sourcePoint.y=b.fromUnit(T))});var M=this.addEdgeGeometryHandler(A,function(K,T){null!=K.targetPoint&&(K.targetPoint.x=b.fromUnit(T))});var N=this.addEdgeGeometryHandler(G,function(K,T){null!=K.targetPoint&&(K.targetPoint.y=b.fromUnit(T))});f.getModel().addListener(mxEvent.CHANGE,D);this.listeners.push({destroy:function(){f.getModel().removeListener(D)}});+ArrangePanel.prototype.addEdgeGeometry=function(a){var b=this,e=this.editorUi,f=e.editor.graph,g=e.getSelectionState(),d=this.createPanel(),h=document.createElement("div");h.style.position="absolute";h.style.width="70px";h.style.marginTop="0px";h.style.fontWeight="bold";mxUtils.write(h,mxResources.get("width"));d.appendChild(h);var l=this.addUnitInput(d,"pt",12,44,function(){q.apply(this,arguments)});mxUtils.br(d);this.addKeyHandler(l,D);var q=mxUtils.bind(this,function(K){var T=parseInt(l.value);+T=Math.min(999,Math.max(1,isNaN(T)?1:T));if(T!=mxUtils.getValue(g.style,"width",mxCellRenderer.defaultShapes.flexArrow.prototype.defaultWidth)){var W=e.getSelectionState().cells;f.setCellStyles("width",T,W);e.fireEvent(new mxEventObject("styleChanged","keys",["width"],"values",[T],"cells",W))}l.value=T+" pt";mxEvent.consume(K)});mxEvent.addListener(l,"blur",q);mxEvent.addListener(l,"change",q);a.appendChild(d);var k=this.createPanel();k.style.paddingBottom="30px";h=document.createElement("div");h.style.position=+"absolute";h.style.width="70px";h.style.marginTop="4px";mxUtils.write(h,mxResources.get("linestart"));k.appendChild(h);var u=this.addUnitInput(k,this.getUnit(),87,52,function(){G.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),w=this.addUnitInput(k,this.getUnit(),16,52,function(){H.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(k);this.addLabel(k,mxResources.get("left"),87,64);this.addLabel(k,mxResources.get("top"),16,64);a.appendChild(k);+this.addKeyHandler(u,D);this.addKeyHandler(w,D);var y=this.createPanel();y.style.paddingBottom="30px";h=document.createElement("div");h.style.position="absolute";h.style.width="70px";h.style.marginTop="4px";mxUtils.write(h,mxResources.get("lineend"));y.appendChild(h);var A=this.addUnitInput(y,this.getUnit(),87,52,function(){M.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),F=this.addUnitInput(y,this.getUnit(),16,52,function(){N.apply(this,arguments)},this.getUnitStep(),null,+null,this.isFloatUnit());mxUtils.br(y);this.addLabel(y,mxResources.get("left"),87,64);this.addLabel(y,mxResources.get("top"),16,64);a.appendChild(y);this.addKeyHandler(A,D);this.addKeyHandler(F,D);var D=mxUtils.bind(this,function(K,T,W){g=e.getSelectionState();K=g.cells[0];if("link"==g.style.shape||"flexArrow"==g.style.shape){if(d.style.display="",W||document.activeElement!=l)W=mxUtils.getValue(g.style,"width",mxCellRenderer.defaultShapes.flexArrow.prototype.defaultWidth),l.value=W+" pt"}else d.style.display=+"none";1==g.cells.length&&f.model.isEdge(K)?(W=f.model.getGeometry(K),null!=W&&null!=W.sourcePoint&&null==f.model.getTerminal(K,!0)?(u.value=this.inUnit(W.sourcePoint.x)+" "+this.getUnit(),w.value=this.inUnit(W.sourcePoint.y)+" "+this.getUnit()):k.style.display="none",null!=W&&null!=W.targetPoint&&null==f.model.getTerminal(K,!1)?(A.value=this.inUnit(W.targetPoint.x)+" "+this.getUnit(),F.value=this.inUnit(W.targetPoint.y)+" "+this.getUnit()):y.style.display="none"):(k.style.display="none",y.style.display=+"none")});var G=this.addEdgeGeometryHandler(u,function(K,T){null!=K.sourcePoint&&(K.sourcePoint.x=b.fromUnit(T))});var H=this.addEdgeGeometryHandler(w,function(K,T){null!=K.sourcePoint&&(K.sourcePoint.y=b.fromUnit(T))});var M=this.addEdgeGeometryHandler(A,function(K,T){null!=K.targetPoint&&(K.targetPoint.x=b.fromUnit(T))});var N=this.addEdgeGeometryHandler(F,function(K,T){null!=K.targetPoint&&(K.targetPoint.y=b.fromUnit(T))});f.getModel().addListener(mxEvent.CHANGE,D);this.listeners.push({destroy:function(){f.getModel().removeListener(D)}});D()};TextFormatPanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(TextFormatPanel,BaseFormatPanel);TextFormatPanel.prototype.init=function(){this.container.appendChild(this.addFont(this.createPanel()));this.container.appendChild(this.addFontOps(this.createPanel()))};TextFormatPanel.prototype.addFontOps=function(a){0==this.addActions(a,["removeFormat"])&&(a.style.display="none");return a};TextFormatPanel.prototype.addFont=function(a){function b(p){p=null!=p?p.fontSize:null;return null!=p&&"px"==p.substring(p.length-2)?parseFloat(p):mxConstants.DEFAULT_FONTSIZE}function e(p,B){if(null!=p&&""!=p.textContent){p.style.lineHeight="";var C=mxUtils.getCurrentStyle(p);parseFloat(C.fontSize)*B/100!=parseFloat(C.lineHeight)?p.style.lineHeight=B+"%":""==p.getAttribute("style")&&p.removeAttribute("style")}}function f(p,B){B?p.classList.add("geActiveItem"):p.classList.remove("geActiveItem")}var g=-this.editorUi,d=g.editor.graph,h=g.getSelectionState(),l=this.createTitle(mxResources.get("font"));a.appendChild(l);l=this.createPanel();l.className="geFormatEntry";if(d.cellEditor.isContentEditing()){var r=l.cloneNode(),k=g.toolbar.addMenu(g.menus.get("formatBlock"),mxResources.get("style"),null,r);this.addArrow(k);k.style.margin="0px";k.style.position="relative";k.classList.add("geFullWidthElement");a.appendChild(r)}k=l.cloneNode(!1);a.appendChild(k);r=this.createPanel();var u=g.toolbar.addMenu(g.menus.get("fontFamily"),+this.editorUi,d=g.editor.graph,h=g.getSelectionState(),l=this.createTitle(mxResources.get("font"));a.appendChild(l);l=this.createPanel();l.className="geFormatEntry";if(d.cellEditor.isContentEditing()){var q=l.cloneNode(),k=g.toolbar.addMenu(g.menus.get("formatBlock"),mxResources.get("style"),null,q);this.addArrow(k);k.style.margin="0px";k.style.position="relative";k.classList.add("geFullWidthElement");a.appendChild(q)}k=l.cloneNode(!1);a.appendChild(k);q=this.createPanel();var u=g.toolbar.addMenu(g.menus.get("fontFamily"),"Helvetica",null,k);this.addArrow(u);u.style.margin="0px";u.style.position="relative";u.classList.add("geFullWidthElement");"inherit"==h.style[mxConstants.STYLE_FONTFAMILY]&&(k.style.display="none");k=l.cloneNode(!1);var w=g.toolbar.addItems(["bold","italic","underline"],k,!0,[Editor.boldImage,Editor.italicImage,Editor.underlineImage]);w[0].setAttribute("title",mxResources.get("bold")+" ("+g.actions.get("bold").shortcut+")");w[1].setAttribute("title",mxResources.get("italic")+" ("+g.actions.get("italic").shortcut+-")");w[2].setAttribute("title",mxResources.get("underline")+" ("+g.actions.get("underline").shortcut+")");var y=g.toolbar.addItems(["vertical"],k,!0,[Editor.verticalTextImage])[0];a.appendChild(k);var A=l.cloneNode(!1),G=function(p){return function(){return p()}},D=g.addButton(Editor.alignLeftImage,mxResources.get("left"),d.cellEditor.isContentEditing()?function(p){d.cellEditor.alignText(mxConstants.ALIGN_LEFT,p);g.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",-[mxConstants.ALIGN_LEFT],"cells",h.cells))}:G(g.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_LEFT])),A),F=g.addButton(Editor.alignCenterImage,mxResources.get("center"),d.cellEditor.isContentEditing()?function(p){d.cellEditor.alignText(mxConstants.ALIGN_CENTER,p);g.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_CENTER],"cells",h.cells))}:G(g.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_CENTER])),-A),H=g.addButton(Editor.alignRightImage,mxResources.get("right"),d.cellEditor.isContentEditing()?function(p){d.cellEditor.alignText(mxConstants.ALIGN_RIGHT,p);g.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_RIGHT],"cells",h.cells))}:G(g.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_RIGHT])),A);d.cellEditor.isContentEditing()&&(T=g.addButton(Editor.strikethroughImage,mxResources.get("strikethrough"),function(){document.execCommand("strikeThrough",-!1,null)},k));var M=g.addButton(Editor.alignTopImage,mxResources.get("top"),G(g.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_TOP])),A),N=g.addButton(Editor.alignMiddleImage,mxResources.get("middle"),G(g.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_MIDDLE])),A),K=g.addButton(Editor.alignBottomImage,mxResources.get("bottom"),G(g.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_BOTTOM])),+")");w[2].setAttribute("title",mxResources.get("underline")+" ("+g.actions.get("underline").shortcut+")");var y=g.toolbar.addItems(["vertical"],k,!0,[Editor.verticalTextImage])[0];a.appendChild(k);var A=l.cloneNode(!1),F=function(p){return function(){return p()}},D=g.addButton(Editor.alignLeftImage,mxResources.get("left"),d.cellEditor.isContentEditing()?function(p){d.cellEditor.alignText(mxConstants.ALIGN_LEFT,p);g.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",+[mxConstants.ALIGN_LEFT],"cells",h.cells))}:F(g.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_LEFT])),A),G=g.addButton(Editor.alignCenterImage,mxResources.get("center"),d.cellEditor.isContentEditing()?function(p){d.cellEditor.alignText(mxConstants.ALIGN_CENTER,p);g.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_CENTER],"cells",h.cells))}:F(g.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_CENTER])),+A),H=g.addButton(Editor.alignRightImage,mxResources.get("right"),d.cellEditor.isContentEditing()?function(p){d.cellEditor.alignText(mxConstants.ALIGN_RIGHT,p);g.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_RIGHT],"cells",h.cells))}:F(g.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_RIGHT])),A);d.cellEditor.isContentEditing()&&(T=g.addButton(Editor.strikethroughImage,mxResources.get("strikethrough"),function(){document.execCommand("strikeThrough",+!1,null)},k));var M=g.addButton(Editor.alignTopImage,mxResources.get("top"),F(g.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_TOP])),A),N=g.addButton(Editor.alignMiddleImage,mxResources.get("middle"),F(g.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_MIDDLE])),A),K=g.addButton(Editor.alignBottomImage,mxResources.get("bottom"),F(g.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_BOTTOM])),A);a.appendChild(A);var T,W,S,V;if(d.cellEditor.isContentEditing()){M.style.display="none";N.style.display="none";K.style.display="none";y.style.display="none";var fa=g.addButton(Editor.alignJustifyImage,mxResources.get("block"),function(){document.execCommand("justifyfull",!1,null)},A);fa.style.marginRight="9px";var P=g.addButton(Editor.subscriptImage,mxResources.get("subscript")+" ("+Editor.ctrlKey+"+,)",function(){document.execCommand("subscript",!1,null)},A);P.style.marginLeft="10px";var Z=g.addButton(Editor.superscriptImage,-mxResources.get("superscript")+" ("+Editor.ctrlKey+"+.)",function(){document.execCommand("superscript",!1,null)},A);P.style.marginLeft="10px";G=A.cloneNode(!1);G.style.paddingTop="4px";A=[g.addButton(Editor.orderedListImage,mxResources.get("numberedList"),function(){document.execCommand("insertorderedlist",!1,null)},G),g.addButton(Editor.unorderedListImage,mxResources.get("bulletedList"),function(){document.execCommand("insertunorderedlist",!1,null)},G),g.addButton(Editor.indentImage,mxResources.get("increaseIndent"),-function(){document.execCommand("indent",!1,null)},G),g.addButton(Editor.outdentImage,mxResources.get("decreaseIndent"),function(){document.execCommand("outdent",!1,null)},G),g.addButton(Editor.removeFormatImage,mxResources.get("removeFormat"),function(){document.execCommand("removeformat",!1,null)},G),g.addButton(Editor.codeImage,mxResources.get("html"),function(){d.cellEditor.toggleViewMode()},G)];A[A.length-2].style.marginLeft="10px";a.appendChild(G)}else w[2].style.marginRight="12px",H.style.marginRight=+mxResources.get("superscript")+" ("+Editor.ctrlKey+"+.)",function(){document.execCommand("superscript",!1,null)},A);P.style.marginLeft="10px";F=A.cloneNode(!1);F.style.paddingTop="4px";A=[g.addButton(Editor.orderedListImage,mxResources.get("numberedList"),function(){document.execCommand("insertorderedlist",!1,null)},F),g.addButton(Editor.unorderedListImage,mxResources.get("bulletedList"),function(){document.execCommand("insertunorderedlist",!1,null)},F),g.addButton(Editor.indentImage,mxResources.get("increaseIndent"),+function(){document.execCommand("indent",!1,null)},F),g.addButton(Editor.outdentImage,mxResources.get("decreaseIndent"),function(){document.execCommand("outdent",!1,null)},F),g.addButton(Editor.removeFormatImage,mxResources.get("removeFormat"),function(){document.execCommand("removeformat",!1,null)},F),g.addButton(Editor.codeImage,mxResources.get("html"),function(){d.cellEditor.toggleViewMode()},F)];A[A.length-2].style.marginLeft="10px";a.appendChild(F)}else w[2].style.marginRight="12px",H.style.marginRight="12px";A=l.cloneNode(!1);mxUtils.write(A,mxResources.get("position"));var X=document.createElement("select");X.style.left="114px";X.style.width="98px";var ba="topLeft top topRight left center right bottomLeft bottom bottomRight".split(" "),L={topLeft:[mxConstants.ALIGN_LEFT,mxConstants.ALIGN_TOP,mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_BOTTOM],top:[mxConstants.ALIGN_CENTER,mxConstants.ALIGN_TOP,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_BOTTOM],topRight:[mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_TOP,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_BOTTOM],left:[mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_MIDDLE],center:[mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE],right:[mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_MIDDLE,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE],bottomLeft:[mxConstants.ALIGN_LEFT,mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_TOP],bottom:[mxConstants.ALIGN_CENTER,-mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_TOP],bottomRight:[mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_TOP]};for(G=0;G<ba.length;G++){var U=document.createElement("option");U.setAttribute("value",ba[G]);mxUtils.write(U,mxResources.get(ba[G]));X.appendChild(U)}A.appendChild(X);ba=A.cloneNode(!1);mxUtils.write(ba,mxResources.get("writingDirection"));var aa=X.cloneNode(!1);U=["automatic","leftToRight","rightToLeft"];h.html&&(U.push("vertical-leftToRight"),-U.push("vertical-rightToLeft"));var ha={automatic:null,leftToRight:mxConstants.TEXT_DIRECTION_LTR,rightToLeft:mxConstants.TEXT_DIRECTION_RTL,"vertical-leftToRight":mxConstants.TEXT_DIRECTION_VERTICAL_LR,"vertical-rightToLeft":mxConstants.TEXT_DIRECTION_VERTICAL_RL};for(G=0;G<U.length;G++){var ma=document.createElement("option");ma.setAttribute("value",U[G]);"vertical-"==U[G].substring(0,9)?mxUtils.write(ma,mxResources.get("vertical")+" ("+mxResources.get(U[G].substring(9))+")"):mxUtils.write(ma,mxResources.get(U[G]));+mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_TOP],bottomRight:[mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_TOP]};for(F=0;F<ba.length;F++){var U=document.createElement("option");U.setAttribute("value",ba[F]);mxUtils.write(U,mxResources.get(ba[F]));X.appendChild(U)}A.appendChild(X);ba=A.cloneNode(!1);mxUtils.write(ba,mxResources.get("writingDirection"));var aa=X.cloneNode(!1);U=["automatic","leftToRight","rightToLeft"];h.html&&(U.push("vertical-leftToRight"),+U.push("vertical-rightToLeft"));var ha={automatic:null,leftToRight:mxConstants.TEXT_DIRECTION_LTR,rightToLeft:mxConstants.TEXT_DIRECTION_RTL,"vertical-leftToRight":mxConstants.TEXT_DIRECTION_VERTICAL_LR,"vertical-rightToLeft":mxConstants.TEXT_DIRECTION_VERTICAL_RL};for(F=0;F<U.length;F++){var ma=document.createElement("option");ma.setAttribute("value",U[F]);"vertical-"==U[F].substring(0,9)?mxUtils.write(ma,mxResources.get("vertical")+" ("+mxResources.get(U[F].substring(9))+")"):mxUtils.write(ma,mxResources.get(U[F]));aa.appendChild(ma)}ba.appendChild(aa);d.isEditing()||(a.appendChild(A),mxEvent.addListener(X,"change",function(p){d.getModel().beginUpdate();try{var B=L[X.value];null!=B&&(d.setCellStyles(mxConstants.STYLE_LABEL_POSITION,B[0],h.cells),d.setCellStyles(mxConstants.STYLE_VERTICAL_LABEL_POSITION,B[1],h.cells),d.setCellStyles(mxConstants.STYLE_ALIGN,B[2],h.cells),d.setCellStyles(mxConstants.STYLE_VERTICAL_ALIGN,B[3],h.cells))}finally{d.getModel().endUpdate()}mxEvent.consume(p)}),a.appendChild(ba),mxEvent.addListener(aa,"change",function(p){d.setCellStyles(mxConstants.STYLE_TEXT_DIRECTION,ha[aa.value],h.cells);mxEvent.consume(p)}));var oa=document.createElement("input");oa.style.position="absolute";oa.style.left="146px";oa.style.width="52px";k.appendChild(oa);A=this.installInputHandler(oa,mxConstants.STYLE_FONTSIZE,Menus.prototype.defaultFontSize,1,999," "+Editor.fontSizeUnit,function(p){if(null!=d.getSelectedEditingElement()){oa.value=p+" "+Editor.fontSizeUnit;document.execCommand("fontSize",!1,"1");for(var B=d.cellEditor.textarea.getElementsByTagName("font"),C=0;C<B.length;C++)if("1"==B[C].getAttribute("size")){B[C].removeAttribute("size");B[C].style.fontSize="";var E=mxUtils.getCurrentStyle(B[C]);p!=b(E)?B[C].style.fontSize=p+"px":""==B[C].getAttribute("style")&&B[C].removeAttribute("style")}}},!0);A=this.createStepper(oa,A,1,!0,Menus.prototype.defaultFontSize);A.style.display=oa.style.display;A.style.left="198px";"inherit"==h.style[mxConstants.STYLE_FONTSIZE]&&(oa.style.display="none",A.style.display="none");k.appendChild(A);var ca=null,la=d.shapeBackgroundColor,@@ -3176,75 +3176,75 @@ ia=null,O=d.shapeForegroundColor;k=mxUtils.getLightDarkColor(d.shapeBackgroundCo[mxConstants.STYLE_LABEL_BACKGROUNDCOLOR],"values",[p],"cells",h.cells)))},"default",{install:function(p){ca=p},destroy:function(){ca=null}},null,null,d.shapeBackgroundColor):this.createCellColorOption(mxResources.get("backgroundColor"),mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,"default",null,function(p){d.updateLabelElements(h.cells,function(B){B.style.backgroundColor=null})},d.shapeBackgroundColor);ja.style.fontWeight="bold";var va=this.createCellColorOption(mxResources.get("borderColor"),mxConstants.STYLE_LABEL_BORDERCOLOR,"default",null,null,d.shapeForegroundColor);va.style.fontWeight="bold";k=1<=h.vertices.length?d.stylesheet.getDefaultVertexStyle():d.stylesheet.getDefaultEdgeStyle();k=d.cellEditor.isContentEditing()?this.createColorOption(mxResources.get("fontColor"),function(){return O},function(p){null!=d.cellEditor.textarea&&("default"==p&&(p=mxConstants.NONE),Graph.setTextColor(d.cellEditor.textarea,p,!0),g.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTCOLOR],"values",[p],"cells",h.cells)))},"default",{install:function(p){ia=p},destroy:function(){ia=null}},null,!0,null!=k[mxConstants.STYLE_FONTCOLOR]&&"default"!=k[mxConstants.STYLE_FONTCOLOR]?k[mxConstants.STYLE_FONTCOLOR]:d.shapeForegroundColor):this.createCellColorOption(mxResources.get("fontColor"),mxConstants.STYLE_FONTCOLOR,"default",function(p){ja.style.display=p==mxConstants.NONE?"none":"";va.style.display=ja.style.display},function(p){p==mxConstants.NONE?d.setCellStyles(mxConstants.STYLE_NOLABEL,"1",h.cells):d.setCellStyles(mxConstants.STYLE_NOLABEL,-null,h.cells);d.setCellStyles(mxConstants.STYLE_FONTCOLOR,p,h.cells);d.updateLabelElements(h.cells,function(B){B.removeAttribute("color");B.style.color=null})},d.shapeForegroundColor);"inherit"==h.style[mxConstants.STYLE_FONTCOLOR]&&(k.style.display="none");k.style.fontWeight="bold";r.appendChild(k);r.appendChild(ja);k=this.createCellOption(mxResources.get("shadow"),mxConstants.STYLE_TEXT_SHADOW,0);k.style.width="100%";k.style.fontWeight="bold";Editor.enableShadowOption||(k.getElementsByTagName("input")[0].setAttribute("disabled",-"disabled"),mxUtils.setOpacity(k,60));d.cellEditor.isContentEditing()||(r.appendChild(va),r.appendChild(k));a.appendChild(r);r=this.createPanel();r.style.paddingTop="2px";r.style.paddingBottom="4px";A=d.filterSelectionCells(mxUtils.bind(this,function(p){var B=d.view.getState(p);return null==B||d.getModel().isEdge(p)||d.isAutoSizeState(B)}));k=this.createCellOption(mxResources.get("wordWrap"),mxConstants.STYLE_WHITE_SPACE,null,"wrap","null",null,null,!0,A);k.style.fontWeight="bold";0<A.length&&r.appendChild(k);-A=this.createCellOption(mxResources.get("formattedText"),"html",0,null,null,null,g.actions.get("formattedText"));A.style.fontWeight="bold";r.appendChild(A);G=d.view.getState(d.getSelectionCell());(A="1"==mxUtils.getValue(h.style,"html",0))&&(1<d.getSelectionCount()&&"1"==h.style.convertToSvg||1==d.getSelectionCount()&&null!=G&&null!=G.text&&null!=G.text.node&&0==G.text.node.getElementsByTagName("foreignObject").length)&&(k.style.opacity="0.5",k.getElementsByTagName("input")[0].setAttribute("disabled",-"disabled"));k=this.createCellOption(mxResources.get("lblToSvg"),"convertToSvg","0");k.style.fontWeight="bold";r.appendChild(k);A||(k.style.opacity="0.5",k.getElementsByTagName("input")[0].setAttribute("disabled","disabled"));if(!g.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)k.getElementsByTagName("span")[0].style.maxWidth="172px",k.appendChild(g.menus.createHelpLink("https://github.com/jgraph/drawio/discussions/5165"));k=this.createPanel();k.style.height="86px";A=document.createElement("div");-A.style.position="absolute";A.style.width="70px";A.style.marginTop="0px";A.style.fontWeight="bold";mxUtils.write(A,mxResources.get("spacing"));k.appendChild(A);var za=this.addUnitInput(k,this.getUnit(),87,52,function(){eb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),La=this.addUnitInput(k,this.getUnit(),16,52,function(){bb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(k);this.addLabel(k,mxResources.get("top"),87,64);this.addLabel(k,mxResources.get("global"),+null,h.cells);d.setCellStyles(mxConstants.STYLE_FONTCOLOR,p,h.cells);d.updateLabelElements(h.cells,function(B){B.removeAttribute("color");B.style.color=null})},d.shapeForegroundColor);"inherit"==h.style[mxConstants.STYLE_FONTCOLOR]&&(k.style.display="none");k.style.fontWeight="bold";q.appendChild(k);q.appendChild(ja);k=this.createCellOption(mxResources.get("shadow"),mxConstants.STYLE_TEXT_SHADOW,0);k.style.width="100%";k.style.fontWeight="bold";Editor.enableShadowOption||(k.getElementsByTagName("input")[0].setAttribute("disabled",+"disabled"),mxUtils.setOpacity(k,60));d.cellEditor.isContentEditing()||(q.appendChild(va),q.appendChild(k));a.appendChild(q);q=this.createPanel();q.style.paddingTop="2px";q.style.paddingBottom="4px";A=d.filterSelectionCells(mxUtils.bind(this,function(p){var B=d.view.getState(p);return null==B||d.getModel().isEdge(p)||d.isAutoSizeState(B)}));k=this.createCellOption(mxResources.get("wordWrap"),mxConstants.STYLE_WHITE_SPACE,null,"wrap","null",null,null,!0,A);k.style.fontWeight="bold";0<A.length&&q.appendChild(k);+A=this.createCellOption(mxResources.get("formattedText"),"html",0,null,null,null,g.actions.get("formattedText"));A.style.fontWeight="bold";q.appendChild(A);F=d.view.getState(d.getSelectionCell());(A="1"==mxUtils.getValue(h.style,"html",0))&&(1<d.getSelectionCount()&&"1"==h.style.convertToSvg||1==d.getSelectionCount()&&null!=F&&null!=F.text&&null!=F.text.node&&0==F.text.node.getElementsByTagName("foreignObject").length)&&(k.style.opacity="0.5",k.getElementsByTagName("input")[0].setAttribute("disabled",+"disabled"));k=this.createCellOption(mxResources.get("lblToSvg"),"convertToSvg","0");k.style.fontWeight="bold";q.appendChild(k);A||(k.style.opacity="0.5",k.getElementsByTagName("input")[0].setAttribute("disabled","disabled"));if(!g.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)k.getElementsByTagName("span")[0].style.maxWidth="172px",k.appendChild(g.menus.createHelpLink("https://github.com/jgraph/drawio/discussions/5165"));k=this.createPanel();k.style.height="86px";A=document.createElement("div");+A.style.position="absolute";A.style.width="70px";A.style.marginTop="0px";A.style.fontWeight="bold";mxUtils.write(A,mxResources.get("spacing"));k.appendChild(A);var ya=this.addUnitInput(k,this.getUnit(),87,52,function(){eb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),La=this.addUnitInput(k,this.getUnit(),16,52,function(){bb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(k);this.addLabel(k,mxResources.get("top"),87,64);this.addLabel(k,mxResources.get("global"),16,64);mxUtils.br(k);mxUtils.br(k);var Na=this.addUnitInput(k,this.getUnit(),158,52,function(){ab.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),Ja=this.addUnitInput(k,this.getUnit(),87,52,function(){fb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),Ka=this.addUnitInput(k,this.getUnit(),16,52,function(){qb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(k);this.addLabel(k,mxResources.get("left"),158,64);this.addLabel(k,mxResources.get("bottom"),87,64);this.addLabel(k,mxResources.get("right"),16,64);if(d.cellEditor.isContentEditing()){var ta=null,Ea=null;a.appendChild(this.createRelativeOption(mxResources.get("lineheight"),null,null,function(p){var B=""==p.value?120:parseInt(p.value);B=Math.max(0,isNaN(B)?120:B);if(window.getSelection){null!=ta&&(d.cellEditor.restoreSelection(ta),ta=null);var C=d.getSelectedEditingElement();if(null!=d.cellEditor.textarea&&C==d.cellEditor.textarea){var E=window.getSelection();if(E.getRangeAt&&0<E.rangeCount){var J=E.getRangeAt(0);C=document.createElement("div");C.appendChild(J.extractContents());d.cellEditor.textarea.innerHTML="";d.cellEditor.textarea.appendChild(C);E.removeAllRanges();J=new Range;J.selectNodeContents(C);E.addRange(J)}}if(null!=C)for(C!=d.cellEditor.textarea&&e(C,B),C=C.getElementsByTagName("*"),E=window.getSelection(),J=0;J<C.length;J++)E.containsNode(C[J],!0)&&e(C[J],B)}p.value=B+" %"},function(p){Ea=p;mxEvent.addGestureListeners(p,mxUtils.bind(this,function(B){document.activeElement==-d.cellEditor.textarea&&(ta=d.cellEditor.saveSelection())}));mxEvent.addListener(p,"touchstart",function(){document.activeElement==d.cellEditor.textarea&&(ta=d.cellEditor.saveSelection())});p.value="120 %"}));r=l.cloneNode(!1);g.toolbar.addItems(["link","image"],r,!0,[Editor.linkImage,Editor.imageImage]);A=[g.addButton(Editor.horizontalRuleImage,mxResources.get("insertHorizontalRule"),function(){document.execCommand("inserthorizontalrule",!1)},r),g.toolbar.addMenu(new Menu(mxUtils.bind(this,function(p){g.menus.addInsertTableItem(p,-null,null,!1)})),null,Editor.tableImage,r)];k=this.createPanel();k.appendChild(this.createTitle(mxResources.get("insert")));k.appendChild(r);a.appendChild(k);k=l.cloneNode(!1);A=[g.addButton(Editor.addColumnLeftImage,mxResources.get("insertColumnBefore"),mxUtils.bind(this,function(){try{null!=W&&d.insertColumn(W,null!=S?S.cellIndex:0)}catch(p){g.handleError(p)}}),k),g.addButton(Editor.addColumnRightImage,mxResources.get("insertColumnAfter"),mxUtils.bind(this,function(){try{null!=W&&d.insertColumn(W,+d.cellEditor.textarea&&(ta=d.cellEditor.saveSelection())}));mxEvent.addListener(p,"touchstart",function(){document.activeElement==d.cellEditor.textarea&&(ta=d.cellEditor.saveSelection())});p.value="120 %"}));q=l.cloneNode(!1);g.toolbar.addItems(["link","image"],q,!0,[Editor.linkImage,Editor.imageImage]);A=[g.addButton(Editor.horizontalRuleImage,mxResources.get("insertHorizontalRule"),function(){document.execCommand("inserthorizontalrule",!1)},q),g.toolbar.addMenu(new Menu(mxUtils.bind(this,function(p){g.menus.addInsertTableItem(p,+null,null,!1)})),null,Editor.tableImage,q)];k=this.createPanel();k.appendChild(this.createTitle(mxResources.get("insert")));k.appendChild(q);a.appendChild(k);k=l.cloneNode(!1);A=[g.addButton(Editor.addColumnLeftImage,mxResources.get("insertColumnBefore"),mxUtils.bind(this,function(){try{null!=W&&d.insertColumn(W,null!=S?S.cellIndex:0)}catch(p){g.handleError(p)}}),k),g.addButton(Editor.addColumnRightImage,mxResources.get("insertColumnAfter"),mxUtils.bind(this,function(){try{null!=W&&d.insertColumn(W,null!=S?S.cellIndex+1:-1)}catch(p){g.handleError(p)}}),k),g.addButton(Editor.removeColumnImage,mxResources.get("deleteColumn"),mxUtils.bind(this,function(){try{null!=W&&null!=S&&d.deleteColumn(W,S.cellIndex)}catch(p){g.handleError(p)}}),k),g.addButton(Editor.addRowAboveImage,mxResources.get("insertRowBefore"),mxUtils.bind(this,function(){try{null!=W&&null!=V&&d.insertRow(W,V.sectionRowIndex)}catch(p){g.handleError(p)}}),k),g.addButton(Editor.addRowBelowImage,mxResources.get("insertRowAfter"),mxUtils.bind(this,-function(){try{null!=W&&null!=V&&d.insertRow(W,V.sectionRowIndex+1)}catch(p){g.handleError(p)}}),k),g.addButton(Editor.removeRowImage,mxResources.get("deleteRow"),mxUtils.bind(this,function(){try{null!=W&&null!=V&&d.deleteRow(W,V.sectionRowIndex)}catch(p){g.handleError(p)}}),k)];A[2].style.marginRight="10px";r=this.createPanel();r.appendChild(this.createTitle(mxResources.get("table")));r.appendChild(k);l=l.cloneNode(!1);A=[g.addButton(Editor.strokeColorImage,mxResources.get("borderColor"),mxUtils.bind(this,+function(){try{null!=W&&null!=V&&d.insertRow(W,V.sectionRowIndex+1)}catch(p){g.handleError(p)}}),k),g.addButton(Editor.removeRowImage,mxResources.get("deleteRow"),mxUtils.bind(this,function(){try{null!=W&&null!=V&&d.deleteRow(W,V.sectionRowIndex)}catch(p){g.handleError(p)}}),k)];A[2].style.marginRight="10px";q=this.createPanel();q.appendChild(this.createTitle(mxResources.get("table")));q.appendChild(k);l=l.cloneNode(!1);A=[g.addButton(Editor.strokeColorImage,mxResources.get("borderColor"),mxUtils.bind(this,function(p){if(null!=W){var B=W.style.borderColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(C,E,J,Q){return"#"+("0"+Number(E).toString(16)).substr(-2)+("0"+Number(J).toString(16)).substr(-2)+("0"+Number(Q).toString(16)).substr(-2)});g.pickColor(B,function(C){var E=null==S||null!=p&&mxEvent.isShiftDown(p)?W:S;d.processElements(E,function(J){J.style.border=null});null==C||C==mxConstants.NONE?(E.removeAttribute("border"),E.style.border="",E.style.borderCollapse=""):(E.setAttribute("border","1"),E.style.border="1px solid "+C,E.style.borderCollapse="collapse")})}}),l),g.addButton(Editor.fillColorImage,mxResources.get("backgroundColor"),mxUtils.bind(this,function(p){if(null!=W){var B=W.style.backgroundColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(C,E,J,Q){return"#"+("0"+Number(E).toString(16)).substr(-2)+("0"+Number(J).toString(16)).substr(-2)+("0"+Number(Q).toString(16)).substr(-2)});g.pickColor(B,function(C){var E=null==S||null!=p&&mxEvent.isShiftDown(p)?W:S;d.processElements(E,function(J){J.style.backgroundColor=null});E.style.backgroundColor=null==C||C==mxConstants.NONE?"":C})}}),l),g.addButton(Editor.spacingImage,mxResources.get("spacing"),function(){if(null!=W){var p=W.getAttribute("cellPadding")||0;p=new FilenameDialog(g,p,mxResources.get("apply"),mxUtils.bind(this,function(B){null!=B&&0<B.length?W.setAttribute("cellPadding",B):W.removeAttribute("cellPadding")}),mxResources.get("spacing"));g.showDialog(p.container,300,80,!0,!0);p.init()}},l),-g.addButton(Editor.alignLeftImage,mxResources.get("left"),function(){null!=W&&W.setAttribute("align","left")},l),g.addButton(Editor.alignCenterImage,mxResources.get("center"),function(){null!=W&&W.setAttribute("align","center")},l),g.addButton(Editor.alignRightImage,mxResources.get("right"),function(){null!=W&&W.setAttribute("align","right")},l)];A[2].style.marginRight="10px";r.appendChild(l);a.appendChild(r);var Wa=r}else a.appendChild(r),a.appendChild(this.createRelativeOption(mxResources.get("opacity"),-mxConstants.STYLE_TEXT_OPACITY)),a.appendChild(k);for(G=0;3>G;G++)(function(p){mxEvent.addListener(w[p],"click",function(){f(w[p],""==w[p].style.backgroundImage)})})(G);var Xa=mxUtils.bind(this,function(p,B,C){h=g.getSelectionState();p=mxUtils.getValue(h.style,mxConstants.STYLE_FONTSTYLE,0);f(w[0],(p&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD);f(w[1],(p&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC);f(w[2],(p&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE);g.toolbar.setMenuText(u,-mxUtils.getValue(h.style,mxConstants.STYLE_FONTFAMILY,Menus.prototype.defaultFont));f(y,"0"==mxUtils.getValue(h.style,mxConstants.STYLE_HORIZONTAL,"1"));if(C||document.activeElement!=oa)p=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_FONTSIZE,Menus.prototype.defaultFontSize)),oa.value=isNaN(p)?"":p+" "+Editor.fontSizeUnit;p=mxUtils.getValue(h.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER);f(D,p==mxConstants.ALIGN_LEFT);f(F,p==mxConstants.ALIGN_CENTER);f(H,p==mxConstants.ALIGN_RIGHT);+g.addButton(Editor.alignLeftImage,mxResources.get("left"),function(){null!=W&&W.setAttribute("align","left")},l),g.addButton(Editor.alignCenterImage,mxResources.get("center"),function(){null!=W&&W.setAttribute("align","center")},l),g.addButton(Editor.alignRightImage,mxResources.get("right"),function(){null!=W&&W.setAttribute("align","right")},l)];A[2].style.marginRight="10px";q.appendChild(l);a.appendChild(q);var Wa=q}else a.appendChild(q),a.appendChild(this.createRelativeOption(mxResources.get("opacity"),+mxConstants.STYLE_TEXT_OPACITY)),a.appendChild(k);for(F=0;3>F;F++)(function(p){mxEvent.addListener(w[p],"click",function(){f(w[p],""==w[p].style.backgroundImage)})})(F);var Xa=mxUtils.bind(this,function(p,B,C){h=g.getSelectionState();p=mxUtils.getValue(h.style,mxConstants.STYLE_FONTSTYLE,0);f(w[0],(p&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD);f(w[1],(p&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC);f(w[2],(p&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE);g.toolbar.setMenuText(u,+mxUtils.getValue(h.style,mxConstants.STYLE_FONTFAMILY,Menus.prototype.defaultFont));f(y,"0"==mxUtils.getValue(h.style,mxConstants.STYLE_HORIZONTAL,"1"));if(C||document.activeElement!=oa)p=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_FONTSIZE,Menus.prototype.defaultFontSize)),oa.value=isNaN(p)?"":p+" "+Editor.fontSizeUnit;p=mxUtils.getValue(h.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER);f(D,p==mxConstants.ALIGN_LEFT);f(G,p==mxConstants.ALIGN_CENTER);f(H,p==mxConstants.ALIGN_RIGHT);p=mxUtils.getValue(h.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE);f(M,p==mxConstants.ALIGN_TOP);f(N,p==mxConstants.ALIGN_MIDDLE);f(K,p==mxConstants.ALIGN_BOTTOM);p=mxUtils.getValue(h.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER);B=mxUtils.getValue(h.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);X.value=p==mxConstants.ALIGN_LEFT&&B==mxConstants.ALIGN_TOP?"topLeft":p==mxConstants.ALIGN_CENTER&&B==mxConstants.ALIGN_TOP?"top":p==mxConstants.ALIGN_RIGHT&&B==mxConstants.ALIGN_TOP?"topRight":p==mxConstants.ALIGN_LEFT&&B==mxConstants.ALIGN_BOTTOM?"bottomLeft":p==mxConstants.ALIGN_CENTER&&B==mxConstants.ALIGN_BOTTOM?"bottom":p==mxConstants.ALIGN_RIGHT&&B==mxConstants.ALIGN_BOTTOM?"bottomRight":p==mxConstants.ALIGN_LEFT?"left":p==mxConstants.ALIGN_RIGHT?"right":"center";p=mxUtils.getValue(h.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);p==mxConstants.TEXT_DIRECTION_RTL?aa.value="rightToLeft":p==mxConstants.TEXT_DIRECTION_LTR?-aa.value="leftToRight":p!=mxConstants.TEXT_DIRECTION_AUTO&&h.html?p==mxConstants.TEXT_DIRECTION_VERTICAL_LR?aa.value="vertical-leftToRight":p==mxConstants.TEXT_DIRECTION_VERTICAL_RL&&(aa.value="vertical-rightToLeft"):aa.value="automatic";if(C||document.activeElement!=La)p=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING,2)),La.value=isNaN(p)?"":this.inUnit(p)+" "+this.getUnit();if(C||document.activeElement!=za)p=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_TOP,0)),za.value=+aa.value="leftToRight":p!=mxConstants.TEXT_DIRECTION_AUTO&&h.html?p==mxConstants.TEXT_DIRECTION_VERTICAL_LR?aa.value="vertical-leftToRight":p==mxConstants.TEXT_DIRECTION_VERTICAL_RL&&(aa.value="vertical-rightToLeft"):aa.value="automatic";if(C||document.activeElement!=La)p=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING,2)),La.value=isNaN(p)?"":this.inUnit(p)+" "+this.getUnit();if(C||document.activeElement!=ya)p=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_TOP,0)),ya.value=isNaN(p)?"":this.inUnit(p)+" "+this.getUnit();if(C||document.activeElement!=Ka)p=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_RIGHT,0)),Ka.value=isNaN(p)?"":this.inUnit(p)+" "+this.getUnit();if(C||document.activeElement!=Ja)p=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_BOTTOM,0)),Ja.value=isNaN(p)?"":this.inUnit(p)+" "+this.getUnit();if(C||document.activeElement!=Na)p=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_LEFT,0)),Na.value=isNaN(p)?"":this.inUnit(p)+-" "+this.getUnit()});var bb=this.installInputHandler(La,mxConstants.STYLE_SPACING,2,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var eb=this.installInputHandler(za,mxConstants.STYLE_SPACING_TOP,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var qb=this.installInputHandler(Ka,mxConstants.STYLE_SPACING_RIGHT,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var fb=this.installInputHandler(Ja,mxConstants.STYLE_SPACING_BOTTOM,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),-!0);var ab=this.installInputHandler(Na,mxConstants.STYLE_SPACING_LEFT,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);this.addKeyHandler(oa,Xa);this.addKeyHandler(La,Xa);this.addKeyHandler(za,Xa);this.addKeyHandler(Ka,Xa);this.addKeyHandler(Ja,Xa);this.addKeyHandler(Na,Xa);d.getModel().addListener(mxEvent.CHANGE,Xa);this.listeners.push({destroy:function(){d.getModel().removeListener(Xa)}});Xa();if(d.cellEditor.isContentEditing()){var hb=null,cb=!1;l=mxUtils.bind(this,function(){cb||(cb=!0,+" "+this.getUnit()});var bb=this.installInputHandler(La,mxConstants.STYLE_SPACING,2,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var eb=this.installInputHandler(ya,mxConstants.STYLE_SPACING_TOP,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var qb=this.installInputHandler(Ka,mxConstants.STYLE_SPACING_RIGHT,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var fb=this.installInputHandler(Ja,mxConstants.STYLE_SPACING_BOTTOM,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),+!0);var ab=this.installInputHandler(Na,mxConstants.STYLE_SPACING_LEFT,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);this.addKeyHandler(oa,Xa);this.addKeyHandler(La,Xa);this.addKeyHandler(ya,Xa);this.addKeyHandler(Ka,Xa);this.addKeyHandler(Ja,Xa);this.addKeyHandler(Na,Xa);d.getModel().addListener(mxEvent.CHANGE,Xa);this.listeners.push({destroy:function(){d.getModel().removeListener(Xa)}});Xa();if(d.cellEditor.isContentEditing()){var hb=null,cb=!1;l=mxUtils.bind(this,function(){cb||(cb=!0,window.setTimeout(mxUtils.bind(this,function(){var p=d.getSelectedEditingElement();if(null!=p&&null!=d.cellEditor.textarea){var B=function(Aa,Ha){if(null!=Aa&&null!=Ha){if(Aa==Ha)return!0;if(Aa.length>Ha.length+1)return Aa.substring(Aa.length-Ha.length-1,Aa.length)=="-"+Ha}return!1},C=function(Aa){if(null!=d.getParentByName(p,Aa,d.cellEditor.textarea))return!0;for(var Ha=p;null!=Ha&&1==Ha.childNodes.length;)if(Ha=Ha.childNodes[0],Ha.nodeName==Aa)return!0;return!1},E=function(Aa){for(;null!=Aa&&Aa!=d.cellEditor.textarea;){if("block"==mxUtils.getCurrentStyle(Aa).display)return Aa;Aa=Aa.parentNode}return null},J=mxUtils.getCurrentStyle(p),Q=p==d.cellEditor.textarea||""==p.style.lineHeight?null:p.style.lineHeight,Y=p==d.cellEditor.textarea||""==p.style.fontSize?null:b(J);if(window.getSelection)for(var ka=p.getElementsByTagName("*"),ea=window.getSelection(),na=0;na<ka.length&&(!ea.containsNode(ka[na],!0)||null==ka[na].style||(null==Y&&""!=ka[na].style.fontSize&&(Y=parseFloat(ka[na].style.fontSize)),null==Q&&""!=ka[na].style.lineHeight&&(Q=ka[na].style.lineHeight),null==Y||null==Q));na++);null==Y&&(Y=b(J));if(null==Q)for(ka=p;null!=ka&&ka!=d.cellEditor.textarea.parentNode;){if(null!=ka.style&&""!=ka.style.lineHeight){Q=ka.style.lineHeight;break}ka=ka.parentNode}if(null!=J){f(w[0],"bold"==J.fontWeight||400<J.fontWeight||C("B")||C("STRONG"));f(w[1],"italic"==J.fontStyle||C("I")||C("EM"));f(w[2],"underline"==J.textDecorationLine||C("U"));f(T,"line-through"==J.textDecorationLine||C("STRIKE"));f(Z,C("SUP"));f(P,C("SUB"));var Ba=E(p);if(null!=Ba){C=function(Aa,Ha){Ia.push({name:Aa,dispName:Ha,type:"string",getValue:function(){return Ma[Aa]},valueChanged:function(xa,wa){var Sa=Ba.style,Qa=xa;parseInt(Qa)==Qa&&(Qa+="px",null!=wa&&(wa.value=Qa));Sa[Aa]=Qa;""==xa&&null!=wa&&(wa.value=Ma[Aa])}})};var Ma=mxUtils.getCurrentStyle(Ba),Ia=[];C("paddingTop","Padding Top");C("paddingRight","Padding Right");C("paddingLeft","Padding Left");C("paddingBottom","Padding Bottom");C("marginTop","Margin Top");C("marginRight",-"Margin Right");C("marginLeft","Margin Left");C("marginBottom","Margin Bottom");C=this.createPanel();this.addProperties(C,Ia,h,!0);null!=hb?hb.parentNode.replaceChild(C,hb):a.appendChild(C);hb=C}d.cellEditor.isTableSelected()?(f(fa,B(J.textAlign,"justify")),f(D,B(J.textAlign,"left")),f(F,B(J.textAlign,"center")),f(H,B(J.textAlign,"right"))):(C=d.cellEditor.align||mxUtils.getValue(h.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),B(J.textAlign,"justify")?(f(fa,B(J.textAlign,"justify")),f(D,-!1),f(F,!1),f(H,!1)):(f(fa,!1),f(D,C==mxConstants.ALIGN_LEFT),f(F,C==mxConstants.ALIGN_CENTER),f(H,C==mxConstants.ALIGN_RIGHT)));W=d.getParentByName(p,"TABLE",d.cellEditor.textarea);V=null==W?null:d.getParentByName(p,"TR",W);S=null==W?null:d.getParentByNames(p,["TD","TH"],W);Wa.style.display=null!=W?"":"none";document.activeElement!=oa&&(oa.value=isNaN(Y)?"":Y+" "+Editor.fontSizeUnit,"string"===typeof Q&&0<Q.indexOf("%")?Ea.value=Q.replace("%"," %"):(B=parseFloat(Q),isNaN(B)?Ea.value="120 %":Ea.value=+"Margin Right");C("marginLeft","Margin Left");C("marginBottom","Margin Bottom");C=this.createPanel();this.addProperties(C,Ia,h,!0);null!=hb?hb.parentNode.replaceChild(C,hb):a.appendChild(C);hb=C}d.cellEditor.isTableSelected()?(f(fa,B(J.textAlign,"justify")),f(D,B(J.textAlign,"left")),f(G,B(J.textAlign,"center")),f(H,B(J.textAlign,"right"))):(C=d.cellEditor.align||mxUtils.getValue(h.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),B(J.textAlign,"justify")?(f(fa,B(J.textAlign,"justify")),f(D,+!1),f(G,!1),f(H,!1)):(f(fa,!1),f(D,C==mxConstants.ALIGN_LEFT),f(G,C==mxConstants.ALIGN_CENTER),f(H,C==mxConstants.ALIGN_RIGHT)));W=d.getParentByName(p,"TABLE",d.cellEditor.textarea);V=null==W?null:d.getParentByName(p,"TR",W);S=null==W?null:d.getParentByNames(p,["TD","TH"],W);Wa.style.display=null!=W?"":"none";document.activeElement!=oa&&(oa.value=isNaN(Y)?"":Y+" "+Editor.fontSizeUnit,"string"===typeof Q&&0<Q.indexOf("%")?Ea.value=Q.replace("%"," %"):(B=parseFloat(Q),isNaN(B)?Ea.value="120 %":Ea.value=Math.round(100*B)+" %"));null!=ia&&(O=d.getTextColor(p,!0),ia(O,!0));null!=ca&&(la=d.getTextColor(p,!1),ca(la,!0));g.toolbar.setMenuText(u,mxUtils.getCssFontFamily(J.fontFamily))}}cb=!1}),0))});mxEvent.addListener(d.cellEditor.textarea,"input",l);mxEvent.addListener(d.cellEditor.textarea,"touchend",l);mxEvent.addListener(d.cellEditor.textarea,"mouseup",l);mxEvent.addListener(d.cellEditor.textarea,"keyup",l);this.listeners.push({destroy:function(){}});l()}return a};StyleFormatPanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(StyleFormatPanel,BaseFormatPanel);StyleFormatPanel.prototype.init=function(){var a=this.editorUi.getSelectionState();if(!a.containsLabel&&0<a.cells.length){a.containsImage&&1==a.vertices.length&&"image"==a.style.shape&&null!=a.style.image&&"data:image/svg+xml;"==String(a.style.image).substring(0,19)&&this.container.appendChild(this.addSvgStyles(this.createPanel()));a.fill&&this.container.appendChild(this.addFill(this.createPanel()));this.container.appendChild(this.addStroke(this.createPanel()));this.container.appendChild(this.addLineJumps(this.createPanel()));var b=this.createRelativeOption(mxResources.get("opacity"),mxConstants.STYLE_OPACITY);this.container.appendChild(b);this.container.appendChild(this.addEffects(this.createPanel()))}b=this.createPanel();1==a.cells.length&&(this.addEditOps(b),null!=b.firstChild&&mxUtils.br(b));1<=a.cells.length&&this.addStyleOps(b);null!=b.firstChild&&this.container.appendChild(b)};StyleFormatPanel.prototype.getCssRules=function(a){var b=document.implementation.createHTMLDocument(""),e=document.createElement("style");mxUtils.setTextContent(e,a);b.body.appendChild(e);return e.sheet.cssRules};StyleFormatPanel.prototype.addSvgStyles=function(a){var b=this.editorUi.getSelectionState();a.style.paddingTop="6px";a.style.paddingBottom="6px";a.style.fontWeight="bold";a.style.display="none";try{var e=b.style.editableCssRules;if(null!=e){var f=new RegExp(e),g=b.style.image.substring(b.style.image.indexOf(",")+1),d=window.atob?decodeURIComponent(escape(atob(g))):Base64.decode(g,!0),h=mxUtils.parseXml(d);if(null!=h){var l="light"==h.documentElement.style.colorScheme||"0"==mxUtils.getValue(b.style,-"darkMode",null),r=""==h.documentElement.style.colorScheme,k=h.getElementsByTagName("style");for(b=0;b<k.length;b++){var u=this.getCssRules(mxUtils.getTextContent(k[b]));for(e=0;e<u.length;e++)this.addSvgRule(a,u[e],h,k[b],u,e,f,l,r)}}}}catch(w){}return a};StyleFormatPanel.prototype.getColorSchemeFromCss=function(a){return(a=a.match(/color-scheme\s*:\s*([^;]+)/i))?a[1].trim():null};-StyleFormatPanel.prototype.addSvgRule=function(a,b,e,f,g,d,h,l,r){var k=this.editorUi,u=k.editor.graph;h.test(b.selectorText)&&(h=mxUtils.bind(this,function(w,y,A,G){var D=mxUtils.trim(w.style.getPropertyValue(y));if(""!=D&&"url("!=D.substring(0,4)){var F=D;"transparent"==F?F=mxConstants.NONE:(D=mxUtils.isLightDarkColor(F))&&G?G=!1:D||G||(F="light-dark("+F+", "+F+")");w=this.createColorOption(A+" "+w.selectorText,function(){return F},mxUtils.bind(this,function(H){g[d].style.setProperty(y,H==mxConstants.NONE?-"transparent":mxUtils.getLightDarkColor(H).cssText);H="";r&&mxUtils.isLightDarkColor(g[d].style[y])&&(e.documentElement.style.colorScheme="light dark");for(var M=0;M<g.length;M++)H+=g[M].cssText+" ";f.textContent=H;H=mxUtils.getXml(e.documentElement);u.setCellStyles(mxConstants.STYLE_IMAGE,"data:image/svg+xml,"+(window.btoa?btoa(unescape(encodeURIComponent(H))):Base64.encode(H,!0)),k.getSelectionState().cells)}),"#ffffff",{install:function(H){},destroy:function(){}},null,null,null,G);a.appendChild(w);+"darkMode",null),q=""==h.documentElement.style.colorScheme,k=h.getElementsByTagName("style");for(b=0;b<k.length;b++){var u=this.getCssRules(mxUtils.getTextContent(k[b]));for(e=0;e<u.length;e++)this.addSvgRule(a,u[e],h,k[b],u,e,f,l,q)}}}}catch(w){}return a};StyleFormatPanel.prototype.getColorSchemeFromCss=function(a){return(a=a.match(/color-scheme\s*:\s*([^;]+)/i))?a[1].trim():null};+StyleFormatPanel.prototype.addSvgRule=function(a,b,e,f,g,d,h,l,q){var k=this.editorUi,u=k.editor.graph;h.test(b.selectorText)&&(h=mxUtils.bind(this,function(w,y,A,F){var D=mxUtils.trim(w.style.getPropertyValue(y));if(""!=D&&"url("!=D.substring(0,4)){var G=D;"transparent"==G?G=mxConstants.NONE:(D=mxUtils.isLightDarkColor(G))&&F?F=!1:D||F||(G="light-dark("+G+", "+G+")");w=this.createColorOption(A+" "+w.selectorText,function(){return G},mxUtils.bind(this,function(H){g[d].style.setProperty(y,H==mxConstants.NONE?+"transparent":mxUtils.getLightDarkColor(H).cssText);H="";q&&mxUtils.isLightDarkColor(g[d].style[y])&&(e.documentElement.style.colorScheme="light dark");for(var M=0;M<g.length;M++)H+=g[M].cssText+" ";f.textContent=H;H=mxUtils.getXml(e.documentElement);u.setCellStyles(mxConstants.STYLE_IMAGE,"data:image/svg+xml,"+(window.btoa?btoa(unescape(encodeURIComponent(H))):Base64.encode(H,!0)),k.getSelectionState().cells)}),"#ffffff",{install:function(H){},destroy:function(){}},null,null,null,F);a.appendChild(w);a.style.display=""}}),h(b,"fill",mxResources.get("fill"),l),h(b,"stroke",mxResources.get("line"),l),h(b,"stop-color",mxResources.get("gradient"),l))};StyleFormatPanel.prototype.addEditOps=function(a){var b=this.editorUi.getSelectionState();if(1==b.cells.length){var e=document.createElement("select");e.style.position="relative";e.style.marginBottom="2px";e.className="geFullWidthElement";var f="edit copyAsText editLink editShape editImage editData copyData pasteData editConnectionPoints editGeometry editTooltip editStyle".split(" "),g=null;if(null!=this.editorUi.sidebar){var d=this.editorUi.sidebar.getKeyStyle(b.cells[0].style);g=this.editorUi.sidebar.getLibsForStyle(d);-null!=g||this.editorUi.sidebar.isSearchIndexLoaded()||null==b.style.shape||"mxgraph."!=String(b.style.shape).substring(0,8)||(g=[])}null!=g&&f.push("openLibrary");for(d=0;d<f.length;d++){var h=this.editorUi.actions.get(f[d]);if(null==h||h.enabled){var l=document.createElement("option");l.setAttribute("value",f[d]);var r=mxResources.get(f[d]);mxUtils.write(l,r);null!=h&&null!=h.shortcut&&(r+=" ("+h.shortcut+")");l.setAttribute("title",r);e.appendChild(l)}}1<e.children.length&&(a.appendChild(e),mxEvent.addListener(e,+null!=g||this.editorUi.sidebar.isSearchIndexLoaded()||null==b.style.shape||"mxgraph."!=String(b.style.shape).substring(0,8)||(g=[])}null!=g&&f.push("openLibrary");for(d=0;d<f.length;d++){var h=this.editorUi.actions.get(f[d]);if(null==h||h.enabled){var l=document.createElement("option");l.setAttribute("value",f[d]);var q=mxResources.get(f[d]);mxUtils.write(l,q);null!=h&&null!=h.shortcut&&(q+=" ("+h.shortcut+")");l.setAttribute("title",q);e.appendChild(l)}}1<e.children.length&&(a.appendChild(e),mxEvent.addListener(e,"change",mxUtils.bind(this,function(k){"openLibrary"==e.value?(null!=g&&0==g.length&&(this.editorUi.sidebar.updateSearchIndex(),k=this.editorUi.sidebar.getKeyStyle(b.cells[0].style),g=this.editorUi.sidebar.getLibsForStyle(k)),null!=g&&0<g.length?this.editorUi.sidebar.openLibraries(g):this.editorUi.handleError({message:mxResources.get("objectNotFound")}),e.value="edit"):(k=this.editorUi.actions.get(e.value),e.value="edit",null!=k&&k.funct())})),b.image&&(f=this.editorUi.editor.graph,f=f.view.getState(f.getSelectionCell()),null!=f&&null!=mxUtils.getValue(f.style,mxConstants.STYLE_IMAGE,null)&&(f=mxUtils.button(mxResources.get("crop")+"...",mxUtils.bind(this,function(k){this.editorUi.actions.get("crop").funct()})),f.setAttribute("title",mxResources.get("crop")),e.style.width="104px",f.style.width="104px",f.style.position="relative",f.style.top="-1px",f.style.marginLeft="2px",f.style.marginBottom="1px",a.appendChild(f))))}return a};-StyleFormatPanel.prototype.addFill=function(a){function b(){h.innerHTML="";A=1;for(var F=0;F<Editor.fillStyles.length;F++){var H=document.createElement("option");H.setAttribute("value",Editor.fillStyles[F].val);mxUtils.write(H,Editor.fillStyles[F].dispName);h.appendChild(H)}}var e=this.editorUi,f=e.editor.graph,g=e.getSelectionState(),d=document.createElement("select");d.style.position="absolute";d.style.left="76px";d.style.width="86px";var h=d.cloneNode(!1);mxEvent.addListener(d,"click",function(F){mxEvent.consume(F)});-mxEvent.addListener(h,"click",function(F){mxEvent.consume(F)});var l=this.createCellColorOption(mxResources.get("gradient"),mxConstants.STYLE_GRADIENTCOLOR,"default",function(F){d.style.display=null==F||F==mxConstants.NONE?"none":""},function(F){f.updateCellStyles({gradientColor:F},f.getSelectionCells())},f.getDefaultColor(g.style,mxConstants.STYLE_GRADIENTCOLOR,f.shapeForegroundColor,f.shapeBackgroundColor));l.style.fontWeight="bold";var r="image"==g.style.shape?mxConstants.STYLE_IMAGE_BACKGROUND:-mxConstants.STYLE_FILLCOLOR,k=this.createCellColorOption(mxResources.get("fill"),r,"default",null,mxUtils.bind(this,function(F){f.setCellStyles(r,F,g.cells)}),f.getDefaultColor(g.style,r,f.shapeBackgroundColor,f.shapeForegroundColor));k.style.fontWeight="bold";var u=mxUtils.getValue(g.style,r,null);l.style.display=null!=u&&u!=mxConstants.NONE&&g.fill&&"image"!=g.style.shape?"":"none";var w=[mxConstants.DIRECTION_NORTH,mxConstants.DIRECTION_EAST,mxConstants.DIRECTION_SOUTH,mxConstants.DIRECTION_WEST,-mxConstants.DIRECTION_RADIAL];for(u=0;u<w.length;u++){var y=document.createElement("option");y.setAttribute("value",w[u]);mxUtils.write(y,mxResources.get(w[u]));d.appendChild(y)}l.appendChild(d);var A;b();g.gradient&&k.appendChild(h);var G=mxUtils.bind(this,function(){g=e.getSelectionState();var F=mxUtils.getValue(g.style,mxConstants.STYLE_GRADIENT_DIRECTION,mxConstants.DIRECTION_SOUTH),H=mxUtils.getValue(g.style,"fillStyle","auto");""==F&&(F=mxConstants.DIRECTION_SOUTH);d.value=F;a.style.display=-g.fill?"":"none";F=mxUtils.getValue(g.style,r,null);if(g.fill&&null!=F&&F!=mxConstants.NONE&&"filledEdge"!=g.style.shape){if("1"==g.style.sketch){if(2!=A){h.innerHTML="";A=2;for(F=0;F<Editor.roughFillStyles.length;F++){var M=document.createElement("option");M.setAttribute("value",Editor.roughFillStyles[F].val);mxUtils.write(M,Editor.roughFillStyles[F].dispName);h.appendChild(M)}h.value="auto"}}else 1!=A&&b();h.value=H;h.value||(H="auto",h.value=H);h.style.display="1"==g.style.sketch||"none"==d.style.display?-"":"none";l.style.display=!g.gradient||g.containsImage||"1"==g.style.sketch&&"solid"!=H&&"auto"!=H?"none":""}else h.style.display="none",l.style.display="none"});f.getModel().addListener(mxEvent.CHANGE,G);this.listeners.push({destroy:function(){f.getModel().removeListener(G)}});G();mxEvent.addListener(d,"change",function(F){f.setCellStyles(mxConstants.STYLE_GRADIENT_DIRECTION,d.value,g.cells);e.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_GRADIENT_DIRECTION],"values",[d.value],-"cells",g.cells));mxEvent.consume(F)});mxEvent.addListener(h,"change",function(F){f.setCellStyles("fillStyle",h.value,g.cells);e.fireEvent(new mxEventObject("styleChanged","keys",["fillStyle"],"values",[h.value],"cells",g.cells));mxEvent.consume(F)});a.appendChild(k);a.appendChild(l);var D={};k=this.getCustomColors();for(u=0;u<k.length;u++)D[k[u].key]||(D[k[u].key]=!0,a.appendChild(this.createCellColorOption(k[u].title,k[u].key,k[u].defaultValue,null,null,k[u].defaultColorValue,k[u].undefinedColor,-!0)));k=mxUtils.bind(this,function(F,H,M){if(null!=F){F=F.split(",");H=null!=H?H.split(","):null;for(var N=0;N<F.length;N++)if(!D[F[N]]){D[F[N]]=!0;var K=null!=H?H[mxUtils.mod(N,H.length)]:null,T=null!=K?K:"default";a.appendChild(this.createCellColorOption(Editor.getLabelForStylename(F[N]),F[N],T,null,null,M,K,!0))}}});k(g.style.fillColorStyles,g.style.defaultFillColors,f.shapeBackgroundColor);k(g.style.strokeColorStyles,g.style.defaultStrokeColors,f.shapeForegroundColor);return a};+StyleFormatPanel.prototype.addFill=function(a){function b(){h.innerHTML="";A=1;for(var G=0;G<Editor.fillStyles.length;G++){var H=document.createElement("option");H.setAttribute("value",Editor.fillStyles[G].val);mxUtils.write(H,Editor.fillStyles[G].dispName);h.appendChild(H)}}var e=this.editorUi,f=e.editor.graph,g=e.getSelectionState(),d=document.createElement("select");d.style.position="absolute";d.style.left="76px";d.style.width="86px";var h=d.cloneNode(!1);mxEvent.addListener(d,"click",function(G){mxEvent.consume(G)});+mxEvent.addListener(h,"click",function(G){mxEvent.consume(G)});var l=this.createCellColorOption(mxResources.get("gradient"),mxConstants.STYLE_GRADIENTCOLOR,"default",function(G){d.style.display=null==G||G==mxConstants.NONE?"none":""},function(G){f.updateCellStyles({gradientColor:G},f.getSelectionCells())},f.getDefaultColor(g.style,mxConstants.STYLE_GRADIENTCOLOR,f.shapeForegroundColor,f.shapeBackgroundColor));l.style.fontWeight="bold";var q="image"==g.style.shape?mxConstants.STYLE_IMAGE_BACKGROUND:+mxConstants.STYLE_FILLCOLOR,k=this.createCellColorOption(mxResources.get("fill"),q,"default",null,mxUtils.bind(this,function(G){f.setCellStyles(q,G,g.cells)}),f.getDefaultColor(g.style,q,f.shapeBackgroundColor,f.shapeForegroundColor));k.style.fontWeight="bold";var u=mxUtils.getValue(g.style,q,null);l.style.display=null!=u&&u!=mxConstants.NONE&&g.fill&&"image"!=g.style.shape?"":"none";var w=[mxConstants.DIRECTION_NORTH,mxConstants.DIRECTION_EAST,mxConstants.DIRECTION_SOUTH,mxConstants.DIRECTION_WEST,+mxConstants.DIRECTION_RADIAL];for(u=0;u<w.length;u++){var y=document.createElement("option");y.setAttribute("value",w[u]);mxUtils.write(y,mxResources.get(w[u]));d.appendChild(y)}l.appendChild(d);var A;b();g.gradient&&k.appendChild(h);var F=mxUtils.bind(this,function(){g=e.getSelectionState();var G=mxUtils.getValue(g.style,mxConstants.STYLE_GRADIENT_DIRECTION,mxConstants.DIRECTION_SOUTH),H=mxUtils.getValue(g.style,"fillStyle","auto");""==G&&(G=mxConstants.DIRECTION_SOUTH);d.value=G;a.style.display=+g.fill?"":"none";G=mxUtils.getValue(g.style,q,null);if(g.fill&&null!=G&&G!=mxConstants.NONE&&"filledEdge"!=g.style.shape){if("1"==g.style.sketch){if(2!=A){h.innerHTML="";A=2;for(G=0;G<Editor.roughFillStyles.length;G++){var M=document.createElement("option");M.setAttribute("value",Editor.roughFillStyles[G].val);mxUtils.write(M,Editor.roughFillStyles[G].dispName);h.appendChild(M)}h.value="auto"}}else 1!=A&&b();h.value=H;h.value||(H="auto",h.value=H);h.style.display="1"==g.style.sketch||"none"==d.style.display?+"":"none";l.style.display=!g.gradient||g.containsImage||"1"==g.style.sketch&&"solid"!=H&&"auto"!=H?"none":""}else h.style.display="none",l.style.display="none"});f.getModel().addListener(mxEvent.CHANGE,F);this.listeners.push({destroy:function(){f.getModel().removeListener(F)}});F();mxEvent.addListener(d,"change",function(G){f.setCellStyles(mxConstants.STYLE_GRADIENT_DIRECTION,d.value,g.cells);e.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_GRADIENT_DIRECTION],"values",[d.value],+"cells",g.cells));mxEvent.consume(G)});mxEvent.addListener(h,"change",function(G){f.setCellStyles("fillStyle",h.value,g.cells);e.fireEvent(new mxEventObject("styleChanged","keys",["fillStyle"],"values",[h.value],"cells",g.cells));mxEvent.consume(G)});a.appendChild(k);a.appendChild(l);var D={};k=this.getCustomColors();for(u=0;u<k.length;u++)D[k[u].key]||(D[k[u].key]=!0,a.appendChild(this.createCellColorOption(k[u].title,k[u].key,k[u].defaultValue,null,null,k[u].defaultColorValue,k[u].undefinedColor,+!0)));k=mxUtils.bind(this,function(G,H,M){if(null!=G){G=G.split(",");H=null!=H?H.split(","):null;for(var N=0;N<G.length;N++)if(!D[G[N]]){D[G[N]]=!0;var K=null!=H?H[mxUtils.mod(N,H.length)]:null,T=null!=K?K:"default";a.appendChild(this.createCellColorOption(Editor.getLabelForStylename(G[N]),G[N],T,null,null,M,K,!0))}}});k(g.style.fillColorStyles,g.style.defaultFillColors,f.shapeBackgroundColor);k(g.style.strokeColorStyles,g.style.defaultStrokeColors,f.shapeForegroundColor);return a};StyleFormatPanel.prototype.getCustomColors=function(){var a=this.editorUi,b=a.editor.graph;a=a.getSelectionState();var e=[];if(null!=a.customProperties)for(var f in a.customProperties){var g=a.customProperties[f];if(null!=g&&g.primary&&("color"==g.type||"color"==g.subType)&&("function"!==typeof g.isVisible||g.isVisible(a,this))){var d="color"==g.subType?g.subDefVal:g.defVal;d=null!=d?d:b.shapeBackgroundColor;e.push({title:g.dispName,defaultValue:d,defaultColorValue:null!=g.defaultColor?g.defaultColor:d,undefinedColor:g.undefinedColor,key:g.name})}}a.swimlane&&(b=this.editorUi.editor.graph,e.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"default",defaultColorValue:b.shapeBackgroundColor}));return e};StyleFormatPanel.prototype.addDashPattern=function(a,b){var e=b.split(" ");if(2<=e.length){for(var f=0,g=0;g<e.length;g++)f+=parseInt(e[g]);b=Graph.createSvgImage(f,1,'<line transform="translate(0,1)" x1="0" y1="0" x2="'+f+'" y2="0" stroke-dasharray="'+b+'" stroke-width="2" stroke="black"/>',f,1);a.style.backgroundImage="url("+b.src+")";a.style.backgroundSize=f+"px 1px";a.style.backgroundRepeat="repeat-x"}else a.style.borderBottomStyle=b};StyleFormatPanel.prototype.addStroke=function(a){function b(O){var qa=document.createElement("div");mxUtils.write(qa,mxResources.get("custom"));qa.setAttribute("title",mxResources.get("custom"));qa.className="geStyleMenuItem";qa.style.textAlign="center";qa.style.display="block";qa.style.textOverflow="ellipsis";qa.style.overflow="hidden";qa.style.maxWidth=O+"px";qa.style.fontSize="12px";return qa}function e(O){var qa=g.fromUnit(parseFloat(K.value));qa=Math.min(999,Math.max(0,isNaN(qa)?1:qa));qa!=mxUtils.getValue(l.style,mxConstants.STYLE_STROKEWIDTH,1)&&(h.setCellStyles(mxConstants.STYLE_STROKEWIDTH,qa,l.cells),d.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_STROKEWIDTH],"values",[qa],"cells",l.cells)));K.value=g.inUnit(qa)+" "+g.getUnit();mxEvent.consume(O)}function f(O){var qa=g.fromUnit(parseFloat(T.value));qa=Math.min(999,Math.max(0,isNaN(qa)?1:qa));qa!=mxUtils.getValue(l.style,mxConstants.STYLE_STROKEWIDTH,1)&&(h.setCellStyles(mxConstants.STYLE_STROKEWIDTH,qa,l.cells),d.fireEvent(new mxEventObject("styleChanged",-"keys",[mxConstants.STYLE_STROKEWIDTH],"values",[qa],"cells",l.cells)));T.value=g.inUnit(qa)+" "+g.getUnit();mxEvent.consume(O)}var g=this,d=this.editorUi,h=d.editor.graph,l=d.getSelectionState(),r=document.createElement("div");r.className="geFormatEntry";l.stroke||(r.style.display="none");var k=document.createElement("select");k.style.position="absolute";k.style.left="72px";k.style.width="90px";for(var u=["sharp","rounded","curved"],w=0;w<u.length;w++){var y=document.createElement("option");y.setAttribute("value",+"keys",[mxConstants.STYLE_STROKEWIDTH],"values",[qa],"cells",l.cells)));T.value=g.inUnit(qa)+" "+g.getUnit();mxEvent.consume(O)}var g=this,d=this.editorUi,h=d.editor.graph,l=d.getSelectionState(),q=document.createElement("div");q.className="geFormatEntry";l.stroke||(q.style.display="none");var k=document.createElement("select");k.style.position="absolute";k.style.left="72px";k.style.width="90px";for(var u=["sharp","rounded","curved"],w=0;w<u.length;w++){var y=document.createElement("option");y.setAttribute("value",u[w]);mxUtils.write(y,mxResources.get(u[w]));k.appendChild(y)}mxEvent.addListener(k,"change",function(O){h.getModel().beginUpdate();try{var qa=[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],ja=["0","0"];"rounded"==k.value?ja=["1","0"]:"curved"==k.value&&(ja=["0","1"]);for(var va=0;va<qa.length;va++)h.setCellStyles(qa[va],ja[va],l.cells);d.fireEvent(new mxEventObject("styleChanged","keys",qa,"values",ja,"cells",l.cells))}finally{h.getModel().endUpdate()}mxEvent.consume(O)});mxEvent.addListener(k,"click",function(O){mxEvent.consume(O)});var A="image"==l.style.shape?mxConstants.STYLE_IMAGE_BORDER:mxConstants.STYLE_STROKECOLOR;u="image"==l.style.shape?mxResources.get("border"):mxResources.get("line");w=this.createCellColorOption(u,A,"default",null,mxUtils.bind(this,function(O){h.setCellStyles(A,O,l.cells);if(null==O||O==mxConstants.NONE){O=[];for(var qa=0;qa<l.cells.length;qa++)(h.isTableCell(l.cells[qa])||h.isTableRow(l.cells[qa]))&&O.push(l.cells[qa]);0<O.length&&h.setCellStyles(A,"inherit",-O)}}),h.shapeForegroundColor);w.style.fontWeight="bold";w.appendChild(k);var G=r.cloneNode(!1);G.style.position="relative";var D=mxUtils.bind(this,function(O,qa,ja,va,za){O=this.editorUi.menus.styleChange(O,"",va,za,"");va=document.createElement("div");this.addDashPattern(va,ja);O.firstChild.firstChild.className="geStyleMenuItem";O.firstChild.firstChild.style.width=qa+"px";O.firstChild.firstChild.appendChild(va);return O}),F=[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],H=d.toolbar.addMenu(new Menu(mxUtils.bind(this,-function(O){D(O,110,"solid",F,[null,null]).setAttribute("title",mxResources.get("solid"));D(O,110,"dashed",F,["1",null]).setAttribute("title",mxResources.get("dashed")+" (1)");D(O,110,"8 8",F,["1","8 8"]).setAttribute("title",mxResources.get("dashed")+" (2)");D(O,110,"12 12",F,["1","12 12"]).setAttribute("title",mxResources.get("dashed")+" (3)");D(O,110,"8 4 1 4",F,["1","8 4 1 4"]).setAttribute("title",mxResources.get("dashed")+" (4)");D(O,110,"dotted",F,["1","1 1"]).setAttribute("title",mxResources.get("dotted")+-" (1)");D(O,110,"1 2",F,["1","1 2"]).setAttribute("title",mxResources.get("dotted")+" (2)");D(O,110,"1 4",F,["1","1 4"]).setAttribute("title",mxResources.get("dotted")+" (3)");O.addItem("",null,mxUtils.bind(this,function(){d.prompt(mxResources.get("pattern"),mxUtils.getValue(l.style,mxConstants.STYLE_DASH_PATTERN,"8 4 1 4"),mxUtils.bind(this,function(qa){d.menus.createStyleChangeFunction(F,["1",qa])()}),!0)})).firstChild.appendChild(b(110))})),"",null,G),M=G.cloneNode(!1),N=d.toolbar.addMenu(new Menu(mxUtils.bind(this,+O)}}),h.shapeForegroundColor);w.style.fontWeight="bold";w.appendChild(k);var F=q.cloneNode(!1);F.style.position="relative";var D=mxUtils.bind(this,function(O,qa,ja,va,ya){O=this.editorUi.menus.styleChange(O,"",va,ya,"");va=document.createElement("div");this.addDashPattern(va,ja);O.firstChild.firstChild.className="geStyleMenuItem";O.firstChild.firstChild.style.width=qa+"px";O.firstChild.firstChild.appendChild(va);return O}),G=[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],H=d.toolbar.addMenu(new Menu(mxUtils.bind(this,+function(O){D(O,110,"solid",G,[null,null]).setAttribute("title",mxResources.get("solid"));D(O,110,"dashed",G,["1",null]).setAttribute("title",mxResources.get("dashed")+" (1)");D(O,110,"8 8",G,["1","8 8"]).setAttribute("title",mxResources.get("dashed")+" (2)");D(O,110,"12 12",G,["1","12 12"]).setAttribute("title",mxResources.get("dashed")+" (3)");D(O,110,"8 4 1 4",G,["1","8 4 1 4"]).setAttribute("title",mxResources.get("dashed")+" (4)");D(O,110,"dotted",G,["1","1 1"]).setAttribute("title",mxResources.get("dotted")++" (1)");D(O,110,"1 2",G,["1","1 2"]).setAttribute("title",mxResources.get("dotted")+" (2)");D(O,110,"1 4",G,["1","1 4"]).setAttribute("title",mxResources.get("dotted")+" (3)");O.addItem("",null,mxUtils.bind(this,function(){d.prompt(mxResources.get("pattern"),mxUtils.getValue(l.style,mxConstants.STYLE_DASH_PATTERN,"8 4 1 4"),mxUtils.bind(this,function(qa){d.menus.createStyleChangeFunction(G,["1",qa])()}),!0)})).firstChild.appendChild(b(110))})),"",null,F),M=F.cloneNode(!1),N=d.toolbar.addMenu(new Menu(mxUtils.bind(this,function(O){var qa=[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,mxConstants.STYLE_DASHED,"width"];Format.processMenuIcon(this.editorUi.menus.styleChange(O,"",qa,[null,null,null,null,null],"",null,null,null,!0,Format.connectionImage.src)).setAttribute("title",mxResources.get("line"));Format.processMenuIcon(this.editorUi.menus.styleChange(O,"",qa,["link",null,null,null,null],"",null,null,null,!0,Format.linkEdgeImage.src)).setAttribute("title",mxResources.get("link"));Format.processMenuIcon(this.editorUi.menus.styleChange(O,"",qa,["flexArrow",null,null,null,null],"",null,null,null,!0,Format.arrowImage.src)).setAttribute("title",mxResources.get("arrow"));Format.processMenuIcon(this.editorUi.menus.styleChange(O,"",qa,["arrow",null,null,null,null],"",null,null,null,!0,Format.simpleArrowImage.src)).setAttribute("title",mxResources.get("simpleArrow"));Format.processMenuIcon(this.editorUi.menus.styleChange(O,"",qa,["filledEdge",null,null,null,null],"",null,null,null,!0,Format.filledEdgeImage.src)).setAttribute("title","Filled Edge");Format.processMenuIcon(this.editorUi.menus.styleChange(O,"",qa,["pipe",null,null,null,null],"",null,null,null,!0,Format.pipeEdgeImage.src)).setAttribute("title","Pipe");Format.processMenuIcon(this.editorUi.menus.styleChange(O,"",qa,["wire",null,null,"1",null],"",null,null,null,!0,Format.wireEdgeImage.src)).setAttribute("title","Wire")})),"",null,M);N.setAttribute("title",mxResources.get("connection"));y=d.toolbar.addMenu(new Menu(mxUtils.bind(this,-function(O){D(O,44,"solid",F,[null,null]).setAttribute("title",mxResources.get("solid"));D(O,44,"dashed",F,["1",null]).setAttribute("title",mxResources.get("dashed")+" (1)");D(O,44,"8 8",F,["1","8 8"]).setAttribute("title",mxResources.get("dashed")+" (2)");D(O,44,"12 12",F,["1","12 12"]).setAttribute("title",mxResources.get("dashed")+" (3)");D(O,44,"8 4 1 4",F,["1","8 4 1 4"]).setAttribute("title",mxResources.get("dashed")+" (4)");D(O,44,"dotted",F,["1","1 1"]).setAttribute("title",mxResources.get("dotted")+-" (1)");D(O,44,"1 2",F,["1","1 2"]).setAttribute("title",mxResources.get("dotted")+" (2)");D(O,44,"1 4",F,["1","1 4"]).setAttribute("title",mxResources.get("dotted")+" (3)");O.addItem("",null,mxUtils.bind(this,function(){d.prompt(mxResources.get("pattern"),mxUtils.getValue(l.style,mxConstants.STYLE_DASH_PATTERN,"8 4 1 4"),mxUtils.bind(this,function(qa){d.menus.createStyleChangeFunction(F,["1",qa])()}),!0)})).firstChild.appendChild(b(44))})),"",null,M);u=G.cloneNode(!1);var K=document.createElement("input");-K.style.position="absolute";K.style.width="52px";K.style.left="148px";K.setAttribute("title",mxResources.get("linewidth"));G.appendChild(K);var T=K.cloneNode(!0);T.style.width="56px";T.style.left="144px";M.appendChild(T);var W=this.createStepper(K,e,this.getUnitStep(),null,null,this.isFloatUnit());W.style.display=K.style.display;G.appendChild(W);W=this.createStepper(T,f,this.getUnitStep(),null,null,this.isFloatUnit());W.style.display=T.style.display;M.appendChild(W);mxEvent.addListener(K,"blur",e);+function(O){D(O,44,"solid",G,[null,null]).setAttribute("title",mxResources.get("solid"));D(O,44,"dashed",G,["1",null]).setAttribute("title",mxResources.get("dashed")+" (1)");D(O,44,"8 8",G,["1","8 8"]).setAttribute("title",mxResources.get("dashed")+" (2)");D(O,44,"12 12",G,["1","12 12"]).setAttribute("title",mxResources.get("dashed")+" (3)");D(O,44,"8 4 1 4",G,["1","8 4 1 4"]).setAttribute("title",mxResources.get("dashed")+" (4)");D(O,44,"dotted",G,["1","1 1"]).setAttribute("title",mxResources.get("dotted")++" (1)");D(O,44,"1 2",G,["1","1 2"]).setAttribute("title",mxResources.get("dotted")+" (2)");D(O,44,"1 4",G,["1","1 4"]).setAttribute("title",mxResources.get("dotted")+" (3)");O.addItem("",null,mxUtils.bind(this,function(){d.prompt(mxResources.get("pattern"),mxUtils.getValue(l.style,mxConstants.STYLE_DASH_PATTERN,"8 4 1 4"),mxUtils.bind(this,function(qa){d.menus.createStyleChangeFunction(G,["1",qa])()}),!0)})).firstChild.appendChild(b(44))})),"",null,M);u=F.cloneNode(!1);var K=document.createElement("input");+K.style.position="absolute";K.style.width="52px";K.style.left="148px";K.setAttribute("title",mxResources.get("linewidth"));F.appendChild(K);var T=K.cloneNode(!0);T.style.width="56px";T.style.left="144px";M.appendChild(T);var W=this.createStepper(K,e,this.getUnitStep(),null,null,this.isFloatUnit());W.style.display=K.style.display;F.appendChild(W);W=this.createStepper(T,f,this.getUnitStep(),null,null,this.isFloatUnit());W.style.display=T.style.display;M.appendChild(W);mxEvent.addListener(K,"blur",e);mxEvent.addListener(K,"change",e);mxEvent.addListener(T,"blur",f);mxEvent.addListener(T,"change",f);var S=d.toolbar.addMenu(new Menu(mxUtils.bind(this,function(O){"arrow"!=l.style.shape&&(Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(O,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],[null,null,null],null,null,!0,Format.straightImage.src)).setAttribute("title",mxResources.get("straight")),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(O,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle",null,null],null,null,!0,Format.orthogonalImage.src)).setAttribute("title",mxResources.get("orthogonal")),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(O,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle",null,null,null],null,null,!0,Format.horizontalElbowImage.src)).setAttribute("title",mxResources.get("vertical")),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(O,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle","vertical",null,null],null,null,!0,Format.verticalElbowImage.src)).setAttribute("title",mxResources.get("horizontal")),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(O,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",null,null,@@ -3281,13 +3281,13 @@ l.style.shape)),"scaleX(-1)").setAttribute("title",mxResources.get("copy"));Form"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERzeroToMany",0],null,null,!1,Format.ERzeroToManyMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(O,"",[mxConstants.STYLE_ENDARROW,"endFill"],["doubleBlock",0],null,null,!1,Format.doubleBlockMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(O,"",[mxConstants.STYLE_ENDARROW,"endFill"],["doubleBlock",1],null,null,!1,Format.doubleBlockFilledMarkerImage.src),"scaleX(-1)")):Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(O,"",[mxConstants.STYLE_ENDARROW],[mxConstants.ARROW_BLOCK],null,null,!1,Format.blockMarkerImage.src),"scaleX(-1)").setAttribute("title",mxResources.get("block"));O.div.style.width="40px";window.setTimeout(mxUtils.bind(this,function(){null!=O.div&&mxUtils.fit(O.div)}),0)}})),"",null,u);N.style.width="67px";N.style.marginRight="2px";y.style.width="67px";y.style.marginRight="2px";S.style.width="67px";S.style.marginRight="2px";V.style.width="67px";V.style.marginRight="2px";fa.style.width="67px";fa.style.marginRight="2px";this.addArrow(N).appendChild(document.createElement("div"));this.addArrow(S).appendChild(document.createElement("div"));this.addArrow(V);this.addArrow(fa);H.style.width="142px";H=this.addArrow(H);y=this.addArrow(y);var P=document.createElement("div");P.className="gePatternPreview";P.style.width="100px";P.style.borderBottomStyle="solid";H.appendChild(P);var Z=document.createElement("div");Z.className="gePatternPreview";Z.style.width="36px";Z.style.borderBottomStyle="solid";y.appendChild(Z);a.appendChild(w);-a.appendChild(M);a.appendChild(G);w=G.cloneNode(!1);w.style.display="block";w.style.height="60px";w.style.paddingTop="2px";y=document.createElement("div");y.style.position="absolute";y.style.maxWidth="78px";y.style.overflow="hidden";y.style.textOverflow="ellipsis";y.style.marginTop="4px";y.style.fontWeight="normal";mxUtils.write(y,mxResources.get("size"));w.appendChild(y);var X=this.addUnitInput(w,this.getUnit(),82,52,function(){ma.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),+a.appendChild(M);a.appendChild(F);w=F.cloneNode(!1);w.style.display="block";w.style.height="60px";w.style.paddingTop="2px";y=document.createElement("div");y.style.position="absolute";y.style.maxWidth="78px";y.style.overflow="hidden";y.style.textOverflow="ellipsis";y.style.marginTop="4px";y.style.fontWeight="normal";mxUtils.write(y,mxResources.get("size"));w.appendChild(y);var X=this.addUnitInput(w,this.getUnit(),82,52,function(){ma.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),ba=this.addUnitInput(w,this.getUnit(),16,52,function(){ca.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(w);H=document.createElement("div");H.style.height="8px";w.appendChild(H);y=y.cloneNode(!1);mxUtils.write(y,mxResources.get("spacing"));w.appendChild(y);var L=this.addUnitInput(w,this.getUnit(),82,52,function(){oa.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),U=this.addUnitInput(w,this.getUnit(),16,52,function(){la.apply(this,arguments)},-this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(w);this.addLabel(w,mxResources.get("linestart"),82,62).style.fontSize="10px";this.addLabel(w,mxResources.get("lineend"),16,62).style.fontSize="10px";mxUtils.br(w);r=r.cloneNode(!1);r.className="geFormatEntry";y=document.createElement("div");mxUtils.write(y,mxResources.get("perimeter"));r.appendChild(y);var aa=this.addUnitInput(r,this.getUnit(),16,52,function(){ia.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());l.edges.length==-l.cells.length?(a.appendChild(u),a.appendChild(w)):l.vertices.length==l.cells.length&&a.appendChild(r);var ha=mxUtils.bind(this,function(O,qa,ja){function va(za,La,Na,Ja){Na=Na.getElementsByTagName("div")[0];null!=Na&&d.updateCssForMarker(Na,Ja,l.style.shape,za,La);return Na}l=d.getSelectionState();if(ja||document.activeElement!=K)O=parseFloat(mxUtils.getValue(l.style,mxConstants.STYLE_STROKEWIDTH,1)),K.value=isNaN(O)?"":this.inUnit(O)+" "+this.getUnit();if(ja||document.activeElement!=T)O=parseFloat(mxUtils.getValue(l.style,+this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(w);this.addLabel(w,mxResources.get("linestart"),82,62).style.fontSize="10px";this.addLabel(w,mxResources.get("lineend"),16,62).style.fontSize="10px";mxUtils.br(w);q=q.cloneNode(!1);q.className="geFormatEntry";y=document.createElement("div");mxUtils.write(y,mxResources.get("perimeter"));q.appendChild(y);var aa=this.addUnitInput(q,this.getUnit(),16,52,function(){ia.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());l.edges.length==+l.cells.length?(a.appendChild(u),a.appendChild(w)):l.vertices.length==l.cells.length&&a.appendChild(q);var ha=mxUtils.bind(this,function(O,qa,ja){function va(ya,La,Na,Ja){Na=Na.getElementsByTagName("div")[0];null!=Na&&d.updateCssForMarker(Na,Ja,l.style.shape,ya,La);return Na}l=d.getSelectionState();if(ja||document.activeElement!=K)O=parseFloat(mxUtils.getValue(l.style,mxConstants.STYLE_STROKEWIDTH,1)),K.value=isNaN(O)?"":this.inUnit(O)+" "+this.getUnit();if(ja||document.activeElement!=T)O=parseFloat(mxUtils.getValue(l.style,mxConstants.STYLE_STROKEWIDTH,1)),T.value=isNaN(O)?"":this.inUnit(O)+" "+this.getUnit();k.style.visibility="connector"==l.style.shape||"filledEdge"==l.style.shape||"wire"==l.style.shape||"pipe"==l.style.shape?"":"hidden";"1"==mxUtils.getValue(l.style,mxConstants.STYLE_CURVED,null)?k.value="curved":"1"==mxUtils.getValue(l.style,mxConstants.STYLE_ROUNDED,null)&&(k.value="rounded");P.style.borderBottom="1px solid black";"1"==mxUtils.getValue(l.style,mxConstants.STYLE_DASHED,null)&&(O=mxUtils.getValue(l.style,mxConstants.STYLE_DASH_PATTERN,""),2<=String(O).split(" ").length?(P.style.borderBottom="1px solid transparent",this.addDashPattern(P,O)):P.style.borderBottom="1px dashed black");Z.style.backgroundImage=P.style.backgroundImage;Z.style.backgroundPosition=P.style.backgroundPosition;Z.style.backgroundSize=P.style.backgroundSize;Z.style.backgroundRepeat=P.style.backgroundRepeat;Z.style.borderBottom=P.style.borderBottom;O=S.getElementsByTagName("div")[1];null!=O&&(O.style.backgroundImage="url("+d.getImageForEdgeStyle(l.style)+-")");O=N.getElementsByTagName("div")[1];null!=O&&(O.style.backgroundImage="url("+d.getImageForEdgeShape(l.style)+")");l.edges.length==l.cells.length?(M.style.display="",G.style.display="none"):(M.style.display="none",G.style.display="");Graph.lineJumpsEnabled&&0<l.edges.length&&0==l.vertices.length&&l.lineJumps&&(a.style.borderBottomStyle="none");va(mxUtils.getValue(l.style,mxConstants.STYLE_STARTARROW,null),mxUtils.getValue(l.style,"startFill","1"),V,"start");va(mxUtils.getValue(l.style,mxConstants.STYLE_ENDARROW,+")");O=N.getElementsByTagName("div")[1];null!=O&&(O.style.backgroundImage="url("+d.getImageForEdgeShape(l.style)+")");l.edges.length==l.cells.length?(M.style.display="",F.style.display="none"):(M.style.display="none",F.style.display="");Graph.lineJumpsEnabled&&0<l.edges.length&&0==l.vertices.length&&l.lineJumps&&(a.style.borderBottomStyle="none");va(mxUtils.getValue(l.style,mxConstants.STYLE_STARTARROW,null),mxUtils.getValue(l.style,"startFill","1"),V,"start");va(mxUtils.getValue(l.style,mxConstants.STYLE_ENDARROW,null),mxUtils.getValue(l.style,"endFill","1"),fa,"end");mxUtils.setOpacity(S,"arrow"==l.style.shape?30:100);"connector"!=l.style.shape&&"flexArrow"!=l.style.shape&&"filledEdge"!=l.style.shape&&"wire"!=l.style.shape&&"pipe"!=l.style.shape&&(mxUtils.setOpacity(V,30),mxUtils.setOpacity(fa,30));if(ja||document.activeElement!=X)O=parseInt(mxUtils.getValue(l.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE)),X.value=isNaN(O)?"":this.inUnit(O)+" "+this.getUnit();if(ja||document.activeElement!=L)O=parseInt(mxUtils.getValue(l.style,mxConstants.STYLE_SOURCE_PERIMETER_SPACING,0)),L.value=isNaN(O)?"":this.inUnit(O)+" "+this.getUnit();if(ja||document.activeElement!=ba)O=parseInt(mxUtils.getValue(l.style,mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE)),ba.value=isNaN(O)?"":this.inUnit(O)+" "+this.getUnit();if(ja||document.activeElement!=L)O=parseInt(mxUtils.getValue(l.style,mxConstants.STYLE_TARGET_PERIMETER_SPACING,0)),U.value=isNaN(O)?"":this.inUnit(O)+" "+this.getUnit();if(ja||document.activeElement!=aa)O=parseInt(mxUtils.getValue(l.style,mxConstants.STYLE_PERIMETER_SPACING,0)),aa.value=isNaN(O)?"":this.inUnit(O)+" "+this.getUnit()});var ma=this.installInputHandler(X,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE,0,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var oa=this.installInputHandler(L,mxConstants.STYLE_SOURCE_PERIMETER_SPACING,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var ca=this.installInputHandler(ba,mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE,@@ -3295,35 +3295,35 @@ aa)O=parseInt(mxUtils.getValue(l.style,mxConstants.STYLE_PERIMETER_SPACING,0)),aha);this.listeners.push({destroy:function(){h.getModel().removeListener(ha)}});ha();return a};StyleFormatPanel.prototype.addLineJumps=function(a){var b=this.editorUi,e=b.editor.graph,f=b.getSelectionState();a.style.height="22px";if(Graph.lineJumpsEnabled&&0<f.edges.length&&0==f.vertices.length&&f.lineJumps){a.style.display="flex";a.style.alignItems="center";var g=document.createElement("div");g.style.position="absolute";g.style.maxWidth="72px";g.style.overflow="hidden";g.style.textOverflow="ellipsis";mxUtils.write(g,mxResources.get("lineJumps"));a.appendChild(g);var d=document.createElement("select");d.style.left="72px";d.style.width="72px";g=["none","arc","gap","sharp","line"];for(var h=0;h<g.length;h++){var l=document.createElement("option");l.setAttribute("value",g[h]);mxUtils.write(l,mxResources.get(g[h]));d.appendChild(l)}mxEvent.addListener(d,"change",function(w){e.getModel().beginUpdate();try{e.setCellStyles("jumpStyle",d.value,f.cells),b.fireEvent(new mxEventObject("styleChanged","keys",["jumpStyle"],"values",[d.value],"cells",f.cells))}finally{e.getModel().endUpdate()}mxEvent.consume(w)});-mxEvent.addListener(d,"click",function(w){mxEvent.consume(w)});a.appendChild(d);var r=this.addUnitInput(a,this.getUnit(),16,52,function(){k.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());var k=this.installInputHandler(r,"jumpSize",Graph.defaultJumpSize,0,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var u=mxUtils.bind(this,function(w,y,A){f=b.getSelectionState();d.value=mxUtils.getValue(f.style,"jumpStyle","none");if(A||document.activeElement!=r)w=parseInt(mxUtils.getValue(f.style,-"jumpSize",Graph.defaultJumpSize)),r.value=isNaN(w)?"":this.inUnit(w)+" "+this.getUnit()});this.addKeyHandler(r,u);e.getModel().addListener(mxEvent.CHANGE,u);this.listeners.push({destroy:function(){e.getModel().removeListener(u)}});u()}else a.style.display="none";return a};-StyleFormatPanel.prototype.addEffects=function(a){var b=this.editorUi,e=b.editor.graph,f=b.getSelectionState(),g=document.createElement("table");g.className="geFullWidthElement";g.style.fontWeight="bold";g.style.tableLayout="fixed";var d=document.createElement("tbody"),h=document.createElement("tr");h.style.padding="0px";var l=document.createElement("td");l.style.padding="0px";l.style.width="50%";l.style.verticalAlign="top";var r=l.cloneNode(!0);r.style.paddingLeft="8px";h.appendChild(l);h.appendChild(r);-d.appendChild(h);g.appendChild(d);a.appendChild(g);var k=l,u=mxUtils.bind(this,function(y,A,G,D){y=this.createCellOption(y,A,G,null,null,D);y.style.alignItems="top";k.appendChild(y);k=k==l?r:l;return y}),w=mxUtils.bind(this,function(y,A,G){f=b.getSelectionState();l.innerText="";r.innerText="";k=l;f.rounded&&u(mxResources.get("rounded"),mxConstants.STYLE_ROUNDED,0);f.swimlane&&u(mxResources.get("divider"),"swimlaneLine",1);u(mxResources.get("sketch"),"sketch",0,function(F,H){e.updateCellStyles({sketch:H?-"1":null,curveFitting:H?Editor.sketchDefaultCurveFitting:null,jiggle:H?Editor.sketchDefaultJiggle:null},F)});f.glass&&u(mxResources.get("glass"),mxConstants.STYLE_GLASS,0);y=u(mxResources.get("shadow"),mxConstants.STYLE_SHADOW,0);Editor.enableShadowOption||(y.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),mxUtils.setOpacity(y,60));0<f.edges.length&&0==f.vertices.length&&u(mxResources.get("flowAnimation",null,"Flow Animation"),"flowAnimation",0);if(null!=f.customProperties)for(var D in f.customProperties)y=+mxEvent.addListener(d,"click",function(w){mxEvent.consume(w)});a.appendChild(d);var q=this.addUnitInput(a,this.getUnit(),16,52,function(){k.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());var k=this.installInputHandler(q,"jumpSize",Graph.defaultJumpSize,0,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var u=mxUtils.bind(this,function(w,y,A){f=b.getSelectionState();d.value=mxUtils.getValue(f.style,"jumpStyle","none");if(A||document.activeElement!=q)w=parseInt(mxUtils.getValue(f.style,+"jumpSize",Graph.defaultJumpSize)),q.value=isNaN(w)?"":this.inUnit(w)+" "+this.getUnit()});this.addKeyHandler(q,u);e.getModel().addListener(mxEvent.CHANGE,u);this.listeners.push({destroy:function(){e.getModel().removeListener(u)}});u()}else a.style.display="none";return a};+StyleFormatPanel.prototype.addEffects=function(a){var b=this.editorUi,e=b.editor.graph,f=b.getSelectionState(),g=document.createElement("table");g.className="geFullWidthElement";g.style.fontWeight="bold";g.style.tableLayout="fixed";var d=document.createElement("tbody"),h=document.createElement("tr");h.style.padding="0px";var l=document.createElement("td");l.style.padding="0px";l.style.width="50%";l.style.verticalAlign="top";var q=l.cloneNode(!0);q.style.paddingLeft="8px";h.appendChild(l);h.appendChild(q);+d.appendChild(h);g.appendChild(d);a.appendChild(g);var k=l,u=mxUtils.bind(this,function(y,A,F,D){y=this.createCellOption(y,A,F,null,null,D);y.style.alignItems="top";k.appendChild(y);k=k==l?q:l;return y}),w=mxUtils.bind(this,function(y,A,F){f=b.getSelectionState();l.innerText="";q.innerText="";k=l;f.rounded&&u(mxResources.get("rounded"),mxConstants.STYLE_ROUNDED,0);f.swimlane&&u(mxResources.get("divider"),"swimlaneLine",1);u(mxResources.get("sketch"),"sketch",0,function(G,H){e.updateCellStyles({sketch:H?+"1":null,curveFitting:H?Editor.sketchDefaultCurveFitting:null,jiggle:H?Editor.sketchDefaultJiggle:null},G)});f.glass&&u(mxResources.get("glass"),mxConstants.STYLE_GLASS,0);y=u(mxResources.get("shadow"),mxConstants.STYLE_SHADOW,0);Editor.enableShadowOption||(y.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),mxUtils.setOpacity(y,60));0<f.edges.length&&0==f.vertices.length&&u(mxResources.get("flowAnimation",null,"Flow Animation"),"flowAnimation",0);if(null!=f.customProperties)for(var D in f.customProperties)y=f.customProperties[D],null!=y&&"bool"==y.type&&y.primary&&("function"!==typeof y.isVisible||y.isVisible(f,this))&&u(y.dispName,D,y.defVal?"1":"0")});e.getModel().addListener(mxEvent.CHANGE,w);this.listeners.push({destroy:function(){e.getModel().removeListener(w)}});w();return a};StyleFormatPanel.prototype.addStyleOps=function(a){1==this.editorUi.getSelectionState().cells.length&&this.addActions(a,["setAsDefaultStyle"]);return a};DiagramStylePanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(DiagramStylePanel,BaseFormatPanel);DiagramStylePanel.prototype.init=function(){this.container.appendChild(this.addView(this.createPanel()))};DiagramStylePanel.prototype.getGlobalStyleButtons=function(){var a=this.editorUi,b=a.editor.graph,e=document.createElement("div");e.className="geFormatEntry";var f=document.createElement("input");f.setAttribute("type","checkbox");f.checked=Editor.sketchMode;e.appendChild(f);mxUtils.write(e,mxResources.get("sketch"));mxEvent.addListener(e,"click",function(d){if(b.isEnabled()){var h=!Editor.sketchMode;b.updateCellStyles({sketch:h?"1":null,curveFitting:h?Editor.sketchDefaultCurveFitting:null,jiggle:h?-Editor.sketchDefaultJiggle:null},b.getVerticesAndEdges());a.setSketchMode(h);mxEvent.consume(d)}});e=[e,mxUtils.button(mxResources.get("rounded"),mxUtils.bind(this,function(d){var h=b.getVerticesAndEdges(),l=!0;if(0<h.length)for(var r=0;r<h.length;r++){var k=b.getCellStyle(h[r]);if(0==mxUtils.getValue(k,mxConstants.STYLE_ROUNDED,0)){l=!1;break}}l=!l;b.updateCellStyles({rounded:l?"1":"0"},h);l?(b.currentEdgeStyle.rounded="1",b.currentVertexStyle.rounded="1"):(delete b.currentEdgeStyle.rounded,delete b.currentVertexStyle.rounded);+Editor.sketchDefaultJiggle:null},b.getVerticesAndEdges());a.setSketchMode(h);mxEvent.consume(d)}});e=[e,mxUtils.button(mxResources.get("rounded"),mxUtils.bind(this,function(d){var h=b.getVerticesAndEdges(),l=!0;if(0<h.length)for(var q=0;q<h.length;q++){var k=b.getCellStyle(h[q]);if(0==mxUtils.getValue(k,mxConstants.STYLE_ROUNDED,0)){l=!1;break}}l=!l;b.updateCellStyles({rounded:l?"1":"0"},h);l?(b.currentEdgeStyle.rounded="1",b.currentVertexStyle.rounded="1"):(delete b.currentEdgeStyle.rounded,delete b.currentVertexStyle.rounded);mxEvent.consume(d)}))];if(!b.isEnabled())for(f=0;f<e.length;f++)if("BUTTON"==e[f].nodeName)e[f].setAttribute("disabled","disabled");else{var g=e[f].getElementsByTagName("input");0<g.length&&g[0].setAttribute("disabled","disabled")}return e};-DiagramStylePanel.prototype.addView=function(a){var b=this.editorUi,e=b.editor.graph,f=document.createElement("div");f.className="geFormatEntry";if(e.isEnabled()){var g=document.createElement("table");g.style.tableLayout="fixed";g.style.width="204px";var d=document.createElement("tbody"),h=document.createElement("tr"),l=document.createElement("td"),r=l.cloneNode(!0),k=document.createElement("div");k.style.display="inline-block";k.style.boxSizing="border-box";k.style.overflow="hidden";k.style.textOverflow=+DiagramStylePanel.prototype.addView=function(a){var b=this.editorUi,e=b.editor.graph,f=document.createElement("div");f.className="geFormatEntry";if(e.isEnabled()){var g=document.createElement("table");g.style.tableLayout="fixed";g.style.width="204px";var d=document.createElement("tbody"),h=document.createElement("tr"),l=document.createElement("td"),q=l.cloneNode(!0),k=document.createElement("div");k.style.display="inline-block";k.style.boxSizing="border-box";k.style.overflow="hidden";k.style.textOverflow="ellipsis";var u=mxResources.get("adaptiveColors");l.setAttribute("title",u);mxUtils.write(k,u);l.appendChild(k);mxUtils.lightDarkColorSupported?(k.style.width="75%",k=document.createElement("img"),k.setAttribute("title",mxResources.get("light")+"/"+mxResources.get("dark")),k.setAttribute("src",Editor.contrastImage),k.className="geButton",k.style.width="18px",k.style.height="18px",k.style.verticalAlign="bottom",l.appendChild(k),mxEvent.addListener(k,"click",function(){e.isEnabled()&&b.setDarkMode(!Editor.isDarkMode())})):k.style.width="100%";var w=document.createElement("select");w.style.width="82px";k=document.createElement("option");k.setAttribute("title",mxResources.get("default")+" ("+mxResources.get(Graph.getDefaultAdaptiveColorsKey())+")");mxUtils.write(k,mxUtils.htmlEntities(k.getAttribute("title")));k.setAttribute("value","default");w.appendChild(k);k=document.createElement("option");k.setAttribute("title",mxResources.get("automatic"));mxUtils.write(k,mxUtils.htmlEntities(k.getAttribute("title")));k.setAttribute("value","auto");w.appendChild(k);k=document.createElement("option");k.setAttribute("title",mxResources.get("simple"));mxUtils.write(k,mxUtils.htmlEntities(k.getAttribute("title")));k.setAttribute("value","simple");w.appendChild(k);k=document.createElement("option");k.setAttribute("title",mxResources.get("none"));mxUtils.write(k,mxUtils.htmlEntities(k.getAttribute("title")));k.setAttribute("value","none");w.appendChild(k);w.value=null==e.adaptiveColors?"default":e.adaptiveColors;mxEvent.addListener(w,"change",-function(){var A=new ChangePageSetup(b);A.ignoreColor=!0;A.ignoreImage=!0;A.adaptiveColors=w.value;e.model.execute(A)});r.appendChild(w);(!b.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)&&r.appendChild(b.menus.createHelpLink("https://github.com/jgraph/drawio/discussions/4713"));h.appendChild(l);h.appendChild(r);d.appendChild(h);k=this.getGlobalStyleButtons();for(u=0;u<k.length;u+=2){l=l.cloneNode(!1);r=r.cloneNode(!1);h=h.cloneNode(!1);var y=k[u];y.style.width="100%";l.appendChild(y);-h.appendChild(l);y=k[u+1];null!=y&&(y.style.width="100%",r.appendChild(y));h.appendChild(r);d.appendChild(h)}g.appendChild(d);f.appendChild(g);a.appendChild(f);e.isEnabled()&&null!=Editor.styles&&this.addGraphStyles(a)}return a};-DiagramStylePanel.prototype.addGraphStyles=function(a){var b=this.editorUi,e=b.editor.graph,f=e.getModel(),g=e.view.gridColor,d=["fillColor","strokeColor","fontColor","gradientColor"];a.style.whiteSpace="normal";var h=mxUtils.bind(this,function(T,W){var S=e.getVerticesAndEdges();f.beginUpdate();try{for(var V=0;V<S.length;V++){var fa=e.getCellStyle(S[V]);r||null==fa.labelBackgroundColor?r&&e.updateCellStyles({labelBackgroundColor:mxConstants.NONE},[S[V]]):e.updateCellStyles({labelBackgroundColor:null!=-W?W.background:null},[S[V]]);for(var P=f.isEdge(S[V]),Z=f.getStyle(S[V]),X=P?e.currentEdgeStyle:e.currentVertexStyle,ba=0;ba<T.length;ba++)if(null!=fa[T[ba]]&&fa[T[ba]]!=mxConstants.NONE||T[ba]!=mxConstants.STYLE_FILLCOLOR&&T[ba]!=mxConstants.STYLE_STROKECOLOR)Z=r&&P&&T[ba]==mxConstants.STYLE_FONTCOLOR?mxUtils.setStyle(Z,T[ba],"default"):mxUtils.setStyle(Z,T[ba],X[T[ba]]);f.setStyle(S[V],Z)}}finally{f.endUpdate()}}),l=mxUtils.bind(this,function(T,W,S){if(null!=T)for(var V=0;V<W.length;V++)if(null!=-T[W[V]]&&T[W[V]]!=mxConstants.NONE||W[V]!=mxConstants.STYLE_FILLCOLOR&&W[V]!=mxConstants.STYLE_STROKECOLOR)T[W[V]]=S[W[V]]}),r=!0,k=mxUtils.bind(this,function(T,W,S,V,fa){if(null!=T){null!=S&&(r||null==W.labelBackgroundColor?r&&(W.labelBackgroundColor=mxConstants.NONE):(V=null!=V?V.background:null,fa=null!=fa?fa:e,null==V&&(V=fa.background),null==V&&(V=fa.defaultPageBackgroundColor),W.labelBackgroundColor=V));for(var P in T)if(null==S||null!=W[P]&&W[P]!=mxConstants.NONE||P!=mxConstants.STYLE_FILLCOLOR&&-P!=mxConstants.STYLE_STROKECOLOR)r&&f.isEdge(S)&&P==mxConstants.STYLE_FONTCOLOR?W[P]="default":W[P]=T[P]}}),u=mxUtils.bind(this,function(T,W,S,V,fa){var P=document.createElement("div");P.style.position="relative";P.style.pointerEvents="none";P.style.width="60px";P.style.height="60px";fa.appendChild(P);var Z=new Graph(P,null,null,e.getStylesheet());Z.shapeForegroundColor="light-dark(#000000, #c0c0c0)";Z.shapeBackgroundColor="light-dark(var(--ge-panel-color), var(--ge-dark-panel-color))";Z.resetViewOnRootChange=+function(){var A=new ChangePageSetup(b);A.ignoreColor=!0;A.ignoreImage=!0;A.adaptiveColors=w.value;e.model.execute(A)});q.appendChild(w);(!b.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)&&q.appendChild(b.menus.createHelpLink("https://github.com/jgraph/drawio/discussions/4713"));h.appendChild(l);h.appendChild(q);d.appendChild(h);k=this.getGlobalStyleButtons();for(u=0;u<k.length;u+=2){l=l.cloneNode(!1);q=q.cloneNode(!1);h=h.cloneNode(!1);var y=k[u];y.style.width="100%";l.appendChild(y);+h.appendChild(l);y=k[u+1];null!=y&&(y.style.width="100%",q.appendChild(y));h.appendChild(q);d.appendChild(h)}g.appendChild(d);f.appendChild(g);a.appendChild(f);e.isEnabled()&&null!=Editor.styles&&this.addGraphStyles(a)}return a};+DiagramStylePanel.prototype.addGraphStyles=function(a){var b=this.editorUi,e=b.editor.graph,f=e.getModel(),g=e.view.gridColor,d=["fillColor","strokeColor","fontColor","gradientColor"];a.style.whiteSpace="normal";var h=mxUtils.bind(this,function(T,W){var S=e.getVerticesAndEdges();f.beginUpdate();try{for(var V=0;V<S.length;V++){var fa=e.getCellStyle(S[V]);q||null==fa.labelBackgroundColor?q&&e.updateCellStyles({labelBackgroundColor:mxConstants.NONE},[S[V]]):e.updateCellStyles({labelBackgroundColor:null!=+W?W.background:null},[S[V]]);for(var P=f.isEdge(S[V]),Z=f.getStyle(S[V]),X=P?e.currentEdgeStyle:e.currentVertexStyle,ba=0;ba<T.length;ba++)if(null!=fa[T[ba]]&&fa[T[ba]]!=mxConstants.NONE||T[ba]!=mxConstants.STYLE_FILLCOLOR&&T[ba]!=mxConstants.STYLE_STROKECOLOR)Z=q&&P&&T[ba]==mxConstants.STYLE_FONTCOLOR?mxUtils.setStyle(Z,T[ba],"default"):mxUtils.setStyle(Z,T[ba],X[T[ba]]);f.setStyle(S[V],Z)}}finally{f.endUpdate()}}),l=mxUtils.bind(this,function(T,W,S){if(null!=T)for(var V=0;V<W.length;V++)if(null!=+T[W[V]]&&T[W[V]]!=mxConstants.NONE||W[V]!=mxConstants.STYLE_FILLCOLOR&&W[V]!=mxConstants.STYLE_STROKECOLOR)T[W[V]]=S[W[V]]}),q=!0,k=mxUtils.bind(this,function(T,W,S,V,fa){if(null!=T){null!=S&&(q||null==W.labelBackgroundColor?q&&(W.labelBackgroundColor=mxConstants.NONE):(V=null!=V?V.background:null,fa=null!=fa?fa:e,null==V&&(V=fa.background),null==V&&(V=fa.defaultPageBackgroundColor),W.labelBackgroundColor=V));for(var P in T)if(null==S||null!=W[P]&&W[P]!=mxConstants.NONE||P!=mxConstants.STYLE_FILLCOLOR&&+P!=mxConstants.STYLE_STROKECOLOR)q&&f.isEdge(S)&&P==mxConstants.STYLE_FONTCOLOR?W[P]="default":W[P]=T[P]}}),u=mxUtils.bind(this,function(T,W,S,V,fa){var P=document.createElement("div");P.style.position="relative";P.style.pointerEvents="none";P.style.width="60px";P.style.height="60px";fa.appendChild(P);var Z=new Graph(P,null,null,e.getStylesheet());Z.shapeForegroundColor="light-dark(#000000, #c0c0c0)";Z.shapeBackgroundColor="light-dark(var(--ge-panel-color), var(--ge-dark-panel-color))";Z.resetViewOnRootChange=!1;Z.foldingEnabled=!1;Z.gridEnabled=!1;Z.autoScroll=!1;Z.setTooltips(!1);Z.setConnectable(!1);Z.setPanning(!1);Z.setEnabled(!1);Z.getCellStyle=function(L,U){U=null!=U?U:!0;var aa=mxUtils.clone(e.getCellStyle.apply(this,arguments)),ha=e.stylesheet.getDefaultVertexStyle(),ma=W;f.isEdge(L)&&(ha=e.stylesheet.getDefaultEdgeStyle(),ma=S);l(aa,d,ha);k(T,aa,L,V,Z);k(ma,aa,L,V,Z);U&&(aa=e.postProcessCellStyle(L,aa));return aa};Z.model.beginUpdate();try{var X=Z.insertVertex(Z.getDefaultParent(),null,"Shape",2,2,56,30,"strokeWidth=2;"),ba=Z.insertEdge(Z.getDefaultParent(),null,"Connector",X,X,"edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endSize=3;strokeWidth=2;");ba.geometry.points=[new mxPoint(28,46)];ba.geometry.offset=new mxPoint(0,8)}finally{Z.model.endUpdate()}fa=Z.view.getDrawPane().ownerSVGElement;null!=fa&&(P=fa.cloneNode(!0),P.style.position="absolute",P.style.clipPath="rect(0 52% 100% 0)",fa.style.clipPath="rect(0 100% 100% 51%)",fa.style.colorScheme="light",fa.parentNode.appendChild(P))}),-w=document.createElement("div");w.style.whiteSpace="normal";a.appendChild(w);null==this.format.cachedStyleEntries&&(this.format.cachedStyleEntries=[]);var y=mxUtils.bind(this,function(T,W,S,V,fa){var P=this.format.cachedStyleEntries[fa];null==P&&(P=document.createElement("div"),P.className="geGraphStylePreview",r||null==V||null==V.background||(P.style.backgroundColor=V.background),u(T,W,S,V,P),mxEvent.addGestureListeners(P,mxUtils.bind(this,function(Z){P.style.opacity=.6}),null,mxUtils.bind(this,-function(Z){P.style.opacity="";e.currentVertexStyle=mxUtils.clone(e.defaultVertexStyle);e.currentEdgeStyle=mxUtils.clone(e.defaultEdgeStyle);k(T,e.currentVertexStyle);k(T,e.currentEdgeStyle);k(W,e.currentVertexStyle);k(S,e.currentEdgeStyle);f.beginUpdate();try{var X=d.slice(),ba;for(ba in T)X.push(ba);h(X,V);if(!r){var L=new ChangePageSetup(b,null!=V?V.background:null);L.ignoreImage=!0;f.execute(L);f.execute(new ChangeGridColor(b,null!=V&&null!=V.gridColor?V.gridColor:g))}}finally{f.endUpdate()}})),-mxClient.IS_TOUCH||(mxEvent.addListener(P,"mouseenter",mxUtils.bind(this,function(Z){var X=e.getCellStyle;Z=e.background;var ba=e.view.gridColor;r||(e.background=null!=V?V.background:null,e.view.gridColor=null!=V&&null!=V.gridColor?V.gridColor:g);e.getCellStyle=function(L,U){U=null!=U?U:!0;var aa=mxUtils.clone(X.apply(this,arguments)),ha=e.stylesheet.getDefaultVertexStyle(),ma=W;f.isEdge(L)&&(ha=e.stylesheet.getDefaultEdgeStyle(),ma=S);l(aa,d,ha);k(T,aa,L,V);k(ma,aa,L,V);U&&(aa=this.postProcessCellStyle(L,-aa));return aa};e.refresh();e.getCellStyle=X;e.background=Z;e.view.gridColor=ba})),mxEvent.addListener(P,"mouseleave",mxUtils.bind(this,function(Z){e.refresh()}))),this.format.cachedStyleEntries[fa]=P);w.appendChild(P)}),A=Math.ceil(Editor.styles.length/10);this.format.currentStylePage=null!=this.format.currentStylePage?this.format.currentStylePage:0;var G=[],D=mxUtils.bind(this,function(){0<G.length&&(G[this.format.currentStylePage].style.background="#84d7ff");for(var T=10*this.format.currentStylePage;T<-Math.min(10*(this.format.currentStylePage+1),Editor.styles.length);T++){var W=Editor.styles[T];y(W.commonStyle,W.vertexStyle,W.edgeStyle,W.graph,T)}}),F=mxUtils.bind(this,function(T){0<=T&&T<A&&(G[this.format.currentStylePage].style.background="transparent",w.innerText="",this.format.currentStylePage=T,D())});if(1<A){var H=document.createElement("div");H.className="geSwitcher";H.style.width="200px";for(var M=0;M<A;M++){var N=document.createElement("div");N.className="geSwitcherDot";mxUtils.bind(this,-function(T,W){mxEvent.addListener(N,"click",mxUtils.bind(this,function(){F(T)}))})(M,N);H.appendChild(N);G.push(N)}a.appendChild(H);D();if(15>A&&0<G.length){M=document.createElement("div");M.className="geButton";M.style.backgroundImage="url("+Editor.chevronLeftImage+")";var K=M.cloneNode(!1);K.style.backgroundImage="url("+Editor.chevronRightImage+")";H.insertBefore(M,G[0]);H.appendChild(K);mxEvent.addListener(M,"click",mxUtils.bind(this,function(){F(mxUtils.mod(this.format.currentStylePage-1,A))}));-mxEvent.addListener(K,"click",mxUtils.bind(this,function(){F(mxUtils.mod(this.format.currentStylePage+1,A))}))}}else D();return a};DiagramFormatPanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(DiagramFormatPanel,BaseFormatPanel);DiagramFormatPanel.showPageView=!0;DiagramFormatPanel.prototype.showBackgroundImageOption=!0;+w=document.createElement("div");w.style.whiteSpace="normal";a.appendChild(w);null==this.format.cachedStyleEntries&&(this.format.cachedStyleEntries=[]);var y=mxUtils.bind(this,function(T,W,S,V,fa){var P=this.format.cachedStyleEntries[fa];null==P&&(P=document.createElement("div"),P.className="geGraphStylePreview",q||null==V||null==V.background||(P.style.backgroundColor=V.background),u(T,W,S,V,P),mxEvent.addGestureListeners(P,mxUtils.bind(this,function(Z){P.style.opacity=.6}),null,mxUtils.bind(this,+function(Z){P.style.opacity="";e.currentVertexStyle=mxUtils.clone(e.defaultVertexStyle);e.currentEdgeStyle=mxUtils.clone(e.defaultEdgeStyle);k(T,e.currentVertexStyle);k(T,e.currentEdgeStyle);k(W,e.currentVertexStyle);k(S,e.currentEdgeStyle);f.beginUpdate();try{var X=d.slice(),ba;for(ba in T)X.push(ba);h(X,V);if(!q){var L=new ChangePageSetup(b,null!=V?V.background:null);L.ignoreImage=!0;f.execute(L);f.execute(new ChangeGridColor(b,null!=V&&null!=V.gridColor?V.gridColor:g))}}finally{f.endUpdate()}})),+mxClient.IS_TOUCH||(mxEvent.addListener(P,"mouseenter",mxUtils.bind(this,function(Z){var X=e.getCellStyle;Z=e.background;var ba=e.view.gridColor;q||(e.background=null!=V?V.background:null,e.view.gridColor=null!=V&&null!=V.gridColor?V.gridColor:g);e.getCellStyle=function(L,U){U=null!=U?U:!0;var aa=mxUtils.clone(X.apply(this,arguments)),ha=e.stylesheet.getDefaultVertexStyle(),ma=W;f.isEdge(L)&&(ha=e.stylesheet.getDefaultEdgeStyle(),ma=S);l(aa,d,ha);k(T,aa,L,V);k(ma,aa,L,V);U&&(aa=this.postProcessCellStyle(L,+aa));return aa};e.refresh();e.getCellStyle=X;e.background=Z;e.view.gridColor=ba})),mxEvent.addListener(P,"mouseleave",mxUtils.bind(this,function(Z){e.refresh()}))),this.format.cachedStyleEntries[fa]=P);w.appendChild(P)}),A=Math.ceil(Editor.styles.length/10);this.format.currentStylePage=null!=this.format.currentStylePage?this.format.currentStylePage:0;var F=[],D=mxUtils.bind(this,function(){0<F.length&&(F[this.format.currentStylePage].style.background="#84d7ff");for(var T=10*this.format.currentStylePage;T<+Math.min(10*(this.format.currentStylePage+1),Editor.styles.length);T++){var W=Editor.styles[T];y(W.commonStyle,W.vertexStyle,W.edgeStyle,W.graph,T)}}),G=mxUtils.bind(this,function(T){0<=T&&T<A&&(F[this.format.currentStylePage].style.background="transparent",w.innerText="",this.format.currentStylePage=T,D())});if(1<A){var H=document.createElement("div");H.className="geSwitcher";H.style.width="200px";for(var M=0;M<A;M++){var N=document.createElement("div");N.className="geSwitcherDot";mxUtils.bind(this,+function(T,W){mxEvent.addListener(N,"click",mxUtils.bind(this,function(){G(T)}))})(M,N);H.appendChild(N);F.push(N)}a.appendChild(H);D();if(15>A&&0<F.length){M=document.createElement("div");M.className="geButton";M.style.backgroundImage="url("+Editor.chevronLeftImage+")";var K=M.cloneNode(!1);K.style.backgroundImage="url("+Editor.chevronRightImage+")";H.insertBefore(M,F[0]);H.appendChild(K);mxEvent.addListener(M,"click",mxUtils.bind(this,function(){G(mxUtils.mod(this.format.currentStylePage-1,A))}));+mxEvent.addListener(K,"click",mxUtils.bind(this,function(){G(mxUtils.mod(this.format.currentStylePage+1,A))}))}}else D();return a};DiagramFormatPanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(DiagramFormatPanel,BaseFormatPanel);DiagramFormatPanel.showPageView=!0;DiagramFormatPanel.prototype.showBackgroundImageOption=!0;DiagramFormatPanel.prototype.init=function(){var a=this.editorUi.editor.graph;this.container.appendChild(this.addView(this.createPanel()));a.isEnabled()&&(this.container.appendChild(this.addOptions(this.createPanel())),this.container.appendChild(this.addPaperSize(this.createPanel())),this.container.appendChild(this.addStyleOps(this.createPanel())))};DiagramFormatPanel.prototype.addView=function(a){var b=this.editorUi,e=b.editor.graph;a.appendChild(this.createTitle(mxResources.get("view")));this.addGridOption(a);DiagramFormatPanel.showPageView&&a.appendChild(this.createOption(mxResources.get("pageView"),function(){return e.pageVisible},function(d){b.actions.get("pageView").funct()},{install:function(d){this.listener=function(){d(e.pageVisible)};b.addListener("pageViewChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}}));if(e.isEnabled()){if(this.showBackgroundImageOption){var f=this.createOption(mxResources.get("background"),function(){return null!=e.backgroundImage},function(d){d||(d=new ChangePageSetup(b,null,null),d.ignoreColor=!0,e.model.execute(d))},{install:function(d){this.listener=function(){d(null!=e.backgroundImage)};b.addListener("backgroundImageChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}}),g=f.getElementsByTagName("input")[0];null!=g&&(g.style.visibility=null!=e.backgroundImage?@@ -3335,217 +3335,217 @@ a.appendChild(this.createOption(mxResources.get("connectionPoints"),function(){r{install:function(f){this.listener=function(){f(e.graphHandler.guidesEnabled)};b.addListener("guidesEnabledChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}})));return a};DiagramFormatPanel.prototype.addGridOption=function(a){function b(k){var u=e.isFloatUnit()?parseFloat(d.value):parseInt(d.value);u=e.fromUnit(Math.max(e.inUnit(1),isNaN(u)?e.inUnit(10):u));u!=g.getGridSize()&&(mxGraph.prototype.gridSize=u,g.setGridSize(u));d.value=e.inUnit(u)+" "+e.getUnit();mxEvent.consume(k)}var e=this,f=this.editorUi,g=f.editor.graph,d=document.createElement("input");d.style.position="absolute";d.style.width="50px";d.value=this.inUnit(g.getGridSize())+" "+this.getUnit();var h=this.createStepper(d,b,this.getUnitStep(),null,null,this.isFloatUnit());d.style.display=g.isGridEnabled()?"":"none";h.style.display=d.style.display;mxEvent.addListener(d,"keydown",function(k){13==k.keyCode?(g.container.focus(),mxEvent.consume(k)):27==k.keyCode&&(d.value=g.getGridSize(),g.container.focus(),mxEvent.consume(k))});mxEvent.addListener(d,"blur",b);mxEvent.addListener(d,"change",b);d.style.left="100px";h.style.left="150px";var l=function(){return"none"!=g.getAdaptiveColors()&&Editor.isDarkMode()},-r="light-dark("+mxGraphView.prototype.defaultGridColor+","+mxGraphView.prototype.defaultDarkGridColor+")";r=this.createColorOption(mxResources.get("grid"),function(){return g.isGridEnabled()?g.view.gridColor:null},function(k){var u=g.isGridEnabled();k==mxConstants.NONE?g.setGridEnabled(!1):(g.setGridEnabled(!0),f.setGridColor(k,l()));d.style.display=g.isGridEnabled()?"":"none";h.style.display=d.style.display;u!=g.isGridEnabled()&&(g.defaultGridEnabled=g.isGridEnabled(),f.fireEvent(new mxEventObject("gridEnabledChanged")))},-g.view.gridColor,{install:function(k){this.listener=function(){k(g.isGridEnabled()?g.view.gridColor:mxConstants.NONE)};f.addListener("darkModeChanged",this.listener);f.addListener("gridColorChanged",this.listener);f.addListener("gridEnabledChanged",this.listener)},destroy:function(){f.removeListener(this.listener)}},null,null,r,!0,l);r.appendChild(d);r.appendChild(h);a.appendChild(r)};+q="light-dark("+mxGraphView.prototype.defaultGridColor+","+mxGraphView.prototype.defaultDarkGridColor+")";q=this.createColorOption(mxResources.get("grid"),function(){return g.isGridEnabled()?g.view.gridColor:null},function(k){var u=g.isGridEnabled();k==mxConstants.NONE?g.setGridEnabled(!1):(g.setGridEnabled(!0),f.setGridColor(k,l()));d.style.display=g.isGridEnabled()?"":"none";h.style.display=d.style.display;u!=g.isGridEnabled()&&(g.defaultGridEnabled=g.isGridEnabled(),f.fireEvent(new mxEventObject("gridEnabledChanged")))},+g.view.gridColor,{install:function(k){this.listener=function(){k(g.isGridEnabled()?g.view.gridColor:mxConstants.NONE)};f.addListener("darkModeChanged",this.listener);f.addListener("gridColorChanged",this.listener);f.addListener("gridEnabledChanged",this.listener)},destroy:function(){f.removeListener(this.listener)}},null,null,q,!0,l);q.appendChild(d);q.appendChild(h);a.appendChild(q)};DiagramFormatPanel.prototype.addDocumentProperties=function(a){a.appendChild(this.createTitle(mxResources.get("options")));return a};DiagramFormatPanel.prototype.addPaperSize=function(a){var b=this.editorUi,e=b.editor.graph;a.appendChild(this.createTitle(mxResources.get("paperSize")));var f=PageSetupDialog.addPageFormatPanel(a,"formatpanel",e.pageFormat,function(d){if(null==e.pageFormat||e.pageFormat.width!=d.width||e.pageFormat.height!=d.height)d=new ChangePageSetup(b,null,null,d),d.ignoreColor=!0,d.ignoreImage=!0,e.model.execute(d)});this.addKeyHandler(f.widthInput,function(){f.set(e.pageFormat)});this.addKeyHandler(f.heightInput,function(){f.set(e.pageFormat)});var g=function(){f.set(e.pageFormat)};b.addListener("pageFormatChanged",g);this.listeners.push({destroy:function(){b.removeListener(g)}});e.getModel().addListener(mxEvent.CHANGE,g);this.listeners.push({destroy:function(){e.getModel().removeListener(g)}});return a};DiagramFormatPanel.prototype.addStyleOps=function(a){this.addActions(a,["editData"]);this.addActions(a,["clearDefaultStyle"]);return a};-DiagramFormatPanel.prototype.destroy=function(){BaseFormatPanel.prototype.destroy.apply(this,arguments);this.gridEnabledListener&&(this.editorUi.removeListener(this.gridEnabledListener),this.gridEnabledListener=null)};(function(){function a(c,m,t){mxShape.call(this);this.line=c;this.stroke=m;this.strokewidth=null!=t?t:1;this.updateBoundsFromLine()}function b(){mxSwimlane.call(this)}function e(){mxSwimlane.call(this)}function f(){mxCylinder.call(this)}function g(){mxConnector.call(this)}function d(){mxCylinder.call(this)}function h(){mxActor.call(this)}function l(){mxCylinder.call(this)}function r(){mxCylinder.call(this)}function k(){mxCylinder.call(this)}function u(){mxCylinder.call(this)}function w(){mxShape.call(this)}-function y(){mxShape.call(this)}function A(c,m,t,n){mxShape.call(this);this.bounds=c;this.fill=m;this.stroke=t;this.strokewidth=null!=n?n:1}function G(){mxActor.call(this)}function D(){mxCylinder.call(this)}function F(){mxCylinder.call(this)}function H(){mxActor.call(this)}function M(){mxActor.call(this)}function N(){mxActor.call(this)}function K(){mxActor.call(this)}function T(){mxActor.call(this)}function W(){mxActor.call(this)}function S(){mxActor.call(this)}function V(c,m){this.canvas=c;this.canvas.setLineJoin("round");+DiagramFormatPanel.prototype.destroy=function(){BaseFormatPanel.prototype.destroy.apply(this,arguments);this.gridEnabledListener&&(this.editorUi.removeListener(this.gridEnabledListener),this.gridEnabledListener=null)};(function(){function a(c,m,t){mxShape.call(this);this.line=c;this.stroke=m;this.strokewidth=null!=t?t:1;this.updateBoundsFromLine()}function b(){mxSwimlane.call(this)}function e(){mxSwimlane.call(this)}function f(){mxCylinder.call(this)}function g(){mxConnector.call(this)}function d(){mxCylinder.call(this)}function h(){mxActor.call(this)}function l(){mxCylinder.call(this)}function q(){mxCylinder.call(this)}function k(){mxCylinder.call(this)}function u(){mxCylinder.call(this)}function w(){mxShape.call(this)}+function y(){mxShape.call(this)}function A(c,m,t,n){mxShape.call(this);this.bounds=c;this.fill=m;this.stroke=t;this.strokewidth=null!=n?n:1}function F(){mxActor.call(this)}function D(){mxCylinder.call(this)}function G(){mxCylinder.call(this)}function H(){mxActor.call(this)}function M(){mxActor.call(this)}function N(){mxActor.call(this)}function K(){mxActor.call(this)}function T(){mxActor.call(this)}function W(){mxActor.call(this)}function S(){mxActor.call(this)}function V(c,m){this.canvas=c;this.canvas.setLineJoin("round");this.canvas.setLineCap("round");this.defaultVariation=m;this.originalLineTo=this.canvas.lineTo;this.canvas.lineTo=mxUtils.bind(this,V.prototype.lineTo);this.originalMoveTo=this.canvas.moveTo;this.canvas.moveTo=mxUtils.bind(this,V.prototype.moveTo);this.originalClose=this.canvas.close;this.canvas.close=mxUtils.bind(this,V.prototype.close);this.originalQuadTo=this.canvas.quadTo;this.canvas.quadTo=mxUtils.bind(this,V.prototype.quadTo);this.originalCurveTo=this.canvas.curveTo;this.canvas.curveTo=mxUtils.bind(this,V.prototype.curveTo);this.originalArcTo=this.canvas.arcTo;this.canvas.arcTo=mxUtils.bind(this,V.prototype.arcTo)}function fa(){mxRectangleShape.call(this)}function P(){mxRectangleShape.call(this)}function Z(){mxActor.call(this)}function X(){mxActor.call(this)}function ba(){mxActor.call(this)}function L(){mxRectangleShape.call(this)}function U(){mxRectangleShape.call(this)}function aa(){mxCylinder.call(this)}function ha(){mxShape.call(this)}function ma(){mxShape.call(this)}function oa(){mxEllipse.call(this)}-function ca(){mxShape.call(this)}function la(){mxShape.call(this)}function ia(){mxRectangleShape.call(this)}function O(){mxShape.call(this)}function qa(){mxShape.call(this)}function ja(){mxShape.call(this)}function va(){mxShape.call(this)}function za(){mxShape.call(this)}function La(){mxCylinder.call(this)}function Na(){mxCylinder.call(this)}function Ja(){mxRectangleShape.call(this)}function Ka(){mxDoubleEllipse.call(this)}function ta(){mxDoubleEllipse.call(this)}function Ea(){mxArrowConnector.call(this);+function ca(){mxShape.call(this)}function la(){mxShape.call(this)}function ia(){mxRectangleShape.call(this)}function O(){mxShape.call(this)}function qa(){mxShape.call(this)}function ja(){mxShape.call(this)}function va(){mxShape.call(this)}function ya(){mxShape.call(this)}function La(){mxCylinder.call(this)}function Na(){mxCylinder.call(this)}function Ja(){mxRectangleShape.call(this)}function Ka(){mxDoubleEllipse.call(this)}function ta(){mxDoubleEllipse.call(this)}function Ea(){mxArrowConnector.call(this);this.spacing=0}function Wa(){mxArrowConnector.call(this);this.spacing=0}function Xa(){mxActor.call(this)}function bb(){mxRectangleShape.call(this)}function eb(){mxActor.call(this)}function qb(){mxActor.call(this)}function fb(){mxActor.call(this)}function ab(){mxActor.call(this)}function hb(){mxActor.call(this)}function cb(){mxActor.call(this)}function p(){mxActor.call(this)}function B(){mxActor.call(this)}function C(){mxActor.call(this)}function E(){mxActor.call(this)}function J(){mxEllipse.call(this)}function Q(){mxEllipse.call(this)}function Y(){mxEllipse.call(this)}function ka(){mxRhombus.call(this)}function ea(){mxEllipse.call(this)}function na(){mxEllipse.call(this)}function Ba(){mxEllipse.call(this)}function Ma(){mxEllipse.call(this)}function Ia(){mxActor.call(this)}function Aa(){mxActor.call(this)}function Ha(){mxActor.call(this)}function xa(c,m,t,n){mxShape.call(this);this.bounds=c;this.fill=m;this.stroke=t;this.strokewidth=null!=n?n:1;this.rectStyle="square";this.size=10;this.absoluteCornerSize=-!0;this.indent=2;this.rectOutline="single"}function wa(){mxConnector.call(this)}function Sa(){mxConnector.call(this)}function Qa(c,m,t,n,q,v,x,I,z,da){x+=z;var R=n.clone();n.x-=q*(2*x+z);n.y-=v*(2*x+z);q*=x+z;v*=x+z;return function(){c.ellipse(R.x-q-x,R.y-v-x,2*x,2*x);da?c.fillAndStroke():c.stroke()}}mxUtils.extend(a,mxShape);a.prototype.updateBoundsFromLine=function(){var c=null;if(null!=this.line)for(var m=0;m<this.line.length;m++){var t=this.line[m];null!=t&&(t=new mxRectangle(t.x,t.y,this.strokewidth,-this.strokewidth),null==c?c=t:c.add(t))}this.bounds=null!=c?c:new mxRectangle};a.prototype.paintVertexShape=function(c,m,t,n,q){this.paintTableLine(c,this.line,0,0)};a.prototype.paintTableLine=function(c,m,t,n){if(null!=m){var q=null;c.begin();for(var v=0;v<m.length;v++){var x=m[v];null!=x&&(null==q?c.moveTo(x.x+t,x.y+n):null!=q&&c.lineTo(x.x+t,x.y+n));q=x}c.end();c.stroke()}};a.prototype.intersectsRectangle=function(c){var m=!1;if(mxShape.prototype.intersectsRectangle.apply(this,arguments)&&null!=-this.line)for(var t=null,n=0;n<this.line.length&&!m;n++){var q=this.line[n];null!=q&&null!=t&&(m=mxUtils.rectangleIntersectsSegment(c,t,q));t=q}return m};mxCellRenderer.registerShape("tableLine",a);mxUtils.extend(b,mxSwimlane);b.prototype.getLabelBounds=function(c){return 0==this.getTitleSize()?mxShape.prototype.getLabelBounds.apply(this,arguments):mxSwimlane.prototype.getLabelBounds.apply(this,arguments)};b.prototype.paintVertexShape=function(c,m,t,n,q){var v=null!=this.state?this.state.view.graph.isCellCollapsed(this.state.cell):-!1,x=this.isHorizontal(),I=this.getTitleSize();0==I||this.outline?Ba.prototype.paintVertexShape.apply(this,arguments):(mxSwimlane.prototype.paintVertexShape.apply(this,arguments),c.translate(-m,-t));v||this.outline||!(x&&I<q||!x&&I<n)||this.paintForeground(c,m,t,n,q)};b.prototype.paintForeground=function(c,m,t,n,q){if(null!=this.state){var v=this.flipH,x=this.flipV;if(this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION_SOUTH){var I=v;v=x;x=I}c.rotate(-this.getShapeRotation(),-v,x,m+n/2,t+q/2);s=this.scale;m=this.bounds.x/s;t=this.bounds.y/s;n=this.bounds.width/s;q=this.bounds.height/s;this.paintTableForeground(c,m,t,n,q)}};b.prototype.paintTableForeground=function(c,m,t,n,q){n=this.state.view.graph.getTableLines(this.state.cell,"0"!=mxUtils.getValue(this.state.style,"rowLines","1"),"0"!=mxUtils.getValue(this.state.style,"columnLines","1"));for(q=0;q<n.length;q++)a.prototype.paintTableLine(c,n[q],m,t)};b.prototype.configurePointerEvents=function(c){0==this.getTitleSize()?-c.pointerEvents=!1:mxSwimlane.prototype.configurePointerEvents.apply(this,arguments)};mxCellRenderer.registerShape("table",b);mxUtils.extend(e,b);e.prototype.paintForeground=function(){};mxCellRenderer.registerShape("tableRow",e);mxUtils.extend(f,mxCylinder);f.prototype.size=20;f.prototype.darkOpacity=0;f.prototype.darkOpacity2=0;f.prototype.paintVertexShape=function(c,m,t,n,q){var v=Math.max(0,Math.min(n,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size))))),x=Math.max(-1,Math.min(1,-parseFloat(mxUtils.getValue(this.style,"darkOpacity",this.darkOpacity)))),I=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity2",this.darkOpacity2))));c.translate(m,t);c.begin();c.moveTo(0,0);c.lineTo(n-v,0);c.lineTo(n,v);c.lineTo(n,q);c.lineTo(v,q);c.lineTo(0,q-v);c.lineTo(0,0);c.close();c.end();c.fillAndStroke();this.outline||(c.setShadow(!1),0!=x&&(c.setFillAlpha(Math.abs(x)),c.setFillColor(0>x?"#FFFFFF":"#000000"),c.begin(),c.moveTo(0,0),c.lineTo(n-v,0),c.lineTo(n,v),c.lineTo(v,-v),c.close(),c.fill()),0!=I&&(c.setFillAlpha(Math.abs(I)),c.setFillColor(0>I?"#FFFFFF":"#000000"),c.begin(),c.moveTo(0,0),c.lineTo(v,v),c.lineTo(v,q),c.lineTo(0,q-v),c.close(),c.fill()),c.begin(),c.moveTo(v,q),c.lineTo(v,v),c.lineTo(0,0),c.moveTo(v,v),c.lineTo(n,v),c.end(),c.stroke())};f.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)?(c=parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale,new mxRectangle(c,c,0,0)):null};mxCellRenderer.registerShape("cube",+!0;this.indent=2;this.rectOutline="single"}function wa(){mxConnector.call(this)}function Sa(){mxConnector.call(this)}function Qa(c,m,t,n,r,v,x,I,z,da){x+=z;var R=n.clone();n.x-=r*(2*x+z);n.y-=v*(2*x+z);r*=x+z;v*=x+z;return function(){c.ellipse(R.x-r-x,R.y-v-x,2*x,2*x);da?c.fillAndStroke():c.stroke()}}mxUtils.extend(a,mxShape);a.prototype.updateBoundsFromLine=function(){var c=null;if(null!=this.line)for(var m=0;m<this.line.length;m++){var t=this.line[m];null!=t&&(t=new mxRectangle(t.x,t.y,this.strokewidth,+this.strokewidth),null==c?c=t:c.add(t))}this.bounds=null!=c?c:new mxRectangle};a.prototype.paintVertexShape=function(c,m,t,n,r){this.paintTableLine(c,this.line,0,0)};a.prototype.paintTableLine=function(c,m,t,n){if(null!=m){var r=null;c.begin();for(var v=0;v<m.length;v++){var x=m[v];null!=x&&(null==r?c.moveTo(x.x+t,x.y+n):null!=r&&c.lineTo(x.x+t,x.y+n));r=x}c.end();c.stroke()}};a.prototype.intersectsRectangle=function(c){var m=!1;if(mxShape.prototype.intersectsRectangle.apply(this,arguments)&&null!=+this.line)for(var t=null,n=0;n<this.line.length&&!m;n++){var r=this.line[n];null!=r&&null!=t&&(m=mxUtils.rectangleIntersectsSegment(c,t,r));t=r}return m};mxCellRenderer.registerShape("tableLine",a);mxUtils.extend(b,mxSwimlane);b.prototype.getLabelBounds=function(c){return 0==this.getTitleSize()?mxShape.prototype.getLabelBounds.apply(this,arguments):mxSwimlane.prototype.getLabelBounds.apply(this,arguments)};b.prototype.paintVertexShape=function(c,m,t,n,r){var v=null!=this.state?this.state.view.graph.isCellCollapsed(this.state.cell):+!1,x=this.isHorizontal(),I=this.getTitleSize();0==I||this.outline?Ba.prototype.paintVertexShape.apply(this,arguments):(mxSwimlane.prototype.paintVertexShape.apply(this,arguments),c.translate(-m,-t));v||this.outline||!(x&&I<r||!x&&I<n)||this.paintForeground(c,m,t,n,r)};b.prototype.paintForeground=function(c,m,t,n,r){if(null!=this.state){var v=this.flipH,x=this.flipV;if(this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION_SOUTH){var I=v;v=x;x=I}c.rotate(-this.getShapeRotation(),+v,x,m+n/2,t+r/2);s=this.scale;m=this.bounds.x/s;t=this.bounds.y/s;n=this.bounds.width/s;r=this.bounds.height/s;this.paintTableForeground(c,m,t,n,r)}};b.prototype.paintTableForeground=function(c,m,t,n,r){n=this.state.view.graph.getTableLines(this.state.cell,"0"!=mxUtils.getValue(this.state.style,"rowLines","1"),"0"!=mxUtils.getValue(this.state.style,"columnLines","1"));for(r=0;r<n.length;r++)a.prototype.paintTableLine(c,n[r],m,t)};b.prototype.configurePointerEvents=function(c){0==this.getTitleSize()?+c.pointerEvents=!1:mxSwimlane.prototype.configurePointerEvents.apply(this,arguments)};mxCellRenderer.registerShape("table",b);mxUtils.extend(e,b);e.prototype.paintForeground=function(){};mxCellRenderer.registerShape("tableRow",e);mxUtils.extend(f,mxCylinder);f.prototype.size=20;f.prototype.darkOpacity=0;f.prototype.darkOpacity2=0;f.prototype.paintVertexShape=function(c,m,t,n,r){var v=Math.max(0,Math.min(n,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))))),x=Math.max(-1,Math.min(1,+parseFloat(mxUtils.getValue(this.style,"darkOpacity",this.darkOpacity)))),I=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity2",this.darkOpacity2))));c.translate(m,t);c.begin();c.moveTo(0,0);c.lineTo(n-v,0);c.lineTo(n,v);c.lineTo(n,r);c.lineTo(v,r);c.lineTo(0,r-v);c.lineTo(0,0);c.close();c.end();c.fillAndStroke();this.outline||(c.setShadow(!1),0!=x&&(c.setFillAlpha(Math.abs(x)),c.setFillColor(0>x?"#FFFFFF":"#000000"),c.begin(),c.moveTo(0,0),c.lineTo(n-v,0),c.lineTo(n,v),c.lineTo(v,+v),c.close(),c.fill()),0!=I&&(c.setFillAlpha(Math.abs(I)),c.setFillColor(0>I?"#FFFFFF":"#000000"),c.begin(),c.moveTo(0,0),c.lineTo(v,v),c.lineTo(v,r),c.lineTo(0,r-v),c.close(),c.fill()),c.begin(),c.moveTo(v,r),c.lineTo(v,v),c.lineTo(0,0),c.moveTo(v,v),c.lineTo(n,v),c.end(),c.stroke())};f.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)?(c=parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale,new mxRectangle(c,c,0,0)):null};mxCellRenderer.registerShape("cube",f);var Oa=Math.tan(mxUtils.toRadians(30)),Ra=(.5-Oa)/2;mxCellRenderer.registerShape("isoRectangle",h);mxUtils.extend(g,mxConnector);g.prototype.paintEdgeShape=function(c,m){var t=this.createMarker(c,m,!0),n=this.createMarker(c,m,!1);c.setDashed(!1);mxPolyline.prototype.paintEdgeShape.apply(this,arguments);null!=this.isDashed&&c.setDashed(this.isDashed,null!=this.style?1==mxUtils.getValue(this.style,mxConstants.STYLE_FIX_DASH,!1):!1);c.setShadow(!1);c.setStrokeColor(this.fill);mxPolyline.prototype.paintEdgeShape.apply(this,-arguments);c.setStrokeColor(this.stroke);c.setFillColor(this.stroke);c.setDashed(!1);null!=t&&t();null!=n&&n()};mxCellRenderer.registerShape("wire",g);mxUtils.extend(d,mxCylinder);d.prototype.size=6;d.prototype.paintVertexShape=function(c,m,t,n,q){c.setFillColor(this.stroke);var v=Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size))-2)+2*this.strokewidth;c.ellipse(m+.5*(n-v),t+.5*(q-v),v,v);c.fill();c.setFillColor(mxConstants.NONE);c.rect(m,t,n,q);c.fill()};mxCellRenderer.registerShape("waypoint",-d);mxUtils.extend(h,mxActor);h.prototype.size=20;h.prototype.redrawPath=function(c,m,t,n,q){m=Math.min(n,q/Oa);c.translate((n-m)/2,(q-m)/2+m/4);c.moveTo(0,.25*m);c.lineTo(.5*m,m*Ra);c.lineTo(m,.25*m);c.lineTo(.5*m,(.5-Ra)*m);c.lineTo(0,.25*m);c.close();c.end()};mxCellRenderer.registerShape("isoRectangle",h);mxUtils.extend(l,mxCylinder);l.prototype.size=20;l.prototype.redrawPath=function(c,m,t,n,q,v){m=Math.min(n,q/(.5+Oa));v?(c.moveTo(0,.25*m),c.lineTo(.5*m,(.5-Ra)*m),c.lineTo(m,.25*m),c.moveTo(.5*-m,(.5-Ra)*m),c.lineTo(.5*m,(1-Ra)*m)):(c.translate((n-m)/2,(q-m)/2),c.moveTo(0,.25*m),c.lineTo(.5*m,m*Ra),c.lineTo(m,.25*m),c.lineTo(m,.75*m),c.lineTo(.5*m,(1-Ra)*m),c.lineTo(0,.75*m),c.close());c.end()};mxCellRenderer.registerShape("isoCube",l);mxUtils.extend(r,mxCylinder);r.prototype.redrawPath=function(c,m,t,n,q,v){m=Math.min(q/2,Math.round(q/8)+this.strokewidth-1);if(v&&null!=this.fill||!v&&null==this.fill)c.moveTo(0,m),c.curveTo(0,2*m,n,2*m,n,m),v||(c.stroke(),c.begin()),c.translate(0,m/2),c.moveTo(0,-m),c.curveTo(0,2*m,n,2*m,n,m),v||(c.stroke(),c.begin()),c.translate(0,m/2),c.moveTo(0,m),c.curveTo(0,2*m,n,2*m,n,m),v||(c.stroke(),c.begin()),c.translate(0,-m);v||(c.moveTo(0,m),c.curveTo(0,-m/3,n,-m/3,n,m),c.lineTo(n,q-m),c.curveTo(n,q+m/3,0,q+m/3,0,q-m),c.close())};r.prototype.getLabelMargins=function(c){return new mxRectangle(0,2.5*Math.min(c.height/2,Math.round(c.height/8)+this.strokewidth-1),0,0)};mxCellRenderer.registerShape("datastore",r);mxUtils.extend(k,mxCylinder);k.prototype.size=30;k.prototype.darkOpacity=-0;k.prototype.paintVertexShape=function(c,m,t,n,q){var v=Math.max(0,Math.min(n,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size))))),x=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity",this.darkOpacity))));c.translate(m,t);c.begin();c.moveTo(0,0);c.lineTo(n-v,0);c.lineTo(n,v);c.lineTo(n,q);c.lineTo(0,q);c.lineTo(0,0);c.close();c.end();c.fillAndStroke();this.outline||(c.setShadow(!1),0!=x&&(c.setFillAlpha(Math.abs(x)),c.setFillColor(0>x?"#FFFFFF":"#000000"),+arguments);c.setStrokeColor(this.stroke);c.setFillColor(this.stroke);c.setDashed(!1);null!=t&&t();null!=n&&n()};mxCellRenderer.registerShape("wire",g);mxUtils.extend(d,mxCylinder);d.prototype.size=6;d.prototype.paintVertexShape=function(c,m,t,n,r){c.setFillColor(this.stroke);var v=Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size))-2)+2*this.strokewidth;c.ellipse(m+.5*(n-v),t+.5*(r-v),v,v);c.fill();c.setFillColor(mxConstants.NONE);c.rect(m,t,n,r);c.fill()};mxCellRenderer.registerShape("waypoint",+d);mxUtils.extend(h,mxActor);h.prototype.size=20;h.prototype.redrawPath=function(c,m,t,n,r){m=Math.min(n,r/Oa);c.translate((n-m)/2,(r-m)/2+m/4);c.moveTo(0,.25*m);c.lineTo(.5*m,m*Ra);c.lineTo(m,.25*m);c.lineTo(.5*m,(.5-Ra)*m);c.lineTo(0,.25*m);c.close();c.end()};mxCellRenderer.registerShape("isoRectangle",h);mxUtils.extend(l,mxCylinder);l.prototype.size=20;l.prototype.redrawPath=function(c,m,t,n,r,v){m=Math.min(n,r/(.5+Oa));v?(c.moveTo(0,.25*m),c.lineTo(.5*m,(.5-Ra)*m),c.lineTo(m,.25*m),c.moveTo(.5*+m,(.5-Ra)*m),c.lineTo(.5*m,(1-Ra)*m)):(c.translate((n-m)/2,(r-m)/2),c.moveTo(0,.25*m),c.lineTo(.5*m,m*Ra),c.lineTo(m,.25*m),c.lineTo(m,.75*m),c.lineTo(.5*m,(1-Ra)*m),c.lineTo(0,.75*m),c.close());c.end()};mxCellRenderer.registerShape("isoCube",l);mxUtils.extend(q,mxCylinder);q.prototype.redrawPath=function(c,m,t,n,r,v){m=Math.min(r/2,Math.round(r/8)+this.strokewidth-1);if(v&&null!=this.fill||!v&&null==this.fill)c.moveTo(0,m),c.curveTo(0,2*m,n,2*m,n,m),v||(c.stroke(),c.begin()),c.translate(0,m/2),c.moveTo(0,+m),c.curveTo(0,2*m,n,2*m,n,m),v||(c.stroke(),c.begin()),c.translate(0,m/2),c.moveTo(0,m),c.curveTo(0,2*m,n,2*m,n,m),v||(c.stroke(),c.begin()),c.translate(0,-m);v||(c.moveTo(0,m),c.curveTo(0,-m/3,n,-m/3,n,m),c.lineTo(n,r-m),c.curveTo(n,r+m/3,0,r+m/3,0,r-m),c.close())};q.prototype.getLabelMargins=function(c){return new mxRectangle(0,2.5*Math.min(c.height/2,Math.round(c.height/8)+this.strokewidth-1),0,0)};mxCellRenderer.registerShape("datastore",q);mxUtils.extend(k,mxCylinder);k.prototype.size=30;k.prototype.darkOpacity=+0;k.prototype.paintVertexShape=function(c,m,t,n,r){var v=Math.max(0,Math.min(n,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))))),x=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity",this.darkOpacity))));c.translate(m,t);c.begin();c.moveTo(0,0);c.lineTo(n-v,0);c.lineTo(n,v);c.lineTo(n,r);c.lineTo(0,r);c.lineTo(0,0);c.close();c.end();c.fillAndStroke();this.outline||(c.setShadow(!1),0!=x&&(c.setFillAlpha(Math.abs(x)),c.setFillColor(0>x?"#FFFFFF":"#000000"),c.begin(),c.moveTo(n-v,0),c.lineTo(n-v,v),c.lineTo(n,v),c.close(),c.fill()),c.begin(),c.moveTo(n-v,0),c.lineTo(n-v,v),c.lineTo(n,v),c.end(),c.stroke())};mxCellRenderer.registerShape("note",k);mxUtils.extend(u,k);mxCellRenderer.registerShape("note2",u);u.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var m=mxUtils.getValue(this.style,"size",15);return new mxRectangle(0,Math.min(c.height*this.scale,m*this.scale),0,0)}return null};mxUtils.extend(w,mxShape);w.prototype.isoAngle=-15;w.prototype.paintVertexShape=function(c,m,t,n,q){var v=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;v=Math.min(n*Math.tan(v),.5*q);c.translate(m,t);c.begin();c.moveTo(.5*n,0);c.lineTo(n,v);c.lineTo(n,q-v);c.lineTo(.5*n,q);c.lineTo(0,q-v);c.lineTo(0,v);c.close();c.fillAndStroke();c.setShadow(!1);c.begin();c.moveTo(0,v);c.lineTo(.5*n,2*v);c.lineTo(n,v);c.moveTo(.5*n,2*v);c.lineTo(.5*n,q);c.stroke()};mxCellRenderer.registerShape("isoCube2",-w);mxUtils.extend(y,mxShape);y.prototype.size=15;y.prototype.paintVertexShape=function(c,m,t,n,q){var v=Math.max(0,Math.min(.5*q,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.translate(m,t);0==v?(c.rect(0,0,n,q),c.fillAndStroke()):(c.begin(),c.moveTo(0,v),c.arcTo(.5*n,v,0,0,1,.5*n,0),c.arcTo(.5*n,v,0,0,1,n,v),c.lineTo(n,q-v),c.arcTo(.5*n,v,0,0,1,.5*n,q),c.arcTo(.5*n,v,0,0,1,0,q-v),c.close(),c.fillAndStroke(),c.setShadow(!1),c.begin(),c.moveTo(n,v),c.arcTo(.5*n,v,0,0,1,.5*n,2*v),c.arcTo(.5*-n,v,0,0,1,0,v),c.stroke())};mxCellRenderer.registerShape("cylinder2",y);mxUtils.extend(A,mxCylinder);A.prototype.size=15;A.prototype.paintVertexShape=function(c,m,t,n,q){var v=Math.max(0,Math.min(.5*q,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),x=mxUtils.getValue(this.style,"lid",!0);c.translate(m,t);0==v?(c.rect(0,0,n,q),c.fillAndStroke()):(c.begin(),x?(c.moveTo(0,v),c.arcTo(.5*n,v,0,0,1,.5*n,0),c.arcTo(.5*n,v,0,0,1,n,v)):(c.moveTo(0,0),c.arcTo(.5*n,v,0,0,0,.5*n,v),c.arcTo(.5*n,v,-0,0,0,n,0)),c.lineTo(n,q-v),c.arcTo(.5*n,v,0,0,1,.5*n,q),c.arcTo(.5*n,v,0,0,1,0,q-v),c.close(),c.fillAndStroke(),c.setShadow(!1),x&&(c.begin(),c.moveTo(n,v),c.arcTo(.5*n,v,0,0,1,.5*n,2*v),c.arcTo(.5*n,v,0,0,1,0,v),c.stroke()))};mxCellRenderer.registerShape("cylinder3",A);mxUtils.extend(G,mxActor);G.prototype.redrawPath=function(c,m,t,n,q){c.moveTo(0,0);c.quadTo(n/2,.5*q,n,0);c.quadTo(.5*n,q/2,n,q);c.quadTo(n/2,.5*q,0,q);c.quadTo(.5*n,q/2,0,0);c.end()};mxCellRenderer.registerShape("switch",G);mxUtils.extend(D,-mxCylinder);D.prototype.tabWidth=60;D.prototype.tabHeight=20;D.prototype.tabPosition="right";D.prototype.arcSize=.1;D.prototype.isRoundable=function(){return!0};D.prototype.paintVertexShape=function(c,m,t,n,q){c.translate(m,t);m=Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"tabWidth",this.tabWidth))));t=Math.max(0,Math.min(q,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));var v=mxUtils.getValue(this.style,"tabPosition",this.tabPosition),x=mxUtils.getValue(this.style,-"rounded",!1),I=mxUtils.getValue(this.style,"absoluteArcSize",!1),z=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));I||(z*=Math.min(n,q));z=Math.min(z,.5*n,.5*(q-t));m=Math.max(m,z);m=Math.min(n-z,m);x||(z=0);c.begin();"left"==v?(c.moveTo(Math.max(z,0),t),c.lineTo(Math.max(z,0),0),c.lineTo(m,0),c.lineTo(m,t)):(c.moveTo(n-m,t),c.lineTo(n-m,0),c.lineTo(n-Math.max(z,0),0),c.lineTo(n-Math.max(z,0),t));x?(c.moveTo(0,z+t),c.arcTo(z,z,0,0,1,z,t),c.lineTo(n-z,t),c.arcTo(z,z,0,0,1,n,z+t),c.lineTo(n,-q-z),c.arcTo(z,z,0,0,1,n-z,q),c.lineTo(z,q),c.arcTo(z,z,0,0,1,0,q-z)):(c.moveTo(0,t),c.lineTo(n,t),c.lineTo(n,q),c.lineTo(0,q));c.close();c.fillAndStroke();c.setShadow(!1);"triangle"==mxUtils.getValue(this.style,"folderSymbol",null)&&(c.begin(),c.moveTo(n-30,t+20),c.lineTo(n-20,t+10),c.lineTo(n-10,t+20),c.close(),c.stroke())};mxCellRenderer.registerShape("folder",D);D.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var m=mxUtils.getValue(this.style,"tabHeight",-15)*this.scale;if(mxUtils.getValue(this.style,"labelInHeader",!1)){var t=mxUtils.getValue(this.style,"tabWidth",15)*this.scale;m=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;var n=mxUtils.getValue(this.style,"rounded",!1),q=mxUtils.getValue(this.style,"absoluteArcSize",!1),v=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));q||(v*=Math.min(c.width,c.height));v=Math.min(v,.5*c.width,.5*(c.height-m));n||(v=0);return"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?-new mxRectangle(v,0,Math.min(c.width,c.width-t),Math.min(c.height,c.height-m)):new mxRectangle(Math.min(c.width,c.width-t),0,v,Math.min(c.height,c.height-m))}return new mxRectangle(0,Math.min(c.height,m),0,0)}return null};mxUtils.extend(F,mxCylinder);F.prototype.arcSize=.1;F.prototype.paintVertexShape=function(c,m,t,n,q){c.translate(m,t);var v=mxUtils.getValue(this.style,"rounded",!1),x=mxUtils.getValue(this.style,"absoluteArcSize",!1);m=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));-t=mxUtils.getValue(this.style,"umlStateConnection",null);x||(m*=Math.min(n,q));m=Math.min(m,.5*n,.5*q);v||(m=0);v=0;null!=t&&(v=10);c.begin();c.moveTo(v,m);c.arcTo(m,m,0,0,1,v+m,0);c.lineTo(n-m,0);c.arcTo(m,m,0,0,1,n,m);c.lineTo(n,q-m);c.arcTo(m,m,0,0,1,n-m,q);c.lineTo(v+m,q);c.arcTo(m,m,0,0,1,v,q-m);c.close();c.fillAndStroke();c.setShadow(!1);"collapseState"==mxUtils.getValue(this.style,"umlStateSymbol",null)&&(c.roundrect(n-40,q-20,10,10,3,3),c.stroke(),c.roundrect(n-20,q-20,10,10,3,3),c.stroke(),-c.begin(),c.moveTo(n-30,q-15),c.lineTo(n-20,q-15),c.stroke());"connPointRefEntry"==t?(c.ellipse(0,.5*q-10,20,20),c.fillAndStroke()):"connPointRefExit"==t&&(c.ellipse(0,.5*q-10,20,20),c.fillAndStroke(),c.begin(),c.moveTo(5,.5*q-5),c.lineTo(15,.5*q+5),c.moveTo(15,.5*q-5),c.lineTo(5,.5*q+5),c.stroke())};F.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)&&null!=mxUtils.getValue(this.style,"umlStateConnection",null)?new mxRectangle(10*this.scale,0,0,0):null};mxCellRenderer.registerShape("umlState",-F);mxUtils.extend(H,mxActor);H.prototype.size=30;H.prototype.isRoundable=function(){return!0};H.prototype.redrawPath=function(c,m,t,n,q){m=Math.max(0,Math.min(n,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(m,0),new mxPoint(n,0),new mxPoint(n,q),new mxPoint(0,q),new mxPoint(0,m)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("card",H);mxUtils.extend(M,-mxActor);M.prototype.size=.4;M.prototype.redrawPath=function(c,m,t,n,q){m=q*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(0,m/2);c.quadTo(n/4,1.4*m,n/2,m/2);c.quadTo(3*n/4,m*(1-1.4),n,m/2);c.lineTo(n,q-m/2);c.quadTo(3*n/4,q-1.4*m,n/2,q-m/2);c.quadTo(n/4,q-m*(1-1.4),0,q-m/2);c.lineTo(0,m/2);c.close();c.end()};M.prototype.getLabelBounds=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var m=mxUtils.getValue(this.style,"size",this.size),t=c.width,+15;w.prototype.paintVertexShape=function(c,m,t,n,r){var v=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;v=Math.min(n*Math.tan(v),.5*r);c.translate(m,t);c.begin();c.moveTo(.5*n,0);c.lineTo(n,v);c.lineTo(n,r-v);c.lineTo(.5*n,r);c.lineTo(0,r-v);c.lineTo(0,v);c.close();c.fillAndStroke();c.setShadow(!1);c.begin();c.moveTo(0,v);c.lineTo(.5*n,2*v);c.lineTo(n,v);c.moveTo(.5*n,2*v);c.lineTo(.5*n,r);c.stroke()};mxCellRenderer.registerShape("isoCube2",+w);mxUtils.extend(y,mxShape);y.prototype.size=15;y.prototype.paintVertexShape=function(c,m,t,n,r){var v=Math.max(0,Math.min(.5*r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.translate(m,t);0==v?(c.rect(0,0,n,r),c.fillAndStroke()):(c.begin(),c.moveTo(0,v),c.arcTo(.5*n,v,0,0,1,.5*n,0),c.arcTo(.5*n,v,0,0,1,n,v),c.lineTo(n,r-v),c.arcTo(.5*n,v,0,0,1,.5*n,r),c.arcTo(.5*n,v,0,0,1,0,r-v),c.close(),c.fillAndStroke(),c.setShadow(!1),c.begin(),c.moveTo(n,v),c.arcTo(.5*n,v,0,0,1,.5*n,2*v),c.arcTo(.5*+n,v,0,0,1,0,v),c.stroke())};mxCellRenderer.registerShape("cylinder2",y);mxUtils.extend(A,mxCylinder);A.prototype.size=15;A.prototype.paintVertexShape=function(c,m,t,n,r){var v=Math.max(0,Math.min(.5*r,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),x=mxUtils.getValue(this.style,"lid",!0);c.translate(m,t);0==v?(c.rect(0,0,n,r),c.fillAndStroke()):(c.begin(),x?(c.moveTo(0,v),c.arcTo(.5*n,v,0,0,1,.5*n,0),c.arcTo(.5*n,v,0,0,1,n,v)):(c.moveTo(0,0),c.arcTo(.5*n,v,0,0,0,.5*n,v),c.arcTo(.5*n,v,+0,0,0,n,0)),c.lineTo(n,r-v),c.arcTo(.5*n,v,0,0,1,.5*n,r),c.arcTo(.5*n,v,0,0,1,0,r-v),c.close(),c.fillAndStroke(),c.setShadow(!1),x&&(c.begin(),c.moveTo(n,v),c.arcTo(.5*n,v,0,0,1,.5*n,2*v),c.arcTo(.5*n,v,0,0,1,0,v),c.stroke()))};mxCellRenderer.registerShape("cylinder3",A);mxUtils.extend(F,mxActor);F.prototype.redrawPath=function(c,m,t,n,r){c.moveTo(0,0);c.quadTo(n/2,.5*r,n,0);c.quadTo(.5*n,r/2,n,r);c.quadTo(n/2,.5*r,0,r);c.quadTo(.5*n,r/2,0,0);c.end()};mxCellRenderer.registerShape("switch",F);mxUtils.extend(D,+mxCylinder);D.prototype.tabWidth=60;D.prototype.tabHeight=20;D.prototype.tabPosition="right";D.prototype.arcSize=.1;D.prototype.isRoundable=function(){return!0};D.prototype.paintVertexShape=function(c,m,t,n,r){c.translate(m,t);m=Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"tabWidth",this.tabWidth))));t=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));var v=mxUtils.getValue(this.style,"tabPosition",this.tabPosition),x=mxUtils.getValue(this.style,+"rounded",!1),I=mxUtils.getValue(this.style,"absoluteArcSize",!1),z=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));I||(z*=Math.min(n,r));z=Math.min(z,.5*n,.5*(r-t));m=Math.max(m,z);m=Math.min(n-z,m);x||(z=0);c.begin();"left"==v?(c.moveTo(Math.max(z,0),t),c.lineTo(Math.max(z,0),0),c.lineTo(m,0),c.lineTo(m,t)):(c.moveTo(n-m,t),c.lineTo(n-m,0),c.lineTo(n-Math.max(z,0),0),c.lineTo(n-Math.max(z,0),t));x?(c.moveTo(0,z+t),c.arcTo(z,z,0,0,1,z,t),c.lineTo(n-z,t),c.arcTo(z,z,0,0,1,n,z+t),c.lineTo(n,+r-z),c.arcTo(z,z,0,0,1,n-z,r),c.lineTo(z,r),c.arcTo(z,z,0,0,1,0,r-z)):(c.moveTo(0,t),c.lineTo(n,t),c.lineTo(n,r),c.lineTo(0,r));c.close();c.fillAndStroke();c.setShadow(!1);"triangle"==mxUtils.getValue(this.style,"folderSymbol",null)&&(c.begin(),c.moveTo(n-30,t+20),c.lineTo(n-20,t+10),c.lineTo(n-10,t+20),c.close(),c.stroke())};mxCellRenderer.registerShape("folder",D);D.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var m=mxUtils.getValue(this.style,"tabHeight",+15)*this.scale;if(mxUtils.getValue(this.style,"labelInHeader",!1)){var t=mxUtils.getValue(this.style,"tabWidth",15)*this.scale;m=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;var n=mxUtils.getValue(this.style,"rounded",!1),r=mxUtils.getValue(this.style,"absoluteArcSize",!1),v=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));r||(v*=Math.min(c.width,c.height));v=Math.min(v,.5*c.width,.5*(c.height-m));n||(v=0);return"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?+new mxRectangle(v,0,Math.min(c.width,c.width-t),Math.min(c.height,c.height-m)):new mxRectangle(Math.min(c.width,c.width-t),0,v,Math.min(c.height,c.height-m))}return new mxRectangle(0,Math.min(c.height,m),0,0)}return null};mxUtils.extend(G,mxCylinder);G.prototype.arcSize=.1;G.prototype.paintVertexShape=function(c,m,t,n,r){c.translate(m,t);var v=mxUtils.getValue(this.style,"rounded",!1),x=mxUtils.getValue(this.style,"absoluteArcSize",!1);m=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));+t=mxUtils.getValue(this.style,"umlStateConnection",null);x||(m*=Math.min(n,r));m=Math.min(m,.5*n,.5*r);v||(m=0);v=0;null!=t&&(v=10);c.begin();c.moveTo(v,m);c.arcTo(m,m,0,0,1,v+m,0);c.lineTo(n-m,0);c.arcTo(m,m,0,0,1,n,m);c.lineTo(n,r-m);c.arcTo(m,m,0,0,1,n-m,r);c.lineTo(v+m,r);c.arcTo(m,m,0,0,1,v,r-m);c.close();c.fillAndStroke();c.setShadow(!1);"collapseState"==mxUtils.getValue(this.style,"umlStateSymbol",null)&&(c.roundrect(n-40,r-20,10,10,3,3),c.stroke(),c.roundrect(n-20,r-20,10,10,3,3),c.stroke(),+c.begin(),c.moveTo(n-30,r-15),c.lineTo(n-20,r-15),c.stroke());"connPointRefEntry"==t?(c.ellipse(0,.5*r-10,20,20),c.fillAndStroke()):"connPointRefExit"==t&&(c.ellipse(0,.5*r-10,20,20),c.fillAndStroke(),c.begin(),c.moveTo(5,.5*r-5),c.lineTo(15,.5*r+5),c.moveTo(15,.5*r-5),c.lineTo(5,.5*r+5),c.stroke())};G.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)&&null!=mxUtils.getValue(this.style,"umlStateConnection",null)?new mxRectangle(10*this.scale,0,0,0):null};mxCellRenderer.registerShape("umlState",+G);mxUtils.extend(H,mxActor);H.prototype.size=30;H.prototype.isRoundable=function(){return!0};H.prototype.redrawPath=function(c,m,t,n,r){m=Math.max(0,Math.min(n,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(m,0),new mxPoint(n,0),new mxPoint(n,r),new mxPoint(0,r),new mxPoint(0,m)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("card",H);mxUtils.extend(M,+mxActor);M.prototype.size=.4;M.prototype.redrawPath=function(c,m,t,n,r){m=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(0,m/2);c.quadTo(n/4,1.4*m,n/2,m/2);c.quadTo(3*n/4,m*(1-1.4),n,m/2);c.lineTo(n,r-m/2);c.quadTo(3*n/4,r-1.4*m,n/2,r-m/2);c.quadTo(n/4,r-m*(1-1.4),0,r-m/2);c.lineTo(0,m/2);c.close();c.end()};M.prototype.getLabelBounds=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var m=mxUtils.getValue(this.style,"size",this.size),t=c.width,n=c.height;if(null==this.direction||this.direction==mxConstants.DIRECTION_EAST||this.direction==mxConstants.DIRECTION_WEST)return m*=n,new mxRectangle(c.x,c.y+m,t,n-2*m);m*=t;return new mxRectangle(c.x+m,c.y,t-2*m,n)}return c};mxCellRenderer.registerShape("tape",M);mxUtils.extend(N,mxActor);N.prototype.size=.3;N.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)?new mxRectangle(0,0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*c.height):null};N.prototype.redrawPath=-function(c,m,t,n,q){m=q*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(0,0);c.lineTo(n,0);c.lineTo(n,q-m/2);c.quadTo(3*n/4,q-1.4*m,n/2,q-m/2);c.quadTo(n/4,q-m*(1-1.4),0,q-m/2);c.lineTo(0,m/2);c.close();c.end()};mxCellRenderer.registerShape("document",N);var Ya=mxCylinder.prototype.getCylinderSize;mxCylinder.prototype.getCylinderSize=function(c,m,t,n){var q=mxUtils.getValue(this.style,"size");return null!=q?n*Math.max(0,Math.min(1,q)):Ya.apply(this,arguments)};+function(c,m,t,n,r){m=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(0,0);c.lineTo(n,0);c.lineTo(n,r-m/2);c.quadTo(3*n/4,r-1.4*m,n/2,r-m/2);c.quadTo(n/4,r-m*(1-1.4),0,r-m/2);c.lineTo(0,m/2);c.close();c.end()};mxCellRenderer.registerShape("document",N);var Ya=mxCylinder.prototype.getCylinderSize;mxCylinder.prototype.getCylinderSize=function(c,m,t,n){var r=mxUtils.getValue(this.style,"size");return null!=r?n*Math.max(0,Math.min(1,r)):Ya.apply(this,arguments)};mxCylinder.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var m=2*mxUtils.getValue(this.style,"size",.15);return new mxRectangle(0,Math.min(this.maxHeight*this.scale,c.height*m),0,0)}return null};A.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var m=mxUtils.getValue(this.style,"size",15);mxUtils.getValue(this.style,"lid",!0)||(m/=2);return new mxRectangle(0,Math.min(c.height*this.scale,2*m*this.scale),0,Math.max(0,.3*-m*this.scale))}return null};D.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var m=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;if(mxUtils.getValue(this.style,"labelInHeader",!1)){var t=mxUtils.getValue(this.style,"tabWidth",15)*this.scale;m=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;var n=mxUtils.getValue(this.style,"rounded",!1),q=mxUtils.getValue(this.style,"absoluteArcSize",!1),v=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));-q||(v*=Math.min(c.width,c.height));v=Math.min(v,.5*c.width,.5*(c.height-m));n||(v=0);return"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?new mxRectangle(v,0,Math.min(c.width,c.width-t),Math.min(c.height,c.height-m)):new mxRectangle(Math.min(c.width,c.width-t),0,v,Math.min(c.height,c.height-m))}return new mxRectangle(0,Math.min(c.height,m),0,0)}return null};F.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)&&null!=mxUtils.getValue(this.style,-"umlStateConnection",null)?new mxRectangle(10*this.scale,0,0,0):null};u.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var m=mxUtils.getValue(this.style,"size",15);return new mxRectangle(0,Math.min(c.height*this.scale,m*this.scale),0,Math.max(0,m*this.scale))}return null};mxUtils.extend(K,mxActor);K.prototype.size=.2;K.prototype.fixedSize=20;K.prototype.isRoundable=function(){return!0};K.prototype.redrawPath=function(c,m,t,n,q){m="0"!=mxUtils.getValue(this.style,-"fixedSize","0")?Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,q),new mxPoint(m,0),new mxPoint(n,0),new mxPoint(n-m,q)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("parallelogram",K);mxUtils.extend(T,mxActor);T.prototype.size=.2;T.prototype.fixedSize=-20;T.prototype.isRoundable=function(){return!0};T.prototype.redrawPath=function(c,m,t,n,q){m="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(.5*n,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):n*Math.max(0,Math.min(.5,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,q),new mxPoint(m,0),new mxPoint(n-m,0),new mxPoint(n,q)],this.isRounded,-t,!0)};mxCellRenderer.registerShape("trapezoid",T);mxUtils.extend(W,mxActor);W.prototype.size=.5;W.prototype.redrawPath=function(c,m,t,n,q){c.setFillColor(null);m=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(n,0),new mxPoint(m,0),new mxPoint(m,q/2),new mxPoint(0,q/2),new mxPoint(m,q/2),new mxPoint(m,q),new mxPoint(n,q)],this.isRounded,t,!1);c.end()};-mxCellRenderer.registerShape("curlyBracket",W);mxUtils.extend(S,mxActor);S.prototype.redrawPath=function(c,m,t,n,q){c.setStrokeWidth(1);c.setFillColor(this.stroke);m=n/5;c.rect(0,0,m,q);c.fillAndStroke();c.rect(2*m,0,m,q);c.fillAndStroke();c.rect(4*m,0,m,q);c.fillAndStroke()};mxCellRenderer.registerShape("parallelMarker",S);V.prototype.moveTo=function(c,m){this.originalMoveTo.apply(this.canvas,arguments);this.lastX=c;this.lastY=m;this.firstX=c;this.firstY=m};V.prototype.close=function(){null!=this.firstX&&-null!=this.firstY&&(this.lineTo(this.firstX,this.firstY),this.originalClose.apply(this.canvas,arguments));this.originalClose.apply(this.canvas,arguments)};V.prototype.quadTo=function(c,m,t,n){this.originalQuadTo.apply(this.canvas,arguments);this.lastX=t;this.lastY=n};V.prototype.curveTo=function(c,m,t,n,q,v){this.originalCurveTo.apply(this.canvas,arguments);this.lastX=q;this.lastY=v};V.prototype.arcTo=function(c,m,t,n,q,v,x){this.originalArcTo.apply(this.canvas,arguments);this.lastX=v;this.lastY=-x};V.prototype.lineTo=function(c,m){if(null!=this.lastX&&null!=this.lastY){var t=function(R){return"number"===typeof R?R?0>R?-1:1:R===R?0:NaN:NaN},n=Math.abs(c-this.lastX),q=Math.abs(m-this.lastY),v=Math.sqrt(n*n+q*q);if(2>v){this.originalLineTo.apply(this.canvas,arguments);this.lastX=c;this.lastY=m;return}var x=Math.round(v/10),I=this.defaultVariation;5>x&&(x=5,I/=3);var z=t(c-this.lastX)*n/x;t=t(m-this.lastY)*q/x;n/=v;q/=v;for(v=0;v<x;v++){var da=(Math.random()-.5)*I;this.originalLineTo.call(this.canvas,-z*v+this.lastX-da*q,t*v+this.lastY-da*n)}this.originalLineTo.call(this.canvas,c,m)}else this.originalLineTo.apply(this.canvas,arguments);this.lastX=c;this.lastY=m};V.prototype.destroy=function(){this.canvas.lineTo=this.originalLineTo;this.canvas.moveTo=this.originalMoveTo;this.canvas.close=this.originalClose;this.canvas.quadTo=this.originalQuadTo;this.canvas.curveTo=this.originalCurveTo;this.canvas.arcTo=this.originalArcTo};var lb=mxShape.prototype.beforePaint;mxShape.prototype.beforePaint=function(c){lb.apply(this,+m*this.scale))}return null};D.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var m=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;if(mxUtils.getValue(this.style,"labelInHeader",!1)){var t=mxUtils.getValue(this.style,"tabWidth",15)*this.scale;m=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;var n=mxUtils.getValue(this.style,"rounded",!1),r=mxUtils.getValue(this.style,"absoluteArcSize",!1),v=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));+r||(v*=Math.min(c.width,c.height));v=Math.min(v,.5*c.width,.5*(c.height-m));n||(v=0);return"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?new mxRectangle(v,0,Math.min(c.width,c.width-t),Math.min(c.height,c.height-m)):new mxRectangle(Math.min(c.width,c.width-t),0,v,Math.min(c.height,c.height-m))}return new mxRectangle(0,Math.min(c.height,m),0,0)}return null};G.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)&&null!=mxUtils.getValue(this.style,+"umlStateConnection",null)?new mxRectangle(10*this.scale,0,0,0):null};u.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var m=mxUtils.getValue(this.style,"size",15);return new mxRectangle(0,Math.min(c.height*this.scale,m*this.scale),0,Math.max(0,m*this.scale))}return null};mxUtils.extend(K,mxActor);K.prototype.size=.2;K.prototype.fixedSize=20;K.prototype.isRoundable=function(){return!0};K.prototype.redrawPath=function(c,m,t,n,r){m="0"!=mxUtils.getValue(this.style,+"fixedSize","0")?Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r),new mxPoint(m,0),new mxPoint(n,0),new mxPoint(n-m,r)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("parallelogram",K);mxUtils.extend(T,mxActor);T.prototype.size=.2;T.prototype.fixedSize=+20;T.prototype.isRoundable=function(){return!0};T.prototype.redrawPath=function(c,m,t,n,r){m="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(.5*n,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):n*Math.max(0,Math.min(.5,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r),new mxPoint(m,0),new mxPoint(n-m,0),new mxPoint(n,r)],this.isRounded,+t,!0)};mxCellRenderer.registerShape("trapezoid",T);mxUtils.extend(W,mxActor);W.prototype.size=.5;W.prototype.redrawPath=function(c,m,t,n,r){c.setFillColor(null);m=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(n,0),new mxPoint(m,0),new mxPoint(m,r/2),new mxPoint(0,r/2),new mxPoint(m,r/2),new mxPoint(m,r),new mxPoint(n,r)],this.isRounded,t,!1);c.end()};+mxCellRenderer.registerShape("curlyBracket",W);mxUtils.extend(S,mxActor);S.prototype.redrawPath=function(c,m,t,n,r){c.setStrokeWidth(1);c.setFillColor(this.stroke);m=n/5;c.rect(0,0,m,r);c.fillAndStroke();c.rect(2*m,0,m,r);c.fillAndStroke();c.rect(4*m,0,m,r);c.fillAndStroke()};mxCellRenderer.registerShape("parallelMarker",S);V.prototype.moveTo=function(c,m){this.originalMoveTo.apply(this.canvas,arguments);this.lastX=c;this.lastY=m;this.firstX=c;this.firstY=m};V.prototype.close=function(){null!=this.firstX&&+null!=this.firstY&&(this.lineTo(this.firstX,this.firstY),this.originalClose.apply(this.canvas,arguments));this.originalClose.apply(this.canvas,arguments)};V.prototype.quadTo=function(c,m,t,n){this.originalQuadTo.apply(this.canvas,arguments);this.lastX=t;this.lastY=n};V.prototype.curveTo=function(c,m,t,n,r,v){this.originalCurveTo.apply(this.canvas,arguments);this.lastX=r;this.lastY=v};V.prototype.arcTo=function(c,m,t,n,r,v,x){this.originalArcTo.apply(this.canvas,arguments);this.lastX=v;this.lastY=+x};V.prototype.lineTo=function(c,m){if(null!=this.lastX&&null!=this.lastY){var t=function(R){return"number"===typeof R?R?0>R?-1:1:R===R?0:NaN:NaN},n=Math.abs(c-this.lastX),r=Math.abs(m-this.lastY),v=Math.sqrt(n*n+r*r);if(2>v){this.originalLineTo.apply(this.canvas,arguments);this.lastX=c;this.lastY=m;return}var x=Math.round(v/10),I=this.defaultVariation;5>x&&(x=5,I/=3);var z=t(c-this.lastX)*n/x;t=t(m-this.lastY)*r/x;n/=v;r/=v;for(v=0;v<x;v++){var da=(Math.random()-.5)*I;this.originalLineTo.call(this.canvas,+z*v+this.lastX-da*r,t*v+this.lastY-da*n)}this.originalLineTo.call(this.canvas,c,m)}else this.originalLineTo.apply(this.canvas,arguments);this.lastX=c;this.lastY=m};V.prototype.destroy=function(){this.canvas.lineTo=this.originalLineTo;this.canvas.moveTo=this.originalMoveTo;this.canvas.close=this.originalClose;this.canvas.quadTo=this.originalQuadTo;this.canvas.curveTo=this.originalCurveTo;this.canvas.arcTo=this.originalArcTo};var lb=mxShape.prototype.beforePaint;mxShape.prototype.beforePaint=function(c){lb.apply(this,arguments);null==c.handJiggle&&(c.handJiggle=this.createHandJiggle(c))};var tb=mxShape.prototype.afterPaint;mxShape.prototype.afterPaint=function(c){tb.apply(this,arguments);null!=c.handJiggle&&(c.handJiggle.destroy(),delete c.handJiggle)};mxShape.prototype.createComicCanvas=function(c){return new V(c,mxUtils.getValue(this.style,"jiggle",Editor.sketchDefaultJiggle))};mxShape.prototype.createHandJiggle=function(c){return this.outline||null==this.style||"0"==mxUtils.getValue(this.style,"comic","0")?-null:this.createComicCanvas(c)};var ub=mxRectangleShape.prototype.isHtmlAllowed;mxRectangleShape.prototype.isHtmlAllowed=function(){return!this.outline&&(null==this.style||"0"==mxUtils.getValue(this.style,"comic","0")&&"0"==mxUtils.getValue(this.style,"sketch","1"==urlParams.rough?"1":"0"))&&ub.apply(this,arguments)};var mb=mxRectangleShape.prototype.paintBackground;mxRectangleShape.prototype.paintBackground=function(c,m,t,n,q){if(null==c.handJiggle||c.handJiggle.constructor!=V)mb.apply(this,arguments);-else{var v=!0;null!=this.style&&(v="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));if(v||null!=this.fill&&this.fill!=mxConstants.NONE||null!=this.stroke&&this.stroke!=mxConstants.NONE)v||null!=this.fill&&this.fill!=mxConstants.NONE||(c.pointerEvents=!1),c.begin(),this.isRounded?("1"==mxUtils.getValue(this.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?v=Math.min(n/2,Math.min(q/2,mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2)):(v=mxUtils.getValue(this.style,-mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,v=Math.min(n*v,q*v)),c.moveTo(m+v,t),c.lineTo(m+n-v,t),c.quadTo(m+n,t,m+n,t+v),c.lineTo(m+n,t+q-v),c.quadTo(m+n,t+q,m+n-v,t+q),c.lineTo(m+v,t+q),c.quadTo(m,t+q,m,t+q-v),c.lineTo(m,t+v),c.quadTo(m,t,m+v,t)):(c.moveTo(m,t),c.lineTo(m+n,t),c.lineTo(m+n,t+q),c.lineTo(m,t+q),c.lineTo(m,t)),c.close(),c.end(),c.fillAndStroke()}};mxUtils.extend(fa,mxRectangleShape);fa.prototype.size=.1;fa.prototype.fixedSize=!1;fa.prototype.isHtmlAllowed=-function(){return!1};fa.prototype.getLabelBounds=function(c){if(mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,!0)==(null==this.direction||this.direction==mxConstants.DIRECTION_EAST||this.direction==mxConstants.DIRECTION_WEST)){var m=c.width,t=c.height;c=new mxRectangle(c.x,c.y,m,t);var n=mxUtils.getValue(this.style,"fixedSize",this.fixedSize),q=parseFloat(mxUtils.getValue(this.style,"size",this.size));n?q=Math.max(0,Math.min(m,q*this.scale)):(q=m*Math.max(0,Math.min(1,q)),this.isRounded&&-(n=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,q=Math.max(q,Math.min(m*n,t*n))));c.x+=Math.round(q);c.width-=Math.round(2*q);return c}return c};fa.prototype.paintForeground=function(c,m,t,n,q){var v=mxUtils.getValue(this.style,"fixedSize",this.fixedSize),x=parseFloat(mxUtils.getValue(this.style,"size",this.size));x=v?Math.max(0,Math.min(n,x)):n*Math.max(0,Math.min(1,x));this.isRounded&&(v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,-100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,x=Math.max(x,Math.min(n*v,q*v)));x=Math.round(x);c.begin();c.moveTo(m+x,t);c.lineTo(m+x,t+q);c.moveTo(m+n-x,t);c.lineTo(m+n-x,t+q);c.end();c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("process",fa);mxCellRenderer.registerShape("process2",fa);mxUtils.extend(P,mxRectangleShape);P.prototype.paintBackground=function(c,m,t,n,q){c.setFillColor(mxConstants.NONE);c.rect(m,t,n,q);c.fill()};P.prototype.paintForeground=-function(c,m,t,n,q){};mxCellRenderer.registerShape("transparent",P);mxUtils.extend(Z,mxHexagon);Z.prototype.size=30;Z.prototype.position=.5;Z.prototype.position2=.5;Z.prototype.base=20;Z.prototype.getLabelMargins=function(){return new mxRectangle(0,0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale)};Z.prototype.isRoundable=function(){return!0};Z.prototype.redrawPath=function(c,m,t,n,q){m=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;t=Math.max(0,-Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size))));var v=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position",this.position)))),x=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2)))),I=Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"base",this.base))));this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,q-t),new mxPoint(Math.min(n,v+I),q-t),new mxPoint(x,q),new mxPoint(Math.max(0,v),q-t),-new mxPoint(0,q-t)],this.isRounded,m,!0,[4])};mxCellRenderer.registerShape("callout",Z);mxUtils.extend(X,mxActor);X.prototype.size=.2;X.prototype.fixedSize=20;X.prototype.isRoundable=function(){return!0};X.prototype.redrawPath=function(c,m,t,n,q){m="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,-mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n-m,0),new mxPoint(n,q/2),new mxPoint(n-m,q),new mxPoint(0,q),new mxPoint(m,q/2)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("step",X);mxUtils.extend(ba,mxHexagon);ba.prototype.size=.25;ba.prototype.fixedSize=20;ba.prototype.isRoundable=function(){return!0};ba.prototype.redrawPath=function(c,m,t,n,q){m="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(.5*n,parseFloat(mxUtils.getValue(this.style,-"size",this.fixedSize)))):n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(m,0),new mxPoint(n-m,0),new mxPoint(n,.5*q),new mxPoint(n-m,q),new mxPoint(m,q),new mxPoint(0,.5*q)],this.isRounded,t,!0)};mxCellRenderer.registerShape("hexagon",ba);mxUtils.extend(L,mxRectangleShape);L.prototype.isHtmlAllowed=function(){return!1};L.prototype.paintForeground=function(c,-m,t,n,q){var v=Math.min(n/5,q/5)+1;c.begin();c.moveTo(m+n/2,t+v);c.lineTo(m+n/2,t+q-v);c.moveTo(m+v,t+q/2);c.lineTo(m+n-v,t+q/2);c.end();c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("plus",L);var nb=mxRhombus.prototype.paintVertexShape;mxRhombus.prototype.getLabelBounds=function(c){if(1==this.style["double"]){var m=(2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(c.x+-m,c.y+m,c.width-2*m,c.height-2*m)}return c};mxRhombus.prototype.paintVertexShape=function(c,m,t,n,q){nb.apply(this,arguments);if(!this.outline&&1==this.style["double"]){var v=2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0);m+=v;t+=v;n-=2*v;q-=2*v;0<n&&0<q&&(c.setShadow(!1),nb.apply(this,[c,m,t,n,q]))}};mxUtils.extend(U,mxRectangleShape);U.prototype.isHtmlAllowed=function(){return!1};U.prototype.getLabelBounds=function(c){if(1==this.style["double"]){var m=(Math.max(2,-this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(c.x+m,c.y+m,c.width-2*m,c.height-2*m)}return c};U.prototype.paintForeground=function(c,m,t,n,q){if(null!=this.style){if(!this.outline&&1==this.style["double"]){var v=Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0);m+=v;t+=v;n-=2*v;q-=2*v;0<n&&0<q&&mxRectangleShape.prototype.paintBackground.apply(this,arguments)}c.setDashed(!1);v=0;do{var x=mxCellRenderer.defaultShapes[this.style["symbol"+-v]];if(null!=x){var I=this.style["symbol"+v+"Align"],z=this.style["symbol"+v+"VerticalAlign"],da=this.style["symbol"+v+"Width"],R=this.style["symbol"+v+"Height"],Ga=this.style["symbol"+v+"Spacing"]||0,Ta=this.style["symbol"+v+"VSpacing"]||Ga,Pa=this.style["symbol"+v+"ArcSpacing"];null!=Pa&&(Pa*=this.getArcSize(n+this.strokewidth,q+this.strokewidth),Ga+=Pa,Ta+=Pa);Pa=m;var pa=t;Pa=I==mxConstants.ALIGN_CENTER?Pa+(n-da)/2:I==mxConstants.ALIGN_RIGHT?Pa+(n-da-Ga):Pa+Ga;pa=z==mxConstants.ALIGN_MIDDLE?pa+-(q-R)/2:z==mxConstants.ALIGN_BOTTOM?pa+(q-R-Ta):pa+Ta;c.save();I=new x;I.style=this.style;x.prototype.paintVertexShape.call(I,c,Pa,pa,da,R);c.restore()}v++}while(null!=x)}mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("ext",U);mxUtils.extend(aa,mxCylinder);aa.prototype.redrawPath=function(c,m,t,n,q,v){v?(c.moveTo(0,0),c.lineTo(n/2,q/2),c.lineTo(n,0),c.end()):(c.moveTo(0,0),c.lineTo(n,0),c.lineTo(n,q),c.lineTo(0,q),c.close())};mxCellRenderer.registerShape("message",-aa);mxUtils.extend(ha,mxShape);ha.prototype.paintBackground=function(c,m,t,n,q){c.translate(m,t);c.ellipse(n/4,0,n/2,q/4);c.fillAndStroke();c.begin();c.moveTo(n/2,q/4);c.lineTo(n/2,2*q/3);c.moveTo(n/2,q/3);c.lineTo(0,q/3);c.moveTo(n/2,q/3);c.lineTo(n,q/3);c.moveTo(n/2,2*q/3);c.lineTo(0,q);c.moveTo(n/2,2*q/3);c.lineTo(n,q);c.end();c.stroke()};mxCellRenderer.registerShape("umlActor",ha);mxUtils.extend(ma,mxShape);ma.prototype.getLabelMargins=function(c){return new mxRectangle(c.width/6,0,0,0)};ma.prototype.paintBackground=-function(c,m,t,n,q){c.translate(m,t);c.begin();c.moveTo(0,q/4);c.lineTo(0,3*q/4);c.end();c.stroke();c.begin();c.moveTo(0,q/2);c.lineTo(n/6,q/2);c.end();c.stroke();c.ellipse(n/6,0,5*n/6,q);c.fillAndStroke()};mxCellRenderer.registerShape("umlBoundary",ma);mxUtils.extend(oa,mxEllipse);oa.prototype.paintVertexShape=function(c,m,t,n,q){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.begin();c.moveTo(m+n/8,t+q);c.lineTo(m+7*n/8,t+q);c.end();c.stroke()};mxCellRenderer.registerShape("umlEntity",-oa);mxUtils.extend(ca,mxShape);ca.prototype.paintVertexShape=function(c,m,t,n,q){c.translate(m,t);c.begin();c.moveTo(n,0);c.lineTo(0,q);c.moveTo(0,0);c.lineTo(n,q);c.end();c.stroke()};mxCellRenderer.registerShape("umlDestroy",ca);mxUtils.extend(la,mxShape);la.prototype.getLabelBounds=function(c){return new mxRectangle(c.x,c.y+c.height/8,c.width,7*c.height/8)};la.prototype.paintBackground=function(c,m,t,n,q){c.translate(m,t);c.begin();c.moveTo(3*n/8,q/8*1.1);c.lineTo(5*n/8,0);c.end();c.stroke();c.ellipse(0,-q/8,n,7*q/8);c.fillAndStroke()};la.prototype.paintForeground=function(c,m,t,n,q){c.begin();c.moveTo(3*n/8,q/8*1.1);c.lineTo(5*n/8,q/4);c.end();c.stroke()};mxCellRenderer.registerShape("umlControl",la);mxUtils.extend(ia,mxRectangleShape);ia.prototype.size=40;ia.prototype.isHtmlAllowed=function(){return!1};ia.prototype.getLabelBounds=function(c){var m=Math.max(0,Math.min(c.height,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale));return new mxRectangle(c.x,c.y,c.width,m)};ia.prototype.paintBackground=-function(c,m,t,n,q){var v=Math.max(0,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),x=mxUtils.getValue(this.style,"participant");null==x||null==this.state?mxRectangleShape.prototype.paintBackground.call(this,c,m,t,n,v):(x=this.state.view.graph.cellRenderer.getShape(x),null!=x&&x!=ia&&(x=new x,x.apply(this.state),c.save(),x.paintVertexShape(c,m,t,n,v),c.restore()));v<q&&(c.setDashed("1"==mxUtils.getValue(this.style,"lifelineDashed","1")),c.begin(),c.moveTo(m+n/2,t+v),c.lineTo(m+-n/2,t+q),c.end(),c.stroke())};ia.prototype.paintForeground=function(c,m,t,n,q){var v=Math.max(0,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size))));mxRectangleShape.prototype.paintForeground.call(this,c,m,t,n,Math.min(q,v))};mxCellRenderer.registerShape("umlLifeline",ia);mxUtils.extend(O,mxShape);O.prototype.width=60;O.prototype.height=30;O.prototype.corner=10;O.prototype.configurePointerEvents=function(c){var m=mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.NONE);-null==this.style||null!=m&&m!=mxConstants.NONE&&0!=this.opacity&&0!=this.fillOpacity||"0"!=mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||(c.pointerEvents=!1)};O.prototype.getLabelMargins=function(c){return new mxRectangle(0,0,c.width-parseFloat(mxUtils.getValue(this.style,"width",this.width)*this.scale),c.height-parseFloat(mxUtils.getValue(this.style,"height",this.height)*this.scale))};O.prototype.paintBackground=function(c,m,t,n,q){var v=this.corner,x=Math.min(n,Math.max(v,parseFloat(mxUtils.getValue(this.style,-"width",this.width)))),I=Math.min(q,Math.max(1.5*v,parseFloat(mxUtils.getValue(this.style,"height",this.height)))),z=mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.NONE);z!=mxConstants.NONE&&(c.setFillColor(z),c.rect(m,t,n,q),c.fill());null!=this.fill&&this.fill!=mxConstants.NONE&&this.gradient&&this.gradient!=mxConstants.NONE?(this.getGradientBounds(c,m,t,n,q),c.setGradient(this.fill,this.gradient,m,t,n,q,this.gradientDirection)):c.setFillColor(this.fill);c.pointerEvents=-!0;c.begin();c.moveTo(m,t);c.lineTo(m+x,t);c.lineTo(m+x,t+Math.max(0,I-1.5*v));c.lineTo(m+Math.max(0,x-v),t+I);c.lineTo(m,t+I);c.close();c.fillAndStroke();this.configurePointerEvents(c);c.begin();c.moveTo(m+x,t);c.lineTo(m+n,t);c.lineTo(m+n,t+q);c.lineTo(m,t+q);c.lineTo(m,t+I);c.stroke()};mxCellRenderer.registerShape("umlFrame",O);mxPerimeter.CenterPerimeter=function(c,m,t,n){return new mxPoint(c.getCenterX(),c.getCenterY())};mxStyleRegistry.putValue("centerPerimeter",mxPerimeter.CenterPerimeter);+null:this.createComicCanvas(c)};var ub=mxRectangleShape.prototype.isHtmlAllowed;mxRectangleShape.prototype.isHtmlAllowed=function(){return!this.outline&&(null==this.style||"0"==mxUtils.getValue(this.style,"comic","0")&&"0"==mxUtils.getValue(this.style,"sketch","1"==urlParams.rough?"1":"0"))&&ub.apply(this,arguments)};var mb=mxRectangleShape.prototype.paintBackground;mxRectangleShape.prototype.paintBackground=function(c,m,t,n,r){if(null==c.handJiggle||c.handJiggle.constructor!=V)mb.apply(this,arguments);+else{var v=!0;null!=this.style&&(v="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));if(v||null!=this.fill&&this.fill!=mxConstants.NONE||null!=this.stroke&&this.stroke!=mxConstants.NONE)v||null!=this.fill&&this.fill!=mxConstants.NONE||(c.pointerEvents=!1),c.begin(),this.isRounded?("1"==mxUtils.getValue(this.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?v=Math.min(n/2,Math.min(r/2,mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2)):(v=mxUtils.getValue(this.style,+mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,v=Math.min(n*v,r*v)),c.moveTo(m+v,t),c.lineTo(m+n-v,t),c.quadTo(m+n,t,m+n,t+v),c.lineTo(m+n,t+r-v),c.quadTo(m+n,t+r,m+n-v,t+r),c.lineTo(m+v,t+r),c.quadTo(m,t+r,m,t+r-v),c.lineTo(m,t+v),c.quadTo(m,t,m+v,t)):(c.moveTo(m,t),c.lineTo(m+n,t),c.lineTo(m+n,t+r),c.lineTo(m,t+r),c.lineTo(m,t)),c.close(),c.end(),c.fillAndStroke()}};mxUtils.extend(fa,mxRectangleShape);fa.prototype.size=.1;fa.prototype.fixedSize=!1;fa.prototype.isHtmlAllowed=+function(){return!1};fa.prototype.getLabelBounds=function(c){if(mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,!0)==(null==this.direction||this.direction==mxConstants.DIRECTION_EAST||this.direction==mxConstants.DIRECTION_WEST)){var m=c.width,t=c.height;c=new mxRectangle(c.x,c.y,m,t);var n=mxUtils.getValue(this.style,"fixedSize",this.fixedSize),r=parseFloat(mxUtils.getValue(this.style,"size",this.size));n?r=Math.max(0,Math.min(m,r*this.scale)):(r=m*Math.max(0,Math.min(1,r)),this.isRounded&&+(n=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,r=Math.max(r,Math.min(m*n,t*n))));c.x+=Math.round(r);c.width-=Math.round(2*r);return c}return c};fa.prototype.paintForeground=function(c,m,t,n,r){var v=mxUtils.getValue(this.style,"fixedSize",this.fixedSize),x=parseFloat(mxUtils.getValue(this.style,"size",this.size));x=v?Math.max(0,Math.min(n,x)):n*Math.max(0,Math.min(1,x));this.isRounded&&(v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,+100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,x=Math.max(x,Math.min(n*v,r*v)));x=Math.round(x);c.begin();c.moveTo(m+x,t);c.lineTo(m+x,t+r);c.moveTo(m+n-x,t);c.lineTo(m+n-x,t+r);c.end();c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("process",fa);mxCellRenderer.registerShape("process2",fa);mxUtils.extend(P,mxRectangleShape);P.prototype.paintBackground=function(c,m,t,n,r){c.setFillColor(mxConstants.NONE);c.rect(m,t,n,r);c.fill()};P.prototype.paintForeground=+function(c,m,t,n,r){};mxCellRenderer.registerShape("transparent",P);mxUtils.extend(Z,mxHexagon);Z.prototype.size=30;Z.prototype.position=.5;Z.prototype.position2=.5;Z.prototype.base=20;Z.prototype.getLabelMargins=function(){return new mxRectangle(0,0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale)};Z.prototype.isRoundable=function(){return!0};Z.prototype.redrawPath=function(c,m,t,n,r){m=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;t=Math.max(0,+Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));var v=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position",this.position)))),x=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2)))),I=Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"base",this.base))));this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,r-t),new mxPoint(Math.min(n,v+I),r-t),new mxPoint(x,r),new mxPoint(Math.max(0,v),r-t),+new mxPoint(0,r-t)],this.isRounded,m,!0,[4])};mxCellRenderer.registerShape("callout",Z);mxUtils.extend(X,mxActor);X.prototype.size=.2;X.prototype.fixedSize=20;X.prototype.isRoundable=function(){return!0};X.prototype.redrawPath=function(c,m,t,n,r){m="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,+mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n-m,0),new mxPoint(n,r/2),new mxPoint(n-m,r),new mxPoint(0,r),new mxPoint(m,r/2)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("step",X);mxUtils.extend(ba,mxHexagon);ba.prototype.size=.25;ba.prototype.fixedSize=20;ba.prototype.isRoundable=function(){return!0};ba.prototype.redrawPath=function(c,m,t,n,r){m="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(.5*n,parseFloat(mxUtils.getValue(this.style,+"size",this.fixedSize)))):n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(m,0),new mxPoint(n-m,0),new mxPoint(n,.5*r),new mxPoint(n-m,r),new mxPoint(m,r),new mxPoint(0,.5*r)],this.isRounded,t,!0)};mxCellRenderer.registerShape("hexagon",ba);mxUtils.extend(L,mxRectangleShape);L.prototype.isHtmlAllowed=function(){return!1};L.prototype.paintForeground=function(c,+m,t,n,r){var v=Math.min(n/5,r/5)+1;c.begin();c.moveTo(m+n/2,t+v);c.lineTo(m+n/2,t+r-v);c.moveTo(m+v,t+r/2);c.lineTo(m+n-v,t+r/2);c.end();c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("plus",L);var nb=mxRhombus.prototype.paintVertexShape;mxRhombus.prototype.getLabelBounds=function(c){if(1==this.style["double"]){var m=(2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(c.x++m,c.y+m,c.width-2*m,c.height-2*m)}return c};mxRhombus.prototype.paintVertexShape=function(c,m,t,n,r){nb.apply(this,arguments);if(!this.outline&&1==this.style["double"]){var v=2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0);m+=v;t+=v;n-=2*v;r-=2*v;0<n&&0<r&&(c.setShadow(!1),nb.apply(this,[c,m,t,n,r]))}};mxUtils.extend(U,mxRectangleShape);U.prototype.isHtmlAllowed=function(){return!1};U.prototype.getLabelBounds=function(c){if(1==this.style["double"]){var m=(Math.max(2,+this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(c.x+m,c.y+m,c.width-2*m,c.height-2*m)}return c};U.prototype.paintForeground=function(c,m,t,n,r){if(null!=this.style){if(!this.outline&&1==this.style["double"]){var v=Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0);m+=v;t+=v;n-=2*v;r-=2*v;0<n&&0<r&&mxRectangleShape.prototype.paintBackground.apply(this,arguments)}c.setDashed(!1);v=0;do{var x=mxCellRenderer.defaultShapes[this.style["symbol"++v]];if(null!=x){var I=this.style["symbol"+v+"Align"],z=this.style["symbol"+v+"VerticalAlign"],da=this.style["symbol"+v+"Width"],R=this.style["symbol"+v+"Height"],Ga=this.style["symbol"+v+"Spacing"]||0,Ta=this.style["symbol"+v+"VSpacing"]||Ga,Pa=this.style["symbol"+v+"ArcSpacing"];null!=Pa&&(Pa*=this.getArcSize(n+this.strokewidth,r+this.strokewidth),Ga+=Pa,Ta+=Pa);Pa=m;var pa=t;Pa=I==mxConstants.ALIGN_CENTER?Pa+(n-da)/2:I==mxConstants.ALIGN_RIGHT?Pa+(n-da-Ga):Pa+Ga;pa=z==mxConstants.ALIGN_MIDDLE?pa++(r-R)/2:z==mxConstants.ALIGN_BOTTOM?pa+(r-R-Ta):pa+Ta;c.save();I=new x;I.style=this.style;x.prototype.paintVertexShape.call(I,c,Pa,pa,da,R);c.restore()}v++}while(null!=x)}mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("ext",U);mxUtils.extend(aa,mxCylinder);aa.prototype.redrawPath=function(c,m,t,n,r,v){v?(c.moveTo(0,0),c.lineTo(n/2,r/2),c.lineTo(n,0),c.end()):(c.moveTo(0,0),c.lineTo(n,0),c.lineTo(n,r),c.lineTo(0,r),c.close())};mxCellRenderer.registerShape("message",+aa);mxUtils.extend(ha,mxShape);ha.prototype.paintBackground=function(c,m,t,n,r){c.translate(m,t);c.ellipse(n/4,0,n/2,r/4);c.fillAndStroke();c.begin();c.moveTo(n/2,r/4);c.lineTo(n/2,2*r/3);c.moveTo(n/2,r/3);c.lineTo(0,r/3);c.moveTo(n/2,r/3);c.lineTo(n,r/3);c.moveTo(n/2,2*r/3);c.lineTo(0,r);c.moveTo(n/2,2*r/3);c.lineTo(n,r);c.end();c.stroke()};mxCellRenderer.registerShape("umlActor",ha);mxUtils.extend(ma,mxShape);ma.prototype.getLabelMargins=function(c){return new mxRectangle(c.width/6,0,0,0)};ma.prototype.paintBackground=+function(c,m,t,n,r){c.translate(m,t);c.begin();c.moveTo(0,r/4);c.lineTo(0,3*r/4);c.end();c.stroke();c.begin();c.moveTo(0,r/2);c.lineTo(n/6,r/2);c.end();c.stroke();c.ellipse(n/6,0,5*n/6,r);c.fillAndStroke()};mxCellRenderer.registerShape("umlBoundary",ma);mxUtils.extend(oa,mxEllipse);oa.prototype.paintVertexShape=function(c,m,t,n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.begin();c.moveTo(m+n/8,t+r);c.lineTo(m+7*n/8,t+r);c.end();c.stroke()};mxCellRenderer.registerShape("umlEntity",+oa);mxUtils.extend(ca,mxShape);ca.prototype.paintVertexShape=function(c,m,t,n,r){c.translate(m,t);c.begin();c.moveTo(n,0);c.lineTo(0,r);c.moveTo(0,0);c.lineTo(n,r);c.end();c.stroke()};mxCellRenderer.registerShape("umlDestroy",ca);mxUtils.extend(la,mxShape);la.prototype.getLabelBounds=function(c){return new mxRectangle(c.x,c.y+c.height/8,c.width,7*c.height/8)};la.prototype.paintBackground=function(c,m,t,n,r){c.translate(m,t);c.begin();c.moveTo(3*n/8,r/8*1.1);c.lineTo(5*n/8,0);c.end();c.stroke();c.ellipse(0,+r/8,n,7*r/8);c.fillAndStroke()};la.prototype.paintForeground=function(c,m,t,n,r){c.begin();c.moveTo(3*n/8,r/8*1.1);c.lineTo(5*n/8,r/4);c.end();c.stroke()};mxCellRenderer.registerShape("umlControl",la);mxUtils.extend(ia,mxRectangleShape);ia.prototype.size=40;ia.prototype.isHtmlAllowed=function(){return!1};ia.prototype.getLabelBounds=function(c){var m=Math.max(0,Math.min(c.height,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale));return new mxRectangle(c.x,c.y,c.width,m)};ia.prototype.paintBackground=+function(c,m,t,n,r){var v=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),x=mxUtils.getValue(this.style,"participant");null==x||null==this.state?mxRectangleShape.prototype.paintBackground.call(this,c,m,t,n,v):(x=this.state.view.graph.cellRenderer.getShape(x),null!=x&&x!=ia&&(x=new x,x.apply(this.state),c.save(),x.paintVertexShape(c,m,t,n,v),c.restore()));v<r&&(c.setDashed("1"==mxUtils.getValue(this.style,"lifelineDashed","1")),c.begin(),c.moveTo(m+n/2,t+v),c.lineTo(m++n/2,t+r),c.end(),c.stroke())};ia.prototype.paintForeground=function(c,m,t,n,r){var v=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));mxRectangleShape.prototype.paintForeground.call(this,c,m,t,n,Math.min(r,v))};mxCellRenderer.registerShape("umlLifeline",ia);mxUtils.extend(O,mxShape);O.prototype.width=60;O.prototype.height=30;O.prototype.corner=10;O.prototype.configurePointerEvents=function(c){var m=mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.NONE);+null==this.style||null!=m&&m!=mxConstants.NONE&&0!=this.opacity&&0!=this.fillOpacity||"0"!=mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||(c.pointerEvents=!1)};O.prototype.getLabelMargins=function(c){return new mxRectangle(0,0,c.width-parseFloat(mxUtils.getValue(this.style,"width",this.width)*this.scale),c.height-parseFloat(mxUtils.getValue(this.style,"height",this.height)*this.scale))};O.prototype.paintBackground=function(c,m,t,n,r){var v=this.corner,x=Math.min(n,Math.max(v,parseFloat(mxUtils.getValue(this.style,+"width",this.width)))),I=Math.min(r,Math.max(1.5*v,parseFloat(mxUtils.getValue(this.style,"height",this.height)))),z=mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.NONE);z!=mxConstants.NONE&&(c.setFillColor(z),c.rect(m,t,n,r),c.fill());null!=this.fill&&this.fill!=mxConstants.NONE&&this.gradient&&this.gradient!=mxConstants.NONE?(this.getGradientBounds(c,m,t,n,r),c.setGradient(this.fill,this.gradient,m,t,n,r,this.gradientDirection)):c.setFillColor(this.fill);c.pointerEvents=+!0;c.begin();c.moveTo(m,t);c.lineTo(m+x,t);c.lineTo(m+x,t+Math.max(0,I-1.5*v));c.lineTo(m+Math.max(0,x-v),t+I);c.lineTo(m,t+I);c.close();c.fillAndStroke();this.configurePointerEvents(c);c.begin();c.moveTo(m+x,t);c.lineTo(m+n,t);c.lineTo(m+n,t+r);c.lineTo(m,t+r);c.lineTo(m,t+I);c.stroke()};mxCellRenderer.registerShape("umlFrame",O);mxPerimeter.CenterPerimeter=function(c,m,t,n){return new mxPoint(c.getCenterX(),c.getCenterY())};mxStyleRegistry.putValue("centerPerimeter",mxPerimeter.CenterPerimeter);mxPerimeter.LifelinePerimeter=function(c,m,t,n){n=ia.prototype.size;null!=m&&(n=mxUtils.getValue(m.style,"size",n)*m.view.scale);m=parseFloat(m.style[mxConstants.STYLE_STROKEWIDTH]||1)*m.view.scale/2-1;t.x<c.getCenterX()&&(m=-1*(m+1));return new mxPoint(c.getCenterX()+m,Math.min(c.y+c.height,Math.max(c.y+n,t.y)))};mxStyleRegistry.putValue("lifelinePerimeter",mxPerimeter.LifelinePerimeter);mxPerimeter.OrthogonalPerimeter=function(c,m,t,n){n=!0;return mxPerimeter.RectanglePerimeter.apply(this,arguments)};mxStyleRegistry.putValue("orthogonalPerimeter",mxPerimeter.OrthogonalPerimeter);mxPerimeter.BackbonePerimeter=function(c,m,t,n){n=parseFloat(m.style[mxConstants.STYLE_STROKEWIDTH]||1)*m.view.scale/2-1;null!=m.style.backboneSize&&(n+=parseFloat(m.style.backboneSize)*m.view.scale/2-1);if("south"==m.style[mxConstants.STYLE_DIRECTION]||"north"==m.style[mxConstants.STYLE_DIRECTION])return t.x<c.getCenterX()&&(n=-1*(n+1)),new mxPoint(c.getCenterX()+n,Math.min(c.y+c.height,Math.max(c.y,t.y)));t.y<c.getCenterY()&&(n=-1*(n+1));return new mxPoint(Math.min(c.x+c.width,Math.max(c.x,t.x)),c.getCenterY()+n)};mxStyleRegistry.putValue("backbonePerimeter",mxPerimeter.BackbonePerimeter);mxPerimeter.CalloutPerimeter=function(c,m,t,n){return mxPerimeter.RectanglePerimeter(mxUtils.getDirectedBounds(c,new mxRectangle(0,0,0,Math.max(0,Math.min(c.height,parseFloat(mxUtils.getValue(m.style,"size",Z.prototype.size))*m.view.scale))),m.style),m,t,n)};mxStyleRegistry.putValue("calloutPerimeter",mxPerimeter.CalloutPerimeter);mxPerimeter.ParallelogramPerimeter=-function(c,m,t,n){var q="0"!=mxUtils.getValue(m.style,"fixedSize","0"),v=q?K.prototype.fixedSize:K.prototype.size;null!=m&&(v=mxUtils.getValue(m.style,"size",v));q&&(v*=m.view.scale);var x=c.x,I=c.y,z=c.width,da=c.height;m=null!=m?mxUtils.getValue(m.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;m==mxConstants.DIRECTION_NORTH||m==mxConstants.DIRECTION_SOUTH?(q=q?Math.max(0,Math.min(da,v)):da*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I),new mxPoint(x+z,I+-q),new mxPoint(x+z,I+da),new mxPoint(x,I+da-q),new mxPoint(x,I)]):(q=q?Math.max(0,Math.min(.5*z,v)):z*Math.max(0,Math.min(1,v)),I=[new mxPoint(x+q,I),new mxPoint(x+z,I),new mxPoint(x+z-q,I+da),new mxPoint(x,I+da),new mxPoint(x+q,I)]);da=c.getCenterX();c=c.getCenterY();c=new mxPoint(da,c);n&&(t.x<x||t.x>x+z?c.y=t.y:c.x=t.x);return mxUtils.getPerimeterPoint(I,c,t)};mxStyleRegistry.putValue("parallelogramPerimeter",mxPerimeter.ParallelogramPerimeter);mxPerimeter.TrapezoidPerimeter=function(c,m,t,n){var q=-"0"!=mxUtils.getValue(m.style,"fixedSize","0"),v=q?T.prototype.fixedSize:T.prototype.size;null!=m&&(v=mxUtils.getValue(m.style,"size",v));q&&(v*=m.view.scale);var x=c.x,I=c.y,z=c.width,da=c.height;m=null!=m?mxUtils.getValue(m.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;m==mxConstants.DIRECTION_EAST?(q=q?Math.max(0,Math.min(.5*z,v)):z*Math.max(0,Math.min(1,v)),I=[new mxPoint(x+q,I),new mxPoint(x+z-q,I),new mxPoint(x+z,I+da),new mxPoint(x,I+da),new mxPoint(x+-q,I)]):m==mxConstants.DIRECTION_WEST?(q=q?Math.max(0,Math.min(z,v)):z*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I),new mxPoint(x+z,I),new mxPoint(x+z-q,I+da),new mxPoint(x+q,I+da),new mxPoint(x,I)]):m==mxConstants.DIRECTION_NORTH?(q=q?Math.max(0,Math.min(da,v)):da*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I+q),new mxPoint(x+z,I),new mxPoint(x+z,I+da),new mxPoint(x,I+da-q),new mxPoint(x,I+q)]):(q=q?Math.max(0,Math.min(da,v)):da*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I),new mxPoint(x+z,I+q),new mxPoint(x+-z,I+da-q),new mxPoint(x,I+da),new mxPoint(x,I)]);da=c.getCenterX();c=c.getCenterY();c=new mxPoint(da,c);n&&(t.x<x||t.x>x+z?c.y=t.y:c.x=t.x);return mxUtils.getPerimeterPoint(I,c,t)};mxStyleRegistry.putValue("trapezoidPerimeter",mxPerimeter.TrapezoidPerimeter);mxPerimeter.StepPerimeter=function(c,m,t,n){var q="0"!=mxUtils.getValue(m.style,"fixedSize","0"),v=q?X.prototype.fixedSize:X.prototype.size;null!=m&&(v=mxUtils.getValue(m.style,"size",v));q&&(v*=m.view.scale);var x=c.x,I=c.y,z=c.width,da=c.height,-R=c.getCenterX();c=c.getCenterY();m=null!=m?mxUtils.getValue(m.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;m==mxConstants.DIRECTION_EAST?(q=q?Math.max(0,Math.min(z,v)):z*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I),new mxPoint(x+z-q,I),new mxPoint(x+z,c),new mxPoint(x+z-q,I+da),new mxPoint(x,I+da),new mxPoint(x+q,c),new mxPoint(x,I)]):m==mxConstants.DIRECTION_WEST?(q=q?Math.max(0,Math.min(z,v)):z*Math.max(0,Math.min(1,v)),I=[new mxPoint(x+q,I),new mxPoint(x+-z,I),new mxPoint(x+z-q,c),new mxPoint(x+z,I+da),new mxPoint(x+q,I+da),new mxPoint(x,c),new mxPoint(x+q,I)]):m==mxConstants.DIRECTION_NORTH?(q=q?Math.max(0,Math.min(da,v)):da*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I+q),new mxPoint(R,I),new mxPoint(x+z,I+q),new mxPoint(x+z,I+da),new mxPoint(R,I+da-q),new mxPoint(x,I+da),new mxPoint(x,I+q)]):(q=q?Math.max(0,Math.min(da,v)):da*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I),new mxPoint(R,I+q),new mxPoint(x+z,I),new mxPoint(x+z,I+da-q),new mxPoint(R,-I+da),new mxPoint(x,I+da-q),new mxPoint(x,I)]);R=new mxPoint(R,c);n&&(t.x<x||t.x>x+z?R.y=t.y:R.x=t.x);return mxUtils.getPerimeterPoint(I,R,t)};mxStyleRegistry.putValue("stepPerimeter",mxPerimeter.StepPerimeter);mxPerimeter.HexagonPerimeter2=function(c,m,t,n){var q="0"!=mxUtils.getValue(m.style,"fixedSize","0"),v=q?ba.prototype.fixedSize:ba.prototype.size;null!=m&&(v=mxUtils.getValue(m.style,"size",v));q&&(v*=m.view.scale);var x=c.x,I=c.y,z=c.width,da=c.height,R=c.getCenterX();c=c.getCenterY();m=null!=-m?mxUtils.getValue(m.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;m==mxConstants.DIRECTION_NORTH||m==mxConstants.DIRECTION_SOUTH?(q=q?Math.max(0,Math.min(da,v)):da*Math.max(0,Math.min(1,v)),I=[new mxPoint(R,I),new mxPoint(x+z,I+q),new mxPoint(x+z,I+da-q),new mxPoint(R,I+da),new mxPoint(x,I+da-q),new mxPoint(x,I+q),new mxPoint(R,I)]):(q=q?Math.max(0,Math.min(z,v)):z*Math.max(0,Math.min(1,v)),I=[new mxPoint(x+q,I),new mxPoint(x+z-q,I),new mxPoint(x+z,c),new mxPoint(x+-z-q,I+da),new mxPoint(x+q,I+da),new mxPoint(x,c),new mxPoint(x+q,I)]);R=new mxPoint(R,c);n&&(t.x<x||t.x>x+z?R.y=t.y:R.x=t.x);return mxUtils.getPerimeterPoint(I,R,t)};mxStyleRegistry.putValue("hexagonPerimeter2",mxPerimeter.HexagonPerimeter2);mxUtils.extend(qa,mxShape);qa.prototype.size=10;qa.prototype.paintBackground=function(c,m,t,n,q){var v=parseFloat(mxUtils.getValue(this.style,"size",this.size));c.translate(m,t);c.ellipse((n-v)/2,0,v,v);c.fillAndStroke();c.begin();c.moveTo(n/2,v);c.lineTo(n/2,-q);c.end();c.stroke()};mxCellRenderer.registerShape("lollipop",qa);mxUtils.extend(ja,mxShape);ja.prototype.size=10;ja.prototype.inset=2;ja.prototype.paintBackground=function(c,m,t,n,q){var v=parseFloat(mxUtils.getValue(this.style,"size",this.size)),x=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;c.translate(m,t);c.begin();c.moveTo(n/2,v+x);c.lineTo(n/2,q);c.end();c.stroke();c.begin();c.moveTo((n-v)/2-x,v/2);c.quadTo((n-v)/2-x,v+x,n/2,v+x);c.quadTo((n+v)/2+x,v+x,(n+v)/-2+x,v/2);c.end();c.stroke()};mxCellRenderer.registerShape("requires",ja);mxUtils.extend(va,mxShape);va.prototype.paintBackground=function(c,m,t,n,q){c.translate(m,t);c.begin();c.moveTo(0,0);c.quadTo(n,0,n,q/2);c.quadTo(n,q,0,q);c.end();c.stroke()};mxCellRenderer.registerShape("requiredInterface",va);mxUtils.extend(za,mxShape);za.prototype.inset=2;za.prototype.paintBackground=function(c,m,t,n,q){var v=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;c.translate(m,t);c.ellipse(0,-v,n-2*v,q-2*v);c.fillAndStroke();c.begin();c.moveTo(n/2,0);c.quadTo(n,0,n,q/2);c.quadTo(n,q,n/2,q);c.end();c.stroke()};mxCellRenderer.registerShape("providedRequiredInterface",za);mxUtils.extend(La,mxCylinder);La.prototype.jettyWidth=20;La.prototype.jettyHeight=10;La.prototype.redrawPath=function(c,m,t,n,q,v){var x=parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));m=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));t=x/2;x=t+x/2;var I=Math.min(m,q-m),z=Math.min(I+-2*m,q-m);v?(c.moveTo(t,I),c.lineTo(x,I),c.lineTo(x,I+m),c.lineTo(t,I+m),c.moveTo(t,z),c.lineTo(x,z),c.lineTo(x,z+m),c.lineTo(t,z+m)):(c.moveTo(t,0),c.lineTo(n,0),c.lineTo(n,q),c.lineTo(t,q),c.lineTo(t,z+m),c.lineTo(0,z+m),c.lineTo(0,z),c.lineTo(t,z),c.lineTo(t,I+m),c.lineTo(0,I+m),c.lineTo(0,I),c.lineTo(t,I),c.close());c.end()};mxCellRenderer.registerShape("module",La);mxUtils.extend(Na,mxCylinder);Na.prototype.jettyWidth=32;Na.prototype.jettyHeight=12;Na.prototype.redrawPath=function(c,m,t,n,q,v){var x=-parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));m=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));t=x/2;x=t+x/2;var I=.3*q-m/2,z=.7*q-m/2;v?(c.moveTo(t,I),c.lineTo(x,I),c.lineTo(x,I+m),c.lineTo(t,I+m),c.moveTo(t,z),c.lineTo(x,z),c.lineTo(x,z+m),c.lineTo(t,z+m)):(c.moveTo(t,0),c.lineTo(n,0),c.lineTo(n,q),c.lineTo(t,q),c.lineTo(t,z+m),c.lineTo(0,z+m),c.lineTo(0,z),c.lineTo(t,z),c.lineTo(t,I+m),c.lineTo(0,I+m),c.lineTo(0,I),c.lineTo(t,I),c.close());c.end()};-mxCellRenderer.registerShape("component",Na);mxUtils.extend(Ja,mxRectangleShape);Ja.prototype.paintForeground=function(c,m,t,n,q){var v=n/2,x=q/2,I=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;c.begin();this.addPoints(c,[new mxPoint(m+v,t),new mxPoint(m+n,t+x),new mxPoint(m+v,t+q),new mxPoint(m,t+x)],this.isRounded,I,!0);c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("associativeEntity",Ja);mxUtils.extend(Ka,-mxDoubleEllipse);Ka.prototype.outerStroke=!0;Ka.prototype.paintVertexShape=function(c,m,t,n,q){var v=Math.min(4,Math.min(n/5,q/5));0<n&&0<q&&(c.ellipse(m+v,t+v,n-2*v,q-2*v),c.fillAndStroke());c.setShadow(!1);this.outerStroke&&(c.ellipse(m,t,n,q),c.stroke())};mxCellRenderer.registerShape("endState",Ka);mxUtils.extend(ta,Ka);ta.prototype.outerStroke=!1;mxCellRenderer.registerShape("startState",ta);mxUtils.extend(Ea,mxArrowConnector);Ea.prototype.defaultWidth=4;Ea.prototype.isOpenEnded=function(){return!0};+function(c,m,t,n){var r="0"!=mxUtils.getValue(m.style,"fixedSize","0"),v=r?K.prototype.fixedSize:K.prototype.size;null!=m&&(v=mxUtils.getValue(m.style,"size",v));r&&(v*=m.view.scale);var x=c.x,I=c.y,z=c.width,da=c.height;m=null!=m?mxUtils.getValue(m.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;m==mxConstants.DIRECTION_NORTH||m==mxConstants.DIRECTION_SOUTH?(r=r?Math.max(0,Math.min(da,v)):da*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I),new mxPoint(x+z,I++r),new mxPoint(x+z,I+da),new mxPoint(x,I+da-r),new mxPoint(x,I)]):(r=r?Math.max(0,Math.min(.5*z,v)):z*Math.max(0,Math.min(1,v)),I=[new mxPoint(x+r,I),new mxPoint(x+z,I),new mxPoint(x+z-r,I+da),new mxPoint(x,I+da),new mxPoint(x+r,I)]);da=c.getCenterX();c=c.getCenterY();c=new mxPoint(da,c);n&&(t.x<x||t.x>x+z?c.y=t.y:c.x=t.x);return mxUtils.getPerimeterPoint(I,c,t)};mxStyleRegistry.putValue("parallelogramPerimeter",mxPerimeter.ParallelogramPerimeter);mxPerimeter.TrapezoidPerimeter=function(c,m,t,n){var r=+"0"!=mxUtils.getValue(m.style,"fixedSize","0"),v=r?T.prototype.fixedSize:T.prototype.size;null!=m&&(v=mxUtils.getValue(m.style,"size",v));r&&(v*=m.view.scale);var x=c.x,I=c.y,z=c.width,da=c.height;m=null!=m?mxUtils.getValue(m.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;m==mxConstants.DIRECTION_EAST?(r=r?Math.max(0,Math.min(.5*z,v)):z*Math.max(0,Math.min(1,v)),I=[new mxPoint(x+r,I),new mxPoint(x+z-r,I),new mxPoint(x+z,I+da),new mxPoint(x,I+da),new mxPoint(x++r,I)]):m==mxConstants.DIRECTION_WEST?(r=r?Math.max(0,Math.min(z,v)):z*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I),new mxPoint(x+z,I),new mxPoint(x+z-r,I+da),new mxPoint(x+r,I+da),new mxPoint(x,I)]):m==mxConstants.DIRECTION_NORTH?(r=r?Math.max(0,Math.min(da,v)):da*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I+r),new mxPoint(x+z,I),new mxPoint(x+z,I+da),new mxPoint(x,I+da-r),new mxPoint(x,I+r)]):(r=r?Math.max(0,Math.min(da,v)):da*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I),new mxPoint(x+z,I+r),new mxPoint(x++z,I+da-r),new mxPoint(x,I+da),new mxPoint(x,I)]);da=c.getCenterX();c=c.getCenterY();c=new mxPoint(da,c);n&&(t.x<x||t.x>x+z?c.y=t.y:c.x=t.x);return mxUtils.getPerimeterPoint(I,c,t)};mxStyleRegistry.putValue("trapezoidPerimeter",mxPerimeter.TrapezoidPerimeter);mxPerimeter.StepPerimeter=function(c,m,t,n){var r="0"!=mxUtils.getValue(m.style,"fixedSize","0"),v=r?X.prototype.fixedSize:X.prototype.size;null!=m&&(v=mxUtils.getValue(m.style,"size",v));r&&(v*=m.view.scale);var x=c.x,I=c.y,z=c.width,da=c.height,+R=c.getCenterX();c=c.getCenterY();m=null!=m?mxUtils.getValue(m.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;m==mxConstants.DIRECTION_EAST?(r=r?Math.max(0,Math.min(z,v)):z*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I),new mxPoint(x+z-r,I),new mxPoint(x+z,c),new mxPoint(x+z-r,I+da),new mxPoint(x,I+da),new mxPoint(x+r,c),new mxPoint(x,I)]):m==mxConstants.DIRECTION_WEST?(r=r?Math.max(0,Math.min(z,v)):z*Math.max(0,Math.min(1,v)),I=[new mxPoint(x+r,I),new mxPoint(x++z,I),new mxPoint(x+z-r,c),new mxPoint(x+z,I+da),new mxPoint(x+r,I+da),new mxPoint(x,c),new mxPoint(x+r,I)]):m==mxConstants.DIRECTION_NORTH?(r=r?Math.max(0,Math.min(da,v)):da*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I+r),new mxPoint(R,I),new mxPoint(x+z,I+r),new mxPoint(x+z,I+da),new mxPoint(R,I+da-r),new mxPoint(x,I+da),new mxPoint(x,I+r)]):(r=r?Math.max(0,Math.min(da,v)):da*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I),new mxPoint(R,I+r),new mxPoint(x+z,I),new mxPoint(x+z,I+da-r),new mxPoint(R,+I+da),new mxPoint(x,I+da-r),new mxPoint(x,I)]);R=new mxPoint(R,c);n&&(t.x<x||t.x>x+z?R.y=t.y:R.x=t.x);return mxUtils.getPerimeterPoint(I,R,t)};mxStyleRegistry.putValue("stepPerimeter",mxPerimeter.StepPerimeter);mxPerimeter.HexagonPerimeter2=function(c,m,t,n){var r="0"!=mxUtils.getValue(m.style,"fixedSize","0"),v=r?ba.prototype.fixedSize:ba.prototype.size;null!=m&&(v=mxUtils.getValue(m.style,"size",v));r&&(v*=m.view.scale);var x=c.x,I=c.y,z=c.width,da=c.height,R=c.getCenterX();c=c.getCenterY();m=null!=+m?mxUtils.getValue(m.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;m==mxConstants.DIRECTION_NORTH||m==mxConstants.DIRECTION_SOUTH?(r=r?Math.max(0,Math.min(da,v)):da*Math.max(0,Math.min(1,v)),I=[new mxPoint(R,I),new mxPoint(x+z,I+r),new mxPoint(x+z,I+da-r),new mxPoint(R,I+da),new mxPoint(x,I+da-r),new mxPoint(x,I+r),new mxPoint(R,I)]):(r=r?Math.max(0,Math.min(z,v)):z*Math.max(0,Math.min(1,v)),I=[new mxPoint(x+r,I),new mxPoint(x+z-r,I),new mxPoint(x+z,c),new mxPoint(x++z-r,I+da),new mxPoint(x+r,I+da),new mxPoint(x,c),new mxPoint(x+r,I)]);R=new mxPoint(R,c);n&&(t.x<x||t.x>x+z?R.y=t.y:R.x=t.x);return mxUtils.getPerimeterPoint(I,R,t)};mxStyleRegistry.putValue("hexagonPerimeter2",mxPerimeter.HexagonPerimeter2);mxUtils.extend(qa,mxShape);qa.prototype.size=10;qa.prototype.paintBackground=function(c,m,t,n,r){var v=parseFloat(mxUtils.getValue(this.style,"size",this.size));c.translate(m,t);c.ellipse((n-v)/2,0,v,v);c.fillAndStroke();c.begin();c.moveTo(n/2,v);c.lineTo(n/2,+r);c.end();c.stroke()};mxCellRenderer.registerShape("lollipop",qa);mxUtils.extend(ja,mxShape);ja.prototype.size=10;ja.prototype.inset=2;ja.prototype.paintBackground=function(c,m,t,n,r){var v=parseFloat(mxUtils.getValue(this.style,"size",this.size)),x=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;c.translate(m,t);c.begin();c.moveTo(n/2,v+x);c.lineTo(n/2,r);c.end();c.stroke();c.begin();c.moveTo((n-v)/2-x,v/2);c.quadTo((n-v)/2-x,v+x,n/2,v+x);c.quadTo((n+v)/2+x,v+x,(n+v)/+2+x,v/2);c.end();c.stroke()};mxCellRenderer.registerShape("requires",ja);mxUtils.extend(va,mxShape);va.prototype.paintBackground=function(c,m,t,n,r){c.translate(m,t);c.begin();c.moveTo(0,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,0,r);c.end();c.stroke()};mxCellRenderer.registerShape("requiredInterface",va);mxUtils.extend(ya,mxShape);ya.prototype.inset=2;ya.prototype.paintBackground=function(c,m,t,n,r){var v=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;c.translate(m,t);c.ellipse(0,+v,n-2*v,r-2*v);c.fillAndStroke();c.begin();c.moveTo(n/2,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,n/2,r);c.end();c.stroke()};mxCellRenderer.registerShape("providedRequiredInterface",ya);mxUtils.extend(La,mxCylinder);La.prototype.jettyWidth=20;La.prototype.jettyHeight=10;La.prototype.redrawPath=function(c,m,t,n,r,v){var x=parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));m=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));t=x/2;x=t+x/2;var I=Math.min(m,r-m),z=Math.min(I++2*m,r-m);v?(c.moveTo(t,I),c.lineTo(x,I),c.lineTo(x,I+m),c.lineTo(t,I+m),c.moveTo(t,z),c.lineTo(x,z),c.lineTo(x,z+m),c.lineTo(t,z+m)):(c.moveTo(t,0),c.lineTo(n,0),c.lineTo(n,r),c.lineTo(t,r),c.lineTo(t,z+m),c.lineTo(0,z+m),c.lineTo(0,z),c.lineTo(t,z),c.lineTo(t,I+m),c.lineTo(0,I+m),c.lineTo(0,I),c.lineTo(t,I),c.close());c.end()};mxCellRenderer.registerShape("module",La);mxUtils.extend(Na,mxCylinder);Na.prototype.jettyWidth=32;Na.prototype.jettyHeight=12;Na.prototype.redrawPath=function(c,m,t,n,r,v){var x=+parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));m=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));t=x/2;x=t+x/2;var I=.3*r-m/2,z=.7*r-m/2;v?(c.moveTo(t,I),c.lineTo(x,I),c.lineTo(x,I+m),c.lineTo(t,I+m),c.moveTo(t,z),c.lineTo(x,z),c.lineTo(x,z+m),c.lineTo(t,z+m)):(c.moveTo(t,0),c.lineTo(n,0),c.lineTo(n,r),c.lineTo(t,r),c.lineTo(t,z+m),c.lineTo(0,z+m),c.lineTo(0,z),c.lineTo(t,z),c.lineTo(t,I+m),c.lineTo(0,I+m),c.lineTo(0,I),c.lineTo(t,I),c.close());c.end()};+mxCellRenderer.registerShape("component",Na);mxUtils.extend(Ja,mxRectangleShape);Ja.prototype.paintForeground=function(c,m,t,n,r){var v=n/2,x=r/2,I=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;c.begin();this.addPoints(c,[new mxPoint(m+v,t),new mxPoint(m+n,t+x),new mxPoint(m+v,t+r),new mxPoint(m,t+x)],this.isRounded,I,!0);c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("associativeEntity",Ja);mxUtils.extend(Ka,+mxDoubleEllipse);Ka.prototype.outerStroke=!0;Ka.prototype.paintVertexShape=function(c,m,t,n,r){var v=Math.min(4,Math.min(n/5,r/5));0<n&&0<r&&(c.ellipse(m+v,t+v,n-2*v,r-2*v),c.fillAndStroke());c.setShadow(!1);this.outerStroke&&(c.ellipse(m,t,n,r),c.stroke())};mxCellRenderer.registerShape("endState",Ka);mxUtils.extend(ta,Ka);ta.prototype.outerStroke=!1;mxCellRenderer.registerShape("startState",ta);mxUtils.extend(Ea,mxArrowConnector);Ea.prototype.defaultWidth=4;Ea.prototype.isOpenEnded=function(){return!0};Ea.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};Ea.prototype.isArrowRounded=function(){return this.isRounded};mxCellRenderer.registerShape("link",Ea);mxUtils.extend(Wa,mxArrowConnector);Wa.prototype.defaultWidth=10;Wa.prototype.defaultArrowWidth=20;Wa.prototype.getStartArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"startWidth",this.defaultArrowWidth)};Wa.prototype.getEndArrowWidth=function(){return this.getEdgeWidth()+-mxUtils.getNumber(this.style,"endWidth",this.defaultArrowWidth)};Wa.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};mxCellRenderer.registerShape("flexArrow",Wa);mxUtils.extend(Xa,mxActor);Xa.prototype.size=30;Xa.prototype.isRoundable=function(){return!0};Xa.prototype.redrawPath=function(c,m,t,n,q){m=Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size)));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,-mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,q),new mxPoint(0,m),new mxPoint(n,0),new mxPoint(n,q)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("manualInput",Xa);mxUtils.extend(bb,mxRectangleShape);bb.prototype.dx=20;bb.prototype.dy=20;bb.prototype.isHtmlAllowed=function(){return!1};bb.prototype.paintForeground=function(c,m,t,n,q){mxRectangleShape.prototype.paintForeground.apply(this,arguments);var v=0;if(this.isRounded){var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,-100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;v=Math.max(v,Math.min(n*x,q*x))}x=Math.max(v,Math.min(n,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));v=Math.max(v,Math.min(q,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));c.begin();c.moveTo(m,t+v);c.lineTo(m+n,t+v);c.end();c.stroke();c.begin();c.moveTo(m+x,t);c.lineTo(m+x,t+q);c.end();c.stroke()};mxCellRenderer.registerShape("internalStorage",bb);mxUtils.extend(eb,mxActor);eb.prototype.dx=20;eb.prototype.dy=20;eb.prototype.isRoundable=-function(){return!0};eb.prototype.redrawPath=function(c,m,t,n,q){m=Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));t=Math.max(0,Math.min(q,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,t),new mxPoint(m,t),new mxPoint(m,q),new mxPoint(0,q)],this.isRounded,-v,!0);c.end()};mxCellRenderer.registerShape("corner",eb);mxUtils.extend(qb,mxActor);qb.prototype.redrawPath=function(c,m,t,n,q){c.moveTo(0,0);c.lineTo(0,q);c.end();c.moveTo(n,0);c.lineTo(n,q);c.end();c.moveTo(0,q/2);c.lineTo(n,q/2);c.end()};mxCellRenderer.registerShape("crossbar",qb);mxUtils.extend(fb,mxActor);fb.prototype.dx=20;fb.prototype.dy=20;fb.prototype.isRoundable=function(){return!0};fb.prototype.redrawPath=function(c,m,t,n,q){m=Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,-"dx",this.dx))));t=Math.max(0,Math.min(q,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,t),new mxPoint((n+m)/2,t),new mxPoint((n+m)/2,q),new mxPoint((n-m)/2,q),new mxPoint((n-m)/2,t),new mxPoint(0,t)],this.isRounded,v,!0);c.end()};mxCellRenderer.registerShape("tee",fb);mxUtils.extend(ab,-mxActor);ab.prototype.arrowWidth=.3;ab.prototype.arrowSize=.2;ab.prototype.isRoundable=function(){return!0};ab.prototype.redrawPath=function(c,m,t,n,q){var v=q*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth))));m=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));t=(q-v)/2;v=t+v;var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,t),new mxPoint(n--m,t),new mxPoint(n-m,0),new mxPoint(n,q/2),new mxPoint(n-m,q),new mxPoint(n-m,v),new mxPoint(0,v)],this.isRounded,x,!0);c.end()};mxCellRenderer.registerShape("singleArrow",ab);mxUtils.extend(hb,mxActor);hb.prototype.isRoundable=function(){return!0};hb.prototype.redrawPath=function(c,m,t,n,q){var v=q*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",ab.prototype.arrowWidth))));m=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",ab.prototype.arrowSize))));-t=(q-v)/2;v=t+v;var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,q/2),new mxPoint(m,0),new mxPoint(m,t),new mxPoint(n-m,t),new mxPoint(n-m,0),new mxPoint(n,q/2),new mxPoint(n-m,q),new mxPoint(n-m,v),new mxPoint(m,v),new mxPoint(m,q)],this.isRounded,x,!0);c.end()};mxCellRenderer.registerShape("doubleArrow",hb);mxUtils.extend(cb,mxActor);cb.prototype.size=.1;cb.prototype.fixedSize=20;cb.prototype.redrawPath=function(c,m,t,n,q){m=-"0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(m,0);c.lineTo(n,0);c.quadTo(n-2*m,q/2,n,q);c.lineTo(m,q);c.quadTo(m-2*m,q/2,m,0);c.close();c.end()};mxCellRenderer.registerShape("dataStorage",cb);mxUtils.extend(p,mxActor);p.prototype.redrawPath=function(c,m,t,n,q){c.moveTo(0,0);c.quadTo(n,0,n,q/2);c.quadTo(n,q,0,q);c.close();-c.end()};mxCellRenderer.registerShape("or",p);mxUtils.extend(B,mxActor);B.prototype.redrawPath=function(c,m,t,n,q){c.moveTo(0,0);c.quadTo(n,0,n,q/2);c.quadTo(n,q,0,q);c.quadTo(n/2,q/2,0,0);c.close();c.end()};mxCellRenderer.registerShape("xor",B);mxUtils.extend(C,mxActor);C.prototype.size=20;C.prototype.isRoundable=function(){return!0};C.prototype.redrawPath=function(c,m,t,n,q){m=Math.min(n/2,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,-mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(m,0),new mxPoint(n-m,0),new mxPoint(n,.8*m),new mxPoint(n,q),new mxPoint(0,q),new mxPoint(0,.8*m)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("loopLimit",C);mxUtils.extend(E,mxActor);E.prototype.size=.375;E.prototype.isRoundable=function(){return!0};E.prototype.redrawPath=function(c,m,t,n,q){m=q*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,-mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,q-m),new mxPoint(n/2,q),new mxPoint(0,q-m)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("offPageConnector",E);mxUtils.extend(J,mxEllipse);J.prototype.paintVertexShape=function(c,m,t,n,q){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.begin();c.moveTo(m+n/2,t+q);c.lineTo(m+n,t+q);c.end();c.stroke()};mxCellRenderer.registerShape("tapeData",J);mxUtils.extend(Q,mxEllipse);Q.prototype.paintVertexShape=-function(c,m,t,n,q){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(m,t+q/2);c.lineTo(m+n,t+q/2);c.end();c.stroke();c.begin();c.moveTo(m+n/2,t);c.lineTo(m+n/2,t+q);c.end();c.stroke()};mxCellRenderer.registerShape("orEllipse",Q);mxUtils.extend(Y,mxEllipse);Y.prototype.paintVertexShape=function(c,m,t,n,q){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(m+.145*n,t+.145*q);c.lineTo(m+.855*n,t+.855*q);c.end();c.stroke();-c.begin();c.moveTo(m+.855*n,t+.145*q);c.lineTo(m+.145*n,t+.855*q);c.end();c.stroke()};mxCellRenderer.registerShape("sumEllipse",Y);mxUtils.extend(ka,mxRhombus);ka.prototype.paintVertexShape=function(c,m,t,n,q){mxRhombus.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(m,t+q/2);c.lineTo(m+n,t+q/2);c.end();c.stroke()};mxCellRenderer.registerShape("sortShape",ka);mxUtils.extend(ea,mxEllipse);ea.prototype.paintVertexShape=function(c,m,t,n,q){c.begin();c.moveTo(m,t);-c.lineTo(m+n,t);c.lineTo(m+n/2,t+q/2);c.close();c.fillAndStroke();c.begin();c.moveTo(m,t+q);c.lineTo(m+n,t+q);c.lineTo(m+n/2,t+q/2);c.close();c.fillAndStroke()};mxCellRenderer.registerShape("collate",ea);mxUtils.extend(na,mxEllipse);na.prototype.paintVertexShape=function(c,m,t,n,q){var v=c.state.strokeWidth/2,x=10+2*v,I=t+q-x/2;c.begin();c.moveTo(m,t);c.lineTo(m,t+q);c.moveTo(m+v,I);c.lineTo(m+v+x,I-x/2);c.moveTo(m+v,I);c.lineTo(m+v+x,I+x/2);c.moveTo(m+v,I);c.lineTo(m+n-v,I);c.moveTo(m+n,t);c.lineTo(m+-n,t+q);c.moveTo(m+n-v,I);c.lineTo(m+n-x-v,I-x/2);c.moveTo(m+n-v,I);c.lineTo(m+n-x-v,I+x/2);c.end();c.stroke()};mxCellRenderer.registerShape("dimension",na);mxUtils.extend(Ba,mxEllipse);Ba.prototype.drawHidden=!0;Ba.prototype.paintVertexShape=function(c,m,t,n,q){this.outline||c.setStrokeColor(null);if(null!=this.style){var v=c.pointerEvents,x=null!=this.fill&&this.fill!=mxConstants.NONE;"1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||x||(c.pointerEvents=!1);var I="1"==mxUtils.getValue(this.style,-"top","1"),z="1"==mxUtils.getValue(this.style,"left","1"),da="1"==mxUtils.getValue(this.style,"right","1"),R="1"==mxUtils.getValue(this.style,"bottom","1");this.drawHidden||x||this.outline||I||da||R||z?(c.rect(m,t,n,q),c.fill(),c.pointerEvents=v,c.setStrokeColor(this.stroke),c.setLineCap("square"),c.begin(),c.moveTo(m,t),this.outline||I?c.lineTo(m+n,t):c.moveTo(m+n,t),this.outline||da?c.lineTo(m+n,t+q):c.moveTo(m+n,t+q),this.outline||R?c.lineTo(m,t+q):c.moveTo(m,t+q),(this.outline||z)&&c.lineTo(m,-t),c.end(),c.stroke(),c.setLineCap("flat")):c.setStrokeColor(this.stroke)}};mxCellRenderer.registerShape("partialRectangle",Ba);mxUtils.extend(Ma,mxEllipse);Ma.prototype.paintVertexShape=function(c,m,t,n,q){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();"vertical"==mxUtils.getValue(this.style,"line")?(c.moveTo(m+n/2,t),c.lineTo(m+n/2,t+q)):(c.moveTo(m,t+q/2),c.lineTo(m+n,t+q/2));c.end();c.stroke()};mxCellRenderer.registerShape("lineEllipse",Ma);mxUtils.extend(Ia,-mxActor);Ia.prototype.redrawPath=function(c,m,t,n,q){m=Math.min(n,q/2);c.moveTo(0,0);c.lineTo(n-m,0);c.quadTo(n,0,n,q/2);c.quadTo(n,q,n-m,q);c.lineTo(0,q);c.close();c.end()};mxCellRenderer.registerShape("delay",Ia);mxUtils.extend(Aa,mxActor);Aa.prototype.size=.2;Aa.prototype.redrawPath=function(c,m,t,n,q){m=Math.min(q,n);var v=Math.max(0,Math.min(m,m*parseFloat(mxUtils.getValue(this.style,"size",this.size))));m=(q-v)/2;t=m+v;var x=(n-v)/2;v=x+v;c.moveTo(0,m);c.lineTo(x,m);c.lineTo(x,0);c.lineTo(v,-0);c.lineTo(v,m);c.lineTo(n,m);c.lineTo(n,t);c.lineTo(v,t);c.lineTo(v,q);c.lineTo(x,q);c.lineTo(x,t);c.lineTo(0,t);c.close();c.end()};mxCellRenderer.registerShape("cross",Aa);mxUtils.extend(Ha,mxActor);Ha.prototype.size=.25;Ha.prototype.redrawPath=function(c,m,t,n,q){m=Math.min(n,q/2);t=Math.min(n-m,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*n);c.moveTo(0,q/2);c.lineTo(t,0);c.lineTo(n-m,0);c.quadTo(n,0,n,q/2);c.quadTo(n,q,n-m,q);c.lineTo(t,q);c.close();c.end()};mxCellRenderer.registerShape("display",+mxUtils.getNumber(this.style,"endWidth",this.defaultArrowWidth)};Wa.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};mxCellRenderer.registerShape("flexArrow",Wa);mxUtils.extend(Xa,mxActor);Xa.prototype.size=30;Xa.prototype.isRoundable=function(){return!0};Xa.prototype.redrawPath=function(c,m,t,n,r){m=Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size)));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,+mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r),new mxPoint(0,m),new mxPoint(n,0),new mxPoint(n,r)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("manualInput",Xa);mxUtils.extend(bb,mxRectangleShape);bb.prototype.dx=20;bb.prototype.dy=20;bb.prototype.isHtmlAllowed=function(){return!1};bb.prototype.paintForeground=function(c,m,t,n,r){mxRectangleShape.prototype.paintForeground.apply(this,arguments);var v=0;if(this.isRounded){var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,+100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;v=Math.max(v,Math.min(n*x,r*x))}x=Math.max(v,Math.min(n,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));v=Math.max(v,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));c.begin();c.moveTo(m,t+v);c.lineTo(m+n,t+v);c.end();c.stroke();c.begin();c.moveTo(m+x,t);c.lineTo(m+x,t+r);c.end();c.stroke()};mxCellRenderer.registerShape("internalStorage",bb);mxUtils.extend(eb,mxActor);eb.prototype.dx=20;eb.prototype.dy=20;eb.prototype.isRoundable=+function(){return!0};eb.prototype.redrawPath=function(c,m,t,n,r){m=Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));t=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,t),new mxPoint(m,t),new mxPoint(m,r),new mxPoint(0,r)],this.isRounded,+v,!0);c.end()};mxCellRenderer.registerShape("corner",eb);mxUtils.extend(qb,mxActor);qb.prototype.redrawPath=function(c,m,t,n,r){c.moveTo(0,0);c.lineTo(0,r);c.end();c.moveTo(n,0);c.lineTo(n,r);c.end();c.moveTo(0,r/2);c.lineTo(n,r/2);c.end()};mxCellRenderer.registerShape("crossbar",qb);mxUtils.extend(fb,mxActor);fb.prototype.dx=20;fb.prototype.dy=20;fb.prototype.isRoundable=function(){return!0};fb.prototype.redrawPath=function(c,m,t,n,r){m=Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,+"dx",this.dx))));t=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,t),new mxPoint((n+m)/2,t),new mxPoint((n+m)/2,r),new mxPoint((n-m)/2,r),new mxPoint((n-m)/2,t),new mxPoint(0,t)],this.isRounded,v,!0);c.end()};mxCellRenderer.registerShape("tee",fb);mxUtils.extend(ab,+mxActor);ab.prototype.arrowWidth=.3;ab.prototype.arrowSize=.2;ab.prototype.isRoundable=function(){return!0};ab.prototype.redrawPath=function(c,m,t,n,r){var v=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth))));m=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));t=(r-v)/2;v=t+v;var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,t),new mxPoint(n-+m,t),new mxPoint(n-m,0),new mxPoint(n,r/2),new mxPoint(n-m,r),new mxPoint(n-m,v),new mxPoint(0,v)],this.isRounded,x,!0);c.end()};mxCellRenderer.registerShape("singleArrow",ab);mxUtils.extend(hb,mxActor);hb.prototype.isRoundable=function(){return!0};hb.prototype.redrawPath=function(c,m,t,n,r){var v=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",ab.prototype.arrowWidth))));m=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",ab.prototype.arrowSize))));+t=(r-v)/2;v=t+v;var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r/2),new mxPoint(m,0),new mxPoint(m,t),new mxPoint(n-m,t),new mxPoint(n-m,0),new mxPoint(n,r/2),new mxPoint(n-m,r),new mxPoint(n-m,v),new mxPoint(m,v),new mxPoint(m,r)],this.isRounded,x,!0);c.end()};mxCellRenderer.registerShape("doubleArrow",hb);mxUtils.extend(cb,mxActor);cb.prototype.size=.1;cb.prototype.fixedSize=20;cb.prototype.redrawPath=function(c,m,t,n,r){m=+"0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(m,0);c.lineTo(n,0);c.quadTo(n-2*m,r/2,n,r);c.lineTo(m,r);c.quadTo(m-2*m,r/2,m,0);c.close();c.end()};mxCellRenderer.registerShape("dataStorage",cb);mxUtils.extend(p,mxActor);p.prototype.redrawPath=function(c,m,t,n,r){c.moveTo(0,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,0,r);c.close();+c.end()};mxCellRenderer.registerShape("or",p);mxUtils.extend(B,mxActor);B.prototype.redrawPath=function(c,m,t,n,r){c.moveTo(0,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,0,r);c.quadTo(n/2,r/2,0,0);c.close();c.end()};mxCellRenderer.registerShape("xor",B);mxUtils.extend(C,mxActor);C.prototype.size=20;C.prototype.isRoundable=function(){return!0};C.prototype.redrawPath=function(c,m,t,n,r){m=Math.min(n/2,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,+mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(m,0),new mxPoint(n-m,0),new mxPoint(n,.8*m),new mxPoint(n,r),new mxPoint(0,r),new mxPoint(0,.8*m)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("loopLimit",C);mxUtils.extend(E,mxActor);E.prototype.size=.375;E.prototype.isRoundable=function(){return!0};E.prototype.redrawPath=function(c,m,t,n,r){m=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,+mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,r-m),new mxPoint(n/2,r),new mxPoint(0,r-m)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("offPageConnector",E);mxUtils.extend(J,mxEllipse);J.prototype.paintVertexShape=function(c,m,t,n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.begin();c.moveTo(m+n/2,t+r);c.lineTo(m+n,t+r);c.end();c.stroke()};mxCellRenderer.registerShape("tapeData",J);mxUtils.extend(Q,mxEllipse);Q.prototype.paintVertexShape=+function(c,m,t,n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(m,t+r/2);c.lineTo(m+n,t+r/2);c.end();c.stroke();c.begin();c.moveTo(m+n/2,t);c.lineTo(m+n/2,t+r);c.end();c.stroke()};mxCellRenderer.registerShape("orEllipse",Q);mxUtils.extend(Y,mxEllipse);Y.prototype.paintVertexShape=function(c,m,t,n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(m+.145*n,t+.145*r);c.lineTo(m+.855*n,t+.855*r);c.end();c.stroke();+c.begin();c.moveTo(m+.855*n,t+.145*r);c.lineTo(m+.145*n,t+.855*r);c.end();c.stroke()};mxCellRenderer.registerShape("sumEllipse",Y);mxUtils.extend(ka,mxRhombus);ka.prototype.paintVertexShape=function(c,m,t,n,r){mxRhombus.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(m,t+r/2);c.lineTo(m+n,t+r/2);c.end();c.stroke()};mxCellRenderer.registerShape("sortShape",ka);mxUtils.extend(ea,mxEllipse);ea.prototype.paintVertexShape=function(c,m,t,n,r){c.begin();c.moveTo(m,t);+c.lineTo(m+n,t);c.lineTo(m+n/2,t+r/2);c.close();c.fillAndStroke();c.begin();c.moveTo(m,t+r);c.lineTo(m+n,t+r);c.lineTo(m+n/2,t+r/2);c.close();c.fillAndStroke()};mxCellRenderer.registerShape("collate",ea);mxUtils.extend(na,mxEllipse);na.prototype.paintVertexShape=function(c,m,t,n,r){var v=c.state.strokeWidth/2,x=10+2*v,I=t+r-x/2;c.begin();c.moveTo(m,t);c.lineTo(m,t+r);c.moveTo(m+v,I);c.lineTo(m+v+x,I-x/2);c.moveTo(m+v,I);c.lineTo(m+v+x,I+x/2);c.moveTo(m+v,I);c.lineTo(m+n-v,I);c.moveTo(m+n,t);c.lineTo(m++n,t+r);c.moveTo(m+n-v,I);c.lineTo(m+n-x-v,I-x/2);c.moveTo(m+n-v,I);c.lineTo(m+n-x-v,I+x/2);c.end();c.stroke()};mxCellRenderer.registerShape("dimension",na);mxUtils.extend(Ba,mxEllipse);Ba.prototype.drawHidden=!0;Ba.prototype.paintVertexShape=function(c,m,t,n,r){this.outline||c.setStrokeColor(null);if(null!=this.style){var v=c.pointerEvents,x=null!=this.fill&&this.fill!=mxConstants.NONE;"1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||x||(c.pointerEvents=!1);var I="1"==mxUtils.getValue(this.style,+"top","1"),z="1"==mxUtils.getValue(this.style,"left","1"),da="1"==mxUtils.getValue(this.style,"right","1"),R="1"==mxUtils.getValue(this.style,"bottom","1");this.drawHidden||x||this.outline||I||da||R||z?(c.rect(m,t,n,r),c.fill(),c.pointerEvents=v,c.setStrokeColor(this.stroke),c.setLineCap("square"),c.begin(),c.moveTo(m,t),this.outline||I?c.lineTo(m+n,t):c.moveTo(m+n,t),this.outline||da?c.lineTo(m+n,t+r):c.moveTo(m+n,t+r),this.outline||R?c.lineTo(m,t+r):c.moveTo(m,t+r),(this.outline||z)&&c.lineTo(m,+t),c.end(),c.stroke(),c.setLineCap("flat")):c.setStrokeColor(this.stroke)}};mxCellRenderer.registerShape("partialRectangle",Ba);mxUtils.extend(Ma,mxEllipse);Ma.prototype.paintVertexShape=function(c,m,t,n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();"vertical"==mxUtils.getValue(this.style,"line")?(c.moveTo(m+n/2,t),c.lineTo(m+n/2,t+r)):(c.moveTo(m,t+r/2),c.lineTo(m+n,t+r/2));c.end();c.stroke()};mxCellRenderer.registerShape("lineEllipse",Ma);mxUtils.extend(Ia,+mxActor);Ia.prototype.redrawPath=function(c,m,t,n,r){m=Math.min(n,r/2);c.moveTo(0,0);c.lineTo(n-m,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,n-m,r);c.lineTo(0,r);c.close();c.end()};mxCellRenderer.registerShape("delay",Ia);mxUtils.extend(Aa,mxActor);Aa.prototype.size=.2;Aa.prototype.redrawPath=function(c,m,t,n,r){m=Math.min(r,n);var v=Math.max(0,Math.min(m,m*parseFloat(mxUtils.getValue(this.style,"size",this.size))));m=(r-v)/2;t=m+v;var x=(n-v)/2;v=x+v;c.moveTo(0,m);c.lineTo(x,m);c.lineTo(x,0);c.lineTo(v,+0);c.lineTo(v,m);c.lineTo(n,m);c.lineTo(n,t);c.lineTo(v,t);c.lineTo(v,r);c.lineTo(x,r);c.lineTo(x,t);c.lineTo(0,t);c.close();c.end()};mxCellRenderer.registerShape("cross",Aa);mxUtils.extend(Ha,mxActor);Ha.prototype.size=.25;Ha.prototype.redrawPath=function(c,m,t,n,r){m=Math.min(n,r/2);t=Math.min(n-m,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*n);c.moveTo(0,r/2);c.lineTo(t,0);c.lineTo(n-m,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,n-m,r);c.lineTo(t,r);c.close();c.end()};mxCellRenderer.registerShape("display",Ha);mxUtils.extend(xa,mxActor);xa.prototype.cst={RECT2:"mxgraph.basic.rect"};xa.prototype.customProperties=[{name:"rectStyle",dispName:"Style",type:"enum",defVal:"square",enumList:[{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"size",dispName:"Corner Size",type:"float",defVal:10},{name:"absoluteCornerSize",dispName:"Abs. Corner Size",type:"bool",defVal:!0},{name:"indent",dispName:"Indent",type:"float",defVal:2},{name:"rectOutline",dispName:"Outline",type:"enum",defVal:"single",enumList:[{val:"single",dispName:"Single"},{val:"double",dispName:"Double"},{val:"frame",dispName:"Frame"}]},{name:"fillColor2",dispName:"Inside Fill Color",type:"color",defVal:"none"},{name:"gradientColor2",dispName:"Inside Gradient Color",type:"color",defVal:"none"},{name:"gradientDirection2",dispName:"Inside Gradient Direction",type:"enum",defVal:"south",enumList:[{val:"south",dispName:"South"},{val:"west",dispName:"West"},{val:"north",dispName:"North"},{val:"east",dispName:"East"}]},{name:"top",dispName:"Top Line",type:"bool",defVal:!0},{name:"right",dispName:"Right",type:"bool",defVal:!0},{name:"bottom",dispName:"Bottom Line",type:"bool",defVal:!0},{name:"left",dispName:"Left ",type:"bool",defVal:!0},{name:"topLeftStyle",dispName:"Top Left Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"topRightStyle",dispName:"Top Right Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"bottomRightStyle",dispName:"Bottom Right Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"bottomLeftStyle",dispName:"Bottom Left Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]}];xa.prototype.paintVertexShape=function(c,m,-t,n,q){c.translate(m,t);this.strictDrawShape(c,0,0,n,q)};xa.prototype.strictDrawShape=function(c,m,t,n,q,v){var x=v&&v.rectStyle?v.rectStyle:mxUtils.getValue(this.style,"rectStyle",this.rectStyle),I=v&&v.absoluteCornerSize?v.absoluteCornerSize:mxUtils.getValue(this.style,"absoluteCornerSize",this.absoluteCornerSize),z=v&&v.size?v.size:Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),da=v&&v.rectOutline?v.rectOutline:mxUtils.getValue(this.style,"rectOutline",this.rectOutline),+t,n,r){c.translate(m,t);this.strictDrawShape(c,0,0,n,r)};xa.prototype.strictDrawShape=function(c,m,t,n,r,v){var x=v&&v.rectStyle?v.rectStyle:mxUtils.getValue(this.style,"rectStyle",this.rectStyle),I=v&&v.absoluteCornerSize?v.absoluteCornerSize:mxUtils.getValue(this.style,"absoluteCornerSize",this.absoluteCornerSize),z=v&&v.size?v.size:Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),da=v&&v.rectOutline?v.rectOutline:mxUtils.getValue(this.style,"rectOutline",this.rectOutline),R=v&&v.indent?v.indent:Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"indent",this.indent)))),Ga=v&&v.dashed?v.dashed:mxUtils.getValue(this.style,"dashed",!1),Ta=v&&v.dashPattern?v.dashPattern:mxUtils.getValue(this.style,"dashPattern",null),Pa=v&&v.relIndent?v.relIndent:Math.max(0,Math.min(50,R)),pa=v&&v.top?v.top:mxUtils.getValue(this.style,"top",!0),ua=v&&v.right?v.right:mxUtils.getValue(this.style,"right",!0),sa=v&&v.bottom?v.bottom:mxUtils.getValue(this.style,"bottom",!0),ra=v&&-v.left?v.left:mxUtils.getValue(this.style,"left",!0),ya=v&&v.topLeftStyle?v.topLeftStyle:mxUtils.getValue(this.style,"topLeftStyle","default"),Ca=v&&v.topRightStyle?v.topRightStyle:mxUtils.getValue(this.style,"topRightStyle","default"),Da=v&&v.bottomRightStyle?v.bottomRightStyle:mxUtils.getValue(this.style,"bottomRightStyle","default"),Fa=v&&v.bottomLeftStyle?v.bottomLeftStyle:mxUtils.getValue(this.style,"bottomLeftStyle","default"),Cb=v&&v.fillColor?v.fillColor:mxUtils.getValue(this.style,"fillColor",+v.left?v.left:mxUtils.getValue(this.style,"left",!0),za=v&&v.topLeftStyle?v.topLeftStyle:mxUtils.getValue(this.style,"topLeftStyle","default"),Ca=v&&v.topRightStyle?v.topRightStyle:mxUtils.getValue(this.style,"topRightStyle","default"),Da=v&&v.bottomRightStyle?v.bottomRightStyle:mxUtils.getValue(this.style,"bottomRightStyle","default"),Fa=v&&v.bottomLeftStyle?v.bottomLeftStyle:mxUtils.getValue(this.style,"bottomLeftStyle","default"),Cb=v&&v.fillColor?v.fillColor:mxUtils.getValue(this.style,"fillColor","#ffffff");v&&v.strokeColor||mxUtils.getValue(this.style,"strokeColor","#000000");var Db=v&&v.strokeWidth?v.strokeWidth:mxUtils.getValue(this.style,"strokeWidth","1"),Ab=v&&v.fillColor2?v.fillColor2:mxUtils.getValue(this.style,"fillColor2","none"),Bb=v&&v.gradientColor2?v.gradientColor2:mxUtils.getValue(this.style,"gradientColor2","none"),Eb=v&&v.gradientDirection2?v.gradientDirection2:mxUtils.getValue(this.style,"gradientDirection2","south"),Fb=v&&v.opacity?v.opacity:mxUtils.getValue(this.style,-"opacity","100"),Gb=Math.max(0,Math.min(50,z));v=xa.prototype;c.setDashed(Ga);Ta&&""!=Ta&&c.setDashPattern(Ta);c.setStrokeWidth(Db);z=Math.min(.5*q,.5*n,z);I||(z=Gb*Math.min(n,q)/100);z=Math.min(z,.5*Math.min(n,q));I||(R=Math.min(Pa*Math.min(n,q)/100));R=Math.min(R,.5*Math.min(n,q)-z);(pa||ua||sa||ra)&&"frame"!=da&&(c.begin(),pa?v.moveNW(c,m,t,n,q,x,ya,z,ra):c.moveTo(0,0),pa&&v.paintNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),ua&&v.paintNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,-Da,z,sa),sa&&v.paintSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),ra&&v.paintSW(c,m,t,n,q,x,Fa,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),c.close(),c.fill(),c.setShadow(!1),c.setFillColor(Ab),Ga=I=Fb,"none"==Ab&&(I=0),"none"==Bb&&(Ga=0),c.setGradient(Ab,Bb,0,0,n,q,Eb,I,Ga),c.begin(),pa?v.moveNWInner(c,m,t,n,q,x,ya,z,R,pa,ra):c.moveTo(R,0),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),ra&&sa&&v.paintSWInner(c,m,t,n,q,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),sa&&ua&&v.paintSEInner(c,-m,t,n,q,x,Da,z,R),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),ua&&pa&&v.paintNEInner(c,m,t,n,q,x,Ca,z,R),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa),pa&&ra&&v.paintNWInner(c,m,t,n,q,x,ya,z,R),c.fill(),"none"==Cb&&(c.begin(),v.paintFolds(c,m,t,n,q,x,ya,Ca,Da,Fa,z,pa,ua,sa,ra),c.stroke()));pa||ua||sa||!ra?pa||ua||!sa||ra?!pa&&!ua&&sa&&ra?"frame"!=da?(c.begin(),v.moveSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),v.paintSW(c,m,t,n,q,x,Fa,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),"double"==da&&-(v.moveNWInner(c,m,t,n,q,x,ya,z,R,pa,ra),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),v.paintSWInner(c,m,t,n,q,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa)),c.stroke()):(c.begin(),v.moveSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),v.paintSW(c,m,t,n,q,x,Fa,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),v.lineNWInner(c,m,t,n,q,x,ya,z,R,pa,ra),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),v.paintSWInner(c,m,t,n,q,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),c.close(),c.fillAndStroke()):-pa||!ua||sa||ra?!pa&&ua&&!sa&&ra?"frame"!=da?(c.begin(),v.moveSW(c,m,t,n,q,x,ya,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),"double"==da&&(v.moveNWInner(c,m,t,n,q,x,ya,z,R,pa,ra),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra)),c.stroke(),c.begin(),v.moveNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),"double"==da&&(v.moveSEInner(c,m,t,n,q,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua)),c.stroke()):(c.begin(),v.moveSW(c,m,t,n,q,x,ya,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),v.lineNWInner(c,-m,t,n,q,x,ya,z,R,pa,ra),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),c.close(),c.fillAndStroke(),c.begin(),v.moveNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),v.lineSEInner(c,m,t,n,q,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),c.close(),c.fillAndStroke()):!pa&&ua&&sa&&!ra?"frame"!=da?(c.begin(),v.moveNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),v.paintSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),"double"==da&&(v.moveSWInner(c,m,t,n,q,x,Fa,z,R,ra),-v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,q,x,Da,z,R),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua)),c.stroke()):(c.begin(),v.moveNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),v.paintSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),v.lineSWInner(c,m,t,n,q,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,q,x,Da,z,R),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),c.close(),c.fillAndStroke()):!pa&&ua&&sa&&ra?"frame"!=da?(c.begin(),-v.moveNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),v.paintSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),v.paintSW(c,m,t,n,q,x,Fa,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),"double"==da&&(v.moveNWInner(c,m,t,n,q,x,ya,z,R,pa,ra),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),v.paintSWInner(c,m,t,n,q,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,q,x,Da,z,R),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua)),c.stroke()):(c.begin(),v.moveNE(c,m,t,n,q,x,Ca,-z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),v.paintSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),v.paintSW(c,m,t,n,q,x,Fa,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),v.lineNWInner(c,m,t,n,q,x,ya,z,R,pa,ra),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),v.paintSWInner(c,m,t,n,q,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,q,x,Da,z,R),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),c.close(),c.fillAndStroke()):!pa||ua||sa||ra?pa&&!ua&&!sa&&ra?"frame"!=da?(c.begin(),v.moveSW(c,-m,t,n,q,x,Fa,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),v.paintNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),"double"==da&&(v.moveNEInner(c,m,t,n,q,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa),v.paintNWInner(c,m,t,n,q,x,ya,z,R),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra)),c.stroke()):(c.begin(),v.moveSW(c,m,t,n,q,x,Fa,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),v.paintNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),v.lineNEInner(c,m,t,n,q,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,q,x,-ya,z,R,ra,pa),v.paintNWInner(c,m,t,n,q,x,ya,z,R),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),c.close(),c.fillAndStroke()):pa&&!ua&&sa&&!ra?"frame"!=da?(c.begin(),v.moveNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),"double"==da&&(v.moveNEInner(c,m,t,n,q,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa)),c.stroke(),c.begin(),v.moveSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),"double"==da&&(v.moveSWInner(c,m,t,n,q,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa)),-c.stroke()):(c.begin(),v.moveNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),v.lineNEInner(c,m,t,n,q,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa),c.close(),c.fillAndStroke(),c.begin(),v.moveSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),v.lineSWInner(c,m,t,n,q,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),c.close(),c.fillAndStroke()):pa&&!ua&&sa&&ra?"frame"!=da?(c.begin(),v.moveSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),v.paintSW(c,m,t,n,q,-x,Fa,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),v.paintNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),"double"==da&&(v.moveNEInner(c,m,t,n,q,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa),v.paintNWInner(c,m,t,n,q,x,ya,z,R),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),v.paintSWInner(c,m,t,n,q,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa)),c.stroke()):(c.begin(),v.moveSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),v.paintSW(c,m,t,n,q,x,Fa,z,sa),v.paintLeft(c,m,t,n,-q,x,ya,z,pa),v.paintNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),v.lineNEInner(c,m,t,n,q,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa),v.paintNWInner(c,m,t,n,q,x,ya,z,R),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),v.paintSWInner(c,m,t,n,q,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),c.close(),c.fillAndStroke()):pa&&ua&&!sa&&!ra?"frame"!=da?(c.begin(),v.moveNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),v.paintNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,-x,Da,z,sa),"double"==da&&(v.moveSEInner(c,m,t,n,q,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,q,x,Ca,z,R),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa)),c.stroke()):(c.begin(),v.moveNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),v.paintNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),v.lineSEInner(c,m,t,n,q,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,q,x,Ca,z,R),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa),c.close(),-c.fillAndStroke()):pa&&ua&&!sa&&ra?"frame"!=da?(c.begin(),v.moveSW(c,m,t,n,q,x,Fa,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),v.paintNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),v.paintNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),"double"==da&&(v.moveSEInner(c,m,t,n,q,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,q,x,Ca,z,R),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa),v.paintNWInner(c,m,t,n,q,x,ya,z,R),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra)),-c.stroke()):(c.begin(),v.moveSW(c,m,t,n,q,x,Fa,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),v.paintNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),v.paintNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),v.lineSEInner(c,m,t,n,q,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,q,x,Ca,z,R),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa),v.paintNWInner(c,m,t,n,q,x,ya,z,R),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),c.close(),c.fillAndStroke()):pa&&ua&&sa&&!ra?"frame"!=-da?(c.begin(),v.moveNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),v.paintNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),v.paintSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),"double"==da&&(v.moveSWInner(c,m,t,n,q,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,q,x,Da,z,R),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,q,x,Ca,z,R),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa)),c.stroke()):(c.begin(),v.moveNW(c,m,t,n,-q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),v.paintNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),v.paintSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),v.lineSWInner(c,m,t,n,q,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,q,x,Da,z,R),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,q,x,Ca,z,R),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa),c.close(),c.fillAndStroke()):pa&&ua&&sa&&ra&&("frame"!=da?(c.begin(),v.moveNW(c,m,t,n,q,-x,ya,z,ra),v.paintNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),v.paintNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),v.paintSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),v.paintSW(c,m,t,n,q,x,Fa,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),c.close(),"double"==da&&(v.moveSWInner(c,m,t,n,q,x,Fa,z,R,ra),v.paintSWInner(c,m,t,n,q,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,q,x,Da,z,R),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),v.paintNEInner(c,-m,t,n,q,x,Ca,z,R),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa),v.paintNWInner(c,m,t,n,q,x,ya,z,R),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),c.close()),c.stroke()):(c.begin(),v.moveNW(c,m,t,n,q,x,ya,z,ra),v.paintNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),v.paintNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),v.paintSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),v.paintSW(c,m,t,n,q,x,Fa,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),c.close(),v.moveSWInner(c,m,t,n,q,x,Fa,z,-R,ra),v.paintSWInner(c,m,t,n,q,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,q,x,Da,z,R),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,q,x,Ca,z,R),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa),v.paintNWInner(c,m,t,n,q,x,ya,z,R),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),c.close(),c.fillAndStroke())):"frame"!=da?(c.begin(),v.moveNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),"double"==da&&(v.moveNEInner(c,m,t,n,q,x,Ca,z,R,ua),v.paintTopInner(c,-m,t,n,q,x,ya,z,R,ra,pa)),c.stroke()):(c.begin(),v.moveNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),v.lineNEInner(c,m,t,n,q,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa),c.close(),c.fillAndStroke()):"frame"!=da?(c.begin(),v.moveNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),"double"==da&&(v.moveSEInner(c,m,t,n,q,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua)),c.stroke()):(c.begin(),v.moveNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),v.lineSEInner(c,-m,t,n,q,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),c.close(),c.fillAndStroke()):"frame"!=da?(c.begin(),v.moveSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),"double"==da&&(v.moveSWInner(c,m,t,n,q,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa)),c.stroke()):(c.begin(),v.moveSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),v.lineSWInner(c,m,t,n,q,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),c.close(),c.fillAndStroke()):"frame"!=da?(c.begin(),-v.moveSW(c,m,t,n,q,x,ya,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),"double"==da&&(v.moveNWInner(c,m,t,n,q,x,ya,z,R,pa,ra),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra)),c.stroke()):(c.begin(),v.moveSW(c,m,t,n,q,x,ya,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),v.lineNWInner(c,m,t,n,q,x,ya,z,R,pa,ra),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),c.close(),c.fillAndStroke());c.begin();v.paintFolds(c,m,t,n,q,x,ya,Ca,Da,Fa,z,pa,ua,sa,ra);c.stroke()};xa.prototype.moveNW=function(c,m,t,n,q,v,x,I,z){"square"==x||"default"==-x&&"square"==v||!z?c.moveTo(0,0):c.moveTo(0,I)};xa.prototype.moveNE=function(c,m,t,n,q,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.moveTo(n,0):c.moveTo(n-I,0)};xa.prototype.moveSE=function(c,m,t,n,q,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.moveTo(n,q):c.moveTo(n,q-I)};xa.prototype.moveSW=function(c,m,t,n,q,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.moveTo(0,q):c.moveTo(I,q)};xa.prototype.paintNW=function(c,m,t,n,q,v,x,I,z){if(z)if("rounded"==x||"default"==x&&"rounded"==-v||"invRound"==x||"default"==x&&"invRound"==v){m=0;if("rounded"==x||"default"==x&&"rounded"==v)m=1;c.arcTo(I,I,0,0,m,I,0)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(I,0);else c.lineTo(0,0)};xa.prototype.paintTop=function(c,m,t,n,q,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.lineTo(n,0):c.lineTo(n-I,0)};xa.prototype.paintNE=function(c,m,t,n,q,v,x,I,z){if(z)if("rounded"==x||"default"==x&&"rounded"==v||"invRound"==x||"default"==x&&"invRound"==v){m=-0;if("rounded"==x||"default"==x&&"rounded"==v)m=1;c.arcTo(I,I,0,0,m,n,I)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(n,I);else c.lineTo(n,0)};xa.prototype.paintRight=function(c,m,t,n,q,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.lineTo(n,q):c.lineTo(n,q-I)};xa.prototype.paintLeft=function(c,m,t,n,q,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.lineTo(0,0):c.lineTo(0,I)};xa.prototype.paintSE=function(c,m,t,n,q,v,x,I,z){if(z)if("rounded"==-x||"default"==x&&"rounded"==v||"invRound"==x||"default"==x&&"invRound"==v){m=0;if("rounded"==x||"default"==x&&"rounded"==v)m=1;c.arcTo(I,I,0,0,m,n-I,q)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(n-I,q);else c.lineTo(n,q)};xa.prototype.paintBottom=function(c,m,t,n,q,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.lineTo(0,q):c.lineTo(I,q)};xa.prototype.paintSW=function(c,m,t,n,q,v,x,I,z){if(z)if("rounded"==x||"default"==x&&"rounded"==v||"invRound"==-x||"default"==x&&"invRound"==v){m=0;if("rounded"==x||"default"==x&&"rounded"==v)m=1;c.arcTo(I,I,0,0,m,0,q-I)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(0,q-I);else c.lineTo(0,q)};xa.prototype.paintNWInner=function(c,m,t,n,q,v,x,I,z){if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(I-.5*z,I-.5*z,0,0,0,z,.5*z+I);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(I+z,I+z,0,0,1,z,z+I);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(z,.5*z+I);-else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(z+I,z+I),c.lineTo(z,z+I)};xa.prototype.paintTopInner=function(c,m,t,n,q,v,x,I,z,da,R){da||R?!da&&R?c.lineTo(0,z):da&&!R?c.lineTo(z,0):da?"square"==x||"default"==x&&"square"==v?c.lineTo(z,z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(I+.5*z,z):c.lineTo(I+z,z):c.lineTo(0,z):c.lineTo(0,0)};xa.prototype.paintNEInner=function(c,m,t,n,q,v,x,I,z){if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(I-.5*z,I-.5*-z,0,0,0,n-I-.5*z,z);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(I+z,I+z,0,0,1,n-I-z,z);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(n-I-.5*z,z);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(n-I-z,I+z),c.lineTo(n-I-z,z)};xa.prototype.paintRightInner=function(c,m,t,n,q,v,x,I,z,da,R){da||R?!da&&R?c.lineTo(n-z,0):da&&!R?c.lineTo(n,z):da?"square"==x||"default"==x&&"square"==v?c.lineTo(n-z,z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(n--z,I+.5*z):c.lineTo(n-z,I+z):c.lineTo(n-z,0):c.lineTo(n,0)};xa.prototype.paintLeftInner=function(c,m,t,n,q,v,x,I,z,da,R){da||R?!da&&R?c.lineTo(z,q):da&&!R?c.lineTo(0,q-z):da?"square"==x||"default"==x&&"square"==v?c.lineTo(z,q-z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(z,q-I-.5*z):c.lineTo(z,q-I-z):c.lineTo(z,q):c.lineTo(0,q)};xa.prototype.paintSEInner=function(c,m,t,n,q,v,x,I,z){if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(I-.5*z,I-.5*z,0,0,0,n--z,q-I-.5*z);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(I+z,I+z,0,0,1,n-z,q-I-z);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(n-z,q-I-.5*z);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(n-I-z,q-I-z),c.lineTo(n-z,q-I-z)};xa.prototype.paintBottomInner=function(c,m,t,n,q,v,x,I,z,da,R){da||R?!da&&R?c.lineTo(n,q-z):da&&!R?c.lineTo(n-z,q):"square"==x||"default"==x&&"square"==v||!da?c.lineTo(n-z,q-z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?-c.lineTo(n-I-.5*z,q-z):c.lineTo(n-I-z,q-z):c.lineTo(n,q)};xa.prototype.paintSWInner=function(c,m,t,n,q,v,x,I,z,da){if(!da)c.lineTo(z,q);else if("square"==x||"default"==x&&"square"==v)c.lineTo(z,q-z);else if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(I-.5*z,I-.5*z,0,0,0,I+.5*z,q-z);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(I+z,I+z,0,0,1,I+z,q-z);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(I+.5*z,q-z);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(z+I,q-I-z),c.lineTo(z+-I,q-z)};xa.prototype.moveSWInner=function(c,m,t,n,q,v,x,I,z,da){da?"square"==x||"default"==x&&"square"==v?c.moveTo(z,q-z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(z,q-I-.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(z,q-I-z):c.moveTo(0,q-z)};xa.prototype.lineSWInner=function(c,m,t,n,q,v,x,I,z,da){da?"square"==x||"default"==x&&"square"==v?c.lineTo(z,q-z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==-x||"default"==x&&"snip"==v?c.lineTo(z,q-I-.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(z,q-I-z):c.lineTo(0,q-z)};xa.prototype.moveSEInner=function(c,m,t,n,q,v,x,I,z,da){da?"square"==x||"default"==x&&"square"==v?c.moveTo(n-z,q-z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(n-z,q-I-.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(n-z,q-I-z):c.moveTo(n-z,q)};xa.prototype.lineSEInner=-function(c,m,t,n,q,v,x,I,z,da){da?"square"==x||"default"==x&&"square"==v?c.lineTo(n-z,q-z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(n-z,q-I-.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(n-z,q-I-z):c.lineTo(n-z,q)};xa.prototype.moveNEInner=function(c,m,t,n,q,v,x,I,z,da){da?"square"==x||"default"==x&&"square"==v||da?c.moveTo(n-z,z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==-v?c.moveTo(n-z,I+.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(n-z,I+z):c.moveTo(n,z)};xa.prototype.lineNEInner=function(c,m,t,n,q,v,x,I,z,da){da?"square"==x||"default"==x&&"square"==v||da?c.lineTo(n-z,z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(n-z,I+.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(n-z,I+z):c.lineTo(n,z)};xa.prototype.moveNWInner=function(c,-m,t,n,q,v,x,I,z,da,R){da||R?!da&&R?c.moveTo(z,0):da&&!R?c.moveTo(0,z):"square"==x||"default"==x&&"square"==v?c.moveTo(z,z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(z,I+.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(z,I+z):c.moveTo(0,0)};xa.prototype.lineNWInner=function(c,m,t,n,q,v,x,I,z,da,R){da||R?!da&&R?c.lineTo(z,0):da&&!R?c.lineTo(0,z):"square"==x||"default"==x&&"square"==v?c.lineTo(z,z):"rounded"==-x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(z,I+.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(z,I+z):c.lineTo(0,0)};xa.prototype.paintFolds=function(c,m,t,n,q,v,x,I,z,da,R,Ga,Ta,Pa,pa){if("fold"==v||"fold"==x||"fold"==I||"fold"==z||"fold"==da)("fold"==x||"default"==x&&"fold"==v)&&Ga&&pa&&(c.moveTo(0,R),c.lineTo(R,R),c.lineTo(R,0)),("fold"==I||"default"==I&&"fold"==v)&&Ga&&Ta&&(c.moveTo(n-R,0),c.lineTo(n-R,R),c.lineTo(n,-R)),("fold"==z||"default"==z&&"fold"==v)&&Pa&&Ta&&(c.moveTo(n-R,q),c.lineTo(n-R,q-R),c.lineTo(n,q-R)),("fold"==da||"default"==da&&"fold"==v)&&Pa&&pa&&(c.moveTo(0,q-R),c.lineTo(R,q-R),c.lineTo(R,q))};mxCellRenderer.registerShape(xa.prototype.cst.RECT2,xa);xa.prototype.constraints=null;mxUtils.extend(wa,mxConnector);wa.prototype.origPaintEdgeShape=wa.prototype.paintEdgeShape;wa.prototype.paintEdgeShape=function(c,m){for(var t=[],n=0;n<m.length;n++)t.push(mxUtils.clone(m[n]));n=c.state.dashed;var q=-c.state.fixDash;wa.prototype.origPaintEdgeShape.apply(this,[c,t]);3<=c.state.strokeWidth&&(t=mxUtils.getValue(this.style,"fillColor",null),null!=t&&(c.setStrokeColor(t),c.setStrokeWidth(c.state.strokeWidth-2),c.setDashed(n,q),wa.prototype.origPaintEdgeShape.apply(this,[c,m])))};mxCellRenderer.registerShape("filledEdge",wa);mxUtils.extend(Sa,mxConnector);Sa.prototype.defaultWidth=4;Sa.prototype.getEdgeWidth=function(){return Math.max(0,mxUtils.getNumber(this.style,"width",this.defaultWidth))};Sa.prototype.getFlowAnimationPath=-function(){return mxShape.prototype.getFlowAnimationPath.call(this,2)};Sa.prototype.origPaintEdgeShape=Sa.prototype.paintEdgeShape;Sa.prototype.paintEdgeShape=function(c,m){for(var t=[],n=0;n<m.length;n++)t.push(mxUtils.clone(m[n]));n=c.state.dashed;var q=c.state.fixDash,v=this.getEdgeWidth();c.setStrokeWidth(v+2*this.strokewidth);c.setDashed(!1);Sa.prototype.origPaintEdgeShape.apply(this,[c,t]);t=mxUtils.getValue(this.style,"fillColor",null);null!=t&&(c.setStrokeWidth(v),c.setStrokeColor(t),c.setDashed(n,-q),Sa.prototype.origPaintEdgeShape.apply(this,[c,m]))};mxCellRenderer.registerShape("pipe",Sa);"undefined"!==typeof StyleFormatPanel&&function(){var c=StyleFormatPanel.prototype.getCustomColors;StyleFormatPanel.prototype.getCustomColors=function(){var m=this.editorUi.getSelectionState(),t=c.apply(this,arguments);"umlFrame"==m.style.shape&&t.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"default"});return t}}();mxMarker.addMarker("dash",function(c,m,t,n,q,v,x,I,z,da){var R=-q*(x+z+1),Ga=v*(x+z+1);return function(){c.begin();c.moveTo(n.x-R/2-Ga/2,n.y-Ga/2+R/2);c.lineTo(n.x+Ga/2-3*R/2,n.y-3*Ga/2-R/2);c.stroke()}});mxMarker.addMarker("box",function(c,m,t,n,q,v,x,I,z,da){var R=q*(x+z+1),Ga=v*(x+z+1),Ta=n.x+R/2,Pa=n.y+Ga/2;n.x-=R;n.y-=Ga;return function(){c.begin();c.moveTo(Ta-R/2-Ga/2,Pa-Ga/2+R/2);c.lineTo(Ta-R/2+Ga/2,Pa-Ga/2-R/2);c.lineTo(Ta+Ga/2-3*R/2,Pa-3*Ga/2-R/2);c.lineTo(Ta-Ga/2-3*R/2,Pa-3*Ga/2+R/2);c.close();da?c.fillAndStroke():c.stroke()}});mxMarker.addMarker("cross",-function(c,m,t,n,q,v,x,I,z,da){var R=q*(x+z+1),Ga=v*(x+z+1);return function(){c.begin();c.moveTo(n.x-R/2-Ga/2,n.y-Ga/2+R/2);c.lineTo(n.x+Ga/2-3*R/2,n.y-3*Ga/2-R/2);c.moveTo(n.x-R/2+Ga/2,n.y-Ga/2-R/2);c.lineTo(n.x-Ga/2-3*R/2,n.y-3*Ga/2+R/2);c.stroke()}});mxMarker.addMarker("circle",Qa);mxMarker.addMarker("circlePlus",function(c,m,t,n,q,v,x,I,z,da){var R=n.clone(),Ga=Qa.apply(this,arguments),Ta=q*(x+2*z),Pa=v*(x+2*z);return function(){Ga.apply(this,arguments);c.begin();c.moveTo(R.x-q*z,R.y-v*z);c.lineTo(R.x--2*Ta+q*z,R.y-2*Pa+v*z);c.moveTo(R.x-Ta-Pa+v*z,R.y-Pa+Ta-q*z);c.lineTo(R.x+Pa-Ta-v*z,R.y-Pa-Ta+q*z);c.stroke()}});mxMarker.addMarker("halfCircle",function(c,m,t,n,q,v,x,I,z,da){var R=q*(x+z+1),Ga=v*(x+z+1),Ta=n.clone();n.x-=R;n.y-=Ga;return function(){c.begin();c.moveTo(Ta.x-Ga,Ta.y+R);c.quadTo(n.x-Ga,n.y+R,n.x,n.y);c.quadTo(n.x+Ga,n.y-R,Ta.x+Ga,Ta.y-R);c.stroke()}});mxMarker.addMarker("async",function(c,m,t,n,q,v,x,I,z,da){m=q*z*1.118;t=v*z*1.118;q*=x+z;v*=x+z;var R=n.clone();R.x-=m;R.y-=t;n.x+=-q--m;n.y+=-v-t;return function(){c.begin();c.moveTo(R.x,R.y);I?c.lineTo(R.x-q-v/2,R.y-v+q/2):c.lineTo(R.x+v/2-q,R.y-v-q/2);c.lineTo(R.x-q,R.y-v);c.close();da?c.fillAndStroke():c.stroke()}});mxMarker.addMarker("openAsync",function(c){c=null!=c?c:2;return function(m,t,n,q,v,x,I,z,da,R){v*=I+da;x*=I+da;var Ga=q.clone();return function(){m.begin();m.moveTo(Ga.x,Ga.y);z?m.lineTo(Ga.x-v-x/c,Ga.y-x+v/c):m.lineTo(Ga.x+x/c-v,Ga.y-x-v/c);m.stroke()}}}(2));if("undefined"!==typeof mxVertexHandler){var gb=function(c,-m,t){return ob(c,["width"],m,function(n,q,v,x,I){I=c.shape.getEdgeWidth()*c.view.scale+t;return new mxPoint(x.x+q*n/4+v*I/2,x.y+v*n/4-q*I/2)},function(n,q,v,x,I,z){n=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,I.x,I.y,z.x,z.y));c.style.width=Math.round(2*n)/c.view.scale-t})},ob=function(c,m,t,n,q){return Va(c,m,function(v){var x=c.absolutePoints;if(null!=x&&0<x.length){var I=x.length-1;v=c.view.translate;var z=c.view.scale,da=t?x[0]:x[I];x=t?x[1]:x[I-1];I=x.x-da.x;var R=x.y-da.y,Ga=Math.sqrt(I*I+R*R);da=-n.call(this,Ga,I/Ga,R/Ga,da,x);return new mxPoint(da.x/z-v.x,da.y/z-v.y)}return null},function(v,x,I){var z=c.absolutePoints,da=z.length-1;v=c.view.translate;var R=c.view.scale,Ga=t?z[0]:z[da];z=t?z[1]:z[da-1];da=z.x-Ga.x;var Ta=z.y-Ga.y,Pa=Math.sqrt(da*da+Ta*Ta);x.x=(x.x+v.x)*R;x.y=(x.y+v.y)*R;q.call(this,Pa,da/Pa,Ta/Pa,Ga,z,x,I)})},db=function(c,m){return function(t){return[ob(t,["startWidth"],!0,function(n,q,v,x,I){I=mxUtils.getNumber(t.style,"startWidth",c)*t.view.scale+m;return new mxPoint(x.x+-q*n/4+v*I/2,x.y+v*n/4-q*I/2)},function(n,q,v,x,I,z){n=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,I.x,I.y,z.x,z.y));t.style.startWidth=Math.round(2*n)/t.view.scale-m})]}},vb=function(c){return function(m){return[Va(m,["arrowWidth","arrowSize"],function(t){var n=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"arrowWidth",ab.prototype.arrowWidth))),q=Math.max(0,Math.min(c,mxUtils.getValue(this.state.style,"arrowSize",ab.prototype.arrowSize)));return new mxPoint(t.x+(1-q)*t.width,t.y+(1-n)*t.height/-2)},function(t,n){this.state.style.arrowWidth=Math.max(0,Math.min(1,Math.abs(t.y+t.height/2-n.y)/t.height*2));this.state.style.arrowSize=Math.max(0,Math.min(c,(t.x+t.width-n.x)/t.width))})]}},wb=function(c){return function(m){return[Va(m,["size"],function(t){var n=Math.max(0,Math.min(.5*t.height,parseFloat(mxUtils.getValue(this.state.style,"size",c))));return new mxPoint(t.x,t.y+n)},function(t,n){this.state.style.size=Math.max(0,n.y-t.y)},!0)]}},xb=function(c,m,t){return function(n){var q=[Va(n,["size"],-function(v){var x=Math.max(0,Math.min(v.width,Math.min(v.height,parseFloat(mxUtils.getValue(this.state.style,"size",m)))))*c;return new mxPoint(v.x+x,v.y+x)},function(v,x){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(v.width,x.x-v.x),Math.min(v.height,x.y-v.y)))/c)},!1)];t&&mxUtils.getValue(n.style,mxConstants.STYLE_ROUNDED,!1)&&q.push(ib(n));return q}},sb=function(c,m,t,n,q){t=null!=t?t:.5;return function(v){var x=[Va(v,["size"],function(I){var z=null!=q?"0"!=mxUtils.getValue(this.state.style,-"fixedSize","0"):null,da=parseFloat(mxUtils.getValue(this.state.style,"size",z?q:c));return new mxPoint(I.x+Math.max(0,Math.min(.5*I.width,da*(z?1:I.width))),I.getCenterY())},function(I,z,da){I=null!=q&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?z.x-I.x:Math.max(0,Math.min(t,(z.x-I.x)/I.width));this.state.style.size=I},!1,n)];m&&mxUtils.getValue(v.style,mxConstants.STYLE_ROUNDED,!1)&&x.push(ib(v));return x}},zb=function(c,m,t){c=null!=c?c:.5;return function(n){var q=[Va(n,["size"],function(v){var x=-null!=t?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,I=Math.max(0,parseFloat(mxUtils.getValue(this.state.style,"size",x?t:m)));return new mxPoint(v.x+Math.min(.75*v.width*c,I*(x?.75:.75*v.width)),v.y+v.height/4)},function(v,x){v=null!=t&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?x.x-v.x:Math.max(0,Math.min(c,(x.x-v.x)/v.width*.75));this.state.style.size=v},!1,!0)];mxUtils.getValue(n.style,mxConstants.STYLE_ROUNDED,!1)&&q.push(ib(n));return q}},kb=function(){return function(c){var m=-[];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(ib(c));return m}},ib=function(c,m){return Va(c,[mxConstants.STYLE_ARCSIZE],function(t){var n=null!=m?m:t.height/8;if("1"==mxUtils.getValue(c.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)){var q=mxUtils.getValue(c.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;return new mxPoint(t.x+t.width-Math.min(t.width/2,q),t.y+n)}q=Math.max(0,parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)))/-100;return new mxPoint(t.x+t.width-Math.min(Math.max(t.width/2,t.height/2),Math.min(t.width,t.height)*q),t.y+n)},function(t,n,q){"1"==mxUtils.getValue(c.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.max(0,Math.min(t.width,2*(t.x+t.width-n.x)))):this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.min(50,Math.max(0,100*(t.width-n.x+t.x)/Math.min(t.width,t.height))))})},Va=function(c,m,t,n,q,v,x){var I=new mxHandle(c,null,mxVertexHandler.prototype.secondaryHandleImage);-I.execute=function(da){for(var R=0;R<m.length;R++)this.copyStyle(m[R]);x&&x(da)};I.getPosition=t;I.setPosition=n;I.ignoreGrid=null!=q?q:!0;if(v){var z=I.positionChanged;I.positionChanged=function(){z.apply(this,arguments);c.view.invalidate(this.state.cell);c.view.validate()}}return I},Ua={link:function(c){return[gb(c,!0,10),gb(c,!1,10)]},pipe:function(c){return[gb(c,!0,10),gb(c,!1,10)]},flexArrow:function(c){var m=c.view.graph.gridSize/c.view.scale,t=[];mxUtils.getValue(c.style,mxConstants.STYLE_STARTARROW,-mxConstants.NONE)!=mxConstants.NONE&&(t.push(ob(c,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(n,q,v,x,I){n=(c.shape.getEdgeWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(x.x+q*(I+c.shape.strokewidth*c.view.scale)+v*n/2,x.y+v*(I+c.shape.strokewidth*c.view.scale)-q*n/2)},function(n,q,v,x,I,z,da){n=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,I.x,I.y,z.x,z.y));q=mxUtils.ptLineDist(x.x,-x.y,x.x+v,x.y-q,z.x,z.y);c.style[mxConstants.STYLE_STARTSIZE]=Math.round(100*(q-c.shape.strokewidth)/3)/100/c.view.scale;c.style.width=Math.round(2*n)/c.view.scale;if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE];mxEvent.isAltDown(da.getEvent())||Math.abs(parseFloat(c.style[mxConstants.STYLE_STARTSIZE])-parseFloat(c.style[mxConstants.STYLE_ENDSIZE]))<m/6&&(c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE])})),-t.push(ob(c,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(n,q,v,x,I){n=(c.shape.getStartArrowWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(x.x+q*(I+c.shape.strokewidth*c.view.scale)+v*n/2,x.y+v*(I+c.shape.strokewidth*c.view.scale)-q*n/2)},function(n,q,v,x,I,z,da){n=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,I.x,I.y,z.x,z.y));q=mxUtils.ptLineDist(x.x,-x.y,x.x+v,x.y-q,z.x,z.y);c.style[mxConstants.STYLE_STARTSIZE]=Math.round(100*(q-c.shape.strokewidth)/3)/100/c.view.scale;c.style.startWidth=Math.max(0,Math.round(2*n)-c.shape.getEdgeWidth())/c.view.scale;if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE],c.style.endWidth=c.style.startWidth;mxEvent.isAltDown(da.getEvent())||(Math.abs(parseFloat(c.style[mxConstants.STYLE_STARTSIZE])-parseFloat(c.style[mxConstants.STYLE_ENDSIZE]))<-m/6&&(c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE]),Math.abs(parseFloat(c.style.startWidth)-parseFloat(c.style.endWidth))<m&&(c.style.startWidth=c.style.endWidth))})));mxUtils.getValue(c.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE&&(t.push(ob(c,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(n,q,v,x,I){n=(c.shape.getEdgeWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/-5)*c.view.scale;return new mxPoint(x.x+q*(I+c.shape.strokewidth*c.view.scale)-v*n/2,x.y+v*(I+c.shape.strokewidth*c.view.scale)+q*n/2)},function(n,q,v,x,I,z,da){n=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,I.x,I.y,z.x,z.y));q=mxUtils.ptLineDist(x.x,x.y,x.x+v,x.y-q,z.x,z.y);c.style[mxConstants.STYLE_ENDSIZE]=Math.round(100*(q-c.shape.strokewidth)/3)/100/c.view.scale;c.style.width=Math.round(2*n)/c.view.scale;if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_STARTSIZE]=-c.style[mxConstants.STYLE_ENDSIZE];mxEvent.isAltDown(da.getEvent())||Math.abs(parseFloat(c.style[mxConstants.STYLE_ENDSIZE])-parseFloat(c.style[mxConstants.STYLE_STARTSIZE]))<m/6&&(c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE])})),t.push(ob(c,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(n,q,v,x,I){n=(c.shape.getEndArrowWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/-5)*c.view.scale;return new mxPoint(x.x+q*(I+c.shape.strokewidth*c.view.scale)-v*n/2,x.y+v*(I+c.shape.strokewidth*c.view.scale)+q*n/2)},function(n,q,v,x,I,z,da){n=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,I.x,I.y,z.x,z.y));q=mxUtils.ptLineDist(x.x,x.y,x.x+v,x.y-q,z.x,z.y);c.style[mxConstants.STYLE_ENDSIZE]=Math.round(100*(q-c.shape.strokewidth)/3)/100/c.view.scale;c.style.endWidth=Math.max(0,Math.round(2*n)-c.shape.getEdgeWidth())/c.view.scale;if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_STARTSIZE]=+"opacity","100"),Gb=Math.max(0,Math.min(50,z));v=xa.prototype;c.setDashed(Ga);Ta&&""!=Ta&&c.setDashPattern(Ta);c.setStrokeWidth(Db);z=Math.min(.5*r,.5*n,z);I||(z=Gb*Math.min(n,r)/100);z=Math.min(z,.5*Math.min(n,r));I||(R=Math.min(Pa*Math.min(n,r)/100));R=Math.min(R,.5*Math.min(n,r)-z);(pa||ua||sa||ra)&&"frame"!=da&&(c.begin(),pa?v.moveNW(c,m,t,n,r,x,za,z,ra):c.moveTo(0,0),pa&&v.paintNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),ua&&v.paintNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,+Da,z,sa),sa&&v.paintSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),ra&&v.paintSW(c,m,t,n,r,x,Fa,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),c.close(),c.fill(),c.setShadow(!1),c.setFillColor(Ab),Ga=I=Fb,"none"==Ab&&(I=0),"none"==Bb&&(Ga=0),c.setGradient(Ab,Bb,0,0,n,r,Eb,I,Ga),c.begin(),pa?v.moveNWInner(c,m,t,n,r,x,za,z,R,pa,ra):c.moveTo(R,0),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),ra&&sa&&v.paintSWInner(c,m,t,n,r,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),sa&&ua&&v.paintSEInner(c,+m,t,n,r,x,Da,z,R),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),ua&&pa&&v.paintNEInner(c,m,t,n,r,x,Ca,z,R),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa),pa&&ra&&v.paintNWInner(c,m,t,n,r,x,za,z,R),c.fill(),"none"==Cb&&(c.begin(),v.paintFolds(c,m,t,n,r,x,za,Ca,Da,Fa,z,pa,ua,sa,ra),c.stroke()));pa||ua||sa||!ra?pa||ua||!sa||ra?!pa&&!ua&&sa&&ra?"frame"!=da?(c.begin(),v.moveSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),v.paintSW(c,m,t,n,r,x,Fa,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),"double"==da&&+(v.moveNWInner(c,m,t,n,r,x,za,z,R,pa,ra),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),v.paintSWInner(c,m,t,n,r,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa)),c.stroke()):(c.begin(),v.moveSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),v.paintSW(c,m,t,n,r,x,Fa,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),v.lineNWInner(c,m,t,n,r,x,za,z,R,pa,ra),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),v.paintSWInner(c,m,t,n,r,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),c.close(),c.fillAndStroke()):+pa||!ua||sa||ra?!pa&&ua&&!sa&&ra?"frame"!=da?(c.begin(),v.moveSW(c,m,t,n,r,x,za,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),"double"==da&&(v.moveNWInner(c,m,t,n,r,x,za,z,R,pa,ra),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra)),c.stroke(),c.begin(),v.moveNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),"double"==da&&(v.moveSEInner(c,m,t,n,r,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua)),c.stroke()):(c.begin(),v.moveSW(c,m,t,n,r,x,za,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),v.lineNWInner(c,+m,t,n,r,x,za,z,R,pa,ra),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),c.close(),c.fillAndStroke(),c.begin(),v.moveNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),v.lineSEInner(c,m,t,n,r,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),c.close(),c.fillAndStroke()):!pa&&ua&&sa&&!ra?"frame"!=da?(c.begin(),v.moveNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),v.paintSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),"double"==da&&(v.moveSWInner(c,m,t,n,r,x,Fa,z,R,ra),+v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,r,x,Da,z,R),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua)),c.stroke()):(c.begin(),v.moveNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),v.paintSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),v.lineSWInner(c,m,t,n,r,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,r,x,Da,z,R),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),c.close(),c.fillAndStroke()):!pa&&ua&&sa&&ra?"frame"!=da?(c.begin(),+v.moveNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),v.paintSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),v.paintSW(c,m,t,n,r,x,Fa,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),"double"==da&&(v.moveNWInner(c,m,t,n,r,x,za,z,R,pa,ra),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),v.paintSWInner(c,m,t,n,r,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,r,x,Da,z,R),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua)),c.stroke()):(c.begin(),v.moveNE(c,m,t,n,r,x,Ca,+z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),v.paintSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),v.paintSW(c,m,t,n,r,x,Fa,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),v.lineNWInner(c,m,t,n,r,x,za,z,R,pa,ra),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),v.paintSWInner(c,m,t,n,r,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,r,x,Da,z,R),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),c.close(),c.fillAndStroke()):!pa||ua||sa||ra?pa&&!ua&&!sa&&ra?"frame"!=da?(c.begin(),v.moveSW(c,+m,t,n,r,x,Fa,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),v.paintNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),"double"==da&&(v.moveNEInner(c,m,t,n,r,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa),v.paintNWInner(c,m,t,n,r,x,za,z,R),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra)),c.stroke()):(c.begin(),v.moveSW(c,m,t,n,r,x,Fa,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),v.paintNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),v.lineNEInner(c,m,t,n,r,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,r,x,+za,z,R,ra,pa),v.paintNWInner(c,m,t,n,r,x,za,z,R),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),c.close(),c.fillAndStroke()):pa&&!ua&&sa&&!ra?"frame"!=da?(c.begin(),v.moveNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),"double"==da&&(v.moveNEInner(c,m,t,n,r,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa)),c.stroke(),c.begin(),v.moveSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),"double"==da&&(v.moveSWInner(c,m,t,n,r,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa)),+c.stroke()):(c.begin(),v.moveNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),v.lineNEInner(c,m,t,n,r,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa),c.close(),c.fillAndStroke(),c.begin(),v.moveSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),v.lineSWInner(c,m,t,n,r,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),c.close(),c.fillAndStroke()):pa&&!ua&&sa&&ra?"frame"!=da?(c.begin(),v.moveSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),v.paintSW(c,m,t,n,r,+x,Fa,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),v.paintNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),"double"==da&&(v.moveNEInner(c,m,t,n,r,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa),v.paintNWInner(c,m,t,n,r,x,za,z,R),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),v.paintSWInner(c,m,t,n,r,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa)),c.stroke()):(c.begin(),v.moveSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),v.paintSW(c,m,t,n,r,x,Fa,z,sa),v.paintLeft(c,m,t,n,+r,x,za,z,pa),v.paintNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),v.lineNEInner(c,m,t,n,r,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa),v.paintNWInner(c,m,t,n,r,x,za,z,R),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),v.paintSWInner(c,m,t,n,r,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),c.close(),c.fillAndStroke()):pa&&ua&&!sa&&!ra?"frame"!=da?(c.begin(),v.moveNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),v.paintNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,+x,Da,z,sa),"double"==da&&(v.moveSEInner(c,m,t,n,r,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,r,x,Ca,z,R),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa)),c.stroke()):(c.begin(),v.moveNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),v.paintNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),v.lineSEInner(c,m,t,n,r,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,r,x,Ca,z,R),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa),c.close(),+c.fillAndStroke()):pa&&ua&&!sa&&ra?"frame"!=da?(c.begin(),v.moveSW(c,m,t,n,r,x,Fa,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),v.paintNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),v.paintNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),"double"==da&&(v.moveSEInner(c,m,t,n,r,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,r,x,Ca,z,R),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa),v.paintNWInner(c,m,t,n,r,x,za,z,R),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra)),+c.stroke()):(c.begin(),v.moveSW(c,m,t,n,r,x,Fa,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),v.paintNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),v.paintNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),v.lineSEInner(c,m,t,n,r,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,r,x,Ca,z,R),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa),v.paintNWInner(c,m,t,n,r,x,za,z,R),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),c.close(),c.fillAndStroke()):pa&&ua&&sa&&!ra?"frame"!=+da?(c.begin(),v.moveNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),v.paintNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),v.paintSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),"double"==da&&(v.moveSWInner(c,m,t,n,r,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,r,x,Da,z,R),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,r,x,Ca,z,R),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa)),c.stroke()):(c.begin(),v.moveNW(c,m,t,n,+r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),v.paintNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),v.paintSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),v.lineSWInner(c,m,t,n,r,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,r,x,Da,z,R),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,r,x,Ca,z,R),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa),c.close(),c.fillAndStroke()):pa&&ua&&sa&&ra&&("frame"!=da?(c.begin(),v.moveNW(c,m,t,n,r,+x,za,z,ra),v.paintNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),v.paintNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),v.paintSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),v.paintSW(c,m,t,n,r,x,Fa,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),c.close(),"double"==da&&(v.moveSWInner(c,m,t,n,r,x,Fa,z,R,ra),v.paintSWInner(c,m,t,n,r,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,r,x,Da,z,R),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),v.paintNEInner(c,+m,t,n,r,x,Ca,z,R),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa),v.paintNWInner(c,m,t,n,r,x,za,z,R),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),c.close()),c.stroke()):(c.begin(),v.moveNW(c,m,t,n,r,x,za,z,ra),v.paintNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),v.paintNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),v.paintSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),v.paintSW(c,m,t,n,r,x,Fa,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),c.close(),v.moveSWInner(c,m,t,n,r,x,Fa,z,+R,ra),v.paintSWInner(c,m,t,n,r,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,r,x,Da,z,R),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,r,x,Ca,z,R),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa),v.paintNWInner(c,m,t,n,r,x,za,z,R),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),c.close(),c.fillAndStroke())):"frame"!=da?(c.begin(),v.moveNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),"double"==da&&(v.moveNEInner(c,m,t,n,r,x,Ca,z,R,ua),v.paintTopInner(c,+m,t,n,r,x,za,z,R,ra,pa)),c.stroke()):(c.begin(),v.moveNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),v.lineNEInner(c,m,t,n,r,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa),c.close(),c.fillAndStroke()):"frame"!=da?(c.begin(),v.moveNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),"double"==da&&(v.moveSEInner(c,m,t,n,r,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua)),c.stroke()):(c.begin(),v.moveNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),v.lineSEInner(c,+m,t,n,r,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),c.close(),c.fillAndStroke()):"frame"!=da?(c.begin(),v.moveSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),"double"==da&&(v.moveSWInner(c,m,t,n,r,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa)),c.stroke()):(c.begin(),v.moveSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),v.lineSWInner(c,m,t,n,r,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),c.close(),c.fillAndStroke()):"frame"!=da?(c.begin(),+v.moveSW(c,m,t,n,r,x,za,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),"double"==da&&(v.moveNWInner(c,m,t,n,r,x,za,z,R,pa,ra),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra)),c.stroke()):(c.begin(),v.moveSW(c,m,t,n,r,x,za,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),v.lineNWInner(c,m,t,n,r,x,za,z,R,pa,ra),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),c.close(),c.fillAndStroke());c.begin();v.paintFolds(c,m,t,n,r,x,za,Ca,Da,Fa,z,pa,ua,sa,ra);c.stroke()};xa.prototype.moveNW=function(c,m,t,n,r,v,x,I,z){"square"==x||"default"==+x&&"square"==v||!z?c.moveTo(0,0):c.moveTo(0,I)};xa.prototype.moveNE=function(c,m,t,n,r,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.moveTo(n,0):c.moveTo(n-I,0)};xa.prototype.moveSE=function(c,m,t,n,r,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.moveTo(n,r):c.moveTo(n,r-I)};xa.prototype.moveSW=function(c,m,t,n,r,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.moveTo(0,r):c.moveTo(I,r)};xa.prototype.paintNW=function(c,m,t,n,r,v,x,I,z){if(z)if("rounded"==x||"default"==x&&"rounded"==+v||"invRound"==x||"default"==x&&"invRound"==v){m=0;if("rounded"==x||"default"==x&&"rounded"==v)m=1;c.arcTo(I,I,0,0,m,I,0)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(I,0);else c.lineTo(0,0)};xa.prototype.paintTop=function(c,m,t,n,r,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.lineTo(n,0):c.lineTo(n-I,0)};xa.prototype.paintNE=function(c,m,t,n,r,v,x,I,z){if(z)if("rounded"==x||"default"==x&&"rounded"==v||"invRound"==x||"default"==x&&"invRound"==v){m=+0;if("rounded"==x||"default"==x&&"rounded"==v)m=1;c.arcTo(I,I,0,0,m,n,I)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(n,I);else c.lineTo(n,0)};xa.prototype.paintRight=function(c,m,t,n,r,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.lineTo(n,r):c.lineTo(n,r-I)};xa.prototype.paintLeft=function(c,m,t,n,r,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.lineTo(0,0):c.lineTo(0,I)};xa.prototype.paintSE=function(c,m,t,n,r,v,x,I,z){if(z)if("rounded"==+x||"default"==x&&"rounded"==v||"invRound"==x||"default"==x&&"invRound"==v){m=0;if("rounded"==x||"default"==x&&"rounded"==v)m=1;c.arcTo(I,I,0,0,m,n-I,r)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(n-I,r);else c.lineTo(n,r)};xa.prototype.paintBottom=function(c,m,t,n,r,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.lineTo(0,r):c.lineTo(I,r)};xa.prototype.paintSW=function(c,m,t,n,r,v,x,I,z){if(z)if("rounded"==x||"default"==x&&"rounded"==v||"invRound"==+x||"default"==x&&"invRound"==v){m=0;if("rounded"==x||"default"==x&&"rounded"==v)m=1;c.arcTo(I,I,0,0,m,0,r-I)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(0,r-I);else c.lineTo(0,r)};xa.prototype.paintNWInner=function(c,m,t,n,r,v,x,I,z){if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(I-.5*z,I-.5*z,0,0,0,z,.5*z+I);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(I+z,I+z,0,0,1,z,z+I);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(z,.5*z+I);+else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(z+I,z+I),c.lineTo(z,z+I)};xa.prototype.paintTopInner=function(c,m,t,n,r,v,x,I,z,da,R){da||R?!da&&R?c.lineTo(0,z):da&&!R?c.lineTo(z,0):da?"square"==x||"default"==x&&"square"==v?c.lineTo(z,z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(I+.5*z,z):c.lineTo(I+z,z):c.lineTo(0,z):c.lineTo(0,0)};xa.prototype.paintNEInner=function(c,m,t,n,r,v,x,I,z){if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(I-.5*z,I-.5*+z,0,0,0,n-I-.5*z,z);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(I+z,I+z,0,0,1,n-I-z,z);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(n-I-.5*z,z);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(n-I-z,I+z),c.lineTo(n-I-z,z)};xa.prototype.paintRightInner=function(c,m,t,n,r,v,x,I,z,da,R){da||R?!da&&R?c.lineTo(n-z,0):da&&!R?c.lineTo(n,z):da?"square"==x||"default"==x&&"square"==v?c.lineTo(n-z,z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(n-+z,I+.5*z):c.lineTo(n-z,I+z):c.lineTo(n-z,0):c.lineTo(n,0)};xa.prototype.paintLeftInner=function(c,m,t,n,r,v,x,I,z,da,R){da||R?!da&&R?c.lineTo(z,r):da&&!R?c.lineTo(0,r-z):da?"square"==x||"default"==x&&"square"==v?c.lineTo(z,r-z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(z,r-I-.5*z):c.lineTo(z,r-I-z):c.lineTo(z,r):c.lineTo(0,r)};xa.prototype.paintSEInner=function(c,m,t,n,r,v,x,I,z){if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(I-.5*z,I-.5*z,0,0,0,n-+z,r-I-.5*z);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(I+z,I+z,0,0,1,n-z,r-I-z);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(n-z,r-I-.5*z);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(n-I-z,r-I-z),c.lineTo(n-z,r-I-z)};xa.prototype.paintBottomInner=function(c,m,t,n,r,v,x,I,z,da,R){da||R?!da&&R?c.lineTo(n,r-z):da&&!R?c.lineTo(n-z,r):"square"==x||"default"==x&&"square"==v||!da?c.lineTo(n-z,r-z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?+c.lineTo(n-I-.5*z,r-z):c.lineTo(n-I-z,r-z):c.lineTo(n,r)};xa.prototype.paintSWInner=function(c,m,t,n,r,v,x,I,z,da){if(!da)c.lineTo(z,r);else if("square"==x||"default"==x&&"square"==v)c.lineTo(z,r-z);else if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(I-.5*z,I-.5*z,0,0,0,I+.5*z,r-z);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(I+z,I+z,0,0,1,I+z,r-z);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(I+.5*z,r-z);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(z+I,r-I-z),c.lineTo(z++I,r-z)};xa.prototype.moveSWInner=function(c,m,t,n,r,v,x,I,z,da){da?"square"==x||"default"==x&&"square"==v?c.moveTo(z,r-z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(z,r-I-.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(z,r-I-z):c.moveTo(0,r-z)};xa.prototype.lineSWInner=function(c,m,t,n,r,v,x,I,z,da){da?"square"==x||"default"==x&&"square"==v?c.lineTo(z,r-z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==+x||"default"==x&&"snip"==v?c.lineTo(z,r-I-.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(z,r-I-z):c.lineTo(0,r-z)};xa.prototype.moveSEInner=function(c,m,t,n,r,v,x,I,z,da){da?"square"==x||"default"==x&&"square"==v?c.moveTo(n-z,r-z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(n-z,r-I-.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(n-z,r-I-z):c.moveTo(n-z,r)};xa.prototype.lineSEInner=+function(c,m,t,n,r,v,x,I,z,da){da?"square"==x||"default"==x&&"square"==v?c.lineTo(n-z,r-z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(n-z,r-I-.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(n-z,r-I-z):c.lineTo(n-z,r)};xa.prototype.moveNEInner=function(c,m,t,n,r,v,x,I,z,da){da?"square"==x||"default"==x&&"square"==v||da?c.moveTo(n-z,z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==+v?c.moveTo(n-z,I+.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(n-z,I+z):c.moveTo(n,z)};xa.prototype.lineNEInner=function(c,m,t,n,r,v,x,I,z,da){da?"square"==x||"default"==x&&"square"==v||da?c.lineTo(n-z,z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(n-z,I+.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(n-z,I+z):c.lineTo(n,z)};xa.prototype.moveNWInner=function(c,+m,t,n,r,v,x,I,z,da,R){da||R?!da&&R?c.moveTo(z,0):da&&!R?c.moveTo(0,z):"square"==x||"default"==x&&"square"==v?c.moveTo(z,z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(z,I+.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(z,I+z):c.moveTo(0,0)};xa.prototype.lineNWInner=function(c,m,t,n,r,v,x,I,z,da,R){da||R?!da&&R?c.lineTo(z,0):da&&!R?c.lineTo(0,z):"square"==x||"default"==x&&"square"==v?c.lineTo(z,z):"rounded"==+x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(z,I+.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(z,I+z):c.lineTo(0,0)};xa.prototype.paintFolds=function(c,m,t,n,r,v,x,I,z,da,R,Ga,Ta,Pa,pa){if("fold"==v||"fold"==x||"fold"==I||"fold"==z||"fold"==da)("fold"==x||"default"==x&&"fold"==v)&&Ga&&pa&&(c.moveTo(0,R),c.lineTo(R,R),c.lineTo(R,0)),("fold"==I||"default"==I&&"fold"==v)&&Ga&&Ta&&(c.moveTo(n-R,0),c.lineTo(n-R,R),c.lineTo(n,+R)),("fold"==z||"default"==z&&"fold"==v)&&Pa&&Ta&&(c.moveTo(n-R,r),c.lineTo(n-R,r-R),c.lineTo(n,r-R)),("fold"==da||"default"==da&&"fold"==v)&&Pa&&pa&&(c.moveTo(0,r-R),c.lineTo(R,r-R),c.lineTo(R,r))};mxCellRenderer.registerShape(xa.prototype.cst.RECT2,xa);xa.prototype.constraints=null;mxUtils.extend(wa,mxConnector);wa.prototype.origPaintEdgeShape=wa.prototype.paintEdgeShape;wa.prototype.paintEdgeShape=function(c,m){for(var t=[],n=0;n<m.length;n++)t.push(mxUtils.clone(m[n]));n=c.state.dashed;var r=+c.state.fixDash;wa.prototype.origPaintEdgeShape.apply(this,[c,t]);3<=c.state.strokeWidth&&(t=mxUtils.getValue(this.style,"fillColor",null),null!=t&&(c.setStrokeColor(t),c.setStrokeWidth(c.state.strokeWidth-2),c.setDashed(n,r),wa.prototype.origPaintEdgeShape.apply(this,[c,m])))};mxCellRenderer.registerShape("filledEdge",wa);mxUtils.extend(Sa,mxConnector);Sa.prototype.defaultWidth=4;Sa.prototype.getEdgeWidth=function(){return Math.max(0,mxUtils.getNumber(this.style,"width",this.defaultWidth))};Sa.prototype.getFlowAnimationPath=+function(){return mxShape.prototype.getFlowAnimationPath.call(this,2)};Sa.prototype.origPaintEdgeShape=Sa.prototype.paintEdgeShape;Sa.prototype.paintEdgeShape=function(c,m){for(var t=[],n=0;n<m.length;n++)t.push(mxUtils.clone(m[n]));n=c.state.dashed;var r=c.state.fixDash,v=this.getEdgeWidth();c.setStrokeWidth(v+2*this.strokewidth);c.setDashed(!1);Sa.prototype.origPaintEdgeShape.apply(this,[c,t]);t=mxUtils.getValue(this.style,"fillColor",null);null!=t&&(c.setStrokeWidth(v),c.setStrokeColor(t),c.setDashed(n,+r),Sa.prototype.origPaintEdgeShape.apply(this,[c,m]))};mxCellRenderer.registerShape("pipe",Sa);"undefined"!==typeof StyleFormatPanel&&function(){var c=StyleFormatPanel.prototype.getCustomColors;StyleFormatPanel.prototype.getCustomColors=function(){var m=this.editorUi.getSelectionState(),t=c.apply(this,arguments);"umlFrame"==m.style.shape&&t.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"default"});return t}}();mxMarker.addMarker("dash",function(c,m,t,n,r,v,x,I,z,da){var R=+r*(x+z+1),Ga=v*(x+z+1);return function(){c.begin();c.moveTo(n.x-R/2-Ga/2,n.y-Ga/2+R/2);c.lineTo(n.x+Ga/2-3*R/2,n.y-3*Ga/2-R/2);c.stroke()}});mxMarker.addMarker("box",function(c,m,t,n,r,v,x,I,z,da){var R=r*(x+z+1),Ga=v*(x+z+1),Ta=n.x+R/2,Pa=n.y+Ga/2;n.x-=R;n.y-=Ga;return function(){c.begin();c.moveTo(Ta-R/2-Ga/2,Pa-Ga/2+R/2);c.lineTo(Ta-R/2+Ga/2,Pa-Ga/2-R/2);c.lineTo(Ta+Ga/2-3*R/2,Pa-3*Ga/2-R/2);c.lineTo(Ta-Ga/2-3*R/2,Pa-3*Ga/2+R/2);c.close();da?c.fillAndStroke():c.stroke()}});mxMarker.addMarker("cross",+function(c,m,t,n,r,v,x,I,z,da){var R=r*(x+z+1),Ga=v*(x+z+1);return function(){c.begin();c.moveTo(n.x-R/2-Ga/2,n.y-Ga/2+R/2);c.lineTo(n.x+Ga/2-3*R/2,n.y-3*Ga/2-R/2);c.moveTo(n.x-R/2+Ga/2,n.y-Ga/2-R/2);c.lineTo(n.x-Ga/2-3*R/2,n.y-3*Ga/2+R/2);c.stroke()}});mxMarker.addMarker("circle",Qa);mxMarker.addMarker("circlePlus",function(c,m,t,n,r,v,x,I,z,da){var R=n.clone(),Ga=Qa.apply(this,arguments),Ta=r*(x+2*z),Pa=v*(x+2*z);return function(){Ga.apply(this,arguments);c.begin();c.moveTo(R.x-r*z,R.y-v*z);c.lineTo(R.x-+2*Ta+r*z,R.y-2*Pa+v*z);c.moveTo(R.x-Ta-Pa+v*z,R.y-Pa+Ta-r*z);c.lineTo(R.x+Pa-Ta-v*z,R.y-Pa-Ta+r*z);c.stroke()}});mxMarker.addMarker("halfCircle",function(c,m,t,n,r,v,x,I,z,da){var R=r*(x+z+1),Ga=v*(x+z+1),Ta=n.clone();n.x-=R;n.y-=Ga;return function(){c.begin();c.moveTo(Ta.x-Ga,Ta.y+R);c.quadTo(n.x-Ga,n.y+R,n.x,n.y);c.quadTo(n.x+Ga,n.y-R,Ta.x+Ga,Ta.y-R);c.stroke()}});mxMarker.addMarker("async",function(c,m,t,n,r,v,x,I,z,da){m=r*z*1.118;t=v*z*1.118;r*=x+z;v*=x+z;var R=n.clone();R.x-=m;R.y-=t;n.x+=-r-+m;n.y+=-v-t;return function(){c.begin();c.moveTo(R.x,R.y);I?c.lineTo(R.x-r-v/2,R.y-v+r/2):c.lineTo(R.x+v/2-r,R.y-v-r/2);c.lineTo(R.x-r,R.y-v);c.close();da?c.fillAndStroke():c.stroke()}});mxMarker.addMarker("openAsync",function(c){c=null!=c?c:2;return function(m,t,n,r,v,x,I,z,da,R){v*=I+da;x*=I+da;var Ga=r.clone();return function(){m.begin();m.moveTo(Ga.x,Ga.y);z?m.lineTo(Ga.x-v-x/c,Ga.y-x+v/c):m.lineTo(Ga.x+x/c-v,Ga.y-x-v/c);m.stroke()}}}(2));if("undefined"!==typeof mxVertexHandler){var gb=function(c,+m,t){return ob(c,["width"],m,function(n,r,v,x,I){I=c.shape.getEdgeWidth()*c.view.scale+t;return new mxPoint(x.x+r*n/4+v*I/2,x.y+v*n/4-r*I/2)},function(n,r,v,x,I,z){n=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,I.x,I.y,z.x,z.y));c.style.width=Math.round(2*n)/c.view.scale-t})},ob=function(c,m,t,n,r){return Va(c,m,function(v){var x=c.absolutePoints;if(null!=x&&0<x.length){var I=x.length-1;v=c.view.translate;var z=c.view.scale,da=t?x[0]:x[I];x=t?x[1]:x[I-1];I=x.x-da.x;var R=x.y-da.y,Ga=Math.sqrt(I*I+R*R);da=+n.call(this,Ga,I/Ga,R/Ga,da,x);return new mxPoint(da.x/z-v.x,da.y/z-v.y)}return null},function(v,x,I){var z=c.absolutePoints,da=z.length-1;v=c.view.translate;var R=c.view.scale,Ga=t?z[0]:z[da];z=t?z[1]:z[da-1];da=z.x-Ga.x;var Ta=z.y-Ga.y,Pa=Math.sqrt(da*da+Ta*Ta);x.x=(x.x+v.x)*R;x.y=(x.y+v.y)*R;r.call(this,Pa,da/Pa,Ta/Pa,Ga,z,x,I)})},db=function(c,m){return function(t){return[ob(t,["startWidth"],!0,function(n,r,v,x,I){I=mxUtils.getNumber(t.style,"startWidth",c)*t.view.scale+m;return new mxPoint(x.x++r*n/4+v*I/2,x.y+v*n/4-r*I/2)},function(n,r,v,x,I,z){n=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,I.x,I.y,z.x,z.y));t.style.startWidth=Math.round(2*n)/t.view.scale-m})]}},vb=function(c){return function(m){return[Va(m,["arrowWidth","arrowSize"],function(t){var n=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"arrowWidth",ab.prototype.arrowWidth))),r=Math.max(0,Math.min(c,mxUtils.getValue(this.state.style,"arrowSize",ab.prototype.arrowSize)));return new mxPoint(t.x+(1-r)*t.width,t.y+(1-n)*t.height/+2)},function(t,n){this.state.style.arrowWidth=Math.max(0,Math.min(1,Math.abs(t.y+t.height/2-n.y)/t.height*2));this.state.style.arrowSize=Math.max(0,Math.min(c,(t.x+t.width-n.x)/t.width))})]}},wb=function(c){return function(m){return[Va(m,["size"],function(t){var n=Math.max(0,Math.min(.5*t.height,parseFloat(mxUtils.getValue(this.state.style,"size",c))));return new mxPoint(t.x,t.y+n)},function(t,n){this.state.style.size=Math.max(0,n.y-t.y)},!0)]}},xb=function(c,m,t){return function(n){var r=[Va(n,["size"],+function(v){var x=Math.max(0,Math.min(v.width,Math.min(v.height,parseFloat(mxUtils.getValue(this.state.style,"size",m)))))*c;return new mxPoint(v.x+x,v.y+x)},function(v,x){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(v.width,x.x-v.x),Math.min(v.height,x.y-v.y)))/c)},!1)];t&&mxUtils.getValue(n.style,mxConstants.STYLE_ROUNDED,!1)&&r.push(ib(n));return r}},sb=function(c,m,t,n,r){t=null!=t?t:.5;return function(v){var x=[Va(v,["size"],function(I){var z=null!=r?"0"!=mxUtils.getValue(this.state.style,+"fixedSize","0"):null,da=parseFloat(mxUtils.getValue(this.state.style,"size",z?r:c));return new mxPoint(I.x+Math.max(0,Math.min(.5*I.width,da*(z?1:I.width))),I.getCenterY())},function(I,z,da){I=null!=r&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?z.x-I.x:Math.max(0,Math.min(t,(z.x-I.x)/I.width));this.state.style.size=I},!1,n)];m&&mxUtils.getValue(v.style,mxConstants.STYLE_ROUNDED,!1)&&x.push(ib(v));return x}},zb=function(c,m,t){c=null!=c?c:.5;return function(n){var r=[Va(n,["size"],function(v){var x=+null!=t?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,I=Math.max(0,parseFloat(mxUtils.getValue(this.state.style,"size",x?t:m)));return new mxPoint(v.x+Math.min(.75*v.width*c,I*(x?.75:.75*v.width)),v.y+v.height/4)},function(v,x){v=null!=t&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?x.x-v.x:Math.max(0,Math.min(c,(x.x-v.x)/v.width*.75));this.state.style.size=v},!1,!0)];mxUtils.getValue(n.style,mxConstants.STYLE_ROUNDED,!1)&&r.push(ib(n));return r}},kb=function(){return function(c){var m=+[];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(ib(c));return m}},ib=function(c,m){return Va(c,[mxConstants.STYLE_ARCSIZE],function(t){var n=null!=m?m:t.height/8;if("1"==mxUtils.getValue(c.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)){var r=mxUtils.getValue(c.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;return new mxPoint(t.x+t.width-Math.min(t.width/2,r),t.y+n)}r=Math.max(0,parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)))/+100;return new mxPoint(t.x+t.width-Math.min(Math.max(t.width/2,t.height/2),Math.min(t.width,t.height)*r),t.y+n)},function(t,n,r){"1"==mxUtils.getValue(c.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.max(0,Math.min(t.width,2*(t.x+t.width-n.x)))):this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.min(50,Math.max(0,100*(t.width-n.x+t.x)/Math.min(t.width,t.height))))})},Va=function(c,m,t,n,r,v,x){var I=new mxHandle(c,null,mxVertexHandler.prototype.secondaryHandleImage);+I.execute=function(da){for(var R=0;R<m.length;R++)this.copyStyle(m[R]);x&&x(da)};I.getPosition=t;I.setPosition=n;I.ignoreGrid=null!=r?r:!0;if(v){var z=I.positionChanged;I.positionChanged=function(){z.apply(this,arguments);c.view.invalidate(this.state.cell);c.view.validate()}}return I},Ua={link:function(c){return[gb(c,!0,10),gb(c,!1,10)]},pipe:function(c){return[gb(c,!0,10),gb(c,!1,10)]},flexArrow:function(c){var m=c.view.graph.gridSize/c.view.scale,t=[];mxUtils.getValue(c.style,mxConstants.STYLE_STARTARROW,+mxConstants.NONE)!=mxConstants.NONE&&(t.push(ob(c,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(n,r,v,x,I){n=(c.shape.getEdgeWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(x.x+r*(I+c.shape.strokewidth*c.view.scale)+v*n/2,x.y+v*(I+c.shape.strokewidth*c.view.scale)-r*n/2)},function(n,r,v,x,I,z,da){n=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,I.x,I.y,z.x,z.y));r=mxUtils.ptLineDist(x.x,+x.y,x.x+v,x.y-r,z.x,z.y);c.style[mxConstants.STYLE_STARTSIZE]=Math.round(100*(r-c.shape.strokewidth)/3)/100/c.view.scale;c.style.width=Math.round(2*n)/c.view.scale;if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE];mxEvent.isAltDown(da.getEvent())||Math.abs(parseFloat(c.style[mxConstants.STYLE_STARTSIZE])-parseFloat(c.style[mxConstants.STYLE_ENDSIZE]))<m/6&&(c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE])})),+t.push(ob(c,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(n,r,v,x,I){n=(c.shape.getStartArrowWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(x.x+r*(I+c.shape.strokewidth*c.view.scale)+v*n/2,x.y+v*(I+c.shape.strokewidth*c.view.scale)-r*n/2)},function(n,r,v,x,I,z,da){n=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,I.x,I.y,z.x,z.y));r=mxUtils.ptLineDist(x.x,+x.y,x.x+v,x.y-r,z.x,z.y);c.style[mxConstants.STYLE_STARTSIZE]=Math.round(100*(r-c.shape.strokewidth)/3)/100/c.view.scale;c.style.startWidth=Math.max(0,Math.round(2*n)-c.shape.getEdgeWidth())/c.view.scale;if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE],c.style.endWidth=c.style.startWidth;mxEvent.isAltDown(da.getEvent())||(Math.abs(parseFloat(c.style[mxConstants.STYLE_STARTSIZE])-parseFloat(c.style[mxConstants.STYLE_ENDSIZE]))<+m/6&&(c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE]),Math.abs(parseFloat(c.style.startWidth)-parseFloat(c.style.endWidth))<m&&(c.style.startWidth=c.style.endWidth))})));mxUtils.getValue(c.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE&&(t.push(ob(c,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(n,r,v,x,I){n=(c.shape.getEdgeWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/+5)*c.view.scale;return new mxPoint(x.x+r*(I+c.shape.strokewidth*c.view.scale)-v*n/2,x.y+v*(I+c.shape.strokewidth*c.view.scale)+r*n/2)},function(n,r,v,x,I,z,da){n=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,I.x,I.y,z.x,z.y));r=mxUtils.ptLineDist(x.x,x.y,x.x+v,x.y-r,z.x,z.y);c.style[mxConstants.STYLE_ENDSIZE]=Math.round(100*(r-c.shape.strokewidth)/3)/100/c.view.scale;c.style.width=Math.round(2*n)/c.view.scale;if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_STARTSIZE]=+c.style[mxConstants.STYLE_ENDSIZE];mxEvent.isAltDown(da.getEvent())||Math.abs(parseFloat(c.style[mxConstants.STYLE_ENDSIZE])-parseFloat(c.style[mxConstants.STYLE_STARTSIZE]))<m/6&&(c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE])})),t.push(ob(c,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(n,r,v,x,I){n=(c.shape.getEndArrowWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/+5)*c.view.scale;return new mxPoint(x.x+r*(I+c.shape.strokewidth*c.view.scale)-v*n/2,x.y+v*(I+c.shape.strokewidth*c.view.scale)+r*n/2)},function(n,r,v,x,I,z,da){n=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,I.x,I.y,z.x,z.y));r=mxUtils.ptLineDist(x.x,x.y,x.x+v,x.y-r,z.x,z.y);c.style[mxConstants.STYLE_ENDSIZE]=Math.round(100*(r-c.shape.strokewidth)/3)/100/c.view.scale;c.style.endWidth=Math.max(0,Math.round(2*n)-c.shape.getEdgeWidth())/c.view.scale;if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE],c.style.startWidth=c.style.endWidth;mxEvent.isAltDown(da.getEvent())||(Math.abs(parseFloat(c.style[mxConstants.STYLE_ENDSIZE])-parseFloat(c.style[mxConstants.STYLE_STARTSIZE]))<m/6&&(c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE]),Math.abs(parseFloat(c.style.endWidth)-parseFloat(c.style.startWidth))<m&&(c.style.endWidth=c.style.startWidth))})));return t},swimlane:function(c){var m=[];if(mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED)){var t=-parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));m.push(ib(c,t/2))}m.push(Va(c,[mxConstants.STYLE_STARTSIZE],function(n){var q=parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));return 1==mxUtils.getValue(c.style,mxConstants.STYLE_HORIZONTAL,1)?new mxPoint(n.getCenterX(),n.y+Math.max(0,Math.min(n.height,q))):new mxPoint(n.x+Math.max(0,Math.min(n.width,q)),n.getCenterY())},function(n,q){c.style[mxConstants.STYLE_STARTSIZE]=-1==mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,1)?Math.round(Math.max(0,Math.min(n.height,q.y-n.y))):Math.round(Math.max(0,Math.min(n.width,q.x-n.x)))},!1,null,function(n){var q=c.view.graph;if(!mxEvent.isShiftDown(n.getEvent())&&!mxEvent.isControlDown(n.getEvent())&&(q.isTableRow(c.cell)||q.isTableCell(c.cell))){n=q.getSwimlaneDirection(c.style);var v=q.model.getParent(c.cell);v=q.model.getChildCells(v,!0);for(var x=[],I=0;I<v.length;I++)v[I]!=c.cell&&q.isSwimlane(v[I])&&q.getSwimlaneDirection(q.getCurrentCellStyle(v[I]))==-n&&x.push(v[I]);q.setCellStyles(mxConstants.STYLE_STARTSIZE,c.style[mxConstants.STYLE_STARTSIZE],x)}}));return m},label:kb(),ext:kb(),rectangle:kb(),triangle:kb(),rhombus:kb(),umlLifeline:function(c){return[Va(c,["size"],function(m){var t=Math.max(0,Math.min(m.height,parseFloat(mxUtils.getValue(this.state.style,"size",ia.prototype.size))));return new mxPoint(m.getCenterX(),m.y+t)},function(m,t){this.state.style.size=Math.round(Math.max(0,Math.min(m.height,t.y-m.y)))},!1)]},umlFrame:function(c){return[Va(c,+parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));m.push(ib(c,t/2))}m.push(Va(c,[mxConstants.STYLE_STARTSIZE],function(n){var r=parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));return 1==mxUtils.getValue(c.style,mxConstants.STYLE_HORIZONTAL,1)?new mxPoint(n.getCenterX(),n.y+Math.max(0,Math.min(n.height,r))):new mxPoint(n.x+Math.max(0,Math.min(n.width,r)),n.getCenterY())},function(n,r){c.style[mxConstants.STYLE_STARTSIZE]=+1==mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,1)?Math.round(Math.max(0,Math.min(n.height,r.y-n.y))):Math.round(Math.max(0,Math.min(n.width,r.x-n.x)))},!1,null,function(n){var r=c.view.graph;if(!mxEvent.isShiftDown(n.getEvent())&&!mxEvent.isControlDown(n.getEvent())&&(r.isTableRow(c.cell)||r.isTableCell(c.cell))){n=r.getSwimlaneDirection(c.style);var v=r.model.getParent(c.cell);v=r.model.getChildCells(v,!0);for(var x=[],I=0;I<v.length;I++)v[I]!=c.cell&&r.isSwimlane(v[I])&&r.getSwimlaneDirection(r.getCurrentCellStyle(v[I]))==+n&&x.push(v[I]);r.setCellStyles(mxConstants.STYLE_STARTSIZE,c.style[mxConstants.STYLE_STARTSIZE],x)}}));return m},label:kb(),ext:kb(),rectangle:kb(),triangle:kb(),rhombus:kb(),umlLifeline:function(c){return[Va(c,["size"],function(m){var t=Math.max(0,Math.min(m.height,parseFloat(mxUtils.getValue(this.state.style,"size",ia.prototype.size))));return new mxPoint(m.getCenterX(),m.y+t)},function(m,t){this.state.style.size=Math.round(Math.max(0,Math.min(m.height,t.y-m.y)))},!1)]},umlFrame:function(c){return[Va(c,["width","height"],function(m){var t=Math.max(O.prototype.corner,Math.min(m.width,mxUtils.getValue(this.state.style,"width",O.prototype.width))),n=Math.max(1.5*O.prototype.corner,Math.min(m.height,mxUtils.getValue(this.state.style,"height",O.prototype.height)));return new mxPoint(m.x+t,m.y+n)},function(m,t){this.state.style.width=Math.round(Math.max(O.prototype.corner,Math.min(m.width,t.x-m.x)));this.state.style.height=Math.round(Math.max(1.5*O.prototype.corner,Math.min(m.height,t.y-m.y)))},!1)]},-process:function(c){var m=[Va(c,["size"],function(t){var n="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),q=parseFloat(mxUtils.getValue(this.state.style,"size",fa.prototype.size));return n?new mxPoint(t.x+q,t.y+t.height/4):new mxPoint(t.x+t.width*q,t.y+t.height/4)},function(t,n){t="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(.5*t.width,n.x-t.x)):Math.max(0,Math.min(.5,(n.x-t.x)/t.width));this.state.style.size=t},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,+process:function(c){var m=[Va(c,["size"],function(t){var n="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),r=parseFloat(mxUtils.getValue(this.state.style,"size",fa.prototype.size));return n?new mxPoint(t.x+r,t.y+t.height/4):new mxPoint(t.x+t.width*r,t.y+t.height/4)},function(t,n){t="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(.5*t.width,n.x-t.x)):Math.max(0,Math.min(.5,(n.x-t.x)/t.width));this.state.style.size=t},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(ib(c));return m},cross:function(c){return[Va(c,["size"],function(m){var t=Math.min(m.width,m.height);t=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"size",Aa.prototype.size)))*t/2;return new mxPoint(m.getCenterX()-t,m.getCenterY()-t)},function(m,t){var n=Math.min(m.width,m.height);this.state.style.size=Math.max(0,Math.min(1,Math.min(Math.max(0,m.getCenterY()-t.y)/n*2,Math.max(0,m.getCenterX()-t.x)/n*2)))})]},note:function(c){return[Va(c,["size"],function(m){var t=Math.max(0,Math.min(m.width,Math.min(m.height,parseFloat(mxUtils.getValue(this.state.style,"size",k.prototype.size)))));return new mxPoint(m.x+m.width-t,m.y+t)},function(m,t){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(m.width,m.x+m.width-t.x),Math.min(m.height,t.y-m.y))))})]},note2:function(c){return[Va(c,["size"],function(m){var t=Math.max(0,Math.min(m.width,Math.min(m.height,parseFloat(mxUtils.getValue(this.state.style,"size",u.prototype.size)))));return new mxPoint(m.x+m.width-t,m.y+t)},function(m,t){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(m.width,m.x+m.width-t.x),Math.min(m.height,t.y-m.y))))})]},manualInput:function(c){var m=[Va(c,["size"],function(t){var n=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"size",Xa.prototype.size)));return new mxPoint(t.x+t.width/4,t.y+3*n/4)},function(t,n){this.state.style.size=Math.round(Math.max(0,Math.min(t.height,4*(n.y-t.y)/3)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(ib(c));return m},dataStorage:function(c){return[Va(c,["size"],function(m){var t="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),n=parseFloat(mxUtils.getValue(this.state.style,"size",t?cb.prototype.fixedSize:cb.prototype.size));return new mxPoint(m.x+m.width-n*(t?1:m.width),m.getCenterY())},function(m,t){m="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(m.width,m.x+m.width-t.x)):Math.max(0,Math.min(1,(m.x+m.width-t.x)/m.width));this.state.style.size=m},!1)]},callout:function(c){var m=-[Va(c,["size","position"],function(t){var n=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"size",Z.prototype.size))),q=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",Z.prototype.position)));mxUtils.getValue(this.state.style,"base",Z.prototype.base);return new mxPoint(t.x+q*t.width,t.y+t.height-n)},function(t,n){mxUtils.getValue(this.state.style,"base",Z.prototype.base);this.state.style.size=Math.round(Math.max(0,Math.min(t.height,t.y+t.height-n.y)));this.state.style.position=-Math.round(100*Math.max(0,Math.min(1,(n.x-t.x)/t.width)))/100},!1),Va(c,["position2"],function(t){var n=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position2",Z.prototype.position2)));return new mxPoint(t.x+n*t.width,t.y+t.height)},function(t,n){this.state.style.position2=Math.round(100*Math.max(0,Math.min(1,(n.x-t.x)/t.width)))/100},!1),Va(c,["base"],function(t){var n=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"size",Z.prototype.size))),q=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,-"position",Z.prototype.position))),v=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"base",Z.prototype.base)));return new mxPoint(t.x+Math.min(t.width,q*t.width+v),t.y+t.height-n)},function(t,n){var q=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",Z.prototype.position)));this.state.style.base=Math.round(Math.max(0,Math.min(t.width,n.x-t.x-q*t.width)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(ib(c));return m},internalStorage:function(c){var m=-[Va(c,["dx","dy"],function(t){var n=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"dx",bb.prototype.dx))),q=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"dy",bb.prototype.dy)));return new mxPoint(t.x+n,t.y+q)},function(t,n){this.state.style.dx=Math.round(Math.max(0,Math.min(t.width,n.x-t.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(t.height,n.y-t.y)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(ib(c));return m},module:function(c){return[Va(c,+[Va(c,["size","position"],function(t){var n=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"size",Z.prototype.size))),r=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",Z.prototype.position)));mxUtils.getValue(this.state.style,"base",Z.prototype.base);return new mxPoint(t.x+r*t.width,t.y+t.height-n)},function(t,n){mxUtils.getValue(this.state.style,"base",Z.prototype.base);this.state.style.size=Math.round(Math.max(0,Math.min(t.height,t.y+t.height-n.y)));this.state.style.position=+Math.round(100*Math.max(0,Math.min(1,(n.x-t.x)/t.width)))/100},!1),Va(c,["position2"],function(t){var n=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position2",Z.prototype.position2)));return new mxPoint(t.x+n*t.width,t.y+t.height)},function(t,n){this.state.style.position2=Math.round(100*Math.max(0,Math.min(1,(n.x-t.x)/t.width)))/100},!1),Va(c,["base"],function(t){var n=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"size",Z.prototype.size))),r=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,+"position",Z.prototype.position))),v=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"base",Z.prototype.base)));return new mxPoint(t.x+Math.min(t.width,r*t.width+v),t.y+t.height-n)},function(t,n){var r=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",Z.prototype.position)));this.state.style.base=Math.round(Math.max(0,Math.min(t.width,n.x-t.x-r*t.width)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(ib(c));return m},internalStorage:function(c){var m=+[Va(c,["dx","dy"],function(t){var n=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"dx",bb.prototype.dx))),r=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"dy",bb.prototype.dy)));return new mxPoint(t.x+n,t.y+r)},function(t,n){this.state.style.dx=Math.round(Math.max(0,Math.min(t.width,n.x-t.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(t.height,n.y-t.y)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(ib(c));return m},module:function(c){return[Va(c,["jettyWidth","jettyHeight"],function(m){var t=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"jettyWidth",La.prototype.jettyWidth))),n=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"jettyHeight",La.prototype.jettyHeight)));return new mxPoint(m.x+t/2,m.y+2*n)},function(m,t){this.state.style.jettyWidth=Math.round(2*Math.max(0,Math.min(m.width,t.x-m.x)));this.state.style.jettyHeight=Math.round(Math.max(0,Math.min(m.height,t.y-m.y))/2)})]},corner:function(c){return[Va(c,["dx","dy"],function(m){var t=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"dx",eb.prototype.dx))),n=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"dy",eb.prototype.dy)));return new mxPoint(m.x+t,m.y+n)},function(m,t){this.state.style.dx=Math.round(Math.max(0,Math.min(m.width,t.x-m.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(m.height,t.y-m.y)))},!1)]},tee:function(c){return[Va(c,["dx","dy"],function(m){var t=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"dx",fb.prototype.dx))),n=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"dy",fb.prototype.dy)));return new mxPoint(m.x+(m.width+t)/2,m.y+n)},function(m,t){this.state.style.dx=Math.round(Math.max(0,2*Math.min(m.width/2,t.x-m.x-m.width/2)));this.state.style.dy=Math.round(Math.max(0,Math.min(m.height,t.y-m.y)))},!1)]},singleArrow:vb(1),doubleArrow:vb(.5),"mxgraph.arrows2.wedgeArrow":db(20,20),"mxgraph.arrows2.wedgeArrowDashed":db(20,20),"mxgraph.arrows2.wedgeArrowDashed2":db(20,20),@@ -3557,13 +3557,13 @@ Math.tan(t),.5*m.height))},function(m,t){this.state.style.isoAngle=Math.max(0,50n){this.state.style.indent=Math.round(100*Math.max(0,Math.min(100,200*(n.y-t.y)/t.height)))/100});m.push(c);return m},step:sb(X.prototype.size,!0,null,!0,X.prototype.fixedSize),hexagon:sb(ba.prototype.size,!0,.5,!0,ba.prototype.fixedSize),curlyBracket:sb(W.prototype.size,!1),display:sb(Ha.prototype.size,!1),cube:xb(1,f.prototype.size,!1),card:xb(.5,H.prototype.size,!0),loopLimit:xb(.5,C.prototype.size,!0),trapezoid:zb(.5,T.prototype.size,T.prototype.fixedSize),parallelogram:zb(1,K.prototype.size,K.prototype.fixedSize)};Graph.createHandle=Va;Graph.handleFactory=Ua;var rb=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){var c=rb.apply(this,arguments);if(this.graph.isCellRotatable(this.state.cell)){var m=this.state.style.shape;null==mxCellRenderer.defaultShapes[m]&&null==mxStencilRegistry.getStencil(m)?m=mxConstants.SHAPE_RECTANGLE:this.state.view.graph.isSwimlane(this.state.cell)&&(m=mxConstants.SHAPE_SWIMLANE);m=Ua[m];null==m&&null!=this.state.shape&&this.state.shape.isRoundable()&&(m=Ua[mxConstants.SHAPE_RECTANGLE]);null!=m&&(m=m(this.state),null!=m&&(c=null==c?m:c.concat(m)))}return c};mxEdgeHandler.prototype.createCustomHandles=function(){var c=this.state.style.shape;null==mxCellRenderer.defaultShapes[c]&&null==mxStencilRegistry.getStencil(c)&&(c=mxConstants.SHAPE_CONNECTOR);c=Ua[c];return null!=c?c(this.state):null}}else Graph.createHandle=function(){},Graph.handleFactory={};var $a=new mxPoint(1,0),jb=new mxPoint(1,0),pb=mxUtils.toRadians(-30);-$a=mxUtils.getRotatedPoint($a,Math.cos(pb),Math.sin(pb));var Za=mxUtils.toRadians(-150);jb=mxUtils.getRotatedPoint(jb,Math.cos(Za),Math.sin(Za));mxEdgeStyle.IsometricConnector=function(c,m,t,n,q){var v=c.view;n=null!=n&&0<n.length?n[0]:null;var x=c.absolutePoints,I=x[0];x=x[x.length-1];null!=n&&(n=v.transformControlPoint(c,n));null==I&&null!=m&&(I=new mxPoint(m.getCenterX(),m.getCenterY()));null==x&&null!=t&&(x=new mxPoint(t.getCenterX(),t.getCenterY()));var z=$a.x,da=$a.y,R=jb.x,Ga=jb.y,Ta="horizontal"==-mxUtils.getValue(c.style,"elbow","horizontal");if(null!=x&&null!=I){c=function(pa,ua,sa){pa-=Pa.x;var ra=ua-Pa.y;ua=(Ga*pa-R*ra)/(z*Ga-da*R);pa=(da*pa-z*ra)/(da*R-z*Ga);Ta?(sa&&(Pa=new mxPoint(Pa.x+z*ua,Pa.y+da*ua),q.push(Pa)),Pa=new mxPoint(Pa.x+R*pa,Pa.y+Ga*pa)):(sa&&(Pa=new mxPoint(Pa.x+R*pa,Pa.y+Ga*pa),q.push(Pa)),Pa=new mxPoint(Pa.x+z*ua,Pa.y+da*ua));q.push(Pa)};var Pa=I;null==n&&(n=new mxPoint(I.x+(x.x-I.x)/2,I.y+(x.y-I.y)/2));c(n.x,n.y,!0);c(x.x,x.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",-mxEdgeStyle.IsometricConnector);var yb=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(c,m){if(m==mxEdgeStyle.IsometricConnector){var t=new mxElbowEdgeHandler(c);t.snapToTerminals=!1;return t}return yb.apply(this,arguments)};h.prototype.constraints=[];l.prototype.getConstraints=function(c,m,t){c=[];var n=Math.tan(mxUtils.toRadians(30)),q=(.5-n)/2;n=Math.min(m,t/(.5+n));m=(m-n)/2;t=(t-n)/2;c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t+.25*n));c.push(new mxConnectionConstraint(new mxPoint(0,-0),!1,null,m+.5*n,t+n*q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+n,t+.25*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+n,t+.75*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+.5*n,t+(1-q)*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t+.75*n));return c};w.prototype.getConstraints=function(c,m,t){c=[];var n=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;n=Math.min(m*+$a=mxUtils.getRotatedPoint($a,Math.cos(pb),Math.sin(pb));var Za=mxUtils.toRadians(-150);jb=mxUtils.getRotatedPoint(jb,Math.cos(Za),Math.sin(Za));mxEdgeStyle.IsometricConnector=function(c,m,t,n,r){var v=c.view;n=null!=n&&0<n.length?n[0]:null;var x=c.absolutePoints,I=x[0];x=x[x.length-1];null!=n&&(n=v.transformControlPoint(c,n));null==I&&null!=m&&(I=new mxPoint(m.getCenterX(),m.getCenterY()));null==x&&null!=t&&(x=new mxPoint(t.getCenterX(),t.getCenterY()));var z=$a.x,da=$a.y,R=jb.x,Ga=jb.y,Ta="horizontal"==+mxUtils.getValue(c.style,"elbow","horizontal");if(null!=x&&null!=I){c=function(pa,ua,sa){pa-=Pa.x;var ra=ua-Pa.y;ua=(Ga*pa-R*ra)/(z*Ga-da*R);pa=(da*pa-z*ra)/(da*R-z*Ga);Ta?(sa&&(Pa=new mxPoint(Pa.x+z*ua,Pa.y+da*ua),r.push(Pa)),Pa=new mxPoint(Pa.x+R*pa,Pa.y+Ga*pa)):(sa&&(Pa=new mxPoint(Pa.x+R*pa,Pa.y+Ga*pa),r.push(Pa)),Pa=new mxPoint(Pa.x+z*ua,Pa.y+da*ua));r.push(Pa)};var Pa=I;null==n&&(n=new mxPoint(I.x+(x.x-I.x)/2,I.y+(x.y-I.y)/2));c(n.x,n.y,!0);c(x.x,x.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",+mxEdgeStyle.IsometricConnector);var yb=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(c,m){if(m==mxEdgeStyle.IsometricConnector){var t=new mxElbowEdgeHandler(c);t.snapToTerminals=!1;return t}return yb.apply(this,arguments)};h.prototype.constraints=[];l.prototype.getConstraints=function(c,m,t){c=[];var n=Math.tan(mxUtils.toRadians(30)),r=(.5-n)/2;n=Math.min(m,t/(.5+n));m=(m-n)/2;t=(t-n)/2;c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t+.25*n));c.push(new mxConnectionConstraint(new mxPoint(0,+0),!1,null,m+.5*n,t+n*r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+n,t+.25*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+n,t+.75*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+.5*n,t+(1-r)*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t+.75*n));return c};w.prototype.getConstraints=function(c,m,t){c=[];var n=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;n=Math.min(m*Math.tan(n),.5*t);c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,n));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t-n));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-n));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,-0,n));return c};Z.prototype.getConstraints=function(c,m,t){c=[];mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE);var n=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"size",this.size))));parseFloat(mxUtils.getValue(this.style,"position",this.position));var q=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2))));parseFloat(mxUtils.getValue(this.style,"base",this.base));c.push(new mxConnectionConstraint(new mxPoint(0,-0),!1));c.push(new mxConnectionConstraint(new mxPoint(.25,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.75,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(t-n)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,q,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,+0,n));return c};Z.prototype.getConstraints=function(c,m,t){c=[];mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE);var n=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"size",this.size))));parseFloat(mxUtils.getValue(this.style,"position",this.position));var r=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2))));parseFloat(mxUtils.getValue(this.style,"base",this.base));c.push(new mxConnectionConstraint(new mxPoint(0,+0),!1));c.push(new mxConnectionConstraint(new mxPoint(.25,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.75,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(t-n)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(t-n)));m>=2*n&&c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return c};mxRectangleShape.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0)];mxEllipse.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(1,.5))];Ba.prototype.constraints=mxRectangleShape.prototype.constraints;mxImageShape.prototype.constraints=mxRectangleShape.prototype.constraints;mxSwimlane.prototype.constraints=@@ -3575,19 +3575,19 @@ null,m-n,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-.5*n,.0),!1,null,n,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*n,t-.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(t-n)));return c};A.prototype.getConstraints=function(c,m,t){c=[];m=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,m));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,m));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1,null,0,-m));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1,null,0,-m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,m+.5*(.5*t-m)));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,m+.5*(.5*t-m)));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,t-m-.5*(.5*t-m)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-m-.5*(.5*t-m)));c.push(new mxConnectionConstraint(new mxPoint(.145,0),!1,null,0,.29*m));c.push(new mxConnectionConstraint(new mxPoint(.855,0),!1,null,0,.29*m));c.push(new mxConnectionConstraint(new mxPoint(.855,1),!1,null,0,.29*-m));c.push(new mxConnectionConstraint(new mxPoint(.145,1),!1,null,0,.29*-m));return c};D.prototype.getConstraints=function(c,m,t){c=[];var n=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,-"tabWidth",this.tabWidth)))),q=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?(c.push(new mxConnectionConstraint(new mxPoint(0,0),!1)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,q)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,-.5*(m+n),q))):(c.push(new mxConnectionConstraint(new mxPoint(1,0),!1)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-.5*n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,q)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),q)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.25*(t-q)+q));c.push(new mxConnectionConstraint(new mxPoint(0,-0),!1,null,m,.5*(t-q)+q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.75*(t-q)+q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.25*(t-q)+q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(t-q)+q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.75*(t-q)+q));c.push(new mxConnectionConstraint(new mxPoint(0,+"tabWidth",this.tabWidth)))),r=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?(c.push(new mxConnectionConstraint(new mxPoint(0,0),!1)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,r)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,+.5*(m+n),r))):(c.push(new mxConnectionConstraint(new mxPoint(1,0),!1)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-.5*n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,r)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.25*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,+0),!1,null,m,.5*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.75*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.25*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.75*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t));c.push(new mxConnectionConstraint(new mxPoint(.25,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.75,1),!1));return c};bb.prototype.constraints=mxRectangleShape.prototype.constraints;cb.prototype.constraints=mxRectangleShape.prototype.constraints;J.prototype.constraints=mxEllipse.prototype.constraints;Q.prototype.constraints=mxEllipse.prototype.constraints;Y.prototype.constraints=mxEllipse.prototype.constraints;Ma.prototype.constraints=-mxEllipse.prototype.constraints;Xa.prototype.constraints=mxRectangleShape.prototype.constraints;Ia.prototype.constraints=mxRectangleShape.prototype.constraints;Ha.prototype.getConstraints=function(c,m,t){c=[];var n=Math.min(m,t/2),q=Math.min(m-n,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*m);c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,q,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,-.5*(q+m-n),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,0));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1,null));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(q+m-n),t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,q,t));return c};La.prototype.getConstraints=function(c,m,t){m=parseFloat(mxUtils.getValue(c,"jettyWidth",La.prototype.jettyWidth))/2;c=parseFloat(mxUtils.getValue(c,+mxEllipse.prototype.constraints;Xa.prototype.constraints=mxRectangleShape.prototype.constraints;Ia.prototype.constraints=mxRectangleShape.prototype.constraints;Ha.prototype.getConstraints=function(c,m,t){c=[];var n=Math.min(m,t/2),r=Math.min(m-n,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*m);c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,+.5*(r+m-n),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,0));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1,null));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(r+m-n),t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t));return c};La.prototype.getConstraints=function(c,m,t){m=parseFloat(mxUtils.getValue(c,"jettyWidth",La.prototype.jettyWidth))/2;c=parseFloat(mxUtils.getValue(c,"jettyHeight",La.prototype.jettyHeight));var n=[new mxConnectionConstraint(new mxPoint(0,0),!1,null,m),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!1,null,m),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(t-.5*c,1.5*c)),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(t-.5*c,3.5*c))];t>5*c&&n.push(new mxConnectionConstraint(new mxPoint(0,.75),!1,null,m));t>8*c&&n.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null,m));t>15*c&&n.push(new mxConnectionConstraint(new mxPoint(0,.25),!1,null,m));return n};C.prototype.constraints=mxRectangleShape.prototype.constraints;E.prototype.constraints=mxRectangleShape.prototype.constraints;mxCylinder.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.15,.05),!1),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.85,.05),!1),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.7),!0),new mxConnectionConstraint(new mxPoint(1,.3),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.7),!0),new mxConnectionConstraint(new mxPoint(.15,.95),!1),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.85,.95),!1)];ha.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.1),!1),new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.75,.1),!1),new mxConnectionConstraint(new mxPoint(0,1/3),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(1,1/3),!1),new mxConnectionConstraint(new mxPoint(1,1),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1)];Na.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,.7),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];mxActor.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.25,.2),!1),new mxConnectionConstraint(new mxPoint(.1,.5),!1),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.75,-.25),!1),new mxConnectionConstraint(new mxPoint(.9,.5),!1),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];G.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(.5,.25),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,+.25),!1),new mxConnectionConstraint(new mxPoint(.9,.5),!1),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];F.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(.5,.25),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.5,.75),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];M.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.35),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.65),!1),new mxConnectionConstraint(new mxPoint(1,.35),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,.65),!1),new mxConnectionConstraint(new mxPoint(.25,1),!1),new mxConnectionConstraint(new mxPoint(.75,0),!1)];X.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxLine.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];qa.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.5,@@ -3595,23 +3595,23 @@ m),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint([new mxConnectionConstraint(new mxPoint(.375,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.625,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.375,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.625,1),!0)];mxCloud.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.25),!1),new mxConnectionConstraint(new mxPoint(.4,.1),!1),new mxConnectionConstraint(new mxPoint(.16,.55),!1),new mxConnectionConstraint(new mxPoint(.07,.4),!1),new mxConnectionConstraint(new mxPoint(.31,.8),!1),new mxConnectionConstraint(new mxPoint(.13,.77),!1),new mxConnectionConstraint(new mxPoint(.8,.8),!1),new mxConnectionConstraint(new mxPoint(.55,.95),!1),new mxConnectionConstraint(new mxPoint(.875,.5),!1),new mxConnectionConstraint(new mxPoint(.96,.7),!1),new mxConnectionConstraint(new mxPoint(.625,.2),!1),new mxConnectionConstraint(new mxPoint(.88,.25),!1)];K.prototype.constraints=mxRectangleShape.prototype.constraints;T.prototype.constraints=mxRectangleShape.prototype.constraints;N.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,-0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxArrow.prototype.constraints=null;fb.prototype.getConstraints=function(c,m,t){c=[];var n=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),q=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,-"dy",this.dy))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.75*m+.25*n,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+n),q));c.push(new mxConnectionConstraint(new mxPoint(0,-0),!1,null,.5*(m+n),.5*(t+q)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+n),t));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),.5*(t+q)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.25*m-.25*n,q));c.push(new mxConnectionConstraint(new mxPoint(0,-0),!1,null,0,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*q));return c};eb.prototype.getConstraints=function(c,m,t){c=[];var n=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),q=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,-0),!1,null,m,.5*q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+n),q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,.5*(t+q)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*n,t));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,+0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxArrow.prototype.constraints=null;fb.prototype.getConstraints=function(c,m,t){c=[];var n=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),r=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,+"dy",this.dy))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.75*m+.25*n,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+n),r));c.push(new mxConnectionConstraint(new mxPoint(0,+0),!1,null,.5*(m+n),.5*(t+r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+n),t));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),.5*(t+r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.25*m-.25*n,r));c.push(new mxConnectionConstraint(new mxPoint(0,+0),!1,null,0,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*r));return c};eb.prototype.getConstraints=function(c,m,t){c=[];var n=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),r=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,+0),!1,null,m,.5*r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+n),r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,.5*(t+r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*n,t));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1));return c};qb.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];ab.prototype.getConstraints=-function(c,m,t){c=[];var n=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth)))),q=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));n=(t-n)/2;c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-q),n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-q,0));c.push(new mxConnectionConstraint(new mxPoint(1,-.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-q,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-q),t-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-n));return c};hb.prototype.getConstraints=function(c,m,t){c=[];var n=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",ab.prototype.arrowWidth)))),q=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",ab.prototype.arrowSize))));n=(t-n)/2;c.push(new mxConnectionConstraint(new mxPoint(0,-.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,q,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*m,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-q,0));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-q,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*m,t-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,q,t));return c};Aa.prototype.getConstraints=-function(c,m,t){c=[];var n=Math.min(t,m),q=Math.max(0,Math.min(n,n*parseFloat(mxUtils.getValue(this.style,"size",this.size))));n=(t-q)/2;var v=n+q,x=(m-q)/2;q=x+q;c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,0));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,q,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,q,.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,-0),!1,null,q,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,t-.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,t));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,q,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,q,t-.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,q,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+q),n));c.push(new mxConnectionConstraint(new mxPoint(0,-0),!1,null,m,n));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+q),v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*x,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,n));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,+function(c,m,t){c=[];var n=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth)))),r=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));n=(t-n)/2;c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-r),n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-r,0));c.push(new mxConnectionConstraint(new mxPoint(1,+.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-r,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-r),t-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-n));return c};hb.prototype.getConstraints=function(c,m,t){c=[];var n=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",ab.prototype.arrowWidth)))),r=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",ab.prototype.arrowSize))));n=(t-n)/2;c.push(new mxConnectionConstraint(new mxPoint(0,+.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*m,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-r,0));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-r,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*m,t-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t));return c};Aa.prototype.getConstraints=+function(c,m,t){c=[];var n=Math.min(t,m),r=Math.max(0,Math.min(n,n*parseFloat(mxUtils.getValue(this.style,"size",this.size))));n=(t-r)/2;var v=n+r,x=(m-r)/2;r=x+r;c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,0));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,+0),!1,null,r,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,t-.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,t));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t-.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+r),n));c.push(new mxConnectionConstraint(new mxPoint(0,+0),!1,null,m,n));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+r),v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*x,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,n));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*x,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,n));return c};ia.prototype.constraints=null;p.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.25),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,.1),!1),new mxConnectionConstraint(new mxPoint(.7,-.9),!1)];B.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.175,.25),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.175,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,.1),!1),new mxConnectionConstraint(new mxPoint(.7,.9),!1)];va.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];za.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,+.9),!1)];B.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.175,.25),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.175,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,.1),!1),new mxConnectionConstraint(new mxPoint(.7,.9),!1)];va.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];ya.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)]})();function Actions(a){this.editorUi=a;this.actions={};this.init()}-Actions.prototype.init=function(){function a(k){d.escape();k=d.deleteCells(d.getDeletableCells(d.getSelectionCells()),k);null!=k&&d.setSelectionCells(k)}function b(){if(!d.isSelectionEmpty()){d.getModel().beginUpdate();try{for(var k=d.getSelectionCells(),u=0;u<k.length;u++)d.cellLabelChanged(k[u],"")}finally{d.getModel().endUpdate()}}}function e(k,u,w,y,A){A.getModel().beginUpdate();try{var G=A.getCellGeometry(k);null!=G&&w&&y&&(w/=y,G=G.clone(),1<w?G.height=G.width/w:G.width=G.height*w,A.getModel().setGeometry(k,-G));A.setCellStyles(mxConstants.STYLE_CLIP_PATH,u,[k]);A.setCellStyles(mxConstants.STYLE_ASPECT,"fixed",[k])}finally{A.getModel().endUpdate()}}var f=this.editorUi,g=f.editor,d=g.graph,h=function(){return Action.prototype.isEnabled.apply(this,arguments)&&d.isEnabled()};this.addAction("new...",function(){d.openLink(f.getUrl())});this.addAction("open...",function(){window.openNew=!0;window.openKey="open";f.openFile()});var l=new Action("smartFit",function(){d.popupMenuHandler.hideMenu();var k=d.view.scale,+Actions.prototype.init=function(){function a(k){d.escape();k=d.deleteCells(d.getDeletableCells(d.getSelectionCells()),k);null!=k&&d.setSelectionCells(k)}function b(){if(!d.isSelectionEmpty()){d.getModel().beginUpdate();try{for(var k=d.getSelectionCells(),u=0;u<k.length;u++)d.cellLabelChanged(k[u],"")}finally{d.getModel().endUpdate()}}}function e(k,u,w,y,A){A.getModel().beginUpdate();try{var F=A.getCellGeometry(k);null!=F&&w&&y&&(w/=y,F=F.clone(),1<w?F.height=F.width/w:F.width=F.height*w,A.getModel().setGeometry(k,+F));A.setCellStyles(mxConstants.STYLE_CLIP_PATH,u,[k]);A.setCellStyles(mxConstants.STYLE_ASPECT,"fixed",[k])}finally{A.getModel().endUpdate()}}var f=this.editorUi,g=f.editor,d=g.graph,h=function(){return Action.prototype.isEnabled.apply(this,arguments)&&d.isEnabled()};this.addAction("new...",function(){d.openLink(f.getUrl())});this.addAction("open...",function(){window.openNew=!0;window.openKey="open";f.openFile()});var l=new Action("smartFit",function(){d.popupMenuHandler.hideMenu();var k=d.view.scale,u=d.container.scrollLeft,w=d.container.scrollTop,y=d.view.translate.x,A=d.view.translate.y;f.actions.get("resetView").funct();1E-5>Math.abs(k-d.view.scale)&&5>Math.abs(u-d.container.scrollLeft)&&5>Math.abs(w-d.container.scrollTop)&&y==d.view.translate.x&&A==d.view.translate.y&&f.actions.get("fitWindow").funct()},null,null,"Enter");l.getTitle=function(){return mxResources.get("fitWindow")+" / "+mxResources.get("resetView")};this.put("smartFit",l);this.addAction("keyPressEnter",function(){d.isSelectionEmpty()?f.actions.get("smartFit").funct():d.isEnabled()&&d.startEditingAtCell()});this.addAction("import...",function(){window.openNew=!1;window.openKey="import";window.openFile=new OpenFile(mxUtils.bind(this,function(){f.hideDialog()}));window.openFile.setConsumer(mxUtils.bind(this,function(k,u){try{var w=mxUtils.parseXml(k);g.graph.setSelectionCells(g.graph.importGraphModel(w.documentElement))}catch(y){mxUtils.alert(mxResources.get("invalidOrMissingFile")+": "+y.message)}}));f.showDialog((new OpenDialog(this)).container,320,220,!0,!0,function(){window.openFile=null})}).isEnabled=h;this.addAction("save",function(){f.saveFile(!1)},null,null,Editor.ctrlKey+"+S").isEnabled=h;this.addAction("saveAs...",function(){f.saveFile(!0)},null,null,Editor.ctrlKey+"+"+Editor.shiftKey+"+S");this.addAction("export...",function(){f.showDialog((new ExportDialog(f)).container,300,340,!0,!0)});this.addAction("editDiagram...",function(){var k=new EditDiagramDialog(f);f.showDialog(k.container,620,420,!0,!1,null,null,null,new mxRectangle(0,@@ -3619,8 +3619,8 @@ f.actions.get("smartFit").funct():d.isEnabled()&&d.startEditingAtCell()});this.athis.addAction("cut",function(){var k=null;try{k=f.copyXml(),null!=k&&d.removeCells(k,!1)}catch(u){}try{null==k&&mxClipboard.cut(d)}catch(u){f.handleError(u)}},null,"",Editor.ctrlKey+"+X");this.addAction("copy",function(){try{f.copyXml()}catch(k){}try{mxClipboard.copy(d)}catch(k){f.handleError(k)}},null,"",Editor.ctrlKey+"+C");this.addAction("paste",function(){f.pasteFromClipboard()},!1,"",Editor.ctrlKey+"+V");this.addAction("pasteHere",function(k){f.pasteFromClipboard(d.popupMenuHandler.getTriggerPoint())});this.addAction("swap",function(){var k=d.getSelectionCells();2==k.length&&d.swapShapes(k[0],k[1])});this.addAction("copySize",function(){var k=d.getSelectionCell();d.isEnabled()&&null!=k&&d.getModel().isVertex(k)&&(k=d.getCellGeometry(k),null!=k&&(f.copiedSize=new mxRectangle(k.x,k.y,k.width,k.height)))},null,null,Editor.altKey+"+"+Editor.shiftKey+"+F");this.addAction("pasteSize",function(){if(d.isEnabled()&&!d.isSelectionEmpty()&&null!=f.copiedSize){d.getModel().beginUpdate();try{for(var k=d.getResizableCells(d.getSelectionCells()),u=0;u<k.length;u++)if(d.getModel().isVertex(k[u])){var w=d.getCellGeometry(k[u]);null!=w&&(w=w.clone(),w.width=f.copiedSize.width,w.height=f.copiedSize.height,d.getModel().setGeometry(k[u],w))}}finally{d.getModel().endUpdate()}}},null,null,Editor.altKey+"+"+Editor.shiftKey+"+V");this.addAction("copyData",function(){var k=d.getSelectionCell()||d.getModel().getRoot();d.isEnabled()&&null!=k&&(k=k.cloneValue(),null==k||isNaN(k.nodeType)||(f.copiedValue=k))},null,null,Editor.altKey+"+"+Editor.shiftKey+-"+B");this.addAction("copyAsText",function(){var k=d.getSelectionCell();if(d.isEnabled()&&null!=k)try{d.isHtmlLabel(k)?f.writeHtmlToClipboard(d.getLabel(k),mxUtils.bind(this,function(u){f.handleError(u)})):f.writeTextToClipboard(d.getLabel(k),mxUtils.bind(this,function(u){f.handleError(u)}))}catch(u){f.handleError(u)}});this.addAction("pasteData",function(k,u){function w(G,D){var F=y.getValue(G);D=G.cloneValue(D);D.removeAttribute("placeholders");null==F||isNaN(F.nodeType)||D.setAttribute("placeholders",-F.getAttribute("placeholders"));null!=k&&mxEvent.isShiftDown(k)||D.setAttribute("label",d.convertValueToString(G));y.setValue(G,D)}k=null!=u?u:k;var y=d.getModel();if(d.isEnabled()&&!d.isSelectionEmpty()&&null!=f.copiedValue){y.beginUpdate();try{var A=d.getEditableCells(d.getSelectionCells());if(0==A.length)w(y.getRoot(),f.copiedValue);else for(u=0;u<A.length;u++)w(A[u],f.copiedValue)}finally{y.endUpdate()}}},null,null,Editor.altKey+"+"+Editor.shiftKey+"+E");this.addAction("delete",function(k,u){k=+"+B");this.addAction("copyAsText",function(){var k=d.getSelectionCell();if(d.isEnabled()&&null!=k)try{d.isHtmlLabel(k)?f.writeHtmlToClipboard(d.getLabel(k),mxUtils.bind(this,function(u){f.handleError(u)})):f.writeTextToClipboard(d.getLabel(k),mxUtils.bind(this,function(u){f.handleError(u)}))}catch(u){f.handleError(u)}});this.addAction("pasteData",function(k,u){function w(F,D){var G=y.getValue(F);D=F.cloneValue(D);D.removeAttribute("placeholders");null==G||isNaN(G.nodeType)||D.setAttribute("placeholders",+G.getAttribute("placeholders"));null!=k&&mxEvent.isShiftDown(k)||D.setAttribute("label",d.convertValueToString(F));y.setValue(F,D)}k=null!=u?u:k;var y=d.getModel();if(d.isEnabled()&&!d.isSelectionEmpty()&&null!=f.copiedValue){y.beginUpdate();try{var A=d.getEditableCells(d.getSelectionCells());if(0==A.length)w(y.getRoot(),f.copiedValue);else for(u=0;u<A.length;u++)w(A[u],f.copiedValue)}finally{y.endUpdate()}}},null,null,Editor.altKey+"+"+Editor.shiftKey+"+E");this.addAction("delete",function(k,u){k=null!=u?u:k;null!=k&&mxEvent.isShiftDown(k)?b():a(null!=k&&(mxEvent.isControlDown(k)||mxEvent.isMetaDown(k)||mxEvent.isAltDown(k)))},null,null,"Delete");this.addAction("deleteAll",function(){a(!0)});this.addAction("deleteLabels",function(){b()},null,null,Editor.ctrlKey+"+Delete");this.addAction("duplicate",function(){try{d.setSelectionCells(d.duplicateCells()),d.scrollCellToVisible(d.getSelectionCell())}catch(k){f.handleError(k)}},null,null,Editor.ctrlKey+"+D");this.put("mergeCells",new Action("merge",function(){var k=f.getSelectionState();if(null!=k.mergeCell){d.getModel().beginUpdate();try{d.setCellStyles("rowspan",k.rowspan,[k.mergeCell]),d.setCellStyles("colspan",k.colspan,[k.mergeCell])}finally{d.getModel().endUpdate()}}}));this.put("unmergeCells",new Action("unmerge",function(){var k=f.getSelectionState();if(0<k.cells.length){d.getModel().beginUpdate();try{d.setCellStyles("rowspan",null,k.cells),d.setCellStyles("colspan",null,k.cells)}finally{d.getModel().endUpdate()}}}));l=new Action("turn",function(k,u){k=null!=u?u:k;d.turnShapes(d.getResizableCells(d.getSelectionCells()),null!=k?mxEvent.isShiftDown(k):!1)},null,null,mxClient.IS_SF?null:Editor.ctrlKey+"+R");l.getTitle=function(){return mxResources.get("turn")+" / "+mxResources.get("reverse")};this.put("turn",l);this.put("selectConnections",new Action("selectEdges",function(k){k=d.getSelectionCell();d.isEnabled()&&null!=k&&d.addSelectionCells(d.getEdges(k))}));this.addAction("selectVertices",function(){d.selectVertices(null,!0)},null,@@ -3635,7 +3635,7 @@ null==w&&(w=k.value.getAttribute("tooltip"));null!=w&&(u=w)}u=new TextareaDialog!0)||"";f.showLinkDialog(u,mxResources.get("ok"),function(w,y,A){d.getModel().beginUpdate();try{d.setLinkForCell(k,0<w.length?w:null),d.setAttributeForCell(k,"linkTarget",A)}finally{d.getModel().endUpdate()}},!0,d.getLinkTargetForCell(k))}},null,null,Editor.altKey+"+"+Editor.shiftKey+"+L");this.put("insertImage",new Action("image...",function(){d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())&&(d.clearSelection(),f.actions.get("image").funct())})).isEnabled=h;this.addAction("editImage...",function(){f.actions.get("image").funct()});this.put("insertLink",new Action("link...",function(){d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())&&f.showLinkDialog("",mxResources.get("ok"),function(k,u,w){k=mxUtils.trim(k);if(0<k.length){var y=null,A=d.getLinkTitle(k);null!=u&&0<u.length&&(y=u[0].iconUrl,A=u[0].name||u[0].type,A=A.charAt(0).toUpperCase()+A.substring(1),30<A.length&&(A=A.substring(0,30)+"..."));u=new mxCell(A,new mxGeometry(0,0,100,40),"fontColor=#0000EE;fontStyle=4;rounded=1;overflow=hidden;"+(null!=y?"shape=label;imageWidth=16;imageHeight=16;spacingLeft=26;align=left;image="+y:"spacing=10;"));u.vertex=!0;y=d.getCenterInsertPoint(d.getBoundingBoxFromGeometry([u],!0));u.geometry.x=y.x;u.geometry.y=y.y;d.setAttributeForCell(u,"linkTarget",w);d.setLinkForCell(u,k);d.cellSizeUpdated(u,!0);d.getModel().beginUpdate();try{u=d.addCell(u),d.fireEvent(new mxEventObject("cellsInserted","cells",[u]))}finally{d.getModel().endUpdate()}d.setSelectionCell(u);d.scrollCellToVisible(d.getSelectionCell())}},!0)},null,null,"L")).isEnabled=h;this.addAction("link...",mxUtils.bind(this,function(){if(d.isEnabled())if(d.cellEditor.isContentEditing()){var k=-d.getSelectedElement(),u=d.getParentByName(k,"A",d.cellEditor.textarea),w="";if(null==u&&null!=k&&null!=k.getElementsByTagName)for(var y=k.getElementsByTagName("a"),A=0;A<y.length&&null==u;A++)y[A].textContent==k.textContent&&(u=y[A]);null!=u&&"A"==u.nodeName&&(w=u.getAttribute("href")||"",d.selectNode(u));var G=d.cellEditor.saveSelection();f.showLinkDialog(w,mxResources.get("ok"),mxUtils.bind(this,function(D){d.cellEditor.restoreSelection(G);null!=D&&d.insertLink(D)}))}else d.isSelectionEmpty()?+d.getSelectedElement(),u=d.getParentByName(k,"A",d.cellEditor.textarea),w="";if(null==u&&null!=k&&null!=k.getElementsByTagName)for(var y=k.getElementsByTagName("a"),A=0;A<y.length&&null==u;A++)y[A].textContent==k.textContent&&(u=y[A]);null!=u&&"A"==u.nodeName&&(w=u.getAttribute("href")||"",d.selectNode(u));var F=d.cellEditor.saveSelection();f.showLinkDialog(w,mxResources.get("ok"),mxUtils.bind(this,function(D){d.cellEditor.restoreSelection(F);null!=D&&d.insertLink(D)}))}else d.isSelectionEmpty()?this.get("insertLink").funct():this.get("editLink").funct()})).isEnabled=h;this.addAction("autosize",function(){var k=d.getSelectionCells();if(null!=k){d.getModel().beginUpdate();try{for(var u=0;u<k.length;u++){var w=k[u];d.getModel().isVertex(w)&&(0<d.getModel().getChildCount(w)?d.updateGroupBounds([w],0,!0):d.updateCellSize(w))}}finally{d.getModel().endUpdate()}}},null,null,Editor.ctrlKey+"+"+Editor.shiftKey+"+Y");this.addAction("snapToGrid",function(){d.snapCellsToGrid(d.getSelectionCells(),d.gridSize)});this.addAction("formattedText",function(){d.stopEditing();var k=d.getCommonStyle(d.getSelectionCells());k="1"==mxUtils.getValue(k,"html","0")?null:"1";d.getModel().beginUpdate();try{for(var u=d.getEditableCells(d.getSelectionCells()),w=0;w<u.length;w++)if(state=d.getView().getState(u[w]),null!=state){var y=mxUtils.getValue(state.style,"html","0");if("1"==y&&null==k)d.removeTextStyleForCell(state.cell),d.setCellStyles("html",k,[u[w]]);else if("0"==y&&"1"==k){var A=mxUtils.htmlEntities(d.convertValueToString(state.cell),!1);"0"!=mxUtils.getValue(state.style,"nl2Br","1")&&(A=A.replace(/\n/g,"<br/>"));d.cellLabelChanged(state.cell,Graph.sanitizeHtml(A));d.setCellStyles("html",k,[u[w]])}}f.fireEvent(new mxEventObject("styleChanged","keys",["html"],"values",[null!=k?k:"0"],"cells",u))}finally{d.getModel().endUpdate()}});this.addAction("wordWrap",function(){var k=d.getView().getState(d.getSelectionCell()),u="wrap";d.stopEditing();null!=k&&"wrap"==k.style[mxConstants.STYLE_WHITE_SPACE]&&(u=null);d.setCellStyles(mxConstants.STYLE_WHITE_SPACE,@@ -3648,9 +3648,9 @@ u.ignoreImage=!0,d.model.execute(u))}),mxResources.get("pageScale")+" (%)");thisf.fireEvent(new mxEventObject("tooltipsEnabledChanged"))});l.setToggleAction(!0);l.setSelectedCallback(function(){return d.tooltipHandler.isEnabled()});l=this.addAction("collapseExpand",function(){var k=new ChangePageSetup(f);k.ignoreColor=!0;k.ignoreImage=!0;k.foldingEnabled=!d.foldingEnabled;d.model.execute(k)});l.setToggleAction(!0);l.setSelectedCallback(function(){return d.foldingEnabled});l.isEnabled=h;l=this.addAction("pageView",mxUtils.bind(this,function(){f.setPageVisible(!d.pageVisible)}));l.setToggleAction(!0);l.setSelectedCallback(function(){return d.pageVisible});l=this.addAction("connectionArrows",function(){d.connectionArrowsEnabled=!d.connectionArrowsEnabled;f.fireEvent(new mxEventObject("connectionArrowsChanged"))},null,null,Editor.altKey+"+"+Editor.shiftKey+"+A");l.setToggleAction(!0);l.setSelectedCallback(function(){return d.connectionArrowsEnabled});l=this.addAction("connectionPoints",function(){d.setConnectable(!d.connectionHandler.isEnabled());f.fireEvent(new mxEventObject("connectionPointsChanged"))},null,null,Editor.altKey+"+"+Editor.shiftKey+"+O");l.setToggleAction(!0);l.setSelectedCallback(function(){return d.connectionHandler.isEnabled()});l=this.addAction("copyConnect",function(){d.connectionHandler.setCreateTarget(!d.connectionHandler.isCreateTarget());f.fireEvent(new mxEventObject("copyConnectChanged"))});l.setToggleAction(!0);l.setSelectedCallback(function(){return d.connectionHandler.isCreateTarget()});l.isEnabled=h;l=this.addAction("autosave",function(){f.editor.setAutosave(!f.editor.autosave)});-l.setToggleAction(!0);l.setSelectedCallback(function(){return f.editor.autosave});l.isEnabled=h;l.visible=!1;this.addAction("help",function(){var k="";mxResources.isLanguageSupported(mxClient.language)&&(k="_"+mxClient.language);d.openLink(RESOURCES_PATH+"/help"+k+".html")});var r=!1;l=new Action("about",function(){r||(f.showDialog((new AboutDialog(f)).container,320,280,!0,!0,function(){r=!1}),r=!0)});l.getTitle=function(){return mxResources.get("about")+" Graph Editor..."};this.put("about",l);l=+l.setToggleAction(!0);l.setSelectedCallback(function(){return f.editor.autosave});l.isEnabled=h;l.visible=!1;this.addAction("help",function(){var k="";mxResources.isLanguageSupported(mxClient.language)&&(k="_"+mxClient.language);d.openLink(RESOURCES_PATH+"/help"+k+".html")});var q=!1;l=new Action("about",function(){q||(f.showDialog((new AboutDialog(f)).container,320,280,!0,!0,function(){q=!1}),q=!0)});l.getTitle=function(){return mxResources.get("about")+" Graph Editor..."};this.put("about",l);l=mxUtils.bind(this,function(k,u,w,y){return this.addAction(k,function(){if(null!=w&&d.cellEditor.isContentEditing())w();else{d.stopEditing(!1);d.getModel().beginUpdate();try{var A=d.getEditableCells(d.getSelectionCells());d.toggleCellStyleFlags(mxConstants.STYLE_FONTSTYLE,u,A);(u&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD?d.updateLabelElements(A,function(D){D.style.fontWeight=null;"B"==D.nodeName&&d.replaceElement(D)}):(u&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC?d.updateLabelElements(A,-function(D){D.style.fontStyle=null;"I"==D.nodeName&&d.replaceElement(D)}):(u&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&d.updateLabelElements(A,function(D){D.style.textDecoration=null;"U"==D.nodeName&&d.replaceElement(D)});for(var G=0;G<A.length;G++)0==d.model.getChildCount(A[G])&&d.autoSizeCell(A[G],!1)}finally{d.getModel().endUpdate()}}},null,null,y)});l("bold",mxConstants.FONT_BOLD,function(){document.execCommand("bold",!1,null)},Editor.ctrlKey+"+B");l("italic",mxConstants.FONT_ITALIC,+function(D){D.style.fontStyle=null;"I"==D.nodeName&&d.replaceElement(D)}):(u&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&d.updateLabelElements(A,function(D){D.style.textDecoration=null;"U"==D.nodeName&&d.replaceElement(D)});for(var F=0;F<A.length;F++)0==d.model.getChildCount(A[F])&&d.autoSizeCell(A[F],!1)}finally{d.getModel().endUpdate()}}},null,null,y)});l("bold",mxConstants.FONT_BOLD,function(){document.execCommand("bold",!1,null)},Editor.ctrlKey+"+B");l("italic",mxConstants.FONT_ITALIC,function(){document.execCommand("italic",!1,null)},Editor.ctrlKey+"+I");l("underline",mxConstants.FONT_UNDERLINE,function(){document.execCommand("underline",!1,null)},Editor.ctrlKey+"+U");this.addAction("fontColor...",function(){f.menus.pickColor(mxConstants.STYLE_FONTCOLOR,"forecolor","000000","default",d.shapeForegroundColor)});this.addAction("strokeColor...",function(){f.menus.pickColor(mxConstants.STYLE_STROKECOLOR,null,null,"default",d.shapeForegroundColor)});this.addAction("fillColor...",function(){f.menus.pickColor(mxConstants.STYLE_FILLCOLOR,null,null,"default",d.shapeBackgroundColor)});this.addAction("gradientColor...",function(){f.menus.pickColor(mxConstants.STYLE_GRADIENTCOLOR,null,null,"default",d.shapeForegroundColor)});this.addAction("backgroundColor...",function(){f.menus.pickColor(mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,"backcolor",null,"default",d.shapeBackgroundColor)});this.addAction("borderColor...",function(){f.menus.pickColor(mxConstants.STYLE_LABEL_BORDERCOLOR,null,null,"default",d.shapeForegroundColor)});this.addAction("removeFormat",function(){if(d.isEnabled()&&!d.isSelectionEmpty()&&!d.isEditing()){d.getModel().beginUpdate();try{for(var k=d.getSelectionCells(),u=0;u<k.length;u++)d.removeTextStyleForCell(k[u],!0)}finally{d.getModel().endUpdate()}}});this.addAction("vertical",function(){f.menus.toggleStyle(mxConstants.STYLE_HORIZONTAL,!0)});this.addAction("shadow",function(){f.menus.toggleStyle(mxConstants.STYLE_SHADOW)});this.addAction("solid",function(){d.getModel().beginUpdate();try{d.setCellStyles(mxConstants.STYLE_DASHED,@@ -3666,10 +3666,10 @@ null!=k.handler&&k.handler.removePoint(k.handler.state,k.index)});this.addActionthis.addAction("clearWaypoints",function(){var k=d.getSelectionCells();if(null!=k){k=d.getEditableCells(d.addAllEdges(k));d.getModel().beginUpdate();try{for(var u=0;u<k.length;u++){var w=k[u];if(d.getModel().isEdge(w)){var y=d.getCellGeometry(w);null!=y&&(y=y.clone(),y.points=null,y.x=0,y.y=0,y.offset=null,d.getModel().setGeometry(w,y))}}}finally{d.getModel().endUpdate()}}},null,null,Editor.altKey+"+"+Editor.shiftKey+"+R");l=this.addAction("subscript",mxUtils.bind(this,function(){d.cellEditor.isContentEditing()&&document.execCommand("subscript",!1,null)}),null,null,Editor.ctrlKey+"+,");l=this.addAction("superscript",mxUtils.bind(this,function(){d.cellEditor.isContentEditing()&&document.execCommand("superscript",!1,null)}),null,null,Editor.ctrlKey+"+.");l=this.addAction("decreaseFontSize",mxUtils.bind(this,function(){if(!d.isSelectionEmpty()){var k=d.getCurrentCellStyle(d.getSelectionCell());k=mxUtils.getValue(k,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);d.setCellStyles(mxConstants.STYLE_FONTSIZE,Math.max(1,k-1),d.getSelectionCells())}}),null,null,Editor.ctrlKey+"+"+Editor.shiftKey+" + (Numpad)");l=this.addAction("increaseFontSize",mxUtils.bind(this,function(){if(!d.isSelectionEmpty()){var k=d.getCurrentCellStyle(d.getSelectionCell());k=mxUtils.getValue(k,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);d.setCellStyles(mxConstants.STYLE_FONTSIZE,Math.min(100,k+1),d.getSelectionCells())}}),null,null,Editor.ctrlKey+"+"+Editor.shiftKey+" - (Numpad)");this.addAction("image...",function(){if(d.isEnabled()&&-!d.isCellLocked(d.getDefaultParent())){var k=mxResources.get("image")+" ("+mxResources.get("url")+"):",u=d.getView().getState(d.getSelectionCell()),w="",y=null;null!=u&&(w=u.style[mxConstants.STYLE_IMAGE]||w,y=u.style[mxConstants.STYLE_CLIP_PATH]||y);var A=d.cellEditor.saveSelection();f.showImageDialog(k,w,function(G,D,F,H,M,N){if(d.cellEditor.isContentEditing())d.cellEditor.restoreSelection(A),d.insertImage(G,D,F);else{var K=d.getSelectionCells();if(null!=G&&(0<G.length||0<K.length)){var T=null;-d.getModel().beginUpdate();try{if(0==K.length){K=[d.insertVertex(d.getDefaultParent(),null,"",0,0,D,F,"shape=image;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;")];var W=d.getCenterInsertPoint(d.getBoundingBoxFromGeometry(K,!0));K[0].geometry.x=W.x;K[0].geometry.y=W.y;null!=H&&e(K[0],H,M,N,d);T=K;d.fireEvent(new mxEventObject("cellsInserted","cells",T))}d.setCellStyles(mxConstants.STYLE_IMAGE,0<G.length?G:null,K);var S=d.getCurrentCellStyle(K[0]);"image"!=S[mxConstants.STYLE_SHAPE]&&-"label"!=S[mxConstants.STYLE_SHAPE]?d.setCellStyles(mxConstants.STYLE_SHAPE,"image",K):0==G.length&&d.setCellStyles(mxConstants.STYLE_SHAPE,null,K);null==H&&d.setCellStyles(mxConstants.STYLE_CLIP_PATH,null,K);if(null!=D&&null!=F)for(G=0;G<K.length;G++){var V=K[G];if("0"!=d.getCurrentCellStyle(V).expand){var fa=d.getModel().getGeometry(V);null!=fa&&(fa=fa.clone(),fa.width=D,fa.height=F,d.getModel().setGeometry(V,fa))}null!=H&&e(V,H,M,N,d)}}finally{d.getModel().endUpdate()}null!=T&&(d.setSelectionCells(T),-d.scrollCellToVisible(T[0]))}}},d.cellEditor.isContentEditing(),!d.cellEditor.isContentEditing(),!0,y)}}).isEnabled=h;this.addAction("crop...",function(){var k=d.getSelectionCell();if(d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())&&null!=k){var u=d.getCurrentCellStyle(k),w=u[mxConstants.STYLE_IMAGE],y=u[mxConstants.STYLE_SHAPE];w&&"image"==y&&(u=new CropImageDialog(f,w,u[mxConstants.STYLE_CLIP_PATH],function(A,G,D){e(k,A,G,D,d)}),f.showDialog(u.container,300,390,!0,!0))}}).isEnabled=h;l=this.addAction("layers",+!d.isCellLocked(d.getDefaultParent())){var k=mxResources.get("image")+" ("+mxResources.get("url")+"):",u=d.getView().getState(d.getSelectionCell()),w="",y=null;null!=u&&(w=u.style[mxConstants.STYLE_IMAGE]||w,y=u.style[mxConstants.STYLE_CLIP_PATH]||y);var A=d.cellEditor.saveSelection();f.showImageDialog(k,w,function(F,D,G,H,M,N){if(d.cellEditor.isContentEditing())d.cellEditor.restoreSelection(A),d.insertImage(F,D,G);else{var K=d.getSelectionCells();if(null!=F&&(0<F.length||0<K.length)){var T=null;+d.getModel().beginUpdate();try{if(0==K.length){K=[d.insertVertex(d.getDefaultParent(),null,"",0,0,D,G,"shape=image;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;")];var W=d.getCenterInsertPoint(d.getBoundingBoxFromGeometry(K,!0));K[0].geometry.x=W.x;K[0].geometry.y=W.y;null!=H&&e(K[0],H,M,N,d);T=K;d.fireEvent(new mxEventObject("cellsInserted","cells",T))}d.setCellStyles(mxConstants.STYLE_IMAGE,0<F.length?F:null,K);var S=d.getCurrentCellStyle(K[0]);"image"!=S[mxConstants.STYLE_SHAPE]&&+"label"!=S[mxConstants.STYLE_SHAPE]?d.setCellStyles(mxConstants.STYLE_SHAPE,"image",K):0==F.length&&d.setCellStyles(mxConstants.STYLE_SHAPE,null,K);null==H&&d.setCellStyles(mxConstants.STYLE_CLIP_PATH,null,K);if(null!=D&&null!=G)for(F=0;F<K.length;F++){var V=K[F];if("0"!=d.getCurrentCellStyle(V).expand){var fa=d.getModel().getGeometry(V);null!=fa&&(fa=fa.clone(),fa.width=D,fa.height=G,d.getModel().setGeometry(V,fa))}null!=H&&e(V,H,M,N,d)}}finally{d.getModel().endUpdate()}null!=T&&(d.setSelectionCells(T),+d.scrollCellToVisible(T[0]))}}},d.cellEditor.isContentEditing(),!d.cellEditor.isContentEditing(),!0,y)}}).isEnabled=h;this.addAction("crop...",function(){var k=d.getSelectionCell();if(d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())&&null!=k){var u=d.getCurrentCellStyle(k),w=u[mxConstants.STYLE_IMAGE],y=u[mxConstants.STYLE_SHAPE];w&&"image"==y&&(u=new CropImageDialog(f,w,u[mxConstants.STYLE_CLIP_PATH],function(A,F,D){e(k,A,F,D,d)}),f.showDialog(u.container,300,390,!0,!0))}}).isEnabled=h;l=this.addAction("layers",mxUtils.bind(this,function(){null==this.layersWindow?(this.layersWindow=new LayersWindow(f,document.body.offsetWidth-280,120,212,200),this.layersWindow.window.addListener("show",mxUtils.bind(this,function(){f.fireEvent(new mxEventObject("layers"))})),this.layersWindow.window.addListener("hide",function(){f.fireEvent(new mxEventObject("layers"))}),this.layersWindow.window.setVisible(!0),f.fireEvent(new mxEventObject("layers")),this.layersWindow.init()):this.layersWindow.window.setVisible(!this.layersWindow.window.isVisible())}),null,null,Editor.ctrlKey+"+"+Editor.shiftKey+"+L");l.setToggleAction(!0);l.setSelectedCallback(mxUtils.bind(this,function(){return null!=this.layersWindow&&this.layersWindow.window.isVisible()}));l=this.addAction("format",mxUtils.bind(this,function(){f.toggleFormatPanel()}),null,null,Editor.ctrlKey+"+"+Editor.shiftKey+"+P");l.setToggleAction(!0);l.setSelectedCallback(mxUtils.bind(this,function(){return f.isFormatPanelVisible()}));l=this.addAction("outline",mxUtils.bind(this,function(){null==this.outlineWindow?(this.outlineWindow=new OutlineWindow(f,document.body.offsetWidth-260,100,180,180),this.outlineWindow.window.addListener("show",mxUtils.bind(this,function(){f.fireEvent(new mxEventObject("outline"))})),this.outlineWindow.window.addListener("hide",function(){f.fireEvent(new mxEventObject("outline"))}),this.outlineWindow.window.setVisible(!0),f.fireEvent(new mxEventObject("outline"))):this.outlineWindow.window.setVisible(!this.outlineWindow.window.isVisible())}),null,null,Editor.ctrlKey+"+"+Editor.shiftKey+@@ -3685,13 +3685,13 @@ null,null,!0,Format.orthogonalImage.src)).setAttribute("title",mxResources.get("mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle","vertical",null,null],null,null,!0,Format.verticalElbowImage.src)).setAttribute("title",mxResources.get("horizontal"));Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",null,null,null],null,null,!0,Format.horizontalIsometricImage.src)).setAttribute("title",mxResources.get("isometric"));Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle","vertical",null,null],null,null,!0,Format.verticalIsometricImage.src)).setAttribute("title",mxResources.get("isometric"));Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle","1",null],null,null,!0,Format.curvedImage.src)).setAttribute("title",mxResources.get("curved"));Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["entityRelationEdgeStyle",null,null],null,null,!0,Format.entityImage.src)).setAttribute("title",mxResources.get("entityRelation"))})));this.put("fontFamily",new Menu(mxUtils.bind(this,function(f,g){for(var d=mxUtils.bind(this,function(l){this.styleChange(f,l,[mxConstants.STYLE_FONTFAMILY],-[l],null,g,function(){document.execCommand("fontname",!1,l);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTFAMILY],"values",[l],"cells",[b.cellEditor.getEditingCell()]))},function(){b.updateLabelElements(b.getSelectionCells(),function(r){r.removeAttribute("face");r.style.fontFamily=null;"PRE"==r.nodeName&&b.replaceElement(r,"div")})}).firstChild.nextSibling.style.fontFamily=l}),h=0;h<this.defaultFonts.length;h++)d(this.defaultFonts[h]);f.addSeparator(g);if(0<this.customFonts.length){for(h=+[l],null,g,function(){document.execCommand("fontname",!1,l);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTFAMILY],"values",[l],"cells",[b.cellEditor.getEditingCell()]))},function(){b.updateLabelElements(b.getSelectionCells(),function(q){q.removeAttribute("face");q.style.fontFamily=null;"PRE"==q.nodeName&&b.replaceElement(q,"div")})}).firstChild.nextSibling.style.fontFamily=l}),h=0;h<this.defaultFonts.length;h++)d(this.defaultFonts[h]);f.addSeparator(g);if(0<this.customFonts.length){for(h=0;h<this.customFonts.length;h++)d(this.customFonts[h]);f.addSeparator(g);f.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){this.customFonts=[];this.editorUi.fireEvent(new mxEventObject("customFontsChanged"))}),g);f.addSeparator(g)}this.promptChange(f,mxResources.get("custom")+"...","",mxConstants.DEFAULT_FONTFAMILY,mxConstants.STYLE_FONTFAMILY,g,!0,mxUtils.bind(this,function(l){0>mxUtils.indexOf(this.customFonts,l)&&(this.customFonts.push(l),this.editorUi.fireEvent(new mxEventObject("customFontsChanged")))}))})));this.put("formatBlock",new Menu(mxUtils.bind(this,function(f,g){function d(h,l){return f.addItem(h,null,mxUtils.bind(this,function(){null!=b.cellEditor.textarea&&(b.cellEditor.textarea.focus(),document.execCommand("formatBlock",!1,"<"+l+">"))}),g)}d(mxResources.get("normal"),"p");d("","h1").firstChild.nextSibling.innerHTML='<h1 style="margin:0px;">'+mxResources.get("heading")+" 1</h1>";d("","h2").firstChild.nextSibling.innerHTML='<h2 style="margin:0px;">'+mxResources.get("heading")+" 2</h2>";d("","h3").firstChild.nextSibling.innerHTML='<h3 style="margin:0px;">'+mxResources.get("heading")+" 3</h3>";d("","h4").firstChild.nextSibling.innerHTML='<h4 style="margin:0px;">'+mxResources.get("heading")+" 4</h4>";d("","h5").firstChild.nextSibling.innerHTML='<h5 style="margin:0px;">'+mxResources.get("heading")+" 5</h5>";d("","h6").firstChild.nextSibling.innerHTML='<h6 style="margin:0px;">'+mxResources.get("heading")+" 6</h6>";d("","pre").firstChild.nextSibling.innerHTML='<pre style="margin:0px;">'+mxResources.get("formatted")+"</pre>";d("","blockquote").firstChild.nextSibling.innerHTML='<blockquote style="margin-top:0px;margin-bottom:0px;">'+mxResources.get("blockquote")+"</blockquote>"})));this.put("fontSize",new Menu(mxUtils.bind(this,function(f,g){var d=[6,8,9,10,11,12,14,18,24,36,48,72];0>mxUtils.indexOf(d,this.defaultFontSize)&&(d.push(this.defaultFontSize),d.sort(function(w,y){return w-y}));for(var h=mxUtils.bind(this,function(w){if(null!=b.cellEditor.textarea){document.execCommand("fontSize",!1,"3");for(var y=b.cellEditor.textarea.getElementsByTagName("font"),-A=0;A<y.length;A++)if("3"==y[A].getAttribute("size")){y[A].removeAttribute("size");y[A].style.fontSize=w+"px";break}a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTSIZE],"values",[w],"cells",[b.cellEditor.getEditingCell()]))}}),l=mxUtils.bind(this,function(w){this.styleChange(f,w,[mxConstants.STYLE_FONTSIZE],[w],null,g,function(){h(w)})}),r=0;r<d.length;r++)l(d[r]);f.addSeparator(g);if(0<this.customFontSizes.length){var k=0;for(r=0;r<this.customFontSizes.length;r++)0>mxUtils.indexOf(d,-this.customFontSizes[r])&&(l(this.customFontSizes[r]),k++);0<k&&f.addSeparator(g);f.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){this.customFontSizes=[]}),g);f.addSeparator(g)}var u=null;this.promptChange(f,mxResources.get("custom")+"...","("+mxResources.get("points")+")",this.defaultFontSize,mxConstants.STYLE_FONTSIZE,g,!0,mxUtils.bind(this,function(w){null!=u&&null!=b.cellEditor.textarea&&(b.cellEditor.textarea.focus(),b.cellEditor.restoreSelection(u));null!=w&&0<w.length&&+A=0;A<y.length;A++)if("3"==y[A].getAttribute("size")){y[A].removeAttribute("size");y[A].style.fontSize=w+"px";break}a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTSIZE],"values",[w],"cells",[b.cellEditor.getEditingCell()]))}}),l=mxUtils.bind(this,function(w){this.styleChange(f,w,[mxConstants.STYLE_FONTSIZE],[w],null,g,function(){h(w)})}),q=0;q<d.length;q++)l(d[q]);f.addSeparator(g);if(0<this.customFontSizes.length){var k=0;for(q=0;q<this.customFontSizes.length;q++)0>mxUtils.indexOf(d,+this.customFontSizes[q])&&(l(this.customFontSizes[q]),k++);0<k&&f.addSeparator(g);f.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){this.customFontSizes=[]}),g);f.addSeparator(g)}var u=null;this.promptChange(f,mxResources.get("custom")+"...","("+mxResources.get("points")+")",this.defaultFontSize,mxConstants.STYLE_FONTSIZE,g,!0,mxUtils.bind(this,function(w){null!=u&&null!=b.cellEditor.textarea&&(b.cellEditor.textarea.focus(),b.cellEditor.restoreSelection(u));null!=w&&0<w.length&&(this.customFontSizes.push(w),h(w))}),null,function(){u=b.cellEditor.saveSelection();return!1})})));this.put("direction",new Menu(mxUtils.bind(this,function(f,g){f.addItem(mxResources.get("flipH"),null,function(){b.toggleCellStyles(mxConstants.STYLE_FLIPH,!1)},g);f.addItem(mxResources.get("flipV"),null,function(){b.toggleCellStyles(mxConstants.STYLE_FLIPV,!1)},g);this.addMenuItems(f,["-","rotation"],g)})));this.put("align",new Menu(mxUtils.bind(this,function(f,g){var d=1<this.editorUi.getSelectionState().vertices.length;f.addItem(mxResources.get("leftAlign"),null,function(){b.alignCells(mxConstants.ALIGN_LEFT)},g,null,d);f.addItem(mxResources.get("center"),null,function(){b.alignCells(mxConstants.ALIGN_CENTER)},g,null,d);f.addItem(mxResources.get("rightAlign"),null,function(){b.alignCells(mxConstants.ALIGN_RIGHT)},g,null,d);f.addSeparator(g);f.addItem(mxResources.get("topAlign"),null,function(){b.alignCells(mxConstants.ALIGN_TOP)},g,null,d);f.addItem(mxResources.get("middle"),null,function(){b.alignCells(mxConstants.ALIGN_MIDDLE)},g,null,d);f.addItem(mxResources.get("bottomAlign"),null,function(){b.alignCells(mxConstants.ALIGN_BOTTOM)},g,null,d);this.addMenuItems(f,["-","snapToGrid"],g)})));this.put("distribute",new Menu(mxUtils.bind(this,function(f,g){f.addItem(mxResources.get("horizontal"),null,function(){b.distributeCells(!0)},g);f.addItem(mxResources.get("vertical"),null,function(){b.distributeCells(!1)},g);f.addSeparator(g);this.addSubmenu("distributeSpacing",f,g,mxResources.get("spacing"))})));this.put("distributeSpacing",@@ -3702,42 +3702,42 @@ mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",nuFormat.processMenuIcon(this.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle","1",null],null,g,!0,Format.curvedImage.src)).setAttribute("title",mxResources.get("curved")),Format.processMenuIcon(this.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["entityRelationEdgeStyle",null,null],null,g,!0,Format.entityImage.src)).setAttribute("title",mxResources.get("entityRelation"))),f.addSeparator(g),Format.processMenuIcon(this.styleChange(f,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],[null,null,null,null],null,g,null,null,!0,Format.connectionImage.src)).setAttribute("title",mxResources.get("line")),Format.processMenuIcon(this.styleChange(f,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["link",null,null,null],null,g,null,null,!0,Format.linkEdgeImage.src)).setAttribute("title",mxResources.get("link")),Format.processMenuIcon(this.styleChange(f,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["flexArrow",null,null,null],null,g,null,null,!0,Format.arrowImage.src)).setAttribute("title",mxResources.get("arrow")),Format.processMenuIcon(this.styleChange(f,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["arrow",null,null,null],null,g,null,null,!0,Format.simpleArrowImage.src)).setAttribute("title",mxResources.get("simpleArrow")))})));-this.put("layout",new Menu(mxUtils.bind(this,function(f,g){var d=mxUtils.bind(this,function(l,r){this.editorUi.prompt(mxResources.get("spacing"),l,r)}),h=mxUtils.bind(this,function(l){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var r=b.getSelectionCell(),k=null;null==r||0==b.getModel().getChildCount(r)?0==b.getModel().getEdgeCount(r)&&(k=b.findTreeRoots(b.getDefaultParent())):k=b.findTreeRoots(r);null!=k&&0<k.length&&(r=k[0]);null!=r&&this.editorUi.executeLayout(function(){l.execute(b.getDefaultParent(),-r);b.isSelectionEmpty()||(r=b.getModel().getParent(r),b.getModel().isVertex(r)&&b.updateGroupBounds([r],2*b.gridSize,!0))},!0)}))});f.addItem(mxResources.get("horizontalFlow"),null,mxUtils.bind(this,function(){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var l=new mxHierarchicalLayout(b,mxConstants.DIRECTION_WEST);this.editorUi.executeLayout(function(){var r=b.getSelectionCells();l.execute(b.getDefaultParent(),0==r.length?null:r)},!0)}))}),g);f.addItem(mxResources.get("verticalFlow"),null,-mxUtils.bind(this,function(){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var l=new mxHierarchicalLayout(b,mxConstants.DIRECTION_NORTH);this.editorUi.executeLayout(function(){var r=b.getSelectionCells();l.execute(b.getDefaultParent(),0==r.length?null:r)},!0)}))}),g);f.addSeparator(g);f.addItem(mxResources.get("horizontalTree"),null,mxUtils.bind(this,function(){var l=new mxCompactTreeLayout(b,!0);l.edgeRouting=!1;l.levelDistance=30;l.sortEdges=!0;d(l.levelDistance,mxUtils.bind(this,function(r){isNaN(r)||-(l.levelDistance=r,h(l))}))}),g);f.addItem(mxResources.get("verticalTree"),null,mxUtils.bind(this,function(){var l=new mxCompactTreeLayout(b,!1);l.edgeRouting=!1;l.levelDistance=30;l.sortEdges=!0;d(l.levelDistance,mxUtils.bind(this,function(r){isNaN(r)||(l.levelDistance=r,h(l))}))}),g);f.addItem(mxResources.get("radialTree"),null,mxUtils.bind(this,function(){var l=new mxRadialTreeLayout(b);l.levelDistance=80;l.autoRadius=!0;d(l.levelDistance,mxUtils.bind(this,function(r){isNaN(r)||(l.levelDistance=-r,h(l))}))}),g);f.addSeparator(g);f.addItem(mxResources.get("organic"),null,mxUtils.bind(this,function(){var l=new mxFastOrganicLayout(b);d(l.forceConstant,mxUtils.bind(this,function(r){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){l.forceConstant=r;this.editorUi.executeLayout(function(){var k=b.getSelectionCell();if(null==k||0==b.getModel().getChildCount(k))k=b.getDefaultParent();l.execute(k);b.getModel().isVertex(k)&&b.updateGroupBounds([k],2*b.gridSize,!0)},!0)}))}))}),g);f.addItem(mxResources.get("circle"),-null,mxUtils.bind(this,function(){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var l=new mxCircleLayout(b);this.editorUi.executeLayout(function(){var r=b.getSelectionCell();if(null==r||0==b.getModel().getChildCount(r))r=b.getDefaultParent();l.execute(r);b.getModel().isVertex(r)&&b.updateGroupBounds([r],2*b.gridSize,!0)},!0)}))}),g)})));this.put("navigation",new Menu(mxUtils.bind(this,function(f,g){this.addMenuItems(f,"home - exitGroup enterGroup - expand collapse - collapsible".split(" "),+this.put("layout",new Menu(mxUtils.bind(this,function(f,g){var d=mxUtils.bind(this,function(l,q){this.editorUi.prompt(mxResources.get("spacing"),l,q)}),h=mxUtils.bind(this,function(l){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var q=b.getSelectionCell(),k=null;null==q||0==b.getModel().getChildCount(q)?0==b.getModel().getEdgeCount(q)&&(k=b.findTreeRoots(b.getDefaultParent())):k=b.findTreeRoots(q);null!=k&&0<k.length&&(q=k[0]);null!=q&&this.editorUi.executeLayout(function(){l.execute(b.getDefaultParent(),+q);b.isSelectionEmpty()||(q=b.getModel().getParent(q),b.getModel().isVertex(q)&&b.updateGroupBounds([q],2*b.gridSize,!0))},!0)}))});f.addItem(mxResources.get("horizontalFlow"),null,mxUtils.bind(this,function(){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var l=new mxHierarchicalLayout(b,mxConstants.DIRECTION_WEST);this.editorUi.executeLayout(function(){var q=b.getSelectionCells();l.execute(b.getDefaultParent(),0==q.length?null:q)},!0)}))}),g);f.addItem(mxResources.get("verticalFlow"),null,+mxUtils.bind(this,function(){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var l=new mxHierarchicalLayout(b,mxConstants.DIRECTION_NORTH);this.editorUi.executeLayout(function(){var q=b.getSelectionCells();l.execute(b.getDefaultParent(),0==q.length?null:q)},!0)}))}),g);f.addSeparator(g);f.addItem(mxResources.get("horizontalTree"),null,mxUtils.bind(this,function(){var l=new mxCompactTreeLayout(b,!0);l.edgeRouting=!1;l.levelDistance=30;l.sortEdges=!0;d(l.levelDistance,mxUtils.bind(this,function(q){isNaN(q)||+(l.levelDistance=q,h(l))}))}),g);f.addItem(mxResources.get("verticalTree"),null,mxUtils.bind(this,function(){var l=new mxCompactTreeLayout(b,!1);l.edgeRouting=!1;l.levelDistance=30;l.sortEdges=!0;d(l.levelDistance,mxUtils.bind(this,function(q){isNaN(q)||(l.levelDistance=q,h(l))}))}),g);f.addItem(mxResources.get("radialTree"),null,mxUtils.bind(this,function(){var l=new mxRadialTreeLayout(b);l.levelDistance=80;l.autoRadius=!0;d(l.levelDistance,mxUtils.bind(this,function(q){isNaN(q)||(l.levelDistance=+q,h(l))}))}),g);f.addSeparator(g);f.addItem(mxResources.get("organic"),null,mxUtils.bind(this,function(){var l=new mxFastOrganicLayout(b);d(l.forceConstant,mxUtils.bind(this,function(q){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){l.forceConstant=q;this.editorUi.executeLayout(function(){var k=b.getSelectionCell();if(null==k||0==b.getModel().getChildCount(k))k=b.getDefaultParent();l.execute(k);b.getModel().isVertex(k)&&b.updateGroupBounds([k],2*b.gridSize,!0)},!0)}))}))}),g);f.addItem(mxResources.get("circle"),+null,mxUtils.bind(this,function(){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var l=new mxCircleLayout(b);this.editorUi.executeLayout(function(){var q=b.getSelectionCell();if(null==q||0==b.getModel().getChildCount(q))q=b.getDefaultParent();l.execute(q);b.getModel().isVertex(q)&&b.updateGroupBounds([q],2*b.gridSize,!0)},!0)}))}),g)})));this.put("navigation",new Menu(mxUtils.bind(this,function(f,g){this.addMenuItems(f,"home - exitGroup enterGroup - expand collapse - collapsible".split(" "),g)})));this.put("arrange",new Menu(mxUtils.bind(this,function(f,g){this.addMenuItems(f,["toFront","toBack","bringForward","sendBackward","-"],g);this.addSubmenu("direction",f,g);this.addMenuItems(f,["turn","-"],g);this.addSubmenu("align",f,g);this.addSubmenu("distribute",f,g);f.addSeparator(g);this.addSubmenu("navigation",f,g);this.addSubmenu("insert",f,g);this.addSubmenu("layout",f,g);this.addMenuItems(f,"- group ungroup removeFromGroup - clearWaypoints autosize".split(" "),g)}))).isEnabled=e;this.put("insert",new Menu(mxUtils.bind(this,function(f,g){this.addMenuItems(f,["insertLink","insertImage"],g)})));this.put("view",new Menu(mxUtils.bind(this,function(f,g){this.addMenuItems(f,(null!=this.editorUi.format?["format"]:[]).concat("outline layers - pageView pageScale - tooltips grid guides - connectionArrows connectionPoints - resetView zoomIn zoomOut".split(" "),g))})));this.put("viewPanels",new Menu(mxUtils.bind(this,function(f,g){null!=this.editorUi.format&&this.addMenuItems(f,["format"],g);this.addMenuItems(f,["outline","layers"],g)})));this.put("viewZoom",new Menu(mxUtils.bind(this,function(f,g){this.addMenuItems(f,["smartFit","-"],g);for(var d=[.25,.5,.75,1,1.25,1.5,2,3,4],h=0;h<d.length;h++)(function(l){f.addItem(100*l+"%",null,function(){b.zoomTo(l)},g)})(d[h]);this.addMenuItems(f,"- fitWindow fitPageWidth fitPage fitTwoPages - customZoom".split(" "),g)})));this.put("file",new Menu(mxUtils.bind(this,function(f,g){this.addMenuItems(f,"new open - save saveAs - import export - pageSetup print".split(" "),g)})));this.put("edit",new Menu(mxUtils.bind(this,function(f,g){this.addMenuItems(f,"undo redo - cut copy paste delete - duplicate - editData editTooltip - editStyle - edit - editLink openLink - selectVertices selectEdges selectAll selectNone - lockUnlock".split(" "))})));this.put("extras",new Menu(mxUtils.bind(this,function(f,g){this.addMenuItems(f,["copyConnect","collapseExpand","-","editDiagram"])})));this.put("help",new Menu(mxUtils.bind(this,function(f,g){this.addMenuItems(f,["help","-","about"])})))};Menus.prototype.put=function(a,b){return this.menus[a]=b};Menus.prototype.get=function(a){return this.menus[a]};Menus.prototype.addSubmenu=function(a,b,e,f){var g=this.get(a),d=null;null!=g&&(g=g.isEnabled(),b.showDisabled||g)&&(d=b.addItem(f||mxResources.get(a),null,null,e,null,g),this.addMenu(a,b,d));return d};Menus.prototype.addMenu=function(a,b,e){a=this.get(a);null!=a&&(b.showDisabled||a.isEnabled())&&a.execute(b,e)};-Menus.prototype.addInsertTableCellItem=function(a,b){var e=this.editorUi.editor.graph,f=e.getSelectionCell(),g=e.getCurrentCellStyle(f);1<e.getSelectionCount()&&(e.isTableCell(f)&&(f=e.model.getParent(f)),e.isTableRow(f)&&(f=e.model.getParent(f)));var d=e.isTable(f)||e.isTableRow(f)||e.isTableCell(f),h=e.isStack(f)||e.isStackChild(f),l=d,r=d;h&&(g=e.isStack(f)?g:e.getCellStyle(e.model.getParent(f)),r="0"==g.horizontalStack,l=!r);null!=b||!d&&!h?this.addInsertTableItem(a,mxUtils.bind(this,function(k,+Menus.prototype.addInsertTableCellItem=function(a,b){var e=this.editorUi.editor.graph,f=e.getSelectionCell(),g=e.getCurrentCellStyle(f);1<e.getSelectionCount()&&(e.isTableCell(f)&&(f=e.model.getParent(f)),e.isTableRow(f)&&(f=e.model.getParent(f)));var d=e.isTable(f)||e.isTableRow(f)||e.isTableCell(f),h=e.isStack(f)||e.isStackChild(f),l=d,q=d;h&&(g=e.isStack(f)?g:e.getCellStyle(e.model.getParent(f)),q="0"==g.horizontalStack,l=!q);null!=b||!d&&!h?this.addInsertTableItem(a,mxUtils.bind(this,function(k,u,w,y,A){u=A||mxEvent.isControlDown(k)||mxEvent.isMetaDown(k)?e.createCrossFunctionalSwimlane(u,w,null,null,y||mxEvent.isShiftDown(k)?"Cross-Functional Flowchart":null):e.createTable(u,w,null,null,y||mxEvent.isShiftDown(k)?"Table":null);k=mxEvent.isAltDown(k)?e.getFreeInsertPoint():e.getCenterInsertPoint(e.getBoundingBoxFromGeometry([u],!0));w=null;e.getModel().beginUpdate();try{w=e.importCells([u],k.x,k.y),e.fireEvent(new mxEventObject("cellsInserted","cells",e.model.getDescendants(w[0])))}finally{e.getModel().endUpdate()}null!=w&&0<w.length&&(e.scrollCellToVisible(w[0]),e.setSelectionCells(w))}),b):(l&&(b=a.addItem(mxResources.get("insertColumnBefore"),Editor.addColumnLeftImage,mxUtils.bind(this,function(){try{h?e.insertLane(f,!0):e.insertTableColumn(f,!0)}catch(k){this.editorUi.handleError(k)}})),b.setAttribute("title",mxResources.get("insertColumnBefore")),b=a.addItem(mxResources.get("insertColumnAfter"),Editor.addColumnRightImage,mxUtils.bind(this,function(){try{h?e.insertLane(f,!1):e.insertTableColumn(f,!1)}catch(k){this.editorUi.handleError(k)}})),-b.setAttribute("title",mxResources.get("insertColumnAfter")),b=a.addItem(mxResources.get("deleteColumn"),Editor.removeColumnImage,mxUtils.bind(this,function(){if(null!=f)try{h?e.deleteLane(f):e.deleteTableColumn(f)}catch(k){this.editorUi.handleError(k)}})),b.setAttribute("title",mxResources.get("deleteColumn"))),r&&(b=a.addItem(mxResources.get("insertRowBefore"),Editor.addRowAboveImage,mxUtils.bind(this,function(){try{h?e.insertLane(f,!0):e.insertTableRow(f,!0)}catch(k){this.editorUi.handleError(k)}})),+b.setAttribute("title",mxResources.get("insertColumnAfter")),b=a.addItem(mxResources.get("deleteColumn"),Editor.removeColumnImage,mxUtils.bind(this,function(){if(null!=f)try{h?e.deleteLane(f):e.deleteTableColumn(f)}catch(k){this.editorUi.handleError(k)}})),b.setAttribute("title",mxResources.get("deleteColumn"))),q&&(b=a.addItem(mxResources.get("insertRowBefore"),Editor.addRowAboveImage,mxUtils.bind(this,function(){try{h?e.insertLane(f,!0):e.insertTableRow(f,!0)}catch(k){this.editorUi.handleError(k)}})),b.setAttribute("title",mxResources.get("insertRowBefore")),b=a.addItem(mxResources.get("insertRowAfter"),Editor.addRowBelowImage,mxUtils.bind(this,function(){try{h?e.insertLane(f,!1):e.insertTableRow(f,!1)}catch(k){this.editorUi.handleError(k)}})),b.setAttribute("title",mxResources.get("insertRowAfter")),b=a.addItem(mxResources.get("deleteRow"),Editor.removeRowImage,mxUtils.bind(this,function(){try{h?e.deleteLane(f):e.deleteTableRow(f)}catch(k){this.editorUi.handleError(k)}})),b.setAttribute("title",-mxResources.get("deleteRow")),r=this.editorUi.getSelectionState(),null!=r.mergeCell?this.addMenuItem(a,"mergeCells"):(1<r.style.colspan||1<r.style.rowspan)&&this.addMenuItem(a,"unmergeCells")))};-Menus.prototype.addInsertTableItem=function(a,b,e,f){function g(A){y=d.getParentByName(mxEvent.getSource(A),"TD");var G=!1;if(null!=y){w=d.getParentByName(y,"TR");var D=mxEvent.isMouseEvent(A)?2:4,F=k,H=Math.min(20,w.sectionRowIndex+D);D=Math.min(20,y.cellIndex+D);for(var M=F.rows.length;M<H;M++)for(var N=F.insertRow(M),K=0;K<F.rows[0].cells.length;K++)N.insertCell(-1);for(M=0;M<F.rows.length;M++)for(N=F.rows[M],K=N.cells.length;K<D;K++)N.insertCell(-1);u.innerHTML=y.cellIndex+1+"x"+(w.sectionRowIndex+-1);for(F=0;F<k.rows.length;F++)for(H=k.rows[F],D=0;D<H.cells.length;D++)M=H.cells[D],F==w.sectionRowIndex&&D==y.cellIndex&&(G="blue"==M.style.backgroundColor),M.style.backgroundColor=F<=w.sectionRowIndex&&D<=y.cellIndex?"blue":"transparent"}mxEvent.consume(A);return G}f=null!=f?f:!0;var d=this.editorUi.editor.graph;b=null!=b?b:mxUtils.bind(this,function(A,G,D){if(null!=d.getParentByName(mxEvent.getSource(A),"TD")&&null!=d.cellEditor.textarea){var F=d.cellEditor.textarea.getElementsByTagName("table");-A=[];for(var H=0;H<F.length;H++)A.push(F[H]);d.container.focus();H=d;F=H.pasteHtmlAtCaret;for(var M=["<table>"],N=0;N<G;N++){M.push("<tr>");for(var K=0;K<D;K++)M.push("<td><br></td>");M.push("</tr>")}M.push("</table>");G=M.join("");F.call(H,G);G=d.cellEditor.textarea.getElementsByTagName("table");if(G.length==A.length+1)for(H=G.length-1;0<=H;H--)if(0==H||G[H]!=A[H-1]){d.selectNode(G[H].rows[0].cells[0]);break}}});null==e&&(a.div.classList.add("geToolbarMenu"),a.labels=!1);a=a.addItem("",null,null,+mxResources.get("deleteRow")),q=this.editorUi.getSelectionState(),null!=q.mergeCell?this.addMenuItem(a,"mergeCells"):(1<q.style.colspan||1<q.style.rowspan)&&this.addMenuItem(a,"unmergeCells")))};+Menus.prototype.addInsertTableItem=function(a,b,e,f){function g(A){y=d.getParentByName(mxEvent.getSource(A),"TD");var F=!1;if(null!=y){w=d.getParentByName(y,"TR");var D=mxEvent.isMouseEvent(A)?2:4,G=k,H=Math.min(20,w.sectionRowIndex+D);D=Math.min(20,y.cellIndex+D);for(var M=G.rows.length;M<H;M++)for(var N=G.insertRow(M),K=0;K<G.rows[0].cells.length;K++)N.insertCell(-1);for(M=0;M<G.rows.length;M++)for(N=G.rows[M],K=N.cells.length;K<D;K++)N.insertCell(-1);u.innerHTML=y.cellIndex+1+"x"+(w.sectionRowIndex++1);for(G=0;G<k.rows.length;G++)for(H=k.rows[G],D=0;D<H.cells.length;D++)M=H.cells[D],G==w.sectionRowIndex&&D==y.cellIndex&&(F="blue"==M.style.backgroundColor),M.style.backgroundColor=G<=w.sectionRowIndex&&D<=y.cellIndex?"blue":"transparent"}mxEvent.consume(A);return F}f=null!=f?f:!0;var d=this.editorUi.editor.graph;b=null!=b?b:mxUtils.bind(this,function(A,F,D){if(null!=d.getParentByName(mxEvent.getSource(A),"TD")&&null!=d.cellEditor.textarea){var G=d.cellEditor.textarea.getElementsByTagName("table");+A=[];for(var H=0;H<G.length;H++)A.push(G[H]);d.container.focus();H=d;G=H.pasteHtmlAtCaret;for(var M=["<table>"],N=0;N<F;N++){M.push("<tr>");for(var K=0;K<D;K++)M.push("<td><br></td>");M.push("</tr>")}M.push("</table>");F=M.join("");G.call(H,F);F=d.cellEditor.textarea.getElementsByTagName("table");if(F.length==A.length+1)for(H=F.length-1;0<=H;H--)if(0==H||F[H]!=A[H-1]){d.selectNode(F[H].rows[0].cells[0]);break}}});null==e&&(a.div.classList.add("geToolbarMenu"),a.labels=!1);a=a.addItem("",null,null,e,null,null,null,!0);a.firstChild.style.fontSize=Menus.prototype.defaultFontSize+"px";e=a.getElementsByTagName("td");1<e.length&&(e[1].style.display="none",e[2].style.display="none");a.firstChild.innerText="";var h=document.createElement("input");h.setAttribute("id","geTitleOption");h.setAttribute("type","checkbox");h.style.verticalAlign="middle";e=document.createElement("label");mxUtils.write(e,mxResources.get("title"));e.setAttribute("for","geTitleOption");e.style.verticalAlign="middle";mxEvent.addGestureListeners(e,-null,null,mxUtils.bind(this,function(A){mxEvent.consume(A)}));mxEvent.addGestureListeners(h,null,null,mxUtils.bind(this,function(A){mxEvent.consume(A)}));var l=document.createElement("input");l.setAttribute("id","geContainerOption");l.setAttribute("type","checkbox");l.style.verticalAlign="middle";var r=document.createElement("label");mxUtils.write(r,mxResources.get("container"));r.setAttribute("for","geContainerOption");r.style.verticalAlign="middle";mxEvent.addGestureListeners(r,null,null,mxUtils.bind(this,-function(A){mxEvent.consume(A)}));mxEvent.addGestureListeners(l,null,null,mxUtils.bind(this,function(A){mxEvent.consume(A)}));f&&(a.firstChild.appendChild(h),a.firstChild.appendChild(e),mxUtils.br(a.firstChild),a.firstChild.appendChild(l),a.firstChild.appendChild(r),mxUtils.br(a.firstChild));var k=function(A,G){var D=document.createElement("table");D.className="geInsertTablePicker";D.setAttribute("border","1");D.style.borderCollapse="collapse";D.style.borderStyle="solid";D.style.marginBottom="4px";-D.style.marginTop="8px";D.setAttribute("cellPadding","8");for(var F=0;F<A;F++)for(var H=D.insertRow(F),M=0;M<G;M++)H.insertCell(-1);return D}(5,5);a.firstChild.appendChild(k);var u=document.createElement("div");u.style.textAlign="center";u.style.padding="4px";u.style.width="100%";u.innerHTML="1x1";a.firstChild.appendChild(u);var w=null,y=null;mxEvent.addGestureListeners(k,null,null,mxUtils.bind(this,function(A){var G=g(A);null!=y&&null!=w&&G&&(b(A,w.sectionRowIndex+1,y.cellIndex+1,h.checked,l.checked),+null,null,mxUtils.bind(this,function(A){mxEvent.consume(A)}));mxEvent.addGestureListeners(h,null,null,mxUtils.bind(this,function(A){mxEvent.consume(A)}));var l=document.createElement("input");l.setAttribute("id","geContainerOption");l.setAttribute("type","checkbox");l.style.verticalAlign="middle";var q=document.createElement("label");mxUtils.write(q,mxResources.get("container"));q.setAttribute("for","geContainerOption");q.style.verticalAlign="middle";mxEvent.addGestureListeners(q,null,null,mxUtils.bind(this,+function(A){mxEvent.consume(A)}));mxEvent.addGestureListeners(l,null,null,mxUtils.bind(this,function(A){mxEvent.consume(A)}));f&&(a.firstChild.appendChild(h),a.firstChild.appendChild(e),mxUtils.br(a.firstChild),a.firstChild.appendChild(l),a.firstChild.appendChild(q),mxUtils.br(a.firstChild));var k=function(A,F){var D=document.createElement("table");D.className="geInsertTablePicker";D.setAttribute("border","1");D.style.borderCollapse="collapse";D.style.borderStyle="solid";D.style.marginBottom="4px";+D.style.marginTop="8px";D.setAttribute("cellPadding","8");for(var G=0;G<A;G++)for(var H=D.insertRow(G),M=0;M<F;M++)H.insertCell(-1);return D}(5,5);a.firstChild.appendChild(k);var u=document.createElement("div");u.style.textAlign="center";u.style.padding="4px";u.style.width="100%";u.innerHTML="1x1";a.firstChild.appendChild(u);var w=null,y=null;mxEvent.addGestureListeners(k,null,null,mxUtils.bind(this,function(A){var F=g(A);null!=y&&null!=w&&F&&(b(A,w.sectionRowIndex+1,y.cellIndex+1,h.checked,l.checked),window.setTimeout(mxUtils.bind(this,function(){this.editorUi.hideCurrentMenu()}),0))}));mxEvent.addListener(k,"mouseover",g)};-Menus.prototype.edgeStyleChange=function(a,b,e,f,g,d,h,l){return this.showIconOnly(a.addItem(b,l,mxUtils.bind(this,function(){var r=this.editorUi.editor.graph;r.stopEditing(!1);r.getModel().beginUpdate();try{for(var k=r.getSelectionCells(),u=[],w=0;w<k.length;w++){var y=k[w];if(r.getModel().isEdge(y)){if(h){var A=r.getCellGeometry(y);null!=A&&(A=A.clone(),A.points=null,r.getModel().setGeometry(y,A))}for(var G=0;G<e.length;G++)r.setCellStyles(e[G],f[G],[y]);u.push(y)}}this.editorUi.fireEvent(new mxEventObject("styleChanged",-"cells",u,"keys",e,"values",f,"force",0==k.length))}finally{r.getModel().endUpdate()}}),d,g))};Menus.prototype.showIconOnly=function(a){var b=a.getElementsByTagName("td");for(i=0;i<b.length;i++)"mxPopupMenuItem"==b[i].getAttribute("class")&&(b[i].style.display="none");return a};-Menus.prototype.styleChange=function(a,b,e,f,g,d,h,l,r,k){var u=this.createStyleChangeFunction(e,f);a=a.addItem(b,k,mxUtils.bind(this,function(){var w=this.editorUi.editor.graph;null!=h&&w.cellEditor.isContentEditing()?h():u(l)}),d,g);r&&this.showIconOnly(a);return a};+Menus.prototype.edgeStyleChange=function(a,b,e,f,g,d,h,l){return this.showIconOnly(a.addItem(b,l,mxUtils.bind(this,function(){var q=this.editorUi.editor.graph;q.stopEditing(!1);q.getModel().beginUpdate();try{for(var k=q.getSelectionCells(),u=[],w=0;w<k.length;w++){var y=k[w];if(q.getModel().isEdge(y)){if(h){var A=q.getCellGeometry(y);null!=A&&(A=A.clone(),A.points=null,q.getModel().setGeometry(y,A))}for(var F=0;F<e.length;F++)q.setCellStyles(e[F],f[F],[y]);u.push(y)}}this.editorUi.fireEvent(new mxEventObject("styleChanged",+"cells",u,"keys",e,"values",f,"force",0==k.length))}finally{q.getModel().endUpdate()}}),d,g))};Menus.prototype.showIconOnly=function(a){var b=a.getElementsByTagName("td");for(i=0;i<b.length;i++)"mxPopupMenuItem"==b[i].getAttribute("class")&&(b[i].style.display="none");return a};+Menus.prototype.styleChange=function(a,b,e,f,g,d,h,l,q,k){var u=this.createStyleChangeFunction(e,f);a=a.addItem(b,k,mxUtils.bind(this,function(){var w=this.editorUi.editor.graph;null!=h&&w.cellEditor.isContentEditing()?h():u(l)}),d,g);q&&this.showIconOnly(a);return a};Menus.prototype.createStyleChangeFunction=function(a,b){return mxUtils.bind(this,function(e){var f=this.editorUi.editor.graph;f.stopEditing(!1);f.getModel().beginUpdate();try{for(var g=f.getEditableCells(f.getSelectionCells()),d=!1,h=0;h<a.length;h++)if(f.setCellStyles(a[h],b[h],g),a[h]==mxConstants.STYLE_ALIGN&&f.updateLabelElements(g,function(l){l.removeAttribute("align");l.style.textAlign=null}),a[h]==mxConstants.STYLE_FONTFAMILY||"fontSource"==a[h])d=!0;if(d)for(d=0;d<g.length;d++)0==f.model.getChildCount(g[d])&&f.autoSizeCell(g[d],!1);null!=e&&e();this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",a,"values",b,"cells",g))}finally{f.getModel().endUpdate()}})};-Menus.prototype.promptChange=function(a,b,e,f,g,d,h,l,r,k){return a.addItem(b,null,mxUtils.bind(this,function(){var u=this.editorUi.editor.graph,w=f,y=u.getView().getState(u.getSelectionCell());null!=y&&(w=y.style[g]||w);var A=null!=k?k():!0;w=new FilenameDialog(this.editorUi,w,mxResources.get("apply"),mxUtils.bind(this,function(G){if(null!=G&&0<G.length){if(A){u.getModel().beginUpdate();try{u.stopEditing(!1),u.setCellStyles(g,G)}finally{u.getModel().endUpdate()}}null!=l&&l(G)}}),mxResources.get("enterValue")+-(0<e.length?" "+e:""),null,null,null,null,function(){null!=l&&null!=k&&l(null)});this.editorUi.showDialog(w.container,300,80,!0,!0);w.init()}),d,r,h)};+Menus.prototype.promptChange=function(a,b,e,f,g,d,h,l,q,k){return a.addItem(b,null,mxUtils.bind(this,function(){var u=this.editorUi.editor.graph,w=f,y=u.getView().getState(u.getSelectionCell());null!=y&&(w=y.style[g]||w);var A=null!=k?k():!0;w=new FilenameDialog(this.editorUi,w,mxResources.get("apply"),mxUtils.bind(this,function(F){if(null!=F&&0<F.length){if(A){u.getModel().beginUpdate();try{u.stopEditing(!1),u.setCellStyles(g,F)}finally{u.getModel().endUpdate()}}null!=l&&l(F)}}),mxResources.get("enterValue")++(0<e.length?" "+e:""),null,null,null,null,function(){null!=l&&null!=k&&l(null)});this.editorUi.showDialog(w.container,300,80,!0,!0);w.init()}),d,q,h)};Menus.prototype.pickColor=function(a,b,e,f,g,d){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var h=this.editorUi.editor.graph;if(null!=b&&h.cellEditor.isContentEditing()){var l=h.getSelectedEditingElement();null!=l&&null!=h.cellEditor.textarea&&(l=h.getTextColor(l,"forecolor"==b),this.editorUi.pickColor(l,mxUtils.bind(this,function(k){null!=h.cellEditor.textarea&&(Graph.setTextColor(h.cellEditor.textarea,k,"forecolor"==b),this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",-["forecolor"==b?mxConstants.STYLE_FONTCOLOR:mxConstants.STYLE_LABEL_BACKGROUNDCOLOR],"values",[k],"cells",[h.cellEditor.getEditingCell()])))}),f,g,d))}else{var r=h.getCellStyle(h.getSelectionCell(),!1);l=mxConstants.NONE;null!=r&&(l=r[a]||l);this.editorUi.pickColor(l,ColorDialog.createApplyFunction(this.editorUi,a),f,g,d)}}))};+["forecolor"==b?mxConstants.STYLE_FONTCOLOR:mxConstants.STYLE_LABEL_BACKGROUNDCOLOR],"values",[k],"cells",[h.cellEditor.getEditingCell()])))}),f,g,d))}else{var q=h.getCellStyle(h.getSelectionCell(),!1);l=mxConstants.NONE;null!=q&&(l=q[a]||l);this.editorUi.pickColor(l,ColorDialog.createApplyFunction(this.editorUi,a),f,g,d)}}))};Menus.prototype.toggleStyle=function(a,b){var e=this.editorUi.editor.graph;b=e.toggleCellStyles(a,b);this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",[a],"values",[b],"cells",e.getSelectionCells()))};-Menus.prototype.addMenuItem=function(a,b,e,f,g,d){var h=this.editorUi.actions.get(b);return null!=h&&(a.showDisabled||h.isEnabled())&&h.visible?(b=a.addItem(d||h.getTitle(),null,mxUtils.bind(this,function(l){try{h.funct(f,l)}catch(r){this.editorUi.handleError(r)}}),e,g,h.isEnabled()),h.toggleAction&&h.isSelected()&&a.addCheckmark(b,Editor.checkmarkImage),this.addShortcut(b,h,a.hideShortcuts),b):null};+Menus.prototype.addMenuItem=function(a,b,e,f,g,d){var h=this.editorUi.actions.get(b);return null!=h&&(a.showDisabled||h.isEnabled())&&h.visible?(b=a.addItem(d||h.getTitle(),null,mxUtils.bind(this,function(l){try{h.funct(f,l)}catch(q){this.editorUi.handleError(q)}}),e,g,h.isEnabled()),h.toggleAction&&h.isSelected()&&a.addCheckmark(b,Editor.checkmarkImage),this.addShortcut(b,h,a.hideShortcuts),b):null};Menus.prototype.addShortcut=function(a,b,e){null!=b.shortcut&&(e?a.setAttribute("title",b.shortcut):(a=a.firstChild.nextSibling.nextSibling,e=document.createElement("span"),e.style.color="gray",mxUtils.write(e,b.shortcut),a.appendChild(e)))};Menus.prototype.addMenuItems=function(a,b,e,f,g){for(var d=0;d<b.length;d++)"-"==b[d]?a.addSeparator(e):this.addMenuItem(a,b[d],e,f,null!=g?g[d]:null)};Menus.prototype.createPopupMenu=function(a,b,e){a.smartSeparators=!0;a.hideShortcuts=!0;this.addPopupMenuItems(a,b,e)};Menus.prototype.addPopupMenuItems=function(a,b,e){this.isShowHistoryItems()&&this.addPopupMenuHistoryItems(a,b,e);this.addPopupMenuEditItems(a,b,e);this.isShowStyleItems()&&this.addPopupMenuStyleItems(a,b,e);this.isShowArrangeItems()&&this.addPopupMenuArrangeItems(a,b,e);this.addPopupMenuCellItems(a,b,e);this.addPopupMenuSelectionItems(a,b,e)};Menus.prototype.isShowHistoryItems=function(){return!0};Menus.prototype.addPopupMenuHistoryItems=function(a,b,e){this.editorUi.editor.graph.isSelectionEmpty()&&this.addMenuItems(a,["undo","redo"],null,e)};Menus.prototype.addPopupDeleteItem=function(a,b,e){a=this.addMenuItem(a,"delete");null!=a&&null!=a.firstChild&&null!=a.firstChild.nextSibling&&(a.firstChild.nextSibling.style.color="red",b=this.editorUi.editor.graph,1<b.getSelectionCount()&&(a.firstChild.nextSibling.innerHTML=mxUtils.htmlEntities(mxResources.get("delete")+" ("+b.getSelectionCount()+")")))};@@ -3746,7 +3746,7 @@ Menus.prototype.addPopupMenuStyleItems=function(a,b,e){1==this.editorUi.editor.gMenus.prototype.addPopupMenuArrangeItems=function(a,b,e){var f=this.editorUi.editor.graph;(1<f.getSelectionCount()||0<f.getSelectionCount()&&!f.getModel().isEdge(b)&&!f.isSwimlane(b)&&0<f.getModel().getChildCount(b)&&f.isCellEditable(b))&&this.addMenuItems(a,["group","ungroup"],null,e);b=f.getEditableCells(f.getSelectionCells()).length;1<b&&(a.addSeparator(),this.addSubmenu("align",a),this.addSubmenu("distribute",a));1<=b&&(this.addMenuItems(a,["-","toFront","toBack"],null,e),this.isShowCellEditItems()&&1==f.getSelectionCount()&&this.addMenuItems(a,["bringForward","sendBackward"],null,e))};Menus.prototype.addPopupMenuCellItems=function(a,b,e){var f=this.editorUi.editor.graph,g=this.editorUi.getSelectionState(),d=f.view.getState(b);if(null!=d){var h=f.getModel().getGeometry(b);h=null!=h&&null!=h.points&&0<h.points.length;a.addSeparator();if(this.isShowStyleItems()&&0==g.vertices.length&&0<g.edges.length&&(this.addSubmenu("line",a),"entityRelationEdgeStyle"!=mxUtils.getValue(d.style,mxConstants.STYLE_EDGE,null)&&"arrow"!=mxUtils.getValue(d.style,mxConstants.STYLE_SHAPE,null)&&(this.isShowCellEditItems()&&-0==g.vertices.length&&0<g.edges.length&&this.addMenuItem(a,"turn",null,e,null,mxResources.get("reverse")),1==f.getSelectionCount()))){d=f.selectionCellsHandler.getHandler(b);var l=!1;if(h&&d instanceof mxEdgeHandler&&null!=d.bends&&2<d.bends.length){var r=d.getHandleForEvent(f.updateMouseEvent(new mxMouseEvent(e)));0<r&&r<d.bends.length-1&&(null==d.bends[r]||null==d.bends[r].node||""==d.bends[r].node.style.opacity)&&(l=this.editorUi.actions.get("removeWaypoint"),l.handler=d,l.index=r,l=!0)}this.addMenuItems(a,+0==g.vertices.length&&0<g.edges.length&&this.addMenuItem(a,"turn",null,e,null,mxResources.get("reverse")),1==f.getSelectionCount()))){d=f.selectionCellsHandler.getHandler(b);var l=!1;if(h&&d instanceof mxEdgeHandler&&null!=d.bends&&2<d.bends.length){var q=d.getHandleForEvent(f.updateMouseEvent(new mxMouseEvent(e)));0<q&&q<d.bends.length-1&&(null==d.bends[q]||null==d.bends[q].node||""==d.bends[q].node.style.opacity)&&(l=this.editorUi.actions.get("removeWaypoint"),l.handler=d,l.index=q,l=!0)}this.addMenuItems(a,[l?"removeWaypoint":"addWaypoint"],null,e)}this.isShowCellEditItems()&&(0==g.vertices.length&&0<g.edges.length||h||f.getModel().isVertex(b)&&0<f.getModel().getEdgeCount(b))&&this.addMenuItems(a,["clearWaypoints"],null,e);this.isShowCellEditItems()&&1==f.getSelectionCount()&&f.isCellEditable(b)&&this.addPopupMenuCellEditItems(a,b,e)}};Menus.prototype.isShowCellEditItems=function(){return!0};Menus.prototype.addPopupMenuCellEditItems=function(a,b,e,f){var g=this.editorUi.editor.graph,d=g.view.getState(b);this.addMenuItems(a,["-","editStyle","editData","editLink"],f,e);g.getModel().isVertex(b)&&null!=mxUtils.getValue(d.style,mxConstants.STYLE_IMAGE,null)&&(a.addSeparator(),this.addMenuItem(a,"image",f,e).firstChild.nextSibling.innerHTML=mxResources.get("editImage")+"...",this.addMenuItem(a,"crop",f,e));g.getModel().isVertex(b)&&g.isCellConnectable(b)&&this.addMenuItem(a,"editConnectionPoints",f,e)};Menus.prototype.addPopupMenuSelectionItems=function(a,b,e){this.editorUi.editor.graph.isSelectionEmpty()&&this.addMenuItems(a,["-","selectAll","selectVertices","selectEdges"],null,e)};@@ -3762,144 +3762,145 @@ this.addTableDropDown();g.setAttribute("data-min-width",360);this.addSeparator(nToolbar.prototype.addTableDropDown=function(){var a=this.addMenu(new Menu(mxUtils.bind(this,function(e){this.editorUi.menus.addInsertTableCellItem(e)})),null,Editor.tableImage),b=this.editorUi.menus.get("insert");null!=b&&"function"===typeof a.setEnabled&&b.addListener("stateChanged",function(){a.setEnabled(b.enabled)});return a};Toolbar.prototype.setFontName=function(a){if(null!=this.fontMenu){this.fontMenu.innerText="";var b=document.createElement("span");mxUtils.write(b,a);this.fontMenu.appendChild(b);this.appendDropDownImageHtml(this.fontMenu)}};Toolbar.prototype.setFontSize=function(a){if(null!=this.sizeMenu){this.sizeMenu.innerText="";var b=document.createElement("span");mxUtils.write(b,a);this.sizeMenu.appendChild(b);this.appendDropDownImageHtml(this.sizeMenu)}};Toolbar.prototype.createTextToolbar=function(){var a=this.editorUi,b=a.editor.graph,e=this.addMenu(this.editorUi.menus.get("formatBlock"),"");e.style.width="54px";e.setAttribute("data-min-width",360);this.appendDropDownImageHtml(e);this.addSeparator(null,360);var f=this.addMenu(this.editorUi.menus.get("fontFamily"),"");this.fontMenu=f;this.fontMenu.style.width="82px";this.fontMenu.setAttribute("data-min-width",240);this.setFontName(Menus.prototype.defaultFont);this.addSeparator(null,280);var g=this.addMenu(this.editorUi.menus.get("fontSize"),-Menus.prototype.defaultFontSize);this.sizeMenu=g;this.sizeMenu.style.width="36px";this.sizeMenu.setAttribute("data-min-width",280);this.setFontSize(Menus.prototype.defaultFontSize);this.addItems(["-","undo","redo"],null,null,[null,Editor.undoImage,Editor.redoImage],560);this.addItems(["-","bold","italic","underline"],null,null,[null,Editor.boldImage,Editor.italicImage,Editor.underlineImage],460);this.addMenu(new Menu(mxUtils.bind(this,function(r){elt=r.addItem("",Editor.alignLeftImage,mxUtils.bind(this,-function(k){b.cellEditor.alignText(mxConstants.ALIGN_LEFT,k);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_LEFT],"cells",[b.cellEditor.getEditingCell()]))}));elt.setAttribute("title",mxResources.get("left"));elt=r.addItem("",Editor.alignCenterImage,mxUtils.bind(this,function(k){b.cellEditor.alignText(mxConstants.ALIGN_CENTER,k);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_CENTER],-"cells",[b.cellEditor.getEditingCell()]))}));elt.setAttribute("title",mxResources.get("center"));elt=r.addItem("",Editor.alignRightImage,mxUtils.bind(this,function(k){b.cellEditor.alignText(mxConstants.ALIGN_RIGHT,k);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_RIGHT],"cells",[b.cellEditor.getEditingCell()]))}));elt.setAttribute("title",mxResources.get("right"));elt=r.addItem("",Editor.alignJustifyImage,mxUtils.bind(this,function(){document.execCommand("justifyfull",-!1,null)}));elt.setAttribute("title",mxResources.get("justifyfull"));elt=r.addItem("",Editor.orderedListImage,mxUtils.bind(this,function(){document.execCommand("insertorderedlist",!1,null)}));elt.setAttribute("title",mxResources.get("numberedList"));elt=r.addItem("",Editor.unorderedListImage,mxUtils.bind(this,function(){document.execCommand("insertunorderedlist",!1,null)}));elt.setAttribute("title",mxResources.get("bulletedList"));elt=r.addItem("",Editor.indentImage,mxUtils.bind(this,function(){document.execCommand("indent",-!1,null)}));elt.setAttribute("title",mxResources.get("increaseIndent"));elt=r.addItem("",Editor.outdentImage,mxUtils.bind(this,function(){document.execCommand("outdent",!1,null)}));elt.setAttribute("title",mxResources.get("decreaseIndent"))})),null,Editor.alignLeftImage).setAttribute("data-min-width",600);var d=this.addMenu(new Menu(mxUtils.bind(this,function(r){elt=r.addItem("",Editor.subscriptImage,this.editorUi.actions.get("subscript").funct);elt.setAttribute("title",mxResources.get("subscript")+-" ("+Editor.ctrlKey+"+,)");elt=r.addItem("",Editor.superscriptImage,this.editorUi.actions.get("superscript").funct);elt.setAttribute("title",mxResources.get("superscript")+" ("+Editor.ctrlKey+"+.)");elt=r.addItem("",Editor.fontColorImage,this.editorUi.actions.get("fontColor").funct);elt.setAttribute("title",mxResources.get("fontColor"));elt=r.addItem("",Editor.backgroundColorImage,this.editorUi.actions.get("backgroundColor").funct);elt.setAttribute("title",mxResources.get("backgroundColor"));elt=-r.addItem("",Editor.removeFormatImage,mxUtils.bind(this,function(){document.execCommand("removeformat",!1,null)}));elt.setAttribute("title",mxResources.get("removeFormat"))})),null,Editor.textFormatImage);d.setAttribute("data-min-width",640);this.addSeparator(null,780);this.editorUi.addButton(Editor.codeImage,mxResources.get("html"),function(){b.cellEditor.toggleViewMode();0<b.cellEditor.textarea.innerHTML.length&&(" "!=b.cellEditor.textarea.innerHTML||!b.cellEditor.clearOnChange)&&window.setTimeout(function(){document.execCommand("selectAll",-!1,null)})},this.container).setAttribute("data-min-width",780);this.addSeparator(null,740);var h=this.addMenu(new Menu(mxUtils.bind(this,function(r){r.addItem(mxResources.get("insertLink"),null,mxUtils.bind(this,function(){this.editorUi.actions.get("link").funct()}));r.addItem(mxResources.get("insertImage"),null,mxUtils.bind(this,function(){this.editorUi.actions.get("image").funct()}));r.addItem(mxResources.get("insertHorizontalRule"),null,mxUtils.bind(this,function(){document.execCommand("inserthorizontalrule",-!1,null)}))})),null,Editor.plusImage);h.setAttribute("data-min-width",700);this.addSeparator(null,700);var l=this.addMenu(new Menu(mxUtils.bind(this,function(r){var k=b.getSelectedElement(),u=b.getParentByNames(k,["TD","TH"],b.cellEditor.text2),w=b.getParentByName(k,"TR",b.cellEditor.text2);if(null==w)this.editorUi.menus.addInsertTableItem(r);else{var y=b.getParentByName(w,"TABLE",b.cellEditor.text2);k=r.addItem("",Editor.addColumnLeftImage,mxUtils.bind(this,function(){try{b.selectNode(b.insertColumn(y,-null!=u?u.cellIndex:0))}catch(A){this.editorUi.handleError(A)}}));k.setAttribute("title",mxResources.get("insertColumnBefore"));k=r.addItem("",Editor.addColumnRightImage,mxUtils.bind(this,function(){try{b.selectNode(b.insertColumn(y,null!=u?u.cellIndex+1:-1))}catch(A){this.editorUi.handleError(A)}}));k.setAttribute("title",mxResources.get("insertColumnAfter"));k=r.addItem("Delete column",Editor.removeColumnImage,mxUtils.bind(this,function(){if(null!=u)try{b.deleteColumn(y,u.cellIndex)}catch(A){this.editorUi.handleError(A)}}));-k.setAttribute("title",mxResources.get("deleteColumn"));k=r.addItem("",Editor.addRowAboveImage,mxUtils.bind(this,function(){try{b.selectNode(b.insertRow(y,w.sectionRowIndex))}catch(A){this.editorUi.handleError(A)}}));k.setAttribute("title",mxResources.get("insertRowBefore"));k=r.addItem("",Editor.addRowBelowImage,mxUtils.bind(this,function(){try{b.selectNode(b.insertRow(y,w.sectionRowIndex+1))}catch(A){this.editorUi.handleError(A)}}));k.setAttribute("title",mxResources.get("insertRowAfter"));k=r.addItem("",-Editor.removeRowImage,mxUtils.bind(this,function(){try{b.deleteRow(y,w.sectionRowIndex)}catch(A){this.editorUi.handleError(A)}}));k.setAttribute("title",mxResources.get("deleteRow"));k=r.addItem("",Editor.strokeColorImage,mxUtils.bind(this,function(){var A=y.style.borderColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(G,D,F,H){return"#"+("0"+Number(D).toString(16)).substr(-2)+("0"+Number(F).toString(16)).substr(-2)+("0"+Number(H).toString(16)).substr(-2)});this.editorUi.pickColor(A,-function(G){null==G||G==mxConstants.NONE?(y.removeAttribute("border"),y.style.border="",y.style.borderCollapse=""):(y.setAttribute("border","1"),y.style.border="1px solid "+G,y.style.borderCollapse="collapse")})}));k.setAttribute("title",mxResources.get("borderColor"));k=r.addItem("",Editor.fillColorImage,mxUtils.bind(this,function(){var A=y.style.backgroundColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(G,D,F,H){return"#"+("0"+Number(D).toString(16)).substr(-2)+("0"+Number(F).toString(16)).substr(-2)+-("0"+Number(H).toString(16)).substr(-2)});this.editorUi.pickColor(A,function(G){y.style.backgroundColor=null==G||G==mxConstants.NONE?"":G})}));k.setAttribute("title",mxResources.get("backgroundColor"));k=r.addItem("",Editor.spacingImage,mxUtils.bind(this,function(){var A=y.getAttribute("cellPadding")||0;A=new FilenameDialog(this.editorUi,A,mxResources.get("apply"),mxUtils.bind(this,function(G){null!=G&&0<G.length?y.setAttribute("cellPadding",G):y.removeAttribute("cellPadding")}),mxResources.get("spacing"));-this.editorUi.showDialog(A.container,300,80,!0,!0);A.init()}));k.setAttribute("title",mxResources.get("spacing"));k=r.addItem("",Editor.alignLeftImage,mxUtils.bind(this,function(){y.setAttribute("align","left")}));k.setAttribute("title",mxResources.get("left"));k=r.addItem("",Editor.alignCenterImage,mxUtils.bind(this,function(){y.setAttribute("align","center")}));k.setAttribute("title",mxResources.get("center"));k=r.addItem("",Editor.alignRightImage,mxUtils.bind(this,function(){y.setAttribute("align",+Menus.prototype.defaultFontSize);this.sizeMenu=g;this.sizeMenu.style.width="36px";this.sizeMenu.setAttribute("data-min-width",280);this.setFontSize(Menus.prototype.defaultFontSize);this.addItems(["-","undo","redo"],null,null,[null,Editor.undoImage,Editor.redoImage],560);this.addItems(["-","bold","italic","underline"],null,null,[null,Editor.boldImage,Editor.italicImage,Editor.underlineImage],460);this.addMenu(new Menu(mxUtils.bind(this,function(q){elt=q.addItem("",Editor.alignLeftImage,mxUtils.bind(this,+function(k){b.cellEditor.alignText(mxConstants.ALIGN_LEFT,k);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_LEFT],"cells",[b.cellEditor.getEditingCell()]))}));elt.setAttribute("title",mxResources.get("left"));elt=q.addItem("",Editor.alignCenterImage,mxUtils.bind(this,function(k){b.cellEditor.alignText(mxConstants.ALIGN_CENTER,k);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_CENTER],+"cells",[b.cellEditor.getEditingCell()]))}));elt.setAttribute("title",mxResources.get("center"));elt=q.addItem("",Editor.alignRightImage,mxUtils.bind(this,function(k){b.cellEditor.alignText(mxConstants.ALIGN_RIGHT,k);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_RIGHT],"cells",[b.cellEditor.getEditingCell()]))}));elt.setAttribute("title",mxResources.get("right"));elt=q.addItem("",Editor.alignJustifyImage,mxUtils.bind(this,function(){document.execCommand("justifyfull",+!1,null)}));elt.setAttribute("title",mxResources.get("justifyfull"));elt=q.addItem("",Editor.orderedListImage,mxUtils.bind(this,function(){document.execCommand("insertorderedlist",!1,null)}));elt.setAttribute("title",mxResources.get("numberedList"));elt=q.addItem("",Editor.unorderedListImage,mxUtils.bind(this,function(){document.execCommand("insertunorderedlist",!1,null)}));elt.setAttribute("title",mxResources.get("bulletedList"));elt=q.addItem("",Editor.indentImage,mxUtils.bind(this,function(){document.execCommand("indent",+!1,null)}));elt.setAttribute("title",mxResources.get("increaseIndent"));elt=q.addItem("",Editor.outdentImage,mxUtils.bind(this,function(){document.execCommand("outdent",!1,null)}));elt.setAttribute("title",mxResources.get("decreaseIndent"))})),null,Editor.alignLeftImage).setAttribute("data-min-width",600);var d=this.addMenu(new Menu(mxUtils.bind(this,function(q){elt=q.addItem("",Editor.subscriptImage,this.editorUi.actions.get("subscript").funct);elt.setAttribute("title",mxResources.get("subscript")++" ("+Editor.ctrlKey+"+,)");elt=q.addItem("",Editor.superscriptImage,this.editorUi.actions.get("superscript").funct);elt.setAttribute("title",mxResources.get("superscript")+" ("+Editor.ctrlKey+"+.)");elt=q.addItem("",Editor.fontColorImage,this.editorUi.actions.get("fontColor").funct);elt.setAttribute("title",mxResources.get("fontColor"));elt=q.addItem("",Editor.backgroundColorImage,this.editorUi.actions.get("backgroundColor").funct);elt.setAttribute("title",mxResources.get("backgroundColor"));elt=+q.addItem("",Editor.removeFormatImage,mxUtils.bind(this,function(){document.execCommand("removeformat",!1,null)}));elt.setAttribute("title",mxResources.get("removeFormat"))})),null,Editor.textFormatImage);d.setAttribute("data-min-width",640);this.addSeparator(null,780);this.editorUi.addButton(Editor.codeImage,mxResources.get("html"),function(){b.cellEditor.toggleViewMode();0<b.cellEditor.textarea.innerHTML.length&&(" "!=b.cellEditor.textarea.innerHTML||!b.cellEditor.clearOnChange)&&window.setTimeout(function(){document.execCommand("selectAll",+!1,null)})},this.container).setAttribute("data-min-width",780);this.addSeparator(null,740);var h=this.addMenu(new Menu(mxUtils.bind(this,function(q){q.addItem(mxResources.get("insertLink"),null,mxUtils.bind(this,function(){this.editorUi.actions.get("link").funct()}));q.addItem(mxResources.get("insertImage"),null,mxUtils.bind(this,function(){this.editorUi.actions.get("image").funct()}));q.addItem(mxResources.get("insertHorizontalRule"),null,mxUtils.bind(this,function(){document.execCommand("inserthorizontalrule",+!1,null)}))})),null,Editor.plusImage);h.setAttribute("data-min-width",700);this.addSeparator(null,700);var l=this.addMenu(new Menu(mxUtils.bind(this,function(q){var k=b.getSelectedElement(),u=b.getParentByNames(k,["TD","TH"],b.cellEditor.text2),w=b.getParentByName(k,"TR",b.cellEditor.text2);if(null==w)this.editorUi.menus.addInsertTableItem(q);else{var y=b.getParentByName(w,"TABLE",b.cellEditor.text2);k=q.addItem("",Editor.addColumnLeftImage,mxUtils.bind(this,function(){try{b.selectNode(b.insertColumn(y,+null!=u?u.cellIndex:0))}catch(A){this.editorUi.handleError(A)}}));k.setAttribute("title",mxResources.get("insertColumnBefore"));k=q.addItem("",Editor.addColumnRightImage,mxUtils.bind(this,function(){try{b.selectNode(b.insertColumn(y,null!=u?u.cellIndex+1:-1))}catch(A){this.editorUi.handleError(A)}}));k.setAttribute("title",mxResources.get("insertColumnAfter"));k=q.addItem("Delete column",Editor.removeColumnImage,mxUtils.bind(this,function(){if(null!=u)try{b.deleteColumn(y,u.cellIndex)}catch(A){this.editorUi.handleError(A)}}));+k.setAttribute("title",mxResources.get("deleteColumn"));k=q.addItem("",Editor.addRowAboveImage,mxUtils.bind(this,function(){try{b.selectNode(b.insertRow(y,w.sectionRowIndex))}catch(A){this.editorUi.handleError(A)}}));k.setAttribute("title",mxResources.get("insertRowBefore"));k=q.addItem("",Editor.addRowBelowImage,mxUtils.bind(this,function(){try{b.selectNode(b.insertRow(y,w.sectionRowIndex+1))}catch(A){this.editorUi.handleError(A)}}));k.setAttribute("title",mxResources.get("insertRowAfter"));k=q.addItem("",+Editor.removeRowImage,mxUtils.bind(this,function(){try{b.deleteRow(y,w.sectionRowIndex)}catch(A){this.editorUi.handleError(A)}}));k.setAttribute("title",mxResources.get("deleteRow"));k=q.addItem("",Editor.strokeColorImage,mxUtils.bind(this,function(){var A=y.style.borderColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(F,D,G,H){return"#"+("0"+Number(D).toString(16)).substr(-2)+("0"+Number(G).toString(16)).substr(-2)+("0"+Number(H).toString(16)).substr(-2)});this.editorUi.pickColor(A,+function(F){null==F||F==mxConstants.NONE?(y.removeAttribute("border"),y.style.border="",y.style.borderCollapse=""):(y.setAttribute("border","1"),y.style.border="1px solid "+F,y.style.borderCollapse="collapse")})}));k.setAttribute("title",mxResources.get("borderColor"));k=q.addItem("",Editor.fillColorImage,mxUtils.bind(this,function(){var A=y.style.backgroundColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(F,D,G,H){return"#"+("0"+Number(D).toString(16)).substr(-2)+("0"+Number(G).toString(16)).substr(-2)++("0"+Number(H).toString(16)).substr(-2)});this.editorUi.pickColor(A,function(F){y.style.backgroundColor=null==F||F==mxConstants.NONE?"":F})}));k.setAttribute("title",mxResources.get("backgroundColor"));k=q.addItem("",Editor.spacingImage,mxUtils.bind(this,function(){var A=y.getAttribute("cellPadding")||0;A=new FilenameDialog(this.editorUi,A,mxResources.get("apply"),mxUtils.bind(this,function(F){null!=F&&0<F.length?y.setAttribute("cellPadding",F):y.removeAttribute("cellPadding")}),mxResources.get("spacing"));+this.editorUi.showDialog(A.container,300,80,!0,!0);A.init()}));k.setAttribute("title",mxResources.get("spacing"));k=q.addItem("",Editor.alignLeftImage,mxUtils.bind(this,function(){y.setAttribute("align","left")}));k.setAttribute("title",mxResources.get("left"));k=q.addItem("",Editor.alignCenterImage,mxUtils.bind(this,function(){y.setAttribute("align","center")}));k.setAttribute("title",mxResources.get("center"));k=q.addItem("",Editor.alignRightImage,mxUtils.bind(this,function(){y.setAttribute("align","right")}));k.setAttribute("title",mxResources.get("right"))}})),null,Editor.tableImage);l.setAttribute("data-min-width",740);this.editorUi.dependsOnLanguage(mxUtils.bind(this,function(){e.innerText=mxResources.get("style");d.setAttribute("title",mxResources.get("format"));e.setAttribute("title",mxResources.get("style"));f.setAttribute("title",mxResources.get("fontFamily"));g.setAttribute("title",mxResources.get("fontSize"));h.setAttribute("title",mxResources.get("insert"));l.setAttribute("title",mxResources.get("table"))}))};Toolbar.prototype.hideMenu=function(){this.editorUi.hideCurrentMenu()};Toolbar.prototype.setMenuText=function(a,b){a.getElementsByTagName("span")[0].innerText=b};Toolbar.prototype.setMenuIcon=function(a,b){a.style.backgroundImage="url("+b+")"};Toolbar.prototype.addMenu=function(a,b,e,f){var g=this.editorUi.createMenuElement("",a.funct);this.editorUi.menus.menuCreated(a,g,"geButton");null!=e?g.style.backgroundImage="url("+e+")":null!=b&&(a=document.createElement("span"),mxUtils.write(a,b),g.appendChild(a));f=null!=f?f:this.container;f.appendChild(g);return g};Toolbar.prototype.addSeparator=function(a,b){a=null!=a?a:this.container;var e=document.createElement("div");e.className="geSeparator";a.appendChild(e);null!=b&&e.setAttribute("data-min-width",b);return e};Toolbar.prototype.addItems=function(a,b,e,f,g){for(var d=[],h=0;h<a.length;h++){var l=a[h];"-"==l?d.push(this.addSeparator(b,g)):(l=this.addItem(null!=f?f[h]:null,l,b,e),null!=l&&(d.push(l),null!=g&&l.setAttribute("data-min-width",g)))}return d};Toolbar.prototype.addItem=function(a,b,e){var f=this.editorUi.actions.get(b),g=null;null!=f&&(g=this.editorUi.addButton(a,"",f.funct,null!=e?e:this.container),this.editorUi.dependsOnLanguage(mxUtils.bind(this,function(){var d=f.getTitle();null!=f.shortcut&&(d+=" ("+f.shortcut+")");g.setAttribute("title",d)})),a=mxUtils.bind(this,function(){f.enabled?g.removeAttribute("disabled"):g.setAttribute("disabled","disabled")}),f.addListener("stateChanged",a),a());return g};-Toolbar.prototype.destroy=function(){null!=this.gestureHandler&&(mxEvent.removeGestureListeners(document,this.gestureHandler),this.gestureHandler=null)};var OpenDialog=function(){var a=document.createElement("iframe");a.style.backgroundColor="transparent";a.allowTransparency="true";a.style.borderStyle="none";a.style.borderWidth="0px";a.style.overflow="hidden";a.style.maxWidth="100%";a.frameBorder="0";a.setAttribute("width",(Editor.useLocalStorage?640:320)+"px");a.setAttribute("height",(Editor.useLocalStorage?480:220)+"px");a.setAttribute("src",OPEN_FORM);this.container=a},ColorPicker=function(){function a(D,F,H){if(null==D)return[H,H,H];var M=Math.floor(D),-N=H*(1-F);D=H*(1-F*(M%2?D-M:1-(D-M)));switch(M){case 6:case 0:return[H,D,N];case 1:return[D,H,N];case 2:return[N,H,D];case 3:return[N,D,H];case 4:return[D,N,H];case 5:return[H,N,D]}}mxEventSource.call(this);var b=document.createElement("div");b.style.overflow="visible";b.style.position="relative";b.style.top="0px";b.style.left="0px";b.style.width="230px";b.style.height="114px";var e=document.createElement("div");e.style.border="1px solid light-dark(black, white)";e.style.backgroundImage="url("+this.hsImage++Toolbar.prototype.destroy=function(){null!=this.gestureHandler&&(mxEvent.removeGestureListeners(document,this.gestureHandler),this.gestureHandler=null)};var OpenDialog=function(){var a=document.createElement("iframe");a.style.backgroundColor="transparent";a.allowTransparency="true";a.style.borderStyle="none";a.style.borderWidth="0px";a.style.overflow="hidden";a.style.maxWidth="100%";a.frameBorder="0";a.setAttribute("width",(Editor.useLocalStorage?640:320)+"px");a.setAttribute("height",(Editor.useLocalStorage?480:220)+"px");a.setAttribute("src",OPEN_FORM);this.container=a},ColorPicker=function(){function a(D,G,H){if(null==D)return[H,H,H];var M=Math.floor(D),+N=H*(1-G);D=H*(1-G*(M%2?D-M:1-(D-M)));switch(M){case 6:case 0:return[H,D,N];case 1:return[D,H,N];case 2:return[N,H,D];case 3:return[N,D,H];case 4:return[D,N,H];case 5:return[H,N,D]}}mxEventSource.call(this);var b=document.createElement("div");b.style.overflow="visible";b.style.position="relative";b.style.top="0px";b.style.left="0px";b.style.width="230px";b.style.height="114px";var e=document.createElement("div");e.style.border="1px solid light-dark(black, white)";e.style.backgroundImage="url("+this.hsImage+")";e.style.position="absolute";e.style.overflow="hidden";e.style.cursor="crosshair";e.style.width="181px";e.style.height="101px";e.style.left="6px";e.style.top="4px";var f=document.createElement("div");f.style.background="url("+this.crossImage+")";f.style.pointerEvents="none";f.style.position="absolute";f.style.width="15px";f.style.height="15px";f.style.left="-8px";f.style.top="-8px";var g=[0,0,1],d=1;e.appendChild(f);b.appendChild(e);sliderBox=document.createElement("div");sliderBox.style.position=-"absolute";sliderBox.style.cursor="pointer";sliderBox.style.width="38px";sliderBox.style.height="110px";sliderBox.style.left="199px";sliderBox.style.top="4px";var h=document.createElement("div");h.style.border="1px solid light-dark(black, white)";h.style.pointerEvents="none";h.style.overflow="hidden";h.style.position="absolute";h.style.width="16px";h.style.height="101px";h.style.left="9px";h.style.top="0px";var l=!1,r=!1,k=mxUtils.bind(this,function(D){var F=Math.round(100*(1-g[1]));f.style.left=-Math.round(g[0]/6*180)-8+"px";f.style.top=F-8+"px";F=h.childNodes;var H=a(g[0],g[1],1);if(null!=H){for(var M=0;M<F.length;M++)F[M].style.backgroundColor="rgb("+H[0]*(1-M/F.length)*255+", "+H[1]*(1-M/F.length)*255+", "+H[2]*(1-M/F.length)*255+")";G.style.top=Math.round(100*(1-g[2]))-4+"px";F=a(g[0],g[1],g[2]);F="#"+("0"+Math.round(255*F[0]).toString(16)).slice(-2)+("0"+Math.round(255*F[1]).toString(16)).slice(-2)+("0"+Math.round(255*F[2]).toString(16)).slice(-2)+(1>d?("0"+Math.round(255*d).toString(16)).slice(-2):-"");1!=D&&this.fireEvent(new mxEventObject("change","color",mxUtils.rgba2hex(F)))}}),u=mxUtils.bind(this,function(D){0==g[2]&&(g[2]=1);l=!0;y(D)}),w=mxUtils.bind(this,function(D){r=!0;y(D)}),y=mxUtils.bind(this,function(D){if(l){var F=e.getBoundingClientRect(),H=mxEvent.getClientX(D)-F.left;D=mxEvent.getClientY(D)-F.top;f.style.left=H-8+"px";f.style.top=D-8+"px";H*=6/180;D=1-D/100;F=void 0;0>H&&(H=0);6<H&&(H=6);0>D&&(D=0);1<D&&(D=1);0>F&&(F=0);1<F&&(F=1);H=a(null==H?g[0]:g[0]=H,null==D?g[1]:g[1]=-D,null==F?g[2]:g[2]=F);this.fromString("#"+("0"+Math.floor(255*H[0]).toString(16)).slice(-2)+("0"+Math.floor(255*H[1]).toString(16)).slice(-2)+("0"+Math.floor(255*H[2]).toString(16)).slice(-2)+(1>d?("0"+Math.round(255*d).toString(16)).slice(-2):""))}else r&&(F=sliderBox.getBoundingClientRect(),D=mxEvent.getClientY(D)-F.top,g[2]=Math.max(Math.min(1,1-D/100),0),k())}),A=mxUtils.bind(this,function(){l=r=!1});mxEvent.addGestureListeners(e,u);mxEvent.addGestureListeners(sliderBox,w);mxEvent.addGestureListeners(b,-null,y,A);mxEvent.addListener(b,"mouseleave",A);for(u=0;101>u;u+=4)w=document.createElement("div"),w.style.height="4px",w.style.pointerEvents="none",h.appendChild(w);b.appendChild(h);var G=document.createElement("div");G.style.background="url("+this.arrowImage+")";G.style.position="absolute";G.style.pointerEvents="none";G.style.width="7px";G.style.height="11px";G.style.left="2px";G.style.top="-3px";sliderBox.appendChild(G);sliderBox.appendChild(h);b.appendChild(sliderBox);this.fromString=function(D,-F){F=null!=F?F:!1;if(null==D||""==D||mxUtils.isVarColor(D)||D==mxConstants.NONE)D="#ffffff",F=!0;D=mxUtils.parseColor(D);var H=D.r/255,M=D.g/255,N=D.b/255,K=Math.min(Math.min(H,M),N);var T=Math.max(Math.max(H,M),N);var W=T-K;0===W?T=[null,0,T]:(H=H===K?3+(N-M)/W:M===K?5+(H-N)/W:1+(M-H)/W,T=[6===H?0:H,W/T,T]);null!=T[0]&&(g[0]=T[0]);0!=T[2]&&(g[1]=T[1]);g[2]=T[2];d=D.a;k(F)};this.fromString("#ffffff");this.div=b};mxUtils.extend(ColorPicker,mxEventSource);ColorPicker.prototype.hsImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALUAAABlCAIAAACEDzXRAAAKQ0lEQVR42u2d23IjKwxFBeRh5v8/9uQlzXlI2gGELoCEm6pxubp6PI69WoV3C20uIQPAH4A/AH/p41/pDcTxP4BPGDtq3vYJGPpv8craeRdo/fyTI8ZhHnodOGgcV/3rnx8QI0SABO2xfAbiCfVR8Wj+CD8jenbRJNyGOxLoAaH1iLu4EUEHAv1+MsQ4zLE4AiIOcpibv4u9OET6+cP4ASnJ1JH4/G60A9km+GbBxLlpKAkADoR2JnaBrvWD/x1GCZn9EYLEHqVfI6Efx0D7E9tDF/rBSJ54l8FqTUse0J+EvxPrdK0fD4aOLXQi7zyGxMaRvvWjjH2U8o9I44OKnf+wyCpHoR/Phk6d/COq8481YrNI3/qR2B+kMl1Fl6J8o/JrU/GEA6HdiB2ha/0YBVx7rFwNHAj9JuIl6EI/qKyJug4Yvg7xA0QEpB8nQe8itoQu9EOT8M3mTsqUSUzykH6cBO1PbA9d91+ShDzV9xrtcgW21IT6L0yfcS90FKCdw+wS6Q9ISWjVfLTVVT2mdiPGGRduFKWm7dBStWlLmI0j/QExdgp7gT5qCu2BLKiLqtc94hI7PB8auQP4KuyIvSJ960fUqXWcd2F48Khr1bHSj2dDp/afmg7tMrFxpG/9mHMFuqrH3spFw0s0Bgr9OAzamdgFutaPpMuqo6WVEXWJdSL14xhof2J76MKfS2yXWGOVB1WXXGOVdxFSx587CXoLsTE0689RH7VW4RMLeKI9wPpzz4XeS2wDzdbXR52AWStjwiSAA6HdiB2h1f6cqT0whzzuzz0LejuxATTy90Xt40v7CzdGRvKS4O/zQ0AiXaRW5x/dv4vS4A/a308LYR5pFquRRvlHIrKWoCj5woCVId4eR/KPNDjURg2tdEC7rSQN5B9DYR70X5YivVxft7AyrOvrD4V2JnaBJurr+qpemLEywlRhT6qvPx16C7ExdK0fSjcj0maAzsqgBt7rfIxGP46B9iT2gi70I842bNj0U4wd/WAG/L5VP3p0W4iNoYv6Oh6eoJmSMW5laIzF8iT1TtgeV9RZoZ7QvdEUzsQu0CP+HOMKDFoZvDFg6s89CNqf2B5a4e8Hts84W0pgeohBtspBXYp8H3Tk/H23MBtHuvbn5mp7dlU9TUkP+XNJMabzHdCIbnuYDSItzZ+bdgUWrAwNPhwInRxw1/wXuYGj+4vo7flboRpjEQ6EjgojYK9/K04NFfNTauEBypXQWQLAfqQoHl9CfvpQ6C3ExtC9/q2YW2u6X1JWzfsYFPKX3L99LrQ/sT10XR+jKh+UN2AxlDOyXfLQaxxf/fkvT4d2JnaBZv258M6h4IFu2Em7/sezoLcQG0Mjfy6xrqLnVBLGWHw1i69WP5LCCn0TNEL3DLNXpCV/n5oo5jAVLY5Em6i8Pwm6uSNuCrNxpNX+nDira20qqyZriv384xhoZ2IX6Lr/wg8eiwpXYGQqPEgjsBrX+er3X46B9ie2h6bX/4i6IfcLS2mIY++7TfoCuLj6hwgN89CwBJ3Gx8rOVsn0kQ48tDS/4X1L8SzMb3BbkGdtwsD05AbP9YOU8xui+uljZei/P/3qx2HQbsSO0Ar/lveHLZYCVK4GeN1P5N+eAb2R2Aya9ueUY+8dlhLtdhWvgfEfz4AeGf9hR2wcaeTPpacvRdzLTx8J/Qq1Ij995PrJ3/mp0p8LO5YyF0s215g/9yxoZ2IXaLo+FiwtgTlvIAznp4+G3khsBk3Pf5mYvqOwMqZnNnw3i9cRDoT2JPaCZuvreskDuXkHxfQMvfbBgdBbiI2hC/3QLCg6lESZZkrfJ7nSj3gWNEMcRkYJsf5L0BXENBl1WV8/aquMLM9/eSJ0UtxZmFGGg4MigZ75ovHnvsOcUX09zRbzjCrU/K/Rev0gT2i2vu4cZrNI1+sH2e49Yb3lRC6e9fSS9ETohjj7hdkx0rQ/57/rxIrhBQdCv494Hlrtz1lo30Qjz1z+cRh02ndTNIMm1j8NxtmePs+76i+/esJHrH/6dGh/YntoRf9l2RtQWgJXzY4bdtbqx0OhnYldoHv7I79jf4+rOGGaRWr14yToLcTG0Ky/v32rjAsdX9S5vgI4ENqT2Asa7Z/9vq0yStiGNNVHkOe/RGmqwBQ0jEDHFpoJ85BLN+jPaRoHGWl2/2yx3msxVRHjZ0Td4GfV/Bf9bCM1dBiBfrHeJ1HR6dKEedDf5yPdBLilp/efC3Ribb1VxlUHGQe8iTb0598+Hdqf2B6a3b9SOerezsoIBWaJ3IBn1fp0j4PeQmwMzc5/idLK3UZWRkmKX2zA4Vc/DoPeSGwGrdvfY24RpKmVjrLuCQdCuxE7Qkv64TZ3Z44dVPrxUOh3EK9C1/lHGpz7ZzpVsYTF7K8Hyj+Ogd5FbAk9uL9H9LIyYg821sjo13gYtD+xPbRU/9Ds/b1sZTTIr5OStMGHA6GdiV2gUf2UmQcfJdUbXOoe6HoN1A0b2uQD4EBosXJqQTwKnXvXAEX+oZlfGaS9ewetDGCLeV1exH4e9Mr+2TDpv2iggYFW+LdBsTbngv/yUroGH0jleEX7MOgtxMbQ7PzKoMuajKyM8pYIiB194HnQzsQu0Gp/LvpulVHylsgK/TgG2p/YHrqXf6T3bJUBhfxFWUDPg95CbAytm/+ycasM9WOxWu0PnTniLWE2iLRi/4Z3bJXRvY76s0+Arl93I3aMNOHPBce2PdSkL7Kpnwe9l9gGutCPoFgkUtytXAGbex0vKCznSOs00o+ToLcQG0N/QErCrG6jrTIynVUDwo896vCzssPrNnAYtD+xPfR9fwmKeu/CVhm5OAn1STPkvhxBW1KXjeP60Y/DoJ2JXaAL/RCPy+PXc80L9d7OV294dVPbC/fb4EDoLcTG0IV+TCDrrIxMHIFg512BWj9OgvYk9oK+9SMoZG55q/JMiGS40/sLjacu28T3MVfd0Aha+u3QJXr+0Q//MBtHutaPQOzh3H0RBoZS5OJ/MjqJ9x2vQb7qgSuvX0StH0+FLptzrvTDh9gl0oV+iAbi2lAsqNmbK3yBAyLNdbRzW8Y6Btqf2B76A2IURE2zZY16KGfZlwqofJSL4feABka+xCNX+ekx0LuILaFr/Zit7s4ZA7y5Qg2sDr/t4zDodxCvQt/6occctDKGriMPzH85D9qN2BG61g/QwcLSVDSGl78C6LePY6A3EptBf0BKcjWWH/GqyJqoxKnMufEVBLJxAJwJ7U9sDH3fX0CxnIB4orMyuilTyRh6g+0bfDgQ2p/YHrrQD+jV6qb/SdRrMit8TRWwyEabxgFwJrQnsQt0rR+LR3VqFNiGHRBv73ge9EZiM+haPyicuRcVmIxzAMTMl9wfi3sGtBuxF3ShH92C29yJTteU+ohbRrZk3Qe9hdgY+tYPnOqanA+mTN33ZGKE06HQbsQu0LV+MF8+94rU5dK8B8/KyJaI+6D9ie2hC/3Q12QnSnYLn5p9P/6d0D7EltAh5wz/Hv8exON/LUjHOuz5CksAAAAASUVORK5CYII=";+"absolute";sliderBox.style.cursor="pointer";sliderBox.style.width="38px";sliderBox.style.height="110px";sliderBox.style.left="199px";sliderBox.style.top="4px";var h=document.createElement("div");h.style.border="1px solid light-dark(black, white)";h.style.pointerEvents="none";h.style.overflow="hidden";h.style.position="absolute";h.style.width="16px";h.style.height="101px";h.style.left="9px";h.style.top="0px";var l=!1,q=!1,k=mxUtils.bind(this,function(D){var G=Math.round(100*(1-g[1]));f.style.left=+Math.round(g[0]/6*180)-8+"px";f.style.top=G-8+"px";G=h.childNodes;var H=a(g[0],g[1],1);if(null!=H){for(var M=0;M<G.length;M++)G[M].style.backgroundColor="rgb("+H[0]*(1-M/G.length)*255+", "+H[1]*(1-M/G.length)*255+", "+H[2]*(1-M/G.length)*255+")";F.style.top=Math.round(100*(1-g[2]))-4+"px";G=a(g[0],g[1],g[2]);G="#"+("0"+Math.round(255*G[0]).toString(16)).slice(-2)+("0"+Math.round(255*G[1]).toString(16)).slice(-2)+("0"+Math.round(255*G[2]).toString(16)).slice(-2)+(1>d?("0"+Math.round(255*d).toString(16)).slice(-2):+"");1!=D&&this.fireEvent(new mxEventObject("change","color",mxUtils.rgba2hex(G)))}}),u=mxUtils.bind(this,function(D){0==g[2]&&(g[2]=1);l=!0;y(D)}),w=mxUtils.bind(this,function(D){q=!0;y(D)}),y=mxUtils.bind(this,function(D){if(l){var G=e.getBoundingClientRect(),H=mxEvent.getClientX(D)-G.left;D=mxEvent.getClientY(D)-G.top;f.style.left=H-8+"px";f.style.top=D-8+"px";H*=6/180;D=1-D/100;G=void 0;0>H&&(H=0);6<H&&(H=6);0>D&&(D=0);1<D&&(D=1);0>G&&(G=0);1<G&&(G=1);H=a(null==H?g[0]:g[0]=H,null==D?g[1]:g[1]=+D,null==G?g[2]:g[2]=G);this.fromString("#"+("0"+Math.floor(255*H[0]).toString(16)).slice(-2)+("0"+Math.floor(255*H[1]).toString(16)).slice(-2)+("0"+Math.floor(255*H[2]).toString(16)).slice(-2)+(1>d?("0"+Math.round(255*d).toString(16)).slice(-2):""))}else q&&(G=sliderBox.getBoundingClientRect(),D=mxEvent.getClientY(D)-G.top,g[2]=Math.max(Math.min(1,1-D/100),0),k())}),A=mxUtils.bind(this,function(){l=q=!1});mxEvent.addGestureListeners(e,u);mxEvent.addGestureListeners(sliderBox,w);mxEvent.addGestureListeners(b,+null,y,A);mxEvent.addListener(b,"mouseleave",A);for(u=0;101>u;u+=4)w=document.createElement("div"),w.style.height="4px",w.style.pointerEvents="none",h.appendChild(w);b.appendChild(h);var F=document.createElement("div");F.style.background="url("+this.arrowImage+")";F.style.position="absolute";F.style.pointerEvents="none";F.style.width="7px";F.style.height="11px";F.style.left="2px";F.style.top="-3px";sliderBox.appendChild(F);sliderBox.appendChild(h);b.appendChild(sliderBox);this.fromString=function(D,+G){G=null!=G?G:!1;if(null==D||""==D||mxUtils.isVarColor(D)||D==mxConstants.NONE)D="#ffffff",G=!0;D=mxUtils.parseColor(D);var H=D.r/255,M=D.g/255,N=D.b/255,K=Math.min(Math.min(H,M),N);var T=Math.max(Math.max(H,M),N);var W=T-K;0===W?T=[null,0,T]:(H=H===K?3+(N-M)/W:M===K?5+(H-N)/W:1+(M-H)/W,T=[6===H?0:H,W/T,T]);null!=T[0]&&(g[0]=T[0]);0!=T[2]&&(g[1]=T[1]);g[2]=T[2];d=D.a;k(G)};this.fromString("#ffffff");this.div=b};mxUtils.extend(ColorPicker,mxEventSource);ColorPicker.prototype.hsImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALUAAABlCAIAAACEDzXRAAAKQ0lEQVR42u2d23IjKwxFBeRh5v8/9uQlzXlI2gGELoCEm6pxubp6PI69WoV3C20uIQPAH4A/AH/p41/pDcTxP4BPGDtq3vYJGPpv8craeRdo/fyTI8ZhHnodOGgcV/3rnx8QI0SABO2xfAbiCfVR8Wj+CD8jenbRJNyGOxLoAaH1iLu4EUEHAv1+MsQ4zLE4AiIOcpibv4u9OET6+cP4ASnJ1JH4/G60A9km+GbBxLlpKAkADoR2JnaBrvWD/x1GCZn9EYLEHqVfI6Efx0D7E9tDF/rBSJ54l8FqTUse0J+EvxPrdK0fD4aOLXQi7zyGxMaRvvWjjH2U8o9I44OKnf+wyCpHoR/Phk6d/COq8481YrNI3/qR2B+kMl1Fl6J8o/JrU/GEA6HdiB2ha/0YBVx7rFwNHAj9JuIl6EI/qKyJug4Yvg7xA0QEpB8nQe8itoQu9EOT8M3mTsqUSUzykH6cBO1PbA9d91+ShDzV9xrtcgW21IT6L0yfcS90FKCdw+wS6Q9ISWjVfLTVVT2mdiPGGRduFKWm7dBStWlLmI0j/QExdgp7gT5qCu2BLKiLqtc94hI7PB8auQP4KuyIvSJ960fUqXWcd2F48Khr1bHSj2dDp/afmg7tMrFxpG/9mHMFuqrH3spFw0s0Bgr9OAzamdgFutaPpMuqo6WVEXWJdSL14xhof2J76MKfS2yXWGOVB1WXXGOVdxFSx587CXoLsTE0689RH7VW4RMLeKI9wPpzz4XeS2wDzdbXR52AWStjwiSAA6HdiB2h1f6cqT0whzzuzz0LejuxATTy90Xt40v7CzdGRvKS4O/zQ0AiXaRW5x/dv4vS4A/a308LYR5pFquRRvlHIrKWoCj5woCVId4eR/KPNDjURg2tdEC7rSQN5B9DYR70X5YivVxft7AyrOvrD4V2JnaBJurr+qpemLEywlRhT6qvPx16C7ExdK0fSjcj0maAzsqgBt7rfIxGP46B9iT2gi70I842bNj0U4wd/WAG/L5VP3p0W4iNoYv6Oh6eoJmSMW5laIzF8iT1TtgeV9RZoZ7QvdEUzsQu0CP+HOMKDFoZvDFg6s89CNqf2B5a4e8Hts84W0pgeohBtspBXYp8H3Tk/H23MBtHuvbn5mp7dlU9TUkP+XNJMabzHdCIbnuYDSItzZ+bdgUWrAwNPhwInRxw1/wXuYGj+4vo7flboRpjEQ6EjgojYK9/K04NFfNTauEBypXQWQLAfqQoHl9CfvpQ6C3ExtC9/q2YW2u6X1JWzfsYFPKX3L99LrQ/sT10XR+jKh+UN2AxlDOyXfLQaxxf/fkvT4d2JnaBZv258M6h4IFu2Em7/sezoLcQG0Mjfy6xrqLnVBLGWHw1i69WP5LCCn0TNEL3DLNXpCV/n5oo5jAVLY5Em6i8Pwm6uSNuCrNxpNX+nDira20qqyZriv384xhoZ2IX6Lr/wg8eiwpXYGQqPEgjsBrX+er3X46B9ie2h6bX/4i6IfcLS2mIY++7TfoCuLj6hwgN89CwBJ3Gx8rOVsn0kQ48tDS/4X1L8SzMb3BbkGdtwsD05AbP9YOU8xui+uljZei/P/3qx2HQbsSO0Ar/lveHLZYCVK4GeN1P5N+eAb2R2Aya9ueUY+8dlhLtdhWvgfEfz4AeGf9hR2wcaeTPpacvRdzLTx8J/Qq1Ij995PrJ3/mp0p8LO5YyF0s215g/9yxoZ2IXaLo+FiwtgTlvIAznp4+G3khsBk3Pf5mYvqOwMqZnNnw3i9cRDoT2JPaCZuvreskDuXkHxfQMvfbBgdBbiI2hC/3QLCg6lESZZkrfJ7nSj3gWNEMcRkYJsf5L0BXENBl1WV8/aquMLM9/eSJ0UtxZmFGGg4MigZ75ovHnvsOcUX09zRbzjCrU/K/Rev0gT2i2vu4cZrNI1+sH2e49Yb3lRC6e9fSS9ETohjj7hdkx0rQ/57/rxIrhBQdCv494Hlrtz1lo30Qjz1z+cRh02ndTNIMm1j8NxtmePs+76i+/esJHrH/6dGh/YntoRf9l2RtQWgJXzY4bdtbqx0OhnYldoHv7I79jf4+rOGGaRWr14yToLcTG0Ky/v32rjAsdX9S5vgI4ENqT2Asa7Z/9vq0yStiGNNVHkOe/RGmqwBQ0jEDHFpoJ85BLN+jPaRoHGWl2/2yx3msxVRHjZ0Td4GfV/Bf9bCM1dBiBfrHeJ1HR6dKEedDf5yPdBLilp/efC3Ribb1VxlUHGQe8iTb0598+Hdqf2B6a3b9SOerezsoIBWaJ3IBn1fp0j4PeQmwMzc5/idLK3UZWRkmKX2zA4Vc/DoPeSGwGrdvfY24RpKmVjrLuCQdCuxE7Qkv64TZ3Z44dVPrxUOh3EK9C1/lHGpz7ZzpVsYTF7K8Hyj+Ogd5FbAk9uL9H9LIyYg821sjo13gYtD+xPbRU/9Ds/b1sZTTIr5OStMGHA6GdiV2gUf2UmQcfJdUbXOoe6HoN1A0b2uQD4EBosXJqQTwKnXvXAEX+oZlfGaS9ewetDGCLeV1exH4e9Mr+2TDpv2iggYFW+LdBsTbngv/yUroGH0jleEX7MOgtxMbQ7PzKoMuajKyM8pYIiB194HnQzsQu0Gp/LvpulVHylsgK/TgG2p/YHrqXf6T3bJUBhfxFWUDPg95CbAytm/+ycasM9WOxWu0PnTniLWE2iLRi/4Z3bJXRvY76s0+Arl93I3aMNOHPBce2PdSkL7Kpnwe9l9gGutCPoFgkUtytXAGbex0vKCznSOs00o+ToLcQG0N/QErCrG6jrTIynVUDwo896vCzssPrNnAYtD+xPfR9fwmKeu/CVhm5OAn1STPkvhxBW1KXjeP60Y/DoJ2JXaAL/RCPy+PXc80L9d7OV294dVPbC/fb4EDoLcTG0IV+TCDrrIxMHIFg512BWj9OgvYk9oK+9SMoZG55q/JMiGS40/sLjacu28T3MVfd0Aha+u3QJXr+0Q//MBtHutaPQOzh3H0RBoZS5OJ/MjqJ9x2vQb7qgSuvX0StH0+FLptzrvTDh9gl0oV+iAbi2lAsqNmbK3yBAyLNdbRzW8Y6Btqf2B76A2IURE2zZY16KGfZlwqofJSL4feABka+xCNX+ekx0LuILaFr/Zit7s4ZA7y5Qg2sDr/t4zDodxCvQt/6occctDKGriMPzH85D9qN2BG61g/QwcLSVDSGl78C6LePY6A3EptBf0BKcjWWH/GqyJqoxKnMufEVBLJxAJwJ7U9sDH3fX0CxnIB4orMyuilTyRh6g+0bfDgQ2p/YHrrQD+jV6qb/SdRrMit8TRWwyEabxgFwJrQnsQt0rR+LR3VqFNiGHRBv73ge9EZiM+haPyicuRcVmIxzAMTMl9wfi3sGtBuxF3ShH92C29yJTteU+ohbRrZk3Qe9hdgY+tYPnOqanA+mTN33ZGKE06HQbsQu0LV+MF8+94rU5dK8B8/KyJaI+6D9ie2hC/3Q12QnSnYLn5p9P/6d0D7EltAh5wz/Hv8exON/LUjHOuz5CksAAAAASUVORK5CYII=";ColorPicker.prototype.crossImage="data:image/gif;base64,R0lGODlhDwAPAKEBAAAAAP///////////yH5BAEKAAIALAAAAAAPAA8AAAIklB8Qx53b4otSUWcvyiz4/4AeQJbmKY4p1HHapBlwPL/uVRsFADs=";ColorPicker.prototype.arrowImage="data:image/gif;base64,R0lGODlhBwALAKECAAAAAP///6g8eKg8eCH5BAEKAAIALAAAAAAHAAsAAAITTIQYcLnsgGxvijrxqdQq6DRJAQA7";-var ColorDialog=function(a,b,e,f,g,d,h){function l(ia){return mxUtils.color2hex("#"+ia).substring(1).toUpperCase()}function r(){X.src="none"==Z.style.display?Editor.arrowRightImage:Editor.arrowDownImage}function k(ia,O){ia||"none"==Z.style.display?(Z.style.display="flex",!1!==O&&V.focus()):Z.style.display="none";r()}function u(ia){""==ia.value&&null!=N&&T?ia.style.background=ia==V?N.dark:N.light:""==ia.value||ia.value==mxConstants.NONE||mxUtils.isVarColor(ia.value)?ia.style.background="transparent":+var ColorDialog=function(a,b,e,f,g,d,h){function l(ia){return mxUtils.color2hex("#"+ia).substring(1).toUpperCase()}function q(){X.src="none"==Z.style.display?Editor.arrowRightImage:Editor.arrowDownImage}function k(ia,O){ia||"none"==Z.style.display?(Z.style.display="flex",!1!==O&&V.focus()):Z.style.display="none";q()}function u(ia){""==ia.value&&null!=N&&T?ia.style.background=ia==V?N.dark:N.light:""==ia.value||ia.value==mxConstants.NONE||mxUtils.isVarColor(ia.value)?ia.style.background="transparent":ia.style.background="#"+ia.value;ia.style.color="transparent"==ia.style.background?"light-dark(#000000, #ffffff)":mxUtils.isDarkColor(ia.style.background)?"#ffffff":"#000000"}function w(){u(W);u(V)}function y(ia){T!=ia&&(ia?h&&null!=N?(W.value=N.light.substring(1).toUpperCase(),ia=!1):(W.value="",V.value="",fa.value="automatic",W.setAttribute("placeholder",mxResources.get("useBlackAndWhite")),V.setAttribute("title",mxResources.get("useBlackAndWhite")),W.setAttribute("title",mxResources.get("useBlackAndWhite"))):(""==W.value&&null!=N&&(W.value=N.light.substring(1).toUpperCase()),W.removeAttribute("placeholder"),W.removeAttribute("title"),""==V.value&&null!=N&&(V.style.background=N.dark,ia=mxUtils.getCurrentStyle(V),V.value=mxUtils.rgba2hex(ia.backgroundColor).substring(1).toUpperCase()),V.removeAttribute("placeholder"),V.removeAttribute("title"),ia=!1));T=ia}function A(ia){"#"==ia.value.charAt(0)&&(ia.value=ia.value.substring(1));var O=ia.value,qa=O.toLowerCase();null==g||""!=O&&"automatic"!=qa&&"default"!=qa&&qa!=mxResources.get("default").toLowerCase()&&qa!=mxResources.get("automatic").toLowerCase()||null==N?(ia.value==mxConstants.NONE||mxUtils.isVarColor(ia.value)||(ia.value=l(ia.value),ha.fromString("#"+ia.value)),y(!1),ia!=V||W.value==mxConstants.NONE&&V.value==mxConstants.NONE||(fa.value="custom"),ia==W&&"automatic"==fa.value&&(W.value==mxConstants.NONE?V.value=mxConstants.NONE:mxUtils.isVarColor(W.value)?V.value=W.value:V.value=mxUtils.rgba2hex(mxUtils.getInverseColor("#"+ia.value)).substring(1).toUpperCase()),-w()):U.click()}function G(){var ia=W.value,O=V.value;if(T&&null!=N||(/(^#?[a-zA-Z0-9]*$)/.test(ia)||mxUtils.isVarColor(ia))&&(/(^#?[a-zA-Z0-9]*$)/.test(O)||mxUtils.isVarColor(O))){if(T)ia="default";else if(""==ia&&(ia=mxConstants.NONE),""==O&&(O=mxConstants.NONE),ia==mxConstants.NONE||mxUtils.isVarColor(ia)||"#"==ia.charAt(0)||(ia="#"+l(ia)),O==mxConstants.NONE||mxUtils.isVarColor(O)||"#"==O.charAt(0)||(O="#"+l(O)),ia!=mxConstants.NONE&&O!=mxConstants.NONE||ColorDialog.addRecentColor(mxConstants.NONE,+w()):U.click()}function F(){var ia=W.value,O=V.value;if(T&&null!=N||(/(^#?[a-zA-Z0-9]*$)/.test(ia)||mxUtils.isVarColor(ia))&&(/(^#?[a-zA-Z0-9]*$)/.test(O)||mxUtils.isVarColor(O))){if(T)ia="default";else if(""==ia&&(ia=mxConstants.NONE),""==O&&(O=mxConstants.NONE),ia==mxConstants.NONE||mxUtils.isVarColor(ia)||"#"==ia.charAt(0)||(ia="#"+l(ia)),O==mxConstants.NONE||mxUtils.isVarColor(O)||"#"==O.charAt(0)||(O="#"+l(O)),ia!=mxConstants.NONE&&O!=mxConstants.NONE||ColorDialog.addRecentColor(mxConstants.NONE,12),"automatic"!=fa.value&&O!=mxConstants.NONE?ia==mxConstants.NONE?ColorDialog.addRecentColor(O.substring(1),12):ColorDialog.addRecentColor("light-dark("+ia+","+O+")",12):ia!=mxConstants.NONE&&ColorDialog.addRecentColor(ia.substring(1),12),"none"!=ia||"none"!=O)ia=ia==mxConstants.NONE?"transparent":ia,O=O==mxConstants.NONE?"transparent":O,h||"automatic"==fa.value||(ia="light-dark("+ia+","+O+")");aa(ia);a.hideDialog()}else a.handleError({message:mxResources.get("invalidInput")})}function D(){mxClient.IS_TOUCH||-window.setTimeout(function(){ma.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?ma.select():document.execCommand("selectAll",!1,null)},0)}function F(){ma.value!=mxConstants.NONE&&""!=ma.value&&ha.fromString("#"+ma.value,!0)}function H(){var ia=ca(0==ColorDialog.recentColors.length?["FFFFFF"]:ColorDialog.recentColors,11,"FFFFFF",!0);ia.style.marginBottom="8px";return ia}function M(ia){13==ia.keyCode&&(A(mxEvent.getSource(ia)),G())}var N=null!=d?mxUtils.getLightDarkColor(d,null,null,+window.setTimeout(function(){ma.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?ma.select():document.execCommand("selectAll",!1,null)},0)}function G(){ma.value!=mxConstants.NONE&&""!=ma.value&&ha.fromString("#"+ma.value,!0)}function H(){var ia=ca(0==ColorDialog.recentColors.length?["FFFFFF"]:ColorDialog.recentColors,11,"FFFFFF",!0);ia.style.marginBottom="8px";return ia}function M(ia){13==ia.keyCode&&(A(mxEvent.getSource(ia)),F())}var N=null!=d?mxUtils.getLightDarkColor(d,null,null,h):null,K=a.editor.graph;this.editorUi=a;var T=!1;"default"==b||"transparent"==b||b==mxConstants.NONE||mxUtils.isVarColor(b)||mxUtils.isHexColor(b)||mxUtils.isRgbColor(b)||mxUtils.isLightDarkColor(b)||(b=mxUtils.color2hex(b));var W=document.createElement("input");W.style.textOverflow="ellipsis";W.style.margin="0 0 0 4px";W.style.width="100%";d=document.createElement("div");d.style.padding="0 4px";var S=document.createElement("div");S.style.display="flex";S.style.alignItems="center";d.appendChild(S);var V=document.createElement("input");V.style.textOverflow="ellipsis";V.style.margin="0 4px";V.style.maxWidth="70px";V.style.width="100%";var fa=document.createElement("select");fa.style.textOverflow="ellipsis";fa.style.width="100%";var P=document.createElement("option");P.setAttribute("value","automatic");mxUtils.write(P,mxResources.get("automatic"));fa.appendChild(P);P=document.createElement("option");P.setAttribute("value","custom");mxUtils.write(P,mxResources.get("userDefined"));fa.appendChild(P);fa.value=mxUtils.isLightDarkColor(b)?"custom":"automatic";var Z=document.createElement("div");Z.style.padding="0 6px 0 6px";P=document.createElement("img");P.setAttribute("title",mxResources.get("dark"));P.className="geAdaptiveAsset";P.src=Editor.thinDarkImage;P.style.width="20px";Z.appendChild(P);mxEvent.addListener(P,"click",function(){V.focus()});Z.appendChild(V);Z.appendChild(fa);Z.style.display="flex";Z.style.alignItems="center";P=document.createElement("div");P.style.display="flex";P.style.alignItems="center";P.style.userSelect="none";P.style.cursor="pointer";P.style.padding="2px 0 2px 0";var X=document.createElement("img");X.setAttribute("title",mxResources.get("dark"));X.className="geAdaptiveAsset";X.style.marginLeft="-2px";P.appendChild(X);mxUtils.write(P,mxResources.get("advanced"));var ba=document.createElement("img");ba.setAttribute("title",mxResources.get("swap"));ba.className="geAdaptiveAsset";ba.style.marginLeft="6px";ba.style.width="16px";ba.style.height="16px";ba.style.cursor="pointer";ba.src=Editor.swapImage;mxEvent.addListener(ba,"click",function(ia){k(!0,!1);fa.value="custom";y(!1);var O=W.value;W.value=V.value;V.value=O;w();ma.focus();mxEvent.consume(ia)});P.appendChild(ba);var L=ba.cloneNode();L.setAttribute("title",mxResources.get("copy"));L.style.marginLeft="2px";L.src=Editor.doubleArrowUpImage;mxEvent.addListener(L,"click",function(ia){k(!0,!1);fa.value="custom";y(!1);ma==V?W.value=V.value:V.value=W.value;w();ma.focus();mxEvent.consume(ia)});P.appendChild(L);ba=L.cloneNode();ba.setAttribute("title",mxResources.get("opacity"));ba.src=Editor.opacityImage;mxEvent.addListener(ba,"click",function(ia){var O=mxUtils.parseColor("#"+ma.value);O=String(Math.floor(Math.max(0,Math.min(100*O.a,100))));a.prompt(mxResources.get("opacity")+" (0-100)",O,function(qa){!isNaN(qa)&&""!==qa&&0<=qa&&100>=qa&&(y(!1),W.value=mxUtils.rgba2hex(mxUtils.addAlphaToColor("#"+W.value,qa/100,!0)).substring(1).toUpperCase(),V.value=mxUtils.rgba2hex(mxUtils.addAlphaToColor("#"+V.value,qa/100,!0)).substring(1).toUpperCase(),-w(),ma.focus())});mxEvent.consume(ia)});P.appendChild(ba);r();mxEvent.addListener(P,"click",function(){k();r();ColorDialog.collapsed="none"==Z.style.display});var U=mxUtils.button("",function(){y(!0);w();ma.focus();""==ma.value&&null!=N&&T&&ha.fromString(ma==V?N.dark:N.light,!0)});mxEvent.addListener(fa,"change",function(ia){"automatic"==fa.value?(W.focus(),A(W)):(y(!1),V.focus(),D());w();mxEvent.consume(ia)});mxEvent.addListener(W,"change",function(){A(W)});mxEvent.addListener(V,"change",function(){A(V)});-var aa=null!=e?e:this.createApplyFunction();this.init=function(){D()};var ha=new ColorPicker,ma=Editor.isDarkMode()&&("auto"==K.getAdaptiveColors()||"simple"==K.getAdaptiveColors()&&"custom"==fa.value)&&!h?V:W;mxEvent.addListener(W,"focus",function(){ma=W;F();L.src=Editor.doubleArrowDownImage});mxEvent.addListener(V,"focus",function(){ma=V;F();L.src=Editor.doubleArrowUpImage});ha.addListener("change",function(ia,O){ia=O.getProperty("color").substring(1).toUpperCase();ma.value.toUpperCase()!=ia&&(ma.value=+w(),ma.focus())});mxEvent.consume(ia)});P.appendChild(ba);q();mxEvent.addListener(P,"click",function(){k();q();ColorDialog.collapsed="none"==Z.style.display});var U=mxUtils.button("",function(){y(!0);w();ma.focus();""==ma.value&&null!=N&&T&&ha.fromString(ma==V?N.dark:N.light,!0)});mxEvent.addListener(fa,"change",function(ia){"automatic"==fa.value?(W.focus(),A(W)):(y(!1),V.focus(),D());w();mxEvent.consume(ia)});mxEvent.addListener(W,"change",function(){A(W)});mxEvent.addListener(V,"change",function(){A(V)});+var aa=null!=e?e:this.createApplyFunction();this.init=function(){D()};var ha=new ColorPicker,ma=Editor.isDarkMode()&&("auto"==K.getAdaptiveColors()||"simple"==K.getAdaptiveColors()&&"custom"==fa.value)&&!h?V:W;mxEvent.addListener(W,"focus",function(){ma=W;G();L.src=Editor.doubleArrowDownImage});mxEvent.addListener(V,"focus",function(){ma=V;G();L.src=Editor.doubleArrowUpImage});ha.addListener("change",function(ia,O){ia=O.getProperty("color").substring(1).toUpperCase();ma.value.toUpperCase()!=ia&&(ma.value=ia,A(ma),window.setTimeout(function(){ma.focus()},0))});e=document.createElement("div");e.appendChild(ha.div);var oa=document.createElement("div");oa.style.display="flex";oa.style.flexFlow="row wrap";oa.style.justifyContent="center";oa.style.paddingTop="10px";var ca=mxUtils.bind(this,function(ia,O,qa,ja){O=null!=O?O:12;var va=document.createElement("table");va.style.borderCollapse="collapse";va.setAttribute("cellspacing","0");va.style.marginBottom="20px";va.style.cellSpacing="0px";va.style.marginLeft=-"1px";var za=document.createElement("tbody");va.appendChild(za);for(var La=ia.length/O,Na=0;Na<La;Na++){for(var Ja=document.createElement("tr"),Ka=0;Ka<O;Ka++)mxUtils.bind(this,function(ta){var Ea=document.createElement("td");Ea.style.border="0px solid black";Ea.style.padding="0px";Ea.style.width="16px";Ea.style.height="16px";null==ta&&(ta=qa);if(null!=ta){Ea.style.borderWidth="1px";if(ta==mxConstants.NONE||null==ta)Ea.style.background="url('"+Dialog.prototype.noColorImage+"')";else if(mxUtils.isLightDarkColor(ta)){var Wa=+"1px";var ya=document.createElement("tbody");va.appendChild(ya);for(var La=ia.length/O,Na=0;Na<La;Na++){for(var Ja=document.createElement("tr"),Ka=0;Ka<O;Ka++)mxUtils.bind(this,function(ta){var Ea=document.createElement("td");Ea.style.border="0px solid black";Ea.style.padding="0px";Ea.style.width="16px";Ea.style.height="16px";null==ta&&(ta=qa);if(null!=ta){Ea.style.borderWidth="1px";if(ta==mxConstants.NONE||null==ta)Ea.style.background="url('"+Dialog.prototype.noColorImage+"')";else if(mxUtils.isLightDarkColor(ta)){var Wa=mxUtils.getLightDarkColor(ta);Ea.style.background="linear-gradient(to right bottom, "+Wa.cssText+" 50%, "+mxUtils.invertLightDarkColor(Wa).cssText+" 50.3%)"}else Ea.style.backgroundColor="#"+ta;Wa=this.colorNames[String(ta).toUpperCase()];null!=Wa&&Ea.setAttribute("title",Wa)}Ja.appendChild(Ea);null!=ta&&(Ea.style.cursor="pointer",mxEvent.addListener(Ea,"click",function(){if(ta==mxConstants.NONE){ma==V&&V.value==mxConstants.NONE?W.value=mxConstants.NONE:ma.value=mxConstants.NONE;if(ma==W||ma==V&&-W.value==mxConstants.NONE)fa.value="automatic";A(ma);window.setTimeout(function(){ma.focus()},0)}else if(mxUtils.isLightDarkColor(ta)){k(!0);fa.value="custom";var Xa=mxUtils.getLightDarkColor(ta);W.value=Xa.light.substring(1).toUpperCase();V.value=Xa.dark.substring(1).toUpperCase();A(W);A(V);ma==W?ha.fromString(Xa.light):ha.fromString(Xa.dark)}else ha.fromString("#"+ta)}),mxEvent.addListener(Ea,"dblclick",G))})(ia[Na*O+Ka]);za.appendChild(Ja)}ja&&(ia=document.createElement("td"),ia.setAttribute("title",+W.value==mxConstants.NONE)fa.value="automatic";A(ma);window.setTimeout(function(){ma.focus()},0)}else if(mxUtils.isLightDarkColor(ta)){k(!0);fa.value="custom";var Xa=mxUtils.getLightDarkColor(ta);W.value=Xa.light.substring(1).toUpperCase();V.value=Xa.dark.substring(1).toUpperCase();A(W);A(V);ma==W?ha.fromString(Xa.light):ha.fromString(Xa.dark)}else ha.fromString("#"+ta)}),mxEvent.addListener(Ea,"dblclick",F))})(ia[Na*O+Ka]);ya.appendChild(Ja)}ja&&(ia=document.createElement("td"),ia.setAttribute("title",mxResources.get("reset")),ia.className="geAdaptiveAsset",ia.style.border="1px solid black",ia.style.padding="0px",ia.style.width="16px",ia.style.height="16px",ia.style.backgroundImage="url('"+Editor.crossImage+"')",ia.style.backgroundPosition="center center",ia.style.backgroundSize="14px 14px",ia.style.backgroundRepeat="no-repeat",ia.style.cursor="pointer",Ja.appendChild(ia),mxEvent.addListener(ia,"click",function(){ColorDialog.resetRecentColors();va.parentNode.replaceChild(H(),va)}));oa.appendChild(va);-return va});h||(d.appendChild(P),!ColorDialog.collapsed||Editor.isDarkMode()&&"auto"==K.getAdaptiveColors()||"automatic"!=fa.value||(Z.style.display="none",r()),P=document.createElement("img"),P.setAttribute("title",mxResources.get("light")),P.className="geAdaptiveAsset",P.src=Editor.thinLightImage,P.style.width="20px",S.appendChild(P),mxEvent.addListener(P,"click",function(){W.focus()}));S.appendChild(W);null!=N&&(U.setAttribute("title",mxResources.get(h?"default":"useBlackAndWhite")),U.style.cursor=+return va});h||(d.appendChild(P),!ColorDialog.collapsed||Editor.isDarkMode()&&"auto"==K.getAdaptiveColors()||"automatic"!=fa.value||(Z.style.display="none",q()),P=document.createElement("img"),P.setAttribute("title",mxResources.get("light")),P.className="geAdaptiveAsset",P.src=Editor.thinLightImage,P.style.width="20px",S.appendChild(P),mxEvent.addListener(P,"click",function(){W.focus()}));S.appendChild(W);null!=N&&(U.setAttribute("title",mxResources.get(h?"default":"useBlackAndWhite")),U.style.cursor="pointer",U.style.position="relative",U.style.marginLeft="4px",U.innerText="",K=document.createElement("div"),K.style.display="inline-block",K.style.verticalAlign="middle",K.style.borderStyle="solid",K.style.borderWidth="1px",K.style.marginTop="-2px",K.style.width="12px",K.style.height="12px",h?K.style.backgroundColor=N.light:K.style.backgroundImage="linear-gradient(to right bottom, "+N.cssText+" 50%, "+mxUtils.invertLightDarkColor(N).cssText+" 50.3%)",U.appendChild(K),S.appendChild(U),mxEvent.addListener(U,-"dblclick",G));var la=document.createElement("input");la.setAttribute("type","color");la.style.position="relative";la.style.visibility="hidden";la.style.top="10px";la.style.width="0px";la.style.height="0px";la.style.border="none";e.style.whiteSpace="nowrap";S.appendChild(la);K=mxUtils.button("",function(){document.activeElement==la?W.focus():(la.value="#"+W.value,la.click())});K.style.cursor="pointer";P=document.createElement("img");P.src=Editor.colorDropperImage;P.className="geAdaptiveAsset";P.style.position=+"dblclick",F));var la=document.createElement("input");la.setAttribute("type","color");la.style.position="relative";la.style.visibility="hidden";la.style.top="10px";la.style.width="0px";la.style.height="0px";la.style.border="none";e.style.whiteSpace="nowrap";S.appendChild(la);K=mxUtils.button("",function(){document.activeElement==la?W.focus():(la.value="#"+W.value,la.click())});K.style.cursor="pointer";P=document.createElement("img");P.src=Editor.colorDropperImage;P.className="geAdaptiveAsset";P.style.position="relative";P.style.verticalAlign="middle";P.style.marginTop="-2px";P.style.width="auto";P.style.height="14px";K.appendChild(P);S.appendChild(K);e.appendChild(d);mxEvent.addListener(la,"change",function(){ha.fromString(la.value)});h||e.appendChild(Z);H();d=ca(this.presetColors);d.style.marginBottom="8px";d=ca(this.defaultColors);d.style.marginBottom="16px";e.appendChild(oa);d=document.createElement("div");d.style.display="flex";d.style.whiteSpace="nowrap";d.style.alignItems="center";d.style.justifyContent=-"end";a.isOffline()||d.appendChild(a.createHelpIcon("https://github.com/jgraph/drawio/discussions/4713"));S=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog();null!=f&&f()});S.className="geBtn";a.editor.cancelFirst&&d.appendChild(S);K=mxUtils.button(mxResources.get("apply"),G);K.className="geBtn gePrimaryBtn";d.appendChild(K);a.editor.cancelFirst||d.appendChild(S);null!=b&&("default"==b?U.click():(S=mxUtils.getLightDarkColor(b),b==mxConstants.NONE||"transparent"==S.light?W.value=mxConstants.NONE:-mxUtils.isVarColor(S.light)?W.value=S.light:(mxUtils.isRgbColor(S.light)?S.light=mxUtils.rgba2hex(S.light):mxUtils.isHexColor(S.light)||(S.light="#"+l(S.light)),W.value=S.light.substring(1).toUpperCase()),b==mxConstants.NONE||"transparent"==S.dark?V.value=mxConstants.NONE:mxUtils.isVarColor(S.dark)?V.value=S.dark:(mxUtils.isRgbColor(S.dark)?S.dark=mxUtils.rgba2hex(S.dark):mxUtils.isHexColor(S.dark)||(S.dark="#"+l(S.dark)),V.value=S.dark.substring(1).toUpperCase()),F(),w()));h||!ColorDialog.collapsed||-"automatic"!=fa.value||Editor.isDarkMode()||(Z.style.display="none",r());e.appendChild(d);this.picker=ha;this.colorInput=W;mxEvent.addListener(W,"keypress",M);mxEvent.addListener(V,"keypress",M);mxEvent.addListener(e,"keydown",function(ia){27==ia.keyCode&&(a.hideDialog(),null!=f&&f(),mxEvent.consume(ia))});this.container=e};ColorDialog.prototype.presetColors="E6D0DE CDA2BE B5739D E1D5E7 C3ABD0 A680B8 D4E1F5 A9C4EB 7EA6E0 D5E8D4 9AC7BF 67AB9F D5E8D4 B9E0A5 97D077 FFF2CC FFE599 FFD966 FFF4C3 FFCE9F FFB570 F8CECC F19C99 EA6B66".split(" ");+"end";a.isOffline()||d.appendChild(a.createHelpIcon("https://github.com/jgraph/drawio/discussions/4713"));S=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog();null!=f&&f()});S.className="geBtn";a.editor.cancelFirst&&d.appendChild(S);K=mxUtils.button(mxResources.get("apply"),F);K.className="geBtn gePrimaryBtn";d.appendChild(K);a.editor.cancelFirst||d.appendChild(S);null!=b&&("default"==b?U.click():(S=mxUtils.getLightDarkColor(b),b==mxConstants.NONE||"transparent"==S.light?W.value=mxConstants.NONE:+mxUtils.isVarColor(S.light)?W.value=S.light:(mxUtils.isRgbColor(S.light)?S.light=mxUtils.rgba2hex(S.light):mxUtils.isHexColor(S.light)||(S.light="#"+l(S.light)),W.value=S.light.substring(1).toUpperCase()),b==mxConstants.NONE||"transparent"==S.dark?V.value=mxConstants.NONE:mxUtils.isVarColor(S.dark)?V.value=S.dark:(mxUtils.isRgbColor(S.dark)?S.dark=mxUtils.rgba2hex(S.dark):mxUtils.isHexColor(S.dark)||(S.dark="#"+l(S.dark)),V.value=S.dark.substring(1).toUpperCase()),G(),w()));h||!ColorDialog.collapsed||+"automatic"!=fa.value||Editor.isDarkMode()||(Z.style.display="none",q());e.appendChild(d);this.picker=ha;this.colorInput=W;mxEvent.addListener(W,"keypress",M);mxEvent.addListener(V,"keypress",M);mxEvent.addListener(e,"keydown",function(ia){27==ia.keyCode&&(a.hideDialog(),null!=f&&f(),mxEvent.consume(ia))});this.container=e};ColorDialog.prototype.presetColors="E6D0DE CDA2BE B5739D E1D5E7 C3ABD0 A680B8 D4E1F5 A9C4EB 7EA6E0 D5E8D4 9AC7BF 67AB9F D5E8D4 B9E0A5 97D077 FFF2CC FFE599 FFD966 FFF4C3 FFCE9F FFB570 F8CECC F19C99 EA6B66".split(" ");ColorDialog.prototype.colorNames={};ColorDialog.prototype.defaultColors="none FFFFFF E6E6E6 CCCCCC B3B3B3 999999 808080 666666 4D4D4D 333333 1A1A1A 000000 FFCCCC FFE6CC FFFFCC E6FFCC CCFFCC CCFFE6 CCFFFF CCE5FF CCCCFF E5CCFF FFCCFF FFCCE6 FF9999 FFCC99 FFFF99 CCFF99 99FF99 99FFCC 99FFFF 99CCFF 9999FF CC99FF FF99FF FF99CC FF6666 FFB366 FFFF66 B3FF66 66FF66 66FFB3 66FFFF 66B2FF 6666FF B266FF FF66FF FF66B3 FF3333 FF9933 FFFF33 99FF33 33FF33 33FF99 33FFFF 3399FF 3333FF 9933FF FF33FF FF3399 FF0000 FF8000 FFFF00 80FF00 00FF00 00FF80 00FFFF 007FFF 0000FF 7F00FF FF00FF FF0080 CC0000 CC6600 CCCC00 66CC00 00CC00 00CC66 00CCCC 0066CC 0000CC 6600CC CC00CC CC0066 990000 994C00 999900 4D9900 009900 00994D 009999 004C99 000099 4C0099 990099 99004D 660000 663300 666600 336600 006600 006633 006666 003366 000066 330066 660066 660033 330000 331A00 333300 1A3300 003300 00331A 003333 001933 000033 190033 330033 33001A".split(" ");ColorDialog.prototype.createApplyFunction=function(){return ColorDialog.createApplyFunction(this.editorUi,this.currentColorKey)};ColorDialog.createApplyFunction=function(a,b){return function(e){var f=a.editor.graph;f.getModel().beginUpdate();try{f.setCellStyles(b,e),a.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[e],"cells",f.getSelectionCells()))}finally{f.getModel().endUpdate()}}};ColorDialog.recentColors=[];ColorDialog.addRecentColor=function(a,b){null!=a&&(mxUtils.remove(a,ColorDialog.recentColors),ColorDialog.recentColors.splice(0,0,a),ColorDialog.recentColors.length>=b&&ColorDialog.recentColors.pop())};ColorDialog.resetRecentColors=function(){ColorDialog.recentColors=[]};ColorDialog.collapsed=!0;var AboutDialog=function(a){var b=document.createElement("div");b.setAttribute("align","center");var e=document.createElement("h3");mxUtils.write(e,mxResources.get("about")+" GraphEditor");b.appendChild(e);e=document.createElement("img");e.style.border="0px";e.setAttribute("width","176");e.setAttribute("width","151");e.setAttribute("src",IMAGE_PATH+"/logo.png");b.appendChild(e);mxUtils.br(b);mxUtils.write(b,"Powered by mxGraph "+mxClient.VERSION);mxUtils.br(b);e=document.createElement("a");e.setAttribute("href","http://www.jgraph.com/");e.setAttribute("target","_blank");mxUtils.write(e,"www.jgraph.com");b.appendChild(e);mxUtils.br(b);mxUtils.br(b);e=mxUtils.button(mxResources.get("close"),function(){a.hideDialog()});e.className="geBtn gePrimaryBtn";b.appendChild(e);this.container=b},SimpleTextareaDialog=function(a,b,e,f,g){var d=document.createElement("div"),h=document.createElement("textarea");h.style.position="absolute";h.style.left="30px";h.style.right="30px";h.style.top="30px";h.style.bottom="100px";h.style.resize="none";h.setAttribute("wrap","off");h.setAttribute("spellcheck","false");h.setAttribute("autocorrect","off");h.setAttribute("autocomplete","off");h.setAttribute("autocapitalize","off");h.value=null!=b?b:"";d.appendChild(h);b=document.createElement("div");b.style.position="absolute";b.style.bottom="46px";b.style.right="30px";b.style.left="30px";b.style.justifyContent="end";b.style.display="flex";null==g||a.isOffline()||b.appendChild(a.createHelpIcon(g));g=mxUtils.button(mxResources.get("cancel"),-function(){a.hideDialog()});g.setAttribute("title","Escape");g.className="geBtn";a.editor.cancelFirst&&b.appendChild(g);var l=mxUtils.button(null!=f?f:mxResources.get("apply"),function(){a.hideDialog();e(h.value)});l.setAttribute("title","Ctrl+Enter");l.className="geBtn gePrimaryBtn";b.appendChild(l);mxEvent.addListener(h,"keydown",function(r){13==r.keyCode&&mxEvent.isControlDown(r)&&l.click()});a.editor.cancelFirst||b.appendChild(g);this.init=function(){h.focus();h.scrollTop=0};d.appendChild(b);-this.container=d},TextareaDialog=function(a,b,e,f,g,d,h,l,r,k,u,w,y,A,G){k=null!=k?k:!1;h=document.createElement("div");h.style.position="absolute";h.style.top="20px";h.style.bottom="20px";h.style.left="20px";h.style.right="20px";l=document.createElement("div");l.style.position="absolute";l.style.left="0px";l.style.right="0px";var D=l.cloneNode(!1),F=l.cloneNode(!1);l.style.top="0px";l.style.height="20px";D.style.top="20px";D.style.bottom="64px";F.style.display="flex";F.style.whiteSpace="nowrap";-F.style.alignItems="center";F.style.justifyContent="end";F.style.bottom="10px";F.style.height="50px";F.style.textAlign="right";F.style.paddingTop="14px";F.style.boxSizing="border-box";mxUtils.write(l,b);h.appendChild(l);h.appendChild(D);h.appendChild(F);null!=G&&l.appendChild(G);var H=document.createElement("textarea");u?H.setAttribute("wrap","off"):H.style.wordBreak="break-all";H.setAttribute("spellcheck","false");H.setAttribute("autocorrect","off");H.setAttribute("autocomplete","off");H.setAttribute("autocapitalize",-"off");mxUtils.write(H,e||"");H.style.resize="none";H.style.outline="none";H.style.position="absolute";H.style.boxSizing="border-box";H.style.top="0px";H.style.left="0px";H.style.height="100%";H.style.width="100%";this.textarea=H;this.init=function(){H.focus();H.scrollTop=0};D.appendChild(H);null==y||a.isOffline()||F.appendChild(a.createHelpIcon(y));if(null!=A)for(b=0;b<A.length;b++)(function(N,K,T){N=mxUtils.button(N,function(W){K(W,H)});null!=T&&N.setAttribute("title",T);N.className="geBtn";F.appendChild(N)})(A[b][0],-A[b][1],A[b][2]);d=mxUtils.button(d||mxResources.get("cancel"),function(){a.hideDialog();null!=g&&g()});d.setAttribute("title","Escape");d.className="geBtn";a.editor.cancelFirst&&F.appendChild(d);null!=r&&r(F,H);if(null!=f){var M=mxUtils.button(w||mxResources.get("apply"),function(){k||a.hideDialog();f(H.value)});M.setAttribute("title","Ctrl+Enter");M.className="geBtn gePrimaryBtn";F.appendChild(M);mxEvent.addListener(H,"keydown",function(N){13==N.keyCode&&mxEvent.isControlDown(N)&&M.click()})}a.editor.cancelFirst||-F.appendChild(d);this.container=h},EditDiagramDialog=function(a){var b=document.createElement("div");b.style.position="absolute";b.style.inset="10px";var e=document.createElement("textarea");e.setAttribute("wrap","off");e.setAttribute("spellcheck","false");e.setAttribute("autocorrect","off");e.setAttribute("autocomplete","off");e.setAttribute("autocapitalize","off");e.style.overflow="auto";e.style.resize="none";e.style.position="absolute";e.style.top="20px";e.style.bottom="76px";e.style.left="20px";-e.style.right="20px";var f=a.getDiagramSnapshot();e.value=mxUtils.getPrettyXml(f.node);b.appendChild(e);this.init=function(){e.focus()};Graph.fileSupport&&(e.addEventListener("dragover",function(r){r.stopPropagation();r.preventDefault()},!1),e.addEventListener("drop",function(r){r.stopPropagation();r.preventDefault();if(0<r.dataTransfer.files.length){r=r.dataTransfer.files[0];var k=new FileReader;k.onload=function(u){e.value=u.target.result};k.readAsText(r)}else e.value=a.extractGraphModelFromEvent(r)},+function(){a.hideDialog()});g.setAttribute("title","Escape");g.className="geBtn";a.editor.cancelFirst&&b.appendChild(g);var l=mxUtils.button(null!=f?f:mxResources.get("apply"),function(){a.hideDialog();e(h.value)});l.setAttribute("title","Ctrl+Enter");l.className="geBtn gePrimaryBtn";b.appendChild(l);mxEvent.addListener(h,"keydown",function(q){13==q.keyCode&&mxEvent.isControlDown(q)&&l.click()});a.editor.cancelFirst||b.appendChild(g);this.init=function(){h.focus();h.scrollTop=0};d.appendChild(b);+this.container=d},TextareaDialog=function(a,b,e,f,g,d,h,l,q,k,u,w,y,A,F){k=null!=k?k:!1;h=document.createElement("div");h.style.position="absolute";h.style.top="20px";h.style.bottom="20px";h.style.left="20px";h.style.right="20px";l=document.createElement("div");l.style.position="absolute";l.style.left="0px";l.style.right="0px";var D=l.cloneNode(!1),G=l.cloneNode(!1);l.style.top="0px";l.style.height="20px";D.style.top="20px";D.style.bottom="64px";G.style.display="flex";G.style.whiteSpace="nowrap";+G.style.alignItems="center";G.style.justifyContent="end";G.style.bottom="10px";G.style.height="50px";G.style.textAlign="right";G.style.paddingTop="14px";G.style.boxSizing="border-box";mxUtils.write(l,b);h.appendChild(l);h.appendChild(D);h.appendChild(G);null!=F&&l.appendChild(F);var H=document.createElement("textarea");u?H.setAttribute("wrap","off"):H.style.wordBreak="break-all";H.setAttribute("spellcheck","false");H.setAttribute("autocorrect","off");H.setAttribute("autocomplete","off");H.setAttribute("autocapitalize",+"off");mxUtils.write(H,e||"");H.style.resize="none";H.style.outline="none";H.style.position="absolute";H.style.boxSizing="border-box";H.style.top="0px";H.style.left="0px";H.style.height="100%";H.style.width="100%";this.textarea=H;this.init=function(){H.focus();H.scrollTop=0};D.appendChild(H);null==y||a.isOffline()||G.appendChild(a.createHelpIcon(y));if(null!=A)for(b=0;b<A.length;b++)(function(N,K,T){N=mxUtils.button(N,function(W){K(W,H)});null!=T&&N.setAttribute("title",T);N.className="geBtn";G.appendChild(N)})(A[b][0],+A[b][1],A[b][2]);d=mxUtils.button(d||mxResources.get("cancel"),function(){a.hideDialog();null!=g&&g()});d.setAttribute("title","Escape");d.className="geBtn";a.editor.cancelFirst&&G.appendChild(d);null!=q&&q(G,H);if(null!=f){var M=mxUtils.button(w||mxResources.get("apply"),function(){k||a.hideDialog();f(H.value)});M.setAttribute("title","Ctrl+Enter");M.className="geBtn gePrimaryBtn";G.appendChild(M);mxEvent.addListener(H,"keydown",function(N){13==N.keyCode&&mxEvent.isControlDown(N)&&M.click()})}a.editor.cancelFirst||+G.appendChild(d);this.container=h},EditDiagramDialog=function(a){var b=document.createElement("div");b.style.position="absolute";b.style.inset="10px";var e=document.createElement("textarea");e.setAttribute("wrap","off");e.setAttribute("spellcheck","false");e.setAttribute("autocorrect","off");e.setAttribute("autocomplete","off");e.setAttribute("autocapitalize","off");e.style.overflow="auto";e.style.resize="none";e.style.position="absolute";e.style.top="20px";e.style.bottom="76px";e.style.left="20px";+e.style.right="20px";var f=a.getDiagramSnapshot();e.value=mxUtils.getPrettyXml(f.node);b.appendChild(e);this.init=function(){e.focus()};Graph.fileSupport&&(e.addEventListener("dragover",function(q){q.stopPropagation();q.preventDefault()},!1),e.addEventListener("drop",function(q){q.stopPropagation();q.preventDefault();if(0<q.dataTransfer.files.length){q=q.dataTransfer.files[0];var k=new FileReader;k.onload=function(u){e.value=u.target.result};k.readAsText(q)}else e.value=a.extractGraphModelFromEvent(q)},!1));var g=document.createElement("div");g.style.display="flex";g.style.whiteSpace="nowrap";g.style.alignItems="center";g.style.justifyContent="end";g.style.position="absolute";g.style.height="36px";g.style.bottom="24px";g.style.left="20px";g.style.right="20px";var d=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});d.className="geBtn";a.editor.cancelFirst&&g.appendChild(d);var h=document.createElement("select");h.style.textOverflow="ellipsis";h.style.width="196px";h.className="geBtn";if(a.editor.graph.isEnabled()){var l=document.createElement("option");l.setAttribute("value","apply");mxUtils.write(l,mxResources.get("apply",null,"Update Existing Drawing"));h.appendChild(l)}a.editor.graph.isEnabled()&&(l=document.createElement("option"),l.setAttribute("value","insert"),mxUtils.write(l,mxResources.get("insert")),h.appendChild(l));l=document.createElement("option");l.setAttribute("value","new");mxUtils.write(l,mxResources.get("openInNewWindow"));EditDiagramDialog.showNewWindowOption&&-!navigator.standalone&&h.appendChild(l);g.appendChild(h);l=mxUtils.button(mxResources.get("ok"),function(){var r=Graph.zapGremlins(mxUtils.trim(e.value)),k=null;if("new"==h.value)a.hideDialog(),a.editor.editAsNew(r);else if("apply"==h.value)try{var u=mxUtils.parseXml(r).documentElement,w=Editor.extractParserError(u,mxResources.get("unknownError"));w?(EditorUi.debug("EditDiagramDialogParserError",[this],"node",[u],"cause",[w]),k=mxResources.get("invalidInput")+" ("+w+")"):("mxfile"==u.nodeName?a.editor.setGraphXml(u):-a.updateDiagramData(f,u),a.hideDialog())}catch(D){k=D}else if("insert"==h.value){a.editor.graph.model.beginUpdate();try{var y=mxUtils.parseXml(r),A=new mxGraphModel;(new mxCodec(y)).decode(y.documentElement,A);var G=A.getChildren(A.getChildAt(A.getRoot(),0));a.editor.graph.setSelectionCells(a.editor.graph.importCells(G));a.hideDialog()}catch(D){k=D}finally{a.editor.graph.model.endUpdate()}}null!=k&&a.handleError(k)});l.className="geBtn gePrimaryBtn";g.appendChild(l);a.editor.cancelFirst||g.appendChild(d);+!navigator.standalone&&h.appendChild(l);g.appendChild(h);l=mxUtils.button(mxResources.get("ok"),function(){var q=Graph.zapGremlins(mxUtils.trim(e.value)),k=null;if("new"==h.value)a.hideDialog(),a.editor.editAsNew(q);else if("apply"==h.value)try{var u=mxUtils.parseXml(q).documentElement,w=Editor.extractParserError(u,mxResources.get("unknownError"));w?(EditorUi.debug("EditDiagramDialogParserError",[this],"node",[u],"cause",[w]),k=mxResources.get("invalidInput")+" ("+w+")"):("mxfile"==u.nodeName?a.editor.setGraphXml(u):+a.updateDiagramData(f,u),a.hideDialog())}catch(D){k=D}else if("insert"==h.value){a.editor.graph.model.beginUpdate();try{var y=mxUtils.parseXml(q),A=new mxGraphModel;(new mxCodec(y)).decode(y.documentElement,A);var F=A.getChildren(A.getChildAt(A.getRoot(),0));a.editor.graph.setSelectionCells(a.editor.graph.importCells(F));a.hideDialog()}catch(D){k=D}finally{a.editor.graph.model.endUpdate()}}null!=k&&a.handleError(k)});l.className="geBtn gePrimaryBtn";g.appendChild(l);a.editor.cancelFirst||g.appendChild(d);b.appendChild(g);this.container=b};EditDiagramDialog.showNewWindowOption=!0;-var ExportDialog=function(a){function b(){var S=u.value,V=S.lastIndexOf(".");u.value=0<V?S.substring(0,V+1)+w.value:S+"."+w.value;"xml"===w.value?(y.setAttribute("disabled","true"),A.setAttribute("disabled","true"),G.setAttribute("disabled","true"),K.setAttribute("disabled","true")):(y.removeAttribute("disabled"),A.removeAttribute("disabled"),G.removeAttribute("disabled"),K.removeAttribute("disabled"));"png"===w.value||"svg"===w.value||"pdf"===w.value?M.removeAttribute("disabled"):M.setAttribute("disabled",-"disabled");"png"===w.value||"jpg"===w.value||"pdf"===w.value?N.removeAttribute("disabled"):N.setAttribute("disabled","disabled");"png"===w.value?(D.removeAttribute("disabled"),F.removeAttribute("disabled")):(D.setAttribute("disabled","disabled"),F.setAttribute("disabled","disabled"))}function e(){A.style.backgroundColor=A.value*G.value>MAX_AREA||0>=A.value?"red":"";G.style.backgroundColor=A.value*G.value>MAX_AREA||0>=G.value?"red":""}var f=a.editor.graph,g=f.getGraphBounds(),d=f.view.scale,h=Math.ceil(g.width/-d),l=Math.ceil(g.height/d);d=document.createElement("table");var r=document.createElement("tbody");d.setAttribute("cellpadding",mxClient.IS_SF?"0":"2");g=document.createElement("tr");var k=document.createElement("td");k.style.fontSize="10pt";k.style.width="100px";mxUtils.write(k,mxResources.get("filename")+":");g.appendChild(k);var u=document.createElement("input");u.setAttribute("value",a.editor.getOrCreateFilename());u.style.width="180px";k=document.createElement("td");k.appendChild(u);g.appendChild(k);-r.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("format")+":");g.appendChild(k);var w=document.createElement("select");w.style.width="180px";k=document.createElement("option");k.setAttribute("value","png");mxUtils.write(k,mxResources.get("formatPng"));w.appendChild(k);k=document.createElement("option");ExportDialog.showGifOption&&(k.setAttribute("value","gif"),mxUtils.write(k,mxResources.get("formatGif")),w.appendChild(k));-k=document.createElement("option");k.setAttribute("value","jpg");mxUtils.write(k,mxResources.get("formatJpg"));w.appendChild(k);k=document.createElement("option");k.setAttribute("value","svg");mxUtils.write(k,mxResources.get("formatSvg"));w.appendChild(k);ExportDialog.showXmlOption&&(k=document.createElement("option"),k.setAttribute("value","xml"),mxUtils.write(k,mxResources.get("formatXml")),w.appendChild(k));k=document.createElement("td");k.appendChild(w);g.appendChild(k);r.appendChild(g);g=document.createElement("tr");-k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("zoom")+" (%):");g.appendChild(k);var y=document.createElement("input");y.setAttribute("type","number");y.setAttribute("value","100");y.style.width="180px";k=document.createElement("td");k.appendChild(y);g.appendChild(k);r.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("width")+":");g.appendChild(k);var A=document.createElement("input");-A.setAttribute("value",h);A.style.width="180px";k=document.createElement("td");k.appendChild(A);g.appendChild(k);r.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("height")+":");g.appendChild(k);var G=document.createElement("input");G.setAttribute("value",l);G.style.width="180px";k=document.createElement("td");k.appendChild(G);g.appendChild(k);r.appendChild(g);g=document.createElement("tr");k=document.createElement("td");+var ExportDialog=function(a){function b(){var S=u.value,V=S.lastIndexOf(".");u.value=0<V?S.substring(0,V+1)+w.value:S+"."+w.value;"xml"===w.value?(y.setAttribute("disabled","true"),A.setAttribute("disabled","true"),F.setAttribute("disabled","true"),K.setAttribute("disabled","true")):(y.removeAttribute("disabled"),A.removeAttribute("disabled"),F.removeAttribute("disabled"),K.removeAttribute("disabled"));"png"===w.value||"svg"===w.value||"pdf"===w.value?M.removeAttribute("disabled"):M.setAttribute("disabled",+"disabled");"png"===w.value||"jpg"===w.value||"pdf"===w.value?N.removeAttribute("disabled"):N.setAttribute("disabled","disabled");"png"===w.value?(D.removeAttribute("disabled"),G.removeAttribute("disabled")):(D.setAttribute("disabled","disabled"),G.setAttribute("disabled","disabled"))}function e(){A.style.backgroundColor=A.value*F.value>MAX_AREA||0>=A.value?"red":"";F.style.backgroundColor=A.value*F.value>MAX_AREA||0>=F.value?"red":""}var f=a.editor.graph,g=f.getGraphBounds(),d=f.view.scale,h=Math.ceil(g.width/+d),l=Math.ceil(g.height/d);d=document.createElement("table");var q=document.createElement("tbody");d.setAttribute("cellpadding",mxClient.IS_SF?"0":"2");g=document.createElement("tr");var k=document.createElement("td");k.style.fontSize="10pt";k.style.width="100px";mxUtils.write(k,mxResources.get("filename")+":");g.appendChild(k);var u=document.createElement("input");u.setAttribute("value",a.editor.getOrCreateFilename());u.style.width="180px";k=document.createElement("td");k.appendChild(u);g.appendChild(k);+q.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("format")+":");g.appendChild(k);var w=document.createElement("select");w.style.width="180px";k=document.createElement("option");k.setAttribute("value","png");mxUtils.write(k,mxResources.get("formatPng"));w.appendChild(k);k=document.createElement("option");ExportDialog.showGifOption&&(k.setAttribute("value","gif"),mxUtils.write(k,mxResources.get("formatGif")),w.appendChild(k));+k=document.createElement("option");k.setAttribute("value","jpg");mxUtils.write(k,mxResources.get("formatJpg"));w.appendChild(k);k=document.createElement("option");k.setAttribute("value","svg");mxUtils.write(k,mxResources.get("formatSvg"));w.appendChild(k);ExportDialog.showXmlOption&&(k=document.createElement("option"),k.setAttribute("value","xml"),mxUtils.write(k,mxResources.get("formatXml")),w.appendChild(k));k=document.createElement("td");k.appendChild(w);g.appendChild(k);q.appendChild(g);g=document.createElement("tr");+k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("zoom")+" (%):");g.appendChild(k);var y=document.createElement("input");y.setAttribute("type","number");y.setAttribute("value","100");y.style.width="180px";k=document.createElement("td");k.appendChild(y);g.appendChild(k);q.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("width")+":");g.appendChild(k);var A=document.createElement("input");+A.setAttribute("value",h);A.style.width="180px";k=document.createElement("td");k.appendChild(A);g.appendChild(k);q.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("height")+":");g.appendChild(k);var F=document.createElement("input");F.setAttribute("value",l);F.style.width="180px";k=document.createElement("td");k.appendChild(F);g.appendChild(k);q.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("dpi")+":");g.appendChild(k);var D=document.createElement("select");D.style.width="180px";k=document.createElement("option");k.setAttribute("value","100");mxUtils.write(k,"100dpi");D.appendChild(k);k=document.createElement("option");k.setAttribute("value","200");mxUtils.write(k,"200dpi");D.appendChild(k);k=document.createElement("option");k.setAttribute("value","300");mxUtils.write(k,"300dpi");D.appendChild(k);k=document.createElement("option");-k.setAttribute("value","400");mxUtils.write(k,"400dpi");D.appendChild(k);k=document.createElement("option");k.setAttribute("value","custom");mxUtils.write(k,mxResources.get("custom"));D.appendChild(k);var F=document.createElement("input");F.style.width="180px";F.style.display="none";F.setAttribute("value","100");F.setAttribute("type","number");F.setAttribute("min","50");F.setAttribute("step","50");var H=!1;mxEvent.addListener(D,"change",function(){"custom"==this.value?(this.style.display="none",F.style.display=-"",F.focus()):(F.value=this.value,H||(y.value=this.value))});mxEvent.addListener(F,"change",function(){var S=parseInt(F.value);isNaN(S)||0>=S?F.style.backgroundColor="red":(F.style.backgroundColor="",H||(y.value=S))});k=document.createElement("td");k.appendChild(D);k.appendChild(F);g.appendChild(k);r.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("background")+":");g.appendChild(k);var M=document.createElement("input");-M.setAttribute("type","checkbox");M.checked=null==f.background||f.background==mxConstants.NONE;k=document.createElement("td");k.appendChild(M);mxUtils.write(k,mxResources.get("transparent"));g.appendChild(k);r.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("grid")+":");g.appendChild(k);var N=document.createElement("input");N.setAttribute("type","checkbox");N.checked=!1;k=document.createElement("td");k.appendChild(N);-g.appendChild(k);r.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("borderWidth")+":");g.appendChild(k);var K=document.createElement("input");K.setAttribute("type","number");K.setAttribute("value",ExportDialog.lastBorderValue);K.style.width="180px";k=document.createElement("td");k.appendChild(K);g.appendChild(k);r.appendChild(g);d.appendChild(r);mxEvent.addListener(w,"change",b);b();mxEvent.addListener(y,"change",-function(){H=!0;var S=Math.max(0,parseFloat(y.value)||100)/100;y.value=parseFloat((100*S).toFixed(2));0<h?(A.value=Math.floor(h*S),G.value=Math.floor(l*S)):(y.value="100",A.value=h,G.value=l);e()});mxEvent.addListener(A,"change",function(){var S=parseInt(A.value)/h;0<S?(y.value=parseFloat((100*S).toFixed(2)),G.value=Math.floor(l*S)):(y.value="100",A.value=h,G.value=l);e()});mxEvent.addListener(G,"change",function(){var S=parseInt(G.value)/l;0<S?(y.value=parseFloat((100*S).toFixed(2)),A.value=Math.floor(h*-S)):(y.value="100",A.value=h,G.value=l);e()});g=document.createElement("tr");k=document.createElement("td");k.setAttribute("align","right");k.style.paddingTop="22px";k.colSpan=2;var T=mxUtils.button(mxResources.get("export"),mxUtils.bind(this,function(){if(0>=parseInt(y.value))mxUtils.alert(mxResources.get("drawingEmpty"));else{var S=u.value,V=w.value,fa=Math.max(0,parseFloat(y.value)||100)/100,P=Math.max(0,parseInt(K.value)),Z=f.background,X=Math.max(1,parseInt(F.value));if(("svg"==V||"png"==V||-"pdf"==V)&&M.checked)Z=null;else if(null==Z||Z==mxConstants.NONE)Z="#ffffff";ExportDialog.lastBorderValue=P;ExportDialog.exportFile(a,S,V,Z,fa,P,X,N.checked)}}));T.className="geBtn gePrimaryBtn";var W=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});W.className="geBtn";a.editor.cancelFirst?(k.appendChild(W),k.appendChild(T)):(k.appendChild(T),k.appendChild(W));g.appendChild(k);r.appendChild(g);d.appendChild(r);this.container=d};ExportDialog.lastBorderValue=0;+k.setAttribute("value","400");mxUtils.write(k,"400dpi");D.appendChild(k);k=document.createElement("option");k.setAttribute("value","custom");mxUtils.write(k,mxResources.get("custom"));D.appendChild(k);var G=document.createElement("input");G.style.width="180px";G.style.display="none";G.setAttribute("value","100");G.setAttribute("type","number");G.setAttribute("min","50");G.setAttribute("step","50");var H=!1;mxEvent.addListener(D,"change",function(){"custom"==this.value?(this.style.display="none",G.style.display=+"",G.focus()):(G.value=this.value,H||(y.value=this.value))});mxEvent.addListener(G,"change",function(){var S=parseInt(G.value);isNaN(S)||0>=S?G.style.backgroundColor="red":(G.style.backgroundColor="",H||(y.value=S))});k=document.createElement("td");k.appendChild(D);k.appendChild(G);g.appendChild(k);q.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("background")+":");g.appendChild(k);var M=document.createElement("input");+M.setAttribute("type","checkbox");M.checked=null==f.background||f.background==mxConstants.NONE;k=document.createElement("td");k.appendChild(M);mxUtils.write(k,mxResources.get("transparent"));g.appendChild(k);q.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("grid")+":");g.appendChild(k);var N=document.createElement("input");N.setAttribute("type","checkbox");N.checked=!1;k=document.createElement("td");k.appendChild(N);+g.appendChild(k);q.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("borderWidth")+":");g.appendChild(k);var K=document.createElement("input");K.setAttribute("type","number");K.setAttribute("value",ExportDialog.lastBorderValue);K.style.width="180px";k=document.createElement("td");k.appendChild(K);g.appendChild(k);q.appendChild(g);d.appendChild(q);mxEvent.addListener(w,"change",b);b();mxEvent.addListener(y,"change",+function(){H=!0;var S=Math.max(0,parseFloat(y.value)||100)/100;y.value=parseFloat((100*S).toFixed(2));0<h?(A.value=Math.floor(h*S),F.value=Math.floor(l*S)):(y.value="100",A.value=h,F.value=l);e()});mxEvent.addListener(A,"change",function(){var S=parseInt(A.value)/h;0<S?(y.value=parseFloat((100*S).toFixed(2)),F.value=Math.floor(l*S)):(y.value="100",A.value=h,F.value=l);e()});mxEvent.addListener(F,"change",function(){var S=parseInt(F.value)/l;0<S?(y.value=parseFloat((100*S).toFixed(2)),A.value=Math.floor(h*+S)):(y.value="100",A.value=h,F.value=l);e()});g=document.createElement("tr");k=document.createElement("td");k.setAttribute("align","right");k.style.paddingTop="22px";k.colSpan=2;var T=mxUtils.button(mxResources.get("export"),mxUtils.bind(this,function(){if(0>=parseInt(y.value))mxUtils.alert(mxResources.get("drawingEmpty"));else{var S=u.value,V=w.value,fa=Math.max(0,parseFloat(y.value)||100)/100,P=Math.max(0,parseInt(K.value)),Z=f.background,X=Math.max(1,parseInt(G.value));if(("svg"==V||"png"==V||+"pdf"==V)&&M.checked)Z=null;else if(null==Z||Z==mxConstants.NONE)Z="#ffffff";ExportDialog.lastBorderValue=P;ExportDialog.exportFile(a,S,V,Z,fa,P,X,N.checked)}}));T.className="geBtn gePrimaryBtn";var W=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});W.className="geBtn";a.editor.cancelFirst?(k.appendChild(W),k.appendChild(T)):(k.appendChild(T),k.appendChild(W));g.appendChild(k);q.appendChild(g);d.appendChild(q);this.container=d};ExportDialog.lastBorderValue=0;ExportDialog.showGifOption=!0;ExportDialog.showXmlOption=!0;-ExportDialog.exportFile=function(a,b,e,f,g,d,h,l){l=a.editor.graph;if("xml"==e)ExportDialog.saveLocalFile(a,mxUtils.getXml(a.editor.getGraphXml()),b,e);else if("svg"==e)ExportDialog.saveLocalFile(a,mxUtils.getXml(l.getSvg(f,g,d)),b,e);else{var r=l.getGraphBounds(),k=mxUtils.createXmlDocument(),u=k.createElement("output");k.appendChild(u);k=new mxXmlCanvas2D(u);k.translate(Math.floor((d/g-r.x)/l.view.scale),Math.floor((d/g-r.y)/l.view.scale));k.scale(g/l.view.scale);(new mxImageExport).drawState(l.getView().getState(l.model.root),-k);u="xml="+encodeURIComponent(mxUtils.getXml(u));k=Math.ceil(r.width*g/l.view.scale+2*d);g=Math.ceil(r.height*g/l.view.scale+2*d);u.length<=MAX_REQUEST_SIZE&&k*g<MAX_AREA?(a.hideDialog(),(new mxXmlRequest(EXPORT_URL,"format="+e+"&filename="+encodeURIComponent(b)+"&bg="+(null!=f?f:"none")+"&w="+k+"&h="+g+"&"+u+"&dpi="+h)).simulate(document,"_blank")):mxUtils.alert(mxResources.get("drawingTooLarge"))}};+ExportDialog.exportFile=function(a,b,e,f,g,d,h,l){l=a.editor.graph;if("xml"==e)ExportDialog.saveLocalFile(a,mxUtils.getXml(a.editor.getGraphXml()),b,e);else if("svg"==e)ExportDialog.saveLocalFile(a,mxUtils.getXml(l.getSvg(f,g,d)),b,e);else{var q=l.getGraphBounds(),k=mxUtils.createXmlDocument(),u=k.createElement("output");k.appendChild(u);k=new mxXmlCanvas2D(u);k.translate(Math.floor((d/g-q.x)/l.view.scale),Math.floor((d/g-q.y)/l.view.scale));k.scale(g/l.view.scale);(new mxImageExport).drawState(l.getView().getState(l.model.root),+k);u="xml="+encodeURIComponent(mxUtils.getXml(u));k=Math.ceil(q.width*g/l.view.scale+2*d);g=Math.ceil(q.height*g/l.view.scale+2*d);u.length<=MAX_REQUEST_SIZE&&k*g<MAX_AREA?(a.hideDialog(),(new mxXmlRequest(EXPORT_URL,"format="+e+"&filename="+encodeURIComponent(b)+"&bg="+(null!=f?f:"none")+"&w="+k+"&h="+g+"&"+u+"&dpi="+h)).simulate(document,"_blank")):mxUtils.alert(mxResources.get("drawingTooLarge"))}};ExportDialog.saveLocalFile=function(a,b,e,f){b.length<MAX_REQUEST_SIZE?(a.hideDialog(),(new mxXmlRequest(SAVE_URL,"xml="+encodeURIComponent(b)+"&filename="+encodeURIComponent(e)+"&format="+f)).simulate(document,"_blank")):(mxUtils.alert(mxResources.get("drawingTooLarge")),mxUtils.popup(xml))};-var EditDataDialog=function(a,b){function e(){0<K.value.length?T.removeAttribute("disabled"):T.setAttribute("disabled","disabled")}var f=document.createElement("div"),g=a.editor.graph,d=g.getModel().getValue(b);if(!mxUtils.isNode(d)){var h=mxUtils.createXmlDocument().createElement("object");h.setAttribute("label",d||"");d=h}var l={};try{var r=mxUtils.getValue(a.editor.graph.getCurrentCellStyle(b),"metaData",null);null!=r&&(l=JSON.parse(r))}catch(S){}var k=new mxForm("properties");k.table.style.width=-"100%";var u=d.attributes,w=[],y=[],A=0,G=null!=EditDataDialog.getDisplayIdForCell?EditDataDialog.getDisplayIdForCell(a,b):null,D=function(S,V){var fa=document.createElement("div");fa.style.position="relative";fa.style.paddingRight="20px";fa.style.boxSizing="border-box";fa.style.width="100%";var P=document.createElement("a"),Z=mxUtils.createImage(Dialog.prototype.closeImage);Z.style.height="9px";Z.style.fontSize="9px";Z.style.marginBottom=mxClient.IS_IE11?"-1px":"5px";P.className="geButton";P.setAttribute("title",-mxResources.get("delete"));P.style.position="absolute";P.style.top="4px";P.style.right="0px";P.style.margin="0px";P.style.width="9px";P.style.height="9px";P.style.cursor="pointer";P.appendChild(Z);V=function(X){return function(){for(var ba=0,L=0;L<w.length;L++){if(w[L]==X){y[L]=null;k.table.deleteRow(ba+(null!=G?1:0));break}null!=y[L]&&ba++}}}(V);mxEvent.addListener(P,"click",V);V=S.parentNode;fa.appendChild(S);fa.appendChild(P);V.appendChild(fa)};h=function(S,V,fa){w[S]=V;y[S]=k.addTextarea(w[A]+-":",fa,2);y[S].style.width="100%";0<fa.indexOf("\n")&&y[S].setAttribute("rows","2");D(y[S],V);null!=l[V]&&0==l[V].editable&&y[S].setAttribute("disabled","disabled")};r=[];for(var F=g.getModel().getParent(b)==g.getModel().getRoot(),H=g.getCellStyle(b),M=0;M<u.length;M++)("label"!=u[M].nodeName||"1"==H.metaEdit||Graph.translateDiagram||F)&&"placeholders"!=u[M].nodeName&&r.push({name:u[M].nodeName,value:u[M].nodeValue});r.sort(function(S,V){return"label"==S.name?1:"label"==V.name?-1:S.name<V.name?-1:-S.name>V.name?1:0});if(null!=G){u=document.createElement("div");u.style.width="100%";u.style.fontSize="11px";u.style.textAlign="center";mxUtils.write(u,G);var N=k.addField(mxResources.get("id")+":",u);mxEvent.addListener(u,"dblclick",function(S){S=new FilenameDialog(a,G,mxResources.get("apply"),mxUtils.bind(this,function(V){if(null!=V&&0<V.length&&V!=G)if(g.model.isRoot(b)){var fa=a.getPageById(G);if(null!=fa)if(null==a.getPageById(V)){var P=a.getPageIndex(fa);0<=P&&(a.removePage(fa),fa.node.setAttribute("id",-V),G=V,N.innerHTML=mxUtils.htmlEntities(V),a.insertPage(fa,P))}else a.handleError({message:mxResources.get("alreadyExst",[mxResources.get("page")])})}else null==g.getModel().getCell(V)?(g.getModel().cellRemoved(b),b.setId(V),G=V,N.innerHTML=mxUtils.htmlEntities(V),g.getModel().cellAdded(b)):a.handleError({message:mxResources.get("alreadyExst",[V])})}),mxResources.get("id"));a.showDialog(S.container,300,80,!0,!0);S.init()})}for(M=0;M<r.length;M++)h(A,r[M].name,r[M].value),A++;r=document.createElement("div");-r.style.position="absolute";r.style.top="30px";r.style.left="30px";r.style.right="30px";r.style.bottom="80px";r.style.overflowY="auto";r.appendChild(k.table);h=document.createElement("div");h.style.display="flex";h.style.alignItems="center";h.style.boxSizing="border-box";h.style.paddingRight="160px";h.style.whiteSpace="nowrap";h.style.marginTop="6px";h.style.width="100%";var K=document.createElement("input");K.setAttribute("placeholder",mxResources.get("enterPropertyName"));K.setAttribute("type",-"text");K.setAttribute("size",mxClient.IS_IE||mxClient.IS_IE11?"36":"40");K.style.boxSizing="border-box";K.style.borderWidth="1px";K.style.borderStyle="solid";K.style.marginLeft="2px";K.style.padding="4px";K.style.width="100%";h.appendChild(K);r.appendChild(h);f.appendChild(r);var T=mxUtils.button(mxResources.get("addProperty"),function(){var S=K.value;if(0<S.length&&"label"!=S&&"id"!=S&&"placeholders"!=S&&0>S.indexOf(":"))try{var V=mxUtils.indexOf(w,S);if(0<=V&&null!=y[V])y[V].focus();else{d.cloneNode(!1).setAttribute(S,+var EditDataDialog=function(a,b){function e(){0<K.value.length?T.removeAttribute("disabled"):T.setAttribute("disabled","disabled")}var f=document.createElement("div"),g=a.editor.graph,d=g.getModel().getValue(b);if(!mxUtils.isNode(d)){var h=mxUtils.createXmlDocument().createElement("object");h.setAttribute("label",d||"");d=h}var l={};try{var q=mxUtils.getValue(a.editor.graph.getCurrentCellStyle(b),"metaData",null);null!=q&&(l=JSON.parse(q))}catch(S){}var k=new mxForm("properties");k.table.style.width=+"100%";var u=d.attributes,w=[],y=[],A=0,F=null!=EditDataDialog.getDisplayIdForCell?EditDataDialog.getDisplayIdForCell(a,b):null,D=function(S,V){var fa=document.createElement("div");fa.style.position="relative";fa.style.paddingRight="20px";fa.style.boxSizing="border-box";fa.style.width="100%";var P=document.createElement("a"),Z=mxUtils.createImage(Dialog.prototype.closeImage);Z.style.height="9px";Z.style.fontSize="9px";Z.style.marginBottom=mxClient.IS_IE11?"-1px":"5px";P.className="geButton";P.setAttribute("title",+mxResources.get("delete"));P.style.position="absolute";P.style.top="4px";P.style.right="0px";P.style.margin="0px";P.style.width="9px";P.style.height="9px";P.style.cursor="pointer";P.appendChild(Z);V=function(X){return function(){for(var ba=0,L=0;L<w.length;L++){if(w[L]==X){y[L]=null;k.table.deleteRow(ba+(null!=F?1:0));break}null!=y[L]&&ba++}}}(V);mxEvent.addListener(P,"click",V);V=S.parentNode;fa.appendChild(S);fa.appendChild(P);V.appendChild(fa)};h=function(S,V,fa){w[S]=V;y[S]=k.addTextarea(w[A]++":",fa,2);y[S].style.width="100%";0<fa.indexOf("\n")&&y[S].setAttribute("rows","2");D(y[S],V);null!=l[V]&&0==l[V].editable&&y[S].setAttribute("disabled","disabled")};q=[];for(var G=g.getModel().getParent(b)==g.getModel().getRoot(),H=g.getCellStyle(b),M=0;M<u.length;M++)("label"!=u[M].nodeName||"1"==H.metaEdit||Graph.translateDiagram||G)&&"placeholders"!=u[M].nodeName&&q.push({name:u[M].nodeName,value:u[M].nodeValue});q.sort(function(S,V){return"label"==S.name?1:"label"==V.name?-1:S.name<V.name?-1:+S.name>V.name?1:0});if(null!=F){u=document.createElement("div");u.style.width="100%";u.style.fontSize="11px";u.style.textAlign="center";mxUtils.write(u,F);var N=k.addField(mxResources.get("id")+":",u);mxEvent.addListener(u,"dblclick",function(S){S=new FilenameDialog(a,F,mxResources.get("apply"),mxUtils.bind(this,function(V){if(null!=V&&0<V.length&&V!=F)if(g.model.isRoot(b)){var fa=a.getPageById(F);if(null!=fa)if(null==a.getPageById(V)){var P=a.getPageIndex(fa);0<=P&&(a.removePage(fa),fa.node.setAttribute("id",+V),F=V,N.innerHTML=mxUtils.htmlEntities(V),a.insertPage(fa,P))}else a.handleError({message:mxResources.get("alreadyExst",[mxResources.get("page")])})}else null==g.getModel().getCell(V)?(g.getModel().cellRemoved(b),b.setId(V),F=V,N.innerHTML=mxUtils.htmlEntities(V),g.getModel().cellAdded(b)):a.handleError({message:mxResources.get("alreadyExst",[V])})}),mxResources.get("id"));a.showDialog(S.container,300,80,!0,!0);S.init()})}for(M=0;M<q.length;M++)h(A,q[M].name,q[M].value),A++;q=document.createElement("div");+q.style.position="absolute";q.style.top="30px";q.style.left="30px";q.style.right="30px";q.style.bottom="80px";q.style.overflowY="auto";q.appendChild(k.table);h=document.createElement("div");h.style.display="flex";h.style.alignItems="center";h.style.boxSizing="border-box";h.style.paddingRight="160px";h.style.whiteSpace="nowrap";h.style.marginTop="6px";h.style.width="100%";var K=document.createElement("input");K.setAttribute("placeholder",mxResources.get("enterPropertyName"));K.setAttribute("type",+"text");K.setAttribute("size",mxClient.IS_IE||mxClient.IS_IE11?"36":"40");K.style.boxSizing="border-box";K.style.borderWidth="1px";K.style.borderStyle="solid";K.style.marginLeft="2px";K.style.padding="4px";K.style.width="100%";h.appendChild(K);q.appendChild(h);f.appendChild(q);var T=mxUtils.button(mxResources.get("addProperty"),function(){var S=K.value;if(0<S.length&&"label"!=S&&"id"!=S&&"placeholders"!=S&&0>S.indexOf(":"))try{var V=mxUtils.indexOf(w,S);if(0<=V&&null!=y[V])y[V].focus();else{d.cloneNode(!1).setAttribute(S,"");0<=V&&(w.splice(V,1),y.splice(V,1));w.push(S);var fa=k.addTextarea(S+":","",2);fa.style.width="100%";y.push(fa);D(fa,S);fa.focus()}T.setAttribute("disabled","disabled");K.value=""}catch(P){mxUtils.alert(P)}else mxUtils.alert(mxResources.get("invalidName"))});mxEvent.addListener(K,"keypress",function(S){13==S.keyCode&&T.click()});this.init=function(){0<y.length?y[0].focus():K.focus()};T.setAttribute("title",mxResources.get("addProperty"));T.setAttribute("disabled","disabled");T.style.textOverflow=-"ellipsis";T.style.position="absolute";T.style.overflow="hidden";T.style.width="144px";T.style.right="0px";T.className="geBtn";h.appendChild(T);r=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog.apply(a,arguments)});r.setAttribute("title","Escape");r.className="geBtn";h=mxUtils.button(mxResources.get("export"),mxUtils.bind(this,function(S){var V=g.getDataForCells([b],!0);S=new EmbedDialog(a,JSON.stringify(V,null,2),null,null,function(){console.log(V);a.alert("Written to Console (Dev Tools)")},+"ellipsis";T.style.position="absolute";T.style.overflow="hidden";T.style.width="144px";T.style.right="0px";T.className="geBtn";h.appendChild(T);q=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog.apply(a,arguments)});q.setAttribute("title","Escape");q.className="geBtn";h=mxUtils.button(mxResources.get("export"),mxUtils.bind(this,function(S){var V=g.getDataForCells([b],!0);S=new EmbedDialog(a,JSON.stringify(V,null,2),null,null,function(){console.log(V);a.alert("Written to Console (Dev Tools)")},mxResources.get("export"),null,"Console","data.json");a.showDialog(S.container,450,240,!0,!0);S.init()}));h.setAttribute("title",mxResources.get("export"));h.className="geBtn";var W=mxUtils.button(mxResources.get("apply"),function(){try{a.hideDialog.apply(a,arguments);d=d.cloneNode(!0);for(var S=!1,V=0;V<w.length;V++)null==y[V]?d.removeAttribute(w[V]):(d.setAttribute(w[V],y[V].value),S=S||"placeholder"==w[V]&&"1"==d.getAttribute("placeholders"));S&&d.removeAttribute("label");g.getModel().setValue(b,d)}catch(fa){mxUtils.alert(fa)}});W.setAttribute("title","Ctrl+Enter");W.className="geBtn gePrimaryBtn";mxEvent.addListener(f,"keydown",function(S){13==S.keyCode&&mxEvent.isControlDown(S)&&W.click()});mxEvent.addListener(K,"keyup",e);mxEvent.addListener(K,"change",e);u=document.createElement("div");u.style.display="flex";u.style.justifyContent="flex-end";u.style.alignItems="center";u.style.position="absolute";u.style.left="30px";u.style.right="30px";u.style.bottom="30px";u.style.height="40px";if(a.editor.graph.getModel().isVertex(b)||-a.editor.graph.getModel().isEdge(b))F=document.createElement("span"),F.style.marginRight="10px",F.style.justifyContent="flex-end",F.style.alignItems="center",F.style.display="flex",F.style.whiteSpace="nowrap",H=document.createElement("input"),H.setAttribute("type","checkbox"),H.style.marginRight="6px","1"==d.getAttribute("placeholders")&&(H.setAttribute("checked","checked"),H.defaultChecked=!0),mxEvent.addListener(H,"click",function(){"1"==d.getAttribute("placeholders")?d.removeAttribute("placeholders"):-d.setAttribute("placeholders","1")}),F.appendChild(H),mxUtils.write(F,mxResources.get("placeholders")),null!=EditDataDialog.placeholderHelpLink&&F.appendChild(a.createHelpIcon(EditDataDialog.placeholderHelpLink)),u.appendChild(F);a.editor.cancelFirst&&u.appendChild(r);u.appendChild(h);u.appendChild(W);a.editor.cancelFirst||u.appendChild(r);f.appendChild(u);this.container=f};EditDataDialog.getDisplayIdForCell=function(a,b){var e=null;null!=a.editor.graph.getModel().getParent(b)&&(e=b.getId());return e};+a.editor.graph.getModel().isEdge(b))G=document.createElement("span"),G.style.marginRight="10px",G.style.justifyContent="flex-end",G.style.alignItems="center",G.style.display="flex",G.style.whiteSpace="nowrap",H=document.createElement("input"),H.setAttribute("type","checkbox"),H.style.marginRight="6px","1"==d.getAttribute("placeholders")&&(H.setAttribute("checked","checked"),H.defaultChecked=!0),mxEvent.addListener(H,"click",function(){"1"==d.getAttribute("placeholders")?d.removeAttribute("placeholders"):+d.setAttribute("placeholders","1")}),G.appendChild(H),mxUtils.write(G,mxResources.get("placeholders")),null!=EditDataDialog.placeholderHelpLink&&G.appendChild(a.createHelpIcon(EditDataDialog.placeholderHelpLink)),u.appendChild(G);a.editor.cancelFirst&&u.appendChild(q);u.appendChild(h);u.appendChild(W);a.editor.cancelFirst||u.appendChild(q);f.appendChild(u);this.container=f};EditDataDialog.getDisplayIdForCell=function(a,b){var e=null;null!=a.editor.graph.getModel().getParent(b)&&(e=b.getId());return e};EditDataDialog.placeholderHelpLink=null;var LinkDialog=function(a,b,e,f){var g=document.createElement("div");mxUtils.write(g,mxResources.get("editLink")+":");var d=document.createElement("div");d.className="geTitle";d.style.backgroundColor="transparent";d.style.borderColor="transparent";d.style.whiteSpace="nowrap";d.style.textOverflow="clip";d.style.cursor="default";d.style.paddingRight="20px";var h=document.createElement("input");h.setAttribute("value",b);h.setAttribute("placeholder","http://www.example.com/");h.setAttribute("type","text");h.style.marginTop="6px";h.style.width="400px";h.style.backgroundImage="url('"+Dialog.prototype.clearImage+"')";h.style.backgroundRepeat="no-repeat";h.style.backgroundPosition="100% 50%";h.style.paddingRight="14px";b=document.createElement("div");b.setAttribute("title",mxResources.get("reset"));b.style.position="relative";b.style.left="-16px";b.style.width="12px";b.style.height="14px";b.style.cursor="pointer";b.style.display="inline-block";b.style.top="3px";b.style.background="url("+IMAGE_PATH+"/transparent.gif)";mxEvent.addListener(b,"click",function(){h.value="";h.focus()});d.appendChild(h);d.appendChild(b);g.appendChild(d);this.init=function(){h.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?h.select():document.execCommand("selectAll",!1,null)};d=document.createElement("div");d.style.marginTop="18px";d.style.textAlign="right";mxEvent.addListener(h,"keypress",function(l){13==l.keyCode&&(a.hideDialog(),f(h.value))});b=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});b.className="geBtn";a.editor.cancelFirst&&d.appendChild(b);e=mxUtils.button(e,function(){a.hideDialog();f(h.value)});e.className="geBtn gePrimaryBtn";d.appendChild(e);a.editor.cancelFirst||d.appendChild(b);g.appendChild(d);this.container=g},OutlineWindow=function(a,b,e,f,g){var d=a.editor.graph,h=document.createElement("div");h.style.position="absolute";h.style.width="100%";h.style.height="100%";h.style.overflow="hidden";this.window=new mxWindow(mxResources.get("outline"),h,b,e,f,g,!0,!0);this.window.minimumSize=new mxRectangle(0,0,80,80);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);var l=a.createOutline(this.window);a.installResizeHandler(this,!0,function(){l.destroy()});this.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){this.window.fit();l.setSuspended(!1)}));this.window.addListener(mxEvent.HIDE,mxUtils.bind(this,function(){l.setSuspended(!0)}));this.window.addListener(mxEvent.NORMALIZE,mxUtils.bind(this,-function(){l.setSuspended(!1)}));this.window.addListener(mxEvent.MINIMIZE,mxUtils.bind(this,function(){l.setSuspended(!0)}));l.init(h);mxEvent.addMouseWheelListener(function(r,k){for(var u=!1,w=mxEvent.getSource(r);null!=w;){if(w==l.svg){u=!0;break}w=w.parentNode}u&&(u=d.zoomFactor,null!=r.deltaY&&Math.round(r.deltaY)!=r.deltaY&&(u=1+Math.abs(r.deltaY)/20*(u-1)),d.lazyZoom(k,null,null,u),mxEvent.consume(r))})},LayersWindow=function(a,b,e,f,g){function d(Z){if(y.isEnabled()&&null!=Z){var X=K.get(Z);+function(){l.setSuspended(!1)}));this.window.addListener(mxEvent.MINIMIZE,mxUtils.bind(this,function(){l.setSuspended(!0)}));l.init(h);mxEvent.addMouseWheelListener(function(q,k){for(var u=!1,w=mxEvent.getSource(q);null!=w;){if(w==l.svg){u=!0;break}w=w.parentNode}u&&(u=d.zoomFactor,null!=q.deltaY&&Math.round(q.deltaY)!=q.deltaY&&(u=1+Math.abs(q.deltaY)/20*(u-1)),d.lazyZoom(k,null,null,u),mxEvent.consume(q))})},LayersWindow=function(a,b,e,f,g){function d(Z){if(y.isEnabled()&&null!=Z){var X=K.get(Z);if(null!=X){var ba=X.getElementsByTagName("div");if(null!=ba&&1<ba.length){var L=ba[1],U=mxUtils.getTextContent(L);L.style.textOverflow="";L.style.cursor="text";L.contentEditable="true";L.focus();document.execCommand("selectAll",!1,null);X.removeAttribute("draggable");X.style.cursor="";var aa=function(ha){if("true"==L.contentEditable){L.contentEditable="false";var ma=mxUtils.getTextContent(L);ha&&ma!=U?(ma=mxUtils.getTextContent(L),0<ma.length?y.cellLabelChanged(Z,ma):y.cellLabelChanged(Z,mxResources.get("untitledLayer"))):-w()}};mxEvent.addListener(L,"keydown",function(ha){if(13==ha.keyCode||27==ha.keyCode)aa(13==ha.keyCode),mxEvent.consume(ha)});mxEvent.addListener(L,"blur",function(ha){aa(!0);mxEvent.consume(ha)})}}}}function h(Z){for(var X=K.getValues(),ba=0;ba<X.length;ba++){var L=X[ba].getElementsByTagName("input")[0];null!=L&&(L.checked=null!=Z?Z:!L.checked)}}function l(Z){Z=K.get(Z);return null!=Z?(Z=Z.getElementsByTagName("input")[0],null!=Z&&Z.checked):!1}function r(Z,X){for(var ba=[],L=0;L<A.getChildCount(A.root);L++){var U=+w()}};mxEvent.addListener(L,"keydown",function(ha){if(13==ha.keyCode||27==ha.keyCode)aa(13==ha.keyCode),mxEvent.consume(ha)});mxEvent.addListener(L,"blur",function(ha){aa(!0);mxEvent.consume(ha)})}}}}function h(Z){for(var X=K.getValues(),ba=0;ba<X.length;ba++){var L=X[ba].getElementsByTagName("input")[0];null!=L&&(L.checked=null!=Z?Z:!L.checked)}}function l(Z){Z=K.get(Z);return null!=Z?(Z=Z.getElementsByTagName("input")[0],null!=Z&&Z.checked):!1}function q(Z,X){for(var ba=[],L=0;L<A.getChildCount(A.root);L++){var U=A.getChildAt(A.root,L);U!=Z&&(X||l(U))&&ba.push(U)}return ba}function k(Z,X){y.setCellStyles("locked",X?"1":"0",Z);if(X)for(X=0;X<Z.length;X++)y.removeSelectionCells(A.getDescendants(Z[X]))}function u(){var Z=K.get(y.getLayerForCells(y.getSelectionCells()));null!=Z?Z.appendChild(P):null!=P.parentNode&&P.parentNode.removeChild(P)}function w(){function Z(L,U,aa,ha,ma){var oa=document.createElement("div");oa.className="geToolbarContainer";oa.style.overflow="hidden";oa.style.position="relative";oa.style.height="30px";oa.style.display="flex";oa.style.padding="0 8px";oa.style.alignItems="center";oa.style.justifyContent="flex-start";oa.style.borderWidth="0px 0px 1px 0px";oa.style.borderStyle="solid";oa.style.whiteSpace="nowrap";oa.style.cursor="move";oa.setAttribute("draggable","true");oa.setAttribute("title",U+" ("+aa.getId()+")");X.put(aa,oa);var ca=document.createElement("input");ca.setAttribute("type","checkbox");ca.style.cursor="pointer";ca.style.order="2";ca.checked=ma;ca.style.display=y.isEnabled()?-"":"none";oa.appendChild(ca);ma=document.createElement("div");ma.style.display="flex";ma.style.alignItems="center";ma.style.flexGrow="1";mxEvent.addListener(ca,"click",function(ja){mxEvent.isShiftDown(ja)&&h(ca.checked)});var la=document.createElement("div");mxUtils.write(la,U);la.style.whiteSpace="nowrap";la.style.overflow="hidden";la.style.textOverflow="ellipsis";la.style.marginRight="4px";la.style.padding="4px";la.style.flexGrow="1";mxEvent.addListener(oa,"dragover",function(ja){ja.dataTransfer.dropEffect=-"move";H=L;ja.stopPropagation();ja.preventDefault()});mxEvent.addListener(oa,"dragstart",function(ja){"true"!=la.contentEditable&&(F=oa,mxClient.IS_FF&&ja.dataTransfer.setData("Text","<layer/>"))});mxEvent.addListener(oa,"dragend",function(ja){null!=F&&null!=H&&1<A.getChildCount(A.root)&&y.addCell(aa,A.root,H);H=F=null;ja.stopPropagation();ja.preventDefault()});var ia=A.isVisible(aa);U=document.createElement("img");U.className="geAdaptiveAsset";U.style.width="16px";U.style.padding="0px 6px 0 0";U.style.cursor=-"pointer";U.setAttribute("title",mxResources.get(ia?"hide":"show"));ia?(U.setAttribute("src",Editor.visibleImage),mxUtils.setOpacity(ma,90)):(U.setAttribute("src",Editor.hiddenImage),mxUtils.setOpacity(ma,40));y.isEnabled()||mxUtils.setOpacity(U,50);ma.appendChild(U);mxEvent.addListener(U,"click",function(ja){if(y.isEnabled())if(mxEvent.isShiftDown(ja)){for(var va=r(aa,!0),za=y,La=za.setCellsVisible,Na=!0,Ja=0;Ja<va.length;Ja++)if(!A.isVisible(va[Ja])){Na=!1;break}La.call(za,va,!Na)}else y.setCellsVisible([aa],-!ia);mxEvent.consume(ja)});U=U.cloneNode(!1);var O=y.getCurrentCellStyle(aa);U.setAttribute("title",mxResources.get("lockUnlock"));var qa="1"==mxUtils.getValue(O,"locked","0");qa?(U.setAttribute("src",Editor.lockedImage),mxUtils.setOpacity(U,90),oa.style.color="red"):(U.setAttribute("src",Editor.unlockedImage),mxUtils.setOpacity(U,40));y.isEnabled()&&(U.style.cursor="pointer");mxEvent.addListener(U,"click",function(ja){y.isEnabled()&&(k(mxEvent.isShiftDown(ja)?r(null,!0):[aa],!qa),mxEvent.consume(ja))});-ma.appendChild(U);ma.appendChild(la);oa.appendChild(ma);mxEvent.addListener(oa,"dblclick",function(ja){var va=mxEvent.getSource(ja).nodeName;"INPUT"!=va&&"IMG"!=va&&"true"!=la.contentEditable&&(d(aa),mxEvent.consume(ja))});y.getDefaultParent()==aa&&(oa.classList.add("geActivePage"),oa.style.fontWeight=y.isEnabled()?"bold":"",N=aa);mxEvent.addListener(oa,"click",function(ja){y.isEnabled()&&"true"!=la.contentEditable&&mxEvent.getSource(ja)!=ca&&(y.setDefaultParent(ha),y.view.setCurrentRoot(null),mxEvent.isShiftDown(ja)&&-(y.clearSelection(),y.selectAll(N)),mxEvent.consume(ja))});D.appendChild(oa)}y.isEnabled()?(fa.classList.remove("mxDisabled"),V.classList.remove("mxDisabled"),S.classList.remove("mxDisabled")):(fa.classList.add("mxDisabled"),V.classList.add("mxDisabled"),S.classList.add("mxDisabled"));M=A.getChildCount(A.root);D.innerText="";for(var X=new mxDictionary,ba=M-1;0<=ba;ba--)mxUtils.bind(this,function(L){Z(ba,y.convertValueToString(L)||mxResources.get("background"),L,L,l(L))})(A.getChildAt(A.root,ba));-K=X;u()}var y=a.editor.graph,A=y.getModel(),G=document.createElement("div");G.style.userSelect="none";G.style.height="100%";G.style.marginBottom="10px";G.style.overflow="auto";var D=document.createElement("div");D.style.position="absolute";D.style.overflow="auto";D.style.left="0px";D.style.right="0px";D.style.top="0px";D.style.bottom="32px";G.appendChild(D);var F=null,H=null;mxEvent.addListener(G,"dragover",function(Z){Z.dataTransfer.dropEffect="move";H=0;Z.stopPropagation();Z.preventDefault()});-mxEvent.addListener(G,"drop",function(Z){Z.stopPropagation();Z.preventDefault()});var M=null,N=null,K=new mxDictionary,T=document.createElement("div");T.className="geToolbarContainer geDialogToolbar";var W=document.createElement("a");W.className="geButton";var S=W.cloneNode(!1);S.style.backgroundImage="url("+Editor.plusImage+")";S.setAttribute("title",mxResources.get("addLayer"));mxEvent.addListener(S,"click",function(Z){if(y.isEnabled()){h(!1);A.beginUpdate();try{var X=y.addCell(new mxCell(mxResources.get("untitledLayer")),-A.root);y.setDefaultParent(X)}finally{A.endUpdate()}d(X)}mxEvent.consume(Z)});y.isEnabled()||S.classList.add("mxDisabled");T.appendChild(S);var V=W.cloneNode(!1);V.style.backgroundImage="url("+Editor.menuImage+")";T.appendChild(V);mxEvent.addListener(V,"click",function(Z){if(y.isEnabled()){a.editor.graph.popupMenuHandler.hideMenu();var X=r(),ba=A.root.getIndex(N),L=0<X.length&&y.isEnabled(),U=mxResources.get("nothingIsSelected"),aa=y.getLayerForCells(y.getSelectionCells()),ha=y.convertValueToString(N)||-mxResources.get("background"),ma=new mxPopupMenu(mxUtils.bind(this,function(la,ia){var O=la.addItem(mxResources.get("layers"),null,null,ia);la.addItem(mxResources.get("selectAll"),null,mxUtils.bind(this,function(){w();h(!0)}),O);la.addItem(mxResources.get("selectNone"),null,mxUtils.bind(this,function(){w();h(!1)}),O,null,0<X.length).setAttribute("title",0<X.length?mxResources.get("selectNone"):U);la.addItem(mxResources.get("invertSelection"),null,mxUtils.bind(this,function(){w();h()}),O);la.addSeparator(O);-la.addItem(mxResources.get("show"),null,mxUtils.bind(this,function(){y.setCellsVisible(X,!0)}),O,null,L).setAttribute("title",0<X.length?mxResources.get("show"):U);la.addItem(mxResources.get("hide"),null,mxUtils.bind(this,function(){y.setCellsVisible(X,!1)}),O,null,L).setAttribute("title",0<X.length?mxResources.get("hide"):U);la.addSeparator(O);la.addItem(mxResources.get("lock"),null,mxUtils.bind(this,function(){k(r(),!0)}),O,null,L).setAttribute("title",0<X.length?mxResources.get("lock"):U);la.addItem(mxResources.get("unlock"),-null,mxUtils.bind(this,function(){k(r(),!1)}),O,null,L).setAttribute("title",0<X.length?mxResources.get("unlock"):U);O=la.addItem(mxResources.get("currentLayer"),null,null,ia);la.addItem(mxResources.get("duplicate"),null,mxUtils.bind(this,function(){h(!1);var ja=null;A.beginUpdate();try{ja=y.cloneCell(N),y.cellLabelChanged(ja,mxResources.get("copyOf",[ha])),ja=y.addCell(ja,A.root,ba+1),ja.setVisible(!0)}finally{A.endUpdate()}null==ja||y.isCellLocked(ja)||(y.setDefaultParent(ja),y.selectAll(ja))}),-O);la.addSeparator(O);la.addItem(mxResources.get("rename"),null,mxUtils.bind(this,function(){d(N)}),O);la.addItem(mxResources.get("editData"),null,mxUtils.bind(this,function(){a.showDataDialog(N)}),O);1<M&&(la.addSeparator(O),la.addItem(mxResources.get("toFront"),null,mxUtils.bind(this,function(){y.addCell(N,A.root,M-1)}),O,null,0<=ba&&ba<M-1),la.addItem(mxResources.get("toBack"),null,mxUtils.bind(this,function(){y.addCell(N,A.root,0)}),O,null,0<ba),2<M&&(la.addItem(mxResources.get("bringForward"),-null,mxUtils.bind(this,function(){y.addCell(N,A.root,ba+1)}),O,null,0<=ba&&ba<M-1),la.addItem(mxResources.get("sendBackward"),null,mxUtils.bind(this,function(){y.addCell(N,A.root,ba-1)}),O,null,0<ba)));la.addSeparator(O);la.addItem(mxResources.get("selectObjectsInLayer"),null,mxUtils.bind(this,function(){y.clearSelection();y.selectAll(N)}),O,null,null!=N.children&&0<N.children.length);var qa=la.addItem(mxResources.get("moveSelectionTo",[""]),null,null,ia,null,!y.isSelectionEmpty());y.isSelectionEmpty()&&-qa.setAttribute("title",mxResources.get("nothingIsSelected"));for(ia=M-1;0<=ia;ia--)mxUtils.bind(this,function(ja){var va="1"==mxUtils.getValue(y.getCurrentCellStyle(ja),"locked","0"),za=la.addItem(y.convertValueToString(ja)||mxResources.get("background"),null,mxUtils.bind(this,function(){va||y.moveCells(y.getSelectionCells(),0,0,!1,ja)}),qa,null,!va);va&&za.setAttribute("title",mxResources.get("locked"));ja==aa&&la.addCheckmark(za,Editor.checkmarkImage)})(A.getChildAt(A.root,ia))}));ma.smartSeparators=-!0;ma.showDisabled=!0;ma.autoExpand=!0;ma.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(ma,arguments);ma.destroy()});var oa=mxEvent.getClientX(Z),ca=mxEvent.getClientY(Z);ma.popup(oa,ca,null,Z);a.setCurrentMenu(ma);mxEvent.consume(Z)}});y.isEnabled()||V.classList.add("mxDisabled");var fa=W.cloneNode(!1);fa.style.backgroundImage="url("+Editor.trashImage+")";fa.setAttribute("title",mxResources.get("delete"));T.appendChild(fa);mxEvent.addListener(fa,"click",function(Z){if(y.isEnabled()){A.beginUpdate();-try{var X=A.root.getIndex(N),ba=r();0==ba.length&&ba.push(N);y.removeCells(ba,!1);0==A.getChildCount(A.root)?(A.add(A.root,new mxCell),y.setDefaultParent(null)):0<X&&X<=A.getChildCount(A.root)?y.setDefaultParent(A.getChildAt(A.root,X-1)):y.setDefaultParent(null)}finally{A.endUpdate()}}mxEvent.consume(Z)});y.isEnabled()||fa.classList.add("mxDisabled");G.appendChild(T);var P=document.createElement("span");P.setAttribute("title",mxResources.get("allSelectedObjectsInThisLayer"));P.innerHTML="•";-P.style.padding="0 2px";P.style.fontSize="16pt";P.style.right="6px";P.style.order="1";w();A.addListener(mxEvent.CHANGE,w);y.addListener("defaultParentChanged",w);a.addListener("lockedChanged",w);y.selectionModel.addListener(mxEvent.CHANGE,function(){u()});this.window=new mxWindow(mxResources.get("layers"),G,b,e,f,g,!0,!0);this.window.minimumSize=new mxRectangle(0,0,170,120);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);-this.init=function(){D.scrollTop=D.scrollHeight-D.clientHeight};this.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){this.window.fit()}));this.refreshLayers=w;a.installResizeHandler(this,!0)};+"":"none";oa.appendChild(ca);ma=document.createElement("div");ma.style.display="flex";ma.style.alignItems="center";ma.style.minWidth="0";ma.style.flexGrow="1";mxEvent.addListener(ca,"click",function(ja){mxEvent.isShiftDown(ja)&&h(ca.checked)});var la=document.createElement("div");mxUtils.write(la,U);la.style.whiteSpace="nowrap";la.style.overflow="hidden";la.style.textOverflow="ellipsis";la.style.marginRight="4px";la.style.padding="4px";la.style.flexGrow="1";mxEvent.addListener(oa,"dragover",function(ja){ja.dataTransfer.dropEffect=+"move";H=L;ja.stopPropagation();ja.preventDefault()});mxEvent.addListener(oa,"dragstart",function(ja){"true"!=la.contentEditable&&(G=oa,mxClient.IS_FF&&ja.dataTransfer.setData("Text","<layer/>"))});mxEvent.addListener(oa,"dragend",function(ja){var va=q();if(null!=G&&null!=H&&1<A.getChildCount(A.root)){va=0==va.length?[aa]:va;A.beginUpdate();try{for(var ya=0;ya<va.length;ya++)y.addCell(va[ya],A.root,H)}finally{A.endUpdate()}}H=G=null;ja.stopPropagation();ja.preventDefault()});var ia=A.isVisible(aa);+U=document.createElement("img");U.className="geAdaptiveAsset";U.style.width="16px";U.style.padding="0px 6px 0 0";U.style.cursor="pointer";U.setAttribute("title",mxResources.get(ia?"hide":"show"));ia?(U.setAttribute("src",Editor.visibleImage),mxUtils.setOpacity(ma,90)):(U.setAttribute("src",Editor.hiddenImage),mxUtils.setOpacity(ma,40));y.isEnabled()||mxUtils.setOpacity(U,50);ma.appendChild(U);mxEvent.addListener(U,"click",function(ja){if(y.isEnabled())if(mxEvent.isShiftDown(ja)){for(var va=q(aa,!0),+ya=y,La=ya.setCellsVisible,Na=!0,Ja=0;Ja<va.length;Ja++)if(!A.isVisible(va[Ja])){Na=!1;break}La.call(ya,va,!Na)}else y.setCellsVisible([aa],!ia);mxEvent.consume(ja)});U=U.cloneNode(!1);var O=y.getCurrentCellStyle(aa);U.setAttribute("title",mxResources.get("lockUnlock"));var qa="1"==mxUtils.getValue(O,"locked","0");qa?(U.setAttribute("src",Editor.lockedImage),mxUtils.setOpacity(U,90),oa.style.color="red"):(U.setAttribute("src",Editor.unlockedImage),mxUtils.setOpacity(U,40));y.isEnabled()&&(U.style.cursor=+"pointer");mxEvent.addListener(U,"click",function(ja){y.isEnabled()&&(k(mxEvent.isShiftDown(ja)?q(null,!0):[aa],!qa),mxEvent.consume(ja))});ma.appendChild(U);ma.appendChild(la);oa.appendChild(ma);mxEvent.addListener(oa,"dblclick",function(ja){var va=mxEvent.getSource(ja).nodeName;"INPUT"!=va&&"IMG"!=va&&"true"!=la.contentEditable&&(d(aa),mxEvent.consume(ja))});y.getDefaultParent()==aa&&(oa.classList.add("geActivePage"),oa.style.fontWeight=y.isEnabled()?"bold":"",N=aa);mxEvent.addListener(oa,"click",+function(ja){y.isEnabled()&&"true"!=la.contentEditable&&mxEvent.getSource(ja)!=ca&&(y.setDefaultParent(ha),y.view.setCurrentRoot(null),mxEvent.isShiftDown(ja)&&(y.clearSelection(),y.selectAll(N)),mxEvent.consume(ja))});D.appendChild(oa)}y.isEnabled()?(fa.classList.remove("mxDisabled"),V.classList.remove("mxDisabled"),S.classList.remove("mxDisabled")):(fa.classList.add("mxDisabled"),V.classList.add("mxDisabled"),S.classList.add("mxDisabled"));M=A.getChildCount(A.root);D.innerText="";for(var X=new mxDictionary,+ba=M-1;0<=ba;ba--)mxUtils.bind(this,function(L){Z(ba,y.convertValueToString(L)||mxResources.get("background"),L,L,l(L))})(A.getChildAt(A.root,ba));K=X;u()}var y=a.editor.graph,A=y.getModel(),F=document.createElement("div");F.style.userSelect="none";F.style.height="100%";F.style.marginBottom="10px";F.style.overflow="auto";var D=document.createElement("div");D.style.position="absolute";D.style.overflow="auto";D.style.left="0px";D.style.right="0px";D.style.top="0px";D.style.bottom="32px";F.appendChild(D);+var G=null,H=null;mxEvent.addListener(F,"dragover",function(Z){Z.dataTransfer.dropEffect="move";H=0;Z.stopPropagation();Z.preventDefault()});mxEvent.addListener(F,"drop",function(Z){Z.stopPropagation();Z.preventDefault()});var M=null,N=null,K=new mxDictionary,T=document.createElement("div");T.className="geToolbarContainer geDialogToolbar";var W=document.createElement("a");W.className="geButton";var S=W.cloneNode(!1);S.style.backgroundImage="url("+Editor.plusImage+")";S.setAttribute("title",mxResources.get("addLayer"));+mxEvent.addListener(S,"click",function(Z){if(y.isEnabled()){h(!1);A.beginUpdate();try{var X=y.addCell(new mxCell(mxResources.get("untitledLayer")),A.root);y.setDefaultParent(X)}finally{A.endUpdate()}d(X)}mxEvent.consume(Z)});y.isEnabled()||S.classList.add("mxDisabled");T.appendChild(S);var V=W.cloneNode(!1);V.style.backgroundImage="url("+Editor.menuImage+")";T.appendChild(V);mxEvent.addListener(V,"click",function(Z){if(y.isEnabled()){a.editor.graph.popupMenuHandler.hideMenu();var X=q(),ba=A.root.getIndex(N),+L=0<X.length&&y.isEnabled(),U=mxResources.get("nothingIsSelected"),aa=y.getLayerForCells(y.getSelectionCells()),ha=y.convertValueToString(N)||mxResources.get("background"),ma=new mxPopupMenu(mxUtils.bind(this,function(la,ia){var O=la.addItem(mxResources.get("layers"),null,null,ia);la.addItem(mxResources.get("selectAll"),null,mxUtils.bind(this,function(){w();h(!0)}),O);la.addItem(mxResources.get("selectNone"),null,mxUtils.bind(this,function(){w();h(!1)}),O,null,0<X.length).setAttribute("title",0<X.length?+mxResources.get("selectNone"):U);la.addItem(mxResources.get("invertSelection"),null,mxUtils.bind(this,function(){w();h()}),O);la.addSeparator(O);la.addItem(mxResources.get("show"),null,mxUtils.bind(this,function(){y.setCellsVisible(X,!0)}),O,null,L).setAttribute("title",0<X.length?mxResources.get("show"):U);la.addItem(mxResources.get("hide"),null,mxUtils.bind(this,function(){y.setCellsVisible(X,!1)}),O,null,L).setAttribute("title",0<X.length?mxResources.get("hide"):U);la.addSeparator(O);la.addItem(mxResources.get("lock"),+null,mxUtils.bind(this,function(){k(q(),!0)}),O,null,L).setAttribute("title",0<X.length?mxResources.get("lock"):U);la.addItem(mxResources.get("unlock"),null,mxUtils.bind(this,function(){k(q(),!1)}),O,null,L).setAttribute("title",0<X.length?mxResources.get("unlock"):U);O=la.addItem(mxResources.get("currentLayer"),null,null,ia);la.addItem(mxResources.get("duplicate"),null,mxUtils.bind(this,function(){h(!1);var ja=null;A.beginUpdate();try{ja=y.cloneCell(N),y.cellLabelChanged(ja,mxResources.get("copyOf",+[ha])),ja=y.addCell(ja,A.root,ba+1),ja.setVisible(!0)}finally{A.endUpdate()}null==ja||y.isCellLocked(ja)||(y.setDefaultParent(ja),y.selectAll(ja))}),O);la.addItem(mxResources.get("addLayer"),null,mxUtils.bind(this,function(ja){if(y.isEnabled()){h(!1);A.beginUpdate();try{var va=y.addCell(new mxCell(mxResources.get("untitledLayer")),A.root,ba+(mxEvent.isShiftDown(ja)?0:1));y.setDefaultParent(va)}finally{A.endUpdate()}d(va)}mxEvent.consume(ja)}),O);la.addSeparator(O);la.addItem(mxResources.get("rename"),+null,mxUtils.bind(this,function(){d(N)}),O);la.addItem(mxResources.get("editData"),null,mxUtils.bind(this,function(){a.showDataDialog(N)}),O);1<M&&(la.addSeparator(O),la.addItem(mxResources.get("toFront"),null,mxUtils.bind(this,function(){y.addCell(N,A.root,M-1)}),O,null,0<=ba&&ba<M-1),la.addItem(mxResources.get("toBack"),null,mxUtils.bind(this,function(){y.addCell(N,A.root,0)}),O,null,0<ba),2<M&&(la.addItem(mxResources.get("bringForward"),null,mxUtils.bind(this,function(){y.addCell(N,A.root,ba+1)}),+O,null,0<=ba&&ba<M-1),la.addItem(mxResources.get("sendBackward"),null,mxUtils.bind(this,function(){y.addCell(N,A.root,ba-1)}),O,null,0<ba)));la.addSeparator(O);la.addItem(mxResources.get("selectObjectsInLayer"),null,mxUtils.bind(this,function(){y.clearSelection();y.selectAll(N)}),O,null,null!=N.children&&0<N.children.length);var qa=la.addItem(mxResources.get("moveSelectionTo",[""]),null,null,ia,null,!y.isSelectionEmpty());y.isSelectionEmpty()&&qa.setAttribute("title",mxResources.get("nothingIsSelected"));+for(ia=M-1;0<=ia;ia--)mxUtils.bind(this,function(ja){var va="1"==mxUtils.getValue(y.getCurrentCellStyle(ja),"locked","0"),ya=la.addItem(y.convertValueToString(ja)||mxResources.get("background"),null,mxUtils.bind(this,function(){va||y.moveCells(y.getSelectionCells(),0,0,!1,ja)}),qa,null,!va);va&&ya.setAttribute("title",mxResources.get("locked"));ja==aa&&la.addCheckmark(ya,Editor.checkmarkImage)})(A.getChildAt(A.root,ia))}));ma.smartSeparators=!0;ma.showDisabled=!0;ma.autoExpand=!0;ma.hideMenu=mxUtils.bind(this,+function(){mxPopupMenu.prototype.hideMenu.apply(ma,arguments);ma.destroy()});var oa=mxEvent.getClientX(Z),ca=mxEvent.getClientY(Z);ma.popup(oa,ca,null,Z);a.setCurrentMenu(ma);mxEvent.consume(Z)}});y.isEnabled()||V.classList.add("mxDisabled");var fa=W.cloneNode(!1);fa.style.backgroundImage="url("+Editor.trashImage+")";fa.setAttribute("title",mxResources.get("delete"));T.appendChild(fa);mxEvent.addListener(fa,"click",function(Z){if(y.isEnabled()){A.beginUpdate();try{var X=A.root.getIndex(N),ba=q();+0==ba.length&&ba.push(N);y.removeCells(ba,!1);0==A.getChildCount(A.root)?(A.add(A.root,new mxCell),y.setDefaultParent(null)):0<X&&X<=A.getChildCount(A.root)?y.setDefaultParent(A.getChildAt(A.root,X-1)):y.setDefaultParent(null)}finally{A.endUpdate()}}mxEvent.consume(Z)});y.isEnabled()||fa.classList.add("mxDisabled");F.appendChild(T);var P=document.createElement("span");P.setAttribute("title",mxResources.get("allSelectedObjectsInThisLayer"));P.innerHTML="•";P.style.padding="0 2px";P.style.fontSize=+"16pt";P.style.order="1";w();A.addListener(mxEvent.CHANGE,w);y.addListener("defaultParentChanged",w);a.addListener("lockedChanged",w);y.selectionModel.addListener(mxEvent.CHANGE,function(){u()});this.window=new mxWindow(mxResources.get("layers"),F,b,e,f,g,!0,!0);this.window.minimumSize=new mxRectangle(0,0,170,120);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.init=function(){D.scrollTop=D.scrollHeight-+D.clientHeight};this.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){this.window.fit()}));this.refreshLayers=w;a.installResizeHandler(this,!0)};(function(){Sidebar.prototype.tagIndex="5V1dV+M6sv01rDvngax0oLvveYQEaGaAziE0PW8sxVYSDbblI9uk6V9/VVWS7ST+kB0zL3etbmIn3ltlfZRKUqkU/rpRLN6MmFJym5yM/8QL/Xnw7yLceXQ03fA3JaOTyfjCQCKZehvu66tErCMW6J9E1M4jlJcFTJWIPP1VIKK1ixj/zML4VBRiTMaf9HOKx8G7/lwy71V/ZJEv8Vv8cKea9KW646tU41nk678/4tK7SZVu5FpC9oz/TDPVnkEPJlsn4wVma1lEnVemGByy6q+M+SXkSmaQ6Vv27gJeBDzyOQDMu1ma5FVEEVBEtuokgQhdyZ62Uv/9qWWoYPRltgx4A3U970/hc6BnIuD+kdI+KbGTcelGce6ec4evOBl/k0r8llGKtWBTvulF98xVKjzEvxWXDVS/M8VHF57Hk0TDpzpxJQGScC9TIoX3euXvVV/UcWWpDFkqsCYyfaM/1ly36vGfgVhv0oiasyfh7ypgyaaBaKHl5/nThqb5VeAvZEigXx8k0AolJJUkVjo7jGBOHFOm29Se3FZin6VsyRL42V+2U90z9crTOGAeIEK8Q1UCnMlGxk4CLWb/gsflKt0y/MLnbzyQccgjaIivAjgTT/Gtr4Quf9cXXWRLjRKxyRwvkBko75hHnjisPzUkP/kyESnHtwoAtQ7kkrehL7UyzUAtLrh6E5g7Nnn9iYo2SWW8ZVr1QYsTIW8gE+ll5kHWQlXGdr/Qug1Zl/RDe2O4FL+fWPBaiJSUZGoDT6HRYT3DN9Gdgy4agY3Q59gj+iIOdAOB/MmYYlHKqYp5PMLaFHMVirSSG2XYySnnZrGHNW19JdaZoiYxGV8LbGq+9DKsT0APT3Sk1ldzXaZszQvOpfzlkndUYodytAPDOEuxuocyEqlUmM+Jbm6HevkAq0sAW8+MB9BmQJs+8HQr1Wup3G2zL6uCetJZjXKofV7J+FLnUUWtxZyLTYa20FzpV1GxEgnVdxH4JOgyS0QECr4F3z3nEUHWUQfUjUi/ZUv7tjqTGaCkl0q6Wou0Ef9tdhslUBAn9Xq4GshZkG6gTmx0m8EqvuGoYzb4iwMYdDnVMcpbS2QM3TYB3mM0Sp71/0fuSVPf7lmki1d10DN3LE6x0/CKut+GuddVgGpRyFCtc/sZYS/Cm9FySdUj3sgIPlOZeZvWNAm1o0uTXH81UO3zZEEqQDkwD5q37t+zdAOqNe/RS/aJ6Tdi5purBt73xV930PiLapT8HTTXqz2Kh7JloQ26bIlVOtAl6dIY9uBPMhbeCdgtu/ZLJeEe1XdduTSPrpc6v9+TlIf64jakMpeQ9RumQFVr3YiV3vcb+eZyy9Viw4Ogl1p+nM2xmofSyNSdYgHjnSzA6m26fu+wTKtwYM30S1LXTkxPsYp0qp+nbu8yg271r4xnWM3/hoseBI+8qttygmLlSfLhZtmsS7CZUd1Kds295iT2m4dTh7aH0qLgF2QqGo5qVVdLtHiPvIp2mdDXinvvXtBgGhLRI4/1sJs09z5TqY6sRCNVqlU+2qxPDNuRuxm20MqLmqNOO3CqHRqxEGEclC3jNtATkMOLhFZpOynrH5FAc3UlcKRsbJHvy/9wD8iylUSFJHhrrfmRYBPaZCGDZ2Mu6QXolr3prFf16OdvsxOjqyqUVPXzVEngw+g2Qrur8WehCxWnqu71sE9gv/QWnrSalK00WglxllLFX+VXVaxv1TMae7yFcRrlV2059PNiNr2+wdxh60gmKamJ7trRDvIm4xsecYXqxI7z6sQ5pICWKDHp6jFiEyjpgtLioL1lU6MmSu3VHZm0QtcI1RVNeCPPjIeKHnuZLamxJzHnNIzdyIzsV2+DJm+Y22ZVlPINS35AxuFl1Bo4nQ5IJ7PIfxyW8xzGplLgaG9BGginPqsrUhn55RCZiLoxbRn4v4dAbkYubdBLFkWoRfXYs24CvPz8lGzpNZchT1XDzN8OSEkcF8ZBhnP+1cq2jJgddJORxMmOmMX7w5A96HXzILoS882Mr/IBWqAHTcjxejheKQPvJRo3kWNuP0g0msMlzn6upFoK36/o6A6R34t5fG0RKMGiNdXSwyFVJX4R6mwE9Y+GsodSb1gcv7cCTRUWmCEx1rI2SAbsPvY2+m9QmTl7mCeBdrAdKeMnTGC24X4ylMvU3qWtzY2Yf5/QdB+kwyKPB1i9agqkwEqZJqm+HLULWY27rx0Q72mUWoass8VjGOIQHihN0cRKenQVagMsqEtZ40YXPq4geB2yGWCXNjHdvWUBLwzZJqO0hL+TVEJ2va5urbACZWbCVYXEuLKywZep5bhnERlBRuANDHRa5c1HgwZlFJY2kWnipFFzIUE+znKy+EtINIQLcbvWDo8tdUmlOANNl1A7/85EXGmvHeBG00tYB81LS0AuLBVnVATUY8Ryv9DreSbjX5/Gw7BN6qTSVmRHniapOrKd1UqFa33dmLRcn4eiO68TzJgwXYga5OrAdj+l/P+s/3w5u4BXnkOdFpGwo5wOb+7Cf+7CX/0GtfRfzjCN8YfJX05g2BeQMAv9mxwCtgIWyOwr5L/o7pR+6SJ3Fe/5QLwwr4C6BIv1fKyzpToXHJTbLiG8/GQotrMJyTgA31zp7sYz07uavDfhI0+ET93fNFPKrlqZnmkCBaS85u7Qkeu8E9ciU7jYt/Oin4Cirkdwp8G3qlPh7jTYKupVrjsR5kytjqzkeYIFXRodnI/DcJL3VsvKmexWjgEoQCsdT/N5gLf5grrxeJ6vHTm4gO6UlxdM9fCJr5VdTooZGIdRDXwVSKniAK23gL3Xr/TsPT66RK06s+5MS1xeX2UqEqZDcGRYCDPKrMfWwKV89WhCtCt0umFC9cHJWKCO87lZ93ND0Yx1Ilesax5NH5/A6H4+Kc+ulmZcK+SoYJnx5BWnwRUNUOzoqJMouyS0VN6PSOkRm10jTnAgsGXKVzQTWkNVwXMVcD3cwHzgiccCc+0iwrV+eIB8vYYrzXPHQmiE1ZMQ1dCqZe8YRowhM391K5bkoGWFgTnpJC0cvypov69W1PHZKu61VvUKlrlgOFehv8dRqYiSVFVPrFeh9R+a6FKwUKF/2DYN5EtABZqrc/t6ZBF2b+Aky+I4EDDf0hE76YPlKyXWsFCNdaYrfEHqwDPaoVMBPZl25/OkuXfYh1AuGViPJI2HzBH4syPx50fiP/fFS0ErkVp1KFpUCxjqH1AdWqWlSspDr9t9mp8sRe05lZKcAbbwhWfvXCT5uaMGgh6KpJLW1xfoBw3LaFijA7pLbA/dLBaAHq0vExEoc+vIsCVvS8dsgKfzHs2zF5UcNegfdc9XQw7LtzEBEfnVuw5qsk9o/ZpU+TG0Qy5lmqJsZZKl/bKVR1cmoRI9kMKywhvIGYGrFIq+bi/73BQ0hZ97urenL6JXo5mqakobbtIVV66p/w8gNxay1cYALkHB9QnaBuTxx//OCudewXQalev3OcXoIopkah29PmH7C415oHVru0dODdPkGKapDAJyVt7oUe06YBVuotXIfZ+gJPdtaYfWuto0odAH8LSEDeELJ+eFgmTOYjMjHzutTu3jF0WpG5cTsOdrF/oO4OA7ZEqfB4GIEzsLWN3o6/CT3nipaAhKotcVWg06C0PjypdFnnW8zKDa16wc7zM8ads4WfHympGqW4QkbMBZ9BJqM5HWi99YkIFBog0Hzio7lkrk6FpEIqHNUzdS+rD2lUqc/dJZEPYVaHSDy8bczBP5mZ0nMo6LJDO2Kt7crnZYv2dpIkqO4Lj+UwiaZGA0N9XXHbZnPaKg7UVm+cmsVbpgLwQqTBDlK2QRjYqU9WGg36q1rR4EKSmgVoQS93g0qWbzMLnj/zKeThc2Ny9xdcxvW89tJ4FBZ+TrYS822IEJJ+OfG7MBproKdaU+lm6ha0k6VD5Wkg2Rn63EH5QRvWjn4LGOw95S7TY+lo3TH5bgr0x4r7qHlmhA5xdL8inC2+X+qnIjibHk+hEt7HPJHmiPr5FDKwqa25qJBIaLoGOvda+c0H4n10rRyKPrgymjDoVVMM5x8qynOBbcSwY9gDZTfidm4q9hNigH6Zq7EjwAgaEWn4CdRLdtSHCS1yLr+oE6voukO1CwEDCn2jNsm2CDCNlvtAe2HK3BYr8H2yZ1uJHuZl7so7STbMGZwqkd6+yc2C8a0q/ngU2T1/pvyFPmk83Tn/jK+AeZjy7QxdUCkrSe3NbTqNgL40jzsEOzt6u1D9tkTG81GT/skQ2ayLenp/lHp2H3zgzG+tdOZtsNHX1oJuNi99VAhH9Z9NF0P6/LNDBfboa6fZhgGdkTPhmqg3Eaf+zelGaa70Uruxfjpw7m7dWUBlIMPOJLqqEnlbYw7m/rCMN8W4EIq3yU28lRr/00O6EP07B7pPtJPgO3BzSObqMkNTPyh4nQVpli6C+Kh7umeGXIdYrzyrTE4a54V+7GdziaNakWdy8rutDfP+5Q6uGXHqZnFasiznRQXfSQERvNwMTfZtcLB/4N88lR1Bd6tC6Wmg+3UpO1nNAGReekn+dT/fCb2QYDbrLizeyyPyxWZ8bSBMBkfKP5KJTH8MncwhpdhJEJPjKZR2kWM4anfp4/4AqMtort1M9HJXJkDjXvCa99fDR7j1goZ+Ci5eNlH6zuA1JT24fiScpErMTelfGWWtwxQgHFjjzCtuJuPPlabFdZTK9hY7OU1LD5pjsLmKV+V7LRWsksxq1hcNHhDR5nYFYqnRg0I1Y7DGhmMD12qaM7njEng52y6I//yONAG9BDsy/0hb98H4T2Hv7Q9t5BMyMPDTB4Nn9XzMNV9SGpaZMwKq/cRu6MBdc0PRqMupDoGiLfYQUGNXqIoSzglobh11Ll0aDyYCql7wahxgrlvX5sEk9cZ8huDzRQKtakbzDk+1FCGCwTPmIQ6tuLe/08bRLHSBvMs1uV8of6M2tpff8UM/Pjklg8LY7ij2R0alrmSxLrke4KNjZKlWGvuIKL9jaT+K844epjeCsbzgtnkPNwXuM/X3fC4BwyjB44eY2kUW1gqzKElvowWzyKevTim5hHprYrSXGfbPU290OwgmbZRoHEXmVmBwR7emHQ9K589FG7k96B/hk0nQWuRNKy6Ee92NUl1NrCPFkWodFqXT7dWLX8EYuTjUw/LIFnGWQh/wD6BXjF5f1UsZTtMB/UxgsRVUy8uA9OYDJGlyEbZyNpS1HacBx90z06HU8knhzZ+GJAVIo1Vl/L92CjS6WtHnxx8r5FZ4xmPbZPYWNQQGbmEnRmuZ+BSxs5k2zBqQJpskiklWy1PIuQ4XrcZbGXdyOzpNmGIhLrhZhgucX6peINVyxIRreX0Gvda5tspRgFQCo8FlPjIwyemeTOGHtHJCIiCLF1sTgfj3fTib1jX+DJSDoQaa0feE+++5K/Z4mSnEGL3N11JS8SdE9HeEraqGfFD0fVEJwXKwldJ25PbrDKdG6T+y0F1RlOcDth5Q1LnHvED0S48Kx/2FCEsd33NxRhFplVkqLAB2obiywGV+ucayDaPEbVTg7QOnlfSrsfbDAhf+w3rmPInvWoA13OtB5XbLiyp9hIlxATesgqVVuZanqbKm6MJh1Y9lBCLL9k9Gl8cwW+HVN5dYJRLrKWiYZmurNPX2FH4z9mJNcfpaWJPKJ1YKpu6aZ3cv+m5HAb00cnVoSnzXdi39v8OjrjroXiW7JZiggXhh5ecLu4/2OIdA7Ih+C08S2Hz/Mi1Fqe56VEdMY8L6Zn4/H4j64J+gKCZEl0trLXXWAjGMsGJWQg26I8EcMmW9IrrmlhBZrg+JIlHLZJUsDSTda8UlJHNIXvj2Y5Dm0N7+NY9pee1o2LUIfB7vYSCPXf0b/4OxT2bsD8RsTjfKH/6Z9VXOcwfICpjK3rhMzX9DytZOyWPLfXrWCUPg9NPwImrq4cFDp2bgze3FOyVbYDpm9SprndbD67s+TRiPMDD27nJfk83rKrqZ7X5xQq0q9YDHNhWMhV5/fLowhZv+42gEJbG6qJssvEbZBSVOXSZTsKYuja+uiYEEIglnuoh940Z5eYnsnancUvHRghyGUuRsN2kzpsWYZVmcuVBAd9W77MgSF8cWI9JZs5sAeipm0DrrRhtrqDCGj+YStWogZxgwj9oEfBAkdsCZHMvHQ0uwCj1xdrQQeRMG1SSzqzI4JDRSpiZTWQ8TCDQIm6wsMEi66wv1qClVex6HKgZJe6zcRte5SqGO6zX6dWll1JmiVrIz2g68ZgQnab6IEXIcRmwh3ZYRxAHN5hGCfHMT5dGKlkiVuP1WAvj64TsOvFLGDWJOJAP/lY+rOPooctUXaFcG5CMCa1a0AHPB6LmSeMTZjfdEePpjmWiipzbiI1JJMhSCDb6SkZvNPUfwVnB0LYx541RzxuJ/k8hFT3ptWjI2OJC8b3RVLQnYF/CSf9GYYUlJRr45LCdn5cmnOM+J+nGctEOKfpC22h0DCFPGOcUCZPT0PubViEX01O6XyqRR4tbFvn7ONCdyczP8nnzoqrvnzzLNmUx3kP0PNFsKof4FFvGGqlYWNjR/bvu+xaITXs0W3mplMCaGSq9dDgslfw95VecO/809fRxfT0YkqMuRWRmxYdiWa1RIXZ4s43G5IMY9p07mxL6Mn4UtAY33ZVfdkuC2NpZQ2orngTjbcXfnaxl7EVNqU7WUX1OZLvoBYVfDWmbgulWK24yneHH1cVriJPvce4Kh95HZSwgX8Tx5T8neyLftHFIDycVUHfSFbhqFqHRluMTCF73Rk7urVIY0gLE+jEreOr5DkbiOfzMTy0c16rX25fTSgzM38k16QXl41tRaVVG+mqHQ9Kj2tRjO4N49KlY/vbrXN4V1f3WuAjOGZmozND0lk84L9yZ3zmzFEzTpQwu8YD2B2viUbXWWKDSOkmchQHFhbnzo2qkgRHQ8tEBty9dVYSnR8lzW0QZLBgZ46HuswCmA8R9ltgtcHh8HNJD3RKA4PMUdZbLlFOtrvUhnEyICPSHGYAsR3mR598eOA4RDUx91qTOIbeVNIBkpDJiqcJlB1dnsAJOg2hOSqwoxkt5cC8PixAfV9cX8Gqx8PJzjAM7N5oP9h+T2rYzFYabfWizslupwMJu8s4qIywhoDnZ+gK/DqkqPM94mMlfji1sFJxfTppGJD3YpwMzng2OOP54IyfB2f8cgzjvK6saydCejFOBmc8G5zxfHDGz4MzfunPCEXQt3+YDK4TahiP0Ak1jEfohBrGI3RCDeMROqGG8QidMBlcJ9QwHqETahiP0Ak1jEfohBrGI3RCDWMfnSDjVL6Y+cxIeMnoK67frkNzxEEetjrhb7XHe/VlzX35Z/NSCj73REj+FIdndDml9mfNO0Si1lGgL+nuK5gEjn+Du6vZ3iiMhyK1J7EeLjJ0IJ0MTApUp8xL0fUFY+1PIThD4lH4kcAc0ZZ7fsEUO87W7k3yOaX2XX9x6sksJg8y+L2461euSImrmyKhGTR4ZOeLfsTzjUylzdYYbqqzuZbvRY8OMSAUjkF3l2M7rL3GgfcSMN/nCg7P1gX0PUvjzEbVbDt124lo0ptoAFl6SwF7LF4S3QbMsrY0LjilL47hGt08fS+aQ3tDMPNvaYbHaMjVCm4278rUQudkb2+mtp+2Z3RgWoYf/YJS812Jv/v7mYQmH57QA7rd3d5cFu+VZMFuaksRSzpcr7Lp9ktr8l9M6+y/mNb5x6Y1f5j/18prJ60PLq+dtD64vHbS+uDyAhVlI6M799fdE5h8YAK31gsPt6BVaZt6RsUp69DTk3fr9ROx1h3yS5LHHaarfvARrtguLAODtUQzBeyZU8d6kM5KpOZkDlwuH5J18iGsZwOxPmOw7TcZpG2xuxs4cH33aI5Jd5J0A/u0wKZ8oZC56GjUdHaNAwVZp8aD2xqnlQ7dlXy5uknqlI8rfmfa4p+V00n/cZ2kaqGdDEA7r5a267C7hbLPjMiWvXFYo0Y/ZnPdiBUy+ToCJYpL0l6tk/j+06MLbE6e4m3OCmUMBlbBmIwYySAVIUXwCUXkNy1blzguKWaN4jE6VDljtma3rNJVX2ak5eHgFEcCGB0nG3TrWcrDQ+wrQdSQmIkm0+0tpXzFpGTTidwVMBCtiEwAsXob3RfLWCX4ypxyl0oZVL1mDXTKAh75Jk66e3WYbjBMgC8SL0vqzqOpBO7WH5vDDkAZ6haFYTV80TxG3EGhkULjQpwqMUeO68F4KirOKKgkwXBn/2FvzDVZc9pEc2C+SiA3Pgq6yskW3VGGFYeCeDJ2blwWhh1SQRGzpMmTZIdgizN+NtQNGoLctdpe2WPnJ+N/XIVx+o67L/O4wYoztyZe5jFhh4EpiyoZ6kje0SLH+OEmmkWxpN90tkyJ4zpgyWbHhcM19WsZkH6Ras0i8du55AloXNdaztzYgSmjVSMTb53tH+BUg7xhGZYONOBme6EMCujYxrX+rN3BeYD6xunkoQ3XlnTdTqBDlETN0hSK5ABzV3IzOXRyoYOyyjWjlS7C4Gzl2KFuctjgTfkpR62bf3bRrzgai5lv1GzlwbDVWPlKbkk35kykmnDxNfh7Eyk+b73cNsoi+HsbRY71qHcpDnlyBic7MhgeB3Q5TsmbJMsckqeTLbVSk+tI5EHclWjjK84IzRcv3ASRtGEiPyEv+h/61AUTSdPlpplatvIkMKP6LPiW06Ed6OhY1wfKmLYftpG+gY7Fc4RyhcXwxBznF3yQ2LXoERXmbJgl6LsIFIGoOEPugOC7tnWi/CywOxNXSxuzuPakZB7BoTLnqxhxGxNtsOAVRmUdSnF0fvb2MtDBzKimE2/MA2mNB7qTEI8873ZXiid0El/MsdYrniqHt38sni8oclZHCnqsvxCLcqZV5+t+fnro/r7m5ryWStYNhRnMYvM+Tnm60EOFmFThlPqfZeZcvRe6EzZntaWkS0wsOJ8spTa4HjHk+6Ibt48fQlPMCVXtlFkLkvG2iMbZYpnXMBwMWHzFas7yPYRn2FSxmTraXlU05nQ71NwNh5Uc4uTB2MANp7Sh5+EmdN03vFN026Vw7ud/xJ2r5Q8KdgOHyTIb+oN5bt1bHpGwXf/vNj8HUrMgLTPqDioiQ1eBf7KAoiFR2zLDcwecuIa+t7TluwWGYR+m9rzA4ghBJ5iZsdwJqknTOi4mHXJ0HtARirSFPaHPBXL1KyZjxYJaSwJh5izfLind6Vpr9KPN18QcHuVG8GizwuetHvkllLGJuoi6sGeG/eObVOI3NJkAhoY154U58DxDm/F6suBsH7TdDa8wy2tA3fQ6YlC9NOXTGgF0TuGI+bD1SyTEX3M0aAXOM1NHtJU7n0ZywCkYmwWjBz30PNV21NvJzuSeO0EfLBzLSaFI8HQybXkJbo+4tZ/tLMW0krl0QcGMLniY2CkXc+kC1c9lJPUyS1OcetH6+4SiDIMPmf4dGpT+0lgaIX3TQmvUXIL7tS5MjYlzg7gjwTfSQF3xN9z0aDhTy1PUXKarOmnpnCoJzWDUmgLFgLBZGF0hcDmELWGhtiVWVYyHIcbCnNNabPDKOwolTaRtHq1FxLnabcBlpslwVCMGezrNyo69hvxMhe7NKq2yCuzowiK1zpsqmSSnl5yFGAIM7kBRVJ1H68B2DYvgp5cBwwNf58z3A5yua4hje1NQxjHTqlC3Bed2VIAx6JNYZTRNUNy1A2UYw6GIJmxFftcFSGvDF8JELCgYOq0S75NO7UvgzpwS72R8qv8/ZWop8DTbmR5fknemaluT2kvj5fRFJLLje6ss2UCcubWuqSZOMX53Uj4XDH+0nxTziHBunKMpfIOWCGTtjU0KwgfbJPYIawXWuUKzqHiBn+9NQxjAUFssWiW8m2z0WSihRldm5Q/ElaZpXEz/6FMhmihnSOm+CF/mw3DTbBjZdrj6CLXi3E5041VrkdJWbsdN3SXA6E78nQk8jJVwWuBLIXHTLNl9S9Ec04PI8pHWKvfRbYEEcvuS8CixfoyRS1PbcJa+8F+wBL2m181vTnDqPM0v3FlG1+IX+QKnipndmk/ZksMe4W/ANBlflVJJs2W7StlP4oAHehqJJ3NiUn8MSXwN4xO/eAtQGNcsGjSN/bzqTf4DMn7D4rLAvbO91851AIa6CmB9wgvHx0e30ekd9TiPUo9cwMH+3uBFFLT571cSLcAO8roTkUFVIjoWj5N7XieKjDzA4dPtYd3b+jiPZCB+xaTSDirhaBFZnWFuWhNLdP3Sb/diemM6EMb2ms3QNzgeGsc+dOUKGM1ktsSZMgjAqTjuIn5idqksZYIGnp6A8MItr205EY/N+dkKcxzX0bLo3kLK9I8hiEr5BNFrh+KEfgwopR5JhgOTPkq5+gBK/QFjy4GFftODSX9ILqqJg5X/TGjj1R8yV3cYSdoPqRDXLMCAGUNSBtJGzhgsO/Y4jyg+xbxXE4/UhoiespQF77gOa0e7eWi0s/FkrD9WNG0CW882fBvwlNxvvFfyzRgorU/HptUVBG6zdODOGk83i2jQkJ/09x4uccbM/F6NH7EINuHhNEZktuOlMlO0SkxXYfnHZpoRBlaYybU5t2wpfL9lQyThV1L6NUm34kZThkF9C91FPjq0dLTEeyeea4Zle02yhLzFiaaEfORJyjLFIrtJa9XA0Uow6UZAnjseLcPmbjwh94VHlsZGJvFhyLlaFp2fuFnzDo/N8PQNxE4Sv5tiJNcw3WJ05d/Mzi2K0n03poX0KACac1zyGqKn2QyqF6wS7MV+zr3Ffc5W5pn9sNl7vLq9ZZrziinM8xgi12CwVt16W+ucAf8z04VDZ2xY+BrLXtdGBSPi9wrCaqp7RnE87+gFdANgfrM75R4c7dvjxeDKy9T7IFTkqpPoAXYQiJZlrB3kA4/TjEKfHyvEPMjQ8/9oogUz+xaPZ4rkdhWwV3hy27QQUIXFY31wI1PasqxWgZv0xJ31xJ13xv3QajQbpCI/82OJnMLpHwJG11x3p1i4shPunlAdMbY+mDQ74SadcT/xlUw/yfthJ12wCVtxPGJgw35XmVR1CLBmupkxBU53VCE5e4Jdu6a1N/jU1l1rz5B4AuZARroHljjTAMIHFadYVUBjqegcRrgofTqgIKykRANWm7VhSMLHsnbdtYLhX+yd4fYTuTUr3ZK8TFkk6wIn7BA84rk3y4CZBY38HByV/9CefZZqa1Lfl8YJ/XyCfkewgYfsgze+EV67KWnwCyZouIcpJvqubXp6Dx4JM7UHUTRkQsZPvlpZHKKVgpsUaIrDDQU11B6PcKoPHFdt7I03bXa7mAqW41X3yDo3lSmmJL/vwBFhASlaZ0jsXfm6MfThLpmtsXarWZdaWwJP3MEp9za1p9FUGY8NLHuHwdEZkWHpAMndYxfT4lC6Wk739fkD6OMCDguCJSBoA4IClZL1lcDRBKiPmgie8rc3xdFw+kwjeHIM+OwY8Pkx4M9dwLDLEephqUG/cXOaBJxi241gdIG+4kXW43VXMcosk0FYzgZhOR+E5fMgLF8GYfnan+USwwljIWfLACtK/kQvqslwVGfDUZ0PQTVlefBuPZhz8PpuYJkMwnI2CMv5kSxwXGOqMvSUXAmcQrK3XWhuFO41mYyfKrRZTYG1ki5oNfaSB2hC6bslXXbkMUtOTIXkCwSfOD/vaNHt0ykmoqEaniUbpOlZskEanyYLB3zLcLiXhOpJgh1RuSzNZBias2Fozoeh+TwMzZdhaL52pzEGUM0iQB1kRM61k/HD1QkeK5NuTjntucUb3rj/tprpZ8605QWTue7CtACZEpkVMuFND5kWP3MmIwfedJDpkq3XNBgIMnvlDFVLdMVZ0HaSDRPKa4knt0sAoRsm4wvsLhYye9Oj0RIfhHRISpdp4+kRO8y0lcR7L3nwnGCMOLdFAsNyFfA3490RiFWHF8OdweQFbLdrOSJxvmjOlJkv6jLjZBjmZqunZ7Og8kSzaixkPM4YUa53yfEfsR6TCvKKsRd7//4P";Sidebar.prototype.searchIndexData="7Z1rU+M40Kh/zVbN+wEq98vHkHDbJUxeHGDrfFEpjkh0cKwc2R6G/fVHchKGKMwuRo7Usr21xQyBzUaPW62+qfuP9tkf3bM/Go0ofg2I+POP5kB+t8Rr8kdztPq54Hi9PMWcs5fodCD/QCP2Ev7RPFvGq0D8Sl389QfhMfVxcINnJJiwiMaUiV8ZzVgcs9W7XxgEdCF/ELO1eDWKOXsmj3QeL8VrjbdXhixgXLzyR6NZS/8RP5EfrTEUX182H7Jb23y73Hzb726+pfO3NWw+89t/F9DZBz/qjuRPsxK4IU+xdQK7JS/3gZghcEcXy5IjuF9bX7+lTXBGwjjdAyglYR2DIgZGMaQboeIgdgNMCL2mGQhDHAQsicXhmMwCAoRF245+2LH43wTPgZCwtDV2JMDsjo4iET1DHJbkB2chEAj9zh6EjiGzYUi5nwSYQ6GwvyU6fTMU/kxW6xO6FQVUt49hXxj6VjA0yoohtSJxOIejIVUQHYMgvCXma3Q+X5A5uiJQD09T+vKWxf5SkPDEOnDwtlns49iXkKYhHJU1tfG1dmIBBMW+MJgKQbzXFEBA2FES4JRD14py8AISzgkHHJUxJhBbEtMXhh7xawVDwhAfmqAppgEcdWHHB/NiTtdwINiJX3vil2gkKIA+Sk2JxJRTqIZVx1B4Zk9XoivG6T8sjHFgn4clkdjj8bBdlnUaavDOkGt6j6YJB2pfmQpgbhnI1DdMEJ2GURCA7Mzdyg07o1sQkPJ/dknAieAZ3hk+jXx2OktoMKfhIjo94zj0l+j70xP1yT6NNaNhTPj5DxLG0fa1OY6EDSa+kWt5okHwfo3NTk8s54PVP6X/fEjqi8jx9jufyI8oXmBJHNBQ/E/DkPjx9gOqsNv1fRO2fQA7xfMh6/QnZztuWszPw3lZgLf2gLcPjQAjwC9JSDj10e7dio69v2971Zu2uDOxqnAlSy7Kgr5eU9zkQ5vPCPrx6L7oqDv7/lbv0N8yQtpb4SAQ8h2JDxxFRYe+82F2Gr1lB/qUBMRnq1UiPjq6YklU+KO0Xts/S3uWFMsheTQZVvDNwL8PqViWWOtr4Yk3m/uK5rA08ojEhYCvpYBHabnHWhiP6yXhOIhOr8/GaIxp+MTxqvA6RynJ/CDk/x/PYLjj+EejJkiKr5NfLPN/LjSkaOC1Uke70A+mtb85PogagHowU/aSrq3Yz2Q/oNU9DGiBeSY3eL1ZaaEfiOIFd+pwH8gY+4I+i5aFfyb9/WeS2X0w+Eyoz9l6ycLCH/O9/0zVgXkoxXc1uj1nbK7JEA3m4igRjuAQ83nRn0xH8QFBbxN0x+SP/BI8F5d2DKfblRX6ifT382xNwKe852OxksI/EeWIz575NPhE1gQ/F/+JtPdd+D7kPZKE6JHx5yjGGyLFfjK99r6PAtiR9xLx3e7HhX8uyo45vPUH5rlM8SwgcdEfiHLMtwEbXlPCVzRUy2KL90g6yiMBfKrcF9+XVzYIZI/xgc4JE278Snxb9MfS2S/R+aAsG8xjeSQzdCaLPIt/vCsFwZBDw2UyhuFlGkNBJAh2z2XF5klAotN67fIcXQzZedGfiBqG/IL2eiP49kzGG4o5Po9mvdtC30YkehaL/R80DJIoDRS//XrRn1N3/5RpfmHnGHlOf8vndBEwxqun9FZTCu0pyf+LLKP2XmjsL9Hmf1D0Z9PraFsEJp7NBeXkRdYAe4T/oD7ZPh2xqV688f8U/SEpcczeFyLLJh7S/rMp/EOpO6HVvFdx2qxKdNqo4RmgttsD5XGCg91p8+t/ir49eEN5mbHwaq2ldFbLXH6c75OaizPGjxn/ZQmchwuxCPRtiP0lQaPtzwv/XNSivsw2wY6U3lPYvcvJMMBRhC7ojBM0XMpccvD2MIr+LNRTJnNCJq9nITjQWRKTeWnQK5FlW9vghon1zEvCXKkzameuJ86HuQw+LjhL1qURdjUGmTkhrwN+mcw2xtECx8LNe5WRxtoZjsgUXSWzoqNXjttWZu9OMPpl/1xuEebyGIby9TI8A+Wec3an4XjPYNdYYfumJXsS3cyn7vGeRLUPbNIfD7yy7IG2YgVlNvqP9xQ2nRhKsBMAn8rbG+o4KM1+0G1xdLxn8TC5LctTUPzhlrWzYSW+ntbbjeLfQe/rHsdj8eWrhDvdWk3m2ygpfMcdpd4je6hHh3O3XathHqFv3Xa9WfjgsnqTzKhID3yfRBGaSKqFB71/xSL7BTEt0MPC14hpZ0n0+HpF56vIb/bmRFp8R+PC89UNtWvx9Qao3S6+AddWenFkDqtrQY6ojyacyTOv+BkMJWjywZzXo8rzHarXSmMv9xTWmR1yLdbTQdH51mu61/70AI9Rs1d85azcUcp+YV8L8kPhLTi7FvLfk6LzVV1po3zPzrzCm8iqGt61HzREmBP8LIeFn7GfRSetNNs0q4rPOJ0vCl+v3tVNomghnnrCPi5BxF5t52tUkIcyNzvGIV6Ursy/aTSOPMTF57sfuWgajVwIvsKN5mmDPRou0OYSS9GRW02NDEeja3QhvhSdsl3felj8wHJ/35bLXr2kxVf+NQ3FFR2zcim0ZdSe22AeFj4Qp10Wrw/5PqTxKzr/ueYlGH2ktgqwwDttPFN0ztr9F7U4y1nSfowG/v9LKC++q6IOrTYap9vBHu4+cqFRd3Qv5euilteGpxyH0RPjq7R71a9bxNPzwld3KaPrDIu6dzIe3BU+raIWxpj1X7zxSeEJq+2/zAbxvHs08go/WbRe2+9FmP2ChRbk+7PCFyiqAxXNVtCNSFyKi9OKx5K9G7AWZBafzFnhS5mb+4yNxkVHk2nR8SpGW/aLPVp8vZtB4UOiSqcjs7W2I9lmaszmxc9wt22q4sfRGF3QoAROttKTKPswKB3OMkWF7mi4KDrlerNjUS1fcJY2QJuXp4BcGS5rVkmnXT6Enh6s1wHFoV94Za342Gavtu56qpRGtq1ejrjC4XxJgsIPSVTqyc2WzFxN0tnsRWes1NeZtfGuULPRLDzhusVj8HpYeF9QCWZkn2Gvx7fwwftuzSZf+UlDEiMv5kQOeio67Xptv07U7CWU6+8e8m7Oig5Z7bxjNFVyXfh7VIor0jV6y+d6Mi38jL6DklujZRmC8APa1WaU5HaE1eYO1xOBe7VKQrGaEmQA1UCd4SNwgkbeTdEZd21eJb6eFv4IVPWF0fjQn2ffR0UH3FAawRi1Mf4ihW9O2doX4LrRSyeCb+ErxpXrw9knw+sAvhncopgh8UfRMasFzEYNtxu6WMYvRH5Fg8KfeXa9khsWLjjBcvTXpPCliOpMNqPKYzwofDFtbz913TAqyeNh4fm2bd7gGZ/X68W/zqrdXVwLMZnTMoQqFCOuZ9QLGRMimzmsA1z86paWzXjFmETLyn47OmSxelQvQQ9b7ZlAWphpSNHD4O+iQ27rjpvRgsxmNCAlylkrCT+jBcxjr/DunnKhxGyR1vi+8MpCyYaYjdaP/y68/Kpd240G4W4Hw/JUgfcUx9qoCXdbDSk5Ll9hIuOwDNUWysUzs/qCxBELS9CQUrkOZdRCFpBfGH/elg+tSPHHRylnoFkb7pb8TKJSdPGzrKAl5oacW3KBZ/JC1PnPmITz4mtsu01AN9zbJRBvCJy7JeCsXNrpGE2wfvdjEhSdsJI6MesTfr/16mUYl6Z2wDaan/q+TteBBivhfD/R4h+Cyn1Vs27LjnbaLHHNeOENaqVRlNl7aZPBCNWLTliZSmc2rC8JNwpPeD/QYbZIYyI8b3Tty9UVm7JSy2zWmJucFT59ojTDMJvQngyRx57iF8wLH9xXSrrMTgkVnB/onLCiQ1ZLa43mAiejwk+A2Pkgu4slNaNW8mRc/MvBjX3Chg1jzmLms60fEpShCFQxL8yOqJv8fVF0vmr3cKNBjDsck1VS+HmhVodZ3pE1wSXo86kIstnpt3L0H0HeC439ZXn69Km6w6xcTzzxb9ERW22N4RH+gwpRLjpk5cKU2eqBLeS05wtnZctMmQ3KeSRGU7Yuw4zyet3meeh5hfcElXiR2aF0nneDpoSvaFgGH1Dtvmw0xOxNC9+xT6lrNtsK2Ct+vyI1hG9WfktyT0oZ5Gy2NtF7KH4eymYQY0oC4ssufeIDlyKrumu5ZSVRImnLAc6kBHd66k1FORutw5iKpRdelq1eUJtOUAlavih5P7ORuE1RHJYrLzblTt+iiTHlif9cdMIH2tjsuZdwTgpf2lnv7NfFmb3GOn0oOt9206II35/d9euFr7y3e1HnfnyJPMJp8RMjljlX6b2j8n3ASVD4085qWOihdONIzHoeD5NbmTeVn5hXiZBjw/YKr46tCvPjoGrwclS+117hx/X19gH3jQkwm5NVhHA4R+slC0l0OsSzgKSD3FdFh66UtDSzlyin9P5o1AQ/8XWSEsznKZAgQOn7Ff0hNLUnNB/tIVzg4lcbNTq6lsnR8F8xFq/LsAXUCujsyv9oz+B6Ug4tpBg4X4iXHO0RbNvmDnxZm45K+kB6oB5IGWyj/T4SjeylZUfjn77VyVMJDudaB+zBUAolBPhgvrsoh4+mzBz6QjX80R6BbLBQDvtUewJGTs9gTdg6IKeDcM7ZgoQsidCE8KgEVYX7BSzZL/tOUnJfRz7GPnpkK1x80vt2T72W2fDRRx2WA7Vq3tTbmQNwuqwnQ9lrufig9+2YeitzlEcX9F0ShjRclIF2bz9x3c9cRqTL2qOxnIBWDiWiXAHuZ44TaNOOhVFTEtFu7Bvj2ceL5wa7FLJtDzeXbTF4dCrMn9K1A85e93m3oaXBeTAdo827VLCNwJ7ixa7rSzm4a7eL0ud+xhme+ziKS4JcbTOeObOtj1z2JhGfGe16lZQSvA0dc0kXeEbjnY7ZqZxS8rch+NeDUTlh2xD26wlKbx4vWfhaTurZm2fnQN0bXpeEtnqdJXszUX3c+2UY5eDeV6azWVDkt8PzksAGoMhvSfwUsJeyAFcG02QOHeoD342n2TVsLAt5ZcpV5usE+uRLAtq+Ttm8A7oO0VlCAxm8LTp0pcHgW2sEC9QfabxEHg2oz8KtL1p0+kpHlex9SvXhV9EW08DXuDS468qFmezzx3LgHTMux2SVg7hSfJX9rr8+8Omoyg8Zg/3AKuVtEPcj/kECEi7isqTiAPidj5QL5qWJY6kJicw1nV8nHhE/4TR+PR3KXhcUXQjyLzgo/LiAltK+JXO+2duC02Iuv0Vv71Rw5KqUZ9YreSAvi3w3lJaSmVVKHrAvcUyeCVkXX4MrI4GzX1PPBXeC+bzwpBWLMHNsNg/S19+98pyUSm+dzLer8gB+w4rfo1bp75m9nXUeoG9J/ML4c2mMkpaiuDOHY/OAPrn+uzTqRPUurUj5Nv1QGuZKNZBZZ4f/SEs9U1/nPqRPlMzRZDsFIs0sF988VGacfMUaTynq8JdTTkKxILnOqJzcs98M1+c+EjrGjxl/LQlyJb/5FU9IF/kFDUhUCtg5RLHygF0S0VZof8VW1KV9xaLCd9ZWr4N/xUTU5Xw9mT6URKpzMMh1aY+pz9kLmZVDaUMA/v2qJNIN4ITcvMOm1q0c+Uxl2FL2+tkcoMtGlJz9LIvZrcSxvpJc00bOnuIXzAk6w5Fw8cvBXenHlD11nwN32XQC8zkqg3EIQZ9vqwvLIeBKCKWXuQJLH/h9SOOy6PG2km2zED7Z1BfKeGE57HEAQcLHx8eSyHdnvx+W0Uj4Rm9vMxFp3Oo8XNDi90fVno6zPfF0mAcsKXxpSr2nNIysZVcl2qRHNHomcVx4oW7rTpDUR30xRLs3KThsJWTVym4E6sOmM+FaDpdYfM4ASSlHXjKLXqO4+E3G9Z2eHPCL43KIZ+KzFt7HVFSLDdx3JEgT9ViIOo7xDEeF1zGKZZj9qo8+9an4IRpwjotf9mZfozySGRoGSVSCeLhdwzC9Vk82fSUvZHvDXfO383gpPKlS3Lrv6Hb08LYUdR9AOZoc6IdUcsA9DHAUoRZqlwS6cg88e6vxXKArHT23DSbr9eL3ae5D0DFv/Msh8rpztfNAvu+ZXuAZp35J+B80PrQi85ckJClz9hSXw5xRskTZ+03mgf1afOIgoJvvkRfj4l/RUrMX2bNzeXD3Rrcl0S9t5bKnFd43+JVw1EB3ZMViUhLyqmb/Qnw9N/TNkjAH4aSOL/9GvVqthsZJENNoz4wv+gPQbgyfywOQ3E92ZuSmdrQc+JVZWXasmhR/kOqdUil81ZWyJ/tbg3JEpOYpOnb1nLWj9Cdnf5dEzFWLMnuWKQ/cnInXVys8C8qiXkBEhMt8mloiTle/ztOScFc0jJWD9FcoDE0uH9H4clh47B0A5+gD5XGCA3RTInkHEYPf1KxXCVYL0MsBHEY87JHx5wVnybqifnzqL9smxKcDmVINcdFhK50V39owfB72rm2zDuxLId7hHE0JX9EQF741lzLCrL77sVnod3hOGZqyl+LX4jW7ipRnbr+QB3APp7nT4l/TUMeBtDIHdXPFLS8OFP7UVHRK9qKMPJA/0pMLKocKF5229rC4fGhv36PgsBXtnf36aJ6w0Rmn8xJc/tpvLZK9L3GuzG/YpoUlGqzXAcVh8VNEfd2O57nyn3IcRmvGC38LTG3TZQf7zeAWyZpezoKg+Mb5gb+fOa71Jegc+8+neO2fDiZD5K0wj9H9xEP1Wq120pS1MA8D1Ljfhx8oPDhdLON3Cw/Ik/w2WmOfhoub9LtRva0+IvFR5uzl4+f19lQOMHX2MTUPwyJySR9Skj8Qy8yDT3uLpg0YzQfGrwk03XZKpg6YTP3QE8ufzEadDeVXVO/X2rKgieIAydph8Wvxtk/Yb2dLuwxsuNNUOsgadSdZZdVIubBq1VPxEngqZJ9C1ujX3BQvC1ux0a+7yeqDiNvxWTmqtqywalesPsmq2W+0K1afZdWqWH2SVbdTa4Ln0jFvHwguLfBcPrgmYIBLBzyXj/L3BsD0wYNp1g8j2McHU4evYRofpFOODabXbNU2ofxNWP/ku3DgQnlgbScRilX/LtQPiZ2FU2vgDVC73Wuf/I0Gc7yO6Q/yNrbRBWQWHN6BdyejunXwW9GCg7tl0wDPxp7cNMRWq+j8jg58U9GCCb1lA99c7B32VjDDxgHDqN4/vCZoAk5fHFVwqVjSNAJKBy6UesvOPurX6jW4VBotS7LSl78OlUqnfVjsfWwqAsD8rStfs9aEJDRK2ap5OEPMhffJ0UT8gMS/Sp1QQ+1eCEmMLOjh34JqA+Zkwaf6LacOZIGyYAoOcYyD1yhGLXG8f3yJExIhK1vujVCjJ8zm/S7OIfm45SckaFb23xu0VgXtS9AqQL8H1GnXmifn8BC1lPmrFrWVQNRyAJGFJOJ7RB0HENU/aIdnklEfPKFGw3yY6B2hutBFgOH0zScX3+AoXm+jhp4YR1cTQLjUe+Dmc9S/o9VspLRGJAjg8vpgJJktXq0afF5Wgisf4qrXHMAFSLzqlfLKQqtZSdeHvK7nJIx3Y7XTutCPZuGW3NG7nnio1RYKyiNhJD8wVDYW4lHb8iw08H15LXh7RxUuIgvic0t+JpHMcNfQrjHg225zoD7LGrGG8B2mu0E65z9jEs5BVwdY49RotKYTdHlesfoEq2ZjMhGbsaL1SVrTcUXrs7Ravcn/VrQ+T6vSWp9j1azVO/DCnnDoVPmpf6PTaVV0fkunXcnO7+m0BZ1Jhef3ePqdKVwuVqIBOy738OXGGp+OvHoEnY61XdWRV0ig07FQS7Gh05XNtuq1Ey9gu6olOXM4imgEl5aNq7bvcfUcw9W1iqvlFi0bF9zf0eq7RatRM1++8/3WQ/V2s9beHyY6TKKYrQjf5Q4mAY6fGF/BhWfhTNyyExp/eIO877fn032IFbR/hTYeIG90BR1Zb39olYXC+w2xVru1kbGTQ2ic/aCRQCMbMcAjeCh05svMNgw7H89MhomtoTTabdTNFwRNlq+RbBz8q2lF6x55MeNY7akOScAsOACHoD5Ua4XqNmsQW5E6OxvE1gKMzcImvR96qC2LGcF7AhasDAmn02j17ie7pJ/sTMj9XTN4qKgsaK0NqjSO6hQqC5pKoho2GmjcRJvJznDpWBIkQadW4fkXPC0X6FjbWi0nhMcank6F51/wtNxQPdbwSOlpgMdjwZJ+HJyftOsNuEwsnFaSSadicsik24LLxIJqkUy6zVbVNe4QSreCsg/l4Rw1+oC3jxWVIqC0KyiHUDoVlEMo3XalaT+iUqnaQyq9SlYUKmT2Qbt65NW7NbicbGia33BqQuYESJ46FafT5fr0aoKEA9m+/NX67n2nBECENHtJXE2+iifl4b1GMVkhPx37ex76AYsSDrgcIWsyLyc8XUfw1FtWxCfqtN3gkzW893U81+ETDekZDufoYnQHXe00zMnNhLMbcVQJfXzTadT8bUR4I05g+RhUy+/5dCo+/8qn14bKp9m1zmd0U+/U0GUPDhRd7yIXKM1GjVRUDqh0KiofUllXVA6o9IDLSlYvMy8qsGXFEpV2ReWAShv4wWwBinfTaNYiUFR61nWtgNKGDcWcpOxaCg43lcHoIiA/T+o18e8IDh0bbhGdrU6vz8aoXq/Vag8DdD/xAAHRnF4uFqZBpF2rnTQa8Klk3UV6VLrtFrph/mYvRSwgaIxDvIBclpdV9+oBuhfKBcdogkPyi9FfNK74pHyaDuiZrPPJtYB0HACSNfKtBWT+U3jOcFkYVbdCKuTBDBhH1pyaLo62TKZdPcAFYlR5CCDddiUeWxo/m8LjQeMCFd9p4mg3KxzvcVTS8R5HR0pHEy4OoyftFgdg6TCNA/hmMY2jD/iUNcyiC3lytXEW7UqJ/sLRE1rj7zZcHEY92Z/NfoXj+ZSJrwE5vSUxx9tC2r+bJ40zePd5NQPw39OFagIaTprysvxgOhzsqo6hYVKs1nrG1qK5YepWmP4T07Rfg01J9YGyTk7OD1OtgvMhnG2RpNTZcNFktXPyIbPG3EfT1kkdvOhY5rM77NGYzZMAUK0tiDP/jVPxepzkwufvljzroaOxssX+7vxCU22ufUKbbXUuWwKuOY0IGrdcOOWz5kxyp9R2gVK9ZQNTddb/G5nqlP8PQvDP96zp67zItMCTyVp9qEsmCbcue8eZ+8OGNbJCaHdXfzdt/fznmsuRKRtlhBqtNarX0OXsHBBCy3ppn+C2Spr+Q+aolZL6DcsK4AHAKqL973hSN+Wth2clR4egRjjGQyLN8O39/5m8/78dmdXsAGKlWbaSA6udWqrXpJLaMuo21hWkDyD97+jufUeJSxyTF/wKr6uEfWK7SHfjBHDhi2kLfY8LoMtkAOxzJzIjFveR4HIDF4zpMIkEs5nYhRrycpmwhgac49eK0DtC/+fCe6PUrTcKVGiWN5wmZDiG00QCzgXlBE3roC/LmFfFKZW/G3VYVBogqLSAUYEhKy3Q94ks6ZW/W52SU1nT+Sle0BiL4yc6HWz/Jv5jcSBRztWg15pRGck4/0HCONq+tiPjp0EO8YKwEWM5PfFGQTljccxW735hsP0vY7ZW+aloejUlkHOIZr35+wEZ8fpuXVEObNC3QegvGf+fiswBmSFnUXRyRvCqonNIZ0QjHyqX5uGxZIyLbKxATjYB5QmezwMClVLLovRcpt0nINOxubeuSCA/PVQ0HziVxtBcr9YkCAjYA8smmwlnsOD0FR+q2bAHZ5rwGQ3BqhtjR9Z6jTmOkwiRgKzkqk/HOFwyNc9pDYz0d/fI1LLtqN36/mjUzrcrzAOSx/xnEktXYtueTawU3bJ//gEDrrnPLePpfixsyXrNeIzOpEdHYiCo6qqIQUJ1QxZAMDXaIHfiltMdDaGAUnVWI5syPzIo75lyODvPvnaXC+T0KVmQ6HT49nep2kfEx2ltyzfP5+QlDRyxgM6RtxR2FRTToX6gvjIx/LXkvNAJh4UulshbEzIHA0kVtGxK/hiQJoQ/MSG9BJo8AUSViM8Lxo0BuOHe9BNYoQLIjKSHh3AGIcUuAe4+YTCsVtX2+zdCAK0Ci3LEVmnhPeMROkE0YqdnAXshaeLtAodQAWUUo1+LFMbntfc9B0y/3lOiesB+kqzQJFmtK2T/jQx9e5NZOKFy4MRGVPwexwswGU3gvM7/L/FjONlx4LQmNIpZWMH6FCwZvqpQfQ4Vk0ktcT7CSd+AJxZj/lrB+hSs1JeuWH2KlcyisorVjhVP41QRWnAazoVCPx1uXgEK6IMSzH/js12dgHO5XV9+hIT1zuCqc1CgrjCoaAxkVNerNfbjCtUnUP2JwZ55oDhtjM8K1X+gSt9qiHZvi8bYF69BqY2BiG1MgyDN4CSBWBH9p7IaMsGqzsWvUauOyM9Qq/T+Zzk90BnHcoUVqh2qOafiHU5H8g+gUDJe/kiXkj0x+B6EvBmT0Hnat+sMcJ2QBTDb+KZwiH+QV8YFngCsgjbM51Xakt/FquUxtv12uMSr2Sa7LDPwT/L1aqNJXlcEx+k432QFF0i2IJ0ekE0cXAhIskIbdSyEZpqsZoEUpEpBbzF5a45fKxw7HGmQ+5e8yGqxX9+N2Q8pOzvNU3ZkT4TMJbOL9M9d5glN8QzO1c56raWjgjZL+zoaeS2PcbkOHKDNm4EBo6WbjwAGfRsTsV5AufGmwqhtH9F2jz1g4dVDwWRZlDYnGKj7eCoRQ4JD41jsnuj0TJg48/TsAsKjpXU8XWzXpQGEE/wcLzlLFksgSJo9rT2jjWQY4NVa+OMXAQ4XRHgOyTqAc6uuradR9OkwASeM0hZCMIgoW6hnHEglH+9wiF2zIrI7JongiAgsKOjbiMTCdpELOxG2DHsqir2SO6jzn+tALK3i9B+cZKu7kzsS0SjGIdwwKSxMaRij2om/RSesn/m7xh5AyDS0HIjcuIyS1epV0PkBJm7Ra9sFkwhBCaCwsOxWXbEIjMetsMjWi0sfxXW4uS4EBIdCw7RgXMul+UupQ2QweBNG//YrLAHl/LEdl/iY03fhem7+eh0ioXB8SCUWtpG9wal4bHhw+kR9giay92jFJGVyR+aJD8Zi6do15e6SdZxwAmnP2A5UeCR4OhGKRBavhQt0RwKCI7JJqgBBdJi3bBlmRAMSwtlEdVWnGJcZ8VWc0BvHCAgUu66QF3NMQzASYjlAvqMB63KbZSgPYm1ASNj2lR8oeZGHzWWAowgIE800db5M0LcbOaEEUPmHrejkUpZykp8bv5DL3Fs4J2EERtP2dJSKrFOVHTzflqeNZ8QS6TtP6JqgtAr27b2B8Orr7LL8eZ0HxI859VNYYCBpGnj5Y7qgP2VjRXmsC7WEpsmMRDDlS9VT2Y62/MldYcrXNATHqf+f8xHNYoK0/YDp9P19Jm1qGmy2IFTjAII0vSd2QcNQ6K+K2ReZ/bFpYAkVnfXj8YBdwDbRNPEDsDf8oAlcGrSvYH0OlremvDDdPg3g2rNcoWKzLWTpDkQ4nKMLLquonDDwMw6oy5/aHZkJgwwMH9Wwb9qlk/YGT2VKbj1FpFAdCLTOvkxla5VgGlqjgpYdWrOC9iG0TSZvImPOINV9H9YRubG7YKJST8Z+pulb+bOaLml4ckGDFTr/gdeMA7pApDfkNn9U9ycf6CwgrIBFCu+RJ39r7lIQ2jSzFf0pUV2HJzc0JGh7T3osX4VCqK/lMaZL0ebixVh8blhc9DxpPS5/hQQDasrQtYhC/NcyfjfBMZQ70o2ODRzrZLWOTof4B41fQU3kaTT3NWwmW0cu5MssyNuwnRQIGB9W2S6drjUiYBzUxh6Rrj0iULxPazIi23iA0h9aZQI6JC5xhLZj4WCg6DYsyYQk8W7yGwwaB2WAxg6WS4I5pC3S7u5HE+qmQFwxTv9hYbxVnkBw1NvKFPi6MSBFuk+pw2FCuLzGH4gPDASFGs3tm0KRzmqCtD1Uy6JjngQYu1N1TsztEC+ZrYSbR9MaYDjCUa/tA+lmur+lB0TIBWAS9Z6xjSK7ucKZRNLfb/mWLQ+mgwHedOF+f19bGDtEHrafFRKMutLspd4ytUHQCZrT8L3vDgWJXkx4i6Q2ur7VAvM2M7nC8h7Lue+nEuOjR8YrNvts0ts1bIUXIYFjtAOBI/39ish7Ilevc46ToBKUfSw39P8ldI7+JFCuDwPhckd8uubMT0vtKzR7aDYZ/80g+grNezRpvKBCskMiB1sLzbIJoHzbqBqo9fFfxPOVidbv8WzQvPMLKj4f8HlzDyo6H9CRxl4F5gMwlcb5LZrNmn6k3crWAfbJihSm0XPOpDhbyCyyhLWpVaowfYBpz2DeGocVqA9ApTZiReY0Imuclu1Hp5d8UwPo7V76Q46dJHEcvB9FCYOYXnX/2wqzx5Hf8dqMl36Hq0KzQ7MvQvQJbOMPu3SEy/HqB4D65wGjowSXK0r/RinaXHWYcGkC0Fj+rAKWEZhUV48EjAUOjNuE8BUOxYLRON2RFaYPMckuoAmnSJiYyUyYTBWmDzGJfVYh+ggRC+icPtG0D1jAIgImdAKNjpyNULF5xyadDLvbU6UHI16TjusK+0sakuj0/GfMk3SqMLC4SF2nYYS3WaZw/8fbheZJClaYBByoCQkC4Zn8I18ENHBCjScBACVjt+A2HlRMd0yIFRijCB6m7Xui7Tuib7/uE1XQPg1tVxtcIdsi+yE2Hwmi0zMMpdZImRyUrd3Pw2Y5OhjQt2vvOxT5sAyDcxLI+NCIJ1BqgJXb7xnTRvkiASUqeo00tMEk4fN2Mk569+IsXQkUNprJRl04AorwKWKCpjh8hoJEkZeuUdUylIZLOllKbKWUivhzKCxlwqEWdnZNi8xvAaFvZ4yBiUSrnLLNFTg2p0oLfRLVDVmA7SBdr9lRTuhbGnpNBwVsKvrSv17iCFC3bcVEzDZ6SBfVdjBTdcAdgJHmIeMI2mAvrbaXulAuGPfJ/GTE8VMsyLC0yGoKqGmQcme5n+nOsjadhIfYh3KTXclhWEHRgMnC8LmdttYSnz6AIhrN/ZZBZoMSksYVC+A09OzaDNFc4eBpMxZx29pz84ZA0BzYcd1MYxt04VyHckY86PNmv12IWRfzT+w/C5tt7ojoZGquo8vmr5D5zycsiSGFPtt1i5oGUjtppZlKr2cYhNwtdwQDal6n5gkydZfRJSJrktBZEjwjTxDBCyh2it7sa10qaV474fQfoWFBq9aGWXN2wtkaDRbb4mMYSKwqFFiapGXTnH27eQUpjmQ1vr2pbxxxCubwtcxjc8Igb70kHMpBYzc+sAvlgz5kzLo2gNSHVX0qOcDOFmbrv50Pj7dsxRmOwFxDVDtEWgJTFW/8O5o7xp6ggulb5pJOqYQmO/sxk7pZH3DHSHxyOFeaDo5mC0fSFok0WyCfTj0LaEZUfkDYisYuFik1jhxVDQukLnAQEWBgFCu4Xm9Y4BKwTYsgyFvLvJ+kgAGvks0CApQsrLf2lXCmiVa5gECPNF6iCfafAbWmtUplM3wCWji72dlnYjTrLltBoG9nBFJTPyXfYR5Hau9WPFIe8k9pzz09CRdAwBlRvCJitWBKatVkqlGV8otPau9uzDh5KHsJf8I+QdfhnMpeh3DuFCvGXc8mr/NwU6N9xtPqFjAy1bHpQf2G0aYnVOpGyeHs4kyHQsvqtcff0NoiOtnVkW3Kp8AQa8AjBulKieqANow6oL8BdAdpywEUIO+ZcjgqHKQITZeyQV0grIIoCUBZBTAEiq3AZPj6+2Xz2UYw5wXkIgmCk2kyIwfn2ZBROG0xGjajYjtWEwrmeAchOx5ZUQdkp25adiLx2aJTHFKhiKPTMznwvP7fMJ5oEAxZIING4n/UrKX/iNejmLNnsvtJyNLZpl8EdQD8QK6UeaWHR1q6uA9ppT8ZbFaty6vhCC81n/zBQOijAxsR4o6A9RQr4LCy1gwvVwRsF2z6fezp+LzYAn0PhfcmtKyj1A5rp45PLfE/UXIIgtZbO4XdCXmYHzg6rgvhxqArHPvCf3l1hJsiZR8Uhxwd218kDD9T4wuRV//wBt/ReY0Ziz5RJQ4Dl2KLWRCvW4aE9o/cBGbDtvDIZ+apg6B1UMRlwdb3AhY7Y1Ps9wLpWbApvBA/O6q9rGzGGM8+0ySj4rXhNSXz+Ss6+9TAdhDMOv/ZnudozJ4Ym8vun46Q0pauC7Her2Ia4jB6uwsQEFfMiW7LJjP29EQc1V2dzEejDqkRp6GsP0SPOHYpEGZTuhRmDUeYdTsWmV3gKEbpG7gBS9mUH1RhHROW+IKm3J0YmELrg2thR6T1V0ifnNH1+0GculFdf0eiGCcch7Ezel5tjmdUZ73j5YqOV8pE6rXMUcIvAlsSHMRLH3NyOgjEZwtxOpV+TObUp6Ez21NxiTIHDa/eMGgyDIXsLUlEsSvklPPSHrkoolEqezeyGXco7TTvVfztE33nQJDs6ZppeZE845iGjkADI35DzOdUrHnhTBpOiW1kNnRzJEeQF+OnJzTgxBm91wWyW4c4XiKxOle47YvdR11ITIGTv+BK2qmrWwCUF7URwU+uMOuDYcZXOHbqcFDQZa7Pyw0dFSuLnQl+q/EQa+bI+aujrpdVZOjRoWK9pmYWLy9uF3hFg1c04dgX63BG7HRTe7nhozyK0YA6GiC3B+6ShEQswNGjwd5+3bwPOp8nm/vvjvKzJnfifbg7gfR6TTknMgeG8+XWcISbKm6Zi7tzw8aiNY1x4IzEwdmoO3KuyFxPN+mVF7nr1SoJ6T/p8eDM+QrF278On4iwhFkSoRGNCHa1ct4mwbUQPfExXQEHJXNzLT5gGMkcmAyqu0IPjtil+evAteR1tw4E4F90HhJXQpxgqN0koTt3hRRo1pzYMV6tmPiZK8l9MEou1W1ppxvxQddyfgN3BaFyk8haoHiH8IbOOHbn2i00CbwjPuNzZzQfHHxhvGk1GDhzCVC7aj83eHfXjiADE3+6JQl3KXUNRtZuk5hTlwLsutcC8wL3PfRdEjgwJ8P3JEYTpwIn7Q4QkZssMV9h3xWRazeBiNxk+RqlxpxsoInXrvBTXQlrcndHFlSs3Kk8LJRgpydeQDc4XCSfmpUNAp7a+K5nLRvrMZ+KfesR/oP67tTXQUnyeAlfuNNy66BpjTVu09HIEWZg/Igpc6fbz8EI58z3XPOidh+IYzViSehMXZ2yRa3ZJI9LQgJ/iSlHA18cDRGdBcSZ6pPdhX2gGBuOYrSm/T7G2HQEo9p6w6w0hjhOZGE75s4cINrBlNt0zV+H9Weypu7kxHq6lwB0cY3xWmzHG3cuhfVsC9gYc2e8LeusCPcTZ7ysXdt/e5uRORNF0j4YdVndknWcOFPipW2O6eKaBEnMHIHV0Y2O68Ly5B+u7ER1pKLxneiF7OUpcKdFr/W96CWhM+64dlI5D1iuON0gYLniWls3TiWsVgXrc7CmURLiFXUFl5IfNo7rnuMwccVN7LQsq60H4hAs3Tt+X4a1JmwdkNMzPHt1xnxQ3MR6rZEV1yRdtSYuVwyIrm7yQ5fWcInDRdp5MXaqpkU316vNjYViwYnvEDM1kGpc1i7ICjszp0S7B7surbE7rNSWFW/fm6Tljovd1I1H5AHLlROyqRt31oaVrFauJDTUJuzGYU3InIgVU+zMoagbTNUl5i3Zi0PjXNR6WPPKawvMFf2lBnKM+0OeWG0QOFMgoVa+Zr81rAvsPqQR+ekILjUCbdzwesRiKcJ/vGNs5YwWU9zuL/S0zhWbK7qsp1vMr08tkOO8HMHVtm2NPbKVQ25RS7vRfD68XNmNLWviFeEnEr+enlG2xP9g7krBfr2m+JKZJ2h46cK/TmyIE4cChtrZbW1cS7JKL6s+Erx2FlvmU1IX2wUOgo1t4T+7kmXTbracBzSWxMhbksCdcnLrW/SC4wV1JlDd1a2+18V1hcN5QNAjjZdOdXzU7SKnzY0uluiBBTFeuHOzrWX7INij5oxZqxuRzZWaM8V1ugVQutT+ImSNRs5c/dC+h6XL69aV4nzrJsYtC0+uWUj/SW1aPKdOFaoo4y4zx2f16aHzMHZmXwKQNuStmENRRuvu5q+cLxpyFkUOodMtstZF55o2eyvn/PJsGl1iXkDX6MqlqGNXO6ytzSxmnKA7YdbG6H7tjPvUte0IKNxccaAsajWfktAnp2JFjGNBzxmrQxvZZuUazMZ4ERJX2oB2dS+Q5MCL+sLY8NnalRia9qUbfWa3iR8Q7E6xmX5QIzdkrip/C1L2SMP5SrBwhJg6qN0ksTXjcXQ6WK2XNCbYobSTbumBl65cAxn3l+5081RFLLse08R1hiMyw85syba2EtPlRUPmJ0GJGj9pE2PCI3/BwbMrwHSvd+UALEY3OAl9Rzv9tTNXsusiG+LV2qGrEor12jWuxba8HDVd21Z4PVF3ijJsWxWS14K71LFZ8SezR6+1iYXMnfoVNXeZvVw2F1yu6C/1FnTLvAJLuy7f0CdX4ojaLfu1iQV0NXMoYamdHdflJRO8aCh0fsxfkfdMZU2Go/rsC8nLY9BzRb2psmfe/H/1A4e2qnJ4Ghe2EeUxOqPOdOlU5csCsB8OiZd2NkmXFnsJl4KEc4eAImbGjVoVnKP637xCO/9JuE+jSp99ktcF5eSFMVec84POItnrpLSBRUuXVNnBkLjsxcU5EXNGhym1eHXj2n9HbELdSfbadtIlMzQMCA4dss/2Ja1jfGtessCVCT/q+Afjtqxk5Y5oabcV0ccVzlmAHcGlPTpaF9cVFvr+MqBzd0RMYdbpGGdGn505H7Wn1+QAyyHRUoKwxg/GK8ZlMZT/jKYcU1dKoqxH/q99grbGa4Xs88i8Zxw7hGzftPjKXSVdZsK0YBx5L3S1coibbRvjTxLLeKKjuIybF3/hV+xMpaJtNXZDnwj6UxyYzlxPOgiMGWc2ZjHjM1ni6UowUREz88Urv5A13ETWNK7GJtQPqe9ayzLbVRhbalMs59I7uj07xp3MPWqO7lDzFYx3OFwQvhuu5I602S4tVrg5I2+6s+K0uTH/GTlW1Kg9aSkfaHJIgkvjvOzv0XSsxCzALgW2bZdN3bEXaeO6gks5P+vGcSWhQ0lftWON+S354Agp1Zw1XkzsYRqgM4d2onaXAm1gIY0xf0UjKl6JcODaxFDbroAnPppwoB4oeUkhOcJNe0CaPrdkhpFbxdmKrBnPcXqERPjFTVpt4wEhjwRP6DJJCzSqpHAmck5HHo0nN2UymMxkpwx3dFnHtnfuPVP0Z7JaO8JrV9Bij1dA5g7Jl3pPzngSRfAia6n5HVNmfdvKbIWDjQvlVhsb+7cmvDANAvG5s8Jm3tAQyFZs5s6kIdUFML89BTGh0hhx5yhQu0GYl7KEO3QPQG1hZh7XtkjPnbTmvq2xa8togVjDFWJKVVDmYdw5EHNnQ+p3+tekNSVhSJ3pWWnbqKhCPRlgybi1I6x2sX1rLvijUylx7flB2rTEB4vSZhgVsk8iW+KApKkkh6DZbuos+9JHbln41uWMsTm6xPGScIeoWSuMiom/PB04VPOvuyWnYsEanBz1gvqZvSAdTkO8Ihy7KlPZ20TlwMpRucoej9BiRYIATZabFbpAq6Vr1mvRYqsVdrXRtVnFLlCtE4cSabqjM7RYceZMYtumTJ3/X+K7UjGnRpkzVxpqgZK2ujuDBNX4stHNlzZIdGjeg26bLB1WY2dDpV2j1vqEvbhz8tUtnnxy9DVzBZRSoZq5RkkLlOe5gslmOGFKArKW3owznnJrP071hXRhPrxc8ZabupWo+eBqOoJLmdH81l7ZNK+WK7zqILRX2xFcVnfjvXfmCKaWbjm4DqYHOicMbYKijvBSbIiW0TPxEW+ac4+xL/50xS/s6jad+CoyjsM0T5heAz1tocclEWrMGe9HCdNkPx731q8PcED5DLuSZFWH3fWz+0T541sH2CH7X20flj1OcSyCrngE9dq+C9XOHmo9FkJXvIS+dlLtWARd8Rv0o2jHIuiKK6HdNetoBDuuENzfxV/x9Y+FsOsIQvVaYCt74UreCFezRCD0XfFDtFtU5g4w9JeMu2MP6tYtHomfK9ag9pyqI/FzxhTUrTY+Ej9nDEHtQqKc+Z1R/9V3KCADzQzc8nPnANFtqncsgM6cINp5/iMBdPQIaWfPoR0JoDNniAIQjA50JpawfwhnbyaXO8AkcvUAAXACC3iOHh4N+4eHgOfowdHM3JPpGPBcOTR6+xHorxSS5UxviB0KuyidmqwrPQnPFaWnRk3tb1xJz1WtB0L0XNF62o0jjwHvhvnOzBVU6l+slx/IFt9zMkdXdLF8wa+OYFSb1lnfwxeEc1fgKTLYsR4vkFfCYp64s4mVE8R63veC8eeAPjlz/1A5RKwXEF1id8IFHe3a5iPAc8Vy1q/aPQI8ZwxnaFVrEp4rhjM8yeMsCedIeVs3YKoWjPWc2xXmM7lwF+llb2KfOz0SUJ+t3eleogZgOtYDMG65bx1oRRt/ErJ2xgJUs23WhS+l54oJqN/8JGd6N2LrxkuWRA7VvEDbv+8YuiKHbWgG4ZitydxVEbR/CWmDzxXpA1exMWYx42nVi5sEO9YzIRMs1oGD4BV5yWxF+EKI4yMn7kRVldSIdaCyWRIWUonSXuluUuxb39iez5hD+JRqXvv4CI7RGQlcie33oF3MFADRRF6KcwQguAtd3pK66xtbjwym9JyxCqGVok5x6Ir5osYE29bDqlP8kzoCD5zVMmUvaOBOQFXhZ78iQbyfH7t0DVhpX2vd+dgBdPTosF/YJufMhc7IXxua2bzB54r0dXSnsh4HnzOVHdDusG7weS4XJYCQwZUzClB13CBYMCtn9J96gxXABk78Z3eErw9O+CQ+R6WvBUDzSXzOnL5K9137zm+Kz5XKSnC3WDf4nLm7r9ygtp5I3+BzpQlgF1zINMXnSgNA9eiwfvLeh0RAQncMOzp20H7C6IEsqexe4tSdOAWilfjfDxKcDjinP2Q7/ItA1rRFjvA7mHvyFQ9ErF8LHHtB5zhyJVOu3oL7it2SA7Hbc1d45XDS5sFL7PGlI8h2MmUb2aMjvPKoa86Bl+fMlgTCiyXVlsyIrNqSmXg9EnfsCqW1knG74gwvFnjhTL2dYoYZN1zP3KlxUkXrK16SJis+Ixx5S3cGuO/r+6+1idNjRnASvyIPB+6kUjvWoTH2jAbhXNoWAg91S+aUM9O4SpNNue7Ep8OuTC9XujN8bZSLJrJoSV29JvGlWgc9XAzHaLh053aTWh78pcmHesgSzknov6Lzn/4Sh+4YaIqsGbdnh0kkFuBKJFa10b6STdbCNWIvYRRjyl0lZlzARpyGz2nMnyXi0KSumGk7X8neqTnaJkumLHHm6GxYPjrPA/JDXmt1hFdHNc2M+wLnkfjUDhFTL1J/paIjH2BIngWuUFNOAfP78o3avTOOpmKamd+aCWeOsOopVxSMB7LPf1JnQthKAMO4RXYlzFc/cQVXu2f7iLxiMXEl1qOW+tiBha7DJ8ZXTl1wUZquGz8hr1crKl6ukGVA9kvK3LmNYTvl+x5awxFobdvVUXIIhzPx624Od/U0aUVxml+SIR9HK437X7njrUVtnEQkWblCK4eeFlq0bhmaYC4Di64Qs51V2uJy5qTs5jAGJxdgrpyS1k2LiSSDvj8J8198QmeLyixsTYfOyTzam+vBEpIlPpwjuLq2I2OytMeZZKUiW8ZtMM+p1K7tOzZTKryiGI2xv6TOtKDsWY8nbrFNEu4vceQKN+t7c5qEoTNxWOsJkfu1W2Uqii7Tk6726P8D";Sidebar.prototype.gearImage=GRAPH_IMAGE_PATH+"/clipart/Gear_128x128.png";Sidebar.prototype.libAliases={aws2:"aws3",gcp:"gcp2"};Sidebar.prototype.defaultEntries="general;uml;er;bpmn;flowchart;basic;arrows2";Sidebar.prototype.signs="Animals Food Healthcare Nature People Safety Science Sports Tech Transportation Travel".split(" ");Sidebar.prototype.ibm="Analytics Applications Blockchain Data DevOps Infrastructure Management Miscellaneous Security Social Users VPC Boxes Connectors".split(" ");Sidebar.prototype.ibm_cloud=@@ -13019,7 +13020,7 @@ function(){try{m.hideDialog(),N(!1)}catch(Ba){m.handleError(Ba)}}),U.className=""dark"):(V.classList.remove("geDarkMode"),V.style.colorScheme="light")};m.addListener("darkModeChanged",ya);ya();var La=function(Ba,Ga){Ba=Ga.getProperty("dialog");V.parentNode==Ba.container&&(m.editor.removeListener(La),m.removeListener(ya))};m.editor.addListener("hideDialog",La)}this.container=V};var M=ChangePageSetup.prototype.execute;ChangePageSetup.prototype.execute=function(){null==this.page&&(this.page=this.ui.currentPage);if(this.page!=this.ui.currentPage){if(null!=this.page.viewState){this.ignoreColor||(this.page.viewState.background=this.color);if(!this.ignoreImage){var m=this.image;null!=m&&null!=m.src&&Graph.isPageLink(m.src)&&(m={originalSrc:m.src});this.page.viewState.backgroundImage=m}null!=this.format&&(this.page.viewState.pageFormat=this.format);null!=this.mathEnabled&&(this.page.viewState.mathEnabled=this.mathEnabled);null!=this.adaptiveColors&&(this.page.viewState.adaptiveColors=this.adaptiveColors);null!=this.shadowVisible&&(this.page.viewState.shadowVisible=this.shadowVisible)}}else M.apply(this,arguments),null!=this.mathEnabled&&this.mathEnabled!=this.ui.isMathEnabled()&&(this.ui.setMathEnabled(this.mathEnabled),this.mathEnabled=!this.mathEnabled),null!=this.adaptiveColors&&this.adaptiveColors!=this.ui.editor.graph.adaptiveColors&&(m=this.ui.editor.graph.adaptiveColors,this.ui.setAdaptiveColors(this.adaptiveColors),this.adaptiveColors=null!=m?m:"default"),null!=this.shadowVisible&&this.shadowVisible!=this.ui.editor.graph.shadowVisible&&(this.ui.editor.graph.setShadowVisible(this.shadowVisible),-this.shadowVisible=!this.shadowVisible)}})();(function(){EditorUi.VERSION="29.3.5";EditorUi.compactUi="atlas"!=Editor.currentTheme||window.DRAWIO_PUBLIC_BUILD;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname)||/.*\.cdn\.prod\.atlassian-dev\.net$/.test(window.location.hostname))&&"https://preprod.diagrams.net/"!=window.location.hostname&&+this.shadowVisible=!this.shadowVisible)}})();(function(){EditorUi.VERSION="29.3.6";EditorUi.compactUi="atlas"!=Editor.currentTheme||window.DRAWIO_PUBLIC_BUILD;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname)||/.*\.cdn\.prod\.atlassian-dev\.net$/.test(window.location.hostname))&&"https://preprod.diagrams.net/"!=window.location.hostname&&"support.draw.io"!=window.location.hostname&&"test.draw.io"!=window.location.hostname;EditorUi.drawHost=window.DRAWIO_BASE_URL;EditorUi.lightboxHost=window.DRAWIO_LIGHTBOX_URL;EditorUi.lastErrorMessage=null;EditorUi.ignoredAnonymizedChars="\n\t`~!@#$%^&*()_+{}|:\"<>?-=[];'./,\n\t";EditorUi.templateFile=TEMPLATE_PATH+"/index.xml";EditorUi.cacheUrl=window.REALTIME_URL;null==EditorUi.cacheUrl&&"undefined"!==typeof DrawioFile&&(DrawioFile.SYNC="none");Editor.cacheTimeout=1E4;EditorUi.enablePlantUml=EditorUi.enableLogging||"1"==urlParams.dev;EditorUi.isElectronApp=null!=window&&null!=window.process&&null!=window.process.versions&&null!=window.process.versions.electron;EditorUi.nativeFileSupport=!mxClient.IS_OP&&!EditorUi.isElectronApp&&"1"!=urlParams.extAuth&&"showSaveFilePicker"in window&&"showOpenFilePicker"in window;EditorUi.enableDrafts=!mxClient.IS_CHROMEAPP&&isLocalStorage&&"0"!=urlParams.drafts;EditorUi.scratchpadHelpLink="https://www.drawio.com/doc/faq/scratchpad";EditorUi.enableHtmlEditOption=!0;EditorUi.mermaidDiagramTypes="flowchart classDiagram sequenceDiagram stateDiagram mindmap graph erDiagram requirementDiagram journey gantt pie gitGraph".split(" ");EditorUi.defaultMermaidConfig={theme:"neutral",arrowMarkerAbsolute:!1,sequence:{diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,mirrorActors:!0,bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,showSequenceNumbers:!1},gantt:{useWidth:1E3,useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,diff --git a/src/main/webapp/js/diagramly/vsdx/importer.js b/src/main/webapp/js/diagramly/vsdx/importer.jsindex bdb0ab132..06e9d8845 100644--- a/src/main/webapp/js/diagramly/vsdx/importer.js+++ b/src/main/webapp/js/diagramly/vsdx/importer.js@@ -4654,7 +4654,7 @@ var com;clrIndex = styleColor - 100;}if (clrIndex >= 0 && clrIndex <= 6) {- color = this.variantsColors[this.themeVariantClr][clrIndex];+ color = this.variantsColors[this.themeVariantClr % this.variantsColors.length][clrIndex];}if (color != null) {return color.getColor$com_mxgraph_io_vsdx_mxVsdxTheme(this);@@ -4725,8 +4725,8 @@ var com;{var bkgHSLClr = this.getStyleColor(8).toHsl();var lineClr = this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(quickStyleVals);- var lineHSLClr = lineClr.toHsl();- var fillHSLClr = retColor.toHsl();+ var lineHSLClr = typeof lineClr == 'object'? lineClr.toHsl() : com.mxgraph.io.vsdx.theme.Color.decodeColorHex(lineClr).toHsl();+ var fillHSLClr = typeof retColor == 'object'? retColor.toHsl() : com.mxgraph.io.vsdx.theme.Color.decodeColorHex(retColor).toHsl();if (Math.abs(bkgHSLClr.getLum() - fillHSLClr.getLum()) >= 0.1666)@@ -4827,8 +4827,8 @@ var com;{var bkgHSLClr = this.getStyleColor(8).toHsl();var fillColor = this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(quickStyleVals);- var fillHSLClr = fillColor.toHsl();- var lineHSLClr = lineClr.toHsl();+ var fillHSLClr = typeof fillColor == 'object'? fillColor.toHsl() : com.mxgraph.io.vsdx.theme.Color.decodeColorHex(fillColor).toHsl();+ var lineHSLClr = typeof lineClr == 'object'? lineClr.toHsl() : com.mxgraph.io.vsdx.theme.Color.decodeColorHex(lineClr).toHsl();if (Math.abs(bkgHSLClr.getLum() - lineHSLClr.getLum()) >= 0.1666){@@ -4979,11 +4979,11 @@ var com;if ((styleVariation & 2) > 0){var bkgHSLClr = this.getStyleColor(8).toHsl();- var txtHSLClr = txtColor.toHsl();+ var txtHSLClr = typeof txtColor == 'object'? txtColor.toHsl() : com.mxgraph.io.vsdx.theme.Color.decodeColorHex(txtColor).toHsl();var fillColor = this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(quickStyleVals);- var fillHSLClr = fillColor.toHsl();+ var fillHSLClr = typeof fillColor == 'object'? fillColor.toHsl() : com.mxgraph.io.vsdx.theme.Color.decodeColorHex(fillColor).toHsl();var lineClr = this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(quickStyleVals);- var lineHSLClr = lineClr.toHsl();+ var lineHSLClr = typeof lineClr == 'object'? lineClr.toHsl() : com.mxgraph.io.vsdx.theme.Color.decodeColorHex(lineClr).toHsl();if (Math.abs(bkgHSLClr.getLum() - txtHSLClr.getLum()) >= 0.1666){@@ -5611,6 +5611,7 @@ var com;return new com.mxgraph.io.vsdx.theme.HSVColor(h, s, v);};Color.decodeColorHex = function (hex) {+ hex = hex? hex.replace('#', '') : 'FFFFFF';var color = parseInt(hex, 16);return new Color((color >> 16) & 255, (color >> 8) & 255, color & 255);};@@ -9291,7 +9292,7 @@ var com;{typeTarget = getForeignRel(elem, filename);- if (typeTarget.type.indexOf('/oleObject') > 0)+ //if (typeTarget.type.indexOf('/oleObject') > 0) // Allow this hack for all{var relElem = model.getRelationship("rId1", "visio/embeddings/_rels/" + typeTarget.target + ".rels");diff --git a/src/main/webapp/js/extensions.min.js b/src/main/webapp/js/extensions.min.jsindex 18c49c60e..f8c836254 100644--- a/src/main/webapp/js/extensions.min.js+++ b/src/main/webapp/js/extensions.min.js@@ -1217,27 +1217,29 @@ g.mxgraph.io.vsdx.theme.OoxmlColorFactory.getOoxmlColor(g.mxgraph.io.vsdx.mxVsdxg.mxgraph.io.vsdx.theme.OoxmlColorFactory.getOoxmlColor(g.mxgraph.io.vsdx.mxVsdxUtils.getDirectFirstChildElement(e));break;case "vt:varColor6":this.variantsColors[c][5]=g.mxgraph.io.vsdx.theme.OoxmlColorFactory.getOoxmlColor(g.mxgraph.io.vsdx.mxVsdxUtils.getDirectFirstChildElement(e));break;case "vt:varColor7":this.variantsColors[c][6]=g.mxgraph.io.vsdx.theme.OoxmlColorFactory.getOoxmlColor(g.mxgraph.io.vsdx.mxVsdxUtils.getDirectFirstChildElement(e))}}};h.prototype.addBkgndColor=function(c){c=g.mxgraph.io.vsdx.mxVsdxUtils.getDirectFirstChildElement(c);null!=c&&(this.bkgndColor=g.mxgraph.io.vsdx.theme.OoxmlColorFactory.getOoxmlColor(g.mxgraph.io.vsdx.mxVsdxUtils.getDirectFirstChildElement(c)))};h.prototype.extractThemeIndex=function(c){c=g.mxgraph.io.vsdx.mxVsdxUtils.getDirectFirstChildElement(c);null!=c&&(this.themeIndex=parseInt(c.getAttribute("schemeEnum")))};h.prototype.addBasicColor=function(c,a){this.baseColors[c]=g.mxgraph.io.vsdx.theme.OoxmlColorFactory.getOoxmlColor(a)};h.prototype.getSchemeColor=function(c){this.processTheme();var a=this.baseColors;c=a[c]?a[c]:null;return null!=c?c.getColor$com_mxgraph_io_vsdx_mxVsdxTheme(this):this.defaultClr};h.prototype.getStyleColor=function(c){this.processTheme();if(8>c){var a=function(e,f){return e[f]?e[f]:null}(this.baseColors,function(e,f){null==e.entries&&(e.entries=[]);for(var k=0;k<e.entries.length;k++)if(null!=e.entries[k].key.equals&&e.entries[k].key.equals(f)||e.entries[k].key===f)return e.entries[k].value;return null}(h.colorIds_$LI$(),c));if(null!=a)return a.getColor$com_mxgraph_io_vsdx_mxVsdxTheme(this)}else if(8===-c){if(null!=this.bkgndColor)return this.bkgndColor.getColor$com_mxgraph_io_vsdx_mxVsdxTheme(this)}else{a=null;var b=0;200<=c?b=c-200:100<=c&&(b=c-100);0<=b&&6>=b&&(a=this.variantsColors[this.themeVariantClr][b]);if(null!=a)return a.getColor$com_mxgraph_io_vsdx_mxVsdxTheme(this)}return this.defaultClr};h.prototype.getFillGraientColor=function(c){return this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$boolean(c,!0)};h.prototype.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals=function(c){return this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$boolean(c,-!1)};h.prototype.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$boolean=function(c,a){this.processTheme();var b=null;try{var e=c.getQuickStyleFillColor();switch(c.getQuickStyleFillMatrix()){case 1:case 2:case 3:case 4:case 5:case 6:b=this.fillStyles[c.getQuickStyleFillMatrix()-1];break;case 100:case 101:case 102:case 103:this.isMonotoneVariant[this.themeVariantStl]&&(e=100);var f=c.getQuickStyleFillMatrix()-100;b=this.fillStyles[this.variantFillIdx[this.themeVariantStl][f]-1]}}catch(D){}f=-"#FFFFFF";try{f=null!=b?a?null!=b&&b instanceof g.mxgraph.io.vsdx.theme.GradFill?b.applyStyle(e,this).getGradientClr():null:b.applyStyle(e,this):a?null:this.getStyleColor(e);var k=c.getQuickStyleVariation();if(null!=f&&0<(k&8)){var n=this.getStyleColor(8).toHsl(),q=this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c),t=q.toHsl(),z=f.toHsl();.1666<=Math.abs(n.getLum()-z.getLum())||(.7292>=n.getLum()?f=new g.mxgraph.io.vsdx.theme.Color(255,255,255):Math.abs(n.getLum()-t.getLum())>Math.abs(n.getLum()--z.getLum())&&(f=q))}}catch(D){}return f};h.prototype.getFillColor=function(c,a){if(!(null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)||"boolean"!==typeof a&&null!==a){if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&void 0===a)return this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);throw Error("invalid overload");}return this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$boolean(c,a)};h.prototype.getLineStyle=function(c,a){this.processTheme();-var b=null;switch(c){case 1:case 2:case 3:case 4:case 5:case 6:b=a[c-1];break;case 100:case 101:case 102:case 103:b=a===this.lineStyles&&null!=this.variantLineIdx[this.themeVariantStl]?this.lineStyles[this.variantLineIdx[this.themeVariantStl][c-100]-1]:this.defaultLineStyle}return b};h.prototype.getLineStyleExt=function(c,a){this.processTheme();var b=null;switch(c){case 0:case 1:case 2:case 3:case 4:case 5:case 6:b=a[c]}return b};h.prototype.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList=-function(c,a){this.processTheme();var b=c.getQuickStyleLineColor();a=this.getLineStyle(c.getQuickStyleLineMatrix(),a);switch(c.getQuickStyleLineMatrix()){case 100:case 101:case 102:case 103:this.isMonotoneVariant[this.themeVariantStl]&&(b=100)}b=null!=a?a.getLineColor(b,this):this.getStyleColor(b);if(0<(c.getQuickStyleVariation()&4)){a=this.getStyleColor(8).toHsl();c=this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);var e=c.toHsl(),f=b.toHsl();.1666<=Math.abs(a.getLum()-f.getLum())||(.7292>=-a.getLum()?b=new g.mxgraph.io.vsdx.theme.Color(255,255,255):Math.abs(a.getLum()-e.getLum())>Math.abs(a.getLum()-f.getLum())&&(b=c))}return b};h.prototype.getLineColor=function(c,a){if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&(null!=a&&a instanceof Array||null===a))return this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,a);if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&void 0===a)return this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);-throw Error("invalid overload");};h.prototype.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals=function(c){return this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,this.lineStyles)};h.prototype.getConnLineColor=function(c){return this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,this.connLineStyles)};h.prototype.getDefaultLineClr=function(){return this.defaultLineClr};h.prototype.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList$java_util_ArrayList=-function(c,a,b){a=this.getLineStyleExt(c.getQuickStyleLineMatrix(),a);if(null!=a)return a.isDashed();c=this.getLineStyle(c.getQuickStyleLineMatrix(),b);return null!=c?c.isDashed():!1};h.prototype.isLineDashed=function(c,a,b){if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&(null!=a&&a instanceof Array||null===a)&&(null!=b&&b instanceof Array||null===b))return this.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList$java_util_ArrayList(c,a,b);if((null!=-c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&void 0===a&&void 0===b)return this.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);throw Error("invalid overload");};h.prototype.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals=function(c){return this.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList$java_util_ArrayList(c,this.lineStylesExt,this.lineStyles)};h.prototype.isConnLineDashed=function(c){return this.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList$java_util_ArrayList(c,+c){if(null!=this.bkgndColor)return this.bkgndColor.getColor$com_mxgraph_io_vsdx_mxVsdxTheme(this)}else{a=null;var b=0;200<=c?b=c-200:100<=c&&(b=c-100);0<=b&&6>=b&&(a=this.variantsColors[this.themeVariantClr%this.variantsColors.length][b]);if(null!=a)return a.getColor$com_mxgraph_io_vsdx_mxVsdxTheme(this)}return this.defaultClr};h.prototype.getFillGraientColor=function(c){return this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$boolean(c,!0)};h.prototype.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals=+function(c){return this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$boolean(c,!1)};h.prototype.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$boolean=function(c,a){this.processTheme();var b=null;try{var e=c.getQuickStyleFillColor();switch(c.getQuickStyleFillMatrix()){case 1:case 2:case 3:case 4:case 5:case 6:b=this.fillStyles[c.getQuickStyleFillMatrix()-1];break;case 100:case 101:case 102:case 103:this.isMonotoneVariant[this.themeVariantStl]&&(e=100);var f=c.getQuickStyleFillMatrix()-+100;b=this.fillStyles[this.variantFillIdx[this.themeVariantStl][f]-1]}}catch(D){}f="#FFFFFF";try{f=null!=b?a?null!=b&&b instanceof g.mxgraph.io.vsdx.theme.GradFill?b.applyStyle(e,this).getGradientClr():null:b.applyStyle(e,this):a?null:this.getStyleColor(e);var k=c.getQuickStyleVariation();if(null!=f&&0<(k&8)){var n=this.getStyleColor(8).toHsl(),q=this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c),t="object"==typeof q?q.toHsl():g.mxgraph.io.vsdx.theme.Color.decodeColorHex(q).toHsl(),z="object"==+typeof f?f.toHsl():g.mxgraph.io.vsdx.theme.Color.decodeColorHex(f).toHsl();.1666<=Math.abs(n.getLum()-z.getLum())||(.7292>=n.getLum()?f=new g.mxgraph.io.vsdx.theme.Color(255,255,255):Math.abs(n.getLum()-t.getLum())>Math.abs(n.getLum()-z.getLum())&&(f=q))}}catch(D){}return f};h.prototype.getFillColor=function(c,a){if(!(null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)||"boolean"!==typeof a&&null!==a){if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&+void 0===a)return this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);throw Error("invalid overload");}return this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$boolean(c,a)};h.prototype.getLineStyle=function(c,a){this.processTheme();var b=null;switch(c){case 1:case 2:case 3:case 4:case 5:case 6:b=a[c-1];break;case 100:case 101:case 102:case 103:b=a===this.lineStyles&&null!=this.variantLineIdx[this.themeVariantStl]?this.lineStyles[this.variantLineIdx[this.themeVariantStl][c-100]-+1]:this.defaultLineStyle}return b};h.prototype.getLineStyleExt=function(c,a){this.processTheme();var b=null;switch(c){case 0:case 1:case 2:case 3:case 4:case 5:case 6:b=a[c]}return b};h.prototype.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList=function(c,a){this.processTheme();var b=c.getQuickStyleLineColor();a=this.getLineStyle(c.getQuickStyleLineMatrix(),a);switch(c.getQuickStyleLineMatrix()){case 100:case 101:case 102:case 103:this.isMonotoneVariant[this.themeVariantStl]&&+(b=100)}b=null!=a?a.getLineColor(b,this):this.getStyleColor(b);if(0<(c.getQuickStyleVariation()&4)){a=this.getStyleColor(8).toHsl();c=this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);var e="object"==typeof c?c.toHsl():g.mxgraph.io.vsdx.theme.Color.decodeColorHex(c).toHsl(),f="object"==typeof b?b.toHsl():g.mxgraph.io.vsdx.theme.Color.decodeColorHex(b).toHsl();.1666<=Math.abs(a.getLum()-f.getLum())||(.7292>=a.getLum()?b=new g.mxgraph.io.vsdx.theme.Color(255,255,255):Math.abs(a.getLum()-+e.getLum())>Math.abs(a.getLum()-f.getLum())&&(b=c))}return b};h.prototype.getLineColor=function(c,a){if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&(null!=a&&a instanceof Array||null===a))return this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,a);if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&void 0===a)return this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);throw Error("invalid overload");};h.prototype.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals=+function(c){return this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,this.lineStyles)};h.prototype.getConnLineColor=function(c){return this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,this.connLineStyles)};h.prototype.getDefaultLineClr=function(){return this.defaultLineClr};h.prototype.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList$java_util_ArrayList=function(c,a,b){a=this.getLineStyleExt(c.getQuickStyleLineMatrix(),+a);if(null!=a)return a.isDashed();c=this.getLineStyle(c.getQuickStyleLineMatrix(),b);return null!=c?c.isDashed():!1};h.prototype.isLineDashed=function(c,a,b){if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&(null!=a&&a instanceof Array||null===a)&&(null!=b&&b instanceof Array||null===b))return this.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList$java_util_ArrayList(c,a,b);if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===+c)&&void 0===a&&void 0===b)return this.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);throw Error("invalid overload");};h.prototype.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals=function(c){return this.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList$java_util_ArrayList(c,this.lineStylesExt,this.lineStyles)};h.prototype.isConnLineDashed=function(c){return this.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList$java_util_ArrayList(c,this.connLineStylesExt,this.connLineStyles)};h.prototype.getLineDashPattern$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList$java_util_ArrayList=function(c,a,b){a=this.getLineStyleExt(c.getQuickStyleLineMatrix(),a);if(null!=a)return a.getLineDashPattern();c=this.getLineStyle(c.getQuickStyleLineMatrix(),b);return null!=c?c.getLineDashPattern():null};h.prototype.getLineDashPattern=function(c,a,b){if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&(null!=a&&a instanceofArray||null===a)&&(null!=b&&b instanceof Array||null===b))return this.getLineDashPattern$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList$java_util_ArrayList(c,a,b);if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&void 0===a&&void 0===b)return this.getLineDashPattern$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);throw Error("invalid overload");};h.prototype.getLineDashPattern$com_mxgraph_io_vsdx_theme_QuickStyleVals=function(c){return this.getLineDashPattern$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList$java_util_ArrayList(c,this.lineStylesExt,this.lineStyles)};h.prototype.getConnLineDashPattern=function(c){return this.getLineDashPattern$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList$java_util_ArrayList(c,this.connLineStylesExt,this.connLineStyles)};h.prototype.getArrowSize=function(c,a,b,e){b=this.getLineStyleExt(c.getQuickStyleLineMatrix(),b);if(null!=b)return a?b.getStartSize():b.getEndSize();c=this.getLineStyle(c.getQuickStyleLineMatrix(),e);return null!=c?a?c.getStartSize():c.getEndSize():4};h.prototype.getStartSize=function(c){return this.getArrowSize(c,!0,this.lineStylesExt,this.lineStyles)};h.prototype.getConnStartSize=function(c){return this.getArrowSize(c,!0,this.connLineStylesExt,this.connLineStyles)};h.prototype.getEndSize=function(c){return this.getArrowSize(c,!1,this.lineStylesExt,this.lineStyles)};h.prototype.getConnEndSize=function(c){return this.getArrowSize(c,!1,this.connLineStylesExt,this.connLineStyles)};h.prototype.getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList=function(c,a){this.processTheme();var b=c.getQuickStyleFontColor(),e=null;switch(c.getQuickStyleFontMatrix()){case 1:case 2:case 3:case 4:case 5:case 6:e=a[c.getQuickStyleFontMatrix()-1];break;case 100:case 101:case 102:case 103:this.isMonotoneVariant[this.themeVariantStl]&&(b=100),e=c.getQuickStyleFontMatrix()-100,a!==this.fontColors?(a=this.baseColors,e=a.dk1?a.dk1:null):e=a[this.variantFontIdx[this.themeVariantStl][e]-1]}b=null!=e?e.getColor$int$com_mxgraph_io_vsdx_mxVsdxTheme(b,this):this.getStyleColor(b);-if(0<(c.getQuickStyleVariation()&2)){e=this.getStyleColor(8).toHsl();var f=b.toHsl();a=this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);var k=a.toHsl();c=this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);var n=c.toHsl();.1666<=Math.abs(e.getLum()-f.getLum())||(.7292>=e.getLum()?b=new g.mxgraph.io.vsdx.theme.Color(255,255,255):(n=Math.abs(e.getLum()-n.getLum()),k=Math.abs(e.getLum()-k.getLum()),e=Math.abs(e.getLum()-f.getLum()),e=Math.max(n,k,e),e==n?b=c:e==k&&(b=a)))}return b};-h.prototype.getFontColor=function(c,a){if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&(null!=a&&a instanceof Array||null===a))return this.getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,a);if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&void 0===a)return this.getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);throw Error("invalid overload");};h.prototype.getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals=-function(c){return this.getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,this.fontColors)};h.prototype.getConnFontColor=function(c){return this.getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,this.connFontColors)};h.prototype.getArrowType=function(c,a,b,e){b=this.getLineStyleExt(c.getQuickStyleLineMatrix(),b);if(null!=b)return a?b.getStart():b.getEnd();c=this.getLineStyle(c.getQuickStyleLineMatrix(),e);return null!=c?a?c.getStart():c.getEnd():-0};h.prototype.getEdgeMarker=function(c,a){return this.getArrowType(a,c,this.lineStylesExt,this.lineStyles)};h.prototype.getConnEdgeMarker=function(c,a){return this.getArrowType(a,c,this.connLineStylesExt,this.connLineStyles)};h.prototype.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList=function(c,a){c=this.getLineStyle(c.getQuickStyleLineMatrix(),a);return null!=c?c.getLineWidth():0};h.prototype.getLineWidth=function(c,a){if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||-null===c)&&(null!=a&&a instanceof Array||null===a))return this.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,a);if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&void 0===a)return this.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);throw Error("invalid overload");};h.prototype.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals=function(c){return this.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,this.lineStyles)};-h.prototype.getConnLineWidth=function(c){return this.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,this.connLineStyles)};return h}();m.__static_initialized=!1;H.mxVsdxTheme=m;m.__class="com.mxgraph.io.vsdx.mxVsdxTheme"})(C.vsdx||(C.vsdx={}))})(A.io||(A.io={}))})(g.mxgraph||(g.mxgraph={}))})(com||(com={}));+if(0<(c.getQuickStyleVariation()&2)){e=this.getStyleColor(8).toHsl();var f="object"==typeof b?b.toHsl():g.mxgraph.io.vsdx.theme.Color.decodeColorHex(b).toHsl();a=this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);var k="object"==typeof a?a.toHsl():g.mxgraph.io.vsdx.theme.Color.decodeColorHex(a).toHsl();c=this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);var n="object"==typeof c?c.toHsl():g.mxgraph.io.vsdx.theme.Color.decodeColorHex(c).toHsl();.1666<=Math.abs(e.getLum()-f.getLum())||+(.7292>=e.getLum()?b=new g.mxgraph.io.vsdx.theme.Color(255,255,255):(n=Math.abs(e.getLum()-n.getLum()),k=Math.abs(e.getLum()-k.getLum()),e=Math.abs(e.getLum()-f.getLum()),e=Math.max(n,k,e),e==n?b=c:e==k&&(b=a)))}return b};h.prototype.getFontColor=function(c,a){if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&(null!=a&&a instanceof Array||null===a))return this.getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,a);if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||+null===c)&&void 0===a)return this.getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);throw Error("invalid overload");};h.prototype.getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals=function(c){return this.getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,this.fontColors)};h.prototype.getConnFontColor=function(c){return this.getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,this.connFontColors)};h.prototype.getArrowType=function(c,a,b,e){b=+this.getLineStyleExt(c.getQuickStyleLineMatrix(),b);if(null!=b)return a?b.getStart():b.getEnd();c=this.getLineStyle(c.getQuickStyleLineMatrix(),e);return null!=c?a?c.getStart():c.getEnd():0};h.prototype.getEdgeMarker=function(c,a){return this.getArrowType(a,c,this.lineStylesExt,this.lineStyles)};h.prototype.getConnEdgeMarker=function(c,a){return this.getArrowType(a,c,this.connLineStylesExt,this.connLineStyles)};h.prototype.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList=+function(c,a){c=this.getLineStyle(c.getQuickStyleLineMatrix(),a);return null!=c?c.getLineWidth():0};h.prototype.getLineWidth=function(c,a){if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&(null!=a&&a instanceof Array||null===a))return this.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,a);if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&void 0===a)return this.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);+throw Error("invalid overload");};h.prototype.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals=function(c){return this.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,this.lineStyles)};h.prototype.getConnLineWidth=function(c){return this.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,this.connLineStyles)};return h}();m.__static_initialized=!1;H.mxVsdxTheme=m;m.__class="com.mxgraph.io.vsdx.mxVsdxTheme"})(C.vsdx||(C.vsdx={}))})(A.io||(A.io=+{}))})(g.mxgraph||(g.mxgraph={}))})(com||(com={}));(function(g){(function(A){(function(C){(function(H){var m=function(){function h(){}h.conversionFactor_$LI$=function(){null==h.conversionFactor&&(h.conversionFactor=h.screenCoordinatesPerCm*h.CENTIMETERS_PER_INCHES);return h.conversionFactor};h.getDirectChildNamedElements=function(c,a){var b=[];for(c=c.firstChild;null!=c;c=c.nextSibling){var e;if(e=null!=c&&1==c.nodeType){e=a;var f=c.nodeName;e=e&&e.equals?e.equals(f):e===f}e&&b.push(c)}return b};h.getDirectChildElements=function(c){var a=[];for(c=c.firstChild;null!=c;c=c.nextSibling)null!=c&&1==c.nodeType&&a.push(c);return a};h.getDirectFirstChildElement=function(c){for(c=c.firstChild;null!=c;c=c.nextSibling)if(null!=c&&1==c.nodeType)return c;return null};h.getIntAttr$org_w3c_dom_Element$java_lang_String$int=function(c,a,b){try{var e=c.getAttribute(a);if(null!=e)return parseInt(e)}catch(f){}return b};h.getIntAttr=function(c,a,b){if((null==c||1!=c.nodeType)&&null!==c||"string"!==typeof a&&null!==a||"number"!==typeof b&&null!==b){if((null==c||1!=c.nodeType)&&null!==c||"string"!==typeof a&&null!==a||void 0!==b)throw Error("invalid overload");return g.mxgraph.io.vsdx.mxVsdxUtils.getIntAttr$org_w3c_dom_Element$java_lang_String(c,a)}return g.mxgraph.io.vsdx.mxVsdxUtils.getIntAttr$org_w3c_dom_Element$java_lang_String$int(c,a,b)};h.getIntAttr$org_w3c_dom_Element$java_lang_String=function(c,a){return h.getIntAttr$org_w3c_dom_Element$java_lang_String$int(c,a,0)};h.getStyleString=function(c,a){for(var b="",e=function(q){var t=0;return{next:function(){return t<@@ -1254,8 +1256,8 @@ t.equals?t.equals(z):t===z}(k,a))return q}}}return null};return h}();H.Section=m(C.vsdx={}))})(A.io||(A.io={}))})(g.mxgraph||(g.mxgraph={}))})(com||(com={}));(function(g){(function(A){(function(C){(function(H){(function(m){var h=function(){function c(a,b,e){this.blue=this.green=this.red=0;this.gradientClr=null;this.red=a;this.green=b;this.blue=e}c.NONE_$LI$=function(){null==c.NONE&&(c.NONE=new c(-1,-1,-1));return c.NONE};c.getHexColor=function(a){return"string"===typeof a?a:a.toHexStr()};c.prototype.getRed=function(){return this.red};c.prototype.setRed=function(a){this.red=a};c.prototype.getGreen=function(){return this.green};c.prototype.setGreen=function(a){this.green=a};c.prototype.getBlue=function(){return this.blue};c.prototype.setBlue=function(a){this.blue=a};c.prototype.toHsl=function(){var a=this.getRed()/255,b=this.getGreen()/255,e=this.getBlue()/255,f=Math.max(a,Math.max(b,e)),k=Math.min(a,Math.min(b,e)),n=(f+k)/2;if(f===k)a=k=0;else{var q=f-k;k=.5<n?q/(2-f-k):q/(f+k);a=(f===a?(b-e)/q+(b<e?6:0):f===b?(e-a)/q+2:(a-b)/q+4)/6}return new g.mxgraph.io.vsdx.theme.HSLColor(a,k,n)};c.prototype.toHsv=function(){var a=this.getRed()/255,b=this.getGreen()/255,e=this.getBlue()/-255,f=Math.max(a,Math.max(b,e)),k=Math.min(a,Math.min(b,e)),n=f-k;a=f===k?0:(f===a?(b-e)/n+(b<e?6:0):f===b?(e-a)/n+2:(a-b)/n+4)/6;return new g.mxgraph.io.vsdx.theme.HSVColor(a,0===f?0:n/f,f)};c.decodeColorHex=function(a){a=parseInt(a,16);return new c(a>>16&255,a>>8&255,a&255)};c.prototype.toHexStr=function(){var a=this.red.toString(16);a=1==a.length?"0"+a:a;var b=this.green.toString(16);b=1==b.length?"0"+b:b;var e=this.blue.toString(16);e=1==e.length?"0"+e:e;return"#"+a+b+e};c.prototype.getGradientClr=-function(){return this.gradientClr};c.prototype.setGradientClr=function(a){this.gradientClr=a};return c}();m.Color=h;h.__class="com.mxgraph.io.vsdx.theme.Color"})(H.theme||(H.theme={}))})(C.vsdx||(C.vsdx={}))})(A.io||(A.io={}))})(g.mxgraph||(g.mxgraph={}))})(com||(com={}));+255,f=Math.max(a,Math.max(b,e)),k=Math.min(a,Math.min(b,e)),n=f-k;a=f===k?0:(f===a?(b-e)/n+(b<e?6:0):f===b?(e-a)/n+2:(a-b)/n+4)/6;return new g.mxgraph.io.vsdx.theme.HSVColor(a,0===f?0:n/f,f)};c.decodeColorHex=function(a){a=a?a.replace("#",""):"FFFFFF";a=parseInt(a,16);return new c(a>>16&255,a>>8&255,a&255)};c.prototype.toHexStr=function(){var a=this.red.toString(16);a=1==a.length?"0"+a:a;var b=this.green.toString(16);b=1==b.length?"0"+b:b;var e=this.blue.toString(16);e=1==e.length?"0"+e:e;return"#"++a+b+e};c.prototype.getGradientClr=function(){return this.gradientClr};c.prototype.setGradientClr=function(a){this.gradientClr=a};return c}();m.Color=h;h.__class="com.mxgraph.io.vsdx.theme.Color"})(H.theme||(H.theme={}))})(C.vsdx||(C.vsdx={}))})(A.io||(A.io={}))})(g.mxgraph||(g.mxgraph={}))})(com||(com={}));(function(g){(function(A){(function(C){(function(H){(function(m){var h=function(){function c(){}c.getFillStyle=function(a){var b=null;switch(a.nodeName){case "a:solidFill":b=new g.mxgraph.io.vsdx.theme.SolidFillStyle(g.mxgraph.io.vsdx.theme.OoxmlColorFactory.getOoxmlColor(g.mxgraph.io.vsdx.mxVsdxUtils.getDirectFirstChildElement(a)));break;case "a:noFill":b=new g.mxgraph.io.vsdx.theme.NoFillStyle;break;case "a:gradFill":b=new g.mxgraph.io.vsdx.theme.GradFill(a)}return b};return c}();m.FillStyleFactory=h;h.__class="com.mxgraph.io.vsdx.theme.FillStyleFactory"})(H.theme||(H.theme={}))})(C.vsdx||(C.vsdx={}))})(A.io||(A.io={}))})(g.mxgraph||(g.mxgraph={}))})(com||(com={}));(function(g){(function(A){(function(C){(function(H){(function(m){var h=function(){function c(a){this.color2=this.color1=null;a=g.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(a,"a:gsLst");0<a.length&&(a=g.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildElements(a[0]),2<=a.length&&(this.color2=g.mxgraph.io.vsdx.theme.OoxmlColorFactory.getOoxmlColor(g.mxgraph.io.vsdx.mxVsdxUtils.getDirectFirstChildElement(a[0])),this.color1=g.mxgraph.io.vsdx.theme.OoxmlColorFactory.getOoxmlColor(g.mxgraph.io.vsdx.mxVsdxUtils.getDirectFirstChildElement(a[a.length-@@ -1398,21 +1400,21 @@ k){return f[k]?f[k]:null}(e.cellElements,g.mxgraph.io.vsdx.mxVsdxConstants.WIDTHc.UNICODE_LINE_SEP=String.fromCharCode(8232));return c.UNICODE_LINE_SEP};c.prototype.setThemeAndVariant=function(a,b,e){this.theme=a;this.themeVariantClr=b;this.themeVariantStl=e};c.prototype.getTheme=function(){null!=this.theme&&(this.theme.setVariantClr(this.themeVariantClr),this.theme.setVariantStl(this.themeVariantStl));return this.theme};c.prototype.getQuickStyleVals=function(){return this.quickStyleVals};c.prototype.processGeomList=function(a){if(!this.geomListProcessed){this.geomList=new g.mxgraph.io.vsdx.mxVsdxGeometryList(a);if(null!=this.geom)for(a=0;a<this.geom.length;a++)this.geomList.addGeometry(this.geom[a]);this.geomListProcessed=!0}};c.prototype.parseShapeElem=function(a,b){h.prototype.parseShapeElem.call(this,a,b);var e=a.nodeName;if(function(z,D){return z&&z.equals?z.equals(D):z===D}(e,"ForeignData")){e=function(z,D){for(z=z.firstChild;null!=z;){if(1==z.nodeType){var L=z;if("rel"==L.nodeName.toLowerCase()&&(L=L.getAttribute("r:id"),null!=L&&0!==L.length)){z=D.lastIndexOf("/");var T="",Q="";try{T=D.substring(0,z),Q=D.substring(z,D.length)}catch(y){break}z=b.getRelationship(L,T+"/_rels"+Q+".rels");if(null!=z){D=z.getAttribute("Target")||"";L=z.getAttribute("Type");z=D.lastIndexOf("/");try{D=D.substring(z+1,D.length)}catch(y){break}return{type:L,target:D}}break}}z=z.nextSibling}};var f=a.ownerDocument.vsdxFileName,k=a.getAttribute("ForeignType"),n=a.getAttribute("CompressionType")||"",q=null;if(function(z,D){return z&&z.equals?z.equals(D):z===D}(k,"Bitmap"))n=n.toLowerCase();else if(function(z,D){return z&&-z.equals?z.equals(D):z===D}(k,"MetaFile"))n="png";else if(function(z,D){return z&&z.equals?z.equals(D):z===D}(k,"Enhanced Metafile")||function(z,D){return z&&z.equals?z.equals(D):z===D}(k,"EnhMetaFile"))n="png";else if("Object"==k){if(q=e(a,f),0<q.type.indexOf("/oleObject"))if(n=b.getRelationship("rId1","visio/embeddings/_rels/"+q.target+".rels"),null!=n){q=n.getAttribute("Target");k=n.getAttribute("Type");try{var t=q.lastIndexOf("/");q=q.substring(t+1,q.length)}catch(z){return}n="png";q={type:k,-target:q}}else return}else return;null==q&&(q=e(a,f));k=q.type;q=q.target;null!=k&&function(z,D){var L=z.length-D.length;z=z.indexOf(D,L);return-1!==z&&z===L}(k,"image")&&(this.imageData={},(a=b.getMedia(g.mxgraph.io.mxVsdxCodec.vsdxPlaceholder+"/media/"+q))?(this.imageData.iData=a,function(z,D){var L=z.length-D.length;z=z.indexOf(D,L);return-1!==z&&z===L}(q.toLowerCase(),".bmp")&&(n="jpg"),this.imageData.iType=n):(this.imageData.iData=c.ERROR_IMAGE,this.imageData.iType="svg+xml"))}else(function(z,-D){return z&&z.equals?z.equals(D):z===D})(e,g.mxgraph.io.vsdx.mxVsdxConstants.TEXT)&&(this.text=a)};c.prototype.parseSection=function(a){var b=a.getAttribute("N");if(function(L,T){return L&&L.equals?L.equals(T):L===T}(b,"Geometry"))null==this.geom&&(this.geom=[]),this.geom.push(a);else if(function(L,T){return L&&L.equals?L.equals(T):L===T}(b,"Field")){a=g.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(a,"Row");for(var e=0;e<a.length;e++){b=a[e];var f=b.getAttribute("IX")||"";if(0!==f.length)if(null==-this.fields&&(this.fields={}),function(L,T){return L&&L.equals?L.equals(T):L===T}("1",b.getAttribute("Del")))this.fields[f]="";else{for(var k=g.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(b,"Cell"),n="",q="",t=0;t<k.length;t++){var z=k[t];b=z.getAttribute("N");z=z.getAttribute("V")||z.textContent||"";switch(b){case "Value":n=z;break;case "Format":q=z}}if("esc(0)"==q)this.fields[f]=n;else if(0!==n.length){try{var D=isNaN(n)?new Date(n):new Date(c.VSDX_START_TIME+Math.floor(864E5*parseFloat(n)));-q="c"==q?0==D.getHours()+D.getMinutes()+D.getSeconds()+D.getMilliseconds()?"m/d/yyyy":"m/d/yyyy h:MM:ss tt":"ddddd"==q?"m/d/yyyy":"dddddd"==q?"dddd, mmmm dd, yyyy":"C"==q?"dddd, mmmm dd, yyyy h:MM:ss tt":"T"==q?"h:MM:ss tt":q.replace(/am\/pm/g,"tt").replace(/m/g,"@").replace(/M/g,"m").replace(/@/g,"M");n=Graph.prototype.formatDate(D,"UTC:"+q.replace(RegExp("\\{|\\}","g"),""))}catch(L){}this.fields[f]=n}}}}else h.prototype.parseSection.call(this,a)};c.prototype.parseGeom=function(){return this.hasGeomList()?-this.geomList.getShapeXML(this):""};c.prototype.getText=function(){return null!=this.text?this.text.textContent:null};c.prototype.getTextChildren=function(){return null!=this.text?this.text.childNodes:null};c.prototype.getWidth=function(){if(1>this.width&&null!=this.childShapes)try{for(var a=0;a<this.childShapes.entries.length;a++)this.width=Math.max(this.childShapes.entries[a].value.width,this.width)}catch(b){}return 0===this.width&&0<this.height?1:this.width};c.prototype.getHeight=function(){if(1>-this.height&&null!=this.childShapes)try{for(var a=0;a<this.childShapes.entries.length;a++)this.height=Math.max(this.childShapes.entries[a].value.height,this.height)}catch(b){}return 0===this.height&&0<this.width?1:this.height};c.prototype.getRotation=function(){return this.rotation};c.prototype.getStyleMap=function(){return this.styleMap};c.prototype.hasGeom=function(){return!(null==this.geom||0==this.geom.length)};c.prototype.hasGeomList=function(){return null!=this.geomList&&this.geomList.hasGeom()};-c.prototype.getPPList=function(a){var b=null;""!=a&&(a=this.getBullet(a),"0"!=a&&(b='<ul style="margin: 0;list-style-type: '+("4"==a?"square":"disc")+'">'));return b};c.prototype.getTextParagraphFormated=function(a){var b="",e={};e["text-align"]=this.getHorizontalAlign(this.pp,!0);e["margin-left"]=this.getIndentLeft(this.pp);e["margin-right"]=this.getIndentRight(this.pp);e["margin-top"]=this.getSpBefore(this.pp)+"px";e["margin-bottom"]=this.getSpAfter(this.pp)+"px";e["text-indent"]=this.getIndentFirst(this.pp);-e["vertical-align"]=this.getAlignVertical();e.direction=this.getTextDirection(this.pp);return b+=this.insertAttributes(a,e)};c.prototype.getTextCharFormated=function(a){var b="color:"+this.getTextColor(this.cp)+";",e="font-size:"+parseFloat(this.getTextSize(this.cp))+"px;",f="font-family:"+this.getTextFont(this.cp)+";",k="direction:"+this.getRtlText(this.cp)+";",n="letter-spacing:"+parseFloat(this.getLetterSpace(this.cp))/.71+"px;",q="line-height:"+this.getSpcLine(this.pp),t=";opacity:"+this.getTextOpacity(this.cp),-z=this.getTextPos(this.cp),D=this.getTextCase(this.cp);(function(L,T){return L&&L.equals?L.equals(T):L===T})(D,"1")?a=a.toUpperCase():function(L,T){return L&&L.equals?L.equals(T):L===T}(D,"2")&&(a=g.mxgraph.io.vsdx.mxVsdxUtils.toInitialCapital(a));(function(L,T){return L&&L.equals?L.equals(T):L===T})(z,"1")?a=g.mxgraph.io.vsdx.mxVsdxUtils.surroundByTags(a,"sup"):function(L,T){return L&&L.equals?L.equals(T):L===T}(z,"2")&&(a=g.mxgraph.io.vsdx.mxVsdxUtils.surroundByTags(a,"sub"));a=this.isBold(this.cp)?-g.mxgraph.io.vsdx.mxVsdxUtils.surroundByTags(a,"b"):a;a=this.isItalic(this.cp)?g.mxgraph.io.vsdx.mxVsdxUtils.surroundByTags(a,"i"):a;a=this.isUnderline(this.cp)?g.mxgraph.io.vsdx.mxVsdxUtils.surroundByTags(a,"u"):a;a=this.getTextStrike(this.cp)?g.mxgraph.io.vsdx.mxVsdxUtils.surroundByTags(a,"s"):a;a=this.isSmallCaps(this.cp)?g.mxgraph.io.vsdx.mxVsdxUtils.toSmallCaps(a,this.getTextSize(this.cp)):a;return'<font style="'+e+f+b+k+n+q+t+'">'+a+"</font>"};c.prototype.getTextDirection=function(a){a=this.getFlags(a);-(function(b,e){return b&&b.equals?b.equals(e):b===e})(a,"0")?a="ltr":function(b,e){return b&&b.equals?b.equals(e):b===e}(a,"1")&&(a="rtl");return a};c.prototype.getSpcLine=function(a){var b=!1;a=this.getSpLine(a);0<a?a*=g.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$():(a=0===a?100:100*Math.abs(a),b=!0);return(new String(a)).toString()+(b?"%":"px")};c.prototype.getSpcBefore=function(a){return this.getSpBefore(a)};c.prototype.insertAttributes=function(a,b){if(-1!=a.indexOf(">")){var e=a.indexOf(">"),-f=a.substring(e);a=a.substring(0,e);b=' style="'+g.mxgraph.io.vsdx.mxVsdxUtils.getStyleString(b,":")+'"';return a+b+f}return a};c.prototype.getRtlText=function(a){a=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(g.mxgraph.io.vsdx.mxVsdxConstants.RTL_TEXT,a,g.mxgraph.io.vsdx.mxVsdxConstants.PARAGRAPH);a=this.getValue(a,"ltr");(function(b,e){return b&&b.equals?b.equals(e):b===e})(a,"0")?a="ltr":function(b,e){return b&&b.equals?b.equals(e):b===e}(a,"1")&&(a="rtl");return a};c.prototype.isBold=-function(a){var b=!1;a=this.getTextStyle(a);(function(e,f){return e&&e.equals?e.equals(f):e===f})(a,"")||function(e,f){return e&&e.equals?e.equals(f):e===f}(a.toLowerCase(),"themed")||(b=1===(parseInt(a)&1));return b};c.prototype.isItalic=function(a){var b=!1;a=this.getTextStyle(a);(function(e,f){return e&&e.equals?e.equals(f):e===f})(a,"")||function(e,f){return e&&e.equals?e.equals(f):e===f}(a.toLowerCase(),"themed")||(b=2===(parseInt(a)&2));return b};c.prototype.isUnderline=function(a){var b=!1;-a=this.getTextStyle(a);(function(e,f){return e&&e.equals?e.equals(f):e===f})(a,"")||function(e,f){return e&&e.equals?e.equals(f):e===f}(a.toLowerCase(),"themed")||(b=4===(parseInt(a)&4));return b};c.prototype.isSmallCaps=function(a){var b=!1;a=this.getTextStyle(a);(function(e,f){return e&&e.equals?e.equals(f):e===f})(a,"")||function(e,f){return e&&e.equals?e.equals(f):e===f}(a.toLowerCase(),"themed")||(b=8===(parseInt(a)&8));return b};c.prototype.getTextOpacity=function(a){a=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(g.mxgraph.io.vsdx.mxVsdxConstants.COLOR_TRANS,+z.equals?z.equals(D):z===D}(k,"MetaFile"))n="png";else if(function(z,D){return z&&z.equals?z.equals(D):z===D}(k,"Enhanced Metafile")||function(z,D){return z&&z.equals?z.equals(D):z===D}(k,"EnhMetaFile"))n="png";else if("Object"==k)if(q=e(a,f),n=b.getRelationship("rId1","visio/embeddings/_rels/"+q.target+".rels"),null!=n){q=n.getAttribute("Target");k=n.getAttribute("Type");try{var t=q.lastIndexOf("/");q=q.substring(t+1,q.length)}catch(z){return}n="png";q={type:k,target:q}}else return;else return;null==+q&&(q=e(a,f));k=q.type;q=q.target;null!=k&&function(z,D){var L=z.length-D.length;z=z.indexOf(D,L);return-1!==z&&z===L}(k,"image")&&(this.imageData={},(a=b.getMedia(g.mxgraph.io.mxVsdxCodec.vsdxPlaceholder+"/media/"+q))?(this.imageData.iData=a,function(z,D){var L=z.length-D.length;z=z.indexOf(D,L);return-1!==z&&z===L}(q.toLowerCase(),".bmp")&&(n="jpg"),this.imageData.iType=n):(this.imageData.iData=c.ERROR_IMAGE,this.imageData.iType="svg+xml"))}else(function(z,D){return z&&z.equals?z.equals(D):z===+D})(e,g.mxgraph.io.vsdx.mxVsdxConstants.TEXT)&&(this.text=a)};c.prototype.parseSection=function(a){var b=a.getAttribute("N");if(function(L,T){return L&&L.equals?L.equals(T):L===T}(b,"Geometry"))null==this.geom&&(this.geom=[]),this.geom.push(a);else if(function(L,T){return L&&L.equals?L.equals(T):L===T}(b,"Field")){a=g.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(a,"Row");for(var e=0;e<a.length;e++){b=a[e];var f=b.getAttribute("IX")||"";if(0!==f.length)if(null==this.fields&&(this.fields=+{}),function(L,T){return L&&L.equals?L.equals(T):L===T}("1",b.getAttribute("Del")))this.fields[f]="";else{for(var k=g.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(b,"Cell"),n="",q="",t=0;t<k.length;t++){var z=k[t];b=z.getAttribute("N");z=z.getAttribute("V")||z.textContent||"";switch(b){case "Value":n=z;break;case "Format":q=z}}if("esc(0)"==q)this.fields[f]=n;else if(0!==n.length){try{var D=isNaN(n)?new Date(n):new Date(c.VSDX_START_TIME+Math.floor(864E5*parseFloat(n)));q="c"==q?0==D.getHours()++D.getMinutes()+D.getSeconds()+D.getMilliseconds()?"m/d/yyyy":"m/d/yyyy h:MM:ss tt":"ddddd"==q?"m/d/yyyy":"dddddd"==q?"dddd, mmmm dd, yyyy":"C"==q?"dddd, mmmm dd, yyyy h:MM:ss tt":"T"==q?"h:MM:ss tt":q.replace(/am\/pm/g,"tt").replace(/m/g,"@").replace(/M/g,"m").replace(/@/g,"M");n=Graph.prototype.formatDate(D,"UTC:"+q.replace(RegExp("\\{|\\}","g"),""))}catch(L){}this.fields[f]=n}}}}else h.prototype.parseSection.call(this,a)};c.prototype.parseGeom=function(){return this.hasGeomList()?this.geomList.getShapeXML(this):+""};c.prototype.getText=function(){return null!=this.text?this.text.textContent:null};c.prototype.getTextChildren=function(){return null!=this.text?this.text.childNodes:null};c.prototype.getWidth=function(){if(1>this.width&&null!=this.childShapes)try{for(var a=0;a<this.childShapes.entries.length;a++)this.width=Math.max(this.childShapes.entries[a].value.width,this.width)}catch(b){}return 0===this.width&&0<this.height?1:this.width};c.prototype.getHeight=function(){if(1>this.height&&null!=this.childShapes)try{for(var a=+0;a<this.childShapes.entries.length;a++)this.height=Math.max(this.childShapes.entries[a].value.height,this.height)}catch(b){}return 0===this.height&&0<this.width?1:this.height};c.prototype.getRotation=function(){return this.rotation};c.prototype.getStyleMap=function(){return this.styleMap};c.prototype.hasGeom=function(){return!(null==this.geom||0==this.geom.length)};c.prototype.hasGeomList=function(){return null!=this.geomList&&this.geomList.hasGeom()};c.prototype.getPPList=function(a){var b=null;+""!=a&&(a=this.getBullet(a),"0"!=a&&(b='<ul style="margin: 0;list-style-type: '+("4"==a?"square":"disc")+'">'));return b};c.prototype.getTextParagraphFormated=function(a){var b="",e={};e["text-align"]=this.getHorizontalAlign(this.pp,!0);e["margin-left"]=this.getIndentLeft(this.pp);e["margin-right"]=this.getIndentRight(this.pp);e["margin-top"]=this.getSpBefore(this.pp)+"px";e["margin-bottom"]=this.getSpAfter(this.pp)+"px";e["text-indent"]=this.getIndentFirst(this.pp);e["vertical-align"]=this.getAlignVertical();+e.direction=this.getTextDirection(this.pp);return b+=this.insertAttributes(a,e)};c.prototype.getTextCharFormated=function(a){var b="color:"+this.getTextColor(this.cp)+";",e="font-size:"+parseFloat(this.getTextSize(this.cp))+"px;",f="font-family:"+this.getTextFont(this.cp)+";",k="direction:"+this.getRtlText(this.cp)+";",n="letter-spacing:"+parseFloat(this.getLetterSpace(this.cp))/.71+"px;",q="line-height:"+this.getSpcLine(this.pp),t=";opacity:"+this.getTextOpacity(this.cp),z=this.getTextPos(this.cp),+D=this.getTextCase(this.cp);(function(L,T){return L&&L.equals?L.equals(T):L===T})(D,"1")?a=a.toUpperCase():function(L,T){return L&&L.equals?L.equals(T):L===T}(D,"2")&&(a=g.mxgraph.io.vsdx.mxVsdxUtils.toInitialCapital(a));(function(L,T){return L&&L.equals?L.equals(T):L===T})(z,"1")?a=g.mxgraph.io.vsdx.mxVsdxUtils.surroundByTags(a,"sup"):function(L,T){return L&&L.equals?L.equals(T):L===T}(z,"2")&&(a=g.mxgraph.io.vsdx.mxVsdxUtils.surroundByTags(a,"sub"));a=this.isBold(this.cp)?g.mxgraph.io.vsdx.mxVsdxUtils.surroundByTags(a,+"b"):a;a=this.isItalic(this.cp)?g.mxgraph.io.vsdx.mxVsdxUtils.surroundByTags(a,"i"):a;a=this.isUnderline(this.cp)?g.mxgraph.io.vsdx.mxVsdxUtils.surroundByTags(a,"u"):a;a=this.getTextStrike(this.cp)?g.mxgraph.io.vsdx.mxVsdxUtils.surroundByTags(a,"s"):a;a=this.isSmallCaps(this.cp)?g.mxgraph.io.vsdx.mxVsdxUtils.toSmallCaps(a,this.getTextSize(this.cp)):a;return'<font style="'+e+f+b+k+n+q+t+'">'+a+"</font>"};c.prototype.getTextDirection=function(a){a=this.getFlags(a);(function(b,e){return b&&b.equals?+b.equals(e):b===e})(a,"0")?a="ltr":function(b,e){return b&&b.equals?b.equals(e):b===e}(a,"1")&&(a="rtl");return a};c.prototype.getSpcLine=function(a){var b=!1;a=this.getSpLine(a);0<a?a*=g.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$():(a=0===a?100:100*Math.abs(a),b=!0);return(new String(a)).toString()+(b?"%":"px")};c.prototype.getSpcBefore=function(a){return this.getSpBefore(a)};c.prototype.insertAttributes=function(a,b){if(-1!=a.indexOf(">")){var e=a.indexOf(">"),f=a.substring(e);a=a.substring(0,+e);b=' style="'+g.mxgraph.io.vsdx.mxVsdxUtils.getStyleString(b,":")+'"';return a+b+f}return a};c.prototype.getRtlText=function(a){a=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(g.mxgraph.io.vsdx.mxVsdxConstants.RTL_TEXT,a,g.mxgraph.io.vsdx.mxVsdxConstants.PARAGRAPH);a=this.getValue(a,"ltr");(function(b,e){return b&&b.equals?b.equals(e):b===e})(a,"0")?a="ltr":function(b,e){return b&&b.equals?b.equals(e):b===e}(a,"1")&&(a="rtl");return a};c.prototype.isBold=function(a){var b=+!1;a=this.getTextStyle(a);(function(e,f){return e&&e.equals?e.equals(f):e===f})(a,"")||function(e,f){return e&&e.equals?e.equals(f):e===f}(a.toLowerCase(),"themed")||(b=1===(parseInt(a)&1));return b};c.prototype.isItalic=function(a){var b=!1;a=this.getTextStyle(a);(function(e,f){return e&&e.equals?e.equals(f):e===f})(a,"")||function(e,f){return e&&e.equals?e.equals(f):e===f}(a.toLowerCase(),"themed")||(b=2===(parseInt(a)&2));return b};c.prototype.isUnderline=function(a){var b=!1;a=this.getTextStyle(a);+(function(e,f){return e&&e.equals?e.equals(f):e===f})(a,"")||function(e,f){return e&&e.equals?e.equals(f):e===f}(a.toLowerCase(),"themed")||(b=4===(parseInt(a)&4));return b};c.prototype.isSmallCaps=function(a){var b=!1;a=this.getTextStyle(a);(function(e,f){return e&&e.equals?e.equals(f):e===f})(a,"")||function(e,f){return e&&e.equals?e.equals(f):e===f}(a.toLowerCase(),"themed")||(b=8===(parseInt(a)&8));return b};c.prototype.getTextOpacity=function(a){a=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(g.mxgraph.io.vsdx.mxVsdxConstants.COLOR_TRANS,a,g.mxgraph.io.vsdx.mxVsdxConstants.CHARACTER);a=this.getValue(a,"0");var b="1";null!=a&&0!==a.length&&(a=1-parseFloat(a),b=(new String(a)).toString());return b};c.prototype.getTextSize=function(a){a=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(g.mxgraph.io.vsdx.mxVsdxConstants.SIZE,a,g.mxgraph.io.vsdx.mxVsdxConstants.CHARACTER);a=this.getScreenNumericalValue$org_w3c_dom_Element$double(a,12);return""+Math.round(100*a)/100};c.prototype.getAlignVertical=function(){var a=mxConstants.ALIGN_MIDDLE,b=parseInt(this.getValue(this.getCellElement$java_lang_String(g.mxgraph.io.vsdx.mxVsdxConstants.VERTICAL_ALIGN),"1"));0===b?a=mxConstants.ALIGN_TOP:2===b&&(a=mxConstants.ALIGN_BOTTOM);return a};c.prototype.getGeomList=function(){return this.geomList};c.prototype.getLastX=function(){return this.lastX};c.prototype.getLastY=function(){return this.lastY};c.prototype.getLastMoveX=function(){return this.lastMoveX};c.prototype.getLastMoveY=function(){return this.lastMoveY};c.prototype.getLastKnot=function(){return this.lastKnot};c.prototype.setLastX=function(a){this.lastX=a};c.prototype.setLastY=function(a){this.lastY=a};c.prototype.setLastMoveX=function(a){this.lastMoveX=a};c.prototype.setLastMoveY=function(a){this.lastMoveY=a};c.prototype.setLastKnot=function(a){this.lastKnot=a};c.prototype.getConnections=function(){var a=[];if(this.sections&&this.sections.Connection)for(var b=this.getHeight(),e=this.getWidth(),f=g.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(this.sections.Connection.elem,"Row"),k=0;k<f.length;k++){for(var n=diff --git a/src/main/webapp/js/grapheditor/Dialogs.js b/src/main/webapp/js/grapheditor/Dialogs.jsindex 96af46a1a..0e9acfca6 100644--- a/src/main/webapp/js/grapheditor/Dialogs.js+++ b/src/main/webapp/js/grapheditor/Dialogs.js@@ -3573,6 +3573,31 @@ var LayersWindow = function(editorUi, x, y, w, h)}}), layerSubmenu);+ menu.addItem(mxResources.get('addLayer'), null, mxUtils.bind(this, function(evt)+ {+ if (graph.isEnabled())+ {+ selectLayers(false);+ model.beginUpdate();+ var cell++ try+ {+ cell = graph.addCell(new mxCell(mxResources.get('untitledLayer')),+ model.root, index + ((mxEvent.isShiftDown(evt) ? 0 : 1)));+ graph.setDefaultParent(cell);+ }+ finally+ {+ model.endUpdate();+ }++ renameLayer(cell);+ }++ mxEvent.consume(evt);+ }), layerSubmenu);+menu.addSeparator(layerSubmenu);menu.addItem(mxResources.get('rename'), null, mxUtils.bind(this, function()@@ -3743,7 +3768,6 @@ var LayersWindow = function(editorUi, x, y, w, h)dot.innerHTML = '•';dot.style.padding = '0 2px';dot.style.fontSize = '16pt';- dot.style.right = '6px';dot.style.order = '1';function updateLayerDot()@@ -3810,6 +3834,7 @@ var LayersWindow = function(editorUi, x, y, w, h)var div = document.createElement('div');div.style.display = 'flex';div.style.alignItems = 'center';+ div.style.minWidth = '0';div.style.flexGrow = '1';mxEvent.addListener(cb, 'click', function(evt)@@ -3854,10 +3879,26 @@ var LayersWindow = function(editorUi, x, y, w, h)mxEvent.addListener(ldiv, 'dragend', function(evt){+ var layers = getSelectedLayers();+if (dragSource != null && dropIndex != null &&model.getChildCount(model.root) > 1){- graph.addCell(child, model.root, dropIndex);+ layers = (layers.length == 0) ? [child] : layers;++ // Moves all selected layers+ model.beginUpdate();+ try+ {+ for (var i = 0; i < layers.length; i++)+ {+ graph.addCell(layers[i], model.root, dropIndex);+ }+ }+ finally+ {+ model.endUpdate();+ }}dragSource = null;@@ -4029,7 +4070,6 @@ var LayersWindow = function(editorUi, x, y, w, h){addLayer(i, graph.convertValueToString(child) ||mxResources.get('background'), child, child,- // graph.getDefaultParent() == child ||isLayerSelected(child));}))(model.getChildAt(model.root, i));}diff --git a/src/main/webapp/js/grapheditor/Format.js b/src/main/webapp/js/grapheditor/Format.jsindex b6613a1f8..e6b0ac73b 100644--- a/src/main/webapp/js/grapheditor/Format.js+++ b/src/main/webapp/js/grapheditor/Format.js@@ -1246,9 +1246,22 @@ BaseFormatPanel.prototype.createCellColorOption = function(label, colorKey, defafunction getValue(){var style = graph.getCellStyle(graph.getSelectionCell(), false);-- return (style != null) ? ((style[colorKey] != null) ?- style[colorKey] : undefinedValue) : null;+ var returnValue = (style != null) ? style[colorKey] : null;++ // Handles special case for inherited colors+ if (returnValue == 'inherit')+ {+ var parent = graph.getModel().getParent(graph.getSelectionCell());+ var pstyle = graph.getCellStyle(parent, false);++ if (pstyle != null && pstyle[colorKey] != null)+ {+ returnValue = pstyle[colorKey];+ }+ }++ return (style != null) ? ((returnValue != null) ?+ returnValue : undefinedValue) : null;};var value = getValue();diff --git a/src/main/webapp/js/integrate.min.js b/src/main/webapp/js/integrate.min.jsindex 6499f162f..222786b2c 100644--- a/src/main/webapp/js/integrate.min.js+++ b/src/main/webapp/js/integrate.min.js@@ -68,7 +68,7 @@ b),-1!==c&&c===b&&(window.DRAWIO_LOG_URL="https://log.draw.io"))}})();"1"==urlPa"se.diagrams.net"==window.location.hostname&&(urlParams.db="0",urlParams.od="0",urlParams.gh="0",urlParams.gl="0",urlParams.tr="0",urlParams.plugins="0",urlParams.mode="google",urlParams.lockdown="1",window.DRAWIO_GOOGLE_APP_ID=window.DRAWIO_GOOGLE_APP_ID||"184079235871",window.DRAWIO_GOOGLE_CLIENT_ID=window.DRAWIO_GOOGLE_CLIENT_ID||"184079235871-pjf5nn0lff27lk8qf0770gmffiv9gt61.apps.googleusercontent.com");"trello"==urlParams.mode&&(urlParams.tr="1");"embed.diagrams.net"==window.location.hostname&&(urlParams.embed="1");(null==window.location.hash||1>=window.location.hash.length)&&null!=urlParams.open&&(window.location.hash=urlParams.open);"function"!==typeof window.structuredClone&&(window.structuredClone=function(a){return a});window.urlParams=window.urlParams||{};window.DOM_PURIFY_CONFIG=window.DOM_PURIFY_CONFIG||{ADD_TAGS:["use","foreignObject"],FORBID_TAGS:["form"],ALLOWED_URI_REGEXP:/^((?!javascript:).)*$/i,HTML_INTEGRATION_POINTS:{foreignobject:!0},ADD_ATTR:["target","content","pointer-events","requiredFeatures"]};window.MAX_REQUEST_SIZE=window.MAX_REQUEST_SIZE||10485760;window.MAX_AREA=window.MAX_AREA||225E6;window.EXPORT_URL=window.EXPORT_URL||"/export";window.SAVE_URL=window.SAVE_URL||"/save";window.OPEN_URL=window.OPEN_URL||"/open";window.RESOURCES_PATH=window.RESOURCES_PATH||"resources";window.RESOURCE_BASE=window.RESOURCE_BASE||window.RESOURCES_PATH+"/grapheditor";window.STENCIL_PATH=window.STENCIL_PATH||"stencils";window.IMAGE_PATH=window.IMAGE_PATH||"images";window.STYLE_PATH=window.STYLE_PATH||"styles";window.CSS_PATH=window.CSS_PATH||"styles";window.OPEN_FORM=window.OPEN_FORM||"open.html";window.mxBasePath=window.mxBasePath||"mxgraph";-window.mxImageBasePath=window.mxImageBasePath||"mxgraph/images";window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"29.3.5",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),+window.mxImageBasePath=window.mxImageBasePath||"mxgraph/images";window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"29.3.6",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),IS_OP:null!=navigator.userAgent&&(0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/")),IS_OT:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&0>navigator.userAgent.indexOf("Presto/2.2.")&&0>navigator.userAgent.indexOf("Presto/2.1.")&&0>navigator.userAgent.indexOf("Presto/2.0.")&&0>navigator.userAgent.indexOf("Presto/1."),IS_SF:/Apple Computer, Inc/.test(navigator.vendor),IS_ANDROID:0<=navigator.appVersion.indexOf("Android"),IS_IOS:/iP(hone|od|ad)/.test(navigator.platform)||navigator.userAgent.match(/Mac/)&&navigator.maxTouchPoints&&2<navigator.maxTouchPoints,IS_WEBVIEW:/((iPhone|iPod|iPad).*AppleWebKit(?!.*Version)|; wv)/i.test(navigator.userAgent),IS_GC:/Google Inc/.test(navigator.vendor),IS_CHROMEAPP:null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime,IS_FF:-1<navigator.userAgent.toLowerCase().indexOf("firefox"),IS_MT:0<=navigator.userAgent.indexOf("Firefox/")&&0>navigator.userAgent.indexOf("Firefox/1.")&&0>navigator.userAgent.indexOf("Firefox/2.")||0<=navigator.userAgent.indexOf("Iceweasel/")&&0>navigator.userAgent.indexOf("Iceweasel/1.")&&0>navigator.userAgent.indexOf("Iceweasel/2.")||0<=navigator.userAgent.indexOf("SeaMonkey/")&&0>navigator.userAgent.indexOf("SeaMonkey/1.")||0<=navigator.userAgent.indexOf("Iceape/")&&0>navigator.userAgent.indexOf("Iceape/1."),IS_SVG:"MICROSOFT INTERNET EXPLORER"!=navigator.appName.toUpperCase(),NO_FO:!document.createElementNS||@@ -2009,9 +2009,9 @@ Editor.popupsAllowed=null!=window.urlParams?"1"!=urlParams.noDevice:!0;Editor.siEditor.isPngDataUrl=function(a){return null!=a&&"data:image/png;"==a.substring(0,15)};Editor.isJpgDataUrl=function(a){return null!=a&&("data:image/jpg;"==a.substring(0,15)||"data:image/jpeg;"==a.substring(0,16))};Editor.isPngData=function(a){return 8<a.length&&137==a.charCodeAt(0)&&80==a.charCodeAt(1)&&78==a.charCodeAt(2)&&71==a.charCodeAt(3)&&13==a.charCodeAt(4)&&10==a.charCodeAt(5)&&26==a.charCodeAt(6)&&10==a.charCodeAt(7)};Editor.isJpgData=function(a){return 2<a.length&&255==a.charCodeAt(0)&&216==a.charCodeAt(1)};Editor.stripImageMetadata=function(a,b){if(null!=a&&b&&(Editor.isJpgDataUrl(a)||Editor.isPngDataUrl(a))){b=a.indexOf(",")+1;var e=a.substring(b),f=window.atob&&!mxClient.IS_SF?atob(e):Base64.decode(e,!0),g=new ArrayBuffer(f.length),d=new Uint8Array(g);for(e=0;e<f.length;e++)d[e]=f.charCodeAt(e);d=null;Editor.isJpgData(f)?d=Editor.stripJpgMetadata(g):Editor.isPngData(f)&&(d=Editor.stripPngMetadata(g));if(null!=d){f="";for(e=0;e<d.length;e++)f+=String.fromCharCode(d[e]);a=a.substring(0,b)+btoa(f)}}return a};-Editor.stripJpgMetadata=function(a){var b=new DataView(a),e=[];e.push(new Uint8Array(a,0,2));for(var f=2;f<a.byteLength-1;){var g=b.getUint16(f);if(65498===g){e.push(new Uint8Array(a,f));break}if(65488<=g&&65497>=g)e.push(new Uint8Array(a,f,2)),f+=2;else{var d=b.getUint16(f+2),h=65506===g;65505===g||h||e.push(new Uint8Array(a,f,2+d));f+=2+d}}a=e.reduce(function(l,r){return l+r.length},0);a=new Uint8Array(a);b=0;e=$jscomp.makeIterator(e);for(f=e.next();!f.done;f=e.next())f=f.value,a.set(f,b),b+=f.length;+Editor.stripJpgMetadata=function(a){var b=new DataView(a),e=[];e.push(new Uint8Array(a,0,2));for(var f=2;f<a.byteLength-1;){var g=b.getUint16(f);if(65498===g){e.push(new Uint8Array(a,f));break}if(65488<=g&&65497>=g)e.push(new Uint8Array(a,f,2)),f+=2;else{var d=b.getUint16(f+2),h=65506===g;65505===g||h||e.push(new Uint8Array(a,f,2+d));f+=2+d}}a=e.reduce(function(l,q){return l+q.length},0);a=new Uint8Array(a);b=0;e=$jscomp.makeIterator(e);for(f=e.next();!f.done;f=e.next())f=f.value,a.set(f,b),b+=f.length;return a};-Editor.stripPngMetadata=function(a){var b=new DataView(a),e=new Set("eXIf tEXt iTXt zTXt iCCP tIME".split(" ")),f=[];f.push(new Uint8Array(a,0,8));for(var g=8;g<a.byteLength;){var d=b.getUint32(g),h=String.fromCharCode(b.getUint8(g+4),b.getUint8(g+5),b.getUint8(g+6),b.getUint8(g+7));d=8+d+4;e.has(h)||f.push(new Uint8Array(a,g,d));g+=d;if("IEND"===h)break}a=f.reduce(function(l,r){return l+r.length},0);a=new Uint8Array(a);b=0;f=$jscomp.makeIterator(f);for(e=f.next();!e.done;e=f.next())e=e.value,a.set(e,+Editor.stripPngMetadata=function(a){var b=new DataView(a),e=new Set("eXIf tEXt iTXt zTXt iCCP tIME".split(" ")),f=[];f.push(new Uint8Array(a,0,8));for(var g=8;g<a.byteLength;){var d=b.getUint32(g),h=String.fromCharCode(b.getUint8(g+4),b.getUint8(g+5),b.getUint8(g+6),b.getUint8(g+7));d=8+d+4;e.has(h)||f.push(new Uint8Array(a,g,d));g+=d;if("IEND"===h)break}a=f.reduce(function(l,q){return l+q.length},0);a=new Uint8Array(a);b=0;f=$jscomp.makeIterator(f);for(e=f.next();!e.done;e=f.next())e=e.value,a.set(e,b),b+=e.length;return a};Editor.convertHtmlToText=function(a){if(null!=a){var b=document.createElement("div");b.innerHTML=Graph.sanitizeHtml(a);return mxUtils.extractTextWithWhitespace(b.childNodes)}return null};Editor.extractGraphModelFromText=function(a){function b(d){var h=d.indexOf("```");0<=h&&(d=d.substring(d,0,h+6));return d}function e(d){var h=d.lastIndexOf("```");0<=h&&(d=d.substring(h+3));return d}var f=a.indexOf("<mxGraphModel "),g=a.indexOf("</mxGraphModel>");0>f&&(f=a.indexOf("<mxGraphModel>"));return 0<=f&&g>f?[mxUtils.trim(b(a.substring(0,f))),a.substring(f,g+15),mxUtils.trim(e(a.substring(g+15)))]:[a,"",""]};Editor.extractGraphModelFromPng=function(a){var b=null;try{var e=a.substring(a.indexOf(",")+1),f=window.atob&&!mxClient.IS_SF?atob(e):Base64.decode(e,!0);EditorUi.parsePng(f,mxUtils.bind(this,function(g,d,h){g=f.substring(g+8,g+8+h);"zTXt"==d?(h=g.indexOf(String.fromCharCode(0)),"mxGraphModel"==g.substring(0,h)&&(g=pako.inflateRaw(Graph.stringToArrayBuffer(g.substring(h+2)),{to:"string"}).replace(/\+/g," "),null!=g&&0<g.length&&(b=g))):"tEXt"==d&&(g=g.split(String.fromCharCode(0)),1<g.length&&("mxGraphModel"==@@ -2040,78 +2040,78 @@ Editor.prototype.setModified=function(a){this.modified=a};Editor.prototype.setFiEditor.prototype.createUndoManager=function(){var a=this.graph,b=new mxUndoManager;this.undoListener=function(f,g){b.undoableEditHappened(g.getProperty("edit"))};var e=mxUtils.bind(this,function(f,g){this.undoListener.apply(this,arguments)});a.getModel().addListener(mxEvent.UNDO,e);a.getView().addListener(mxEvent.UNDO,e);e=function(f,g){f=g.getProperty("edit").changes;f=a.getSelectionCellsForChanges(f);g=!1;if(0<f.length){for(var d=[],h=0;h<f.length;h++)null!=a.view.getState(f[h])&&(d.push(f[h]),g||(a.scrollCellToVisible(f[h]),g=!0));a.setSelectionCells(d)}};b.addListener(mxEvent.UNDO,e);b.addListener(mxEvent.REDO,e);return b};Editor.prototype.initStencilRegistry=function(){};Editor.prototype.destroy=function(){null!=this.graph&&(this.graph.destroy(),this.graph=null)};OpenFile=function(a){this.consumer=this.producer=null;this.done=a;this.args=null};OpenFile.prototype.setConsumer=function(a){this.consumer=a;this.execute()};OpenFile.prototype.setData=function(){this.args=arguments;this.execute()};OpenFile.prototype.error=function(a){this.cancel(!0);mxUtils.alert(a)};OpenFile.prototype.execute=function(){null!=this.consumer&&null!=this.args&&(this.cancel(!1),this.consumer.apply(this,this.args))};OpenFile.prototype.cancel=function(a){null!=this.done&&this.done(null!=a?a:!0)};-function Dialog(a,b,e,f,g,d,h,l,r,k,u){this.editorUi=a;null==this.bg&&(this.bg=a.createDiv("geBackground"));g&&document.body.appendChild(this.bg);g=a.createDiv(r?"geTransDialog":"geDialog");g.style.width=e+60+"px";g.style.height=f+60+"px";"1"!=urlParams.embedInline||Editor.inlineFullscreen||null==a.embedViewport||(g.style.left=a.embedViewport.x+a.embedViewport.width/2+"px",g.style.top=a.embedViewport.y+a.embedViewport.height/2+"px");g.appendChild(b);document.body.appendChild(g);if(d&&(b=document.createElement("div"),+function Dialog(a,b,e,f,g,d,h,l,q,k,u){this.editorUi=a;null==this.bg&&(this.bg=a.createDiv("geBackground"));g&&document.body.appendChild(this.bg);g=a.createDiv(q?"geTransDialog":"geDialog");g.style.width=e+60+"px";g.style.height=f+60+"px";"1"!=urlParams.embedInline||Editor.inlineFullscreen||null==a.embedViewport||(g.style.left=a.embedViewport.x+a.embedViewport.width/2+"px",g.style.top=a.embedViewport.y+a.embedViewport.height/2+"px");g.appendChild(b);document.body.appendChild(g);if(d&&(b=document.createElement("div"),b.className="geButton",b.setAttribute("title",mxResources.get("close")),b.style.backgroundImage="url("+Editor.crossImage+")",b.style.position="absolute",b.style.top="0px",b.style.right="0px",mxEvent.addListener(b,"click",mxUtils.bind(this,function(){a.hideDialog(!0)})),g.appendChild(b),!u)){var w=!1;mxEvent.addGestureListeners(this.bg,mxUtils.bind(this,function(y){w=!0}),null,mxUtils.bind(this,function(y){w&&(a.hideDialog(!0),w=!1)}))}this.onDialogClose=h;this.container=g;null!=k&&this.addResizeHandler(k);a.editor.fireEvent(new mxEventObject("showDialog"))}Dialog.prototype.noColorImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyBpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBXaW5kb3dzIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkEzRDlBMUUwODYxMTExRTFCMzA4RDdDMjJBMEMxRDM3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkEzRDlBMUUxODYxMTExRTFCMzA4RDdDMjJBMEMxRDM3Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QTNEOUExREU4NjExMTFFMUIzMDhEN0MyMkEwQzFEMzciIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QTNEOUExREY4NjExMTFFMUIzMDhEN0MyMkEwQzFEMzciLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5xh3fmAAAABlBMVEX////MzMw46qqDAAAAGElEQVR42mJggAJGKGAYIIGBth8KAAIMAEUQAIElnLuQAAAAAElFTkSuQmCC";Dialog.prototype.closeImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJAQMAAADaX5RTAAAABlBMVEV7mr3///+wksspAAAAAnRSTlP/AOW3MEoAAAAdSURBVAgdY9jXwCDDwNDRwHCwgeExmASygSL7GgB12QiqNHZZIwAAAABJRU5ErkJggg==";Dialog.prototype.clearImage="data:image/gif;base64,R0lGODlhDQAKAIABAMDAwP///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OUIzOEM1NzI4NjEyMTFFMUEzMkNDMUE3NjZERDE2QjIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OUIzOEM1NzM4NjEyMTFFMUEzMkNDMUE3NjZERDE2QjIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5QjM4QzU3MDg2MTIxMUUxQTMyQ0MxQTc2NkREMTZCMiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5QjM4QzU3MTg2MTIxMUUxQTMyQ0MxQTc2NkREMTZCMiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgH//v38+/r5+Pf29fTz8vHw7+7t7Ovq6ejn5uXk4+Lh4N/e3dzb2tnY19bV1NPS0dDPzs3My8rJyMfGxcTDwsHAv769vLu6ubi3trW0s7KxsK+urayrqqmop6alpKOioaCfnp2cm5qZmJeWlZSTkpGQj46NjIuKiYiHhoWEg4KBgH9+fXx7enl4d3Z1dHNycXBvbm1sa2ppaGdmZWRjYmFgX15dXFtaWVhXVlVUU1JRUE9OTUxLSklIR0ZFRENCQUA/Pj08Ozo5ODc2NTQzMjEwLy4tLCsqKSgnJiUkIyIhIB8eHRwbGhkYFxYVFBMSERAPDg0MCwoJCAcGBQQDAgEAACH5BAEAAAEALAAAAAANAAoAAAIXTGCJebD9jEOTqRlttXdrB32PJ2ncyRQAOw==";Dialog.prototype.getDocumentSize=function(){return mxUtils.getDocumentSize()};Dialog.prototype.getPosition=function(a,b){return new mxPoint(a,b)};-Dialog.prototype.addResizeHandler=function(a){var b=document.createElement("img");b.setAttribute("src",mxWindow.prototype.resizeImage);b.style.cursor="nwse-resize";b.style.position="absolute";b.style.bottom="0px";b.style.right="0px";b.style.zIndex="2";var e=null,f=null,g=null,d=null,h=mxUtils.bind(this,function(k){e=mxEvent.getClientX(k);f=mxEvent.getClientY(k);g=parseInt(this.container.style.width);d=parseInt(this.container.style.height);mxEvent.addGestureListeners(document,null,l,r);mxEvent.consume(k)}),-l=mxUtils.bind(this,function(k){if(null!=e&&null!=f){var u=mxEvent.getClientX(k)-e,w=mxEvent.getClientY(k)-f;this.container.style.width=Math.max(a.width,g+2*u)+"px";this.container.style.height=Math.max(a.height,d+2*w)+"px";mxEvent.consume(k)}}),r=mxUtils.bind(this,function(k){null!=e&&null!=f&&(f=e=null,mxEvent.removeGestureListeners(document,null,l,r),mxEvent.consume(k))});mxEvent.addGestureListeners(b,h,l,r);this.container.appendChild(b)};+Dialog.prototype.addResizeHandler=function(a){var b=document.createElement("img");b.setAttribute("src",mxWindow.prototype.resizeImage);b.style.cursor="nwse-resize";b.style.position="absolute";b.style.bottom="0px";b.style.right="0px";b.style.zIndex="2";var e=null,f=null,g=null,d=null,h=mxUtils.bind(this,function(k){e=mxEvent.getClientX(k);f=mxEvent.getClientY(k);g=parseInt(this.container.style.width);d=parseInt(this.container.style.height);mxEvent.addGestureListeners(document,null,l,q);mxEvent.consume(k)}),+l=mxUtils.bind(this,function(k){if(null!=e&&null!=f){var u=mxEvent.getClientX(k)-e,w=mxEvent.getClientY(k)-f;this.container.style.width=Math.max(a.width,g+2*u)+"px";this.container.style.height=Math.max(a.height,d+2*w)+"px";mxEvent.consume(k)}}),q=mxUtils.bind(this,function(k){null!=e&&null!=f&&(f=e=null,mxEvent.removeGestureListeners(document,null,l,q),mxEvent.consume(k))});mxEvent.addGestureListeners(b,h,l,q);this.container.appendChild(b)};Dialog.prototype.close=function(a,b){if(null!=this.onDialogClose){if(0==this.onDialogClose(a,b))return!1;this.onDialogClose=null}null!=this.dialogImg&&null!=this.dialogImg.parentNode&&(this.dialogImg.parentNode.removeChild(this.dialogImg),this.dialogImg=null);null!=this.bg&&null!=this.bg.parentNode&&this.bg.parentNode.removeChild(this.bg);null!=this.editorUi.embedViewport?this.editorUi.removeListener(this.resizeListener):mxEvent.removeListener(window,"resize",this.resizeListener);null!=this.container.parentNode&&this.container.parentNode.removeChild(this.container)};-var ErrorDialog=function(a,b,e,f,g,d,h,l,r,k,u){r=null!=r?r:!0;var w=document.createElement("div");w.style.textAlign="center";if(null!=b){var y=document.createElement("div");y.style.padding="0px";y.style.margin="0px";y.style.fontSize="18px";y.style.paddingBottom="16px";y.style.marginBottom="10px";y.style.borderBottom="1px solid #c0c0c0";y.style.color="gray";y.style.whiteSpace="nowrap";y.style.textOverflow="ellipsis";y.style.overflow="hidden";mxUtils.write(y,b);y.setAttribute("title",b);w.appendChild(y)}b=+var ErrorDialog=function(a,b,e,f,g,d,h,l,q,k,u){q=null!=q?q:!0;var w=document.createElement("div");w.style.textAlign="center";if(null!=b){var y=document.createElement("div");y.style.padding="0px";y.style.margin="0px";y.style.fontSize="18px";y.style.paddingBottom="16px";y.style.marginBottom="10px";y.style.borderBottom="1px solid #c0c0c0";y.style.color="gray";y.style.whiteSpace="nowrap";y.style.textOverflow="ellipsis";y.style.overflow="hidden";mxUtils.write(y,b);y.setAttribute("title",b);w.appendChild(y)}b=document.createElement("div");b.style.lineHeight="1.2em";b.style.padding="6px";"string"===typeof e&&(e=e.replace(/\n/g,"<br/>"));b.innerHTML=Graph.sanitizeHtml(e);w.appendChild(b);e=document.createElement("div");e.style.marginTop="12px";e.style.textAlign="center";null!=d&&(b=mxUtils.button(mxResources.get("tryAgain"),function(){a.hideDialog();d()}),b.className="geBtn",e.appendChild(b),e.style.textAlign="center");null!=k&&(k=mxUtils.button(k,function(){null!=u&&u()}),k.className="geBtn",e.appendChild(k));-var A=mxUtils.button(f,function(){r&&a.hideDialog();null!=g&&g()});A.className="geBtn";e.appendChild(A);null!=h&&(f=mxUtils.button(h,function(){r&&a.hideDialog();null!=l&&l()}),f.className="geBtn gePrimaryBtn",e.appendChild(f));this.init=function(){A.focus()};w.appendChild(e);this.container=w},PrintDialog=function(a,b,e,f){this.create(a,b,e,f)};-PrintDialog.prototype.create=function(a){function b(A){var G=h.checked||k.checked,D=parseInt(w.value)/100;isNaN(D)&&(D=1,w.value="100%");mxClient.IS_SF&&(D*=.75);var F=e.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT,H=1/e.pageScale;if(G){var M=h.checked?1:parseInt(u.value);isNaN(M)||(H=mxUtils.getScaleForPageCount(M,e,F))}var N=M=0;F=mxRectangle.fromRectangle(F);F.width=Math.ceil(F.width*D);F.height=Math.ceil(F.height*D);H*=D;!G&&e.pageVisible?(D=e.getPageLayout(),M-=D.x*F.width,N-=D.y*F.height):-G=!0;G=PrintDialog.createPrintPreview(e,H,F,0,M,N,G);G.open();A&&PrintDialog.printPreview(G)}var e=a.editor.graph,f=document.createElement("table");f.style.width="100%";f.style.height="100%";var g=document.createElement("tbody");var d=document.createElement("tr");var h=document.createElement("input");h.setAttribute("type","checkbox");var l=document.createElement("td");l.setAttribute("colspan","2");l.style.fontSize="10pt";l.appendChild(h);var r=document.createElement("span");mxUtils.write(r," "+mxResources.get("fitPage"));-l.appendChild(r);mxEvent.addListener(r,"click",function(A){h.checked=!h.checked;k.checked=!h.checked;mxEvent.consume(A)});mxEvent.addListener(h,"change",function(){k.checked=!h.checked});d.appendChild(l);g.appendChild(d);d=d.cloneNode(!1);var k=document.createElement("input");k.setAttribute("type","checkbox");l=document.createElement("td");l.style.fontSize="10pt";l.appendChild(k);r=document.createElement("span");mxUtils.write(r," "+mxResources.get("posterPrint")+":");l.appendChild(r);mxEvent.addListener(r,+var A=mxUtils.button(f,function(){q&&a.hideDialog();null!=g&&g()});A.className="geBtn";e.appendChild(A);null!=h&&(f=mxUtils.button(h,function(){q&&a.hideDialog();null!=l&&l()}),f.className="geBtn gePrimaryBtn",e.appendChild(f));this.init=function(){A.focus()};w.appendChild(e);this.container=w},PrintDialog=function(a,b,e,f){this.create(a,b,e,f)};+PrintDialog.prototype.create=function(a){function b(A){var F=h.checked||k.checked,D=parseInt(w.value)/100;isNaN(D)&&(D=1,w.value="100%");mxClient.IS_SF&&(D*=.75);var G=e.pageFormat||mxConstants.PAGE_FORMAT_A4_PORTRAIT,H=1/e.pageScale;if(F){var M=h.checked?1:parseInt(u.value);isNaN(M)||(H=mxUtils.getScaleForPageCount(M,e,G))}var N=M=0;G=mxRectangle.fromRectangle(G);G.width=Math.ceil(G.width*D);G.height=Math.ceil(G.height*D);H*=D;!F&&e.pageVisible?(D=e.getPageLayout(),M-=D.x*G.width,N-=D.y*G.height):+F=!0;F=PrintDialog.createPrintPreview(e,H,G,0,M,N,F);F.open();A&&PrintDialog.printPreview(F)}var e=a.editor.graph,f=document.createElement("table");f.style.width="100%";f.style.height="100%";var g=document.createElement("tbody");var d=document.createElement("tr");var h=document.createElement("input");h.setAttribute("type","checkbox");var l=document.createElement("td");l.setAttribute("colspan","2");l.style.fontSize="10pt";l.appendChild(h);var q=document.createElement("span");mxUtils.write(q," "+mxResources.get("fitPage"));+l.appendChild(q);mxEvent.addListener(q,"click",function(A){h.checked=!h.checked;k.checked=!h.checked;mxEvent.consume(A)});mxEvent.addListener(h,"change",function(){k.checked=!h.checked});d.appendChild(l);g.appendChild(d);d=d.cloneNode(!1);var k=document.createElement("input");k.setAttribute("type","checkbox");l=document.createElement("td");l.style.fontSize="10pt";l.appendChild(k);q=document.createElement("span");mxUtils.write(q," "+mxResources.get("posterPrint")+":");l.appendChild(q);mxEvent.addListener(q,"click",function(A){k.checked=!k.checked;h.checked=!k.checked;mxEvent.consume(A)});d.appendChild(l);var u=document.createElement("input");u.setAttribute("value","1");u.setAttribute("type","number");u.setAttribute("min","1");u.setAttribute("size","4");u.setAttribute("disabled","disabled");u.style.width="50px";l=document.createElement("td");l.style.fontSize="10pt";l.appendChild(u);mxUtils.write(l," "+mxResources.get("pages")+" (max)");d.appendChild(l);g.appendChild(d);mxEvent.addListener(k,"change",function(){k.checked?u.removeAttribute("disabled"):u.setAttribute("disabled","disabled");h.checked=!k.checked});d=d.cloneNode(!1);l=document.createElement("td");mxUtils.write(l,mxResources.get("pageScale")+":");d.appendChild(l);l=document.createElement("td");var w=document.createElement("input");w.setAttribute("value","100 %");w.setAttribute("size","5");w.style.width="50px";l.appendChild(w);d.appendChild(l);g.appendChild(d);d=document.createElement("tr");l=document.createElement("td");l.colSpan=2;-l.style.paddingTop="20px";l.setAttribute("align","right");r=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});r.className="geBtn";a.editor.cancelFirst&&l.appendChild(r);if(PrintDialog.previewEnabled){var y=mxUtils.button(mxResources.get("preview"),function(){a.hideDialog();b(!1)});y.className="geBtn";l.appendChild(y)}y=mxUtils.button(mxResources.get(PrintDialog.previewEnabled?"print":"ok"),function(){a.hideDialog();b(!0)});y.className="geBtn gePrimaryBtn";l.appendChild(y);a.editor.cancelFirst||-l.appendChild(r);d.appendChild(l);g.appendChild(d);f.appendChild(g);this.container=f};PrintDialog.printPreview=function(a){try{null!=a.wnd&&window.setTimeout(function(){a.wnd.focus();a.wnd.print();a.wnd.close()},500)}catch(b){}};-PrintDialog.createPrintPreview=function(a,b,e,f,g,d,h){b=new mxPrintPreview(a,b,e,f,g,d);b.title=mxResources.get("preview");b.addPageCss=!mxClient.IS_SF;b.printBackgroundImage=!0;b.autoOrigin=h;h=a.background;if(null==h||""==h||h==mxConstants.NONE)h="#ffffff";b.backgroundColor=h;var l=b.isTextLabel;b.isTextLabel=function(k){return"geHint"==!k.className&&l.apply(this,arguments)};var r=b.getLinkForCellState;b.getLinkForCellState=function(k){return a.getAbsoluteUrl(r.apply(this,arguments))};return b};+l.style.paddingTop="20px";l.setAttribute("align","right");q=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});q.className="geBtn";a.editor.cancelFirst&&l.appendChild(q);if(PrintDialog.previewEnabled){var y=mxUtils.button(mxResources.get("preview"),function(){a.hideDialog();b(!1)});y.className="geBtn";l.appendChild(y)}y=mxUtils.button(mxResources.get(PrintDialog.previewEnabled?"print":"ok"),function(){a.hideDialog();b(!0)});y.className="geBtn gePrimaryBtn";l.appendChild(y);a.editor.cancelFirst||+l.appendChild(q);d.appendChild(l);g.appendChild(d);f.appendChild(g);this.container=f};PrintDialog.printPreview=function(a){try{null!=a.wnd&&window.setTimeout(function(){a.wnd.focus();a.wnd.print();a.wnd.close()},500)}catch(b){}};+PrintDialog.createPrintPreview=function(a,b,e,f,g,d,h){b=new mxPrintPreview(a,b,e,f,g,d);b.title=mxResources.get("preview");b.addPageCss=!mxClient.IS_SF;b.printBackgroundImage=!0;b.autoOrigin=h;h=a.background;if(null==h||""==h||h==mxConstants.NONE)h="#ffffff";b.backgroundColor=h;var l=b.isTextLabel;b.isTextLabel=function(k){return"geHint"==!k.className&&l.apply(this,arguments)};var q=b.getLinkForCellState;b.getLinkForCellState=function(k){return a.getAbsoluteUrl(q.apply(this,arguments))};return b};PrintDialog.previewEnabled=!0;var PageSetupDialog=function(a){function b(){var D=w;null!=D&&null!=D.originalSrc&&(D=a.createImageForPageLink(D.originalSrc,null));null!=D&&null!=D.src?(u.style.backgroundImage="url("+D.src+")",u.style.display="inline-block"):(u.style.backgroundImage="",u.style.display="none");u.style.backgroundColor="";null!=y&&y!=mxConstants.NONE&&(u.style.backgroundColor=y,u.style.display="inline-block")}var e=a.editor.graph,f=document.createElement("table");f.style.width="100%";f.style.height="100%";var g=document.createElement("tbody");var d=document.createElement("tr");var h=document.createElement("td");h.style.verticalAlign="top";h.style.fontSize="10pt";mxUtils.write(h,mxResources.get("paperSize")+":");d.appendChild(h);h=document.createElement("td");h.style.verticalAlign="top";h.style.fontSize="10pt";var l=PageSetupDialog.addPageFormatPanel(h,"pagesetupdialog",e.pageFormat);d.appendChild(h);g.appendChild(d);d=document.createElement("tr");h=document.createElement("td");mxUtils.write(h,mxResources.get("gridSize")+":");d.appendChild(h);-h=document.createElement("td");h.style.whiteSpace="nowrap";var r=document.createElement("input");r.setAttribute("type","number");r.setAttribute("min","0");r.style.width="40px";r.style.marginLeft="6px";r.value=e.getGridSize();h.appendChild(r);mxEvent.addListener(r,"change",function(){var D=parseInt(r.value);r.value=Math.max(1,isNaN(D)?e.getGridSize():D)});d.appendChild(h);g.appendChild(d);d=document.createElement("tr");h=document.createElement("td");mxUtils.write(h,mxResources.get("background")+":");+h=document.createElement("td");h.style.whiteSpace="nowrap";var q=document.createElement("input");q.setAttribute("type","number");q.setAttribute("min","0");q.style.width="40px";q.style.marginLeft="6px";q.value=e.getGridSize();h.appendChild(q);mxEvent.addListener(q,"change",function(){var D=parseInt(q.value);q.value=Math.max(1,isNaN(D)?e.getGridSize():D)});d.appendChild(h);g.appendChild(d);d=document.createElement("tr");h=document.createElement("td");mxUtils.write(h,mxResources.get("background")+":");d.appendChild(h);h=document.createElement("td");var k=document.createElement("button");k.className="geBtn";k.style.margin="0px";mxUtils.write(k,mxResources.get("change")+"...");var u=document.createElement("div");u.style.display="inline-block";u.style.verticalAlign="middle";u.style.backgroundPosition="center center";u.style.backgroundRepeat="no-repeat";u.style.backgroundSize="contain";u.style.border="1px solid lightGray";u.style.borderRadius="4px";u.style.marginRight="14px";u.style.height="32px";-u.style.width="64px";u.style.cursor="pointer";u.style.padding="4px";var w=e.backgroundImage,y=e.background,A=e.shadowVisible,G=function(D){a.showBackgroundImageDialog(function(F,H,M,N){H||(null!=F&&null!=F.src&&Graph.isPageLink(F.src)&&(F={originalSrc:F.src}),w=F,A=N);y=M;b()},w,y,!0);mxEvent.consume(D)};mxEvent.addListener(k,"click",G);mxEvent.addListener(u,"click",G);b();h.appendChild(u);h.appendChild(k);d.appendChild(h);g.appendChild(d);d=document.createElement("tr");h=document.createElement("td");-h.colSpan=2;h.style.paddingTop="16px";h.setAttribute("align","right");k=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});k.className="geBtn";a.editor.cancelFirst&&h.appendChild(k);G=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();var D=parseInt(r.value);isNaN(D)||e.gridSize===D||e.setGridSize(D);D=new ChangePageSetup(a,y,w,l.get());D.ignoreColor=e.background==y;D.ignoreImage=(null!=e.backgroundImage?e.backgroundImage.src:null)===(null!=w?w.src:null);null!=A&&-(D.shadowVisible=A);e.pageFormat.width==D.previousFormat.width&&e.pageFormat.height==D.previousFormat.height&&D.ignoreColor&&D.ignoreImage&&D.shadowVisible==e.shadowVisible||e.model.execute(D)});G.className="geBtn gePrimaryBtn";h.appendChild(G);a.editor.cancelFirst||h.appendChild(k);d.appendChild(h);g.appendChild(d);f.appendChild(g);this.container=f};+u.style.width="64px";u.style.cursor="pointer";u.style.padding="4px";var w=e.backgroundImage,y=e.background,A=e.shadowVisible,F=function(D){a.showBackgroundImageDialog(function(G,H,M,N){H||(null!=G&&null!=G.src&&Graph.isPageLink(G.src)&&(G={originalSrc:G.src}),w=G,A=N);y=M;b()},w,y,!0);mxEvent.consume(D)};mxEvent.addListener(k,"click",F);mxEvent.addListener(u,"click",F);b();h.appendChild(u);h.appendChild(k);d.appendChild(h);g.appendChild(d);d=document.createElement("tr");h=document.createElement("td");+h.colSpan=2;h.style.paddingTop="16px";h.setAttribute("align","right");k=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});k.className="geBtn";a.editor.cancelFirst&&h.appendChild(k);F=mxUtils.button(mxResources.get("apply"),function(){a.hideDialog();var D=parseInt(q.value);isNaN(D)||e.gridSize===D||e.setGridSize(D);D=new ChangePageSetup(a,y,w,l.get());D.ignoreColor=e.background==y;D.ignoreImage=(null!=e.backgroundImage?e.backgroundImage.src:null)===(null!=w?w.src:null);null!=A&&+(D.shadowVisible=A);e.pageFormat.width==D.previousFormat.width&&e.pageFormat.height==D.previousFormat.height&&D.ignoreColor&&D.ignoreImage&&D.shadowVisible==e.shadowVisible||e.model.execute(D)});F.className="geBtn gePrimaryBtn";h.appendChild(F);a.editor.cancelFirst||h.appendChild(k);d.appendChild(h);g.appendChild(d);f.appendChild(g);this.container=f};PageSetupDialog.addPageFormatPanel=function(a,b,e,f){b="format-"+b;var g=document.createElement("input");g.setAttribute("name",b);g.setAttribute("type","radio");g.setAttribute("value","portrait");var d=document.createElement("input");d.setAttribute("name",b);d.setAttribute("type","radio");d.setAttribute("value","landscape");var h=document.createElement("select");h.style.position="relative";h.style.marginBottom="4px";h.style.borderRadius="4px";h.style.borderWidth="1px";h.style.borderStyle="solid";-h.style.boxSizing="border-box";h.style.padding="2px";h.style.width="210px";var l=document.createElement("div");l.style.whiteSpace="nowrap";l.style.marginLeft="4px";l.style.width="210px";l.style.height="24px";g.style.marginRight="6px";l.appendChild(g);b=document.createElement("span");b.style.maxWidth="100px";mxUtils.write(b,mxResources.get("portrait"));l.appendChild(b);d.style.marginLeft="10px";d.style.marginRight="6px";l.appendChild(d);var r=document.createElement("span");r.style.width="100px";mxUtils.write(r,-mxResources.get("landscape"));l.appendChild(r);var k=document.createElement("div");k.style.whiteSpace="nowrap";k.style.marginLeft="4px";k.style.fontSize="12px";k.style.width="210px";k.style.height="24px";var u=document.createElement("input");u.setAttribute("size","7");u.setAttribute("title",mxResources.get("width"));u.style.textAlign="right";k.appendChild(u);mxUtils.write(k," x ");var w=document.createElement("input");w.setAttribute("size","7");w.setAttribute("title",mxResources.get("height"));w.style.textAlign=-"right";k.appendChild(w);var y=document.createElement("select");y.style.marginLeft="4px";y.style.maxWidth="78px";y.style.width="78px";for(var A=[{label:mxResources.get("points"),unit:mxConstants.POINTS},{label:mxResources.get("inches"),unit:mxConstants.INCHES},{label:mxResources.get("millimeters"),unit:mxConstants.MILLIMETERS}],G=0;G<A.length;G++){var D=document.createElement("option");D.setAttribute("value",A[G].unit);mxUtils.write(D,A[G].label);y.appendChild(D)}y.value=Editor.pageSizeUnit;k.appendChild(y);-l.style.display="none";k.style.display="none";var F={},H=PageSetupDialog.getFormats();for(G=0;G<H.length;G++)A=H[G],F[A.key]=A,D=document.createElement("option"),D.setAttribute("value",A.key),mxUtils.write(D,A.title),h.appendChild(D);var M=function(){h.value="custom";for(var K=0;K<H.length;K++){var T=H[K];null!=T.format&&("a4"==T.key?826==e.width?(e=mxRectangle.fromRectangle(e),e.width=827):826==e.height&&(e=mxRectangle.fromRectangle(e),e.height=827):"a5"==T.key&&(584==e.width?(e=mxRectangle.fromRectangle(e),+h.style.boxSizing="border-box";h.style.padding="2px";h.style.width="210px";var l=document.createElement("div");l.style.whiteSpace="nowrap";l.style.marginLeft="4px";l.style.width="210px";l.style.height="24px";g.style.marginRight="6px";l.appendChild(g);b=document.createElement("span");b.style.maxWidth="100px";mxUtils.write(b,mxResources.get("portrait"));l.appendChild(b);d.style.marginLeft="10px";d.style.marginRight="6px";l.appendChild(d);var q=document.createElement("span");q.style.width="100px";mxUtils.write(q,+mxResources.get("landscape"));l.appendChild(q);var k=document.createElement("div");k.style.whiteSpace="nowrap";k.style.marginLeft="4px";k.style.fontSize="12px";k.style.width="210px";k.style.height="24px";var u=document.createElement("input");u.setAttribute("size","7");u.setAttribute("title",mxResources.get("width"));u.style.textAlign="right";k.appendChild(u);mxUtils.write(k," x ");var w=document.createElement("input");w.setAttribute("size","7");w.setAttribute("title",mxResources.get("height"));w.style.textAlign=+"right";k.appendChild(w);var y=document.createElement("select");y.style.marginLeft="4px";y.style.maxWidth="78px";y.style.width="78px";for(var A=[{label:mxResources.get("points"),unit:mxConstants.POINTS},{label:mxResources.get("inches"),unit:mxConstants.INCHES},{label:mxResources.get("millimeters"),unit:mxConstants.MILLIMETERS}],F=0;F<A.length;F++){var D=document.createElement("option");D.setAttribute("value",A[F].unit);mxUtils.write(D,A[F].label);y.appendChild(D)}y.value=Editor.pageSizeUnit;k.appendChild(y);+l.style.display="none";k.style.display="none";var G={},H=PageSetupDialog.getFormats();for(F=0;F<H.length;F++)A=H[F],G[A.key]=A,D=document.createElement("option"),D.setAttribute("value",A.key),mxUtils.write(D,A.title),h.appendChild(D);var M=function(){h.value="custom";for(var K=0;K<H.length;K++){var T=H[K];null!=T.format&&("a4"==T.key?826==e.width?(e=mxRectangle.fromRectangle(e),e.width=827):826==e.height&&(e=mxRectangle.fromRectangle(e),e.height=827):"a5"==T.key&&(584==e.width?(e=mxRectangle.fromRectangle(e),e.width=583):584==e.height&&(e=mxRectangle.fromRectangle(e),e.height=583)),e.width==T.format.width&&e.height==T.format.height?(h.value=T.key,g.setAttribute("checked","checked"),g.defaultChecked=!0,g.checked=!0,d.removeAttribute("checked"),d.defaultChecked=!1,d.checked=!1,detected=!0):e.width==T.format.height&&e.height==T.format.width&&(h.value=T.key,g.removeAttribute("checked"),g.defaultChecked=!1,g.checked=!1,d.setAttribute("checked","checked"),d.defaultChecked=!0,detected=d.checked=!0))}"custom"==-h.value?(u.value=Editor.toUnit(e.width,y.value),w.value=Editor.toUnit(e.height,y.value),g.setAttribute("checked","checked"),h.value="custom",l.style.display="none",k.style.display=""):(l.style.display="",k.style.display="none")};M();a.appendChild(h);mxUtils.br(a);a.appendChild(l);a.appendChild(k);var N=function(K,T){K=F[h.value];null!=K.format?(u.value=Editor.toUnit(d.checked?K.format.height:K.format.width,y.value),w.value=Editor.toUnit(d.checked?K.format.width:K.format.height,y.value),k.style.display=+h.value?(u.value=Editor.toUnit(e.width,y.value),w.value=Editor.toUnit(e.height,y.value),g.setAttribute("checked","checked"),h.value="custom",l.style.display="none",k.style.display=""):(l.style.display="",k.style.display="none")};M();a.appendChild(h);mxUtils.br(a);a.appendChild(l);a.appendChild(k);var N=function(K,T){K=G[h.value];null!=K.format?(u.value=Editor.toUnit(d.checked?K.format.height:K.format.width,y.value),w.value=Editor.toUnit(d.checked?K.format.width:K.format.height,y.value),k.style.display="none",l.style.display=""):(l.style.display="none",k.style.display="");K=parseFloat(u.value);if(isNaN(K)||0>=K)u.value=Editor.toUnit(e.width,y.value);K=parseFloat(w.value);if(isNaN(K)||0>=K)w.value=Editor.toUnit(e.height,y.value);K=new mxRectangle(0,0,Math.floor(Editor.fromUnit(parseFloat(u.value),y.value)),Math.floor(Editor.fromUnit(parseFloat(w.value),y.value)));T||K.width==e.width&&K.height==e.height||(e=K,null!=f&&f(e))};mxEvent.addListener(b,"click",function(K){g.checked=!0;N(K);mxEvent.consume(K)});-mxEvent.addListener(r,"click",function(K){d.checked=!0;N(K);mxEvent.consume(K)});mxEvent.addListener(u,"blur",N);mxEvent.addListener(u,"click",N);mxEvent.addListener(w,"blur",N);mxEvent.addListener(w,"click",N);mxEvent.addListener(d,"change",N);mxEvent.addListener(g,"change",N);mxEvent.addListener(h,"change",function(K){N(K,"custom"==h.value);mxEvent.consume(K)});mxEvent.addListener(y,"change",function(K){u.value=Editor.toUnit(Editor.fromUnit(u.value,Editor.pageSizeUnit),y.value);w.value=Editor.toUnit(Editor.fromUnit(w.value,+mxEvent.addListener(q,"click",function(K){d.checked=!0;N(K);mxEvent.consume(K)});mxEvent.addListener(u,"blur",N);mxEvent.addListener(u,"click",N);mxEvent.addListener(w,"blur",N);mxEvent.addListener(w,"click",N);mxEvent.addListener(d,"change",N);mxEvent.addListener(g,"change",N);mxEvent.addListener(h,"change",function(K){N(K,"custom"==h.value);mxEvent.consume(K)});mxEvent.addListener(y,"change",function(K){u.value=Editor.toUnit(Editor.fromUnit(u.value,Editor.pageSizeUnit),y.value);w.value=Editor.toUnit(Editor.fromUnit(w.value,Editor.pageSizeUnit),y.value);Editor.pageSizeUnit=y.value;N(K,!0);mxEvent.consume(K)});N(null,!0);return{set:function(K){e=K;M(null,null,!0)},get:function(){return e},widthInput:u,heightInput:w}};PageSetupDialog.getFormats=function(){return[{key:"letter",title:'US-Letter (8,5" x 11")',format:mxConstants.PAGE_FORMAT_LETTER_PORTRAIT},{key:"legal",title:'US-Legal (8,5" x 14")',format:new mxRectangle(0,0,850,1400)},{key:"tabloid",title:'US-Tabloid (11" x 17")',format:new mxRectangle(0,0,1100,1700)},{key:"executive",title:'US-Executive (7" x 10")',format:new mxRectangle(0,0,700,1E3)},{key:"a0",title:"A0 (841 mm x 1189 mm)",format:new mxRectangle(0,0,3300,4681)},{key:"a1",title:"A1 (594 mm x 841 mm)",format:new mxRectangle(0,0,2339,3300)},{key:"a2",title:"A2 (420 mm x 594 mm)",format:new mxRectangle(0,0,1654,2336)},{key:"a3",title:"A3 (297 mm x 420 mm)",format:new mxRectangle(0,0,1169,1654)},{key:"a4",title:"A4 (210 mm x 297 mm)",format:mxConstants.PAGE_FORMAT_A4_PORTRAIT},{key:"a5",title:"A5 (148 mm x 210 mm)",format:new mxRectangle(0,0,583,827)},{key:"a6",title:"A6 (105 mm x 148 mm)",format:new mxRectangle(0,0,413,583)},{key:"a7",title:"A7 (74 mm x 105 mm)",format:new mxRectangle(0,0,291,413)},{key:"b4",title:"B4 (250 mm x 353 mm)",format:new mxRectangle(0,0,980,1390)},{key:"b5",title:"B5 (176 mm x 250 mm)",format:new mxRectangle(0,0,690,980)},{key:"16-9",title:"16:9 (1600 x 900)",format:new mxRectangle(0,0,900,1600)},{key:"16-10",title:"16:10 (1920 x 1200)",format:new mxRectangle(0,0,1200,1920)},{key:"4-3",title:"4:3 (1600 x 1200)",format:new mxRectangle(0,0,1200,1600)},{key:"custom",title:mxResources.get("custom"),format:null}]};-var FilenameDialog=function(a,b,e,f,g,d,h,l,r,k,u){r=null!=r?r:!0;var w=document.createElement("div"),y=document.createElement("div");y.style.width="100%";y.style.display="grid";y.style.gap="5px 8px";y.style.gridAutoColumns="auto 1fr";y.style.boxSizing="border-box";y.style.padding="3px";var A=document.createElement("div");A.style.display="inline-flex";A.style.alignItems="center";A.style.justifyContent="flex-end";A.style.minWidth="0";var G=document.createElement("div");G.style.display="inline-block";-G.style.textOverflow="ellipsis";G.style.whiteSpace="nowrap";G.style.overflow="hidden";G.style.fontSize="10pt";G.style.padding="2px 0";G.setAttribute("title",g||mxResources.get("filename"));mxUtils.write(G,(g||mxResources.get("filename"))+":");A.appendChild(G);y.appendChild(A);var D=document.createElement("input");D.setAttribute("value",b||"");D.style.flexGrow="1";var F=mxUtils.button(e,function(){if(null==d||d(D.value))r&&a.hideDialog(),f(D.value)});F.className="geBtn gePrimaryBtn";this.init=function(){if(null!=+var FilenameDialog=function(a,b,e,f,g,d,h,l,q,k,u){q=null!=q?q:!0;var w=document.createElement("div"),y=document.createElement("div");y.style.width="100%";y.style.display="grid";y.style.gap="5px 8px";y.style.gridAutoColumns="auto 1fr";y.style.boxSizing="border-box";y.style.padding="3px";var A=document.createElement("div");A.style.display="inline-flex";A.style.alignItems="center";A.style.justifyContent="flex-end";A.style.minWidth="0";var F=document.createElement("div");F.style.display="inline-block";+F.style.textOverflow="ellipsis";F.style.whiteSpace="nowrap";F.style.overflow="hidden";F.style.fontSize="10pt";F.style.padding="2px 0";F.setAttribute("title",g||mxResources.get("filename"));mxUtils.write(F,(g||mxResources.get("filename"))+":");A.appendChild(F);y.appendChild(A);var D=document.createElement("input");D.setAttribute("value",b||"");D.style.flexGrow="1";var G=mxUtils.button(e,function(){if(null==d||d(D.value))q&&a.hideDialog(),f(D.value)});G.className="geBtn gePrimaryBtn";this.init=function(){if(null!=g||null==h)if(null!=u?Editor.selectFilename(D):(D.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?D.select():document.execCommand("selectAll",!1,null)),Graph.fileSupport){var H=y.parentNode;if(null!=H){var M=null;mxEvent.addListener(H,"dragleave",function(N){null!=M&&(M.style.backgroundColor="",M=null);N.stopPropagation();N.preventDefault()});mxEvent.addListener(H,"dragover",mxUtils.bind(this,function(N){null==M&&(!mxClient.IS_IE||10<document.documentMode)&&(M=D,M.style.backgroundColor=-"#ebf2f9");N.stopPropagation();N.preventDefault()}));mxEvent.addListener(H,"drop",mxUtils.bind(this,function(N){null!=M&&(M.style.backgroundColor="",M=null);0<=mxUtils.indexOf(N.dataTransfer.types,"text/uri-list")&&(D.value=decodeURIComponent(N.dataTransfer.getData("text/uri-list")),F.click());N.stopPropagation();N.preventDefault()}))}}};A=document.createElement("div");A.style.display="inline-flex";A.style.alignItems="center";A.style.gap="4px";A.style.whiteSpace="nowrap";A.appendChild(D);y.appendChild(A);+"#ebf2f9");N.stopPropagation();N.preventDefault()}));mxEvent.addListener(H,"drop",mxUtils.bind(this,function(N){null!=M&&(M.style.backgroundColor="",M=null);0<=mxUtils.indexOf(N.dataTransfer.types,"text/uri-list")&&(D.value=decodeURIComponent(N.dataTransfer.getData("text/uri-list")),G.click());N.stopPropagation();N.preventDefault()}))}}};A=document.createElement("div");A.style.display="inline-flex";A.style.alignItems="center";A.style.gap="4px";A.style.whiteSpace="nowrap";A.appendChild(D);y.appendChild(A);null==g&&null!=h||null==u||null==a.editor.diagramFileTypes||(A=document.createElement("div"),A.style.display="inline-flex",A.style.alignItems="center",A.style.textOverflow="ellipsis",A.style.justifyContent="flex-end",A.style.fontSize="10pt",mxUtils.write(A,mxResources.get("type")+":"),y.appendChild(A),A=document.createElement("div"),A.style.display="inline-flex",A.style.alignItems="center",A.style.whiteSpace="nowrap",y.appendChild(A),b=FilenameDialog.createFileTypes(a,D,a.editor.diagramFileTypes),b.style.width="100%",A.appendChild(b));null!=h&&y.appendChild(h);row=document.createElement("div");row.style.gridColumn="1 / span 2";row.style.paddingTop=null!=u?"6px":"14px";row.style.whiteSpace="nowrap";row.style.display="inline-flex";row.style.alignItems="center";row.style.justifyContent="flex-end";row.setAttribute("align","right");A=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog();null!=k&&k()});A.className="geBtn";null==l||a.isOffline()||row.appendChild(a.createHelpIcon(l));-a.editor.cancelFirst&&row.appendChild(A);mxEvent.addListener(D,"keypress",function(H){13==H.keyCode&&F.click()});row.appendChild(F);a.editor.cancelFirst||row.appendChild(A);y.appendChild(row);w.appendChild(y);this.container=w};FilenameDialog.filenameHelpLink=null;+a.editor.cancelFirst&&row.appendChild(A);mxEvent.addListener(D,"keypress",function(H){13==H.keyCode&&G.click()});row.appendChild(G);a.editor.cancelFirst||row.appendChild(A);y.appendChild(row);w.appendChild(y);this.container=w};FilenameDialog.filenameHelpLink=null;FilenameDialog.createFileTypes=function(a,b,e){var f=document.createElement("select");for(a=0;a<e.length;a++){var g=document.createElement("option");g.setAttribute("value",a);mxUtils.write(g,mxResources.get(e[a].description)+" (."+e[a].extension+")");f.appendChild(g)}mxEvent.addListener(f,"change",function(d){d=e[f.value].extension;var h=b.value.lastIndexOf(".drawio.");h=0<h?h:b.value.lastIndexOf(".");"drawio"!=d&&(d="drawio."+d);b.value=0<h?b.value.substring(0,h+1)+d:b.value+"."+d;"createEvent"in-document?(d=document.createEvent("HTMLEvents"),d.initEvent("change",!1,!0),b.dispatchEvent(d)):b.fireEvent("onchange")});a=function(d){d=b.value.toLowerCase();for(var h=0,l=0;l<e.length;l++){var r=e[l].extension,k=null;"drawio"!=r&&(k=r,r=".drawio."+r);if(d.substring(d.length-r.length-1)=="."+r||null!=k&&d.substring(d.length-k.length-1)=="."+k){h=l;break}}f.value=h};mxEvent.addListener(b,"change",a);mxEvent.addListener(b,"keyup",a);a();return f};+document?(d=document.createEvent("HTMLEvents"),d.initEvent("change",!1,!0),b.dispatchEvent(d)):b.fireEvent("onchange")});a=function(d){d=b.value.toLowerCase();for(var h=0,l=0;l<e.length;l++){var q=e[l].extension,k=null;"drawio"!=q&&(k=q,q=".drawio."+q);if(d.substring(d.length-q.length-1)=="."+q||null!=k&&d.substring(d.length-k.length-1)=="."+k){h=l;break}}f.value=h};mxEvent.addListener(b,"change",a);mxEvent.addListener(b,"keyup",a);a();return f};var WrapperWindow=function(a,b,e,f,g,d,h,l){l=null!=l?l:document.createElement("div");this.window=new mxWindow(b,l,e,f,g,d,!0,!0);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);a.installResizeHandler(this,!0);h(l)};-(function(){mxGraphView.prototype.validateBackgroundPage=function(){var h=this.graph;if(null!=h.container&&!h.transparentBackground){if(h.pageVisible){var l=this.getBackgroundPageBounds();if(null==this.backgroundPageShape){for(var r=h.container.firstChild;null!=r&&r.nodeType!=mxConstants.NODETYPE_ELEMENT;)r=r.nextSibling;null!=r&&(this.backgroundPageShape=this.createBackgroundPageShape(l),this.backgroundPageShape.scale=1,this.backgroundPageShape.isShadow=!0,this.backgroundPageShape.dialect=mxConstants.DIALECT_STRICTHTML,-this.backgroundPageShape.init(h.container),r.style.position="absolute",h.container.insertBefore(this.backgroundPageShape.node,r),this.backgroundPageShape.redraw(),this.backgroundPageShape.node.className="geBackgroundPage",mxEvent.addListener(this.backgroundPageShape.node,"dblclick",mxUtils.bind(this,function(k){h.dblClick(k)})),mxEvent.addGestureListeners(this.backgroundPageShape.node,mxUtils.bind(this,function(k){h.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(k))}),mxUtils.bind(this,function(k){null!=+(function(){mxGraphView.prototype.validateBackgroundPage=function(){var h=this.graph;if(null!=h.container&&!h.transparentBackground){if(h.pageVisible){var l=this.getBackgroundPageBounds();if(null==this.backgroundPageShape){for(var q=h.container.firstChild;null!=q&&q.nodeType!=mxConstants.NODETYPE_ELEMENT;)q=q.nextSibling;null!=q&&(this.backgroundPageShape=this.createBackgroundPageShape(l),this.backgroundPageShape.scale=1,this.backgroundPageShape.isShadow=!0,this.backgroundPageShape.dialect=mxConstants.DIALECT_STRICTHTML,+this.backgroundPageShape.init(h.container),q.style.position="absolute",h.container.insertBefore(this.backgroundPageShape.node,q),this.backgroundPageShape.redraw(),this.backgroundPageShape.node.className="geBackgroundPage",mxEvent.addListener(this.backgroundPageShape.node,"dblclick",mxUtils.bind(this,function(k){h.dblClick(k)})),mxEvent.addGestureListeners(this.backgroundPageShape.node,mxUtils.bind(this,function(k){h.fireMouseEvent(mxEvent.MOUSE_DOWN,new mxMouseEvent(k))}),mxUtils.bind(this,function(k){null!=h.tooltipHandler&&h.tooltipHandler.isHideOnHover()&&h.tooltipHandler.hide();h.isMouseDown&&!mxEvent.isConsumed(k)&&h.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(k))}),mxUtils.bind(this,function(k){h.fireMouseEvent(mxEvent.MOUSE_UP,new mxMouseEvent(k))})))}else this.backgroundPageShape.scale=1,this.backgroundPageShape.bounds=l,this.backgroundPageShape.redraw()}else null!=this.backgroundPageShape&&(this.backgroundPageShape.destroy(),this.backgroundPageShape=null);this.validateBackgroundStyles()}};-mxGraphView.prototype.validateBackgroundStyles=function(h,l,r){var k=this.graph;h=null!=h?h:1;var u=mxUtils.getLightDarkColor(null==k.background||k.background==mxConstants.NONE?k.defaultPageBackgroundColor:k.background).cssText,w=mxUtils.getLightDarkColor(k.defaultPageBorderColor).cssText,y=null!=u&&this.gridColor!=u.toLowerCase()?this.gridColor:"#ffffff",A="none",G="";"simple"==k.getAdaptiveColors()&&k.background!=mxConstants.NONE&&null!=k.background&&(u=k.background);if(k.isGridEnabled()||k.gridVisible){G=-10;mxClient.IS_SVG?(A=unescape(encodeURIComponent(this.createSvgGrid(y,h))),A=window.btoa?btoa(A):Base64.encode(A,!0),A="url(data:image/svg+xml;base64,"+A+")",G=k.gridSize*this.scale*this.gridSteps*h):A="url("+this.gridImage+")";var D=y=0;l=null!=l?l-this.translate.x*this.scale:0;r=null!=r?r-this.translate.y*this.scale:0;var F=k.gridSize*this.scale*this.gridSteps,H=l%F;F=r%F;null!=k.view.backgroundPageShape&&(D=this.getBackgroundPageBounds(),y=1+D.x,D=1+D.y);G=-Math.round(G-mxUtils.mod(this.translate.x*-this.scale-y+l,G)+H*h)+"px "+-Math.round(G-mxUtils.mod(this.translate.y*this.scale-D+r,G)+F*h)+"px"}h=k.view.canvas;null!=h.ownerSVGElement&&(h=h.ownerSVGElement);y=!Editor.isDarkMode()&&k.enableDiagramBackground;null!=k.view.backgroundPageShape?(k.view.backgroundPageShape.node.style.backgroundPosition=G,k.view.backgroundPageShape.node.style.backgroundImage=A,k.view.backgroundPageShape.node.style.backgroundColor=u,k.view.backgroundPageShape.node.style.borderColor=w,k.view.backgroundPageShape.node.style.colorScheme=-"none"==k.getAdaptiveColors()?"light":"",h.style.backgroundImage="none",h.style.backgroundColor="",k.container.style.backgroundColor=y?k.diagramBackgroundColor:""):(h.style.backgroundPosition=G,h.style.backgroundImage=A,"1"==urlParams.transparent?k.container.style.background="transparent":!y||null!=k.background&&k.background!=mxConstants.NONE?h.style.backgroundColor=u:(h.style.backgroundColor=k.diagramBackgroundColor,k.container.style.backgroundColor=""))};mxGraphView.prototype.createSvgGrid=function(h,-l){for(var r=this.graph.gridSize*this.scale*(null!=l?l:1);r<this.minGridSize;)r*=2;l=this.gridSteps*r;for(var k=[],u=1;u<this.gridSteps;u++){var w=u*r;k.push("M 0 "+w+" L "+l+" "+w+" M "+w+" 0 L "+w+" "+l)}h=mxUtils.getLightDarkColor(h);r="color-scheme: light dark;";mxClient.IS_SF&&(r="color-scheme: "+("none"!=this.graph.getAdaptiveColors()&&Editor.isDarkMode()?"dark":"light"));return'<svg style="'+r+'" width="'+l+'" height="'+l+'" xmlns="'+mxConstants.NS_SVG+'"><defs><pattern id="grid" width="'++mxGraphView.prototype.validateBackgroundStyles=function(h,l,q){var k=this.graph;h=null!=h?h:1;var u=mxUtils.getLightDarkColor(null==k.background||k.background==mxConstants.NONE?k.defaultPageBackgroundColor:k.background).cssText,w=mxUtils.getLightDarkColor(k.defaultPageBorderColor).cssText,y=null!=u&&this.gridColor!=u.toLowerCase()?this.gridColor:"#ffffff",A="none",F="";"simple"==k.getAdaptiveColors()&&k.background!=mxConstants.NONE&&null!=k.background&&(u=k.background);if(k.isGridEnabled()||k.gridVisible){F=+10;mxClient.IS_SVG?(A=unescape(encodeURIComponent(this.createSvgGrid(y,h))),A=window.btoa?btoa(A):Base64.encode(A,!0),A="url(data:image/svg+xml;base64,"+A+")",F=k.gridSize*this.scale*this.gridSteps*h):A="url("+this.gridImage+")";var D=y=0;l=null!=l?l-this.translate.x*this.scale:0;q=null!=q?q-this.translate.y*this.scale:0;var G=k.gridSize*this.scale*this.gridSteps,H=l%G;G=q%G;null!=k.view.backgroundPageShape&&(D=this.getBackgroundPageBounds(),y=1+D.x,D=1+D.y);F=-Math.round(F-mxUtils.mod(this.translate.x*+this.scale-y+l,F)+H*h)+"px "+-Math.round(F-mxUtils.mod(this.translate.y*this.scale-D+q,F)+G*h)+"px"}h=k.view.canvas;null!=h.ownerSVGElement&&(h=h.ownerSVGElement);y=!Editor.isDarkMode()&&k.enableDiagramBackground;null!=k.view.backgroundPageShape?(k.view.backgroundPageShape.node.style.backgroundPosition=F,k.view.backgroundPageShape.node.style.backgroundImage=A,k.view.backgroundPageShape.node.style.backgroundColor=u,k.view.backgroundPageShape.node.style.borderColor=w,k.view.backgroundPageShape.node.style.colorScheme=+"none"==k.getAdaptiveColors()?"light":"",h.style.backgroundImage="none",h.style.backgroundColor="",k.container.style.backgroundColor=y?k.diagramBackgroundColor:""):(h.style.backgroundPosition=F,h.style.backgroundImage=A,"1"==urlParams.transparent?k.container.style.background="transparent":!y||null!=k.background&&k.background!=mxConstants.NONE?h.style.backgroundColor=u:(h.style.backgroundColor=k.diagramBackgroundColor,k.container.style.backgroundColor=""))};mxGraphView.prototype.createSvgGrid=function(h,+l){for(var q=this.graph.gridSize*this.scale*(null!=l?l:1);q<this.minGridSize;)q*=2;l=this.gridSteps*q;for(var k=[],u=1;u<this.gridSteps;u++){var w=u*q;k.push("M 0 "+w+" L "+l+" "+w+" M "+w+" 0 L "+w+" "+l)}h=mxUtils.getLightDarkColor(h);q="color-scheme: light dark;";mxClient.IS_SF&&(q="color-scheme: "+("none"!=this.graph.getAdaptiveColors()&&Editor.isDarkMode()?"dark":"light"));return'<svg style="'+q+'" width="'+l+'" height="'+l+'" xmlns="'+mxConstants.NS_SVG+'"><defs><pattern id="grid" width="'+l+'" height="'+l+'" patternUnits="userSpaceOnUse"><path d="'+k.join(" ")+'" fill="none" style="stroke:'+mxUtils.htmlEntities(h.cssText)+';" stroke="'+h.light+'" opacity="0.2" stroke-width="1"/><path d="M '+l+" 0 L 0 0 0 "+l+'" fill="none" style="stroke:'+mxUtils.htmlEntities(h.cssText)+';" stroke="'+h.light+'" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(#grid)"/></svg>'};var a=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=function(h,l){a.apply(this,arguments);-if(null!=this.shiftPreview1){var r=this.view.canvas;null!=r.ownerSVGElement&&(r=r.ownerSVGElement);var k=this.gridSize*this.view.scale*this.view.gridSteps;k=-Math.round(k-mxUtils.mod(this.view.translate.x*this.view.scale+h,k))+"px "+-Math.round(k-mxUtils.mod(this.view.translate.y*this.view.scale+l,k))+"px";r.style.backgroundPosition=k}};mxGraph.prototype.updatePageBreaks=function(h,l,r){var k=this.view.scale,u=this.view.translate,w=this.pageFormat,y=k*this.pageScale,A=this.view.getBackgroundPageBounds();-l=A.width;r=A.height;var G=new mxRectangle(k*u.x,k*u.y,w.width*y,w.height*y),D=(h=h&&Math.min(G.width,G.height)>this.minPageBreakDist)?Math.ceil(r/G.height)-1:0,F=h?Math.ceil(l/G.width)-1:0,H=A.x+l,M=A.y+r;null==this.horizontalPageBreaks&&0<D&&(this.horizontalPageBreaks=[]);null==this.verticalPageBreaks&&0<F&&(this.verticalPageBreaks=[]);h=mxUtils.bind(this,function(N){if(null!=N){for(var K=N==this.horizontalPageBreaks?D:F,T=0;T<=K;T++){var W=N==this.horizontalPageBreaks?[new mxPoint(Math.round(A.x),-Math.round(A.y+(T+1)*G.height)),new mxPoint(Math.round(H),Math.round(A.y+(T+1)*G.height))]:[new mxPoint(Math.round(A.x+(T+1)*G.width),Math.round(A.y)),new mxPoint(Math.round(A.x+(T+1)*G.width),Math.round(M))];null!=N[T]?(N[T].points=W,N[T].redraw()):(W=new mxPolyline(W,this.pageBreakColor),W.dialect=this.dialect,W.isDashed=this.pageBreakDashed,W.pointerEvents=!1,W.init(this.view.backgroundPane),W.redraw(),N[T]=W)}for(T=K;T<N.length;T++)null!=N[T]&&N[T].destroy();N.splice(K,N.length-K)}});h(this.horizontalPageBreaks);-h(this.verticalPageBreaks)};var b=mxGraphHandler.prototype.shouldRemoveCellsFromParent;mxGraphHandler.prototype.shouldRemoveCellsFromParent=function(h,l,r){for(var k=0;k<l.length;k++){if(this.graph.isTableCell(l[k])||this.graph.isTableRow(l[k]))return!1;if(this.graph.getModel().isVertex(l[k])){var u=this.graph.getCellGeometry(l[k]);if(null!=u&&u.relative)return!1}}return b.apply(this,arguments)};var e=mxConnectionHandler.prototype.createMarker;mxConnectionHandler.prototype.createMarker=function(){var h=-e.apply(this,arguments);h.intersects=mxUtils.bind(this,function(l,r){return this.isConnecting()?!0:mxCellMarker.prototype.intersects.apply(h,arguments)});return h};mxGraphView.prototype.createBackgroundPageShape=function(h){return new mxRectangleShape(h,"#ffffff",this.graph.defaultPageBorderColor)};mxGraphView.prototype.getBackgroundPageBounds=function(){var h=this.getGraphBounds(),l=0<h.width?h.x/this.scale-this.translate.x:0,r=0<h.height?h.y/this.scale-this.translate.y:0,k=this.graph.pageFormat,-u=this.graph.pageScale,w=k.width*u;k=k.height*u;u=Math.floor(Math.min(0,l)/w);var y=Math.floor(Math.min(0,r)/k);return new mxRectangle(this.scale*(this.translate.x+u*w),this.scale*(this.translate.y+y*k),this.scale*(Math.ceil(Math.max(1,l+h.width/this.scale)/w)-u)*w,this.scale*(Math.ceil(Math.max(1,r+h.height/this.scale)/k)-y)*k)};var f=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=function(h,l){f.apply(this,arguments);this.dialect==mxConstants.DIALECT_SVG||null==this.view.backgroundPageShape||-this.useScrollbarsForPanning&&mxUtils.hasScrollbars(this.container)||(this.view.backgroundPageShape.node.style.marginLeft=h+"px",this.view.backgroundPageShape.node.style.marginTop=l+"px")};var g=mxPopupMenu.prototype.addItem;mxPopupMenu.prototype.addItem=function(h,l,r,k,u,w){var y=g.apply(this,arguments);null==w||w||mxEvent.addListener(y,"mousedown",function(A){mxEvent.consume(A)});return y};var d=mxGraphHandler.prototype.isPropagateSelectionCell;mxGraphHandler.prototype.isPropagateSelectionCell=-function(h,l,r){var k=this.graph.model.getParent(h);if(l){var u=this.graph.model.isEdge(h)?null:this.graph.getCellGeometry(h);u=!this.graph.model.isEdge(k)&&!this.graph.isSiblingSelected(h)&&(null!=u&&u.relative||!this.graph.isContainer(k)||this.graph.isPart(h))}else if(u=d.apply(this,arguments),this.graph.isTableCell(h)||this.graph.isTableRow(h))u=k,this.graph.isTable(u)||(u=this.graph.model.getParent(u)),u=!this.graph.selectionCellsHandler.isHandled(u)||this.graph.isCellSelected(u)&&this.graph.isToggleEvent(r.getEvent())||-this.graph.isCellSelected(h)&&!this.graph.isToggleEvent(r.getEvent())||this.graph.isTableCell(h)&&this.graph.isCellSelected(k);return u};mxPopupMenuHandler.prototype.getCellForPopupEvent=function(h){h=h.getCell();for(var l=this.graph.getModel(),r=l.getParent(h),k=this.graph.view.getState(r),u=this.graph.isCellSelected(h);null!=k&&(l.isVertex(r)||l.isEdge(r));){var w=this.graph.isCellSelected(r);u=u||w;if(w||!u&&(this.graph.isTableCell(h)||this.graph.isTableRow(h)))h=r;r=l.getParent(r)}return h}})();EditorUi=function(a,b,e){mxEventSource.call(this);this.destroyFunctions=[];this.editor=a||new Editor;this.container=b||document.body;var f=this,g=this.editor.graph;g.lightbox=e;var d=g.getGraphBounds;g.getGraphBounds=function(){var X=d.apply(this,arguments),ba=this.backgroundImage;if(null!=ba&&null!=ba.width&&null!=ba.height){var L=this.view.translate,U=this.view.scale;X=mxRectangle.fromRectangle(X);X.add(new mxRectangle((L.x+ba.x)*U,(L.y+ba.y)*U,ba.width*U,ba.height*U))}return X};g.useCssTransforms&&+if(null!=this.shiftPreview1){var q=this.view.canvas;null!=q.ownerSVGElement&&(q=q.ownerSVGElement);var k=this.gridSize*this.view.scale*this.view.gridSteps;k=-Math.round(k-mxUtils.mod(this.view.translate.x*this.view.scale+h,k))+"px "+-Math.round(k-mxUtils.mod(this.view.translate.y*this.view.scale+l,k))+"px";q.style.backgroundPosition=k}};mxGraph.prototype.updatePageBreaks=function(h,l,q){var k=this.view.scale,u=this.view.translate,w=this.pageFormat,y=k*this.pageScale,A=this.view.getBackgroundPageBounds();+l=A.width;q=A.height;var F=new mxRectangle(k*u.x,k*u.y,w.width*y,w.height*y),D=(h=h&&Math.min(F.width,F.height)>this.minPageBreakDist)?Math.ceil(q/F.height)-1:0,G=h?Math.ceil(l/F.width)-1:0,H=A.x+l,M=A.y+q;null==this.horizontalPageBreaks&&0<D&&(this.horizontalPageBreaks=[]);null==this.verticalPageBreaks&&0<G&&(this.verticalPageBreaks=[]);h=mxUtils.bind(this,function(N){if(null!=N){for(var K=N==this.horizontalPageBreaks?D:G,T=0;T<=K;T++){var W=N==this.horizontalPageBreaks?[new mxPoint(Math.round(A.x),+Math.round(A.y+(T+1)*F.height)),new mxPoint(Math.round(H),Math.round(A.y+(T+1)*F.height))]:[new mxPoint(Math.round(A.x+(T+1)*F.width),Math.round(A.y)),new mxPoint(Math.round(A.x+(T+1)*F.width),Math.round(M))];null!=N[T]?(N[T].points=W,N[T].redraw()):(W=new mxPolyline(W,this.pageBreakColor),W.dialect=this.dialect,W.isDashed=this.pageBreakDashed,W.pointerEvents=!1,W.init(this.view.backgroundPane),W.redraw(),N[T]=W)}for(T=K;T<N.length;T++)null!=N[T]&&N[T].destroy();N.splice(K,N.length-K)}});h(this.horizontalPageBreaks);+h(this.verticalPageBreaks)};var b=mxGraphHandler.prototype.shouldRemoveCellsFromParent;mxGraphHandler.prototype.shouldRemoveCellsFromParent=function(h,l,q){for(var k=0;k<l.length;k++){if(this.graph.isTableCell(l[k])||this.graph.isTableRow(l[k]))return!1;if(this.graph.getModel().isVertex(l[k])){var u=this.graph.getCellGeometry(l[k]);if(null!=u&&u.relative)return!1}}return b.apply(this,arguments)};var e=mxConnectionHandler.prototype.createMarker;mxConnectionHandler.prototype.createMarker=function(){var h=+e.apply(this,arguments);h.intersects=mxUtils.bind(this,function(l,q){return this.isConnecting()?!0:mxCellMarker.prototype.intersects.apply(h,arguments)});return h};mxGraphView.prototype.createBackgroundPageShape=function(h){return new mxRectangleShape(h,"#ffffff",this.graph.defaultPageBorderColor)};mxGraphView.prototype.getBackgroundPageBounds=function(){var h=this.getGraphBounds(),l=0<h.width?h.x/this.scale-this.translate.x:0,q=0<h.height?h.y/this.scale-this.translate.y:0,k=this.graph.pageFormat,+u=this.graph.pageScale,w=k.width*u;k=k.height*u;u=Math.floor(Math.min(0,l)/w);var y=Math.floor(Math.min(0,q)/k);return new mxRectangle(this.scale*(this.translate.x+u*w),this.scale*(this.translate.y+y*k),this.scale*(Math.ceil(Math.max(1,l+h.width/this.scale)/w)-u)*w,this.scale*(Math.ceil(Math.max(1,q+h.height/this.scale)/k)-y)*k)};var f=mxGraph.prototype.panGraph;mxGraph.prototype.panGraph=function(h,l){f.apply(this,arguments);this.dialect==mxConstants.DIALECT_SVG||null==this.view.backgroundPageShape||+this.useScrollbarsForPanning&&mxUtils.hasScrollbars(this.container)||(this.view.backgroundPageShape.node.style.marginLeft=h+"px",this.view.backgroundPageShape.node.style.marginTop=l+"px")};var g=mxPopupMenu.prototype.addItem;mxPopupMenu.prototype.addItem=function(h,l,q,k,u,w){var y=g.apply(this,arguments);null==w||w||mxEvent.addListener(y,"mousedown",function(A){mxEvent.consume(A)});return y};var d=mxGraphHandler.prototype.isPropagateSelectionCell;mxGraphHandler.prototype.isPropagateSelectionCell=+function(h,l,q){var k=this.graph.model.getParent(h);if(l){var u=this.graph.model.isEdge(h)?null:this.graph.getCellGeometry(h);u=!this.graph.model.isEdge(k)&&!this.graph.isSiblingSelected(h)&&(null!=u&&u.relative||!this.graph.isContainer(k)||this.graph.isPart(h))}else if(u=d.apply(this,arguments),this.graph.isTableCell(h)||this.graph.isTableRow(h))u=k,this.graph.isTable(u)||(u=this.graph.model.getParent(u)),u=!this.graph.selectionCellsHandler.isHandled(u)||this.graph.isCellSelected(u)&&this.graph.isToggleEvent(q.getEvent())||+this.graph.isCellSelected(h)&&!this.graph.isToggleEvent(q.getEvent())||this.graph.isTableCell(h)&&this.graph.isCellSelected(k);return u};mxPopupMenuHandler.prototype.getCellForPopupEvent=function(h){h=h.getCell();for(var l=this.graph.getModel(),q=l.getParent(h),k=this.graph.view.getState(q),u=this.graph.isCellSelected(h);null!=k&&(l.isVertex(q)||l.isEdge(q));){var w=this.graph.isCellSelected(q);u=u||w;if(w||!u&&(this.graph.isTableCell(h)||this.graph.isTableRow(h)))h=q;q=l.getParent(q)}return h}})();EditorUi=function(a,b,e){mxEventSource.call(this);this.destroyFunctions=[];this.editor=a||new Editor;this.container=b||document.body;var f=this,g=this.editor.graph;g.lightbox=e;var d=g.getGraphBounds;g.getGraphBounds=function(){var X=d.apply(this,arguments),ba=this.backgroundImage;if(null!=ba&&null!=ba.width&&null!=ba.height){var L=this.view.translate,U=this.view.scale;X=mxRectangle.fromRectangle(X);X.add(new mxRectangle((L.x+ba.x)*U,(L.y+ba.y)*U,ba.width*U,ba.height*U))}return X};g.useCssTransforms&&(this.lazyZoomDelay=0);this.selectionStateListener=mxUtils.bind(this,function(X,ba){this.clearSelectionState()});g.getSelectionModel().addListener(mxEvent.CHANGE,this.selectionStateListener);g.getModel().addListener(mxEvent.CHANGE,this.selectionStateListener);g.addListener(mxEvent.EDITING_STARTED,this.selectionStateListener);g.addListener(mxEvent.EDITING_STOPPED,this.selectionStateListener);g.getView().addListener("unitChanged",this.selectionStateListener);if(this.editor.chromeless&&!this.editor.editable){g.isEnabled=-function(){return!1};g.panningHandler.isForcePanningEvent=function(X){for(var ba=X.getSource();null!=ba&&ba!=g.container;){if("foreignObject"===ba.nodeName||"text"===ba.nodeName)return!1;ba=ba.parentNode}return!mxEvent.isPopupTrigger(X.getEvent())};var h=g.panningHandler.start;g.panningHandler.start=function(){h.apply(this,arguments);mxUtils.clearSelection()}}this.actions=new Actions(this);this.menus=this.createMenus();if(!g.standalone){var l=!1,r=!1;this.setDefaultStyle=function(X){try{g.getModel().isEdge(X)?-r=g.pasteEdgeStyle=!1:l=!1;var ba=g.getCellStyle(X,!1),L=[],U=[],aa;for(aa in ba)L.push(ba[aa]),U.push(aa);g.getModel().isEdge(X)?g.currentEdgeStyle={}:g.currentVertexStyle={};this.fireEvent(new mxEventObject("styleChanged","keys",U,"values",L,"cells",[X],"force",!0));g.getModel().isEdge(X)?r=g.pasteEdgeStyle=!0:l=!0}catch(ha){this.handleError(ha)}};this.clearDefaultStyle=function(){g.currentEdgeStyle=mxUtils.clone(g.defaultEdgeStyle);g.currentVertexStyle=mxUtils.clone(g.defaultVertexStyle);l=r=g.pasteEdgeStyle=+function(){return!1};g.panningHandler.isForcePanningEvent=function(X){for(var ba=X.getSource();null!=ba&&ba!=g.container;){if("foreignObject"===ba.nodeName||"text"===ba.nodeName)return!1;ba=ba.parentNode}return!mxEvent.isPopupTrigger(X.getEvent())};var h=g.panningHandler.start;g.panningHandler.start=function(){h.apply(this,arguments);mxUtils.clearSelection()}}this.actions=new Actions(this);this.menus=this.createMenus();if(!g.standalone){var l=!1,q=!1;this.setDefaultStyle=function(X){try{g.getModel().isEdge(X)?+q=g.pasteEdgeStyle=!1:l=!1;var ba=g.getCellStyle(X,!1),L=[],U=[],aa;for(aa in ba)L.push(ba[aa]),U.push(aa);g.getModel().isEdge(X)?g.currentEdgeStyle={}:g.currentVertexStyle={};this.fireEvent(new mxEventObject("styleChanged","keys",U,"values",L,"cells",[X],"force",!0));g.getModel().isEdge(X)?q=g.pasteEdgeStyle=!0:l=!0}catch(ha){this.handleError(ha)}};this.clearDefaultStyle=function(){g.currentEdgeStyle=mxUtils.clone(g.defaultEdgeStyle);g.currentVertexStyle=mxUtils.clone(g.defaultVertexStyle);l=q=g.pasteEdgeStyle=!1;this.fireEvent(new mxEventObject("styleChanged","keys",[],"values",[],"cells",[]))};g.addListener("cellsInserted",function(X,ba){g.pasteCellStyles(g.includeDescendants(ba.getProperty("cells")))});g.addListener("textInserted",function(X,ba){g.pasteCellStyles(ba.getProperty("cells"))});this.createDivs();this.createUi();this.refresh();var k=mxUtils.bind(this,function(X){null==X&&(X=window.event);return g.isEditing()||null!=X&&this.isSelectionAllowed(X)});this.container!=document.body||this.editor.chromeless&&!this.editor.editable||(this.menubarContainer.onselectstart=k,this.menubarContainer.onmousedown=k,this.toolbarContainer.onselectstart=k,this.toolbarContainer.onmousedown=k,this.diagramContainer.onselectstart=k,this.diagramContainer.onmousedown=k,this.sidebarContainer.onselectstart=k,this.sidebarContainer.onmousedown=k,this.formatContainer.onselectstart=k,this.formatContainer.onmousedown=k,null!=this.tabContainer&&(this.tabContainer.onselectstart=k),mxClient.IS_IOS&&(b=function(){var X=null;if(/iP(hone|od|ad)/.test(navigator.platform)){var ba=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);try{X=[parseInt(ba[1],10),parseInt(ba[2],10),parseInt(ba[3]||0,10)]}catch(L){}}return X}(),null!=b&&16<=b[0]&&(mxUtils.setPrefixedStyle(this.menubarContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.diagramContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.sidebarContainer.style,"userSelect","none"),mxUtils.setPrefixedStyle(this.formatContainer.style,"userSelect","none"),null!=this.tabContainer&&mxUtils.setPrefixedStyle(this.tabContainer.style,@@ -2119,21 +2119,21 @@ navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);try{X=[parseInt(ba[1],10),p(b=g.view.getDrawPane().ownerSVGElement,null!=b&&(b.style.position="absolute"));this.hoverIcons=this.createHoverIcons();if(null!=g.graphHandler){var u=g.graphHandler.start;g.graphHandler.start=function(){null!=f.hoverIcons&&f.hoverIcons.reset();u.apply(this,arguments)}}mxEvent.addListener(this.diagramContainer,"mousemove",mxUtils.bind(this,function(X){var ba=mxUtils.getOffset(this.diagramContainer);0<mxEvent.getClientX(X)-ba.x-this.diagramContainer.clientWidth||0<mxEvent.getClientY(X)-ba.y-this.diagramContainer.clientHeight?this.diagramContainer.setAttribute("title",mxResources.get("panTooltip")):this.diagramContainer.removeAttribute("title")}));var w=this.hoverIcons.isResetEvent;this.hoverIcons.isResetEvent=function(X,ba){return f.isSpaceDown()||w.apply(this,arguments)};this.keydownHandler=mxUtils.bind(this,function(X){16==X.which?this.shiftDown=!0:32!=X.which||g.isEditing()?mxEvent.isConsumed(X)||27!=X.keyCode||this.hideDialog(null,!0):(this.spaceDown=!0,this.hoverIcons.reset(),g.container.style.cursor="move",g.isEditing()||mxEvent.getSource(X)!=g.container||mxEvent.consume(X))});mxEvent.addListener(document,"keydown",this.keydownHandler);this.keyupHandler=mxUtils.bind(this,function(X){g.container.style.cursor="";this.shiftDown=this.spaceDown=!1});mxEvent.addListener(document,"keyup",this.keyupHandler);var y=g.panningHandler.isForcePanningEvent;g.panningHandler.isForcePanningEvent=function(X){return y.apply(this,arguments)||f.isSpaceDown()||mxEvent.isMouseEvent(X.getEvent())&&(this.usePopupTrigger||!mxEvent.isPopupTrigger(X.getEvent()))&&-(!mxEvent.isControlDown(X.getEvent())&&mxEvent.isRightMouseButton(X.getEvent())||mxEvent.isMiddleMouseButton(X.getEvent()))};var A=g.cellEditor.isStopEditingEvent;g.cellEditor.isStopEditingEvent=function(X){return A.apply(this,arguments)||13==X.keyCode&&(!mxClient.IS_SF&&mxEvent.isControlDown(X)||mxClient.IS_MAC&&mxEvent.isMetaDown(X)||mxClient.IS_SF&&mxEvent.isShiftDown(X))};var G=g.isZoomWheelEvent;g.isZoomWheelEvent=function(){return f.isSpaceDown()||G.apply(this,arguments)};var D=mxUtils.bind(this,-function(){if(null!=this.toolbar)for(var X=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,ba=this.toolbar.container.firstChild;null!=ba;){var L=ba.getAttribute("data-min-width");null!=L&&parseInt(L)>X?ba.style.display="none":ba.style.display="";ba=ba.nextSibling}}),F=!1,H=null,M=null,N=null,K=mxUtils.bind(this,function(){if(null!=this.toolbar&&F!=g.cellEditor.isContentEditing()){for(var X=this.toolbar.container.firstChild,ba=[];null!=X;){var L=X.nextSibling;X.parentNode.removeChild(X);-ba.push(X);X=L}X=this.toolbar.fontMenu;L=this.toolbar.sizeMenu;if(null==N)this.toolbar.createTextToolbar();else{for(var U=0;U<N.length;U++)this.toolbar.container.appendChild(N[U]);this.toolbar.fontMenu=H;this.toolbar.sizeMenu=M}F=g.cellEditor.isContentEditing();H=X;M=L;N=ba;D()}});this.addListener("languageChanged",mxUtils.bind(this,function(){this.destroyWindows(!0);this.descriptorChanged();this.updateStatusAgain();K()}));this.addListener("currentThemeChanged",D);mxEvent.addListener(window,"resize",+(!mxEvent.isControlDown(X.getEvent())&&mxEvent.isRightMouseButton(X.getEvent())||mxEvent.isMiddleMouseButton(X.getEvent()))};var A=g.cellEditor.isStopEditingEvent;g.cellEditor.isStopEditingEvent=function(X){return A.apply(this,arguments)||13==X.keyCode&&(!mxClient.IS_SF&&mxEvent.isControlDown(X)||mxClient.IS_MAC&&mxEvent.isMetaDown(X)||mxClient.IS_SF&&mxEvent.isShiftDown(X))};var F=g.isZoomWheelEvent;g.isZoomWheelEvent=function(){return f.isSpaceDown()||F.apply(this,arguments)};var D=mxUtils.bind(this,+function(){if(null!=this.toolbar)for(var X=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,ba=this.toolbar.container.firstChild;null!=ba;){var L=ba.getAttribute("data-min-width");null!=L&&parseInt(L)>X?ba.style.display="none":ba.style.display="";ba=ba.nextSibling}}),G=!1,H=null,M=null,N=null,K=mxUtils.bind(this,function(){if(null!=this.toolbar&&G!=g.cellEditor.isContentEditing()){for(var X=this.toolbar.container.firstChild,ba=[];null!=X;){var L=X.nextSibling;X.parentNode.removeChild(X);+ba.push(X);X=L}X=this.toolbar.fontMenu;L=this.toolbar.sizeMenu;if(null==N)this.toolbar.createTextToolbar();else{for(var U=0;U<N.length;U++)this.toolbar.container.appendChild(N[U]);this.toolbar.fontMenu=H;this.toolbar.sizeMenu=M}G=g.cellEditor.isContentEditing();H=X;M=L;N=ba;D()}});this.addListener("languageChanged",mxUtils.bind(this,function(){this.destroyWindows(!0);this.descriptorChanged();this.updateStatusAgain();K()}));this.addListener("currentThemeChanged",D);mxEvent.addListener(window,"resize",D);D();g.isTouchPopupMenuEnabled=function(){return null==f.dialog};var T=g.cellEditor.startEditing;g.cellEditor.startEditing=function(){T.apply(this,arguments);K();if(g.cellEditor.isContentEditing()){var X=!1,ba=function(){X||(X=!0,window.setTimeout(function(){var L=g.getSelectedEditingElement();null!=L&&(L=mxUtils.getCurrentStyle(L),null!=L&&null!=f.toolbar&&(f.toolbar.setFontName(mxUtils.getCssFontFamily(L.fontFamily)),f.toolbar.setFontSize(parseInt(L.fontSize))));X=!1},0))};mxEvent.addListener(g.cellEditor.textarea,"input",ba);mxEvent.addListener(g.cellEditor.textarea,"touchend",ba);mxEvent.addListener(g.cellEditor.textarea,"mouseup",ba);mxEvent.addListener(g.cellEditor.textarea,"keyup",ba);ba()}};var W=g.cellEditor.stopEditing;g.cellEditor.stopEditing=function(X,ba){try{W.apply(this,arguments),K()}catch(L){f.handleError(L)}};g.container.setAttribute("tabindex","0");g.container.style.cursor="default";if(window.self===window.top&&null!=g.container.parentNode)try{g.container.focus()}catch(X){}var S=g.fireMouseEvent;g.fireMouseEvent=function(X,ba,L){try{X==mxEvent.MOUSE_DOWN&&this.container.focus(),S.apply(this,arguments)}catch(U){f.handleError(U)}};var V=g.foldCells;g.foldCells=function(X,ba,L,U,aa){try{V.apply(this,arguments)}catch(ha){f.handleError(ha)}};g.popupMenuHandler.autoExpand=!0;null!=this.menus&&(g.popupMenuHandler.factoryMethod=mxUtils.bind(this,function(X,ba,L){this.menus.createPopupMenu(X,ba,L)}));mxEvent.addGestureListeners(document,mxUtils.bind(this,function(X){g.popupMenuHandler.hideMenu()}));this.keyHandler=this.createKeyHandler(a);this.getKeyHandler=function(){return keyHandler};g.connectionHandler.addListener(mxEvent.CONNECT,function(X,ba){var L=[ba.getProperty("cell")];ba.getProperty("terminalInserted")&&(L.push(ba.getProperty("terminal")),window.setTimeout(function(){null!=f.hoverIcons&&f.hoverIcons.update(g.view.getState(L[L.length-1]))},0));g.pasteCellStyles(L)});var fa=null,P=null;a=mxUtils.bind(this,function(){if(null!=this.toolbar){var X=this.getSelectionState();g.isEnabled()&&0<X.edges.length?(null!=this.toolbar.edgeStyleMenu&&(this.toolbar.edgeStyleMenu.style.backgroundImage="url("+this.getImageForEdgeStyle(X.style)+")"),null!=this.toolbar.edgeShapeMenu&&(this.toolbar.edgeShapeMenu.style.backgroundImage="url("+this.getImageForEdgeShape(X.style)+")")):(null!=this.toolbar.edgeStyleMenu&&(this.toolbar.edgeStyleMenu.style.backgroundImage="url("+fa+")"),null!=this.toolbar.edgeShapeMenu&&(this.toolbar.edgeShapeMenu.style.backgroundImage="url("+P+")"))}});g.selectionModel.addListener(mxEvent.CHANGE,-a);g.getModel().addListener(mxEvent.CHANGE,a);this.addListener("styleChanged",mxUtils.bind(this,function(X,ba){X=ba.getProperty("force");(this.updateDefaultStyle||X)&&g.copyCellStyles(ba.getProperty("cells"),ba.getProperty("keys"),ba.getProperty("values"),g.currentVertexStyle,g.currentEdgeStyle,l,r);null!=this.toolbar&&(this.toolbar.setFontName(g.currentVertexStyle.fontFamily||Menus.prototype.defaultFont),this.toolbar.setFontSize(g.currentVertexStyle.fontSize||Menus.prototype.defaultFontSize),ba=+a);g.getModel().addListener(mxEvent.CHANGE,a);this.addListener("styleChanged",mxUtils.bind(this,function(X,ba){X=ba.getProperty("force");(this.updateDefaultStyle||X)&&g.copyCellStyles(ba.getProperty("cells"),ba.getProperty("keys"),ba.getProperty("values"),g.currentVertexStyle,g.currentEdgeStyle,l,q);null!=this.toolbar&&(this.toolbar.setFontName(g.currentVertexStyle.fontFamily||Menus.prototype.defaultFont),this.toolbar.setFontSize(g.currentVertexStyle.fontSize||Menus.prototype.defaultFontSize),ba=this.getSelectionState(),null!=this.toolbar.edgeStyleMenu&&(fa=this.getImageForEdgeStyle(g.currentEdgeStyle),0==ba.edges.length&&(this.toolbar.edgeStyleMenu.style.backgroundImage="url("+fa+")")),null!=this.toolbar.edgeShapeMenu&&(P=this.getImageForEdgeShape(g.currentEdgeStyle),0==ba.edges.length&&(this.toolbar.edgeShapeMenu.style.backgroundImage="url("+P+")")))}));null!=this.toolbar&&(a=mxUtils.bind(this,function(){var X=g.currentVertexStyle.fontFamily||"Helvetica",ba=String(g.currentVertexStyle.fontSize||"12"),L=g.getView().getState(g.getSelectionCell());null!=L&&(X=L.style[mxConstants.STYLE_FONTFAMILY]||X,ba=L.style[mxConstants.STYLE_FONTSIZE]||ba,10<X.length&&(X=X.substring(0,8)+"..."));this.toolbar.setFontName(X);this.toolbar.setFontSize(ba)}),g.getSelectionModel().addListener(mxEvent.CHANGE,a),g.getModel().addListener(mxEvent.CHANGE,a));g.addListener(mxEvent.CELLS_ADDED,function(X,ba){X=ba.getProperty("cells");ba=ba.getProperty("parent");null!=ba&&g.getModel().isLayer(ba)&&!g.isCellVisible(ba)&&null!=X&&0<X.length&&g.getModel().setVisible(ba,!0)});Graph.selectParentLayer&&g.selectionModel.addListener(mxEvent.CHANGE,function(){if(g.isEnabled()&&!g.isSelectionEmpty()){var X=g.getLayerForCells(g.getSelectionCells());null!=X&&g.setDefaultParent(X)}});this.gestureHandler=mxUtils.bind(this,function(X){this.isHideCurrentMenuEvent(X)&&this.hideCurrentMenu()});mxEvent.addGestureListeners(document,this.gestureHandler);var Z=null;this.resizeHandler=mxUtils.bind(this,function(){null!=Z&&window.clearTimeout(Z);Z=window.setTimeout(mxUtils.bind(this,function(){Z=null;this.windowResized()}),100)});mxEvent.addListener(window,"resize",this.resizeHandler);this.orientationChangeHandler=mxUtils.bind(this,function(){this.refresh()});mxEvent.addListener(window,"orientationchange",this.orientationChangeHandler);mxClient.IS_IOS&&!window.navigator.standalone&&"undefined"!==typeof Menus&&(this.scrollHandler=mxUtils.bind(this,function(){window.scrollTo(0,0)}),mxEvent.addListener(window,"scroll",this.scrollHandler));this.editor.addListener("resetGraphView",mxUtils.bind(this,function(){this.resetScrollbars()}));this.addListener("gridEnabledChanged",mxUtils.bind(this,function(){g.view.validateBackground()}));this.addListener("backgroundColorChanged",mxUtils.bind(this,function(){g.view.validateBackground()}));g.addListener("gridSizeChanged",mxUtils.bind(this,function(){g.isGridEnabled()&&g.view.validateBackground()}));this.editor.resetGraph()}this.init();g.standalone||this.open()};EditorUi.compactUi=!0;-EditorUi.parsePng=function(a,b,e){function f(l,r){var k=d;d+=r;return l.substring(k,d)}function g(l){l=f(l,4);return l.charCodeAt(3)+(l.charCodeAt(2)<<8)+(l.charCodeAt(1)<<16)+(l.charCodeAt(0)<<24)}var d=0;if(f(a,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=e&&e();else if(f(a,4),"IHDR"!=f(a,4))null!=e&&e();else{f(a,17);do{e=g(a);var h=f(a,4);if(null!=b&&b(d-8,h,e))break;value=f(a,e);f(a,4);if("IEND"==h)break}while(e)}};mxUtils.extend(EditorUi,mxEventSource);+EditorUi.parsePng=function(a,b,e){function f(l,q){var k=d;d+=q;return l.substring(k,d)}function g(l){l=f(l,4);return l.charCodeAt(3)+(l.charCodeAt(2)<<8)+(l.charCodeAt(1)<<16)+(l.charCodeAt(0)<<24)}var d=0;if(f(a,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=e&&e();else if(f(a,4),"IHDR"!=f(a,4))null!=e&&e();else{f(a,17);do{e=g(a);var h=f(a,4);if(null!=b&&b(d-8,h,e))break;value=f(a,e);f(a,4);if("IEND"==h)break}while(e)}};mxUtils.extend(EditorUi,mxEventSource);EditorUi.prototype.splitSize=mxClient.IS_TOUCH||mxClient.IS_POINTER?12:8;EditorUi.prototype.formatEnabled=!0;EditorUi.prototype.formatWidth=240;EditorUi.prototype.defaultSidebarWidth=Math.min(screen.width/2,"large"!=urlParams["sidebar-entries"]?220:230);EditorUi.prototype.hsplitPosition=screen.width<=Editor.smallScreenWidth?0:EditorUi.prototype.defaultSidebarWidth;EditorUi.prototype.allowAnimation=!0;EditorUi.prototype.lightboxMaxFitScale=2;EditorUi.prototype.lightboxVerticalDivider=4;EditorUi.prototype.hsplitClickEnabled=!1;EditorUi.prototype.updateDefaultStyle=!1;EditorUi.prototype.spaceDown=!1;EditorUi.prototype.shiftDown=!1;EditorUi.prototype.init=function(){var a=this.editor.graph;if(!a.standalone){"0"!=urlParams["shape-picker"]&&this.installShapePicker();mxEvent.addListener(a.container,"scroll",mxUtils.bind(this,function(){a.tooltipHandler.hide();null!=a.connectionHandler&&null!=a.connectionHandler.constraintHandler&&a.connectionHandler.constraintHandler.reset()}));a.addListener(mxEvent.ESCAPE,mxUtils.bind(this,function(){a.tooltipHandler.hide();var f=a.getRubberband();null!=f&&f.cancel()}));mxEvent.addListener(a.container,@@ -2142,34 +2142,34 @@ arguments);e.updateActionStates()};a.showLinkDialog=mxUtils.bind(e,e.showLinkDiaEditorUi.prototype.createSelectionState=function(){for(var a=this.editor.graph,b=a.getSelectionCells(),e=this.initSelectionState(),f=!0,g=0;g<b.length;g++){var d=a.getCurrentCellStyle(b[g]);"0"!=mxUtils.getValue(d,mxConstants.STYLE_EDITABLE,"1")&&(this.updateSelectionStateForCell(e,b[g],b,f),f=!1)}this.updateSelectionStateForTableCells(e);if(Editor.enableCustomProperties){e.customProperties={};a=e.vertices;b=e.edges;for(g=0;g<a.length;g++)this.findCommonProperties(a[g],e.customProperties,0==g,e);for(g=0;g<b.length;g++)this.findCommonProperties(b[g],e.customProperties,0==a.length&&0==g,e)}return e};EditorUi.prototype.findCommonProperties=function(a,b,e,f){f=mxUtils.bind(this,function(k){if(null!=k)if(e)for(var u=0;u<k.length;u++)b[k[u].name]=k[u];else for(var w in b)if(null!=w){var y=!1;for(u=0;u<k.length;u++)if(k[u].name==w&&k[u].type==b[w].type){y=!0;break}y||delete b[w]}});var g=this.editor.graph,d=g.view.getState(a);if(null!=d&&null!=d.shape){if(!d.shape.commonCustomPropAdded){d.shape.commonCustomPropAdded=!0;d.shape.customProperties=d.shape.customProperties||[];if(null!=d.shape&&null!=-d.shape.stencil&&null!=d.shape.stencil.desc){var h=d.shape.stencil,l=[],r=mxUtils.bind(this,function(k){k=h.desc.getElementsByTagName(k);for(var u=[],w=0;w<k.length;w++){var y=k[w].getAttribute("color");if(!mxUtils.isValidColor(y)&&!l[y]&&"fill"!=y&&"stroke"!=y&&"font"!=y){l[y]=!0;var A=k[w].getAttribute("name");A=null!=A?A:Editor.getLabelForStylename(y);var G=k[w].getAttribute("default"),D=h.getDefaultColorValue(k[w],g),F=G;G==mxConstants.NONE&&(G="default");u.push({name:y,type:"color",primary:"false"!=-k[w].getAttribute("primary"),defVal:G,defaultColor:D,undefinedColor:F,dispName:A})}}return u});Array.prototype.push.apply(d.shape.customProperties,r("fillcolor"));Array.prototype.push.apply(d.shape.customProperties,r("strokecolor"));Array.prototype.push.apply(d.shape.customProperties,r("fontcolor"))}d.cell.vertex?Array.prototype.push.apply(d.shape.customProperties,Editor.commonVertexProperties):Array.prototype.push.apply(d.shape.customProperties,Editor.commonEdgeProperties)}f(d.shape.customProperties)}a=+d.shape.stencil&&null!=d.shape.stencil.desc){var h=d.shape.stencil,l=[],q=mxUtils.bind(this,function(k){k=h.desc.getElementsByTagName(k);for(var u=[],w=0;w<k.length;w++){var y=k[w].getAttribute("color");if(!mxUtils.isValidColor(y)&&!l[y]&&"fill"!=y&&"stroke"!=y&&"font"!=y){l[y]=!0;var A=k[w].getAttribute("name");A=null!=A?A:Editor.getLabelForStylename(y);var F=k[w].getAttribute("default"),D=h.getDefaultColorValue(k[w],g),G=F;F==mxConstants.NONE&&(F="default");u.push({name:y,type:"color",primary:"false"!=+k[w].getAttribute("primary"),defVal:F,defaultColor:D,undefinedColor:G,dispName:A})}}return u});Array.prototype.push.apply(d.shape.customProperties,q("fillcolor"));Array.prototype.push.apply(d.shape.customProperties,q("strokecolor"));Array.prototype.push.apply(d.shape.customProperties,q("fontcolor"))}d.cell.vertex?Array.prototype.push.apply(d.shape.customProperties,Editor.commonVertexProperties):Array.prototype.push.apply(d.shape.customProperties,Editor.commonEdgeProperties)}f(d.shape.customProperties)}a=a.getAttribute("customProperties");if(null!=a)try{f(JSON.parse(a))}catch(k){}};EditorUi.prototype.initSelectionState=function(){return{vertices:[],edges:[],cells:[],x:null,y:null,width:null,height:null,style:{},containsImage:!1,containsLabel:!1,fill:!0,glass:!0,html:!0,rounded:!0,autoSize:!1,image:!1,shadow:!0,lineJumps:!0,resizable:!0,table:!1,cell:!1,row:!1,movable:!0,rotatable:!0,stroke:!0,swimlane:!1,unlocked:this.editor.graph.isEnabled(),connections:!1}};-EditorUi.prototype.updateSelectionStateForTableCells=function(a){if(1<a.cells.length&&a.cell){var b=mxUtils.sortCells(a.cells),e=this.editor.graph.model,f=e.getParent(b[0]),g=e.getParent(f);if(null!=f&&null!=g){for(var d=f.getIndex(b[0]),h=g.getIndex(f),l=null,r=1,k=1,u=0,w=h<g.getChildCount()-1?e.getChildAt(e.getChildAt(g,h+1),d):null;u<b.length-1;){var y=b[++u];null==w||w!=y||null!=l&&r!=l||(l=r,r=0,k++,f=e.getParent(w),w=h+k<g.getChildCount()?e.getChildAt(e.getChildAt(g,h+k),d):null);var A=this.editor.graph.view.getState(y);-if(y==e.getChildAt(f,d+r)&&null!=A&&1==mxUtils.getValue(A.style,"colspan",1)&&1==mxUtils.getValue(A.style,"rowspan",1))r++;else break}u==k*r-1&&(a.mergeCell=b[0],a.colspan=r,a.rowspan=k)}}};EditorUi.prototype.windowResized=function(){window.setTimeout(mxUtils.bind(this,function(){null!=this.editor.graph&&this.editor.graph.sizeDidChange()}),0)};+EditorUi.prototype.updateSelectionStateForTableCells=function(a){if(1<a.cells.length&&a.cell){var b=mxUtils.sortCells(a.cells),e=this.editor.graph.model,f=e.getParent(b[0]),g=e.getParent(f);if(null!=f&&null!=g){for(var d=f.getIndex(b[0]),h=g.getIndex(f),l=null,q=1,k=1,u=0,w=h<g.getChildCount()-1?e.getChildAt(e.getChildAt(g,h+1),d):null;u<b.length-1;){var y=b[++u];null==w||w!=y||null!=l&&q!=l||(l=q,q=0,k++,f=e.getParent(w),w=h+k<g.getChildCount()?e.getChildAt(e.getChildAt(g,h+k),d):null);var A=this.editor.graph.view.getState(y);+if(y==e.getChildAt(f,d+q)&&null!=A&&1==mxUtils.getValue(A.style,"colspan",1)&&1==mxUtils.getValue(A.style,"rowspan",1))q++;else break}u==k*q-1&&(a.mergeCell=b[0],a.colspan=q,a.rowspan=k)}}};EditorUi.prototype.windowResized=function(){window.setTimeout(mxUtils.bind(this,function(){null!=this.editor.graph&&this.editor.graph.sizeDidChange()}),0)};EditorUi.prototype.createTimeout=function(a,b,e){var f=!0,g=null,d=mxUtils.bind(this,function(l){g.clear()&&(f=!1,l=null!=l?l:{code:App.ERROR_TIMEOUT,message:mxResources.get("timeout"),retry:mxUtils.bind(this,function(){this.createTimeout(a,b,e)})},null!=e?e(l):this.handleError(l))}),h=window.setTimeout(d,null!=a?a:this.timeout);g={clear:function(){window.clearTimeout(h);return f},isAlive:function(){return f}};null!=b&&this.tryAndHandle(mxUtils.bind(this,function(){b(g)}),d);return g};EditorUi.prototype.tryAndHandle=function(a,b){try{a()}catch(e){null!=b?b(e):this.handleError(e)}};-EditorUi.prototype.removeUserDefinedDarkColors=function(a,b,e){var f=this.editor.graph;a=null!=a?a:f.getSelectionCells();var g=Graph.colorStyles,d=document.createElement("div");f.model.beginUpdate();try{for(var h=0;h<a.length;h++)if(f.model.isEdge(a[h])||f.model.isVertex(a[h])){var l=f.getCellStyle(a[h],!1);if(null!=l)for(var r=0;r<g.length;r++)try{var k=l[g[r]];if(mxUtils.isLightDarkColor(k)){var u=mxUtils.getLightDarkColor(k);f.setCellStyles(g[r],u.light,[a[h]])}}catch(y){}b&&f.isHtmlLabel(a[h])&&-"0"!=mxUtils.getValue(l,"html","0")&&(d.innerHTML=Graph.sanitizeHtml(f.getLabel(a[h])),Graph.addLightDarkColors(d,null,null,function(y,A,G){return mxUtils.isLightDarkColor(G)?(G=mxUtils.getLightDarkColor(G),y.style.setProperty(A,G.light),!0):!1})&&f.cellLabelChanged(a[h],d.innerHTML))}if(e&&mxUtils.isLightDarkColor(f.background)){u=mxUtils.getLightDarkColor(f.background);var w=new ChangePageSetup(this,u.light);w.ignoreImage=!0;f.model.execute(w)}}finally{f.model.endUpdate()}return a};+EditorUi.prototype.removeUserDefinedDarkColors=function(a,b,e){var f=this.editor.graph;a=null!=a?a:f.getSelectionCells();var g=Graph.colorStyles,d=document.createElement("div");f.model.beginUpdate();try{for(var h=0;h<a.length;h++)if(f.model.isEdge(a[h])||f.model.isVertex(a[h])){var l=f.getCellStyle(a[h],!1);if(null!=l)for(var q=0;q<g.length;q++)try{var k=l[g[q]];if(mxUtils.isLightDarkColor(k)){var u=mxUtils.getLightDarkColor(k);f.setCellStyles(g[q],u.light,[a[h]])}}catch(y){}b&&f.isHtmlLabel(a[h])&&+"0"!=mxUtils.getValue(l,"html","0")&&(d.innerHTML=Graph.sanitizeHtml(f.getLabel(a[h])),Graph.addLightDarkColors(d,null,null,function(y,A,F){return mxUtils.isLightDarkColor(F)?(F=mxUtils.getLightDarkColor(F),y.style.setProperty(A,F.light),!0):!1})&&f.cellLabelChanged(a[h],d.innerHTML))}if(e&&mxUtils.isLightDarkColor(f.background)){u=mxUtils.getLightDarkColor(f.background);var w=new ChangePageSetup(this,u.light);w.ignoreImage=!0;f.model.execute(w)}}finally{f.model.endUpdate()}return a};EditorUi.prototype.updateSelectionStateForCell=function(a,b,e,f){e=this.editor.graph;a.cells.push(b);if(e.getModel().isVertex(b)){a.connections=0<e.model.getEdgeCount(b);a.unlocked=a.unlocked&&!e.isCellLocked(b);a.resizable=a.resizable&&e.isCellResizable(b);a.rotatable=a.rotatable&&e.isCellRotatable(b);a.movable=a.movable&&e.isCellMovable(b)&&!e.isTableRow(b)&&!e.isTableCell(b);a.swimlane=a.swimlane||e.isSwimlane(b);a.table=a.table||e.isTable(b);a.cell=a.cell||e.isTableCell(b);a.row=a.row||e.isTableRow(b);a.vertices.push(b);var g=e.getCellGeometry(b);if(null!=g&&(0<g.width?null==a.width?a.width=g.width:a.width!=g.width&&(a.width=""):a.containsLabel=!0,0<g.height?null==a.height?a.height=g.height:a.height!=g.height&&(a.height=""):a.containsLabel=!0,!g.relative||null!=g.offset)){var d=g.relative?g.offset.x:g.x;g=g.relative?g.offset.y:g.y;null==a.x?a.x=d:a.x!=d&&(a.x="");null==a.y?a.y=g:a.y!=g&&(a.y="")}}else e.getModel().isEdge(b)&&(a.edges.push(b),a.connections=!0,a.resizable=!1,a.rotatable=!1,a.movable=!1);d=e.view.getState(b);null!=d&&(a.html=a.html&&e.isHtmlLabel(b),a.autoSize=a.autoSize||e.isAutoSizeState(d),a.glass=a.glass&&e.isGlassState(d),a.rounded=a.rounded&&e.isRoundedState(d),a.lineJumps=a.lineJumps&&e.isLineJumpState(d),a.image=a.image||e.isImageState(d),a.shadow=a.shadow&&e.isShadowState(d),a.fill=a.fill&&e.isFillState(d),a.gradient=a.fill&&e.isGradientState(d),a.stroke=a.stroke&&e.isStrokeState(d),b=mxUtils.getValue(d.style,mxConstants.STYLE_SHAPE,null),a.containsImage=a.containsImage||"image"==b,e.mergeStyle(d.style,a.style,f))};-EditorUi.prototype.installShapePicker=function(){var a=this.editor.graph,b=this;a.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(r,k){"mouseDown"==k.getProperty("eventName")&&b.hideShapePicker()}));var e=mxUtils.bind(this,function(){b.hideShapePicker(!0)});a.addListener("wheel",e);a.addListener(mxEvent.ESCAPE,e);a.view.addListener(mxEvent.SCALE,e);a.view.addListener(mxEvent.SCALE_AND_TRANSLATE,e);a.getSelectionModel().addListener(mxEvent.CHANGE,e);var f=a.popupMenuHandler.isMenuShowing;-a.popupMenuHandler.isMenuShowing=function(){return f.apply(this,arguments)||null!=b.shapePicker||null!=b.currentMenu};var g=a.dblClick;a.dblClick=function(r,k){if(this.isEnabled())if(null!=k||null==b.sidebar||mxEvent.isShiftDown(r)||a.isCellLocked(a.getDefaultParent()))g.apply(this,arguments);else{var u=mxUtils.convertPoint(this.container,mxEvent.getClientX(r),mxEvent.getClientY(r));mxEvent.consume(r);window.setTimeout(mxUtils.bind(this,function(){b.showShapePicker(u.x,u.y)}),30)}};if(null!=this.hoverIcons){this.hoverIcons.addListener("reset",-mxUtils.bind(this,function(){null!=this.hoverIcons.shapePickerHoverDiv&&(this.hoverIcons.shapePickerHoverDiv=null,b.hideShapePicker(!0))}));var d=this.hoverIcons.drag;this.hoverIcons.drag=function(){b.hideShapePicker();d.apply(this,arguments)};var h=this.hoverIcons.execute;this.hoverIcons.execute=function(r,k,u){var w=u.getEvent();this.graph.isCloneEvent(w)||mxEvent.isShiftDown(w)?h.apply(this,arguments):this.graph.connectVertex(r.cell,k,this.graph.defaultEdgeLength,w,null,null,mxUtils.bind(this,-function(y,A,G){var D=a.getCompositeParent(r.cell);y=a.getCellGeometry(D);for(u.consume();null!=D&&a.model.isVertex(D)&&null!=y&&y.relative;)cell=D,D=a.model.getParent(cell),y=a.getCellGeometry(D);window.setTimeout(mxUtils.bind(this,function(){this.shapePickerHoverDiv=b.showShapePicker(u.getGraphX(),u.getGraphY(),D,mxUtils.bind(this,function(F){G(F);null!=b.hoverIcons&&b.hoverIcons.update(a.view.getState(F))}),k)}),30)}),mxUtils.bind(this,function(y){this.graph.selectCellsForConnectVertex(y,w,this)}))};-var l=null;this.hoverIcons.addListener("focus",mxUtils.bind(this,function(r,k){null!=l&&window.clearTimeout(l);l=window.setTimeout(mxUtils.bind(this,function(){var u=k.getProperty("arrow"),w=k.getProperty("direction"),y=k.getProperty("event");u=u.getBoundingClientRect();var A=mxUtils.getOffset(a.container),G=a.container.scrollLeft+u.x-A.x;A=a.container.scrollTop+u.y-A.y;var D=a.getCompositeParent(null!=this.hoverIcons.currentState?this.hoverIcons.currentState.cell:null),F=b.showShapePicker(G,A,D,-mxUtils.bind(this,function(H){null!=H&&a.connectVertex(D,w,a.defaultEdgeLength,y,!0,!1,function(M,N,K){K(H);null!=b.hoverIcons&&b.hoverIcons.update(a.view.getState(H))},function(M){a.selectCellsForConnectVertex(M)},y,this.hoverIcons)}),w,!0);null!=F&&(this.centerShapePicker(F,u,G,A,w),this.hoverIcons.shapePickerHoverDiv=F,mxUtils.setOpacity(F,30),mxEvent.addListener(F,"mouseenter",function(){mxUtils.setOpacity(F,100)}),mxEvent.addListener(F,"mouseleave",function(){b.hideShapePicker()}))}),Editor.shapePickerHoverDelay)}));-this.hoverIcons.addListener("blur",mxUtils.bind(this,function(r,k){null!=l&&window.clearTimeout(l)}))}};+EditorUi.prototype.installShapePicker=function(){var a=this.editor.graph,b=this;a.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(q,k){"mouseDown"==k.getProperty("eventName")&&b.hideShapePicker()}));var e=mxUtils.bind(this,function(){b.hideShapePicker(!0)});a.addListener("wheel",e);a.addListener(mxEvent.ESCAPE,e);a.view.addListener(mxEvent.SCALE,e);a.view.addListener(mxEvent.SCALE_AND_TRANSLATE,e);a.getSelectionModel().addListener(mxEvent.CHANGE,e);var f=a.popupMenuHandler.isMenuShowing;+a.popupMenuHandler.isMenuShowing=function(){return f.apply(this,arguments)||null!=b.shapePicker||null!=b.currentMenu};var g=a.dblClick;a.dblClick=function(q,k){if(this.isEnabled())if(null!=k||null==b.sidebar||mxEvent.isShiftDown(q)||a.isCellLocked(a.getDefaultParent()))g.apply(this,arguments);else{var u=mxUtils.convertPoint(this.container,mxEvent.getClientX(q),mxEvent.getClientY(q));mxEvent.consume(q);window.setTimeout(mxUtils.bind(this,function(){b.showShapePicker(u.x,u.y)}),30)}};if(null!=this.hoverIcons){this.hoverIcons.addListener("reset",+mxUtils.bind(this,function(){null!=this.hoverIcons.shapePickerHoverDiv&&(this.hoverIcons.shapePickerHoverDiv=null,b.hideShapePicker(!0))}));var d=this.hoverIcons.drag;this.hoverIcons.drag=function(){b.hideShapePicker();d.apply(this,arguments)};var h=this.hoverIcons.execute;this.hoverIcons.execute=function(q,k,u){var w=u.getEvent();this.graph.isCloneEvent(w)||mxEvent.isShiftDown(w)?h.apply(this,arguments):this.graph.connectVertex(q.cell,k,this.graph.defaultEdgeLength,w,null,null,mxUtils.bind(this,+function(y,A,F){var D=a.getCompositeParent(q.cell);y=a.getCellGeometry(D);for(u.consume();null!=D&&a.model.isVertex(D)&&null!=y&&y.relative;)cell=D,D=a.model.getParent(cell),y=a.getCellGeometry(D);window.setTimeout(mxUtils.bind(this,function(){this.shapePickerHoverDiv=b.showShapePicker(u.getGraphX(),u.getGraphY(),D,mxUtils.bind(this,function(G){F(G);null!=b.hoverIcons&&b.hoverIcons.update(a.view.getState(G))}),k)}),30)}),mxUtils.bind(this,function(y){this.graph.selectCellsForConnectVertex(y,w,this)}))};+var l=null;this.hoverIcons.addListener("focus",mxUtils.bind(this,function(q,k){null!=l&&window.clearTimeout(l);l=window.setTimeout(mxUtils.bind(this,function(){var u=k.getProperty("arrow"),w=k.getProperty("direction"),y=k.getProperty("event");u=u.getBoundingClientRect();var A=mxUtils.getOffset(a.container),F=a.container.scrollLeft+u.x-A.x;A=a.container.scrollTop+u.y-A.y;var D=a.getCompositeParent(null!=this.hoverIcons.currentState?this.hoverIcons.currentState.cell:null),G=b.showShapePicker(F,A,D,+mxUtils.bind(this,function(H){null!=H&&a.connectVertex(D,w,a.defaultEdgeLength,y,!0,!1,function(M,N,K){K(H);null!=b.hoverIcons&&b.hoverIcons.update(a.view.getState(H))},function(M){a.selectCellsForConnectVertex(M)},y,this.hoverIcons)}),w,!0);null!=G&&(this.centerShapePicker(G,u,F,A,w),this.hoverIcons.shapePickerHoverDiv=G,mxUtils.setOpacity(G,30),mxEvent.addListener(G,"mouseenter",function(){mxUtils.setOpacity(G,100)}),mxEvent.addListener(G,"mouseleave",function(){b.hideShapePicker()}))}),Editor.shapePickerHoverDelay)}));+this.hoverIcons.addListener("blur",mxUtils.bind(this,function(q,k){null!=l&&window.clearTimeout(l)}))}};EditorUi.prototype.centerShapePicker=function(a,b,e,f,g){if(g==mxConstants.DIRECTION_EAST||g==mxConstants.DIRECTION_WEST)a.style.width="40px";var d=a.getBoundingClientRect();g==mxConstants.DIRECTION_NORTH?(e-=d.width/2-10,f-=d.height+6):g==mxConstants.DIRECTION_SOUTH?(e-=d.width/2-10,f+=b.height+6):g==mxConstants.DIRECTION_WEST?(e-=d.width+6,f-=d.height/2-10):g==mxConstants.DIRECTION_EAST&&(e+=b.width+6,f-=d.height/2-10);a.style.left=e+"px";a.style.top=f+"px"};-EditorUi.prototype.showShapePicker=function(a,b,e,f,g,d,h,l,r){var k=null;this.editor.graph.freehand.isDrawing()||(l=l||null==e,k=this.createShapePicker(a,b,e,f,g,mxUtils.bind(this,function(){this.hideShapePicker()}),this.getCellsForShapePicker(e,d,l),d,h,l,r),null!=k&&(null==this.hoverIcons||d||this.hoverIcons.reset(),a=this.editor.graph,a.popupMenuHandler.hideMenu(),a.tooltipHandler.hideTooltip(),this.hideCurrentMenu(),this.hideShapePicker(),this.shapePickerCallback=f,this.shapePicker=k));return k};-EditorUi.prototype.createShapePicker=function(a,b,e,f,g,d,h,l,r,k,u){u=null!=u?u:!0;var w=this.editor.graph,y=null;r=null!=r?r:function(D){D=D[0];var F=0,H=0,M=D.geometry;null!=M&&(w.model.isEdge(D)&&(D=M.getTerminalPoint(!1),M=new mxRectangle(0,0,D.x,D.y)),F=M.width/2,H=M.height/2);return new mxPoint(w.snap(Math.round(a/w.view.scale)-w.view.translate.x-F),w.snap(Math.round(b/w.view.scale)-w.view.translate.y-H))};if(null!=h&&0<h.length){var A=this;w=this.editor.graph;y=document.createElement("div");-g=w.view.getState(e);var G=null==e||null!=g&&w.isTransparentState(g)?null:w.copyStyle(e);y.className="geShapePicker";y.setAttribute("title",mxResources.get("sidebarTooltip"));y.style.left=Math.round(a)+"px";y.style.top=Math.round(b)+"px";mxClient.IS_POINTER&&(y.style.touchAction="none");l||mxUtils.setPrefixedStyle(y.style,"transform","translate(-22px,-22px)");w.container.appendChild(y);g=mxUtils.bind(this,function(D){var F=document.createElement("a");y.appendChild(F);null!=G&&"1"!=urlParams.sketch?-this.sidebar.graph.pasteStyle(G,[D]):this.sidebar.graph.pasteCellStyles([D],w.currentVertexStyle,w.currentEdgeStyle);var H=D.geometry;w.model.isEdge(D)&&(H=H.getTerminalPoint(!1),H=new mxRectangle(0,0,H.x,H.y));null!=H&&(H=this.sidebar.createVertexTemplateFromCells([D],H.width,H.height,"",!0,!1,null,!1,mxUtils.bind(this,function(M){if(!mxEvent.isAltDown(M)||1!=w.getSelectionCount()){if(!mxEvent.isShiftDown(M)||null==e&&w.isSelectionEmpty()){var N=w.cloneCell(D);if(null!=f)f(N);else{var K=r([N]);w.model.isEdge(N)?+EditorUi.prototype.showShapePicker=function(a,b,e,f,g,d,h,l,q){var k=null;this.editor.graph.freehand.isDrawing()||(l=l||null==e,k=this.createShapePicker(a,b,e,f,g,mxUtils.bind(this,function(){this.hideShapePicker()}),this.getCellsForShapePicker(e,d,l),d,h,l,q),null!=k&&(null==this.hoverIcons||d||this.hoverIcons.reset(),a=this.editor.graph,a.popupMenuHandler.hideMenu(),a.tooltipHandler.hideTooltip(),this.hideCurrentMenu(),this.hideShapePicker(),this.shapePickerCallback=f,this.shapePicker=k));return k};+EditorUi.prototype.createShapePicker=function(a,b,e,f,g,d,h,l,q,k,u){u=null!=u?u:!0;var w=this.editor.graph,y=null;q=null!=q?q:function(D){D=D[0];var G=0,H=0,M=D.geometry;null!=M&&(w.model.isEdge(D)&&(D=M.getTerminalPoint(!1),M=new mxRectangle(0,0,D.x,D.y)),G=M.width/2,H=M.height/2);return new mxPoint(w.snap(Math.round(a/w.view.scale)-w.view.translate.x-G),w.snap(Math.round(b/w.view.scale)-w.view.translate.y-H))};if(null!=h&&0<h.length){var A=this;w=this.editor.graph;y=document.createElement("div");+g=w.view.getState(e);var F=null==e||null!=g&&w.isTransparentState(g)?null:w.copyStyle(e);y.className="geShapePicker";y.setAttribute("title",mxResources.get("sidebarTooltip"));y.style.left=Math.round(a)+"px";y.style.top=Math.round(b)+"px";mxClient.IS_POINTER&&(y.style.touchAction="none");l||mxUtils.setPrefixedStyle(y.style,"transform","translate(-22px,-22px)");w.container.appendChild(y);g=mxUtils.bind(this,function(D){var G=document.createElement("a");y.appendChild(G);null!=F&&"1"!=urlParams.sketch?+this.sidebar.graph.pasteStyle(F,[D]):this.sidebar.graph.pasteCellStyles([D],w.currentVertexStyle,w.currentEdgeStyle);var H=D.geometry;w.model.isEdge(D)&&(H=H.getTerminalPoint(!1),H=new mxRectangle(0,0,H.x,H.y));null!=H&&(H=this.sidebar.createVertexTemplateFromCells([D],H.width,H.height,"",!0,!1,null,!1,mxUtils.bind(this,function(M){if(!mxEvent.isAltDown(M)||1!=w.getSelectionCount()){if(!mxEvent.isShiftDown(M)||null==e&&w.isSelectionEmpty()){var N=w.cloneCell(D);if(null!=f)f(N);else{var K=q([N]);w.model.isEdge(N)?N.geometry.translate(K.x,K.y):(N.geometry.x=K.x,N.geometry.y=K.y);w.model.beginUpdate();try{w.addCell(N),w.model.isVertex(N)&&w.isAutoSizeCell(N)&&w.updateCellSize(N)}finally{w.model.endUpdate()}w.setSelectionCell(N);w.scrollCellToVisible(N);u&&w.startEditing(N);null!=A.hoverIcons&&A.hoverIcons.update(w.view.getState(N))}}else N=w.getEditableCells(null!=e?[e]:w.getSelectionCells()),w.updateShapes(D,N);null!=d&&d(M);mxEvent.consume(M)}}),25,25,null,null,e),H.style.display="flex",H.style.alignItems=-"center",H.style.justifyContent="center",F.appendChild(H))});for(k=0;k<(l?Math.min(h.length,4):h.length);k++)g(h[k]);h=y.offsetTop+y.clientHeight-(w.container.scrollTop+w.container.offsetHeight);0<h&&(y.style.top=Math.max(w.container.scrollTop+22,b-h)+"px");h=y.offsetLeft+y.clientWidth-(w.container.scrollLeft+w.container.offsetWidth);0<h&&(y.style.left=Math.max(w.container.scrollLeft+22,a-h)+"px")}return y};-EditorUi.prototype.getCellsForShapePicker=function(a,b,e){var f=this.editor.graph,g=mxUtils.bind(this,function(d,h,l,r){return f.createVertex(null,null,r||"",0,0,h||120,l||60,d,!1)});b=mxUtils.bind(this,function(d,h,l){d=new mxCell(l||"",new mxGeometry(0,0,f.defaultEdgeLength+20,0),d);d.geometry.setTerminalPoint(new mxPoint(0,0),!0);d.geometry.setTerminalPoint(new mxPoint(d.geometry.width,null!=h?h:0),!1);d.geometry.points=null!=h?[new mxPoint(d.geometry.width/2,h)]:[];d.geometry.relative=!0;d.edge=+"center",H.style.justifyContent="center",G.appendChild(H))});for(k=0;k<(l?Math.min(h.length,4):h.length);k++)g(h[k]);h=y.offsetTop+y.clientHeight-(w.container.scrollTop+w.container.offsetHeight);0<h&&(y.style.top=Math.max(w.container.scrollTop+22,b-h)+"px");h=y.offsetLeft+y.clientWidth-(w.container.scrollLeft+w.container.offsetWidth);0<h&&(y.style.left=Math.max(w.container.scrollLeft+22,a-h)+"px")}return y};+EditorUi.prototype.getCellsForShapePicker=function(a,b,e){var f=this.editor.graph,g=mxUtils.bind(this,function(d,h,l,q){return f.createVertex(null,null,q||"",0,0,h||120,l||60,d,!1)});b=mxUtils.bind(this,function(d,h,l){d=new mxCell(l||"",new mxGeometry(0,0,f.defaultEdgeLength+20,0),d);d.geometry.setTerminalPoint(new mxPoint(0,0),!0);d.geometry.setTerminalPoint(new mxPoint(d.geometry.width,null!=h?h:0),!1);d.geometry.points=null!=h?[new mxPoint(d.geometry.width/2,h)]:[];d.geometry.relative=!0;d.edge=!0;return d});if(null!=a)try{a=f.cloneCell(a),f.model.isVertex(a)&&null!=a.geometry&&(a.geometry.x=0,a.geometry.y=0)}catch(d){a=null}null==a&&(a=g(f.appendFontSize(Editor.defaultTextStyle,f.vertexFontSize),60,30,"Text"));a=[a,g("whiteSpace=wrap;html=1;"),g("ellipse;whiteSpace=wrap;html=1;",80,80),g("rhombus;whiteSpace=wrap;html=1;",80,80),g("rounded=1;whiteSpace=wrap;html=1;"),g("shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;"),g("shape=trapezoid;perimeter=trapezoidPerimeter;whiteSpace=wrap;html=1;fixedSize=1;",120,60),g("shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;fixedSize=1;",120,80),g("shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;",120,80),g("shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;"),g("triangle;whiteSpace=wrap;html=1;",60,80),g("shape=document;whiteSpace=wrap;html=1;boundedLbl=1;",120,80),g("shape=tape;whiteSpace=wrap;html=1;",120,100),g("ellipse;shape=cloud;whiteSpace=wrap;html=1;",120,80),g("shape=singleArrow;whiteSpace=wrap;html=1;arrowWidth=0.4;arrowSize=0.4;",80,60),g("shape=waypoint;sketch=0;size=6;pointerEvents=1;points=[];fillColor=none;resizable=0;rotatable=0;perimeter=centerPerimeter;snapToPoint=1;",20,20)];e&&(a=a.concat([b("edgeStyle=none;orthogonalLoop=1;jettySize=auto;html=1;"),b("edgeStyle=none;orthogonalLoop=1;jettySize=auto;html=1;endArrow=classic;startArrow=classic;endSize=8;startSize=8;"),b("edgeStyle=none;orthogonalLoop=1;jettySize=auto;html=1;shape=flexArrow;rounded=1;startSize=8;endSize=8;"),b("edgeStyle=segmentEdgeStyle;endArrow=classic;html=1;curved=0;rounded=0;endSize=8;startSize=8;sourcePerimeterSpacing=0;targetPerimeterSpacing=0;",@@ -2187,34 +2187,34 @@ EditorUi.prototype.getImageForEdgeShape=function(a){var b=Format.connectionImageEditorUi.prototype.getImageForEdgeStyle=function(a){var b=Format.orthogonalImage.src,e=mxUtils.getValue(a,mxConstants.STYLE_EDGE,null);"1"==mxUtils.getValue(a,mxConstants.STYLE_NOEDGESTYLE,null)&&(e=null);"orthogonalEdgeStyle"==e&&"1"==mxUtils.getValue(a,mxConstants.STYLE_CURVED,null)?b=Format.curvedImage.src:"straight"==e||"none"==e||null==e?b=Format.straightImage.src:"entityRelationEdgeStyle"==e?b=Format.entityImage.src:"elbowEdgeStyle"==e?b="vertical"==mxUtils.getValue(a,mxConstants.STYLE_ELBOW,null)?Format.verticalElbowImage.src:Format.horizontalElbowImage.src:"isometricEdgeStyle"==e&&(b="vertical"==mxUtils.getValue(a,mxConstants.STYLE_ELBOW,null)?Format.verticalIsometricImage.src:Format.horizontalIsometricImage.src);return b};EditorUi.prototype.createMenus=function(){return null};EditorUi.prototype.updatePasteActionStates=function(){var a=this.editor.graph,b=this.actions.get("paste"),e=this.actions.get("pasteHere");b.setEnabled(this.editor.graph.cellEditor.isContentEditing()||(null!=navigator.clipboard||!mxClipboard.isEmpty())&&a.isEnabled()&&!a.isCellLocked(a.getDefaultParent()));e.setEnabled(b.isEnabled())};-EditorUi.prototype.initClipboard=function(){var a=this,b=mxClipboard.cut;mxClipboard.cut=function(d){d.cellEditor.isContentEditing()?document.execCommand("cut",!1,null):b.apply(this,arguments);a.updatePasteActionStates()};mxClipboard.copy=function(d){var h=null;if(d.cellEditor.isContentEditing())document.execCommand("copy",!1,null);else{h=h||d.getSelectionCells();h=d.getExportableCells(d.model.getTopmostCells(h));for(var l={},r=d.createCellLookup(h),k=d.cloneCells(h,null,l),u=new mxGraphModel,w=u.getChildAt(u.getRoot(),-0),y=0;y<k.length;y++){u.add(w,k[y]);var A=d.view.getState(h[y]);if(null!=A){var G=d.getCellGeometry(k[y]);null!=G&&G.relative&&!u.isEdge(h[y])&&null==r[mxObjectIdentity.get(u.getParent(h[y]))]&&(G.offset=null,G.relative=!1,G.x=A.x/A.view.scale-A.view.translate.x,G.y=A.y/A.view.scale-A.view.translate.y)}}d.updateCustomLinks(d.createCellMapping(l,r),k);mxClipboard.insertCount=1;mxClipboard.setCells(k)}a.updatePasteActionStates();return h};var e=mxClipboard.paste;mxClipboard.paste=function(d){var h=+EditorUi.prototype.initClipboard=function(){var a=this,b=mxClipboard.cut;mxClipboard.cut=function(d){d.cellEditor.isContentEditing()?document.execCommand("cut",!1,null):b.apply(this,arguments);a.updatePasteActionStates()};mxClipboard.copy=function(d){var h=null;if(d.cellEditor.isContentEditing())document.execCommand("copy",!1,null);else{h=h||d.getSelectionCells();h=d.getExportableCells(d.model.getTopmostCells(h));for(var l={},q=d.createCellLookup(h),k=d.cloneCells(h,null,l),u=new mxGraphModel,w=u.getChildAt(u.getRoot(),+0),y=0;y<k.length;y++){u.add(w,k[y]);var A=d.view.getState(h[y]);if(null!=A){var F=d.getCellGeometry(k[y]);null!=F&&F.relative&&!u.isEdge(h[y])&&null==q[mxObjectIdentity.get(u.getParent(h[y]))]&&(F.offset=null,F.relative=!1,F.x=A.x/A.view.scale-A.view.translate.x,F.y=A.y/A.view.scale-A.view.translate.y)}}d.updateCustomLinks(d.createCellMapping(l,q),k);mxClipboard.insertCount=1;mxClipboard.setCells(k)}a.updatePasteActionStates();return h};var e=mxClipboard.paste;mxClipboard.paste=function(d){var h=null;d.cellEditor.isContentEditing()?document.execCommand("paste",!1,null):h=e.apply(this,arguments);a.updatePasteActionStates();return h};var f=this.editor.graph.cellEditor.startEditing;this.editor.graph.cellEditor.startEditing=function(){f.apply(this,arguments);a.updatePasteActionStates()};var g=this.editor.graph.cellEditor.stopEditing;this.editor.graph.cellEditor.stopEditing=function(d,h){g.apply(this,arguments);a.updatePasteActionStates()};this.updatePasteActionStates()};EditorUi.prototype.lazyZoomDelay=20;EditorUi.prototype.wheelZoomDelay=500;EditorUi.prototype.buttonZoomDelay=600;EditorUi.prototype.initCanvas=function(){var a=this.editor.graph;a.timerAutoScroll=!0;a.getPagePadding=function(){return new mxPoint(Math.max(0,Math.round((a.container.offsetWidth-34)/a.view.scale)),Math.max(0,Math.round((a.container.offsetHeight-34)/a.view.scale)))};a.view.getBackgroundPageBounds=function(){var ca=this.graph.getPageLayout(),la=this.graph.getPageSize();return new mxRectangle(this.scale*(this.translate.x+ca.x*la.width),this.scale*(this.translate.y+ca.y*la.height),this.scale*ca.width*la.width,this.scale*ca.height*la.height)};a.getPreferredPageSize=function(ca,la,ia){ca=this.getPageLayout();la=this.getPageSize();return new mxRectangle(0,0,ca.width*la.width,ca.height*la.height)};var b=null,e=this;if(this.editor.isChromelessView()){this.chromelessResize=b=mxUtils.bind(this,function(ca,la,ia,O){if(null!=a.container&&!a.isViewer()){ia=null!=ia?ia:0;O=null!=O?O:0;var qa=a.pageVisible?a.view.getBackgroundPageBounds():a.getGraphBounds(),ja=mxUtils.hasScrollbars(a.container),va=a.view.translate,-za=a.view.scale,La=mxRectangle.fromRectangle(qa);La.x=La.x/za-va.x;La.y=La.y/za-va.y;La.width/=za;La.height/=za;va=a.container.scrollTop;var Na=a.container.scrollLeft,Ja=8<=document.documentMode?20:14;if(8==document.documentMode||9==document.documentMode)Ja+=3;var Ka=a.container.offsetWidth-Ja;Ja=a.container.offsetHeight-Ja;ca=ca?Math.max(.3,Math.min(la||1,Ka/La.width)):za;la=(Ka-ca*La.width)/2/ca;var ta=0==this.lightboxVerticalDivider?0:(Ja-ca*La.height)/this.lightboxVerticalDivider/ca;ja&&(la=Math.max(la,-0),ta=Math.max(ta,0));if(ja||qa.width<Ka||qa.height<Ja)a.view.scaleAndTranslate(ca,Math.floor(la-La.x),Math.floor(ta-La.y)),a.container.scrollTop=va*ca/za,a.container.scrollLeft=Na*ca/za;else if(0!=ia||0!=O)qa=a.view.translate,a.view.setTranslate(Math.floor(qa.x+ia/za),Math.floor(qa.y+O/za))}});this.chromelessWindowResize=mxUtils.bind(this,function(){this.chromelessResize(!1)});var f=mxUtils.bind(this,function(){this.chromelessWindowResize(!1)});mxEvent.addListener(window,"resize",f);this.destroyFunctions.push(function(){mxEvent.removeListener(window,+ya=a.view.scale,La=mxRectangle.fromRectangle(qa);La.x=La.x/ya-va.x;La.y=La.y/ya-va.y;La.width/=ya;La.height/=ya;va=a.container.scrollTop;var Na=a.container.scrollLeft,Ja=8<=document.documentMode?20:14;if(8==document.documentMode||9==document.documentMode)Ja+=3;var Ka=a.container.offsetWidth-Ja;Ja=a.container.offsetHeight-Ja;ca=ca?Math.max(.3,Math.min(la||1,Ka/La.width)):ya;la=(Ka-ca*La.width)/2/ca;var ta=0==this.lightboxVerticalDivider?0:(Ja-ca*La.height)/this.lightboxVerticalDivider/ca;ja&&(la=Math.max(la,+0),ta=Math.max(ta,0));if(ja||qa.width<Ka||qa.height<Ja)a.view.scaleAndTranslate(ca,Math.floor(la-La.x),Math.floor(ta-La.y)),a.container.scrollTop=va*ca/ya,a.container.scrollLeft=Na*ca/ya;else if(0!=ia||0!=O)qa=a.view.translate,a.view.setTranslate(Math.floor(qa.x+ia/ya),Math.floor(qa.y+O/ya))}});this.chromelessWindowResize=mxUtils.bind(this,function(){this.chromelessResize(!1)});var f=mxUtils.bind(this,function(){this.chromelessWindowResize(!1)});mxEvent.addListener(window,"resize",f);this.destroyFunctions.push(function(){mxEvent.removeListener(window,"resize",f)});this.editor.addListener("resetGraphView",mxUtils.bind(this,function(){this.chromelessResize(!0)}));this.actions.get("zoomIn").funct=mxUtils.bind(this,function(ca){a.zoomIn();this.chromelessResize(!1)});this.actions.get("zoomOut").funct=mxUtils.bind(this,function(ca){a.zoomOut();this.chromelessResize(!1)});if("0"!=urlParams.toolbar){var g=JSON.parse(decodeURIComponent(urlParams["toolbar-config"]||"{}"));this.chromelessToolbar=document.createElement("div");this.chromelessToolbar.style.position="fixed";this.chromelessToolbar.style.overflow="hidden";this.chromelessToolbar.style.boxSizing="border-box";this.chromelessToolbar.style.whiteSpace="nowrap";this.chromelessToolbar.style.padding="10px 10px 8px 10px";this.chromelessToolbar.style.left=a.isViewer()?"0":"50%";mxClient.IS_IE||mxClient.IS_IE11?(this.chromelessToolbar.style.backgroundColor="#ffffff",this.chromelessToolbar.style.border="3px solid black"):this.chromelessToolbar.style.backgroundColor="#000000";mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"borderRadius","16px");mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"transition","opacity 600ms ease-in-out");var d=mxUtils.bind(this,function(){var ca=mxUtils.getCurrentStyle(a.container);a.isViewer()?this.chromelessToolbar.style.top="0":this.chromelessToolbar.style.bottom=(null!=ca?parseInt(ca["margin-bottom"]||0):0)+(null!=this.tabContainer?20+parseInt(this.tabContainer.style.height):20)+"px"});this.editor.addListener("resetGraphView",d);d();var h=0;d=mxUtils.bind(this,function(ca,la,ia){h++;var O=document.createElement("span");O.style.paddingLeft="8px";O.style.paddingRight="8px";O.style.cursor="pointer";mxEvent.addListener(O,"click",ca);null!=ia&&O.setAttribute("title",ia);ca=document.createElement("img");ca.setAttribute("border","0");ca.setAttribute("src",la);ca.style.width="36px";ca.style.filter="invert(100%)";O.appendChild(ca);this.chromelessToolbar.appendChild(O);return O});if(null!=g.backBtn){var l=Graph.sanitizeLink(g.backBtn.url);null!=l&&d(mxUtils.bind(this,function(ca){window.location.href=-l;mxEvent.consume(ca)}),Editor.backImage,mxResources.get("back",null,"Back"))}if(this.isPagesEnabled()){var r=d(mxUtils.bind(this,function(ca){this.actions.get("previousPage").funct();mxEvent.consume(ca)}),Editor.chevronLeftImage,mxResources.get("previousPage")),k=document.createElement("div");k.style.fontFamily=Editor.defaultHtmlFont;k.style.display="inline-block";k.style.verticalAlign="top";k.style.fontWeight="bold";k.style.marginTop="8px";k.style.fontSize="14px";k.style.cursor="default";k.style.color=+l;mxEvent.consume(ca)}),Editor.backImage,mxResources.get("back",null,"Back"))}if(this.isPagesEnabled()){var q=d(mxUtils.bind(this,function(ca){this.actions.get("previousPage").funct();mxEvent.consume(ca)}),Editor.chevronLeftImage,mxResources.get("previousPage")),k=document.createElement("div");k.style.fontFamily=Editor.defaultHtmlFont;k.style.display="inline-block";k.style.verticalAlign="top";k.style.fontWeight="bold";k.style.marginTop="8px";k.style.fontSize="14px";k.style.cursor="default";k.style.color=mxClient.IS_IE||mxClient.IS_IE11?"#000000":"#ffffff";this.chromelessToolbar.appendChild(k);var u=d(mxUtils.bind(this,function(ca){this.actions.get("nextPage").funct();mxEvent.consume(ca)}),Editor.chevronRightImage,mxResources.get("nextPage")),w=mxUtils.bind(this,function(){if(null!=this.pages&&1<this.pages.length&&null!=this.currentPage){k.innerText="";var ca=mxUtils.indexOf(this.pages,this.currentPage);mxUtils.write(k,ca+1+" / "+this.pages.length);k.setAttribute("title",mxResources.get("currentPage")+-": "+this.currentPage.getName());r.setAttribute("title",mxResources.get("previousPage")+": "+this.pages[mxUtils.mod(ca-1,this.pages.length)].getName());u.setAttribute("title",mxResources.get("nextPage")+": "+this.pages[mxUtils.mod(ca+1,this.pages.length)].getName())}});r.style.paddingLeft="0px";r.style.paddingRight="4px";u.style.paddingLeft="4px";u.style.paddingRight="0px";var y=mxUtils.bind(this,function(){null!=this.pages&&1<this.pages.length&&null!=this.currentPage?(u.style.display="",r.style.display=-"",k.style.display="inline-block"):(u.style.display="none",r.style.display="none",k.style.display="none");w()});if(null!=this.menus){var A=this.menus.get("pages");null!=A&&mxEvent.addListener(k,"click",mxUtils.bind(this,function(ca){var la=new mxPopupMenu(A.funct);la.smartSeparators=!0;la.showDisabled=!0;la.autoExpand=!0;la.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(la,arguments);la.destroy()});var ia=mxUtils.getOffset(k);la.popup(ia.x,ia.y+k.offsetHeight,null,ca);+": "+this.currentPage.getName());q.setAttribute("title",mxResources.get("previousPage")+": "+this.pages[mxUtils.mod(ca-1,this.pages.length)].getName());u.setAttribute("title",mxResources.get("nextPage")+": "+this.pages[mxUtils.mod(ca+1,this.pages.length)].getName())}});q.style.paddingLeft="0px";q.style.paddingRight="4px";u.style.paddingLeft="4px";u.style.paddingRight="0px";var y=mxUtils.bind(this,function(){null!=this.pages&&1<this.pages.length&&null!=this.currentPage?(u.style.display="",q.style.display=+"",k.style.display="inline-block"):(u.style.display="none",q.style.display="none",k.style.display="none");w()});if(null!=this.menus){var A=this.menus.get("pages");null!=A&&mxEvent.addListener(k,"click",mxUtils.bind(this,function(ca){var la=new mxPopupMenu(A.funct);la.smartSeparators=!0;la.showDisabled=!0;la.autoExpand=!0;la.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(la,arguments);la.destroy()});var ia=mxUtils.getOffset(k);la.popup(ia.x,ia.y+k.offsetHeight,null,ca);mxEvent.addListener(la.div,"mouseleave",mxUtils.bind(this,function(){la.hideMenu()}))}))}this.editor.addListener("resetGraphView",y);this.editor.addListener("pageSelected",w)}d(mxUtils.bind(this,function(ca){this.actions.get("zoomOut").funct();mxEvent.consume(ca)}),Editor.zoomOutImage,mxResources.get("zoomOut")+" (Alt+Mousewheel)");d(mxUtils.bind(this,function(ca){this.actions.get("zoomIn").funct();mxEvent.consume(ca)}),Editor.zoomInImage,mxResources.get("zoomIn")+" (Alt+Mousewheel)");d(mxUtils.bind(this,-function(ca){a.isLightboxView()?(1==a.view.scale?this.lightboxFit():a.zoomTo(1),this.chromelessResize(!1)):this.chromelessResize(!0);mxEvent.consume(ca)}),Editor.zoomFitImage,mxResources.get("fit"));var G=null,D=null,F=mxUtils.bind(this,function(ca){null!=G&&(window.clearTimeout(G),G=null);null!=D&&(window.clearTimeout(D),D=null);G=window.setTimeout(mxUtils.bind(this,function(){mxUtils.setOpacity(this.chromelessToolbar,0);G=null;D=window.setTimeout(mxUtils.bind(this,function(){this.chromelessToolbar.style.display=-"none";D=null}),600)}),ca||200)}),H=mxUtils.bind(this,function(ca){null!=G&&(window.clearTimeout(G),G=null);null!=D&&(window.clearTimeout(D),D=null);this.chromelessToolbar.style.display="";mxUtils.setOpacity(this.chromelessToolbar,ca||30)});if("1"==urlParams.layers){this.layersDialog=null;var M=d(mxUtils.bind(this,function(ca){if(null!=this.layersDialog)this.layersDialog.parentNode.removeChild(this.layersDialog),this.layersDialog=null;else{this.layersDialog=a.createLayersDialog(mxUtils.bind(this,+function(ca){a.isLightboxView()?(1==a.view.scale?this.lightboxFit():a.zoomTo(1),this.chromelessResize(!1)):this.chromelessResize(!0);mxEvent.consume(ca)}),Editor.zoomFitImage,mxResources.get("fit"));var F=null,D=null,G=mxUtils.bind(this,function(ca){null!=F&&(window.clearTimeout(F),F=null);null!=D&&(window.clearTimeout(D),D=null);F=window.setTimeout(mxUtils.bind(this,function(){mxUtils.setOpacity(this.chromelessToolbar,0);F=null;D=window.setTimeout(mxUtils.bind(this,function(){this.chromelessToolbar.style.display=+"none";D=null}),600)}),ca||200)}),H=mxUtils.bind(this,function(ca){null!=F&&(window.clearTimeout(F),F=null);null!=D&&(window.clearTimeout(D),D=null);this.chromelessToolbar.style.display="";mxUtils.setOpacity(this.chromelessToolbar,ca||30)});if("1"==urlParams.layers){this.layersDialog=null;var M=d(mxUtils.bind(this,function(ca){if(null!=this.layersDialog)this.layersDialog.parentNode.removeChild(this.layersDialog),this.layersDialog=null;else{this.layersDialog=a.createLayersDialog(mxUtils.bind(this,function(){this.chromelessResize&&this.chromelessResize()}),!0);mxEvent.addListener(this.layersDialog,"mouseleave",mxUtils.bind(this,function(){this.layersDialog.parentNode.removeChild(this.layersDialog);this.layersDialog=null}));var la=M.getBoundingClientRect();mxUtils.setPrefixedStyle(this.layersDialog.style,"borderRadius","5px");this.layersDialog.style.position="fixed";this.layersDialog.style.fontFamily=Editor.defaultHtmlFont;this.layersDialog.style.width="160px";this.layersDialog.style.padding="4px 2px 4px 2px";this.layersDialog.style.left=la.left+"px";this.layersDialog.style.bottom=parseInt(this.chromelessToolbar.style.bottom)+this.chromelessToolbar.offsetHeight+4+"px";mxClient.IS_IE||mxClient.IS_IE11?(this.layersDialog.style.backgroundColor="#ffffff",this.layersDialog.style.border="2px solid black",this.layersDialog.style.color="#000000"):(this.layersDialog.style.backgroundColor="#000000",this.layersDialog.style.color="#ffffff",mxUtils.setOpacity(this.layersDialog,80));la=mxUtils.getCurrentStyle(this.editor.graph.container);this.layersDialog.style.zIndex=la.zIndex;document.body.appendChild(this.layersDialog);this.editor.fireEvent(new mxEventObject("layersDialogShown"))}mxEvent.consume(ca)}),Editor.layersImage,mxResources.get("layers")),N=a.getModel();N.addListener(mxEvent.CHANGE,function(){M.style.display=1<N.getChildCount(N.root)?"":"none"})}("1"!=urlParams.openInSameWin||navigator.standalone)&&this.addChromelessToolbarItems(d);null==this.editor.editButtonLink&&null==this.editor.editButtonFunc||d(mxUtils.bind(this,function(ca){if(null!=this.editor.editButtonFunc)this.editor.editButtonFunc();else if("_blank"==this.editor.editButtonLink){var la=null!=this.currentPage?this.currentPage.getId():null;this.editor.editAsNew(this.getEditBlankXml(),null,null,la)}else a.openLink(this.editor.editButtonLink,"editWindow");mxEvent.consume(ca)}),Editor.editImage,mxResources.get("edit"));if(null!=this.lightboxToolbarActions)for(y=0;y<this.lightboxToolbarActions.length;y++){var K=this.lightboxToolbarActions[y];K.elem=d(K.fn,K.icon,K.tooltip)}if(null!=g.refreshBtn){var T=null==g.refreshBtn.url?null:Graph.sanitizeLink(g.refreshBtn.url);d(mxUtils.bind(this,function(ca){null!=T?window.location.href=T:window.location.reload();mxEvent.consume(ca)}),Editor.refreshImage,mxResources.get("refresh",null,"Refresh"))}null!=g.fullscreenBtn&&window.self!==window.top&&d(mxUtils.bind(this,function(ca){g.fullscreenBtn.url?a.openLink(g.fullscreenBtn.url):a.openLink(window.location.href);mxEvent.consume(ca)}),Editor.fullscreenImage,mxResources.get("openInNewWindow",null,"Open in New Window"));!g.noCloseBtn&&(g.closeBtn&&window.self===window.top||a.lightbox&&("1"==urlParams.close||this.container!=document.body))&&d(mxUtils.bind(this,function(ca){"1"==urlParams.close||g.closeBtn?window.close():(this.destroy(),mxEvent.consume(ca))}),Editor.closeImage,mxResources.get("close")+" (Escape)");this.chromelessToolbar.style.display="none";a.isViewer()||mxUtils.setPrefixedStyle(this.chromelessToolbar.style,"transform","translate(-50%,0)");a.container.appendChild(this.chromelessToolbar);-mxEvent.addListener(a.container,mxClient.IS_POINTER?"pointermove":"mousemove",mxUtils.bind(this,function(ca){mxEvent.isTouchEvent(ca)||(mxEvent.isShiftDown(ca)||H(30),F())}));mxEvent.addListener(this.chromelessToolbar,mxClient.IS_POINTER?"pointermove":"mousemove",function(ca){mxEvent.consume(ca)});mxEvent.addListener(this.chromelessToolbar,"mouseenter",mxUtils.bind(this,function(ca){a.tooltipHandler.resetTimer();a.tooltipHandler.hideTooltip();mxEvent.isShiftDown(ca)?F():H(100)}));mxEvent.addListener(this.chromelessToolbar,-"mousemove",mxUtils.bind(this,function(ca){mxEvent.isShiftDown(ca)?F():H(100);mxEvent.consume(ca)}));mxEvent.addListener(this.chromelessToolbar,"mouseleave",mxUtils.bind(this,function(ca){mxEvent.isTouchEvent(ca)||H(30)}));var W=a.getTolerance();a.addMouseListener({startX:0,startY:0,scrollLeft:0,scrollTop:0,mouseDown:function(ca,la){this.startX=la.getGraphX();this.startY=la.getGraphY();this.scrollLeft=a.container.scrollLeft;this.scrollTop=a.container.scrollTop},mouseMove:function(ca,la){},mouseUp:function(ca,-la){mxEvent.isTouchEvent(la.getEvent())&&Math.abs(this.scrollLeft-a.container.scrollLeft)<W&&Math.abs(this.scrollTop-a.container.scrollTop)<W&&Math.abs(this.startX-la.getGraphX())<W&&Math.abs(this.startY-la.getGraphY())<W&&(0<parseFloat(e.chromelessToolbar.style.opacity||0)?F():H(30))}})}this.editor.editable||this.addChromelessClickHandler()}else if(this.editor.extendCanvas){var S=a.view.validate,V=new mxPoint,fa=!1,P=null;a.view.validate=function(){if(null!=a.container&&mxUtils.hasScrollbars(a.container)){if(null!=+mxEvent.addListener(a.container,mxClient.IS_POINTER?"pointermove":"mousemove",mxUtils.bind(this,function(ca){mxEvent.isTouchEvent(ca)||(mxEvent.isShiftDown(ca)||H(30),G())}));mxEvent.addListener(this.chromelessToolbar,mxClient.IS_POINTER?"pointermove":"mousemove",function(ca){mxEvent.consume(ca)});mxEvent.addListener(this.chromelessToolbar,"mouseenter",mxUtils.bind(this,function(ca){a.tooltipHandler.resetTimer();a.tooltipHandler.hideTooltip();mxEvent.isShiftDown(ca)?G():H(100)}));mxEvent.addListener(this.chromelessToolbar,+"mousemove",mxUtils.bind(this,function(ca){mxEvent.isShiftDown(ca)?G():H(100);mxEvent.consume(ca)}));mxEvent.addListener(this.chromelessToolbar,"mouseleave",mxUtils.bind(this,function(ca){mxEvent.isTouchEvent(ca)||H(30)}));var W=a.getTolerance();a.addMouseListener({startX:0,startY:0,scrollLeft:0,scrollTop:0,mouseDown:function(ca,la){this.startX=la.getGraphX();this.startY=la.getGraphY();this.scrollLeft=a.container.scrollLeft;this.scrollTop=a.container.scrollTop},mouseMove:function(ca,la){},mouseUp:function(ca,+la){mxEvent.isTouchEvent(la.getEvent())&&Math.abs(this.scrollLeft-a.container.scrollLeft)<W&&Math.abs(this.scrollTop-a.container.scrollTop)<W&&Math.abs(this.startX-la.getGraphX())<W&&Math.abs(this.startY-la.getGraphY())<W&&(0<parseFloat(e.chromelessToolbar.style.opacity||0)?G():H(30))}})}this.editor.editable||this.addChromelessClickHandler()}else if(this.editor.extendCanvas){var S=a.view.validate,V=new mxPoint,fa=!1,P=null;a.view.validate=function(){if(null!=a.container&&mxUtils.hasScrollbars(a.container)){if(null!=e.currentPage&&P!=e.currentPage){P=e.currentPage;fa=!0;var ca=a.getBoundingBoxFromGeometry(a.model.getCells(),!0,null,!0);null==ca&&(ca=new mxRectangle(a.view.translate.x*a.view.scale,a.view.translate.y*a.view.scale));ca=a.getPageLayout(ca,V,1);var la=a.getDefaultTranslate(ca);this.x0=ca.x;this.y0=ca.y;if(la.x!=this.translate.x||la.y!=this.translate.y)this.invalidate(),this.translate.x=la.x,this.translate.y=la.y}la=a.getPagePadding();var ia=a.getPageSize();ca=la.x-(this.x0||0)*ia.width;la=la.y-(this.y0||0)*ia.height;if(this.translate.x!=ca||this.translate.y!=la)this.invalidate(),this.translate.x=ca,this.translate.y=la}S.apply(this,arguments)};if(!a.isViewer()){var Z=a.sizeDidChange;a.sizeDidChange=function(){var ca=fa;fa=!1;if(null!=this.container&&mxUtils.hasScrollbars(this.container)){this.updateMinimumSize();if(!this.autoTranslate){var la=this.getPageLayout(),ia=this.getDefaultTranslate(la),O=this.view.translate.x,qa=this.view.translate.y;if(ia.x!=O||ia.y!=qa){this.view.x0=la.x;this.view.y0=la.y;this.autoTranslate=!0;this.view.setTranslate(ia.x,ia.y);this.autoTranslate=!1;ca||(this.container.scrollLeft+=Math.round((ia.x-O)*this.view.scale),this.container.scrollTop+=Math.round((ia.y-qa)*this.view.scale));return}}Z.apply(this,arguments)}else this.fireEvent(new mxEventObject(mxEvent.SIZE,"bounds",this.getGraphBounds()))}}}var X=a.view.getBackgroundPane(),ba=a.view.getDrawPane();a.cumulativeZoomFactor=1;var L=null,U=null,aa=null,ha=null,ma=null,oa=function(ca){null!=L&&window.clearTimeout(L);@@ -2248,7 +2248,7 @@ e.width-b.clientWidth,e.x-10)),e.y>b.scrollTop+.9*b.clientHeight&&(b.scrollTop=MEditorUi.prototype.setPageVisible=function(a){var b=this.editor.graph,e=mxUtils.hasScrollbars(b.container),f=0,g=0;e&&(f=b.view.translate.x*b.view.scale-b.container.scrollLeft,g=b.view.translate.y*b.view.scale-b.container.scrollTop);b.pageVisible=a;b.pageBreaksVisible=a;b.preferPageSize=a;b.view.validateBackground();if(e){var d=b.getSelectionCells();b.clearSelection();b.setSelectionCells(d)}b.sizeDidChange();e&&(b.container.scrollLeft=b.view.translate.x*b.view.scale-f,b.container.scrollTop=b.view.translate.y*b.view.scale-g);b.defaultPageVisible=a;this.fireEvent(new mxEventObject("pageViewChanged"))};EditorUi.prototype.installResizeHandler=function(a,b,e){b&&(a.window.setSize=function(g,d){if(!this.minimized){var h=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight;g=Math.min(g,(window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth)-this.getX());d=Math.min(d,h-this.getY())}mxWindow.prototype.setSize.apply(this,arguments)});a.window.setLocation=function(g,d){var h=window.innerWidth||document.body.clientWidth||document.documentElement.clientWidth,-l=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight,r=parseInt(this.div.style.width),k=parseInt(this.div.style.height);g=Math.max(0,Math.min(g,h-r));d=Math.max(0,Math.min(d,l-k));this.getX()==g&&this.getY()==d||mxWindow.prototype.setLocation.apply(this,arguments);b&&!this.minimized&&this.setSize(r,k)};var f=mxUtils.bind(this,function(){var g=a.window.getX(),d=a.window.getY();a.window.setLocation(g,d)});mxEvent.addListener(window,"resize",f);a.destroy=function(){mxEvent.removeListener(window,+l=window.innerHeight||document.body.clientHeight||document.documentElement.clientHeight,q=parseInt(this.div.style.width),k=parseInt(this.div.style.height);g=Math.max(0,Math.min(g,h-q));d=Math.max(0,Math.min(d,l-k));this.getX()==g&&this.getY()==d||mxWindow.prototype.setLocation.apply(this,arguments);b&&!this.minimized&&this.setSize(q,k)};var f=mxUtils.bind(this,function(){var g=a.window.getX(),d=a.window.getY();a.window.setLocation(g,d)});mxEvent.addListener(window,"resize",f);a.destroy=function(){mxEvent.removeListener(window,"resize",f);a.window.destroy();null!=e&&e()}};function ChangeGridColor(a,b){this.ui=a;this.color=b}ChangeGridColor.prototype.execute=function(){var a=this.ui.editor.graph.view.gridColor;this.ui.setGridColor(this.color);this.color=a};function ChangePageSetup(a,b,e,f,g){this.ui=a;this.previousColor=this.color=b;this.previousImage=this.image=e;this.previousFormat=this.format=f;this.previousPageScale=this.pageScale=g;this.ignoreImage=this.ignoreColor=!1}ChangePageSetup.prototype.execute=function(){var a=this.ui.editor.graph;if(!this.ignoreColor){this.color=this.previousColor;var b=a.background;this.ui.setBackgroundColor(this.previousColor);this.previousColor=b}if(!this.ignoreImage){this.image=this.previousImage;b=a.backgroundImage;var e=this.previousImage;null!=e&&Graph.isPageLink(e.src)&&(e=this.ui.createImageForPageLink(e.src,this.ui.currentPage));this.ui.setBackgroundImage(e);this.previousImage=b}null!=this.previousFormat&&(this.format=this.previousFormat,b=a.pageFormat,this.previousFormat.width!=b.width||this.previousFormat.height!=b.height)&&(this.ui.setPageFormat(this.previousFormat),this.previousFormat=b);null!=this.foldingEnabled&&this.foldingEnabled!=this.ui.editor.graph.foldingEnabled&&(this.ui.setFoldingEnabled(this.foldingEnabled),this.foldingEnabled=!this.foldingEnabled);null!=this.previousPageScale&&(a=this.ui.editor.graph.pageScale,this.previousPageScale!=a&&(this.ui.setPageScale(this.previousPageScale),this.previousPageScale=a))};@@ -2277,17 +2277,17 @@ EditorUi.prototype.setStatusText=function(a){this.statusContainer.innerHTML=Grap"transition","all 0.2s ease");window.setTimeout(mxUtils.bind(this,function(){mxUtils.setOpacity(e,100);mxUtils.setPrefixedStyle(e.style,"transform","scaleX(1)");mxUtils.setPrefixedStyle(e.style,"transition","all 1s ease");window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(e.style,"transform","scaleX(0)");mxUtils.setOpacity(e,0);window.setTimeout(mxUtils.bind(this,function(){null!=e.parentNode&&e.parentNode.removeChild(e)}),1E3)}),Editor.updateStatusInterval/2)}),0)})(a[b])};EditorUi.prototype.clearStatus=function(){this.updateStatus(mxUtils.bind(this,function(){this.editor.setStatus("")}))};EditorUi.prototype.updateStatus=function(a){null!=a&&a();this.lastStatusUpdate=a};EditorUi.prototype.updateStatusAgain=function(){null!=this.lastStatusUpdate&&this.lastStatusUpdate()};EditorUi.prototype.createStatusDiv=function(a){var b=document.createElement("div");b.className="geStatusDiv";b.setAttribute("title",a);b.innerText=a;return b};EditorUi.prototype.createToolbar=function(a){return new Toolbar(this,a)};EditorUi.prototype.createSidebar=function(a){return new Sidebar(this,a)};EditorUi.prototype.createFormat=function(a){return new Format(this,a)};EditorUi.prototype.createDiv=function(a){var b=document.createElement("div");b.className=a;return b};-EditorUi.prototype.addSplitHandler=function(a,b,e,f){function g(w){if(null!=h){var y=new mxPoint(mxEvent.getClientX(w),mxEvent.getClientY(w));f(Math.max(0,l+(b?y.x-h.x:h.y-y.y)-e));mxEvent.consume(w);l!=u()&&(r=!0,k=null)}}function d(w){g(w);h=l=null}var h=null,l=null,r=!0,k=null;mxClient.IS_POINTER&&(a.style.touchAction="none");var u=mxUtils.bind(this,function(){var w=parseInt(b?a.offsetLeft:a.offsetTop);b||(w+=e);return w});mxEvent.addGestureListeners(a,function(w){h=new mxPoint(mxEvent.getClientX(w),-mxEvent.getClientY(w));l=u();r=!1;mxEvent.consume(w)});mxEvent.addListener(a,"click",mxUtils.bind(this,function(w){if(!r&&this.hsplitClickEnabled){var y=null!=k?k-e:0;k=u();f(y);mxEvent.consume(w)}}));mxEvent.addGestureListeners(document,null,g,d);this.destroyFunctions.push(function(){mxEvent.removeGestureListeners(document,null,g,d)})};+EditorUi.prototype.addSplitHandler=function(a,b,e,f){function g(w){if(null!=h){var y=new mxPoint(mxEvent.getClientX(w),mxEvent.getClientY(w));f(Math.max(0,l+(b?y.x-h.x:h.y-y.y)-e));mxEvent.consume(w);l!=u()&&(q=!0,k=null)}}function d(w){g(w);h=l=null}var h=null,l=null,q=!0,k=null;mxClient.IS_POINTER&&(a.style.touchAction="none");var u=mxUtils.bind(this,function(){var w=parseInt(b?a.offsetLeft:a.offsetTop);b||(w+=e);return w});mxEvent.addGestureListeners(a,function(w){h=new mxPoint(mxEvent.getClientX(w),+mxEvent.getClientY(w));l=u();q=!1;mxEvent.consume(w)});mxEvent.addListener(a,"click",mxUtils.bind(this,function(w){if(!q&&this.hsplitClickEnabled){var y=null!=k?k-e:0;k=u();f(y);mxEvent.consume(w)}}));mxEvent.addGestureListeners(document,null,g,d);this.destroyFunctions.push(function(){mxEvent.removeGestureListeners(document,null,g,d)})};EditorUi.prototype.prompt=function(a,b,e,f){a=new FilenameDialog(this,b,mxResources.get("apply"),function(g){e(f?g:parseFloat(g))},a);this.showDialog(a.container,300,80,!0,!0);a.init()};EditorUi.prototype.handleError=function(a,b,e,f,g){a=null!=a&&null!=a.error?a.error:a;if(null!=a||null!=b){g=mxUtils.htmlEntities(mxResources.get("unknownError"));var d=mxResources.get("ok");b=null!=b?b:mxResources.get("error");null!=a&&null!=a.message&&(g=mxUtils.htmlEntities(a.message));this.showError(b,g,d,e,null,null,null,null,null,null,null,null,f?e:null)}else null!=e&&e()};-EditorUi.prototype.showError=function(a,b,e,f,g,d,h,l,r,k,u,w,y){a=new ErrorDialog(this,a,b,e||mxResources.get("ok"),f,g,d,h,w,l,r);b=Math.ceil(null!=b?b.length/50:1);this.showDialog(a.container,k||340,u||100+20*b,!0,!1,y);a.init()};EditorUi.prototype.showDialog=function(a,b,e,f,g,d,h,l,r,k){this.editor.graph.tooltipHandler.resetTimer();this.editor.graph.tooltipHandler.hideTooltip();null==this.dialogs&&(this.dialogs=[]);this.dialog=new Dialog(this,a,b,e,f,g,d,h,l,r,k);this.dialogs.push(this.dialog)};+EditorUi.prototype.showError=function(a,b,e,f,g,d,h,l,q,k,u,w,y){a=new ErrorDialog(this,a,b,e||mxResources.get("ok"),f,g,d,h,w,l,q);b=Math.ceil(null!=b?b.length/50:1);this.showDialog(a.container,k||340,u||100+20*b,!0,!1,y);a.init()};EditorUi.prototype.showDialog=function(a,b,e,f,g,d,h,l,q,k){this.editor.graph.tooltipHandler.resetTimer();this.editor.graph.tooltipHandler.hideTooltip();null==this.dialogs&&(this.dialogs=[]);this.dialog=new Dialog(this,a,b,e,f,g,d,h,l,q,k);this.dialogs.push(this.dialog)};EditorUi.prototype.hideDialog=function(a,b,e){var f=null;if(null!=this.dialogs&&0<this.dialogs.length)for(var g=this.dialogs.length-1;0<=g;g--)if(!this.dialogs[g].closing){f=this.dialogs[g];break}null==f||null!=e&&e!=this.dialog.container.firstChild||(f.closing=!0,0==f.close(a,b)?delete f.closing:(delete f.closing,a=mxUtils.lastIndexOf(this.dialogs,f),0<=a&&this.dialogs.splice(a,1),this.dialog=0<this.dialogs.length?this.dialogs[this.dialogs.length-1]:null,this.editor.fireEvent(new mxEventObject("hideDialog","dialog",f)),null==this.dialog&&null!=this.editor.graph.container&&"hidden"!=this.editor.graph.container.style.visibility&&window.setTimeout(mxUtils.bind(this,function(){null==this.editor||null!=this.dialogs&&0!=this.dialogs.length||(this.editor.graph.isEditing()&&null!=this.editor.graph.cellEditor.textarea?this.editor.graph.cellEditor.textarea.focus():(mxUtils.clearSelection(),this.editor.graph.container.focus()))}),0)))};EditorUi.prototype.ctrlEnter=function(){var a=this.editor.graph;if(a.isEnabled())try{for(var b=a.getSelectionCells(),e=new mxDictionary,f=[],g=0;g<b.length;g++){var d=a.isTableCell(b[g])?a.model.getParent(b[g]):b[g];null==d||e.get(d)||(e.put(d,!0),f.push(d))}a.setSelectionCells(a.duplicateCells(f,!1))}catch(h){this.handleError(h)}};-EditorUi.prototype.pickColor=function(a,b,e,f,g){var d=this.editor.graph,h=d.cellEditor.saveSelection(),l=(g?240:290)+17*(Math.ceil(ColorDialog.prototype.presetColors.length/12)+Math.ceil(ColorDialog.prototype.defaultColors.length/12));a=new ColorDialog(this,a,function(r){d.cellEditor.restoreSelection(h);b(r)},function(){d.cellEditor.restoreSelection(h)},e,f,g);this.showDialog(a.container,230,l,!0,!1);a.init()};+EditorUi.prototype.pickColor=function(a,b,e,f,g){var d=this.editor.graph,h=d.cellEditor.saveSelection(),l=(g?240:290)+17*(Math.ceil(ColorDialog.prototype.presetColors.length/12)+Math.ceil(ColorDialog.prototype.defaultColors.length/12));a=new ColorDialog(this,a,function(q){d.cellEditor.restoreSelection(h);b(q)},function(){d.cellEditor.restoreSelection(h)},e,f,g);this.showDialog(a.container,230,l,!0,!1);a.init()};EditorUi.prototype.openFile=function(){window.openFile=new OpenFile(mxUtils.bind(this,function(a){this.hideDialog(a)}));this.showDialog((new OpenDialog(this)).container,Editor.useLocalStorage?640:320,Editor.useLocalStorage?480:220,!0,!0,function(){window.openFile=null})};-EditorUi.prototype.base64ToBlob=function(a,b){b=b||"";a=atob(a);for(var e=a.length,f=Math.ceil(e/1024),g=Array(f),d=0;d<f;++d){for(var h=1024*d,l=Math.min(h+1024,e),r=Array(l-h),k=0;h<l;++k,++h)r[k]=a[h].charCodeAt(0);g[d]=new Uint8Array(r)}return new Blob(g,{type:b})};+EditorUi.prototype.base64ToBlob=function(a,b){b=b||"";a=atob(a);for(var e=a.length,f=Math.ceil(e/1024),g=Array(f),d=0;d<f;++d){for(var h=1024*d,l=Math.min(h+1024,e),q=Array(l-h),k=0;h<l;++k,++h)q[k]=a[h].charCodeAt(0);g[d]=new Uint8Array(q)}return new Blob(g,{type:b})};EditorUi.prototype.extractGraphModelFromHtml=function(a){var b=null;try{var e=a.indexOf("<mxGraphModel ");if(0<=e){var f=a.lastIndexOf("</mxGraphModel>");f>e&&(b=a.substring(e,f+21).replace(/>/g,">").replace(/</g,"<").replace(/\\"/g,'"').replace(/\n/g,""))}}catch(g){}return b};EditorUi.prototype.extractGraphModelFromEvent=function(a){var b=null,e=null;null!=a&&(a=null!=a.dataTransfer?a.dataTransfer:a.clipboardData,null!=a&&(e=0<=mxUtils.indexOf(a.types,"text/html")?a.getData("text/html"):null,0<=mxUtils.indexOf(a.types,"text/plain")&&(null==e||0==e.length)&&(e=a.getData("text/plain")),null!=e&&(e=Graph.zapGremlins(mxUtils.trim(e)),a=this.extractGraphModelFromHtml(e),null!=a&&(e=a))));null!=e&&this.isCompatibleString(e)&&(b=e);return b};EditorUi.prototype.isCompatibleString=function(a){return!1};EditorUi.prototype.saveFile=function(a){a||null==this.editor.filename?(a=new FilenameDialog(this,this.editor.getOrCreateFilename(),mxResources.get("save"),mxUtils.bind(this,function(b){this.save(b)}),null,mxUtils.bind(this,function(b){if(null!=b&&0<b.length)return!0;mxUtils.confirm(mxResources.get("invalidName"));return!1})),this.showDialog(a.container,340,96,!0,!0),a.init()):this.save(this.editor.getOrCreateFilename())};@@ -2300,28 +2300,28 @@ EditorUi.prototype.showDataDialog=function(a){null!=a&&"undefined"!==typeof windEditorUi.prototype.showBackgroundImageDialog=function(a,b){a=null!=a?a:mxUtils.bind(this,function(f){f=new ChangePageSetup(this,null,f);f.ignoreColor=!0;this.editor.graph.model.execute(f)});var e=mxUtils.prompt(mxResources.get("backgroundImage"),null!=b?b.src:"");null!=e&&0<e.length?(b=new Image,b.onload=function(){a(new mxImage(e,b.width,b.height),!1)},b.onerror=function(){a(null,!0);mxUtils.alert(mxResources.get("fileNotFound"))},b.src=e):a(null)};EditorUi.prototype.setBackgroundImage=function(a){this.editor.graph.setBackgroundImage(a);this.editor.graph.view.validateBackgroundImage();this.fireEvent(new mxEventObject("backgroundImageChanged"))};EditorUi.prototype.confirm=function(a,b,e){mxUtils.confirm(a)?null!=b&&b():null!=e&&e()};EditorUi.prototype.createOutline=function(a){var b=new mxOutline(this.editor.graph);mxEvent.addListener(window,"resize",function(){b.update(!1)});return b};EditorUi.prototype.altShiftActions={65:"connectionArrows",82:"clearWaypoints",76:"editLink",79:"connectionPoints",81:"editConnectionPoints",84:"editTooltip",86:"pasteSize",70:"copySize",66:"copyData",69:"pasteData"};EditorUi.prototype.ctrlAltShiftActions={70:"bringForward",66:"sendBackward",88:"copyAsSvg"};EditorUi.prototype.ctrlAltActions={88:"copyAsImage"};-EditorUi.prototype.createKeyHandler=function(a){function b(w,y,A){if(!f.isSelectionEmpty()&&f.isEnabled()){y=null!=y?y:1;var G=f.getCompositeParents(f.getSelectionCells()),D=0<G.length?G[0]:null;if(null!=D)if(A){f.getModel().beginUpdate();try{for(D=0;D<G.length;D++)if(f.getModel().isVertex(G[D])&&f.isCellResizable(G[D])){var F=f.getCellGeometry(G[D]);null!=F&&(F=F.clone(),37==w?F.width=Math.max(0,F.width-y):38==w?F.height=Math.max(0,F.height-y):39==w?F.width+=y:40==w&&(F.height+=y),f.getModel().setGeometry(G[D],-F))}}finally{f.getModel().endUpdate()}}else{F=f.model.getParent(D);var H=f.getView().scale;A=null;1==f.getSelectionCount()&&f.model.isVertex(D)&&null!=f.layoutManager&&!f.isCellLocked(D)&&(A=f.layoutManager.getLayout(F));if(null!=A&&A.constructor==mxStackLayout)y=F.getIndex(D),37==w||38==w?f.model.add(F,D,Math.max(0,y-1)):(39==w||40==w)&&f.model.add(F,D,Math.min(f.model.getChildCount(F),y+1));else{var M=f.graphHandler;null!=M&&(null==M.first&&M.start(D,0,0,f.getMovableCells(G)),null!=M.first&&(D=-G=0,37==w?G=-y:38==w?D=-y:39==w?G=y:40==w&&(D=y),M.currentDx+=G*H,M.currentDy+=D*H,M.checkPreview(),M.updatePreview()),null!=h&&window.clearTimeout(h),h=window.setTimeout(function(){if(null!=M.first){var N=M.roundLength(M.currentDx/H),K=M.roundLength(M.currentDy/H);M.moveCells(M.cells,N,K);M.reset()}},400))}}}}var e=this,f=this.editor.graph,g=new mxKeyHandler(f),d=g.isEventIgnored;g.isEventIgnored=function(w){return!(mxEvent.isShiftDown(w)&&9==w.keyCode)&&(!this.isControlDown(w)||mxEvent.isShiftDown(w)||+EditorUi.prototype.createKeyHandler=function(a){function b(w,y,A){if(!f.isSelectionEmpty()&&f.isEnabled()){y=null!=y?y:1;var F=f.getCompositeParents(f.getSelectionCells()),D=0<F.length?F[0]:null;if(null!=D)if(A){f.getModel().beginUpdate();try{for(D=0;D<F.length;D++)if(f.getModel().isVertex(F[D])&&f.isCellResizable(F[D])){var G=f.getCellGeometry(F[D]);null!=G&&(G=G.clone(),37==w?G.width=Math.max(0,G.width-y):38==w?G.height=Math.max(0,G.height-y):39==w?G.width+=y:40==w&&(G.height+=y),f.getModel().setGeometry(F[D],+G))}}finally{f.getModel().endUpdate()}}else{G=f.model.getParent(D);var H=f.getView().scale;A=null;1==f.getSelectionCount()&&f.model.isVertex(D)&&null!=f.layoutManager&&!f.isCellLocked(D)&&(A=f.layoutManager.getLayout(G));if(null!=A&&A.constructor==mxStackLayout)y=G.getIndex(D),37==w||38==w?f.model.add(G,D,Math.max(0,y-1)):(39==w||40==w)&&f.model.add(G,D,Math.min(f.model.getChildCount(G),y+1));else{var M=f.graphHandler;null!=M&&(null==M.first&&M.start(D,0,0,f.getMovableCells(F)),null!=M.first&&(D=+F=0,37==w?F=-y:38==w?D=-y:39==w?F=y:40==w&&(D=y),M.currentDx+=F*H,M.currentDy+=D*H,M.checkPreview(),M.updatePreview()),null!=h&&window.clearTimeout(h),h=window.setTimeout(function(){if(null!=M.first){var N=M.roundLength(M.currentDx/H),K=M.roundLength(M.currentDy/H);M.moveCells(M.cells,N,K);M.reset()}},400))}}}}var e=this,f=this.editor.graph,g=new mxKeyHandler(f),d=g.isEventIgnored;g.isEventIgnored=function(w){return!(mxEvent.isShiftDown(w)&&9==w.keyCode)&&(!this.isControlDown(w)||mxEvent.isShiftDown(w)||90!=w.keyCode&&89!=w.keyCode&&188!=w.keyCode&&190!=w.keyCode&&85!=w.keyCode&&83!=w.keyCode)&&(66!=w.keyCode&&73!=w.keyCode||!this.isControlDown(w)||this.graph.cellEditor.isContentEditing()&&!mxClient.IS_FF&&!mxClient.IS_SF)&&(109!=w.keyCode&&107!=w.keyCode||!this.isControlDown(w)&&!mxEvent.isShiftDown(w)||!this.graph.cellEditor.isContentEditing()&&!mxClient.IS_FF&&!mxClient.IS_SF)&&d.apply(this,arguments)};g.isEnabledForEvent=function(w){return!mxEvent.isConsumed(w)&&this.isGraphEvent(w)&&this.isEnabled()&&-(null==e.dialogs||0==e.dialogs.length)};g.isControlDown=function(w){return mxEvent.isControlDown(w)||mxClient.IS_MAC&&w.metaKey};var h=null,l={37:mxConstants.DIRECTION_WEST,38:mxConstants.DIRECTION_NORTH,39:mxConstants.DIRECTION_EAST,40:mxConstants.DIRECTION_SOUTH},r=g.getFunction;mxKeyHandler.prototype.getFunction=function(w){if(f.isEnabled()){var y=null;mxEvent.isShiftDown(w)&&this.isControlDown(w)&&mxEvent.isAltDown(w)?y=e.actions.get(e.ctrlAltShiftActions[w.keyCode]):mxEvent.isShiftDown(w)&&mxEvent.isAltDown(w)?+(null==e.dialogs||0==e.dialogs.length)};g.isControlDown=function(w){return mxEvent.isControlDown(w)||mxClient.IS_MAC&&w.metaKey};var h=null,l={37:mxConstants.DIRECTION_WEST,38:mxConstants.DIRECTION_NORTH,39:mxConstants.DIRECTION_EAST,40:mxConstants.DIRECTION_SOUTH},q=g.getFunction;mxKeyHandler.prototype.getFunction=function(w){if(f.isEnabled()){var y=null;mxEvent.isShiftDown(w)&&this.isControlDown(w)&&mxEvent.isAltDown(w)?y=e.actions.get(e.ctrlAltShiftActions[w.keyCode]):mxEvent.isShiftDown(w)&&mxEvent.isAltDown(w)?y=e.actions.get(e.altShiftActions[w.keyCode]):this.isControlDown(w)&&mxEvent.isAltDown(w)&&(y=e.actions.get(e.ctrlAltActions[w.keyCode]));if(null!=y)return y.funct;if("/"==w.key&&!this.isControlDown(w)&&!mxEvent.isAltDown(w))return function(){var A=document.getElementById("geOmniSearch");null!=A&&30<A.clientWidth&&A.focus()};if(null!=l[w.keyCode]&&!f.isSelectionEmpty())if(!this.isControlDown(w)&&mxEvent.isShiftDown(w)&&mxEvent.isAltDown(w)){if(f.model.isVertex(f.getSelectionCell()))return function(){var A=-f.connectVertex(f.getSelectionCell(),l[w.keyCode],f.defaultEdgeLength,w,!0);null!=A&&0<A.length&&(1==A.length&&f.model.isEdge(A[0])?f.setSelectionCell(f.model.getTerminal(A[0],!1)):f.setSelectionCell(A[A.length-1]),f.scrollCellToVisible(f.getSelectionCell()),null!=e.hoverIcons&&e.hoverIcons.update(f.view.getState(f.getSelectionCell())))}}else return this.isControlDown(w)?function(){b(w.keyCode,mxEvent.isShiftDown(w)?f.gridSize:null,!0)}:function(){b(w.keyCode,mxEvent.isShiftDown(w)?f.gridSize:null)}}return r.apply(this,-arguments)};g.bindAction=mxUtils.bind(this,function(w,y,A,G){var D=this.actions.get(A);null!=D&&(A=function(){D.isEnabled()&&D.funct.apply(this,arguments)},y?G?g.bindControlShiftKey(w,A):g.bindControlKey(w,A):G?g.bindShiftKey(w,A):g.bindKey(w,A))});var k=this,u=g.escape;g.escape=function(w){u.apply(this,arguments)};g.enter=function(){};g.bindControlShiftKey(36,function(){f.exitGroup()});g.bindControlShiftKey(35,function(){f.enterGroup()});g.bindShiftKey(36,function(){f.home()});g.bindKey(35,function(){f.refresh()});+f.connectVertex(f.getSelectionCell(),l[w.keyCode],f.defaultEdgeLength,w,!0);null!=A&&0<A.length&&(1==A.length&&f.model.isEdge(A[0])?f.setSelectionCell(f.model.getTerminal(A[0],!1)):f.setSelectionCell(A[A.length-1]),f.scrollCellToVisible(f.getSelectionCell()),null!=e.hoverIcons&&e.hoverIcons.update(f.view.getState(f.getSelectionCell())))}}else return this.isControlDown(w)?function(){b(w.keyCode,mxEvent.isShiftDown(w)?f.gridSize:null,!0)}:function(){b(w.keyCode,mxEvent.isShiftDown(w)?f.gridSize:null)}}return q.apply(this,+arguments)};g.bindAction=mxUtils.bind(this,function(w,y,A,F){var D=this.actions.get(A);null!=D&&(A=function(){D.isEnabled()&&D.funct.apply(this,arguments)},y?F?g.bindControlShiftKey(w,A):g.bindControlKey(w,A):F?g.bindShiftKey(w,A):g.bindKey(w,A))});var k=this,u=g.escape;g.escape=function(w){u.apply(this,arguments)};g.enter=function(){};g.bindControlShiftKey(36,function(){f.exitGroup()});g.bindControlShiftKey(35,function(){f.enterGroup()});g.bindShiftKey(36,function(){f.home()});g.bindKey(35,function(){f.refresh()});g.bindAction(80,!0,"print");g.bindAction(107,!0,"zoomIn");g.bindAction(109,!0,"zoomOut");g.bindAction(61,!0,"zoomIn");g.bindAction(187,!0,"zoomIn");g.bindAction(222,!0,"zoomIn");g.bindAction(173,!0,"zoomOut");g.bindAction(189,!0,"zoomOut");if(!this.editor.chromeless||this.editor.editable)g.bindAction(79,!0,"outline",!0),g.bindControlKey(36,function(){f.isEnabled()&&f.foldCells(!0)}),g.bindControlKey(35,function(){f.isEnabled()&&f.foldCells(!1)}),g.bindControlKey(13,function(){k.ctrlEnter()}),g.bindAction(8,!1,"delete"),g.bindAction(8,!0,"deleteAll"),g.bindAction(8,!1,"deleteLabels",!0),g.bindAction(46,!1,"delete"),g.bindAction(46,!0,"deleteAll"),g.bindAction(46,!1,"deleteLabels",!0),g.bindAction(36,!1,"resetView"),g.bindAction(72,!0,"fitWindow",!0),g.bindAction(74,!0,"fitPage"),g.bindAction(74,!0,"fitTwoPages",!0),g.bindAction(48,!0,"customZoom"),g.bindAction(82,!0,"turn"),g.bindAction(82,!0,"clearDefaultStyle",!0),g.bindAction(83,!0,"save"),g.bindAction(83,!0,"saveAs",!0),g.bindAction(65,!0,"selectAll"),g.bindAction(65,!0,"selectNone",!0),g.bindAction(73,!0,"selectVertices",!0),g.bindAction(69,!0,"selectEdges",!0),g.bindAction(69,!0,"editStyle"),g.bindAction(66,!0,"bold"),g.bindAction(66,!0,"toBack",!0),g.bindAction(70,!0,"toFront",!0),g.bindAction(68,!0,"duplicate"),g.bindAction(68,!0,"setAsDefaultStyle",!0),g.bindAction(90,!0,"undo"),g.bindAction(90,!0,"redo",!0),g.bindAction(89,!0,"redo"),g.bindAction(89,!0,"autosize",!0),g.bindAction(88,!0,"cut"),g.bindAction(67,!0,"copy"),g.bindAction(86,!0,"paste"),g.bindAction(71,!0,"group"),g.bindAction(77,!0,"editData"),g.bindAction(71,!0,"grid",!0),g.bindAction(73,!0,"italic"),g.bindAction(76,!0,"lockUnlock"),g.bindAction(76,!0,"layers",!0),g.bindAction(80,!0,"format",!0),g.bindAction(85,!0,"underline"),g.bindAction(85,!0,"ungroup",!0),g.bindAction(109,!0,"decreaseFontSize",!0),g.bindAction(107,!0,"increaseFontSize",!0),g.bindAction(219,!0,"decreaseFontSize",!0),g.bindAction(221,!0,"increaseFontSize",!0),g.bindAction(190,!0,"superscript"),g.bindAction(188,!0,"subscript"),g.bindAction(13,!1,"keyPressEnter"),g.bindKey(113,function(){f.isEnabled()&&f.startEditingAtCell()});return g};EditorUi.prototype.createMenuElement=function(a,b,e){var f=document.createElement("a");this.addMenuHandler(f,b,e);mxUtils.write(f,a);f.className="geItem";return f};-EditorUi.prototype.addMenuHandler=function(a,b,e,f){if(null!=b){var g=null,d=!0,h=mxUtils.bind(this,function(l){null!=e&&e(l);if(!mxEvent.isConsumed(l)&&d&&(null==a.enabled||a.enabled)){this.editor.graph.popupMenuHandler.hideMenu();var r=new mxPopupMenu(b);r.smartSeparators=!0;r.showDisabled=!0;r.autoExpand=!0;r.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(r,arguments);this.resetCurrentMenu();g=null;r.destroy()});this.menus.autoPopup||null==this.currentMenu||this.hideCurrentMenu();-var k=mxUtils.getOffset(a);r.popup(k.x,k.y+a.offsetHeight,null,l);this.setCurrentMenu(r,a);g=r}f||mxEvent.consume(l)});mxEvent.addListener(a,"mousemove",mxUtils.bind(this,function(l){if(this.menus.autoPopup&&null!=this.currentMenu&&this.currentMenuElt!=a&&null!=this.currentMenuElt){var r=this.currentMenuElt;this.hideCurrentMenu();r.parentNode==a.parentNode&&"INPUT"!=a.nodeName&&h(l)}}));mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(l){!this.menus.autoPopup&&+EditorUi.prototype.addMenuHandler=function(a,b,e,f){if(null!=b){var g=null,d=!0,h=mxUtils.bind(this,function(l){null!=e&&e(l);if(!mxEvent.isConsumed(l)&&d&&(null==a.enabled||a.enabled)){this.editor.graph.popupMenuHandler.hideMenu();var q=new mxPopupMenu(b);q.smartSeparators=!0;q.showDisabled=!0;q.autoExpand=!0;q.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(q,arguments);this.resetCurrentMenu();g=null;q.destroy()});this.menus.autoPopup||null==this.currentMenu||this.hideCurrentMenu();+var k=mxUtils.getOffset(a);q.popup(k.x,k.y+a.offsetHeight,null,l);this.setCurrentMenu(q,a);g=q}f||mxEvent.consume(l)});mxEvent.addListener(a,"mousemove",mxUtils.bind(this,function(l){if(this.menus.autoPopup&&null!=this.currentMenu&&this.currentMenuElt!=a&&null!=this.currentMenuElt){var q=this.currentMenuElt;this.hideCurrentMenu();q.parentNode==a.parentNode&&"INPUT"!=a.nodeName&&h(l)}}));mxEvent.addListener(a,mxClient.IS_POINTER?"pointerdown":"mousedown",mxUtils.bind(this,function(l){!this.menus.autoPopup&&null!=this.currentMenu&&this.currentMenuElt!=a&&mxEvent.isMouseEvent(l)&&this.hideCurrentMenu();d=null==this.currentMenu;"INPUT"!=mxEvent.getSource(l).nodeName?l.preventDefault():l.stopPropagation()}));mxEvent.addListener(a,"click",mxUtils.bind(this,function(l){h(l);d=!0}));f&&(mxEvent.addListener(a,"focus",mxUtils.bind(this,function(l){h(l);d=!0})),mxEvent.addListener(a,"blur",mxUtils.bind(this,function(l){this.currentMenu==g&&this.hideCurrentMenu()})),mxEvent.addListener(a,"keyup",mxUtils.bind(this,function(l){this.hideCurrentMenu();13!=l.keyCode&&27!=l.keyCode&&(h(l),d=!0)})))}};EditorUi.prototype.addShapePicker=function(a,b){var e=this.editor.graph;mxEvent.addListener(a,"click",mxUtils.bind(this,function(f){if(this.isShapePickerVisible())this.hideShapePicker();else{var g=mxUtils.getOffset(a);Editor.inlineFullscreen||null==this.embedViewport?b?(g.x-=this.diagramContainer.offsetLeft+30,g.y=a.offsetHeight-2):(g.x+=16+a.offsetHeight+this.sketchPickerMenuElt.offsetWidth/2,g.y+=20):(g.x=0,g.y=a.offsetTop);this.showShapePicker(Math.max(this.diagramContainer.scrollLeft+Math.max(24,g.x)),this.diagramContainer.scrollTop+g.y,null,null,null,null,mxUtils.bind(this,function(d){return e.getCenterInsertPoint(e.getBoundingBoxFromGeometry(d,!0))}),b,!1)}mxEvent.consume(f)}))};EditorUi.prototype.createZoomInput=function(a){var b=document.createElement("input");b.className="geButton geZoomInput";b.style.backgroundImage="url("+Editor.thinExpandImage+")";b.setAttribute("type","text");b.setAttribute("value","100%");var e=this.menus.get("viewZoom");this.dependsOnLanguage(mxUtils.bind(this,function(){b.setAttribute("title",mxResources.get("zoom")+" (Alt+Mousewheel)")}));(a||mxClient.IS_TOUCH)&&b.setAttribute("readonly","true");var f=!1;mxEvent.addGestureListeners(b,mxUtils.bind(this,function(g){f=!1;mxClient.IS_TOUCH||mxEvent.getSource(g)!=b||document.activeElement==b||(b.focus(),mxClient.IS_GC||mxClient.IS_FF?b.select():document.execCommand("selectAll",!1,null),f=!0)}),mxUtils.bind(this,function(g){mxEvent.getSource(g)==b&&f&&mxEvent.consume(g)}),mxUtils.bind(this,function(g){f&&(mxEvent.consume(g),f=!1)}));this.addMenuHandler(b,e.funct);mxUtils.bind(this,function(g){mxEvent.addListener(g,"click",mxUtils.bind(this,function(h){mxEvent.isAltDown(h)?(this.hideCurrentMenu(),this.actions.get("customZoom").funct(),-mxEvent.consume(h)):mxEvent.isShiftDown(h)&&(this.hideCurrentMenu(),this.actions.get("smartFit").funct(),mxEvent.consume(h))}));var d=mxUtils.bind(this,function(h,l,r){b.value=Math.round(100*this.editor.graph.view.scale*(null!=r?r:1))+"%";document.activeElement==b&&this.editor.graph.container.focus()});mxEvent.addListener(b,"keydown",mxUtils.bind(this,function(h){if(27==h.keyCode||13==h.keyCode||9==h.keyCode)27==h.keyCode||isNaN(parseInt(b.value))?d():this.editor.graph.zoomTo(parseInt(b.value)/100),+mxEvent.consume(h)):mxEvent.isShiftDown(h)&&(this.hideCurrentMenu(),this.actions.get("smartFit").funct(),mxEvent.consume(h))}));var d=mxUtils.bind(this,function(h,l,q){b.value=Math.round(100*this.editor.graph.view.scale*(null!=q?q:1))+"%";document.activeElement==b&&this.editor.graph.container.focus()});mxEvent.addListener(b,"keydown",mxUtils.bind(this,function(h){if(27==h.keyCode||13==h.keyCode||9==h.keyCode)27==h.keyCode||isNaN(parseInt(b.value))?d():this.editor.graph.zoomTo(parseInt(b.value)/100),this.hideCurrentMenu(),mxEvent.consume(h)}));this.editor.graph.view.addListener(mxEvent.EVENT_SCALE,d);this.editor.addListener("resetGraphView",d);this.editor.addListener("pageSelected",d);mxEvent.addListener(b,"blur",d);this.editor.graph.addListener("zoomPreview",mxUtils.bind(this,function(h,l){d(h,l,l.getProperty("factor"))}))})(b);return b};EditorUi.prototype.createHelpIcon=function(a,b){b=document.createElement("img");b.setAttribute("src",Editor.helpImage);b.setAttribute("title",mxResources.get("help")+" ("+a+")");b.className="geHelpIcon";mxEvent.addGestureListeners(b,mxUtils.bind(this,function(e){this.hideCurrentMenu();this.openLink(a);mxEvent.consume(e)}));return b};EditorUi.prototype.destroy=function(){var a=this.editor.graph;null!=a&&null!=this.selectionStateListener&&(a.getSelectionModel().removeListener(this.selectionStateListener),a.getModel().removeListener(this.selectionStateListener),a.getView().removeListener(this.selectionStateListener),a.removeListener(this.selectionStateListener),this.selectionStateListener=null);null!=this.editor&&(this.editor.destroy(),this.editor=null);null!=this.menubar&&(this.menubar.destroy(),this.menubar=null);null!=this.toolbar&&@@ -2344,11 +2344,11 @@ Sidebar.prototype.getTooltipOffset=function(a,b){if(mxUtils.isAncestorNode(this.2-b.height/2-6)};Sidebar.prototype.createMoreShapes=function(){var a=this.editorUi.createDiv("geSidebarFooter"),b=document.createElement("button");b.className="geBtn gePrimaryBtn";this.editorUi.dependsOnLanguage(mxUtils.bind(this,function(){b.innerHTML="<span>+</span>";mxUtils.write(b,mxResources.get("moreShapes"));b.setAttribute("title",mxResources.get("moreShapes"))}));mxEvent.addListener(b,"click",mxUtils.bind(this,function(e){this.editorUi.actions.get("shapes").funct();mxEvent.consume(e)}));mxEvent.preventDefault(b);a.appendChild(b);return a};-Sidebar.prototype.createTooltip=function(a,b,e,f,g,d,h,l,r,k,u){u=null!=u?u:!0;this.tooltipMouseDown=r;r=this.editorUi.editor.graph;if(null==this.tooltip){this.tooltip=document.createElement("div");this.tooltip.className="geSidebarTooltip";this.tooltip.style.userSelect="none";this.tooltip.style.zIndex=mxPopupMenu.prototype.zIndex-1;document.body.appendChild(this.tooltip);mxEvent.addMouseWheelListener(mxUtils.bind(this,function(y){this.hideTooltip()}),this.tooltip);this.graph2=new Graph(this.tooltip,null,+Sidebar.prototype.createTooltip=function(a,b,e,f,g,d,h,l,q,k,u){u=null!=u?u:!0;this.tooltipMouseDown=q;q=this.editorUi.editor.graph;if(null==this.tooltip){this.tooltip=document.createElement("div");this.tooltip.className="geSidebarTooltip";this.tooltip.style.userSelect="none";this.tooltip.style.zIndex=mxPopupMenu.prototype.zIndex-1;document.body.appendChild(this.tooltip);mxEvent.addMouseWheelListener(mxUtils.bind(this,function(y){this.hideTooltip()}),this.tooltip);this.graph2=new Graph(this.tooltip,null,null,this.editorUi.editor.graph.getStylesheet());this.graph2.shapeBackgroundColor=this.graph.shapeBackgroundColor;this.graph2.resetViewOnRootChange=!1;this.graph2.foldingEnabled=!1;this.graph2.gridEnabled=!1;this.graph2.autoScroll=!1;this.graph2.setTooltips(!1);this.graph2.setConnectable(!1);this.graph2.setPanning(!1);this.graph2.setEnabled(!1);if(this.graph2.dialect==mxConstants.DIALECT_SVG){var w=this.graph2.view.getDrawPane().ownerSVGElement;null!=w&&(w.style.overflow="visible")}else this.graph2.view.canvas.style.overflow="visible";this.graph2.openLink=mxUtils.bind(this,function(){this.hideTooltip()});mxEvent.addGestureListeners(this.tooltip,mxUtils.bind(this,function(y){null!=this.tooltipMouseDown&&this.tooltipMouseDown(y);window.setTimeout(mxUtils.bind(this,function(){null!=this.tooltipCloseImage&&"none"!=this.tooltipCloseImage.style.display||this.hideTooltip()}),0)}),null,mxUtils.bind(this,function(y){this.hideTooltip()}));w=document.createElement("img");w.setAttribute("src",Editor.crossImage);w.setAttribute("title",mxResources.get("close"));w.className="geButton";this.tooltip.appendChild(w);this.tooltipCloseImage=w;mxEvent.addListener(w,"click",mxUtils.bind(this,function(y){this.hideTooltip();mxEvent.consume(y)}))}this.tooltipCloseImage.style.display=k?"":"none";this.graph2.model.clear();this.graph2.view.setTranslate(this.tooltipBorder,this.tooltipBorder);this.graph2.view.scale=!l&&(e>this.maxTooltipWidth||f>this.maxTooltipHeight)?Math.round(100*Math.min(this.maxTooltipWidth/e,this.maxTooltipHeight/f))/100:-1;this.tooltip.style.display="block";this.graph2.labelsVisible=null==d||d;d=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;null!=b&&(b=this.graph2.cloneCells(b),this.graph2.pasteCellStyles(r.includeDescendants(b),u?r.currentVertexStyle:r.defaultVertexStyle,u?r.currentEdgeStyle:r.defaultEdgeStyle,null,r.pasteEdgeStyle),this.graph2.addCells(b));mxClient.NO_FO=d;u=this.graph2.getGraphBounds();l&&0<e&&0<f&&(u.width>e||u.height>f)?(e=Math.round(100*Math.min(e/u.width,f/u.height))/+1;this.tooltip.style.display="block";this.graph2.labelsVisible=null==d||d;d=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;null!=b&&(b=this.graph2.cloneCells(b),this.graph2.pasteCellStyles(q.includeDescendants(b),u?q.currentVertexStyle:q.defaultVertexStyle,u?q.currentEdgeStyle:q.defaultEdgeStyle,null,q.pasteEdgeStyle),this.graph2.addCells(b));mxClient.NO_FO=d;u=this.graph2.getGraphBounds();l&&0<e&&0<f&&(u.width>e||u.height>f)?(e=Math.round(100*Math.min(e/u.width,f/u.height))/100,mxClient.NO_FO?(this.graph2.view.setScale(Math.round(100*Math.min(this.maxTooltipWidth/u.width,this.maxTooltipHeight/u.height))/100),u=this.graph2.getGraphBounds()):(this.graph2.view.getDrawPane().ownerSVGElement.style.transform="scale("+e+")",this.graph2.view.getDrawPane().ownerSVGElement.style.transformOrigin="0 0",u.width*=e,u.height*=e)):mxClient.NO_FO||(this.graph2.view.getDrawPane().ownerSVGElement.style.transform="");e=u.width+2*this.tooltipBorder+4;f=u.height+2*this.tooltipBorder;this.tooltip.style.overflow="visible";this.tooltip.style.width=e+"px";l=e;this.tooltipTitles&&null!=g&&0<g.length?(null==this.tooltipTitle?(this.tooltipTitle=document.createElement("div"),this.tooltipTitle.style.borderTopStyle="solid",this.tooltipTitle.style.borderTopWidth="1px",this.tooltipTitle.style.textAlign="center",this.tooltipTitle.style.width="100%",this.tooltipTitle.style.overflow="hidden",this.tooltipTitle.style.position="absolute",this.tooltipTitle.style.paddingTop="6px",this.tooltipTitle.style.bottom="6px",this.tooltip.appendChild(this.tooltipTitle)):this.tooltipTitle.innerText="",this.tooltipTitle.style.display="",mxUtils.write(this.tooltipTitle,g),this.tooltipTitle.setAttribute("title",g),l=Math.min(this.maxTooltipWidth,Math.max(e,this.tooltipTitle.scrollWidth+4)),g=this.tooltipTitle.offsetHeight+10,f+=g,this.tooltipTitle.style.marginTop=2-g+"px"):null!=this.tooltipTitle&&null!=this.tooltipTitle.parentNode&&(this.tooltipTitle.style.display="none");l>e&&(this.tooltip.style.width=l+"px");this.tooltip.style.height=f+"px";g=-Math.round(u.x-this.tooltipBorder)+@@ -2359,28 +2359,28 @@ Sidebar.prototype.addEntries=function(a,b){for(var e=0;e<a.length;e++)mxUtils.bi0<d.length&&this.addEntry(d,mxUtils.bind(this,function(){var h=this.editorUi.stringToCells("<"==f.xml.charAt(0)?f.xml:Graph.decompress(f.xml));return this.createVertexTemplateFromCells(h,f.w,f.h,f.title||"",!0,!1,!0)}))})(a[e])};Sidebar.prototype.setCurrentSearchEntryLibrary=function(a,b){this.currentSearchEntryLibrary=null!=a?{id:a,lib:b}:null};Sidebar.prototype.getKeyStyle=function(a){var b=[];if("string"===typeof a){a=a.split(";");for(var e=0;e<a.length;e++){var f=a[e].split("=");1<f.length&&0>mxUtils.indexOf(this.ignoredStyles,f[0])&&b.push(f[0]+"="+f[1])}}return b.join(";")};Sidebar.prototype.addLibForStyle=function(a,b){""!=a&&(null==this.styleToLibs&&(this.styleToLibs={}),null==this.styleToLibs[a]&&(this.styleToLibs[a]=[]),this.styleToLibs[a].push(b))};Sidebar.prototype.getLibsForStyle=function(a){return null!=this.styleToLibs?this.styleToLibs[a]:null};-Sidebar.prototype.addEntry=function(a,b){if(null!=this.currentSearchEntryLibrary){var e=this,f=this.createVertexTemplateFromCells;this.createVertexTemplateFromCells=function(l,r,k,u,w){if(null!=l)for(r=0;r<l.length;r++)e.addLibForStyle(e.getKeyStyle(l[r].style),this.currentSearchEntryLibrary)};b();this.createVertexTemplateFromCells=f}if(null!=this.taglist&&null!=a&&0<a.length){null!=this.currentSearchEntryLibrary&&(b.parentLibraries=[this.currentSearchEntryLibrary]);a=a.toLowerCase().replace(/[\/,\(\)]/g,+Sidebar.prototype.addEntry=function(a,b){if(null!=this.currentSearchEntryLibrary){var e=this,f=this.createVertexTemplateFromCells;this.createVertexTemplateFromCells=function(l,q,k,u,w){if(null!=l)for(q=0;q<l.length;q++)e.addLibForStyle(e.getKeyStyle(l[q].style),this.currentSearchEntryLibrary)};b();this.createVertexTemplateFromCells=f}if(null!=this.taglist&&null!=a&&0<a.length){null!=this.currentSearchEntryLibrary&&(b.parentLibraries=[this.currentSearchEntryLibrary]);a=a.toLowerCase().replace(/[\/,\(\)]/g," ").split(" ");f=[];for(var g={},d=0;d<a.length;d++){null==g[a[d]]&&(g[a[d]]=!0,f.push(a[d]));var h=Editor.soundex(a[d].replace(/\.*\d*$/,""));h!=a[d]&&null==g[h]&&(g[h]=!0,f.push(h))}for(d=0;d<f.length;d++)this.addEntryForTag(f[d],b)}return b};Sidebar.prototype.addEntryForTag=function(a,b){if(null!=a&&1<a.length){var e=this.taglist[a];"object"!==typeof e&&(e={entries:[]},this.taglist[a]=e);e.entries.push(b)}};Sidebar.prototype.isEntryIgnored=function(a,b){b=!b;if(null!=a.parentLibraries&&b)for(var e=0;e<a.parentLibraries.length;e++)if(this.isEntryVisible(a.parentLibraries[e].id)){b=!1;break}return b};-Sidebar.prototype.searchEntries=function(a,b,e,f,g,d){if(null!=this.taglist&&null!=a){"mxgraph."==a.substring(0,8)&&0>a.indexOf(" ")&&8<a.lastIndexOf(".")&&(a=a.substring(8).replace(/\./g," "));var h=a.toLowerCase().split(" ");a=new mxDictionary;g=(e+1)*b;for(var l=[],r=0,k=0;k<h.length;k++){var u=Editor.soundex(h[k].replace(/\.*\d*$/,""));if(0<u.length){l=this.taglist[h[k]];var w=null!=l?l.entries.slice():[];l=this.taglist[u];w=null!=l?w.concat(l.entries):w;u=new mxDictionary;if(0<w.length){l=[];-for(var y=0;y<w.length;y++){var A=w[y];if(0==r==(null==a.get(A))&&null==u.get(A)&&(u.put(A,A),!this.isEntryIgnored(A,d)&&(l.push(A),k==h.length-1&&l.length==g))){f(l.slice(e*b,g),g,!0,h);return}}}else l=[];a=u;r++}}d=l.length;f(l.slice(e*b,(e+1)*b),d,!1,h)}else f([],null,null,h)};Sidebar.prototype.filterTags=function(a){if(null!=a){a=a.split(" ");for(var b=[],e={},f=0;f<a.length;f++)null==e[a[f]]&&(e[a[f]]="1",b.push(a[f]));return b.join(" ")}return null};+Sidebar.prototype.searchEntries=function(a,b,e,f,g,d){if(null!=this.taglist&&null!=a){"mxgraph."==a.substring(0,8)&&0>a.indexOf(" ")&&8<a.lastIndexOf(".")&&(a=a.substring(8).replace(/\./g," "));var h=a.toLowerCase().split(" ");a=new mxDictionary;g=(e+1)*b;for(var l=[],q=0,k=0;k<h.length;k++){var u=Editor.soundex(h[k].replace(/\.*\d*$/,""));if(0<u.length){l=this.taglist[h[k]];var w=null!=l?l.entries.slice():[];l=this.taglist[u];w=null!=l?w.concat(l.entries):w;u=new mxDictionary;if(0<w.length){l=[];+for(var y=0;y<w.length;y++){var A=w[y];if(0==q==(null==a.get(A))&&null==u.get(A)&&(u.put(A,A),!this.isEntryIgnored(A,d)&&(l.push(A),k==h.length-1&&l.length==g))){f(l.slice(e*b,g),g,!0,h);return}}}else l=[];a=u;q++}}d=l.length;f(l.slice(e*b,(e+1)*b),d,!1,h)}else f([],null,null,h)};Sidebar.prototype.filterTags=function(a){if(null!=a){a=a.split(" ");for(var b=[],e={},f=0;f<a.length;f++)null==e[a[f]]&&(e[a[f]]="1",b.push(a[f]));return b.join(" ")}return null};Sidebar.prototype.cloneCell=function(a,b){a=a.clone();null!=b&&(a.value=b);return a};Sidebar.prototype.showPopupMenuForEntry=function(a,b,e){};-Sidebar.prototype.addSearchPalette=function(a){function b(P,Z){D=Z;P=P.firstChild.nextSibling.nextSibling;Z=document.createElement("span");Z.style.color="gray";Z.innerHTML="Enter";P.appendChild(Z)}function e(){k.setAttribute("src",Editor.magnifyImage);k.setAttribute("title",mxResources.get("search"));F.style.display="none";M=r.value="";V()}var f=this.editorUi,g=f.editor.graph,d=document.createElement("div");d.style.visibility="hidden";this.appendChild(d);var h=document.createElement("div");h.className=-"geSidebar geSearchSidebar";a||(h.style.display="none");var l=document.createElement("div");l.style.whiteSpace="nowrap";l.style.textOverflow="clip";l.style.cursor="default";var r=document.createElement("input");r.setAttribute("id","geOmniSearch");r.setAttribute("placeholder",mxResources.get("typeSlashToSearch"));r.setAttribute("type","text");l.appendChild(r);var k=document.createElement("img");k.setAttribute("src",Editor.magnifyImage);k.setAttribute("title",mxResources.get("search"));k.className=-"geAdaptiveAsset";l.appendChild(k);h.appendChild(l);var u=!1;mxEvent.addGestureListeners(r,mxUtils.bind(this,function(P){u=!1;mxClient.IS_TOUCH||mxEvent.getSource(P)!=r||document.activeElement==r||(r.focus(),mxClient.IS_GC||mxClient.IS_FF?r.select():document.execCommand("selectAll",!1,null),u=!0)}),mxUtils.bind(this,function(P){mxEvent.getSource(P)==r&&u&&mxEvent.consume(P)}),mxUtils.bind(this,function(P){u&&(mxEvent.consume(P),u=!1)}));var w=[],y=mxUtils.bind(this,function(P,Z){f.hideCurrentMenu();-mxUtils.remove(P,w);w.unshift(P);5<w.length&&w.pop();P.funct.apply(this,Z);r.value=null}),A="about deleteAll showBoundingBox createSidebarEntry downloadDesktop toggleGoogleFonts".split(" "),G=mxUtils.bind(this,function(P){var Z=null,X;for(X in f.actions.actions){var ba=0>A.indexOf(X)&&"test"!=X.substring(0,4)?f.actions.get(X):null;if(null!=ba&&ba.isEnabled()&&ba.visible){if(X.toLowerCase()==P)return ba;for(var L=P.toLowerCase().split(" "),U=0,aa=0;aa<L.length;aa++)0==L[aa].length?U++:(0<=X.toLowerCase().indexOf(L[aa])||-0<=ba.getTitle().toLowerCase().indexOf(L[aa]))&&U++;U==L.length&&(0>w.indexOf(Z)||null!=Z&&!Z.isEnabled())&&(Z=ba)}}return Z}),D=null;f.addMenuHandler(r,mxUtils.bind(this,function(P,Z){function X(ma){if(null!=ma&&ma.visible){var oa=P.addItem(ma.getTitle(),null,function(){y(ma,arguments)},Z,null,ma.isEnabled());ma.toggleAction&&ma.isSelected()&&P.addCheckmark(oa,Editor.checkmarkImage);null!=D||!ma.isEnabled()||0!=r.value.length&&U!=ma||b(oa,function(){y(ma,arguments);g.container.focus()})}}var ba=-r.value.toLowerCase();D=null;var L=P.addItem(mxResources.get("searchShapes"),null,mxUtils.bind(this,function(){fa()}),Z);b(L,function(){fa()});P.addItem(mxResources.get("findInDiagram"),null,mxUtils.bind(this,function(){f.hideCurrentMenu();f.showSearchWindow(!0,r.value);r.value=""}),Z);Editor.enableAi&&!f.isOffline()&&f.isOwnGDriveDomain()&&f.isExternalDataComms()&&"draw.io"==f.getServiceName()&&"undefined"!==typeof mxMermaidToDrawio&&window.isMermaidEnabled&&P.addItem(mxResources.get("generate"),-null,mxUtils.bind(this,function(){f.openGenerateDialog(r.value);r.value=""}),Z);!f.isOffline()&&f.isOwnGDriveDomain()&&f.isExternalDataComms()&&P.addItem(mxResources.get("help"),null,mxUtils.bind(this,function(){f.searchHelp(r.value);r.value=""}),Z);P.addSeparator();var U=0<r.value.length?G(ba):null;X(U);for(L=0;L<w.length;L++)w[L]!=U&&X(w[L]);if(0<ba.length&&null!=f.pages)for(P.addSeparator(),L=0;L<f.pages.length&&!function(ma){if(null!=ma.getName()&&0<=ma.getName().toLowerCase().indexOf(ba)){var oa=-function(){f.selectPage(ma);g.container.focus();r.value=""},ca=P.addItem(ma.getName()+" ("+mxResources.get("page")+")",null,oa,Z);null==D&&b(ca,oa);return!0}return!1}(f.pages[L]);L++);if(0<ba.length&&null!=f.sidebar&&null!=f.sidebar.entries)for(P.addSeparator(),L=0;L<f.sidebar.entries.length;L++)for(var aa=f.sidebar.entries[L].entries,ha=0;ha<aa.length;ha++)(function(ma){var oa=f.sidebar.getConfigurationById(ma.id),ca=ma.title.toLowerCase().split(" ");null!=oa&&0<=mxUtils.indexOf(ca,ba)&&(ca=function(){var la=-f.sidebar.showPalettes(oa.prefix||"",oa.libs||[oa.id],!0);r.value="";null!=la&&1<la.length&&(null==la[1].firstChild||null!=la[1].firstChild.firstChild&&"none"!=la[1].firstChild.style.display||la[0].click(),la[0].scrollIntoView({behavior:"smooth"}))},ma=P.addItem(ma.title+" ("+mxResources.get("openLibrary")+")",null,ca,Z),null==D&&b(ma,ca));return!0})(aa[ha])}),null,!0);var F=document.createElement("div");F.style.display="none";F.style.paddingTop="8px";F.style.alignItems="center";F.style.justifyContent=-"center";var H=mxUtils.button(mxResources.get("moreResults"),function(){fa()});H.setAttribute("title",mxResources.get("moreResults"));H.className="geBtn gePrimaryBtn";H.style.borderRadius="16px";H.style.padding="8px 12px";F.appendChild(H);h.appendChild(F);var M="",N=!1,K=!1,T=0,W={},S=12,V=mxUtils.bind(this,function(){N=!1;this.currentSearch=null;for(var P=h.firstChild;null!=P;){var Z=P.nextSibling;P!=l&&P!=F&&P.parentNode.removeChild(P);P=Z}});mxEvent.addListener(k,"click",function(){k.getAttribute("src")!=-Editor.magnifyImage&&e();r.focus()});var fa=mxUtils.bind(this,function(){f.hideCurrentMenu();S=4*Math.max(1,Math.floor(this.container.clientWidth/(this.thumbWidth+10)));this.hideTooltip();if(""!=r.value){if(null!=F.parentNode&&(M!=r.value&&(V(),M=r.value,W={},K=!1,T=0),!N&&!K)){H.setAttribute("disabled","true");F.style.display="flex";H.style.cursor="wait";H.innerHTML="";mxUtils.write(H,mxResources.get("loading")+"...");N=!0;var P={};this.currentSearch=P;try{this.searchEntries(M,S,T,mxUtils.bind(this,-function(Z,X,ba,L){if(this.currentSearch==P){Z=null!=Z?Z:[];N=!1;T++;this.insertSearchHint(h,M,S,T,Z,X,ba,L);0==Z.length&&1==T&&(M="");null!=F.parentNode&&F.parentNode.removeChild(F);for(X=0;X<Z.length;X++)mxUtils.bind(this,function(U){try{var aa=U();null!=this.closedLibraryOpacity&&this.searchClosedLibraries&&this.isEntryIgnored(U,!1)&&(aa.style.opacity=this.closedLibraryOpacity);null==W[aa.innerHTML]?(W[aa.innerHTML]=null!=U.parentLibraries?U.parentLibraries.slice():[],h.appendChild(aa)):null!=+Sidebar.prototype.addSearchPalette=function(a){function b(P,Z){D=Z;P=P.firstChild.nextSibling.nextSibling;Z=document.createElement("span");Z.style.color="gray";Z.innerHTML="Enter";P.appendChild(Z)}function e(){k.setAttribute("src",Editor.magnifyImage);k.setAttribute("title",mxResources.get("search"));G.style.display="none";M=q.value="";V()}var f=this.editorUi,g=f.editor.graph,d=document.createElement("div");d.style.visibility="hidden";this.appendChild(d);var h=document.createElement("div");h.className=+"geSidebar geSearchSidebar";a||(h.style.display="none");var l=document.createElement("div");l.style.whiteSpace="nowrap";l.style.textOverflow="clip";l.style.cursor="default";var q=document.createElement("input");q.setAttribute("id","geOmniSearch");q.setAttribute("placeholder",mxResources.get("typeSlashToSearch"));q.setAttribute("type","text");l.appendChild(q);var k=document.createElement("img");k.setAttribute("src",Editor.magnifyImage);k.setAttribute("title",mxResources.get("search"));k.className=+"geAdaptiveAsset";l.appendChild(k);h.appendChild(l);var u=!1;mxEvent.addGestureListeners(q,mxUtils.bind(this,function(P){u=!1;mxClient.IS_TOUCH||mxEvent.getSource(P)!=q||document.activeElement==q||(q.focus(),mxClient.IS_GC||mxClient.IS_FF?q.select():document.execCommand("selectAll",!1,null),u=!0)}),mxUtils.bind(this,function(P){mxEvent.getSource(P)==q&&u&&mxEvent.consume(P)}),mxUtils.bind(this,function(P){u&&(mxEvent.consume(P),u=!1)}));var w=[],y=mxUtils.bind(this,function(P,Z){f.hideCurrentMenu();+mxUtils.remove(P,w);w.unshift(P);5<w.length&&w.pop();P.funct.apply(this,Z);q.value=null}),A="about deleteAll showBoundingBox createSidebarEntry downloadDesktop toggleGoogleFonts".split(" "),F=mxUtils.bind(this,function(P){var Z=null,X;for(X in f.actions.actions){var ba=0>A.indexOf(X)&&"test"!=X.substring(0,4)?f.actions.get(X):null;if(null!=ba&&ba.isEnabled()&&ba.visible){if(X.toLowerCase()==P)return ba;for(var L=P.toLowerCase().split(" "),U=0,aa=0;aa<L.length;aa++)0==L[aa].length?U++:(0<=X.toLowerCase().indexOf(L[aa])||+0<=ba.getTitle().toLowerCase().indexOf(L[aa]))&&U++;U==L.length&&(0>w.indexOf(Z)||null!=Z&&!Z.isEnabled())&&(Z=ba)}}return Z}),D=null;f.addMenuHandler(q,mxUtils.bind(this,function(P,Z){function X(ma){if(null!=ma&&ma.visible){var oa=P.addItem(ma.getTitle(),null,function(){y(ma,arguments)},Z,null,ma.isEnabled());ma.toggleAction&&ma.isSelected()&&P.addCheckmark(oa,Editor.checkmarkImage);null!=D||!ma.isEnabled()||0!=q.value.length&&U!=ma||b(oa,function(){y(ma,arguments);g.container.focus()})}}var ba=+q.value.toLowerCase();D=null;var L=P.addItem(mxResources.get("searchShapes"),null,mxUtils.bind(this,function(){fa()}),Z);b(L,function(){fa()});P.addItem(mxResources.get("findInDiagram"),null,mxUtils.bind(this,function(){f.hideCurrentMenu();f.showSearchWindow(!0,q.value);q.value=""}),Z);Editor.enableAi&&!f.isOffline()&&f.isOwnGDriveDomain()&&f.isExternalDataComms()&&"draw.io"==f.getServiceName()&&"undefined"!==typeof mxMermaidToDrawio&&window.isMermaidEnabled&&P.addItem(mxResources.get("generate"),+null,mxUtils.bind(this,function(){f.openGenerateDialog(q.value);q.value=""}),Z);!f.isOffline()&&f.isOwnGDriveDomain()&&f.isExternalDataComms()&&P.addItem(mxResources.get("help"),null,mxUtils.bind(this,function(){f.searchHelp(q.value);q.value=""}),Z);P.addSeparator();var U=0<q.value.length?F(ba):null;X(U);for(L=0;L<w.length;L++)w[L]!=U&&X(w[L]);if(0<ba.length&&null!=f.pages)for(P.addSeparator(),L=0;L<f.pages.length&&!function(ma){if(null!=ma.getName()&&0<=ma.getName().toLowerCase().indexOf(ba)){var oa=+function(){f.selectPage(ma);g.container.focus();q.value=""},ca=P.addItem(ma.getName()+" ("+mxResources.get("page")+")",null,oa,Z);null==D&&b(ca,oa);return!0}return!1}(f.pages[L]);L++);if(0<ba.length&&null!=f.sidebar&&null!=f.sidebar.entries)for(P.addSeparator(),L=0;L<f.sidebar.entries.length;L++)for(var aa=f.sidebar.entries[L].entries,ha=0;ha<aa.length;ha++)(function(ma){var oa=f.sidebar.getConfigurationById(ma.id),ca=ma.title.toLowerCase().split(" ");null!=oa&&0<=mxUtils.indexOf(ca,ba)&&(ca=function(){var la=+f.sidebar.showPalettes(oa.prefix||"",oa.libs||[oa.id],!0);q.value="";null!=la&&1<la.length&&(null==la[1].firstChild||null!=la[1].firstChild.firstChild&&"none"!=la[1].firstChild.style.display||la[0].click(),la[0].scrollIntoView({behavior:"smooth"}))},ma=P.addItem(ma.title+" ("+mxResources.get("openLibrary")+")",null,ca,Z),null==D&&b(ma,ca));return!0})(aa[ha])}),null,!0);var G=document.createElement("div");G.style.display="none";G.style.paddingTop="8px";G.style.alignItems="center";G.style.justifyContent=+"center";var H=mxUtils.button(mxResources.get("moreResults"),function(){fa()});H.setAttribute("title",mxResources.get("moreResults"));H.className="geBtn gePrimaryBtn";H.style.borderRadius="16px";H.style.padding="8px 12px";G.appendChild(H);h.appendChild(G);var M="",N=!1,K=!1,T=0,W={},S=12,V=mxUtils.bind(this,function(){N=!1;this.currentSearch=null;for(var P=h.firstChild;null!=P;){var Z=P.nextSibling;P!=l&&P!=G&&P.parentNode.removeChild(P);P=Z}});mxEvent.addListener(k,"click",function(){k.getAttribute("src")!=+Editor.magnifyImage&&e();q.focus()});var fa=mxUtils.bind(this,function(){f.hideCurrentMenu();S=4*Math.max(1,Math.floor(this.container.clientWidth/(this.thumbWidth+10)));this.hideTooltip();if(""!=q.value){if(null!=G.parentNode&&(M!=q.value&&(V(),M=q.value,W={},K=!1,T=0),!N&&!K)){H.setAttribute("disabled","true");G.style.display="flex";H.style.cursor="wait";H.innerHTML="";mxUtils.write(H,mxResources.get("loading")+"...");N=!0;var P={};this.currentSearch=P;try{this.searchEntries(M,S,T,mxUtils.bind(this,+function(Z,X,ba,L){if(this.currentSearch==P){Z=null!=Z?Z:[];N=!1;T++;this.insertSearchHint(h,M,S,T,Z,X,ba,L);0==Z.length&&1==T&&(M="");null!=G.parentNode&&G.parentNode.removeChild(G);for(X=0;X<Z.length;X++)mxUtils.bind(this,function(U){try{var aa=U();null!=this.closedLibraryOpacity&&this.searchClosedLibraries&&this.isEntryIgnored(U,!1)&&(aa.style.opacity=this.closedLibraryOpacity);null==W[aa.innerHTML]?(W[aa.innerHTML]=null!=U.parentLibraries?U.parentLibraries.slice():[],h.appendChild(aa)):null!=U.parentLibraries&&(W[aa.innerHTML]=W[aa.innerHTML].concat(U.parentLibraries));mxEvent.addGestureListeners(aa,null,null,mxUtils.bind(this,function(ha){var ma=W[aa.innerHTML];mxEvent.isPopupTrigger(ha)&&this.showPopupMenuForEntry(aa,ma,ha)}));mxEvent.disableContextMenu(aa)}catch(ha){"1"==urlParams.test&&(null==window.console||EditorUi.isElectronApp?(mxLog.show(),mxLog.debug(ha.stack)):console.error(ha))}})(Z[X]);ba?(H.removeAttribute("disabled"),H.innerHTML="",mxUtils.write(H,mxResources.get("moreResults"))):-(H.innerHTML=mxResources.get("reset"),F.style.display="none",K=!0);H.style.cursor="";h.appendChild(F)}}),mxUtils.bind(this,function(){H.style.cursor=""}),this.searchClosedLibraries)}catch(Z){f.handleError(Z)}}}else V(),M=r.value="",W={},F.style.display="none",K=!1,r.focus()});this.searchShapes=function(P){r.value=P;fa()};mxEvent.addListener(r,"keydown",mxUtils.bind(this,function(P){13==P.keyCode&&null!=D?(D(P,P),mxEvent.consume(P)):9==P.keyCode?(g.container.focus(),mxEvent.consume(P)):27==P.keyCode&&-(e(),mxEvent.consume(P))}));a=mxUtils.bind(this,function(){window.setTimeout(mxUtils.bind(this,function(){""==r.value?(k.setAttribute("src",Editor.magnifyImage),k.setAttribute("title",mxResources.get("search"))):(k.setAttribute("src",Editor.crossImage),k.setAttribute("title",mxResources.get("reset")));""==r.value?(K=!0,F.style.display="none"):r.value!=M?(F.style.display="none",K=!1):N||(F.style.display=K?"none":"flex")}),0)});mxEvent.addListener(r,"keyup",a);mxEvent.addListener(r,"paste",a);mxEvent.addListener(r,-"cut",a);mxEvent.addListener(r,"mousedown",function(P){P.stopPropagation&&P.stopPropagation();P.cancelBubble=!0});mxEvent.addListener(r,"selectstart",function(P){P.stopPropagation&&P.stopPropagation();P.cancelBubble=!0});a=document.createElement("div");a.appendChild(h);this.appendChild(a);this.palettes.search=[d,a]};+(H.innerHTML=mxResources.get("reset"),G.style.display="none",K=!0);H.style.cursor="";h.appendChild(G)}}),mxUtils.bind(this,function(){H.style.cursor=""}),this.searchClosedLibraries)}catch(Z){f.handleError(Z)}}}else V(),M=q.value="",W={},G.style.display="none",K=!1,q.focus()});this.searchShapes=function(P){q.value=P;fa()};mxEvent.addListener(q,"keydown",mxUtils.bind(this,function(P){13==P.keyCode&&null!=D?(D(P,P),mxEvent.consume(P)):9==P.keyCode?(g.container.focus(),mxEvent.consume(P)):27==P.keyCode&&+(e(),mxEvent.consume(P))}));a=mxUtils.bind(this,function(){window.setTimeout(mxUtils.bind(this,function(){""==q.value?(k.setAttribute("src",Editor.magnifyImage),k.setAttribute("title",mxResources.get("search"))):(k.setAttribute("src",Editor.crossImage),k.setAttribute("title",mxResources.get("reset")));""==q.value?(K=!0,G.style.display="none"):q.value!=M?(G.style.display="none",K=!1):N||(G.style.display=K?"none":"flex")}),0)});mxEvent.addListener(q,"keyup",a);mxEvent.addListener(q,"paste",a);mxEvent.addListener(q,+"cut",a);mxEvent.addListener(q,"mousedown",function(P){P.stopPropagation&&P.stopPropagation();P.cancelBubble=!0});mxEvent.addListener(q,"selectstart",function(P){P.stopPropagation&&P.stopPropagation();P.cancelBubble=!0});a=document.createElement("div");a.appendChild(h);this.appendChild(a);this.palettes.search=[d,a]};Sidebar.prototype.insertSearchHint=function(a,b,e,f,g,d,h,l){0==g.length&&1==f&&(e=document.createElement("div"),e.className="geSidebarText",b=mxResources.get("noResultsFor",[b]),e.setAttribute("title",b),mxUtils.write(e,b),a.appendChild(e))};Sidebar.prototype.addGeneralPalette=function(a){this.setCurrentSearchEntryLibrary("general","general");var b=this.editorUi.editor.graph,e=this,f=parseInt(this.initialDefaultVertexStyle.fontSize);f=isNaN(f)?"":"fontSize="+Math.min(16,f)+";";var g=b.appendFontSize("edgeLabel;resizable=0;html=1;",b.edgeFontSize),d=new mxCell("List Item",new mxGeometry(0,0,80,30),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;"+f);d.vertex=!0;b=[this.createVertexTemplateEntry("rounded=0;whiteSpace=wrap;html=1;",120,60,"","Rectangle",null,null,"rect rectangle box"),this.createVertexTemplateEntry("rounded=1;whiteSpace=wrap;html=1;",120,60,"","Rounded Rectangle",null,null,"rounded rect rectangle box"),this.createVertexTemplateEntry(b.appendFontSize(Editor.defaultTextStyle,b.vertexFontSize),60,30,"Text","Text",null,null,"text textbox textarea label"),this.createVertexTemplateEntry("text;html=1;whiteSpace=wrap;overflow=hidden;rounded=0;",@@ -2487,106 +2487,106 @@ d.geometry.setTerminalPoint(new mxPoint(0,0),!0);d.geometry.setTerminalPoint(new0,"Use","Dependency",null,"uml dependency use"),this.createEdgeTemplateEntry("endArrow=block;endSize=16;endFill=0;html=1;",160,0,"Extends","Generalization",null,"uml generalization extend"),this.createEdgeTemplateEntry("endArrow=block;startArrow=block;endFill=1;startFill=1;html=1;",160,0,"","Association 2",null,"uml association"),this.createEdgeTemplateEntry("endArrow=open;startArrow=circlePlus;endFill=0;startFill=0;endSize=8;html=1;",160,0,"","Inner Class",null,"uml inner class"),this.createEdgeTemplateEntry("endArrow=open;startArrow=cross;endFill=0;startFill=0;endSize=8;startSize=10;html=1;",160,0,"","Terminate",null,"uml terminate"),this.createEdgeTemplateEntry("endArrow=block;dashed=1;endFill=0;endSize=12;html=1;",160,0,"","Implementation",null,"uml realization implementation"),this.createEdgeTemplateEntry("endArrow=diamondThin;endFill=0;endSize=24;html=1;",160,0,"","Aggregation 2",null,"uml aggregation"),this.createEdgeTemplateEntry("endArrow=diamondThin;endFill=1;endSize=24;html=1;",160,0,"","Composition 2",null,"uml composition"),this.createEdgeTemplateEntry("endArrow=open;endFill=1;endSize=12;html=1;",160,0,"","Association 3",null,"uml association")];this.addPaletteFunctions("uml",mxResources.get("uml"),a||!1,g);this.setCurrentSearchEntryLibrary()};Sidebar.prototype.createTitle=function(a){var b=document.createElement("a");b.setAttribute("title",mxResources.get("sidebarTooltip"));b.className="geTitle";var e=document.createElement("span");mxUtils.write(e,a);b.appendChild(e);return b};-Sidebar.prototype.createThumb=function(a,b,e,f,g,d,h,l,r,k,u,w){this.graph.labelsVisible=null==d||d;d=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;this.graph.shapeForegroundColor="light-dark(#000000, #ffffff)";this.graph.shapeBackgroundColor=null!=k?k:"light-dark(var(--ge-panel-color), var(--ge-dark-panel-color))";this.graph.view.scaleAndTranslate(null!=w?w:1,0,0);this.graph.addCells(a);a=this.graph.getGraphBounds();null==w&&(k=Math.floor(100*Math.min((b-2*this.thumbBorder)/+Sidebar.prototype.createThumb=function(a,b,e,f,g,d,h,l,q,k,u,w){this.graph.labelsVisible=null==d||d;d=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;this.graph.shapeForegroundColor="light-dark(#000000, #ffffff)";this.graph.shapeBackgroundColor=null!=k?k:"light-dark(var(--ge-panel-color), var(--ge-dark-panel-color))";this.graph.view.scaleAndTranslate(null!=w?w:1,0,0);this.graph.addCells(a);a=this.graph.getGraphBounds();null==w&&(k=Math.floor(100*Math.min((b-2*this.thumbBorder)/a.width,(e-2*this.thumbBorder)/a.height))/100,this.graph.view.scaleAndTranslate(k,(b-a.width*k)/2/k-a.x,(e-a.height*k)/2/k-a.y));this.graph.dialect!=mxConstants.DIALECT_SVG||mxClient.NO_FO||null==this.graph.view.getCanvas().ownerSVGElement?(k=this.graph.container.cloneNode(!1),k.innerHTML=this.graph.container.innerHTML):k=this.graph.view.getCanvas().ownerSVGElement.cloneNode(!0);this.graph.getModel().clear();this.graph.view.scaleAndTranslate(1,0,0);mxClient.NO_FO=d;k.style.position="relative";k.style.overflow=null!=w?"visible":"hidden";k.style.left=(null!=u?u:this.thumbBorder-1)+"px";k.style.top=k.style.left;k.style.width=b+"px";k.style.height=e+"px";k.style.visibility="";k.style.minWidth="";k.style.minHeight="";this.disablePointerEvents(k);f.appendChild(k);this.sidebarTitles&&null!=g&&0!=h&&(f.style.height=this.thumbHeight+0+this.sidebarTitleSize+8+"px",b=document.createElement("div"),b.style.color=Editor.isDarkMode()?"#A0A0A0":"#303030",b.style.fontSize=this.sidebarTitleSize+"px",b.style.textAlign="center",b.style.whiteSpace="nowrap",b.style.overflow="hidden",b.style.textOverflow="ellipsis",mxClient.IS_IE&&(b.style.height=this.sidebarTitleSize+12+"px"),b.style.paddingTop="4px",mxUtils.write(b,g),f.appendChild(b));return a};Sidebar.prototype.createSection=function(a){return mxUtils.bind(this,function(){var b=document.createElement("div");b.setAttribute("title",a);b.style.textOverflow="ellipsis";b.style.whiteSpace="nowrap";b.style.textAlign="center";b.style.overflow="hidden";b.style.width="100%";b.style.padding="14px 0";mxUtils.write(b,a);return b})};-Sidebar.prototype.createItem=function(a,b,e,f,g,d,h,l,r,k,u,w,y,A,G){l=null!=l?l:!0;k=null!=k?k:this.thumbWidth;u=null!=u?u:this.thumbHeight;var D=G;if(null==D){D=document.createElement("a");var F=2*this.thumbBorder;D.style.width=k+F+"px";D.style.height=u+F+"px"}mxEvent.addListener(D,"click",function(M){mxEvent.consume(M)});var H=new mxRectangle(0,0,g,d);null!=a&&0<a.length?(F=a,a=this.graph.cloneCells(a),this.graph.pasteCellStyles(this.graph.includeDescendants(F),this.initialDefaultVertexStyle,this.initialDefaultEdgeStyle),-null!=w?(D.className="geButton",D.style.backgroundImage="url("+w+")",D.style.backgroundRepeat="no-repeat",D.style.backgroundPosition="center",D.style.backgroundSize="24px 24px"):null==G&&(D.className="geItem",this.createThumb(F,k,u,D,b,e,f,g,d)),1<a.length||a[0].vertex?(f=this.createDragSource(D,this.createDropHandler(a,!0,h,H,y,A),this.createDragPreview(g,d),a,H,y),this.addClickHandler(D,f,a,r,y),f.isGuidesEnabled=mxUtils.bind(this,function(){return this.editorUi.editor.graph.graphHandler.guidesEnabled})):-null!=a[0]&&a[0].edge&&(f=this.createDragSource(D,this.createDropHandler(a,!1,h,H,y,A),this.createDragPreview(g,d),a,H,y),this.addClickHandler(D,f,a,r)),!mxClient.IS_IOS&&l&&mxEvent.addGestureListeners(D,null,mxUtils.bind(this,function(M){mxEvent.isMouseEvent(M)&&this.showTooltip(D,a,H.width,H.height,b,e)}))):null==G&&(D.style.backgroundImage="url("+Editor.svgBrokenImage.src+")",D.setAttribute("title",b));return D};+Sidebar.prototype.createItem=function(a,b,e,f,g,d,h,l,q,k,u,w,y,A,F){l=null!=l?l:!0;k=null!=k?k:this.thumbWidth;u=null!=u?u:this.thumbHeight;var D=F;if(null==D){D=document.createElement("a");var G=2*this.thumbBorder;D.style.width=k+G+"px";D.style.height=u+G+"px"}mxEvent.addListener(D,"click",function(M){mxEvent.consume(M)});var H=new mxRectangle(0,0,g,d);null!=a&&0<a.length?(G=a,a=this.graph.cloneCells(a),this.graph.pasteCellStyles(this.graph.includeDescendants(G),this.initialDefaultVertexStyle,this.initialDefaultEdgeStyle),+null!=w?(D.className="geButton",D.style.backgroundImage="url("+w+")",D.style.backgroundRepeat="no-repeat",D.style.backgroundPosition="center",D.style.backgroundSize="24px 24px"):null==F&&(D.className="geItem",this.createThumb(G,k,u,D,b,e,f,g,d)),1<a.length||a[0].vertex?(f=this.createDragSource(D,this.createDropHandler(a,!0,h,H,y,A),this.createDragPreview(g,d),a,H,y),this.addClickHandler(D,f,a,q,y),f.isGuidesEnabled=mxUtils.bind(this,function(){return this.editorUi.editor.graph.graphHandler.guidesEnabled})):+null!=a[0]&&a[0].edge&&(f=this.createDragSource(D,this.createDropHandler(a,!1,h,H,y,A),this.createDragPreview(g,d),a,H,y),this.addClickHandler(D,f,a,q)),!mxClient.IS_IOS&&l&&mxEvent.addGestureListeners(D,null,mxUtils.bind(this,function(M){mxEvent.isMouseEvent(M)&&this.showTooltip(D,a,H.width,H.height,b,e)}))):null==F&&(D.style.backgroundImage="url("+Editor.svgBrokenImage.src+")",D.setAttribute("title",b));return D};Sidebar.prototype.prepareCellsForInsert=function(a){if(null!=a&&0<a.length)for(var b=this.graph.getModel(),e=0;e<a.length;e++)if(this.prepareCellsForInsert(b.getChildren(a[e])),b.isVertex(a[e])){var f=b.getEdges(a[e]),g=this.graph.getCellStyle(a[e]);null!=f&&0!=f.length||null==g||1!=mxUtils.getValue(g,mxConstants.STYLE_FLIPV,0)&&1!=mxUtils.getValue(g,mxConstants.STYLE_FLIPH,0)&&1!=mxUtils.getValue(g,"stencilFlipH",0)&&1!=mxUtils.getValue(g,"stencilFlipV",0)||this.graph.setCellStyles("legacyAnchorPoints","0",[a[e]])}};-Sidebar.prototype.createDropHandler=function(a,b,e,f,g,d){e=null!=e?e:!0;this.prepareCellsForInsert.call(this,a);return mxUtils.bind(this,function(h,l,r,k,u,w){for(w=w?null:mxEvent.isTouchEvent(l)||mxEvent.isPenEvent(l)?document.elementFromPoint(mxEvent.getClientX(l),mxEvent.getClientY(l)):mxEvent.getSource(l);null!=w&&w!=this.container;)w=w.parentNode;if(null==w&&h.isEnabled()){a=h.getImportableCells(a);if(0<a.length){h.stopEditing();w=null==r||mxEvent.isAltDown(l)?!1:h.isValidDropTarget(r,a,l);-var y=null;null==r||w||(r=null);if(!h.isCellLocked(r||h.getDefaultParent())){h.model.beginUpdate();try{k=Math.round(k);u=Math.round(u);if(b&&h.isSplitTarget(r,a,l)){var A=h.view.scale,G=h.view.translate,D=(k+G.x)*A,F=(u+G.y)*A,H=h.cloneCells(a);h.splitEdge(r,H,null,k-f.width/2,u-f.height/2,D,F);y=H}else if(0<a.length&&(y=h.importCells(a,k,u,r),h.model.isVertex(d)&&1==y.length&&h.model.isVertex(y[0]))){var M=h.insertEdge(h.model.getParent(d),null,"",d,y[0],h.createCurrentEdgeStyle());h.applyNewEdgeStyle(d,-[M]);y.push(M);h.connectionHandler.insertBeforeSource&&h.insertEdgeBeforeCell(M,d)}if(null!=h.layoutManager){var N=h.layoutManager.getLayout(r);if(null!=N){A=h.view.scale;G=h.view.translate;D=(k+G.x)*A;F=(u+G.y)*A;for(var K=0;K<y.length;K++)N.moveCell(y[K],D,F)}}!e||null!=l&&mxEvent.isShiftDown(l)||h.fireEvent(new mxEventObject("cellsInserted","cells",y));for(K=0;K<y.length;K++)h.model.isVertex(y[K])&&h.isAutoSizeCell(y[K])&&h.updateCellSize(y[K])}catch(T){this.editorUi.handleError(T)}finally{h.model.endUpdate()}null!=+Sidebar.prototype.createDropHandler=function(a,b,e,f,g,d){e=null!=e?e:!0;this.prepareCellsForInsert.call(this,a);return mxUtils.bind(this,function(h,l,q,k,u,w){for(w=w?null:mxEvent.isTouchEvent(l)||mxEvent.isPenEvent(l)?document.elementFromPoint(mxEvent.getClientX(l),mxEvent.getClientY(l)):mxEvent.getSource(l);null!=w&&w!=this.container;)w=w.parentNode;if(null==w&&h.isEnabled()){a=h.getImportableCells(a);if(0<a.length){h.stopEditing();w=null==q||mxEvent.isAltDown(l)?!1:h.isValidDropTarget(q,a,l);+var y=null;null==q||w||(q=null);if(!h.isCellLocked(q||h.getDefaultParent())){h.model.beginUpdate();try{k=Math.round(k);u=Math.round(u);if(b&&h.isSplitTarget(q,a,l)){var A=h.view.scale,F=h.view.translate,D=(k+F.x)*A,G=(u+F.y)*A,H=h.cloneCells(a);h.splitEdge(q,H,null,k-f.width/2,u-f.height/2,D,G);y=H}else if(0<a.length&&(y=h.importCells(a,k,u,q),h.model.isVertex(d)&&1==y.length&&h.model.isVertex(y[0]))){var M=h.insertEdge(h.model.getParent(d),null,"",d,y[0],h.createCurrentEdgeStyle());h.applyNewEdgeStyle(d,+[M]);y.push(M);h.connectionHandler.insertBeforeSource&&h.insertEdgeBeforeCell(M,d)}if(null!=h.layoutManager){var N=h.layoutManager.getLayout(q);if(null!=N){A=h.view.scale;F=h.view.translate;D=(k+F.x)*A;G=(u+F.y)*A;for(var K=0;K<y.length;K++)N.moveCell(y[K],D,G)}}!e||null!=l&&mxEvent.isShiftDown(l)||h.fireEvent(new mxEventObject("cellsInserted","cells",y));for(K=0;K<y.length;K++)h.model.isVertex(y[K])&&h.isAutoSizeCell(y[K])&&h.updateCellSize(y[K])}catch(T){this.editorUi.handleError(T)}finally{h.model.endUpdate()}null!=y&&0<y.length&&(h.scrollCellToVisible(y[0]),h.setSelectionCells(y));(g||h.editAfterInsert&&null!=l&&mxEvent.isMouseEvent(l)&&null!=y&&1==y.length)&&window.setTimeout(function(){h.startEditing(y[0])},0)}}mxEvent.consume(l)}})};Sidebar.prototype.createDragPreview=function(a,b){var e=document.createElement("div");e.className="geDragPreview";e.style.width=a+"px";e.style.height=b+"px";return e};-Sidebar.prototype.dropAndConnect=function(a,b,e,f,g,d,h){var l=this.editorUi.editor.graph,r=l.model.isEdge(a)||null!=d?d:h;r=this.getDropAndConnectGeometry(a,b[r],e,b);var k=[];if(null!=r){var u=null;l.model.beginUpdate();try{var w=l.getCellGeometry(a),y=l.getCellGeometry(b[f]),A=l.model.getParent(a),G=!0;if(null!=l.layoutManager){var D=l.layoutManager.getLayout(A);null!=D&&D.constructor==mxStackLayout&&(G=!1)}k=l.model.isEdge(a)?null:l.view.getState(A);var F=D=0;if(null!=k){var H=k.origin;D=H.x;-F=H.y}var M=!l.isTableRow(a)&&!l.isTableCell(a)&&(l.model.isEdge(a)||null!=w&&!w.relative&&G),N=l.getCellAt((r.x+D+l.view.translate.x)*l.view.scale,(r.y+F+l.view.translate.y)*l.view.scale,null,null,null,function(fa,P,Z){return!l.isContainer(fa.cell)});if(null!=N&&N!=A)k=l.view.getState(N),null!=k&&(H=k.origin,A=N,M=!0,l.model.isEdge(a)||(r.x-=H.x-D,r.y-=H.y-F));else if(!G||l.isTableRow(a)||l.isTableCell(a))r.x+=D,r.y+=F;D=y.x;F=y.y;l.model.isEdge(b[f])&&(F=D=0);k=b=l.importCells(b,r.x-(M?D:0),r.y--(M?F:0),M?A:null);if(l.model.isEdge(a))l.model.setTerminal(a,b[f],e==mxConstants.DIRECTION_NORTH),null!=h&&null!=d&&(l.model.remove(b[h]),l.updateShapes(b[h],[a]));else if(l.model.isEdge(b[f])&&null==d){l.model.setTerminal(b[f],a,!0);var K=l.getCellGeometry(b[f]),T=null!=K?K.getTerminalPoint(!0):null;K.points=null;if(null!=T)for(e=0;e<b.length;e++)if(l.model.isEdge(b[e])&&e!=f){var W=l.getCellGeometry(b[e]),S=null!=W?W.getTerminalPoint(!0):null;null!=S&&S.x==T.x&&S.y==T.y&&l.model.setTerminal(b[e],-a,!0)}if(null!=K.getTerminalPoint(!1))K.setTerminalPoint(r.getTerminalPoint(!1),!1);else if(M&&l.model.isVertex(A)){var V=l.view.getState(A);H=V.cell!=l.view.currentRoot?V.origin:new mxPoint(0,0);l.cellsMoved(b,H.x,H.y,null,null,!0)}}else null!=d&&(y=l.getCellGeometry(b[d]),D=r.x-Math.round(y.x),F=r.y-Math.round(y.y),r.x=Math.round(y.x),r.y=Math.round(y.y),l.model.setGeometry(b[f],r),l.cellsMoved(b,D,F,null,null,!0),k=b.slice(),u=1==k.length?k[0]:null,null!=h?l.model.setTerminal(b[h],a,!0):b.push(l.insertEdge(null,+Sidebar.prototype.dropAndConnect=function(a,b,e,f,g,d,h){var l=this.editorUi.editor.graph,q=l.model.isEdge(a)||null!=d?d:h;q=this.getDropAndConnectGeometry(a,b[q],e,b);var k=[];if(null!=q){var u=null;l.model.beginUpdate();try{var w=l.getCellGeometry(a),y=l.getCellGeometry(b[f]),A=l.model.getParent(a),F=!0;if(null!=l.layoutManager){var D=l.layoutManager.getLayout(A);null!=D&&D.constructor==mxStackLayout&&(F=!1)}k=l.model.isEdge(a)?null:l.view.getState(A);var G=D=0;if(null!=k){var H=k.origin;D=H.x;+G=H.y}var M=!l.isTableRow(a)&&!l.isTableCell(a)&&(l.model.isEdge(a)||null!=w&&!w.relative&&F),N=l.getCellAt((q.x+D+l.view.translate.x)*l.view.scale,(q.y+G+l.view.translate.y)*l.view.scale,null,null,null,function(fa,P,Z){return!l.isContainer(fa.cell)});if(null!=N&&N!=A)k=l.view.getState(N),null!=k&&(H=k.origin,A=N,M=!0,l.model.isEdge(a)||(q.x-=H.x-D,q.y-=H.y-G));else if(!F||l.isTableRow(a)||l.isTableCell(a))q.x+=D,q.y+=G;D=y.x;G=y.y;l.model.isEdge(b[f])&&(G=D=0);k=b=l.importCells(b,q.x-(M?D:0),q.y-+(M?G:0),M?A:null);if(l.model.isEdge(a))l.model.setTerminal(a,b[f],e==mxConstants.DIRECTION_NORTH),null!=h&&null!=d&&(l.model.remove(b[h]),l.updateShapes(b[h],[a]));else if(l.model.isEdge(b[f])&&null==d){l.model.setTerminal(b[f],a,!0);var K=l.getCellGeometry(b[f]),T=null!=K?K.getTerminalPoint(!0):null;K.points=null;if(null!=T)for(e=0;e<b.length;e++)if(l.model.isEdge(b[e])&&e!=f){var W=l.getCellGeometry(b[e]),S=null!=W?W.getTerminalPoint(!0):null;null!=S&&S.x==T.x&&S.y==T.y&&l.model.setTerminal(b[e],+a,!0)}if(null!=K.getTerminalPoint(!1))K.setTerminalPoint(q.getTerminalPoint(!1),!1);else if(M&&l.model.isVertex(A)){var V=l.view.getState(A);H=V.cell!=l.view.currentRoot?V.origin:new mxPoint(0,0);l.cellsMoved(b,H.x,H.y,null,null,!0)}}else null!=d&&(y=l.getCellGeometry(b[d]),D=q.x-Math.round(y.x),G=q.y-Math.round(y.y),q.x=Math.round(y.x),q.y=Math.round(y.y),l.model.setGeometry(b[f],q),l.cellsMoved(b,D,G,null,null,!0),k=b.slice(),u=1==k.length?k[0]:null,null!=h?l.model.setTerminal(b[h],a,!0):b.push(l.insertEdge(null,null,"",a,b[f],l.createCurrentEdgeStyle())));null!=g&&mxEvent.isShiftDown(g)||l.fireEvent(new mxEventObject("cellsInserted","cells",b))}catch(fa){this.editorUi.handleError(fa)}finally{l.model.endUpdate()}l.editAfterInsert&&null!=g&&mxEvent.isMouseEvent(g)&&null!=u&&window.setTimeout(function(){l.startEditing(u)},0)}null!=h&&1<k.length&&k.splice(h,1);return k};-Sidebar.prototype.getDropAndConnectGeometry=function(a,b,e,f){var g=this.editorUi.editor.graph,d=g.view,h=1<f.length,l=g.view.getState(a),r=g.getCellGeometry(a);f=g.getCellGeometry(b);null!=l&&null!=r&&null!=f&&(f=f.clone(),g.model.isEdge(a)?(r=l.absolutePoints,b=r[0],g=r[r.length-1],e==mxConstants.DIRECTION_NORTH?(f.x=b.x/d.scale-d.translate.x-f.width/2,f.y=b.y/d.scale-d.translate.y-f.height/2):(f.x=g.x/d.scale-d.translate.x-f.width/2,f.y=g.y/d.scale-d.translate.y-f.height/2)):(r.relative&&(r=r.clone(),-r.x=(l.x-d.translate.x)/d.scale,r.y=(l.y-d.translate.y)/d.scale),d=g.defaultEdgeLength,g.model.isEdge(b)&&null!=f.getTerminalPoint(!0)&&null!=f.getTerminalPoint(!1)?(b=f.getTerminalPoint(!0),g=f.getTerminalPoint(!1),d=g.x-b.x,b=g.y-b.y,d=Math.sqrt(d*d+b*b),f.x=r.getCenterX(),f.y=r.getCenterY(),f.width=1,f.height=1,e==mxConstants.DIRECTION_NORTH?(f.height=d,f.y=r.y-d,f.setTerminalPoint(new mxPoint(f.x,f.y),!1)):e==mxConstants.DIRECTION_EAST?(f.width=d,f.x=r.x+r.width,f.setTerminalPoint(new mxPoint(f.x+-f.width,f.y),!1)):e==mxConstants.DIRECTION_SOUTH?(f.height=d,f.y=r.y+r.height,f.setTerminalPoint(new mxPoint(f.x,f.y+f.height),!1)):e==mxConstants.DIRECTION_WEST&&(f.width=d,f.x=r.x-d,f.setTerminalPoint(new mxPoint(f.x,f.y),!1))):(!h&&45<f.width&&45<f.height&&45<r.width&&45<r.height&&(f.width*=r.height/f.height,f.height=r.height),f.x=r.x+r.width/2-f.width/2,f.y=r.y+r.height/2-f.height/2,e==mxConstants.DIRECTION_NORTH?f.y=f.y-r.height/2-f.height/2-d:e==mxConstants.DIRECTION_EAST?f.x=f.x+r.width/2+-f.width/2+d:e==mxConstants.DIRECTION_SOUTH?f.y=f.y+r.height/2+f.height/2+d:e==mxConstants.DIRECTION_WEST&&(f.x=f.x-r.width/2-f.width/2-d),g.model.isEdge(b)&&null!=f.getTerminalPoint(!0)&&null!=b.getTerminal(!1)&&(r=g.getCellGeometry(b.getTerminal(!1)),null!=r&&(e==mxConstants.DIRECTION_NORTH?(f.x-=r.getCenterX(),f.y-=r.getCenterY()+r.height/2):e==mxConstants.DIRECTION_EAST?(f.x-=r.getCenterX()-r.width/2,f.y-=r.getCenterY()):e==mxConstants.DIRECTION_SOUTH?(f.x-=r.getCenterX(),f.y-=r.getCenterY()-r.height/-2):e==mxConstants.DIRECTION_WEST&&(f.x-=r.getCenterX()+r.width/2,f.y-=r.getCenterY()))))));return f};Sidebar.prototype.isDropStyleEnabled=function(a,b){var e=!0;null!=b&&1==a.length&&(a=this.graph.getCellStyle(a[b]),null!=a&&(e=mxUtils.getValue(a,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(a,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE)!=mxConstants.NONE));return e};+Sidebar.prototype.getDropAndConnectGeometry=function(a,b,e,f){var g=this.editorUi.editor.graph,d=g.view,h=1<f.length,l=g.view.getState(a),q=g.getCellGeometry(a);f=g.getCellGeometry(b);null!=l&&null!=q&&null!=f&&(f=f.clone(),g.model.isEdge(a)?(q=l.absolutePoints,b=q[0],g=q[q.length-1],e==mxConstants.DIRECTION_NORTH?(f.x=b.x/d.scale-d.translate.x-f.width/2,f.y=b.y/d.scale-d.translate.y-f.height/2):(f.x=g.x/d.scale-d.translate.x-f.width/2,f.y=g.y/d.scale-d.translate.y-f.height/2)):(q.relative&&(q=q.clone(),+q.x=(l.x-d.translate.x)/d.scale,q.y=(l.y-d.translate.y)/d.scale),d=g.defaultEdgeLength,g.model.isEdge(b)&&null!=f.getTerminalPoint(!0)&&null!=f.getTerminalPoint(!1)?(b=f.getTerminalPoint(!0),g=f.getTerminalPoint(!1),d=g.x-b.x,b=g.y-b.y,d=Math.sqrt(d*d+b*b),f.x=q.getCenterX(),f.y=q.getCenterY(),f.width=1,f.height=1,e==mxConstants.DIRECTION_NORTH?(f.height=d,f.y=q.y-d,f.setTerminalPoint(new mxPoint(f.x,f.y),!1)):e==mxConstants.DIRECTION_EAST?(f.width=d,f.x=q.x+q.width,f.setTerminalPoint(new mxPoint(f.x++f.width,f.y),!1)):e==mxConstants.DIRECTION_SOUTH?(f.height=d,f.y=q.y+q.height,f.setTerminalPoint(new mxPoint(f.x,f.y+f.height),!1)):e==mxConstants.DIRECTION_WEST&&(f.width=d,f.x=q.x-d,f.setTerminalPoint(new mxPoint(f.x,f.y),!1))):(!h&&45<f.width&&45<f.height&&45<q.width&&45<q.height&&(f.width*=q.height/f.height,f.height=q.height),f.x=q.x+q.width/2-f.width/2,f.y=q.y+q.height/2-f.height/2,e==mxConstants.DIRECTION_NORTH?f.y=f.y-q.height/2-f.height/2-d:e==mxConstants.DIRECTION_EAST?f.x=f.x+q.width/2++f.width/2+d:e==mxConstants.DIRECTION_SOUTH?f.y=f.y+q.height/2+f.height/2+d:e==mxConstants.DIRECTION_WEST&&(f.x=f.x-q.width/2-f.width/2-d),g.model.isEdge(b)&&null!=f.getTerminalPoint(!0)&&null!=b.getTerminal(!1)&&(q=g.getCellGeometry(b.getTerminal(!1)),null!=q&&(e==mxConstants.DIRECTION_NORTH?(f.x-=q.getCenterX(),f.y-=q.getCenterY()+q.height/2):e==mxConstants.DIRECTION_EAST?(f.x-=q.getCenterX()-q.width/2,f.y-=q.getCenterY()):e==mxConstants.DIRECTION_SOUTH?(f.x-=q.getCenterX(),f.y-=q.getCenterY()-q.height/+2):e==mxConstants.DIRECTION_WEST&&(f.x-=q.getCenterX()+q.width/2,f.y-=q.getCenterY()))))));return f};Sidebar.prototype.isDropStyleEnabled=function(a,b){var e=!0;null!=b&&1==a.length&&(a=this.graph.getCellStyle(a[b]),null!=a&&(e=mxUtils.getValue(a,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(a,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE)!=mxConstants.NONE));return e};Sidebar.prototype.isDropStyleTargetIgnored=function(a){return this.graph.isSwimlane(a.cell)||this.graph.isTableCell(a.cell)||this.graph.isTableRow(a.cell)||this.graph.isTable(a.cell)};Sidebar.prototype.disablePointerEvents=function(a){mxUtils.visitNodes(a,mxUtils.bind(this,function(b){b.nodeType==mxConstants.NODETYPE_ELEMENT&&null!=b.style&&(b.style.pointerEvents="none",b.removeAttribute("pointer-events"))}))};-Sidebar.prototype.createDragSource=function(a,b,e,f,g,d){function h(ja,va){var za=mxUtils.createImage(ja.src);za.style.width=ja.width+"px";za.style.height=ja.height+"px";null!=va&&za.setAttribute("title",va);mxUtils.setOpacity(za,ja==this.refreshTarget?30:20);za.style.position="absolute";za.style.cursor="crosshair";return za}function l(ja,va,za,La){null!=La.parentNode&&(mxUtils.contains(za,ja,va)?(mxUtils.setOpacity(La,100),U=La):mxUtils.setOpacity(La,La==P?30:20));return za}var r=this.editorUi,k=-r.editor.graph,u=null,w=null,y=this;d=0;for(var A=this.livePreview,G=0;G<f.length&&A;G++)d+=k.model.getDescendants(f[G]).length,A=d<k.graphHandler.maxLivePreview;for(G=0;G<f.length&&(null==w&&k.model.isVertex(f[G])?w=G:null==u&&k.model.isEdge(f[G])&&null==k.model.getTerminal(f[G],!0)&&(u=G),null==w||null==u);G++);var D=this.isDropStyleEnabled(f,w),F=mxUtils.makeDraggable(a,k,mxUtils.bind(this,function(ja,va,za,La,Na){null!=this.updateThread&&window.clearTimeout(this.updateThread);if(null!=f&&null!=-K&&U==P){var Ja=ja.isCellSelected(K.cell)?ja.getSelectionCells():[K.cell];ja.updateShapes(ja.model.isEdge(K.cell)?f[0]:f[w],Ja,!0);ja.setSelectionCells(Ja)}else null!=f&&null!=U&&null!=M&&U!=P?(Ja=ja.model.isEdge(M.cell)||null==u?w:u,ja.setSelectionCells(this.dropAndConnect(M.cell,f,L,Ja,va,w,u))):b.apply(this,arguments);null!=this.editorUi.hoverIcons&&this.editorUi.hoverIcons.update(ja.view.getState(ja.getSelectionCell()))}),e,0,0,k.autoscroll,!0,!0);A&&(F.createDragElement=mxUtils.bind(this,function(){return F.createPreviewElement(this.graph)}),-F.createPreviewElement=mxUtils.bind(this,function(ja){var va=document.createElement("a");va.className="geItem";va.style.overflow="visible";ja=ja.view.scale;va.style.width=ja*Math.max(1,g.width)+"px";va.style.height=ja*Math.max(1,g.height)+"px";mxUtils.setOpacity(va,50);var za=k.cloneCells(f);this.graph.pasteCellStyles(k.includeDescendants(za),k.currentVertexStyle,k.currentEdgeStyle,null,k.pasteEdgeStyle);y.createThumb(za,ja*Math.max(1,g.width),ja*Math.max(1,g.height),va,null,null,null,null,null,k.shapeBackgroundColor,-0,ja);return va}));var H=F.mouseDown;F.mouseDown=function(ja){mxEvent.isPopupTrigger(ja)||mxEvent.isMultiTouchEvent(ja)||k.isCellLocked(k.getDefaultParent())||(k.stopEditing(),H.apply(this,arguments))};var M=null,N=null,K=null,T=!1,W=h(this.triangleUp,mxResources.get("connect")),S=h(this.triangleRight,mxResources.get("connect")),V=h(this.triangleDown,mxResources.get("connect")),fa=h(this.triangleLeft,mxResources.get("connect")),P=h(this.refreshTarget,mxResources.get("replace")),Z=null,X=h(this.roundDrop),-ba=h(this.roundDrop),L=mxConstants.DIRECTION_NORTH,U=null,aa=F.createPreviewElement;F.createPreviewElement=function(ja){var va=aa.apply(this,arguments);this.previewElementWidth=va.style.width;this.previewElementHeight=va.style.height;va.style.pointerEvents="none";return va};var ha=F.dragEnter;F.dragEnter=function(ja,va){null!=r.hoverIcons&&r.hoverIcons.setDisplay("none");ha.apply(this,arguments)};var ma=F.dragExit;F.dragExit=function(ja,va){null!=r.hoverIcons&&r.hoverIcons.setDisplay("");ma.apply(this,-arguments)};F.dragOver=function(ja,va){mxDragSource.prototype.dragOver.apply(this,arguments);null!=this.currentGuide&&null!=U&&this.currentGuide.hide();if(null!=this.previewElement){r.hideShapePicker();var za=ja.view;if(null!=K&&U==P)this.previewElement.style.display="none";else if(null!=M&&null!=U){null!=F.currentHighlight&&null!=F.currentHighlight.state&&F.currentHighlight.hide();var La=ja.model.isEdge(M.cell)||null!=w?w:u,Na=y.getDropAndConnectGeometry(M.cell,f[La],L,f),Ja=ja.model.isEdge(M.cell)?-null:ja.getCellGeometry(M.cell),Ka=ja.getCellGeometry(f[La]),ta=ja.model.getParent(M.cell),Ea=za.translate.x*za.scale,Wa=za.translate.y*za.scale;null!=Ja&&!Ja.relative&&ja.model.isVertex(ta)&&ta!=za.currentRoot&&(Wa=za.getState(ta),Ea=Wa.x,Wa=Wa.y);Ja=Ka.x;Ka=Ka.y;ja.model.isEdge(f[La])&&(Ka=Ja=0);this.previewElement.style.left=(Na.x-Ja)*za.scale+Ea+"px";this.previewElement.style.top=(Na.y-Ka)*za.scale+Wa+"px";1==f.length&&(this.previewElement.style.width=Na.width*za.scale+"px",this.previewElement.style.height=-Na.height*za.scale+"px",null!=this.previewElement.firstChild&&(this.previewElement.firstChild.style.display="none",this.previewElement.className="geDragPreview",mxUtils.setOpacity(this.previewElement,100)));this.previewElement.style.display=""}else null!=F.currentHighlight&&null!=F.currentHighlight.state&&ja.model.isEdge(F.currentHighlight.state.cell)?(this.previewElement.style.left=Math.round(parseInt(this.previewElement.style.left)-g.width*za.scale/2)+"px",this.previewElement.style.top=Math.round(parseInt(this.previewElement.style.top)--g.height*za.scale/2)+"px"):(this.previewElement.style.width=this.previewElementWidth,this.previewElement.style.height=this.previewElementHeight,this.previewElement.style.display="",null!=this.previewElement.firstChild&&(this.previewElement.firstChild.style.display="",mxUtils.setOpacity(this.previewElement,50),this.previewElement.className=""))}};var oa=(new Date).getTime(),ca=0,la=null,ia=this.editorUi.editor.graph.getCellStyle(f[0]);F.getDropTarget=mxUtils.bind(this,function(ja,va,za,La){var Na=-mxEvent.isAltDown(La)||null==f?null:ja.getCellAt(va,za,null,null,null,function(Wa,Xa,bb){return ja.isContainer(Wa.cell)&&"0"!=mxUtils.getValue(Wa.style,"dropTarget","1")});if(null!=Na&&!this.graph.isCellConnectable(Na)&&!this.graph.model.isEdge(Na)){var Ja=this.graph.getModel().getParent(Na);this.graph.getModel().isVertex(Ja)&&this.graph.isCellConnectable(Ja)&&(Na=Ja)}ja.isCellLocked(Na)&&(Na=null);var Ka=ja.view.getState(Na);Ja=U=null;la!=Ka?(oa=(new Date).getTime(),ca=0,la=Ka,null!=this.updateThread&&-window.clearTimeout(this.updateThread),null!=Ka&&(this.updateThread=window.setTimeout(function(){null==U&&(la=Ka,F.getDropTarget(ja,va,za,La))},this.dropTargetDelay+10))):ca=(new Date).getTime()-oa;if(D&&2500>ca&&null!=Ka&&!mxEvent.isShiftDown(La)&&(mxUtils.getValue(Ka.style,mxConstants.STYLE_SHAPE)!=mxUtils.getValue(ia,mxConstants.STYLE_SHAPE)&&(mxUtils.getValue(Ka.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(Ka.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE)!=+Sidebar.prototype.createDragSource=function(a,b,e,f,g,d){function h(ja,va){var ya=mxUtils.createImage(ja.src);ya.style.width=ja.width+"px";ya.style.height=ja.height+"px";null!=va&&ya.setAttribute("title",va);mxUtils.setOpacity(ya,ja==this.refreshTarget?30:20);ya.style.position="absolute";ya.style.cursor="crosshair";return ya}function l(ja,va,ya,La){null!=La.parentNode&&(mxUtils.contains(ya,ja,va)?(mxUtils.setOpacity(La,100),U=La):mxUtils.setOpacity(La,La==P?30:20));return ya}var q=this.editorUi,k=+q.editor.graph,u=null,w=null,y=this;d=0;for(var A=this.livePreview,F=0;F<f.length&&A;F++)d+=k.model.getDescendants(f[F]).length,A=d<k.graphHandler.maxLivePreview;for(F=0;F<f.length&&(null==w&&k.model.isVertex(f[F])?w=F:null==u&&k.model.isEdge(f[F])&&null==k.model.getTerminal(f[F],!0)&&(u=F),null==w||null==u);F++);var D=this.isDropStyleEnabled(f,w),G=mxUtils.makeDraggable(a,k,mxUtils.bind(this,function(ja,va,ya,La,Na){null!=this.updateThread&&window.clearTimeout(this.updateThread);if(null!=f&&null!=+K&&U==P){var Ja=ja.isCellSelected(K.cell)?ja.getSelectionCells():[K.cell];ja.updateShapes(ja.model.isEdge(K.cell)?f[0]:f[w],Ja,!0);ja.setSelectionCells(Ja)}else null!=f&&null!=U&&null!=M&&U!=P?(Ja=ja.model.isEdge(M.cell)||null==u?w:u,ja.setSelectionCells(this.dropAndConnect(M.cell,f,L,Ja,va,w,u))):b.apply(this,arguments);null!=this.editorUi.hoverIcons&&this.editorUi.hoverIcons.update(ja.view.getState(ja.getSelectionCell()))}),e,0,0,k.autoscroll,!0,!0);A&&(G.createDragElement=mxUtils.bind(this,function(){return G.createPreviewElement(this.graph)}),+G.createPreviewElement=mxUtils.bind(this,function(ja){var va=document.createElement("a");va.className="geItem";va.style.overflow="visible";ja=ja.view.scale;va.style.width=ja*Math.max(1,g.width)+"px";va.style.height=ja*Math.max(1,g.height)+"px";mxUtils.setOpacity(va,50);var ya=k.cloneCells(f);this.graph.pasteCellStyles(k.includeDescendants(ya),k.currentVertexStyle,k.currentEdgeStyle,null,k.pasteEdgeStyle);y.createThumb(ya,ja*Math.max(1,g.width),ja*Math.max(1,g.height),va,null,null,null,null,null,k.shapeBackgroundColor,+0,ja);return va}));var H=G.mouseDown;G.mouseDown=function(ja){mxEvent.isPopupTrigger(ja)||mxEvent.isMultiTouchEvent(ja)||k.isCellLocked(k.getDefaultParent())||(k.stopEditing(),H.apply(this,arguments))};var M=null,N=null,K=null,T=!1,W=h(this.triangleUp,mxResources.get("connect")),S=h(this.triangleRight,mxResources.get("connect")),V=h(this.triangleDown,mxResources.get("connect")),fa=h(this.triangleLeft,mxResources.get("connect")),P=h(this.refreshTarget,mxResources.get("replace")),Z=null,X=h(this.roundDrop),+ba=h(this.roundDrop),L=mxConstants.DIRECTION_NORTH,U=null,aa=G.createPreviewElement;G.createPreviewElement=function(ja){var va=aa.apply(this,arguments);this.previewElementWidth=va.style.width;this.previewElementHeight=va.style.height;va.style.pointerEvents="none";return va};var ha=G.dragEnter;G.dragEnter=function(ja,va){null!=q.hoverIcons&&q.hoverIcons.setDisplay("none");ha.apply(this,arguments)};var ma=G.dragExit;G.dragExit=function(ja,va){null!=q.hoverIcons&&q.hoverIcons.setDisplay("");ma.apply(this,+arguments)};G.dragOver=function(ja,va){mxDragSource.prototype.dragOver.apply(this,arguments);null!=this.currentGuide&&null!=U&&this.currentGuide.hide();if(null!=this.previewElement){q.hideShapePicker();var ya=ja.view;if(null!=K&&U==P)this.previewElement.style.display="none";else if(null!=M&&null!=U){null!=G.currentHighlight&&null!=G.currentHighlight.state&&G.currentHighlight.hide();var La=ja.model.isEdge(M.cell)||null!=w?w:u,Na=y.getDropAndConnectGeometry(M.cell,f[La],L,f),Ja=ja.model.isEdge(M.cell)?+null:ja.getCellGeometry(M.cell),Ka=ja.getCellGeometry(f[La]),ta=ja.model.getParent(M.cell),Ea=ya.translate.x*ya.scale,Wa=ya.translate.y*ya.scale;null!=Ja&&!Ja.relative&&ja.model.isVertex(ta)&&ta!=ya.currentRoot&&(Wa=ya.getState(ta),Ea=Wa.x,Wa=Wa.y);Ja=Ka.x;Ka=Ka.y;ja.model.isEdge(f[La])&&(Ka=Ja=0);this.previewElement.style.left=(Na.x-Ja)*ya.scale+Ea+"px";this.previewElement.style.top=(Na.y-Ka)*ya.scale+Wa+"px";1==f.length&&(this.previewElement.style.width=Na.width*ya.scale+"px",this.previewElement.style.height=+Na.height*ya.scale+"px",null!=this.previewElement.firstChild&&(this.previewElement.firstChild.style.display="none",this.previewElement.className="geDragPreview",mxUtils.setOpacity(this.previewElement,100)));this.previewElement.style.display=""}else null!=G.currentHighlight&&null!=G.currentHighlight.state&&ja.model.isEdge(G.currentHighlight.state.cell)?(this.previewElement.style.left=Math.round(parseInt(this.previewElement.style.left)-g.width*ya.scale/2)+"px",this.previewElement.style.top=Math.round(parseInt(this.previewElement.style.top)-+g.height*ya.scale/2)+"px"):(this.previewElement.style.width=this.previewElementWidth,this.previewElement.style.height=this.previewElementHeight,this.previewElement.style.display="",null!=this.previewElement.firstChild&&(this.previewElement.firstChild.style.display="",mxUtils.setOpacity(this.previewElement,50),this.previewElement.className=""))}};var oa=(new Date).getTime(),ca=0,la=null,ia=this.editorUi.editor.graph.getCellStyle(f[0]);G.getDropTarget=mxUtils.bind(this,function(ja,va,ya,La){var Na=+mxEvent.isAltDown(La)||null==f?null:ja.getCellAt(va,ya,null,null,null,function(Wa,Xa,bb){return ja.isContainer(Wa.cell)&&"0"!=mxUtils.getValue(Wa.style,"dropTarget","1")});if(null!=Na&&!this.graph.isCellConnectable(Na)&&!this.graph.model.isEdge(Na)){var Ja=this.graph.getModel().getParent(Na);this.graph.getModel().isVertex(Ja)&&this.graph.isCellConnectable(Ja)&&(Na=Ja)}ja.isCellLocked(Na)&&(Na=null);var Ka=ja.view.getState(Na);Ja=U=null;la!=Ka?(oa=(new Date).getTime(),ca=0,la=Ka,null!=this.updateThread&&+window.clearTimeout(this.updateThread),null!=Ka&&(this.updateThread=window.setTimeout(function(){null==U&&(la=Ka,G.getDropTarget(ja,va,ya,La))},this.dropTargetDelay+10))):ca=(new Date).getTime()-oa;if(D&&2500>ca&&null!=Ka&&!mxEvent.isShiftDown(La)&&(mxUtils.getValue(Ka.style,mxConstants.STYLE_SHAPE)!=mxUtils.getValue(ia,mxConstants.STYLE_SHAPE)&&(mxUtils.getValue(Ka.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(Ka.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(Ka.style,mxConstants.STYLE_GRADIENTCOLOR,mxConstants.NONE)!=mxConstants.NONE)||"image"==mxUtils.getValue(ia,mxConstants.STYLE_SHAPE)||1500<ca||ja.model.isEdge(Ka.cell))&&ca>this.dropTargetDelay&&!this.isDropStyleTargetIgnored(Ka)&&(ja.model.isVertex(Ka.cell)&&null!=w||ja.model.isEdge(Ka.cell)&&ja.model.isEdge(f[0]))){if(ja.isCellEditable(Ka.cell)){K=Ka;var ta=ja.model.isEdge(Ka.cell)?ja.view.getPoint(Ka):new mxPoint(Ka.getCenterX(),Ka.getCenterY());ta=new mxRectangle(ta.x--this.refreshTarget.width/2,ta.y-this.refreshTarget.height/2,this.refreshTarget.width,this.refreshTarget.height);P.style.left=Math.floor(ta.x)+"px";P.style.top=Math.floor(ta.y)+"px";null==Z&&(ja.container.appendChild(P),Z=P.parentNode);l(va,za,ta,P)}}else null==K||!mxUtils.contains(K,va,za)||1500<ca&&!mxEvent.isShiftDown(La)?(K=null,null!=Z&&(P.parentNode.removeChild(P),Z=null)):null!=K&&null!=Z&&(ta=ja.model.isEdge(K.cell)?ja.view.getPoint(K):new mxPoint(K.getCenterX(),K.getCenterY()),ta=new mxRectangle(ta.x--this.refreshTarget.width/2,ta.y-this.refreshTarget.height/2,this.refreshTarget.width,this.refreshTarget.height),l(va,za,ta,P));if(T&&null!=M&&!mxEvent.isAltDown(La)&&null==U){Ja=mxRectangle.fromRectangle(M);if(ja.model.isEdge(M.cell)){var Ea=M.absolutePoints;null!=X.parentNode&&(ta=Ea[0],Ja.add(l(va,za,new mxRectangle(ta.x-this.roundDrop.width/2,ta.y-this.roundDrop.height/2,this.roundDrop.width,this.roundDrop.height),X)));null!=ba.parentNode&&(Ea=Ea[Ea.length-1],Ja.add(l(va,za,new mxRectangle(Ea.x-+this.refreshTarget.width/2,ta.y-this.refreshTarget.height/2,this.refreshTarget.width,this.refreshTarget.height);P.style.left=Math.floor(ta.x)+"px";P.style.top=Math.floor(ta.y)+"px";null==Z&&(ja.container.appendChild(P),Z=P.parentNode);l(va,ya,ta,P)}}else null==K||!mxUtils.contains(K,va,ya)||1500<ca&&!mxEvent.isShiftDown(La)?(K=null,null!=Z&&(P.parentNode.removeChild(P),Z=null)):null!=K&&null!=Z&&(ta=ja.model.isEdge(K.cell)?ja.view.getPoint(K):new mxPoint(K.getCenterX(),K.getCenterY()),ta=new mxRectangle(ta.x-+this.refreshTarget.width/2,ta.y-this.refreshTarget.height/2,this.refreshTarget.width,this.refreshTarget.height),l(va,ya,ta,P));if(T&&null!=M&&!mxEvent.isAltDown(La)&&null==U){Ja=mxRectangle.fromRectangle(M);if(ja.model.isEdge(M.cell)){var Ea=M.absolutePoints;null!=X.parentNode&&(ta=Ea[0],Ja.add(l(va,ya,new mxRectangle(ta.x-this.roundDrop.width/2,ta.y-this.roundDrop.height/2,this.roundDrop.width,this.roundDrop.height),X)));null!=ba.parentNode&&(Ea=Ea[Ea.length-1],Ja.add(l(va,ya,new mxRectangle(Ea.x-this.roundDrop.width/2,Ea.y-this.roundDrop.height/2,this.roundDrop.width,this.roundDrop.height),ba)))}else ta=mxRectangle.fromRectangle(M),null!=M.shape&&null!=M.shape.boundingBox&&(ta=mxRectangle.fromRectangle(M.shape.boundingBox)),ta.grow(this.graph.tolerance),ta.grow(HoverIcons.prototype.arrowSpacing),Ea=this.graph.selectionCellsHandler.getHandler(M.cell),null!=Ea&&(ta.x-=Ea.horizontalOffset/2,ta.y-=Ea.verticalOffset/2,ta.width+=Ea.horizontalOffset,ta.height+=Ea.verticalOffset,null!=Ea.rotationShape&&-null!=Ea.rotationShape.node&&"hidden"!=Ea.rotationShape.node.style.visibility&&"none"!=Ea.rotationShape.node.style.display&&null!=Ea.rotationShape.boundingBox&&ta.add(Ea.rotationShape.boundingBox)),Ja.add(l(va,za,new mxRectangle(M.getCenterX()-this.triangleUp.width/2,ta.y-this.triangleUp.height,this.triangleUp.width,this.triangleUp.height),W)),Ja.add(l(va,za,new mxRectangle(ta.x+ta.width,M.getCenterY()-this.triangleRight.height/2,this.triangleRight.width,this.triangleRight.height),S)),Ja.add(l(va,-za,new mxRectangle(M.getCenterX()-this.triangleDown.width/2,ta.y+ta.height,this.triangleDown.width,this.triangleDown.height),V)),Ja.add(l(va,za,new mxRectangle(ta.x-this.triangleLeft.width,M.getCenterY()-this.triangleLeft.height/2,this.triangleLeft.width,this.triangleLeft.height),fa));null!=Ja&&Ja.grow(10)}L=mxConstants.DIRECTION_NORTH;U==S?L=mxConstants.DIRECTION_EAST:U==V||U==ba?L=mxConstants.DIRECTION_SOUTH:U==fa&&(L=mxConstants.DIRECTION_WEST);null!=K&&U==P&&(Ka=K);ta=(null==w||ja.isCellConnectable(f[w]))&&-(ja.model.isEdge(Na)&&null!=w||ja.model.isVertex(Na)&&ja.isCellConnectable(Na));if(null!=M&&5E3<=ca||M!=Ka&&(null==Ja||!mxUtils.contains(Ja,va,za)||500<ca&&null==U&&ta))if(T=!1,M=5E3>ca&&ca>this.dropTargetDelay||ja.model.isEdge(Na)?Ka:null,null!=M&&ta){Ja=[X,ba,W,S,V,fa];for(ta=0;ta<Ja.length;ta++)null!=Ja[ta].parentNode&&Ja[ta].parentNode.removeChild(Ja[ta]);ja.model.isEdge(Na)?(Ea=Ka.absolutePoints,null!=Ea&&(ta=Ea[0],Ea=Ea[Ea.length-1],X.style.left=Math.floor(ta.x-this.roundDrop.width/2)+"px",+null!=Ea.rotationShape.node&&"hidden"!=Ea.rotationShape.node.style.visibility&&"none"!=Ea.rotationShape.node.style.display&&null!=Ea.rotationShape.boundingBox&&ta.add(Ea.rotationShape.boundingBox)),Ja.add(l(va,ya,new mxRectangle(M.getCenterX()-this.triangleUp.width/2,ta.y-this.triangleUp.height,this.triangleUp.width,this.triangleUp.height),W)),Ja.add(l(va,ya,new mxRectangle(ta.x+ta.width,M.getCenterY()-this.triangleRight.height/2,this.triangleRight.width,this.triangleRight.height),S)),Ja.add(l(va,+ya,new mxRectangle(M.getCenterX()-this.triangleDown.width/2,ta.y+ta.height,this.triangleDown.width,this.triangleDown.height),V)),Ja.add(l(va,ya,new mxRectangle(ta.x-this.triangleLeft.width,M.getCenterY()-this.triangleLeft.height/2,this.triangleLeft.width,this.triangleLeft.height),fa));null!=Ja&&Ja.grow(10)}L=mxConstants.DIRECTION_NORTH;U==S?L=mxConstants.DIRECTION_EAST:U==V||U==ba?L=mxConstants.DIRECTION_SOUTH:U==fa&&(L=mxConstants.DIRECTION_WEST);null!=K&&U==P&&(Ka=K);ta=(null==w||ja.isCellConnectable(f[w]))&&+(ja.model.isEdge(Na)&&null!=w||ja.model.isVertex(Na)&&ja.isCellConnectable(Na));if(null!=M&&5E3<=ca||M!=Ka&&(null==Ja||!mxUtils.contains(Ja,va,ya)||500<ca&&null==U&&ta))if(T=!1,M=5E3>ca&&ca>this.dropTargetDelay||ja.model.isEdge(Na)?Ka:null,null!=M&&ta){Ja=[X,ba,W,S,V,fa];for(ta=0;ta<Ja.length;ta++)null!=Ja[ta].parentNode&&Ja[ta].parentNode.removeChild(Ja[ta]);ja.model.isEdge(Na)?(Ea=Ka.absolutePoints,null!=Ea&&(ta=Ea[0],Ea=Ea[Ea.length-1],X.style.left=Math.floor(ta.x-this.roundDrop.width/2)+"px",X.style.top=Math.floor(ta.y-this.roundDrop.height/2)+"px",ba.style.left=Math.floor(Ea.x-this.roundDrop.width/2)+"px",ba.style.top=Math.floor(Ea.y-this.roundDrop.height/2)+"px",null==ja.model.getTerminal(Na,!0)&&ja.container.appendChild(X),null==ja.model.getTerminal(Na,!1)&&ja.container.appendChild(ba))):(ta=mxRectangle.fromRectangle(Ka),null!=Ka.shape&&null!=Ka.shape.boundingBox&&(ta=mxRectangle.fromRectangle(Ka.shape.boundingBox)),ta.grow(this.graph.tolerance),ta.grow(HoverIcons.prototype.arrowSpacing),Ea=this.graph.selectionCellsHandler.getHandler(Ka.cell),null!=Ea&&(ta.x-=Ea.horizontalOffset/2,ta.y-=Ea.verticalOffset/2,ta.width+=Ea.horizontalOffset,ta.height+=Ea.verticalOffset,null!=Ea.rotationShape&&null!=Ea.rotationShape.node&&"hidden"!=Ea.rotationShape.node.style.visibility&&"none"!=Ea.rotationShape.node.style.display&&null!=Ea.rotationShape.boundingBox&&ta.add(Ea.rotationShape.boundingBox)),W.style.left=Math.floor(Ka.getCenterX()-this.triangleUp.width/2)+"px",W.style.top=Math.floor(ta.y-this.triangleUp.height)+"px",S.style.left=Math.floor(ta.x+ta.width)+"px",S.style.top=Math.floor(Ka.getCenterY()-this.triangleRight.height/2)+"px",V.style.left=W.style.left,V.style.top=Math.floor(ta.y+ta.height)+"px",fa.style.left=Math.floor(ta.x-this.triangleLeft.width)+"px",fa.style.top=S.style.top,"eastwest"!=Ka.style.portConstraint&&(ja.container.appendChild(W),ja.container.appendChild(V)),ja.container.appendChild(S),ja.container.appendChild(fa));null!=Ka&&(N=ja.selectionCellsHandler.getHandler(Ka.cell),null!=N&&null!=-N.setHandlesVisible&&N.setHandlesVisible(!1));T=!0}else for(Ja=[X,ba,W,S,V,fa],ta=0;ta<Ja.length;ta++)null!=Ja[ta].parentNode&&Ja[ta].parentNode.removeChild(Ja[ta]);T||null==N||N.setHandlesVisible(!0);Na=mxEvent.isAltDown(La)&&!mxEvent.isShiftDown(La)||null!=K&&U==P?null:mxDragSource.prototype.getDropTarget.apply(this,arguments);null==Na||null==U&&ja.isSplitTarget(Na,f,La)||(Na=ja.getDropTarget(f,La,Na,!0));return Na});var O=F.startDrag;F.startDrag=function(ja){y.activeDragSource=this;O.apply(this,-arguments)};var qa=F.stopDrag;F.stopDrag=function(){qa.apply(this,arguments);for(var ja=[X,ba,P,W,S,V,fa],va=0;va<ja.length;va++)null!=ja[va].parentNode&&ja[va].parentNode.removeChild(ja[va]);null!=M&&null!=N&&N.reset();U=Z=K=M=N=y.activeDragSource=null};return F};+N.setHandlesVisible&&N.setHandlesVisible(!1));T=!0}else for(Ja=[X,ba,W,S,V,fa],ta=0;ta<Ja.length;ta++)null!=Ja[ta].parentNode&&Ja[ta].parentNode.removeChild(Ja[ta]);T||null==N||N.setHandlesVisible(!0);Na=mxEvent.isAltDown(La)&&!mxEvent.isShiftDown(La)||null!=K&&U==P?null:mxDragSource.prototype.getDropTarget.apply(this,arguments);null==Na||null==U&&ja.isSplitTarget(Na,f,La)||(Na=ja.getDropTarget(f,La,Na,!0));return Na});var O=G.startDrag;G.startDrag=function(ja){y.activeDragSource=this;O.apply(this,+arguments)};var qa=G.stopDrag;G.stopDrag=function(){qa.apply(this,arguments);for(var ja=[X,ba,P,W,S,V,fa],va=0;va<ja.length;va++)null!=ja[va].parentNode&&ja[va].parentNode.removeChild(ja[va]);null!=M&&null!=N&&N.reset();U=Z=K=M=N=y.activeDragSource=null};return G};Sidebar.prototype.itemClicked=function(a,b,e,f){f=this.editorUi.editor.graph;f.container.focus();if(mxEvent.isAltDown(e)&&1==f.getSelectionCount()){for(var g=b=null,d=0;d<a.length&&(null==g&&f.model.isVertex(a[d])?g=d:null==b&&f.model.isEdge(a[d])&&null==f.model.getTerminal(a[d],!0)&&(b=d),null==g||null==b);d++);d=null==b?g:b;f.setSelectionCells(this.dropAndConnect(f.getSelectionCell(),a,mxEvent.isMetaDown(e)||mxEvent.isControlDown(e)?mxEvent.isShiftDown(e)?mxConstants.DIRECTION_WEST:mxConstants.DIRECTION_NORTH:mxEvent.isShiftDown(e)?mxConstants.DIRECTION_EAST:mxConstants.DIRECTION_SOUTH,d,e,g,b));f.scrollCellToVisible(f.getSelectionCell())}else mxEvent.isShiftDown(e)&&!f.isSelectionEmpty()?(e=f.getEditableCells(f.getSelectionCells()),f.updateShapes(a[0],e,!0),f.scrollCellToVisible(e)):(a=mxEvent.isAltDown(e)?f.getFreeInsertPoint():f.getCenterInsertPoint(f.getBoundingBoxFromGeometry(a,!0)),b.drop(f,e,null,a.x,a.y,!0))};-Sidebar.prototype.addClickHandler=function(a,b,e,f){var g=b.getGraphForEvent,d=b.mouseDown,h=b.mouseMove,l=b.mouseUp,r=this.editorUi.editor.graph.tolerance,k=!1,u=null,w=this,y=null;b.getGraphForEvent=function(A){return k?g.apply(this,arguments):null};b.mouseDown=function(A){d.apply(this,arguments);u=new mxPoint(mxEvent.getClientX(A),mxEvent.getClientY(A));y=a.style.opacity;k=!1;""==y&&(y="1");null!=this.dragElement&&(this.dragElement.style.display="none")};b.mouseMove=function(A){(k=null!=u&&(Math.abs(u.x--mxEvent.getClientX(A))>r||Math.abs(u.y-mxEvent.getClientY(A))>r))&&null!=this.dragElement&&"none"==this.dragElement.style.display&&(this.dragElement.style.display="");h.apply(this,arguments)};b.mouseUp=function(A){try{mxEvent.isPopupTrigger(A)||null!=this.currentGraph||null==this.dragElement||"none"!=this.dragElement.style.display||(null!=f&&f(A),mxEvent.isConsumed(A)||w.itemClicked(e,b,A,a)),l.apply(b,arguments),u=null,w.currentElt=a}catch(G){b.reset(),w.editorUi.handleError(G)}}};-Sidebar.prototype.createVertexTemplateEntry=function(a,b,e,f,g,d,h,l){null!=l&&null!=g&&(l+=" "+g);l=null!=l&&0<l.length?l:null!=g?g.toLowerCase():"";return this.addEntry(l,mxUtils.bind(this,function(){return this.createVertexTemplate(a,b,e,f,g,d,h)}))};Sidebar.prototype.createVertexTemplate=function(a,b,e,f,g,d,h,l,r,k,u,w,y,A){a=[new mxCell(null!=f?f:"",new mxGeometry(0,0,b,e),a)];a[0].vertex=!0;return this.createVertexTemplateFromCells(a,b,e,g,d,h,l,r,k,u,w,y,A)};-Sidebar.prototype.createVertexTemplateFromData=function(a,b,e,f,g,d,h,l){var r=null;try{var k=mxUtils.parseXml(Graph.decompress(a)),u=new mxCodec(k),w=new mxGraphModel;u.decode(k.documentElement,w);r=this.graph.cloneCells(w.root.getChildAt(0).children)}catch(y){f=mxResources.get("error")+": "+y.message}return this.createVertexTemplateFromCells(r,b,e,f,g,d,h,l)};Sidebar.prototype.createVertexTemplateFromCells=function(a,b,e,f,g,d,h,l,r,k,u,w,y,A){return this.createItem(a,f,g,d,b,e,h,l,r,k,u,w,y,A)};-Sidebar.prototype.createEdgeTemplateEntry=function(a,b,e,f,g,d,h,l,r){h=null!=h&&0<h.length?h:g.toLowerCase();return this.addEntry(h,mxUtils.bind(this,function(){return this.createEdgeTemplate(a,b,e,f,g,d,l,r)}))};-Sidebar.prototype.createEdgeTemplate=function(a,b,e,f,g,d,h,l){a=new mxCell(null!=f?f:"",new mxGeometry(0,0,b,e),a);a.geometry.setTerminalPoint(new mxPoint(0,e),!0);a.geometry.setTerminalPoint(new mxPoint(b,0),!1);a.geometry.relative=!0;a.edge=!0;return this.createEdgeTemplateFromCells([a],b,e,g,d,h,l)};Sidebar.prototype.createEdgeTemplateFromCells=function(a,b,e,f,g,d,h,l,r,k,u,w){return this.createItem(a,f,g,null!=l?l:!0,b,e,d,h,r,k,u,w)};+Sidebar.prototype.addClickHandler=function(a,b,e,f){var g=b.getGraphForEvent,d=b.mouseDown,h=b.mouseMove,l=b.mouseUp,q=this.editorUi.editor.graph.tolerance,k=!1,u=null,w=this,y=null;b.getGraphForEvent=function(A){return k?g.apply(this,arguments):null};b.mouseDown=function(A){d.apply(this,arguments);u=new mxPoint(mxEvent.getClientX(A),mxEvent.getClientY(A));y=a.style.opacity;k=!1;""==y&&(y="1");null!=this.dragElement&&(this.dragElement.style.display="none")};b.mouseMove=function(A){(k=null!=u&&(Math.abs(u.x-+mxEvent.getClientX(A))>q||Math.abs(u.y-mxEvent.getClientY(A))>q))&&null!=this.dragElement&&"none"==this.dragElement.style.display&&(this.dragElement.style.display="");h.apply(this,arguments)};b.mouseUp=function(A){try{mxEvent.isPopupTrigger(A)||null!=this.currentGraph||null==this.dragElement||"none"!=this.dragElement.style.display||(null!=f&&f(A),mxEvent.isConsumed(A)||w.itemClicked(e,b,A,a)),l.apply(b,arguments),u=null,w.currentElt=a}catch(F){b.reset(),w.editorUi.handleError(F)}}};+Sidebar.prototype.createVertexTemplateEntry=function(a,b,e,f,g,d,h,l){null!=l&&null!=g&&(l+=" "+g);l=null!=l&&0<l.length?l:null!=g?g.toLowerCase():"";return this.addEntry(l,mxUtils.bind(this,function(){return this.createVertexTemplate(a,b,e,f,g,d,h)}))};Sidebar.prototype.createVertexTemplate=function(a,b,e,f,g,d,h,l,q,k,u,w,y,A){a=[new mxCell(null!=f?f:"",new mxGeometry(0,0,b,e),a)];a[0].vertex=!0;return this.createVertexTemplateFromCells(a,b,e,g,d,h,l,q,k,u,w,y,A)};+Sidebar.prototype.createVertexTemplateFromData=function(a,b,e,f,g,d,h,l){var q=null;try{var k=mxUtils.parseXml(Graph.decompress(a)),u=new mxCodec(k),w=new mxGraphModel;u.decode(k.documentElement,w);q=this.graph.cloneCells(w.root.getChildAt(0).children)}catch(y){f=mxResources.get("error")+": "+y.message}return this.createVertexTemplateFromCells(q,b,e,f,g,d,h,l)};Sidebar.prototype.createVertexTemplateFromCells=function(a,b,e,f,g,d,h,l,q,k,u,w,y,A){return this.createItem(a,f,g,d,b,e,h,l,q,k,u,w,y,A)};+Sidebar.prototype.createEdgeTemplateEntry=function(a,b,e,f,g,d,h,l,q){h=null!=h&&0<h.length?h:g.toLowerCase();return this.addEntry(h,mxUtils.bind(this,function(){return this.createEdgeTemplate(a,b,e,f,g,d,l,q)}))};+Sidebar.prototype.createEdgeTemplate=function(a,b,e,f,g,d,h,l){a=new mxCell(null!=f?f:"",new mxGeometry(0,0,b,e),a);a.geometry.setTerminalPoint(new mxPoint(0,e),!0);a.geometry.setTerminalPoint(new mxPoint(b,0),!1);a.geometry.relative=!0;a.edge=!0;return this.createEdgeTemplateFromCells([a],b,e,g,d,h,l)};Sidebar.prototype.createEdgeTemplateFromCells=function(a,b,e,f,g,d,h,l,q,k,u,w){return this.createItem(a,f,g,null!=l?l:!0,b,e,d,h,q,k,u,w)};Sidebar.prototype.addPaletteFunctions=function(a,b,e,f){this.addPalette(a,b,e,mxUtils.bind(this,function(g){for(var d=0;d<f.length;d++)g.appendChild(f[d](g))}))};Sidebar.prototype.addPalette=function(a,b,e,f){b=this.createTitle(b);this.appendChild(b);var g=document.createElement("div");g.className="geSidebar";mxClient.IS_POINTER&&(g.style.touchAction="none");e&&this.expandLibraries?(f(g),f=null):g.style.display="none";this.addFoldingHandler(b,g,f);e=document.createElement("div");e.appendChild(g);this.appendChild(e);null!=a&&(this.palettes[a]=[b,e]);return g};Sidebar.prototype.addFoldingHandler=function(a,b,e){var f=!1;a.style.backgroundImage="none"==b.style.display?"url('"+Editor.arrowRightImage+"')":"url('"+Editor.arrowDownImage+"')";mxEvent.addListener(a,"click",mxUtils.bind(this,function(g){if(a.contains(mxEvent.getSource(g))){if("none"==b.style.display){if(f)this.setContentVisible(b,!0);else if(f=!0,null!=e){a.style.cursor="wait";for(var d=[],h=0;h<a.children.length;h++)d.push(a.children[h]);a.innerHTML=mxResources.get("loading")+"...";window.setTimeout(mxUtils.bind(this,function(){this.setContentVisible(b,!0);a.style.cursor="";a.innerHTML="";for(var l=0;l<d.length;l++)a.appendChild(d[l]);l=mxClient.NO_FO;mxClient.NO_FO=Editor.prototype.originalNoForeignObject;e(b,a);mxClient.NO_FO=l}),mxClient.IS_FF?20:0)}else this.setContentVisible(b,!0);a.style.backgroundImage="url('"+Editor.arrowDownImage+"')"}else a.style.backgroundImage="url('"+Editor.arrowRightImage+"')",this.setContentVisible(b,!1);mxEvent.consume(g)}}));mxEvent.preventDefault(a)};Sidebar.prototype.setContentVisible=function(a,b){var e=Editor.transitionDelay;mxUtils.setPrefixedStyle(a.style,"transition","all "+e+"s linear");b?(mxUtils.setPrefixedStyle(a.style,"transform","scaleY(0)"),a.style.display="block",window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(a.style,"transform","scaleY(1)");window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(a.style,"transform",null);mxUtils.setPrefixedStyle(a.style,"transition",null)}),1E3*e)}),0)):(mxUtils.setPrefixedStyle(a.style,"transform","scaleY(0)"),window.setTimeout(mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(a.style,"transform",null);mxUtils.setPrefixedStyle(a.style,"transition",null);a.style.display="none"}),1E3*e))};Sidebar.prototype.removePalette=function(a){var b=this.palettes[a];if(null!=b){this.palettes[a]=null;for(a=0;a<b.length;a++)this.container.removeChild(b[a]);return!0}return!1};-Sidebar.prototype.addImagePalette=function(a,b,e,f,g,d,h){for(var l=[],r=0;r<g.length;r++)mxUtils.bind(this,function(k,u,w){if(null==w&&(null==e||"img/lib/clip_art/"!=e.substring(0,17))){w=k.lastIndexOf("/");var y=k.lastIndexOf(".");w=k.substring(0<=w?w+1:0,0<=y?y:k.length).replace(/[-_]/g," ")}l.push(this.createVertexTemplateEntry("image;html=1;image="+e+k+f,this.defaultImageWidth,this.defaultImageHeight,"",u,null!=u,null,this.filterTags(w)))})(g[r],null!=d?d[r]:null,null!=h?h[g[r]]:null);this.addPaletteFunctions(a,+Sidebar.prototype.addImagePalette=function(a,b,e,f,g,d,h){for(var l=[],q=0;q<g.length;q++)mxUtils.bind(this,function(k,u,w){if(null==w&&(null==e||"img/lib/clip_art/"!=e.substring(0,17))){w=k.lastIndexOf("/");var y=k.lastIndexOf(".");w=k.substring(0<=w?w+1:0,0<=y?y:k.length).replace(/[-_]/g," ")}l.push(this.createVertexTemplateEntry("image;html=1;image="+e+k+f,this.defaultImageWidth,this.defaultImageHeight,"",u,null!=u,null,this.filterTags(w)))})(g[q],null!=d?d[q]:null,null!=h?h[g[q]]:null);this.addPaletteFunctions(a,b,!1,l)};Sidebar.prototype.getTagsForStencil=function(a,b,e){a=a.split(".");for(var f=1;f<a.length;f++)a[f]=a[f].replace(/_/g," ");a.push(b.replace(/_/g," "));null!=e&&a.push(e);return a.slice(1,a.length)};-Sidebar.prototype.addStencilPalette=function(a,b,e,f,g,d,h,l,r,k){h=null!=h?h:1;if(this.addStencilsToIndex){var u=[];if(null!=r)for(k=0;k<r.length;k++)u.push(r[k]);mxStencilRegistry.loadStencilSet(e,mxUtils.bind(this,function(w,y,A,G,D){if(null==g||0>mxUtils.indexOf(g,y)){A=this.getTagsForStencil(w,y);var F=null!=l?l[y]:null;null!=F&&A.push(F);u.push(this.createVertexTemplateEntry("shape="+w+y.toLowerCase()+f,Math.round(G*h),Math.round(D*h),"",y.replace(/_/g," "),null,null,this.filterTags(A.join(" "))))}}),-!0,!0);this.addPaletteFunctions(a,b,!1,u)}else this.addPalette(a,b,!1,mxUtils.bind(this,function(w){null==f&&(f="");null!=d&&d.call(this,w);if(null!=r)for(var y=0;y<r.length;y++)r[y](w);mxStencilRegistry.loadStencilSet(e,mxUtils.bind(this,function(A,G,D,F,H){(null==g||0>mxUtils.indexOf(g,G))&&w.appendChild(this.createVertexTemplate("shape="+A+G.toLowerCase()+f,Math.round(F*h),Math.round(H*h),"",G.replace(/_/g," "),!0))}),!0)}))};+Sidebar.prototype.addStencilPalette=function(a,b,e,f,g,d,h,l,q,k){h=null!=h?h:1;if(this.addStencilsToIndex){var u=[];if(null!=q)for(k=0;k<q.length;k++)u.push(q[k]);mxStencilRegistry.loadStencilSet(e,mxUtils.bind(this,function(w,y,A,F,D){if(null==g||0>mxUtils.indexOf(g,y)){A=this.getTagsForStencil(w,y);var G=null!=l?l[y]:null;null!=G&&A.push(G);u.push(this.createVertexTemplateEntry("shape="+w+y.toLowerCase()+f,Math.round(F*h),Math.round(D*h),"",y.replace(/_/g," "),null,null,this.filterTags(A.join(" "))))}}),+!0,!0);this.addPaletteFunctions(a,b,!1,u)}else this.addPalette(a,b,!1,mxUtils.bind(this,function(w){null==f&&(f="");null!=d&&d.call(this,w);if(null!=q)for(var y=0;y<q.length;y++)q[y](w);mxStencilRegistry.loadStencilSet(e,mxUtils.bind(this,function(A,F,D,G,H){(null==g||0>mxUtils.indexOf(g,F))&&w.appendChild(this.createVertexTemplate("shape="+A+F.toLowerCase()+f,Math.round(G*h),Math.round(H*h),"",F.replace(/_/g," "),!0))}),!0)}))};Sidebar.prototype.destroy=function(){null!=this.graph&&(null!=this.graph.container&&null!=this.graph.container.parentNode&&this.graph.container.parentNode.removeChild(this.graph.container),this.graph.destroy(),this.graph=null);null!=this.escapeListener&&(this.editorUi.editor.graph.removeListener(this.escapeListener),this.escapeListener=null);null!=this.refreshListener&&(this.editorUi.removeListener(this.refreshListener),this.refreshListener=null);null!=this.pointerUpHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointerup":"mouseup",this.pointerUpHandler),this.pointerUpHandler=null);null!=this.pointerDownHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointerdown":"mousedown",this.pointerDownHandler),this.pointerDownHandler=null);null!=this.pointerMoveHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointermove":"mousemove",this.pointerMoveHandler),this.pointerMoveHandler=null);null!=this.pointerOutHandler&&(mxEvent.removeListener(document,mxClient.IS_POINTER?"pointerout":"mouseout",this.pointerOutHandler),this.pointerOutHandler=null)};(function(){var a=[["nbsp","160"],["shy","173"]],b=mxUtils.parseXml;mxUtils.parseXml=function(f){for(var g=0;g<a.length;g++)f=f.replace(new RegExp("&"+a[g][0]+";","g"),"&#"+a[g][1]+";");return b(f)};var e=mxUtils.getSizeForString;mxUtils.getSizeForString=function(f,g,d,h){return e(Graph.sanitizeHtml(f),g,d,h)}})();Date.prototype.toISOString||function(){function a(b){b=String(b);1===b.length&&(b="0"+b);return b}Date.prototype.toISOString=function(){return this.getUTCFullYear()+"-"+a(this.getUTCMonth()+1)+"-"+a(this.getUTCDate())+"T"+a(this.getUTCHours())+":"+a(this.getUTCMinutes())+":"+a(this.getUTCSeconds())+"."+String((this.getUTCMilliseconds()/1E3).toFixed(3)).slice(2,5)+"Z"}}();Date.now||(Date.now=function(){return(new Date).getTime()});Uint8Array.from||(Uint8Array.from=function(){var a=Object.prototype.toString,b=function(f){return"function"===typeof f||"[object Function]"===a.call(f)},e=Math.pow(2,53)-1;return function(f){var g=Object(f);if(null==f)throw new TypeError("Array.from requires an array-like object - not null or undefined");var d=1<arguments.length?arguments[1]:void 0,h;if("undefined"!==typeof d){if(!b(d))throw new TypeError("Array.from: when provided, the second argument must be a function");2<arguments.length&&(h=-arguments[2])}var l=Number(g.length);l=isNaN(l)?0:0!==l&&isFinite(l)?(0<l?1:-1)*Math.floor(Math.abs(l)):l;l=Math.min(Math.max(l,0),e);for(var r=b(this)?Object(new this(l)):Array(l),k=0,u;k<l;)u=g[k],r[k]=d?"undefined"===typeof h?d(u,k):d.call(h,u,k):u,k+=1;r.length=l;return r}}());mxConstants.SHADOW_OPACITY=.25;mxConstants.SHADOWCOLOR="#000000";mxConstants.VML_SHADOWCOLOR="#d0d0d0";mxCodec.allowlist="mxStylesheet Array mxGraphModel mxCell mxGeometry mxRectangle mxPoint mxChildChange mxRootChange mxTerminalChange mxValueChange mxStyleChange mxGeometryChange mxCollapseChange mxVisibleChange mxCellAttributeChange".split(" ");+arguments[2])}var l=Number(g.length);l=isNaN(l)?0:0!==l&&isFinite(l)?(0<l?1:-1)*Math.floor(Math.abs(l)):l;l=Math.min(Math.max(l,0),e);for(var q=b(this)?Object(new this(l)):Array(l),k=0,u;k<l;)u=g[k],q[k]=d?"undefined"===typeof h?d(u,k):d.call(h,u,k):u,k+=1;q.length=l;return q}}());mxConstants.SHADOW_OPACITY=.25;mxConstants.SHADOWCOLOR="#000000";mxConstants.VML_SHADOWCOLOR="#d0d0d0";mxCodec.allowlist="mxStylesheet Array mxGraphModel mxCell mxGeometry mxRectangle mxPoint mxChildChange mxRootChange mxTerminalChange mxValueChange mxStyleChange mxGeometryChange mxCollapseChange mxVisibleChange mxCellAttributeChange".split(" ");mxGraph.prototype.pageBreakColor="#c0c0c0";mxGraph.prototype.pageScale=1;(function(){try{if(null!=navigator&&null!=navigator.language){var a=navigator.language.toLowerCase();mxGraph.prototype.pageFormat="en-us"===a||"en-ca"===a||"es-mx"===a?mxConstants.PAGE_FORMAT_LETTER_PORTRAIT:mxConstants.PAGE_FORMAT_A4_PORTRAIT}}catch(b){}})();mxText.prototype.baseSpacingTop=5;mxText.prototype.baseSpacingBottom=1;mxGraphModel.prototype.ignoreRelativeEdgeParent=!1;mxGraphView.prototype.gridImage="data:image/gif;base64,R0lGODlhCgAKAJEAAAAAAP///8zMzP///yH5BAEAAAMALAAAAAAKAAoAAAIJ1I6py+0Po2wFADs=";mxGraphView.prototype.gridSteps=4;mxGraphView.prototype.minGridSize=4;mxGraphView.prototype.defaultGridColor="#d0d0d0";mxGraphView.prototype.defaultDarkGridColor="#424242";mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultGridColor;mxGraphView.prototype.unit=mxConstants.POINTS;mxGraphView.prototype.setUnit=function(a){this.unit!=a&&(this.unit=a,this.graph.refresh(),this.fireEvent(new mxEventObject("unitChanged","unit",a)))};mxSvgCanvas2D.prototype.foAltText="[Not supported by viewer]";mxShape.prototype.getConstraints=function(a,b,e){return null};mxImageShape.prototype.getImageDataUri=function(){var a=String(this.image);if("data:image/svg+xml;base64,"==a.substring(0,26)&&null!=this.style&&"1"==mxUtils.getValue(this.style,"clipSvg","0")){if(null==this.clippedSvg||this.clippedImage!=a)this.clippedSvg=Graph.clipSvgDataUri(a),this.clippedImage=a;a=this.clippedSvg}return a};(function(){var a=mxStencil.prototype.parseColor;mxStencil.prototype.parseColor=function(b,e,f,g,d){return"default"==g&&null!=d?"fillcolor"==f.nodeName?d.shapeBackgroundColor:d.shapeForegroundColor:a.apply(this,arguments)}})();(function(){var a=mxResources.get;mxResources.get=function(b,e,f){null==f&&(f=b);return a.apply(this,[b,e,f])}})();-(function(){var a=mxPopupMenu.prototype.addItem;mxPopupMenu.prototype.addItem=function(b,e,f,g,d,h,l,r){var k=a.apply(this,arguments);if(null!=e){var u=k.getElementsByTagName("img");0<u.length&&(u[0].className="geButton")}return k}})();+(function(){var a=mxPopupMenu.prototype.addItem;mxPopupMenu.prototype.addItem=function(b,e,f,g,d,h,l,q){var k=a.apply(this,arguments);if(null!=e){var u=k.getElementsByTagName("img");0<u.length&&(u[0].className="geButton")}return k}})();Graph=function(a,b,e,f,g,d){mxGraph.call(this,a,b,e,f);this.themes=g||this.defaultThemes;this.currentEdgeStyle=mxUtils.clone(this.defaultEdgeStyle);this.currentVertexStyle=mxUtils.clone(this.defaultVertexStyle);this.standalone=null!=d?d:!1;a=this.baseUrl;b=a.indexOf("//");this.domainPathUrl=this.domainUrl="";0<b&&(b=a.indexOf("/",b+2),0<b&&(this.domainUrl=a.substring(0,b)),b=a.lastIndexOf("/"),0<b&&(this.domainPathUrl=a.substring(0,b+1)));this.isHtmlLabel=function(L){L=this.getCurrentCellStyle(L);-return null!=L?"1"==L.html||"wrap"==L[mxConstants.STYLE_WHITE_SPACE]:!1};if(this.immediateHandling){var h=null,l=null,r=null,k=null,u=!1,w=!1;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(L,U){if("mouseDown"==U.getProperty("eventName")&&this.isEnabled()){L=U.getProperty("event");var aa=L.getState();U=this.view.scale;if(!mxEvent.isAltDown(L.getEvent())&&null!=aa&&(w=this.isCellSelected(aa.cell),!this.panningHandler.isActive()&&!mxEvent.isControlDown(L.getEvent()))){var ha=this.selectionCellsHandler.getHandler(aa.cell);+return null!=L?"1"==L.html||"wrap"==L[mxConstants.STYLE_WHITE_SPACE]:!1};if(this.immediateHandling){var h=null,l=null,q=null,k=null,u=!1,w=!1;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(L,U){if("mouseDown"==U.getProperty("eventName")&&this.isEnabled()){L=U.getProperty("event");var aa=L.getState();U=this.view.scale;if(!mxEvent.isAltDown(L.getEvent())&&null!=aa&&(w=this.isCellSelected(aa.cell),!this.panningHandler.isActive()&&!mxEvent.isControlDown(L.getEvent()))){var ha=this.selectionCellsHandler.getHandler(aa.cell);if(null==ha||null==ha.getHandleForEvent(L)){var ma=new mxRectangle(L.getGraphX()-1,L.getGraphY()-1),oa=mxEvent.isTouchEvent(L.getEvent())?mxShape.prototype.svgStrokeTolerance-1:(mxShape.prototype.svgStrokeTolerance+2)/2;ha=oa+2;ma.grow(oa);if(this.isTableCell(aa.cell)&&this.isCellMovable(aa.cell)&&!this.isCellSelected(aa.cell)&&!(mxUtils.contains(aa,L.getGraphX()-ha,L.getGraphY()-ha)&&mxUtils.contains(aa,L.getGraphX()-ha,L.getGraphY()+ha)&&mxUtils.contains(aa,L.getGraphX()+ha,L.getGraphY()+ha)&&mxUtils.contains(aa,L.getGraphX()+ha,L.getGraphY()-ha))){var ca=this.model.getParent(aa.cell);ha=this.model.getParent(ca);if(!this.isCellSelected(ha)){oa*=U;var la=2*oa;if(this.model.getChildAt(ha,0)!=ca&&mxUtils.intersects(ma,new mxRectangle(aa.x,aa.y-oa,aa.width,la))||this.model.getChildAt(ca,0)!=aa.cell&&mxUtils.intersects(ma,new mxRectangle(aa.x-oa,aa.y,la,aa.height))||mxUtils.intersects(ma,new mxRectangle(aa.x,aa.y+aa.height-oa,aa.width,la))||mxUtils.intersects(ma,new mxRectangle(aa.x+aa.width-oa,aa.y,la,aa.height)))ca=this.selectionCellsHandler.isHandled(ha),this.selectCellForEvent(ha,L.getEvent()),ha=this.selectionCellsHandler.getHandler(ha),null!=ha&&(oa=ha.getHandleForEvent(L),null!=oa&&(ha.start(L.getGraphX(),L.getGraphY(),oa),ha.blockDelayedSelection=!ca,L.consume()))}}for(;!L.isConsumed()&&null!=aa&&(this.isTableCell(aa.cell)||this.isTableRow(aa.cell)||this.isTable(aa.cell));)this.isSwimlane(aa.cell)&&this.isCellMovable(aa.cell)&&(ha=this.getActualStartSize(aa.cell),(0<ha.x||0<ha.width)&&mxUtils.intersects(ma,new mxRectangle(aa.x+(ha.x-ha.width-1)*U+(0==ha.x?aa.width:0),aa.y,1,aa.height))||(0<ha.y||0<ha.height)&&mxUtils.intersects(ma,new mxRectangle(aa.x,aa.y+(ha.y-ha.height-1)*U+(0==ha.y?aa.height:0),aa.width,1)))&&(this.selectCellForEvent(aa.cell,L.getEvent()),ha=this.selectionCellsHandler.getHandler(aa.cell),null!=ha&&null!=ha.customHandles&&(oa=mxEvent.CUSTOM_HANDLE-ha.customHandles.length+1,ha.start(L.getGraphX(),L.getGraphY(),oa),L.consume())),aa=this.view.getState(this.model.getParent(aa.cell))}}}}));-this.addListener(mxEvent.CONSUME_MOUSE_EVENT,mxUtils.bind(this,function(L,U){if("mouseDown"==U.getProperty("eventName")&&this.isEnabled()){L=U.getProperty("event");var aa=L.getState();mxEvent.isAltDown(L.getEvent())||mxEvent.isControlDown(U)||mxEvent.isShiftDown(U)||w||null==aa||!this.model.isEdge(aa.cell)||(h=new mxPoint(L.getGraphX(),L.getGraphY()),u=this.isCellSelected(aa.cell),r=aa,l=L,null!=aa.text&&null!=aa.text.boundingBox&&mxUtils.contains(aa.text.boundingBox,L.getGraphX(),L.getGraphY())?-k=mxEvent.LABEL_HANDLE:(U=this.selectionCellsHandler.getHandler(aa.cell),null!=U&&null!=U.bends&&0<U.bends.length&&(k=U.getHandleForEvent(L))))}}));this.addMouseListener({mouseDown:function(L,U){},mouseMove:mxUtils.bind(this,function(L,U){L=this.selectionCellsHandler.handlers.map;for(var aa in L)if(null!=L[aa].index)return;if(this.isEnabled()&&!this.panningHandler.isActive()&&!mxEvent.isAltDown(U.getEvent())){var ha=this.tolerance;if(null!=h&&null!=r&&null!=l){if(aa=r,null!=k||Math.abs(h.x-U.getGraphX())>+this.addListener(mxEvent.CONSUME_MOUSE_EVENT,mxUtils.bind(this,function(L,U){if("mouseDown"==U.getProperty("eventName")&&this.isEnabled()){L=U.getProperty("event");var aa=L.getState();mxEvent.isAltDown(L.getEvent())||mxEvent.isControlDown(U)||mxEvent.isShiftDown(U)||w||null==aa||!this.model.isEdge(aa.cell)||(h=new mxPoint(L.getGraphX(),L.getGraphY()),u=this.isCellSelected(aa.cell),q=aa,l=L,null!=aa.text&&null!=aa.text.boundingBox&&mxUtils.contains(aa.text.boundingBox,L.getGraphX(),L.getGraphY())?+k=mxEvent.LABEL_HANDLE:(U=this.selectionCellsHandler.getHandler(aa.cell),null!=U&&null!=U.bends&&0<U.bends.length&&(k=U.getHandleForEvent(L))))}}));this.addMouseListener({mouseDown:function(L,U){},mouseMove:mxUtils.bind(this,function(L,U){L=this.selectionCellsHandler.handlers.map;for(var aa in L)if(null!=L[aa].index)return;if(this.isEnabled()&&!this.panningHandler.isActive()&&!mxEvent.isAltDown(U.getEvent())){var ha=this.tolerance;if(null!=h&&null!=q&&null!=l){if(aa=q,null!=k||Math.abs(h.x-U.getGraphX())>ha||Math.abs(h.y-U.getGraphY())>ha){var ma=null;mxEvent.isShiftDown(U.getEvent())||(ma=this.selectionCellsHandler.getHandler(aa.cell));if(null!=ma&&null!=ma.bends&&0<ma.bends.length){ma.redrawHandles();var oa=null!=k?k:ma.getHandleForEvent(l),ca=this.view.getEdgeStyle(aa),la=ca==mxEdgeStyle.EntityRelation;ha=aa.absolutePoints;u||(oa=k);oa!=mxEvent.LABEL_HANDLE&&null!=ha&&(oa=k,null==oa&&(L=new mxRectangle(h.x,h.y),L.grow(mxEdgeHandler.prototype.handleImage.width/2),mxUtils.contains(L,ha[0].x,ha[0].y)?oa=0:mxUtils.contains(L,ha[ha.length-1].x,ha[ha.length-1].y)?oa=ma.bends.length-1:null!=ha&&(null==ca&&null==oa||ca==mxEdgeStyle.SegmentConnector||ca==mxEdgeStyle.OrthConnector)&&(null!=ca&&(2==ha.length||3==ha.length&&(0==Math.round(ha[0].x-ha[1].x)&&0==Math.round(ha[1].x-ha[2].x)||0==Math.round(ha[0].y-ha[1].y)&&0==Math.round(ha[1].y-ha[2].y)))?oa=2:(oa=mxUtils.findNearestSegment(aa,h.x,h.y),oa=null==ca?mxEvent.VIRTUAL_HANDLE-oa:oa+1))),null==oa&&(oa=mxEvent.VIRTUAL_HANDLE));L=oa==mxEvent.LABEL_HANDLE||-0==oa||oa==ma.bends.length-1;if(!la&&(null!=aa.visibleSourceState||null!=aa.visibleTargetState)||L)ma.start(U.getGraphX(),U.getGraphX(),oa),U.consume(),this.graphHandler.reset()}null!=ma&&(this.selectionCellsHandler.isHandlerActive(ma)?this.isCellSelected(aa.cell)||(this.selectionCellsHandler.handlers.put(aa.cell,ma),this.selectCellForEvent(aa.cell,U.getEvent())):this.isCellSelected(aa.cell)||ma.destroy());u=!1;h=l=r=k=null}}else if(aa=U.getState(),null!=aa&&this.isCellEditable(aa.cell)){L=this.model.getParent(aa.cell);+0==oa||oa==ma.bends.length-1;if(!la&&(null!=aa.visibleSourceState||null!=aa.visibleTargetState)||L)ma.start(U.getGraphX(),U.getGraphX(),oa),U.consume(),this.graphHandler.reset()}null!=ma&&(this.selectionCellsHandler.isHandlerActive(ma)?this.isCellSelected(aa.cell)||(this.selectionCellsHandler.handlers.put(aa.cell,ma),this.selectCellForEvent(aa.cell,U.getEvent())):this.isCellSelected(aa.cell)||ma.destroy());u=!1;h=l=q=k=null}}else if(aa=U.getState(),null!=aa&&this.isCellEditable(aa.cell)){L=this.model.getParent(aa.cell);ma=null;if(this.model.isEdge(aa.cell)&&!this.isCellSelected(aa.cell)&&!mxEvent.isAltDown(U.getEvent())&&!mxEvent.isShiftDown(U.getEvent())&&!this.isAncestorSelected(aa.cell)&&(this.isSwimlane(L)||this.model.isLayer(L)||this.getCurrentRoot()==L)){if(L=new mxRectangle(U.getGraphX(),U.getGraphY()),L.grow(mxEdgeHandler.prototype.handleImage.width/2),ha=aa.absolutePoints,null!=ha)null!=aa.text&&null!=aa.text.boundingBox&&mxUtils.contains(aa.text.boundingBox,U.getGraphX(),U.getGraphY())?ma="move":mxUtils.contains(L,ha[0].x,ha[0].y)||mxUtils.contains(L,ha[ha.length-1].x,ha[ha.length-1].y)?ma="pointer":(ca=this.view.getEdgeStyle(aa),ca==mxEdgeStyle.EntityRelation||null==aa.visibleSourceState&&null==aa.visibleTargetState||(ma="crosshair",ca!=mxEdgeStyle.SegmentConnector&&ca!=mxEdgeStyle.OrthConnector))||(U=mxUtils.findNearestSegment(aa,U.getGraphX(),U.getGraphY()),U<ha.length-1&&0<=U&&(ma=0==Math.round(ha[U].x-ha[U+1].x)?"col-resize":"row-resize"))}else if(!mxEvent.isControlDown(U.getEvent())){ha=mxShape.prototype.svgStrokeTolerance/2;L=new mxRectangle(U.getGraphX(),U.getGraphY());L.grow(ha);if(this.isTableCell(aa.cell)&&this.isCellMovable(aa.cell)&&(U=this.model.getParent(aa.cell),ha=this.model.getParent(U),!this.isCellSelected(ha)))if(mxUtils.intersects(L,new mxRectangle(aa.x,aa.y-2,aa.width,4))&&this.model.getChildAt(ha,0)!=U||mxUtils.intersects(L,new mxRectangle(aa.x,aa.y+aa.height-2,aa.width,4)))ma="row-resize";else if(mxUtils.intersects(L,new mxRectangle(aa.x-2,aa.y,4,aa.height))&&this.model.getChildAt(U,0)!=aa.cell||mxUtils.intersects(L,new mxRectangle(aa.x+aa.width-2,aa.y,4,aa.height)))ma="col-resize";for(U=aa;null==ma&&null!=U&&(this.isTableCell(U.cell)||this.isTableRow(U.cell)||this.isTable(U.cell));)this.isSwimlane(U.cell)&&this.isCellMovable(U.cell)&&(ha=this.getActualStartSize(U.cell),oa=this.view.scale,(0<ha.x||0<ha.width)&&mxUtils.intersects(L,new mxRectangle(U.x+(ha.x-ha.width-1)*oa+(0==ha.x?U.width*oa:0),U.y,1,U.height))?ma="col-resize":(0<ha.y||0<ha.height)&&mxUtils.intersects(L,new mxRectangle(U.x,U.y+(ha.y-ha.height--1)*oa+(0==ha.y?U.height:0),U.width,1))&&(ma="row-resize")),U=this.view.getState(this.model.getParent(U.cell))}null!=ma&&aa.setCursor(ma)}}}),mouseUp:mxUtils.bind(this,function(L,U){k=h=l=r=null})})}this.cellRenderer.minSvgStrokeWidth=.1;var y=document.createElement("div");this.cellRenderer.getLabelValue=function(L){var U=mxCellRenderer.prototype.getLabelValue.apply(this,arguments);L.view.graph.isHtmlLabel(L.cell)&&("0"==mxUtils.getValue(L.style,"html","0")?U=mxUtils.htmlEntities(U,!1):(L.lastLabelValue!=+1)*oa+(0==ha.y?U.height:0),U.width,1))&&(ma="row-resize")),U=this.view.getState(this.model.getParent(U.cell))}null!=ma&&aa.setCursor(ma)}}}),mouseUp:mxUtils.bind(this,function(L,U){k=h=l=q=null})})}this.cellRenderer.minSvgStrokeWidth=.1;var y=document.createElement("div");this.cellRenderer.getLabelValue=function(L){var U=mxCellRenderer.prototype.getLabelValue.apply(this,arguments);L.view.graph.isHtmlLabel(L.cell)&&("0"==mxUtils.getValue(L.style,"html","0")?U=mxUtils.htmlEntities(U,!1):(L.lastLabelValue!=U&&(L.lastLabelValue=U,L.lastSanitizedLabelValue=Graph.sanitizeHtml(U),y.innerHTML=L.lastSanitizedLabelValue,Graph.addLightDarkColors(y,null,"simple"==L.view.graph.getAdaptiveColors())&&(L.lastSanitizedLabelValue=y.innerHTML)),U=L.lastSanitizedLabelValue));return U};if("undefined"!==typeof mxVertexHandler){this.setConnectable(!0);this.setDropEnabled(!0);this.setPanning(!0);this.setTooltips(!0);this.setAllowLoops(!0);this.allowAutoPanning=!0;this.constrainChildren=this.resetEdgesOnConnect=!1;this.constrainRelativeChildren=!0;this.graphHandler.scrollOnMove=!1;this.graphHandler.scaleGrid=!0;this.connectionHandler.setCreateTarget(!1);this.connectionHandler.insertBeforeSource=!0;this.connectionHandler.isValidSource=function(L,U){return!1};this.alternateEdgeStyle="vertical";null==f&&this.loadStylesheet();var A=this.graphHandler.getGuideStates;this.graphHandler.getGuideStates=function(){var L=A.apply(this,arguments);if(this.graph.pageVisible){var U=[],aa=this.graph.pageFormat,ha=this.graph.pageScale,ma=aa.width*ha;aa=aa.height*ha;ha=this.graph.view.translate;for(var oa=this.graph.view.scale,ca=this.graph.getPageLayout(),la=0;la<ca.width;la++)U.push(new mxRectangle(((ca.x+la)*ma+ha.x)*oa,(ca.y*aa+ha.y)*oa,ma*oa,aa*oa));for(la=1;la<ca.height;la++)U.push(new mxRectangle((ca.x*ma+ha.x)*oa,((ca.y+la)*aa+ha.y)*oa,ma*oa,aa*oa));L=U.concat(L)}return L};mxDragSource.prototype.dragElementZIndex=mxPopupMenu.prototype.zIndex;mxGuide.prototype.getGuideColor=function(L,U){return null==L.cell?"#ffa500":mxConstants.GUIDE_COLOR};this.graphHandler.createPreviewShape=-function(L){this.previewColor="#000000"==this.graph.background?"#ffffff":mxGraphHandler.prototype.previewColor;return mxGraphHandler.prototype.createPreviewShape.apply(this,arguments)};var G=this.graphHandler.getCells;this.graphHandler.getCells=function(L){for(var U=G.apply(this,arguments),aa=new mxDictionary,ha=[],ma=0;ma<U.length;ma++){var oa=this.graph.isTableCell(L)&&this.graph.isTableCell(U[ma])&&this.graph.isCellSelected(U[ma])?this.graph.model.getParent(U[ma]):this.graph.isTableRow(L)&&this.graph.isTableRow(U[ma])&&+function(L){this.previewColor="#000000"==this.graph.background?"#ffffff":mxGraphHandler.prototype.previewColor;return mxGraphHandler.prototype.createPreviewShape.apply(this,arguments)};var F=this.graphHandler.getCells;this.graphHandler.getCells=function(L){for(var U=F.apply(this,arguments),aa=new mxDictionary,ha=[],ma=0;ma<U.length;ma++){var oa=this.graph.isTableCell(L)&&this.graph.isTableCell(U[ma])&&this.graph.isCellSelected(U[ma])?this.graph.model.getParent(U[ma]):this.graph.isTableRow(L)&&this.graph.isTableRow(U[ma])&&this.graph.isCellSelected(U[ma])?U[ma]:this.graph.getCompositeParent(U[ma]);null==oa||aa.get(oa)||(aa.put(oa,!0),ha.push(oa))}return ha};var D=this.graphHandler.start;this.graphHandler.start=function(L,U,aa,ha){var ma=!1;this.graph.isTableCell(L)&&(this.graph.isCellSelected(L)?ma=!0:L=this.graph.model.getParent(L));ma||this.graph.isTableRow(L)&&this.graph.isCellSelected(L)||(L=this.graph.getCompositeParent(L));D.apply(this,arguments)};this.connectionHandler.createTargetVertex=function(L,U){U=this.graph.getCompositeParent(U);-return mxConnectionHandler.prototype.createTargetVertex.apply(this,arguments)};this.connectionHandler.insertEdge=function(L,U,aa,ha,ma,oa){var ca=mxConnectionHandler.prototype.insertEdge.apply(this,arguments);null!=ha&&this.graph.applyNewEdgeStyle(ha,[ca]);return ca};var F=new mxRubberband(this);this.getRubberband=function(){return F};var H=(new Date).getTime(),M=0,N=this.connectionHandler.mouseMove;this.connectionHandler.mouseMove=function(){var L=this.currentState;N.apply(this,arguments);L!=this.currentState?+return mxConnectionHandler.prototype.createTargetVertex.apply(this,arguments)};this.connectionHandler.insertEdge=function(L,U,aa,ha,ma,oa){var ca=mxConnectionHandler.prototype.insertEdge.apply(this,arguments);null!=ha&&this.graph.applyNewEdgeStyle(ha,[ca]);return ca};var G=new mxRubberband(this);this.getRubberband=function(){return G};var H=(new Date).getTime(),M=0,N=this.connectionHandler.mouseMove;this.connectionHandler.mouseMove=function(){var L=this.currentState;N.apply(this,arguments);L!=this.currentState?(H=(new Date).getTime(),M=0):M=(new Date).getTime()-H};var K=this.connectionHandler.isOutlineConnectEvent;this.connectionHandler.isOutlineConnectEvent=function(L){return mxEvent.isShiftDown(L.getEvent())&&mxEvent.isAltDown(L.getEvent())?!1:null!=this.currentState&&L.getState()==this.currentState&&2E3<M||(null==this.currentState||"0"!=mxUtils.getValue(this.currentState.style,"outlineConnect","1"))&&K.apply(this,arguments)};var T=this.isToggleEvent;this.isToggleEvent=function(L){return T.apply(this,arguments)||mxEvent.isShiftDown(L)};var W=null;this.panningHandler.addListener(mxEvent.PAN_START,mxUtils.bind(this,function(){this.isEnabled()&&(W=this.container.style.cursor,this.container.style.cursor="move")}));this.panningHandler.addListener(mxEvent.PAN_END,mxUtils.bind(this,function(){this.isEnabled()&&(this.container.style.cursor=W)}));this.popupMenuHandler.autoExpand=!0;this.popupMenuHandler.isSelectOnPopup=function(L){return mxEvent.isMouseEvent(L.getEvent())};var S=this.click;this.click=function(L){var U=null==L.state&&null!=L.sourceState&&this.isCellLocked(this.getLayerForCell(L.sourceState.cell));if(this.isEnabled()&&!U||L.isConsumed())return S.apply(this,arguments);var aa=U?L.sourceState.cell:L.getCell();if(null!=aa){var ha=this.getClickableLinkForCell(aa);null!=ha?this.isCustomLink(ha)?this.customLinkClicked(ha,aa):this.openLink(ha):U&&this.clearSelection()}};this.tooltipHandler.getStateForEvent=function(L){return L.sourceState};var V=this.tooltipHandler.show;this.tooltipHandler.show=@@ -2594,7 +2594,7 @@ function(){V.apply(this,arguments);if(null!=this.div)for(var L=this.div.getElemethis.getCursorForCell=function(L){if(!this.isEnabled()||this.isCellLocked(L)){if(null!=this.getClickableLinkForCell(L))return"pointer";if(this.isCellLocked(L))return"default"}return fa.apply(this,arguments)};this.selectRegion=function(L,U){var aa=mxEvent.isAltDown(U)?L:null;L=this.getCells(L.x,L.y,L.width,L.height,null,null,aa,null,!0);if(this.isToggleEvent(U))for(aa=0;aa<L.length;aa++)this.selectCellForEvent(L[aa],U);else this.selectCellsForEvent(L,U);return L};var P=this.graphHandler.shouldRemoveCellsFromParent;this.graphHandler.shouldRemoveCellsFromParent=function(L,U,aa){return this.graph.isCellSelected(L)?!1:P.apply(this,arguments)};var Z=this.updateMouseEvent;this.updateMouseEvent=function(L){L=Z.apply(this,arguments);null!=L.state&&this.isCellLocked(this.getLayerForCell(L.getCell()))&&(null==this.getLinkForCell(L.getCell())?L.state=this.view.getState(this.getCellAt(L.getGraphX(),L.getGraphY(),null,null,null,mxUtils.bind(this,function(U,aa,ha){return L.state==U||this.isCellLocked(this.getLayerForCell(U.cell))&&null==this.getLinkForCell(U.cell)}))):L.state=null);return L};var X=this.isCellSelectable;this.isCellSelectable=function(L){return X.apply(this,arguments)&&!this.isCellLocked(this.getLayerForCell(L))};this.isCellLocked=function(L){for(;null!=L;){if("1"==mxUtils.getValue(this.getCurrentCellStyle(L),"locked","0"))return!0;L=this.model.getParent(L)}return!1};var ba=null;this.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(L,U){"mouseDown"==U.getProperty("eventName")&&(L=U.getProperty("event").getState(),-ba=null==L||this.isSelectionEmpty()||this.isCellSelected(L.cell)?null:this.getSelectionCells())}));this.addListener(mxEvent.TAP_AND_HOLD,mxUtils.bind(this,function(L,U){if(!mxEvent.isMultiTouchEvent(U)){L=U.getProperty("event");var aa=U.getProperty("cell");null==aa?(L=mxUtils.convertPoint(this.container,mxEvent.getClientX(L),mxEvent.getClientY(L)),F.start(L.x,L.y)):null!=ba?this.addSelectionCells(ba):1<this.getSelectionCount()&&this.isCellSelected(aa)&&this.removeSelectionCell(aa);ba=null;U.consume()}}));+ba=null==L||this.isSelectionEmpty()||this.isCellSelected(L.cell)?null:this.getSelectionCells())}));this.addListener(mxEvent.TAP_AND_HOLD,mxUtils.bind(this,function(L,U){if(!mxEvent.isMultiTouchEvent(U)){L=U.getProperty("event");var aa=U.getProperty("cell");null==aa?(L=mxUtils.convertPoint(this.container,mxEvent.getClientX(L),mxEvent.getClientY(L)),G.start(L.x,L.y)):null!=ba?this.addSelectionCells(ba):1<this.getSelectionCount()&&this.isCellSelected(aa)&&this.removeSelectionCell(aa);ba=null;U.consume()}}));this.connectionHandler.selectCells=function(L,U){this.graph.setSelectionCell(U||L)};this.connectionHandler.constraintHandler.isStateIgnored=function(L,U){var aa=L.view.graph;return U&&(aa.isCellSelected(L.cell)||aa.isTableRow(L.cell)&&aa.selectionCellsHandler.isHandled(aa.model.getParent(L.cell)))};this.selectionModel.addListener(mxEvent.CHANGE,mxUtils.bind(this,function(){var L=this.connectionHandler.constraintHandler;null!=L.currentFocus&&L.isStateIgnored(L.currentFocus,!0)&&(L.currentFocus=null,L.constraints=null,L.destroyIcons());L.destroyFocusHighlight()}));Graph.touchStyle&&this.initTouch()}this.currentTranslate=new mxPoint(0,0)};Graph.touchStyle=mxClient.IS_TOUCH||mxClient.IS_FF&&mxClient.IS_WIN||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints||null==window.urlParams||"1"==urlParams.touch;Graph.fileSupport=null!=window.File&&null!=window.FileReader&&null!=window.FileList&&(null==window.urlParams||"0"!=urlParams.filesupport);Graph.translateDiagram="1"==urlParams["translate-diagram"];Graph.diagramLanguage=null!=urlParams["diagram-language"]?urlParams["diagram-language"]:mxClient.language;Graph.lineJumpsEnabled=!0;Graph.defaultJumpSize=6;Graph.zoomWheel=!1;Graph.selectParentLayer=!1;Graph.minTableColumnWidth=20;Graph.minTableRowHeight=20;Graph.foreignObjectWarningText="Text is not SVG - cannot display";Graph.foreignObjectWarningLink="https://www.drawio.com/doc/faq/svg-export-text-problems";Graph.xmlDeclaration='<?xml version="1.0" encoding="UTF-8"?>';Graph.svgDoctype='<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">';@@ -2608,30 +2608,30 @@ Graph.createSvgImage=function(a,b,e,f,g){e=unescape(encodeURIComponent(Graph.svgGraph.getSvgFromDataUri=function(a){return null!=a&&"data:image/svg"==a.substring(0,14)?Graph.xmlDeclaration+"\n"+Graph.svgDoctype+"\n"+decodeURIComponent(escape(atob(a.substring(a.indexOf(",")+1)))):null};Graph.createSvgNode=function(a,b,e,f,g){var d=mxUtils.createXmlDocument(),h=null!=d.createElementNS?d.createElementNS(mxConstants.NS_SVG,"svg"):d.createElement("svg");null!=g&&h.setAttribute("style","background: "+g.light+"; background-color: "+g.cssText+";");null==d.createElementNS?(h.setAttribute("xmlns",mxConstants.NS_SVG),h.setAttribute("xmlns:xlink",mxConstants.NS_XLINK)):h.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink",mxConstants.NS_XLINK);h.setAttribute("version","1.1");h.setAttribute("width",e+"px");h.setAttribute("height",f+"px");h.setAttribute("viewBox",a+" "+b+" "+e+" "+f);d.appendChild(h);return h};-Graph.htmlToPng=function(a,b,e,f,g,d){g=null!=g?g:"";d=null!=d?d:Editor.htmlRasterScale;var h=document.createElement("canvas");h.width=b*d;h.height=e*d;var l=document.createElement("img");l.onload=mxUtils.bind(this,function(){try{var k=h.getContext("2d");k.scale(d,d);k.drawImage(l,0,0);f(h.toDataURL())}catch(u){f(null)}});var r=mxUtils.createXmlDocument();r=null!=r.createElementNS?r.createElementNS(mxConstants.NS_SVG,"svg"):r.createElement("svg");a=(new mxSvgCanvas2D(r)).convertHtml(a);l.onerror=+Graph.htmlToPng=function(a,b,e,f,g,d){g=null!=g?g:"";d=null!=d?d:Editor.htmlRasterScale;var h=document.createElement("canvas");h.width=b*d;h.height=e*d;var l=document.createElement("img");l.onload=mxUtils.bind(this,function(){try{var k=h.getContext("2d");k.scale(d,d);k.drawImage(l,0,0);f(h.toDataURL())}catch(u){f(null)}});var q=mxUtils.createXmlDocument();q=null!=q.createElementNS?q.createElementNS(mxConstants.NS_SVG,"svg"):q.createElement("svg");a=(new mxSvgCanvas2D(q)).convertHtml(a);l.onerror=function(k){f(null)};l.src="data:image/svg+xml,"+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="'+b+'" height="'+e+'">'+(""!=g?'<defs xmlns="http://www.w3.org/2000/svg"><style type="text/css">'+g+"</style></defs>":"")+'<foreignObject width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml">'+a+"</div></foreignObject></svg>")};-Graph.addLightDarkColors=function(a,b,e,f){function g(y,A,G){return null!=f?f(y,A,G):mxUtils.isValidColor(G)?(null==h&&null!=b&&(h={}),null!=h&&(h[A]=y.style.getPropertyValue(A)),G=mxUtils.getLightDarkColor(G,null,null,e),y.style.setProperty(A,G.cssText),!0):!1}for(var d=a.getElementsByTagName("*"),h=null,l=!1,r=0;r<d.length;r++)if(d[r]!=a&&null!=d[r].style){h=null;for(var k=0;k<d[r].style.length;k++){var u=d[r].style.item(k),w=d[r].style.getPropertyValue(u);l=g(d[r],u,w)||l}"FONT"==d[r].nodeName&&-""==d[r].style.getPropertyValue("color")&&(w=d[r].getAttribute("color"),l=g(d[r],"color",w)||l);null!=b&&null!=h&&d[r].setAttribute(b,JSON.stringify(h))}return l};Graph.removeLightDarkColors=function(a,b){a=a.getElementsByTagName("*");for(var e=!1,f=0;f<a.length;f++)try{var g=a[f].getAttribute(b);if(null!=g){a[f].removeAttribute(b);var d=JSON.parse(g),h;for(h in d){var l=d[h];""==l?(a[f].style[h]=null,""==a[f].getAttribute("style")&&a[f].removeAttribute("style")):a[f].style[h]=l;e=!0}}}catch(r){}return e};+Graph.addLightDarkColors=function(a,b,e,f){function g(y,A,F){return null!=f?f(y,A,F):mxUtils.isValidColor(F)?(null==h&&null!=b&&(h={}),null!=h&&(h[A]=y.style.getPropertyValue(A)),F=mxUtils.getLightDarkColor(F,null,null,e),y.style.setProperty(A,F.cssText),!0):!1}for(var d=a.getElementsByTagName("*"),h=null,l=!1,q=0;q<d.length;q++)if(d[q]!=a&&null!=d[q].style){h=null;for(var k=0;k<d[q].style.length;k++){var u=d[q].style.item(k),w=d[q].style.getPropertyValue(u);l=g(d[q],u,w)||l}"FONT"==d[q].nodeName&&+""==d[q].style.getPropertyValue("color")&&(w=d[q].getAttribute("color"),l=g(d[q],"color",w)||l);null!=b&&null!=h&&d[q].setAttribute(b,JSON.stringify(h))}return l};Graph.removeLightDarkColors=function(a,b){a=a.getElementsByTagName("*");for(var e=!1,f=0;f<a.length;f++)try{var g=a[f].getAttribute(b);if(null!=g){a[f].removeAttribute(b);var d=JSON.parse(g),h;for(h in d){var l=d[h];""==l?(a[f].style[h]=null,""==a[f].getAttribute("style")&&a[f].removeAttribute("style")):a[f].style[h]=l;e=!0}}}catch(q){}return e};Graph.getGivenColor=function(a,b){var e=null;if(a.nodeType==mxConstants.NODETYPE_ELEMENT){try{var f=a.getAttribute(Graph.backupStyleAttribute);if(null!=f){var g=JSON.parse(f);null!=g&&null!=g[b]&&("color"==b&&"FONT"==a.nodeName&&""==g[b]&&null!=a.getAttribute("color")?e=a.getAttribute("color"):""!=g[b]&&(e=g[b]))}}catch(d){}null==e&&""!=a.style[b]&&(e=a.style[b])}return e};-Graph.setTextColor=function(a,b,e){for(var f=e?Graph.newColorPlaceholder:Graph.newBackgroundPlaceholder,g=e?"color":"background-color",d=a.getElementsByTagName("*"),h=[],l=0;l<d.length;l++)h.push({node:d[l],value:d[l].style[g]});document.execCommand(e?"forecolor":"backcolor",!1,f);a=a.getElementsByTagName("*");for(l=0;l<a.length;l++){if(l<h.length&&h[l].node==a[l]&&h[l].value!=a[l].style[g]&&""==a[l].style[g])try{if(d=a[l].getAttribute(Graph.backupStyleAttribute),null!=d){var r=JSON.parse(d);r[g]=-"";a[l].setAttribute(Graph.backupStyleAttribute,JSON.stringify(r))}}catch(k){}if(e&&a[l].getAttribute("color")==f||a[l].style[g]==f){e&&a[l].getAttribute("color")==f&&a[l].removeAttribute("color");a[l].style[g]=b!=mxConstants.NONE?mxUtils.getLightDarkColor(b).cssText:null;try{d=a[l].getAttribute(Graph.backupStyleAttribute),r=null!=d?JSON.parse(d):{},r[g]=b!=mxConstants.NONE?b:"",a[l].setAttribute(Graph.backupStyleAttribute,JSON.stringify(r))}catch(k){}if(e&&mxClient.IS_FF){b=a[l];e=b.firstChild;if(null!=+Graph.setTextColor=function(a,b,e){for(var f=e?Graph.newColorPlaceholder:Graph.newBackgroundPlaceholder,g=e?"color":"background-color",d=a.getElementsByTagName("*"),h=[],l=0;l<d.length;l++)h.push({node:d[l],value:d[l].style[g]});document.execCommand(e?"forecolor":"backcolor",!1,f);a=a.getElementsByTagName("*");for(l=0;l<a.length;l++){if(l<h.length&&h[l].node==a[l]&&h[l].value!=a[l].style[g]&&""==a[l].style[g])try{if(d=a[l].getAttribute(Graph.backupStyleAttribute),null!=d){var q=JSON.parse(d);q[g]=+"";a[l].setAttribute(Graph.backupStyleAttribute,JSON.stringify(q))}}catch(k){}if(e&&a[l].getAttribute("color")==f||a[l].style[g]==f){e&&a[l].getAttribute("color")==f&&a[l].removeAttribute("color");a[l].style[g]=b!=mxConstants.NONE?mxUtils.getLightDarkColor(b).cssText:null;try{d=a[l].getAttribute(Graph.backupStyleAttribute),q=null!=d?JSON.parse(d):{},q[g]=b!=mxConstants.NONE?b:"",a[l].setAttribute(Graph.backupStyleAttribute,JSON.stringify(q))}catch(k){}if(e&&mxClient.IS_FF){b=a[l];e=b.firstChild;if(null!=e&&"A"==e.nodeName&&null==e.nextSibling&&null!=e.firstChild){b.parentNode.insertBefore(e,b);for(f=e.firstChild;null!=f;)g=f.nextSibling,b.appendChild(f),f=g;e.appendChild(b)}break}}}};Graph.zapGremlins=function(a){return mxUtils.zapGremlins(a)};Graph.stringToBytes=function(a){for(var b=Array(a.length),e=0;e<a.length;e++)b[e]=a.charCodeAt(e);return b};Graph.bytesToString=function(a){for(var b=Array(a.length),e=0;e<a.length;e++)b[e]=String.fromCharCode(a[e]);return b.join("")};Graph.base64EncodeUnicode=function(a){return btoa(encodeURIComponent(a).replace(/%([0-9A-F]{2})/g,function(b,e){return String.fromCharCode(parseInt(e,16))}))};Graph.base64DecodeUnicode=function(a){return decodeURIComponent(Array.prototype.map.call(atob(a),function(b){return"%"+("00"+b.charCodeAt(0).toString(16)).slice(-2)}).join(""))};Graph.compressNode=function(a,b){a=mxUtils.getXml(a);return Graph.compress(b?a:Graph.zapGremlins(a))};Graph.arrayBufferToString=function(a){var b="";a=new Uint8Array(a);for(var e=a.byteLength,f=0;f<e;f++)b+=String.fromCharCode(a[f]);return b};Graph.stringToArrayBuffer=function(a){return Uint8Array.from(a,function(b){return b.charCodeAt(0)})};Graph.arrayBufferIndexOfString=function(a,b,e){var f=b.charCodeAt(0),g=1,d=-1;for(e=e||0;e<a.byteLength;e++)if(a[e]==f){d=e;break}for(e=d+1;-1<d&&e<a.byteLength&&e<d+b.length-1;e++){if(a[e]!=b.charCodeAt(g))return Graph.arrayBufferIndexOfString(a,b,d+1);g++}return g==b.length-1?d:-1};Graph.compress=function(a,b){if(null==a||0==a.length||"undefined"===typeof pako)return a;a=b?pako.deflate(encodeURIComponent(a)):pako.deflateRaw(encodeURIComponent(a));return btoa(Graph.arrayBufferToString(new Uint8Array(a)))};Graph.decompress=function(a,b,e){if(null==a||0==a.length||"undefined"===typeof pako)return a;a=Graph.stringToArrayBuffer(atob(a));b=decodeURIComponent(b?pako.inflate(a,{to:"string"}):pako.inflateRaw(a,{to:"string"}));return e?b:Graph.zapGremlins(b)};Graph.fadeNodes=function(a,b,e,f,g){g=null!=g?g:1E3;Graph.setTransitionForNodes(a,null);Graph.setOpacityForNodes(a,b);window.setTimeout(function(){Graph.setTransitionForNodes(a,"all "+g+"ms ease-in-out");Graph.setOpacityForNodes(a,e);window.setTimeout(function(){Graph.setTransitionForNodes(a,null);null!=f&&f()},g)},0)};-Graph.exploreFromCell=function(a,b,e){pageSize=null!=e&&null!=e.pageSize?e.pageSize:8;minSize=null!=e&&null!=e.minSize?e.minSize:180;(function(f,g){function d(w){w.view.states.visit(function(y,A){null!=A.shape&&w.model.isEdge(w.model.getParent(A.cell))?A.shape.node.parentNode.appendChild(A.shape.node):null!=A.text&&w.model.isEdge(A.cell)&&A.text.node.parentNode.appendChild(A.text.node)})}function h(w,y){if(w.getModel().isVertex(y)){var A=w.container.offsetWidth/2,G=w.container.offsetHeight/2;w.rootCell=-y.referenceCell||y;w.getModel().beginUpdate();try{pageSize=null!=e&&null!=e.pageSize?e.pageSize:8+Math.max(0,Math.floor(Math.min(w.container.offsetWidth-800/120,w.container.offsetHeight-600)/30));for(var D=y.referenceCell||y,F=f.model.getCell(D.sourceCellId),H=f.getEdges(F,null,!0,!0,!1,!0),M=[],N=0;N<H.length;N++)null!=H[N].getTerminal(!0)&&null!=H[N].getTerminal(!1)&&f.isCellVisible(H[N])&&!f.isEdgeIgnored(H[N])&&f.isCellVisible(H[N].getTerminal(!0))&&f.isCellVisible(H[N].getTerminal(!1))&&f.isCellVisible(f.getLayerForCell(H[N]))&&-M.push(H[N]);M=H=M;if(null!=y.startIndex||0<pageSize&&H.length>pageSize){var K=y.startIndex||0;M=H.slice(Math.max(0,K),Math.min(H.length,K+pageSize))}M=f.getOpposites(M,F).concat(M);var T=w.cloneCells(M);for(N=0;N<M.length;N++)if(T[N].sourceCellId=M[N].id,w.model.isEdge(T[N]))for(T[N].geometry.x=0,T[N].geometry.y=0,T[N].geometry.points=null,T[N].setStyle(T[N].getStyle()+";curved=1;noEdgeStyle=1;entryX=none;entryY=none;exitX=none;exitY=none;labelBackgroundColor=#ffffffe0;textOpacity=100;"),T[N].setTerminal(D,-null==T[N].getTerminal(!0)),F=0;F<T[N].getChildCount();F++){var W=T[N].getChildAt(F);null!=W.geometry&&W.geometry.relative&&(W.setStyle(W.getStyle()+";labelBackgroundColor=#ffffffe0;textOpacity=100;"),W.geometry.offset=new mxPoint(0,0),W.geometry.y=0,W.geometry.x=.5>W.geometry.x?-.8:.5<W.geometry.x?.8:0)}if(0<y.startIndex){var S=w.createVertex(null,null,mxResources.get("previousPage")+" ("+Math.ceil((y.startIndex||0)/pageSize)+"/"+Math.ceil(H.length/pageSize)+")",0,0,120,30,"fillColor=green;fontColor=white;strokeColor=green;rounded=1;");+Graph.exploreFromCell=function(a,b,e){pageSize=null!=e&&null!=e.pageSize?e.pageSize:8;minSize=null!=e&&null!=e.minSize?e.minSize:180;(function(f,g){function d(w){w.view.states.visit(function(y,A){null!=A.shape&&w.model.isEdge(w.model.getParent(A.cell))?A.shape.node.parentNode.appendChild(A.shape.node):null!=A.text&&w.model.isEdge(A.cell)&&A.text.node.parentNode.appendChild(A.text.node)})}function h(w,y){if(w.getModel().isVertex(y)){var A=w.container.offsetWidth/2,F=w.container.offsetHeight/2;w.rootCell=+y.referenceCell||y;w.getModel().beginUpdate();try{pageSize=null!=e&&null!=e.pageSize?e.pageSize:8+Math.max(0,Math.floor(Math.min(w.container.offsetWidth-800/120,w.container.offsetHeight-600)/30));for(var D=y.referenceCell||y,G=f.model.getCell(D.sourceCellId),H=f.getEdges(G,null,!0,!0,!1,!0),M=[],N=0;N<H.length;N++)null!=H[N].getTerminal(!0)&&null!=H[N].getTerminal(!1)&&f.isCellVisible(H[N])&&!f.isEdgeIgnored(H[N])&&f.isCellVisible(H[N].getTerminal(!0))&&f.isCellVisible(H[N].getTerminal(!1))&&f.isCellVisible(f.getLayerForCell(H[N]))&&+M.push(H[N]);M=H=M;if(null!=y.startIndex||0<pageSize&&H.length>pageSize){var K=y.startIndex||0;M=H.slice(Math.max(0,K),Math.min(H.length,K+pageSize))}M=f.getOpposites(M,G).concat(M);var T=w.cloneCells(M);for(N=0;N<M.length;N++)if(T[N].sourceCellId=M[N].id,w.model.isEdge(T[N]))for(T[N].geometry.x=0,T[N].geometry.y=0,T[N].geometry.points=null,T[N].setStyle(T[N].getStyle()+";curved=1;noEdgeStyle=1;entryX=none;entryY=none;exitX=none;exitY=none;labelBackgroundColor=#ffffffe0;textOpacity=100;"),T[N].setTerminal(D,+null==T[N].getTerminal(!0)),G=0;G<T[N].getChildCount();G++){var W=T[N].getChildAt(G);null!=W.geometry&&W.geometry.relative&&(W.setStyle(W.getStyle()+";labelBackgroundColor=#ffffffe0;textOpacity=100;"),W.geometry.offset=new mxPoint(0,0),W.geometry.y=0,W.geometry.x=.5>W.geometry.x?-.8:.5<W.geometry.x?.8:0)}if(0<y.startIndex){var S=w.createVertex(null,null,mxResources.get("previousPage")+" ("+Math.ceil((y.startIndex||0)/pageSize)+"/"+Math.ceil(H.length/pageSize)+")",0,0,120,30,"fillColor=green;fontColor=white;strokeColor=green;rounded=1;");S.referenceCell=D;S.startIndex=Math.max(0,(y.startIndex||0)-pageSize);T.splice(0,0,S)}if(H.length>(y.startIndex||0)+pageSize){var V=w.createVertex(null,null,mxResources.get("nextPage")+" ("+(Math.ceil((y.startIndex||0)/pageSize)+2)+"/"+Math.ceil(H.length/pageSize)+")",0,0,120,30,"fillColor=green;fontColor=white;strokeColor=green;rounded=1;");V.referenceCell=D;V.startIndex=(y.startIndex||0)+pageSize;T.splice(0,0,V)}for(var fa in w.getModel().cells){var P=w.getModel().getCell(fa);P!=w.rootCell&&!w.getModel().isAncestor(w.rootCell,-P)&&w.getModel().isVertex(P)&&w.removeCells([P])}w.addCells(T);var Z=w.getModel().getGeometry(w.rootCell);null!=Z&&(Z=Z.clone(),Z.x=A-Z.width/2,Z.y=G-Z.height/3,w.getModel().setGeometry(w.rootCell,Z));y=[];for(fa in w.getModel().cells)P=w.getModel().getCell(fa),P!=w.rootCell&&w.getModel().isVertex(P)&&w.getModel().getParent(P)==w.getDefaultParent()&&(y.push(P),Z=w.getModel().getGeometry(P),null!=Z&&(Z.x=A-Z.width/2,Z.y=G-Z.height/2));var X=y.length,ba=2*Math.PI/X,L=Math.max(minSize,Math.min(w.container.offsetWidth/+P)&&w.getModel().isVertex(P)&&w.removeCells([P])}w.addCells(T);var Z=w.getModel().getGeometry(w.rootCell);null!=Z&&(Z=Z.clone(),Z.x=A-Z.width/2,Z.y=F-Z.height/3,w.getModel().setGeometry(w.rootCell,Z));y=[];for(fa in w.getModel().cells)P=w.getModel().getCell(fa),P!=w.rootCell&&w.getModel().isVertex(P)&&w.getModel().getParent(P)==w.getDefaultParent()&&(y.push(P),Z=w.getModel().getGeometry(P),null!=Z&&(Z.x=A-Z.width/2,Z.y=F-Z.height/2));var X=y.length,ba=2*Math.PI/X,L=Math.max(minSize,Math.min(w.container.offsetWidth/2-40,w.container.offsetHeight/2-80));for(A=0;A<X;A++)Z=w.getModel().getGeometry(y[A]),null!=Z&&(Z=Z.clone(),Z.x+=L*Math.sin(A*ba),Z.y+=L*Math.cos(A*ba),w.getModel().setGeometry(y[A],Z))}finally{w.getModel().endUpdate()}}}var l=document.createElement("div");l.style.position="absolute";l.style.display="block";l.style.overflow="auto";l.style.width="100%";l.style.height="100%";l.style.left="0px";l.style.top="0px";l.style.zIndex=2;l.style.background=f.background==mxConstants.NONE||null==f.background?"light-dark(#ffffff,"+-Editor.darkColor+")":f.background;var r=document.createElement("img");r.setAttribute("src",Editor.closeBlackImage);r.style.position="absolute";r.style.cursor="pointer";r.style.right="10px";r.style.top="10px";l.appendChild(r);var k=document.createElement("div");k.style.position="absolute";k.style.cursor="pointer";k.style.right="38px";k.style.top="14px";k.style.textAlign="right";k.style.verticalAlign="top";mxUtils.write(k,mxResources.get("close"));l.appendChild(k);document.body.appendChild(l);var u=-function(w){27==w.keyCode&&r.click()};mxEvent.addListener(document,"keydown",u);(function(w){var y=new Graph(w);y.keepEdgesInBackground=!0;y.isCellResizable=function(){return!1};y.isCellRotatable=function(){return!1};y.getCursorForCell=function(M){return this.model.isVertex(M)?"pointer":null};y.getFoldingImage=function(){return null};var A=function(){mxEvent.removeListener(document,"keydown",u);w.parentNode.removeChild(w);f.scrollCellToVisible(g)};mxEvent.addListener(r,"click",A);mxEvent.addListener(k,-"click",A);y.setEnabled(!1);var G=y.click;y.click=function(M){var N=M.getCell(),K=null!=N?null!=N.referenceCell?N.referenceCell:N:null;null!=N&&0<y.getEdges(K).length?h(y,N):G.apply(this,arguments)};A=y.container.offsetWidth/2;var D=y.container.offsetHeight/3;y.model.beginUpdate();var F=y.importCells([g])[0];F.sourceCellId=g.id;F.geometry.x=A-F.geometry.width/2;F.geometry.y=D-F.geometry.height/2;y.model.endUpdate();var H=!1;y.getModel().addListener(mxEvent.CHANGE,function(M,N){H||(M=N.getProperty("edit").changes,-mxText.prototype.enableBoundingBox=!1,y.labelsVisible=!1,H=!0,mxEffects.animateChanges(y,M,function(){var K=new mxParallelEdgeLayout(y);K.spacing=60;var T=K.layout;K.layout=function(W){K.spacing=Math.min(60,Math.max(30,60-5*W.length));T.apply(this,arguments)};K.execute(y.getDefaultParent());mxText.prototype.enableBoundingBox=!0;y.labelsVisible=!0;y.tooltipHandler.hide();y.refresh();d(y);H=!1}))});h(y,F)})(l)})(a,b)};Graph.removeKeys=function(a,b){for(var e in a)b(e)&&delete a[e]};+Editor.darkColor+")":f.background;var q=document.createElement("img");q.setAttribute("src",Editor.closeBlackImage);q.style.position="absolute";q.style.cursor="pointer";q.style.right="10px";q.style.top="10px";l.appendChild(q);var k=document.createElement("div");k.style.position="absolute";k.style.cursor="pointer";k.style.right="38px";k.style.top="14px";k.style.textAlign="right";k.style.verticalAlign="top";mxUtils.write(k,mxResources.get("close"));l.appendChild(k);document.body.appendChild(l);var u=+function(w){27==w.keyCode&&q.click()};mxEvent.addListener(document,"keydown",u);(function(w){var y=new Graph(w);y.keepEdgesInBackground=!0;y.isCellResizable=function(){return!1};y.isCellRotatable=function(){return!1};y.getCursorForCell=function(M){return this.model.isVertex(M)?"pointer":null};y.getFoldingImage=function(){return null};var A=function(){mxEvent.removeListener(document,"keydown",u);w.parentNode.removeChild(w);f.scrollCellToVisible(g)};mxEvent.addListener(q,"click",A);mxEvent.addListener(k,+"click",A);y.setEnabled(!1);var F=y.click;y.click=function(M){var N=M.getCell(),K=null!=N?null!=N.referenceCell?N.referenceCell:N:null;null!=N&&0<y.getEdges(K).length?h(y,N):F.apply(this,arguments)};A=y.container.offsetWidth/2;var D=y.container.offsetHeight/3;y.model.beginUpdate();var G=y.importCells([g])[0];G.sourceCellId=g.id;G.geometry.x=A-G.geometry.width/2;G.geometry.y=D-G.geometry.height/2;y.model.endUpdate();var H=!1;y.getModel().addListener(mxEvent.CHANGE,function(M,N){H||(M=N.getProperty("edit").changes,+mxText.prototype.enableBoundingBox=!1,y.labelsVisible=!1,H=!0,mxEffects.animateChanges(y,M,function(){var K=new mxParallelEdgeLayout(y);K.spacing=60;var T=K.layout;K.layout=function(W){K.spacing=Math.min(60,Math.max(30,60-5*W.length));T.apply(this,arguments)};K.execute(y.getDefaultParent());mxText.prototype.enableBoundingBox=!0;y.labelsVisible=!0;y.tooltipHandler.hide();y.refresh();d(y);H=!1}))});h(y,G)})(l)})(a,b)};Graph.removeKeys=function(a,b){for(var e in a)b(e)&&delete a[e]};Graph.setTransitionForNodes=function(a,b){for(var e=0;e<a.length;e++)mxUtils.setPrefixedStyle(a[e].style,"transition",b)};Graph.setOpacityForNodes=function(a,b){for(var e=0;e<a.length;e++)a[e].style.opacity=b};Graph.removePasteFormatting=function(a,b){for(;null!=a;){null!=a.firstChild&&Graph.removePasteFormatting(a.firstChild,!0);var e=a.nextSibling;if(a.nodeType==mxConstants.NODETYPE_ELEMENT&&null!=a.style){"#000000"==a.style.color&&(a.style.color="");if("SPAN"==a.nodeName&&"Apple-tab-span"==a.className){var f=Graph.createTabNode(4);a.parentNode.replaceChild(f,a);a=f}if("P"==a.nodeName&&"p1"==a.className){for(;null!=a.firstChild;)a.parentNode.insertBefore(a.firstChild,a);null!=e&&"P"==e.nodeName&&"p1"==e.className&&a.parentNode.insertBefore(a.ownerDocument.createElement("br"),a);a.parentNode.removeChild(a)}!b&&null!=a.innerHTML&&0<=a.innerHTML.indexOf("\t")&&(f=Graph.createTabNode(4),a.innerHTML=a.innerHTML.replace(/\t/g,f.outerHTML))}a=e}};Graph.createTabNode=function(a){var b="\t";if(null!=a)for(b="";0<a;)b+=" ",a--;a=document.createElement("span");a.style.whiteSpace="pre";a.appendChild(document.createTextNode(b));return a};Graph.sanitizeHtml=function(a,b){return Graph.domPurify(a,!1)};@@ -2640,7 +2640,7 @@ Graph.isStyleAllowed=function(a){a=a.replace(/\\([0-9a-fA-F]{1,6})\s?/g,functionDOMPurify.addHook("afterSanitizeAttributes",function(a){"use"==a.nodeName&&(null!=a.getAttribute("xlink:href")&&!a.getAttribute("xlink:href").startsWith("#")||null!=a.getAttribute("href")&&!a.getAttribute("href").startsWith("#"))?a.remove():"style"==a.nodeName.toLowerCase()&&(Graph.isStyleAllowed(a.textContent)||a.remove())});DOMPurify.addHook("uponSanitizeAttribute",function(a,b){"style"!=b.attrName||Graph.isStyleAllowed(b.attrValue)||(b.keepAttr=!1)});Graph.domPurify=function(a,b){window.DOM_PURIFY_CONFIG.IN_PLACE=b;return DOMPurify.sanitize(a,window.DOM_PURIFY_CONFIG)};Graph.clipSvgDataUri=function(a){if(null!=a&&"data:image/svg+xml;base64,"==a.substring(0,26))try{var b=document.createElement("div");b.style.position="absolute";b.style.visibility="hidden";var e=decodeURIComponent(escape(atob(a.substring(26)))),f=e.indexOf("<svg");if(0<=f){b.innerHTML=Graph.sanitizeHtml(e.substring(f));var g=b.getElementsByTagName("svg");if(0<g.length){document.body.appendChild(b);try{f=e=1;var d=g[0].getAttribute("width"),h=g[0].getAttribute("height");d=null!=d&&"%"!=d.charAt(d.length--1)?parseFloat(d):NaN;h=null!=h&&"%"!=h.charAt(h.length-1)?parseFloat(h):NaN;var l=g[0].getAttribute("viewBox");if(null!=l&&!isNaN(d)&&!isNaN(h)){var r=l.split(" ");4<=l.length&&(e=parseFloat(r[2])/d,f=parseFloat(r[3])/h)}var k=g[0].getBBox();if(0<k.width&&0<k.height){l=0;var u=g[0].querySelectorAll("[stroke-width]");for(r=0;r<u.length;r++)l=Math.max(l,parseFloat(u[r].getAttribute("stroke-width")));var w=new mxRectangle(k.x,k.y,k.width,k.height);w.grow(l/2);!isNaN(d)&&!isNaN(h)&&0>w.x&&0>w.y&&w.width>+1)?parseFloat(d):NaN;h=null!=h&&"%"!=h.charAt(h.length-1)?parseFloat(h):NaN;var l=g[0].getAttribute("viewBox");if(null!=l&&!isNaN(d)&&!isNaN(h)){var q=l.split(" ");4<=l.length&&(e=parseFloat(q[2])/d,f=parseFloat(q[3])/h)}var k=g[0].getBBox();if(0<k.width&&0<k.height){l=0;var u=g[0].querySelectorAll("[stroke-width]");for(q=0;q<u.length;q++)l=Math.max(l,parseFloat(u[q].getAttribute("stroke-width")));var w=new mxRectangle(k.x,k.y,k.width,k.height);w.grow(l/2);!isNaN(d)&&!isNaN(h)&&0>w.x&&0>w.y&&w.width>d&&w.height>h?b.getElementsByTagName("svg")[0].setAttribute("viewBox","0 0 "+d+" "+h):(b.getElementsByTagName("svg")[0].setAttribute("viewBox",w.x+" "+w.y+" "+w.width+" "+w.height),b.getElementsByTagName("svg")[0].setAttribute("width",w.width/e),b.getElementsByTagName("svg")[0].setAttribute("height",w.height/f))}}catch(y){}finally{document.body.removeChild(b)}a=Editor.createSvgDataUri(mxUtils.getXml(g[0]))}}}catch(y){}return a};Graph.createRemoveIcon=function(a,b){var e=document.createElement("img");e.setAttribute("src",Dialog.prototype.clearImage);e.setAttribute("title",a);e.setAttribute("width","13");e.setAttribute("height","10");e.style.marginLeft="4px";e.style.marginBottom="-1px";e.style.cursor="pointer";mxEvent.addListener(e,"click",b);return e};Graph.isPageLink=function(a){return null!=a&&"data:page/id,"==a.substring(0,13)};Graph.rewritePageLinks=function(a,b){function e(g,d){var h=g.getAttribute(d);if(null!=h){Graph.isPageLink(h)&&(h="#"+h.substring(h.indexOf(":")+1));var l=d;b&&"xlink:href"==d&&(g.removeAttribute(d),l="href");g.setAttribute(l,h)}}a=a.getElementsByTagName("a");if(null!=a)for(var f=0;f<a.length;f++)e(a[f],"href"),e(a[f],"xlink:href")};Graph.isLink=function(a){return null!=a&&a.match(/(http(s)?:\/\/.)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g)};@@ -2649,32 +2649,32 @@ Graph.prototype.diagramBackgroundColor="#f0f0f0";Graph.prototype.enableDiagramBaGraph.prototype.scrollTileSize=new mxRectangle(0,0,400,400);Graph.prototype.transparentBackground=!0;Graph.prototype.selectParentAfterDelete=!1;Graph.prototype.defaultEdgeLength=80;Graph.prototype.immediateHandling=!0;Graph.prototype.connectionArrowsEnabled=!0;Graph.prototype.placeholderPattern=RegExp("%(date{.*}|[^%{}\"'=;]+)%","g");Graph.prototype.absoluteUrlPattern=RegExp("^(?:[a-z]+:)?//","i");Graph.prototype.defaultThemeName="default";Graph.prototype.defaultThemes={};Graph.prototype.baseUrl=null!=urlParams.base?mxUtils.removeJavascriptProtocol(decodeURIComponent(urlParams.base)):(window!=window.top?document.referrer:document.location.toString()).split("#")[0];Graph.prototype.editAfterInsert=!1;Graph.prototype.builtInProperties=["label","tooltip","placeholders","placeholder"];Graph.prototype.standalone=!1;Graph.prototype.enableFlowAnimation=!1;Graph.prototype.roundableShapes="label rectangle internalStorage corner parallelogram swimlane triangle trapezoid ext step tee process link rhombus offPageConnector loopLimit hexagon manualInput card curlyBracket singleArrow callout doubleArrow flexArrow umlLifeline".split(" ");Graph.prototype.vertexFontSize=null;Graph.prototype.edgeFontSize=null;Graph.prototype.adaptiveColors="auto";-Graph.prototype.init=function(a){mxGraph.prototype.init.apply(this,arguments);this.cellRenderer.initializeLabel=function(e,f){mxCellRenderer.prototype.initializeLabel.apply(this,arguments);var g=e.view.graph.tolerance,d=!0,h=null,l=mxUtils.bind(this,function(u){d=!0;h=new mxPoint(mxEvent.getClientX(u),mxEvent.getClientY(u))}),r=mxUtils.bind(this,function(u){d=d&&null!=h&&Math.abs(h.x-mxEvent.getClientX(u))<g&&Math.abs(h.y-mxEvent.getClientY(u))<g}),k=mxUtils.bind(this,function(u){if(d)for(var w=mxEvent.getSource(u);null!=-w&&w!=f.node;){if("a"==w.nodeName.toLowerCase()){e.view.graph.labelLinkClicked(e,w,u);break}w=w.parentNode}});mxEvent.addGestureListeners(f.node,l,r,k);mxEvent.addListener(f.node,"click",function(u){mxEvent.consume(u)})};if(null!=this.tooltipHandler){var b=this.tooltipHandler.init;this.tooltipHandler.init=function(){b.apply(this,arguments);null!=this.div&&mxEvent.addListener(this.div,"click",mxUtils.bind(this,function(e){var f=mxEvent.getSource(e);"A"==f.nodeName&&(f=f.getAttribute("href"),null!=+Graph.prototype.init=function(a){mxGraph.prototype.init.apply(this,arguments);this.cellRenderer.initializeLabel=function(e,f){mxCellRenderer.prototype.initializeLabel.apply(this,arguments);var g=e.view.graph.tolerance,d=!0,h=null,l=mxUtils.bind(this,function(u){d=!0;h=new mxPoint(mxEvent.getClientX(u),mxEvent.getClientY(u))}),q=mxUtils.bind(this,function(u){d=d&&null!=h&&Math.abs(h.x-mxEvent.getClientX(u))<g&&Math.abs(h.y-mxEvent.getClientY(u))<g}),k=mxUtils.bind(this,function(u){if(d)for(var w=mxEvent.getSource(u);null!=+w&&w!=f.node;){if("a"==w.nodeName.toLowerCase()){e.view.graph.labelLinkClicked(e,w,u);break}w=w.parentNode}});mxEvent.addGestureListeners(f.node,l,q,k);mxEvent.addListener(f.node,"click",function(u){mxEvent.consume(u)})};if(null!=this.tooltipHandler){var b=this.tooltipHandler.init;this.tooltipHandler.init=function(){b.apply(this,arguments);null!=this.div&&mxEvent.addListener(this.div,"click",mxUtils.bind(this,function(e){var f=mxEvent.getSource(e);"A"==f.nodeName&&(f=f.getAttribute("href"),null!=f&&this.graph.isCustomLink(f)&&(mxEvent.isTouchEvent(e)||!mxEvent.isPopupTrigger(e))&&this.graph.customLinkClicked(f)&&mxEvent.consume(e))}))}}this.initLayoutManager()};(function(){Graph.prototype.useCssTransforms=!1;Graph.prototype.currentScale=1;Graph.prototype.currentTranslate=new mxPoint(0,0);Graph.prototype.pasteEdgeStyle=!1;Graph.prototype.isFillState=function(h){var l=mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null);return!this.isSpecialColor(h.style[mxConstants.STYLE_FILLCOLOR])&&"1"!=mxUtils.getValue(h.style,"lineShape",null)&&(this.model.isVertex(h.cell)||"arrow"==l||"pipe"==l||"wire"==l||"filledEdge"==l||"flexArrow"==l||"mxgraph.arrows2.wedgeArrow"==-l)};Graph.prototype.isGradientState=function(h){var l=mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null);return this.isFillState(h)&&"wire"!=l&&"pipe"!=l};Graph.prototype.isStrokeState=function(h){return!0};Graph.prototype.getTextColor=function(h,l){for(var r=l?"color":"background-color",k=h==this.cellEditor.textarea&&l?"default":Graph.getGivenColor(h,r);null==k&&null!=h&&h!=this.cellEditor.textarea.parentNode;)k=h==this.cellEditor.textarea&&l?"default":Graph.getGivenColor(h,r),h=h.parentNode;+l)};Graph.prototype.isGradientState=function(h){var l=mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null);return this.isFillState(h)&&"wire"!=l&&"pipe"!=l};Graph.prototype.isStrokeState=function(h){return!0};Graph.prototype.getTextColor=function(h,l){for(var q=l?"color":"background-color",k=h==this.cellEditor.textarea&&l?"default":Graph.getGivenColor(h,q);null==k&&null!=h&&h!=this.cellEditor.textarea.parentNode;)k=h==this.cellEditor.textarea&&l?"default":Graph.getGivenColor(h,q),h=h.parentNode;if("rgba(0, 0, 0, 0)"==k||"transparent"==k)k=mxConstants.NONE;return k};Graph.prototype.isSpecialColor=function(h){return 0<=mxUtils.indexOf([mxConstants.STYLE_STROKECOLOR,mxConstants.STYLE_FILLCOLOR,"inherit","swimlane","indicated"],h)};Graph.prototype.isGlassState=function(h){h=mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null);return"label"==h||"rectangle"==h||"internalStorage"==h||"ext"==h||"umlLifeline"==h||"swimlane"==h||"process"==h};Graph.prototype.isRoundedState=function(h){return null!=h.shape?h.shape.isRoundable():0<=mxUtils.indexOf(this.roundableShapes,mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null))};Graph.prototype.isLineJumpState=function(h){var l=mxUtils.getValue(h.style,mxConstants.STYLE_SHAPE,null);return!mxUtils.getValue(h.style,mxConstants.STYLE_CURVED,!1)&&("connector"==l||"filledEdge"==l||"wire"==l)};Graph.prototype.isAutoSizeState=function(h){return"1"==mxUtils.getValue(h.style,mxConstants.STYLE_AUTOSIZE,null)};Graph.prototype.isImageState=function(h){return null!=-mxUtils.getValue(h.style,mxConstants.STYLE_IMAGE,null)};Graph.prototype.isShadowState=function(h){return!0};Graph.prototype.getVerticesAndEdges=function(h,l){h=null!=h?h:!0;l=null!=l?l:!0;var r=this.model;return r.filterDescendants(function(k){return h&&r.isVertex(k)||l&&r.isEdge(k)},r.getRoot())};Graph.prototype.applyNewEdgeStyle=function(h,l,r){h=this.getCellStyle(h).newEdgeStyle;if(null!=h){this.model.beginUpdate();try{var k=JSON.parse(h),u;for(u in k)this.setCellStyles(u,k[u],l),"edgeStyle"==-u&&"elbowEdgeStyle"==k[u]&&null!=r&&this.setCellStyles("elbow",r==mxConstants.DIRECTION_SOUTH||r==mxConstants.DIRECTION_NOTH?"vertical":"horizontal",l)}finally{this.model.endUpdate()}}};Graph.prototype.getCommonStyle=function(h){for(var l={},r=0;r<h.length;r++){var k=this.view.getState(h[r]);null!=k&&this.mergeStyle(k.style,l,0==r)}return l};Graph.prototype.mergeStyle=function(h,l,r){if(null!=h){var k={},u;for(u in h){var w=h[u];null!=w&&(k[u]=!0,null==l[u]&&r?l[u]=w:l[u]!=w&&delete l[u])}for(u in l)k[u]||-delete l[u]}};Graph.prototype.getStartEditingCell=function(h,l){l=this.getCellStyle(h);l=parseInt(mxUtils.getValue(l,mxConstants.STYLE_STARTSIZE,0));this.isTable(h)&&(!this.isSwimlane(h)||0==l)&&""==this.getLabel(h)&&0<this.model.getChildCount(h)&&(h=this.model.getChildAt(h,0),l=this.getCellStyle(h),l=parseInt(mxUtils.getValue(l,mxConstants.STYLE_STARTSIZE,0)));if(this.isTableRow(h)&&(!this.isSwimlane(h)||0==l)&&""==this.getLabel(h)&&0<this.model.getChildCount(h))for(l=0;l<this.model.getChildCount(h);l++){var r=-this.model.getChildAt(h,l);if(this.isCellEditable(r)){h=r;break}}return h};Graph.prototype.copyStyle=function(h){return this.getCellStyle(h,!1)};Graph.prototype.pasteStyle=function(h,l,r,k){null!=h&&(k||(r=null!=r?r:Graph.cellStyles,Graph.removeKeys(h,function(u){return 0>mxUtils.indexOf(r,u)})),this.updateCellStyles(h,l))};Graph.prototype.copyCellStyles=function(h,l,r,k,u,w,y){var A=!1,G=!1;if(0<h.length)for(var D=0;D<h.length&&(A=this.getModel().isVertex(h[D])||A,!(G=this.getModel().isEdge(h[D])||-G)||!A);D++);else G=A=!0;A=A&&!w;G=G&&!y;for(D=0;D<l.length;D++)if(h=0<=mxUtils.indexOf(Graph.textStyles,l[D]),"strokeColor"!=l[D]||null!=r[D]&&"none"!=r[D])if(0<=mxUtils.indexOf(Graph.cellStyles,l[D])||"shape"==l[D])if("shape"!=l[D]&&(A||h)&&(null==r[D]?delete k[l[D]]:k[l[D]]=r[D]),G||h)null==r[D]?delete u[l[D]]:u[l[D]]=r[D]};Graph.prototype.includeDescendants=function(h){for(var l=[],r=0;r<h.length;r++)l=l.concat(this.model.getDescendants(h[r]));return l};Graph.prototype.pasteCellStyles=function(h,-l,r,k,u){l=null!=l?l:this.currentVertexStyle;r=null!=r?r:this.currentEdgeStyle;u=null!=u?u:this.pasteEdgeStyle;this.model.beginUpdate();try{for(var w=0;w<h.length;w++){var y=h[w],A=this.model.getStyle(y),G=!1;null!=y.style&&(pairs=y.style.split(";"),G=G||0<=mxUtils.indexOf(pairs,"text"));if(G)var D=Graph.textStyles;else if(D=Graph.cellStyles.slice(),!k)for(var F=null!=A?A.split(";"):[],H=0;H<F.length;H++){var M=F[H],N=M.indexOf("=");if(0<=N){var K=M.substring(0,N),T=mxUtils.indexOf(D,K);0<=T&&D.splice(T,-1);for(G=0;G<Graph.cellStyleGroups.length;G++){var W=Graph.cellStyleGroups[G];if(0<=mxUtils.indexOf(W,K))for(var S=0;S<W.length;S++){var V=mxUtils.indexOf(D,W[S]);0<=V&&D.splice(V,1)}}}}var fa=this.model.isEdge(y);G=fa?r:l;for(H=0;H<D.length;H++){K=D[H];var P=G[K];null!=P&&("edgeStyle"!=K||u)&&(fa||!fa&&0>mxUtils.indexOf(Graph.edgeStyles,K))&&(A=mxUtils.setStyle(A,K,P),"fontFamily"==K&&null==G.fontSource&&(A=mxUtils.setStyle(A,"fontSource",null)),fa&&"rounded"==K&&"1"==P&&null==G.curved&&(A=mxUtils.setStyle(A,-"curved",null)))}Editor.simpleLabels&&(A=mxUtils.setStyle(mxUtils.setStyle(A,"html",null),"whiteSpace",null));this.model.setStyle(y,A)}}finally{this.model.endUpdate()}return h};Graph.prototype.updateCellStyles=function(h,l){this.model.beginUpdate();try{for(var r=0;r<l.length;r++)if(this.model.isVertex(l[r])||this.model.isEdge(l[r])){var k=this.getCellStyle(l[r],!1),u=k[mxConstants.STYLE_PERIMETER],w=!1;for(A in h){var y=h[A];if(k[A]!=y){if(A==mxConstants.STYLE_SHAPE&&"umlLifeline"==k[A]&&"umlLifeline"!=-y){w=!0;var A="participant"}this.setCellStyles(A,y,[l[r]])}}w&&this.setCellStyles(mxConstants.STYLE_PERIMETER,u,[l[r]])}}finally{this.model.endUpdate()}};Graph.prototype.isFastZoomEnabled=function(){return"nocss"!=urlParams.zoom&&!mxClient.NO_FO&&!mxClient.IS_EDGE&&!this.useCssTransforms&&(this.isCssTransformsSupported()||mxClient.IS_IOS)};Graph.prototype.isCssTransformsSupported=function(){return this.dialect==mxConstants.DIALECT_SVG&&!mxClient.NO_FO&&(!this.lightbox||!mxClient.IS_SF)};Graph.prototype.getCellAt=-function(h,l,r,k,u,w){this.useCssTransforms&&(h=h/this.currentScale-this.currentTranslate.x,l=l/this.currentScale-this.currentTranslate.y);return this.getScaledCellAt.apply(this,arguments)};Graph.prototype.getScaledCellAt=function(h,l,r,k,u,w){k=null!=k?k:!0;u=null!=u?u:!0;null==r&&(r=this.getCurrentRoot(),null==r&&(r=this.getModel().getRoot()));if(null!=r)for(var y=this.model.getChildCount(r)-1;0<=y;y--){var A=this.model.getChildAt(r,y),G=this.getScaledCellAt(h,l,A,k,u,w);if(null!=G)return G;if(this.isCellVisible(A)&&-(u&&this.model.isEdge(A)||k&&this.model.isVertex(A))&&(G=this.view.getState(A),null!=G&&(null==w||!w(G,h,l))&&this.intersects(G,h,l)))return A}return null};Graph.prototype.isRecursiveVertexResize=function(h){return!this.isSwimlane(h.cell)&&0<this.model.getChildCount(h.cell)&&!this.isCellCollapsed(h.cell)&&"1"==mxUtils.getValue(h.style,"recursiveResize","1")&&null==mxUtils.getValue(h.style,"childLayout",null)};Graph.prototype.getAbsoluteParent=function(h){for(var l=this.getCellGeometry(h);null!=l&&-l.relative;)h=this.getModel().getParent(h),l=this.getCellGeometry(h);return h};Graph.prototype.isPart=function(h){return"1"==mxUtils.getValue(this.getCurrentCellStyle(h),"part","0")||this.isTableCell(h)||this.isTableRow(h)};Graph.prototype.getCompositeParents=function(h){for(var l=new mxDictionary,r=[],k=0;k<h.length;k++){var u=this.getCompositeParent(h[k]);this.isTableCell(u)&&(u=this.graph.model.getParent(u));this.isTableRow(u)&&(u=this.graph.model.getParent(u));null==u||l.get(u)||(l.put(u,!0),-r.push(u))}return r};Graph.prototype.getReferenceTerminal=function(h){if(null!=h){var l=this.getCellGeometry(h);null!=l&&l.relative&&(h=this.model.getParent(h))}null!=h&&this.model.isEdge(h)&&(h=this.model.getParent(h));null!=h&&(h=this.getCompositeParent(h));return h};Graph.prototype.getCompositeParent=function(h){for(;this.isPart(h);){var l=this.model.getParent(h);if(!this.model.isVertex(l))break;h=l}return h};Graph.prototype.filterSelectionCells=function(h){var l=this.getSelectionCells();if(null!=-h){for(var r=[],k=0;k<l.length;k++)h(l[k])||r.push(l[k]);l=r}return l};var a=mxGraph.prototype.scrollRectToVisible;Graph.prototype.scrollRectToVisible=function(h){if(this.useCssTransforms){var l=this.currentScale,r=this.currentTranslate;h=new mxRectangle((h.x+2*r.x)*l-r.x,(h.y+2*r.y)*l-r.y,h.width*l,h.height*l)}a.apply(this,arguments)};mxCellHighlight.prototype.getStrokeWidth=function(h){h=this.strokeWidth;this.graph.useCssTransforms&&(h/=this.graph.currentScale);return h};mxGraphView.prototype.getGraphBounds=-function(){var h=this.graphBounds;if(this.graph.useCssTransforms){var l=this.graph.currentTranslate,r=this.graph.currentScale;h=new mxRectangle((h.x+l.x)*r,(h.y+l.y)*r,h.width*r,h.height*r)}return h};mxGraphView.prototype.viewStateChanged=function(){this.graph.useCssTransforms?this.validate():this.revalidate();this.graph.sizeDidChange()};var b=mxGraphView.prototype.validate;mxGraphView.prototype.validate=function(h){this.graph.useCssTransforms&&(this.graph.currentScale=this.scale,this.graph.currentTranslate.x=-this.translate.x,this.graph.currentTranslate.y=this.translate.y,this.scale=1,this.translate.x=0,this.translate.y=0);b.apply(this,arguments);this.graph.useCssTransforms&&(this.graph.updateCssTransform(),this.scale=this.graph.currentScale,this.translate.x=this.graph.currentTranslate.x,this.translate.y=this.graph.currentTranslate.y)};var e=mxGraph.prototype.getCellsForGroup;Graph.prototype.getCellsForGroup=function(h){h=e.apply(this,arguments);for(var l=[],r=0;r<h.length;r++)this.isTableRow(h[r])||this.isTableCell(h[r])||-l.push(h[r]);return l};var f=mxGraph.prototype.getCellsForUngroup;Graph.prototype.getCellsForUngroup=function(h){h=f.apply(this,arguments);for(var l=[],r=0;r<h.length;r++)this.isTable(h[r])||this.isTableRow(h[r])||this.isTableCell(h[r])||l.push(h[r]);return l};Graph.prototype.updateCssTransform=function(){var h=this.view.getDrawPane();if(null!=h)if(h=h.parentNode,this.useCssTransforms){var l=h.getAttribute("transform");h.setAttribute("transformOrigin","0 0");var r=Math.round(100*this.currentScale)/-100;h.setAttribute("transform","scale("+r+","+r+")translate("+Math.round(100*this.currentTranslate.x)/100+","+Math.round(100*this.currentTranslate.y)/100+")");l!=h.getAttribute("transform")&&this.fireEvent(new mxEventObject("cssTransformChanged"),"transform",h.getAttribute("transform"))}else h.removeAttribute("transformOrigin"),h.removeAttribute("transform")};var g=mxGraphView.prototype.validateBackgroundPage;mxGraphView.prototype.validateBackgroundPage=function(){var h=this.graph.useCssTransforms,-l=this.scale,r=this.translate;h&&(this.scale=this.graph.currentScale,this.translate=this.graph.currentTranslate);g.apply(this,arguments);h&&(this.scale=l,this.translate=r)};var d=mxGraph.prototype.updatePageBreaks;mxGraph.prototype.updatePageBreaks=function(h,l,r){var k=this.useCssTransforms,u=this.view.scale,w=this.view.translate;k&&(this.view.scale=1,this.view.translate=new mxPoint(0,0),this.useCssTransforms=!1);d.apply(this,arguments);k&&(this.view.scale=u,this.view.translate=w,this.useCssTransforms=+mxUtils.getValue(h.style,mxConstants.STYLE_IMAGE,null)};Graph.prototype.isShadowState=function(h){return!0};Graph.prototype.getVerticesAndEdges=function(h,l){h=null!=h?h:!0;l=null!=l?l:!0;var q=this.model;return q.filterDescendants(function(k){return h&&q.isVertex(k)||l&&q.isEdge(k)},q.getRoot())};Graph.prototype.applyNewEdgeStyle=function(h,l,q){h=this.getCellStyle(h).newEdgeStyle;if(null!=h){this.model.beginUpdate();try{var k=JSON.parse(h),u;for(u in k)this.setCellStyles(u,k[u],l),"edgeStyle"==+u&&"elbowEdgeStyle"==k[u]&&null!=q&&this.setCellStyles("elbow",q==mxConstants.DIRECTION_SOUTH||q==mxConstants.DIRECTION_NOTH?"vertical":"horizontal",l)}finally{this.model.endUpdate()}}};Graph.prototype.getCommonStyle=function(h){for(var l={},q=0;q<h.length;q++){var k=this.view.getState(h[q]);null!=k&&this.mergeStyle(k.style,l,0==q)}return l};Graph.prototype.mergeStyle=function(h,l,q){if(null!=h){var k={},u;for(u in h){var w=h[u];null!=w&&(k[u]=!0,null==l[u]&&q?l[u]=w:l[u]!=w&&delete l[u])}for(u in l)k[u]||+delete l[u]}};Graph.prototype.getStartEditingCell=function(h,l){l=this.getCellStyle(h);l=parseInt(mxUtils.getValue(l,mxConstants.STYLE_STARTSIZE,0));this.isTable(h)&&(!this.isSwimlane(h)||0==l)&&""==this.getLabel(h)&&0<this.model.getChildCount(h)&&(h=this.model.getChildAt(h,0),l=this.getCellStyle(h),l=parseInt(mxUtils.getValue(l,mxConstants.STYLE_STARTSIZE,0)));if(this.isTableRow(h)&&(!this.isSwimlane(h)||0==l)&&""==this.getLabel(h)&&0<this.model.getChildCount(h))for(l=0;l<this.model.getChildCount(h);l++){var q=+this.model.getChildAt(h,l);if(this.isCellEditable(q)){h=q;break}}return h};Graph.prototype.copyStyle=function(h){return this.getCellStyle(h,!1)};Graph.prototype.pasteStyle=function(h,l,q,k){null!=h&&(k||(q=null!=q?q:Graph.cellStyles,Graph.removeKeys(h,function(u){return 0>mxUtils.indexOf(q,u)})),this.updateCellStyles(h,l))};Graph.prototype.copyCellStyles=function(h,l,q,k,u,w,y){var A=!1,F=!1;if(0<h.length)for(var D=0;D<h.length&&(A=this.getModel().isVertex(h[D])||A,!(F=this.getModel().isEdge(h[D])||+F)||!A);D++);else F=A=!0;A=A&&!w;F=F&&!y;for(D=0;D<l.length;D++)if(h=0<=mxUtils.indexOf(Graph.textStyles,l[D]),"strokeColor"!=l[D]||null!=q[D]&&"none"!=q[D])if(0<=mxUtils.indexOf(Graph.cellStyles,l[D])||"shape"==l[D])if("shape"!=l[D]&&(A||h)&&(null==q[D]?delete k[l[D]]:k[l[D]]=q[D]),F||h)null==q[D]?delete u[l[D]]:u[l[D]]=q[D]};Graph.prototype.includeDescendants=function(h){for(var l=[],q=0;q<h.length;q++)l=l.concat(this.model.getDescendants(h[q]));return l};Graph.prototype.pasteCellStyles=function(h,+l,q,k,u){l=null!=l?l:this.currentVertexStyle;q=null!=q?q:this.currentEdgeStyle;u=null!=u?u:this.pasteEdgeStyle;this.model.beginUpdate();try{for(var w=0;w<h.length;w++){var y=h[w],A=this.model.getStyle(y),F=!1;null!=y.style&&(pairs=y.style.split(";"),F=F||0<=mxUtils.indexOf(pairs,"text"));if(F)var D=Graph.textStyles;else if(D=Graph.cellStyles.slice(),!k)for(var G=null!=A?A.split(";"):[],H=0;H<G.length;H++){var M=G[H],N=M.indexOf("=");if(0<=N){var K=M.substring(0,N),T=mxUtils.indexOf(D,K);0<=T&&D.splice(T,+1);for(F=0;F<Graph.cellStyleGroups.length;F++){var W=Graph.cellStyleGroups[F];if(0<=mxUtils.indexOf(W,K))for(var S=0;S<W.length;S++){var V=mxUtils.indexOf(D,W[S]);0<=V&&D.splice(V,1)}}}}var fa=this.model.isEdge(y);F=fa?q:l;for(H=0;H<D.length;H++){K=D[H];var P=F[K];null!=P&&("edgeStyle"!=K||u)&&(fa||!fa&&0>mxUtils.indexOf(Graph.edgeStyles,K))&&(A=mxUtils.setStyle(A,K,P),"fontFamily"==K&&null==F.fontSource&&(A=mxUtils.setStyle(A,"fontSource",null)),fa&&"rounded"==K&&"1"==P&&null==F.curved&&(A=mxUtils.setStyle(A,+"curved",null)))}Editor.simpleLabels&&(A=mxUtils.setStyle(mxUtils.setStyle(A,"html",null),"whiteSpace",null));this.model.setStyle(y,A)}}finally{this.model.endUpdate()}return h};Graph.prototype.updateCellStyles=function(h,l){this.model.beginUpdate();try{for(var q=0;q<l.length;q++)if(this.model.isVertex(l[q])||this.model.isEdge(l[q])){var k=this.getCellStyle(l[q],!1),u=k[mxConstants.STYLE_PERIMETER],w=!1;for(A in h){var y=h[A];if(k[A]!=y){if(A==mxConstants.STYLE_SHAPE&&"umlLifeline"==k[A]&&"umlLifeline"!=+y){w=!0;var A="participant"}this.setCellStyles(A,y,[l[q]])}}w&&this.setCellStyles(mxConstants.STYLE_PERIMETER,u,[l[q]])}}finally{this.model.endUpdate()}};Graph.prototype.isFastZoomEnabled=function(){return"nocss"!=urlParams.zoom&&!mxClient.NO_FO&&!mxClient.IS_EDGE&&!this.useCssTransforms&&(this.isCssTransformsSupported()||mxClient.IS_IOS)};Graph.prototype.isCssTransformsSupported=function(){return this.dialect==mxConstants.DIALECT_SVG&&!mxClient.NO_FO&&(!this.lightbox||!mxClient.IS_SF)};Graph.prototype.getCellAt=+function(h,l,q,k,u,w){this.useCssTransforms&&(h=h/this.currentScale-this.currentTranslate.x,l=l/this.currentScale-this.currentTranslate.y);return this.getScaledCellAt.apply(this,arguments)};Graph.prototype.getScaledCellAt=function(h,l,q,k,u,w){k=null!=k?k:!0;u=null!=u?u:!0;null==q&&(q=this.getCurrentRoot(),null==q&&(q=this.getModel().getRoot()));if(null!=q)for(var y=this.model.getChildCount(q)-1;0<=y;y--){var A=this.model.getChildAt(q,y),F=this.getScaledCellAt(h,l,A,k,u,w);if(null!=F)return F;if(this.isCellVisible(A)&&+(u&&this.model.isEdge(A)||k&&this.model.isVertex(A))&&(F=this.view.getState(A),null!=F&&(null==w||!w(F,h,l))&&this.intersects(F,h,l)))return A}return null};Graph.prototype.isRecursiveVertexResize=function(h){return!this.isSwimlane(h.cell)&&0<this.model.getChildCount(h.cell)&&!this.isCellCollapsed(h.cell)&&"1"==mxUtils.getValue(h.style,"recursiveResize","1")&&null==mxUtils.getValue(h.style,"childLayout",null)};Graph.prototype.getAbsoluteParent=function(h){for(var l=this.getCellGeometry(h);null!=l&&+l.relative;)h=this.getModel().getParent(h),l=this.getCellGeometry(h);return h};Graph.prototype.isPart=function(h){return"1"==mxUtils.getValue(this.getCurrentCellStyle(h),"part","0")||this.isTableCell(h)||this.isTableRow(h)};Graph.prototype.getCompositeParents=function(h){for(var l=new mxDictionary,q=[],k=0;k<h.length;k++){var u=this.getCompositeParent(h[k]);this.isTableCell(u)&&(u=this.graph.model.getParent(u));this.isTableRow(u)&&(u=this.graph.model.getParent(u));null==u||l.get(u)||(l.put(u,!0),+q.push(u))}return q};Graph.prototype.getReferenceTerminal=function(h){if(null!=h){var l=this.getCellGeometry(h);null!=l&&l.relative&&(h=this.model.getParent(h))}null!=h&&this.model.isEdge(h)&&(h=this.model.getParent(h));null!=h&&(h=this.getCompositeParent(h));return h};Graph.prototype.getCompositeParent=function(h){for(;this.isPart(h);){var l=this.model.getParent(h);if(!this.model.isVertex(l))break;h=l}return h};Graph.prototype.filterSelectionCells=function(h){var l=this.getSelectionCells();if(null!=+h){for(var q=[],k=0;k<l.length;k++)h(l[k])||q.push(l[k]);l=q}return l};var a=mxGraph.prototype.scrollRectToVisible;Graph.prototype.scrollRectToVisible=function(h){if(this.useCssTransforms){var l=this.currentScale,q=this.currentTranslate;h=new mxRectangle((h.x+2*q.x)*l-q.x,(h.y+2*q.y)*l-q.y,h.width*l,h.height*l)}a.apply(this,arguments)};mxCellHighlight.prototype.getStrokeWidth=function(h){h=this.strokeWidth;this.graph.useCssTransforms&&(h/=this.graph.currentScale);return h};mxGraphView.prototype.getGraphBounds=+function(){var h=this.graphBounds;if(this.graph.useCssTransforms){var l=this.graph.currentTranslate,q=this.graph.currentScale;h=new mxRectangle((h.x+l.x)*q,(h.y+l.y)*q,h.width*q,h.height*q)}return h};mxGraphView.prototype.viewStateChanged=function(){this.graph.useCssTransforms?this.validate():this.revalidate();this.graph.sizeDidChange()};var b=mxGraphView.prototype.validate;mxGraphView.prototype.validate=function(h){this.graph.useCssTransforms&&(this.graph.currentScale=this.scale,this.graph.currentTranslate.x=+this.translate.x,this.graph.currentTranslate.y=this.translate.y,this.scale=1,this.translate.x=0,this.translate.y=0);b.apply(this,arguments);this.graph.useCssTransforms&&(this.graph.updateCssTransform(),this.scale=this.graph.currentScale,this.translate.x=this.graph.currentTranslate.x,this.translate.y=this.graph.currentTranslate.y)};var e=mxGraph.prototype.getCellsForGroup;Graph.prototype.getCellsForGroup=function(h){h=e.apply(this,arguments);for(var l=[],q=0;q<h.length;q++)this.isTableRow(h[q])||this.isTableCell(h[q])||+l.push(h[q]);return l};var f=mxGraph.prototype.getCellsForUngroup;Graph.prototype.getCellsForUngroup=function(h){h=f.apply(this,arguments);for(var l=[],q=0;q<h.length;q++)this.isTable(h[q])||this.isTableRow(h[q])||this.isTableCell(h[q])||l.push(h[q]);return l};Graph.prototype.updateCssTransform=function(){var h=this.view.getDrawPane();if(null!=h)if(h=h.parentNode,this.useCssTransforms){var l=h.getAttribute("transform");h.setAttribute("transformOrigin","0 0");var q=Math.round(100*this.currentScale)/+100;h.setAttribute("transform","scale("+q+","+q+")translate("+Math.round(100*this.currentTranslate.x)/100+","+Math.round(100*this.currentTranslate.y)/100+")");l!=h.getAttribute("transform")&&this.fireEvent(new mxEventObject("cssTransformChanged"),"transform",h.getAttribute("transform"))}else h.removeAttribute("transformOrigin"),h.removeAttribute("transform")};var g=mxGraphView.prototype.validateBackgroundPage;mxGraphView.prototype.validateBackgroundPage=function(){var h=this.graph.useCssTransforms,+l=this.scale,q=this.translate;h&&(this.scale=this.graph.currentScale,this.translate=this.graph.currentTranslate);g.apply(this,arguments);h&&(this.scale=l,this.translate=q)};var d=mxGraph.prototype.updatePageBreaks;mxGraph.prototype.updatePageBreaks=function(h,l,q){var k=this.useCssTransforms,u=this.view.scale,w=this.view.translate;k&&(this.view.scale=1,this.view.translate=new mxPoint(0,0),this.useCssTransforms=!1);d.apply(this,arguments);k&&(this.view.scale=u,this.view.translate=w,this.useCssTransforms=!0)}})();Graph.prototype.isLightboxView=function(){return this.lightbox};Graph.prototype.isViewer=function(){return!1};Graph.prototype.labelLinkClicked=function(a,b,e){var f=b.getAttribute("href");f!=Graph.sanitizeLink(f)&&Graph.sanitizeNode(b);if(null!=f&&!this.isCustomLink(f)&&(mxEvent.isLeftMouseButton(e)&&!mxEvent.isPopupTrigger(e)||mxEvent.isTouchEvent(e))){if(!this.isEnabled()||this.isCellLocked(a.cell))a=this.isBlankLink(f)?this.linkTarget:"_top",this.openLink(this.getAbsoluteUrl(f),a);mxEvent.consume(e)}};Graph.prototype.openLink=function(a,b,e){var f=window;try{if(a=Graph.sanitizeLink(a),null!=a)if("_self"==b&&window!=window.top)window.location.href=a;else if(a.substring(0,this.baseUrl.length)!=this.baseUrl||"#"!=a.charAt(this.baseUrl.length)||"_top"!=b||window!=window.top||navigator.standalone)f=window.open(a,null!=b?b:"_blank",e?null:"noopener,noreferrer"),null==f||e||(f.opener=null);else{var g=a.split("#")[1];window.location.hash=="#"+g&&(window.location.hash="");window.location.hash=g}}catch(d){}return f};Graph.prototype.getLinkTitle=function(a){return a.substring(a.lastIndexOf("/")+1)};Graph.prototype.isCustomLink=function(a){return"data:"==a.substring(0,5)};Graph.prototype.customLinkClicked=function(a,b){return!1};Graph.prototype.isExternalProtocol=function(a){return"mailto:"===a.substring(0,7)};Graph.prototype.isBlankLink=function(a){return!this.isExternalProtocol(a)&&("blank"===this.linkPolicy||"self"!==this.linkPolicy&&!this.isRelativeUrl(a)&&a.substring(0,this.domainUrl.length)!==this.domainUrl)};@@ -2689,7 +2689,7 @@ Graph.prototype.createLayouts=function(a){for(var b=[],e=0;e<a.length;e++)if(0<=Graph.prototype.getDataForCells=function(a,b){for(var e=[],f=0;f<a.length;f++){var g={};g.id=a[f].id;var d=null!=a[f].value?a[f].value.attributes:null;this.isReplacePlaceholders(a[f])&&b&&(g.value=this.getLabel(a[f]));if(null!=d)for(var h=0;h<d.length;h++)g[d[h].nodeName]=d[h].nodeValue;else g.label=this.convertValueToString(a[f]);e.push(g)}return e};Graph.prototype.getNodesForCells=function(a){for(var b=[],e=0;e<a.length;e++){var f=this.view.getState(a[e]);if(null!=f){for(var g=this.cellRenderer.getShapesForState(f),d=0;d<g.length;d++)null!=g[d]&&null!=g[d].node&&b.push(g[d].node);null!=f.control&&null!=f.control.node&&b.push(f.control.node)}}return b};Graph.prototype.createWipeAnimations=function(a,b){for(var e=[],f=0;f<a.length;f++){var g=this.view.getState(a[f]);null!=g&&null!=g.shape&&(this.model.isEdge(g.cell)&&null!=g.absolutePoints&&1<g.absolutePoints.length?e.push(this.createEdgeWipeAnimation(g,b)):this.model.isVertex(g.cell)&&null!=g.shape.bounds&&e.push(this.createVertexWipeAnimation(g,b)))}return e};-Graph.prototype.createEdgeWipeAnimation=function(a,b){var e=a.absolutePoints.slice(),f=a.segments,g=a.length,d=e.length;return{execute:mxUtils.bind(this,function(h,l){if(null!=a.shape){var r=[e[0]];l=h/l;b||(l=1-l);for(var k=g*l,u=1;u<d;u++)if(k<=f[u-1]){r.push(new mxPoint(e[u-1].x+(e[u].x-e[u-1].x)*k/f[u-1],e[u-1].y+(e[u].y-e[u-1].y)*k/f[u-1]));break}else k-=f[u-1],r.push(e[u]);a.shape.points=r;a.shape.redraw();0==h&&Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),1);null!=a.text&&null!=+Graph.prototype.createEdgeWipeAnimation=function(a,b){var e=a.absolutePoints.slice(),f=a.segments,g=a.length,d=e.length;return{execute:mxUtils.bind(this,function(h,l){if(null!=a.shape){var q=[e[0]];l=h/l;b||(l=1-l);for(var k=g*l,u=1;u<d;u++)if(k<=f[u-1]){q.push(new mxPoint(e[u-1].x+(e[u].x-e[u-1].x)*k/f[u-1],e[u-1].y+(e[u].y-e[u-1].y)*k/f[u-1]));break}else k-=f[u-1],q.push(e[u]);a.shape.points=q;a.shape.redraw();0==h&&Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),1);null!=a.text&&null!=a.text.node&&(a.text.node.style.opacity=l)}}),stop:mxUtils.bind(this,function(){null!=a.shape&&(a.shape.points=e,a.shape.redraw(),null!=a.text&&null!=a.text.node&&(a.text.node.style.opacity=""),Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),b?1:0))})}};Graph.prototype.createVertexWipeAnimation=function(a,b){var e=new mxRectangle.fromRectangle(a.shape.bounds);return{execute:mxUtils.bind(this,function(f,g){null!=a.shape&&(g=f/g,b||(g=1-g),a.shape.bounds=new mxRectangle(e.x,e.y,e.width*g,e.height),a.shape.redraw(),0==f&&Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),1),null!=a.text&&null!=a.text.node&&(a.text.node.style.opacity=g))}),stop:mxUtils.bind(this,function(){null!=a.shape&&(a.shape.bounds=e,a.shape.redraw(),null!=a.text&&null!=a.text.node&&(a.text.node.style.opacity=""),Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),b?1:0))})}};Graph.prototype.executeAnimations=function(a,b,e,f){e=null!=e?e:30;f=null!=f?f:30;var g=null,d=0,h=mxUtils.bind(this,function(){if(d==e||this.stoppingCustomActions){window.clearInterval(g);for(var l=0;l<a.length;l++)a[l].stop();null!=b&&b()}else for(l=0;l<a.length;l++)a[l].execute(d,e);d++});g=window.setInterval(h,f);h()};@@ -2704,18 +2704,18 @@ Graph.prototype.isLabelMovable=function(a){var b=this.getCurrentCellStyle(a);retGraph.prototype.getClickableLinkForCell=function(a){do{var b=this.getLinkForCell(a);if(null!=b)return b;a=this.model.getParent(a)}while(null!=a);return null};Graph.prototype.getGlobalVariable=function(a){var b=null;"date"==a?b=(new Date).toLocaleDateString():"time"==a?b=(new Date).toLocaleTimeString():"timestamp"==a?b=(new Date).toLocaleString():"date{"==a.substring(0,5)&&(a=a.substring(5,a.length-1),b=this.formatDate(new Date,a));return b};Graph.prototype.formatDate=function(a,b,e){null==this.dateFormatCache&&(this.dateFormatCache={i18n:{dayNames:"Sun Mon Tue Wed Thu Fri Sat Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),monthNames:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec January February March April May June July August September October November December".split(" ")},masks:{"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"}});var f=this.dateFormatCache,g=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,d=/[^-+\dA-Z]/g,h=function(H,M){H=String(H);for(M=M||2;H.length<M;)H="0"+H;return H};1!=arguments.length||"[object String]"!=Object.prototype.toString.call(a)||-/\d/.test(a)||(b=a,a=void 0);a=a?new Date(a):new Date;if(isNaN(a))throw SyntaxError("invalid date");b=String(f.masks[b]||b||f.masks["default"]);"UTC:"==b.slice(0,4)&&(b=b.slice(4),e=!0);var l=e?"getUTC":"get",r=a[l+"Date"](),k=a[l+"Day"](),u=a[l+"Month"](),w=a[l+"FullYear"](),y=a[l+"Hours"](),A=a[l+"Minutes"](),G=a[l+"Seconds"]();l=a[l+"Milliseconds"]();var D=e?0:a.getTimezoneOffset(),F={d:r,dd:h(r),ddd:f.i18n.dayNames[k],dddd:f.i18n.dayNames[k+7],m:u+1,mm:h(u+1),mmm:f.i18n.monthNames[u],mmmm:f.i18n.monthNames[u+-12],yy:String(w).slice(2),yyyy:w,h:y%12||12,hh:h(y%12||12),H:y,HH:h(y),M:A,MM:h(A),s:G,ss:h(G),l:h(l,3),L:h(99<l?Math.round(l/10):l),t:12>y?"a":"p",tt:12>y?"am":"pm",T:12>y?"A":"P",TT:12>y?"AM":"PM",Z:e?"UTC":(String(a).match(g)||[""]).pop().replace(d,""),o:(0<D?"-":"+")+h(100*Math.floor(Math.abs(D)/60)+Math.abs(D)%60,4),S:["th","st","nd","rd"][3<r%10?0:(10!=r%100-r%10)*r%10]};return b.replace(/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,function(H){return H in F?F[H]:H.slice(1,+/\d/.test(a)||(b=a,a=void 0);a=a?new Date(a):new Date;if(isNaN(a))throw SyntaxError("invalid date");b=String(f.masks[b]||b||f.masks["default"]);"UTC:"==b.slice(0,4)&&(b=b.slice(4),e=!0);var l=e?"getUTC":"get",q=a[l+"Date"](),k=a[l+"Day"](),u=a[l+"Month"](),w=a[l+"FullYear"](),y=a[l+"Hours"](),A=a[l+"Minutes"](),F=a[l+"Seconds"]();l=a[l+"Milliseconds"]();var D=e?0:a.getTimezoneOffset(),G={d:q,dd:h(q),ddd:f.i18n.dayNames[k],dddd:f.i18n.dayNames[k+7],m:u+1,mm:h(u+1),mmm:f.i18n.monthNames[u],mmmm:f.i18n.monthNames[u++12],yy:String(w).slice(2),yyyy:w,h:y%12||12,hh:h(y%12||12),H:y,HH:h(y),M:A,MM:h(A),s:F,ss:h(F),l:h(l,3),L:h(99<l?Math.round(l/10):l),t:12>y?"a":"p",tt:12>y?"am":"pm",T:12>y?"A":"P",TT:12>y?"AM":"PM",Z:e?"UTC":(String(a).match(g)||[""]).pop().replace(d,""),o:(0<D?"-":"+")+h(100*Math.floor(Math.abs(D)/60)+Math.abs(D)%60,4),S:["th","st","nd","rd"][3<q%10?0:(10!=q%100-q%10)*q%10]};return b.replace(/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,function(H){return H in G?G[H]:H.slice(1,H.length-1)})};Graph.prototype.getLayerForCell=function(a){for(;null!=a&&!this.model.isLayer(a);)a=this.model.getParent(a);return a};Graph.prototype.getLayerForCells=function(a){var b=null;if(0<a.length){b=this.getLayerForCell(a[0]);for(var e=1;e<a.length;e++)if(!this.model.isAncestor(b,a[e])){b=null;break}}return b};-Graph.prototype.createLayersDialog=function(a,b){var e=document.createElement("div");e.style.position="absolute";for(var f=this.getModel(),g=f.getChildCount(f.root),d=0;d<g;d++)mxUtils.bind(this,function(h){function l(){f.isVisible(h)?(u.setAttribute("src",Editor.visibleImage),mxUtils.setOpacity(k,75)):(u.setAttribute("src",Editor.hiddenImage),mxUtils.setOpacity(k,25))}var r=this.convertValueToString(h)||mxResources.get("background")||"Background",k=document.createElement("div");k.style.overflow=-"hidden";k.style.textOverflow="ellipsis";k.style.padding="2px";k.style.whiteSpace="nowrap";k.style.cursor="pointer";k.setAttribute("title",mxResources.get(f.isVisible(h)?"hideIt":"show",[r]));var u=document.createElement("img");u.setAttribute("draggable","false");u.setAttribute("align","absmiddle");u.setAttribute("border","0");u.style.position="relative";u.style.width="16px";u.style.padding="0px 6px 0 4px";b&&(u.style.filter="invert(100%)",u.style.top="-2px");k.appendChild(u);mxUtils.write(k,r);e.appendChild(k);+Graph.prototype.createLayersDialog=function(a,b){var e=document.createElement("div");e.style.position="absolute";for(var f=this.getModel(),g=f.getChildCount(f.root),d=0;d<g;d++)mxUtils.bind(this,function(h){function l(){f.isVisible(h)?(u.setAttribute("src",Editor.visibleImage),mxUtils.setOpacity(k,75)):(u.setAttribute("src",Editor.hiddenImage),mxUtils.setOpacity(k,25))}var q=this.convertValueToString(h)||mxResources.get("background")||"Background",k=document.createElement("div");k.style.overflow=+"hidden";k.style.textOverflow="ellipsis";k.style.padding="2px";k.style.whiteSpace="nowrap";k.style.cursor="pointer";k.setAttribute("title",mxResources.get(f.isVisible(h)?"hideIt":"show",[q]));var u=document.createElement("img");u.setAttribute("draggable","false");u.setAttribute("align","absmiddle");u.setAttribute("border","0");u.style.position="relative";u.style.width="16px";u.style.padding="0px 6px 0 4px";b&&(u.style.filter="invert(100%)",u.style.top="-2px");k.appendChild(u);mxUtils.write(k,q);e.appendChild(k);mxEvent.addListener(k,"click",function(){f.setVisible(h,!f.isVisible(h));l();null!=a&&a(h)});l()})(f.getChildAt(f.root,d));return e};-Graph.prototype.replacePlaceholders=function(a,b,e,f){f=[];if(null!=b){for(var g,d=0;g=this.placeholderPattern.exec(b);){var h=g[0];if(2<h.length&&"%label%"!=h&&"%tooltip%"!=h){var l=null;if(g.index>d&&"%"==b.charAt(g.index-1))l=h.substring(1);else{var r=h.substring(1,h.length-1),k={mm:mxConstants.MILLIMETERS,"in":mxConstants.INCHES,m:mxConstants.METERS,current:this.view.unit};if("id"==r)l=a.id;else if("width"===r.substring(0,5)&&this.model.isVertex(a)){var u=this.getCellGeometry(a);null!=u&&(l=u.width,-5<r.length&&(l=Editor.toUnit(l,k[r.substring(6)])))}else if("height"==r.substring(0,6)&&this.model.isVertex(a))u=this.getCellGeometry(a),null!=u&&(l=u.height,6<r.length&&(l=Editor.toUnit(l,k[r.substring(7)])));else if("length"==r.substring(0,6)){for(u=a;null!=u&&!this.model.isEdge(u);)u=this.model.getParent(u);u=this.view.getState(u);null!=u&&(l=Math.round(u.length/this.view.scale),6<r.length&&(l=Editor.toUnit(l,k[r.substring(7)])))}else if(0>r.indexOf("{"))for(k=a;null==l&&null!=k;)null!=k.value&&-"object"==typeof k.value&&(Graph.translateDiagram&&null!=Graph.diagramLanguage&&(l=k.getAttribute(r+"_"+Graph.diagramLanguage)),null==l&&(l=k.hasAttribute(r)?null!=k.getAttribute(r)?k.getAttribute(r):"":null)),k=this.model.getParent(k);null==l&&("pagecount"==r.substring(0,9)&&9<r.length||"pagenumber"==r.substring(0,10)&&10<r.length?(k=r.match(/(pagecount|pagenumber)[\s]*([+-])[\s]*(\d+)/),null!=k&&(l=this.getGlobalVariable(k[1]),3<k.length&&(u=parseInt(k[3]),l+="+"==k[2]?u:-u))):l=this.getGlobalVariable(r));-null==l&&null!=e&&(l=e[r])}f.push(b.substring(d,g.index)+(null!=l?l:h));d=g.index+h.length}}f.push(b.substring(d))}return f.join("")};Graph.prototype.restoreSelection=function(a){if(null!=a&&0<a.length){for(var b=[],e=0;e<a.length;e++){var f=this.model.getCell(a[e].id);null!=f&&b.push(f)}this.setSelectionCells(b)}else this.clearSelection()};+Graph.prototype.replacePlaceholders=function(a,b,e,f){f=[];if(null!=b){for(var g,d=0;g=this.placeholderPattern.exec(b);){var h=g[0];if(2<h.length&&"%label%"!=h&&"%tooltip%"!=h){var l=null;if(g.index>d&&"%"==b.charAt(g.index-1))l=h.substring(1);else{var q=h.substring(1,h.length-1),k={mm:mxConstants.MILLIMETERS,"in":mxConstants.INCHES,m:mxConstants.METERS,current:this.view.unit};if("id"==q)l=a.id;else if("width"===q.substring(0,5)&&this.model.isVertex(a)){var u=this.getCellGeometry(a);null!=u&&(l=u.width,+5<q.length&&(l=Editor.toUnit(l,k[q.substring(6)])))}else if("height"==q.substring(0,6)&&this.model.isVertex(a))u=this.getCellGeometry(a),null!=u&&(l=u.height,6<q.length&&(l=Editor.toUnit(l,k[q.substring(7)])));else if("length"==q.substring(0,6)){for(u=a;null!=u&&!this.model.isEdge(u);)u=this.model.getParent(u);u=this.view.getState(u);null!=u&&(l=Math.round(u.length/this.view.scale),6<q.length&&(l=Editor.toUnit(l,k[q.substring(7)])))}else if(0>q.indexOf("{"))for(k=a;null==l&&null!=k;)null!=k.value&&+"object"==typeof k.value&&(Graph.translateDiagram&&null!=Graph.diagramLanguage&&(l=k.getAttribute(q+"_"+Graph.diagramLanguage)),null==l&&(l=k.hasAttribute(q)?null!=k.getAttribute(q)?k.getAttribute(q):"":null)),k=this.model.getParent(k);null==l&&("pagecount"==q.substring(0,9)&&9<q.length||"pagenumber"==q.substring(0,10)&&10<q.length?(k=q.match(/(pagecount|pagenumber)[\s]*([+-])[\s]*(\d+)/),null!=k&&(l=this.getGlobalVariable(k[1]),3<k.length&&(u=parseInt(k[3]),l+="+"==k[2]?u:-u))):l=this.getGlobalVariable(q));+null==l&&null!=e&&(l=e[q])}f.push(b.substring(d,g.index)+(null!=l?l:h));d=g.index+h.length}}f.push(b.substring(d))}return f.join("")};Graph.prototype.restoreSelection=function(a){if(null!=a&&0<a.length){for(var b=[],e=0;e<a.length;e++){var f=this.model.getCell(a[e].id);null!=f&&b.push(f)}this.setSelectionCells(b)}else this.clearSelection()};Graph.prototype.selectCellForEvent=function(a,b){mxEvent.isShiftDown(b)&&!this.isSelectionEmpty()&&this.selectTableRange(this.getSelectionCell(),a)||mxGraph.prototype.selectCellForEvent.apply(this,arguments)};-Graph.prototype.selectTableRange=function(a,b){var e=!1;if(this.isTableCell(a)&&this.isTableCell(b)){var f=this.model.getParent(a),g=this.model.getParent(f),d=this.model.getParent(b);if(g==this.model.getParent(d)){a=f.getIndex(a);f=g.getIndex(f);var h=d.getIndex(b),l=g.getIndex(d);d=Math.max(f,l);b=Math.min(a,h);a=Math.max(a,h);h=[];for(f=Math.min(f,l);f<=d;f++){l=this.model.getChildAt(g,f);for(var r=b;r<=a;r++)h.push(this.model.getChildAt(l,r))}0<h.length&&(1<h.length||1<this.getSelectionCount()||+Graph.prototype.selectTableRange=function(a,b){var e=!1;if(this.isTableCell(a)&&this.isTableCell(b)){var f=this.model.getParent(a),g=this.model.getParent(f),d=this.model.getParent(b);if(g==this.model.getParent(d)){a=f.getIndex(a);f=g.getIndex(f);var h=d.getIndex(b),l=g.getIndex(d);d=Math.max(f,l);b=Math.min(a,h);a=Math.max(a,h);h=[];for(f=Math.min(f,l);f<=d;f++){l=this.model.getChildAt(g,f);for(var q=b;q<=a;q++)h.push(this.model.getChildAt(l,q))}0<h.length&&(1<h.length||1<this.getSelectionCount()||!this.isCellSelected(h[0]))&&(this.setSelectionCells(h),e=!0)}}return e};Graph.prototype.snapCellsToGrid=function(a,b){this.getModel().beginUpdate();try{for(var e=0;e<a.length;e++){var f=a[e],g=this.getCellGeometry(f);if(null!=g){g=g.clone();if(this.getModel().isVertex(f))g.x=Math.round(g.x/b)*b,g.y=Math.round(g.y/b)*b,g.width=Math.round(g.width/b)*b,g.height=Math.round(g.height/b)*b;else if(this.getModel().isEdge(f)&&null!=g.points)for(var d=0;d<g.points.length;d++)g.points[d].x=Math.round(g.points[d].x/b)*b,g.points[d].y=Math.round(g.points[d].y/b)*b;this.getModel().setGeometry(f,g)}}}finally{this.getModel().endUpdate()}};Graph.prototype.removeChildCells=function(a){this.model.beginUpdate();try{for(var b=this.model.getChildCount(a);0<=b;b--)this.model.remove(this.model.getChildAt(a,b))}finally{this.model.endUpdate()}};@@ -2723,13 +2723,13 @@ Graph.prototype.updateShapes=function(a,b,e){this.model.beginUpdate();try{var f=this.model.isEdge(a)&&this.model.isEdge(b[d]))if(e){var h=this.model.getStyle(b[d]);if(null!=h){var l=h.split(";");0<l.length&&0>l[0].indexOf("=")&&(l=l.slice(1));this.model.setStyle(b[d],l.join(";"))}this.setCellStyles(mxConstants.STYLE_PERIMETER,null,[b[d]]);this.setCellStyles("points",null,[b[d]]);this.pasteStyle(g,[b[d]],null,!0)}else g=this.copyStyle(b[d]),this.model.setStyle(b[d],f),this.pasteStyle(g,[b[d]]);"1"==mxUtils.getValue(this.getCellStyle(b[d],!1),"composite","0")&&this.removeChildCells(b[d])}}finally{this.model.endUpdate()}};Graph.prototype.selectCellsForConnectVertex=function(a,b,e){2==a.length&&this.model.isVertex(a[1])?(this.setSelectionCell(a[1]),this.scrollCellToVisible(a[1]),null!=e&&(mxEvent.isTouchEvent(b)?e.update(e.getState(this.view.getState(a[1]))):e.reset())):this.setSelectionCells(a)};Graph.prototype.isCloneConnectSource=function(a){var b=null;null!=this.layoutManager&&(b=this.layoutManager.getLayout(this.model.getParent(a)));return this.isTableRow(a)||this.isTableCell(a)||null!=b&&b.constructor==mxStackLayout};Graph.prototype.insertEdgeBeforeCell=function(a,b){for(var e=b;null!=e.parent&&null!=e.geometry&&e.geometry.relative&&e.parent!=a.parent;)e=this.model.getParent(e);null!=e&&null!=e.parent&&e.parent==a.parent&&(b=e.parent.getIndex(e),this.model.add(e.parent,a,b))};-Graph.prototype.connectVertex=function(a,b,e,f,g,d,h,l){d=d?d:!1;if(a.geometry.relative&&this.model.isEdge(a.parent))return[];for(;a.geometry.relative&&this.model.isVertex(a.parent);)a=a.parent;var r=this.isCloneConnectSource(a),k=r?a:this.getCompositeParent(a),u=a.geometry.relative&&null!=a.parent.geometry?new mxPoint(a.parent.geometry.width*a.geometry.x,a.parent.geometry.height*a.geometry.y):new mxPoint(k.geometry.x,k.geometry.y);b==mxConstants.DIRECTION_NORTH?(u.x+=k.geometry.width/2,u.y-=e):b==+Graph.prototype.connectVertex=function(a,b,e,f,g,d,h,l){d=d?d:!1;if(a.geometry.relative&&this.model.isEdge(a.parent))return[];for(;a.geometry.relative&&this.model.isVertex(a.parent);)a=a.parent;var q=this.isCloneConnectSource(a),k=q?a:this.getCompositeParent(a),u=a.geometry.relative&&null!=a.parent.geometry?new mxPoint(a.parent.geometry.width*a.geometry.x,a.parent.geometry.height*a.geometry.y):new mxPoint(k.geometry.x,k.geometry.y);b==mxConstants.DIRECTION_NORTH?(u.x+=k.geometry.width/2,u.y-=e):b==mxConstants.DIRECTION_SOUTH?(u.x+=k.geometry.width/2,u.y+=k.geometry.height+e):(u.x=b==mxConstants.DIRECTION_WEST?u.x-e:u.x+(k.geometry.width+e),u.y+=k.geometry.height/2);var w=this.view.getState(this.model.getParent(a));e=this.view.scale;var y=this.view.translate;k=y.x*e;y=y.y*e;null!=w&&this.model.isVertex(w.cell)&&(k=w.x,y=w.y);this.model.isVertex(a.parent)&&a.geometry.relative&&(u.x+=a.parent.geometry.x,u.y+=a.parent.geometry.y);d=d?null:(new mxRectangle(k+u.x*e,y+u.y*e)).grow(40*e);d=null!=d?-this.getCells(0,0,0,0,null,null,d,null,!0):null;w=this.view.getState(a);var A=null,G=null;if(null!=d){d=d.reverse();for(var D=0;D<d.length;D++)if(!this.isCellLocked(d[D])&&!this.model.isEdge(d[D])&&d[D]!=a)if(!this.model.isAncestor(a,d[D])&&this.isContainer(d[D])&&(null==A||d[D]==this.model.getParent(a)))A=d[D];else if(null==G&&this.isCellConnectable(d[D])&&!this.model.isAncestor(d[D],a)&&!this.isSwimlane(d[D])){var F=this.view.getState(d[D]);null==w||null==F||mxUtils.intersects(w,F)||(G=d[D])}}var H=-!mxEvent.isShiftDown(f)||mxEvent.isControlDown(f)||g;H&&("1"!=urlParams.sketch||g)&&(b==mxConstants.DIRECTION_NORTH?u.y-=a.geometry.height/2:b==mxConstants.DIRECTION_SOUTH?u.y+=a.geometry.height/2:u.x=b==mxConstants.DIRECTION_WEST?u.x-a.geometry.width/2:u.x+a.geometry.width/2);var M=[],N=G;G=A;g=mxUtils.bind(this,function(K){if(null==h||null!=K||null==G&&r){this.model.beginUpdate();try{if(null==N&&H){var T=this.getAbsoluteParent(null!=K?K:a);T=r?a:this.getCompositeParent(T);N=null!=K?K:this.duplicateCells([T],-!1)[0];null!=K&&this.addCells([N],this.model.getParent(a),null,null,null,!0);var W=this.getCellGeometry(N);null!=W&&(null!=K&&"1"==urlParams.sketch&&(b==mxConstants.DIRECTION_NORTH?u.y-=W.height/2:b==mxConstants.DIRECTION_SOUTH?u.y+=W.height/2:u.x=b==mxConstants.DIRECTION_WEST?u.x-W.width/2:u.x+W.width/2),W.x=u.x-W.width/2,W.y=u.y-W.height/2);null!=A?(this.addCells([N],A,null,null,null,!0),G=null):H&&!r&&this.addCells([N],this.getDefaultParent(),null,null,null,!0)}var S=mxEvent.isControlDown(f)&&-mxEvent.isShiftDown(f)&&H||null==G&&r?null:this.insertEdge(this.model.getParent(a),null,"",a,N,this.createCurrentEdgeStyle());null!=S&&(M.push(S),this.applyNewEdgeStyle(a,[S],b),this.connectionHandler.insertBeforeSource&&this.insertEdgeBeforeCell(S,a));if(null==G&&null!=N&&null!=a.parent&&r&&b==mxConstants.DIRECTION_WEST){var V=a.parent.getIndex(a);this.model.add(a.parent,N,V)}null==G&&null!=N&&M.push(N);null==N&&null!=S&&S.geometry.setTerminalPoint(u,!1);null!=S&&this.fireEvent(new mxEventObject("cellsInserted",-"cells",[S]))}finally{this.model.endUpdate()}}if(null!=l)l(M);else return M});if(null==h||null!=N||!H||null==G&&r)return g(N);h(k+u.x*e,y+u.y*e,g)};+this.getCells(0,0,0,0,null,null,d,null,!0):null;w=this.view.getState(a);var A=null,F=null;if(null!=d){d=d.reverse();for(var D=0;D<d.length;D++)if(!this.isCellLocked(d[D])&&!this.model.isEdge(d[D])&&d[D]!=a)if(!this.model.isAncestor(a,d[D])&&this.isContainer(d[D])&&(null==A||d[D]==this.model.getParent(a)))A=d[D];else if(null==F&&this.isCellConnectable(d[D])&&!this.model.isAncestor(d[D],a)&&!this.isSwimlane(d[D])){var G=this.view.getState(d[D]);null==w||null==G||mxUtils.intersects(w,G)||(F=d[D])}}var H=+!mxEvent.isShiftDown(f)||mxEvent.isControlDown(f)||g;H&&("1"!=urlParams.sketch||g)&&(b==mxConstants.DIRECTION_NORTH?u.y-=a.geometry.height/2:b==mxConstants.DIRECTION_SOUTH?u.y+=a.geometry.height/2:u.x=b==mxConstants.DIRECTION_WEST?u.x-a.geometry.width/2:u.x+a.geometry.width/2);var M=[],N=F;F=A;g=mxUtils.bind(this,function(K){if(null==h||null!=K||null==F&&q){this.model.beginUpdate();try{if(null==N&&H){var T=this.getAbsoluteParent(null!=K?K:a);T=q?a:this.getCompositeParent(T);N=null!=K?K:this.duplicateCells([T],+!1)[0];null!=K&&this.addCells([N],this.model.getParent(a),null,null,null,!0);var W=this.getCellGeometry(N);null!=W&&(null!=K&&"1"==urlParams.sketch&&(b==mxConstants.DIRECTION_NORTH?u.y-=W.height/2:b==mxConstants.DIRECTION_SOUTH?u.y+=W.height/2:u.x=b==mxConstants.DIRECTION_WEST?u.x-W.width/2:u.x+W.width/2),W.x=u.x-W.width/2,W.y=u.y-W.height/2);null!=A?(this.addCells([N],A,null,null,null,!0),F=null):H&&!q&&this.addCells([N],this.getDefaultParent(),null,null,null,!0)}var S=mxEvent.isControlDown(f)&&+mxEvent.isShiftDown(f)&&H||null==F&&q?null:this.insertEdge(this.model.getParent(a),null,"",a,N,this.createCurrentEdgeStyle());null!=S&&(M.push(S),this.applyNewEdgeStyle(a,[S],b),this.connectionHandler.insertBeforeSource&&this.insertEdgeBeforeCell(S,a));if(null==F&&null!=N&&null!=a.parent&&q&&b==mxConstants.DIRECTION_WEST){var V=a.parent.getIndex(a);this.model.add(a.parent,N,V)}null==F&&null!=N&&M.push(N);null==N&&null!=S&&S.geometry.setTerminalPoint(u,!1);null!=S&&this.fireEvent(new mxEventObject("cellsInserted",+"cells",[S]))}finally{this.model.endUpdate()}}if(null!=l)l(M);else return M});if(null==h||null!=N||!H||null==F&&q)return g(N);h(k+u.x*e,y+u.y*e,g)};Graph.prototype.getIndexableText=function(a){a=null!=a?a:this.model.getDescendants(this.model.root);for(var b=document.createElement("div"),e=[],f,g=0;g<a.length;g++)if(f=a[g],this.model.isVertex(f)||this.model.isEdge(f))this.isHtmlLabel(f)?(b.innerHTML=Graph.sanitizeHtml(this.getLabel(f)),f=mxUtils.extractTextWithWhitespace([b])):f=this.getLabel(f),f=mxUtils.trim(f.replace(/[\x00-\x1F\x7F-\x9F]|\s+/g," ")),0<f.length&&e.push(f);return e.join(" ")};Graph.prototype.convertValueToString=function(a){var b=this.model.getValue(a);if(null!=b&&"object"==typeof b){var e=null;if(this.isReplacePlaceholders(a)&&null!=a.getAttribute("placeholder")){b=a.getAttribute("placeholder");for(var f=a;null==e&&null!=f;)null!=f.value&&"object"==typeof f.value&&(e=f.hasAttribute(b)?null!=f.getAttribute(b)?f.getAttribute(b):"":null),f=this.model.getParent(f)}else e=null,Graph.translateDiagram&&null!=Graph.diagramLanguage&&(e=b.getAttribute("label_"+Graph.diagramLanguage)),null==e&&(e=b.getAttribute("label")||"");return e||""}return mxGraph.prototype.convertValueToString.apply(this,arguments)};Graph.prototype.getLinksForState=function(a){return null!=a&&null!=a.text&&null!=a.text.node?a.text.node.getElementsByTagName("a"):null};Graph.prototype.getLinkForCell=function(a,b){return null!=a.value&&"object"==typeof a.value?(a=a.value.getAttribute("link"),b||(a=mxUtils.removeJavascriptProtocol(a)),a):null};@@ -2741,8 +2741,8 @@ Graph.prototype.getDefaultColor=function(a,b,e){b="default"+b.charAt(0).toUpperCGraph.prototype.setAdaptiveColors=function(a){this.adaptiveColors="default"==a?null:a;"1"==urlParams.embedInline?null!=this.container&&(this.container.style.colorScheme="none"==this.getAdaptiveColors()?"light":""):(a=this.view.getDrawPane().ownerSVGElement,null!=a&&(a.style.colorScheme="none"==this.getAdaptiveColors()?"light":""))};Graph.prototype.getAdaptiveColors=function(){return null!=this.adaptiveColors?this.adaptiveColors:Graph.defaultAdaptiveColors};Graph.prototype.updateAlternateBounds=function(a,b,e){if(null!=a&&null!=b&&null!=this.layoutManager&&null!=b.alternateBounds){var f=this.layoutManager.getLayout(this.model.getParent(a));null!=f&&f.constructor==mxStackLayout&&(f.horizontal?b.alternateBounds.height=0:b.alternateBounds.width=0)}mxGraph.prototype.updateAlternateBounds.apply(this,arguments)};Graph.prototype.moveCellsTo=function(a,b){if(null!=a&&null!=b){for(var e=!0,f=0;f<a.length&&e;f++)e=e&&this.model.isEdge(a[f]);f=null;if(1==a.length&&e){var g=this.getCellGeometry(a[0]);null!=g&&(f=g.getTerminalPoint(!0))}f=null!=f?f:this.getBoundingBoxFromGeometry(a,e);null!=f&&(e=Math.round(this.snap(b.x)),b=Math.round(this.snap(b.y)),this.cellsMoved(a,e-f.x,b-f.y))}};Graph.prototype.isMoveCellsEvent=function(a,b){return mxEvent.isShiftDown(a)||"1"==mxUtils.getValue(b.style,"moveCells","0")};-Graph.prototype.foldCells=function(a,b,e,f,g){b=null!=b?b:!1;null==e&&(e=this.getFoldableCells(this.getSelectionCells(),a));if(null!=e){this.model.beginUpdate();try{mxGraph.prototype.foldCells.apply(this,arguments);for(var d=0;d<e.length;d++){var h=this.view.getState(e[d]),l=this.getCellGeometry(e[d]);if(null!=h&&null!=l&&("1"!=mxUtils.getValue(h.style,"expandToFront","0")||this.isCellCollapsed(e[d])||this.orderCells(!1,[e[d]]),null!=this.layoutManager)){var r=0,k=0;if(l.alternateBounds)r=l.width--l.alternateBounds.width,k=l.height-l.alternateBounds.height;else{var u=this.useCssTransforms?1:this.view.scale;r=Math.round(l.width-h.width/u);k=Math.round(l.height-h.height/u)}if(0!=k||0!=r){var w=this.model.getParent(e[d]),y=this.layoutManager.getLayout(w);null==y?null!=g&&this.isMoveCellsEvent(g,h)&&this.moveSiblings(h,w,r,k):null!=g&&mxEvent.isAltDown(g)||y.constructor!=mxStackLayout||y.resizeLast||this.resizeParentStacks(w,y,r,k)}}}}finally{this.model.endUpdate()}this.isEnabled()&&this.setSelectionCells(e)}};+Graph.prototype.foldCells=function(a,b,e,f,g){b=null!=b?b:!1;null==e&&(e=this.getFoldableCells(this.getSelectionCells(),a));if(null!=e){this.model.beginUpdate();try{mxGraph.prototype.foldCells.apply(this,arguments);for(var d=0;d<e.length;d++){var h=this.view.getState(e[d]),l=this.getCellGeometry(e[d]);if(null!=h&&null!=l&&("1"!=mxUtils.getValue(h.style,"expandToFront","0")||this.isCellCollapsed(e[d])||this.orderCells(!1,[e[d]]),null!=this.layoutManager)){var q=0,k=0;if(l.alternateBounds)q=l.width-+l.alternateBounds.width,k=l.height-l.alternateBounds.height;else{var u=this.useCssTransforms?1:this.view.scale;q=Math.round(l.width-h.width/u);k=Math.round(l.height-h.height/u)}if(0!=k||0!=q){var w=this.model.getParent(e[d]),y=this.layoutManager.getLayout(w);null==y?null!=g&&this.isMoveCellsEvent(g,h)&&this.moveSiblings(h,w,q,k):null!=g&&mxEvent.isAltDown(g)||y.constructor!=mxStackLayout||y.resizeLast||this.resizeParentStacks(w,y,q,k)}}}}finally{this.model.endUpdate()}this.isEnabled()&&this.setSelectionCells(e)}};Graph.prototype.moveSiblings=function(a,b,e,f){this.model.beginUpdate();try{var g=this.getCellsBeyond(a.x,a.y,b,!0,!0);for(b=0;b<g.length;b++)if(g[b]!=a.cell){var d=this.view.getState(g[b]),h=this.getCellGeometry(g[b]);null!=d&&null!=h&&(h=h.clone(),h.translate(Math.round(e*Math.max(0,Math.min(1,(d.x-a.x)/a.width))),Math.round(f*Math.max(0,Math.min(1,(d.y-a.y)/a.height)))),this.model.setGeometry(g[b],h))}}finally{this.model.endUpdate()}};Graph.prototype.resizeParentStacks=function(a,b,e,f){if(null!=this.layoutManager&&null!=b&&b.constructor==mxStackLayout&&!b.resizeLast){this.model.beginUpdate();try{for(var g=b.horizontal;null!=a&&null!=b&&b.constructor==mxStackLayout&&b.horizontal==g&&!b.resizeLast;){var d=this.getCellGeometry(a),h=this.view.getState(a);null!=h&&null!=d&&(d=d.clone(),b.horizontal?d.width+=e+Math.min(0,h.width/this.view.scale-d.width):d.height+=f+Math.min(0,h.height/this.view.scale-d.height),this.model.setGeometry(a,d));a=this.model.getParent(a);b=this.layoutManager.getLayout(a)}}finally{this.model.endUpdate()}}};Graph.prototype.isContainer=function(a){var b=this.getCurrentCellStyle(a);return this.isSwimlane(a)?"0"!=b.container:"1"==b.container};Graph.prototype.isCellConnectable=function(a){var b=this.getCurrentCellStyle(a);return!this.isCellLocked(this.getLayerForCell(a))&&(null!=b.connectable?"0"!=b.connectable:mxGraph.prototype.isCellConnectable.apply(this,arguments))};@@ -2783,10 +2783,10 @@ HoverIcons.prototype.click=function(a,b,e){var f=e.getEvent(),g=e.getGraphX(),d=HoverIcons.prototype.execute=function(a,b,e){e=e.getEvent();this.graph.selectCellsForConnectVertex(this.graph.connectVertex(a.cell,b,this.graph.defaultEdgeLength,e,this.graph.isCloneEvent(e),this.graph.isCloneEvent(e)),e,this)};HoverIcons.prototype.reset=function(a){null!=a&&!a||null==this.updateThread||window.clearTimeout(this.updateThread);this.activeArrow=this.currentState=this.mouseDownPoint=null;this.removeNodes();this.bbox=null;this.fireEvent(new mxEventObject("reset"))};HoverIcons.prototype.repaint=function(){this.bbox=null;if(null!=this.currentState){this.currentState=this.getState(this.currentState);if(null!=this.currentState&&this.graph.model.isVertex(this.currentState.cell)&&this.graph.isCellConnectable(this.currentState.cell)){var a=mxRectangle.fromRectangle(this.currentState);null!=this.currentState.shape&&null!=this.currentState.shape.boundingBox&&(a=mxRectangle.fromRectangle(this.currentState.shape.boundingBox));a.grow(this.graph.tolerance);a.grow(this.arrowSpacing);var b=this.graph.selectionCellsHandler.getHandler(this.currentState.cell);this.graph.isTableRow(this.currentState.cell)&&(b=this.graph.selectionCellsHandler.getHandler(this.graph.model.getParent(this.currentState.cell)));var e=null;null!=b&&(a.x-=b.horizontalOffset/2,a.y-=b.verticalOffset/2,a.width+=b.horizontalOffset,a.height+=b.verticalOffset,null!=b.rotationShape&&null!=b.rotationShape.node&&"hidden"!=b.rotationShape.node.style.visibility&&"none"!=b.rotationShape.node.style.display&&null!=b.rotationShape.boundingBox&&-(e=b.rotationShape.boundingBox));b=mxUtils.bind(this,function(l,r,k){if(null!=e){var u=new mxRectangle(r,k,l.clientWidth,l.clientHeight);mxUtils.intersects(u,e)&&(l==this.arrowUp?k-=u.y+u.height-e.y:l==this.arrowRight?r+=e.x+e.width-u.x:l==this.arrowDown?k+=e.y+e.height-u.y:l==this.arrowLeft&&(r-=u.x+u.width-e.x))}l.style.left=r+"px";l.style.top=k+"px";mxUtils.setOpacity(l,this.inactiveOpacity)});b(this.arrowUp,Math.round(this.currentState.getCenterX()-this.triangleUp.width/2-this.tolerance),Math.round(a.y-+(e=b.rotationShape.boundingBox));b=mxUtils.bind(this,function(l,q,k){if(null!=e){var u=new mxRectangle(q,k,l.clientWidth,l.clientHeight);mxUtils.intersects(u,e)&&(l==this.arrowUp?k-=u.y+u.height-e.y:l==this.arrowRight?q+=e.x+e.width-u.x:l==this.arrowDown?k+=e.y+e.height-u.y:l==this.arrowLeft&&(q-=u.x+u.width-e.x))}l.style.left=q+"px";l.style.top=k+"px";mxUtils.setOpacity(l,this.inactiveOpacity)});b(this.arrowUp,Math.round(this.currentState.getCenterX()-this.triangleUp.width/2-this.tolerance),Math.round(a.y-this.triangleUp.height-this.tolerance));b(this.arrowRight,Math.round(a.x+a.width-this.tolerance),Math.round(this.currentState.getCenterY()-this.triangleRight.height/2-this.tolerance));b(this.arrowDown,parseInt(this.arrowUp.style.left),Math.round(a.y+a.height-this.tolerance));b(this.arrowLeft,Math.round(a.x-this.triangleLeft.width-this.tolerance),parseInt(this.arrowRight.style.top));if(this.checkCollisions){b=this.graph.getCellAt(a.x+a.width+this.triangleRight.width/2,this.currentState.getCenterY());-var f=this.graph.getCellAt(a.x-this.triangleLeft.width/2,this.currentState.getCenterY()),g=this.graph.getCellAt(this.currentState.getCenterX(),a.y-this.triangleUp.height/2);a=this.graph.getCellAt(this.currentState.getCenterX(),a.y+a.height+this.triangleDown.height/2);null!=b&&b==f&&f==g&&g==a&&(a=g=f=b=null);var d=this.graph.getCellGeometry(this.currentState.cell),h=mxUtils.bind(this,function(l,r){var k=this.graph.model.isVertex(l)&&this.graph.getCellGeometry(l);null==l||this.graph.model.isAncestor(l,-this.currentState.cell)||this.graph.isSwimlane(l)||!(null==k||null==d||k.height<3*d.height&&k.width<3*d.width)?r.style.visibility="visible":r.style.visibility="hidden"});h(b,this.arrowRight);h(f,this.arrowLeft);h(g,this.arrowUp);h(a,this.arrowDown)}else this.arrowLeft.style.visibility="visible",this.arrowRight.style.visibility="visible",this.arrowUp.style.visibility="visible",this.arrowDown.style.visibility="visible";this.graph.tooltipHandler.isEnabled()?(this.arrowLeft.setAttribute("title",mxResources.get("plusTooltip")),+var f=this.graph.getCellAt(a.x-this.triangleLeft.width/2,this.currentState.getCenterY()),g=this.graph.getCellAt(this.currentState.getCenterX(),a.y-this.triangleUp.height/2);a=this.graph.getCellAt(this.currentState.getCenterX(),a.y+a.height+this.triangleDown.height/2);null!=b&&b==f&&f==g&&g==a&&(a=g=f=b=null);var d=this.graph.getCellGeometry(this.currentState.cell),h=mxUtils.bind(this,function(l,q){var k=this.graph.model.isVertex(l)&&this.graph.getCellGeometry(l);null==l||this.graph.model.isAncestor(l,+this.currentState.cell)||this.graph.isSwimlane(l)||!(null==k||null==d||k.height<3*d.height&&k.width<3*d.width)?q.style.visibility="visible":q.style.visibility="hidden"});h(b,this.arrowRight);h(f,this.arrowLeft);h(g,this.arrowUp);h(a,this.arrowDown)}else this.arrowLeft.style.visibility="visible",this.arrowRight.style.visibility="visible",this.arrowUp.style.visibility="visible",this.arrowDown.style.visibility="visible";this.graph.tooltipHandler.isEnabled()?(this.arrowLeft.setAttribute("title",mxResources.get("plusTooltip")),this.arrowRight.setAttribute("title",mxResources.get("plusTooltip")),this.arrowUp.setAttribute("title",mxResources.get("plusTooltip")),this.arrowDown.setAttribute("title",mxResources.get("plusTooltip"))):(this.arrowLeft.removeAttribute("title"),this.arrowRight.removeAttribute("title"),this.arrowUp.removeAttribute("title"),this.arrowDown.removeAttribute("title"))}else this.reset();null!=this.currentState&&(this.bbox=this.computeBoundingBox(),null!=this.bbox&&this.bbox.grow(10))}};HoverIcons.prototype.computeBoundingBox=function(){var a=this.graph.model.isEdge(this.currentState.cell)?null:mxRectangle.fromRectangle(this.currentState);this.visitNodes(function(b){null!=b.parentNode&&(b=new mxRectangle(b.offsetLeft,b.offsetTop,b.offsetWidth,b.offsetHeight),null==a?a=b:a.add(b))});return a};HoverIcons.prototype.getState=function(a){if(null!=a)if(a=a.cell,this.graph.getModel().contains(a)){if(this.graph.getModel().isVertex(a)&&!this.graph.isCellConnectable(a)){var b=this.graph.getModel().getParent(a);this.graph.getModel().isVertex(b)&&this.graph.isCellConnectable(b)&&(a=b)}if(this.graph.isCellLocked(a)||this.graph.model.isEdge(a))a=null;a=this.graph.view.getState(a);null!=a&&null==a.style&&(a=null)}else a=null;return a};@@ -2796,43 +2796,43 @@ a||null==this.bbox||null==b||null==e||!mxUtils.contains(this.bbox,b,e))&&(null!=HoverIcons.prototype.setCurrentState=function(a){"eastwest"!=a.style.portConstraint&&(this.graph.container.appendChild(this.arrowUp),this.graph.container.appendChild(this.arrowDown));this.graph.container.appendChild(this.arrowRight);this.graph.container.appendChild(this.arrowLeft);this.currentState=a};Graph.prototype.removeTextStyleForCell=function(a,b){var e=this.getCurrentCellStyle(a),f=!1;this.getModel().beginUpdate();try{if("1"==mxUtils.getValue(e,"html","0")){var g=this.convertValueToString(a);"0"!=mxUtils.getValue(e,"nl2Br","1")&&(g=g.replace(/\n/g,"").replace(/<br\s*.?>/g,"\n"));g=Editor.convertHtmlToText(g);this.cellLabelChanged(a,g);f=!0}b&&(this.setCellStyles("fontSource",null,[a]),this.setCellStyles(mxConstants.STYLE_FONTFAMILY,null,[a]),this.setCellStyles(mxConstants.STYLE_FONTSIZE,null,[a]),this.setCellStyles(mxConstants.STYLE_FONTSTYLE,null,[a]),this.setCellStyles(mxConstants.STYLE_FONTCOLOR,null,[a]),this.setCellStyles(mxConstants.STYLE_LABEL_BORDERCOLOR,null,[a]),this.setCellStyles(mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null,[a]))}finally{this.getModel().endUpdate()}return f};Graph.prototype.createParent=function(a,b,e,f,g){a=this.cloneCell(a);for(var d=0;d<e;d++){var h=this.cloneCell(b),l=this.getCellGeometry(h);null!=l&&(l.x+=d*f,l.y+=d*g);a.insert(h)}return a};-Graph.prototype.createTable=function(a,b,e,f,g,d,h,l,r){e=null!=e?e:60;f=null!=f?f:40;d=null!=d?d:30;l=null!=l?l:"shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;strokeColor=inherit;top=0;left=0;bottom=0;right=0;collapsible=0;dropTarget=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;";r=null!=r?r:"shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;strokeColor=inherit;overflow=hidden;fillColor=none;top=0;left=0;bottom=0;right=0;pointerEvents=1;";return this.createParent(this.createVertex(null,-null,null!=g?g:"",0,0,b*e,a*f+(null!=g?d:0),null!=h?h:"shape=table;startSize="+(null!=g?d:"0")+";container=1;collapsible=0;childLayout=tableLayout;"),this.createParent(this.createVertex(null,null,"",0,0,b*e,f,l),this.createVertex(null,null,"",0,0,e,f,r),b,e,0),a,0,f)};+Graph.prototype.createTable=function(a,b,e,f,g,d,h,l,q){e=null!=e?e:60;f=null!=f?f:40;d=null!=d?d:30;l=null!=l?l:"shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;strokeColor=inherit;top=0;left=0;bottom=0;right=0;collapsible=0;dropTarget=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;";q=null!=q?q:"shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;strokeColor=inherit;overflow=hidden;fillColor=none;top=0;left=0;bottom=0;right=0;pointerEvents=1;";return this.createParent(this.createVertex(null,+null,null!=g?g:"",0,0,b*e,a*f+(null!=g?d:0),null!=h?h:"shape=table;startSize="+(null!=g?d:"0")+";container=1;collapsible=0;childLayout=tableLayout;"),this.createParent(this.createVertex(null,null,"",0,0,b*e,f,l),this.createVertex(null,null,"",0,0,e,f,q),b,e,0),a,0,f)};Graph.prototype.setTableValues=function(a,b,e){for(var f=this.model.getChildCells(a,!0),g=0;g<f.length;g++)if(null!=e&&(f[g].value=e[g]),null!=b)for(var d=this.model.getChildCells(f[g],!0),h=0;h<d.length;h++)null!=b[g][h]&&(d[h].value=b[g][h]);return a};-Graph.prototype.createCrossFunctionalSwimlane=function(a,b,e,f,g,d,h,l,r){e=null!=e?e:120;f=null!=f?f:120;h=null!=h?h:"shape=tableRow;horizontal=0;swimlaneHead=0;swimlaneBody=0;top=0;left=0;strokeColor=inherit;bottom=0;right=0;dropTarget=0;fontStyle=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;startSize=40;collapsible=0;recursiveResize=0;expand=0;";l=null!=l?l:"swimlane;swimlaneHead=0;swimlaneBody=0;fontStyle=0;strokeColor=inherit;connectable=0;fillColor=none;startSize=40;collapsible=0;recursiveResize=0;expand=0;";-r=null!=r?r:"swimlane;swimlaneHead=0;swimlaneBody=0;fontStyle=0;connectable=0;strokeColor=inherit;fillColor=none;startSize=0;collapsible=0;recursiveResize=0;expand=0;";g=this.createVertex(null,null,null!=g?g:"",0,0,b*e,a*f,null!=d?d:"shape=table;childLayout=tableLayout;"+(null==g?"startSize=0;fillColor=none;":"startSize=40;")+"collapsible=0;recursiveResize=0;expand=0;");d=mxUtils.getValue(this.getCellStyle(g),mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE);g.geometry.width+=d;g.geometry.height+=-d;h=this.createVertex(null,null,"",0,d,b*e+d,f,h);g.insert(this.createParent(h,this.createVertex(null,null,"",d,0,e,f,l),b,e,0));return 1<a?(h.geometry.y=f+d,this.createParent(g,this.createParent(h,this.createVertex(null,null,"",d,0,e,f,r),b,e,0),a-1,0,f)):g};-Graph.prototype.visitTableCells=function(a,b){var e=null,f=this.model.getChildCells(a,!0);a=this.getActualStartSize(a,!0);for(var g=0;g<f.length;g++){for(var d=this.getActualStartSize(f[g],!0),h=this.model.getChildCells(f[g],!0),l=this.getCellStyle(f[g],!0),r=null,k=[],u=0;u<h.length;u++){var w=this.getCellGeometry(h[u]),y={cell:h[u],rospan:1,colspan:1,row:g,col:u,geo:w};w=null!=w.alternateBounds?w.alternateBounds:w;y.point=new mxPoint(w.width+(null!=r?r.point.x:a.x+d.x),w.height+(null!=e&&null!=-e[0]?e[0].point.y:a.y+d.y));y.actual=y;null!=e&&null!=e[u]&&1<e[u].rowspan?(y.rowspan=e[u].rowspan-1,y.colspan=e[u].colspan,y.actual=e[u].actual):null!=r&&1<r.colspan?(y.rowspan=r.rowspan,y.colspan=r.colspan-1,y.actual=r.actual):(r=this.getCurrentCellStyle(h[u],!0),null!=r&&(y.rowspan=parseInt(r.rowspan||1),y.colspan=parseInt(r.colspan||1)));r=1==mxUtils.getValue(l,mxConstants.STYLE_SWIMLANE_HEAD,1)&&mxUtils.getValue(l,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE;b(y,h.length,-f.length,a.x+(r?d.x:0),a.y+(r?d.y:0));k.push(y);r=y}e=k}};Graph.prototype.getTableLines=function(a,b,e){var f=[],g=[];(b||e)&&this.visitTableCells(a,mxUtils.bind(this,function(d,h,l,r,k){b&&d.row<l-1&&(null==f[d.row]&&(f[d.row]=[new mxPoint(r,d.point.y)]),1<d.rowspan&&f[d.row].push(null),f[d.row].push(d.point));e&&d.col<h-1&&(null==g[d.col]&&(g[d.col]=[new mxPoint(d.point.x,k)]),1<d.colspan&&g[d.col].push(null),g[d.col].push(d.point))}));return f.concat(g)};+Graph.prototype.createCrossFunctionalSwimlane=function(a,b,e,f,g,d,h,l,q){e=null!=e?e:120;f=null!=f?f:120;h=null!=h?h:"shape=tableRow;horizontal=0;swimlaneHead=0;swimlaneBody=0;top=0;left=0;strokeColor=inherit;bottom=0;right=0;dropTarget=0;fontStyle=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;startSize=40;collapsible=0;recursiveResize=0;expand=0;";l=null!=l?l:"swimlane;swimlaneHead=0;swimlaneBody=0;fontStyle=0;strokeColor=inherit;connectable=0;fillColor=none;startSize=40;collapsible=0;recursiveResize=0;expand=0;";+q=null!=q?q:"swimlane;swimlaneHead=0;swimlaneBody=0;fontStyle=0;connectable=0;strokeColor=inherit;fillColor=none;startSize=0;collapsible=0;recursiveResize=0;expand=0;";g=this.createVertex(null,null,null!=g?g:"",0,0,b*e,a*f,null!=d?d:"shape=table;childLayout=tableLayout;"+(null==g?"startSize=0;fillColor=none;":"startSize=40;")+"collapsible=0;recursiveResize=0;expand=0;");d=mxUtils.getValue(this.getCellStyle(g),mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE);g.geometry.width+=d;g.geometry.height+=+d;h=this.createVertex(null,null,"",0,d,b*e+d,f,h);g.insert(this.createParent(h,this.createVertex(null,null,"",d,0,e,f,l),b,e,0));return 1<a?(h.geometry.y=f+d,this.createParent(g,this.createParent(h,this.createVertex(null,null,"",d,0,e,f,q),b,e,0),a-1,0,f)):g};+Graph.prototype.visitTableCells=function(a,b){var e=null,f=this.model.getChildCells(a,!0);a=this.getActualStartSize(a,!0);for(var g=0;g<f.length;g++){for(var d=this.getActualStartSize(f[g],!0),h=this.model.getChildCells(f[g],!0),l=this.getCellStyle(f[g],!0),q=null,k=[],u=0;u<h.length;u++){var w=this.getCellGeometry(h[u]),y={cell:h[u],rospan:1,colspan:1,row:g,col:u,geo:w};w=null!=w.alternateBounds?w.alternateBounds:w;y.point=new mxPoint(w.width+(null!=q?q.point.x:a.x+d.x),w.height+(null!=e&&null!=+e[0]?e[0].point.y:a.y+d.y));y.actual=y;null!=e&&null!=e[u]&&1<e[u].rowspan?(y.rowspan=e[u].rowspan-1,y.colspan=e[u].colspan,y.actual=e[u].actual):null!=q&&1<q.colspan?(y.rowspan=q.rowspan,y.colspan=q.colspan-1,y.actual=q.actual):(q=this.getCurrentCellStyle(h[u],!0),null!=q&&(y.rowspan=parseInt(q.rowspan||1),y.colspan=parseInt(q.colspan||1)));q=1==mxUtils.getValue(l,mxConstants.STYLE_SWIMLANE_HEAD,1)&&mxUtils.getValue(l,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE;b(y,h.length,+f.length,a.x+(q?d.x:0),a.y+(q?d.y:0));k.push(y);q=y}e=k}};Graph.prototype.getTableLines=function(a,b,e){var f=[],g=[];(b||e)&&this.visitTableCells(a,mxUtils.bind(this,function(d,h,l,q,k){b&&d.row<l-1&&(null==f[d.row]&&(f[d.row]=[new mxPoint(q,d.point.y)]),1<d.rowspan&&f[d.row].push(null),f[d.row].push(d.point));e&&d.col<h-1&&(null==g[d.col]&&(g[d.col]=[new mxPoint(d.point.x,k)]),1<d.colspan&&g[d.col].push(null),g[d.col].push(d.point))}));return f.concat(g)};Graph.prototype.isTableCell=function(a){return this.model.isVertex(a)&&this.isTableRow(this.model.getParent(a))};Graph.prototype.isTableRow=function(a){return this.model.isVertex(a)&&this.isTable(this.model.getParent(a))};Graph.prototype.isTable=function(a){a=this.getCellStyle(a);return null!=a&&"tableLayout"==a.childLayout};Graph.prototype.isStack=function(a){a=this.getCellStyle(a);return null!=a&&"stackLayout"==a.childLayout};Graph.prototype.isStackChild=function(a){return this.model.isVertex(a)&&this.isStack(this.model.getParent(a))};-Graph.prototype.setTableRowHeight=function(a,b,e){e=null!=e?e:!0;var f=this.getModel();f.beginUpdate();try{var g=this.getCellGeometry(a);if(null!=g){g=g.clone();g.height+=b;f.setGeometry(a,g);var d=f.getParent(a),h=f.getChildCells(d,!0);if(!e){var l=mxUtils.indexOf(h,a);if(l<h.length-1){var r=h[l+1],k=this.getCellGeometry(r);null!=k&&(k=k.clone(),k.y+=b,k.height-=b,f.setGeometry(r,k))}}var u=this.getCellGeometry(d);null!=u&&(e||(e=a==h[h.length-1]),e&&(u=u.clone(),u.height+=b,f.setGeometry(d,u)))}}finally{f.endUpdate()}};-Graph.prototype.setTableColumnWidth=function(a,b,e){e=null!=e?e:!1;var f=this.getModel(),g=f.getParent(a),d=f.getParent(g),h=f.getChildCells(g,!0);a=mxUtils.indexOf(h,a);var l=a==h.length-1;f.beginUpdate();try{for(var r=f.getChildCells(d,!0),k=0;k<r.length;k++){g=r[k];h=f.getChildCells(g,!0);var u=h[a],w=this.getCellGeometry(u);null!=w&&(w=w.clone(),w.width+=b,null!=w.alternateBounds&&(w.alternateBounds.width+=b),f.setGeometry(u,w));a<h.length-1&&(u=h[a+1],w=this.getCellGeometry(u),null!=w&&(w=w.clone(),+Graph.prototype.setTableRowHeight=function(a,b,e){e=null!=e?e:!0;var f=this.getModel();f.beginUpdate();try{var g=this.getCellGeometry(a);if(null!=g){g=g.clone();g.height+=b;f.setGeometry(a,g);var d=f.getParent(a),h=f.getChildCells(d,!0);if(!e){var l=mxUtils.indexOf(h,a);if(l<h.length-1){var q=h[l+1],k=this.getCellGeometry(q);null!=k&&(k=k.clone(),k.y+=b,k.height-=b,f.setGeometry(q,k))}}var u=this.getCellGeometry(d);null!=u&&(e||(e=a==h[h.length-1]),e&&(u=u.clone(),u.height+=b,f.setGeometry(d,u)))}}finally{f.endUpdate()}};+Graph.prototype.setTableColumnWidth=function(a,b,e){e=null!=e?e:!1;var f=this.getModel(),g=f.getParent(a),d=f.getParent(g),h=f.getChildCells(g,!0);a=mxUtils.indexOf(h,a);var l=a==h.length-1;f.beginUpdate();try{for(var q=f.getChildCells(d,!0),k=0;k<q.length;k++){g=q[k];h=f.getChildCells(g,!0);var u=h[a],w=this.getCellGeometry(u);null!=w&&(w=w.clone(),w.width+=b,null!=w.alternateBounds&&(w.alternateBounds.width+=b),f.setGeometry(u,w));a<h.length-1&&(u=h[a+1],w=this.getCellGeometry(u),null!=w&&(w=w.clone(),w.x+=b,e||(w.width-=b,null!=w.alternateBounds&&(w.alternateBounds.width-=b)),f.setGeometry(u,w)))}if(l||e){var y=this.getCellGeometry(d);null!=y&&(y=y.clone(),y.width+=b,f.setGeometry(d,y))}null!=this.layoutManager&&this.layoutManager.executeLayout(d)}finally{f.endUpdate()}};function TableLayout(a){mxGraphLayout.call(this,a)}TableLayout.prototype=new mxStackLayout;TableLayout.prototype.constructor=TableLayout;TableLayout.prototype.isHorizontal=function(){return!1};TableLayout.prototype.isVertexIgnored=function(a){return!this.graph.getModel().isVertex(a)||!this.graph.isCellVisible(a)};TableLayout.prototype.getSize=function(a,b){for(var e=0,f=0;f<a.length;f++)if(!this.isVertexIgnored(a[f])){var g=this.graph.getCellGeometry(a[f]);null!=g&&(e+=b?g.width:g.height)}return e};TableLayout.prototype.getRowLayout=function(a,b){var e=this.graph.model.getChildCells(a,!0),f=this.graph.getActualStartSize(a,!0);a=this.getSize(e,!0);b=b-f.x-f.width;var g=[];f=f.x;for(var d=0;d<e.length;d++){var h=this.graph.getCellGeometry(e[d]);null!=h&&(f+=(null!=h.alternateBounds?h.alternateBounds.width:h.width)*b/a,g.push(Math.round(f)))}return g};-TableLayout.prototype.layoutRow=function(a,b,e,f){var g=this.graph.getModel(),d=g.getChildCells(a,!0);a=this.graph.getActualStartSize(a,!0);var h=a.x,l=0;null!=b&&(b=b.slice(),b.splice(0,0,a.x));for(var r=0;r<d.length;r++){var k=this.graph.getCellGeometry(d[r]);null!=k&&(k=k.clone(),k.y=a.y,k.height=e-a.y-a.height,null!=b?(k.x=b[r],k.width=b[r+1]-k.x,r==d.length-1&&r<b.length-2&&(k.width=f-k.x-a.x-a.width)):(k.x=h,h+=k.width,r==d.length-1?k.width=f-a.x-a.width-l:l+=k.width),k.alternateBounds=new mxRectangle(0,-0,k.width,k.height),g.setGeometry(d[r],k))}return l};-TableLayout.prototype.execute=function(a){if(null!=a){var b=this.graph.getActualStartSize(a,!0),e=this.graph.getCellGeometry(a),f=this.graph.getCellStyle(a),g="1"==mxUtils.getValue(f,"resizeLastRow","0"),d="1"==mxUtils.getValue(f,"resizeLast","0");f="1"==mxUtils.getValue(f,"fixedRows","0");var h=this.graph.getModel(),l=0;h.beginUpdate();try{for(var r=e.height-b.y-b.height,k=e.width-b.x-b.width,u=h.getChildCells(a,!0),w=0;w<u.length;w++)h.setVisible(u[w],!0);var y=this.getSize(u,!1);if(0<r&&0<k&&0<-u.length&&0<y){if(g){var A=this.graph.getCellGeometry(u[u.length-1]);null!=A&&(A=A.clone(),A.height=r-y+A.height,h.setGeometry(u[u.length-1],A))}var G=d?null:this.getRowLayout(u[0],k),D=[],F=b.y;for(w=0;w<u.length;w++)A=this.graph.getCellGeometry(u[w]),null!=A&&(A=A.clone(),A.x=b.x,A.width=k,A.y=Math.round(F),F=g||f?F+A.height:F+A.height/y*r,A.height=Math.round(F)-A.y,h.setGeometry(u[w],A)),l=Math.max(l,this.layoutRow(u[w],G,A.height,k,D));f&&r<y&&(e=e.clone(),e.height=F+b.height,h.setGeometry(a,+TableLayout.prototype.layoutRow=function(a,b,e,f){var g=this.graph.getModel(),d=g.getChildCells(a,!0);a=this.graph.getActualStartSize(a,!0);var h=a.x,l=0;null!=b&&(b=b.slice(),b.splice(0,0,a.x));for(var q=0;q<d.length;q++){var k=this.graph.getCellGeometry(d[q]);null!=k&&(k=k.clone(),k.y=a.y,k.height=e-a.y-a.height,null!=b?(k.x=b[q],k.width=b[q+1]-k.x,q==d.length-1&&q<b.length-2&&(k.width=f-k.x-a.x-a.width)):(k.x=h,h+=k.width,q==d.length-1?k.width=f-a.x-a.width-l:l+=k.width),k.alternateBounds=new mxRectangle(0,+0,k.width,k.height),g.setGeometry(d[q],k))}return l};+TableLayout.prototype.execute=function(a){if(null!=a){var b=this.graph.getActualStartSize(a,!0),e=this.graph.getCellGeometry(a),f=this.graph.getCellStyle(a),g="1"==mxUtils.getValue(f,"resizeLastRow","0"),d="1"==mxUtils.getValue(f,"resizeLast","0");f="1"==mxUtils.getValue(f,"fixedRows","0");var h=this.graph.getModel(),l=0;h.beginUpdate();try{for(var q=e.height-b.y-b.height,k=e.width-b.x-b.width,u=h.getChildCells(a,!0),w=0;w<u.length;w++)h.setVisible(u[w],!0);var y=this.getSize(u,!1);if(0<q&&0<k&&0<+u.length&&0<y){if(g){var A=this.graph.getCellGeometry(u[u.length-1]);null!=A&&(A=A.clone(),A.height=q-y+A.height,h.setGeometry(u[u.length-1],A))}var F=d?null:this.getRowLayout(u[0],k),D=[],G=b.y;for(w=0;w<u.length;w++)A=this.graph.getCellGeometry(u[w]),null!=A&&(A=A.clone(),A.x=b.x,A.width=k,A.y=Math.round(G),G=g||f?G+A.height:G+A.height/y*q,A.height=Math.round(G)-A.y,h.setGeometry(u[w],A)),l=Math.max(l,this.layoutRow(u[w],F,A.height,k,D));f&&q<y&&(e=e.clone(),e.height=G+b.height,h.setGeometry(a,e));d&&k<l+Graph.minTableColumnWidth&&(e=e.clone(),e.width=l+b.width+b.x+Graph.minTableColumnWidth,h.setGeometry(a,e));this.graph.visitTableCells(a,mxUtils.bind(this,function(H){h.setVisible(H.cell,H.actual.cell==H.cell);if(H.actual.cell!=H.cell){if(H.actual.row==H.row){var M=null!=H.geo.alternateBounds?H.geo.alternateBounds:H.geo;H.actual.geo.width+=M.width}H.actual.col==H.col&&(M=null!=H.geo.alternateBounds?H.geo.alternateBounds:H.geo,H.actual.geo.height+=M.height)}}))}else for(w=0;w<u.length;w++)h.setVisible(u[w],!1)}finally{h.endUpdate()}}};(function(){var a=mxGraphView.prototype.resetValidationState;mxGraphView.prototype.resetValidationState=function(){a.apply(this,arguments);this.validEdges=[]};var b=mxGraphView.prototype.validateCellState;mxGraphView.prototype.validateCellState=function(w,y){y=null!=y?y:!0;var A=this.getState(w);null!=A&&y&&this.graph.model.isEdge(A.cell)&&null!=A.style&&1!=A.style[mxConstants.STYLE_CURVED]&&!A.invalid&&this.updateLineJumps(A)&&this.graph.cellRenderer.redraw(A,!1,this.isRendering());A=b.apply(this,arguments);null!=A&&y&&this.graph.model.isEdge(A.cell)&&null!=A.style&&1!=A.style[mxConstants.STYLE_CURVED]&&this.validEdges.push(A);return A};mxShape.prototype.isFlowAnimationEnabled=function(){return null!=this.state&&this.state.view.graph.enableFlowAnimation&&this.state.view.graph.model.isEdge(this.state.cell)&&"1"==mxUtils.getValue(this.state.style,"flowAnimation","0")};mxShape.prototype.getFlowAnimationPath=function(w){var y=null!=this.node?this.node.getElementsByTagName("path"):null;if(null!=-y)for(var A=null,G=0;G<y.length;G++)if("hidden"!=y[G].getAttribute("visibility")){if(!(null!=A&&A!=y[G].getAttribute("d")||null!=w&&0!=--w))return y[G]}else null==A&&(A=y[G].getAttribute("d"));return null};mxShape.prototype.addFlowAnimationToShape=function(){null!=this.state&&this.state.view.graph.addFlowAnimationToNode(this.getFlowAnimationPath(),this.state.style,this.state.view.scale,this.state.view.graph.addFlowAnimationStyle())};var e=mxShape.prototype.paint;mxShape.prototype.paint=function(w){e.apply(this,+y)for(var A=null,F=0;F<y.length;F++)if("hidden"!=y[F].getAttribute("visibility")){if(!(null!=A&&A!=y[F].getAttribute("d")||null!=w&&0!=--w))return y[F]}else null==A&&(A=y[F].getAttribute("d"));return null};mxShape.prototype.addFlowAnimationToShape=function(){null!=this.state&&this.state.view.graph.addFlowAnimationToNode(this.getFlowAnimationPath(),this.state.style,this.state.view.scale,this.state.view.graph.addFlowAnimationStyle())};var e=mxShape.prototype.paint;mxShape.prototype.paint=function(w){e.apply(this,arguments);this.isFlowAnimationEnabled()&&this.addFlowAnimationToShape()};var f=mxShape.prototype.createSvgCanvas;mxShape.prototype.createSvgCanvas=function(w){w=f.apply(this,arguments);null!=this.state&&(w.adaptiveColors=this.state.view.graph.getAdaptiveColors());return w};var g=mxCellRenderer.prototype.isShapeInvalid;mxCellRenderer.prototype.isShapeInvalid=function(w,y){return g.apply(this,arguments)||null!=w.routedPoints&&null!=y.routedPoints&&!mxUtils.equalPoints(y.routedPoints,w.routedPoints)};-var d=mxGraphView.prototype.updateCellState;mxGraphView.prototype.updateCellState=function(w){d.apply(this,arguments);this.graph.model.isEdge(w.cell)&&1!=w.style[mxConstants.STYLE_CURVED]&&this.updateLineJumps(w)};mxGraphView.prototype.updateLineJumps=function(w){var y=w.absolutePoints;if(Graph.lineJumpsEnabled){var A=null!=w.routedPoints,G=null;if(null!=y&&null!=this.validEdges&&"none"!==mxUtils.getValue(w.style,"jumpStyle","none")){var D=function(ba,L,U){var aa=new mxPoint(L,U);aa.type=ba;G.push(aa);-aa=null!=w.routedPoints?w.routedPoints[G.length-1]:null;return null==aa||aa.type!=ba||aa.x!=L||aa.y!=U},F=.5*this.scale;A=!1;G=[];for(var H=0;H<y.length-1;H++){for(var M=y[H+1],N=y[H],K=[],T=y[H+2];H<y.length-2&&mxUtils.ptSegDistSq(N.x,N.y,T.x,T.y,M.x,M.y)<1*this.scale*this.scale;)M=T,H++,T=y[H+2];A=D(0,N.x,N.y)||A;for(var W=0;W<this.validEdges.length;W++){var S=this.validEdges[W],V=S.absolutePoints;if(null!=V&&mxUtils.intersects(w,S)&&"1"!=S.style.noJump){var fa=null;for(S=0;S<V.length-1;S++){var P=-V[S+1],Z=V[S];for(T=V[S+2];S<V.length-2&&mxUtils.ptSegDistSq(Z.x,Z.y,T.x,T.y,P.x,P.y)<1*this.scale*this.scale;)P=T,S++,T=V[S+2];var X=mxUtils.intersection(N.x,N.y,M.x,M.y,Z.x,Z.y,P.x,P.y);if(null!=X&&(Math.abs(X.x-N.x)>F||Math.abs(X.y-N.y)>F)&&(Math.abs(X.x-M.x)>F||Math.abs(X.y-M.y)>F)&&(null==fa||mxUtils.ptLineDist(N.x,N.y,M.x,M.y,fa.x,fa.y)>F||mxUtils.ptLineDist(N.x,N.y,M.x,M.y,Z.x,Z.y)>F)&&(null==T||mxUtils.ptLineDist(N.x,N.y,M.x,M.y,T.x,T.y)>F||mxUtils.ptLineDist(N.x,N.y,M.x,M.y,P.x,P.y)>F)){T=-X.x-N.x;fa=X.y-N.y;X={distSq:T*T+fa*fa,x:X.x,y:X.y};for(T=0;T<K.length;T++)if(K[T].distSq>X.distSq){K.splice(T,0,X);X=null;break}null==X||0!=K.length&&K[K.length-1].x===X.x&&K[K.length-1].y===X.y||K.push(X)}fa=Z}}}for(S=0;S<K.length;S++)A=D(1,K[S].x,K[S].y)||A}X=y[y.length-1];A=D(0,X.x,X.y)||A}w.routedPoints=G;return A}return!1};var h=mxConnector.prototype.paintLine;mxConnector.prototype.paintLine=function(w,y,A){this.routedPoints=null!=this.state?this.state.routedPoints:null;if(this.outline||null==-this.state||null==this.style||null==this.state.routedPoints||0==this.state.routedPoints.length)h.apply(this,arguments);else{var G=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2,D=(parseInt(mxUtils.getValue(this.style,"jumpSize",Graph.defaultJumpSize))-2)/2+this.strokewidth,F=mxUtils.getValue(this.style,"jumpStyle","none"),H=!0,M=null,N=null,K=[],T=null;w.begin();for(var W=0;W<this.state.routedPoints.length;W++){var S=this.state.routedPoints[W],V=new mxPoint(S.x/-this.scale,S.y/this.scale);0==W?V=y[0]:W==this.state.routedPoints.length-1&&(V=y[y.length-1]);var fa=!1;if(null!=M&&1==S.type){var P=this.state.routedPoints[W+1];S=P.x/this.scale-V.x;P=P.y/this.scale-V.y;S=S*S+P*P;null==T&&(T=new mxPoint(V.x-M.x,V.y-M.y),N=Math.sqrt(T.x*T.x+T.y*T.y),0<N?(T.x=T.x*D/N,T.y=T.y*D/N):T=null);S>D*D&&0<N&&(S=M.x-V.x,P=M.y-V.y,S=S*S+P*P,S>D*D&&(fa=new mxPoint(V.x-T.x,V.y-T.y),S=new mxPoint(V.x+T.x,V.y+T.y),K.push(fa),this.addPoints(w,K,A,G,!1,null,H),K=0>Math.round(T.x)||-0==Math.round(T.x)&&0>=Math.round(T.y)?1:-1,H=!1,"sharp"==F?(w.lineTo(fa.x-T.y*K,fa.y+T.x*K),w.lineTo(S.x-T.y*K,S.y+T.x*K),w.lineTo(S.x,S.y)):"line"==F?(w.moveTo(fa.x+T.y*K,fa.y-T.x*K),w.lineTo(fa.x-T.y*K,fa.y+T.x*K),w.moveTo(S.x-T.y*K,S.y+T.x*K),w.lineTo(S.x+T.y*K,S.y-T.x*K),w.moveTo(S.x,S.y)):"arc"==F?(K*=1.3,w.curveTo(fa.x-T.y*K,fa.y+T.x*K,S.x-T.y*K,S.y+T.x*K,S.x,S.y)):(w.moveTo(S.x,S.y),H=!0),K=[S],fa=!0))}else T=null;fa||(K.push(V),M=V)}this.addPoints(w,K,A,G,!1,null,H);w.stroke()}};var l=mxGraphView.prototype.getFixedTerminalPoint;-mxGraphView.prototype.getFixedTerminalPoint=function(w,y,A,G){return null!=y&&"centerPerimeter"==y.style[mxConstants.STYLE_PERIMETER]?new mxPoint(y.getCenterX(),y.getCenterY()):l.apply(this,arguments)};var r=mxGraphView.prototype.updateFloatingTerminalPoint;mxGraphView.prototype.updateFloatingTerminalPoint=function(w,y,A,G){if(null==y||null==w||"1"!=y.style.snapToPoint&&"1"!=w.style.snapToPoint)r.apply(this,arguments);else{y=this.getTerminalPort(w,y,G);var D=this.getNextPoint(w,A,G),F=this.graph.isOrthogonal(w),-H=mxUtils.toRadians(Number(y.style[mxConstants.STYLE_ROTATION]||"0")),M=new mxPoint(y.getCenterX(),y.getCenterY());if(0!=H){var N=Math.cos(-H),K=Math.sin(-H);D=mxUtils.getRotatedPoint(D,N,K,M)}N=parseFloat(w.style[mxConstants.STYLE_PERIMETER_SPACING]||0);N+=parseFloat(w.style[G?mxConstants.STYLE_SOURCE_PERIMETER_SPACING:mxConstants.STYLE_TARGET_PERIMETER_SPACING]||0);D=this.getPerimeterPoint(y,D,0==H&&F,N);0!=H&&(N=Math.cos(H),K=Math.sin(H),D=mxUtils.getRotatedPoint(D,N,K,M));w.setAbsoluteTerminalPoint(this.snapToAnchorPoint(w,-y,A,G,D),G)}};mxGraphView.prototype.snapToAnchorPoint=function(w,y,A,G,D){if(null!=y&&null!=w){w=this.graph.getAllConnectionConstraints(y);G=A=null;if(null!=w)for(var F=0;F<w.length;F++){var H=this.graph.getConnectionPoint(y,w[F]);if(null!=H){var M=(H.x-D.x)*(H.x-D.x)+(H.y-D.y)*(H.y-D.y);if(null==G||M<G)A=H,G=M}}null!=A&&(D=A)}return D};var k=mxStencil.prototype.evaluateTextAttribute;mxStencil.prototype.evaluateTextAttribute=function(w,y,A){var G=k.apply(this,arguments);"1"==w.getAttribute("placeholders")&&-null!=A.state&&(G=A.state.view.graph.replacePlaceholders(A.state.cell,G));return G};var u=mxCellRenderer.prototype.createShape;mxCellRenderer.prototype.createShape=function(w){if(null!=w.style&&"undefined"!==typeof pako){var y=mxUtils.getValue(w.style,mxConstants.STYLE_SHAPE,null);if(null!=y&&"string"===typeof y&&"stencil("==y.substring(0,8))try{var A=y.substring(8,y.length-1),G=mxUtils.parseXml(Graph.decompress(A));return new mxShape(new mxStencil(G.documentElement))}catch(D){null!=window.console&&+var d=mxGraphView.prototype.updateCellState;mxGraphView.prototype.updateCellState=function(w){d.apply(this,arguments);this.graph.model.isEdge(w.cell)&&1!=w.style[mxConstants.STYLE_CURVED]&&this.updateLineJumps(w)};mxGraphView.prototype.updateLineJumps=function(w){var y=w.absolutePoints;if(Graph.lineJumpsEnabled){var A=null!=w.routedPoints,F=null;if(null!=y&&null!=this.validEdges&&"none"!==mxUtils.getValue(w.style,"jumpStyle","none")){var D=function(ba,L,U){var aa=new mxPoint(L,U);aa.type=ba;F.push(aa);+aa=null!=w.routedPoints?w.routedPoints[F.length-1]:null;return null==aa||aa.type!=ba||aa.x!=L||aa.y!=U},G=.5*this.scale;A=!1;F=[];for(var H=0;H<y.length-1;H++){for(var M=y[H+1],N=y[H],K=[],T=y[H+2];H<y.length-2&&mxUtils.ptSegDistSq(N.x,N.y,T.x,T.y,M.x,M.y)<1*this.scale*this.scale;)M=T,H++,T=y[H+2];A=D(0,N.x,N.y)||A;for(var W=0;W<this.validEdges.length;W++){var S=this.validEdges[W],V=S.absolutePoints;if(null!=V&&mxUtils.intersects(w,S)&&"1"!=S.style.noJump){var fa=null;for(S=0;S<V.length-1;S++){var P=+V[S+1],Z=V[S];for(T=V[S+2];S<V.length-2&&mxUtils.ptSegDistSq(Z.x,Z.y,T.x,T.y,P.x,P.y)<1*this.scale*this.scale;)P=T,S++,T=V[S+2];var X=mxUtils.intersection(N.x,N.y,M.x,M.y,Z.x,Z.y,P.x,P.y);if(null!=X&&(Math.abs(X.x-N.x)>G||Math.abs(X.y-N.y)>G)&&(Math.abs(X.x-M.x)>G||Math.abs(X.y-M.y)>G)&&(null==fa||mxUtils.ptLineDist(N.x,N.y,M.x,M.y,fa.x,fa.y)>G||mxUtils.ptLineDist(N.x,N.y,M.x,M.y,Z.x,Z.y)>G)&&(null==T||mxUtils.ptLineDist(N.x,N.y,M.x,M.y,T.x,T.y)>G||mxUtils.ptLineDist(N.x,N.y,M.x,M.y,P.x,P.y)>G)){T=+X.x-N.x;fa=X.y-N.y;X={distSq:T*T+fa*fa,x:X.x,y:X.y};for(T=0;T<K.length;T++)if(K[T].distSq>X.distSq){K.splice(T,0,X);X=null;break}null==X||0!=K.length&&K[K.length-1].x===X.x&&K[K.length-1].y===X.y||K.push(X)}fa=Z}}}for(S=0;S<K.length;S++)A=D(1,K[S].x,K[S].y)||A}X=y[y.length-1];A=D(0,X.x,X.y)||A}w.routedPoints=F;return A}return!1};var h=mxConnector.prototype.paintLine;mxConnector.prototype.paintLine=function(w,y,A){this.routedPoints=null!=this.state?this.state.routedPoints:null;if(this.outline||null==+this.state||null==this.style||null==this.state.routedPoints||0==this.state.routedPoints.length)h.apply(this,arguments);else{var F=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2,D=(parseInt(mxUtils.getValue(this.style,"jumpSize",Graph.defaultJumpSize))-2)/2+this.strokewidth,G=mxUtils.getValue(this.style,"jumpStyle","none"),H=!0,M=null,N=null,K=[],T=null;w.begin();for(var W=0;W<this.state.routedPoints.length;W++){var S=this.state.routedPoints[W],V=new mxPoint(S.x/+this.scale,S.y/this.scale);0==W?V=y[0]:W==this.state.routedPoints.length-1&&(V=y[y.length-1]);var fa=!1;if(null!=M&&1==S.type){var P=this.state.routedPoints[W+1];S=P.x/this.scale-V.x;P=P.y/this.scale-V.y;S=S*S+P*P;null==T&&(T=new mxPoint(V.x-M.x,V.y-M.y),N=Math.sqrt(T.x*T.x+T.y*T.y),0<N?(T.x=T.x*D/N,T.y=T.y*D/N):T=null);S>D*D&&0<N&&(S=M.x-V.x,P=M.y-V.y,S=S*S+P*P,S>D*D&&(fa=new mxPoint(V.x-T.x,V.y-T.y),S=new mxPoint(V.x+T.x,V.y+T.y),K.push(fa),this.addPoints(w,K,A,F,!1,null,H),K=0>Math.round(T.x)||+0==Math.round(T.x)&&0>=Math.round(T.y)?1:-1,H=!1,"sharp"==G?(w.lineTo(fa.x-T.y*K,fa.y+T.x*K),w.lineTo(S.x-T.y*K,S.y+T.x*K),w.lineTo(S.x,S.y)):"line"==G?(w.moveTo(fa.x+T.y*K,fa.y-T.x*K),w.lineTo(fa.x-T.y*K,fa.y+T.x*K),w.moveTo(S.x-T.y*K,S.y+T.x*K),w.lineTo(S.x+T.y*K,S.y-T.x*K),w.moveTo(S.x,S.y)):"arc"==G?(K*=1.3,w.curveTo(fa.x-T.y*K,fa.y+T.x*K,S.x-T.y*K,S.y+T.x*K,S.x,S.y)):(w.moveTo(S.x,S.y),H=!0),K=[S],fa=!0))}else T=null;fa||(K.push(V),M=V)}this.addPoints(w,K,A,F,!1,null,H);w.stroke()}};var l=mxGraphView.prototype.getFixedTerminalPoint;+mxGraphView.prototype.getFixedTerminalPoint=function(w,y,A,F){return null!=y&&"centerPerimeter"==y.style[mxConstants.STYLE_PERIMETER]?new mxPoint(y.getCenterX(),y.getCenterY()):l.apply(this,arguments)};var q=mxGraphView.prototype.updateFloatingTerminalPoint;mxGraphView.prototype.updateFloatingTerminalPoint=function(w,y,A,F){if(null==y||null==w||"1"!=y.style.snapToPoint&&"1"!=w.style.snapToPoint)q.apply(this,arguments);else{y=this.getTerminalPort(w,y,F);var D=this.getNextPoint(w,A,F),G=this.graph.isOrthogonal(w),+H=mxUtils.toRadians(Number(y.style[mxConstants.STYLE_ROTATION]||"0")),M=new mxPoint(y.getCenterX(),y.getCenterY());if(0!=H){var N=Math.cos(-H),K=Math.sin(-H);D=mxUtils.getRotatedPoint(D,N,K,M)}N=parseFloat(w.style[mxConstants.STYLE_PERIMETER_SPACING]||0);N+=parseFloat(w.style[F?mxConstants.STYLE_SOURCE_PERIMETER_SPACING:mxConstants.STYLE_TARGET_PERIMETER_SPACING]||0);D=this.getPerimeterPoint(y,D,0==H&&G,N);0!=H&&(N=Math.cos(H),K=Math.sin(H),D=mxUtils.getRotatedPoint(D,N,K,M));w.setAbsoluteTerminalPoint(this.snapToAnchorPoint(w,+y,A,F,D),F)}};mxGraphView.prototype.snapToAnchorPoint=function(w,y,A,F,D){if(null!=y&&null!=w){w=this.graph.getAllConnectionConstraints(y);F=A=null;if(null!=w)for(var G=0;G<w.length;G++){var H=this.graph.getConnectionPoint(y,w[G]);if(null!=H){var M=(H.x-D.x)*(H.x-D.x)+(H.y-D.y)*(H.y-D.y);if(null==F||M<F)A=H,F=M}}null!=A&&(D=A)}return D};var k=mxStencil.prototype.evaluateTextAttribute;mxStencil.prototype.evaluateTextAttribute=function(w,y,A){var F=k.apply(this,arguments);"1"==w.getAttribute("placeholders")&&+null!=A.state&&(F=A.state.view.graph.replacePlaceholders(A.state.cell,F));return F};var u=mxCellRenderer.prototype.createShape;mxCellRenderer.prototype.createShape=function(w){if(null!=w.style&&"undefined"!==typeof pako){var y=mxUtils.getValue(w.style,mxConstants.STYLE_SHAPE,null);if(null!=y&&"string"===typeof y&&"stencil("==y.substring(0,8))try{var A=y.substring(8,y.length-1),F=mxUtils.parseXml(Graph.decompress(A));return new mxShape(new mxStencil(F.documentElement))}catch(D){null!=window.console&&console.log("Error in shape: "+D)}}return u.apply(this,arguments)}})();mxStencilRegistry.libraries={};mxStencilRegistry.dynamicLoading=!0;mxStencilRegistry.allowEval=!0;mxStencilRegistry.packages=[];mxStencilRegistry.filesLoaded={};mxStencilRegistry.isFileLoaded=function(a){return!mxClient.IS_FF&&mxStencilRegistry.filesLoaded[a]};mxStencilRegistry.setFileLoaded=function(a){mxStencilRegistry.filesLoaded[a]=!0};mxStencilRegistry.getStencil=function(a){var b=mxStencilRegistry.stencils[a];if(null==b&&null==mxCellRenderer.defaultShapes[a]&&mxStencilRegistry.dynamicLoading){var e=mxStencilRegistry.getBasenameForStencil(a);if(null!=e){b=mxStencilRegistry.libraries[e];if(null!=b){if(null==mxStencilRegistry.packages[e]){for(var f=0;f<b.length;f++){var g=b[f];if(!mxStencilRegistry.isFileLoaded(g))if(mxStencilRegistry.setFileLoaded(g),".xml"==g.toLowerCase().substring(g.length-4,g.length))mxStencilRegistry.loadStencilSet(g,null);else if(".js"==g.toLowerCase().substring(g.length-3,g.length))try{if(mxStencilRegistry.allowEval){var d=mxUtils.load(g);null!=d&&200<=d.getStatus()&&299>=d.getStatus()&&eval.call(window,d.getText())}}catch(h){null!=window.console&&console.log("error in getStencil:",a,e,b,g,h)}}mxStencilRegistry.packages[e]=1}}else e=e.replace("_-_","_"),mxStencilRegistry.loadStencilSet(STENCIL_PATH+"/"+e+".xml",null);b=mxStencilRegistry.stencils[a]}}return b};@@ -2855,8 +2855,8 @@ p&&(new mxCodec(p.ownerDocument)).decode(p,this.getStylesheet())};Graph.prototypC,E){B=null!=B?B:0;C=null!=C?C:0;var J=new mxCodec(p.ownerDocument),Q=new mxGraphModel;J.decode(p,Q);p=[];J={};var Y={},ka=Q.getChildren(this.cloneCell(Q.root,this.isCloneInvalidEdges(),J));if(null!=ka){var ea=this.createCellLookup([Q.root]);ka=ka.slice();this.model.beginUpdate();try{if(1!=ka.length||this.isCellLocked(this.getDefaultParent()))for(Q=0;Q<ka.length;Q++)na=this.model.getChildren(this.moveCells([ka[Q]],B,C,!1,this.model.getRoot())[0]),null!=na&&(p=p.concat(na));else{var na=Q.getChildren(ka[0]);null!=na&&(p=this.moveCells(na,B,C,!1,this.getDefaultParent()),Y[Q.getChildAt(Q.root,0).getId()]=this.getDefaultParent().getId())}if(null!=p&&(this.createCellMapping(J,ea,Y),this.updateCustomLinks(Y,p),E)){this.isGridEnabled()&&(B=this.snap(B),C=this.snap(C));var Ba=this.getBoundingBoxFromGeometry(p,!0);null!=Ba&&this.moveCells(p,B-Ba.x,C-Ba.y)}}finally{this.model.endUpdate()}}return p};Graph.prototype.encodeCells=function(p){for(var B={},C=this.cloneCells(p,null,B),E=new mxDictionary,J=0;J<p.length;J++)E.put(p[J],!0);var Q=new mxCodec,Y=new mxGraphModel,ka=Y.getChildAt(Y.getRoot(),0);for(J=0;J<C.length;J++){Y.add(ka,C[J]);var ea=this.view.getState(p[J]);if(null!=ea){var na=this.getCellGeometry(C[J]);null!=na&&na.relative&&!this.model.isEdge(p[J])&&null==E.get(this.model.getParent(p[J]))&&(na.offset=null,na.relative=!1,na.x=ea.x/ea.view.scale-ea.view.translate.x,na.y=ea.y/ea.view.scale-ea.view.translate.y)}}this.updateCustomLinks(this.createCellMapping(B,this.createCellLookup(p)),C);return Q.encode(Y)};Graph.prototype.isSwimlane=-function(p,B){var C=null;null==p||this.model.isEdge(p)||this.model.getParent(p)==this.model.getRoot()||(C=this.getCurrentCellStyle(p,B)[mxConstants.STYLE_SHAPE]);return C==mxConstants.SHAPE_SWIMLANE||"table"==C||"tableRow"==C};var l=Graph.prototype.isCellEditable;Graph.prototype.isCellEditable=function(p){return null!=p&&l.apply(this,arguments)?this.isTableCell(p)||this.isTableRow(p)?this.isCellEditable(this.model.getParent(p)):!0:!1};var r=Graph.prototype.isCellMovable;Graph.prototype.isCellMovable=-function(p){return null!=p&&r.apply(this,arguments)?this.isTableCell(p)||this.isTableRow(p)?this.isCellMovable(this.model.getParent(p)):!0:!1};var k=Graph.prototype.isExtendParent;Graph.prototype.isExtendParent=function(p){var B=this.model.getParent(p);if(null!=B){var C=this.getCurrentCellStyle(B);if(null!=C.expand)return"0"!=C.expand}return k.apply(this,arguments)&&(null==B||!this.isTable(B))};var u=Graph.prototype.splitEdge;Graph.prototype.splitEdge=function(p,B,C,E,J,Q,Y,ka){null==ka&&(ka=this.model.getParent(p),+function(p,B){var C=null;null==p||this.model.isEdge(p)||this.model.getParent(p)==this.model.getRoot()||(C=this.getCurrentCellStyle(p,B)[mxConstants.STYLE_SHAPE]);return C==mxConstants.SHAPE_SWIMLANE||"table"==C||"tableRow"==C};var l=Graph.prototype.isCellEditable;Graph.prototype.isCellEditable=function(p){return null!=p&&l.apply(this,arguments)?this.isTableCell(p)||this.isTableRow(p)?this.isCellEditable(this.model.getParent(p)):!0:!1};var q=Graph.prototype.isCellMovable;Graph.prototype.isCellMovable=+function(p){return null!=p&&q.apply(this,arguments)?this.isTableCell(p)||this.isTableRow(p)?this.isCellMovable(this.model.getParent(p)):!0:!1};var k=Graph.prototype.isExtendParent;Graph.prototype.isExtendParent=function(p){var B=this.model.getParent(p);if(null!=B){var C=this.getCurrentCellStyle(B);if(null!=C.expand)return"0"!=C.expand}return k.apply(this,arguments)&&(null==B||!this.isTable(B))};var u=Graph.prototype.splitEdge;Graph.prototype.splitEdge=function(p,B,C,E,J,Q,Y,ka){null==ka&&(ka=this.model.getParent(p),this.isTable(ka)||this.isTableRow(ka))&&(ka=this.getCellAt(Q,Y,null,!0,!1));C=null;this.model.beginUpdate();try{var ea=this.getCellGeometry(p);if(null!=ea&&null!=ea.points&&0<ea.points.length&&1==B.length&&this.model.isVertex(B[0])){var na=this.getCellGeometry(B[0]);if(null!=na&&!na.relative){var Ba=new mxRectangle(na.x+E,na.y+J,na.width,na.height),Ma=ea.points;na=[];for(var Ia=0;Ia<Ma.length;Ia++)Ba.intersectsPoint(Ma[Ia].x,Ma[Ia].y)||na.push(Ma[Ia]);na.length<Ma.length&&(ea=ea.clone(),ea.points=na,this.model.setGeometry(p,ea))}}C=u.apply(this,[p,B,C,E,J,Q,Y,ka]);this.model.setValue(C,"");var Aa=this.getChildCells(C,!0);for(Ia=0;Ia<Aa.length;Ia++)ea=this.getCellGeometry(Aa[Ia]),null!=ea&&ea.relative&&0<ea.x&&this.model.remove(Aa[Ia]);var Ha=this.getChildCells(p,!0);for(Ia=0;Ia<Ha.length;Ia++)ea=this.getCellGeometry(Ha[Ia]),null!=ea&&ea.relative&&0>=ea.x&&this.model.remove(Ha[Ia]);var xa=this.model.getTerminal(C,!1);if(null!=xa){var wa=this.getCurrentCellStyle(xa);null!=wa&&"1"==wa.snapToPoint&&(this.setCellStyles(mxConstants.STYLE_EXIT_X,null,[p]),this.setCellStyles(mxConstants.STYLE_EXIT_Y,null,[p]),this.setCellStyles(mxConstants.STYLE_ENTRY_X,null,[C]),this.setCellStyles(mxConstants.STYLE_ENTRY_Y,null,[C]))}}finally{this.model.endUpdate()}return C};var w=Graph.prototype.selectCell;Graph.prototype.selectCell=function(p,B,C){if(B||C)w.apply(this,arguments);else{var E=this.getSelectionCell(),J=null,Q=[],Y=mxUtils.bind(this,function(ka){if(null!=this.view.getState(ka)&&(this.model.isVertex(ka)||@@ -2875,8 +2875,8 @@ null!=C&&C.constructor==mxStackLayout&&(B=!1))}return B};Graph.prototype.getPref!1);C.setTerminal(Q,ka,!0);C.setTerminal(Q,Y,!1);var ea=C.getGeometry(Q);if(null!=ea){ea=ea.clone();null!=ea.points&&ea.points.reverse();var na=ea.getTerminalPoint(!0),Ba=ea.getTerminalPoint(!1);ea.setTerminalPoint(na,!1);ea.setTerminalPoint(Ba,!0);C.setGeometry(Q,ea);var Ma=this.view.getState(Q),Ia=this.view.getState(Y),Aa=this.view.getState(ka);if(null!=Ma){var Ha=null!=Ia?this.getConnectionConstraint(Ma,Ia,!0):null,xa=null!=Aa?this.getConnectionConstraint(Ma,Aa,!1):null;this.setConnectionConstraint(Q,Y,!0,xa);this.setConnectionConstraint(Q,ka,!1,Ha);var wa=mxUtils.getValue(Ma.style,mxConstants.STYLE_SOURCE_PERIMETER_SPACING);this.setCellStyles(mxConstants.STYLE_SOURCE_PERIMETER_SPACING,mxUtils.getValue(Ma.style,mxConstants.STYLE_TARGET_PERIMETER_SPACING),[Q]);this.setCellStyles(mxConstants.STYLE_TARGET_PERIMETER_SPACING,wa,[Q])}E.push(Q)}}else if(C.isVertex(Q)&&(ea=this.getCellGeometry(Q),null!=ea)){if(!(this.isTable(Q)||this.isTableRow(Q)||this.isTableCell(Q)||this.isSwimlane(Q))){ea=ea.clone();ea.x+=ea.width/2-ea.height/2;ea.y+=ea.height/2-ea.width/2;var Sa=ea.width;ea.width=ea.height;ea.height=Sa;C.setGeometry(Q,ea)}var Qa=this.view.getState(Q);if(null!=Qa){var Oa=[mxConstants.DIRECTION_EAST,mxConstants.DIRECTION_SOUTH,mxConstants.DIRECTION_WEST,mxConstants.DIRECTION_NORTH],Ra=mxUtils.getValue(Qa.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST);this.setCellStyles(mxConstants.STYLE_DIRECTION,Oa[mxUtils.mod(mxUtils.indexOf(Oa,Ra)+(B?-1:1),Oa.length)],[Q])}E.push(Q)}}}finally{C.endUpdate()}return E};-Graph.prototype.stencilHasPlaceholders=function(p){if(null!=p&&null!=p.fgNode)for(p=p.fgNode.firstChild;null!=p;){if("text"==p.nodeName&&"1"==p.getAttribute("placeholders"))return!0;p=p.nextSibling}return!1};var G=Graph.prototype.processChange;Graph.prototype.processChange=function(p){if(p instanceof mxGeometryChange&&(this.isTableCell(p.cell)||this.isTableRow(p.cell))&&(null==p.previous&&null!=p.geometry||null!=p.previous&&!p.previous.equals(p.geometry))){var B=p.cell;this.isTableCell(B)&&(B=this.model.getParent(B));-this.isTableRow(B)&&(B=this.model.getParent(B));var C=this.view.getState(B);null!=C&&null!=C.shape&&(this.view.invalidate(B),C.shape.bounds=null)}G.apply(this,arguments);p instanceof mxValueChange&&null!=p.cell&&null!=p.cell.value&&"object"==typeof p.cell.value&&this.invalidateDescendantsWithPlaceholders(p.cell)};Graph.prototype.invalidateDescendantsWithPlaceholders=function(p){p=this.model.getDescendants(p);if(0<p.length)for(var B=0;B<p.length;B++){var C=this.view.getState(p[B]);null!=C&&null!=C.shape&&+Graph.prototype.stencilHasPlaceholders=function(p){if(null!=p&&null!=p.fgNode)for(p=p.fgNode.firstChild;null!=p;){if("text"==p.nodeName&&"1"==p.getAttribute("placeholders"))return!0;p=p.nextSibling}return!1};var F=Graph.prototype.processChange;Graph.prototype.processChange=function(p){if(p instanceof mxGeometryChange&&(this.isTableCell(p.cell)||this.isTableRow(p.cell))&&(null==p.previous&&null!=p.geometry||null!=p.previous&&!p.previous.equals(p.geometry))){var B=p.cell;this.isTableCell(B)&&(B=this.model.getParent(B));+this.isTableRow(B)&&(B=this.model.getParent(B));var C=this.view.getState(B);null!=C&&null!=C.shape&&(this.view.invalidate(B),C.shape.bounds=null)}F.apply(this,arguments);p instanceof mxValueChange&&null!=p.cell&&null!=p.cell.value&&"object"==typeof p.cell.value&&this.invalidateDescendantsWithPlaceholders(p.cell)};Graph.prototype.invalidateDescendantsWithPlaceholders=function(p){p=this.model.getDescendants(p);if(0<p.length)for(var B=0;B<p.length;B++){var C=this.view.getState(p[B]);null!=C&&null!=C.shape&&null!=C.shape.stencil&&this.stencilHasPlaceholders(C.shape.stencil)?this.removeStateForCell(p[B]):this.isReplacePlaceholders(p[B])&&this.view.invalidate(p[B],!1,!1)}};Graph.prototype.replaceElement=function(p,B){B=p.ownerDocument.createElement(null!=B?B:"span");for(var C=Array.prototype.slice.call(p.attributes);attr=C.pop();)B.setAttribute(attr.nodeName,attr.nodeValue);B.innerHTML=p.innerHTML;p.parentNode.replaceChild(B,p)};Graph.prototype.processElements=function(p,B){if(null!=p){p=p.getElementsByTagName("*");for(var C=0;C<p.length;C++)null!=p[C]&&B(p[C])}};Graph.prototype.updateLabelElements=function(p,B,C){p=null!=p?p:this.getSelectionCells();for(var E=document.createElement("div"),J=0;J<p.length;J++){var Q=this.getCurrentCellStyle(p[J]);if(null!=Q&&"1"==Q.html&&(Q=this.convertValueToString(p[J]),null!=Q&&0<Q.length)){E.innerHTML=Graph.sanitizeHtml(Q);for(var Y=E.getElementsByTagName(null!=C?C:"*"),ka=0;ka<Y.length;ka++)B(Y[ka]);E.innerHTML!=Q&&this.cellLabelChanged(p[J],E.innerHTML)}}};Graph.prototype.cellLabelChanged=function(p,B,C){B=Graph.zapGremlins(B);this.model.beginUpdate();try{if(null!=p.value&&"object"==typeof p.value){if(this.isReplacePlaceholders(p)&&null!=p.getAttribute("placeholder"))for(var E=p.getAttribute("placeholder"),J=p;null!=J;){if(J==this.model.getRoot()||null!=J.value&&"object"==typeof J.value&&J.hasAttribute(E)){this.setAttributeForCell(J,E,B);break}J=this.model.getParent(J)}var Q=p.value.cloneNode(!0);Graph.translateDiagram&&null!=Graph.diagramLanguage&&Q.hasAttribute("label_"+Graph.diagramLanguage)?@@ -2911,7 +2911,7 @@ Y=E.root.ownerDocument;E.root=this.addCellData(C.cell,null!=Y.createElementNS?Y.null;null!=p&&0<p.length&&(p=JSON.parse(p),B=new mxImage(p.src,p.width,p.height));return B};Graph.prototype.getBackgroundImageObject=function(p){return p};Graph.prototype.getSvg=function(p,B,C,E,J,Q,Y,ka,ea,na,Ba,Ma,Ia,Aa,Ha,xa){var wa=null;if(null!=Aa)for(wa=new mxDictionary,J=0;J<Aa.length;J++)wa.put(Aa[J],!0);Aa=this.useCssTransforms;var Sa=this.enableFlowAnimation;this.enableFlowAnimation=!1;Aa&&(this.useCssTransforms=!1,this.view.revalidate(),this.sizeDidChange());try{B=null!=B?B:1;C=null!=C?C:0;Q=null!=Q?Q:!0;Y=null!=Y?Y:!0;na=null!=na?na:!1;var Qa="page"==Ia?this.view.getBackgroundPageBounds():Q&&null==wa||E||"diagram"==Ia?this.getGraphBounds():this.getBoundingBox(this.getSelectionCells()),Oa=this.backgroundImage,Ra=this.view.translate,Ya=this.view.scale;"diagram"==Ia&&null!=Oa&&null!=Oa.width&&null!=Oa.height&&(Qa=mxRectangle.fromRectangle(Qa),Qa.add(new mxRectangle((Ra.x+Oa.x)*Ya,(Ra.y+Oa.y)*Ya,Oa.width*Ya,Oa.height*Ya)));if(null==Qa)throw Error(mxResources.get("drawingEmpty"));E=B/Ya;var lb=Math.max(1,Math.ceil(Qa.width*E)+2*C)+(na&&0==C?5:0),tb=Math.max(1,Math.ceil(Qa.height*E)+2*C)+(na&&0==C?5:0),ub=mxUtils.getLightDarkColor(p),mb=Graph.createSvgNode(0,0,lb,tb,ub),nb=mb.ownerDocument;if(null!=p){var gb=mxUtils.createElementNs(nb,mxConstants.NS_SVG,"rect");gb.setAttribute("fill",ub.light);gb.style.fill=ub.cssText;gb.setAttribute("width","100%");gb.setAttribute("height","100%");gb.setAttribute("x","0");gb.setAttribute("y","0");mb.appendChild(gb)}var ob=mxUtils.createElementNs(nb,-mxConstants.NS_SVG,"g");mb.appendChild(ob);var db=this.createSvgCanvas(ob);db.translate(Math.floor(C/B-Qa.x/Ya),Math.floor(C/B-Qa.y/Ya));db.idPrefix="drawio-svg-"+Editor.guid();var vb=document.createElement("div"),wb=db.getAlternateText;db.getAlternateText=function(Ua,rb,$a,jb,pb,Za,yb,c,m,t,n,q,v){if(null!=Za&&0<this.state.fontSize)try{mxUtils.isNode(Za)?Za=Za.innerText:(vb.innerHTML=Za,Za=mxUtils.extractTextWithWhitespace(vb.childNodes));for(var x=Math.ceil(2*jb/this.state.fontSize),I=[],z=0,da=+mxConstants.NS_SVG,"g");mb.appendChild(ob);var db=this.createSvgCanvas(ob);db.translate(Math.floor(C/B-Qa.x/Ya),Math.floor(C/B-Qa.y/Ya));db.idPrefix="drawio-svg-"+Editor.guid();var vb=document.createElement("div"),wb=db.getAlternateText;db.getAlternateText=function(Ua,rb,$a,jb,pb,Za,yb,c,m,t,n,r,v){if(null!=Za&&0<this.state.fontSize)try{mxUtils.isNode(Za)?Za=Za.innerText:(vb.innerHTML=Za,Za=mxUtils.extractTextWithWhitespace(vb.childNodes));for(var x=Math.ceil(2*jb/this.state.fontSize),I=[],z=0,da=0;(0==x||z<x)&&da<Za.length;){var R=Za.charCodeAt(da);if(10==R||13==R){if(0<z)break}else I.push(Za.charAt(da)),255>R&&z++;da++}I.length<Za.length&&1<Za.length-I.length&&(Za=mxUtils.trim(I.join(""))+"...");return Za}catch(Ga){return wb.apply(this,arguments)}else return wb.apply(this,arguments)};if(null!=Oa&&null!=Oa.width&&null!=Oa.height){p=Ya/B;var xb=new mxRectangle((Oa.x+Ra.x)*p,(Oa.y+Ra.y)*p,Oa.width*p,Oa.height*p);mxUtils.intersects(Qa,xb)&&db.image(Oa.x+Ra.x,Oa.y+Ra.y,Oa.width,Oa.height,Oa.src,!0)}db.scale(E);db.textEnabled=Y;ka=null!=ka?ka:this.createSvgImageExport();var sb=ka.getLinkForCellState;ka.getLinkForCellState=function(Ua,rb){var $a=Ua.view.graph.getAbsoluteUrl(sb.apply(this,arguments));return null==$a||Ua.view.graph.isCustomLink($a)?null:$a};ka.getLinkTargetForCellState=function(Ua,rb){return Ua.view.graph.getLinkTargetForCell(Ua.cell)};var zb=ka.drawCellState,kb=null,ib=mxUtils.bind(this,function(){if(null==kb){kb="ge-flow-animation-"+Editor.guid();var Ua=null!=nb.createElementNS?nb.createElementNS(mxConstants.NS_SVG,"style"):nb.createElement("style");Ua.innerHTML=this.createFlowAnimationCss(kb);nb.getElementsByTagName("defs")[0].appendChild(Ua)}return kb});ka.drawCellState=function(Ua,rb){for(var $a=Ua.view.graph,jb=null!=wa?wa.get(Ua.cell):$a.isCellSelected(Ua.cell),pb=$a.model.getParent(Ua.cell);!(Q&&null==wa||jb)&&null!=pb;)jb=null!=wa?wa.get(pb):$a.isCellSelected(pb),pb=$a.model.getParent(pb);if(null!=Ua.shape)try{var Za=Ua.shape.isFlowAnimationEnabled,yb=Ua.shape.addFlowAnimationToShape;@@ -2946,8 +2946,8 @@ this.isEnabled()&&(this.container.style.cursor="default");return Q};var B=!1,C=![Q,Y,ka])}})};Graph.prototype.isTouchPopupMenuEnabled=function(){return!0};mxCellEditor.prototype.isContentEditing=function(){var p=this.graph.view.getState(this.editingCell);return null!=p&&1==p.style.html};mxCellEditor.prototype.isTableSelected=function(){return null!=this.graph.getParentByName(this.graph.getSelectedElement(),"TABLE",this.textarea)};mxCellEditor.prototype.isTextSelected=function(){var p="";window.getSelection?p=window.getSelection():document.getSelection?p=document.getSelection():document.selection&&(p=document.selection.createRange().text);return""!=p};mxCellEditor.prototype.insertTab=function(p){var B=this.textarea.ownerDocument.defaultView.getSelection(),C=B.getRangeAt(0);p=Graph.createTabNode(p);C.insertNode(p);C.setStartAfter(p);C.setEndAfter(p);B.removeAllRanges();B.addRange(C)};mxCellEditor.prototype.alignText=function(p,B){var C=this.graph.getView().getState(this.editingCell);if(null!=C){C=mxUtils.getValue(C.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);var E=null!=C&&"vertical-"==C.substring(0,9),J=null!=B&&mxEvent.isShiftDown(B);if(J||null!=window.getSelection&&null!=window.getSelection().containsNode){var Q=!0;this.graph.processElements(this.textarea,function(Y){J||E||window.getSelection().containsNode(Y,!0)?(Y.removeAttribute("align"),Y.style.textAlign=null):Q=!1});(Q||E)&&this.graph.cellEditor.setAlign(p)}E||document.execCommand("justify"+p.toLowerCase(),!1,null)}};mxCellEditor.prototype.saveSelection=function(){if(window.getSelection){var p=-window.getSelection();if(p.getRangeAt&&p.rangeCount){for(var B=[],C=0,E=p.rangeCount;C<E;++C)B.push(p.getRangeAt(C));return B}}else if(document.selection&&document.selection.createRange)return document.selection.createRange();return null};mxCellEditor.prototype.restoreSelection=function(p){try{if(p)if(window.getSelection){sel=window.getSelection();sel.removeAllRanges();for(var B=0,C=p.length;B<C;++B)sel.addRange(p[B])}else document.selection&&p.select&&p.select()}catch(E){}};var F=mxCellRenderer.prototype.initializeLabel;-mxCellRenderer.prototype.initializeLabel=function(p){null!=p.text&&(p.text.replaceLinefeeds="0"!=mxUtils.getValue(p.style,"nl2Br","1"));F.apply(this,arguments)};var H=mxConstraintHandler.prototype.update;mxConstraintHandler.prototype.update=function(p,B){this.isKeepFocusEvent(p)||!mxEvent.isAltDown(p.getEvent())?H.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=function(p){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};mxCellEditor.prototype.escapeCancelsEditing=+window.getSelection();if(p.getRangeAt&&p.rangeCount){for(var B=[],C=0,E=p.rangeCount;C<E;++C)B.push(p.getRangeAt(C));return B}}else if(document.selection&&document.selection.createRange)return document.selection.createRange();return null};mxCellEditor.prototype.restoreSelection=function(p){try{if(p)if(window.getSelection){sel=window.getSelection();sel.removeAllRanges();for(var B=0,C=p.length;B<C;++B)sel.addRange(p[B])}else document.selection&&p.select&&p.select()}catch(E){}};var G=mxCellRenderer.prototype.initializeLabel;+mxCellRenderer.prototype.initializeLabel=function(p){null!=p.text&&(p.text.replaceLinefeeds="0"!=mxUtils.getValue(p.style,"nl2Br","1"));G.apply(this,arguments)};var H=mxConstraintHandler.prototype.update;mxConstraintHandler.prototype.update=function(p,B){this.isKeepFocusEvent(p)||!mxEvent.isAltDown(p.getEvent())?H.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=function(p){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};mxCellEditor.prototype.escapeCancelsEditing=!1;var M=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(p,B){p=this.graph.getStartEditingCell(p,B);M.apply(this,arguments);var C=this.graph.view.getState(p);this.textarea.className=null!=C&&1==C.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";this.textarea.style.colorScheme="none"==this.graph.getAdaptiveColors()?"light":"";this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(p)};mxCellEditor.prototype.toggleViewMode=function(){var p=this.graph.view.getState(this.editingCell);if(null!=p){var B=null!=p&&"0"!=mxUtils.getValue(p.style,"nl2Br","1"),C=this.saveSelection();if(this.codeViewMode){Graph.removeLightDarkColors(this.textarea,Graph.backupStyleAttribute);ka=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<ka.length&&"\n"==ka.charAt(ka.length-1)&&(ka=ka.substring(0,ka.length-1));ka=Graph.sanitizeHtml(B?ka.replace(/\n/g,"<br/>"):ka,!0);this.textarea.className="mxCellEditor geContentEditable";ea=mxUtils.getValue(p.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);B=mxUtils.getValue(p.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);var E=mxUtils.getValue(p.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),J=(mxUtils.getValue(p.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,Q=(mxUtils.getValue(p.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,Y=[];(mxUtils.getValue(p.style,mxConstants.STYLE_FONTSTYLE,@@ -3012,8 +3012,8 @@ try{var Y=this.graph.getCellsBeyond(E,J,this.graph.getDefaultParent(),!0,!0);fornull!=this.first){var C=mxUtils.getScrollOrigin(this.graph.container);p=mxUtils.getOffset(this.graph.container);C.x-=p.x;C.y-=p.y;p=B.getX()+C.x;C=B.getY()+C.y;var E=this.first.x-p,J=this.first.y-C,Q=this.graph.tolerance;if(null!=this.div||Math.abs(E)>Q||Math.abs(J)>Q)null==this.div&&(this.div=this.createShape()),mxUtils.clearSelection(),this.update(p,C),this.isSpaceEvent(B)?(p=this.x+this.width,C=this.y+this.height,E=this.graph.view.scale,mxEvent.isAltDown(B.getEvent())||(this.width=this.graph.snap(this.width/E)*E,this.height=this.graph.snap(this.height/E)*E,this.graph.isGridEnabled()||(this.width<this.graph.tolerance&&(this.width=0),this.height<this.graph.tolerance&&(this.height=0)),this.x<this.first.x&&(this.x=p-this.width),this.y<this.first.y&&(this.y=C-this.height)),this.div.style.borderStyle="dashed",this.div.style.backgroundColor="white",this.div.style.left=this.x+"px",this.div.style.top=this.y+"px",this.div.style.width=Math.max(0,this.width)+"px",this.div.style.height=this.graph.container.clientHeight+"px",this.div.style.borderWidth=0>=this.width?"0px 1px 0px 0px":"0px 1px 0px 1px",null==this.secondDiv&&(this.secondDiv=this.div.cloneNode(!0),this.div.parentNode.appendChild(this.secondDiv)),this.secondDiv.style.left=this.x+"px",this.secondDiv.style.top=this.y+"px",this.secondDiv.style.width=this.graph.container.clientWidth+"px",this.secondDiv.style.height=Math.max(0,this.height)+"px",this.secondDiv.style.borderWidth=0>=this.height?"1px 0px 0px 0px":"1px 0px 1px 0px"):(this.div.style.backgroundColor=-"",this.div.style.borderWidth="",this.div.style.borderStyle="",null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null)),B.consume()}};var qa=mxRubberband.prototype.reset;mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null);qa.apply(this,arguments)};var ja=(new Date).getTime(),va=0,za=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(p,-B,C,E){za.apply(this,arguments);C!=this.currentTerminalState?(ja=(new Date).getTime(),va=0):va=(new Date).getTime()-ja;this.currentTerminalState=C};var La=mxEdgeHandler.prototype.isOutlineConnectEvent;mxEdgeHandler.prototype.isOutlineConnectEvent=function(p){return mxEvent.isShiftDown(p.getEvent())&&mxEvent.isAltDown(p.getEvent())?!1:null!=this.currentTerminalState&&p.getState()==this.currentTerminalState&&2E3<va||(null==this.currentTerminalState||"0"!=mxUtils.getValue(this.currentTerminalState.style,+"",this.div.style.borderWidth="",this.div.style.borderStyle="",null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null)),B.consume()}};var qa=mxRubberband.prototype.reset;mxRubberband.prototype.reset=function(){null!=this.secondDiv&&(this.secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null);qa.apply(this,arguments)};var ja=(new Date).getTime(),va=0,ya=mxEdgeHandler.prototype.updatePreviewState;mxEdgeHandler.prototype.updatePreviewState=function(p,+B,C,E){ya.apply(this,arguments);C!=this.currentTerminalState?(ja=(new Date).getTime(),va=0):va=(new Date).getTime()-ja;this.currentTerminalState=C};var La=mxEdgeHandler.prototype.isOutlineConnectEvent;mxEdgeHandler.prototype.isOutlineConnectEvent=function(p){return mxEvent.isShiftDown(p.getEvent())&&mxEvent.isAltDown(p.getEvent())?!1:null!=this.currentTerminalState&&p.getState()==this.currentTerminalState&&2E3<va||(null==this.currentTerminalState||"0"!=mxUtils.getValue(this.currentTerminalState.style,"outlineConnect","1"))&&La.apply(this,arguments)};mxEdgeHandler.prototype.createHandleShape=function(p,B,C){B=null!=p&&0==p;var E=this.state.getVisibleTerminalState(B);p=null!=p&&null!=this.state.absolutePoints&&(0==p||p>=this.state.absolutePoints.length-1||this.constructor==mxElbowEdgeHandler&&2==p)?this.graph.getConnectionConstraint(this.state,E,B):null;C=null!=(null!=p?this.graph.getConnectionPoint(this.state.getVisibleTerminalState(B),p):null)?C?this.endFixedHandleImage:this.fixedHandleImage:null!=p&&null!=E?C?this.endTerminalHandleImage:this.terminalHandleImage:C?this.endHandleImage:this.handleImage;if(null!=C)return C=new mxImageShape(new mxRectangle(0,0,C.width,C.height),C.src),C.preserveImageAspect=!1,C;C=mxConstants.HANDLE_SIZE;this.preferHtml&&--C;return new mxRectangleShape(new mxRectangle(0,0,C,C),mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};var Na=mxVertexHandler.prototype.createSizerShape;mxVertexHandler.prototype.createSizerShape=function(p,B,C,E){E=B==mxEvent.ROTATION_HANDLE?HoverIcons.prototype.rotationHandle:B==mxEvent.LABEL_HANDLE?this.secondaryHandleImage:E;return Na.apply(this,arguments)};var Ja=mxGraphHandler.prototype.getBoundingBox;mxGraphHandler.prototype.getBoundingBox=function(p){if(null!=p&&1==p.length){var B=this.graph.getModel(),C=B.getParent(p[0]),E=this.graph.getCellGeometry(p[0]);if(B.isEdge(C)&&null!=E&&E.relative&&(B=this.graph.view.getState(p[0]),null!=B&&2>B.width&&2>B.height&&null!=B.text&&null!=B.text.boundingBox))return mxRectangle.fromRectangle(B.text.boundingBox)}return Ja.apply(this,@@ -3066,55 +3066,55 @@ Format.processMenuIcon=function(a,b){var e=a.getElementsByTagName("img");0<e.lenFormat.prototype.init=function(){var a=this.editorUi,b=a.editor,e=b.graph;this.update=mxUtils.bind(this,function(f,g){this.refresh()});e.getSelectionModel().addListener(mxEvent.CHANGE,this.update);e.getModel().addListener(mxEvent.CHANGE,this.update);e.addListener(mxEvent.EDITING_STARTED,this.update);e.addListener(mxEvent.EDITING_STOPPED,this.update);e.getView().addListener("unitChanged",this.update);b.addListener("autosaveChanged",this.update);e.addListener(mxEvent.ROOT,this.update);a.addListener("styleChanged",this.update);a.addListener("lockedChanged",this.update);a.addListener("languageChanged",this.update);a.addListener("formatWidthChanged",this.update);this.refresh()};Format.prototype.clear=function(){this.container.innerText="";if(null!=this.panels)for(var a=0;a<this.panels.length;a++)this.panels[a].destroy();this.panels=[]};Format.prototype.refresh=function(){null!=this.pendingRefresh&&(window.clearTimeout(this.pendingRefresh),this.pendingRefresh=null);this.pendingRefresh=window.setTimeout(mxUtils.bind(this,function(){this.immediateRefresh()}))};-Format.prototype.immediateRefresh=function(){if(0!=this.container.offsetWidth){this.clear();var a=this.editorUi,b=a.editor.graph,e=document.createElement("div");e.className="geFormatContent";var f=document.createElement("div");f.className="geFormatTitle";this.container.appendChild(e);var g=a.getSelectionState(),d=g.containsLabel,h=null,l=null,r=mxUtils.bind(this,function(G,D,F,H){var M=mxUtils.bind(this,function(K,T){h!=G&&(T||(d?this.labelIndex=F:b.isSelectionEmpty()?this.diagramIndex=F:this.currentIndex=-F),null!=h&&h.classList.remove("geActiveFormatTitle"),h=G,h.classList.add("geActiveFormatTitle"),l!=D&&(null!=l&&(l.style.display="none"),l=D,l.style.display=""))});mxEvent.addListener(G,"click",M);var N=d?this.labelIndex:b.isSelectionEmpty()?this.diagramIndex:this.currentIndex;(H&&null==h||F==N)&&M(null,H&&null==h)}),k=0;if(b.isSelectionEmpty()){var u=document.createElement("div");mxUtils.write(u,mxResources.get("diagram"));f.appendChild(u);f.setAttribute("title",mxResources.get("diagram"));e.appendChild(f);-g=e.cloneNode(!1);this.panels.push(new DiagramFormatPanel(this,a,g));this.container.appendChild(g);g.style.display="none";var w=f.cloneNode(!1);r(f,g,k++);var y=e.cloneNode(!1);y.style.display="none";u=document.createElement("div");mxUtils.write(u,mxResources.get("style"));w.appendChild(u);w.setAttribute("title",mxResources.get("style"));e.appendChild(w);this.panels.push(new DiagramStylePanel(this,a,y));this.container.appendChild(y);r(w,y,k++,!0)}else if(b.isEditing())u=document.createElement("div"),-mxUtils.write(u,mxResources.get("text")),f.appendChild(u),f.setAttribute("title",mxResources.get("text")),e.appendChild(f),y=e.cloneNode(!1),y.style.display="none",this.panels.push(new TextFormatPanel(this,a,y)),this.container.appendChild(y),r(f,y,k++,!0);else{w=f.cloneNode(!1);var A=w.cloneNode(!1);0<g.cells.length&&(u=document.createElement("div"),mxUtils.write(u,mxResources.get("style")),f.appendChild(u),f.setAttribute("title",mxResources.get("style")),e.appendChild(f),y=e.cloneNode(!1),y.style.display=-"none",this.panels.push(new StyleFormatPanel(this,a,y)),this.container.appendChild(y),r(f,y,k++));u=document.createElement("div");mxUtils.write(u,mxResources.get("text"));w.appendChild(u);w.setAttribute("title",mxResources.get("text"));e.appendChild(w);y=e.cloneNode(!1);y.style.display="none";this.panels.push(new TextFormatPanel(this,a,y));this.container.appendChild(y);u=document.createElement("div");mxUtils.write(u,mxResources.get("arrange"));A.appendChild(u);A.setAttribute("title",mxResources.get("arrange"));-e.appendChild(A);f=e.cloneNode(!1);f.style.display="none";this.panels.push(new ArrangePanel(this,a,f));this.container.appendChild(f);0<g.cells.length?r(w,y,k++):w.style.display="none";r(A,f,k++,!0)}e.className="geFormatTitleContainer"}};BaseFormatPanel=function(a,b,e){this.format=a;this.editorUi=b;this.container=e;this.listeners=[]};BaseFormatPanel.prototype.buttonBackgroundColor="transparent";-BaseFormatPanel.prototype.installInputHandler=function(a,b,e,f,g,d,h,l,r){d=null!=d?d:"";l=null!=l?l:!1;var k=this.editorUi,u=k.editor.graph;f=null!=f?f:1;g=null!=g?g:999;var w=null,y=!1,A=null,G=mxUtils.bind(this,function(D){var F=l?parseFloat(a.value):parseInt(a.value);r&&(F=this.fromUnit(F));if(F!=A){A=F;isNaN(F)||b!=mxConstants.STYLE_ROTATION||(F=mxUtils.mod(Math.round(100*F),36E3)/100);F=Math.min(g,Math.max(f,isNaN(F)?e:F));if(u.cellEditor.isContentEditing()&&h)y||(y=!0,null!=w&&(u.cellEditor.restoreSelection(w),-w=null),h(F),a.value=(r?this.inUnit(F):F)+d,y=!1);else if(F!=mxUtils.getValue(k.getSelectionState().style,b,e)){u.isEditing()&&u.stopEditing(!0);u.getModel().beginUpdate();try{var H=k.getSelectionState().cells;u.setCellStyles(b,F,H);b==mxConstants.STYLE_FONTSIZE&&u.updateLabelElements(H,function(N){N.removeAttribute("size");N.style.fontSize="";""==N.getAttribute("style")&&N.removeAttribute("style")});for(var M=0;M<H.length;M++)0==u.model.getChildCount(H[M])&&u.autoSizeCell(H[M],!1);k.fireEvent(new mxEventObject("styleChanged",-"keys",[b],"values",[F],"cells",H))}finally{u.getModel().endUpdate()}}a.value=(r?this.inUnit(F):F)+d}mxEvent.consume(D)});h&&u.cellEditor.isContentEditing()&&mxEvent.addGestureListeners(a,mxUtils.bind(this,function(D){document.activeElement==u.cellEditor.textarea&&(w=u.cellEditor.saveSelection())}));mxEvent.addListener(a,"change",G);mxEvent.addListener(a,"blur",G);return G};BaseFormatPanel.prototype.createPanel=function(){var a=document.createElement("div");a.className="geFormatSection";return a};+Format.prototype.immediateRefresh=function(){if(0!=this.container.offsetWidth){this.clear();var a=this.editorUi,b=a.editor.graph,e=document.createElement("div");e.className="geFormatContent";var f=document.createElement("div");f.className="geFormatTitle";this.container.appendChild(e);var g=a.getSelectionState(),d=g.containsLabel,h=null,l=null,q=mxUtils.bind(this,function(F,D,G,H){var M=mxUtils.bind(this,function(K,T){h!=F&&(T||(d?this.labelIndex=G:b.isSelectionEmpty()?this.diagramIndex=G:this.currentIndex=+G),null!=h&&h.classList.remove("geActiveFormatTitle"),h=F,h.classList.add("geActiveFormatTitle"),l!=D&&(null!=l&&(l.style.display="none"),l=D,l.style.display=""))});mxEvent.addListener(F,"click",M);var N=d?this.labelIndex:b.isSelectionEmpty()?this.diagramIndex:this.currentIndex;(H&&null==h||G==N)&&M(null,H&&null==h)}),k=0;if(b.isSelectionEmpty()){var u=document.createElement("div");mxUtils.write(u,mxResources.get("diagram"));f.appendChild(u);f.setAttribute("title",mxResources.get("diagram"));e.appendChild(f);+g=e.cloneNode(!1);this.panels.push(new DiagramFormatPanel(this,a,g));this.container.appendChild(g);g.style.display="none";var w=f.cloneNode(!1);q(f,g,k++);var y=e.cloneNode(!1);y.style.display="none";u=document.createElement("div");mxUtils.write(u,mxResources.get("style"));w.appendChild(u);w.setAttribute("title",mxResources.get("style"));e.appendChild(w);this.panels.push(new DiagramStylePanel(this,a,y));this.container.appendChild(y);q(w,y,k++,!0)}else if(b.isEditing())u=document.createElement("div"),+mxUtils.write(u,mxResources.get("text")),f.appendChild(u),f.setAttribute("title",mxResources.get("text")),e.appendChild(f),y=e.cloneNode(!1),y.style.display="none",this.panels.push(new TextFormatPanel(this,a,y)),this.container.appendChild(y),q(f,y,k++,!0);else{w=f.cloneNode(!1);var A=w.cloneNode(!1);0<g.cells.length&&(u=document.createElement("div"),mxUtils.write(u,mxResources.get("style")),f.appendChild(u),f.setAttribute("title",mxResources.get("style")),e.appendChild(f),y=e.cloneNode(!1),y.style.display=+"none",this.panels.push(new StyleFormatPanel(this,a,y)),this.container.appendChild(y),q(f,y,k++));u=document.createElement("div");mxUtils.write(u,mxResources.get("text"));w.appendChild(u);w.setAttribute("title",mxResources.get("text"));e.appendChild(w);y=e.cloneNode(!1);y.style.display="none";this.panels.push(new TextFormatPanel(this,a,y));this.container.appendChild(y);u=document.createElement("div");mxUtils.write(u,mxResources.get("arrange"));A.appendChild(u);A.setAttribute("title",mxResources.get("arrange"));+e.appendChild(A);f=e.cloneNode(!1);f.style.display="none";this.panels.push(new ArrangePanel(this,a,f));this.container.appendChild(f);0<g.cells.length?q(w,y,k++):w.style.display="none";q(A,f,k++,!0)}e.className="geFormatTitleContainer"}};BaseFormatPanel=function(a,b,e){this.format=a;this.editorUi=b;this.container=e;this.listeners=[]};BaseFormatPanel.prototype.buttonBackgroundColor="transparent";+BaseFormatPanel.prototype.installInputHandler=function(a,b,e,f,g,d,h,l,q){d=null!=d?d:"";l=null!=l?l:!1;var k=this.editorUi,u=k.editor.graph;f=null!=f?f:1;g=null!=g?g:999;var w=null,y=!1,A=null,F=mxUtils.bind(this,function(D){var G=l?parseFloat(a.value):parseInt(a.value);q&&(G=this.fromUnit(G));if(G!=A){A=G;isNaN(G)||b!=mxConstants.STYLE_ROTATION||(G=mxUtils.mod(Math.round(100*G),36E3)/100);G=Math.min(g,Math.max(f,isNaN(G)?e:G));if(u.cellEditor.isContentEditing()&&h)y||(y=!0,null!=w&&(u.cellEditor.restoreSelection(w),+w=null),h(G),a.value=(q?this.inUnit(G):G)+d,y=!1);else if(G!=mxUtils.getValue(k.getSelectionState().style,b,e)){u.isEditing()&&u.stopEditing(!0);u.getModel().beginUpdate();try{var H=k.getSelectionState().cells;u.setCellStyles(b,G,H);b==mxConstants.STYLE_FONTSIZE&&u.updateLabelElements(H,function(N){N.removeAttribute("size");N.style.fontSize="";""==N.getAttribute("style")&&N.removeAttribute("style")});for(var M=0;M<H.length;M++)0==u.model.getChildCount(H[M])&&u.autoSizeCell(H[M],!1);k.fireEvent(new mxEventObject("styleChanged",+"keys",[b],"values",[G],"cells",H))}finally{u.getModel().endUpdate()}}a.value=(q?this.inUnit(G):G)+d}mxEvent.consume(D)});h&&u.cellEditor.isContentEditing()&&mxEvent.addGestureListeners(a,mxUtils.bind(this,function(D){document.activeElement==u.cellEditor.textarea&&(w=u.cellEditor.saveSelection())}));mxEvent.addListener(a,"change",F);mxEvent.addListener(a,"blur",F);return F};BaseFormatPanel.prototype.createPanel=function(){var a=document.createElement("div");a.className="geFormatSection";return a};BaseFormatPanel.prototype.createTitle=function(a){var b=document.createElement("div");b.className="geFormatSectionTitle";mxUtils.write(b,a);return b};BaseFormatPanel.prototype.addAction=function(a,b){var e=this.editorUi.actions.get(b);b=null;if(null!=e&&e.isEnabled()){b=mxUtils.button(e.getTitle(),mxUtils.bind(this,function(g){try{e.funct(g,g)}catch(d){this.editorUi.handleError(d)}}));var f=null!=e.shortcut?" ("+e.shortcut+")":"";b.setAttribute("title",e.getTitle()+f);b.style.marginBottom="2px";b.className="geFullWidthElement";a.appendChild(b)}return b};BaseFormatPanel.prototype.addActions=function(a,b){for(var e=null,f=null,g=0,d=0;d<b.length;d++){var h=this.addAction(a,b[d]);null!=h&&(g++,0==mxUtils.mod(g,2)&&(f.style.marginRight="4px",f.style.width="104px",h.style.width="104px",e.parentNode.removeChild(e)),e=mxUtils.br(a),f=h)}return g};-BaseFormatPanel.prototype.createStepper=function(a,b,e,f,g,d,h){function l(y,A,G){""==a.value&&(a.value=null!=d?d:A);A=h?parseFloat(a.value):parseInt(a.value);isNaN(A)||(a.value=A+y,null!=b&&b(G))}e=null!=e?e:1;var r=10*e;f=document.createElement("div");f.className="geBtnStepper";f.style.position="absolute";f.style.left="200px";var k=document.createElement("div");k.style.height="9px";k.style.backgroundImage="url("+Editor.arrowUpImage+")";k.style.width="10px";f.appendChild(k);var u=k.cloneNode(!1);-u.style.backgroundImage="url("+Editor.arrowDownImage+")";f.appendChild(u);mxEvent.addGestureListeners(k,function(y){mxEvent.consume(y)},null,function(y){l(mxEvent.isShiftDown(y)?r:e,"0",y);mxEvent.consume(y)});mxEvent.addGestureListeners(u,function(y){mxEvent.consume(y)},null,function(y){l(-(mxEvent.isShiftDown(y)?r:e),"2",y);mxEvent.consume(y)});if(g){var w=null;mxEvent.addGestureListeners(f,function(y){mxEvent.consume(y)},null,function(y){if(null!=w){try{w.select()}catch(A){}w=null;mxEvent.consume(y)}})}else mxEvent.addListener(f,+BaseFormatPanel.prototype.createStepper=function(a,b,e,f,g,d,h){function l(y,A,F){""==a.value&&(a.value=null!=d?d:A);A=h?parseFloat(a.value):parseInt(a.value);isNaN(A)||(a.value=A+y,null!=b&&b(F))}e=null!=e?e:1;var q=10*e;f=document.createElement("div");f.className="geBtnStepper";f.style.position="absolute";f.style.left="200px";var k=document.createElement("div");k.style.height="9px";k.style.backgroundImage="url("+Editor.arrowUpImage+")";k.style.width="10px";f.appendChild(k);var u=k.cloneNode(!1);+u.style.backgroundImage="url("+Editor.arrowDownImage+")";f.appendChild(u);mxEvent.addGestureListeners(k,function(y){mxEvent.consume(y)},null,function(y){l(mxEvent.isShiftDown(y)?q:e,"0",y);mxEvent.consume(y)});mxEvent.addGestureListeners(u,function(y){mxEvent.consume(y)},null,function(y){l(-(mxEvent.isShiftDown(y)?q:e),"2",y);mxEvent.consume(y)});if(g){var w=null;mxEvent.addGestureListeners(f,function(y){mxEvent.consume(y)},null,function(y){if(null!=w){try{w.select()}catch(A){}w=null;mxEvent.consume(y)}})}else mxEvent.addListener(f,"click",function(y){mxEvent.consume(y)});return f};-BaseFormatPanel.prototype.createOption=function(a,b,e,f,g){var d=document.createElement("div");d.className="geFormatEntry";var h=document.createElement("input");h.setAttribute("type","checkbox");d.appendChild(h);var l=document.createElement("span");l.className="geStyleLabel";l.setAttribute("title",a);mxUtils.write(l,a);d.appendChild(l);var r=!1,k=b(),u=function(w,y){r||(r=!0,w?(h.setAttribute("checked","checked"),h.defaultChecked=!0,h.checked=!0):(h.removeAttribute("checked"),h.defaultChecked=!1,-h.checked=!1),k!=w&&(k=w,b()!=k&&e(k,y)),r=!1)};mxEvent.addListener(d,"click",function(w){if("disabled"!=h.getAttribute("disabled")){var y=mxEvent.getSource(w);if(y==d||y==l)h.checked=!h.checked;u(h.checked,w)}});u(k);null!=f&&(f.install(u),this.listeners.push(f));null!=g&&g(d);return d};-BaseFormatPanel.prototype.createCellOption=function(a,b,e,f,g,d,h,l,r){var k=this.editorUi,u=k.editor.graph;f=null!=f?"null"==f?null:f:1;g=null!=g?"null"==g?null:g:0;var w=null!=r?u.getCommonStyle(r):k.getSelectionState().style;return this.createOption(a,function(){return mxUtils.getValue(w,b,e)!=g},function(y){l&&u.stopEditing();if(null!=h)h.funct();else{u.getModel().beginUpdate();try{var A=null!=r?r:k.getSelectionState().cells;y=y?f:g;u.setCellStyles(b,y,A);null!=d&&d(A,y);k.fireEvent(new mxEventObject("styleChanged",+BaseFormatPanel.prototype.createOption=function(a,b,e,f,g){var d=document.createElement("div");d.className="geFormatEntry";var h=document.createElement("input");h.setAttribute("type","checkbox");d.appendChild(h);var l=document.createElement("span");l.className="geStyleLabel";l.setAttribute("title",a);mxUtils.write(l,a);d.appendChild(l);var q=!1,k=b(),u=function(w,y){q||(q=!0,w?(h.setAttribute("checked","checked"),h.defaultChecked=!0,h.checked=!0):(h.removeAttribute("checked"),h.defaultChecked=!1,+h.checked=!1),k!=w&&(k=w,b()!=k&&e(k,y)),q=!1)};mxEvent.addListener(d,"click",function(w){if("disabled"!=h.getAttribute("disabled")){var y=mxEvent.getSource(w);if(y==d||y==l)h.checked=!h.checked;u(h.checked,w)}});u(k);null!=f&&(f.install(u),this.listeners.push(f));null!=g&&g(d);return d};+BaseFormatPanel.prototype.createCellOption=function(a,b,e,f,g,d,h,l,q){var k=this.editorUi,u=k.editor.graph;f=null!=f?"null"==f?null:f:1;g=null!=g?"null"==g?null:g:0;var w=null!=q?u.getCommonStyle(q):k.getSelectionState().style;return this.createOption(a,function(){return mxUtils.getValue(w,b,e)!=g},function(y){l&&u.stopEditing();if(null!=h)h.funct();else{u.getModel().beginUpdate();try{var A=null!=q?q:k.getSelectionState().cells;y=y?f:g;u.setCellStyles(b,y,A);null!=d&&d(A,y);k.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[y],"cells",A))}finally{u.getModel().endUpdate()}}},{install:function(y){this.listener=function(){y(mxUtils.getValue(w,b,e)!=g)};u.getModel().addListener(mxEvent.CHANGE,this.listener)},destroy:function(){u.getModel().removeListener(this.listener)}})};-BaseFormatPanel.prototype.createColorOption=function(a,b,e,f,g,d,h,l,r,k){function u(S,V){"default"!=S||V||(S=l);"default"!=S&&r&&(S=mxUtils.getLightDarkColor(S),S=k()?S.dark:S.light);return S}var w=null!=k;k=null!=k?k:Editor.isDarkMode;var y=this.editorUi.editor.graph,A=document.createElement("div");A.className="geFormatEntry";var G=document.createElement("input");G.setAttribute("type","checkbox");h||A.appendChild(G);var D=document.createElement("span");mxUtils.write(D,a);A.appendChild(D);var F=-b(),H=!1,M=null,N=null,K=document.createElement("input");K.setAttribute("type","color");K.style.position="relative";K.style.visibility="hidden";K.style.top="10px";K.style.width="0px";K.style.height="0px";K.style.border="none";mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_TOUCH||(M=document.createElement("img"),M.src=Editor.colorDropperImage,M.className="geColorDropper geAdaptiveAsset",mxEvent.addListener(M,"click",function(S){K.value=u(F);K.click();mxEvent.consume(S)}));var T=null,W=function(S,V){H||-(H=!0,null!=d&&d(S),V||(null!=T&&(y.cellEditor.restoreSelection(T),T=null),e(S)),F=b(),S=mxUtils.getLightDarkColor("default"!=F?F:l),V=document.createElement("div"),V.style.width="21px",V.style.height="12px",V.style.margin="2px 18px 2px 3px",V.style.borderWidth="1px",V.style.borderStyle="solid",V.style.backgroundColor=S.cssText,N.innerText="",N.appendChild(V),!r&&mxUtils.isLightDarkColor(F)&&S.light!=S.dark?V.style.background="linear-gradient(to right bottom, "+S.cssText+" 50%, "+mxUtils.invertLightDarkColor(S).cssText+-" 50.3%)":r&&w&&(V.style.backgroundColor=k()?S.dark:S.light),null!=M?(V.style.width="21px",V.style.margin="2px 18px 2px 3px",V.appendChild(M)):(V.style.width="36px",V.style.margin="3px"),null!=F&&F!=mxConstants.NONE&&1<F.length&&"string"===typeof F&&(S="#"==F.charAt(0)?F.substring(1).toUpperCase():F,S=ColorDialog.prototype.colorNames[S],null!=S?N.setAttribute("title",S):"default"==F?N.setAttribute("title",mxResources.get("useBlackAndWhite")):N.setAttribute("title",F)),y.isSpecialColor(F)?G.style.display=-"none":(G.style.display="",null!=F&&F!=mxConstants.NONE?(G.setAttribute("checked","checked"),G.defaultChecked=!0,G.checked=!0):(G.removeAttribute("checked"),G.defaultChecked=!1,G.checked=!1)),N.style.display=G.checked||h?"":"none",H=!1)};A.appendChild(K);mxEvent.addListener(K,"change",function(){var S=K.value;if(!r){var V=mxUtils.getLightDarkColor(F);k()?V.dark=S:V.light=S;S="light-dark("+V.light+", "+V.dark+")"}W(S)});N=mxUtils.button("",mxUtils.bind(this,function(S){var V=l;r&&k()&&mxUtils.isLightDarkColor(V)&&-(V=mxUtils.getLightDarkColor(l).dark);this.editorUi.pickColor(u(F,!0),function(fa){W(fa)},"default"==f?"default":null,V,r);mxEvent.consume(S)}));N.className="geColorBtn";N.style.display=G.checked||h?"":"none";A.appendChild(N);a=null!=F&&"string"===typeof F&&"#"==F.charAt(0)?F.substring(1).toUpperCase():F;a=ColorDialog.prototype.colorNames[a];null!=a&&N.setAttribute("title",a);h||(mxEvent.addListener(A,"click",function(S){S=mxEvent.getSource(S);if(S==G||"INPUT"!=S.nodeName)S!=G&&(G.checked=!G.checked),-G.checked||null==F||F==mxConstants.NONE||f==mxConstants.NONE||(f=u(F)),W(G.checked?f:mxConstants.NONE)}),mxEvent.addGestureListeners(G,mxUtils.bind(this,function(S){document.activeElement==y.cellEditor.textarea&&(T=y.cellEditor.saveSelection())})),mxEvent.addGestureListeners(A,mxUtils.bind(this,function(S){document.activeElement==y.cellEditor.textarea&&(T=y.cellEditor.saveSelection())})));W(F,!0);null!=g&&g.install(function(){W(F,!0)},this.listeners.push(g));return A};-BaseFormatPanel.prototype.createArrayCellColorOption=function(a,b,e,f,g,d,h){var l=this.editorUi,r=l.editor.graph,k=r.getCellStyle(r.getSelectionCell(),!1);k=null!=k?null!=k[b]?k[b]:h:null;for(var u=null!=k?mxUtils.parseColorList(k):[],w=document.createElement("div"),y=0;y<u.length;y++)mxUtils.bind(this,function(A){w.appendChild(this.createColorOption(a+" ("+(A+1)+")",function(){return u[y]},function(G){r.getModel().beginUpdate();try{var D=l.getSelectionState().cells;u[A]=G;var F=u.join(",");r.setCellStyles(b,-F,D);null!=g&&g(G);l.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[F],"cells",D))}finally{r.getModel().endUpdate()}},e||mxConstants.NONE,{install:function(G){this.listener=function(){var D=r.getCellStyle(r.getSelectionCell(),!1);null!=D&&(D=null!=D?null!=D[b]?D[b]:h:null,u=null!=D?mxUtils.parseColorList(D):[],G(u[y],!0))};r.getModel().addListener(mxEvent.CHANGE,this.listener)},destroy:function(){r.getModel().removeListener(this.listener)}},f,null,d))})(y);return w};-BaseFormatPanel.prototype.createCellColorOption=function(a,b,e,f,g,d,h,l){function r(){var y=u.getCellStyle(u.getSelectionCell(),!1);return null!=y?null!=y[b]?y[b]:h:null}var k=this.editorUi,u=k.editor.graph,w=r();return null!=w&&l&&1<mxUtils.parseColorList(w).length?this.createArrayCellColorOption(a,b,e,f,g,d,h):this.createColorOption(a,r,function(y){u.getModel().beginUpdate();try{var A=k.getSelectionState().cells;u.setCellStyles(b,y,A);null!=g&&g(y);k.fireEvent(new mxEventObject("styleChanged",-"keys",[b],"values",[y],"cells",A))}finally{u.getModel().endUpdate()}},e||mxConstants.NONE,{install:function(y){this.listener=function(){var A=u.getCellStyle(u.getSelectionCell(),!1);null!=A&&y(null!=A[b]?A[b]:h,!0)};u.getModel().addListener(mxEvent.CHANGE,this.listener)},destroy:function(){u.getModel().removeListener(this.listener)}},f,null,d)};+BaseFormatPanel.prototype.createColorOption=function(a,b,e,f,g,d,h,l,q,k){function u(S,V){"default"!=S||V||(S=l);"default"!=S&&q&&(S=mxUtils.getLightDarkColor(S),S=k()?S.dark:S.light);return S}var w=null!=k;k=null!=k?k:Editor.isDarkMode;var y=this.editorUi.editor.graph,A=document.createElement("div");A.className="geFormatEntry";var F=document.createElement("input");F.setAttribute("type","checkbox");h||A.appendChild(F);var D=document.createElement("span");mxUtils.write(D,a);A.appendChild(D);var G=+b(),H=!1,M=null,N=null,K=document.createElement("input");K.setAttribute("type","color");K.style.position="relative";K.style.visibility="hidden";K.style.top="10px";K.style.width="0px";K.style.height="0px";K.style.border="none";mxClient.IS_IE||mxClient.IS_IE11||mxClient.IS_TOUCH||(M=document.createElement("img"),M.src=Editor.colorDropperImage,M.className="geColorDropper geAdaptiveAsset",mxEvent.addListener(M,"click",function(S){K.value=u(G);K.click();mxEvent.consume(S)}));var T=null,W=function(S,V){H||+(H=!0,null!=d&&d(S),V||(null!=T&&(y.cellEditor.restoreSelection(T),T=null),e(S)),G=b(),S=mxUtils.getLightDarkColor("default"!=G?G:l),V=document.createElement("div"),V.style.width="21px",V.style.height="12px",V.style.margin="2px 18px 2px 3px",V.style.borderWidth="1px",V.style.borderStyle="solid",V.style.backgroundColor=S.cssText,N.innerText="",N.appendChild(V),!q&&mxUtils.isLightDarkColor(G)&&S.light!=S.dark?V.style.background="linear-gradient(to right bottom, "+S.cssText+" 50%, "+mxUtils.invertLightDarkColor(S).cssText++" 50.3%)":q&&w&&(V.style.backgroundColor=k()?S.dark:S.light),null!=M?(V.style.width="21px",V.style.margin="2px 18px 2px 3px",V.appendChild(M)):(V.style.width="36px",V.style.margin="3px"),null!=G&&G!=mxConstants.NONE&&1<G.length&&"string"===typeof G&&(S="#"==G.charAt(0)?G.substring(1).toUpperCase():G,S=ColorDialog.prototype.colorNames[S],null!=S?N.setAttribute("title",S):"default"==G?N.setAttribute("title",mxResources.get("useBlackAndWhite")):N.setAttribute("title",G)),y.isSpecialColor(G)?F.style.display=+"none":(F.style.display="",null!=G&&G!=mxConstants.NONE?(F.setAttribute("checked","checked"),F.defaultChecked=!0,F.checked=!0):(F.removeAttribute("checked"),F.defaultChecked=!1,F.checked=!1)),N.style.display=F.checked||h?"":"none",H=!1)};A.appendChild(K);mxEvent.addListener(K,"change",function(){var S=K.value;if(!q){var V=mxUtils.getLightDarkColor(G);k()?V.dark=S:V.light=S;S="light-dark("+V.light+", "+V.dark+")"}W(S)});N=mxUtils.button("",mxUtils.bind(this,function(S){var V=l;q&&k()&&mxUtils.isLightDarkColor(V)&&+(V=mxUtils.getLightDarkColor(l).dark);this.editorUi.pickColor(u(G,!0),function(fa){W(fa)},"default"==f?"default":null,V,q);mxEvent.consume(S)}));N.className="geColorBtn";N.style.display=F.checked||h?"":"none";A.appendChild(N);a=null!=G&&"string"===typeof G&&"#"==G.charAt(0)?G.substring(1).toUpperCase():G;a=ColorDialog.prototype.colorNames[a];null!=a&&N.setAttribute("title",a);h||(mxEvent.addListener(A,"click",function(S){S=mxEvent.getSource(S);if(S==F||"INPUT"!=S.nodeName)S!=F&&(F.checked=!F.checked),+F.checked||null==G||G==mxConstants.NONE||f==mxConstants.NONE||(f=u(G)),W(F.checked?f:mxConstants.NONE)}),mxEvent.addGestureListeners(F,mxUtils.bind(this,function(S){document.activeElement==y.cellEditor.textarea&&(T=y.cellEditor.saveSelection())})),mxEvent.addGestureListeners(A,mxUtils.bind(this,function(S){document.activeElement==y.cellEditor.textarea&&(T=y.cellEditor.saveSelection())})));W(G,!0);null!=g&&g.install(function(){W(G,!0)},this.listeners.push(g));return A};+BaseFormatPanel.prototype.createArrayCellColorOption=function(a,b,e,f,g,d,h){var l=this.editorUi,q=l.editor.graph,k=q.getCellStyle(q.getSelectionCell(),!1);k=null!=k?null!=k[b]?k[b]:h:null;for(var u=null!=k?mxUtils.parseColorList(k):[],w=document.createElement("div"),y=0;y<u.length;y++)mxUtils.bind(this,function(A){w.appendChild(this.createColorOption(a+" ("+(A+1)+")",function(){return u[y]},function(F){q.getModel().beginUpdate();try{var D=l.getSelectionState().cells;u[A]=F;var G=u.join(",");q.setCellStyles(b,+G,D);null!=g&&g(F);l.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[G],"cells",D))}finally{q.getModel().endUpdate()}},e||mxConstants.NONE,{install:function(F){this.listener=function(){var D=q.getCellStyle(q.getSelectionCell(),!1);null!=D&&(D=null!=D?null!=D[b]?D[b]:h:null,u=null!=D?mxUtils.parseColorList(D):[],F(u[y],!0))};q.getModel().addListener(mxEvent.CHANGE,this.listener)},destroy:function(){q.getModel().removeListener(this.listener)}},f,null,d))})(y);return w};+BaseFormatPanel.prototype.createCellColorOption=function(a,b,e,f,g,d,h,l){function q(){var y=u.getCellStyle(u.getSelectionCell(),!1),A=null!=y?y[b]:null;if("inherit"==A){var F=u.getModel().getParent(u.getSelectionCell());F=u.getCellStyle(F,!1);null!=F&&null!=F[b]&&(A=F[b])}return null!=y?null!=A?A:h:null}var k=this.editorUi,u=k.editor.graph,w=q();return null!=w&&l&&1<mxUtils.parseColorList(w).length?this.createArrayCellColorOption(a,b,e,f,g,d,h):this.createColorOption(a,q,function(y){u.getModel().beginUpdate();+try{var A=k.getSelectionState().cells;u.setCellStyles(b,y,A);null!=g&&g(y);k.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[y],"cells",A))}finally{u.getModel().endUpdate()}},e||mxConstants.NONE,{install:function(y){this.listener=function(){var A=u.getCellStyle(u.getSelectionCell(),!1);null!=A&&y(null!=A[b]?A[b]:h,!0)};u.getModel().addListener(mxEvent.CHANGE,this.listener)},destroy:function(){u.getModel().removeListener(this.listener)}},f,null,d)};BaseFormatPanel.prototype.addArrow=function(a){var b=document.createElement("div");b.className="geAdaptiveAsset geArrow";b.style.backgroundImage="url("+Editor.thinExpandImage+")";a.className="geStyleBtn";a.appendChild(b);return b};-BaseFormatPanel.prototype.addUnitInput=function(a,b,e,f,g,d,h,l,r){b=document.createElement("input");b.style.position="absolute";b.style.left=216-e-f+"px";b.style.width=f+"px";a.appendChild(b);f=this.createStepper(b,g,d,l,null,r);f.style.left=216-e+"px";a.appendChild(f);return b};-BaseFormatPanel.prototype.addGenericInput=function(a,b,e,f,g,d){var h=this.editorUi.editor.graph,l=function(){d(r.value)},r=this.addUnitInput(a,b,e,f,l),k=mxUtils.bind(this,function(u,w,y){if(y||r!=document.activeElement)r.value=g()+b});mxEvent.addListener(r,"keydown",function(u){13==u.keyCode?(h.container.focus(),mxEvent.consume(u)):27==u.keyCode&&(k(null,null,!0),h.container.focus(),mxEvent.consume(u))});h.getModel().addListener(mxEvent.CHANGE,k);this.listeners.push({destroy:function(){h.getModel().removeListener(k)}});-k();mxEvent.addListener(r,"blur",l);mxEvent.addListener(r,"change",l);return r};-BaseFormatPanel.prototype.createRelativeOption=function(a,b,e,f,g){e=null!=e?e:52;var d=this.editorUi,h=d.editor.graph,l=this.createPanel();l.className="geFormatEntry";mxUtils.write(l,a);l.style.fontWeight="bold";a=mxUtils.bind(this,function(u){if(null!=f)f(r);else{var w=parseInt(r.value);w=Math.min(100,Math.max(0,isNaN(w)?100:w));var y=h.view.getState(d.getSelectionState().cells[0]);null!=y&&w!=mxUtils.getValue(y.style,b,100)&&(100==w&&(w=null),y=d.getSelectionState().cells,h.setCellStyles(b,w,y),-this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[w],"cells",y)));r.value=(null!=w?w:"100")+" %"}mxEvent.consume(u)});var r=this.addUnitInput(l,"%",16,e,a,10,0,null!=f);if(null!=b){var k=mxUtils.bind(this,function(u,w,y){if(y||r!=document.activeElement)u=d.getSelectionState(),u=parseInt(mxUtils.getValue(u.style,b,100)),r.value=isNaN(u)?"":u+" %"});mxEvent.addListener(r,"keydown",function(u){13==u.keyCode?(h.container.focus(),mxEvent.consume(u)):27==u.keyCode&&(k(null,null,-!0),h.container.focus(),mxEvent.consume(u))});h.getModel().addListener(mxEvent.CHANGE,k);this.listeners.push({destroy:function(){h.getModel().removeListener(k)}});k()}mxEvent.addListener(r,"blur",a);mxEvent.addListener(r,"change",a);null!=g&&g(r);return l};+BaseFormatPanel.prototype.addUnitInput=function(a,b,e,f,g,d,h,l,q){b=document.createElement("input");b.style.position="absolute";b.style.left=216-e-f+"px";b.style.width=f+"px";a.appendChild(b);f=this.createStepper(b,g,d,l,null,q);f.style.left=216-e+"px";a.appendChild(f);return b};+BaseFormatPanel.prototype.addGenericInput=function(a,b,e,f,g,d){var h=this.editorUi.editor.graph,l=function(){d(q.value)},q=this.addUnitInput(a,b,e,f,l),k=mxUtils.bind(this,function(u,w,y){if(y||q!=document.activeElement)q.value=g()+b});mxEvent.addListener(q,"keydown",function(u){13==u.keyCode?(h.container.focus(),mxEvent.consume(u)):27==u.keyCode&&(k(null,null,!0),h.container.focus(),mxEvent.consume(u))});h.getModel().addListener(mxEvent.CHANGE,k);this.listeners.push({destroy:function(){h.getModel().removeListener(k)}});+k();mxEvent.addListener(q,"blur",l);mxEvent.addListener(q,"change",l);return q};+BaseFormatPanel.prototype.createRelativeOption=function(a,b,e,f,g){e=null!=e?e:52;var d=this.editorUi,h=d.editor.graph,l=this.createPanel();l.className="geFormatEntry";mxUtils.write(l,a);l.style.fontWeight="bold";a=mxUtils.bind(this,function(u){if(null!=f)f(q);else{var w=parseInt(q.value);w=Math.min(100,Math.max(0,isNaN(w)?100:w));var y=h.view.getState(d.getSelectionState().cells[0]);null!=y&&w!=mxUtils.getValue(y.style,b,100)&&(100==w&&(w=null),y=d.getSelectionState().cells,h.setCellStyles(b,w,y),+this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[w],"cells",y)));q.value=(null!=w?w:"100")+" %"}mxEvent.consume(u)});var q=this.addUnitInput(l,"%",16,e,a,10,0,null!=f);if(null!=b){var k=mxUtils.bind(this,function(u,w,y){if(y||q!=document.activeElement)u=d.getSelectionState(),u=parseInt(mxUtils.getValue(u.style,b,100)),q.value=isNaN(u)?"":u+" %"});mxEvent.addListener(q,"keydown",function(u){13==u.keyCode?(h.container.focus(),mxEvent.consume(u)):27==u.keyCode&&(k(null,null,+!0),h.container.focus(),mxEvent.consume(u))});h.getModel().addListener(mxEvent.CHANGE,k);this.listeners.push({destroy:function(){h.getModel().removeListener(k)}});k()}mxEvent.addListener(q,"blur",a);mxEvent.addListener(q,"change",a);null!=g&&g(q);return l};BaseFormatPanel.prototype.addLabel=function(a,b,e,f){f=null!=f?f:61;var g=document.createElement("div");mxUtils.write(g,b);g.style.position="absolute";g.style.left=226-e-f+"px";g.style.width=f+"px";g.style.marginTop="10px";g.style.display="flex";g.style.justifyContent="center";a.appendChild(g);return g};BaseFormatPanel.prototype.addKeyHandler=function(a,b){mxEvent.addListener(a,"keydown",mxUtils.bind(this,function(e){13==e.keyCode?(this.editorUi.editor.graph.container.focus(),mxEvent.consume(e)):27==e.keyCode&&(null!=b&&b(null,null,!0),this.editorUi.editor.graph.container.focus(),mxEvent.consume(e))}))};BaseFormatPanel.prototype.destroy=function(){if(null!=this.listeners){for(var a=0;a<this.listeners.length;a++)this.listeners[a].destroy();this.listeners=null}};ArrangePanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(ArrangePanel,BaseFormatPanel);ArrangePanel.prototype.init=function(){var a=this.editorUi.getSelectionState();0<a.cells.length&&(this.container.appendChild(this.addLayerOps(this.createPanel())),this.addGeometry(this.container),this.addEdgeGeometry(this.container),a.containsLabel&&0!=a.edges.length||this.container.appendChild(this.addAngle(this.createPanel())),a.containsLabel||this.container.appendChild(this.addFlip(this.createPanel())),this.container.appendChild(this.addAlign(this.createPanel())),1<a.vertices.length&&!a.cell&&!a.row&&this.container.appendChild(this.addDistribute(this.createPanel())),this.container.appendChild(this.addTable(this.createPanel())));this.container.appendChild(this.addGroupOps(this.createPanel()))};ArrangePanel.prototype.addTable=function(a){var b=this.editorUi,e=b.editor.graph,f=b.getSelectionState();a.appendChild(this.createTitle(mxResources.get("table")));var g=document.createElement("div");g.style.position="relative";g.style.paddingLeft="0px";g.style.borderWidth="0px";g.style.width="220px";g.className="geToolbarContainer";var d=f.vertices[0];1<e.getSelectionCount()&&(e.isTableCell(d)&&(d=e.model.getParent(d)),e.isTableRow(d)&&(d=e.model.getParent(d)));var h=f.table||f.row||f.cell,l=e.isStack(d)||-e.isStackChild(d),r=h;l&&(h="0"==(e.isStack(d)?f.style:e.getCellStyle(e.model.getParent(d))).horizontalStack,r=!h);var k=[];r&&(k=k.concat([b.addButton(Editor.addColumnLeftImage,mxResources.get("insertColumnBefore"),mxUtils.bind(this,function(){try{l?e.insertLane(d,!0):e.insertTableColumn(d,!0)}catch(u){b.handleError(u)}}),g),b.addButton(Editor.addColumnRightImage,mxResources.get("insertColumnAfter"),mxUtils.bind(this,function(){try{l?e.insertLane(d,!1):e.insertTableColumn(d,!1)}catch(u){b.handleError(u)}}),+e.isStackChild(d),q=h;l&&(h="0"==(e.isStack(d)?f.style:e.getCellStyle(e.model.getParent(d))).horizontalStack,q=!h);var k=[];q&&(k=k.concat([b.addButton(Editor.addColumnLeftImage,mxResources.get("insertColumnBefore"),mxUtils.bind(this,function(){try{l?e.insertLane(d,!0):e.insertTableColumn(d,!0)}catch(u){b.handleError(u)}}),g),b.addButton(Editor.addColumnRightImage,mxResources.get("insertColumnAfter"),mxUtils.bind(this,function(){try{l?e.insertLane(d,!1):e.insertTableColumn(d,!1)}catch(u){b.handleError(u)}}),g),b.addButton(Editor.removeColumnImage,mxResources.get("deleteColumn"),mxUtils.bind(this,function(){try{l?e.deleteLane(d):e.deleteTableColumn(d)}catch(u){b.handleError(u)}}),g)]));h&&(k=k.concat([b.addButton(Editor.addRowAboveImage,mxResources.get("insertRowBefore"),mxUtils.bind(this,function(){try{l?e.insertLane(d,!0):e.insertTableRow(d,!0)}catch(u){b.handleError(u)}}),g),b.addButton(Editor.addRowBelowImage,mxResources.get("insertRowAfter"),mxUtils.bind(this,function(){try{l?e.insertLane(d,!1):-e.insertTableRow(d,!1)}catch(u){b.handleError(u)}}),g),b.addButton(Editor.removeRowImage,mxResources.get("deleteRow"),mxUtils.bind(this,function(){try{l?e.deleteLane(d):e.deleteTableRow(d)}catch(u){b.handleError(u)}}),g)]));if(0<k.length){a.appendChild(g);3<k.length&&(k[2].style.marginRight="10px");r=0;if(null!=f.mergeCell)r+=this.addActions(a,["mergeCells"]);else if(1<f.style.colspan||1<f.style.rowspan)r+=this.addActions(a,["unmergeCells"]);0<r&&(g.style.paddingBottom="2px")}else a.style.display=+e.insertTableRow(d,!1)}catch(u){b.handleError(u)}}),g),b.addButton(Editor.removeRowImage,mxResources.get("deleteRow"),mxUtils.bind(this,function(){try{l?e.deleteLane(d):e.deleteTableRow(d)}catch(u){b.handleError(u)}}),g)]));if(0<k.length){a.appendChild(g);3<k.length&&(k[2].style.marginRight="10px");q=0;if(null!=f.mergeCell)q+=this.addActions(a,["mergeCells"]);else if(1<f.style.colspan||1<f.style.rowspan)q+=this.addActions(a,["unmergeCells"]);0<q&&(g.style.paddingBottom="2px")}else a.style.display="none";return a};ArrangePanel.prototype.addLayerOps=function(a){this.addActions(a,["toFront","toBack"]);this.addActions(a,["bringForward","sendBackward"]);return a};ArrangePanel.prototype.addGroupOps=function(a){var b=this.editorUi,e=b.editor.graph;b=b.getSelectionState();var f=this.addActions(a,["group","ungroup"])+this.addActions(a,["removeFromGroup"]);b.cell||b.row||(f+=this.addActions(a,["copySize","pasteSize","swap"]));var g=document.createElement("select");g.style.position="relative";g.className="geFullWidthElement";g.style.marginBottom="2px";for(var d=[{label:mxResources.get("reset")+"...",action:"reset"},{label:mxResources.get("waypoints"),action:"clearWaypoints"},-{label:mxResources.get("connectionPoints"),action:"clearAnchors"}],h=0;h<d.length;h++){var l=this.editorUi.actions.get(d[h].action);if(null==l||l.enabled){var r=document.createElement("option");r.setAttribute("value",d[h].action);r.setAttribute("title",d[h].label+(null!=l&&null!=l.shortcut?" ("+l.shortcut+")":""));mxUtils.write(r,d[h].label);g.appendChild(r)}}1<g.children.length&&(g.value="reset",a.appendChild(g),mxUtils.br(a),f++,mxEvent.addListener(g,"change",mxUtils.bind(this,function(k){k=this.editorUi.actions.get(g.value);+{label:mxResources.get("connectionPoints"),action:"clearAnchors"}],h=0;h<d.length;h++){var l=this.editorUi.actions.get(d[h].action);if(null==l||l.enabled){var q=document.createElement("option");q.setAttribute("value",d[h].action);q.setAttribute("title",d[h].label+(null!=l&&null!=l.shortcut?" ("+l.shortcut+")":""));mxUtils.write(q,d[h].label);g.appendChild(q)}}1<g.children.length&&(g.value="reset",a.appendChild(g),mxUtils.br(a),f++,mxEvent.addListener(g,"change",mxUtils.bind(this,function(k){k=this.editorUi.actions.get(g.value);g.value="reset";null!=k&&k.funct()})));f+=this.addActions(a,["lockUnlock"]);1==b.vertices.length&&0==b.edges.length&&0<e.getOpposites(e.getEdges(b.vertices[0]),b.vertices[0]).length&&(f+=this.addActions(a,["explore"]));0==f&&(a.style.display="none");return a};ArrangePanel.prototype.addAlign=function(a){var b=this.editorUi,e=b.getSelectionState(),f=b.editor.graph;a.appendChild(this.createTitle(mxResources.get("align")));1<e.vertices.length&&(e=document.createElement("div"),e.className="geToolbarContainer",b.addButton(Editor.alignHorizontalLeftImage,mxResources.get("left"),function(){f.alignCells(mxConstants.ALIGN_LEFT)},e).style.marginLeft="6px",b.addButton(Editor.alignHorizontalCenterImage,mxResources.get("center"),function(){f.alignCells(mxConstants.ALIGN_CENTER)},e),b.addButton(Editor.alignHorizontalRightImage,mxResources.get("right"),function(){f.alignCells(mxConstants.ALIGN_RIGHT)},e),b.addButton(Editor.alignVerticalTopImage,mxResources.get("top"),function(){f.alignCells(mxConstants.ALIGN_TOP)},e).style.marginLeft="12px",b.addButton(Editor.alignVerticalMiddleImage,mxResources.get("middle"),function(){f.alignCells(mxConstants.ALIGN_MIDDLE)},e),b.addButton(Editor.alignVerticalBottomImage,mxResources.get("bottom"),function(){f.alignCells(mxConstants.ALIGN_BOTTOM)},@@ -3125,50 +3125,50 @@ ArrangePanel.prototype.addDistribute=function(a){var b=this.editorUi.editor.grape.style.width="104px";a.appendChild(e);mxUtils.br(a);e=document.createElement("div");e.style.margin="6px 0 0 0";e.style.display="flex";e.style.justifyContent="center";e.style.alignItems="center";var f=document.createElement("input");f.setAttribute("type","checkbox");f.setAttribute("id","spacingCheckbox");f.style.margin="0 6px 0 0";e.appendChild(f);var g=document.createElement("label");g.style.verticalAlign="top";g.setAttribute("for","spacingCheckbox");g.style.userSelect="none";mxUtils.write(g,mxResources.get("spacing"));e.appendChild(g);a.appendChild(e);return a};ArrangePanel.prototype.addAngle=function(a){var b=this.editorUi,e=b.editor.graph,f=b.getSelectionState(),g=document.createElement("div");g.style.position="absolute";g.style.marginTop="4px";g.style.width="70px";g.style.fontWeight="bold";a.style.minHeight="20px";var d=null,h=null,l=null;!f.rotatable||f.table||f.row||f.cell||(mxUtils.write(g,mxResources.get("angle")),a.appendChild(g),d=this.addUnitInput(a,"°",16,52,function(){h.apply(this,arguments)}),mxUtils.br(a));f.containsLabel||(g=mxResources.get("reverse"),-0<f.vertices.length&&0<f.edges.length?g=mxResources.get("turn")+" / "+g:0<f.vertices.length&&(g=mxResources.get("turn")),l=mxUtils.button(g,function(k){b.actions.get("turn").funct(k)}),l.setAttribute("title",g+" ("+this.editorUi.actions.get("turn").shortcut+")"),l.className="geFullWidthElement",a.appendChild(l),null!=d&&(l.style.marginTop="10px"));if(null!=d){var r=mxUtils.bind(this,function(k,u,w){if(w||document.activeElement!=d)f=b.getSelectionState(),k=parseFloat(mxUtils.getValue(f.style,mxConstants.STYLE_ROTATION,-0)),d.value=isNaN(k)?"":k+"°"});h=this.installInputHandler(d,mxConstants.STYLE_ROTATION,0,0,360,"°",null,!0);this.addKeyHandler(d,r);e.getModel().addListener(mxEvent.CHANGE,r);this.listeners.push({destroy:function(){e.getModel().removeListener(r)}});r()}return a};+0<f.vertices.length&&0<f.edges.length?g=mxResources.get("turn")+" / "+g:0<f.vertices.length&&(g=mxResources.get("turn")),l=mxUtils.button(g,function(k){b.actions.get("turn").funct(k)}),l.setAttribute("title",g+" ("+this.editorUi.actions.get("turn").shortcut+")"),l.className="geFullWidthElement",a.appendChild(l),null!=d&&(l.style.marginTop="10px"));if(null!=d){var q=mxUtils.bind(this,function(k,u,w){if(w||document.activeElement!=d)f=b.getSelectionState(),k=parseFloat(mxUtils.getValue(f.style,mxConstants.STYLE_ROTATION,+0)),d.value=isNaN(k)?"":k+"°"});h=this.installInputHandler(d,mxConstants.STYLE_ROTATION,0,0,360,"°",null,!0);this.addKeyHandler(d,q);e.getModel().addListener(mxEvent.CHANGE,q);this.listeners.push({destroy:function(){e.getModel().removeListener(q)}});q()}return a};BaseFormatPanel.prototype.getUnit=function(a){var b="";switch(this.editorUi.editor.graph.view.unit){case mxConstants.POINTS:b="pt";break;case mxConstants.INCHES:b='"';break;case mxConstants.MILLIMETERS:b="mm";break;case mxConstants.METERS:b="m"}return(a?a:"")+b};BaseFormatPanel.prototype.inUnit=function(a){return this.editorUi.editor.graph.view.formatUnitText(a)};BaseFormatPanel.prototype.fromUnit=function(a){switch(this.editorUi.editor.graph.view.unit){case mxConstants.POINTS:return a;case mxConstants.INCHES:return a*mxConstants.PIXELS_PER_INCH;case mxConstants.MILLIMETERS:return a*mxConstants.PIXELS_PER_MM;case mxConstants.METERS:return a*mxConstants.PIXELS_PER_MM*1E3}};BaseFormatPanel.prototype.isFloatUnit=function(){return this.editorUi.editor.graph.view.unit!=mxConstants.POINTS};BaseFormatPanel.prototype.getUnitStep=function(){switch(this.editorUi.editor.graph.view.unit){case mxConstants.POINTS:return 1;case mxConstants.INCHES:return.1;case mxConstants.MILLIMETERS:return.5;case mxConstants.METERS:return.001}};-ArrangePanel.prototype.addGeometry=function(a){var b=this,e=this.editorUi,f=e.editor.graph,g=f.getModel(),d=e.getSelectionState(),h=this.createPanel();h.style.height="60px";var l=document.createElement("div");l.className="geStyleLabel";l.style.position="absolute";l.style.fontWeight="bold";l.style.marginTop="4px";l.style.maxWidth="50px";mxUtils.write(l,mxResources.get("size"));h.appendChild(l);var r=this.addUnitInput(h,this.getUnit(),87,52,function(){A.apply(this,arguments)},this.getUnitStep(),null,-null,this.isFloatUnit()),k=this.addUnitInput(h,this.getUnit(),16,52,function(){G.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());l=document.createElement("div");l.style.backgroundImage="url("+Editor.autosizeImage+")";l.className="geButton";l.style.margin="0";l.style.width="21px";l.style.height="21px";l.style.left="52px";mxUtils.setOpacity(l,50);mxEvent.addListener(l,"click",function(){e.actions.get("autosize").funct()});h.appendChild(l);d.row?(r.style.visibility="hidden",r.nextSibling.style.visibility=+ArrangePanel.prototype.addGeometry=function(a){var b=this,e=this.editorUi,f=e.editor.graph,g=f.getModel(),d=e.getSelectionState(),h=this.createPanel();h.style.height="60px";var l=document.createElement("div");l.className="geStyleLabel";l.style.position="absolute";l.style.fontWeight="bold";l.style.marginTop="4px";l.style.maxWidth="50px";mxUtils.write(l,mxResources.get("size"));h.appendChild(l);var q=this.addUnitInput(h,this.getUnit(),87,52,function(){A.apply(this,arguments)},this.getUnitStep(),null,+null,this.isFloatUnit()),k=this.addUnitInput(h,this.getUnit(),16,52,function(){F.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());l=document.createElement("div");l.style.backgroundImage="url("+Editor.autosizeImage+")";l.className="geButton";l.style.margin="0";l.style.width="21px";l.style.height="21px";l.style.left="52px";mxUtils.setOpacity(l,50);mxEvent.addListener(l,"click",function(){e.actions.get("autosize").funct()});h.appendChild(l);d.row?(q.style.visibility="hidden",q.nextSibling.style.visibility="hidden"):this.addLabel(h,mxResources.get("width"),87,64).style.marginTop="0px";this.addLabel(h,mxResources.get("height"),16,64).style.marginTop="0px";mxUtils.br(h);var u=document.createElement("div");u.className="geFormatEntry";u.style.marginTop="14px";var w=this.createCellOption(mxResources.get("constrainProportions"),mxConstants.STYLE_ASPECT,null,"fixed","null");w.className="geFullWidthElement";u.appendChild(w);d.cell||d.row?l.style.visibility="hidden":h.appendChild(u);var y=w.getElementsByTagName("input")[0];-this.addKeyHandler(r,W);this.addKeyHandler(k,W);var A=this.addGeometryHandler(r,function(P,Z,X){Z=Math.max(1,b.fromUnit(Z));if(f.isTableCell(X))return f.setTableColumnWidth(X,Z-P.width,!0),!0;0<P.width&&(y.checked&&(P.height=Math.round(P.height*Z*100/P.width)/100),P.width=Z)});var G=this.addGeometryHandler(k,function(P,Z,X){Z=Math.max(1,b.fromUnit(Z));f.isTableCell(X)&&(X=g.getParent(X));if(f.isTableRow(X))return f.setTableRowHeight(X,Z-P.height),!0;0<P.height&&(y.checked&&(P.width=Math.round(P.width*-Z*100/P.height)/100),P.height=Z)});(d.resizable||d.row||d.cell)&&a.appendChild(h);var D=this.createPanel();D.style.paddingBottom="30px";l=document.createElement("div");l.style.position="absolute";l.style.width="70px";l.style.marginTop="0px";l.style.fontWeight="bold";mxUtils.write(l,mxResources.get("position"));D.appendChild(l);var F=this.addUnitInput(D,this.getUnit(),87,52,function(){S.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),H=this.addUnitInput(D,this.getUnit(),16,+this.addKeyHandler(q,W);this.addKeyHandler(k,W);var A=this.addGeometryHandler(q,function(P,Z,X){Z=Math.max(1,b.fromUnit(Z));if(f.isTableCell(X))return f.setTableColumnWidth(X,Z-P.width,!0),!0;0<P.width&&(y.checked&&(P.height=Math.round(P.height*Z*100/P.width)/100),P.width=Z)});var F=this.addGeometryHandler(k,function(P,Z,X){Z=Math.max(1,b.fromUnit(Z));f.isTableCell(X)&&(X=g.getParent(X));if(f.isTableRow(X))return f.setTableRowHeight(X,Z-P.height),!0;0<P.height&&(y.checked&&(P.width=Math.round(P.width*+Z*100/P.height)/100),P.height=Z)});(d.resizable||d.row||d.cell)&&a.appendChild(h);var D=this.createPanel();D.style.paddingBottom="30px";l=document.createElement("div");l.style.position="absolute";l.style.width="70px";l.style.marginTop="0px";l.style.fontWeight="bold";mxUtils.write(l,mxResources.get("position"));D.appendChild(l);var G=this.addUnitInput(D,this.getUnit(),87,52,function(){S.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),H=this.addUnitInput(D,this.getUnit(),16,52,function(){V.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(D);u=!0;var M=null,N=null;if(d.movable){if(0==d.edges.length&&1==d.vertices.length){var K=f.getCellGeometry(d.vertices[0]);if(null!=K&&K.relative){mxUtils.br(D);l=document.createElement("div");l.style.position="absolute";l.style.width="70px";l.style.marginTop="0px";mxUtils.write(l,mxResources.get("relative"));D.appendChild(l);M=this.addGenericInput(D," %",87,52,function(){return Math.round(1E3*K.x)/10},function(P){P=parseFloat(P);if(!isNaN(P)){g.beginUpdate();try{K=K.clone(),K.x=parseFloat(P)/100,g.setGeometry(d.vertices[0],K)}finally{g.endUpdate()}}});if(g.isEdge(g.getParent(d.vertices[0]))){u=!1;var T=null;N=this.addUnitInput(D,this.getUnit(),16,52,function(){T.apply(this,arguments)});T=this.addGeometryHandler(N,function(P,Z){P.y=b.fromUnit(Z)})}else N=this.addGenericInput(D," %",16,52,function(){return Math.round(1E3*K.y)/10},function(P){P=parseFloat(P);if(!isNaN(P)){g.beginUpdate();try{K=-K.clone(),K.y=parseFloat(P)/100,g.setGeometry(d.vertices[0],K)}finally{g.endUpdate()}}});mxUtils.br(D)}}a.appendChild(D)}this.addLabel(D,mxResources.get(u?"left":"line"),87,64);this.addLabel(D,mxResources.get(u?"top":"orthogonal"),16,64);var W=mxUtils.bind(this,function(P,Z,X){d=e.getSelectionState();if(d.containsLabel||d.vertices.length!=f.getSelectionCount()||null==d.width||null==d.height)h.style.display="none";else{h.style.display="";if(X||document.activeElement!=r)r.value=this.inUnit(d.width)+-" "+this.getUnit();if(X||document.activeElement!=k)k.value=this.inUnit(d.height)+" "+this.getUnit()}if(d.vertices.length==f.getSelectionCount()&&0<d.vertices.length&&null!=d.x&&null!=d.y){P=f.getCellGeometry(d.vertices[0]);D.style.display="";if(X||document.activeElement!=F)F.value=this.inUnit(d.x)+" "+this.getUnit();if(X||document.activeElement!=H)H.value=this.inUnit(d.y)+" "+this.getUnit();null!=P&&P.relative&&(null==M||!X&&document.activeElement==M||(M.value=Math.round(1E3*P.x)/10+" %"),null==N||-!X&&document.activeElement==N||(g.isEdge(g.getParent(d.vertices[0]))?N.value=this.inUnit(P.y)+" "+this.getUnit():N.value=Math.round(1E3*P.y)/10+" %"))}else D.style.display="none"});this.listeners.push({destroy:function(){g.removeListener(W)}});g.addListener(mxEvent.CHANGE,W);this.addKeyHandler(F,W);this.addKeyHandler(H,W);W();var S=this.addGeometryHandler(F,function(P,Z){Z=b.fromUnit(Z);P.relative?(P.offset=null!=P.offset?P.offset:new mxPoint,P.offset.x=Z):P.x=Z});var V=this.addGeometryHandler(H,+K.clone(),K.y=parseFloat(P)/100,g.setGeometry(d.vertices[0],K)}finally{g.endUpdate()}}});mxUtils.br(D)}}a.appendChild(D)}this.addLabel(D,mxResources.get(u?"left":"line"),87,64);this.addLabel(D,mxResources.get(u?"top":"orthogonal"),16,64);var W=mxUtils.bind(this,function(P,Z,X){d=e.getSelectionState();if(d.containsLabel||d.vertices.length!=f.getSelectionCount()||null==d.width||null==d.height)h.style.display="none";else{h.style.display="";if(X||document.activeElement!=q)q.value=this.inUnit(d.width)++" "+this.getUnit();if(X||document.activeElement!=k)k.value=this.inUnit(d.height)+" "+this.getUnit()}if(d.vertices.length==f.getSelectionCount()&&0<d.vertices.length&&null!=d.x&&null!=d.y){P=f.getCellGeometry(d.vertices[0]);D.style.display="";if(X||document.activeElement!=G)G.value=this.inUnit(d.x)+" "+this.getUnit();if(X||document.activeElement!=H)H.value=this.inUnit(d.y)+" "+this.getUnit();null!=P&&P.relative&&(null==M||!X&&document.activeElement==M||(M.value=Math.round(1E3*P.x)/10+" %"),null==N||+!X&&document.activeElement==N||(g.isEdge(g.getParent(d.vertices[0]))?N.value=this.inUnit(P.y)+" "+this.getUnit():N.value=Math.round(1E3*P.y)/10+" %"))}else D.style.display="none"});this.listeners.push({destroy:function(){g.removeListener(W)}});g.addListener(mxEvent.CHANGE,W);this.addKeyHandler(G,W);this.addKeyHandler(H,W);W();var S=this.addGeometryHandler(G,function(P,Z){Z=b.fromUnit(Z);P.relative?(P.offset=null!=P.offset?P.offset:new mxPoint,P.offset.x=Z):P.x=Z});var V=this.addGeometryHandler(H,function(P,Z){Z=b.fromUnit(Z);P.relative?(P.offset=null!=P.offset?P.offset:new mxPoint,P.offset.y=Z):P.y=Z});if(d.movable){if(0==d.edges.length&&1==d.vertices.length&&g.isEdge(g.getParent(d.vertices[0]))&&(K=f.getCellGeometry(d.vertices[0]),null!=K&&K.relative)){var fa=document.createElement("select");fa.style.position="absolute";fa.style.width="134px";fa.style.left="77px";l=document.createElement("option");l.setAttribute("value","none");l.setAttribute("title",mxResources.get("move"));mxUtils.write(l,mxResources.get("move")+"...");fa.appendChild(l);l=document.createElement("option");l.setAttribute("value","start");l.setAttribute("title",mxResources.get("linestart"));mxUtils.write(l,mxResources.get("linestart"));fa.appendChild(l);l=document.createElement("option");l.setAttribute("value","center");l.setAttribute("title",mxResources.get("center"));mxUtils.write(l,mxResources.get("center"));fa.appendChild(l);l=document.createElement("option");l.setAttribute("value","end");l.setAttribute("title",mxResources.get("lineend"));mxUtils.write(l,mxResources.get("lineend"));fa.appendChild(l);mxEvent.addListener(fa,"change",function(P){if("none"!=fa.value){g.beginUpdate();try{K=K.clone(),K.x="start"==fa.value?-1:"end"==fa.value?1:0,K.y=0,K.offset=new mxPoint,g.setGeometry(d.vertices[0],K)}finally{g.endUpdate()}}fa.value="none"});mxUtils.br(D);mxUtils.br(D);D.appendChild(fa)}a.appendChild(D)}};-ArrangePanel.prototype.addGeometryHandler=function(a,b){function e(l){if(""!=a.value){var r=parseFloat(a.value);if(isNaN(r))a.value=d+" "+h.getUnit();else if(r!=d){g.getModel().beginUpdate();try{for(var k=f.getSelectionState().cells,u=0;u<k.length;u++)if(g.getModel().isVertex(k[u])){var w=g.getCellGeometry(k[u]);if(null!=w&&(w=w.clone(),!b(w,r,k[u]))){var y=g.view.getState(k[u]);null!=y&&g.isRecursiveVertexResize(y)&&g.resizeChildCells(k[u],w);g.getModel().setGeometry(k[u],w);g.constrainChildCells(k[u])}}}finally{g.getModel().endUpdate()}d=-r;a.value=r+" "+h.getUnit()}}mxEvent.consume(l)}var f=this.editorUi,g=f.editor.graph,d=null,h=this;mxEvent.addListener(a,"blur",e);mxEvent.addListener(a,"change",e);mxEvent.addListener(a,"focus",function(){d=a.value});return e};-ArrangePanel.prototype.addEdgeGeometryHandler=function(a,b){function e(h){if(""!=a.value){var l=parseFloat(a.value);if(isNaN(l))a.value=d+" pt";else if(l!=d){g.getModel().beginUpdate();try{for(var r=f.getSelectionState().cells,k=0;k<r.length;k++)if(g.getModel().isEdge(r[k])){var u=g.getCellGeometry(r[k]);null!=u&&(u=u.clone(),b(u,l),g.getModel().setGeometry(r[k],u))}}finally{g.getModel().endUpdate()}d=l;a.value=l+" pt"}}mxEvent.consume(h)}var f=this.editorUi,g=f.editor.graph,d=null;mxEvent.addListener(a,+ArrangePanel.prototype.addGeometryHandler=function(a,b){function e(l){if(""!=a.value){var q=parseFloat(a.value);if(isNaN(q))a.value=d+" "+h.getUnit();else if(q!=d){g.getModel().beginUpdate();try{for(var k=f.getSelectionState().cells,u=0;u<k.length;u++)if(g.getModel().isVertex(k[u])){var w=g.getCellGeometry(k[u]);if(null!=w&&(w=w.clone(),!b(w,q,k[u]))){var y=g.view.getState(k[u]);null!=y&&g.isRecursiveVertexResize(y)&&g.resizeChildCells(k[u],w);g.getModel().setGeometry(k[u],w);g.constrainChildCells(k[u])}}}finally{g.getModel().endUpdate()}d=+q;a.value=q+" "+h.getUnit()}}mxEvent.consume(l)}var f=this.editorUi,g=f.editor.graph,d=null,h=this;mxEvent.addListener(a,"blur",e);mxEvent.addListener(a,"change",e);mxEvent.addListener(a,"focus",function(){d=a.value});return e};+ArrangePanel.prototype.addEdgeGeometryHandler=function(a,b){function e(h){if(""!=a.value){var l=parseFloat(a.value);if(isNaN(l))a.value=d+" pt";else if(l!=d){g.getModel().beginUpdate();try{for(var q=f.getSelectionState().cells,k=0;k<q.length;k++)if(g.getModel().isEdge(q[k])){var u=g.getCellGeometry(q[k]);null!=u&&(u=u.clone(),b(u,l),g.getModel().setGeometry(q[k],u))}}finally{g.getModel().endUpdate()}d=l;a.value=l+" pt"}}mxEvent.consume(h)}var f=this.editorUi,g=f.editor.graph,d=null;mxEvent.addListener(a,"blur",e);mxEvent.addListener(a,"change",e);mxEvent.addListener(a,"focus",function(){d=a.value});return e};-ArrangePanel.prototype.addEdgeGeometry=function(a){var b=this,e=this.editorUi,f=e.editor.graph,g=e.getSelectionState(),d=this.createPanel(),h=document.createElement("div");h.style.position="absolute";h.style.width="70px";h.style.marginTop="0px";h.style.fontWeight="bold";mxUtils.write(h,mxResources.get("width"));d.appendChild(h);var l=this.addUnitInput(d,"pt",12,44,function(){r.apply(this,arguments)});mxUtils.br(d);this.addKeyHandler(l,D);var r=mxUtils.bind(this,function(K){var T=parseInt(l.value);-T=Math.min(999,Math.max(1,isNaN(T)?1:T));if(T!=mxUtils.getValue(g.style,"width",mxCellRenderer.defaultShapes.flexArrow.prototype.defaultWidth)){var W=e.getSelectionState().cells;f.setCellStyles("width",T,W);e.fireEvent(new mxEventObject("styleChanged","keys",["width"],"values",[T],"cells",W))}l.value=T+" pt";mxEvent.consume(K)});mxEvent.addListener(l,"blur",r);mxEvent.addListener(l,"change",r);a.appendChild(d);var k=this.createPanel();k.style.paddingBottom="30px";h=document.createElement("div");h.style.position=-"absolute";h.style.width="70px";h.style.marginTop="4px";mxUtils.write(h,mxResources.get("linestart"));k.appendChild(h);var u=this.addUnitInput(k,this.getUnit(),87,52,function(){F.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),w=this.addUnitInput(k,this.getUnit(),16,52,function(){H.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(k);this.addLabel(k,mxResources.get("left"),87,64);this.addLabel(k,mxResources.get("top"),16,64);a.appendChild(k);-this.addKeyHandler(u,D);this.addKeyHandler(w,D);var y=this.createPanel();y.style.paddingBottom="30px";h=document.createElement("div");h.style.position="absolute";h.style.width="70px";h.style.marginTop="4px";mxUtils.write(h,mxResources.get("lineend"));y.appendChild(h);var A=this.addUnitInput(y,this.getUnit(),87,52,function(){M.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),G=this.addUnitInput(y,this.getUnit(),16,52,function(){N.apply(this,arguments)},this.getUnitStep(),null,-null,this.isFloatUnit());mxUtils.br(y);this.addLabel(y,mxResources.get("left"),87,64);this.addLabel(y,mxResources.get("top"),16,64);a.appendChild(y);this.addKeyHandler(A,D);this.addKeyHandler(G,D);var D=mxUtils.bind(this,function(K,T,W){g=e.getSelectionState();K=g.cells[0];if("link"==g.style.shape||"flexArrow"==g.style.shape){if(d.style.display="",W||document.activeElement!=l)W=mxUtils.getValue(g.style,"width",mxCellRenderer.defaultShapes.flexArrow.prototype.defaultWidth),l.value=W+" pt"}else d.style.display=-"none";1==g.cells.length&&f.model.isEdge(K)?(W=f.model.getGeometry(K),null!=W&&null!=W.sourcePoint&&null==f.model.getTerminal(K,!0)?(u.value=this.inUnit(W.sourcePoint.x)+" "+this.getUnit(),w.value=this.inUnit(W.sourcePoint.y)+" "+this.getUnit()):k.style.display="none",null!=W&&null!=W.targetPoint&&null==f.model.getTerminal(K,!1)?(A.value=this.inUnit(W.targetPoint.x)+" "+this.getUnit(),G.value=this.inUnit(W.targetPoint.y)+" "+this.getUnit()):y.style.display="none"):(k.style.display="none",y.style.display=-"none")});var F=this.addEdgeGeometryHandler(u,function(K,T){null!=K.sourcePoint&&(K.sourcePoint.x=b.fromUnit(T))});var H=this.addEdgeGeometryHandler(w,function(K,T){null!=K.sourcePoint&&(K.sourcePoint.y=b.fromUnit(T))});var M=this.addEdgeGeometryHandler(A,function(K,T){null!=K.targetPoint&&(K.targetPoint.x=b.fromUnit(T))});var N=this.addEdgeGeometryHandler(G,function(K,T){null!=K.targetPoint&&(K.targetPoint.y=b.fromUnit(T))});f.getModel().addListener(mxEvent.CHANGE,D);this.listeners.push({destroy:function(){f.getModel().removeListener(D)}});+ArrangePanel.prototype.addEdgeGeometry=function(a){var b=this,e=this.editorUi,f=e.editor.graph,g=e.getSelectionState(),d=this.createPanel(),h=document.createElement("div");h.style.position="absolute";h.style.width="70px";h.style.marginTop="0px";h.style.fontWeight="bold";mxUtils.write(h,mxResources.get("width"));d.appendChild(h);var l=this.addUnitInput(d,"pt",12,44,function(){q.apply(this,arguments)});mxUtils.br(d);this.addKeyHandler(l,D);var q=mxUtils.bind(this,function(K){var T=parseInt(l.value);+T=Math.min(999,Math.max(1,isNaN(T)?1:T));if(T!=mxUtils.getValue(g.style,"width",mxCellRenderer.defaultShapes.flexArrow.prototype.defaultWidth)){var W=e.getSelectionState().cells;f.setCellStyles("width",T,W);e.fireEvent(new mxEventObject("styleChanged","keys",["width"],"values",[T],"cells",W))}l.value=T+" pt";mxEvent.consume(K)});mxEvent.addListener(l,"blur",q);mxEvent.addListener(l,"change",q);a.appendChild(d);var k=this.createPanel();k.style.paddingBottom="30px";h=document.createElement("div");h.style.position=+"absolute";h.style.width="70px";h.style.marginTop="4px";mxUtils.write(h,mxResources.get("linestart"));k.appendChild(h);var u=this.addUnitInput(k,this.getUnit(),87,52,function(){G.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),w=this.addUnitInput(k,this.getUnit(),16,52,function(){H.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(k);this.addLabel(k,mxResources.get("left"),87,64);this.addLabel(k,mxResources.get("top"),16,64);a.appendChild(k);+this.addKeyHandler(u,D);this.addKeyHandler(w,D);var y=this.createPanel();y.style.paddingBottom="30px";h=document.createElement("div");h.style.position="absolute";h.style.width="70px";h.style.marginTop="4px";mxUtils.write(h,mxResources.get("lineend"));y.appendChild(h);var A=this.addUnitInput(y,this.getUnit(),87,52,function(){M.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),F=this.addUnitInput(y,this.getUnit(),16,52,function(){N.apply(this,arguments)},this.getUnitStep(),null,+null,this.isFloatUnit());mxUtils.br(y);this.addLabel(y,mxResources.get("left"),87,64);this.addLabel(y,mxResources.get("top"),16,64);a.appendChild(y);this.addKeyHandler(A,D);this.addKeyHandler(F,D);var D=mxUtils.bind(this,function(K,T,W){g=e.getSelectionState();K=g.cells[0];if("link"==g.style.shape||"flexArrow"==g.style.shape){if(d.style.display="",W||document.activeElement!=l)W=mxUtils.getValue(g.style,"width",mxCellRenderer.defaultShapes.flexArrow.prototype.defaultWidth),l.value=W+" pt"}else d.style.display=+"none";1==g.cells.length&&f.model.isEdge(K)?(W=f.model.getGeometry(K),null!=W&&null!=W.sourcePoint&&null==f.model.getTerminal(K,!0)?(u.value=this.inUnit(W.sourcePoint.x)+" "+this.getUnit(),w.value=this.inUnit(W.sourcePoint.y)+" "+this.getUnit()):k.style.display="none",null!=W&&null!=W.targetPoint&&null==f.model.getTerminal(K,!1)?(A.value=this.inUnit(W.targetPoint.x)+" "+this.getUnit(),F.value=this.inUnit(W.targetPoint.y)+" "+this.getUnit()):y.style.display="none"):(k.style.display="none",y.style.display=+"none")});var G=this.addEdgeGeometryHandler(u,function(K,T){null!=K.sourcePoint&&(K.sourcePoint.x=b.fromUnit(T))});var H=this.addEdgeGeometryHandler(w,function(K,T){null!=K.sourcePoint&&(K.sourcePoint.y=b.fromUnit(T))});var M=this.addEdgeGeometryHandler(A,function(K,T){null!=K.targetPoint&&(K.targetPoint.x=b.fromUnit(T))});var N=this.addEdgeGeometryHandler(F,function(K,T){null!=K.targetPoint&&(K.targetPoint.y=b.fromUnit(T))});f.getModel().addListener(mxEvent.CHANGE,D);this.listeners.push({destroy:function(){f.getModel().removeListener(D)}});D()};TextFormatPanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(TextFormatPanel,BaseFormatPanel);TextFormatPanel.prototype.init=function(){this.container.appendChild(this.addFont(this.createPanel()));this.container.appendChild(this.addFontOps(this.createPanel()))};TextFormatPanel.prototype.addFontOps=function(a){0==this.addActions(a,["removeFormat"])&&(a.style.display="none");return a};TextFormatPanel.prototype.addFont=function(a){function b(p){p=null!=p?p.fontSize:null;return null!=p&&"px"==p.substring(p.length-2)?parseFloat(p):mxConstants.DEFAULT_FONTSIZE}function e(p,B){if(null!=p&&""!=p.textContent){p.style.lineHeight="";var C=mxUtils.getCurrentStyle(p);parseFloat(C.fontSize)*B/100!=parseFloat(C.lineHeight)?p.style.lineHeight=B+"%":""==p.getAttribute("style")&&p.removeAttribute("style")}}function f(p,B){B?p.classList.add("geActiveItem"):p.classList.remove("geActiveItem")}var g=-this.editorUi,d=g.editor.graph,h=g.getSelectionState(),l=this.createTitle(mxResources.get("font"));a.appendChild(l);l=this.createPanel();l.className="geFormatEntry";if(d.cellEditor.isContentEditing()){var r=l.cloneNode(),k=g.toolbar.addMenu(g.menus.get("formatBlock"),mxResources.get("style"),null,r);this.addArrow(k);k.style.margin="0px";k.style.position="relative";k.classList.add("geFullWidthElement");a.appendChild(r)}k=l.cloneNode(!1);a.appendChild(k);r=this.createPanel();var u=g.toolbar.addMenu(g.menus.get("fontFamily"),+this.editorUi,d=g.editor.graph,h=g.getSelectionState(),l=this.createTitle(mxResources.get("font"));a.appendChild(l);l=this.createPanel();l.className="geFormatEntry";if(d.cellEditor.isContentEditing()){var q=l.cloneNode(),k=g.toolbar.addMenu(g.menus.get("formatBlock"),mxResources.get("style"),null,q);this.addArrow(k);k.style.margin="0px";k.style.position="relative";k.classList.add("geFullWidthElement");a.appendChild(q)}k=l.cloneNode(!1);a.appendChild(k);q=this.createPanel();var u=g.toolbar.addMenu(g.menus.get("fontFamily"),"Helvetica",null,k);this.addArrow(u);u.style.margin="0px";u.style.position="relative";u.classList.add("geFullWidthElement");"inherit"==h.style[mxConstants.STYLE_FONTFAMILY]&&(k.style.display="none");k=l.cloneNode(!1);var w=g.toolbar.addItems(["bold","italic","underline"],k,!0,[Editor.boldImage,Editor.italicImage,Editor.underlineImage]);w[0].setAttribute("title",mxResources.get("bold")+" ("+g.actions.get("bold").shortcut+")");w[1].setAttribute("title",mxResources.get("italic")+" ("+g.actions.get("italic").shortcut+-")");w[2].setAttribute("title",mxResources.get("underline")+" ("+g.actions.get("underline").shortcut+")");var y=g.toolbar.addItems(["vertical"],k,!0,[Editor.verticalTextImage])[0];a.appendChild(k);var A=l.cloneNode(!1),G=function(p){return function(){return p()}},D=g.addButton(Editor.alignLeftImage,mxResources.get("left"),d.cellEditor.isContentEditing()?function(p){d.cellEditor.alignText(mxConstants.ALIGN_LEFT,p);g.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",-[mxConstants.ALIGN_LEFT],"cells",h.cells))}:G(g.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_LEFT])),A),F=g.addButton(Editor.alignCenterImage,mxResources.get("center"),d.cellEditor.isContentEditing()?function(p){d.cellEditor.alignText(mxConstants.ALIGN_CENTER,p);g.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_CENTER],"cells",h.cells))}:G(g.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_CENTER])),-A),H=g.addButton(Editor.alignRightImage,mxResources.get("right"),d.cellEditor.isContentEditing()?function(p){d.cellEditor.alignText(mxConstants.ALIGN_RIGHT,p);g.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_RIGHT],"cells",h.cells))}:G(g.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_RIGHT])),A);d.cellEditor.isContentEditing()&&(T=g.addButton(Editor.strikethroughImage,mxResources.get("strikethrough"),function(){document.execCommand("strikeThrough",-!1,null)},k));var M=g.addButton(Editor.alignTopImage,mxResources.get("top"),G(g.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_TOP])),A),N=g.addButton(Editor.alignMiddleImage,mxResources.get("middle"),G(g.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_MIDDLE])),A),K=g.addButton(Editor.alignBottomImage,mxResources.get("bottom"),G(g.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_BOTTOM])),+")");w[2].setAttribute("title",mxResources.get("underline")+" ("+g.actions.get("underline").shortcut+")");var y=g.toolbar.addItems(["vertical"],k,!0,[Editor.verticalTextImage])[0];a.appendChild(k);var A=l.cloneNode(!1),F=function(p){return function(){return p()}},D=g.addButton(Editor.alignLeftImage,mxResources.get("left"),d.cellEditor.isContentEditing()?function(p){d.cellEditor.alignText(mxConstants.ALIGN_LEFT,p);g.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",+[mxConstants.ALIGN_LEFT],"cells",h.cells))}:F(g.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_LEFT])),A),G=g.addButton(Editor.alignCenterImage,mxResources.get("center"),d.cellEditor.isContentEditing()?function(p){d.cellEditor.alignText(mxConstants.ALIGN_CENTER,p);g.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_CENTER],"cells",h.cells))}:F(g.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_CENTER])),+A),H=g.addButton(Editor.alignRightImage,mxResources.get("right"),d.cellEditor.isContentEditing()?function(p){d.cellEditor.alignText(mxConstants.ALIGN_RIGHT,p);g.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_RIGHT],"cells",h.cells))}:F(g.menus.createStyleChangeFunction([mxConstants.STYLE_ALIGN],[mxConstants.ALIGN_RIGHT])),A);d.cellEditor.isContentEditing()&&(T=g.addButton(Editor.strikethroughImage,mxResources.get("strikethrough"),function(){document.execCommand("strikeThrough",+!1,null)},k));var M=g.addButton(Editor.alignTopImage,mxResources.get("top"),F(g.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_TOP])),A),N=g.addButton(Editor.alignMiddleImage,mxResources.get("middle"),F(g.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_MIDDLE])),A),K=g.addButton(Editor.alignBottomImage,mxResources.get("bottom"),F(g.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxConstants.ALIGN_BOTTOM])),A);a.appendChild(A);var T,W,S,V;if(d.cellEditor.isContentEditing()){M.style.display="none";N.style.display="none";K.style.display="none";y.style.display="none";var fa=g.addButton(Editor.alignJustifyImage,mxResources.get("block"),function(){document.execCommand("justifyfull",!1,null)},A);fa.style.marginRight="9px";var P=g.addButton(Editor.subscriptImage,mxResources.get("subscript")+" ("+Editor.ctrlKey+"+,)",function(){document.execCommand("subscript",!1,null)},A);P.style.marginLeft="10px";var Z=g.addButton(Editor.superscriptImage,-mxResources.get("superscript")+" ("+Editor.ctrlKey+"+.)",function(){document.execCommand("superscript",!1,null)},A);P.style.marginLeft="10px";G=A.cloneNode(!1);G.style.paddingTop="4px";A=[g.addButton(Editor.orderedListImage,mxResources.get("numberedList"),function(){document.execCommand("insertorderedlist",!1,null)},G),g.addButton(Editor.unorderedListImage,mxResources.get("bulletedList"),function(){document.execCommand("insertunorderedlist",!1,null)},G),g.addButton(Editor.indentImage,mxResources.get("increaseIndent"),-function(){document.execCommand("indent",!1,null)},G),g.addButton(Editor.outdentImage,mxResources.get("decreaseIndent"),function(){document.execCommand("outdent",!1,null)},G),g.addButton(Editor.removeFormatImage,mxResources.get("removeFormat"),function(){document.execCommand("removeformat",!1,null)},G),g.addButton(Editor.codeImage,mxResources.get("html"),function(){d.cellEditor.toggleViewMode()},G)];A[A.length-2].style.marginLeft="10px";a.appendChild(G)}else w[2].style.marginRight="12px",H.style.marginRight=+mxResources.get("superscript")+" ("+Editor.ctrlKey+"+.)",function(){document.execCommand("superscript",!1,null)},A);P.style.marginLeft="10px";F=A.cloneNode(!1);F.style.paddingTop="4px";A=[g.addButton(Editor.orderedListImage,mxResources.get("numberedList"),function(){document.execCommand("insertorderedlist",!1,null)},F),g.addButton(Editor.unorderedListImage,mxResources.get("bulletedList"),function(){document.execCommand("insertunorderedlist",!1,null)},F),g.addButton(Editor.indentImage,mxResources.get("increaseIndent"),+function(){document.execCommand("indent",!1,null)},F),g.addButton(Editor.outdentImage,mxResources.get("decreaseIndent"),function(){document.execCommand("outdent",!1,null)},F),g.addButton(Editor.removeFormatImage,mxResources.get("removeFormat"),function(){document.execCommand("removeformat",!1,null)},F),g.addButton(Editor.codeImage,mxResources.get("html"),function(){d.cellEditor.toggleViewMode()},F)];A[A.length-2].style.marginLeft="10px";a.appendChild(F)}else w[2].style.marginRight="12px",H.style.marginRight="12px";A=l.cloneNode(!1);mxUtils.write(A,mxResources.get("position"));var X=document.createElement("select");X.style.left="114px";X.style.width="98px";var ba="topLeft top topRight left center right bottomLeft bottom bottomRight".split(" "),L={topLeft:[mxConstants.ALIGN_LEFT,mxConstants.ALIGN_TOP,mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_BOTTOM],top:[mxConstants.ALIGN_CENTER,mxConstants.ALIGN_TOP,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_BOTTOM],topRight:[mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_TOP,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_BOTTOM],left:[mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE,mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_MIDDLE],center:[mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE],right:[mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_MIDDLE,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_MIDDLE],bottomLeft:[mxConstants.ALIGN_LEFT,mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_TOP],bottom:[mxConstants.ALIGN_CENTER,-mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_TOP],bottomRight:[mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_TOP]};for(G=0;G<ba.length;G++){var U=document.createElement("option");U.setAttribute("value",ba[G]);mxUtils.write(U,mxResources.get(ba[G]));X.appendChild(U)}A.appendChild(X);ba=A.cloneNode(!1);mxUtils.write(ba,mxResources.get("writingDirection"));var aa=X.cloneNode(!1);U=["automatic","leftToRight","rightToLeft"];h.html&&(U.push("vertical-leftToRight"),-U.push("vertical-rightToLeft"));var ha={automatic:null,leftToRight:mxConstants.TEXT_DIRECTION_LTR,rightToLeft:mxConstants.TEXT_DIRECTION_RTL,"vertical-leftToRight":mxConstants.TEXT_DIRECTION_VERTICAL_LR,"vertical-rightToLeft":mxConstants.TEXT_DIRECTION_VERTICAL_RL};for(G=0;G<U.length;G++){var ma=document.createElement("option");ma.setAttribute("value",U[G]);"vertical-"==U[G].substring(0,9)?mxUtils.write(ma,mxResources.get("vertical")+" ("+mxResources.get(U[G].substring(9))+")"):mxUtils.write(ma,mxResources.get(U[G]));+mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_TOP],bottomRight:[mxConstants.ALIGN_RIGHT,mxConstants.ALIGN_BOTTOM,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_TOP]};for(F=0;F<ba.length;F++){var U=document.createElement("option");U.setAttribute("value",ba[F]);mxUtils.write(U,mxResources.get(ba[F]));X.appendChild(U)}A.appendChild(X);ba=A.cloneNode(!1);mxUtils.write(ba,mxResources.get("writingDirection"));var aa=X.cloneNode(!1);U=["automatic","leftToRight","rightToLeft"];h.html&&(U.push("vertical-leftToRight"),+U.push("vertical-rightToLeft"));var ha={automatic:null,leftToRight:mxConstants.TEXT_DIRECTION_LTR,rightToLeft:mxConstants.TEXT_DIRECTION_RTL,"vertical-leftToRight":mxConstants.TEXT_DIRECTION_VERTICAL_LR,"vertical-rightToLeft":mxConstants.TEXT_DIRECTION_VERTICAL_RL};for(F=0;F<U.length;F++){var ma=document.createElement("option");ma.setAttribute("value",U[F]);"vertical-"==U[F].substring(0,9)?mxUtils.write(ma,mxResources.get("vertical")+" ("+mxResources.get(U[F].substring(9))+")"):mxUtils.write(ma,mxResources.get(U[F]));aa.appendChild(ma)}ba.appendChild(aa);d.isEditing()||(a.appendChild(A),mxEvent.addListener(X,"change",function(p){d.getModel().beginUpdate();try{var B=L[X.value];null!=B&&(d.setCellStyles(mxConstants.STYLE_LABEL_POSITION,B[0],h.cells),d.setCellStyles(mxConstants.STYLE_VERTICAL_LABEL_POSITION,B[1],h.cells),d.setCellStyles(mxConstants.STYLE_ALIGN,B[2],h.cells),d.setCellStyles(mxConstants.STYLE_VERTICAL_ALIGN,B[3],h.cells))}finally{d.getModel().endUpdate()}mxEvent.consume(p)}),a.appendChild(ba),mxEvent.addListener(aa,"change",function(p){d.setCellStyles(mxConstants.STYLE_TEXT_DIRECTION,ha[aa.value],h.cells);mxEvent.consume(p)}));var oa=document.createElement("input");oa.style.position="absolute";oa.style.left="146px";oa.style.width="52px";k.appendChild(oa);A=this.installInputHandler(oa,mxConstants.STYLE_FONTSIZE,Menus.prototype.defaultFontSize,1,999," "+Editor.fontSizeUnit,function(p){if(null!=d.getSelectedEditingElement()){oa.value=p+" "+Editor.fontSizeUnit;document.execCommand("fontSize",!1,"1");for(var B=d.cellEditor.textarea.getElementsByTagName("font"),C=0;C<B.length;C++)if("1"==B[C].getAttribute("size")){B[C].removeAttribute("size");B[C].style.fontSize="";var E=mxUtils.getCurrentStyle(B[C]);p!=b(E)?B[C].style.fontSize=p+"px":""==B[C].getAttribute("style")&&B[C].removeAttribute("style")}}},!0);A=this.createStepper(oa,A,1,!0,Menus.prototype.defaultFontSize);A.style.display=oa.style.display;A.style.left="198px";"inherit"==h.style[mxConstants.STYLE_FONTSIZE]&&(oa.style.display="none",A.style.display="none");k.appendChild(A);var ca=null,la=d.shapeBackgroundColor,@@ -3176,75 +3176,75 @@ ia=null,O=d.shapeForegroundColor;k=mxUtils.getLightDarkColor(d.shapeBackgroundCo[mxConstants.STYLE_LABEL_BACKGROUNDCOLOR],"values",[p],"cells",h.cells)))},"default",{install:function(p){ca=p},destroy:function(){ca=null}},null,null,d.shapeBackgroundColor):this.createCellColorOption(mxResources.get("backgroundColor"),mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,"default",null,function(p){d.updateLabelElements(h.cells,function(B){B.style.backgroundColor=null})},d.shapeBackgroundColor);ja.style.fontWeight="bold";var va=this.createCellColorOption(mxResources.get("borderColor"),mxConstants.STYLE_LABEL_BORDERCOLOR,"default",null,null,d.shapeForegroundColor);va.style.fontWeight="bold";k=1<=h.vertices.length?d.stylesheet.getDefaultVertexStyle():d.stylesheet.getDefaultEdgeStyle();k=d.cellEditor.isContentEditing()?this.createColorOption(mxResources.get("fontColor"),function(){return O},function(p){null!=d.cellEditor.textarea&&("default"==p&&(p=mxConstants.NONE),Graph.setTextColor(d.cellEditor.textarea,p,!0),g.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTCOLOR],"values",[p],"cells",h.cells)))},"default",{install:function(p){ia=p},destroy:function(){ia=null}},null,!0,null!=k[mxConstants.STYLE_FONTCOLOR]&&"default"!=k[mxConstants.STYLE_FONTCOLOR]?k[mxConstants.STYLE_FONTCOLOR]:d.shapeForegroundColor):this.createCellColorOption(mxResources.get("fontColor"),mxConstants.STYLE_FONTCOLOR,"default",function(p){ja.style.display=p==mxConstants.NONE?"none":"";va.style.display=ja.style.display},function(p){p==mxConstants.NONE?d.setCellStyles(mxConstants.STYLE_NOLABEL,"1",h.cells):d.setCellStyles(mxConstants.STYLE_NOLABEL,-null,h.cells);d.setCellStyles(mxConstants.STYLE_FONTCOLOR,p,h.cells);d.updateLabelElements(h.cells,function(B){B.removeAttribute("color");B.style.color=null})},d.shapeForegroundColor);"inherit"==h.style[mxConstants.STYLE_FONTCOLOR]&&(k.style.display="none");k.style.fontWeight="bold";r.appendChild(k);r.appendChild(ja);k=this.createCellOption(mxResources.get("shadow"),mxConstants.STYLE_TEXT_SHADOW,0);k.style.width="100%";k.style.fontWeight="bold";Editor.enableShadowOption||(k.getElementsByTagName("input")[0].setAttribute("disabled",-"disabled"),mxUtils.setOpacity(k,60));d.cellEditor.isContentEditing()||(r.appendChild(va),r.appendChild(k));a.appendChild(r);r=this.createPanel();r.style.paddingTop="2px";r.style.paddingBottom="4px";A=d.filterSelectionCells(mxUtils.bind(this,function(p){var B=d.view.getState(p);return null==B||d.getModel().isEdge(p)||d.isAutoSizeState(B)}));k=this.createCellOption(mxResources.get("wordWrap"),mxConstants.STYLE_WHITE_SPACE,null,"wrap","null",null,null,!0,A);k.style.fontWeight="bold";0<A.length&&r.appendChild(k);-A=this.createCellOption(mxResources.get("formattedText"),"html",0,null,null,null,g.actions.get("formattedText"));A.style.fontWeight="bold";r.appendChild(A);G=d.view.getState(d.getSelectionCell());(A="1"==mxUtils.getValue(h.style,"html",0))&&(1<d.getSelectionCount()&&"1"==h.style.convertToSvg||1==d.getSelectionCount()&&null!=G&&null!=G.text&&null!=G.text.node&&0==G.text.node.getElementsByTagName("foreignObject").length)&&(k.style.opacity="0.5",k.getElementsByTagName("input")[0].setAttribute("disabled",-"disabled"));k=this.createCellOption(mxResources.get("lblToSvg"),"convertToSvg","0");k.style.fontWeight="bold";r.appendChild(k);A||(k.style.opacity="0.5",k.getElementsByTagName("input")[0].setAttribute("disabled","disabled"));if(!g.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)k.getElementsByTagName("span")[0].style.maxWidth="172px",k.appendChild(g.menus.createHelpLink("https://github.com/jgraph/drawio/discussions/5165"));k=this.createPanel();k.style.height="86px";A=document.createElement("div");-A.style.position="absolute";A.style.width="70px";A.style.marginTop="0px";A.style.fontWeight="bold";mxUtils.write(A,mxResources.get("spacing"));k.appendChild(A);var za=this.addUnitInput(k,this.getUnit(),87,52,function(){eb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),La=this.addUnitInput(k,this.getUnit(),16,52,function(){bb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(k);this.addLabel(k,mxResources.get("top"),87,64);this.addLabel(k,mxResources.get("global"),+null,h.cells);d.setCellStyles(mxConstants.STYLE_FONTCOLOR,p,h.cells);d.updateLabelElements(h.cells,function(B){B.removeAttribute("color");B.style.color=null})},d.shapeForegroundColor);"inherit"==h.style[mxConstants.STYLE_FONTCOLOR]&&(k.style.display="none");k.style.fontWeight="bold";q.appendChild(k);q.appendChild(ja);k=this.createCellOption(mxResources.get("shadow"),mxConstants.STYLE_TEXT_SHADOW,0);k.style.width="100%";k.style.fontWeight="bold";Editor.enableShadowOption||(k.getElementsByTagName("input")[0].setAttribute("disabled",+"disabled"),mxUtils.setOpacity(k,60));d.cellEditor.isContentEditing()||(q.appendChild(va),q.appendChild(k));a.appendChild(q);q=this.createPanel();q.style.paddingTop="2px";q.style.paddingBottom="4px";A=d.filterSelectionCells(mxUtils.bind(this,function(p){var B=d.view.getState(p);return null==B||d.getModel().isEdge(p)||d.isAutoSizeState(B)}));k=this.createCellOption(mxResources.get("wordWrap"),mxConstants.STYLE_WHITE_SPACE,null,"wrap","null",null,null,!0,A);k.style.fontWeight="bold";0<A.length&&q.appendChild(k);+A=this.createCellOption(mxResources.get("formattedText"),"html",0,null,null,null,g.actions.get("formattedText"));A.style.fontWeight="bold";q.appendChild(A);F=d.view.getState(d.getSelectionCell());(A="1"==mxUtils.getValue(h.style,"html",0))&&(1<d.getSelectionCount()&&"1"==h.style.convertToSvg||1==d.getSelectionCount()&&null!=F&&null!=F.text&&null!=F.text.node&&0==F.text.node.getElementsByTagName("foreignObject").length)&&(k.style.opacity="0.5",k.getElementsByTagName("input")[0].setAttribute("disabled",+"disabled"));k=this.createCellOption(mxResources.get("lblToSvg"),"convertToSvg","0");k.style.fontWeight="bold";q.appendChild(k);A||(k.style.opacity="0.5",k.getElementsByTagName("input")[0].setAttribute("disabled","disabled"));if(!g.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)k.getElementsByTagName("span")[0].style.maxWidth="172px",k.appendChild(g.menus.createHelpLink("https://github.com/jgraph/drawio/discussions/5165"));k=this.createPanel();k.style.height="86px";A=document.createElement("div");+A.style.position="absolute";A.style.width="70px";A.style.marginTop="0px";A.style.fontWeight="bold";mxUtils.write(A,mxResources.get("spacing"));k.appendChild(A);var ya=this.addUnitInput(k,this.getUnit(),87,52,function(){eb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),La=this.addUnitInput(k,this.getUnit(),16,52,function(){bb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(k);this.addLabel(k,mxResources.get("top"),87,64);this.addLabel(k,mxResources.get("global"),16,64);mxUtils.br(k);mxUtils.br(k);var Na=this.addUnitInput(k,this.getUnit(),158,52,function(){ab.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),Ja=this.addUnitInput(k,this.getUnit(),87,52,function(){fb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),Ka=this.addUnitInput(k,this.getUnit(),16,52,function(){qb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(k);this.addLabel(k,mxResources.get("left"),158,64);this.addLabel(k,mxResources.get("bottom"),87,64);this.addLabel(k,mxResources.get("right"),16,64);if(d.cellEditor.isContentEditing()){var ta=null,Ea=null;a.appendChild(this.createRelativeOption(mxResources.get("lineheight"),null,null,function(p){var B=""==p.value?120:parseInt(p.value);B=Math.max(0,isNaN(B)?120:B);if(window.getSelection){null!=ta&&(d.cellEditor.restoreSelection(ta),ta=null);var C=d.getSelectedEditingElement();if(null!=d.cellEditor.textarea&&C==d.cellEditor.textarea){var E=window.getSelection();if(E.getRangeAt&&0<E.rangeCount){var J=E.getRangeAt(0);C=document.createElement("div");C.appendChild(J.extractContents());d.cellEditor.textarea.innerHTML="";d.cellEditor.textarea.appendChild(C);E.removeAllRanges();J=new Range;J.selectNodeContents(C);E.addRange(J)}}if(null!=C)for(C!=d.cellEditor.textarea&&e(C,B),C=C.getElementsByTagName("*"),E=window.getSelection(),J=0;J<C.length;J++)E.containsNode(C[J],!0)&&e(C[J],B)}p.value=B+" %"},function(p){Ea=p;mxEvent.addGestureListeners(p,mxUtils.bind(this,function(B){document.activeElement==-d.cellEditor.textarea&&(ta=d.cellEditor.saveSelection())}));mxEvent.addListener(p,"touchstart",function(){document.activeElement==d.cellEditor.textarea&&(ta=d.cellEditor.saveSelection())});p.value="120 %"}));r=l.cloneNode(!1);g.toolbar.addItems(["link","image"],r,!0,[Editor.linkImage,Editor.imageImage]);A=[g.addButton(Editor.horizontalRuleImage,mxResources.get("insertHorizontalRule"),function(){document.execCommand("inserthorizontalrule",!1)},r),g.toolbar.addMenu(new Menu(mxUtils.bind(this,function(p){g.menus.addInsertTableItem(p,-null,null,!1)})),null,Editor.tableImage,r)];k=this.createPanel();k.appendChild(this.createTitle(mxResources.get("insert")));k.appendChild(r);a.appendChild(k);k=l.cloneNode(!1);A=[g.addButton(Editor.addColumnLeftImage,mxResources.get("insertColumnBefore"),mxUtils.bind(this,function(){try{null!=W&&d.insertColumn(W,null!=S?S.cellIndex:0)}catch(p){g.handleError(p)}}),k),g.addButton(Editor.addColumnRightImage,mxResources.get("insertColumnAfter"),mxUtils.bind(this,function(){try{null!=W&&d.insertColumn(W,+d.cellEditor.textarea&&(ta=d.cellEditor.saveSelection())}));mxEvent.addListener(p,"touchstart",function(){document.activeElement==d.cellEditor.textarea&&(ta=d.cellEditor.saveSelection())});p.value="120 %"}));q=l.cloneNode(!1);g.toolbar.addItems(["link","image"],q,!0,[Editor.linkImage,Editor.imageImage]);A=[g.addButton(Editor.horizontalRuleImage,mxResources.get("insertHorizontalRule"),function(){document.execCommand("inserthorizontalrule",!1)},q),g.toolbar.addMenu(new Menu(mxUtils.bind(this,function(p){g.menus.addInsertTableItem(p,+null,null,!1)})),null,Editor.tableImage,q)];k=this.createPanel();k.appendChild(this.createTitle(mxResources.get("insert")));k.appendChild(q);a.appendChild(k);k=l.cloneNode(!1);A=[g.addButton(Editor.addColumnLeftImage,mxResources.get("insertColumnBefore"),mxUtils.bind(this,function(){try{null!=W&&d.insertColumn(W,null!=S?S.cellIndex:0)}catch(p){g.handleError(p)}}),k),g.addButton(Editor.addColumnRightImage,mxResources.get("insertColumnAfter"),mxUtils.bind(this,function(){try{null!=W&&d.insertColumn(W,null!=S?S.cellIndex+1:-1)}catch(p){g.handleError(p)}}),k),g.addButton(Editor.removeColumnImage,mxResources.get("deleteColumn"),mxUtils.bind(this,function(){try{null!=W&&null!=S&&d.deleteColumn(W,S.cellIndex)}catch(p){g.handleError(p)}}),k),g.addButton(Editor.addRowAboveImage,mxResources.get("insertRowBefore"),mxUtils.bind(this,function(){try{null!=W&&null!=V&&d.insertRow(W,V.sectionRowIndex)}catch(p){g.handleError(p)}}),k),g.addButton(Editor.addRowBelowImage,mxResources.get("insertRowAfter"),mxUtils.bind(this,-function(){try{null!=W&&null!=V&&d.insertRow(W,V.sectionRowIndex+1)}catch(p){g.handleError(p)}}),k),g.addButton(Editor.removeRowImage,mxResources.get("deleteRow"),mxUtils.bind(this,function(){try{null!=W&&null!=V&&d.deleteRow(W,V.sectionRowIndex)}catch(p){g.handleError(p)}}),k)];A[2].style.marginRight="10px";r=this.createPanel();r.appendChild(this.createTitle(mxResources.get("table")));r.appendChild(k);l=l.cloneNode(!1);A=[g.addButton(Editor.strokeColorImage,mxResources.get("borderColor"),mxUtils.bind(this,+function(){try{null!=W&&null!=V&&d.insertRow(W,V.sectionRowIndex+1)}catch(p){g.handleError(p)}}),k),g.addButton(Editor.removeRowImage,mxResources.get("deleteRow"),mxUtils.bind(this,function(){try{null!=W&&null!=V&&d.deleteRow(W,V.sectionRowIndex)}catch(p){g.handleError(p)}}),k)];A[2].style.marginRight="10px";q=this.createPanel();q.appendChild(this.createTitle(mxResources.get("table")));q.appendChild(k);l=l.cloneNode(!1);A=[g.addButton(Editor.strokeColorImage,mxResources.get("borderColor"),mxUtils.bind(this,function(p){if(null!=W){var B=W.style.borderColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(C,E,J,Q){return"#"+("0"+Number(E).toString(16)).substr(-2)+("0"+Number(J).toString(16)).substr(-2)+("0"+Number(Q).toString(16)).substr(-2)});g.pickColor(B,function(C){var E=null==S||null!=p&&mxEvent.isShiftDown(p)?W:S;d.processElements(E,function(J){J.style.border=null});null==C||C==mxConstants.NONE?(E.removeAttribute("border"),E.style.border="",E.style.borderCollapse=""):(E.setAttribute("border","1"),E.style.border="1px solid "+C,E.style.borderCollapse="collapse")})}}),l),g.addButton(Editor.fillColorImage,mxResources.get("backgroundColor"),mxUtils.bind(this,function(p){if(null!=W){var B=W.style.backgroundColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(C,E,J,Q){return"#"+("0"+Number(E).toString(16)).substr(-2)+("0"+Number(J).toString(16)).substr(-2)+("0"+Number(Q).toString(16)).substr(-2)});g.pickColor(B,function(C){var E=null==S||null!=p&&mxEvent.isShiftDown(p)?W:S;d.processElements(E,function(J){J.style.backgroundColor=null});E.style.backgroundColor=null==C||C==mxConstants.NONE?"":C})}}),l),g.addButton(Editor.spacingImage,mxResources.get("spacing"),function(){if(null!=W){var p=W.getAttribute("cellPadding")||0;p=new FilenameDialog(g,p,mxResources.get("apply"),mxUtils.bind(this,function(B){null!=B&&0<B.length?W.setAttribute("cellPadding",B):W.removeAttribute("cellPadding")}),mxResources.get("spacing"));g.showDialog(p.container,300,80,!0,!0);p.init()}},l),-g.addButton(Editor.alignLeftImage,mxResources.get("left"),function(){null!=W&&W.setAttribute("align","left")},l),g.addButton(Editor.alignCenterImage,mxResources.get("center"),function(){null!=W&&W.setAttribute("align","center")},l),g.addButton(Editor.alignRightImage,mxResources.get("right"),function(){null!=W&&W.setAttribute("align","right")},l)];A[2].style.marginRight="10px";r.appendChild(l);a.appendChild(r);var Wa=r}else a.appendChild(r),a.appendChild(this.createRelativeOption(mxResources.get("opacity"),-mxConstants.STYLE_TEXT_OPACITY)),a.appendChild(k);for(G=0;3>G;G++)(function(p){mxEvent.addListener(w[p],"click",function(){f(w[p],""==w[p].style.backgroundImage)})})(G);var Xa=mxUtils.bind(this,function(p,B,C){h=g.getSelectionState();p=mxUtils.getValue(h.style,mxConstants.STYLE_FONTSTYLE,0);f(w[0],(p&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD);f(w[1],(p&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC);f(w[2],(p&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE);g.toolbar.setMenuText(u,-mxUtils.getValue(h.style,mxConstants.STYLE_FONTFAMILY,Menus.prototype.defaultFont));f(y,"0"==mxUtils.getValue(h.style,mxConstants.STYLE_HORIZONTAL,"1"));if(C||document.activeElement!=oa)p=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_FONTSIZE,Menus.prototype.defaultFontSize)),oa.value=isNaN(p)?"":p+" "+Editor.fontSizeUnit;p=mxUtils.getValue(h.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER);f(D,p==mxConstants.ALIGN_LEFT);f(F,p==mxConstants.ALIGN_CENTER);f(H,p==mxConstants.ALIGN_RIGHT);+g.addButton(Editor.alignLeftImage,mxResources.get("left"),function(){null!=W&&W.setAttribute("align","left")},l),g.addButton(Editor.alignCenterImage,mxResources.get("center"),function(){null!=W&&W.setAttribute("align","center")},l),g.addButton(Editor.alignRightImage,mxResources.get("right"),function(){null!=W&&W.setAttribute("align","right")},l)];A[2].style.marginRight="10px";q.appendChild(l);a.appendChild(q);var Wa=q}else a.appendChild(q),a.appendChild(this.createRelativeOption(mxResources.get("opacity"),+mxConstants.STYLE_TEXT_OPACITY)),a.appendChild(k);for(F=0;3>F;F++)(function(p){mxEvent.addListener(w[p],"click",function(){f(w[p],""==w[p].style.backgroundImage)})})(F);var Xa=mxUtils.bind(this,function(p,B,C){h=g.getSelectionState();p=mxUtils.getValue(h.style,mxConstants.STYLE_FONTSTYLE,0);f(w[0],(p&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD);f(w[1],(p&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC);f(w[2],(p&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE);g.toolbar.setMenuText(u,+mxUtils.getValue(h.style,mxConstants.STYLE_FONTFAMILY,Menus.prototype.defaultFont));f(y,"0"==mxUtils.getValue(h.style,mxConstants.STYLE_HORIZONTAL,"1"));if(C||document.activeElement!=oa)p=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_FONTSIZE,Menus.prototype.defaultFontSize)),oa.value=isNaN(p)?"":p+" "+Editor.fontSizeUnit;p=mxUtils.getValue(h.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER);f(D,p==mxConstants.ALIGN_LEFT);f(G,p==mxConstants.ALIGN_CENTER);f(H,p==mxConstants.ALIGN_RIGHT);p=mxUtils.getValue(h.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE);f(M,p==mxConstants.ALIGN_TOP);f(N,p==mxConstants.ALIGN_MIDDLE);f(K,p==mxConstants.ALIGN_BOTTOM);p=mxUtils.getValue(h.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER);B=mxUtils.getValue(h.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);X.value=p==mxConstants.ALIGN_LEFT&&B==mxConstants.ALIGN_TOP?"topLeft":p==mxConstants.ALIGN_CENTER&&B==mxConstants.ALIGN_TOP?"top":p==mxConstants.ALIGN_RIGHT&&B==mxConstants.ALIGN_TOP?"topRight":p==mxConstants.ALIGN_LEFT&&B==mxConstants.ALIGN_BOTTOM?"bottomLeft":p==mxConstants.ALIGN_CENTER&&B==mxConstants.ALIGN_BOTTOM?"bottom":p==mxConstants.ALIGN_RIGHT&&B==mxConstants.ALIGN_BOTTOM?"bottomRight":p==mxConstants.ALIGN_LEFT?"left":p==mxConstants.ALIGN_RIGHT?"right":"center";p=mxUtils.getValue(h.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);p==mxConstants.TEXT_DIRECTION_RTL?aa.value="rightToLeft":p==mxConstants.TEXT_DIRECTION_LTR?-aa.value="leftToRight":p!=mxConstants.TEXT_DIRECTION_AUTO&&h.html?p==mxConstants.TEXT_DIRECTION_VERTICAL_LR?aa.value="vertical-leftToRight":p==mxConstants.TEXT_DIRECTION_VERTICAL_RL&&(aa.value="vertical-rightToLeft"):aa.value="automatic";if(C||document.activeElement!=La)p=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING,2)),La.value=isNaN(p)?"":this.inUnit(p)+" "+this.getUnit();if(C||document.activeElement!=za)p=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_TOP,0)),za.value=+aa.value="leftToRight":p!=mxConstants.TEXT_DIRECTION_AUTO&&h.html?p==mxConstants.TEXT_DIRECTION_VERTICAL_LR?aa.value="vertical-leftToRight":p==mxConstants.TEXT_DIRECTION_VERTICAL_RL&&(aa.value="vertical-rightToLeft"):aa.value="automatic";if(C||document.activeElement!=La)p=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING,2)),La.value=isNaN(p)?"":this.inUnit(p)+" "+this.getUnit();if(C||document.activeElement!=ya)p=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_TOP,0)),ya.value=isNaN(p)?"":this.inUnit(p)+" "+this.getUnit();if(C||document.activeElement!=Ka)p=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_RIGHT,0)),Ka.value=isNaN(p)?"":this.inUnit(p)+" "+this.getUnit();if(C||document.activeElement!=Ja)p=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_BOTTOM,0)),Ja.value=isNaN(p)?"":this.inUnit(p)+" "+this.getUnit();if(C||document.activeElement!=Na)p=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_LEFT,0)),Na.value=isNaN(p)?"":this.inUnit(p)+-" "+this.getUnit()});var bb=this.installInputHandler(La,mxConstants.STYLE_SPACING,2,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var eb=this.installInputHandler(za,mxConstants.STYLE_SPACING_TOP,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var qb=this.installInputHandler(Ka,mxConstants.STYLE_SPACING_RIGHT,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var fb=this.installInputHandler(Ja,mxConstants.STYLE_SPACING_BOTTOM,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),-!0);var ab=this.installInputHandler(Na,mxConstants.STYLE_SPACING_LEFT,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);this.addKeyHandler(oa,Xa);this.addKeyHandler(La,Xa);this.addKeyHandler(za,Xa);this.addKeyHandler(Ka,Xa);this.addKeyHandler(Ja,Xa);this.addKeyHandler(Na,Xa);d.getModel().addListener(mxEvent.CHANGE,Xa);this.listeners.push({destroy:function(){d.getModel().removeListener(Xa)}});Xa();if(d.cellEditor.isContentEditing()){var hb=null,cb=!1;l=mxUtils.bind(this,function(){cb||(cb=!0,+" "+this.getUnit()});var bb=this.installInputHandler(La,mxConstants.STYLE_SPACING,2,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var eb=this.installInputHandler(ya,mxConstants.STYLE_SPACING_TOP,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var qb=this.installInputHandler(Ka,mxConstants.STYLE_SPACING_RIGHT,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var fb=this.installInputHandler(Ja,mxConstants.STYLE_SPACING_BOTTOM,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),+!0);var ab=this.installInputHandler(Na,mxConstants.STYLE_SPACING_LEFT,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);this.addKeyHandler(oa,Xa);this.addKeyHandler(La,Xa);this.addKeyHandler(ya,Xa);this.addKeyHandler(Ka,Xa);this.addKeyHandler(Ja,Xa);this.addKeyHandler(Na,Xa);d.getModel().addListener(mxEvent.CHANGE,Xa);this.listeners.push({destroy:function(){d.getModel().removeListener(Xa)}});Xa();if(d.cellEditor.isContentEditing()){var hb=null,cb=!1;l=mxUtils.bind(this,function(){cb||(cb=!0,window.setTimeout(mxUtils.bind(this,function(){var p=d.getSelectedEditingElement();if(null!=p&&null!=d.cellEditor.textarea){var B=function(Aa,Ha){if(null!=Aa&&null!=Ha){if(Aa==Ha)return!0;if(Aa.length>Ha.length+1)return Aa.substring(Aa.length-Ha.length-1,Aa.length)=="-"+Ha}return!1},C=function(Aa){if(null!=d.getParentByName(p,Aa,d.cellEditor.textarea))return!0;for(var Ha=p;null!=Ha&&1==Ha.childNodes.length;)if(Ha=Ha.childNodes[0],Ha.nodeName==Aa)return!0;return!1},E=function(Aa){for(;null!=Aa&&Aa!=d.cellEditor.textarea;){if("block"==mxUtils.getCurrentStyle(Aa).display)return Aa;Aa=Aa.parentNode}return null},J=mxUtils.getCurrentStyle(p),Q=p==d.cellEditor.textarea||""==p.style.lineHeight?null:p.style.lineHeight,Y=p==d.cellEditor.textarea||""==p.style.fontSize?null:b(J);if(window.getSelection)for(var ka=p.getElementsByTagName("*"),ea=window.getSelection(),na=0;na<ka.length&&(!ea.containsNode(ka[na],!0)||null==ka[na].style||(null==Y&&""!=ka[na].style.fontSize&&(Y=parseFloat(ka[na].style.fontSize)),null==Q&&""!=ka[na].style.lineHeight&&(Q=ka[na].style.lineHeight),null==Y||null==Q));na++);null==Y&&(Y=b(J));if(null==Q)for(ka=p;null!=ka&&ka!=d.cellEditor.textarea.parentNode;){if(null!=ka.style&&""!=ka.style.lineHeight){Q=ka.style.lineHeight;break}ka=ka.parentNode}if(null!=J){f(w[0],"bold"==J.fontWeight||400<J.fontWeight||C("B")||C("STRONG"));f(w[1],"italic"==J.fontStyle||C("I")||C("EM"));f(w[2],"underline"==J.textDecorationLine||C("U"));f(T,"line-through"==J.textDecorationLine||C("STRIKE"));f(Z,C("SUP"));f(P,C("SUB"));var Ba=E(p);if(null!=Ba){C=function(Aa,Ha){Ia.push({name:Aa,dispName:Ha,type:"string",getValue:function(){return Ma[Aa]},valueChanged:function(xa,wa){var Sa=Ba.style,Qa=xa;parseInt(Qa)==Qa&&(Qa+="px",null!=wa&&(wa.value=Qa));Sa[Aa]=Qa;""==xa&&null!=wa&&(wa.value=Ma[Aa])}})};var Ma=mxUtils.getCurrentStyle(Ba),Ia=[];C("paddingTop","Padding Top");C("paddingRight","Padding Right");C("paddingLeft","Padding Left");C("paddingBottom","Padding Bottom");C("marginTop","Margin Top");C("marginRight",-"Margin Right");C("marginLeft","Margin Left");C("marginBottom","Margin Bottom");C=this.createPanel();this.addProperties(C,Ia,h,!0);null!=hb?hb.parentNode.replaceChild(C,hb):a.appendChild(C);hb=C}d.cellEditor.isTableSelected()?(f(fa,B(J.textAlign,"justify")),f(D,B(J.textAlign,"left")),f(F,B(J.textAlign,"center")),f(H,B(J.textAlign,"right"))):(C=d.cellEditor.align||mxUtils.getValue(h.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),B(J.textAlign,"justify")?(f(fa,B(J.textAlign,"justify")),f(D,-!1),f(F,!1),f(H,!1)):(f(fa,!1),f(D,C==mxConstants.ALIGN_LEFT),f(F,C==mxConstants.ALIGN_CENTER),f(H,C==mxConstants.ALIGN_RIGHT)));W=d.getParentByName(p,"TABLE",d.cellEditor.textarea);V=null==W?null:d.getParentByName(p,"TR",W);S=null==W?null:d.getParentByNames(p,["TD","TH"],W);Wa.style.display=null!=W?"":"none";document.activeElement!=oa&&(oa.value=isNaN(Y)?"":Y+" "+Editor.fontSizeUnit,"string"===typeof Q&&0<Q.indexOf("%")?Ea.value=Q.replace("%"," %"):(B=parseFloat(Q),isNaN(B)?Ea.value="120 %":Ea.value=+"Margin Right");C("marginLeft","Margin Left");C("marginBottom","Margin Bottom");C=this.createPanel();this.addProperties(C,Ia,h,!0);null!=hb?hb.parentNode.replaceChild(C,hb):a.appendChild(C);hb=C}d.cellEditor.isTableSelected()?(f(fa,B(J.textAlign,"justify")),f(D,B(J.textAlign,"left")),f(G,B(J.textAlign,"center")),f(H,B(J.textAlign,"right"))):(C=d.cellEditor.align||mxUtils.getValue(h.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),B(J.textAlign,"justify")?(f(fa,B(J.textAlign,"justify")),f(D,+!1),f(G,!1),f(H,!1)):(f(fa,!1),f(D,C==mxConstants.ALIGN_LEFT),f(G,C==mxConstants.ALIGN_CENTER),f(H,C==mxConstants.ALIGN_RIGHT)));W=d.getParentByName(p,"TABLE",d.cellEditor.textarea);V=null==W?null:d.getParentByName(p,"TR",W);S=null==W?null:d.getParentByNames(p,["TD","TH"],W);Wa.style.display=null!=W?"":"none";document.activeElement!=oa&&(oa.value=isNaN(Y)?"":Y+" "+Editor.fontSizeUnit,"string"===typeof Q&&0<Q.indexOf("%")?Ea.value=Q.replace("%"," %"):(B=parseFloat(Q),isNaN(B)?Ea.value="120 %":Ea.value=Math.round(100*B)+" %"));null!=ia&&(O=d.getTextColor(p,!0),ia(O,!0));null!=ca&&(la=d.getTextColor(p,!1),ca(la,!0));g.toolbar.setMenuText(u,mxUtils.getCssFontFamily(J.fontFamily))}}cb=!1}),0))});mxEvent.addListener(d.cellEditor.textarea,"input",l);mxEvent.addListener(d.cellEditor.textarea,"touchend",l);mxEvent.addListener(d.cellEditor.textarea,"mouseup",l);mxEvent.addListener(d.cellEditor.textarea,"keyup",l);this.listeners.push({destroy:function(){}});l()}return a};StyleFormatPanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(StyleFormatPanel,BaseFormatPanel);StyleFormatPanel.prototype.init=function(){var a=this.editorUi.getSelectionState();if(!a.containsLabel&&0<a.cells.length){a.containsImage&&1==a.vertices.length&&"image"==a.style.shape&&null!=a.style.image&&"data:image/svg+xml;"==String(a.style.image).substring(0,19)&&this.container.appendChild(this.addSvgStyles(this.createPanel()));a.fill&&this.container.appendChild(this.addFill(this.createPanel()));this.container.appendChild(this.addStroke(this.createPanel()));this.container.appendChild(this.addLineJumps(this.createPanel()));var b=this.createRelativeOption(mxResources.get("opacity"),mxConstants.STYLE_OPACITY);this.container.appendChild(b);this.container.appendChild(this.addEffects(this.createPanel()))}b=this.createPanel();1==a.cells.length&&(this.addEditOps(b),null!=b.firstChild&&mxUtils.br(b));1<=a.cells.length&&this.addStyleOps(b);null!=b.firstChild&&this.container.appendChild(b)};StyleFormatPanel.prototype.getCssRules=function(a){var b=document.implementation.createHTMLDocument(""),e=document.createElement("style");mxUtils.setTextContent(e,a);b.body.appendChild(e);return e.sheet.cssRules};StyleFormatPanel.prototype.addSvgStyles=function(a){var b=this.editorUi.getSelectionState();a.style.paddingTop="6px";a.style.paddingBottom="6px";a.style.fontWeight="bold";a.style.display="none";try{var e=b.style.editableCssRules;if(null!=e){var f=new RegExp(e),g=b.style.image.substring(b.style.image.indexOf(",")+1),d=window.atob?decodeURIComponent(escape(atob(g))):Base64.decode(g,!0),h=mxUtils.parseXml(d);if(null!=h){var l="light"==h.documentElement.style.colorScheme||"0"==mxUtils.getValue(b.style,-"darkMode",null),r=""==h.documentElement.style.colorScheme,k=h.getElementsByTagName("style");for(b=0;b<k.length;b++){var u=this.getCssRules(mxUtils.getTextContent(k[b]));for(e=0;e<u.length;e++)this.addSvgRule(a,u[e],h,k[b],u,e,f,l,r)}}}}catch(w){}return a};StyleFormatPanel.prototype.getColorSchemeFromCss=function(a){return(a=a.match(/color-scheme\s*:\s*([^;]+)/i))?a[1].trim():null};-StyleFormatPanel.prototype.addSvgRule=function(a,b,e,f,g,d,h,l,r){var k=this.editorUi,u=k.editor.graph;h.test(b.selectorText)&&(h=mxUtils.bind(this,function(w,y,A,G){var D=mxUtils.trim(w.style.getPropertyValue(y));if(""!=D&&"url("!=D.substring(0,4)){var F=D;"transparent"==F?F=mxConstants.NONE:(D=mxUtils.isLightDarkColor(F))&&G?G=!1:D||G||(F="light-dark("+F+", "+F+")");w=this.createColorOption(A+" "+w.selectorText,function(){return F},mxUtils.bind(this,function(H){g[d].style.setProperty(y,H==mxConstants.NONE?-"transparent":mxUtils.getLightDarkColor(H).cssText);H="";r&&mxUtils.isLightDarkColor(g[d].style[y])&&(e.documentElement.style.colorScheme="light dark");for(var M=0;M<g.length;M++)H+=g[M].cssText+" ";f.textContent=H;H=mxUtils.getXml(e.documentElement);u.setCellStyles(mxConstants.STYLE_IMAGE,"data:image/svg+xml,"+(window.btoa?btoa(unescape(encodeURIComponent(H))):Base64.encode(H,!0)),k.getSelectionState().cells)}),"#ffffff",{install:function(H){},destroy:function(){}},null,null,null,G);a.appendChild(w);+"darkMode",null),q=""==h.documentElement.style.colorScheme,k=h.getElementsByTagName("style");for(b=0;b<k.length;b++){var u=this.getCssRules(mxUtils.getTextContent(k[b]));for(e=0;e<u.length;e++)this.addSvgRule(a,u[e],h,k[b],u,e,f,l,q)}}}}catch(w){}return a};StyleFormatPanel.prototype.getColorSchemeFromCss=function(a){return(a=a.match(/color-scheme\s*:\s*([^;]+)/i))?a[1].trim():null};+StyleFormatPanel.prototype.addSvgRule=function(a,b,e,f,g,d,h,l,q){var k=this.editorUi,u=k.editor.graph;h.test(b.selectorText)&&(h=mxUtils.bind(this,function(w,y,A,F){var D=mxUtils.trim(w.style.getPropertyValue(y));if(""!=D&&"url("!=D.substring(0,4)){var G=D;"transparent"==G?G=mxConstants.NONE:(D=mxUtils.isLightDarkColor(G))&&F?F=!1:D||F||(G="light-dark("+G+", "+G+")");w=this.createColorOption(A+" "+w.selectorText,function(){return G},mxUtils.bind(this,function(H){g[d].style.setProperty(y,H==mxConstants.NONE?+"transparent":mxUtils.getLightDarkColor(H).cssText);H="";q&&mxUtils.isLightDarkColor(g[d].style[y])&&(e.documentElement.style.colorScheme="light dark");for(var M=0;M<g.length;M++)H+=g[M].cssText+" ";f.textContent=H;H=mxUtils.getXml(e.documentElement);u.setCellStyles(mxConstants.STYLE_IMAGE,"data:image/svg+xml,"+(window.btoa?btoa(unescape(encodeURIComponent(H))):Base64.encode(H,!0)),k.getSelectionState().cells)}),"#ffffff",{install:function(H){},destroy:function(){}},null,null,null,F);a.appendChild(w);a.style.display=""}}),h(b,"fill",mxResources.get("fill"),l),h(b,"stroke",mxResources.get("line"),l),h(b,"stop-color",mxResources.get("gradient"),l))};StyleFormatPanel.prototype.addEditOps=function(a){var b=this.editorUi.getSelectionState();if(1==b.cells.length){var e=document.createElement("select");e.style.position="relative";e.style.marginBottom="2px";e.className="geFullWidthElement";var f="edit copyAsText editLink editShape editImage editData copyData pasteData editConnectionPoints editGeometry editTooltip editStyle".split(" "),g=null;if(null!=this.editorUi.sidebar){var d=this.editorUi.sidebar.getKeyStyle(b.cells[0].style);g=this.editorUi.sidebar.getLibsForStyle(d);-null!=g||this.editorUi.sidebar.isSearchIndexLoaded()||null==b.style.shape||"mxgraph."!=String(b.style.shape).substring(0,8)||(g=[])}null!=g&&f.push("openLibrary");for(d=0;d<f.length;d++){var h=this.editorUi.actions.get(f[d]);if(null==h||h.enabled){var l=document.createElement("option");l.setAttribute("value",f[d]);var r=mxResources.get(f[d]);mxUtils.write(l,r);null!=h&&null!=h.shortcut&&(r+=" ("+h.shortcut+")");l.setAttribute("title",r);e.appendChild(l)}}1<e.children.length&&(a.appendChild(e),mxEvent.addListener(e,+null!=g||this.editorUi.sidebar.isSearchIndexLoaded()||null==b.style.shape||"mxgraph."!=String(b.style.shape).substring(0,8)||(g=[])}null!=g&&f.push("openLibrary");for(d=0;d<f.length;d++){var h=this.editorUi.actions.get(f[d]);if(null==h||h.enabled){var l=document.createElement("option");l.setAttribute("value",f[d]);var q=mxResources.get(f[d]);mxUtils.write(l,q);null!=h&&null!=h.shortcut&&(q+=" ("+h.shortcut+")");l.setAttribute("title",q);e.appendChild(l)}}1<e.children.length&&(a.appendChild(e),mxEvent.addListener(e,"change",mxUtils.bind(this,function(k){"openLibrary"==e.value?(null!=g&&0==g.length&&(this.editorUi.sidebar.updateSearchIndex(),k=this.editorUi.sidebar.getKeyStyle(b.cells[0].style),g=this.editorUi.sidebar.getLibsForStyle(k)),null!=g&&0<g.length?this.editorUi.sidebar.openLibraries(g):this.editorUi.handleError({message:mxResources.get("objectNotFound")}),e.value="edit"):(k=this.editorUi.actions.get(e.value),e.value="edit",null!=k&&k.funct())})),b.image&&(f=this.editorUi.editor.graph,f=f.view.getState(f.getSelectionCell()),null!=f&&null!=mxUtils.getValue(f.style,mxConstants.STYLE_IMAGE,null)&&(f=mxUtils.button(mxResources.get("crop")+"...",mxUtils.bind(this,function(k){this.editorUi.actions.get("crop").funct()})),f.setAttribute("title",mxResources.get("crop")),e.style.width="104px",f.style.width="104px",f.style.position="relative",f.style.top="-1px",f.style.marginLeft="2px",f.style.marginBottom="1px",a.appendChild(f))))}return a};-StyleFormatPanel.prototype.addFill=function(a){function b(){h.innerHTML="";A=1;for(var F=0;F<Editor.fillStyles.length;F++){var H=document.createElement("option");H.setAttribute("value",Editor.fillStyles[F].val);mxUtils.write(H,Editor.fillStyles[F].dispName);h.appendChild(H)}}var e=this.editorUi,f=e.editor.graph,g=e.getSelectionState(),d=document.createElement("select");d.style.position="absolute";d.style.left="76px";d.style.width="86px";var h=d.cloneNode(!1);mxEvent.addListener(d,"click",function(F){mxEvent.consume(F)});-mxEvent.addListener(h,"click",function(F){mxEvent.consume(F)});var l=this.createCellColorOption(mxResources.get("gradient"),mxConstants.STYLE_GRADIENTCOLOR,"default",function(F){d.style.display=null==F||F==mxConstants.NONE?"none":""},function(F){f.updateCellStyles({gradientColor:F},f.getSelectionCells())},f.getDefaultColor(g.style,mxConstants.STYLE_GRADIENTCOLOR,f.shapeForegroundColor,f.shapeBackgroundColor));l.style.fontWeight="bold";var r="image"==g.style.shape?mxConstants.STYLE_IMAGE_BACKGROUND:-mxConstants.STYLE_FILLCOLOR,k=this.createCellColorOption(mxResources.get("fill"),r,"default",null,mxUtils.bind(this,function(F){f.setCellStyles(r,F,g.cells)}),f.getDefaultColor(g.style,r,f.shapeBackgroundColor,f.shapeForegroundColor));k.style.fontWeight="bold";var u=mxUtils.getValue(g.style,r,null);l.style.display=null!=u&&u!=mxConstants.NONE&&g.fill&&"image"!=g.style.shape?"":"none";var w=[mxConstants.DIRECTION_NORTH,mxConstants.DIRECTION_EAST,mxConstants.DIRECTION_SOUTH,mxConstants.DIRECTION_WEST,-mxConstants.DIRECTION_RADIAL];for(u=0;u<w.length;u++){var y=document.createElement("option");y.setAttribute("value",w[u]);mxUtils.write(y,mxResources.get(w[u]));d.appendChild(y)}l.appendChild(d);var A;b();g.gradient&&k.appendChild(h);var G=mxUtils.bind(this,function(){g=e.getSelectionState();var F=mxUtils.getValue(g.style,mxConstants.STYLE_GRADIENT_DIRECTION,mxConstants.DIRECTION_SOUTH),H=mxUtils.getValue(g.style,"fillStyle","auto");""==F&&(F=mxConstants.DIRECTION_SOUTH);d.value=F;a.style.display=-g.fill?"":"none";F=mxUtils.getValue(g.style,r,null);if(g.fill&&null!=F&&F!=mxConstants.NONE&&"filledEdge"!=g.style.shape){if("1"==g.style.sketch){if(2!=A){h.innerHTML="";A=2;for(F=0;F<Editor.roughFillStyles.length;F++){var M=document.createElement("option");M.setAttribute("value",Editor.roughFillStyles[F].val);mxUtils.write(M,Editor.roughFillStyles[F].dispName);h.appendChild(M)}h.value="auto"}}else 1!=A&&b();h.value=H;h.value||(H="auto",h.value=H);h.style.display="1"==g.style.sketch||"none"==d.style.display?-"":"none";l.style.display=!g.gradient||g.containsImage||"1"==g.style.sketch&&"solid"!=H&&"auto"!=H?"none":""}else h.style.display="none",l.style.display="none"});f.getModel().addListener(mxEvent.CHANGE,G);this.listeners.push({destroy:function(){f.getModel().removeListener(G)}});G();mxEvent.addListener(d,"change",function(F){f.setCellStyles(mxConstants.STYLE_GRADIENT_DIRECTION,d.value,g.cells);e.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_GRADIENT_DIRECTION],"values",[d.value],-"cells",g.cells));mxEvent.consume(F)});mxEvent.addListener(h,"change",function(F){f.setCellStyles("fillStyle",h.value,g.cells);e.fireEvent(new mxEventObject("styleChanged","keys",["fillStyle"],"values",[h.value],"cells",g.cells));mxEvent.consume(F)});a.appendChild(k);a.appendChild(l);var D={};k=this.getCustomColors();for(u=0;u<k.length;u++)D[k[u].key]||(D[k[u].key]=!0,a.appendChild(this.createCellColorOption(k[u].title,k[u].key,k[u].defaultValue,null,null,k[u].defaultColorValue,k[u].undefinedColor,-!0)));k=mxUtils.bind(this,function(F,H,M){if(null!=F){F=F.split(",");H=null!=H?H.split(","):null;for(var N=0;N<F.length;N++)if(!D[F[N]]){D[F[N]]=!0;var K=null!=H?H[mxUtils.mod(N,H.length)]:null,T=null!=K?K:"default";a.appendChild(this.createCellColorOption(Editor.getLabelForStylename(F[N]),F[N],T,null,null,M,K,!0))}}});k(g.style.fillColorStyles,g.style.defaultFillColors,f.shapeBackgroundColor);k(g.style.strokeColorStyles,g.style.defaultStrokeColors,f.shapeForegroundColor);return a};+StyleFormatPanel.prototype.addFill=function(a){function b(){h.innerHTML="";A=1;for(var G=0;G<Editor.fillStyles.length;G++){var H=document.createElement("option");H.setAttribute("value",Editor.fillStyles[G].val);mxUtils.write(H,Editor.fillStyles[G].dispName);h.appendChild(H)}}var e=this.editorUi,f=e.editor.graph,g=e.getSelectionState(),d=document.createElement("select");d.style.position="absolute";d.style.left="76px";d.style.width="86px";var h=d.cloneNode(!1);mxEvent.addListener(d,"click",function(G){mxEvent.consume(G)});+mxEvent.addListener(h,"click",function(G){mxEvent.consume(G)});var l=this.createCellColorOption(mxResources.get("gradient"),mxConstants.STYLE_GRADIENTCOLOR,"default",function(G){d.style.display=null==G||G==mxConstants.NONE?"none":""},function(G){f.updateCellStyles({gradientColor:G},f.getSelectionCells())},f.getDefaultColor(g.style,mxConstants.STYLE_GRADIENTCOLOR,f.shapeForegroundColor,f.shapeBackgroundColor));l.style.fontWeight="bold";var q="image"==g.style.shape?mxConstants.STYLE_IMAGE_BACKGROUND:+mxConstants.STYLE_FILLCOLOR,k=this.createCellColorOption(mxResources.get("fill"),q,"default",null,mxUtils.bind(this,function(G){f.setCellStyles(q,G,g.cells)}),f.getDefaultColor(g.style,q,f.shapeBackgroundColor,f.shapeForegroundColor));k.style.fontWeight="bold";var u=mxUtils.getValue(g.style,q,null);l.style.display=null!=u&&u!=mxConstants.NONE&&g.fill&&"image"!=g.style.shape?"":"none";var w=[mxConstants.DIRECTION_NORTH,mxConstants.DIRECTION_EAST,mxConstants.DIRECTION_SOUTH,mxConstants.DIRECTION_WEST,+mxConstants.DIRECTION_RADIAL];for(u=0;u<w.length;u++){var y=document.createElement("option");y.setAttribute("value",w[u]);mxUtils.write(y,mxResources.get(w[u]));d.appendChild(y)}l.appendChild(d);var A;b();g.gradient&&k.appendChild(h);var F=mxUtils.bind(this,function(){g=e.getSelectionState();var G=mxUtils.getValue(g.style,mxConstants.STYLE_GRADIENT_DIRECTION,mxConstants.DIRECTION_SOUTH),H=mxUtils.getValue(g.style,"fillStyle","auto");""==G&&(G=mxConstants.DIRECTION_SOUTH);d.value=G;a.style.display=+g.fill?"":"none";G=mxUtils.getValue(g.style,q,null);if(g.fill&&null!=G&&G!=mxConstants.NONE&&"filledEdge"!=g.style.shape){if("1"==g.style.sketch){if(2!=A){h.innerHTML="";A=2;for(G=0;G<Editor.roughFillStyles.length;G++){var M=document.createElement("option");M.setAttribute("value",Editor.roughFillStyles[G].val);mxUtils.write(M,Editor.roughFillStyles[G].dispName);h.appendChild(M)}h.value="auto"}}else 1!=A&&b();h.value=H;h.value||(H="auto",h.value=H);h.style.display="1"==g.style.sketch||"none"==d.style.display?+"":"none";l.style.display=!g.gradient||g.containsImage||"1"==g.style.sketch&&"solid"!=H&&"auto"!=H?"none":""}else h.style.display="none",l.style.display="none"});f.getModel().addListener(mxEvent.CHANGE,F);this.listeners.push({destroy:function(){f.getModel().removeListener(F)}});F();mxEvent.addListener(d,"change",function(G){f.setCellStyles(mxConstants.STYLE_GRADIENT_DIRECTION,d.value,g.cells);e.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_GRADIENT_DIRECTION],"values",[d.value],+"cells",g.cells));mxEvent.consume(G)});mxEvent.addListener(h,"change",function(G){f.setCellStyles("fillStyle",h.value,g.cells);e.fireEvent(new mxEventObject("styleChanged","keys",["fillStyle"],"values",[h.value],"cells",g.cells));mxEvent.consume(G)});a.appendChild(k);a.appendChild(l);var D={};k=this.getCustomColors();for(u=0;u<k.length;u++)D[k[u].key]||(D[k[u].key]=!0,a.appendChild(this.createCellColorOption(k[u].title,k[u].key,k[u].defaultValue,null,null,k[u].defaultColorValue,k[u].undefinedColor,+!0)));k=mxUtils.bind(this,function(G,H,M){if(null!=G){G=G.split(",");H=null!=H?H.split(","):null;for(var N=0;N<G.length;N++)if(!D[G[N]]){D[G[N]]=!0;var K=null!=H?H[mxUtils.mod(N,H.length)]:null,T=null!=K?K:"default";a.appendChild(this.createCellColorOption(Editor.getLabelForStylename(G[N]),G[N],T,null,null,M,K,!0))}}});k(g.style.fillColorStyles,g.style.defaultFillColors,f.shapeBackgroundColor);k(g.style.strokeColorStyles,g.style.defaultStrokeColors,f.shapeForegroundColor);return a};StyleFormatPanel.prototype.getCustomColors=function(){var a=this.editorUi,b=a.editor.graph;a=a.getSelectionState();var e=[];if(null!=a.customProperties)for(var f in a.customProperties){var g=a.customProperties[f];if(null!=g&&g.primary&&("color"==g.type||"color"==g.subType)&&("function"!==typeof g.isVisible||g.isVisible(a,this))){var d="color"==g.subType?g.subDefVal:g.defVal;d=null!=d?d:b.shapeBackgroundColor;e.push({title:g.dispName,defaultValue:d,defaultColorValue:null!=g.defaultColor?g.defaultColor:d,undefinedColor:g.undefinedColor,key:g.name})}}a.swimlane&&(b=this.editorUi.editor.graph,e.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"default",defaultColorValue:b.shapeBackgroundColor}));return e};StyleFormatPanel.prototype.addDashPattern=function(a,b){var e=b.split(" ");if(2<=e.length){for(var f=0,g=0;g<e.length;g++)f+=parseInt(e[g]);b=Graph.createSvgImage(f,1,'<line transform="translate(0,1)" x1="0" y1="0" x2="'+f+'" y2="0" stroke-dasharray="'+b+'" stroke-width="2" stroke="black"/>',f,1);a.style.backgroundImage="url("+b.src+")";a.style.backgroundSize=f+"px 1px";a.style.backgroundRepeat="repeat-x"}else a.style.borderBottomStyle=b};StyleFormatPanel.prototype.addStroke=function(a){function b(O){var qa=document.createElement("div");mxUtils.write(qa,mxResources.get("custom"));qa.setAttribute("title",mxResources.get("custom"));qa.className="geStyleMenuItem";qa.style.textAlign="center";qa.style.display="block";qa.style.textOverflow="ellipsis";qa.style.overflow="hidden";qa.style.maxWidth=O+"px";qa.style.fontSize="12px";return qa}function e(O){var qa=g.fromUnit(parseFloat(K.value));qa=Math.min(999,Math.max(0,isNaN(qa)?1:qa));qa!=mxUtils.getValue(l.style,mxConstants.STYLE_STROKEWIDTH,1)&&(h.setCellStyles(mxConstants.STYLE_STROKEWIDTH,qa,l.cells),d.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_STROKEWIDTH],"values",[qa],"cells",l.cells)));K.value=g.inUnit(qa)+" "+g.getUnit();mxEvent.consume(O)}function f(O){var qa=g.fromUnit(parseFloat(T.value));qa=Math.min(999,Math.max(0,isNaN(qa)?1:qa));qa!=mxUtils.getValue(l.style,mxConstants.STYLE_STROKEWIDTH,1)&&(h.setCellStyles(mxConstants.STYLE_STROKEWIDTH,qa,l.cells),d.fireEvent(new mxEventObject("styleChanged",-"keys",[mxConstants.STYLE_STROKEWIDTH],"values",[qa],"cells",l.cells)));T.value=g.inUnit(qa)+" "+g.getUnit();mxEvent.consume(O)}var g=this,d=this.editorUi,h=d.editor.graph,l=d.getSelectionState(),r=document.createElement("div");r.className="geFormatEntry";l.stroke||(r.style.display="none");var k=document.createElement("select");k.style.position="absolute";k.style.left="72px";k.style.width="90px";for(var u=["sharp","rounded","curved"],w=0;w<u.length;w++){var y=document.createElement("option");y.setAttribute("value",+"keys",[mxConstants.STYLE_STROKEWIDTH],"values",[qa],"cells",l.cells)));T.value=g.inUnit(qa)+" "+g.getUnit();mxEvent.consume(O)}var g=this,d=this.editorUi,h=d.editor.graph,l=d.getSelectionState(),q=document.createElement("div");q.className="geFormatEntry";l.stroke||(q.style.display="none");var k=document.createElement("select");k.style.position="absolute";k.style.left="72px";k.style.width="90px";for(var u=["sharp","rounded","curved"],w=0;w<u.length;w++){var y=document.createElement("option");y.setAttribute("value",u[w]);mxUtils.write(y,mxResources.get(u[w]));k.appendChild(y)}mxEvent.addListener(k,"change",function(O){h.getModel().beginUpdate();try{var qa=[mxConstants.STYLE_ROUNDED,mxConstants.STYLE_CURVED],ja=["0","0"];"rounded"==k.value?ja=["1","0"]:"curved"==k.value&&(ja=["0","1"]);for(var va=0;va<qa.length;va++)h.setCellStyles(qa[va],ja[va],l.cells);d.fireEvent(new mxEventObject("styleChanged","keys",qa,"values",ja,"cells",l.cells))}finally{h.getModel().endUpdate()}mxEvent.consume(O)});mxEvent.addListener(k,"click",function(O){mxEvent.consume(O)});var A="image"==l.style.shape?mxConstants.STYLE_IMAGE_BORDER:mxConstants.STYLE_STROKECOLOR;u="image"==l.style.shape?mxResources.get("border"):mxResources.get("line");w=this.createCellColorOption(u,A,"default",null,mxUtils.bind(this,function(O){h.setCellStyles(A,O,l.cells);if(null==O||O==mxConstants.NONE){O=[];for(var qa=0;qa<l.cells.length;qa++)(h.isTableCell(l.cells[qa])||h.isTableRow(l.cells[qa]))&&O.push(l.cells[qa]);0<O.length&&h.setCellStyles(A,"inherit",-O)}}),h.shapeForegroundColor);w.style.fontWeight="bold";w.appendChild(k);var G=r.cloneNode(!1);G.style.position="relative";var D=mxUtils.bind(this,function(O,qa,ja,va,za){O=this.editorUi.menus.styleChange(O,"",va,za,"");va=document.createElement("div");this.addDashPattern(va,ja);O.firstChild.firstChild.className="geStyleMenuItem";O.firstChild.firstChild.style.width=qa+"px";O.firstChild.firstChild.appendChild(va);return O}),F=[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],H=d.toolbar.addMenu(new Menu(mxUtils.bind(this,-function(O){D(O,110,"solid",F,[null,null]).setAttribute("title",mxResources.get("solid"));D(O,110,"dashed",F,["1",null]).setAttribute("title",mxResources.get("dashed")+" (1)");D(O,110,"8 8",F,["1","8 8"]).setAttribute("title",mxResources.get("dashed")+" (2)");D(O,110,"12 12",F,["1","12 12"]).setAttribute("title",mxResources.get("dashed")+" (3)");D(O,110,"8 4 1 4",F,["1","8 4 1 4"]).setAttribute("title",mxResources.get("dashed")+" (4)");D(O,110,"dotted",F,["1","1 1"]).setAttribute("title",mxResources.get("dotted")+-" (1)");D(O,110,"1 2",F,["1","1 2"]).setAttribute("title",mxResources.get("dotted")+" (2)");D(O,110,"1 4",F,["1","1 4"]).setAttribute("title",mxResources.get("dotted")+" (3)");O.addItem("",null,mxUtils.bind(this,function(){d.prompt(mxResources.get("pattern"),mxUtils.getValue(l.style,mxConstants.STYLE_DASH_PATTERN,"8 4 1 4"),mxUtils.bind(this,function(qa){d.menus.createStyleChangeFunction(F,["1",qa])()}),!0)})).firstChild.appendChild(b(110))})),"",null,G),M=G.cloneNode(!1),N=d.toolbar.addMenu(new Menu(mxUtils.bind(this,+O)}}),h.shapeForegroundColor);w.style.fontWeight="bold";w.appendChild(k);var F=q.cloneNode(!1);F.style.position="relative";var D=mxUtils.bind(this,function(O,qa,ja,va,ya){O=this.editorUi.menus.styleChange(O,"",va,ya,"");va=document.createElement("div");this.addDashPattern(va,ja);O.firstChild.firstChild.className="geStyleMenuItem";O.firstChild.firstChild.style.width=qa+"px";O.firstChild.firstChild.appendChild(va);return O}),G=[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],H=d.toolbar.addMenu(new Menu(mxUtils.bind(this,+function(O){D(O,110,"solid",G,[null,null]).setAttribute("title",mxResources.get("solid"));D(O,110,"dashed",G,["1",null]).setAttribute("title",mxResources.get("dashed")+" (1)");D(O,110,"8 8",G,["1","8 8"]).setAttribute("title",mxResources.get("dashed")+" (2)");D(O,110,"12 12",G,["1","12 12"]).setAttribute("title",mxResources.get("dashed")+" (3)");D(O,110,"8 4 1 4",G,["1","8 4 1 4"]).setAttribute("title",mxResources.get("dashed")+" (4)");D(O,110,"dotted",G,["1","1 1"]).setAttribute("title",mxResources.get("dotted")++" (1)");D(O,110,"1 2",G,["1","1 2"]).setAttribute("title",mxResources.get("dotted")+" (2)");D(O,110,"1 4",G,["1","1 4"]).setAttribute("title",mxResources.get("dotted")+" (3)");O.addItem("",null,mxUtils.bind(this,function(){d.prompt(mxResources.get("pattern"),mxUtils.getValue(l.style,mxConstants.STYLE_DASH_PATTERN,"8 4 1 4"),mxUtils.bind(this,function(qa){d.menus.createStyleChangeFunction(G,["1",qa])()}),!0)})).firstChild.appendChild(b(110))})),"",null,F),M=F.cloneNode(!1),N=d.toolbar.addMenu(new Menu(mxUtils.bind(this,function(O){var qa=[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,mxConstants.STYLE_DASHED,"width"];Format.processMenuIcon(this.editorUi.menus.styleChange(O,"",qa,[null,null,null,null,null],"",null,null,null,!0,Format.connectionImage.src)).setAttribute("title",mxResources.get("line"));Format.processMenuIcon(this.editorUi.menus.styleChange(O,"",qa,["link",null,null,null,null],"",null,null,null,!0,Format.linkEdgeImage.src)).setAttribute("title",mxResources.get("link"));Format.processMenuIcon(this.editorUi.menus.styleChange(O,"",qa,["flexArrow",null,null,null,null],"",null,null,null,!0,Format.arrowImage.src)).setAttribute("title",mxResources.get("arrow"));Format.processMenuIcon(this.editorUi.menus.styleChange(O,"",qa,["arrow",null,null,null,null],"",null,null,null,!0,Format.simpleArrowImage.src)).setAttribute("title",mxResources.get("simpleArrow"));Format.processMenuIcon(this.editorUi.menus.styleChange(O,"",qa,["filledEdge",null,null,null,null],"",null,null,null,!0,Format.filledEdgeImage.src)).setAttribute("title","Filled Edge");Format.processMenuIcon(this.editorUi.menus.styleChange(O,"",qa,["pipe",null,null,null,null],"",null,null,null,!0,Format.pipeEdgeImage.src)).setAttribute("title","Pipe");Format.processMenuIcon(this.editorUi.menus.styleChange(O,"",qa,["wire",null,null,"1",null],"",null,null,null,!0,Format.wireEdgeImage.src)).setAttribute("title","Wire")})),"",null,M);N.setAttribute("title",mxResources.get("connection"));y=d.toolbar.addMenu(new Menu(mxUtils.bind(this,-function(O){D(O,44,"solid",F,[null,null]).setAttribute("title",mxResources.get("solid"));D(O,44,"dashed",F,["1",null]).setAttribute("title",mxResources.get("dashed")+" (1)");D(O,44,"8 8",F,["1","8 8"]).setAttribute("title",mxResources.get("dashed")+" (2)");D(O,44,"12 12",F,["1","12 12"]).setAttribute("title",mxResources.get("dashed")+" (3)");D(O,44,"8 4 1 4",F,["1","8 4 1 4"]).setAttribute("title",mxResources.get("dashed")+" (4)");D(O,44,"dotted",F,["1","1 1"]).setAttribute("title",mxResources.get("dotted")+-" (1)");D(O,44,"1 2",F,["1","1 2"]).setAttribute("title",mxResources.get("dotted")+" (2)");D(O,44,"1 4",F,["1","1 4"]).setAttribute("title",mxResources.get("dotted")+" (3)");O.addItem("",null,mxUtils.bind(this,function(){d.prompt(mxResources.get("pattern"),mxUtils.getValue(l.style,mxConstants.STYLE_DASH_PATTERN,"8 4 1 4"),mxUtils.bind(this,function(qa){d.menus.createStyleChangeFunction(F,["1",qa])()}),!0)})).firstChild.appendChild(b(44))})),"",null,M);u=G.cloneNode(!1);var K=document.createElement("input");-K.style.position="absolute";K.style.width="52px";K.style.left="148px";K.setAttribute("title",mxResources.get("linewidth"));G.appendChild(K);var T=K.cloneNode(!0);T.style.width="56px";T.style.left="144px";M.appendChild(T);var W=this.createStepper(K,e,this.getUnitStep(),null,null,this.isFloatUnit());W.style.display=K.style.display;G.appendChild(W);W=this.createStepper(T,f,this.getUnitStep(),null,null,this.isFloatUnit());W.style.display=T.style.display;M.appendChild(W);mxEvent.addListener(K,"blur",e);+function(O){D(O,44,"solid",G,[null,null]).setAttribute("title",mxResources.get("solid"));D(O,44,"dashed",G,["1",null]).setAttribute("title",mxResources.get("dashed")+" (1)");D(O,44,"8 8",G,["1","8 8"]).setAttribute("title",mxResources.get("dashed")+" (2)");D(O,44,"12 12",G,["1","12 12"]).setAttribute("title",mxResources.get("dashed")+" (3)");D(O,44,"8 4 1 4",G,["1","8 4 1 4"]).setAttribute("title",mxResources.get("dashed")+" (4)");D(O,44,"dotted",G,["1","1 1"]).setAttribute("title",mxResources.get("dotted")++" (1)");D(O,44,"1 2",G,["1","1 2"]).setAttribute("title",mxResources.get("dotted")+" (2)");D(O,44,"1 4",G,["1","1 4"]).setAttribute("title",mxResources.get("dotted")+" (3)");O.addItem("",null,mxUtils.bind(this,function(){d.prompt(mxResources.get("pattern"),mxUtils.getValue(l.style,mxConstants.STYLE_DASH_PATTERN,"8 4 1 4"),mxUtils.bind(this,function(qa){d.menus.createStyleChangeFunction(G,["1",qa])()}),!0)})).firstChild.appendChild(b(44))})),"",null,M);u=F.cloneNode(!1);var K=document.createElement("input");+K.style.position="absolute";K.style.width="52px";K.style.left="148px";K.setAttribute("title",mxResources.get("linewidth"));F.appendChild(K);var T=K.cloneNode(!0);T.style.width="56px";T.style.left="144px";M.appendChild(T);var W=this.createStepper(K,e,this.getUnitStep(),null,null,this.isFloatUnit());W.style.display=K.style.display;F.appendChild(W);W=this.createStepper(T,f,this.getUnitStep(),null,null,this.isFloatUnit());W.style.display=T.style.display;M.appendChild(W);mxEvent.addListener(K,"blur",e);mxEvent.addListener(K,"change",e);mxEvent.addListener(T,"blur",f);mxEvent.addListener(T,"change",f);var S=d.toolbar.addMenu(new Menu(mxUtils.bind(this,function(O){"arrow"!=l.style.shape&&(Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(O,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],[null,null,null],null,null,!0,Format.straightImage.src)).setAttribute("title",mxResources.get("straight")),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(O,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle",null,null],null,null,!0,Format.orthogonalImage.src)).setAttribute("title",mxResources.get("orthogonal")),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(O,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle",null,null,null],null,null,!0,Format.horizontalElbowImage.src)).setAttribute("title",mxResources.get("vertical")),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(O,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle","vertical",null,null],null,null,!0,Format.verticalElbowImage.src)).setAttribute("title",mxResources.get("horizontal")),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(O,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",null,null,@@ -3281,13 +3281,13 @@ l.style.shape)),"scaleX(-1)").setAttribute("title",mxResources.get("copy"));Form"",[mxConstants.STYLE_ENDARROW,"endFill"],["ERzeroToMany",0],null,null,!1,Format.ERzeroToManyMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(O,"",[mxConstants.STYLE_ENDARROW,"endFill"],["doubleBlock",0],null,null,!1,Format.doubleBlockMarkerImage.src),"scaleX(-1)"),Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(O,"",[mxConstants.STYLE_ENDARROW,"endFill"],["doubleBlock",1],null,null,!1,Format.doubleBlockFilledMarkerImage.src),"scaleX(-1)")):Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(O,"",[mxConstants.STYLE_ENDARROW],[mxConstants.ARROW_BLOCK],null,null,!1,Format.blockMarkerImage.src),"scaleX(-1)").setAttribute("title",mxResources.get("block"));O.div.style.width="40px";window.setTimeout(mxUtils.bind(this,function(){null!=O.div&&mxUtils.fit(O.div)}),0)}})),"",null,u);N.style.width="67px";N.style.marginRight="2px";y.style.width="67px";y.style.marginRight="2px";S.style.width="67px";S.style.marginRight="2px";V.style.width="67px";V.style.marginRight="2px";fa.style.width="67px";fa.style.marginRight="2px";this.addArrow(N).appendChild(document.createElement("div"));this.addArrow(S).appendChild(document.createElement("div"));this.addArrow(V);this.addArrow(fa);H.style.width="142px";H=this.addArrow(H);y=this.addArrow(y);var P=document.createElement("div");P.className="gePatternPreview";P.style.width="100px";P.style.borderBottomStyle="solid";H.appendChild(P);var Z=document.createElement("div");Z.className="gePatternPreview";Z.style.width="36px";Z.style.borderBottomStyle="solid";y.appendChild(Z);a.appendChild(w);-a.appendChild(M);a.appendChild(G);w=G.cloneNode(!1);w.style.display="block";w.style.height="60px";w.style.paddingTop="2px";y=document.createElement("div");y.style.position="absolute";y.style.maxWidth="78px";y.style.overflow="hidden";y.style.textOverflow="ellipsis";y.style.marginTop="4px";y.style.fontWeight="normal";mxUtils.write(y,mxResources.get("size"));w.appendChild(y);var X=this.addUnitInput(w,this.getUnit(),82,52,function(){ma.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),+a.appendChild(M);a.appendChild(F);w=F.cloneNode(!1);w.style.display="block";w.style.height="60px";w.style.paddingTop="2px";y=document.createElement("div");y.style.position="absolute";y.style.maxWidth="78px";y.style.overflow="hidden";y.style.textOverflow="ellipsis";y.style.marginTop="4px";y.style.fontWeight="normal";mxUtils.write(y,mxResources.get("size"));w.appendChild(y);var X=this.addUnitInput(w,this.getUnit(),82,52,function(){ma.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),ba=this.addUnitInput(w,this.getUnit(),16,52,function(){ca.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(w);H=document.createElement("div");H.style.height="8px";w.appendChild(H);y=y.cloneNode(!1);mxUtils.write(y,mxResources.get("spacing"));w.appendChild(y);var L=this.addUnitInput(w,this.getUnit(),82,52,function(){oa.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),U=this.addUnitInput(w,this.getUnit(),16,52,function(){la.apply(this,arguments)},-this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(w);this.addLabel(w,mxResources.get("linestart"),82,62).style.fontSize="10px";this.addLabel(w,mxResources.get("lineend"),16,62).style.fontSize="10px";mxUtils.br(w);r=r.cloneNode(!1);r.className="geFormatEntry";y=document.createElement("div");mxUtils.write(y,mxResources.get("perimeter"));r.appendChild(y);var aa=this.addUnitInput(r,this.getUnit(),16,52,function(){ia.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());l.edges.length==-l.cells.length?(a.appendChild(u),a.appendChild(w)):l.vertices.length==l.cells.length&&a.appendChild(r);var ha=mxUtils.bind(this,function(O,qa,ja){function va(za,La,Na,Ja){Na=Na.getElementsByTagName("div")[0];null!=Na&&d.updateCssForMarker(Na,Ja,l.style.shape,za,La);return Na}l=d.getSelectionState();if(ja||document.activeElement!=K)O=parseFloat(mxUtils.getValue(l.style,mxConstants.STYLE_STROKEWIDTH,1)),K.value=isNaN(O)?"":this.inUnit(O)+" "+this.getUnit();if(ja||document.activeElement!=T)O=parseFloat(mxUtils.getValue(l.style,+this.getUnitStep(),null,null,this.isFloatUnit());mxUtils.br(w);this.addLabel(w,mxResources.get("linestart"),82,62).style.fontSize="10px";this.addLabel(w,mxResources.get("lineend"),16,62).style.fontSize="10px";mxUtils.br(w);q=q.cloneNode(!1);q.className="geFormatEntry";y=document.createElement("div");mxUtils.write(y,mxResources.get("perimeter"));q.appendChild(y);var aa=this.addUnitInput(q,this.getUnit(),16,52,function(){ia.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());l.edges.length==+l.cells.length?(a.appendChild(u),a.appendChild(w)):l.vertices.length==l.cells.length&&a.appendChild(q);var ha=mxUtils.bind(this,function(O,qa,ja){function va(ya,La,Na,Ja){Na=Na.getElementsByTagName("div")[0];null!=Na&&d.updateCssForMarker(Na,Ja,l.style.shape,ya,La);return Na}l=d.getSelectionState();if(ja||document.activeElement!=K)O=parseFloat(mxUtils.getValue(l.style,mxConstants.STYLE_STROKEWIDTH,1)),K.value=isNaN(O)?"":this.inUnit(O)+" "+this.getUnit();if(ja||document.activeElement!=T)O=parseFloat(mxUtils.getValue(l.style,mxConstants.STYLE_STROKEWIDTH,1)),T.value=isNaN(O)?"":this.inUnit(O)+" "+this.getUnit();k.style.visibility="connector"==l.style.shape||"filledEdge"==l.style.shape||"wire"==l.style.shape||"pipe"==l.style.shape?"":"hidden";"1"==mxUtils.getValue(l.style,mxConstants.STYLE_CURVED,null)?k.value="curved":"1"==mxUtils.getValue(l.style,mxConstants.STYLE_ROUNDED,null)&&(k.value="rounded");P.style.borderBottom="1px solid black";"1"==mxUtils.getValue(l.style,mxConstants.STYLE_DASHED,null)&&(O=mxUtils.getValue(l.style,mxConstants.STYLE_DASH_PATTERN,""),2<=String(O).split(" ").length?(P.style.borderBottom="1px solid transparent",this.addDashPattern(P,O)):P.style.borderBottom="1px dashed black");Z.style.backgroundImage=P.style.backgroundImage;Z.style.backgroundPosition=P.style.backgroundPosition;Z.style.backgroundSize=P.style.backgroundSize;Z.style.backgroundRepeat=P.style.backgroundRepeat;Z.style.borderBottom=P.style.borderBottom;O=S.getElementsByTagName("div")[1];null!=O&&(O.style.backgroundImage="url("+d.getImageForEdgeStyle(l.style)+-")");O=N.getElementsByTagName("div")[1];null!=O&&(O.style.backgroundImage="url("+d.getImageForEdgeShape(l.style)+")");l.edges.length==l.cells.length?(M.style.display="",G.style.display="none"):(M.style.display="none",G.style.display="");Graph.lineJumpsEnabled&&0<l.edges.length&&0==l.vertices.length&&l.lineJumps&&(a.style.borderBottomStyle="none");va(mxUtils.getValue(l.style,mxConstants.STYLE_STARTARROW,null),mxUtils.getValue(l.style,"startFill","1"),V,"start");va(mxUtils.getValue(l.style,mxConstants.STYLE_ENDARROW,+")");O=N.getElementsByTagName("div")[1];null!=O&&(O.style.backgroundImage="url("+d.getImageForEdgeShape(l.style)+")");l.edges.length==l.cells.length?(M.style.display="",F.style.display="none"):(M.style.display="none",F.style.display="");Graph.lineJumpsEnabled&&0<l.edges.length&&0==l.vertices.length&&l.lineJumps&&(a.style.borderBottomStyle="none");va(mxUtils.getValue(l.style,mxConstants.STYLE_STARTARROW,null),mxUtils.getValue(l.style,"startFill","1"),V,"start");va(mxUtils.getValue(l.style,mxConstants.STYLE_ENDARROW,null),mxUtils.getValue(l.style,"endFill","1"),fa,"end");mxUtils.setOpacity(S,"arrow"==l.style.shape?30:100);"connector"!=l.style.shape&&"flexArrow"!=l.style.shape&&"filledEdge"!=l.style.shape&&"wire"!=l.style.shape&&"pipe"!=l.style.shape&&(mxUtils.setOpacity(V,30),mxUtils.setOpacity(fa,30));if(ja||document.activeElement!=X)O=parseInt(mxUtils.getValue(l.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE)),X.value=isNaN(O)?"":this.inUnit(O)+" "+this.getUnit();if(ja||document.activeElement!=L)O=parseInt(mxUtils.getValue(l.style,mxConstants.STYLE_SOURCE_PERIMETER_SPACING,0)),L.value=isNaN(O)?"":this.inUnit(O)+" "+this.getUnit();if(ja||document.activeElement!=ba)O=parseInt(mxUtils.getValue(l.style,mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE)),ba.value=isNaN(O)?"":this.inUnit(O)+" "+this.getUnit();if(ja||document.activeElement!=L)O=parseInt(mxUtils.getValue(l.style,mxConstants.STYLE_TARGET_PERIMETER_SPACING,0)),U.value=isNaN(O)?"":this.inUnit(O)+" "+this.getUnit();if(ja||document.activeElement!=aa)O=parseInt(mxUtils.getValue(l.style,mxConstants.STYLE_PERIMETER_SPACING,0)),aa.value=isNaN(O)?"":this.inUnit(O)+" "+this.getUnit()});var ma=this.installInputHandler(X,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE,0,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var oa=this.installInputHandler(L,mxConstants.STYLE_SOURCE_PERIMETER_SPACING,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var ca=this.installInputHandler(ba,mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE,@@ -3295,35 +3295,35 @@ aa)O=parseInt(mxUtils.getValue(l.style,mxConstants.STYLE_PERIMETER_SPACING,0)),aha);this.listeners.push({destroy:function(){h.getModel().removeListener(ha)}});ha();return a};StyleFormatPanel.prototype.addLineJumps=function(a){var b=this.editorUi,e=b.editor.graph,f=b.getSelectionState();a.style.height="22px";if(Graph.lineJumpsEnabled&&0<f.edges.length&&0==f.vertices.length&&f.lineJumps){a.style.display="flex";a.style.alignItems="center";var g=document.createElement("div");g.style.position="absolute";g.style.maxWidth="72px";g.style.overflow="hidden";g.style.textOverflow="ellipsis";mxUtils.write(g,mxResources.get("lineJumps"));a.appendChild(g);var d=document.createElement("select");d.style.left="72px";d.style.width="72px";g=["none","arc","gap","sharp","line"];for(var h=0;h<g.length;h++){var l=document.createElement("option");l.setAttribute("value",g[h]);mxUtils.write(l,mxResources.get(g[h]));d.appendChild(l)}mxEvent.addListener(d,"change",function(w){e.getModel().beginUpdate();try{e.setCellStyles("jumpStyle",d.value,f.cells),b.fireEvent(new mxEventObject("styleChanged","keys",["jumpStyle"],"values",[d.value],"cells",f.cells))}finally{e.getModel().endUpdate()}mxEvent.consume(w)});-mxEvent.addListener(d,"click",function(w){mxEvent.consume(w)});a.appendChild(d);var r=this.addUnitInput(a,this.getUnit(),16,52,function(){k.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());var k=this.installInputHandler(r,"jumpSize",Graph.defaultJumpSize,0,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var u=mxUtils.bind(this,function(w,y,A){f=b.getSelectionState();d.value=mxUtils.getValue(f.style,"jumpStyle","none");if(A||document.activeElement!=r)w=parseInt(mxUtils.getValue(f.style,-"jumpSize",Graph.defaultJumpSize)),r.value=isNaN(w)?"":this.inUnit(w)+" "+this.getUnit()});this.addKeyHandler(r,u);e.getModel().addListener(mxEvent.CHANGE,u);this.listeners.push({destroy:function(){e.getModel().removeListener(u)}});u()}else a.style.display="none";return a};-StyleFormatPanel.prototype.addEffects=function(a){var b=this.editorUi,e=b.editor.graph,f=b.getSelectionState(),g=document.createElement("table");g.className="geFullWidthElement";g.style.fontWeight="bold";g.style.tableLayout="fixed";var d=document.createElement("tbody"),h=document.createElement("tr");h.style.padding="0px";var l=document.createElement("td");l.style.padding="0px";l.style.width="50%";l.style.verticalAlign="top";var r=l.cloneNode(!0);r.style.paddingLeft="8px";h.appendChild(l);h.appendChild(r);-d.appendChild(h);g.appendChild(d);a.appendChild(g);var k=l,u=mxUtils.bind(this,function(y,A,G,D){y=this.createCellOption(y,A,G,null,null,D);y.style.alignItems="top";k.appendChild(y);k=k==l?r:l;return y}),w=mxUtils.bind(this,function(y,A,G){f=b.getSelectionState();l.innerText="";r.innerText="";k=l;f.rounded&&u(mxResources.get("rounded"),mxConstants.STYLE_ROUNDED,0);f.swimlane&&u(mxResources.get("divider"),"swimlaneLine",1);u(mxResources.get("sketch"),"sketch",0,function(F,H){e.updateCellStyles({sketch:H?-"1":null,curveFitting:H?Editor.sketchDefaultCurveFitting:null,jiggle:H?Editor.sketchDefaultJiggle:null},F)});f.glass&&u(mxResources.get("glass"),mxConstants.STYLE_GLASS,0);y=u(mxResources.get("shadow"),mxConstants.STYLE_SHADOW,0);Editor.enableShadowOption||(y.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),mxUtils.setOpacity(y,60));0<f.edges.length&&0==f.vertices.length&&u(mxResources.get("flowAnimation",null,"Flow Animation"),"flowAnimation",0);if(null!=f.customProperties)for(var D in f.customProperties)y=+mxEvent.addListener(d,"click",function(w){mxEvent.consume(w)});a.appendChild(d);var q=this.addUnitInput(a,this.getUnit(),16,52,function(){k.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());var k=this.installInputHandler(q,"jumpSize",Graph.defaultJumpSize,0,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var u=mxUtils.bind(this,function(w,y,A){f=b.getSelectionState();d.value=mxUtils.getValue(f.style,"jumpStyle","none");if(A||document.activeElement!=q)w=parseInt(mxUtils.getValue(f.style,+"jumpSize",Graph.defaultJumpSize)),q.value=isNaN(w)?"":this.inUnit(w)+" "+this.getUnit()});this.addKeyHandler(q,u);e.getModel().addListener(mxEvent.CHANGE,u);this.listeners.push({destroy:function(){e.getModel().removeListener(u)}});u()}else a.style.display="none";return a};+StyleFormatPanel.prototype.addEffects=function(a){var b=this.editorUi,e=b.editor.graph,f=b.getSelectionState(),g=document.createElement("table");g.className="geFullWidthElement";g.style.fontWeight="bold";g.style.tableLayout="fixed";var d=document.createElement("tbody"),h=document.createElement("tr");h.style.padding="0px";var l=document.createElement("td");l.style.padding="0px";l.style.width="50%";l.style.verticalAlign="top";var q=l.cloneNode(!0);q.style.paddingLeft="8px";h.appendChild(l);h.appendChild(q);+d.appendChild(h);g.appendChild(d);a.appendChild(g);var k=l,u=mxUtils.bind(this,function(y,A,F,D){y=this.createCellOption(y,A,F,null,null,D);y.style.alignItems="top";k.appendChild(y);k=k==l?q:l;return y}),w=mxUtils.bind(this,function(y,A,F){f=b.getSelectionState();l.innerText="";q.innerText="";k=l;f.rounded&&u(mxResources.get("rounded"),mxConstants.STYLE_ROUNDED,0);f.swimlane&&u(mxResources.get("divider"),"swimlaneLine",1);u(mxResources.get("sketch"),"sketch",0,function(G,H){e.updateCellStyles({sketch:H?+"1":null,curveFitting:H?Editor.sketchDefaultCurveFitting:null,jiggle:H?Editor.sketchDefaultJiggle:null},G)});f.glass&&u(mxResources.get("glass"),mxConstants.STYLE_GLASS,0);y=u(mxResources.get("shadow"),mxConstants.STYLE_SHADOW,0);Editor.enableShadowOption||(y.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),mxUtils.setOpacity(y,60));0<f.edges.length&&0==f.vertices.length&&u(mxResources.get("flowAnimation",null,"Flow Animation"),"flowAnimation",0);if(null!=f.customProperties)for(var D in f.customProperties)y=f.customProperties[D],null!=y&&"bool"==y.type&&y.primary&&("function"!==typeof y.isVisible||y.isVisible(f,this))&&u(y.dispName,D,y.defVal?"1":"0")});e.getModel().addListener(mxEvent.CHANGE,w);this.listeners.push({destroy:function(){e.getModel().removeListener(w)}});w();return a};StyleFormatPanel.prototype.addStyleOps=function(a){1==this.editorUi.getSelectionState().cells.length&&this.addActions(a,["setAsDefaultStyle"]);return a};DiagramStylePanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(DiagramStylePanel,BaseFormatPanel);DiagramStylePanel.prototype.init=function(){this.container.appendChild(this.addView(this.createPanel()))};DiagramStylePanel.prototype.getGlobalStyleButtons=function(){var a=this.editorUi,b=a.editor.graph,e=document.createElement("div");e.className="geFormatEntry";var f=document.createElement("input");f.setAttribute("type","checkbox");f.checked=Editor.sketchMode;e.appendChild(f);mxUtils.write(e,mxResources.get("sketch"));mxEvent.addListener(e,"click",function(d){if(b.isEnabled()){var h=!Editor.sketchMode;b.updateCellStyles({sketch:h?"1":null,curveFitting:h?Editor.sketchDefaultCurveFitting:null,jiggle:h?-Editor.sketchDefaultJiggle:null},b.getVerticesAndEdges());a.setSketchMode(h);mxEvent.consume(d)}});e=[e,mxUtils.button(mxResources.get("rounded"),mxUtils.bind(this,function(d){var h=b.getVerticesAndEdges(),l=!0;if(0<h.length)for(var r=0;r<h.length;r++){var k=b.getCellStyle(h[r]);if(0==mxUtils.getValue(k,mxConstants.STYLE_ROUNDED,0)){l=!1;break}}l=!l;b.updateCellStyles({rounded:l?"1":"0"},h);l?(b.currentEdgeStyle.rounded="1",b.currentVertexStyle.rounded="1"):(delete b.currentEdgeStyle.rounded,delete b.currentVertexStyle.rounded);+Editor.sketchDefaultJiggle:null},b.getVerticesAndEdges());a.setSketchMode(h);mxEvent.consume(d)}});e=[e,mxUtils.button(mxResources.get("rounded"),mxUtils.bind(this,function(d){var h=b.getVerticesAndEdges(),l=!0;if(0<h.length)for(var q=0;q<h.length;q++){var k=b.getCellStyle(h[q]);if(0==mxUtils.getValue(k,mxConstants.STYLE_ROUNDED,0)){l=!1;break}}l=!l;b.updateCellStyles({rounded:l?"1":"0"},h);l?(b.currentEdgeStyle.rounded="1",b.currentVertexStyle.rounded="1"):(delete b.currentEdgeStyle.rounded,delete b.currentVertexStyle.rounded);mxEvent.consume(d)}))];if(!b.isEnabled())for(f=0;f<e.length;f++)if("BUTTON"==e[f].nodeName)e[f].setAttribute("disabled","disabled");else{var g=e[f].getElementsByTagName("input");0<g.length&&g[0].setAttribute("disabled","disabled")}return e};-DiagramStylePanel.prototype.addView=function(a){var b=this.editorUi,e=b.editor.graph,f=document.createElement("div");f.className="geFormatEntry";if(e.isEnabled()){var g=document.createElement("table");g.style.tableLayout="fixed";g.style.width="204px";var d=document.createElement("tbody"),h=document.createElement("tr"),l=document.createElement("td"),r=l.cloneNode(!0),k=document.createElement("div");k.style.display="inline-block";k.style.boxSizing="border-box";k.style.overflow="hidden";k.style.textOverflow=+DiagramStylePanel.prototype.addView=function(a){var b=this.editorUi,e=b.editor.graph,f=document.createElement("div");f.className="geFormatEntry";if(e.isEnabled()){var g=document.createElement("table");g.style.tableLayout="fixed";g.style.width="204px";var d=document.createElement("tbody"),h=document.createElement("tr"),l=document.createElement("td"),q=l.cloneNode(!0),k=document.createElement("div");k.style.display="inline-block";k.style.boxSizing="border-box";k.style.overflow="hidden";k.style.textOverflow="ellipsis";var u=mxResources.get("adaptiveColors");l.setAttribute("title",u);mxUtils.write(k,u);l.appendChild(k);mxUtils.lightDarkColorSupported?(k.style.width="75%",k=document.createElement("img"),k.setAttribute("title",mxResources.get("light")+"/"+mxResources.get("dark")),k.setAttribute("src",Editor.contrastImage),k.className="geButton",k.style.width="18px",k.style.height="18px",k.style.verticalAlign="bottom",l.appendChild(k),mxEvent.addListener(k,"click",function(){e.isEnabled()&&b.setDarkMode(!Editor.isDarkMode())})):k.style.width="100%";var w=document.createElement("select");w.style.width="82px";k=document.createElement("option");k.setAttribute("title",mxResources.get("default")+" ("+mxResources.get(Graph.getDefaultAdaptiveColorsKey())+")");mxUtils.write(k,mxUtils.htmlEntities(k.getAttribute("title")));k.setAttribute("value","default");w.appendChild(k);k=document.createElement("option");k.setAttribute("title",mxResources.get("automatic"));mxUtils.write(k,mxUtils.htmlEntities(k.getAttribute("title")));k.setAttribute("value","auto");w.appendChild(k);k=document.createElement("option");k.setAttribute("title",mxResources.get("simple"));mxUtils.write(k,mxUtils.htmlEntities(k.getAttribute("title")));k.setAttribute("value","simple");w.appendChild(k);k=document.createElement("option");k.setAttribute("title",mxResources.get("none"));mxUtils.write(k,mxUtils.htmlEntities(k.getAttribute("title")));k.setAttribute("value","none");w.appendChild(k);w.value=null==e.adaptiveColors?"default":e.adaptiveColors;mxEvent.addListener(w,"change",-function(){var A=new ChangePageSetup(b);A.ignoreColor=!0;A.ignoreImage=!0;A.adaptiveColors=w.value;e.model.execute(A)});r.appendChild(w);(!b.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)&&r.appendChild(b.menus.createHelpLink("https://github.com/jgraph/drawio/discussions/4713"));h.appendChild(l);h.appendChild(r);d.appendChild(h);k=this.getGlobalStyleButtons();for(u=0;u<k.length;u+=2){l=l.cloneNode(!1);r=r.cloneNode(!1);h=h.cloneNode(!1);var y=k[u];y.style.width="100%";l.appendChild(y);-h.appendChild(l);y=k[u+1];null!=y&&(y.style.width="100%",r.appendChild(y));h.appendChild(r);d.appendChild(h)}g.appendChild(d);f.appendChild(g);a.appendChild(f);e.isEnabled()&&null!=Editor.styles&&this.addGraphStyles(a)}return a};-DiagramStylePanel.prototype.addGraphStyles=function(a){var b=this.editorUi,e=b.editor.graph,f=e.getModel(),g=e.view.gridColor,d=["fillColor","strokeColor","fontColor","gradientColor"];a.style.whiteSpace="normal";var h=mxUtils.bind(this,function(T,W){var S=e.getVerticesAndEdges();f.beginUpdate();try{for(var V=0;V<S.length;V++){var fa=e.getCellStyle(S[V]);r||null==fa.labelBackgroundColor?r&&e.updateCellStyles({labelBackgroundColor:mxConstants.NONE},[S[V]]):e.updateCellStyles({labelBackgroundColor:null!=-W?W.background:null},[S[V]]);for(var P=f.isEdge(S[V]),Z=f.getStyle(S[V]),X=P?e.currentEdgeStyle:e.currentVertexStyle,ba=0;ba<T.length;ba++)if(null!=fa[T[ba]]&&fa[T[ba]]!=mxConstants.NONE||T[ba]!=mxConstants.STYLE_FILLCOLOR&&T[ba]!=mxConstants.STYLE_STROKECOLOR)Z=r&&P&&T[ba]==mxConstants.STYLE_FONTCOLOR?mxUtils.setStyle(Z,T[ba],"default"):mxUtils.setStyle(Z,T[ba],X[T[ba]]);f.setStyle(S[V],Z)}}finally{f.endUpdate()}}),l=mxUtils.bind(this,function(T,W,S){if(null!=T)for(var V=0;V<W.length;V++)if(null!=-T[W[V]]&&T[W[V]]!=mxConstants.NONE||W[V]!=mxConstants.STYLE_FILLCOLOR&&W[V]!=mxConstants.STYLE_STROKECOLOR)T[W[V]]=S[W[V]]}),r=!0,k=mxUtils.bind(this,function(T,W,S,V,fa){if(null!=T){null!=S&&(r||null==W.labelBackgroundColor?r&&(W.labelBackgroundColor=mxConstants.NONE):(V=null!=V?V.background:null,fa=null!=fa?fa:e,null==V&&(V=fa.background),null==V&&(V=fa.defaultPageBackgroundColor),W.labelBackgroundColor=V));for(var P in T)if(null==S||null!=W[P]&&W[P]!=mxConstants.NONE||P!=mxConstants.STYLE_FILLCOLOR&&-P!=mxConstants.STYLE_STROKECOLOR)r&&f.isEdge(S)&&P==mxConstants.STYLE_FONTCOLOR?W[P]="default":W[P]=T[P]}}),u=mxUtils.bind(this,function(T,W,S,V,fa){var P=document.createElement("div");P.style.position="relative";P.style.pointerEvents="none";P.style.width="60px";P.style.height="60px";fa.appendChild(P);var Z=new Graph(P,null,null,e.getStylesheet());Z.shapeForegroundColor="light-dark(#000000, #c0c0c0)";Z.shapeBackgroundColor="light-dark(var(--ge-panel-color), var(--ge-dark-panel-color))";Z.resetViewOnRootChange=+function(){var A=new ChangePageSetup(b);A.ignoreColor=!0;A.ignoreImage=!0;A.adaptiveColors=w.value;e.model.execute(A)});q.appendChild(w);(!b.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)&&q.appendChild(b.menus.createHelpLink("https://github.com/jgraph/drawio/discussions/4713"));h.appendChild(l);h.appendChild(q);d.appendChild(h);k=this.getGlobalStyleButtons();for(u=0;u<k.length;u+=2){l=l.cloneNode(!1);q=q.cloneNode(!1);h=h.cloneNode(!1);var y=k[u];y.style.width="100%";l.appendChild(y);+h.appendChild(l);y=k[u+1];null!=y&&(y.style.width="100%",q.appendChild(y));h.appendChild(q);d.appendChild(h)}g.appendChild(d);f.appendChild(g);a.appendChild(f);e.isEnabled()&&null!=Editor.styles&&this.addGraphStyles(a)}return a};+DiagramStylePanel.prototype.addGraphStyles=function(a){var b=this.editorUi,e=b.editor.graph,f=e.getModel(),g=e.view.gridColor,d=["fillColor","strokeColor","fontColor","gradientColor"];a.style.whiteSpace="normal";var h=mxUtils.bind(this,function(T,W){var S=e.getVerticesAndEdges();f.beginUpdate();try{for(var V=0;V<S.length;V++){var fa=e.getCellStyle(S[V]);q||null==fa.labelBackgroundColor?q&&e.updateCellStyles({labelBackgroundColor:mxConstants.NONE},[S[V]]):e.updateCellStyles({labelBackgroundColor:null!=+W?W.background:null},[S[V]]);for(var P=f.isEdge(S[V]),Z=f.getStyle(S[V]),X=P?e.currentEdgeStyle:e.currentVertexStyle,ba=0;ba<T.length;ba++)if(null!=fa[T[ba]]&&fa[T[ba]]!=mxConstants.NONE||T[ba]!=mxConstants.STYLE_FILLCOLOR&&T[ba]!=mxConstants.STYLE_STROKECOLOR)Z=q&&P&&T[ba]==mxConstants.STYLE_FONTCOLOR?mxUtils.setStyle(Z,T[ba],"default"):mxUtils.setStyle(Z,T[ba],X[T[ba]]);f.setStyle(S[V],Z)}}finally{f.endUpdate()}}),l=mxUtils.bind(this,function(T,W,S){if(null!=T)for(var V=0;V<W.length;V++)if(null!=+T[W[V]]&&T[W[V]]!=mxConstants.NONE||W[V]!=mxConstants.STYLE_FILLCOLOR&&W[V]!=mxConstants.STYLE_STROKECOLOR)T[W[V]]=S[W[V]]}),q=!0,k=mxUtils.bind(this,function(T,W,S,V,fa){if(null!=T){null!=S&&(q||null==W.labelBackgroundColor?q&&(W.labelBackgroundColor=mxConstants.NONE):(V=null!=V?V.background:null,fa=null!=fa?fa:e,null==V&&(V=fa.background),null==V&&(V=fa.defaultPageBackgroundColor),W.labelBackgroundColor=V));for(var P in T)if(null==S||null!=W[P]&&W[P]!=mxConstants.NONE||P!=mxConstants.STYLE_FILLCOLOR&&+P!=mxConstants.STYLE_STROKECOLOR)q&&f.isEdge(S)&&P==mxConstants.STYLE_FONTCOLOR?W[P]="default":W[P]=T[P]}}),u=mxUtils.bind(this,function(T,W,S,V,fa){var P=document.createElement("div");P.style.position="relative";P.style.pointerEvents="none";P.style.width="60px";P.style.height="60px";fa.appendChild(P);var Z=new Graph(P,null,null,e.getStylesheet());Z.shapeForegroundColor="light-dark(#000000, #c0c0c0)";Z.shapeBackgroundColor="light-dark(var(--ge-panel-color), var(--ge-dark-panel-color))";Z.resetViewOnRootChange=!1;Z.foldingEnabled=!1;Z.gridEnabled=!1;Z.autoScroll=!1;Z.setTooltips(!1);Z.setConnectable(!1);Z.setPanning(!1);Z.setEnabled(!1);Z.getCellStyle=function(L,U){U=null!=U?U:!0;var aa=mxUtils.clone(e.getCellStyle.apply(this,arguments)),ha=e.stylesheet.getDefaultVertexStyle(),ma=W;f.isEdge(L)&&(ha=e.stylesheet.getDefaultEdgeStyle(),ma=S);l(aa,d,ha);k(T,aa,L,V,Z);k(ma,aa,L,V,Z);U&&(aa=e.postProcessCellStyle(L,aa));return aa};Z.model.beginUpdate();try{var X=Z.insertVertex(Z.getDefaultParent(),null,"Shape",2,2,56,30,"strokeWidth=2;"),ba=Z.insertEdge(Z.getDefaultParent(),null,"Connector",X,X,"edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endSize=3;strokeWidth=2;");ba.geometry.points=[new mxPoint(28,46)];ba.geometry.offset=new mxPoint(0,8)}finally{Z.model.endUpdate()}fa=Z.view.getDrawPane().ownerSVGElement;null!=fa&&(P=fa.cloneNode(!0),P.style.position="absolute",P.style.clipPath="rect(0 52% 100% 0)",fa.style.clipPath="rect(0 100% 100% 51%)",fa.style.colorScheme="light",fa.parentNode.appendChild(P))}),-w=document.createElement("div");w.style.whiteSpace="normal";a.appendChild(w);null==this.format.cachedStyleEntries&&(this.format.cachedStyleEntries=[]);var y=mxUtils.bind(this,function(T,W,S,V,fa){var P=this.format.cachedStyleEntries[fa];null==P&&(P=document.createElement("div"),P.className="geGraphStylePreview",r||null==V||null==V.background||(P.style.backgroundColor=V.background),u(T,W,S,V,P),mxEvent.addGestureListeners(P,mxUtils.bind(this,function(Z){P.style.opacity=.6}),null,mxUtils.bind(this,-function(Z){P.style.opacity="";e.currentVertexStyle=mxUtils.clone(e.defaultVertexStyle);e.currentEdgeStyle=mxUtils.clone(e.defaultEdgeStyle);k(T,e.currentVertexStyle);k(T,e.currentEdgeStyle);k(W,e.currentVertexStyle);k(S,e.currentEdgeStyle);f.beginUpdate();try{var X=d.slice(),ba;for(ba in T)X.push(ba);h(X,V);if(!r){var L=new ChangePageSetup(b,null!=V?V.background:null);L.ignoreImage=!0;f.execute(L);f.execute(new ChangeGridColor(b,null!=V&&null!=V.gridColor?V.gridColor:g))}}finally{f.endUpdate()}})),-mxClient.IS_TOUCH||(mxEvent.addListener(P,"mouseenter",mxUtils.bind(this,function(Z){var X=e.getCellStyle;Z=e.background;var ba=e.view.gridColor;r||(e.background=null!=V?V.background:null,e.view.gridColor=null!=V&&null!=V.gridColor?V.gridColor:g);e.getCellStyle=function(L,U){U=null!=U?U:!0;var aa=mxUtils.clone(X.apply(this,arguments)),ha=e.stylesheet.getDefaultVertexStyle(),ma=W;f.isEdge(L)&&(ha=e.stylesheet.getDefaultEdgeStyle(),ma=S);l(aa,d,ha);k(T,aa,L,V);k(ma,aa,L,V);U&&(aa=this.postProcessCellStyle(L,-aa));return aa};e.refresh();e.getCellStyle=X;e.background=Z;e.view.gridColor=ba})),mxEvent.addListener(P,"mouseleave",mxUtils.bind(this,function(Z){e.refresh()}))),this.format.cachedStyleEntries[fa]=P);w.appendChild(P)}),A=Math.ceil(Editor.styles.length/10);this.format.currentStylePage=null!=this.format.currentStylePage?this.format.currentStylePage:0;var G=[],D=mxUtils.bind(this,function(){0<G.length&&(G[this.format.currentStylePage].style.background="#84d7ff");for(var T=10*this.format.currentStylePage;T<-Math.min(10*(this.format.currentStylePage+1),Editor.styles.length);T++){var W=Editor.styles[T];y(W.commonStyle,W.vertexStyle,W.edgeStyle,W.graph,T)}}),F=mxUtils.bind(this,function(T){0<=T&&T<A&&(G[this.format.currentStylePage].style.background="transparent",w.innerText="",this.format.currentStylePage=T,D())});if(1<A){var H=document.createElement("div");H.className="geSwitcher";H.style.width="200px";for(var M=0;M<A;M++){var N=document.createElement("div");N.className="geSwitcherDot";mxUtils.bind(this,-function(T,W){mxEvent.addListener(N,"click",mxUtils.bind(this,function(){F(T)}))})(M,N);H.appendChild(N);G.push(N)}a.appendChild(H);D();if(15>A&&0<G.length){M=document.createElement("div");M.className="geButton";M.style.backgroundImage="url("+Editor.chevronLeftImage+")";var K=M.cloneNode(!1);K.style.backgroundImage="url("+Editor.chevronRightImage+")";H.insertBefore(M,G[0]);H.appendChild(K);mxEvent.addListener(M,"click",mxUtils.bind(this,function(){F(mxUtils.mod(this.format.currentStylePage-1,A))}));-mxEvent.addListener(K,"click",mxUtils.bind(this,function(){F(mxUtils.mod(this.format.currentStylePage+1,A))}))}}else D();return a};DiagramFormatPanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(DiagramFormatPanel,BaseFormatPanel);DiagramFormatPanel.showPageView=!0;DiagramFormatPanel.prototype.showBackgroundImageOption=!0;+w=document.createElement("div");w.style.whiteSpace="normal";a.appendChild(w);null==this.format.cachedStyleEntries&&(this.format.cachedStyleEntries=[]);var y=mxUtils.bind(this,function(T,W,S,V,fa){var P=this.format.cachedStyleEntries[fa];null==P&&(P=document.createElement("div"),P.className="geGraphStylePreview",q||null==V||null==V.background||(P.style.backgroundColor=V.background),u(T,W,S,V,P),mxEvent.addGestureListeners(P,mxUtils.bind(this,function(Z){P.style.opacity=.6}),null,mxUtils.bind(this,+function(Z){P.style.opacity="";e.currentVertexStyle=mxUtils.clone(e.defaultVertexStyle);e.currentEdgeStyle=mxUtils.clone(e.defaultEdgeStyle);k(T,e.currentVertexStyle);k(T,e.currentEdgeStyle);k(W,e.currentVertexStyle);k(S,e.currentEdgeStyle);f.beginUpdate();try{var X=d.slice(),ba;for(ba in T)X.push(ba);h(X,V);if(!q){var L=new ChangePageSetup(b,null!=V?V.background:null);L.ignoreImage=!0;f.execute(L);f.execute(new ChangeGridColor(b,null!=V&&null!=V.gridColor?V.gridColor:g))}}finally{f.endUpdate()}})),+mxClient.IS_TOUCH||(mxEvent.addListener(P,"mouseenter",mxUtils.bind(this,function(Z){var X=e.getCellStyle;Z=e.background;var ba=e.view.gridColor;q||(e.background=null!=V?V.background:null,e.view.gridColor=null!=V&&null!=V.gridColor?V.gridColor:g);e.getCellStyle=function(L,U){U=null!=U?U:!0;var aa=mxUtils.clone(X.apply(this,arguments)),ha=e.stylesheet.getDefaultVertexStyle(),ma=W;f.isEdge(L)&&(ha=e.stylesheet.getDefaultEdgeStyle(),ma=S);l(aa,d,ha);k(T,aa,L,V);k(ma,aa,L,V);U&&(aa=this.postProcessCellStyle(L,+aa));return aa};e.refresh();e.getCellStyle=X;e.background=Z;e.view.gridColor=ba})),mxEvent.addListener(P,"mouseleave",mxUtils.bind(this,function(Z){e.refresh()}))),this.format.cachedStyleEntries[fa]=P);w.appendChild(P)}),A=Math.ceil(Editor.styles.length/10);this.format.currentStylePage=null!=this.format.currentStylePage?this.format.currentStylePage:0;var F=[],D=mxUtils.bind(this,function(){0<F.length&&(F[this.format.currentStylePage].style.background="#84d7ff");for(var T=10*this.format.currentStylePage;T<+Math.min(10*(this.format.currentStylePage+1),Editor.styles.length);T++){var W=Editor.styles[T];y(W.commonStyle,W.vertexStyle,W.edgeStyle,W.graph,T)}}),G=mxUtils.bind(this,function(T){0<=T&&T<A&&(F[this.format.currentStylePage].style.background="transparent",w.innerText="",this.format.currentStylePage=T,D())});if(1<A){var H=document.createElement("div");H.className="geSwitcher";H.style.width="200px";for(var M=0;M<A;M++){var N=document.createElement("div");N.className="geSwitcherDot";mxUtils.bind(this,+function(T,W){mxEvent.addListener(N,"click",mxUtils.bind(this,function(){G(T)}))})(M,N);H.appendChild(N);F.push(N)}a.appendChild(H);D();if(15>A&&0<F.length){M=document.createElement("div");M.className="geButton";M.style.backgroundImage="url("+Editor.chevronLeftImage+")";var K=M.cloneNode(!1);K.style.backgroundImage="url("+Editor.chevronRightImage+")";H.insertBefore(M,F[0]);H.appendChild(K);mxEvent.addListener(M,"click",mxUtils.bind(this,function(){G(mxUtils.mod(this.format.currentStylePage-1,A))}));+mxEvent.addListener(K,"click",mxUtils.bind(this,function(){G(mxUtils.mod(this.format.currentStylePage+1,A))}))}}else D();return a};DiagramFormatPanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(DiagramFormatPanel,BaseFormatPanel);DiagramFormatPanel.showPageView=!0;DiagramFormatPanel.prototype.showBackgroundImageOption=!0;DiagramFormatPanel.prototype.init=function(){var a=this.editorUi.editor.graph;this.container.appendChild(this.addView(this.createPanel()));a.isEnabled()&&(this.container.appendChild(this.addOptions(this.createPanel())),this.container.appendChild(this.addPaperSize(this.createPanel())),this.container.appendChild(this.addStyleOps(this.createPanel())))};DiagramFormatPanel.prototype.addView=function(a){var b=this.editorUi,e=b.editor.graph;a.appendChild(this.createTitle(mxResources.get("view")));this.addGridOption(a);DiagramFormatPanel.showPageView&&a.appendChild(this.createOption(mxResources.get("pageView"),function(){return e.pageVisible},function(d){b.actions.get("pageView").funct()},{install:function(d){this.listener=function(){d(e.pageVisible)};b.addListener("pageViewChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}}));if(e.isEnabled()){if(this.showBackgroundImageOption){var f=this.createOption(mxResources.get("background"),function(){return null!=e.backgroundImage},function(d){d||(d=new ChangePageSetup(b,null,null),d.ignoreColor=!0,e.model.execute(d))},{install:function(d){this.listener=function(){d(null!=e.backgroundImage)};b.addListener("backgroundImageChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}}),g=f.getElementsByTagName("input")[0];null!=g&&(g.style.visibility=null!=e.backgroundImage?@@ -3335,217 +3335,217 @@ a.appendChild(this.createOption(mxResources.get("connectionPoints"),function(){r{install:function(f){this.listener=function(){f(e.graphHandler.guidesEnabled)};b.addListener("guidesEnabledChanged",this.listener)},destroy:function(){b.removeListener(this.listener)}})));return a};DiagramFormatPanel.prototype.addGridOption=function(a){function b(k){var u=e.isFloatUnit()?parseFloat(d.value):parseInt(d.value);u=e.fromUnit(Math.max(e.inUnit(1),isNaN(u)?e.inUnit(10):u));u!=g.getGridSize()&&(mxGraph.prototype.gridSize=u,g.setGridSize(u));d.value=e.inUnit(u)+" "+e.getUnit();mxEvent.consume(k)}var e=this,f=this.editorUi,g=f.editor.graph,d=document.createElement("input");d.style.position="absolute";d.style.width="50px";d.value=this.inUnit(g.getGridSize())+" "+this.getUnit();var h=this.createStepper(d,b,this.getUnitStep(),null,null,this.isFloatUnit());d.style.display=g.isGridEnabled()?"":"none";h.style.display=d.style.display;mxEvent.addListener(d,"keydown",function(k){13==k.keyCode?(g.container.focus(),mxEvent.consume(k)):27==k.keyCode&&(d.value=g.getGridSize(),g.container.focus(),mxEvent.consume(k))});mxEvent.addListener(d,"blur",b);mxEvent.addListener(d,"change",b);d.style.left="100px";h.style.left="150px";var l=function(){return"none"!=g.getAdaptiveColors()&&Editor.isDarkMode()},-r="light-dark("+mxGraphView.prototype.defaultGridColor+","+mxGraphView.prototype.defaultDarkGridColor+")";r=this.createColorOption(mxResources.get("grid"),function(){return g.isGridEnabled()?g.view.gridColor:null},function(k){var u=g.isGridEnabled();k==mxConstants.NONE?g.setGridEnabled(!1):(g.setGridEnabled(!0),f.setGridColor(k,l()));d.style.display=g.isGridEnabled()?"":"none";h.style.display=d.style.display;u!=g.isGridEnabled()&&(g.defaultGridEnabled=g.isGridEnabled(),f.fireEvent(new mxEventObject("gridEnabledChanged")))},-g.view.gridColor,{install:function(k){this.listener=function(){k(g.isGridEnabled()?g.view.gridColor:mxConstants.NONE)};f.addListener("darkModeChanged",this.listener);f.addListener("gridColorChanged",this.listener);f.addListener("gridEnabledChanged",this.listener)},destroy:function(){f.removeListener(this.listener)}},null,null,r,!0,l);r.appendChild(d);r.appendChild(h);a.appendChild(r)};+q="light-dark("+mxGraphView.prototype.defaultGridColor+","+mxGraphView.prototype.defaultDarkGridColor+")";q=this.createColorOption(mxResources.get("grid"),function(){return g.isGridEnabled()?g.view.gridColor:null},function(k){var u=g.isGridEnabled();k==mxConstants.NONE?g.setGridEnabled(!1):(g.setGridEnabled(!0),f.setGridColor(k,l()));d.style.display=g.isGridEnabled()?"":"none";h.style.display=d.style.display;u!=g.isGridEnabled()&&(g.defaultGridEnabled=g.isGridEnabled(),f.fireEvent(new mxEventObject("gridEnabledChanged")))},+g.view.gridColor,{install:function(k){this.listener=function(){k(g.isGridEnabled()?g.view.gridColor:mxConstants.NONE)};f.addListener("darkModeChanged",this.listener);f.addListener("gridColorChanged",this.listener);f.addListener("gridEnabledChanged",this.listener)},destroy:function(){f.removeListener(this.listener)}},null,null,q,!0,l);q.appendChild(d);q.appendChild(h);a.appendChild(q)};DiagramFormatPanel.prototype.addDocumentProperties=function(a){a.appendChild(this.createTitle(mxResources.get("options")));return a};DiagramFormatPanel.prototype.addPaperSize=function(a){var b=this.editorUi,e=b.editor.graph;a.appendChild(this.createTitle(mxResources.get("paperSize")));var f=PageSetupDialog.addPageFormatPanel(a,"formatpanel",e.pageFormat,function(d){if(null==e.pageFormat||e.pageFormat.width!=d.width||e.pageFormat.height!=d.height)d=new ChangePageSetup(b,null,null,d),d.ignoreColor=!0,d.ignoreImage=!0,e.model.execute(d)});this.addKeyHandler(f.widthInput,function(){f.set(e.pageFormat)});this.addKeyHandler(f.heightInput,function(){f.set(e.pageFormat)});var g=function(){f.set(e.pageFormat)};b.addListener("pageFormatChanged",g);this.listeners.push({destroy:function(){b.removeListener(g)}});e.getModel().addListener(mxEvent.CHANGE,g);this.listeners.push({destroy:function(){e.getModel().removeListener(g)}});return a};DiagramFormatPanel.prototype.addStyleOps=function(a){this.addActions(a,["editData"]);this.addActions(a,["clearDefaultStyle"]);return a};-DiagramFormatPanel.prototype.destroy=function(){BaseFormatPanel.prototype.destroy.apply(this,arguments);this.gridEnabledListener&&(this.editorUi.removeListener(this.gridEnabledListener),this.gridEnabledListener=null)};(function(){function a(c,m,t){mxShape.call(this);this.line=c;this.stroke=m;this.strokewidth=null!=t?t:1;this.updateBoundsFromLine()}function b(){mxSwimlane.call(this)}function e(){mxSwimlane.call(this)}function f(){mxCylinder.call(this)}function g(){mxConnector.call(this)}function d(){mxCylinder.call(this)}function h(){mxActor.call(this)}function l(){mxCylinder.call(this)}function r(){mxCylinder.call(this)}function k(){mxCylinder.call(this)}function u(){mxCylinder.call(this)}function w(){mxShape.call(this)}-function y(){mxShape.call(this)}function A(c,m,t,n){mxShape.call(this);this.bounds=c;this.fill=m;this.stroke=t;this.strokewidth=null!=n?n:1}function G(){mxActor.call(this)}function D(){mxCylinder.call(this)}function F(){mxCylinder.call(this)}function H(){mxActor.call(this)}function M(){mxActor.call(this)}function N(){mxActor.call(this)}function K(){mxActor.call(this)}function T(){mxActor.call(this)}function W(){mxActor.call(this)}function S(){mxActor.call(this)}function V(c,m){this.canvas=c;this.canvas.setLineJoin("round");+DiagramFormatPanel.prototype.destroy=function(){BaseFormatPanel.prototype.destroy.apply(this,arguments);this.gridEnabledListener&&(this.editorUi.removeListener(this.gridEnabledListener),this.gridEnabledListener=null)};(function(){function a(c,m,t){mxShape.call(this);this.line=c;this.stroke=m;this.strokewidth=null!=t?t:1;this.updateBoundsFromLine()}function b(){mxSwimlane.call(this)}function e(){mxSwimlane.call(this)}function f(){mxCylinder.call(this)}function g(){mxConnector.call(this)}function d(){mxCylinder.call(this)}function h(){mxActor.call(this)}function l(){mxCylinder.call(this)}function q(){mxCylinder.call(this)}function k(){mxCylinder.call(this)}function u(){mxCylinder.call(this)}function w(){mxShape.call(this)}+function y(){mxShape.call(this)}function A(c,m,t,n){mxShape.call(this);this.bounds=c;this.fill=m;this.stroke=t;this.strokewidth=null!=n?n:1}function F(){mxActor.call(this)}function D(){mxCylinder.call(this)}function G(){mxCylinder.call(this)}function H(){mxActor.call(this)}function M(){mxActor.call(this)}function N(){mxActor.call(this)}function K(){mxActor.call(this)}function T(){mxActor.call(this)}function W(){mxActor.call(this)}function S(){mxActor.call(this)}function V(c,m){this.canvas=c;this.canvas.setLineJoin("round");this.canvas.setLineCap("round");this.defaultVariation=m;this.originalLineTo=this.canvas.lineTo;this.canvas.lineTo=mxUtils.bind(this,V.prototype.lineTo);this.originalMoveTo=this.canvas.moveTo;this.canvas.moveTo=mxUtils.bind(this,V.prototype.moveTo);this.originalClose=this.canvas.close;this.canvas.close=mxUtils.bind(this,V.prototype.close);this.originalQuadTo=this.canvas.quadTo;this.canvas.quadTo=mxUtils.bind(this,V.prototype.quadTo);this.originalCurveTo=this.canvas.curveTo;this.canvas.curveTo=mxUtils.bind(this,V.prototype.curveTo);this.originalArcTo=this.canvas.arcTo;this.canvas.arcTo=mxUtils.bind(this,V.prototype.arcTo)}function fa(){mxRectangleShape.call(this)}function P(){mxRectangleShape.call(this)}function Z(){mxActor.call(this)}function X(){mxActor.call(this)}function ba(){mxActor.call(this)}function L(){mxRectangleShape.call(this)}function U(){mxRectangleShape.call(this)}function aa(){mxCylinder.call(this)}function ha(){mxShape.call(this)}function ma(){mxShape.call(this)}function oa(){mxEllipse.call(this)}-function ca(){mxShape.call(this)}function la(){mxShape.call(this)}function ia(){mxRectangleShape.call(this)}function O(){mxShape.call(this)}function qa(){mxShape.call(this)}function ja(){mxShape.call(this)}function va(){mxShape.call(this)}function za(){mxShape.call(this)}function La(){mxCylinder.call(this)}function Na(){mxCylinder.call(this)}function Ja(){mxRectangleShape.call(this)}function Ka(){mxDoubleEllipse.call(this)}function ta(){mxDoubleEllipse.call(this)}function Ea(){mxArrowConnector.call(this);+function ca(){mxShape.call(this)}function la(){mxShape.call(this)}function ia(){mxRectangleShape.call(this)}function O(){mxShape.call(this)}function qa(){mxShape.call(this)}function ja(){mxShape.call(this)}function va(){mxShape.call(this)}function ya(){mxShape.call(this)}function La(){mxCylinder.call(this)}function Na(){mxCylinder.call(this)}function Ja(){mxRectangleShape.call(this)}function Ka(){mxDoubleEllipse.call(this)}function ta(){mxDoubleEllipse.call(this)}function Ea(){mxArrowConnector.call(this);this.spacing=0}function Wa(){mxArrowConnector.call(this);this.spacing=0}function Xa(){mxActor.call(this)}function bb(){mxRectangleShape.call(this)}function eb(){mxActor.call(this)}function qb(){mxActor.call(this)}function fb(){mxActor.call(this)}function ab(){mxActor.call(this)}function hb(){mxActor.call(this)}function cb(){mxActor.call(this)}function p(){mxActor.call(this)}function B(){mxActor.call(this)}function C(){mxActor.call(this)}function E(){mxActor.call(this)}function J(){mxEllipse.call(this)}function Q(){mxEllipse.call(this)}function Y(){mxEllipse.call(this)}function ka(){mxRhombus.call(this)}function ea(){mxEllipse.call(this)}function na(){mxEllipse.call(this)}function Ba(){mxEllipse.call(this)}function Ma(){mxEllipse.call(this)}function Ia(){mxActor.call(this)}function Aa(){mxActor.call(this)}function Ha(){mxActor.call(this)}function xa(c,m,t,n){mxShape.call(this);this.bounds=c;this.fill=m;this.stroke=t;this.strokewidth=null!=n?n:1;this.rectStyle="square";this.size=10;this.absoluteCornerSize=-!0;this.indent=2;this.rectOutline="single"}function wa(){mxConnector.call(this)}function Sa(){mxConnector.call(this)}function Qa(c,m,t,n,q,v,x,I,z,da){x+=z;var R=n.clone();n.x-=q*(2*x+z);n.y-=v*(2*x+z);q*=x+z;v*=x+z;return function(){c.ellipse(R.x-q-x,R.y-v-x,2*x,2*x);da?c.fillAndStroke():c.stroke()}}mxUtils.extend(a,mxShape);a.prototype.updateBoundsFromLine=function(){var c=null;if(null!=this.line)for(var m=0;m<this.line.length;m++){var t=this.line[m];null!=t&&(t=new mxRectangle(t.x,t.y,this.strokewidth,-this.strokewidth),null==c?c=t:c.add(t))}this.bounds=null!=c?c:new mxRectangle};a.prototype.paintVertexShape=function(c,m,t,n,q){this.paintTableLine(c,this.line,0,0)};a.prototype.paintTableLine=function(c,m,t,n){if(null!=m){var q=null;c.begin();for(var v=0;v<m.length;v++){var x=m[v];null!=x&&(null==q?c.moveTo(x.x+t,x.y+n):null!=q&&c.lineTo(x.x+t,x.y+n));q=x}c.end();c.stroke()}};a.prototype.intersectsRectangle=function(c){var m=!1;if(mxShape.prototype.intersectsRectangle.apply(this,arguments)&&null!=-this.line)for(var t=null,n=0;n<this.line.length&&!m;n++){var q=this.line[n];null!=q&&null!=t&&(m=mxUtils.rectangleIntersectsSegment(c,t,q));t=q}return m};mxCellRenderer.registerShape("tableLine",a);mxUtils.extend(b,mxSwimlane);b.prototype.getLabelBounds=function(c){return 0==this.getTitleSize()?mxShape.prototype.getLabelBounds.apply(this,arguments):mxSwimlane.prototype.getLabelBounds.apply(this,arguments)};b.prototype.paintVertexShape=function(c,m,t,n,q){var v=null!=this.state?this.state.view.graph.isCellCollapsed(this.state.cell):-!1,x=this.isHorizontal(),I=this.getTitleSize();0==I||this.outline?Ba.prototype.paintVertexShape.apply(this,arguments):(mxSwimlane.prototype.paintVertexShape.apply(this,arguments),c.translate(-m,-t));v||this.outline||!(x&&I<q||!x&&I<n)||this.paintForeground(c,m,t,n,q)};b.prototype.paintForeground=function(c,m,t,n,q){if(null!=this.state){var v=this.flipH,x=this.flipV;if(this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION_SOUTH){var I=v;v=x;x=I}c.rotate(-this.getShapeRotation(),-v,x,m+n/2,t+q/2);s=this.scale;m=this.bounds.x/s;t=this.bounds.y/s;n=this.bounds.width/s;q=this.bounds.height/s;this.paintTableForeground(c,m,t,n,q)}};b.prototype.paintTableForeground=function(c,m,t,n,q){n=this.state.view.graph.getTableLines(this.state.cell,"0"!=mxUtils.getValue(this.state.style,"rowLines","1"),"0"!=mxUtils.getValue(this.state.style,"columnLines","1"));for(q=0;q<n.length;q++)a.prototype.paintTableLine(c,n[q],m,t)};b.prototype.configurePointerEvents=function(c){0==this.getTitleSize()?-c.pointerEvents=!1:mxSwimlane.prototype.configurePointerEvents.apply(this,arguments)};mxCellRenderer.registerShape("table",b);mxUtils.extend(e,b);e.prototype.paintForeground=function(){};mxCellRenderer.registerShape("tableRow",e);mxUtils.extend(f,mxCylinder);f.prototype.size=20;f.prototype.darkOpacity=0;f.prototype.darkOpacity2=0;f.prototype.paintVertexShape=function(c,m,t,n,q){var v=Math.max(0,Math.min(n,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size))))),x=Math.max(-1,Math.min(1,-parseFloat(mxUtils.getValue(this.style,"darkOpacity",this.darkOpacity)))),I=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity2",this.darkOpacity2))));c.translate(m,t);c.begin();c.moveTo(0,0);c.lineTo(n-v,0);c.lineTo(n,v);c.lineTo(n,q);c.lineTo(v,q);c.lineTo(0,q-v);c.lineTo(0,0);c.close();c.end();c.fillAndStroke();this.outline||(c.setShadow(!1),0!=x&&(c.setFillAlpha(Math.abs(x)),c.setFillColor(0>x?"#FFFFFF":"#000000"),c.begin(),c.moveTo(0,0),c.lineTo(n-v,0),c.lineTo(n,v),c.lineTo(v,-v),c.close(),c.fill()),0!=I&&(c.setFillAlpha(Math.abs(I)),c.setFillColor(0>I?"#FFFFFF":"#000000"),c.begin(),c.moveTo(0,0),c.lineTo(v,v),c.lineTo(v,q),c.lineTo(0,q-v),c.close(),c.fill()),c.begin(),c.moveTo(v,q),c.lineTo(v,v),c.lineTo(0,0),c.moveTo(v,v),c.lineTo(n,v),c.end(),c.stroke())};f.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)?(c=parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale,new mxRectangle(c,c,0,0)):null};mxCellRenderer.registerShape("cube",+!0;this.indent=2;this.rectOutline="single"}function wa(){mxConnector.call(this)}function Sa(){mxConnector.call(this)}function Qa(c,m,t,n,r,v,x,I,z,da){x+=z;var R=n.clone();n.x-=r*(2*x+z);n.y-=v*(2*x+z);r*=x+z;v*=x+z;return function(){c.ellipse(R.x-r-x,R.y-v-x,2*x,2*x);da?c.fillAndStroke():c.stroke()}}mxUtils.extend(a,mxShape);a.prototype.updateBoundsFromLine=function(){var c=null;if(null!=this.line)for(var m=0;m<this.line.length;m++){var t=this.line[m];null!=t&&(t=new mxRectangle(t.x,t.y,this.strokewidth,+this.strokewidth),null==c?c=t:c.add(t))}this.bounds=null!=c?c:new mxRectangle};a.prototype.paintVertexShape=function(c,m,t,n,r){this.paintTableLine(c,this.line,0,0)};a.prototype.paintTableLine=function(c,m,t,n){if(null!=m){var r=null;c.begin();for(var v=0;v<m.length;v++){var x=m[v];null!=x&&(null==r?c.moveTo(x.x+t,x.y+n):null!=r&&c.lineTo(x.x+t,x.y+n));r=x}c.end();c.stroke()}};a.prototype.intersectsRectangle=function(c){var m=!1;if(mxShape.prototype.intersectsRectangle.apply(this,arguments)&&null!=+this.line)for(var t=null,n=0;n<this.line.length&&!m;n++){var r=this.line[n];null!=r&&null!=t&&(m=mxUtils.rectangleIntersectsSegment(c,t,r));t=r}return m};mxCellRenderer.registerShape("tableLine",a);mxUtils.extend(b,mxSwimlane);b.prototype.getLabelBounds=function(c){return 0==this.getTitleSize()?mxShape.prototype.getLabelBounds.apply(this,arguments):mxSwimlane.prototype.getLabelBounds.apply(this,arguments)};b.prototype.paintVertexShape=function(c,m,t,n,r){var v=null!=this.state?this.state.view.graph.isCellCollapsed(this.state.cell):+!1,x=this.isHorizontal(),I=this.getTitleSize();0==I||this.outline?Ba.prototype.paintVertexShape.apply(this,arguments):(mxSwimlane.prototype.paintVertexShape.apply(this,arguments),c.translate(-m,-t));v||this.outline||!(x&&I<r||!x&&I<n)||this.paintForeground(c,m,t,n,r)};b.prototype.paintForeground=function(c,m,t,n,r){if(null!=this.state){var v=this.flipH,x=this.flipV;if(this.direction==mxConstants.DIRECTION_NORTH||this.direction==mxConstants.DIRECTION_SOUTH){var I=v;v=x;x=I}c.rotate(-this.getShapeRotation(),+v,x,m+n/2,t+r/2);s=this.scale;m=this.bounds.x/s;t=this.bounds.y/s;n=this.bounds.width/s;r=this.bounds.height/s;this.paintTableForeground(c,m,t,n,r)}};b.prototype.paintTableForeground=function(c,m,t,n,r){n=this.state.view.graph.getTableLines(this.state.cell,"0"!=mxUtils.getValue(this.state.style,"rowLines","1"),"0"!=mxUtils.getValue(this.state.style,"columnLines","1"));for(r=0;r<n.length;r++)a.prototype.paintTableLine(c,n[r],m,t)};b.prototype.configurePointerEvents=function(c){0==this.getTitleSize()?+c.pointerEvents=!1:mxSwimlane.prototype.configurePointerEvents.apply(this,arguments)};mxCellRenderer.registerShape("table",b);mxUtils.extend(e,b);e.prototype.paintForeground=function(){};mxCellRenderer.registerShape("tableRow",e);mxUtils.extend(f,mxCylinder);f.prototype.size=20;f.prototype.darkOpacity=0;f.prototype.darkOpacity2=0;f.prototype.paintVertexShape=function(c,m,t,n,r){var v=Math.max(0,Math.min(n,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))))),x=Math.max(-1,Math.min(1,+parseFloat(mxUtils.getValue(this.style,"darkOpacity",this.darkOpacity)))),I=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity2",this.darkOpacity2))));c.translate(m,t);c.begin();c.moveTo(0,0);c.lineTo(n-v,0);c.lineTo(n,v);c.lineTo(n,r);c.lineTo(v,r);c.lineTo(0,r-v);c.lineTo(0,0);c.close();c.end();c.fillAndStroke();this.outline||(c.setShadow(!1),0!=x&&(c.setFillAlpha(Math.abs(x)),c.setFillColor(0>x?"#FFFFFF":"#000000"),c.begin(),c.moveTo(0,0),c.lineTo(n-v,0),c.lineTo(n,v),c.lineTo(v,+v),c.close(),c.fill()),0!=I&&(c.setFillAlpha(Math.abs(I)),c.setFillColor(0>I?"#FFFFFF":"#000000"),c.begin(),c.moveTo(0,0),c.lineTo(v,v),c.lineTo(v,r),c.lineTo(0,r-v),c.close(),c.fill()),c.begin(),c.moveTo(v,r),c.lineTo(v,v),c.lineTo(0,0),c.moveTo(v,v),c.lineTo(n,v),c.end(),c.stroke())};f.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)?(c=parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale,new mxRectangle(c,c,0,0)):null};mxCellRenderer.registerShape("cube",f);var Oa=Math.tan(mxUtils.toRadians(30)),Ra=(.5-Oa)/2;mxCellRenderer.registerShape("isoRectangle",h);mxUtils.extend(g,mxConnector);g.prototype.paintEdgeShape=function(c,m){var t=this.createMarker(c,m,!0),n=this.createMarker(c,m,!1);c.setDashed(!1);mxPolyline.prototype.paintEdgeShape.apply(this,arguments);null!=this.isDashed&&c.setDashed(this.isDashed,null!=this.style?1==mxUtils.getValue(this.style,mxConstants.STYLE_FIX_DASH,!1):!1);c.setShadow(!1);c.setStrokeColor(this.fill);mxPolyline.prototype.paintEdgeShape.apply(this,-arguments);c.setStrokeColor(this.stroke);c.setFillColor(this.stroke);c.setDashed(!1);null!=t&&t();null!=n&&n()};mxCellRenderer.registerShape("wire",g);mxUtils.extend(d,mxCylinder);d.prototype.size=6;d.prototype.paintVertexShape=function(c,m,t,n,q){c.setFillColor(this.stroke);var v=Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size))-2)+2*this.strokewidth;c.ellipse(m+.5*(n-v),t+.5*(q-v),v,v);c.fill();c.setFillColor(mxConstants.NONE);c.rect(m,t,n,q);c.fill()};mxCellRenderer.registerShape("waypoint",-d);mxUtils.extend(h,mxActor);h.prototype.size=20;h.prototype.redrawPath=function(c,m,t,n,q){m=Math.min(n,q/Oa);c.translate((n-m)/2,(q-m)/2+m/4);c.moveTo(0,.25*m);c.lineTo(.5*m,m*Ra);c.lineTo(m,.25*m);c.lineTo(.5*m,(.5-Ra)*m);c.lineTo(0,.25*m);c.close();c.end()};mxCellRenderer.registerShape("isoRectangle",h);mxUtils.extend(l,mxCylinder);l.prototype.size=20;l.prototype.redrawPath=function(c,m,t,n,q,v){m=Math.min(n,q/(.5+Oa));v?(c.moveTo(0,.25*m),c.lineTo(.5*m,(.5-Ra)*m),c.lineTo(m,.25*m),c.moveTo(.5*-m,(.5-Ra)*m),c.lineTo(.5*m,(1-Ra)*m)):(c.translate((n-m)/2,(q-m)/2),c.moveTo(0,.25*m),c.lineTo(.5*m,m*Ra),c.lineTo(m,.25*m),c.lineTo(m,.75*m),c.lineTo(.5*m,(1-Ra)*m),c.lineTo(0,.75*m),c.close());c.end()};mxCellRenderer.registerShape("isoCube",l);mxUtils.extend(r,mxCylinder);r.prototype.redrawPath=function(c,m,t,n,q,v){m=Math.min(q/2,Math.round(q/8)+this.strokewidth-1);if(v&&null!=this.fill||!v&&null==this.fill)c.moveTo(0,m),c.curveTo(0,2*m,n,2*m,n,m),v||(c.stroke(),c.begin()),c.translate(0,m/2),c.moveTo(0,-m),c.curveTo(0,2*m,n,2*m,n,m),v||(c.stroke(),c.begin()),c.translate(0,m/2),c.moveTo(0,m),c.curveTo(0,2*m,n,2*m,n,m),v||(c.stroke(),c.begin()),c.translate(0,-m);v||(c.moveTo(0,m),c.curveTo(0,-m/3,n,-m/3,n,m),c.lineTo(n,q-m),c.curveTo(n,q+m/3,0,q+m/3,0,q-m),c.close())};r.prototype.getLabelMargins=function(c){return new mxRectangle(0,2.5*Math.min(c.height/2,Math.round(c.height/8)+this.strokewidth-1),0,0)};mxCellRenderer.registerShape("datastore",r);mxUtils.extend(k,mxCylinder);k.prototype.size=30;k.prototype.darkOpacity=-0;k.prototype.paintVertexShape=function(c,m,t,n,q){var v=Math.max(0,Math.min(n,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size))))),x=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity",this.darkOpacity))));c.translate(m,t);c.begin();c.moveTo(0,0);c.lineTo(n-v,0);c.lineTo(n,v);c.lineTo(n,q);c.lineTo(0,q);c.lineTo(0,0);c.close();c.end();c.fillAndStroke();this.outline||(c.setShadow(!1),0!=x&&(c.setFillAlpha(Math.abs(x)),c.setFillColor(0>x?"#FFFFFF":"#000000"),+arguments);c.setStrokeColor(this.stroke);c.setFillColor(this.stroke);c.setDashed(!1);null!=t&&t();null!=n&&n()};mxCellRenderer.registerShape("wire",g);mxUtils.extend(d,mxCylinder);d.prototype.size=6;d.prototype.paintVertexShape=function(c,m,t,n,r){c.setFillColor(this.stroke);var v=Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size))-2)+2*this.strokewidth;c.ellipse(m+.5*(n-v),t+.5*(r-v),v,v);c.fill();c.setFillColor(mxConstants.NONE);c.rect(m,t,n,r);c.fill()};mxCellRenderer.registerShape("waypoint",+d);mxUtils.extend(h,mxActor);h.prototype.size=20;h.prototype.redrawPath=function(c,m,t,n,r){m=Math.min(n,r/Oa);c.translate((n-m)/2,(r-m)/2+m/4);c.moveTo(0,.25*m);c.lineTo(.5*m,m*Ra);c.lineTo(m,.25*m);c.lineTo(.5*m,(.5-Ra)*m);c.lineTo(0,.25*m);c.close();c.end()};mxCellRenderer.registerShape("isoRectangle",h);mxUtils.extend(l,mxCylinder);l.prototype.size=20;l.prototype.redrawPath=function(c,m,t,n,r,v){m=Math.min(n,r/(.5+Oa));v?(c.moveTo(0,.25*m),c.lineTo(.5*m,(.5-Ra)*m),c.lineTo(m,.25*m),c.moveTo(.5*+m,(.5-Ra)*m),c.lineTo(.5*m,(1-Ra)*m)):(c.translate((n-m)/2,(r-m)/2),c.moveTo(0,.25*m),c.lineTo(.5*m,m*Ra),c.lineTo(m,.25*m),c.lineTo(m,.75*m),c.lineTo(.5*m,(1-Ra)*m),c.lineTo(0,.75*m),c.close());c.end()};mxCellRenderer.registerShape("isoCube",l);mxUtils.extend(q,mxCylinder);q.prototype.redrawPath=function(c,m,t,n,r,v){m=Math.min(r/2,Math.round(r/8)+this.strokewidth-1);if(v&&null!=this.fill||!v&&null==this.fill)c.moveTo(0,m),c.curveTo(0,2*m,n,2*m,n,m),v||(c.stroke(),c.begin()),c.translate(0,m/2),c.moveTo(0,+m),c.curveTo(0,2*m,n,2*m,n,m),v||(c.stroke(),c.begin()),c.translate(0,m/2),c.moveTo(0,m),c.curveTo(0,2*m,n,2*m,n,m),v||(c.stroke(),c.begin()),c.translate(0,-m);v||(c.moveTo(0,m),c.curveTo(0,-m/3,n,-m/3,n,m),c.lineTo(n,r-m),c.curveTo(n,r+m/3,0,r+m/3,0,r-m),c.close())};q.prototype.getLabelMargins=function(c){return new mxRectangle(0,2.5*Math.min(c.height/2,Math.round(c.height/8)+this.strokewidth-1),0,0)};mxCellRenderer.registerShape("datastore",q);mxUtils.extend(k,mxCylinder);k.prototype.size=30;k.prototype.darkOpacity=+0;k.prototype.paintVertexShape=function(c,m,t,n,r){var v=Math.max(0,Math.min(n,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))))),x=Math.max(-1,Math.min(1,parseFloat(mxUtils.getValue(this.style,"darkOpacity",this.darkOpacity))));c.translate(m,t);c.begin();c.moveTo(0,0);c.lineTo(n-v,0);c.lineTo(n,v);c.lineTo(n,r);c.lineTo(0,r);c.lineTo(0,0);c.close();c.end();c.fillAndStroke();this.outline||(c.setShadow(!1),0!=x&&(c.setFillAlpha(Math.abs(x)),c.setFillColor(0>x?"#FFFFFF":"#000000"),c.begin(),c.moveTo(n-v,0),c.lineTo(n-v,v),c.lineTo(n,v),c.close(),c.fill()),c.begin(),c.moveTo(n-v,0),c.lineTo(n-v,v),c.lineTo(n,v),c.end(),c.stroke())};mxCellRenderer.registerShape("note",k);mxUtils.extend(u,k);mxCellRenderer.registerShape("note2",u);u.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var m=mxUtils.getValue(this.style,"size",15);return new mxRectangle(0,Math.min(c.height*this.scale,m*this.scale),0,0)}return null};mxUtils.extend(w,mxShape);w.prototype.isoAngle=-15;w.prototype.paintVertexShape=function(c,m,t,n,q){var v=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;v=Math.min(n*Math.tan(v),.5*q);c.translate(m,t);c.begin();c.moveTo(.5*n,0);c.lineTo(n,v);c.lineTo(n,q-v);c.lineTo(.5*n,q);c.lineTo(0,q-v);c.lineTo(0,v);c.close();c.fillAndStroke();c.setShadow(!1);c.begin();c.moveTo(0,v);c.lineTo(.5*n,2*v);c.lineTo(n,v);c.moveTo(.5*n,2*v);c.lineTo(.5*n,q);c.stroke()};mxCellRenderer.registerShape("isoCube2",-w);mxUtils.extend(y,mxShape);y.prototype.size=15;y.prototype.paintVertexShape=function(c,m,t,n,q){var v=Math.max(0,Math.min(.5*q,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.translate(m,t);0==v?(c.rect(0,0,n,q),c.fillAndStroke()):(c.begin(),c.moveTo(0,v),c.arcTo(.5*n,v,0,0,1,.5*n,0),c.arcTo(.5*n,v,0,0,1,n,v),c.lineTo(n,q-v),c.arcTo(.5*n,v,0,0,1,.5*n,q),c.arcTo(.5*n,v,0,0,1,0,q-v),c.close(),c.fillAndStroke(),c.setShadow(!1),c.begin(),c.moveTo(n,v),c.arcTo(.5*n,v,0,0,1,.5*n,2*v),c.arcTo(.5*-n,v,0,0,1,0,v),c.stroke())};mxCellRenderer.registerShape("cylinder2",y);mxUtils.extend(A,mxCylinder);A.prototype.size=15;A.prototype.paintVertexShape=function(c,m,t,n,q){var v=Math.max(0,Math.min(.5*q,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),x=mxUtils.getValue(this.style,"lid",!0);c.translate(m,t);0==v?(c.rect(0,0,n,q),c.fillAndStroke()):(c.begin(),x?(c.moveTo(0,v),c.arcTo(.5*n,v,0,0,1,.5*n,0),c.arcTo(.5*n,v,0,0,1,n,v)):(c.moveTo(0,0),c.arcTo(.5*n,v,0,0,0,.5*n,v),c.arcTo(.5*n,v,-0,0,0,n,0)),c.lineTo(n,q-v),c.arcTo(.5*n,v,0,0,1,.5*n,q),c.arcTo(.5*n,v,0,0,1,0,q-v),c.close(),c.fillAndStroke(),c.setShadow(!1),x&&(c.begin(),c.moveTo(n,v),c.arcTo(.5*n,v,0,0,1,.5*n,2*v),c.arcTo(.5*n,v,0,0,1,0,v),c.stroke()))};mxCellRenderer.registerShape("cylinder3",A);mxUtils.extend(G,mxActor);G.prototype.redrawPath=function(c,m,t,n,q){c.moveTo(0,0);c.quadTo(n/2,.5*q,n,0);c.quadTo(.5*n,q/2,n,q);c.quadTo(n/2,.5*q,0,q);c.quadTo(.5*n,q/2,0,0);c.end()};mxCellRenderer.registerShape("switch",G);mxUtils.extend(D,-mxCylinder);D.prototype.tabWidth=60;D.prototype.tabHeight=20;D.prototype.tabPosition="right";D.prototype.arcSize=.1;D.prototype.isRoundable=function(){return!0};D.prototype.paintVertexShape=function(c,m,t,n,q){c.translate(m,t);m=Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"tabWidth",this.tabWidth))));t=Math.max(0,Math.min(q,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));var v=mxUtils.getValue(this.style,"tabPosition",this.tabPosition),x=mxUtils.getValue(this.style,-"rounded",!1),I=mxUtils.getValue(this.style,"absoluteArcSize",!1),z=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));I||(z*=Math.min(n,q));z=Math.min(z,.5*n,.5*(q-t));m=Math.max(m,z);m=Math.min(n-z,m);x||(z=0);c.begin();"left"==v?(c.moveTo(Math.max(z,0),t),c.lineTo(Math.max(z,0),0),c.lineTo(m,0),c.lineTo(m,t)):(c.moveTo(n-m,t),c.lineTo(n-m,0),c.lineTo(n-Math.max(z,0),0),c.lineTo(n-Math.max(z,0),t));x?(c.moveTo(0,z+t),c.arcTo(z,z,0,0,1,z,t),c.lineTo(n-z,t),c.arcTo(z,z,0,0,1,n,z+t),c.lineTo(n,-q-z),c.arcTo(z,z,0,0,1,n-z,q),c.lineTo(z,q),c.arcTo(z,z,0,0,1,0,q-z)):(c.moveTo(0,t),c.lineTo(n,t),c.lineTo(n,q),c.lineTo(0,q));c.close();c.fillAndStroke();c.setShadow(!1);"triangle"==mxUtils.getValue(this.style,"folderSymbol",null)&&(c.begin(),c.moveTo(n-30,t+20),c.lineTo(n-20,t+10),c.lineTo(n-10,t+20),c.close(),c.stroke())};mxCellRenderer.registerShape("folder",D);D.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var m=mxUtils.getValue(this.style,"tabHeight",-15)*this.scale;if(mxUtils.getValue(this.style,"labelInHeader",!1)){var t=mxUtils.getValue(this.style,"tabWidth",15)*this.scale;m=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;var n=mxUtils.getValue(this.style,"rounded",!1),q=mxUtils.getValue(this.style,"absoluteArcSize",!1),v=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));q||(v*=Math.min(c.width,c.height));v=Math.min(v,.5*c.width,.5*(c.height-m));n||(v=0);return"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?-new mxRectangle(v,0,Math.min(c.width,c.width-t),Math.min(c.height,c.height-m)):new mxRectangle(Math.min(c.width,c.width-t),0,v,Math.min(c.height,c.height-m))}return new mxRectangle(0,Math.min(c.height,m),0,0)}return null};mxUtils.extend(F,mxCylinder);F.prototype.arcSize=.1;F.prototype.paintVertexShape=function(c,m,t,n,q){c.translate(m,t);var v=mxUtils.getValue(this.style,"rounded",!1),x=mxUtils.getValue(this.style,"absoluteArcSize",!1);m=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));-t=mxUtils.getValue(this.style,"umlStateConnection",null);x||(m*=Math.min(n,q));m=Math.min(m,.5*n,.5*q);v||(m=0);v=0;null!=t&&(v=10);c.begin();c.moveTo(v,m);c.arcTo(m,m,0,0,1,v+m,0);c.lineTo(n-m,0);c.arcTo(m,m,0,0,1,n,m);c.lineTo(n,q-m);c.arcTo(m,m,0,0,1,n-m,q);c.lineTo(v+m,q);c.arcTo(m,m,0,0,1,v,q-m);c.close();c.fillAndStroke();c.setShadow(!1);"collapseState"==mxUtils.getValue(this.style,"umlStateSymbol",null)&&(c.roundrect(n-40,q-20,10,10,3,3),c.stroke(),c.roundrect(n-20,q-20,10,10,3,3),c.stroke(),-c.begin(),c.moveTo(n-30,q-15),c.lineTo(n-20,q-15),c.stroke());"connPointRefEntry"==t?(c.ellipse(0,.5*q-10,20,20),c.fillAndStroke()):"connPointRefExit"==t&&(c.ellipse(0,.5*q-10,20,20),c.fillAndStroke(),c.begin(),c.moveTo(5,.5*q-5),c.lineTo(15,.5*q+5),c.moveTo(15,.5*q-5),c.lineTo(5,.5*q+5),c.stroke())};F.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)&&null!=mxUtils.getValue(this.style,"umlStateConnection",null)?new mxRectangle(10*this.scale,0,0,0):null};mxCellRenderer.registerShape("umlState",-F);mxUtils.extend(H,mxActor);H.prototype.size=30;H.prototype.isRoundable=function(){return!0};H.prototype.redrawPath=function(c,m,t,n,q){m=Math.max(0,Math.min(n,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(m,0),new mxPoint(n,0),new mxPoint(n,q),new mxPoint(0,q),new mxPoint(0,m)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("card",H);mxUtils.extend(M,-mxActor);M.prototype.size=.4;M.prototype.redrawPath=function(c,m,t,n,q){m=q*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(0,m/2);c.quadTo(n/4,1.4*m,n/2,m/2);c.quadTo(3*n/4,m*(1-1.4),n,m/2);c.lineTo(n,q-m/2);c.quadTo(3*n/4,q-1.4*m,n/2,q-m/2);c.quadTo(n/4,q-m*(1-1.4),0,q-m/2);c.lineTo(0,m/2);c.close();c.end()};M.prototype.getLabelBounds=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var m=mxUtils.getValue(this.style,"size",this.size),t=c.width,+15;w.prototype.paintVertexShape=function(c,m,t,n,r){var v=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;v=Math.min(n*Math.tan(v),.5*r);c.translate(m,t);c.begin();c.moveTo(.5*n,0);c.lineTo(n,v);c.lineTo(n,r-v);c.lineTo(.5*n,r);c.lineTo(0,r-v);c.lineTo(0,v);c.close();c.fillAndStroke();c.setShadow(!1);c.begin();c.moveTo(0,v);c.lineTo(.5*n,2*v);c.lineTo(n,v);c.moveTo(.5*n,2*v);c.lineTo(.5*n,r);c.stroke()};mxCellRenderer.registerShape("isoCube2",+w);mxUtils.extend(y,mxShape);y.prototype.size=15;y.prototype.paintVertexShape=function(c,m,t,n,r){var v=Math.max(0,Math.min(.5*r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.translate(m,t);0==v?(c.rect(0,0,n,r),c.fillAndStroke()):(c.begin(),c.moveTo(0,v),c.arcTo(.5*n,v,0,0,1,.5*n,0),c.arcTo(.5*n,v,0,0,1,n,v),c.lineTo(n,r-v),c.arcTo(.5*n,v,0,0,1,.5*n,r),c.arcTo(.5*n,v,0,0,1,0,r-v),c.close(),c.fillAndStroke(),c.setShadow(!1),c.begin(),c.moveTo(n,v),c.arcTo(.5*n,v,0,0,1,.5*n,2*v),c.arcTo(.5*+n,v,0,0,1,0,v),c.stroke())};mxCellRenderer.registerShape("cylinder2",y);mxUtils.extend(A,mxCylinder);A.prototype.size=15;A.prototype.paintVertexShape=function(c,m,t,n,r){var v=Math.max(0,Math.min(.5*r,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),x=mxUtils.getValue(this.style,"lid",!0);c.translate(m,t);0==v?(c.rect(0,0,n,r),c.fillAndStroke()):(c.begin(),x?(c.moveTo(0,v),c.arcTo(.5*n,v,0,0,1,.5*n,0),c.arcTo(.5*n,v,0,0,1,n,v)):(c.moveTo(0,0),c.arcTo(.5*n,v,0,0,0,.5*n,v),c.arcTo(.5*n,v,+0,0,0,n,0)),c.lineTo(n,r-v),c.arcTo(.5*n,v,0,0,1,.5*n,r),c.arcTo(.5*n,v,0,0,1,0,r-v),c.close(),c.fillAndStroke(),c.setShadow(!1),x&&(c.begin(),c.moveTo(n,v),c.arcTo(.5*n,v,0,0,1,.5*n,2*v),c.arcTo(.5*n,v,0,0,1,0,v),c.stroke()))};mxCellRenderer.registerShape("cylinder3",A);mxUtils.extend(F,mxActor);F.prototype.redrawPath=function(c,m,t,n,r){c.moveTo(0,0);c.quadTo(n/2,.5*r,n,0);c.quadTo(.5*n,r/2,n,r);c.quadTo(n/2,.5*r,0,r);c.quadTo(.5*n,r/2,0,0);c.end()};mxCellRenderer.registerShape("switch",F);mxUtils.extend(D,+mxCylinder);D.prototype.tabWidth=60;D.prototype.tabHeight=20;D.prototype.tabPosition="right";D.prototype.arcSize=.1;D.prototype.isRoundable=function(){return!0};D.prototype.paintVertexShape=function(c,m,t,n,r){c.translate(m,t);m=Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"tabWidth",this.tabWidth))));t=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));var v=mxUtils.getValue(this.style,"tabPosition",this.tabPosition),x=mxUtils.getValue(this.style,+"rounded",!1),I=mxUtils.getValue(this.style,"absoluteArcSize",!1),z=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));I||(z*=Math.min(n,r));z=Math.min(z,.5*n,.5*(r-t));m=Math.max(m,z);m=Math.min(n-z,m);x||(z=0);c.begin();"left"==v?(c.moveTo(Math.max(z,0),t),c.lineTo(Math.max(z,0),0),c.lineTo(m,0),c.lineTo(m,t)):(c.moveTo(n-m,t),c.lineTo(n-m,0),c.lineTo(n-Math.max(z,0),0),c.lineTo(n-Math.max(z,0),t));x?(c.moveTo(0,z+t),c.arcTo(z,z,0,0,1,z,t),c.lineTo(n-z,t),c.arcTo(z,z,0,0,1,n,z+t),c.lineTo(n,+r-z),c.arcTo(z,z,0,0,1,n-z,r),c.lineTo(z,r),c.arcTo(z,z,0,0,1,0,r-z)):(c.moveTo(0,t),c.lineTo(n,t),c.lineTo(n,r),c.lineTo(0,r));c.close();c.fillAndStroke();c.setShadow(!1);"triangle"==mxUtils.getValue(this.style,"folderSymbol",null)&&(c.begin(),c.moveTo(n-30,t+20),c.lineTo(n-20,t+10),c.lineTo(n-10,t+20),c.close(),c.stroke())};mxCellRenderer.registerShape("folder",D);D.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var m=mxUtils.getValue(this.style,"tabHeight",+15)*this.scale;if(mxUtils.getValue(this.style,"labelInHeader",!1)){var t=mxUtils.getValue(this.style,"tabWidth",15)*this.scale;m=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;var n=mxUtils.getValue(this.style,"rounded",!1),r=mxUtils.getValue(this.style,"absoluteArcSize",!1),v=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));r||(v*=Math.min(c.width,c.height));v=Math.min(v,.5*c.width,.5*(c.height-m));n||(v=0);return"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?+new mxRectangle(v,0,Math.min(c.width,c.width-t),Math.min(c.height,c.height-m)):new mxRectangle(Math.min(c.width,c.width-t),0,v,Math.min(c.height,c.height-m))}return new mxRectangle(0,Math.min(c.height,m),0,0)}return null};mxUtils.extend(G,mxCylinder);G.prototype.arcSize=.1;G.prototype.paintVertexShape=function(c,m,t,n,r){c.translate(m,t);var v=mxUtils.getValue(this.style,"rounded",!1),x=mxUtils.getValue(this.style,"absoluteArcSize",!1);m=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));+t=mxUtils.getValue(this.style,"umlStateConnection",null);x||(m*=Math.min(n,r));m=Math.min(m,.5*n,.5*r);v||(m=0);v=0;null!=t&&(v=10);c.begin();c.moveTo(v,m);c.arcTo(m,m,0,0,1,v+m,0);c.lineTo(n-m,0);c.arcTo(m,m,0,0,1,n,m);c.lineTo(n,r-m);c.arcTo(m,m,0,0,1,n-m,r);c.lineTo(v+m,r);c.arcTo(m,m,0,0,1,v,r-m);c.close();c.fillAndStroke();c.setShadow(!1);"collapseState"==mxUtils.getValue(this.style,"umlStateSymbol",null)&&(c.roundrect(n-40,r-20,10,10,3,3),c.stroke(),c.roundrect(n-20,r-20,10,10,3,3),c.stroke(),+c.begin(),c.moveTo(n-30,r-15),c.lineTo(n-20,r-15),c.stroke());"connPointRefEntry"==t?(c.ellipse(0,.5*r-10,20,20),c.fillAndStroke()):"connPointRefExit"==t&&(c.ellipse(0,.5*r-10,20,20),c.fillAndStroke(),c.begin(),c.moveTo(5,.5*r-5),c.lineTo(15,.5*r+5),c.moveTo(15,.5*r-5),c.lineTo(5,.5*r+5),c.stroke())};G.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)&&null!=mxUtils.getValue(this.style,"umlStateConnection",null)?new mxRectangle(10*this.scale,0,0,0):null};mxCellRenderer.registerShape("umlState",+G);mxUtils.extend(H,mxActor);H.prototype.size=30;H.prototype.isRoundable=function(){return!0};H.prototype.redrawPath=function(c,m,t,n,r){m=Math.max(0,Math.min(n,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(m,0),new mxPoint(n,0),new mxPoint(n,r),new mxPoint(0,r),new mxPoint(0,m)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("card",H);mxUtils.extend(M,+mxActor);M.prototype.size=.4;M.prototype.redrawPath=function(c,m,t,n,r){m=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(0,m/2);c.quadTo(n/4,1.4*m,n/2,m/2);c.quadTo(3*n/4,m*(1-1.4),n,m/2);c.lineTo(n,r-m/2);c.quadTo(3*n/4,r-1.4*m,n/2,r-m/2);c.quadTo(n/4,r-m*(1-1.4),0,r-m/2);c.lineTo(0,m/2);c.close();c.end()};M.prototype.getLabelBounds=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var m=mxUtils.getValue(this.style,"size",this.size),t=c.width,n=c.height;if(null==this.direction||this.direction==mxConstants.DIRECTION_EAST||this.direction==mxConstants.DIRECTION_WEST)return m*=n,new mxRectangle(c.x,c.y+m,t,n-2*m);m*=t;return new mxRectangle(c.x+m,c.y,t-2*m,n)}return c};mxCellRenderer.registerShape("tape",M);mxUtils.extend(N,mxActor);N.prototype.size=.3;N.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)?new mxRectangle(0,0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*c.height):null};N.prototype.redrawPath=-function(c,m,t,n,q){m=q*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(0,0);c.lineTo(n,0);c.lineTo(n,q-m/2);c.quadTo(3*n/4,q-1.4*m,n/2,q-m/2);c.quadTo(n/4,q-m*(1-1.4),0,q-m/2);c.lineTo(0,m/2);c.close();c.end()};mxCellRenderer.registerShape("document",N);var Ya=mxCylinder.prototype.getCylinderSize;mxCylinder.prototype.getCylinderSize=function(c,m,t,n){var q=mxUtils.getValue(this.style,"size");return null!=q?n*Math.max(0,Math.min(1,q)):Ya.apply(this,arguments)};+function(c,m,t,n,r){m=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(0,0);c.lineTo(n,0);c.lineTo(n,r-m/2);c.quadTo(3*n/4,r-1.4*m,n/2,r-m/2);c.quadTo(n/4,r-m*(1-1.4),0,r-m/2);c.lineTo(0,m/2);c.close();c.end()};mxCellRenderer.registerShape("document",N);var Ya=mxCylinder.prototype.getCylinderSize;mxCylinder.prototype.getCylinderSize=function(c,m,t,n){var r=mxUtils.getValue(this.style,"size");return null!=r?n*Math.max(0,Math.min(1,r)):Ya.apply(this,arguments)};mxCylinder.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var m=2*mxUtils.getValue(this.style,"size",.15);return new mxRectangle(0,Math.min(this.maxHeight*this.scale,c.height*m),0,0)}return null};A.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var m=mxUtils.getValue(this.style,"size",15);mxUtils.getValue(this.style,"lid",!0)||(m/=2);return new mxRectangle(0,Math.min(c.height*this.scale,2*m*this.scale),0,Math.max(0,.3*-m*this.scale))}return null};D.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var m=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;if(mxUtils.getValue(this.style,"labelInHeader",!1)){var t=mxUtils.getValue(this.style,"tabWidth",15)*this.scale;m=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;var n=mxUtils.getValue(this.style,"rounded",!1),q=mxUtils.getValue(this.style,"absoluteArcSize",!1),v=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));-q||(v*=Math.min(c.width,c.height));v=Math.min(v,.5*c.width,.5*(c.height-m));n||(v=0);return"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?new mxRectangle(v,0,Math.min(c.width,c.width-t),Math.min(c.height,c.height-m)):new mxRectangle(Math.min(c.width,c.width-t),0,v,Math.min(c.height,c.height-m))}return new mxRectangle(0,Math.min(c.height,m),0,0)}return null};F.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)&&null!=mxUtils.getValue(this.style,-"umlStateConnection",null)?new mxRectangle(10*this.scale,0,0,0):null};u.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var m=mxUtils.getValue(this.style,"size",15);return new mxRectangle(0,Math.min(c.height*this.scale,m*this.scale),0,Math.max(0,m*this.scale))}return null};mxUtils.extend(K,mxActor);K.prototype.size=.2;K.prototype.fixedSize=20;K.prototype.isRoundable=function(){return!0};K.prototype.redrawPath=function(c,m,t,n,q){m="0"!=mxUtils.getValue(this.style,-"fixedSize","0")?Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,q),new mxPoint(m,0),new mxPoint(n,0),new mxPoint(n-m,q)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("parallelogram",K);mxUtils.extend(T,mxActor);T.prototype.size=.2;T.prototype.fixedSize=-20;T.prototype.isRoundable=function(){return!0};T.prototype.redrawPath=function(c,m,t,n,q){m="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(.5*n,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):n*Math.max(0,Math.min(.5,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,q),new mxPoint(m,0),new mxPoint(n-m,0),new mxPoint(n,q)],this.isRounded,-t,!0)};mxCellRenderer.registerShape("trapezoid",T);mxUtils.extend(W,mxActor);W.prototype.size=.5;W.prototype.redrawPath=function(c,m,t,n,q){c.setFillColor(null);m=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(n,0),new mxPoint(m,0),new mxPoint(m,q/2),new mxPoint(0,q/2),new mxPoint(m,q/2),new mxPoint(m,q),new mxPoint(n,q)],this.isRounded,t,!1);c.end()};-mxCellRenderer.registerShape("curlyBracket",W);mxUtils.extend(S,mxActor);S.prototype.redrawPath=function(c,m,t,n,q){c.setStrokeWidth(1);c.setFillColor(this.stroke);m=n/5;c.rect(0,0,m,q);c.fillAndStroke();c.rect(2*m,0,m,q);c.fillAndStroke();c.rect(4*m,0,m,q);c.fillAndStroke()};mxCellRenderer.registerShape("parallelMarker",S);V.prototype.moveTo=function(c,m){this.originalMoveTo.apply(this.canvas,arguments);this.lastX=c;this.lastY=m;this.firstX=c;this.firstY=m};V.prototype.close=function(){null!=this.firstX&&-null!=this.firstY&&(this.lineTo(this.firstX,this.firstY),this.originalClose.apply(this.canvas,arguments));this.originalClose.apply(this.canvas,arguments)};V.prototype.quadTo=function(c,m,t,n){this.originalQuadTo.apply(this.canvas,arguments);this.lastX=t;this.lastY=n};V.prototype.curveTo=function(c,m,t,n,q,v){this.originalCurveTo.apply(this.canvas,arguments);this.lastX=q;this.lastY=v};V.prototype.arcTo=function(c,m,t,n,q,v,x){this.originalArcTo.apply(this.canvas,arguments);this.lastX=v;this.lastY=-x};V.prototype.lineTo=function(c,m){if(null!=this.lastX&&null!=this.lastY){var t=function(R){return"number"===typeof R?R?0>R?-1:1:R===R?0:NaN:NaN},n=Math.abs(c-this.lastX),q=Math.abs(m-this.lastY),v=Math.sqrt(n*n+q*q);if(2>v){this.originalLineTo.apply(this.canvas,arguments);this.lastX=c;this.lastY=m;return}var x=Math.round(v/10),I=this.defaultVariation;5>x&&(x=5,I/=3);var z=t(c-this.lastX)*n/x;t=t(m-this.lastY)*q/x;n/=v;q/=v;for(v=0;v<x;v++){var da=(Math.random()-.5)*I;this.originalLineTo.call(this.canvas,-z*v+this.lastX-da*q,t*v+this.lastY-da*n)}this.originalLineTo.call(this.canvas,c,m)}else this.originalLineTo.apply(this.canvas,arguments);this.lastX=c;this.lastY=m};V.prototype.destroy=function(){this.canvas.lineTo=this.originalLineTo;this.canvas.moveTo=this.originalMoveTo;this.canvas.close=this.originalClose;this.canvas.quadTo=this.originalQuadTo;this.canvas.curveTo=this.originalCurveTo;this.canvas.arcTo=this.originalArcTo};var lb=mxShape.prototype.beforePaint;mxShape.prototype.beforePaint=function(c){lb.apply(this,+m*this.scale))}return null};D.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var m=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;if(mxUtils.getValue(this.style,"labelInHeader",!1)){var t=mxUtils.getValue(this.style,"tabWidth",15)*this.scale;m=mxUtils.getValue(this.style,"tabHeight",15)*this.scale;var n=mxUtils.getValue(this.style,"rounded",!1),r=mxUtils.getValue(this.style,"absoluteArcSize",!1),v=parseFloat(mxUtils.getValue(this.style,"arcSize",this.arcSize));+r||(v*=Math.min(c.width,c.height));v=Math.min(v,.5*c.width,.5*(c.height-m));n||(v=0);return"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?new mxRectangle(v,0,Math.min(c.width,c.width-t),Math.min(c.height,c.height-m)):new mxRectangle(Math.min(c.width,c.width-t),0,v,Math.min(c.height,c.height-m))}return new mxRectangle(0,Math.min(c.height,m),0,0)}return null};G.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)&&null!=mxUtils.getValue(this.style,+"umlStateConnection",null)?new mxRectangle(10*this.scale,0,0,0):null};u.prototype.getLabelMargins=function(c){if(mxUtils.getValue(this.style,"boundedLbl",!1)){var m=mxUtils.getValue(this.style,"size",15);return new mxRectangle(0,Math.min(c.height*this.scale,m*this.scale),0,Math.max(0,m*this.scale))}return null};mxUtils.extend(K,mxActor);K.prototype.size=.2;K.prototype.fixedSize=20;K.prototype.isRoundable=function(){return!0};K.prototype.redrawPath=function(c,m,t,n,r){m="0"!=mxUtils.getValue(this.style,+"fixedSize","0")?Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r),new mxPoint(m,0),new mxPoint(n,0),new mxPoint(n-m,r)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("parallelogram",K);mxUtils.extend(T,mxActor);T.prototype.size=.2;T.prototype.fixedSize=+20;T.prototype.isRoundable=function(){return!0};T.prototype.redrawPath=function(c,m,t,n,r){m="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(.5*n,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):n*Math.max(0,Math.min(.5,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r),new mxPoint(m,0),new mxPoint(n-m,0),new mxPoint(n,r)],this.isRounded,+t,!0)};mxCellRenderer.registerShape("trapezoid",T);mxUtils.extend(W,mxActor);W.prototype.size=.5;W.prototype.redrawPath=function(c,m,t,n,r){c.setFillColor(null);m=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(n,0),new mxPoint(m,0),new mxPoint(m,r/2),new mxPoint(0,r/2),new mxPoint(m,r/2),new mxPoint(m,r),new mxPoint(n,r)],this.isRounded,t,!1);c.end()};+mxCellRenderer.registerShape("curlyBracket",W);mxUtils.extend(S,mxActor);S.prototype.redrawPath=function(c,m,t,n,r){c.setStrokeWidth(1);c.setFillColor(this.stroke);m=n/5;c.rect(0,0,m,r);c.fillAndStroke();c.rect(2*m,0,m,r);c.fillAndStroke();c.rect(4*m,0,m,r);c.fillAndStroke()};mxCellRenderer.registerShape("parallelMarker",S);V.prototype.moveTo=function(c,m){this.originalMoveTo.apply(this.canvas,arguments);this.lastX=c;this.lastY=m;this.firstX=c;this.firstY=m};V.prototype.close=function(){null!=this.firstX&&+null!=this.firstY&&(this.lineTo(this.firstX,this.firstY),this.originalClose.apply(this.canvas,arguments));this.originalClose.apply(this.canvas,arguments)};V.prototype.quadTo=function(c,m,t,n){this.originalQuadTo.apply(this.canvas,arguments);this.lastX=t;this.lastY=n};V.prototype.curveTo=function(c,m,t,n,r,v){this.originalCurveTo.apply(this.canvas,arguments);this.lastX=r;this.lastY=v};V.prototype.arcTo=function(c,m,t,n,r,v,x){this.originalArcTo.apply(this.canvas,arguments);this.lastX=v;this.lastY=+x};V.prototype.lineTo=function(c,m){if(null!=this.lastX&&null!=this.lastY){var t=function(R){return"number"===typeof R?R?0>R?-1:1:R===R?0:NaN:NaN},n=Math.abs(c-this.lastX),r=Math.abs(m-this.lastY),v=Math.sqrt(n*n+r*r);if(2>v){this.originalLineTo.apply(this.canvas,arguments);this.lastX=c;this.lastY=m;return}var x=Math.round(v/10),I=this.defaultVariation;5>x&&(x=5,I/=3);var z=t(c-this.lastX)*n/x;t=t(m-this.lastY)*r/x;n/=v;r/=v;for(v=0;v<x;v++){var da=(Math.random()-.5)*I;this.originalLineTo.call(this.canvas,+z*v+this.lastX-da*r,t*v+this.lastY-da*n)}this.originalLineTo.call(this.canvas,c,m)}else this.originalLineTo.apply(this.canvas,arguments);this.lastX=c;this.lastY=m};V.prototype.destroy=function(){this.canvas.lineTo=this.originalLineTo;this.canvas.moveTo=this.originalMoveTo;this.canvas.close=this.originalClose;this.canvas.quadTo=this.originalQuadTo;this.canvas.curveTo=this.originalCurveTo;this.canvas.arcTo=this.originalArcTo};var lb=mxShape.prototype.beforePaint;mxShape.prototype.beforePaint=function(c){lb.apply(this,arguments);null==c.handJiggle&&(c.handJiggle=this.createHandJiggle(c))};var tb=mxShape.prototype.afterPaint;mxShape.prototype.afterPaint=function(c){tb.apply(this,arguments);null!=c.handJiggle&&(c.handJiggle.destroy(),delete c.handJiggle)};mxShape.prototype.createComicCanvas=function(c){return new V(c,mxUtils.getValue(this.style,"jiggle",Editor.sketchDefaultJiggle))};mxShape.prototype.createHandJiggle=function(c){return this.outline||null==this.style||"0"==mxUtils.getValue(this.style,"comic","0")?-null:this.createComicCanvas(c)};var ub=mxRectangleShape.prototype.isHtmlAllowed;mxRectangleShape.prototype.isHtmlAllowed=function(){return!this.outline&&(null==this.style||"0"==mxUtils.getValue(this.style,"comic","0")&&"0"==mxUtils.getValue(this.style,"sketch","1"==urlParams.rough?"1":"0"))&&ub.apply(this,arguments)};var mb=mxRectangleShape.prototype.paintBackground;mxRectangleShape.prototype.paintBackground=function(c,m,t,n,q){if(null==c.handJiggle||c.handJiggle.constructor!=V)mb.apply(this,arguments);-else{var v=!0;null!=this.style&&(v="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));if(v||null!=this.fill&&this.fill!=mxConstants.NONE||null!=this.stroke&&this.stroke!=mxConstants.NONE)v||null!=this.fill&&this.fill!=mxConstants.NONE||(c.pointerEvents=!1),c.begin(),this.isRounded?("1"==mxUtils.getValue(this.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?v=Math.min(n/2,Math.min(q/2,mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2)):(v=mxUtils.getValue(this.style,-mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,v=Math.min(n*v,q*v)),c.moveTo(m+v,t),c.lineTo(m+n-v,t),c.quadTo(m+n,t,m+n,t+v),c.lineTo(m+n,t+q-v),c.quadTo(m+n,t+q,m+n-v,t+q),c.lineTo(m+v,t+q),c.quadTo(m,t+q,m,t+q-v),c.lineTo(m,t+v),c.quadTo(m,t,m+v,t)):(c.moveTo(m,t),c.lineTo(m+n,t),c.lineTo(m+n,t+q),c.lineTo(m,t+q),c.lineTo(m,t)),c.close(),c.end(),c.fillAndStroke()}};mxUtils.extend(fa,mxRectangleShape);fa.prototype.size=.1;fa.prototype.fixedSize=!1;fa.prototype.isHtmlAllowed=-function(){return!1};fa.prototype.getLabelBounds=function(c){if(mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,!0)==(null==this.direction||this.direction==mxConstants.DIRECTION_EAST||this.direction==mxConstants.DIRECTION_WEST)){var m=c.width,t=c.height;c=new mxRectangle(c.x,c.y,m,t);var n=mxUtils.getValue(this.style,"fixedSize",this.fixedSize),q=parseFloat(mxUtils.getValue(this.style,"size",this.size));n?q=Math.max(0,Math.min(m,q*this.scale)):(q=m*Math.max(0,Math.min(1,q)),this.isRounded&&-(n=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,q=Math.max(q,Math.min(m*n,t*n))));c.x+=Math.round(q);c.width-=Math.round(2*q);return c}return c};fa.prototype.paintForeground=function(c,m,t,n,q){var v=mxUtils.getValue(this.style,"fixedSize",this.fixedSize),x=parseFloat(mxUtils.getValue(this.style,"size",this.size));x=v?Math.max(0,Math.min(n,x)):n*Math.max(0,Math.min(1,x));this.isRounded&&(v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,-100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,x=Math.max(x,Math.min(n*v,q*v)));x=Math.round(x);c.begin();c.moveTo(m+x,t);c.lineTo(m+x,t+q);c.moveTo(m+n-x,t);c.lineTo(m+n-x,t+q);c.end();c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("process",fa);mxCellRenderer.registerShape("process2",fa);mxUtils.extend(P,mxRectangleShape);P.prototype.paintBackground=function(c,m,t,n,q){c.setFillColor(mxConstants.NONE);c.rect(m,t,n,q);c.fill()};P.prototype.paintForeground=-function(c,m,t,n,q){};mxCellRenderer.registerShape("transparent",P);mxUtils.extend(Z,mxHexagon);Z.prototype.size=30;Z.prototype.position=.5;Z.prototype.position2=.5;Z.prototype.base=20;Z.prototype.getLabelMargins=function(){return new mxRectangle(0,0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale)};Z.prototype.isRoundable=function(){return!0};Z.prototype.redrawPath=function(c,m,t,n,q){m=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;t=Math.max(0,-Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size))));var v=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position",this.position)))),x=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2)))),I=Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"base",this.base))));this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,q-t),new mxPoint(Math.min(n,v+I),q-t),new mxPoint(x,q),new mxPoint(Math.max(0,v),q-t),-new mxPoint(0,q-t)],this.isRounded,m,!0,[4])};mxCellRenderer.registerShape("callout",Z);mxUtils.extend(X,mxActor);X.prototype.size=.2;X.prototype.fixedSize=20;X.prototype.isRoundable=function(){return!0};X.prototype.redrawPath=function(c,m,t,n,q){m="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,-mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n-m,0),new mxPoint(n,q/2),new mxPoint(n-m,q),new mxPoint(0,q),new mxPoint(m,q/2)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("step",X);mxUtils.extend(ba,mxHexagon);ba.prototype.size=.25;ba.prototype.fixedSize=20;ba.prototype.isRoundable=function(){return!0};ba.prototype.redrawPath=function(c,m,t,n,q){m="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(.5*n,parseFloat(mxUtils.getValue(this.style,-"size",this.fixedSize)))):n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(m,0),new mxPoint(n-m,0),new mxPoint(n,.5*q),new mxPoint(n-m,q),new mxPoint(m,q),new mxPoint(0,.5*q)],this.isRounded,t,!0)};mxCellRenderer.registerShape("hexagon",ba);mxUtils.extend(L,mxRectangleShape);L.prototype.isHtmlAllowed=function(){return!1};L.prototype.paintForeground=function(c,-m,t,n,q){var v=Math.min(n/5,q/5)+1;c.begin();c.moveTo(m+n/2,t+v);c.lineTo(m+n/2,t+q-v);c.moveTo(m+v,t+q/2);c.lineTo(m+n-v,t+q/2);c.end();c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("plus",L);var nb=mxRhombus.prototype.paintVertexShape;mxRhombus.prototype.getLabelBounds=function(c){if(1==this.style["double"]){var m=(2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(c.x+-m,c.y+m,c.width-2*m,c.height-2*m)}return c};mxRhombus.prototype.paintVertexShape=function(c,m,t,n,q){nb.apply(this,arguments);if(!this.outline&&1==this.style["double"]){var v=2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0);m+=v;t+=v;n-=2*v;q-=2*v;0<n&&0<q&&(c.setShadow(!1),nb.apply(this,[c,m,t,n,q]))}};mxUtils.extend(U,mxRectangleShape);U.prototype.isHtmlAllowed=function(){return!1};U.prototype.getLabelBounds=function(c){if(1==this.style["double"]){var m=(Math.max(2,-this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(c.x+m,c.y+m,c.width-2*m,c.height-2*m)}return c};U.prototype.paintForeground=function(c,m,t,n,q){if(null!=this.style){if(!this.outline&&1==this.style["double"]){var v=Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0);m+=v;t+=v;n-=2*v;q-=2*v;0<n&&0<q&&mxRectangleShape.prototype.paintBackground.apply(this,arguments)}c.setDashed(!1);v=0;do{var x=mxCellRenderer.defaultShapes[this.style["symbol"+-v]];if(null!=x){var I=this.style["symbol"+v+"Align"],z=this.style["symbol"+v+"VerticalAlign"],da=this.style["symbol"+v+"Width"],R=this.style["symbol"+v+"Height"],Ga=this.style["symbol"+v+"Spacing"]||0,Ta=this.style["symbol"+v+"VSpacing"]||Ga,Pa=this.style["symbol"+v+"ArcSpacing"];null!=Pa&&(Pa*=this.getArcSize(n+this.strokewidth,q+this.strokewidth),Ga+=Pa,Ta+=Pa);Pa=m;var pa=t;Pa=I==mxConstants.ALIGN_CENTER?Pa+(n-da)/2:I==mxConstants.ALIGN_RIGHT?Pa+(n-da-Ga):Pa+Ga;pa=z==mxConstants.ALIGN_MIDDLE?pa+-(q-R)/2:z==mxConstants.ALIGN_BOTTOM?pa+(q-R-Ta):pa+Ta;c.save();I=new x;I.style=this.style;x.prototype.paintVertexShape.call(I,c,Pa,pa,da,R);c.restore()}v++}while(null!=x)}mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("ext",U);mxUtils.extend(aa,mxCylinder);aa.prototype.redrawPath=function(c,m,t,n,q,v){v?(c.moveTo(0,0),c.lineTo(n/2,q/2),c.lineTo(n,0),c.end()):(c.moveTo(0,0),c.lineTo(n,0),c.lineTo(n,q),c.lineTo(0,q),c.close())};mxCellRenderer.registerShape("message",-aa);mxUtils.extend(ha,mxShape);ha.prototype.paintBackground=function(c,m,t,n,q){c.translate(m,t);c.ellipse(n/4,0,n/2,q/4);c.fillAndStroke();c.begin();c.moveTo(n/2,q/4);c.lineTo(n/2,2*q/3);c.moveTo(n/2,q/3);c.lineTo(0,q/3);c.moveTo(n/2,q/3);c.lineTo(n,q/3);c.moveTo(n/2,2*q/3);c.lineTo(0,q);c.moveTo(n/2,2*q/3);c.lineTo(n,q);c.end();c.stroke()};mxCellRenderer.registerShape("umlActor",ha);mxUtils.extend(ma,mxShape);ma.prototype.getLabelMargins=function(c){return new mxRectangle(c.width/6,0,0,0)};ma.prototype.paintBackground=-function(c,m,t,n,q){c.translate(m,t);c.begin();c.moveTo(0,q/4);c.lineTo(0,3*q/4);c.end();c.stroke();c.begin();c.moveTo(0,q/2);c.lineTo(n/6,q/2);c.end();c.stroke();c.ellipse(n/6,0,5*n/6,q);c.fillAndStroke()};mxCellRenderer.registerShape("umlBoundary",ma);mxUtils.extend(oa,mxEllipse);oa.prototype.paintVertexShape=function(c,m,t,n,q){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.begin();c.moveTo(m+n/8,t+q);c.lineTo(m+7*n/8,t+q);c.end();c.stroke()};mxCellRenderer.registerShape("umlEntity",-oa);mxUtils.extend(ca,mxShape);ca.prototype.paintVertexShape=function(c,m,t,n,q){c.translate(m,t);c.begin();c.moveTo(n,0);c.lineTo(0,q);c.moveTo(0,0);c.lineTo(n,q);c.end();c.stroke()};mxCellRenderer.registerShape("umlDestroy",ca);mxUtils.extend(la,mxShape);la.prototype.getLabelBounds=function(c){return new mxRectangle(c.x,c.y+c.height/8,c.width,7*c.height/8)};la.prototype.paintBackground=function(c,m,t,n,q){c.translate(m,t);c.begin();c.moveTo(3*n/8,q/8*1.1);c.lineTo(5*n/8,0);c.end();c.stroke();c.ellipse(0,-q/8,n,7*q/8);c.fillAndStroke()};la.prototype.paintForeground=function(c,m,t,n,q){c.begin();c.moveTo(3*n/8,q/8*1.1);c.lineTo(5*n/8,q/4);c.end();c.stroke()};mxCellRenderer.registerShape("umlControl",la);mxUtils.extend(ia,mxRectangleShape);ia.prototype.size=40;ia.prototype.isHtmlAllowed=function(){return!1};ia.prototype.getLabelBounds=function(c){var m=Math.max(0,Math.min(c.height,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale));return new mxRectangle(c.x,c.y,c.width,m)};ia.prototype.paintBackground=-function(c,m,t,n,q){var v=Math.max(0,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),x=mxUtils.getValue(this.style,"participant");null==x||null==this.state?mxRectangleShape.prototype.paintBackground.call(this,c,m,t,n,v):(x=this.state.view.graph.cellRenderer.getShape(x),null!=x&&x!=ia&&(x=new x,x.apply(this.state),c.save(),x.paintVertexShape(c,m,t,n,v),c.restore()));v<q&&(c.setDashed("1"==mxUtils.getValue(this.style,"lifelineDashed","1")),c.begin(),c.moveTo(m+n/2,t+v),c.lineTo(m+-n/2,t+q),c.end(),c.stroke())};ia.prototype.paintForeground=function(c,m,t,n,q){var v=Math.max(0,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size))));mxRectangleShape.prototype.paintForeground.call(this,c,m,t,n,Math.min(q,v))};mxCellRenderer.registerShape("umlLifeline",ia);mxUtils.extend(O,mxShape);O.prototype.width=60;O.prototype.height=30;O.prototype.corner=10;O.prototype.configurePointerEvents=function(c){var m=mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.NONE);-null==this.style||null!=m&&m!=mxConstants.NONE&&0!=this.opacity&&0!=this.fillOpacity||"0"!=mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||(c.pointerEvents=!1)};O.prototype.getLabelMargins=function(c){return new mxRectangle(0,0,c.width-parseFloat(mxUtils.getValue(this.style,"width",this.width)*this.scale),c.height-parseFloat(mxUtils.getValue(this.style,"height",this.height)*this.scale))};O.prototype.paintBackground=function(c,m,t,n,q){var v=this.corner,x=Math.min(n,Math.max(v,parseFloat(mxUtils.getValue(this.style,-"width",this.width)))),I=Math.min(q,Math.max(1.5*v,parseFloat(mxUtils.getValue(this.style,"height",this.height)))),z=mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.NONE);z!=mxConstants.NONE&&(c.setFillColor(z),c.rect(m,t,n,q),c.fill());null!=this.fill&&this.fill!=mxConstants.NONE&&this.gradient&&this.gradient!=mxConstants.NONE?(this.getGradientBounds(c,m,t,n,q),c.setGradient(this.fill,this.gradient,m,t,n,q,this.gradientDirection)):c.setFillColor(this.fill);c.pointerEvents=-!0;c.begin();c.moveTo(m,t);c.lineTo(m+x,t);c.lineTo(m+x,t+Math.max(0,I-1.5*v));c.lineTo(m+Math.max(0,x-v),t+I);c.lineTo(m,t+I);c.close();c.fillAndStroke();this.configurePointerEvents(c);c.begin();c.moveTo(m+x,t);c.lineTo(m+n,t);c.lineTo(m+n,t+q);c.lineTo(m,t+q);c.lineTo(m,t+I);c.stroke()};mxCellRenderer.registerShape("umlFrame",O);mxPerimeter.CenterPerimeter=function(c,m,t,n){return new mxPoint(c.getCenterX(),c.getCenterY())};mxStyleRegistry.putValue("centerPerimeter",mxPerimeter.CenterPerimeter);+null:this.createComicCanvas(c)};var ub=mxRectangleShape.prototype.isHtmlAllowed;mxRectangleShape.prototype.isHtmlAllowed=function(){return!this.outline&&(null==this.style||"0"==mxUtils.getValue(this.style,"comic","0")&&"0"==mxUtils.getValue(this.style,"sketch","1"==urlParams.rough?"1":"0"))&&ub.apply(this,arguments)};var mb=mxRectangleShape.prototype.paintBackground;mxRectangleShape.prototype.paintBackground=function(c,m,t,n,r){if(null==c.handJiggle||c.handJiggle.constructor!=V)mb.apply(this,arguments);+else{var v=!0;null!=this.style&&(v="1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1"));if(v||null!=this.fill&&this.fill!=mxConstants.NONE||null!=this.stroke&&this.stroke!=mxConstants.NONE)v||null!=this.fill&&this.fill!=mxConstants.NONE||(c.pointerEvents=!1),c.begin(),this.isRounded?("1"==mxUtils.getValue(this.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?v=Math.min(n/2,Math.min(r/2,mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2)):(v=mxUtils.getValue(this.style,+mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,v=Math.min(n*v,r*v)),c.moveTo(m+v,t),c.lineTo(m+n-v,t),c.quadTo(m+n,t,m+n,t+v),c.lineTo(m+n,t+r-v),c.quadTo(m+n,t+r,m+n-v,t+r),c.lineTo(m+v,t+r),c.quadTo(m,t+r,m,t+r-v),c.lineTo(m,t+v),c.quadTo(m,t,m+v,t)):(c.moveTo(m,t),c.lineTo(m+n,t),c.lineTo(m+n,t+r),c.lineTo(m,t+r),c.lineTo(m,t)),c.close(),c.end(),c.fillAndStroke()}};mxUtils.extend(fa,mxRectangleShape);fa.prototype.size=.1;fa.prototype.fixedSize=!1;fa.prototype.isHtmlAllowed=+function(){return!1};fa.prototype.getLabelBounds=function(c){if(mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,!0)==(null==this.direction||this.direction==mxConstants.DIRECTION_EAST||this.direction==mxConstants.DIRECTION_WEST)){var m=c.width,t=c.height;c=new mxRectangle(c.x,c.y,m,t);var n=mxUtils.getValue(this.style,"fixedSize",this.fixedSize),r=parseFloat(mxUtils.getValue(this.style,"size",this.size));n?r=Math.max(0,Math.min(m,r*this.scale)):(r=m*Math.max(0,Math.min(1,r)),this.isRounded&&+(n=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,r=Math.max(r,Math.min(m*n,t*n))));c.x+=Math.round(r);c.width-=Math.round(2*r);return c}return c};fa.prototype.paintForeground=function(c,m,t,n,r){var v=mxUtils.getValue(this.style,"fixedSize",this.fixedSize),x=parseFloat(mxUtils.getValue(this.style,"size",this.size));x=v?Math.max(0,Math.min(n,x)):n*Math.max(0,Math.min(1,x));this.isRounded&&(v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,+100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,x=Math.max(x,Math.min(n*v,r*v)));x=Math.round(x);c.begin();c.moveTo(m+x,t);c.lineTo(m+x,t+r);c.moveTo(m+n-x,t);c.lineTo(m+n-x,t+r);c.end();c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("process",fa);mxCellRenderer.registerShape("process2",fa);mxUtils.extend(P,mxRectangleShape);P.prototype.paintBackground=function(c,m,t,n,r){c.setFillColor(mxConstants.NONE);c.rect(m,t,n,r);c.fill()};P.prototype.paintForeground=+function(c,m,t,n,r){};mxCellRenderer.registerShape("transparent",P);mxUtils.extend(Z,mxHexagon);Z.prototype.size=30;Z.prototype.position=.5;Z.prototype.position2=.5;Z.prototype.base=20;Z.prototype.getLabelMargins=function(){return new mxRectangle(0,0,0,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale)};Z.prototype.isRoundable=function(){return!0};Z.prototype.redrawPath=function(c,m,t,n,r){m=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;t=Math.max(0,+Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));var v=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position",this.position)))),x=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2)))),I=Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"base",this.base))));this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,r-t),new mxPoint(Math.min(n,v+I),r-t),new mxPoint(x,r),new mxPoint(Math.max(0,v),r-t),+new mxPoint(0,r-t)],this.isRounded,m,!0,[4])};mxCellRenderer.registerShape("callout",Z);mxUtils.extend(X,mxActor);X.prototype.size=.2;X.prototype.fixedSize=20;X.prototype.isRoundable=function(){return!0};X.prototype.redrawPath=function(c,m,t,n,r){m="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,+mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n-m,0),new mxPoint(n,r/2),new mxPoint(n-m,r),new mxPoint(0,r),new mxPoint(m,r/2)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("step",X);mxUtils.extend(ba,mxHexagon);ba.prototype.size=.25;ba.prototype.fixedSize=20;ba.prototype.isRoundable=function(){return!0};ba.prototype.redrawPath=function(c,m,t,n,r){m="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(.5*n,parseFloat(mxUtils.getValue(this.style,+"size",this.fixedSize)))):n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(m,0),new mxPoint(n-m,0),new mxPoint(n,.5*r),new mxPoint(n-m,r),new mxPoint(m,r),new mxPoint(0,.5*r)],this.isRounded,t,!0)};mxCellRenderer.registerShape("hexagon",ba);mxUtils.extend(L,mxRectangleShape);L.prototype.isHtmlAllowed=function(){return!1};L.prototype.paintForeground=function(c,+m,t,n,r){var v=Math.min(n/5,r/5)+1;c.begin();c.moveTo(m+n/2,t+v);c.lineTo(m+n/2,t+r-v);c.moveTo(m+v,t+r/2);c.lineTo(m+n-v,t+r/2);c.end();c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("plus",L);var nb=mxRhombus.prototype.paintVertexShape;mxRhombus.prototype.getLabelBounds=function(c){if(1==this.style["double"]){var m=(2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(c.x++m,c.y+m,c.width-2*m,c.height-2*m)}return c};mxRhombus.prototype.paintVertexShape=function(c,m,t,n,r){nb.apply(this,arguments);if(!this.outline&&1==this.style["double"]){var v=2*Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0);m+=v;t+=v;n-=2*v;r-=2*v;0<n&&0<r&&(c.setShadow(!1),nb.apply(this,[c,m,t,n,r]))}};mxUtils.extend(U,mxRectangleShape);U.prototype.isHtmlAllowed=function(){return!1};U.prototype.getLabelBounds=function(c){if(1==this.style["double"]){var m=(Math.max(2,+this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0))*this.scale;return new mxRectangle(c.x+m,c.y+m,c.width-2*m,c.height-2*m)}return c};U.prototype.paintForeground=function(c,m,t,n,r){if(null!=this.style){if(!this.outline&&1==this.style["double"]){var v=Math.max(2,this.strokewidth+1)+parseFloat(this.style[mxConstants.STYLE_MARGIN]||0);m+=v;t+=v;n-=2*v;r-=2*v;0<n&&0<r&&mxRectangleShape.prototype.paintBackground.apply(this,arguments)}c.setDashed(!1);v=0;do{var x=mxCellRenderer.defaultShapes[this.style["symbol"++v]];if(null!=x){var I=this.style["symbol"+v+"Align"],z=this.style["symbol"+v+"VerticalAlign"],da=this.style["symbol"+v+"Width"],R=this.style["symbol"+v+"Height"],Ga=this.style["symbol"+v+"Spacing"]||0,Ta=this.style["symbol"+v+"VSpacing"]||Ga,Pa=this.style["symbol"+v+"ArcSpacing"];null!=Pa&&(Pa*=this.getArcSize(n+this.strokewidth,r+this.strokewidth),Ga+=Pa,Ta+=Pa);Pa=m;var pa=t;Pa=I==mxConstants.ALIGN_CENTER?Pa+(n-da)/2:I==mxConstants.ALIGN_RIGHT?Pa+(n-da-Ga):Pa+Ga;pa=z==mxConstants.ALIGN_MIDDLE?pa++(r-R)/2:z==mxConstants.ALIGN_BOTTOM?pa+(r-R-Ta):pa+Ta;c.save();I=new x;I.style=this.style;x.prototype.paintVertexShape.call(I,c,Pa,pa,da,R);c.restore()}v++}while(null!=x)}mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("ext",U);mxUtils.extend(aa,mxCylinder);aa.prototype.redrawPath=function(c,m,t,n,r,v){v?(c.moveTo(0,0),c.lineTo(n/2,r/2),c.lineTo(n,0),c.end()):(c.moveTo(0,0),c.lineTo(n,0),c.lineTo(n,r),c.lineTo(0,r),c.close())};mxCellRenderer.registerShape("message",+aa);mxUtils.extend(ha,mxShape);ha.prototype.paintBackground=function(c,m,t,n,r){c.translate(m,t);c.ellipse(n/4,0,n/2,r/4);c.fillAndStroke();c.begin();c.moveTo(n/2,r/4);c.lineTo(n/2,2*r/3);c.moveTo(n/2,r/3);c.lineTo(0,r/3);c.moveTo(n/2,r/3);c.lineTo(n,r/3);c.moveTo(n/2,2*r/3);c.lineTo(0,r);c.moveTo(n/2,2*r/3);c.lineTo(n,r);c.end();c.stroke()};mxCellRenderer.registerShape("umlActor",ha);mxUtils.extend(ma,mxShape);ma.prototype.getLabelMargins=function(c){return new mxRectangle(c.width/6,0,0,0)};ma.prototype.paintBackground=+function(c,m,t,n,r){c.translate(m,t);c.begin();c.moveTo(0,r/4);c.lineTo(0,3*r/4);c.end();c.stroke();c.begin();c.moveTo(0,r/2);c.lineTo(n/6,r/2);c.end();c.stroke();c.ellipse(n/6,0,5*n/6,r);c.fillAndStroke()};mxCellRenderer.registerShape("umlBoundary",ma);mxUtils.extend(oa,mxEllipse);oa.prototype.paintVertexShape=function(c,m,t,n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.begin();c.moveTo(m+n/8,t+r);c.lineTo(m+7*n/8,t+r);c.end();c.stroke()};mxCellRenderer.registerShape("umlEntity",+oa);mxUtils.extend(ca,mxShape);ca.prototype.paintVertexShape=function(c,m,t,n,r){c.translate(m,t);c.begin();c.moveTo(n,0);c.lineTo(0,r);c.moveTo(0,0);c.lineTo(n,r);c.end();c.stroke()};mxCellRenderer.registerShape("umlDestroy",ca);mxUtils.extend(la,mxShape);la.prototype.getLabelBounds=function(c){return new mxRectangle(c.x,c.y+c.height/8,c.width,7*c.height/8)};la.prototype.paintBackground=function(c,m,t,n,r){c.translate(m,t);c.begin();c.moveTo(3*n/8,r/8*1.1);c.lineTo(5*n/8,0);c.end();c.stroke();c.ellipse(0,+r/8,n,7*r/8);c.fillAndStroke()};la.prototype.paintForeground=function(c,m,t,n,r){c.begin();c.moveTo(3*n/8,r/8*1.1);c.lineTo(5*n/8,r/4);c.end();c.stroke()};mxCellRenderer.registerShape("umlControl",la);mxUtils.extend(ia,mxRectangleShape);ia.prototype.size=40;ia.prototype.isHtmlAllowed=function(){return!1};ia.prototype.getLabelBounds=function(c){var m=Math.max(0,Math.min(c.height,parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale));return new mxRectangle(c.x,c.y,c.width,m)};ia.prototype.paintBackground=+function(c,m,t,n,r){var v=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),x=mxUtils.getValue(this.style,"participant");null==x||null==this.state?mxRectangleShape.prototype.paintBackground.call(this,c,m,t,n,v):(x=this.state.view.graph.cellRenderer.getShape(x),null!=x&&x!=ia&&(x=new x,x.apply(this.state),c.save(),x.paintVertexShape(c,m,t,n,v),c.restore()));v<r&&(c.setDashed("1"==mxUtils.getValue(this.style,"lifelineDashed","1")),c.begin(),c.moveTo(m+n/2,t+v),c.lineTo(m++n/2,t+r),c.end(),c.stroke())};ia.prototype.paintForeground=function(c,m,t,n,r){var v=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));mxRectangleShape.prototype.paintForeground.call(this,c,m,t,n,Math.min(r,v))};mxCellRenderer.registerShape("umlLifeline",ia);mxUtils.extend(O,mxShape);O.prototype.width=60;O.prototype.height=30;O.prototype.corner=10;O.prototype.configurePointerEvents=function(c){var m=mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.NONE);+null==this.style||null!=m&&m!=mxConstants.NONE&&0!=this.opacity&&0!=this.fillOpacity||"0"!=mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||(c.pointerEvents=!1)};O.prototype.getLabelMargins=function(c){return new mxRectangle(0,0,c.width-parseFloat(mxUtils.getValue(this.style,"width",this.width)*this.scale),c.height-parseFloat(mxUtils.getValue(this.style,"height",this.height)*this.scale))};O.prototype.paintBackground=function(c,m,t,n,r){var v=this.corner,x=Math.min(n,Math.max(v,parseFloat(mxUtils.getValue(this.style,+"width",this.width)))),I=Math.min(r,Math.max(1.5*v,parseFloat(mxUtils.getValue(this.style,"height",this.height)))),z=mxUtils.getValue(this.style,mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.NONE);z!=mxConstants.NONE&&(c.setFillColor(z),c.rect(m,t,n,r),c.fill());null!=this.fill&&this.fill!=mxConstants.NONE&&this.gradient&&this.gradient!=mxConstants.NONE?(this.getGradientBounds(c,m,t,n,r),c.setGradient(this.fill,this.gradient,m,t,n,r,this.gradientDirection)):c.setFillColor(this.fill);c.pointerEvents=+!0;c.begin();c.moveTo(m,t);c.lineTo(m+x,t);c.lineTo(m+x,t+Math.max(0,I-1.5*v));c.lineTo(m+Math.max(0,x-v),t+I);c.lineTo(m,t+I);c.close();c.fillAndStroke();this.configurePointerEvents(c);c.begin();c.moveTo(m+x,t);c.lineTo(m+n,t);c.lineTo(m+n,t+r);c.lineTo(m,t+r);c.lineTo(m,t+I);c.stroke()};mxCellRenderer.registerShape("umlFrame",O);mxPerimeter.CenterPerimeter=function(c,m,t,n){return new mxPoint(c.getCenterX(),c.getCenterY())};mxStyleRegistry.putValue("centerPerimeter",mxPerimeter.CenterPerimeter);mxPerimeter.LifelinePerimeter=function(c,m,t,n){n=ia.prototype.size;null!=m&&(n=mxUtils.getValue(m.style,"size",n)*m.view.scale);m=parseFloat(m.style[mxConstants.STYLE_STROKEWIDTH]||1)*m.view.scale/2-1;t.x<c.getCenterX()&&(m=-1*(m+1));return new mxPoint(c.getCenterX()+m,Math.min(c.y+c.height,Math.max(c.y+n,t.y)))};mxStyleRegistry.putValue("lifelinePerimeter",mxPerimeter.LifelinePerimeter);mxPerimeter.OrthogonalPerimeter=function(c,m,t,n){n=!0;return mxPerimeter.RectanglePerimeter.apply(this,arguments)};mxStyleRegistry.putValue("orthogonalPerimeter",mxPerimeter.OrthogonalPerimeter);mxPerimeter.BackbonePerimeter=function(c,m,t,n){n=parseFloat(m.style[mxConstants.STYLE_STROKEWIDTH]||1)*m.view.scale/2-1;null!=m.style.backboneSize&&(n+=parseFloat(m.style.backboneSize)*m.view.scale/2-1);if("south"==m.style[mxConstants.STYLE_DIRECTION]||"north"==m.style[mxConstants.STYLE_DIRECTION])return t.x<c.getCenterX()&&(n=-1*(n+1)),new mxPoint(c.getCenterX()+n,Math.min(c.y+c.height,Math.max(c.y,t.y)));t.y<c.getCenterY()&&(n=-1*(n+1));return new mxPoint(Math.min(c.x+c.width,Math.max(c.x,t.x)),c.getCenterY()+n)};mxStyleRegistry.putValue("backbonePerimeter",mxPerimeter.BackbonePerimeter);mxPerimeter.CalloutPerimeter=function(c,m,t,n){return mxPerimeter.RectanglePerimeter(mxUtils.getDirectedBounds(c,new mxRectangle(0,0,0,Math.max(0,Math.min(c.height,parseFloat(mxUtils.getValue(m.style,"size",Z.prototype.size))*m.view.scale))),m.style),m,t,n)};mxStyleRegistry.putValue("calloutPerimeter",mxPerimeter.CalloutPerimeter);mxPerimeter.ParallelogramPerimeter=-function(c,m,t,n){var q="0"!=mxUtils.getValue(m.style,"fixedSize","0"),v=q?K.prototype.fixedSize:K.prototype.size;null!=m&&(v=mxUtils.getValue(m.style,"size",v));q&&(v*=m.view.scale);var x=c.x,I=c.y,z=c.width,da=c.height;m=null!=m?mxUtils.getValue(m.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;m==mxConstants.DIRECTION_NORTH||m==mxConstants.DIRECTION_SOUTH?(q=q?Math.max(0,Math.min(da,v)):da*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I),new mxPoint(x+z,I+-q),new mxPoint(x+z,I+da),new mxPoint(x,I+da-q),new mxPoint(x,I)]):(q=q?Math.max(0,Math.min(.5*z,v)):z*Math.max(0,Math.min(1,v)),I=[new mxPoint(x+q,I),new mxPoint(x+z,I),new mxPoint(x+z-q,I+da),new mxPoint(x,I+da),new mxPoint(x+q,I)]);da=c.getCenterX();c=c.getCenterY();c=new mxPoint(da,c);n&&(t.x<x||t.x>x+z?c.y=t.y:c.x=t.x);return mxUtils.getPerimeterPoint(I,c,t)};mxStyleRegistry.putValue("parallelogramPerimeter",mxPerimeter.ParallelogramPerimeter);mxPerimeter.TrapezoidPerimeter=function(c,m,t,n){var q=-"0"!=mxUtils.getValue(m.style,"fixedSize","0"),v=q?T.prototype.fixedSize:T.prototype.size;null!=m&&(v=mxUtils.getValue(m.style,"size",v));q&&(v*=m.view.scale);var x=c.x,I=c.y,z=c.width,da=c.height;m=null!=m?mxUtils.getValue(m.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;m==mxConstants.DIRECTION_EAST?(q=q?Math.max(0,Math.min(.5*z,v)):z*Math.max(0,Math.min(1,v)),I=[new mxPoint(x+q,I),new mxPoint(x+z-q,I),new mxPoint(x+z,I+da),new mxPoint(x,I+da),new mxPoint(x+-q,I)]):m==mxConstants.DIRECTION_WEST?(q=q?Math.max(0,Math.min(z,v)):z*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I),new mxPoint(x+z,I),new mxPoint(x+z-q,I+da),new mxPoint(x+q,I+da),new mxPoint(x,I)]):m==mxConstants.DIRECTION_NORTH?(q=q?Math.max(0,Math.min(da,v)):da*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I+q),new mxPoint(x+z,I),new mxPoint(x+z,I+da),new mxPoint(x,I+da-q),new mxPoint(x,I+q)]):(q=q?Math.max(0,Math.min(da,v)):da*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I),new mxPoint(x+z,I+q),new mxPoint(x+-z,I+da-q),new mxPoint(x,I+da),new mxPoint(x,I)]);da=c.getCenterX();c=c.getCenterY();c=new mxPoint(da,c);n&&(t.x<x||t.x>x+z?c.y=t.y:c.x=t.x);return mxUtils.getPerimeterPoint(I,c,t)};mxStyleRegistry.putValue("trapezoidPerimeter",mxPerimeter.TrapezoidPerimeter);mxPerimeter.StepPerimeter=function(c,m,t,n){var q="0"!=mxUtils.getValue(m.style,"fixedSize","0"),v=q?X.prototype.fixedSize:X.prototype.size;null!=m&&(v=mxUtils.getValue(m.style,"size",v));q&&(v*=m.view.scale);var x=c.x,I=c.y,z=c.width,da=c.height,-R=c.getCenterX();c=c.getCenterY();m=null!=m?mxUtils.getValue(m.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;m==mxConstants.DIRECTION_EAST?(q=q?Math.max(0,Math.min(z,v)):z*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I),new mxPoint(x+z-q,I),new mxPoint(x+z,c),new mxPoint(x+z-q,I+da),new mxPoint(x,I+da),new mxPoint(x+q,c),new mxPoint(x,I)]):m==mxConstants.DIRECTION_WEST?(q=q?Math.max(0,Math.min(z,v)):z*Math.max(0,Math.min(1,v)),I=[new mxPoint(x+q,I),new mxPoint(x+-z,I),new mxPoint(x+z-q,c),new mxPoint(x+z,I+da),new mxPoint(x+q,I+da),new mxPoint(x,c),new mxPoint(x+q,I)]):m==mxConstants.DIRECTION_NORTH?(q=q?Math.max(0,Math.min(da,v)):da*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I+q),new mxPoint(R,I),new mxPoint(x+z,I+q),new mxPoint(x+z,I+da),new mxPoint(R,I+da-q),new mxPoint(x,I+da),new mxPoint(x,I+q)]):(q=q?Math.max(0,Math.min(da,v)):da*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I),new mxPoint(R,I+q),new mxPoint(x+z,I),new mxPoint(x+z,I+da-q),new mxPoint(R,-I+da),new mxPoint(x,I+da-q),new mxPoint(x,I)]);R=new mxPoint(R,c);n&&(t.x<x||t.x>x+z?R.y=t.y:R.x=t.x);return mxUtils.getPerimeterPoint(I,R,t)};mxStyleRegistry.putValue("stepPerimeter",mxPerimeter.StepPerimeter);mxPerimeter.HexagonPerimeter2=function(c,m,t,n){var q="0"!=mxUtils.getValue(m.style,"fixedSize","0"),v=q?ba.prototype.fixedSize:ba.prototype.size;null!=m&&(v=mxUtils.getValue(m.style,"size",v));q&&(v*=m.view.scale);var x=c.x,I=c.y,z=c.width,da=c.height,R=c.getCenterX();c=c.getCenterY();m=null!=-m?mxUtils.getValue(m.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;m==mxConstants.DIRECTION_NORTH||m==mxConstants.DIRECTION_SOUTH?(q=q?Math.max(0,Math.min(da,v)):da*Math.max(0,Math.min(1,v)),I=[new mxPoint(R,I),new mxPoint(x+z,I+q),new mxPoint(x+z,I+da-q),new mxPoint(R,I+da),new mxPoint(x,I+da-q),new mxPoint(x,I+q),new mxPoint(R,I)]):(q=q?Math.max(0,Math.min(z,v)):z*Math.max(0,Math.min(1,v)),I=[new mxPoint(x+q,I),new mxPoint(x+z-q,I),new mxPoint(x+z,c),new mxPoint(x+-z-q,I+da),new mxPoint(x+q,I+da),new mxPoint(x,c),new mxPoint(x+q,I)]);R=new mxPoint(R,c);n&&(t.x<x||t.x>x+z?R.y=t.y:R.x=t.x);return mxUtils.getPerimeterPoint(I,R,t)};mxStyleRegistry.putValue("hexagonPerimeter2",mxPerimeter.HexagonPerimeter2);mxUtils.extend(qa,mxShape);qa.prototype.size=10;qa.prototype.paintBackground=function(c,m,t,n,q){var v=parseFloat(mxUtils.getValue(this.style,"size",this.size));c.translate(m,t);c.ellipse((n-v)/2,0,v,v);c.fillAndStroke();c.begin();c.moveTo(n/2,v);c.lineTo(n/2,-q);c.end();c.stroke()};mxCellRenderer.registerShape("lollipop",qa);mxUtils.extend(ja,mxShape);ja.prototype.size=10;ja.prototype.inset=2;ja.prototype.paintBackground=function(c,m,t,n,q){var v=parseFloat(mxUtils.getValue(this.style,"size",this.size)),x=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;c.translate(m,t);c.begin();c.moveTo(n/2,v+x);c.lineTo(n/2,q);c.end();c.stroke();c.begin();c.moveTo((n-v)/2-x,v/2);c.quadTo((n-v)/2-x,v+x,n/2,v+x);c.quadTo((n+v)/2+x,v+x,(n+v)/-2+x,v/2);c.end();c.stroke()};mxCellRenderer.registerShape("requires",ja);mxUtils.extend(va,mxShape);va.prototype.paintBackground=function(c,m,t,n,q){c.translate(m,t);c.begin();c.moveTo(0,0);c.quadTo(n,0,n,q/2);c.quadTo(n,q,0,q);c.end();c.stroke()};mxCellRenderer.registerShape("requiredInterface",va);mxUtils.extend(za,mxShape);za.prototype.inset=2;za.prototype.paintBackground=function(c,m,t,n,q){var v=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;c.translate(m,t);c.ellipse(0,-v,n-2*v,q-2*v);c.fillAndStroke();c.begin();c.moveTo(n/2,0);c.quadTo(n,0,n,q/2);c.quadTo(n,q,n/2,q);c.end();c.stroke()};mxCellRenderer.registerShape("providedRequiredInterface",za);mxUtils.extend(La,mxCylinder);La.prototype.jettyWidth=20;La.prototype.jettyHeight=10;La.prototype.redrawPath=function(c,m,t,n,q,v){var x=parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));m=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));t=x/2;x=t+x/2;var I=Math.min(m,q-m),z=Math.min(I+-2*m,q-m);v?(c.moveTo(t,I),c.lineTo(x,I),c.lineTo(x,I+m),c.lineTo(t,I+m),c.moveTo(t,z),c.lineTo(x,z),c.lineTo(x,z+m),c.lineTo(t,z+m)):(c.moveTo(t,0),c.lineTo(n,0),c.lineTo(n,q),c.lineTo(t,q),c.lineTo(t,z+m),c.lineTo(0,z+m),c.lineTo(0,z),c.lineTo(t,z),c.lineTo(t,I+m),c.lineTo(0,I+m),c.lineTo(0,I),c.lineTo(t,I),c.close());c.end()};mxCellRenderer.registerShape("module",La);mxUtils.extend(Na,mxCylinder);Na.prototype.jettyWidth=32;Na.prototype.jettyHeight=12;Na.prototype.redrawPath=function(c,m,t,n,q,v){var x=-parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));m=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));t=x/2;x=t+x/2;var I=.3*q-m/2,z=.7*q-m/2;v?(c.moveTo(t,I),c.lineTo(x,I),c.lineTo(x,I+m),c.lineTo(t,I+m),c.moveTo(t,z),c.lineTo(x,z),c.lineTo(x,z+m),c.lineTo(t,z+m)):(c.moveTo(t,0),c.lineTo(n,0),c.lineTo(n,q),c.lineTo(t,q),c.lineTo(t,z+m),c.lineTo(0,z+m),c.lineTo(0,z),c.lineTo(t,z),c.lineTo(t,I+m),c.lineTo(0,I+m),c.lineTo(0,I),c.lineTo(t,I),c.close());c.end()};-mxCellRenderer.registerShape("component",Na);mxUtils.extend(Ja,mxRectangleShape);Ja.prototype.paintForeground=function(c,m,t,n,q){var v=n/2,x=q/2,I=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;c.begin();this.addPoints(c,[new mxPoint(m+v,t),new mxPoint(m+n,t+x),new mxPoint(m+v,t+q),new mxPoint(m,t+x)],this.isRounded,I,!0);c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("associativeEntity",Ja);mxUtils.extend(Ka,-mxDoubleEllipse);Ka.prototype.outerStroke=!0;Ka.prototype.paintVertexShape=function(c,m,t,n,q){var v=Math.min(4,Math.min(n/5,q/5));0<n&&0<q&&(c.ellipse(m+v,t+v,n-2*v,q-2*v),c.fillAndStroke());c.setShadow(!1);this.outerStroke&&(c.ellipse(m,t,n,q),c.stroke())};mxCellRenderer.registerShape("endState",Ka);mxUtils.extend(ta,Ka);ta.prototype.outerStroke=!1;mxCellRenderer.registerShape("startState",ta);mxUtils.extend(Ea,mxArrowConnector);Ea.prototype.defaultWidth=4;Ea.prototype.isOpenEnded=function(){return!0};+function(c,m,t,n){var r="0"!=mxUtils.getValue(m.style,"fixedSize","0"),v=r?K.prototype.fixedSize:K.prototype.size;null!=m&&(v=mxUtils.getValue(m.style,"size",v));r&&(v*=m.view.scale);var x=c.x,I=c.y,z=c.width,da=c.height;m=null!=m?mxUtils.getValue(m.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;m==mxConstants.DIRECTION_NORTH||m==mxConstants.DIRECTION_SOUTH?(r=r?Math.max(0,Math.min(da,v)):da*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I),new mxPoint(x+z,I++r),new mxPoint(x+z,I+da),new mxPoint(x,I+da-r),new mxPoint(x,I)]):(r=r?Math.max(0,Math.min(.5*z,v)):z*Math.max(0,Math.min(1,v)),I=[new mxPoint(x+r,I),new mxPoint(x+z,I),new mxPoint(x+z-r,I+da),new mxPoint(x,I+da),new mxPoint(x+r,I)]);da=c.getCenterX();c=c.getCenterY();c=new mxPoint(da,c);n&&(t.x<x||t.x>x+z?c.y=t.y:c.x=t.x);return mxUtils.getPerimeterPoint(I,c,t)};mxStyleRegistry.putValue("parallelogramPerimeter",mxPerimeter.ParallelogramPerimeter);mxPerimeter.TrapezoidPerimeter=function(c,m,t,n){var r=+"0"!=mxUtils.getValue(m.style,"fixedSize","0"),v=r?T.prototype.fixedSize:T.prototype.size;null!=m&&(v=mxUtils.getValue(m.style,"size",v));r&&(v*=m.view.scale);var x=c.x,I=c.y,z=c.width,da=c.height;m=null!=m?mxUtils.getValue(m.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;m==mxConstants.DIRECTION_EAST?(r=r?Math.max(0,Math.min(.5*z,v)):z*Math.max(0,Math.min(1,v)),I=[new mxPoint(x+r,I),new mxPoint(x+z-r,I),new mxPoint(x+z,I+da),new mxPoint(x,I+da),new mxPoint(x++r,I)]):m==mxConstants.DIRECTION_WEST?(r=r?Math.max(0,Math.min(z,v)):z*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I),new mxPoint(x+z,I),new mxPoint(x+z-r,I+da),new mxPoint(x+r,I+da),new mxPoint(x,I)]):m==mxConstants.DIRECTION_NORTH?(r=r?Math.max(0,Math.min(da,v)):da*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I+r),new mxPoint(x+z,I),new mxPoint(x+z,I+da),new mxPoint(x,I+da-r),new mxPoint(x,I+r)]):(r=r?Math.max(0,Math.min(da,v)):da*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I),new mxPoint(x+z,I+r),new mxPoint(x++z,I+da-r),new mxPoint(x,I+da),new mxPoint(x,I)]);da=c.getCenterX();c=c.getCenterY();c=new mxPoint(da,c);n&&(t.x<x||t.x>x+z?c.y=t.y:c.x=t.x);return mxUtils.getPerimeterPoint(I,c,t)};mxStyleRegistry.putValue("trapezoidPerimeter",mxPerimeter.TrapezoidPerimeter);mxPerimeter.StepPerimeter=function(c,m,t,n){var r="0"!=mxUtils.getValue(m.style,"fixedSize","0"),v=r?X.prototype.fixedSize:X.prototype.size;null!=m&&(v=mxUtils.getValue(m.style,"size",v));r&&(v*=m.view.scale);var x=c.x,I=c.y,z=c.width,da=c.height,+R=c.getCenterX();c=c.getCenterY();m=null!=m?mxUtils.getValue(m.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;m==mxConstants.DIRECTION_EAST?(r=r?Math.max(0,Math.min(z,v)):z*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I),new mxPoint(x+z-r,I),new mxPoint(x+z,c),new mxPoint(x+z-r,I+da),new mxPoint(x,I+da),new mxPoint(x+r,c),new mxPoint(x,I)]):m==mxConstants.DIRECTION_WEST?(r=r?Math.max(0,Math.min(z,v)):z*Math.max(0,Math.min(1,v)),I=[new mxPoint(x+r,I),new mxPoint(x++z,I),new mxPoint(x+z-r,c),new mxPoint(x+z,I+da),new mxPoint(x+r,I+da),new mxPoint(x,c),new mxPoint(x+r,I)]):m==mxConstants.DIRECTION_NORTH?(r=r?Math.max(0,Math.min(da,v)):da*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I+r),new mxPoint(R,I),new mxPoint(x+z,I+r),new mxPoint(x+z,I+da),new mxPoint(R,I+da-r),new mxPoint(x,I+da),new mxPoint(x,I+r)]):(r=r?Math.max(0,Math.min(da,v)):da*Math.max(0,Math.min(1,v)),I=[new mxPoint(x,I),new mxPoint(R,I+r),new mxPoint(x+z,I),new mxPoint(x+z,I+da-r),new mxPoint(R,+I+da),new mxPoint(x,I+da-r),new mxPoint(x,I)]);R=new mxPoint(R,c);n&&(t.x<x||t.x>x+z?R.y=t.y:R.x=t.x);return mxUtils.getPerimeterPoint(I,R,t)};mxStyleRegistry.putValue("stepPerimeter",mxPerimeter.StepPerimeter);mxPerimeter.HexagonPerimeter2=function(c,m,t,n){var r="0"!=mxUtils.getValue(m.style,"fixedSize","0"),v=r?ba.prototype.fixedSize:ba.prototype.size;null!=m&&(v=mxUtils.getValue(m.style,"size",v));r&&(v*=m.view.scale);var x=c.x,I=c.y,z=c.width,da=c.height,R=c.getCenterX();c=c.getCenterY();m=null!=+m?mxUtils.getValue(m.style,mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_EAST):mxConstants.DIRECTION_EAST;m==mxConstants.DIRECTION_NORTH||m==mxConstants.DIRECTION_SOUTH?(r=r?Math.max(0,Math.min(da,v)):da*Math.max(0,Math.min(1,v)),I=[new mxPoint(R,I),new mxPoint(x+z,I+r),new mxPoint(x+z,I+da-r),new mxPoint(R,I+da),new mxPoint(x,I+da-r),new mxPoint(x,I+r),new mxPoint(R,I)]):(r=r?Math.max(0,Math.min(z,v)):z*Math.max(0,Math.min(1,v)),I=[new mxPoint(x+r,I),new mxPoint(x+z-r,I),new mxPoint(x+z,c),new mxPoint(x++z-r,I+da),new mxPoint(x+r,I+da),new mxPoint(x,c),new mxPoint(x+r,I)]);R=new mxPoint(R,c);n&&(t.x<x||t.x>x+z?R.y=t.y:R.x=t.x);return mxUtils.getPerimeterPoint(I,R,t)};mxStyleRegistry.putValue("hexagonPerimeter2",mxPerimeter.HexagonPerimeter2);mxUtils.extend(qa,mxShape);qa.prototype.size=10;qa.prototype.paintBackground=function(c,m,t,n,r){var v=parseFloat(mxUtils.getValue(this.style,"size",this.size));c.translate(m,t);c.ellipse((n-v)/2,0,v,v);c.fillAndStroke();c.begin();c.moveTo(n/2,v);c.lineTo(n/2,+r);c.end();c.stroke()};mxCellRenderer.registerShape("lollipop",qa);mxUtils.extend(ja,mxShape);ja.prototype.size=10;ja.prototype.inset=2;ja.prototype.paintBackground=function(c,m,t,n,r){var v=parseFloat(mxUtils.getValue(this.style,"size",this.size)),x=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;c.translate(m,t);c.begin();c.moveTo(n/2,v+x);c.lineTo(n/2,r);c.end();c.stroke();c.begin();c.moveTo((n-v)/2-x,v/2);c.quadTo((n-v)/2-x,v+x,n/2,v+x);c.quadTo((n+v)/2+x,v+x,(n+v)/+2+x,v/2);c.end();c.stroke()};mxCellRenderer.registerShape("requires",ja);mxUtils.extend(va,mxShape);va.prototype.paintBackground=function(c,m,t,n,r){c.translate(m,t);c.begin();c.moveTo(0,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,0,r);c.end();c.stroke()};mxCellRenderer.registerShape("requiredInterface",va);mxUtils.extend(ya,mxShape);ya.prototype.inset=2;ya.prototype.paintBackground=function(c,m,t,n,r){var v=parseFloat(mxUtils.getValue(this.style,"inset",this.inset))+this.strokewidth;c.translate(m,t);c.ellipse(0,+v,n-2*v,r-2*v);c.fillAndStroke();c.begin();c.moveTo(n/2,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,n/2,r);c.end();c.stroke()};mxCellRenderer.registerShape("providedRequiredInterface",ya);mxUtils.extend(La,mxCylinder);La.prototype.jettyWidth=20;La.prototype.jettyHeight=10;La.prototype.redrawPath=function(c,m,t,n,r,v){var x=parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));m=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));t=x/2;x=t+x/2;var I=Math.min(m,r-m),z=Math.min(I++2*m,r-m);v?(c.moveTo(t,I),c.lineTo(x,I),c.lineTo(x,I+m),c.lineTo(t,I+m),c.moveTo(t,z),c.lineTo(x,z),c.lineTo(x,z+m),c.lineTo(t,z+m)):(c.moveTo(t,0),c.lineTo(n,0),c.lineTo(n,r),c.lineTo(t,r),c.lineTo(t,z+m),c.lineTo(0,z+m),c.lineTo(0,z),c.lineTo(t,z),c.lineTo(t,I+m),c.lineTo(0,I+m),c.lineTo(0,I),c.lineTo(t,I),c.close());c.end()};mxCellRenderer.registerShape("module",La);mxUtils.extend(Na,mxCylinder);Na.prototype.jettyWidth=32;Na.prototype.jettyHeight=12;Na.prototype.redrawPath=function(c,m,t,n,r,v){var x=+parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));m=parseFloat(mxUtils.getValue(this.style,"jettyHeight",this.jettyHeight));t=x/2;x=t+x/2;var I=.3*r-m/2,z=.7*r-m/2;v?(c.moveTo(t,I),c.lineTo(x,I),c.lineTo(x,I+m),c.lineTo(t,I+m),c.moveTo(t,z),c.lineTo(x,z),c.lineTo(x,z+m),c.lineTo(t,z+m)):(c.moveTo(t,0),c.lineTo(n,0),c.lineTo(n,r),c.lineTo(t,r),c.lineTo(t,z+m),c.lineTo(0,z+m),c.lineTo(0,z),c.lineTo(t,z),c.lineTo(t,I+m),c.lineTo(0,I+m),c.lineTo(0,I),c.lineTo(t,I),c.close());c.end()};+mxCellRenderer.registerShape("component",Na);mxUtils.extend(Ja,mxRectangleShape);Ja.prototype.paintForeground=function(c,m,t,n,r){var v=n/2,x=r/2,I=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;c.begin();this.addPoints(c,[new mxPoint(m+v,t),new mxPoint(m+n,t+x),new mxPoint(m+v,t+r),new mxPoint(m,t+x)],this.isRounded,I,!0);c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("associativeEntity",Ja);mxUtils.extend(Ka,+mxDoubleEllipse);Ka.prototype.outerStroke=!0;Ka.prototype.paintVertexShape=function(c,m,t,n,r){var v=Math.min(4,Math.min(n/5,r/5));0<n&&0<r&&(c.ellipse(m+v,t+v,n-2*v,r-2*v),c.fillAndStroke());c.setShadow(!1);this.outerStroke&&(c.ellipse(m,t,n,r),c.stroke())};mxCellRenderer.registerShape("endState",Ka);mxUtils.extend(ta,Ka);ta.prototype.outerStroke=!1;mxCellRenderer.registerShape("startState",ta);mxUtils.extend(Ea,mxArrowConnector);Ea.prototype.defaultWidth=4;Ea.prototype.isOpenEnded=function(){return!0};Ea.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};Ea.prototype.isArrowRounded=function(){return this.isRounded};mxCellRenderer.registerShape("link",Ea);mxUtils.extend(Wa,mxArrowConnector);Wa.prototype.defaultWidth=10;Wa.prototype.defaultArrowWidth=20;Wa.prototype.getStartArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"startWidth",this.defaultArrowWidth)};Wa.prototype.getEndArrowWidth=function(){return this.getEdgeWidth()+-mxUtils.getNumber(this.style,"endWidth",this.defaultArrowWidth)};Wa.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};mxCellRenderer.registerShape("flexArrow",Wa);mxUtils.extend(Xa,mxActor);Xa.prototype.size=30;Xa.prototype.isRoundable=function(){return!0};Xa.prototype.redrawPath=function(c,m,t,n,q){m=Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size)));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,-mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,q),new mxPoint(0,m),new mxPoint(n,0),new mxPoint(n,q)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("manualInput",Xa);mxUtils.extend(bb,mxRectangleShape);bb.prototype.dx=20;bb.prototype.dy=20;bb.prototype.isHtmlAllowed=function(){return!1};bb.prototype.paintForeground=function(c,m,t,n,q){mxRectangleShape.prototype.paintForeground.apply(this,arguments);var v=0;if(this.isRounded){var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,-100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;v=Math.max(v,Math.min(n*x,q*x))}x=Math.max(v,Math.min(n,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));v=Math.max(v,Math.min(q,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));c.begin();c.moveTo(m,t+v);c.lineTo(m+n,t+v);c.end();c.stroke();c.begin();c.moveTo(m+x,t);c.lineTo(m+x,t+q);c.end();c.stroke()};mxCellRenderer.registerShape("internalStorage",bb);mxUtils.extend(eb,mxActor);eb.prototype.dx=20;eb.prototype.dy=20;eb.prototype.isRoundable=-function(){return!0};eb.prototype.redrawPath=function(c,m,t,n,q){m=Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));t=Math.max(0,Math.min(q,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,t),new mxPoint(m,t),new mxPoint(m,q),new mxPoint(0,q)],this.isRounded,-v,!0);c.end()};mxCellRenderer.registerShape("corner",eb);mxUtils.extend(qb,mxActor);qb.prototype.redrawPath=function(c,m,t,n,q){c.moveTo(0,0);c.lineTo(0,q);c.end();c.moveTo(n,0);c.lineTo(n,q);c.end();c.moveTo(0,q/2);c.lineTo(n,q/2);c.end()};mxCellRenderer.registerShape("crossbar",qb);mxUtils.extend(fb,mxActor);fb.prototype.dx=20;fb.prototype.dy=20;fb.prototype.isRoundable=function(){return!0};fb.prototype.redrawPath=function(c,m,t,n,q){m=Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,-"dx",this.dx))));t=Math.max(0,Math.min(q,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,t),new mxPoint((n+m)/2,t),new mxPoint((n+m)/2,q),new mxPoint((n-m)/2,q),new mxPoint((n-m)/2,t),new mxPoint(0,t)],this.isRounded,v,!0);c.end()};mxCellRenderer.registerShape("tee",fb);mxUtils.extend(ab,-mxActor);ab.prototype.arrowWidth=.3;ab.prototype.arrowSize=.2;ab.prototype.isRoundable=function(){return!0};ab.prototype.redrawPath=function(c,m,t,n,q){var v=q*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth))));m=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));t=(q-v)/2;v=t+v;var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,t),new mxPoint(n--m,t),new mxPoint(n-m,0),new mxPoint(n,q/2),new mxPoint(n-m,q),new mxPoint(n-m,v),new mxPoint(0,v)],this.isRounded,x,!0);c.end()};mxCellRenderer.registerShape("singleArrow",ab);mxUtils.extend(hb,mxActor);hb.prototype.isRoundable=function(){return!0};hb.prototype.redrawPath=function(c,m,t,n,q){var v=q*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",ab.prototype.arrowWidth))));m=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",ab.prototype.arrowSize))));-t=(q-v)/2;v=t+v;var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,q/2),new mxPoint(m,0),new mxPoint(m,t),new mxPoint(n-m,t),new mxPoint(n-m,0),new mxPoint(n,q/2),new mxPoint(n-m,q),new mxPoint(n-m,v),new mxPoint(m,v),new mxPoint(m,q)],this.isRounded,x,!0);c.end()};mxCellRenderer.registerShape("doubleArrow",hb);mxUtils.extend(cb,mxActor);cb.prototype.size=.1;cb.prototype.fixedSize=20;cb.prototype.redrawPath=function(c,m,t,n,q){m=-"0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(m,0);c.lineTo(n,0);c.quadTo(n-2*m,q/2,n,q);c.lineTo(m,q);c.quadTo(m-2*m,q/2,m,0);c.close();c.end()};mxCellRenderer.registerShape("dataStorage",cb);mxUtils.extend(p,mxActor);p.prototype.redrawPath=function(c,m,t,n,q){c.moveTo(0,0);c.quadTo(n,0,n,q/2);c.quadTo(n,q,0,q);c.close();-c.end()};mxCellRenderer.registerShape("or",p);mxUtils.extend(B,mxActor);B.prototype.redrawPath=function(c,m,t,n,q){c.moveTo(0,0);c.quadTo(n,0,n,q/2);c.quadTo(n,q,0,q);c.quadTo(n/2,q/2,0,0);c.close();c.end()};mxCellRenderer.registerShape("xor",B);mxUtils.extend(C,mxActor);C.prototype.size=20;C.prototype.isRoundable=function(){return!0};C.prototype.redrawPath=function(c,m,t,n,q){m=Math.min(n/2,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,-mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(m,0),new mxPoint(n-m,0),new mxPoint(n,.8*m),new mxPoint(n,q),new mxPoint(0,q),new mxPoint(0,.8*m)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("loopLimit",C);mxUtils.extend(E,mxActor);E.prototype.size=.375;E.prototype.isRoundable=function(){return!0};E.prototype.redrawPath=function(c,m,t,n,q){m=q*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,-mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,q-m),new mxPoint(n/2,q),new mxPoint(0,q-m)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("offPageConnector",E);mxUtils.extend(J,mxEllipse);J.prototype.paintVertexShape=function(c,m,t,n,q){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.begin();c.moveTo(m+n/2,t+q);c.lineTo(m+n,t+q);c.end();c.stroke()};mxCellRenderer.registerShape("tapeData",J);mxUtils.extend(Q,mxEllipse);Q.prototype.paintVertexShape=-function(c,m,t,n,q){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(m,t+q/2);c.lineTo(m+n,t+q/2);c.end();c.stroke();c.begin();c.moveTo(m+n/2,t);c.lineTo(m+n/2,t+q);c.end();c.stroke()};mxCellRenderer.registerShape("orEllipse",Q);mxUtils.extend(Y,mxEllipse);Y.prototype.paintVertexShape=function(c,m,t,n,q){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(m+.145*n,t+.145*q);c.lineTo(m+.855*n,t+.855*q);c.end();c.stroke();-c.begin();c.moveTo(m+.855*n,t+.145*q);c.lineTo(m+.145*n,t+.855*q);c.end();c.stroke()};mxCellRenderer.registerShape("sumEllipse",Y);mxUtils.extend(ka,mxRhombus);ka.prototype.paintVertexShape=function(c,m,t,n,q){mxRhombus.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(m,t+q/2);c.lineTo(m+n,t+q/2);c.end();c.stroke()};mxCellRenderer.registerShape("sortShape",ka);mxUtils.extend(ea,mxEllipse);ea.prototype.paintVertexShape=function(c,m,t,n,q){c.begin();c.moveTo(m,t);-c.lineTo(m+n,t);c.lineTo(m+n/2,t+q/2);c.close();c.fillAndStroke();c.begin();c.moveTo(m,t+q);c.lineTo(m+n,t+q);c.lineTo(m+n/2,t+q/2);c.close();c.fillAndStroke()};mxCellRenderer.registerShape("collate",ea);mxUtils.extend(na,mxEllipse);na.prototype.paintVertexShape=function(c,m,t,n,q){var v=c.state.strokeWidth/2,x=10+2*v,I=t+q-x/2;c.begin();c.moveTo(m,t);c.lineTo(m,t+q);c.moveTo(m+v,I);c.lineTo(m+v+x,I-x/2);c.moveTo(m+v,I);c.lineTo(m+v+x,I+x/2);c.moveTo(m+v,I);c.lineTo(m+n-v,I);c.moveTo(m+n,t);c.lineTo(m+-n,t+q);c.moveTo(m+n-v,I);c.lineTo(m+n-x-v,I-x/2);c.moveTo(m+n-v,I);c.lineTo(m+n-x-v,I+x/2);c.end();c.stroke()};mxCellRenderer.registerShape("dimension",na);mxUtils.extend(Ba,mxEllipse);Ba.prototype.drawHidden=!0;Ba.prototype.paintVertexShape=function(c,m,t,n,q){this.outline||c.setStrokeColor(null);if(null!=this.style){var v=c.pointerEvents,x=null!=this.fill&&this.fill!=mxConstants.NONE;"1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||x||(c.pointerEvents=!1);var I="1"==mxUtils.getValue(this.style,-"top","1"),z="1"==mxUtils.getValue(this.style,"left","1"),da="1"==mxUtils.getValue(this.style,"right","1"),R="1"==mxUtils.getValue(this.style,"bottom","1");this.drawHidden||x||this.outline||I||da||R||z?(c.rect(m,t,n,q),c.fill(),c.pointerEvents=v,c.setStrokeColor(this.stroke),c.setLineCap("square"),c.begin(),c.moveTo(m,t),this.outline||I?c.lineTo(m+n,t):c.moveTo(m+n,t),this.outline||da?c.lineTo(m+n,t+q):c.moveTo(m+n,t+q),this.outline||R?c.lineTo(m,t+q):c.moveTo(m,t+q),(this.outline||z)&&c.lineTo(m,-t),c.end(),c.stroke(),c.setLineCap("flat")):c.setStrokeColor(this.stroke)}};mxCellRenderer.registerShape("partialRectangle",Ba);mxUtils.extend(Ma,mxEllipse);Ma.prototype.paintVertexShape=function(c,m,t,n,q){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();"vertical"==mxUtils.getValue(this.style,"line")?(c.moveTo(m+n/2,t),c.lineTo(m+n/2,t+q)):(c.moveTo(m,t+q/2),c.lineTo(m+n,t+q/2));c.end();c.stroke()};mxCellRenderer.registerShape("lineEllipse",Ma);mxUtils.extend(Ia,-mxActor);Ia.prototype.redrawPath=function(c,m,t,n,q){m=Math.min(n,q/2);c.moveTo(0,0);c.lineTo(n-m,0);c.quadTo(n,0,n,q/2);c.quadTo(n,q,n-m,q);c.lineTo(0,q);c.close();c.end()};mxCellRenderer.registerShape("delay",Ia);mxUtils.extend(Aa,mxActor);Aa.prototype.size=.2;Aa.prototype.redrawPath=function(c,m,t,n,q){m=Math.min(q,n);var v=Math.max(0,Math.min(m,m*parseFloat(mxUtils.getValue(this.style,"size",this.size))));m=(q-v)/2;t=m+v;var x=(n-v)/2;v=x+v;c.moveTo(0,m);c.lineTo(x,m);c.lineTo(x,0);c.lineTo(v,-0);c.lineTo(v,m);c.lineTo(n,m);c.lineTo(n,t);c.lineTo(v,t);c.lineTo(v,q);c.lineTo(x,q);c.lineTo(x,t);c.lineTo(0,t);c.close();c.end()};mxCellRenderer.registerShape("cross",Aa);mxUtils.extend(Ha,mxActor);Ha.prototype.size=.25;Ha.prototype.redrawPath=function(c,m,t,n,q){m=Math.min(n,q/2);t=Math.min(n-m,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*n);c.moveTo(0,q/2);c.lineTo(t,0);c.lineTo(n-m,0);c.quadTo(n,0,n,q/2);c.quadTo(n,q,n-m,q);c.lineTo(t,q);c.close();c.end()};mxCellRenderer.registerShape("display",+mxUtils.getNumber(this.style,"endWidth",this.defaultArrowWidth)};Wa.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};mxCellRenderer.registerShape("flexArrow",Wa);mxUtils.extend(Xa,mxActor);Xa.prototype.size=30;Xa.prototype.isRoundable=function(){return!0};Xa.prototype.redrawPath=function(c,m,t,n,r){m=Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size)));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,+mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r),new mxPoint(0,m),new mxPoint(n,0),new mxPoint(n,r)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("manualInput",Xa);mxUtils.extend(bb,mxRectangleShape);bb.prototype.dx=20;bb.prototype.dy=20;bb.prototype.isHtmlAllowed=function(){return!1};bb.prototype.paintForeground=function(c,m,t,n,r){mxRectangleShape.prototype.paintForeground.apply(this,arguments);var v=0;if(this.isRounded){var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,+100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;v=Math.max(v,Math.min(n*x,r*x))}x=Math.max(v,Math.min(n,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));v=Math.max(v,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));c.begin();c.moveTo(m,t+v);c.lineTo(m+n,t+v);c.end();c.stroke();c.begin();c.moveTo(m+x,t);c.lineTo(m+x,t+r);c.end();c.stroke()};mxCellRenderer.registerShape("internalStorage",bb);mxUtils.extend(eb,mxActor);eb.prototype.dx=20;eb.prototype.dy=20;eb.prototype.isRoundable=+function(){return!0};eb.prototype.redrawPath=function(c,m,t,n,r){m=Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));t=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,t),new mxPoint(m,t),new mxPoint(m,r),new mxPoint(0,r)],this.isRounded,+v,!0);c.end()};mxCellRenderer.registerShape("corner",eb);mxUtils.extend(qb,mxActor);qb.prototype.redrawPath=function(c,m,t,n,r){c.moveTo(0,0);c.lineTo(0,r);c.end();c.moveTo(n,0);c.lineTo(n,r);c.end();c.moveTo(0,r/2);c.lineTo(n,r/2);c.end()};mxCellRenderer.registerShape("crossbar",qb);mxUtils.extend(fb,mxActor);fb.prototype.dx=20;fb.prototype.dy=20;fb.prototype.isRoundable=function(){return!0};fb.prototype.redrawPath=function(c,m,t,n,r){m=Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,+"dx",this.dx))));t=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var v=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,t),new mxPoint((n+m)/2,t),new mxPoint((n+m)/2,r),new mxPoint((n-m)/2,r),new mxPoint((n-m)/2,t),new mxPoint(0,t)],this.isRounded,v,!0);c.end()};mxCellRenderer.registerShape("tee",fb);mxUtils.extend(ab,+mxActor);ab.prototype.arrowWidth=.3;ab.prototype.arrowSize=.2;ab.prototype.isRoundable=function(){return!0};ab.prototype.redrawPath=function(c,m,t,n,r){var v=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth))));m=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));t=(r-v)/2;v=t+v;var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,t),new mxPoint(n-+m,t),new mxPoint(n-m,0),new mxPoint(n,r/2),new mxPoint(n-m,r),new mxPoint(n-m,v),new mxPoint(0,v)],this.isRounded,x,!0);c.end()};mxCellRenderer.registerShape("singleArrow",ab);mxUtils.extend(hb,mxActor);hb.prototype.isRoundable=function(){return!0};hb.prototype.redrawPath=function(c,m,t,n,r){var v=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",ab.prototype.arrowWidth))));m=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",ab.prototype.arrowSize))));+t=(r-v)/2;v=t+v;var x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r/2),new mxPoint(m,0),new mxPoint(m,t),new mxPoint(n-m,t),new mxPoint(n-m,0),new mxPoint(n,r/2),new mxPoint(n-m,r),new mxPoint(n-m,v),new mxPoint(m,v),new mxPoint(m,r)],this.isRounded,x,!0);c.end()};mxCellRenderer.registerShape("doubleArrow",hb);mxUtils.extend(cb,mxActor);cb.prototype.size=.1;cb.prototype.fixedSize=20;cb.prototype.redrawPath=function(c,m,t,n,r){m=+"0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(m,0);c.lineTo(n,0);c.quadTo(n-2*m,r/2,n,r);c.lineTo(m,r);c.quadTo(m-2*m,r/2,m,0);c.close();c.end()};mxCellRenderer.registerShape("dataStorage",cb);mxUtils.extend(p,mxActor);p.prototype.redrawPath=function(c,m,t,n,r){c.moveTo(0,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,0,r);c.close();+c.end()};mxCellRenderer.registerShape("or",p);mxUtils.extend(B,mxActor);B.prototype.redrawPath=function(c,m,t,n,r){c.moveTo(0,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,0,r);c.quadTo(n/2,r/2,0,0);c.close();c.end()};mxCellRenderer.registerShape("xor",B);mxUtils.extend(C,mxActor);C.prototype.size=20;C.prototype.isRoundable=function(){return!0};C.prototype.redrawPath=function(c,m,t,n,r){m=Math.min(n/2,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,+mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(m,0),new mxPoint(n-m,0),new mxPoint(n,.8*m),new mxPoint(n,r),new mxPoint(0,r),new mxPoint(0,.8*m)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("loopLimit",C);mxUtils.extend(E,mxActor);E.prototype.size=.375;E.prototype.isRoundable=function(){return!0};E.prototype.redrawPath=function(c,m,t,n,r){m=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,+mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,r-m),new mxPoint(n/2,r),new mxPoint(0,r-m)],this.isRounded,t,!0);c.end()};mxCellRenderer.registerShape("offPageConnector",E);mxUtils.extend(J,mxEllipse);J.prototype.paintVertexShape=function(c,m,t,n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.begin();c.moveTo(m+n/2,t+r);c.lineTo(m+n,t+r);c.end();c.stroke()};mxCellRenderer.registerShape("tapeData",J);mxUtils.extend(Q,mxEllipse);Q.prototype.paintVertexShape=+function(c,m,t,n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(m,t+r/2);c.lineTo(m+n,t+r/2);c.end();c.stroke();c.begin();c.moveTo(m+n/2,t);c.lineTo(m+n/2,t+r);c.end();c.stroke()};mxCellRenderer.registerShape("orEllipse",Q);mxUtils.extend(Y,mxEllipse);Y.prototype.paintVertexShape=function(c,m,t,n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(m+.145*n,t+.145*r);c.lineTo(m+.855*n,t+.855*r);c.end();c.stroke();+c.begin();c.moveTo(m+.855*n,t+.145*r);c.lineTo(m+.145*n,t+.855*r);c.end();c.stroke()};mxCellRenderer.registerShape("sumEllipse",Y);mxUtils.extend(ka,mxRhombus);ka.prototype.paintVertexShape=function(c,m,t,n,r){mxRhombus.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(m,t+r/2);c.lineTo(m+n,t+r/2);c.end();c.stroke()};mxCellRenderer.registerShape("sortShape",ka);mxUtils.extend(ea,mxEllipse);ea.prototype.paintVertexShape=function(c,m,t,n,r){c.begin();c.moveTo(m,t);+c.lineTo(m+n,t);c.lineTo(m+n/2,t+r/2);c.close();c.fillAndStroke();c.begin();c.moveTo(m,t+r);c.lineTo(m+n,t+r);c.lineTo(m+n/2,t+r/2);c.close();c.fillAndStroke()};mxCellRenderer.registerShape("collate",ea);mxUtils.extend(na,mxEllipse);na.prototype.paintVertexShape=function(c,m,t,n,r){var v=c.state.strokeWidth/2,x=10+2*v,I=t+r-x/2;c.begin();c.moveTo(m,t);c.lineTo(m,t+r);c.moveTo(m+v,I);c.lineTo(m+v+x,I-x/2);c.moveTo(m+v,I);c.lineTo(m+v+x,I+x/2);c.moveTo(m+v,I);c.lineTo(m+n-v,I);c.moveTo(m+n,t);c.lineTo(m++n,t+r);c.moveTo(m+n-v,I);c.lineTo(m+n-x-v,I-x/2);c.moveTo(m+n-v,I);c.lineTo(m+n-x-v,I+x/2);c.end();c.stroke()};mxCellRenderer.registerShape("dimension",na);mxUtils.extend(Ba,mxEllipse);Ba.prototype.drawHidden=!0;Ba.prototype.paintVertexShape=function(c,m,t,n,r){this.outline||c.setStrokeColor(null);if(null!=this.style){var v=c.pointerEvents,x=null!=this.fill&&this.fill!=mxConstants.NONE;"1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||x||(c.pointerEvents=!1);var I="1"==mxUtils.getValue(this.style,+"top","1"),z="1"==mxUtils.getValue(this.style,"left","1"),da="1"==mxUtils.getValue(this.style,"right","1"),R="1"==mxUtils.getValue(this.style,"bottom","1");this.drawHidden||x||this.outline||I||da||R||z?(c.rect(m,t,n,r),c.fill(),c.pointerEvents=v,c.setStrokeColor(this.stroke),c.setLineCap("square"),c.begin(),c.moveTo(m,t),this.outline||I?c.lineTo(m+n,t):c.moveTo(m+n,t),this.outline||da?c.lineTo(m+n,t+r):c.moveTo(m+n,t+r),this.outline||R?c.lineTo(m,t+r):c.moveTo(m,t+r),(this.outline||z)&&c.lineTo(m,+t),c.end(),c.stroke(),c.setLineCap("flat")):c.setStrokeColor(this.stroke)}};mxCellRenderer.registerShape("partialRectangle",Ba);mxUtils.extend(Ma,mxEllipse);Ma.prototype.paintVertexShape=function(c,m,t,n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();"vertical"==mxUtils.getValue(this.style,"line")?(c.moveTo(m+n/2,t),c.lineTo(m+n/2,t+r)):(c.moveTo(m,t+r/2),c.lineTo(m+n,t+r/2));c.end();c.stroke()};mxCellRenderer.registerShape("lineEllipse",Ma);mxUtils.extend(Ia,+mxActor);Ia.prototype.redrawPath=function(c,m,t,n,r){m=Math.min(n,r/2);c.moveTo(0,0);c.lineTo(n-m,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,n-m,r);c.lineTo(0,r);c.close();c.end()};mxCellRenderer.registerShape("delay",Ia);mxUtils.extend(Aa,mxActor);Aa.prototype.size=.2;Aa.prototype.redrawPath=function(c,m,t,n,r){m=Math.min(r,n);var v=Math.max(0,Math.min(m,m*parseFloat(mxUtils.getValue(this.style,"size",this.size))));m=(r-v)/2;t=m+v;var x=(n-v)/2;v=x+v;c.moveTo(0,m);c.lineTo(x,m);c.lineTo(x,0);c.lineTo(v,+0);c.lineTo(v,m);c.lineTo(n,m);c.lineTo(n,t);c.lineTo(v,t);c.lineTo(v,r);c.lineTo(x,r);c.lineTo(x,t);c.lineTo(0,t);c.close();c.end()};mxCellRenderer.registerShape("cross",Aa);mxUtils.extend(Ha,mxActor);Ha.prototype.size=.25;Ha.prototype.redrawPath=function(c,m,t,n,r){m=Math.min(n,r/2);t=Math.min(n-m,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*n);c.moveTo(0,r/2);c.lineTo(t,0);c.lineTo(n-m,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,n-m,r);c.lineTo(t,r);c.close();c.end()};mxCellRenderer.registerShape("display",Ha);mxUtils.extend(xa,mxActor);xa.prototype.cst={RECT2:"mxgraph.basic.rect"};xa.prototype.customProperties=[{name:"rectStyle",dispName:"Style",type:"enum",defVal:"square",enumList:[{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"size",dispName:"Corner Size",type:"float",defVal:10},{name:"absoluteCornerSize",dispName:"Abs. Corner Size",type:"bool",defVal:!0},{name:"indent",dispName:"Indent",type:"float",defVal:2},{name:"rectOutline",dispName:"Outline",type:"enum",defVal:"single",enumList:[{val:"single",dispName:"Single"},{val:"double",dispName:"Double"},{val:"frame",dispName:"Frame"}]},{name:"fillColor2",dispName:"Inside Fill Color",type:"color",defVal:"none"},{name:"gradientColor2",dispName:"Inside Gradient Color",type:"color",defVal:"none"},{name:"gradientDirection2",dispName:"Inside Gradient Direction",type:"enum",defVal:"south",enumList:[{val:"south",dispName:"South"},{val:"west",dispName:"West"},{val:"north",dispName:"North"},{val:"east",dispName:"East"}]},{name:"top",dispName:"Top Line",type:"bool",defVal:!0},{name:"right",dispName:"Right",type:"bool",defVal:!0},{name:"bottom",dispName:"Bottom Line",type:"bool",defVal:!0},{name:"left",dispName:"Left ",type:"bool",defVal:!0},{name:"topLeftStyle",dispName:"Top Left Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"topRightStyle",dispName:"Top Right Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"bottomRightStyle",dispName:"Bottom Right Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"bottomLeftStyle",dispName:"Bottom Left Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]}];xa.prototype.paintVertexShape=function(c,m,-t,n,q){c.translate(m,t);this.strictDrawShape(c,0,0,n,q)};xa.prototype.strictDrawShape=function(c,m,t,n,q,v){var x=v&&v.rectStyle?v.rectStyle:mxUtils.getValue(this.style,"rectStyle",this.rectStyle),I=v&&v.absoluteCornerSize?v.absoluteCornerSize:mxUtils.getValue(this.style,"absoluteCornerSize",this.absoluteCornerSize),z=v&&v.size?v.size:Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),da=v&&v.rectOutline?v.rectOutline:mxUtils.getValue(this.style,"rectOutline",this.rectOutline),+t,n,r){c.translate(m,t);this.strictDrawShape(c,0,0,n,r)};xa.prototype.strictDrawShape=function(c,m,t,n,r,v){var x=v&&v.rectStyle?v.rectStyle:mxUtils.getValue(this.style,"rectStyle",this.rectStyle),I=v&&v.absoluteCornerSize?v.absoluteCornerSize:mxUtils.getValue(this.style,"absoluteCornerSize",this.absoluteCornerSize),z=v&&v.size?v.size:Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),da=v&&v.rectOutline?v.rectOutline:mxUtils.getValue(this.style,"rectOutline",this.rectOutline),R=v&&v.indent?v.indent:Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"indent",this.indent)))),Ga=v&&v.dashed?v.dashed:mxUtils.getValue(this.style,"dashed",!1),Ta=v&&v.dashPattern?v.dashPattern:mxUtils.getValue(this.style,"dashPattern",null),Pa=v&&v.relIndent?v.relIndent:Math.max(0,Math.min(50,R)),pa=v&&v.top?v.top:mxUtils.getValue(this.style,"top",!0),ua=v&&v.right?v.right:mxUtils.getValue(this.style,"right",!0),sa=v&&v.bottom?v.bottom:mxUtils.getValue(this.style,"bottom",!0),ra=v&&-v.left?v.left:mxUtils.getValue(this.style,"left",!0),ya=v&&v.topLeftStyle?v.topLeftStyle:mxUtils.getValue(this.style,"topLeftStyle","default"),Ca=v&&v.topRightStyle?v.topRightStyle:mxUtils.getValue(this.style,"topRightStyle","default"),Da=v&&v.bottomRightStyle?v.bottomRightStyle:mxUtils.getValue(this.style,"bottomRightStyle","default"),Fa=v&&v.bottomLeftStyle?v.bottomLeftStyle:mxUtils.getValue(this.style,"bottomLeftStyle","default"),Cb=v&&v.fillColor?v.fillColor:mxUtils.getValue(this.style,"fillColor",+v.left?v.left:mxUtils.getValue(this.style,"left",!0),za=v&&v.topLeftStyle?v.topLeftStyle:mxUtils.getValue(this.style,"topLeftStyle","default"),Ca=v&&v.topRightStyle?v.topRightStyle:mxUtils.getValue(this.style,"topRightStyle","default"),Da=v&&v.bottomRightStyle?v.bottomRightStyle:mxUtils.getValue(this.style,"bottomRightStyle","default"),Fa=v&&v.bottomLeftStyle?v.bottomLeftStyle:mxUtils.getValue(this.style,"bottomLeftStyle","default"),Cb=v&&v.fillColor?v.fillColor:mxUtils.getValue(this.style,"fillColor","#ffffff");v&&v.strokeColor||mxUtils.getValue(this.style,"strokeColor","#000000");var Db=v&&v.strokeWidth?v.strokeWidth:mxUtils.getValue(this.style,"strokeWidth","1"),Ab=v&&v.fillColor2?v.fillColor2:mxUtils.getValue(this.style,"fillColor2","none"),Bb=v&&v.gradientColor2?v.gradientColor2:mxUtils.getValue(this.style,"gradientColor2","none"),Eb=v&&v.gradientDirection2?v.gradientDirection2:mxUtils.getValue(this.style,"gradientDirection2","south"),Fb=v&&v.opacity?v.opacity:mxUtils.getValue(this.style,-"opacity","100"),Gb=Math.max(0,Math.min(50,z));v=xa.prototype;c.setDashed(Ga);Ta&&""!=Ta&&c.setDashPattern(Ta);c.setStrokeWidth(Db);z=Math.min(.5*q,.5*n,z);I||(z=Gb*Math.min(n,q)/100);z=Math.min(z,.5*Math.min(n,q));I||(R=Math.min(Pa*Math.min(n,q)/100));R=Math.min(R,.5*Math.min(n,q)-z);(pa||ua||sa||ra)&&"frame"!=da&&(c.begin(),pa?v.moveNW(c,m,t,n,q,x,ya,z,ra):c.moveTo(0,0),pa&&v.paintNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),ua&&v.paintNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,-Da,z,sa),sa&&v.paintSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),ra&&v.paintSW(c,m,t,n,q,x,Fa,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),c.close(),c.fill(),c.setShadow(!1),c.setFillColor(Ab),Ga=I=Fb,"none"==Ab&&(I=0),"none"==Bb&&(Ga=0),c.setGradient(Ab,Bb,0,0,n,q,Eb,I,Ga),c.begin(),pa?v.moveNWInner(c,m,t,n,q,x,ya,z,R,pa,ra):c.moveTo(R,0),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),ra&&sa&&v.paintSWInner(c,m,t,n,q,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),sa&&ua&&v.paintSEInner(c,-m,t,n,q,x,Da,z,R),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),ua&&pa&&v.paintNEInner(c,m,t,n,q,x,Ca,z,R),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa),pa&&ra&&v.paintNWInner(c,m,t,n,q,x,ya,z,R),c.fill(),"none"==Cb&&(c.begin(),v.paintFolds(c,m,t,n,q,x,ya,Ca,Da,Fa,z,pa,ua,sa,ra),c.stroke()));pa||ua||sa||!ra?pa||ua||!sa||ra?!pa&&!ua&&sa&&ra?"frame"!=da?(c.begin(),v.moveSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),v.paintSW(c,m,t,n,q,x,Fa,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),"double"==da&&-(v.moveNWInner(c,m,t,n,q,x,ya,z,R,pa,ra),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),v.paintSWInner(c,m,t,n,q,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa)),c.stroke()):(c.begin(),v.moveSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),v.paintSW(c,m,t,n,q,x,Fa,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),v.lineNWInner(c,m,t,n,q,x,ya,z,R,pa,ra),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),v.paintSWInner(c,m,t,n,q,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),c.close(),c.fillAndStroke()):-pa||!ua||sa||ra?!pa&&ua&&!sa&&ra?"frame"!=da?(c.begin(),v.moveSW(c,m,t,n,q,x,ya,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),"double"==da&&(v.moveNWInner(c,m,t,n,q,x,ya,z,R,pa,ra),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra)),c.stroke(),c.begin(),v.moveNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),"double"==da&&(v.moveSEInner(c,m,t,n,q,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua)),c.stroke()):(c.begin(),v.moveSW(c,m,t,n,q,x,ya,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),v.lineNWInner(c,-m,t,n,q,x,ya,z,R,pa,ra),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),c.close(),c.fillAndStroke(),c.begin(),v.moveNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),v.lineSEInner(c,m,t,n,q,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),c.close(),c.fillAndStroke()):!pa&&ua&&sa&&!ra?"frame"!=da?(c.begin(),v.moveNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),v.paintSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),"double"==da&&(v.moveSWInner(c,m,t,n,q,x,Fa,z,R,ra),-v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,q,x,Da,z,R),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua)),c.stroke()):(c.begin(),v.moveNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),v.paintSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),v.lineSWInner(c,m,t,n,q,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,q,x,Da,z,R),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),c.close(),c.fillAndStroke()):!pa&&ua&&sa&&ra?"frame"!=da?(c.begin(),-v.moveNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),v.paintSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),v.paintSW(c,m,t,n,q,x,Fa,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),"double"==da&&(v.moveNWInner(c,m,t,n,q,x,ya,z,R,pa,ra),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),v.paintSWInner(c,m,t,n,q,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,q,x,Da,z,R),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua)),c.stroke()):(c.begin(),v.moveNE(c,m,t,n,q,x,Ca,-z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),v.paintSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),v.paintSW(c,m,t,n,q,x,Fa,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),v.lineNWInner(c,m,t,n,q,x,ya,z,R,pa,ra),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),v.paintSWInner(c,m,t,n,q,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,q,x,Da,z,R),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),c.close(),c.fillAndStroke()):!pa||ua||sa||ra?pa&&!ua&&!sa&&ra?"frame"!=da?(c.begin(),v.moveSW(c,-m,t,n,q,x,Fa,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),v.paintNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),"double"==da&&(v.moveNEInner(c,m,t,n,q,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa),v.paintNWInner(c,m,t,n,q,x,ya,z,R),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra)),c.stroke()):(c.begin(),v.moveSW(c,m,t,n,q,x,Fa,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),v.paintNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),v.lineNEInner(c,m,t,n,q,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,q,x,-ya,z,R,ra,pa),v.paintNWInner(c,m,t,n,q,x,ya,z,R),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),c.close(),c.fillAndStroke()):pa&&!ua&&sa&&!ra?"frame"!=da?(c.begin(),v.moveNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),"double"==da&&(v.moveNEInner(c,m,t,n,q,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa)),c.stroke(),c.begin(),v.moveSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),"double"==da&&(v.moveSWInner(c,m,t,n,q,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa)),-c.stroke()):(c.begin(),v.moveNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),v.lineNEInner(c,m,t,n,q,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa),c.close(),c.fillAndStroke(),c.begin(),v.moveSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),v.lineSWInner(c,m,t,n,q,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),c.close(),c.fillAndStroke()):pa&&!ua&&sa&&ra?"frame"!=da?(c.begin(),v.moveSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),v.paintSW(c,m,t,n,q,-x,Fa,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),v.paintNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),"double"==da&&(v.moveNEInner(c,m,t,n,q,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa),v.paintNWInner(c,m,t,n,q,x,ya,z,R),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),v.paintSWInner(c,m,t,n,q,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa)),c.stroke()):(c.begin(),v.moveSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),v.paintSW(c,m,t,n,q,x,Fa,z,sa),v.paintLeft(c,m,t,n,-q,x,ya,z,pa),v.paintNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),v.lineNEInner(c,m,t,n,q,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa),v.paintNWInner(c,m,t,n,q,x,ya,z,R),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),v.paintSWInner(c,m,t,n,q,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),c.close(),c.fillAndStroke()):pa&&ua&&!sa&&!ra?"frame"!=da?(c.begin(),v.moveNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),v.paintNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,-x,Da,z,sa),"double"==da&&(v.moveSEInner(c,m,t,n,q,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,q,x,Ca,z,R),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa)),c.stroke()):(c.begin(),v.moveNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),v.paintNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),v.lineSEInner(c,m,t,n,q,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,q,x,Ca,z,R),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa),c.close(),-c.fillAndStroke()):pa&&ua&&!sa&&ra?"frame"!=da?(c.begin(),v.moveSW(c,m,t,n,q,x,Fa,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),v.paintNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),v.paintNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),"double"==da&&(v.moveSEInner(c,m,t,n,q,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,q,x,Ca,z,R),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa),v.paintNWInner(c,m,t,n,q,x,ya,z,R),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra)),-c.stroke()):(c.begin(),v.moveSW(c,m,t,n,q,x,Fa,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),v.paintNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),v.paintNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),v.lineSEInner(c,m,t,n,q,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,q,x,Ca,z,R),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa),v.paintNWInner(c,m,t,n,q,x,ya,z,R),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),c.close(),c.fillAndStroke()):pa&&ua&&sa&&!ra?"frame"!=-da?(c.begin(),v.moveNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),v.paintNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),v.paintSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),"double"==da&&(v.moveSWInner(c,m,t,n,q,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,q,x,Da,z,R),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,q,x,Ca,z,R),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa)),c.stroke()):(c.begin(),v.moveNW(c,m,t,n,-q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),v.paintNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),v.paintSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),v.lineSWInner(c,m,t,n,q,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,q,x,Da,z,R),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,q,x,Ca,z,R),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa),c.close(),c.fillAndStroke()):pa&&ua&&sa&&ra&&("frame"!=da?(c.begin(),v.moveNW(c,m,t,n,q,-x,ya,z,ra),v.paintNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),v.paintNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),v.paintSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),v.paintSW(c,m,t,n,q,x,Fa,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),c.close(),"double"==da&&(v.moveSWInner(c,m,t,n,q,x,Fa,z,R,ra),v.paintSWInner(c,m,t,n,q,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,q,x,Da,z,R),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),v.paintNEInner(c,-m,t,n,q,x,Ca,z,R),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa),v.paintNWInner(c,m,t,n,q,x,ya,z,R),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),c.close()),c.stroke()):(c.begin(),v.moveNW(c,m,t,n,q,x,ya,z,ra),v.paintNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),v.paintNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),v.paintSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),v.paintSW(c,m,t,n,q,x,Fa,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),c.close(),v.moveSWInner(c,m,t,n,q,x,Fa,z,-R,ra),v.paintSWInner(c,m,t,n,q,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,q,x,Da,z,R),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,q,x,Ca,z,R),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa),v.paintNWInner(c,m,t,n,q,x,ya,z,R),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),c.close(),c.fillAndStroke())):"frame"!=da?(c.begin(),v.moveNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),"double"==da&&(v.moveNEInner(c,m,t,n,q,x,Ca,z,R,ua),v.paintTopInner(c,-m,t,n,q,x,ya,z,R,ra,pa)),c.stroke()):(c.begin(),v.moveNW(c,m,t,n,q,x,ya,z,ra),v.paintTop(c,m,t,n,q,x,Ca,z,ua),v.lineNEInner(c,m,t,n,q,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,q,x,ya,z,R,ra,pa),c.close(),c.fillAndStroke()):"frame"!=da?(c.begin(),v.moveNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),"double"==da&&(v.moveSEInner(c,m,t,n,q,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua)),c.stroke()):(c.begin(),v.moveNE(c,m,t,n,q,x,Ca,z,pa),v.paintRight(c,m,t,n,q,x,Da,z,sa),v.lineSEInner(c,-m,t,n,q,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,q,x,Ca,z,R,pa,ua),c.close(),c.fillAndStroke()):"frame"!=da?(c.begin(),v.moveSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),"double"==da&&(v.moveSWInner(c,m,t,n,q,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa)),c.stroke()):(c.begin(),v.moveSE(c,m,t,n,q,x,Da,z,ua),v.paintBottom(c,m,t,n,q,x,Fa,z,ra),v.lineSWInner(c,m,t,n,q,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,q,x,Da,z,R,ua,sa),c.close(),c.fillAndStroke()):"frame"!=da?(c.begin(),-v.moveSW(c,m,t,n,q,x,ya,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),"double"==da&&(v.moveNWInner(c,m,t,n,q,x,ya,z,R,pa,ra),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra)),c.stroke()):(c.begin(),v.moveSW(c,m,t,n,q,x,ya,z,sa),v.paintLeft(c,m,t,n,q,x,ya,z,pa),v.lineNWInner(c,m,t,n,q,x,ya,z,R,pa,ra),v.paintLeftInner(c,m,t,n,q,x,Fa,z,R,sa,ra),c.close(),c.fillAndStroke());c.begin();v.paintFolds(c,m,t,n,q,x,ya,Ca,Da,Fa,z,pa,ua,sa,ra);c.stroke()};xa.prototype.moveNW=function(c,m,t,n,q,v,x,I,z){"square"==x||"default"==-x&&"square"==v||!z?c.moveTo(0,0):c.moveTo(0,I)};xa.prototype.moveNE=function(c,m,t,n,q,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.moveTo(n,0):c.moveTo(n-I,0)};xa.prototype.moveSE=function(c,m,t,n,q,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.moveTo(n,q):c.moveTo(n,q-I)};xa.prototype.moveSW=function(c,m,t,n,q,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.moveTo(0,q):c.moveTo(I,q)};xa.prototype.paintNW=function(c,m,t,n,q,v,x,I,z){if(z)if("rounded"==x||"default"==x&&"rounded"==-v||"invRound"==x||"default"==x&&"invRound"==v){m=0;if("rounded"==x||"default"==x&&"rounded"==v)m=1;c.arcTo(I,I,0,0,m,I,0)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(I,0);else c.lineTo(0,0)};xa.prototype.paintTop=function(c,m,t,n,q,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.lineTo(n,0):c.lineTo(n-I,0)};xa.prototype.paintNE=function(c,m,t,n,q,v,x,I,z){if(z)if("rounded"==x||"default"==x&&"rounded"==v||"invRound"==x||"default"==x&&"invRound"==v){m=-0;if("rounded"==x||"default"==x&&"rounded"==v)m=1;c.arcTo(I,I,0,0,m,n,I)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(n,I);else c.lineTo(n,0)};xa.prototype.paintRight=function(c,m,t,n,q,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.lineTo(n,q):c.lineTo(n,q-I)};xa.prototype.paintLeft=function(c,m,t,n,q,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.lineTo(0,0):c.lineTo(0,I)};xa.prototype.paintSE=function(c,m,t,n,q,v,x,I,z){if(z)if("rounded"==-x||"default"==x&&"rounded"==v||"invRound"==x||"default"==x&&"invRound"==v){m=0;if("rounded"==x||"default"==x&&"rounded"==v)m=1;c.arcTo(I,I,0,0,m,n-I,q)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(n-I,q);else c.lineTo(n,q)};xa.prototype.paintBottom=function(c,m,t,n,q,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.lineTo(0,q):c.lineTo(I,q)};xa.prototype.paintSW=function(c,m,t,n,q,v,x,I,z){if(z)if("rounded"==x||"default"==x&&"rounded"==v||"invRound"==-x||"default"==x&&"invRound"==v){m=0;if("rounded"==x||"default"==x&&"rounded"==v)m=1;c.arcTo(I,I,0,0,m,0,q-I)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(0,q-I);else c.lineTo(0,q)};xa.prototype.paintNWInner=function(c,m,t,n,q,v,x,I,z){if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(I-.5*z,I-.5*z,0,0,0,z,.5*z+I);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(I+z,I+z,0,0,1,z,z+I);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(z,.5*z+I);-else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(z+I,z+I),c.lineTo(z,z+I)};xa.prototype.paintTopInner=function(c,m,t,n,q,v,x,I,z,da,R){da||R?!da&&R?c.lineTo(0,z):da&&!R?c.lineTo(z,0):da?"square"==x||"default"==x&&"square"==v?c.lineTo(z,z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(I+.5*z,z):c.lineTo(I+z,z):c.lineTo(0,z):c.lineTo(0,0)};xa.prototype.paintNEInner=function(c,m,t,n,q,v,x,I,z){if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(I-.5*z,I-.5*-z,0,0,0,n-I-.5*z,z);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(I+z,I+z,0,0,1,n-I-z,z);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(n-I-.5*z,z);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(n-I-z,I+z),c.lineTo(n-I-z,z)};xa.prototype.paintRightInner=function(c,m,t,n,q,v,x,I,z,da,R){da||R?!da&&R?c.lineTo(n-z,0):da&&!R?c.lineTo(n,z):da?"square"==x||"default"==x&&"square"==v?c.lineTo(n-z,z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(n--z,I+.5*z):c.lineTo(n-z,I+z):c.lineTo(n-z,0):c.lineTo(n,0)};xa.prototype.paintLeftInner=function(c,m,t,n,q,v,x,I,z,da,R){da||R?!da&&R?c.lineTo(z,q):da&&!R?c.lineTo(0,q-z):da?"square"==x||"default"==x&&"square"==v?c.lineTo(z,q-z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(z,q-I-.5*z):c.lineTo(z,q-I-z):c.lineTo(z,q):c.lineTo(0,q)};xa.prototype.paintSEInner=function(c,m,t,n,q,v,x,I,z){if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(I-.5*z,I-.5*z,0,0,0,n--z,q-I-.5*z);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(I+z,I+z,0,0,1,n-z,q-I-z);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(n-z,q-I-.5*z);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(n-I-z,q-I-z),c.lineTo(n-z,q-I-z)};xa.prototype.paintBottomInner=function(c,m,t,n,q,v,x,I,z,da,R){da||R?!da&&R?c.lineTo(n,q-z):da&&!R?c.lineTo(n-z,q):"square"==x||"default"==x&&"square"==v||!da?c.lineTo(n-z,q-z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?-c.lineTo(n-I-.5*z,q-z):c.lineTo(n-I-z,q-z):c.lineTo(n,q)};xa.prototype.paintSWInner=function(c,m,t,n,q,v,x,I,z,da){if(!da)c.lineTo(z,q);else if("square"==x||"default"==x&&"square"==v)c.lineTo(z,q-z);else if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(I-.5*z,I-.5*z,0,0,0,I+.5*z,q-z);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(I+z,I+z,0,0,1,I+z,q-z);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(I+.5*z,q-z);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(z+I,q-I-z),c.lineTo(z+-I,q-z)};xa.prototype.moveSWInner=function(c,m,t,n,q,v,x,I,z,da){da?"square"==x||"default"==x&&"square"==v?c.moveTo(z,q-z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(z,q-I-.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(z,q-I-z):c.moveTo(0,q-z)};xa.prototype.lineSWInner=function(c,m,t,n,q,v,x,I,z,da){da?"square"==x||"default"==x&&"square"==v?c.lineTo(z,q-z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==-x||"default"==x&&"snip"==v?c.lineTo(z,q-I-.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(z,q-I-z):c.lineTo(0,q-z)};xa.prototype.moveSEInner=function(c,m,t,n,q,v,x,I,z,da){da?"square"==x||"default"==x&&"square"==v?c.moveTo(n-z,q-z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(n-z,q-I-.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(n-z,q-I-z):c.moveTo(n-z,q)};xa.prototype.lineSEInner=-function(c,m,t,n,q,v,x,I,z,da){da?"square"==x||"default"==x&&"square"==v?c.lineTo(n-z,q-z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(n-z,q-I-.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(n-z,q-I-z):c.lineTo(n-z,q)};xa.prototype.moveNEInner=function(c,m,t,n,q,v,x,I,z,da){da?"square"==x||"default"==x&&"square"==v||da?c.moveTo(n-z,z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==-v?c.moveTo(n-z,I+.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(n-z,I+z):c.moveTo(n,z)};xa.prototype.lineNEInner=function(c,m,t,n,q,v,x,I,z,da){da?"square"==x||"default"==x&&"square"==v||da?c.lineTo(n-z,z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(n-z,I+.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(n-z,I+z):c.lineTo(n,z)};xa.prototype.moveNWInner=function(c,-m,t,n,q,v,x,I,z,da,R){da||R?!da&&R?c.moveTo(z,0):da&&!R?c.moveTo(0,z):"square"==x||"default"==x&&"square"==v?c.moveTo(z,z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(z,I+.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(z,I+z):c.moveTo(0,0)};xa.prototype.lineNWInner=function(c,m,t,n,q,v,x,I,z,da,R){da||R?!da&&R?c.lineTo(z,0):da&&!R?c.lineTo(0,z):"square"==x||"default"==x&&"square"==v?c.lineTo(z,z):"rounded"==-x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(z,I+.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(z,I+z):c.lineTo(0,0)};xa.prototype.paintFolds=function(c,m,t,n,q,v,x,I,z,da,R,Ga,Ta,Pa,pa){if("fold"==v||"fold"==x||"fold"==I||"fold"==z||"fold"==da)("fold"==x||"default"==x&&"fold"==v)&&Ga&&pa&&(c.moveTo(0,R),c.lineTo(R,R),c.lineTo(R,0)),("fold"==I||"default"==I&&"fold"==v)&&Ga&&Ta&&(c.moveTo(n-R,0),c.lineTo(n-R,R),c.lineTo(n,-R)),("fold"==z||"default"==z&&"fold"==v)&&Pa&&Ta&&(c.moveTo(n-R,q),c.lineTo(n-R,q-R),c.lineTo(n,q-R)),("fold"==da||"default"==da&&"fold"==v)&&Pa&&pa&&(c.moveTo(0,q-R),c.lineTo(R,q-R),c.lineTo(R,q))};mxCellRenderer.registerShape(xa.prototype.cst.RECT2,xa);xa.prototype.constraints=null;mxUtils.extend(wa,mxConnector);wa.prototype.origPaintEdgeShape=wa.prototype.paintEdgeShape;wa.prototype.paintEdgeShape=function(c,m){for(var t=[],n=0;n<m.length;n++)t.push(mxUtils.clone(m[n]));n=c.state.dashed;var q=-c.state.fixDash;wa.prototype.origPaintEdgeShape.apply(this,[c,t]);3<=c.state.strokeWidth&&(t=mxUtils.getValue(this.style,"fillColor",null),null!=t&&(c.setStrokeColor(t),c.setStrokeWidth(c.state.strokeWidth-2),c.setDashed(n,q),wa.prototype.origPaintEdgeShape.apply(this,[c,m])))};mxCellRenderer.registerShape("filledEdge",wa);mxUtils.extend(Sa,mxConnector);Sa.prototype.defaultWidth=4;Sa.prototype.getEdgeWidth=function(){return Math.max(0,mxUtils.getNumber(this.style,"width",this.defaultWidth))};Sa.prototype.getFlowAnimationPath=-function(){return mxShape.prototype.getFlowAnimationPath.call(this,2)};Sa.prototype.origPaintEdgeShape=Sa.prototype.paintEdgeShape;Sa.prototype.paintEdgeShape=function(c,m){for(var t=[],n=0;n<m.length;n++)t.push(mxUtils.clone(m[n]));n=c.state.dashed;var q=c.state.fixDash,v=this.getEdgeWidth();c.setStrokeWidth(v+2*this.strokewidth);c.setDashed(!1);Sa.prototype.origPaintEdgeShape.apply(this,[c,t]);t=mxUtils.getValue(this.style,"fillColor",null);null!=t&&(c.setStrokeWidth(v),c.setStrokeColor(t),c.setDashed(n,-q),Sa.prototype.origPaintEdgeShape.apply(this,[c,m]))};mxCellRenderer.registerShape("pipe",Sa);"undefined"!==typeof StyleFormatPanel&&function(){var c=StyleFormatPanel.prototype.getCustomColors;StyleFormatPanel.prototype.getCustomColors=function(){var m=this.editorUi.getSelectionState(),t=c.apply(this,arguments);"umlFrame"==m.style.shape&&t.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"default"});return t}}();mxMarker.addMarker("dash",function(c,m,t,n,q,v,x,I,z,da){var R=-q*(x+z+1),Ga=v*(x+z+1);return function(){c.begin();c.moveTo(n.x-R/2-Ga/2,n.y-Ga/2+R/2);c.lineTo(n.x+Ga/2-3*R/2,n.y-3*Ga/2-R/2);c.stroke()}});mxMarker.addMarker("box",function(c,m,t,n,q,v,x,I,z,da){var R=q*(x+z+1),Ga=v*(x+z+1),Ta=n.x+R/2,Pa=n.y+Ga/2;n.x-=R;n.y-=Ga;return function(){c.begin();c.moveTo(Ta-R/2-Ga/2,Pa-Ga/2+R/2);c.lineTo(Ta-R/2+Ga/2,Pa-Ga/2-R/2);c.lineTo(Ta+Ga/2-3*R/2,Pa-3*Ga/2-R/2);c.lineTo(Ta-Ga/2-3*R/2,Pa-3*Ga/2+R/2);c.close();da?c.fillAndStroke():c.stroke()}});mxMarker.addMarker("cross",-function(c,m,t,n,q,v,x,I,z,da){var R=q*(x+z+1),Ga=v*(x+z+1);return function(){c.begin();c.moveTo(n.x-R/2-Ga/2,n.y-Ga/2+R/2);c.lineTo(n.x+Ga/2-3*R/2,n.y-3*Ga/2-R/2);c.moveTo(n.x-R/2+Ga/2,n.y-Ga/2-R/2);c.lineTo(n.x-Ga/2-3*R/2,n.y-3*Ga/2+R/2);c.stroke()}});mxMarker.addMarker("circle",Qa);mxMarker.addMarker("circlePlus",function(c,m,t,n,q,v,x,I,z,da){var R=n.clone(),Ga=Qa.apply(this,arguments),Ta=q*(x+2*z),Pa=v*(x+2*z);return function(){Ga.apply(this,arguments);c.begin();c.moveTo(R.x-q*z,R.y-v*z);c.lineTo(R.x--2*Ta+q*z,R.y-2*Pa+v*z);c.moveTo(R.x-Ta-Pa+v*z,R.y-Pa+Ta-q*z);c.lineTo(R.x+Pa-Ta-v*z,R.y-Pa-Ta+q*z);c.stroke()}});mxMarker.addMarker("halfCircle",function(c,m,t,n,q,v,x,I,z,da){var R=q*(x+z+1),Ga=v*(x+z+1),Ta=n.clone();n.x-=R;n.y-=Ga;return function(){c.begin();c.moveTo(Ta.x-Ga,Ta.y+R);c.quadTo(n.x-Ga,n.y+R,n.x,n.y);c.quadTo(n.x+Ga,n.y-R,Ta.x+Ga,Ta.y-R);c.stroke()}});mxMarker.addMarker("async",function(c,m,t,n,q,v,x,I,z,da){m=q*z*1.118;t=v*z*1.118;q*=x+z;v*=x+z;var R=n.clone();R.x-=m;R.y-=t;n.x+=-q--m;n.y+=-v-t;return function(){c.begin();c.moveTo(R.x,R.y);I?c.lineTo(R.x-q-v/2,R.y-v+q/2):c.lineTo(R.x+v/2-q,R.y-v-q/2);c.lineTo(R.x-q,R.y-v);c.close();da?c.fillAndStroke():c.stroke()}});mxMarker.addMarker("openAsync",function(c){c=null!=c?c:2;return function(m,t,n,q,v,x,I,z,da,R){v*=I+da;x*=I+da;var Ga=q.clone();return function(){m.begin();m.moveTo(Ga.x,Ga.y);z?m.lineTo(Ga.x-v-x/c,Ga.y-x+v/c):m.lineTo(Ga.x+x/c-v,Ga.y-x-v/c);m.stroke()}}}(2));if("undefined"!==typeof mxVertexHandler){var gb=function(c,-m,t){return ob(c,["width"],m,function(n,q,v,x,I){I=c.shape.getEdgeWidth()*c.view.scale+t;return new mxPoint(x.x+q*n/4+v*I/2,x.y+v*n/4-q*I/2)},function(n,q,v,x,I,z){n=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,I.x,I.y,z.x,z.y));c.style.width=Math.round(2*n)/c.view.scale-t})},ob=function(c,m,t,n,q){return Va(c,m,function(v){var x=c.absolutePoints;if(null!=x&&0<x.length){var I=x.length-1;v=c.view.translate;var z=c.view.scale,da=t?x[0]:x[I];x=t?x[1]:x[I-1];I=x.x-da.x;var R=x.y-da.y,Ga=Math.sqrt(I*I+R*R);da=-n.call(this,Ga,I/Ga,R/Ga,da,x);return new mxPoint(da.x/z-v.x,da.y/z-v.y)}return null},function(v,x,I){var z=c.absolutePoints,da=z.length-1;v=c.view.translate;var R=c.view.scale,Ga=t?z[0]:z[da];z=t?z[1]:z[da-1];da=z.x-Ga.x;var Ta=z.y-Ga.y,Pa=Math.sqrt(da*da+Ta*Ta);x.x=(x.x+v.x)*R;x.y=(x.y+v.y)*R;q.call(this,Pa,da/Pa,Ta/Pa,Ga,z,x,I)})},db=function(c,m){return function(t){return[ob(t,["startWidth"],!0,function(n,q,v,x,I){I=mxUtils.getNumber(t.style,"startWidth",c)*t.view.scale+m;return new mxPoint(x.x+-q*n/4+v*I/2,x.y+v*n/4-q*I/2)},function(n,q,v,x,I,z){n=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,I.x,I.y,z.x,z.y));t.style.startWidth=Math.round(2*n)/t.view.scale-m})]}},vb=function(c){return function(m){return[Va(m,["arrowWidth","arrowSize"],function(t){var n=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"arrowWidth",ab.prototype.arrowWidth))),q=Math.max(0,Math.min(c,mxUtils.getValue(this.state.style,"arrowSize",ab.prototype.arrowSize)));return new mxPoint(t.x+(1-q)*t.width,t.y+(1-n)*t.height/-2)},function(t,n){this.state.style.arrowWidth=Math.max(0,Math.min(1,Math.abs(t.y+t.height/2-n.y)/t.height*2));this.state.style.arrowSize=Math.max(0,Math.min(c,(t.x+t.width-n.x)/t.width))})]}},wb=function(c){return function(m){return[Va(m,["size"],function(t){var n=Math.max(0,Math.min(.5*t.height,parseFloat(mxUtils.getValue(this.state.style,"size",c))));return new mxPoint(t.x,t.y+n)},function(t,n){this.state.style.size=Math.max(0,n.y-t.y)},!0)]}},xb=function(c,m,t){return function(n){var q=[Va(n,["size"],-function(v){var x=Math.max(0,Math.min(v.width,Math.min(v.height,parseFloat(mxUtils.getValue(this.state.style,"size",m)))))*c;return new mxPoint(v.x+x,v.y+x)},function(v,x){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(v.width,x.x-v.x),Math.min(v.height,x.y-v.y)))/c)},!1)];t&&mxUtils.getValue(n.style,mxConstants.STYLE_ROUNDED,!1)&&q.push(ib(n));return q}},sb=function(c,m,t,n,q){t=null!=t?t:.5;return function(v){var x=[Va(v,["size"],function(I){var z=null!=q?"0"!=mxUtils.getValue(this.state.style,-"fixedSize","0"):null,da=parseFloat(mxUtils.getValue(this.state.style,"size",z?q:c));return new mxPoint(I.x+Math.max(0,Math.min(.5*I.width,da*(z?1:I.width))),I.getCenterY())},function(I,z,da){I=null!=q&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?z.x-I.x:Math.max(0,Math.min(t,(z.x-I.x)/I.width));this.state.style.size=I},!1,n)];m&&mxUtils.getValue(v.style,mxConstants.STYLE_ROUNDED,!1)&&x.push(ib(v));return x}},zb=function(c,m,t){c=null!=c?c:.5;return function(n){var q=[Va(n,["size"],function(v){var x=-null!=t?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,I=Math.max(0,parseFloat(mxUtils.getValue(this.state.style,"size",x?t:m)));return new mxPoint(v.x+Math.min(.75*v.width*c,I*(x?.75:.75*v.width)),v.y+v.height/4)},function(v,x){v=null!=t&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?x.x-v.x:Math.max(0,Math.min(c,(x.x-v.x)/v.width*.75));this.state.style.size=v},!1,!0)];mxUtils.getValue(n.style,mxConstants.STYLE_ROUNDED,!1)&&q.push(ib(n));return q}},kb=function(){return function(c){var m=-[];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(ib(c));return m}},ib=function(c,m){return Va(c,[mxConstants.STYLE_ARCSIZE],function(t){var n=null!=m?m:t.height/8;if("1"==mxUtils.getValue(c.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)){var q=mxUtils.getValue(c.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;return new mxPoint(t.x+t.width-Math.min(t.width/2,q),t.y+n)}q=Math.max(0,parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)))/-100;return new mxPoint(t.x+t.width-Math.min(Math.max(t.width/2,t.height/2),Math.min(t.width,t.height)*q),t.y+n)},function(t,n,q){"1"==mxUtils.getValue(c.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.max(0,Math.min(t.width,2*(t.x+t.width-n.x)))):this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.min(50,Math.max(0,100*(t.width-n.x+t.x)/Math.min(t.width,t.height))))})},Va=function(c,m,t,n,q,v,x){var I=new mxHandle(c,null,mxVertexHandler.prototype.secondaryHandleImage);-I.execute=function(da){for(var R=0;R<m.length;R++)this.copyStyle(m[R]);x&&x(da)};I.getPosition=t;I.setPosition=n;I.ignoreGrid=null!=q?q:!0;if(v){var z=I.positionChanged;I.positionChanged=function(){z.apply(this,arguments);c.view.invalidate(this.state.cell);c.view.validate()}}return I},Ua={link:function(c){return[gb(c,!0,10),gb(c,!1,10)]},pipe:function(c){return[gb(c,!0,10),gb(c,!1,10)]},flexArrow:function(c){var m=c.view.graph.gridSize/c.view.scale,t=[];mxUtils.getValue(c.style,mxConstants.STYLE_STARTARROW,-mxConstants.NONE)!=mxConstants.NONE&&(t.push(ob(c,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(n,q,v,x,I){n=(c.shape.getEdgeWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(x.x+q*(I+c.shape.strokewidth*c.view.scale)+v*n/2,x.y+v*(I+c.shape.strokewidth*c.view.scale)-q*n/2)},function(n,q,v,x,I,z,da){n=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,I.x,I.y,z.x,z.y));q=mxUtils.ptLineDist(x.x,-x.y,x.x+v,x.y-q,z.x,z.y);c.style[mxConstants.STYLE_STARTSIZE]=Math.round(100*(q-c.shape.strokewidth)/3)/100/c.view.scale;c.style.width=Math.round(2*n)/c.view.scale;if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE];mxEvent.isAltDown(da.getEvent())||Math.abs(parseFloat(c.style[mxConstants.STYLE_STARTSIZE])-parseFloat(c.style[mxConstants.STYLE_ENDSIZE]))<m/6&&(c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE])})),-t.push(ob(c,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(n,q,v,x,I){n=(c.shape.getStartArrowWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(x.x+q*(I+c.shape.strokewidth*c.view.scale)+v*n/2,x.y+v*(I+c.shape.strokewidth*c.view.scale)-q*n/2)},function(n,q,v,x,I,z,da){n=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,I.x,I.y,z.x,z.y));q=mxUtils.ptLineDist(x.x,-x.y,x.x+v,x.y-q,z.x,z.y);c.style[mxConstants.STYLE_STARTSIZE]=Math.round(100*(q-c.shape.strokewidth)/3)/100/c.view.scale;c.style.startWidth=Math.max(0,Math.round(2*n)-c.shape.getEdgeWidth())/c.view.scale;if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE],c.style.endWidth=c.style.startWidth;mxEvent.isAltDown(da.getEvent())||(Math.abs(parseFloat(c.style[mxConstants.STYLE_STARTSIZE])-parseFloat(c.style[mxConstants.STYLE_ENDSIZE]))<-m/6&&(c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE]),Math.abs(parseFloat(c.style.startWidth)-parseFloat(c.style.endWidth))<m&&(c.style.startWidth=c.style.endWidth))})));mxUtils.getValue(c.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE&&(t.push(ob(c,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(n,q,v,x,I){n=(c.shape.getEdgeWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/-5)*c.view.scale;return new mxPoint(x.x+q*(I+c.shape.strokewidth*c.view.scale)-v*n/2,x.y+v*(I+c.shape.strokewidth*c.view.scale)+q*n/2)},function(n,q,v,x,I,z,da){n=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,I.x,I.y,z.x,z.y));q=mxUtils.ptLineDist(x.x,x.y,x.x+v,x.y-q,z.x,z.y);c.style[mxConstants.STYLE_ENDSIZE]=Math.round(100*(q-c.shape.strokewidth)/3)/100/c.view.scale;c.style.width=Math.round(2*n)/c.view.scale;if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_STARTSIZE]=-c.style[mxConstants.STYLE_ENDSIZE];mxEvent.isAltDown(da.getEvent())||Math.abs(parseFloat(c.style[mxConstants.STYLE_ENDSIZE])-parseFloat(c.style[mxConstants.STYLE_STARTSIZE]))<m/6&&(c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE])})),t.push(ob(c,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(n,q,v,x,I){n=(c.shape.getEndArrowWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/-5)*c.view.scale;return new mxPoint(x.x+q*(I+c.shape.strokewidth*c.view.scale)-v*n/2,x.y+v*(I+c.shape.strokewidth*c.view.scale)+q*n/2)},function(n,q,v,x,I,z,da){n=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,I.x,I.y,z.x,z.y));q=mxUtils.ptLineDist(x.x,x.y,x.x+v,x.y-q,z.x,z.y);c.style[mxConstants.STYLE_ENDSIZE]=Math.round(100*(q-c.shape.strokewidth)/3)/100/c.view.scale;c.style.endWidth=Math.max(0,Math.round(2*n)-c.shape.getEdgeWidth())/c.view.scale;if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_STARTSIZE]=+"opacity","100"),Gb=Math.max(0,Math.min(50,z));v=xa.prototype;c.setDashed(Ga);Ta&&""!=Ta&&c.setDashPattern(Ta);c.setStrokeWidth(Db);z=Math.min(.5*r,.5*n,z);I||(z=Gb*Math.min(n,r)/100);z=Math.min(z,.5*Math.min(n,r));I||(R=Math.min(Pa*Math.min(n,r)/100));R=Math.min(R,.5*Math.min(n,r)-z);(pa||ua||sa||ra)&&"frame"!=da&&(c.begin(),pa?v.moveNW(c,m,t,n,r,x,za,z,ra):c.moveTo(0,0),pa&&v.paintNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),ua&&v.paintNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,+Da,z,sa),sa&&v.paintSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),ra&&v.paintSW(c,m,t,n,r,x,Fa,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),c.close(),c.fill(),c.setShadow(!1),c.setFillColor(Ab),Ga=I=Fb,"none"==Ab&&(I=0),"none"==Bb&&(Ga=0),c.setGradient(Ab,Bb,0,0,n,r,Eb,I,Ga),c.begin(),pa?v.moveNWInner(c,m,t,n,r,x,za,z,R,pa,ra):c.moveTo(R,0),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),ra&&sa&&v.paintSWInner(c,m,t,n,r,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),sa&&ua&&v.paintSEInner(c,+m,t,n,r,x,Da,z,R),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),ua&&pa&&v.paintNEInner(c,m,t,n,r,x,Ca,z,R),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa),pa&&ra&&v.paintNWInner(c,m,t,n,r,x,za,z,R),c.fill(),"none"==Cb&&(c.begin(),v.paintFolds(c,m,t,n,r,x,za,Ca,Da,Fa,z,pa,ua,sa,ra),c.stroke()));pa||ua||sa||!ra?pa||ua||!sa||ra?!pa&&!ua&&sa&&ra?"frame"!=da?(c.begin(),v.moveSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),v.paintSW(c,m,t,n,r,x,Fa,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),"double"==da&&+(v.moveNWInner(c,m,t,n,r,x,za,z,R,pa,ra),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),v.paintSWInner(c,m,t,n,r,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa)),c.stroke()):(c.begin(),v.moveSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),v.paintSW(c,m,t,n,r,x,Fa,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),v.lineNWInner(c,m,t,n,r,x,za,z,R,pa,ra),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),v.paintSWInner(c,m,t,n,r,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),c.close(),c.fillAndStroke()):+pa||!ua||sa||ra?!pa&&ua&&!sa&&ra?"frame"!=da?(c.begin(),v.moveSW(c,m,t,n,r,x,za,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),"double"==da&&(v.moveNWInner(c,m,t,n,r,x,za,z,R,pa,ra),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra)),c.stroke(),c.begin(),v.moveNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),"double"==da&&(v.moveSEInner(c,m,t,n,r,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua)),c.stroke()):(c.begin(),v.moveSW(c,m,t,n,r,x,za,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),v.lineNWInner(c,+m,t,n,r,x,za,z,R,pa,ra),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),c.close(),c.fillAndStroke(),c.begin(),v.moveNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),v.lineSEInner(c,m,t,n,r,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),c.close(),c.fillAndStroke()):!pa&&ua&&sa&&!ra?"frame"!=da?(c.begin(),v.moveNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),v.paintSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),"double"==da&&(v.moveSWInner(c,m,t,n,r,x,Fa,z,R,ra),+v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,r,x,Da,z,R),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua)),c.stroke()):(c.begin(),v.moveNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),v.paintSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),v.lineSWInner(c,m,t,n,r,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,r,x,Da,z,R),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),c.close(),c.fillAndStroke()):!pa&&ua&&sa&&ra?"frame"!=da?(c.begin(),+v.moveNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),v.paintSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),v.paintSW(c,m,t,n,r,x,Fa,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),"double"==da&&(v.moveNWInner(c,m,t,n,r,x,za,z,R,pa,ra),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),v.paintSWInner(c,m,t,n,r,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,r,x,Da,z,R),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua)),c.stroke()):(c.begin(),v.moveNE(c,m,t,n,r,x,Ca,+z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),v.paintSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),v.paintSW(c,m,t,n,r,x,Fa,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),v.lineNWInner(c,m,t,n,r,x,za,z,R,pa,ra),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),v.paintSWInner(c,m,t,n,r,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,r,x,Da,z,R),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),c.close(),c.fillAndStroke()):!pa||ua||sa||ra?pa&&!ua&&!sa&&ra?"frame"!=da?(c.begin(),v.moveSW(c,+m,t,n,r,x,Fa,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),v.paintNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),"double"==da&&(v.moveNEInner(c,m,t,n,r,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa),v.paintNWInner(c,m,t,n,r,x,za,z,R),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra)),c.stroke()):(c.begin(),v.moveSW(c,m,t,n,r,x,Fa,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),v.paintNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),v.lineNEInner(c,m,t,n,r,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,r,x,+za,z,R,ra,pa),v.paintNWInner(c,m,t,n,r,x,za,z,R),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),c.close(),c.fillAndStroke()):pa&&!ua&&sa&&!ra?"frame"!=da?(c.begin(),v.moveNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),"double"==da&&(v.moveNEInner(c,m,t,n,r,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa)),c.stroke(),c.begin(),v.moveSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),"double"==da&&(v.moveSWInner(c,m,t,n,r,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa)),+c.stroke()):(c.begin(),v.moveNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),v.lineNEInner(c,m,t,n,r,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa),c.close(),c.fillAndStroke(),c.begin(),v.moveSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),v.lineSWInner(c,m,t,n,r,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),c.close(),c.fillAndStroke()):pa&&!ua&&sa&&ra?"frame"!=da?(c.begin(),v.moveSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),v.paintSW(c,m,t,n,r,+x,Fa,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),v.paintNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),"double"==da&&(v.moveNEInner(c,m,t,n,r,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa),v.paintNWInner(c,m,t,n,r,x,za,z,R),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),v.paintSWInner(c,m,t,n,r,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa)),c.stroke()):(c.begin(),v.moveSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),v.paintSW(c,m,t,n,r,x,Fa,z,sa),v.paintLeft(c,m,t,n,+r,x,za,z,pa),v.paintNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),v.lineNEInner(c,m,t,n,r,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa),v.paintNWInner(c,m,t,n,r,x,za,z,R),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),v.paintSWInner(c,m,t,n,r,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),c.close(),c.fillAndStroke()):pa&&ua&&!sa&&!ra?"frame"!=da?(c.begin(),v.moveNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),v.paintNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,+x,Da,z,sa),"double"==da&&(v.moveSEInner(c,m,t,n,r,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,r,x,Ca,z,R),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa)),c.stroke()):(c.begin(),v.moveNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),v.paintNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),v.lineSEInner(c,m,t,n,r,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,r,x,Ca,z,R),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa),c.close(),+c.fillAndStroke()):pa&&ua&&!sa&&ra?"frame"!=da?(c.begin(),v.moveSW(c,m,t,n,r,x,Fa,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),v.paintNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),v.paintNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),"double"==da&&(v.moveSEInner(c,m,t,n,r,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,r,x,Ca,z,R),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa),v.paintNWInner(c,m,t,n,r,x,za,z,R),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra)),+c.stroke()):(c.begin(),v.moveSW(c,m,t,n,r,x,Fa,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),v.paintNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),v.paintNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),v.lineSEInner(c,m,t,n,r,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,r,x,Ca,z,R),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa),v.paintNWInner(c,m,t,n,r,x,za,z,R),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),c.close(),c.fillAndStroke()):pa&&ua&&sa&&!ra?"frame"!=+da?(c.begin(),v.moveNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),v.paintNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),v.paintSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),"double"==da&&(v.moveSWInner(c,m,t,n,r,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,r,x,Da,z,R),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,r,x,Ca,z,R),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa)),c.stroke()):(c.begin(),v.moveNW(c,m,t,n,+r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),v.paintNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),v.paintSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),v.lineSWInner(c,m,t,n,r,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,r,x,Da,z,R),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,r,x,Ca,z,R),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa),c.close(),c.fillAndStroke()):pa&&ua&&sa&&ra&&("frame"!=da?(c.begin(),v.moveNW(c,m,t,n,r,+x,za,z,ra),v.paintNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),v.paintNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),v.paintSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),v.paintSW(c,m,t,n,r,x,Fa,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),c.close(),"double"==da&&(v.moveSWInner(c,m,t,n,r,x,Fa,z,R,ra),v.paintSWInner(c,m,t,n,r,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,r,x,Da,z,R),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),v.paintNEInner(c,+m,t,n,r,x,Ca,z,R),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa),v.paintNWInner(c,m,t,n,r,x,za,z,R),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),c.close()),c.stroke()):(c.begin(),v.moveNW(c,m,t,n,r,x,za,z,ra),v.paintNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),v.paintNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),v.paintSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),v.paintSW(c,m,t,n,r,x,Fa,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),c.close(),v.moveSWInner(c,m,t,n,r,x,Fa,z,+R,ra),v.paintSWInner(c,m,t,n,r,x,Fa,z,R,sa),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),v.paintSEInner(c,m,t,n,r,x,Da,z,R),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),v.paintNEInner(c,m,t,n,r,x,Ca,z,R),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa),v.paintNWInner(c,m,t,n,r,x,za,z,R),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),c.close(),c.fillAndStroke())):"frame"!=da?(c.begin(),v.moveNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),"double"==da&&(v.moveNEInner(c,m,t,n,r,x,Ca,z,R,ua),v.paintTopInner(c,+m,t,n,r,x,za,z,R,ra,pa)),c.stroke()):(c.begin(),v.moveNW(c,m,t,n,r,x,za,z,ra),v.paintTop(c,m,t,n,r,x,Ca,z,ua),v.lineNEInner(c,m,t,n,r,x,Ca,z,R,ua),v.paintTopInner(c,m,t,n,r,x,za,z,R,ra,pa),c.close(),c.fillAndStroke()):"frame"!=da?(c.begin(),v.moveNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),"double"==da&&(v.moveSEInner(c,m,t,n,r,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua)),c.stroke()):(c.begin(),v.moveNE(c,m,t,n,r,x,Ca,z,pa),v.paintRight(c,m,t,n,r,x,Da,z,sa),v.lineSEInner(c,+m,t,n,r,x,Da,z,R,sa),v.paintRightInner(c,m,t,n,r,x,Ca,z,R,pa,ua),c.close(),c.fillAndStroke()):"frame"!=da?(c.begin(),v.moveSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),"double"==da&&(v.moveSWInner(c,m,t,n,r,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa)),c.stroke()):(c.begin(),v.moveSE(c,m,t,n,r,x,Da,z,ua),v.paintBottom(c,m,t,n,r,x,Fa,z,ra),v.lineSWInner(c,m,t,n,r,x,Fa,z,R,ra),v.paintBottomInner(c,m,t,n,r,x,Da,z,R,ua,sa),c.close(),c.fillAndStroke()):"frame"!=da?(c.begin(),+v.moveSW(c,m,t,n,r,x,za,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),"double"==da&&(v.moveNWInner(c,m,t,n,r,x,za,z,R,pa,ra),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra)),c.stroke()):(c.begin(),v.moveSW(c,m,t,n,r,x,za,z,sa),v.paintLeft(c,m,t,n,r,x,za,z,pa),v.lineNWInner(c,m,t,n,r,x,za,z,R,pa,ra),v.paintLeftInner(c,m,t,n,r,x,Fa,z,R,sa,ra),c.close(),c.fillAndStroke());c.begin();v.paintFolds(c,m,t,n,r,x,za,Ca,Da,Fa,z,pa,ua,sa,ra);c.stroke()};xa.prototype.moveNW=function(c,m,t,n,r,v,x,I,z){"square"==x||"default"==+x&&"square"==v||!z?c.moveTo(0,0):c.moveTo(0,I)};xa.prototype.moveNE=function(c,m,t,n,r,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.moveTo(n,0):c.moveTo(n-I,0)};xa.prototype.moveSE=function(c,m,t,n,r,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.moveTo(n,r):c.moveTo(n,r-I)};xa.prototype.moveSW=function(c,m,t,n,r,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.moveTo(0,r):c.moveTo(I,r)};xa.prototype.paintNW=function(c,m,t,n,r,v,x,I,z){if(z)if("rounded"==x||"default"==x&&"rounded"==+v||"invRound"==x||"default"==x&&"invRound"==v){m=0;if("rounded"==x||"default"==x&&"rounded"==v)m=1;c.arcTo(I,I,0,0,m,I,0)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(I,0);else c.lineTo(0,0)};xa.prototype.paintTop=function(c,m,t,n,r,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.lineTo(n,0):c.lineTo(n-I,0)};xa.prototype.paintNE=function(c,m,t,n,r,v,x,I,z){if(z)if("rounded"==x||"default"==x&&"rounded"==v||"invRound"==x||"default"==x&&"invRound"==v){m=+0;if("rounded"==x||"default"==x&&"rounded"==v)m=1;c.arcTo(I,I,0,0,m,n,I)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(n,I);else c.lineTo(n,0)};xa.prototype.paintRight=function(c,m,t,n,r,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.lineTo(n,r):c.lineTo(n,r-I)};xa.prototype.paintLeft=function(c,m,t,n,r,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.lineTo(0,0):c.lineTo(0,I)};xa.prototype.paintSE=function(c,m,t,n,r,v,x,I,z){if(z)if("rounded"==+x||"default"==x&&"rounded"==v||"invRound"==x||"default"==x&&"invRound"==v){m=0;if("rounded"==x||"default"==x&&"rounded"==v)m=1;c.arcTo(I,I,0,0,m,n-I,r)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(n-I,r);else c.lineTo(n,r)};xa.prototype.paintBottom=function(c,m,t,n,r,v,x,I,z){"square"==x||"default"==x&&"square"==v||!z?c.lineTo(0,r):c.lineTo(I,r)};xa.prototype.paintSW=function(c,m,t,n,r,v,x,I,z){if(z)if("rounded"==x||"default"==x&&"rounded"==v||"invRound"==+x||"default"==x&&"invRound"==v){m=0;if("rounded"==x||"default"==x&&"rounded"==v)m=1;c.arcTo(I,I,0,0,m,0,r-I)}else("snip"==x||"default"==x&&"snip"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(0,r-I);else c.lineTo(0,r)};xa.prototype.paintNWInner=function(c,m,t,n,r,v,x,I,z){if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(I-.5*z,I-.5*z,0,0,0,z,.5*z+I);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(I+z,I+z,0,0,1,z,z+I);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(z,.5*z+I);+else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(z+I,z+I),c.lineTo(z,z+I)};xa.prototype.paintTopInner=function(c,m,t,n,r,v,x,I,z,da,R){da||R?!da&&R?c.lineTo(0,z):da&&!R?c.lineTo(z,0):da?"square"==x||"default"==x&&"square"==v?c.lineTo(z,z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(I+.5*z,z):c.lineTo(I+z,z):c.lineTo(0,z):c.lineTo(0,0)};xa.prototype.paintNEInner=function(c,m,t,n,r,v,x,I,z){if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(I-.5*z,I-.5*+z,0,0,0,n-I-.5*z,z);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(I+z,I+z,0,0,1,n-I-z,z);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(n-I-.5*z,z);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(n-I-z,I+z),c.lineTo(n-I-z,z)};xa.prototype.paintRightInner=function(c,m,t,n,r,v,x,I,z,da,R){da||R?!da&&R?c.lineTo(n-z,0):da&&!R?c.lineTo(n,z):da?"square"==x||"default"==x&&"square"==v?c.lineTo(n-z,z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(n-+z,I+.5*z):c.lineTo(n-z,I+z):c.lineTo(n-z,0):c.lineTo(n,0)};xa.prototype.paintLeftInner=function(c,m,t,n,r,v,x,I,z,da,R){da||R?!da&&R?c.lineTo(z,r):da&&!R?c.lineTo(0,r-z):da?"square"==x||"default"==x&&"square"==v?c.lineTo(z,r-z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(z,r-I-.5*z):c.lineTo(z,r-I-z):c.lineTo(z,r):c.lineTo(0,r)};xa.prototype.paintSEInner=function(c,m,t,n,r,v,x,I,z){if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(I-.5*z,I-.5*z,0,0,0,n-+z,r-I-.5*z);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(I+z,I+z,0,0,1,n-z,r-I-z);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(n-z,r-I-.5*z);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(n-I-z,r-I-z),c.lineTo(n-z,r-I-z)};xa.prototype.paintBottomInner=function(c,m,t,n,r,v,x,I,z,da,R){da||R?!da&&R?c.lineTo(n,r-z):da&&!R?c.lineTo(n-z,r):"square"==x||"default"==x&&"square"==v||!da?c.lineTo(n-z,r-z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?+c.lineTo(n-I-.5*z,r-z):c.lineTo(n-I-z,r-z):c.lineTo(n,r)};xa.prototype.paintSWInner=function(c,m,t,n,r,v,x,I,z,da){if(!da)c.lineTo(z,r);else if("square"==x||"default"==x&&"square"==v)c.lineTo(z,r-z);else if("rounded"==x||"default"==x&&"rounded"==v)c.arcTo(I-.5*z,I-.5*z,0,0,0,I+.5*z,r-z);else if("invRound"==x||"default"==x&&"invRound"==v)c.arcTo(I+z,I+z,0,0,1,I+z,r-z);else if("snip"==x||"default"==x&&"snip"==v)c.lineTo(I+.5*z,r-z);else if("fold"==x||"default"==x&&"fold"==v)c.lineTo(z+I,r-I-z),c.lineTo(z++I,r-z)};xa.prototype.moveSWInner=function(c,m,t,n,r,v,x,I,z,da){da?"square"==x||"default"==x&&"square"==v?c.moveTo(z,r-z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(z,r-I-.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(z,r-I-z):c.moveTo(0,r-z)};xa.prototype.lineSWInner=function(c,m,t,n,r,v,x,I,z,da){da?"square"==x||"default"==x&&"square"==v?c.lineTo(z,r-z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==+x||"default"==x&&"snip"==v?c.lineTo(z,r-I-.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(z,r-I-z):c.lineTo(0,r-z)};xa.prototype.moveSEInner=function(c,m,t,n,r,v,x,I,z,da){da?"square"==x||"default"==x&&"square"==v?c.moveTo(n-z,r-z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(n-z,r-I-.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(n-z,r-I-z):c.moveTo(n-z,r)};xa.prototype.lineSEInner=+function(c,m,t,n,r,v,x,I,z,da){da?"square"==x||"default"==x&&"square"==v?c.lineTo(n-z,r-z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(n-z,r-I-.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(n-z,r-I-z):c.lineTo(n-z,r)};xa.prototype.moveNEInner=function(c,m,t,n,r,v,x,I,z,da){da?"square"==x||"default"==x&&"square"==v||da?c.moveTo(n-z,z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==+v?c.moveTo(n-z,I+.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(n-z,I+z):c.moveTo(n,z)};xa.prototype.lineNEInner=function(c,m,t,n,r,v,x,I,z,da){da?"square"==x||"default"==x&&"square"==v||da?c.lineTo(n-z,z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(n-z,I+.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(n-z,I+z):c.lineTo(n,z)};xa.prototype.moveNWInner=function(c,+m,t,n,r,v,x,I,z,da,R){da||R?!da&&R?c.moveTo(z,0):da&&!R?c.moveTo(0,z):"square"==x||"default"==x&&"square"==v?c.moveTo(z,z):"rounded"==x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.moveTo(z,I+.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.moveTo(z,I+z):c.moveTo(0,0)};xa.prototype.lineNWInner=function(c,m,t,n,r,v,x,I,z,da,R){da||R?!da&&R?c.lineTo(z,0):da&&!R?c.lineTo(0,z):"square"==x||"default"==x&&"square"==v?c.lineTo(z,z):"rounded"==+x||"default"==x&&"rounded"==v||"snip"==x||"default"==x&&"snip"==v?c.lineTo(z,I+.5*z):("invRound"==x||"default"==x&&"invRound"==v||"fold"==x||"default"==x&&"fold"==v)&&c.lineTo(z,I+z):c.lineTo(0,0)};xa.prototype.paintFolds=function(c,m,t,n,r,v,x,I,z,da,R,Ga,Ta,Pa,pa){if("fold"==v||"fold"==x||"fold"==I||"fold"==z||"fold"==da)("fold"==x||"default"==x&&"fold"==v)&&Ga&&pa&&(c.moveTo(0,R),c.lineTo(R,R),c.lineTo(R,0)),("fold"==I||"default"==I&&"fold"==v)&&Ga&&Ta&&(c.moveTo(n-R,0),c.lineTo(n-R,R),c.lineTo(n,+R)),("fold"==z||"default"==z&&"fold"==v)&&Pa&&Ta&&(c.moveTo(n-R,r),c.lineTo(n-R,r-R),c.lineTo(n,r-R)),("fold"==da||"default"==da&&"fold"==v)&&Pa&&pa&&(c.moveTo(0,r-R),c.lineTo(R,r-R),c.lineTo(R,r))};mxCellRenderer.registerShape(xa.prototype.cst.RECT2,xa);xa.prototype.constraints=null;mxUtils.extend(wa,mxConnector);wa.prototype.origPaintEdgeShape=wa.prototype.paintEdgeShape;wa.prototype.paintEdgeShape=function(c,m){for(var t=[],n=0;n<m.length;n++)t.push(mxUtils.clone(m[n]));n=c.state.dashed;var r=+c.state.fixDash;wa.prototype.origPaintEdgeShape.apply(this,[c,t]);3<=c.state.strokeWidth&&(t=mxUtils.getValue(this.style,"fillColor",null),null!=t&&(c.setStrokeColor(t),c.setStrokeWidth(c.state.strokeWidth-2),c.setDashed(n,r),wa.prototype.origPaintEdgeShape.apply(this,[c,m])))};mxCellRenderer.registerShape("filledEdge",wa);mxUtils.extend(Sa,mxConnector);Sa.prototype.defaultWidth=4;Sa.prototype.getEdgeWidth=function(){return Math.max(0,mxUtils.getNumber(this.style,"width",this.defaultWidth))};Sa.prototype.getFlowAnimationPath=+function(){return mxShape.prototype.getFlowAnimationPath.call(this,2)};Sa.prototype.origPaintEdgeShape=Sa.prototype.paintEdgeShape;Sa.prototype.paintEdgeShape=function(c,m){for(var t=[],n=0;n<m.length;n++)t.push(mxUtils.clone(m[n]));n=c.state.dashed;var r=c.state.fixDash,v=this.getEdgeWidth();c.setStrokeWidth(v+2*this.strokewidth);c.setDashed(!1);Sa.prototype.origPaintEdgeShape.apply(this,[c,t]);t=mxUtils.getValue(this.style,"fillColor",null);null!=t&&(c.setStrokeWidth(v),c.setStrokeColor(t),c.setDashed(n,+r),Sa.prototype.origPaintEdgeShape.apply(this,[c,m]))};mxCellRenderer.registerShape("pipe",Sa);"undefined"!==typeof StyleFormatPanel&&function(){var c=StyleFormatPanel.prototype.getCustomColors;StyleFormatPanel.prototype.getCustomColors=function(){var m=this.editorUi.getSelectionState(),t=c.apply(this,arguments);"umlFrame"==m.style.shape&&t.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"default"});return t}}();mxMarker.addMarker("dash",function(c,m,t,n,r,v,x,I,z,da){var R=+r*(x+z+1),Ga=v*(x+z+1);return function(){c.begin();c.moveTo(n.x-R/2-Ga/2,n.y-Ga/2+R/2);c.lineTo(n.x+Ga/2-3*R/2,n.y-3*Ga/2-R/2);c.stroke()}});mxMarker.addMarker("box",function(c,m,t,n,r,v,x,I,z,da){var R=r*(x+z+1),Ga=v*(x+z+1),Ta=n.x+R/2,Pa=n.y+Ga/2;n.x-=R;n.y-=Ga;return function(){c.begin();c.moveTo(Ta-R/2-Ga/2,Pa-Ga/2+R/2);c.lineTo(Ta-R/2+Ga/2,Pa-Ga/2-R/2);c.lineTo(Ta+Ga/2-3*R/2,Pa-3*Ga/2-R/2);c.lineTo(Ta-Ga/2-3*R/2,Pa-3*Ga/2+R/2);c.close();da?c.fillAndStroke():c.stroke()}});mxMarker.addMarker("cross",+function(c,m,t,n,r,v,x,I,z,da){var R=r*(x+z+1),Ga=v*(x+z+1);return function(){c.begin();c.moveTo(n.x-R/2-Ga/2,n.y-Ga/2+R/2);c.lineTo(n.x+Ga/2-3*R/2,n.y-3*Ga/2-R/2);c.moveTo(n.x-R/2+Ga/2,n.y-Ga/2-R/2);c.lineTo(n.x-Ga/2-3*R/2,n.y-3*Ga/2+R/2);c.stroke()}});mxMarker.addMarker("circle",Qa);mxMarker.addMarker("circlePlus",function(c,m,t,n,r,v,x,I,z,da){var R=n.clone(),Ga=Qa.apply(this,arguments),Ta=r*(x+2*z),Pa=v*(x+2*z);return function(){Ga.apply(this,arguments);c.begin();c.moveTo(R.x-r*z,R.y-v*z);c.lineTo(R.x-+2*Ta+r*z,R.y-2*Pa+v*z);c.moveTo(R.x-Ta-Pa+v*z,R.y-Pa+Ta-r*z);c.lineTo(R.x+Pa-Ta-v*z,R.y-Pa-Ta+r*z);c.stroke()}});mxMarker.addMarker("halfCircle",function(c,m,t,n,r,v,x,I,z,da){var R=r*(x+z+1),Ga=v*(x+z+1),Ta=n.clone();n.x-=R;n.y-=Ga;return function(){c.begin();c.moveTo(Ta.x-Ga,Ta.y+R);c.quadTo(n.x-Ga,n.y+R,n.x,n.y);c.quadTo(n.x+Ga,n.y-R,Ta.x+Ga,Ta.y-R);c.stroke()}});mxMarker.addMarker("async",function(c,m,t,n,r,v,x,I,z,da){m=r*z*1.118;t=v*z*1.118;r*=x+z;v*=x+z;var R=n.clone();R.x-=m;R.y-=t;n.x+=-r-+m;n.y+=-v-t;return function(){c.begin();c.moveTo(R.x,R.y);I?c.lineTo(R.x-r-v/2,R.y-v+r/2):c.lineTo(R.x+v/2-r,R.y-v-r/2);c.lineTo(R.x-r,R.y-v);c.close();da?c.fillAndStroke():c.stroke()}});mxMarker.addMarker("openAsync",function(c){c=null!=c?c:2;return function(m,t,n,r,v,x,I,z,da,R){v*=I+da;x*=I+da;var Ga=r.clone();return function(){m.begin();m.moveTo(Ga.x,Ga.y);z?m.lineTo(Ga.x-v-x/c,Ga.y-x+v/c):m.lineTo(Ga.x+x/c-v,Ga.y-x-v/c);m.stroke()}}}(2));if("undefined"!==typeof mxVertexHandler){var gb=function(c,+m,t){return ob(c,["width"],m,function(n,r,v,x,I){I=c.shape.getEdgeWidth()*c.view.scale+t;return new mxPoint(x.x+r*n/4+v*I/2,x.y+v*n/4-r*I/2)},function(n,r,v,x,I,z){n=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,I.x,I.y,z.x,z.y));c.style.width=Math.round(2*n)/c.view.scale-t})},ob=function(c,m,t,n,r){return Va(c,m,function(v){var x=c.absolutePoints;if(null!=x&&0<x.length){var I=x.length-1;v=c.view.translate;var z=c.view.scale,da=t?x[0]:x[I];x=t?x[1]:x[I-1];I=x.x-da.x;var R=x.y-da.y,Ga=Math.sqrt(I*I+R*R);da=+n.call(this,Ga,I/Ga,R/Ga,da,x);return new mxPoint(da.x/z-v.x,da.y/z-v.y)}return null},function(v,x,I){var z=c.absolutePoints,da=z.length-1;v=c.view.translate;var R=c.view.scale,Ga=t?z[0]:z[da];z=t?z[1]:z[da-1];da=z.x-Ga.x;var Ta=z.y-Ga.y,Pa=Math.sqrt(da*da+Ta*Ta);x.x=(x.x+v.x)*R;x.y=(x.y+v.y)*R;r.call(this,Pa,da/Pa,Ta/Pa,Ga,z,x,I)})},db=function(c,m){return function(t){return[ob(t,["startWidth"],!0,function(n,r,v,x,I){I=mxUtils.getNumber(t.style,"startWidth",c)*t.view.scale+m;return new mxPoint(x.x++r*n/4+v*I/2,x.y+v*n/4-r*I/2)},function(n,r,v,x,I,z){n=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,I.x,I.y,z.x,z.y));t.style.startWidth=Math.round(2*n)/t.view.scale-m})]}},vb=function(c){return function(m){return[Va(m,["arrowWidth","arrowSize"],function(t){var n=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"arrowWidth",ab.prototype.arrowWidth))),r=Math.max(0,Math.min(c,mxUtils.getValue(this.state.style,"arrowSize",ab.prototype.arrowSize)));return new mxPoint(t.x+(1-r)*t.width,t.y+(1-n)*t.height/+2)},function(t,n){this.state.style.arrowWidth=Math.max(0,Math.min(1,Math.abs(t.y+t.height/2-n.y)/t.height*2));this.state.style.arrowSize=Math.max(0,Math.min(c,(t.x+t.width-n.x)/t.width))})]}},wb=function(c){return function(m){return[Va(m,["size"],function(t){var n=Math.max(0,Math.min(.5*t.height,parseFloat(mxUtils.getValue(this.state.style,"size",c))));return new mxPoint(t.x,t.y+n)},function(t,n){this.state.style.size=Math.max(0,n.y-t.y)},!0)]}},xb=function(c,m,t){return function(n){var r=[Va(n,["size"],+function(v){var x=Math.max(0,Math.min(v.width,Math.min(v.height,parseFloat(mxUtils.getValue(this.state.style,"size",m)))))*c;return new mxPoint(v.x+x,v.y+x)},function(v,x){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(v.width,x.x-v.x),Math.min(v.height,x.y-v.y)))/c)},!1)];t&&mxUtils.getValue(n.style,mxConstants.STYLE_ROUNDED,!1)&&r.push(ib(n));return r}},sb=function(c,m,t,n,r){t=null!=t?t:.5;return function(v){var x=[Va(v,["size"],function(I){var z=null!=r?"0"!=mxUtils.getValue(this.state.style,+"fixedSize","0"):null,da=parseFloat(mxUtils.getValue(this.state.style,"size",z?r:c));return new mxPoint(I.x+Math.max(0,Math.min(.5*I.width,da*(z?1:I.width))),I.getCenterY())},function(I,z,da){I=null!=r&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?z.x-I.x:Math.max(0,Math.min(t,(z.x-I.x)/I.width));this.state.style.size=I},!1,n)];m&&mxUtils.getValue(v.style,mxConstants.STYLE_ROUNDED,!1)&&x.push(ib(v));return x}},zb=function(c,m,t){c=null!=c?c:.5;return function(n){var r=[Va(n,["size"],function(v){var x=+null!=t?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,I=Math.max(0,parseFloat(mxUtils.getValue(this.state.style,"size",x?t:m)));return new mxPoint(v.x+Math.min(.75*v.width*c,I*(x?.75:.75*v.width)),v.y+v.height/4)},function(v,x){v=null!=t&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?x.x-v.x:Math.max(0,Math.min(c,(x.x-v.x)/v.width*.75));this.state.style.size=v},!1,!0)];mxUtils.getValue(n.style,mxConstants.STYLE_ROUNDED,!1)&&r.push(ib(n));return r}},kb=function(){return function(c){var m=+[];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(ib(c));return m}},ib=function(c,m){return Va(c,[mxConstants.STYLE_ARCSIZE],function(t){var n=null!=m?m:t.height/8;if("1"==mxUtils.getValue(c.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)){var r=mxUtils.getValue(c.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;return new mxPoint(t.x+t.width-Math.min(t.width/2,r),t.y+n)}r=Math.max(0,parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)))/+100;return new mxPoint(t.x+t.width-Math.min(Math.max(t.width/2,t.height/2),Math.min(t.width,t.height)*r),t.y+n)},function(t,n,r){"1"==mxUtils.getValue(c.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.max(0,Math.min(t.width,2*(t.x+t.width-n.x)))):this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.min(50,Math.max(0,100*(t.width-n.x+t.x)/Math.min(t.width,t.height))))})},Va=function(c,m,t,n,r,v,x){var I=new mxHandle(c,null,mxVertexHandler.prototype.secondaryHandleImage);+I.execute=function(da){for(var R=0;R<m.length;R++)this.copyStyle(m[R]);x&&x(da)};I.getPosition=t;I.setPosition=n;I.ignoreGrid=null!=r?r:!0;if(v){var z=I.positionChanged;I.positionChanged=function(){z.apply(this,arguments);c.view.invalidate(this.state.cell);c.view.validate()}}return I},Ua={link:function(c){return[gb(c,!0,10),gb(c,!1,10)]},pipe:function(c){return[gb(c,!0,10),gb(c,!1,10)]},flexArrow:function(c){var m=c.view.graph.gridSize/c.view.scale,t=[];mxUtils.getValue(c.style,mxConstants.STYLE_STARTARROW,+mxConstants.NONE)!=mxConstants.NONE&&(t.push(ob(c,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(n,r,v,x,I){n=(c.shape.getEdgeWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(x.x+r*(I+c.shape.strokewidth*c.view.scale)+v*n/2,x.y+v*(I+c.shape.strokewidth*c.view.scale)-r*n/2)},function(n,r,v,x,I,z,da){n=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,I.x,I.y,z.x,z.y));r=mxUtils.ptLineDist(x.x,+x.y,x.x+v,x.y-r,z.x,z.y);c.style[mxConstants.STYLE_STARTSIZE]=Math.round(100*(r-c.shape.strokewidth)/3)/100/c.view.scale;c.style.width=Math.round(2*n)/c.view.scale;if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE];mxEvent.isAltDown(da.getEvent())||Math.abs(parseFloat(c.style[mxConstants.STYLE_STARTSIZE])-parseFloat(c.style[mxConstants.STYLE_ENDSIZE]))<m/6&&(c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE])})),+t.push(ob(c,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(n,r,v,x,I){n=(c.shape.getStartArrowWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(x.x+r*(I+c.shape.strokewidth*c.view.scale)+v*n/2,x.y+v*(I+c.shape.strokewidth*c.view.scale)-r*n/2)},function(n,r,v,x,I,z,da){n=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,I.x,I.y,z.x,z.y));r=mxUtils.ptLineDist(x.x,+x.y,x.x+v,x.y-r,z.x,z.y);c.style[mxConstants.STYLE_STARTSIZE]=Math.round(100*(r-c.shape.strokewidth)/3)/100/c.view.scale;c.style.startWidth=Math.max(0,Math.round(2*n)-c.shape.getEdgeWidth())/c.view.scale;if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE],c.style.endWidth=c.style.startWidth;mxEvent.isAltDown(da.getEvent())||(Math.abs(parseFloat(c.style[mxConstants.STYLE_STARTSIZE])-parseFloat(c.style[mxConstants.STYLE_ENDSIZE]))<+m/6&&(c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE]),Math.abs(parseFloat(c.style.startWidth)-parseFloat(c.style.endWidth))<m&&(c.style.startWidth=c.style.endWidth))})));mxUtils.getValue(c.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE&&(t.push(ob(c,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(n,r,v,x,I){n=(c.shape.getEdgeWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/+5)*c.view.scale;return new mxPoint(x.x+r*(I+c.shape.strokewidth*c.view.scale)-v*n/2,x.y+v*(I+c.shape.strokewidth*c.view.scale)+r*n/2)},function(n,r,v,x,I,z,da){n=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,I.x,I.y,z.x,z.y));r=mxUtils.ptLineDist(x.x,x.y,x.x+v,x.y-r,z.x,z.y);c.style[mxConstants.STYLE_ENDSIZE]=Math.round(100*(r-c.shape.strokewidth)/3)/100/c.view.scale;c.style.width=Math.round(2*n)/c.view.scale;if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_STARTSIZE]=+c.style[mxConstants.STYLE_ENDSIZE];mxEvent.isAltDown(da.getEvent())||Math.abs(parseFloat(c.style[mxConstants.STYLE_ENDSIZE])-parseFloat(c.style[mxConstants.STYLE_STARTSIZE]))<m/6&&(c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE])})),t.push(ob(c,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(n,r,v,x,I){n=(c.shape.getEndArrowWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/+5)*c.view.scale;return new mxPoint(x.x+r*(I+c.shape.strokewidth*c.view.scale)-v*n/2,x.y+v*(I+c.shape.strokewidth*c.view.scale)+r*n/2)},function(n,r,v,x,I,z,da){n=Math.sqrt(mxUtils.ptSegDistSq(x.x,x.y,I.x,I.y,z.x,z.y));r=mxUtils.ptLineDist(x.x,x.y,x.x+v,x.y-r,z.x,z.y);c.style[mxConstants.STYLE_ENDSIZE]=Math.round(100*(r-c.shape.strokewidth)/3)/100/c.view.scale;c.style.endWidth=Math.max(0,Math.round(2*n)-c.shape.getEdgeWidth())/c.view.scale;if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE],c.style.startWidth=c.style.endWidth;mxEvent.isAltDown(da.getEvent())||(Math.abs(parseFloat(c.style[mxConstants.STYLE_ENDSIZE])-parseFloat(c.style[mxConstants.STYLE_STARTSIZE]))<m/6&&(c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE]),Math.abs(parseFloat(c.style.endWidth)-parseFloat(c.style.startWidth))<m&&(c.style.endWidth=c.style.startWidth))})));return t},swimlane:function(c){var m=[];if(mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED)){var t=-parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));m.push(ib(c,t/2))}m.push(Va(c,[mxConstants.STYLE_STARTSIZE],function(n){var q=parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));return 1==mxUtils.getValue(c.style,mxConstants.STYLE_HORIZONTAL,1)?new mxPoint(n.getCenterX(),n.y+Math.max(0,Math.min(n.height,q))):new mxPoint(n.x+Math.max(0,Math.min(n.width,q)),n.getCenterY())},function(n,q){c.style[mxConstants.STYLE_STARTSIZE]=-1==mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,1)?Math.round(Math.max(0,Math.min(n.height,q.y-n.y))):Math.round(Math.max(0,Math.min(n.width,q.x-n.x)))},!1,null,function(n){var q=c.view.graph;if(!mxEvent.isShiftDown(n.getEvent())&&!mxEvent.isControlDown(n.getEvent())&&(q.isTableRow(c.cell)||q.isTableCell(c.cell))){n=q.getSwimlaneDirection(c.style);var v=q.model.getParent(c.cell);v=q.model.getChildCells(v,!0);for(var x=[],I=0;I<v.length;I++)v[I]!=c.cell&&q.isSwimlane(v[I])&&q.getSwimlaneDirection(q.getCurrentCellStyle(v[I]))==-n&&x.push(v[I]);q.setCellStyles(mxConstants.STYLE_STARTSIZE,c.style[mxConstants.STYLE_STARTSIZE],x)}}));return m},label:kb(),ext:kb(),rectangle:kb(),triangle:kb(),rhombus:kb(),umlLifeline:function(c){return[Va(c,["size"],function(m){var t=Math.max(0,Math.min(m.height,parseFloat(mxUtils.getValue(this.state.style,"size",ia.prototype.size))));return new mxPoint(m.getCenterX(),m.y+t)},function(m,t){this.state.style.size=Math.round(Math.max(0,Math.min(m.height,t.y-m.y)))},!1)]},umlFrame:function(c){return[Va(c,+parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));m.push(ib(c,t/2))}m.push(Va(c,[mxConstants.STYLE_STARTSIZE],function(n){var r=parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));return 1==mxUtils.getValue(c.style,mxConstants.STYLE_HORIZONTAL,1)?new mxPoint(n.getCenterX(),n.y+Math.max(0,Math.min(n.height,r))):new mxPoint(n.x+Math.max(0,Math.min(n.width,r)),n.getCenterY())},function(n,r){c.style[mxConstants.STYLE_STARTSIZE]=+1==mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,1)?Math.round(Math.max(0,Math.min(n.height,r.y-n.y))):Math.round(Math.max(0,Math.min(n.width,r.x-n.x)))},!1,null,function(n){var r=c.view.graph;if(!mxEvent.isShiftDown(n.getEvent())&&!mxEvent.isControlDown(n.getEvent())&&(r.isTableRow(c.cell)||r.isTableCell(c.cell))){n=r.getSwimlaneDirection(c.style);var v=r.model.getParent(c.cell);v=r.model.getChildCells(v,!0);for(var x=[],I=0;I<v.length;I++)v[I]!=c.cell&&r.isSwimlane(v[I])&&r.getSwimlaneDirection(r.getCurrentCellStyle(v[I]))==+n&&x.push(v[I]);r.setCellStyles(mxConstants.STYLE_STARTSIZE,c.style[mxConstants.STYLE_STARTSIZE],x)}}));return m},label:kb(),ext:kb(),rectangle:kb(),triangle:kb(),rhombus:kb(),umlLifeline:function(c){return[Va(c,["size"],function(m){var t=Math.max(0,Math.min(m.height,parseFloat(mxUtils.getValue(this.state.style,"size",ia.prototype.size))));return new mxPoint(m.getCenterX(),m.y+t)},function(m,t){this.state.style.size=Math.round(Math.max(0,Math.min(m.height,t.y-m.y)))},!1)]},umlFrame:function(c){return[Va(c,["width","height"],function(m){var t=Math.max(O.prototype.corner,Math.min(m.width,mxUtils.getValue(this.state.style,"width",O.prototype.width))),n=Math.max(1.5*O.prototype.corner,Math.min(m.height,mxUtils.getValue(this.state.style,"height",O.prototype.height)));return new mxPoint(m.x+t,m.y+n)},function(m,t){this.state.style.width=Math.round(Math.max(O.prototype.corner,Math.min(m.width,t.x-m.x)));this.state.style.height=Math.round(Math.max(1.5*O.prototype.corner,Math.min(m.height,t.y-m.y)))},!1)]},-process:function(c){var m=[Va(c,["size"],function(t){var n="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),q=parseFloat(mxUtils.getValue(this.state.style,"size",fa.prototype.size));return n?new mxPoint(t.x+q,t.y+t.height/4):new mxPoint(t.x+t.width*q,t.y+t.height/4)},function(t,n){t="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(.5*t.width,n.x-t.x)):Math.max(0,Math.min(.5,(n.x-t.x)/t.width));this.state.style.size=t},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,+process:function(c){var m=[Va(c,["size"],function(t){var n="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),r=parseFloat(mxUtils.getValue(this.state.style,"size",fa.prototype.size));return n?new mxPoint(t.x+r,t.y+t.height/4):new mxPoint(t.x+t.width*r,t.y+t.height/4)},function(t,n){t="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(.5*t.width,n.x-t.x)):Math.max(0,Math.min(.5,(n.x-t.x)/t.width));this.state.style.size=t},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(ib(c));return m},cross:function(c){return[Va(c,["size"],function(m){var t=Math.min(m.width,m.height);t=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"size",Aa.prototype.size)))*t/2;return new mxPoint(m.getCenterX()-t,m.getCenterY()-t)},function(m,t){var n=Math.min(m.width,m.height);this.state.style.size=Math.max(0,Math.min(1,Math.min(Math.max(0,m.getCenterY()-t.y)/n*2,Math.max(0,m.getCenterX()-t.x)/n*2)))})]},note:function(c){return[Va(c,["size"],function(m){var t=Math.max(0,Math.min(m.width,Math.min(m.height,parseFloat(mxUtils.getValue(this.state.style,"size",k.prototype.size)))));return new mxPoint(m.x+m.width-t,m.y+t)},function(m,t){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(m.width,m.x+m.width-t.x),Math.min(m.height,t.y-m.y))))})]},note2:function(c){return[Va(c,["size"],function(m){var t=Math.max(0,Math.min(m.width,Math.min(m.height,parseFloat(mxUtils.getValue(this.state.style,"size",u.prototype.size)))));return new mxPoint(m.x+m.width-t,m.y+t)},function(m,t){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(m.width,m.x+m.width-t.x),Math.min(m.height,t.y-m.y))))})]},manualInput:function(c){var m=[Va(c,["size"],function(t){var n=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"size",Xa.prototype.size)));return new mxPoint(t.x+t.width/4,t.y+3*n/4)},function(t,n){this.state.style.size=Math.round(Math.max(0,Math.min(t.height,4*(n.y-t.y)/3)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(ib(c));return m},dataStorage:function(c){return[Va(c,["size"],function(m){var t="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),n=parseFloat(mxUtils.getValue(this.state.style,"size",t?cb.prototype.fixedSize:cb.prototype.size));return new mxPoint(m.x+m.width-n*(t?1:m.width),m.getCenterY())},function(m,t){m="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(m.width,m.x+m.width-t.x)):Math.max(0,Math.min(1,(m.x+m.width-t.x)/m.width));this.state.style.size=m},!1)]},callout:function(c){var m=-[Va(c,["size","position"],function(t){var n=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"size",Z.prototype.size))),q=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",Z.prototype.position)));mxUtils.getValue(this.state.style,"base",Z.prototype.base);return new mxPoint(t.x+q*t.width,t.y+t.height-n)},function(t,n){mxUtils.getValue(this.state.style,"base",Z.prototype.base);this.state.style.size=Math.round(Math.max(0,Math.min(t.height,t.y+t.height-n.y)));this.state.style.position=-Math.round(100*Math.max(0,Math.min(1,(n.x-t.x)/t.width)))/100},!1),Va(c,["position2"],function(t){var n=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position2",Z.prototype.position2)));return new mxPoint(t.x+n*t.width,t.y+t.height)},function(t,n){this.state.style.position2=Math.round(100*Math.max(0,Math.min(1,(n.x-t.x)/t.width)))/100},!1),Va(c,["base"],function(t){var n=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"size",Z.prototype.size))),q=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,-"position",Z.prototype.position))),v=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"base",Z.prototype.base)));return new mxPoint(t.x+Math.min(t.width,q*t.width+v),t.y+t.height-n)},function(t,n){var q=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",Z.prototype.position)));this.state.style.base=Math.round(Math.max(0,Math.min(t.width,n.x-t.x-q*t.width)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(ib(c));return m},internalStorage:function(c){var m=-[Va(c,["dx","dy"],function(t){var n=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"dx",bb.prototype.dx))),q=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"dy",bb.prototype.dy)));return new mxPoint(t.x+n,t.y+q)},function(t,n){this.state.style.dx=Math.round(Math.max(0,Math.min(t.width,n.x-t.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(t.height,n.y-t.y)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(ib(c));return m},module:function(c){return[Va(c,+[Va(c,["size","position"],function(t){var n=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"size",Z.prototype.size))),r=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",Z.prototype.position)));mxUtils.getValue(this.state.style,"base",Z.prototype.base);return new mxPoint(t.x+r*t.width,t.y+t.height-n)},function(t,n){mxUtils.getValue(this.state.style,"base",Z.prototype.base);this.state.style.size=Math.round(Math.max(0,Math.min(t.height,t.y+t.height-n.y)));this.state.style.position=+Math.round(100*Math.max(0,Math.min(1,(n.x-t.x)/t.width)))/100},!1),Va(c,["position2"],function(t){var n=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position2",Z.prototype.position2)));return new mxPoint(t.x+n*t.width,t.y+t.height)},function(t,n){this.state.style.position2=Math.round(100*Math.max(0,Math.min(1,(n.x-t.x)/t.width)))/100},!1),Va(c,["base"],function(t){var n=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"size",Z.prototype.size))),r=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,+"position",Z.prototype.position))),v=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"base",Z.prototype.base)));return new mxPoint(t.x+Math.min(t.width,r*t.width+v),t.y+t.height-n)},function(t,n){var r=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",Z.prototype.position)));this.state.style.base=Math.round(Math.max(0,Math.min(t.width,n.x-t.x-r*t.width)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(ib(c));return m},internalStorage:function(c){var m=+[Va(c,["dx","dy"],function(t){var n=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"dx",bb.prototype.dx))),r=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"dy",bb.prototype.dy)));return new mxPoint(t.x+n,t.y+r)},function(t,n){this.state.style.dx=Math.round(Math.max(0,Math.min(t.width,n.x-t.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(t.height,n.y-t.y)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(ib(c));return m},module:function(c){return[Va(c,["jettyWidth","jettyHeight"],function(m){var t=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"jettyWidth",La.prototype.jettyWidth))),n=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"jettyHeight",La.prototype.jettyHeight)));return new mxPoint(m.x+t/2,m.y+2*n)},function(m,t){this.state.style.jettyWidth=Math.round(2*Math.max(0,Math.min(m.width,t.x-m.x)));this.state.style.jettyHeight=Math.round(Math.max(0,Math.min(m.height,t.y-m.y))/2)})]},corner:function(c){return[Va(c,["dx","dy"],function(m){var t=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"dx",eb.prototype.dx))),n=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"dy",eb.prototype.dy)));return new mxPoint(m.x+t,m.y+n)},function(m,t){this.state.style.dx=Math.round(Math.max(0,Math.min(m.width,t.x-m.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(m.height,t.y-m.y)))},!1)]},tee:function(c){return[Va(c,["dx","dy"],function(m){var t=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"dx",fb.prototype.dx))),n=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"dy",fb.prototype.dy)));return new mxPoint(m.x+(m.width+t)/2,m.y+n)},function(m,t){this.state.style.dx=Math.round(Math.max(0,2*Math.min(m.width/2,t.x-m.x-m.width/2)));this.state.style.dy=Math.round(Math.max(0,Math.min(m.height,t.y-m.y)))},!1)]},singleArrow:vb(1),doubleArrow:vb(.5),"mxgraph.arrows2.wedgeArrow":db(20,20),"mxgraph.arrows2.wedgeArrowDashed":db(20,20),"mxgraph.arrows2.wedgeArrowDashed2":db(20,20),@@ -3557,13 +3557,13 @@ Math.tan(t),.5*m.height))},function(m,t){this.state.style.isoAngle=Math.max(0,50n){this.state.style.indent=Math.round(100*Math.max(0,Math.min(100,200*(n.y-t.y)/t.height)))/100});m.push(c);return m},step:sb(X.prototype.size,!0,null,!0,X.prototype.fixedSize),hexagon:sb(ba.prototype.size,!0,.5,!0,ba.prototype.fixedSize),curlyBracket:sb(W.prototype.size,!1),display:sb(Ha.prototype.size,!1),cube:xb(1,f.prototype.size,!1),card:xb(.5,H.prototype.size,!0),loopLimit:xb(.5,C.prototype.size,!0),trapezoid:zb(.5,T.prototype.size,T.prototype.fixedSize),parallelogram:zb(1,K.prototype.size,K.prototype.fixedSize)};Graph.createHandle=Va;Graph.handleFactory=Ua;var rb=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){var c=rb.apply(this,arguments);if(this.graph.isCellRotatable(this.state.cell)){var m=this.state.style.shape;null==mxCellRenderer.defaultShapes[m]&&null==mxStencilRegistry.getStencil(m)?m=mxConstants.SHAPE_RECTANGLE:this.state.view.graph.isSwimlane(this.state.cell)&&(m=mxConstants.SHAPE_SWIMLANE);m=Ua[m];null==m&&null!=this.state.shape&&this.state.shape.isRoundable()&&(m=Ua[mxConstants.SHAPE_RECTANGLE]);null!=m&&(m=m(this.state),null!=m&&(c=null==c?m:c.concat(m)))}return c};mxEdgeHandler.prototype.createCustomHandles=function(){var c=this.state.style.shape;null==mxCellRenderer.defaultShapes[c]&&null==mxStencilRegistry.getStencil(c)&&(c=mxConstants.SHAPE_CONNECTOR);c=Ua[c];return null!=c?c(this.state):null}}else Graph.createHandle=function(){},Graph.handleFactory={};var $a=new mxPoint(1,0),jb=new mxPoint(1,0),pb=mxUtils.toRadians(-30);-$a=mxUtils.getRotatedPoint($a,Math.cos(pb),Math.sin(pb));var Za=mxUtils.toRadians(-150);jb=mxUtils.getRotatedPoint(jb,Math.cos(Za),Math.sin(Za));mxEdgeStyle.IsometricConnector=function(c,m,t,n,q){var v=c.view;n=null!=n&&0<n.length?n[0]:null;var x=c.absolutePoints,I=x[0];x=x[x.length-1];null!=n&&(n=v.transformControlPoint(c,n));null==I&&null!=m&&(I=new mxPoint(m.getCenterX(),m.getCenterY()));null==x&&null!=t&&(x=new mxPoint(t.getCenterX(),t.getCenterY()));var z=$a.x,da=$a.y,R=jb.x,Ga=jb.y,Ta="horizontal"==-mxUtils.getValue(c.style,"elbow","horizontal");if(null!=x&&null!=I){c=function(pa,ua,sa){pa-=Pa.x;var ra=ua-Pa.y;ua=(Ga*pa-R*ra)/(z*Ga-da*R);pa=(da*pa-z*ra)/(da*R-z*Ga);Ta?(sa&&(Pa=new mxPoint(Pa.x+z*ua,Pa.y+da*ua),q.push(Pa)),Pa=new mxPoint(Pa.x+R*pa,Pa.y+Ga*pa)):(sa&&(Pa=new mxPoint(Pa.x+R*pa,Pa.y+Ga*pa),q.push(Pa)),Pa=new mxPoint(Pa.x+z*ua,Pa.y+da*ua));q.push(Pa)};var Pa=I;null==n&&(n=new mxPoint(I.x+(x.x-I.x)/2,I.y+(x.y-I.y)/2));c(n.x,n.y,!0);c(x.x,x.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",-mxEdgeStyle.IsometricConnector);var yb=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(c,m){if(m==mxEdgeStyle.IsometricConnector){var t=new mxElbowEdgeHandler(c);t.snapToTerminals=!1;return t}return yb.apply(this,arguments)};h.prototype.constraints=[];l.prototype.getConstraints=function(c,m,t){c=[];var n=Math.tan(mxUtils.toRadians(30)),q=(.5-n)/2;n=Math.min(m,t/(.5+n));m=(m-n)/2;t=(t-n)/2;c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t+.25*n));c.push(new mxConnectionConstraint(new mxPoint(0,-0),!1,null,m+.5*n,t+n*q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+n,t+.25*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+n,t+.75*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+.5*n,t+(1-q)*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t+.75*n));return c};w.prototype.getConstraints=function(c,m,t){c=[];var n=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;n=Math.min(m*+$a=mxUtils.getRotatedPoint($a,Math.cos(pb),Math.sin(pb));var Za=mxUtils.toRadians(-150);jb=mxUtils.getRotatedPoint(jb,Math.cos(Za),Math.sin(Za));mxEdgeStyle.IsometricConnector=function(c,m,t,n,r){var v=c.view;n=null!=n&&0<n.length?n[0]:null;var x=c.absolutePoints,I=x[0];x=x[x.length-1];null!=n&&(n=v.transformControlPoint(c,n));null==I&&null!=m&&(I=new mxPoint(m.getCenterX(),m.getCenterY()));null==x&&null!=t&&(x=new mxPoint(t.getCenterX(),t.getCenterY()));var z=$a.x,da=$a.y,R=jb.x,Ga=jb.y,Ta="horizontal"==+mxUtils.getValue(c.style,"elbow","horizontal");if(null!=x&&null!=I){c=function(pa,ua,sa){pa-=Pa.x;var ra=ua-Pa.y;ua=(Ga*pa-R*ra)/(z*Ga-da*R);pa=(da*pa-z*ra)/(da*R-z*Ga);Ta?(sa&&(Pa=new mxPoint(Pa.x+z*ua,Pa.y+da*ua),r.push(Pa)),Pa=new mxPoint(Pa.x+R*pa,Pa.y+Ga*pa)):(sa&&(Pa=new mxPoint(Pa.x+R*pa,Pa.y+Ga*pa),r.push(Pa)),Pa=new mxPoint(Pa.x+z*ua,Pa.y+da*ua));r.push(Pa)};var Pa=I;null==n&&(n=new mxPoint(I.x+(x.x-I.x)/2,I.y+(x.y-I.y)/2));c(n.x,n.y,!0);c(x.x,x.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",+mxEdgeStyle.IsometricConnector);var yb=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(c,m){if(m==mxEdgeStyle.IsometricConnector){var t=new mxElbowEdgeHandler(c);t.snapToTerminals=!1;return t}return yb.apply(this,arguments)};h.prototype.constraints=[];l.prototype.getConstraints=function(c,m,t){c=[];var n=Math.tan(mxUtils.toRadians(30)),r=(.5-n)/2;n=Math.min(m,t/(.5+n));m=(m-n)/2;t=(t-n)/2;c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t+.25*n));c.push(new mxConnectionConstraint(new mxPoint(0,+0),!1,null,m+.5*n,t+n*r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+n,t+.25*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+n,t+.75*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+.5*n,t+(1-r)*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t+.75*n));return c};w.prototype.getConstraints=function(c,m,t){c=[];var n=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;n=Math.min(m*Math.tan(n),.5*t);c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,n));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t-n));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-n));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,-0,n));return c};Z.prototype.getConstraints=function(c,m,t){c=[];mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE);var n=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"size",this.size))));parseFloat(mxUtils.getValue(this.style,"position",this.position));var q=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2))));parseFloat(mxUtils.getValue(this.style,"base",this.base));c.push(new mxConnectionConstraint(new mxPoint(0,-0),!1));c.push(new mxConnectionConstraint(new mxPoint(.25,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.75,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(t-n)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,q,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,+0,n));return c};Z.prototype.getConstraints=function(c,m,t){c=[];mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE);var n=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"size",this.size))));parseFloat(mxUtils.getValue(this.style,"position",this.position));var r=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2))));parseFloat(mxUtils.getValue(this.style,"base",this.base));c.push(new mxConnectionConstraint(new mxPoint(0,+0),!1));c.push(new mxConnectionConstraint(new mxPoint(.25,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.75,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(t-n)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(t-n)));m>=2*n&&c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return c};mxRectangleShape.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0)];mxEllipse.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(1,.5))];Ba.prototype.constraints=mxRectangleShape.prototype.constraints;mxImageShape.prototype.constraints=mxRectangleShape.prototype.constraints;mxSwimlane.prototype.constraints=@@ -3575,19 +3575,19 @@ null,m-n,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-.5*n,.0),!1,null,n,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*n,t-.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(t-n)));return c};A.prototype.getConstraints=function(c,m,t){c=[];m=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,m));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,m));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1,null,0,-m));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1,null,0,-m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,m+.5*(.5*t-m)));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,m+.5*(.5*t-m)));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,t-m-.5*(.5*t-m)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-m-.5*(.5*t-m)));c.push(new mxConnectionConstraint(new mxPoint(.145,0),!1,null,0,.29*m));c.push(new mxConnectionConstraint(new mxPoint(.855,0),!1,null,0,.29*m));c.push(new mxConnectionConstraint(new mxPoint(.855,1),!1,null,0,.29*-m));c.push(new mxConnectionConstraint(new mxPoint(.145,1),!1,null,0,.29*-m));return c};D.prototype.getConstraints=function(c,m,t){c=[];var n=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,-"tabWidth",this.tabWidth)))),q=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?(c.push(new mxConnectionConstraint(new mxPoint(0,0),!1)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,q)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,-.5*(m+n),q))):(c.push(new mxConnectionConstraint(new mxPoint(1,0),!1)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-.5*n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,q)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),q)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.25*(t-q)+q));c.push(new mxConnectionConstraint(new mxPoint(0,-0),!1,null,m,.5*(t-q)+q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.75*(t-q)+q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.25*(t-q)+q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(t-q)+q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.75*(t-q)+q));c.push(new mxConnectionConstraint(new mxPoint(0,+"tabWidth",this.tabWidth)))),r=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?(c.push(new mxConnectionConstraint(new mxPoint(0,0),!1)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,r)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,+.5*(m+n),r))):(c.push(new mxConnectionConstraint(new mxPoint(1,0),!1)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-.5*n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,r)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.25*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,+0),!1,null,m,.5*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.75*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.25*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.75*(t-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t));c.push(new mxConnectionConstraint(new mxPoint(.25,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.75,1),!1));return c};bb.prototype.constraints=mxRectangleShape.prototype.constraints;cb.prototype.constraints=mxRectangleShape.prototype.constraints;J.prototype.constraints=mxEllipse.prototype.constraints;Q.prototype.constraints=mxEllipse.prototype.constraints;Y.prototype.constraints=mxEllipse.prototype.constraints;Ma.prototype.constraints=-mxEllipse.prototype.constraints;Xa.prototype.constraints=mxRectangleShape.prototype.constraints;Ia.prototype.constraints=mxRectangleShape.prototype.constraints;Ha.prototype.getConstraints=function(c,m,t){c=[];var n=Math.min(m,t/2),q=Math.min(m-n,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*m);c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,q,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,-.5*(q+m-n),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,0));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1,null));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(q+m-n),t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,q,t));return c};La.prototype.getConstraints=function(c,m,t){m=parseFloat(mxUtils.getValue(c,"jettyWidth",La.prototype.jettyWidth))/2;c=parseFloat(mxUtils.getValue(c,+mxEllipse.prototype.constraints;Xa.prototype.constraints=mxRectangleShape.prototype.constraints;Ia.prototype.constraints=mxRectangleShape.prototype.constraints;Ha.prototype.getConstraints=function(c,m,t){c=[];var n=Math.min(m,t/2),r=Math.min(m-n,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*m);c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,+.5*(r+m-n),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,0));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1,null));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(r+m-n),t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t));return c};La.prototype.getConstraints=function(c,m,t){m=parseFloat(mxUtils.getValue(c,"jettyWidth",La.prototype.jettyWidth))/2;c=parseFloat(mxUtils.getValue(c,"jettyHeight",La.prototype.jettyHeight));var n=[new mxConnectionConstraint(new mxPoint(0,0),!1,null,m),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!1,null,m),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(t-.5*c,1.5*c)),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(t-.5*c,3.5*c))];t>5*c&&n.push(new mxConnectionConstraint(new mxPoint(0,.75),!1,null,m));t>8*c&&n.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null,m));t>15*c&&n.push(new mxConnectionConstraint(new mxPoint(0,.25),!1,null,m));return n};C.prototype.constraints=mxRectangleShape.prototype.constraints;E.prototype.constraints=mxRectangleShape.prototype.constraints;mxCylinder.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.15,.05),!1),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.85,.05),!1),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.7),!0),new mxConnectionConstraint(new mxPoint(1,.3),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.7),!0),new mxConnectionConstraint(new mxPoint(.15,.95),!1),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.85,.95),!1)];ha.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.1),!1),new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.75,.1),!1),new mxConnectionConstraint(new mxPoint(0,1/3),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(1,1/3),!1),new mxConnectionConstraint(new mxPoint(1,1),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1)];Na.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,.7),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];mxActor.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.25,.2),!1),new mxConnectionConstraint(new mxPoint(.1,.5),!1),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.75,-.25),!1),new mxConnectionConstraint(new mxPoint(.9,.5),!1),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];G.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(.5,.25),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,+.25),!1),new mxConnectionConstraint(new mxPoint(.9,.5),!1),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];F.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(.5,.25),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.5,.75),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];M.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.35),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.65),!1),new mxConnectionConstraint(new mxPoint(1,.35),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,.65),!1),new mxConnectionConstraint(new mxPoint(.25,1),!1),new mxConnectionConstraint(new mxPoint(.75,0),!1)];X.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxLine.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];qa.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.5,@@ -3595,23 +3595,23 @@ m),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint([new mxConnectionConstraint(new mxPoint(.375,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.625,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.375,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.625,1),!0)];mxCloud.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.25),!1),new mxConnectionConstraint(new mxPoint(.4,.1),!1),new mxConnectionConstraint(new mxPoint(.16,.55),!1),new mxConnectionConstraint(new mxPoint(.07,.4),!1),new mxConnectionConstraint(new mxPoint(.31,.8),!1),new mxConnectionConstraint(new mxPoint(.13,.77),!1),new mxConnectionConstraint(new mxPoint(.8,.8),!1),new mxConnectionConstraint(new mxPoint(.55,.95),!1),new mxConnectionConstraint(new mxPoint(.875,.5),!1),new mxConnectionConstraint(new mxPoint(.96,.7),!1),new mxConnectionConstraint(new mxPoint(.625,.2),!1),new mxConnectionConstraint(new mxPoint(.88,.25),!1)];K.prototype.constraints=mxRectangleShape.prototype.constraints;T.prototype.constraints=mxRectangleShape.prototype.constraints;N.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,-0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxArrow.prototype.constraints=null;fb.prototype.getConstraints=function(c,m,t){c=[];var n=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),q=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,-"dy",this.dy))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.75*m+.25*n,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+n),q));c.push(new mxConnectionConstraint(new mxPoint(0,-0),!1,null,.5*(m+n),.5*(t+q)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+n),t));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),.5*(t+q)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.25*m-.25*n,q));c.push(new mxConnectionConstraint(new mxPoint(0,-0),!1,null,0,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*q));return c};eb.prototype.getConstraints=function(c,m,t){c=[];var n=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),q=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,-0),!1,null,m,.5*q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+n),q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,.5*(t+q)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*n,t));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,+0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxArrow.prototype.constraints=null;fb.prototype.getConstraints=function(c,m,t){c=[];var n=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),r=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,+"dy",this.dy))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.75*m+.25*n,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+n),r));c.push(new mxConnectionConstraint(new mxPoint(0,+0),!1,null,.5*(m+n),.5*(t+r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+n),t));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),.5*(t+r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.25*m-.25*n,r));c.push(new mxConnectionConstraint(new mxPoint(0,+0),!1,null,0,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*r));return c};eb.prototype.getConstraints=function(c,m,t){c=[];var n=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),r=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,+0),!1,null,m,.5*r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+n),r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,.5*(t+r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*n,t));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1));return c};qb.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];ab.prototype.getConstraints=-function(c,m,t){c=[];var n=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth)))),q=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));n=(t-n)/2;c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-q),n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-q,0));c.push(new mxConnectionConstraint(new mxPoint(1,-.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-q,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-q),t-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-n));return c};hb.prototype.getConstraints=function(c,m,t){c=[];var n=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",ab.prototype.arrowWidth)))),q=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",ab.prototype.arrowSize))));n=(t-n)/2;c.push(new mxConnectionConstraint(new mxPoint(0,-.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,q,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*m,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-q,0));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-q,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*m,t-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,q,t));return c};Aa.prototype.getConstraints=-function(c,m,t){c=[];var n=Math.min(t,m),q=Math.max(0,Math.min(n,n*parseFloat(mxUtils.getValue(this.style,"size",this.size))));n=(t-q)/2;var v=n+q,x=(m-q)/2;q=x+q;c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,0));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,q,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,q,.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,-0),!1,null,q,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,t-.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,t));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,q,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,q,t-.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,q,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+q),n));c.push(new mxConnectionConstraint(new mxPoint(0,-0),!1,null,m,n));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+q),v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*x,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,n));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,+function(c,m,t){c=[];var n=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth)))),r=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));n=(t-n)/2;c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-r),n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-r,0));c.push(new mxConnectionConstraint(new mxPoint(1,+.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-r,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-r),t-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t-n));return c};hb.prototype.getConstraints=function(c,m,t){c=[];var n=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",ab.prototype.arrowWidth)))),r=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",ab.prototype.arrowSize))));n=(t-n)/2;c.push(new mxConnectionConstraint(new mxPoint(0,+.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*m,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-r,0));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-r,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*m,t-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t));return c};Aa.prototype.getConstraints=+function(c,m,t){c=[];var n=Math.min(t,m),r=Math.max(0,Math.min(n,n*parseFloat(mxUtils.getValue(this.style,"size",this.size))));n=(t-r)/2;var v=n+r,x=(m-r)/2;r=x+r;c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,0));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,+0),!1,null,r,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,t-.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,t));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,t-.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+r),n));c.push(new mxConnectionConstraint(new mxPoint(0,+0),!1,null,m,n));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+r),v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*x,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,n));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*x,v));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,x,n));return c};ia.prototype.constraints=null;p.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.25),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,.1),!1),new mxConnectionConstraint(new mxPoint(.7,-.9),!1)];B.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.175,.25),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.175,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,.1),!1),new mxConnectionConstraint(new mxPoint(.7,.9),!1)];va.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];za.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,+.9),!1)];B.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.175,.25),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.175,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,.1),!1),new mxConnectionConstraint(new mxPoint(.7,.9),!1)];va.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];ya.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)]})();function Actions(a){this.editorUi=a;this.actions={};this.init()}-Actions.prototype.init=function(){function a(k){d.escape();k=d.deleteCells(d.getDeletableCells(d.getSelectionCells()),k);null!=k&&d.setSelectionCells(k)}function b(){if(!d.isSelectionEmpty()){d.getModel().beginUpdate();try{for(var k=d.getSelectionCells(),u=0;u<k.length;u++)d.cellLabelChanged(k[u],"")}finally{d.getModel().endUpdate()}}}function e(k,u,w,y,A){A.getModel().beginUpdate();try{var G=A.getCellGeometry(k);null!=G&&w&&y&&(w/=y,G=G.clone(),1<w?G.height=G.width/w:G.width=G.height*w,A.getModel().setGeometry(k,-G));A.setCellStyles(mxConstants.STYLE_CLIP_PATH,u,[k]);A.setCellStyles(mxConstants.STYLE_ASPECT,"fixed",[k])}finally{A.getModel().endUpdate()}}var f=this.editorUi,g=f.editor,d=g.graph,h=function(){return Action.prototype.isEnabled.apply(this,arguments)&&d.isEnabled()};this.addAction("new...",function(){d.openLink(f.getUrl())});this.addAction("open...",function(){window.openNew=!0;window.openKey="open";f.openFile()});var l=new Action("smartFit",function(){d.popupMenuHandler.hideMenu();var k=d.view.scale,+Actions.prototype.init=function(){function a(k){d.escape();k=d.deleteCells(d.getDeletableCells(d.getSelectionCells()),k);null!=k&&d.setSelectionCells(k)}function b(){if(!d.isSelectionEmpty()){d.getModel().beginUpdate();try{for(var k=d.getSelectionCells(),u=0;u<k.length;u++)d.cellLabelChanged(k[u],"")}finally{d.getModel().endUpdate()}}}function e(k,u,w,y,A){A.getModel().beginUpdate();try{var F=A.getCellGeometry(k);null!=F&&w&&y&&(w/=y,F=F.clone(),1<w?F.height=F.width/w:F.width=F.height*w,A.getModel().setGeometry(k,+F));A.setCellStyles(mxConstants.STYLE_CLIP_PATH,u,[k]);A.setCellStyles(mxConstants.STYLE_ASPECT,"fixed",[k])}finally{A.getModel().endUpdate()}}var f=this.editorUi,g=f.editor,d=g.graph,h=function(){return Action.prototype.isEnabled.apply(this,arguments)&&d.isEnabled()};this.addAction("new...",function(){d.openLink(f.getUrl())});this.addAction("open...",function(){window.openNew=!0;window.openKey="open";f.openFile()});var l=new Action("smartFit",function(){d.popupMenuHandler.hideMenu();var k=d.view.scale,u=d.container.scrollLeft,w=d.container.scrollTop,y=d.view.translate.x,A=d.view.translate.y;f.actions.get("resetView").funct();1E-5>Math.abs(k-d.view.scale)&&5>Math.abs(u-d.container.scrollLeft)&&5>Math.abs(w-d.container.scrollTop)&&y==d.view.translate.x&&A==d.view.translate.y&&f.actions.get("fitWindow").funct()},null,null,"Enter");l.getTitle=function(){return mxResources.get("fitWindow")+" / "+mxResources.get("resetView")};this.put("smartFit",l);this.addAction("keyPressEnter",function(){d.isSelectionEmpty()?f.actions.get("smartFit").funct():d.isEnabled()&&d.startEditingAtCell()});this.addAction("import...",function(){window.openNew=!1;window.openKey="import";window.openFile=new OpenFile(mxUtils.bind(this,function(){f.hideDialog()}));window.openFile.setConsumer(mxUtils.bind(this,function(k,u){try{var w=mxUtils.parseXml(k);g.graph.setSelectionCells(g.graph.importGraphModel(w.documentElement))}catch(y){mxUtils.alert(mxResources.get("invalidOrMissingFile")+": "+y.message)}}));f.showDialog((new OpenDialog(this)).container,320,220,!0,!0,function(){window.openFile=null})}).isEnabled=h;this.addAction("save",function(){f.saveFile(!1)},null,null,Editor.ctrlKey+"+S").isEnabled=h;this.addAction("saveAs...",function(){f.saveFile(!0)},null,null,Editor.ctrlKey+"+"+Editor.shiftKey+"+S");this.addAction("export...",function(){f.showDialog((new ExportDialog(f)).container,300,340,!0,!0)});this.addAction("editDiagram...",function(){var k=new EditDiagramDialog(f);f.showDialog(k.container,620,420,!0,!1,null,null,null,new mxRectangle(0,@@ -3619,8 +3619,8 @@ f.actions.get("smartFit").funct():d.isEnabled()&&d.startEditingAtCell()});this.athis.addAction("cut",function(){var k=null;try{k=f.copyXml(),null!=k&&d.removeCells(k,!1)}catch(u){}try{null==k&&mxClipboard.cut(d)}catch(u){f.handleError(u)}},null,"",Editor.ctrlKey+"+X");this.addAction("copy",function(){try{f.copyXml()}catch(k){}try{mxClipboard.copy(d)}catch(k){f.handleError(k)}},null,"",Editor.ctrlKey+"+C");this.addAction("paste",function(){f.pasteFromClipboard()},!1,"",Editor.ctrlKey+"+V");this.addAction("pasteHere",function(k){f.pasteFromClipboard(d.popupMenuHandler.getTriggerPoint())});this.addAction("swap",function(){var k=d.getSelectionCells();2==k.length&&d.swapShapes(k[0],k[1])});this.addAction("copySize",function(){var k=d.getSelectionCell();d.isEnabled()&&null!=k&&d.getModel().isVertex(k)&&(k=d.getCellGeometry(k),null!=k&&(f.copiedSize=new mxRectangle(k.x,k.y,k.width,k.height)))},null,null,Editor.altKey+"+"+Editor.shiftKey+"+F");this.addAction("pasteSize",function(){if(d.isEnabled()&&!d.isSelectionEmpty()&&null!=f.copiedSize){d.getModel().beginUpdate();try{for(var k=d.getResizableCells(d.getSelectionCells()),u=0;u<k.length;u++)if(d.getModel().isVertex(k[u])){var w=d.getCellGeometry(k[u]);null!=w&&(w=w.clone(),w.width=f.copiedSize.width,w.height=f.copiedSize.height,d.getModel().setGeometry(k[u],w))}}finally{d.getModel().endUpdate()}}},null,null,Editor.altKey+"+"+Editor.shiftKey+"+V");this.addAction("copyData",function(){var k=d.getSelectionCell()||d.getModel().getRoot();d.isEnabled()&&null!=k&&(k=k.cloneValue(),null==k||isNaN(k.nodeType)||(f.copiedValue=k))},null,null,Editor.altKey+"+"+Editor.shiftKey+-"+B");this.addAction("copyAsText",function(){var k=d.getSelectionCell();if(d.isEnabled()&&null!=k)try{d.isHtmlLabel(k)?f.writeHtmlToClipboard(d.getLabel(k),mxUtils.bind(this,function(u){f.handleError(u)})):f.writeTextToClipboard(d.getLabel(k),mxUtils.bind(this,function(u){f.handleError(u)}))}catch(u){f.handleError(u)}});this.addAction("pasteData",function(k,u){function w(G,D){var F=y.getValue(G);D=G.cloneValue(D);D.removeAttribute("placeholders");null==F||isNaN(F.nodeType)||D.setAttribute("placeholders",-F.getAttribute("placeholders"));null!=k&&mxEvent.isShiftDown(k)||D.setAttribute("label",d.convertValueToString(G));y.setValue(G,D)}k=null!=u?u:k;var y=d.getModel();if(d.isEnabled()&&!d.isSelectionEmpty()&&null!=f.copiedValue){y.beginUpdate();try{var A=d.getEditableCells(d.getSelectionCells());if(0==A.length)w(y.getRoot(),f.copiedValue);else for(u=0;u<A.length;u++)w(A[u],f.copiedValue)}finally{y.endUpdate()}}},null,null,Editor.altKey+"+"+Editor.shiftKey+"+E");this.addAction("delete",function(k,u){k=+"+B");this.addAction("copyAsText",function(){var k=d.getSelectionCell();if(d.isEnabled()&&null!=k)try{d.isHtmlLabel(k)?f.writeHtmlToClipboard(d.getLabel(k),mxUtils.bind(this,function(u){f.handleError(u)})):f.writeTextToClipboard(d.getLabel(k),mxUtils.bind(this,function(u){f.handleError(u)}))}catch(u){f.handleError(u)}});this.addAction("pasteData",function(k,u){function w(F,D){var G=y.getValue(F);D=F.cloneValue(D);D.removeAttribute("placeholders");null==G||isNaN(G.nodeType)||D.setAttribute("placeholders",+G.getAttribute("placeholders"));null!=k&&mxEvent.isShiftDown(k)||D.setAttribute("label",d.convertValueToString(F));y.setValue(F,D)}k=null!=u?u:k;var y=d.getModel();if(d.isEnabled()&&!d.isSelectionEmpty()&&null!=f.copiedValue){y.beginUpdate();try{var A=d.getEditableCells(d.getSelectionCells());if(0==A.length)w(y.getRoot(),f.copiedValue);else for(u=0;u<A.length;u++)w(A[u],f.copiedValue)}finally{y.endUpdate()}}},null,null,Editor.altKey+"+"+Editor.shiftKey+"+E");this.addAction("delete",function(k,u){k=null!=u?u:k;null!=k&&mxEvent.isShiftDown(k)?b():a(null!=k&&(mxEvent.isControlDown(k)||mxEvent.isMetaDown(k)||mxEvent.isAltDown(k)))},null,null,"Delete");this.addAction("deleteAll",function(){a(!0)});this.addAction("deleteLabels",function(){b()},null,null,Editor.ctrlKey+"+Delete");this.addAction("duplicate",function(){try{d.setSelectionCells(d.duplicateCells()),d.scrollCellToVisible(d.getSelectionCell())}catch(k){f.handleError(k)}},null,null,Editor.ctrlKey+"+D");this.put("mergeCells",new Action("merge",function(){var k=f.getSelectionState();if(null!=k.mergeCell){d.getModel().beginUpdate();try{d.setCellStyles("rowspan",k.rowspan,[k.mergeCell]),d.setCellStyles("colspan",k.colspan,[k.mergeCell])}finally{d.getModel().endUpdate()}}}));this.put("unmergeCells",new Action("unmerge",function(){var k=f.getSelectionState();if(0<k.cells.length){d.getModel().beginUpdate();try{d.setCellStyles("rowspan",null,k.cells),d.setCellStyles("colspan",null,k.cells)}finally{d.getModel().endUpdate()}}}));l=new Action("turn",function(k,u){k=null!=u?u:k;d.turnShapes(d.getResizableCells(d.getSelectionCells()),null!=k?mxEvent.isShiftDown(k):!1)},null,null,mxClient.IS_SF?null:Editor.ctrlKey+"+R");l.getTitle=function(){return mxResources.get("turn")+" / "+mxResources.get("reverse")};this.put("turn",l);this.put("selectConnections",new Action("selectEdges",function(k){k=d.getSelectionCell();d.isEnabled()&&null!=k&&d.addSelectionCells(d.getEdges(k))}));this.addAction("selectVertices",function(){d.selectVertices(null,!0)},null,@@ -3635,7 +3635,7 @@ null==w&&(w=k.value.getAttribute("tooltip"));null!=w&&(u=w)}u=new TextareaDialog!0)||"";f.showLinkDialog(u,mxResources.get("ok"),function(w,y,A){d.getModel().beginUpdate();try{d.setLinkForCell(k,0<w.length?w:null),d.setAttributeForCell(k,"linkTarget",A)}finally{d.getModel().endUpdate()}},!0,d.getLinkTargetForCell(k))}},null,null,Editor.altKey+"+"+Editor.shiftKey+"+L");this.put("insertImage",new Action("image...",function(){d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())&&(d.clearSelection(),f.actions.get("image").funct())})).isEnabled=h;this.addAction("editImage...",function(){f.actions.get("image").funct()});this.put("insertLink",new Action("link...",function(){d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())&&f.showLinkDialog("",mxResources.get("ok"),function(k,u,w){k=mxUtils.trim(k);if(0<k.length){var y=null,A=d.getLinkTitle(k);null!=u&&0<u.length&&(y=u[0].iconUrl,A=u[0].name||u[0].type,A=A.charAt(0).toUpperCase()+A.substring(1),30<A.length&&(A=A.substring(0,30)+"..."));u=new mxCell(A,new mxGeometry(0,0,100,40),"fontColor=#0000EE;fontStyle=4;rounded=1;overflow=hidden;"+(null!=y?"shape=label;imageWidth=16;imageHeight=16;spacingLeft=26;align=left;image="+y:"spacing=10;"));u.vertex=!0;y=d.getCenterInsertPoint(d.getBoundingBoxFromGeometry([u],!0));u.geometry.x=y.x;u.geometry.y=y.y;d.setAttributeForCell(u,"linkTarget",w);d.setLinkForCell(u,k);d.cellSizeUpdated(u,!0);d.getModel().beginUpdate();try{u=d.addCell(u),d.fireEvent(new mxEventObject("cellsInserted","cells",[u]))}finally{d.getModel().endUpdate()}d.setSelectionCell(u);d.scrollCellToVisible(d.getSelectionCell())}},!0)},null,null,"L")).isEnabled=h;this.addAction("link...",mxUtils.bind(this,function(){if(d.isEnabled())if(d.cellEditor.isContentEditing()){var k=-d.getSelectedElement(),u=d.getParentByName(k,"A",d.cellEditor.textarea),w="";if(null==u&&null!=k&&null!=k.getElementsByTagName)for(var y=k.getElementsByTagName("a"),A=0;A<y.length&&null==u;A++)y[A].textContent==k.textContent&&(u=y[A]);null!=u&&"A"==u.nodeName&&(w=u.getAttribute("href")||"",d.selectNode(u));var G=d.cellEditor.saveSelection();f.showLinkDialog(w,mxResources.get("ok"),mxUtils.bind(this,function(D){d.cellEditor.restoreSelection(G);null!=D&&d.insertLink(D)}))}else d.isSelectionEmpty()?+d.getSelectedElement(),u=d.getParentByName(k,"A",d.cellEditor.textarea),w="";if(null==u&&null!=k&&null!=k.getElementsByTagName)for(var y=k.getElementsByTagName("a"),A=0;A<y.length&&null==u;A++)y[A].textContent==k.textContent&&(u=y[A]);null!=u&&"A"==u.nodeName&&(w=u.getAttribute("href")||"",d.selectNode(u));var F=d.cellEditor.saveSelection();f.showLinkDialog(w,mxResources.get("ok"),mxUtils.bind(this,function(D){d.cellEditor.restoreSelection(F);null!=D&&d.insertLink(D)}))}else d.isSelectionEmpty()?this.get("insertLink").funct():this.get("editLink").funct()})).isEnabled=h;this.addAction("autosize",function(){var k=d.getSelectionCells();if(null!=k){d.getModel().beginUpdate();try{for(var u=0;u<k.length;u++){var w=k[u];d.getModel().isVertex(w)&&(0<d.getModel().getChildCount(w)?d.updateGroupBounds([w],0,!0):d.updateCellSize(w))}}finally{d.getModel().endUpdate()}}},null,null,Editor.ctrlKey+"+"+Editor.shiftKey+"+Y");this.addAction("snapToGrid",function(){d.snapCellsToGrid(d.getSelectionCells(),d.gridSize)});this.addAction("formattedText",function(){d.stopEditing();var k=d.getCommonStyle(d.getSelectionCells());k="1"==mxUtils.getValue(k,"html","0")?null:"1";d.getModel().beginUpdate();try{for(var u=d.getEditableCells(d.getSelectionCells()),w=0;w<u.length;w++)if(state=d.getView().getState(u[w]),null!=state){var y=mxUtils.getValue(state.style,"html","0");if("1"==y&&null==k)d.removeTextStyleForCell(state.cell),d.setCellStyles("html",k,[u[w]]);else if("0"==y&&"1"==k){var A=mxUtils.htmlEntities(d.convertValueToString(state.cell),!1);"0"!=mxUtils.getValue(state.style,"nl2Br","1")&&(A=A.replace(/\n/g,"<br/>"));d.cellLabelChanged(state.cell,Graph.sanitizeHtml(A));d.setCellStyles("html",k,[u[w]])}}f.fireEvent(new mxEventObject("styleChanged","keys",["html"],"values",[null!=k?k:"0"],"cells",u))}finally{d.getModel().endUpdate()}});this.addAction("wordWrap",function(){var k=d.getView().getState(d.getSelectionCell()),u="wrap";d.stopEditing();null!=k&&"wrap"==k.style[mxConstants.STYLE_WHITE_SPACE]&&(u=null);d.setCellStyles(mxConstants.STYLE_WHITE_SPACE,@@ -3648,9 +3648,9 @@ u.ignoreImage=!0,d.model.execute(u))}),mxResources.get("pageScale")+" (%)");thisf.fireEvent(new mxEventObject("tooltipsEnabledChanged"))});l.setToggleAction(!0);l.setSelectedCallback(function(){return d.tooltipHandler.isEnabled()});l=this.addAction("collapseExpand",function(){var k=new ChangePageSetup(f);k.ignoreColor=!0;k.ignoreImage=!0;k.foldingEnabled=!d.foldingEnabled;d.model.execute(k)});l.setToggleAction(!0);l.setSelectedCallback(function(){return d.foldingEnabled});l.isEnabled=h;l=this.addAction("pageView",mxUtils.bind(this,function(){f.setPageVisible(!d.pageVisible)}));l.setToggleAction(!0);l.setSelectedCallback(function(){return d.pageVisible});l=this.addAction("connectionArrows",function(){d.connectionArrowsEnabled=!d.connectionArrowsEnabled;f.fireEvent(new mxEventObject("connectionArrowsChanged"))},null,null,Editor.altKey+"+"+Editor.shiftKey+"+A");l.setToggleAction(!0);l.setSelectedCallback(function(){return d.connectionArrowsEnabled});l=this.addAction("connectionPoints",function(){d.setConnectable(!d.connectionHandler.isEnabled());f.fireEvent(new mxEventObject("connectionPointsChanged"))},null,null,Editor.altKey+"+"+Editor.shiftKey+"+O");l.setToggleAction(!0);l.setSelectedCallback(function(){return d.connectionHandler.isEnabled()});l=this.addAction("copyConnect",function(){d.connectionHandler.setCreateTarget(!d.connectionHandler.isCreateTarget());f.fireEvent(new mxEventObject("copyConnectChanged"))});l.setToggleAction(!0);l.setSelectedCallback(function(){return d.connectionHandler.isCreateTarget()});l.isEnabled=h;l=this.addAction("autosave",function(){f.editor.setAutosave(!f.editor.autosave)});-l.setToggleAction(!0);l.setSelectedCallback(function(){return f.editor.autosave});l.isEnabled=h;l.visible=!1;this.addAction("help",function(){var k="";mxResources.isLanguageSupported(mxClient.language)&&(k="_"+mxClient.language);d.openLink(RESOURCES_PATH+"/help"+k+".html")});var r=!1;l=new Action("about",function(){r||(f.showDialog((new AboutDialog(f)).container,320,280,!0,!0,function(){r=!1}),r=!0)});l.getTitle=function(){return mxResources.get("about")+" Graph Editor..."};this.put("about",l);l=+l.setToggleAction(!0);l.setSelectedCallback(function(){return f.editor.autosave});l.isEnabled=h;l.visible=!1;this.addAction("help",function(){var k="";mxResources.isLanguageSupported(mxClient.language)&&(k="_"+mxClient.language);d.openLink(RESOURCES_PATH+"/help"+k+".html")});var q=!1;l=new Action("about",function(){q||(f.showDialog((new AboutDialog(f)).container,320,280,!0,!0,function(){q=!1}),q=!0)});l.getTitle=function(){return mxResources.get("about")+" Graph Editor..."};this.put("about",l);l=mxUtils.bind(this,function(k,u,w,y){return this.addAction(k,function(){if(null!=w&&d.cellEditor.isContentEditing())w();else{d.stopEditing(!1);d.getModel().beginUpdate();try{var A=d.getEditableCells(d.getSelectionCells());d.toggleCellStyleFlags(mxConstants.STYLE_FONTSTYLE,u,A);(u&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD?d.updateLabelElements(A,function(D){D.style.fontWeight=null;"B"==D.nodeName&&d.replaceElement(D)}):(u&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC?d.updateLabelElements(A,-function(D){D.style.fontStyle=null;"I"==D.nodeName&&d.replaceElement(D)}):(u&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&d.updateLabelElements(A,function(D){D.style.textDecoration=null;"U"==D.nodeName&&d.replaceElement(D)});for(var G=0;G<A.length;G++)0==d.model.getChildCount(A[G])&&d.autoSizeCell(A[G],!1)}finally{d.getModel().endUpdate()}}},null,null,y)});l("bold",mxConstants.FONT_BOLD,function(){document.execCommand("bold",!1,null)},Editor.ctrlKey+"+B");l("italic",mxConstants.FONT_ITALIC,+function(D){D.style.fontStyle=null;"I"==D.nodeName&&d.replaceElement(D)}):(u&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&d.updateLabelElements(A,function(D){D.style.textDecoration=null;"U"==D.nodeName&&d.replaceElement(D)});for(var F=0;F<A.length;F++)0==d.model.getChildCount(A[F])&&d.autoSizeCell(A[F],!1)}finally{d.getModel().endUpdate()}}},null,null,y)});l("bold",mxConstants.FONT_BOLD,function(){document.execCommand("bold",!1,null)},Editor.ctrlKey+"+B");l("italic",mxConstants.FONT_ITALIC,function(){document.execCommand("italic",!1,null)},Editor.ctrlKey+"+I");l("underline",mxConstants.FONT_UNDERLINE,function(){document.execCommand("underline",!1,null)},Editor.ctrlKey+"+U");this.addAction("fontColor...",function(){f.menus.pickColor(mxConstants.STYLE_FONTCOLOR,"forecolor","000000","default",d.shapeForegroundColor)});this.addAction("strokeColor...",function(){f.menus.pickColor(mxConstants.STYLE_STROKECOLOR,null,null,"default",d.shapeForegroundColor)});this.addAction("fillColor...",function(){f.menus.pickColor(mxConstants.STYLE_FILLCOLOR,null,null,"default",d.shapeBackgroundColor)});this.addAction("gradientColor...",function(){f.menus.pickColor(mxConstants.STYLE_GRADIENTCOLOR,null,null,"default",d.shapeForegroundColor)});this.addAction("backgroundColor...",function(){f.menus.pickColor(mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,"backcolor",null,"default",d.shapeBackgroundColor)});this.addAction("borderColor...",function(){f.menus.pickColor(mxConstants.STYLE_LABEL_BORDERCOLOR,null,null,"default",d.shapeForegroundColor)});this.addAction("removeFormat",function(){if(d.isEnabled()&&!d.isSelectionEmpty()&&!d.isEditing()){d.getModel().beginUpdate();try{for(var k=d.getSelectionCells(),u=0;u<k.length;u++)d.removeTextStyleForCell(k[u],!0)}finally{d.getModel().endUpdate()}}});this.addAction("vertical",function(){f.menus.toggleStyle(mxConstants.STYLE_HORIZONTAL,!0)});this.addAction("shadow",function(){f.menus.toggleStyle(mxConstants.STYLE_SHADOW)});this.addAction("solid",function(){d.getModel().beginUpdate();try{d.setCellStyles(mxConstants.STYLE_DASHED,@@ -3666,10 +3666,10 @@ null!=k.handler&&k.handler.removePoint(k.handler.state,k.index)});this.addActionthis.addAction("clearWaypoints",function(){var k=d.getSelectionCells();if(null!=k){k=d.getEditableCells(d.addAllEdges(k));d.getModel().beginUpdate();try{for(var u=0;u<k.length;u++){var w=k[u];if(d.getModel().isEdge(w)){var y=d.getCellGeometry(w);null!=y&&(y=y.clone(),y.points=null,y.x=0,y.y=0,y.offset=null,d.getModel().setGeometry(w,y))}}}finally{d.getModel().endUpdate()}}},null,null,Editor.altKey+"+"+Editor.shiftKey+"+R");l=this.addAction("subscript",mxUtils.bind(this,function(){d.cellEditor.isContentEditing()&&document.execCommand("subscript",!1,null)}),null,null,Editor.ctrlKey+"+,");l=this.addAction("superscript",mxUtils.bind(this,function(){d.cellEditor.isContentEditing()&&document.execCommand("superscript",!1,null)}),null,null,Editor.ctrlKey+"+.");l=this.addAction("decreaseFontSize",mxUtils.bind(this,function(){if(!d.isSelectionEmpty()){var k=d.getCurrentCellStyle(d.getSelectionCell());k=mxUtils.getValue(k,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);d.setCellStyles(mxConstants.STYLE_FONTSIZE,Math.max(1,k-1),d.getSelectionCells())}}),null,null,Editor.ctrlKey+"+"+Editor.shiftKey+" + (Numpad)");l=this.addAction("increaseFontSize",mxUtils.bind(this,function(){if(!d.isSelectionEmpty()){var k=d.getCurrentCellStyle(d.getSelectionCell());k=mxUtils.getValue(k,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);d.setCellStyles(mxConstants.STYLE_FONTSIZE,Math.min(100,k+1),d.getSelectionCells())}}),null,null,Editor.ctrlKey+"+"+Editor.shiftKey+" - (Numpad)");this.addAction("image...",function(){if(d.isEnabled()&&-!d.isCellLocked(d.getDefaultParent())){var k=mxResources.get("image")+" ("+mxResources.get("url")+"):",u=d.getView().getState(d.getSelectionCell()),w="",y=null;null!=u&&(w=u.style[mxConstants.STYLE_IMAGE]||w,y=u.style[mxConstants.STYLE_CLIP_PATH]||y);var A=d.cellEditor.saveSelection();f.showImageDialog(k,w,function(G,D,F,H,M,N){if(d.cellEditor.isContentEditing())d.cellEditor.restoreSelection(A),d.insertImage(G,D,F);else{var K=d.getSelectionCells();if(null!=G&&(0<G.length||0<K.length)){var T=null;-d.getModel().beginUpdate();try{if(0==K.length){K=[d.insertVertex(d.getDefaultParent(),null,"",0,0,D,F,"shape=image;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;")];var W=d.getCenterInsertPoint(d.getBoundingBoxFromGeometry(K,!0));K[0].geometry.x=W.x;K[0].geometry.y=W.y;null!=H&&e(K[0],H,M,N,d);T=K;d.fireEvent(new mxEventObject("cellsInserted","cells",T))}d.setCellStyles(mxConstants.STYLE_IMAGE,0<G.length?G:null,K);var S=d.getCurrentCellStyle(K[0]);"image"!=S[mxConstants.STYLE_SHAPE]&&-"label"!=S[mxConstants.STYLE_SHAPE]?d.setCellStyles(mxConstants.STYLE_SHAPE,"image",K):0==G.length&&d.setCellStyles(mxConstants.STYLE_SHAPE,null,K);null==H&&d.setCellStyles(mxConstants.STYLE_CLIP_PATH,null,K);if(null!=D&&null!=F)for(G=0;G<K.length;G++){var V=K[G];if("0"!=d.getCurrentCellStyle(V).expand){var fa=d.getModel().getGeometry(V);null!=fa&&(fa=fa.clone(),fa.width=D,fa.height=F,d.getModel().setGeometry(V,fa))}null!=H&&e(V,H,M,N,d)}}finally{d.getModel().endUpdate()}null!=T&&(d.setSelectionCells(T),-d.scrollCellToVisible(T[0]))}}},d.cellEditor.isContentEditing(),!d.cellEditor.isContentEditing(),!0,y)}}).isEnabled=h;this.addAction("crop...",function(){var k=d.getSelectionCell();if(d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())&&null!=k){var u=d.getCurrentCellStyle(k),w=u[mxConstants.STYLE_IMAGE],y=u[mxConstants.STYLE_SHAPE];w&&"image"==y&&(u=new CropImageDialog(f,w,u[mxConstants.STYLE_CLIP_PATH],function(A,G,D){e(k,A,G,D,d)}),f.showDialog(u.container,300,390,!0,!0))}}).isEnabled=h;l=this.addAction("layers",+!d.isCellLocked(d.getDefaultParent())){var k=mxResources.get("image")+" ("+mxResources.get("url")+"):",u=d.getView().getState(d.getSelectionCell()),w="",y=null;null!=u&&(w=u.style[mxConstants.STYLE_IMAGE]||w,y=u.style[mxConstants.STYLE_CLIP_PATH]||y);var A=d.cellEditor.saveSelection();f.showImageDialog(k,w,function(F,D,G,H,M,N){if(d.cellEditor.isContentEditing())d.cellEditor.restoreSelection(A),d.insertImage(F,D,G);else{var K=d.getSelectionCells();if(null!=F&&(0<F.length||0<K.length)){var T=null;+d.getModel().beginUpdate();try{if(0==K.length){K=[d.insertVertex(d.getDefaultParent(),null,"",0,0,D,G,"shape=image;imageAspect=0;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;")];var W=d.getCenterInsertPoint(d.getBoundingBoxFromGeometry(K,!0));K[0].geometry.x=W.x;K[0].geometry.y=W.y;null!=H&&e(K[0],H,M,N,d);T=K;d.fireEvent(new mxEventObject("cellsInserted","cells",T))}d.setCellStyles(mxConstants.STYLE_IMAGE,0<F.length?F:null,K);var S=d.getCurrentCellStyle(K[0]);"image"!=S[mxConstants.STYLE_SHAPE]&&+"label"!=S[mxConstants.STYLE_SHAPE]?d.setCellStyles(mxConstants.STYLE_SHAPE,"image",K):0==F.length&&d.setCellStyles(mxConstants.STYLE_SHAPE,null,K);null==H&&d.setCellStyles(mxConstants.STYLE_CLIP_PATH,null,K);if(null!=D&&null!=G)for(F=0;F<K.length;F++){var V=K[F];if("0"!=d.getCurrentCellStyle(V).expand){var fa=d.getModel().getGeometry(V);null!=fa&&(fa=fa.clone(),fa.width=D,fa.height=G,d.getModel().setGeometry(V,fa))}null!=H&&e(V,H,M,N,d)}}finally{d.getModel().endUpdate()}null!=T&&(d.setSelectionCells(T),+d.scrollCellToVisible(T[0]))}}},d.cellEditor.isContentEditing(),!d.cellEditor.isContentEditing(),!0,y)}}).isEnabled=h;this.addAction("crop...",function(){var k=d.getSelectionCell();if(d.isEnabled()&&!d.isCellLocked(d.getDefaultParent())&&null!=k){var u=d.getCurrentCellStyle(k),w=u[mxConstants.STYLE_IMAGE],y=u[mxConstants.STYLE_SHAPE];w&&"image"==y&&(u=new CropImageDialog(f,w,u[mxConstants.STYLE_CLIP_PATH],function(A,F,D){e(k,A,F,D,d)}),f.showDialog(u.container,300,390,!0,!0))}}).isEnabled=h;l=this.addAction("layers",mxUtils.bind(this,function(){null==this.layersWindow?(this.layersWindow=new LayersWindow(f,document.body.offsetWidth-280,120,212,200),this.layersWindow.window.addListener("show",mxUtils.bind(this,function(){f.fireEvent(new mxEventObject("layers"))})),this.layersWindow.window.addListener("hide",function(){f.fireEvent(new mxEventObject("layers"))}),this.layersWindow.window.setVisible(!0),f.fireEvent(new mxEventObject("layers")),this.layersWindow.init()):this.layersWindow.window.setVisible(!this.layersWindow.window.isVisible())}),null,null,Editor.ctrlKey+"+"+Editor.shiftKey+"+L");l.setToggleAction(!0);l.setSelectedCallback(mxUtils.bind(this,function(){return null!=this.layersWindow&&this.layersWindow.window.isVisible()}));l=this.addAction("format",mxUtils.bind(this,function(){f.toggleFormatPanel()}),null,null,Editor.ctrlKey+"+"+Editor.shiftKey+"+P");l.setToggleAction(!0);l.setSelectedCallback(mxUtils.bind(this,function(){return f.isFormatPanelVisible()}));l=this.addAction("outline",mxUtils.bind(this,function(){null==this.outlineWindow?(this.outlineWindow=new OutlineWindow(f,document.body.offsetWidth-260,100,180,180),this.outlineWindow.window.addListener("show",mxUtils.bind(this,function(){f.fireEvent(new mxEventObject("outline"))})),this.outlineWindow.window.addListener("hide",function(){f.fireEvent(new mxEventObject("outline"))}),this.outlineWindow.window.setVisible(!0),f.fireEvent(new mxEventObject("outline"))):this.outlineWindow.window.setVisible(!this.outlineWindow.window.isVisible())}),null,null,Editor.ctrlKey+"+"+Editor.shiftKey+@@ -3685,13 +3685,13 @@ null,null,!0,Format.orthogonalImage.src)).setAttribute("title",mxResources.get("mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["elbowEdgeStyle","vertical",null,null],null,null,!0,Format.verticalElbowImage.src)).setAttribute("title",mxResources.get("horizontal"));Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",null,null,null],null,null,!0,Format.horizontalIsometricImage.src)).setAttribute("title",mxResources.get("isometric"));Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle","vertical",null,null],null,null,!0,Format.verticalIsometricImage.src)).setAttribute("title",mxResources.get("isometric"));Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle","1",null],null,null,!0,Format.curvedImage.src)).setAttribute("title",mxResources.get("curved"));Format.processMenuIcon(this.editorUi.menus.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["entityRelationEdgeStyle",null,null],null,null,!0,Format.entityImage.src)).setAttribute("title",mxResources.get("entityRelation"))})));this.put("fontFamily",new Menu(mxUtils.bind(this,function(f,g){for(var d=mxUtils.bind(this,function(l){this.styleChange(f,l,[mxConstants.STYLE_FONTFAMILY],-[l],null,g,function(){document.execCommand("fontname",!1,l);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTFAMILY],"values",[l],"cells",[b.cellEditor.getEditingCell()]))},function(){b.updateLabelElements(b.getSelectionCells(),function(r){r.removeAttribute("face");r.style.fontFamily=null;"PRE"==r.nodeName&&b.replaceElement(r,"div")})}).firstChild.nextSibling.style.fontFamily=l}),h=0;h<this.defaultFonts.length;h++)d(this.defaultFonts[h]);f.addSeparator(g);if(0<this.customFonts.length){for(h=+[l],null,g,function(){document.execCommand("fontname",!1,l);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTFAMILY],"values",[l],"cells",[b.cellEditor.getEditingCell()]))},function(){b.updateLabelElements(b.getSelectionCells(),function(q){q.removeAttribute("face");q.style.fontFamily=null;"PRE"==q.nodeName&&b.replaceElement(q,"div")})}).firstChild.nextSibling.style.fontFamily=l}),h=0;h<this.defaultFonts.length;h++)d(this.defaultFonts[h]);f.addSeparator(g);if(0<this.customFonts.length){for(h=0;h<this.customFonts.length;h++)d(this.customFonts[h]);f.addSeparator(g);f.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){this.customFonts=[];this.editorUi.fireEvent(new mxEventObject("customFontsChanged"))}),g);f.addSeparator(g)}this.promptChange(f,mxResources.get("custom")+"...","",mxConstants.DEFAULT_FONTFAMILY,mxConstants.STYLE_FONTFAMILY,g,!0,mxUtils.bind(this,function(l){0>mxUtils.indexOf(this.customFonts,l)&&(this.customFonts.push(l),this.editorUi.fireEvent(new mxEventObject("customFontsChanged")))}))})));this.put("formatBlock",new Menu(mxUtils.bind(this,function(f,g){function d(h,l){return f.addItem(h,null,mxUtils.bind(this,function(){null!=b.cellEditor.textarea&&(b.cellEditor.textarea.focus(),document.execCommand("formatBlock",!1,"<"+l+">"))}),g)}d(mxResources.get("normal"),"p");d("","h1").firstChild.nextSibling.innerHTML='<h1 style="margin:0px;">'+mxResources.get("heading")+" 1</h1>";d("","h2").firstChild.nextSibling.innerHTML='<h2 style="margin:0px;">'+mxResources.get("heading")+" 2</h2>";d("","h3").firstChild.nextSibling.innerHTML='<h3 style="margin:0px;">'+mxResources.get("heading")+" 3</h3>";d("","h4").firstChild.nextSibling.innerHTML='<h4 style="margin:0px;">'+mxResources.get("heading")+" 4</h4>";d("","h5").firstChild.nextSibling.innerHTML='<h5 style="margin:0px;">'+mxResources.get("heading")+" 5</h5>";d("","h6").firstChild.nextSibling.innerHTML='<h6 style="margin:0px;">'+mxResources.get("heading")+" 6</h6>";d("","pre").firstChild.nextSibling.innerHTML='<pre style="margin:0px;">'+mxResources.get("formatted")+"</pre>";d("","blockquote").firstChild.nextSibling.innerHTML='<blockquote style="margin-top:0px;margin-bottom:0px;">'+mxResources.get("blockquote")+"</blockquote>"})));this.put("fontSize",new Menu(mxUtils.bind(this,function(f,g){var d=[6,8,9,10,11,12,14,18,24,36,48,72];0>mxUtils.indexOf(d,this.defaultFontSize)&&(d.push(this.defaultFontSize),d.sort(function(w,y){return w-y}));for(var h=mxUtils.bind(this,function(w){if(null!=b.cellEditor.textarea){document.execCommand("fontSize",!1,"3");for(var y=b.cellEditor.textarea.getElementsByTagName("font"),-A=0;A<y.length;A++)if("3"==y[A].getAttribute("size")){y[A].removeAttribute("size");y[A].style.fontSize=w+"px";break}a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTSIZE],"values",[w],"cells",[b.cellEditor.getEditingCell()]))}}),l=mxUtils.bind(this,function(w){this.styleChange(f,w,[mxConstants.STYLE_FONTSIZE],[w],null,g,function(){h(w)})}),r=0;r<d.length;r++)l(d[r]);f.addSeparator(g);if(0<this.customFontSizes.length){var k=0;for(r=0;r<this.customFontSizes.length;r++)0>mxUtils.indexOf(d,-this.customFontSizes[r])&&(l(this.customFontSizes[r]),k++);0<k&&f.addSeparator(g);f.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){this.customFontSizes=[]}),g);f.addSeparator(g)}var u=null;this.promptChange(f,mxResources.get("custom")+"...","("+mxResources.get("points")+")",this.defaultFontSize,mxConstants.STYLE_FONTSIZE,g,!0,mxUtils.bind(this,function(w){null!=u&&null!=b.cellEditor.textarea&&(b.cellEditor.textarea.focus(),b.cellEditor.restoreSelection(u));null!=w&&0<w.length&&+A=0;A<y.length;A++)if("3"==y[A].getAttribute("size")){y[A].removeAttribute("size");y[A].style.fontSize=w+"px";break}a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_FONTSIZE],"values",[w],"cells",[b.cellEditor.getEditingCell()]))}}),l=mxUtils.bind(this,function(w){this.styleChange(f,w,[mxConstants.STYLE_FONTSIZE],[w],null,g,function(){h(w)})}),q=0;q<d.length;q++)l(d[q]);f.addSeparator(g);if(0<this.customFontSizes.length){var k=0;for(q=0;q<this.customFontSizes.length;q++)0>mxUtils.indexOf(d,+this.customFontSizes[q])&&(l(this.customFontSizes[q]),k++);0<k&&f.addSeparator(g);f.addItem(mxResources.get("reset"),null,mxUtils.bind(this,function(){this.customFontSizes=[]}),g);f.addSeparator(g)}var u=null;this.promptChange(f,mxResources.get("custom")+"...","("+mxResources.get("points")+")",this.defaultFontSize,mxConstants.STYLE_FONTSIZE,g,!0,mxUtils.bind(this,function(w){null!=u&&null!=b.cellEditor.textarea&&(b.cellEditor.textarea.focus(),b.cellEditor.restoreSelection(u));null!=w&&0<w.length&&(this.customFontSizes.push(w),h(w))}),null,function(){u=b.cellEditor.saveSelection();return!1})})));this.put("direction",new Menu(mxUtils.bind(this,function(f,g){f.addItem(mxResources.get("flipH"),null,function(){b.toggleCellStyles(mxConstants.STYLE_FLIPH,!1)},g);f.addItem(mxResources.get("flipV"),null,function(){b.toggleCellStyles(mxConstants.STYLE_FLIPV,!1)},g);this.addMenuItems(f,["-","rotation"],g)})));this.put("align",new Menu(mxUtils.bind(this,function(f,g){var d=1<this.editorUi.getSelectionState().vertices.length;f.addItem(mxResources.get("leftAlign"),null,function(){b.alignCells(mxConstants.ALIGN_LEFT)},g,null,d);f.addItem(mxResources.get("center"),null,function(){b.alignCells(mxConstants.ALIGN_CENTER)},g,null,d);f.addItem(mxResources.get("rightAlign"),null,function(){b.alignCells(mxConstants.ALIGN_RIGHT)},g,null,d);f.addSeparator(g);f.addItem(mxResources.get("topAlign"),null,function(){b.alignCells(mxConstants.ALIGN_TOP)},g,null,d);f.addItem(mxResources.get("middle"),null,function(){b.alignCells(mxConstants.ALIGN_MIDDLE)},g,null,d);f.addItem(mxResources.get("bottomAlign"),null,function(){b.alignCells(mxConstants.ALIGN_BOTTOM)},g,null,d);this.addMenuItems(f,["-","snapToGrid"],g)})));this.put("distribute",new Menu(mxUtils.bind(this,function(f,g){f.addItem(mxResources.get("horizontal"),null,function(){b.distributeCells(!0)},g);f.addItem(mxResources.get("vertical"),null,function(){b.distributeCells(!1)},g);f.addSeparator(g);this.addSubmenu("distributeSpacing",f,g,mxResources.get("spacing"))})));this.put("distributeSpacing",@@ -3702,42 +3702,42 @@ mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["isometricEdgeStyle",nuFormat.processMenuIcon(this.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["orthogonalEdgeStyle","1",null],null,g,!0,Format.curvedImage.src)).setAttribute("title",mxResources.get("curved")),Format.processMenuIcon(this.edgeStyleChange(f,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_CURVED,mxConstants.STYLE_NOEDGESTYLE],["entityRelationEdgeStyle",null,null],null,g,!0,Format.entityImage.src)).setAttribute("title",mxResources.get("entityRelation"))),f.addSeparator(g),Format.processMenuIcon(this.styleChange(f,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],[null,null,null,null],null,g,null,null,!0,Format.connectionImage.src)).setAttribute("title",mxResources.get("line")),Format.processMenuIcon(this.styleChange(f,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["link",null,null,null],null,g,null,null,!0,Format.linkEdgeImage.src)).setAttribute("title",mxResources.get("link")),Format.processMenuIcon(this.styleChange(f,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["flexArrow",null,null,null],null,g,null,null,!0,Format.arrowImage.src)).setAttribute("title",mxResources.get("arrow")),Format.processMenuIcon(this.styleChange(f,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE,"width"],["arrow",null,null,null],null,g,null,null,!0,Format.simpleArrowImage.src)).setAttribute("title",mxResources.get("simpleArrow")))})));-this.put("layout",new Menu(mxUtils.bind(this,function(f,g){var d=mxUtils.bind(this,function(l,r){this.editorUi.prompt(mxResources.get("spacing"),l,r)}),h=mxUtils.bind(this,function(l){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var r=b.getSelectionCell(),k=null;null==r||0==b.getModel().getChildCount(r)?0==b.getModel().getEdgeCount(r)&&(k=b.findTreeRoots(b.getDefaultParent())):k=b.findTreeRoots(r);null!=k&&0<k.length&&(r=k[0]);null!=r&&this.editorUi.executeLayout(function(){l.execute(b.getDefaultParent(),-r);b.isSelectionEmpty()||(r=b.getModel().getParent(r),b.getModel().isVertex(r)&&b.updateGroupBounds([r],2*b.gridSize,!0))},!0)}))});f.addItem(mxResources.get("horizontalFlow"),null,mxUtils.bind(this,function(){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var l=new mxHierarchicalLayout(b,mxConstants.DIRECTION_WEST);this.editorUi.executeLayout(function(){var r=b.getSelectionCells();l.execute(b.getDefaultParent(),0==r.length?null:r)},!0)}))}),g);f.addItem(mxResources.get("verticalFlow"),null,-mxUtils.bind(this,function(){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var l=new mxHierarchicalLayout(b,mxConstants.DIRECTION_NORTH);this.editorUi.executeLayout(function(){var r=b.getSelectionCells();l.execute(b.getDefaultParent(),0==r.length?null:r)},!0)}))}),g);f.addSeparator(g);f.addItem(mxResources.get("horizontalTree"),null,mxUtils.bind(this,function(){var l=new mxCompactTreeLayout(b,!0);l.edgeRouting=!1;l.levelDistance=30;l.sortEdges=!0;d(l.levelDistance,mxUtils.bind(this,function(r){isNaN(r)||-(l.levelDistance=r,h(l))}))}),g);f.addItem(mxResources.get("verticalTree"),null,mxUtils.bind(this,function(){var l=new mxCompactTreeLayout(b,!1);l.edgeRouting=!1;l.levelDistance=30;l.sortEdges=!0;d(l.levelDistance,mxUtils.bind(this,function(r){isNaN(r)||(l.levelDistance=r,h(l))}))}),g);f.addItem(mxResources.get("radialTree"),null,mxUtils.bind(this,function(){var l=new mxRadialTreeLayout(b);l.levelDistance=80;l.autoRadius=!0;d(l.levelDistance,mxUtils.bind(this,function(r){isNaN(r)||(l.levelDistance=-r,h(l))}))}),g);f.addSeparator(g);f.addItem(mxResources.get("organic"),null,mxUtils.bind(this,function(){var l=new mxFastOrganicLayout(b);d(l.forceConstant,mxUtils.bind(this,function(r){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){l.forceConstant=r;this.editorUi.executeLayout(function(){var k=b.getSelectionCell();if(null==k||0==b.getModel().getChildCount(k))k=b.getDefaultParent();l.execute(k);b.getModel().isVertex(k)&&b.updateGroupBounds([k],2*b.gridSize,!0)},!0)}))}))}),g);f.addItem(mxResources.get("circle"),-null,mxUtils.bind(this,function(){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var l=new mxCircleLayout(b);this.editorUi.executeLayout(function(){var r=b.getSelectionCell();if(null==r||0==b.getModel().getChildCount(r))r=b.getDefaultParent();l.execute(r);b.getModel().isVertex(r)&&b.updateGroupBounds([r],2*b.gridSize,!0)},!0)}))}),g)})));this.put("navigation",new Menu(mxUtils.bind(this,function(f,g){this.addMenuItems(f,"home - exitGroup enterGroup - expand collapse - collapsible".split(" "),+this.put("layout",new Menu(mxUtils.bind(this,function(f,g){var d=mxUtils.bind(this,function(l,q){this.editorUi.prompt(mxResources.get("spacing"),l,q)}),h=mxUtils.bind(this,function(l){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var q=b.getSelectionCell(),k=null;null==q||0==b.getModel().getChildCount(q)?0==b.getModel().getEdgeCount(q)&&(k=b.findTreeRoots(b.getDefaultParent())):k=b.findTreeRoots(q);null!=k&&0<k.length&&(q=k[0]);null!=q&&this.editorUi.executeLayout(function(){l.execute(b.getDefaultParent(),+q);b.isSelectionEmpty()||(q=b.getModel().getParent(q),b.getModel().isVertex(q)&&b.updateGroupBounds([q],2*b.gridSize,!0))},!0)}))});f.addItem(mxResources.get("horizontalFlow"),null,mxUtils.bind(this,function(){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var l=new mxHierarchicalLayout(b,mxConstants.DIRECTION_WEST);this.editorUi.executeLayout(function(){var q=b.getSelectionCells();l.execute(b.getDefaultParent(),0==q.length?null:q)},!0)}))}),g);f.addItem(mxResources.get("verticalFlow"),null,+mxUtils.bind(this,function(){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var l=new mxHierarchicalLayout(b,mxConstants.DIRECTION_NORTH);this.editorUi.executeLayout(function(){var q=b.getSelectionCells();l.execute(b.getDefaultParent(),0==q.length?null:q)},!0)}))}),g);f.addSeparator(g);f.addItem(mxResources.get("horizontalTree"),null,mxUtils.bind(this,function(){var l=new mxCompactTreeLayout(b,!0);l.edgeRouting=!1;l.levelDistance=30;l.sortEdges=!0;d(l.levelDistance,mxUtils.bind(this,function(q){isNaN(q)||+(l.levelDistance=q,h(l))}))}),g);f.addItem(mxResources.get("verticalTree"),null,mxUtils.bind(this,function(){var l=new mxCompactTreeLayout(b,!1);l.edgeRouting=!1;l.levelDistance=30;l.sortEdges=!0;d(l.levelDistance,mxUtils.bind(this,function(q){isNaN(q)||(l.levelDistance=q,h(l))}))}),g);f.addItem(mxResources.get("radialTree"),null,mxUtils.bind(this,function(){var l=new mxRadialTreeLayout(b);l.levelDistance=80;l.autoRadius=!0;d(l.levelDistance,mxUtils.bind(this,function(q){isNaN(q)||(l.levelDistance=+q,h(l))}))}),g);f.addSeparator(g);f.addItem(mxResources.get("organic"),null,mxUtils.bind(this,function(){var l=new mxFastOrganicLayout(b);d(l.forceConstant,mxUtils.bind(this,function(q){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){l.forceConstant=q;this.editorUi.executeLayout(function(){var k=b.getSelectionCell();if(null==k||0==b.getModel().getChildCount(k))k=b.getDefaultParent();l.execute(k);b.getModel().isVertex(k)&&b.updateGroupBounds([k],2*b.gridSize,!0)},!0)}))}))}),g);f.addItem(mxResources.get("circle"),+null,mxUtils.bind(this,function(){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var l=new mxCircleLayout(b);this.editorUi.executeLayout(function(){var q=b.getSelectionCell();if(null==q||0==b.getModel().getChildCount(q))q=b.getDefaultParent();l.execute(q);b.getModel().isVertex(q)&&b.updateGroupBounds([q],2*b.gridSize,!0)},!0)}))}),g)})));this.put("navigation",new Menu(mxUtils.bind(this,function(f,g){this.addMenuItems(f,"home - exitGroup enterGroup - expand collapse - collapsible".split(" "),g)})));this.put("arrange",new Menu(mxUtils.bind(this,function(f,g){this.addMenuItems(f,["toFront","toBack","bringForward","sendBackward","-"],g);this.addSubmenu("direction",f,g);this.addMenuItems(f,["turn","-"],g);this.addSubmenu("align",f,g);this.addSubmenu("distribute",f,g);f.addSeparator(g);this.addSubmenu("navigation",f,g);this.addSubmenu("insert",f,g);this.addSubmenu("layout",f,g);this.addMenuItems(f,"- group ungroup removeFromGroup - clearWaypoints autosize".split(" "),g)}))).isEnabled=e;this.put("insert",new Menu(mxUtils.bind(this,function(f,g){this.addMenuItems(f,["insertLink","insertImage"],g)})));this.put("view",new Menu(mxUtils.bind(this,function(f,g){this.addMenuItems(f,(null!=this.editorUi.format?["format"]:[]).concat("outline layers - pageView pageScale - tooltips grid guides - connectionArrows connectionPoints - resetView zoomIn zoomOut".split(" "),g))})));this.put("viewPanels",new Menu(mxUtils.bind(this,function(f,g){null!=this.editorUi.format&&this.addMenuItems(f,["format"],g);this.addMenuItems(f,["outline","layers"],g)})));this.put("viewZoom",new Menu(mxUtils.bind(this,function(f,g){this.addMenuItems(f,["smartFit","-"],g);for(var d=[.25,.5,.75,1,1.25,1.5,2,3,4],h=0;h<d.length;h++)(function(l){f.addItem(100*l+"%",null,function(){b.zoomTo(l)},g)})(d[h]);this.addMenuItems(f,"- fitWindow fitPageWidth fitPage fitTwoPages - customZoom".split(" "),g)})));this.put("file",new Menu(mxUtils.bind(this,function(f,g){this.addMenuItems(f,"new open - save saveAs - import export - pageSetup print".split(" "),g)})));this.put("edit",new Menu(mxUtils.bind(this,function(f,g){this.addMenuItems(f,"undo redo - cut copy paste delete - duplicate - editData editTooltip - editStyle - edit - editLink openLink - selectVertices selectEdges selectAll selectNone - lockUnlock".split(" "))})));this.put("extras",new Menu(mxUtils.bind(this,function(f,g){this.addMenuItems(f,["copyConnect","collapseExpand","-","editDiagram"])})));this.put("help",new Menu(mxUtils.bind(this,function(f,g){this.addMenuItems(f,["help","-","about"])})))};Menus.prototype.put=function(a,b){return this.menus[a]=b};Menus.prototype.get=function(a){return this.menus[a]};Menus.prototype.addSubmenu=function(a,b,e,f){var g=this.get(a),d=null;null!=g&&(g=g.isEnabled(),b.showDisabled||g)&&(d=b.addItem(f||mxResources.get(a),null,null,e,null,g),this.addMenu(a,b,d));return d};Menus.prototype.addMenu=function(a,b,e){a=this.get(a);null!=a&&(b.showDisabled||a.isEnabled())&&a.execute(b,e)};-Menus.prototype.addInsertTableCellItem=function(a,b){var e=this.editorUi.editor.graph,f=e.getSelectionCell(),g=e.getCurrentCellStyle(f);1<e.getSelectionCount()&&(e.isTableCell(f)&&(f=e.model.getParent(f)),e.isTableRow(f)&&(f=e.model.getParent(f)));var d=e.isTable(f)||e.isTableRow(f)||e.isTableCell(f),h=e.isStack(f)||e.isStackChild(f),l=d,r=d;h&&(g=e.isStack(f)?g:e.getCellStyle(e.model.getParent(f)),r="0"==g.horizontalStack,l=!r);null!=b||!d&&!h?this.addInsertTableItem(a,mxUtils.bind(this,function(k,+Menus.prototype.addInsertTableCellItem=function(a,b){var e=this.editorUi.editor.graph,f=e.getSelectionCell(),g=e.getCurrentCellStyle(f);1<e.getSelectionCount()&&(e.isTableCell(f)&&(f=e.model.getParent(f)),e.isTableRow(f)&&(f=e.model.getParent(f)));var d=e.isTable(f)||e.isTableRow(f)||e.isTableCell(f),h=e.isStack(f)||e.isStackChild(f),l=d,q=d;h&&(g=e.isStack(f)?g:e.getCellStyle(e.model.getParent(f)),q="0"==g.horizontalStack,l=!q);null!=b||!d&&!h?this.addInsertTableItem(a,mxUtils.bind(this,function(k,u,w,y,A){u=A||mxEvent.isControlDown(k)||mxEvent.isMetaDown(k)?e.createCrossFunctionalSwimlane(u,w,null,null,y||mxEvent.isShiftDown(k)?"Cross-Functional Flowchart":null):e.createTable(u,w,null,null,y||mxEvent.isShiftDown(k)?"Table":null);k=mxEvent.isAltDown(k)?e.getFreeInsertPoint():e.getCenterInsertPoint(e.getBoundingBoxFromGeometry([u],!0));w=null;e.getModel().beginUpdate();try{w=e.importCells([u],k.x,k.y),e.fireEvent(new mxEventObject("cellsInserted","cells",e.model.getDescendants(w[0])))}finally{e.getModel().endUpdate()}null!=w&&0<w.length&&(e.scrollCellToVisible(w[0]),e.setSelectionCells(w))}),b):(l&&(b=a.addItem(mxResources.get("insertColumnBefore"),Editor.addColumnLeftImage,mxUtils.bind(this,function(){try{h?e.insertLane(f,!0):e.insertTableColumn(f,!0)}catch(k){this.editorUi.handleError(k)}})),b.setAttribute("title",mxResources.get("insertColumnBefore")),b=a.addItem(mxResources.get("insertColumnAfter"),Editor.addColumnRightImage,mxUtils.bind(this,function(){try{h?e.insertLane(f,!1):e.insertTableColumn(f,!1)}catch(k){this.editorUi.handleError(k)}})),-b.setAttribute("title",mxResources.get("insertColumnAfter")),b=a.addItem(mxResources.get("deleteColumn"),Editor.removeColumnImage,mxUtils.bind(this,function(){if(null!=f)try{h?e.deleteLane(f):e.deleteTableColumn(f)}catch(k){this.editorUi.handleError(k)}})),b.setAttribute("title",mxResources.get("deleteColumn"))),r&&(b=a.addItem(mxResources.get("insertRowBefore"),Editor.addRowAboveImage,mxUtils.bind(this,function(){try{h?e.insertLane(f,!0):e.insertTableRow(f,!0)}catch(k){this.editorUi.handleError(k)}})),+b.setAttribute("title",mxResources.get("insertColumnAfter")),b=a.addItem(mxResources.get("deleteColumn"),Editor.removeColumnImage,mxUtils.bind(this,function(){if(null!=f)try{h?e.deleteLane(f):e.deleteTableColumn(f)}catch(k){this.editorUi.handleError(k)}})),b.setAttribute("title",mxResources.get("deleteColumn"))),q&&(b=a.addItem(mxResources.get("insertRowBefore"),Editor.addRowAboveImage,mxUtils.bind(this,function(){try{h?e.insertLane(f,!0):e.insertTableRow(f,!0)}catch(k){this.editorUi.handleError(k)}})),b.setAttribute("title",mxResources.get("insertRowBefore")),b=a.addItem(mxResources.get("insertRowAfter"),Editor.addRowBelowImage,mxUtils.bind(this,function(){try{h?e.insertLane(f,!1):e.insertTableRow(f,!1)}catch(k){this.editorUi.handleError(k)}})),b.setAttribute("title",mxResources.get("insertRowAfter")),b=a.addItem(mxResources.get("deleteRow"),Editor.removeRowImage,mxUtils.bind(this,function(){try{h?e.deleteLane(f):e.deleteTableRow(f)}catch(k){this.editorUi.handleError(k)}})),b.setAttribute("title",-mxResources.get("deleteRow")),r=this.editorUi.getSelectionState(),null!=r.mergeCell?this.addMenuItem(a,"mergeCells"):(1<r.style.colspan||1<r.style.rowspan)&&this.addMenuItem(a,"unmergeCells")))};-Menus.prototype.addInsertTableItem=function(a,b,e,f){function g(A){y=d.getParentByName(mxEvent.getSource(A),"TD");var G=!1;if(null!=y){w=d.getParentByName(y,"TR");var D=mxEvent.isMouseEvent(A)?2:4,F=k,H=Math.min(20,w.sectionRowIndex+D);D=Math.min(20,y.cellIndex+D);for(var M=F.rows.length;M<H;M++)for(var N=F.insertRow(M),K=0;K<F.rows[0].cells.length;K++)N.insertCell(-1);for(M=0;M<F.rows.length;M++)for(N=F.rows[M],K=N.cells.length;K<D;K++)N.insertCell(-1);u.innerHTML=y.cellIndex+1+"x"+(w.sectionRowIndex+-1);for(F=0;F<k.rows.length;F++)for(H=k.rows[F],D=0;D<H.cells.length;D++)M=H.cells[D],F==w.sectionRowIndex&&D==y.cellIndex&&(G="blue"==M.style.backgroundColor),M.style.backgroundColor=F<=w.sectionRowIndex&&D<=y.cellIndex?"blue":"transparent"}mxEvent.consume(A);return G}f=null!=f?f:!0;var d=this.editorUi.editor.graph;b=null!=b?b:mxUtils.bind(this,function(A,G,D){if(null!=d.getParentByName(mxEvent.getSource(A),"TD")&&null!=d.cellEditor.textarea){var F=d.cellEditor.textarea.getElementsByTagName("table");-A=[];for(var H=0;H<F.length;H++)A.push(F[H]);d.container.focus();H=d;F=H.pasteHtmlAtCaret;for(var M=["<table>"],N=0;N<G;N++){M.push("<tr>");for(var K=0;K<D;K++)M.push("<td><br></td>");M.push("</tr>")}M.push("</table>");G=M.join("");F.call(H,G);G=d.cellEditor.textarea.getElementsByTagName("table");if(G.length==A.length+1)for(H=G.length-1;0<=H;H--)if(0==H||G[H]!=A[H-1]){d.selectNode(G[H].rows[0].cells[0]);break}}});null==e&&(a.div.classList.add("geToolbarMenu"),a.labels=!1);a=a.addItem("",null,null,+mxResources.get("deleteRow")),q=this.editorUi.getSelectionState(),null!=q.mergeCell?this.addMenuItem(a,"mergeCells"):(1<q.style.colspan||1<q.style.rowspan)&&this.addMenuItem(a,"unmergeCells")))};+Menus.prototype.addInsertTableItem=function(a,b,e,f){function g(A){y=d.getParentByName(mxEvent.getSource(A),"TD");var F=!1;if(null!=y){w=d.getParentByName(y,"TR");var D=mxEvent.isMouseEvent(A)?2:4,G=k,H=Math.min(20,w.sectionRowIndex+D);D=Math.min(20,y.cellIndex+D);for(var M=G.rows.length;M<H;M++)for(var N=G.insertRow(M),K=0;K<G.rows[0].cells.length;K++)N.insertCell(-1);for(M=0;M<G.rows.length;M++)for(N=G.rows[M],K=N.cells.length;K<D;K++)N.insertCell(-1);u.innerHTML=y.cellIndex+1+"x"+(w.sectionRowIndex++1);for(G=0;G<k.rows.length;G++)for(H=k.rows[G],D=0;D<H.cells.length;D++)M=H.cells[D],G==w.sectionRowIndex&&D==y.cellIndex&&(F="blue"==M.style.backgroundColor),M.style.backgroundColor=G<=w.sectionRowIndex&&D<=y.cellIndex?"blue":"transparent"}mxEvent.consume(A);return F}f=null!=f?f:!0;var d=this.editorUi.editor.graph;b=null!=b?b:mxUtils.bind(this,function(A,F,D){if(null!=d.getParentByName(mxEvent.getSource(A),"TD")&&null!=d.cellEditor.textarea){var G=d.cellEditor.textarea.getElementsByTagName("table");+A=[];for(var H=0;H<G.length;H++)A.push(G[H]);d.container.focus();H=d;G=H.pasteHtmlAtCaret;for(var M=["<table>"],N=0;N<F;N++){M.push("<tr>");for(var K=0;K<D;K++)M.push("<td><br></td>");M.push("</tr>")}M.push("</table>");F=M.join("");G.call(H,F);F=d.cellEditor.textarea.getElementsByTagName("table");if(F.length==A.length+1)for(H=F.length-1;0<=H;H--)if(0==H||F[H]!=A[H-1]){d.selectNode(F[H].rows[0].cells[0]);break}}});null==e&&(a.div.classList.add("geToolbarMenu"),a.labels=!1);a=a.addItem("",null,null,e,null,null,null,!0);a.firstChild.style.fontSize=Menus.prototype.defaultFontSize+"px";e=a.getElementsByTagName("td");1<e.length&&(e[1].style.display="none",e[2].style.display="none");a.firstChild.innerText="";var h=document.createElement("input");h.setAttribute("id","geTitleOption");h.setAttribute("type","checkbox");h.style.verticalAlign="middle";e=document.createElement("label");mxUtils.write(e,mxResources.get("title"));e.setAttribute("for","geTitleOption");e.style.verticalAlign="middle";mxEvent.addGestureListeners(e,-null,null,mxUtils.bind(this,function(A){mxEvent.consume(A)}));mxEvent.addGestureListeners(h,null,null,mxUtils.bind(this,function(A){mxEvent.consume(A)}));var l=document.createElement("input");l.setAttribute("id","geContainerOption");l.setAttribute("type","checkbox");l.style.verticalAlign="middle";var r=document.createElement("label");mxUtils.write(r,mxResources.get("container"));r.setAttribute("for","geContainerOption");r.style.verticalAlign="middle";mxEvent.addGestureListeners(r,null,null,mxUtils.bind(this,-function(A){mxEvent.consume(A)}));mxEvent.addGestureListeners(l,null,null,mxUtils.bind(this,function(A){mxEvent.consume(A)}));f&&(a.firstChild.appendChild(h),a.firstChild.appendChild(e),mxUtils.br(a.firstChild),a.firstChild.appendChild(l),a.firstChild.appendChild(r),mxUtils.br(a.firstChild));var k=function(A,G){var D=document.createElement("table");D.className="geInsertTablePicker";D.setAttribute("border","1");D.style.borderCollapse="collapse";D.style.borderStyle="solid";D.style.marginBottom="4px";-D.style.marginTop="8px";D.setAttribute("cellPadding","8");for(var F=0;F<A;F++)for(var H=D.insertRow(F),M=0;M<G;M++)H.insertCell(-1);return D}(5,5);a.firstChild.appendChild(k);var u=document.createElement("div");u.style.textAlign="center";u.style.padding="4px";u.style.width="100%";u.innerHTML="1x1";a.firstChild.appendChild(u);var w=null,y=null;mxEvent.addGestureListeners(k,null,null,mxUtils.bind(this,function(A){var G=g(A);null!=y&&null!=w&&G&&(b(A,w.sectionRowIndex+1,y.cellIndex+1,h.checked,l.checked),+null,null,mxUtils.bind(this,function(A){mxEvent.consume(A)}));mxEvent.addGestureListeners(h,null,null,mxUtils.bind(this,function(A){mxEvent.consume(A)}));var l=document.createElement("input");l.setAttribute("id","geContainerOption");l.setAttribute("type","checkbox");l.style.verticalAlign="middle";var q=document.createElement("label");mxUtils.write(q,mxResources.get("container"));q.setAttribute("for","geContainerOption");q.style.verticalAlign="middle";mxEvent.addGestureListeners(q,null,null,mxUtils.bind(this,+function(A){mxEvent.consume(A)}));mxEvent.addGestureListeners(l,null,null,mxUtils.bind(this,function(A){mxEvent.consume(A)}));f&&(a.firstChild.appendChild(h),a.firstChild.appendChild(e),mxUtils.br(a.firstChild),a.firstChild.appendChild(l),a.firstChild.appendChild(q),mxUtils.br(a.firstChild));var k=function(A,F){var D=document.createElement("table");D.className="geInsertTablePicker";D.setAttribute("border","1");D.style.borderCollapse="collapse";D.style.borderStyle="solid";D.style.marginBottom="4px";+D.style.marginTop="8px";D.setAttribute("cellPadding","8");for(var G=0;G<A;G++)for(var H=D.insertRow(G),M=0;M<F;M++)H.insertCell(-1);return D}(5,5);a.firstChild.appendChild(k);var u=document.createElement("div");u.style.textAlign="center";u.style.padding="4px";u.style.width="100%";u.innerHTML="1x1";a.firstChild.appendChild(u);var w=null,y=null;mxEvent.addGestureListeners(k,null,null,mxUtils.bind(this,function(A){var F=g(A);null!=y&&null!=w&&F&&(b(A,w.sectionRowIndex+1,y.cellIndex+1,h.checked,l.checked),window.setTimeout(mxUtils.bind(this,function(){this.editorUi.hideCurrentMenu()}),0))}));mxEvent.addListener(k,"mouseover",g)};-Menus.prototype.edgeStyleChange=function(a,b,e,f,g,d,h,l){return this.showIconOnly(a.addItem(b,l,mxUtils.bind(this,function(){var r=this.editorUi.editor.graph;r.stopEditing(!1);r.getModel().beginUpdate();try{for(var k=r.getSelectionCells(),u=[],w=0;w<k.length;w++){var y=k[w];if(r.getModel().isEdge(y)){if(h){var A=r.getCellGeometry(y);null!=A&&(A=A.clone(),A.points=null,r.getModel().setGeometry(y,A))}for(var G=0;G<e.length;G++)r.setCellStyles(e[G],f[G],[y]);u.push(y)}}this.editorUi.fireEvent(new mxEventObject("styleChanged",-"cells",u,"keys",e,"values",f,"force",0==k.length))}finally{r.getModel().endUpdate()}}),d,g))};Menus.prototype.showIconOnly=function(a){var b=a.getElementsByTagName("td");for(i=0;i<b.length;i++)"mxPopupMenuItem"==b[i].getAttribute("class")&&(b[i].style.display="none");return a};-Menus.prototype.styleChange=function(a,b,e,f,g,d,h,l,r,k){var u=this.createStyleChangeFunction(e,f);a=a.addItem(b,k,mxUtils.bind(this,function(){var w=this.editorUi.editor.graph;null!=h&&w.cellEditor.isContentEditing()?h():u(l)}),d,g);r&&this.showIconOnly(a);return a};+Menus.prototype.edgeStyleChange=function(a,b,e,f,g,d,h,l){return this.showIconOnly(a.addItem(b,l,mxUtils.bind(this,function(){var q=this.editorUi.editor.graph;q.stopEditing(!1);q.getModel().beginUpdate();try{for(var k=q.getSelectionCells(),u=[],w=0;w<k.length;w++){var y=k[w];if(q.getModel().isEdge(y)){if(h){var A=q.getCellGeometry(y);null!=A&&(A=A.clone(),A.points=null,q.getModel().setGeometry(y,A))}for(var F=0;F<e.length;F++)q.setCellStyles(e[F],f[F],[y]);u.push(y)}}this.editorUi.fireEvent(new mxEventObject("styleChanged",+"cells",u,"keys",e,"values",f,"force",0==k.length))}finally{q.getModel().endUpdate()}}),d,g))};Menus.prototype.showIconOnly=function(a){var b=a.getElementsByTagName("td");for(i=0;i<b.length;i++)"mxPopupMenuItem"==b[i].getAttribute("class")&&(b[i].style.display="none");return a};+Menus.prototype.styleChange=function(a,b,e,f,g,d,h,l,q,k){var u=this.createStyleChangeFunction(e,f);a=a.addItem(b,k,mxUtils.bind(this,function(){var w=this.editorUi.editor.graph;null!=h&&w.cellEditor.isContentEditing()?h():u(l)}),d,g);q&&this.showIconOnly(a);return a};Menus.prototype.createStyleChangeFunction=function(a,b){return mxUtils.bind(this,function(e){var f=this.editorUi.editor.graph;f.stopEditing(!1);f.getModel().beginUpdate();try{for(var g=f.getEditableCells(f.getSelectionCells()),d=!1,h=0;h<a.length;h++)if(f.setCellStyles(a[h],b[h],g),a[h]==mxConstants.STYLE_ALIGN&&f.updateLabelElements(g,function(l){l.removeAttribute("align");l.style.textAlign=null}),a[h]==mxConstants.STYLE_FONTFAMILY||"fontSource"==a[h])d=!0;if(d)for(d=0;d<g.length;d++)0==f.model.getChildCount(g[d])&&f.autoSizeCell(g[d],!1);null!=e&&e();this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",a,"values",b,"cells",g))}finally{f.getModel().endUpdate()}})};-Menus.prototype.promptChange=function(a,b,e,f,g,d,h,l,r,k){return a.addItem(b,null,mxUtils.bind(this,function(){var u=this.editorUi.editor.graph,w=f,y=u.getView().getState(u.getSelectionCell());null!=y&&(w=y.style[g]||w);var A=null!=k?k():!0;w=new FilenameDialog(this.editorUi,w,mxResources.get("apply"),mxUtils.bind(this,function(G){if(null!=G&&0<G.length){if(A){u.getModel().beginUpdate();try{u.stopEditing(!1),u.setCellStyles(g,G)}finally{u.getModel().endUpdate()}}null!=l&&l(G)}}),mxResources.get("enterValue")+-(0<e.length?" "+e:""),null,null,null,null,function(){null!=l&&null!=k&&l(null)});this.editorUi.showDialog(w.container,300,80,!0,!0);w.init()}),d,r,h)};+Menus.prototype.promptChange=function(a,b,e,f,g,d,h,l,q,k){return a.addItem(b,null,mxUtils.bind(this,function(){var u=this.editorUi.editor.graph,w=f,y=u.getView().getState(u.getSelectionCell());null!=y&&(w=y.style[g]||w);var A=null!=k?k():!0;w=new FilenameDialog(this.editorUi,w,mxResources.get("apply"),mxUtils.bind(this,function(F){if(null!=F&&0<F.length){if(A){u.getModel().beginUpdate();try{u.stopEditing(!1),u.setCellStyles(g,F)}finally{u.getModel().endUpdate()}}null!=l&&l(F)}}),mxResources.get("enterValue")++(0<e.length?" "+e:""),null,null,null,null,function(){null!=l&&null!=k&&l(null)});this.editorUi.showDialog(w.container,300,80,!0,!0);w.init()}),d,q,h)};Menus.prototype.pickColor=function(a,b,e,f,g,d){this.editorUi.tryAndHandle(mxUtils.bind(this,function(){var h=this.editorUi.editor.graph;if(null!=b&&h.cellEditor.isContentEditing()){var l=h.getSelectedEditingElement();null!=l&&null!=h.cellEditor.textarea&&(l=h.getTextColor(l,"forecolor"==b),this.editorUi.pickColor(l,mxUtils.bind(this,function(k){null!=h.cellEditor.textarea&&(Graph.setTextColor(h.cellEditor.textarea,k,"forecolor"==b),this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",-["forecolor"==b?mxConstants.STYLE_FONTCOLOR:mxConstants.STYLE_LABEL_BACKGROUNDCOLOR],"values",[k],"cells",[h.cellEditor.getEditingCell()])))}),f,g,d))}else{var r=h.getCellStyle(h.getSelectionCell(),!1);l=mxConstants.NONE;null!=r&&(l=r[a]||l);this.editorUi.pickColor(l,ColorDialog.createApplyFunction(this.editorUi,a),f,g,d)}}))};+["forecolor"==b?mxConstants.STYLE_FONTCOLOR:mxConstants.STYLE_LABEL_BACKGROUNDCOLOR],"values",[k],"cells",[h.cellEditor.getEditingCell()])))}),f,g,d))}else{var q=h.getCellStyle(h.getSelectionCell(),!1);l=mxConstants.NONE;null!=q&&(l=q[a]||l);this.editorUi.pickColor(l,ColorDialog.createApplyFunction(this.editorUi,a),f,g,d)}}))};Menus.prototype.toggleStyle=function(a,b){var e=this.editorUi.editor.graph;b=e.toggleCellStyles(a,b);this.editorUi.fireEvent(new mxEventObject("styleChanged","keys",[a],"values",[b],"cells",e.getSelectionCells()))};-Menus.prototype.addMenuItem=function(a,b,e,f,g,d){var h=this.editorUi.actions.get(b);return null!=h&&(a.showDisabled||h.isEnabled())&&h.visible?(b=a.addItem(d||h.getTitle(),null,mxUtils.bind(this,function(l){try{h.funct(f,l)}catch(r){this.editorUi.handleError(r)}}),e,g,h.isEnabled()),h.toggleAction&&h.isSelected()&&a.addCheckmark(b,Editor.checkmarkImage),this.addShortcut(b,h,a.hideShortcuts),b):null};+Menus.prototype.addMenuItem=function(a,b,e,f,g,d){var h=this.editorUi.actions.get(b);return null!=h&&(a.showDisabled||h.isEnabled())&&h.visible?(b=a.addItem(d||h.getTitle(),null,mxUtils.bind(this,function(l){try{h.funct(f,l)}catch(q){this.editorUi.handleError(q)}}),e,g,h.isEnabled()),h.toggleAction&&h.isSelected()&&a.addCheckmark(b,Editor.checkmarkImage),this.addShortcut(b,h,a.hideShortcuts),b):null};Menus.prototype.addShortcut=function(a,b,e){null!=b.shortcut&&(e?a.setAttribute("title",b.shortcut):(a=a.firstChild.nextSibling.nextSibling,e=document.createElement("span"),e.style.color="gray",mxUtils.write(e,b.shortcut),a.appendChild(e)))};Menus.prototype.addMenuItems=function(a,b,e,f,g){for(var d=0;d<b.length;d++)"-"==b[d]?a.addSeparator(e):this.addMenuItem(a,b[d],e,f,null!=g?g[d]:null)};Menus.prototype.createPopupMenu=function(a,b,e){a.smartSeparators=!0;a.hideShortcuts=!0;this.addPopupMenuItems(a,b,e)};Menus.prototype.addPopupMenuItems=function(a,b,e){this.isShowHistoryItems()&&this.addPopupMenuHistoryItems(a,b,e);this.addPopupMenuEditItems(a,b,e);this.isShowStyleItems()&&this.addPopupMenuStyleItems(a,b,e);this.isShowArrangeItems()&&this.addPopupMenuArrangeItems(a,b,e);this.addPopupMenuCellItems(a,b,e);this.addPopupMenuSelectionItems(a,b,e)};Menus.prototype.isShowHistoryItems=function(){return!0};Menus.prototype.addPopupMenuHistoryItems=function(a,b,e){this.editorUi.editor.graph.isSelectionEmpty()&&this.addMenuItems(a,["undo","redo"],null,e)};Menus.prototype.addPopupDeleteItem=function(a,b,e){a=this.addMenuItem(a,"delete");null!=a&&null!=a.firstChild&&null!=a.firstChild.nextSibling&&(a.firstChild.nextSibling.style.color="red",b=this.editorUi.editor.graph,1<b.getSelectionCount()&&(a.firstChild.nextSibling.innerHTML=mxUtils.htmlEntities(mxResources.get("delete")+" ("+b.getSelectionCount()+")")))};@@ -3746,7 +3746,7 @@ Menus.prototype.addPopupMenuStyleItems=function(a,b,e){1==this.editorUi.editor.gMenus.prototype.addPopupMenuArrangeItems=function(a,b,e){var f=this.editorUi.editor.graph;(1<f.getSelectionCount()||0<f.getSelectionCount()&&!f.getModel().isEdge(b)&&!f.isSwimlane(b)&&0<f.getModel().getChildCount(b)&&f.isCellEditable(b))&&this.addMenuItems(a,["group","ungroup"],null,e);b=f.getEditableCells(f.getSelectionCells()).length;1<b&&(a.addSeparator(),this.addSubmenu("align",a),this.addSubmenu("distribute",a));1<=b&&(this.addMenuItems(a,["-","toFront","toBack"],null,e),this.isShowCellEditItems()&&1==f.getSelectionCount()&&this.addMenuItems(a,["bringForward","sendBackward"],null,e))};Menus.prototype.addPopupMenuCellItems=function(a,b,e){var f=this.editorUi.editor.graph,g=this.editorUi.getSelectionState(),d=f.view.getState(b);if(null!=d){var h=f.getModel().getGeometry(b);h=null!=h&&null!=h.points&&0<h.points.length;a.addSeparator();if(this.isShowStyleItems()&&0==g.vertices.length&&0<g.edges.length&&(this.addSubmenu("line",a),"entityRelationEdgeStyle"!=mxUtils.getValue(d.style,mxConstants.STYLE_EDGE,null)&&"arrow"!=mxUtils.getValue(d.style,mxConstants.STYLE_SHAPE,null)&&(this.isShowCellEditItems()&&-0==g.vertices.length&&0<g.edges.length&&this.addMenuItem(a,"turn",null,e,null,mxResources.get("reverse")),1==f.getSelectionCount()))){d=f.selectionCellsHandler.getHandler(b);var l=!1;if(h&&d instanceof mxEdgeHandler&&null!=d.bends&&2<d.bends.length){var r=d.getHandleForEvent(f.updateMouseEvent(new mxMouseEvent(e)));0<r&&r<d.bends.length-1&&(null==d.bends[r]||null==d.bends[r].node||""==d.bends[r].node.style.opacity)&&(l=this.editorUi.actions.get("removeWaypoint"),l.handler=d,l.index=r,l=!0)}this.addMenuItems(a,+0==g.vertices.length&&0<g.edges.length&&this.addMenuItem(a,"turn",null,e,null,mxResources.get("reverse")),1==f.getSelectionCount()))){d=f.selectionCellsHandler.getHandler(b);var l=!1;if(h&&d instanceof mxEdgeHandler&&null!=d.bends&&2<d.bends.length){var q=d.getHandleForEvent(f.updateMouseEvent(new mxMouseEvent(e)));0<q&&q<d.bends.length-1&&(null==d.bends[q]||null==d.bends[q].node||""==d.bends[q].node.style.opacity)&&(l=this.editorUi.actions.get("removeWaypoint"),l.handler=d,l.index=q,l=!0)}this.addMenuItems(a,[l?"removeWaypoint":"addWaypoint"],null,e)}this.isShowCellEditItems()&&(0==g.vertices.length&&0<g.edges.length||h||f.getModel().isVertex(b)&&0<f.getModel().getEdgeCount(b))&&this.addMenuItems(a,["clearWaypoints"],null,e);this.isShowCellEditItems()&&1==f.getSelectionCount()&&f.isCellEditable(b)&&this.addPopupMenuCellEditItems(a,b,e)}};Menus.prototype.isShowCellEditItems=function(){return!0};Menus.prototype.addPopupMenuCellEditItems=function(a,b,e,f){var g=this.editorUi.editor.graph,d=g.view.getState(b);this.addMenuItems(a,["-","editStyle","editData","editLink"],f,e);g.getModel().isVertex(b)&&null!=mxUtils.getValue(d.style,mxConstants.STYLE_IMAGE,null)&&(a.addSeparator(),this.addMenuItem(a,"image",f,e).firstChild.nextSibling.innerHTML=mxResources.get("editImage")+"...",this.addMenuItem(a,"crop",f,e));g.getModel().isVertex(b)&&g.isCellConnectable(b)&&this.addMenuItem(a,"editConnectionPoints",f,e)};Menus.prototype.addPopupMenuSelectionItems=function(a,b,e){this.editorUi.editor.graph.isSelectionEmpty()&&this.addMenuItems(a,["-","selectAll","selectVertices","selectEdges"],null,e)};@@ -3762,144 +3762,145 @@ this.addTableDropDown();g.setAttribute("data-min-width",360);this.addSeparator(nToolbar.prototype.addTableDropDown=function(){var a=this.addMenu(new Menu(mxUtils.bind(this,function(e){this.editorUi.menus.addInsertTableCellItem(e)})),null,Editor.tableImage),b=this.editorUi.menus.get("insert");null!=b&&"function"===typeof a.setEnabled&&b.addListener("stateChanged",function(){a.setEnabled(b.enabled)});return a};Toolbar.prototype.setFontName=function(a){if(null!=this.fontMenu){this.fontMenu.innerText="";var b=document.createElement("span");mxUtils.write(b,a);this.fontMenu.appendChild(b);this.appendDropDownImageHtml(this.fontMenu)}};Toolbar.prototype.setFontSize=function(a){if(null!=this.sizeMenu){this.sizeMenu.innerText="";var b=document.createElement("span");mxUtils.write(b,a);this.sizeMenu.appendChild(b);this.appendDropDownImageHtml(this.sizeMenu)}};Toolbar.prototype.createTextToolbar=function(){var a=this.editorUi,b=a.editor.graph,e=this.addMenu(this.editorUi.menus.get("formatBlock"),"");e.style.width="54px";e.setAttribute("data-min-width",360);this.appendDropDownImageHtml(e);this.addSeparator(null,360);var f=this.addMenu(this.editorUi.menus.get("fontFamily"),"");this.fontMenu=f;this.fontMenu.style.width="82px";this.fontMenu.setAttribute("data-min-width",240);this.setFontName(Menus.prototype.defaultFont);this.addSeparator(null,280);var g=this.addMenu(this.editorUi.menus.get("fontSize"),-Menus.prototype.defaultFontSize);this.sizeMenu=g;this.sizeMenu.style.width="36px";this.sizeMenu.setAttribute("data-min-width",280);this.setFontSize(Menus.prototype.defaultFontSize);this.addItems(["-","undo","redo"],null,null,[null,Editor.undoImage,Editor.redoImage],560);this.addItems(["-","bold","italic","underline"],null,null,[null,Editor.boldImage,Editor.italicImage,Editor.underlineImage],460);this.addMenu(new Menu(mxUtils.bind(this,function(r){elt=r.addItem("",Editor.alignLeftImage,mxUtils.bind(this,-function(k){b.cellEditor.alignText(mxConstants.ALIGN_LEFT,k);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_LEFT],"cells",[b.cellEditor.getEditingCell()]))}));elt.setAttribute("title",mxResources.get("left"));elt=r.addItem("",Editor.alignCenterImage,mxUtils.bind(this,function(k){b.cellEditor.alignText(mxConstants.ALIGN_CENTER,k);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_CENTER],-"cells",[b.cellEditor.getEditingCell()]))}));elt.setAttribute("title",mxResources.get("center"));elt=r.addItem("",Editor.alignRightImage,mxUtils.bind(this,function(k){b.cellEditor.alignText(mxConstants.ALIGN_RIGHT,k);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_RIGHT],"cells",[b.cellEditor.getEditingCell()]))}));elt.setAttribute("title",mxResources.get("right"));elt=r.addItem("",Editor.alignJustifyImage,mxUtils.bind(this,function(){document.execCommand("justifyfull",-!1,null)}));elt.setAttribute("title",mxResources.get("justifyfull"));elt=r.addItem("",Editor.orderedListImage,mxUtils.bind(this,function(){document.execCommand("insertorderedlist",!1,null)}));elt.setAttribute("title",mxResources.get("numberedList"));elt=r.addItem("",Editor.unorderedListImage,mxUtils.bind(this,function(){document.execCommand("insertunorderedlist",!1,null)}));elt.setAttribute("title",mxResources.get("bulletedList"));elt=r.addItem("",Editor.indentImage,mxUtils.bind(this,function(){document.execCommand("indent",-!1,null)}));elt.setAttribute("title",mxResources.get("increaseIndent"));elt=r.addItem("",Editor.outdentImage,mxUtils.bind(this,function(){document.execCommand("outdent",!1,null)}));elt.setAttribute("title",mxResources.get("decreaseIndent"))})),null,Editor.alignLeftImage).setAttribute("data-min-width",600);var d=this.addMenu(new Menu(mxUtils.bind(this,function(r){elt=r.addItem("",Editor.subscriptImage,this.editorUi.actions.get("subscript").funct);elt.setAttribute("title",mxResources.get("subscript")+-" ("+Editor.ctrlKey+"+,)");elt=r.addItem("",Editor.superscriptImage,this.editorUi.actions.get("superscript").funct);elt.setAttribute("title",mxResources.get("superscript")+" ("+Editor.ctrlKey+"+.)");elt=r.addItem("",Editor.fontColorImage,this.editorUi.actions.get("fontColor").funct);elt.setAttribute("title",mxResources.get("fontColor"));elt=r.addItem("",Editor.backgroundColorImage,this.editorUi.actions.get("backgroundColor").funct);elt.setAttribute("title",mxResources.get("backgroundColor"));elt=-r.addItem("",Editor.removeFormatImage,mxUtils.bind(this,function(){document.execCommand("removeformat",!1,null)}));elt.setAttribute("title",mxResources.get("removeFormat"))})),null,Editor.textFormatImage);d.setAttribute("data-min-width",640);this.addSeparator(null,780);this.editorUi.addButton(Editor.codeImage,mxResources.get("html"),function(){b.cellEditor.toggleViewMode();0<b.cellEditor.textarea.innerHTML.length&&(" "!=b.cellEditor.textarea.innerHTML||!b.cellEditor.clearOnChange)&&window.setTimeout(function(){document.execCommand("selectAll",-!1,null)})},this.container).setAttribute("data-min-width",780);this.addSeparator(null,740);var h=this.addMenu(new Menu(mxUtils.bind(this,function(r){r.addItem(mxResources.get("insertLink"),null,mxUtils.bind(this,function(){this.editorUi.actions.get("link").funct()}));r.addItem(mxResources.get("insertImage"),null,mxUtils.bind(this,function(){this.editorUi.actions.get("image").funct()}));r.addItem(mxResources.get("insertHorizontalRule"),null,mxUtils.bind(this,function(){document.execCommand("inserthorizontalrule",-!1,null)}))})),null,Editor.plusImage);h.setAttribute("data-min-width",700);this.addSeparator(null,700);var l=this.addMenu(new Menu(mxUtils.bind(this,function(r){var k=b.getSelectedElement(),u=b.getParentByNames(k,["TD","TH"],b.cellEditor.text2),w=b.getParentByName(k,"TR",b.cellEditor.text2);if(null==w)this.editorUi.menus.addInsertTableItem(r);else{var y=b.getParentByName(w,"TABLE",b.cellEditor.text2);k=r.addItem("",Editor.addColumnLeftImage,mxUtils.bind(this,function(){try{b.selectNode(b.insertColumn(y,-null!=u?u.cellIndex:0))}catch(A){this.editorUi.handleError(A)}}));k.setAttribute("title",mxResources.get("insertColumnBefore"));k=r.addItem("",Editor.addColumnRightImage,mxUtils.bind(this,function(){try{b.selectNode(b.insertColumn(y,null!=u?u.cellIndex+1:-1))}catch(A){this.editorUi.handleError(A)}}));k.setAttribute("title",mxResources.get("insertColumnAfter"));k=r.addItem("Delete column",Editor.removeColumnImage,mxUtils.bind(this,function(){if(null!=u)try{b.deleteColumn(y,u.cellIndex)}catch(A){this.editorUi.handleError(A)}}));-k.setAttribute("title",mxResources.get("deleteColumn"));k=r.addItem("",Editor.addRowAboveImage,mxUtils.bind(this,function(){try{b.selectNode(b.insertRow(y,w.sectionRowIndex))}catch(A){this.editorUi.handleError(A)}}));k.setAttribute("title",mxResources.get("insertRowBefore"));k=r.addItem("",Editor.addRowBelowImage,mxUtils.bind(this,function(){try{b.selectNode(b.insertRow(y,w.sectionRowIndex+1))}catch(A){this.editorUi.handleError(A)}}));k.setAttribute("title",mxResources.get("insertRowAfter"));k=r.addItem("",-Editor.removeRowImage,mxUtils.bind(this,function(){try{b.deleteRow(y,w.sectionRowIndex)}catch(A){this.editorUi.handleError(A)}}));k.setAttribute("title",mxResources.get("deleteRow"));k=r.addItem("",Editor.strokeColorImage,mxUtils.bind(this,function(){var A=y.style.borderColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(G,D,F,H){return"#"+("0"+Number(D).toString(16)).substr(-2)+("0"+Number(F).toString(16)).substr(-2)+("0"+Number(H).toString(16)).substr(-2)});this.editorUi.pickColor(A,-function(G){null==G||G==mxConstants.NONE?(y.removeAttribute("border"),y.style.border="",y.style.borderCollapse=""):(y.setAttribute("border","1"),y.style.border="1px solid "+G,y.style.borderCollapse="collapse")})}));k.setAttribute("title",mxResources.get("borderColor"));k=r.addItem("",Editor.fillColorImage,mxUtils.bind(this,function(){var A=y.style.backgroundColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(G,D,F,H){return"#"+("0"+Number(D).toString(16)).substr(-2)+("0"+Number(F).toString(16)).substr(-2)+-("0"+Number(H).toString(16)).substr(-2)});this.editorUi.pickColor(A,function(G){y.style.backgroundColor=null==G||G==mxConstants.NONE?"":G})}));k.setAttribute("title",mxResources.get("backgroundColor"));k=r.addItem("",Editor.spacingImage,mxUtils.bind(this,function(){var A=y.getAttribute("cellPadding")||0;A=new FilenameDialog(this.editorUi,A,mxResources.get("apply"),mxUtils.bind(this,function(G){null!=G&&0<G.length?y.setAttribute("cellPadding",G):y.removeAttribute("cellPadding")}),mxResources.get("spacing"));-this.editorUi.showDialog(A.container,300,80,!0,!0);A.init()}));k.setAttribute("title",mxResources.get("spacing"));k=r.addItem("",Editor.alignLeftImage,mxUtils.bind(this,function(){y.setAttribute("align","left")}));k.setAttribute("title",mxResources.get("left"));k=r.addItem("",Editor.alignCenterImage,mxUtils.bind(this,function(){y.setAttribute("align","center")}));k.setAttribute("title",mxResources.get("center"));k=r.addItem("",Editor.alignRightImage,mxUtils.bind(this,function(){y.setAttribute("align",+Menus.prototype.defaultFontSize);this.sizeMenu=g;this.sizeMenu.style.width="36px";this.sizeMenu.setAttribute("data-min-width",280);this.setFontSize(Menus.prototype.defaultFontSize);this.addItems(["-","undo","redo"],null,null,[null,Editor.undoImage,Editor.redoImage],560);this.addItems(["-","bold","italic","underline"],null,null,[null,Editor.boldImage,Editor.italicImage,Editor.underlineImage],460);this.addMenu(new Menu(mxUtils.bind(this,function(q){elt=q.addItem("",Editor.alignLeftImage,mxUtils.bind(this,+function(k){b.cellEditor.alignText(mxConstants.ALIGN_LEFT,k);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_LEFT],"cells",[b.cellEditor.getEditingCell()]))}));elt.setAttribute("title",mxResources.get("left"));elt=q.addItem("",Editor.alignCenterImage,mxUtils.bind(this,function(k){b.cellEditor.alignText(mxConstants.ALIGN_CENTER,k);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_CENTER],+"cells",[b.cellEditor.getEditingCell()]))}));elt.setAttribute("title",mxResources.get("center"));elt=q.addItem("",Editor.alignRightImage,mxUtils.bind(this,function(k){b.cellEditor.alignText(mxConstants.ALIGN_RIGHT,k);a.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_ALIGN],"values",[mxConstants.ALIGN_RIGHT],"cells",[b.cellEditor.getEditingCell()]))}));elt.setAttribute("title",mxResources.get("right"));elt=q.addItem("",Editor.alignJustifyImage,mxUtils.bind(this,function(){document.execCommand("justifyfull",+!1,null)}));elt.setAttribute("title",mxResources.get("justifyfull"));elt=q.addItem("",Editor.orderedListImage,mxUtils.bind(this,function(){document.execCommand("insertorderedlist",!1,null)}));elt.setAttribute("title",mxResources.get("numberedList"));elt=q.addItem("",Editor.unorderedListImage,mxUtils.bind(this,function(){document.execCommand("insertunorderedlist",!1,null)}));elt.setAttribute("title",mxResources.get("bulletedList"));elt=q.addItem("",Editor.indentImage,mxUtils.bind(this,function(){document.execCommand("indent",+!1,null)}));elt.setAttribute("title",mxResources.get("increaseIndent"));elt=q.addItem("",Editor.outdentImage,mxUtils.bind(this,function(){document.execCommand("outdent",!1,null)}));elt.setAttribute("title",mxResources.get("decreaseIndent"))})),null,Editor.alignLeftImage).setAttribute("data-min-width",600);var d=this.addMenu(new Menu(mxUtils.bind(this,function(q){elt=q.addItem("",Editor.subscriptImage,this.editorUi.actions.get("subscript").funct);elt.setAttribute("title",mxResources.get("subscript")++" ("+Editor.ctrlKey+"+,)");elt=q.addItem("",Editor.superscriptImage,this.editorUi.actions.get("superscript").funct);elt.setAttribute("title",mxResources.get("superscript")+" ("+Editor.ctrlKey+"+.)");elt=q.addItem("",Editor.fontColorImage,this.editorUi.actions.get("fontColor").funct);elt.setAttribute("title",mxResources.get("fontColor"));elt=q.addItem("",Editor.backgroundColorImage,this.editorUi.actions.get("backgroundColor").funct);elt.setAttribute("title",mxResources.get("backgroundColor"));elt=+q.addItem("",Editor.removeFormatImage,mxUtils.bind(this,function(){document.execCommand("removeformat",!1,null)}));elt.setAttribute("title",mxResources.get("removeFormat"))})),null,Editor.textFormatImage);d.setAttribute("data-min-width",640);this.addSeparator(null,780);this.editorUi.addButton(Editor.codeImage,mxResources.get("html"),function(){b.cellEditor.toggleViewMode();0<b.cellEditor.textarea.innerHTML.length&&(" "!=b.cellEditor.textarea.innerHTML||!b.cellEditor.clearOnChange)&&window.setTimeout(function(){document.execCommand("selectAll",+!1,null)})},this.container).setAttribute("data-min-width",780);this.addSeparator(null,740);var h=this.addMenu(new Menu(mxUtils.bind(this,function(q){q.addItem(mxResources.get("insertLink"),null,mxUtils.bind(this,function(){this.editorUi.actions.get("link").funct()}));q.addItem(mxResources.get("insertImage"),null,mxUtils.bind(this,function(){this.editorUi.actions.get("image").funct()}));q.addItem(mxResources.get("insertHorizontalRule"),null,mxUtils.bind(this,function(){document.execCommand("inserthorizontalrule",+!1,null)}))})),null,Editor.plusImage);h.setAttribute("data-min-width",700);this.addSeparator(null,700);var l=this.addMenu(new Menu(mxUtils.bind(this,function(q){var k=b.getSelectedElement(),u=b.getParentByNames(k,["TD","TH"],b.cellEditor.text2),w=b.getParentByName(k,"TR",b.cellEditor.text2);if(null==w)this.editorUi.menus.addInsertTableItem(q);else{var y=b.getParentByName(w,"TABLE",b.cellEditor.text2);k=q.addItem("",Editor.addColumnLeftImage,mxUtils.bind(this,function(){try{b.selectNode(b.insertColumn(y,+null!=u?u.cellIndex:0))}catch(A){this.editorUi.handleError(A)}}));k.setAttribute("title",mxResources.get("insertColumnBefore"));k=q.addItem("",Editor.addColumnRightImage,mxUtils.bind(this,function(){try{b.selectNode(b.insertColumn(y,null!=u?u.cellIndex+1:-1))}catch(A){this.editorUi.handleError(A)}}));k.setAttribute("title",mxResources.get("insertColumnAfter"));k=q.addItem("Delete column",Editor.removeColumnImage,mxUtils.bind(this,function(){if(null!=u)try{b.deleteColumn(y,u.cellIndex)}catch(A){this.editorUi.handleError(A)}}));+k.setAttribute("title",mxResources.get("deleteColumn"));k=q.addItem("",Editor.addRowAboveImage,mxUtils.bind(this,function(){try{b.selectNode(b.insertRow(y,w.sectionRowIndex))}catch(A){this.editorUi.handleError(A)}}));k.setAttribute("title",mxResources.get("insertRowBefore"));k=q.addItem("",Editor.addRowBelowImage,mxUtils.bind(this,function(){try{b.selectNode(b.insertRow(y,w.sectionRowIndex+1))}catch(A){this.editorUi.handleError(A)}}));k.setAttribute("title",mxResources.get("insertRowAfter"));k=q.addItem("",+Editor.removeRowImage,mxUtils.bind(this,function(){try{b.deleteRow(y,w.sectionRowIndex)}catch(A){this.editorUi.handleError(A)}}));k.setAttribute("title",mxResources.get("deleteRow"));k=q.addItem("",Editor.strokeColorImage,mxUtils.bind(this,function(){var A=y.style.borderColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(F,D,G,H){return"#"+("0"+Number(D).toString(16)).substr(-2)+("0"+Number(G).toString(16)).substr(-2)+("0"+Number(H).toString(16)).substr(-2)});this.editorUi.pickColor(A,+function(F){null==F||F==mxConstants.NONE?(y.removeAttribute("border"),y.style.border="",y.style.borderCollapse=""):(y.setAttribute("border","1"),y.style.border="1px solid "+F,y.style.borderCollapse="collapse")})}));k.setAttribute("title",mxResources.get("borderColor"));k=q.addItem("",Editor.fillColorImage,mxUtils.bind(this,function(){var A=y.style.backgroundColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(F,D,G,H){return"#"+("0"+Number(D).toString(16)).substr(-2)+("0"+Number(G).toString(16)).substr(-2)++("0"+Number(H).toString(16)).substr(-2)});this.editorUi.pickColor(A,function(F){y.style.backgroundColor=null==F||F==mxConstants.NONE?"":F})}));k.setAttribute("title",mxResources.get("backgroundColor"));k=q.addItem("",Editor.spacingImage,mxUtils.bind(this,function(){var A=y.getAttribute("cellPadding")||0;A=new FilenameDialog(this.editorUi,A,mxResources.get("apply"),mxUtils.bind(this,function(F){null!=F&&0<F.length?y.setAttribute("cellPadding",F):y.removeAttribute("cellPadding")}),mxResources.get("spacing"));+this.editorUi.showDialog(A.container,300,80,!0,!0);A.init()}));k.setAttribute("title",mxResources.get("spacing"));k=q.addItem("",Editor.alignLeftImage,mxUtils.bind(this,function(){y.setAttribute("align","left")}));k.setAttribute("title",mxResources.get("left"));k=q.addItem("",Editor.alignCenterImage,mxUtils.bind(this,function(){y.setAttribute("align","center")}));k.setAttribute("title",mxResources.get("center"));k=q.addItem("",Editor.alignRightImage,mxUtils.bind(this,function(){y.setAttribute("align","right")}));k.setAttribute("title",mxResources.get("right"))}})),null,Editor.tableImage);l.setAttribute("data-min-width",740);this.editorUi.dependsOnLanguage(mxUtils.bind(this,function(){e.innerText=mxResources.get("style");d.setAttribute("title",mxResources.get("format"));e.setAttribute("title",mxResources.get("style"));f.setAttribute("title",mxResources.get("fontFamily"));g.setAttribute("title",mxResources.get("fontSize"));h.setAttribute("title",mxResources.get("insert"));l.setAttribute("title",mxResources.get("table"))}))};Toolbar.prototype.hideMenu=function(){this.editorUi.hideCurrentMenu()};Toolbar.prototype.setMenuText=function(a,b){a.getElementsByTagName("span")[0].innerText=b};Toolbar.prototype.setMenuIcon=function(a,b){a.style.backgroundImage="url("+b+")"};Toolbar.prototype.addMenu=function(a,b,e,f){var g=this.editorUi.createMenuElement("",a.funct);this.editorUi.menus.menuCreated(a,g,"geButton");null!=e?g.style.backgroundImage="url("+e+")":null!=b&&(a=document.createElement("span"),mxUtils.write(a,b),g.appendChild(a));f=null!=f?f:this.container;f.appendChild(g);return g};Toolbar.prototype.addSeparator=function(a,b){a=null!=a?a:this.container;var e=document.createElement("div");e.className="geSeparator";a.appendChild(e);null!=b&&e.setAttribute("data-min-width",b);return e};Toolbar.prototype.addItems=function(a,b,e,f,g){for(var d=[],h=0;h<a.length;h++){var l=a[h];"-"==l?d.push(this.addSeparator(b,g)):(l=this.addItem(null!=f?f[h]:null,l,b,e),null!=l&&(d.push(l),null!=g&&l.setAttribute("data-min-width",g)))}return d};Toolbar.prototype.addItem=function(a,b,e){var f=this.editorUi.actions.get(b),g=null;null!=f&&(g=this.editorUi.addButton(a,"",f.funct,null!=e?e:this.container),this.editorUi.dependsOnLanguage(mxUtils.bind(this,function(){var d=f.getTitle();null!=f.shortcut&&(d+=" ("+f.shortcut+")");g.setAttribute("title",d)})),a=mxUtils.bind(this,function(){f.enabled?g.removeAttribute("disabled"):g.setAttribute("disabled","disabled")}),f.addListener("stateChanged",a),a());return g};-Toolbar.prototype.destroy=function(){null!=this.gestureHandler&&(mxEvent.removeGestureListeners(document,this.gestureHandler),this.gestureHandler=null)};var OpenDialog=function(){var a=document.createElement("iframe");a.style.backgroundColor="transparent";a.allowTransparency="true";a.style.borderStyle="none";a.style.borderWidth="0px";a.style.overflow="hidden";a.style.maxWidth="100%";a.frameBorder="0";a.setAttribute("width",(Editor.useLocalStorage?640:320)+"px");a.setAttribute("height",(Editor.useLocalStorage?480:220)+"px");a.setAttribute("src",OPEN_FORM);this.container=a},ColorPicker=function(){function a(D,F,H){if(null==D)return[H,H,H];var M=Math.floor(D),-N=H*(1-F);D=H*(1-F*(M%2?D-M:1-(D-M)));switch(M){case 6:case 0:return[H,D,N];case 1:return[D,H,N];case 2:return[N,H,D];case 3:return[N,D,H];case 4:return[D,N,H];case 5:return[H,N,D]}}mxEventSource.call(this);var b=document.createElement("div");b.style.overflow="visible";b.style.position="relative";b.style.top="0px";b.style.left="0px";b.style.width="230px";b.style.height="114px";var e=document.createElement("div");e.style.border="1px solid light-dark(black, white)";e.style.backgroundImage="url("+this.hsImage++Toolbar.prototype.destroy=function(){null!=this.gestureHandler&&(mxEvent.removeGestureListeners(document,this.gestureHandler),this.gestureHandler=null)};var OpenDialog=function(){var a=document.createElement("iframe");a.style.backgroundColor="transparent";a.allowTransparency="true";a.style.borderStyle="none";a.style.borderWidth="0px";a.style.overflow="hidden";a.style.maxWidth="100%";a.frameBorder="0";a.setAttribute("width",(Editor.useLocalStorage?640:320)+"px");a.setAttribute("height",(Editor.useLocalStorage?480:220)+"px");a.setAttribute("src",OPEN_FORM);this.container=a},ColorPicker=function(){function a(D,G,H){if(null==D)return[H,H,H];var M=Math.floor(D),+N=H*(1-G);D=H*(1-G*(M%2?D-M:1-(D-M)));switch(M){case 6:case 0:return[H,D,N];case 1:return[D,H,N];case 2:return[N,H,D];case 3:return[N,D,H];case 4:return[D,N,H];case 5:return[H,N,D]}}mxEventSource.call(this);var b=document.createElement("div");b.style.overflow="visible";b.style.position="relative";b.style.top="0px";b.style.left="0px";b.style.width="230px";b.style.height="114px";var e=document.createElement("div");e.style.border="1px solid light-dark(black, white)";e.style.backgroundImage="url("+this.hsImage+")";e.style.position="absolute";e.style.overflow="hidden";e.style.cursor="crosshair";e.style.width="181px";e.style.height="101px";e.style.left="6px";e.style.top="4px";var f=document.createElement("div");f.style.background="url("+this.crossImage+")";f.style.pointerEvents="none";f.style.position="absolute";f.style.width="15px";f.style.height="15px";f.style.left="-8px";f.style.top="-8px";var g=[0,0,1],d=1;e.appendChild(f);b.appendChild(e);sliderBox=document.createElement("div");sliderBox.style.position=-"absolute";sliderBox.style.cursor="pointer";sliderBox.style.width="38px";sliderBox.style.height="110px";sliderBox.style.left="199px";sliderBox.style.top="4px";var h=document.createElement("div");h.style.border="1px solid light-dark(black, white)";h.style.pointerEvents="none";h.style.overflow="hidden";h.style.position="absolute";h.style.width="16px";h.style.height="101px";h.style.left="9px";h.style.top="0px";var l=!1,r=!1,k=mxUtils.bind(this,function(D){var F=Math.round(100*(1-g[1]));f.style.left=-Math.round(g[0]/6*180)-8+"px";f.style.top=F-8+"px";F=h.childNodes;var H=a(g[0],g[1],1);if(null!=H){for(var M=0;M<F.length;M++)F[M].style.backgroundColor="rgb("+H[0]*(1-M/F.length)*255+", "+H[1]*(1-M/F.length)*255+", "+H[2]*(1-M/F.length)*255+")";G.style.top=Math.round(100*(1-g[2]))-4+"px";F=a(g[0],g[1],g[2]);F="#"+("0"+Math.round(255*F[0]).toString(16)).slice(-2)+("0"+Math.round(255*F[1]).toString(16)).slice(-2)+("0"+Math.round(255*F[2]).toString(16)).slice(-2)+(1>d?("0"+Math.round(255*d).toString(16)).slice(-2):-"");1!=D&&this.fireEvent(new mxEventObject("change","color",mxUtils.rgba2hex(F)))}}),u=mxUtils.bind(this,function(D){0==g[2]&&(g[2]=1);l=!0;y(D)}),w=mxUtils.bind(this,function(D){r=!0;y(D)}),y=mxUtils.bind(this,function(D){if(l){var F=e.getBoundingClientRect(),H=mxEvent.getClientX(D)-F.left;D=mxEvent.getClientY(D)-F.top;f.style.left=H-8+"px";f.style.top=D-8+"px";H*=6/180;D=1-D/100;F=void 0;0>H&&(H=0);6<H&&(H=6);0>D&&(D=0);1<D&&(D=1);0>F&&(F=0);1<F&&(F=1);H=a(null==H?g[0]:g[0]=H,null==D?g[1]:g[1]=-D,null==F?g[2]:g[2]=F);this.fromString("#"+("0"+Math.floor(255*H[0]).toString(16)).slice(-2)+("0"+Math.floor(255*H[1]).toString(16)).slice(-2)+("0"+Math.floor(255*H[2]).toString(16)).slice(-2)+(1>d?("0"+Math.round(255*d).toString(16)).slice(-2):""))}else r&&(F=sliderBox.getBoundingClientRect(),D=mxEvent.getClientY(D)-F.top,g[2]=Math.max(Math.min(1,1-D/100),0),k())}),A=mxUtils.bind(this,function(){l=r=!1});mxEvent.addGestureListeners(e,u);mxEvent.addGestureListeners(sliderBox,w);mxEvent.addGestureListeners(b,-null,y,A);mxEvent.addListener(b,"mouseleave",A);for(u=0;101>u;u+=4)w=document.createElement("div"),w.style.height="4px",w.style.pointerEvents="none",h.appendChild(w);b.appendChild(h);var G=document.createElement("div");G.style.background="url("+this.arrowImage+")";G.style.position="absolute";G.style.pointerEvents="none";G.style.width="7px";G.style.height="11px";G.style.left="2px";G.style.top="-3px";sliderBox.appendChild(G);sliderBox.appendChild(h);b.appendChild(sliderBox);this.fromString=function(D,-F){F=null!=F?F:!1;if(null==D||""==D||mxUtils.isVarColor(D)||D==mxConstants.NONE)D="#ffffff",F=!0;D=mxUtils.parseColor(D);var H=D.r/255,M=D.g/255,N=D.b/255,K=Math.min(Math.min(H,M),N);var T=Math.max(Math.max(H,M),N);var W=T-K;0===W?T=[null,0,T]:(H=H===K?3+(N-M)/W:M===K?5+(H-N)/W:1+(M-H)/W,T=[6===H?0:H,W/T,T]);null!=T[0]&&(g[0]=T[0]);0!=T[2]&&(g[1]=T[1]);g[2]=T[2];d=D.a;k(F)};this.fromString("#ffffff");this.div=b};mxUtils.extend(ColorPicker,mxEventSource);ColorPicker.prototype.hsImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALUAAABlCAIAAACEDzXRAAAKQ0lEQVR42u2d23IjKwxFBeRh5v8/9uQlzXlI2gGELoCEm6pxubp6PI69WoV3C20uIQPAH4A/AH/p41/pDcTxP4BPGDtq3vYJGPpv8craeRdo/fyTI8ZhHnodOGgcV/3rnx8QI0SABO2xfAbiCfVR8Wj+CD8jenbRJNyGOxLoAaH1iLu4EUEHAv1+MsQ4zLE4AiIOcpibv4u9OET6+cP4ASnJ1JH4/G60A9km+GbBxLlpKAkADoR2JnaBrvWD/x1GCZn9EYLEHqVfI6Efx0D7E9tDF/rBSJ54l8FqTUse0J+EvxPrdK0fD4aOLXQi7zyGxMaRvvWjjH2U8o9I44OKnf+wyCpHoR/Phk6d/COq8481YrNI3/qR2B+kMl1Fl6J8o/JrU/GEA6HdiB2ha/0YBVx7rFwNHAj9JuIl6EI/qKyJug4Yvg7xA0QEpB8nQe8itoQu9EOT8M3mTsqUSUzykH6cBO1PbA9d91+ShDzV9xrtcgW21IT6L0yfcS90FKCdw+wS6Q9ISWjVfLTVVT2mdiPGGRduFKWm7dBStWlLmI0j/QExdgp7gT5qCu2BLKiLqtc94hI7PB8auQP4KuyIvSJ960fUqXWcd2F48Khr1bHSj2dDp/afmg7tMrFxpG/9mHMFuqrH3spFw0s0Bgr9OAzamdgFutaPpMuqo6WVEXWJdSL14xhof2J76MKfS2yXWGOVB1WXXGOVdxFSx587CXoLsTE0689RH7VW4RMLeKI9wPpzz4XeS2wDzdbXR52AWStjwiSAA6HdiB2h1f6cqT0whzzuzz0LejuxATTy90Xt40v7CzdGRvKS4O/zQ0AiXaRW5x/dv4vS4A/a308LYR5pFquRRvlHIrKWoCj5woCVId4eR/KPNDjURg2tdEC7rSQN5B9DYR70X5YivVxft7AyrOvrD4V2JnaBJurr+qpemLEywlRhT6qvPx16C7ExdK0fSjcj0maAzsqgBt7rfIxGP46B9iT2gi70I842bNj0U4wd/WAG/L5VP3p0W4iNoYv6Oh6eoJmSMW5laIzF8iT1TtgeV9RZoZ7QvdEUzsQu0CP+HOMKDFoZvDFg6s89CNqf2B5a4e8Hts84W0pgeohBtspBXYp8H3Tk/H23MBtHuvbn5mp7dlU9TUkP+XNJMabzHdCIbnuYDSItzZ+bdgUWrAwNPhwInRxw1/wXuYGj+4vo7flboRpjEQ6EjgojYK9/K04NFfNTauEBypXQWQLAfqQoHl9CfvpQ6C3ExtC9/q2YW2u6X1JWzfsYFPKX3L99LrQ/sT10XR+jKh+UN2AxlDOyXfLQaxxf/fkvT4d2JnaBZv258M6h4IFu2Em7/sezoLcQG0Mjfy6xrqLnVBLGWHw1i69WP5LCCn0TNEL3DLNXpCV/n5oo5jAVLY5Em6i8Pwm6uSNuCrNxpNX+nDira20qqyZriv384xhoZ2IX6Lr/wg8eiwpXYGQqPEgjsBrX+er3X46B9ie2h6bX/4i6IfcLS2mIY++7TfoCuLj6hwgN89CwBJ3Gx8rOVsn0kQ48tDS/4X1L8SzMb3BbkGdtwsD05AbP9YOU8xui+uljZei/P/3qx2HQbsSO0Ar/lveHLZYCVK4GeN1P5N+eAb2R2Aya9ueUY+8dlhLtdhWvgfEfz4AeGf9hR2wcaeTPpacvRdzLTx8J/Qq1Ij995PrJ3/mp0p8LO5YyF0s215g/9yxoZ2IXaLo+FiwtgTlvIAznp4+G3khsBk3Pf5mYvqOwMqZnNnw3i9cRDoT2JPaCZuvreskDuXkHxfQMvfbBgdBbiI2hC/3QLCg6lESZZkrfJ7nSj3gWNEMcRkYJsf5L0BXENBl1WV8/aquMLM9/eSJ0UtxZmFGGg4MigZ75ovHnvsOcUX09zRbzjCrU/K/Rev0gT2i2vu4cZrNI1+sH2e49Yb3lRC6e9fSS9ETohjj7hdkx0rQ/57/rxIrhBQdCv494Hlrtz1lo30Qjz1z+cRh02ndTNIMm1j8NxtmePs+76i+/esJHrH/6dGh/YntoRf9l2RtQWgJXzY4bdtbqx0OhnYldoHv7I79jf4+rOGGaRWr14yToLcTG0Ky/v32rjAsdX9S5vgI4ENqT2Asa7Z/9vq0yStiGNNVHkOe/RGmqwBQ0jEDHFpoJ85BLN+jPaRoHGWl2/2yx3msxVRHjZ0Td4GfV/Bf9bCM1dBiBfrHeJ1HR6dKEedDf5yPdBLilp/efC3Ribb1VxlUHGQe8iTb0598+Hdqf2B6a3b9SOerezsoIBWaJ3IBn1fp0j4PeQmwMzc5/idLK3UZWRkmKX2zA4Vc/DoPeSGwGrdvfY24RpKmVjrLuCQdCuxE7Qkv64TZ3Z44dVPrxUOh3EK9C1/lHGpz7ZzpVsYTF7K8Hyj+Ogd5FbAk9uL9H9LIyYg821sjo13gYtD+xPbRU/9Ds/b1sZTTIr5OStMGHA6GdiV2gUf2UmQcfJdUbXOoe6HoN1A0b2uQD4EBosXJqQTwKnXvXAEX+oZlfGaS9ewetDGCLeV1exH4e9Mr+2TDpv2iggYFW+LdBsTbngv/yUroGH0jleEX7MOgtxMbQ7PzKoMuajKyM8pYIiB194HnQzsQu0Gp/LvpulVHylsgK/TgG2p/YHrqXf6T3bJUBhfxFWUDPg95CbAytm/+ycasM9WOxWu0PnTniLWE2iLRi/4Z3bJXRvY76s0+Arl93I3aMNOHPBce2PdSkL7Kpnwe9l9gGutCPoFgkUtytXAGbex0vKCznSOs00o+ToLcQG0N/QErCrG6jrTIynVUDwo896vCzssPrNnAYtD+xPfR9fwmKeu/CVhm5OAn1STPkvhxBW1KXjeP60Y/DoJ2JXaAL/RCPy+PXc80L9d7OV294dVPbC/fb4EDoLcTG0IV+TCDrrIxMHIFg512BWj9OgvYk9oK+9SMoZG55q/JMiGS40/sLjacu28T3MVfd0Aha+u3QJXr+0Q//MBtHutaPQOzh3H0RBoZS5OJ/MjqJ9x2vQb7qgSuvX0StH0+FLptzrvTDh9gl0oV+iAbi2lAsqNmbK3yBAyLNdbRzW8Y6Btqf2B76A2IURE2zZY16KGfZlwqofJSL4feABka+xCNX+ekx0LuILaFr/Zit7s4ZA7y5Qg2sDr/t4zDodxCvQt/6occctDKGriMPzH85D9qN2BG61g/QwcLSVDSGl78C6LePY6A3EptBf0BKcjWWH/GqyJqoxKnMufEVBLJxAJwJ7U9sDH3fX0CxnIB4orMyuilTyRh6g+0bfDgQ2p/YHrrQD+jV6qb/SdRrMit8TRWwyEabxgFwJrQnsQt0rR+LR3VqFNiGHRBv73ge9EZiM+haPyicuRcVmIxzAMTMl9wfi3sGtBuxF3ShH92C29yJTteU+ohbRrZk3Qe9hdgY+tYPnOqanA+mTN33ZGKE06HQbsQu0LV+MF8+94rU5dK8B8/KyJaI+6D9ie2hC/3Q12QnSnYLn5p9P/6d0D7EltAh5wz/Hv8exON/LUjHOuz5CksAAAAASUVORK5CYII=";+"absolute";sliderBox.style.cursor="pointer";sliderBox.style.width="38px";sliderBox.style.height="110px";sliderBox.style.left="199px";sliderBox.style.top="4px";var h=document.createElement("div");h.style.border="1px solid light-dark(black, white)";h.style.pointerEvents="none";h.style.overflow="hidden";h.style.position="absolute";h.style.width="16px";h.style.height="101px";h.style.left="9px";h.style.top="0px";var l=!1,q=!1,k=mxUtils.bind(this,function(D){var G=Math.round(100*(1-g[1]));f.style.left=+Math.round(g[0]/6*180)-8+"px";f.style.top=G-8+"px";G=h.childNodes;var H=a(g[0],g[1],1);if(null!=H){for(var M=0;M<G.length;M++)G[M].style.backgroundColor="rgb("+H[0]*(1-M/G.length)*255+", "+H[1]*(1-M/G.length)*255+", "+H[2]*(1-M/G.length)*255+")";F.style.top=Math.round(100*(1-g[2]))-4+"px";G=a(g[0],g[1],g[2]);G="#"+("0"+Math.round(255*G[0]).toString(16)).slice(-2)+("0"+Math.round(255*G[1]).toString(16)).slice(-2)+("0"+Math.round(255*G[2]).toString(16)).slice(-2)+(1>d?("0"+Math.round(255*d).toString(16)).slice(-2):+"");1!=D&&this.fireEvent(new mxEventObject("change","color",mxUtils.rgba2hex(G)))}}),u=mxUtils.bind(this,function(D){0==g[2]&&(g[2]=1);l=!0;y(D)}),w=mxUtils.bind(this,function(D){q=!0;y(D)}),y=mxUtils.bind(this,function(D){if(l){var G=e.getBoundingClientRect(),H=mxEvent.getClientX(D)-G.left;D=mxEvent.getClientY(D)-G.top;f.style.left=H-8+"px";f.style.top=D-8+"px";H*=6/180;D=1-D/100;G=void 0;0>H&&(H=0);6<H&&(H=6);0>D&&(D=0);1<D&&(D=1);0>G&&(G=0);1<G&&(G=1);H=a(null==H?g[0]:g[0]=H,null==D?g[1]:g[1]=+D,null==G?g[2]:g[2]=G);this.fromString("#"+("0"+Math.floor(255*H[0]).toString(16)).slice(-2)+("0"+Math.floor(255*H[1]).toString(16)).slice(-2)+("0"+Math.floor(255*H[2]).toString(16)).slice(-2)+(1>d?("0"+Math.round(255*d).toString(16)).slice(-2):""))}else q&&(G=sliderBox.getBoundingClientRect(),D=mxEvent.getClientY(D)-G.top,g[2]=Math.max(Math.min(1,1-D/100),0),k())}),A=mxUtils.bind(this,function(){l=q=!1});mxEvent.addGestureListeners(e,u);mxEvent.addGestureListeners(sliderBox,w);mxEvent.addGestureListeners(b,+null,y,A);mxEvent.addListener(b,"mouseleave",A);for(u=0;101>u;u+=4)w=document.createElement("div"),w.style.height="4px",w.style.pointerEvents="none",h.appendChild(w);b.appendChild(h);var F=document.createElement("div");F.style.background="url("+this.arrowImage+")";F.style.position="absolute";F.style.pointerEvents="none";F.style.width="7px";F.style.height="11px";F.style.left="2px";F.style.top="-3px";sliderBox.appendChild(F);sliderBox.appendChild(h);b.appendChild(sliderBox);this.fromString=function(D,+G){G=null!=G?G:!1;if(null==D||""==D||mxUtils.isVarColor(D)||D==mxConstants.NONE)D="#ffffff",G=!0;D=mxUtils.parseColor(D);var H=D.r/255,M=D.g/255,N=D.b/255,K=Math.min(Math.min(H,M),N);var T=Math.max(Math.max(H,M),N);var W=T-K;0===W?T=[null,0,T]:(H=H===K?3+(N-M)/W:M===K?5+(H-N)/W:1+(M-H)/W,T=[6===H?0:H,W/T,T]);null!=T[0]&&(g[0]=T[0]);0!=T[2]&&(g[1]=T[1]);g[2]=T[2];d=D.a;k(G)};this.fromString("#ffffff");this.div=b};mxUtils.extend(ColorPicker,mxEventSource);ColorPicker.prototype.hsImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALUAAABlCAIAAACEDzXRAAAKQ0lEQVR42u2d23IjKwxFBeRh5v8/9uQlzXlI2gGELoCEm6pxubp6PI69WoV3C20uIQPAH4A/AH/p41/pDcTxP4BPGDtq3vYJGPpv8craeRdo/fyTI8ZhHnodOGgcV/3rnx8QI0SABO2xfAbiCfVR8Wj+CD8jenbRJNyGOxLoAaH1iLu4EUEHAv1+MsQ4zLE4AiIOcpibv4u9OET6+cP4ASnJ1JH4/G60A9km+GbBxLlpKAkADoR2JnaBrvWD/x1GCZn9EYLEHqVfI6Efx0D7E9tDF/rBSJ54l8FqTUse0J+EvxPrdK0fD4aOLXQi7zyGxMaRvvWjjH2U8o9I44OKnf+wyCpHoR/Phk6d/COq8481YrNI3/qR2B+kMl1Fl6J8o/JrU/GEA6HdiB2ha/0YBVx7rFwNHAj9JuIl6EI/qKyJug4Yvg7xA0QEpB8nQe8itoQu9EOT8M3mTsqUSUzykH6cBO1PbA9d91+ShDzV9xrtcgW21IT6L0yfcS90FKCdw+wS6Q9ISWjVfLTVVT2mdiPGGRduFKWm7dBStWlLmI0j/QExdgp7gT5qCu2BLKiLqtc94hI7PB8auQP4KuyIvSJ960fUqXWcd2F48Khr1bHSj2dDp/afmg7tMrFxpG/9mHMFuqrH3spFw0s0Bgr9OAzamdgFutaPpMuqo6WVEXWJdSL14xhof2J76MKfS2yXWGOVB1WXXGOVdxFSx587CXoLsTE0689RH7VW4RMLeKI9wPpzz4XeS2wDzdbXR52AWStjwiSAA6HdiB2h1f6cqT0whzzuzz0LejuxATTy90Xt40v7CzdGRvKS4O/zQ0AiXaRW5x/dv4vS4A/a308LYR5pFquRRvlHIrKWoCj5woCVId4eR/KPNDjURg2tdEC7rSQN5B9DYR70X5YivVxft7AyrOvrD4V2JnaBJurr+qpemLEywlRhT6qvPx16C7ExdK0fSjcj0maAzsqgBt7rfIxGP46B9iT2gi70I842bNj0U4wd/WAG/L5VP3p0W4iNoYv6Oh6eoJmSMW5laIzF8iT1TtgeV9RZoZ7QvdEUzsQu0CP+HOMKDFoZvDFg6s89CNqf2B5a4e8Hts84W0pgeohBtspBXYp8H3Tk/H23MBtHuvbn5mp7dlU9TUkP+XNJMabzHdCIbnuYDSItzZ+bdgUWrAwNPhwInRxw1/wXuYGj+4vo7flboRpjEQ6EjgojYK9/K04NFfNTauEBypXQWQLAfqQoHl9CfvpQ6C3ExtC9/q2YW2u6X1JWzfsYFPKX3L99LrQ/sT10XR+jKh+UN2AxlDOyXfLQaxxf/fkvT4d2JnaBZv258M6h4IFu2Em7/sezoLcQG0Mjfy6xrqLnVBLGWHw1i69WP5LCCn0TNEL3DLNXpCV/n5oo5jAVLY5Em6i8Pwm6uSNuCrNxpNX+nDira20qqyZriv384xhoZ2IX6Lr/wg8eiwpXYGQqPEgjsBrX+er3X46B9ie2h6bX/4i6IfcLS2mIY++7TfoCuLj6hwgN89CwBJ3Gx8rOVsn0kQ48tDS/4X1L8SzMb3BbkGdtwsD05AbP9YOU8xui+uljZei/P/3qx2HQbsSO0Ar/lveHLZYCVK4GeN1P5N+eAb2R2Aya9ueUY+8dlhLtdhWvgfEfz4AeGf9hR2wcaeTPpacvRdzLTx8J/Qq1Ij995PrJ3/mp0p8LO5YyF0s215g/9yxoZ2IXaLo+FiwtgTlvIAznp4+G3khsBk3Pf5mYvqOwMqZnNnw3i9cRDoT2JPaCZuvreskDuXkHxfQMvfbBgdBbiI2hC/3QLCg6lESZZkrfJ7nSj3gWNEMcRkYJsf5L0BXENBl1WV8/aquMLM9/eSJ0UtxZmFGGg4MigZ75ovHnvsOcUX09zRbzjCrU/K/Rev0gT2i2vu4cZrNI1+sH2e49Yb3lRC6e9fSS9ETohjj7hdkx0rQ/57/rxIrhBQdCv494Hlrtz1lo30Qjz1z+cRh02ndTNIMm1j8NxtmePs+76i+/esJHrH/6dGh/YntoRf9l2RtQWgJXzY4bdtbqx0OhnYldoHv7I79jf4+rOGGaRWr14yToLcTG0Ky/v32rjAsdX9S5vgI4ENqT2Asa7Z/9vq0yStiGNNVHkOe/RGmqwBQ0jEDHFpoJ85BLN+jPaRoHGWl2/2yx3msxVRHjZ0Td4GfV/Bf9bCM1dBiBfrHeJ1HR6dKEedDf5yPdBLilp/efC3Ribb1VxlUHGQe8iTb0598+Hdqf2B6a3b9SOerezsoIBWaJ3IBn1fp0j4PeQmwMzc5/idLK3UZWRkmKX2zA4Vc/DoPeSGwGrdvfY24RpKmVjrLuCQdCuxE7Qkv64TZ3Z44dVPrxUOh3EK9C1/lHGpz7ZzpVsYTF7K8Hyj+Ogd5FbAk9uL9H9LIyYg821sjo13gYtD+xPbRU/9Ds/b1sZTTIr5OStMGHA6GdiV2gUf2UmQcfJdUbXOoe6HoN1A0b2uQD4EBosXJqQTwKnXvXAEX+oZlfGaS9ewetDGCLeV1exH4e9Mr+2TDpv2iggYFW+LdBsTbngv/yUroGH0jleEX7MOgtxMbQ7PzKoMuajKyM8pYIiB194HnQzsQu0Gp/LvpulVHylsgK/TgG2p/YHrqXf6T3bJUBhfxFWUDPg95CbAytm/+ycasM9WOxWu0PnTniLWE2iLRi/4Z3bJXRvY76s0+Arl93I3aMNOHPBce2PdSkL7Kpnwe9l9gGutCPoFgkUtytXAGbex0vKCznSOs00o+ToLcQG0N/QErCrG6jrTIynVUDwo896vCzssPrNnAYtD+xPfR9fwmKeu/CVhm5OAn1STPkvhxBW1KXjeP60Y/DoJ2JXaAL/RCPy+PXc80L9d7OV294dVPbC/fb4EDoLcTG0IV+TCDrrIxMHIFg512BWj9OgvYk9oK+9SMoZG55q/JMiGS40/sLjacu28T3MVfd0Aha+u3QJXr+0Q//MBtHutaPQOzh3H0RBoZS5OJ/MjqJ9x2vQb7qgSuvX0StH0+FLptzrvTDh9gl0oV+iAbi2lAsqNmbK3yBAyLNdbRzW8Y6Btqf2B76A2IURE2zZY16KGfZlwqofJSL4feABka+xCNX+ekx0LuILaFr/Zit7s4ZA7y5Qg2sDr/t4zDodxCvQt/6occctDKGriMPzH85D9qN2BG61g/QwcLSVDSGl78C6LePY6A3EptBf0BKcjWWH/GqyJqoxKnMufEVBLJxAJwJ7U9sDH3fX0CxnIB4orMyuilTyRh6g+0bfDgQ2p/YHrrQD+jV6qb/SdRrMit8TRWwyEabxgFwJrQnsQt0rR+LR3VqFNiGHRBv73ge9EZiM+haPyicuRcVmIxzAMTMl9wfi3sGtBuxF3ShH92C29yJTteU+ohbRrZk3Qe9hdgY+tYPnOqanA+mTN33ZGKE06HQbsQu0LV+MF8+94rU5dK8B8/KyJaI+6D9ie2hC/3Q12QnSnYLn5p9P/6d0D7EltAh5wz/Hv8exON/LUjHOuz5CksAAAAASUVORK5CYII=";ColorPicker.prototype.crossImage="data:image/gif;base64,R0lGODlhDwAPAKEBAAAAAP///////////yH5BAEKAAIALAAAAAAPAA8AAAIklB8Qx53b4otSUWcvyiz4/4AeQJbmKY4p1HHapBlwPL/uVRsFADs=";ColorPicker.prototype.arrowImage="data:image/gif;base64,R0lGODlhBwALAKECAAAAAP///6g8eKg8eCH5BAEKAAIALAAAAAAHAAsAAAITTIQYcLnsgGxvijrxqdQq6DRJAQA7";-var ColorDialog=function(a,b,e,f,g,d,h){function l(ia){return mxUtils.color2hex("#"+ia).substring(1).toUpperCase()}function r(){X.src="none"==Z.style.display?Editor.arrowRightImage:Editor.arrowDownImage}function k(ia,O){ia||"none"==Z.style.display?(Z.style.display="flex",!1!==O&&V.focus()):Z.style.display="none";r()}function u(ia){""==ia.value&&null!=N&&T?ia.style.background=ia==V?N.dark:N.light:""==ia.value||ia.value==mxConstants.NONE||mxUtils.isVarColor(ia.value)?ia.style.background="transparent":+var ColorDialog=function(a,b,e,f,g,d,h){function l(ia){return mxUtils.color2hex("#"+ia).substring(1).toUpperCase()}function q(){X.src="none"==Z.style.display?Editor.arrowRightImage:Editor.arrowDownImage}function k(ia,O){ia||"none"==Z.style.display?(Z.style.display="flex",!1!==O&&V.focus()):Z.style.display="none";q()}function u(ia){""==ia.value&&null!=N&&T?ia.style.background=ia==V?N.dark:N.light:""==ia.value||ia.value==mxConstants.NONE||mxUtils.isVarColor(ia.value)?ia.style.background="transparent":ia.style.background="#"+ia.value;ia.style.color="transparent"==ia.style.background?"light-dark(#000000, #ffffff)":mxUtils.isDarkColor(ia.style.background)?"#ffffff":"#000000"}function w(){u(W);u(V)}function y(ia){T!=ia&&(ia?h&&null!=N?(W.value=N.light.substring(1).toUpperCase(),ia=!1):(W.value="",V.value="",fa.value="automatic",W.setAttribute("placeholder",mxResources.get("useBlackAndWhite")),V.setAttribute("title",mxResources.get("useBlackAndWhite")),W.setAttribute("title",mxResources.get("useBlackAndWhite"))):(""==W.value&&null!=N&&(W.value=N.light.substring(1).toUpperCase()),W.removeAttribute("placeholder"),W.removeAttribute("title"),""==V.value&&null!=N&&(V.style.background=N.dark,ia=mxUtils.getCurrentStyle(V),V.value=mxUtils.rgba2hex(ia.backgroundColor).substring(1).toUpperCase()),V.removeAttribute("placeholder"),V.removeAttribute("title"),ia=!1));T=ia}function A(ia){"#"==ia.value.charAt(0)&&(ia.value=ia.value.substring(1));var O=ia.value,qa=O.toLowerCase();null==g||""!=O&&"automatic"!=qa&&"default"!=qa&&qa!=mxResources.get("default").toLowerCase()&&qa!=mxResources.get("automatic").toLowerCase()||null==N?(ia.value==mxConstants.NONE||mxUtils.isVarColor(ia.value)||(ia.value=l(ia.value),ha.fromString("#"+ia.value)),y(!1),ia!=V||W.value==mxConstants.NONE&&V.value==mxConstants.NONE||(fa.value="custom"),ia==W&&"automatic"==fa.value&&(W.value==mxConstants.NONE?V.value=mxConstants.NONE:mxUtils.isVarColor(W.value)?V.value=W.value:V.value=mxUtils.rgba2hex(mxUtils.getInverseColor("#"+ia.value)).substring(1).toUpperCase()),-w()):U.click()}function G(){var ia=W.value,O=V.value;if(T&&null!=N||(/(^#?[a-zA-Z0-9]*$)/.test(ia)||mxUtils.isVarColor(ia))&&(/(^#?[a-zA-Z0-9]*$)/.test(O)||mxUtils.isVarColor(O))){if(T)ia="default";else if(""==ia&&(ia=mxConstants.NONE),""==O&&(O=mxConstants.NONE),ia==mxConstants.NONE||mxUtils.isVarColor(ia)||"#"==ia.charAt(0)||(ia="#"+l(ia)),O==mxConstants.NONE||mxUtils.isVarColor(O)||"#"==O.charAt(0)||(O="#"+l(O)),ia!=mxConstants.NONE&&O!=mxConstants.NONE||ColorDialog.addRecentColor(mxConstants.NONE,+w()):U.click()}function F(){var ia=W.value,O=V.value;if(T&&null!=N||(/(^#?[a-zA-Z0-9]*$)/.test(ia)||mxUtils.isVarColor(ia))&&(/(^#?[a-zA-Z0-9]*$)/.test(O)||mxUtils.isVarColor(O))){if(T)ia="default";else if(""==ia&&(ia=mxConstants.NONE),""==O&&(O=mxConstants.NONE),ia==mxConstants.NONE||mxUtils.isVarColor(ia)||"#"==ia.charAt(0)||(ia="#"+l(ia)),O==mxConstants.NONE||mxUtils.isVarColor(O)||"#"==O.charAt(0)||(O="#"+l(O)),ia!=mxConstants.NONE&&O!=mxConstants.NONE||ColorDialog.addRecentColor(mxConstants.NONE,12),"automatic"!=fa.value&&O!=mxConstants.NONE?ia==mxConstants.NONE?ColorDialog.addRecentColor(O.substring(1),12):ColorDialog.addRecentColor("light-dark("+ia+","+O+")",12):ia!=mxConstants.NONE&&ColorDialog.addRecentColor(ia.substring(1),12),"none"!=ia||"none"!=O)ia=ia==mxConstants.NONE?"transparent":ia,O=O==mxConstants.NONE?"transparent":O,h||"automatic"==fa.value||(ia="light-dark("+ia+","+O+")");aa(ia);a.hideDialog()}else a.handleError({message:mxResources.get("invalidInput")})}function D(){mxClient.IS_TOUCH||-window.setTimeout(function(){ma.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?ma.select():document.execCommand("selectAll",!1,null)},0)}function F(){ma.value!=mxConstants.NONE&&""!=ma.value&&ha.fromString("#"+ma.value,!0)}function H(){var ia=ca(0==ColorDialog.recentColors.length?["FFFFFF"]:ColorDialog.recentColors,11,"FFFFFF",!0);ia.style.marginBottom="8px";return ia}function M(ia){13==ia.keyCode&&(A(mxEvent.getSource(ia)),G())}var N=null!=d?mxUtils.getLightDarkColor(d,null,null,+window.setTimeout(function(){ma.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?ma.select():document.execCommand("selectAll",!1,null)},0)}function G(){ma.value!=mxConstants.NONE&&""!=ma.value&&ha.fromString("#"+ma.value,!0)}function H(){var ia=ca(0==ColorDialog.recentColors.length?["FFFFFF"]:ColorDialog.recentColors,11,"FFFFFF",!0);ia.style.marginBottom="8px";return ia}function M(ia){13==ia.keyCode&&(A(mxEvent.getSource(ia)),F())}var N=null!=d?mxUtils.getLightDarkColor(d,null,null,h):null,K=a.editor.graph;this.editorUi=a;var T=!1;"default"==b||"transparent"==b||b==mxConstants.NONE||mxUtils.isVarColor(b)||mxUtils.isHexColor(b)||mxUtils.isRgbColor(b)||mxUtils.isLightDarkColor(b)||(b=mxUtils.color2hex(b));var W=document.createElement("input");W.style.textOverflow="ellipsis";W.style.margin="0 0 0 4px";W.style.width="100%";d=document.createElement("div");d.style.padding="0 4px";var S=document.createElement("div");S.style.display="flex";S.style.alignItems="center";d.appendChild(S);var V=document.createElement("input");V.style.textOverflow="ellipsis";V.style.margin="0 4px";V.style.maxWidth="70px";V.style.width="100%";var fa=document.createElement("select");fa.style.textOverflow="ellipsis";fa.style.width="100%";var P=document.createElement("option");P.setAttribute("value","automatic");mxUtils.write(P,mxResources.get("automatic"));fa.appendChild(P);P=document.createElement("option");P.setAttribute("value","custom");mxUtils.write(P,mxResources.get("userDefined"));fa.appendChild(P);fa.value=mxUtils.isLightDarkColor(b)?"custom":"automatic";var Z=document.createElement("div");Z.style.padding="0 6px 0 6px";P=document.createElement("img");P.setAttribute("title",mxResources.get("dark"));P.className="geAdaptiveAsset";P.src=Editor.thinDarkImage;P.style.width="20px";Z.appendChild(P);mxEvent.addListener(P,"click",function(){V.focus()});Z.appendChild(V);Z.appendChild(fa);Z.style.display="flex";Z.style.alignItems="center";P=document.createElement("div");P.style.display="flex";P.style.alignItems="center";P.style.userSelect="none";P.style.cursor="pointer";P.style.padding="2px 0 2px 0";var X=document.createElement("img");X.setAttribute("title",mxResources.get("dark"));X.className="geAdaptiveAsset";X.style.marginLeft="-2px";P.appendChild(X);mxUtils.write(P,mxResources.get("advanced"));var ba=document.createElement("img");ba.setAttribute("title",mxResources.get("swap"));ba.className="geAdaptiveAsset";ba.style.marginLeft="6px";ba.style.width="16px";ba.style.height="16px";ba.style.cursor="pointer";ba.src=Editor.swapImage;mxEvent.addListener(ba,"click",function(ia){k(!0,!1);fa.value="custom";y(!1);var O=W.value;W.value=V.value;V.value=O;w();ma.focus();mxEvent.consume(ia)});P.appendChild(ba);var L=ba.cloneNode();L.setAttribute("title",mxResources.get("copy"));L.style.marginLeft="2px";L.src=Editor.doubleArrowUpImage;mxEvent.addListener(L,"click",function(ia){k(!0,!1);fa.value="custom";y(!1);ma==V?W.value=V.value:V.value=W.value;w();ma.focus();mxEvent.consume(ia)});P.appendChild(L);ba=L.cloneNode();ba.setAttribute("title",mxResources.get("opacity"));ba.src=Editor.opacityImage;mxEvent.addListener(ba,"click",function(ia){var O=mxUtils.parseColor("#"+ma.value);O=String(Math.floor(Math.max(0,Math.min(100*O.a,100))));a.prompt(mxResources.get("opacity")+" (0-100)",O,function(qa){!isNaN(qa)&&""!==qa&&0<=qa&&100>=qa&&(y(!1),W.value=mxUtils.rgba2hex(mxUtils.addAlphaToColor("#"+W.value,qa/100,!0)).substring(1).toUpperCase(),V.value=mxUtils.rgba2hex(mxUtils.addAlphaToColor("#"+V.value,qa/100,!0)).substring(1).toUpperCase(),-w(),ma.focus())});mxEvent.consume(ia)});P.appendChild(ba);r();mxEvent.addListener(P,"click",function(){k();r();ColorDialog.collapsed="none"==Z.style.display});var U=mxUtils.button("",function(){y(!0);w();ma.focus();""==ma.value&&null!=N&&T&&ha.fromString(ma==V?N.dark:N.light,!0)});mxEvent.addListener(fa,"change",function(ia){"automatic"==fa.value?(W.focus(),A(W)):(y(!1),V.focus(),D());w();mxEvent.consume(ia)});mxEvent.addListener(W,"change",function(){A(W)});mxEvent.addListener(V,"change",function(){A(V)});-var aa=null!=e?e:this.createApplyFunction();this.init=function(){D()};var ha=new ColorPicker,ma=Editor.isDarkMode()&&("auto"==K.getAdaptiveColors()||"simple"==K.getAdaptiveColors()&&"custom"==fa.value)&&!h?V:W;mxEvent.addListener(W,"focus",function(){ma=W;F();L.src=Editor.doubleArrowDownImage});mxEvent.addListener(V,"focus",function(){ma=V;F();L.src=Editor.doubleArrowUpImage});ha.addListener("change",function(ia,O){ia=O.getProperty("color").substring(1).toUpperCase();ma.value.toUpperCase()!=ia&&(ma.value=+w(),ma.focus())});mxEvent.consume(ia)});P.appendChild(ba);q();mxEvent.addListener(P,"click",function(){k();q();ColorDialog.collapsed="none"==Z.style.display});var U=mxUtils.button("",function(){y(!0);w();ma.focus();""==ma.value&&null!=N&&T&&ha.fromString(ma==V?N.dark:N.light,!0)});mxEvent.addListener(fa,"change",function(ia){"automatic"==fa.value?(W.focus(),A(W)):(y(!1),V.focus(),D());w();mxEvent.consume(ia)});mxEvent.addListener(W,"change",function(){A(W)});mxEvent.addListener(V,"change",function(){A(V)});+var aa=null!=e?e:this.createApplyFunction();this.init=function(){D()};var ha=new ColorPicker,ma=Editor.isDarkMode()&&("auto"==K.getAdaptiveColors()||"simple"==K.getAdaptiveColors()&&"custom"==fa.value)&&!h?V:W;mxEvent.addListener(W,"focus",function(){ma=W;G();L.src=Editor.doubleArrowDownImage});mxEvent.addListener(V,"focus",function(){ma=V;G();L.src=Editor.doubleArrowUpImage});ha.addListener("change",function(ia,O){ia=O.getProperty("color").substring(1).toUpperCase();ma.value.toUpperCase()!=ia&&(ma.value=ia,A(ma),window.setTimeout(function(){ma.focus()},0))});e=document.createElement("div");e.appendChild(ha.div);var oa=document.createElement("div");oa.style.display="flex";oa.style.flexFlow="row wrap";oa.style.justifyContent="center";oa.style.paddingTop="10px";var ca=mxUtils.bind(this,function(ia,O,qa,ja){O=null!=O?O:12;var va=document.createElement("table");va.style.borderCollapse="collapse";va.setAttribute("cellspacing","0");va.style.marginBottom="20px";va.style.cellSpacing="0px";va.style.marginLeft=-"1px";var za=document.createElement("tbody");va.appendChild(za);for(var La=ia.length/O,Na=0;Na<La;Na++){for(var Ja=document.createElement("tr"),Ka=0;Ka<O;Ka++)mxUtils.bind(this,function(ta){var Ea=document.createElement("td");Ea.style.border="0px solid black";Ea.style.padding="0px";Ea.style.width="16px";Ea.style.height="16px";null==ta&&(ta=qa);if(null!=ta){Ea.style.borderWidth="1px";if(ta==mxConstants.NONE||null==ta)Ea.style.background="url('"+Dialog.prototype.noColorImage+"')";else if(mxUtils.isLightDarkColor(ta)){var Wa=+"1px";var ya=document.createElement("tbody");va.appendChild(ya);for(var La=ia.length/O,Na=0;Na<La;Na++){for(var Ja=document.createElement("tr"),Ka=0;Ka<O;Ka++)mxUtils.bind(this,function(ta){var Ea=document.createElement("td");Ea.style.border="0px solid black";Ea.style.padding="0px";Ea.style.width="16px";Ea.style.height="16px";null==ta&&(ta=qa);if(null!=ta){Ea.style.borderWidth="1px";if(ta==mxConstants.NONE||null==ta)Ea.style.background="url('"+Dialog.prototype.noColorImage+"')";else if(mxUtils.isLightDarkColor(ta)){var Wa=mxUtils.getLightDarkColor(ta);Ea.style.background="linear-gradient(to right bottom, "+Wa.cssText+" 50%, "+mxUtils.invertLightDarkColor(Wa).cssText+" 50.3%)"}else Ea.style.backgroundColor="#"+ta;Wa=this.colorNames[String(ta).toUpperCase()];null!=Wa&&Ea.setAttribute("title",Wa)}Ja.appendChild(Ea);null!=ta&&(Ea.style.cursor="pointer",mxEvent.addListener(Ea,"click",function(){if(ta==mxConstants.NONE){ma==V&&V.value==mxConstants.NONE?W.value=mxConstants.NONE:ma.value=mxConstants.NONE;if(ma==W||ma==V&&-W.value==mxConstants.NONE)fa.value="automatic";A(ma);window.setTimeout(function(){ma.focus()},0)}else if(mxUtils.isLightDarkColor(ta)){k(!0);fa.value="custom";var Xa=mxUtils.getLightDarkColor(ta);W.value=Xa.light.substring(1).toUpperCase();V.value=Xa.dark.substring(1).toUpperCase();A(W);A(V);ma==W?ha.fromString(Xa.light):ha.fromString(Xa.dark)}else ha.fromString("#"+ta)}),mxEvent.addListener(Ea,"dblclick",G))})(ia[Na*O+Ka]);za.appendChild(Ja)}ja&&(ia=document.createElement("td"),ia.setAttribute("title",+W.value==mxConstants.NONE)fa.value="automatic";A(ma);window.setTimeout(function(){ma.focus()},0)}else if(mxUtils.isLightDarkColor(ta)){k(!0);fa.value="custom";var Xa=mxUtils.getLightDarkColor(ta);W.value=Xa.light.substring(1).toUpperCase();V.value=Xa.dark.substring(1).toUpperCase();A(W);A(V);ma==W?ha.fromString(Xa.light):ha.fromString(Xa.dark)}else ha.fromString("#"+ta)}),mxEvent.addListener(Ea,"dblclick",F))})(ia[Na*O+Ka]);ya.appendChild(Ja)}ja&&(ia=document.createElement("td"),ia.setAttribute("title",mxResources.get("reset")),ia.className="geAdaptiveAsset",ia.style.border="1px solid black",ia.style.padding="0px",ia.style.width="16px",ia.style.height="16px",ia.style.backgroundImage="url('"+Editor.crossImage+"')",ia.style.backgroundPosition="center center",ia.style.backgroundSize="14px 14px",ia.style.backgroundRepeat="no-repeat",ia.style.cursor="pointer",Ja.appendChild(ia),mxEvent.addListener(ia,"click",function(){ColorDialog.resetRecentColors();va.parentNode.replaceChild(H(),va)}));oa.appendChild(va);-return va});h||(d.appendChild(P),!ColorDialog.collapsed||Editor.isDarkMode()&&"auto"==K.getAdaptiveColors()||"automatic"!=fa.value||(Z.style.display="none",r()),P=document.createElement("img"),P.setAttribute("title",mxResources.get("light")),P.className="geAdaptiveAsset",P.src=Editor.thinLightImage,P.style.width="20px",S.appendChild(P),mxEvent.addListener(P,"click",function(){W.focus()}));S.appendChild(W);null!=N&&(U.setAttribute("title",mxResources.get(h?"default":"useBlackAndWhite")),U.style.cursor=+return va});h||(d.appendChild(P),!ColorDialog.collapsed||Editor.isDarkMode()&&"auto"==K.getAdaptiveColors()||"automatic"!=fa.value||(Z.style.display="none",q()),P=document.createElement("img"),P.setAttribute("title",mxResources.get("light")),P.className="geAdaptiveAsset",P.src=Editor.thinLightImage,P.style.width="20px",S.appendChild(P),mxEvent.addListener(P,"click",function(){W.focus()}));S.appendChild(W);null!=N&&(U.setAttribute("title",mxResources.get(h?"default":"useBlackAndWhite")),U.style.cursor="pointer",U.style.position="relative",U.style.marginLeft="4px",U.innerText="",K=document.createElement("div"),K.style.display="inline-block",K.style.verticalAlign="middle",K.style.borderStyle="solid",K.style.borderWidth="1px",K.style.marginTop="-2px",K.style.width="12px",K.style.height="12px",h?K.style.backgroundColor=N.light:K.style.backgroundImage="linear-gradient(to right bottom, "+N.cssText+" 50%, "+mxUtils.invertLightDarkColor(N).cssText+" 50.3%)",U.appendChild(K),S.appendChild(U),mxEvent.addListener(U,-"dblclick",G));var la=document.createElement("input");la.setAttribute("type","color");la.style.position="relative";la.style.visibility="hidden";la.style.top="10px";la.style.width="0px";la.style.height="0px";la.style.border="none";e.style.whiteSpace="nowrap";S.appendChild(la);K=mxUtils.button("",function(){document.activeElement==la?W.focus():(la.value="#"+W.value,la.click())});K.style.cursor="pointer";P=document.createElement("img");P.src=Editor.colorDropperImage;P.className="geAdaptiveAsset";P.style.position=+"dblclick",F));var la=document.createElement("input");la.setAttribute("type","color");la.style.position="relative";la.style.visibility="hidden";la.style.top="10px";la.style.width="0px";la.style.height="0px";la.style.border="none";e.style.whiteSpace="nowrap";S.appendChild(la);K=mxUtils.button("",function(){document.activeElement==la?W.focus():(la.value="#"+W.value,la.click())});K.style.cursor="pointer";P=document.createElement("img");P.src=Editor.colorDropperImage;P.className="geAdaptiveAsset";P.style.position="relative";P.style.verticalAlign="middle";P.style.marginTop="-2px";P.style.width="auto";P.style.height="14px";K.appendChild(P);S.appendChild(K);e.appendChild(d);mxEvent.addListener(la,"change",function(){ha.fromString(la.value)});h||e.appendChild(Z);H();d=ca(this.presetColors);d.style.marginBottom="8px";d=ca(this.defaultColors);d.style.marginBottom="16px";e.appendChild(oa);d=document.createElement("div");d.style.display="flex";d.style.whiteSpace="nowrap";d.style.alignItems="center";d.style.justifyContent=-"end";a.isOffline()||d.appendChild(a.createHelpIcon("https://github.com/jgraph/drawio/discussions/4713"));S=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog();null!=f&&f()});S.className="geBtn";a.editor.cancelFirst&&d.appendChild(S);K=mxUtils.button(mxResources.get("apply"),G);K.className="geBtn gePrimaryBtn";d.appendChild(K);a.editor.cancelFirst||d.appendChild(S);null!=b&&("default"==b?U.click():(S=mxUtils.getLightDarkColor(b),b==mxConstants.NONE||"transparent"==S.light?W.value=mxConstants.NONE:-mxUtils.isVarColor(S.light)?W.value=S.light:(mxUtils.isRgbColor(S.light)?S.light=mxUtils.rgba2hex(S.light):mxUtils.isHexColor(S.light)||(S.light="#"+l(S.light)),W.value=S.light.substring(1).toUpperCase()),b==mxConstants.NONE||"transparent"==S.dark?V.value=mxConstants.NONE:mxUtils.isVarColor(S.dark)?V.value=S.dark:(mxUtils.isRgbColor(S.dark)?S.dark=mxUtils.rgba2hex(S.dark):mxUtils.isHexColor(S.dark)||(S.dark="#"+l(S.dark)),V.value=S.dark.substring(1).toUpperCase()),F(),w()));h||!ColorDialog.collapsed||-"automatic"!=fa.value||Editor.isDarkMode()||(Z.style.display="none",r());e.appendChild(d);this.picker=ha;this.colorInput=W;mxEvent.addListener(W,"keypress",M);mxEvent.addListener(V,"keypress",M);mxEvent.addListener(e,"keydown",function(ia){27==ia.keyCode&&(a.hideDialog(),null!=f&&f(),mxEvent.consume(ia))});this.container=e};ColorDialog.prototype.presetColors="E6D0DE CDA2BE B5739D E1D5E7 C3ABD0 A680B8 D4E1F5 A9C4EB 7EA6E0 D5E8D4 9AC7BF 67AB9F D5E8D4 B9E0A5 97D077 FFF2CC FFE599 FFD966 FFF4C3 FFCE9F FFB570 F8CECC F19C99 EA6B66".split(" ");+"end";a.isOffline()||d.appendChild(a.createHelpIcon("https://github.com/jgraph/drawio/discussions/4713"));S=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog();null!=f&&f()});S.className="geBtn";a.editor.cancelFirst&&d.appendChild(S);K=mxUtils.button(mxResources.get("apply"),F);K.className="geBtn gePrimaryBtn";d.appendChild(K);a.editor.cancelFirst||d.appendChild(S);null!=b&&("default"==b?U.click():(S=mxUtils.getLightDarkColor(b),b==mxConstants.NONE||"transparent"==S.light?W.value=mxConstants.NONE:+mxUtils.isVarColor(S.light)?W.value=S.light:(mxUtils.isRgbColor(S.light)?S.light=mxUtils.rgba2hex(S.light):mxUtils.isHexColor(S.light)||(S.light="#"+l(S.light)),W.value=S.light.substring(1).toUpperCase()),b==mxConstants.NONE||"transparent"==S.dark?V.value=mxConstants.NONE:mxUtils.isVarColor(S.dark)?V.value=S.dark:(mxUtils.isRgbColor(S.dark)?S.dark=mxUtils.rgba2hex(S.dark):mxUtils.isHexColor(S.dark)||(S.dark="#"+l(S.dark)),V.value=S.dark.substring(1).toUpperCase()),G(),w()));h||!ColorDialog.collapsed||+"automatic"!=fa.value||Editor.isDarkMode()||(Z.style.display="none",q());e.appendChild(d);this.picker=ha;this.colorInput=W;mxEvent.addListener(W,"keypress",M);mxEvent.addListener(V,"keypress",M);mxEvent.addListener(e,"keydown",function(ia){27==ia.keyCode&&(a.hideDialog(),null!=f&&f(),mxEvent.consume(ia))});this.container=e};ColorDialog.prototype.presetColors="E6D0DE CDA2BE B5739D E1D5E7 C3ABD0 A680B8 D4E1F5 A9C4EB 7EA6E0 D5E8D4 9AC7BF 67AB9F D5E8D4 B9E0A5 97D077 FFF2CC FFE599 FFD966 FFF4C3 FFCE9F FFB570 F8CECC F19C99 EA6B66".split(" ");ColorDialog.prototype.colorNames={};ColorDialog.prototype.defaultColors="none FFFFFF E6E6E6 CCCCCC B3B3B3 999999 808080 666666 4D4D4D 333333 1A1A1A 000000 FFCCCC FFE6CC FFFFCC E6FFCC CCFFCC CCFFE6 CCFFFF CCE5FF CCCCFF E5CCFF FFCCFF FFCCE6 FF9999 FFCC99 FFFF99 CCFF99 99FF99 99FFCC 99FFFF 99CCFF 9999FF CC99FF FF99FF FF99CC FF6666 FFB366 FFFF66 B3FF66 66FF66 66FFB3 66FFFF 66B2FF 6666FF B266FF FF66FF FF66B3 FF3333 FF9933 FFFF33 99FF33 33FF33 33FF99 33FFFF 3399FF 3333FF 9933FF FF33FF FF3399 FF0000 FF8000 FFFF00 80FF00 00FF00 00FF80 00FFFF 007FFF 0000FF 7F00FF FF00FF FF0080 CC0000 CC6600 CCCC00 66CC00 00CC00 00CC66 00CCCC 0066CC 0000CC 6600CC CC00CC CC0066 990000 994C00 999900 4D9900 009900 00994D 009999 004C99 000099 4C0099 990099 99004D 660000 663300 666600 336600 006600 006633 006666 003366 000066 330066 660066 660033 330000 331A00 333300 1A3300 003300 00331A 003333 001933 000033 190033 330033 33001A".split(" ");ColorDialog.prototype.createApplyFunction=function(){return ColorDialog.createApplyFunction(this.editorUi,this.currentColorKey)};ColorDialog.createApplyFunction=function(a,b){return function(e){var f=a.editor.graph;f.getModel().beginUpdate();try{f.setCellStyles(b,e),a.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[e],"cells",f.getSelectionCells()))}finally{f.getModel().endUpdate()}}};ColorDialog.recentColors=[];ColorDialog.addRecentColor=function(a,b){null!=a&&(mxUtils.remove(a,ColorDialog.recentColors),ColorDialog.recentColors.splice(0,0,a),ColorDialog.recentColors.length>=b&&ColorDialog.recentColors.pop())};ColorDialog.resetRecentColors=function(){ColorDialog.recentColors=[]};ColorDialog.collapsed=!0;var AboutDialog=function(a){var b=document.createElement("div");b.setAttribute("align","center");var e=document.createElement("h3");mxUtils.write(e,mxResources.get("about")+" GraphEditor");b.appendChild(e);e=document.createElement("img");e.style.border="0px";e.setAttribute("width","176");e.setAttribute("width","151");e.setAttribute("src",IMAGE_PATH+"/logo.png");b.appendChild(e);mxUtils.br(b);mxUtils.write(b,"Powered by mxGraph "+mxClient.VERSION);mxUtils.br(b);e=document.createElement("a");e.setAttribute("href","http://www.jgraph.com/");e.setAttribute("target","_blank");mxUtils.write(e,"www.jgraph.com");b.appendChild(e);mxUtils.br(b);mxUtils.br(b);e=mxUtils.button(mxResources.get("close"),function(){a.hideDialog()});e.className="geBtn gePrimaryBtn";b.appendChild(e);this.container=b},SimpleTextareaDialog=function(a,b,e,f,g){var d=document.createElement("div"),h=document.createElement("textarea");h.style.position="absolute";h.style.left="30px";h.style.right="30px";h.style.top="30px";h.style.bottom="100px";h.style.resize="none";h.setAttribute("wrap","off");h.setAttribute("spellcheck","false");h.setAttribute("autocorrect","off");h.setAttribute("autocomplete","off");h.setAttribute("autocapitalize","off");h.value=null!=b?b:"";d.appendChild(h);b=document.createElement("div");b.style.position="absolute";b.style.bottom="46px";b.style.right="30px";b.style.left="30px";b.style.justifyContent="end";b.style.display="flex";null==g||a.isOffline()||b.appendChild(a.createHelpIcon(g));g=mxUtils.button(mxResources.get("cancel"),-function(){a.hideDialog()});g.setAttribute("title","Escape");g.className="geBtn";a.editor.cancelFirst&&b.appendChild(g);var l=mxUtils.button(null!=f?f:mxResources.get("apply"),function(){a.hideDialog();e(h.value)});l.setAttribute("title","Ctrl+Enter");l.className="geBtn gePrimaryBtn";b.appendChild(l);mxEvent.addListener(h,"keydown",function(r){13==r.keyCode&&mxEvent.isControlDown(r)&&l.click()});a.editor.cancelFirst||b.appendChild(g);this.init=function(){h.focus();h.scrollTop=0};d.appendChild(b);-this.container=d},TextareaDialog=function(a,b,e,f,g,d,h,l,r,k,u,w,y,A,G){k=null!=k?k:!1;h=document.createElement("div");h.style.position="absolute";h.style.top="20px";h.style.bottom="20px";h.style.left="20px";h.style.right="20px";l=document.createElement("div");l.style.position="absolute";l.style.left="0px";l.style.right="0px";var D=l.cloneNode(!1),F=l.cloneNode(!1);l.style.top="0px";l.style.height="20px";D.style.top="20px";D.style.bottom="64px";F.style.display="flex";F.style.whiteSpace="nowrap";-F.style.alignItems="center";F.style.justifyContent="end";F.style.bottom="10px";F.style.height="50px";F.style.textAlign="right";F.style.paddingTop="14px";F.style.boxSizing="border-box";mxUtils.write(l,b);h.appendChild(l);h.appendChild(D);h.appendChild(F);null!=G&&l.appendChild(G);var H=document.createElement("textarea");u?H.setAttribute("wrap","off"):H.style.wordBreak="break-all";H.setAttribute("spellcheck","false");H.setAttribute("autocorrect","off");H.setAttribute("autocomplete","off");H.setAttribute("autocapitalize",-"off");mxUtils.write(H,e||"");H.style.resize="none";H.style.outline="none";H.style.position="absolute";H.style.boxSizing="border-box";H.style.top="0px";H.style.left="0px";H.style.height="100%";H.style.width="100%";this.textarea=H;this.init=function(){H.focus();H.scrollTop=0};D.appendChild(H);null==y||a.isOffline()||F.appendChild(a.createHelpIcon(y));if(null!=A)for(b=0;b<A.length;b++)(function(N,K,T){N=mxUtils.button(N,function(W){K(W,H)});null!=T&&N.setAttribute("title",T);N.className="geBtn";F.appendChild(N)})(A[b][0],-A[b][1],A[b][2]);d=mxUtils.button(d||mxResources.get("cancel"),function(){a.hideDialog();null!=g&&g()});d.setAttribute("title","Escape");d.className="geBtn";a.editor.cancelFirst&&F.appendChild(d);null!=r&&r(F,H);if(null!=f){var M=mxUtils.button(w||mxResources.get("apply"),function(){k||a.hideDialog();f(H.value)});M.setAttribute("title","Ctrl+Enter");M.className="geBtn gePrimaryBtn";F.appendChild(M);mxEvent.addListener(H,"keydown",function(N){13==N.keyCode&&mxEvent.isControlDown(N)&&M.click()})}a.editor.cancelFirst||-F.appendChild(d);this.container=h},EditDiagramDialog=function(a){var b=document.createElement("div");b.style.position="absolute";b.style.inset="10px";var e=document.createElement("textarea");e.setAttribute("wrap","off");e.setAttribute("spellcheck","false");e.setAttribute("autocorrect","off");e.setAttribute("autocomplete","off");e.setAttribute("autocapitalize","off");e.style.overflow="auto";e.style.resize="none";e.style.position="absolute";e.style.top="20px";e.style.bottom="76px";e.style.left="20px";-e.style.right="20px";var f=a.getDiagramSnapshot();e.value=mxUtils.getPrettyXml(f.node);b.appendChild(e);this.init=function(){e.focus()};Graph.fileSupport&&(e.addEventListener("dragover",function(r){r.stopPropagation();r.preventDefault()},!1),e.addEventListener("drop",function(r){r.stopPropagation();r.preventDefault();if(0<r.dataTransfer.files.length){r=r.dataTransfer.files[0];var k=new FileReader;k.onload=function(u){e.value=u.target.result};k.readAsText(r)}else e.value=a.extractGraphModelFromEvent(r)},+function(){a.hideDialog()});g.setAttribute("title","Escape");g.className="geBtn";a.editor.cancelFirst&&b.appendChild(g);var l=mxUtils.button(null!=f?f:mxResources.get("apply"),function(){a.hideDialog();e(h.value)});l.setAttribute("title","Ctrl+Enter");l.className="geBtn gePrimaryBtn";b.appendChild(l);mxEvent.addListener(h,"keydown",function(q){13==q.keyCode&&mxEvent.isControlDown(q)&&l.click()});a.editor.cancelFirst||b.appendChild(g);this.init=function(){h.focus();h.scrollTop=0};d.appendChild(b);+this.container=d},TextareaDialog=function(a,b,e,f,g,d,h,l,q,k,u,w,y,A,F){k=null!=k?k:!1;h=document.createElement("div");h.style.position="absolute";h.style.top="20px";h.style.bottom="20px";h.style.left="20px";h.style.right="20px";l=document.createElement("div");l.style.position="absolute";l.style.left="0px";l.style.right="0px";var D=l.cloneNode(!1),G=l.cloneNode(!1);l.style.top="0px";l.style.height="20px";D.style.top="20px";D.style.bottom="64px";G.style.display="flex";G.style.whiteSpace="nowrap";+G.style.alignItems="center";G.style.justifyContent="end";G.style.bottom="10px";G.style.height="50px";G.style.textAlign="right";G.style.paddingTop="14px";G.style.boxSizing="border-box";mxUtils.write(l,b);h.appendChild(l);h.appendChild(D);h.appendChild(G);null!=F&&l.appendChild(F);var H=document.createElement("textarea");u?H.setAttribute("wrap","off"):H.style.wordBreak="break-all";H.setAttribute("spellcheck","false");H.setAttribute("autocorrect","off");H.setAttribute("autocomplete","off");H.setAttribute("autocapitalize",+"off");mxUtils.write(H,e||"");H.style.resize="none";H.style.outline="none";H.style.position="absolute";H.style.boxSizing="border-box";H.style.top="0px";H.style.left="0px";H.style.height="100%";H.style.width="100%";this.textarea=H;this.init=function(){H.focus();H.scrollTop=0};D.appendChild(H);null==y||a.isOffline()||G.appendChild(a.createHelpIcon(y));if(null!=A)for(b=0;b<A.length;b++)(function(N,K,T){N=mxUtils.button(N,function(W){K(W,H)});null!=T&&N.setAttribute("title",T);N.className="geBtn";G.appendChild(N)})(A[b][0],+A[b][1],A[b][2]);d=mxUtils.button(d||mxResources.get("cancel"),function(){a.hideDialog();null!=g&&g()});d.setAttribute("title","Escape");d.className="geBtn";a.editor.cancelFirst&&G.appendChild(d);null!=q&&q(G,H);if(null!=f){var M=mxUtils.button(w||mxResources.get("apply"),function(){k||a.hideDialog();f(H.value)});M.setAttribute("title","Ctrl+Enter");M.className="geBtn gePrimaryBtn";G.appendChild(M);mxEvent.addListener(H,"keydown",function(N){13==N.keyCode&&mxEvent.isControlDown(N)&&M.click()})}a.editor.cancelFirst||+G.appendChild(d);this.container=h},EditDiagramDialog=function(a){var b=document.createElement("div");b.style.position="absolute";b.style.inset="10px";var e=document.createElement("textarea");e.setAttribute("wrap","off");e.setAttribute("spellcheck","false");e.setAttribute("autocorrect","off");e.setAttribute("autocomplete","off");e.setAttribute("autocapitalize","off");e.style.overflow="auto";e.style.resize="none";e.style.position="absolute";e.style.top="20px";e.style.bottom="76px";e.style.left="20px";+e.style.right="20px";var f=a.getDiagramSnapshot();e.value=mxUtils.getPrettyXml(f.node);b.appendChild(e);this.init=function(){e.focus()};Graph.fileSupport&&(e.addEventListener("dragover",function(q){q.stopPropagation();q.preventDefault()},!1),e.addEventListener("drop",function(q){q.stopPropagation();q.preventDefault();if(0<q.dataTransfer.files.length){q=q.dataTransfer.files[0];var k=new FileReader;k.onload=function(u){e.value=u.target.result};k.readAsText(q)}else e.value=a.extractGraphModelFromEvent(q)},!1));var g=document.createElement("div");g.style.display="flex";g.style.whiteSpace="nowrap";g.style.alignItems="center";g.style.justifyContent="end";g.style.position="absolute";g.style.height="36px";g.style.bottom="24px";g.style.left="20px";g.style.right="20px";var d=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});d.className="geBtn";a.editor.cancelFirst&&g.appendChild(d);var h=document.createElement("select");h.style.textOverflow="ellipsis";h.style.width="196px";h.className="geBtn";if(a.editor.graph.isEnabled()){var l=document.createElement("option");l.setAttribute("value","apply");mxUtils.write(l,mxResources.get("apply",null,"Update Existing Drawing"));h.appendChild(l)}a.editor.graph.isEnabled()&&(l=document.createElement("option"),l.setAttribute("value","insert"),mxUtils.write(l,mxResources.get("insert")),h.appendChild(l));l=document.createElement("option");l.setAttribute("value","new");mxUtils.write(l,mxResources.get("openInNewWindow"));EditDiagramDialog.showNewWindowOption&&-!navigator.standalone&&h.appendChild(l);g.appendChild(h);l=mxUtils.button(mxResources.get("ok"),function(){var r=Graph.zapGremlins(mxUtils.trim(e.value)),k=null;if("new"==h.value)a.hideDialog(),a.editor.editAsNew(r);else if("apply"==h.value)try{var u=mxUtils.parseXml(r).documentElement,w=Editor.extractParserError(u,mxResources.get("unknownError"));w?(EditorUi.debug("EditDiagramDialogParserError",[this],"node",[u],"cause",[w]),k=mxResources.get("invalidInput")+" ("+w+")"):("mxfile"==u.nodeName?a.editor.setGraphXml(u):-a.updateDiagramData(f,u),a.hideDialog())}catch(D){k=D}else if("insert"==h.value){a.editor.graph.model.beginUpdate();try{var y=mxUtils.parseXml(r),A=new mxGraphModel;(new mxCodec(y)).decode(y.documentElement,A);var G=A.getChildren(A.getChildAt(A.getRoot(),0));a.editor.graph.setSelectionCells(a.editor.graph.importCells(G));a.hideDialog()}catch(D){k=D}finally{a.editor.graph.model.endUpdate()}}null!=k&&a.handleError(k)});l.className="geBtn gePrimaryBtn";g.appendChild(l);a.editor.cancelFirst||g.appendChild(d);+!navigator.standalone&&h.appendChild(l);g.appendChild(h);l=mxUtils.button(mxResources.get("ok"),function(){var q=Graph.zapGremlins(mxUtils.trim(e.value)),k=null;if("new"==h.value)a.hideDialog(),a.editor.editAsNew(q);else if("apply"==h.value)try{var u=mxUtils.parseXml(q).documentElement,w=Editor.extractParserError(u,mxResources.get("unknownError"));w?(EditorUi.debug("EditDiagramDialogParserError",[this],"node",[u],"cause",[w]),k=mxResources.get("invalidInput")+" ("+w+")"):("mxfile"==u.nodeName?a.editor.setGraphXml(u):+a.updateDiagramData(f,u),a.hideDialog())}catch(D){k=D}else if("insert"==h.value){a.editor.graph.model.beginUpdate();try{var y=mxUtils.parseXml(q),A=new mxGraphModel;(new mxCodec(y)).decode(y.documentElement,A);var F=A.getChildren(A.getChildAt(A.getRoot(),0));a.editor.graph.setSelectionCells(a.editor.graph.importCells(F));a.hideDialog()}catch(D){k=D}finally{a.editor.graph.model.endUpdate()}}null!=k&&a.handleError(k)});l.className="geBtn gePrimaryBtn";g.appendChild(l);a.editor.cancelFirst||g.appendChild(d);b.appendChild(g);this.container=b};EditDiagramDialog.showNewWindowOption=!0;-var ExportDialog=function(a){function b(){var S=u.value,V=S.lastIndexOf(".");u.value=0<V?S.substring(0,V+1)+w.value:S+"."+w.value;"xml"===w.value?(y.setAttribute("disabled","true"),A.setAttribute("disabled","true"),G.setAttribute("disabled","true"),K.setAttribute("disabled","true")):(y.removeAttribute("disabled"),A.removeAttribute("disabled"),G.removeAttribute("disabled"),K.removeAttribute("disabled"));"png"===w.value||"svg"===w.value||"pdf"===w.value?M.removeAttribute("disabled"):M.setAttribute("disabled",-"disabled");"png"===w.value||"jpg"===w.value||"pdf"===w.value?N.removeAttribute("disabled"):N.setAttribute("disabled","disabled");"png"===w.value?(D.removeAttribute("disabled"),F.removeAttribute("disabled")):(D.setAttribute("disabled","disabled"),F.setAttribute("disabled","disabled"))}function e(){A.style.backgroundColor=A.value*G.value>MAX_AREA||0>=A.value?"red":"";G.style.backgroundColor=A.value*G.value>MAX_AREA||0>=G.value?"red":""}var f=a.editor.graph,g=f.getGraphBounds(),d=f.view.scale,h=Math.ceil(g.width/-d),l=Math.ceil(g.height/d);d=document.createElement("table");var r=document.createElement("tbody");d.setAttribute("cellpadding",mxClient.IS_SF?"0":"2");g=document.createElement("tr");var k=document.createElement("td");k.style.fontSize="10pt";k.style.width="100px";mxUtils.write(k,mxResources.get("filename")+":");g.appendChild(k);var u=document.createElement("input");u.setAttribute("value",a.editor.getOrCreateFilename());u.style.width="180px";k=document.createElement("td");k.appendChild(u);g.appendChild(k);-r.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("format")+":");g.appendChild(k);var w=document.createElement("select");w.style.width="180px";k=document.createElement("option");k.setAttribute("value","png");mxUtils.write(k,mxResources.get("formatPng"));w.appendChild(k);k=document.createElement("option");ExportDialog.showGifOption&&(k.setAttribute("value","gif"),mxUtils.write(k,mxResources.get("formatGif")),w.appendChild(k));-k=document.createElement("option");k.setAttribute("value","jpg");mxUtils.write(k,mxResources.get("formatJpg"));w.appendChild(k);k=document.createElement("option");k.setAttribute("value","svg");mxUtils.write(k,mxResources.get("formatSvg"));w.appendChild(k);ExportDialog.showXmlOption&&(k=document.createElement("option"),k.setAttribute("value","xml"),mxUtils.write(k,mxResources.get("formatXml")),w.appendChild(k));k=document.createElement("td");k.appendChild(w);g.appendChild(k);r.appendChild(g);g=document.createElement("tr");-k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("zoom")+" (%):");g.appendChild(k);var y=document.createElement("input");y.setAttribute("type","number");y.setAttribute("value","100");y.style.width="180px";k=document.createElement("td");k.appendChild(y);g.appendChild(k);r.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("width")+":");g.appendChild(k);var A=document.createElement("input");-A.setAttribute("value",h);A.style.width="180px";k=document.createElement("td");k.appendChild(A);g.appendChild(k);r.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("height")+":");g.appendChild(k);var G=document.createElement("input");G.setAttribute("value",l);G.style.width="180px";k=document.createElement("td");k.appendChild(G);g.appendChild(k);r.appendChild(g);g=document.createElement("tr");k=document.createElement("td");+var ExportDialog=function(a){function b(){var S=u.value,V=S.lastIndexOf(".");u.value=0<V?S.substring(0,V+1)+w.value:S+"."+w.value;"xml"===w.value?(y.setAttribute("disabled","true"),A.setAttribute("disabled","true"),F.setAttribute("disabled","true"),K.setAttribute("disabled","true")):(y.removeAttribute("disabled"),A.removeAttribute("disabled"),F.removeAttribute("disabled"),K.removeAttribute("disabled"));"png"===w.value||"svg"===w.value||"pdf"===w.value?M.removeAttribute("disabled"):M.setAttribute("disabled",+"disabled");"png"===w.value||"jpg"===w.value||"pdf"===w.value?N.removeAttribute("disabled"):N.setAttribute("disabled","disabled");"png"===w.value?(D.removeAttribute("disabled"),G.removeAttribute("disabled")):(D.setAttribute("disabled","disabled"),G.setAttribute("disabled","disabled"))}function e(){A.style.backgroundColor=A.value*F.value>MAX_AREA||0>=A.value?"red":"";F.style.backgroundColor=A.value*F.value>MAX_AREA||0>=F.value?"red":""}var f=a.editor.graph,g=f.getGraphBounds(),d=f.view.scale,h=Math.ceil(g.width/+d),l=Math.ceil(g.height/d);d=document.createElement("table");var q=document.createElement("tbody");d.setAttribute("cellpadding",mxClient.IS_SF?"0":"2");g=document.createElement("tr");var k=document.createElement("td");k.style.fontSize="10pt";k.style.width="100px";mxUtils.write(k,mxResources.get("filename")+":");g.appendChild(k);var u=document.createElement("input");u.setAttribute("value",a.editor.getOrCreateFilename());u.style.width="180px";k=document.createElement("td");k.appendChild(u);g.appendChild(k);+q.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("format")+":");g.appendChild(k);var w=document.createElement("select");w.style.width="180px";k=document.createElement("option");k.setAttribute("value","png");mxUtils.write(k,mxResources.get("formatPng"));w.appendChild(k);k=document.createElement("option");ExportDialog.showGifOption&&(k.setAttribute("value","gif"),mxUtils.write(k,mxResources.get("formatGif")),w.appendChild(k));+k=document.createElement("option");k.setAttribute("value","jpg");mxUtils.write(k,mxResources.get("formatJpg"));w.appendChild(k);k=document.createElement("option");k.setAttribute("value","svg");mxUtils.write(k,mxResources.get("formatSvg"));w.appendChild(k);ExportDialog.showXmlOption&&(k=document.createElement("option"),k.setAttribute("value","xml"),mxUtils.write(k,mxResources.get("formatXml")),w.appendChild(k));k=document.createElement("td");k.appendChild(w);g.appendChild(k);q.appendChild(g);g=document.createElement("tr");+k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("zoom")+" (%):");g.appendChild(k);var y=document.createElement("input");y.setAttribute("type","number");y.setAttribute("value","100");y.style.width="180px";k=document.createElement("td");k.appendChild(y);g.appendChild(k);q.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("width")+":");g.appendChild(k);var A=document.createElement("input");+A.setAttribute("value",h);A.style.width="180px";k=document.createElement("td");k.appendChild(A);g.appendChild(k);q.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("height")+":");g.appendChild(k);var F=document.createElement("input");F.setAttribute("value",l);F.style.width="180px";k=document.createElement("td");k.appendChild(F);g.appendChild(k);q.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("dpi")+":");g.appendChild(k);var D=document.createElement("select");D.style.width="180px";k=document.createElement("option");k.setAttribute("value","100");mxUtils.write(k,"100dpi");D.appendChild(k);k=document.createElement("option");k.setAttribute("value","200");mxUtils.write(k,"200dpi");D.appendChild(k);k=document.createElement("option");k.setAttribute("value","300");mxUtils.write(k,"300dpi");D.appendChild(k);k=document.createElement("option");-k.setAttribute("value","400");mxUtils.write(k,"400dpi");D.appendChild(k);k=document.createElement("option");k.setAttribute("value","custom");mxUtils.write(k,mxResources.get("custom"));D.appendChild(k);var F=document.createElement("input");F.style.width="180px";F.style.display="none";F.setAttribute("value","100");F.setAttribute("type","number");F.setAttribute("min","50");F.setAttribute("step","50");var H=!1;mxEvent.addListener(D,"change",function(){"custom"==this.value?(this.style.display="none",F.style.display=-"",F.focus()):(F.value=this.value,H||(y.value=this.value))});mxEvent.addListener(F,"change",function(){var S=parseInt(F.value);isNaN(S)||0>=S?F.style.backgroundColor="red":(F.style.backgroundColor="",H||(y.value=S))});k=document.createElement("td");k.appendChild(D);k.appendChild(F);g.appendChild(k);r.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("background")+":");g.appendChild(k);var M=document.createElement("input");-M.setAttribute("type","checkbox");M.checked=null==f.background||f.background==mxConstants.NONE;k=document.createElement("td");k.appendChild(M);mxUtils.write(k,mxResources.get("transparent"));g.appendChild(k);r.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("grid")+":");g.appendChild(k);var N=document.createElement("input");N.setAttribute("type","checkbox");N.checked=!1;k=document.createElement("td");k.appendChild(N);-g.appendChild(k);r.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("borderWidth")+":");g.appendChild(k);var K=document.createElement("input");K.setAttribute("type","number");K.setAttribute("value",ExportDialog.lastBorderValue);K.style.width="180px";k=document.createElement("td");k.appendChild(K);g.appendChild(k);r.appendChild(g);d.appendChild(r);mxEvent.addListener(w,"change",b);b();mxEvent.addListener(y,"change",-function(){H=!0;var S=Math.max(0,parseFloat(y.value)||100)/100;y.value=parseFloat((100*S).toFixed(2));0<h?(A.value=Math.floor(h*S),G.value=Math.floor(l*S)):(y.value="100",A.value=h,G.value=l);e()});mxEvent.addListener(A,"change",function(){var S=parseInt(A.value)/h;0<S?(y.value=parseFloat((100*S).toFixed(2)),G.value=Math.floor(l*S)):(y.value="100",A.value=h,G.value=l);e()});mxEvent.addListener(G,"change",function(){var S=parseInt(G.value)/l;0<S?(y.value=parseFloat((100*S).toFixed(2)),A.value=Math.floor(h*-S)):(y.value="100",A.value=h,G.value=l);e()});g=document.createElement("tr");k=document.createElement("td");k.setAttribute("align","right");k.style.paddingTop="22px";k.colSpan=2;var T=mxUtils.button(mxResources.get("export"),mxUtils.bind(this,function(){if(0>=parseInt(y.value))mxUtils.alert(mxResources.get("drawingEmpty"));else{var S=u.value,V=w.value,fa=Math.max(0,parseFloat(y.value)||100)/100,P=Math.max(0,parseInt(K.value)),Z=f.background,X=Math.max(1,parseInt(F.value));if(("svg"==V||"png"==V||-"pdf"==V)&&M.checked)Z=null;else if(null==Z||Z==mxConstants.NONE)Z="#ffffff";ExportDialog.lastBorderValue=P;ExportDialog.exportFile(a,S,V,Z,fa,P,X,N.checked)}}));T.className="geBtn gePrimaryBtn";var W=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});W.className="geBtn";a.editor.cancelFirst?(k.appendChild(W),k.appendChild(T)):(k.appendChild(T),k.appendChild(W));g.appendChild(k);r.appendChild(g);d.appendChild(r);this.container=d};ExportDialog.lastBorderValue=0;+k.setAttribute("value","400");mxUtils.write(k,"400dpi");D.appendChild(k);k=document.createElement("option");k.setAttribute("value","custom");mxUtils.write(k,mxResources.get("custom"));D.appendChild(k);var G=document.createElement("input");G.style.width="180px";G.style.display="none";G.setAttribute("value","100");G.setAttribute("type","number");G.setAttribute("min","50");G.setAttribute("step","50");var H=!1;mxEvent.addListener(D,"change",function(){"custom"==this.value?(this.style.display="none",G.style.display=+"",G.focus()):(G.value=this.value,H||(y.value=this.value))});mxEvent.addListener(G,"change",function(){var S=parseInt(G.value);isNaN(S)||0>=S?G.style.backgroundColor="red":(G.style.backgroundColor="",H||(y.value=S))});k=document.createElement("td");k.appendChild(D);k.appendChild(G);g.appendChild(k);q.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("background")+":");g.appendChild(k);var M=document.createElement("input");+M.setAttribute("type","checkbox");M.checked=null==f.background||f.background==mxConstants.NONE;k=document.createElement("td");k.appendChild(M);mxUtils.write(k,mxResources.get("transparent"));g.appendChild(k);q.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("grid")+":");g.appendChild(k);var N=document.createElement("input");N.setAttribute("type","checkbox");N.checked=!1;k=document.createElement("td");k.appendChild(N);+g.appendChild(k);q.appendChild(g);g=document.createElement("tr");k=document.createElement("td");k.style.fontSize="10pt";mxUtils.write(k,mxResources.get("borderWidth")+":");g.appendChild(k);var K=document.createElement("input");K.setAttribute("type","number");K.setAttribute("value",ExportDialog.lastBorderValue);K.style.width="180px";k=document.createElement("td");k.appendChild(K);g.appendChild(k);q.appendChild(g);d.appendChild(q);mxEvent.addListener(w,"change",b);b();mxEvent.addListener(y,"change",+function(){H=!0;var S=Math.max(0,parseFloat(y.value)||100)/100;y.value=parseFloat((100*S).toFixed(2));0<h?(A.value=Math.floor(h*S),F.value=Math.floor(l*S)):(y.value="100",A.value=h,F.value=l);e()});mxEvent.addListener(A,"change",function(){var S=parseInt(A.value)/h;0<S?(y.value=parseFloat((100*S).toFixed(2)),F.value=Math.floor(l*S)):(y.value="100",A.value=h,F.value=l);e()});mxEvent.addListener(F,"change",function(){var S=parseInt(F.value)/l;0<S?(y.value=parseFloat((100*S).toFixed(2)),A.value=Math.floor(h*+S)):(y.value="100",A.value=h,F.value=l);e()});g=document.createElement("tr");k=document.createElement("td");k.setAttribute("align","right");k.style.paddingTop="22px";k.colSpan=2;var T=mxUtils.button(mxResources.get("export"),mxUtils.bind(this,function(){if(0>=parseInt(y.value))mxUtils.alert(mxResources.get("drawingEmpty"));else{var S=u.value,V=w.value,fa=Math.max(0,parseFloat(y.value)||100)/100,P=Math.max(0,parseInt(K.value)),Z=f.background,X=Math.max(1,parseInt(G.value));if(("svg"==V||"png"==V||+"pdf"==V)&&M.checked)Z=null;else if(null==Z||Z==mxConstants.NONE)Z="#ffffff";ExportDialog.lastBorderValue=P;ExportDialog.exportFile(a,S,V,Z,fa,P,X,N.checked)}}));T.className="geBtn gePrimaryBtn";var W=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});W.className="geBtn";a.editor.cancelFirst?(k.appendChild(W),k.appendChild(T)):(k.appendChild(T),k.appendChild(W));g.appendChild(k);q.appendChild(g);d.appendChild(q);this.container=d};ExportDialog.lastBorderValue=0;ExportDialog.showGifOption=!0;ExportDialog.showXmlOption=!0;-ExportDialog.exportFile=function(a,b,e,f,g,d,h,l){l=a.editor.graph;if("xml"==e)ExportDialog.saveLocalFile(a,mxUtils.getXml(a.editor.getGraphXml()),b,e);else if("svg"==e)ExportDialog.saveLocalFile(a,mxUtils.getXml(l.getSvg(f,g,d)),b,e);else{var r=l.getGraphBounds(),k=mxUtils.createXmlDocument(),u=k.createElement("output");k.appendChild(u);k=new mxXmlCanvas2D(u);k.translate(Math.floor((d/g-r.x)/l.view.scale),Math.floor((d/g-r.y)/l.view.scale));k.scale(g/l.view.scale);(new mxImageExport).drawState(l.getView().getState(l.model.root),-k);u="xml="+encodeURIComponent(mxUtils.getXml(u));k=Math.ceil(r.width*g/l.view.scale+2*d);g=Math.ceil(r.height*g/l.view.scale+2*d);u.length<=MAX_REQUEST_SIZE&&k*g<MAX_AREA?(a.hideDialog(),(new mxXmlRequest(EXPORT_URL,"format="+e+"&filename="+encodeURIComponent(b)+"&bg="+(null!=f?f:"none")+"&w="+k+"&h="+g+"&"+u+"&dpi="+h)).simulate(document,"_blank")):mxUtils.alert(mxResources.get("drawingTooLarge"))}};+ExportDialog.exportFile=function(a,b,e,f,g,d,h,l){l=a.editor.graph;if("xml"==e)ExportDialog.saveLocalFile(a,mxUtils.getXml(a.editor.getGraphXml()),b,e);else if("svg"==e)ExportDialog.saveLocalFile(a,mxUtils.getXml(l.getSvg(f,g,d)),b,e);else{var q=l.getGraphBounds(),k=mxUtils.createXmlDocument(),u=k.createElement("output");k.appendChild(u);k=new mxXmlCanvas2D(u);k.translate(Math.floor((d/g-q.x)/l.view.scale),Math.floor((d/g-q.y)/l.view.scale));k.scale(g/l.view.scale);(new mxImageExport).drawState(l.getView().getState(l.model.root),+k);u="xml="+encodeURIComponent(mxUtils.getXml(u));k=Math.ceil(q.width*g/l.view.scale+2*d);g=Math.ceil(q.height*g/l.view.scale+2*d);u.length<=MAX_REQUEST_SIZE&&k*g<MAX_AREA?(a.hideDialog(),(new mxXmlRequest(EXPORT_URL,"format="+e+"&filename="+encodeURIComponent(b)+"&bg="+(null!=f?f:"none")+"&w="+k+"&h="+g+"&"+u+"&dpi="+h)).simulate(document,"_blank")):mxUtils.alert(mxResources.get("drawingTooLarge"))}};ExportDialog.saveLocalFile=function(a,b,e,f){b.length<MAX_REQUEST_SIZE?(a.hideDialog(),(new mxXmlRequest(SAVE_URL,"xml="+encodeURIComponent(b)+"&filename="+encodeURIComponent(e)+"&format="+f)).simulate(document,"_blank")):(mxUtils.alert(mxResources.get("drawingTooLarge")),mxUtils.popup(xml))};-var EditDataDialog=function(a,b){function e(){0<K.value.length?T.removeAttribute("disabled"):T.setAttribute("disabled","disabled")}var f=document.createElement("div"),g=a.editor.graph,d=g.getModel().getValue(b);if(!mxUtils.isNode(d)){var h=mxUtils.createXmlDocument().createElement("object");h.setAttribute("label",d||"");d=h}var l={};try{var r=mxUtils.getValue(a.editor.graph.getCurrentCellStyle(b),"metaData",null);null!=r&&(l=JSON.parse(r))}catch(S){}var k=new mxForm("properties");k.table.style.width=-"100%";var u=d.attributes,w=[],y=[],A=0,G=null!=EditDataDialog.getDisplayIdForCell?EditDataDialog.getDisplayIdForCell(a,b):null,D=function(S,V){var fa=document.createElement("div");fa.style.position="relative";fa.style.paddingRight="20px";fa.style.boxSizing="border-box";fa.style.width="100%";var P=document.createElement("a"),Z=mxUtils.createImage(Dialog.prototype.closeImage);Z.style.height="9px";Z.style.fontSize="9px";Z.style.marginBottom=mxClient.IS_IE11?"-1px":"5px";P.className="geButton";P.setAttribute("title",-mxResources.get("delete"));P.style.position="absolute";P.style.top="4px";P.style.right="0px";P.style.margin="0px";P.style.width="9px";P.style.height="9px";P.style.cursor="pointer";P.appendChild(Z);V=function(X){return function(){for(var ba=0,L=0;L<w.length;L++){if(w[L]==X){y[L]=null;k.table.deleteRow(ba+(null!=G?1:0));break}null!=y[L]&&ba++}}}(V);mxEvent.addListener(P,"click",V);V=S.parentNode;fa.appendChild(S);fa.appendChild(P);V.appendChild(fa)};h=function(S,V,fa){w[S]=V;y[S]=k.addTextarea(w[A]+-":",fa,2);y[S].style.width="100%";0<fa.indexOf("\n")&&y[S].setAttribute("rows","2");D(y[S],V);null!=l[V]&&0==l[V].editable&&y[S].setAttribute("disabled","disabled")};r=[];for(var F=g.getModel().getParent(b)==g.getModel().getRoot(),H=g.getCellStyle(b),M=0;M<u.length;M++)("label"!=u[M].nodeName||"1"==H.metaEdit||Graph.translateDiagram||F)&&"placeholders"!=u[M].nodeName&&r.push({name:u[M].nodeName,value:u[M].nodeValue});r.sort(function(S,V){return"label"==S.name?1:"label"==V.name?-1:S.name<V.name?-1:-S.name>V.name?1:0});if(null!=G){u=document.createElement("div");u.style.width="100%";u.style.fontSize="11px";u.style.textAlign="center";mxUtils.write(u,G);var N=k.addField(mxResources.get("id")+":",u);mxEvent.addListener(u,"dblclick",function(S){S=new FilenameDialog(a,G,mxResources.get("apply"),mxUtils.bind(this,function(V){if(null!=V&&0<V.length&&V!=G)if(g.model.isRoot(b)){var fa=a.getPageById(G);if(null!=fa)if(null==a.getPageById(V)){var P=a.getPageIndex(fa);0<=P&&(a.removePage(fa),fa.node.setAttribute("id",-V),G=V,N.innerHTML=mxUtils.htmlEntities(V),a.insertPage(fa,P))}else a.handleError({message:mxResources.get("alreadyExst",[mxResources.get("page")])})}else null==g.getModel().getCell(V)?(g.getModel().cellRemoved(b),b.setId(V),G=V,N.innerHTML=mxUtils.htmlEntities(V),g.getModel().cellAdded(b)):a.handleError({message:mxResources.get("alreadyExst",[V])})}),mxResources.get("id"));a.showDialog(S.container,300,80,!0,!0);S.init()})}for(M=0;M<r.length;M++)h(A,r[M].name,r[M].value),A++;r=document.createElement("div");-r.style.position="absolute";r.style.top="30px";r.style.left="30px";r.style.right="30px";r.style.bottom="80px";r.style.overflowY="auto";r.appendChild(k.table);h=document.createElement("div");h.style.display="flex";h.style.alignItems="center";h.style.boxSizing="border-box";h.style.paddingRight="160px";h.style.whiteSpace="nowrap";h.style.marginTop="6px";h.style.width="100%";var K=document.createElement("input");K.setAttribute("placeholder",mxResources.get("enterPropertyName"));K.setAttribute("type",-"text");K.setAttribute("size",mxClient.IS_IE||mxClient.IS_IE11?"36":"40");K.style.boxSizing="border-box";K.style.borderWidth="1px";K.style.borderStyle="solid";K.style.marginLeft="2px";K.style.padding="4px";K.style.width="100%";h.appendChild(K);r.appendChild(h);f.appendChild(r);var T=mxUtils.button(mxResources.get("addProperty"),function(){var S=K.value;if(0<S.length&&"label"!=S&&"id"!=S&&"placeholders"!=S&&0>S.indexOf(":"))try{var V=mxUtils.indexOf(w,S);if(0<=V&&null!=y[V])y[V].focus();else{d.cloneNode(!1).setAttribute(S,+var EditDataDialog=function(a,b){function e(){0<K.value.length?T.removeAttribute("disabled"):T.setAttribute("disabled","disabled")}var f=document.createElement("div"),g=a.editor.graph,d=g.getModel().getValue(b);if(!mxUtils.isNode(d)){var h=mxUtils.createXmlDocument().createElement("object");h.setAttribute("label",d||"");d=h}var l={};try{var q=mxUtils.getValue(a.editor.graph.getCurrentCellStyle(b),"metaData",null);null!=q&&(l=JSON.parse(q))}catch(S){}var k=new mxForm("properties");k.table.style.width=+"100%";var u=d.attributes,w=[],y=[],A=0,F=null!=EditDataDialog.getDisplayIdForCell?EditDataDialog.getDisplayIdForCell(a,b):null,D=function(S,V){var fa=document.createElement("div");fa.style.position="relative";fa.style.paddingRight="20px";fa.style.boxSizing="border-box";fa.style.width="100%";var P=document.createElement("a"),Z=mxUtils.createImage(Dialog.prototype.closeImage);Z.style.height="9px";Z.style.fontSize="9px";Z.style.marginBottom=mxClient.IS_IE11?"-1px":"5px";P.className="geButton";P.setAttribute("title",+mxResources.get("delete"));P.style.position="absolute";P.style.top="4px";P.style.right="0px";P.style.margin="0px";P.style.width="9px";P.style.height="9px";P.style.cursor="pointer";P.appendChild(Z);V=function(X){return function(){for(var ba=0,L=0;L<w.length;L++){if(w[L]==X){y[L]=null;k.table.deleteRow(ba+(null!=F?1:0));break}null!=y[L]&&ba++}}}(V);mxEvent.addListener(P,"click",V);V=S.parentNode;fa.appendChild(S);fa.appendChild(P);V.appendChild(fa)};h=function(S,V,fa){w[S]=V;y[S]=k.addTextarea(w[A]++":",fa,2);y[S].style.width="100%";0<fa.indexOf("\n")&&y[S].setAttribute("rows","2");D(y[S],V);null!=l[V]&&0==l[V].editable&&y[S].setAttribute("disabled","disabled")};q=[];for(var G=g.getModel().getParent(b)==g.getModel().getRoot(),H=g.getCellStyle(b),M=0;M<u.length;M++)("label"!=u[M].nodeName||"1"==H.metaEdit||Graph.translateDiagram||G)&&"placeholders"!=u[M].nodeName&&q.push({name:u[M].nodeName,value:u[M].nodeValue});q.sort(function(S,V){return"label"==S.name?1:"label"==V.name?-1:S.name<V.name?-1:+S.name>V.name?1:0});if(null!=F){u=document.createElement("div");u.style.width="100%";u.style.fontSize="11px";u.style.textAlign="center";mxUtils.write(u,F);var N=k.addField(mxResources.get("id")+":",u);mxEvent.addListener(u,"dblclick",function(S){S=new FilenameDialog(a,F,mxResources.get("apply"),mxUtils.bind(this,function(V){if(null!=V&&0<V.length&&V!=F)if(g.model.isRoot(b)){var fa=a.getPageById(F);if(null!=fa)if(null==a.getPageById(V)){var P=a.getPageIndex(fa);0<=P&&(a.removePage(fa),fa.node.setAttribute("id",+V),F=V,N.innerHTML=mxUtils.htmlEntities(V),a.insertPage(fa,P))}else a.handleError({message:mxResources.get("alreadyExst",[mxResources.get("page")])})}else null==g.getModel().getCell(V)?(g.getModel().cellRemoved(b),b.setId(V),F=V,N.innerHTML=mxUtils.htmlEntities(V),g.getModel().cellAdded(b)):a.handleError({message:mxResources.get("alreadyExst",[V])})}),mxResources.get("id"));a.showDialog(S.container,300,80,!0,!0);S.init()})}for(M=0;M<q.length;M++)h(A,q[M].name,q[M].value),A++;q=document.createElement("div");+q.style.position="absolute";q.style.top="30px";q.style.left="30px";q.style.right="30px";q.style.bottom="80px";q.style.overflowY="auto";q.appendChild(k.table);h=document.createElement("div");h.style.display="flex";h.style.alignItems="center";h.style.boxSizing="border-box";h.style.paddingRight="160px";h.style.whiteSpace="nowrap";h.style.marginTop="6px";h.style.width="100%";var K=document.createElement("input");K.setAttribute("placeholder",mxResources.get("enterPropertyName"));K.setAttribute("type",+"text");K.setAttribute("size",mxClient.IS_IE||mxClient.IS_IE11?"36":"40");K.style.boxSizing="border-box";K.style.borderWidth="1px";K.style.borderStyle="solid";K.style.marginLeft="2px";K.style.padding="4px";K.style.width="100%";h.appendChild(K);q.appendChild(h);f.appendChild(q);var T=mxUtils.button(mxResources.get("addProperty"),function(){var S=K.value;if(0<S.length&&"label"!=S&&"id"!=S&&"placeholders"!=S&&0>S.indexOf(":"))try{var V=mxUtils.indexOf(w,S);if(0<=V&&null!=y[V])y[V].focus();else{d.cloneNode(!1).setAttribute(S,"");0<=V&&(w.splice(V,1),y.splice(V,1));w.push(S);var fa=k.addTextarea(S+":","",2);fa.style.width="100%";y.push(fa);D(fa,S);fa.focus()}T.setAttribute("disabled","disabled");K.value=""}catch(P){mxUtils.alert(P)}else mxUtils.alert(mxResources.get("invalidName"))});mxEvent.addListener(K,"keypress",function(S){13==S.keyCode&&T.click()});this.init=function(){0<y.length?y[0].focus():K.focus()};T.setAttribute("title",mxResources.get("addProperty"));T.setAttribute("disabled","disabled");T.style.textOverflow=-"ellipsis";T.style.position="absolute";T.style.overflow="hidden";T.style.width="144px";T.style.right="0px";T.className="geBtn";h.appendChild(T);r=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog.apply(a,arguments)});r.setAttribute("title","Escape");r.className="geBtn";h=mxUtils.button(mxResources.get("export"),mxUtils.bind(this,function(S){var V=g.getDataForCells([b],!0);S=new EmbedDialog(a,JSON.stringify(V,null,2),null,null,function(){console.log(V);a.alert("Written to Console (Dev Tools)")},+"ellipsis";T.style.position="absolute";T.style.overflow="hidden";T.style.width="144px";T.style.right="0px";T.className="geBtn";h.appendChild(T);q=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog.apply(a,arguments)});q.setAttribute("title","Escape");q.className="geBtn";h=mxUtils.button(mxResources.get("export"),mxUtils.bind(this,function(S){var V=g.getDataForCells([b],!0);S=new EmbedDialog(a,JSON.stringify(V,null,2),null,null,function(){console.log(V);a.alert("Written to Console (Dev Tools)")},mxResources.get("export"),null,"Console","data.json");a.showDialog(S.container,450,240,!0,!0);S.init()}));h.setAttribute("title",mxResources.get("export"));h.className="geBtn";var W=mxUtils.button(mxResources.get("apply"),function(){try{a.hideDialog.apply(a,arguments);d=d.cloneNode(!0);for(var S=!1,V=0;V<w.length;V++)null==y[V]?d.removeAttribute(w[V]):(d.setAttribute(w[V],y[V].value),S=S||"placeholder"==w[V]&&"1"==d.getAttribute("placeholders"));S&&d.removeAttribute("label");g.getModel().setValue(b,d)}catch(fa){mxUtils.alert(fa)}});W.setAttribute("title","Ctrl+Enter");W.className="geBtn gePrimaryBtn";mxEvent.addListener(f,"keydown",function(S){13==S.keyCode&&mxEvent.isControlDown(S)&&W.click()});mxEvent.addListener(K,"keyup",e);mxEvent.addListener(K,"change",e);u=document.createElement("div");u.style.display="flex";u.style.justifyContent="flex-end";u.style.alignItems="center";u.style.position="absolute";u.style.left="30px";u.style.right="30px";u.style.bottom="30px";u.style.height="40px";if(a.editor.graph.getModel().isVertex(b)||-a.editor.graph.getModel().isEdge(b))F=document.createElement("span"),F.style.marginRight="10px",F.style.justifyContent="flex-end",F.style.alignItems="center",F.style.display="flex",F.style.whiteSpace="nowrap",H=document.createElement("input"),H.setAttribute("type","checkbox"),H.style.marginRight="6px","1"==d.getAttribute("placeholders")&&(H.setAttribute("checked","checked"),H.defaultChecked=!0),mxEvent.addListener(H,"click",function(){"1"==d.getAttribute("placeholders")?d.removeAttribute("placeholders"):-d.setAttribute("placeholders","1")}),F.appendChild(H),mxUtils.write(F,mxResources.get("placeholders")),null!=EditDataDialog.placeholderHelpLink&&F.appendChild(a.createHelpIcon(EditDataDialog.placeholderHelpLink)),u.appendChild(F);a.editor.cancelFirst&&u.appendChild(r);u.appendChild(h);u.appendChild(W);a.editor.cancelFirst||u.appendChild(r);f.appendChild(u);this.container=f};EditDataDialog.getDisplayIdForCell=function(a,b){var e=null;null!=a.editor.graph.getModel().getParent(b)&&(e=b.getId());return e};+a.editor.graph.getModel().isEdge(b))G=document.createElement("span"),G.style.marginRight="10px",G.style.justifyContent="flex-end",G.style.alignItems="center",G.style.display="flex",G.style.whiteSpace="nowrap",H=document.createElement("input"),H.setAttribute("type","checkbox"),H.style.marginRight="6px","1"==d.getAttribute("placeholders")&&(H.setAttribute("checked","checked"),H.defaultChecked=!0),mxEvent.addListener(H,"click",function(){"1"==d.getAttribute("placeholders")?d.removeAttribute("placeholders"):+d.setAttribute("placeholders","1")}),G.appendChild(H),mxUtils.write(G,mxResources.get("placeholders")),null!=EditDataDialog.placeholderHelpLink&&G.appendChild(a.createHelpIcon(EditDataDialog.placeholderHelpLink)),u.appendChild(G);a.editor.cancelFirst&&u.appendChild(q);u.appendChild(h);u.appendChild(W);a.editor.cancelFirst||u.appendChild(q);f.appendChild(u);this.container=f};EditDataDialog.getDisplayIdForCell=function(a,b){var e=null;null!=a.editor.graph.getModel().getParent(b)&&(e=b.getId());return e};EditDataDialog.placeholderHelpLink=null;var LinkDialog=function(a,b,e,f){var g=document.createElement("div");mxUtils.write(g,mxResources.get("editLink")+":");var d=document.createElement("div");d.className="geTitle";d.style.backgroundColor="transparent";d.style.borderColor="transparent";d.style.whiteSpace="nowrap";d.style.textOverflow="clip";d.style.cursor="default";d.style.paddingRight="20px";var h=document.createElement("input");h.setAttribute("value",b);h.setAttribute("placeholder","http://www.example.com/");h.setAttribute("type","text");h.style.marginTop="6px";h.style.width="400px";h.style.backgroundImage="url('"+Dialog.prototype.clearImage+"')";h.style.backgroundRepeat="no-repeat";h.style.backgroundPosition="100% 50%";h.style.paddingRight="14px";b=document.createElement("div");b.setAttribute("title",mxResources.get("reset"));b.style.position="relative";b.style.left="-16px";b.style.width="12px";b.style.height="14px";b.style.cursor="pointer";b.style.display="inline-block";b.style.top="3px";b.style.background="url("+IMAGE_PATH+"/transparent.gif)";mxEvent.addListener(b,"click",function(){h.value="";h.focus()});d.appendChild(h);d.appendChild(b);g.appendChild(d);this.init=function(){h.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?h.select():document.execCommand("selectAll",!1,null)};d=document.createElement("div");d.style.marginTop="18px";d.style.textAlign="right";mxEvent.addListener(h,"keypress",function(l){13==l.keyCode&&(a.hideDialog(),f(h.value))});b=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog()});b.className="geBtn";a.editor.cancelFirst&&d.appendChild(b);e=mxUtils.button(e,function(){a.hideDialog();f(h.value)});e.className="geBtn gePrimaryBtn";d.appendChild(e);a.editor.cancelFirst||d.appendChild(b);g.appendChild(d);this.container=g},OutlineWindow=function(a,b,e,f,g){var d=a.editor.graph,h=document.createElement("div");h.style.position="absolute";h.style.width="100%";h.style.height="100%";h.style.overflow="hidden";this.window=new mxWindow(mxResources.get("outline"),h,b,e,f,g,!0,!0);this.window.minimumSize=new mxRectangle(0,0,80,80);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);var l=a.createOutline(this.window);a.installResizeHandler(this,!0,function(){l.destroy()});this.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){this.window.fit();l.setSuspended(!1)}));this.window.addListener(mxEvent.HIDE,mxUtils.bind(this,function(){l.setSuspended(!0)}));this.window.addListener(mxEvent.NORMALIZE,mxUtils.bind(this,-function(){l.setSuspended(!1)}));this.window.addListener(mxEvent.MINIMIZE,mxUtils.bind(this,function(){l.setSuspended(!0)}));l.init(h);mxEvent.addMouseWheelListener(function(r,k){for(var u=!1,w=mxEvent.getSource(r);null!=w;){if(w==l.svg){u=!0;break}w=w.parentNode}u&&(u=d.zoomFactor,null!=r.deltaY&&Math.round(r.deltaY)!=r.deltaY&&(u=1+Math.abs(r.deltaY)/20*(u-1)),d.lazyZoom(k,null,null,u),mxEvent.consume(r))})},LayersWindow=function(a,b,e,f,g){function d(Z){if(y.isEnabled()&&null!=Z){var X=K.get(Z);+function(){l.setSuspended(!1)}));this.window.addListener(mxEvent.MINIMIZE,mxUtils.bind(this,function(){l.setSuspended(!0)}));l.init(h);mxEvent.addMouseWheelListener(function(q,k){for(var u=!1,w=mxEvent.getSource(q);null!=w;){if(w==l.svg){u=!0;break}w=w.parentNode}u&&(u=d.zoomFactor,null!=q.deltaY&&Math.round(q.deltaY)!=q.deltaY&&(u=1+Math.abs(q.deltaY)/20*(u-1)),d.lazyZoom(k,null,null,u),mxEvent.consume(q))})},LayersWindow=function(a,b,e,f,g){function d(Z){if(y.isEnabled()&&null!=Z){var X=K.get(Z);if(null!=X){var ba=X.getElementsByTagName("div");if(null!=ba&&1<ba.length){var L=ba[1],U=mxUtils.getTextContent(L);L.style.textOverflow="";L.style.cursor="text";L.contentEditable="true";L.focus();document.execCommand("selectAll",!1,null);X.removeAttribute("draggable");X.style.cursor="";var aa=function(ha){if("true"==L.contentEditable){L.contentEditable="false";var ma=mxUtils.getTextContent(L);ha&&ma!=U?(ma=mxUtils.getTextContent(L),0<ma.length?y.cellLabelChanged(Z,ma):y.cellLabelChanged(Z,mxResources.get("untitledLayer"))):-w()}};mxEvent.addListener(L,"keydown",function(ha){if(13==ha.keyCode||27==ha.keyCode)aa(13==ha.keyCode),mxEvent.consume(ha)});mxEvent.addListener(L,"blur",function(ha){aa(!0);mxEvent.consume(ha)})}}}}function h(Z){for(var X=K.getValues(),ba=0;ba<X.length;ba++){var L=X[ba].getElementsByTagName("input")[0];null!=L&&(L.checked=null!=Z?Z:!L.checked)}}function l(Z){Z=K.get(Z);return null!=Z?(Z=Z.getElementsByTagName("input")[0],null!=Z&&Z.checked):!1}function r(Z,X){for(var ba=[],L=0;L<A.getChildCount(A.root);L++){var U=+w()}};mxEvent.addListener(L,"keydown",function(ha){if(13==ha.keyCode||27==ha.keyCode)aa(13==ha.keyCode),mxEvent.consume(ha)});mxEvent.addListener(L,"blur",function(ha){aa(!0);mxEvent.consume(ha)})}}}}function h(Z){for(var X=K.getValues(),ba=0;ba<X.length;ba++){var L=X[ba].getElementsByTagName("input")[0];null!=L&&(L.checked=null!=Z?Z:!L.checked)}}function l(Z){Z=K.get(Z);return null!=Z?(Z=Z.getElementsByTagName("input")[0],null!=Z&&Z.checked):!1}function q(Z,X){for(var ba=[],L=0;L<A.getChildCount(A.root);L++){var U=A.getChildAt(A.root,L);U!=Z&&(X||l(U))&&ba.push(U)}return ba}function k(Z,X){y.setCellStyles("locked",X?"1":"0",Z);if(X)for(X=0;X<Z.length;X++)y.removeSelectionCells(A.getDescendants(Z[X]))}function u(){var Z=K.get(y.getLayerForCells(y.getSelectionCells()));null!=Z?Z.appendChild(P):null!=P.parentNode&&P.parentNode.removeChild(P)}function w(){function Z(L,U,aa,ha,ma){var oa=document.createElement("div");oa.className="geToolbarContainer";oa.style.overflow="hidden";oa.style.position="relative";oa.style.height="30px";oa.style.display="flex";oa.style.padding="0 8px";oa.style.alignItems="center";oa.style.justifyContent="flex-start";oa.style.borderWidth="0px 0px 1px 0px";oa.style.borderStyle="solid";oa.style.whiteSpace="nowrap";oa.style.cursor="move";oa.setAttribute("draggable","true");oa.setAttribute("title",U+" ("+aa.getId()+")");X.put(aa,oa);var ca=document.createElement("input");ca.setAttribute("type","checkbox");ca.style.cursor="pointer";ca.style.order="2";ca.checked=ma;ca.style.display=y.isEnabled()?-"":"none";oa.appendChild(ca);ma=document.createElement("div");ma.style.display="flex";ma.style.alignItems="center";ma.style.flexGrow="1";mxEvent.addListener(ca,"click",function(ja){mxEvent.isShiftDown(ja)&&h(ca.checked)});var la=document.createElement("div");mxUtils.write(la,U);la.style.whiteSpace="nowrap";la.style.overflow="hidden";la.style.textOverflow="ellipsis";la.style.marginRight="4px";la.style.padding="4px";la.style.flexGrow="1";mxEvent.addListener(oa,"dragover",function(ja){ja.dataTransfer.dropEffect=-"move";H=L;ja.stopPropagation();ja.preventDefault()});mxEvent.addListener(oa,"dragstart",function(ja){"true"!=la.contentEditable&&(F=oa,mxClient.IS_FF&&ja.dataTransfer.setData("Text","<layer/>"))});mxEvent.addListener(oa,"dragend",function(ja){null!=F&&null!=H&&1<A.getChildCount(A.root)&&y.addCell(aa,A.root,H);H=F=null;ja.stopPropagation();ja.preventDefault()});var ia=A.isVisible(aa);U=document.createElement("img");U.className="geAdaptiveAsset";U.style.width="16px";U.style.padding="0px 6px 0 0";U.style.cursor=-"pointer";U.setAttribute("title",mxResources.get(ia?"hide":"show"));ia?(U.setAttribute("src",Editor.visibleImage),mxUtils.setOpacity(ma,90)):(U.setAttribute("src",Editor.hiddenImage),mxUtils.setOpacity(ma,40));y.isEnabled()||mxUtils.setOpacity(U,50);ma.appendChild(U);mxEvent.addListener(U,"click",function(ja){if(y.isEnabled())if(mxEvent.isShiftDown(ja)){for(var va=r(aa,!0),za=y,La=za.setCellsVisible,Na=!0,Ja=0;Ja<va.length;Ja++)if(!A.isVisible(va[Ja])){Na=!1;break}La.call(za,va,!Na)}else y.setCellsVisible([aa],-!ia);mxEvent.consume(ja)});U=U.cloneNode(!1);var O=y.getCurrentCellStyle(aa);U.setAttribute("title",mxResources.get("lockUnlock"));var qa="1"==mxUtils.getValue(O,"locked","0");qa?(U.setAttribute("src",Editor.lockedImage),mxUtils.setOpacity(U,90),oa.style.color="red"):(U.setAttribute("src",Editor.unlockedImage),mxUtils.setOpacity(U,40));y.isEnabled()&&(U.style.cursor="pointer");mxEvent.addListener(U,"click",function(ja){y.isEnabled()&&(k(mxEvent.isShiftDown(ja)?r(null,!0):[aa],!qa),mxEvent.consume(ja))});-ma.appendChild(U);ma.appendChild(la);oa.appendChild(ma);mxEvent.addListener(oa,"dblclick",function(ja){var va=mxEvent.getSource(ja).nodeName;"INPUT"!=va&&"IMG"!=va&&"true"!=la.contentEditable&&(d(aa),mxEvent.consume(ja))});y.getDefaultParent()==aa&&(oa.classList.add("geActivePage"),oa.style.fontWeight=y.isEnabled()?"bold":"",N=aa);mxEvent.addListener(oa,"click",function(ja){y.isEnabled()&&"true"!=la.contentEditable&&mxEvent.getSource(ja)!=ca&&(y.setDefaultParent(ha),y.view.setCurrentRoot(null),mxEvent.isShiftDown(ja)&&-(y.clearSelection(),y.selectAll(N)),mxEvent.consume(ja))});D.appendChild(oa)}y.isEnabled()?(fa.classList.remove("mxDisabled"),V.classList.remove("mxDisabled"),S.classList.remove("mxDisabled")):(fa.classList.add("mxDisabled"),V.classList.add("mxDisabled"),S.classList.add("mxDisabled"));M=A.getChildCount(A.root);D.innerText="";for(var X=new mxDictionary,ba=M-1;0<=ba;ba--)mxUtils.bind(this,function(L){Z(ba,y.convertValueToString(L)||mxResources.get("background"),L,L,l(L))})(A.getChildAt(A.root,ba));-K=X;u()}var y=a.editor.graph,A=y.getModel(),G=document.createElement("div");G.style.userSelect="none";G.style.height="100%";G.style.marginBottom="10px";G.style.overflow="auto";var D=document.createElement("div");D.style.position="absolute";D.style.overflow="auto";D.style.left="0px";D.style.right="0px";D.style.top="0px";D.style.bottom="32px";G.appendChild(D);var F=null,H=null;mxEvent.addListener(G,"dragover",function(Z){Z.dataTransfer.dropEffect="move";H=0;Z.stopPropagation();Z.preventDefault()});-mxEvent.addListener(G,"drop",function(Z){Z.stopPropagation();Z.preventDefault()});var M=null,N=null,K=new mxDictionary,T=document.createElement("div");T.className="geToolbarContainer geDialogToolbar";var W=document.createElement("a");W.className="geButton";var S=W.cloneNode(!1);S.style.backgroundImage="url("+Editor.plusImage+")";S.setAttribute("title",mxResources.get("addLayer"));mxEvent.addListener(S,"click",function(Z){if(y.isEnabled()){h(!1);A.beginUpdate();try{var X=y.addCell(new mxCell(mxResources.get("untitledLayer")),-A.root);y.setDefaultParent(X)}finally{A.endUpdate()}d(X)}mxEvent.consume(Z)});y.isEnabled()||S.classList.add("mxDisabled");T.appendChild(S);var V=W.cloneNode(!1);V.style.backgroundImage="url("+Editor.menuImage+")";T.appendChild(V);mxEvent.addListener(V,"click",function(Z){if(y.isEnabled()){a.editor.graph.popupMenuHandler.hideMenu();var X=r(),ba=A.root.getIndex(N),L=0<X.length&&y.isEnabled(),U=mxResources.get("nothingIsSelected"),aa=y.getLayerForCells(y.getSelectionCells()),ha=y.convertValueToString(N)||-mxResources.get("background"),ma=new mxPopupMenu(mxUtils.bind(this,function(la,ia){var O=la.addItem(mxResources.get("layers"),null,null,ia);la.addItem(mxResources.get("selectAll"),null,mxUtils.bind(this,function(){w();h(!0)}),O);la.addItem(mxResources.get("selectNone"),null,mxUtils.bind(this,function(){w();h(!1)}),O,null,0<X.length).setAttribute("title",0<X.length?mxResources.get("selectNone"):U);la.addItem(mxResources.get("invertSelection"),null,mxUtils.bind(this,function(){w();h()}),O);la.addSeparator(O);-la.addItem(mxResources.get("show"),null,mxUtils.bind(this,function(){y.setCellsVisible(X,!0)}),O,null,L).setAttribute("title",0<X.length?mxResources.get("show"):U);la.addItem(mxResources.get("hide"),null,mxUtils.bind(this,function(){y.setCellsVisible(X,!1)}),O,null,L).setAttribute("title",0<X.length?mxResources.get("hide"):U);la.addSeparator(O);la.addItem(mxResources.get("lock"),null,mxUtils.bind(this,function(){k(r(),!0)}),O,null,L).setAttribute("title",0<X.length?mxResources.get("lock"):U);la.addItem(mxResources.get("unlock"),-null,mxUtils.bind(this,function(){k(r(),!1)}),O,null,L).setAttribute("title",0<X.length?mxResources.get("unlock"):U);O=la.addItem(mxResources.get("currentLayer"),null,null,ia);la.addItem(mxResources.get("duplicate"),null,mxUtils.bind(this,function(){h(!1);var ja=null;A.beginUpdate();try{ja=y.cloneCell(N),y.cellLabelChanged(ja,mxResources.get("copyOf",[ha])),ja=y.addCell(ja,A.root,ba+1),ja.setVisible(!0)}finally{A.endUpdate()}null==ja||y.isCellLocked(ja)||(y.setDefaultParent(ja),y.selectAll(ja))}),-O);la.addSeparator(O);la.addItem(mxResources.get("rename"),null,mxUtils.bind(this,function(){d(N)}),O);la.addItem(mxResources.get("editData"),null,mxUtils.bind(this,function(){a.showDataDialog(N)}),O);1<M&&(la.addSeparator(O),la.addItem(mxResources.get("toFront"),null,mxUtils.bind(this,function(){y.addCell(N,A.root,M-1)}),O,null,0<=ba&&ba<M-1),la.addItem(mxResources.get("toBack"),null,mxUtils.bind(this,function(){y.addCell(N,A.root,0)}),O,null,0<ba),2<M&&(la.addItem(mxResources.get("bringForward"),-null,mxUtils.bind(this,function(){y.addCell(N,A.root,ba+1)}),O,null,0<=ba&&ba<M-1),la.addItem(mxResources.get("sendBackward"),null,mxUtils.bind(this,function(){y.addCell(N,A.root,ba-1)}),O,null,0<ba)));la.addSeparator(O);la.addItem(mxResources.get("selectObjectsInLayer"),null,mxUtils.bind(this,function(){y.clearSelection();y.selectAll(N)}),O,null,null!=N.children&&0<N.children.length);var qa=la.addItem(mxResources.get("moveSelectionTo",[""]),null,null,ia,null,!y.isSelectionEmpty());y.isSelectionEmpty()&&-qa.setAttribute("title",mxResources.get("nothingIsSelected"));for(ia=M-1;0<=ia;ia--)mxUtils.bind(this,function(ja){var va="1"==mxUtils.getValue(y.getCurrentCellStyle(ja),"locked","0"),za=la.addItem(y.convertValueToString(ja)||mxResources.get("background"),null,mxUtils.bind(this,function(){va||y.moveCells(y.getSelectionCells(),0,0,!1,ja)}),qa,null,!va);va&&za.setAttribute("title",mxResources.get("locked"));ja==aa&&la.addCheckmark(za,Editor.checkmarkImage)})(A.getChildAt(A.root,ia))}));ma.smartSeparators=-!0;ma.showDisabled=!0;ma.autoExpand=!0;ma.hideMenu=mxUtils.bind(this,function(){mxPopupMenu.prototype.hideMenu.apply(ma,arguments);ma.destroy()});var oa=mxEvent.getClientX(Z),ca=mxEvent.getClientY(Z);ma.popup(oa,ca,null,Z);a.setCurrentMenu(ma);mxEvent.consume(Z)}});y.isEnabled()||V.classList.add("mxDisabled");var fa=W.cloneNode(!1);fa.style.backgroundImage="url("+Editor.trashImage+")";fa.setAttribute("title",mxResources.get("delete"));T.appendChild(fa);mxEvent.addListener(fa,"click",function(Z){if(y.isEnabled()){A.beginUpdate();-try{var X=A.root.getIndex(N),ba=r();0==ba.length&&ba.push(N);y.removeCells(ba,!1);0==A.getChildCount(A.root)?(A.add(A.root,new mxCell),y.setDefaultParent(null)):0<X&&X<=A.getChildCount(A.root)?y.setDefaultParent(A.getChildAt(A.root,X-1)):y.setDefaultParent(null)}finally{A.endUpdate()}}mxEvent.consume(Z)});y.isEnabled()||fa.classList.add("mxDisabled");G.appendChild(T);var P=document.createElement("span");P.setAttribute("title",mxResources.get("allSelectedObjectsInThisLayer"));P.innerHTML="•";-P.style.padding="0 2px";P.style.fontSize="16pt";P.style.right="6px";P.style.order="1";w();A.addListener(mxEvent.CHANGE,w);y.addListener("defaultParentChanged",w);a.addListener("lockedChanged",w);y.selectionModel.addListener(mxEvent.CHANGE,function(){u()});this.window=new mxWindow(mxResources.get("layers"),G,b,e,f,g,!0,!0);this.window.minimumSize=new mxRectangle(0,0,170,120);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);-this.init=function(){D.scrollTop=D.scrollHeight-D.clientHeight};this.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){this.window.fit()}));this.refreshLayers=w;a.installResizeHandler(this,!0)};+"":"none";oa.appendChild(ca);ma=document.createElement("div");ma.style.display="flex";ma.style.alignItems="center";ma.style.minWidth="0";ma.style.flexGrow="1";mxEvent.addListener(ca,"click",function(ja){mxEvent.isShiftDown(ja)&&h(ca.checked)});var la=document.createElement("div");mxUtils.write(la,U);la.style.whiteSpace="nowrap";la.style.overflow="hidden";la.style.textOverflow="ellipsis";la.style.marginRight="4px";la.style.padding="4px";la.style.flexGrow="1";mxEvent.addListener(oa,"dragover",function(ja){ja.dataTransfer.dropEffect=+"move";H=L;ja.stopPropagation();ja.preventDefault()});mxEvent.addListener(oa,"dragstart",function(ja){"true"!=la.contentEditable&&(G=oa,mxClient.IS_FF&&ja.dataTransfer.setData("Text","<layer/>"))});mxEvent.addListener(oa,"dragend",function(ja){var va=q();if(null!=G&&null!=H&&1<A.getChildCount(A.root)){va=0==va.length?[aa]:va;A.beginUpdate();try{for(var ya=0;ya<va.length;ya++)y.addCell(va[ya],A.root,H)}finally{A.endUpdate()}}H=G=null;ja.stopPropagation();ja.preventDefault()});var ia=A.isVisible(aa);+U=document.createElement("img");U.className="geAdaptiveAsset";U.style.width="16px";U.style.padding="0px 6px 0 0";U.style.cursor="pointer";U.setAttribute("title",mxResources.get(ia?"hide":"show"));ia?(U.setAttribute("src",Editor.visibleImage),mxUtils.setOpacity(ma,90)):(U.setAttribute("src",Editor.hiddenImage),mxUtils.setOpacity(ma,40));y.isEnabled()||mxUtils.setOpacity(U,50);ma.appendChild(U);mxEvent.addListener(U,"click",function(ja){if(y.isEnabled())if(mxEvent.isShiftDown(ja)){for(var va=q(aa,!0),+ya=y,La=ya.setCellsVisible,Na=!0,Ja=0;Ja<va.length;Ja++)if(!A.isVisible(va[Ja])){Na=!1;break}La.call(ya,va,!Na)}else y.setCellsVisible([aa],!ia);mxEvent.consume(ja)});U=U.cloneNode(!1);var O=y.getCurrentCellStyle(aa);U.setAttribute("title",mxResources.get("lockUnlock"));var qa="1"==mxUtils.getValue(O,"locked","0");qa?(U.setAttribute("src",Editor.lockedImage),mxUtils.setOpacity(U,90),oa.style.color="red"):(U.setAttribute("src",Editor.unlockedImage),mxUtils.setOpacity(U,40));y.isEnabled()&&(U.style.cursor=+"pointer");mxEvent.addListener(U,"click",function(ja){y.isEnabled()&&(k(mxEvent.isShiftDown(ja)?q(null,!0):[aa],!qa),mxEvent.consume(ja))});ma.appendChild(U);ma.appendChild(la);oa.appendChild(ma);mxEvent.addListener(oa,"dblclick",function(ja){var va=mxEvent.getSource(ja).nodeName;"INPUT"!=va&&"IMG"!=va&&"true"!=la.contentEditable&&(d(aa),mxEvent.consume(ja))});y.getDefaultParent()==aa&&(oa.classList.add("geActivePage"),oa.style.fontWeight=y.isEnabled()?"bold":"",N=aa);mxEvent.addListener(oa,"click",+function(ja){y.isEnabled()&&"true"!=la.contentEditable&&mxEvent.getSource(ja)!=ca&&(y.setDefaultParent(ha),y.view.setCurrentRoot(null),mxEvent.isShiftDown(ja)&&(y.clearSelection(),y.selectAll(N)),mxEvent.consume(ja))});D.appendChild(oa)}y.isEnabled()?(fa.classList.remove("mxDisabled"),V.classList.remove("mxDisabled"),S.classList.remove("mxDisabled")):(fa.classList.add("mxDisabled"),V.classList.add("mxDisabled"),S.classList.add("mxDisabled"));M=A.getChildCount(A.root);D.innerText="";for(var X=new mxDictionary,+ba=M-1;0<=ba;ba--)mxUtils.bind(this,function(L){Z(ba,y.convertValueToString(L)||mxResources.get("background"),L,L,l(L))})(A.getChildAt(A.root,ba));K=X;u()}var y=a.editor.graph,A=y.getModel(),F=document.createElement("div");F.style.userSelect="none";F.style.height="100%";F.style.marginBottom="10px";F.style.overflow="auto";var D=document.createElement("div");D.style.position="absolute";D.style.overflow="auto";D.style.left="0px";D.style.right="0px";D.style.top="0px";D.style.bottom="32px";F.appendChild(D);+var G=null,H=null;mxEvent.addListener(F,"dragover",function(Z){Z.dataTransfer.dropEffect="move";H=0;Z.stopPropagation();Z.preventDefault()});mxEvent.addListener(F,"drop",function(Z){Z.stopPropagation();Z.preventDefault()});var M=null,N=null,K=new mxDictionary,T=document.createElement("div");T.className="geToolbarContainer geDialogToolbar";var W=document.createElement("a");W.className="geButton";var S=W.cloneNode(!1);S.style.backgroundImage="url("+Editor.plusImage+")";S.setAttribute("title",mxResources.get("addLayer"));+mxEvent.addListener(S,"click",function(Z){if(y.isEnabled()){h(!1);A.beginUpdate();try{var X=y.addCell(new mxCell(mxResources.get("untitledLayer")),A.root);y.setDefaultParent(X)}finally{A.endUpdate()}d(X)}mxEvent.consume(Z)});y.isEnabled()||S.classList.add("mxDisabled");T.appendChild(S);var V=W.cloneNode(!1);V.style.backgroundImage="url("+Editor.menuImage+")";T.appendChild(V);mxEvent.addListener(V,"click",function(Z){if(y.isEnabled()){a.editor.graph.popupMenuHandler.hideMenu();var X=q(),ba=A.root.getIndex(N),+L=0<X.length&&y.isEnabled(),U=mxResources.get("nothingIsSelected"),aa=y.getLayerForCells(y.getSelectionCells()),ha=y.convertValueToString(N)||mxResources.get("background"),ma=new mxPopupMenu(mxUtils.bind(this,function(la,ia){var O=la.addItem(mxResources.get("layers"),null,null,ia);la.addItem(mxResources.get("selectAll"),null,mxUtils.bind(this,function(){w();h(!0)}),O);la.addItem(mxResources.get("selectNone"),null,mxUtils.bind(this,function(){w();h(!1)}),O,null,0<X.length).setAttribute("title",0<X.length?+mxResources.get("selectNone"):U);la.addItem(mxResources.get("invertSelection"),null,mxUtils.bind(this,function(){w();h()}),O);la.addSeparator(O);la.addItem(mxResources.get("show"),null,mxUtils.bind(this,function(){y.setCellsVisible(X,!0)}),O,null,L).setAttribute("title",0<X.length?mxResources.get("show"):U);la.addItem(mxResources.get("hide"),null,mxUtils.bind(this,function(){y.setCellsVisible(X,!1)}),O,null,L).setAttribute("title",0<X.length?mxResources.get("hide"):U);la.addSeparator(O);la.addItem(mxResources.get("lock"),+null,mxUtils.bind(this,function(){k(q(),!0)}),O,null,L).setAttribute("title",0<X.length?mxResources.get("lock"):U);la.addItem(mxResources.get("unlock"),null,mxUtils.bind(this,function(){k(q(),!1)}),O,null,L).setAttribute("title",0<X.length?mxResources.get("unlock"):U);O=la.addItem(mxResources.get("currentLayer"),null,null,ia);la.addItem(mxResources.get("duplicate"),null,mxUtils.bind(this,function(){h(!1);var ja=null;A.beginUpdate();try{ja=y.cloneCell(N),y.cellLabelChanged(ja,mxResources.get("copyOf",+[ha])),ja=y.addCell(ja,A.root,ba+1),ja.setVisible(!0)}finally{A.endUpdate()}null==ja||y.isCellLocked(ja)||(y.setDefaultParent(ja),y.selectAll(ja))}),O);la.addItem(mxResources.get("addLayer"),null,mxUtils.bind(this,function(ja){if(y.isEnabled()){h(!1);A.beginUpdate();try{var va=y.addCell(new mxCell(mxResources.get("untitledLayer")),A.root,ba+(mxEvent.isShiftDown(ja)?0:1));y.setDefaultParent(va)}finally{A.endUpdate()}d(va)}mxEvent.consume(ja)}),O);la.addSeparator(O);la.addItem(mxResources.get("rename"),+null,mxUtils.bind(this,function(){d(N)}),O);la.addItem(mxResources.get("editData"),null,mxUtils.bind(this,function(){a.showDataDialog(N)}),O);1<M&&(la.addSeparator(O),la.addItem(mxResources.get("toFront"),null,mxUtils.bind(this,function(){y.addCell(N,A.root,M-1)}),O,null,0<=ba&&ba<M-1),la.addItem(mxResources.get("toBack"),null,mxUtils.bind(this,function(){y.addCell(N,A.root,0)}),O,null,0<ba),2<M&&(la.addItem(mxResources.get("bringForward"),null,mxUtils.bind(this,function(){y.addCell(N,A.root,ba+1)}),+O,null,0<=ba&&ba<M-1),la.addItem(mxResources.get("sendBackward"),null,mxUtils.bind(this,function(){y.addCell(N,A.root,ba-1)}),O,null,0<ba)));la.addSeparator(O);la.addItem(mxResources.get("selectObjectsInLayer"),null,mxUtils.bind(this,function(){y.clearSelection();y.selectAll(N)}),O,null,null!=N.children&&0<N.children.length);var qa=la.addItem(mxResources.get("moveSelectionTo",[""]),null,null,ia,null,!y.isSelectionEmpty());y.isSelectionEmpty()&&qa.setAttribute("title",mxResources.get("nothingIsSelected"));+for(ia=M-1;0<=ia;ia--)mxUtils.bind(this,function(ja){var va="1"==mxUtils.getValue(y.getCurrentCellStyle(ja),"locked","0"),ya=la.addItem(y.convertValueToString(ja)||mxResources.get("background"),null,mxUtils.bind(this,function(){va||y.moveCells(y.getSelectionCells(),0,0,!1,ja)}),qa,null,!va);va&&ya.setAttribute("title",mxResources.get("locked"));ja==aa&&la.addCheckmark(ya,Editor.checkmarkImage)})(A.getChildAt(A.root,ia))}));ma.smartSeparators=!0;ma.showDisabled=!0;ma.autoExpand=!0;ma.hideMenu=mxUtils.bind(this,+function(){mxPopupMenu.prototype.hideMenu.apply(ma,arguments);ma.destroy()});var oa=mxEvent.getClientX(Z),ca=mxEvent.getClientY(Z);ma.popup(oa,ca,null,Z);a.setCurrentMenu(ma);mxEvent.consume(Z)}});y.isEnabled()||V.classList.add("mxDisabled");var fa=W.cloneNode(!1);fa.style.backgroundImage="url("+Editor.trashImage+")";fa.setAttribute("title",mxResources.get("delete"));T.appendChild(fa);mxEvent.addListener(fa,"click",function(Z){if(y.isEnabled()){A.beginUpdate();try{var X=A.root.getIndex(N),ba=q();+0==ba.length&&ba.push(N);y.removeCells(ba,!1);0==A.getChildCount(A.root)?(A.add(A.root,new mxCell),y.setDefaultParent(null)):0<X&&X<=A.getChildCount(A.root)?y.setDefaultParent(A.getChildAt(A.root,X-1)):y.setDefaultParent(null)}finally{A.endUpdate()}}mxEvent.consume(Z)});y.isEnabled()||fa.classList.add("mxDisabled");F.appendChild(T);var P=document.createElement("span");P.setAttribute("title",mxResources.get("allSelectedObjectsInThisLayer"));P.innerHTML="•";P.style.padding="0 2px";P.style.fontSize=+"16pt";P.style.order="1";w();A.addListener(mxEvent.CHANGE,w);y.addListener("defaultParentChanged",w);a.addListener("lockedChanged",w);y.selectionModel.addListener(mxEvent.CHANGE,function(){u()});this.window=new mxWindow(mxResources.get("layers"),F,b,e,f,g,!0,!0);this.window.minimumSize=new mxRectangle(0,0,170,120);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!0);this.window.setClosable(!0);this.window.setVisible(!0);this.init=function(){D.scrollTop=D.scrollHeight-+D.clientHeight};this.window.addListener(mxEvent.SHOW,mxUtils.bind(this,function(){this.window.fit()}));this.refreshLayers=w;a.installResizeHandler(this,!0)};(function(){Sidebar.prototype.tagIndex="5V1dV+M6sv01rDvngax0oLvveYQEaGaAziE0PW8sxVYSDbblI9uk6V9/VVWS7ST+kB0zL3etbmIn3ltlfZRKUqkU/rpRLN6MmFJym5yM/8QL/Xnw7yLceXQ03fA3JaOTyfjCQCKZehvu66tErCMW6J9E1M4jlJcFTJWIPP1VIKK1ixj/zML4VBRiTMaf9HOKx8G7/lwy71V/ZJEv8Vv8cKea9KW646tU41nk678/4tK7SZVu5FpC9oz/TDPVnkEPJlsn4wVma1lEnVemGByy6q+M+SXkSmaQ6Vv27gJeBDzyOQDMu1ma5FVEEVBEtuokgQhdyZ62Uv/9qWWoYPRltgx4A3U970/hc6BnIuD+kdI+KbGTcelGce6ec4evOBl/k0r8llGKtWBTvulF98xVKjzEvxWXDVS/M8VHF57Hk0TDpzpxJQGScC9TIoX3euXvVV/UcWWpDFkqsCYyfaM/1ly36vGfgVhv0oiasyfh7ypgyaaBaKHl5/nThqb5VeAvZEigXx8k0AolJJUkVjo7jGBOHFOm29Se3FZin6VsyRL42V+2U90z9crTOGAeIEK8Q1UCnMlGxk4CLWb/gsflKt0y/MLnbzyQccgjaIivAjgTT/Gtr4Quf9cXXWRLjRKxyRwvkBko75hHnjisPzUkP/kyESnHtwoAtQ7kkrehL7UyzUAtLrh6E5g7Nnn9iYo2SWW8ZVr1QYsTIW8gE+ll5kHWQlXGdr/Qug1Zl/RDe2O4FL+fWPBaiJSUZGoDT6HRYT3DN9Gdgy4agY3Q59gj+iIOdAOB/MmYYlHKqYp5PMLaFHMVirSSG2XYySnnZrGHNW19JdaZoiYxGV8LbGq+9DKsT0APT3Sk1ldzXaZszQvOpfzlkndUYodytAPDOEuxuocyEqlUmM+Jbm6HevkAq0sAW8+MB9BmQJs+8HQr1Wup3G2zL6uCetJZjXKofV7J+FLnUUWtxZyLTYa20FzpV1GxEgnVdxH4JOgyS0QECr4F3z3nEUHWUQfUjUi/ZUv7tjqTGaCkl0q6Wou0Ef9tdhslUBAn9Xq4GshZkG6gTmx0m8EqvuGoYzb4iwMYdDnVMcpbS2QM3TYB3mM0Sp71/0fuSVPf7lmki1d10DN3LE6x0/CKut+GuddVgGpRyFCtc/sZYS/Cm9FySdUj3sgIPlOZeZvWNAm1o0uTXH81UO3zZEEqQDkwD5q37t+zdAOqNe/RS/aJ6Tdi5purBt73xV930PiLapT8HTTXqz2Kh7JloQ26bIlVOtAl6dIY9uBPMhbeCdgtu/ZLJeEe1XdduTSPrpc6v9+TlIf64jakMpeQ9RumQFVr3YiV3vcb+eZyy9Viw4Ogl1p+nM2xmofSyNSdYgHjnSzA6m26fu+wTKtwYM30S1LXTkxPsYp0qp+nbu8yg271r4xnWM3/hoseBI+8qttygmLlSfLhZtmsS7CZUd1Kds295iT2m4dTh7aH0qLgF2QqGo5qVVdLtHiPvIp2mdDXinvvXtBgGhLRI4/1sJs09z5TqY6sRCNVqlU+2qxPDNuRuxm20MqLmqNOO3CqHRqxEGEclC3jNtATkMOLhFZpOynrH5FAc3UlcKRsbJHvy/9wD8iylUSFJHhrrfmRYBPaZCGDZ2Mu6QXolr3prFf16OdvsxOjqyqUVPXzVEngw+g2Qrur8WehCxWnqu71sE9gv/QWnrSalK00WglxllLFX+VXVaxv1TMae7yFcRrlV2059PNiNr2+wdxh60gmKamJ7trRDvIm4xsecYXqxI7z6sQ5pICWKDHp6jFiEyjpgtLioL1lU6MmSu3VHZm0QtcI1RVNeCPPjIeKHnuZLamxJzHnNIzdyIzsV2+DJm+Y22ZVlPINS35AxuFl1Bo4nQ5IJ7PIfxyW8xzGplLgaG9BGginPqsrUhn55RCZiLoxbRn4v4dAbkYubdBLFkWoRfXYs24CvPz8lGzpNZchT1XDzN8OSEkcF8ZBhnP+1cq2jJgddJORxMmOmMX7w5A96HXzILoS882Mr/IBWqAHTcjxejheKQPvJRo3kWNuP0g0msMlzn6upFoK36/o6A6R34t5fG0RKMGiNdXSwyFVJX4R6mwE9Y+GsodSb1gcv7cCTRUWmCEx1rI2SAbsPvY2+m9QmTl7mCeBdrAdKeMnTGC24X4ylMvU3qWtzY2Yf5/QdB+kwyKPB1i9agqkwEqZJqm+HLULWY27rx0Q72mUWoass8VjGOIQHihN0cRKenQVagMsqEtZ40YXPq4geB2yGWCXNjHdvWUBLwzZJqO0hL+TVEJ2va5urbACZWbCVYXEuLKywZep5bhnERlBRuANDHRa5c1HgwZlFJY2kWnipFFzIUE+znKy+EtINIQLcbvWDo8tdUmlOANNl1A7/85EXGmvHeBG00tYB81LS0AuLBVnVATUY8Ryv9DreSbjX5/Gw7BN6qTSVmRHniapOrKd1UqFa33dmLRcn4eiO68TzJgwXYga5OrAdj+l/P+s/3w5u4BXnkOdFpGwo5wOb+7Cf+7CX/0GtfRfzjCN8YfJX05g2BeQMAv9mxwCtgIWyOwr5L/o7pR+6SJ3Fe/5QLwwr4C6BIv1fKyzpToXHJTbLiG8/GQotrMJyTgA31zp7sYz07uavDfhI0+ET93fNFPKrlqZnmkCBaS85u7Qkeu8E9ciU7jYt/Oin4Cirkdwp8G3qlPh7jTYKupVrjsR5kytjqzkeYIFXRodnI/DcJL3VsvKmexWjgEoQCsdT/N5gLf5grrxeJ6vHTm4gO6UlxdM9fCJr5VdTooZGIdRDXwVSKniAK23gL3Xr/TsPT66RK06s+5MS1xeX2UqEqZDcGRYCDPKrMfWwKV89WhCtCt0umFC9cHJWKCO87lZ93ND0Yx1Ilesax5NH5/A6H4+Kc+ulmZcK+SoYJnx5BWnwRUNUOzoqJMouyS0VN6PSOkRm10jTnAgsGXKVzQTWkNVwXMVcD3cwHzgiccCc+0iwrV+eIB8vYYrzXPHQmiE1ZMQ1dCqZe8YRowhM391K5bkoGWFgTnpJC0cvypov69W1PHZKu61VvUKlrlgOFehv8dRqYiSVFVPrFeh9R+a6FKwUKF/2DYN5EtABZqrc/t6ZBF2b+Aky+I4EDDf0hE76YPlKyXWsFCNdaYrfEHqwDPaoVMBPZl25/OkuXfYh1AuGViPJI2HzBH4syPx50fiP/fFS0ErkVp1KFpUCxjqH1AdWqWlSspDr9t9mp8sRe05lZKcAbbwhWfvXCT5uaMGgh6KpJLW1xfoBw3LaFijA7pLbA/dLBaAHq0vExEoc+vIsCVvS8dsgKfzHs2zF5UcNegfdc9XQw7LtzEBEfnVuw5qsk9o/ZpU+TG0Qy5lmqJsZZKl/bKVR1cmoRI9kMKywhvIGYGrFIq+bi/73BQ0hZ97urenL6JXo5mqakobbtIVV66p/w8gNxay1cYALkHB9QnaBuTxx//OCudewXQalev3OcXoIopkah29PmH7C415oHVru0dODdPkGKapDAJyVt7oUe06YBVuotXIfZ+gJPdtaYfWuto0odAH8LSEDeELJ+eFgmTOYjMjHzutTu3jF0WpG5cTsOdrF/oO4OA7ZEqfB4GIEzsLWN3o6/CT3nipaAhKotcVWg06C0PjypdFnnW8zKDa16wc7zM8ads4WfHympGqW4QkbMBZ9BJqM5HWi99YkIFBog0Hzio7lkrk6FpEIqHNUzdS+rD2lUqc/dJZEPYVaHSDy8bczBP5mZ0nMo6LJDO2Kt7crnZYv2dpIkqO4Lj+UwiaZGA0N9XXHbZnPaKg7UVm+cmsVbpgLwQqTBDlK2QRjYqU9WGg36q1rR4EKSmgVoQS93g0qWbzMLnj/zKeThc2Ny9xdcxvW89tJ4FBZ+TrYS822IEJJ+OfG7MBproKdaU+lm6ha0k6VD5Wkg2Rn63EH5QRvWjn4LGOw95S7TY+lo3TH5bgr0x4r7qHlmhA5xdL8inC2+X+qnIjibHk+hEt7HPJHmiPr5FDKwqa25qJBIaLoGOvda+c0H4n10rRyKPrgymjDoVVMM5x8qynOBbcSwY9gDZTfidm4q9hNigH6Zq7EjwAgaEWn4CdRLdtSHCS1yLr+oE6voukO1CwEDCn2jNsm2CDCNlvtAe2HK3BYr8H2yZ1uJHuZl7so7STbMGZwqkd6+yc2C8a0q/ngU2T1/pvyFPmk83Tn/jK+AeZjy7QxdUCkrSe3NbTqNgL40jzsEOzt6u1D9tkTG81GT/skQ2ayLenp/lHp2H3zgzG+tdOZtsNHX1oJuNi99VAhH9Z9NF0P6/LNDBfboa6fZhgGdkTPhmqg3Eaf+zelGaa70Uruxfjpw7m7dWUBlIMPOJLqqEnlbYw7m/rCMN8W4EIq3yU28lRr/00O6EP07B7pPtJPgO3BzSObqMkNTPyh4nQVpli6C+Kh7umeGXIdYrzyrTE4a54V+7GdziaNakWdy8rutDfP+5Q6uGXHqZnFasiznRQXfSQERvNwMTfZtcLB/4N88lR1Bd6tC6Wmg+3UpO1nNAGReekn+dT/fCb2QYDbrLizeyyPyxWZ8bSBMBkfKP5KJTH8MncwhpdhJEJPjKZR2kWM4anfp4/4AqMtort1M9HJXJkDjXvCa99fDR7j1goZ+Ci5eNlH6zuA1JT24fiScpErMTelfGWWtwxQgHFjjzCtuJuPPlabFdZTK9hY7OU1LD5pjsLmKV+V7LRWsksxq1hcNHhDR5nYFYqnRg0I1Y7DGhmMD12qaM7njEng52y6I//yONAG9BDsy/0hb98H4T2Hv7Q9t5BMyMPDTB4Nn9XzMNV9SGpaZMwKq/cRu6MBdc0PRqMupDoGiLfYQUGNXqIoSzglobh11Ll0aDyYCql7wahxgrlvX5sEk9cZ8huDzRQKtakbzDk+1FCGCwTPmIQ6tuLe/08bRLHSBvMs1uV8of6M2tpff8UM/Pjklg8LY7ij2R0alrmSxLrke4KNjZKlWGvuIKL9jaT+K844epjeCsbzgtnkPNwXuM/X3fC4BwyjB44eY2kUW1gqzKElvowWzyKevTim5hHprYrSXGfbPU290OwgmbZRoHEXmVmBwR7emHQ9K589FG7k96B/hk0nQWuRNKy6Ee92NUl1NrCPFkWodFqXT7dWLX8EYuTjUw/LIFnGWQh/wD6BXjF5f1UsZTtMB/UxgsRVUy8uA9OYDJGlyEbZyNpS1HacBx90z06HU8knhzZ+GJAVIo1Vl/L92CjS6WtHnxx8r5FZ4xmPbZPYWNQQGbmEnRmuZ+BSxs5k2zBqQJpskiklWy1PIuQ4XrcZbGXdyOzpNmGIhLrhZhgucX6peINVyxIRreX0Gvda5tspRgFQCo8FlPjIwyemeTOGHtHJCIiCLF1sTgfj3fTib1jX+DJSDoQaa0feE+++5K/Z4mSnEGL3N11JS8SdE9HeEraqGfFD0fVEJwXKwldJ25PbrDKdG6T+y0F1RlOcDth5Q1LnHvED0S48Kx/2FCEsd33NxRhFplVkqLAB2obiywGV+ucayDaPEbVTg7QOnlfSrsfbDAhf+w3rmPInvWoA13OtB5XbLiyp9hIlxATesgqVVuZanqbKm6MJh1Y9lBCLL9k9Gl8cwW+HVN5dYJRLrKWiYZmurNPX2FH4z9mJNcfpaWJPKJ1YKpu6aZ3cv+m5HAb00cnVoSnzXdi39v8OjrjroXiW7JZiggXhh5ecLu4/2OIdA7Ih+C08S2Hz/Mi1Fqe56VEdMY8L6Zn4/H4j64J+gKCZEl0trLXXWAjGMsGJWQg26I8EcMmW9IrrmlhBZrg+JIlHLZJUsDSTda8UlJHNIXvj2Y5Dm0N7+NY9pee1o2LUIfB7vYSCPXf0b/4OxT2bsD8RsTjfKH/6Z9VXOcwfICpjK3rhMzX9DytZOyWPLfXrWCUPg9NPwImrq4cFDp2bgze3FOyVbYDpm9SprndbD67s+TRiPMDD27nJfk83rKrqZ7X5xQq0q9YDHNhWMhV5/fLowhZv+42gEJbG6qJssvEbZBSVOXSZTsKYuja+uiYEEIglnuoh940Z5eYnsnancUvHRghyGUuRsN2kzpsWYZVmcuVBAd9W77MgSF8cWI9JZs5sAeipm0DrrRhtrqDCGj+YStWogZxgwj9oEfBAkdsCZHMvHQ0uwCj1xdrQQeRMG1SSzqzI4JDRSpiZTWQ8TCDQIm6wsMEi66wv1qClVex6HKgZJe6zcRte5SqGO6zX6dWll1JmiVrIz2g68ZgQnab6IEXIcRmwh3ZYRxAHN5hGCfHMT5dGKlkiVuP1WAvj64TsOvFLGDWJOJAP/lY+rOPooctUXaFcG5CMCa1a0AHPB6LmSeMTZjfdEePpjmWiipzbiI1JJMhSCDb6SkZvNPUfwVnB0LYx541RzxuJ/k8hFT3ptWjI2OJC8b3RVLQnYF/CSf9GYYUlJRr45LCdn5cmnOM+J+nGctEOKfpC22h0DCFPGOcUCZPT0PubViEX01O6XyqRR4tbFvn7ONCdyczP8nnzoqrvnzzLNmUx3kP0PNFsKof4FFvGGqlYWNjR/bvu+xaITXs0W3mplMCaGSq9dDgslfw95VecO/809fRxfT0YkqMuRWRmxYdiWa1RIXZ4s43G5IMY9p07mxL6Mn4UtAY33ZVfdkuC2NpZQ2orngTjbcXfnaxl7EVNqU7WUX1OZLvoBYVfDWmbgulWK24yneHH1cVriJPvce4Kh95HZSwgX8Tx5T8neyLftHFIDycVUHfSFbhqFqHRluMTCF73Rk7urVIY0gLE+jEreOr5DkbiOfzMTy0c16rX25fTSgzM38k16QXl41tRaVVG+mqHQ9Kj2tRjO4N49KlY/vbrXN4V1f3WuAjOGZmozND0lk84L9yZ3zmzFEzTpQwu8YD2B2viUbXWWKDSOkmchQHFhbnzo2qkgRHQ8tEBty9dVYSnR8lzW0QZLBgZ46HuswCmA8R9ltgtcHh8HNJD3RKA4PMUdZbLlFOtrvUhnEyICPSHGYAsR3mR598eOA4RDUx91qTOIbeVNIBkpDJiqcJlB1dnsAJOg2hOSqwoxkt5cC8PixAfV9cX8Gqx8PJzjAM7N5oP9h+T2rYzFYabfWizslupwMJu8s4qIywhoDnZ+gK/DqkqPM94mMlfji1sFJxfTppGJD3YpwMzng2OOP54IyfB2f8cgzjvK6saydCejFOBmc8G5zxfHDGz4MzfunPCEXQt3+YDK4TahiP0Ak1jEfohBrGI3RCDeMROqGG8QidMBlcJ9QwHqETahiP0Ak1jEfohBrGI3RCDWMfnSDjVL6Y+cxIeMnoK67frkNzxEEetjrhb7XHe/VlzX35Z/NSCj73REj+FIdndDml9mfNO0Si1lGgL+nuK5gEjn+Du6vZ3iiMhyK1J7EeLjJ0IJ0MTApUp8xL0fUFY+1PIThD4lH4kcAc0ZZ7fsEUO87W7k3yOaX2XX9x6sksJg8y+L2461euSImrmyKhGTR4ZOeLfsTzjUylzdYYbqqzuZbvRY8OMSAUjkF3l2M7rL3GgfcSMN/nCg7P1gX0PUvjzEbVbDt124lo0ptoAFl6SwF7LF4S3QbMsrY0LjilL47hGt08fS+aQ3tDMPNvaYbHaMjVCm4278rUQudkb2+mtp+2Z3RgWoYf/YJS812Jv/v7mYQmH57QA7rd3d5cFu+VZMFuaksRSzpcr7Lp9ktr8l9M6+y/mNb5x6Y1f5j/18prJ60PLq+dtD64vHbS+uDyAhVlI6M799fdE5h8YAK31gsPt6BVaZt6RsUp69DTk3fr9ROx1h3yS5LHHaarfvARrtguLAODtUQzBeyZU8d6kM5KpOZkDlwuH5J18iGsZwOxPmOw7TcZpG2xuxs4cH33aI5Jd5J0A/u0wKZ8oZC56GjUdHaNAwVZp8aD2xqnlQ7dlXy5uknqlI8rfmfa4p+V00n/cZ2kaqGdDEA7r5a267C7hbLPjMiWvXFYo0Y/ZnPdiBUy+ToCJYpL0l6tk/j+06MLbE6e4m3OCmUMBlbBmIwYySAVIUXwCUXkNy1blzguKWaN4jE6VDljtma3rNJVX2ak5eHgFEcCGB0nG3TrWcrDQ+wrQdSQmIkm0+0tpXzFpGTTidwVMBCtiEwAsXob3RfLWCX4ypxyl0oZVL1mDXTKAh75Jk66e3WYbjBMgC8SL0vqzqOpBO7WH5vDDkAZ6haFYTV80TxG3EGhkULjQpwqMUeO68F4KirOKKgkwXBn/2FvzDVZc9pEc2C+SiA3Pgq6yskW3VGGFYeCeDJ2blwWhh1SQRGzpMmTZIdgizN+NtQNGoLctdpe2WPnJ+N/XIVx+o67L/O4wYoztyZe5jFhh4EpiyoZ6kje0SLH+OEmmkWxpN90tkyJ4zpgyWbHhcM19WsZkH6Ras0i8du55AloXNdaztzYgSmjVSMTb53tH+BUg7xhGZYONOBme6EMCujYxrX+rN3BeYD6xunkoQ3XlnTdTqBDlETN0hSK5ABzV3IzOXRyoYOyyjWjlS7C4Gzl2KFuctjgTfkpR62bf3bRrzgai5lv1GzlwbDVWPlKbkk35kykmnDxNfh7Eyk+b73cNsoi+HsbRY71qHcpDnlyBic7MhgeB3Q5TsmbJMsckqeTLbVSk+tI5EHclWjjK84IzRcv3ASRtGEiPyEv+h/61AUTSdPlpplatvIkMKP6LPiW06Ed6OhY1wfKmLYftpG+gY7Fc4RyhcXwxBznF3yQ2LXoERXmbJgl6LsIFIGoOEPugOC7tnWi/CywOxNXSxuzuPakZB7BoTLnqxhxGxNtsOAVRmUdSnF0fvb2MtDBzKimE2/MA2mNB7qTEI8873ZXiid0El/MsdYrniqHt38sni8oclZHCnqsvxCLcqZV5+t+fnro/r7m5ryWStYNhRnMYvM+Tnm60EOFmFThlPqfZeZcvRe6EzZntaWkS0wsOJ8spTa4HjHk+6Ibt48fQlPMCVXtlFkLkvG2iMbZYpnXMBwMWHzFas7yPYRn2FSxmTraXlU05nQ71NwNh5Uc4uTB2MANp7Sh5+EmdN03vFN026Vw7ud/xJ2r5Q8KdgOHyTIb+oN5bt1bHpGwXf/vNj8HUrMgLTPqDioiQ1eBf7KAoiFR2zLDcwecuIa+t7TluwWGYR+m9rzA4ghBJ5iZsdwJqknTOi4mHXJ0HtARirSFPaHPBXL1KyZjxYJaSwJh5izfLind6Vpr9KPN18QcHuVG8GizwuetHvkllLGJuoi6sGeG/eObVOI3NJkAhoY154U58DxDm/F6suBsH7TdDa8wy2tA3fQ6YlC9NOXTGgF0TuGI+bD1SyTEX3M0aAXOM1NHtJU7n0ZywCkYmwWjBz30PNV21NvJzuSeO0EfLBzLSaFI8HQybXkJbo+4tZ/tLMW0krl0QcGMLniY2CkXc+kC1c9lJPUyS1OcetH6+4SiDIMPmf4dGpT+0lgaIX3TQmvUXIL7tS5MjYlzg7gjwTfSQF3xN9z0aDhTy1PUXKarOmnpnCoJzWDUmgLFgLBZGF0hcDmELWGhtiVWVYyHIcbCnNNabPDKOwolTaRtHq1FxLnabcBlpslwVCMGezrNyo69hvxMhe7NKq2yCuzowiK1zpsqmSSnl5yFGAIM7kBRVJ1H68B2DYvgp5cBwwNf58z3A5yua4hje1NQxjHTqlC3Bed2VIAx6JNYZTRNUNy1A2UYw6GIJmxFftcFSGvDF8JELCgYOq0S75NO7UvgzpwS72R8qv8/ZWop8DTbmR5fknemaluT2kvj5fRFJLLje6ss2UCcubWuqSZOMX53Uj4XDH+0nxTziHBunKMpfIOWCGTtjU0KwgfbJPYIawXWuUKzqHiBn+9NQxjAUFssWiW8m2z0WSihRldm5Q/ElaZpXEz/6FMhmihnSOm+CF/mw3DTbBjZdrj6CLXi3E5041VrkdJWbsdN3SXA6E78nQk8jJVwWuBLIXHTLNl9S9Ec04PI8pHWKvfRbYEEcvuS8CixfoyRS1PbcJa+8F+wBL2m181vTnDqPM0v3FlG1+IX+QKnipndmk/ZksMe4W/ANBlflVJJs2W7StlP4oAHehqJJ3NiUn8MSXwN4xO/eAtQGNcsGjSN/bzqTf4DMn7D4rLAvbO91851AIa6CmB9wgvHx0e30ekd9TiPUo9cwMH+3uBFFLT571cSLcAO8roTkUFVIjoWj5N7XieKjDzA4dPtYd3b+jiPZCB+xaTSDirhaBFZnWFuWhNLdP3Sb/diemM6EMb2ms3QNzgeGsc+dOUKGM1ktsSZMgjAqTjuIn5idqksZYIGnp6A8MItr205EY/N+dkKcxzX0bLo3kLK9I8hiEr5BNFrh+KEfgwopR5JhgOTPkq5+gBK/QFjy4GFftODSX9ILqqJg5X/TGjj1R8yV3cYSdoPqRDXLMCAGUNSBtJGzhgsO/Y4jyg+xbxXE4/UhoiespQF77gOa0e7eWi0s/FkrD9WNG0CW882fBvwlNxvvFfyzRgorU/HptUVBG6zdODOGk83i2jQkJ/09x4uccbM/F6NH7EINuHhNEZktuOlMlO0SkxXYfnHZpoRBlaYybU5t2wpfL9lQyThV1L6NUm34kZThkF9C91FPjq0dLTEeyeea4Zle02yhLzFiaaEfORJyjLFIrtJa9XA0Uow6UZAnjseLcPmbjwh94VHlsZGJvFhyLlaFp2fuFnzDo/N8PQNxE4Sv5tiJNcw3WJ05d/Mzi2K0n03poX0KACac1zyGqKn2QyqF6wS7MV+zr3Ffc5W5pn9sNl7vLq9ZZrziinM8xgi12CwVt16W+ucAf8z04VDZ2xY+BrLXtdGBSPi9wrCaqp7RnE87+gFdANgfrM75R4c7dvjxeDKy9T7IFTkqpPoAXYQiJZlrB3kA4/TjEKfHyvEPMjQ8/9oogUz+xaPZ4rkdhWwV3hy27QQUIXFY31wI1PasqxWgZv0xJ31xJ13xv3QajQbpCI/82OJnMLpHwJG11x3p1i4shPunlAdMbY+mDQ74SadcT/xlUw/yfthJ12wCVtxPGJgw35XmVR1CLBmupkxBU53VCE5e4Jdu6a1N/jU1l1rz5B4AuZARroHljjTAMIHFadYVUBjqegcRrgofTqgIKykRANWm7VhSMLHsnbdtYLhX+yd4fYTuTUr3ZK8TFkk6wIn7BA84rk3y4CZBY38HByV/9CefZZqa1Lfl8YJ/XyCfkewgYfsgze+EV67KWnwCyZouIcpJvqubXp6Dx4JM7UHUTRkQsZPvlpZHKKVgpsUaIrDDQU11B6PcKoPHFdt7I03bXa7mAqW41X3yDo3lSmmJL/vwBFhASlaZ0jsXfm6MfThLpmtsXarWZdaWwJP3MEp9za1p9FUGY8NLHuHwdEZkWHpAMndYxfT4lC6Wk739fkD6OMCDguCJSBoA4IClZL1lcDRBKiPmgie8rc3xdFw+kwjeHIM+OwY8Pkx4M9dwLDLEephqUG/cXOaBJxi241gdIG+4kXW43VXMcosk0FYzgZhOR+E5fMgLF8GYfnan+USwwljIWfLACtK/kQvqslwVGfDUZ0PQTVlefBuPZhz8PpuYJkMwnI2CMv5kSxwXGOqMvSUXAmcQrK3XWhuFO41mYyfKrRZTYG1ki5oNfaSB2hC6bslXXbkMUtOTIXkCwSfOD/vaNHt0ykmoqEaniUbpOlZskEanyYLB3zLcLiXhOpJgh1RuSzNZBias2Fozoeh+TwMzZdhaL52pzEGUM0iQB1kRM61k/HD1QkeK5NuTjntucUb3rj/tprpZ8605QWTue7CtACZEpkVMuFND5kWP3MmIwfedJDpkq3XNBgIMnvlDFVLdMVZ0HaSDRPKa4knt0sAoRsm4wvsLhYye9Oj0RIfhHRISpdp4+kRO8y0lcR7L3nwnGCMOLdFAsNyFfA3490RiFWHF8OdweQFbLdrOSJxvmjOlJkv6jLjZBjmZqunZ7Og8kSzaixkPM4YUa53yfEfsR6TCvKKsRd7//4P";Sidebar.prototype.searchIndexData="7Z1rU+M40Kh/zVbN+wEq98vHkHDbJUxeHGDrfFEpjkh0cKwc2R6G/fVHchKGKMwuRo7Usr21xQyBzUaPW62+qfuP9tkf3bM/Go0ofg2I+POP5kB+t8Rr8kdztPq54Hi9PMWcs5fodCD/QCP2Ev7RPFvGq0D8Sl389QfhMfVxcINnJJiwiMaUiV8ZzVgcs9W7XxgEdCF/ELO1eDWKOXsmj3QeL8VrjbdXhixgXLzyR6NZS/8RP5EfrTEUX182H7Jb23y73Hzb726+pfO3NWw+89t/F9DZBz/qjuRPsxK4IU+xdQK7JS/3gZghcEcXy5IjuF9bX7+lTXBGwjjdAyglYR2DIgZGMaQboeIgdgNMCL2mGQhDHAQsicXhmMwCAoRF245+2LH43wTPgZCwtDV2JMDsjo4iET1DHJbkB2chEAj9zh6EjiGzYUi5nwSYQ6GwvyU6fTMU/kxW6xO6FQVUt49hXxj6VjA0yoohtSJxOIejIVUQHYMgvCXma3Q+X5A5uiJQD09T+vKWxf5SkPDEOnDwtlns49iXkKYhHJU1tfG1dmIBBMW+MJgKQbzXFEBA2FES4JRD14py8AISzgkHHJUxJhBbEtMXhh7xawVDwhAfmqAppgEcdWHHB/NiTtdwINiJX3vil2gkKIA+Sk2JxJRTqIZVx1B4Zk9XoivG6T8sjHFgn4clkdjj8bBdlnUaavDOkGt6j6YJB2pfmQpgbhnI1DdMEJ2GURCA7Mzdyg07o1sQkPJ/dknAieAZ3hk+jXx2OktoMKfhIjo94zj0l+j70xP1yT6NNaNhTPj5DxLG0fa1OY6EDSa+kWt5okHwfo3NTk8s54PVP6X/fEjqi8jx9jufyI8oXmBJHNBQ/E/DkPjx9gOqsNv1fRO2fQA7xfMh6/QnZztuWszPw3lZgLf2gLcPjQAjwC9JSDj10e7dio69v2971Zu2uDOxqnAlSy7Kgr5eU9zkQ5vPCPrx6L7oqDv7/lbv0N8yQtpb4SAQ8h2JDxxFRYe+82F2Gr1lB/qUBMRnq1UiPjq6YklU+KO0Xts/S3uWFMsheTQZVvDNwL8PqViWWOtr4Yk3m/uK5rA08ojEhYCvpYBHabnHWhiP6yXhOIhOr8/GaIxp+MTxqvA6RynJ/CDk/x/PYLjj+EejJkiKr5NfLPN/LjSkaOC1Uke70A+mtb85PogagHowU/aSrq3Yz2Q/oNU9DGiBeSY3eL1ZaaEfiOIFd+pwH8gY+4I+i5aFfyb9/WeS2X0w+Eyoz9l6ycLCH/O9/0zVgXkoxXc1uj1nbK7JEA3m4igRjuAQ83nRn0xH8QFBbxN0x+SP/BI8F5d2DKfblRX6ifT382xNwKe852OxksI/EeWIz575NPhE1gQ/F/+JtPdd+D7kPZKE6JHx5yjGGyLFfjK99r6PAtiR9xLx3e7HhX8uyo45vPUH5rlM8SwgcdEfiHLMtwEbXlPCVzRUy2KL90g6yiMBfKrcF9+XVzYIZI/xgc4JE278Snxb9MfS2S/R+aAsG8xjeSQzdCaLPIt/vCsFwZBDw2UyhuFlGkNBJAh2z2XF5klAotN67fIcXQzZedGfiBqG/IL2eiP49kzGG4o5Po9mvdtC30YkehaL/R80DJIoDRS//XrRn1N3/5RpfmHnGHlOf8vndBEwxqun9FZTCu0pyf+LLKP2XmjsL9Hmf1D0Z9PraFsEJp7NBeXkRdYAe4T/oD7ZPh2xqV688f8U/SEpcczeFyLLJh7S/rMp/EOpO6HVvFdx2qxKdNqo4RmgttsD5XGCg91p8+t/ir49eEN5mbHwaq2ldFbLXH6c75OaizPGjxn/ZQmchwuxCPRtiP0lQaPtzwv/XNSivsw2wY6U3lPYvcvJMMBRhC7ojBM0XMpccvD2MIr+LNRTJnNCJq9nITjQWRKTeWnQK5FlW9vghon1zEvCXKkzameuJ86HuQw+LjhL1qURdjUGmTkhrwN+mcw2xtECx8LNe5WRxtoZjsgUXSWzoqNXjttWZu9OMPpl/1xuEebyGIby9TI8A+Wec3an4XjPYNdYYfumJXsS3cyn7vGeRLUPbNIfD7yy7IG2YgVlNvqP9xQ2nRhKsBMAn8rbG+o4KM1+0G1xdLxn8TC5LctTUPzhlrWzYSW+ntbbjeLfQe/rHsdj8eWrhDvdWk3m2ygpfMcdpd4je6hHh3O3XathHqFv3Xa9WfjgsnqTzKhID3yfRBGaSKqFB71/xSL7BTEt0MPC14hpZ0n0+HpF56vIb/bmRFp8R+PC89UNtWvx9Qao3S6+AddWenFkDqtrQY6ojyacyTOv+BkMJWjywZzXo8rzHarXSmMv9xTWmR1yLdbTQdH51mu61/70AI9Rs1d85azcUcp+YV8L8kPhLTi7FvLfk6LzVV1po3zPzrzCm8iqGt61HzREmBP8LIeFn7GfRSetNNs0q4rPOJ0vCl+v3tVNomghnnrCPi5BxF5t52tUkIcyNzvGIV6Ursy/aTSOPMTF57sfuWgajVwIvsKN5mmDPRou0OYSS9GRW02NDEeja3QhvhSdsl3felj8wHJ/35bLXr2kxVf+NQ3FFR2zcim0ZdSe22AeFj4Qp10Wrw/5PqTxKzr/ueYlGH2ktgqwwDttPFN0ztr9F7U4y1nSfowG/v9LKC++q6IOrTYap9vBHu4+cqFRd3Qv5euilteGpxyH0RPjq7R71a9bxNPzwld3KaPrDIu6dzIe3BU+raIWxpj1X7zxSeEJq+2/zAbxvHs08go/WbRe2+9FmP2ChRbk+7PCFyiqAxXNVtCNSFyKi9OKx5K9G7AWZBafzFnhS5mb+4yNxkVHk2nR8SpGW/aLPVp8vZtB4UOiSqcjs7W2I9lmaszmxc9wt22q4sfRGF3QoAROttKTKPswKB3OMkWF7mi4KDrlerNjUS1fcJY2QJuXp4BcGS5rVkmnXT6Enh6s1wHFoV94Za342Gavtu56qpRGtq1ejrjC4XxJgsIPSVTqyc2WzFxN0tnsRWes1NeZtfGuULPRLDzhusVj8HpYeF9QCWZkn2Gvx7fwwftuzSZf+UlDEiMv5kQOeio67Xptv07U7CWU6+8e8m7Oig5Z7bxjNFVyXfh7VIor0jV6y+d6Mi38jL6DklujZRmC8APa1WaU5HaE1eYO1xOBe7VKQrGaEmQA1UCd4SNwgkbeTdEZd21eJb6eFv4IVPWF0fjQn2ffR0UH3FAawRi1Mf4ihW9O2doX4LrRSyeCb+ErxpXrw9knw+sAvhncopgh8UfRMasFzEYNtxu6WMYvRH5Fg8KfeXa9khsWLjjBcvTXpPCliOpMNqPKYzwofDFtbz913TAqyeNh4fm2bd7gGZ/X68W/zqrdXVwLMZnTMoQqFCOuZ9QLGRMimzmsA1z86paWzXjFmETLyn47OmSxelQvQQ9b7ZlAWphpSNHD4O+iQ27rjpvRgsxmNCAlylkrCT+jBcxjr/DunnKhxGyR1vi+8MpCyYaYjdaP/y68/Kpd240G4W4Hw/JUgfcUx9qoCXdbDSk5Ll9hIuOwDNUWysUzs/qCxBELS9CQUrkOZdRCFpBfGH/elg+tSPHHRylnoFkb7pb8TKJSdPGzrKAl5oacW3KBZ/JC1PnPmITz4mtsu01AN9zbJRBvCJy7JeCsXNrpGE2wfvdjEhSdsJI6MesTfr/16mUYl6Z2wDaan/q+TteBBivhfD/R4h+Cyn1Vs27LjnbaLHHNeOENaqVRlNl7aZPBCNWLTliZSmc2rC8JNwpPeD/QYbZIYyI8b3Tty9UVm7JSy2zWmJucFT59ojTDMJvQngyRx57iF8wLH9xXSrrMTgkVnB/onLCiQ1ZLa43mAiejwk+A2Pkgu4slNaNW8mRc/MvBjX3Chg1jzmLms60fEpShCFQxL8yOqJv8fVF0vmr3cKNBjDsck1VS+HmhVodZ3pE1wSXo86kIstnpt3L0H0HeC439ZXn69Km6w6xcTzzxb9ERW22N4RH+gwpRLjpk5cKU2eqBLeS05wtnZctMmQ3KeSRGU7Yuw4zyet3meeh5hfcElXiR2aF0nneDpoSvaFgGH1Dtvmw0xOxNC9+xT6lrNtsK2Ct+vyI1hG9WfktyT0oZ5Gy2NtF7KH4eymYQY0oC4ssufeIDlyKrumu5ZSVRImnLAc6kBHd66k1FORutw5iKpRdelq1eUJtOUAlavih5P7ORuE1RHJYrLzblTt+iiTHlif9cdMIH2tjsuZdwTgpf2lnv7NfFmb3GOn0oOt9206II35/d9euFr7y3e1HnfnyJPMJp8RMjljlX6b2j8n3ASVD4085qWOihdONIzHoeD5NbmTeVn5hXiZBjw/YKr46tCvPjoGrwclS+117hx/X19gH3jQkwm5NVhHA4R+slC0l0OsSzgKSD3FdFh66UtDSzlyin9P5o1AQ/8XWSEsznKZAgQOn7Ff0hNLUnNB/tIVzg4lcbNTq6lsnR8F8xFq/LsAXUCujsyv9oz+B6Ug4tpBg4X4iXHO0RbNvmDnxZm45K+kB6oB5IGWyj/T4SjeylZUfjn77VyVMJDudaB+zBUAolBPhgvrsoh4+mzBz6QjX80R6BbLBQDvtUewJGTs9gTdg6IKeDcM7ZgoQsidCE8KgEVYX7BSzZL/tOUnJfRz7GPnpkK1x80vt2T72W2fDRRx2WA7Vq3tTbmQNwuqwnQ9lrufig9+2YeitzlEcX9F0ShjRclIF2bz9x3c9cRqTL2qOxnIBWDiWiXAHuZ44TaNOOhVFTEtFu7Bvj2ceL5wa7FLJtDzeXbTF4dCrMn9K1A85e93m3oaXBeTAdo827VLCNwJ7ixa7rSzm4a7eL0ud+xhme+ziKS4JcbTOeObOtj1z2JhGfGe16lZQSvA0dc0kXeEbjnY7ZqZxS8rch+NeDUTlh2xD26wlKbx4vWfhaTurZm2fnQN0bXpeEtnqdJXszUX3c+2UY5eDeV6azWVDkt8PzksAGoMhvSfwUsJeyAFcG02QOHeoD342n2TVsLAt5ZcpV5usE+uRLAtq+Ttm8A7oO0VlCAxm8LTp0pcHgW2sEC9QfabxEHg2oz8KtL1p0+kpHlex9SvXhV9EW08DXuDS468qFmezzx3LgHTMux2SVg7hSfJX9rr8+8Omoyg8Zg/3AKuVtEPcj/kECEi7isqTiAPidj5QL5qWJY6kJicw1nV8nHhE/4TR+PR3KXhcUXQjyLzgo/LiAltK+JXO+2duC02Iuv0Vv71Rw5KqUZ9YreSAvi3w3lJaSmVVKHrAvcUyeCVkXX4MrI4GzX1PPBXeC+bzwpBWLMHNsNg/S19+98pyUSm+dzLer8gB+w4rfo1bp75m9nXUeoG9J/ML4c2mMkpaiuDOHY/OAPrn+uzTqRPUurUj5Nv1QGuZKNZBZZ4f/SEs9U1/nPqRPlMzRZDsFIs0sF988VGacfMUaTynq8JdTTkKxILnOqJzcs98M1+c+EjrGjxl/LQlyJb/5FU9IF/kFDUhUCtg5RLHygF0S0VZof8VW1KV9xaLCd9ZWr4N/xUTU5Xw9mT6URKpzMMh1aY+pz9kLmZVDaUMA/v2qJNIN4ITcvMOm1q0c+Uxl2FL2+tkcoMtGlJz9LIvZrcSxvpJc00bOnuIXzAk6w5Fw8cvBXenHlD11nwN32XQC8zkqg3EIQZ9vqwvLIeBKCKWXuQJLH/h9SOOy6PG2km2zED7Z1BfKeGE57HEAQcLHx8eSyHdnvx+W0Uj4Rm9vMxFp3Oo8XNDi90fVno6zPfF0mAcsKXxpSr2nNIysZVcl2qRHNHomcVx4oW7rTpDUR30xRLs3KThsJWTVym4E6sOmM+FaDpdYfM4ASSlHXjKLXqO4+E3G9Z2eHPCL43KIZ+KzFt7HVFSLDdx3JEgT9ViIOo7xDEeF1zGKZZj9qo8+9an4IRpwjotf9mZfozySGRoGSVSCeLhdwzC9Vk82fSUvZHvDXfO383gpPKlS3Lrv6Hb08LYUdR9AOZoc6IdUcsA9DHAUoRZqlwS6cg88e6vxXKArHT23DSbr9eL3ae5D0DFv/Msh8rpztfNAvu+ZXuAZp35J+B80PrQi85ckJClz9hSXw5xRskTZ+03mgf1afOIgoJvvkRfj4l/RUrMX2bNzeXD3Rrcl0S9t5bKnFd43+JVw1EB3ZMViUhLyqmb/Qnw9N/TNkjAH4aSOL/9GvVqthsZJENNoz4wv+gPQbgyfywOQ3E92ZuSmdrQc+JVZWXasmhR/kOqdUil81ZWyJ/tbg3JEpOYpOnb1nLWj9Cdnf5dEzFWLMnuWKQ/cnInXVys8C8qiXkBEhMt8mloiTle/ztOScFc0jJWD9FcoDE0uH9H4clh47B0A5+gD5XGCA3RTInkHEYPf1KxXCVYL0MsBHEY87JHx5wVnybqifnzqL9smxKcDmVINcdFhK50V39owfB72rm2zDuxLId7hHE0JX9EQF741lzLCrL77sVnod3hOGZqyl+LX4jW7ipRnbr+QB3APp7nT4l/TUMeBtDIHdXPFLS8OFP7UVHRK9qKMPJA/0pMLKocKF5229rC4fGhv36PgsBXtnf36aJ6w0Rmn8xJc/tpvLZK9L3GuzG/YpoUlGqzXAcVh8VNEfd2O57nyn3IcRmvGC38LTG3TZQf7zeAWyZpezoKg+Mb5gb+fOa71Jegc+8+neO2fDiZD5K0wj9H9xEP1Wq120pS1MA8D1Ljfhx8oPDhdLON3Cw/Ik/w2WmOfhoub9LtRva0+IvFR5uzl4+f19lQOMHX2MTUPwyJySR9Skj8Qy8yDT3uLpg0YzQfGrwk03XZKpg6YTP3QE8ufzEadDeVXVO/X2rKgieIAydph8Wvxtk/Yb2dLuwxsuNNUOsgadSdZZdVIubBq1VPxEngqZJ9C1ujX3BQvC1ux0a+7yeqDiNvxWTmqtqywalesPsmq2W+0K1afZdWqWH2SVbdTa4Ln0jFvHwguLfBcPrgmYIBLBzyXj/L3BsD0wYNp1g8j2McHU4evYRofpFOODabXbNU2ofxNWP/ku3DgQnlgbScRilX/LtQPiZ2FU2vgDVC73Wuf/I0Gc7yO6Q/yNrbRBWQWHN6BdyejunXwW9GCg7tl0wDPxp7cNMRWq+j8jg58U9GCCb1lA99c7B32VjDDxgHDqN4/vCZoAk5fHFVwqVjSNAJKBy6UesvOPurX6jW4VBotS7LSl78OlUqnfVjsfWwqAsD8rStfs9aEJDRK2ap5OEPMhffJ0UT8gMS/Sp1QQ+1eCEmMLOjh34JqA+Zkwaf6LacOZIGyYAoOcYyD1yhGLXG8f3yJExIhK1vujVCjJ8zm/S7OIfm45SckaFb23xu0VgXtS9AqQL8H1GnXmifn8BC1lPmrFrWVQNRyAJGFJOJ7RB0HENU/aIdnklEfPKFGw3yY6B2hutBFgOH0zScX3+AoXm+jhp4YR1cTQLjUe+Dmc9S/o9VspLRGJAjg8vpgJJktXq0afF5Wgisf4qrXHMAFSLzqlfLKQqtZSdeHvK7nJIx3Y7XTutCPZuGW3NG7nnio1RYKyiNhJD8wVDYW4lHb8iw08H15LXh7RxUuIgvic0t+JpHMcNfQrjHg225zoD7LGrGG8B2mu0E65z9jEs5BVwdY49RotKYTdHlesfoEq2ZjMhGbsaL1SVrTcUXrs7Ravcn/VrQ+T6vSWp9j1azVO/DCnnDoVPmpf6PTaVV0fkunXcnO7+m0BZ1Jhef3ePqdKVwuVqIBOy738OXGGp+OvHoEnY61XdWRV0ig07FQS7Gh05XNtuq1Ey9gu6olOXM4imgEl5aNq7bvcfUcw9W1iqvlFi0bF9zf0eq7RatRM1++8/3WQ/V2s9beHyY6TKKYrQjf5Q4mAY6fGF/BhWfhTNyyExp/eIO877fn032IFbR/hTYeIG90BR1Zb39olYXC+w2xVru1kbGTQ2ic/aCRQCMbMcAjeCh05svMNgw7H89MhomtoTTabdTNFwRNlq+RbBz8q2lF6x55MeNY7akOScAsOACHoD5Ua4XqNmsQW5E6OxvE1gKMzcImvR96qC2LGcF7AhasDAmn02j17ie7pJ/sTMj9XTN4qKgsaK0NqjSO6hQqC5pKoho2GmjcRJvJznDpWBIkQadW4fkXPC0X6FjbWi0nhMcank6F51/wtNxQPdbwSOlpgMdjwZJ+HJyftOsNuEwsnFaSSadicsik24LLxIJqkUy6zVbVNe4QSreCsg/l4Rw1+oC3jxWVIqC0KyiHUDoVlEMo3XalaT+iUqnaQyq9SlYUKmT2Qbt65NW7NbicbGia33BqQuYESJ46FafT5fr0aoKEA9m+/NX67n2nBECENHtJXE2+iifl4b1GMVkhPx37ex76AYsSDrgcIWsyLyc8XUfw1FtWxCfqtN3gkzW893U81+ETDekZDufoYnQHXe00zMnNhLMbcVQJfXzTadT8bUR4I05g+RhUy+/5dCo+/8qn14bKp9m1zmd0U+/U0GUPDhRd7yIXKM1GjVRUDqh0KiofUllXVA6o9IDLSlYvMy8qsGXFEpV2ReWAShv4wWwBinfTaNYiUFR61nWtgNKGDcWcpOxaCg43lcHoIiA/T+o18e8IDh0bbhGdrU6vz8aoXq/Vag8DdD/xAAHRnF4uFqZBpF2rnTQa8Klk3UV6VLrtFrph/mYvRSwgaIxDvIBclpdV9+oBuhfKBcdogkPyi9FfNK74pHyaDuiZrPPJtYB0HACSNfKtBWT+U3jOcFkYVbdCKuTBDBhH1pyaLo62TKZdPcAFYlR5CCDddiUeWxo/m8LjQeMCFd9p4mg3KxzvcVTS8R5HR0pHEy4OoyftFgdg6TCNA/hmMY2jD/iUNcyiC3lytXEW7UqJ/sLRE1rj7zZcHEY92Z/NfoXj+ZSJrwE5vSUxx9tC2r+bJ40zePd5NQPw39OFagIaTprysvxgOhzsqo6hYVKs1nrG1qK5YepWmP4T07Rfg01J9YGyTk7OD1OtgvMhnG2RpNTZcNFktXPyIbPG3EfT1kkdvOhY5rM77NGYzZMAUK0tiDP/jVPxepzkwufvljzroaOxssX+7vxCU22ufUKbbXUuWwKuOY0IGrdcOOWz5kxyp9R2gVK9ZQNTddb/G5nqlP8PQvDP96zp67zItMCTyVp9qEsmCbcue8eZ+8OGNbJCaHdXfzdt/fznmsuRKRtlhBqtNarX0OXsHBBCy3ppn+C2Spr+Q+aolZL6DcsK4AHAKqL973hSN+Wth2clR4egRjjGQyLN8O39/5m8/78dmdXsAGKlWbaSA6udWqrXpJLaMuo21hWkDyD97+jufUeJSxyTF/wKr6uEfWK7SHfjBHDhi2kLfY8LoMtkAOxzJzIjFveR4HIDF4zpMIkEs5nYhRrycpmwhgac49eK0DtC/+fCe6PUrTcKVGiWN5wmZDiG00QCzgXlBE3roC/LmFfFKZW/G3VYVBogqLSAUYEhKy3Q94ks6ZW/W52SU1nT+Sle0BiL4yc6HWz/Jv5jcSBRztWg15pRGck4/0HCONq+tiPjp0EO8YKwEWM5PfFGQTljccxW735hsP0vY7ZW+aloejUlkHOIZr35+wEZ8fpuXVEObNC3QegvGf+fiswBmSFnUXRyRvCqonNIZ0QjHyqX5uGxZIyLbKxATjYB5QmezwMClVLLovRcpt0nINOxubeuSCA/PVQ0HziVxtBcr9YkCAjYA8smmwlnsOD0FR+q2bAHZ5rwGQ3BqhtjR9Z6jTmOkwiRgKzkqk/HOFwyNc9pDYz0d/fI1LLtqN36/mjUzrcrzAOSx/xnEktXYtueTawU3bJ//gEDrrnPLePpfixsyXrNeIzOpEdHYiCo6qqIQUJ1QxZAMDXaIHfiltMdDaGAUnVWI5syPzIo75lyODvPvnaXC+T0KVmQ6HT49nep2kfEx2ltyzfP5+QlDRyxgM6RtxR2FRTToX6gvjIx/LXkvNAJh4UulshbEzIHA0kVtGxK/hiQJoQ/MSG9BJo8AUSViM8Lxo0BuOHe9BNYoQLIjKSHh3AGIcUuAe4+YTCsVtX2+zdCAK0Ci3LEVmnhPeMROkE0YqdnAXshaeLtAodQAWUUo1+LFMbntfc9B0y/3lOiesB+kqzQJFmtK2T/jQx9e5NZOKFy4MRGVPwexwswGU3gvM7/L/FjONlx4LQmNIpZWMH6FCwZvqpQfQ4Vk0ktcT7CSd+AJxZj/lrB+hSs1JeuWH2KlcyisorVjhVP41QRWnAazoVCPx1uXgEK6IMSzH/js12dgHO5XV9+hIT1zuCqc1CgrjCoaAxkVNerNfbjCtUnUP2JwZ55oDhtjM8K1X+gSt9qiHZvi8bYF69BqY2BiG1MgyDN4CSBWBH9p7IaMsGqzsWvUauOyM9Qq/T+Zzk90BnHcoUVqh2qOafiHU5H8g+gUDJe/kiXkj0x+B6EvBmT0Hnat+sMcJ2QBTDb+KZwiH+QV8YFngCsgjbM51Xakt/FquUxtv12uMSr2Sa7LDPwT/L1aqNJXlcEx+k432QFF0i2IJ0ekE0cXAhIskIbdSyEZpqsZoEUpEpBbzF5a45fKxw7HGmQ+5e8yGqxX9+N2Q8pOzvNU3ZkT4TMJbOL9M9d5glN8QzO1c56raWjgjZL+zoaeS2PcbkOHKDNm4EBo6WbjwAGfRsTsV5AufGmwqhtH9F2jz1g4dVDwWRZlDYnGKj7eCoRQ4JD41jsnuj0TJg48/TsAsKjpXU8XWzXpQGEE/wcLzlLFksgSJo9rT2jjWQY4NVa+OMXAQ4XRHgOyTqAc6uuradR9OkwASeM0hZCMIgoW6hnHEglH+9wiF2zIrI7JongiAgsKOjbiMTCdpELOxG2DHsqir2SO6jzn+tALK3i9B+cZKu7kzsS0SjGIdwwKSxMaRij2om/RSesn/m7xh5AyDS0HIjcuIyS1epV0PkBJm7Ra9sFkwhBCaCwsOxWXbEIjMetsMjWi0sfxXW4uS4EBIdCw7RgXMul+UupQ2QweBNG//YrLAHl/LEdl/iY03fhem7+eh0ioXB8SCUWtpG9wal4bHhw+kR9giay92jFJGVyR+aJD8Zi6do15e6SdZxwAmnP2A5UeCR4OhGKRBavhQt0RwKCI7JJqgBBdJi3bBlmRAMSwtlEdVWnGJcZ8VWc0BvHCAgUu66QF3NMQzASYjlAvqMB63KbZSgPYm1ASNj2lR8oeZGHzWWAowgIE800db5M0LcbOaEEUPmHrejkUpZykp8bv5DL3Fs4J2EERtP2dJSKrFOVHTzflqeNZ8QS6TtP6JqgtAr27b2B8Orr7LL8eZ0HxI859VNYYCBpGnj5Y7qgP2VjRXmsC7WEpsmMRDDlS9VT2Y62/MldYcrXNATHqf+f8xHNYoK0/YDp9P19Jm1qGmy2IFTjAII0vSd2QcNQ6K+K2ReZ/bFpYAkVnfXj8YBdwDbRNPEDsDf8oAlcGrSvYH0OlremvDDdPg3g2rNcoWKzLWTpDkQ4nKMLLquonDDwMw6oy5/aHZkJgwwMH9Wwb9qlk/YGT2VKbj1FpFAdCLTOvkxla5VgGlqjgpYdWrOC9iG0TSZvImPOINV9H9YRubG7YKJST8Z+pulb+bOaLml4ckGDFTr/gdeMA7pApDfkNn9U9ycf6CwgrIBFCu+RJ39r7lIQ2jSzFf0pUV2HJzc0JGh7T3osX4VCqK/lMaZL0ebixVh8blhc9DxpPS5/hQQDasrQtYhC/NcyfjfBMZQ70o2ODRzrZLWOTof4B41fQU3kaTT3NWwmW0cu5MssyNuwnRQIGB9W2S6drjUiYBzUxh6Rrj0iULxPazIi23iA0h9aZQI6JC5xhLZj4WCg6DYsyYQk8W7yGwwaB2WAxg6WS4I5pC3S7u5HE+qmQFwxTv9hYbxVnkBw1NvKFPi6MSBFuk+pw2FCuLzGH4gPDASFGs3tm0KRzmqCtD1Uy6JjngQYu1N1TsztEC+ZrYSbR9MaYDjCUa/tA+lmur+lB0TIBWAS9Z6xjSK7ucKZRNLfb/mWLQ+mgwHedOF+f19bGDtEHrafFRKMutLspd4ytUHQCZrT8L3vDgWJXkx4i6Q2ur7VAvM2M7nC8h7Lue+nEuOjR8YrNvts0ts1bIUXIYFjtAOBI/39ish7Ilevc46ToBKUfSw39P8ldI7+JFCuDwPhckd8uubMT0vtKzR7aDYZ/80g+grNezRpvKBCskMiB1sLzbIJoHzbqBqo9fFfxPOVidbv8WzQvPMLKj4f8HlzDyo6H9CRxl4F5gMwlcb5LZrNmn6k3crWAfbJihSm0XPOpDhbyCyyhLWpVaowfYBpz2DeGocVqA9ApTZiReY0Imuclu1Hp5d8UwPo7V76Q46dJHEcvB9FCYOYXnX/2wqzx5Hf8dqMl36Hq0KzQ7MvQvQJbOMPu3SEy/HqB4D65wGjowSXK0r/RinaXHWYcGkC0Fj+rAKWEZhUV48EjAUOjNuE8BUOxYLRON2RFaYPMckuoAmnSJiYyUyYTBWmDzGJfVYh+ggRC+icPtG0D1jAIgImdAKNjpyNULF5xyadDLvbU6UHI16TjusK+0sakuj0/GfMk3SqMLC4SF2nYYS3WaZw/8fbheZJClaYBByoCQkC4Zn8I18ENHBCjScBACVjt+A2HlRMd0yIFRijCB6m7Xui7Tuib7/uE1XQPg1tVxtcIdsi+yE2Hwmi0zMMpdZImRyUrd3Pw2Y5OhjQt2vvOxT5sAyDcxLI+NCIJ1BqgJXb7xnTRvkiASUqeo00tMEk4fN2Mk569+IsXQkUNprJRl04AorwKWKCpjh8hoJEkZeuUdUylIZLOllKbKWUivhzKCxlwqEWdnZNi8xvAaFvZ4yBiUSrnLLNFTg2p0oLfRLVDVmA7SBdr9lRTuhbGnpNBwVsKvrSv17iCFC3bcVEzDZ6SBfVdjBTdcAdgJHmIeMI2mAvrbaXulAuGPfJ/GTE8VMsyLC0yGoKqGmQcme5n+nOsjadhIfYh3KTXclhWEHRgMnC8LmdttYSnz6AIhrN/ZZBZoMSksYVC+A09OzaDNFc4eBpMxZx29pz84ZA0BzYcd1MYxt04VyHckY86PNmv12IWRfzT+w/C5tt7ojoZGquo8vmr5D5zycsiSGFPtt1i5oGUjtppZlKr2cYhNwtdwQDal6n5gkydZfRJSJrktBZEjwjTxDBCyh2it7sa10qaV474fQfoWFBq9aGWXN2wtkaDRbb4mMYSKwqFFiapGXTnH27eQUpjmQ1vr2pbxxxCubwtcxjc8Igb70kHMpBYzc+sAvlgz5kzLo2gNSHVX0qOcDOFmbrv50Pj7dsxRmOwFxDVDtEWgJTFW/8O5o7xp6ggulb5pJOqYQmO/sxk7pZH3DHSHxyOFeaDo5mC0fSFok0WyCfTj0LaEZUfkDYisYuFik1jhxVDQukLnAQEWBgFCu4Xm9Y4BKwTYsgyFvLvJ+kgAGvks0CApQsrLf2lXCmiVa5gECPNF6iCfafAbWmtUplM3wCWji72dlnYjTrLltBoG9nBFJTPyXfYR5Hau9WPFIe8k9pzz09CRdAwBlRvCJitWBKatVkqlGV8otPau9uzDh5KHsJf8I+QdfhnMpeh3DuFCvGXc8mr/NwU6N9xtPqFjAy1bHpQf2G0aYnVOpGyeHs4kyHQsvqtcff0NoiOtnVkW3Kp8AQa8AjBulKieqANow6oL8BdAdpywEUIO+ZcjgqHKQITZeyQV0grIIoCUBZBTAEiq3AZPj6+2Xz2UYw5wXkIgmCk2kyIwfn2ZBROG0xGjajYjtWEwrmeAchOx5ZUQdkp25adiLx2aJTHFKhiKPTMznwvP7fMJ5oEAxZIING4n/UrKX/iNejmLNnsvtJyNLZpl8EdQD8QK6UeaWHR1q6uA9ppT8ZbFaty6vhCC81n/zBQOijAxsR4o6A9RQr4LCy1gwvVwRsF2z6fezp+LzYAn0PhfcmtKyj1A5rp45PLfE/UXIIgtZbO4XdCXmYHzg6rgvhxqArHPvCf3l1hJsiZR8Uhxwd218kDD9T4wuRV//wBt/ReY0Ziz5RJQ4Dl2KLWRCvW4aE9o/cBGbDtvDIZ+apg6B1UMRlwdb3AhY7Y1Ps9wLpWbApvBA/O6q9rGzGGM8+0ySj4rXhNSXz+Ss6+9TAdhDMOv/ZnudozJ4Ym8vun46Q0pauC7Her2Ia4jB6uwsQEFfMiW7LJjP29EQc1V2dzEejDqkRp6GsP0SPOHYpEGZTuhRmDUeYdTsWmV3gKEbpG7gBS9mUH1RhHROW+IKm3J0YmELrg2thR6T1V0ifnNH1+0GculFdf0eiGCcch7Ezel5tjmdUZ73j5YqOV8pE6rXMUcIvAlsSHMRLH3NyOgjEZwtxOpV+TObUp6Ez21NxiTIHDa/eMGgyDIXsLUlEsSvklPPSHrkoolEqezeyGXco7TTvVfztE33nQJDs6ZppeZE845iGjkADI35DzOdUrHnhTBpOiW1kNnRzJEeQF+OnJzTgxBm91wWyW4c4XiKxOle47YvdR11ITIGTv+BK2qmrWwCUF7URwU+uMOuDYcZXOHbqcFDQZa7Pyw0dFSuLnQl+q/EQa+bI+aujrpdVZOjRoWK9pmYWLy9uF3hFg1c04dgX63BG7HRTe7nhozyK0YA6GiC3B+6ShEQswNGjwd5+3bwPOp8nm/vvjvKzJnfifbg7gfR6TTknMgeG8+XWcISbKm6Zi7tzw8aiNY1x4IzEwdmoO3KuyFxPN+mVF7nr1SoJ6T/p8eDM+QrF278On4iwhFkSoRGNCHa1ct4mwbUQPfExXQEHJXNzLT5gGMkcmAyqu0IPjtil+evAteR1tw4E4F90HhJXQpxgqN0koTt3hRRo1pzYMV6tmPiZK8l9MEou1W1ppxvxQddyfgN3BaFyk8haoHiH8IbOOHbn2i00CbwjPuNzZzQfHHxhvGk1GDhzCVC7aj83eHfXjiADE3+6JQl3KXUNRtZuk5hTlwLsutcC8wL3PfRdEjgwJ8P3JEYTpwIn7Q4QkZssMV9h3xWRazeBiNxk+RqlxpxsoInXrvBTXQlrcndHFlSs3Kk8LJRgpydeQDc4XCSfmpUNAp7a+K5nLRvrMZ+KfesR/oP67tTXQUnyeAlfuNNy66BpjTVu09HIEWZg/Igpc6fbz8EI58z3XPOidh+IYzViSehMXZ2yRa3ZJI9LQgJ/iSlHA18cDRGdBcSZ6pPdhX2gGBuOYrSm/T7G2HQEo9p6w6w0hjhOZGE75s4cINrBlNt0zV+H9Weypu7kxHq6lwB0cY3xWmzHG3cuhfVsC9gYc2e8LeusCPcTZ7ysXdt/e5uRORNF0j4YdVndknWcOFPipW2O6eKaBEnMHIHV0Y2O68Ly5B+u7ER1pKLxneiF7OUpcKdFr/W96CWhM+64dlI5D1iuON0gYLniWls3TiWsVgXrc7CmURLiFXUFl5IfNo7rnuMwccVN7LQsq60H4hAs3Tt+X4a1JmwdkNMzPHt1xnxQ3MR6rZEV1yRdtSYuVwyIrm7yQ5fWcInDRdp5MXaqpkU316vNjYViwYnvEDM1kGpc1i7ICjszp0S7B7surbE7rNSWFW/fm6Tljovd1I1H5AHLlROyqRt31oaVrFauJDTUJuzGYU3InIgVU+zMoagbTNUl5i3Zi0PjXNR6WPPKawvMFf2lBnKM+0OeWG0QOFMgoVa+Zr81rAvsPqQR+ekILjUCbdzwesRiKcJ/vGNs5YwWU9zuL/S0zhWbK7qsp1vMr08tkOO8HMHVtm2NPbKVQ25RS7vRfD68XNmNLWviFeEnEr+enlG2xP9g7krBfr2m+JKZJ2h46cK/TmyIE4cChtrZbW1cS7JKL6s+Erx2FlvmU1IX2wUOgo1t4T+7kmXTbracBzSWxMhbksCdcnLrW/SC4wV1JlDd1a2+18V1hcN5QNAjjZdOdXzU7SKnzY0uluiBBTFeuHOzrWX7INij5oxZqxuRzZWaM8V1ugVQutT+ImSNRs5c/dC+h6XL69aV4nzrJsYtC0+uWUj/SW1aPKdOFaoo4y4zx2f16aHzMHZmXwKQNuStmENRRuvu5q+cLxpyFkUOodMtstZF55o2eyvn/PJsGl1iXkDX6MqlqGNXO6ytzSxmnKA7YdbG6H7tjPvUte0IKNxccaAsajWfktAnp2JFjGNBzxmrQxvZZuUazMZ4ERJX2oB2dS+Q5MCL+sLY8NnalRia9qUbfWa3iR8Q7E6xmX5QIzdkrip/C1L2SMP5SrBwhJg6qN0ksTXjcXQ6WK2XNCbYobSTbumBl65cAxn3l+5081RFLLse08R1hiMyw85syba2EtPlRUPmJ0GJGj9pE2PCI3/BwbMrwHSvd+UALEY3OAl9Rzv9tTNXsusiG+LV2qGrEor12jWuxba8HDVd21Z4PVF3ijJsWxWS14K71LFZ8SezR6+1iYXMnfoVNXeZvVw2F1yu6C/1FnTLvAJLuy7f0CdX4ojaLfu1iQV0NXMoYamdHdflJRO8aCh0fsxfkfdMZU2Go/rsC8nLY9BzRb2psmfe/H/1A4e2qnJ4Ghe2EeUxOqPOdOlU5csCsB8OiZd2NkmXFnsJl4KEc4eAImbGjVoVnKP637xCO/9JuE+jSp99ktcF5eSFMVec84POItnrpLSBRUuXVNnBkLjsxcU5EXNGhym1eHXj2n9HbELdSfbadtIlMzQMCA4dss/2Ja1jfGtessCVCT/q+Afjtqxk5Y5oabcV0ccVzlmAHcGlPTpaF9cVFvr+MqBzd0RMYdbpGGdGn505H7Wn1+QAyyHRUoKwxg/GK8ZlMZT/jKYcU1dKoqxH/q99grbGa4Xs88i8Zxw7hGzftPjKXSVdZsK0YBx5L3S1coibbRvjTxLLeKKjuIybF3/hV+xMpaJtNXZDnwj6UxyYzlxPOgiMGWc2ZjHjM1ni6UowUREz88Urv5A13ETWNK7GJtQPqe9ayzLbVRhbalMs59I7uj07xp3MPWqO7lDzFYx3OFwQvhuu5I602S4tVrg5I2+6s+K0uTH/GTlW1Kg9aSkfaHJIgkvjvOzv0XSsxCzALgW2bZdN3bEXaeO6gks5P+vGcSWhQ0lftWON+S354Agp1Zw1XkzsYRqgM4d2onaXAm1gIY0xf0UjKl6JcODaxFDbroAnPppwoB4oeUkhOcJNe0CaPrdkhpFbxdmKrBnPcXqERPjFTVpt4wEhjwRP6DJJCzSqpHAmck5HHo0nN2UymMxkpwx3dFnHtnfuPVP0Z7JaO8JrV9Bij1dA5g7Jl3pPzngSRfAia6n5HVNmfdvKbIWDjQvlVhsb+7cmvDANAvG5s8Jm3tAQyFZs5s6kIdUFML89BTGh0hhx5yhQu0GYl7KEO3QPQG1hZh7XtkjPnbTmvq2xa8togVjDFWJKVVDmYdw5EHNnQ+p3+tekNSVhSJ3pWWnbqKhCPRlgybi1I6x2sX1rLvijUylx7flB2rTEB4vSZhgVsk8iW+KApKkkh6DZbuos+9JHbln41uWMsTm6xPGScIeoWSuMiom/PB04VPOvuyWnYsEanBz1gvqZvSAdTkO8Ihy7KlPZ20TlwMpRucoej9BiRYIATZabFbpAq6Vr1mvRYqsVdrXRtVnFLlCtE4cSabqjM7RYceZMYtumTJ3/X+K7UjGnRpkzVxpqgZK2ujuDBNX4stHNlzZIdGjeg26bLB1WY2dDpV2j1vqEvbhz8tUtnnxy9DVzBZRSoZq5RkkLlOe5gslmOGFKArKW3owznnJrP071hXRhPrxc8ZabupWo+eBqOoJLmdH81l7ZNK+WK7zqILRX2xFcVnfjvXfmCKaWbjm4DqYHOicMbYKijvBSbIiW0TPxEW+ac4+xL/50xS/s6jad+CoyjsM0T5heAz1tocclEWrMGe9HCdNkPx731q8PcED5DLuSZFWH3fWz+0T541sH2CH7X20flj1OcSyCrngE9dq+C9XOHmo9FkJXvIS+dlLtWARd8Rv0o2jHIuiKK6HdNetoBDuuENzfxV/x9Y+FsOsIQvVaYCt74UreCFezRCD0XfFDtFtU5g4w9JeMu2MP6tYtHomfK9ag9pyqI/FzxhTUrTY+Ej9nDEHtQqKc+Z1R/9V3KCADzQzc8nPnANFtqncsgM6cINp5/iMBdPQIaWfPoR0JoDNniAIQjA50JpawfwhnbyaXO8AkcvUAAXACC3iOHh4N+4eHgOfowdHM3JPpGPBcOTR6+xHorxSS5UxviB0KuyidmqwrPQnPFaWnRk3tb1xJz1WtB0L0XNF62o0jjwHvhvnOzBVU6l+slx/IFt9zMkdXdLF8wa+OYFSb1lnfwxeEc1fgKTLYsR4vkFfCYp64s4mVE8R63veC8eeAPjlz/1A5RKwXEF1id8IFHe3a5iPAc8Vy1q/aPQI8ZwxnaFVrEp4rhjM8yeMsCedIeVs3YKoWjPWc2xXmM7lwF+llb2KfOz0SUJ+t3eleogZgOtYDMG65bx1oRRt/ErJ2xgJUs23WhS+l54oJqN/8JGd6N2LrxkuWRA7VvEDbv+8YuiKHbWgG4ZitydxVEbR/CWmDzxXpA1exMWYx42nVi5sEO9YzIRMs1oGD4BV5yWxF+EKI4yMn7kRVldSIdaCyWRIWUonSXuluUuxb39iez5hD+JRqXvv4CI7RGQlcie33oF3MFADRRF6KcwQguAtd3pK66xtbjwym9JyxCqGVok5x6Ir5osYE29bDqlP8kzoCD5zVMmUvaOBOQFXhZ78iQbyfH7t0DVhpX2vd+dgBdPTosF/YJufMhc7IXxua2bzB54r0dXSnsh4HnzOVHdDusG7weS4XJYCQwZUzClB13CBYMCtn9J96gxXABk78Z3eErw9O+CQ+R6WvBUDzSXzOnL5K9137zm+Kz5XKSnC3WDf4nLm7r9ygtp5I3+BzpQlgF1zINMXnSgNA9eiwfvLeh0RAQncMOzp20H7C6IEsqexe4tSdOAWilfjfDxKcDjinP2Q7/ItA1rRFjvA7mHvyFQ9ErF8LHHtB5zhyJVOu3oL7it2SA7Hbc1d45XDS5sFL7PGlI8h2MmUb2aMjvPKoa86Bl+fMlgTCiyXVlsyIrNqSmXg9EnfsCqW1knG74gwvFnjhTL2dYoYZN1zP3KlxUkXrK16SJis+Ixx5S3cGuO/r+6+1idNjRnASvyIPB+6kUjvWoTH2jAbhXNoWAg91S+aUM9O4SpNNue7Ep8OuTC9XujN8bZSLJrJoSV29JvGlWgc9XAzHaLh053aTWh78pcmHesgSzknov6Lzn/4Sh+4YaIqsGbdnh0kkFuBKJFa10b6STdbCNWIvYRRjyl0lZlzARpyGz2nMnyXi0KSumGk7X8neqTnaJkumLHHm6GxYPjrPA/JDXmt1hFdHNc2M+wLnkfjUDhFTL1J/paIjH2BIngWuUFNOAfP78o3avTOOpmKamd+aCWeOsOopVxSMB7LPf1JnQthKAMO4RXYlzFc/cQVXu2f7iLxiMXEl1qOW+tiBha7DJ8ZXTl1wUZquGz8hr1crKl6ukGVA9kvK3LmNYTvl+x5awxFobdvVUXIIhzPx624Od/U0aUVxml+SIR9HK437X7njrUVtnEQkWblCK4eeFlq0bhmaYC4Di64Qs51V2uJy5qTs5jAGJxdgrpyS1k2LiSSDvj8J8198QmeLyixsTYfOyTzam+vBEpIlPpwjuLq2I2OytMeZZKUiW8ZtMM+p1K7tOzZTKryiGI2xv6TOtKDsWY8nbrFNEu4vceQKN+t7c5qEoTNxWOsJkfu1W2Uqii7Tk6726P8D";Sidebar.prototype.gearImage=GRAPH_IMAGE_PATH+"/clipart/Gear_128x128.png";Sidebar.prototype.libAliases={aws2:"aws3",gcp:"gcp2"};Sidebar.prototype.defaultEntries="general;uml;er;bpmn;flowchart;basic;arrows2";Sidebar.prototype.signs="Animals Food Healthcare Nature People Safety Science Sports Tech Transportation Travel".split(" ");Sidebar.prototype.ibm="Analytics Applications Blockchain Data DevOps Infrastructure Management Miscellaneous Security Social Users VPC Boxes Connectors".split(" ");Sidebar.prototype.ibm_cloud=@@ -13019,7 +13020,7 @@ function(){try{g.hideDialog(),M(!1)}catch(Ca){g.handleError(Ca)}}),U.className=""dark"):(V.classList.remove("geDarkMode"),V.style.colorScheme="light")};g.addListener("darkModeChanged",ya);ya();var Ma=function(Ca,Ga){Ca=Ga.getProperty("dialog");V.parentNode==Ca.container&&(g.editor.removeListener(Ma),g.removeListener(ya))};g.editor.addListener("hideDialog",Ma)}this.container=V};var H=ChangePageSetup.prototype.execute;ChangePageSetup.prototype.execute=function(){null==this.page&&(this.page=this.ui.currentPage);if(this.page!=this.ui.currentPage){if(null!=this.page.viewState){this.ignoreColor||(this.page.viewState.background=this.color);if(!this.ignoreImage){var g=this.image;null!=g&&null!=g.src&&Graph.isPageLink(g.src)&&(g={originalSrc:g.src});this.page.viewState.backgroundImage=g}null!=this.format&&(this.page.viewState.pageFormat=this.format);null!=this.mathEnabled&&(this.page.viewState.mathEnabled=this.mathEnabled);null!=this.adaptiveColors&&(this.page.viewState.adaptiveColors=this.adaptiveColors);null!=this.shadowVisible&&(this.page.viewState.shadowVisible=this.shadowVisible)}}else H.apply(this,arguments),null!=this.mathEnabled&&this.mathEnabled!=this.ui.isMathEnabled()&&(this.ui.setMathEnabled(this.mathEnabled),this.mathEnabled=!this.mathEnabled),null!=this.adaptiveColors&&this.adaptiveColors!=this.ui.editor.graph.adaptiveColors&&(g=this.ui.editor.graph.adaptiveColors,this.ui.setAdaptiveColors(this.adaptiveColors),this.adaptiveColors=null!=g?g:"default"),null!=this.shadowVisible&&this.shadowVisible!=this.ui.editor.graph.shadowVisible&&(this.ui.editor.graph.setShadowVisible(this.shadowVisible),-this.shadowVisible=!this.shadowVisible)}})();(function(){EditorUi.VERSION="29.3.5";EditorUi.compactUi="atlas"!=Editor.currentTheme||window.DRAWIO_PUBLIC_BUILD;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname)||/.*\.cdn\.prod\.atlassian-dev\.net$/.test(window.location.hostname))&&"https://preprod.diagrams.net/"!=window.location.hostname&&+this.shadowVisible=!this.shadowVisible)}})();(function(){EditorUi.VERSION="29.3.6";EditorUi.compactUi="atlas"!=Editor.currentTheme||window.DRAWIO_PUBLIC_BUILD;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname)||/.*\.cdn\.prod\.atlassian-dev\.net$/.test(window.location.hostname))&&"https://preprod.diagrams.net/"!=window.location.hostname&&"support.draw.io"!=window.location.hostname&&"test.draw.io"!=window.location.hostname;EditorUi.drawHost=window.DRAWIO_BASE_URL;EditorUi.lightboxHost=window.DRAWIO_LIGHTBOX_URL;EditorUi.lastErrorMessage=null;EditorUi.ignoredAnonymizedChars="\n\t`~!@#$%^&*()_+{}|:\"<>?-=[];'./,\n\t";EditorUi.templateFile=TEMPLATE_PATH+"/index.xml";EditorUi.cacheUrl=window.REALTIME_URL;null==EditorUi.cacheUrl&&"undefined"!==typeof DrawioFile&&(DrawioFile.SYNC="none");Editor.cacheTimeout=1E4;EditorUi.enablePlantUml=EditorUi.enableLogging||"1"==urlParams.dev;EditorUi.isElectronApp=null!=window&&null!=window.process&&null!=window.process.versions&&null!=window.process.versions.electron;EditorUi.nativeFileSupport=!mxClient.IS_OP&&!EditorUi.isElectronApp&&"1"!=urlParams.extAuth&&"showSaveFilePicker"in window&&"showOpenFilePicker"in window;EditorUi.enableDrafts=!mxClient.IS_CHROMEAPP&&isLocalStorage&&"0"!=urlParams.drafts;EditorUi.scratchpadHelpLink="https://www.drawio.com/doc/faq/scratchpad";EditorUi.enableHtmlEditOption=!0;EditorUi.mermaidDiagramTypes="flowchart classDiagram sequenceDiagram stateDiagram mindmap graph erDiagram requirementDiagram journey gantt pie gitGraph".split(" ");EditorUi.defaultMermaidConfig={theme:"neutral",arrowMarkerAbsolute:!1,sequence:{diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,mirrorActors:!0,bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,showSequenceNumbers:!1},gantt:{useWidth:1E3,useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,@@ -15539,27 +15540,29 @@ g.mxgraph.io.vsdx.theme.OoxmlColorFactory.getOoxmlColor(g.mxgraph.io.vsdx.mxVsdxg.mxgraph.io.vsdx.theme.OoxmlColorFactory.getOoxmlColor(g.mxgraph.io.vsdx.mxVsdxUtils.getDirectFirstChildElement(e));break;case "vt:varColor6":this.variantsColors[c][5]=g.mxgraph.io.vsdx.theme.OoxmlColorFactory.getOoxmlColor(g.mxgraph.io.vsdx.mxVsdxUtils.getDirectFirstChildElement(e));break;case "vt:varColor7":this.variantsColors[c][6]=g.mxgraph.io.vsdx.theme.OoxmlColorFactory.getOoxmlColor(g.mxgraph.io.vsdx.mxVsdxUtils.getDirectFirstChildElement(e))}}};h.prototype.addBkgndColor=function(c){c=g.mxgraph.io.vsdx.mxVsdxUtils.getDirectFirstChildElement(c);null!=c&&(this.bkgndColor=g.mxgraph.io.vsdx.theme.OoxmlColorFactory.getOoxmlColor(g.mxgraph.io.vsdx.mxVsdxUtils.getDirectFirstChildElement(c)))};h.prototype.extractThemeIndex=function(c){c=g.mxgraph.io.vsdx.mxVsdxUtils.getDirectFirstChildElement(c);null!=c&&(this.themeIndex=parseInt(c.getAttribute("schemeEnum")))};h.prototype.addBasicColor=function(c,a){this.baseColors[c]=g.mxgraph.io.vsdx.theme.OoxmlColorFactory.getOoxmlColor(a)};h.prototype.getSchemeColor=function(c){this.processTheme();var a=this.baseColors;c=a[c]?a[c]:null;return null!=c?c.getColor$com_mxgraph_io_vsdx_mxVsdxTheme(this):this.defaultClr};h.prototype.getStyleColor=function(c){this.processTheme();if(8>c){var a=function(e,f){return e[f]?e[f]:null}(this.baseColors,function(e,f){null==e.entries&&(e.entries=[]);for(var k=0;k<e.entries.length;k++)if(null!=e.entries[k].key.equals&&e.entries[k].key.equals(f)||e.entries[k].key===f)return e.entries[k].value;return null}(h.colorIds_$LI$(),c));if(null!=a)return a.getColor$com_mxgraph_io_vsdx_mxVsdxTheme(this)}else if(8===-c){if(null!=this.bkgndColor)return this.bkgndColor.getColor$com_mxgraph_io_vsdx_mxVsdxTheme(this)}else{a=null;var b=0;200<=c?b=c-200:100<=c&&(b=c-100);0<=b&&6>=b&&(a=this.variantsColors[this.themeVariantClr][b]);if(null!=a)return a.getColor$com_mxgraph_io_vsdx_mxVsdxTheme(this)}return this.defaultClr};h.prototype.getFillGraientColor=function(c){return this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$boolean(c,!0)};h.prototype.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals=function(c){return this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$boolean(c,-!1)};h.prototype.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$boolean=function(c,a){this.processTheme();var b=null;try{var e=c.getQuickStyleFillColor();switch(c.getQuickStyleFillMatrix()){case 1:case 2:case 3:case 4:case 5:case 6:b=this.fillStyles[c.getQuickStyleFillMatrix()-1];break;case 100:case 101:case 102:case 103:this.isMonotoneVariant[this.themeVariantStl]&&(e=100);var f=c.getQuickStyleFillMatrix()-100;b=this.fillStyles[this.variantFillIdx[this.themeVariantStl][f]-1]}}catch(D){}f=-"#FFFFFF";try{f=null!=b?a?null!=b&&b instanceof g.mxgraph.io.vsdx.theme.GradFill?b.applyStyle(e,this).getGradientClr():null:b.applyStyle(e,this):a?null:this.getStyleColor(e);var k=c.getQuickStyleVariation();if(null!=f&&0<(k&8)){var n=this.getStyleColor(8).toHsl(),q=this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c),t=q.toHsl(),z=f.toHsl();.1666<=Math.abs(n.getLum()-z.getLum())||(.7292>=n.getLum()?f=new g.mxgraph.io.vsdx.theme.Color(255,255,255):Math.abs(n.getLum()-t.getLum())>Math.abs(n.getLum()--z.getLum())&&(f=q))}}catch(D){}return f};h.prototype.getFillColor=function(c,a){if(!(null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)||"boolean"!==typeof a&&null!==a){if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&void 0===a)return this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);throw Error("invalid overload");}return this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$boolean(c,a)};h.prototype.getLineStyle=function(c,a){this.processTheme();-var b=null;switch(c){case 1:case 2:case 3:case 4:case 5:case 6:b=a[c-1];break;case 100:case 101:case 102:case 103:b=a===this.lineStyles&&null!=this.variantLineIdx[this.themeVariantStl]?this.lineStyles[this.variantLineIdx[this.themeVariantStl][c-100]-1]:this.defaultLineStyle}return b};h.prototype.getLineStyleExt=function(c,a){this.processTheme();var b=null;switch(c){case 0:case 1:case 2:case 3:case 4:case 5:case 6:b=a[c]}return b};h.prototype.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList=-function(c,a){this.processTheme();var b=c.getQuickStyleLineColor();a=this.getLineStyle(c.getQuickStyleLineMatrix(),a);switch(c.getQuickStyleLineMatrix()){case 100:case 101:case 102:case 103:this.isMonotoneVariant[this.themeVariantStl]&&(b=100)}b=null!=a?a.getLineColor(b,this):this.getStyleColor(b);if(0<(c.getQuickStyleVariation()&4)){a=this.getStyleColor(8).toHsl();c=this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);var e=c.toHsl(),f=b.toHsl();.1666<=Math.abs(a.getLum()-f.getLum())||(.7292>=-a.getLum()?b=new g.mxgraph.io.vsdx.theme.Color(255,255,255):Math.abs(a.getLum()-e.getLum())>Math.abs(a.getLum()-f.getLum())&&(b=c))}return b};h.prototype.getLineColor=function(c,a){if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&(null!=a&&a instanceof Array||null===a))return this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,a);if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&void 0===a)return this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);-throw Error("invalid overload");};h.prototype.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals=function(c){return this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,this.lineStyles)};h.prototype.getConnLineColor=function(c){return this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,this.connLineStyles)};h.prototype.getDefaultLineClr=function(){return this.defaultLineClr};h.prototype.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList$java_util_ArrayList=-function(c,a,b){a=this.getLineStyleExt(c.getQuickStyleLineMatrix(),a);if(null!=a)return a.isDashed();c=this.getLineStyle(c.getQuickStyleLineMatrix(),b);return null!=c?c.isDashed():!1};h.prototype.isLineDashed=function(c,a,b){if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&(null!=a&&a instanceof Array||null===a)&&(null!=b&&b instanceof Array||null===b))return this.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList$java_util_ArrayList(c,a,b);if((null!=-c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&void 0===a&&void 0===b)return this.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);throw Error("invalid overload");};h.prototype.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals=function(c){return this.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList$java_util_ArrayList(c,this.lineStylesExt,this.lineStyles)};h.prototype.isConnLineDashed=function(c){return this.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList$java_util_ArrayList(c,+c){if(null!=this.bkgndColor)return this.bkgndColor.getColor$com_mxgraph_io_vsdx_mxVsdxTheme(this)}else{a=null;var b=0;200<=c?b=c-200:100<=c&&(b=c-100);0<=b&&6>=b&&(a=this.variantsColors[this.themeVariantClr%this.variantsColors.length][b]);if(null!=a)return a.getColor$com_mxgraph_io_vsdx_mxVsdxTheme(this)}return this.defaultClr};h.prototype.getFillGraientColor=function(c){return this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$boolean(c,!0)};h.prototype.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals=+function(c){return this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$boolean(c,!1)};h.prototype.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$boolean=function(c,a){this.processTheme();var b=null;try{var e=c.getQuickStyleFillColor();switch(c.getQuickStyleFillMatrix()){case 1:case 2:case 3:case 4:case 5:case 6:b=this.fillStyles[c.getQuickStyleFillMatrix()-1];break;case 100:case 101:case 102:case 103:this.isMonotoneVariant[this.themeVariantStl]&&(e=100);var f=c.getQuickStyleFillMatrix()-+100;b=this.fillStyles[this.variantFillIdx[this.themeVariantStl][f]-1]}}catch(D){}f="#FFFFFF";try{f=null!=b?a?null!=b&&b instanceof g.mxgraph.io.vsdx.theme.GradFill?b.applyStyle(e,this).getGradientClr():null:b.applyStyle(e,this):a?null:this.getStyleColor(e);var k=c.getQuickStyleVariation();if(null!=f&&0<(k&8)){var n=this.getStyleColor(8).toHsl(),q=this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c),t="object"==typeof q?q.toHsl():g.mxgraph.io.vsdx.theme.Color.decodeColorHex(q).toHsl(),z="object"==+typeof f?f.toHsl():g.mxgraph.io.vsdx.theme.Color.decodeColorHex(f).toHsl();.1666<=Math.abs(n.getLum()-z.getLum())||(.7292>=n.getLum()?f=new g.mxgraph.io.vsdx.theme.Color(255,255,255):Math.abs(n.getLum()-t.getLum())>Math.abs(n.getLum()-z.getLum())&&(f=q))}}catch(D){}return f};h.prototype.getFillColor=function(c,a){if(!(null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)||"boolean"!==typeof a&&null!==a){if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&+void 0===a)return this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);throw Error("invalid overload");}return this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$boolean(c,a)};h.prototype.getLineStyle=function(c,a){this.processTheme();var b=null;switch(c){case 1:case 2:case 3:case 4:case 5:case 6:b=a[c-1];break;case 100:case 101:case 102:case 103:b=a===this.lineStyles&&null!=this.variantLineIdx[this.themeVariantStl]?this.lineStyles[this.variantLineIdx[this.themeVariantStl][c-100]-+1]:this.defaultLineStyle}return b};h.prototype.getLineStyleExt=function(c,a){this.processTheme();var b=null;switch(c){case 0:case 1:case 2:case 3:case 4:case 5:case 6:b=a[c]}return b};h.prototype.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList=function(c,a){this.processTheme();var b=c.getQuickStyleLineColor();a=this.getLineStyle(c.getQuickStyleLineMatrix(),a);switch(c.getQuickStyleLineMatrix()){case 100:case 101:case 102:case 103:this.isMonotoneVariant[this.themeVariantStl]&&+(b=100)}b=null!=a?a.getLineColor(b,this):this.getStyleColor(b);if(0<(c.getQuickStyleVariation()&4)){a=this.getStyleColor(8).toHsl();c=this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);var e="object"==typeof c?c.toHsl():g.mxgraph.io.vsdx.theme.Color.decodeColorHex(c).toHsl(),f="object"==typeof b?b.toHsl():g.mxgraph.io.vsdx.theme.Color.decodeColorHex(b).toHsl();.1666<=Math.abs(a.getLum()-f.getLum())||(.7292>=a.getLum()?b=new g.mxgraph.io.vsdx.theme.Color(255,255,255):Math.abs(a.getLum()-+e.getLum())>Math.abs(a.getLum()-f.getLum())&&(b=c))}return b};h.prototype.getLineColor=function(c,a){if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&(null!=a&&a instanceof Array||null===a))return this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,a);if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&void 0===a)return this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);throw Error("invalid overload");};h.prototype.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals=+function(c){return this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,this.lineStyles)};h.prototype.getConnLineColor=function(c){return this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,this.connLineStyles)};h.prototype.getDefaultLineClr=function(){return this.defaultLineClr};h.prototype.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList$java_util_ArrayList=function(c,a,b){a=this.getLineStyleExt(c.getQuickStyleLineMatrix(),+a);if(null!=a)return a.isDashed();c=this.getLineStyle(c.getQuickStyleLineMatrix(),b);return null!=c?c.isDashed():!1};h.prototype.isLineDashed=function(c,a,b){if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&(null!=a&&a instanceof Array||null===a)&&(null!=b&&b instanceof Array||null===b))return this.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList$java_util_ArrayList(c,a,b);if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===+c)&&void 0===a&&void 0===b)return this.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);throw Error("invalid overload");};h.prototype.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals=function(c){return this.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList$java_util_ArrayList(c,this.lineStylesExt,this.lineStyles)};h.prototype.isConnLineDashed=function(c){return this.isLineDashed$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList$java_util_ArrayList(c,this.connLineStylesExt,this.connLineStyles)};h.prototype.getLineDashPattern$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList$java_util_ArrayList=function(c,a,b){a=this.getLineStyleExt(c.getQuickStyleLineMatrix(),a);if(null!=a)return a.getLineDashPattern();c=this.getLineStyle(c.getQuickStyleLineMatrix(),b);return null!=c?c.getLineDashPattern():null};h.prototype.getLineDashPattern=function(c,a,b){if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&(null!=a&&a instanceofArray||null===a)&&(null!=b&&b instanceof Array||null===b))return this.getLineDashPattern$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList$java_util_ArrayList(c,a,b);if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&void 0===a&&void 0===b)return this.getLineDashPattern$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);throw Error("invalid overload");};h.prototype.getLineDashPattern$com_mxgraph_io_vsdx_theme_QuickStyleVals=function(c){return this.getLineDashPattern$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList$java_util_ArrayList(c,this.lineStylesExt,this.lineStyles)};h.prototype.getConnLineDashPattern=function(c){return this.getLineDashPattern$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList$java_util_ArrayList(c,this.connLineStylesExt,this.connLineStyles)};h.prototype.getArrowSize=function(c,a,b,e){b=this.getLineStyleExt(c.getQuickStyleLineMatrix(),b);if(null!=b)return a?b.getStartSize():b.getEndSize();c=this.getLineStyle(c.getQuickStyleLineMatrix(),e);return null!=c?a?c.getStartSize():c.getEndSize():4};h.prototype.getStartSize=function(c){return this.getArrowSize(c,!0,this.lineStylesExt,this.lineStyles)};h.prototype.getConnStartSize=function(c){return this.getArrowSize(c,!0,this.connLineStylesExt,this.connLineStyles)};h.prototype.getEndSize=function(c){return this.getArrowSize(c,!1,this.lineStylesExt,this.lineStyles)};h.prototype.getConnEndSize=function(c){return this.getArrowSize(c,!1,this.connLineStylesExt,this.connLineStyles)};h.prototype.getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList=function(c,a){this.processTheme();var b=c.getQuickStyleFontColor(),e=null;switch(c.getQuickStyleFontMatrix()){case 1:case 2:case 3:case 4:case 5:case 6:e=a[c.getQuickStyleFontMatrix()-1];break;case 100:case 101:case 102:case 103:this.isMonotoneVariant[this.themeVariantStl]&&(b=100),e=c.getQuickStyleFontMatrix()-100,a!==this.fontColors?(a=this.baseColors,e=a.dk1?a.dk1:null):e=a[this.variantFontIdx[this.themeVariantStl][e]-1]}b=null!=e?e.getColor$int$com_mxgraph_io_vsdx_mxVsdxTheme(b,this):this.getStyleColor(b);-if(0<(c.getQuickStyleVariation()&2)){e=this.getStyleColor(8).toHsl();var f=b.toHsl();a=this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);var k=a.toHsl();c=this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);var n=c.toHsl();.1666<=Math.abs(e.getLum()-f.getLum())||(.7292>=e.getLum()?b=new g.mxgraph.io.vsdx.theme.Color(255,255,255):(n=Math.abs(e.getLum()-n.getLum()),k=Math.abs(e.getLum()-k.getLum()),e=Math.abs(e.getLum()-f.getLum()),e=Math.max(n,k,e),e==n?b=c:e==k&&(b=a)))}return b};-h.prototype.getFontColor=function(c,a){if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&(null!=a&&a instanceof Array||null===a))return this.getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,a);if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&void 0===a)return this.getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);throw Error("invalid overload");};h.prototype.getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals=-function(c){return this.getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,this.fontColors)};h.prototype.getConnFontColor=function(c){return this.getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,this.connFontColors)};h.prototype.getArrowType=function(c,a,b,e){b=this.getLineStyleExt(c.getQuickStyleLineMatrix(),b);if(null!=b)return a?b.getStart():b.getEnd();c=this.getLineStyle(c.getQuickStyleLineMatrix(),e);return null!=c?a?c.getStart():c.getEnd():-0};h.prototype.getEdgeMarker=function(c,a){return this.getArrowType(a,c,this.lineStylesExt,this.lineStyles)};h.prototype.getConnEdgeMarker=function(c,a){return this.getArrowType(a,c,this.connLineStylesExt,this.connLineStyles)};h.prototype.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList=function(c,a){c=this.getLineStyle(c.getQuickStyleLineMatrix(),a);return null!=c?c.getLineWidth():0};h.prototype.getLineWidth=function(c,a){if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||-null===c)&&(null!=a&&a instanceof Array||null===a))return this.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,a);if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&void 0===a)return this.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);throw Error("invalid overload");};h.prototype.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals=function(c){return this.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,this.lineStyles)};-h.prototype.getConnLineWidth=function(c){return this.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,this.connLineStyles)};return h}();m.__static_initialized=!1;H.mxVsdxTheme=m;m.__class="com.mxgraph.io.vsdx.mxVsdxTheme"})(C.vsdx||(C.vsdx={}))})(A.io||(A.io={}))})(g.mxgraph||(g.mxgraph={}))})(com||(com={}));+if(0<(c.getQuickStyleVariation()&2)){e=this.getStyleColor(8).toHsl();var f="object"==typeof b?b.toHsl():g.mxgraph.io.vsdx.theme.Color.decodeColorHex(b).toHsl();a=this.getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);var k="object"==typeof a?a.toHsl():g.mxgraph.io.vsdx.theme.Color.decodeColorHex(a).toHsl();c=this.getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);var n="object"==typeof c?c.toHsl():g.mxgraph.io.vsdx.theme.Color.decodeColorHex(c).toHsl();.1666<=Math.abs(e.getLum()-f.getLum())||+(.7292>=e.getLum()?b=new g.mxgraph.io.vsdx.theme.Color(255,255,255):(n=Math.abs(e.getLum()-n.getLum()),k=Math.abs(e.getLum()-k.getLum()),e=Math.abs(e.getLum()-f.getLum()),e=Math.max(n,k,e),e==n?b=c:e==k&&(b=a)))}return b};h.prototype.getFontColor=function(c,a){if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&(null!=a&&a instanceof Array||null===a))return this.getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,a);if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||+null===c)&&void 0===a)return this.getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);throw Error("invalid overload");};h.prototype.getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals=function(c){return this.getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,this.fontColors)};h.prototype.getConnFontColor=function(c){return this.getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,this.connFontColors)};h.prototype.getArrowType=function(c,a,b,e){b=+this.getLineStyleExt(c.getQuickStyleLineMatrix(),b);if(null!=b)return a?b.getStart():b.getEnd();c=this.getLineStyle(c.getQuickStyleLineMatrix(),e);return null!=c?a?c.getStart():c.getEnd():0};h.prototype.getEdgeMarker=function(c,a){return this.getArrowType(a,c,this.lineStylesExt,this.lineStyles)};h.prototype.getConnEdgeMarker=function(c,a){return this.getArrowType(a,c,this.connLineStylesExt,this.connLineStyles)};h.prototype.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList=+function(c,a){c=this.getLineStyle(c.getQuickStyleLineMatrix(),a);return null!=c?c.getLineWidth():0};h.prototype.getLineWidth=function(c,a){if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&(null!=a&&a instanceof Array||null===a))return this.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,a);if((null!=c&&c instanceof g.mxgraph.io.vsdx.theme.QuickStyleVals||null===c)&&void 0===a)return this.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals(c);+throw Error("invalid overload");};h.prototype.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals=function(c){return this.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,this.lineStyles)};h.prototype.getConnLineWidth=function(c){return this.getLineWidth$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList(c,this.connLineStyles)};return h}();m.__static_initialized=!1;H.mxVsdxTheme=m;m.__class="com.mxgraph.io.vsdx.mxVsdxTheme"})(C.vsdx||(C.vsdx={}))})(A.io||(A.io=+{}))})(g.mxgraph||(g.mxgraph={}))})(com||(com={}));(function(g){(function(A){(function(C){(function(H){var m=function(){function h(){}h.conversionFactor_$LI$=function(){null==h.conversionFactor&&(h.conversionFactor=h.screenCoordinatesPerCm*h.CENTIMETERS_PER_INCHES);return h.conversionFactor};h.getDirectChildNamedElements=function(c,a){var b=[];for(c=c.firstChild;null!=c;c=c.nextSibling){var e;if(e=null!=c&&1==c.nodeType){e=a;var f=c.nodeName;e=e&&e.equals?e.equals(f):e===f}e&&b.push(c)}return b};h.getDirectChildElements=function(c){var a=[];for(c=c.firstChild;null!=c;c=c.nextSibling)null!=c&&1==c.nodeType&&a.push(c);return a};h.getDirectFirstChildElement=function(c){for(c=c.firstChild;null!=c;c=c.nextSibling)if(null!=c&&1==c.nodeType)return c;return null};h.getIntAttr$org_w3c_dom_Element$java_lang_String$int=function(c,a,b){try{var e=c.getAttribute(a);if(null!=e)return parseInt(e)}catch(f){}return b};h.getIntAttr=function(c,a,b){if((null==c||1!=c.nodeType)&&null!==c||"string"!==typeof a&&null!==a||"number"!==typeof b&&null!==b){if((null==c||1!=c.nodeType)&&null!==c||"string"!==typeof a&&null!==a||void 0!==b)throw Error("invalid overload");return g.mxgraph.io.vsdx.mxVsdxUtils.getIntAttr$org_w3c_dom_Element$java_lang_String(c,a)}return g.mxgraph.io.vsdx.mxVsdxUtils.getIntAttr$org_w3c_dom_Element$java_lang_String$int(c,a,b)};h.getIntAttr$org_w3c_dom_Element$java_lang_String=function(c,a){return h.getIntAttr$org_w3c_dom_Element$java_lang_String$int(c,a,0)};h.getStyleString=function(c,a){for(var b="",e=function(q){var t=0;return{next:function(){return t<@@ -15576,8 +15579,8 @@ t.equals?t.equals(z):t===z}(k,a))return q}}}return null};return h}();H.Section=m(C.vsdx={}))})(A.io||(A.io={}))})(g.mxgraph||(g.mxgraph={}))})(com||(com={}));(function(g){(function(A){(function(C){(function(H){(function(m){var h=function(){function c(a,b,e){this.blue=this.green=this.red=0;this.gradientClr=null;this.red=a;this.green=b;this.blue=e}c.NONE_$LI$=function(){null==c.NONE&&(c.NONE=new c(-1,-1,-1));return c.NONE};c.getHexColor=function(a){return"string"===typeof a?a:a.toHexStr()};c.prototype.getRed=function(){return this.red};c.prototype.setRed=function(a){this.red=a};c.prototype.getGreen=function(){return this.green};c.prototype.setGreen=function(a){this.green=a};c.prototype.getBlue=function(){return this.blue};c.prototype.setBlue=function(a){this.blue=a};c.prototype.toHsl=function(){var a=this.getRed()/255,b=this.getGreen()/255,e=this.getBlue()/255,f=Math.max(a,Math.max(b,e)),k=Math.min(a,Math.min(b,e)),n=(f+k)/2;if(f===k)a=k=0;else{var q=f-k;k=.5<n?q/(2-f-k):q/(f+k);a=(f===a?(b-e)/q+(b<e?6:0):f===b?(e-a)/q+2:(a-b)/q+4)/6}return new g.mxgraph.io.vsdx.theme.HSLColor(a,k,n)};c.prototype.toHsv=function(){var a=this.getRed()/255,b=this.getGreen()/255,e=this.getBlue()/-255,f=Math.max(a,Math.max(b,e)),k=Math.min(a,Math.min(b,e)),n=f-k;a=f===k?0:(f===a?(b-e)/n+(b<e?6:0):f===b?(e-a)/n+2:(a-b)/n+4)/6;return new g.mxgraph.io.vsdx.theme.HSVColor(a,0===f?0:n/f,f)};c.decodeColorHex=function(a){a=parseInt(a,16);return new c(a>>16&255,a>>8&255,a&255)};c.prototype.toHexStr=function(){var a=this.red.toString(16);a=1==a.length?"0"+a:a;var b=this.green.toString(16);b=1==b.length?"0"+b:b;var e=this.blue.toString(16);e=1==e.length?"0"+e:e;return"#"+a+b+e};c.prototype.getGradientClr=-function(){return this.gradientClr};c.prototype.setGradientClr=function(a){this.gradientClr=a};return c}();m.Color=h;h.__class="com.mxgraph.io.vsdx.theme.Color"})(H.theme||(H.theme={}))})(C.vsdx||(C.vsdx={}))})(A.io||(A.io={}))})(g.mxgraph||(g.mxgraph={}))})(com||(com={}));+255,f=Math.max(a,Math.max(b,e)),k=Math.min(a,Math.min(b,e)),n=f-k;a=f===k?0:(f===a?(b-e)/n+(b<e?6:0):f===b?(e-a)/n+2:(a-b)/n+4)/6;return new g.mxgraph.io.vsdx.theme.HSVColor(a,0===f?0:n/f,f)};c.decodeColorHex=function(a){a=a?a.replace("#",""):"FFFFFF";a=parseInt(a,16);return new c(a>>16&255,a>>8&255,a&255)};c.prototype.toHexStr=function(){var a=this.red.toString(16);a=1==a.length?"0"+a:a;var b=this.green.toString(16);b=1==b.length?"0"+b:b;var e=this.blue.toString(16);e=1==e.length?"0"+e:e;return"#"++a+b+e};c.prototype.getGradientClr=function(){return this.gradientClr};c.prototype.setGradientClr=function(a){this.gradientClr=a};return c}();m.Color=h;h.__class="com.mxgraph.io.vsdx.theme.Color"})(H.theme||(H.theme={}))})(C.vsdx||(C.vsdx={}))})(A.io||(A.io={}))})(g.mxgraph||(g.mxgraph={}))})(com||(com={}));(function(g){(function(A){(function(C){(function(H){(function(m){var h=function(){function c(){}c.getFillStyle=function(a){var b=null;switch(a.nodeName){case "a:solidFill":b=new g.mxgraph.io.vsdx.theme.SolidFillStyle(g.mxgraph.io.vsdx.theme.OoxmlColorFactory.getOoxmlColor(g.mxgraph.io.vsdx.mxVsdxUtils.getDirectFirstChildElement(a)));break;case "a:noFill":b=new g.mxgraph.io.vsdx.theme.NoFillStyle;break;case "a:gradFill":b=new g.mxgraph.io.vsdx.theme.GradFill(a)}return b};return c}();m.FillStyleFactory=h;h.__class="com.mxgraph.io.vsdx.theme.FillStyleFactory"})(H.theme||(H.theme={}))})(C.vsdx||(C.vsdx={}))})(A.io||(A.io={}))})(g.mxgraph||(g.mxgraph={}))})(com||(com={}));(function(g){(function(A){(function(C){(function(H){(function(m){var h=function(){function c(a){this.color2=this.color1=null;a=g.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(a,"a:gsLst");0<a.length&&(a=g.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildElements(a[0]),2<=a.length&&(this.color2=g.mxgraph.io.vsdx.theme.OoxmlColorFactory.getOoxmlColor(g.mxgraph.io.vsdx.mxVsdxUtils.getDirectFirstChildElement(a[0])),this.color1=g.mxgraph.io.vsdx.theme.OoxmlColorFactory.getOoxmlColor(g.mxgraph.io.vsdx.mxVsdxUtils.getDirectFirstChildElement(a[a.length-@@ -15720,21 +15723,21 @@ k){return f[k]?f[k]:null}(e.cellElements,g.mxgraph.io.vsdx.mxVsdxConstants.WIDTHc.UNICODE_LINE_SEP=String.fromCharCode(8232));return c.UNICODE_LINE_SEP};c.prototype.setThemeAndVariant=function(a,b,e){this.theme=a;this.themeVariantClr=b;this.themeVariantStl=e};c.prototype.getTheme=function(){null!=this.theme&&(this.theme.setVariantClr(this.themeVariantClr),this.theme.setVariantStl(this.themeVariantStl));return this.theme};c.prototype.getQuickStyleVals=function(){return this.quickStyleVals};c.prototype.processGeomList=function(a){if(!this.geomListProcessed){this.geomList=new g.mxgraph.io.vsdx.mxVsdxGeometryList(a);if(null!=this.geom)for(a=0;a<this.geom.length;a++)this.geomList.addGeometry(this.geom[a]);this.geomListProcessed=!0}};c.prototype.parseShapeElem=function(a,b){h.prototype.parseShapeElem.call(this,a,b);var e=a.nodeName;if(function(z,D){return z&&z.equals?z.equals(D):z===D}(e,"ForeignData")){e=function(z,D){for(z=z.firstChild;null!=z;){if(1==z.nodeType){var L=z;if("rel"==L.nodeName.toLowerCase()&&(L=L.getAttribute("r:id"),null!=L&&0!==L.length)){z=D.lastIndexOf("/");var T="",Q="";try{T=D.substring(0,z),Q=D.substring(z,D.length)}catch(y){break}z=b.getRelationship(L,T+"/_rels"+Q+".rels");if(null!=z){D=z.getAttribute("Target")||"";L=z.getAttribute("Type");z=D.lastIndexOf("/");try{D=D.substring(z+1,D.length)}catch(y){break}return{type:L,target:D}}break}}z=z.nextSibling}};var f=a.ownerDocument.vsdxFileName,k=a.getAttribute("ForeignType"),n=a.getAttribute("CompressionType")||"",q=null;if(function(z,D){return z&&z.equals?z.equals(D):z===D}(k,"Bitmap"))n=n.toLowerCase();else if(function(z,D){return z&&-z.equals?z.equals(D):z===D}(k,"MetaFile"))n="png";else if(function(z,D){return z&&z.equals?z.equals(D):z===D}(k,"Enhanced Metafile")||function(z,D){return z&&z.equals?z.equals(D):z===D}(k,"EnhMetaFile"))n="png";else if("Object"==k){if(q=e(a,f),0<q.type.indexOf("/oleObject"))if(n=b.getRelationship("rId1","visio/embeddings/_rels/"+q.target+".rels"),null!=n){q=n.getAttribute("Target");k=n.getAttribute("Type");try{var t=q.lastIndexOf("/");q=q.substring(t+1,q.length)}catch(z){return}n="png";q={type:k,-target:q}}else return}else return;null==q&&(q=e(a,f));k=q.type;q=q.target;null!=k&&function(z,D){var L=z.length-D.length;z=z.indexOf(D,L);return-1!==z&&z===L}(k,"image")&&(this.imageData={},(a=b.getMedia(g.mxgraph.io.mxVsdxCodec.vsdxPlaceholder+"/media/"+q))?(this.imageData.iData=a,function(z,D){var L=z.length-D.length;z=z.indexOf(D,L);return-1!==z&&z===L}(q.toLowerCase(),".bmp")&&(n="jpg"),this.imageData.iType=n):(this.imageData.iData=c.ERROR_IMAGE,this.imageData.iType="svg+xml"))}else(function(z,-D){return z&&z.equals?z.equals(D):z===D})(e,g.mxgraph.io.vsdx.mxVsdxConstants.TEXT)&&(this.text=a)};c.prototype.parseSection=function(a){var b=a.getAttribute("N");if(function(L,T){return L&&L.equals?L.equals(T):L===T}(b,"Geometry"))null==this.geom&&(this.geom=[]),this.geom.push(a);else if(function(L,T){return L&&L.equals?L.equals(T):L===T}(b,"Field")){a=g.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(a,"Row");for(var e=0;e<a.length;e++){b=a[e];var f=b.getAttribute("IX")||"";if(0!==f.length)if(null==-this.fields&&(this.fields={}),function(L,T){return L&&L.equals?L.equals(T):L===T}("1",b.getAttribute("Del")))this.fields[f]="";else{for(var k=g.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(b,"Cell"),n="",q="",t=0;t<k.length;t++){var z=k[t];b=z.getAttribute("N");z=z.getAttribute("V")||z.textContent||"";switch(b){case "Value":n=z;break;case "Format":q=z}}if("esc(0)"==q)this.fields[f]=n;else if(0!==n.length){try{var D=isNaN(n)?new Date(n):new Date(c.VSDX_START_TIME+Math.floor(864E5*parseFloat(n)));-q="c"==q?0==D.getHours()+D.getMinutes()+D.getSeconds()+D.getMilliseconds()?"m/d/yyyy":"m/d/yyyy h:MM:ss tt":"ddddd"==q?"m/d/yyyy":"dddddd"==q?"dddd, mmmm dd, yyyy":"C"==q?"dddd, mmmm dd, yyyy h:MM:ss tt":"T"==q?"h:MM:ss tt":q.replace(/am\/pm/g,"tt").replace(/m/g,"@").replace(/M/g,"m").replace(/@/g,"M");n=Graph.prototype.formatDate(D,"UTC:"+q.replace(RegExp("\\{|\\}","g"),""))}catch(L){}this.fields[f]=n}}}}else h.prototype.parseSection.call(this,a)};c.prototype.parseGeom=function(){return this.hasGeomList()?-this.geomList.getShapeXML(this):""};c.prototype.getText=function(){return null!=this.text?this.text.textContent:null};c.prototype.getTextChildren=function(){return null!=this.text?this.text.childNodes:null};c.prototype.getWidth=function(){if(1>this.width&&null!=this.childShapes)try{for(var a=0;a<this.childShapes.entries.length;a++)this.width=Math.max(this.childShapes.entries[a].value.width,this.width)}catch(b){}return 0===this.width&&0<this.height?1:this.width};c.prototype.getHeight=function(){if(1>-this.height&&null!=this.childShapes)try{for(var a=0;a<this.childShapes.entries.length;a++)this.height=Math.max(this.childShapes.entries[a].value.height,this.height)}catch(b){}return 0===this.height&&0<this.width?1:this.height};c.prototype.getRotation=function(){return this.rotation};c.prototype.getStyleMap=function(){return this.styleMap};c.prototype.hasGeom=function(){return!(null==this.geom||0==this.geom.length)};c.prototype.hasGeomList=function(){return null!=this.geomList&&this.geomList.hasGeom()};-c.prototype.getPPList=function(a){var b=null;""!=a&&(a=this.getBullet(a),"0"!=a&&(b='<ul style="margin: 0;list-style-type: '+("4"==a?"square":"disc")+'">'));return b};c.prototype.getTextParagraphFormated=function(a){var b="",e={};e["text-align"]=this.getHorizontalAlign(this.pp,!0);e["margin-left"]=this.getIndentLeft(this.pp);e["margin-right"]=this.getIndentRight(this.pp);e["margin-top"]=this.getSpBefore(this.pp)+"px";e["margin-bottom"]=this.getSpAfter(this.pp)+"px";e["text-indent"]=this.getIndentFirst(this.pp);-e["vertical-align"]=this.getAlignVertical();e.direction=this.getTextDirection(this.pp);return b+=this.insertAttributes(a,e)};c.prototype.getTextCharFormated=function(a){var b="color:"+this.getTextColor(this.cp)+";",e="font-size:"+parseFloat(this.getTextSize(this.cp))+"px;",f="font-family:"+this.getTextFont(this.cp)+";",k="direction:"+this.getRtlText(this.cp)+";",n="letter-spacing:"+parseFloat(this.getLetterSpace(this.cp))/.71+"px;",q="line-height:"+this.getSpcLine(this.pp),t=";opacity:"+this.getTextOpacity(this.cp),-z=this.getTextPos(this.cp),D=this.getTextCase(this.cp);(function(L,T){return L&&L.equals?L.equals(T):L===T})(D,"1")?a=a.toUpperCase():function(L,T){return L&&L.equals?L.equals(T):L===T}(D,"2")&&(a=g.mxgraph.io.vsdx.mxVsdxUtils.toInitialCapital(a));(function(L,T){return L&&L.equals?L.equals(T):L===T})(z,"1")?a=g.mxgraph.io.vsdx.mxVsdxUtils.surroundByTags(a,"sup"):function(L,T){return L&&L.equals?L.equals(T):L===T}(z,"2")&&(a=g.mxgraph.io.vsdx.mxVsdxUtils.surroundByTags(a,"sub"));a=this.isBold(this.cp)?-g.mxgraph.io.vsdx.mxVsdxUtils.surroundByTags(a,"b"):a;a=this.isItalic(this.cp)?g.mxgraph.io.vsdx.mxVsdxUtils.surroundByTags(a,"i"):a;a=this.isUnderline(this.cp)?g.mxgraph.io.vsdx.mxVsdxUtils.surroundByTags(a,"u"):a;a=this.getTextStrike(this.cp)?g.mxgraph.io.vsdx.mxVsdxUtils.surroundByTags(a,"s"):a;a=this.isSmallCaps(this.cp)?g.mxgraph.io.vsdx.mxVsdxUtils.toSmallCaps(a,this.getTextSize(this.cp)):a;return'<font style="'+e+f+b+k+n+q+t+'">'+a+"</font>"};c.prototype.getTextDirection=function(a){a=this.getFlags(a);-(function(b,e){return b&&b.equals?b.equals(e):b===e})(a,"0")?a="ltr":function(b,e){return b&&b.equals?b.equals(e):b===e}(a,"1")&&(a="rtl");return a};c.prototype.getSpcLine=function(a){var b=!1;a=this.getSpLine(a);0<a?a*=g.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$():(a=0===a?100:100*Math.abs(a),b=!0);return(new String(a)).toString()+(b?"%":"px")};c.prototype.getSpcBefore=function(a){return this.getSpBefore(a)};c.prototype.insertAttributes=function(a,b){if(-1!=a.indexOf(">")){var e=a.indexOf(">"),-f=a.substring(e);a=a.substring(0,e);b=' style="'+g.mxgraph.io.vsdx.mxVsdxUtils.getStyleString(b,":")+'"';return a+b+f}return a};c.prototype.getRtlText=function(a){a=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(g.mxgraph.io.vsdx.mxVsdxConstants.RTL_TEXT,a,g.mxgraph.io.vsdx.mxVsdxConstants.PARAGRAPH);a=this.getValue(a,"ltr");(function(b,e){return b&&b.equals?b.equals(e):b===e})(a,"0")?a="ltr":function(b,e){return b&&b.equals?b.equals(e):b===e}(a,"1")&&(a="rtl");return a};c.prototype.isBold=-function(a){var b=!1;a=this.getTextStyle(a);(function(e,f){return e&&e.equals?e.equals(f):e===f})(a,"")||function(e,f){return e&&e.equals?e.equals(f):e===f}(a.toLowerCase(),"themed")||(b=1===(parseInt(a)&1));return b};c.prototype.isItalic=function(a){var b=!1;a=this.getTextStyle(a);(function(e,f){return e&&e.equals?e.equals(f):e===f})(a,"")||function(e,f){return e&&e.equals?e.equals(f):e===f}(a.toLowerCase(),"themed")||(b=2===(parseInt(a)&2));return b};c.prototype.isUnderline=function(a){var b=!1;-a=this.getTextStyle(a);(function(e,f){return e&&e.equals?e.equals(f):e===f})(a,"")||function(e,f){return e&&e.equals?e.equals(f):e===f}(a.toLowerCase(),"themed")||(b=4===(parseInt(a)&4));return b};c.prototype.isSmallCaps=function(a){var b=!1;a=this.getTextStyle(a);(function(e,f){return e&&e.equals?e.equals(f):e===f})(a,"")||function(e,f){return e&&e.equals?e.equals(f):e===f}(a.toLowerCase(),"themed")||(b=8===(parseInt(a)&8));return b};c.prototype.getTextOpacity=function(a){a=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(g.mxgraph.io.vsdx.mxVsdxConstants.COLOR_TRANS,+z.equals?z.equals(D):z===D}(k,"MetaFile"))n="png";else if(function(z,D){return z&&z.equals?z.equals(D):z===D}(k,"Enhanced Metafile")||function(z,D){return z&&z.equals?z.equals(D):z===D}(k,"EnhMetaFile"))n="png";else if("Object"==k)if(q=e(a,f),n=b.getRelationship("rId1","visio/embeddings/_rels/"+q.target+".rels"),null!=n){q=n.getAttribute("Target");k=n.getAttribute("Type");try{var t=q.lastIndexOf("/");q=q.substring(t+1,q.length)}catch(z){return}n="png";q={type:k,target:q}}else return;else return;null==+q&&(q=e(a,f));k=q.type;q=q.target;null!=k&&function(z,D){var L=z.length-D.length;z=z.indexOf(D,L);return-1!==z&&z===L}(k,"image")&&(this.imageData={},(a=b.getMedia(g.mxgraph.io.mxVsdxCodec.vsdxPlaceholder+"/media/"+q))?(this.imageData.iData=a,function(z,D){var L=z.length-D.length;z=z.indexOf(D,L);return-1!==z&&z===L}(q.toLowerCase(),".bmp")&&(n="jpg"),this.imageData.iType=n):(this.imageData.iData=c.ERROR_IMAGE,this.imageData.iType="svg+xml"))}else(function(z,D){return z&&z.equals?z.equals(D):z===+D})(e,g.mxgraph.io.vsdx.mxVsdxConstants.TEXT)&&(this.text=a)};c.prototype.parseSection=function(a){var b=a.getAttribute("N");if(function(L,T){return L&&L.equals?L.equals(T):L===T}(b,"Geometry"))null==this.geom&&(this.geom=[]),this.geom.push(a);else if(function(L,T){return L&&L.equals?L.equals(T):L===T}(b,"Field")){a=g.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(a,"Row");for(var e=0;e<a.length;e++){b=a[e];var f=b.getAttribute("IX")||"";if(0!==f.length)if(null==this.fields&&(this.fields=+{}),function(L,T){return L&&L.equals?L.equals(T):L===T}("1",b.getAttribute("Del")))this.fields[f]="";else{for(var k=g.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(b,"Cell"),n="",q="",t=0;t<k.length;t++){var z=k[t];b=z.getAttribute("N");z=z.getAttribute("V")||z.textContent||"";switch(b){case "Value":n=z;break;case "Format":q=z}}if("esc(0)"==q)this.fields[f]=n;else if(0!==n.length){try{var D=isNaN(n)?new Date(n):new Date(c.VSDX_START_TIME+Math.floor(864E5*parseFloat(n)));q="c"==q?0==D.getHours()++D.getMinutes()+D.getSeconds()+D.getMilliseconds()?"m/d/yyyy":"m/d/yyyy h:MM:ss tt":"ddddd"==q?"m/d/yyyy":"dddddd"==q?"dddd, mmmm dd, yyyy":"C"==q?"dddd, mmmm dd, yyyy h:MM:ss tt":"T"==q?"h:MM:ss tt":q.replace(/am\/pm/g,"tt").replace(/m/g,"@").replace(/M/g,"m").replace(/@/g,"M");n=Graph.prototype.formatDate(D,"UTC:"+q.replace(RegExp("\\{|\\}","g"),""))}catch(L){}this.fields[f]=n}}}}else h.prototype.parseSection.call(this,a)};c.prototype.parseGeom=function(){return this.hasGeomList()?this.geomList.getShapeXML(this):+""};c.prototype.getText=function(){return null!=this.text?this.text.textContent:null};c.prototype.getTextChildren=function(){return null!=this.text?this.text.childNodes:null};c.prototype.getWidth=function(){if(1>this.width&&null!=this.childShapes)try{for(var a=0;a<this.childShapes.entries.length;a++)this.width=Math.max(this.childShapes.entries[a].value.width,this.width)}catch(b){}return 0===this.width&&0<this.height?1:this.width};c.prototype.getHeight=function(){if(1>this.height&&null!=this.childShapes)try{for(var a=+0;a<this.childShapes.entries.length;a++)this.height=Math.max(this.childShapes.entries[a].value.height,this.height)}catch(b){}return 0===this.height&&0<this.width?1:this.height};c.prototype.getRotation=function(){return this.rotation};c.prototype.getStyleMap=function(){return this.styleMap};c.prototype.hasGeom=function(){return!(null==this.geom||0==this.geom.length)};c.prototype.hasGeomList=function(){return null!=this.geomList&&this.geomList.hasGeom()};c.prototype.getPPList=function(a){var b=null;+""!=a&&(a=this.getBullet(a),"0"!=a&&(b='<ul style="margin: 0;list-style-type: '+("4"==a?"square":"disc")+'">'));return b};c.prototype.getTextParagraphFormated=function(a){var b="",e={};e["text-align"]=this.getHorizontalAlign(this.pp,!0);e["margin-left"]=this.getIndentLeft(this.pp);e["margin-right"]=this.getIndentRight(this.pp);e["margin-top"]=this.getSpBefore(this.pp)+"px";e["margin-bottom"]=this.getSpAfter(this.pp)+"px";e["text-indent"]=this.getIndentFirst(this.pp);e["vertical-align"]=this.getAlignVertical();+e.direction=this.getTextDirection(this.pp);return b+=this.insertAttributes(a,e)};c.prototype.getTextCharFormated=function(a){var b="color:"+this.getTextColor(this.cp)+";",e="font-size:"+parseFloat(this.getTextSize(this.cp))+"px;",f="font-family:"+this.getTextFont(this.cp)+";",k="direction:"+this.getRtlText(this.cp)+";",n="letter-spacing:"+parseFloat(this.getLetterSpace(this.cp))/.71+"px;",q="line-height:"+this.getSpcLine(this.pp),t=";opacity:"+this.getTextOpacity(this.cp),z=this.getTextPos(this.cp),+D=this.getTextCase(this.cp);(function(L,T){return L&&L.equals?L.equals(T):L===T})(D,"1")?a=a.toUpperCase():function(L,T){return L&&L.equals?L.equals(T):L===T}(D,"2")&&(a=g.mxgraph.io.vsdx.mxVsdxUtils.toInitialCapital(a));(function(L,T){return L&&L.equals?L.equals(T):L===T})(z,"1")?a=g.mxgraph.io.vsdx.mxVsdxUtils.surroundByTags(a,"sup"):function(L,T){return L&&L.equals?L.equals(T):L===T}(z,"2")&&(a=g.mxgraph.io.vsdx.mxVsdxUtils.surroundByTags(a,"sub"));a=this.isBold(this.cp)?g.mxgraph.io.vsdx.mxVsdxUtils.surroundByTags(a,+"b"):a;a=this.isItalic(this.cp)?g.mxgraph.io.vsdx.mxVsdxUtils.surroundByTags(a,"i"):a;a=this.isUnderline(this.cp)?g.mxgraph.io.vsdx.mxVsdxUtils.surroundByTags(a,"u"):a;a=this.getTextStrike(this.cp)?g.mxgraph.io.vsdx.mxVsdxUtils.surroundByTags(a,"s"):a;a=this.isSmallCaps(this.cp)?g.mxgraph.io.vsdx.mxVsdxUtils.toSmallCaps(a,this.getTextSize(this.cp)):a;return'<font style="'+e+f+b+k+n+q+t+'">'+a+"</font>"};c.prototype.getTextDirection=function(a){a=this.getFlags(a);(function(b,e){return b&&b.equals?+b.equals(e):b===e})(a,"0")?a="ltr":function(b,e){return b&&b.equals?b.equals(e):b===e}(a,"1")&&(a="rtl");return a};c.prototype.getSpcLine=function(a){var b=!1;a=this.getSpLine(a);0<a?a*=g.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$():(a=0===a?100:100*Math.abs(a),b=!0);return(new String(a)).toString()+(b?"%":"px")};c.prototype.getSpcBefore=function(a){return this.getSpBefore(a)};c.prototype.insertAttributes=function(a,b){if(-1!=a.indexOf(">")){var e=a.indexOf(">"),f=a.substring(e);a=a.substring(0,+e);b=' style="'+g.mxgraph.io.vsdx.mxVsdxUtils.getStyleString(b,":")+'"';return a+b+f}return a};c.prototype.getRtlText=function(a){a=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(g.mxgraph.io.vsdx.mxVsdxConstants.RTL_TEXT,a,g.mxgraph.io.vsdx.mxVsdxConstants.PARAGRAPH);a=this.getValue(a,"ltr");(function(b,e){return b&&b.equals?b.equals(e):b===e})(a,"0")?a="ltr":function(b,e){return b&&b.equals?b.equals(e):b===e}(a,"1")&&(a="rtl");return a};c.prototype.isBold=function(a){var b=+!1;a=this.getTextStyle(a);(function(e,f){return e&&e.equals?e.equals(f):e===f})(a,"")||function(e,f){return e&&e.equals?e.equals(f):e===f}(a.toLowerCase(),"themed")||(b=1===(parseInt(a)&1));return b};c.prototype.isItalic=function(a){var b=!1;a=this.getTextStyle(a);(function(e,f){return e&&e.equals?e.equals(f):e===f})(a,"")||function(e,f){return e&&e.equals?e.equals(f):e===f}(a.toLowerCase(),"themed")||(b=2===(parseInt(a)&2));return b};c.prototype.isUnderline=function(a){var b=!1;a=this.getTextStyle(a);+(function(e,f){return e&&e.equals?e.equals(f):e===f})(a,"")||function(e,f){return e&&e.equals?e.equals(f):e===f}(a.toLowerCase(),"themed")||(b=4===(parseInt(a)&4));return b};c.prototype.isSmallCaps=function(a){var b=!1;a=this.getTextStyle(a);(function(e,f){return e&&e.equals?e.equals(f):e===f})(a,"")||function(e,f){return e&&e.equals?e.equals(f):e===f}(a.toLowerCase(),"themed")||(b=8===(parseInt(a)&8));return b};c.prototype.getTextOpacity=function(a){a=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(g.mxgraph.io.vsdx.mxVsdxConstants.COLOR_TRANS,a,g.mxgraph.io.vsdx.mxVsdxConstants.CHARACTER);a=this.getValue(a,"0");var b="1";null!=a&&0!==a.length&&(a=1-parseFloat(a),b=(new String(a)).toString());return b};c.prototype.getTextSize=function(a){a=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(g.mxgraph.io.vsdx.mxVsdxConstants.SIZE,a,g.mxgraph.io.vsdx.mxVsdxConstants.CHARACTER);a=this.getScreenNumericalValue$org_w3c_dom_Element$double(a,12);return""+Math.round(100*a)/100};c.prototype.getAlignVertical=function(){var a=mxConstants.ALIGN_MIDDLE,b=parseInt(this.getValue(this.getCellElement$java_lang_String(g.mxgraph.io.vsdx.mxVsdxConstants.VERTICAL_ALIGN),"1"));0===b?a=mxConstants.ALIGN_TOP:2===b&&(a=mxConstants.ALIGN_BOTTOM);return a};c.prototype.getGeomList=function(){return this.geomList};c.prototype.getLastX=function(){return this.lastX};c.prototype.getLastY=function(){return this.lastY};c.prototype.getLastMoveX=function(){return this.lastMoveX};c.prototype.getLastMoveY=function(){return this.lastMoveY};c.prototype.getLastKnot=function(){return this.lastKnot};c.prototype.setLastX=function(a){this.lastX=a};c.prototype.setLastY=function(a){this.lastY=a};c.prototype.setLastMoveX=function(a){this.lastMoveX=a};c.prototype.setLastMoveY=function(a){this.lastMoveY=a};c.prototype.setLastKnot=function(a){this.lastKnot=a};c.prototype.getConnections=function(){var a=[];if(this.sections&&this.sections.Connection)for(var b=this.getHeight(),e=this.getWidth(),f=g.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(this.sections.Connection.elem,"Row"),k=0;k<f.length;k++){for(var n=diff --git a/src/main/webapp/js/viewer-static.min.js b/src/main/webapp/js/viewer-static.min.jsindex 311d6b3af..0f989bec2 100644--- a/src/main/webapp/js/viewer-static.min.js+++ b/src/main/webapp/js/viewer-static.min.js@@ -30,7 +30,7 @@ b),-1!==c&&c===b&&(window.DRAWIO_LOG_URL="https://log.draw.io"))}})();"1"==urlPa"se.diagrams.net"==window.location.hostname&&(urlParams.db="0",urlParams.od="0",urlParams.gh="0",urlParams.gl="0",urlParams.tr="0",urlParams.plugins="0",urlParams.mode="google",urlParams.lockdown="1",window.DRAWIO_GOOGLE_APP_ID=window.DRAWIO_GOOGLE_APP_ID||"184079235871",window.DRAWIO_GOOGLE_CLIENT_ID=window.DRAWIO_GOOGLE_CLIENT_ID||"184079235871-pjf5nn0lff27lk8qf0770gmffiv9gt61.apps.googleusercontent.com");"trello"==urlParams.mode&&(urlParams.tr="1");"embed.diagrams.net"==window.location.hostname&&(urlParams.embed="1");(null==window.location.hash||1>=window.location.hash.length)&&null!=urlParams.open&&(window.location.hash=urlParams.open);"function"!==typeof window.structuredClone&&(window.structuredClone=function(a){return a});window.urlParams=window.urlParams||{};window.DOM_PURIFY_CONFIG=window.DOM_PURIFY_CONFIG||{ADD_TAGS:["use","foreignObject"],FORBID_TAGS:["form"],ALLOWED_URI_REGEXP:/^((?!javascript:).)*$/i,HTML_INTEGRATION_POINTS:{foreignobject:!0},ADD_ATTR:["target","content","pointer-events","requiredFeatures"]};window.MAX_REQUEST_SIZE=window.MAX_REQUEST_SIZE||10485760;window.MAX_AREA=window.MAX_AREA||225E6;window.EXPORT_URL=window.EXPORT_URL||"/export";window.SAVE_URL=window.SAVE_URL||"/save";window.OPEN_URL=window.OPEN_URL||"/open";window.RESOURCES_PATH=window.RESOURCES_PATH||"resources";window.RESOURCE_BASE=window.RESOURCE_BASE||window.RESOURCES_PATH+"/grapheditor";window.STENCIL_PATH=window.STENCIL_PATH||"stencils";window.IMAGE_PATH=window.IMAGE_PATH||"images";window.STYLE_PATH=window.STYLE_PATH||"styles";window.CSS_PATH=window.CSS_PATH||"styles";window.OPEN_FORM=window.OPEN_FORM||"open.html";window.mxBasePath=window.mxBasePath||"mxgraph";-window.mxImageBasePath=window.mxImageBasePath||"mxgraph/images";window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"29.3.5",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),+window.mxImageBasePath=window.mxImageBasePath||"mxgraph/images";window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"29.3.6",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),IS_OP:null!=navigator.userAgent&&(0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/")),IS_OT:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&0>navigator.userAgent.indexOf("Presto/2.2.")&&0>navigator.userAgent.indexOf("Presto/2.1.")&&0>navigator.userAgent.indexOf("Presto/2.0.")&&0>navigator.userAgent.indexOf("Presto/1."),IS_SF:/Apple Computer, Inc/.test(navigator.vendor),IS_ANDROID:0<=navigator.appVersion.indexOf("Android"),IS_IOS:/iP(hone|od|ad)/.test(navigator.platform)||navigator.userAgent.match(/Mac/)&&navigator.maxTouchPoints&&2<navigator.maxTouchPoints,IS_WEBVIEW:/((iPhone|iPod|iPad).*AppleWebKit(?!.*Version)|; wv)/i.test(navigator.userAgent),IS_GC:/Google Inc/.test(navigator.vendor),IS_CHROMEAPP:null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime,IS_FF:-1<navigator.userAgent.toLowerCase().indexOf("firefox"),IS_MT:0<=navigator.userAgent.indexOf("Firefox/")&&0>navigator.userAgent.indexOf("Firefox/1.")&&0>navigator.userAgent.indexOf("Firefox/2.")||0<=navigator.userAgent.indexOf("Iceweasel/")&&0>navigator.userAgent.indexOf("Iceweasel/1.")&&0>navigator.userAgent.indexOf("Iceweasel/2.")||0<=navigator.userAgent.indexOf("SeaMonkey/")&&0>navigator.userAgent.indexOf("SeaMonkey/1.")||0<=navigator.userAgent.indexOf("Iceape/")&&0>navigator.userAgent.indexOf("Iceape/1."),IS_SVG:"MICROSOFT INTERNET EXPLORER"!=navigator.appName.toUpperCase(),NO_FO:!document.createElementNS||@@ -3523,7 +3523,7 @@ mxEvent.addListener(y,"click",function(ua){pa.checked=!0;mxEvent.consume(ua)}));(Y.classList.add("geDarkMode"),Y.style.colorScheme="dark"):(Y.classList.remove("geDarkMode"),Y.style.colorScheme="light")};k.addListener("darkModeChanged",va);va();var ra=function(ua,La){ua=La.getProperty("dialog");Y.parentNode==ua.container&&(k.editor.removeListener(ra),k.removeListener(va))};k.editor.addListener("hideDialog",ra)}this.container=Y};var V=ChangePageSetup.prototype.execute;ChangePageSetup.prototype.execute=function(){null==this.page&&(this.page=this.ui.currentPage);if(this.page!=this.ui.currentPage){if(null!=this.page.viewState){this.ignoreColor||(this.page.viewState.background=this.color);if(!this.ignoreImage){var k=this.image;null!=k&&null!=k.src&&Graph.isPageLink(k.src)&&(k={originalSrc:k.src});this.page.viewState.backgroundImage=k}null!=this.format&&(this.page.viewState.pageFormat=this.format);null!=this.mathEnabled&&(this.page.viewState.mathEnabled=this.mathEnabled);null!=this.adaptiveColors&&(this.page.viewState.adaptiveColors=this.adaptiveColors);null!=this.shadowVisible&&(this.page.viewState.shadowVisible=this.shadowVisible)}}else V.apply(this,arguments),null!=this.mathEnabled&&this.mathEnabled!=this.ui.isMathEnabled()&&(this.ui.setMathEnabled(this.mathEnabled),this.mathEnabled=!this.mathEnabled),null!=this.adaptiveColors&&this.adaptiveColors!=this.ui.editor.graph.adaptiveColors&&(k=this.ui.editor.graph.adaptiveColors,this.ui.setAdaptiveColors(this.adaptiveColors),this.adaptiveColors=null!=k?k:"default"),null!=this.shadowVisible&&this.shadowVisible!=this.ui.editor.graph.shadowVisible&&(this.ui.editor.graph.setShadowVisible(this.shadowVisible),-this.shadowVisible=!this.shadowVisible)}})();(function(){EditorUi.VERSION="29.3.5";EditorUi.compactUi="atlas"!=Editor.currentTheme||window.DRAWIO_PUBLIC_BUILD;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname)||/.*\.cdn\.prod\.atlassian-dev\.net$/.test(window.location.hostname))&&"https://preprod.diagrams.net/"!=window.location.hostname&&+this.shadowVisible=!this.shadowVisible)}})();(function(){EditorUi.VERSION="29.3.6";EditorUi.compactUi="atlas"!=Editor.currentTheme||window.DRAWIO_PUBLIC_BUILD;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname)||/.*\.cdn\.prod\.atlassian-dev\.net$/.test(window.location.hostname))&&"https://preprod.diagrams.net/"!=window.location.hostname&&"support.draw.io"!=window.location.hostname&&"test.draw.io"!=window.location.hostname;EditorUi.drawHost=window.DRAWIO_BASE_URL;EditorUi.lightboxHost=window.DRAWIO_LIGHTBOX_URL;EditorUi.lastErrorMessage=null;EditorUi.ignoredAnonymizedChars="\n\t`~!@#$%^&*()_+{}|:\"<>?-=[];'./,\n\t";EditorUi.templateFile=TEMPLATE_PATH+"/index.xml";EditorUi.cacheUrl=window.REALTIME_URL;null==EditorUi.cacheUrl&&"undefined"!==typeof DrawioFile&&(DrawioFile.SYNC="none");Editor.cacheTimeout=1E4;EditorUi.enablePlantUml=EditorUi.enableLogging||"1"==urlParams.dev;EditorUi.isElectronApp=null!=window&&null!=window.process&&null!=window.process.versions&&null!=window.process.versions.electron;EditorUi.nativeFileSupport=!mxClient.IS_OP&&!EditorUi.isElectronApp&&"1"!=urlParams.extAuth&&"showSaveFilePicker"in window&&"showOpenFilePicker"in window;EditorUi.enableDrafts=!mxClient.IS_CHROMEAPP&&isLocalStorage&&"0"!=urlParams.drafts;EditorUi.scratchpadHelpLink="https://www.drawio.com/doc/faq/scratchpad";EditorUi.enableHtmlEditOption=!0;EditorUi.mermaidDiagramTypes="flowchart classDiagram sequenceDiagram stateDiagram mindmap graph erDiagram requirementDiagram journey gantt pie gitGraph".split(" ");EditorUi.defaultMermaidConfig={theme:"neutral",arrowMarkerAbsolute:!1,sequence:{diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,mirrorActors:!0,bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,showSequenceNumbers:!1},gantt:{useWidth:1E3,useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,@@ -4236,7 +4236,7 @@ n.updateTabContainer=function(){Z.apply(this,arguments);n.tabContainer.appendChivar la=n.actions.get("zoomIn"),ca=n.actions.get("zoomOut");l=n.actions.get("resetView");var ka=n.actions.get("undo"),ea=n.actions.get("redo"),V=O("",ka.funct,null,"",ka,Editor.undoImage),k=O("",ea.funct,null,"",ea,Editor.redoImage),y=O("",function(K){mxEvent.isAltDown(K)?(n.hideCurrentMenu(),n.actions.get("customZoom").funct()):(n.hideCurrentMenu(),n.actions.get("smartFit").funct());mxEvent.consume(K)},!0,"",l,Editor.zoomFitImage);n.actions.get("toggleShapes").funct=mxUtils.bind(this,function(){f(n,null)});n.container.appendChild(n.tabContainer);n.container.appendChild(F);n.updateTabContainer();!EditorUi.windowed&&1E3<=m&&b(this,!0);g();n.addListener("lockedChanged",g);n.addListener("languageChanged",g);n.editor.graph.addListener("enabledChanged",g);mxEvent.addListener(window,"resize",function(){g();null!=n.sidebarWindow&&n.sidebarWindow.window.fit();null!=n.formatWindow&&n.formatWindow.window.fit();null!=n.actions.outlineWindow&&n.actions.outlineWindow.window.fit();null!=n.actions.layersWindow&&n.actions.layersWindow.window.fit();null!=n.menus.chatWindow&&n.menus.chatWindow.window.fit();null!=n.menus.tagsWindow&&n.menus.tagsWindow.window.fit();null!=n.menus.findWindow&&n.menus.findWindow.window.fit();null!=n.menus.findReplaceWindow&&n.menus.findReplaceWindow.window.fit()})}}};-(function(){var b=!1;"min"!=uiTheme||b||mxClient.IS_CHROMEAPP||(EditorUi.initMinimalTheme(),b=!0);var f=EditorUi.initTheme;EditorUi.initTheme=function(){f.apply(this,arguments);"min"!=uiTheme||b||(this.initMinimalTheme(),b=!0)}})();DrawioComment=function(b,f,m,t,x,q,C){this.file=b;this.id=f;this.content=m;this.modifiedDate=t;this.createdDate=x;this.isResolved=q;this.user=C;this.replies=[]};DrawioComment.prototype.addReplyDirect=function(b){null!=b&&this.replies.push(b)};DrawioComment.prototype.addReply=function(b,f,m,t,x){f()};DrawioComment.prototype.editComment=function(b,f,m){f()};DrawioComment.prototype.deleteComment=function(b,f){b()};DrawioUser=function(b,f,m,t,x){this.id=b;this.email=f;this.displayName=m;this.pictureUrl=t;this.locale=x};mxResources.parse('# *DO NOT DIRECTLY EDIT THIS FILE, IT IS AUTOMATICALLY GENERATED AND IT IS BASED ON:*\n# https://docs.google.com/spreadsheet/ccc?key=0AmQEO36liL4FdDJLWVNMaVV2UmRKSnpXU09MYkdGbEE\nabout=About\naboutDrawio=About draw.io\naccessDenied=Access Denied\naccounts=Accounts\naction=Action\nactualSize=Actual Size\nadaptiveColors=Adaptive Colors\nadd=Add\naddAccount=Add account\naddedFile=Added {1}\naddImages=Add Images\naddImageUrl=Add Image URL\naddLayer=Add Layer\naddProperty=Add Property\naddress=Address\naddToExistingDrawing=Add to Existing Drawing\naddToScratchpad=Add to Scratchpad\naddWaypoint=Add Waypoint\nadjustTo=Adjust to\nadvanced=Advanced\nsmartTemplate=Smart Template\nalign=Align\nalignment=Alignment\nallChangesLost=All changes will be lost!\nallPages=All Pages\nallProjects=All Projects\nallSelectedObjectsInThisLayer=All selected objects are in this layer\nallSpaces=All Spaces\nallTags=All Tags\nanchor=Anchor\nandroid=Android\nangle=Angle\nanimations=Animations\narc=Arc\nareYouSure=Are you sure?\nensureDataSaved=Please ensure your data is saved before closing.\nallChangesSaved=All changes saved\nallChangesSavedInDrive=All changes saved in Drive\nallowPopups=Allow pop-ups to avoid this dialog.\nallowRelativeUrl=Allow relative URL\nalreadyConnected=Nodes already connected\nappearance=Appearance\napply=Apply\narchiMate21=ArchiMate 2.1\narrange=Arrange\narrow=Arrow\narrows=Arrows\naskMeAnything=Ask me anything\nasNew=As New\natlas=Atlas\nauthor=Author\nauthorizationRequired=Authorization required\nauthorizeThisAppIn=Authorize this app in {1}:\nauthorize=Authorize\nauthorizing=Authorizing\nautomatic=Automatic\nautosave=Autosave\nautosize=Autosize\nattachments=Attachments\naws=AWS\naws3d=AWS 3D\nazure=Azure\nback=Back\nbackground=Background\nbackgroundColor=Background Color\nbackgroundImage=Background Image\nbasic=Basic\nbeta=beta\nblankDrawing=Blank Drawing\nblankDiagram=Blank Diagram\nblock=Block\nblockquote=Blockquote\nblog=Blog\nbold=Bold\nbootstrap=Bootstrap\nborder=Border\nborderColor=Border Color\nborderWidth=Border Width\nbottom=Bottom\nbottomAlign=Bottom Align\nbottomLeft=Bottom Left\nbottomRight=Bottom Right\nbpmn=BPMN\nbringForward=Bring Forward\nbrowser=Browser\nbulletedList=Bulleted List\nbusiness=Business\nbusy=Operation in progress\ncabinets=Cabinets\ncancel=Cancel\ncenter=Center\ncannotLoad=Load attempts failed. Please try again later.\ncannotLogin=Log in attempts failed. Please try again later.\ncannotOpenFile=Cannot open file\nchange=Change\nchangeOrientation=Change Orientation\nchangeUser=Change user\nchangeStorage=Change storage\nchangesNotSaved=Changes have not been saved\nclassDiagram=Class Diagram\nuserJoined={1} has joined\nuserLeft={1} has left\nchatWindowTitle=Chat\nchooseAnOption=Choose an option\nchromeApp=Chrome App\ncollaborativeEditingNotice=Important Notice for Collaborative Editing\ncompare=Compare\ncompressed=Compressed\ncommitMessage=Commit Message\nconfigLinkWarn=This link configures draw.io. Only click OK if you trust whoever gave you it!\nconfigLinkConfirm=Click OK to configure and restart draw.io.\ncontainer=Container\ncsv=CSV\ncurrentLayer=Current Layer\ndark=Dark\ndiagramLanguage=Diagram Language\ndiagramType=Diagram type\ndiagramXmlDesc=XML File\ndiagramHtmlDesc=HTML File\ndiagramPngDesc=Editable Bitmap Image\ndiagramSvgDesc=Editable Vector Image\ndidYouMeanToExportToPdf=Did you mean to export to PDF?\ndisabled=Disabled\ndraftFound=A draft for \'{1}\' has been found. Load it into the editor or discard it to continue.\ndraftRevisionMismatch=There is a different version of this diagram on a shared draft of this page. Please edit the diagram from the draft to ensure you are working with the latest version.\nselectDraft=Select a draft to continue editing:\ndragAndDropNotSupported=Drag and drop not supported for images. Would you like to import instead?\ndropboxCharsNotAllowed=The following characters are not allowed: / : ? * " |\ncheck=Check\nchecksum=Checksum\ncircle=Circle\ncisco=Cisco\nclassic=Classic\nclearDefaultStyle=Clear Default Style\nclearWaypoints=Clear Waypoints\nclipart=Clipart\nclose=Close\nclosingFile=Closing file\nrealtimeCollaboration=Real-Time Collaboration\ncollaborate=Collaborate\ncollaborator=Collaborator\ncollaborators=Collaborators\ncollapse=Collapse\ncollapseExpand=Collapse/Expand\ncollapse-expand=Click to collapse/expand\nShift-click to move neighbors \nAlt-click to protect group size\ncollapsible=Collapsible\ncomic=Comic\ncomment=Comment\ncommentsNotes=Comments/Notes\ncompress=Compress\nconfiguration=Configuration\nconnect=Connect\nconnecting=Connecting\nconnectWithDrive=Connect with Google Drive\nconnection=Connection\nconnectionArrows=Connection Arrows\nconnectionPoints=Connection Points\nconstrainProportions=Constrain Proportions\ncontainsValidationErrors=Contains validation errors\ncopiedToClipboard=Copied to clipboard\ncopy=Copy\ncopyConnect=Copy on Connect\ncopyCreated=A copy of the file was created.\ncopyData=Copy Data\ncopyOf=Copy of {1}\ncopyOfDrawing=Copy of Drawing\ncopySize=Copy Size\ncopyStyle=Copy Style\ncreate=Create\ncreateBlankDiagram=Create Blank Diagram\ncreateNewDiagram=Create New Diagram\ncreateRevision=Create Revision\ncreateShape=Create Shape\ncrop=Crop\ncurved=Curved\ncustom=Custom\ncurrent=Current\ncurrentPage=Current page\ncut=Cut\ndashed=Dashed\ndecideLater=Decide later\ndefault=Default\ndelete=Delete\ndeleteAll=Delete all\ndeleteColumn=Delete column\ndeleteLibrary401=Insufficient permissions to delete this library\ndeleteLibrary404=Selected library could not be found\ndeleteLibrary500=Error deleting library\ndeleteLibraryConfirm=You are about to permanently delete this library. Are you sure you want to do this?\ndeleteRow=Delete Row\ndescription=Description\ndescribeYourDiagram=Describe your diagram\ndevice=Device\ndiagram=Diagram\ndiagramContent=Diagram Content\ndiagramLocked=Diagram has been locked to prevent further data loss.\ndiagramLockedBySince=The diagram is locked by {1} since {2} ago\ndiagramName=Diagram Name\ndiagramIsPublic=Diagram is public\ndiagramIsNotPublic=Diagram is not public\ndiamond=Diamond\ndiamondThin=Diamond (thin)\ndidYouKnow=Did you know...\ndirection=Direction\ndiscard=Discard\ndiscardChangesAndReconnect=Discard Changes and Reconnect\ngoogleDriveMissingClickHere=Google Drive missing? Click here!\ndiscardChanges=Discard Changes\ndisconnected=Disconnected\ndistribute=Distribute\ndone=Done\ndoNotShowAgain=Do not show again\ndotted=Dotted\ndoubleClickOrientation=Doubleclick to change orientation\ndoubleClickTooltip=Doubleclick to insert text\ndoubleClickChangeProperty=Doubleclick to change property name\ndownload=Download\ndownloadDesktop=Get Desktop\ndownloadAs=Download as\nclickHereToSave=Click here to save.\ndpi=DPI\ndraftDiscarded=Draft discarded\ndraftSaved=Draft saved\ndragElementsHere=Drag elements here\ndragImagesHere=Drag images or URLs here\ndragUrlsHere=Drag URLs here\ndraw.io=draw.io\ndrawing=Drawing{1}\ndrawingEmpty=Drawing is empty\ndrawingTooLarge=Drawing is too large\ndrawioForWork=Draw.io for GSuite\ndropbox=Dropbox\nduplicate=Duplicate\nduplicateIt=Duplicate {1}\ndivider=Divider\ndx=Dx\ndy=Dy\neast=East\nedit=Edit\neditData=Edit Data\neditDiagram=Edit Diagram\neditGeometry=Edit Geometry\neditImage=Edit Image\neditImageUrl=Edit Image URL\neditLink=Edit Link\neditShape=Edit Shape\neditStyle=Edit Style\neditText=Edit Text\neditTooltip=Edit Tooltip\nglass=Glass\ngoogleImages=Google Images\nimageSearch=Image Search\neip=EIP\nembed=Embed\nembedFonts=Embed Fonts\nembedImages=Embed Images\nmainEmbedNotice=Paste this into the page\nelectrical=Electrical\nellipse=Ellipse\nembedNotice=Paste this once at the end of the page\nenterGroup=Enter Group\nenterName=Enter Name\nenterPropertyName=Enter Property Name\nenterValue=Enter Value\nentityRelation=Entity Relation\nentityRelationshipDiagram=Entity Relationship Diagram\nerror=Error\nerrorDeletingFile=Error deleting file\nerrorLoadingFile=Error loading file\nerrorRenamingFile=Error renaming file\nerrorRenamingFileNotFound=Error renaming file. File was not found.\nerrorRenamingFileForbidden=Error renaming file. Insufficient access rights.\nerrorSavingDraft=Error saving draft\nerrorSavingFile=Error saving file\nerrorSavingFileUnknown=Error authorizing with Google\'s servers. Please refresh the page to re-attempt.\nerrorSavingFileForbidden=Error saving file. Insufficient access rights.\nerrorSavingFileNameConflict=Could not save diagram. Current page already contains file named \'{1}\'.\nerrorSavingFileNotFound=Error saving file. File was not found.\nerrorSavingFileReadOnlyMode=Could not save diagram while read-only mode is active.\nerrorSavingFileSessionTimeout=Your session has ended. Please <a target=\'_blank\' href=\'{1}\'>{2}</a> and return to this tab to try to save again.\nerrorSendingFeedback=Error sending feedback.\nerrorUpdatingPreview=Error updating preview.\nexit=Exit\nexitGroup=Exit Group\nexpand=Expand\nexplore=Explore\nexport=Export\nexporting=Exporting\nexportAs=Export as\nexportOptionsDisabled=Export options disabled\nexportOptionsDisabledDetails=The owner has disabled options to download, print or copy for commenters and viewers on this file.\nexternalChanges=External Changes\nextras=Extras\nfailedToSaveTryReconnect=Failed to save, trying to reconnect\nfeatureRequest=Feature Request\nfeedback=Feedback\nfeedbackSent=Feedback successfully sent.\nfloorplans=Floorplans\nfile=File\nfileChangedOverwriteDialog=The file has been modified. Do you want to save the file and overwrite those changes?\nfileChangedSyncDialog=The file has been modified.\nfileChangedSync=The file has been modified. Click here to synchronize.\noverwrite=Overwrite\nsynchronize=Synchronize\nfilename=Filename\nfileExists=File already exists\nfileMovedToTrash=File was moved to trash\nfileNearlyFullSeeFaq=File nearly full, please see FAQ\nfileNotFound=File not found\nrepositoryNotFound=Repository not found\nfileNotFoundOrDenied=The file was not found. It does not exist or you do not have access.\nfileNotLoaded=File not loaded\nfileNotSaved=File not saved\nfileOpenLocation=How would you like to open these file(s)?\nfiletypeHtml=.html causes file to save as HTML with redirect to cloud URL\nfiletypePng=.png causes file to save as PNG with embedded data\nfiletypeSvg=.svg causes file to save as SVG with embedded data\nfileWillBeSavedInAppFolder={1} will be saved in the app folder.\nfill=Fill\nfillColor=Fill Color\nfilterCards=Filter Cards\nfind=Find\nfindInDiagram=Find in Diagram\nfit=Fit\nfitContainer=Resize Container\nfitIntoContainer=Fit into Container\nfitPage=Fit Page\nfitPageWidth=Fit Page Width\nfitTo=Fit to\nfitToSheetsAcross=sheet(s) across\nfitToBy=by\nfitToSheetsDown=sheet(s) down\nfitTwoPages=Two Pages\nfitWindow=Fit Window\nflip=Flip\nflipH=Flip Horizontal\nflipV=Flip Vertical\nflowAnimation=Flow Animation\nflowchart=Flowchart\nfolder=Folder\nfont=Font\nfontColor=Font Color\nfontFamily=Font Family\nfontSize=Font Size\nforbidden=You are not authorized to access this file\nformat=Format\nformatPanel=Format Panel\nformatted=Formatted\nformattedText=Formatted Text\nformatPng=PNG\nformatGif=GIF\nformatJpg=JPEG\nformatPdf=PDF\nformatSql=SQL\nformatSvg=SVG\nformatHtmlEmbedded=HTML\nformatSvgEmbedded=SVG (with XML)\nformatVsdx=VSDX\nformatVssx=VSSX\nformatWebp=WebP\nformatXmlPlain=XML (Plain)\nformatXml=XML\nforum=Discussion/Help Forums\nfreehand=Freehand\nfromTemplate=From Template\nfromTemplateUrl=From Template URL\nfromText=From Text\nfromUrl=From URL\nfromThisPage=From this page\nfullscreen=Fullscreen\ngap=Gap\ngcp=GCP\ngeneral=General\ngetNotionChromeExtension=Get the Notion Chrome Extension\ngithub=GitHub\ngitlab=GitLab\ngliffy=Gliffy\nglobal=Global\ngoogleDocs=Google Docs\ngoogleDrive=Google Drive\ngoogleGadget=Google Gadget\ngoogleSharingNotAvailable=Sharing is only available via Google Drive. Please click Open below and share from the more actions menu:\ngoogleSlides=Google Slides\ngoogleSites=Google Sites\ngoogleSheets=Google Sheets\ngradient=Gradient\ngradientColor=Color\ngrid=Grid\ngridColor=Grid Color\ngridSize=Grid Size\ngroup=Group\nguides=Guides\nhateApp=I hate draw.io\nheading=Heading\nheight=Height\nhelp=Help\nhelpTranslate=Help us translate this application\nhide=Hide\nhideIt=Hide {1}\nhidden=Hidden\nhighContrast=High Contrast\nhome=Home\nhorizontal=Horizontal\nhorizontalFlow=Horizontal Flow\nhorizontalTree=Horizontal Tree\nhowTranslate=How good is the translation in your language?\nhtml=HTML\nhtmlText=HTML Text\nid=ID\niframe=IFrame\nignore=Ignore\nimage=Image\nimageUrl=Image URL\nimages=Images\nimagePreviewError=This image couldn\'t be loaded for preview. Please check the URL.\nimageTooBig=Image too big\nimgur=Imgur\nimport=Import\nimportFrom=Import from\nimproveContrast=Improve Contrast\nincludeCopyOfMyDiagram=Include a copy of my diagram\nincreaseIndent=Increase Indent\ndecreaseIndent=Decrease Indent\ninsert=Insert\ninsertColumnBefore=Insert Column Left\ninsertColumnAfter=Insert Column Right\ninsertEllipse=Insert Ellipse\ninsertImage=Insert Image\ninsertHorizontalRule=Insert Horizontal Rule\ninsertLink=Insert Link\ninsertPage=Insert Page\ninsertRectangle=Insert Rectangle\ninsertRhombus=Insert Rhombus\ninsertRowBefore=Insert Row Above\ninsertRowAfter=Insert Row After\ninsertText=Insert Text\ninserting=Inserting\ninstallApp=Install App\ninvalidFilename=Diagram names must not contain the following characters: / | : ; { } < > & + ? = "\ninvalidLicenseSeeThisPage=Your license is invalid, please see this <a target="_blank" href="https://www.drawio.com/doc/faq/license-drawio-confluence-jira-cloud">page</a>.\ninvalidInput=Invalid input\ninvalidName=Invalid name\ninvalidOrMissingFile=Invalid or missing file\ninvalidPublicUrl=Invalid public URL\ninvertSelection=Invert Selection\nisometric=Isometric\nios=iOS\nitalic=Italic\nkennedy=Kennedy\nkeyboardShortcuts=Keyboard Shortcuts\nlabels=Labels\nlayers=Layers\nlandscape=Landscape\nlanguage=Language\nleanMapping=Lean Mapping\nlastChange=Last change {1} ago\nlessThanAMinute=less than a minute\nlicensingError=Licensing Error\nlicenseHasExpired=The license for {1} has expired on {2}. Click here.\nlicenseRequired=This feature requires draw.io to be licensed.\nlicenseWillExpire=The license for {1} will expire on {2}. Click here.\nlight=Light\nlineJumps=Line jumps\nlinkAccountRequired=If the diagram is not public a Google account is required to view the link.\nlinkText=Link Text\nlist=List\nminute=minute\nminutes=minutes\nhours=hours\ndays=days\nmonths=months\nyears=years\nrestartForChangeRequired=Changes will take effect after a restart of the application.\nlaneColor=Lanecolor\nlanguageCode=Language Code\nlastModified=Last modified\nlayout=Layout\nleft=Left\nleftAlign=Left Align\nleftToRight=Left to Right\nlibraryTooltip=Drag and drop shapes here or click + to insert. Double click to edit.\nlightbox=Lightbox\nline=Line\nlineend=Line end\nlineheight=Line Height\nlinestart=Line start\nlinewidth=Linewidth\nlink=Link\nlinks=Links\nloading=Loading\nlock=Lock\nlocked=Locked\nlockUnlock=Lock/Unlock\nloggedOut=Logged Out\nlogIn=log in\nloveIt=I love {1}\nlucidchart=Lucidchart\nmaps=Maps\nmathematicalTypesetting=Mathematical Typesetting\nmakeCopy=Make a Copy\nmanual=Manual\nmaximize=Maximize\nmerge=Merge\nmermaid=Mermaid\nmicrosoftOffice=Microsoft Office\nmicrosoftExcel=Microsoft Excel\nmicrosoftPowerPoint=Microsoft PowerPoint\nmicrosoftWord=Microsoft Word\nmiddle=Middle\nminimal=Minimal\nminimize=Minimize\nmisc=Misc\nmockups=Mockups\nmodern=Modern\nmodificationDate=Modification date\nmodifiedBy=Modified by\nmore=More\nmoreResults=More Results\nmoreShapes=More Shapes\nmove=Move\nmoveToFolder=Move to Folder\nmoving=Moving\nmoveSelectionTo=Move Selection to {1}\nmyDrive=My Drive\nmyFiles=My Files\nname=Name\nnavigation=Navigation\nnetwork=Network\nnetworking=Networking\nnew=New\nnewLibrary=New Library\nnextPage=Next Page\nno=No\nnoPickFolder=No, pick folder\nnoAttachments=No attachments found\nnoColor=No Color\nnoFiles=No Files\nnoFileSelected=No file selected\nnoLibraries=No libraries found\nnoMoreResults=No more results\nnone=None\nnoOtherViewers=No other viewers\nnoPlugins=No plugins\nnoPreview=No preview\nnoResponse=No response from server\nnoResultsFor=No results for \'{1}\'\nnoRevisions=No revisions\nnoSearchResults=No search results found\nnoPageContentOrNotSaved=No anchors found on this page or it hasn\'t been saved yet\nnormal=Normal\nnorth=North\nnotADiagramFile=Not a diagram file\nnotALibraryFile=Not a library file\nnotAvailable=Not available\nnotAUtf8File=Not a UTF-8 file\nnotConnected=Not connected\nnote=Note\nnotion=Notion\nnotSatisfiedWithImport=Not satisfied with the import?\nnotUsingService=Not using {1}?\nnumberedList=Numbered list\noffline=Offline\nok=OK\noneDrive=OneDrive\nonline=Online\nopacity=Opacity\nopen=Open\nopenArrow=Open Arrow\nopenExistingDiagram=Open Existing Diagram\nopenFile=Open File\nopenFrom=Open from\nopenLibrary=Open Library\nopenLibraryFrom=Open Library from\nopenLink=Open Link\nopenInNewWindow=Open in New Window\nopenInThisWindow=Open in This Window\nopenIt=Open {1}\nopenRecent=Open Recent\nopenSupported=Supported formats are files saved from this software (.xml), .vsdx and .gliffy\noptions=Options\norganic=Organic\norgChart=Org Chart\northogonal=Orthogonal\notherViewer=other viewer\notherViewers=other viewers\noutline=Outline\noval=Oval\npage=Page\npageContent=Page Content\npageNotFound=Page not found\npageWithNumber=Page-{1}\npages=Pages\npageTabs=Page Tabs\npageView=Page View\npageSetup=Page Setup\npageScale=Page Scale\npan=Pan\npanTooltip=Space+Drag to pan\npaperSize=Paper Size\npattern=Pattern\nparallels=Parallels\npaste=Paste\npasteData=Paste Data\npasteHere=Paste Here\npasteSize=Paste Size\npasteStyle=Paste Style\nperimeter=Perimeter\npermissionAnyone=Anyone can edit\npermissionAuthor=Owner and admins can edit\npickFolder=Pick a folder\npickLibraryDialogTitle=Select Library\npublicDiagramUrl=Public URL of the diagram\nplaceholders=Placeholders\nplantUml=PlantUML\nplugins=Plugins\npluginUrl=Plugin URL\npluginWarning=The page has requested to load the following plugin(s):\n \n {1}\n \n Would you like to load these plugin(s) now?\n \n NOTE : Only allow plugins to run if you fully understand the security implications of doing so.\n\nplusTooltip=Click to connect and clone (ctrl+click to clone, shift+click to connect). Drag to connect (ctrl+drag to clone).\nportrait=Portrait\nposition=Position\nposterPrint=Poster Print\npreferences=Preferences\npreview=Preview\npreviousPage=Previous Page\npresentationMode=Presentation Mode\nprint=Print\nprocEng=Proc. Eng.\nproject=Project\npriority=Priority\nprocessForHiringNewEmployee=Process for hiring a new employee\nproperties=Properties\npublish=Publish\nquickStart=Quick Start Video\nrack=Rack\nradial=Radial\nradialTree=Radial Tree\nreadOnly=Read-only\nreconnecting=Reconnecting\nrecentlyUpdated=Recently Updated\nrecentlyViewed=Recently Viewed\nrectangle=Rectangle\nredirectToNewApp=This file was created or modified in a newer version of this app. You will be redirected now.\nrealtimeTimeout=It looks like you\'ve made a few changes while offline. We\'re sorry, these changes cannot be saved.\nredo=Redo\nrefresh=Refresh\nregularExpression=Regular Expression\nrelative=Relative\nrelativeUrlNotAllowed=Relative URL not allowed\nrememberMe=Remember me\nrememberThisSetting=Remember this setting\nremoveFormat=Clear Formatting\nremoveFromGroup=Remove from Group\nremoveIt=Remove {1}\nremoveWaypoint=Remove Waypoint\nrename=Rename\nrenamed=Renamed\nrenameIt=Rename {1}\nrenaming=Renaming\nreplace=Replace\nreplaceIt={1} already exists. Do you want to replace it?\nreplaceExistingDrawing=Replace existing drawing\nrequired=required\nrequirementDiagram=Requirement Diagram\nreset=Reset\nresetView=Reset View\nresize=Resize\nresizeLargeImages=Do you want to resize large images to make the application run faster?\nretina=Retina\nresponsive=Responsive\nrestore=Restore\nrestoring=Restoring\nretryingIn=Retrying in {1} second(s)\nretryingLoad=Load failed. Retrying...\nretryingLogin=Login time out. Retrying...\nreverse=Reverse\nrevision=Revision\nrevisionHistory=Revision History\nrhombus=Rhombus\nright=Right\nrightAlign=Right Align\nrightToLeft=Right to Left\nrotate=Rotate\nrotateTooltip=Click and drag to rotate, click to turn shape only by 90 degrees\nrotation=Rotation\nrounded=Rounded\nsave=Save\nsaveAndExit=Save & Exit\nsaveAs=Save as\nsaveAsXmlFile=Save as XML file?\nsaved=Saved\nsaveDiagramFirst=Please save the diagram first\nsaveDiagramsTo=Save diagrams to\nsaveLibrary403=Insufficient permissions to edit this library\nsaveLibrary500=There was an error while saving the library\nsaveLibraryReadOnly=Could not save library while read-only mode is active\nsaving=Saving\nscratchpad=Scratchpad\nscrollbars=Scrollbars\nsearch=Search\nsearchShapes=Search Shapes\nselectAll=Select All\nselectionOnly=Selection Only\nselectCard=Select Card\nselectEdges=Select Edges\nselectedPage=Selected Page\nselectFile=Select File\nselectFolder=Select Folder\nselectFont=Select Font\nselection=Selection\nselectNone=Select None\nselectObjectsInLayer=Select Objects in Layer\nselectTemplate=Select Template\nselectVertices=Select Vertices\nsendBackward=Send Backward\nsendMessage=Send\nsendYourFeedback=Send your feedback\nsequenceDiagram=Sequence Diagram\nserviceUnavailableOrBlocked=Service unavailable or blocked\nsessionExpired=Your session has expired. Please refresh the browser window.\nsessionTimeoutOnSave=Your session has timed out and you have been disconnected from the Google Drive. Press OK to login and save.\nsetAsDefaultStyle=Set as Default Style\nsettings=Settings\nshadow=Shadow\nshadows=Shadows\nshape=Shape\nshapes=Shapes\nshare=Share\nshareCursor=Share Mouse Cursor\nshareLink=Link for shared editing\nsharingAvailable=Sharing available for Google Drive and OneDrive files.\nsaveItToGoogleDriveToCollaborate=You\'ll need to save "{1}" to Google Drive before you can collaborate.\nsaveToGoogleDrive=Save to Google Drive\nsharp=Sharp\nshow=Show\nshowRemoteCursors=Show Remote Mouse Cursors\nshowStartScreen=Show Start Screen\nsidebarTooltip=Click or drag and drop shapes. Shift+click to change selection. Alt+click to insert and connect.\nsigns=Signs\nsignOut=Sign out\nsimple=Simple\nsimpleArrow=Simple Arrow\nsimpleViewer=Simple Viewer\nsize=Size\nsketch=Sketch\nsmoothing=Smoothing\nsnapToGrid=Snap to Grid\nsolid=Solid\nsourceSpacing=Source Spacing\nsouth=South\nsoftware=Software\nspace=Space\nspacing=Spacing\nspecialLink=Special Link\nstateDiagram=State Diagram\nstandard=Standard\nstartDrawing=Start drawing\nstopDrawing=Stop drawing\nstarting=Starting\nstraight=Straight\nstrikethrough=Strikethrough\nstrokeColor=Line Color\nstyle=Style\nsubscript=Subscript\nsummary=Summary\nsuperscript=Superscript\nsupport=Support\nswap=Swap\nswimlaneDiagram=Swimlane Diagram\nsysml=SysML\ntags=Tags\ntable=Table\ntables=Tables\ntakeOver=Take Over\ntargetSpacing=Target Spacing\ntemplate=Template\ntemplates=Templates\ntext=Text\ntextAlignment=Text Alignment\ntextOpacity=Text Opacity\ntheme=Theme\ntimeout=Timeout\ntitle=Title\nto=to\ntoBack=To Back\ntoFront=To Front\ntooLargeUseDownload=Too large, use download instead.\ntoolbar=Toolbar\ntooltips=Tooltips\ntop=Top\ntopAlign=Top Align\ntopLeft=Top Left\ntopRight=Top Right\ntransparent=Transparent\ntransparentBackground=Transparent Background\ntrello=Trello\ntryAgain=Try again\ntryOpeningViaThisPage=Try opening via this page\nturn=Rotate Shape Only by 90°\ntype=Type\ntypeSlashToSearch=Type / to search\numl=UML\nunassigned=Unassigned\nunderline=Underline\nundo=Undo\nungroup=Ungroup\nunlock=Unlock\nunmerge=Unmerge\nunsavedChanges=Unsaved changes\nunsavedChangesClickHereToSave=Unsaved changes. Click here to save.\nuntitled=Untitled\nuntitledDiagram=Untitled Diagram\nuntitledLayer=Untitled Layer\nuntitledLibrary=Untitled Library\nunknownError=Unknown error\nunknownUser=Unknown user\nupdateExistingDrawing=Update existing drawing\nupdateFile=Update {1}\nupdatingDocument=Updating Document. Please wait...\nupdatingPreview=Updating Preview. Please wait...\nupdatingSelection=Updating Selection. Please wait...\nupload=Upload\nurl=URL\nuseBlackAndWhite=Use black and white\nuseCurrentSettings=Use current settings\nuseOffline=Use Offline\nuserDefined=User-defined\nuseRootFolder=Use root folder?\nuserManual=User Manual\nvertical=Vertical\nverticalFlow=Vertical Flow\nverticalTree=Vertical Tree\nview=View\nviewerSettings=Viewer Settings\nviewUrl=Link to view: {1}\nvoiceAssistant=Voice Assistant (beta)\nwarning=Warning\nwaypoints=Waypoints\nwest=West\nwhere=Where\nwidth=Width\nwiki=Wiki\nwordWrap=Word Wrap\nwritingDirection=Writing Direction\nyes=Yes\nyourEmailAddress=Your email address\nzoom=Zoom\nzoomIn=Zoom In\nzoomOut=Zoom Out\nbasic=Basic\nbusinessprocess=Business Processes\ncharts=Charts\nengineering=Engineering\nflowcharts=Flowcharts\ngmdl=Material Design\nmindmaps=Mindmaps\nmockups=Mockups\nnetworkdiagrams=Network Diagrams\nnothingIsSelected=Nothing is selected\nother=Other\nsoftwaredesign=Software Design\nvenndiagrams=Venn Diagrams\nwebEmailOrOther=Web, email or any other internet address\nwebLink=Web Link\nwireframes=Wireframes\nproperty=Property\nvalue=Value\nshowMore=Show More\nshowLess=Show Less\nmyDiagrams=My Diagrams\nallDiagrams=All Diagrams\nrecentlyUsed=Recently used\nlistView=List view\ngridView=Grid view\nresultsFor=Results for \'{1}\'\noneDriveCharsNotAllowed=The following characters are not allowed: ~ " # % * : < > ? / { | }\noneDriveInvalidDeviceName=The specified device name is invalid\nofficeNotLoggedOD=You are not logged in to OneDrive. Please open draw.io task pane and login first.\nofficeSelectSingleDiag=Please select a single draw.io diagram only without other contents.\nofficeSelectDiag=Please select a draw.io diagram.\nofficeCannotFindDiagram=Cannot find a draw.io diagram in the selection\nnoDiagrams=No diagrams found\nauthFailed=Authentication failed\nofficeFailedAuthMsg=Unable to successfully authenticate user or authorize application.\nconvertingDiagramFailed=Converting diagram failed\nofficeCopyImgErrMsg=Due to some limitations in the host application, the image could not be inserted. Please manually copy the image then paste it to the document.\ninsertingImageFailed=Inserting image failed\nofficeCopyImgInst=Instructions: Right-click the image below. Select "Copy image" from the context menu. Then, in the document, right-click and select "Paste" from the context menu.\nfolderEmpty=Folder is empty\nrecent=Recent\nsharedWithMe=Shared With Me\nsharepointSites=Sharepoint Sites\nerrorFetchingFolder=Error fetching folder items\nerrorAuthOD=Error authenticating to OneDrive\nofficeMainHeader=Adds draw.io diagrams to your document.\nofficeStepsHeader=This add-in performs the following steps:\nofficeStep1=Connects to Microsoft OneDrive, Google Drive or your device.\nofficeStep2=Select a draw.io diagram.\nofficeStep3=Insert the diagram into the document.\nofficeAuthPopupInfo=Please complete the authentication in the pop-up window.\nofficeSelDiag=Select draw.io Diagram:\nfiles=Files\nshared=Shared\nsharepoint=Sharepoint\nofficeManualUpdateInst=Instructions: Copy draw.io diagram from the document. Then, in the box below, right-click and select "Paste" from the context menu.\nofficeClickToEdit=Click icon to start editing:\npasteDiagram=Paste draw.io diagram here\nconnectOD=Connect to OneDrive\nselectChildren=Select Children\nselectSiblings=Select Siblings\nselectParent=Select Parent\nselectDescendants=Select Descendants\nlastSaved=Last saved {1} ago\nresolve=Resolve\nreopen=Re-open\nshowResolved=Show Resolved\nreply=Reply\nobjectNotFound=Object not found\nreOpened=Re-opened\nmarkedAsResolved=Marked as resolved\nnoCommentsFound=No comments found\ncomments=Comments\ntimeAgo={1} ago\nconfluenceCloud=Confluence Cloud\nlibraries=Libraries\nconfAnchor=Confluence Page Anchor\nconfTimeout=The connection has timed out\nconfSrvTakeTooLong=The server at {1} is taking too long to respond.\nconfCannotInsertNew=Cannot insert draw.io diagram to a new Confluence page\nconfSaveTry=Please save the page and try again.\nconfCannotGetID=Unable to determine page ID\nconfContactAdmin=Please contact your Confluence administrator.\nreadErr=Read Error\neditingErr=Editing Error\nconfExtEditNotPossible=This diagram cannot be edited externally. Please try editing it while editing the page\nconfEditedExt=Diagram/Page edited externally\ndiagNotFound=Diagram Not Found\nconfEditedExtRefresh=Diagram/Page is edited externally. Please refresh the page.\nconfCannotEditDraftDelOrExt=Cannot edit diagrams in a draft page, diagram is deleted from the page, or diagram is edited externally. Please check the page.\nretBack=Return back\nconfDiagNotPublished=The diagram does not belong to a published page\ncreatedByDraw=Created by draw.io\nfilenameShort=Filename too short\ninvalidChars=Invalid characters\nalreadyExst={1} already exists\ndraftReadErr=Draft Read Error\ndiagCantLoad=Diagram cannot be loaded\ndraftWriteErr=Draft Write Error\ndraftCantCreate=Draft could not be created\nconfDuplName=Duplicate diagram name detected. Please pick another name.\nconfSessionExpired=Looks like your session expired. Log in again to keep working.\nlogin=Login\ndrawPrev=draw.io preview\ndrawDiag=draw.io diagram\ninvalidCallFnNotFound=Invalid Call: {1} not found\ninvalidCallErrOccured=Invalid Call: An error occurred, {1}\nanonymous=Anonymous\nconfGotoPage=Go to containing page\nshowComments=Show Comments\nconfError=Error: {1}\ngliffyImport=Gliffy Import\ngliffyImportInst1=Click the "Start Import" button to import all Gliffy diagrams to draw.io.\ngliffyImportInst2=Please note that the import procedure will take some time and the browser window must remain open until the import is completed.\nstartImport=Start Import\ndrawConfig=draw.io Configuration\ncustomLib=Custom Libraries\ncustomTemp=Custom Templates\npageIdsExp=Page IDs Export\ndrawReindex=draw.io re-indexing\nworking=Working\ndrawConfigNotFoundInst=draw.io Configuration Space (DRAWIOCONFIG) does not exist. This space is needed to store draw.io configuration files and custom libraries/templates.\ncreateConfSp=Create Config Space\nunexpErrRefresh=Unexpected error, please refresh the page and try again.\nconfigJSONInst=Write draw.io JSON configuration in the editor below then click save. If you need help, please refer to\nthisPage=this page\ncurCustLib=Current Custom Libraries\nlibName=Library Name\naction=Action\ndrawConfID=draw.io Config ID\naddLibInst=Click the "Add Library" button to upload a new library.\naddLib=Add Library\ncustomTempInst1=Custom templates are draw.io diagrams saved in children pages of\ncustomTempInst2=For more details, please refer to\ntempsPage=Templates page\npageIdsExpInst1=Select export target, then click the "Start Export" button to export all pages IDs.\npageIdsExpInst2=Please note that the export procedure will take some time and the browser window must remain open until the export is completed.\nstartExp=Start Export\nrefreshDrawIndex=Refresh draw.io Diagrams Index\nreindexInst1=Click the "Start Indexing" button to refresh draw.io diagrams index.\nreindexInst2=Please note that the indexing procedure will take some time and the browser window must remain open until the indexing is completed.\nstartIndexing=Start Indexing\nconfAPageFoundFetch=Page "{1}" found. Fetching\nconfAAllDiagDone=All {1} diagrams processed. Process finished.\nconfAStartedProcessing=Started processing page "{1}"\nconfAAllDiagInPageDone=All {1} diagrams in page "{2}" processed successfully.\nconfAPartialDiagDone={1} out of {2} {3} diagrams in page "{4}" processed successfully.\nconfAUpdatePageFailed=Updating page "{1}" failed.\nconfANoDiagFoundInPage=No {1} diagrams found in page "{2}".\nconfAFetchPageFailed=Fetching the page failed.\nconfANoDiagFound=No {1} diagrams found. Process finished.\nconfASearchFailed=Searching for {1} diagrams failed. Please try again later.\nconfAGliffyDiagFound={2} diagram "{1}" found. Importing\nconfAGliffyDiagImported={2} diagram "{1}" imported successfully.\nconfASavingImpGliffyFailed=Saving imported {2} diagram "{1}" failed.\nconfAImportedFromByDraw=Imported from "{1}" by draw.io\nconfAImportGliffyFailed=Importing {2} diagram "{1}" failed.\nconfAFetchGliffyFailed=Fetching {2} diagram "{1}" failed.\nconfACheckBrokenDiagLnk=Checking for broken diagrams links.\nconfADelDiagLinkOf=Deleting diagram link of "{1}"\nconfADupLnk=(duplicate link)\nconfADelDiagLnkFailed=Deleting diagram link of "{1}" failed.\nconfAUnexpErrProcessPage=Unexpected error during processing the page with id: {1}\nconfADiagFoundIndex=Diagram "{1}" found. Indexing\nconfADiagIndexSucc=Diagram "{1}" indexed successfully.\nconfAIndexDiagFailed=Indexing diagram "{1}" failed.\nconfASkipDiagOtherPage=Skipped "{1}" as it belongs to another page!\nconfADiagUptoDate=Diagram "{1}" is up to date.\nconfACheckPagesWDraw=Checking pages having draw.io diagrams.\nconfAErrOccured=An error occurred!\nsavedSucc=Saved successfully\nconfASaveFailedErr=Saving Failed (Unexpected Error)\ncharacter=Character\nconfAConfPageDesc=This page contains draw.io configuration file (configuration.json) as attachment\nconfALibPageDesc=This page contains draw.io custom libraries as attachments\nconfATempPageDesc=This page contains draw.io custom templates as attachments\nconfAConfSpaceDesc=This space is used to store draw.io configuration files and custom libraries/templates\nconfANoCustLib=No Custom Libraries\ndelFailed=Delete failed!\nshowID=Show ID\nconfAIncorrectLibFileType=Incorrect file type. Libraries should be XML files.\nuploading=Uploading\nconfALibExist=This library already exists\nconfAUploadSucc=Uploaded successfully\nconfAUploadFailErr=Upload Failed (Unexpected Error)\nhiResPreview=High Res Preview\nofficeNotLoggedGD=You are not logged in to Google Drive. Please open draw.io task pane and login first.\nofficePopupInfo=Please complete the process in the pop-up window.\npickODFile=Pick OneDrive File\ncreateODFile=Create OneDrive File\npickGDriveFile=Pick Google Drive File\ncreateGDriveFile=Create Google Drive File\npickDeviceFile=Pick Device File\nvsdNoConfig="vsdurl" is not configured\nruler=Ruler\nunits=Units\npoints=Points\ninches=Inches\nmillimeters=Millimeters\nconfEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.\nconfDiagEditedExt=Diagram is edited in another session. It will be saved as a new attachment version but the page will show other session\'s modifications.\nmacroNotFound=Macro Not Found\nconfAInvalidPageIdsFormat=Incorrect Page IDs file format\nconfACollectingCurPages=Collecting current pages\nconfABuildingPagesMap=Building pages mapping\nconfAProcessDrawDiag=Started processing imported draw.io diagrams\nconfAProcessDrawDiagDone=Finished processing imported draw.io diagrams\nconfAProcessImpPages=Started processing imported pages\nconfAErrPrcsDiagInPage=Error processing draw.io diagrams in page "{1}"\nconfAPrcsDiagInPage=Processing draw.io diagrams in page "{1}"\nconfAImpDiagram=Importing diagram "{1}"\nconfAImpDiagramFailed=Importing diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.\nconfAImpDiagramError=Error importing diagram "{1}". Cannot fetch or save the diagram. Cannot fix this diagram links.\nconfAUpdateDgrmCCFailed=Updating link to diagram "{1}" failed.\nconfImpDiagramSuccess=Updating diagram "{1}" done successfully.\nconfANoLnksInDrgm=No links to update in: {1}\nconfAUpdateLnkToPg=Updated link to page: "{1}" in diagram: "{2}"\nconfAUpdateLBLnkToPg=Updated lightbox link to page: "{1}" in diagram: "{2}"\nconfAUpdateLnkBase=Updated base URL from: "{1}" to: "{2}" in diagram: "{3}"\nconfAPageIdsImpDone=Page IDs Import finished\nconfAPrcsMacrosInPage=Processing draw.io macros in page "{1}"\nconfAErrFetchPage=Error fetching page "{1}"\nconfAFixingMacro=Fixing macro of diagram "{1}"\nconfAErrReadingExpFile=Error reading export file\nconfAPrcsDiagInPageDone=Processing draw.io diagrams in page "{1}" finished\nconfAFixingMacroSkipped=Fixing macro of diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.\npageIdsExpTrg=Export target\nconfALucidDiagImgImported={2} diagram "{1}" image extracted successfully\nconfASavingLucidDiagImgFailed=Extracting {2} diagram "{1}" image failed\nconfGetInfoFailed=Fetching file info from {1} failed.\nconfCheckCacheFailed=Cannot get cached file info.\nconfReadFileErr=Cannot read "{1}" file from {2}.\nconfSaveCacheFailed=Unexpected error. Cannot save cached file\norgChartType=Org Chart Type\nlinear=Linear\nhanger2=Hanger 2\nhanger4=Hanger 4\nfishbone1=Fishbone 1\nfishbone2=Fishbone 2\n1ColumnLeft=Single Column Left\n1ColumnRight=Single Column Right\nsmart=Smart\nparentChildSpacing=Parent Child Spacing\nsiblingSpacing=Sibling Spacing\nconfNoPermErr=Sorry, you don\'t have enough permissions to view this embedded diagram from page {1}\ncopyAsImage=Copy as Image\ncopyAsText=Copy as Text\ncopyAsSvg=Copy as SVG\nlucidImport=Lucidchart Import\nlucidImportInst1=Click the "Start Import" button to import all Lucidchart diagrams.\ninstallFirst=Please install {1} first\ndrawioChromeExt=draw.io Chrome Extension\nloginFirstThen=Please login to {1} first, then {2}\nerrFetchDocList=Error: Couldn\'t fetch documents list\nbuiltinPlugins=Built-in Plugins\nextPlugins=External Plugins\nbackupFound=Backup file found\nchromeOnly=This feature only works in Google Chrome\nmsgDeleted=This message has been deleted\nconfAErrFetchDrawList=Error fetching diagrams list. Some diagrams are skipped.\nconfAErrCheckDrawDiag=Cannot check diagram {1}\nconfAErrFetchPageList=Error fetching pages list\nconfADiagImportIncom={1} diagram "{2}" is imported partially and may have missing shapes\ninvalidSel=Invalid selection\ndiagNameEmptyErr=Diagram name cannot be empty\nopenDiagram=Open Diagram\nnewDiagram=New diagram\neditable=Editable\nconfAReimportStarted=Re-import {1} diagrams started...\nspaceFilter=Filter by spaces\ncurViewState=Current Viewer State\npageLayers=Page and Layers\ncustomize=Customize\nfirstPage=First Page (All Layers)\ncurEditorState=Current Editor State\nnoAnchorsFound=No anchors found\nattachment=Attachment\ncurDiagram=Current Diagram\nrecentDiags=Recent Diagrams\ncsvImport=CSV Import\nchooseFile=Choose a file...\nchoose=Choose\ngdriveFname=Google Drive filename\nwidthOfViewer=Width of the viewer (px)\nheightOfViewer=Height of the viewer (px)\nautoSetViewerSize=Automatically set the size of the viewer\nthumbnail=Thumbnail\nprevInDraw=Preview in draw.io\nonedriveFname=OneDrive filename\ndiagFname=Diagram filename\ndiagUrl=Diagram URL\nshowDiag=Show Diagram\ndiagPreview=Diagram Preview\ncsvFileUrl=CSV File URL\ngenerate=Generate\nselectDiag2Insert=Please select a diagram to insert it.\nerrShowingDiag=Unexpected error. Cannot show diagram\nnoRecentDiags=No recent diagrams found\nfetchingRecentFailed=Failed to fetch recent diagrams\nuseSrch2FindDiags=Use the search box to find draw.io diagrams\ncantReadChckPerms=Cannot read the specified diagram. Please check you have read permission on that file.\ncantFetchChckPerms=Cannot fetch diagram info. Please check you have read permission on that file.\nsearchFailed=Searching failed. Please try again later.\nplsTypeStr=Please type a search string.\nunsupportedFileChckUrl=Unsupported file. Please check the specified URL\ndiagNotFoundChckUrl=Diagram not found or cannot be accessed. Please check the specified URL\ncsvNotFoundChckUrl=CSV file not found or cannot be accessed. Please check the specified URL\ncantReadUpload=Cannot read the uploaded diagram\nselect=Select\nerrCantGetIdType=Unexpected Error: Cannot get content id or type.\nerrGAuthWinBlocked=Error: Google Authentication window blocked\nauthDrawAccess=Authorize draw.io to access {1}\nconnTimeout=The connection has timed out\nerrAuthSrvc=Error authenticating to {1}\nplsSelectFile=Please select a file\nmustBgtZ={1} must be greater than zero\ncantLoadPrev=Cannot load file preview.\nerrAccessFile=Error: Access Denied. You do not have permission to access "{1}".\nnoPrevAvail=No preview is available.\npersonalAccNotSup=Personal accounts are not supported.\nerrSavingTryLater=Error occurred during saving, please try again later.\nplsEnterFld=Please enter {1}\ninvalidDiagUrl=Invalid Diagram URL\nunsupportedVsdx=Unsupported vsdx file\nunsupportedImg=Unsupported image file\nunsupportedFormat=Unsupported file format\nplsSelectSingleFile=Please select a single file only\nattCorrupt=Attachment file "{1}" is corrupted\nloadAttFailed=Failed to load attachment "{1}"\nembedDrawDiag=Embed draw.io Diagram\naddDiagram=Add Diagram\nembedDiagram=Embed Diagram\neditOwningPg=Edit owning page\ndeepIndexing=Deep Indexing (Index diagrams that aren\'t used in any page also)\nconfADeepIndexStarted=Deep Indexing Started\nconfADeepIndexDone=Deep Indexing Done\nofficeNoDiagramsSelected=No diagrams found in the selection\nofficeNoDiagramsInDoc=No diagrams found in the document\nofficeNotSupported=This feature is not supported in this host application\nsomeImagesFailed={1} out of {2} failed due to the following errors\nimportingNoUsedDiagrams=Importing {1} Diagrams not used in pages\nimportingDrafts=Importing {1} Diagrams in drafts\nprocessingDrafts=Processing drafts\nupdatingDrafts=Updating drafts\nupdateDrafts=Update drafts\nnotifications=Notifications\ndrawioImp=draw.io Import\nconfALibsImp=Importing draw.io Libraries\nconfALibsImpFailed=Importing {1} library failed\ncontributors=Contributors\ndrawDiagrams=draw.io Diagrams\nerrFileNotFoundOrNoPer=Error: Access Denied. File not found or you do not have permission to access "{1}" on {2}.\nconfACheckPagesWEmbed=Checking pages having embedded draw.io diagrams.\nconfADelBrokenEmbedDiagLnk=Removing broken embedded diagram links\nreplaceWith=Replace with\nreplaceAll=Replace All\nconfASkipDiagModified=Skipped "{1}" as it was modified after initial import\nreplFind=Replace/Find\nmatchesRepl={1} matches replaced\ndraftErrDataLoss=An error occurred while reading the draft file. The diagram cannot be edited now to prevent any possible data loss. Please try again later or contact support.\nibm=IBM\nlinkToDiagramHint=Add a link to this diagram. The diagram can only be edited from the page that owns it.\nlinkToDiagram=Link to Diagram\nchangedBy=Changed By\nlastModifiedOn=Last modified on\nsearchResults=Search Results\nshowAllTemps=Show all templates\nnotionToken=Notion Token\nselectDB=Select Database\nnoDBs=No Databases\ndiagramEdited={1} diagram "{2}" edited\nconfDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?\nconfFileTooBigErr=File size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration.\nowner=Owner\nrepository=Repository\nbranch=Branch\nmeters=Meters\nteamsNoEditingMsg=Editor functionality is only available in Desktop environment (in MS Teams App or a web browser)\ncontactOwner=Contact Owner\nviewerOnlyMsg=You cannot edit the diagrams in the mobile platform, please use the desktop client or a web browser.\nwebsite=Website\ncheck4Updates=Check for updates\nattWriteFailedRetry={1}: Attachment write failed, trying again in {2} seconds...\nconfPartialPageList=We couldn\'t fetch all pages due to an error in Confluence. Continuing using {1} pages only.\nspellCheck=Spell checker\nnoChange=No Change\nlblToSvg=Convert labels to SVG\ntxtSettings=Text Settings\nLinksLost=Links will be lost\narcSize=Arc Size\neditConnectionPoints=Edit Connection Points\nnotInOffline=Not supported while offline\nnotInDesktop=Not supported in Desktop App\nconfConfigSpaceArchived=draw.io Configuration space (DRAWIOCONFIG) is archived. Please restore it first.\nconfACleanOldVerStarted=Cleaning old diagram draft versions started\nconfACleanOldVerDone=Cleaning old diagram draft versions finished\nconfACleaningFile=Cleaning diagram draft "{1}" old versions\nconfAFileCleaned=Cleaning diagram draft "{1}" done\nconfAFileCleanFailed=Cleaning diagram draft "{1}" failed\nconfACleanOnly=Clean Diagram Drafts Only\nbrush=Brush\nopenDevTools=Open Developer Tools\nautoBkp=Automatic Backup\nconfAIgnoreCollectErr=Ignore collecting current pages errors\ndrafts=Drafts\ndraftSaveInt=Draft save interval [sec] (0 to disable)\npluginsDisabled=External plugins disabled.\nextExpNotConfigured=External image service is not configured\npathFilename=Path/Filename\nconfAHugeInstances=Very Large Instances\nconfAHugeInstancesDesc=If this instance includes 100,000+ pages, it is faster to request the current instance pages list from Atlassian. Please contact our support for more details.\nchoosePageIDsFile=Choose current page IDs csv file\nchooseDrawioPsgesFile=Choose pages with draw.io diagrams csv file\nprivate=Private\ndiagramTooLarge=The diagram is too large, please reduce its size and try again.\nselectAdminUsers=Select Admin Users\nxyzTeam={1} Team\naddTeamTitle=Adding a new draw.io Team\naddTeamInst1=To create a new draw.io Team, you need to create a new Atlassian group with "drawio-" prefix (e.g, a group named "drawio-marketing").\naddTeamInst2=Then, configure which team member can edit/add configuration, templates, and libraries from this page.\ndrawioTeams=draw.io Teams\nmembers=Members\nadminEditors=Admins/Editors\nallowAll=Allow all\nnoTeams=No teams found\nerrorLoadingTeams=Error Loading Teams\nnoTeamMembers=No team members found\nerrLoadTMembers=Error loading team members\nerrCreateTeamPage=Error creating team "{1}" page in "draw.io Configuration" space, please check you have the required permissions.\ngotoConfigPage=Please create the space from draw.io "Configuration" page.\nnoAdminsSelected=No admins/editors selected\nerrCreateConfigFile=Error creating "configuration.json" file, please check you have the required permissions.\nerrSetPageRestr=Error setting page restrictions\nnotAdmin4Team=You are not an admin for this team\nconfigUpdated=Configuration updated, restart the editor if you want to work with last configuration.\noutOfDateRevisionAlert=You are editing a historical revision of the diagram, please review the revision and open it to replace the latest version. Or close and overwrite/merge later.\nconfAErrFaqs=There are {1} error(s), the following instructions may help fixing most of the cases. (Please download the log for future references)\nconfA403ErrFaq=There are ({1}) 403 error(s). The current users must have add (write) permissions on all pages and attachments. Even admins sometimes are not allowed to write to some pages via page restrictions\nconfA404ErrFaq=There are ({1}) 404 error(s). The attachment/page is not found. This is due to improper migration or the diagram file (an attachment of the page) is deleted.\nconfA500ErrFaq=There are ({1}) 500 error(s). An internal server error in Confluence Cloud. Such errors are due to overloading the server and usually fixed by retrying the process.\nconfAOtherErrFaq=There are ({1}) other error(s). Please check the error description. If the description is not clear, please contact our support.\nconfAReplaceBaseUrl=Replace Base URL in diagram links when no page ID mapping is found\ndrawSvgPrev=draw.io SVG preview\ngoogleFonts=Google Fonts\ndiagDupl=Duplicate Diagram Detected\ndiagDuplMsg=This diagram is used in multiple places, which can result in unexpected results when edited. We\'ve created an independent copy. Please open the editor again.\ndiagDuplNoEditMsg=This diagram is used in multiple places. Please edit it within its own page.\nconfCloudMigConfirm=Warning: This process will edit many pages and diagrams, so it is recommended to stop the Synchrony service during the process. Do you want to proceed?\nconfCloudMigNotice=In the Cloud instance, please add linkAdjustments to draw.io configuration as follows {1}. Without this configuration, links in diagrams pointing to Confluence pages will not work.\nconfALogsPageDesc=This page contains logs of draw.io long running services as attachments\nconfEditOnlyInPageEditor=Can only be edited within Confluence page editor\nconfEvalWarn=Evaluation License - Not for production use\notherUsersEditing=Other user(s) are editing this diagram\nfirstTimeGD=First time to access this file?\ndrawioGDAppNotInstalled=draw.io Google Drive app is not installed, please install it first\nConfDC415Error=Saving drafts is blocked. If you have "Attachment Checker for Confluence" app, please update to the latest version.\nremove=Remove\nselectPgLyr=Select Page and Layers\nerrGenPreview=There was an error generating a diagram preview. Please consult technical support.\nattAccessErr=Diagram attachment access error: cannot display diagram\nwidthIntOrFixed=Width must be a valid integer or of value \'fixed\'\ndupDisabledPgLyrSlct=Diagram duplication is disabled when page and layers are selected\ncantDupPickDiffName=Could not duplicate diagram. Please choose a different name.\nownPgAccessDupErr=Owning page access restriction: cannot duplicate diagram.\ncantDupTryLater=Could not duplicate diagram. Please try again later.\ncantEditLnkd=Cannot edit linked diagram\ndiagEditOwnPgOnlyOpen=Diagram can only be edited from the page that owns it. Would you like to open the owning page for edit?\ndiagInTemps=draw.io diagrams in templates\ndiagInTempsCantEdit=Diagrams in page templates cannot be edited. They can only be edited on pages and blog posts.\nconfDirectEditDraftLost=This Confluence page has unpublished changes. Editing the diagram from page view may cause data loss. Please edit the Confluence page first and then edit the diagram.\nconfConfigSpacePerm=Note: If you recently migrated from DC app, please check draw.io Configuration space permissions such that all users can read and only admins can write. In addition, remove the page restrictions on "Configuration" and "Libraries" pages. You may need admin keys to access them. Also, please check the file "configuration.json" in the "Configuration" page is downloadable.\ntryCurPageOnErr=Try finding the diagram attachment on the macro page when the linked page fails\nconfAExtSrvcNoSupported=Embedded diagrams from external services or urls are not supported.\ngliffyVersionPinning=Import Gliffy pinned version instead of the latest version\nconfEmbedUpload=For a better editing experience, please use the regular draw.io macro to insert a blank diagram, then from (File menu → Import From → Device...) select the file you want to upload and embed.\nconfPublishErr=Another update conflicted with your publish, please try the operation again\nconfACacheMapping=Cache page IDs mapping\nconfARemImpPages=Remember imported pages\ndelCachedData=Delete Cached Data\nk15tPagesError=Error retrieving Scroll pages. Is Scroll Versions installed?\ndrawioUninstalled=draw.io has been uninstalled, the editor will now close\nconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.\nconfDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.\nDCSave500Error=Another Confluence operation interrupted saving, retry #{1}\n');Graph.prototype.defaultThemes["default-style2"]=mxUtils.parseXml('<mxStylesheet><add as="defaultVertex"><add as="shape" value="label"/><add as="perimeter" value="rectanglePerimeter"/><add as="fontSize" value="12"/><add as="fontFamily" value="Helvetica"/><add as="align" value="center"/><add as="verticalAlign" value="middle"/><add as="fillColor" value="default"/><add as="strokeColor" value="default"/><add as="fontColor" value="default"/></add><add as="defaultEdge"><add as="shape" value="connector"/><add as="labelBackgroundColor" value="default"/><add as="endArrow" value="classic"/><add as="fontSize" value="11"/><add as="fontFamily" value="Helvetica"/><add as="align" value="center"/><add as="verticalAlign" value="middle"/><add as="rounded" value="1"/><add as="strokeColor" value="default"/><add as="fontColor" value="default"/></add><add as="text"><add as="fillColor" value="none"/><add as="gradientColor" value="none"/><add as="strokeColor" value="none"/><add as="align" value="left"/><add as="verticalAlign" value="top"/></add><add as="edgeLabel" extend="text"><add as="labelBackgroundColor" value="default"/><add as="fontSize" value="11"/></add><add as="label"><add as="fontStyle" value="1"/><add as="align" value="left"/><add as="verticalAlign" value="middle"/><add as="spacing" value="2"/><add as="spacingLeft" value="52"/><add as="imageWidth" value="42"/><add as="imageHeight" value="42"/><add as="rounded" value="1"/></add><add as="icon" extend="label"><add as="align" value="center"/><add as="imageAlign" value="center"/><add as="verticalLabelPosition" value="bottom"/><add as="verticalAlign" value="top"/><add as="spacingTop" value="4"/><add as="labelBackgroundColor" value="default"/><add as="spacing" value="0"/><add as="spacingLeft" value="0"/><add as="spacingTop" value="6"/><add as="fontStyle" value="0"/><add as="imageWidth" value="48"/><add as="imageHeight" value="48"/></add><add as="swimlane"><add as="shape" value="swimlane"/><add as="fontSize" value="12"/><add as="fontStyle" value="1"/><add as="startSize" value="23"/></add><add as="group"><add as="verticalAlign" value="top"/><add as="fillColor" value="none"/><add as="strokeColor" value="none"/><add as="gradientColor" value="none"/><add as="pointerEvents" value="0"/></add><add as="ellipse"><add as="shape" value="ellipse"/><add as="perimeter" value="ellipsePerimeter"/></add><add as="rhombus"><add as="shape" value="rhombus"/><add as="perimeter" value="rhombusPerimeter"/></add><add as="triangle"><add as="shape" value="triangle"/><add as="perimeter" value="trianglePerimeter"/></add><add as="line"><add as="shape" value="line"/><add as="strokeWidth" value="4"/><add as="labelBackgroundColor" value="default"/><add as="verticalAlign" value="top"/><add as="spacingTop" value="8"/></add><add as="image"><add as="shape" value="image"/><add as="labelBackgroundColor" value="default"/><add as="verticalAlign" value="top"/><add as="verticalLabelPosition" value="bottom"/></add><add as="roundImage" extend="image"><add as="perimeter" value="ellipsePerimeter"/></add><add as="rhombusImage" extend="image"><add as="perimeter" value="rhombusPerimeter"/></add><add as="arrow"><add as="shape" value="arrow"/><add as="edgeStyle" value="none"/><add as="fillColor" value="default"/></add><add as="fancy"><add as="shadow" value="1"/><add as="glass" value="1"/></add><add as="gray" extend="fancy"><add as="gradientColor" value="#B3B3B3"/><add as="fillColor" value="#F5F5F5"/><add as="strokeColor" value="#666666"/></add><add as="blue" extend="fancy"><add as="gradientColor" value="#7EA6E0"/><add as="fillColor" value="#DAE8FC"/><add as="strokeColor" value="#6C8EBF"/></add><add as="green" extend="fancy"><add as="gradientColor" value="#97D077"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#82B366"/></add><add as="turquoise" extend="fancy"><add as="gradientColor" value="#67AB9F"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#6A9153"/></add><add as="yellow" extend="fancy"><add as="gradientColor" value="#FFD966"/><add as="fillColor" value="#FFF2CC"/><add as="strokeColor" value="#D6B656"/></add><add as="orange" extend="fancy"><add as="gradientColor" value="#FFA500"/><add as="fillColor" value="#FFCD28"/><add as="strokeColor" value="#D79B00"/></add><add as="red" extend="fancy"><add as="gradientColor" value="#EA6B66"/><add as="fillColor" value="#F8CECC"/><add as="strokeColor" value="#B85450"/></add><add as="pink" extend="fancy"><add as="gradientColor" value="#B5739D"/><add as="fillColor" value="#E6D0DE"/><add as="strokeColor" value="#996185"/></add><add as="purple" extend="fancy"><add as="gradientColor" value="#8C6C9C"/><add as="fillColor" value="#E1D5E7"/><add as="strokeColor" value="#9673A6"/></add><add as="plain-gray"><add as="gradientColor" value="#B3B3B3"/><add as="fillColor" value="#F5F5F5"/><add as="strokeColor" value="#666666"/></add><add as="plain-blue"><add as="gradientColor" value="#7EA6E0"/><add as="fillColor" value="#DAE8FC"/><add as="strokeColor" value="#6C8EBF"/></add><add as="plain-green"><add as="gradientColor" value="#97D077"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#82B366"/></add><add as="plain-turquoise"><add as="gradientColor" value="#67AB9F"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#6A9153"/></add><add as="plain-yellow"><add as="gradientColor" value="#FFD966"/><add as="fillColor" value="#FFF2CC"/><add as="strokeColor" value="#D6B656"/></add><add as="plain-orange"><add as="gradientColor" value="#FFA500"/><add as="fillColor" value="#FFCD28"/><add as="strokeColor" value="#D79B00"/></add><add as="plain-red"><add as="gradientColor" value="#EA6B66"/><add as="fillColor" value="#F8CECC"/><add as="strokeColor" value="#B85450"/></add><add as="plain-pink"><add as="gradientColor" value="#B5739D"/><add as="fillColor" value="#E6D0DE"/><add as="strokeColor" value="#996185"/></add><add as="plain-purple"><add as="gradientColor" value="#8C6C9C"/><add as="fillColor" value="#E1D5E7"/><add as="strokeColor" value="#9673A6"/></add></mxStylesheet>').documentElement;+(function(){var b=!1;"min"!=uiTheme||b||mxClient.IS_CHROMEAPP||(EditorUi.initMinimalTheme(),b=!0);var f=EditorUi.initTheme;EditorUi.initTheme=function(){f.apply(this,arguments);"min"!=uiTheme||b||(this.initMinimalTheme(),b=!0)}})();DrawioComment=function(b,f,m,t,x,q,C){this.file=b;this.id=f;this.content=m;this.modifiedDate=t;this.createdDate=x;this.isResolved=q;this.user=C;this.replies=[]};DrawioComment.prototype.addReplyDirect=function(b){null!=b&&this.replies.push(b)};DrawioComment.prototype.addReply=function(b,f,m,t,x){f()};DrawioComment.prototype.editComment=function(b,f,m){f()};DrawioComment.prototype.deleteComment=function(b,f){b()};DrawioUser=function(b,f,m,t,x){this.id=b;this.email=f;this.displayName=m;this.pictureUrl=t;this.locale=x};mxResources.parse('# *DO NOT DIRECTLY EDIT THIS FILE, IT IS AUTOMATICALLY GENERATED AND IT IS BASED ON:*\n# https://docs.google.com/spreadsheet/ccc?key=0AmQEO36liL4FdDJLWVNMaVV2UmRKSnpXU09MYkdGbEE\nabout=About\naboutDrawio=About draw.io\naccessDenied=Access Denied\naccounts=Accounts\naction=Action\nactualSize=Actual Size\nadaptiveColors=Adaptive Colors\nadd=Add\naddAccount=Add account\naddedFile=Added {1}\naddImages=Add Images\naddImageUrl=Add Image URL\naddLayer=Add Layer\naddProperty=Add Property\naddress=Address\naddToExistingDrawing=Add to Existing Drawing\naddToScratchpad=Add to Scratchpad\naddWaypoint=Add Waypoint\nadjustTo=Adjust to\nadvanced=Advanced\nsmartTemplate=Smart Template\nalign=Align\nalignment=Alignment\nallChangesLost=All changes will be lost!\nallPages=All Pages\nallProjects=All Projects\nallSelectedObjectsInThisLayer=All selected objects are in this layer\nallSpaces=All Spaces\nallTags=All Tags\nanchor=Anchor\nandroid=Android\nangle=Angle\nanimations=Animations\narc=Arc\nareYouSure=Are you sure?\nensureDataSaved=Please ensure your data is saved before closing.\nallChangesSaved=All changes saved\nallChangesSavedInDrive=All changes saved in Drive\nallowPopups=Allow pop-ups to avoid this dialog.\nallowRelativeUrl=Allow relative URL\nalreadyConnected=Nodes already connected\nappearance=Appearance\napply=Apply\narchiMate21=ArchiMate 2.1\narrange=Arrange\narrow=Arrow\narrows=Arrows\naskMeAnything=Ask me anything\nasNew=As New\natlas=Atlas\nauthor=Author\nauthorizationRequired=Authorization required\nauthorizeThisAppIn=Authorize this app in {1}:\nauthorize=Authorize\nauthorizing=Authorizing\nautomatic=Automatic\nautosave=Autosave\nautosize=Autosize\nattachments=Attachments\naws=AWS\naws3d=AWS 3D\nazure=Azure\nback=Back\nbackground=Background\nbackgroundColor=Background Color\nbackgroundImage=Background Image\nbasic=Basic\nbeta=beta\nblankDrawing=Blank Drawing\nblankDiagram=Blank Diagram\nblock=Block\nblockquote=Blockquote\nblog=Blog\nbold=Bold\nbootstrap=Bootstrap\nborder=Border\nborderColor=Border Color\nborderWidth=Border Width\nbottom=Bottom\nbottomAlign=Bottom Align\nbottomLeft=Bottom Left\nbottomRight=Bottom Right\nbpmn=BPMN\nbringForward=Bring Forward\nbrowser=Browser\nbulletedList=Bulleted List\nbusiness=Business\nbusy=Operation in progress\ncabinets=Cabinets\ncancel=Cancel\ncenter=Center\ncannotLoad=Load attempts failed. Please try again later.\ncannotLogin=Log in attempts failed. Please try again later.\ncannotOpenFile=Cannot open file\nchange=Change\nchangeOrientation=Change Orientation\nchangeUser=Change user\nchangeStorage=Change storage\nchangesNotSaved=Changes have not been saved\nclassDiagram=Class Diagram\nuserJoined={1} has joined\nuserLeft={1} has left\nchatWindowTitle=Chat\nchooseAnOption=Choose an option\nchromeApp=Chrome App\ncollaborativeEditingNotice=Important Notice for Collaborative Editing\ncompare=Compare\ncompressed=Compressed\ncommitMessage=Commit Message\nconfigLinkWarn=This link configures draw.io. Only click OK if you trust whoever gave you it!\nconfigLinkConfirm=Click OK to configure and restart draw.io.\ncontainer=Container\ncsv=CSV\ncurrentLayer=Current Layer\ndark=Dark\ndiagramLanguage=Diagram Language\ndiagramType=Diagram type\ndiagramXmlDesc=XML File\ndiagramHtmlDesc=HTML File\ndiagramPngDesc=Editable Bitmap Image\ndiagramSvgDesc=Editable Vector Image\ndidYouMeanToExportToPdf=Did you mean to export to PDF?\ndisabled=Disabled\ndraftFound=A draft for \'{1}\' has been found. Load it into the editor or discard it to continue.\ndraftRevisionMismatch=There is a different version of this diagram on a shared draft of this page. Please edit the diagram from the draft to ensure you are working with the latest version.\nselectDraft=Select a draft to continue editing:\ndragAndDropNotSupported=Drag and drop not supported for images. Would you like to import instead?\ndropboxCharsNotAllowed=The following characters are not allowed: / : ? * " |\ncheck=Check\nchecksum=Checksum\ncircle=Circle\ncisco=Cisco\nclassic=Classic\nclearDefaultStyle=Clear Default Style\nclearWaypoints=Clear Waypoints\nclipart=Clipart\nclose=Close\nclosingFile=Closing file\nrealtimeCollaboration=Real-Time Collaboration\ncollaborate=Collaborate\ncollaborator=Collaborator\ncollaborators=Collaborators\ncollapse=Collapse\ncollapseExpand=Collapse/Expand\ncollapse-expand=Click to collapse/expand\nShift-click to move neighbors \nAlt-click to protect group size\ncollapsible=Collapsible\ncomic=Comic\ncomment=Comment\ncommentsNotes=Comments/Notes\ncompress=Compress\nconfiguration=Configuration\nconnect=Connect\nconnecting=Connecting\nconnectWithDrive=Connect with Google Drive\nconnection=Connection\nconnectionArrows=Connection Arrows\nconnectionPoints=Connection Points\nconstrainProportions=Constrain Proportions\ncontainsValidationErrors=Contains validation errors\ncopiedToClipboard=Copied to clipboard\ncopy=Copy\ncopyConnect=Copy on Connect\ncopyCreated=A copy of the file was created.\ncopyData=Copy Data\ncopyOf=Copy of {1}\ncopyOfDrawing=Copy of Drawing\ncopySize=Copy Size\ncopyStyle=Copy Style\ncreate=Create\ncreateBlankDiagram=Create Blank Diagram\ncreateNewDiagram=Create New Diagram\ncreateRevision=Create Revision\ncreateShape=Create Shape\ncrop=Crop\ncurved=Curved\ncustom=Custom\ncurrent=Current\ncurrentPage=Current page\ncut=Cut\ndashed=Dashed\ndecideLater=Decide later\ndefault=Default\ndelete=Delete\ndeleteAll=Delete all\ndeleteColumn=Delete column\ndeleteLibrary401=Insufficient permissions to delete this library\ndeleteLibrary404=Selected library could not be found\ndeleteLibrary500=Error deleting library\ndeleteLibraryConfirm=You are about to permanently delete this library. Are you sure you want to do this?\ndeleteRow=Delete Row\ndescription=Description\ndescribeYourDiagram=Describe your diagram\ndevice=Device\ndiagram=Diagram\ndiagramContent=Diagram Content\ndiagramLocked=Diagram has been locked to prevent further data loss.\ndiagramLockedBySince=The diagram is locked by {1} since {2} ago\ndiagramName=Diagram Name\ndiagramIsPublic=Diagram is public\ndiagramIsNotPublic=Diagram is not public\ndiamond=Diamond\ndiamondThin=Diamond (thin)\ndidYouKnow=Did you know...\ndirection=Direction\ndiscard=Discard\ndiscardChangesAndReconnect=Discard Changes and Reconnect\ngoogleDriveMissingClickHere=Google Drive missing? Click here!\ndiscardChanges=Discard Changes\ndisconnected=Disconnected\ndistribute=Distribute\ndone=Done\ndoNotShowAgain=Do not show again\ndotted=Dotted\ndoubleClickOrientation=Doubleclick to change orientation\ndoubleClickTooltip=Doubleclick to insert text\ndoubleClickChangeProperty=Doubleclick to change property name\ndownload=Download\ndownloadDesktop=Get Desktop\ndownloadAs=Download as\nclickHereToSave=Click here to save.\ndpi=DPI\ndraftDiscarded=Draft discarded\ndraftSaved=Draft saved\ndragElementsHere=Drag elements here\ndragImagesHere=Drag images or URLs here\ndragUrlsHere=Drag URLs here\ndraw.io=draw.io\ndrawing=Drawing{1}\ndrawingEmpty=Drawing is empty\ndrawingTooLarge=Drawing is too large\ndrawioForWork=Draw.io for GSuite\ndropbox=Dropbox\nduplicate=Duplicate\nduplicateIt=Duplicate {1}\ndivider=Divider\ndx=Dx\ndy=Dy\neast=East\nedit=Edit\neditData=Edit Data\neditDiagram=Edit Diagram\neditGeometry=Edit Geometry\neditImage=Edit Image\neditImageUrl=Edit Image URL\neditLink=Edit Link\neditShape=Edit Shape\neditStyle=Edit Style\neditText=Edit Text\neditTooltip=Edit Tooltip\nglass=Glass\ngoogleImages=Google Images\nimageSearch=Image Search\neip=EIP\nembed=Embed\nembedFonts=Embed Fonts\nembedImages=Embed Images\nmainEmbedNotice=Paste this into the page\nelectrical=Electrical\nellipse=Ellipse\nembedNotice=Paste this once at the end of the page\nenterGroup=Enter Group\nenterName=Enter Name\nenterPropertyName=Enter Property Name\nenterValue=Enter Value\nentityRelation=Entity Relation\nentityRelationshipDiagram=Entity Relationship Diagram\nerror=Error\nerrorDeletingFile=Error deleting file\nerrorLoadingFile=Error loading file\nerrorRenamingFile=Error renaming file\nerrorRenamingFileNotFound=Error renaming file. File was not found.\nerrorRenamingFileForbidden=Error renaming file. Insufficient access rights.\nerrorSavingDraft=Error saving draft\nerrorSavingFile=Error saving file\nerrorSavingFileUnknown=Error authorizing with Google\'s servers. Please refresh the page to re-attempt.\nerrorSavingFileForbidden=Error saving file. Insufficient access rights.\nerrorSavingFileNameConflict=Could not save diagram. Current page already contains file named \'{1}\'.\nerrorSavingFileNotFound=Error saving file. File was not found.\nerrorSavingFileReadOnlyMode=Could not save diagram while read-only mode is active.\nerrorSavingFileSessionTimeout=Your session has ended. Please <a target=\'_blank\' href=\'{1}\'>{2}</a> and return to this tab to try to save again.\nerrorSendingFeedback=Error sending feedback.\nerrorUpdatingPreview=Error updating preview.\nexit=Exit\nexitGroup=Exit Group\nexpand=Expand\nexplore=Explore\nexport=Export\nexporting=Exporting\nexportAs=Export as\nexportOptionsDisabled=Export options disabled\nexportOptionsDisabledDetails=The owner has disabled options to download, print or copy for commenters and viewers on this file.\nexternalChanges=External Changes\nextras=Extras\nfailedToSaveTryReconnect=Failed to save, trying to reconnect\nfeatureRequest=Feature Request\nfeedback=Feedback\nfeedbackSent=Feedback successfully sent.\nfloorplans=Floorplans\nfile=File\nfileChangedOverwriteDialog=The file has been modified. Do you want to save the file and overwrite those changes?\nfileChangedSyncDialog=The file has been modified.\nfileChangedSync=The file has been modified. Click here to synchronize.\noverwrite=Overwrite\nsynchronize=Synchronize\nfilename=Filename\nfileExists=File already exists\nfileMovedToTrash=File was moved to trash\nfileNearlyFullSeeFaq=File nearly full, please see FAQ\nfileNotFound=File not found\nrepositoryNotFound=Repository not found\nfileNotFoundOrDenied=The file was not found. It does not exist or you do not have access.\nfileNotLoaded=File not loaded\nfileNotSaved=File not saved\nfileOpenLocation=How would you like to open these file(s)?\nfiletypeHtml=.html causes file to save as HTML with redirect to cloud URL\nfiletypePng=.png causes file to save as PNG with embedded data\nfiletypeSvg=.svg causes file to save as SVG with embedded data\nfileWillBeSavedInAppFolder={1} will be saved in the app folder.\nfill=Fill\nfillColor=Fill Color\nfilterCards=Filter Cards\nfind=Find\nfindInDiagram=Find in Diagram\nfit=Fit\nfitContainer=Resize Container\nfitIntoContainer=Fit into Container\nfitPage=Fit Page\nfitPageWidth=Fit Page Width\nfitTo=Fit to\nfitToSheetsAcross=sheet(s) across\nfitToBy=by\nfitToSheetsDown=sheet(s) down\nfitTwoPages=Two Pages\nfitWindow=Fit Window\nflip=Flip\nflipH=Flip Horizontal\nflipV=Flip Vertical\nflowAnimation=Flow Animation\nflowchart=Flowchart\nfolder=Folder\nfont=Font\nfontColor=Font Color\nfontFamily=Font Family\nfontSize=Font Size\nforbidden=You are not authorized to access this file\nformat=Format\nformatPanel=Format Panel\nformatted=Formatted\nformattedText=Formatted Text\nformatPng=PNG\nformatGif=GIF\nformatJpg=JPEG\nformatPdf=PDF\nformatSql=SQL\nformatSvg=SVG\nformatHtmlEmbedded=HTML\nformatSvgEmbedded=SVG (with XML)\nformatVsdx=VSDX\nformatVssx=VSSX\nformatWebp=WebP\nformatXmlPlain=XML (Plain)\nformatXml=XML\nforum=Discussion/Help Forums\nfreehand=Freehand\nfromTemplate=From Template\nfromTemplateUrl=From Template URL\nfromText=From Text\nfromUrl=From URL\nfromThisPage=From this page\nfullscreen=Fullscreen\ngap=Gap\ngcp=GCP\ngeneral=General\ngetNotionChromeExtension=Get the Notion Chrome Extension\ngithub=GitHub\ngitlab=GitLab\ngliffy=Gliffy\nglobal=Global\ngoogleDocs=Google Docs\ngoogleDrive=Google Drive\ngoogleGadget=Google Gadget\ngoogleSharingNotAvailable=Sharing is only available via Google Drive. Please click Open below and share from the more actions menu:\ngoogleSlides=Google Slides\ngoogleSites=Google Sites\ngoogleSheets=Google Sheets\ngradient=Gradient\ngradientColor=Color\ngrid=Grid\ngridColor=Grid Color\ngridSize=Grid Size\ngroup=Group\nguides=Guides\nhateApp=I hate draw.io\nheading=Heading\nheight=Height\nhelp=Help\nhelpTranslate=Help us translate this application\nhide=Hide\nhideIt=Hide {1}\nhidden=Hidden\nhighContrast=High Contrast\nhome=Home\nhorizontal=Horizontal\nhorizontalFlow=Horizontal Flow\nhorizontalTree=Horizontal Tree\nhowTranslate=How good is the translation in your language?\nhtml=HTML\nhtmlText=HTML Text\nid=ID\niframe=IFrame\nignore=Ignore\nimage=Image\nimageUrl=Image URL\nimages=Images\nimagePreviewError=This image couldn\'t be loaded for preview. Please check the URL.\nimageTooBig=Image too big\nimgur=Imgur\nimport=Import\nimportFrom=Import from\nimproveContrast=Improve Contrast\nincludeCopyOfMyDiagram=Include a copy of my diagram\nincreaseIndent=Increase Indent\ndecreaseIndent=Decrease Indent\ninsert=Insert\ninsertColumnBefore=Insert Column Left\ninsertColumnAfter=Insert Column Right\ninsertEllipse=Insert Ellipse\ninsertImage=Insert Image\ninsertHorizontalRule=Insert Horizontal Rule\ninsertLink=Insert Link\ninsertPage=Insert Page\ninsertRectangle=Insert Rectangle\ninsertRhombus=Insert Rhombus\ninsertRowBefore=Insert Row Above\ninsertRowAfter=Insert Row After\ninsertText=Insert Text\ninserting=Inserting\ninstallApp=Install App\ninvalidFilename=Diagram names must not contain the following characters: / | : ; { } < > & + ? = "\ninvalidLicenseSeeThisPage=Your license is invalid, please see this <a target="_blank" href="https://www.drawio.com/doc/faq/license-drawio-confluence-jira-cloud">page</a>.\ninvalidInput=Invalid input\ninvalidName=Invalid name\ninvalidOrMissingFile=Invalid or missing file\ninvalidPublicUrl=Invalid public URL\ninvertSelection=Invert Selection\nisometric=Isometric\nios=iOS\nitalic=Italic\nkennedy=Kennedy\nkeyboardShortcuts=Keyboard Shortcuts\nlabels=Labels\nlayers=Layers\nlandscape=Landscape\nlanguage=Language\nleanMapping=Lean Mapping\nlastChange=Last change {1} ago\nlessThanAMinute=less than a minute\nlicensingError=Licensing Error\nlicenseHasExpired=The license for {1} has expired on {2}. Click here.\nlicenseRequired=This feature requires draw.io to be licensed.\nlicenseWillExpire=The license for {1} will expire on {2}. Click here.\nlight=Light\nlineJumps=Line jumps\nlinkAccountRequired=If the diagram is not public a Google account is required to view the link.\nlinkText=Link Text\nlist=List\nminute=minute\nminutes=minutes\nhours=hours\ndays=days\nmonths=months\nyears=years\nrestartForChangeRequired=Changes will take effect after a restart of the application.\nlaneColor=Lanecolor\nlanguageCode=Language Code\nlastModified=Last modified\nlayout=Layout\nleft=Left\nleftAlign=Left Align\nleftToRight=Left to Right\nlibraryTooltip=Drag and drop shapes here or click + to insert. Double click to edit.\nlightbox=Lightbox\nline=Line\nlineend=Line end\nlineheight=Line Height\nlinestart=Line start\nlinewidth=Linewidth\nlink=Link\nlinks=Links\nloading=Loading\nlock=Lock\nlocked=Locked\nlockUnlock=Lock/Unlock\nloggedOut=Logged Out\nlogIn=log in\nloveIt=I love {1}\nlucidchart=Lucidchart\nmaps=Maps\nmathematicalTypesetting=Mathematical Typesetting\nmakeCopy=Make a Copy\nmanual=Manual\nmaximize=Maximize\nmerge=Merge\nmermaid=Mermaid\nmicrosoftOffice=Microsoft Office\nmicrosoftExcel=Microsoft Excel\nmicrosoftPowerPoint=Microsoft PowerPoint\nmicrosoftWord=Microsoft Word\nmiddle=Middle\nminimal=Minimal\nminimize=Minimize\nmisc=Misc\nmockups=Mockups\nmodern=Modern\nmodificationDate=Modification date\nmodifiedBy=Modified by\nmore=More\nmoreResults=More Results\nmoreShapes=More Shapes\nmove=Move\nmoveToFolder=Move to Folder\nmoving=Moving\nmoveSelectionTo=Move Selection to {1}\nmyDrive=My Drive\nmyFiles=My Files\nname=Name\nnavigation=Navigation\nnetwork=Network\nnetworking=Networking\nnew=New\nnewLibrary=New Library\nnextPage=Next Page\nno=No\nnoPickFolder=No, pick folder\nnoAttachments=No attachments found\nnoColor=No Color\nnoFiles=No Files\nnoFileSelected=No file selected\nnoLibraries=No libraries found\nnoMoreResults=No more results\nnone=None\nnoOtherViewers=No other viewers\nnoPlugins=No plugins\nnoPreview=No preview\nnoResponse=No response from server\nnoResultsFor=No results for \'{1}\'\nnoRevisions=No revisions\nnoSearchResults=No search results found\nnoPageContentOrNotSaved=No anchors found on this page or it hasn\'t been saved yet\nnormal=Normal\nnorth=North\nnotADiagramFile=Not a diagram file\nnotALibraryFile=Not a library file\nnotAvailable=Not available\nnotAUtf8File=Not a UTF-8 file\nnotConnected=Not connected\nnote=Note\nnotion=Notion\nnotSatisfiedWithImport=Not satisfied with the import?\nnotUsingService=Not using {1}?\nnumberedList=Numbered list\noffline=Offline\nok=OK\noneDrive=OneDrive\nonline=Online\nopacity=Opacity\nopen=Open\nopenArrow=Open Arrow\nopenExistingDiagram=Open Existing Diagram\nopenFile=Open File\nopenFrom=Open from\nopenLibrary=Open Library\nopenLibraryFrom=Open Library from\nopenLink=Open Link\nopenInNewWindow=Open in New Window\nopenInThisWindow=Open in This Window\nopenIt=Open {1}\nopenRecent=Open Recent\nopenSupported=Supported formats are files saved from this software (.xml), .vsdx and .gliffy\noptions=Options\norganic=Organic\norgChart=Org Chart\northogonal=Orthogonal\notherViewer=other viewer\notherViewers=other viewers\noutline=Outline\noval=Oval\npage=Page\npageContent=Page Content\npageNotFound=Page not found\npageWithNumber=Page-{1}\npages=Pages\npageTabs=Page Tabs\npageView=Page View\npageSetup=Page Setup\npageScale=Page Scale\npan=Pan\npanTooltip=Space+Drag to pan\npaperSize=Paper Size\npattern=Pattern\nparallels=Parallels\npaste=Paste\npasteData=Paste Data\npasteHere=Paste Here\npasteSize=Paste Size\npasteStyle=Paste Style\nperimeter=Perimeter\npermissionAnyone=Anyone can edit\npermissionAuthor=Owner and admins can edit\npickFolder=Pick a folder\npickLibraryDialogTitle=Select Library\npublicDiagramUrl=Public URL of the diagram\nplaceholders=Placeholders\nplantUml=PlantUML\nplugins=Plugins\npluginUrl=Plugin URL\npluginWarning=The page has requested to load the following plugin(s):\n \n {1}\n \n Would you like to load these plugin(s) now?\n \n NOTE : Only allow plugins to run if you fully understand the security implications of doing so.\n\nplusTooltip=Click to connect and clone (ctrl+click to clone, shift+click to connect). Drag to connect (ctrl+drag to clone).\nportrait=Portrait\nposition=Position\nposterPrint=Poster Print\npreferences=Preferences\npreview=Preview\npreviousPage=Previous Page\npresentationMode=Presentation Mode\nprint=Print\nprocEng=Proc. Eng.\nproject=Project\npriority=Priority\nprocessForHiringNewEmployee=Process for hiring a new employee\nproperties=Properties\npublish=Publish\nquickStart=Quick Start Video\nrack=Rack\nradial=Radial\nradialTree=Radial Tree\nreadOnly=Read-only\nreconnecting=Reconnecting\nrecentlyUpdated=Recently Updated\nrecentlyViewed=Recently Viewed\nrectangle=Rectangle\nredirectToNewApp=This file was created or modified in a newer version of this app. You will be redirected now.\nrealtimeTimeout=It looks like you\'ve made a few changes while offline. We\'re sorry, these changes cannot be saved.\nredo=Redo\nrefresh=Refresh\nregularExpression=Regular Expression\nrelative=Relative\nrelativeUrlNotAllowed=Relative URL not allowed\nrememberMe=Remember me\nrememberThisSetting=Remember this setting\nremoveFormat=Clear Formatting\nremoveFromGroup=Remove from Group\nremoveIt=Remove {1}\nremoveWaypoint=Remove Waypoint\nrename=Rename\nrenamed=Renamed\nrenameIt=Rename {1}\nrenaming=Renaming\nreplace=Replace\nreplaceIt={1} already exists. Do you want to replace it?\nreplaceExistingDrawing=Replace existing drawing\nrequired=required\nrequirementDiagram=Requirement Diagram\nreset=Reset\nresetView=Reset View\nresize=Resize\nresizeLargeImages=Do you want to resize large images to make the application run faster?\nretina=Retina\nresponsive=Responsive\nrestore=Restore\nrestoring=Restoring\nretryingIn=Retrying in {1} second(s)\nretryingLoad=Load failed. Retrying...\nretryingLogin=Login time out. Retrying...\nreverse=Reverse\nrevision=Revision\nrevisionHistory=Revision History\nrhombus=Rhombus\nright=Right\nrightAlign=Right Align\nrightToLeft=Right to Left\nrotate=Rotate\nrotateTooltip=Click and drag to rotate, click to turn shape only by 90 degrees\nrotation=Rotation\nrounded=Rounded\nsave=Save\nsaveAndExit=Save & Exit\nsaveAs=Save as\nsaveAsXmlFile=Save as XML file?\nsaved=Saved\nsaveDiagramFirst=Please save the diagram first\nsaveDiagramsTo=Save diagrams to\nsaveLibrary403=Insufficient permissions to edit this library\nsaveLibrary500=There was an error while saving the library\nsaveLibraryReadOnly=Could not save library while read-only mode is active\nsaving=Saving\nscratchpad=Scratchpad\nscrollbars=Scrollbars\nsearch=Search\nsearchShapes=Search Shapes\nselectAll=Select All\nselectionOnly=Selection Only\nselectCard=Select Card\nselectEdges=Select Edges\nselectedPage=Selected Page\nselectFile=Select File\nselectFolder=Select Folder\nselectFont=Select Font\nselection=Selection\nselectNone=Select None\nselectObjectsInLayer=Select Objects in Layer\nselectTemplate=Select Template\nselectVertices=Select Vertices\nsendBackward=Send Backward\nsendMessage=Send\nsendYourFeedback=Send your feedback\nsequenceDiagram=Sequence Diagram\nserviceUnavailableOrBlocked=Service unavailable or blocked\nsessionExpired=Your session has expired. Please refresh the browser window.\nsessionTimeoutOnSave=Your session has timed out and you have been disconnected from the Google Drive. Press OK to login and save.\nsetAsDefaultStyle=Set as Default Style\nsettings=Settings\nshadow=Shadow\nshadows=Shadows\nshape=Shape\nshapes=Shapes\nshare=Share\nshareCursor=Share Mouse Cursor\nshareLink=Link for shared editing\nsharingAvailable=Sharing available for Google Drive and OneDrive files.\nsaveItToGoogleDriveToCollaborate=You\'ll need to save "{1}" to Google Drive before you can collaborate.\nsaveToGoogleDrive=Save to Google Drive\nsharp=Sharp\nshow=Show\nshowRemoteCursors=Show Remote Mouse Cursors\nshowStartScreen=Show Start Screen\nsidebarTooltip=Click or drag and drop shapes. Shift+click to change selection. Alt+click to insert and connect.\nsigns=Signs\nsignOut=Sign out\nsimple=Simple\nsimpleArrow=Simple Arrow\nsimpleViewer=Simple Viewer\nsize=Size\nsketch=Sketch\nsmoothing=Smoothing\nsnapToGrid=Snap to Grid\nsolid=Solid\nsourceSpacing=Source Spacing\nsouth=South\nsoftware=Software\nspace=Space\nspacing=Spacing\nspecialLink=Special Link\nstateDiagram=State Diagram\nstandard=Standard\nstartDrawing=Start drawing\nstopDrawing=Stop drawing\nstarting=Starting\nstraight=Straight\nstrikethrough=Strikethrough\nstrokeColor=Line Color\nstyle=Style\nsubscript=Subscript\nsummary=Summary\nsuperscript=Superscript\nsupport=Support\nswap=Swap\nswimlaneDiagram=Swimlane Diagram\nsysml=SysML\ntags=Tags\ntable=Table\ntables=Tables\ntakeOver=Take Over\ntargetSpacing=Target Spacing\ntemplate=Template\ntemplates=Templates\ntext=Text\ntextAlignment=Text Alignment\ntextOpacity=Text Opacity\ntheme=Theme\ntimeout=Timeout\ntitle=Title\nto=to\ntoBack=To Back\ntoFront=To Front\ntooLargeUseDownload=Too large, use download instead.\ntoolbar=Toolbar\ntooltips=Tooltips\ntop=Top\ntopAlign=Top Align\ntopLeft=Top Left\ntopRight=Top Right\ntransparent=Transparent\ntransparentBackground=Transparent Background\ntrello=Trello\ntryAgain=Try again\ntryOpeningViaThisPage=Try opening via this page\nturn=Rotate Shape Only by 90°\ntype=Type\ntypeSlashToSearch=Type / to search\numl=UML\nunassigned=Unassigned\nunderline=Underline\nundo=Undo\nungroup=Ungroup\nunlock=Unlock\nunmerge=Unmerge\nunsavedChanges=Unsaved changes\nunsavedChangesClickHereToSave=Unsaved changes. Click here to save.\nuntitled=Untitled\nuntitledDiagram=Untitled Diagram\nuntitledLayer=Untitled Layer\nuntitledLibrary=Untitled Library\nunknownError=Unknown error\nunknownUser=Unknown user\nupdateExistingDrawing=Update existing drawing\nupdateFile=Update {1}\nupdatingDocument=Updating Document. Please wait...\nupdatingPreview=Updating Preview. Please wait...\nupdatingSelection=Updating Selection. Please wait...\nupload=Upload\nurl=URL\nuseBlackAndWhite=Use black and white\nuseCurrentSettings=Use current settings\nuseOffline=Use Offline\nuserDefined=User-defined\nuseRootFolder=Use root folder?\nuserManual=User Manual\nvertical=Vertical\nverticalFlow=Vertical Flow\nverticalTree=Vertical Tree\nview=View\nviewerSettings=Viewer Settings\nviewUrl=Link to view: {1}\nvoiceAssistant=Voice Assistant (beta)\nwarning=Warning\nwaypoints=Waypoints\nwest=West\nwhere=Where\nwidth=Width\nwiki=Wiki\nwordWrap=Word Wrap\nwritingDirection=Writing Direction\nyes=Yes\nyourEmailAddress=Your email address\nzoom=Zoom\nzoomIn=Zoom In\nzoomOut=Zoom Out\nbasic=Basic\nbusinessprocess=Business Processes\ncharts=Charts\nengineering=Engineering\nflowcharts=Flowcharts\ngmdl=Material Design\nmindmaps=Mindmaps\nmockups=Mockups\nnetworkdiagrams=Network Diagrams\nnothingIsSelected=Nothing is selected\nother=Other\nsoftwaredesign=Software Design\nvenndiagrams=Venn Diagrams\nwebEmailOrOther=Web, email or any other internet address\nwebLink=Web Link\nwireframes=Wireframes\nproperty=Property\nvalue=Value\nshowMore=Show More\nshowLess=Show Less\nmyDiagrams=My Diagrams\nallDiagrams=All Diagrams\nrecentlyUsed=Recently used\nlistView=List view\ngridView=Grid view\nresultsFor=Results for \'{1}\'\noneDriveCharsNotAllowed=The following characters are not allowed: ~ " # % * : < > ? / { | }\noneDriveInvalidDeviceName=The specified device name is invalid\nofficeNotLoggedOD=You are not logged in to OneDrive. Please open draw.io task pane and login first.\nofficeSelectSingleDiag=Please select a single draw.io diagram only without other contents.\nofficeSelectDiag=Please select a draw.io diagram.\nofficeCannotFindDiagram=Cannot find a draw.io diagram in the selection\nnoDiagrams=No diagrams found\nauthFailed=Authentication failed\nofficeFailedAuthMsg=Unable to successfully authenticate user or authorize application.\nconvertingDiagramFailed=Converting diagram failed\nofficeCopyImgErrMsg=Due to some limitations in the host application, the image could not be inserted. Please manually copy the image then paste it to the document.\ninsertingImageFailed=Inserting image failed\nofficeCopyImgInst=Instructions: Right-click the image below. Select "Copy image" from the context menu. Then, in the document, right-click and select "Paste" from the context menu.\nfolderEmpty=Folder is empty\nrecent=Recent\nsharedWithMe=Shared With Me\nsharepointSites=Sharepoint Sites\nerrorFetchingFolder=Error fetching folder items\nerrorAuthOD=Error authenticating to OneDrive\nofficeMainHeader=Adds draw.io diagrams to your document.\nofficeStepsHeader=This add-in performs the following steps:\nofficeStep1=Connects to Microsoft OneDrive, Google Drive or your device.\nofficeStep2=Select a draw.io diagram.\nofficeStep3=Insert the diagram into the document.\nofficeAuthPopupInfo=Please complete the authentication in the pop-up window.\nofficeSelDiag=Select draw.io Diagram:\nfiles=Files\nshared=Shared\nsharepoint=Sharepoint\nofficeManualUpdateInst=Instructions: Copy draw.io diagram from the document. Then, in the box below, right-click and select "Paste" from the context menu.\nofficeClickToEdit=Click icon to start editing:\npasteDiagram=Paste draw.io diagram here\nconnectOD=Connect to OneDrive\nselectChildren=Select Children\nselectSiblings=Select Siblings\nselectParent=Select Parent\nselectDescendants=Select Descendants\nlastSaved=Last saved {1} ago\nresolve=Resolve\nreopen=Re-open\nshowResolved=Show Resolved\nreply=Reply\nobjectNotFound=Object not found\nreOpened=Re-opened\nmarkedAsResolved=Marked as resolved\nnoCommentsFound=No comments found\ncomments=Comments\ntimeAgo={1} ago\nconfluenceCloud=Confluence Cloud\nlibraries=Libraries\nconfAnchor=Confluence Page Anchor\nconfTimeout=The connection has timed out\nconfSrvTakeTooLong=The server at {1} is taking too long to respond.\nconfCannotInsertNew=Cannot insert draw.io diagram to a new Confluence page\nconfSaveTry=Please save the page and try again.\nconfCannotGetID=Unable to determine page ID\nconfContactAdmin=Please contact your Confluence administrator.\nreadErr=Read Error\neditingErr=Editing Error\nconfExtEditNotPossible=This diagram cannot be edited externally. Please try editing it while editing the page\nconfEditedExt=Diagram/Page edited externally\ndiagNotFound=Diagram Not Found\nconfEditedExtRefresh=Diagram/Page is edited externally. Please refresh the page.\nconfCannotEditDraftDelOrExt=Cannot edit diagrams in a draft page, diagram is deleted from the page, or diagram is edited externally. Please check the page.\nretBack=Return back\nconfDiagNotPublished=The diagram does not belong to a published page\ncreatedByDraw=Created by draw.io\nfilenameShort=Filename too short\ninvalidChars=Invalid characters\nalreadyExst={1} already exists\ndraftReadErr=Draft Read Error\ndiagCantLoad=Diagram cannot be loaded\ndraftWriteErr=Draft Write Error\ndraftCantCreate=Draft could not be created\nconfDuplName=Duplicate diagram name detected. Please pick another name.\nconfSessionExpired=Looks like your session expired. Log in again to keep working.\nlogin=Login\ndrawPrev=draw.io preview\ndrawDiag=draw.io diagram\ninvalidCallFnNotFound=Invalid Call: {1} not found\ninvalidCallErrOccured=Invalid Call: An error occurred, {1}\nanonymous=Anonymous\nconfGotoPage=Go to containing page\nshowComments=Show Comments\nconfError=Error: {1}\ngliffyImport=Gliffy Import\ngliffyImportInst1=Click the "Start Import" button to import all Gliffy diagrams to draw.io.\ngliffyImportInst2=Please note that the import procedure will take some time and the browser window must remain open until the import is completed.\nstartImport=Start Import\ndrawConfig=draw.io Configuration\ncustomLib=Custom Libraries\ncustomTemp=Custom Templates\npageIdsExp=Page IDs Export\ndrawReindex=draw.io re-indexing\nworking=Working\ndrawConfigNotFoundInst=draw.io Configuration Space (DRAWIOCONFIG) does not exist. This space is needed to store draw.io configuration files and custom libraries/templates.\ncreateConfSp=Create Config Space\nunexpErrRefresh=Unexpected error, please refresh the page and try again.\nconfigJSONInst=Write draw.io JSON configuration in the editor below then click save. If you need help, please refer to\nthisPage=this page\ncurCustLib=Current Custom Libraries\nlibName=Library Name\naction=Action\ndrawConfID=draw.io Config ID\naddLibInst=Click the "Add Library" button to upload a new library.\naddLib=Add Library\ncustomTempInst1=Custom templates are draw.io diagrams saved in children pages of\ncustomTempInst2=For more details, please refer to\ntempsPage=Templates page\npageIdsExpInst1=Select export target, then click the "Start Export" button to export all pages IDs.\npageIdsExpInst2=Please note that the export procedure will take some time and the browser window must remain open until the export is completed.\nstartExp=Start Export\nrefreshDrawIndex=Refresh draw.io Diagrams Index\nreindexInst1=Click the "Start Indexing" button to refresh draw.io diagrams index.\nreindexInst2=Please note that the indexing procedure will take some time and the browser window must remain open until the indexing is completed.\nstartIndexing=Start Indexing\nconfAPageFoundFetch=Page "{1}" found. Fetching\nconfAAllDiagDone=All {1} diagrams processed. Process finished.\nconfAStartedProcessing=Started processing page "{1}"\nconfAAllDiagInPageDone=All {1} diagrams in page "{2}" processed successfully.\nconfAPartialDiagDone={1} out of {2} {3} diagrams in page "{4}" processed successfully.\nconfAUpdatePageFailed=Updating page "{1}" failed.\nconfANoDiagFoundInPage=No {1} diagrams found in page "{2}".\nconfAFetchPageFailed=Fetching the page failed.\nconfANoDiagFound=No {1} diagrams found. Process finished.\nconfASearchFailed=Searching for {1} diagrams failed. Please try again later.\nconfAGliffyDiagFound={2} diagram "{1}" found. Importing\nconfAGliffyDiagImported={2} diagram "{1}" imported successfully.\nconfASavingImpGliffyFailed=Saving imported {2} diagram "{1}" failed.\nconfAImportedFromByDraw=Imported from "{1}" by draw.io\nconfAImportGliffyFailed=Importing {2} diagram "{1}" failed.\nconfAFetchGliffyFailed=Fetching {2} diagram "{1}" failed.\nconfACheckBrokenDiagLnk=Checking for broken diagrams links.\nconfADelDiagLinkOf=Deleting diagram link of "{1}"\nconfADupLnk=(duplicate link)\nconfADelDiagLnkFailed=Deleting diagram link of "{1}" failed.\nconfAUnexpErrProcessPage=Unexpected error during processing the page with id: {1}\nconfADiagFoundIndex=Diagram "{1}" found. Indexing\nconfADiagIndexSucc=Diagram "{1}" indexed successfully.\nconfAIndexDiagFailed=Indexing diagram "{1}" failed.\nconfASkipDiagOtherPage=Skipped "{1}" as it belongs to another page!\nconfADiagUptoDate=Diagram "{1}" is up to date.\nconfACheckPagesWDraw=Checking pages having draw.io diagrams.\nconfAErrOccured=An error occurred!\nsavedSucc=Saved successfully\nconfASaveFailedErr=Saving Failed (Unexpected Error)\ncharacter=Character\nconfAConfPageDesc=This page contains draw.io configuration file (configuration.json) as attachment\nconfALibPageDesc=This page contains draw.io custom libraries as attachments\nconfATempPageDesc=This page contains draw.io custom templates as attachments\nconfAConfSpaceDesc=This space is used to store draw.io configuration files and custom libraries/templates\nconfANoCustLib=No Custom Libraries\ndelFailed=Delete failed!\nshowID=Show ID\nconfAIncorrectLibFileType=Incorrect file type. Libraries should be XML files.\nuploading=Uploading\nconfALibExist=This library already exists\nconfAUploadSucc=Uploaded successfully\nconfAUploadFailErr=Upload Failed (Unexpected Error)\nhiResPreview=High Res Preview\nofficeNotLoggedGD=You are not logged in to Google Drive. Please open draw.io task pane and login first.\nofficePopupInfo=Please complete the process in the pop-up window.\npickODFile=Pick OneDrive File\ncreateODFile=Create OneDrive File\npickGDriveFile=Pick Google Drive File\ncreateGDriveFile=Create Google Drive File\npickDeviceFile=Pick Device File\nvsdNoConfig="vsdurl" is not configured\nruler=Ruler\nunits=Units\npoints=Points\ninches=Inches\nmillimeters=Millimeters\nconfEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.\nconfDiagEditedExt=Diagram is edited in another session. It will be saved as a new attachment version but the page will show other session\'s modifications.\nmacroNotFound=Macro Not Found\nconfAInvalidPageIdsFormat=Incorrect Page IDs file format\nconfACollectingCurPages=Collecting current pages\nconfABuildingPagesMap=Building pages mapping\nconfAProcessDrawDiag=Started processing imported draw.io diagrams\nconfAProcessDrawDiagDone=Finished processing imported draw.io diagrams\nconfAProcessImpPages=Started processing imported pages\nconfAErrPrcsDiagInPage=Error processing draw.io diagrams in page "{1}"\nconfAPrcsDiagInPage=Processing draw.io diagrams in page "{1}"\nconfAImpDiagram=Importing diagram "{1}"\nconfAImpDiagramFailed=Importing diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.\nconfAImpDiagramError=Error importing diagram "{1}". Cannot fetch or save the diagram. Cannot fix this diagram links.\nconfAUpdateDgrmCCFailed=Updating link to diagram "{1}" failed.\nconfImpDiagramSuccess=Updating diagram "{1}" done successfully.\nconfANoLnksInDrgm=No links to update in: {1}\nconfAUpdateLnkToPg=Updated link to page: "{1}" in diagram: "{2}"\nconfAUpdateLBLnkToPg=Updated lightbox link to page: "{1}" in diagram: "{2}"\nconfAUpdateLnkBase=Updated base URL from: "{1}" to: "{2}" in diagram: "{3}"\nconfAPageIdsImpDone=Page IDs Import finished\nconfAPrcsMacrosInPage=Processing draw.io macros in page "{1}"\nconfAErrFetchPage=Error fetching page "{1}"\nconfAFixingMacro=Fixing macro of diagram "{1}"\nconfAErrReadingExpFile=Error reading export file\nconfAPrcsDiagInPageDone=Processing draw.io diagrams in page "{1}" finished\nconfAFixingMacroSkipped=Fixing macro of diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.\npageIdsExpTrg=Export target\nconfALucidDiagImgImported={2} diagram "{1}" image extracted successfully\nconfASavingLucidDiagImgFailed=Extracting {2} diagram "{1}" image failed\nconfGetInfoFailed=Fetching file info from {1} failed.\nconfCheckCacheFailed=Cannot get cached file info.\nconfReadFileErr=Cannot read "{1}" file from {2}.\nconfSaveCacheFailed=Unexpected error. Cannot save cached file\norgChartType=Org Chart Type\nlinear=Linear\nhanger2=Hanger 2\nhanger4=Hanger 4\nfishbone1=Fishbone 1\nfishbone2=Fishbone 2\n1ColumnLeft=Single Column Left\n1ColumnRight=Single Column Right\nsmart=Smart\nparentChildSpacing=Parent Child Spacing\nsiblingSpacing=Sibling Spacing\nconfNoPermErr=Sorry, you don\'t have enough permissions to view this embedded diagram from page {1}\ncopyAsImage=Copy as Image\ncopyAsText=Copy as Text\ncopyAsSvg=Copy as SVG\nlucidImport=Lucidchart Import\nlucidImportInst1=Click the "Start Import" button to import all Lucidchart diagrams.\ninstallFirst=Please install {1} first\ndrawioChromeExt=draw.io Chrome Extension\nloginFirstThen=Please login to {1} first, then {2}\nerrFetchDocList=Error: Couldn\'t fetch documents list\nbuiltinPlugins=Built-in Plugins\nextPlugins=External Plugins\nbackupFound=Backup file found\nchromeOnly=This feature only works in Google Chrome\nmsgDeleted=This message has been deleted\nconfAErrFetchDrawList=Error fetching diagrams list. Some diagrams are skipped.\nconfAErrCheckDrawDiag=Cannot check diagram {1}\nconfAErrFetchPageList=Error fetching pages list\nconfADiagImportIncom={1} diagram "{2}" is imported partially and may have missing shapes\ninvalidSel=Invalid selection\ndiagNameEmptyErr=Diagram name cannot be empty\nopenDiagram=Open Diagram\nnewDiagram=New diagram\neditable=Editable\nconfAReimportStarted=Re-import {1} diagrams started...\nspaceFilter=Filter by spaces\ncurViewState=Current Viewer State\npageLayers=Page and Layers\ncustomize=Customize\nfirstPage=First Page (All Layers)\ncurEditorState=Current Editor State\nnoAnchorsFound=No anchors found\nattachment=Attachment\ncurDiagram=Current Diagram\nrecentDiags=Recent Diagrams\ncsvImport=CSV Import\nchooseFile=Choose a file...\nchoose=Choose\ngdriveFname=Google Drive filename\nwidthOfViewer=Width of the viewer (px)\nheightOfViewer=Height of the viewer (px)\nautoSetViewerSize=Automatically set the size of the viewer\nthumbnail=Thumbnail\nprevInDraw=Preview in draw.io\nonedriveFname=OneDrive filename\ndiagFname=Diagram filename\ndiagUrl=Diagram URL\nshowDiag=Show Diagram\ndiagPreview=Diagram Preview\ncsvFileUrl=CSV File URL\ngenerate=Generate\nselectDiag2Insert=Please select a diagram to insert it.\nerrShowingDiag=Unexpected error. Cannot show diagram\nnoRecentDiags=No recent diagrams found\nfetchingRecentFailed=Failed to fetch recent diagrams\nuseSrch2FindDiags=Use the search box to find draw.io diagrams\ncantReadChckPerms=Cannot read the specified diagram. Please check you have read permission on that file.\ncantFetchChckPerms=Cannot fetch diagram info. Please check you have read permission on that file.\nsearchFailed=Searching failed. Please try again later.\nplsTypeStr=Please type a search string.\nunsupportedFileChckUrl=Unsupported file. Please check the specified URL\ndiagNotFoundChckUrl=Diagram not found or cannot be accessed. Please check the specified URL\ncsvNotFoundChckUrl=CSV file not found or cannot be accessed. Please check the specified URL\ncantReadUpload=Cannot read the uploaded diagram\nselect=Select\nerrCantGetIdType=Unexpected Error: Cannot get content id or type.\nerrGAuthWinBlocked=Error: Google Authentication window blocked\nauthDrawAccess=Authorize draw.io to access {1}\nconnTimeout=The connection has timed out\nerrAuthSrvc=Error authenticating to {1}\nplsSelectFile=Please select a file\nmustBgtZ={1} must be greater than zero\ncantLoadPrev=Cannot load file preview.\nerrAccessFile=Error: Access Denied. You do not have permission to access "{1}".\nnoPrevAvail=No preview is available.\npersonalAccNotSup=Personal accounts are not supported.\nerrSavingTryLater=Error occurred during saving, please try again later.\nplsEnterFld=Please enter {1}\ninvalidDiagUrl=Invalid Diagram URL\nunsupportedVsdx=Unsupported vsdx file\nunsupportedImg=Unsupported image file\nunsupportedFormat=Unsupported file format\nplsSelectSingleFile=Please select a single file only\nattCorrupt=Attachment file "{1}" is corrupted\nloadAttFailed=Failed to load attachment "{1}"\nembedDrawDiag=Embed draw.io Diagram\naddDiagram=Add Diagram\nembedDiagram=Embed Diagram\neditOwningPg=Edit owning page\ndeepIndexing=Deep Indexing (Index diagrams that aren\'t used in any page also)\nconfADeepIndexStarted=Deep Indexing Started\nconfADeepIndexDone=Deep Indexing Done\nofficeNoDiagramsSelected=No diagrams found in the selection\nofficeNoDiagramsInDoc=No diagrams found in the document\nofficeNotSupported=This feature is not supported in this host application\nsomeImagesFailed={1} out of {2} failed due to the following errors\nimportingNoUsedDiagrams=Importing {1} Diagrams not used in pages\nimportingDrafts=Importing {1} Diagrams in drafts\nprocessingDrafts=Processing drafts\nupdatingDrafts=Updating drafts\nupdateDrafts=Update drafts\nnotifications=Notifications\ndrawioImp=draw.io Import\nconfALibsImp=Importing draw.io Libraries\nconfALibsImpFailed=Importing {1} library failed\ncontributors=Contributors\ndrawDiagrams=draw.io Diagrams\nerrFileNotFoundOrNoPer=Error: Access Denied. File not found or you do not have permission to access "{1}" on {2}.\nconfACheckPagesWEmbed=Checking pages having embedded draw.io diagrams.\nconfADelBrokenEmbedDiagLnk=Removing broken embedded diagram links\nreplaceWith=Replace with\nreplaceAll=Replace All\nconfASkipDiagModified=Skipped "{1}" as it was modified after initial import\nreplFind=Replace/Find\nmatchesRepl={1} matches replaced\ndraftErrDataLoss=An error occurred while reading the draft file. The diagram cannot be edited now to prevent any possible data loss. Please try again later or contact support.\nibm=IBM\nlinkToDiagramHint=Add a link to this diagram. The diagram can only be edited from the page that owns it.\nlinkToDiagram=Link to Diagram\nchangedBy=Changed By\nlastModifiedOn=Last modified on\nsearchResults=Search Results\nshowAllTemps=Show all templates\nnotionToken=Notion Token\nselectDB=Select Database\nnoDBs=No Databases\ndiagramEdited={1} diagram "{2}" edited\nconfDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?\nconfFileTooBigErr=File size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration.\nowner=Owner\nrepository=Repository\nbranch=Branch\nmeters=Meters\nteamsNoEditingMsg=Editor functionality is only available in Desktop environment (in MS Teams App or a web browser)\ncontactOwner=Contact Owner\nviewerOnlyMsg=You cannot edit the diagrams in the mobile platform, please use the desktop client or a web browser.\nwebsite=Website\ncheck4Updates=Check for updates\nattWriteFailedRetry={1}: Attachment write failed, trying again in {2} seconds...\nconfPartialPageList=We couldn\'t fetch all pages due to an error in Confluence. Continuing using {1} pages only.\nspellCheck=Spell checker\nnoChange=No Change\nlblToSvg=Convert labels to SVG\ntxtSettings=Text Settings\nLinksLost=Links will be lost\narcSize=Arc Size\neditConnectionPoints=Edit Connection Points\nnotInOffline=Not supported while offline\nnotInDesktop=Not supported in Desktop App\nconfConfigSpaceArchived=draw.io Configuration space (DRAWIOCONFIG) is archived. Please restore it first.\nconfACleanOldVerStarted=Cleaning old diagram draft versions started\nconfACleanOldVerDone=Cleaning old diagram draft versions finished\nconfACleaningFile=Cleaning diagram draft "{1}" old versions\nconfAFileCleaned=Cleaning diagram draft "{1}" done\nconfAFileCleanFailed=Cleaning diagram draft "{1}" failed\nconfACleanOnly=Clean Diagram Drafts Only\nbrush=Brush\nopenDevTools=Open Developer Tools\nautoBkp=Automatic Backup\nconfAIgnoreCollectErr=Ignore collecting current pages errors\ndrafts=Drafts\ndraftSaveInt=Draft save interval [sec] (0 to disable)\npluginsDisabled=External plugins disabled.\nextExpNotConfigured=External image service is not configured\npathFilename=Path/Filename\nconfAHugeInstances=Very Large Instances\nconfAHugeInstancesDesc=If this instance includes 100,000+ pages, it is faster to request the current instance pages list from Atlassian. Please contact our support for more details.\nchoosePageIDsFile=Choose current page IDs csv file\nchooseDrawioPsgesFile=Choose pages with draw.io diagrams csv file\nprivate=Private\ndiagramTooLarge=The diagram is too large, please reduce its size and try again.\nselectAdminUsers=Select Admin Users\nxyzTeam={1} Team\naddTeamTitle=Adding a new draw.io Team\naddTeamInst1=To create a new draw.io Team, you need to create a new Atlassian group with "drawio-" prefix (e.g, a group named "drawio-marketing").\naddTeamInst2=Then, configure which team member can edit/add configuration, templates, and libraries from this page.\ndrawioTeams=draw.io Teams\nmembers=Members\nadminEditors=Admins/Editors\nallowAll=Allow all\nnoTeams=No teams found\nerrorLoadingTeams=Error Loading Teams\nnoTeamMembers=No team members found\nerrLoadTMembers=Error loading team members\nerrCreateTeamPage=Error creating team "{1}" page in "draw.io Configuration" space, please check you have the required permissions.\ngotoConfigPage=Please create the space from draw.io "Configuration" page.\nnoAdminsSelected=No admins/editors selected\nerrCreateConfigFile=Error creating "configuration.json" file, please check you have the required permissions.\nerrSetPageRestr=Error setting page restrictions\nnotAdmin4Team=You are not an admin for this team\nconfigUpdated=Configuration updated, restart the editor if you want to work with last configuration.\noutOfDateRevisionAlert=You are editing a historical revision of the diagram, please review the revision and open it to replace the latest version. Or close and overwrite/merge later.\nconfAErrFaqs=There are {1} error(s), the following instructions may help fixing most of the cases. (Please download the log for future references)\nconfA403ErrFaq=There are ({1}) 403 error(s). The current users must have add (write) permissions on all pages and attachments. Even admins sometimes are not allowed to write to some pages via page restrictions\nconfA404ErrFaq=There are ({1}) 404 error(s). The attachment/page is not found. This is due to improper migration or the diagram file (an attachment of the page) is deleted.\nconfA500ErrFaq=There are ({1}) 500 error(s). An internal server error in Confluence Cloud. Such errors are due to overloading the server and usually fixed by retrying the process.\nconfAOtherErrFaq=There are ({1}) other error(s). Please check the error description. If the description is not clear, please contact our support.\nconfAReplaceBaseUrl=Replace Base URL in diagram links when no page ID mapping is found\ndrawSvgPrev=draw.io SVG preview\ngoogleFonts=Google Fonts\ndiagDupl=Duplicate Diagram Detected\ndiagDuplMsg=This diagram is used in multiple places, which can result in unexpected results when edited. We\'ve created an independent copy. Please open the editor again.\ndiagDuplNoEditMsg=This diagram is used in multiple places. Please edit it within its own page.\nconfCloudMigConfirm=Warning: This process will edit many pages and diagrams, so it is recommended to stop the Synchrony service during the process. Do you want to proceed?\nconfCloudMigNotice=In the Cloud instance, please add linkAdjustments to draw.io configuration as follows {1}. Without this configuration, links in diagrams pointing to Confluence pages will not work.\nconfALogsPageDesc=This page contains logs of draw.io long running services as attachments\nconfEditOnlyInPageEditor=Can only be edited within Confluence page editor\nconfEvalWarn=Evaluation License - Not for production use\notherUsersEditing=Other user(s) are editing this diagram\nfirstTimeGD=First time to access this file?\ndrawioGDAppNotInstalled=draw.io Google Drive app is not installed, please install it first\nConfDC415Error=Saving drafts is blocked. If you have "Attachment Checker for Confluence" app, please update to the latest version.\nremove=Remove\nselectPgLyr=Select Page and Layers\nerrGenPreview=There was an error generating a diagram preview. Please consult technical support.\nattAccessErr=Diagram attachment access error: cannot display diagram\nwidthIntOrFixed=Width must be a valid integer or of value \'fixed\'\ndupDisabledPgLyrSlct=Diagram duplication is disabled when page and layers are selected\ncantDupPickDiffName=Could not duplicate diagram. Please choose a different name.\nownPgAccessDupErr=Owning page access restriction: cannot duplicate diagram.\ncantDupTryLater=Could not duplicate diagram. Please try again later.\ncantEditLnkd=Cannot edit linked diagram\ndiagEditOwnPgOnlyOpen=Diagram can only be edited from the page that owns it. Would you like to open the owning page for edit?\ndiagInTemps=draw.io diagrams in templates\ndiagInTempsCantEdit=Diagrams in page templates cannot be edited. They can only be edited on pages and blog posts.\nconfDirectEditDraftLost=This Confluence page has unpublished changes. Editing the diagram from page view may cause data loss. Please edit the Confluence page first and then edit the diagram.\nconfConfigSpacePerm=Note: If you recently migrated from DC app, please check draw.io Configuration space permissions such that all users can read and only admins can write. In addition, remove the page restrictions on "Configuration" and "Libraries" pages. You may need admin keys to access them. Also, please check the file "configuration.json" in the "Configuration" page is downloadable.\ntryCurPageOnErr=Try finding the diagram attachment on the macro page when the linked page fails\nconfAExtSrvcNoSupported=Embedded diagrams from external services or urls are not supported.\ngliffyVersionPinning=Import Gliffy pinned version instead of the latest version\nconfEmbedUpload=For a better editing experience, please use the regular draw.io macro to insert a blank diagram, then from (File menu → Import From → Device...) select the file you want to upload and embed.\nconfPublishErr=Another update conflicted with your publish, please try the operation again\nconfACacheMapping=Cache page IDs mapping\nconfARemImpPages=Remember imported pages\ndelCachedData=Delete Cached Data\nk15tPagesError=Error retrieving Scroll pages. Is Scroll Versions installed?\ndrawioUninstalled=draw.io has been uninstalled, the editor will now close\nconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.\nconfDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.\nDCSave500Error=Another Confluence operation interrupted saving, retry #{1}\nconfAppNotInstalled=draw.io diagrams Confluence App is not installed.\nplsInstallAppInConf=Please install/connect this App in Confluence to be able to access the diagrams (in addition to draw.io Confluen app)\n');Graph.prototype.defaultThemes["default-style2"]=mxUtils.parseXml('<mxStylesheet><add as="defaultVertex"><add as="shape" value="label"/><add as="perimeter" value="rectanglePerimeter"/><add as="fontSize" value="12"/><add as="fontFamily" value="Helvetica"/><add as="align" value="center"/><add as="verticalAlign" value="middle"/><add as="fillColor" value="default"/><add as="strokeColor" value="default"/><add as="fontColor" value="default"/></add><add as="defaultEdge"><add as="shape" value="connector"/><add as="labelBackgroundColor" value="default"/><add as="endArrow" value="classic"/><add as="fontSize" value="11"/><add as="fontFamily" value="Helvetica"/><add as="align" value="center"/><add as="verticalAlign" value="middle"/><add as="rounded" value="1"/><add as="strokeColor" value="default"/><add as="fontColor" value="default"/></add><add as="text"><add as="fillColor" value="none"/><add as="gradientColor" value="none"/><add as="strokeColor" value="none"/><add as="align" value="left"/><add as="verticalAlign" value="top"/></add><add as="edgeLabel" extend="text"><add as="labelBackgroundColor" value="default"/><add as="fontSize" value="11"/></add><add as="label"><add as="fontStyle" value="1"/><add as="align" value="left"/><add as="verticalAlign" value="middle"/><add as="spacing" value="2"/><add as="spacingLeft" value="52"/><add as="imageWidth" value="42"/><add as="imageHeight" value="42"/><add as="rounded" value="1"/></add><add as="icon" extend="label"><add as="align" value="center"/><add as="imageAlign" value="center"/><add as="verticalLabelPosition" value="bottom"/><add as="verticalAlign" value="top"/><add as="spacingTop" value="4"/><add as="labelBackgroundColor" value="default"/><add as="spacing" value="0"/><add as="spacingLeft" value="0"/><add as="spacingTop" value="6"/><add as="fontStyle" value="0"/><add as="imageWidth" value="48"/><add as="imageHeight" value="48"/></add><add as="swimlane"><add as="shape" value="swimlane"/><add as="fontSize" value="12"/><add as="fontStyle" value="1"/><add as="startSize" value="23"/></add><add as="group"><add as="verticalAlign" value="top"/><add as="fillColor" value="none"/><add as="strokeColor" value="none"/><add as="gradientColor" value="none"/><add as="pointerEvents" value="0"/></add><add as="ellipse"><add as="shape" value="ellipse"/><add as="perimeter" value="ellipsePerimeter"/></add><add as="rhombus"><add as="shape" value="rhombus"/><add as="perimeter" value="rhombusPerimeter"/></add><add as="triangle"><add as="shape" value="triangle"/><add as="perimeter" value="trianglePerimeter"/></add><add as="line"><add as="shape" value="line"/><add as="strokeWidth" value="4"/><add as="labelBackgroundColor" value="default"/><add as="verticalAlign" value="top"/><add as="spacingTop" value="8"/></add><add as="image"><add as="shape" value="image"/><add as="labelBackgroundColor" value="default"/><add as="verticalAlign" value="top"/><add as="verticalLabelPosition" value="bottom"/></add><add as="roundImage" extend="image"><add as="perimeter" value="ellipsePerimeter"/></add><add as="rhombusImage" extend="image"><add as="perimeter" value="rhombusPerimeter"/></add><add as="arrow"><add as="shape" value="arrow"/><add as="edgeStyle" value="none"/><add as="fillColor" value="default"/></add><add as="fancy"><add as="shadow" value="1"/><add as="glass" value="1"/></add><add as="gray" extend="fancy"><add as="gradientColor" value="#B3B3B3"/><add as="fillColor" value="#F5F5F5"/><add as="strokeColor" value="#666666"/></add><add as="blue" extend="fancy"><add as="gradientColor" value="#7EA6E0"/><add as="fillColor" value="#DAE8FC"/><add as="strokeColor" value="#6C8EBF"/></add><add as="green" extend="fancy"><add as="gradientColor" value="#97D077"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#82B366"/></add><add as="turquoise" extend="fancy"><add as="gradientColor" value="#67AB9F"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#6A9153"/></add><add as="yellow" extend="fancy"><add as="gradientColor" value="#FFD966"/><add as="fillColor" value="#FFF2CC"/><add as="strokeColor" value="#D6B656"/></add><add as="orange" extend="fancy"><add as="gradientColor" value="#FFA500"/><add as="fillColor" value="#FFCD28"/><add as="strokeColor" value="#D79B00"/></add><add as="red" extend="fancy"><add as="gradientColor" value="#EA6B66"/><add as="fillColor" value="#F8CECC"/><add as="strokeColor" value="#B85450"/></add><add as="pink" extend="fancy"><add as="gradientColor" value="#B5739D"/><add as="fillColor" value="#E6D0DE"/><add as="strokeColor" value="#996185"/></add><add as="purple" extend="fancy"><add as="gradientColor" value="#8C6C9C"/><add as="fillColor" value="#E1D5E7"/><add as="strokeColor" value="#9673A6"/></add><add as="plain-gray"><add as="gradientColor" value="#B3B3B3"/><add as="fillColor" value="#F5F5F5"/><add as="strokeColor" value="#666666"/></add><add as="plain-blue"><add as="gradientColor" value="#7EA6E0"/><add as="fillColor" value="#DAE8FC"/><add as="strokeColor" value="#6C8EBF"/></add><add as="plain-green"><add as="gradientColor" value="#97D077"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#82B366"/></add><add as="plain-turquoise"><add as="gradientColor" value="#67AB9F"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#6A9153"/></add><add as="plain-yellow"><add as="gradientColor" value="#FFD966"/><add as="fillColor" value="#FFF2CC"/><add as="strokeColor" value="#D6B656"/></add><add as="plain-orange"><add as="gradientColor" value="#FFA500"/><add as="fillColor" value="#FFCD28"/><add as="strokeColor" value="#D79B00"/></add><add as="plain-red"><add as="gradientColor" value="#EA6B66"/><add as="fillColor" value="#F8CECC"/><add as="strokeColor" value="#B85450"/></add><add as="plain-pink"><add as="gradientColor" value="#B5739D"/><add as="fillColor" value="#E6D0DE"/><add as="strokeColor" value="#996185"/></add><add as="plain-purple"><add as="gradientColor" value="#8C6C9C"/><add as="fillColor" value="#E1D5E7"/><add as="strokeColor" value="#9673A6"/></add></mxStylesheet>').documentElement;Graph.prototype.defaultThemes.darkTheme=Graph.prototype.defaultThemes["default-style2"];Editor.currentTheme="";window.uiTheme="";GraphViewer=function(b,f,m){this.init(b,f,m)};mxUtils.extend(GraphViewer,mxEventSource);GraphViewer.prototype.editBlankUrl="1"==urlParams.dev?"https://test.draw.io/":"https://app.diagrams.net/";GraphViewer.prototype.imageBaseUrl=window.DRAWIO_BASE_URL+"/";GraphViewer.prototype.toolbarHeight="BackCompat"==document.compatMode?24:26;GraphViewer.prototype.lightboxChrome=!0;GraphViewer.prototype.lightboxZIndex=999;GraphViewer.prototype.toolbarZIndex=999;GraphViewer.prototype.autoFit=!1;GraphViewer.prototype.autoCrop=!1;GraphViewer.prototype.autoOrigin=!0;GraphViewer.prototype.center=!1;GraphViewer.prototype.forceCenter=!1;GraphViewer.prototype.allowZoomIn=!1;GraphViewer.prototype.allowZoomOut=!0;GraphViewer.prototype.showTitleAsTooltip=!1;GraphViewer.prototype.checkVisibleState=!0;GraphViewer.prototype.minHeight=28;GraphViewer.prototype.minWidth=100;GraphViewer.prototype.responsive=!1;GraphViewer.prototype.darkMode=null;GraphViewer.prototype.init=function(b,f,m){GraphViewer.initCss();this.graphConfig=null!=m?m:{};this.autoFit=null!=this.graphConfig["auto-fit"]?this.graphConfig["auto-fit"]:this.autoFit;this.autoCrop=null!=this.graphConfig["auto-crop"]?this.graphConfig["auto-crop"]:this.autoCrop;this.autoOrigin=null!=this.graphConfig["auto-origin"]?this.graphConfig["auto-origin"]:this.autoOrigin;this.allowZoomOut=null!=this.graphConfig["allow-zoom-out"]?this.graphConfig["allow-zoom-out"]:this.allowZoomOut;this.allowZoomIn=diff --git a/src/main/webapp/js/viewer.min.js b/src/main/webapp/js/viewer.min.jsindex 529c2c071..7b5e2e420 100644--- a/src/main/webapp/js/viewer.min.js+++ b/src/main/webapp/js/viewer.min.js@@ -30,7 +30,7 @@ b),-1!==c&&c===b&&(window.DRAWIO_LOG_URL="https://log.draw.io"))}})();"1"==urlPa"se.diagrams.net"==window.location.hostname&&(urlParams.db="0",urlParams.od="0",urlParams.gh="0",urlParams.gl="0",urlParams.tr="0",urlParams.plugins="0",urlParams.mode="google",urlParams.lockdown="1",window.DRAWIO_GOOGLE_APP_ID=window.DRAWIO_GOOGLE_APP_ID||"184079235871",window.DRAWIO_GOOGLE_CLIENT_ID=window.DRAWIO_GOOGLE_CLIENT_ID||"184079235871-pjf5nn0lff27lk8qf0770gmffiv9gt61.apps.googleusercontent.com");"trello"==urlParams.mode&&(urlParams.tr="1");"embed.diagrams.net"==window.location.hostname&&(urlParams.embed="1");(null==window.location.hash||1>=window.location.hash.length)&&null!=urlParams.open&&(window.location.hash=urlParams.open);"function"!==typeof window.structuredClone&&(window.structuredClone=function(a){return a});window.urlParams=window.urlParams||{};window.DOM_PURIFY_CONFIG=window.DOM_PURIFY_CONFIG||{ADD_TAGS:["use","foreignObject"],FORBID_TAGS:["form"],ALLOWED_URI_REGEXP:/^((?!javascript:).)*$/i,HTML_INTEGRATION_POINTS:{foreignobject:!0},ADD_ATTR:["target","content","pointer-events","requiredFeatures"]};window.MAX_REQUEST_SIZE=window.MAX_REQUEST_SIZE||10485760;window.MAX_AREA=window.MAX_AREA||225E6;window.EXPORT_URL=window.EXPORT_URL||"/export";window.SAVE_URL=window.SAVE_URL||"/save";window.OPEN_URL=window.OPEN_URL||"/open";window.RESOURCES_PATH=window.RESOURCES_PATH||"resources";window.RESOURCE_BASE=window.RESOURCE_BASE||window.RESOURCES_PATH+"/grapheditor";window.STENCIL_PATH=window.STENCIL_PATH||"stencils";window.IMAGE_PATH=window.IMAGE_PATH||"images";window.STYLE_PATH=window.STYLE_PATH||"styles";window.CSS_PATH=window.CSS_PATH||"styles";window.OPEN_FORM=window.OPEN_FORM||"open.html";window.mxBasePath=window.mxBasePath||"mxgraph";-window.mxImageBasePath=window.mxImageBasePath||"mxgraph/images";window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"29.3.5",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),+window.mxImageBasePath=window.mxImageBasePath||"mxgraph/images";window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"29.3.6",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),IS_OP:null!=navigator.userAgent&&(0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/")),IS_OT:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&0>navigator.userAgent.indexOf("Presto/2.2.")&&0>navigator.userAgent.indexOf("Presto/2.1.")&&0>navigator.userAgent.indexOf("Presto/2.0.")&&0>navigator.userAgent.indexOf("Presto/1."),IS_SF:/Apple Computer, Inc/.test(navigator.vendor),IS_ANDROID:0<=navigator.appVersion.indexOf("Android"),IS_IOS:/iP(hone|od|ad)/.test(navigator.platform)||navigator.userAgent.match(/Mac/)&&navigator.maxTouchPoints&&2<navigator.maxTouchPoints,IS_WEBVIEW:/((iPhone|iPod|iPad).*AppleWebKit(?!.*Version)|; wv)/i.test(navigator.userAgent),IS_GC:/Google Inc/.test(navigator.vendor),IS_CHROMEAPP:null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime,IS_FF:-1<navigator.userAgent.toLowerCase().indexOf("firefox"),IS_MT:0<=navigator.userAgent.indexOf("Firefox/")&&0>navigator.userAgent.indexOf("Firefox/1.")&&0>navigator.userAgent.indexOf("Firefox/2.")||0<=navigator.userAgent.indexOf("Iceweasel/")&&0>navigator.userAgent.indexOf("Iceweasel/1.")&&0>navigator.userAgent.indexOf("Iceweasel/2.")||0<=navigator.userAgent.indexOf("SeaMonkey/")&&0>navigator.userAgent.indexOf("SeaMonkey/1.")||0<=navigator.userAgent.indexOf("Iceape/")&&0>navigator.userAgent.indexOf("Iceape/1."),IS_SVG:"MICROSOFT INTERNET EXPLORER"!=navigator.appName.toUpperCase(),NO_FO:!document.createElementNS||@@ -3523,7 +3523,7 @@ mxEvent.addListener(y,"click",function(ua){pa.checked=!0;mxEvent.consume(ua)}));(Y.classList.add("geDarkMode"),Y.style.colorScheme="dark"):(Y.classList.remove("geDarkMode"),Y.style.colorScheme="light")};k.addListener("darkModeChanged",va);va();var ra=function(ua,La){ua=La.getProperty("dialog");Y.parentNode==ua.container&&(k.editor.removeListener(ra),k.removeListener(va))};k.editor.addListener("hideDialog",ra)}this.container=Y};var V=ChangePageSetup.prototype.execute;ChangePageSetup.prototype.execute=function(){null==this.page&&(this.page=this.ui.currentPage);if(this.page!=this.ui.currentPage){if(null!=this.page.viewState){this.ignoreColor||(this.page.viewState.background=this.color);if(!this.ignoreImage){var k=this.image;null!=k&&null!=k.src&&Graph.isPageLink(k.src)&&(k={originalSrc:k.src});this.page.viewState.backgroundImage=k}null!=this.format&&(this.page.viewState.pageFormat=this.format);null!=this.mathEnabled&&(this.page.viewState.mathEnabled=this.mathEnabled);null!=this.adaptiveColors&&(this.page.viewState.adaptiveColors=this.adaptiveColors);null!=this.shadowVisible&&(this.page.viewState.shadowVisible=this.shadowVisible)}}else V.apply(this,arguments),null!=this.mathEnabled&&this.mathEnabled!=this.ui.isMathEnabled()&&(this.ui.setMathEnabled(this.mathEnabled),this.mathEnabled=!this.mathEnabled),null!=this.adaptiveColors&&this.adaptiveColors!=this.ui.editor.graph.adaptiveColors&&(k=this.ui.editor.graph.adaptiveColors,this.ui.setAdaptiveColors(this.adaptiveColors),this.adaptiveColors=null!=k?k:"default"),null!=this.shadowVisible&&this.shadowVisible!=this.ui.editor.graph.shadowVisible&&(this.ui.editor.graph.setShadowVisible(this.shadowVisible),-this.shadowVisible=!this.shadowVisible)}})();(function(){EditorUi.VERSION="29.3.5";EditorUi.compactUi="atlas"!=Editor.currentTheme||window.DRAWIO_PUBLIC_BUILD;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname)||/.*\.cdn\.prod\.atlassian-dev\.net$/.test(window.location.hostname))&&"https://preprod.diagrams.net/"!=window.location.hostname&&+this.shadowVisible=!this.shadowVisible)}})();(function(){EditorUi.VERSION="29.3.6";EditorUi.compactUi="atlas"!=Editor.currentTheme||window.DRAWIO_PUBLIC_BUILD;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname)||/.*\.cdn\.prod\.atlassian-dev\.net$/.test(window.location.hostname))&&"https://preprod.diagrams.net/"!=window.location.hostname&&"support.draw.io"!=window.location.hostname&&"test.draw.io"!=window.location.hostname;EditorUi.drawHost=window.DRAWIO_BASE_URL;EditorUi.lightboxHost=window.DRAWIO_LIGHTBOX_URL;EditorUi.lastErrorMessage=null;EditorUi.ignoredAnonymizedChars="\n\t`~!@#$%^&*()_+{}|:\"<>?-=[];'./,\n\t";EditorUi.templateFile=TEMPLATE_PATH+"/index.xml";EditorUi.cacheUrl=window.REALTIME_URL;null==EditorUi.cacheUrl&&"undefined"!==typeof DrawioFile&&(DrawioFile.SYNC="none");Editor.cacheTimeout=1E4;EditorUi.enablePlantUml=EditorUi.enableLogging||"1"==urlParams.dev;EditorUi.isElectronApp=null!=window&&null!=window.process&&null!=window.process.versions&&null!=window.process.versions.electron;EditorUi.nativeFileSupport=!mxClient.IS_OP&&!EditorUi.isElectronApp&&"1"!=urlParams.extAuth&&"showSaveFilePicker"in window&&"showOpenFilePicker"in window;EditorUi.enableDrafts=!mxClient.IS_CHROMEAPP&&isLocalStorage&&"0"!=urlParams.drafts;EditorUi.scratchpadHelpLink="https://www.drawio.com/doc/faq/scratchpad";EditorUi.enableHtmlEditOption=!0;EditorUi.mermaidDiagramTypes="flowchart classDiagram sequenceDiagram stateDiagram mindmap graph erDiagram requirementDiagram journey gantt pie gitGraph".split(" ");EditorUi.defaultMermaidConfig={theme:"neutral",arrowMarkerAbsolute:!1,sequence:{diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,mirrorActors:!0,bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,showSequenceNumbers:!1},gantt:{useWidth:1E3,useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,@@ -4236,7 +4236,7 @@ n.updateTabContainer=function(){Z.apply(this,arguments);n.tabContainer.appendChivar la=n.actions.get("zoomIn"),ca=n.actions.get("zoomOut");l=n.actions.get("resetView");var ka=n.actions.get("undo"),ea=n.actions.get("redo"),V=O("",ka.funct,null,"",ka,Editor.undoImage),k=O("",ea.funct,null,"",ea,Editor.redoImage),y=O("",function(K){mxEvent.isAltDown(K)?(n.hideCurrentMenu(),n.actions.get("customZoom").funct()):(n.hideCurrentMenu(),n.actions.get("smartFit").funct());mxEvent.consume(K)},!0,"",l,Editor.zoomFitImage);n.actions.get("toggleShapes").funct=mxUtils.bind(this,function(){f(n,null)});n.container.appendChild(n.tabContainer);n.container.appendChild(F);n.updateTabContainer();!EditorUi.windowed&&1E3<=m&&b(this,!0);g();n.addListener("lockedChanged",g);n.addListener("languageChanged",g);n.editor.graph.addListener("enabledChanged",g);mxEvent.addListener(window,"resize",function(){g();null!=n.sidebarWindow&&n.sidebarWindow.window.fit();null!=n.formatWindow&&n.formatWindow.window.fit();null!=n.actions.outlineWindow&&n.actions.outlineWindow.window.fit();null!=n.actions.layersWindow&&n.actions.layersWindow.window.fit();null!=n.menus.chatWindow&&n.menus.chatWindow.window.fit();null!=n.menus.tagsWindow&&n.menus.tagsWindow.window.fit();null!=n.menus.findWindow&&n.menus.findWindow.window.fit();null!=n.menus.findReplaceWindow&&n.menus.findReplaceWindow.window.fit()})}}};-(function(){var b=!1;"min"!=uiTheme||b||mxClient.IS_CHROMEAPP||(EditorUi.initMinimalTheme(),b=!0);var f=EditorUi.initTheme;EditorUi.initTheme=function(){f.apply(this,arguments);"min"!=uiTheme||b||(this.initMinimalTheme(),b=!0)}})();DrawioComment=function(b,f,m,t,x,q,C){this.file=b;this.id=f;this.content=m;this.modifiedDate=t;this.createdDate=x;this.isResolved=q;this.user=C;this.replies=[]};DrawioComment.prototype.addReplyDirect=function(b){null!=b&&this.replies.push(b)};DrawioComment.prototype.addReply=function(b,f,m,t,x){f()};DrawioComment.prototype.editComment=function(b,f,m){f()};DrawioComment.prototype.deleteComment=function(b,f){b()};DrawioUser=function(b,f,m,t,x){this.id=b;this.email=f;this.displayName=m;this.pictureUrl=t;this.locale=x};mxResources.parse('# *DO NOT DIRECTLY EDIT THIS FILE, IT IS AUTOMATICALLY GENERATED AND IT IS BASED ON:*\n# https://docs.google.com/spreadsheet/ccc?key=0AmQEO36liL4FdDJLWVNMaVV2UmRKSnpXU09MYkdGbEE\nabout=About\naboutDrawio=About draw.io\naccessDenied=Access Denied\naccounts=Accounts\naction=Action\nactualSize=Actual Size\nadaptiveColors=Adaptive Colors\nadd=Add\naddAccount=Add account\naddedFile=Added {1}\naddImages=Add Images\naddImageUrl=Add Image URL\naddLayer=Add Layer\naddProperty=Add Property\naddress=Address\naddToExistingDrawing=Add to Existing Drawing\naddToScratchpad=Add to Scratchpad\naddWaypoint=Add Waypoint\nadjustTo=Adjust to\nadvanced=Advanced\nsmartTemplate=Smart Template\nalign=Align\nalignment=Alignment\nallChangesLost=All changes will be lost!\nallPages=All Pages\nallProjects=All Projects\nallSelectedObjectsInThisLayer=All selected objects are in this layer\nallSpaces=All Spaces\nallTags=All Tags\nanchor=Anchor\nandroid=Android\nangle=Angle\nanimations=Animations\narc=Arc\nareYouSure=Are you sure?\nensureDataSaved=Please ensure your data is saved before closing.\nallChangesSaved=All changes saved\nallChangesSavedInDrive=All changes saved in Drive\nallowPopups=Allow pop-ups to avoid this dialog.\nallowRelativeUrl=Allow relative URL\nalreadyConnected=Nodes already connected\nappearance=Appearance\napply=Apply\narchiMate21=ArchiMate 2.1\narrange=Arrange\narrow=Arrow\narrows=Arrows\naskMeAnything=Ask me anything\nasNew=As New\natlas=Atlas\nauthor=Author\nauthorizationRequired=Authorization required\nauthorizeThisAppIn=Authorize this app in {1}:\nauthorize=Authorize\nauthorizing=Authorizing\nautomatic=Automatic\nautosave=Autosave\nautosize=Autosize\nattachments=Attachments\naws=AWS\naws3d=AWS 3D\nazure=Azure\nback=Back\nbackground=Background\nbackgroundColor=Background Color\nbackgroundImage=Background Image\nbasic=Basic\nbeta=beta\nblankDrawing=Blank Drawing\nblankDiagram=Blank Diagram\nblock=Block\nblockquote=Blockquote\nblog=Blog\nbold=Bold\nbootstrap=Bootstrap\nborder=Border\nborderColor=Border Color\nborderWidth=Border Width\nbottom=Bottom\nbottomAlign=Bottom Align\nbottomLeft=Bottom Left\nbottomRight=Bottom Right\nbpmn=BPMN\nbringForward=Bring Forward\nbrowser=Browser\nbulletedList=Bulleted List\nbusiness=Business\nbusy=Operation in progress\ncabinets=Cabinets\ncancel=Cancel\ncenter=Center\ncannotLoad=Load attempts failed. Please try again later.\ncannotLogin=Log in attempts failed. Please try again later.\ncannotOpenFile=Cannot open file\nchange=Change\nchangeOrientation=Change Orientation\nchangeUser=Change user\nchangeStorage=Change storage\nchangesNotSaved=Changes have not been saved\nclassDiagram=Class Diagram\nuserJoined={1} has joined\nuserLeft={1} has left\nchatWindowTitle=Chat\nchooseAnOption=Choose an option\nchromeApp=Chrome App\ncollaborativeEditingNotice=Important Notice for Collaborative Editing\ncompare=Compare\ncompressed=Compressed\ncommitMessage=Commit Message\nconfigLinkWarn=This link configures draw.io. Only click OK if you trust whoever gave you it!\nconfigLinkConfirm=Click OK to configure and restart draw.io.\ncontainer=Container\ncsv=CSV\ncurrentLayer=Current Layer\ndark=Dark\ndiagramLanguage=Diagram Language\ndiagramType=Diagram type\ndiagramXmlDesc=XML File\ndiagramHtmlDesc=HTML File\ndiagramPngDesc=Editable Bitmap Image\ndiagramSvgDesc=Editable Vector Image\ndidYouMeanToExportToPdf=Did you mean to export to PDF?\ndisabled=Disabled\ndraftFound=A draft for \'{1}\' has been found. Load it into the editor or discard it to continue.\ndraftRevisionMismatch=There is a different version of this diagram on a shared draft of this page. Please edit the diagram from the draft to ensure you are working with the latest version.\nselectDraft=Select a draft to continue editing:\ndragAndDropNotSupported=Drag and drop not supported for images. Would you like to import instead?\ndropboxCharsNotAllowed=The following characters are not allowed: / : ? * " |\ncheck=Check\nchecksum=Checksum\ncircle=Circle\ncisco=Cisco\nclassic=Classic\nclearDefaultStyle=Clear Default Style\nclearWaypoints=Clear Waypoints\nclipart=Clipart\nclose=Close\nclosingFile=Closing file\nrealtimeCollaboration=Real-Time Collaboration\ncollaborate=Collaborate\ncollaborator=Collaborator\ncollaborators=Collaborators\ncollapse=Collapse\ncollapseExpand=Collapse/Expand\ncollapse-expand=Click to collapse/expand\nShift-click to move neighbors \nAlt-click to protect group size\ncollapsible=Collapsible\ncomic=Comic\ncomment=Comment\ncommentsNotes=Comments/Notes\ncompress=Compress\nconfiguration=Configuration\nconnect=Connect\nconnecting=Connecting\nconnectWithDrive=Connect with Google Drive\nconnection=Connection\nconnectionArrows=Connection Arrows\nconnectionPoints=Connection Points\nconstrainProportions=Constrain Proportions\ncontainsValidationErrors=Contains validation errors\ncopiedToClipboard=Copied to clipboard\ncopy=Copy\ncopyConnect=Copy on Connect\ncopyCreated=A copy of the file was created.\ncopyData=Copy Data\ncopyOf=Copy of {1}\ncopyOfDrawing=Copy of Drawing\ncopySize=Copy Size\ncopyStyle=Copy Style\ncreate=Create\ncreateBlankDiagram=Create Blank Diagram\ncreateNewDiagram=Create New Diagram\ncreateRevision=Create Revision\ncreateShape=Create Shape\ncrop=Crop\ncurved=Curved\ncustom=Custom\ncurrent=Current\ncurrentPage=Current page\ncut=Cut\ndashed=Dashed\ndecideLater=Decide later\ndefault=Default\ndelete=Delete\ndeleteAll=Delete all\ndeleteColumn=Delete column\ndeleteLibrary401=Insufficient permissions to delete this library\ndeleteLibrary404=Selected library could not be found\ndeleteLibrary500=Error deleting library\ndeleteLibraryConfirm=You are about to permanently delete this library. Are you sure you want to do this?\ndeleteRow=Delete Row\ndescription=Description\ndescribeYourDiagram=Describe your diagram\ndevice=Device\ndiagram=Diagram\ndiagramContent=Diagram Content\ndiagramLocked=Diagram has been locked to prevent further data loss.\ndiagramLockedBySince=The diagram is locked by {1} since {2} ago\ndiagramName=Diagram Name\ndiagramIsPublic=Diagram is public\ndiagramIsNotPublic=Diagram is not public\ndiamond=Diamond\ndiamondThin=Diamond (thin)\ndidYouKnow=Did you know...\ndirection=Direction\ndiscard=Discard\ndiscardChangesAndReconnect=Discard Changes and Reconnect\ngoogleDriveMissingClickHere=Google Drive missing? Click here!\ndiscardChanges=Discard Changes\ndisconnected=Disconnected\ndistribute=Distribute\ndone=Done\ndoNotShowAgain=Do not show again\ndotted=Dotted\ndoubleClickOrientation=Doubleclick to change orientation\ndoubleClickTooltip=Doubleclick to insert text\ndoubleClickChangeProperty=Doubleclick to change property name\ndownload=Download\ndownloadDesktop=Get Desktop\ndownloadAs=Download as\nclickHereToSave=Click here to save.\ndpi=DPI\ndraftDiscarded=Draft discarded\ndraftSaved=Draft saved\ndragElementsHere=Drag elements here\ndragImagesHere=Drag images or URLs here\ndragUrlsHere=Drag URLs here\ndraw.io=draw.io\ndrawing=Drawing{1}\ndrawingEmpty=Drawing is empty\ndrawingTooLarge=Drawing is too large\ndrawioForWork=Draw.io for GSuite\ndropbox=Dropbox\nduplicate=Duplicate\nduplicateIt=Duplicate {1}\ndivider=Divider\ndx=Dx\ndy=Dy\neast=East\nedit=Edit\neditData=Edit Data\neditDiagram=Edit Diagram\neditGeometry=Edit Geometry\neditImage=Edit Image\neditImageUrl=Edit Image URL\neditLink=Edit Link\neditShape=Edit Shape\neditStyle=Edit Style\neditText=Edit Text\neditTooltip=Edit Tooltip\nglass=Glass\ngoogleImages=Google Images\nimageSearch=Image Search\neip=EIP\nembed=Embed\nembedFonts=Embed Fonts\nembedImages=Embed Images\nmainEmbedNotice=Paste this into the page\nelectrical=Electrical\nellipse=Ellipse\nembedNotice=Paste this once at the end of the page\nenterGroup=Enter Group\nenterName=Enter Name\nenterPropertyName=Enter Property Name\nenterValue=Enter Value\nentityRelation=Entity Relation\nentityRelationshipDiagram=Entity Relationship Diagram\nerror=Error\nerrorDeletingFile=Error deleting file\nerrorLoadingFile=Error loading file\nerrorRenamingFile=Error renaming file\nerrorRenamingFileNotFound=Error renaming file. File was not found.\nerrorRenamingFileForbidden=Error renaming file. Insufficient access rights.\nerrorSavingDraft=Error saving draft\nerrorSavingFile=Error saving file\nerrorSavingFileUnknown=Error authorizing with Google\'s servers. Please refresh the page to re-attempt.\nerrorSavingFileForbidden=Error saving file. Insufficient access rights.\nerrorSavingFileNameConflict=Could not save diagram. Current page already contains file named \'{1}\'.\nerrorSavingFileNotFound=Error saving file. File was not found.\nerrorSavingFileReadOnlyMode=Could not save diagram while read-only mode is active.\nerrorSavingFileSessionTimeout=Your session has ended. Please <a target=\'_blank\' href=\'{1}\'>{2}</a> and return to this tab to try to save again.\nerrorSendingFeedback=Error sending feedback.\nerrorUpdatingPreview=Error updating preview.\nexit=Exit\nexitGroup=Exit Group\nexpand=Expand\nexplore=Explore\nexport=Export\nexporting=Exporting\nexportAs=Export as\nexportOptionsDisabled=Export options disabled\nexportOptionsDisabledDetails=The owner has disabled options to download, print or copy for commenters and viewers on this file.\nexternalChanges=External Changes\nextras=Extras\nfailedToSaveTryReconnect=Failed to save, trying to reconnect\nfeatureRequest=Feature Request\nfeedback=Feedback\nfeedbackSent=Feedback successfully sent.\nfloorplans=Floorplans\nfile=File\nfileChangedOverwriteDialog=The file has been modified. Do you want to save the file and overwrite those changes?\nfileChangedSyncDialog=The file has been modified.\nfileChangedSync=The file has been modified. Click here to synchronize.\noverwrite=Overwrite\nsynchronize=Synchronize\nfilename=Filename\nfileExists=File already exists\nfileMovedToTrash=File was moved to trash\nfileNearlyFullSeeFaq=File nearly full, please see FAQ\nfileNotFound=File not found\nrepositoryNotFound=Repository not found\nfileNotFoundOrDenied=The file was not found. It does not exist or you do not have access.\nfileNotLoaded=File not loaded\nfileNotSaved=File not saved\nfileOpenLocation=How would you like to open these file(s)?\nfiletypeHtml=.html causes file to save as HTML with redirect to cloud URL\nfiletypePng=.png causes file to save as PNG with embedded data\nfiletypeSvg=.svg causes file to save as SVG with embedded data\nfileWillBeSavedInAppFolder={1} will be saved in the app folder.\nfill=Fill\nfillColor=Fill Color\nfilterCards=Filter Cards\nfind=Find\nfindInDiagram=Find in Diagram\nfit=Fit\nfitContainer=Resize Container\nfitIntoContainer=Fit into Container\nfitPage=Fit Page\nfitPageWidth=Fit Page Width\nfitTo=Fit to\nfitToSheetsAcross=sheet(s) across\nfitToBy=by\nfitToSheetsDown=sheet(s) down\nfitTwoPages=Two Pages\nfitWindow=Fit Window\nflip=Flip\nflipH=Flip Horizontal\nflipV=Flip Vertical\nflowAnimation=Flow Animation\nflowchart=Flowchart\nfolder=Folder\nfont=Font\nfontColor=Font Color\nfontFamily=Font Family\nfontSize=Font Size\nforbidden=You are not authorized to access this file\nformat=Format\nformatPanel=Format Panel\nformatted=Formatted\nformattedText=Formatted Text\nformatPng=PNG\nformatGif=GIF\nformatJpg=JPEG\nformatPdf=PDF\nformatSql=SQL\nformatSvg=SVG\nformatHtmlEmbedded=HTML\nformatSvgEmbedded=SVG (with XML)\nformatVsdx=VSDX\nformatVssx=VSSX\nformatWebp=WebP\nformatXmlPlain=XML (Plain)\nformatXml=XML\nforum=Discussion/Help Forums\nfreehand=Freehand\nfromTemplate=From Template\nfromTemplateUrl=From Template URL\nfromText=From Text\nfromUrl=From URL\nfromThisPage=From this page\nfullscreen=Fullscreen\ngap=Gap\ngcp=GCP\ngeneral=General\ngetNotionChromeExtension=Get the Notion Chrome Extension\ngithub=GitHub\ngitlab=GitLab\ngliffy=Gliffy\nglobal=Global\ngoogleDocs=Google Docs\ngoogleDrive=Google Drive\ngoogleGadget=Google Gadget\ngoogleSharingNotAvailable=Sharing is only available via Google Drive. Please click Open below and share from the more actions menu:\ngoogleSlides=Google Slides\ngoogleSites=Google Sites\ngoogleSheets=Google Sheets\ngradient=Gradient\ngradientColor=Color\ngrid=Grid\ngridColor=Grid Color\ngridSize=Grid Size\ngroup=Group\nguides=Guides\nhateApp=I hate draw.io\nheading=Heading\nheight=Height\nhelp=Help\nhelpTranslate=Help us translate this application\nhide=Hide\nhideIt=Hide {1}\nhidden=Hidden\nhighContrast=High Contrast\nhome=Home\nhorizontal=Horizontal\nhorizontalFlow=Horizontal Flow\nhorizontalTree=Horizontal Tree\nhowTranslate=How good is the translation in your language?\nhtml=HTML\nhtmlText=HTML Text\nid=ID\niframe=IFrame\nignore=Ignore\nimage=Image\nimageUrl=Image URL\nimages=Images\nimagePreviewError=This image couldn\'t be loaded for preview. Please check the URL.\nimageTooBig=Image too big\nimgur=Imgur\nimport=Import\nimportFrom=Import from\nimproveContrast=Improve Contrast\nincludeCopyOfMyDiagram=Include a copy of my diagram\nincreaseIndent=Increase Indent\ndecreaseIndent=Decrease Indent\ninsert=Insert\ninsertColumnBefore=Insert Column Left\ninsertColumnAfter=Insert Column Right\ninsertEllipse=Insert Ellipse\ninsertImage=Insert Image\ninsertHorizontalRule=Insert Horizontal Rule\ninsertLink=Insert Link\ninsertPage=Insert Page\ninsertRectangle=Insert Rectangle\ninsertRhombus=Insert Rhombus\ninsertRowBefore=Insert Row Above\ninsertRowAfter=Insert Row After\ninsertText=Insert Text\ninserting=Inserting\ninstallApp=Install App\ninvalidFilename=Diagram names must not contain the following characters: / | : ; { } < > & + ? = "\ninvalidLicenseSeeThisPage=Your license is invalid, please see this <a target="_blank" href="https://www.drawio.com/doc/faq/license-drawio-confluence-jira-cloud">page</a>.\ninvalidInput=Invalid input\ninvalidName=Invalid name\ninvalidOrMissingFile=Invalid or missing file\ninvalidPublicUrl=Invalid public URL\ninvertSelection=Invert Selection\nisometric=Isometric\nios=iOS\nitalic=Italic\nkennedy=Kennedy\nkeyboardShortcuts=Keyboard Shortcuts\nlabels=Labels\nlayers=Layers\nlandscape=Landscape\nlanguage=Language\nleanMapping=Lean Mapping\nlastChange=Last change {1} ago\nlessThanAMinute=less than a minute\nlicensingError=Licensing Error\nlicenseHasExpired=The license for {1} has expired on {2}. Click here.\nlicenseRequired=This feature requires draw.io to be licensed.\nlicenseWillExpire=The license for {1} will expire on {2}. Click here.\nlight=Light\nlineJumps=Line jumps\nlinkAccountRequired=If the diagram is not public a Google account is required to view the link.\nlinkText=Link Text\nlist=List\nminute=minute\nminutes=minutes\nhours=hours\ndays=days\nmonths=months\nyears=years\nrestartForChangeRequired=Changes will take effect after a restart of the application.\nlaneColor=Lanecolor\nlanguageCode=Language Code\nlastModified=Last modified\nlayout=Layout\nleft=Left\nleftAlign=Left Align\nleftToRight=Left to Right\nlibraryTooltip=Drag and drop shapes here or click + to insert. Double click to edit.\nlightbox=Lightbox\nline=Line\nlineend=Line end\nlineheight=Line Height\nlinestart=Line start\nlinewidth=Linewidth\nlink=Link\nlinks=Links\nloading=Loading\nlock=Lock\nlocked=Locked\nlockUnlock=Lock/Unlock\nloggedOut=Logged Out\nlogIn=log in\nloveIt=I love {1}\nlucidchart=Lucidchart\nmaps=Maps\nmathematicalTypesetting=Mathematical Typesetting\nmakeCopy=Make a Copy\nmanual=Manual\nmaximize=Maximize\nmerge=Merge\nmermaid=Mermaid\nmicrosoftOffice=Microsoft Office\nmicrosoftExcel=Microsoft Excel\nmicrosoftPowerPoint=Microsoft PowerPoint\nmicrosoftWord=Microsoft Word\nmiddle=Middle\nminimal=Minimal\nminimize=Minimize\nmisc=Misc\nmockups=Mockups\nmodern=Modern\nmodificationDate=Modification date\nmodifiedBy=Modified by\nmore=More\nmoreResults=More Results\nmoreShapes=More Shapes\nmove=Move\nmoveToFolder=Move to Folder\nmoving=Moving\nmoveSelectionTo=Move Selection to {1}\nmyDrive=My Drive\nmyFiles=My Files\nname=Name\nnavigation=Navigation\nnetwork=Network\nnetworking=Networking\nnew=New\nnewLibrary=New Library\nnextPage=Next Page\nno=No\nnoPickFolder=No, pick folder\nnoAttachments=No attachments found\nnoColor=No Color\nnoFiles=No Files\nnoFileSelected=No file selected\nnoLibraries=No libraries found\nnoMoreResults=No more results\nnone=None\nnoOtherViewers=No other viewers\nnoPlugins=No plugins\nnoPreview=No preview\nnoResponse=No response from server\nnoResultsFor=No results for \'{1}\'\nnoRevisions=No revisions\nnoSearchResults=No search results found\nnoPageContentOrNotSaved=No anchors found on this page or it hasn\'t been saved yet\nnormal=Normal\nnorth=North\nnotADiagramFile=Not a diagram file\nnotALibraryFile=Not a library file\nnotAvailable=Not available\nnotAUtf8File=Not a UTF-8 file\nnotConnected=Not connected\nnote=Note\nnotion=Notion\nnotSatisfiedWithImport=Not satisfied with the import?\nnotUsingService=Not using {1}?\nnumberedList=Numbered list\noffline=Offline\nok=OK\noneDrive=OneDrive\nonline=Online\nopacity=Opacity\nopen=Open\nopenArrow=Open Arrow\nopenExistingDiagram=Open Existing Diagram\nopenFile=Open File\nopenFrom=Open from\nopenLibrary=Open Library\nopenLibraryFrom=Open Library from\nopenLink=Open Link\nopenInNewWindow=Open in New Window\nopenInThisWindow=Open in This Window\nopenIt=Open {1}\nopenRecent=Open Recent\nopenSupported=Supported formats are files saved from this software (.xml), .vsdx and .gliffy\noptions=Options\norganic=Organic\norgChart=Org Chart\northogonal=Orthogonal\notherViewer=other viewer\notherViewers=other viewers\noutline=Outline\noval=Oval\npage=Page\npageContent=Page Content\npageNotFound=Page not found\npageWithNumber=Page-{1}\npages=Pages\npageTabs=Page Tabs\npageView=Page View\npageSetup=Page Setup\npageScale=Page Scale\npan=Pan\npanTooltip=Space+Drag to pan\npaperSize=Paper Size\npattern=Pattern\nparallels=Parallels\npaste=Paste\npasteData=Paste Data\npasteHere=Paste Here\npasteSize=Paste Size\npasteStyle=Paste Style\nperimeter=Perimeter\npermissionAnyone=Anyone can edit\npermissionAuthor=Owner and admins can edit\npickFolder=Pick a folder\npickLibraryDialogTitle=Select Library\npublicDiagramUrl=Public URL of the diagram\nplaceholders=Placeholders\nplantUml=PlantUML\nplugins=Plugins\npluginUrl=Plugin URL\npluginWarning=The page has requested to load the following plugin(s):\n \n {1}\n \n Would you like to load these plugin(s) now?\n \n NOTE : Only allow plugins to run if you fully understand the security implications of doing so.\n\nplusTooltip=Click to connect and clone (ctrl+click to clone, shift+click to connect). Drag to connect (ctrl+drag to clone).\nportrait=Portrait\nposition=Position\nposterPrint=Poster Print\npreferences=Preferences\npreview=Preview\npreviousPage=Previous Page\npresentationMode=Presentation Mode\nprint=Print\nprocEng=Proc. Eng.\nproject=Project\npriority=Priority\nprocessForHiringNewEmployee=Process for hiring a new employee\nproperties=Properties\npublish=Publish\nquickStart=Quick Start Video\nrack=Rack\nradial=Radial\nradialTree=Radial Tree\nreadOnly=Read-only\nreconnecting=Reconnecting\nrecentlyUpdated=Recently Updated\nrecentlyViewed=Recently Viewed\nrectangle=Rectangle\nredirectToNewApp=This file was created or modified in a newer version of this app. You will be redirected now.\nrealtimeTimeout=It looks like you\'ve made a few changes while offline. We\'re sorry, these changes cannot be saved.\nredo=Redo\nrefresh=Refresh\nregularExpression=Regular Expression\nrelative=Relative\nrelativeUrlNotAllowed=Relative URL not allowed\nrememberMe=Remember me\nrememberThisSetting=Remember this setting\nremoveFormat=Clear Formatting\nremoveFromGroup=Remove from Group\nremoveIt=Remove {1}\nremoveWaypoint=Remove Waypoint\nrename=Rename\nrenamed=Renamed\nrenameIt=Rename {1}\nrenaming=Renaming\nreplace=Replace\nreplaceIt={1} already exists. Do you want to replace it?\nreplaceExistingDrawing=Replace existing drawing\nrequired=required\nrequirementDiagram=Requirement Diagram\nreset=Reset\nresetView=Reset View\nresize=Resize\nresizeLargeImages=Do you want to resize large images to make the application run faster?\nretina=Retina\nresponsive=Responsive\nrestore=Restore\nrestoring=Restoring\nretryingIn=Retrying in {1} second(s)\nretryingLoad=Load failed. Retrying...\nretryingLogin=Login time out. Retrying...\nreverse=Reverse\nrevision=Revision\nrevisionHistory=Revision History\nrhombus=Rhombus\nright=Right\nrightAlign=Right Align\nrightToLeft=Right to Left\nrotate=Rotate\nrotateTooltip=Click and drag to rotate, click to turn shape only by 90 degrees\nrotation=Rotation\nrounded=Rounded\nsave=Save\nsaveAndExit=Save & Exit\nsaveAs=Save as\nsaveAsXmlFile=Save as XML file?\nsaved=Saved\nsaveDiagramFirst=Please save the diagram first\nsaveDiagramsTo=Save diagrams to\nsaveLibrary403=Insufficient permissions to edit this library\nsaveLibrary500=There was an error while saving the library\nsaveLibraryReadOnly=Could not save library while read-only mode is active\nsaving=Saving\nscratchpad=Scratchpad\nscrollbars=Scrollbars\nsearch=Search\nsearchShapes=Search Shapes\nselectAll=Select All\nselectionOnly=Selection Only\nselectCard=Select Card\nselectEdges=Select Edges\nselectedPage=Selected Page\nselectFile=Select File\nselectFolder=Select Folder\nselectFont=Select Font\nselection=Selection\nselectNone=Select None\nselectObjectsInLayer=Select Objects in Layer\nselectTemplate=Select Template\nselectVertices=Select Vertices\nsendBackward=Send Backward\nsendMessage=Send\nsendYourFeedback=Send your feedback\nsequenceDiagram=Sequence Diagram\nserviceUnavailableOrBlocked=Service unavailable or blocked\nsessionExpired=Your session has expired. Please refresh the browser window.\nsessionTimeoutOnSave=Your session has timed out and you have been disconnected from the Google Drive. Press OK to login and save.\nsetAsDefaultStyle=Set as Default Style\nsettings=Settings\nshadow=Shadow\nshadows=Shadows\nshape=Shape\nshapes=Shapes\nshare=Share\nshareCursor=Share Mouse Cursor\nshareLink=Link for shared editing\nsharingAvailable=Sharing available for Google Drive and OneDrive files.\nsaveItToGoogleDriveToCollaborate=You\'ll need to save "{1}" to Google Drive before you can collaborate.\nsaveToGoogleDrive=Save to Google Drive\nsharp=Sharp\nshow=Show\nshowRemoteCursors=Show Remote Mouse Cursors\nshowStartScreen=Show Start Screen\nsidebarTooltip=Click or drag and drop shapes. Shift+click to change selection. Alt+click to insert and connect.\nsigns=Signs\nsignOut=Sign out\nsimple=Simple\nsimpleArrow=Simple Arrow\nsimpleViewer=Simple Viewer\nsize=Size\nsketch=Sketch\nsmoothing=Smoothing\nsnapToGrid=Snap to Grid\nsolid=Solid\nsourceSpacing=Source Spacing\nsouth=South\nsoftware=Software\nspace=Space\nspacing=Spacing\nspecialLink=Special Link\nstateDiagram=State Diagram\nstandard=Standard\nstartDrawing=Start drawing\nstopDrawing=Stop drawing\nstarting=Starting\nstraight=Straight\nstrikethrough=Strikethrough\nstrokeColor=Line Color\nstyle=Style\nsubscript=Subscript\nsummary=Summary\nsuperscript=Superscript\nsupport=Support\nswap=Swap\nswimlaneDiagram=Swimlane Diagram\nsysml=SysML\ntags=Tags\ntable=Table\ntables=Tables\ntakeOver=Take Over\ntargetSpacing=Target Spacing\ntemplate=Template\ntemplates=Templates\ntext=Text\ntextAlignment=Text Alignment\ntextOpacity=Text Opacity\ntheme=Theme\ntimeout=Timeout\ntitle=Title\nto=to\ntoBack=To Back\ntoFront=To Front\ntooLargeUseDownload=Too large, use download instead.\ntoolbar=Toolbar\ntooltips=Tooltips\ntop=Top\ntopAlign=Top Align\ntopLeft=Top Left\ntopRight=Top Right\ntransparent=Transparent\ntransparentBackground=Transparent Background\ntrello=Trello\ntryAgain=Try again\ntryOpeningViaThisPage=Try opening via this page\nturn=Rotate Shape Only by 90°\ntype=Type\ntypeSlashToSearch=Type / to search\numl=UML\nunassigned=Unassigned\nunderline=Underline\nundo=Undo\nungroup=Ungroup\nunlock=Unlock\nunmerge=Unmerge\nunsavedChanges=Unsaved changes\nunsavedChangesClickHereToSave=Unsaved changes. Click here to save.\nuntitled=Untitled\nuntitledDiagram=Untitled Diagram\nuntitledLayer=Untitled Layer\nuntitledLibrary=Untitled Library\nunknownError=Unknown error\nunknownUser=Unknown user\nupdateExistingDrawing=Update existing drawing\nupdateFile=Update {1}\nupdatingDocument=Updating Document. Please wait...\nupdatingPreview=Updating Preview. Please wait...\nupdatingSelection=Updating Selection. Please wait...\nupload=Upload\nurl=URL\nuseBlackAndWhite=Use black and white\nuseCurrentSettings=Use current settings\nuseOffline=Use Offline\nuserDefined=User-defined\nuseRootFolder=Use root folder?\nuserManual=User Manual\nvertical=Vertical\nverticalFlow=Vertical Flow\nverticalTree=Vertical Tree\nview=View\nviewerSettings=Viewer Settings\nviewUrl=Link to view: {1}\nvoiceAssistant=Voice Assistant (beta)\nwarning=Warning\nwaypoints=Waypoints\nwest=West\nwhere=Where\nwidth=Width\nwiki=Wiki\nwordWrap=Word Wrap\nwritingDirection=Writing Direction\nyes=Yes\nyourEmailAddress=Your email address\nzoom=Zoom\nzoomIn=Zoom In\nzoomOut=Zoom Out\nbasic=Basic\nbusinessprocess=Business Processes\ncharts=Charts\nengineering=Engineering\nflowcharts=Flowcharts\ngmdl=Material Design\nmindmaps=Mindmaps\nmockups=Mockups\nnetworkdiagrams=Network Diagrams\nnothingIsSelected=Nothing is selected\nother=Other\nsoftwaredesign=Software Design\nvenndiagrams=Venn Diagrams\nwebEmailOrOther=Web, email or any other internet address\nwebLink=Web Link\nwireframes=Wireframes\nproperty=Property\nvalue=Value\nshowMore=Show More\nshowLess=Show Less\nmyDiagrams=My Diagrams\nallDiagrams=All Diagrams\nrecentlyUsed=Recently used\nlistView=List view\ngridView=Grid view\nresultsFor=Results for \'{1}\'\noneDriveCharsNotAllowed=The following characters are not allowed: ~ " # % * : < > ? / { | }\noneDriveInvalidDeviceName=The specified device name is invalid\nofficeNotLoggedOD=You are not logged in to OneDrive. Please open draw.io task pane and login first.\nofficeSelectSingleDiag=Please select a single draw.io diagram only without other contents.\nofficeSelectDiag=Please select a draw.io diagram.\nofficeCannotFindDiagram=Cannot find a draw.io diagram in the selection\nnoDiagrams=No diagrams found\nauthFailed=Authentication failed\nofficeFailedAuthMsg=Unable to successfully authenticate user or authorize application.\nconvertingDiagramFailed=Converting diagram failed\nofficeCopyImgErrMsg=Due to some limitations in the host application, the image could not be inserted. Please manually copy the image then paste it to the document.\ninsertingImageFailed=Inserting image failed\nofficeCopyImgInst=Instructions: Right-click the image below. Select "Copy image" from the context menu. Then, in the document, right-click and select "Paste" from the context menu.\nfolderEmpty=Folder is empty\nrecent=Recent\nsharedWithMe=Shared With Me\nsharepointSites=Sharepoint Sites\nerrorFetchingFolder=Error fetching folder items\nerrorAuthOD=Error authenticating to OneDrive\nofficeMainHeader=Adds draw.io diagrams to your document.\nofficeStepsHeader=This add-in performs the following steps:\nofficeStep1=Connects to Microsoft OneDrive, Google Drive or your device.\nofficeStep2=Select a draw.io diagram.\nofficeStep3=Insert the diagram into the document.\nofficeAuthPopupInfo=Please complete the authentication in the pop-up window.\nofficeSelDiag=Select draw.io Diagram:\nfiles=Files\nshared=Shared\nsharepoint=Sharepoint\nofficeManualUpdateInst=Instructions: Copy draw.io diagram from the document. Then, in the box below, right-click and select "Paste" from the context menu.\nofficeClickToEdit=Click icon to start editing:\npasteDiagram=Paste draw.io diagram here\nconnectOD=Connect to OneDrive\nselectChildren=Select Children\nselectSiblings=Select Siblings\nselectParent=Select Parent\nselectDescendants=Select Descendants\nlastSaved=Last saved {1} ago\nresolve=Resolve\nreopen=Re-open\nshowResolved=Show Resolved\nreply=Reply\nobjectNotFound=Object not found\nreOpened=Re-opened\nmarkedAsResolved=Marked as resolved\nnoCommentsFound=No comments found\ncomments=Comments\ntimeAgo={1} ago\nconfluenceCloud=Confluence Cloud\nlibraries=Libraries\nconfAnchor=Confluence Page Anchor\nconfTimeout=The connection has timed out\nconfSrvTakeTooLong=The server at {1} is taking too long to respond.\nconfCannotInsertNew=Cannot insert draw.io diagram to a new Confluence page\nconfSaveTry=Please save the page and try again.\nconfCannotGetID=Unable to determine page ID\nconfContactAdmin=Please contact your Confluence administrator.\nreadErr=Read Error\neditingErr=Editing Error\nconfExtEditNotPossible=This diagram cannot be edited externally. Please try editing it while editing the page\nconfEditedExt=Diagram/Page edited externally\ndiagNotFound=Diagram Not Found\nconfEditedExtRefresh=Diagram/Page is edited externally. Please refresh the page.\nconfCannotEditDraftDelOrExt=Cannot edit diagrams in a draft page, diagram is deleted from the page, or diagram is edited externally. Please check the page.\nretBack=Return back\nconfDiagNotPublished=The diagram does not belong to a published page\ncreatedByDraw=Created by draw.io\nfilenameShort=Filename too short\ninvalidChars=Invalid characters\nalreadyExst={1} already exists\ndraftReadErr=Draft Read Error\ndiagCantLoad=Diagram cannot be loaded\ndraftWriteErr=Draft Write Error\ndraftCantCreate=Draft could not be created\nconfDuplName=Duplicate diagram name detected. Please pick another name.\nconfSessionExpired=Looks like your session expired. Log in again to keep working.\nlogin=Login\ndrawPrev=draw.io preview\ndrawDiag=draw.io diagram\ninvalidCallFnNotFound=Invalid Call: {1} not found\ninvalidCallErrOccured=Invalid Call: An error occurred, {1}\nanonymous=Anonymous\nconfGotoPage=Go to containing page\nshowComments=Show Comments\nconfError=Error: {1}\ngliffyImport=Gliffy Import\ngliffyImportInst1=Click the "Start Import" button to import all Gliffy diagrams to draw.io.\ngliffyImportInst2=Please note that the import procedure will take some time and the browser window must remain open until the import is completed.\nstartImport=Start Import\ndrawConfig=draw.io Configuration\ncustomLib=Custom Libraries\ncustomTemp=Custom Templates\npageIdsExp=Page IDs Export\ndrawReindex=draw.io re-indexing\nworking=Working\ndrawConfigNotFoundInst=draw.io Configuration Space (DRAWIOCONFIG) does not exist. This space is needed to store draw.io configuration files and custom libraries/templates.\ncreateConfSp=Create Config Space\nunexpErrRefresh=Unexpected error, please refresh the page and try again.\nconfigJSONInst=Write draw.io JSON configuration in the editor below then click save. If you need help, please refer to\nthisPage=this page\ncurCustLib=Current Custom Libraries\nlibName=Library Name\naction=Action\ndrawConfID=draw.io Config ID\naddLibInst=Click the "Add Library" button to upload a new library.\naddLib=Add Library\ncustomTempInst1=Custom templates are draw.io diagrams saved in children pages of\ncustomTempInst2=For more details, please refer to\ntempsPage=Templates page\npageIdsExpInst1=Select export target, then click the "Start Export" button to export all pages IDs.\npageIdsExpInst2=Please note that the export procedure will take some time and the browser window must remain open until the export is completed.\nstartExp=Start Export\nrefreshDrawIndex=Refresh draw.io Diagrams Index\nreindexInst1=Click the "Start Indexing" button to refresh draw.io diagrams index.\nreindexInst2=Please note that the indexing procedure will take some time and the browser window must remain open until the indexing is completed.\nstartIndexing=Start Indexing\nconfAPageFoundFetch=Page "{1}" found. Fetching\nconfAAllDiagDone=All {1} diagrams processed. Process finished.\nconfAStartedProcessing=Started processing page "{1}"\nconfAAllDiagInPageDone=All {1} diagrams in page "{2}" processed successfully.\nconfAPartialDiagDone={1} out of {2} {3} diagrams in page "{4}" processed successfully.\nconfAUpdatePageFailed=Updating page "{1}" failed.\nconfANoDiagFoundInPage=No {1} diagrams found in page "{2}".\nconfAFetchPageFailed=Fetching the page failed.\nconfANoDiagFound=No {1} diagrams found. Process finished.\nconfASearchFailed=Searching for {1} diagrams failed. Please try again later.\nconfAGliffyDiagFound={2} diagram "{1}" found. Importing\nconfAGliffyDiagImported={2} diagram "{1}" imported successfully.\nconfASavingImpGliffyFailed=Saving imported {2} diagram "{1}" failed.\nconfAImportedFromByDraw=Imported from "{1}" by draw.io\nconfAImportGliffyFailed=Importing {2} diagram "{1}" failed.\nconfAFetchGliffyFailed=Fetching {2} diagram "{1}" failed.\nconfACheckBrokenDiagLnk=Checking for broken diagrams links.\nconfADelDiagLinkOf=Deleting diagram link of "{1}"\nconfADupLnk=(duplicate link)\nconfADelDiagLnkFailed=Deleting diagram link of "{1}" failed.\nconfAUnexpErrProcessPage=Unexpected error during processing the page with id: {1}\nconfADiagFoundIndex=Diagram "{1}" found. Indexing\nconfADiagIndexSucc=Diagram "{1}" indexed successfully.\nconfAIndexDiagFailed=Indexing diagram "{1}" failed.\nconfASkipDiagOtherPage=Skipped "{1}" as it belongs to another page!\nconfADiagUptoDate=Diagram "{1}" is up to date.\nconfACheckPagesWDraw=Checking pages having draw.io diagrams.\nconfAErrOccured=An error occurred!\nsavedSucc=Saved successfully\nconfASaveFailedErr=Saving Failed (Unexpected Error)\ncharacter=Character\nconfAConfPageDesc=This page contains draw.io configuration file (configuration.json) as attachment\nconfALibPageDesc=This page contains draw.io custom libraries as attachments\nconfATempPageDesc=This page contains draw.io custom templates as attachments\nconfAConfSpaceDesc=This space is used to store draw.io configuration files and custom libraries/templates\nconfANoCustLib=No Custom Libraries\ndelFailed=Delete failed!\nshowID=Show ID\nconfAIncorrectLibFileType=Incorrect file type. Libraries should be XML files.\nuploading=Uploading\nconfALibExist=This library already exists\nconfAUploadSucc=Uploaded successfully\nconfAUploadFailErr=Upload Failed (Unexpected Error)\nhiResPreview=High Res Preview\nofficeNotLoggedGD=You are not logged in to Google Drive. Please open draw.io task pane and login first.\nofficePopupInfo=Please complete the process in the pop-up window.\npickODFile=Pick OneDrive File\ncreateODFile=Create OneDrive File\npickGDriveFile=Pick Google Drive File\ncreateGDriveFile=Create Google Drive File\npickDeviceFile=Pick Device File\nvsdNoConfig="vsdurl" is not configured\nruler=Ruler\nunits=Units\npoints=Points\ninches=Inches\nmillimeters=Millimeters\nconfEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.\nconfDiagEditedExt=Diagram is edited in another session. It will be saved as a new attachment version but the page will show other session\'s modifications.\nmacroNotFound=Macro Not Found\nconfAInvalidPageIdsFormat=Incorrect Page IDs file format\nconfACollectingCurPages=Collecting current pages\nconfABuildingPagesMap=Building pages mapping\nconfAProcessDrawDiag=Started processing imported draw.io diagrams\nconfAProcessDrawDiagDone=Finished processing imported draw.io diagrams\nconfAProcessImpPages=Started processing imported pages\nconfAErrPrcsDiagInPage=Error processing draw.io diagrams in page "{1}"\nconfAPrcsDiagInPage=Processing draw.io diagrams in page "{1}"\nconfAImpDiagram=Importing diagram "{1}"\nconfAImpDiagramFailed=Importing diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.\nconfAImpDiagramError=Error importing diagram "{1}". Cannot fetch or save the diagram. Cannot fix this diagram links.\nconfAUpdateDgrmCCFailed=Updating link to diagram "{1}" failed.\nconfImpDiagramSuccess=Updating diagram "{1}" done successfully.\nconfANoLnksInDrgm=No links to update in: {1}\nconfAUpdateLnkToPg=Updated link to page: "{1}" in diagram: "{2}"\nconfAUpdateLBLnkToPg=Updated lightbox link to page: "{1}" in diagram: "{2}"\nconfAUpdateLnkBase=Updated base URL from: "{1}" to: "{2}" in diagram: "{3}"\nconfAPageIdsImpDone=Page IDs Import finished\nconfAPrcsMacrosInPage=Processing draw.io macros in page "{1}"\nconfAErrFetchPage=Error fetching page "{1}"\nconfAFixingMacro=Fixing macro of diagram "{1}"\nconfAErrReadingExpFile=Error reading export file\nconfAPrcsDiagInPageDone=Processing draw.io diagrams in page "{1}" finished\nconfAFixingMacroSkipped=Fixing macro of diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.\npageIdsExpTrg=Export target\nconfALucidDiagImgImported={2} diagram "{1}" image extracted successfully\nconfASavingLucidDiagImgFailed=Extracting {2} diagram "{1}" image failed\nconfGetInfoFailed=Fetching file info from {1} failed.\nconfCheckCacheFailed=Cannot get cached file info.\nconfReadFileErr=Cannot read "{1}" file from {2}.\nconfSaveCacheFailed=Unexpected error. Cannot save cached file\norgChartType=Org Chart Type\nlinear=Linear\nhanger2=Hanger 2\nhanger4=Hanger 4\nfishbone1=Fishbone 1\nfishbone2=Fishbone 2\n1ColumnLeft=Single Column Left\n1ColumnRight=Single Column Right\nsmart=Smart\nparentChildSpacing=Parent Child Spacing\nsiblingSpacing=Sibling Spacing\nconfNoPermErr=Sorry, you don\'t have enough permissions to view this embedded diagram from page {1}\ncopyAsImage=Copy as Image\ncopyAsText=Copy as Text\ncopyAsSvg=Copy as SVG\nlucidImport=Lucidchart Import\nlucidImportInst1=Click the "Start Import" button to import all Lucidchart diagrams.\ninstallFirst=Please install {1} first\ndrawioChromeExt=draw.io Chrome Extension\nloginFirstThen=Please login to {1} first, then {2}\nerrFetchDocList=Error: Couldn\'t fetch documents list\nbuiltinPlugins=Built-in Plugins\nextPlugins=External Plugins\nbackupFound=Backup file found\nchromeOnly=This feature only works in Google Chrome\nmsgDeleted=This message has been deleted\nconfAErrFetchDrawList=Error fetching diagrams list. Some diagrams are skipped.\nconfAErrCheckDrawDiag=Cannot check diagram {1}\nconfAErrFetchPageList=Error fetching pages list\nconfADiagImportIncom={1} diagram "{2}" is imported partially and may have missing shapes\ninvalidSel=Invalid selection\ndiagNameEmptyErr=Diagram name cannot be empty\nopenDiagram=Open Diagram\nnewDiagram=New diagram\neditable=Editable\nconfAReimportStarted=Re-import {1} diagrams started...\nspaceFilter=Filter by spaces\ncurViewState=Current Viewer State\npageLayers=Page and Layers\ncustomize=Customize\nfirstPage=First Page (All Layers)\ncurEditorState=Current Editor State\nnoAnchorsFound=No anchors found\nattachment=Attachment\ncurDiagram=Current Diagram\nrecentDiags=Recent Diagrams\ncsvImport=CSV Import\nchooseFile=Choose a file...\nchoose=Choose\ngdriveFname=Google Drive filename\nwidthOfViewer=Width of the viewer (px)\nheightOfViewer=Height of the viewer (px)\nautoSetViewerSize=Automatically set the size of the viewer\nthumbnail=Thumbnail\nprevInDraw=Preview in draw.io\nonedriveFname=OneDrive filename\ndiagFname=Diagram filename\ndiagUrl=Diagram URL\nshowDiag=Show Diagram\ndiagPreview=Diagram Preview\ncsvFileUrl=CSV File URL\ngenerate=Generate\nselectDiag2Insert=Please select a diagram to insert it.\nerrShowingDiag=Unexpected error. Cannot show diagram\nnoRecentDiags=No recent diagrams found\nfetchingRecentFailed=Failed to fetch recent diagrams\nuseSrch2FindDiags=Use the search box to find draw.io diagrams\ncantReadChckPerms=Cannot read the specified diagram. Please check you have read permission on that file.\ncantFetchChckPerms=Cannot fetch diagram info. Please check you have read permission on that file.\nsearchFailed=Searching failed. Please try again later.\nplsTypeStr=Please type a search string.\nunsupportedFileChckUrl=Unsupported file. Please check the specified URL\ndiagNotFoundChckUrl=Diagram not found or cannot be accessed. Please check the specified URL\ncsvNotFoundChckUrl=CSV file not found or cannot be accessed. Please check the specified URL\ncantReadUpload=Cannot read the uploaded diagram\nselect=Select\nerrCantGetIdType=Unexpected Error: Cannot get content id or type.\nerrGAuthWinBlocked=Error: Google Authentication window blocked\nauthDrawAccess=Authorize draw.io to access {1}\nconnTimeout=The connection has timed out\nerrAuthSrvc=Error authenticating to {1}\nplsSelectFile=Please select a file\nmustBgtZ={1} must be greater than zero\ncantLoadPrev=Cannot load file preview.\nerrAccessFile=Error: Access Denied. You do not have permission to access "{1}".\nnoPrevAvail=No preview is available.\npersonalAccNotSup=Personal accounts are not supported.\nerrSavingTryLater=Error occurred during saving, please try again later.\nplsEnterFld=Please enter {1}\ninvalidDiagUrl=Invalid Diagram URL\nunsupportedVsdx=Unsupported vsdx file\nunsupportedImg=Unsupported image file\nunsupportedFormat=Unsupported file format\nplsSelectSingleFile=Please select a single file only\nattCorrupt=Attachment file "{1}" is corrupted\nloadAttFailed=Failed to load attachment "{1}"\nembedDrawDiag=Embed draw.io Diagram\naddDiagram=Add Diagram\nembedDiagram=Embed Diagram\neditOwningPg=Edit owning page\ndeepIndexing=Deep Indexing (Index diagrams that aren\'t used in any page also)\nconfADeepIndexStarted=Deep Indexing Started\nconfADeepIndexDone=Deep Indexing Done\nofficeNoDiagramsSelected=No diagrams found in the selection\nofficeNoDiagramsInDoc=No diagrams found in the document\nofficeNotSupported=This feature is not supported in this host application\nsomeImagesFailed={1} out of {2} failed due to the following errors\nimportingNoUsedDiagrams=Importing {1} Diagrams not used in pages\nimportingDrafts=Importing {1} Diagrams in drafts\nprocessingDrafts=Processing drafts\nupdatingDrafts=Updating drafts\nupdateDrafts=Update drafts\nnotifications=Notifications\ndrawioImp=draw.io Import\nconfALibsImp=Importing draw.io Libraries\nconfALibsImpFailed=Importing {1} library failed\ncontributors=Contributors\ndrawDiagrams=draw.io Diagrams\nerrFileNotFoundOrNoPer=Error: Access Denied. File not found or you do not have permission to access "{1}" on {2}.\nconfACheckPagesWEmbed=Checking pages having embedded draw.io diagrams.\nconfADelBrokenEmbedDiagLnk=Removing broken embedded diagram links\nreplaceWith=Replace with\nreplaceAll=Replace All\nconfASkipDiagModified=Skipped "{1}" as it was modified after initial import\nreplFind=Replace/Find\nmatchesRepl={1} matches replaced\ndraftErrDataLoss=An error occurred while reading the draft file. The diagram cannot be edited now to prevent any possible data loss. Please try again later or contact support.\nibm=IBM\nlinkToDiagramHint=Add a link to this diagram. The diagram can only be edited from the page that owns it.\nlinkToDiagram=Link to Diagram\nchangedBy=Changed By\nlastModifiedOn=Last modified on\nsearchResults=Search Results\nshowAllTemps=Show all templates\nnotionToken=Notion Token\nselectDB=Select Database\nnoDBs=No Databases\ndiagramEdited={1} diagram "{2}" edited\nconfDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?\nconfFileTooBigErr=File size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration.\nowner=Owner\nrepository=Repository\nbranch=Branch\nmeters=Meters\nteamsNoEditingMsg=Editor functionality is only available in Desktop environment (in MS Teams App or a web browser)\ncontactOwner=Contact Owner\nviewerOnlyMsg=You cannot edit the diagrams in the mobile platform, please use the desktop client or a web browser.\nwebsite=Website\ncheck4Updates=Check for updates\nattWriteFailedRetry={1}: Attachment write failed, trying again in {2} seconds...\nconfPartialPageList=We couldn\'t fetch all pages due to an error in Confluence. Continuing using {1} pages only.\nspellCheck=Spell checker\nnoChange=No Change\nlblToSvg=Convert labels to SVG\ntxtSettings=Text Settings\nLinksLost=Links will be lost\narcSize=Arc Size\neditConnectionPoints=Edit Connection Points\nnotInOffline=Not supported while offline\nnotInDesktop=Not supported in Desktop App\nconfConfigSpaceArchived=draw.io Configuration space (DRAWIOCONFIG) is archived. Please restore it first.\nconfACleanOldVerStarted=Cleaning old diagram draft versions started\nconfACleanOldVerDone=Cleaning old diagram draft versions finished\nconfACleaningFile=Cleaning diagram draft "{1}" old versions\nconfAFileCleaned=Cleaning diagram draft "{1}" done\nconfAFileCleanFailed=Cleaning diagram draft "{1}" failed\nconfACleanOnly=Clean Diagram Drafts Only\nbrush=Brush\nopenDevTools=Open Developer Tools\nautoBkp=Automatic Backup\nconfAIgnoreCollectErr=Ignore collecting current pages errors\ndrafts=Drafts\ndraftSaveInt=Draft save interval [sec] (0 to disable)\npluginsDisabled=External plugins disabled.\nextExpNotConfigured=External image service is not configured\npathFilename=Path/Filename\nconfAHugeInstances=Very Large Instances\nconfAHugeInstancesDesc=If this instance includes 100,000+ pages, it is faster to request the current instance pages list from Atlassian. Please contact our support for more details.\nchoosePageIDsFile=Choose current page IDs csv file\nchooseDrawioPsgesFile=Choose pages with draw.io diagrams csv file\nprivate=Private\ndiagramTooLarge=The diagram is too large, please reduce its size and try again.\nselectAdminUsers=Select Admin Users\nxyzTeam={1} Team\naddTeamTitle=Adding a new draw.io Team\naddTeamInst1=To create a new draw.io Team, you need to create a new Atlassian group with "drawio-" prefix (e.g, a group named "drawio-marketing").\naddTeamInst2=Then, configure which team member can edit/add configuration, templates, and libraries from this page.\ndrawioTeams=draw.io Teams\nmembers=Members\nadminEditors=Admins/Editors\nallowAll=Allow all\nnoTeams=No teams found\nerrorLoadingTeams=Error Loading Teams\nnoTeamMembers=No team members found\nerrLoadTMembers=Error loading team members\nerrCreateTeamPage=Error creating team "{1}" page in "draw.io Configuration" space, please check you have the required permissions.\ngotoConfigPage=Please create the space from draw.io "Configuration" page.\nnoAdminsSelected=No admins/editors selected\nerrCreateConfigFile=Error creating "configuration.json" file, please check you have the required permissions.\nerrSetPageRestr=Error setting page restrictions\nnotAdmin4Team=You are not an admin for this team\nconfigUpdated=Configuration updated, restart the editor if you want to work with last configuration.\noutOfDateRevisionAlert=You are editing a historical revision of the diagram, please review the revision and open it to replace the latest version. Or close and overwrite/merge later.\nconfAErrFaqs=There are {1} error(s), the following instructions may help fixing most of the cases. (Please download the log for future references)\nconfA403ErrFaq=There are ({1}) 403 error(s). The current users must have add (write) permissions on all pages and attachments. Even admins sometimes are not allowed to write to some pages via page restrictions\nconfA404ErrFaq=There are ({1}) 404 error(s). The attachment/page is not found. This is due to improper migration or the diagram file (an attachment of the page) is deleted.\nconfA500ErrFaq=There are ({1}) 500 error(s). An internal server error in Confluence Cloud. Such errors are due to overloading the server and usually fixed by retrying the process.\nconfAOtherErrFaq=There are ({1}) other error(s). Please check the error description. If the description is not clear, please contact our support.\nconfAReplaceBaseUrl=Replace Base URL in diagram links when no page ID mapping is found\ndrawSvgPrev=draw.io SVG preview\ngoogleFonts=Google Fonts\ndiagDupl=Duplicate Diagram Detected\ndiagDuplMsg=This diagram is used in multiple places, which can result in unexpected results when edited. We\'ve created an independent copy. Please open the editor again.\ndiagDuplNoEditMsg=This diagram is used in multiple places. Please edit it within its own page.\nconfCloudMigConfirm=Warning: This process will edit many pages and diagrams, so it is recommended to stop the Synchrony service during the process. Do you want to proceed?\nconfCloudMigNotice=In the Cloud instance, please add linkAdjustments to draw.io configuration as follows {1}. Without this configuration, links in diagrams pointing to Confluence pages will not work.\nconfALogsPageDesc=This page contains logs of draw.io long running services as attachments\nconfEditOnlyInPageEditor=Can only be edited within Confluence page editor\nconfEvalWarn=Evaluation License - Not for production use\notherUsersEditing=Other user(s) are editing this diagram\nfirstTimeGD=First time to access this file?\ndrawioGDAppNotInstalled=draw.io Google Drive app is not installed, please install it first\nConfDC415Error=Saving drafts is blocked. If you have "Attachment Checker for Confluence" app, please update to the latest version.\nremove=Remove\nselectPgLyr=Select Page and Layers\nerrGenPreview=There was an error generating a diagram preview. Please consult technical support.\nattAccessErr=Diagram attachment access error: cannot display diagram\nwidthIntOrFixed=Width must be a valid integer or of value \'fixed\'\ndupDisabledPgLyrSlct=Diagram duplication is disabled when page and layers are selected\ncantDupPickDiffName=Could not duplicate diagram. Please choose a different name.\nownPgAccessDupErr=Owning page access restriction: cannot duplicate diagram.\ncantDupTryLater=Could not duplicate diagram. Please try again later.\ncantEditLnkd=Cannot edit linked diagram\ndiagEditOwnPgOnlyOpen=Diagram can only be edited from the page that owns it. Would you like to open the owning page for edit?\ndiagInTemps=draw.io diagrams in templates\ndiagInTempsCantEdit=Diagrams in page templates cannot be edited. They can only be edited on pages and blog posts.\nconfDirectEditDraftLost=This Confluence page has unpublished changes. Editing the diagram from page view may cause data loss. Please edit the Confluence page first and then edit the diagram.\nconfConfigSpacePerm=Note: If you recently migrated from DC app, please check draw.io Configuration space permissions such that all users can read and only admins can write. In addition, remove the page restrictions on "Configuration" and "Libraries" pages. You may need admin keys to access them. Also, please check the file "configuration.json" in the "Configuration" page is downloadable.\ntryCurPageOnErr=Try finding the diagram attachment on the macro page when the linked page fails\nconfAExtSrvcNoSupported=Embedded diagrams from external services or urls are not supported.\ngliffyVersionPinning=Import Gliffy pinned version instead of the latest version\nconfEmbedUpload=For a better editing experience, please use the regular draw.io macro to insert a blank diagram, then from (File menu → Import From → Device...) select the file you want to upload and embed.\nconfPublishErr=Another update conflicted with your publish, please try the operation again\nconfACacheMapping=Cache page IDs mapping\nconfARemImpPages=Remember imported pages\ndelCachedData=Delete Cached Data\nk15tPagesError=Error retrieving Scroll pages. Is Scroll Versions installed?\ndrawioUninstalled=draw.io has been uninstalled, the editor will now close\nconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.\nconfDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.\nDCSave500Error=Another Confluence operation interrupted saving, retry #{1}\n');Graph.prototype.defaultThemes["default-style2"]=mxUtils.parseXml('<mxStylesheet><add as="defaultVertex"><add as="shape" value="label"/><add as="perimeter" value="rectanglePerimeter"/><add as="fontSize" value="12"/><add as="fontFamily" value="Helvetica"/><add as="align" value="center"/><add as="verticalAlign" value="middle"/><add as="fillColor" value="default"/><add as="strokeColor" value="default"/><add as="fontColor" value="default"/></add><add as="defaultEdge"><add as="shape" value="connector"/><add as="labelBackgroundColor" value="default"/><add as="endArrow" value="classic"/><add as="fontSize" value="11"/><add as="fontFamily" value="Helvetica"/><add as="align" value="center"/><add as="verticalAlign" value="middle"/><add as="rounded" value="1"/><add as="strokeColor" value="default"/><add as="fontColor" value="default"/></add><add as="text"><add as="fillColor" value="none"/><add as="gradientColor" value="none"/><add as="strokeColor" value="none"/><add as="align" value="left"/><add as="verticalAlign" value="top"/></add><add as="edgeLabel" extend="text"><add as="labelBackgroundColor" value="default"/><add as="fontSize" value="11"/></add><add as="label"><add as="fontStyle" value="1"/><add as="align" value="left"/><add as="verticalAlign" value="middle"/><add as="spacing" value="2"/><add as="spacingLeft" value="52"/><add as="imageWidth" value="42"/><add as="imageHeight" value="42"/><add as="rounded" value="1"/></add><add as="icon" extend="label"><add as="align" value="center"/><add as="imageAlign" value="center"/><add as="verticalLabelPosition" value="bottom"/><add as="verticalAlign" value="top"/><add as="spacingTop" value="4"/><add as="labelBackgroundColor" value="default"/><add as="spacing" value="0"/><add as="spacingLeft" value="0"/><add as="spacingTop" value="6"/><add as="fontStyle" value="0"/><add as="imageWidth" value="48"/><add as="imageHeight" value="48"/></add><add as="swimlane"><add as="shape" value="swimlane"/><add as="fontSize" value="12"/><add as="fontStyle" value="1"/><add as="startSize" value="23"/></add><add as="group"><add as="verticalAlign" value="top"/><add as="fillColor" value="none"/><add as="strokeColor" value="none"/><add as="gradientColor" value="none"/><add as="pointerEvents" value="0"/></add><add as="ellipse"><add as="shape" value="ellipse"/><add as="perimeter" value="ellipsePerimeter"/></add><add as="rhombus"><add as="shape" value="rhombus"/><add as="perimeter" value="rhombusPerimeter"/></add><add as="triangle"><add as="shape" value="triangle"/><add as="perimeter" value="trianglePerimeter"/></add><add as="line"><add as="shape" value="line"/><add as="strokeWidth" value="4"/><add as="labelBackgroundColor" value="default"/><add as="verticalAlign" value="top"/><add as="spacingTop" value="8"/></add><add as="image"><add as="shape" value="image"/><add as="labelBackgroundColor" value="default"/><add as="verticalAlign" value="top"/><add as="verticalLabelPosition" value="bottom"/></add><add as="roundImage" extend="image"><add as="perimeter" value="ellipsePerimeter"/></add><add as="rhombusImage" extend="image"><add as="perimeter" value="rhombusPerimeter"/></add><add as="arrow"><add as="shape" value="arrow"/><add as="edgeStyle" value="none"/><add as="fillColor" value="default"/></add><add as="fancy"><add as="shadow" value="1"/><add as="glass" value="1"/></add><add as="gray" extend="fancy"><add as="gradientColor" value="#B3B3B3"/><add as="fillColor" value="#F5F5F5"/><add as="strokeColor" value="#666666"/></add><add as="blue" extend="fancy"><add as="gradientColor" value="#7EA6E0"/><add as="fillColor" value="#DAE8FC"/><add as="strokeColor" value="#6C8EBF"/></add><add as="green" extend="fancy"><add as="gradientColor" value="#97D077"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#82B366"/></add><add as="turquoise" extend="fancy"><add as="gradientColor" value="#67AB9F"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#6A9153"/></add><add as="yellow" extend="fancy"><add as="gradientColor" value="#FFD966"/><add as="fillColor" value="#FFF2CC"/><add as="strokeColor" value="#D6B656"/></add><add as="orange" extend="fancy"><add as="gradientColor" value="#FFA500"/><add as="fillColor" value="#FFCD28"/><add as="strokeColor" value="#D79B00"/></add><add as="red" extend="fancy"><add as="gradientColor" value="#EA6B66"/><add as="fillColor" value="#F8CECC"/><add as="strokeColor" value="#B85450"/></add><add as="pink" extend="fancy"><add as="gradientColor" value="#B5739D"/><add as="fillColor" value="#E6D0DE"/><add as="strokeColor" value="#996185"/></add><add as="purple" extend="fancy"><add as="gradientColor" value="#8C6C9C"/><add as="fillColor" value="#E1D5E7"/><add as="strokeColor" value="#9673A6"/></add><add as="plain-gray"><add as="gradientColor" value="#B3B3B3"/><add as="fillColor" value="#F5F5F5"/><add as="strokeColor" value="#666666"/></add><add as="plain-blue"><add as="gradientColor" value="#7EA6E0"/><add as="fillColor" value="#DAE8FC"/><add as="strokeColor" value="#6C8EBF"/></add><add as="plain-green"><add as="gradientColor" value="#97D077"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#82B366"/></add><add as="plain-turquoise"><add as="gradientColor" value="#67AB9F"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#6A9153"/></add><add as="plain-yellow"><add as="gradientColor" value="#FFD966"/><add as="fillColor" value="#FFF2CC"/><add as="strokeColor" value="#D6B656"/></add><add as="plain-orange"><add as="gradientColor" value="#FFA500"/><add as="fillColor" value="#FFCD28"/><add as="strokeColor" value="#D79B00"/></add><add as="plain-red"><add as="gradientColor" value="#EA6B66"/><add as="fillColor" value="#F8CECC"/><add as="strokeColor" value="#B85450"/></add><add as="plain-pink"><add as="gradientColor" value="#B5739D"/><add as="fillColor" value="#E6D0DE"/><add as="strokeColor" value="#996185"/></add><add as="plain-purple"><add as="gradientColor" value="#8C6C9C"/><add as="fillColor" value="#E1D5E7"/><add as="strokeColor" value="#9673A6"/></add></mxStylesheet>').documentElement;+(function(){var b=!1;"min"!=uiTheme||b||mxClient.IS_CHROMEAPP||(EditorUi.initMinimalTheme(),b=!0);var f=EditorUi.initTheme;EditorUi.initTheme=function(){f.apply(this,arguments);"min"!=uiTheme||b||(this.initMinimalTheme(),b=!0)}})();DrawioComment=function(b,f,m,t,x,q,C){this.file=b;this.id=f;this.content=m;this.modifiedDate=t;this.createdDate=x;this.isResolved=q;this.user=C;this.replies=[]};DrawioComment.prototype.addReplyDirect=function(b){null!=b&&this.replies.push(b)};DrawioComment.prototype.addReply=function(b,f,m,t,x){f()};DrawioComment.prototype.editComment=function(b,f,m){f()};DrawioComment.prototype.deleteComment=function(b,f){b()};DrawioUser=function(b,f,m,t,x){this.id=b;this.email=f;this.displayName=m;this.pictureUrl=t;this.locale=x};mxResources.parse('# *DO NOT DIRECTLY EDIT THIS FILE, IT IS AUTOMATICALLY GENERATED AND IT IS BASED ON:*\n# https://docs.google.com/spreadsheet/ccc?key=0AmQEO36liL4FdDJLWVNMaVV2UmRKSnpXU09MYkdGbEE\nabout=About\naboutDrawio=About draw.io\naccessDenied=Access Denied\naccounts=Accounts\naction=Action\nactualSize=Actual Size\nadaptiveColors=Adaptive Colors\nadd=Add\naddAccount=Add account\naddedFile=Added {1}\naddImages=Add Images\naddImageUrl=Add Image URL\naddLayer=Add Layer\naddProperty=Add Property\naddress=Address\naddToExistingDrawing=Add to Existing Drawing\naddToScratchpad=Add to Scratchpad\naddWaypoint=Add Waypoint\nadjustTo=Adjust to\nadvanced=Advanced\nsmartTemplate=Smart Template\nalign=Align\nalignment=Alignment\nallChangesLost=All changes will be lost!\nallPages=All Pages\nallProjects=All Projects\nallSelectedObjectsInThisLayer=All selected objects are in this layer\nallSpaces=All Spaces\nallTags=All Tags\nanchor=Anchor\nandroid=Android\nangle=Angle\nanimations=Animations\narc=Arc\nareYouSure=Are you sure?\nensureDataSaved=Please ensure your data is saved before closing.\nallChangesSaved=All changes saved\nallChangesSavedInDrive=All changes saved in Drive\nallowPopups=Allow pop-ups to avoid this dialog.\nallowRelativeUrl=Allow relative URL\nalreadyConnected=Nodes already connected\nappearance=Appearance\napply=Apply\narchiMate21=ArchiMate 2.1\narrange=Arrange\narrow=Arrow\narrows=Arrows\naskMeAnything=Ask me anything\nasNew=As New\natlas=Atlas\nauthor=Author\nauthorizationRequired=Authorization required\nauthorizeThisAppIn=Authorize this app in {1}:\nauthorize=Authorize\nauthorizing=Authorizing\nautomatic=Automatic\nautosave=Autosave\nautosize=Autosize\nattachments=Attachments\naws=AWS\naws3d=AWS 3D\nazure=Azure\nback=Back\nbackground=Background\nbackgroundColor=Background Color\nbackgroundImage=Background Image\nbasic=Basic\nbeta=beta\nblankDrawing=Blank Drawing\nblankDiagram=Blank Diagram\nblock=Block\nblockquote=Blockquote\nblog=Blog\nbold=Bold\nbootstrap=Bootstrap\nborder=Border\nborderColor=Border Color\nborderWidth=Border Width\nbottom=Bottom\nbottomAlign=Bottom Align\nbottomLeft=Bottom Left\nbottomRight=Bottom Right\nbpmn=BPMN\nbringForward=Bring Forward\nbrowser=Browser\nbulletedList=Bulleted List\nbusiness=Business\nbusy=Operation in progress\ncabinets=Cabinets\ncancel=Cancel\ncenter=Center\ncannotLoad=Load attempts failed. Please try again later.\ncannotLogin=Log in attempts failed. Please try again later.\ncannotOpenFile=Cannot open file\nchange=Change\nchangeOrientation=Change Orientation\nchangeUser=Change user\nchangeStorage=Change storage\nchangesNotSaved=Changes have not been saved\nclassDiagram=Class Diagram\nuserJoined={1} has joined\nuserLeft={1} has left\nchatWindowTitle=Chat\nchooseAnOption=Choose an option\nchromeApp=Chrome App\ncollaborativeEditingNotice=Important Notice for Collaborative Editing\ncompare=Compare\ncompressed=Compressed\ncommitMessage=Commit Message\nconfigLinkWarn=This link configures draw.io. Only click OK if you trust whoever gave you it!\nconfigLinkConfirm=Click OK to configure and restart draw.io.\ncontainer=Container\ncsv=CSV\ncurrentLayer=Current Layer\ndark=Dark\ndiagramLanguage=Diagram Language\ndiagramType=Diagram type\ndiagramXmlDesc=XML File\ndiagramHtmlDesc=HTML File\ndiagramPngDesc=Editable Bitmap Image\ndiagramSvgDesc=Editable Vector Image\ndidYouMeanToExportToPdf=Did you mean to export to PDF?\ndisabled=Disabled\ndraftFound=A draft for \'{1}\' has been found. Load it into the editor or discard it to continue.\ndraftRevisionMismatch=There is a different version of this diagram on a shared draft of this page. Please edit the diagram from the draft to ensure you are working with the latest version.\nselectDraft=Select a draft to continue editing:\ndragAndDropNotSupported=Drag and drop not supported for images. Would you like to import instead?\ndropboxCharsNotAllowed=The following characters are not allowed: / : ? * " |\ncheck=Check\nchecksum=Checksum\ncircle=Circle\ncisco=Cisco\nclassic=Classic\nclearDefaultStyle=Clear Default Style\nclearWaypoints=Clear Waypoints\nclipart=Clipart\nclose=Close\nclosingFile=Closing file\nrealtimeCollaboration=Real-Time Collaboration\ncollaborate=Collaborate\ncollaborator=Collaborator\ncollaborators=Collaborators\ncollapse=Collapse\ncollapseExpand=Collapse/Expand\ncollapse-expand=Click to collapse/expand\nShift-click to move neighbors \nAlt-click to protect group size\ncollapsible=Collapsible\ncomic=Comic\ncomment=Comment\ncommentsNotes=Comments/Notes\ncompress=Compress\nconfiguration=Configuration\nconnect=Connect\nconnecting=Connecting\nconnectWithDrive=Connect with Google Drive\nconnection=Connection\nconnectionArrows=Connection Arrows\nconnectionPoints=Connection Points\nconstrainProportions=Constrain Proportions\ncontainsValidationErrors=Contains validation errors\ncopiedToClipboard=Copied to clipboard\ncopy=Copy\ncopyConnect=Copy on Connect\ncopyCreated=A copy of the file was created.\ncopyData=Copy Data\ncopyOf=Copy of {1}\ncopyOfDrawing=Copy of Drawing\ncopySize=Copy Size\ncopyStyle=Copy Style\ncreate=Create\ncreateBlankDiagram=Create Blank Diagram\ncreateNewDiagram=Create New Diagram\ncreateRevision=Create Revision\ncreateShape=Create Shape\ncrop=Crop\ncurved=Curved\ncustom=Custom\ncurrent=Current\ncurrentPage=Current page\ncut=Cut\ndashed=Dashed\ndecideLater=Decide later\ndefault=Default\ndelete=Delete\ndeleteAll=Delete all\ndeleteColumn=Delete column\ndeleteLibrary401=Insufficient permissions to delete this library\ndeleteLibrary404=Selected library could not be found\ndeleteLibrary500=Error deleting library\ndeleteLibraryConfirm=You are about to permanently delete this library. Are you sure you want to do this?\ndeleteRow=Delete Row\ndescription=Description\ndescribeYourDiagram=Describe your diagram\ndevice=Device\ndiagram=Diagram\ndiagramContent=Diagram Content\ndiagramLocked=Diagram has been locked to prevent further data loss.\ndiagramLockedBySince=The diagram is locked by {1} since {2} ago\ndiagramName=Diagram Name\ndiagramIsPublic=Diagram is public\ndiagramIsNotPublic=Diagram is not public\ndiamond=Diamond\ndiamondThin=Diamond (thin)\ndidYouKnow=Did you know...\ndirection=Direction\ndiscard=Discard\ndiscardChangesAndReconnect=Discard Changes and Reconnect\ngoogleDriveMissingClickHere=Google Drive missing? Click here!\ndiscardChanges=Discard Changes\ndisconnected=Disconnected\ndistribute=Distribute\ndone=Done\ndoNotShowAgain=Do not show again\ndotted=Dotted\ndoubleClickOrientation=Doubleclick to change orientation\ndoubleClickTooltip=Doubleclick to insert text\ndoubleClickChangeProperty=Doubleclick to change property name\ndownload=Download\ndownloadDesktop=Get Desktop\ndownloadAs=Download as\nclickHereToSave=Click here to save.\ndpi=DPI\ndraftDiscarded=Draft discarded\ndraftSaved=Draft saved\ndragElementsHere=Drag elements here\ndragImagesHere=Drag images or URLs here\ndragUrlsHere=Drag URLs here\ndraw.io=draw.io\ndrawing=Drawing{1}\ndrawingEmpty=Drawing is empty\ndrawingTooLarge=Drawing is too large\ndrawioForWork=Draw.io for GSuite\ndropbox=Dropbox\nduplicate=Duplicate\nduplicateIt=Duplicate {1}\ndivider=Divider\ndx=Dx\ndy=Dy\neast=East\nedit=Edit\neditData=Edit Data\neditDiagram=Edit Diagram\neditGeometry=Edit Geometry\neditImage=Edit Image\neditImageUrl=Edit Image URL\neditLink=Edit Link\neditShape=Edit Shape\neditStyle=Edit Style\neditText=Edit Text\neditTooltip=Edit Tooltip\nglass=Glass\ngoogleImages=Google Images\nimageSearch=Image Search\neip=EIP\nembed=Embed\nembedFonts=Embed Fonts\nembedImages=Embed Images\nmainEmbedNotice=Paste this into the page\nelectrical=Electrical\nellipse=Ellipse\nembedNotice=Paste this once at the end of the page\nenterGroup=Enter Group\nenterName=Enter Name\nenterPropertyName=Enter Property Name\nenterValue=Enter Value\nentityRelation=Entity Relation\nentityRelationshipDiagram=Entity Relationship Diagram\nerror=Error\nerrorDeletingFile=Error deleting file\nerrorLoadingFile=Error loading file\nerrorRenamingFile=Error renaming file\nerrorRenamingFileNotFound=Error renaming file. File was not found.\nerrorRenamingFileForbidden=Error renaming file. Insufficient access rights.\nerrorSavingDraft=Error saving draft\nerrorSavingFile=Error saving file\nerrorSavingFileUnknown=Error authorizing with Google\'s servers. Please refresh the page to re-attempt.\nerrorSavingFileForbidden=Error saving file. Insufficient access rights.\nerrorSavingFileNameConflict=Could not save diagram. Current page already contains file named \'{1}\'.\nerrorSavingFileNotFound=Error saving file. File was not found.\nerrorSavingFileReadOnlyMode=Could not save diagram while read-only mode is active.\nerrorSavingFileSessionTimeout=Your session has ended. Please <a target=\'_blank\' href=\'{1}\'>{2}</a> and return to this tab to try to save again.\nerrorSendingFeedback=Error sending feedback.\nerrorUpdatingPreview=Error updating preview.\nexit=Exit\nexitGroup=Exit Group\nexpand=Expand\nexplore=Explore\nexport=Export\nexporting=Exporting\nexportAs=Export as\nexportOptionsDisabled=Export options disabled\nexportOptionsDisabledDetails=The owner has disabled options to download, print or copy for commenters and viewers on this file.\nexternalChanges=External Changes\nextras=Extras\nfailedToSaveTryReconnect=Failed to save, trying to reconnect\nfeatureRequest=Feature Request\nfeedback=Feedback\nfeedbackSent=Feedback successfully sent.\nfloorplans=Floorplans\nfile=File\nfileChangedOverwriteDialog=The file has been modified. Do you want to save the file and overwrite those changes?\nfileChangedSyncDialog=The file has been modified.\nfileChangedSync=The file has been modified. Click here to synchronize.\noverwrite=Overwrite\nsynchronize=Synchronize\nfilename=Filename\nfileExists=File already exists\nfileMovedToTrash=File was moved to trash\nfileNearlyFullSeeFaq=File nearly full, please see FAQ\nfileNotFound=File not found\nrepositoryNotFound=Repository not found\nfileNotFoundOrDenied=The file was not found. It does not exist or you do not have access.\nfileNotLoaded=File not loaded\nfileNotSaved=File not saved\nfileOpenLocation=How would you like to open these file(s)?\nfiletypeHtml=.html causes file to save as HTML with redirect to cloud URL\nfiletypePng=.png causes file to save as PNG with embedded data\nfiletypeSvg=.svg causes file to save as SVG with embedded data\nfileWillBeSavedInAppFolder={1} will be saved in the app folder.\nfill=Fill\nfillColor=Fill Color\nfilterCards=Filter Cards\nfind=Find\nfindInDiagram=Find in Diagram\nfit=Fit\nfitContainer=Resize Container\nfitIntoContainer=Fit into Container\nfitPage=Fit Page\nfitPageWidth=Fit Page Width\nfitTo=Fit to\nfitToSheetsAcross=sheet(s) across\nfitToBy=by\nfitToSheetsDown=sheet(s) down\nfitTwoPages=Two Pages\nfitWindow=Fit Window\nflip=Flip\nflipH=Flip Horizontal\nflipV=Flip Vertical\nflowAnimation=Flow Animation\nflowchart=Flowchart\nfolder=Folder\nfont=Font\nfontColor=Font Color\nfontFamily=Font Family\nfontSize=Font Size\nforbidden=You are not authorized to access this file\nformat=Format\nformatPanel=Format Panel\nformatted=Formatted\nformattedText=Formatted Text\nformatPng=PNG\nformatGif=GIF\nformatJpg=JPEG\nformatPdf=PDF\nformatSql=SQL\nformatSvg=SVG\nformatHtmlEmbedded=HTML\nformatSvgEmbedded=SVG (with XML)\nformatVsdx=VSDX\nformatVssx=VSSX\nformatWebp=WebP\nformatXmlPlain=XML (Plain)\nformatXml=XML\nforum=Discussion/Help Forums\nfreehand=Freehand\nfromTemplate=From Template\nfromTemplateUrl=From Template URL\nfromText=From Text\nfromUrl=From URL\nfromThisPage=From this page\nfullscreen=Fullscreen\ngap=Gap\ngcp=GCP\ngeneral=General\ngetNotionChromeExtension=Get the Notion Chrome Extension\ngithub=GitHub\ngitlab=GitLab\ngliffy=Gliffy\nglobal=Global\ngoogleDocs=Google Docs\ngoogleDrive=Google Drive\ngoogleGadget=Google Gadget\ngoogleSharingNotAvailable=Sharing is only available via Google Drive. Please click Open below and share from the more actions menu:\ngoogleSlides=Google Slides\ngoogleSites=Google Sites\ngoogleSheets=Google Sheets\ngradient=Gradient\ngradientColor=Color\ngrid=Grid\ngridColor=Grid Color\ngridSize=Grid Size\ngroup=Group\nguides=Guides\nhateApp=I hate draw.io\nheading=Heading\nheight=Height\nhelp=Help\nhelpTranslate=Help us translate this application\nhide=Hide\nhideIt=Hide {1}\nhidden=Hidden\nhighContrast=High Contrast\nhome=Home\nhorizontal=Horizontal\nhorizontalFlow=Horizontal Flow\nhorizontalTree=Horizontal Tree\nhowTranslate=How good is the translation in your language?\nhtml=HTML\nhtmlText=HTML Text\nid=ID\niframe=IFrame\nignore=Ignore\nimage=Image\nimageUrl=Image URL\nimages=Images\nimagePreviewError=This image couldn\'t be loaded for preview. Please check the URL.\nimageTooBig=Image too big\nimgur=Imgur\nimport=Import\nimportFrom=Import from\nimproveContrast=Improve Contrast\nincludeCopyOfMyDiagram=Include a copy of my diagram\nincreaseIndent=Increase Indent\ndecreaseIndent=Decrease Indent\ninsert=Insert\ninsertColumnBefore=Insert Column Left\ninsertColumnAfter=Insert Column Right\ninsertEllipse=Insert Ellipse\ninsertImage=Insert Image\ninsertHorizontalRule=Insert Horizontal Rule\ninsertLink=Insert Link\ninsertPage=Insert Page\ninsertRectangle=Insert Rectangle\ninsertRhombus=Insert Rhombus\ninsertRowBefore=Insert Row Above\ninsertRowAfter=Insert Row After\ninsertText=Insert Text\ninserting=Inserting\ninstallApp=Install App\ninvalidFilename=Diagram names must not contain the following characters: / | : ; { } < > & + ? = "\ninvalidLicenseSeeThisPage=Your license is invalid, please see this <a target="_blank" href="https://www.drawio.com/doc/faq/license-drawio-confluence-jira-cloud">page</a>.\ninvalidInput=Invalid input\ninvalidName=Invalid name\ninvalidOrMissingFile=Invalid or missing file\ninvalidPublicUrl=Invalid public URL\ninvertSelection=Invert Selection\nisometric=Isometric\nios=iOS\nitalic=Italic\nkennedy=Kennedy\nkeyboardShortcuts=Keyboard Shortcuts\nlabels=Labels\nlayers=Layers\nlandscape=Landscape\nlanguage=Language\nleanMapping=Lean Mapping\nlastChange=Last change {1} ago\nlessThanAMinute=less than a minute\nlicensingError=Licensing Error\nlicenseHasExpired=The license for {1} has expired on {2}. Click here.\nlicenseRequired=This feature requires draw.io to be licensed.\nlicenseWillExpire=The license for {1} will expire on {2}. Click here.\nlight=Light\nlineJumps=Line jumps\nlinkAccountRequired=If the diagram is not public a Google account is required to view the link.\nlinkText=Link Text\nlist=List\nminute=minute\nminutes=minutes\nhours=hours\ndays=days\nmonths=months\nyears=years\nrestartForChangeRequired=Changes will take effect after a restart of the application.\nlaneColor=Lanecolor\nlanguageCode=Language Code\nlastModified=Last modified\nlayout=Layout\nleft=Left\nleftAlign=Left Align\nleftToRight=Left to Right\nlibraryTooltip=Drag and drop shapes here or click + to insert. Double click to edit.\nlightbox=Lightbox\nline=Line\nlineend=Line end\nlineheight=Line Height\nlinestart=Line start\nlinewidth=Linewidth\nlink=Link\nlinks=Links\nloading=Loading\nlock=Lock\nlocked=Locked\nlockUnlock=Lock/Unlock\nloggedOut=Logged Out\nlogIn=log in\nloveIt=I love {1}\nlucidchart=Lucidchart\nmaps=Maps\nmathematicalTypesetting=Mathematical Typesetting\nmakeCopy=Make a Copy\nmanual=Manual\nmaximize=Maximize\nmerge=Merge\nmermaid=Mermaid\nmicrosoftOffice=Microsoft Office\nmicrosoftExcel=Microsoft Excel\nmicrosoftPowerPoint=Microsoft PowerPoint\nmicrosoftWord=Microsoft Word\nmiddle=Middle\nminimal=Minimal\nminimize=Minimize\nmisc=Misc\nmockups=Mockups\nmodern=Modern\nmodificationDate=Modification date\nmodifiedBy=Modified by\nmore=More\nmoreResults=More Results\nmoreShapes=More Shapes\nmove=Move\nmoveToFolder=Move to Folder\nmoving=Moving\nmoveSelectionTo=Move Selection to {1}\nmyDrive=My Drive\nmyFiles=My Files\nname=Name\nnavigation=Navigation\nnetwork=Network\nnetworking=Networking\nnew=New\nnewLibrary=New Library\nnextPage=Next Page\nno=No\nnoPickFolder=No, pick folder\nnoAttachments=No attachments found\nnoColor=No Color\nnoFiles=No Files\nnoFileSelected=No file selected\nnoLibraries=No libraries found\nnoMoreResults=No more results\nnone=None\nnoOtherViewers=No other viewers\nnoPlugins=No plugins\nnoPreview=No preview\nnoResponse=No response from server\nnoResultsFor=No results for \'{1}\'\nnoRevisions=No revisions\nnoSearchResults=No search results found\nnoPageContentOrNotSaved=No anchors found on this page or it hasn\'t been saved yet\nnormal=Normal\nnorth=North\nnotADiagramFile=Not a diagram file\nnotALibraryFile=Not a library file\nnotAvailable=Not available\nnotAUtf8File=Not a UTF-8 file\nnotConnected=Not connected\nnote=Note\nnotion=Notion\nnotSatisfiedWithImport=Not satisfied with the import?\nnotUsingService=Not using {1}?\nnumberedList=Numbered list\noffline=Offline\nok=OK\noneDrive=OneDrive\nonline=Online\nopacity=Opacity\nopen=Open\nopenArrow=Open Arrow\nopenExistingDiagram=Open Existing Diagram\nopenFile=Open File\nopenFrom=Open from\nopenLibrary=Open Library\nopenLibraryFrom=Open Library from\nopenLink=Open Link\nopenInNewWindow=Open in New Window\nopenInThisWindow=Open in This Window\nopenIt=Open {1}\nopenRecent=Open Recent\nopenSupported=Supported formats are files saved from this software (.xml), .vsdx and .gliffy\noptions=Options\norganic=Organic\norgChart=Org Chart\northogonal=Orthogonal\notherViewer=other viewer\notherViewers=other viewers\noutline=Outline\noval=Oval\npage=Page\npageContent=Page Content\npageNotFound=Page not found\npageWithNumber=Page-{1}\npages=Pages\npageTabs=Page Tabs\npageView=Page View\npageSetup=Page Setup\npageScale=Page Scale\npan=Pan\npanTooltip=Space+Drag to pan\npaperSize=Paper Size\npattern=Pattern\nparallels=Parallels\npaste=Paste\npasteData=Paste Data\npasteHere=Paste Here\npasteSize=Paste Size\npasteStyle=Paste Style\nperimeter=Perimeter\npermissionAnyone=Anyone can edit\npermissionAuthor=Owner and admins can edit\npickFolder=Pick a folder\npickLibraryDialogTitle=Select Library\npublicDiagramUrl=Public URL of the diagram\nplaceholders=Placeholders\nplantUml=PlantUML\nplugins=Plugins\npluginUrl=Plugin URL\npluginWarning=The page has requested to load the following plugin(s):\n \n {1}\n \n Would you like to load these plugin(s) now?\n \n NOTE : Only allow plugins to run if you fully understand the security implications of doing so.\n\nplusTooltip=Click to connect and clone (ctrl+click to clone, shift+click to connect). Drag to connect (ctrl+drag to clone).\nportrait=Portrait\nposition=Position\nposterPrint=Poster Print\npreferences=Preferences\npreview=Preview\npreviousPage=Previous Page\npresentationMode=Presentation Mode\nprint=Print\nprocEng=Proc. Eng.\nproject=Project\npriority=Priority\nprocessForHiringNewEmployee=Process for hiring a new employee\nproperties=Properties\npublish=Publish\nquickStart=Quick Start Video\nrack=Rack\nradial=Radial\nradialTree=Radial Tree\nreadOnly=Read-only\nreconnecting=Reconnecting\nrecentlyUpdated=Recently Updated\nrecentlyViewed=Recently Viewed\nrectangle=Rectangle\nredirectToNewApp=This file was created or modified in a newer version of this app. You will be redirected now.\nrealtimeTimeout=It looks like you\'ve made a few changes while offline. We\'re sorry, these changes cannot be saved.\nredo=Redo\nrefresh=Refresh\nregularExpression=Regular Expression\nrelative=Relative\nrelativeUrlNotAllowed=Relative URL not allowed\nrememberMe=Remember me\nrememberThisSetting=Remember this setting\nremoveFormat=Clear Formatting\nremoveFromGroup=Remove from Group\nremoveIt=Remove {1}\nremoveWaypoint=Remove Waypoint\nrename=Rename\nrenamed=Renamed\nrenameIt=Rename {1}\nrenaming=Renaming\nreplace=Replace\nreplaceIt={1} already exists. Do you want to replace it?\nreplaceExistingDrawing=Replace existing drawing\nrequired=required\nrequirementDiagram=Requirement Diagram\nreset=Reset\nresetView=Reset View\nresize=Resize\nresizeLargeImages=Do you want to resize large images to make the application run faster?\nretina=Retina\nresponsive=Responsive\nrestore=Restore\nrestoring=Restoring\nretryingIn=Retrying in {1} second(s)\nretryingLoad=Load failed. Retrying...\nretryingLogin=Login time out. Retrying...\nreverse=Reverse\nrevision=Revision\nrevisionHistory=Revision History\nrhombus=Rhombus\nright=Right\nrightAlign=Right Align\nrightToLeft=Right to Left\nrotate=Rotate\nrotateTooltip=Click and drag to rotate, click to turn shape only by 90 degrees\nrotation=Rotation\nrounded=Rounded\nsave=Save\nsaveAndExit=Save & Exit\nsaveAs=Save as\nsaveAsXmlFile=Save as XML file?\nsaved=Saved\nsaveDiagramFirst=Please save the diagram first\nsaveDiagramsTo=Save diagrams to\nsaveLibrary403=Insufficient permissions to edit this library\nsaveLibrary500=There was an error while saving the library\nsaveLibraryReadOnly=Could not save library while read-only mode is active\nsaving=Saving\nscratchpad=Scratchpad\nscrollbars=Scrollbars\nsearch=Search\nsearchShapes=Search Shapes\nselectAll=Select All\nselectionOnly=Selection Only\nselectCard=Select Card\nselectEdges=Select Edges\nselectedPage=Selected Page\nselectFile=Select File\nselectFolder=Select Folder\nselectFont=Select Font\nselection=Selection\nselectNone=Select None\nselectObjectsInLayer=Select Objects in Layer\nselectTemplate=Select Template\nselectVertices=Select Vertices\nsendBackward=Send Backward\nsendMessage=Send\nsendYourFeedback=Send your feedback\nsequenceDiagram=Sequence Diagram\nserviceUnavailableOrBlocked=Service unavailable or blocked\nsessionExpired=Your session has expired. Please refresh the browser window.\nsessionTimeoutOnSave=Your session has timed out and you have been disconnected from the Google Drive. Press OK to login and save.\nsetAsDefaultStyle=Set as Default Style\nsettings=Settings\nshadow=Shadow\nshadows=Shadows\nshape=Shape\nshapes=Shapes\nshare=Share\nshareCursor=Share Mouse Cursor\nshareLink=Link for shared editing\nsharingAvailable=Sharing available for Google Drive and OneDrive files.\nsaveItToGoogleDriveToCollaborate=You\'ll need to save "{1}" to Google Drive before you can collaborate.\nsaveToGoogleDrive=Save to Google Drive\nsharp=Sharp\nshow=Show\nshowRemoteCursors=Show Remote Mouse Cursors\nshowStartScreen=Show Start Screen\nsidebarTooltip=Click or drag and drop shapes. Shift+click to change selection. Alt+click to insert and connect.\nsigns=Signs\nsignOut=Sign out\nsimple=Simple\nsimpleArrow=Simple Arrow\nsimpleViewer=Simple Viewer\nsize=Size\nsketch=Sketch\nsmoothing=Smoothing\nsnapToGrid=Snap to Grid\nsolid=Solid\nsourceSpacing=Source Spacing\nsouth=South\nsoftware=Software\nspace=Space\nspacing=Spacing\nspecialLink=Special Link\nstateDiagram=State Diagram\nstandard=Standard\nstartDrawing=Start drawing\nstopDrawing=Stop drawing\nstarting=Starting\nstraight=Straight\nstrikethrough=Strikethrough\nstrokeColor=Line Color\nstyle=Style\nsubscript=Subscript\nsummary=Summary\nsuperscript=Superscript\nsupport=Support\nswap=Swap\nswimlaneDiagram=Swimlane Diagram\nsysml=SysML\ntags=Tags\ntable=Table\ntables=Tables\ntakeOver=Take Over\ntargetSpacing=Target Spacing\ntemplate=Template\ntemplates=Templates\ntext=Text\ntextAlignment=Text Alignment\ntextOpacity=Text Opacity\ntheme=Theme\ntimeout=Timeout\ntitle=Title\nto=to\ntoBack=To Back\ntoFront=To Front\ntooLargeUseDownload=Too large, use download instead.\ntoolbar=Toolbar\ntooltips=Tooltips\ntop=Top\ntopAlign=Top Align\ntopLeft=Top Left\ntopRight=Top Right\ntransparent=Transparent\ntransparentBackground=Transparent Background\ntrello=Trello\ntryAgain=Try again\ntryOpeningViaThisPage=Try opening via this page\nturn=Rotate Shape Only by 90°\ntype=Type\ntypeSlashToSearch=Type / to search\numl=UML\nunassigned=Unassigned\nunderline=Underline\nundo=Undo\nungroup=Ungroup\nunlock=Unlock\nunmerge=Unmerge\nunsavedChanges=Unsaved changes\nunsavedChangesClickHereToSave=Unsaved changes. Click here to save.\nuntitled=Untitled\nuntitledDiagram=Untitled Diagram\nuntitledLayer=Untitled Layer\nuntitledLibrary=Untitled Library\nunknownError=Unknown error\nunknownUser=Unknown user\nupdateExistingDrawing=Update existing drawing\nupdateFile=Update {1}\nupdatingDocument=Updating Document. Please wait...\nupdatingPreview=Updating Preview. Please wait...\nupdatingSelection=Updating Selection. Please wait...\nupload=Upload\nurl=URL\nuseBlackAndWhite=Use black and white\nuseCurrentSettings=Use current settings\nuseOffline=Use Offline\nuserDefined=User-defined\nuseRootFolder=Use root folder?\nuserManual=User Manual\nvertical=Vertical\nverticalFlow=Vertical Flow\nverticalTree=Vertical Tree\nview=View\nviewerSettings=Viewer Settings\nviewUrl=Link to view: {1}\nvoiceAssistant=Voice Assistant (beta)\nwarning=Warning\nwaypoints=Waypoints\nwest=West\nwhere=Where\nwidth=Width\nwiki=Wiki\nwordWrap=Word Wrap\nwritingDirection=Writing Direction\nyes=Yes\nyourEmailAddress=Your email address\nzoom=Zoom\nzoomIn=Zoom In\nzoomOut=Zoom Out\nbasic=Basic\nbusinessprocess=Business Processes\ncharts=Charts\nengineering=Engineering\nflowcharts=Flowcharts\ngmdl=Material Design\nmindmaps=Mindmaps\nmockups=Mockups\nnetworkdiagrams=Network Diagrams\nnothingIsSelected=Nothing is selected\nother=Other\nsoftwaredesign=Software Design\nvenndiagrams=Venn Diagrams\nwebEmailOrOther=Web, email or any other internet address\nwebLink=Web Link\nwireframes=Wireframes\nproperty=Property\nvalue=Value\nshowMore=Show More\nshowLess=Show Less\nmyDiagrams=My Diagrams\nallDiagrams=All Diagrams\nrecentlyUsed=Recently used\nlistView=List view\ngridView=Grid view\nresultsFor=Results for \'{1}\'\noneDriveCharsNotAllowed=The following characters are not allowed: ~ " # % * : < > ? / { | }\noneDriveInvalidDeviceName=The specified device name is invalid\nofficeNotLoggedOD=You are not logged in to OneDrive. Please open draw.io task pane and login first.\nofficeSelectSingleDiag=Please select a single draw.io diagram only without other contents.\nofficeSelectDiag=Please select a draw.io diagram.\nofficeCannotFindDiagram=Cannot find a draw.io diagram in the selection\nnoDiagrams=No diagrams found\nauthFailed=Authentication failed\nofficeFailedAuthMsg=Unable to successfully authenticate user or authorize application.\nconvertingDiagramFailed=Converting diagram failed\nofficeCopyImgErrMsg=Due to some limitations in the host application, the image could not be inserted. Please manually copy the image then paste it to the document.\ninsertingImageFailed=Inserting image failed\nofficeCopyImgInst=Instructions: Right-click the image below. Select "Copy image" from the context menu. Then, in the document, right-click and select "Paste" from the context menu.\nfolderEmpty=Folder is empty\nrecent=Recent\nsharedWithMe=Shared With Me\nsharepointSites=Sharepoint Sites\nerrorFetchingFolder=Error fetching folder items\nerrorAuthOD=Error authenticating to OneDrive\nofficeMainHeader=Adds draw.io diagrams to your document.\nofficeStepsHeader=This add-in performs the following steps:\nofficeStep1=Connects to Microsoft OneDrive, Google Drive or your device.\nofficeStep2=Select a draw.io diagram.\nofficeStep3=Insert the diagram into the document.\nofficeAuthPopupInfo=Please complete the authentication in the pop-up window.\nofficeSelDiag=Select draw.io Diagram:\nfiles=Files\nshared=Shared\nsharepoint=Sharepoint\nofficeManualUpdateInst=Instructions: Copy draw.io diagram from the document. Then, in the box below, right-click and select "Paste" from the context menu.\nofficeClickToEdit=Click icon to start editing:\npasteDiagram=Paste draw.io diagram here\nconnectOD=Connect to OneDrive\nselectChildren=Select Children\nselectSiblings=Select Siblings\nselectParent=Select Parent\nselectDescendants=Select Descendants\nlastSaved=Last saved {1} ago\nresolve=Resolve\nreopen=Re-open\nshowResolved=Show Resolved\nreply=Reply\nobjectNotFound=Object not found\nreOpened=Re-opened\nmarkedAsResolved=Marked as resolved\nnoCommentsFound=No comments found\ncomments=Comments\ntimeAgo={1} ago\nconfluenceCloud=Confluence Cloud\nlibraries=Libraries\nconfAnchor=Confluence Page Anchor\nconfTimeout=The connection has timed out\nconfSrvTakeTooLong=The server at {1} is taking too long to respond.\nconfCannotInsertNew=Cannot insert draw.io diagram to a new Confluence page\nconfSaveTry=Please save the page and try again.\nconfCannotGetID=Unable to determine page ID\nconfContactAdmin=Please contact your Confluence administrator.\nreadErr=Read Error\neditingErr=Editing Error\nconfExtEditNotPossible=This diagram cannot be edited externally. Please try editing it while editing the page\nconfEditedExt=Diagram/Page edited externally\ndiagNotFound=Diagram Not Found\nconfEditedExtRefresh=Diagram/Page is edited externally. Please refresh the page.\nconfCannotEditDraftDelOrExt=Cannot edit diagrams in a draft page, diagram is deleted from the page, or diagram is edited externally. Please check the page.\nretBack=Return back\nconfDiagNotPublished=The diagram does not belong to a published page\ncreatedByDraw=Created by draw.io\nfilenameShort=Filename too short\ninvalidChars=Invalid characters\nalreadyExst={1} already exists\ndraftReadErr=Draft Read Error\ndiagCantLoad=Diagram cannot be loaded\ndraftWriteErr=Draft Write Error\ndraftCantCreate=Draft could not be created\nconfDuplName=Duplicate diagram name detected. Please pick another name.\nconfSessionExpired=Looks like your session expired. Log in again to keep working.\nlogin=Login\ndrawPrev=draw.io preview\ndrawDiag=draw.io diagram\ninvalidCallFnNotFound=Invalid Call: {1} not found\ninvalidCallErrOccured=Invalid Call: An error occurred, {1}\nanonymous=Anonymous\nconfGotoPage=Go to containing page\nshowComments=Show Comments\nconfError=Error: {1}\ngliffyImport=Gliffy Import\ngliffyImportInst1=Click the "Start Import" button to import all Gliffy diagrams to draw.io.\ngliffyImportInst2=Please note that the import procedure will take some time and the browser window must remain open until the import is completed.\nstartImport=Start Import\ndrawConfig=draw.io Configuration\ncustomLib=Custom Libraries\ncustomTemp=Custom Templates\npageIdsExp=Page IDs Export\ndrawReindex=draw.io re-indexing\nworking=Working\ndrawConfigNotFoundInst=draw.io Configuration Space (DRAWIOCONFIG) does not exist. This space is needed to store draw.io configuration files and custom libraries/templates.\ncreateConfSp=Create Config Space\nunexpErrRefresh=Unexpected error, please refresh the page and try again.\nconfigJSONInst=Write draw.io JSON configuration in the editor below then click save. If you need help, please refer to\nthisPage=this page\ncurCustLib=Current Custom Libraries\nlibName=Library Name\naction=Action\ndrawConfID=draw.io Config ID\naddLibInst=Click the "Add Library" button to upload a new library.\naddLib=Add Library\ncustomTempInst1=Custom templates are draw.io diagrams saved in children pages of\ncustomTempInst2=For more details, please refer to\ntempsPage=Templates page\npageIdsExpInst1=Select export target, then click the "Start Export" button to export all pages IDs.\npageIdsExpInst2=Please note that the export procedure will take some time and the browser window must remain open until the export is completed.\nstartExp=Start Export\nrefreshDrawIndex=Refresh draw.io Diagrams Index\nreindexInst1=Click the "Start Indexing" button to refresh draw.io diagrams index.\nreindexInst2=Please note that the indexing procedure will take some time and the browser window must remain open until the indexing is completed.\nstartIndexing=Start Indexing\nconfAPageFoundFetch=Page "{1}" found. Fetching\nconfAAllDiagDone=All {1} diagrams processed. Process finished.\nconfAStartedProcessing=Started processing page "{1}"\nconfAAllDiagInPageDone=All {1} diagrams in page "{2}" processed successfully.\nconfAPartialDiagDone={1} out of {2} {3} diagrams in page "{4}" processed successfully.\nconfAUpdatePageFailed=Updating page "{1}" failed.\nconfANoDiagFoundInPage=No {1} diagrams found in page "{2}".\nconfAFetchPageFailed=Fetching the page failed.\nconfANoDiagFound=No {1} diagrams found. Process finished.\nconfASearchFailed=Searching for {1} diagrams failed. Please try again later.\nconfAGliffyDiagFound={2} diagram "{1}" found. Importing\nconfAGliffyDiagImported={2} diagram "{1}" imported successfully.\nconfASavingImpGliffyFailed=Saving imported {2} diagram "{1}" failed.\nconfAImportedFromByDraw=Imported from "{1}" by draw.io\nconfAImportGliffyFailed=Importing {2} diagram "{1}" failed.\nconfAFetchGliffyFailed=Fetching {2} diagram "{1}" failed.\nconfACheckBrokenDiagLnk=Checking for broken diagrams links.\nconfADelDiagLinkOf=Deleting diagram link of "{1}"\nconfADupLnk=(duplicate link)\nconfADelDiagLnkFailed=Deleting diagram link of "{1}" failed.\nconfAUnexpErrProcessPage=Unexpected error during processing the page with id: {1}\nconfADiagFoundIndex=Diagram "{1}" found. Indexing\nconfADiagIndexSucc=Diagram "{1}" indexed successfully.\nconfAIndexDiagFailed=Indexing diagram "{1}" failed.\nconfASkipDiagOtherPage=Skipped "{1}" as it belongs to another page!\nconfADiagUptoDate=Diagram "{1}" is up to date.\nconfACheckPagesWDraw=Checking pages having draw.io diagrams.\nconfAErrOccured=An error occurred!\nsavedSucc=Saved successfully\nconfASaveFailedErr=Saving Failed (Unexpected Error)\ncharacter=Character\nconfAConfPageDesc=This page contains draw.io configuration file (configuration.json) as attachment\nconfALibPageDesc=This page contains draw.io custom libraries as attachments\nconfATempPageDesc=This page contains draw.io custom templates as attachments\nconfAConfSpaceDesc=This space is used to store draw.io configuration files and custom libraries/templates\nconfANoCustLib=No Custom Libraries\ndelFailed=Delete failed!\nshowID=Show ID\nconfAIncorrectLibFileType=Incorrect file type. Libraries should be XML files.\nuploading=Uploading\nconfALibExist=This library already exists\nconfAUploadSucc=Uploaded successfully\nconfAUploadFailErr=Upload Failed (Unexpected Error)\nhiResPreview=High Res Preview\nofficeNotLoggedGD=You are not logged in to Google Drive. Please open draw.io task pane and login first.\nofficePopupInfo=Please complete the process in the pop-up window.\npickODFile=Pick OneDrive File\ncreateODFile=Create OneDrive File\npickGDriveFile=Pick Google Drive File\ncreateGDriveFile=Create Google Drive File\npickDeviceFile=Pick Device File\nvsdNoConfig="vsdurl" is not configured\nruler=Ruler\nunits=Units\npoints=Points\ninches=Inches\nmillimeters=Millimeters\nconfEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.\nconfDiagEditedExt=Diagram is edited in another session. It will be saved as a new attachment version but the page will show other session\'s modifications.\nmacroNotFound=Macro Not Found\nconfAInvalidPageIdsFormat=Incorrect Page IDs file format\nconfACollectingCurPages=Collecting current pages\nconfABuildingPagesMap=Building pages mapping\nconfAProcessDrawDiag=Started processing imported draw.io diagrams\nconfAProcessDrawDiagDone=Finished processing imported draw.io diagrams\nconfAProcessImpPages=Started processing imported pages\nconfAErrPrcsDiagInPage=Error processing draw.io diagrams in page "{1}"\nconfAPrcsDiagInPage=Processing draw.io diagrams in page "{1}"\nconfAImpDiagram=Importing diagram "{1}"\nconfAImpDiagramFailed=Importing diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.\nconfAImpDiagramError=Error importing diagram "{1}". Cannot fetch or save the diagram. Cannot fix this diagram links.\nconfAUpdateDgrmCCFailed=Updating link to diagram "{1}" failed.\nconfImpDiagramSuccess=Updating diagram "{1}" done successfully.\nconfANoLnksInDrgm=No links to update in: {1}\nconfAUpdateLnkToPg=Updated link to page: "{1}" in diagram: "{2}"\nconfAUpdateLBLnkToPg=Updated lightbox link to page: "{1}" in diagram: "{2}"\nconfAUpdateLnkBase=Updated base URL from: "{1}" to: "{2}" in diagram: "{3}"\nconfAPageIdsImpDone=Page IDs Import finished\nconfAPrcsMacrosInPage=Processing draw.io macros in page "{1}"\nconfAErrFetchPage=Error fetching page "{1}"\nconfAFixingMacro=Fixing macro of diagram "{1}"\nconfAErrReadingExpFile=Error reading export file\nconfAPrcsDiagInPageDone=Processing draw.io diagrams in page "{1}" finished\nconfAFixingMacroSkipped=Fixing macro of diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.\npageIdsExpTrg=Export target\nconfALucidDiagImgImported={2} diagram "{1}" image extracted successfully\nconfASavingLucidDiagImgFailed=Extracting {2} diagram "{1}" image failed\nconfGetInfoFailed=Fetching file info from {1} failed.\nconfCheckCacheFailed=Cannot get cached file info.\nconfReadFileErr=Cannot read "{1}" file from {2}.\nconfSaveCacheFailed=Unexpected error. Cannot save cached file\norgChartType=Org Chart Type\nlinear=Linear\nhanger2=Hanger 2\nhanger4=Hanger 4\nfishbone1=Fishbone 1\nfishbone2=Fishbone 2\n1ColumnLeft=Single Column Left\n1ColumnRight=Single Column Right\nsmart=Smart\nparentChildSpacing=Parent Child Spacing\nsiblingSpacing=Sibling Spacing\nconfNoPermErr=Sorry, you don\'t have enough permissions to view this embedded diagram from page {1}\ncopyAsImage=Copy as Image\ncopyAsText=Copy as Text\ncopyAsSvg=Copy as SVG\nlucidImport=Lucidchart Import\nlucidImportInst1=Click the "Start Import" button to import all Lucidchart diagrams.\ninstallFirst=Please install {1} first\ndrawioChromeExt=draw.io Chrome Extension\nloginFirstThen=Please login to {1} first, then {2}\nerrFetchDocList=Error: Couldn\'t fetch documents list\nbuiltinPlugins=Built-in Plugins\nextPlugins=External Plugins\nbackupFound=Backup file found\nchromeOnly=This feature only works in Google Chrome\nmsgDeleted=This message has been deleted\nconfAErrFetchDrawList=Error fetching diagrams list. Some diagrams are skipped.\nconfAErrCheckDrawDiag=Cannot check diagram {1}\nconfAErrFetchPageList=Error fetching pages list\nconfADiagImportIncom={1} diagram "{2}" is imported partially and may have missing shapes\ninvalidSel=Invalid selection\ndiagNameEmptyErr=Diagram name cannot be empty\nopenDiagram=Open Diagram\nnewDiagram=New diagram\neditable=Editable\nconfAReimportStarted=Re-import {1} diagrams started...\nspaceFilter=Filter by spaces\ncurViewState=Current Viewer State\npageLayers=Page and Layers\ncustomize=Customize\nfirstPage=First Page (All Layers)\ncurEditorState=Current Editor State\nnoAnchorsFound=No anchors found\nattachment=Attachment\ncurDiagram=Current Diagram\nrecentDiags=Recent Diagrams\ncsvImport=CSV Import\nchooseFile=Choose a file...\nchoose=Choose\ngdriveFname=Google Drive filename\nwidthOfViewer=Width of the viewer (px)\nheightOfViewer=Height of the viewer (px)\nautoSetViewerSize=Automatically set the size of the viewer\nthumbnail=Thumbnail\nprevInDraw=Preview in draw.io\nonedriveFname=OneDrive filename\ndiagFname=Diagram filename\ndiagUrl=Diagram URL\nshowDiag=Show Diagram\ndiagPreview=Diagram Preview\ncsvFileUrl=CSV File URL\ngenerate=Generate\nselectDiag2Insert=Please select a diagram to insert it.\nerrShowingDiag=Unexpected error. Cannot show diagram\nnoRecentDiags=No recent diagrams found\nfetchingRecentFailed=Failed to fetch recent diagrams\nuseSrch2FindDiags=Use the search box to find draw.io diagrams\ncantReadChckPerms=Cannot read the specified diagram. Please check you have read permission on that file.\ncantFetchChckPerms=Cannot fetch diagram info. Please check you have read permission on that file.\nsearchFailed=Searching failed. Please try again later.\nplsTypeStr=Please type a search string.\nunsupportedFileChckUrl=Unsupported file. Please check the specified URL\ndiagNotFoundChckUrl=Diagram not found or cannot be accessed. Please check the specified URL\ncsvNotFoundChckUrl=CSV file not found or cannot be accessed. Please check the specified URL\ncantReadUpload=Cannot read the uploaded diagram\nselect=Select\nerrCantGetIdType=Unexpected Error: Cannot get content id or type.\nerrGAuthWinBlocked=Error: Google Authentication window blocked\nauthDrawAccess=Authorize draw.io to access {1}\nconnTimeout=The connection has timed out\nerrAuthSrvc=Error authenticating to {1}\nplsSelectFile=Please select a file\nmustBgtZ={1} must be greater than zero\ncantLoadPrev=Cannot load file preview.\nerrAccessFile=Error: Access Denied. You do not have permission to access "{1}".\nnoPrevAvail=No preview is available.\npersonalAccNotSup=Personal accounts are not supported.\nerrSavingTryLater=Error occurred during saving, please try again later.\nplsEnterFld=Please enter {1}\ninvalidDiagUrl=Invalid Diagram URL\nunsupportedVsdx=Unsupported vsdx file\nunsupportedImg=Unsupported image file\nunsupportedFormat=Unsupported file format\nplsSelectSingleFile=Please select a single file only\nattCorrupt=Attachment file "{1}" is corrupted\nloadAttFailed=Failed to load attachment "{1}"\nembedDrawDiag=Embed draw.io Diagram\naddDiagram=Add Diagram\nembedDiagram=Embed Diagram\neditOwningPg=Edit owning page\ndeepIndexing=Deep Indexing (Index diagrams that aren\'t used in any page also)\nconfADeepIndexStarted=Deep Indexing Started\nconfADeepIndexDone=Deep Indexing Done\nofficeNoDiagramsSelected=No diagrams found in the selection\nofficeNoDiagramsInDoc=No diagrams found in the document\nofficeNotSupported=This feature is not supported in this host application\nsomeImagesFailed={1} out of {2} failed due to the following errors\nimportingNoUsedDiagrams=Importing {1} Diagrams not used in pages\nimportingDrafts=Importing {1} Diagrams in drafts\nprocessingDrafts=Processing drafts\nupdatingDrafts=Updating drafts\nupdateDrafts=Update drafts\nnotifications=Notifications\ndrawioImp=draw.io Import\nconfALibsImp=Importing draw.io Libraries\nconfALibsImpFailed=Importing {1} library failed\ncontributors=Contributors\ndrawDiagrams=draw.io Diagrams\nerrFileNotFoundOrNoPer=Error: Access Denied. File not found or you do not have permission to access "{1}" on {2}.\nconfACheckPagesWEmbed=Checking pages having embedded draw.io diagrams.\nconfADelBrokenEmbedDiagLnk=Removing broken embedded diagram links\nreplaceWith=Replace with\nreplaceAll=Replace All\nconfASkipDiagModified=Skipped "{1}" as it was modified after initial import\nreplFind=Replace/Find\nmatchesRepl={1} matches replaced\ndraftErrDataLoss=An error occurred while reading the draft file. The diagram cannot be edited now to prevent any possible data loss. Please try again later or contact support.\nibm=IBM\nlinkToDiagramHint=Add a link to this diagram. The diagram can only be edited from the page that owns it.\nlinkToDiagram=Link to Diagram\nchangedBy=Changed By\nlastModifiedOn=Last modified on\nsearchResults=Search Results\nshowAllTemps=Show all templates\nnotionToken=Notion Token\nselectDB=Select Database\nnoDBs=No Databases\ndiagramEdited={1} diagram "{2}" edited\nconfDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?\nconfFileTooBigErr=File size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration.\nowner=Owner\nrepository=Repository\nbranch=Branch\nmeters=Meters\nteamsNoEditingMsg=Editor functionality is only available in Desktop environment (in MS Teams App or a web browser)\ncontactOwner=Contact Owner\nviewerOnlyMsg=You cannot edit the diagrams in the mobile platform, please use the desktop client or a web browser.\nwebsite=Website\ncheck4Updates=Check for updates\nattWriteFailedRetry={1}: Attachment write failed, trying again in {2} seconds...\nconfPartialPageList=We couldn\'t fetch all pages due to an error in Confluence. Continuing using {1} pages only.\nspellCheck=Spell checker\nnoChange=No Change\nlblToSvg=Convert labels to SVG\ntxtSettings=Text Settings\nLinksLost=Links will be lost\narcSize=Arc Size\neditConnectionPoints=Edit Connection Points\nnotInOffline=Not supported while offline\nnotInDesktop=Not supported in Desktop App\nconfConfigSpaceArchived=draw.io Configuration space (DRAWIOCONFIG) is archived. Please restore it first.\nconfACleanOldVerStarted=Cleaning old diagram draft versions started\nconfACleanOldVerDone=Cleaning old diagram draft versions finished\nconfACleaningFile=Cleaning diagram draft "{1}" old versions\nconfAFileCleaned=Cleaning diagram draft "{1}" done\nconfAFileCleanFailed=Cleaning diagram draft "{1}" failed\nconfACleanOnly=Clean Diagram Drafts Only\nbrush=Brush\nopenDevTools=Open Developer Tools\nautoBkp=Automatic Backup\nconfAIgnoreCollectErr=Ignore collecting current pages errors\ndrafts=Drafts\ndraftSaveInt=Draft save interval [sec] (0 to disable)\npluginsDisabled=External plugins disabled.\nextExpNotConfigured=External image service is not configured\npathFilename=Path/Filename\nconfAHugeInstances=Very Large Instances\nconfAHugeInstancesDesc=If this instance includes 100,000+ pages, it is faster to request the current instance pages list from Atlassian. Please contact our support for more details.\nchoosePageIDsFile=Choose current page IDs csv file\nchooseDrawioPsgesFile=Choose pages with draw.io diagrams csv file\nprivate=Private\ndiagramTooLarge=The diagram is too large, please reduce its size and try again.\nselectAdminUsers=Select Admin Users\nxyzTeam={1} Team\naddTeamTitle=Adding a new draw.io Team\naddTeamInst1=To create a new draw.io Team, you need to create a new Atlassian group with "drawio-" prefix (e.g, a group named "drawio-marketing").\naddTeamInst2=Then, configure which team member can edit/add configuration, templates, and libraries from this page.\ndrawioTeams=draw.io Teams\nmembers=Members\nadminEditors=Admins/Editors\nallowAll=Allow all\nnoTeams=No teams found\nerrorLoadingTeams=Error Loading Teams\nnoTeamMembers=No team members found\nerrLoadTMembers=Error loading team members\nerrCreateTeamPage=Error creating team "{1}" page in "draw.io Configuration" space, please check you have the required permissions.\ngotoConfigPage=Please create the space from draw.io "Configuration" page.\nnoAdminsSelected=No admins/editors selected\nerrCreateConfigFile=Error creating "configuration.json" file, please check you have the required permissions.\nerrSetPageRestr=Error setting page restrictions\nnotAdmin4Team=You are not an admin for this team\nconfigUpdated=Configuration updated, restart the editor if you want to work with last configuration.\noutOfDateRevisionAlert=You are editing a historical revision of the diagram, please review the revision and open it to replace the latest version. Or close and overwrite/merge later.\nconfAErrFaqs=There are {1} error(s), the following instructions may help fixing most of the cases. (Please download the log for future references)\nconfA403ErrFaq=There are ({1}) 403 error(s). The current users must have add (write) permissions on all pages and attachments. Even admins sometimes are not allowed to write to some pages via page restrictions\nconfA404ErrFaq=There are ({1}) 404 error(s). The attachment/page is not found. This is due to improper migration or the diagram file (an attachment of the page) is deleted.\nconfA500ErrFaq=There are ({1}) 500 error(s). An internal server error in Confluence Cloud. Such errors are due to overloading the server and usually fixed by retrying the process.\nconfAOtherErrFaq=There are ({1}) other error(s). Please check the error description. If the description is not clear, please contact our support.\nconfAReplaceBaseUrl=Replace Base URL in diagram links when no page ID mapping is found\ndrawSvgPrev=draw.io SVG preview\ngoogleFonts=Google Fonts\ndiagDupl=Duplicate Diagram Detected\ndiagDuplMsg=This diagram is used in multiple places, which can result in unexpected results when edited. We\'ve created an independent copy. Please open the editor again.\ndiagDuplNoEditMsg=This diagram is used in multiple places. Please edit it within its own page.\nconfCloudMigConfirm=Warning: This process will edit many pages and diagrams, so it is recommended to stop the Synchrony service during the process. Do you want to proceed?\nconfCloudMigNotice=In the Cloud instance, please add linkAdjustments to draw.io configuration as follows {1}. Without this configuration, links in diagrams pointing to Confluence pages will not work.\nconfALogsPageDesc=This page contains logs of draw.io long running services as attachments\nconfEditOnlyInPageEditor=Can only be edited within Confluence page editor\nconfEvalWarn=Evaluation License - Not for production use\notherUsersEditing=Other user(s) are editing this diagram\nfirstTimeGD=First time to access this file?\ndrawioGDAppNotInstalled=draw.io Google Drive app is not installed, please install it first\nConfDC415Error=Saving drafts is blocked. If you have "Attachment Checker for Confluence" app, please update to the latest version.\nremove=Remove\nselectPgLyr=Select Page and Layers\nerrGenPreview=There was an error generating a diagram preview. Please consult technical support.\nattAccessErr=Diagram attachment access error: cannot display diagram\nwidthIntOrFixed=Width must be a valid integer or of value \'fixed\'\ndupDisabledPgLyrSlct=Diagram duplication is disabled when page and layers are selected\ncantDupPickDiffName=Could not duplicate diagram. Please choose a different name.\nownPgAccessDupErr=Owning page access restriction: cannot duplicate diagram.\ncantDupTryLater=Could not duplicate diagram. Please try again later.\ncantEditLnkd=Cannot edit linked diagram\ndiagEditOwnPgOnlyOpen=Diagram can only be edited from the page that owns it. Would you like to open the owning page for edit?\ndiagInTemps=draw.io diagrams in templates\ndiagInTempsCantEdit=Diagrams in page templates cannot be edited. They can only be edited on pages and blog posts.\nconfDirectEditDraftLost=This Confluence page has unpublished changes. Editing the diagram from page view may cause data loss. Please edit the Confluence page first and then edit the diagram.\nconfConfigSpacePerm=Note: If you recently migrated from DC app, please check draw.io Configuration space permissions such that all users can read and only admins can write. In addition, remove the page restrictions on "Configuration" and "Libraries" pages. You may need admin keys to access them. Also, please check the file "configuration.json" in the "Configuration" page is downloadable.\ntryCurPageOnErr=Try finding the diagram attachment on the macro page when the linked page fails\nconfAExtSrvcNoSupported=Embedded diagrams from external services or urls are not supported.\ngliffyVersionPinning=Import Gliffy pinned version instead of the latest version\nconfEmbedUpload=For a better editing experience, please use the regular draw.io macro to insert a blank diagram, then from (File menu → Import From → Device...) select the file you want to upload and embed.\nconfPublishErr=Another update conflicted with your publish, please try the operation again\nconfACacheMapping=Cache page IDs mapping\nconfARemImpPages=Remember imported pages\ndelCachedData=Delete Cached Data\nk15tPagesError=Error retrieving Scroll pages. Is Scroll Versions installed?\ndrawioUninstalled=draw.io has been uninstalled, the editor will now close\nconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.\nconfDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.\nDCSave500Error=Another Confluence operation interrupted saving, retry #{1}\nconfAppNotInstalled=draw.io diagrams Confluence App is not installed.\nplsInstallAppInConf=Please install/connect this App in Confluence to be able to access the diagrams (in addition to draw.io Confluen app)\n');Graph.prototype.defaultThemes["default-style2"]=mxUtils.parseXml('<mxStylesheet><add as="defaultVertex"><add as="shape" value="label"/><add as="perimeter" value="rectanglePerimeter"/><add as="fontSize" value="12"/><add as="fontFamily" value="Helvetica"/><add as="align" value="center"/><add as="verticalAlign" value="middle"/><add as="fillColor" value="default"/><add as="strokeColor" value="default"/><add as="fontColor" value="default"/></add><add as="defaultEdge"><add as="shape" value="connector"/><add as="labelBackgroundColor" value="default"/><add as="endArrow" value="classic"/><add as="fontSize" value="11"/><add as="fontFamily" value="Helvetica"/><add as="align" value="center"/><add as="verticalAlign" value="middle"/><add as="rounded" value="1"/><add as="strokeColor" value="default"/><add as="fontColor" value="default"/></add><add as="text"><add as="fillColor" value="none"/><add as="gradientColor" value="none"/><add as="strokeColor" value="none"/><add as="align" value="left"/><add as="verticalAlign" value="top"/></add><add as="edgeLabel" extend="text"><add as="labelBackgroundColor" value="default"/><add as="fontSize" value="11"/></add><add as="label"><add as="fontStyle" value="1"/><add as="align" value="left"/><add as="verticalAlign" value="middle"/><add as="spacing" value="2"/><add as="spacingLeft" value="52"/><add as="imageWidth" value="42"/><add as="imageHeight" value="42"/><add as="rounded" value="1"/></add><add as="icon" extend="label"><add as="align" value="center"/><add as="imageAlign" value="center"/><add as="verticalLabelPosition" value="bottom"/><add as="verticalAlign" value="top"/><add as="spacingTop" value="4"/><add as="labelBackgroundColor" value="default"/><add as="spacing" value="0"/><add as="spacingLeft" value="0"/><add as="spacingTop" value="6"/><add as="fontStyle" value="0"/><add as="imageWidth" value="48"/><add as="imageHeight" value="48"/></add><add as="swimlane"><add as="shape" value="swimlane"/><add as="fontSize" value="12"/><add as="fontStyle" value="1"/><add as="startSize" value="23"/></add><add as="group"><add as="verticalAlign" value="top"/><add as="fillColor" value="none"/><add as="strokeColor" value="none"/><add as="gradientColor" value="none"/><add as="pointerEvents" value="0"/></add><add as="ellipse"><add as="shape" value="ellipse"/><add as="perimeter" value="ellipsePerimeter"/></add><add as="rhombus"><add as="shape" value="rhombus"/><add as="perimeter" value="rhombusPerimeter"/></add><add as="triangle"><add as="shape" value="triangle"/><add as="perimeter" value="trianglePerimeter"/></add><add as="line"><add as="shape" value="line"/><add as="strokeWidth" value="4"/><add as="labelBackgroundColor" value="default"/><add as="verticalAlign" value="top"/><add as="spacingTop" value="8"/></add><add as="image"><add as="shape" value="image"/><add as="labelBackgroundColor" value="default"/><add as="verticalAlign" value="top"/><add as="verticalLabelPosition" value="bottom"/></add><add as="roundImage" extend="image"><add as="perimeter" value="ellipsePerimeter"/></add><add as="rhombusImage" extend="image"><add as="perimeter" value="rhombusPerimeter"/></add><add as="arrow"><add as="shape" value="arrow"/><add as="edgeStyle" value="none"/><add as="fillColor" value="default"/></add><add as="fancy"><add as="shadow" value="1"/><add as="glass" value="1"/></add><add as="gray" extend="fancy"><add as="gradientColor" value="#B3B3B3"/><add as="fillColor" value="#F5F5F5"/><add as="strokeColor" value="#666666"/></add><add as="blue" extend="fancy"><add as="gradientColor" value="#7EA6E0"/><add as="fillColor" value="#DAE8FC"/><add as="strokeColor" value="#6C8EBF"/></add><add as="green" extend="fancy"><add as="gradientColor" value="#97D077"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#82B366"/></add><add as="turquoise" extend="fancy"><add as="gradientColor" value="#67AB9F"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#6A9153"/></add><add as="yellow" extend="fancy"><add as="gradientColor" value="#FFD966"/><add as="fillColor" value="#FFF2CC"/><add as="strokeColor" value="#D6B656"/></add><add as="orange" extend="fancy"><add as="gradientColor" value="#FFA500"/><add as="fillColor" value="#FFCD28"/><add as="strokeColor" value="#D79B00"/></add><add as="red" extend="fancy"><add as="gradientColor" value="#EA6B66"/><add as="fillColor" value="#F8CECC"/><add as="strokeColor" value="#B85450"/></add><add as="pink" extend="fancy"><add as="gradientColor" value="#B5739D"/><add as="fillColor" value="#E6D0DE"/><add as="strokeColor" value="#996185"/></add><add as="purple" extend="fancy"><add as="gradientColor" value="#8C6C9C"/><add as="fillColor" value="#E1D5E7"/><add as="strokeColor" value="#9673A6"/></add><add as="plain-gray"><add as="gradientColor" value="#B3B3B3"/><add as="fillColor" value="#F5F5F5"/><add as="strokeColor" value="#666666"/></add><add as="plain-blue"><add as="gradientColor" value="#7EA6E0"/><add as="fillColor" value="#DAE8FC"/><add as="strokeColor" value="#6C8EBF"/></add><add as="plain-green"><add as="gradientColor" value="#97D077"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#82B366"/></add><add as="plain-turquoise"><add as="gradientColor" value="#67AB9F"/><add as="fillColor" value="#D5E8D4"/><add as="strokeColor" value="#6A9153"/></add><add as="plain-yellow"><add as="gradientColor" value="#FFD966"/><add as="fillColor" value="#FFF2CC"/><add as="strokeColor" value="#D6B656"/></add><add as="plain-orange"><add as="gradientColor" value="#FFA500"/><add as="fillColor" value="#FFCD28"/><add as="strokeColor" value="#D79B00"/></add><add as="plain-red"><add as="gradientColor" value="#EA6B66"/><add as="fillColor" value="#F8CECC"/><add as="strokeColor" value="#B85450"/></add><add as="plain-pink"><add as="gradientColor" value="#B5739D"/><add as="fillColor" value="#E6D0DE"/><add as="strokeColor" value="#996185"/></add><add as="plain-purple"><add as="gradientColor" value="#8C6C9C"/><add as="fillColor" value="#E1D5E7"/><add as="strokeColor" value="#9673A6"/></add></mxStylesheet>').documentElement;Graph.prototype.defaultThemes.darkTheme=Graph.prototype.defaultThemes["default-style2"];Editor.currentTheme="";window.uiTheme="";GraphViewer=function(b,f,m){this.init(b,f,m)};mxUtils.extend(GraphViewer,mxEventSource);GraphViewer.prototype.editBlankUrl="1"==urlParams.dev?"https://test.draw.io/":"https://app.diagrams.net/";GraphViewer.prototype.imageBaseUrl=window.DRAWIO_BASE_URL+"/";GraphViewer.prototype.toolbarHeight="BackCompat"==document.compatMode?24:26;GraphViewer.prototype.lightboxChrome=!0;GraphViewer.prototype.lightboxZIndex=999;GraphViewer.prototype.toolbarZIndex=999;GraphViewer.prototype.autoFit=!1;GraphViewer.prototype.autoCrop=!1;GraphViewer.prototype.autoOrigin=!0;GraphViewer.prototype.center=!1;GraphViewer.prototype.forceCenter=!1;GraphViewer.prototype.allowZoomIn=!1;GraphViewer.prototype.allowZoomOut=!0;GraphViewer.prototype.showTitleAsTooltip=!1;GraphViewer.prototype.checkVisibleState=!0;GraphViewer.prototype.minHeight=28;GraphViewer.prototype.minWidth=100;GraphViewer.prototype.responsive=!1;GraphViewer.prototype.darkMode=null;GraphViewer.prototype.init=function(b,f,m){GraphViewer.initCss();this.graphConfig=null!=m?m:{};this.autoFit=null!=this.graphConfig["auto-fit"]?this.graphConfig["auto-fit"]:this.autoFit;this.autoCrop=null!=this.graphConfig["auto-crop"]?this.graphConfig["auto-crop"]:this.autoCrop;this.autoOrigin=null!=this.graphConfig["auto-origin"]?this.graphConfig["auto-origin"]:this.autoOrigin;this.allowZoomOut=null!=this.graphConfig["allow-zoom-out"]?this.graphConfig["allow-zoom-out"]:this.allowZoomOut;this.allowZoomIn=diff --git a/src/main/webapp/mxgraph/mxClient.js b/src/main/webapp/mxgraph/mxClient.jsindex bff6f3d24..9d559b2a7 100644--- a/src/main/webapp/mxgraph/mxClient.js+++ b/src/main/webapp/mxgraph/mxClient.js@@ -1,4 +1,4 @@-var mxClient={VERSION:"29.3.5",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),+var mxClient={VERSION:"29.3.6",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),IS_OP:null!=navigator.userAgent&&(0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/")),IS_OT:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&0>navigator.userAgent.indexOf("Presto/2.2.")&&0>navigator.userAgent.indexOf("Presto/2.1.")&&0>navigator.userAgent.indexOf("Presto/2.0.")&&0>navigator.userAgent.indexOf("Presto/1."),IS_SF:/Apple Computer, Inc/.test(navigator.vendor),IS_ANDROID:0<=navigator.appVersion.indexOf("Android"),IS_IOS:/iP(hone|od|ad)/.test(navigator.platform)||navigator.userAgent.match(/Mac/)&&navigator.maxTouchPoints&&2<navigator.maxTouchPoints,IS_WEBVIEW:/((iPhone|iPod|iPad).*AppleWebKit(?!.*Version)|; wv)/i.test(navigator.userAgent),IS_GC:/Google Inc/.test(navigator.vendor),IS_CHROMEAPP:null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime,IS_FF:-1<navigator.userAgent.toLowerCase().indexOf("firefox"),IS_MT:0<=navigator.userAgent.indexOf("Firefox/")&&0>navigator.userAgent.indexOf("Firefox/1.")&&0>navigator.userAgent.indexOf("Firefox/2.")||0<=navigator.userAgent.indexOf("Iceweasel/")&&0>navigator.userAgent.indexOf("Iceweasel/1.")&&0>navigator.userAgent.indexOf("Iceweasel/2.")||0<=navigator.userAgent.indexOf("SeaMonkey/")&&0>navigator.userAgent.indexOf("SeaMonkey/1.")||0<=navigator.userAgent.indexOf("Iceape/")&&0>navigator.userAgent.indexOf("Iceape/1."),IS_SVG:"MICROSOFT INTERNET EXPLORER"!=navigator.appName.toUpperCase(),NO_FO:!document.createElementNS||diff --git a/src/main/webapp/resources/dia.txt b/src/main/webapp/resources/dia.txtindex 6be43e7d9..2666bf5bf 100644--- a/src/main/webapp/resources/dia.txt+++ b/src/main/webapp/resources/dia.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Another Confluence operation interrupted saving, retry #{1}+confAppNotInstalled=draw.io diagrams Confluence App is not installed.+plsInstallAppInConf=Please install/connect this App in Confluence to be able to access the diagrams (in addition to draw.io Confluen app)diff --git a/src/main/webapp/resources/dia_am.txt b/src/main/webapp/resources/dia_am.txtindex 082c67130..36128cc67 100644--- a/src/main/webapp/resources/dia_am.txt+++ b/src/main/webapp/resources/dia_am.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io ተሰርዟል፣ አርታዒው አሁን ይዘጋconfAttachmentArchived=ዲያግራሙ የተመዘገበ ገጽ ነው እና ሊጫን አይችልም። ለመጫን ገጹን (መታወቂያ፡ {1}) ያስመልሱ።confDiagramMacroDowngrade=ዲያግራሙ ተቀምጧል ነገር ግን በማክሮው ውስጥ ያለው የዲያግራም ክለሳ አዲስ ስለሆነ የገጽ ማክሮው ሊዘምን አይችልም። እባክዎ ዲያግራሙን ከConfluence ገጽ አርታዒ ያስተካክሉ።DCSave500Error=ሌላ የConfluence ክዋኔ ማስቀመጥን አቋርጧል፣ እንደገና ይሞክሩ #{1}+confAppNotInstalled=draw.io diagrams Confluence መተግበሪያ አልተጫነም።+plsInstallAppInConf=ስዕሎቹን ለመድረስ እባክዎ ይህን መተግበሪያ በ Confluence ውስጥ ይጫኑ/ያገናኙ (ከ draw.io Confluence መተግበሪያ በተጨማሪ)diff --git a/src/main/webapp/resources/dia_bg.txt b/src/main/webapp/resources/dia_bg.txtindex 3cdafbf2c..fbcd32a6e 100644--- a/src/main/webapp/resources/dia_bg.txt+++ b/src/main/webapp/resources/dia_bg.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io е деинсталирано, редакторът сconfAttachmentArchived=Диаграмата принадлежи на архивирана страница и не може да бъде заредена. Възстановете страницата (ID: {1}), за да я заредите.confDiagramMacroDowngrade=Диаграмата е запазена, но макросът на страницата не може да бъде актуализиран, тъй като ревизията на диаграмата в макроса е по-нова. Моля, редактирайте диаграмата от редактора на страницата в Confluence.DCSave500Error=Друга операция в Confluence прекъсна записването, повторен опит #{1}+confAppNotInstalled=Приложението draw.io diagrams за Confluence не е инсталирано.+plsInstallAppInConf=Моля, инсталирайте/свържете това приложение в Confluence, за да имате достъп до диаграмите (в допълнение към приложението draw.io Confluence)diff --git a/src/main/webapp/resources/dia_bn.txt b/src/main/webapp/resources/dia_bn.txtindex dd08afd49..fe83ebc0f 100644--- a/src/main/webapp/resources/dia_bn.txt+++ b/src/main/webapp/resources/dia_bn.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io আনইনস্টল করা হয়েছে,confAttachmentArchived=ডায়াগ্রামটি একটি সংরক্ষণাগারভুক্ত পৃষ্ঠার অন্তর্গত এবং লোড করা যাচ্ছে না। এটি লোড করতে পৃষ্ঠাটি (আইডি: {1}) পুনরুদ্ধার করুন।confDiagramMacroDowngrade=ডায়াগ্রাম সংরক্ষিত হয়েছে কিন্তু পৃষ্ঠা ম্যাক্রো আপডেট করা যাচ্ছে না কারণ ম্যাক্রোতে ডায়াগ্রাম রিভিশন নতুন। অনুগ্রহ করে Confluence পৃষ্ঠা এডিটর থেকে ডায়াগ্রাম সম্পাদনা করুন।DCSave500Error=আরেকটি Confluence অপারেশন সংরক্ষণে বাধা দিয়েছে, আবার চেষ্টা করুন #{1}+confAppNotInstalled=draw.io diagrams Confluence অ্যাপ ইনস্টল করা নেই।+plsInstallAppInConf=ডায়াগ্রামগুলি অ্যাক্সেস করতে অনুগ্রহ করে Confluence-এ এই অ্যাপটি ইনস্টল/সংযোগ করুন (draw.io Confluence অ্যাপ ছাড়াও)diff --git a/src/main/webapp/resources/dia_bs.txt b/src/main/webapp/resources/dia_bs.txtindex 9f8317783..9f2328939 100644--- a/src/main/webapp/resources/dia_bs.txt+++ b/src/main/webapp/resources/dia_bs.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io je deinstaliran, uređivač će se sada zatvoriticonfAttachmentArchived=Dijagram pripada arhiviranoj stranici i ne može se učitati. Vratite stranicu (ID: {1}) da biste je učitali.confDiagramMacroDowngrade=Dijagram je sačuvan, ali makro stranice se ne može ažurirati jer je revizija dijagrama u makrou novija. Molimo uredite dijagram iz uređivača Confluence stranice.DCSave500Error=Druga Confluence operacija je prekinula spremanje, pokušajte ponovo #{1}+confAppNotInstalled=draw.io diagrams Confluence aplikacija nije instalirana.+plsInstallAppInConf=Molimo instalirajte/povežite ovu aplikaciju u Confluence da biste mogli pristupiti dijagramima (pored draw.io Confluence aplikacije)diff --git a/src/main/webapp/resources/dia_ca.txt b/src/main/webapp/resources/dia_ca.txtindex cdc35f854..ca3876358 100644--- a/src/main/webapp/resources/dia_ca.txt+++ b/src/main/webapp/resources/dia_ca.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io s'ha desinstal·lat, l'editor ara es tancaràconfAttachmentArchived=El diagrama pertany a una pàgina arxivada i no es pot carregar. Restaureu la pàgina (ID: {1}) per carregar-la.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Una altra operació de Confluence ha interromput el desament, torna-ho a provar #{1}+confAppNotInstalled=L'aplicació draw.io diagrams per a Confluence no està instal·lada.+plsInstallAppInConf=Si us plau, instal·leu/connecteu aquesta aplicació a Confluence per poder accedir als diagrames (a més de l'aplicació draw.io Confluence)diff --git a/src/main/webapp/resources/dia_cs.txt b/src/main/webapp/resources/dia_cs.txtindex ce6c91574..b0c811bb5 100644--- a/src/main/webapp/resources/dia_cs.txt+++ b/src/main/webapp/resources/dia_cs.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Ukládání přerušila jiná operace Confluence, zkuste to znovu #{1}+confAppNotInstalled=Aplikace draw.io diagrams pro Confluence není nainstalována.+plsInstallAppInConf=Pro přístup k diagramům prosím nainstalujte/připojte tuto aplikaci v Confluence (kromě aplikace draw.io Confluence)diff --git a/src/main/webapp/resources/dia_da.txt b/src/main/webapp/resources/dia_da.txtindex 808435235..1465e2a0a 100644--- a/src/main/webapp/resources/dia_da.txt+++ b/src/main/webapp/resources/dia_da.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io er blevet afinstalleret, editoren lukker nuconfAttachmentArchived=Diagrammet tilhører en arkiveret side og kan ikke indlæses. Gendan siden (ID: {1}) for at indlæse det.confDiagramMacroDowngrade=Diagrammet er gemt, men sidemakroen kan ikke opdateres, da diagramrevisionen i makroen er nyere. Rediger venligst diagrammet fra Confluence-sideeditoren.DCSave500Error=En anden Confluence-handling afbrød lagringen, prøv igen #{1}+confAppNotInstalled=draw.io diagrams Confluence-appen er ikke installeret.+plsInstallAppInConf=Installer/tilslut venligst denne app i Confluence for at få adgang til diagrammerne (ud over draw.io Confluence-appen)diff --git a/src/main/webapp/resources/dia_de.txt b/src/main/webapp/resources/dia_de.txtindex 97d7bee9a..0ab5c874d 100644--- a/src/main/webapp/resources/dia_de.txt+++ b/src/main/webapp/resources/dia_de.txt@@ -522,7 +522,7 @@ moreShapes=Mehr Shapesmove=VerschiebenmoveToFolder=In Ordner verschiebenmoving=Wird verschoben-moveSelectionTo=Auswahl in {1} einfügen+moveSelectionTo=Auswahl einfügen in {1}myDrive=Meine AblagemyFiles=Eigene Dateienname=Name@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Ein anderer Confluence-Vorgang hat das Speichern unterbrochen, erneut versuchen #{1}+confAppNotInstalled=Die draw.io diagrams Confluence-App ist nicht installiert.+plsInstallAppInConf=Bitte installieren/verbinden Sie diese App in Confluence, um auf die Diagramme zugreifen zu können (zusätzlich zur draw.io Confluence-App)diff --git a/src/main/webapp/resources/dia_el.txt b/src/main/webapp/resources/dia_el.txtindex 7668fd512..e2eefb128 100644--- a/src/main/webapp/resources/dia_el.txt+++ b/src/main/webapp/resources/dia_el.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=Το draw.io απεγκαταστάθηκε, ο επεξεργconfAttachmentArchived=Το διάγραμμα ανήκει σε αρχειοθετημένη σελίδα και δεν μπορεί να φορτωθεί. Επαναφέρετε τη σελίδα (ID: {1}) για να το φορτώσετε.confDiagramMacroDowngrade=Το διάγραμμα αποθηκεύτηκε αλλά η μακροεντολή της σελίδας δεν μπορεί να ενημερωθεί καθώς η αναθεώρηση του διαγράμματος στη μακροεντολή είναι νεότερη. Επεξεργαστείτε το διάγραμμα από τον επεξεργαστή σελίδων του Confluence.DCSave500Error=Μια άλλη λειτουργία του Confluence διέκοψε την αποθήκευση, δοκιμάστε ξανά #{1}+confAppNotInstalled=Η εφαρμογή draw.io diagrams για Confluence δεν είναι εγκατεστημένη.+plsInstallAppInConf=Παρακαλώ εγκαταστήστε/συνδέστε αυτήν την εφαρμογή στο Confluence για να έχετε πρόσβαση στα διαγράμματα (εκτός από την εφαρμογή draw.io Confluence)diff --git a/src/main/webapp/resources/dia_eo.txt b/src/main/webapp/resources/dia_eo.txtindex e6ebf1057..88622d311 100644--- a/src/main/webapp/resources/dia_eo.txt+++ b/src/main/webapp/resources/dia_eo.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io estis malinstalita, la redaktilo nun fermiĝosconfAttachmentArchived=Diagramo apartenas al arkivita paĝo kaj ne povas esti ŝargita. Restarigu la paĝon (ID: {1}) por ŝargi ĝin.confDiagramMacroDowngrade=La diagramo estas konservita sed la paĝa makroo ne povas esti ĝisdatigita ĉar la diagramversio en la makroo estas pli nova. Bonvolu redakti la diagramon per la Confluence-paĝa redaktilo.DCSave500Error=Alia Confluence-operacio interrompis la konservadon, reprovu #{1}+confAppNotInstalled=draw.io diagrams Confluence-aplikaĵo ne estas instalita.+plsInstallAppInConf=Bonvolu instali/konekti ĉi tiun aplikaĵon en Confluence por povi aliri la diagramojn (krom la draw.io Confluence-aplikaĵo)diff --git a/src/main/webapp/resources/dia_es.txt b/src/main/webapp/resources/dia_es.txtindex 635e8b48b..9099b629c 100644--- a/src/main/webapp/resources/dia_es.txt+++ b/src/main/webapp/resources/dia_es.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io se ha desinstalado, el editor se cerrará ahoraconfAttachmentArchived=El diagrama pertenece a una página archivada y no se puede cargar. Restaure la página (ID: {1}) para cargarlo.confDiagramMacroDowngrade=El diagrama se ha guardado, pero no se puede actualizar la macro de la página porque la revisión del diagrama en la macro es más reciente. Por favor, edite el diagrama desde el editor de páginas de Confluence.DCSave500Error=Otra operación de Confluence interrumpió el guardado, reintento #{1}+confAppNotInstalled=La aplicación draw.io diagrams para Confluence no está instalada.+plsInstallAppInConf=Por favor, instale/conecte esta aplicación en Confluence para poder acceder a los diagramas (además de la aplicación draw.io Confluence)diff --git a/src/main/webapp/resources/dia_et.txt b/src/main/webapp/resources/dia_et.txtindex 5e7645d3c..3fd3ac3f3 100644--- a/src/main/webapp/resources/dia_et.txt+++ b/src/main/webapp/resources/dia_et.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io on desinstallitud, redaktor sulgub nüüdconfAttachmentArchived=Diagramm kuulub arhiveeritud lehele ja seda ei saa laadida. Taasta leht (ID: {1}), et seda laadida.confDiagramMacroDowngrade=Diagramm on salvestatud, kuid lehe makrot ei saa värskendada, kuna makros olev diagrammi redaktsioon on uuem. Palun muutke diagrammi Confluence'i leheredaktorist.DCSave500Error=Teine Confluence'i toiming katkestas salvestamise, proovi uuesti #{1}+confAppNotInstalled=draw.io diagrams Confluence'i rakendus pole installitud.+plsInstallAppInConf=Palun installige/ühendage see rakendus Confluence'is, et pääseda juurde diagrammidele (lisaks draw.io Confluence rakendusele)diff --git a/src/main/webapp/resources/dia_eu.txt b/src/main/webapp/resources/dia_eu.txtindex 26d8d73e4..8c3eff7ee 100644--- a/src/main/webapp/resources/dia_eu.txt+++ b/src/main/webapp/resources/dia_eu.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io desinstalatu da, editorea itxiko da orainconfAttachmentArchived=Diagrama artxibatutako orrialde batena da eta ezin da kargatu. Leheneratu orrialdea (ID: {1}) kargatzeko.confDiagramMacroDowngrade=Diagrama gorde da baina orrialde makroa ezin da eguneratu makroko diagramaren bertsioa berriagoa delako. Mesedez, editatu diagrama Confluence orrialde editoretik.DCSave500Error=Confluence-ren beste eragiketa batek gordetzea eten du, saiatu berriro #{1}+confAppNotInstalled=draw.io diagrams Confluence aplikazioa ez dago instalatuta.+plsInstallAppInConf=Mesedez, instalatu/konektatu aplikazio hau Confluence-n diagrametara sartzeko (draw.io Confluence aplikazioaz gain)diff --git a/src/main/webapp/resources/dia_fa.txt b/src/main/webapp/resources/dia_fa.txtindex 3e61a7350..4cf26e9c1 100644--- a/src/main/webapp/resources/dia_fa.txt+++ b/src/main/webapp/resources/dia_fa.txt@@ -3,71 +3,71 @@about=دربارهaboutDrawio=درباره draw.ioaccessDenied=دسترسی مجاز نیست.-accounts=Accounts-action=Action+accounts=حسابها+action=عملیاتactualSize=سایز واقعیadaptiveColors=رنگ های تطبیقیadd=افزودن-addAccount=Add account-addedFile=اضافه شد {1}+addAccount=افزودن حساب+addedFile={1} اضافه شدaddImages=افزودن تصاویرaddImageUrl=افزودن URL تصویرaddLayer=افزودن لایهaddProperty=افزودن ویژگیaddress=آدرسaddToExistingDrawing=افزودن به طراحی موجود-addToScratchpad=Add to Scratchpad+addToScratchpad=افزودن به یادداشتهاaddWaypoint=افزودن نقطه مسیرadjustTo=تنظیم بهadvanced=پیشرفته-smartTemplate=Smart Template+smartTemplate=قالب هوشمندalign=ترازalignment=همترازیallChangesLost=تمامی تغییرات از دست خواهند رفت!allPages=همه صفحه هاallProjects=همه پروژه هاallSelectedObjectsInThisLayer=تمام اشیاء انتخاب شده در این لایه قرار دارند-allSpaces=تمام فاصله ها+allSpaces=همه فضاهاallTags=همه برچسبهاanchor=لنگرandroid=اندرویدangle=زاویهanimations=انیمیشن ها-arc=Arc+arc=کمانareYouSure=آیا مطمئن هستید؟ensureDataSaved=لطفا مطمئن شوید که پیش از بستن، اطلاعات شما ذخیره شده باشد.allChangesSaved=تمامی تغییرات ذخیره شدallChangesSavedInDrive=تمامی تغییرات در Drive ذخیره شدallowPopups=برای ندیدن این پنجره مکالمه، pop-up را فعال کنید-allowRelativeUrl=Allow relative URL+allowRelativeUrl=اجازه URL نسبیalreadyConnected=گره ها قبلاً وصل شده اند-appearance=Appearance+appearance=ظاهرapply=اعمال-archiMate21=x+archiMate21=ArchiMate 2.1arrange=مرتبسازیarrow=پیکانarrows=پیکانها-askMeAnything=Ask me anything+askMeAnything=هر چیزی بپرسیدasNew=بهعنوان جدیدatlas=اطلسauthor=مولفauthorizationRequired=اجازه مورد نیاز استauthorizeThisAppIn=اعطای اجازه به این اپ در {1}:authorize=اجازه دادن-authorizing=اجازه+authorizing=در حال اجازه دادنautomatic=خودکارautosave=ذخیره خودکار-autosize=اندازه بصورت خودکار-attachments=پیوست ها+autosize=اندازه خودکار+attachments=پیوستهاaws=AWSaws3d=AWS 3Dazure=Azure-back=Back+back=بازگشتbackground=پسزمینهbackgroundColor=رنگ پسزمینهbackgroundImage=تصویر پسزمینهbasic=ساده-beta=beta+beta=بتاblankDrawing=صفحه طرح خالیblankDiagram=صفحه دیاگرام خالیblock=بلوک@@ -75,7 +75,7 @@ blockquote=نقل قولblog=بلاگbold=ضخیمbootstrap=Bootstrap-border=Border+border=حاشیهborderColor=رنگ مرزborderWidth=عرض مرزbottom=پایین@@ -83,141 +83,141 @@ bottomAlign=تراز پایینbottomLeft=پایین چپbottomRight=پایین راستbpmn=BPMN-bringForward=Bring Forward+bringForward=آوردن به جلوbrowser=مرورگر-bulletedList=لیست نقطه به نقطه-business=کار+bulletedList=لیست نشانهدار+business=کسب و کارbusy=عملیات در حال انجام استcabinets=قفسه هاcancel=لغوcenter=مرکزcannotLoad=تلاش برای بارگذاری اطلاعات موفق نبود. لطفا دوباره تلاش کنید.cannotLogin=تلاش برای وارد شدن موفق نبود. لطفا کمی دیرتر دوباره اقدام نمایید.-cannotOpenFile=باز نمون فایل امکانپذیر نیست+cannotOpenFile=باز کردن فایل امکانپذیر نیستchange=تغییرchangeOrientation=تغییر جهتchangeUser=تغییر کاربر-changeStorage=Change storage+changeStorage=تغییر محل ذخیرهسازیchangesNotSaved=تغییرات ذخیره نشدهاند.-classDiagram=Class Diagram+classDiagram=نمودار کلاسuserJoined={1} پیوسته است.userLeft={1} خارج شده است.chatWindowTitle=چتchooseAnOption=یک گزینه را انتخاب نماییدchromeApp=اپلیکیشن کروم-collaborativeEditingNotice=Important Notice for Collaborative Editing-compare=Compare+collaborativeEditingNotice=اطلاعیه مهم برای ویرایش مشترک+compare=مقایسهcompressed=فشرده-commitMessage=تایید پیام-configLinkWarn=This link configures draw.io. Only click OK if you trust whoever gave you it!-configLinkConfirm=Click OK to configure and restart draw.io.-container=Container+commitMessage=پیام کامیت+configLinkWarn=این لینک draw.io را پیکربندی میکند. فقط در صورتی روی OK کلیک کنید که به فرستنده آن اعتماد دارید!+configLinkConfirm=برای پیکربندی و راهاندازی مجدد draw.io روی OK کلیک کنید.+container=محفظهcsv=CSVcurrentLayer=لایه فعلی-dark=Dark+dark=تیرهdiagramLanguage=زبان نمودار-diagramType=Diagram type-diagramXmlDesc=XML File-diagramHtmlDesc=HTML File-diagramPngDesc=Editable Bitmap Image-diagramSvgDesc=Editable Vector Image-didYouMeanToExportToPdf=Did you mean to export to PDF?-disabled=Disabled+diagramType=نوع نمودار+diagramXmlDesc=فایل XML+diagramHtmlDesc=فایل HTML+diagramPngDesc=تصویر بیتمپ قابل ویرایش+diagramSvgDesc=تصویر برداری قابل ویرایش+didYouMeanToExportToPdf=آیا میخواهید به PDF خروجی بگیرید؟+disabled=غیرفعالdraftFound=پیش نویس '{1}' یافت شد. آن را به داخل ویرایشگر بارگذاری کنید و یا آن را برای ادامه دادن حذف کنید.-draftRevisionMismatch=There is a different version of this diagram on a shared draft of this page. Please edit the diagram from the draft to ensure you are working with the latest version.-selectDraft=Select a draft to continue editing:+draftRevisionMismatch=نسخهای متفاوت از این نمودار در پیشنویس مشترک این صفحه وجود دارد. لطفاً نمودار را از پیشنویس ویرایش کنید تا مطمئن شوید با آخرین نسخه کار میکنید.+selectDraft=یک پیشنویس برای ادامه ویرایش انتخاب کنید:dragAndDropNotSupported=حرکت و کشیدن و انداختن برای تصاویر امکانپذیر نیست. آیا می خواهید بجای آن تصاویر را وارد کنید؟dropboxCharsNotAllowed=کاراکترهای زیر مجاز نمی باشند: \ / : ? * " |-check=بررسی کردن-checksum=Checksum-circle=حلقه+check=بررسی+checksum=جمعکنترلی+circle=دایرهcisco=Ciscoclassic=کلاسیکclearDefaultStyle=پاکنمودن استایل پیشفرضclearWaypoints=پاک کردن نقطه مسیرclipart=Clipartclose=بستن-closingFile=Closing file-realtimeCollaboration=Real-Time Collaboration-collaborate=Collaborate+closingFile=در حال بستن فایل+realtimeCollaboration=همکاری بلادرنگ+collaborate=همکاریcollaborator=همکارcollaborators=همکارانcollapse=جمع کردنcollapseExpand=جمعکردن/باز نمودن-collapse-expand=برای جمع کردن/باز نمودن کلیک کنید/nShift-برای حرکت دادن همجوارها/\nAlt-click برای محافظت از اندازه گروهها-collapsible=قابل-comic=Comic+collapse-expand=برای جمع کردن/باز نمودن کلیک کنید Shift-click برای حرکت دادن همسایهها Alt-click برای محافظت از اندازه گروه+collapsible=قابل جمعشدن+comic=کمیکcomment=نظرcommentsNotes=نظرات/نکات-compress=Compress-configuration=Configuration-connect=متصل شدن+compress=فشردهسازی+configuration=پیکربندی+connect=اتصالconnecting=در حال اتصالconnectWithDrive=اتصال از طریق گوگل درایوconnection=اتصالconnectionArrows=فلشهای اتصالconnectionPoints=نقاط اتصالconstrainProportions=محدود کردن نسبتها-containsValidationErrors=شامل خطای اعتبارسنجی-copiedToClipboard=بر روی کلیپ بورد کپی شد-copy=کپی کردن+containsValidationErrors=شامل خطاهای اعتبارسنجی+copiedToClipboard=در کلیپبورد کپی شد+copy=کپیcopyConnect=کپی کردن به هنگام اتصال-copyCreated=A copy of the file was created.-copyData=Copy Data+copyCreated=یک کپی از فایل ایجاد شد.+copyData=کپی دادهcopyOf=کپی از {1}-copyOfDrawing=کپی نقاشی-copySize=Copy Size-copyStyle=کپی کردن سبک-create=ایجاد نمودن-createBlankDiagram=Create Blank Diagram+copyOfDrawing=کپی از نقشه+copySize=کپی اندازه+copyStyle=کپی سبک+create=ایجاد+createBlankDiagram=ایجاد دیاگرام خالیcreateNewDiagram=ایجاد دیاگرام جدید-createRevision=ایجاد ویرایش+createRevision=ایجاد نسخهcreateShape=ایجاد شکلcrop=بریدنcurved=منحنی-custom=شخصی سازی+custom=سفارشیcurrent=فعلی-currentPage=Current page+currentPage=صفحه فعلیcut=بُرش-dashed=نقطه نقطه-decideLater=بعداً تصمیم گرفتن+dashed=خطچین+decideLater=بعداً تصمیم بگیریدdefault=پیشفرض-delete=پاکنمودن-deleteAll=Delete all-deleteColumn=پاکنمودن ستون+delete=حذف+deleteAll=حذف همه+deleteColumn=حذف ستونdeleteLibrary401=مجوز کافی برای حذف کتابخانه وجود نداردdeleteLibrary404=کتابخانه انتخاب شده یافت نشدdeleteLibrary500=اشکال در حذف کتابخانهdeleteLibraryConfirm=شما در حال حذف دائمی این کتابخانه هستید. آیا مطمئنید که می خواهید این کار را انجام دهید؟-deleteRow=پاکنمودن ردیف-description=توضیح-describeYourDiagram=Describe your diagram+deleteRow=حذف ردیف+description=توضیحات+describeYourDiagram=نمودار خود را توصیف کنیدdevice=دستگاهdiagram=دیاگرامdiagramContent=محتوای نمودارdiagramLocked=نمودار به منظور از دست ندادن اطلاعات قفل شده است.-diagramLockedBySince=The diagram is locked by {1} since {2} ago+diagramLockedBySince=نمودار توسط {1} از {2} پیش قفل شده استdiagramName=نام دیاگرامdiagramIsPublic=نمودار عمومی است.diagramIsNotPublic=نمودار عمومی نیست.-diamond=الماس+diamond=لوزیdiamondThin=لوزی (باریک)didYouKnow=آیا میدانستید ...direction=جهت-discard=حذف-discardChangesAndReconnect=حذف تغییرات و اتصال مجدد+discard=صرفنظر+discardChangesAndReconnect=صرفنظر از تغییرات و اتصال مجددgoogleDriveMissingClickHere=گوگل درایو یافت نمی شود؟ اینجا کلیک کنید!-discardChanges=حذف تغییرات+discardChanges=صرفنظر از تغییراتdisconnected=قطع اتصال-distribute=توزیع کردن+distribute=توزیعdone=انجام شد-doNotShowAgain=Do not show again-dotted=نقطه نقطه-doubleClickOrientation=برای تغییر موقعیت دوبار کلیک کنید+doNotShowAgain=دیگر نشان نده+dotted=نقطهچین+doubleClickOrientation=برای تغییر جهت دوبار کلیک کنیدdoubleClickTooltip=برای وارد کردن متن دوبار کلیک کنیدdoubleClickChangeProperty=برای تغییر نام property دوبار کلیک کنیدdownload=دانلود-downloadDesktop=Get Desktop+downloadDesktop=دریافت نسخه دسکتاپdownloadAs=دانلود بهصورتclickHereToSave=برای ذخیره اینجا کلیک نمایید.dpi=DPI@@ -227,14 +227,14 @@ dragElementsHere=اِلِمانها را اینجا بیندازیدdragImagesHere=تصاویر یا URL ها را اینجا بکشیدdragUrlsHere=URL ها را اینجا بکشیدdraw.io=draw.io-drawing=نقاشی{1}-drawingEmpty=نقاشی خالی است-drawingTooLarge=نقاشی بسیار بزرگ است-drawioForWork=GSuite برای Draw.io-dropbox=دراپ باکس-duplicate=نسخه یکسان-duplicateIt=نسخه یکسان {1}-divider=جدا کننده+drawing=طرح{1}+drawingEmpty=طرح خالی است+drawingTooLarge=طرح بیش از حد بزرگ است+drawioForWork=Draw.io برای GSuite+dropbox=Dropbox+duplicate=کپی کردن+duplicateIt=کپی کردن {1}+divider=جداکنندهdx=Dxdy=Dyeast=شرق@@ -248,65 +248,65 @@ editLink=ویرایش پیوندeditShape=ویرایش شکلeditStyle=ویرایش استایلeditText=ویرایش متن-editTooltip=ویرایش جعبه نکات+editTooltip=ویرایش راهنمای ابزارglass=شیشهgoogleImages=Google Images-imageSearch=جستحوی تصویر+imageSearch=جستجوی تصویرeip=EIP-embed=متصل کردن-embedFonts=Embed Fonts-embedImages=متصل کردن تصاویر-mainEmbedNotice=paste کردن در این صفحه+embed=جاسازی+embedFonts=جاسازی فونتها+embedImages=جاسازی تصاویر+mainEmbedNotice=این را در صفحه جایگذاری کنیدelectrical=الکتریکی-ellipse=Ellipse-embedNotice=paste کردن در پایان این صفحه برای یک بار-enterGroup=گروه را وارد کنید+ellipse=بیضی+embedNotice=این را یک بار در انتهای صفحه جایگذاری کنید+enterGroup=ورود به گروهenterName=نام را وارد کنید-enterPropertyName=وارد کردن نام property+enterPropertyName=نام ویژگی را وارد کنیدenterValue=مقدار را وارد کنیدentityRelation=رابطه میان بخشها-entityRelationshipDiagram=Entity Relationship Diagram+entityRelationshipDiagram=نمودار رابطه موجودیتerror=خطاerrorDeletingFile=خطای حذفنمودن فایلerrorLoadingFile=خطای فراخوانی فایلerrorRenamingFile=خطای تغییر نام فایلerrorRenamingFileNotFound=خطای تغییر نام فایل. فایل پیدا نشد.errorRenamingFileForbidden=خطای تغییر نام فایل. سطح دسترسی ناکافی است.-errorSavingDraft=خطای در ذخیره پیشنویس+errorSavingDraft=خطا در ذخیره پیشنویسerrorSavingFile=خطا در ذخیره فایلerrorSavingFileUnknown=خطا در دادن اجازه به سرورهای گوگل. لطفا برای تلاش مجدد صفحه را رفرش کنید.errorSavingFileForbidden=خطا در ذخیره فایل. مجوزهای دسترسی کافی نیستند.errorSavingFileNameConflict=نمودار قابل ذخیره نیست. در صفحه فعلی از قبل فایلی وجود دارد به نام '{1}'errorSavingFileNotFound=خطا در ذخیره فایل. فایل یافت نشد.-errorSavingFileReadOnlyMode=Could not save diagram while read-only mode is active.+errorSavingFileReadOnlyMode=امکان ذخیره نمودار در حالت فقطخواندنی وجود ندارد.errorSavingFileSessionTimeout=نوبت شما پایان یافته است. لطفا <a target='_blank' href='{1}'>{2}</a> و به این صفحه بازگردید تا مجدد عملیات ذخیره سازی را انجام دهید.errorSendingFeedback=خطا در ارسال نظر.errorUpdatingPreview=خطا در بروز رسانی پیش نماexit=خروجexitGroup=خروج از گروهexpand=بزرگ کردن-explore=Explore-export=فرستادن-exporting=در حال فرستادن-exportAs=فرستادن به عنوان-exportOptionsDisabled=گزینه های فرستادن غیرفعال گشته اند+explore=کاوش+export=خروجی گرفتن+exporting=در حال خروجی گرفتن+exportAs=خروجی گرفتن به عنوان+exportOptionsDisabled=گزینههای خروجی غیرفعال شدهاندexportOptionsDisabledDetails=دارنده امکان دانلود، چاپ و کپی برای نظردهندگان و بینندگان این فایل را غیرفعال کرده است.-externalChanges=External Changes+externalChanges=تغییرات خارجیextras=موارد اضافیfailedToSaveTryReconnect=عدم ذخیره سازی، سعی در اتصال مجدد-featureRequest=درخواست کاربرد-feedback=نظر+featureRequest=درخواست ویژگی+feedback=بازخوردfeedbackSent=نظرات با موفقیت ارسال شد.floorplans=طرح کفfile=فایل-fileChangedOverwriteDialog=فایل تغییر داده شده است. این تغییرات بر روی نسخه فعلی ذخیره شود؟-fileChangedSyncDialog=The file has been modified.-fileChangedSync=The file has been modified. Click here to synchronize.-overwrite=ذخیره بر روی نسخه فعلی-synchronize=Synchronize+fileChangedOverwriteDialog=فایل تغییر کرده است. آیا میخواهید فایل را ذخیره کرده و تغییرات را بازنویسی کنید؟+fileChangedSyncDialog=فایل تغییر کرده است.+fileChangedSync=فایل تغییر کرده است. برای همگامسازی اینجا کلیک کنید.+overwrite=بازنویسی+synchronize=همگامسازیfilename=نام فایلfileExists=فایل از قبل وجود دارد-fileMovedToTrash=File was moved to trash+fileMovedToTrash=فایل به سطل زباله منتقل شدfileNearlyFullSeeFaq=فایل تقریبا پر است، لطفا به قسمت FAQ مراجعه کنیدfileNotFound=فایل یافت نشدrepositoryNotFound=مخزن یافت نشد@@ -314,41 +314,41 @@ fileNotFoundOrDenied=فایل یافت نشد. فایل یا وجود نداfileNotLoaded=فایل لود نشدfileNotSaved=فایل ذخیره نشدfileOpenLocation=چگونه می خواهید این فایل(ها) را باز کنید؟-filetypeHtml=.html causes file to save as HTML with redirect to cloud URL-filetypePng=.png causes file to save as PNG with embedded data-filetypeSvg=.svg causes file to save as SVG with embedded data+filetypeHtml=.html باعث میشود فایل به صورت HTML با تغییر مسیر به URL ابری ذخیره شود+filetypePng=.png باعث میشود فایل به صورت PNG با دادههای جاسازی شده ذخیره شود+filetypeSvg=.svg باعث میشود فایل به صورت SVG با دادههای جاسازی شده ذخیره شودfileWillBeSavedInAppFolder={1} در پوشه اپلیکیشن ذخیره خواهد شد.fill=پر کردن-fillColor=رنگ برای پر کردن-filterCards=Filter Cards+fillColor=رنگ پسزمینه+filterCards=فیلتر کارتهاfind=یافتنfindInDiagram=جستجو در نمودار-fit=تنظیم کردن-fitContainer=تغییر اندازه در Container-fitIntoContainer=تنظیم با Container+fit=متناسب+fitContainer=تغییر اندازه ظرف+fitIntoContainer=جا دادن در ظرفfitPage=تنظیم صفحهfitPageWidth=تنظیم عرض صفحهfitTo=تنظیم به-fitToSheetsAcross=صفحه (های) بالایی-fitToBy=با-fitToSheetsDown=صفحه (های) پایینی+fitToSheetsAcross=صفحه در عرض+fitToBy=در+fitToSheetsDown=صفحه در ارتفاعfitTwoPages=دو صفحهfitWindow=تنظیم پنجرهflip=برگرداندن-flipH=برگردان افقی-flipV=برگردان عمودی-flowAnimation=Flow Animation+flipH=برگرداندن افقی+flipV=برگرداندن عمودی+flowAnimation=انیمیشن جریانflowchart=فلوچارتfolder=پوشهfont=فونتfontColor=رنگ فونتfontFamily=خانواده فونت-fontSize=سایز فونت-forbidden=شما دسترسی لازم جهت دسترسی به این فایل را ندارید+fontSize=اندازه فونت+forbidden=شما مجوز دسترسی به این فایل را نداریدformat=فرمت-formatPanel=قالب بندی پنل+formatPanel=پنل قالببندیformatted=قالب بندی شده-formattedText=قالب بندی متن+formattedText=متن قالببندی شدهformatPng=PNGformatGif=GIFformatJpg=JPEG@@ -362,18 +362,18 @@ formatVssx=VSSXformatWebp=WebPformatXmlPlain=XML (Plain)formatXml=XML-forum=محل مخصوص بحث/کمک رسانی-freehand=Freehand+forum=انجمن بحث/راهنما+freehand=دستآزادfromTemplate=از قالبfromTemplateUrl=از آدرس قالبfromText=از متنfromUrl=از URLfromThisPage=از این صفحهfullscreen=تمامصفحه-gap=Gap+gap=فاصلهgcp=GCPgeneral=عمومی-getNotionChromeExtension=Get the Notion Chrome Extension+getNotionChromeExtension=دریافت افزونه Notion برای Chromegithub=GitHubgitlab=GitLabgliffy=Gliffy@@ -381,7 +381,7 @@ global=جهانیgoogleDocs=Google DocsgoogleDrive=Google DrivegoogleGadget=Google Gadget-googleSharingNotAvailable=Sharing is only available via Google Drive. Please click Open below and share from the more actions menu:+googleSharingNotAvailable=اشتراکگذاری فقط از طریق Google Drive امکانپذیر است. لطفاً روی باز کردن در زیر کلیک کنید و از منوی اقدامات بیشتر اشتراکگذاری کنید:googleSlides=Google SlidesgoogleSites=Google SitesgoogleSheets=Google Sheets@@ -393,14 +393,14 @@ gridSize=اندازه شبکهgroup=گروهguides=راهنماهاhateApp=از draw.io متنفرم-heading=سر تیتر+heading=سرتیترheight=ارتفاعhelp=کمکhelpTranslate=برای ترجمه این اپلیکیشن به ما کمک کنیدhide=پنهان کردنhideIt=پنهان کردن {1}hidden=مخفی-highContrast=High Contrast+highContrast=کنتراست بالاhome=خانهhorizontal=افقیhorizontalFlow=جریان افقی@@ -408,63 +408,63 @@ horizontalTree=درخت افقیhowTranslate=ترجمه به زبان شما تا چه اندازه خوب است؟html=HTMLhtmlText=متن HTML-id=ID+id=شناسهiframe=IFrameignore=نادیده گرفتنimage=تصویرimageUrl=URL تصویرimages=تصاویر-imagePreviewError=این تصویر برای پیش نمایی قابل بارگذاری نیست. لطفا URL را بررسی کنید.+imagePreviewError=این تصویر برای پیشنمایش قابل بارگذاری نیست. لطفاً URL را بررسی کنید.imageTooBig=تصویر خیلی بزرگ استimgur=Imgurimport=وارد نمودنimportFrom=وارد نمودن از-improveContrast=Improve Contrast+improveContrast=بهبود کنتراستincludeCopyOfMyDiagram=یک کپی از نمودار من را اضافه کنincreaseIndent=افزایش فاصلهی سرسطرdecreaseIndent=کاهش فاصلهی سرسطر-insert=وارد کردن+insert=درجinsertColumnBefore=وارد کردن ستون در سمت چپinsertColumnAfter=وارد کردن ستون در سمت راستinsertEllipse=وارد کردن بیضیinsertImage=وارد کردن تصویر-insertHorizontalRule=وارد کردن قانون افقی+insertHorizontalRule=درج خط افقیinsertLink=وارد کردن لینکinsertPage=وارد کردن صفحهinsertRectangle=وارد کردن مستطیل-insertRhombus=Insert Rhombus+insertRhombus=درج لوزیinsertRowBefore=وارد کردن یک ردیف در بالا-insertRowAfter=وارد کردن یک ردیف در بعد+insertRowAfter=درج ردیف در پایینinsertText=وارد کردن متنinserting=وارد کردن-installApp=Install App+installApp=نصب برنامهinvalidFilename=نامهای نمودارها نباید شامل کاراکترهای زیر باشد: \ / | : ; { } < > & + ? = "-invalidLicenseSeeThisPage=مجوز شما نامعتبر است. لطفا این بخش را ببینید <a target="_blank" href="https://www.drawio.com/doc/faq/license-drawio-confluence-jira-cloud">صفحه</a>.-invalidInput=Invalid input+invalidLicenseSeeThisPage=مجوز شما نامعتبر است، لطفاً این <a target="_blank" href="https://www.drawio.com/doc/faq/license-drawio-confluence-jira-cloud">صفحه</a> را ببینید.+invalidInput=ورودی نامعتبرinvalidName=نام نامعتبرinvalidOrMissingFile=فایل یا غیرمعتبر است یا وجود نداردinvalidPublicUrl=URL عمومی غیرمعتبر است-invertSelection=انتخاب معکوس+invertSelection=معکوس کردن انتخابisometric=ایزومتریکios=iOSitalic=ایتالیکkennedy=KennedykeyboardShortcuts=کلید های میانبر-labels=Labels+labels=برچسبهاlayers=لایه ها-landscape=دورنما+landscape=افقیlanguage=زبانleanMapping=نقشه برداری ناب-lastChange=آخرین تغییر {1) پیش+lastChange=آخرین تغییر {1} پیشlessThanAMinute=کمتر از یک دقیقهlicensingError=خطای مجوزlicenseHasExpired=مجوز مربوط به {1} در {2} منقضی شده است. اینجا کلیک کنید.-licenseRequired=This feature requires draw.io to be licensed.+licenseRequired=این ویژگی نیاز به مجوز draw.io دارد.licenseWillExpire=مجوز مربوط به {1} در {2} منقضی خواهد شد. اینجا کلیک کنید.-light=Light-lineJumps=Line jumps+light=روشن+lineJumps=پرش خطوطlinkAccountRequired=اگر نمودار عمومی نیست، برای مشاهده لینک به حساب گوگل نیاز است.-linkText=لینک متن+linkText=متن لینکlist=لیستminute=دقیقهminutes=دقیقه@@ -472,11 +472,11 @@ hours=ساعتdays=روزmonths=ماهyears=سال-restartForChangeRequired=تغییرات پس از رفرش کردن اعمال خواهند شد.+restartForChangeRequired=تغییرات پس از راهاندازی مجدد برنامه اعمال خواهند شد.laneColor=رنگ ردیفlanguageCode=کد زبانlastModified=آخرین اصلاح-layout=Layout+layout=چیدمانleft=چپleftAlign=تراز از سمت چپleftToRight=چپ به راست@@ -484,56 +484,56 @@ libraryTooltip=شکلها را در اینجا کشیده و بیندازیدlightbox=جعبه نورline=خطlineend=انتهای خط-lineheight=ارتقاع خط+lineheight=ارتفاع خطlinestart=شروع خط-linewidth=عرض خظ+linewidth=عرض خطlink=پیوندlinks=لینک هاloading=فراخوانیlock=قفل-locked=Locked-lockUnlock=ققل کردن/بازکردن+locked=قفل شده+lockUnlock=قفل کردن/بازکردنloggedOut=خارج شدهlogIn=وارد شدن-loveIt=عاشق draw.io هستم+loveIt=عاشق {1} هستمlucidchart=Lucidchart-maps=Maps+maps=نقشههاmathematicalTypesetting=حروف چینی ریاضیmakeCopy=ایجاد یک کپیmanual=دَستیmaximize=بزرگکردن-merge=Merge+merge=ادغامmermaid=MermaidmicrosoftOffice=Microsoft OfficemicrosoftExcel=Microsoft ExcelmicrosoftPowerPoint=Microsoft PowerPointmicrosoftWord=Microsoft Wordmiddle=وسط-minimal=Minimal+minimal=مینیمالminimize=کوچککردنmisc=متفرقه-mockups=ماکت ها-modern=Modern+mockups=ماکتها+modern=مدرنmodificationDate=تاریخ اصلاحmodifiedBy=اصلاح شده توسطmore=بیشترmoreResults=نتایج بیشترmoreShapes=شکلهای بیشتر-move=جابحایی+move=جابجاییmoveToFolder=جابجایی به پوشه-moving=در حال حرکت کردن+moving=در حال جابجاییmoveSelectionTo=انتخاب را به سمت {1} انتقال دهید-myDrive=My Drive-myFiles=My Files+myDrive=درایو من+myFiles=فایلهای منname=نام-navigation=پیمایس-network=Network-networking=Networking+navigation=پیمایش+network=شبکه+networking=شبکهسازیnew=جدیدnewLibrary=کتابخانه جدیدnextPage=صفحه بعدیno=نه-noPickFolder=No, pick folder+noPickFolder=نه، پوشه را انتخاب کنیدnoAttachments=پیوستی یافت نشدnoColor=بدون رنگnoFiles=فایلی وجود ندارد@@ -543,7 +543,7 @@ noMoreResults=جواب دیگری وجود نداردnone=هیچnoOtherViewers=بینندگان دیگری وجود نداردnoPlugins=پلاگینی وجود ندارد-noPreview=پیش نمایی وجود ندارد+noPreview=پیشنمایشی وجود نداردnoResponse=عدم پاسخگویی سرورnoResultsFor=نتیجه ای برای '{1}' یافت نشدnoRevisions=ویرایشی وجود ندارد@@ -558,96 +558,96 @@ notAUtf8File=فایل UTF-8 نیستnotConnected=متصل نیستnote=یادداشتnotion=Notion-notSatisfiedWithImport=Not satisfied with the import?+notSatisfiedWithImport=از وارد کردن راضی نیستید؟notUsingService=از {1} استفاده نمی کنید؟-numberedList=لیست شماره ای+numberedList=لیست شمارهدارoffline=آفلاینok=OKoneDrive=OneDriveonline=آنلاین-opacity=کدری+opacity=شفافیتopen=باز کردن-openArrow=باز کردن فلش+openArrow=فلش بازopenExistingDiagram=باز کردن نمودار موجودopenFile=باز کردن فایلopenFrom=باز کردن ازopenLibrary=باز کردن کتابخانهopenLibraryFrom=باز کردن کتابخانه از-openLink=لینک+openLink=باز کردن لینکopenInNewWindow=باز کردن در پنجره ای جدیدopenInThisWindow=باز کردن در این پنجرهopenIt=باز کردن {1}-openRecent=موارد اخیر را باز کنید-openSupported=قالب بندی های تحت پشتیبانی فایلهایی هستند که از این نرم افزار ذخیره می شوند (.xml), .vsdx and .gliffy+openRecent=باز کردن اخیر+openSupported=فرمتهای پشتیبانیشده شامل فایلهای ذخیرهشده از این نرمافزار (.xml)، .vsdx و .gliffy میباشدoptions=گزینه هاorganic=ارگانیک-orgChart=Org Chart+orgChart=نمودار سازمانیorthogonal=متعامد-otherViewer=بینندگان دیگر+otherViewer=بیننده دیگرotherViewers=بینندگان دیگرoutline=طرح کلیoval=بیضیpage=صفحهpageContent=محتوای صفحهpageNotFound=صفحه مورد نظر یافت نشد-pageWithNumber=صفحه - {1}+pageWithNumber=صفحه-{1}pages=صفحات-pageTabs=Page Tabs+pageTabs=زبانههای صفحهpageView=نمای صفحهpageSetup=تنظیمات صفحهpageScale=مقیاس صفحهpan=حرکت دادن-panTooltip=خط فاصله + کشیدن برای حرکت دادن+panTooltip=Space+کشیدن برای حرکت دادنpaperSize=اندازه کاغذpattern=الگو-parallels=Parallels+parallels=موازیهاpaste=چسباندن-pasteData=Paste Data+pasteData=چسباندن دادهpasteHere=اینجا بچسبانید-pasteSize=Paste Size+pasteSize=چسباندن اندازهpasteStyle=سبک را بچسبانیدperimeter=محیطpermissionAnyone=هر کسی قادر به ویرایش است-permissionAuthor=فقط من قادر به ویرایش هستم+permissionAuthor=مالک و مدیران میتوانند ویرایش کنندpickFolder=یک پوشه را انتخاب کنیدpickLibraryDialogTitle=انتخاب کتابخانهpublicDiagramUrl=URL عمومی برای نمودارplaceholders=نشانگرplantUml=PlantUMLplugins=پلاگین ها-pluginUrl=پلاگین URL+pluginUrl=URL پلاگینpluginWarning=صفحه مورد نیاز درخواست بارگذاری پلاگین زیر را داده است:\n \n {1}\n \n آیا مایلید این پلاگین را حالا بارگذاری کنید؟\n \n یادداشت: فقط به پلاگینهایی در صورتی اجازه اجرا شدن دهید که به جنبه های امنیتی این کار واقف هستید.\nplusTooltip=برای اتصال و کلون کردن کلیک کنید (ctrl+click برای کلون کردن، shift+click برای اتصال). برای اتصال بکشید (ctrl+ کشیدن برای کلون کردن)-portrait=پرتره+portrait=عمودیposition=موقعیتposterPrint=چاپ پوستر-preferences=ترجیحات-preview=پیش نما+preferences=تنظیمات+preview=پیشنمایشpreviousPage=صفحه قبل-presentationMode=Presentation Mode+presentationMode=حالت ارائهprint=چاپ-procEng=Proc. Eng.+procEng=مهندسی فرآیندproject=پروژهpriority=اولویت-processForHiringNewEmployee=Process for hiring a new employee-properties=خواص+processForHiringNewEmployee=فرآیند استخدام کارمند جدید+properties=ویژگیهاpublish=انتشارquickStart=ویدئوی شروع سریع-rack=ردیف-radial=Radial+rack=رک+radial=شعاعیradialTree=درخت شعاعیreadOnly=فقط خواندنیreconnecting=اتصال مجددrecentlyUpdated=اخیرا به روز رسانی شدهrecentlyViewed=اخیرا مشاهده شده-rectangle=Rectangle+rectangle=مستطیلredirectToNewApp=این فایل در یک نسخه جدیدتری از این اپلیکیشن ایجاد و یا ویرایش گردیده است. شما در حال حاضر به مسیر دیگری هدایت خواهید شد.realtimeTimeout=به نظر می رسد که در حالت آفلاین تغییراتی داده اید. متاسفانه این تغییرات قابل ذخیره سازی نیستند.-redo=دوباره انجام دادن-refresh=ریفرش-regularExpression=بیان معمول-relative=Relative-relativeUrlNotAllowed=Relative URL not allowed+redo=انجام مجدد+refresh=تازهسازی+regularExpression=عبارت منظم+relative=نسبی+relativeUrlNotAllowed=نشانی نسبی مجاز نیستrememberMe=مرا به خاطر بسپارrememberThisSetting=این تنظیمات را به خاطر بسپارremoveFormat=قالب بندی را پاک کن@@ -660,119 +660,119 @@ renameIt=تغییر نام {1}renaming=در حال تغییر نامreplace=جایگزین کردنreplaceIt={1} قبلا وجود دارد. آیا می خواهید آن را جایگزین کنید؟-replaceExistingDrawing=نقاشی موجود را جایگزین کنید+replaceExistingDrawing=جایگزینی نمودار موجودrequired=مورد نیاز-requirementDiagram=Requirement Diagram-reset=تنظیم به حالت اولیه-resetView=تنظیم نما به حالت اولیه-resize=تغییر دادن اندازه+requirementDiagram=نمودار نیازمندیها+reset=بازنشانی+resetView=بازنشانی نما+resize=تغییر اندازهresizeLargeImages=آیا می خواهید اندازه تصاویر بزرگ را تغییر دهید تا این اپلیکیشن سریعتر کار کند؟retina=Retinaresponsive=پاسخگو-restore=بازیابی کردن+restore=بازیابیrestoring=در حال بازیابیretryingIn=تلاش دوباره در {1} ثانیهretryingLoad=بارگذاری موفق نبود. تلاش دوباره...retryingLogin=زمان ورود به پایان رسیده است. در حال تلاش دوباره...reverse=معکوس کردنrevision=ویرایش-revisionHistory=ویرایش تاریخچه-rhombus=Rhombus+revisionHistory=تاریخچه ویرایش+rhombus=لوزیright=راست-rightAlign=تزار از راست+rightAlign=تراز از راستrightToLeft=راست به چپrotate=چرخاندنrotateTooltip=برای چرخاندن کلیک کرده و بکشید، برای چرخش 90 درجه کلیک کنیدrotation=چرخشrounded=گرد-save=ذخیره کردن+save=ذخیرهsaveAndExit=ذخیره و خروجsaveAs=ذخیره به عنوانsaveAsXmlFile=با عنوان فایل XML ذخیره شود؟saved=ذخیره شد-saveDiagramFirst=Please save the diagram first+saveDiagramFirst=لطفاً ابتدا نمودار را ذخیره کنیدsaveDiagramsTo=ذخیره نمودار درsaveLibrary403=مجوز برای ویرایش کتابخانه کافی نیستsaveLibrary500=خطا به هنگام ذخیره کتابخانه-saveLibraryReadOnly=Could not save library while read-only mode is active+saveLibraryReadOnly=امکان ذخیره کتابخانه در حالت فقط خواندنی وجود نداردsaving=در حال ذخیره کردنscratchpad=صفحه پیش نویس-scrollbars=چرخانک+scrollbars=نوارهای پیمایشsearch=جستجوsearchShapes=جستجوی شکل هاselectAll=انتخاب همه-selectionOnly=انتخاب تنها-selectCard=Select Card+selectionOnly=فقط انتخابشدهها+selectCard=انتخاب کارتselectEdges=انتخاب لبه ها-selectedPage=Selected Page+selectedPage=صفحه انتخابشدهselectFile=انتخاب فایلselectFolder=انتخاب پوشهselectFont=انتخاب فونتselection=انتخاب-selectNone=موردی را انتخاب نکنید+selectNone=لغو انتخاب همهselectObjectsInLayer=انتخاب اشیاء در لایه-selectTemplate=Select Template-selectVertices=رگه ها را انتخاب کنید-sendBackward=Send Backward-sendMessage=ارسال کردن+selectTemplate=انتخاب قالب+selectVertices=انتخاب رئوس+sendBackward=انتقال به عقب+sendMessage=ارسالsendYourFeedback=نظرات خود را ارسال کنید-sequenceDiagram=Sequence Diagram+sequenceDiagram=نمودار توالیserviceUnavailableOrBlocked=سرویس در دسترس نیست یا بلاک شده استsessionExpired=نوبت شما منقضی گردیده است. لطفا صفحه مرورگر خود را ریفرش کنیدsessionTimeoutOnSave=زمان نوبت شما به پایان رسید و اتصال شما به گوگل درایو قطع گردیده است. برای اتصال دوباره و ذخیره سازی بر روی OK کلیک کنید.setAsDefaultStyle=به عنوان سبک پیش فرض قرار بدهید-settings=Settings+settings=تنظیماتshadow=سایهshadows=سایههاshape=شکلshapes=اشکال-share=به اشتراک گذاشتن-shareCursor=Share Mouse Cursor+share=اشتراکگذاری+shareCursor=اشتراکگذاری نشانگر موسshareLink=لینک برای ویرایش مشترک-sharingAvailable=X-saveItToGoogleDriveToCollaborate=You'll need to save "{1}" to Google Drive before you can collaborate.-saveToGoogleDrive=Save to Google Drive+sharingAvailable=اشتراکگذاری برای فایلهای Google Drive و OneDrive موجود است.+saveItToGoogleDriveToCollaborate=برای همکاری، ابتدا باید "{1}" را در Google Drive ذخیره کنید.+saveToGoogleDrive=ذخیره در Google Drivesharp=تیز-show=نشان دادن-showRemoteCursors=Show Remote Mouse Cursors-showStartScreen=نشان دادن صفحه شروع-sidebarTooltip=برای باز کردن کلیک کنید. شکلها را بر روی نمودار کشیده و رها کنید. برای تغییر انتخاب Shift+Click کنید. برای وارد کردن و اتصال Alt+Click کنید.+show=نمایش+showRemoteCursors=نمایش نشانگرهای موس از راه دور+showStartScreen=نمایش صفحه شروع+sidebarTooltip=کلیک کنید یا شکلها را بکشید و رها کنید. Shift+کلیک برای تغییر انتخاب. Alt+کلیک برای وارد کردن و اتصال.signs=علامتهاsignOut=خروجsimple=سادهsimpleArrow=فلش ساده-simpleViewer=Simple Viewer+simpleViewer=نمایشگر سادهsize=اندازه-sketch=Sketch-smoothing=Smoothing-snapToGrid=Snap to Grid+sketch=طرح+smoothing=صافسازی+snapToGrid=چسبیدن به شبکهsolid=ممتدsourceSpacing=فاصله بندی منبعsouth=جنوب-software=نرم افزار+software=نرمافزارspace=فاصله-spacing=فاصله+spacing=فاصلهگذاریspecialLink=لینک مخصوص-stateDiagram=State Diagram+stateDiagram=نمودار حالتstandard=استاندارد-startDrawing=Start drawing-stopDrawing=Stop drawing+startDrawing=شروع ترسیم+stopDrawing=توقف ترسیمstarting=شروعstraight=مستقیم-strikethrough=Strikethrough+strikethrough=خطخوردهstrokeColor=رنگ خطstyle=سبکsubscript=زیرنویسsummary=خلاصهsuperscript=بالانویسsupport=پشتیبانی-swap=Swap-swimlaneDiagram=Swimlane Diagram+swap=جابجایی+swimlaneDiagram=نمودار خط شناsysml=SysML-tags=برچسب ها+tags=برچسبهاtable=جدول-tables=Tables-takeOver=Take Over+tables=جدولها+takeOver=تصاحبtargetSpacing=فاصله بندی هدفtemplate=الگوtemplates=الگوها@@ -785,9 +785,9 @@ title=عنوانto=بهtoBack=به عقبtoFront=به جلو-tooLargeUseDownload=Too large, use download instead.-toolbar=Toolbar-tooltips=جعبه نکات+tooLargeUseDownload=بیش از حد بزرگ است، به جای آن از دانلود استفاده کنید.+toolbar=نوار ابزار+tooltips=راهنمای ابزارtop=بالاtopAlign=تراز از بالاtopLeft=بالا سمت چپ@@ -797,25 +797,25 @@ transparentBackground=پس زمینه شفافtrello=TrellotryAgain=دوباره سعی کنیدtryOpeningViaThisPage=سعی کنید از این صفحه باز کنید-turn=چرخش 90 درجه+turn=چرخش فقط شکل ۹۰ درجهtype=نوعtypeSlashToSearch=برای جستجو / را تایپ کنیدuml=UML-unassigned=Unassigned+unassigned=تخصیص نیافتهunderline=زیرخط-undo=عدم انجام+undo=واگردungroup=از حالت گروهی خارج کردنunlock=باز کردن قفل-unmerge=Unmerge+unmerge=لغو ادغامunsavedChanges=تغییرات ذخیره نشدهunsavedChangesClickHereToSave=تغییرات ذخیره نشده اند. برای ذخیره شدن اینجا کلیک کنید.untitled=بدون نامuntitledDiagram=نمودار بدون نام-untitledLayer=لابه بدون نام+untitledLayer=لایه بدون نامuntitledLibrary=کتابخانه بدون نامunknownError=ایراد نامعلوم-unknownUser=Unknown user-updateExistingDrawing=Update existing drawing+unknownUser=کاربر ناشناس+updateExistingDrawing=بهروزرسانی طراحی موجودupdateFile=به روز رسانی {1}updatingDocument=در حال به روز رسانی سند. لطفاً منتظر بمانید...updatingPreview=در حال به روز رسانی پیش نما. لطفا منتظر بمانید...@@ -823,22 +823,22 @@ updatingSelection=در حال به روز رسانی انتخاب. لطفاًupload=آپلودurl=URLuseBlackAndWhite=از سیاه و سفید استفاده کنید-useCurrentSettings=Use current settings-useOffline=Use Offline+useCurrentSettings=استفاده از تنظیمات فعلی+useOffline=استفاده آفلاینuserDefined=تعریف شده توسط کاربر-useRootFolder=Use root folder?+useRootFolder=از پوشه ریشه استفاده شود؟userManual=راهنمای کاربرvertical=عمودیverticalFlow=جریان عمودیverticalTree=درخت عمودی-view=مشاهده کردن-viewerSettings=Viewer Settings+view=نما+viewerSettings=تنظیمات نمایشگرviewUrl=لینک به نما: {1}voiceAssistant=دستیار صوتی (بتا)warning=هشدار-waypoints=نقطه مسیر+waypoints=نقاط مسیرwest=غرب-where=Where+where=کجاwidth=عرضwiki=WikiwordWrap=بازگشت به سر خط@@ -848,487 +848,489 @@ yourEmailAddress=آدرس ایمیل شماzoom=بزرگنماییzoomIn=نزدیکنماییzoomOut=دورنمایی-basic=ابتدایی+basic=پایهbusinessprocess=فرآیندهای کاریcharts=نمودارهاengineering=مهندسیflowcharts=فلوچارت ها-gmdl=طراحی مواد-mindmaps=نقشه ذهنی+gmdl=متریال دیزاین+mindmaps=نقشههای ذهنیmockups=ماکت هاnetworkdiagrams=نمودارهای شبکهnothingIsSelected=موردی انتخاب نشده است-other=دیگر+other=سایرsoftwaredesign=طراحی نرم افزارvenndiagrams=نمودارهای ونwebEmailOrOther=وب، ایمیل و یا آدرس اینترنتی دیگرwebLink=لینک تحت وب-wireframes=قاب خط-property=Property-value=Value-showMore=Show More-showLess=Show Less-myDiagrams=My Diagrams-allDiagrams=All Diagrams-recentlyUsed=Recently used-listView=List view-gridView=Grid view-resultsFor=Results for '{1}'-oneDriveCharsNotAllowed=The following characters are not allowed: ~ " # % * : < > ? / \ { | }-oneDriveInvalidDeviceName=The specified device name is invalid-officeNotLoggedOD=You are not logged in to OneDrive. Please open draw.io task pane and login first.-officeSelectSingleDiag=Please select a single draw.io diagram only without other contents.-officeSelectDiag=Please select a draw.io diagram.-officeCannotFindDiagram=Cannot find a draw.io diagram in the selection-noDiagrams=No diagrams found-authFailed=Authentication failed-officeFailedAuthMsg=Unable to successfully authenticate user or authorize application.-convertingDiagramFailed=Converting diagram failed-officeCopyImgErrMsg=Due to some limitations in the host application, the image could not be inserted. Please manually copy the image then paste it to the document.-insertingImageFailed=Inserting image failed-officeCopyImgInst=Instructions: Right-click the image below. Select "Copy image" from the context menu. Then, in the document, right-click and select "Paste" from the context menu.-folderEmpty=Folder is empty-recent=Recent-sharedWithMe=Shared With Me-sharepointSites=Sharepoint Sites-errorFetchingFolder=Error fetching folder items-errorAuthOD=Error authenticating to OneDrive-officeMainHeader=Adds draw.io diagrams to your document.-officeStepsHeader=This add-in performs the following steps:-officeStep1=Connects to Microsoft OneDrive, Google Drive or your device.-officeStep2=Select a draw.io diagram.-officeStep3=Insert the diagram into the document.-officeAuthPopupInfo=Please complete the authentication in the pop-up window.-officeSelDiag=Select draw.io Diagram:-files=Files-shared=Shared+wireframes=وایرفریمها+property=ویژگی+value=مقدار+showMore=نمایش بیشتر+showLess=نمایش کمتر+myDiagrams=نمودارهای من+allDiagrams=همه نمودارها+recentlyUsed=اخیراً استفاده شده+listView=نمای لیستی+gridView=نمای شبکهای+resultsFor=نتایج برای '{1}'+oneDriveCharsNotAllowed=نویسههای زیر مجاز نیستند: ~ " # % * : < > ? / \ { | }+oneDriveInvalidDeviceName=نام دستگاه مشخص شده نامعتبر است+officeNotLoggedOD=شما به OneDrive وارد نشدهاید. لطفاً پنل وظایف draw.io را باز کنید و ابتدا وارد شوید.+officeSelectSingleDiag=لطفاً فقط یک نمودار draw.io را بدون محتوای دیگر انتخاب کنید.+officeSelectDiag=لطفاً یک نمودار draw.io انتخاب کنید.+officeCannotFindDiagram=نمودار draw.io در انتخاب یافت نشد+noDiagrams=نموداری یافت نشد+authFailed=احراز هویت ناموفق بود+officeFailedAuthMsg=احراز هویت کاربر یا مجوز برنامه با موفقیت انجام نشد.+convertingDiagramFailed=تبدیل نمودار ناموفق بود+officeCopyImgErrMsg=به دلیل برخی محدودیتها در برنامه میزبان، تصویر قابل درج نبود. لطفاً تصویر را به صورت دستی کپی کرده و در سند جایگذاری کنید.+insertingImageFailed=درج تصویر ناموفق بود+officeCopyImgInst=راهنما: روی تصویر زیر راستکلیک کنید. از منوی زمینه «کپی تصویر» را انتخاب کنید. سپس در سند، راستکلیک کرده و «جایگذاری» را از منوی زمینه انتخاب کنید.+folderEmpty=پوشه خالی است+recent=اخیر+sharedWithMe=اشتراکگذاری شده با من+sharepointSites=سایتهای Sharepoint+errorFetchingFolder=خطا در دریافت موارد پوشه+errorAuthOD=خطا در احراز هویت به OneDrive+officeMainHeader=نمودارهای draw.io را به سند شما اضافه میکند.+officeStepsHeader=این افزونه مراحل زیر را انجام میدهد:+officeStep1=اتصال به Microsoft OneDrive، Google Drive یا دستگاه شما.+officeStep2=یک نمودار draw.io انتخاب کنید.+officeStep3=نمودار را در سند درج کنید.+officeAuthPopupInfo=لطفاً احراز هویت را در پنجره بازشو تکمیل کنید.+officeSelDiag=انتخاب نمودار draw.io:+files=فایلها+shared=اشتراکگذاری شدهsharepoint=Sharepoint-officeManualUpdateInst=Instructions: Copy draw.io diagram from the document. Then, in the box below, right-click and select "Paste" from the context menu.-officeClickToEdit=Click icon to start editing:-pasteDiagram=Paste draw.io diagram here-connectOD=Connect to OneDrive-selectChildren=Select Children-selectSiblings=Select Siblings-selectParent=Select Parent-selectDescendants=Select Descendants-lastSaved=Last saved {1} ago-resolve=Resolve-reopen=Re-open-showResolved=Show Resolved-reply=Reply-objectNotFound=Object not found-reOpened=Re-opened-markedAsResolved=Marked as resolved-noCommentsFound=No comments found-comments=Comments-timeAgo={1} ago+officeManualUpdateInst=راهنما: نمودار draw.io را از سند کپی کنید. سپس در کادر زیر، راستکلیک کرده و از منوی زمینه «چسباندن» را انتخاب کنید.+officeClickToEdit=برای شروع ویرایش روی آیکون کلیک کنید:+pasteDiagram=نمودار draw.io را اینجا بچسبانید+connectOD=اتصال به OneDrive+selectChildren=انتخاب فرزندان+selectSiblings=انتخاب همسطحها+selectParent=انتخاب والد+selectDescendants=انتخاب نوادگان+lastSaved={1} پیش ذخیره شده+resolve=حلشده+reopen=بازگشایی+showResolved=نمایش حلشدهها+reply=پاسخ+objectNotFound=شیء یافت نشد+reOpened=بازگشایی شد+markedAsResolved=حلشده علامتگذاری شد+noCommentsFound=نظری یافت نشد+comments=نظرات+timeAgo={1} پیشconfluenceCloud=Confluence Cloud-libraries=Libraries-confAnchor=Confluence Page Anchor-confTimeout=The connection has timed out-confSrvTakeTooLong=The server at {1} is taking too long to respond.-confCannotInsertNew=Cannot insert draw.io diagram to a new Confluence page-confSaveTry=Please save the page and try again.-confCannotGetID=Unable to determine page ID-confContactAdmin=Please contact your Confluence administrator.-readErr=Read Error-editingErr=Editing Error-confExtEditNotPossible=This diagram cannot be edited externally. Please try editing it while editing the page-confEditedExt=Diagram/Page edited externally-diagNotFound=Diagram Not Found-confEditedExtRefresh=Diagram/Page is edited externally. Please refresh the page.-confCannotEditDraftDelOrExt=Cannot edit diagrams in a draft page, diagram is deleted from the page, or diagram is edited externally. Please check the page.-retBack=Return back-confDiagNotPublished=The diagram does not belong to a published page-createdByDraw=Created by draw.io-filenameShort=Filename too short-invalidChars=Invalid characters-alreadyExst={1} already exists-draftReadErr=Draft Read Error-diagCantLoad=Diagram cannot be loaded-draftWriteErr=Draft Write Error-draftCantCreate=Draft could not be created-confDuplName=Duplicate diagram name detected. Please pick another name.-confSessionExpired=Looks like your session expired. Log in again to keep working.-login=Login-drawPrev=draw.io preview-drawDiag=draw.io diagram-invalidCallFnNotFound=Invalid Call: {1} not found-invalidCallErrOccured=Invalid Call: An error occurred, {1}-anonymous=Anonymous-confGotoPage=Go to containing page-showComments=Show Comments-confError=Error: {1}-gliffyImport=Gliffy Import-gliffyImportInst1=Click the "Start Import" button to import all Gliffy diagrams to draw.io.-gliffyImportInst2=Please note that the import procedure will take some time and the browser window must remain open until the import is completed.-startImport=Start Import-drawConfig=draw.io Configuration-customLib=Custom Libraries-customTemp=Custom Templates-pageIdsExp=Page IDs Export-drawReindex=draw.io re-indexing-working=Working-drawConfigNotFoundInst=draw.io Configuration Space (DRAWIOCONFIG) does not exist. This space is needed to store draw.io configuration files and custom libraries/templates.-createConfSp=Create Config Space-unexpErrRefresh=Unexpected error, please refresh the page and try again.-configJSONInst=Write draw.io JSON configuration in the editor below then click save. If you need help, please refer to-thisPage=this page-curCustLib=Current Custom Libraries-libName=Library Name-action=Action-drawConfID=draw.io Config ID-addLibInst=Click the "Add Library" button to upload a new library.-addLib=Add Library-customTempInst1=Custom templates are draw.io diagrams saved in children pages of-customTempInst2=For more details, please refer to-tempsPage=Templates page-pageIdsExpInst1=Select export target, then click the "Start Export" button to export all pages IDs.-pageIdsExpInst2=Please note that the export procedure will take some time and the browser window must remain open until the export is completed.-startExp=Start Export-refreshDrawIndex=Refresh draw.io Diagrams Index-reindexInst1=Click the "Start Indexing" button to refresh draw.io diagrams index.-reindexInst2=Please note that the indexing procedure will take some time and the browser window must remain open until the indexing is completed.-startIndexing=Start Indexing-confAPageFoundFetch=Page "{1}" found. Fetching-confAAllDiagDone=All {1} diagrams processed. Process finished.-confAStartedProcessing=Started processing page "{1}"-confAAllDiagInPageDone=All {1} diagrams in page "{2}" processed successfully.-confAPartialDiagDone={1} out of {2} {3} diagrams in page "{4}" processed successfully.-confAUpdatePageFailed=Updating page "{1}" failed.-confANoDiagFoundInPage=No {1} diagrams found in page "{2}".-confAFetchPageFailed=Fetching the page failed.-confANoDiagFound=No {1} diagrams found. Process finished.-confASearchFailed=Searching for {1} diagrams failed. Please try again later.-confAGliffyDiagFound={2} diagram "{1}" found. Importing-confAGliffyDiagImported={2} diagram "{1}" imported successfully.-confASavingImpGliffyFailed=Saving imported {2} diagram "{1}" failed.-confAImportedFromByDraw=Imported from "{1}" by draw.io-confAImportGliffyFailed=Importing {2} diagram "{1}" failed.-confAFetchGliffyFailed=Fetching {2} diagram "{1}" failed.-confACheckBrokenDiagLnk=Checking for broken diagrams links.-confADelDiagLinkOf=Deleting diagram link of "{1}"-confADupLnk=(duplicate link)-confADelDiagLnkFailed=Deleting diagram link of "{1}" failed.-confAUnexpErrProcessPage=Unexpected error during processing the page with id: {1}-confADiagFoundIndex=Diagram "{1}" found. Indexing-confADiagIndexSucc=Diagram "{1}" indexed successfully.-confAIndexDiagFailed=Indexing diagram "{1}" failed.-confASkipDiagOtherPage=Skipped "{1}" as it belongs to another page!-confADiagUptoDate=Diagram "{1}" is up to date.-confACheckPagesWDraw=Checking pages having draw.io diagrams.-confAErrOccured=An error occurred!-savedSucc=Saved successfully-confASaveFailedErr=Saving Failed (Unexpected Error)-character=Character-confAConfPageDesc=This page contains draw.io configuration file (configuration.json) as attachment-confALibPageDesc=This page contains draw.io custom libraries as attachments-confATempPageDesc=This page contains draw.io custom templates as attachments-confAConfSpaceDesc=This space is used to store draw.io configuration files and custom libraries/templates-confANoCustLib=No Custom Libraries-delFailed=Delete failed!-showID=Show ID-confAIncorrectLibFileType=Incorrect file type. Libraries should be XML files.-uploading=Uploading-confALibExist=This library already exists-confAUploadSucc=Uploaded successfully-confAUploadFailErr=Upload Failed (Unexpected Error)-hiResPreview=High Res Preview-officeNotLoggedGD=You are not logged in to Google Drive. Please open draw.io task pane and login first.-officePopupInfo=Please complete the process in the pop-up window.-pickODFile=Pick OneDrive File-createODFile=Create OneDrive File-pickGDriveFile=Pick Google Drive File-createGDriveFile=Create Google Drive File-pickDeviceFile=Pick Device File-vsdNoConfig="vsdurl" is not configured-ruler=Ruler-units=Units-points=Points-inches=Inches-millimeters=Millimeters-confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.-confDiagEditedExt=Diagram is edited in another session. It will be saved as a new attachment version but the page will show other session's modifications.-macroNotFound=Macro Not Found-confAInvalidPageIdsFormat=Incorrect Page IDs file format-confACollectingCurPages=Collecting current pages-confABuildingPagesMap=Building pages mapping-confAProcessDrawDiag=Started processing imported draw.io diagrams-confAProcessDrawDiagDone=Finished processing imported draw.io diagrams-confAProcessImpPages=Started processing imported pages-confAErrPrcsDiagInPage=Error processing draw.io diagrams in page "{1}"-confAPrcsDiagInPage=Processing draw.io diagrams in page "{1}"-confAImpDiagram=Importing diagram "{1}"-confAImpDiagramFailed=Importing diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.-confAImpDiagramError=Error importing diagram "{1}". Cannot fetch or save the diagram. Cannot fix this diagram links.-confAUpdateDgrmCCFailed=Updating link to diagram "{1}" failed.-confImpDiagramSuccess=Updating diagram "{1}" done successfully.-confANoLnksInDrgm=No links to update in: {1}-confAUpdateLnkToPg=Updated link to page: "{1}" in diagram: "{2}"-confAUpdateLBLnkToPg=Updated lightbox link to page: "{1}" in diagram: "{2}"-confAUpdateLnkBase=Updated base URL from: "{1}" to: "{2}" in diagram: "{3}"-confAPageIdsImpDone=Page IDs Import finished-confAPrcsMacrosInPage=Processing draw.io macros in page "{1}"-confAErrFetchPage=Error fetching page "{1}"-confAFixingMacro=Fixing macro of diagram "{1}"-confAErrReadingExpFile=Error reading export file-confAPrcsDiagInPageDone=Processing draw.io diagrams in page "{1}" finished-confAFixingMacroSkipped=Fixing macro of diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.-pageIdsExpTrg=Export target-confALucidDiagImgImported={2} diagram "{1}" image extracted successfully-confASavingLucidDiagImgFailed=Extracting {2} diagram "{1}" image failed-confGetInfoFailed=Fetching file info from {1} failed.-confCheckCacheFailed=Cannot get cached file info.-confReadFileErr=Cannot read "{1}" file from {2}.-confSaveCacheFailed=Unexpected error. Cannot save cached file-orgChartType=Org Chart Type-linear=Linear-hanger2=Hanger 2-hanger4=Hanger 4-fishbone1=Fishbone 1-fishbone2=Fishbone 2-1ColumnLeft=Single Column Left-1ColumnRight=Single Column Right-smart=Smart-parentChildSpacing=Parent Child Spacing-siblingSpacing=Sibling Spacing-confNoPermErr=Sorry, you don't have enough permissions to view this embedded diagram from page {1}-copyAsImage=Copy as Image-copyAsText=Copy as Text+libraries=کتابخانهها+confAnchor=لنگر صفحه Confluence+confTimeout=زمان اتصال به پایان رسید+confSrvTakeTooLong=سرور {1} پاسخ نمیدهد.+confCannotInsertNew=امکان درج نمودار draw.io در صفحه جدید Confluence وجود ندارد+confSaveTry=لطفاً صفحه را ذخیره کنید و دوباره تلاش کنید.+confCannotGetID=شناسه صفحه قابل تشخیص نیست+confContactAdmin=لطفاً با مدیر Confluence خود تماس بگیرید.+readErr=خطای خواندن+editingErr=خطای ویرایش+confExtEditNotPossible=این نمودار به صورت خارجی قابل ویرایش نیست. لطفاً هنگام ویرایش صفحه آن را ویرایش کنید+confEditedExt=نمودار/صفحه به صورت خارجی ویرایش شده است+diagNotFound=نمودار یافت نشد+confEditedExtRefresh=نمودار/صفحه به صورت خارجی ویرایش شده است. لطفاً صفحه را بازخوانی کنید.+confCannotEditDraftDelOrExt=امکان ویرایش نمودارها در صفحه پیشنویس وجود ندارد، نمودار از صفحه حذف شده، یا نمودار به صورت خارجی ویرایش شده است. لطفاً صفحه را بررسی کنید.+retBack=بازگشت+confDiagNotPublished=این نمودار متعلق به صفحه منتشرشده نیست+createdByDraw=ایجاد شده توسط draw.io+filenameShort=نام فایل خیلی کوتاه است+invalidChars=کاراکترهای نامعتبر+alreadyExst={1} از قبل وجود دارد+draftReadErr=خطای خواندن پیشنویس+diagCantLoad=نمودار قابل بارگذاری نیست+draftWriteErr=خطای نوشتن پیشنویس+draftCantCreate=پیشنویس ایجاد نشد+confDuplName=نام نمودار تکراری است. لطفاً نام دیگری انتخاب کنید.+confSessionExpired=به نظر میرسد نشست شما منقضی شده است. برای ادامه کار دوباره وارد شوید.+login=ورود+drawPrev=پیشنمایش draw.io+drawDiag=نمودار draw.io+invalidCallFnNotFound=فراخوانی نامعتبر: {1} یافت نشد+invalidCallErrOccured=فراخوانی نامعتبر: خطایی رخ داد، {1}+anonymous=ناشناس+confGotoPage=رفتن به صفحه حاوی+showComments=نمایش نظرات+confError=خطا: {1}+gliffyImport=وارد کردن Gliffy+gliffyImportInst1=برای وارد کردن همه نمودارهای Gliffy به draw.io روی دکمه «شروع وارد کردن» کلیک کنید.+gliffyImportInst2=توجه داشته باشید که فرآیند وارد کردن مدتی طول میکشد و پنجره مرورگر باید تا پایان وارد کردن باز بماند.+startImport=شروع وارد کردن+drawConfig=پیکربندی draw.io+customLib=کتابخانههای سفارشی+customTemp=قالبهای سفارشی+pageIdsExp=صدور شناسه صفحات+drawReindex=فهرستبندی مجدد draw.io+working=در حال کار+drawConfigNotFoundInst=فضای پیکربندی draw.io (DRAWIOCONFIG) وجود ندارد. این فضا برای ذخیره فایلهای پیکربندی draw.io و کتابخانهها/قالبهای سفارشی مورد نیاز است.+createConfSp=ایجاد فضای پیکربندی+unexpErrRefresh=خطای غیرمنتظره، لطفاً صفحه را بازخوانی کرده و دوباره تلاش کنید.+configJSONInst=پیکربندی JSON draw.io را در ویرایشگر زیر بنویسید سپس روی ذخیره کلیک کنید. اگر به کمک نیاز دارید، لطفاً به این صفحه مراجعه کنید+thisPage=این صفحه+curCustLib=کتابخانههای سفارشی فعلی+libName=نام کتابخانه+action=عملیات+drawConfID=شناسه پیکربندی draw.io+addLibInst=برای بارگذاری کتابخانه جدید، روی دکمه «افزودن کتابخانه» کلیک کنید.+addLib=افزودن کتابخانه+customTempInst1=قالبهای سفارشی نمودارهای draw.io هستند که در صفحات فرزند ذخیره شدهاند+customTempInst2=برای جزئیات بیشتر، لطفاً به این مرجع مراجعه کنید+tempsPage=صفحه قالبها+pageIdsExpInst1=مقصد خروجی را انتخاب کنید، سپس روی دکمه «شروع خروجی» کلیک کنید تا همه شناسههای صفحات خروجی گرفته شود.+pageIdsExpInst2=لطفاً توجه داشته باشید که فرآیند خروجیگیری مدتی طول میکشد و پنجره مرورگر باید تا پایان خروجیگیری باز بماند.+startExp=شروع خروجی+refreshDrawIndex=بازخوانی فهرست نمودارهای draw.io+reindexInst1=برای بازخوانی فهرست نمودارهای draw.io روی دکمه «شروع فهرستسازی» کلیک کنید.+reindexInst2=لطفاً توجه داشته باشید که فرآیند فهرستسازی مدتی طول میکشد و پنجره مرورگر باید تا پایان فهرستسازی باز بماند.+startIndexing=شروع فهرستسازی+confAPageFoundFetch=صفحه «{1}» یافت شد. در حال دریافت+confAAllDiagDone=همه {1} نمودار پردازش شد. فرآیند به پایان رسید.+confAStartedProcessing=پردازش صفحه «{1}» آغاز شد+confAAllDiagInPageDone=همه {1} نمودار در صفحه «{2}» با موفقیت پردازش شد.+confAPartialDiagDone={1} از {2} نمودار {3} در صفحه «{4}» با موفقیت پردازش شد.+confAUpdatePageFailed=بهروزرسانی صفحه «{1}» ناموفق بود.+confANoDiagFoundInPage=هیچ نمودار {1} در صفحه «{2}» یافت نشد.+confAFetchPageFailed=دریافت صفحه ناموفق بود.+confANoDiagFound=هیچ نمودار {1} یافت نشد. فرآیند به پایان رسید.+confASearchFailed=جستجوی نمودارهای {1} ناموفق بود. لطفاً بعداً دوباره تلاش کنید.+confAGliffyDiagFound=نمودار {2} با نام "{1}" یافت شد. در حال وارد کردن+confAGliffyDiagImported=نمودار {2} با نام "{1}" با موفقیت وارد شد.+confASavingImpGliffyFailed=ذخیره نمودار {2} وارد شده با نام "{1}" ناموفق بود.+confAImportedFromByDraw=وارد شده از "{1}" توسط draw.io+confAImportGliffyFailed=وارد کردن نمودار {2} با نام "{1}" ناموفق بود.+confAFetchGliffyFailed=دریافت نمودار {2} با نام "{1}" ناموفق بود.+confACheckBrokenDiagLnk=بررسی پیوندهای خراب نمودارها.+confADelDiagLinkOf=حذف پیوند نمودار "{1}"+confADupLnk=(پیوند تکراری)+confADelDiagLnkFailed=حذف پیوند نمودار "{1}" ناموفق بود.+confAUnexpErrProcessPage=خطای غیرمنتظره هنگام پردازش صفحه با شناسه: {1}+confADiagFoundIndex=نمودار "{1}" یافت شد. در حال فهرستبندی+confADiagIndexSucc=نمودار "{1}" با موفقیت فهرستبندی شد.+confAIndexDiagFailed=فهرستبندی نمودار "{1}" ناموفق بود.+confASkipDiagOtherPage="{1}" رد شد زیرا متعلق به صفحه دیگری است!+confADiagUptoDate=نمودار "{1}" بهروز است.+confACheckPagesWDraw=بررسی صفحات دارای نمودارهای draw.io.+confAErrOccured=خطایی رخ داد!+savedSucc=با موفقیت ذخیره شد+confASaveFailedErr=ذخیره ناموفق (خطای غیرمنتظره)+character=کاراکتر+confAConfPageDesc=این صفحه شامل فایل پیکربندی draw.io (configuration.json) به عنوان پیوست است+confALibPageDesc=این صفحه شامل کتابخانههای سفارشی draw.io به عنوان پیوست است+confATempPageDesc=این صفحه شامل قالبهای سفارشی draw.io به عنوان پیوست است+confAConfSpaceDesc=این فضا برای ذخیره فایلهای پیکربندی draw.io و کتابخانهها/قالبهای سفارشی استفاده میشود+confANoCustLib=بدون کتابخانه سفارشی+delFailed=حذف ناموفق بود!+showID=نمایش شناسه+confAIncorrectLibFileType=نوع فایل نادرست است. کتابخانهها باید فایلهای XML باشند.+uploading=در حال بارگذاری+confALibExist=این کتابخانه از قبل وجود دارد+confAUploadSucc=با موفقیت بارگذاری شد+confAUploadFailErr=بارگذاری ناموفق بود (خطای غیرمنتظره)+hiResPreview=پیشنمایش با وضوح بالا+officeNotLoggedGD=شما وارد Google Drive نشدهاید. لطفاً پنل کاری draw.io را باز کنید و ابتدا وارد شوید.+officePopupInfo=لطفاً فرآیند را در پنجره بازشو کامل کنید.+pickODFile=انتخاب فایل از OneDrive+createODFile=ایجاد فایل در OneDrive+pickGDriveFile=انتخاب فایل از Google Drive+createGDriveFile=ایجاد فایل در Google Drive+pickDeviceFile=انتخاب فایل از دستگاه+vsdNoConfig="vsdurl" پیکربندی نشده است+ruler=خطکش+units=واحدها+points=پوینت+inches=اینچ+millimeters=میلیمتر+confEditDraftDelOrExt=این نمودار در یک صفحه پیشنویس است، از صفحه حذف شده، یا به صورت خارجی ویرایش شده است. به عنوان نسخه جدید پیوست ذخیره میشود و ممکن است در صفحه منعکس نشود.+confDiagEditedExt=نمودار در جلسه دیگری ویرایش شده است. به عنوان نسخه جدید پیوست ذخیره میشود اما صفحه تغییرات جلسه دیگر را نشان میدهد.+macroNotFound=ماکرو یافت نشد+confAInvalidPageIdsFormat=فرمت فایل شناسههای صفحه نادرست است+confACollectingCurPages=در حال جمعآوری صفحات فعلی+confABuildingPagesMap=در حال ساخت نگاشت صفحات+confAProcessDrawDiag=پردازش نمودارهای draw.io وارد شده آغاز شد+confAProcessDrawDiagDone=پردازش نمودارهای draw.io وارد شده پایان یافت+confAProcessImpPages=پردازش صفحات وارد شده آغاز شد+confAErrPrcsDiagInPage=خطا در پردازش نمودارهای draw.io در صفحه «{1}»+confAPrcsDiagInPage=در حال پردازش نمودارهای draw.io در صفحه «{1}»+confAImpDiagram=در حال وارد کردن نمودار «{1}»+confAImpDiagramFailed=وارد کردن نمودار «{1}» ناموفق بود. شناسه صفحه جدید آن یافت نشد. شاید به صفحهای اشاره دارد که وارد نشده است.+confAImpDiagramError=خطا در وارد کردن نمودار «{1}». امکان دریافت یا ذخیره نمودار وجود ندارد. پیوندهای این نمودار قابل اصلاح نیستند.+confAUpdateDgrmCCFailed=بهروزرسانی پیوند به نمودار «{1}» ناموفق بود.+confImpDiagramSuccess=بهروزرسانی نمودار «{1}» با موفقیت انجام شد.+confANoLnksInDrgm=پیوندی برای بهروزرسانی در {1} وجود ندارد+confAUpdateLnkToPg=پیوند به صفحه «{1}» در نمودار «{2}» بهروزرسانی شد+confAUpdateLBLnkToPg=پیوند لایتباکس به صفحه «{1}» در نمودار «{2}» بهروزرسانی شد+confAUpdateLnkBase=نشانی پایه از «{1}» به «{2}» در نمودار «{3}» بهروزرسانی شد+confAPageIdsImpDone=وارد کردن شناسههای صفحه پایان یافت+confAPrcsMacrosInPage=در حال پردازش ماکروهای draw.io در صفحه «{1}»+confAErrFetchPage=خطا در دریافت صفحه «{1}»+confAFixingMacro=در حال اصلاح ماکرو نمودار «{1}»+confAErrReadingExpFile=خطا در خواندن فایل صادر شده+confAPrcsDiagInPageDone=پردازش نمودارهای draw.io در صفحه «{1}» پایان یافت+confAFixingMacroSkipped=اصلاح ماکرو نمودار «{1}» ناموفق بود. شناسه صفحه جدید آن یافت نشد. شاید به صفحهای اشاره دارد که وارد نشده است.+pageIdsExpTrg=مقصد خروجی+confALucidDiagImgImported=تصویر نمودار {2} با نام "{1}" با موفقیت استخراج شد+confASavingLucidDiagImgFailed=استخراج تصویر نمودار {2} با نام "{1}" ناموفق بود+confGetInfoFailed=دریافت اطلاعات فایل از {1} ناموفق بود.+confCheckCacheFailed=امکان دریافت اطلاعات فایل کش شده وجود ندارد.+confReadFileErr=امکان خواندن فایل "{1}" از {2} وجود ندارد.+confSaveCacheFailed=خطای غیرمنتظره. امکان ذخیره فایل کش شده وجود ندارد+orgChartType=نوع چارت سازمانی+linear=خطی+hanger2=آویز ۲+hanger4=آویز ۴+fishbone1=استخوان ماهی ۱+fishbone2=استخوان ماهی ۲+1ColumnLeft=تک ستون چپ+1ColumnRight=تک ستون راست+smart=هوشمند+parentChildSpacing=فاصله والد-فرزند+siblingSpacing=فاصله خواهر-برادر+confNoPermErr=متأسفانه شما مجوز کافی برای مشاهده این نمودار جاسازی شده از صفحه {1} را ندارید+copyAsImage=کپی به عنوان تصویر+copyAsText=کپی به عنوان متنcopyAsSvg=کپی به عنوان SVG-lucidImport=Lucidchart Import-lucidImportInst1=Click the "Start Import" button to import all Lucidchart diagrams.-installFirst=Please install {1} first-drawioChromeExt=draw.io Chrome Extension-loginFirstThen=Please login to {1} first, then {2}-errFetchDocList=Error: Couldn't fetch documents list-builtinPlugins=Built-in Plugins-extPlugins=External Plugins-backupFound=Backup file found-chromeOnly=This feature only works in Google Chrome-msgDeleted=This message has been deleted-confAErrFetchDrawList=Error fetching diagrams list. Some diagrams are skipped.-confAErrCheckDrawDiag=Cannot check diagram {1}-confAErrFetchPageList=Error fetching pages list-confADiagImportIncom={1} diagram "{2}" is imported partially and may have missing shapes-invalidSel=Invalid selection-diagNameEmptyErr=Diagram name cannot be empty-openDiagram=Open Diagram-newDiagram=New diagram-editable=Editable-confAReimportStarted=Re-import {1} diagrams started...-spaceFilter=Filter by spaces-curViewState=Current Viewer State-pageLayers=Page and Layers-customize=Customize-firstPage=First Page (All Layers)-curEditorState=Current Editor State-noAnchorsFound=No anchors found-attachment=Attachment-curDiagram=Current Diagram-recentDiags=Recent Diagrams-csvImport=CSV Import-chooseFile=Choose a file...-choose=Choose-gdriveFname=Google Drive filename-widthOfViewer=Width of the viewer (px)-heightOfViewer=Height of the viewer (px)-autoSetViewerSize=Automatically set the size of the viewer-thumbnail=Thumbnail-prevInDraw=Preview in draw.io-onedriveFname=OneDrive filename-diagFname=Diagram filename-diagUrl=Diagram URL-showDiag=Show Diagram-diagPreview=Diagram Preview-csvFileUrl=CSV File URL-generate=Generate-selectDiag2Insert=Please select a diagram to insert it.-errShowingDiag=Unexpected error. Cannot show diagram-noRecentDiags=No recent diagrams found-fetchingRecentFailed=Failed to fetch recent diagrams-useSrch2FindDiags=Use the search box to find draw.io diagrams-cantReadChckPerms=Cannot read the specified diagram. Please check you have read permission on that file.-cantFetchChckPerms=Cannot fetch diagram info. Please check you have read permission on that file.-searchFailed=Searching failed. Please try again later.-plsTypeStr=Please type a search string.-unsupportedFileChckUrl=Unsupported file. Please check the specified URL-diagNotFoundChckUrl=Diagram not found or cannot be accessed. Please check the specified URL-csvNotFoundChckUrl=CSV file not found or cannot be accessed. Please check the specified URL-cantReadUpload=Cannot read the uploaded diagram-select=Select-errCantGetIdType=Unexpected Error: Cannot get content id or type.-errGAuthWinBlocked=Error: Google Authentication window blocked-authDrawAccess=Authorize draw.io to access {1}-connTimeout=The connection has timed out-errAuthSrvc=Error authenticating to {1}-plsSelectFile=Please select a file-mustBgtZ={1} must be greater than zero-cantLoadPrev=Cannot load file preview.-errAccessFile=Error: Access Denied. You do not have permission to access "{1}".-noPrevAvail=No preview is available.-personalAccNotSup=Personal accounts are not supported.-errSavingTryLater=Error occurred during saving, please try again later.-plsEnterFld=Please enter {1}-invalidDiagUrl=Invalid Diagram URL-unsupportedVsdx=Unsupported vsdx file-unsupportedImg=Unsupported image file-unsupportedFormat=Unsupported file format-plsSelectSingleFile=Please select a single file only-attCorrupt=Attachment file "{1}" is corrupted-loadAttFailed=Failed to load attachment "{1}"-embedDrawDiag=Embed draw.io Diagram-addDiagram=Add Diagram-embedDiagram=Embed Diagram-editOwningPg=Edit owning page-deepIndexing=Deep Indexing (Index diagrams that aren't used in any page also)-confADeepIndexStarted=Deep Indexing Started-confADeepIndexDone=Deep Indexing Done-officeNoDiagramsSelected=No diagrams found in the selection-officeNoDiagramsInDoc=No diagrams found in the document-officeNotSupported=This feature is not supported in this host application-someImagesFailed={1} out of {2} failed due to the following errors-importingNoUsedDiagrams=Importing {1} Diagrams not used in pages-importingDrafts=Importing {1} Diagrams in drafts-processingDrafts=Processing drafts-updatingDrafts=Updating drafts-updateDrafts=Update drafts-notifications=Notifications-drawioImp=draw.io Import-confALibsImp=Importing draw.io Libraries-confALibsImpFailed=Importing {1} library failed-contributors=Contributors-drawDiagrams=draw.io Diagrams-errFileNotFoundOrNoPer=Error: Access Denied. File not found or you do not have permission to access "{1}" on {2}.-confACheckPagesWEmbed=Checking pages having embedded draw.io diagrams.-confADelBrokenEmbedDiagLnk=Removing broken embedded diagram links-replaceWith=Replace with-replaceAll=Replace All-confASkipDiagModified=Skipped "{1}" as it was modified after initial import-replFind=Replace/Find-matchesRepl={1} matches replaced-draftErrDataLoss=An error occurred while reading the draft file. The diagram cannot be edited now to prevent any possible data loss. Please try again later or contact support.+lucidImport=وارد کردن از Lucidchart+lucidImportInst1=برای وارد کردن تمام نمودارهای Lucidchart روی دکمه "شروع وارد کردن" کلیک کنید.+installFirst=لطفاً ابتدا {1} را نصب کنید+drawioChromeExt=افزونه draw.io برای کروم+loginFirstThen=لطفاً ابتدا وارد {1} شوید، سپس {2}+errFetchDocList=خطا: دریافت لیست اسناد ممکن نشد+builtinPlugins=افزونههای داخلی+extPlugins=افزونههای خارجی+backupFound=فایل پشتیبان یافت شد+chromeOnly=این ویژگی فقط در گوگل کروم کار میکند+msgDeleted=این پیام حذف شده است+confAErrFetchDrawList=خطا در دریافت لیست نمودارها. برخی نمودارها نادیده گرفته شدند.+confAErrCheckDrawDiag=بررسی نمودار {1} ممکن نیست+confAErrFetchPageList=خطا در دریافت لیست صفحات+confADiagImportIncom=نمودار {1} با نام "{2}" به صورت ناقص وارد شده و ممکن است شکلهایی کم داشته باشد+invalidSel=انتخاب نامعتبر+diagNameEmptyErr=نام نمودار نمیتواند خالی باشد+openDiagram=باز کردن نمودار+newDiagram=نمودار جدید+editable=قابل ویرایش+confAReimportStarted=وارد کردن مجدد {1} نمودار آغاز شد...+spaceFilter=فیلتر بر اساس فضاها+curViewState=وضعیت فعلی نمایشگر+pageLayers=صفحه و لایهها+customize=سفارشیسازی+firstPage=صفحه اول (همه لایهها)+curEditorState=وضعیت فعلی ویرایشگر+noAnchorsFound=لنگری یافت نشد+attachment=پیوست+curDiagram=نمودار فعلی+recentDiags=نمودارهای اخیر+csvImport=وارد کردن CSV+chooseFile=انتخاب فایل...+choose=انتخاب+gdriveFname=نام فایل Google Drive+widthOfViewer=عرض نمایشگر (پیکسل)+heightOfViewer=ارتفاع نمایشگر (پیکسل)+autoSetViewerSize=تنظیم خودکار اندازه نمایشگر+thumbnail=تصویر بندانگشتی+prevInDraw=پیشنمایش در draw.io+onedriveFname=نام فایل OneDrive+diagFname=نام فایل نمودار+diagUrl=نشانی نمودار+showDiag=نمایش نمودار+diagPreview=پیشنمایش نمودار+csvFileUrl=نشانی فایل CSV+generate=ایجاد+selectDiag2Insert=لطفاً یک نمودار برای درج انتخاب کنید.+errShowingDiag=خطای غیرمنتظره. نمایش نمودار ممکن نیست+noRecentDiags=نمودار اخیری یافت نشد+fetchingRecentFailed=دریافت نمودارهای اخیر ناموفق بود+useSrch2FindDiags=از کادر جستجو برای یافتن نمودارهای draw.io استفاده کنید+cantReadChckPerms=نمودار مشخص شده قابل خواندن نیست. لطفاً مطمئن شوید که مجوز خواندن آن فایل را دارید.+cantFetchChckPerms=امکان دریافت اطلاعات نمودار وجود ندارد. لطفاً مطمئن شوید که دسترسی خواندن به آن فایل را دارید.+searchFailed=جستجو ناموفق بود. لطفاً بعداً دوباره تلاش کنید.+plsTypeStr=لطفاً یک عبارت جستجو وارد کنید.+unsupportedFileChckUrl=فایل پشتیبانی نمیشود. لطفاً URL مشخص شده را بررسی کنید+diagNotFoundChckUrl=نمودار یافت نشد یا قابل دسترسی نیست. لطفاً URL مشخص شده را بررسی کنید+csvNotFoundChckUrl=فایل CSV یافت نشد یا قابل دسترسی نیست. لطفاً URL مشخص شده را بررسی کنید+cantReadUpload=امکان خواندن نمودار بارگذاری شده وجود ندارد+select=انتخاب+errCantGetIdType=خطای غیرمنتظره: امکان دریافت شناسه یا نوع محتوا وجود ندارد.+errGAuthWinBlocked=خطا: پنجره احراز هویت گوگل مسدود شد+authDrawAccess=مجوز دسترسی draw.io به {1}+connTimeout=زمان اتصال به پایان رسید+errAuthSrvc=خطا در احراز هویت به {1}+plsSelectFile=لطفاً یک فایل انتخاب کنید+mustBgtZ={1} باید بزرگتر از صفر باشد+cantLoadPrev=امکان بارگذاری پیشنمایش فایل وجود ندارد.+errAccessFile=خطا: دسترسی رد شد. شما مجوز دسترسی به "{1}" را ندارید.+noPrevAvail=پیشنمایشی موجود نیست.+personalAccNotSup=حسابهای شخصی پشتیبانی نمیشوند.+errSavingTryLater=خطا در هنگام ذخیرهسازی رخ داد، لطفاً بعداً دوباره تلاش کنید.+plsEnterFld=لطفاً {1} را وارد کنید+invalidDiagUrl=URL نمودار نامعتبر است+unsupportedVsdx=فایل vsdx پشتیبانی نمیشود+unsupportedImg=فایل تصویری پشتیبانی نمیشود+unsupportedFormat=فرمت فایل پشتیبانی نمیشود+plsSelectSingleFile=لطفاً فقط یک فایل انتخاب کنید+attCorrupt=فایل پیوست "{1}" خراب است+loadAttFailed=بارگذاری پیوست "{1}" ناموفق بود+embedDrawDiag=جاسازی نمودار draw.io+addDiagram=افزودن نمودار+embedDiagram=جاسازی نمودار+editOwningPg=ویرایش صفحه مالک+deepIndexing=نمایهسازی عمیق (نمایهسازی نمودارهایی که در هیچ صفحهای استفاده نشدهاند)+confADeepIndexStarted=نمایهسازی عمیق شروع شد+confADeepIndexDone=نمایهسازی عمیق انجام شد+officeNoDiagramsSelected=هیچ نموداری در انتخاب یافت نشد+officeNoDiagramsInDoc=هیچ نموداری در سند یافت نشد+officeNotSupported=این ویژگی در این برنامه میزبان پشتیبانی نمیشود+someImagesFailed={1} از {2} به دلیل خطاهای زیر ناموفق بود+importingNoUsedDiagrams=وارد کردن {1} نمودار استفاده نشده در صفحات+importingDrafts=وارد کردن {1} نمودار در پیشنویسها+processingDrafts=پردازش پیشنویسها+updatingDrafts=بهروزرسانی پیشنویسها+updateDrafts=بهروزرسانی پیشنویسها+notifications=اعلانها+drawioImp=وارد کردن draw.io+confALibsImp=وارد کردن کتابخانههای draw.io+confALibsImpFailed=وارد کردن کتابخانه {1} ناموفق بود+contributors=مشارکتکنندگان+drawDiagrams=نمودارهای draw.io+errFileNotFoundOrNoPer=خطا: دسترسی ممنوع. فایل پیدا نشد یا شما اجازه دسترسی به "{1}" در {2} را ندارید.+confACheckPagesWEmbed=در حال بررسی صفحات دارای نمودارهای draw.io جاسازی شده.+confADelBrokenEmbedDiagLnk=حذف پیوندهای خراب نمودارهای جاسازی شده+replaceWith=جایگزینی با+replaceAll=جایگزینی همه+confASkipDiagModified="{1}" نادیده گرفته شد زیرا پس از وارد کردن اولیه تغییر کرده بود+replFind=جایگزینی/یافتن+matchesRepl={1} مورد جایگزین شد+draftErrDataLoss=هنگام خواندن فایل پیشنویس خطایی رخ داد. نمودار اکنون قابل ویرایش نیست تا از هرگونه از دست رفتن احتمالی داده جلوگیری شود. لطفاً بعداً دوباره تلاش کنید یا با پشتیبانی تماس بگیرید.ibm=IBM-linkToDiagramHint=Add a link to this diagram. The diagram can only be edited from the page that owns it.-linkToDiagram=Link to Diagram-changedBy=Changed By-lastModifiedOn=Last modified on-searchResults=Search Results-showAllTemps=Show all templates-notionToken=Notion Token-selectDB=Select Database-noDBs=No Databases-diagramEdited={1} diagram "{2}" edited-confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?-confFileTooBigErr=File size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration.-owner=Owner-repository=Repository-branch=Branch-meters=Meters-teamsNoEditingMsg=Editor functionality is only available in Desktop environment (in MS Teams App or a web browser)-contactOwner=Contact Owner-viewerOnlyMsg=You cannot edit the diagrams in the mobile platform, please use the desktop client or a web browser.-website=Website-check4Updates=Check for updates-attWriteFailedRetry={1}: Attachment write failed, trying again in {2} seconds...-confPartialPageList=We couldn't fetch all pages due to an error in Confluence. Continuing using {1} pages only.-spellCheck=Spell checker-noChange=No Change-lblToSvg=Convert labels to SVG-txtSettings=Text Settings-LinksLost=Links will be lost-arcSize=Arc Size-editConnectionPoints=Edit Connection Points-notInOffline=Not supported while offline-notInDesktop=Not supported in Desktop App-confConfigSpaceArchived=draw.io Configuration space (DRAWIOCONFIG) is archived. Please restore it first.-confACleanOldVerStarted=Cleaning old diagram draft versions started-confACleanOldVerDone=Cleaning old diagram draft versions finished-confACleaningFile=Cleaning diagram draft "{1}" old versions-confAFileCleaned=Cleaning diagram draft "{1}" done-confAFileCleanFailed=Cleaning diagram draft "{1}" failed-confACleanOnly=Clean Diagram Drafts Only-brush=Brush-openDevTools=Open Developer Tools-autoBkp=Automatic Backup-confAIgnoreCollectErr=Ignore collecting current pages errors-drafts=Drafts-draftSaveInt=Draft save interval [sec] (0 to disable)-pluginsDisabled=External plugins disabled.-extExpNotConfigured=External image service is not configured-pathFilename=Path/Filename-confAHugeInstances=Very Large Instances-confAHugeInstancesDesc=If this instance includes 100,000+ pages, it is faster to request the current instance pages list from Atlassian. Please contact our support for more details.-choosePageIDsFile=Choose current page IDs csv file-chooseDrawioPsgesFile=Choose pages with draw.io diagrams csv file-private=Private-diagramTooLarge=The diagram is too large, please reduce its size and try again.-selectAdminUsers=Select Admin Users-xyzTeam={1} Team-addTeamTitle=Adding a new draw.io Team-addTeamInst1=To create a new draw.io Team, you need to create a new Atlassian group with "drawio-" prefix (e.g, a group named "drawio-marketing").-addTeamInst2=Then, configure which team member can edit/add configuration, templates, and libraries from this page.-drawioTeams=draw.io Teams-members=Members-adminEditors=Admins/Editors-allowAll=Allow all-noTeams=No teams found-errorLoadingTeams=Error Loading Teams-noTeamMembers=No team members found-errLoadTMembers=Error loading team members-errCreateTeamPage=Error creating team "{1}" page in "draw.io Configuration" space, please check you have the required permissions.-gotoConfigPage=Please create the space from draw.io "Configuration" page.-noAdminsSelected=No admins/editors selected-errCreateConfigFile=Error creating "configuration.json" file, please check you have the required permissions.-errSetPageRestr=Error setting page restrictions-notAdmin4Team=You are not an admin for this team-configUpdated=Configuration updated, restart the editor if you want to work with last configuration.-outOfDateRevisionAlert=You are editing a historical revision of the diagram, please review the revision and open it to replace the latest version. Or close and overwrite/merge later.-confAErrFaqs=There are {1} error(s), the following instructions may help fixing most of the cases. (Please download the log for future references)-confA403ErrFaq=There are ({1}) 403 error(s). The current users must have add (write) permissions on all pages and attachments. Even admins sometimes are not allowed to write to some pages via page restrictions-confA404ErrFaq=There are ({1}) 404 error(s). The attachment/page is not found. This is due to improper migration or the diagram file (an attachment of the page) is deleted.-confA500ErrFaq=There are ({1}) 500 error(s). An internal server error in Confluence Cloud. Such errors are due to overloading the server and usually fixed by retrying the process.-confAOtherErrFaq=There are ({1}) other error(s). Please check the error description. If the description is not clear, please contact our support.-confAReplaceBaseUrl=Replace Base URL in diagram links when no page ID mapping is found-drawSvgPrev=draw.io SVG preview-googleFonts=Google Fonts-diagDupl=Duplicate Diagram Detected-diagDuplMsg=This diagram is used in multiple places, which can result in unexpected results when edited. We've created an independent copy. Please open the editor again.-diagDuplNoEditMsg=This diagram is used in multiple places. Please edit it within its own page.-confCloudMigConfirm=Warning: This process will edit many pages and diagrams, so it is recommended to stop the Synchrony service during the process. Do you want to proceed?-confCloudMigNotice=In the Cloud instance, please add linkAdjustments to draw.io configuration as follows {1}. Without this configuration, links in diagrams pointing to Confluence pages will not work.-confALogsPageDesc=This page contains logs of draw.io long running services as attachments-confEditOnlyInPageEditor=Can only be edited within Confluence page editor-confEvalWarn=Evaluation License - Not for production use-otherUsersEditing=Other user(s) are editing this diagram-firstTimeGD=First time to access this file?-drawioGDAppNotInstalled=draw.io Google Drive app is not installed, please install it first-ConfDC415Error=Saving drafts is blocked. If you have "Attachment Checker for Confluence" app, please update to the latest version.-remove=Remove-selectPgLyr=Select Page and Layers-errGenPreview=There was an error generating a diagram preview. Please consult technical support.-attAccessErr=Diagram attachment access error: cannot display diagram-widthIntOrFixed=Width must be a valid integer or of value 'fixed'-dupDisabledPgLyrSlct=Diagram duplication is disabled when page and layers are selected-cantDupPickDiffName=Could not duplicate diagram. Please choose a different name.-ownPgAccessDupErr=Owning page access restriction: cannot duplicate diagram.-cantDupTryLater=Could not duplicate diagram. Please try again later.-cantEditLnkd=Cannot edit linked diagram-diagEditOwnPgOnlyOpen=Diagram can only be edited from the page that owns it. Would you like to open the owning page for edit?-diagInTemps=draw.io diagrams in templates-diagInTempsCantEdit=Diagrams in page templates cannot be edited. They can only be edited on pages and blog posts.-confDirectEditDraftLost=This Confluence page has unpublished changes. Editing the diagram from page view may cause data loss. Please edit the Confluence page first and then edit the diagram.-confConfigSpacePerm=Note: If you recently migrated from DC app, please check draw.io Configuration space permissions such that all users can read and only admins can write. In addition, remove the page restrictions on "Configuration" and "Libraries" pages. You may need admin keys to access them. Also, please check the file "configuration.json" in the "Configuration" page is downloadable.-tryCurPageOnErr=Try finding the diagram attachment on the macro page when the linked page fails-confAExtSrvcNoSupported=Embedded diagrams from external services or urls are not supported.+linkToDiagramHint=یک پیوند به این نمودار اضافه کنید. نمودار فقط از صفحهای که مالک آن است قابل ویرایش است.+linkToDiagram=پیوند به نمودار+changedBy=تغییر یافته توسط+lastModifiedOn=آخرین تغییر در+searchResults=نتایج جستجو+showAllTemps=نمایش همه قالبها+notionToken=توکن Notion+selectDB=انتخاب پایگاه داده+noDBs=بدون پایگاه داده+diagramEdited=نمودار {1} با نام "{2}" ویرایش شد+confDraftPermissionErr=پیشنویس قابل نوشتن نیست. آیا در این صفحه مجوز خواندن/نوشتن پیوست را دارید؟+confFileTooBigErr=حجم فایل بیش از حد بزرگ است. لطفاً "حداکثر حجم پیوست" در "تنظیمات پیوست" در پیکربندی Confluence را بررسی کنید.+owner=مالک+repository=مخزن+branch=شاخه+meters=متر+teamsNoEditingMsg=قابلیت ویرایش فقط در محیط دسکتاپ (در برنامه MS Teams یا مرورگر وب) در دسترس است+contactOwner=تماس با مالک+viewerOnlyMsg=امکان ویرایش نمودارها در پلتفرم موبایل وجود ندارد، لطفاً از نسخه دسکتاپ یا مرورگر وب استفاده کنید.+website=وبسایت+check4Updates=بررسی بهروزرسانیها+attWriteFailedRetry={1}: نوشتن پیوست ناموفق بود، تلاش مجدد در {2} ثانیه...+confPartialPageList=به دلیل خطا در Confluence نتوانستیم همه صفحات را دریافت کنیم. ادامه فقط با {1} صفحه.+spellCheck=غلطیاب املایی+noChange=بدون تغییر+lblToSvg=تبدیل برچسبها به SVG+txtSettings=تنظیمات متن+LinksLost=پیوندها از بین خواهند رفت+arcSize=اندازه قوس+editConnectionPoints=ویرایش نقاط اتصال+notInOffline=در حالت آفلاین پشتیبانی نمیشود+notInDesktop=در برنامه دسکتاپ پشتیبانی نمیشود+confConfigSpaceArchived=فضای پیکربندی draw.io (DRAWIOCONFIG) بایگانی شده است. لطفاً ابتدا آن را بازیابی کنید.+confACleanOldVerStarted=پاکسازی نسخههای قدیمی پیشنویس نمودار آغاز شد+confACleanOldVerDone=پاکسازی نسخههای قدیمی پیشنویس نمودار پایان یافت+confACleaningFile=پاکسازی نسخههای قدیمی پیشنویس نمودار «{1}»+confAFileCleaned=پاکسازی پیشنویس نمودار «{1}» انجام شد+confAFileCleanFailed=پاکسازی پیشنویس نمودار «{1}» ناموفق بود+confACleanOnly=فقط پاکسازی پیشنویسهای نمودار+brush=قلممو+openDevTools=باز کردن ابزارهای توسعهدهنده+autoBkp=پشتیبانگیری خودکار+confAIgnoreCollectErr=نادیده گرفتن خطاهای جمعآوری صفحات فعلی+drafts=پیشنویسها+draftSaveInt=فاصله ذخیره پیشنویس [ثانیه] (۰ برای غیرفعال کردن)+pluginsDisabled=افزونههای خارجی غیرفعال شدند.+extExpNotConfigured=سرویس تصویر خارجی پیکربندی نشده است+pathFilename=مسیر/نام فایل+confAHugeInstances=نمونههای بسیار بزرگ+confAHugeInstancesDesc=اگر این نمونه شامل بیش از ۱۰۰٬۰۰۰ صفحه است، درخواست لیست صفحات نمونه فعلی از Atlassian سریعتر است. لطفاً برای جزئیات بیشتر با پشتیبانی ما تماس بگیرید.+choosePageIDsFile=انتخاب فایل csv شناسه صفحات فعلی+chooseDrawioPsgesFile=انتخاب فایل csv صفحات دارای نمودارهای draw.io+private=خصوصی+diagramTooLarge=نمودار بیش از حد بزرگ است، لطفاً اندازه آن را کاهش دهید و دوباره تلاش کنید.+selectAdminUsers=انتخاب کاربران مدیر+xyzTeam=تیم {1}+addTeamTitle=افزودن تیم جدید draw.io+addTeamInst1=برای ایجاد تیم جدید draw.io، باید یک گروه Atlassian جدید با پیشوند «drawio-» ایجاد کنید (مثلاً گروهی به نام «drawio-marketing»).+addTeamInst2=سپس، از این صفحه پیکربندی کنید که کدام عضو تیم میتواند پیکربندی، قالبها و کتابخانهها را ویرایش/اضافه کند.+drawioTeams=تیمهای draw.io+members=اعضا+adminEditors=مدیران/ویرایشگران+allowAll=اجازه به همه+noTeams=تیمی یافت نشد+errorLoadingTeams=خطا در بارگذاری تیمها+noTeamMembers=هیچ عضو تیمی یافت نشد+errLoadTMembers=خطا در بارگذاری اعضای تیم+errCreateTeamPage=خطا در ایجاد صفحه تیم "{1}" در فضای "draw.io Configuration"، لطفاً مجوزهای لازم را بررسی کنید.+gotoConfigPage=لطفاً فضا را از صفحه "Configuration" در draw.io ایجاد کنید.+noAdminsSelected=هیچ مدیر/ویرایشگری انتخاب نشده است+errCreateConfigFile=خطا در ایجاد فایل "configuration.json"، لطفاً مجوزهای لازم را بررسی کنید.+errSetPageRestr=خطا در تنظیم محدودیتهای صفحه+notAdmin4Team=شما مدیر این تیم نیستید+configUpdated=پیکربندی بهروزرسانی شد، برای کار با آخرین پیکربندی ویرایشگر را مجدداً راهاندازی کنید.+outOfDateRevisionAlert=شما در حال ویرایش یک نسخه تاریخی از نمودار هستید، لطفاً نسخه را بررسی کرده و برای جایگزینی با آخرین نسخه باز کنید. یا ببندید و بعداً بازنویسی/ادغام کنید.+confAErrFaqs={1} خطا وجود دارد، دستورالعملهای زیر ممکن است به رفع بیشتر موارد کمک کند. (لطفاً گزارش را برای مراجعات بعدی دانلود کنید)+confA403ErrFaq=({1}) خطای 403 وجود دارد. کاربران فعلی باید مجوز افزودن (نوشتن) در همه صفحات و پیوستها داشته باشند. حتی مدیران گاهی به دلیل محدودیتهای صفحه اجازه نوشتن در برخی صفحات را ندارند+confA404ErrFaq=({1}) خطای 404 وجود دارد. پیوست/صفحه یافت نشد. این به دلیل مهاجرت نادرست یا حذف فایل نمودار (پیوست صفحه) است.+confA500ErrFaq=({1}) خطای 500 وجود دارد. خطای داخلی سرور در Confluence Cloud. این خطاها به دلیل بارگذاری بیش از حد سرور است و معمولاً با تکرار فرآیند برطرف میشود.+confAOtherErrFaq=({1}) خطای دیگر وجود دارد. لطفاً توضیحات خطا را بررسی کنید. اگر توضیحات واضح نیست، لطفاً با پشتیبانی ما تماس بگیرید.+confAReplaceBaseUrl=جایگزینی URL پایه در پیوندهای نمودار در صورت عدم یافتن نگاشت شناسه صفحه+drawSvgPrev=پیشنمایش SVG در draw.io+googleFonts=فونتهای گوگل+diagDupl=نمودار تکراری شناسایی شد+diagDuplMsg=این نمودار در چندین مکان استفاده شده است که میتواند هنگام ویرایش نتایج غیرمنتظرهای داشته باشد. یک کپی مستقل ایجاد کردیم. لطفاً ویرایشگر را دوباره باز کنید.+diagDuplNoEditMsg=این نمودار در چندین مکان استفاده شده است. لطفاً آن را در صفحه خودش ویرایش کنید.+confCloudMigConfirm=هشدار: این فرآیند صفحات و نمودارهای زیادی را ویرایش میکند، بنابراین توصیه میشود سرویس Synchrony را در طول فرآیند متوقف کنید. آیا میخواهید ادامه دهید؟+confCloudMigNotice=در نمونه Cloud، لطفاً linkAdjustments را به پیکربندی draw.io به صورت زیر اضافه کنید {1}. بدون این پیکربندی، پیوندهای نمودارها که به صفحات Confluence اشاره میکنند کار نخواهند کرد.+confALogsPageDesc=این صفحه شامل گزارشهای سرویسهای طولانیمدت draw.io به عنوان پیوست است+confEditOnlyInPageEditor=فقط در ویرایشگر صفحه Confluence قابل ویرایش است+confEvalWarn=مجوز ارزیابی - برای استفاده تولیدی نیست+otherUsersEditing=کاربر(های) دیگری در حال ویرایش این نمودار هستند+firstTimeGD=اولین بار است که به این فایل دسترسی پیدا میکنید؟+drawioGDAppNotInstalled=برنامه draw.io برای Google Drive نصب نشده است، لطفاً ابتدا آن را نصب کنید+ConfDC415Error=ذخیره پیشنویسها مسدود شده است. اگر برنامه «Attachment Checker for Confluence» را دارید، لطفاً آن را به آخرین نسخه بهروزرسانی کنید.+remove=حذف+selectPgLyr=انتخاب صفحه و لایهها+errGenPreview=خطایی در ایجاد پیشنمایش نمودار رخ داد. لطفاً با پشتیبانی فنی مشورت کنید.+attAccessErr=خطای دسترسی به پیوست نمودار: نمیتوان نمودار را نمایش داد+widthIntOrFixed=عرض باید یک عدد صحیح معتبر یا مقدار 'fixed' باشد+dupDisabledPgLyrSlct=تکثیر نمودار هنگام انتخاب صفحه و لایهها غیرفعال است+cantDupPickDiffName=نمودار تکثیر نشد. لطفاً نام دیگری انتخاب کنید.+ownPgAccessDupErr=محدودیت دسترسی صفحه مالک: نمیتوان نمودار را تکثیر کرد.+cantDupTryLater=نمودار تکثیر نشد. لطفاً بعداً دوباره امتحان کنید.+cantEditLnkd=نمیتوان نمودار پیوندشده را ویرایش کرد+diagEditOwnPgOnlyOpen=نمودار فقط از صفحهای که مالک آن است قابل ویرایش است. آیا میخواهید صفحه مالک را برای ویرایش باز کنید؟+diagInTemps=نمودارهای draw.io در قالبها+diagInTempsCantEdit=نمودارها در قالبهای صفحه قابل ویرایش نیستند. آنها فقط در صفحات و پستهای وبلاگ قابل ویرایش هستند.+confDirectEditDraftLost=این صفحه Confluence تغییرات منتشرنشده دارد. ویرایش نمودار از نمای صفحه ممکن است باعث از دست رفتن دادهها شود. لطفاً ابتدا صفحه Confluence را ویرایش کنید و سپس نمودار را ویرایش کنید.+confConfigSpacePerm=توجه: اگر اخیراً از برنامه DC مهاجرت کردهاید، لطفاً مجوزهای فضای پیکربندی draw.io را بررسی کنید تا همه کاربران بتوانند بخوانند و فقط مدیران بتوانند بنویسند. همچنین، محدودیتهای صفحه در صفحات «Configuration» و «Libraries» را حذف کنید. ممکن است برای دسترسی به آنها به کلیدهای مدیر نیاز داشته باشید. همچنین، بررسی کنید که فایل «configuration.json» در صفحه «Configuration» قابل دانلود باشد.+tryCurPageOnErr=در صورت خطای صفحه پیوندشده، پیوست نمودار را در صفحه ماکرو جستجو کن+confAExtSrvcNoSupported=نمودارهای جاسازیشده از سرویسهای خارجی یا URLها پشتیبانی نمیشوند.gliffyVersionPinning=وارد کردن نسخه پینشده Gliffy به جای جدیدترین نسخه-confEmbedUpload=برای تجربه ویرایش بهتر، لطفاً از ماکرو معمولی draw.io برای وارد کردن نمودار خالی استفاده کنید، سپس از (منوی فایل → وارد کردن از → دستگاه...) فایلی را که میخواهید بارگذاری و جاسازی کنید انتخاب کنید.-confPublishErr=Another update conflicted with your publish, please try the operation again-confACacheMapping=Cache page IDs mapping-confARemImpPages=Remember imported pages-delCachedData=Delete Cached Data-k15tPagesError=Error retrieving Scroll pages. Is Scroll Versions installed?-drawioUninstalled=draw.io has been uninstalled, the editor will now close-confAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.-confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.+confEmbedUpload=برای تجربه ویرایش بهتر، لطفاً از ماکرو معمولی draw.io برای درج نمودار خالی استفاده کنید، سپس از (منوی فایل → وارد کردن از → دستگاه...) فایلی را که میخواهید بارگذاری و جاسازی کنید انتخاب کنید.+confPublishErr=بهروزرسانی دیگری با انتشار شما تداخل داشت، لطفاً عملیات را دوباره انجام دهید+confACacheMapping=نگاشت شناسههای صفحه کش+confARemImpPages=به خاطر سپردن صفحات وارد شده+delCachedData=حذف دادههای کش شده+k15tPagesError=خطا در بازیابی صفحات Scroll. آیا Scroll Versions نصب شده است؟+drawioUninstalled=draw.io حذف شده است، ویرایشگر اکنون بسته میشود+confAttachmentArchived=نمودار متعلق به یک صفحه آرشیو شده است و قابل بارگذاری نیست. صفحه (شناسه: {1}) را بازیابی کنید تا بارگذاری شود.+confDiagramMacroDowngrade=نمودار ذخیره شد اما ماکرو صفحه قابل بهروزرسانی نیست زیرا نسخه نمودار در ماکرو جدیدتر است. لطفاً نمودار را از ویرایشگر صفحه Confluence ویرایش کنید.DCSave500Error=عملیات دیگری در Confluence ذخیرهسازی را قطع کرد، دوباره تلاش کنید #{1}+confAppNotInstalled=برنامه draw.io diagrams برای Confluence نصب نشده است.+plsInstallAppInConf=لطفاً این برنامه را در Confluence نصب/متصل کنید تا بتوانید به نمودارها دسترسی داشته باشید (علاوه بر برنامه draw.io Confluence)diff --git a/src/main/webapp/resources/dia_fi.txt b/src/main/webapp/resources/dia_fi.txtindex e9baf0572..1fbe1be67 100644--- a/src/main/webapp/resources/dia_fi.txt+++ b/src/main/webapp/resources/dia_fi.txt@@ -19,7 +19,7 @@ addToExistingDrawing=Lisää olemassa olevaan piirustukseenaddToScratchpad=Lisää muistilehtiöönaddWaypoint=Lisää reittipisteadjustTo=Sovita-advanced=Edistynyt+advanced=LisäasetuksetsmartTemplate=Älykäs mallipohjaalign=Kohdistaalignment=Kohdistus@@ -27,7 +27,7 @@ allChangesLost=Kaikki muutokset menetetään!allPages=Kaikki sivutallProjects=Kaikki projektitallSelectedObjectsInThisLayer=Kaikki valitut objektit ovat tällä tasolla-allSpaces=Kaikki välit+allSpaces=Kaikki tilatallTags=Kaikki tägitanchor=Ankkuriandroid=Android@@ -88,7 +88,7 @@ browser=SelainbulletedList=Luettelomerkkilistabusiness=Yritystoimintabusy=Toiminto käynnissä-cabinets=Sähkökaappi+cabinets=Kaapitcancel=Peruutacenter=KeskitäcannotLoad=Lataaminen epäonnistui. Ole hyvä ja yritä myöhemmin uudelleen.@@ -102,13 +102,13 @@ changesNotSaved=Muutoksia ei tallennettuclassDiagram=LuokkakaaviouserJoined={1} liittyi keskusteluunuserLeft={1} lähti pois keskustelusta-chatWindowTitle=Chat+chatWindowTitle=KeskusteluchooseAnOption=Valitse vaihtoehtochromeApp=Chrome-sovellus-collaborativeEditingNotice=Tärkeä huomautus yhteistyömuokkaukseen+collaborativeEditingNotice=Tärkeä huomautus yhteistyömuokkauksestacompare=Vertaacompressed=Pakattu-commitMessage=Lähetä viesti+commitMessage=Commit-viesticonfigLinkWarn=Tämä linkki määrittää draw.io:n. Napsauta OK vain, jos luotat siihen tahoon, joka antoi sen sinulle!configLinkConfirm=Määritä ja käynnistä draw.io uudelleen napsauttamalla OK.container=Kontti@@ -129,7 +129,7 @@ selectDraft=Valitse luonnos jatkaaksesi muokkausta:dragAndDropNotSupported=Vedä ja pudota -toiminto ei tue kuvia. Haluatko tuoda kuvat?dropboxCharsNotAllowed=Seuraavat merkit eivät ole sallittuja: \ / : ? * " |check=Tarkista-checksum=Tarkitussumma+checksum=Tarkistussummacircle=Ympyräcisco=Ciscoclassic=Klassinen@@ -161,17 +161,17 @@ constrainProportions=Rajoita mittasuhteitacontainsValidationErrors=Sisältää kelpoisuustarkistusvirheitäcopiedToClipboard=Kopioitu leikepöydällecopy=Kopioi-copyConnect=Kopioi tai yhdistä+copyConnect=Kopioi yhdistettäessäcopyCreated=Tiedoston kopio luotiin.copyData=Kopioi tiedot-copyOf=Kopio {1}+copyOf=Kopio: {1}copyOfDrawing=Kopio piirustuksestacopySize=Kopioi kokocopyStyle=Kopioi tyylicreate=LuocreateBlankDiagram=Luo tyhjä kaaviocreateNewDiagram=Luo uusi kaaviokuva-createRevision=Luo tarkistus+createRevision=Luo versiocreateShape=Luo muotocrop=Rajaacurved=Kaareva@@ -179,13 +179,13 @@ custom=Mukautettucurrent=NykyinencurrentPage=Nykyinen sivucut=Leikkaa-dashed=Katkoviivat+dashed=KatkoviivadecideLater=Päätä myöhemmindefault=Oletusdelete=Poista-deleteAll=Delete all+deleteAll=Poista kaikkideleteColumn=Poista sarake-deleteLibrary401=Tämän kokoelman poisto vaatii lupaa+deleteLibrary401=Ei riittäviä oikeuksia tämän kokoelman poistamiseendeleteLibrary404=Valittua kokoelmaa ei löydettydeleteLibrary500=Virhe kokoelmaa poistaessadeleteLibraryConfirm=Olet poistamassa tämän kokoelman lopullisesti. Haluatko varmasti poistaa tämän?@@ -209,7 +209,7 @@ discardChangesAndReconnect=Hylkää muutokset ja yhdistä uudelleengoogleDriveMissingClickHere=Google Drive puuttuu? Klikkaa tätä!discardChanges=Hylkää muutoksetdisconnected=Yhteys katkennut-distribute=Jaa+distribute=Jakeledone=ValmisdoNotShowAgain=Älä näytä uudelleendotted=Pisteviiva@@ -218,7 +218,7 @@ doubleClickTooltip=Syötä tekstiä kaksoisnapsauttamalladoubleClickChangeProperty=Kaksoisnapauta muuttaaksesi nimeädownload=LataadownloadDesktop=Lataa työpöytäsovellus-downloadAs=Lataa nimellä+downloadAs=Lataa muodossaclickHereToSave=Klikkaa tästä tallentaaksesi.dpi=DPIdraftDiscarded=Luonnos hylätty@@ -260,7 +260,7 @@ mainEmbedNotice=Liitä tämä sivulleelectrical=Sähköpiirrosellipse=SoikioembedNotice=Lisää tämä sivun loppuun-enterGroup=Syötä ryhmä+enterGroup=Siirry ryhmäänenterName=Syötä nimienterPropertyName=Syötä ominaisuuden nimienterValue=Syötä arvo@@ -273,7 +273,7 @@ errorRenamingFile=Virhe tiedoston uudelleennimeämisessäerrorRenamingFileNotFound=Virhe tiedoston uudelleennimeämisessä. Tiedostoa ei löytynyt.errorRenamingFileForbidden=Virhe tiedoston uudelleennimeämisessä. Ei tarpeeksi käyttöoikeuksia.errorSavingDraft=Virhe luonnosta tallentaessa-errorSavingFile=Tiedoston tallentaminen epäonnistui.+errorSavingFile=Virhe tiedostoa tallentaessaerrorSavingFileUnknown=Googlen palvelimien valtuuttamisessa tapahtui virhe. Päivitä sivu yrittääksesi uudelleen.errorSavingFileForbidden=Tiedoston tallentaminen epäonnistui. Ei tarpeeksi käyttöoikeuksia.errorSavingFileNameConflict=Kaaviota ei voitu tallentaa. Nykyisellä sivulla on jo tiedosto nimeltä '{1}'.@@ -285,10 +285,10 @@ errorUpdatingPreview=Virhe esikatselua päivitettäessä.exit=PoistuexitGroup=Poistu ryhmästäexpand=Laajenna-explore=Explore+explore=Tutkiexport=Vieexporting=Viedään-exportAs=Vie nimellä+exportAs=Vie muodossaexportOptionsDisabled=Vientivalinnat pois käytöstäexportOptionsDisabledDetails=Omistaja on poistanut tästä tiedostosta kommentoijien ja katsojien mahdollisuudet lataamiseen, tulostamiseen tai kopioimiseen.externalChanges=Ulkoiset muutokset@@ -315,12 +315,12 @@ fileNotLoaded=Tiedostoa ei ladattufileNotSaved=Tiedostoa ei tallennettufileOpenLocation=Miten haluaisit avata tämän tiedoston/nämä tiedostot?filetypeHtml=.html saa tiedoston tallentumaan HTML-muodossa ja ohjaamaan pilvi-URL-osoitteeseen-filetypePng=.png saa tiedoston tallentamaan PNG-muodossa upotetuilla tiedoilla-filetypeSvg=.svg saa tiedoston tallentamaan SVG-muodossa upotetuilla tiedoilla+filetypePng=.png saa tiedoston tallentumaan PNG-muodossa upotetuilla tiedoilla+filetypeSvg=.svg saa tiedoston tallentumaan SVG-muodossa upotetuilla tiedoillafileWillBeSavedInAppFolder={1} tallennetaan sovelluksen kansioon.fill=TäytäfillColor=Täyteväri-filterCards=Suodatinkortit+filterCards=Suodata kortitfind=EtsifindInDiagram=Etsi kaaviostafit=Sovita@@ -337,7 +337,7 @@ fitWindow=Sovita ikkunaflip=KäännäflipH=Käännä vaakasuunnassaflipV=Käännä pystysuunnassa-flowAnimation=Flow Animation+flowAnimation=Virtausanimaatioflowchart=Vuokaaviofolder=Kansiofont=Fontti@@ -401,7 +401,7 @@ hide=PiilotahideIt=Piilota {1}hidden=PiilotettuhighContrast=Korkea kontrasti-home=Koti+home=Aloitushorizontal=VaakasuorahorizontalFlow=Vaakasuora virtahorizontalTree=Vaakasuora puu@@ -414,7 +414,7 @@ ignore=Sivuutaimage=KuvaimageUrl=Kuvan URLimages=Kuvat-imagePreviewError=Kuvan esikatselukuvaketta ei voitu ladata. Ole hyvä ja tarkista URL.+imagePreviewError=Tämän kuvan esikatselua ei voitu ladata. Tarkista URL.imageTooBig=Liian suuri kuvaimgur=Imgurimport=Tuo@@ -443,7 +443,7 @@ invalidLicenseSeeThisPage=Lisenssi on virheellinen, ole hyvä ja katso tämä <ainvalidInput=Virheellinen syöteinvalidName=Virheellinen nimiinvalidOrMissingFile=Virheellinen tai puuttuva tiedosto-invalidPublicUrl=Virheelliinen julkinen URL-osoite+invalidPublicUrl=Virheellinen julkinen URL-osoiteinvertSelection=Käännä valintaisometric=Isometrinenios=iOS@@ -454,7 +454,7 @@ labels=Tunnisteetlayers=Tasotlandscape=Vaakasuuntalanguage=Kieli-leanMapping=Nopea kartoitus+leanMapping=Lean-kartoituslastChange=Viimeinen muutos {1} sittenlessThanAMinute=alle minuuttilicensingError=Lisenssivirhe@@ -463,7 +463,7 @@ licenseRequired=Tämä ominaisuus vaatii draw.io-lisenssin.licenseWillExpire={1} lisenssi päättyy {2}. Klikkaa tästä.light=VaalealineJumps=Viivanylitykset-linkAccountRequired=Jos kaavio ei ole julkinen, tarkistamiseen tarvitaan Google-tiliä.+linkAccountRequired=Jos kaavio ei ole julkinen, linkin tarkasteluun tarvitaan Google-tili.linkText=Linkin tekstilist=Listaminute=minuutti@@ -482,23 +482,23 @@ leftAlign=Tasaa vasemmalleleftToRight=Vasemmalta oikeallelibraryTooltip=Vedä ja pudota muotoja tänne tai klikkaa + lisätäksesi. Muokkaa kaksoisnapsauttamalla.lightbox=Lightbox-line=Rivi-lineend=Rivin loppu+line=Viiva+lineend=Viivan loppulineheight=Rivin korkeus-linestart=Rivin alku-linewidth=Rivin leveys+linestart=Viivan alku+linewidth=Viivan leveyslink=Linkkilinks=Linkitloading=Ladataan-lock=Lukko-locked=Locked+lock=Lukitse+locked=LukittulockUnlock=Lukitse/AvaaloggedOut=Kirjautunut ulos-logIn=Kirjaudu sisään+logIn=kirjaudu sisäänloveIt=Rakastan {1}lucidchart=Lucidchartmaps=Kartat-mathematicalTypesetting=Matemaattiset näppäilyasetukset+mathematicalTypesetting=Matemaattinen ladontamakeCopy=Luo kopiomanual=Manuaalinenmaximize=Suurenna@@ -509,7 +509,7 @@ microsoftExcel=Microsoft ExcelmicrosoftPowerPoint=Microsoft PowerPointmicrosoftWord=Microsoft Wordmiddle=Keskellä-minimal=Huomaamaton+minimal=Minimaalinenminimize=Pienennämisc=Sekalaisetmockups=Mallikappaleet@@ -523,7 +523,7 @@ move=SiirrämoveToFolder=Siirrä kansioonmoving=SiirretäänmoveSelectionTo=Siirrä valinta kohteeseen {1}-myDrive=Driveni+myDrive=Oma DrivemyFiles=Tiedostoniname=Niminavigation=Navigaatio@@ -546,7 +546,7 @@ noPlugins=Ei liitännäisiänoPreview=Ei esikatseluanoResponse=Ei vastausta palvelimeltanoResultsFor=Ei tuloksia haulle '{1}'-noRevisions=Ei muokattuja versioita+noRevisions=Ei versiohistoriaanoSearchResults=Hakutuloksia ei löytynytnoPageContentOrNotSaved=Kirjanmerkkejä ei löydetty tai sivua ei vielä tallennettu.normal=Normaali@@ -561,30 +561,30 @@ notion=NotionnotSatisfiedWithImport=Etkö ole tyytyväinen tuontiin?notUsingService={1} ei käytössä?numberedList=Numeroitu lista-offline=Poissa+offline=Offline-tilaok=OKoneDrive=OneDrive-online=Paikalla+online=Online-tilaopacity=Peittävyysopen=AvaaopenArrow=Avoin nuoliopenExistingDiagram=Avaa olemassa oleva kaavioopenFile=Avaa tiedosto-openFrom=Avaa kansiosta+openFrom=Avaa kohteestaopenLibrary=Avaa kokoelma-openLibraryFrom=Avaa kokoelma kansiosta+openLibraryFrom=Avaa kokoelma kohteestaopenLink=Avaa linkkiopenInNewWindow=Avaa uudessa ikkunassaopenInThisWindow=Avaa tässä ikkunassaopenIt=Avaa {1}-openRecent=Avaa viimeaikainen+openRecent=Avaa viimeisimmätopenSupported=Tuetut tiedostomuodot ovat tiedostoja, jotka on tallennettu tästä ohjelmistosta (.xml), .vsdx ja .gliffyoptions=Asetuksetorganic=OrgaaninenorgChart=Organisaatiokaavioorthogonal=Suorakulmainen-otherViewer=toinen katselija-otherViewers=toiset katselijat+otherViewer=muu katselija+otherViewers=muut katselijatoutline=Jäsennysnäkymäoval=Soikiopage=Sivu@@ -592,7 +592,7 @@ pageContent=Sivun sisältöpageNotFound=Sivua ei löydettypageWithNumber=Sivu-{1}pages=Sivut-pageTabs=Sivun välilehdet+pageTabs=SivuvälilehdetpageView=SivunäkymäpageSetup=Sivun asetuksetpageScale=Sivun mittakaava@@ -608,7 +608,7 @@ pasteSize=Liitä kokopasteStyle=Liitä tyyliperimeter=UlkoreunapermissionAnyone=Kuka tahansa voi muokata-permissionAuthor=Vain minä voin muokata+permissionAuthor=Omistaja ja ylläpitäjät voivat muokatapickFolder=Valitse kansiopickLibraryDialogTitle=Valitse kokoelmapublicDiagramUrl=Kaavion julkinen URL@@ -661,9 +661,9 @@ renaming=Nimetään uudelleenreplace=KorvaareplaceIt={1} on jo olemassa. Haluatko korvata sen?replaceExistingDrawing=Korvaa olemassa oleva piirustus-required=vaaditaan+required=pakollinenrequirementDiagram=Vaatimuskaavio-reset=Tyhjennä+reset=PalautaresetView=Palauta näkymäresize=Muuta kokoaresizeLargeImages=Haluatko muuttaa suurten kuvien kokoa, jotta sovellus toimii nopeammin?@@ -682,7 +682,7 @@ right=OikearightAlign=Tasaa oikeallerightToLeft=Oikealta vasemmallerotate=Kierrä-rotateTooltip=Klikkaa ja vedä kiertääksesi, klikkaa kääntääksesi 90 astetta+rotateTooltip=Klikkaa ja vedä kiertääksesi, klikkaa kääntääksesi muotoa vain 90 astettarotation=Kiertäminenrounded=Pyöristettysave=Tallenna@@ -703,7 +703,7 @@ searchShapes=Hae kuvioitaselectAll=Valitse kaikkiselectionOnly=Vain valintaselectCard=Valitse kortti-selectEdges=Valitse reunat+selectEdges=Valitse yhdysviivatselectedPage=Valittu sivuselectFile=Valitse tiedostoselectFolder=Valitse kansio@@ -712,7 +712,7 @@ selection=ValintaselectNone=Poista valinnatselectObjectsInLayer=Valitse objektit tasoltaselectTemplate=Valitse mallipohja-selectVertices=Valitse kärkipisteet+selectVertices=Valitse solmutsendBackward=Vie taaksepäinsendMessage=LähetäsendYourFeedback=Lähetä palautetta@@ -736,7 +736,7 @@ sharp=Teräväshow=NäytäshowRemoteCursors=Näytä etähiiren osoittimetshowStartScreen=Näytä aloitusnäyttö-sidebarTooltip=Napsauta laajentaaksesi. Vedä ja pudota muotoja kaavioon. Vaihto+klikkaa vaihtaaksesi valinnan. Alt+klikkaa lisätäksesi ja yhdistääksesi.+sidebarTooltip=Napsauta tai vedä ja pudota muotoja. Vaihto+napsautus vaihtaa valinnan. Alt+napsautus lisää ja yhdistää.signs=MerkitsignOut=Kirjaudu ulossimple=Yksinkertainen@@ -744,14 +744,14 @@ simpleArrow=Yksinkertainen nuolisimpleViewer=Yksinkertainen katseluohjelmasize=Kokosketch=Piirros-smoothing=Smoothing+smoothing=TasoitussnapToGrid=Kohdista ruudukkoonsolid=YhtenäinensourceSpacing=Lähteen välisouth=Eteläsoftware=Ohjelmistospace=Tila-spacing=Riviväli+spacing=VälistysspecialLink=ErityislinkkistateDiagram=Tilakaaviostandard=Vakio@@ -760,20 +760,20 @@ stopDrawing=Lopeta piirtäminenstarting=Käynnistetäänstraight=Suorastrikethrough=Yliviivaa-strokeColor=Rivin väri+strokeColor=Viivan väristyle=Tyylisubscript=Alaindeksisummary=Yhteenvetosuperscript=Yläindeksisupport=Tuki-swap=Vaihtaa+swap=VaihdaswimlaneDiagram=Kaistakaaviosysml=SysMLtags=Tunnisteettable=Taulukkotables=TaulukottakeOver=Ota haltuun-targetSpacing=Tavoiteriviväli+targetSpacing=Kohdevälistystemplate=Mallipohjatemplates=Mallipohjattext=Teksti@@ -788,10 +788,10 @@ toFront=EteentooLargeUseDownload=Liian suuri, käytä sen sijaan latausta.toolbar=Työkalurivitooltips=Työkaluvihjeet-top=Ylös+top=YlätopAlign=Tasaa ylös-topLeft=Ylös vasemmalle-topRight=Ylös oikealle+topLeft=Vasen ylä+topRight=Oikea ylätransparent=LäpinäkyvätransparentBackground=Läpinäkyvä taustatrello=Trello@@ -805,7 +805,7 @@ unassigned=Määrittämätönunderline=Alleviivaaundo=Kumoaungroup=Pura ryhmittely-unlock=Avata+unlock=Avaa lukitusunmerge=Poista yhdistäminenunsavedChanges=Tallentamattomat muutoksetunsavedChangesClickHereToSave=Tallentamattomia muutoksia. Napsauta tästä tallentaaksesi.@@ -822,10 +822,10 @@ updatingPreview=Esikatselua päivitetään. Ole hyvä ja odota...updatingSelection=Valintaa päivitetään. Ole hyvä ja odota...upload=Lataaurl=URL-useBlackAndWhite=Käytä Mustaa Ja Valkoista-useCurrentSettings=Use current settings+useBlackAndWhite=Käytä mustavalkoista+useCurrentSettings=Käytä nykyisiä asetuksiauseOffline=Käytä offline-tilassa-userDefined=Käyttäjän Määrittelemä+userDefined=Käyttäjän määrittelemäuseRootFolder=Käytetäänkö pääkansiota?userManual=Käyttöopasvertical=Pystysuunta@@ -833,7 +833,7 @@ verticalFlow=Pystysuuntainen virtaverticalTree=Pystysuuntainen puuview=NäytäviewerSettings=Tarkasteluohjelman asetukset-viewUrl=Linkki esikatseluun: {1}+viewUrl=Linkki tarkasteluun: {1}voiceAssistant=Ääniavustaja (beta)warning=Varoituswaypoints=Reittipisteet@@ -845,7 +845,7 @@ wordWrap=RivityswritingDirection=Kirjoitussuuntayes=KylläyourEmailAddress=Sähköpostiosoitteesi-zoom=Zoomaa+zoom=ZoomzoomIn=LähennäzoomOut=Loitonnabasic=Perus@@ -890,10 +890,10 @@ officeCopyImgInst=Ohjeet: Napsauta hiiren kakkospainikkeella alla olevaa kuvaa.folderEmpty=Kansio on tyhjärecent=ViimeisimmätsharedWithMe=Jaettu kanssani-sharepointSites=SharePoint-sivustot+sharepointSites=Sharepoint-sivustoterrorFetchingFolder=Virhe kansiokohteita hakiessaerrorAuthOD=Virhe todennettaessa OneDriveen-officeMainHeader=Lisää draw.io-kaaviot asiakirjaan.+officeMainHeader=Lisää draw.io-kaavioita asiakirjaasi.officeStepsHeader=Tämä apuohjelma suorittaa seuraavat vaiheet:officeStep1=Yhdistetään Microsoft OneDriveen, Google Driveen tai laitteeseesi.officeStep2=Valitse draw.io-kaavio.@@ -909,7 +909,7 @@ pasteDiagram=Liitä draw.io-kaavio tähänconnectOD=Yhdistä OneDriveenselectChildren=Valitse alemman tason kohteetselectSiblings=Valitse rinnakkaiset kohteet-selectParent=Valitse ylemmän tason kohteet+selectParent=Valitse ylätason kohdeselectDescendants=Valitse alikohteetlastSaved=Viimeksi tallennettu {1} sittenresolve=Ratkaise@@ -918,7 +918,7 @@ showResolved=Näytä ratkaistutreply=VastaaobjectNotFound=Objektia ei löydyreOpened=Uudelleen avatut-markedAsResolved=Merkitse ratkaistuksi+markedAsResolved=Merkitty ratkaistuksinoCommentsFound=Ei kommenttejacomments=KommentittimeAgo={1} sitten@@ -946,7 +946,7 @@ invalidChars=Kiellettyjä merkkejäalreadyExst={1} on jo olemassadraftReadErr=Luonnoksen lukuvirhediagCantLoad=Kaaviota ei voitu ladata-draftWriteErr=Kaavion kirjoitusvirhe+draftWriteErr=Luonnoksen kirjoitusvirhedraftCantCreate=Luonnosta ei voitu luodaconfDuplName=Kaavion nimen kaksoiskappale havaittu. Syötä toinen nimi.confSessionExpired=Näyttää siltä, että istuntosi on vanhentunut. Kirjaudu uudelleen jatkaaksesi.@@ -967,7 +967,7 @@ drawConfig=draw.io-määrityksetcustomLib=Mukautetut kirjastotcustomTemp=Mukautetut mallipohjatpageIdsExp=Sivutunnusten vienti-drawReindex=draw.io uudelleenindeksointi+drawReindex=draw.io-uudelleenindeksointiworking=KäynnissädrawConfigNotFoundInst=draw.io-määritystilaa (DRAWIOCONFIG) ei ole olemassa. Tämä tila tarvitaan draw.io-määritystiedostojen ja mukautettujen kirjastojen/mallipohjien tallentamiseen.createConfSp=Luo määritystila@@ -976,7 +976,7 @@ configJSONInst=Kirjoita draw.io JSON-määritykset alla olevaan editoriin ja napthisPage=tämä sivucurCustLib=Nykyiset mukautetut kirjastotlibName=Kirjaston nimi-action=Toiminta+action=ToimintodrawConfID=draw.io määritystunnusaddLibInst=Napsauta "Lisää kirjasto" -painiketta ladataksesi uuden kirjaston.addLib=Lisää kirjasto@@ -992,7 +992,7 @@ reindexInst2=Huomaa, että indeksointi kestää jonkin aikaa ja selainikkunan onstartIndexing=Aloita indeksointiconfAPageFoundFetch=Sivu "{1}" löytyi. HaetaanconfAAllDiagDone=Kaikki {1} kaaviota käsitelty. Prosessi valmis.-confAStartedProcessing=Prosessoidaan sivua "{1}"+confAStartedProcessing=Aloitettiin sivun "{1}" käsittelyconfAAllDiagInPageDone=Kaikki {1} kaaviota sivulla "{2}" käsiteltiin onnistuneesti.confAPartialDiagDone={1}/{2} {3} kaaviota sivulla "{4}" käsitelty onnistuneesti.confAUpdatePageFailed=Sivun "{1}" päivittäminen epäonnistui.@@ -1007,8 +1007,8 @@ confAImportedFromByDraw=Draw.io tuonut osoitteesta "{1}".confAImportGliffyFailed={2}-kaavion "{1}" tuonti epäonnistui.confAFetchGliffyFailed=Kaavion "{1}" noutaminen {2} epäonnistui.confACheckBrokenDiagLnk=Tarkistetaan rikkinäisten kaaviolinkkien varalta.-confADelDiagLinkOf=Poistetaan "{1}" kaaviolinkkiä-confADupLnk=(kaksoislinkki)+confADelDiagLinkOf=Poistetaan "{1}" kaaviolinkki+confADupLnk=(kaksoiskappalelinkki)confADelDiagLnkFailed=Kaavion "{1}" linkin poistaminen epäonnistui.confAUnexpErrProcessPage=Odottamaton virhe käsiteltäessä sivua tunnuksella: {1}confADiagFoundIndex=Kaavio "{1}" löytyi. Indeksoidaan@@ -1048,25 +1048,25 @@ points=Pisteetinches=Tuumatmillimeters=MillimetritconfEditDraftDelOrExt=Tämä kaavio on luonnossivulla, se on poistettu sivulta tai sitä on muokattu ulkoisesti. Se tallennetaan uutena liiteversiona, eikä se välttämättä näy sivulla.-confDiagEditedExt=Kaavio on muokattu toisessa istunnossa. Se tallennetaan uutena liiteversiona, mutta sivulla näkyvät muut istunnon muutokset.+confDiagEditedExt=Kaaviota on muokattu toisessa istunnossa. Se tallennetaan uutena liiteversiona, mutta sivulla näkyvät toisen istunnon muutokset.macroNotFound=Makroa ei löydyconfAInvalidPageIdsFormat=Virheellinen sivutunnusten tiedostomuotoconfACollectingCurPages=Kerätään nykyisiä sivujaconfABuildingPagesMap=Rakennetaan sivujen kartoitusta-confAProcessDrawDiag=Prosessoidaan tuotuja draw.io-kaavioita+confAProcessDrawDiag=Tuotujen draw.io-kaavioiden käsittely aloitettuconfAProcessDrawDiagDone=Tuotujen draw.io-kaavioiden käsittely on valmis-confAProcessImpPages=Prosessoidaan tuotuja sivuja+confAProcessImpPages=Tuotujen sivujen käsittely aloitettuconfAErrPrcsDiagInPage=Virhe käsiteltäessä draw.io-kaavioita sivulla "{1}"confAPrcsDiagInPage=Käsitellään draw.io-kaavioita sivulla "{1}"confAImpDiagram=Tuodaan kaaviota "{1}"confAImpDiagramFailed=Kaavion "{1}" tuonti epäonnistui. Sen uutta sivutunnusta ei löydy. Ehkä se osoittaa sivulle, jota ei ole tuotu.-confAImpDiagramError=Virhe kaavion "{1}" tuonnissa. Kaaviota ei voi noutaa tai tallentaa. Tätä kaaviolinkkiä ei voi korjata.+confAImpDiagramError=Virhe kaavion "{1}" tuonnissa. Kaaviota ei voi noutaa tai tallentaa. Tämän kaavion linkkejä ei voi korjata.confAUpdateDgrmCCFailed=Linkin päivittäminen kaavioon "{1}" epäonnistui.confImpDiagramSuccess=Kaavion "{1}" päivitys onnistui.confANoLnksInDrgm=Ei päivitettäviä linkkejä: {1}confAUpdateLnkToPg=Päivitetty linkki sivulle: "{1}" kaaviossa: "{2}"confAUpdateLBLnkToPg=Päivitetty lightbox-linkki sivulle: "{1}" kaaviossa: "{2}"-confAUpdateLnkBase=Päivitetty perus-URL-osoite: "{1}": "{2}" kaaviossa: "{3}"+confAUpdateLnkBase=Päivitetty perus-URL-osoite osoitteesta: "{1}" osoitteeseen: "{2}" kaaviossa: "{3}"confAPageIdsImpDone=Sivutunnusten tuonti valmisconfAPrcsMacrosInPage=Käsitellään draw.io-makroja sivulla "{1}"confAErrFetchPage=Virhe haettaessa sivua "{1}"@@ -1074,14 +1074,14 @@ confAFixingMacro=Korjataan kaavion "{1}" makroconfAErrReadingExpFile=Virhe luettaessa vientitiedostoaconfAPrcsDiagInPageDone=Draw.io-kaavioiden käsittely sivulla "{1}" on valmisconfAFixingMacroSkipped=Kaavion "{1}" makron korjaaminen epäonnistui. Sen uutta sivutunnusta ei löydy. Ehkä se osoittaa sivulle, jota ei ole tuotu.-pageIdsExpTrg=Vie kohde+pageIdsExpTrg=VientikohdeconfALucidDiagImgImported={2} kaavion "{1}" kuva purettu onnistuneesticonfASavingLucidDiagImgFailed=Kuvan {2} kaavion "{1}" purkaminen epäonnistuiconfGetInfoFailed=Tiedoston tietojen hakeminen kohteesta {1} epäonnistui.confCheckCacheFailed=Välimuistissa olevan tiedoston tietoja ei voi saada.confReadFileErr=Tiedostoa "{1}" ei voi lukea kohteesta {2}.confSaveCacheFailed=Odottamaton virhe. Välimuistissa olevaa tiedostoa ei voi tallentaa-orgChartType=Kaavion tyyppi+orgChartType=Organisaatiokaavion tyyppilinear=Lineaarinenhanger2=Ripustin 2hanger4=Ripustin 4@@ -1090,16 +1090,16 @@ fishbone2=Kalanruoto 21ColumnLeft=Yksi sarake vasemmalla1ColumnRight=Yksi sarake oikeallasmart=Älykäs-parentChildSpacing=Vanhemman lapsen välit-siblingSpacing=Sisaruksen välit+parentChildSpacing=Ylä- ja alatason väli+siblingSpacing=Sisarusten väliconfNoPermErr=Valitettavasti sinulla ei ole tarpeeksi oikeuksia tarkastella tätä upotettua kaaviota sivulta {1}copyAsImage=Kopioi kuvana-copyAsText=Copy as Text+copyAsText=Kopioi tekstinäcopyAsSvg=Kopioi SVG:nälucidImport=Lucidchart-tuontilucidImportInst1=Napsauta "Aloita tuonti" -painiketta tuodaksesi kaikki Lucidchart-kaaviot.installFirst=Asenna ensin {1}-drawioChromeExt=draw.io Chrome Extension+drawioChromeExt=draw.io Chrome-laajennusloginFirstThen=Kirjaudu ensin {1}, sitten {2}errFetchDocList=Virhe: Asiakirjaluetteloa ei voitu hakeabuiltinPlugins=Sisäänrakennetut liitännäiset@@ -1117,7 +1117,7 @@ openDiagram=Avaa kaavionewDiagram=Uusi kaavioeditable=MuokattavaconfAReimportStarted={1} kaavion uudelleentuonti aloitettu...-spaceFilter=Suodata välilyöntien mukaan+spaceFilter=Suodata tilojen mukaancurViewState=Katsojan nykyinen tilapageLayers=Sivu ja tasotcustomize=Mukauta@@ -1131,9 +1131,9 @@ csvImport=CSV-tuontichooseFile=Valitse tiedosto...choose=ValitsegdriveFname=Google Drive -tiedostonimi-widthOfViewer=Katsojan leveys (px)-heightOfViewer=Katsojan korkeus (px)-autoSetViewerSize=Aseta katsojan koko automaattisesti+widthOfViewer=Katseluohjelman leveys (px)+heightOfViewer=Katseluohjelman korkeus (px)+autoSetViewerSize=Aseta katseluohjelman koko automaattisestithumbnail=PikkukuvaprevInDraw=Esikatsele draw.io:ssaonedriveFname=OneDrive-tiedostonimi@@ -1142,10 +1142,10 @@ diagUrl=Kaavion URLshowDiag=Näytä kaaviodiagPreview=Kaavion esikatselucsvFileUrl=CSV-tiedoston URL-generate=Generoi+generate=LuoselectDiag2Insert=Valitse kaavio lisätäksesi sen.errShowingDiag=Odottamaton virhe. Kaaviota ei voi näyttää-noRecentDiags=Uusia kaavioita ei löytynyt+noRecentDiags=Viimeaikaisia kaavioita ei löytynytfetchingRecentFailed=Viimeaikaisten kaavioiden nouto epäonnistuiuseSrch2FindDiags=Käytä hakukenttää löytääksesi draw.io-kaaviotcantReadChckPerms=Määritettyä kaaviota ei voi lukea. Tarkista, että sinulla on kyseisen tiedoston lukuoikeus.@@ -1160,7 +1160,7 @@ select=ValitseerrCantGetIdType=Odottamaton virhe: Sisältötunnusta tai tyyppiä ei voi saada.errGAuthWinBlocked=Virhe: Google Authentication -ikkuna estettyauthDrawAccess=Valtuuta draw.io käyttämään sivustoa {1}-connTimeout=Yhteys on aikakatkaistu+connTimeout=Yhteys aikakatkaistiinerrAuthSrvc=Virhe todennuksessa kohteeseen {1}plsSelectFile=Valitse tiedostomustBgtZ={1} tulee olla suurempi kuin nolla@@ -1181,15 +1181,15 @@ embedDrawDiag=Upota draw.io-kaavioaddDiagram=Lisää kaavioembedDiagram=Upota kaavioeditOwningPg=Muokkaa omistavaa sivua-deepIndexing=Syväindeksoidaan (myös hakemistokaaviot, joita ei käytetä millään sivulla)+deepIndexing=Syväindeksointi (indeksoi myös kaaviot, joita ei käytetä millään sivulla)confADeepIndexStarted=Syväindeksointi aloitettuconfADeepIndexDone=Syväindeksointi valmis-officeNoDiagramsSelected=Valikoimasta ei löytynyt kaavioita+officeNoDiagramsSelected=Valinnasta ei löytynyt kaavioitaofficeNoDiagramsInDoc=Asiakirjasta ei löytynyt kaavioitaofficeNotSupported=Tämä isäntäsovellus ei tue tätä ominaisuuttasomeImagesFailed={1}/{2} epäonnistui seuraavien virheiden vuoksi-importingNoUsedDiagrams=Tuodaan {1} Kaavioita, joita ei käytetä sivuilla-importingDrafts=Tuodaan {1} kaavioita luonnoksissa+importingNoUsedDiagrams=Tuodaan {1} kaaviota, joita ei käytetä sivuilla+importingDrafts=Tuodaan {1} kaaviota luonnoksistaprocessingDrafts=Käsitellään luonnoksiaupdatingDrafts=Päivitetään luonnoksiaupdateDrafts=Päivitä luonnokset@@ -1197,12 +1197,12 @@ notifications=IlmoituksetdrawioImp=draw.io-tuonticonfALibsImp=Tuodaan draw.io-kirjastojaconfALibsImpFailed=Kirjaston {1} tuonti epäonnistui-contributors=Osallistujat+contributors=AvustajatdrawDiagrams=draw.io-kaavioterrFileNotFoundOrNoPer=Virhe: Pääsy kielletty. Tiedostoa ei löydy tai sinulla ei ole oikeutta käyttää tiedostoa "{1}" osoitteessa {2}.confACheckPagesWEmbed=Tarkistetaan sivuja, joille on upotettu draw.io-kaavio.confADelBrokenEmbedDiagLnk=Poistetaan rikkinäiset upotetut kaaviolinkit-replaceWith=Korvaa+replaceWith=Korvaa tälläreplaceAll=Korvaa kaikkiconfASkipDiagModified=Ohitettu "{1}", koska sitä muutettiin ensimmäisen tuonnin jälkeenreplFind=Korvaa/etsi@@ -1218,9 +1218,9 @@ showAllTemps=Näytä kaikki mallipohjatnotionToken=Notion-tokenselectDB=Valitse tietokantanoDBs=Ei tietokantoja-diagramEdited={1} kaaviota "{2}" muokattu+diagramEdited={1}-kaavio "{2}" muokattuconfDraftPermissionErr=Luonnosta ei voi kirjoittaa. Onko sinulla liitteen kirjoitus-/lukuoikeus tälle sivulle?-confFileTooBigErr=Luonnos on liian suuri. Tarkista Confluence Configuration:ssa "Liiteasetukset"-kohdasta "Liitteen enimmäiskoko".+confFileTooBigErr=Tiedosto on liian suuri. Tarkista Confluence-asetuksissa kohdasta "Liiteasetukset" asetus "Liitteen enimmäiskoko".owner=Omistajarepository=Repositoriobranch=Haara@@ -1232,9 +1232,9 @@ website=Verkkosivustocheck4Updates=Tarkista päivityksetattWriteFailedRetry={1}: Liitteen kirjoitus epäonnistui, yritetään uudelleen {2} sekunnin kuluttua...confPartialPageList=Emme voineet noutaa kaikkia sivuja Confluence-virheen vuoksi. Jatketaan vain {1} sivun käyttämistä.-spellCheck=Oikoluvun tarkistus+spellCheck=OikolukunoChange=Ei muutosta-lblToSvg=Muunna tunnisteet SVG-muotoon+lblToSvg=Muunna nimiöt SVG-muotoontxtSettings=TekstiasetuksetLinksLost=Linkit katoavatarcSize=Kaaren koko@@ -1244,7 +1244,7 @@ notInDesktop=Ei tueta työpöytäsovelluksessaconfConfigSpaceArchived=draw.io-määritystila (DRAWIOCONFIG) on arkistoitu. Palauta se ensin.confACleanOldVerStarted=Vanhojen kaavioluonnosversioiden puhdistus aloitettuconfACleanOldVerDone=Vanhojen kaavioluonnosversioiden puhdistus valmis-confACleaningFile=Kaavion "{1}" vanhojen versioiden puhdistus+confACleaningFile=Puhdistetaan kaavion luonnoksen "{1}" vanhoja versioitaconfAFileCleaned=Kaavion luonnoksen "{1}" puhdistaminen valmisconfAFileCleanFailed=Kaavion luonnoksen "{1}" puhdistaminen epäonnistuiconfACleanOnly=Puhdista vain kaavioluonnokset@@ -1257,16 +1257,16 @@ draftSaveInt=Luonnoksen tallennusväli [s] (0 poistaa käytöstä)pluginsDisabled=Ulkoiset laajennukset poistettu käytöstä.extExpNotConfigured=Ulkoista kuvapalvelua ei ole määritettypathFilename=Polku/tiedostonimi-confAHugeInstances=Erittäin suuret tapaukset+confAHugeInstances=Erittäin suuret instanssitconfAHugeInstancesDesc=Jos tämä ilmentymä sisältää yli 100 000 sivua, on nopeampaa pyytää nykyinen ilmentymäsivuluettelo Atlassianilta. Ota yhteyttä tukeemme saadaksesi lisätietoja.choosePageIDsFile=Valitse nykyisten sivutunnusten csv-tiedosto-chooseDrawioPsgesFile=Valitse sivut draw.io-kaavioiden csv-tiedostolla+chooseDrawioPsgesFile=Valitse draw.io-kaavioita sisältävien sivujen csv-tiedostoprivate=YksityinendiagramTooLarge=Kaavio on liian suuri, pienennä sen kokoa ja yritä uudelleen.selectAdminUsers=Valitse järjestelmänvalvojat-xyzTeam={1} -tiimi+xyzTeam={1}-tiimiaddTeamTitle=Lisätään uusi draw.io-tiimi-addTeamInst1=Luodaksesi uuden draw.io-tiimin, sinun on luotava uusi Atlassian-ryhmä, jossa on "drawio-" jälkiliite (esim. ryhmä nimeltä "drawio-markkinointi").+addTeamInst1=Luodaksesi uuden draw.io-tiimin, sinun on luotava uusi Atlassian-ryhmä "drawio-"-etuliitteellä (esim. ryhmä nimeltä "drawio-marketing").addTeamInst2=Määritä sitten, kuka tiimin jäsenistä voi muokata/lisätä määrityksiä, mallipohjia ja kirjastoja tältä sivulta.drawioTeams=draw.io-tiimitmembers=Jäsenet@@ -1282,7 +1282,7 @@ noAdminsSelected=Yhtään ylläpitäjää/muokkaajaa ei ole valittuerrCreateConfigFile=Virhe luotaessa "configuration.json"-tiedostoa. Tarkista, että sinulla on tarvittavat käyttöoikeudet.errSetPageRestr=Virhe sivurajoitusten asettamisessanotAdmin4Team=Et ole tämän tiimin järjestelmänvalvoja-configUpdated=Määritykset päivitetty, käynnistä editori uudelleen, jos haluat työskennellä viimeisimmän kokoonpanon kanssa.+configUpdated=Määritykset päivitetty, käynnistä editori uudelleen, jos haluat työskennellä viimeisimmillä määrityksillä.outOfDateRevisionAlert=Muokkaat kaavion historiallista versiota. Tarkista versio ja avaa se korvataksesi uusimman version. Tai sulje ja korvaa/yhdistä myöhemmin.confAErrFaqs=Virheitä on {1}. Seuraavat ohjeet voivat auttaa korjaamaan useimmat tapaukset. (Lataa loki myöhempää käyttöä varten)confA403ErrFaq=({1}) 403-virhettä. Nykyisillä käyttäjillä on oltava lisäys- (kirjoitus)oikeudet kaikille sivuille ja liitteille. Jopa järjestelmänvalvojat eivät toisinaan saa kirjoittaa joillekin sivuille sivurajoitusten kautta@@ -1295,40 +1295,42 @@ googleFonts=Google FontsdiagDupl=Kaavion kaksoiskappale havaittudiagDuplMsg=Tätä kaaviota käytetään useissa paikoissa, mikä voi johtaa odottamattomiin tuloksiin, kun sitä muokataan. Olemme luoneet itsenäisen kopion. Avaa editori uudelleen.diagDuplNoEditMsg=Tätä kaaviota käytetään useissa paikoissa. Muokkaa sitä omalla sivullaan.-confCloudMigConfirm=Warning: This process will edit many pages and diagrams, so it is recommended to stop the Synchrony service during the process. Do you want to proceed?-confCloudMigNotice=In the Cloud instance, please add linkAdjustments to draw.io configuration as follows {1}. Without this configuration, links in diagrams pointing to Confluence pages will not work.-confALogsPageDesc=This page contains logs of draw.io long running services as attachments-confEditOnlyInPageEditor=Can only be edited within Confluence page editor-confEvalWarn=Evaluation License - Not for production use-otherUsersEditing=Other user(s) are editing this diagram-firstTimeGD=First time to access this file?-drawioGDAppNotInstalled=draw.io Google Drive app is not installed, please install it first-ConfDC415Error=Saving drafts is blocked. If you have "Attachment Checker for Confluence" app, please update to the latest version.-remove=Remove-selectPgLyr=Select Page and Layers-errGenPreview=There was an error generating a diagram preview. Please consult technical support.-attAccessErr=Diagram attachment access error: cannot display diagram-widthIntOrFixed=Width must be a valid integer or of value 'fixed'-dupDisabledPgLyrSlct=Diagram duplication is disabled when page and layers are selected-cantDupPickDiffName=Could not duplicate diagram. Please choose a different name.-ownPgAccessDupErr=Owning page access restriction: cannot duplicate diagram.-cantDupTryLater=Could not duplicate diagram. Please try again later.-cantEditLnkd=Cannot edit linked diagram-diagEditOwnPgOnlyOpen=Diagram can only be edited from the page that owns it. Would you like to open the owning page for edit?-diagInTemps=draw.io diagrams in templates-diagInTempsCantEdit=Diagrams in page templates cannot be edited. They can only be edited on pages and blog posts.-confDirectEditDraftLost=This Confluence page has unpublished changes. Editing the diagram from page view may cause data loss. Please edit the Confluence page first and then edit the diagram.-confConfigSpacePerm=Note: If you recently migrated from DC app, please check draw.io Configuration space permissions such that all users can read and only admins can write. In addition, remove the page restrictions on "Configuration" and "Libraries" pages. You may need admin keys to access them. Also, please check the file "configuration.json" in the "Configuration" page is downloadable.-tryCurPageOnErr=Try finding the diagram attachment on the macro page when the linked page fails-confAExtSrvcNoSupported=Embedded diagrams from external services or urls are not supported.+confCloudMigConfirm=Varoitus: Tämä prosessi muokkaa useita sivuja ja kaavioita, joten on suositeltavaa pysäyttää Synchrony-palvelu prosessin ajaksi. Haluatko jatkaa?+confCloudMigNotice=Lisää Cloud-instanssissa linkAdjustments draw.io-määrityksiin seuraavasti {1}. Ilman tätä määritystä Confluence-sivuille osoittavat linkit kaavioissa eivät toimi.+confALogsPageDesc=Tämä sivu sisältää draw.io:n pitkäkestoisten palveluiden lokit liitteinä+confEditOnlyInPageEditor=Voidaan muokata vain Confluence-sivueditorissa+confEvalWarn=Arviointilisenssi - Ei tuotantokäyttöön+otherUsersEditing=Muut käyttäjät muokkaavat tätä kaaviota+firstTimeGD=Ensimmäinen kerta tämän tiedoston käytössä?+drawioGDAppNotInstalled=draw.io Google Drive -sovellusta ei ole asennettu, asenna se ensin+ConfDC415Error=Luonnosten tallentaminen on estetty. Jos sinulla on "Attachment Checker for Confluence" -sovellus, päivitä se uusimpaan versioon.+remove=Poista+selectPgLyr=Valitse sivu ja tasot+errGenPreview=Kaavion esikatselun luomisessa tapahtui virhe. Ota yhteyttä tekniseen tukeen.+attAccessErr=Kaavion liitteen käyttövirhe: kaaviota ei voi näyttää+widthIntOrFixed=Leveyden on oltava kokonaisluku tai arvo 'fixed'+dupDisabledPgLyrSlct=Kaavion kopiointi on pois käytöstä, kun sivu ja tasot on valittu+cantDupPickDiffName=Kaaviota ei voitu kopioida. Valitse toinen nimi.+ownPgAccessDupErr=Omistavan sivun käyttörajoitus: kaaviota ei voi kopioida.+cantDupTryLater=Kaaviota ei voitu kopioida. Yritä myöhemmin uudelleen.+cantEditLnkd=Linkitettyä kaaviota ei voi muokata+diagEditOwnPgOnlyOpen=Kaaviota voi muokata vain sen omistavalta sivulta. Haluatko avata omistavan sivun muokattavaksi?+diagInTemps=draw.io-kaaviot mallipohjissa+diagInTempsCantEdit=Sivumallien kaavioita ei voi muokata. Niitä voi muokata vain sivuilla ja blogikirjoituksissa.+confDirectEditDraftLost=Tällä Confluence-sivulla on julkaisemattomia muutoksia. Kaavion muokkaaminen sivunäkymästä voi aiheuttaa tietojen menetyksen. Muokkaa ensin Confluence-sivua ja sitten kaaviota.+confConfigSpacePerm=Huom: Jos siirsit äskettäin DC-sovelluksesta, tarkista draw.io Configuration -tilan käyttöoikeudet siten, että kaikki käyttäjät voivat lukea ja vain järjestelmänvalvojat voivat kirjoittaa. Poista myös sivurajoitukset "Configuration"- ja "Libraries"-sivuilta. Saatat tarvita järjestelmänvalvojan avaimia niiden käyttöön. Tarkista myös, että "configuration.json"-tiedosto "Configuration"-sivulla on ladattavissa.+tryCurPageOnErr=Yritä etsiä kaavion liite makrosivulta, kun linkitetty sivu epäonnistuu+confAExtSrvcNoSupported=Upotettuja kaavioita ulkoisista palveluista tai URL-osoitteista ei tueta.gliffyVersionPinning=Tuo Gliffyn kiinnitetty versio uusimman version sijaan-confEmbedUpload=Parhaan muokkauskokemuksen saamiseksi käytä tavallista draw.io-makroa tyhjän kaavion lisäämiseen ja valitse sitten (Tiedosto-valikko → Tuo → Laite...) tiedosto, jonka haluat ladata ja upottaa.+confEmbedUpload=Parhaan muokkauskokemuksen saamiseksi käytä tavallista draw.io-makroa tyhjän kaavion lisäämiseen ja valitse sitten (Tiedosto-valikko → Tuo kohteesta → Laite...) tiedosto, jonka haluat ladata ja upottaa.confPublishErr=Toinen päivitys oli ristiriidassa julkaisusi kanssa, yritä uudelleen-confACacheMapping=Cache page IDs mapping-confARemImpPages=Remember imported pages-delCachedData=Delete Cached Data-k15tPagesError=Error retrieving Scroll pages. Is Scroll Versions installed?-drawioUninstalled=draw.io has been uninstalled, the editor will now close-confAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.-confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.+confACacheMapping=Välimuistita sivutunnusten kartoitus+confARemImpPages=Muista tuodut sivut+delCachedData=Poista välimuistitiedot+k15tPagesError=Virhe Scroll-sivujen haussa. Onko Scroll Versions asennettu?+drawioUninstalled=draw.io on poistettu, editori sulkeutuu nyt+confAttachmentArchived=Kaavio kuuluu arkistoidulle sivulle eikä sitä voi ladata. Palauta sivu (ID: {1}) ladataksesi sen.+confDiagramMacroDowngrade=Kaavio on tallennettu, mutta sivun makroa ei voi päivittää, koska makron kaavioversio on uudempi. Muokkaa kaaviota Confluence-sivueditorissa.DCSave500Error=Toinen Confluence-toiminto keskeytti tallennuksen, yritä uudelleen #{1}+confAppNotInstalled=draw.io diagrams Confluence -sovellusta ei ole asennettu.+plsInstallAppInConf=Asenna/yhdistä tämä sovellus Confluencessa päästäksesi kaavioihin (draw.io Confluence -sovelluksen lisäksi)diff --git a/src/main/webapp/resources/dia_fil.txt b/src/main/webapp/resources/dia_fil.txtindex 9111dbf61..32f8efed0 100644--- a/src/main/webapp/resources/dia_fil.txt+++ b/src/main/webapp/resources/dia_fil.txt@@ -3,23 +3,23 @@about=Tungkol saaboutDrawio=Tungkol sa draw.ioaccessDenied=Tinanggihan ang pagpasok-accounts=Accounts-action=Action+accounts=Mga Account+action=AksyonactualSize=Aktwal na sukat-adaptiveColors=Mga kulay ng adaptive+adaptiveColors=Mga Adaptive na Kulayadd=Magdagdag-addAccount=Add account-addedFile=Idinagdag+addAccount=Magdagdag ng account+addedFile=Idinagdag ang {1}addImages=Magdagdag ng mga imaheaddImageUrl=Magdagdag ng URL ng imaheaddLayer=Magdagdag ng patongaddProperty=Magdagdag ng katangianaddress=AddressaddToExistingDrawing=Magdagdag sa kasalukuyang Guhit-addToScratchpad=Add to Scratchpad+addToScratchpad=Idagdag sa ScratchpadaddWaypoint=Magdagdag ng WaypointadjustTo=Isaayos sa-advanced=Mas mahusay+advanced=AdvancedsmartTemplate=Smart Templatealign=Ihanayalignment=Paghahanay@@ -28,31 +28,31 @@ allPages=Lahat ng pahinaallProjects=Lahat ng proyektoallSelectedObjectsInThisLayer=Ang lahat ng napiling bagay ay nasa layer na itoallSpaces=Lahat ng espasyo-allTags=Lahat ng mga Tag+allTags=Lahat ng Taganchor=Angklaandroid=Androidangle=Angguloanimations=Mga Animation-arc=Arc+arc=ArkoareYouSure=Sigurado ka ba?-ensureDataSaved=Pakiseguro na ang iyong mga datos ay nai-save bago ito isara+ensureDataSaved=Pakisiguraduhin na ang iyong datos ay naka-save bago isara.allChangesSaved=Lahat ng pagbabago ay nai-saveallChangesSavedInDrive=Lahat ng pagbabago ay nai-save sa Drive-allowPopups=Pahintulutan ang mga pop-up para maiwasan ang dayalogong ito-allowRelativeUrl=Allow relative URL-alreadyConnected=Ang mga buko ay naikonekta na-appearance=Appearance+allowPopups=Pahintulutan ang mga pop-up para maiwasan ang dayalogong ito.+allowRelativeUrl=Payagan ang relative URL+alreadyConnected=Nakakonekta na ang mga node+appearance=Hitsuraapply=GamitinarchiMate21=ArchiMate 2.1arrange=Isaayosarrow=Panuroarrows=Mga panuro-askMeAnything=Ask me anything+askMeAnything=Magtanong ng kahit anoasNew=Bilang bagoatlas=Atlasauthor=May akdaauthorizationRequired=Kailangan ang pahintulot-authorizeThisAppIn=Pahintulutan ang app sa {1}:+authorizeThisAppIn=Pahintulutan ang app na ito sa {1}:authorize=Pahintulutanauthorizing=Pinahihintulutanautomatic=Kusa@@ -62,20 +62,20 @@ attachments=Mga kalakipaws=AWSaws3d=AWS 3Dazure=Azure-back=Back-background=likuran+back=Bumalik+background=LikuranbackgroundColor=Kulay ng likuranbackgroundImage=Imahe ng likuranbasic=Pangunahinbeta=betablankDrawing=Blangkong Guhit-blankDiagram=Blangko na dayagram+blankDiagram=Blangkong Dayagramblock=Blokeblockquote=Blockquote-blog=Ang iyong email adress+blog=Blogbold=Makapalbootstrap=Bootstrap-border=Border+border=GilidborderColor=Kulay ng gilidborderWidth=Lapad ng gilidbottom=Ibaba@@ -83,93 +83,93 @@ bottomAlign=Ihanay ang IbababottomLeft=Kaliwang IbababottomRight=Kanang Ibababpmn=BPMN-bringForward=Bring Forward+bringForward=Ilabas sa Harapbrowser=BrowserbulletedList=Markadong listahanbusiness=Negosyobusy=Ang operasyon ay nagpapatuloycabinets=Mga Kabinetcancel=Kanselahin-center=I-sentro+center=GitnacannotLoad=Ang mga pagsubok sa pag-load ay nabigo. Mangyaring subukan ulit mamaya.-cannotLogin=Ang mga pagsubok sa pag-load ay nabigo. Mangyaring subukan ulit mamaya.+cannotLogin=Ang mga pagsubok sa pag-log in ay nabigo. Mangyaring subukan ulit mamaya.cannotOpenFile=Hindi mabuksan ang filechange=BaguhinchangeOrientation=Baguhin ang oryentasyonchangeUser=Magpalit ng gumagamit-changeStorage=Change storage+changeStorage=Palitan ang imbakanchangesNotSaved=Ang mga pagbabago ay hindi nai-saveclassDiagram=Class DiagramuserJoined={1} ay sumaliuserLeft={1} ay umalischatWindowTitle=Pag-uusap-chooseAnOption=Magtakda ng Pagpipilian+chooseAnOption=Pumili ng pagpipilianchromeApp=Chrome App-collaborativeEditingNotice=Important Notice for Collaborative Editing-compare=Compare+collaborativeEditingNotice=Mahalagang Paunawa para sa Collaborative Editing+compare=Ihambingcompressed=Siniksik-commitMessage=Maglagak ng mensahe-configLinkWarn=This link configures draw.io. Only click OK if you trust whoever gave you it!-configLinkConfirm=Click OK to configure and restart draw.io.+commitMessage=Mensahe ng Commit+configLinkWarn=Iko-configure ng link na ito ang draw.io. I-click lamang ang OK kung pinagkakatiwalaan mo ang nagbigay nito sa iyo!+configLinkConfirm=I-click ang OK para i-configure at i-restart ang draw.io.container=Containercsv=CSVcurrentLayer=Kasalukuyang Layer-dark=Dark+dark=MadilimdiagramLanguage=Wika ng Diyagram-diagramType=Diagram type+diagramType=Uri ng diyagramdiagramXmlDesc=XML FilediagramHtmlDesc=HTML File-diagramPngDesc=Editable Bitmap Image-diagramSvgDesc=Editable Vector Image-didYouMeanToExportToPdf=Did you mean to export to PDF?-disabled=Disabled+diagramPngDesc=Nae-edit na Bitmap Image+diagramSvgDesc=Nae-edit na Vector Image+didYouMeanToExportToPdf=Gusto mo bang mag-export sa PDF?+disabled=Hindi pinaganadraftFound=Isang draft para sa '{1}' ang nahanap. Ikarga ito sa loob ng editor o isantabi ito para magpatuloy-draftRevisionMismatch=There is a different version of this diagram on a shared draft of this page. Please edit the diagram from the draft to ensure you are working with the latest version.-selectDraft=Select a draft to continue editing:-dragAndDropNotSupported=Ang paghila at paglagay ay hindi suportado para sa mga imahe. Gusto mo bang mag angkat na lang?+draftRevisionMismatch=May ibang bersyon ng diagram na ito sa isang nakabahaging draft ng pahinang ito. Mangyaring i-edit ang diagram mula sa draft upang matiyak na gumagamit ka ng pinakabagong bersyon.+selectDraft=Pumili ng draft upang magpatuloy sa pag-edit:+dragAndDropNotSupported=Ang pag-drag at drop ay hindi suportado para sa mga imahe. Gusto mo bang mag-import na lang?dropboxCharsNotAllowed=Ang mga sumusunod na simbolo ay hindi pinahihintulutan: \ / : ? * " |-check=Alamin+check=Suriinchecksum=Checksumcircle=Bilogcisco=Ciscoclassic=Klasiko-clearDefaultStyle=Alisin ang kusang laan na istilo+clearDefaultStyle=Alisin ang Default na IstiloclearWaypoints=Alisin ang mga Waypointclipart=Clipartclose=Isara-closingFile=Closing file-realtimeCollaboration=Real-Time Collaboration-collaborate=Collaborate-collaborator=Tumutulong-collaborators=Mga tumutulong-collapse=Pakitirin-collapseExpand=Pakitirin/Palawakin-collapse-expand=Pindutin para pakitirin/palawakin\nShift-pindutin para galawin ang mga katabi\nAlt-pindutin para maprutektahan ang sukat ng grupo-collapsible=Pwedeng Pakitirin-comic=Sulat-kamay+closingFile=Isinasara ang file+realtimeCollaboration=Real-Time na Kolaborasyon+collaborate=Makipagtulungan+collaborator=Kolaborador+collaborators=Mga Kolaborador+collapse=I-collapse+collapseExpand=I-collapse/I-expand+collapse-expand=I-click para i-collapse/i-expand\nShift-click para galawin ang mga katabi\nAlt-click para protektahan ang laki ng grupo+collapsible=Maaaring I-collapse+comic=Comiccomment=Kumento-commentsNotes=Mga Kumento/Paalala-compress=Compress-configuration=Configuration-connect=Kumonekta-connecting=Kumukonekta-connectWithDrive=Kumonekta gamit ang Google Drive+commentsNotes=Mga Komento/Tala+compress=I-compress+configuration=Konfigurasyon+connect=Ikonekta+connecting=Kumokonekta+connectWithDrive=Ikonekta sa Google Driveconnection=KoneksyonconnectionArrows=Mga panurong pangkonektaconnectionPoints=Mga puntos ng koneksyonconstrainProportions=Limitahan ang ProporsyoncontainsValidationErrors=Nagtataglay ng mga kamalian sa pagpapatunaycopiedToClipboard=Nakopya sa Clipboard-copy=Kopya-copyConnect=Kumopya sa pagkonekta-copyCreated=A copy of the file was created.-copyData=Copy Data+copy=Kopyahin+copyConnect=Kopyahin sa Pagkonekta+copyCreated=Nagawa ang isang kopya ng file.+copyData=Kopyahin ang DatacopyOf=Kopya ng {1}copyOfDrawing=Kopya ng Guhit-copySize=Copy Size-copyStyle=Istilo ng kopya+copySize=Kopyahin ang Sukat+copyStyle=Kopyahin ang Istilocreate=Gumawa-createBlankDiagram=Create Blank Diagram+createBlankDiagram=Gumawa ng Blangkong DayagramcreateNewDiagram=Gumawa ng Bagong DayagramcreateRevision=Gumawa ng RebisyoncreateShape=Gumawa ng Hugis@@ -177,26 +177,26 @@ crop=Cropcurved=Kurbadocustom=Sariling akmacurrent=Kasalukuyan-currentPage=Current page+currentPage=Kasalukuyang pahinacut=Putulindashed=Patlang-patlangdecideLater=Magdesisyon mamaya-default=Kusang laan+default=Defaultdelete=Burahin-deleteAll=Delete all+deleteAll=Burahin lahatdeleteColumn=Burahin ang hanaydeleteLibrary401=Di sapat na pahintulot para burahin ang library na itodeleteLibrary404=Ang napiling library ay di mahanapdeleteLibrary500=Pagkakamali sa pagbura ng library-deleteLibraryConfirm=Akma mong permanenteng buburahin ang library na ito. Sigurado ka bang gusto mong gawin ito?+deleteLibraryConfirm=Malapit mo nang permanenteng burahin ang library na ito. Sigurado ka bang gusto mong gawin ito?deleteRow=Burahin ang hileradescription=Paglalarawan-describeYourDiagram=Describe your diagram+describeYourDiagram=Ilarawan ang iyong dayagramdevice=Kagamitandiagram=DayagramdiagramContent=Nilalaman ng DayagramdiagramLocked=Ang dayagram ay isinara upang maiwasan ang dagdag na pagkawala ng datos.-diagramLockedBySince=The diagram is locked by {1} since {2} ago+diagramLockedBySince=Ang dayagram ay naka-lock ni {1} mula {2} na ang nakalipasdiagramName=Pangalan ng dayagramdiagramIsPublic=Ang Diagram ay PampublikodiagramIsNotPublic=Ang Diagram ay Hindi Pampubliko@@ -211,13 +211,13 @@ discardChanges=Tanggihan ang mga Pagbabagodisconnected=Nadiskonektadistribute=Ikalatdone=Tapos na-doNotShowAgain=Do not show again+doNotShowAgain=Huwag nang ipakita mulidotted=Tuldok-tuldokdoubleClickOrientation=Pindutin ng dalawang beses para mabago ang oryentasyondoubleClickTooltip=Pindutin ng dalawang beses para maglagay ng tekstodoubleClickChangeProperty=Pindutin ng dalawang beses para mabago ang ngalan ng katangiandownload=I-download-downloadDesktop=Get Desktop+downloadDesktop=Kunin ang DesktopdownloadAs=I-download bilangclickHereToSave=Pindutin dito para i-savedpi=DPI@@ -227,14 +227,14 @@ dragElementsHere=Hilahin ang mga elemento ditodragImagesHere=Hilahin ang mga imahe o URLs patungo ditodragUrlsHere=Hilahin ang mga URLs ditodraw.io=draw.io-drawing=Guhit+drawing=Guhit{1}drawingEmpty=Ang Guhit ay walang lamandrawingTooLarge=Ang Guhit ay masyadong malakidrawioForWork=Draw.io para sa GSuitedropbox=Dropboxduplicate=Gumawa ng kopyaduplicateIt=Gumawa ng kopya {1}-divider=Dibisyon+divider=Panghatidx=Dxdy=Dyeast=Silangan@@ -254,44 +254,44 @@ googleImages=Google ImagesimageSearch=Paghanap ng Imaheeip=EIPembed=Ilangkap-embedFonts=Embed Fonts+embedFonts=Ilangkap ang mga FontembedImages=Ilangkap ang mga imahemainEmbedNotice=Idikit ito sa loob ng pahinaelectrical=Elektrikal-ellipse=Ellipse+ellipse=ElipsembedNotice=Idikit ito ng isang beses sa dulo ng pahina-enterGroup=Itala ang grupo+enterGroup=Pumasok sa GrupoenterName=Itala ang pangalanenterPropertyName=Itala ang pangalan ng katangianenterValue=Itala ang halagaentityRelation=Kaugnayan ng entidad-entityRelationshipDiagram=Entity Relationship Diagram-error=Mali+entityRelationshipDiagram=Diagram ng Kaugnayan ng Entidad+error=ErrorerrorDeletingFile=Pagkakamali sa pagbura ng fileerrorLoadingFile=Pagkakamali sa pag-load ng fileerrorRenamingFile=Pagkakamali sa pagbago ng pangalan ng fileerrorRenamingFileNotFound=Pagkakamali sa pagbago ng pangalan ng file. Ang file ay hindi matagpuan.-errorRenamingFileForbidden=Ang iyong email adress+errorRenamingFileForbidden=Pagkakamali sa pagbago ng pangalan ng file. Hindi sapat ang mga karapatan sa pag-access.errorSavingDraft=Pagkakamali sa pag-save ng drafterrorSavingFile=Pagkakamali sa pag-save ng fileerrorSavingFileUnknown=Pagkakamali sa pagpapahintulot sa mga server ng Google. Paki-refresh ang pahina para masubukan muli.errorSavingFileForbidden=Pagkakamali sa pag-save ng file. Hindi sapat ang karapatan sa pag akses.-errorSavingFileNameConflict=Pagkakamali sa pagpalit ng pangalan ng file. Hindi sapat ang karapatan sa pag akses.+errorSavingFileNameConflict=Hindi mai-save ang diagram. Ang kasalukuyang pahina ay mayroon nang file na may pangalang '{1}'.errorSavingFileNotFound=Pagkakamali sa pag-save ng file. Ang file ay hindi nahanap.-errorSavingFileReadOnlyMode=Could not save diagram while read-only mode is active.-errorSavingFileSessionTimeout=Pagkakamali sa pagpalit ng pangalan ng file. Hindi sapat ang karapatan sa pag akses.+errorSavingFileReadOnlyMode=Hindi mai-save ang diagram habang aktibo ang read-only mode.+errorSavingFileSessionTimeout=Natapos na ang iyong session. Paki-<a target='_blank' href='{1}'>{2}</a> at bumalik sa tab na ito para subukang mag-save muli.errorSendingFeedback=Pagkakamali sa pag-send ng kumento.errorUpdatingPreview=Pagkakamali sa pag-update ng paunang tingin.exit=LumabasexitGroup=Lumabas sa grupoexpand=Palawakin-explore=Explore+explore=Galugarinexport=Iluwasexporting=IniluluwasexportAs=Iluwas bilangexportOptionsDisabled=Ang mga pagpipilian sa pagluwas ay di pinaganaexportOptionsDisabledDetails=Di pinagana ng may-ari ang mga pagpipilian para mag download, iprinta, o kumopya para sa mga nagkukumento o tumitingin ng file na ito.-externalChanges=External Changes+externalChanges=Mga Panlabas na Pagbabagoextras=Mga dagdagfailedToSaveTryReconnect=Bigong mag-save, sinusubukang kumonektang muli.featureRequest=Hiling na katangian@@ -299,14 +299,14 @@ feedback=KumentofeedbackSent=Ang Kumento ay matagumpay na naipadalafloorplans=Mga Floorplanfile=File-fileChangedOverwriteDialog=Ang File ay nabago. Sapawan ang mga pagbabago?-fileChangedSyncDialog=The file has been modified.-fileChangedSync=The file has been modified. Click here to synchronize.+fileChangedOverwriteDialog=Ang file ay nabago. Gusto mo bang i-save ang file at sapawan ang mga pagbabagong iyon?+fileChangedSyncDialog=Ang file ay nabago.+fileChangedSync=Ang file ay nabago. Mag-click dito para i-synchronize.overwrite=Sapawan-synchronize=Synchronize+synchronize=I-synchronizefilename=Pangalan ng FilefileExists=Ang File na ito ay mayroon na-fileMovedToTrash=File was moved to trash+fileMovedToTrash=Ang file ay inilipat sa basurahanfileNearlyFullSeeFaq=Malapit nang mapuno ang file, mangyaring tingnan ang FAQfileNotFound=Ang file ay hindi makitarepositoryNotFound=Ang imbakan ay hindi makita@@ -314,17 +314,17 @@ fileNotFoundOrDenied=Ang file ay hindi nahanap. Ito ay wala o kaya ay wala kangfileNotLoaded=Ang File ay hindi nai-loadfileNotSaved=Ang File ay hindi nai-savefileOpenLocation=Paano mo gustong buksan ang mga file na ito?-filetypeHtml=.html causes file to save as HTML with redirect to cloud URL-filetypePng=.png causes file to save as PNG with embedded data-filetypeSvg=.svg causes file to save as SVG with embedded data+filetypeHtml=Ang .html ay magse-save ng file bilang HTML na may redirect sa cloud URL+filetypePng=Ang .png ay magse-save ng file bilang PNG na may naka-embed na data+filetypeSvg=Ang .svg ay magse-save ng file bilang SVG na may naka-embed na datafileWillBeSavedInAppFolder={1} ay mase-save sa folder ng appfill=PunuanfillColor=Kulay ng Pampuno-filterCards=Filter Cards+filterCards=I-filter ang mga Cardfind=HanapinfindInDiagram=Maghanap sa Diagramfit=Ikasya-fitContainer=Baguhin ang sukat ng lalagyan.+fitContainer=Baguhin ang Sukat ng LalagyanfitIntoContainer=Ikasya sa loob ng lalagyanfitPage=Ikasya sa pahinafitPageWidth=Ikasya sa lapad ng pahina@@ -337,16 +337,16 @@ fitWindow=Ikasya sa Windowflip=BaligtarinflipH=Baligtarin pahalangflipV=Baligtarin patayo-flowAnimation=Flow Animation+flowAnimation=Animasyon ng Daloyflowchart=Flowchartfolder=Folder-font=Istilo ng titik-fontColor=Kulay ng istilo ng titik-fontFamily=Pamilya ng istilo ng titik-fontSize=Sukat ng istilo ng titik+font=Font+fontColor=Kulay ng Font+fontFamily=Pamilya ng Font+fontSize=Sukat ng Fontforbidden=Hindi ka pinahihintulutan para i-akses ang file na ito.-format=Pagkaka-ayos-formatPanel=Isaayos ang panel+format=Format+formatPanel=Panel ng Formatformatted=NaisaayosformattedText=Naisaayos na tekstoformatPng=PNG@@ -362,7 +362,7 @@ formatVssx=VSSXformatWebp=WebPformatXmlPlain=XML (payak)formatXml=XML-forum=Diskusyon/Usapang tulong+forum=Mga Forum ng Diskusyon/Tulongfreehand=FreehandfromTemplate=Mula sa TemplatefromTemplateUrl=Mula sa URL ng Template@@ -370,10 +370,10 @@ fromText=Mula sa tekstofromUrl=Mula sa URLfromThisPage=Mula sa pahinang itofullscreen=Buong Screen-gap=Gap+gap=Puwanggcp=GCPgeneral=Pangkalahatan-getNotionChromeExtension=Get the Notion Chrome Extension+getNotionChromeExtension=Kunin ang Notion Chrome Extensiongithub=GitHubgitlab=GitLabgliffy=Gliffy@@ -381,7 +381,7 @@ global=GlobalgoogleDocs=Google DocsgoogleDrive=Google DrivegoogleGadget=Google Gadget-googleSharingNotAvailable=Sharing is only available via Google Drive. Please click Open below and share from the more actions menu:+googleSharingNotAvailable=Ang pagbabahagi ay magagamit lamang sa pamamagitan ng Google Drive. Mangyaring i-click ang Buksan sa ibaba at ibahagi mula sa menu ng iba pang mga aksyon:googleSlides=Google SlidesgoogleSites=Google SitesgoogleSheets=Google Sheets@@ -393,14 +393,14 @@ gridSize=Sukat ng Gridgroup=Grupoguides=Mga gabayhateApp=Ayaw ko ang draw.io-heading=Pamuhatan+heading=Pamagatheight=Taashelp=TulonghelpTranslate=Tulungan kami na isalin ang aplikasyon na itohide=ItagohideIt=Itago {1}hidden=Nakatago-highContrast=High Contrast+highContrast=Mataas na Kontrasthome=Simulahorizontal=PahalanghorizontalFlow=Pahalang na daloy@@ -409,62 +409,62 @@ howTranslate=Gaano kahusay ang pagsalin sa iyong linggwahe?html=HTMLhtmlText=Teksto ng HTMLid=ID-iframe=iFrame+iframe=IFrameignore=Balewalainimage=ImaheimageUrl=URL ng imaheimages=Mga imahe-imagePreviewError=Ang imaheng ito ay hindi mai-load para sa paunang tingin. Paki-beripika ang URL.+imagePreviewError=Ang imaheng ito ay hindi mai-load para sa paunang tingin. Pakisuri ang URL.imageTooBig=Sobrang laki ng imaheimgur=Imgurimport=I-angkat-importFrom=Ini-angkatt mula-improveContrast=Improve Contrast+importFrom=I-angkat mula sa+improveContrast=Pagbutihin ang KontrastincludeCopyOfMyDiagram=Magsama ng kopya ng aking dayagramincreaseIndent=Dagdagan ang indensyondecreaseIndent=Bawasan ang indensyoninsert=Isingit-insertColumnBefore=Magsingit ng hilera sa kaliwa-insertColumnAfter=Magsingit ng hilera sa kanan+insertColumnBefore=Magsingit ng Hanay sa Kaliwa+insertColumnAfter=Magsingit ng Hanay sa KananinsertEllipse=Magsingit ng ellipseinsertImage=Magsingit ng imaheinsertHorizontalRule=Magsingit ng pahalang na linyang gabayinsertLink=Magsingit ng LinkinsertPage=Magsingit ng PahinainsertRectangle=Magsingit ng parihaba-insertRhombus=Insert Rhombus-insertRowBefore=Magsingit ng hanay sa ibabaw-insertRowAfter=Magsingit ng hilera pagkatapos+insertRhombus=Magsingit ng Rombo+insertRowBefore=Magsingit ng Hilera sa Itaas+insertRowAfter=Magsingit ng Hilera sa IbabainsertText=Magsingit ng tekstoinserting=Nagsisingit-installApp=Install App+installApp=I-install ang AppinvalidFilename=Ang pangalan ng mga Dayagram ay hindi maaaring magtaglay ng sumusunod na mga simbolo: \ / | : ; { } < > & + ? = "invalidLicenseSeeThisPage=Ang iyong lisensya ay di wasto. Pki-tingnan ito <a target="_blank" href="https://www.drawio.com/doc/faq/license-drawio-confluence-jira-cloud">page</a>.-invalidInput=Invalid input+invalidInput=Di wastong inputinvalidName=Di wastong pangalaninvalidOrMissingFile=Di wasto o nawawalang File-invalidPublicUrl=Di wastong pampublikong File+invalidPublicUrl=Di wastong pampublikong URLinvertSelection=Baliktarin ang Pagpiliisometric=Isometricios=iOSitalic=Italikokennedy=Kennedy-keyboardShortcuts=Maiksing paraan sa tipanan-labels=Labels+keyboardShortcuts=Mga Shortcut sa Keyboard+labels=Mga Labellayers=Mga patonglandscape=Pahigalanguage=WikaleanMapping=Pagmamapang Lean-lastChange=Huling pagbabago {1}-lessThanAMinute=Mababa sa isang minuto+lastChange=Huling pagbabago {1} ang nakalipas+lessThanAMinute=wala pang isang minutolicensingError=Pagkakamali sa paglilisensya-licenseHasExpired=Ang lisensya para kay {1} ay nagwakas ng {2}. Pindutin dito-licenseRequired=This feature requires draw.io to be licensed.-licenseWillExpire=Ang lisensya para kay {1} ay magwawakas sa {2}. Pindutin dito-light=Light-lineJumps=Line jumps+licenseHasExpired=Ang lisensya para sa {1} ay nag-expire noong {2}. Pindutin dito.+licenseRequired=Ang feature na ito ay nangangailangan ng lisensyadong draw.io.+licenseWillExpire=Ang lisensya para sa {1} ay mag-e-expire sa {2}. Pindutin dito.+light=Maliwanag+lineJumps=Mga line jumplinkAccountRequired=Kung ang Dayagram ay di pampubliko, kailangan ng Google account para tingnan ang Link-linkText=I-link ang teksto+linkText=Teksto ng Linklist=Listahanminute=minutominutes=mga minuto@@ -472,14 +472,14 @@ hours=mga orasdays=mga arawmonths=mga buwanyears=mga taon-restartForChangeRequired=Ang mga pagbabago ay eepekto matapos i-refresh ang pahina.-laneColor=Lanecolor+restartForChangeRequired=Magkakabisa ang mga pagbabago matapos i-restart ang application.+laneColor=Kulay ng LanelanguageCode=Kodigo ng wikalastModified=Huling Binagolayout=Pagkakaayosleft=KaliwaleftAlign=Ihanay sa kaliwa-leftToRight=kaliwa papuntang kanan+leftToRight=Kaliwa papuntang KananlibraryTooltip=Maghila at lagay ng mga hugis dito o pindutin ang + para magsingit. Dobleng pindot para mag-editlightbox=Lightboxline=Linya@@ -491,18 +491,18 @@ link=Linklinks=Mga Linkloading=Naglo-loadlock=I-Lock-locked=Locked-lockUnlock=Isara/ Buksan+locked=Naka-lock+lockUnlock=I-lock/I-unlockloggedOut=Nag-Log out-logIn=Mag-Log in+logIn=mag-log inloveIt=Gusto ko ang {1}lucidchart=Lucidchart-maps=Maps+maps=Mga MapamathematicalTypesetting=Matematikong TypesettingmakeCopy=Gumawa ng kopyamanual=De-Manomaximize=I-maximize-merge=Merge+merge=I-mergemermaid=MermaidmicrosoftOffice=Microsoft OfficemicrosoftExcel=Microsoft Excel@@ -523,8 +523,8 @@ move=IlipatmoveToFolder=Ilipat papunta sa foldermoving=InililipatmoveSelectionTo=Ilipat ang mga napili papunta sa {1}-myDrive=My Drive-myFiles=My Files+myDrive=Aking Drive+myFiles=Aking mga Filename=Pangalannavigation=Nabigasyonnetwork=Network@@ -533,7 +533,7 @@ new=BagonewLibrary=Bagong LibrarynextPage=Sunod na pahinano=Hindi-noPickFolder=No, pick folder+noPickFolder=Hindi, pumili ng foldernoAttachments=Walang nahanap na mga kalakipnoColor=Walang kulaynoFiles=Walang mga file@@ -545,7 +545,7 @@ noOtherViewers=Walang ibang manonoodnoPlugins=Walang mga pluginnoPreview=Walang paunang-tinginnoResponse=Walang sagot mula sa server-noResultsFor=Ang iyong email adress+noResultsFor=Walang resulta para sa '{1}'noRevisions=Walang mga rebisyonnoSearchResults=Walang nakitang resulta ng paghahanapnoPageContentOrNotSaved=Walang nakitang angkla sa pahinang ito, o hindi pa nai-save@@ -558,15 +558,15 @@ notAUtf8File=Hindi UTF-8 na filenotConnected=Hindi konektadonote=Paalalanotion=Notion-notSatisfiedWithImport=Not satisfied with the import?+notSatisfiedWithImport=Hindi nasiyahan sa pag-import?notUsingService=Hindi gumagamit ng {1}?-numberedList=De-numerong listahan+numberedList=May bilang na listahanoffline=Offlineok=OKoneDrive=OneDriveonline=Online-opacity=Kalinawan-open=Bukas+opacity=Opacity+open=BuksanopenArrow=Bukas na panuroopenExistingDiagram=Magbukas ng dati nang dayagramopenFile=Buksan ang file@@ -586,13 +586,13 @@ orthogonal=OrthogonalotherViewer=ibang tumitinginotherViewers=ibang mga tumitinginoutline=Balangkas-oval=Oblong+oval=Obalopage=PahinapageContent=Nilalaman ng PahinapageNotFound=Di nahanap ang PahinapageWithNumber=Pahina-{1}pages=Mga pahina-pageTabs=Page Tabs+pageTabs=Mga Tab ng PahinapageView=Pagtanaw sa pahinapageSetup=Setup ng pahinapageScale=Iskala ng pahina@@ -600,15 +600,15 @@ pan=PanpanTooltip=Espasyo+Hilahin para i-panpaperSize=Sukat ng papelpattern=Huwaran-parallels=Parallels+parallels=Mga Parallelpaste=Idikit-pasteData=Paste Data+pasteData=Idikit ang DatapasteHere=Idikit dito-pasteSize=Paste Size-pasteStyle=Istilo ng pagdikit+pasteSize=Idikit ang Sukat+pasteStyle=Idikit ang Istiloperimeter=PalibotpermissionAnyone=Kahit sino ay maaaring mag-edit-permissionAuthor=Ako lamang ang maaaring mag-edit+permissionAuthor=May-ari at mga admin lamang ang maaaring mag-editpickFolder=Pumili ng folderpickLibraryDialogTitle=Pumili ng LibrarypublicDiagramUrl=Pampublikong URL ng dayagram@@ -621,7 +621,7 @@ plusTooltip=Pindutin para kumonekta at gayahin (ctrl+pindot para gayahin, shift+portrait=Patayoposition=PosisyonposterPrint=Printang poster-preferences=Mga kagusutuhan+preferences=Mga Kagustuhanpreview=Paunang tinginpreviousPage=Nakaraang PahinapresentationMode=Presentation Mode@@ -629,44 +629,44 @@ print=IprintaprocEng=Proc. Eng.project=Proyektopriority=Prayoridad-processForHiringNewEmployee=Process for hiring a new employee+processForHiringNewEmployee=Proseso para sa pagkuha ng bagong empleyadoproperties=Mga katangianpublish=Ilathala-quickStart=Agarang pag-andar ng video+quickStart=Quick Start Videorack=Salansanan-radial=Radial+radial=RadyalradialTree=Istrukturang PabilogreadOnly=Pagbasa langreconnecting=Muling kumukonektarecentlyUpdated=Kamakailang na-updaterecentlyViewed=Kamakailang tiningnan-rectangle=Rectangle+rectangle=ParihabaredirectToNewApp=Ang file na ito ay ginawa o binago sa mas bagong bersyon ng app na ito. Ikaw ay ililipat na ngayon.realtimeTimeout=Mukhang gumawa ka ng ilang mga pagbabago nang ikaw ay offline. Paumanhin, hindi mase-save ang mga pagbabagong ito.redo=Gawing mulirefresh=I-refresh-regularExpression=Karaniwang pagpapahayag-relative=Relative-relativeUrlNotAllowed=Relative URL not allowed+regularExpression=Regular Expression+relative=Relatibo+relativeUrlNotAllowed=Hindi pinapayagan ang relative URLrememberMe=Tandaan akorememberThisSetting=Tandaan ang setting na ito-removeFormat=Alisin ang pagkaka-ayos+removeFormat=Alisin ang FormatremoveFromGroup=Tanggalin mula sa gruporemoveIt=Tanggalin {1}removeWaypoint=Tanggalin ang Waypointrename=Palitan ang Pangalanrenamed=Napalitan ang Pangalan-renameIt=Palitan ang Pangalan {1}+renameIt=Palitan ang Pangalan ng {1}renaming=Pinapalitan ang Pangalanreplace=PalitanreplaceIt={1} ay mayroon na. Gusto mo bang palitan ito?replaceExistingDrawing=Palitan ang dati nang guhitrequired=kinakailangan-requirementDiagram=Requirement Diagram-reset=Magsimulang muli-resetView=Ibalik sa simulang pagtanaw+requirementDiagram=Diagram ng Kinakailangan+reset=I-reset+resetView=I-reset ang Viewresize=Baguhin ang sukat-resizeLargeImages=Do you want to resize large images to make the application run faster?+resizeLargeImages=Gusto mo bang baguhin ang sukat ng malalaking larawan para mas mabilis tumakbo ang application?retina=Retinaresponsive=Tumutugonrestore=Ibalik sa dati@@ -674,15 +674,15 @@ restoring=Ibinabalik sa datiretryingIn=Susubukang muli sa {1} segundoretryingLoad=Nabigo ang pagkarga. Sinusubukang muli...retryingLogin=Natapos na ang oras ng Login. Sinusubukang muli...-reverse=Salungatin+reverse=Baligtarinrevision=RebisyonrevisionHistory=Talaan ng mga rebisyon-rhombus=Rhombus+rhombus=Rombusright=KananrightAlign=Ihanay sa kanan-rightToLeft=Kanan papunta ng kaliwa+rightToLeft=Kanan pakaliwarotate=Paikutin-rotateTooltip=Pindutin at hilahin para maikot, pindutin para maikot ng 90 degrees+rotateTooltip=Pindutin at hilahin para paikutin, pindutin para ikutin ang hugis ng 90 degrees lamangrotation=Pag-ikotrounded=Bilugansave=I-save@@ -690,30 +690,30 @@ saveAndExit=I-save at umalissaveAs=I-save bilangsaveAsXmlFile=I-save bilang XML file?saved=Nai-save na-saveDiagramFirst=Please save the diagram first+saveDiagramFirst=Paki-save muna ang dayagramsaveDiagramsTo=I-save ang mga dayagram sasaveLibrary403=Di sapat ang pahintulot para i-edit ang library na itosaveLibrary500=May pagkakamali habang sini-save ang library-saveLibraryReadOnly=Could not save library while read-only mode is active+saveLibraryReadOnly=Hindi ma-save ang library habang aktibo ang read-only modesaving=Nagse-savescratchpad=Scratchpadscrollbars=Mga Scrollbarsearch=MaghanapsearchShapes=Maghanap ng mga HugisselectAll=Piliin lahat-selectionOnly=Ang mga napili lamang-selectCard=Select Card+selectionOnly=Pinili Lamang+selectCard=Pumili ng CardselectEdges=Piliin ang mga gilid-selectedPage=Selected Page-selectFile=Pumili ang File+selectedPage=Napiling Pahina+selectFile=Pumili ng FileselectFolder=Pumili ng folder-selectFont=Pumili ng istilo ng teksto+selectFont=Pumili ng Fontselection=PagpiliselectNone=Walang PipiliinselectObjectsInLayer=Pumili ng mga Bagay sa Layer-selectTemplate=Select Template+selectTemplate=Pumili ng TemplateselectVertices=Pumili ng mga Vertex-sendBackward=Send Backward+sendBackward=Ipadala sa LikodsendMessage=IpadalasendYourFeedback=Ipadala ang kumentosequenceDiagram=Sequence Diagram@@ -721,135 +721,135 @@ serviceUnavailableOrBlocked=Ang Serbisyo ay hindi pwede o nahaharangansessionExpired=Ang iyong sesyon ay natapos na. Paki-refresh ang window ng browsersessionTimeoutOnSave=Ang iyong sesyon ay lumipas at ikaw ay nadiskonekta mula sa Google Drive. Pindutin ang OK para mag-login at ma-save.setAsDefaultStyle=I-takda bilang kusang laan na istilo-settings=Settings+settings=Mga Settingshadow=Anino-shadows=Anino+shadows=Mga Aninoshape=Hugisshapes=Mga hugisshare=Ibahagi-shareCursor=Share Mouse Cursor+shareCursor=Ibahagi ang Mouse CursorshareLink=Link para sa salu-salong pag-edit-sharingAvailable=Sharing available for Google Drive and OneDrive files.-saveItToGoogleDriveToCollaborate=You'll need to save "{1}" to Google Drive before you can collaborate.-saveToGoogleDrive=Save to Google Drive+sharingAvailable=Available ang pagbabahagi para sa mga file ng Google Drive at OneDrive.+saveItToGoogleDriveToCollaborate=Kailangan mong i-save ang "{1}" sa Google Drive bago ka makapagtulungan.+saveToGoogleDrive=I-save sa Google Drivesharp=Matalasshow=Ipakita-showRemoteCursors=Show Remote Mouse Cursors+showRemoteCursors=Ipakita ang mga Remote Mouse CursorshowStartScreen=Ipakita ang Panimulang Tabing-sidebarTooltip=Pindutin para lumawak. Hilahin at ilagay ang mga hugis sa loob ng dayagram. Shift+pindot para palitan ang mga pinili. Alt+pindot para magsingit at kumonekta.+sidebarTooltip=Pindutin o hilahin at ilagay ang mga hugis. Shift+pindot para palitan ang mga pinili. Alt+pindot para magsingit at kumonekta.signs=PalatandaansignOut=Mag-Sign Outsimple=SimplesimpleArrow=Simpleng panuro-simpleViewer=Simple Viewer+simpleViewer=Simpleng Viewersize=Sukatsketch=Sketch-smoothing=Smoothing-snapToGrid=Snap to Grid+smoothing=Pagpapakinis+snapToGrid=Idikit sa Gridsolid=SolidosourceSpacing=Pag-eespasyo ng Pinagmulansouth=Timogsoftware=Softwarespace=Espasyospacing=Pag-eespasyo-specialLink=Espesyal na paguugnay-stateDiagram=State Diagram+specialLink=Espesyal na Link+stateDiagram=Dayagram ng Kalagayanstandard=Pamantayan-startDrawing=Start drawing-stopDrawing=Stop drawing+startDrawing=Simulan ang pagguhit+stopDrawing=Itigil ang pagguhitstarting=Nagsisimula-straight=Diresto-strikethrough=Strikethrough+straight=Tuwid+strikethrough=Guhit-sa-gitnastrokeColor=Kulay ng linyastyle=Istilosubscript=Subscriptsummary=Buod-superscript=Paninitik+superscript=Superscriptsupport=Suporta-swap=Swap-swimlaneDiagram=Swimlane Diagram+swap=Magpalit+swimlaneDiagram=Dayagram ng Swimlanesysml=SysMLtags=Mga Tagtable=Talahanayan-tables=Tables-takeOver=Take Over+tables=Mga Talahanayan+takeOver=KunintargetSpacing=Target na pageespasyotemplate=Templatetemplates=Mga templatetext=TekstotextAlignment=Paghahanay ng teksto-textOpacity=Kalinawan ng teksto+textOpacity=Opacity ng Tekstotheme=Tematimeout=Timeouttitle=Pamagatto=satoBack=Papunta sa likodtoFront=Papunta sa harap-tooLargeUseDownload=Too large, use download instead.+tooLargeUseDownload=Masyadong malaki, gamitin ang download sa halip.toolbar=Toolbartooltips=Tooltipstop=ItaastopAlign=Ihanay ang itaas-topLeft=Kaliwang Itaas-topRight=Kanang Itaas-transparent=Kita ng tagusan-transparentBackground=Tagusang Likurang Bahagi+topLeft=Itaas na Kaliwa+topRight=Itaas na Kanan+transparent=Transparent+transparentBackground=Transparent na Backgroundtrello=TrellotryAgain=Subukan mulitryOpeningViaThisPage=Subukang buksan mula sa pahinang ito-turn=Iikot ng 90°+turn=Iikot ang Hugis Lamang ng 90°type=TipotypeSlashToSearch=Mag-type ng / para maghanapuml=UML-unassigned=Unassigned+unassigned=Hindi Nakatalagaunderline=Salungguhitan-undo=Bawiin ang ginawa+undo=I-undoungroup=Kalasinunlock=I-Unlock-unmerge=Unmerge+unmerge=I-unmergeunsavedChanges=Hindi nai-save ang mga pagbabagounsavedChangesClickHereToSave=Hindi nai-save ang mga pagbabago. Pindutin dito para i-saveuntitled=Walang PamagatuntitledDiagram=Walang Pamagat na DayagramuntitledLayer=Walang Pamagat na PatonguntitledLibrary=Walang Pamagat na Library-unknownError=Hindi malamang pagkakamali-unknownUser=Unknown user-updateExistingDrawing=Update existing drawing+unknownError=Hindi kilalang error+unknownUser=Hindi kilalang user+updateExistingDrawing=I-update ang kasalukuyang drawingupdateFile=I-update ang {1}updatingDocument=Ina-update ang Dokumento. Mangyaring maghintay...updatingPreview=Ina-update ang Paunang tingin. Mangyaring maghintay...updatingSelection=Ina-update ang mga napili. Mangyaring maghintay...upload=Uploadurl=URL-useBlackAndWhite=Gumamit Ng Itim At Puti-useCurrentSettings=Use current settings-useOffline=Use Offline+useBlackAndWhite=Gumamit ng itim at puti+useCurrentSettings=Gamitin ang kasalukuyang mga setting+useOffline=Gamitin OfflineuserDefined=Tinukoy Ng User-useRootFolder=Use root folder?+useRootFolder=Gamitin ang root folder?userManual=Gabay ng Gumagamitvertical=PatayoverticalFlow=Patayong daloyverticalTree=Patayong istrukturaview=Tingnan-viewerSettings=Viewer Settings+viewerSettings=Mga Setting ng ViewerviewUrl=Link para tingnan: {1}-voiceAssistant=Alalay na Tinig+voiceAssistant=Alalay na Boses (beta)warning=Babalawaypoints=Mga Waypointwest=Kanluran-where=Where+where=Saanwidth=Lapadwiki=WikiwordWrap=Pagbalot ng TekstowritingDirection=Direksyon ng pagsulatyes=Oo-yourEmailAddress=Ang iyong email adress+yourEmailAddress=Ang iyong email addresszoom=ZoomzoomIn=Zoom palapitzoomOut=Zoom palayobasic=Pangunahin-businessprocess=Mga proseso ng pagnenegosyo+businessprocess=Mga Proseso ng Negosyocharts=Mga tsartengineering=Inhenyeriyaflowcharts=Mga Flowchart@@ -864,471 +864,473 @@ venndiagrams=Mga Venn diagramwebEmailOrOther=Web, email o iba pang adres sa internet.webLink=Web Linkwireframes=Mga Wireframe-property=Property-value=Value-showMore=Show More-showLess=Show Less-myDiagrams=My Diagrams-allDiagrams=All Diagrams-recentlyUsed=Recently used-listView=List view+property=Katangian+value=Halaga+showMore=Magpakita ng Higit Pa+showLess=Magpakita ng Mas Kaunti+myDiagrams=Aking mga Dayagram+allDiagrams=Lahat ng Dayagram+recentlyUsed=Kamakailang ginamit+listView=Listahan ng viewgridView=Grid view-resultsFor=Results for '{1}'-oneDriveCharsNotAllowed=The following characters are not allowed: ~ " # % * : < > ? / \ { | }-oneDriveInvalidDeviceName=The specified device name is invalid-officeNotLoggedOD=You are not logged in to OneDrive. Please open draw.io task pane and login first.-officeSelectSingleDiag=Please select a single draw.io diagram only without other contents.-officeSelectDiag=Please select a draw.io diagram.-officeCannotFindDiagram=Cannot find a draw.io diagram in the selection-noDiagrams=No diagrams found-authFailed=Authentication failed-officeFailedAuthMsg=Unable to successfully authenticate user or authorize application.-convertingDiagramFailed=Converting diagram failed-officeCopyImgErrMsg=Due to some limitations in the host application, the image could not be inserted. Please manually copy the image then paste it to the document.-insertingImageFailed=Inserting image failed-officeCopyImgInst=Instructions: Right-click the image below. Select "Copy image" from the context menu. Then, in the document, right-click and select "Paste" from the context menu.-folderEmpty=Folder is empty-recent=Recent-sharedWithMe=Shared With Me-sharepointSites=Sharepoint Sites-errorFetchingFolder=Error fetching folder items-errorAuthOD=Error authenticating to OneDrive-officeMainHeader=Adds draw.io diagrams to your document.-officeStepsHeader=This add-in performs the following steps:-officeStep1=Connects to Microsoft OneDrive, Google Drive or your device.-officeStep2=Select a draw.io diagram.-officeStep3=Insert the diagram into the document.-officeAuthPopupInfo=Please complete the authentication in the pop-up window.-officeSelDiag=Select draw.io Diagram:-files=Files-shared=Shared+resultsFor=Mga resulta para sa '{1}'+oneDriveCharsNotAllowed=Ang mga sumusunod na karakter ay hindi pinapayagan: ~ " # % * : < > ? / \ { | }+oneDriveInvalidDeviceName=Ang tinukoy na pangalan ng device ay hindi wasto+officeNotLoggedOD=Hindi ka naka-log in sa OneDrive. Mangyaring buksan ang draw.io task pane at mag-login muna.+officeSelectSingleDiag=Mangyaring pumili ng isang draw.io diagram lamang na walang ibang nilalaman.+officeSelectDiag=Mangyaring pumili ng draw.io diagram.+officeCannotFindDiagram=Hindi mahanap ang draw.io diagram sa pinili+noDiagrams=Walang nahanap na mga diagram+authFailed=Nabigo ang pag-authenticate+officeFailedAuthMsg=Hindi matagumpay na ma-authenticate ang user o ma-authorize ang application.+convertingDiagramFailed=Nabigo ang pag-convert ng diagram+officeCopyImgErrMsg=Dahil sa ilang limitasyon sa host application, hindi maipasok ang larawan. Mangyaring kopyahin nang manu-mano ang larawan at i-paste ito sa dokumento.+insertingImageFailed=Nabigo ang pagpasok ng larawan+officeCopyImgInst=Mga tagubilin: I-right-click ang larawan sa ibaba. Piliin ang "Copy image" mula sa context menu. Pagkatapos, sa dokumento, i-right-click at piliin ang "Paste" mula sa context menu.+folderEmpty=Walang laman ang folder+recent=Kamakailan+sharedWithMe=Ibinahagi Sa Akin+sharepointSites=Mga Sharepoint Site+errorFetchingFolder=Error sa pagkuha ng mga item sa folder+errorAuthOD=Error sa pag-authenticate sa OneDrive+officeMainHeader=Nagdaragdag ng mga draw.io diagram sa iyong dokumento.+officeStepsHeader=Ang add-in na ito ay nagsasagawa ng mga sumusunod na hakbang:+officeStep1=Kumokonekta sa Microsoft OneDrive, Google Drive o sa iyong device.+officeStep2=Pumili ng draw.io diagram.+officeStep3=Ipasok ang diagram sa dokumento.+officeAuthPopupInfo=Mangyaring kumpletuhin ang pag-authenticate sa pop-up window.+officeSelDiag=Pumili ng draw.io Diagram:+files=Mga File+shared=Ibinahagisharepoint=Sharepoint-officeManualUpdateInst=Instructions: Copy draw.io diagram from the document. Then, in the box below, right-click and select "Paste" from the context menu.-officeClickToEdit=Click icon to start editing:-pasteDiagram=Paste draw.io diagram here-connectOD=Connect to OneDrive-selectChildren=Select Children-selectSiblings=Select Siblings-selectParent=Select Parent-selectDescendants=Select Descendants-lastSaved=Last saved {1} ago-resolve=Resolve-reopen=Re-open-showResolved=Show Resolved-reply=Reply-objectNotFound=Object not found-reOpened=Re-opened-markedAsResolved=Marked as resolved-noCommentsFound=No comments found-comments=Comments-timeAgo={1} ago+officeManualUpdateInst=Mga Tagubilin: Kopyahin ang draw.io diagram mula sa dokumento. Pagkatapos, sa kahon sa ibaba, i-right-click at piliin ang "Paste" mula sa context menu.+officeClickToEdit=I-click ang icon upang simulan ang pag-edit:+pasteDiagram=I-paste ang draw.io diagram dito+connectOD=Kumonekta sa OneDrive+selectChildren=Piliin ang mga Anak+selectSiblings=Piliin ang mga Kapatid+selectParent=Piliin ang Magulang+selectDescendants=Piliin ang mga Inapo+lastSaved=Huling na-save {1} ang nakalipas+resolve=Lutasin+reopen=Buksan Muli+showResolved=Ipakita ang mga Nalutas+reply=Tumugon+objectNotFound=Hindi natagpuan ang object+reOpened=Binuksan Muli+markedAsResolved=Minarkahan bilang nalutas+noCommentsFound=Walang nahanap na mga komento+comments=Mga Komento+timeAgo={1} ang nakalipasconfluenceCloud=Confluence Cloud-libraries=Libraries-confAnchor=Confluence Page Anchor-confTimeout=The connection has timed out-confSrvTakeTooLong=The server at {1} is taking too long to respond.-confCannotInsertNew=Cannot insert draw.io diagram to a new Confluence page-confSaveTry=Please save the page and try again.-confCannotGetID=Unable to determine page ID-confContactAdmin=Please contact your Confluence administrator.-readErr=Read Error-editingErr=Editing Error-confExtEditNotPossible=This diagram cannot be edited externally. Please try editing it while editing the page-confEditedExt=Diagram/Page edited externally-diagNotFound=Diagram Not Found-confEditedExtRefresh=Diagram/Page is edited externally. Please refresh the page.-confCannotEditDraftDelOrExt=Cannot edit diagrams in a draft page, diagram is deleted from the page, or diagram is edited externally. Please check the page.-retBack=Return back-confDiagNotPublished=The diagram does not belong to a published page-createdByDraw=Created by draw.io-filenameShort=Filename too short-invalidChars=Invalid characters-alreadyExst={1} already exists-draftReadErr=Draft Read Error-diagCantLoad=Diagram cannot be loaded-draftWriteErr=Draft Write Error-draftCantCreate=Draft could not be created-confDuplName=Duplicate diagram name detected. Please pick another name.-confSessionExpired=Looks like your session expired. Log in again to keep working.-login=Login+libraries=Mga Library+confAnchor=Anchor ng Pahina ng Confluence+confTimeout=Nag-timeout ang koneksyon+confSrvTakeTooLong=Masyadong matagal tumugon ang server sa {1}.+confCannotInsertNew=Hindi maisingit ang draw.io diagram sa bagong pahina ng Confluence+confSaveTry=Paki-save ang pahina at subukan muli.+confCannotGetID=Hindi matukoy ang page ID+confContactAdmin=Mangyaring makipag-ugnayan sa iyong Confluence administrator.+readErr=Error sa Pagbasa+editingErr=Error sa Pag-edit+confExtEditNotPossible=Hindi maaaring i-edit ang diagram na ito nang panlabas. Subukang i-edit ito habang ine-edit ang pahina+confEditedExt=Diagram/Pahina ay na-edit nang panlabas+diagNotFound=Hindi Natagpuan ang Diagram+confEditedExtRefresh=Diagram/Pahina ay na-edit nang panlabas. Paki-refresh ang pahina.+confCannotEditDraftDelOrExt=Hindi ma-edit ang mga diagram sa draft na pahina, tinanggal ang diagram mula sa pahina, o na-edit ang diagram nang panlabas. Pakisuri ang pahina.+retBack=Bumalik+confDiagNotPublished=Ang diagram ay hindi kabilang sa na-publish na pahina+createdByDraw=Nilikha ng draw.io+filenameShort=Masyadong maikli ang filename+invalidChars=Hindi wastong mga character+alreadyExst=Mayroon nang {1}+draftReadErr=Error sa Pagbasa ng Draft+diagCantLoad=Hindi ma-load ang diagram+draftWriteErr=Error sa Pagsulat ng Draft+draftCantCreate=Hindi malikha ang draft+confDuplName=May nakitang duplicate na pangalan ng diagram. Mangyaring pumili ng ibang pangalan.+confSessionExpired=Mukhang nag-expire na ang iyong session. Mag-log in ulit para makapagpatuloy.+login=Mag-log indrawPrev=draw.io previewdrawDiag=draw.io diagram-invalidCallFnNotFound=Invalid Call: {1} not found-invalidCallErrOccured=Invalid Call: An error occurred, {1}+invalidCallFnNotFound=Di-wastong Tawag: Hindi nahanap ang {1}+invalidCallErrOccured=Di-wastong Tawag: May naganap na error, {1}anonymous=Anonymous-confGotoPage=Go to containing page-showComments=Show Comments+confGotoPage=Pumunta sa kinalalagyang pahina+showComments=Ipakita ang mga KomentoconfError=Error: {1}gliffyImport=Gliffy Import-gliffyImportInst1=Click the "Start Import" button to import all Gliffy diagrams to draw.io.-gliffyImportInst2=Please note that the import procedure will take some time and the browser window must remain open until the import is completed.-startImport=Start Import+gliffyImportInst1=I-click ang button na "Simulan ang Import" para i-import ang lahat ng Gliffy diagram sa draw.io.+gliffyImportInst2=Tandaan na ang proseso ng pag-import ay tatagal ng ilang oras at kailangang nakabukas ang browser window hanggang makumpleto ang import.+startImport=Simulan ang ImportdrawConfig=draw.io Configuration-customLib=Custom Libraries-customTemp=Custom Templates+customLib=Mga Custom na Library+customTemp=Mga Custom na TemplatepageIdsExp=Page IDs ExportdrawReindex=draw.io re-indexing-working=Working-drawConfigNotFoundInst=draw.io Configuration Space (DRAWIOCONFIG) does not exist. This space is needed to store draw.io configuration files and custom libraries/templates.-createConfSp=Create Config Space-unexpErrRefresh=Unexpected error, please refresh the page and try again.-configJSONInst=Write draw.io JSON configuration in the editor below then click save. If you need help, please refer to-thisPage=this page-curCustLib=Current Custom Libraries-libName=Library Name-action=Action+working=Gumagana+drawConfigNotFoundInst=Walang draw.io Configuration Space (DRAWIOCONFIG). Kailangan ang space na ito para mag-imbak ng draw.io configuration files at custom na libraries/templates.+createConfSp=Lumikha ng Config Space+unexpErrRefresh=Hindi inaasahang error, paki-refresh ang pahina at subukan ulit.+configJSONInst=Isulat ang draw.io JSON configuration sa editor sa ibaba pagkatapos ay i-click ang save. Kung kailangan mo ng tulong, sumangguni sa+thisPage=pahinang ito+curCustLib=Mga Kasalukuyang Custom na Library+libName=Pangalan ng Library+action=AksyondrawConfID=draw.io Config ID-addLibInst=Click the "Add Library" button to upload a new library.-addLib=Add Library-customTempInst1=Custom templates are draw.io diagrams saved in children pages of-customTempInst2=For more details, please refer to-tempsPage=Templates page-pageIdsExpInst1=Select export target, then click the "Start Export" button to export all pages IDs.-pageIdsExpInst2=Please note that the export procedure will take some time and the browser window must remain open until the export is completed.-startExp=Start Export-refreshDrawIndex=Refresh draw.io Diagrams Index-reindexInst1=Click the "Start Indexing" button to refresh draw.io diagrams index.-reindexInst2=Please note that the indexing procedure will take some time and the browser window must remain open until the indexing is completed.-startIndexing=Start Indexing-confAPageFoundFetch=Page "{1}" found. Fetching-confAAllDiagDone=All {1} diagrams processed. Process finished.-confAStartedProcessing=Started processing page "{1}"-confAAllDiagInPageDone=All {1} diagrams in page "{2}" processed successfully.-confAPartialDiagDone={1} out of {2} {3} diagrams in page "{4}" processed successfully.-confAUpdatePageFailed=Updating page "{1}" failed.-confANoDiagFoundInPage=No {1} diagrams found in page "{2}".-confAFetchPageFailed=Fetching the page failed.-confANoDiagFound=No {1} diagrams found. Process finished.-confASearchFailed=Searching for {1} diagrams failed. Please try again later.-confAGliffyDiagFound={2} diagram "{1}" found. Importing-confAGliffyDiagImported={2} diagram "{1}" imported successfully.-confASavingImpGliffyFailed=Saving imported {2} diagram "{1}" failed.-confAImportedFromByDraw=Imported from "{1}" by draw.io-confAImportGliffyFailed=Importing {2} diagram "{1}" failed.-confAFetchGliffyFailed=Fetching {2} diagram "{1}" failed.-confACheckBrokenDiagLnk=Checking for broken diagrams links.-confADelDiagLinkOf=Deleting diagram link of "{1}"-confADupLnk=(duplicate link)-confADelDiagLnkFailed=Deleting diagram link of "{1}" failed.-confAUnexpErrProcessPage=Unexpected error during processing the page with id: {1}-confADiagFoundIndex=Diagram "{1}" found. Indexing-confADiagIndexSucc=Diagram "{1}" indexed successfully.-confAIndexDiagFailed=Indexing diagram "{1}" failed.-confASkipDiagOtherPage=Skipped "{1}" as it belongs to another page!-confADiagUptoDate=Diagram "{1}" is up to date.-confACheckPagesWDraw=Checking pages having draw.io diagrams.-confAErrOccured=An error occurred!-savedSucc=Saved successfully-confASaveFailedErr=Saving Failed (Unexpected Error)-character=Character-confAConfPageDesc=This page contains draw.io configuration file (configuration.json) as attachment-confALibPageDesc=This page contains draw.io custom libraries as attachments-confATempPageDesc=This page contains draw.io custom templates as attachments-confAConfSpaceDesc=This space is used to store draw.io configuration files and custom libraries/templates-confANoCustLib=No Custom Libraries-delFailed=Delete failed!-showID=Show ID-confAIncorrectLibFileType=Incorrect file type. Libraries should be XML files.-uploading=Uploading-confALibExist=This library already exists-confAUploadSucc=Uploaded successfully-confAUploadFailErr=Upload Failed (Unexpected Error)+addLibInst=I-click ang button na "Magdagdag ng Library" para mag-upload ng bagong library.+addLib=Magdagdag ng Library+customTempInst1=Ang mga custom na template ay mga draw.io diagram na naka-save sa mga child page ng+customTempInst2=Para sa higit pang detalye, mangyaring sumangguni sa+tempsPage=Pahina ng mga Template+pageIdsExpInst1=Pumili ng export target, pagkatapos i-click ang button na "Simulan ang Export" para i-export ang lahat ng page ID.+pageIdsExpInst2=Mangyaring tandaan na ang proseso ng pag-export ay tatagal ng ilang oras at dapat manatiling bukas ang browser window hanggang makumpleto ang export.+startExp=Simulan ang Export+refreshDrawIndex=I-refresh ang Index ng draw.io Diagrams+reindexInst1=I-click ang button na "Simulan ang Indexing" para i-refresh ang index ng draw.io diagrams.+reindexInst2=Mangyaring tandaan na ang proseso ng indexing ay tatagal ng ilang oras at dapat manatiling bukas ang browser window hanggang makumpleto ang indexing.+startIndexing=Simulan ang Indexing+confAPageFoundFetch=Nahanap ang page na "{1}". Kinukuha+confAAllDiagDone=Lahat ng {1} diagram ay naproseso na. Tapos na ang proseso.+confAStartedProcessing=Sinimulan ang pagproseso ng page na "{1}"+confAAllDiagInPageDone=Lahat ng {1} diagram sa page na "{2}" ay matagumpay na naproseso.+confAPartialDiagDone={1} sa {2} {3} diagram sa page na "{4}" ay matagumpay na naproseso.+confAUpdatePageFailed=Nabigo ang pag-update ng page na "{1}".+confANoDiagFoundInPage=Walang nahanap na {1} diagram sa page na "{2}".+confAFetchPageFailed=Nabigo ang pagkuha ng page.+confANoDiagFound=Walang nahanap na {1} diagram. Tapos na ang proseso.+confASearchFailed=Nabigo ang paghahanap ng {1} mga diagram. Pakisubukang muli mamaya.+confAGliffyDiagFound=Natagpuan ang {2} diagram na "{1}". Ini-import+confAGliffyDiagImported=Matagumpay na na-import ang {2} diagram na "{1}".+confASavingImpGliffyFailed=Nabigo ang pag-save ng na-import na {2} diagram na "{1}".+confAImportedFromByDraw=Na-import mula sa "{1}" ng draw.io+confAImportGliffyFailed=Nabigo ang pag-import ng {2} diagram na "{1}".+confAFetchGliffyFailed=Nabigo ang pagkuha ng {2} diagram na "{1}".+confACheckBrokenDiagLnk=Sinusuri ang mga sirang link ng diagram.+confADelDiagLinkOf=Binubura ang link ng diagram ng "{1}"+confADupLnk=(duplicate na link)+confADelDiagLnkFailed=Nabigo ang pagbura ng link ng diagram ng "{1}".+confAUnexpErrProcessPage=Hindi inaasahang error habang pinoproseso ang pahina na may id: {1}+confADiagFoundIndex=Natagpuan ang diagram na "{1}". Ini-index+confADiagIndexSucc=Matagumpay na na-index ang diagram na "{1}".+confAIndexDiagFailed=Nabigo ang pag-index ng diagram na "{1}".+confASkipDiagOtherPage=Nilaktawan ang "{1}" dahil ito ay nabibilang sa ibang pahina!+confADiagUptoDate=Napapanahon ang diagram na "{1}".+confACheckPagesWDraw=Sinusuri ang mga pahinang may draw.io diagram.+confAErrOccured=May naganap na error!+savedSucc=Matagumpay na na-save+confASaveFailedErr=Nabigo ang Pag-save (Hindi Inaasahang Error)+character=Karakter+confAConfPageDesc=Ang pahinang ito ay naglalaman ng draw.io configuration file (configuration.json) bilang attachment+confALibPageDesc=Ang pahinang ito ay naglalaman ng mga draw.io custom library bilang mga attachment+confATempPageDesc=Ang pahinang ito ay naglalaman ng mga draw.io custom template bilang mga attachment+confAConfSpaceDesc=Ang space na ito ay ginagamit upang mag-imbak ng mga configuration file at custom libraries/templates ng draw.io+confANoCustLib=Walang Custom Libraries+delFailed=Nabigo ang pag-delete!+showID=Ipakita ang ID+confAIncorrectLibFileType=Maling uri ng file. Ang mga library ay dapat na XML files.+uploading=Nag-a-upload+confALibExist=Mayroon nang ganitong library+confAUploadSucc=Matagumpay na na-upload+confAUploadFailErr=Nabigo ang Pag-upload (Hindi Inaasahang Error)hiResPreview=High Res Preview-officeNotLoggedGD=You are not logged in to Google Drive. Please open draw.io task pane and login first.-officePopupInfo=Please complete the process in the pop-up window.-pickODFile=Pick OneDrive File-createODFile=Create OneDrive File-pickGDriveFile=Pick Google Drive File-createGDriveFile=Create Google Drive File-pickDeviceFile=Pick Device File-vsdNoConfig="vsdurl" is not configured+officeNotLoggedGD=Hindi ka naka-log in sa Google Drive. Mangyaring buksan ang draw.io task pane at mag-login muna.+officePopupInfo=Mangyaring kumpletuhin ang proseso sa pop-up window.+pickODFile=Pumili ng OneDrive File+createODFile=Lumikha ng OneDrive File+pickGDriveFile=Pumili ng Google Drive File+createGDriveFile=Lumikha ng Google Drive File+pickDeviceFile=Pumili ng Device File+vsdNoConfig=Hindi naka-configure ang "vsdurl"ruler=Ruler-units=Units-points=Points-inches=Inches-millimeters=Millimeters-confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.-confDiagEditedExt=Diagram is edited in another session. It will be saved as a new attachment version but the page will show other session's modifications.-macroNotFound=Macro Not Found-confAInvalidPageIdsFormat=Incorrect Page IDs file format-confACollectingCurPages=Collecting current pages-confABuildingPagesMap=Building pages mapping-confAProcessDrawDiag=Started processing imported draw.io diagrams-confAProcessDrawDiagDone=Finished processing imported draw.io diagrams-confAProcessImpPages=Started processing imported pages-confAErrPrcsDiagInPage=Error processing draw.io diagrams in page "{1}"-confAPrcsDiagInPage=Processing draw.io diagrams in page "{1}"-confAImpDiagram=Importing diagram "{1}"-confAImpDiagramFailed=Importing diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.-confAImpDiagramError=Error importing diagram "{1}". Cannot fetch or save the diagram. Cannot fix this diagram links.-confAUpdateDgrmCCFailed=Updating link to diagram "{1}" failed.-confImpDiagramSuccess=Updating diagram "{1}" done successfully.-confANoLnksInDrgm=No links to update in: {1}-confAUpdateLnkToPg=Updated link to page: "{1}" in diagram: "{2}"-confAUpdateLBLnkToPg=Updated lightbox link to page: "{1}" in diagram: "{2}"-confAUpdateLnkBase=Updated base URL from: "{1}" to: "{2}" in diagram: "{3}"-confAPageIdsImpDone=Page IDs Import finished-confAPrcsMacrosInPage=Processing draw.io macros in page "{1}"-confAErrFetchPage=Error fetching page "{1}"-confAFixingMacro=Fixing macro of diagram "{1}"-confAErrReadingExpFile=Error reading export file-confAPrcsDiagInPageDone=Processing draw.io diagrams in page "{1}" finished-confAFixingMacroSkipped=Fixing macro of diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.-pageIdsExpTrg=Export target-confALucidDiagImgImported={2} diagram "{1}" image extracted successfully-confASavingLucidDiagImgFailed=Extracting {2} diagram "{1}" image failed-confGetInfoFailed=Fetching file info from {1} failed.-confCheckCacheFailed=Cannot get cached file info.-confReadFileErr=Cannot read "{1}" file from {2}.-confSaveCacheFailed=Unexpected error. Cannot save cached file-orgChartType=Org Chart Type+units=Mga Yunit+points=Mga Punto+inches=Mga Pulgada+millimeters=Mga Milimetro+confEditDraftDelOrExt=Ang diagram na ito ay nasa draft page, tinanggal mula sa page, o na-edit sa labas. Ise-save ito bilang bagong attachment version at maaaring hindi makita sa page.+confDiagEditedExt=Ang diagram ay na-edit sa ibang session. Ise-save ito bilang bagong attachment version ngunit ipapakita ng page ang mga pagbabago mula sa ibang session.+macroNotFound=Hindi Natagpuan ang Macro+confAInvalidPageIdsFormat=Maling format ng file ng Page IDs+confACollectingCurPages=Kinokolekta ang kasalukuyang mga pahina+confABuildingPagesMap=Binubuo ang mapping ng mga pahina+confAProcessDrawDiag=Sinimulan ang pagproseso ng mga na-import na draw.io diagram+confAProcessDrawDiagDone=Natapos ang pagproseso ng mga na-import na draw.io diagram+confAProcessImpPages=Sinimulan ang pagproseso ng mga na-import na pahina+confAErrPrcsDiagInPage=May error sa pagproseso ng draw.io diagram sa pahina "{1}"+confAPrcsDiagInPage=Pinoproseso ang draw.io diagram sa pahina "{1}"+confAImpDiagram=Ini-import ang diagram "{1}"+confAImpDiagramFailed=Nabigo ang pag-import ng diagram "{1}". Hindi mahanap ang bagong page ID nito. Maaaring tumutukoy ito sa pahinang hindi na-import.+confAImpDiagramError=Error sa pag-import ng diagram "{1}". Hindi ma-fetch o ma-save ang diagram. Hindi maayos ang mga link ng diagram na ito.+confAUpdateDgrmCCFailed=Nabigo ang pag-update ng link sa diagram "{1}".+confImpDiagramSuccess=Matagumpay na na-update ang diagram "{1}".+confANoLnksInDrgm=Walang mga link na i-update sa: {1}+confAUpdateLnkToPg=Na-update ang link sa pahina: "{1}" sa diagram: "{2}"+confAUpdateLBLnkToPg=Na-update ang lightbox link sa pahina: "{1}" sa diagram: "{2}"+confAUpdateLnkBase=Na-update ang base URL mula: "{1}" patungo: "{2}" sa diagram: "{3}"+confAPageIdsImpDone=Natapos ang pag-import ng Page IDs+confAPrcsMacrosInPage=Pinoproseso ang draw.io macro sa pahina "{1}"+confAErrFetchPage=Error sa pagkuha ng pahina "{1}"+confAFixingMacro=Inaayos ang macro ng diagram "{1}"+confAErrReadingExpFile=Error sa pagbasa ng export file+confAPrcsDiagInPageDone=Natapos ang pagproseso ng draw.io diagram sa pahina "{1}"+confAFixingMacroSkipped=Nabigo ang pag-aayos ng macro ng diagram "{1}". Hindi mahanap ang bagong page ID nito. Maaaring tumutukoy ito sa pahinang hindi na-import.+pageIdsExpTrg=Target ng pag-export+confALucidDiagImgImported=Matagumpay na nakuha ang imahe ng {2} diagram na "{1}"+confASavingLucidDiagImgFailed=Nabigo ang pagkuha ng imahe ng {2} diagram na "{1}"+confGetInfoFailed=Nabigo ang pagkuha ng impormasyon ng file mula sa {1}.+confCheckCacheFailed=Hindi makuha ang naka-cache na impormasyon ng file.+confReadFileErr=Hindi mabasa ang file na "{1}" mula sa {2}.+confSaveCacheFailed=Hindi inaasahang error. Hindi ma-save ang naka-cache na file+orgChartType=Uri ng Org Chartlinear=Linearhanger2=Hanger 2hanger4=Hanger 4fishbone1=Fishbone 1fishbone2=Fishbone 2-1ColumnLeft=Single Column Left-1ColumnRight=Single Column Right+1ColumnLeft=Isahang Kolum sa Kaliwa+1ColumnRight=Isahang Kolum sa Kanansmart=Smart-parentChildSpacing=Parent Child Spacing-siblingSpacing=Sibling Spacing-confNoPermErr=Sorry, you don't have enough permissions to view this embedded diagram from page {1}-copyAsImage=Copy as Image-copyAsText=Copy as Text-copyAsSvg=Kopya bilang SVG+parentChildSpacing=Espasyo ng Magulang at Anak+siblingSpacing=Espasyo ng Magkakapatid+confNoPermErr=Paumanhin, wala kang sapat na pahintulot upang tingnan ang naka-embed na diagram mula sa pahina {1}+copyAsImage=Kopyahin bilang Imahe+copyAsText=Kopyahin bilang Teksto+copyAsSvg=Kopyahin bilang SVGlucidImport=Lucidchart Import-lucidImportInst1=Click the "Start Import" button to import all Lucidchart diagrams.-installFirst=Please install {1} first+lucidImportInst1=I-click ang button na "Start Import" upang i-import ang lahat ng Lucidchart diagram.+installFirst=Mangyaring i-install muna ang {1}drawioChromeExt=draw.io Chrome Extension-loginFirstThen=Please login to {1} first, then {2}-errFetchDocList=Error: Couldn't fetch documents list-builtinPlugins=Built-in Plugins-extPlugins=External Plugins-backupFound=Backup file found-chromeOnly=This feature only works in Google Chrome-msgDeleted=This message has been deleted-confAErrFetchDrawList=Error fetching diagrams list. Some diagrams are skipped.-confAErrCheckDrawDiag=Cannot check diagram {1}-confAErrFetchPageList=Error fetching pages list-confADiagImportIncom={1} diagram "{2}" is imported partially and may have missing shapes-invalidSel=Invalid selection-diagNameEmptyErr=Diagram name cannot be empty-openDiagram=Open Diagram-newDiagram=New diagram-editable=Editable-confAReimportStarted=Re-import {1} diagrams started...-spaceFilter=Filter by spaces-curViewState=Current Viewer State-pageLayers=Page and Layers-customize=Customize-firstPage=First Page (All Layers)-curEditorState=Current Editor State-noAnchorsFound=No anchors found+loginFirstThen=Mangyaring mag-login muna sa {1}, pagkatapos {2}+errFetchDocList=Error: Hindi makuha ang listahan ng mga dokumento+builtinPlugins=Mga Built-in na Plugin+extPlugins=Mga External na Plugin+backupFound=Natagpuan ang backup file+chromeOnly=Ang feature na ito ay gumagana lamang sa Google Chrome+msgDeleted=Ang mensaheng ito ay tinanggal na+confAErrFetchDrawList=Error sa pagkuha ng listahan ng mga diagram. May ilang diagram na nilaktawan.+confAErrCheckDrawDiag=Hindi masuri ang diagram {1}+confAErrFetchPageList=Error sa pagkuha ng listahan ng mga pahina+confADiagImportIncom=Ang {1} diagram na "{2}" ay bahagyang na-import at maaaring may mga nawawalang hugis+invalidSel=Hindi wastong seleksyon+diagNameEmptyErr=Hindi maaaring walang laman ang pangalan ng diagram+openDiagram=Buksan ang Diagram+newDiagram=Bagong diagram+editable=Nae-edit+confAReimportStarted=Nagsimula na ang muling pag-import ng {1} mga diagram...+spaceFilter=I-filter ayon sa mga space+curViewState=Kasalukuyang Estado ng Viewer+pageLayers=Pahina at mga Layer+customize=I-customize+firstPage=Unang Pahina (Lahat ng Layer)+curEditorState=Kasalukuyang Estado ng Editor+noAnchorsFound=Walang nahanap na mga anchorattachment=Attachment-curDiagram=Current Diagram-recentDiags=Recent Diagrams+curDiagram=Kasalukuyang Diagram+recentDiags=Mga Kamakailang DiagramcsvImport=CSV Import-chooseFile=Choose a file...-choose=Choose-gdriveFname=Google Drive filename-widthOfViewer=Width of the viewer (px)-heightOfViewer=Height of the viewer (px)-autoSetViewerSize=Automatically set the size of the viewer+chooseFile=Pumili ng file...+choose=Pumili+gdriveFname=Pangalan ng Google Drive file+widthOfViewer=Lapad ng viewer (px)+heightOfViewer=Taas ng viewer (px)+autoSetViewerSize=Awtomatikong itakda ang laki ng viewerthumbnail=Thumbnail-prevInDraw=Preview in draw.io-onedriveFname=OneDrive filename-diagFname=Diagram filename-diagUrl=Diagram URL-showDiag=Show Diagram-diagPreview=Diagram Preview-csvFileUrl=CSV File URL-generate=Generate-selectDiag2Insert=Please select a diagram to insert it.-errShowingDiag=Unexpected error. Cannot show diagram-noRecentDiags=No recent diagrams found-fetchingRecentFailed=Failed to fetch recent diagrams-useSrch2FindDiags=Use the search box to find draw.io diagrams-cantReadChckPerms=Cannot read the specified diagram. Please check you have read permission on that file.-cantFetchChckPerms=Cannot fetch diagram info. Please check you have read permission on that file.-searchFailed=Searching failed. Please try again later.-plsTypeStr=Please type a search string.-unsupportedFileChckUrl=Unsupported file. Please check the specified URL-diagNotFoundChckUrl=Diagram not found or cannot be accessed. Please check the specified URL-csvNotFoundChckUrl=CSV file not found or cannot be accessed. Please check the specified URL-cantReadUpload=Cannot read the uploaded diagram-select=Select-errCantGetIdType=Unexpected Error: Cannot get content id or type.-errGAuthWinBlocked=Error: Google Authentication window blocked-authDrawAccess=Authorize draw.io to access {1}-connTimeout=The connection has timed out-errAuthSrvc=Error authenticating to {1}-plsSelectFile=Please select a file-mustBgtZ={1} must be greater than zero-cantLoadPrev=Cannot load file preview.-errAccessFile=Error: Access Denied. You do not have permission to access "{1}".-noPrevAvail=No preview is available.-personalAccNotSup=Personal accounts are not supported.-errSavingTryLater=Error occurred during saving, please try again later.-plsEnterFld=Please enter {1}-invalidDiagUrl=Invalid Diagram URL-unsupportedVsdx=Unsupported vsdx file-unsupportedImg=Unsupported image file-unsupportedFormat=Unsupported file format-plsSelectSingleFile=Please select a single file only-attCorrupt=Attachment file "{1}" is corrupted-loadAttFailed=Failed to load attachment "{1}"-embedDrawDiag=Embed draw.io Diagram-addDiagram=Add Diagram-embedDiagram=Embed Diagram-editOwningPg=Edit owning page-deepIndexing=Deep Indexing (Index diagrams that aren't used in any page also)-confADeepIndexStarted=Deep Indexing Started-confADeepIndexDone=Deep Indexing Done-officeNoDiagramsSelected=No diagrams found in the selection-officeNoDiagramsInDoc=No diagrams found in the document-officeNotSupported=This feature is not supported in this host application-someImagesFailed={1} out of {2} failed due to the following errors-importingNoUsedDiagrams=Importing {1} Diagrams not used in pages-importingDrafts=Importing {1} Diagrams in drafts-processingDrafts=Processing drafts-updatingDrafts=Updating drafts-updateDrafts=Update drafts-notifications=Notifications+prevInDraw=I-preview sa draw.io+onedriveFname=Pangalan ng OneDrive file+diagFname=Pangalan ng diagram file+diagUrl=URL ng Diagram+showDiag=Ipakita ang Diagram+diagPreview=Preview ng Diagram+csvFileUrl=URL ng CSV File+generate=Gumawa+selectDiag2Insert=Mangyaring pumili ng diagram upang i-insert ito.+errShowingDiag=Hindi inaasahang error. Hindi maipakita ang diagram+noRecentDiags=Walang nahanap na kamakailang diagram+fetchingRecentFailed=Nabigong kunin ang mga kamakailang diagram+useSrch2FindDiags=Gamitin ang search box upang maghanap ng draw.io diagram+cantReadChckPerms=Hindi mabasa ang tinukoy na diagram. Pakitingnan kung mayroon kang pahintulot na basahin ang file na iyon.+cantFetchChckPerms=Hindi makuha ang impormasyon ng diagram. Pakitingnan kung mayroon kang pahintulot na magbasa sa file na iyon.+searchFailed=Nabigo ang paghahanap. Pakisubukan muli mamaya.+plsTypeStr=Mangyaring mag-type ng string para sa paghahanap.+unsupportedFileChckUrl=Hindi suportadong file. Pakitingnan ang tinukoy na URL+diagNotFoundChckUrl=Hindi natagpuan o hindi ma-access ang diagram. Pakitingnan ang tinukoy na URL+csvNotFoundChckUrl=Hindi natagpuan o hindi ma-access ang CSV file. Pakitingnan ang tinukoy na URL+cantReadUpload=Hindi mabasa ang in-upload na diagram+select=Pumili+errCantGetIdType=Hindi Inaasahang Error: Hindi makuha ang content id o type.+errGAuthWinBlocked=Error: Na-block ang Google Authentication window+authDrawAccess=Pahintulutan ang draw.io na ma-access ang {1}+connTimeout=Nag-timeout ang koneksyon+errAuthSrvc=Error sa pag-authenticate sa {1}+plsSelectFile=Mangyaring pumili ng file+mustBgtZ=Ang {1} ay dapat na higit sa zero+cantLoadPrev=Hindi mai-load ang preview ng file.+errAccessFile=Error: Tinanggihan ang Access. Wala kang pahintulot na ma-access ang "{1}".+noPrevAvail=Walang available na preview.+personalAccNotSup=Hindi suportado ang mga personal na account.+errSavingTryLater=May error na naganap habang nagse-save, pakisubukan muli mamaya.+plsEnterFld=Mangyaring ilagay ang {1}+invalidDiagUrl=Invalid na Diagram URL+unsupportedVsdx=Hindi suportadong vsdx file+unsupportedImg=Hindi suportadong image file+unsupportedFormat=Hindi suportadong format ng file+plsSelectSingleFile=Mangyaring pumili ng isang file lamang+attCorrupt=Ang attachment file na "{1}" ay sira+loadAttFailed=Nabigong i-load ang attachment na "{1}"+embedDrawDiag=I-embed ang draw.io Diagram+addDiagram=Magdagdag ng Diagram+embedDiagram=I-embed ang Diagram+editOwningPg=I-edit ang may-ari ng pahina+deepIndexing=Deep Indexing (I-index din ang mga diagram na hindi ginagamit sa anumang pahina)+confADeepIndexStarted=Nagsimula na ang Deep Indexing+confADeepIndexDone=Tapos na ang Deep Indexing+officeNoDiagramsSelected=Walang nakitang mga diagram sa pinili+officeNoDiagramsInDoc=Walang nakitang mga diagram sa dokumento+officeNotSupported=Ang feature na ito ay hindi suportado sa host application na ito+someImagesFailed={1} sa {2} ang nabigo dahil sa mga sumusunod na error+importingNoUsedDiagrams=Ini-import ang {1} Diagram na hindi ginagamit sa mga pahina+importingDrafts=Ini-import ang {1} Diagram sa mga draft+processingDrafts=Pinoproseso ang mga draft+updatingDrafts=Ina-update ang mga draft+updateDrafts=I-update ang mga draft+notifications=Mga AbisodrawioImp=draw.io Import-confALibsImp=Importing draw.io Libraries-confALibsImpFailed=Importing {1} library failed-contributors=Contributors-drawDiagrams=draw.io Diagrams-errFileNotFoundOrNoPer=Error: Access Denied. File not found or you do not have permission to access "{1}" on {2}.-confACheckPagesWEmbed=Checking pages having embedded draw.io diagrams.-confADelBrokenEmbedDiagLnk=Removing broken embedded diagram links-replaceWith=Replace with-replaceAll=Replace All-confASkipDiagModified=Skipped "{1}" as it was modified after initial import-replFind=Replace/Find-matchesRepl={1} matches replaced-draftErrDataLoss=An error occurred while reading the draft file. The diagram cannot be edited now to prevent any possible data loss. Please try again later or contact support.+confALibsImp=Ini-import ang mga draw.io Library+confALibsImpFailed=Nabigong i-import ang {1} library+contributors=Mga Kontribyutor+drawDiagrams=Mga draw.io Diagram+errFileNotFoundOrNoPer=Error: Access Denied. Hindi natagpuan ang file o wala kang pahintulot na i-access ang "{1}" sa {2}.+confACheckPagesWEmbed=Sinusuri ang mga pahina na may naka-embed na draw.io diagram.+confADelBrokenEmbedDiagLnk=Tinatanggal ang mga sirang embedded diagram link+replaceWith=Palitan ng+replaceAll=Palitan Lahat+confASkipDiagModified=Nilaktawan ang "{1}" dahil binago ito pagkatapos ng unang pag-import+replFind=Palitan/Hanapin+matchesRepl={1} tugma ang napalitan+draftErrDataLoss=Nagkaroon ng error habang binabasa ang draft file. Hindi maaaring i-edit ang diagram ngayon upang maiwasan ang anumang pagkawala ng data. Pakisubukang muli mamaya o makipag-ugnayan sa support.ibm=IBM-linkToDiagramHint=Add a link to this diagram. The diagram can only be edited from the page that owns it.-linkToDiagram=Link to Diagram-changedBy=Changed By-lastModifiedOn=Last modified on-searchResults=Search Results-showAllTemps=Show all templates+linkToDiagramHint=Magdagdag ng link sa diagram na ito. Ang diagram ay maaari lamang i-edit mula sa pahina na nagmamay-ari nito.+linkToDiagram=Link sa Diagram+changedBy=Binago Ni+lastModifiedOn=Huling binago noong+searchResults=Mga Resulta ng Paghahanap+showAllTemps=Ipakita lahat ng templatenotionToken=Notion Token-selectDB=Select Database-noDBs=No Databases-diagramEdited={1} diagram "{2}" edited-confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?-confFileTooBigErr=File size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration.-owner=Owner+selectDB=Pumili ng Database+noDBs=Walang Database+diagramEdited={1} diagram "{2}" na-edit+confDraftPermissionErr=Hindi maisulat ang draft. Mayroon ka bang pahintulot sa pagsulat/pagbasa ng attachment sa pahinang ito?+confFileTooBigErr=Masyadong malaki ang file. Pakisuri ang "Attachment Maximum Size" ng "Attachment Settings" sa Confluence Configuration.+owner=May-arirepository=Repositorybranch=Branch-meters=Meters-teamsNoEditingMsg=Editor functionality is only available in Desktop environment (in MS Teams App or a web browser)-contactOwner=Contact Owner-viewerOnlyMsg=You cannot edit the diagrams in the mobile platform, please use the desktop client or a web browser.+meters=Metro+teamsNoEditingMsg=Ang editor functionality ay magagamit lamang sa Desktop environment (sa MS Teams App o web browser)+contactOwner=Kontakin ang May-ari+viewerOnlyMsg=Hindi mo ma-edit ang mga diagram sa mobile platform, mangyaring gamitin ang desktop client o web browser.website=Website-check4Updates=Check for updates-attWriteFailedRetry={1}: Attachment write failed, trying again in {2} seconds...-confPartialPageList=We couldn't fetch all pages due to an error in Confluence. Continuing using {1} pages only.+check4Updates=Tingnan kung may mga update+attWriteFailedRetry={1}: Nabigo ang pagsulat ng attachment, susubukan muli sa {2} segundo...+confPartialPageList=Hindi namin nakuha ang lahat ng mga pahina dahil sa error sa Confluence. Magpapatuloy gamit ang {1} na pahina lamang.spellCheck=Spell checker-noChange=No Change-lblToSvg=Convert labels to SVG-txtSettings=Text Settings-LinksLost=Links will be lost-arcSize=Arc Size-editConnectionPoints=Edit Connection Points-notInOffline=Not supported while offline-notInDesktop=Not supported in Desktop App-confConfigSpaceArchived=draw.io Configuration space (DRAWIOCONFIG) is archived. Please restore it first.-confACleanOldVerStarted=Cleaning old diagram draft versions started-confACleanOldVerDone=Cleaning old diagram draft versions finished-confACleaningFile=Cleaning diagram draft "{1}" old versions-confAFileCleaned=Cleaning diagram draft "{1}" done-confAFileCleanFailed=Cleaning diagram draft "{1}" failed-confACleanOnly=Clean Diagram Drafts Only+noChange=Walang Pagbabago+lblToSvg=I-convert ang mga label sa SVG+txtSettings=Mga Setting ng Teksto+LinksLost=Mawawala ang mga link+arcSize=Laki ng Arko+editConnectionPoints=I-edit ang mga Connection Point+notInOffline=Hindi sinusuportahan kapag offline+notInDesktop=Hindi sinusuportahan sa Desktop App+confConfigSpaceArchived=Ang draw.io Configuration space (DRAWIOCONFIG) ay naka-archive. Mangyaring i-restore muna ito.+confACleanOldVerStarted=Nagsimula ang paglilinis ng mga lumang draft version ng diagram+confACleanOldVerDone=Natapos ang paglilinis ng mga lumang draft version ng diagram+confACleaningFile=Nililinis ang mga lumang version ng diagram draft "{1}"+confAFileCleaned=Tapos na ang paglilinis ng diagram draft "{1}"+confAFileCleanFailed=Nabigo ang paglilinis ng diagram draft "{1}"+confACleanOnly=Linisin ang mga Diagram Draft Lamangbrush=Brush-openDevTools=Open Developer Tools-autoBkp=Automatic Backup-confAIgnoreCollectErr=Ignore collecting current pages errors-drafts=Drafts-draftSaveInt=Draft save interval [sec] (0 to disable)-pluginsDisabled=External plugins disabled.-extExpNotConfigured=External image service is not configured+openDevTools=Buksan ang Developer Tools+autoBkp=Awtomatikong Backup+confAIgnoreCollectErr=Huwag pansinin ang mga error sa pagkolekta ng kasalukuyang mga pahina+drafts=Mga Draft+draftSaveInt=Agwat ng pag-save ng draft [seg] (0 para i-disable)+pluginsDisabled=Na-disable ang mga external na plugin.+extExpNotConfigured=Hindi naka-configure ang external na serbisyo ng imahepathFilename=Path/Filename-confAHugeInstances=Very Large Instances-confAHugeInstancesDesc=If this instance includes 100,000+ pages, it is faster to request the current instance pages list from Atlassian. Please contact our support for more details.-choosePageIDsFile=Choose current page IDs csv file-chooseDrawioPsgesFile=Choose pages with draw.io diagrams csv file-private=Private-diagramTooLarge=The diagram is too large, please reduce its size and try again.-selectAdminUsers=Select Admin Users+confAHugeInstances=Napakalaking mga Instance+confAHugeInstancesDesc=Kung ang instance na ito ay may 100,000+ na pahina, mas mabilis na hilingin ang listahan ng kasalukuyang mga pahina ng instance mula sa Atlassian. Mangyaring makipag-ugnayan sa aming support para sa higit pang detalye.+choosePageIDsFile=Pumili ng kasalukuyang page IDs csv file+chooseDrawioPsgesFile=Pumili ng mga pahina na may draw.io diagrams csv file+private=Pribado+diagramTooLarge=Masyadong malaki ang diagram, pakibawasan ang laki nito at subukan muli.+selectAdminUsers=Pumili ng mga Admin UserxyzTeam={1} Team-addTeamTitle=Adding a new draw.io Team-addTeamInst1=To create a new draw.io Team, you need to create a new Atlassian group with "drawio-" prefix (e.g, a group named "drawio-marketing").-addTeamInst2=Then, configure which team member can edit/add configuration, templates, and libraries from this page.-drawioTeams=draw.io Teams-members=Members-adminEditors=Admins/Editors-allowAll=Allow all-noTeams=No teams found-errorLoadingTeams=Error Loading Teams-noTeamMembers=No team members found-errLoadTMembers=Error loading team members-errCreateTeamPage=Error creating team "{1}" page in "draw.io Configuration" space, please check you have the required permissions.-gotoConfigPage=Please create the space from draw.io "Configuration" page.-noAdminsSelected=No admins/editors selected-errCreateConfigFile=Error creating "configuration.json" file, please check you have the required permissions.-errSetPageRestr=Error setting page restrictions-notAdmin4Team=You are not an admin for this team-configUpdated=Configuration updated, restart the editor if you want to work with last configuration.-outOfDateRevisionAlert=You are editing a historical revision of the diagram, please review the revision and open it to replace the latest version. Or close and overwrite/merge later.-confAErrFaqs=There are {1} error(s), the following instructions may help fixing most of the cases. (Please download the log for future references)-confA403ErrFaq=There are ({1}) 403 error(s). The current users must have add (write) permissions on all pages and attachments. Even admins sometimes are not allowed to write to some pages via page restrictions-confA404ErrFaq=There are ({1}) 404 error(s). The attachment/page is not found. This is due to improper migration or the diagram file (an attachment of the page) is deleted.-confA500ErrFaq=There are ({1}) 500 error(s). An internal server error in Confluence Cloud. Such errors are due to overloading the server and usually fixed by retrying the process.-confAOtherErrFaq=There are ({1}) other error(s). Please check the error description. If the description is not clear, please contact our support.-confAReplaceBaseUrl=Replace Base URL in diagram links when no page ID mapping is found+addTeamTitle=Pagdaragdag ng bagong draw.io Team+addTeamInst1=Para gumawa ng bagong draw.io Team, kailangan mong gumawa ng bagong Atlassian group na may "drawio-" prefix (hal., isang group na pinangalanang "drawio-marketing").+addTeamInst2=Pagkatapos, i-configure kung aling miyembro ng team ang maaaring mag-edit/magdagdag ng configuration, templates, at libraries mula sa pahinang ito.+drawioTeams=Mga draw.io Team+members=Mga Miyembro+adminEditors=Mga Admin/Editor+allowAll=Payagan lahat+noTeams=Walang nakitang mga team+errorLoadingTeams=Error sa Pag-load ng mga Team+noTeamMembers=Walang nahanap na miyembro ng team+errLoadTMembers=Error sa paglo-load ng mga miyembro ng team+errCreateTeamPage=Error sa paggawa ng pahina ng team na "{1}" sa "draw.io Configuration" space, pakisuri kung mayroon kang kinakailangang mga pahintulot.+gotoConfigPage=Pakigawa ang space mula sa draw.io "Configuration" na pahina.+noAdminsSelected=Walang napiling mga admin/editor+errCreateConfigFile=Error sa paggawa ng "configuration.json" file, pakisuri kung mayroon kang kinakailangang mga pahintulot.+errSetPageRestr=Error sa pagtatakda ng mga paghihigpit sa pahina+notAdmin4Team=Hindi ka admin para sa team na ito+configUpdated=Na-update ang configuration, i-restart ang editor kung gusto mong gamitin ang huling configuration.+outOfDateRevisionAlert=Nag-e-edit ka ng dating rebisyon ng diagram, pakisuri ang rebisyon at buksan ito para palitan ang pinakabagong bersyon. O isara at i-overwrite/i-merge mamaya.+confAErrFaqs=May {1} (na) error, ang mga sumusunod na tagubilin ay maaaring makatulong sa karamihan ng mga kaso. (Mangyaring i-download ang log para sa sanggunian sa hinaharap)+confA403ErrFaq=May ({1}) 403 na error. Ang kasalukuyang mga user ay dapat may pahintulot na magdagdag (magsulat) sa lahat ng pahina at attachment. Kahit ang mga admin ay minsan hindi pinapayagang magsulat sa ilang pahina dahil sa mga paghihigpit sa pahina+confA404ErrFaq=May ({1}) 404 na error. Hindi nahanap ang attachment/pahina. Ito ay dahil sa hindi wastong migration o ang diagram file (isang attachment ng pahina) ay tinanggal.+confA500ErrFaq=May ({1}) 500 na error. Isang internal server error sa Confluence Cloud. Ang mga ganitong error ay dahil sa sobrang karga ng server at karaniwang naayos sa pamamagitan ng pag-ulit ng proseso.+confAOtherErrFaq=May ({1}) iba pang error. Pakisuri ang paglalarawan ng error. Kung hindi malinaw ang paglalarawan, mangyaring makipag-ugnayan sa aming support.+confAReplaceBaseUrl=Palitan ang Base URL sa mga link ng diagram kapag walang nahanap na page ID mappingdrawSvgPrev=draw.io SVG previewgoogleFonts=Google Fonts-diagDupl=Duplicate Diagram Detected-diagDuplMsg=This diagram is used in multiple places, which can result in unexpected results when edited. We've created an independent copy. Please open the editor again.-diagDuplNoEditMsg=This diagram is used in multiple places. Please edit it within its own page.-confCloudMigConfirm=Warning: This process will edit many pages and diagrams, so it is recommended to stop the Synchrony service during the process. Do you want to proceed?-confCloudMigNotice=In the Cloud instance, please add linkAdjustments to draw.io configuration as follows {1}. Without this configuration, links in diagrams pointing to Confluence pages will not work.-confALogsPageDesc=This page contains logs of draw.io long running services as attachments-confEditOnlyInPageEditor=Can only be edited within Confluence page editor-confEvalWarn=Evaluation License - Not for production use-otherUsersEditing=Other user(s) are editing this diagram-firstTimeGD=First time to access this file?-drawioGDAppNotInstalled=draw.io Google Drive app is not installed, please install it first-ConfDC415Error=Saving drafts is blocked. If you have "Attachment Checker for Confluence" app, please update to the latest version.-remove=Remove-selectPgLyr=Select Page and Layers-errGenPreview=There was an error generating a diagram preview. Please consult technical support.-attAccessErr=Diagram attachment access error: cannot display diagram-widthIntOrFixed=Width must be a valid integer or of value 'fixed'-dupDisabledPgLyrSlct=Diagram duplication is disabled when page and layers are selected-cantDupPickDiffName=Could not duplicate diagram. Please choose a different name.-ownPgAccessDupErr=Owning page access restriction: cannot duplicate diagram.-cantDupTryLater=Could not duplicate diagram. Please try again later.-cantEditLnkd=Cannot edit linked diagram-diagEditOwnPgOnlyOpen=Diagram can only be edited from the page that owns it. Would you like to open the owning page for edit?-diagInTemps=draw.io diagrams in templates-diagInTempsCantEdit=Diagrams in page templates cannot be edited. They can only be edited on pages and blog posts.-confDirectEditDraftLost=This Confluence page has unpublished changes. Editing the diagram from page view may cause data loss. Please edit the Confluence page first and then edit the diagram.-confConfigSpacePerm=Note: If you recently migrated from DC app, please check draw.io Configuration space permissions such that all users can read and only admins can write. In addition, remove the page restrictions on "Configuration" and "Libraries" pages. You may need admin keys to access them. Also, please check the file "configuration.json" in the "Configuration" page is downloadable.-tryCurPageOnErr=Try finding the diagram attachment on the macro page when the linked page fails-confAExtSrvcNoSupported=Embedded diagrams from external services or urls are not supported.+diagDupl=May Nakitang Duplicate na Diagram+diagDuplMsg=Ang diagram na ito ay ginagamit sa maraming lugar, na maaaring magresulta sa mga hindi inaasahang resulta kapag na-edit. Gumawa kami ng independiyenteng kopya. Pakibuksan muli ang editor.+diagDuplNoEditMsg=Ang diagram na ito ay ginagamit sa maraming lugar. Paki-edit ito sa sarili nitong pahina.+confCloudMigConfirm=Babala: Ang prosesong ito ay mag-e-edit ng maraming pahina at diagram, kaya inirerekomenda na ihinto ang Synchrony service habang ginagawa ang proseso. Gusto mo bang magpatuloy?+confCloudMigNotice=Sa Cloud instance, mangyaring idagdag ang linkAdjustments sa draw.io configuration gaya ng sumusunod {1}. Kung wala ang configuration na ito, ang mga link sa diagram na nakaturo sa mga pahina ng Confluence ay hindi gagana.+confALogsPageDesc=Ang pahinang ito ay naglalaman ng mga log ng draw.io na matagal na tumatakbong serbisyo bilang mga attachment+confEditOnlyInPageEditor=Maaari lamang i-edit sa loob ng Confluence page editor+confEvalWarn=Lisensya para sa Pagsusuri - Hindi para sa produksyon+otherUsersEditing=May iba pang (mga) user na nag-e-edit ng diagram na ito+firstTimeGD=Unang beses mong i-access ang file na ito?+drawioGDAppNotInstalled=Hindi naka-install ang draw.io Google Drive app, paki-install muna ito+ConfDC415Error=Naka-block ang pag-save ng mga draft. Kung mayroon kang "Attachment Checker for Confluence" app, pakiupdate sa pinakabagong bersyon.+remove=Alisin+selectPgLyr=Pumili ng Pahina at mga Layer+errGenPreview=Nagkaroon ng error sa paggawa ng preview ng diagram. Mangyaring kumonsulta sa technical support.+attAccessErr=Error sa pag-access ng diagram attachment: hindi maipakita ang diagram+widthIntOrFixed=Ang width ay dapat na valid na integer o may value na 'fixed'+dupDisabledPgLyrSlct=Naka-disable ang pagdo-duplicate ng diagram kapag napili ang pahina at mga layer+cantDupPickDiffName=Hindi ma-duplicate ang diagram. Mangyaring pumili ng ibang pangalan.+ownPgAccessDupErr=Restriksyon sa pag-access ng may-ari ng pahina: hindi ma-duplicate ang diagram.+cantDupTryLater=Hindi ma-duplicate ang diagram. Pakisubukan muli mamaya.+cantEditLnkd=Hindi ma-edit ang naka-link na diagram+diagEditOwnPgOnlyOpen=Ang diagram ay maaari lamang i-edit mula sa pahina na nagmamay-ari nito. Gusto mo bang buksan ang may-ari ng pahina para i-edit?+diagInTemps=mga draw.io diagram sa mga template+diagInTempsCantEdit=Hindi ma-edit ang mga diagram sa mga template ng pahina. Maaari lamang silang i-edit sa mga pahina at blog post.+confDirectEditDraftLost=Ang Confluence page na ito ay may mga hindi pa na-publish na pagbabago. Ang pag-edit ng diagram mula sa page view ay maaaring magdulot ng pagkawala ng data. Mangyaring i-edit muna ang Confluence page at pagkatapos ay i-edit ang diagram.+confConfigSpacePerm=Tandaan: Kung kamakailan ka lang nag-migrate mula sa DC app, pakitingnan ang mga permission ng draw.io Configuration space upang lahat ng user ay makakapagbasa at ang mga admin lamang ang makakapagsulat. Bukod pa rito, alisin ang mga page restriction sa mga pahina ng "Configuration" at "Libraries". Maaaring kailanganin mo ang admin keys para ma-access ang mga ito. Gayundin, pakitingnan na ang file na "configuration.json" sa pahina ng "Configuration" ay mada-download.+tryCurPageOnErr=Subukang hanapin ang diagram attachment sa macro page kapag nabigo ang naka-link na pahina+confAExtSrvcNoSupported=Hindi sinusuportahan ang mga naka-embed na diagram mula sa mga external service o url.gliffyVersionPinning=I-import ang naka-pin na bersyon ng Gliffy sa halip na ang pinakabagong bersyonconfEmbedUpload=Para sa mas mahusay na karanasan sa pag-edit, mangyaring gamitin ang regular na draw.io macro upang magpasok ng blangkong diagram, pagkatapos mula sa (File menu → Import From → Device...) piliin ang file na nais mong i-upload at i-embed.-confPublishErr=May ibang update na nagka-conflict sa iyong publish, pakisubukang muli l'operazione-confACacheMapping=Cache page IDs mapping-confARemImpPages=Remember imported pages-delCachedData=Delete Cached Data-k15tPagesError=Error retrieving Scroll pages. Is Scroll Versions installed?-drawioUninstalled=draw.io has been uninstalled, the editor will now close-confAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.-confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.+confPublishErr=May ibang update na nagka-conflict sa iyong publish, pakisubukang muli ang operasyon+confACacheMapping=I-cache ang mapping ng mga page ID+confARemImpPages=Tandaan ang mga na-import na pahina+delCachedData=Burahin ang Naka-cache na Data+k15tPagesError=May error sa pagkuha ng mga Scroll page. Naka-install ba ang Scroll Versions?+drawioUninstalled=Na-uninstall na ang draw.io, magsasara na ang editor+confAttachmentArchived=Ang dayagram ay nasa naka-archive na pahina at hindi ma-load. I-restore ang pahina (ID: {1}) para ma-load ito.+confDiagramMacroDowngrade=Nai-save ang dayagram pero hindi ma-update ang page macro dahil mas bago ang revision ng dayagram sa macro. Mangyaring i-edit ang dayagram mula sa Confluence page editor.DCSave500Error=May ibang operasyon sa Confluence na nakagambala sa pag-save, subukan muli #{1}+confAppNotInstalled=Hindi naka-install ang draw.io diagrams Confluence App.+plsInstallAppInConf=Mangyaring i-install/ikonekta ang App na ito sa Confluence para ma-access ang mga dayagram (bilang karagdagan sa draw.io Confluence app)diff --git a/src/main/webapp/resources/dia_fr.txt b/src/main/webapp/resources/dia_fr.txtindex c2c290d1c..63b344bad 100644--- a/src/main/webapp/resources/dia_fr.txt+++ b/src/main/webapp/resources/dia_fr.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Une autre opération Confluence a interrompu l’enregistrement, réessayez #{1}+confAppNotInstalled=L'application draw.io diagrams pour Confluence n'est pas installée.+plsInstallAppInConf=Veuillez installer/connecter cette application dans Confluence pour pouvoir accéder aux diagrammes (en plus de l'application draw.io Confluence)diff --git a/src/main/webapp/resources/dia_gl.txt b/src/main/webapp/resources/dia_gl.txtindex 07c5fc4fd..caa29e358 100644--- a/src/main/webapp/resources/dia_gl.txt+++ b/src/main/webapp/resources/dia_gl.txt@@ -3,7 +3,7 @@about=SobreaboutDrawio=Sobre draw.ioaccessDenied=Acceso denegado-accounts=Accounts+accounts=Contasaction=AcciónactualSize=Tamaño actualadaptiveColors=Cores adaptativas@@ -16,38 +16,38 @@ addLayer=Engadir capaaddProperty=Engadir propiedadeaddress=EnderezoaddToExistingDrawing=Engadir ao deseño existente-addToScratchpad=Add to Scratchpad+addToScratchpad=Engadir ao borradoraddWaypoint=Engadir punto de pasoadjustTo=Axustar aadvanced=Avanzado-smartTemplate=Smart Template+smartTemplate=Modelo intelixentealign=Alinearalignment=Alineación-allChangesLost=Hanse perder as modificacións!+allChangesLost=Perderanse todos os cambios!allPages=Todas as páxinasallProjects=Todos os proxectosallSelectedObjectsInThisLayer=Todos os obxectos seleccionados están nesta capaallSpaces=Todos os espazosallTags=Todas as etiquetas-anchor=Todas as áncoras+anchor=Áncoraandroid=Androidangle=Ánguloanimations=Animaciónsarc=Arco-areYouSure=Estás certo/a?+areYouSure=Estás seguro/a?ensureDataSaved=Por favor, asegúrate de gardar os teus datos antes de pechar.-allChangesSaved=Gardáronse as modificacións.+allChangesSaved=Gardáronse todos os cambiosallChangesSavedInDrive=Gardáronse as modificacións en DriveallowPopups=Permitir as xanelas emerxentes para evitar este diálogo.-allowRelativeUrl=Permitir URL relativos.+allowRelativeUrl=Permitir URL relativosalreadyConnected=Os nodos xa están conectados-appearance=Appearance+appearance=Aparenciaapply=AplicararchiMate21=ArchiMate 2.1arrange=Organizararrow=Frechaarrows=Frechas-askMeAnything=Ask me anything+askMeAnything=Pregúntame calquera cousaasNew=Como novoatlas=Atlasauthor=Autor/a@@ -73,18 +73,18 @@ blankDiagram=Diagrama baleiroblock=Bloqueblockquote=Bloque de citaciónblog=Blog-bold=Grosa+bold=Negrabootstrap=Bootstrap-border=Contorna-borderColor=Cor de contorna-borderWidth=Grosor de contorna+border=Bordo+borderColor=Cor do bordo+borderWidth=Grosor do bordobottom=AbaixobottomAlign=Alinear abaixobottomLeft=Abaixo esquerdabottomRight=Abaixo dereitabpmn=BPMN-bringForward=Bring Forward-browser=Navigador+bringForward=Traer adiante+browser=NavegadorbulletedList=Lista con viñetasbusiness=Empresabusy=Operación en curso@@ -99,32 +99,32 @@ changeOrientation=Mudar orientaciónchangeUser=Mudar usuariochangeStorage=Mudar almacenamentochangesNotSaved=Non se gardaron as modificacións-classDiagram=Clase Diagrama+classDiagram=Diagrama de clasesuserJoined={1} uniuseuserLeft={1} marchouchatWindowTitle=ParolachooseAnOption=Escolle unha opciónchromeApp=Aplicativo ChromecollaborativeEditingNotice=Aviso importante para a edición colaborativa-compare=Compare+compare=Compararcompressed=Comprimido-commitMessage=Enviar mensaxe+commitMessage=Mensaxe de commitconfigLinkWarn=Este vencello configura draw.io. Simplemente preme OK se confías na persoa que cho enviou!configLinkConfirm=Preme OK para configurar e reiniciar draw.io-container=Container-csv=Valores separados por vírgulas (CSV)+container=Contedor+csv=CSVcurrentLayer=Capa actualdark=EscurodiagramLanguage=Lingua do Diagrama-diagramType=Diagram type+diagramType=Tipo de diagramadiagramXmlDesc=Arquivo XMLdiagramHtmlDesc=Arquivo HTMLdiagramPngDesc=Imaxe Bitmap editábeldiagramSvgDesc=Imaxe Vectorial editábeldidYouMeanToExportToPdf=Referíaste a exportar a PDF?-disabled=Disabled+disabled=DesactivadodraftFound=Atopouse un borrador para '{1}'. Carrégao no editor ou descártao para continuares.-draftRevisionMismatch=There is a different version of this diagram on a shared draft of this page. Please edit the diagram from the draft to ensure you are working with the latest version.+draftRevisionMismatch=Hai unha versión diferente deste diagrama nun borrador compartido desta páxina. Edita o diagrama desde o borrador para asegurar que estás a traballar coa última versión.selectDraft=Escolle un borrador para seguires editando:dragAndDropNotSupported=Arrastrar-soltar non está implementado para imaxes. Prefires importalas?dropboxCharsNotAllowed=Os seguintes caracteres non están permitidos: \ / : ? * " |@@ -138,8 +138,8 @@ clearWaypoints=Limpar puntos de pasoclipart=Clipartclose=PecharclosingFile=Pechando arquivo-realtimeCollaboration=Real-Time Collaboration-collaborate=Collaborate+realtimeCollaboration=Colaboración en tempo real+collaborate=Colaborarcollaborator=Colaborador/acollaborators=Colaboradorescollapse=Reducir@@ -151,25 +151,25 @@ comment=ComentariocommentsNotes=Comentarios/Notascompress=Comprimirconfiguration=Configuración-connect=Ligar+connect=Conectarconnecting=LigandoconnectWithDrive=Ligar con Google Driveconnection=ConexiónconnectionArrows=Frechas de conexiónconnectionPoints=Puntos de conexiónconstrainProportions=Limitar proporcións-containsValidationErrors=Contén errors de validación+containsValidationErrors=Contén erros de validacióncopiedToClipboard=Copiado ao portarretalloscopy=CopiarcopyConnect=Copiar ao conectarcopyCreated=Creouse unha copia do arquivo.-copyData=Copy Data+copyData=Copiar datoscopyOf=Copia de {1}copyOfDrawing=Copia do deseñocopySize=Copiar tamañocopyStyle=Copiar estilocreate=Crear-createBlankDiagram=Create Blank Diagram+createBlankDiagram=Crear diagrama en brancocreateNewDiagram=Crear novo diagramacreateRevision=Crear revisióncreateShape=Crear forma@@ -183,18 +183,18 @@ dashed=TraceadodecideLater=Decidir máis tardedefault=Por defectodelete=Borrar-deleteAll=Delete all+deleteAll=Borrar tododeleteColumn=Borrar columna-deleteLibrary401=Non tes permisos de abondo para borrares esta libraría-deleteLibrary404=Non se atopou a libraría seleccionada-deleteLibrary500=Erro ao borrar a libraría-deleteLibraryConfirm=Estás a piques de borrar esta libraría de forma permanente. Estás certo/a que queres continuar?+deleteLibrary401=Permisos insuficientes para borrar esta biblioteca+deleteLibrary404=Non se atopou a biblioteca seleccionada+deleteLibrary500=Erro ao borrar a biblioteca+deleteLibraryConfirm=Estás a piques de borrar esta biblioteca de forma permanente. Estás seguro/a de que queres continuar?deleteRow=Borrar filadescription=Descrición-describeYourDiagram=Describe your diagram+describeYourDiagram=Describe o teu diagramadevice=Dispositivodiagram=Diagrama-diagramContent=Contenido do diagrama+diagramContent=Contido do diagramadiagramLocked=O diagrama foi bloqueado para evitar unha posíbel perda de datos.diagramLockedBySince=O diagrama está bloqueado por {1} dende hai {2}diagramName=Nome do diagrama@@ -204,13 +204,13 @@ diamond=DiamantediamondThin=Diamante (fino)didYouKnow=Sabías que…direction=Dirección-discard=Anular+discard=DescartardiscardChangesAndReconnect=Anular modificacións e ligar de novogoogleDriveMissingClickHere=Botas de menos Google Drive? Preme aquí!discardChanges=Descartar modificacións-disconnected=Desligar+disconnected=Desconectadodistribute=Distribuír-done=Rematar+done=FeitodoNotShowAgain=Non mostrar de novodotted=PunteadodoubleClickOrientation=Preme dúas veces para mudares a orientación@@ -220,7 +220,7 @@ download=DescarregardownloadDesktop=Obtén para escritoriodownloadAs=Descarregar comoclickHereToSave=Preme aquí para gardar.-dpi=Profundidade de píxeles (DPI)+dpi=DPIdraftDiscarded=Descartouse o borradordraftSaved=Gardouse o borradordragElementsHere=Arrastra elementos aquí@@ -229,17 +229,17 @@ dragUrlsHere=Arrastra URLs aquídraw.io=draw.iodrawing=Deseño{1}drawingEmpty=O deseño está baleiro-drawingTooLarge=O deseño é moi largo+drawingTooLarge=O deseño é demasiado grandedrawioForWork=Draw.io para GSuitedropbox=Dropboxduplicate=DuplicarduplicateIt=Duplicar {1}-divider=Dividir+divider=Divisordx=Dxdy=Dyeast=Lesteedit=Editar-editData=Editar información+editData=Editar datoseditDiagram=Editar diagramaeditGeometry=Editar xeometríaeditImage=Editar imaxe@@ -248,48 +248,48 @@ editLink=Editar vencelloeditShape=Editar formaeditStyle=Editar estiloeditText=Editar texto-editTooltip=Editar axuda da ferramenta+editTooltip=Editar indicaciónglass=VidrogoogleImages=Imaxes de GoogleimageSearch=Procurar imaxeseip=EIPembed=Integrar-embedFonts=Embed Fonts+embedFonts=Integrar tipos de letraembedImages=Integrar imaxesmainEmbedNotice=Pegar isto na páxinaelectrical=Eléctricoellipse=Elipse-embedNotice=Pegar isto cando se atalle o final da páxina-enterGroup=Introducir grupo+embedNotice=Pegar isto unha vez ao final da páxina+enterGroup=Entrar no grupoenterName=Introducir nomeenterPropertyName=Introducir nome da propiedadeenterValue=Introducir valor-entityRelation=Ligazón entre elementos-entityRelationshipDiagram=Diagrama de ligazóns entre elementos+entityRelation=Relación de entidade+entityRelationshipDiagram=Diagrama de relación de entidadeserror=ErroerrorDeletingFile=Erro ao borrar arquivoerrorLoadingFile=Erro ao carregar arquivo-errorRenamingFile=Erro ao nomear arquivo-errorRenamingFileNotFound=Erro ao nomear arquivo. Non se atopou o arquivo.-errorRenamingFileForbidden=Erro ao nomear arquivo. Sen dereitos de acceso de abondo.+errorRenamingFile=Erro ao renomear arquivo+errorRenamingFileNotFound=Erro ao renomear arquivo. Non se atopou o arquivo.+errorRenamingFileForbidden=Erro ao renomear arquivo. Sen dereitos de acceso de abondo.errorSavingDraft=Erro ao gardar borradorerrorSavingFile=Erro ao gardar arquivo-errorSavingFileUnknown=Erro de autorización cos servidores de Google. Por favor, anova a páxina para reintentar.-errorSavingFileForbidden=Erro ao gardar arquivo. Sen dereitos de acceso de abondo.+errorSavingFileUnknown=Erro de autorización cos servidores de Google. Por favor, actualiza a páxina para reintentar.+errorSavingFileForbidden=Erro ao gardar o arquivo. Dereitos de acceso insuficientes.errorSavingFileNameConflict=Non se puido gardar o diagrama. A páxina actual xa ten un arquivo chamado '{1}'.-errorSavingFileNotFound=Erro ao gardar arquivo. Non se atopou o arquivo.+errorSavingFileNotFound=Erro ao gardar o arquivo. Non se atopou o arquivo.errorSavingFileReadOnlyMode=Non se puido gardar o diagrama mentres o modo de só lectura está activado.errorSavingFileSessionTimeout=Rematou a túa sesión. Por favor, <a target='_blank' href='{1}'>{2}</a> e retorna a esta lapela para intentares gardar de novo.errorSendingFeedback=Erro ao enviar comentarios.-errorUpdatingPreview=Erro actualizando a vista previa.+errorUpdatingPreview=Erro ao actualizar a vista previa.exit=SaírexitGroup=Abandonar grupoexpand=Expandir-explore=Explore+explore=Explorarexport=Exportarexporting=ExportandoexportAs=Exportar como-exportOptionsDisabled=As opcións de exportación non están habilitadas+exportOptionsDisabled=Opcións de exportación desactivadasexportOptionsDisabledDetails=O propietario desactivou as opcións para descarregar, imprimir ou copiar para os comentaristas e os visualizadores deste arquivo.externalChanges=Modificacións externasextras=Engadidos@@ -302,7 +302,7 @@ file=ArquivofileChangedOverwriteDialog=O arquivo foi modificado. Queres gardar o arquivo e sobreescribir as alteracións?fileChangedSyncDialog=O arquivo foi modificado.fileChangedSync=O arquivo foi modificado. Preme aquí para sincronizar.-overwrite=Sobreescribir.+overwrite=Sobreescribirsynchronize=Sincronizarfilename=Nome de arquivofileExists=O arquivo xa existe@@ -313,7 +313,7 @@ repositoryNotFound=Non se atopou o repositoriofileNotFoundOrDenied=Non se atopou o arquivo. Ou ben non existe ou non tes acceso.fileNotLoaded=Non se carregou o arquivofileNotSaved=Non se gardou o arquivo-fileOpenLocation=Gustaríache abrir estes arquivos?+fileOpenLocation=Como queres abrir estes arquivos?filetypeHtml=.html supón gardar o arquivo como HTML con redireccionamento cara unha URL da nubefiletypePng=.png supón gardar o arquivo como PNG con información incorporadafiletypeSvg=.svg supón gardar o arquivo como SVG con información incorporada@@ -321,23 +321,23 @@ fileWillBeSavedInAppFolder=Gardarase {1} no cartafol da aplicación.fill=EncherfillColor=Cor de enchementofilterCards=Filtrar cartóns-find=Atopar+find=BuscarfindInDiagram=Buscar no diagramafit=AxustarfitContainer=Redimensionar contedorfitIntoContainer=Axustar no contedorfitPage=Axustar páxina-fitPageWidth=Axustar o grosor da páxina+fitPageWidth=Axustar á largura da páxinafitTo=Axustar en-fitToSheetsAcross=por toda(s) a(s) folla(s)+fitToSheetsAcross=folla(s) de anchofitToBy=porfitToSheetsDown=folla(s) cara abaixofitTwoPages=Dúas páxinasfitWindow=Axustar á xanela-flip=Invertir-flipH=Invertir horizontalmente-flipV=Invertir verticalmente-flowAnimation=Flow Animation+flip=Inverter+flipH=Inverter horizontalmente+flipV=Inverter verticalmente+flowAnimation=Animación de fluxoflowchart=Diagrama de fluxofolder=Cartafolfont=Fonte@@ -345,7 +345,7 @@ fontColor=Cor da fontefontFamily=Familia da fontefontSize=Tamaño da fonteforbidden=Non tes permisos para accederes a este arquivo-format=Formatar+format=FormatoformatPanel=Panel de formatoformatted=FormatadoformattedText=Texto formatado@@ -362,18 +362,18 @@ formatVssx=VSSXformatWebp=WebPformatXmlPlain=XML (Texto chan)formatXml=XML-forum=Foros de axuda/ debate-freehand=Man alzada+forum=Foros de debate/axuda+freehand=A man alzadafromTemplate=Dende modelofromTemplateUrl=Dende modelo URL-fromText=Dende Texto+fromText=Dende textofromUrl=Dende URL-fromThisPage=De esta páxina+fromThisPage=Desta páxinafullscreen=Pantalla completagap=Espazogcp=GCPgeneral=Xeral-getNotionChromeExtension=Get the Notion Chrome Extension+getNotionChromeExtension=Obter a extensión de Notion para Chromegithub=GitHubgitlab=GitLabgliffy=Gliffy@@ -400,7 +400,7 @@ helpTranslate=Axúdanos a traducir a aplicaciónhide=AgocharhideIt=Agochar {1}hidden=Agochado-highContrast=High Contrast+highContrast=Alto contrastehome=Iniciohorizontal=HorizontalhorizontalFlow=Fluxo horizontal@@ -413,16 +413,16 @@ iframe=IFrameignore=Ignorarimage=ImaxeimageUrl=URL da imaxe-images=Imáxenes+images=ImaxesimagePreviewError=Non se puido carregar a imaxe para previsualizala. Por favor comproba a URL.imageTooBig=A imaxe é demasiado grandeimgur=Imgurimport=ImportarimportFrom=Importar dende-improveContrast=Improve Contrast+improveContrast=Mellorar o contrasteincludeCopyOfMyDiagram=Incluír unha copia do meu diagrama-increaseIndent=Aumentar a Identación-decreaseIndent=Diminuír a Identación+increaseIndent=Aumentar a sangría+decreaseIndent=Diminuír a sangríainsert=InseririnsertColumnBefore=Inserir Columna á EsquerdainsertColumnAfter=Inserir Columna á Dereita@@ -433,13 +433,13 @@ insertLink=Inserir VencelloinsertPage=Inserir PáxinainsertRectangle=Inserir RectánguloinsertRhombus=Inserir Rombo-insertRowBefore=Inserir Frecha Antes-insertRowAfter=Inserir Frecha Despois+insertRowBefore=Inserir Fila Arriba+insertRowAfter=Inserir Fila AbaixoinsertText=Inserir Textoinserting=InserindoinstallApp=Instalar AplicacióninvalidFilename=Os nomes dos diagramas non deben conter os seguintes caracteres: \ / | : ; { } < > & + ? = "-invalidLicenseSeeThisPage=A túa licenza non é válida, por favor mira isto <a target="_blank" href="https://www.drawio.com/doc/faq/license-drawio-confluence-jira-cloud">page</a>.+invalidLicenseSeeThisPage=A túa licenza non é válida, por favor mira esta <a target="_blank" href="https://www.drawio.com/doc/faq/license-drawio-confluence-jira-cloud">páxina</a>.invalidInput=Entrada inválidainvalidName=Nome inválidoinvalidOrMissingFile=Falta o arquivo ou é inválido@@ -450,18 +450,18 @@ ios=iOSitalic=Cursivakennedy=KennedykeyboardShortcuts=Atallos de teclado-labels=Labels+labels=Etiquetaslayers=Capaslandscape=Paisaxelanguage=Lingua-leanMapping=Mapa de inclinación+leanMapping=Mapeo LeanlastChange=Última alteración hai {1}lessThanAMinute=menos dun minutolicensingError=Erro na licenzalicenseHasExpired=A licenza para {1} expirou o {2}. Preme aquí.-licenseRequired=This feature requires draw.io to be licensed.+licenseRequired=Esta función require que draw.io teña licenza.licenseWillExpire=A licenza para {1} vai expirar o {2}. Preme aquí.-light=Light+light=ClarolineJumps=Saltos de liñalinkAccountRequired=Se o diagrama non é público precísase unha conta de Google para mirar o vencello.linkText=Texto do vencello@@ -472,16 +472,16 @@ hours=horasdays=díasmonths=mesesyears=anos-restartForChangeRequired=As alteracións aplicaranse ao recargar a páxina.+restartForChangeRequired=Os cambios aplicaranse despois de reiniciar a aplicación.laneColor=Cor de cartela-languageCode=Codice lingua+languageCode=Código de lingualastModified=Último modificadolayout=Disposiciónleft=EsquerdaleftAlign=Aliñar á EsquerdaleftToRight=De esquerda a dereitalibraryTooltip=Arrastra e solta as formas aquí ou preme + para inserires. Preme dúas veces para editares.-lightbox=Caixa luminosa+lightbox=Lightboxline=Liñalineend=Fin de liñalineheight=Altura de liña@@ -491,9 +491,9 @@ link=Ligazónlinks=Ligazónsloading=Carregandolock=Bloquear-locked=Locked+locked=BloqueadolockUnlock=Bloquear/Desbloquear-loggedOut=Desconectar+loggedOut=Sesión pechadalogIn=accederloveIt=Gústame {1}lucidchart=Lucidchart@@ -502,18 +502,18 @@ mathematicalTypesetting=Composición de escritura matemáticamakeCopy=Facer unha copiamanual=Manualmaximize=Maximizar-merge=Merge+merge=Combinarmermaid=MermaidmicrosoftOffice=Microsoft OfficemicrosoftExcel=Microsoft ExcelmicrosoftPowerPoint=Microsoft PowerPointmicrosoftWord=Microsoft Wordmiddle=Ao medio-minimal=Minimal+minimal=Mínimominimize=Minimizarmisc=Misceláneamockups=Maquetas-modern=Modern+modern=ModernomodificationDate=Data de modificaciónmodifiedBy=Modificado pormore=Máis@@ -523,32 +523,32 @@ move=MovermoveToFolder=Mover ao Cartafolmoving=MovendomoveSelectionTo=Mover a selección cara {1}-myDrive=My Drive-myFiles=My Files+myDrive=O meu Drive+myFiles=Os meus ficheirosname=Nome-navigation=Navigación+navigation=Navegaciónnetwork=Redenetworking=Redesnew=Novo-newLibrary=Nova Libraría+newLibrary=Nova BibliotecanextPage=Páxina Seguinteno=Non-noPickFolder=Non, escolle cartafol+noPickFolder=Non, escoller cartafolnoAttachments=Non se atoparon adxuntosnoColor=Sen CornoFiles=Sen ArquivosnoFileSelected=Non hai arquivo seleccionado-noLibraries=Non se atoparon librarías+noLibraries=Non se atoparon bibliotecasnoMoreResults=Non hai máis resultadosnone=NadanoOtherViewers=Non hai outros visualizadoresnoPlugins=Non hai complementosnoPreview=Non hai vista previanoResponse=Non hai resposta do servidor-noResultsFor=Non hai resultados para {1}+noResultsFor=Non hai resultados para '{1}'noRevisions=Non hai revisiónsnoSearchResults=Non se atoparon resultados para a procura-noPageContentOrNotSaved=Non se atoparon áncoras nesta páxina ou aínda no foi gardada+noPageContentOrNotSaved=Non se atoparon áncoras nesta páxina ou aínda non foi gardadanormal=Normalnorth=NortenotADiagramFile=Non é un arquivo de diagrama@@ -567,7 +567,7 @@ oneDrive=OneDriveonline=En liñaopacity=Opacidadeopen=Abrir-openArrow=Abrir Frecha+openArrow=Frecha abertaopenExistingDiagram=Abrir Diagrama ExistenteopenFile=Abrir ArquivoopenFrom=Abrir dende@@ -592,47 +592,47 @@ pageContent=Contido da PáxinapageNotFound=Non se atopou a páxinapageWithNumber=Páxina-{1}pages=Páxinas-pageTabs=Page Tabs+pageTabs=Pestanas de PáxinapageView=Vista de PáxinapageSetup=Axustes da PáxinapageScale=Escala da Páxinapan=PanorámicapanTooltip=Espacio+Arrastrar para crear panorámicapaperSize=Tamaño do papel-pattern=Modelo-parallels=Parallels+pattern=Patrón+parallels=Paralelaspaste=Colar-pasteData=Paste Data+pasteData=Colar datospasteHere=Colar aquípasteSize=Colar tamañopasteStyle=Colar estiloperimeter=PerímetropermissionAnyone=Calquera pode editar-permissionAuthor=O propetario e mais os administradores poden editar+permissionAuthor=O propietario e os administradores poden editarpickFolder=Escolle un cartafol-pickLibraryDialogTitle=Selecciona unha Libraría+pickLibraryDialogTitle=Seleccionar bibliotecapublicDiagramUrl=URL pública do diagramaplaceholders=SubstituciónsplantUml=PlantUMLplugins=ComplementospluginUrl=URL do Complemento-pluginWarning=A páxina solicitou carregar o(s) seguinte(s) complemento(s):\n \n {1}\n \n Desexar carregar este(s) complemento(s) agora?\n \n NOTA: Soamente activa os complementos se comprendes perfectamente as implicacións de seguranza que supón a súa execución.+pluginWarning=A páxina solicitou cargar o(s) seguinte(s) complemento(s):\n \n {1}\n \n Desexa cargar este(s) complemento(s) agora?\n \n NOTA: Soamente active os complementos se comprende perfectamente as implicacións de seguranza que supón a súa execución.plusTooltip=Preme para conectares e clonares (ctrl+click para clonar, shift+click para conectar). Arrastra para conectares (ctrl+drag para clonar).-portrait=Retrato+portrait=Verticalposition=Posición-posterPrint=Imprimir Estampa+posterPrint=Impresión en pósterpreferences=Preferenciaspreview=PrevisualizarpreviousPage=Páxina Anterior-presentationMode=Presentation Mode+presentationMode=Modo Presentaciónprint=ImprimirprocEng=Enx. Proc.project=Proxectopriority=Prioridade-processForHiringNewEmployee=Process for hiring a new employee+processForHiringNewEmployee=Proceso para contratar un novo empregadoproperties=Propiedadespublish=Publicar-quickStart=Vídeo Introdución Rápido+quickStart=Vídeo de Introdución Rápidarack=Armarioradial=RadialradialTree=Árbore Radial@@ -662,20 +662,20 @@ replace=SubstituírreplaceIt={1} xa existe. Quérelo substituír?replaceExistingDrawing=Substituír deseño existenterequired=requerido-requirementDiagram=Requirement Diagram+requirementDiagram=Diagrama de Requisitosreset=ReiniciarresetView=Reiniciar Vistaresize=Redimensionar-resizeLargeImages=Queres redimensionar imaxes largas para facer que a aplicación sexa máis rápida?+resizeLargeImages=Queres redimensionar imaxes grandes para facer que a aplicación sexa máis rápida?retina=Retinaresponsive=Adaptativorestore=Restablecerrestoring=Restablecendo-retryingIn=Tentando de novo en {1} segundo+retryingIn=Tentando de novo en {1} segundo(s)retryingLoad=O carregamento fallou. Tentando de novo…retryingLogin=Esgotouse o tempo de acceso. Tentando de novo…reverse=Invertir-revision=Inversión+revision=RevisiónrevisionHistory=Historial de Revisiónsrhombus=Romboright=Dereita@@ -700,11 +700,11 @@ scratchpad=Caderno de notasscrollbars=Barras de desprazamentosearch=ProcurarsearchShapes=Procurar Formas-selectAll=Procurar Todo+selectAll=Seleccionar TodoselectionOnly=Só a SelecciónselectCard=Seleccionar CartaselectEdges=Seleccionar Bordos-selectedPage=Selected Page+selectedPage=Páxina SeleccionadaselectFile=Seleccionar ArquivoselectFolder=Seleccionar CartafolselectFont=Seleccionar Fonte@@ -713,30 +713,30 @@ selectNone=Deseleccionar TodoselectObjectsInLayer=Seleccionar obxectos na capaselectTemplate=Seleccionar ModeloselectVertices=Seleccionar Vértices-sendBackward=Send Backward+sendBackward=Enviar AtrássendMessage=EnviarsendYourFeedback=Envía os teus comentarios-sequenceDiagram=Sequence Diagram+sequenceDiagram=Diagrama de SecuenciaserviceUnavailableOrBlocked=O servizo non está dispoñíbel ou está bloqueado-sessionExpired=A túa sesión expirou. Por favor refresca a xanela do teu navigador.+sessionExpired=A túa sesión expirou. Por favor actualiza a xanela do navegador.sessionTimeoutOnSave=A túa sesión finalizou e desconectouse de Google Drive. Preme OK para acceder e gardar.setAsDefaultStyle=Establecer como Estilo por Defecto-settings=Settings+settings=Configuraciónshadow=Sombrashadows=Sombrasshape=Formashapes=Formasshare=Compartir-shareCursor=Share Mouse Cursor+shareCursor=Compartir Cursor do RatoshareLink=Vencello para compartir edición-sharingAvailable=Sharing available for Google Drive and OneDrive files.-saveItToGoogleDriveToCollaborate=You'll need to save "{1}" to Google Drive before you can collaborate.-saveToGoogleDrive=Save to Google Drive+sharingAvailable=Compartición dispoñible para ficheiros de Google Drive e OneDrive.+saveItToGoogleDriveToCollaborate=Precisas gardar "{1}" en Google Drive antes de poder colaborar.+saveToGoogleDrive=Gardar en Google Drivesharp=Bruscoshow=Amosar-showRemoteCursors=Show Remote Mouse Cursors+showRemoteCursors=Amosar Cursores Remotos do RatoshowStartScreen=Amosar Pantalla de Inicio-sidebarTooltip=Preme para expandir. Arrastra e solta formas no diagrama. Shift+click para mudar a selección. Alt+click para inserir e ligar.+sidebarTooltip=Preme ou arrastra e solta formas. Shift+click para mudar a selección. Alt+click para inserir e conectar.signs=SinaissignOut=Desconectarsesimple=Simple@@ -744,8 +744,8 @@ simpleArrow=Frecha SimplesimpleViewer=Visualizador Simplesize=Tamañosketch=Borrador-smoothing=Smoothing-snapToGrid=Snap to Grid+smoothing=Suavizado+snapToGrid=Axustar á Grellasolid=SólidosourceSpacing=Espazamento da Fontesouth=Sul@@ -753,12 +753,12 @@ software=Softwarespace=Espazospacing=EspazamentospecialLink=Vencello Especial-stateDiagram=State Diagram+stateDiagram=Diagrama de estadosstandard=EstándarstartDrawing=Comezar a deseñar-stopDrawing=Para de deseñar+stopDrawing=Deixar de debuxarstarting=Comezando-straight=Dereito+straight=Rectostrikethrough=TachadostrokeColor=Cor de liñastyle=Estilo@@ -766,8 +766,8 @@ subscript=Subíndicesummary=Resumosuperscript=Superíndicesupport=Soporte-swap=Swap-swimlaneDiagram=Diagrama Swimlane+swap=Intercambiar+swimlaneDiagram=Diagrama de carríssysml=SysMLtags=Etiquetastable=Táboa@@ -780,33 +780,33 @@ text=TextotextAlignment=Aliñación do TextotextOpacity=Opacidade do Textotheme=Tema-timeout=Contador+timeout=Tempo de esperatitle=Título-to=cara+to=atoBack=Cara AtrástoFront=Cara Adiante-tooLargeUseDownload=Too large, use download instead.+tooLargeUseDownload=Demasiado grande, usa a descarga no seu lugar.toolbar=Barra de ferramentas-tooltips=Axuda de ferramentas-top=Enriba-topAlign=Aliñar enriba-topLeft=Enriba Esquerda-topRight=Enriba Dereita+tooltips=Consellos emerxentes+top=Arriba+topAlign=Aliñar arriba+topLeft=Arriba Esquerda+topRight=Arriba Dereitatransparent=TrasparentetransparentBackground=Fondo Trasparentetrello=TrellotryAgain=Tenta de novo-tryOpeningViaThisPage=Téntao abrir a través desta páxina+tryOpeningViaThisPage=Tenta abrilo a través desta páxinaturn=Rotar a forma só 90ºtype=TipotypeSlashToSearch=Escribe / para buscaruml=UML-unassigned=Unassigned+unassigned=Sen asignarunderline=Subliñarundo=Desfacerungroup=Desagruparunlock=Desbloquear-unmerge=Unmerge+unmerge=Separar celasunsavedChanges=Modificacións non gardadasunsavedChangesClickHereToSave=Modificacións non gardadas. Preme aquí para gardar.untitled=Sen nome@@ -814,34 +814,34 @@ untitledDiagram=Diagrama Sen nomeuntitledLayer=Capa Sen nomeuntitledLibrary=Libraría Sen nomeunknownError=Erro descoñecido-unknownUser=Unknown user-updateExistingDrawing=Update existing drawing+unknownUser=Usuario descoñecido+updateExistingDrawing=Actualizar debuxo existenteupdateFile=Actualizar {1}updatingDocument=Actualizando Documento. Agarda por favor…updatingPreview=Actualizando Vista previa. Agarda por favor…updatingSelection=Actualizando Selección. Agarda por favor…upload=Carregarurl=URL-useBlackAndWhite=Use Branco E Negro-useCurrentSettings=Use current settings+useBlackAndWhite=Usar branco e negro+useCurrentSettings=Usar a configuración actualuseOffline=Empregar Fóra de liñauserDefined=Definido Polo UsuariouseRootFolder=Empregar cartafol raíz?userManual=Manual de Usuariovertical=VerticalverticalFlow=Fluxo Vertical-verticalTree=Árborte Vertical+verticalTree=Árbore Verticalview=VistaviewerSettings=Axustes de Visualizador-viewUrl=Ligar á vista: {1}+viewUrl=Ligazón para ver: {1}voiceAssistant=Asistente por Voz (beta)warning=Avisowaypoints=Etapaswest=Oeste-where=Where-width=Grosor+where=Onde+width=Anchowiki=Wiki-wordWrap=Envolver Palabra+wordWrap=Axuste de liñawritingDirection=Sentido da Escriturayes=SiyourEmailAddress=O teu enderezo electrónico@@ -849,22 +849,22 @@ zoom=ZoomzoomIn=AgrandarzoomOut=Reducirbasic=Básico-businessprocess=Proceso de Negocio+businessprocess=Procesos de Negociocharts=Cadrosengineering=Enxeñaríaflowcharts=Cadros de fluxo-gmdl=Material de Deseño+gmdl=Material Designmindmaps=Mapas mentaismockups=Maquetasnetworkdiagrams=Diagramas de redenothingIsSelected=Non hai nada seleccionadoother=Outrosoftwaredesign=Deseño de Software-venndiagrams=Diagramas Venn+venndiagrams=Diagramas de VennwebEmailOrOther=Web, enderezo electrónico ou outro enderezo de internetwebLink=Ligazón Web-wireframes=Mapa conceptual-property=Propiedad+wireframes=Wireframes+property=Propiedadevalue=ValorshowMore=Amosar MáisshowLess=Amosar Menos@@ -881,7 +881,7 @@ officeSelectSingleDiag=Por favor selecciona un diagrama draw.io sinxelo só senofficeSelectDiag=Por favor selecciona un diagrama draw.io.officeCannotFindDiagram=Non podemos atopar un diagrama draw.io na selecciónnoDiagrams=Non se atoparon diagramas-authFailed=Fallou a Autenticación+authFailed=Fallou a autenticaciónofficeFailedAuthMsg=Non é posíbel autenticar o usuario ou autorizar a aplicación correctamenteconvertingDiagramFailed=A conversión do diagrama fallouofficeCopyImgErrMsg=Debido a algunhas limitacións na aplicación do host, non se puido inserir a imaxe. Por favor copia a imaxe e cólaa no documento manualmente@@ -892,8 +892,8 @@ recent=RecentessharedWithMe=Compartidos ComigosharepointSites=Lugares SharepointerrorFetchingFolder=Erro ao recuperar os elementos do cartafol-errorAuthOD=Error ao autenticar no OneDrive-officeMainHeader=Engade draw.io ao teu documento.+errorAuthOD=Erro ao autenticar no OneDrive+officeMainHeader=Engade diagramas draw.io ao teu documento.officeStepsHeader=Este complemento realiza os seguintes pasos:officeStep1=Conéctase a Microsoft OneDrive, Google Drive ou ao teu dispositivoofficeStep2=Seleccionar un diagrama draw.io.@@ -903,432 +903,434 @@ officeSelDiag=Selecciona un Diagrama draw.io:files=Arquivosshared=Compartidossharepoint=Sharepoint-officeManualUpdateInst=Instrucións: Copia o diagrama draw.io dende este documento. Despois, na caixa de abiaxo, fai click-dereito e escolle "Colar" dende o menú contextual.+officeManualUpdateInst=Instrucións: Copia o diagrama draw.io dende o documento. Despois, na caixa de abaixo, fai clic co botón dereito e escolle "Pegar" no menú contextual.officeClickToEdit=Preme na icona para comezares a editar:pasteDiagram=Colar o diagrama draw.io aquíconnectOD=Ligar ao OneDrive-selectChildren=Select Children-selectSiblings=Select Siblings-selectParent=Select Parent-selectDescendants=Select Descendants-lastSaved=Last saved {1} ago-resolve=Resolve-reopen=Re-open-showResolved=Show Resolved-reply=Reply-objectNotFound=Object not found-reOpened=Re-opened-markedAsResolved=Marked as resolved-noCommentsFound=No comments found-comments=Comments-timeAgo={1} ago+selectChildren=Seleccionar fillos+selectSiblings=Seleccionar irmáns+selectParent=Seleccionar pai+selectDescendants=Seleccionar descendentes+lastSaved=Gardado por última vez hai {1}+resolve=Resolver+reopen=Reabrir+showResolved=Amosar resoltos+reply=Responder+objectNotFound=Obxecto non atopado+reOpened=Reaberto+markedAsResolved=Marcado como resolto+noCommentsFound=Non se atoparon comentarios+comments=Comentarios+timeAgo=Hai {1}confluenceCloud=Confluence Cloud-libraries=Libraries-confAnchor=Confluence Page Anchor-confTimeout=The connection has timed out-confSrvTakeTooLong=The server at {1} is taking too long to respond.-confCannotInsertNew=Cannot insert draw.io diagram to a new Confluence page-confSaveTry=Please save the page and try again.-confCannotGetID=Unable to determine page ID-confContactAdmin=Please contact your Confluence administrator.-readErr=Read Error-editingErr=Editing Error-confExtEditNotPossible=This diagram cannot be edited externally. Please try editing it while editing the page-confEditedExt=Diagram/Page edited externally-diagNotFound=Diagram Not Found-confEditedExtRefresh=Diagram/Page is edited externally. Please refresh the page.-confCannotEditDraftDelOrExt=Cannot edit diagrams in a draft page, diagram is deleted from the page, or diagram is edited externally. Please check the page.-retBack=Return back-confDiagNotPublished=The diagram does not belong to a published page-createdByDraw=Created by draw.io-filenameShort=Filename too short-invalidChars=Invalid characters-alreadyExst={1} already exists-draftReadErr=Draft Read Error-diagCantLoad=Diagram cannot be loaded-draftWriteErr=Draft Write Error-draftCantCreate=Draft could not be created-confDuplName=Duplicate diagram name detected. Please pick another name.-confSessionExpired=Looks like your session expired. Log in again to keep working.-login=Login-drawPrev=draw.io preview-drawDiag=draw.io diagram-invalidCallFnNotFound=Invalid Call: {1} not found-invalidCallErrOccured=Invalid Call: An error occurred, {1}-anonymous=Anonymous-confGotoPage=Go to containing page-showComments=Show Comments-confError=Error: {1}-gliffyImport=Gliffy Import-gliffyImportInst1=Click the "Start Import" button to import all Gliffy diagrams to draw.io.-gliffyImportInst2=Please note that the import procedure will take some time and the browser window must remain open until the import is completed.-startImport=Start Import-drawConfig=draw.io Configuration-customLib=Custom Libraries-customTemp=Custom Templates-pageIdsExp=Page IDs Export-drawReindex=draw.io re-indexing-working=Working-drawConfigNotFoundInst=draw.io Configuration Space (DRAWIOCONFIG) does not exist. This space is needed to store draw.io configuration files and custom libraries/templates.-createConfSp=Create Config Space-unexpErrRefresh=Unexpected error, please refresh the page and try again.-configJSONInst=Write draw.io JSON configuration in the editor below then click save. If you need help, please refer to-thisPage=this page-curCustLib=Current Custom Libraries-libName=Library Name-action=Action-drawConfID=draw.io Config ID-addLibInst=Click the "Add Library" button to upload a new library.-addLib=Add Library-customTempInst1=Custom templates are draw.io diagrams saved in children pages of-customTempInst2=For more details, please refer to-tempsPage=Templates page-pageIdsExpInst1=Select export target, then click the "Start Export" button to export all pages IDs.-pageIdsExpInst2=Please note that the export procedure will take some time and the browser window must remain open until the export is completed.-startExp=Start Export-refreshDrawIndex=Refresh draw.io Diagrams Index-reindexInst1=Click the "Start Indexing" button to refresh draw.io diagrams index.-reindexInst2=Please note that the indexing procedure will take some time and the browser window must remain open until the indexing is completed.-startIndexing=Start Indexing-confAPageFoundFetch=Page "{1}" found. Fetching-confAAllDiagDone=All {1} diagrams processed. Process finished.-confAStartedProcessing=Started processing page "{1}"-confAAllDiagInPageDone=All {1} diagrams in page "{2}" processed successfully.-confAPartialDiagDone={1} out of {2} {3} diagrams in page "{4}" processed successfully.-confAUpdatePageFailed=Updating page "{1}" failed.-confANoDiagFoundInPage=No {1} diagrams found in page "{2}".-confAFetchPageFailed=Fetching the page failed.-confANoDiagFound=No {1} diagrams found. Process finished.-confASearchFailed=Searching for {1} diagrams failed. Please try again later.-confAGliffyDiagFound={2} diagram "{1}" found. Importing-confAGliffyDiagImported={2} diagram "{1}" imported successfully.-confASavingImpGliffyFailed=Saving imported {2} diagram "{1}" failed.-confAImportedFromByDraw=Imported from "{1}" by draw.io-confAImportGliffyFailed=Importing {2} diagram "{1}" failed.-confAFetchGliffyFailed=Fetching {2} diagram "{1}" failed.-confACheckBrokenDiagLnk=Checking for broken diagrams links.-confADelDiagLinkOf=Deleting diagram link of "{1}"-confADupLnk=(duplicate link)-confADelDiagLnkFailed=Deleting diagram link of "{1}" failed.-confAUnexpErrProcessPage=Unexpected error during processing the page with id: {1}-confADiagFoundIndex=Diagram "{1}" found. Indexing-confADiagIndexSucc=Diagram "{1}" indexed successfully.-confAIndexDiagFailed=Indexing diagram "{1}" failed.-confASkipDiagOtherPage=Skipped "{1}" as it belongs to another page!-confADiagUptoDate=Diagram "{1}" is up to date.-confACheckPagesWDraw=Checking pages having draw.io diagrams.-confAErrOccured=An error occurred!-savedSucc=Saved successfully-confASaveFailedErr=Saving Failed (Unexpected Error)-character=Character-confAConfPageDesc=This page contains draw.io configuration file (configuration.json) as attachment-confALibPageDesc=This page contains draw.io custom libraries as attachments-confATempPageDesc=This page contains draw.io custom templates as attachments-confAConfSpaceDesc=This space is used to store draw.io configuration files and custom libraries/templates-confANoCustLib=No Custom Libraries-delFailed=Delete failed!-showID=Show ID-confAIncorrectLibFileType=Incorrect file type. Libraries should be XML files.-uploading=Uploading-confALibExist=This library already exists-confAUploadSucc=Uploaded successfully-confAUploadFailErr=Upload Failed (Unexpected Error)-hiResPreview=High Res Preview-officeNotLoggedGD=You are not logged in to Google Drive. Please open draw.io task pane and login first.-officePopupInfo=Please complete the process in the pop-up window.-pickODFile=Pick OneDrive File-createODFile=Create OneDrive File-pickGDriveFile=Pick Google Drive File-createGDriveFile=Create Google Drive File-pickDeviceFile=Pick Device File-vsdNoConfig="vsdurl" is not configured-ruler=Ruler-units=Units-points=Points-inches=Inches-millimeters=Millimeters-confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.-confDiagEditedExt=Diagram is edited in another session. It will be saved as a new attachment version but the page will show other session's modifications.-macroNotFound=Macro Not Found-confAInvalidPageIdsFormat=Incorrect Page IDs file format-confACollectingCurPages=Collecting current pages-confABuildingPagesMap=Building pages mapping-confAProcessDrawDiag=Started processing imported draw.io diagrams-confAProcessDrawDiagDone=Finished processing imported draw.io diagrams-confAProcessImpPages=Started processing imported pages-confAErrPrcsDiagInPage=Error processing draw.io diagrams in page "{1}"-confAPrcsDiagInPage=Processing draw.io diagrams in page "{1}"-confAImpDiagram=Importing diagram "{1}"-confAImpDiagramFailed=Importing diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.-confAImpDiagramError=Error importing diagram "{1}". Cannot fetch or save the diagram. Cannot fix this diagram links.-confAUpdateDgrmCCFailed=Updating link to diagram "{1}" failed.-confImpDiagramSuccess=Updating diagram "{1}" done successfully.-confANoLnksInDrgm=No links to update in: {1}-confAUpdateLnkToPg=Updated link to page: "{1}" in diagram: "{2}"-confAUpdateLBLnkToPg=Updated lightbox link to page: "{1}" in diagram: "{2}"-confAUpdateLnkBase=Updated base URL from: "{1}" to: "{2}" in diagram: "{3}"-confAPageIdsImpDone=Page IDs Import finished-confAPrcsMacrosInPage=Processing draw.io macros in page "{1}"-confAErrFetchPage=Error fetching page "{1}"-confAFixingMacro=Fixing macro of diagram "{1}"-confAErrReadingExpFile=Error reading export file-confAPrcsDiagInPageDone=Processing draw.io diagrams in page "{1}" finished-confAFixingMacroSkipped=Fixing macro of diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.-pageIdsExpTrg=Export target-confALucidDiagImgImported={2} diagram "{1}" image extracted successfully-confASavingLucidDiagImgFailed=Extracting {2} diagram "{1}" image failed-confGetInfoFailed=Fetching file info from {1} failed.-confCheckCacheFailed=Cannot get cached file info.-confReadFileErr=Cannot read "{1}" file from {2}.-confSaveCacheFailed=Unexpected error. Cannot save cached file-orgChartType=Org Chart Type-linear=Linear-hanger2=Hanger 2-hanger4=Hanger 4-fishbone1=Fishbone 1-fishbone2=Fishbone 2-1ColumnLeft=Single Column Left-1ColumnRight=Single Column Right-smart=Smart-parentChildSpacing=Parent Child Spacing-siblingSpacing=Sibling Spacing-confNoPermErr=Sorry, you don't have enough permissions to view this embedded diagram from page {1}-copyAsImage=Copy as Image-copyAsText=Copy as Text+libraries=Bibliotecas+confAnchor=Áncora de páxina de Confluence+confTimeout=A conexión esgotou o tempo de espera+confSrvTakeTooLong=O servidor en {1} está tardando demasiado en responder.+confCannotInsertNew=Non se pode inserir un diagrama de draw.io nunha páxina nova de Confluence+confSaveTry=Garde a páxina e ténteo de novo.+confCannotGetID=Non foi posible determinar o ID da páxina+confContactAdmin=Contacte co administrador de Confluence.+readErr=Erro de lectura+editingErr=Erro de edición+confExtEditNotPossible=Este diagrama non se pode editar externamente. Ténteo editar mentres edita a páxina+confEditedExt=Diagrama/Páxina editado externamente+diagNotFound=Diagrama non atopado+confEditedExtRefresh=O diagrama/páxina está editado externamente. Actualice a páxina.+confCannotEditDraftDelOrExt=Non se poden editar diagramas nunha páxina de borrador, o diagrama foi eliminado da páxina ou o diagrama está editado externamente. Comprobe a páxina.+retBack=Volver atrás+confDiagNotPublished=O diagrama non pertence a unha páxina publicada+createdByDraw=Creado por draw.io+filenameShort=Nome de ficheiro demasiado curto+invalidChars=Caracteres non válidos+alreadyExst={1} xa existe+draftReadErr=Erro de lectura do borrador+diagCantLoad=Non se pode cargar o diagrama+draftWriteErr=Erro de escritura do borrador+draftCantCreate=Non se puido crear o borrador+confDuplName=Detectouse un nome de diagrama duplicado. Escolla outro nome.+confSessionExpired=Parece que a túa sesión caducou. Inicia sesión de novo para seguir traballando.+login=Iniciar sesión+drawPrev=Vista previa de draw.io+drawDiag=Diagrama de draw.io+invalidCallFnNotFound=Chamada non válida: {1} non atopado+invalidCallErrOccured=Chamada non válida: Produciuse un erro, {1}+anonymous=Anónimo+confGotoPage=Ir á páxina contedora+showComments=Mostrar comentarios+confError=Erro: {1}+gliffyImport=Importación de Gliffy+gliffyImportInst1=Preme o botón "Iniciar importación" para importar todos os diagramas de Gliffy a draw.io.+gliffyImportInst2=Ten en conta que o proceso de importación levará algún tempo e a xanela do navegador debe permanecer aberta ata que se complete a importación.+startImport=Iniciar importación+drawConfig=Configuración de draw.io+customLib=Bibliotecas personalizadas+customTemp=Modelos personalizados+pageIdsExp=Exportación de IDs de páxina+drawReindex=Reindexación de draw.io+working=Traballando+drawConfigNotFoundInst=O espazo de configuración de draw.io (DRAWIOCONFIG) non existe. Este espazo é necesario para almacenar os ficheiros de configuración de draw.io e as bibliotecas/modelos personalizados.+createConfSp=Crear espazo de configuración+unexpErrRefresh=Erro inesperado, actualiza a páxina e téntao de novo.+configJSONInst=Escribe a configuración JSON de draw.io no editor de abaixo e preme gardar. Se precisas axuda, consulta+thisPage=esta páxina+curCustLib=Bibliotecas personalizadas actuais+libName=Nome da biblioteca+action=Acción+drawConfID=ID de configuración de draw.io+addLibInst=Fai clic no botón "Engadir biblioteca" para cargar unha nova biblioteca.+addLib=Engadir biblioteca+customTempInst1=Os modelos personalizados son diagramas de draw.io gardados en páxinas fillas de+customTempInst2=Para máis detalles, consulta+tempsPage=Páxina de modelos+pageIdsExpInst1=Selecciona o destino da exportación e fai clic no botón "Iniciar exportación" para exportar todos os ID das páxinas.+pageIdsExpInst2=Ten en conta que o proceso de exportación levará algún tempo e a xanela do navegador debe permanecer aberta ata que se complete a exportación.+startExp=Iniciar exportación+refreshDrawIndex=Actualizar índice de diagramas de draw.io+reindexInst1=Fai clic no botón "Iniciar indexación" para actualizar o índice de diagramas de draw.io.+reindexInst2=Ten en conta que o proceso de indexación levará algún tempo e a xanela do navegador debe permanecer aberta ata que se complete a indexación.+startIndexing=Iniciar indexación+confAPageFoundFetch=Páxina "{1}" atopada. Obtendo+confAAllDiagDone=Todos os {1} diagramas procesados. Proceso finalizado.+confAStartedProcessing=Iniciouse o procesamento da páxina "{1}"+confAAllDiagInPageDone=Todos os {1} diagramas na páxina "{2}" procesáronse correctamente.+confAPartialDiagDone={1} de {2} {3} diagramas na páxina "{4}" procesáronse correctamente.+confAUpdatePageFailed=Fallou a actualización da páxina "{1}".+confANoDiagFoundInPage=Non se atoparon diagramas {1} na páxina "{2}".+confAFetchPageFailed=Fallou a obtención da páxina.+confANoDiagFound=Non se atoparon diagramas {1}. Proceso finalizado.+confASearchFailed=Fallou a busca de diagramas {1}. Por favor, ténteo de novo máis tarde.+confAGliffyDiagFound=Diagrama {2} "{1}" atopado. Importando+confAGliffyDiagImported=Diagrama {2} "{1}" importado correctamente.+confASavingImpGliffyFailed=Fallou o gardado do diagrama {2} importado "{1}".+confAImportedFromByDraw=Importado de "{1}" por draw.io+confAImportGliffyFailed=Fallou a importación do diagrama {2} "{1}".+confAFetchGliffyFailed=Fallou a obtención do diagrama {2} "{1}".+confACheckBrokenDiagLnk=Comprobando ligazóns de diagramas rotas.+confADelDiagLinkOf=Eliminando ligazón do diagrama "{1}"+confADupLnk=(ligazón duplicada)+confADelDiagLnkFailed=Fallou a eliminación da ligazón do diagrama "{1}".+confAUnexpErrProcessPage=Erro inesperado durante o procesamento da páxina co id: {1}+confADiagFoundIndex=Diagrama "{1}" atopado. Indexando+confADiagIndexSucc=Diagrama "{1}" indexado correctamente.+confAIndexDiagFailed=Fallou a indexación do diagrama "{1}".+confASkipDiagOtherPage=Omitiuse "{1}" porque pertence a outra páxina!+confADiagUptoDate=O diagrama "{1}" está actualizado.+confACheckPagesWDraw=Comprobando páxinas con diagramas draw.io.+confAErrOccured=Produciuse un erro!+savedSucc=Gardado correctamente+confASaveFailedErr=Fallou o gardado (Erro inesperado)+character=Carácter+confAConfPageDesc=Esta páxina contén o ficheiro de configuración de draw.io (configuration.json) como anexo+confALibPageDesc=Esta páxina contén bibliotecas personalizadas de draw.io como anexos+confATempPageDesc=Esta páxina contén modelos personalizados de draw.io como anexos+confAConfSpaceDesc=Este espazo úsase para almacenar ficheiros de configuración de draw.io e bibliotecas/modelos personalizados+confANoCustLib=Sen bibliotecas personalizadas+delFailed=Erro ao eliminar!+showID=Mostrar ID+confAIncorrectLibFileType=Tipo de ficheiro incorrecto. As bibliotecas deben ser ficheiros XML.+uploading=Cargando+confALibExist=Esta biblioteca xa existe+confAUploadSucc=Cargado correctamente+confAUploadFailErr=Erro na carga (Erro inesperado)+hiResPreview=Vista previa en alta resolución+officeNotLoggedGD=Non iniciaches sesión en Google Drive. Abre o panel de tarefas de draw.io e inicia sesión primeiro.+officePopupInfo=Completa o proceso na ventá emerxente.+pickODFile=Seleccionar ficheiro de OneDrive+createODFile=Crear ficheiro en OneDrive+pickGDriveFile=Seleccionar ficheiro de Google Drive+createGDriveFile=Crear ficheiro en Google Drive+pickDeviceFile=Seleccionar ficheiro do dispositivo+vsdNoConfig="vsdurl" non está configurado+ruler=Regra+units=Unidades+points=Puntos+inches=Polgadas+millimeters=Milímetros+confEditDraftDelOrExt=Este diagrama está nunha páxina de borrador, foi eliminado da páxina ou foi editado externamente. Gardarase como unha nova versión do anexo e pode non reflectirse na páxina.+confDiagEditedExt=O diagrama foi editado noutra sesión. Gardarase como unha nova versión do anexo pero a páxina mostrará as modificacións da outra sesión.+macroNotFound=Macro non atopado+confAInvalidPageIdsFormat=Formato de ficheiro de IDs de páxina incorrecto+confACollectingCurPages=Recollendo páxinas actuais+confABuildingPagesMap=Construíndo mapa de páxinas+confAProcessDrawDiag=Comezou o procesamento dos diagramas de draw.io importados+confAProcessDrawDiagDone=Rematou o procesamento dos diagramas de draw.io importados+confAProcessImpPages=Comezou o procesamento das páxinas importadas+confAErrPrcsDiagInPage=Erro ao procesar os diagramas de draw.io na páxina "{1}"+confAPrcsDiagInPage=Procesando diagramas de draw.io na páxina "{1}"+confAImpDiagram=Importando diagrama "{1}"+confAImpDiagramFailed=Fallou a importación do diagrama "{1}". Non se pode atopar o seu novo ID de páxina. Quizais apunta a unha páxina que non foi importada.+confAImpDiagramError=Erro ao importar o diagrama "{1}". Non se pode obter ou gardar o diagrama. Non se poden corrixir as ligazóns deste diagrama.+confAUpdateDgrmCCFailed=Fallou a actualización da ligazón ao diagrama "{1}".+confImpDiagramSuccess=Actualización do diagrama "{1}" completada correctamente.+confANoLnksInDrgm=Non hai ligazóns que actualizar en: {1}+confAUpdateLnkToPg=Actualizouse a ligazón á páxina: "{1}" no diagrama: "{2}"+confAUpdateLBLnkToPg=Actualizouse a ligazón lightbox á páxina: "{1}" no diagrama: "{2}"+confAUpdateLnkBase=Actualizouse o URL base de: "{1}" a: "{2}" no diagrama: "{3}"+confAPageIdsImpDone=Importación de IDs de páxina rematada+confAPrcsMacrosInPage=Procesando macros de draw.io na páxina "{1}"+confAErrFetchPage=Erro ao obter a páxina "{1}"+confAFixingMacro=Corrixindo macro do diagrama "{1}"+confAErrReadingExpFile=Erro ao ler o ficheiro de exportación+confAPrcsDiagInPageDone=Procesamento dos diagramas de draw.io na páxina "{1}" rematado+confAFixingMacroSkipped=Fallou a corrección do macro do diagrama "{1}". Non se pode atopar o seu novo ID de páxina. Quizais apunta a unha páxina que non foi importada.+pageIdsExpTrg=Destino da exportación+confALucidDiagImgImported=Imaxe do diagrama {2} "{1}" extraída correctamente+confASavingLucidDiagImgFailed=Fallou a extracción da imaxe do diagrama {2} "{1}"+confGetInfoFailed=Fallou a obtención da información do ficheiro de {1}.+confCheckCacheFailed=Non se pode obter a información do ficheiro en caché.+confReadFileErr=Non se pode ler o ficheiro "{1}" de {2}.+confSaveCacheFailed=Erro inesperado. Non se pode gardar o ficheiro en caché+orgChartType=Tipo de organigrama+linear=Lineal+hanger2=Colgante 2+hanger4=Colgante 4+fishbone1=Espiña de peixe 1+fishbone2=Espiña de peixe 2+1ColumnLeft=Columna única esquerda+1ColumnRight=Columna única dereita+smart=Intelixente+parentChildSpacing=Espazado pai-fillo+siblingSpacing=Espazado entre irmáns+confNoPermErr=Desculpe, non ten permisos suficientes para ver este diagrama incrustado da páxina {1}+copyAsImage=Copiar como imaxe+copyAsText=Copiar como textocopyAsSvg=Copiar como SVG-lucidImport=Lucidchart Import-lucidImportInst1=Click the "Start Import" button to import all Lucidchart diagrams.-installFirst=Please install {1} first-drawioChromeExt=draw.io Chrome Extension-loginFirstThen=Please login to {1} first, then {2}-errFetchDocList=Error: Couldn't fetch documents list-builtinPlugins=Built-in Plugins-extPlugins=External Plugins-backupFound=Backup file found-chromeOnly=This feature only works in Google Chrome-msgDeleted=This message has been deleted-confAErrFetchDrawList=Error fetching diagrams list. Some diagrams are skipped.-confAErrCheckDrawDiag=Cannot check diagram {1}-confAErrFetchPageList=Error fetching pages list-confADiagImportIncom={1} diagram "{2}" is imported partially and may have missing shapes-invalidSel=Invalid selection-diagNameEmptyErr=Diagram name cannot be empty-openDiagram=Open Diagram-newDiagram=New diagram+lucidImport=Importación de Lucidchart+lucidImportInst1=Prema no botón "Iniciar importación" para importar todos os diagramas de Lucidchart.+installFirst=Por favor, instale {1} primeiro+drawioChromeExt=Extensión de Chrome para draw.io+loginFirstThen=Por favor, inicia sesión en {1} primeiro e despois {2}+errFetchDocList=Erro: Non se puido obter a lista de documentos+builtinPlugins=Complementos integrados+extPlugins=Complementos externos+backupFound=Atopouse un ficheiro de copia de seguridade+chromeOnly=Esta función só funciona en Google Chrome+msgDeleted=Esta mensaxe foi eliminada+confAErrFetchDrawList=Erro ao obter a lista de diagramas. Algúns diagramas foron omitidos.+confAErrCheckDrawDiag=Non se pode comprobar o diagrama {1}+confAErrFetchPageList=Erro ao obter a lista de páxinas+confADiagImportIncom=O diagrama {1} "{2}" importouse parcialmente e pode ter formas que faltan+invalidSel=Selección non válida+diagNameEmptyErr=O nome do diagrama non pode estar baleiro+openDiagram=Abrir diagrama+newDiagram=Novo diagramaeditable=Editable-confAReimportStarted=Re-import {1} diagrams started...-spaceFilter=Filter by spaces-curViewState=Current Viewer State-pageLayers=Page and Layers-customize=Customize-firstPage=First Page (All Layers)-curEditorState=Current Editor State-noAnchorsFound=No anchors found-attachment=Attachment-curDiagram=Current Diagram-recentDiags=Recent Diagrams-csvImport=CSV Import-chooseFile=Choose a file...-choose=Choose-gdriveFname=Google Drive filename-widthOfViewer=Width of the viewer (px)-heightOfViewer=Height of the viewer (px)-autoSetViewerSize=Automatically set the size of the viewer-thumbnail=Thumbnail-prevInDraw=Preview in draw.io-onedriveFname=OneDrive filename-diagFname=Diagram filename-diagUrl=Diagram URL-showDiag=Show Diagram-diagPreview=Diagram Preview-csvFileUrl=CSV File URL-generate=Generate-selectDiag2Insert=Please select a diagram to insert it.-errShowingDiag=Unexpected error. Cannot show diagram-noRecentDiags=No recent diagrams found-fetchingRecentFailed=Failed to fetch recent diagrams-useSrch2FindDiags=Use the search box to find draw.io diagrams-cantReadChckPerms=Cannot read the specified diagram. Please check you have read permission on that file.-cantFetchChckPerms=Cannot fetch diagram info. Please check you have read permission on that file.-searchFailed=Searching failed. Please try again later.-plsTypeStr=Please type a search string.-unsupportedFileChckUrl=Unsupported file. Please check the specified URL-diagNotFoundChckUrl=Diagram not found or cannot be accessed. Please check the specified URL-csvNotFoundChckUrl=CSV file not found or cannot be accessed. Please check the specified URL-cantReadUpload=Cannot read the uploaded diagram-select=Select-errCantGetIdType=Unexpected Error: Cannot get content id or type.-errGAuthWinBlocked=Error: Google Authentication window blocked-authDrawAccess=Authorize draw.io to access {1}-connTimeout=The connection has timed out-errAuthSrvc=Error authenticating to {1}-plsSelectFile=Please select a file-mustBgtZ={1} must be greater than zero-cantLoadPrev=Cannot load file preview.-errAccessFile=Error: Access Denied. You do not have permission to access "{1}".-noPrevAvail=No preview is available.-personalAccNotSup=Personal accounts are not supported.-errSavingTryLater=Error occurred during saving, please try again later.-plsEnterFld=Please enter {1}-invalidDiagUrl=Invalid Diagram URL-unsupportedVsdx=Unsupported vsdx file-unsupportedImg=Unsupported image file-unsupportedFormat=Unsupported file format-plsSelectSingleFile=Please select a single file only-attCorrupt=Attachment file "{1}" is corrupted-loadAttFailed=Failed to load attachment "{1}"-embedDrawDiag=Embed draw.io Diagram-addDiagram=Add Diagram-embedDiagram=Embed Diagram-editOwningPg=Edit owning page-deepIndexing=Deep Indexing (Index diagrams that aren't used in any page also)-confADeepIndexStarted=Deep Indexing Started-confADeepIndexDone=Deep Indexing Done-officeNoDiagramsSelected=No diagrams found in the selection-officeNoDiagramsInDoc=No diagrams found in the document-officeNotSupported=This feature is not supported in this host application-someImagesFailed={1} out of {2} failed due to the following errors-importingNoUsedDiagrams=Importing {1} Diagrams not used in pages-importingDrafts=Importing {1} Diagrams in drafts-processingDrafts=Processing drafts-updatingDrafts=Updating drafts-updateDrafts=Update drafts-notifications=Notifications-drawioImp=draw.io Import-confALibsImp=Importing draw.io Libraries-confALibsImpFailed=Importing {1} library failed-contributors=Contributors-drawDiagrams=draw.io Diagrams-errFileNotFoundOrNoPer=Error: Access Denied. File not found or you do not have permission to access "{1}" on {2}.-confACheckPagesWEmbed=Checking pages having embedded draw.io diagrams.-confADelBrokenEmbedDiagLnk=Removing broken embedded diagram links-replaceWith=Replace with-replaceAll=Replace All-confASkipDiagModified=Skipped "{1}" as it was modified after initial import-replFind=Replace/Find-matchesRepl={1} matches replaced-draftErrDataLoss=An error occurred while reading the draft file. The diagram cannot be edited now to prevent any possible data loss. Please try again later or contact support.+confAReimportStarted=Reimportación de {1} diagramas iniciada...+spaceFilter=Filtrar por espazos+curViewState=Estado actual do visor+pageLayers=Páxina e capas+customize=Personalizar+firstPage=Primeira páxina (todas as capas)+curEditorState=Estado actual do editor+noAnchorsFound=Non se atoparon áncoras+attachment=Anexo+curDiagram=Diagrama actual+recentDiags=Diagramas recentes+csvImport=Importar CSV+chooseFile=Escoller un ficheiro...+choose=Escoller+gdriveFname=Nome de ficheiro de Google Drive+widthOfViewer=Ancho do visor (px)+heightOfViewer=Alto do visor (px)+autoSetViewerSize=Establecer automaticamente o tamaño do visor+thumbnail=Miniatura+prevInDraw=Vista previa en draw.io+onedriveFname=Nome de ficheiro de OneDrive+diagFname=Nome de ficheiro do diagrama+diagUrl=URL do diagrama+showDiag=Mostrar diagrama+diagPreview=Vista previa do diagrama+csvFileUrl=URL do ficheiro CSV+generate=Xerar+selectDiag2Insert=Seleccione un diagrama para inserilo.+errShowingDiag=Erro inesperado. Non se pode mostrar o diagrama+noRecentDiags=Non se atoparon diagramas recentes+fetchingRecentFailed=Erro ao obter os diagramas recentes+useSrch2FindDiags=Use a caixa de busca para atopar diagramas de draw.io+cantReadChckPerms=Non se pode ler o diagrama especificado. Comprobe que ten permiso de lectura nese ficheiro.+cantFetchChckPerms=Non se pode obter a información do diagrama. Comprobe que ten permiso de lectura nese ficheiro.+searchFailed=A busca fallou. Ténteo de novo máis tarde.+plsTypeStr=Escriba unha cadea de busca.+unsupportedFileChckUrl=Ficheiro non compatible. Comprobe o URL especificado+diagNotFoundChckUrl=Non se atopou o diagrama ou non se pode acceder a el. Comprobe o URL especificado+csvNotFoundChckUrl=Non se atopou o ficheiro CSV ou non se pode acceder a el. Comprobe o URL especificado+cantReadUpload=Non se pode ler o diagrama cargado+select=Seleccionar+errCantGetIdType=Erro inesperado: Non se pode obter o ID ou tipo de contido.+errGAuthWinBlocked=Erro: A xanela de autenticación de Google foi bloqueada+authDrawAccess=Autorizar a draw.io para acceder a {1}+connTimeout=A conexión esgotou o tempo de espera+errAuthSrvc=Erro ao autenticarse en {1}+plsSelectFile=Seleccione un ficheiro+mustBgtZ={1} debe ser maior que cero+cantLoadPrev=Non se pode cargar a vista previa do ficheiro.+errAccessFile=Erro: Acceso denegado. Non ten permiso para acceder a "{1}".+noPrevAvail=Non hai vista previa dispoñible.+personalAccNotSup=As contas persoais non son compatibles.+errSavingTryLater=Produciuse un erro ao gardar, ténteo de novo máis tarde.+plsEnterFld=Introduza {1}+invalidDiagUrl=URL de diagrama non válido+unsupportedVsdx=Ficheiro vsdx non compatible+unsupportedImg=Ficheiro de imaxe non compatible+unsupportedFormat=Formato de ficheiro non compatible+plsSelectSingleFile=Seleccione só un ficheiro+attCorrupt=O ficheiro adxunto "{1}" está corrompido+loadAttFailed=Erro ao cargar o adxunto "{1}"+embedDrawDiag=Inserir diagrama de draw.io+addDiagram=Engadir diagrama+embedDiagram=Inserir diagrama+editOwningPg=Editar páxina propietaria+deepIndexing=Indexación profunda (Indexar tamén diagramas que non se usan en ningunha páxina)+confADeepIndexStarted=Indexación profunda iniciada+confADeepIndexDone=Indexación profunda completada+officeNoDiagramsSelected=Non se atoparon diagramas na selección+officeNoDiagramsInDoc=Non se atoparon diagramas no documento+officeNotSupported=Esta función non está soportada nesta aplicación+someImagesFailed={1} de {2} fallaron debido aos seguintes erros+importingNoUsedDiagrams=Importando {1} diagramas non usados en páxinas+importingDrafts=Importando {1} diagramas en borradores+processingDrafts=Procesando borradores+updatingDrafts=Actualizando borradores+updateDrafts=Actualizar borradores+notifications=Notificacións+drawioImp=Importación de draw.io+confALibsImp=Importando bibliotecas de draw.io+confALibsImpFailed=Erro ao importar a biblioteca {1}+contributors=Colaboradores+drawDiagrams=Diagramas de draw.io+errFileNotFoundOrNoPer=Erro: Acceso denegado. Non se atopou o ficheiro ou non tes permiso para acceder a "{1}" en {2}.+confACheckPagesWEmbed=Comprobando páxinas con diagramas de draw.io incrustados.+confADelBrokenEmbedDiagLnk=Eliminando ligazóns de diagramas incrustados rotas+replaceWith=Substituír por+replaceAll=Substituír todo+confASkipDiagModified=Omitiuse "{1}" porque foi modificado despois da importación inicial+replFind=Substituír/Buscar+matchesRepl={1} coincidencias substituídas+draftErrDataLoss=Produciuse un erro ao ler o ficheiro de borrador. O diagrama non se pode editar agora para evitar posibles perdas de datos. Téntao de novo máis tarde ou contacta co soporte.ibm=IBM-linkToDiagramHint=Add a link to this diagram. The diagram can only be edited from the page that owns it.-linkToDiagram=Link to Diagram-changedBy=Changed By-lastModifiedOn=Last modified on-searchResults=Search Results-showAllTemps=Show all templates-notionToken=Notion Token-selectDB=Select Database-noDBs=No Databases-diagramEdited={1} diagram "{2}" edited-confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?-confFileTooBigErr=File size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration.-owner=Owner-repository=Repository-branch=Branch-meters=Meters-teamsNoEditingMsg=Editor functionality is only available in Desktop environment (in MS Teams App or a web browser)-contactOwner=Contact Owner-viewerOnlyMsg=You cannot edit the diagrams in the mobile platform, please use the desktop client or a web browser.-website=Website-check4Updates=Check for updates-attWriteFailedRetry={1}: Attachment write failed, trying again in {2} seconds...-confPartialPageList=We couldn't fetch all pages due to an error in Confluence. Continuing using {1} pages only.-spellCheck=Spell checker-noChange=No Change-lblToSvg=Convert labels to SVG-txtSettings=Text Settings-LinksLost=Links will be lost-arcSize=Arc Size-editConnectionPoints=Edit Connection Points-notInOffline=Not supported while offline-notInDesktop=Not supported in Desktop App-confConfigSpaceArchived=draw.io Configuration space (DRAWIOCONFIG) is archived. Please restore it first.-confACleanOldVerStarted=Cleaning old diagram draft versions started-confACleanOldVerDone=Cleaning old diagram draft versions finished-confACleaningFile=Cleaning diagram draft "{1}" old versions-confAFileCleaned=Cleaning diagram draft "{1}" done-confAFileCleanFailed=Cleaning diagram draft "{1}" failed-confACleanOnly=Clean Diagram Drafts Only-brush=Brush-openDevTools=Open Developer Tools-autoBkp=Automatic Backup-confAIgnoreCollectErr=Ignore collecting current pages errors-drafts=Drafts-draftSaveInt=Draft save interval [sec] (0 to disable)-pluginsDisabled=External plugins disabled.-extExpNotConfigured=External image service is not configured-pathFilename=Path/Filename-confAHugeInstances=Very Large Instances-confAHugeInstancesDesc=If this instance includes 100,000+ pages, it is faster to request the current instance pages list from Atlassian. Please contact our support for more details.-choosePageIDsFile=Choose current page IDs csv file-chooseDrawioPsgesFile=Choose pages with draw.io diagrams csv file-private=Private-diagramTooLarge=The diagram is too large, please reduce its size and try again.-selectAdminUsers=Select Admin Users-xyzTeam={1} Team-addTeamTitle=Adding a new draw.io Team-addTeamInst1=To create a new draw.io Team, you need to create a new Atlassian group with "drawio-" prefix (e.g, a group named "drawio-marketing").-addTeamInst2=Then, configure which team member can edit/add configuration, templates, and libraries from this page.-drawioTeams=draw.io Teams-members=Members-adminEditors=Admins/Editors-allowAll=Allow all-noTeams=No teams found-errorLoadingTeams=Error Loading Teams-noTeamMembers=No team members found-errLoadTMembers=Error loading team members-errCreateTeamPage=Error creating team "{1}" page in "draw.io Configuration" space, please check you have the required permissions.-gotoConfigPage=Please create the space from draw.io "Configuration" page.-noAdminsSelected=No admins/editors selected-errCreateConfigFile=Error creating "configuration.json" file, please check you have the required permissions.-errSetPageRestr=Error setting page restrictions-notAdmin4Team=You are not an admin for this team-configUpdated=Configuration updated, restart the editor if you want to work with last configuration.-outOfDateRevisionAlert=You are editing a historical revision of the diagram, please review the revision and open it to replace the latest version. Or close and overwrite/merge later.-confAErrFaqs=There are {1} error(s), the following instructions may help fixing most of the cases. (Please download the log for future references)-confA403ErrFaq=There are ({1}) 403 error(s). The current users must have add (write) permissions on all pages and attachments. Even admins sometimes are not allowed to write to some pages via page restrictions-confA404ErrFaq=There are ({1}) 404 error(s). The attachment/page is not found. This is due to improper migration or the diagram file (an attachment of the page) is deleted.-confA500ErrFaq=There are ({1}) 500 error(s). An internal server error in Confluence Cloud. Such errors are due to overloading the server and usually fixed by retrying the process.-confAOtherErrFaq=There are ({1}) other error(s). Please check the error description. If the description is not clear, please contact our support.-confAReplaceBaseUrl=Replace Base URL in diagram links when no page ID mapping is found-drawSvgPrev=draw.io SVG preview+linkToDiagramHint=Engadir unha ligazón a este diagrama. O diagrama só se pode editar desde a páxina propietaria.+linkToDiagram=Ligazón ao diagrama+changedBy=Modificado por+lastModifiedOn=Última modificación o+searchResults=Resultados da busca+showAllTemps=Mostrar todos os modelos+notionToken=Token de Notion+selectDB=Seleccionar base de datos+noDBs=Non hai bases de datos+diagramEdited=Diagrama {1} "{2}" editado+confDraftPermissionErr=Non se pode escribir o borrador. Tes permiso de lectura/escritura de anexos nesta páxina?+confFileTooBigErr=O tamaño do ficheiro é demasiado grande. Comproba "Tamaño máximo de anexos" en "Configuración de anexos" na configuración de Confluence.+owner=Propietario+repository=Repositorio+branch=Rama+meters=Metros+teamsNoEditingMsg=A funcionalidade de edición só está dispoñible no entorno de escritorio (na aplicación MS Teams ou nun navegador web)+contactOwner=Contactar co propietario+viewerOnlyMsg=Non pode editar os diagramas na plataforma móbil, por favor use o cliente de escritorio ou un navegador web.+website=Sitio web+check4Updates=Buscar actualizacións+attWriteFailedRetry={1}: Fallou a escritura do anexo, tentando de novo en {2} segundos...+confPartialPageList=Non puidemos obter todas as páxinas debido a un erro en Confluence. Continuando usando só {1} páxinas.+spellCheck=Corrector ortográfico+noChange=Sen cambios+lblToSvg=Converter etiquetas a SVG+txtSettings=Configuración de texto+LinksLost=Perderanse as ligazóns+arcSize=Tamaño do arco+editConnectionPoints=Editar puntos de conexión+notInOffline=Non compatible sen conexión+notInDesktop=Non compatible na aplicación de escritorio+confConfigSpaceArchived=O espazo de configuración de draw.io (DRAWIOCONFIG) está arquivado. Por favor, restáureo primeiro.+confACleanOldVerStarted=Comezou a limpeza de versións antigas de borradores de diagramas+confACleanOldVerDone=Rematou a limpeza de versións antigas de borradores de diagramas+confACleaningFile=Limpando versións antigas do borrador de diagrama "{1}"+confAFileCleaned=Limpeza do borrador de diagrama "{1}" completada+confAFileCleanFailed=Fallou a limpeza do borrador de diagrama "{1}"+confACleanOnly=Limpar só borradores de diagramas+brush=Pincel+openDevTools=Abrir ferramentas de desenvolvedor+autoBkp=Copia de seguridade automática+confAIgnoreCollectErr=Ignorar erros de recollida das páxinas actuais+drafts=Borradores+draftSaveInt=Intervalo de gardado de borrador [seg] (0 para desactivar)+pluginsDisabled=Plugins externos desactivados.+extExpNotConfigured=O servizo de imaxes externas non está configurado+pathFilename=Ruta/Nome de ficheiro+confAHugeInstances=Instancias moi grandes+confAHugeInstancesDesc=Se esta instancia inclúe máis de 100.000 páxinas, é máis rápido solicitar a lista de páxinas da instancia actual a Atlassian. Por favor, contacte co noso soporte para máis detalles.+choosePageIDsFile=Escoller ficheiro csv de IDs das páxinas actuais+chooseDrawioPsgesFile=Escoller ficheiro csv de páxinas con diagramas de draw.io+private=Privado+diagramTooLarge=O diagrama é demasiado grande, por favor reduce o seu tamaño e téntao de novo.+selectAdminUsers=Seleccionar usuarios administradores+xyzTeam=Equipo {1}+addTeamTitle=Engadir un novo equipo de draw.io+addTeamInst1=Para crear un novo equipo de draw.io, necesitas crear un novo grupo de Atlassian co prefixo "drawio-" (p. ex., un grupo chamado "drawio-marketing").+addTeamInst2=Despois, configura que membro do equipo pode editar/engadir configuración, modelos e bibliotecas desde esta páxina.+drawioTeams=Equipos de draw.io+members=Membros+adminEditors=Administradores/Editores+allowAll=Permitir todos+noTeams=Non se atoparon equipos+errorLoadingTeams=Erro ao cargar os equipos+noTeamMembers=Non se atoparon membros do equipo+errLoadTMembers=Erro ao cargar os membros do equipo+errCreateTeamPage=Erro ao crear a páxina do equipo "{1}" no espazo "draw.io Configuration", comprobe que ten os permisos necesarios.+gotoConfigPage=Cree o espazo desde a páxina de "Configuración" de draw.io.+noAdminsSelected=Non se seleccionaron administradores/editores+errCreateConfigFile=Erro ao crear o ficheiro "configuration.json", comprobe que ten os permisos necesarios.+errSetPageRestr=Erro ao establecer as restricións da páxina+notAdmin4Team=Vostede non é administrador deste equipo+configUpdated=Configuración actualizada, reinicie o editor se quere traballar coa última configuración.+outOfDateRevisionAlert=Está a editar unha revisión histórica do diagrama, revise a revisión e ábraa para substituír a última versión. Ou peche e sobrescriba/combine despois.+confAErrFaqs=Hai {1} erro(s), as seguintes instrucións poden axudar a resolver a maioría dos casos. (Descargue o rexistro para futuras referencias)+confA403ErrFaq=Hai ({1}) erro(s) 403. Os usuarios actuais deben ter permisos de engadir (escritura) en todas as páxinas e anexos. Mesmo os administradores ás veces non poden escribir nalgunhas páxinas debido a restricións de páxina+confA404ErrFaq=Hai ({1}) erro(s) 404. Non se atopou o anexo/páxina. Isto débese a unha migración incorrecta ou a que o ficheiro do diagrama (un anexo da páxina) foi eliminado.+confA500ErrFaq=Hai ({1}) erro(s) 500. Un erro interno do servidor en Confluence Cloud. Estes erros débense á sobrecarga do servidor e normalmente resólvense reintentando o proceso.+confAOtherErrFaq=Hai ({1}) outros erro(s). Comprobe a descrición do erro. Se a descrición non é clara, contacte co noso soporte.+confAReplaceBaseUrl=Substituír o URL base nas ligazóns do diagrama cando non se atopa mapeo de ID de páxina+drawSvgPrev=Vista previa SVG de draw.iogoogleFonts=Google Fonts-diagDupl=Duplicate Diagram Detected-diagDuplMsg=This diagram is used in multiple places, which can result in unexpected results when edited. We've created an independent copy. Please open the editor again.-diagDuplNoEditMsg=This diagram is used in multiple places. Please edit it within its own page.-confCloudMigConfirm=Warning: This process will edit many pages and diagrams, so it is recommended to stop the Synchrony service during the process. Do you want to proceed?-confCloudMigNotice=In the Cloud instance, please add linkAdjustments to draw.io configuration as follows {1}. Without this configuration, links in diagrams pointing to Confluence pages will not work.-confALogsPageDesc=This page contains logs of draw.io long running services as attachments-confEditOnlyInPageEditor=Can only be edited within Confluence page editor-confEvalWarn=Evaluation License - Not for production use-otherUsersEditing=Other user(s) are editing this diagram-firstTimeGD=First time to access this file?-drawioGDAppNotInstalled=draw.io Google Drive app is not installed, please install it first-ConfDC415Error=Saving drafts is blocked. If you have "Attachment Checker for Confluence" app, please update to the latest version.-remove=Remove-selectPgLyr=Select Page and Layers-errGenPreview=There was an error generating a diagram preview. Please consult technical support.-attAccessErr=Diagram attachment access error: cannot display diagram-widthIntOrFixed=Width must be a valid integer or of value 'fixed'-dupDisabledPgLyrSlct=Diagram duplication is disabled when page and layers are selected-cantDupPickDiffName=Could not duplicate diagram. Please choose a different name.-ownPgAccessDupErr=Owning page access restriction: cannot duplicate diagram.-cantDupTryLater=Could not duplicate diagram. Please try again later.-cantEditLnkd=Cannot edit linked diagram-diagEditOwnPgOnlyOpen=Diagram can only be edited from the page that owns it. Would you like to open the owning page for edit?-diagInTemps=draw.io diagrams in templates-diagInTempsCantEdit=Diagrams in page templates cannot be edited. They can only be edited on pages and blog posts.-confDirectEditDraftLost=This Confluence page has unpublished changes. Editing the diagram from page view may cause data loss. Please edit the Confluence page first and then edit the diagram.-confConfigSpacePerm=Note: If you recently migrated from DC app, please check draw.io Configuration space permissions such that all users can read and only admins can write. In addition, remove the page restrictions on "Configuration" and "Libraries" pages. You may need admin keys to access them. Also, please check the file "configuration.json" in the "Configuration" page is downloadable.-tryCurPageOnErr=Try finding the diagram attachment on the macro page when the linked page fails-confAExtSrvcNoSupported=Embedded diagrams from external services or urls are not supported.+diagDupl=Diagrama duplicado detectado+diagDuplMsg=Este diagrama úsase en varios lugares, o que pode producir resultados inesperados ao editalo. Creamos unha copia independente. Abra o editor de novo.+diagDuplNoEditMsg=Este diagrama úsase en varios lugares. Edíteo dentro da súa propia páxina.+confCloudMigConfirm=Aviso: Este proceso editará moitas páxinas e diagramas, polo que se recomenda deter o servizo Synchrony durante o proceso. Quere continuar?+confCloudMigNotice=Na instancia Cloud, engada linkAdjustments á configuración de draw.io do seguinte xeito {1}. Sen esta configuración, as ligazóns nos diagramas que apuntan a páxinas de Confluence non funcionarán.+confALogsPageDesc=Esta páxina contén rexistros dos servizos de longa duración de draw.io como anexos+confEditOnlyInPageEditor=Só se pode editar dentro do editor de páxinas de Confluence+confEvalWarn=Licenza de avaliación - Non usar en produción+otherUsersEditing=Outros usuarios están a editar este diagrama+firstTimeGD=Primeira vez que accede a este ficheiro?+drawioGDAppNotInstalled=A aplicación draw.io de Google Drive non está instalada, instálea primeiro+ConfDC415Error=O gardado de borradores está bloqueado. Se ten a aplicación "Attachment Checker for Confluence", actualice á última versión.+remove=Eliminar+selectPgLyr=Seleccionar páxina e capas+errGenPreview=Houbo un erro ao xerar a vista previa do diagrama. Consulte co soporte técnico.+attAccessErr=Erro de acceso ao anexo do diagrama: non se pode amosar o diagrama+widthIntOrFixed=O ancho debe ser un número enteiro válido ou ter o valor 'fixed'+dupDisabledPgLyrSlct=A duplicación de diagramas está desactivada cando se seleccionan páxinas e capas+cantDupPickDiffName=Non se puido duplicar o diagrama. Escolla un nome diferente.+ownPgAccessDupErr=Restrición de acceso á páxina propietaria: non se pode duplicar o diagrama.+cantDupTryLater=Non se puido duplicar o diagrama. Ténteo de novo máis tarde.+cantEditLnkd=Non se pode editar o diagrama ligado+diagEditOwnPgOnlyOpen=O diagrama só se pode editar desde a páxina que o contén. Desexa abrir a páxina propietaria para editar?+diagInTemps=Diagramas draw.io en modelos+diagInTempsCantEdit=Os diagramas en modelos de páxina non se poden editar. Só se poden editar en páxinas e publicacións de blog.+confDirectEditDraftLost=Esta páxina de Confluence ten cambios sen publicar. Editar o diagrama desde a vista de páxina pode causar perda de datos. Edite primeiro a páxina de Confluence e logo edite o diagrama.+confConfigSpacePerm=Nota: Se migrou recentemente desde a aplicación DC, comprobe os permisos do espazo de Configuración de draw.io para que todos os usuarios poidan ler e só os administradores poidan escribir. Ademais, elimine as restricións de páxina nas páxinas "Configuration" e "Libraries". Pode necesitar claves de administrador para acceder a elas. Tamén, comprobe que o ficheiro "configuration.json" na páxina "Configuration" se poida descargar.+tryCurPageOnErr=Tentar atopar o anexo do diagrama na páxina da macro cando a páxina ligada falla+confAExtSrvcNoSupported=Non se admiten diagramas incrustados desde servizos externos ou URL.gliffyVersionPinning=Importar a versión fixada de Gliffy no canto da versión máis recenteconfEmbedUpload=Para unha mellor experiencia de edición, utilice a macro regular de draw.io para inserir un diagrama en branco, logo desde (Menú Ficheiro → Importar desde → Dispositivo...) seleccione o ficheiro que desexa cargar e incrustar.confPublishErr=Outra actualización entrou en conflito coa súa publicación, intente de novo a operación-confACacheMapping=Cache page IDs mapping-confARemImpPages=Remember imported pages-delCachedData=Delete Cached Data-k15tPagesError=Error retrieving Scroll pages. Is Scroll Versions installed?-drawioUninstalled=draw.io has been uninstalled, the editor will now close-confAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.-confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.-DCSave500Error=Outra operación de Confluence interrompeu o gardado, volve intentalo #{1}+confACacheMapping=Mapeo de IDs de páxina en caché+confARemImpPages=Lembrar páxinas importadas+delCachedData=Eliminar datos en caché+k15tPagesError=Erro ao recuperar páxinas de Scroll. Está instalado Scroll Versions?+drawioUninstalled=draw.io foi desinstalado, o editor pecharase agora+confAttachmentArchived=O diagrama pertence a unha páxina arquivada e non se pode cargar. Restaura a páxina (ID: {1}) para cargalo.+confDiagramMacroDowngrade=O diagrama gardouse pero a macro da páxina non se pode actualizar porque a revisión do diagrama na macro é máis recente. Edita o diagrama dende o editor de páxinas de Confluence.+DCSave500Error=Outra operación de Confluence interrompeu o gardado, reintento #{1}+confAppNotInstalled=A aplicación draw.io diagrams para Confluence non está instalada.+plsInstallAppInConf=Instala/conecta esta aplicación en Confluence para poder acceder aos diagramas (ademais da aplicación draw.io Confluence)diff --git a/src/main/webapp/resources/dia_gu.txt b/src/main/webapp/resources/dia_gu.txtindex 5448c03bc..c54427fe2 100644--- a/src/main/webapp/resources/dia_gu.txt+++ b/src/main/webapp/resources/dia_gu.txt@@ -1,354 +1,354 @@# *DO NOT DIRECTLY EDIT THIS FILE, IT IS AUTOMATICALLY GENERATED AND IT IS BASED ON:*# https://docs.google.com/spreadsheet/ccc?key=0AmQEO36liL4FdDJLWVNMaVV2UmRKSnpXU09MYkdGbEE-about=About-aboutDrawio=About draw.io-accessDenied=Access Denied-accounts=Accounts-action=Action-actualSize=Actual Size+about=વિશે+aboutDrawio=draw.io વિશે+accessDenied=પ્રવેશ નકારવામાં આવ્યો+accounts=એકાઉન્ટ્સ+action=ક્રિયા+actualSize=વાસ્તવિક કદadaptiveColors=અનુકૂલનશીલ રંગો-add=Add-addAccount=Add account-addedFile=Added {1}-addImages=Add Images-addImageUrl=Add Image URL-addLayer=Add Layer-addProperty=Add Property-address=Address-addToExistingDrawing=Add to Existing Drawing-addToScratchpad=Add to Scratchpad-addWaypoint=Add Waypoint-adjustTo=Adjust to-advanced=Advanced-smartTemplate=Smart Template-align=Align-alignment=Alignment-allChangesLost=All changes will be lost!-allPages=All Pages-allProjects=All Projects+add=ઉમેરો+addAccount=એકાઉન્ટ ઉમેરો+addedFile={1} ઉમેર્યું+addImages=છબીઓ ઉમેરો+addImageUrl=છબી URL ઉમેરો+addLayer=સ્તર ઉમેરો+addProperty=ગુણધર્મ ઉમેરો+address=સરનામું+addToExistingDrawing=હાલના ડ્રોઇંગમાં ઉમેરો+addToScratchpad=સ્ક્રેચપેડમાં ઉમેરો+addWaypoint=વેપોઇન્ટ ઉમેરો+adjustTo=અનુસાર ગોઠવો+advanced=અદ્યતન+smartTemplate=સ્માર્ટ ટેમ્પલેટ+align=સંરેખિત કરો+alignment=સંરેખણ+allChangesLost=બધા ફેરફારો ગુમ થશે!+allPages=બધા પૃષ્ઠો+allProjects=બધા પ્રોજેક્ટ્સallSelectedObjectsInThisLayer=બધા પસંદ કરેલા ઑબ્જેક્ટ્સ આ સ્તરમાં છે-allSpaces=All Spaces-allTags=All Tags-anchor=Anchor+allSpaces=બધી જગ્યાઓ+allTags=બધા ટૅગ્સ+anchor=એન્કરandroid=Android-angle=Angle-animations=એનિમેશન-arc=Arc-areYouSure=Are you sure?-ensureDataSaved=Please ensure your data is saved before closing.-allChangesSaved=All changes saved-allChangesSavedInDrive=All changes saved in Drive-allowPopups=Allow pop-ups to avoid this dialog.-allowRelativeUrl=Allow relative URL-alreadyConnected=Nodes already connected-appearance=Appearance-apply=Apply+angle=ખૂણો+animations=એનિમેશન્સ+arc=આર્ક+areYouSure=શું તમે ખાતરી કરો છો?+ensureDataSaved=કૃપા કરીને બંધ કરતા પહેલા ખાતરી કરો કે તમારો ડેટા સાચવેલ છે.+allChangesSaved=બધા ફેરફારો સાચવેલ છે+allChangesSavedInDrive=બધા ફેરફારો Drive માં સાચવેલ છે+allowPopups=આ સંવાદ ટાળવા માટે પૉપ-અપ્સને મંજૂરી આપો.+allowRelativeUrl=સંબંધિત URL ને મંજૂરી આપો+alreadyConnected=નોડ્સ પહેલેથી જોડાયેલા છે+appearance=દેખાવ+apply=લાગુ કરોarchiMate21=ArchiMate 2.1-arrange=Arrange-arrow=Arrow-arrows=Arrows-askMeAnything=Ask me anything-asNew=As New-atlas=Atlas-author=Author-authorizationRequired=Authorization required-authorizeThisAppIn=Authorize this app in {1}:-authorize=Authorize-authorizing=Authorizing-automatic=Automatic-autosave=Autosave-autosize=Autosize-attachments=Attachments+arrange=ગોઠવો+arrow=તીર+arrows=તીરો+askMeAnything=મને કંઈપણ પૂછો+asNew=નવા તરીકે+atlas=એટલાસ+author=લેખક+authorizationRequired=અધિકૃતતા જરૂરી+authorizeThisAppIn={1} માં આ એપ્લિકેશનને અધિકૃત કરો:+authorize=અધિકૃત કરો+authorizing=અધિકૃત કરી રહ્યા છે+automatic=સ્વચાલિત+autosave=ઓટોસેવ+autosize=ઓટોસાઇઝ+attachments=જોડાણોaws=AWSaws3d=AWS 3Dazure=Azure-back=Back-background=Background-backgroundColor=Background Color-backgroundImage=Background Image-basic=Basic-beta=beta-blankDrawing=Blank Drawing-blankDiagram=Blank Diagram-block=Block-blockquote=Blockquote-blog=Blog-bold=Bold-bootstrap=Bootstrap-border=Border-borderColor=Border Color-borderWidth=Border Width-bottom=Bottom-bottomAlign=Bottom Align-bottomLeft=Bottom Left-bottomRight=Bottom Right+back=પાછળ+background=પૃષ્ઠભૂમિ+backgroundColor=પૃષ્ઠભૂમિ રંગ+backgroundImage=પૃષ્ઠભૂમિ છબી+basic=મૂળભૂત+beta=બીટા+blankDrawing=ખાલી ડ્રોઇંગ+blankDiagram=ખાલી ડાયાગ્રામ+block=બ્લોક+blockquote=બ્લોકક્વોટ+blog=બ્લોગ+bold=બોલ્ડ+bootstrap=બુટસ્ટ્રેપ+border=બોર્ડર+borderColor=બોર્ડર રંગ+borderWidth=બોર્ડર પહોળાઈ+bottom=નીચે+bottomAlign=નીચે ગોઠવો+bottomLeft=નીચે ડાબે+bottomRight=નીચે જમણેbpmn=BPMN-bringForward=Bring Forward-browser=Browser-bulletedList=Bulleted List-business=Business-busy=Operation in progress-cabinets=Cabinets-cancel=Cancel-center=Center-cannotLoad=Load attempts failed. Please try again later.-cannotLogin=Log in attempts failed. Please try again later.-cannotOpenFile=Cannot open file-change=Change-changeOrientation=Change Orientation-changeUser=Change user-changeStorage=Change storage-changesNotSaved=Changes have not been saved-classDiagram=Class Diagram-userJoined={1} has joined-userLeft={1} has left-chatWindowTitle=Chat-chooseAnOption=Choose an option-chromeApp=Chrome App-collaborativeEditingNotice=Important Notice for Collaborative Editing-compare=Compare-compressed=Compressed-commitMessage=Commit Message-configLinkWarn=This link configures draw.io. Only click OK if you trust whoever gave you it!-configLinkConfirm=Click OK to configure and restart draw.io.-container=Container+bringForward=આગળ લાવો+browser=બ્રાઉઝર+bulletedList=બુલેટેડ યાદી+business=વ્યવસાય+busy=કામગીરી ચાલુ છે+cabinets=કેબિનેટ્સ+cancel=રદ કરો+center=મધ્ય+cannotLoad=લોડ કરવાના પ્રયાસો નિષ્ફળ. કૃપા કરીને પછી ફરી પ્રયાસ કરો.+cannotLogin=લોગ ઇન પ્રયાસો નિષ્ફળ. કૃપા કરીને પછી ફરી પ્રયાસ કરો.+cannotOpenFile=ફાઇલ ખોલી શકાતી નથી+change=બદલો+changeOrientation=દિશા બદલો+changeUser=વપરાશકર્તા બદલો+changeStorage=સ્ટોરેજ બદલો+changesNotSaved=ફેરફારો સાચવ્યા નથી+classDiagram=ક્લાસ ડાયાગ્રામ+userJoined={1} જોડાયા છે+userLeft={1} છોડી ગયા છે+chatWindowTitle=ચેટ+chooseAnOption=વિકલ્પ પસંદ કરો+chromeApp=Chrome એપ+collaborativeEditingNotice=સહયોગી સંપાદન માટે મહત્વપૂર્ણ સૂચના+compare=સરખામણી+compressed=સંકુચિત+commitMessage=કમિટ સંદેશ+configLinkWarn=આ લિંક draw.io ને રૂપરેખાંકિત કરે છે. જેણે તમને આપી હોય તેના પર વિશ્વાસ હોય તો જ OK ક્લિક કરો!+configLinkConfirm=draw.io રૂપરેખાંકિત કરવા અને પુનઃપ્રારંભ કરવા માટે OK ક્લિક કરો.+container=કન્ટેનરcsv=CSVcurrentLayer=વર્તમાન સ્તર-dark=Dark-diagramLanguage=આંકડાના ભાષા-diagramType=Diagram type-diagramXmlDesc=XML File-diagramHtmlDesc=HTML File-diagramPngDesc=Editable Bitmap Image-diagramSvgDesc=Editable Vector Image-didYouMeanToExportToPdf=Did you mean to export to PDF?-disabled=Disabled-draftFound=A draft for '{1}' has been found. Load it into the editor or discard it to continue.-draftRevisionMismatch=There is a different version of this diagram on a shared draft of this page. Please edit the diagram from the draft to ensure you are working with the latest version.-selectDraft=Select a draft to continue editing:-dragAndDropNotSupported=Drag and drop not supported for images. Would you like to import instead?-dropboxCharsNotAllowed=The following characters are not allowed: \ / : ? * " |-check=Check-checksum=Checksum-circle=Circle+dark=ઘેરું+diagramLanguage=ડાયાગ્રામ ભાષા+diagramType=ડાયાગ્રામ પ્રકાર+diagramXmlDesc=XML ફાઇલ+diagramHtmlDesc=HTML ફાઇલ+diagramPngDesc=સંપાદનયોગ્ય બિટમેપ છબી+diagramSvgDesc=સંપાદનયોગ્ય વેક્ટર છબી+didYouMeanToExportToPdf=શું તમે PDF માં નિકાસ કરવા માંગતા હતા?+disabled=અક્ષમ+draftFound={1}' માટે ડ્રાફ્ટ મળ્યો છે. તેને સંપાદકમાં લોડ કરો અથવા ચાલુ રાખવા માટે કાઢી નાખો.+draftRevisionMismatch=આ પૃષ્ઠના શેર કરેલા ડ્રાફ્ટ પર આ ડાયાગ્રામનું એક અલગ સંસ્કરણ છે. કૃપા કરીને ખાતરી કરો કે તમે નવીનતમ સંસ્કરણ સાથે કામ કરી રહ્યા છો તે માટે ડ્રાફ્ટમાંથી ડાયાગ્રામ સંપાદિત કરો.+selectDraft=સંપાદન ચાલુ રાખવા માટે ડ્રાફ્ટ પસંદ કરો:+dragAndDropNotSupported=છબીઓ માટે ડ્રેગ અને ડ્રોપ સમર્થિત નથી. શું તમે તેના બદલે આયાત કરવા માંગો છો?+dropboxCharsNotAllowed=નીચેના અક્ષરોની મંજૂરી નથી: \ / : ? * " |+check=તપાસો+checksum=ચેકસમ+circle=વર્તુળcisco=Cisco-classic=Classic-clearDefaultStyle=Clear Default Style-clearWaypoints=Clear Waypoints-clipart=Clipart-close=Close-closingFile=Closing file-realtimeCollaboration=Real-Time Collaboration-collaborate=Collaborate-collaborator=Collaborator-collaborators=Collaborators-collapse=Collapse-collapseExpand=Collapse/Expand-collapse-expand=Click to collapse/expand\nShift-click to move neighbors \nAlt-click to protect group size-collapsible=Collapsible-comic=Comic-comment=Comment-commentsNotes=Comments/Notes-compress=Compress-configuration=Configuration-connect=Connect-connecting=Connecting-connectWithDrive=Connect with Google Drive-connection=Connection-connectionArrows=Connection Arrows-connectionPoints=Connection Points-constrainProportions=Constrain Proportions-containsValidationErrors=Contains validation errors-copiedToClipboard=Copied to clipboard-copy=Copy-copyConnect=Copy on Connect-copyCreated=A copy of the file was created.-copyData=Copy Data-copyOf=Copy of {1}-copyOfDrawing=Copy of Drawing-copySize=Copy Size-copyStyle=Copy Style-create=Create-createBlankDiagram=Create Blank Diagram-createNewDiagram=Create New Diagram-createRevision=Create Revision-createShape=Create Shape-crop=Crop-curved=Curved-custom=Custom-current=Current-currentPage=Current page-cut=Cut-dashed=Dashed-decideLater=Decide later-default=Default-delete=Delete-deleteAll=Delete all-deleteColumn=Delete column-deleteLibrary401=Insufficient permissions to delete this library-deleteLibrary404=Selected library could not be found-deleteLibrary500=Error deleting library-deleteLibraryConfirm=You are about to permanently delete this library. Are you sure you want to do this?-deleteRow=Delete Row-description=Description-describeYourDiagram=Describe your diagram-device=Device-diagram=Diagram-diagramContent=Diagram Content-diagramLocked=Diagram has been locked to prevent further data loss.-diagramLockedBySince=The diagram is locked by {1} since {2} ago-diagramName=Diagram Name-diagramIsPublic=Diagram is public-diagramIsNotPublic=Diagram is not public-diamond=Diamond-diamondThin=Diamond (thin)-didYouKnow=Did you know...-direction=Direction-discard=Discard-discardChangesAndReconnect=Discard Changes and Reconnect-googleDriveMissingClickHere=Google Drive missing? Click here!-discardChanges=Discard Changes-disconnected=Disconnected-distribute=Distribute-done=Done-doNotShowAgain=Do not show again-dotted=Dotted-doubleClickOrientation=Doubleclick to change orientation-doubleClickTooltip=Doubleclick to insert text-doubleClickChangeProperty=Doubleclick to change property name-download=Download-downloadDesktop=Get Desktop-downloadAs=Download as-clickHereToSave=Click here to save.+classic=ક્લાસિક+clearDefaultStyle=ડિફૉલ્ટ શૈલી સાફ કરો+clearWaypoints=વેપોઇન્ટ્સ સાફ કરો+clipart=ક્લિપઆર્ટ+close=બંધ કરો+closingFile=ફાઇલ બંધ થઈ રહી છે+realtimeCollaboration=રીઅલ-ટાઇમ સહયોગ+collaborate=સહયોગ કરો+collaborator=સહયોગી+collaborators=સહયોગીઓ+collapse=સંકોચો+collapseExpand=સંકોચો/વિસ્તારો+collapse-expand=સંકોચવા/વિસ્તારવા માટે ક્લિક કરો\nપડોશીઓને ખસેડવા માટે Shift-ક્લિક કરો \nજૂથ કદ સુરક્ષિત કરવા માટે Alt-ક્લિક કરો+collapsible=સંકોચનીય+comic=કોમિક+comment=ટિપ્પણી+commentsNotes=ટિપ્પણીઓ/નોંધો+compress=સંકુચિત કરો+configuration=રૂપરેખાંકન+connect=જોડો+connecting=જોડાઈ રહ્યું છે+connectWithDrive=Google Drive સાથે જોડો+connection=જોડાણ+connectionArrows=જોડાણ તીર+connectionPoints=જોડાણ બિંદુઓ+constrainProportions=પ્રમાણ જાળવો+containsValidationErrors=માન્યતા ભૂલો ધરાવે છે+copiedToClipboard=ક્લિપબોર્ડ પર કૉપિ થયું+copy=કૉપિ કરો+copyConnect=જોડાણ પર કૉપિ કરો+copyCreated=ફાઇલની એક નકલ બનાવવામાં આવી.+copyData=ડેટા કૉપિ કરો+copyOf={1} ની નકલ+copyOfDrawing=ડ્રોઇંગની નકલ+copySize=કદ કૉપિ કરો+copyStyle=શૈલી કૉપિ કરો+create=બનાવો+createBlankDiagram=ખાલી ડાયાગ્રામ બનાવો+createNewDiagram=નવો ડાયાગ્રામ બનાવો+createRevision=રિવિઝન બનાવો+createShape=આકાર બનાવો+crop=કાપો+curved=વક્ર+custom=કસ્ટમ+current=વર્તમાન+currentPage=વર્તમાન પૃષ્ઠ+cut=કાપો+dashed=ડૅશવાળું+decideLater=પછી નક્કી કરો+default=ડિફૉલ્ટ+delete=કાઢી નાખો+deleteAll=બધું કાઢી નાખો+deleteColumn=કૉલમ કાઢી નાખો+deleteLibrary401=આ લાઇબ્રેરી કાઢી નાખવાની પરવાનગી અપૂરતી છે+deleteLibrary404=પસંદ કરેલી લાઇબ્રેરી મળી શકી નથી+deleteLibrary500=લાઇબ્રેરી કાઢી નાખવામાં ભૂલ+deleteLibraryConfirm=તમે આ લાઇબ્રેરીને કાયમી રીતે કાઢી નાખવાના છો. શું તમે ખરેખર આ કરવા માંગો છો?+deleteRow=પંક્તિ કાઢી નાખો+description=વર્ણન+describeYourDiagram=તમારા ડાયાગ્રામનું વર્ણન કરો+device=ઉપકરણ+diagram=ડાયાગ્રામ+diagramContent=ડાયાગ્રામ સામગ્રી+diagramLocked=વધુ ડેટા નુકસાન અટકાવવા ડાયાગ્રામ લૉક કરવામાં આવ્યું છે.+diagramLockedBySince=ડાયાગ્રામ {1} દ્વારા {2} પહેલાંથી લૉક છે+diagramName=ડાયાગ્રામ નામ+diagramIsPublic=ડાયાગ્રામ સાર્વજનિક છે+diagramIsNotPublic=ડાયાગ્રામ સાર્વજનિક નથી+diamond=હીરો+diamondThin=હીરો (પાતળો)+didYouKnow=શું તમે જાણો છો...+direction=દિશા+discard=કાઢી નાખો+discardChangesAndReconnect=ફેરફારો કાઢી નાખો અને ફરીથી જોડાઓ+googleDriveMissingClickHere=Google Drive ખૂટે છે? અહીં ક્લિક કરો!+discardChanges=ફેરફારો કાઢી નાખો+disconnected=ડિસ્કનેક્ટ થયેલ+distribute=વિતરિત કરો+done=થઈ ગયું+doNotShowAgain=ફરીથી બતાવશો નહીં+dotted=ટપકાંવાળું+doubleClickOrientation=ઓરિએન્ટેશન બદલવા માટે ડબલક્લિક કરો+doubleClickTooltip=ટેક્સ્ટ દાખલ કરવા માટે ડબલક્લિક કરો+doubleClickChangeProperty=પ્રોપર્ટી નામ બદલવા માટે ડબલક્લિક કરો+download=ડાઉનલોડ+downloadDesktop=ડેસ્કટોપ મેળવો+downloadAs=આ રૂપે ડાઉનલોડ કરો+clickHereToSave=સાચવવા માટે અહીં ક્લિક કરો.dpi=DPI-draftDiscarded=Draft discarded-draftSaved=Draft saved-dragElementsHere=Drag elements here-dragImagesHere=Drag images or URLs here-dragUrlsHere=Drag URLs here+draftDiscarded=ડ્રાફ્ટ કાઢી નાખવામાં આવ્યો+draftSaved=ડ્રાફ્ટ સાચવવામાં આવ્યો+dragElementsHere=તત્વોને અહીં ખેંચો+dragImagesHere=છબીઓ અથવા URLs અહીં ખેંચો+dragUrlsHere=URLs અહીં ખેંચોdraw.io=draw.io-drawing=Drawing{1}-drawingEmpty=Drawing is empty-drawingTooLarge=Drawing is too large-drawioForWork=Draw.io for GSuite+drawing=ડ્રોઇંગ{1}+drawingEmpty=ડ્રોઇંગ ખાલી છે+drawingTooLarge=ડ્રોઇંગ ખૂબ મોટું છે+drawioForWork=GSuite માટે Draw.iodropbox=Dropbox-duplicate=Duplicate-duplicateIt=Duplicate {1}-divider=Divider+duplicate=ડુપ્લિકેટ+duplicateIt={1} ડુપ્લિકેટ કરો+divider=વિભાજકdx=Dxdy=Dy-east=East-edit=Edit-editData=Edit Data-editDiagram=Edit Diagram-editGeometry=Edit Geometry-editImage=Edit Image-editImageUrl=Edit Image URL-editLink=Edit Link-editShape=Edit Shape-editStyle=Edit Style-editText=Edit Text-editTooltip=Edit Tooltip-glass=Glass-googleImages=Google Images-imageSearch=Image Search+east=પૂર્વ+edit=સંપાદિત કરો+editData=ડેટા સંપાદિત કરો+editDiagram=આકૃતિ સંપાદિત કરો+editGeometry=ભૂમિતિ સંપાદિત કરો+editImage=છબી સંપાદિત કરો+editImageUrl=છબી URL સંપાદિત કરો+editLink=લિંક સંપાદિત કરો+editShape=આકાર સંપાદિત કરો+editStyle=શૈલી સંપાદિત કરો+editText=ટેક્સ્ટ સંપાદિત કરો+editTooltip=ટૂલટિપ સંપાદિત કરો+glass=કાચ+googleImages=Google છબીઓ+imageSearch=છબી શોધeip=EIP-embed=Embed-embedFonts=Embed Fonts-embedImages=Embed Images-mainEmbedNotice=Paste this into the page-electrical=Electrical-ellipse=Ellipse-embedNotice=Paste this once at the end of the page-enterGroup=Enter Group-enterName=Enter Name-enterPropertyName=Enter Property Name-enterValue=Enter Value-entityRelation=Entity Relation-entityRelationshipDiagram=Entity Relationship Diagram-error=Error-errorDeletingFile=Error deleting file-errorLoadingFile=Error loading file-errorRenamingFile=Error renaming file-errorRenamingFileNotFound=Error renaming file. File was not found.-errorRenamingFileForbidden=Error renaming file. Insufficient access rights.-errorSavingDraft=Error saving draft-errorSavingFile=Error saving file-errorSavingFileUnknown=Error authorizing with Google's servers. Please refresh the page to re-attempt.-errorSavingFileForbidden=Error saving file. Insufficient access rights.-errorSavingFileNameConflict=Could not save diagram. Current page already contains file named '{1}'.-errorSavingFileNotFound=Error saving file. File was not found.-errorSavingFileReadOnlyMode=Could not save diagram while read-only mode is active.-errorSavingFileSessionTimeout=Your session has ended. Please <a target='_blank' href='{1}'>{2}</a> and return to this tab to try to save again.-errorSendingFeedback=Error sending feedback.-errorUpdatingPreview=Error updating preview.-exit=Exit-exitGroup=Exit Group-expand=Expand-explore=Explore-export=Export-exporting=Exporting-exportAs=Export as-exportOptionsDisabled=Export options disabled-exportOptionsDisabledDetails=The owner has disabled options to download, print or copy for commenters and viewers on this file.-externalChanges=External Changes-extras=Extras-failedToSaveTryReconnect=Failed to save, trying to reconnect-featureRequest=Feature Request-feedback=Feedback-feedbackSent=Feedback successfully sent.-floorplans=Floorplans-file=File-fileChangedOverwriteDialog=The file has been modified. Do you want to save the file and overwrite those changes?-fileChangedSyncDialog=The file has been modified.-fileChangedSync=The file has been modified. Click here to synchronize.-overwrite=Overwrite-synchronize=Synchronize-filename=Filename-fileExists=File already exists-fileMovedToTrash=File was moved to trash-fileNearlyFullSeeFaq=File nearly full, please see FAQ-fileNotFound=File not found-repositoryNotFound=Repository not found-fileNotFoundOrDenied=The file was not found. It does not exist or you do not have access.-fileNotLoaded=File not loaded-fileNotSaved=File not saved-fileOpenLocation=How would you like to open these file(s)?-filetypeHtml=.html causes file to save as HTML with redirect to cloud URL-filetypePng=.png causes file to save as PNG with embedded data-filetypeSvg=.svg causes file to save as SVG with embedded data-fileWillBeSavedInAppFolder={1} will be saved in the app folder.-fill=Fill-fillColor=Fill Color-filterCards=Filter Cards-find=Find-findInDiagram=આ આંકડા માં શોધો-fit=Fit-fitContainer=Resize Container-fitIntoContainer=Fit into Container-fitPage=Fit Page-fitPageWidth=Fit Page Width-fitTo=Fit to-fitToSheetsAcross=sheet(s) across-fitToBy=by-fitToSheetsDown=sheet(s) down-fitTwoPages=Two Pages-fitWindow=Fit Window-flip=Flip-flipH=Flip Horizontal-flipV=Flip Vertical-flowAnimation=Flow Animation-flowchart=Flowchart-folder=Folder-font=Font-fontColor=Font Color-fontFamily=Font Family-fontSize=Font Size-forbidden=You are not authorized to access this file-format=Format-formatPanel=Format Panel-formatted=Formatted-formattedText=Formatted Text+embed=એમ્બેડ+embedFonts=ફોન્ટ્સ એમ્બેડ કરો+embedImages=છબીઓ એમ્બેડ કરો+mainEmbedNotice=આને પૃષ્ઠમાં પેસ્ટ કરો+electrical=ઇલેક્ટ્રિકલ+ellipse=લંબગોળ+embedNotice=આને પૃષ્ઠના અંતે એક વાર પેસ્ટ કરો+enterGroup=જૂથમાં પ્રવેશો+enterName=નામ દાખલ કરો+enterPropertyName=પ્રોપર્ટી નામ દાખલ કરો+enterValue=મૂલ્ય દાખલ કરો+entityRelation=એન્ટિટી સંબંધ+entityRelationshipDiagram=એન્ટિટી સંબંધ ડાયાગ્રામ+error=ભૂલ+errorDeletingFile=ફાઇલ કાઢી નાખવામાં ભૂલ+errorLoadingFile=ફાઇલ લોડ કરવામાં ભૂલ+errorRenamingFile=ફાઇલનું નામ બદલવામાં ભૂલ+errorRenamingFileNotFound=ફાઇલનું નામ બદલવામાં ભૂલ. ફાઇલ મળી નથી.+errorRenamingFileForbidden=ફાઇલનું નામ બદલવામાં ભૂલ. અપૂરતા ઍક્સેસ અધિકારો.+errorSavingDraft=ડ્રાફ્ટ સાચવવામાં ભૂલ+errorSavingFile=ફાઇલ સાચવવામાં ભૂલ+errorSavingFileUnknown=Google સર્વર્સ સાથે અધિકૃત કરવામાં ત્રુટિ. ફરીથી પ્રયાસ કરવા માટે કૃપા કરીને પૃષ્ઠ રિફ્રેશ કરો.+errorSavingFileForbidden=ફાઇલ સાચવવામાં ત્રુટિ. અપૂરતા ઍક્સેસ અધિકારો.+errorSavingFileNameConflict=ડાયાગ્રામ સાચવી શકાયો નહીં. વર્તમાન પૃષ્ઠમાં પહેલેથી '{1}' નામની ફાઇલ છે.+errorSavingFileNotFound=ફાઇલ સાચવવામાં ત્રુટિ. ફાઇલ મળી નથી.+errorSavingFileReadOnlyMode=રીડ-ઓન્લી મોડ સક્રિય હોય ત્યારે ડાયાગ્રામ સાચવી શકાયો નહીં.+errorSavingFileSessionTimeout=તમારું સત્ર સમાપ્ત થયું છે. કૃપા કરીને <a target='_blank' href='{1}'>{2}</a> કરો અને ફરીથી સાચવવાનો પ્રયાસ કરવા માટે આ ટેબ પર પાછા આવો.+errorSendingFeedback=પ્રતિસાદ મોકલવામાં ત્રુટિ.+errorUpdatingPreview=પૂર્વાવલોકન અપડેટ કરવામાં ત્રુટિ.+exit=બહાર નીકળો+exitGroup=ગ્રુપમાંથી બહાર નીકળો+expand=વિસ્તૃત કરો+explore=અન્વેષણ કરો+export=નિકાસ કરો+exporting=નિકાસ થઈ રહી છે+exportAs=આ રૂપે નિકાસ કરો+exportOptionsDisabled=નિકાસ વિકલ્પો અક્ષમ+exportOptionsDisabledDetails=માલિકે આ ફાઇલ પર ટિપ્પણીકારો અને દર્શકો માટે ડાઉનલોડ, પ્રિન્ટ અથવા કૉપી કરવાના વિકલ્પો અક્ષમ કર્યા છે.+externalChanges=બાહ્ય ફેરફારો+extras=વધારાનું+failedToSaveTryReconnect=સાચવવામાં નિષ્ફળ, ફરીથી કનેક્ટ કરવાનો પ્રયાસ+featureRequest=સુવિધા વિનંતી+feedback=પ્રતિસાદ+feedbackSent=પ્રતિસાદ સફળતાપૂર્વક મોકલાયો.+floorplans=ફ્લોરપ્લાન્સ+file=ફાઇલ+fileChangedOverwriteDialog=ફાઇલમાં ફેરફાર થયો છે. શું તમે ફાઇલ સાચવીને તે ફેરફારો ઓવરરાઇટ કરવા માંગો છો?+fileChangedSyncDialog=ફાઇલમાં ફેરફાર થયો છે.+fileChangedSync=ફાઇલમાં ફેરફાર થયો છે. સિંક્રનાઇઝ કરવા અહીં ક્લિક કરો.+overwrite=ઓવરરાઇટ+synchronize=સિંક્રનાઇઝ+filename=ફાઇલનું નામ+fileExists=ફાઇલ પહેલેથી અસ્તિત્વમાં છે+fileMovedToTrash=ફાઇલ ટ્રેશમાં ખસેડવામાં આવી+fileNearlyFullSeeFaq=ફાઇલ લગભગ ભરેલી છે, કૃપા કરીને FAQ જુઓ+fileNotFound=ફાઇલ મળી નથી+repositoryNotFound=રિપોઝિટરી મળી નથી+fileNotFoundOrDenied=ફાઇલ મળી નથી. તે અસ્તિત્વમાં નથી અથવા તમારી પાસે ઍક્સેસ નથી.+fileNotLoaded=ફાઇલ લોડ થઈ નથી+fileNotSaved=ફાઇલ સાચવાઈ નથી+fileOpenLocation=તમે આ ફાઇલ(ઓ) કેવી રીતે ખોલવા માંગો છો?+filetypeHtml=.html ફાઇલને ક્લાઉડ URL પર રીડાયરેક્ટ સાથે HTML તરીકે સાચવે છે+filetypePng=.png ફાઇલને એમ્બેડેડ ડેટા સાથે PNG તરીકે સાચવે છે+filetypeSvg=.svg ફાઇલને એમ્બેડેડ ડેટા સાથે SVG તરીકે સાચવે છે+fileWillBeSavedInAppFolder={1} એપ્લિકેશન ફોલ્ડરમાં સાચવવામાં આવશે.+fill=ભરો+fillColor=ભરવાનો રંગ+filterCards=કાર્ડ્સ ફિલ્ટર કરો+find=શોધો+findInDiagram=આકૃતિમાં શોધો+fit=ફિટ+fitContainer=કન્ટેનરનું કદ બદલો+fitIntoContainer=કન્ટેનરમાં ફિટ કરો+fitPage=પૃષ્ઠ ફિટ કરો+fitPageWidth=પૃષ્ઠની પહોળાઈ ફિટ કરો+fitTo=માં ફિટ કરો+fitToSheetsAcross=શીટ(ઓ) આડી+fitToBy=દ્વારા+fitToSheetsDown=શીટ(ઓ) નીચે+fitTwoPages=બે પૃષ્ઠો+fitWindow=વિન્ડો ફિટ કરો+flip=ફ્લિપ+flipH=આડું ફ્લિપ+flipV=ઊભું ફ્લિપ+flowAnimation=ફ્લો એનિમેશન+flowchart=ફ્લોચાર્ટ+folder=ફોલ્ડર+font=ફોન્ટ+fontColor=ફોન્ટ રંગ+fontFamily=ફોન્ટ ફેમિલી+fontSize=ફોન્ટ સાઇઝ+forbidden=તમને આ ફાઇલ ઍક્સેસ કરવાની અધિકૃતતા નથી+format=ફોર્મેટ+formatPanel=ફોર્મેટ પેનલ+formatted=ફોર્મેટ કરેલું+formattedText=ફોર્મેટ કરેલું ટેક્સ્ટformatPng=PNGformatGif=GIFformatJpg=JPEG@@ -356,979 +356,981 @@ formatPdf=PDFformatSql=SQLformatSvg=SVGformatHtmlEmbedded=HTML-formatSvgEmbedded=SVG (with XML)+formatSvgEmbedded=SVG (XML સાથે)formatVsdx=VSDXformatVssx=VSSXformatWebp=WebP-formatXmlPlain=XML (Plain)+formatXmlPlain=XML (સાદું)formatXml=XML-forum=Discussion/Help Forums-freehand=Freehand-fromTemplate=From Template-fromTemplateUrl=From Template URL-fromText=From Text-fromUrl=From URL-fromThisPage=From this page-fullscreen=Fullscreen-gap=Gap+forum=ચર્ચા/મદદ ફોરમ+freehand=ફ્રીહેન્ડ+fromTemplate=ટેમ્પલેટમાંથી+fromTemplateUrl=ટેમ્પલેટ URL માંથી+fromText=ટેક્સ્ટમાંથી+fromUrl=URL માંથી+fromThisPage=આ પૃષ્ઠમાંથી+fullscreen=પૂર્ણ સ્ક્રીન+gap=અંતરgcp=GCP-general=General-getNotionChromeExtension=Get the Notion Chrome Extension+general=સામાન્ય+getNotionChromeExtension=Notion Chrome એક્સ્ટેન્શન મેળવોgithub=GitHubgitlab=GitLabgliffy=Gliffy-global=Global+global=વૈશ્વિકgoogleDocs=Google DocsgoogleDrive=Google DrivegoogleGadget=Google Gadget-googleSharingNotAvailable=Sharing is only available via Google Drive. Please click Open below and share from the more actions menu:+googleSharingNotAvailable=શેરિંગ ફક્ત Google Drive દ્વારા ઉપલબ્ધ છે. કૃપા કરીને નીચે Open પર ક્લિક કરો અને more actions મેનૂમાંથી શેર કરો:googleSlides=Google SlidesgoogleSites=Google SitesgoogleSheets=Google Sheets-gradient=Gradient-gradientColor=Color-grid=Grid-gridColor=Grid Color-gridSize=Grid Size-group=Group-guides=Guides-hateApp=I hate draw.io-heading=Heading-height=Height-help=Help-helpTranslate=Help us translate this application-hide=Hide-hideIt=Hide {1}-hidden=Hidden-highContrast=High Contrast-home=Home-horizontal=Horizontal-horizontalFlow=Horizontal Flow-horizontalTree=Horizontal Tree-howTranslate=How good is the translation in your language?+gradient=ગ્રેડિયન્ટ+gradientColor=રંગ+grid=ગ્રિડ+gridColor=ગ્રિડ રંગ+gridSize=ગ્રિડ કદ+group=ગ્રુપ+guides=માર્ગદર્શિકાઓ+hateApp=મને draw.io પસંદ નથી+heading=શીર્ષક+height=ઊંચાઈ+help=મદદ+helpTranslate=આ એપ્લિકેશનનું ભાષાંતર કરવામાં અમને મદદ કરો+hide=છુપાવો+hideIt={1} છુપાવો+hidden=છુપાયેલ+highContrast=ઉચ્ચ કોન્ટ્રાસ્ટ+home=હોમ+horizontal=આડું+horizontalFlow=આડો પ્રવાહ+horizontalTree=આડું વૃક્ષ+howTranslate=તમારી ભાષામાં અનુવાદ કેટલો સારો છે?html=HTML-htmlText=HTML Text+htmlText=HTML ટેક્સ્ટid=IDiframe=IFrame-ignore=Ignore-image=Image-imageUrl=Image URL-images=Images-imagePreviewError=This image couldn't be loaded for preview. Please check the URL.-imageTooBig=Image too big+ignore=અવગણો+image=છબી+imageUrl=છબી URL+images=છબીઓ+imagePreviewError=આ છબી પૂર્વાવલોકન માટે લોડ કરી શકાઈ નથી. કૃપા કરીને URL તપાસો.+imageTooBig=છબી ખૂબ મોટી છેimgur=Imgur-import=Import-importFrom=Import from-improveContrast=Improve Contrast-includeCopyOfMyDiagram=Include a copy of my diagram-increaseIndent=Increase Indent-decreaseIndent=Decrease Indent-insert=Insert-insertColumnBefore=Insert Column Left-insertColumnAfter=Insert Column Right-insertEllipse=Insert Ellipse-insertImage=Insert Image-insertHorizontalRule=Insert Horizontal Rule-insertLink=Insert Link-insertPage=Insert Page-insertRectangle=Insert Rectangle-insertRhombus=Insert Rhombus-insertRowBefore=Insert Row Above-insertRowAfter=Insert Row After-insertText=Insert Text-inserting=Inserting-installApp=Install App-invalidFilename=Diagram names must not contain the following characters: \ / | : ; { } < > & + ? = "-invalidLicenseSeeThisPage=Your license is invalid, please see this <a target="_blank" href="https://www.drawio.com/doc/faq/license-drawio-confluence-jira-cloud">page</a>.-invalidInput=Invalid input-invalidName=Invalid name-invalidOrMissingFile=Invalid or missing file-invalidPublicUrl=Invalid public URL+import=આયાત કરો+importFrom=આમાંથી આયાત કરો+improveContrast=કોન્ટ્રાસ્ટ સુધારો+includeCopyOfMyDiagram=મારા ડાયાગ્રામની નકલ સામેલ કરો+increaseIndent=ઇન્ડેન્ટ વધારો+decreaseIndent=ઇન્ડેન્ટ ઘટાડો+insert=દાખલ કરો+insertColumnBefore=ડાબે કૉલમ દાખલ કરો+insertColumnAfter=જમણે કૉલમ દાખલ કરો+insertEllipse=લંબગોળ દાખલ કરો+insertImage=છબી દાખલ કરો+insertHorizontalRule=આડી રેખા દાખલ કરો+insertLink=લિંક દાખલ કરો+insertPage=પૃષ્ઠ દાખલ કરો+insertRectangle=લંબચોરસ દાખલ કરો+insertRhombus=સમચતુર્ભુજ દાખલ કરો+insertRowBefore=ઉપર પંક્તિ દાખલ કરો+insertRowAfter=પછી પંક્તિ દાખલ કરો+insertText=ટેક્સ્ટ દાખલ કરો+inserting=દાખલ કરી રહ્યા છીએ+installApp=એપ ઇન્સ્ટોલ કરો+invalidFilename=ડાયાગ્રામ નામોમાં નીચેના અક્ષરો ન હોવા જોઈએ: \ / | : ; { } < > & + ? = "+invalidLicenseSeeThisPage=તમારું લાઇસન્સ અમાન્ય છે, કૃપા કરીને આ <a target="_blank" href="https://www.drawio.com/doc/faq/license-drawio-confluence-jira-cloud">પૃષ્ઠ</a> જુઓ.+invalidInput=અમાન્ય ઇનપુટ+invalidName=અમાન્ય નામ+invalidOrMissingFile=અમાન્ય અથવા ગુમ ફાઇલ+invalidPublicUrl=અમાન્ય સાર્વજનિક URLinvertSelection=પસંદગી ઉલટાવો-isometric=Isometric+isometric=આઇસોમેટ્રિકios=iOS-italic=Italic+italic=ઇટાલિકkennedy=Kennedy-keyboardShortcuts=Keyboard Shortcuts-labels=Labels-layers=Layers-landscape=Landscape+keyboardShortcuts=કીબોર્ડ શૉર્ટકટ્સ+labels=લેબલ્સ+layers=સ્તરો+landscape=લેન્ડસ્કેપlanguage=ભાષા-leanMapping=Lean Mapping-lastChange=Last change {1} ago-lessThanAMinute=less than a minute-licensingError=Licensing Error-licenseHasExpired=The license for {1} has expired on {2}. Click here.-licenseRequired=This feature requires draw.io to be licensed.-licenseWillExpire=The license for {1} will expire on {2}. Click here.-light=Light-lineJumps=Line jumps-linkAccountRequired=If the diagram is not public a Google account is required to view the link.-linkText=Link Text-list=List-minute=minute-minutes=minutes-hours=hours-days=days-months=months-years=years-restartForChangeRequired=Changes will take effect after a restart of the application.-laneColor=Lanecolor+leanMapping=લીન મેપિંગ+lastChange=છેલ્લો ફેરફાર {1} પહેલાં+lessThanAMinute=એક મિનિટથી ઓછું+licensingError=લાઇસન્સિંગ ભૂલ+licenseHasExpired={1} માટેનું લાઇસન્સ {2} ના રોજ સમાપ્ત થઈ ગયું છે. અહીં ક્લિક કરો.+licenseRequired=આ સુવિધા માટે draw.io નું લાઇસન્સ જરૂરી છે.+licenseWillExpire={1} માટેનું લાઇસન્સ {2} ના રોજ સમાપ્ત થશે. અહીં ક્લિક કરો.+light=લાઇટ+lineJumps=લાઇન જમ્પ્સ+linkAccountRequired=જો ડાયાગ્રામ સાર્વજનિક નથી તો લિંક જોવા માટે Google એકાઉન્ટ જરૂરી છે.+linkText=લિંક ટેક્સ્ટ+list=યાદી+minute=મિનિટ+minutes=મિનિટ+hours=કલાક+days=દિવસો+months=મહિનાઓ+years=વર્ષો+restartForChangeRequired=એપ્લિકેશન પુનઃપ્રારંભ કર્યા પછી ફેરફારો લાગુ થશે.+laneColor=લેન રંગlanguageCode=ભાષા કોડ-lastModified=Last modified-layout=Layout-left=Left-leftAlign=Left Align-leftToRight=Left to Right-libraryTooltip=Drag and drop shapes here or click + to insert. Double click to edit.-lightbox=Lightbox-line=Line-lineend=Line end-lineheight=Line Height-linestart=Line start-linewidth=Linewidth-link=Link-links=Links-loading=Loading+lastModified=છેલ્લે સંશોધિત+layout=લેઆઉટ+left=ડાબે+leftAlign=ડાબે સંરેખિત+leftToRight=ડાબેથી જમણે+libraryTooltip=આકારોને અહીં ખેંચો અને છોડો અથવા દાખલ કરવા માટે + ક્લિક કરો. સંપાદિત કરવા માટે ડબલ ક્લિક કરો.+lightbox=લાઇટબોક્સ+line=રેખા+lineend=રેખાનો અંત+lineheight=રેખાની ઊંચાઈ+linestart=રેખાની શરૂઆત+linewidth=રેખાની પહોળાઈ+link=લિંક+links=લિંક્સ+loading=લોડ થઈ રહ્યું છેlock=તાળું-locked=Locked-lockUnlock=Lock/Unlock-loggedOut=Logged Out-logIn=log in-loveIt=I love {1}+locked=લૉક કરેલું+lockUnlock=લૉક/અનલૉક+loggedOut=લૉગ આઉટ થયેલ+logIn=લૉગ ઇન+loveIt=મને {1} ગમે છેlucidchart=Lucidchart-maps=Maps-mathematicalTypesetting=Mathematical Typesetting-makeCopy=Make a Copy-manual=Manual+maps=નકશા+mathematicalTypesetting=ગાણિતિક ટાઇપસેટિંગ+makeCopy=નકલ બનાવો+manual=મેન્યુઅલmaximize=મહત્તમ કરો-merge=Merge+merge=મર્જ કરોmermaid=MermaidmicrosoftOffice=Microsoft OfficemicrosoftExcel=Microsoft ExcelmicrosoftPowerPoint=Microsoft PowerPointmicrosoftWord=Microsoft Word-middle=Middle-minimal=Minimal+middle=મધ્ય+minimal=ન્યૂનતમminimize=ન્યૂનતમ કરો-misc=Misc-mockups=Mockups-modern=Modern-modificationDate=Modification date-modifiedBy=Modified by-more=More-moreResults=More Results-moreShapes=More Shapes-move=Move-moveToFolder=Move to Folder-moving=Moving-moveSelectionTo=Move Selection to {1}-myDrive=My Drive-myFiles=My Files-name=Name-navigation=Navigation-network=Network-networking=Networking-new=New-newLibrary=New Library-nextPage=Next Page+misc=વિવિધ+mockups=મોકઅપ્સ+modern=આધુનિક+modificationDate=ફેરફારની તારીખ+modifiedBy=દ્વારા ફેરફાર+more=વધુ+moreResults=વધુ પરિણામો+moreShapes=વધુ આકારો+move=ખસેડો+moveToFolder=ફોલ્ડરમાં ખસેડો+moving=ખસેડી રહ્યું છે+moveSelectionTo=પસંદગીને {1} માં ખસેડો+myDrive=મારી ડ્રાઇવ+myFiles=મારી ફાઇલો+name=નામ+navigation=નેવિગેશન+network=નેટવર્ક+networking=નેટવર્કિંગ+new=નવું+newLibrary=નવી લાઇબ્રેરી+nextPage=આગળનું પૃષ્ઠno=ના-noPickFolder=No, pick folder-noAttachments=No attachments found-noColor=No Color-noFiles=No Files-noFileSelected=No file selected-noLibraries=No libraries found-noMoreResults=No more results-none=None-noOtherViewers=No other viewers-noPlugins=No plugins-noPreview=No preview-noResponse=No response from server-noResultsFor=No results for '{1}'-noRevisions=No revisions-noSearchResults=No search results found-noPageContentOrNotSaved=No anchors found on this page or it hasn't been saved yet-normal=Normal-north=North-notADiagramFile=Not a diagram file-notALibraryFile=Not a library file-notAvailable=Not available-notAUtf8File=Not a UTF-8 file-notConnected=Not connected-note=Note+noPickFolder=ના, ફોલ્ડર પસંદ કરો+noAttachments=કોઈ જોડાણો મળ્યા નથી+noColor=કોઈ રંગ નથી+noFiles=કોઈ ફાઇલો નથી+noFileSelected=કોઈ ફાઇલ પસંદ નથી+noLibraries=કોઈ લાઇબ્રેરીઓ મળી નથી+noMoreResults=વધુ પરિણામો નથી+none=કંઈ નહીં+noOtherViewers=અન્ય કોઈ દર્શકો નથી+noPlugins=કોઈ પ્લગઇન્સ નથી+noPreview=કોઈ પૂર્વાવલોકન નથી+noResponse=સર્વર તરફથી કોઈ પ્રતિસાદ નથી+noResultsFor={1}' માટે કોઈ પરિણામો નથી+noRevisions=કોઈ સુધારાઓ નથી+noSearchResults=કોઈ શોધ પરિણામો મળ્યા નથી+noPageContentOrNotSaved=આ પૃષ્ઠ પર કોઈ એન્કર મળ્યા નથી અથવા તે હજુ સુધી સાચવવામાં આવ્યું નથી+normal=સામાન્ય+north=ઉત્તર+notADiagramFile=ડાયાગ્રામ ફાઇલ નથી+notALibraryFile=લાઇબ્રેરી ફાઇલ નથી+notAvailable=ઉપલબ્ધ નથી+notAUtf8File=UTF-8 ફાઇલ નથી+notConnected=જોડાયેલ નથી+note=નોંધnotion=Notion-notSatisfiedWithImport=Not satisfied with the import?-notUsingService=Not using {1}?-numberedList=Numbered list-offline=Offline-ok=OK+notSatisfiedWithImport=આયાતથી સંતુષ્ટ નથી?+notUsingService={1} નો ઉપયોગ નથી કરતા?+numberedList=ક્રમાંકિત સૂચિ+offline=ઑફલાઇન+ok=ઠીકoneDrive=OneDrive-online=Online-opacity=Opacity-open=Open-openArrow=Open Arrow-openExistingDiagram=Open Existing Diagram-openFile=Open File-openFrom=Open from-openLibrary=Open Library-openLibraryFrom=Open Library from-openLink=Open Link-openInNewWindow=Open in New Window-openInThisWindow=Open in This Window-openIt=Open {1}-openRecent=Open Recent-openSupported=Supported formats are files saved from this software (.xml), .vsdx and .gliffy-options=Options-organic=Organic-orgChart=Org Chart-orthogonal=Orthogonal-otherViewer=other viewer-otherViewers=other viewers-outline=Outline-oval=Oval-page=Page-pageContent=Page Content-pageNotFound=Page not found-pageWithNumber=Page-{1}-pages=Pages-pageTabs=Page Tabs-pageView=Page View-pageSetup=Page Setup-pageScale=Page Scale-pan=Pan-panTooltip=Space+Drag to pan-paperSize=Paper Size-pattern=Pattern-parallels=Parallels-paste=Paste-pasteData=Paste Data-pasteHere=Paste Here-pasteSize=Paste Size-pasteStyle=Paste Style-perimeter=Perimeter-permissionAnyone=Anyone can edit-permissionAuthor=Owner and admins can edit-pickFolder=Pick a folder-pickLibraryDialogTitle=Select Library-publicDiagramUrl=Public URL of the diagram-placeholders=Placeholders+online=ઑનલાઇન+opacity=અપારદર્શકતા+open=ખોલો+openArrow=ખુલ્લું તીર+openExistingDiagram=હાલનો ડાયાગ્રામ ખોલો+openFile=ફાઇલ ખોલો+openFrom=અહીંથી ખોલો+openLibrary=લાઇબ્રેરી ખોલો+openLibraryFrom=અહીંથી લાઇબ્રેરી ખોલો+openLink=લિંક ખોલો+openInNewWindow=નવી વિન્ડોમાં ખોલો+openInThisWindow=આ વિન્ડોમાં ખોલો+openIt={1} ખોલો+openRecent=તાજેતરના ખોલો+openSupported=સમર્થિત ફોર્મેટ્સ આ સોફ્ટવેરમાંથી સાચવેલી ફાઇલો (.xml), .vsdx અને .gliffy છે+options=વિકલ્પો+organic=ઓર્ગેનિક+orgChart=ઓર્ગ ચાર્ટ+orthogonal=ઓર્થોગોનલ+otherViewer=અન્ય દર્શક+otherViewers=અન્ય દર્શકો+outline=આઉટલાઇન+oval=અંડાકાર+page=પૃષ્ઠ+pageContent=પૃષ્ઠ સામગ્રી+pageNotFound=પૃષ્ઠ મળ્યું નથી+pageWithNumber=પૃષ્ઠ-{1}+pages=પૃષ્ઠો+pageTabs=પૃષ્ઠ ટેબ્સ+pageView=પૃષ્ઠ દૃશ્ય+pageSetup=પૃષ્ઠ સેટઅપ+pageScale=પૃષ્ઠ સ્કેલ+pan=પૅન+panTooltip=પૅન કરવા માટે Space+ખેંચો+paperSize=કાગળનું કદ+pattern=પેટર્ન+parallels=સમાંતર રેખાઓ+paste=પેસ્ટ કરો+pasteData=ડેટા પેસ્ટ કરો+pasteHere=અહીં પેસ્ટ કરો+pasteSize=માપ પેસ્ટ કરો+pasteStyle=શૈલી પેસ્ટ કરો+perimeter=પરિમિતિ+permissionAnyone=કોઈપણ સંપાદિત કરી શકે છે+permissionAuthor=માલિક અને એડમિન સંપાદિત કરી શકે છે+pickFolder=ફોલ્ડર પસંદ કરો+pickLibraryDialogTitle=લાઇબ્રેરી પસંદ કરો+publicDiagramUrl=ડાયાગ્રામનું સાર્વજનિક URL+placeholders=પ્લેસહોલ્ડર્સplantUml=PlantUML-plugins=Plugins-pluginUrl=Plugin URL-pluginWarning=The page has requested to load the following plugin(s):\n \n {1}\n \n Would you like to load these plugin(s) now?\n \n NOTE : Only allow plugins to run if you fully understand the security implications of doing so.\n-plusTooltip=Click to connect and clone (ctrl+click to clone, shift+click to connect). Drag to connect (ctrl+drag to clone).-portrait=Portrait-position=Position-posterPrint=Poster Print-preferences=Preferences-preview=Preview-previousPage=Previous Page-presentationMode=Presentation Mode-print=Print-procEng=Proc. Eng.-project=Project-priority=Priority-processForHiringNewEmployee=Process for hiring a new employee-properties=Properties-publish=Publish-quickStart=Quick Start Video-rack=Rack-radial=Radial-radialTree=Radial Tree-readOnly=Read-only-reconnecting=Reconnecting-recentlyUpdated=Recently Updated-recentlyViewed=Recently Viewed-rectangle=Rectangle-redirectToNewApp=This file was created or modified in a newer version of this app. You will be redirected now.-realtimeTimeout=It looks like you've made a few changes while offline. We're sorry, these changes cannot be saved.-redo=Redo-refresh=Refresh-regularExpression=Regular Expression-relative=Relative-relativeUrlNotAllowed=Relative URL not allowed-rememberMe=Remember me-rememberThisSetting=Remember this setting-removeFormat=Clear Formatting-removeFromGroup=Remove from Group-removeIt=Remove {1}-removeWaypoint=Remove Waypoint-rename=Rename-renamed=Renamed-renameIt=Rename {1}-renaming=Renaming-replace=Replace-replaceIt={1} already exists. Do you want to replace it?-replaceExistingDrawing=Replace existing drawing-required=required-requirementDiagram=Requirement Diagram-reset=Reset-resetView=Reset View-resize=Resize-resizeLargeImages=Do you want to resize large images to make the application run faster?-retina=Retina-responsive=Responsive-restore=Restore-restoring=Restoring-retryingIn=Retrying in {1} second(s)-retryingLoad=Load failed. Retrying...-retryingLogin=Login time out. Retrying...-reverse=Reverse-revision=Revision-revisionHistory=Revision History-rhombus=Rhombus-right=Right-rightAlign=Right Align-rightToLeft=Right to Left-rotate=Rotate-rotateTooltip=Click and drag to rotate, click to turn shape only by 90 degrees-rotation=Rotation-rounded=Rounded-save=Save-saveAndExit=Save & Exit-saveAs=Save as-saveAsXmlFile=Save as XML file?-saved=Saved-saveDiagramFirst=Please save the diagram first-saveDiagramsTo=Save diagrams to-saveLibrary403=Insufficient permissions to edit this library-saveLibrary500=There was an error while saving the library-saveLibraryReadOnly=Could not save library while read-only mode is active-saving=Saving-scratchpad=Scratchpad-scrollbars=Scrollbars-search=Search-searchShapes=Search Shapes-selectAll=Select All-selectionOnly=Selection Only-selectCard=Select Card-selectEdges=Select Edges-selectedPage=Selected Page-selectFile=Select File-selectFolder=Select Folder-selectFont=Select Font+plugins=પ્લગઇન્સ+pluginUrl=પ્લગઇન URL+pluginWarning=પૃષ્ઠે નીચેના પ્લગઇન(ઓ) લોડ કરવાની વિનંતી કરી છે:\n\n{1}\n\nશું તમે હવે આ પ્લગઇન(ઓ) લોડ કરવા માંગો છો?\n\nનોંધ: પ્લગઇન્સને ચલાવવાની મંજૂરી ત્યારે જ આપો જ્યારે તમે તેમ કરવાના સુરક્ષા પરિણામોને સંપૂર્ણપણે સમજો છો.\n+plusTooltip=કનેક્ટ અને ક્લોન કરવા ક્લિક કરો (ક્લોન માટે ctrl+ક્લિક, કનેક્ટ માટે shift+ક્લિક). કનેક્ટ કરવા ડ્રેગ કરો (ક્લોન માટે ctrl+ડ્રેગ).+portrait=પોર્ટ્રેટ+position=સ્થિતિ+posterPrint=પોસ્ટર પ્રિન્ટ+preferences=પસંદગીઓ+preview=પૂર્વાવલોકન+previousPage=પાછલું પૃષ્ઠ+presentationMode=પ્રસ્તુતિ મોડ+print=છાપો+procEng=પ્રોસેસ એન્જિ.+project=પ્રોજેક્ટ+priority=પ્રાથમિકતા+processForHiringNewEmployee=નવા કર્મચારીને નોકરીએ રાખવાની પ્રક્રિયા+properties=ગુણધર્મો+publish=પ્રકાશિત કરો+quickStart=ઝડપી શરૂઆત વિડિઓ+rack=રેક+radial=રેડિયલ+radialTree=રેડિયલ ટ્રી+readOnly=ફક્ત વાંચવા માટે+reconnecting=ફરીથી કનેક્ટ થઈ રહ્યું છે+recentlyUpdated=તાજેતરમાં અપડેટ થયેલ+recentlyViewed=તાજેતરમાં જોયેલ+rectangle=લંબચોરસ+redirectToNewApp=આ ફાઇલ આ એપના નવા સંસ્કરણમાં બનાવવામાં અથવા સંશોધિત કરવામાં આવી હતી. તમને હવે રીડાયરેક્ટ કરવામાં આવશે.+realtimeTimeout=એવું લાગે છે કે તમે ઑફલાઇન હોવા દરમિયાન કેટલાક ફેરફારો કર્યા છે. અમને માફ કરશો, આ ફેરફારો સાચવી શકાતા નથી.+redo=ફરીથી કરો+refresh=રિફ્રેશ+regularExpression=રેગ્યુલર એક્સપ્રેશન+relative=સાપેક્ષ+relativeUrlNotAllowed=સાપેક્ષ URL ની મંજૂરી નથી+rememberMe=મને યાદ રાખો+rememberThisSetting=આ સેટિંગ યાદ રાખો+removeFormat=ફોર્મેટિંગ સાફ કરો+removeFromGroup=ગ્રુપમાંથી દૂર કરો+removeIt={1} દૂર કરો+removeWaypoint=વેપોઇન્ટ દૂર કરો+rename=નામ બદલો+renamed=નામ બદલાયું+renameIt={1} નું નામ બદલો+renaming=નામ બદલી રહ્યા છીએ+replace=બદલો+replaceIt={1} પહેલેથી અસ્તિત્વમાં છે. શું તમે તેને બદલવા માંગો છો?+replaceExistingDrawing=હાલના ડ્રોઇંગને બદલો+required=જરૂરી+requirementDiagram=જરૂરિયાત ડાયાગ્રામ+reset=રીસેટ+resetView=વ્યૂ રીસેટ કરો+resize=રિસાઇઝ+resizeLargeImages=એપ્લિકેશન ઝડપથી ચલાવવા માટે શું તમે મોટી છબીઓને રિસાઇઝ કરવા માંગો છો?+retina=રેટિના+responsive=રિસ્પોન્સિવ+restore=પુનઃસ્થાપિત કરો+restoring=પુનઃસ્થાપિત કરી રહ્યા છીએ+retryingIn={1} સેકન્ડમાં ફરી પ્રયાસ કરી રહ્યા છીએ+retryingLoad=લોડ નિષ્ફળ. ફરી પ્રયાસ કરી રહ્યા છીએ...+retryingLogin=લૉગિન સમય સમાપ્ત. ફરી પ્રયાસ કરી રહ્યા છીએ...+reverse=ઉલટાવો+revision=સુધારો+revisionHistory=સુધારા ઇતિહાસ+rhombus=સમચતુર્ભુજ+right=જમણે+rightAlign=જમણે ગોઠવો+rightToLeft=જમણેથી ડાબે+rotate=ફેરવો+rotateTooltip=ફેરવવા માટે ક્લિક કરો અને ખેંચો, આકારને ફક્ત 90 ડિગ્રી ફેરવવા માટે ક્લિક કરો+rotation=પરિભ્રમણ+rounded=ગોળાકાર+save=સાચવો+saveAndExit=સાચવો અને બહાર નીકળો+saveAs=આ રીતે સાચવો+saveAsXmlFile=XML ફાઇલ તરીકે સાચવવું છે?+saved=સાચવેલ+saveDiagramFirst=કૃપા કરીને પહેલા ડાયાગ્રામ સાચવો+saveDiagramsTo=ડાયાગ્રામ અહીં સાચવો+saveLibrary403=આ લાઇબ્રેરી સંપાદિત કરવાની અપૂરતી પરવાનગીઓ+saveLibrary500=લાઇબ્રેરી સાચવતી વખતે એક ભૂલ આવી+saveLibraryReadOnly=ફક્ત-વાંચન મોડ સક્રિય હોય ત્યારે લાઇબ્રેરી સાચવી શકાઈ નહીં+saving=સાચવી રહ્યા છીએ+scratchpad=સ્ક્રેચપેડ+scrollbars=સ્ક્રોલબાર+search=શોધો+searchShapes=આકારો શોધો+selectAll=બધું પસંદ કરો+selectionOnly=માત્ર પસંદગી+selectCard=કાર્ડ પસંદ કરો+selectEdges=કિનારીઓ પસંદ કરો+selectedPage=પસંદ કરેલું પૃષ્ઠ+selectFile=ફાઇલ પસંદ કરો+selectFolder=ફોલ્ડર પસંદ કરો+selectFont=ફોન્ટ પસંદ કરોselection=પસંદગી-selectNone=Select None+selectNone=કંઈ પસંદ ન કરોselectObjectsInLayer=લેયરમાં ઑબ્જેક્ટ્સ પસંદ કરો-selectTemplate=Select Template-selectVertices=Select Vertices-sendBackward=Send Backward-sendMessage=Send-sendYourFeedback=Send your feedback-sequenceDiagram=Sequence Diagram-serviceUnavailableOrBlocked=Service unavailable or blocked-sessionExpired=Your session has expired. Please refresh the browser window.-sessionTimeoutOnSave=Your session has timed out and you have been disconnected from the Google Drive. Press OK to login and save.-setAsDefaultStyle=Set as Default Style-settings=Settings-shadow=Shadow+selectTemplate=ટેમ્પલેટ પસંદ કરો+selectVertices=શિરોબિંદુઓ પસંદ કરો+sendBackward=પાછળ મોકલો+sendMessage=મોકલો+sendYourFeedback=તમારો પ્રતિસાદ મોકલો+sequenceDiagram=સિક્વન્સ ડાયાગ્રામ+serviceUnavailableOrBlocked=સેવા અનુપલબ્ધ અથવા અવરોધિત+sessionExpired=તમારું સત્ર સમાપ્ત થઈ ગયું છે. કૃપા કરીને બ્રાઉઝર વિન્ડો રિફ્રેશ કરો.+sessionTimeoutOnSave=તમારા સત્રનો સમય સમાપ્ત થઈ ગયો છે અને તમે Google Drive થી ડિસ્કનેક્ટ થઈ ગયા છો. લૉગિન કરવા અને સાચવવા માટે OK દબાવો.+setAsDefaultStyle=ડિફૉલ્ટ શૈલી તરીકે સેટ કરો+settings=સેટિંગ્સ+shadow=છાયાshadows=છાયાઓ-shape=Shape-shapes=Shapes-share=Share-shareCursor=Share Mouse Cursor-shareLink=Link for shared editing-sharingAvailable=Sharing available for Google Drive and OneDrive files.-saveItToGoogleDriveToCollaborate=You'll need to save "{1}" to Google Drive before you can collaborate.-saveToGoogleDrive=Save to Google Drive-sharp=Sharp-show=Show-showRemoteCursors=Show Remote Mouse Cursors-showStartScreen=Show Start Screen-sidebarTooltip=Click or drag and drop shapes. Shift+click to change selection. Alt+click to insert and connect.-signs=Signs-signOut=Sign out-simple=Simple-simpleArrow=Simple Arrow-simpleViewer=Simple Viewer-size=Size-sketch=Sketch-smoothing=Smoothing-snapToGrid=Snap to Grid-solid=Solid-sourceSpacing=Source Spacing-south=South-software=Software-space=Space-spacing=Spacing-specialLink=Special Link-stateDiagram=State Diagram-standard=Standard-startDrawing=Start drawing-stopDrawing=Stop drawing-starting=Starting-straight=Straight-strikethrough=Strikethrough-strokeColor=Line Color-style=Style-subscript=Subscript-summary=Summary-superscript=Superscript-support=Support-swap=Swap-swimlaneDiagram=Swimlane Diagram+shape=આકાર+shapes=આકારો+share=શેર કરો+shareCursor=માઉસ કર્સર શેર કરો+shareLink=શેર કરેલ સંપાદન માટે લિંક+sharingAvailable=Google Drive અને OneDrive ફાઇલો માટે શેરિંગ ઉપલબ્ધ છે.+saveItToGoogleDriveToCollaborate=સહયોગ કરતા પહેલા તમારે "{1}" ને Google Drive પર સાચવવું પડશે.+saveToGoogleDrive=Google Drive પર સાચવો+sharp=તીક્ષ્ણ+show=બતાવો+showRemoteCursors=રિમોટ માઉસ કર્સર બતાવો+showStartScreen=સ્ટાર્ટ સ્ક્રીન બતાવો+sidebarTooltip=આકારો પર ક્લિક કરો અથવા ડ્રેગ અને ડ્રોપ કરો. પસંદગી બદલવા માટે Shift+ક્લિક કરો. દાખલ કરવા અને જોડવા માટે Alt+ક્લિક કરો.+signs=ચિહ્નો+signOut=સાઇન આઉટ+simple=સાદું+simpleArrow=સાદું તીર+simpleViewer=સાદું વ્યૂઅર+size=કદ+sketch=સ્કેચ+smoothing=સ્મૂધિંગ+snapToGrid=ગ્રિડ પર સ્નેપ કરો+solid=ઘન+sourceSpacing=સ્ત્રોત અંતર+south=દક્ષિણ+software=સોફ્ટવેર+space=જગ્યા+spacing=અંતર+specialLink=વિશેષ લિંક+stateDiagram=સ્થિતિ આકૃતિ+standard=પ્રમાણભૂત+startDrawing=ડ્રોઇંગ શરૂ કરો+stopDrawing=ડ્રોઇંગ બંધ કરો+starting=શરૂ થઈ રહ્યું છે+straight=સીધું+strikethrough=સ્ટ્રાઇકથ્રુ+strokeColor=રેખા રંગ+style=શૈલી+subscript=સબસ્ક્રિપ્ટ+summary=સારાંશ+superscript=સુપરસ્ક્રિપ્ટ+support=સહાય+swap=બદલો+swimlaneDiagram=સ્વિમલેન આકૃતિsysml=SysML-tags=Tags-table=Table-tables=Tables-takeOver=Take Over-targetSpacing=Target Spacing-template=Template-templates=Templates-text=Text-textAlignment=Text Alignment-textOpacity=Text Opacity-theme=Theme-timeout=Timeout-title=Title-to=to-toBack=To Back-toFront=To Front-tooLargeUseDownload=Too large, use download instead.-toolbar=Toolbar-tooltips=Tooltips-top=Top-topAlign=Top Align-topLeft=Top Left-topRight=Top Right-transparent=Transparent-transparentBackground=Transparent Background+tags=ટૅગ્સ+table=કોષ્ટક+tables=કોષ્ટકો+takeOver=ટેક ઓવર+targetSpacing=લક્ષ્ય અંતર+template=ટેમ્પલેટ+templates=ટેમ્પલેટ્સ+text=ટેક્સ્ટ+textAlignment=ટેક્સ્ટ ગોઠવણી+textOpacity=ટેક્સ્ટ અપારદર્શકતા+theme=થીમ+timeout=સમય સમાપ્ત+title=શીર્ષક+to=થી+toBack=પાછળ મોકલો+toFront=આગળ મોકલો+tooLargeUseDownload=ખૂબ મોટું છે, તેના બદલે ડાઉનલોડ કરો.+toolbar=ટૂલબાર+tooltips=ટૂલટિપ્સ+top=ટોચ+topAlign=ટોચ ગોઠવણી+topLeft=ટોચ ડાબે+topRight=ટોચ જમણે+transparent=પારદર્શક+transparentBackground=પારદર્શક પૃષ્ઠભૂમિtrello=Trello-tryAgain=Try again-tryOpeningViaThisPage=Try opening via this page-turn=Rotate Shape Only by 90°-type=Type+tryAgain=ફરી પ્રયાસ કરો+tryOpeningViaThisPage=આ પૃષ્ઠ દ્વારા ખોલવાનો પ્રયાસ કરો+turn=આકારને માત્ર 90° ફેરવો+type=પ્રકારtypeSlashToSearch=/ લખીને શોધોuml=UML-unassigned=Unassigned-underline=Underline-undo=Undo-ungroup=Ungroup+unassigned=અસાઇન નથી+underline=અંડરલાઇન+undo=પૂર્વવત્ કરો+ungroup=અનગ્રુપ કરોunlock=અનલોક કરો-unmerge=Unmerge-unsavedChanges=Unsaved changes-unsavedChangesClickHereToSave=Unsaved changes. Click here to save.-untitled=Untitled-untitledDiagram=Untitled Diagram-untitledLayer=Untitled Layer-untitledLibrary=Untitled Library-unknownError=Unknown error-unknownUser=Unknown user-updateExistingDrawing=Update existing drawing-updateFile=Update {1}-updatingDocument=Updating Document. Please wait...-updatingPreview=Updating Preview. Please wait...-updatingSelection=Updating Selection. Please wait...-upload=Upload+unmerge=અનમર્જ કરો+unsavedChanges=સાચવ્યા વગરના ફેરફારો+unsavedChangesClickHereToSave=સાચવ્યા વગરના ફેરફારો. સાચવવા માટે અહીં ક્લિક કરો.+untitled=અનામાંકિત+untitledDiagram=અનામાંકિત ડાયાગ્રામ+untitledLayer=અનામાંકિત લેયર+untitledLibrary=અનામાંકિત લાઇબ્રેરી+unknownError=અજ્ઞાત ભૂલ+unknownUser=અજ્ઞાત વપરાશકર્તા+updateExistingDrawing=હાલના ડ્રોઇંગને અપડેટ કરો+updateFile={1} અપડેટ કરો+updatingDocument=દસ્તાવેજ અપડેટ થઈ રહ્યો છે. કૃપા કરી રાહ જુઓ...+updatingPreview=પ્રિવ્યૂ અપડેટ થઈ રહ્યું છે. કૃપા કરી રાહ જુઓ...+updatingSelection=પસંદગી અપડેટ થઈ રહી છે. કૃપા કરી રાહ જુઓ...+upload=અપલોડ કરોurl=URLuseBlackAndWhite=કાળા અને સફેદનો ઉપયોગ કરો-useCurrentSettings=Use current settings-useOffline=Use Offline+useCurrentSettings=વર્તમાન સેટિંગ્સનો ઉપયોગ કરો+useOffline=ઑફલાઇન વાપરોuserDefined=વપરાશકર્તા-વ્યાખ્યાયિત-useRootFolder=Use root folder?-userManual=User Manual-vertical=Vertical-verticalFlow=Vertical Flow-verticalTree=Vertical Tree-view=View-viewerSettings=Viewer Settings-viewUrl=Link to view: {1}-voiceAssistant=Voice Assistant (beta)-warning=Warning-waypoints=Waypoints-west=West-where=Where-width=Width-wiki=Wiki-wordWrap=Word Wrap-writingDirection=Writing Direction+useRootFolder=રૂટ ફોલ્ડર વાપરવું છે?+userManual=વપરાશકર્તા માર્ગદર્શિકા+vertical=ઊભું+verticalFlow=ઊભો પ્રવાહ+verticalTree=ઊભું વૃક્ષ+view=જુઓ+viewerSettings=દર્શક સેટિંગ્સ+viewUrl=જોવા માટે લિંક: {1}+voiceAssistant=વૉઇસ આસિસ્ટન્ટ (બીટા)+warning=ચેતવણી+waypoints=વેપોઇન્ટ્સ+west=પશ્ચિમ+where=ક્યાં+width=પહોળાઈ+wiki=વિકિ+wordWrap=શબ્દ વીંટાળો+writingDirection=લેખન દિશાyes=હા-yourEmailAddress=Your email address-zoom=Zoom-zoomIn=Zoom In-zoomOut=Zoom Out-basic=Basic-businessprocess=Business Processes-charts=Charts-engineering=Engineering-flowcharts=Flowcharts-gmdl=Material Design-mindmaps=Mindmaps-mockups=Mockups-networkdiagrams=Network Diagrams-nothingIsSelected=Nothing is selected-other=Other-softwaredesign=Software Design-venndiagrams=Venn Diagrams-webEmailOrOther=Web, email or any other internet address-webLink=Web Link-wireframes=Wireframes-property=Property-value=Value-showMore=Show More-showLess=Show Less-myDiagrams=My Diagrams-allDiagrams=All Diagrams-recentlyUsed=Recently used-listView=List view-gridView=Grid view-resultsFor=Results for '{1}'-oneDriveCharsNotAllowed=The following characters are not allowed: ~ " # % * : < > ? / \ { | }-oneDriveInvalidDeviceName=The specified device name is invalid-officeNotLoggedOD=You are not logged in to OneDrive. Please open draw.io task pane and login first.-officeSelectSingleDiag=Please select a single draw.io diagram only without other contents.-officeSelectDiag=Please select a draw.io diagram.-officeCannotFindDiagram=Cannot find a draw.io diagram in the selection-noDiagrams=No diagrams found-authFailed=Authentication failed-officeFailedAuthMsg=Unable to successfully authenticate user or authorize application.-convertingDiagramFailed=Converting diagram failed-officeCopyImgErrMsg=Due to some limitations in the host application, the image could not be inserted. Please manually copy the image then paste it to the document.-insertingImageFailed=Inserting image failed-officeCopyImgInst=Instructions: Right-click the image below. Select "Copy image" from the context menu. Then, in the document, right-click and select "Paste" from the context menu.-folderEmpty=Folder is empty-recent=Recent-sharedWithMe=Shared With Me-sharepointSites=Sharepoint Sites-errorFetchingFolder=Error fetching folder items-errorAuthOD=Error authenticating to OneDrive-officeMainHeader=Adds draw.io diagrams to your document.-officeStepsHeader=This add-in performs the following steps:-officeStep1=Connects to Microsoft OneDrive, Google Drive or your device.-officeStep2=Select a draw.io diagram.-officeStep3=Insert the diagram into the document.-officeAuthPopupInfo=Please complete the authentication in the pop-up window.-officeSelDiag=Select draw.io Diagram:-files=Files-shared=Shared+yourEmailAddress=તમારું ઇમેઇલ સરનામું+zoom=ઝૂમ+zoomIn=ઝૂમ ઇન+zoomOut=ઝૂમ આઉટ+basic=મૂળભૂત+businessprocess=વ્યવસાય પ્રક્રિયાઓ+charts=ચાર્ટ્સ+engineering=એન્જિનિયરિંગ+flowcharts=ફ્લોચાર્ટ્સ+gmdl=મટીરિયલ ડિઝાઇન+mindmaps=માઇન્ડમેપ્સ+mockups=મોકઅપ્સ+networkdiagrams=નેટવર્ક ડાયાગ્રામ્સ+nothingIsSelected=કંઈ પસંદ કરેલ નથી+other=અન્ય+softwaredesign=સોફ્ટવેર ડિઝાઇન+venndiagrams=વેન ડાયાગ્રામ્સ+webEmailOrOther=વેબ, ઇમેઇલ અથવા કોઈપણ અન્ય ઇન્ટરનેટ સરનામું+webLink=વેબ લિંક+wireframes=વાયરફ્રેમ્સ+property=ગુણધર્મ+value=મૂલ્ય+showMore=વધુ બતાવો+showLess=ઓછું બતાવો+myDiagrams=મારા ડાયાગ્રામ્સ+allDiagrams=બધા ડાયાગ્રામ્સ+recentlyUsed=તાજેતરમાં વપરાયેલ+listView=યાદી દૃશ્ય+gridView=ગ્રિડ દૃશ્ય+resultsFor={1}' માટે પરિણામો+oneDriveCharsNotAllowed=નીચેના અક્ષરોની મંજૂરી નથી: ~ " # % * : < > ? / \ { | }+oneDriveInvalidDeviceName=નિર્દિષ્ટ ઉપકરણ નામ અમાન્ય છે+officeNotLoggedOD=તમે OneDrive માં લૉગ ઇન નથી. કૃપા કરીને draw.io ટાસ્ક પેન ખોલો અને પહેલા લૉગિન કરો.+officeSelectSingleDiag=કૃપા કરીને અન્ય સામગ્રી વિના માત્ર એક draw.io ડાયાગ્રામ પસંદ કરો.+officeSelectDiag=કૃપા કરીને draw.io ડાયાગ્રામ પસંદ કરો.+officeCannotFindDiagram=પસંદગીમાં draw.io ડાયાગ્રામ મળ્યું નથી+noDiagrams=કોઈ ડાયાગ્રામ મળ્યા નથી+authFailed=પ્રમાણીકરણ નિષ્ફળ+officeFailedAuthMsg=વપરાશકર્તાને પ્રમાણિત કરવામાં અથવા એપ્લિકેશનને અધિકૃત કરવામાં અસમર્થ.+convertingDiagramFailed=ડાયાગ્રામ રૂપાંતરણ નિષ્ફળ+officeCopyImgErrMsg=હોસ્ટ એપ્લિકેશનમાં કેટલીક મર્યાદાઓને કારણે, છબી દાખલ કરી શકાઈ નથી. કૃપા કરીને છબીને મેન્યુઅલી કૉપિ કરો અને પછી દસ્તાવેજમાં પેસ્ટ કરો.+insertingImageFailed=છબી દાખલ કરવામાં નિષ્ફળ+officeCopyImgInst=સૂચનાઓ: નીચેની છબી પર રાઇટ-ક્લિક કરો. સંદર્ભ મેનૂમાંથી "છબી કૉપિ કરો" પસંદ કરો. પછી, દસ્તાવેજમાં, રાઇટ-ક્લિક કરો અને સંદર્ભ મેનૂમાંથી "પેસ્ટ" પસંદ કરો.+folderEmpty=ફોલ્ડર ખાલી છે+recent=તાજેતરનું+sharedWithMe=મારી સાથે શેર કરેલ+sharepointSites=Sharepoint સાઇટ્સ+errorFetchingFolder=ફોલ્ડર આઇટમ્સ મેળવવામાં ભૂલ+errorAuthOD=OneDrive માં પ્રમાણીકરણ કરવામાં ભૂલ+officeMainHeader=તમારા દસ્તાવેજમાં draw.io ડાયાગ્રામ ઉમેરે છે.+officeStepsHeader=આ એડ-ઇન નીચેના પગલાં કરે છે:+officeStep1=Microsoft OneDrive, Google Drive અથવા તમારા ઉપકરણ સાથે જોડાય છે.+officeStep2=draw.io ડાયાગ્રામ પસંદ કરો.+officeStep3=દસ્તાવેજમાં ડાયાગ્રામ દાખલ કરો.+officeAuthPopupInfo=કૃપા કરીને પૉપ-અપ વિન્ડોમાં પ્રમાણીકરણ પૂર્ણ કરો.+officeSelDiag=draw.io ડાયાગ્રામ પસંદ કરો:+files=ફાઇલો+shared=શેર કરેલsharepoint=Sharepoint-officeManualUpdateInst=Instructions: Copy draw.io diagram from the document. Then, in the box below, right-click and select "Paste" from the context menu.-officeClickToEdit=Click icon to start editing:-pasteDiagram=Paste draw.io diagram here-connectOD=Connect to OneDrive-selectChildren=Select Children-selectSiblings=Select Siblings-selectParent=Select Parent-selectDescendants=Select Descendants-lastSaved=Last saved {1} ago-resolve=Resolve-reopen=Re-open-showResolved=Show Resolved-reply=Reply-objectNotFound=Object not found-reOpened=Re-opened-markedAsResolved=Marked as resolved-noCommentsFound=No comments found-comments=Comments-timeAgo={1} ago+officeManualUpdateInst=સૂચનાઓ: દસ્તાવેજમાંથી draw.io ડાયાગ્રામ કૉપિ કરો. પછી, નીચેના બૉક્સમાં, રાઇટ-ક્લિક કરો અને સંદર્ભ મેનૂમાંથી "પેસ્ટ" પસંદ કરો.+officeClickToEdit=સંપાદન શરૂ કરવા આઇકન પર ક્લિક કરો:+pasteDiagram=draw.io ડાયાગ્રામ અહીં પેસ્ટ કરો+connectOD=OneDrive સાથે કનેક્ટ કરો+selectChildren=ચિલ્ડ્રન પસંદ કરો+selectSiblings=સિબલિંગ્સ પસંદ કરો+selectParent=પેરેન્ટ પસંદ કરો+selectDescendants=ડિસેન્ડન્ટ્સ પસંદ કરો+lastSaved={1} પહેલાં સાચવેલ+resolve=ઉકેલો+reopen=ફરીથી ખોલો+showResolved=ઉકેલાયેલ બતાવો+reply=જવાબ આપો+objectNotFound=ઑબ્જેક્ટ મળ્યું નથી+reOpened=ફરીથી ખોલેલ+markedAsResolved=ઉકેલાયેલ તરીકે ચિહ્નિત+noCommentsFound=કોઈ ટિપ્પણીઓ મળી નથી+comments=ટિપ્પણીઓ+timeAgo={1} પહેલાંconfluenceCloud=Confluence Cloud-libraries=Libraries-confAnchor=Confluence Page Anchor-confTimeout=The connection has timed out-confSrvTakeTooLong=The server at {1} is taking too long to respond.-confCannotInsertNew=Cannot insert draw.io diagram to a new Confluence page-confSaveTry=Please save the page and try again.-confCannotGetID=Unable to determine page ID-confContactAdmin=Please contact your Confluence administrator.-readErr=Read Error-editingErr=Editing Error-confExtEditNotPossible=This diagram cannot be edited externally. Please try editing it while editing the page-confEditedExt=Diagram/Page edited externally-diagNotFound=Diagram Not Found-confEditedExtRefresh=Diagram/Page is edited externally. Please refresh the page.-confCannotEditDraftDelOrExt=Cannot edit diagrams in a draft page, diagram is deleted from the page, or diagram is edited externally. Please check the page.-retBack=Return back-confDiagNotPublished=The diagram does not belong to a published page-createdByDraw=Created by draw.io-filenameShort=Filename too short-invalidChars=Invalid characters-alreadyExst={1} already exists-draftReadErr=Draft Read Error-diagCantLoad=Diagram cannot be loaded-draftWriteErr=Draft Write Error-draftCantCreate=Draft could not be created-confDuplName=Duplicate diagram name detected. Please pick another name.-confSessionExpired=Looks like your session expired. Log in again to keep working.-login=Login-drawPrev=draw.io preview-drawDiag=draw.io diagram-invalidCallFnNotFound=Invalid Call: {1} not found-invalidCallErrOccured=Invalid Call: An error occurred, {1}-anonymous=Anonymous-confGotoPage=Go to containing page-showComments=Show Comments-confError=Error: {1}-gliffyImport=Gliffy Import-gliffyImportInst1=Click the "Start Import" button to import all Gliffy diagrams to draw.io.-gliffyImportInst2=Please note that the import procedure will take some time and the browser window must remain open until the import is completed.-startImport=Start Import-drawConfig=draw.io Configuration-customLib=Custom Libraries-customTemp=Custom Templates-pageIdsExp=Page IDs Export-drawReindex=draw.io re-indexing-working=Working-drawConfigNotFoundInst=draw.io Configuration Space (DRAWIOCONFIG) does not exist. This space is needed to store draw.io configuration files and custom libraries/templates.-createConfSp=Create Config Space-unexpErrRefresh=Unexpected error, please refresh the page and try again.-configJSONInst=Write draw.io JSON configuration in the editor below then click save. If you need help, please refer to-thisPage=this page-curCustLib=Current Custom Libraries-libName=Library Name-action=Action-drawConfID=draw.io Config ID-addLibInst=Click the "Add Library" button to upload a new library.-addLib=Add Library-customTempInst1=Custom templates are draw.io diagrams saved in children pages of-customTempInst2=For more details, please refer to-tempsPage=Templates page-pageIdsExpInst1=Select export target, then click the "Start Export" button to export all pages IDs.-pageIdsExpInst2=Please note that the export procedure will take some time and the browser window must remain open until the export is completed.-startExp=Start Export-refreshDrawIndex=Refresh draw.io Diagrams Index-reindexInst1=Click the "Start Indexing" button to refresh draw.io diagrams index.-reindexInst2=Please note that the indexing procedure will take some time and the browser window must remain open until the indexing is completed.-startIndexing=Start Indexing-confAPageFoundFetch=Page "{1}" found. Fetching-confAAllDiagDone=All {1} diagrams processed. Process finished.-confAStartedProcessing=Started processing page "{1}"-confAAllDiagInPageDone=All {1} diagrams in page "{2}" processed successfully.-confAPartialDiagDone={1} out of {2} {3} diagrams in page "{4}" processed successfully.-confAUpdatePageFailed=Updating page "{1}" failed.-confANoDiagFoundInPage=No {1} diagrams found in page "{2}".-confAFetchPageFailed=Fetching the page failed.-confANoDiagFound=No {1} diagrams found. Process finished.-confASearchFailed=Searching for {1} diagrams failed. Please try again later.-confAGliffyDiagFound={2} diagram "{1}" found. Importing-confAGliffyDiagImported={2} diagram "{1}" imported successfully.-confASavingImpGliffyFailed=Saving imported {2} diagram "{1}" failed.-confAImportedFromByDraw=Imported from "{1}" by draw.io-confAImportGliffyFailed=Importing {2} diagram "{1}" failed.-confAFetchGliffyFailed=Fetching {2} diagram "{1}" failed.-confACheckBrokenDiagLnk=Checking for broken diagrams links.-confADelDiagLinkOf=Deleting diagram link of "{1}"-confADupLnk=(duplicate link)-confADelDiagLnkFailed=Deleting diagram link of "{1}" failed.-confAUnexpErrProcessPage=Unexpected error during processing the page with id: {1}-confADiagFoundIndex=Diagram "{1}" found. Indexing-confADiagIndexSucc=Diagram "{1}" indexed successfully.-confAIndexDiagFailed=Indexing diagram "{1}" failed.-confASkipDiagOtherPage=Skipped "{1}" as it belongs to another page!-confADiagUptoDate=Diagram "{1}" is up to date.-confACheckPagesWDraw=Checking pages having draw.io diagrams.-confAErrOccured=An error occurred!-savedSucc=Saved successfully-confASaveFailedErr=Saving Failed (Unexpected Error)-character=Character-confAConfPageDesc=This page contains draw.io configuration file (configuration.json) as attachment-confALibPageDesc=This page contains draw.io custom libraries as attachments-confATempPageDesc=This page contains draw.io custom templates as attachments-confAConfSpaceDesc=This space is used to store draw.io configuration files and custom libraries/templates-confANoCustLib=No Custom Libraries-delFailed=Delete failed!-showID=Show ID-confAIncorrectLibFileType=Incorrect file type. Libraries should be XML files.-uploading=Uploading-confALibExist=This library already exists-confAUploadSucc=Uploaded successfully-confAUploadFailErr=Upload Failed (Unexpected Error)-hiResPreview=High Res Preview-officeNotLoggedGD=You are not logged in to Google Drive. Please open draw.io task pane and login first.-officePopupInfo=Please complete the process in the pop-up window.-pickODFile=Pick OneDrive File-createODFile=Create OneDrive File-pickGDriveFile=Pick Google Drive File-createGDriveFile=Create Google Drive File-pickDeviceFile=Pick Device File-vsdNoConfig="vsdurl" is not configured-ruler=Ruler-units=Units-points=Points-inches=Inches-millimeters=Millimeters-confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.-confDiagEditedExt=Diagram is edited in another session. It will be saved as a new attachment version but the page will show other session's modifications.-macroNotFound=Macro Not Found-confAInvalidPageIdsFormat=Incorrect Page IDs file format-confACollectingCurPages=Collecting current pages-confABuildingPagesMap=Building pages mapping-confAProcessDrawDiag=Started processing imported draw.io diagrams-confAProcessDrawDiagDone=Finished processing imported draw.io diagrams-confAProcessImpPages=Started processing imported pages-confAErrPrcsDiagInPage=Error processing draw.io diagrams in page "{1}"-confAPrcsDiagInPage=Processing draw.io diagrams in page "{1}"-confAImpDiagram=Importing diagram "{1}"-confAImpDiagramFailed=Importing diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.-confAImpDiagramError=Error importing diagram "{1}". Cannot fetch or save the diagram. Cannot fix this diagram links.-confAUpdateDgrmCCFailed=Updating link to diagram "{1}" failed.-confImpDiagramSuccess=Updating diagram "{1}" done successfully.-confANoLnksInDrgm=No links to update in: {1}-confAUpdateLnkToPg=Updated link to page: "{1}" in diagram: "{2}"-confAUpdateLBLnkToPg=Updated lightbox link to page: "{1}" in diagram: "{2}"-confAUpdateLnkBase=Updated base URL from: "{1}" to: "{2}" in diagram: "{3}"-confAPageIdsImpDone=Page IDs Import finished-confAPrcsMacrosInPage=Processing draw.io macros in page "{1}"-confAErrFetchPage=Error fetching page "{1}"-confAFixingMacro=Fixing macro of diagram "{1}"-confAErrReadingExpFile=Error reading export file-confAPrcsDiagInPageDone=Processing draw.io diagrams in page "{1}" finished-confAFixingMacroSkipped=Fixing macro of diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.-pageIdsExpTrg=Export target-confALucidDiagImgImported={2} diagram "{1}" image extracted successfully-confASavingLucidDiagImgFailed=Extracting {2} diagram "{1}" image failed-confGetInfoFailed=Fetching file info from {1} failed.-confCheckCacheFailed=Cannot get cached file info.-confReadFileErr=Cannot read "{1}" file from {2}.-confSaveCacheFailed=Unexpected error. Cannot save cached file-orgChartType=Org Chart Type-linear=Linear-hanger2=Hanger 2-hanger4=Hanger 4-fishbone1=Fishbone 1-fishbone2=Fishbone 2-1ColumnLeft=Single Column Left-1ColumnRight=Single Column Right-smart=Smart-parentChildSpacing=Parent Child Spacing-siblingSpacing=Sibling Spacing-confNoPermErr=Sorry, you don't have enough permissions to view this embedded diagram from page {1}-copyAsImage=Copy as Image-copyAsText=Copy as Text+libraries=લાઇબ્રેરીઓ+confAnchor=Confluence પૃષ્ઠ એન્કર+confTimeout=કનેક્શન સમય સમાપ્ત થયો+confSrvTakeTooLong={1} પરનો સર્વર પ્રતિસાદ આપવામાં ઘણો સમય લઈ રહ્યો છે.+confCannotInsertNew=નવા Confluence પૃષ્ઠમાં draw.io ડાયાગ્રામ દાખલ કરી શકાતો નથી+confSaveTry=કૃપા કરીને પૃષ્ઠ સાચવો અને ફરીથી પ્રયાસ કરો.+confCannotGetID=પૃષ્ઠ ID નક્કી કરવામાં અસમર્થ+confContactAdmin=કૃપા કરીને તમારા Confluence એડમિનિસ્ટ્રેટરનો સંપર્ક કરો.+readErr=વાંચન ભૂલ+editingErr=સંપાદન ભૂલ+confExtEditNotPossible=આ ડાયાગ્રામ બાહ્ય રીતે સંપાદિત કરી શકાતો નથી. કૃપા કરીને પૃષ્ઠ સંપાદન કરતી વખતે તેને સંપાદિત કરવાનો પ્રયાસ કરો+confEditedExt=ડાયાગ્રામ/પૃષ્ઠ બાહ્ય રીતે સંપાદિત+diagNotFound=ડાયાગ્રામ મળ્યો નથી+confEditedExtRefresh=ડાયાગ્રામ/પૃષ્ઠ બાહ્ય રીતે સંપાદિત છે. કૃપા કરીને પૃષ્ઠ રિફ્રેશ કરો.+confCannotEditDraftDelOrExt=ડ્રાફ્ટ પૃષ્ઠમાં ડાયાગ્રામ સંપાદિત કરી શકાતો નથી, ડાયાગ્રામ પૃષ્ઠમાંથી કાઢી નાખવામાં આવ્યો છે, અથવા ડાયાગ્રામ બાહ્ય રીતે સંપાદિત છે. કૃપા કરીને પૃષ્ઠ તપાસો.+retBack=પાછા જાઓ+confDiagNotPublished=ડાયાગ્રામ પ્રકાશિત પૃષ્ઠનો નથી+createdByDraw=draw.io દ્વારા બનાવેલ+filenameShort=ફાઇલનું નામ ખૂબ ટૂંકું છે+invalidChars=અમાન્ય અક્ષરો+alreadyExst={1} પહેલેથી અસ્તિત્વમાં છે+draftReadErr=ડ્રાફ્ટ વાંચન ભૂલ+diagCantLoad=ડાયાગ્રામ લોડ કરી શકાતો નથી+draftWriteErr=ડ્રાફ્ટ લખવાની ભૂલ+draftCantCreate=ડ્રાફ્ટ બનાવી શકાયો નથી+confDuplName=ડુપ્લિકેટ ડાયાગ્રામ નામ મળ્યું. કૃપા કરીને બીજું નામ પસંદ કરો.+confSessionExpired=એવું લાગે છે કે તમારી સત્ર સમાપ્ત થઈ ગઈ છે. કામ ચાલુ રાખવા માટે ફરીથી લૉગ ઇન કરો.+login=લૉગિન+drawPrev=draw.io પૂર્વાવલોકન+drawDiag=draw.io આકૃતિ+invalidCallFnNotFound=અમાન્ય કૉલ: {1} મળ્યું નથી+invalidCallErrOccured=અમાન્ય કૉલ: એક ભૂલ આવી, {1}+anonymous=અનામી+confGotoPage=સમાવિષ્ટ પૃષ્ઠ પર જાઓ+showComments=ટિપ્પણીઓ બતાવો+confError=ભૂલ: {1}+gliffyImport=Gliffy આયાત+gliffyImportInst1=બધી Gliffy આકૃતિઓને draw.io માં આયાત કરવા માટે "આયાત શરૂ કરો" બટન પર ક્લિક કરો.+gliffyImportInst2=કૃપા કરીને નોંધો કે આયાત પ્રક્રિયામાં થોડો સમય લાગશે અને આયાત પૂર્ણ થાય ત્યાં સુધી બ્રાઉઝર વિન્ડો ખુલ્લી રહેવી જોઈએ.+startImport=આયાત શરૂ કરો+drawConfig=draw.io રૂપરેખાંકન+customLib=કસ્ટમ લાઇબ્રેરીઓ+customTemp=કસ્ટમ નમૂનાઓ+pageIdsExp=પૃષ્ઠ ID નિકાસ+drawReindex=draw.io પુનઃ-અનુક્રમણિકા+working=કાર્યરત+drawConfigNotFoundInst=draw.io રૂપરેખાંકન સ્પેસ (DRAWIOCONFIG) અસ્તિત્વમાં નથી. draw.io રૂપરેખાંકન ફાઇલો અને કસ્ટમ લાઇબ્રેરીઓ/નમૂનાઓ સંગ્રહ કરવા માટે આ સ્પેસ જરૂરી છે.+createConfSp=રૂપરેખાંકન સ્પેસ બનાવો+unexpErrRefresh=અનપેક્ષિત ભૂલ, કૃપા કરીને પૃષ્ઠ રિફ્રેશ કરો અને ફરીથી પ્રયાસ કરો.+configJSONInst=નીચેના સંપાદકમાં draw.io JSON રૂપરેખાંકન લખો પછી સાચવો પર ક્લિક કરો. જો તમને મદદની જરૂર હોય, તો કૃપા કરીને જુઓ+thisPage=આ પૃષ્ઠ+curCustLib=વર્તમાન કસ્ટમ લાઇબ્રેરીઓ+libName=લાઇબ્રેરીનું નામ+action=ક્રિયા+drawConfID=draw.io કોન્ફિગ ID+addLibInst=નવી લાઇબ્રેરી અપલોડ કરવા માટે "લાઇબ્રેરી ઉમેરો" બટન પર ક્લિક કરો.+addLib=લાઇબ્રેરી ઉમેરો+customTempInst1=કસ્ટમ ટેમ્પ્લેટ્સ draw.io ડાયાગ્રામ છે જે ચાઇલ્ડ પેજમાં સાચવેલા છે+customTempInst2=વધુ વિગતો માટે, કૃપા કરીને જુઓ+tempsPage=ટેમ્પ્લેટ્સ પેજ+pageIdsExpInst1=નિકાસ લક્ષ્ય પસંદ કરો, પછી બધા પેજ IDs નિકાસ કરવા માટે "નિકાસ શરૂ કરો" બટન પર ક્લિક કરો.+pageIdsExpInst2=કૃપા કરીને નોંધો કે નિકાસ પ્રક્રિયામાં થોડો સમય લાગશે અને નિકાસ પૂર્ણ થાય ત્યાં સુધી બ્રાઉઝર વિન્ડો ખુલ્લી રહેવી જોઈએ.+startExp=નિકાસ શરૂ કરો+refreshDrawIndex=draw.io ડાયાગ્રામ ઇન્ડેક્સ રિફ્રેશ કરો+reindexInst1=draw.io ડાયાગ્રામ ઇન્ડેક્સ રિફ્રેશ કરવા માટે "ઇન્ડેક્સિંગ શરૂ કરો" બટન પર ક્લિક કરો.+reindexInst2=કૃપા કરીને નોંધો કે ઇન્ડેક્સિંગ પ્રક્રિયામાં થોડો સમય લાગશે અને ઇન્ડેક્સિંગ પૂર્ણ થાય ત્યાં સુધી બ્રાઉઝર વિન્ડો ખુલ્લી રહેવી જોઈએ.+startIndexing=ઇન્ડેક્સિંગ શરૂ કરો+confAPageFoundFetch=પેજ "{1}" મળ્યું. મેળવી રહ્યા છીએ+confAAllDiagDone=બધા {1} ડાયાગ્રામ પ્રોસેસ થયા. પ્રક્રિયા પૂર્ણ થઈ.+confAStartedProcessing=પેજ "{1}" પ્રોસેસ કરવાનું શરૂ થયું+confAAllDiagInPageDone=પેજ "{2}" માં બધા {1} ડાયાગ્રામ સફળતાપૂર્વક પ્રોસેસ થયા.+confAPartialDiagDone=પેજ "{4}" માં {2} માંથી {1} {3} ડાયાગ્રામ સફળતાપૂર્વક પ્રોસેસ થયા.+confAUpdatePageFailed=પેજ "{1}" અપડેટ કરવામાં નિષ્ફળ.+confANoDiagFoundInPage=પેજ "{2}" માં કોઈ {1} ડાયાગ્રામ મળ્યા નથી.+confAFetchPageFailed=પેજ મેળવવામાં નિષ્ફળ.+confANoDiagFound=કોઈ {1} ડાયાગ્રામ મળ્યા નથી. પ્રક્રિયા પૂર્ણ થઈ.+confASearchFailed={1} ડાયાગ્રામ શોધવામાં નિષ્ફળ. કૃપા કરીને પછીથી ફરી પ્રયાસ કરો.+confAGliffyDiagFound={2} ડાયાગ્રામ "{1}" મળ્યો. આયાત કરી રહ્યા છીએ+confAGliffyDiagImported={2} ડાયાગ્રામ "{1}" સફળતાપૂર્વક આયાત થયો.+confASavingImpGliffyFailed=આયાત કરેલ {2} ડાયાગ્રામ "{1}" સાચવવામાં નિષ્ફળ.+confAImportedFromByDraw=draw.io દ્વારા "{1}" માંથી આયાત કરેલ+confAImportGliffyFailed={2} ડાયાગ્રામ "{1}" આયાત કરવામાં નિષ્ફળ.+confAFetchGliffyFailed={2} ડાયાગ્રામ "{1}" મેળવવામાં નિષ્ફળ.+confACheckBrokenDiagLnk=તૂટેલી ડાયાગ્રામ લિંક્સ તપાસી રહ્યા છીએ.+confADelDiagLinkOf="{1}" ની ડાયાગ્રામ લિંક કાઢી રહ્યા છીએ+confADupLnk=(ડુપ્લિકેટ લિંક)+confADelDiagLnkFailed="{1}" ની ડાયાગ્રામ લિંક કાઢવામાં નિષ્ફળ.+confAUnexpErrProcessPage=id: {1} સાથેના પૃષ્ઠની પ્રક્રિયા દરમિયાન અણધારી ભૂલ+confADiagFoundIndex=ડાયાગ્રામ "{1}" મળ્યો. અનુક્રમણિકા બનાવી રહ્યા છીએ+confADiagIndexSucc=ડાયાગ્રામ "{1}" સફળતાપૂર્વક અનુક્રમિત થયો.+confAIndexDiagFailed=ડાયાગ્રામ "{1}" અનુક્રમિત કરવામાં નિષ્ફળ.+confASkipDiagOtherPage="{1}" છોડી દીધું કારણ કે તે બીજા પૃષ્ઠનું છે!+confADiagUptoDate=ડાયાગ્રામ "{1}" અદ્યતન છે.+confACheckPagesWDraw=draw.io ડાયાગ્રામ ધરાવતા પૃષ્ઠો તપાસી રહ્યા છીએ.+confAErrOccured=એક ભૂલ આવી!+savedSucc=સફળતાપૂર્વક સાચવ્યું+confASaveFailedErr=સાચવવામાં નિષ્ફળ (અણધારી ભૂલ)+character=અક્ષર+confAConfPageDesc=આ પૃષ્ઠમાં draw.io રૂપરેખાંકન ફાઇલ (configuration.json) જોડાણ તરીકે છે+confALibPageDesc=આ પૃષ્ઠમાં draw.io કસ્ટમ લાઇબ્રેરીઓ જોડાણ તરીકે છે+confATempPageDesc=આ પૃષ્ઠમાં draw.io કસ્ટમ ટેમ્પલેટ્સ જોડાણ તરીકે છે+confAConfSpaceDesc=આ સ્પેસનો ઉપયોગ draw.io રૂપરેખાંકન ફાઇલો અને કસ્ટમ લાઇબ્રેરીઓ/ટેમ્પલેટ્સ સંગ્રહિત કરવા માટે થાય છે+confANoCustLib=કોઈ કસ્ટમ લાઇબ્રેરીઓ નથી+delFailed=કાઢી નાખવું નિષ્ફળ!+showID=ID બતાવો+confAIncorrectLibFileType=ખોટો ફાઇલ પ્રકાર. લાઇબ્રેરીઓ XML ફાઇલો હોવી જોઈએ.+uploading=અપલોડ થઈ રહ્યું છે+confALibExist=આ લાઇબ્રેરી પહેલેથી અસ્તિત્વમાં છે+confAUploadSucc=સફળતાપૂર્વક અપલોડ થયું+confAUploadFailErr=અપલોડ નિષ્ફળ (અનપેક્ષિત ભૂલ)+hiResPreview=ઉચ્ચ રિઝોલ્યુશન પૂર્વાવલોકન+officeNotLoggedGD=તમે Google Drive માં લૉગ ઇન નથી. કૃપા કરીને draw.io ટાસ્ક પેન ખોલો અને પહેલા લૉગિન કરો.+officePopupInfo=કૃપા કરીને પૉપ-અપ વિન્ડોમાં પ્રક્રિયા પૂર્ણ કરો.+pickODFile=OneDrive ફાઇલ પસંદ કરો+createODFile=OneDrive ફાઇલ બનાવો+pickGDriveFile=Google Drive ફાઇલ પસંદ કરો+createGDriveFile=Google Drive ફાઇલ બનાવો+pickDeviceFile=ઉપકરણ ફાઇલ પસંદ કરો+vsdNoConfig="vsdurl" રૂપરેખાંકિત નથી+ruler=રૂલર+units=એકમો+points=પોઈન્ટ્સ+inches=ઇંચ+millimeters=મિલીમીટર+confEditDraftDelOrExt=આ ડાયાગ્રામ ડ્રાફ્ટ પેજમાં છે, પેજમાંથી કાઢી નાખવામાં આવ્યું છે, અથવા બાહ્ય રીતે સંપાદિત છે. તે નવા જોડાણ સંસ્કરણ તરીકે સાચવવામાં આવશે અને પેજમાં પ્રતિબિંબિત થઈ શકે નહીં.+confDiagEditedExt=ડાયાગ્રામ બીજા સત્રમાં સંપાદિત થયું છે. તે નવા જોડાણ સંસ્કરણ તરીકે સાચવવામાં આવશે પરંતુ પેજ અન્ય સત્રના ફેરફારો બતાવશે.+macroNotFound=મેક્રો મળ્યો નથી+confAInvalidPageIdsFormat=પેજ IDs ફાઇલ ફોર્મેટ ખોટું છે+confACollectingCurPages=વર્તમાન પૃષ્ઠો એકત્રિત કરી રહ્યા છીએ+confABuildingPagesMap=પૃષ્ઠો મેપિંગ બનાવી રહ્યા છીએ+confAProcessDrawDiag=આયાત કરેલા draw.io ડાયાગ્રામ્સની પ્રક્રિયા શરૂ થઈ+confAProcessDrawDiagDone=આયાત કરેલા draw.io ડાયાગ્રામ્સની પ્રક્રિયા પૂર્ણ થઈ+confAProcessImpPages=આયાત કરેલા પૃષ્ઠોની પ્રક્રિયા શરૂ થઈ+confAErrPrcsDiagInPage=પૃષ્ઠ "{1}" માં draw.io ડાયાગ્રામ્સ પ્રક્રિયામાં ભૂલ+confAPrcsDiagInPage=પૃષ્ઠ "{1}" માં draw.io ડાયાગ્રામ્સ પ્રક્રિયા કરી રહ્યા છીએ+confAImpDiagram=ડાયાગ્રામ "{1}" આયાત કરી રહ્યા છીએ+confAImpDiagramFailed=ડાયાગ્રામ "{1}" આયાત નિષ્ફળ. તેની નવી પૃષ્ઠ ID મળી શકી નથી. કદાચ તે એવા પૃષ્ઠ તરફ નિર્દેશ કરે છે જે આયાત થયેલ નથી.+confAImpDiagramError=ડાયાગ્રામ "{1}" આયાત કરવામાં ભૂલ. ડાયાગ્રામ મેળવી અથવા સાચવી શકાતો નથી. આ ડાયાગ્રામ લિંક્સ ઠીક કરી શકાતી નથી.+confAUpdateDgrmCCFailed=ડાયાગ્રામ "{1}" ની લિંક અપડેટ કરવામાં નિષ્ફળ.+confImpDiagramSuccess=ડાયાગ્રામ "{1}" અપડેટ સફળતાપૂર્વક પૂર્ણ થયું.+confANoLnksInDrgm=અપડેટ કરવા માટે કોઈ લિંક્સ નથી: {1}+confAUpdateLnkToPg=પૃષ્ઠ: "{1}" ની લિંક ડાયાગ્રામ: "{2}" માં અપડેટ થઈ+confAUpdateLBLnkToPg=પૃષ્ઠ: "{1}" ની લાઇટબોક્સ લિંક ડાયાગ્રામ: "{2}" માં અપડેટ થઈ+confAUpdateLnkBase=બેઝ URL "{1}" થી "{2}" માં ડાયાગ્રામ: "{3}" માં અપડેટ થયું+confAPageIdsImpDone=પેજ IDs આયાત પૂર્ણ થઈ+confAPrcsMacrosInPage=પૃષ્ઠ "{1}" માં draw.io મેક્રો પ્રક્રિયા કરી રહ્યા છીએ+confAErrFetchPage=પૃષ્ઠ "{1}" મેળવવામાં ભૂલ+confAFixingMacro=ડાયાગ્રામ "{1}" નો મેક્રો ઠીક કરી રહ્યા છીએ+confAErrReadingExpFile=નિકાસ ફાઇલ વાંચવામાં ભૂલ+confAPrcsDiagInPageDone=પૃષ્ઠ "{1}" માં draw.io ડાયાગ્રામ્સ પ્રક્રિયા પૂર્ણ થઈ+confAFixingMacroSkipped=ડાયાગ્રામ "{1}" નો મેક્રો ઠીક કરવામાં નિષ્ફળ. તેની નવી પૃષ્ઠ ID મળી શકી નથી. કદાચ તે એવા પૃષ્ઠ તરફ નિર્દેશ કરે છે જે આયાત થયેલ નથી.+pageIdsExpTrg=નિકાસ લક્ષ્ય+confALucidDiagImgImported={2} ડાયાગ્રામ "{1}" ઇમેજ સફળતાપૂર્વક કાઢવામાં આવી+confASavingLucidDiagImgFailed={2} ડાયાગ્રામ "{1}" ઇમેજ કાઢવામાં નિષ્ફળ+confGetInfoFailed={1} માંથી ફાઇલ માહિતી મેળવવામાં નિષ્ફળ.+confCheckCacheFailed=કેશ કરેલી ફાઇલ માહિતી મેળવી શકાતી નથી.+confReadFileErr={2} માંથી "{1}" ફાઇલ વાંચી શકાતી નથી.+confSaveCacheFailed=અણધારી ભૂલ. કેશ કરેલી ફાઇલ સાચવી શકાતી નથી+orgChartType=ઓર્ગ ચાર્ટ પ્રકાર+linear=રેખીય+hanger2=હેંગર 2+hanger4=હેંગર 4+fishbone1=ફિશબોન 1+fishbone2=ફિશબોન 2+1ColumnLeft=સિંગલ કૉલમ ડાબે+1ColumnRight=સિંગલ કૉલમ જમણે+smart=સ્માર્ટ+parentChildSpacing=પેરેન્ટ ચાઇલ્ડ અંતર+siblingSpacing=સિબલિંગ અંતર+confNoPermErr=માફ કરશો, પેજ {1} માંથી આ એમ્બેડેડ ડાયાગ્રામ જોવાની તમારી પાસે પૂરતી પરવાનગીઓ નથી+copyAsImage=ઇમેજ રૂપે કૉપી કરો+copyAsText=ટેક્સ્ટ રૂપે કૉપી કરોcopyAsSvg=SVG રૂપે કૉપી કરો-lucidImport=Lucidchart Import-lucidImportInst1=Click the "Start Import" button to import all Lucidchart diagrams.-installFirst=Please install {1} first-drawioChromeExt=draw.io Chrome Extension-loginFirstThen=Please login to {1} first, then {2}-errFetchDocList=Error: Couldn't fetch documents list-builtinPlugins=Built-in Plugins-extPlugins=External Plugins-backupFound=Backup file found-chromeOnly=This feature only works in Google Chrome-msgDeleted=This message has been deleted-confAErrFetchDrawList=Error fetching diagrams list. Some diagrams are skipped.-confAErrCheckDrawDiag=Cannot check diagram {1}-confAErrFetchPageList=Error fetching pages list-confADiagImportIncom={1} diagram "{2}" is imported partially and may have missing shapes-invalidSel=Invalid selection-diagNameEmptyErr=Diagram name cannot be empty-openDiagram=Open Diagram-newDiagram=New diagram-editable=Editable-confAReimportStarted=Re-import {1} diagrams started...-spaceFilter=Filter by spaces-curViewState=Current Viewer State-pageLayers=Page and Layers-customize=Customize-firstPage=First Page (All Layers)-curEditorState=Current Editor State-noAnchorsFound=No anchors found-attachment=Attachment-curDiagram=Current Diagram-recentDiags=Recent Diagrams-csvImport=CSV Import-chooseFile=Choose a file...-choose=Choose-gdriveFname=Google Drive filename-widthOfViewer=Width of the viewer (px)-heightOfViewer=Height of the viewer (px)-autoSetViewerSize=Automatically set the size of the viewer-thumbnail=Thumbnail-prevInDraw=Preview in draw.io-onedriveFname=OneDrive filename-diagFname=Diagram filename-diagUrl=Diagram URL-showDiag=Show Diagram-diagPreview=Diagram Preview-csvFileUrl=CSV File URL-generate=Generate-selectDiag2Insert=Please select a diagram to insert it.-errShowingDiag=Unexpected error. Cannot show diagram-noRecentDiags=No recent diagrams found-fetchingRecentFailed=Failed to fetch recent diagrams-useSrch2FindDiags=Use the search box to find draw.io diagrams-cantReadChckPerms=Cannot read the specified diagram. Please check you have read permission on that file.-cantFetchChckPerms=Cannot fetch diagram info. Please check you have read permission on that file.-searchFailed=Searching failed. Please try again later.-plsTypeStr=Please type a search string.-unsupportedFileChckUrl=Unsupported file. Please check the specified URL-diagNotFoundChckUrl=Diagram not found or cannot be accessed. Please check the specified URL-csvNotFoundChckUrl=CSV file not found or cannot be accessed. Please check the specified URL-cantReadUpload=Cannot read the uploaded diagram-select=Select-errCantGetIdType=Unexpected Error: Cannot get content id or type.-errGAuthWinBlocked=Error: Google Authentication window blocked-authDrawAccess=Authorize draw.io to access {1}-connTimeout=The connection has timed out-errAuthSrvc=Error authenticating to {1}-plsSelectFile=Please select a file-mustBgtZ={1} must be greater than zero-cantLoadPrev=Cannot load file preview.-errAccessFile=Error: Access Denied. You do not have permission to access "{1}".-noPrevAvail=No preview is available.-personalAccNotSup=Personal accounts are not supported.-errSavingTryLater=Error occurred during saving, please try again later.-plsEnterFld=Please enter {1}-invalidDiagUrl=Invalid Diagram URL-unsupportedVsdx=Unsupported vsdx file-unsupportedImg=Unsupported image file-unsupportedFormat=Unsupported file format-plsSelectSingleFile=Please select a single file only-attCorrupt=Attachment file "{1}" is corrupted-loadAttFailed=Failed to load attachment "{1}"-embedDrawDiag=Embed draw.io Diagram-addDiagram=Add Diagram-embedDiagram=Embed Diagram-editOwningPg=Edit owning page-deepIndexing=Deep Indexing (Index diagrams that aren't used in any page also)-confADeepIndexStarted=Deep Indexing Started-confADeepIndexDone=Deep Indexing Done-officeNoDiagramsSelected=No diagrams found in the selection-officeNoDiagramsInDoc=No diagrams found in the document-officeNotSupported=This feature is not supported in this host application-someImagesFailed={1} out of {2} failed due to the following errors-importingNoUsedDiagrams=Importing {1} Diagrams not used in pages-importingDrafts=Importing {1} Diagrams in drafts-processingDrafts=Processing drafts-updatingDrafts=Updating drafts-updateDrafts=Update drafts-notifications=Notifications-drawioImp=draw.io Import-confALibsImp=Importing draw.io Libraries-confALibsImpFailed=Importing {1} library failed-contributors=Contributors-drawDiagrams=draw.io Diagrams-errFileNotFoundOrNoPer=Error: Access Denied. File not found or you do not have permission to access "{1}" on {2}.-confACheckPagesWEmbed=Checking pages having embedded draw.io diagrams.-confADelBrokenEmbedDiagLnk=Removing broken embedded diagram links-replaceWith=Replace with-replaceAll=Replace All-confASkipDiagModified=Skipped "{1}" as it was modified after initial import-replFind=Replace/Find-matchesRepl={1} matches replaced-draftErrDataLoss=An error occurred while reading the draft file. The diagram cannot be edited now to prevent any possible data loss. Please try again later or contact support.+lucidImport=Lucidchart આયાત+lucidImportInst1=બધા Lucidchart ડાયાગ્રામ આયાત કરવા માટે "આયાત શરૂ કરો" બટન પર ક્લિક કરો.+installFirst=કૃપા કરીને પહેલા {1} ઇન્સ્ટોલ કરો+drawioChromeExt=draw.io Chrome એક્સટેન્શન+loginFirstThen=કૃપા કરીને પહેલા {1} માં લૉગિન કરો, પછી {2}+errFetchDocList=ભૂલ: દસ્તાવેજોની યાદી મેળવી શકાઈ નથી+builtinPlugins=બિલ્ટ-ઇન પ્લગઇન્સ+extPlugins=બાહ્ય પ્લગઇન્સ+backupFound=બેકઅપ ફાઇલ મળી+chromeOnly=આ સુવિધા ફક્ત Google Chrome માં કામ કરે છે+msgDeleted=આ સંદેશ કાઢી નાખવામાં આવ્યો છે+confAErrFetchDrawList=ડાયાગ્રામ યાદી મેળવવામાં ભૂલ. કેટલાક ડાયાગ્રામ છોડી દેવાયા છે.+confAErrCheckDrawDiag=ડાયાગ્રામ {1} તપાસી શકાતું નથી+confAErrFetchPageList=પૃષ્ઠોની યાદી મેળવવામાં ભૂલ+confADiagImportIncom={1} ડાયાગ્રામ "{2}" આંશિક રીતે આયાત થયો છે અને તેમાં આકારો ખૂટતા હોઈ શકે છે+invalidSel=અમાન્ય પસંદગી+diagNameEmptyErr=ડાયાગ્રામનું નામ ખાલી હોઈ શકે નહીં+openDiagram=ડાયાગ્રામ ખોલો+newDiagram=નવો ડાયાગ્રામ+editable=સંપાદનયોગ્ય+confAReimportStarted={1} ડાયાગ્રામ ફરીથી આયાત શરૂ થઈ...+spaceFilter=સ્પેસ દ્વારા ફિલ્ટર કરો+curViewState=વર્તમાન વ્યૂઅર સ્થિતિ+pageLayers=પૃષ્ઠ અને સ્તરો+customize=કસ્ટમાઇઝ+firstPage=પ્રથમ પૃષ્ઠ (બધા સ્તરો)+curEditorState=વર્તમાન એડિટર સ્થિતિ+noAnchorsFound=કોઈ એન્કર મળ્યા નથી+attachment=જોડાણ+curDiagram=વર્તમાન ડાયાગ્રામ+recentDiags=તાજેતરના ડાયાગ્રામ્સ+csvImport=CSV આયાત+chooseFile=ફાઇલ પસંદ કરો...+choose=પસંદ કરો+gdriveFname=Google Drive ફાઇલનું નામ+widthOfViewer=વ્યૂઅરની પહોળાઈ (px)+heightOfViewer=વ્યૂઅરની ઊંચાઈ (px)+autoSetViewerSize=વ્યૂઅરનું કદ આપમેળે સેટ કરો+thumbnail=થંબનેલ+prevInDraw=draw.io માં પૂર્વાવલોકન+onedriveFname=OneDrive ફાઇલનું નામ+diagFname=ડાયાગ્રામ ફાઇલનું નામ+diagUrl=ડાયાગ્રામ URL+showDiag=ડાયાગ્રામ બતાવો+diagPreview=ડાયાગ્રામ પૂર્વાવલોકન+csvFileUrl=CSV ફાઇલ URL+generate=જનરેટ કરો+selectDiag2Insert=કૃપા કરીને દાખલ કરવા માટે ડાયાગ્રામ પસંદ કરો.+errShowingDiag=અણધારી ભૂલ. ડાયાગ્રામ બતાવી શકાતું નથી+noRecentDiags=કોઈ તાજેતરના ડાયાગ્રામ્સ મળ્યા નથી+fetchingRecentFailed=તાજેતરના ડાયાગ્રામ્સ મેળવવામાં નિષ્ફળ+useSrch2FindDiags=draw.io ડાયાગ્રામ્સ શોધવા માટે શોધ બોક્સનો ઉપયોગ કરો+cantReadChckPerms=નિર્દિષ્ટ ડાયાગ્રામ વાંચી શકાતું નથી. કૃપા કરીને તપાસો કે તમારી પાસે તે ફાઇલ પર વાંચવાની પરવાનગી છે.+cantFetchChckPerms=ડાયાગ્રામ માહિતી મેળવી શકાતી નથી. કૃપા કરીને તપાસો કે તમારી પાસે તે ફાઇલ પર વાંચવાની પરવાનગી છે.+searchFailed=શોધ નિષ્ફળ થઈ. કૃપા કરીને પછીથી ફરી પ્રયાસ કરો.+plsTypeStr=કૃપા કરીને શોધ સ્ટ્રિંગ લખો.+unsupportedFileChckUrl=અસમર્થિત ફાઇલ. કૃપા કરીને નિર્દિષ્ટ URL તપાસો+diagNotFoundChckUrl=ડાયાગ્રામ મળ્યું નથી અથવા ઍક્સેસ કરી શકાતું નથી. કૃપા કરીને નિર્દિષ્ટ URL તપાસો+csvNotFoundChckUrl=CSV ફાઇલ મળી નથી અથવા ઍક્સેસ કરી શકાતી નથી. કૃપા કરીને નિર્દિષ્ટ URL તપાસો+cantReadUpload=અપલોડ કરેલ ડાયાગ્રામ વાંચી શકાતું નથી+select=પસંદ કરો+errCantGetIdType=અણધારી ભૂલ: સામગ્રી id અથવા પ્રકાર મેળવી શકાતું નથી.+errGAuthWinBlocked=ભૂલ: Google પ્રમાણીકરણ વિન્ડો અવરોધિત+authDrawAccess={1} ઍક્સેસ કરવા માટે draw.io ને અધિકૃત કરો+connTimeout=કનેક્શન સમય સમાપ્ત થઈ ગયો છે+errAuthSrvc={1} માં પ્રમાણીકરણ કરવામાં ભૂલ+plsSelectFile=કૃપા કરીને ફાઇલ પસંદ કરો+mustBgtZ={1} શૂન્ય કરતાં વધારે હોવું જોઈએ+cantLoadPrev=ફાઇલ પૂર્વાવલોકન લોડ કરી શકાતું નથી.+errAccessFile=ભૂલ: ઍક્સેસ નકારવામાં આવી. તમારી પાસે "{1}" ઍક્સેસ કરવાની પરવાનગી નથી.+noPrevAvail=કોઈ પૂર્વાવલોકન ઉપલબ્ધ નથી.+personalAccNotSup=વ્યક્તિગત એકાઉન્ટ્સ સમર્થિત નથી.+errSavingTryLater=સાચવતી વખતે ભૂલ આવી, કૃપા કરીને પછીથી ફરી પ્રયાસ કરો.+plsEnterFld=કૃપા કરીને {1} દાખલ કરો+invalidDiagUrl=અમાન્ય ડાયાગ્રામ URL+unsupportedVsdx=અસમર્થિત vsdx ફાઇલ+unsupportedImg=અસમર્થિત છબી ફાઇલ+unsupportedFormat=અસમર્થિત ફાઇલ ફોર્મેટ+plsSelectSingleFile=કૃપા કરીને માત્ર એક ફાઇલ પસંદ કરો+attCorrupt=જોડાણ ફાઇલ "{1}" બગડેલી છે+loadAttFailed=જોડાણ "{1}" લોડ કરવામાં નિષ્ફળ+embedDrawDiag=draw.io ડાયાગ્રામ એમ્બેડ કરો+addDiagram=ડાયાગ્રામ ઉમેરો+embedDiagram=ડાયાગ્રામ એમ્બેડ કરો+editOwningPg=માલિકી પૃષ્ઠ સંપાદિત કરો+deepIndexing=ડીપ ઇન્ડેક્સિંગ (કોઈ પૃષ્ઠમાં ઉપયોગ ન થયેલા ડાયાગ્રામ પણ ઇન્ડેક્સ કરો)+confADeepIndexStarted=ડીપ ઇન્ડેક્સિંગ શરૂ થયું+confADeepIndexDone=ડીપ ઇન્ડેક્સિંગ પૂર્ણ+officeNoDiagramsSelected=પસંદગીમાં કોઈ ડાયાગ્રામ મળ્યા નથી+officeNoDiagramsInDoc=દસ્તાવેજમાં કોઈ ડાયાગ્રામ મળ્યા નથી+officeNotSupported=આ સુવિધા આ હોસ્ટ એપ્લિકેશનમાં સમર્થિત નથી+someImagesFailed={2} માંથી {1} નીચેની ભૂલોને કારણે નિષ્ફળ+importingNoUsedDiagrams=પૃષ્ઠોમાં ઉપયોગ ન થયેલા {1} ડાયાગ્રામ આયાત કરી રહ્યા છીએ+importingDrafts=ડ્રાફ્ટ્સમાં {1} ડાયાગ્રામ આયાત કરી રહ્યા છીએ+processingDrafts=ડ્રાફ્ટ્સ પ્રક્રિયા કરી રહ્યા છીએ+updatingDrafts=ડ્રાફ્ટ્સ અપડેટ કરી રહ્યા છીએ+updateDrafts=ડ્રાફ્ટ્સ અપડેટ કરો+notifications=સૂચનાઓ+drawioImp=draw.io આયાત+confALibsImp=draw.io લાઇબ્રેરીઓ આયાત કરી રહ્યા છીએ+confALibsImpFailed={1} લાઇબ્રેરી આયાત કરવામાં નિષ્ફળ+contributors=યોગદાનકર્તાઓ+drawDiagrams=draw.io ડાયાગ્રામ્સ+errFileNotFoundOrNoPer=ભૂલ: ઍક્સેસ નકારવામાં આવી. ફાઇલ મળી નથી અથવા તમને {2} પર "{1}" ઍક્સેસ કરવાની પરવાનગી નથી.+confACheckPagesWEmbed=એમ્બેડેડ draw.io ડાયાગ્રામ ધરાવતા પૃષ્ઠો તપાસી રહ્યા છીએ.+confADelBrokenEmbedDiagLnk=તૂટેલી એમ્બેડેડ ડાયાગ્રામ લિંક્સ દૂર કરી રહ્યા છીએ+replaceWith=આનાથી બદલો+replaceAll=બધા બદલો+confASkipDiagModified=પ્રારંભિક આયાત પછી સુધારેલ હોવાથી "{1}" છોડી દેવામાં આવ્યું+replFind=બદલો/શોધો+matchesRepl={1} મેળ બદલાયા+draftErrDataLoss=ડ્રાફ્ટ ફાઇલ વાંચતી વખતે ભૂલ આવી. કોઈપણ સંભવિત ડેટા નુકસાન અટકાવવા માટે ડાયાગ્રામ હવે સંપાદિત કરી શકાતું નથી. કૃપા કરીને પછીથી ફરી પ્રયાસ કરો અથવા સપોર્ટનો સંપર્ક કરો.ibm=IBM-linkToDiagramHint=Add a link to this diagram. The diagram can only be edited from the page that owns it.-linkToDiagram=Link to Diagram-changedBy=Changed By-lastModifiedOn=Last modified on-searchResults=Search Results-showAllTemps=Show all templates-notionToken=Notion Token-selectDB=Select Database-noDBs=No Databases-diagramEdited={1} diagram "{2}" edited-confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?-confFileTooBigErr=File size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration.-owner=Owner-repository=Repository-branch=Branch-meters=Meters-teamsNoEditingMsg=Editor functionality is only available in Desktop environment (in MS Teams App or a web browser)-contactOwner=Contact Owner-viewerOnlyMsg=You cannot edit the diagrams in the mobile platform, please use the desktop client or a web browser.-website=Website-check4Updates=Check for updates-attWriteFailedRetry={1}: Attachment write failed, trying again in {2} seconds...-confPartialPageList=We couldn't fetch all pages due to an error in Confluence. Continuing using {1} pages only.-spellCheck=Spell checker-noChange=No Change-lblToSvg=Convert labels to SVG-txtSettings=Text Settings-LinksLost=Links will be lost-arcSize=Arc Size-editConnectionPoints=Edit Connection Points-notInOffline=Not supported while offline-notInDesktop=Not supported in Desktop App-confConfigSpaceArchived=draw.io Configuration space (DRAWIOCONFIG) is archived. Please restore it first.-confACleanOldVerStarted=Cleaning old diagram draft versions started-confACleanOldVerDone=Cleaning old diagram draft versions finished-confACleaningFile=Cleaning diagram draft "{1}" old versions-confAFileCleaned=Cleaning diagram draft "{1}" done-confAFileCleanFailed=Cleaning diagram draft "{1}" failed-confACleanOnly=Clean Diagram Drafts Only-brush=Brush-openDevTools=Open Developer Tools-autoBkp=Automatic Backup-confAIgnoreCollectErr=Ignore collecting current pages errors-drafts=Drafts-draftSaveInt=Draft save interval [sec] (0 to disable)-pluginsDisabled=External plugins disabled.-extExpNotConfigured=External image service is not configured-pathFilename=Path/Filename-confAHugeInstances=Very Large Instances-confAHugeInstancesDesc=If this instance includes 100,000+ pages, it is faster to request the current instance pages list from Atlassian. Please contact our support for more details.-choosePageIDsFile=Choose current page IDs csv file-chooseDrawioPsgesFile=Choose pages with draw.io diagrams csv file-private=Private-diagramTooLarge=The diagram is too large, please reduce its size and try again.-selectAdminUsers=Select Admin Users-xyzTeam={1} Team-addTeamTitle=Adding a new draw.io Team-addTeamInst1=To create a new draw.io Team, you need to create a new Atlassian group with "drawio-" prefix (e.g, a group named "drawio-marketing").-addTeamInst2=Then, configure which team member can edit/add configuration, templates, and libraries from this page.-drawioTeams=draw.io Teams-members=Members-adminEditors=Admins/Editors-allowAll=Allow all-noTeams=No teams found-errorLoadingTeams=Error Loading Teams-noTeamMembers=No team members found-errLoadTMembers=Error loading team members-errCreateTeamPage=Error creating team "{1}" page in "draw.io Configuration" space, please check you have the required permissions.-gotoConfigPage=Please create the space from draw.io "Configuration" page.-noAdminsSelected=No admins/editors selected-errCreateConfigFile=Error creating "configuration.json" file, please check you have the required permissions.-errSetPageRestr=Error setting page restrictions-notAdmin4Team=You are not an admin for this team-configUpdated=Configuration updated, restart the editor if you want to work with last configuration.-outOfDateRevisionAlert=You are editing a historical revision of the diagram, please review the revision and open it to replace the latest version. Or close and overwrite/merge later.-confAErrFaqs=There are {1} error(s), the following instructions may help fixing most of the cases. (Please download the log for future references)-confA403ErrFaq=There are ({1}) 403 error(s). The current users must have add (write) permissions on all pages and attachments. Even admins sometimes are not allowed to write to some pages via page restrictions-confA404ErrFaq=There are ({1}) 404 error(s). The attachment/page is not found. This is due to improper migration or the diagram file (an attachment of the page) is deleted.-confA500ErrFaq=There are ({1}) 500 error(s). An internal server error in Confluence Cloud. Such errors are due to overloading the server and usually fixed by retrying the process.-confAOtherErrFaq=There are ({1}) other error(s). Please check the error description. If the description is not clear, please contact our support.-confAReplaceBaseUrl=Replace Base URL in diagram links when no page ID mapping is found-drawSvgPrev=draw.io SVG preview-googleFonts=Google Fonts-diagDupl=Duplicate Diagram Detected-diagDuplMsg=This diagram is used in multiple places, which can result in unexpected results when edited. We've created an independent copy. Please open the editor again.-diagDuplNoEditMsg=This diagram is used in multiple places. Please edit it within its own page.-confCloudMigConfirm=Warning: This process will edit many pages and diagrams, so it is recommended to stop the Synchrony service during the process. Do you want to proceed?-confCloudMigNotice=In the Cloud instance, please add linkAdjustments to draw.io configuration as follows {1}. Without this configuration, links in diagrams pointing to Confluence pages will not work.-confALogsPageDesc=This page contains logs of draw.io long running services as attachments-confEditOnlyInPageEditor=Can only be edited within Confluence page editor-confEvalWarn=Evaluation License - Not for production use-otherUsersEditing=Other user(s) are editing this diagram-firstTimeGD=First time to access this file?-drawioGDAppNotInstalled=draw.io Google Drive app is not installed, please install it first-ConfDC415Error=Saving drafts is blocked. If you have "Attachment Checker for Confluence" app, please update to the latest version.-remove=Remove-selectPgLyr=Select Page and Layers-errGenPreview=There was an error generating a diagram preview. Please consult technical support.-attAccessErr=Diagram attachment access error: cannot display diagram-widthIntOrFixed=Width must be a valid integer or of value 'fixed'-dupDisabledPgLyrSlct=Diagram duplication is disabled when page and layers are selected-cantDupPickDiffName=Could not duplicate diagram. Please choose a different name.-ownPgAccessDupErr=Owning page access restriction: cannot duplicate diagram.-cantDupTryLater=Could not duplicate diagram. Please try again later.-cantEditLnkd=Cannot edit linked diagram-diagEditOwnPgOnlyOpen=Diagram can only be edited from the page that owns it. Would you like to open the owning page for edit?-diagInTemps=draw.io diagrams in templates-diagInTempsCantEdit=Diagrams in page templates cannot be edited. They can only be edited on pages and blog posts.-confDirectEditDraftLost=This Confluence page has unpublished changes. Editing the diagram from page view may cause data loss. Please edit the Confluence page first and then edit the diagram.-confConfigSpacePerm=Note: If you recently migrated from DC app, please check draw.io Configuration space permissions such that all users can read and only admins can write. In addition, remove the page restrictions on "Configuration" and "Libraries" pages. You may need admin keys to access them. Also, please check the file "configuration.json" in the "Configuration" page is downloadable.-tryCurPageOnErr=Try finding the diagram attachment on the macro page when the linked page fails-confAExtSrvcNoSupported=Embedded diagrams from external services or urls are not supported.-gliffyVersionPinning=ગ્લિફીનું પિન કરેલું સંસ્કરણ નવું સંસ્કરણ બદલે આયાત કરો-confEmbedUpload=સારા સંપાદન અનુભવ માટે, કૃપા કરીને ખાલી આલેખ દાખલ કરવા માટે draw.io નું નિયમિત મેક્રો ઉપયોગ કરો, પછી (ફાઇલ મેનુ → આયાત કરો → ઉપકરણ...) માંથી તમે જે ફાઇલ અપલોડ અને એમ્બેડ કરવા માંગો છો તે પસંદ કરો.+linkToDiagramHint=આ ડાયાગ્રામમાં લિંક ઉમેરો. ડાયાગ્રામ ફક્ત તેના માલિક પૃષ્ઠ પરથી જ સંપાદિત કરી શકાય છે.+linkToDiagram=ડાયાગ્રામની લિંક+changedBy=દ્વારા બદલાયેલ+lastModifiedOn=છેલ્લે સુધારેલ+searchResults=શોધ પરિણામો+showAllTemps=બધા ટેમ્પલેટ્સ બતાવો+notionToken=Notion ટોકન+selectDB=ડેટાબેઝ પસંદ કરો+noDBs=કોઈ ડેટાબેઝ નથી+diagramEdited={1} ડાયાગ્રામ "{2}" સંપાદિત થયું+confDraftPermissionErr=ડ્રાફ્ટ લખી શકાતું નથી. શું તમારી પાસે આ પૃષ્ઠ પર જોડાણ લખવા/વાંચવાની પરવાનગી છે?+confFileTooBigErr=ફાઇલનું કદ ઘણું મોટું છે. કૃપા કરીને Confluence કન્ફિગરેશનમાં "Attachment Settings" ના "Attachment Maximum Size" તપાસો.+owner=માલિક+repository=રિપોઝીટરી+branch=શાખા+meters=મીટર+teamsNoEditingMsg=એડિટર કાર્યક્ષમતા ફક્ત ડેસ્કટોપ વાતાવરણમાં ઉપલબ્ધ છે (MS Teams એપ અથવા વેબ બ્રાઉઝરમાં)+contactOwner=માલિકનો સંપર્ક કરો+viewerOnlyMsg=તમે મોબાઇલ પ્લેટફોર્મ પર ડાયાગ્રામ સંપાદિત કરી શકતા નથી, કૃપા કરીને ડેસ્કટોપ ક્લાયન્ટ અથવા વેબ બ્રાઉઝરનો ઉપયોગ કરો.+website=વેબસાઇટ+check4Updates=અપડેટ્સ તપાસો+attWriteFailedRetry={1}: એટેચમેન્ટ લખવામાં નિષ્ફળ, {2} સેકન્ડમાં ફરી પ્રયાસ કરી રહ્યા છીએ...+confPartialPageList=Confluence માં ભૂલને કારણે અમે બધા પૃષ્ઠો મેળવી શક્યા નથી. ફક્ત {1} પૃષ્ઠોનો ઉપયોગ કરીને ચાલુ રાખી રહ્યા છીએ.+spellCheck=જોડણી તપાસનાર+noChange=કોઈ ફેરફાર નથી+lblToSvg=લેબલ્સને SVG માં રૂપાંતરિત કરો+txtSettings=ટેક્સ્ટ સેટિંગ્સ+LinksLost=લિંક્સ ગુમ થશે+arcSize=આર્ક કદ+editConnectionPoints=કનેક્શન પોઇન્ટ્સ સંપાદિત કરો+notInOffline=ઑફલાઇન હોય ત્યારે સમર્થિત નથી+notInDesktop=ડેસ્કટોપ એપમાં સમર્થિત નથી+confConfigSpaceArchived=draw.io કન્ફિગરેશન સ્પેસ (DRAWIOCONFIG) આર્કાઇવ થયેલ છે. કૃપા કરીને પહેલા તેને પુનઃસ્થાપિત કરો.+confACleanOldVerStarted=જૂના ડાયાગ્રામ ડ્રાફ્ટ આવૃત્તિઓની સફાઈ શરૂ થઈ+confACleanOldVerDone=જૂના ડાયાગ્રામ ડ્રાફ્ટ આવૃત્તિઓની સફાઈ પૂર્ણ થઈ+confACleaningFile=ડાયાગ્રામ ડ્રાફ્ટ "{1}" ની જૂની આવૃત્તિઓ સાફ કરી રહ્યા છીએ+confAFileCleaned=ડાયાગ્રામ ડ્રાફ્ટ "{1}" ની સફાઈ પૂર્ણ+confAFileCleanFailed=ડાયાગ્રામ ડ્રાફ્ટ "{1}" ની સફાઈ નિષ્ફળ+confACleanOnly=ફક્ત ડાયાગ્રામ ડ્રાફ્ટ્સ સાફ કરો+brush=બ્રશ+openDevTools=ડેવલપર ટૂલ્સ ખોલો+autoBkp=સ્વચાલિત બેકઅપ+confAIgnoreCollectErr=વર્તમાન પૃષ્ઠોની ભૂલો એકત્રિત કરવાનું અવગણો+drafts=ડ્રાફ્ટ્સ+draftSaveInt=ડ્રાફ્ટ સાચવવાનો અંતરાલ [સેકન્ડ] (નિષ્ક્રિય કરવા માટે 0)+pluginsDisabled=બાહ્ય પ્લગઇન્સ નિષ્ક્રિય છે.+extExpNotConfigured=બાહ્ય ઇમેજ સેવા ગોઠવાયેલ નથી+pathFilename=પાથ/ફાઇલનામ+confAHugeInstances=ખૂબ મોટા ઇન્સ્ટન્સ+confAHugeInstancesDesc=જો આ ઇન્સ્ટન્સમાં 100,000+ પૃષ્ઠો શામેલ હોય, તો Atlassian પાસેથી વર્તમાન ઇન્સ્ટન્સ પૃષ્ઠોની યાદી વિનંતી કરવી ઝડપી છે. વધુ વિગતો માટે કૃપા કરીને અમારા સપોર્ટનો સંપર્ક કરો.+choosePageIDsFile=વર્તમાન પૃષ્ઠ IDs csv ફાઇલ પસંદ કરો+chooseDrawioPsgesFile=draw.io ડાયાગ્રામ સાથેના પૃષ્ઠોની csv ફાઇલ પસંદ કરો+private=ખાનગી+diagramTooLarge=ડાયાગ્રામ ખૂબ મોટો છે, કૃપા કરીને તેનું કદ ઘટાડો અને ફરી પ્રયાસ કરો.+selectAdminUsers=એડમિન વપરાશકર્તાઓ પસંદ કરો+xyzTeam={1} ટીમ+addTeamTitle=નવી draw.io ટીમ ઉમેરવી+addTeamInst1=નવી draw.io ટીમ બનાવવા માટે, તમારે "drawio-" ઉપસર્ગ સાથે નવું Atlassian ગ્રુપ બનાવવું પડશે (દા.ત., "drawio-marketing" નામનું ગ્રુપ).+addTeamInst2=પછી, આ પૃષ્ઠ પરથી કઈ ટીમ મેમ્બર ગોઠવણી, ટેમ્પલેટ્સ અને લાઇબ્રેરીઓ સંપાદિત/ઉમેરી શકે તે ગોઠવો.+drawioTeams=draw.io ટીમ્સ+members=સભ્યો+adminEditors=એડમિન્સ/સંપાદકો+allowAll=બધાને મંજૂરી આપો+noTeams=કોઈ ટીમ મળી નથી+errorLoadingTeams=ટીમ્સ લોડ કરવામાં ભૂલ+noTeamMembers=કોઈ ટીમ સભ્યો મળ્યા નથી+errLoadTMembers=ટીમ સભ્યો લોડ કરવામાં ભૂલ+errCreateTeamPage="draw.io Configuration" સ્પેસમાં ટીમ "{1}" પેજ બનાવવામાં ભૂલ, કૃપા કરીને તપાસો કે તમારી પાસે જરૂરી પરવાનગીઓ છે.+gotoConfigPage=કૃપા કરીને draw.io "Configuration" પેજમાંથી સ્પેસ બનાવો.+noAdminsSelected=કોઈ એડમિન્સ/એડિટર્સ પસંદ કરેલા નથી+errCreateConfigFile="configuration.json" ફાઇલ બનાવવામાં ભૂલ, કૃપા કરીને તપાસો કે તમારી પાસે જરૂરી પરવાનગીઓ છે.+errSetPageRestr=પેજ પ્રતિબંધો સેટ કરવામાં ભૂલ+notAdmin4Team=તમે આ ટીમ માટે એડમિન નથી+configUpdated=કોન્ફિગરેશન અપડેટ થયું, જો તમે છેલ્લા કોન્ફિગરેશન સાથે કામ કરવા માંગતા હો તો એડિટર રીસ્ટાર્ટ કરો.+outOfDateRevisionAlert=તમે ડાયાગ્રામનું ઐતિહાસિક રિવિઝન એડિટ કરી રહ્યા છો, કૃપા કરીને રિવિઝનની સમીક્ષા કરો અને નવીનતમ વર્ઝનને બદલવા માટે તેને ખોલો. અથવા બંધ કરો અને પછીથી ઓવરરાઇટ/મર્જ કરો.+confAErrFaqs={1} ભૂલ(ઓ) છે, નીચેની સૂચનાઓ મોટાભાગના કેસો ઠીક કરવામાં મદદ કરી શકે છે. (કૃપા કરીને ભવિષ્યના સંદર્ભ માટે લોગ ડાઉનલોડ કરો)+confA403ErrFaq=({1}) 403 ભૂલ(ઓ) છે. વર્તમાન વપરાશકર્તાઓ પાસે બધા પેજ અને જોડાણો પર ઉમેરો (લખવાની) પરવાનગીઓ હોવી જોઈએ. ક્યારેક એડમિન્સને પણ પેજ પ્રતિબંધો દ્વારા કેટલાક પેજ પર લખવાની મંજૂરી નથી હોતી+confA404ErrFaq=({1}) 404 ભૂલ(ઓ) છે. જોડાણ/પેજ મળ્યું નથી. આ અયોગ્ય માઇગ્રેશન અથવા ડાયાગ્રામ ફાઇલ (પેજનું જોડાણ) કાઢી નાખવાને કારણે છે.+confA500ErrFaq=({1}) 500 ભૂલ(ઓ) છે. Confluence Cloud માં આંતરિક સર્વર ભૂલ. આવી ભૂલો સર્વર ઓવરલોડ થવાને કારણે છે અને સામાન્ય રીતે પ્રક્રિયા ફરીથી પ્રયાસ કરવાથી ઠીક થાય છે.+confAOtherErrFaq=({1}) અન્ય ભૂલ(ઓ) છે. કૃપા કરીને ભૂલ વર્ણન તપાસો. જો વર્ણન સ્પષ્ટ ન હોય, તો કૃપા કરીને અમારા સપોર્ટનો સંપર્ક કરો.+confAReplaceBaseUrl=જ્યારે કોઈ પેજ ID મેપિંગ મળે નહીં ત્યારે ડાયાગ્રામ લિંક્સમાં બેઝ URL બદલો+drawSvgPrev=draw.io SVG પૂર્વાવલોકન+googleFonts=Google ફોન્ટ્સ+diagDupl=ડુપ્લિકેટ ડાયાગ્રામ મળ્યું+diagDuplMsg=આ ડાયાગ્રામ બહુવિધ જગ્યાઓએ વપરાય છે, જે એડિટ કરતી વખતે અણધારી પરિણામો આપી શકે છે. અમે એક સ્વતંત્ર નકલ બનાવી છે. કૃપા કરીને એડિટર ફરીથી ખોલો.+diagDuplNoEditMsg=આ ડાયાગ્રામ બહુવિધ જગ્યાઓએ વપરાય છે. કૃપા કરીને તેના પોતાના પેજમાં એડિટ કરો.+confCloudMigConfirm=ચેતવણી: આ પ્રક્રિયા ઘણા પેજ અને ડાયાગ્રામ એડિટ કરશે, તેથી પ્રક્રિયા દરમિયાન Synchrony સેવા બંધ કરવાની ભલામણ છે. શું તમે આગળ વધવા માંગો છો?+confCloudMigNotice=Cloud ઇન્સ્ટન્સમાં, કૃપા કરીને draw.io કોન્ફિગરેશનમાં linkAdjustments નીચે મુજબ ઉમેરો {1}. આ કોન્ફિગરેશન વિના, Confluence પેજ તરફ નિર્દેશ કરતી ડાયાગ્રામ લિંક્સ કામ કરશે નહીં.+confALogsPageDesc=આ પેજમાં draw.io લાંબા સમય ચાલતી સેવાઓના લોગ્સ જોડાણો તરીકે છે+confEditOnlyInPageEditor=ફક્ત Confluence પેજ એડિટરમાં એડિટ કરી શકાય છે+confEvalWarn=મૂલ્યાંકન લાયસન્સ - ઉત્પાદન ઉપયોગ માટે નથી+otherUsersEditing=અન્ય વપરાશકર્તા(ઓ) આ આકૃતિ સંપાદિત કરી રહ્યા છે+firstTimeGD=આ ફાઇલને પ્રથમ વખત ઍક્સેસ કરી રહ્યા છો?+drawioGDAppNotInstalled=draw.io Google Drive એપ્લિકેશન ઇન્સ્ટોલ નથી, કૃપા કરીને પહેલા તેને ઇન્સ્ટોલ કરો+ConfDC415Error=ડ્રાફ્ટ સાચવવાનું અવરોધિત છે. જો તમારી પાસે "Attachment Checker for Confluence" એપ્લિકેશન છે, તો કૃપા કરીને નવીનતમ સંસ્કરણમાં અપડેટ કરો.+remove=દૂર કરો+selectPgLyr=પૃષ્ઠ અને સ્તરો પસંદ કરો+errGenPreview=આકૃતિ પૂર્વાવલોકન જનરેટ કરવામાં ભૂલ થઈ. કૃપા કરીને તકનીકી સહાયનો સંપર્ક કરો.+attAccessErr=આકૃતિ જોડાણ ઍક્સેસ ભૂલ: આકૃતિ પ્રદર્શિત કરી શકાતી નથી+widthIntOrFixed=પહોળાઈ માન્ય પૂર્ણાંક અથવા 'fixed' મૂલ્ય હોવી જોઈએ+dupDisabledPgLyrSlct=પૃષ્ઠ અને સ્તરો પસંદ કરેલા હોય ત્યારે આકૃતિ ડુપ્લિકેશન અક્ષમ છે+cantDupPickDiffName=આકૃતિ ડુપ્લિકેટ કરી શકાઈ નહીં. કૃપા કરીને અલગ નામ પસંદ કરો.+ownPgAccessDupErr=માલિક પૃષ્ઠ ઍક્સેસ પ્રતિબંધ: આકૃતિ ડુપ્લિકેટ કરી શકાતી નથી.+cantDupTryLater=આકૃતિ ડુપ્લિકેટ કરી શકાઈ નહીં. કૃપા કરીને પછીથી ફરી પ્રયાસ કરો.+cantEditLnkd=લિંક કરેલી આકૃતિ સંપાદિત કરી શકાતી નથી+diagEditOwnPgOnlyOpen=આકૃતિ ફક્ત તેના માલિક પૃષ્ઠ પરથી જ સંપાદિત કરી શકાય છે. શું તમે સંપાદન માટે માલિક પૃષ્ઠ ખોલવા માંગો છો?+diagInTemps=ટેમ્પલેટ્સમાં draw.io આકૃતિઓ+diagInTempsCantEdit=પૃષ્ઠ ટેમ્પલેટ્સમાં આકૃતિઓ સંપાદિત કરી શકાતી નથી. તે ફક્ત પૃષ્ઠો અને બ્લોગ પોસ્ટ્સ પર જ સંપાદિત કરી શકાય છે.+confDirectEditDraftLost=આ Confluence પૃષ્ઠમાં અપ્રકાશિત ફેરફારો છે. પૃષ્ઠ દૃશ્યમાંથી આકૃતિ સંપાદિત કરવાથી ડેટા ગુમાવી શકે છે. કૃપા કરીને પહેલા Confluence પૃષ્ઠ સંપાદિત કરો અને પછી આકૃતિ સંપાદિત કરો.+confConfigSpacePerm=નોંધ: જો તમે તાજેતરમાં DC એપ્લિકેશનમાંથી સ્થાનાંતરિત થયા છો, તો કૃપા કરીને draw.io રૂપરેખાંકન સ્પેસ પરવાનગીઓ તપાસો કે બધા વપરાશકર્તાઓ વાંચી શકે અને ફક્ત એડમિન્સ લખી શકે. વધુમાં, "Configuration" અને "Libraries" પૃષ્ઠો પરના પૃષ્ઠ પ્રતિબંધો દૂર કરો. તમારે તેમને ઍક્સેસ કરવા માટે એડમિન કીની જરૂર પડી શકે છે. ઉપરાંત, કૃપા કરીને તપાસો કે "Configuration" પૃષ્ઠમાં "configuration.json" ફાઇલ ડાઉનલોડ કરી શકાય છે.+tryCurPageOnErr=લિંક કરેલું પૃષ્ઠ નિષ્ફળ થાય ત્યારે મેક્રો પૃષ્ઠ પર આકૃતિ જોડાણ શોધવાનો પ્રયાસ કરો+confAExtSrvcNoSupported=બાહ્ય સેવાઓ અથવા URLs માંથી એમ્બેડ કરેલી આકૃતિઓ સમર્થિત નથી.+gliffyVersionPinning=નવીનતમ સંસ્કરણને બદલે Gliffy પિન કરેલું સંસ્કરણ આયાત કરો+confEmbedUpload=સારા સંપાદન અનુભવ માટે, કૃપા કરીને ખાલી આકૃતિ દાખલ કરવા માટે નિયમિત draw.io મેક્રો ઉપયોગ કરો, પછી (ફાઇલ મેનુ → આમાંથી આયાત કરો → ઉપકરણ...) માંથી તમે જે ફાઇલ અપલોડ અને એમ્બેડ કરવા માંગો છો તે પસંદ કરો.confPublishErr=તમારા પ્રકાશન સાથે બીજું અપડેટ સંઘર્ષ થયું, કૃપા કરીને ફરીથી પ્રયાસ કરો-confACacheMapping=Cache page IDs mapping-confARemImpPages=Remember imported pages-delCachedData=Delete Cached Data-k15tPagesError=Error retrieving Scroll pages. Is Scroll Versions installed?-drawioUninstalled=draw.io has been uninstalled, the editor will now close-confAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.-confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.-DCSave500Error=Confluence ની બીજી પ્રક્રિયાએ સંગ્રહણમાં વિક્ષેપ કર્યો, ફરી પ્રયાસ કરો #{1}+confACacheMapping=કેશ પૃષ્ઠ IDs મેપિંગ+confARemImpPages=આયાત કરેલા પૃષ્ઠો યાદ રાખો+delCachedData=કેશ કરેલ ડેટા કાઢી નાખો+k15tPagesError=Scroll પૃષ્ઠો મેળવવામાં ભૂલ. શું Scroll Versions ઇન્સ્ટોલ છે?+drawioUninstalled=draw.io અનઇન્સ્ટોલ કરવામાં આવ્યું છે, એડિટર હવે બંધ થશે+confAttachmentArchived=ડાયાગ્રામ આર્કાઇવ કરેલા પૃષ્ઠનો છે અને લોડ કરી શકાતો નથી. તેને લોડ કરવા પૃષ્ઠ (ID: {1}) પુનઃસ્થાપિત કરો.+confDiagramMacroDowngrade=ડાયાગ્રામ સાચવ્યો છે પરંતુ પૃષ્ઠ મેક્રો અપડેટ કરી શકાતો નથી કારણ કે મેક્રોમાં ડાયાગ્રામ રિવિઝન નવું છે. કૃપા કરીને Confluence પૃષ્ઠ એડિટરમાંથી ડાયાગ્રામ સંપાદિત કરો.+DCSave500Error=Confluence ની બીજી પ્રક્રિયાએ સાચવવામાં વિક્ષેપ કર્યો, ફરી પ્રયાસ #{1}+confAppNotInstalled=draw.io diagrams Confluence App ઇન્સ્ટોલ નથી.+plsInstallAppInConf=ડાયાગ્રામ્સ ઍક્સેસ કરવા માટે કૃપા કરીને Confluence માં આ App ઇન્સ્ટોલ/કનેક્ટ કરો (draw.io Confluence app ઉપરાંત)diff --git a/src/main/webapp/resources/dia_he.txt b/src/main/webapp/resources/dia_he.txtindex 4a1274ab3..5fe27c9e5 100644--- a/src/main/webapp/resources/dia_he.txt+++ b/src/main/webapp/resources/dia_he.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=פעולה אחרת ב-Confluence קטעה את השמירה, נסו שוב #{1}+confAppNotInstalled=draw.io diagrams Confluence App is not installed.+plsInstallAppInConf=Please install/connect this App in Confluence to be able to access the diagrams (in addition to draw.io Confluen app)diff --git a/src/main/webapp/resources/dia_hi.txt b/src/main/webapp/resources/dia_hi.txtindex 2cae0551d..cc7c953db 100644--- a/src/main/webapp/resources/dia_hi.txt+++ b/src/main/webapp/resources/dia_hi.txt@@ -1,354 +1,354 @@# *DO NOT DIRECTLY EDIT THIS FILE, IT IS AUTOMATICALLY GENERATED AND IT IS BASED ON:*# https://docs.google.com/spreadsheet/ccc?key=0AmQEO36liL4FdDJLWVNMaVV2UmRKSnpXU09MYkdGbEE-about=About-aboutDrawio=About draw.io-accessDenied=Access Denied-accounts=Accounts-action=Action-actualSize=Actual Size+about=के बारे में+aboutDrawio=draw.io के बारे में+accessDenied=पहुँच अस्वीकृत+accounts=खाते+action=कार्रवाई+actualSize=वास्तविक आकारadaptiveColors=अनुकूली रंग-add=Add-addAccount=Add account-addedFile=Added {1}-addImages=Add Images-addImageUrl=Add Image URL-addLayer=Add Layer-addProperty=Add Property-address=Address-addToExistingDrawing=Add to Existing Drawing-addToScratchpad=Add to Scratchpad-addWaypoint=Add Waypoint-adjustTo=Adjust to-advanced=Advanced-smartTemplate=Smart Template-align=Align-alignment=Alignment-allChangesLost=All changes will be lost!-allPages=All Pages-allProjects=All Projects+add=जोड़ें+addAccount=खाता जोड़ें+addedFile={1} जोड़ा गया+addImages=छवियाँ जोड़ें+addImageUrl=छवि URL जोड़ें+addLayer=परत जोड़ें+addProperty=गुण जोड़ें+address=पता+addToExistingDrawing=मौजूदा आरेख में जोड़ें+addToScratchpad=स्क्रैचपैड में जोड़ें+addWaypoint=वेपॉइंट जोड़ें+adjustTo=समायोजित करें+advanced=उन्नत+smartTemplate=स्मार्ट टेम्पलेट+align=संरेखित करें+alignment=संरेखण+allChangesLost=सभी परिवर्तन खो जाएँगे!+allPages=सभी पृष्ठ+allProjects=सभी प्रोजेक्टallSelectedObjectsInThisLayer=सभी चयनित वस्तुएं इस परत में हैं-allSpaces=All Spaces-allTags=All Tags-anchor=Anchor+allSpaces=सभी स्पेस+allTags=सभी टैग+anchor=एंकरandroid=Android-angle=Angle+angle=कोणanimations=एनिमेशन-arc=Arc-areYouSure=Are you sure?-ensureDataSaved=Please ensure your data is saved before closing.-allChangesSaved=All changes saved-allChangesSavedInDrive=All changes saved in Drive-allowPopups=Allow pop-ups to avoid this dialog.-allowRelativeUrl=Allow relative URL-alreadyConnected=Nodes already connected-appearance=Appearance-apply=Apply+arc=आर्क+areYouSure=क्या आप सुनिश्चित हैं?+ensureDataSaved=कृपया बंद करने से पहले सुनिश्चित करें कि आपका डेटा सहेजा गया है।+allChangesSaved=सभी परिवर्तन सहेजे गए+allChangesSavedInDrive=सभी परिवर्तन Drive में सहेजे गए+allowPopups=इस डायलॉग से बचने के लिए पॉप-अप की अनुमति दें।+allowRelativeUrl=सापेक्ष URL की अनुमति दें+alreadyConnected=नोड्स पहले से जुड़े हुए हैं+appearance=दिखावट+apply=लागू करेंarchiMate21=ArchiMate 2.1-arrange=Arrange-arrow=Arrow-arrows=Arrows-askMeAnything=Ask me anything-asNew=As New-atlas=Atlas-author=Author-authorizationRequired=Authorization required-authorizeThisAppIn=Authorize this app in {1}:-authorize=Authorize-authorizing=Authorizing-automatic=Automatic-autosave=Autosave-autosize=Autosize-attachments=Attachments+arrange=व्यवस्थित करें+arrow=तीर+arrows=तीर+askMeAnything=मुझसे कुछ भी पूछें+asNew=नए के रूप में+atlas=एटलस+author=लेखक+authorizationRequired=प्राधिकरण आवश्यक+authorizeThisAppIn={1} में इस ऐप को अधिकृत करें:+authorize=अधिकृत करें+authorizing=अधिकृत किया जा रहा है+automatic=स्वचालित+autosave=स्वतः सहेजें+autosize=स्वतः आकार+attachments=अनुलग्नकaws=AWSaws3d=AWS 3Dazure=Azure-back=Back-background=Background-backgroundColor=Background Color-backgroundImage=Background Image-basic=Basic-beta=beta-blankDrawing=Blank Drawing-blankDiagram=Blank Diagram-block=Block-blockquote=Blockquote-blog=Blog-bold=Bold-bootstrap=Bootstrap-border=Border-borderColor=Border Color-borderWidth=Border Width-bottom=Bottom-bottomAlign=Bottom Align-bottomLeft=Bottom Left-bottomRight=Bottom Right+back=वापस+background=पृष्ठभूमि+backgroundColor=पृष्ठभूमि रंग+backgroundImage=पृष्ठभूमि छवि+basic=मूल+beta=बीटा+blankDrawing=खाली ड्राइंग+blankDiagram=खाली आरेख+block=ब्लॉक+blockquote=ब्लॉककोट+blog=ब्लॉग+bold=बोल्ड+bootstrap=बूटस्ट्रैप+border=बॉर्डर+borderColor=बॉर्डर रंग+borderWidth=बॉर्डर चौड़ाई+bottom=नीचे+bottomAlign=नीचे संरेखित करें+bottomLeft=नीचे बाएं+bottomRight=नीचे दाएंbpmn=BPMN-bringForward=Bring Forward-browser=Browser-bulletedList=Bulleted List-business=Business-busy=Operation in progress-cabinets=Cabinets-cancel=Cancel-center=Center-cannotLoad=Load attempts failed. Please try again later.-cannotLogin=Log in attempts failed. Please try again later.-cannotOpenFile=Cannot open file-change=Change-changeOrientation=Change Orientation-changeUser=Change user-changeStorage=Change storage-changesNotSaved=Changes have not been saved-classDiagram=Class Diagram-userJoined={1} has joined-userLeft={1} has left-chatWindowTitle=Chat-chooseAnOption=Choose an option-chromeApp=Chrome App-collaborativeEditingNotice=Important Notice for Collaborative Editing-compare=Compare-compressed=Compressed-commitMessage=Commit Message-configLinkWarn=This link configures draw.io. Only click OK if you trust whoever gave you it!-configLinkConfirm=Click OK to configure and restart draw.io.-container=Container+bringForward=आगे लाएं+browser=ब्राउज़र+bulletedList=बुलेटेड सूची+business=व्यापार+busy=ऑपरेशन जारी है+cabinets=कैबिनेट+cancel=रद्द करें+center=केंद्र+cannotLoad=लोड प्रयास विफल। कृपया बाद में पुनः प्रयास करें।+cannotLogin=लॉग इन प्रयास विफल। कृपया बाद में पुनः प्रयास करें।+cannotOpenFile=फ़ाइल खोल नहीं सकते+change=बदलें+changeOrientation=ओरिएंटेशन बदलें+changeUser=उपयोगकर्ता बदलें+changeStorage=स्टोरेज बदलें+changesNotSaved=परिवर्तन सहेजे नहीं गए हैं+classDiagram=क्लास आरेख+userJoined={1} शामिल हो गया+userLeft={1} चला गया+chatWindowTitle=चैट+chooseAnOption=एक विकल्प चुनें+chromeApp=Chrome ऐप+collaborativeEditingNotice=सहयोगात्मक संपादन के लिए महत्वपूर्ण सूचना+compare=तुलना करें+compressed=संपीड़ित+commitMessage=कमिट संदेश+configLinkWarn=यह लिंक draw.io को कॉन्फ़िगर करता है। केवल OK क्लिक करें यदि आप इसे देने वाले पर भरोसा करते हैं!+configLinkConfirm=draw.io को कॉन्फ़िगर और पुनरारंभ करने के लिए OK क्लिक करें।+container=कंटेनरcsv=CSVcurrentLayer=वर्तमान परत-dark=Dark+dark=डार्कdiagramLanguage=आरेख भाषा-diagramType=Diagram type-diagramXmlDesc=XML File-diagramHtmlDesc=HTML File-diagramPngDesc=Editable Bitmap Image-diagramSvgDesc=Editable Vector Image-didYouMeanToExportToPdf=Did you mean to export to PDF?-disabled=Disabled-draftFound=A draft for '{1}' has been found. Load it into the editor or discard it to continue.-draftRevisionMismatch=There is a different version of this diagram on a shared draft of this page. Please edit the diagram from the draft to ensure you are working with the latest version.-selectDraft=Select a draft to continue editing:-dragAndDropNotSupported=Drag and drop not supported for images. Would you like to import instead?-dropboxCharsNotAllowed=The following characters are not allowed: \ / : ? * " |-check=Check-checksum=Checksum-circle=Circle+diagramType=आरेख प्रकार+diagramXmlDesc=XML फ़ाइल+diagramHtmlDesc=HTML फ़ाइल+diagramPngDesc=संपादन योग्य बिटमैप छवि+diagramSvgDesc=संपादन योग्य वेक्टर छवि+didYouMeanToExportToPdf=क्या आप PDF में निर्यात करना चाहते थे?+disabled=अक्षम+draftFound={1}' के लिए एक ड्राफ्ट मिला है। इसे संपादक में लोड करें या जारी रखने के लिए हटाएं।+draftRevisionMismatch=इस पृष्ठ के साझा ड्राफ्ट पर इस आरेख का एक अलग संस्करण है। कृपया ड्राफ्ट से आरेख संपादित करें ताकि आप नवीनतम संस्करण के साथ काम कर रहे हों।+selectDraft=संपादन जारी रखने के लिए एक ड्राफ्ट चुनें:+dragAndDropNotSupported=छवियों के लिए ड्रैग और ड्रॉप समर्थित नहीं है। क्या आप इसके बजाय आयात करना चाहेंगे?+dropboxCharsNotAllowed=निम्नलिखित वर्ण अनुमत नहीं हैं: \ / : ? * " |+check=जाँचें+checksum=चेकसम+circle=वृत्तcisco=Cisco-classic=Classic-clearDefaultStyle=Clear Default Style-clearWaypoints=Clear Waypoints-clipart=Clipart-close=Close-closingFile=Closing file-realtimeCollaboration=Real-Time Collaboration-collaborate=Collaborate-collaborator=Collaborator-collaborators=Collaborators-collapse=Collapse-collapseExpand=Collapse/Expand-collapse-expand=Click to collapse/expand\nShift-click to move neighbors \nAlt-click to protect group size-collapsible=Collapsible-comic=Comic-comment=Comment-commentsNotes=Comments/Notes-compress=Compress-configuration=Configuration-connect=Connect-connecting=Connecting-connectWithDrive=Connect with Google Drive-connection=Connection-connectionArrows=Connection Arrows-connectionPoints=Connection Points-constrainProportions=Constrain Proportions-containsValidationErrors=Contains validation errors-copiedToClipboard=Copied to clipboard-copy=Copy-copyConnect=Copy on Connect-copyCreated=A copy of the file was created.-copyData=Copy Data-copyOf=Copy of {1}-copyOfDrawing=Copy of Drawing-copySize=Copy Size-copyStyle=Copy Style-create=Create-createBlankDiagram=Create Blank Diagram-createNewDiagram=Create New Diagram-createRevision=Create Revision-createShape=Create Shape-crop=Crop-curved=Curved-custom=Custom-current=Current-currentPage=Current page-cut=Cut-dashed=Dashed-decideLater=Decide later-default=Default-delete=Delete-deleteAll=Delete all-deleteColumn=Delete column-deleteLibrary401=Insufficient permissions to delete this library-deleteLibrary404=Selected library could not be found-deleteLibrary500=Error deleting library-deleteLibraryConfirm=You are about to permanently delete this library. Are you sure you want to do this?-deleteRow=Delete Row-description=Description-describeYourDiagram=Describe your diagram-device=Device-diagram=Diagram-diagramContent=Diagram Content-diagramLocked=Diagram has been locked to prevent further data loss.-diagramLockedBySince=The diagram is locked by {1} since {2} ago-diagramName=Diagram Name-diagramIsPublic=Diagram is public-diagramIsNotPublic=Diagram is not public-diamond=Diamond-diamondThin=Diamond (thin)-didYouKnow=Did you know...-direction=Direction-discard=Discard-discardChangesAndReconnect=Discard Changes and Reconnect-googleDriveMissingClickHere=Google Drive missing? Click here!-discardChanges=Discard Changes-disconnected=Disconnected-distribute=Distribute-done=Done-doNotShowAgain=Do not show again-dotted=Dotted-doubleClickOrientation=Doubleclick to change orientation-doubleClickTooltip=Doubleclick to insert text-doubleClickChangeProperty=Doubleclick to change property name-download=Download-downloadDesktop=Get Desktop-downloadAs=Download as-clickHereToSave=Click here to save.+classic=क्लासिक+clearDefaultStyle=डिफ़ॉल्ट शैली साफ़ करें+clearWaypoints=वेपॉइंट साफ़ करें+clipart=क्लिपआर्ट+close=बंद करें+closingFile=फ़ाइल बंद हो रही है+realtimeCollaboration=रीयल-टाइम सहयोग+collaborate=सहयोग करें+collaborator=सहयोगी+collaborators=सहयोगी+collapse=संक्षिप्त करें+collapseExpand=संक्षिप्त/विस्तृत करें+collapse-expand=संक्षिप्त/विस्तृत करने के लिए क्लिक करें\nपड़ोसियों को स्थानांतरित करने के लिए Shift-क्लिक करें \nसमूह आकार सुरक्षित रखने के लिए Alt-क्लिक करें+collapsible=संक्षिप्त करने योग्य+comic=कॉमिक+comment=टिप्पणी+commentsNotes=टिप्पणियाँ/नोट्स+compress=संपीड़ित करें+configuration=कॉन्फ़िगरेशन+connect=कनेक्ट करें+connecting=कनेक्ट हो रहा है+connectWithDrive=Google Drive से कनेक्ट करें+connection=कनेक्शन+connectionArrows=कनेक्शन एरो+connectionPoints=कनेक्शन पॉइंट+constrainProportions=अनुपात बनाए रखें+containsValidationErrors=सत्यापन त्रुटियाँ हैं+copiedToClipboard=क्लिपबोर्ड पर कॉपी किया गया+copy=कॉपी करें+copyConnect=कनेक्ट पर कॉपी करें+copyCreated=फ़ाइल की एक प्रति बनाई गई।+copyData=डेटा कॉपी करें+copyOf={1} की प्रति+copyOfDrawing=ड्रॉइंग की प्रति+copySize=आकार कॉपी करें+copyStyle=स्टाइल कॉपी करें+create=बनाएं+createBlankDiagram=रिक्त डायग्राम बनाएं+createNewDiagram=नया डायग्राम बनाएं+createRevision=संशोधन बनाएं+createShape=आकृति बनाएं+crop=क्रॉप करें+curved=वक्र+custom=कस्टम+current=वर्तमान+currentPage=वर्तमान पृष्ठ+cut=कट करें+dashed=धराशायी+decideLater=बाद में तय करें+default=डिफ़ॉल्ट+delete=हटाएं+deleteAll=सभी हटाएं+deleteColumn=कॉलम हटाएं+deleteLibrary401=इस लाइब्रेरी को हटाने की अनुमति नहीं है+deleteLibrary404=चयनित लाइब्रेरी नहीं मिली+deleteLibrary500=लाइब्रेरी हटाने में त्रुटि+deleteLibraryConfirm=आप इस लाइब्रेरी को स्थायी रूप से हटाने वाले हैं। क्या आप वाकई ऐसा करना चाहते हैं?+deleteRow=पंक्ति हटाएं+description=विवरण+describeYourDiagram=अपने डायग्राम का वर्णन करें+device=डिवाइस+diagram=डायग्राम+diagramContent=डायग्राम सामग्री+diagramLocked=आगे डेटा हानि को रोकने के लिए डायग्राम लॉक कर दिया गया है।+diagramLockedBySince=डायग्राम {1} द्वारा {2} पहले से लॉक है+diagramName=डायग्राम का नाम+diagramIsPublic=डायग्राम सार्वजनिक है+diagramIsNotPublic=डायग्राम सार्वजनिक नहीं है+diamond=डायमंड+diamondThin=डायमंड (पतला)+didYouKnow=क्या आप जानते हैं...+direction=दिशा+discard=छोड़ें+discardChangesAndReconnect=परिवर्तन छोड़ें और पुनः कनेक्ट करें+googleDriveMissingClickHere=Google Drive नहीं मिल रहा? यहाँ क्लिक करें!+discardChanges=परिवर्तन छोड़ें+disconnected=डिस्कनेक्ट+distribute=वितरित करें+done=हो गया+doNotShowAgain=फिर से न दिखाएं+dotted=बिंदीदार+doubleClickOrientation=ओरिएंटेशन बदलने के लिए डबल क्लिक करें+doubleClickTooltip=टेक्स्ट डालने के लिए डबल क्लिक करें+doubleClickChangeProperty=प्रॉपर्टी नाम बदलने के लिए डबल क्लिक करें+download=डाउनलोड+downloadDesktop=डेस्कटॉप प्राप्त करें+downloadAs=इस रूप में डाउनलोड करें+clickHereToSave=सेव करने के लिए यहाँ क्लिक करें।dpi=DPI-draftDiscarded=Draft discarded-draftSaved=Draft saved-dragElementsHere=Drag elements here-dragImagesHere=Drag images or URLs here-dragUrlsHere=Drag URLs here+draftDiscarded=ड्राफ्ट छोड़ दिया गया+draftSaved=ड्राफ्ट सेव हो गया+dragElementsHere=तत्वों को यहाँ खींचें+dragImagesHere=छवियाँ या URL यहाँ खींचें+dragUrlsHere=URL यहाँ खींचेंdraw.io=draw.io-drawing=Drawing{1}-drawingEmpty=Drawing is empty-drawingTooLarge=Drawing is too large+drawing=ड्राइंग{1}+drawingEmpty=ड्राइंग खाली है+drawingTooLarge=ड्राइंग बहुत बड़ी हैdrawioForWork=Draw.io for GSuitedropbox=Dropbox-duplicate=Duplicate-duplicateIt=Duplicate {1}-divider=Divider+duplicate=डुप्लिकेट+duplicateIt={1} डुप्लिकेट करें+divider=विभाजकdx=Dxdy=Dy-east=East-edit=Edit-editData=Edit Data-editDiagram=Edit Diagram-editGeometry=Edit Geometry-editImage=Edit Image-editImageUrl=Edit Image URL-editLink=Edit Link-editShape=Edit Shape-editStyle=Edit Style-editText=Edit Text-editTooltip=Edit Tooltip-glass=Glass-googleImages=Google Images-imageSearch=Image Search+east=पूर्व+edit=संपादित करें+editData=डेटा संपादित करें+editDiagram=आरेख संपादित करें+editGeometry=ज्यामिति संपादित करें+editImage=छवि संपादित करें+editImageUrl=छवि URL संपादित करें+editLink=लिंक संपादित करें+editShape=आकृति संपादित करें+editStyle=शैली संपादित करें+editText=टेक्स्ट संपादित करें+editTooltip=टूलटिप संपादित करें+glass=ग्लास+googleImages=Google छवियाँ+imageSearch=छवि खोजeip=EIP-embed=Embed-embedFonts=Embed Fonts-embedImages=Embed Images-mainEmbedNotice=Paste this into the page-electrical=Electrical-ellipse=Ellipse-embedNotice=Paste this once at the end of the page-enterGroup=Enter Group-enterName=Enter Name-enterPropertyName=Enter Property Name-enterValue=Enter Value-entityRelation=Entity Relation-entityRelationshipDiagram=Entity Relationship Diagram-error=Error-errorDeletingFile=Error deleting file-errorLoadingFile=Error loading file-errorRenamingFile=Error renaming file-errorRenamingFileNotFound=Error renaming file. File was not found.-errorRenamingFileForbidden=Error renaming file. Insufficient access rights.-errorSavingDraft=Error saving draft-errorSavingFile=Error saving file-errorSavingFileUnknown=Error authorizing with Google's servers. Please refresh the page to re-attempt.-errorSavingFileForbidden=Error saving file. Insufficient access rights.-errorSavingFileNameConflict=Could not save diagram. Current page already contains file named '{1}'.-errorSavingFileNotFound=Error saving file. File was not found.-errorSavingFileReadOnlyMode=Could not save diagram while read-only mode is active.-errorSavingFileSessionTimeout=Your session has ended. Please <a target='_blank' href='{1}'>{2}</a> and return to this tab to try to save again.-errorSendingFeedback=Error sending feedback.-errorUpdatingPreview=Error updating preview.-exit=Exit-exitGroup=Exit Group-expand=Expand-explore=Explore-export=Export-exporting=Exporting-exportAs=Export as-exportOptionsDisabled=Export options disabled-exportOptionsDisabledDetails=The owner has disabled options to download, print or copy for commenters and viewers on this file.-externalChanges=External Changes-extras=Extras-failedToSaveTryReconnect=Failed to save, trying to reconnect-featureRequest=Feature Request-feedback=Feedback-feedbackSent=Feedback successfully sent.-floorplans=Floorplans-file=File-fileChangedOverwriteDialog=The file has been modified. Do you want to save the file and overwrite those changes?-fileChangedSyncDialog=The file has been modified.-fileChangedSync=The file has been modified. Click here to synchronize.-overwrite=Overwrite-synchronize=Synchronize-filename=Filename-fileExists=File already exists-fileMovedToTrash=File was moved to trash-fileNearlyFullSeeFaq=File nearly full, please see FAQ-fileNotFound=File not found-repositoryNotFound=Repository not found-fileNotFoundOrDenied=The file was not found. It does not exist or you do not have access.-fileNotLoaded=File not loaded-fileNotSaved=File not saved-fileOpenLocation=How would you like to open these file(s)?-filetypeHtml=.html causes file to save as HTML with redirect to cloud URL-filetypePng=.png causes file to save as PNG with embedded data-filetypeSvg=.svg causes file to save as SVG with embedded data-fileWillBeSavedInAppFolder={1} will be saved in the app folder.-fill=Fill-fillColor=Fill Color-filterCards=Filter Cards-find=Find+embed=एम्बेड करें+embedFonts=फ़ॉन्ट एम्बेड करें+embedImages=छवियाँ एम्बेड करें+mainEmbedNotice=इसे पेज में पेस्ट करें+electrical=इलेक्ट्रिकल+ellipse=दीर्घवृत्त+embedNotice=इसे पेज के अंत में एक बार पेस्ट करें+enterGroup=समूह में प्रवेश करें+enterName=नाम दर्ज करें+enterPropertyName=प्रॉपर्टी नाम दर्ज करें+enterValue=मान दर्ज करें+entityRelation=इकाई संबंध+entityRelationshipDiagram=इकाई संबंध आरेख+error=त्रुटि+errorDeletingFile=फ़ाइल हटाने में त्रुटि+errorLoadingFile=फ़ाइल लोड करने में त्रुटि+errorRenamingFile=फ़ाइल का नाम बदलने में त्रुटि+errorRenamingFileNotFound=फ़ाइल का नाम बदलने में त्रुटि। फ़ाइल नहीं मिली।+errorRenamingFileForbidden=फ़ाइल का नाम बदलने में त्रुटि। अपर्याप्त पहुँच अधिकार।+errorSavingDraft=ड्राफ़्ट सहेजने में त्रुटि+errorSavingFile=फ़ाइल सहेजने में त्रुटि+errorSavingFileUnknown=Google के सर्वर से प्राधिकरण में त्रुटि। कृपया पुनः प्रयास के लिए पेज रिफ्रेश करें।+errorSavingFileForbidden=फ़ाइल सहेजने में त्रुटि। अपर्याप्त एक्सेस अधिकार।+errorSavingFileNameConflict=डायग्राम सहेजा नहीं जा सका। वर्तमान पेज में पहले से '{1}' नाम की फ़ाइल मौजूद है।+errorSavingFileNotFound=फ़ाइल सहेजने में त्रुटि। फ़ाइल नहीं मिली।+errorSavingFileReadOnlyMode=रीड-ओनली मोड सक्रिय होने पर डायग्राम सहेजा नहीं जा सका।+errorSavingFileSessionTimeout=आपका सत्र समाप्त हो गया है। कृपया <a target='_blank' href='{1}'>{2}</a> करें और पुनः सहेजने के लिए इस टैब पर वापस आएं।+errorSendingFeedback=फ़ीडबैक भेजने में त्रुटि।+errorUpdatingPreview=प्रीव्यू अपडेट करने में त्रुटि।+exit=बाहर निकलें+exitGroup=ग्रुप से बाहर निकलें+expand=विस्तार करें+explore=एक्सप्लोर करें+export=एक्सपोर्ट+exporting=एक्सपोर्ट हो रहा है+exportAs=इस रूप में एक्सपोर्ट करें+exportOptionsDisabled=एक्सपोर्ट विकल्प अक्षम+exportOptionsDisabledDetails=मालिक ने इस फ़ाइल के लिए कमेंटर्स और दर्शकों के डाउनलोड, प्रिंट या कॉपी विकल्प अक्षम कर दिए हैं।+externalChanges=बाहरी परिवर्तन+extras=अतिरिक्त+failedToSaveTryReconnect=सहेजने में विफल, पुनः कनेक्ट करने का प्रयास+featureRequest=फ़ीचर अनुरोध+feedback=फ़ीडबैक+feedbackSent=फ़ीडबैक सफलतापूर्वक भेजा गया।+floorplans=फ्लोरप्लान+file=फ़ाइल+fileChangedOverwriteDialog=फ़ाइल संशोधित की गई है। क्या आप फ़ाइल को सहेजना और उन परिवर्तनों को अधिलेखित करना चाहते हैं?+fileChangedSyncDialog=फ़ाइल संशोधित की गई है।+fileChangedSync=फ़ाइल संशोधित की गई है। सिंक्रनाइज़ करने के लिए यहाँ क्लिक करें।+overwrite=अधिलेखित करें+synchronize=सिंक्रनाइज़ करें+filename=फ़ाइल नाम+fileExists=फ़ाइल पहले से मौजूद है+fileMovedToTrash=फ़ाइल ट्रैश में ले जाई गई+fileNearlyFullSeeFaq=फ़ाइल लगभग भर गई है, कृपया FAQ देखें+fileNotFound=फ़ाइल नहीं मिली+repositoryNotFound=रिपॉज़िटरी नहीं मिली+fileNotFoundOrDenied=फ़ाइल नहीं मिली। यह मौजूद नहीं है या आपके पास पहुँच नहीं है।+fileNotLoaded=फ़ाइल लोड नहीं हुई+fileNotSaved=फ़ाइल सहेजी नहीं गई+fileOpenLocation=आप इन फ़ाइल(ओं) को कैसे खोलना चाहेंगे?+filetypeHtml=.html फ़ाइल को क्लाउड URL पर रीडायरेक्ट के साथ HTML के रूप में सहेजता है+filetypePng=.png फ़ाइल को एम्बेडेड डेटा के साथ PNG के रूप में सहेजता है+filetypeSvg=.svg फ़ाइल को एम्बेडेड डेटा के साथ SVG के रूप में सहेजता है+fileWillBeSavedInAppFolder={1} ऐप फ़ोल्डर में सहेजी जाएगी।+fill=भरण+fillColor=भरण रंग+filterCards=कार्ड फ़िल्टर करें+find=खोजेंfindInDiagram=आरेख में खोजें-fit=Fit-fitContainer=Resize Container-fitIntoContainer=Fit into Container-fitPage=Fit Page-fitPageWidth=Fit Page Width-fitTo=Fit to-fitToSheetsAcross=sheet(s) across-fitToBy=by-fitToSheetsDown=sheet(s) down-fitTwoPages=Two Pages-fitWindow=Fit Window-flip=Flip-flipH=Flip Horizontal-flipV=Flip Vertical-flowAnimation=Flow Animation-flowchart=Flowchart-folder=Folder-font=Font-fontColor=Font Color-fontFamily=Font Family-fontSize=Font Size-forbidden=You are not authorized to access this file-format=Format-formatPanel=Format Panel-formatted=Formatted-formattedText=Formatted Text+fit=फ़िट+fitContainer=कंटेनर का आकार बदलें+fitIntoContainer=कंटेनर में फ़िट करें+fitPage=पेज फ़िट करें+fitPageWidth=पेज चौड़ाई फ़िट करें+fitTo=इसमें फ़िट करें+fitToSheetsAcross=शीट चौड़ाई में+fitToBy=द्वारा+fitToSheetsDown=शीट नीचे+fitTwoPages=दो पेज+fitWindow=विंडो फ़िट करें+flip=फ़्लिप+flipH=क्षैतिज फ़्लिप+flipV=लंबवत फ़्लिप+flowAnimation=फ़्लो एनिमेशन+flowchart=फ़्लोचार्ट+folder=फ़ोल्डर+font=फ़ॉन्ट+fontColor=फ़ॉन्ट रंग+fontFamily=फ़ॉन्ट फ़ैमिली+fontSize=फ़ॉन्ट आकार+forbidden=आपको इस फ़ाइल तक पहुँचने की अनुमति नहीं है+format=फ़ॉर्मेट+formatPanel=फ़ॉर्मेट पैनल+formatted=फ़ॉर्मेटेड+formattedText=फ़ॉर्मेटेड टेक्स्टformatPng=PNGformatGif=GIFformatJpg=JPEG@@ -356,979 +356,981 @@ formatPdf=PDFformatSql=SQLformatSvg=SVGformatHtmlEmbedded=HTML-formatSvgEmbedded=SVG (with XML)+formatSvgEmbedded=SVG (XML के साथ)formatVsdx=VSDXformatVssx=VSSXformatWebp=WebP-formatXmlPlain=XML (Plain)+formatXmlPlain=XML (सादा)formatXml=XML-forum=Discussion/Help Forums-freehand=Freehand-fromTemplate=From Template-fromTemplateUrl=From Template URL-fromText=From Text-fromUrl=From URL-fromThisPage=From this page-fullscreen=Fullscreen-gap=Gap+forum=चर्चा/सहायता फ़ोरम+freehand=फ्रीहैंड+fromTemplate=टेम्पलेट से+fromTemplateUrl=टेम्पलेट URL से+fromText=टेक्स्ट से+fromUrl=URL से+fromThisPage=इस पेज से+fullscreen=पूर्ण स्क्रीन+gap=अंतरालgcp=GCP-general=General-getNotionChromeExtension=Get the Notion Chrome Extension+general=सामान्य+getNotionChromeExtension=Notion Chrome एक्सटेंशन प्राप्त करेंgithub=GitHubgitlab=GitLabgliffy=Gliffy-global=Global+global=वैश्विकgoogleDocs=Google DocsgoogleDrive=Google DrivegoogleGadget=Google Gadget-googleSharingNotAvailable=Sharing is only available via Google Drive. Please click Open below and share from the more actions menu:+googleSharingNotAvailable=शेयरिंग केवल Google Drive के माध्यम से उपलब्ध है। कृपया नीचे खोलें पर क्लिक करें और अधिक क्रियाएं मेनू से शेयर करें:googleSlides=Google SlidesgoogleSites=Google SitesgoogleSheets=Google Sheets-gradient=Gradient-gradientColor=Color-grid=Grid-gridColor=Grid Color-gridSize=Grid Size-group=Group-guides=Guides-hateApp=I hate draw.io-heading=Heading-height=Height-help=Help-helpTranslate=Help us translate this application-hide=Hide-hideIt=Hide {1}-hidden=Hidden-highContrast=High Contrast-home=Home-horizontal=Horizontal-horizontalFlow=Horizontal Flow-horizontalTree=Horizontal Tree-howTranslate=How good is the translation in your language?+gradient=ग्रेडिएंट+gradientColor=रंग+grid=ग्रिड+gridColor=ग्रिड रंग+gridSize=ग्रिड आकार+group=समूह+guides=गाइड+hateApp=मुझे draw.io पसंद नहीं है+heading=शीर्षक+height=ऊंचाई+help=सहायता+helpTranslate=इस एप्लिकेशन का अनुवाद करने में हमारी सहायता करें+hide=छुपाएं+hideIt={1} छुपाएं+hidden=छिपा हुआ+highContrast=उच्च कंट्रास्ट+home=होम+horizontal=क्षैतिज+horizontalFlow=क्षैतिज प्रवाह+horizontalTree=क्षैतिज ट्री+howTranslate=आपकी भाषा में अनुवाद कितना अच्छा है?html=HTML-htmlText=HTML Text+htmlText=HTML टेक्स्टid=IDiframe=IFrame-ignore=Ignore-image=Image-imageUrl=Image URL-images=Images-imagePreviewError=This image couldn't be loaded for preview. Please check the URL.-imageTooBig=Image too big+ignore=अनदेखा करें+image=छवि+imageUrl=छवि URL+images=छवियाँ+imagePreviewError=यह छवि पूर्वावलोकन के लिए लोड नहीं हो सकी। कृपया URL जाँचें।+imageTooBig=छवि बहुत बड़ी हैimgur=Imgur-import=Import-importFrom=Import from-improveContrast=Improve Contrast-includeCopyOfMyDiagram=Include a copy of my diagram-increaseIndent=Increase Indent-decreaseIndent=Decrease Indent-insert=Insert-insertColumnBefore=Insert Column Left-insertColumnAfter=Insert Column Right-insertEllipse=Insert Ellipse-insertImage=Insert Image-insertHorizontalRule=Insert Horizontal Rule-insertLink=Insert Link-insertPage=Insert Page-insertRectangle=Insert Rectangle-insertRhombus=Insert Rhombus-insertRowBefore=Insert Row Above-insertRowAfter=Insert Row After-insertText=Insert Text-inserting=Inserting-installApp=Install App-invalidFilename=Diagram names must not contain the following characters: \ / | : ; { } < > & + ? = "-invalidLicenseSeeThisPage=Your license is invalid, please see this <a target="_blank" href="https://www.drawio.com/doc/faq/license-drawio-confluence-jira-cloud">page</a>.-invalidInput=Invalid input-invalidName=Invalid name-invalidOrMissingFile=Invalid or missing file-invalidPublicUrl=Invalid public URL-invertSelection=उलट चयन-isometric=Isometric+import=आयात करें+importFrom=से आयात करें+improveContrast=कंट्रास्ट सुधारें+includeCopyOfMyDiagram=मेरे आरेख की एक प्रति शामिल करें+increaseIndent=इंडेंट बढ़ाएँ+decreaseIndent=इंडेंट घटाएँ+insert=डालें+insertColumnBefore=बाईं ओर कॉलम डालें+insertColumnAfter=दाईं ओर कॉलम डालें+insertEllipse=दीर्घवृत्त डालें+insertImage=छवि डालें+insertHorizontalRule=क्षैतिज रेखा डालें+insertLink=लिंक डालें+insertPage=पृष्ठ डालें+insertRectangle=आयत डालें+insertRhombus=समचतुर्भुज डालें+insertRowBefore=ऊपर पंक्ति डालें+insertRowAfter=नीचे पंक्ति डालें+insertText=टेक्स्ट डालें+inserting=डाला जा रहा है+installApp=ऐप इंस्टॉल करें+invalidFilename=डायग्राम नामों में निम्नलिखित वर्ण नहीं होने चाहिए: \ / | : ; { } < > & + ? = "+invalidLicenseSeeThisPage=आपका लाइसेंस अमान्य है, कृपया यह <a target="_blank" href="https://www.drawio.com/doc/faq/license-drawio-confluence-jira-cloud">पृष्ठ</a> देखें।+invalidInput=अमान्य इनपुट+invalidName=अमान्य नाम+invalidOrMissingFile=अमान्य या गुम फ़ाइल+invalidPublicUrl=अमान्य सार्वजनिक URL+invertSelection=चयन उलटें+isometric=आइसोमेट्रिकios=iOS-italic=Italic+italic=इटैलिकkennedy=Kennedy-keyboardShortcuts=Keyboard Shortcuts-labels=Labels-layers=Layers-landscape=Landscape+keyboardShortcuts=कीबोर्ड शॉर्टकट+labels=लेबल+layers=परतें+landscape=लैंडस्केपlanguage=भाषा-leanMapping=Lean Mapping-lastChange=Last change {1} ago-lessThanAMinute=less than a minute-licensingError=Licensing Error-licenseHasExpired=The license for {1} has expired on {2}. Click here.-licenseRequired=This feature requires draw.io to be licensed.-licenseWillExpire=The license for {1} will expire on {2}. Click here.-light=Light-lineJumps=Line jumps-linkAccountRequired=If the diagram is not public a Google account is required to view the link.-linkText=Link Text-list=List-minute=minute-minutes=minutes-hours=hours-days=days-months=months-years=years-restartForChangeRequired=Changes will take effect after a restart of the application.-laneColor=Lanecolor+leanMapping=लीन मैपिंग+lastChange=अंतिम परिवर्तन {1} पहले+lessThanAMinute=एक मिनट से कम+licensingError=लाइसेंसिंग त्रुटि+licenseHasExpired={1} का लाइसेंस {2} को समाप्त हो गया है। यहाँ क्लिक करें।+licenseRequired=इस सुविधा के लिए draw.io का लाइसेंस आवश्यक है।+licenseWillExpire={1} का लाइसेंस {2} को समाप्त हो जाएगा। यहाँ क्लिक करें।+light=हल्का+lineJumps=लाइन जंप+linkAccountRequired=यदि डायग्राम सार्वजनिक नहीं है तो लिंक देखने के लिए Google खाता आवश्यक है।+linkText=लिंक टेक्स्ट+list=सूची+minute=मिनट+minutes=मिनट+hours=घंटे+days=दिन+months=महीने+years=वर्ष+restartForChangeRequired=एप्लिकेशन पुनः आरंभ करने के बाद परिवर्तन प्रभावी होंगे।+laneColor=लेन रंगlanguageCode=भाषा कोड-lastModified=Last modified-layout=Layout-left=Left-leftAlign=Left Align-leftToRight=Left to Right-libraryTooltip=Drag and drop shapes here or click + to insert. Double click to edit.-lightbox=Lightbox-line=Line-lineend=Line end-lineheight=Line Height-linestart=Line start-linewidth=Linewidth-link=Link-links=Links-loading=Loading-lock=ताला-locked=Locked-lockUnlock=Lock/Unlock-loggedOut=Logged Out-logIn=log in-loveIt=I love {1}+lastModified=अंतिम संशोधित+layout=लेआउट+left=बाएं+leftAlign=बाएं संरेखित करें+leftToRight=बाएं से दाएं+libraryTooltip=आकृतियों को यहां खींचें और छोड़ें या डालने के लिए + क्लिक करें। संपादित करने के लिए डबल क्लिक करें।+lightbox=लाइटबॉक्स+line=रेखा+lineend=रेखा अंत+lineheight=पंक्ति ऊंचाई+linestart=रेखा आरंभ+linewidth=रेखा चौड़ाई+link=लिंक+links=लिंक्स+loading=लोड हो रहा है+lock=लॉक करें+locked=लॉक किया गया+lockUnlock=लॉक/अनलॉक+loggedOut=लॉग आउट किया गया+logIn=लॉग इन करें+loveIt=मुझे {1} पसंद हैlucidchart=Lucidchart-maps=Maps-mathematicalTypesetting=Mathematical Typesetting-makeCopy=Make a Copy-manual=Manual+maps=मैप्स+mathematicalTypesetting=गणितीय टाइपसेटिंग+makeCopy=एक प्रति बनाएं+manual=मैनुअलmaximize=अधिकतम करें-merge=Merge+merge=मर्ज करेंmermaid=MermaidmicrosoftOffice=Microsoft OfficemicrosoftExcel=Microsoft ExcelmicrosoftPowerPoint=Microsoft PowerPointmicrosoftWord=Microsoft Word-middle=Middle-minimal=Minimal-minimize=लघु करें-misc=Misc-mockups=Mockups-modern=Modern-modificationDate=Modification date-modifiedBy=Modified by-more=More-moreResults=More Results-moreShapes=More Shapes-move=Move-moveToFolder=Move to Folder-moving=Moving-moveSelectionTo=Move Selection to {1}-myDrive=My Drive-myFiles=My Files-name=Name-navigation=Navigation-network=Network-networking=Networking-new=New-newLibrary=New Library-nextPage=Next Page+middle=मध्य+minimal=न्यूनतम+minimize=छोटा करें+misc=विविध+mockups=मॉकअप+modern=आधुनिक+modificationDate=संशोधन तिथि+modifiedBy=द्वारा संशोधित+more=अधिक+moreResults=अधिक परिणाम+moreShapes=अधिक आकृतियां+move=स्थानांतरित करें+moveToFolder=फ़ोल्डर में ले जाएं+moving=स्थानांतरित हो रहा है+moveSelectionTo=चयन को {1} में ले जाएं+myDrive=मेरी ड्राइव+myFiles=मेरी फ़ाइलें+name=नाम+navigation=नेविगेशन+network=नेटवर्क+networking=नेटवर्किंग+new=नया+newLibrary=नई लाइब्रेरी+nextPage=अगला पृष्ठno=नहीं-noPickFolder=No, pick folder-noAttachments=No attachments found-noColor=No Color-noFiles=No Files-noFileSelected=No file selected-noLibraries=No libraries found-noMoreResults=No more results-none=None-noOtherViewers=No other viewers-noPlugins=No plugins-noPreview=No preview-noResponse=No response from server-noResultsFor=No results for '{1}'-noRevisions=No revisions-noSearchResults=No search results found-noPageContentOrNotSaved=No anchors found on this page or it hasn't been saved yet-normal=Normal-north=North-notADiagramFile=Not a diagram file-notALibraryFile=Not a library file-notAvailable=Not available-notAUtf8File=Not a UTF-8 file-notConnected=Not connected-note=Note+noPickFolder=नहीं, फ़ोल्डर चुनें+noAttachments=कोई अटैचमेंट नहीं मिला+noColor=कोई रंग नहीं+noFiles=कोई फ़ाइल नहीं+noFileSelected=कोई फ़ाइल चयनित नहीं+noLibraries=कोई लाइब्रेरी नहीं मिली+noMoreResults=और कोई परिणाम नहीं+none=कोई नहीं+noOtherViewers=कोई अन्य दर्शक नहीं+noPlugins=कोई प्लगइन नहीं+noPreview=कोई पूर्वावलोकन नहीं+noResponse=सर्वर से कोई प्रतिक्रिया नहीं+noResultsFor={1}' के लिए कोई परिणाम नहीं+noRevisions=कोई संशोधन नहीं+noSearchResults=कोई खोज परिणाम नहीं मिला+noPageContentOrNotSaved=इस पृष्ठ पर कोई एंकर नहीं मिला या इसे अभी तक सहेजा नहीं गया है+normal=सामान्य+north=उत्तर+notADiagramFile=डायग्राम फ़ाइल नहीं है+notALibraryFile=लाइब्रेरी फ़ाइल नहीं है+notAvailable=उपलब्ध नहीं+notAUtf8File=UTF-8 फ़ाइल नहीं है+notConnected=कनेक्ट नहीं है+note=नोटnotion=Notion-notSatisfiedWithImport=Not satisfied with the import?-notUsingService=Not using {1}?-numberedList=Numbered list-offline=Offline-ok=OK+notSatisfiedWithImport=आयात से संतुष्ट नहीं?+notUsingService={1} का उपयोग नहीं कर रहे?+numberedList=क्रमांकित सूची+offline=ऑफ़लाइन+ok=ठीक हैoneDrive=OneDrive-online=Online-opacity=Opacity-open=Open-openArrow=Open Arrow-openExistingDiagram=Open Existing Diagram-openFile=Open File-openFrom=Open from-openLibrary=Open Library-openLibraryFrom=Open Library from-openLink=Open Link-openInNewWindow=Open in New Window-openInThisWindow=Open in This Window-openIt=Open {1}-openRecent=Open Recent-openSupported=Supported formats are files saved from this software (.xml), .vsdx and .gliffy-options=Options-organic=Organic-orgChart=Org Chart-orthogonal=Orthogonal-otherViewer=other viewer-otherViewers=other viewers-outline=Outline-oval=Oval-page=Page-pageContent=Page Content-pageNotFound=Page not found-pageWithNumber=Page-{1}-pages=Pages-pageTabs=Page Tabs-pageView=Page View-pageSetup=Page Setup-pageScale=Page Scale-pan=Pan-panTooltip=Space+Drag to pan-paperSize=Paper Size-pattern=Pattern-parallels=Parallels-paste=Paste-pasteData=Paste Data-pasteHere=Paste Here-pasteSize=Paste Size-pasteStyle=Paste Style-perimeter=Perimeter-permissionAnyone=Anyone can edit-permissionAuthor=Owner and admins can edit-pickFolder=Pick a folder-pickLibraryDialogTitle=Select Library-publicDiagramUrl=Public URL of the diagram-placeholders=Placeholders+online=ऑनलाइन+opacity=अपारदर्शिता+open=खोलें+openArrow=खुला तीर+openExistingDiagram=मौजूदा डायग्राम खोलें+openFile=फ़ाइल खोलें+openFrom=यहाँ से खोलें+openLibrary=लाइब्रेरी खोलें+openLibraryFrom=यहाँ से लाइब्रेरी खोलें+openLink=लिंक खोलें+openInNewWindow=नई विंडो में खोलें+openInThisWindow=इस विंडो में खोलें+openIt={1} खोलें+openRecent=हाल का खोलें+openSupported=समर्थित प्रारूप इस सॉफ़्टवेयर से सहेजी गई फ़ाइलें (.xml), .vsdx और .gliffy हैं+options=विकल्प+organic=ऑर्गेनिक+orgChart=ऑर्ग चार्ट+orthogonal=ऑर्थोगोनल+otherViewer=अन्य दर्शक+otherViewers=अन्य दर्शक+outline=आउटलाइन+oval=अंडाकार+page=पृष्ठ+pageContent=पृष्ठ सामग्री+pageNotFound=पृष्ठ नहीं मिला+pageWithNumber=पृष्ठ-{1}+pages=पृष्ठ+pageTabs=पृष्ठ टैब+pageView=पृष्ठ दृश्य+pageSetup=पृष्ठ सेटअप+pageScale=पृष्ठ स्केल+pan=पैन+panTooltip=पैन करने के लिए Space+खींचें+paperSize=पेपर आकार+pattern=पैटर्न+parallels=समानांतर+paste=पेस्ट करें+pasteData=डेटा पेस्ट करें+pasteHere=यहाँ पेस्ट करें+pasteSize=आकार पेस्ट करें+pasteStyle=शैली पेस्ट करें+perimeter=परिधि+permissionAnyone=कोई भी संपादित कर सकता है+permissionAuthor=स्वामी और व्यवस्थापक संपादित कर सकते हैं+pickFolder=फ़ोल्डर चुनें+pickLibraryDialogTitle=लाइब्रेरी चुनें+publicDiagramUrl=आरेख का सार्वजनिक URL+placeholders=प्लेसहोल्डरplantUml=PlantUML-plugins=Plugins-pluginUrl=Plugin URL-pluginWarning=The page has requested to load the following plugin(s):\n \n {1}\n \n Would you like to load these plugin(s) now?\n \n NOTE : Only allow plugins to run if you fully understand the security implications of doing so.\n-plusTooltip=Click to connect and clone (ctrl+click to clone, shift+click to connect). Drag to connect (ctrl+drag to clone).-portrait=Portrait-position=Position-posterPrint=Poster Print-preferences=Preferences-preview=Preview-previousPage=Previous Page-presentationMode=Presentation Mode-print=Print-procEng=Proc. Eng.-project=Project-priority=Priority-processForHiringNewEmployee=Process for hiring a new employee-properties=Properties-publish=Publish-quickStart=Quick Start Video-rack=Rack-radial=Radial-radialTree=Radial Tree-readOnly=Read-only-reconnecting=Reconnecting-recentlyUpdated=Recently Updated-recentlyViewed=Recently Viewed-rectangle=Rectangle-redirectToNewApp=This file was created or modified in a newer version of this app. You will be redirected now.-realtimeTimeout=It looks like you've made a few changes while offline. We're sorry, these changes cannot be saved.-redo=Redo-refresh=Refresh-regularExpression=Regular Expression-relative=Relative-relativeUrlNotAllowed=Relative URL not allowed-rememberMe=Remember me-rememberThisSetting=Remember this setting-removeFormat=Clear Formatting-removeFromGroup=Remove from Group-removeIt=Remove {1}-removeWaypoint=Remove Waypoint-rename=Rename-renamed=Renamed-renameIt=Rename {1}-renaming=Renaming-replace=Replace-replaceIt={1} already exists. Do you want to replace it?-replaceExistingDrawing=Replace existing drawing-required=required-requirementDiagram=Requirement Diagram-reset=Reset-resetView=Reset View-resize=Resize-resizeLargeImages=Do you want to resize large images to make the application run faster?-retina=Retina-responsive=Responsive-restore=Restore-restoring=Restoring-retryingIn=Retrying in {1} second(s)-retryingLoad=Load failed. Retrying...-retryingLogin=Login time out. Retrying...-reverse=Reverse-revision=Revision-revisionHistory=Revision History-rhombus=Rhombus-right=Right-rightAlign=Right Align-rightToLeft=Right to Left-rotate=Rotate-rotateTooltip=Click and drag to rotate, click to turn shape only by 90 degrees-rotation=Rotation-rounded=Rounded-save=Save-saveAndExit=Save & Exit-saveAs=Save as-saveAsXmlFile=Save as XML file?-saved=Saved-saveDiagramFirst=Please save the diagram first-saveDiagramsTo=Save diagrams to-saveLibrary403=Insufficient permissions to edit this library-saveLibrary500=There was an error while saving the library-saveLibraryReadOnly=Could not save library while read-only mode is active-saving=Saving-scratchpad=Scratchpad-scrollbars=Scrollbars-search=Search-searchShapes=Search Shapes-selectAll=Select All-selectionOnly=Selection Only-selectCard=Select Card-selectEdges=Select Edges-selectedPage=Selected Page-selectFile=Select File-selectFolder=Select Folder-selectFont=Select Font+plugins=प्लगइन+pluginUrl=प्लगइन URL+pluginWarning=पृष्ठ ने निम्नलिखित प्लगइन लोड करने का अनुरोध किया है:\n \n {1}\n \n क्या आप अभी ये प्लगइन लोड करना चाहते हैं?\n \n नोट: प्लगइन को केवल तभी चलने दें जब आप ऐसा करने के सुरक्षा निहितार्थों को पूरी तरह समझते हों।\n+plusTooltip=कनेक्ट और क्लोन करने के लिए क्लिक करें (क्लोन के लिए ctrl+क्लिक, कनेक्ट के लिए shift+क्लिक)। कनेक्ट के लिए ड्रैग करें (क्लोन के लिए ctrl+ड्रैग)।+portrait=पोर्ट्रेट+position=स्थिति+posterPrint=पोस्टर प्रिंट+preferences=प्राथमिकताएँ+preview=पूर्वावलोकन+previousPage=पिछला पृष्ठ+presentationMode=प्रस्तुति मोड+print=प्रिंट+procEng=प्रोसेस इंजी.+project=प्रोजेक्ट+priority=प्राथमिकता+processForHiringNewEmployee=नए कर्मचारी की भर्ती की प्रक्रिया+properties=गुण+publish=प्रकाशित करें+quickStart=त्वरित प्रारंभ वीडियो+rack=रैक+radial=रेडियल+radialTree=रेडियल ट्री+readOnly=केवल-पठन+reconnecting=पुनः कनेक्ट हो रहा है+recentlyUpdated=हाल ही में अपडेट किया गया+recentlyViewed=हाल ही में देखा गया+rectangle=आयत+redirectToNewApp=यह फ़ाइल इस ऐप के नए संस्करण में बनाई या संशोधित की गई थी। अब आपको रीडायरेक्ट किया जाएगा।+realtimeTimeout=ऐसा लगता है कि आपने ऑफ़लाइन रहते हुए कुछ बदलाव किए हैं। हमें खेद है, ये बदलाव सहेजे नहीं जा सकते।+redo=फिर से करें+refresh=रिफ्रेश+regularExpression=रेगुलर एक्सप्रेशन+relative=सापेक्ष+relativeUrlNotAllowed=सापेक्ष URL की अनुमति नहीं है+rememberMe=मुझे याद रखें+rememberThisSetting=इस सेटिंग को याद रखें+removeFormat=फ़ॉर्मेटिंग हटाएं+removeFromGroup=समूह से हटाएं+removeIt={1} हटाएं+removeWaypoint=वेपॉइंट हटाएं+rename=नाम बदलें+renamed=नाम बदला गया+renameIt={1} का नाम बदलें+renaming=नाम बदल रहा है+replace=बदलें+replaceIt={1} पहले से मौजूद है। क्या आप इसे बदलना चाहते हैं?+replaceExistingDrawing=मौजूदा ड्राइंग बदलें+required=आवश्यक+requirementDiagram=आवश्यकता आरेख+reset=रीसेट करें+resetView=दृश्य रीसेट करें+resize=आकार बदलें+resizeLargeImages=क्या आप एप्लिकेशन को तेज़ चलाने के लिए बड़ी छवियों का आकार बदलना चाहते हैं?+retina=रेटिना+responsive=रेस्पॉन्सिव+restore=पुनर्स्थापित करें+restoring=पुनर्स्थापित हो रहा है+retryingIn={1} सेकंड में पुनः प्रयास+retryingLoad=लोड विफल। पुनः प्रयास हो रहा है...+retryingLogin=लॉगिन समय समाप्त। पुनः प्रयास हो रहा है...+reverse=उलटें+revision=संशोधन+revisionHistory=संशोधन इतिहास+rhombus=समचतुर्भुज+right=दाएं+rightAlign=दाएं संरेखित करें+rightToLeft=दाएं से बाएं+rotate=घुमाएं+rotateTooltip=घुमाने के लिए क्लिक करें और खींचें, केवल 90 डिग्री घुमाने के लिए क्लिक करें+rotation=घुमाव+rounded=गोलाकार+save=सहेजें+saveAndExit=सहेजें और बाहर निकलें+saveAs=इस रूप में सहेजें+saveAsXmlFile=XML फ़ाइल के रूप में सहेजें?+saved=सहेजा गया+saveDiagramFirst=कृपया पहले आरेख सहेजें+saveDiagramsTo=आरेख यहां सहेजें+saveLibrary403=इस लाइब्रेरी को संपादित करने के लिए अपर्याप्त अनुमतियां+saveLibrary500=लाइब्रेरी सहेजते समय एक त्रुटि हुई+saveLibraryReadOnly=केवल-पढ़ने योग्य मोड सक्रिय होने पर लाइब्रेरी सहेजी नहीं जा सकी+saving=सहेजा जा रहा है+scratchpad=स्क्रैचपैड+scrollbars=स्क्रॉलबार+search=खोजें+searchShapes=आकृतियाँ खोजें+selectAll=सभी चुनें+selectionOnly=केवल चयन+selectCard=कार्ड चुनें+selectEdges=किनारे चुनें+selectedPage=चयनित पृष्ठ+selectFile=फ़ाइल चुनें+selectFolder=फ़ोल्डर चुनें+selectFont=फ़ॉन्ट चुनेंselection=चयन-selectNone=Select None+selectNone=कुछ न चुनेंselectObjectsInLayer=लेयर में ऑब्जेक्ट चुनें-selectTemplate=Select Template-selectVertices=Select Vertices-sendBackward=Send Backward-sendMessage=Send-sendYourFeedback=Send your feedback-sequenceDiagram=Sequence Diagram-serviceUnavailableOrBlocked=Service unavailable or blocked-sessionExpired=Your session has expired. Please refresh the browser window.-sessionTimeoutOnSave=Your session has timed out and you have been disconnected from the Google Drive. Press OK to login and save.-setAsDefaultStyle=Set as Default Style-settings=Settings-shadow=Shadow+selectTemplate=टेम्पलेट चुनें+selectVertices=शीर्ष चुनें+sendBackward=पीछे भेजें+sendMessage=भेजें+sendYourFeedback=अपनी प्रतिक्रिया भेजें+sequenceDiagram=अनुक्रम आरेख+serviceUnavailableOrBlocked=सेवा अनुपलब्ध या अवरुद्ध+sessionExpired=आपका सत्र समाप्त हो गया है। कृपया ब्राउज़र विंडो रीफ़्रेश करें।+sessionTimeoutOnSave=आपके सत्र का समय समाप्त हो गया है और आप Google Drive से डिस्कनेक्ट हो गए हैं। लॉगिन करने और सहेजने के लिए OK दबाएँ।+setAsDefaultStyle=डिफ़ॉल्ट शैली के रूप में सेट करें+settings=सेटिंग्स+shadow=छायाshadows=छायाएँ-shape=Shape-shapes=Shapes-share=Share-shareCursor=Share Mouse Cursor-shareLink=Link for shared editing-sharingAvailable=Sharing available for Google Drive and OneDrive files.-saveItToGoogleDriveToCollaborate=You'll need to save "{1}" to Google Drive before you can collaborate.-saveToGoogleDrive=Save to Google Drive-sharp=Sharp-show=Show-showRemoteCursors=Show Remote Mouse Cursors-showStartScreen=Show Start Screen-sidebarTooltip=Click or drag and drop shapes. Shift+click to change selection. Alt+click to insert and connect.-signs=Signs-signOut=Sign out-simple=Simple-simpleArrow=Simple Arrow-simpleViewer=Simple Viewer-size=Size-sketch=Sketch-smoothing=Smoothing-snapToGrid=Snap to Grid-solid=Solid-sourceSpacing=Source Spacing-south=South-software=Software-space=Space-spacing=Spacing-specialLink=Special Link-stateDiagram=State Diagram-standard=Standard-startDrawing=Start drawing-stopDrawing=Stop drawing-starting=Starting-straight=Straight-strikethrough=Strikethrough-strokeColor=Line Color-style=Style-subscript=Subscript-summary=Summary-superscript=Superscript-support=Support-swap=Swap-swimlaneDiagram=Swimlane Diagram+shape=आकार+shapes=आकार+share=साझा करें+shareCursor=माउस कर्सर साझा करें+shareLink=साझा संपादन के लिए लिंक+sharingAvailable=Google Drive और OneDrive फ़ाइलों के लिए साझाकरण उपलब्ध है।+saveItToGoogleDriveToCollaborate=सहयोग करने से पहले आपको "{1}" को Google Drive में सहेजना होगा।+saveToGoogleDrive=Google Drive में सहेजें+sharp=तीक्ष्ण+show=दिखाएं+showRemoteCursors=रिमोट माउस कर्सर दिखाएं+showStartScreen=प्रारंभ स्क्रीन दिखाएं+sidebarTooltip=आकार क्लिक करें या खींचें और छोड़ें। चयन बदलने के लिए Shift+क्लिक। डालने और कनेक्ट करने के लिए Alt+क्लिक।+signs=चिह्न+signOut=साइन आउट+simple=सरल+simpleArrow=सरल तीर+simpleViewer=सरल व्यूअर+size=आकार+sketch=स्केच+smoothing=स्मूथिंग+snapToGrid=ग्रिड पर स्नैप करें+solid=ठोस+sourceSpacing=स्रोत अंतर+south=दक्षिण+software=सॉफ्टवेयर+space=स्पेस+spacing=अंतराल+specialLink=विशेष लिंक+stateDiagram=स्टेट डायग्राम+standard=मानक+startDrawing=ड्राइंग शुरू करें+stopDrawing=ड्राइंग बंद करें+starting=शुरू हो रहा है+straight=सीधा+strikethrough=स्ट्राइकथ्रू+strokeColor=रेखा का रंग+style=शैली+subscript=सबस्क्रिप्ट+summary=सारांश+superscript=सुपरस्क्रिप्ट+support=सहायता+swap=स्वैप+swimlaneDiagram=स्विमलेन डायग्रामsysml=SysML-tags=Tags-table=Table-tables=Tables-takeOver=Take Over-targetSpacing=Target Spacing-template=Template-templates=Templates-text=Text-textAlignment=Text Alignment-textOpacity=Text Opacity-theme=Theme-timeout=Timeout-title=Title-to=to-toBack=To Back-toFront=To Front-tooLargeUseDownload=Too large, use download instead.-toolbar=Toolbar-tooltips=Tooltips-top=Top-topAlign=Top Align-topLeft=Top Left-topRight=Top Right-transparent=Transparent-transparentBackground=Transparent Background+tags=टैग+table=टेबल+tables=टेबल्स+takeOver=टेक ओवर+targetSpacing=लक्ष्य अंतराल+template=टेम्पलेट+templates=टेम्पलेट्स+text=टेक्स्ट+textAlignment=टेक्स्ट संरेखण+textOpacity=टेक्स्ट अपारदर्शिता+theme=थीम+timeout=टाइमआउट+title=शीर्षक+to=तक+toBack=पीछे भेजें+toFront=आगे लाएं+tooLargeUseDownload=बहुत बड़ा है, इसके बजाय डाउनलोड का उपयोग करें।+toolbar=टूलबार+tooltips=टूलटिप्स+top=शीर्ष+topAlign=शीर्ष संरेखित+topLeft=ऊपर बाएं+topRight=ऊपर दाएं+transparent=पारदर्शी+transparentBackground=पारदर्शी पृष्ठभूमिtrello=Trello-tryAgain=Try again-tryOpeningViaThisPage=Try opening via this page-turn=Rotate Shape Only by 90°-type=Type+tryAgain=पुनः प्रयास करें+tryOpeningViaThisPage=इस पेज के माध्यम से खोलने का प्रयास करें+turn=आकृति को केवल 90° घुमाएं+type=प्रकारtypeSlashToSearch=खोजने के लिए / टाइप करेंuml=UML-unassigned=Unassigned-underline=Underline-undo=Undo-ungroup=Ungroup+unassigned=असाइन नहीं किया गया+underline=रेखांकित करें+undo=पूर्ववत करें+ungroup=अनग्रुप करेंunlock=अनलॉक-unmerge=Unmerge-unsavedChanges=Unsaved changes-unsavedChangesClickHereToSave=Unsaved changes. Click here to save.-untitled=Untitled-untitledDiagram=Untitled Diagram-untitledLayer=Untitled Layer-untitledLibrary=Untitled Library-unknownError=Unknown error-unknownUser=Unknown user-updateExistingDrawing=Update existing drawing-updateFile=Update {1}-updatingDocument=Updating Document. Please wait...-updatingPreview=Updating Preview. Please wait...-updatingSelection=Updating Selection. Please wait...-upload=Upload+unmerge=अनमर्ज करें+unsavedChanges=सहेजे नहीं गए परिवर्तन+unsavedChangesClickHereToSave=सहेजे नहीं गए परिवर्तन। सहेजने के लिए यहाँ क्लिक करें।+untitled=शीर्षकहीन+untitledDiagram=शीर्षकहीन आरेख+untitledLayer=शीर्षकहीन परत+untitledLibrary=शीर्षकहीन लाइब्रेरी+unknownError=अज्ञात त्रुटि+unknownUser=अज्ञात उपयोगकर्ता+updateExistingDrawing=मौजूदा ड्राइंग अपडेट करें+updateFile={1} अपडेट करें+updatingDocument=दस्तावेज़ अपडेट हो रहा है। कृपया प्रतीक्षा करें...+updatingPreview=पूर्वावलोकन अपडेट हो रहा है। कृपया प्रतीक्षा करें...+updatingSelection=चयन अपडेट हो रहा है। कृपया प्रतीक्षा करें...+upload=अपलोड करेंurl=URLuseBlackAndWhite=काले और सफेद का प्रयोग करें-useCurrentSettings=Use current settings-useOffline=Use Offline+useCurrentSettings=वर्तमान सेटिंग्स का उपयोग करें+useOffline=ऑफ़लाइन उपयोग करेंuserDefined=उपयोगकर्ता परिभाषित-useRootFolder=Use root folder?-userManual=User Manual-vertical=Vertical-verticalFlow=Vertical Flow-verticalTree=Vertical Tree-view=View-viewerSettings=Viewer Settings-viewUrl=Link to view: {1}-voiceAssistant=Voice Assistant (beta)-warning=Warning-waypoints=Waypoints-west=West-where=Where-width=Width-wiki=Wiki-wordWrap=Word Wrap-writingDirection=Writing Direction+useRootFolder=रूट फ़ोल्डर का उपयोग करें?+userManual=उपयोगकर्ता मैनुअल+vertical=लंबवत+verticalFlow=लंबवत प्रवाह+verticalTree=लंबवत ट्री+view=देखें+viewerSettings=व्यूअर सेटिंग्स+viewUrl=देखने के लिए लिंक: {1}+voiceAssistant=वॉइस असिस्टेंट (बीटा)+warning=चेतावनी+waypoints=वेपॉइंट्स+west=पश्चिम+where=कहाँ+width=चौड़ाई+wiki=विकी+wordWrap=वर्ड रैप+writingDirection=लेखन दिशाyes=हाँ-yourEmailAddress=Your email address-zoom=Zoom-zoomIn=Zoom In-zoomOut=Zoom Out-basic=Basic-businessprocess=Business Processes-charts=Charts-engineering=Engineering-flowcharts=Flowcharts-gmdl=Material Design-mindmaps=Mindmaps-mockups=Mockups-networkdiagrams=Network Diagrams-nothingIsSelected=Nothing is selected-other=Other-softwaredesign=Software Design-venndiagrams=Venn Diagrams-webEmailOrOther=Web, email or any other internet address-webLink=Web Link-wireframes=Wireframes-property=Property-value=Value-showMore=Show More-showLess=Show Less-myDiagrams=My Diagrams-allDiagrams=All Diagrams-recentlyUsed=Recently used-listView=List view-gridView=Grid view-resultsFor=Results for '{1}'-oneDriveCharsNotAllowed=The following characters are not allowed: ~ " # % * : < > ? / \ { | }-oneDriveInvalidDeviceName=The specified device name is invalid-officeNotLoggedOD=You are not logged in to OneDrive. Please open draw.io task pane and login first.-officeSelectSingleDiag=Please select a single draw.io diagram only without other contents.-officeSelectDiag=Please select a draw.io diagram.-officeCannotFindDiagram=Cannot find a draw.io diagram in the selection-noDiagrams=No diagrams found-authFailed=Authentication failed-officeFailedAuthMsg=Unable to successfully authenticate user or authorize application.-convertingDiagramFailed=Converting diagram failed-officeCopyImgErrMsg=Due to some limitations in the host application, the image could not be inserted. Please manually copy the image then paste it to the document.-insertingImageFailed=Inserting image failed-officeCopyImgInst=Instructions: Right-click the image below. Select "Copy image" from the context menu. Then, in the document, right-click and select "Paste" from the context menu.-folderEmpty=Folder is empty-recent=Recent-sharedWithMe=Shared With Me-sharepointSites=Sharepoint Sites-errorFetchingFolder=Error fetching folder items-errorAuthOD=Error authenticating to OneDrive-officeMainHeader=Adds draw.io diagrams to your document.-officeStepsHeader=This add-in performs the following steps:-officeStep1=Connects to Microsoft OneDrive, Google Drive or your device.-officeStep2=Select a draw.io diagram.-officeStep3=Insert the diagram into the document.-officeAuthPopupInfo=Please complete the authentication in the pop-up window.-officeSelDiag=Select draw.io Diagram:-files=Files-shared=Shared+yourEmailAddress=आपका ईमेल पता+zoom=ज़ूम+zoomIn=ज़ूम इन+zoomOut=ज़ूम आउट+basic=मूलभूत+businessprocess=व्यापार प्रक्रियाएं+charts=चार्ट+engineering=इंजीनियरिंग+flowcharts=फ़्लोचार्ट+gmdl=मटेरियल डिज़ाइन+mindmaps=माइंडमैप+mockups=मॉकअप+networkdiagrams=नेटवर्क डायग्राम+nothingIsSelected=कुछ भी चयनित नहीं है+other=अन्य+softwaredesign=सॉफ़्टवेयर डिज़ाइन+venndiagrams=वेन डायग्राम+webEmailOrOther=वेब, ईमेल या कोई अन्य इंटरनेट पता+webLink=वेब लिंक+wireframes=वायरफ़्रेम+property=गुण+value=मान+showMore=और दिखाएं+showLess=कम दिखाएं+myDiagrams=मेरे डायग्राम+allDiagrams=सभी डायग्राम+recentlyUsed=हाल ही में उपयोग किए गए+listView=सूची दृश्य+gridView=ग्रिड दृश्य+resultsFor={1}' के लिए परिणाम+oneDriveCharsNotAllowed=निम्नलिखित वर्ण अनुमत नहीं हैं: ~ " # % * : < > ? / \ { | }+oneDriveInvalidDeviceName=निर्दिष्ट डिवाइस नाम अमान्य है+officeNotLoggedOD=आप OneDrive में लॉग इन नहीं हैं। कृपया draw.io टास्क पेन खोलें और पहले लॉगिन करें।+officeSelectSingleDiag=कृपया अन्य सामग्री के बिना केवल एक draw.io डायग्राम चुनें।+officeSelectDiag=कृपया एक draw.io डायग्राम चुनें।+officeCannotFindDiagram=चयन में draw.io डायग्राम नहीं मिला+noDiagrams=कोई डायग्राम नहीं मिला+authFailed=प्रमाणीकरण विफल+officeFailedAuthMsg=उपयोगकर्ता को प्रमाणित करने या एप्लिकेशन को अधिकृत करने में असमर्थ।+convertingDiagramFailed=डायग्राम रूपांतरण विफल+officeCopyImgErrMsg=होस्ट एप्लिकेशन में कुछ सीमाओं के कारण, छवि सम्मिलित नहीं की जा सकी। कृपया छवि को मैन्युअल रूप से कॉपी करें और दस्तावेज़ में पेस्ट करें।+insertingImageFailed=छवि सम्मिलित करना विफल+officeCopyImgInst=निर्देश: नीचे दी गई छवि पर राइट-क्लिक करें। संदर्भ मेनू से "छवि कॉपी करें" चुनें। फिर, दस्तावेज़ में राइट-क्लिक करें और संदर्भ मेनू से "पेस्ट" चुनें।+folderEmpty=फ़ोल्डर खाली है+recent=हाल का+sharedWithMe=मेरे साथ साझा किया गया+sharepointSites=Sharepoint साइट्स+errorFetchingFolder=फ़ोल्डर आइटम लाने में त्रुटि+errorAuthOD=OneDrive में प्रमाणीकरण में त्रुटि+officeMainHeader=आपके दस्तावेज़ में draw.io डायग्राम जोड़ता है।+officeStepsHeader=यह ऐड-इन निम्नलिखित चरण करता है:+officeStep1=Microsoft OneDrive, Google Drive या आपके डिवाइस से कनेक्ट होता है।+officeStep2=एक draw.io डायग्राम चुनें।+officeStep3=डायग्राम को दस्तावेज़ में सम्मिलित करें।+officeAuthPopupInfo=कृपया पॉप-अप विंडो में प्रमाणीकरण पूरा करें।+officeSelDiag=draw.io डायग्राम चुनें:+files=फ़ाइलें+shared=साझा किया गयाsharepoint=Sharepoint-officeManualUpdateInst=Instructions: Copy draw.io diagram from the document. Then, in the box below, right-click and select "Paste" from the context menu.-officeClickToEdit=Click icon to start editing:-pasteDiagram=Paste draw.io diagram here-connectOD=Connect to OneDrive-selectChildren=Select Children-selectSiblings=Select Siblings-selectParent=Select Parent-selectDescendants=Select Descendants-lastSaved=Last saved {1} ago-resolve=Resolve-reopen=Re-open-showResolved=Show Resolved-reply=Reply-objectNotFound=Object not found-reOpened=Re-opened-markedAsResolved=Marked as resolved-noCommentsFound=No comments found-comments=Comments-timeAgo={1} ago+officeManualUpdateInst=निर्देश: दस्तावेज़ से draw.io डायग्राम कॉपी करें। फिर, नीचे दिए गए बॉक्स में, राइट-क्लिक करें और संदर्भ मेनू से "पेस्ट" चुनें।+officeClickToEdit=संपादन शुरू करने के लिए आइकन पर क्लिक करें:+pasteDiagram=draw.io डायग्राम यहाँ पेस्ट करें+connectOD=OneDrive से कनेक्ट करें+selectChildren=चाइल्ड चुनें+selectSiblings=सिबलिंग चुनें+selectParent=पैरेंट चुनें+selectDescendants=डिसेंडेंट चुनें+lastSaved={1} पहले सेव किया गया+resolve=हल करें+reopen=पुनः खोलें+showResolved=हल किए गए दिखाएं+reply=जवाब दें+objectNotFound=ऑब्जेक्ट नहीं मिला+reOpened=पुनः खोला गया+markedAsResolved=हल किया गया के रूप में चिह्नित+noCommentsFound=कोई टिप्पणी नहीं मिली+comments=टिप्पणियाँ+timeAgo={1} पहलेconfluenceCloud=Confluence Cloud-libraries=Libraries-confAnchor=Confluence Page Anchor-confTimeout=The connection has timed out-confSrvTakeTooLong=The server at {1} is taking too long to respond.-confCannotInsertNew=Cannot insert draw.io diagram to a new Confluence page-confSaveTry=Please save the page and try again.-confCannotGetID=Unable to determine page ID-confContactAdmin=Please contact your Confluence administrator.-readErr=Read Error-editingErr=Editing Error-confExtEditNotPossible=This diagram cannot be edited externally. Please try editing it while editing the page-confEditedExt=Diagram/Page edited externally-diagNotFound=Diagram Not Found-confEditedExtRefresh=Diagram/Page is edited externally. Please refresh the page.-confCannotEditDraftDelOrExt=Cannot edit diagrams in a draft page, diagram is deleted from the page, or diagram is edited externally. Please check the page.-retBack=Return back-confDiagNotPublished=The diagram does not belong to a published page-createdByDraw=Created by draw.io-filenameShort=Filename too short-invalidChars=Invalid characters-alreadyExst={1} already exists-draftReadErr=Draft Read Error-diagCantLoad=Diagram cannot be loaded-draftWriteErr=Draft Write Error-draftCantCreate=Draft could not be created-confDuplName=Duplicate diagram name detected. Please pick another name.-confSessionExpired=Looks like your session expired. Log in again to keep working.-login=Login-drawPrev=draw.io preview-drawDiag=draw.io diagram-invalidCallFnNotFound=Invalid Call: {1} not found-invalidCallErrOccured=Invalid Call: An error occurred, {1}-anonymous=Anonymous-confGotoPage=Go to containing page-showComments=Show Comments-confError=Error: {1}-gliffyImport=Gliffy Import-gliffyImportInst1=Click the "Start Import" button to import all Gliffy diagrams to draw.io.-gliffyImportInst2=Please note that the import procedure will take some time and the browser window must remain open until the import is completed.-startImport=Start Import-drawConfig=draw.io Configuration-customLib=Custom Libraries-customTemp=Custom Templates-pageIdsExp=Page IDs Export-drawReindex=draw.io re-indexing-working=Working-drawConfigNotFoundInst=draw.io Configuration Space (DRAWIOCONFIG) does not exist. This space is needed to store draw.io configuration files and custom libraries/templates.-createConfSp=Create Config Space-unexpErrRefresh=Unexpected error, please refresh the page and try again.-configJSONInst=Write draw.io JSON configuration in the editor below then click save. If you need help, please refer to-thisPage=this page-curCustLib=Current Custom Libraries-libName=Library Name-action=Action-drawConfID=draw.io Config ID-addLibInst=Click the "Add Library" button to upload a new library.-addLib=Add Library-customTempInst1=Custom templates are draw.io diagrams saved in children pages of-customTempInst2=For more details, please refer to-tempsPage=Templates page-pageIdsExpInst1=Select export target, then click the "Start Export" button to export all pages IDs.-pageIdsExpInst2=Please note that the export procedure will take some time and the browser window must remain open until the export is completed.-startExp=Start Export-refreshDrawIndex=Refresh draw.io Diagrams Index-reindexInst1=Click the "Start Indexing" button to refresh draw.io diagrams index.-reindexInst2=Please note that the indexing procedure will take some time and the browser window must remain open until the indexing is completed.-startIndexing=Start Indexing-confAPageFoundFetch=Page "{1}" found. Fetching-confAAllDiagDone=All {1} diagrams processed. Process finished.-confAStartedProcessing=Started processing page "{1}"-confAAllDiagInPageDone=All {1} diagrams in page "{2}" processed successfully.-confAPartialDiagDone={1} out of {2} {3} diagrams in page "{4}" processed successfully.-confAUpdatePageFailed=Updating page "{1}" failed.-confANoDiagFoundInPage=No {1} diagrams found in page "{2}".-confAFetchPageFailed=Fetching the page failed.-confANoDiagFound=No {1} diagrams found. Process finished.-confASearchFailed=Searching for {1} diagrams failed. Please try again later.-confAGliffyDiagFound={2} diagram "{1}" found. Importing-confAGliffyDiagImported={2} diagram "{1}" imported successfully.-confASavingImpGliffyFailed=Saving imported {2} diagram "{1}" failed.-confAImportedFromByDraw=Imported from "{1}" by draw.io-confAImportGliffyFailed=Importing {2} diagram "{1}" failed.-confAFetchGliffyFailed=Fetching {2} diagram "{1}" failed.-confACheckBrokenDiagLnk=Checking for broken diagrams links.-confADelDiagLinkOf=Deleting diagram link of "{1}"-confADupLnk=(duplicate link)-confADelDiagLnkFailed=Deleting diagram link of "{1}" failed.-confAUnexpErrProcessPage=Unexpected error during processing the page with id: {1}-confADiagFoundIndex=Diagram "{1}" found. Indexing-confADiagIndexSucc=Diagram "{1}" indexed successfully.-confAIndexDiagFailed=Indexing diagram "{1}" failed.-confASkipDiagOtherPage=Skipped "{1}" as it belongs to another page!-confADiagUptoDate=Diagram "{1}" is up to date.-confACheckPagesWDraw=Checking pages having draw.io diagrams.-confAErrOccured=An error occurred!-savedSucc=Saved successfully-confASaveFailedErr=Saving Failed (Unexpected Error)-character=Character-confAConfPageDesc=This page contains draw.io configuration file (configuration.json) as attachment-confALibPageDesc=This page contains draw.io custom libraries as attachments-confATempPageDesc=This page contains draw.io custom templates as attachments-confAConfSpaceDesc=This space is used to store draw.io configuration files and custom libraries/templates-confANoCustLib=No Custom Libraries-delFailed=Delete failed!-showID=Show ID-confAIncorrectLibFileType=Incorrect file type. Libraries should be XML files.-uploading=Uploading-confALibExist=This library already exists-confAUploadSucc=Uploaded successfully-confAUploadFailErr=Upload Failed (Unexpected Error)-hiResPreview=High Res Preview-officeNotLoggedGD=You are not logged in to Google Drive. Please open draw.io task pane and login first.-officePopupInfo=Please complete the process in the pop-up window.-pickODFile=Pick OneDrive File-createODFile=Create OneDrive File-pickGDriveFile=Pick Google Drive File-createGDriveFile=Create Google Drive File-pickDeviceFile=Pick Device File-vsdNoConfig="vsdurl" is not configured-ruler=Ruler-units=Units-points=Points-inches=Inches-millimeters=Millimeters-confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.-confDiagEditedExt=Diagram is edited in another session. It will be saved as a new attachment version but the page will show other session's modifications.-macroNotFound=Macro Not Found-confAInvalidPageIdsFormat=Incorrect Page IDs file format-confACollectingCurPages=Collecting current pages-confABuildingPagesMap=Building pages mapping-confAProcessDrawDiag=Started processing imported draw.io diagrams-confAProcessDrawDiagDone=Finished processing imported draw.io diagrams-confAProcessImpPages=Started processing imported pages-confAErrPrcsDiagInPage=Error processing draw.io diagrams in page "{1}"-confAPrcsDiagInPage=Processing draw.io diagrams in page "{1}"-confAImpDiagram=Importing diagram "{1}"-confAImpDiagramFailed=Importing diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.-confAImpDiagramError=Error importing diagram "{1}". Cannot fetch or save the diagram. Cannot fix this diagram links.-confAUpdateDgrmCCFailed=Updating link to diagram "{1}" failed.-confImpDiagramSuccess=Updating diagram "{1}" done successfully.-confANoLnksInDrgm=No links to update in: {1}-confAUpdateLnkToPg=Updated link to page: "{1}" in diagram: "{2}"-confAUpdateLBLnkToPg=Updated lightbox link to page: "{1}" in diagram: "{2}"-confAUpdateLnkBase=Updated base URL from: "{1}" to: "{2}" in diagram: "{3}"-confAPageIdsImpDone=Page IDs Import finished-confAPrcsMacrosInPage=Processing draw.io macros in page "{1}"-confAErrFetchPage=Error fetching page "{1}"-confAFixingMacro=Fixing macro of diagram "{1}"-confAErrReadingExpFile=Error reading export file-confAPrcsDiagInPageDone=Processing draw.io diagrams in page "{1}" finished-confAFixingMacroSkipped=Fixing macro of diagram "{1}" failed. Cannot find its new page ID. Maybe it points to a page that is not imported.-pageIdsExpTrg=Export target-confALucidDiagImgImported={2} diagram "{1}" image extracted successfully-confASavingLucidDiagImgFailed=Extracting {2} diagram "{1}" image failed-confGetInfoFailed=Fetching file info from {1} failed.-confCheckCacheFailed=Cannot get cached file info.-confReadFileErr=Cannot read "{1}" file from {2}.-confSaveCacheFailed=Unexpected error. Cannot save cached file-orgChartType=Org Chart Type-linear=Linear-hanger2=Hanger 2-hanger4=Hanger 4-fishbone1=Fishbone 1-fishbone2=Fishbone 2-1ColumnLeft=Single Column Left-1ColumnRight=Single Column Right-smart=Smart-parentChildSpacing=Parent Child Spacing-siblingSpacing=Sibling Spacing-confNoPermErr=Sorry, you don't have enough permissions to view this embedded diagram from page {1}-copyAsImage=Copy as Image-copyAsText=Copy as Text+libraries=लाइब्रेरी+confAnchor=Confluence पेज एंकर+confTimeout=कनेक्शन का समय समाप्त हो गया+confSrvTakeTooLong={1} पर सर्वर प्रतिक्रिया देने में बहुत अधिक समय ले रहा है।+confCannotInsertNew=नए Confluence पेज में draw.io डायग्राम नहीं डाला जा सकता+confSaveTry=कृपया पेज सेव करें और पुनः प्रयास करें।+confCannotGetID=पेज ID निर्धारित करने में असमर्थ+confContactAdmin=कृपया अपने Confluence व्यवस्थापक से संपर्क करें।+readErr=पढ़ने में त्रुटि+editingErr=संपादन त्रुटि+confExtEditNotPossible=इस डायग्राम को बाहरी रूप से संपादित नहीं किया जा सकता। कृपया पेज संपादित करते समय इसे संपादित करने का प्रयास करें+confEditedExt=डायग्राम/पेज बाहरी रूप से संपादित+diagNotFound=डायग्राम नहीं मिला+confEditedExtRefresh=डायग्राम/पेज बाहरी रूप से संपादित किया गया है। कृपया पेज रिफ्रेश करें।+confCannotEditDraftDelOrExt=ड्राफ्ट पेज में डायग्राम संपादित नहीं किया जा सकता, डायग्राम पेज से हटा दिया गया है, या डायग्राम बाहरी रूप से संपादित किया गया है। कृपया पेज जांचें।+retBack=वापस जाएं+confDiagNotPublished=डायग्राम किसी प्रकाशित पेज से संबंधित नहीं है+createdByDraw=draw.io द्वारा बनाया गया+filenameShort=फ़ाइल नाम बहुत छोटा है+invalidChars=अमान्य वर्ण+alreadyExst={1} पहले से मौजूद है+draftReadErr=ड्राफ्ट पढ़ने में त्रुटि+diagCantLoad=डायग्राम लोड नहीं किया जा सकता+draftWriteErr=ड्राफ्ट लिखने में त्रुटि+draftCantCreate=ड्राफ्ट नहीं बनाया जा सका+confDuplName=डुप्लिकेट डायग्राम नाम मिला। कृपया कोई अन्य नाम चुनें।+confSessionExpired=लगता है आपका सत्र समाप्त हो गया है। काम जारी रखने के लिए फिर से लॉग इन करें।+login=लॉग इन+drawPrev=draw.io पूर्वावलोकन+drawDiag=draw.io आरेख+invalidCallFnNotFound=अमान्य कॉल: {1} नहीं मिला+invalidCallErrOccured=अमान्य कॉल: एक त्रुटि हुई, {1}+anonymous=अनाम+confGotoPage=संबंधित पृष्ठ पर जाएं+showComments=टिप्पणियाँ दिखाएं+confError=त्रुटि: {1}+gliffyImport=Gliffy आयात+gliffyImportInst1=सभी Gliffy आरेखों को draw.io में आयात करने के लिए "आयात शुरू करें" बटन पर क्लिक करें।+gliffyImportInst2=कृपया ध्यान दें कि आयात प्रक्रिया में कुछ समय लगेगा और आयात पूरा होने तक ब्राउज़र विंडो खुली रहनी चाहिए।+startImport=आयात शुरू करें+drawConfig=draw.io कॉन्फ़िगरेशन+customLib=कस्टम लाइब्रेरी+customTemp=कस्टम टेम्पलेट+pageIdsExp=पृष्ठ ID निर्यात+drawReindex=draw.io पुनः-अनुक्रमण+working=कार्य जारी है+drawConfigNotFoundInst=draw.io कॉन्फ़िगरेशन स्पेस (DRAWIOCONFIG) मौजूद नहीं है। draw.io कॉन्फ़िगरेशन फ़ाइलें और कस्टम लाइब्रेरी/टेम्पलेट संग्रहीत करने के लिए यह स्पेस आवश्यक है।+createConfSp=कॉन्फ़िग स्पेस बनाएं+unexpErrRefresh=अप्रत्याशित त्रुटि, कृपया पृष्ठ रीफ़्रेश करें और पुनः प्रयास करें।+configJSONInst=नीचे दिए गए संपादक में draw.io JSON कॉन्फ़िगरेशन लिखें फिर सहेजें पर क्लिक करें। यदि आपको सहायता चाहिए, तो कृपया देखें+thisPage=यह पृष्ठ+curCustLib=वर्तमान कस्टम लाइब्रेरी+libName=लाइब्रेरी का नाम+action=कार्रवाई+drawConfID=draw.io कॉन्फ़िग ID+addLibInst=नई लाइब्रेरी अपलोड करने के लिए "लाइब्रेरी जोड़ें" बटन पर क्लिक करें।+addLib=लाइब्रेरी जोड़ें+customTempInst1=कस्टम टेम्पलेट draw.io डायग्राम हैं जो चाइल्ड पेज में सहेजे गए हैं+customTempInst2=अधिक जानकारी के लिए, कृपया देखें+tempsPage=टेम्पलेट पेज+pageIdsExpInst1=निर्यात लक्ष्य चुनें, फिर सभी पेज ID निर्यात करने के लिए "निर्यात शुरू करें" बटन पर क्लिक करें।+pageIdsExpInst2=कृपया ध्यान दें कि निर्यात प्रक्रिया में कुछ समय लगेगा और निर्यात पूरा होने तक ब्राउज़र विंडो खुली रहनी चाहिए।+startExp=निर्यात शुरू करें+refreshDrawIndex=draw.io डायग्राम इंडेक्स रीफ्रेश करें+reindexInst1=draw.io डायग्राम इंडेक्स रीफ्रेश करने के लिए "इंडेक्सिंग शुरू करें" बटन पर क्लिक करें।+reindexInst2=कृपया ध्यान दें कि इंडेक्सिंग प्रक्रिया में कुछ समय लगेगा और इंडेक्सिंग पूरी होने तक ब्राउज़र विंडो खुली रहनी चाहिए।+startIndexing=इंडेक्सिंग शुरू करें+confAPageFoundFetch=पेज "{1}" मिला। प्राप्त किया जा रहा है+confAAllDiagDone=सभी {1} डायग्राम प्रोसेस हो गए। प्रक्रिया पूर्ण हुई।+confAStartedProcessing=पेज "{1}" की प्रोसेसिंग शुरू हुई+confAAllDiagInPageDone=पेज "{2}" में सभी {1} डायग्राम सफलतापूर्वक प्रोसेस हो गए।+confAPartialDiagDone=पेज "{4}" में {2} {3} डायग्राम में से {1} सफलतापूर्वक प्रोसेस हो गए।+confAUpdatePageFailed=पेज "{1}" अपडेट करना विफल रहा।+confANoDiagFoundInPage=पेज "{2}" में कोई {1} डायग्राम नहीं मिला।+confAFetchPageFailed=पेज प्राप्त करना विफल रहा।+confANoDiagFound=कोई {1} डायग्राम नहीं मिला। प्रक्रिया पूर्ण हुई।+confASearchFailed={1} डायग्राम खोजना विफल हुआ। कृपया बाद में पुनः प्रयास करें।+confAGliffyDiagFound={2} डायग्राम "{1}" मिला। आयात हो रहा है+confAGliffyDiagImported={2} डायग्राम "{1}" सफलतापूर्वक आयात किया गया।+confASavingImpGliffyFailed=आयातित {2} डायग्राम "{1}" को सहेजना विफल हुआ।+confAImportedFromByDraw=draw.io द्वारा "{1}" से आयातित+confAImportGliffyFailed={2} डायग्राम "{1}" आयात करना विफल हुआ।+confAFetchGliffyFailed={2} डायग्राम "{1}" प्राप्त करना विफल हुआ।+confACheckBrokenDiagLnk=टूटे हुए डायग्राम लिंक की जाँच हो रही है।+confADelDiagLinkOf="{1}" का डायग्राम लिंक हटाया जा रहा है+confADupLnk=(डुप्लिकेट लिंक)+confADelDiagLnkFailed="{1}" का डायग्राम लिंक हटाना विफल हुआ।+confAUnexpErrProcessPage=पृष्ठ id: {1} को प्रोसेस करते समय अप्रत्याशित त्रुटि+confADiagFoundIndex=डायग्राम "{1}" मिला। इंडेक्सिंग हो रही है+confADiagIndexSucc=डायग्राम "{1}" सफलतापूर्वक इंडेक्स किया गया।+confAIndexDiagFailed=डायग्राम "{1}" इंडेक्स करना विफल हुआ।+confASkipDiagOtherPage="{1}" को छोड़ा गया क्योंकि यह किसी अन्य पृष्ठ का है!+confADiagUptoDate=डायग्राम "{1}" अद्यतित है।+confACheckPagesWDraw=draw.io डायग्राम वाले पृष्ठों की जाँच हो रही है।+confAErrOccured=एक त्रुटि हुई!+savedSucc=सफलतापूर्वक सहेजा गया+confASaveFailedErr=सहेजना विफल (अप्रत्याशित त्रुटि)+character=कैरेक्टर+confAConfPageDesc=इस पृष्ठ में draw.io कॉन्फ़िगरेशन फ़ाइल (configuration.json) अटैचमेंट के रूप में है+confALibPageDesc=इस पृष्ठ में draw.io कस्टम लाइब्रेरी अटैचमेंट के रूप में हैं+confATempPageDesc=इस पृष्ठ में draw.io कस्टम टेम्पलेट अटैचमेंट के रूप में हैं+confAConfSpaceDesc=इस स्पेस का उपयोग draw.io कॉन्फ़िगरेशन फ़ाइलों और कस्टम लाइब्रेरी/टेम्पलेट को स्टोर करने के लिए किया जाता है+confANoCustLib=कोई कस्टम लाइब्रेरी नहीं+delFailed=हटाना विफल!+showID=ID दिखाएं+confAIncorrectLibFileType=गलत फ़ाइल प्रकार। लाइब्रेरी XML फ़ाइलें होनी चाहिए।+uploading=अपलोड हो रहा है+confALibExist=यह लाइब्रेरी पहले से मौजूद है+confAUploadSucc=सफलतापूर्वक अपलोड हुआ+confAUploadFailErr=अपलोड विफल (अप्रत्याशित त्रुटि)+hiResPreview=हाई रेज़ प्रीव्यू+officeNotLoggedGD=आप Google Drive में लॉग इन नहीं हैं। कृपया draw.io टास्क पेन खोलें और पहले लॉगिन करें।+officePopupInfo=कृपया पॉप-अप विंडो में प्रक्रिया पूरी करें।+pickODFile=OneDrive फ़ाइल चुनें+createODFile=OneDrive फ़ाइल बनाएं+pickGDriveFile=Google Drive फ़ाइल चुनें+createGDriveFile=Google Drive फ़ाइल बनाएं+pickDeviceFile=डिवाइस फ़ाइल चुनें+vsdNoConfig="vsdurl" कॉन्फ़िगर नहीं है+ruler=रूलर+units=इकाइयां+points=पॉइंट्स+inches=इंच+millimeters=मिलीमीटर+confEditDraftDelOrExt=यह डायग्राम ड्राफ्ट पेज में है, पेज से हटा दिया गया है, या बाहरी रूप से संपादित किया गया है। इसे नए अटैचमेंट वर्शन के रूप में सेव किया जाएगा और पेज में प्रतिबिंबित नहीं हो सकता है।+confDiagEditedExt=डायग्राम किसी अन्य सत्र में संपादित किया जा रहा है। इसे नए अटैचमेंट वर्शन के रूप में सेव किया जाएगा लेकिन पेज अन्य सत्र के संशोधन दिखाएगा।+macroNotFound=मैक्रो नहीं मिला+confAInvalidPageIdsFormat=गलत पेज ID फ़ाइल फ़ॉर्मेट+confACollectingCurPages=वर्तमान पेज एकत्र किए जा रहे हैं+confABuildingPagesMap=पेज मैपिंग बनाई जा रही है+confAProcessDrawDiag=आयातित draw.io डायग्राम प्रोसेस करना शुरू हुआ+confAProcessDrawDiagDone=आयातित draw.io डायग्राम प्रोसेस करना समाप्त हुआ+confAProcessImpPages=आयातित पेज प्रोसेस करना शुरू हुआ+confAErrPrcsDiagInPage=पेज "{1}" में draw.io डायग्राम प्रोसेस करने में त्रुटि+confAPrcsDiagInPage=पेज "{1}" में draw.io डायग्राम प्रोसेस किए जा रहे हैं+confAImpDiagram=डायग्राम "{1}" आयात किया जा रहा है+confAImpDiagramFailed=डायग्राम "{1}" आयात करना विफल। इसका नया पेज ID नहीं मिल सका। शायद यह किसी ऐसे पेज को इंगित करता है जो आयात नहीं किया गया है।+confAImpDiagramError=डायग्राम "{1}" आयात करने में त्रुटि। डायग्राम प्राप्त या सेव नहीं हो सका। इस डायग्राम के लिंक ठीक नहीं किए जा सकते।+confAUpdateDgrmCCFailed=डायग्राम "{1}" का लिंक अपडेट करना विफल।+confImpDiagramSuccess=डायग्राम "{1}" सफलतापूर्वक अपडेट हुआ।+confANoLnksInDrgm=अपडेट करने के लिए कोई लिंक नहीं: {1}+confAUpdateLnkToPg=पेज: "{1}" का लिंक डायग्राम: "{2}" में अपडेट किया गया+confAUpdateLBLnkToPg=पेज: "{1}" का लाइटबॉक्स लिंक डायग्राम: "{2}" में अपडेट किया गया+confAUpdateLnkBase=बेस URL "{1}" से "{2}" में डायग्राम: "{3}" में अपडेट किया गया+confAPageIdsImpDone=पेज ID आयात समाप्त+confAPrcsMacrosInPage=पेज "{1}" में draw.io मैक्रो प्रोसेस किए जा रहे हैं+confAErrFetchPage=पेज "{1}" प्राप्त करने में त्रुटि+confAFixingMacro=डायग्राम "{1}" का मैक्रो ठीक किया जा रहा है+confAErrReadingExpFile=निर्यात फ़ाइल पढ़ने में त्रुटि+confAPrcsDiagInPageDone=पेज "{1}" में draw.io डायग्राम प्रोसेस करना समाप्त+confAFixingMacroSkipped=डायग्राम "{1}" का मैक्रो ठीक करना विफल। इसका नया पेज ID नहीं मिल सका। शायद यह किसी ऐसे पेज को इंगित करता है जो आयात नहीं किया गया है।+pageIdsExpTrg=निर्यात लक्ष्य+confALucidDiagImgImported={2} डायग्राम "{1}" इमेज सफलतापूर्वक निकाली गई+confASavingLucidDiagImgFailed={2} डायग्राम "{1}" इमेज निकालना विफल रहा+confGetInfoFailed={1} से फ़ाइल जानकारी प्राप्त करना विफल रहा।+confCheckCacheFailed=कैश्ड फ़ाइल जानकारी प्राप्त नहीं कर सकते।+confReadFileErr={2} से "{1}" फ़ाइल पढ़ नहीं सकते।+confSaveCacheFailed=अप्रत्याशित त्रुटि। कैश्ड फ़ाइल सहेज नहीं सकते+orgChartType=ऑर्ग चार्ट प्रकार+linear=रैखिक+hanger2=हैंगर 2+hanger4=हैंगर 4+fishbone1=फिशबोन 1+fishbone2=फिशबोन 2+1ColumnLeft=एकल कॉलम बाएँ+1ColumnRight=एकल कॉलम दाएँ+smart=स्मार्ट+parentChildSpacing=पैरेंट चाइल्ड स्पेसिंग+siblingSpacing=सिबलिंग स्पेसिंग+confNoPermErr=क्षमा करें, पृष्ठ {1} से इस एम्बेडेड डायग्राम को देखने के लिए आपके पास पर्याप्त अनुमति नहीं है+copyAsImage=इमेज के रूप में कॉपी करें+copyAsText=टेक्स्ट के रूप में कॉपी करेंcopyAsSvg=SVG के रूप में कॉपी करें-lucidImport=Lucidchart Import-lucidImportInst1=Click the "Start Import" button to import all Lucidchart diagrams.-installFirst=Please install {1} first-drawioChromeExt=draw.io Chrome Extension-loginFirstThen=Please login to {1} first, then {2}-errFetchDocList=Error: Couldn't fetch documents list-builtinPlugins=Built-in Plugins-extPlugins=External Plugins-backupFound=Backup file found-chromeOnly=This feature only works in Google Chrome-msgDeleted=This message has been deleted-confAErrFetchDrawList=Error fetching diagrams list. Some diagrams are skipped.-confAErrCheckDrawDiag=Cannot check diagram {1}-confAErrFetchPageList=Error fetching pages list-confADiagImportIncom={1} diagram "{2}" is imported partially and may have missing shapes-invalidSel=Invalid selection-diagNameEmptyErr=Diagram name cannot be empty-openDiagram=Open Diagram-newDiagram=New diagram-editable=Editable-confAReimportStarted=Re-import {1} diagrams started...-spaceFilter=Filter by spaces-curViewState=Current Viewer State-pageLayers=Page and Layers-customize=Customize-firstPage=First Page (All Layers)-curEditorState=Current Editor State-noAnchorsFound=No anchors found-attachment=Attachment-curDiagram=Current Diagram-recentDiags=Recent Diagrams-csvImport=CSV Import-chooseFile=Choose a file...-choose=Choose-gdriveFname=Google Drive filename-widthOfViewer=Width of the viewer (px)-heightOfViewer=Height of the viewer (px)-autoSetViewerSize=Automatically set the size of the viewer-thumbnail=Thumbnail-prevInDraw=Preview in draw.io-onedriveFname=OneDrive filename-diagFname=Diagram filename-diagUrl=Diagram URL-showDiag=Show Diagram-diagPreview=Diagram Preview-csvFileUrl=CSV File URL-generate=Generate-selectDiag2Insert=Please select a diagram to insert it.-errShowingDiag=Unexpected error. Cannot show diagram-noRecentDiags=No recent diagrams found-fetchingRecentFailed=Failed to fetch recent diagrams-useSrch2FindDiags=Use the search box to find draw.io diagrams-cantReadChckPerms=Cannot read the specified diagram. Please check you have read permission on that file.-cantFetchChckPerms=Cannot fetch diagram info. Please check you have read permission on that file.-searchFailed=Searching failed. Please try again later.-plsTypeStr=Please type a search string.-unsupportedFileChckUrl=Unsupported file. Please check the specified URL-diagNotFoundChckUrl=Diagram not found or cannot be accessed. Please check the specified URL-csvNotFoundChckUrl=CSV file not found or cannot be accessed. Please check the specified URL-cantReadUpload=Cannot read the uploaded diagram-select=Select-errCantGetIdType=Unexpected Error: Cannot get content id or type.-errGAuthWinBlocked=Error: Google Authentication window blocked-authDrawAccess=Authorize draw.io to access {1}-connTimeout=The connection has timed out-errAuthSrvc=Error authenticating to {1}-plsSelectFile=Please select a file-mustBgtZ={1} must be greater than zero-cantLoadPrev=Cannot load file preview.-errAccessFile=Error: Access Denied. You do not have permission to access "{1}".-noPrevAvail=No preview is available.-personalAccNotSup=Personal accounts are not supported.-errSavingTryLater=Error occurred during saving, please try again later.-plsEnterFld=Please enter {1}-invalidDiagUrl=Invalid Diagram URL-unsupportedVsdx=Unsupported vsdx file-unsupportedImg=Unsupported image file-unsupportedFormat=Unsupported file format-plsSelectSingleFile=Please select a single file only-attCorrupt=Attachment file "{1}" is corrupted-loadAttFailed=Failed to load attachment "{1}"-embedDrawDiag=Embed draw.io Diagram-addDiagram=Add Diagram-embedDiagram=Embed Diagram-editOwningPg=Edit owning page-deepIndexing=Deep Indexing (Index diagrams that aren't used in any page also)-confADeepIndexStarted=Deep Indexing Started-confADeepIndexDone=Deep Indexing Done-officeNoDiagramsSelected=No diagrams found in the selection-officeNoDiagramsInDoc=No diagrams found in the document-officeNotSupported=This feature is not supported in this host application-someImagesFailed={1} out of {2} failed due to the following errors-importingNoUsedDiagrams=Importing {1} Diagrams not used in pages-importingDrafts=Importing {1} Diagrams in drafts-processingDrafts=Processing drafts-updatingDrafts=Updating drafts-updateDrafts=Update drafts-notifications=Notifications-drawioImp=draw.io Import-confALibsImp=Importing draw.io Libraries-confALibsImpFailed=Importing {1} library failed-contributors=Contributors-drawDiagrams=draw.io Diagrams-errFileNotFoundOrNoPer=Error: Access Denied. File not found or you do not have permission to access "{1}" on {2}.-confACheckPagesWEmbed=Checking pages having embedded draw.io diagrams.-confADelBrokenEmbedDiagLnk=Removing broken embedded diagram links-replaceWith=Replace with-replaceAll=Replace All-confASkipDiagModified=Skipped "{1}" as it was modified after initial import-replFind=Replace/Find-matchesRepl={1} matches replaced-draftErrDataLoss=An error occurred while reading the draft file. The diagram cannot be edited now to prevent any possible data loss. Please try again later or contact support.+lucidImport=Lucidchart आयात+lucidImportInst1=सभी Lucidchart डायग्राम आयात करने के लिए "आयात शुरू करें" बटन पर क्लिक करें।+installFirst=कृपया पहले {1} इंस्टॉल करें+drawioChromeExt=draw.io Chrome एक्सटेंशन+loginFirstThen=कृपया पहले {1} में लॉगिन करें, फिर {2}+errFetchDocList=त्रुटि: दस्तावेज़ सूची प्राप्त नहीं हो सकी+builtinPlugins=बिल्ट-इन प्लगइन्स+extPlugins=बाहरी प्लगइन्स+backupFound=बैकअप फ़ाइल मिली+chromeOnly=यह सुविधा केवल Google Chrome में काम करती है+msgDeleted=यह संदेश हटा दिया गया है+confAErrFetchDrawList=डायग्राम सूची प्राप्त करने में त्रुटि। कुछ डायग्राम छोड़ दिए गए हैं।+confAErrCheckDrawDiag=डायग्राम {1} की जाँच नहीं हो सकती+confAErrFetchPageList=पेज सूची प्राप्त करने में त्रुटि+confADiagImportIncom={1} डायग्राम "{2}" आंशिक रूप से आयात किया गया है और इसमें कुछ आकृतियाँ गायब हो सकती हैं+invalidSel=अमान्य चयन+diagNameEmptyErr=डायग्राम का नाम खाली नहीं हो सकता+openDiagram=डायग्राम खोलें+newDiagram=नया डायग्राम+editable=संपादन योग्य+confAReimportStarted={1} डायग्राम पुनः-आयात शुरू हुआ...+spaceFilter=स्पेस द्वारा फ़िल्टर करें+curViewState=वर्तमान व्यूअर स्थिति+pageLayers=पेज और लेयर्स+customize=कस्टमाइज़ करें+firstPage=पहला पेज (सभी लेयर्स)+curEditorState=वर्तमान एडिटर स्थिति+noAnchorsFound=कोई एंकर नहीं मिला+attachment=अटैचमेंट+curDiagram=वर्तमान आरेख+recentDiags=हाल के आरेख+csvImport=CSV आयात+chooseFile=फ़ाइल चुनें...+choose=चुनें+gdriveFname=Google Drive फ़ाइल नाम+widthOfViewer=व्यूअर की चौड़ाई (px)+heightOfViewer=व्यूअर की ऊंचाई (px)+autoSetViewerSize=व्यूअर का आकार स्वचालित रूप से सेट करें+thumbnail=थंबनेल+prevInDraw=draw.io में पूर्वावलोकन+onedriveFname=OneDrive फ़ाइल नाम+diagFname=आरेख फ़ाइल नाम+diagUrl=आरेख URL+showDiag=आरेख दिखाएं+diagPreview=आरेख पूर्वावलोकन+csvFileUrl=CSV फ़ाइल URL+generate=जनरेट करें+selectDiag2Insert=कृपया सम्मिलित करने के लिए एक आरेख चुनें।+errShowingDiag=अप्रत्याशित त्रुटि। आरेख नहीं दिखा सकते+noRecentDiags=कोई हाल के आरेख नहीं मिले+fetchingRecentFailed=हाल के आरेख प्राप्त करने में विफल+useSrch2FindDiags=draw.io आरेख खोजने के लिए खोज बॉक्स का उपयोग करें+cantReadChckPerms=निर्दिष्ट आरेख पढ़ नहीं सकते। कृपया जांचें कि आपके पास उस फ़ाइल पर पढ़ने की अनुमति है।+cantFetchChckPerms=डायग्राम जानकारी प्राप्त नहीं हो सकी। कृपया जाँचें कि आपके पास उस फ़ाइल की पढ़ने की अनुमति है।+searchFailed=खोज विफल हुई। कृपया बाद में पुनः प्रयास करें।+plsTypeStr=कृपया खोज स्ट्रिंग टाइप करें।+unsupportedFileChckUrl=असमर्थित फ़ाइल। कृपया निर्दिष्ट URL जाँचें+diagNotFoundChckUrl=डायग्राम नहीं मिला या एक्सेस नहीं किया जा सकता। कृपया निर्दिष्ट URL जाँचें+csvNotFoundChckUrl=CSV फ़ाइल नहीं मिली या एक्सेस नहीं की जा सकती। कृपया निर्दिष्ट URL जाँचें+cantReadUpload=अपलोड किया गया डायग्राम पढ़ा नहीं जा सकता+select=चुनें+errCantGetIdType=अनपेक्षित त्रुटि: कंटेंट id या प्रकार प्राप्त नहीं हो सकता।+errGAuthWinBlocked=त्रुटि: Google प्रमाणीकरण विंडो ब्लॉक हुई+authDrawAccess={1} एक्सेस करने के लिए draw.io को अधिकृत करें+connTimeout=कनेक्शन टाइम आउट हो गया+errAuthSrvc={1} में प्रमाणीकरण त्रुटि+plsSelectFile=कृपया एक फ़ाइल चुनें+mustBgtZ={1} शून्य से अधिक होना चाहिए+cantLoadPrev=फ़ाइल पूर्वावलोकन लोड नहीं हो सकता।+errAccessFile=त्रुटि: एक्सेस अस्वीकृत। आपके पास "{1}" एक्सेस करने की अनुमति नहीं है।+noPrevAvail=कोई पूर्वावलोकन उपलब्ध नहीं है।+personalAccNotSup=व्यक्तिगत खाते समर्थित नहीं हैं।+errSavingTryLater=सहेजने के दौरान त्रुटि हुई, कृपया बाद में पुनः प्रयास करें।+plsEnterFld=कृपया {1} दर्ज करें+invalidDiagUrl=अमान्य डायग्राम URL+unsupportedVsdx=असमर्थित vsdx फ़ाइल+unsupportedImg=असमर्थित इमेज फ़ाइल+unsupportedFormat=असमर्थित फ़ाइल फ़ॉर्मेट+plsSelectSingleFile=कृपया केवल एक फ़ाइल चुनें+attCorrupt=अटैचमेंट फ़ाइल "{1}" दूषित है+loadAttFailed=अटैचमेंट "{1}" लोड करने में विफल+embedDrawDiag=draw.io डायग्राम एम्बेड करें+addDiagram=डायग्राम जोड़ें+embedDiagram=डायग्राम एम्बेड करें+editOwningPg=स्वामी पृष्ठ संपादित करें+deepIndexing=डीप इंडेक्सिंग (उन डायग्राम को भी इंडेक्स करें जो किसी पेज में उपयोग नहीं हैं)+confADeepIndexStarted=डीप इंडेक्सिंग शुरू हुई+confADeepIndexDone=डीप इंडेक्सिंग पूर्ण+officeNoDiagramsSelected=चयन में कोई डायग्राम नहीं मिला+officeNoDiagramsInDoc=दस्तावेज़ में कोई डायग्राम नहीं मिला+officeNotSupported=यह सुविधा इस होस्ट एप्लिकेशन में समर्थित नहीं है+someImagesFailed={2} में से {1} निम्न त्रुटियों के कारण विफल+importingNoUsedDiagrams=पृष्ठों में उपयोग नहीं किए गए {1} डायग्राम आयात हो रहे हैं+importingDrafts=ड्राफ्ट में {1} डायग्राम आयात हो रहे हैं+processingDrafts=ड्राफ्ट प्रोसेस हो रहे हैं+updatingDrafts=ड्राफ्ट अपडेट हो रहे हैं+updateDrafts=ड्राफ्ट अपडेट करें+notifications=सूचनाएं+drawioImp=draw.io आयात+confALibsImp=draw.io लाइब्रेरी आयात हो रही हैं+confALibsImpFailed={1} लाइब्रेरी आयात करना विफल+contributors=योगदानकर्ता+drawDiagrams=draw.io डायग्राम+errFileNotFoundOrNoPer=त्रुटि: पहुँच अस्वीकृत। फ़ाइल नहीं मिली या आपके पास {2} पर "{1}" तक पहुँचने की अनुमति नहीं है।+confACheckPagesWEmbed=एम्बेडेड draw.io आरेखों वाले पृष्ठों की जाँच की जा रही है।+confADelBrokenEmbedDiagLnk=टूटे हुए एम्बेडेड आरेख लिंक हटाए जा रहे हैं+replaceWith=इससे बदलें+replaceAll=सभी बदलें+confASkipDiagModified="{1}" छोड़ दिया गया क्योंकि इसे प्रारंभिक आयात के बाद संशोधित किया गया था+replFind=बदलें/खोजें+matchesRepl={1} मिलान बदले गए+draftErrDataLoss=ड्राफ्ट फ़ाइल पढ़ते समय एक त्रुटि हुई। संभावित डेटा हानि को रोकने के लिए आरेख अभी संपादित नहीं किया जा सकता। कृपया बाद में पुनः प्रयास करें या सहायता से संपर्क करें।ibm=IBM-linkToDiagramHint=Add a link to this diagram. The diagram can only be edited from the page that owns it.-linkToDiagram=Link to Diagram-changedBy=Changed By-lastModifiedOn=Last modified on-searchResults=Search Results-showAllTemps=Show all templates-notionToken=Notion Token-selectDB=Select Database-noDBs=No Databases-diagramEdited={1} diagram "{2}" edited-confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?-confFileTooBigErr=File size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration.-owner=Owner-repository=Repository-branch=Branch-meters=Meters-teamsNoEditingMsg=Editor functionality is only available in Desktop environment (in MS Teams App or a web browser)-contactOwner=Contact Owner-viewerOnlyMsg=You cannot edit the diagrams in the mobile platform, please use the desktop client or a web browser.-website=Website-check4Updates=Check for updates-attWriteFailedRetry={1}: Attachment write failed, trying again in {2} seconds...-confPartialPageList=We couldn't fetch all pages due to an error in Confluence. Continuing using {1} pages only.-spellCheck=Spell checker-noChange=No Change-lblToSvg=Convert labels to SVG-txtSettings=Text Settings-LinksLost=Links will be lost-arcSize=Arc Size-editConnectionPoints=Edit Connection Points-notInOffline=Not supported while offline-notInDesktop=Not supported in Desktop App-confConfigSpaceArchived=draw.io Configuration space (DRAWIOCONFIG) is archived. Please restore it first.-confACleanOldVerStarted=Cleaning old diagram draft versions started-confACleanOldVerDone=Cleaning old diagram draft versions finished-confACleaningFile=Cleaning diagram draft "{1}" old versions-confAFileCleaned=Cleaning diagram draft "{1}" done-confAFileCleanFailed=Cleaning diagram draft "{1}" failed-confACleanOnly=Clean Diagram Drafts Only-brush=Brush-openDevTools=Open Developer Tools-autoBkp=Automatic Backup-confAIgnoreCollectErr=Ignore collecting current pages errors-drafts=Drafts-draftSaveInt=Draft save interval [sec] (0 to disable)-pluginsDisabled=External plugins disabled.-extExpNotConfigured=External image service is not configured-pathFilename=Path/Filename-confAHugeInstances=Very Large Instances-confAHugeInstancesDesc=If this instance includes 100,000+ pages, it is faster to request the current instance pages list from Atlassian. Please contact our support for more details.-choosePageIDsFile=Choose current page IDs csv file-chooseDrawioPsgesFile=Choose pages with draw.io diagrams csv file-private=Private-diagramTooLarge=The diagram is too large, please reduce its size and try again.-selectAdminUsers=Select Admin Users-xyzTeam={1} Team-addTeamTitle=Adding a new draw.io Team-addTeamInst1=To create a new draw.io Team, you need to create a new Atlassian group with "drawio-" prefix (e.g, a group named "drawio-marketing").-addTeamInst2=Then, configure which team member can edit/add configuration, templates, and libraries from this page.-drawioTeams=draw.io Teams-members=Members-adminEditors=Admins/Editors-allowAll=Allow all-noTeams=No teams found-errorLoadingTeams=Error Loading Teams-noTeamMembers=No team members found-errLoadTMembers=Error loading team members-errCreateTeamPage=Error creating team "{1}" page in "draw.io Configuration" space, please check you have the required permissions.-gotoConfigPage=Please create the space from draw.io "Configuration" page.-noAdminsSelected=No admins/editors selected-errCreateConfigFile=Error creating "configuration.json" file, please check you have the required permissions.-errSetPageRestr=Error setting page restrictions-notAdmin4Team=You are not an admin for this team-configUpdated=Configuration updated, restart the editor if you want to work with last configuration.-outOfDateRevisionAlert=You are editing a historical revision of the diagram, please review the revision and open it to replace the latest version. Or close and overwrite/merge later.-confAErrFaqs=There are {1} error(s), the following instructions may help fixing most of the cases. (Please download the log for future references)-confA403ErrFaq=There are ({1}) 403 error(s). The current users must have add (write) permissions on all pages and attachments. Even admins sometimes are not allowed to write to some pages via page restrictions-confA404ErrFaq=There are ({1}) 404 error(s). The attachment/page is not found. This is due to improper migration or the diagram file (an attachment of the page) is deleted.-confA500ErrFaq=There are ({1}) 500 error(s). An internal server error in Confluence Cloud. Such errors are due to overloading the server and usually fixed by retrying the process.-confAOtherErrFaq=There are ({1}) other error(s). Please check the error description. If the description is not clear, please contact our support.-confAReplaceBaseUrl=Replace Base URL in diagram links when no page ID mapping is found-drawSvgPrev=draw.io SVG preview-googleFonts=Google Fonts-diagDupl=Duplicate Diagram Detected-diagDuplMsg=This diagram is used in multiple places, which can result in unexpected results when edited. We've created an independent copy. Please open the editor again.-diagDuplNoEditMsg=This diagram is used in multiple places. Please edit it within its own page.-confCloudMigConfirm=Warning: This process will edit many pages and diagrams, so it is recommended to stop the Synchrony service during the process. Do you want to proceed?-confCloudMigNotice=In the Cloud instance, please add linkAdjustments to draw.io configuration as follows {1}. Without this configuration, links in diagrams pointing to Confluence pages will not work.-confALogsPageDesc=This page contains logs of draw.io long running services as attachments-confEditOnlyInPageEditor=Can only be edited within Confluence page editor-confEvalWarn=Evaluation License - Not for production use-otherUsersEditing=Other user(s) are editing this diagram-firstTimeGD=First time to access this file?-drawioGDAppNotInstalled=draw.io Google Drive app is not installed, please install it first-ConfDC415Error=Saving drafts is blocked. If you have "Attachment Checker for Confluence" app, please update to the latest version.-remove=Remove-selectPgLyr=Select Page and Layers-errGenPreview=There was an error generating a diagram preview. Please consult technical support.-attAccessErr=Diagram attachment access error: cannot display diagram-widthIntOrFixed=Width must be a valid integer or of value 'fixed'-dupDisabledPgLyrSlct=Diagram duplication is disabled when page and layers are selected-cantDupPickDiffName=Could not duplicate diagram. Please choose a different name.-ownPgAccessDupErr=Owning page access restriction: cannot duplicate diagram.-cantDupTryLater=Could not duplicate diagram. Please try again later.-cantEditLnkd=Cannot edit linked diagram-diagEditOwnPgOnlyOpen=Diagram can only be edited from the page that owns it. Would you like to open the owning page for edit?-diagInTemps=draw.io diagrams in templates-diagInTempsCantEdit=Diagrams in page templates cannot be edited. They can only be edited on pages and blog posts.-confDirectEditDraftLost=This Confluence page has unpublished changes. Editing the diagram from page view may cause data loss. Please edit the Confluence page first and then edit the diagram.-confConfigSpacePerm=Note: If you recently migrated from DC app, please check draw.io Configuration space permissions such that all users can read and only admins can write. In addition, remove the page restrictions on "Configuration" and "Libraries" pages. You may need admin keys to access them. Also, please check the file "configuration.json" in the "Configuration" page is downloadable.-tryCurPageOnErr=Try finding the diagram attachment on the macro page when the linked page fails-confAExtSrvcNoSupported=Embedded diagrams from external services or urls are not supported.-gliffyVersionPinning=Gliffy का पिन किया हुआ संस्करण नवीनतम संस्करण के बजाय आयात करें+linkToDiagramHint=इस आरेख में एक लिंक जोड़ें। आरेख केवल उस पृष्ठ से संपादित किया जा सकता है जिसका वह स्वामी है।+linkToDiagram=आरेख से लिंक करें+changedBy=द्वारा बदला गया+lastModifiedOn=अंतिम बार संशोधित+searchResults=खोज परिणाम+showAllTemps=सभी टेम्पलेट दिखाएं+notionToken=Notion टोकन+selectDB=डेटाबेस चुनें+noDBs=कोई डेटाबेस नहीं+diagramEdited={1} आरेख "{2}" संपादित किया गया+confDraftPermissionErr=ड्राफ्ट लिखा नहीं जा सकता। क्या आपके पास इस पृष्ठ पर अटैचमेंट लिखने/पढ़ने की अनुमति है?+confFileTooBigErr=फ़ाइल का आकार बहुत बड़ा है। कृपया Confluence कॉन्फ़िगरेशन में "अटैचमेंट सेटिंग्स" की "अटैचमेंट अधिकतम आकार" जाँचें।+owner=स्वामी+repository=रिपॉजिटरी+branch=शाखा+meters=मीटर+teamsNoEditingMsg=संपादक कार्यक्षमता केवल डेस्कटॉप वातावरण में उपलब्ध है (MS Teams ऐप या वेब ब्राउज़र में)+contactOwner=स्वामी से संपर्क करें+viewerOnlyMsg=आप मोबाइल प्लेटफ़ॉर्म पर डायग्राम संपादित नहीं कर सकते, कृपया डेस्कटॉप क्लाइंट या वेब ब्राउज़र का उपयोग करें।+website=वेबसाइट+check4Updates=अपडेट के लिए जाँचें+attWriteFailedRetry={1}: अटैचमेंट लिखना विफल, {2} सेकंड में पुनः प्रयास हो रहा है...+confPartialPageList=Confluence में त्रुटि के कारण हम सभी पेज प्राप्त नहीं कर सके। केवल {1} पेजों का उपयोग करके जारी रखा जा रहा है।+spellCheck=वर्तनी जाँचकर्ता+noChange=कोई परिवर्तन नहीं+lblToSvg=लेबल को SVG में बदलें+txtSettings=टेक्स्ट सेटिंग्स+LinksLost=लिंक खो जाएंगे+arcSize=आर्क आकार+editConnectionPoints=कनेक्शन पॉइंट संपादित करें+notInOffline=ऑफ़लाइन होने पर समर्थित नहीं+notInDesktop=डेस्कटॉप ऐप में समर्थित नहीं+confConfigSpaceArchived=draw.io कॉन्फ़िगरेशन स्पेस (DRAWIOCONFIG) संग्रहीत है। कृपया पहले इसे पुनर्स्थापित करें।+confACleanOldVerStarted=पुराने डायग्राम ड्राफ्ट संस्करणों की सफाई शुरू हुई+confACleanOldVerDone=पुराने डायग्राम ड्राफ्ट संस्करणों की सफाई समाप्त हुई+confACleaningFile=डायग्राम ड्राफ्ट "{1}" के पुराने संस्करणों की सफाई जारी+confAFileCleaned=डायग्राम ड्राफ्ट "{1}" की सफाई पूर्ण+confAFileCleanFailed=डायग्राम ड्राफ्ट "{1}" की सफाई विफल+confACleanOnly=केवल डायग्राम ड्राफ्ट साफ करें+brush=ब्रश+openDevTools=डेवलपर टूल्स खोलें+autoBkp=स्वचालित बैकअप+confAIgnoreCollectErr=वर्तमान पृष्ठों की त्रुटियों का संग्रह अनदेखा करें+drafts=ड्राफ्ट+draftSaveInt=ड्राफ्ट सहेजने का अंतराल [सेकंड] (अक्षम करने के लिए 0)+pluginsDisabled=बाहरी प्लगइन अक्षम हैं।+extExpNotConfigured=बाहरी छवि सेवा कॉन्फ़िगर नहीं है+pathFilename=पथ/फ़ाइल नाम+confAHugeInstances=बहुत बड़े इंस्टेंस+confAHugeInstancesDesc=यदि इस इंस्टेंस में 100,000+ पृष्ठ हैं, तो Atlassian से वर्तमान इंस्टेंस पृष्ठ सूची का अनुरोध करना तेज़ है। अधिक जानकारी के लिए कृपया हमारी सहायता से संपर्क करें।+choosePageIDsFile=वर्तमान पृष्ठ IDs csv फ़ाइल चुनें+chooseDrawioPsgesFile=draw.io आरेखों वाले पृष्ठों की csv फ़ाइल चुनें+private=निजी+diagramTooLarge=आरेख बहुत बड़ा है, कृपया इसका आकार कम करें और पुनः प्रयास करें।+selectAdminUsers=व्यवस्थापक उपयोगकर्ता चुनें+xyzTeam={1} टीम+addTeamTitle=नई draw.io टीम जोड़ना+addTeamInst1=नई draw.io टीम बनाने के लिए, आपको "drawio-" उपसर्ग के साथ एक नया Atlassian समूह बनाना होगा (जैसे, "drawio-marketing" नामक समूह)।+addTeamInst2=फिर, इस पृष्ठ से कॉन्फ़िगर करें कि कौन सा टीम सदस्य कॉन्फ़िगरेशन, टेम्पलेट और लाइब्रेरी संपादित/जोड़ सकता है।+drawioTeams=draw.io टीमें+members=सदस्य+adminEditors=व्यवस्थापक/संपादक+allowAll=सभी को अनुमति दें+noTeams=कोई टीम नहीं मिली+errorLoadingTeams=टीमें लोड करने में त्रुटि+noTeamMembers=कोई टीम सदस्य नहीं मिला+errLoadTMembers=टीम सदस्यों को लोड करने में त्रुटि+errCreateTeamPage="draw.io Configuration" स्पेस में टीम "{1}" पेज बनाने में त्रुटि, कृपया जांचें कि आपके पास आवश्यक अनुमतियां हैं।+gotoConfigPage=कृपया draw.io "Configuration" पेज से स्पेस बनाएं।+noAdminsSelected=कोई व्यवस्थापक/संपादक चयनित नहीं+errCreateConfigFile="configuration.json" फ़ाइल बनाने में त्रुटि, कृपया जांचें कि आपके पास आवश्यक अनुमतियां हैं।+errSetPageRestr=पेज प्रतिबंध सेट करने में त्रुटि+notAdmin4Team=आप इस टीम के व्यवस्थापक नहीं हैं+configUpdated=कॉन्फ़िगरेशन अपडेट हो गया, यदि आप नवीनतम कॉन्फ़िगरेशन के साथ काम करना चाहते हैं तो संपादक को पुनः आरंभ करें।+outOfDateRevisionAlert=आप डायग्राम के पुराने संस्करण को संपादित कर रहे हैं, कृपया संस्करण की समीक्षा करें और नवीनतम संस्करण को बदलने के लिए इसे खोलें। या बंद करें और बाद में ओवरराइट/मर्ज करें।+confAErrFaqs={1} त्रुटि(याँ) हैं, निम्नलिखित निर्देश अधिकांश मामलों को ठीक करने में मदद कर सकते हैं। (कृपया भविष्य के संदर्भ के लिए लॉग डाउनलोड करें)+confA403ErrFaq=({1}) 403 त्रुटि(याँ) हैं। वर्तमान उपयोगकर्ताओं के पास सभी पेजों और अटैचमेंट पर जोड़ने (लिखने) की अनुमति होनी चाहिए। कभी-कभी व्यवस्थापकों को भी पेज प्रतिबंधों के कारण कुछ पेजों पर लिखने की अनुमति नहीं होती+confA404ErrFaq=({1}) 404 त्रुटि(याँ) हैं। अटैचमेंट/पेज नहीं मिला। यह अनुचित माइग्रेशन या डायग्राम फ़ाइल (पेज का अटैचमेंट) के हटाए जाने के कारण है।+confA500ErrFaq=({1}) 500 त्रुटि(याँ) हैं। Confluence Cloud में आंतरिक सर्वर त्रुटि। ऐसी त्रुटियां सर्वर पर अधिक लोड के कारण होती हैं और आमतौर पर प्रक्रिया को पुनः प्रयास करने से ठीक हो जाती हैं।+confAOtherErrFaq=({1}) अन्य त्रुटि(याँ) हैं। कृपया त्रुटि विवरण जांचें। यदि विवरण स्पष्ट नहीं है, तो कृपया हमारे सहायता से संपर्क करें।+confAReplaceBaseUrl=जब कोई पेज ID मैपिंग नहीं मिलती तो डायग्राम लिंक में बेस URL बदलें+drawSvgPrev=draw.io SVG पूर्वावलोकन+googleFonts=Google फ़ॉन्ट्स+diagDupl=डुप्लिकेट डायग्राम पाया गया+diagDuplMsg=यह डायग्राम कई स्थानों पर उपयोग किया गया है, जिससे संपादन करते समय अप्रत्याशित परिणाम हो सकते हैं। हमने एक स्वतंत्र प्रति बना दी है। कृपया संपादक को फिर से खोलें।+diagDuplNoEditMsg=यह डायग्राम कई स्थानों पर उपयोग किया गया है। कृपया इसे अपने स्वयं के पेज में संपादित करें।+confCloudMigConfirm=चेतावनी: यह प्रक्रिया कई पेजों और डायग्राम को संपादित करेगी, इसलिए प्रक्रिया के दौरान Synchrony सेवा को बंद करने की अनुशंसा की जाती है। क्या आप आगे बढ़ना चाहते हैं?+confCloudMigNotice=Cloud इंस्टेंस में, कृपया draw.io कॉन्फ़िगरेशन में linkAdjustments इस प्रकार जोड़ें {1}। इस कॉन्फ़िगरेशन के बिना, Confluence पेजों की ओर इंगित करने वाले डायग्राम में लिंक काम नहीं करेंगे।+confALogsPageDesc=इस पेज में अटैचमेंट के रूप में draw.io लंबी चलने वाली सेवाओं के लॉग हैं+confEditOnlyInPageEditor=केवल Confluence पेज संपादक में ही संपादित किया जा सकता है+confEvalWarn=मूल्यांकन लाइसेंस - उत्पादन उपयोग के लिए नहीं+otherUsersEditing=अन्य उपयोगकर्ता इस आरेख को संपादित कर रहे हैं+firstTimeGD=पहली बार इस फ़ाइल तक पहुँच रहे हैं?+drawioGDAppNotInstalled=draw.io Google Drive ऐप इंस्टॉल नहीं है, कृपया पहले इसे इंस्टॉल करें+ConfDC415Error=ड्राफ्ट सहेजना अवरुद्ध है। यदि आपके पास "Attachment Checker for Confluence" ऐप है, तो कृपया नवीनतम संस्करण में अपडेट करें।+remove=हटाएं+selectPgLyr=पृष्ठ और परतें चुनें+errGenPreview=आरेख पूर्वावलोकन बनाने में त्रुटि हुई। कृपया तकनीकी सहायता से संपर्क करें।+attAccessErr=आरेख अटैचमेंट एक्सेस त्रुटि: आरेख प्रदर्शित नहीं कर सकते+widthIntOrFixed=चौड़ाई एक मान्य पूर्णांक या 'fixed' मान होनी चाहिए+dupDisabledPgLyrSlct=पृष्ठ और परतें चयनित होने पर आरेख डुप्लिकेशन अक्षम है+cantDupPickDiffName=आरेख डुप्लिकेट नहीं हो सका। कृपया कोई भिन्न नाम चुनें।+ownPgAccessDupErr=स्वामी पृष्ठ एक्सेस प्रतिबंध: आरेख डुप्लिकेट नहीं कर सकते।+cantDupTryLater=आरेख डुप्लिकेट नहीं हो सका। कृपया बाद में पुनः प्रयास करें।+cantEditLnkd=लिंक किए गए आरेख को संपादित नहीं कर सकते+diagEditOwnPgOnlyOpen=आरेख केवल उस पृष्ठ से संपादित किया जा सकता है जिसका वह स्वामी है। क्या आप संपादन के लिए स्वामी पृष्ठ खोलना चाहेंगे?+diagInTemps=टेम्पलेट में draw.io आरेख+diagInTempsCantEdit=पृष्ठ टेम्पलेट में आरेख संपादित नहीं किए जा सकते। उन्हें केवल पृष्ठों और ब्लॉग पोस्ट पर संपादित किया जा सकता है।+confDirectEditDraftLost=इस Confluence पृष्ठ में अप्रकाशित परिवर्तन हैं। पृष्ठ दृश्य से आरेख संपादित करने से डेटा हानि हो सकती है। कृपया पहले Confluence पृष्ठ संपादित करें और फिर आरेख संपादित करें।+confConfigSpacePerm=नोट: यदि आपने हाल ही में DC ऐप से माइग्रेट किया है, तो कृपया draw.io कॉन्फ़िगरेशन स्पेस अनुमतियों की जाँच करें ताकि सभी उपयोगकर्ता पढ़ सकें और केवल व्यवस्थापक लिख सकें। इसके अलावा, "Configuration" और "Libraries" पृष्ठों पर पृष्ठ प्रतिबंध हटाएं। उन्हें एक्सेस करने के लिए आपको व्यवस्थापक कुंजी की आवश्यकता हो सकती है। साथ ही, जाँचें कि "Configuration" पृष्ठ में "configuration.json" फ़ाइल डाउनलोड करने योग्य है।+tryCurPageOnErr=जब लिंक किया गया पृष्ठ विफल हो तो मैक्रो पृष्ठ पर आरेख अटैचमेंट खोजने का प्रयास करें+confAExtSrvcNoSupported=बाहरी सेवाओं या URL से एम्बेडेड आरेख समर्थित नहीं हैं।+gliffyVersionPinning=नवीनतम संस्करण के बजाय Gliffy का पिन किया हुआ संस्करण आयात करेंconfEmbedUpload=बेहतर संपादन अनुभव के लिए, कृपया एक खाली आरेख सम्मिलित करने के लिए draw.io का नियमित मैक्रो उपयोग करें, फिर (फ़ाइल मेनू → से आयात करें → डिवाइस...) से वह फ़ाइल चुनें जिसे आप अपलोड और एम्बेड करना चाहते हैं।confPublishErr=आपके प्रकाशन के साथ एक और अपडेट टकरा गया, कृपया पुनः प्रयास करें-confACacheMapping=Cache page IDs mapping-confARemImpPages=Remember imported pages-delCachedData=Delete Cached Data-k15tPagesError=Error retrieving Scroll pages. Is Scroll Versions installed?-drawioUninstalled=draw.io has been uninstalled, the editor will now close-confAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.-confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.+confACacheMapping=कैश पेज IDs मैपिंग+confARemImpPages=आयातित पेज याद रखें+delCachedData=कैश्ड डेटा हटाएं+k15tPagesError=Scroll पेज प्राप्त करने में त्रुटि। क्या Scroll Versions इंस्टॉल है?+drawioUninstalled=draw.io अनइंस्टॉल कर दिया गया है, संपादक अब बंद होगा+confAttachmentArchived=डायग्राम एक संग्रहीत पेज से संबंधित है और लोड नहीं किया जा सकता। इसे लोड करने के लिए पेज (ID: {1}) को पुनर्स्थापित करें।+confDiagramMacroDowngrade=डायग्राम सहेजा गया है लेकिन पेज मैक्रो अपडेट नहीं किया जा सकता क्योंकि मैक्रो में डायग्राम संशोधन नया है। कृपया Confluence पेज संपादक से डायग्राम संपादित करें।DCSave500Error=Confluence की एक अन्य प्रक्रिया ने सहेजना बाधित किया, फिर से प्रयास करें #{1}+confAppNotInstalled=draw.io diagrams Confluence ऐप इंस्टॉल नहीं है।+plsInstallAppInConf=डायग्राम तक पहुँचने के लिए कृपया इस ऐप को Confluence में इंस्टॉल/कनेक्ट करें (draw.io Confluence ऐप के अतिरिक्त)diff --git a/src/main/webapp/resources/dia_hr.txt b/src/main/webapp/resources/dia_hr.txtindex 2c27be68f..cd56df26b 100644--- a/src/main/webapp/resources/dia_hr.txt+++ b/src/main/webapp/resources/dia_hr.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Druga Confluence operacija prekinula je spremanje, pokušajte ponovno #{1}+confAppNotInstalled=Aplikacija draw.io diagrams za Confluence nije instalirana.+plsInstallAppInConf=Molimo instalirajte/povežite ovu aplikaciju u Confluence kako biste mogli pristupiti dijagramima (uz draw.io Confluence aplikaciju)diff --git a/src/main/webapp/resources/dia_hu.txt b/src/main/webapp/resources/dia_hu.txtindex c62e2fdc6..986a08a0b 100644--- a/src/main/webapp/resources/dia_hu.txt+++ b/src/main/webapp/resources/dia_hu.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Egy másik Confluence-művelet megszakította a mentést, próbálja újra #{1}+confAppNotInstalled=A draw.io diagrams Confluence alkalmazás nincs telepítve.+plsInstallAppInConf=Kérjük, telepítse/csatlakoztassa ezt az alkalmazást a Confluence-ben a diagramok eléréséhez (a draw.io Confluence alkalmazás mellett)diff --git a/src/main/webapp/resources/dia_i18n.txt b/src/main/webapp/resources/dia_i18n.txtindex 8a1d6a998..9865955c8 100644--- a/src/main/webapp/resources/dia_i18n.txt+++ b/src/main/webapp/resources/dia_i18n.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=drawioUninstalledconfAttachmentArchived=confAttachmentArchivedconfDiagramMacroDowngrade=confDiagramMacroDowngradeDCSave500Error=DCSave500Error+confAppNotInstalled=confAppNotInstalled+plsInstallAppInConf=plsInstallAppInConfdiff --git a/src/main/webapp/resources/dia_id.txt b/src/main/webapp/resources/dia_id.txtindex 96e3da080..a5030f1a8 100644--- a/src/main/webapp/resources/dia_id.txt+++ b/src/main/webapp/resources/dia_id.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io telah dibongkar instalasinya, editor kini akan ditutupconfAttachmentArchived=Diagram milik dari halaman yang diarsipkan dan tidak bisa dimuat. Pulihkan halaman (ID: {1}) untuk memuatnya.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Operasi Confluence lain mengganggu penyimpanan, coba lagi #{1}+confAppNotInstalled=Aplikasi draw.io diagrams Confluence tidak terpasang.+plsInstallAppInConf=Silakan instal/hubungkan Aplikasi ini di Confluence untuk dapat mengakses diagram (selain aplikasi draw.io Confluence)diff --git a/src/main/webapp/resources/dia_it.txt b/src/main/webapp/resources/dia_it.txtindex 3381eb576..d2213063b 100644--- a/src/main/webapp/resources/dia_it.txt+++ b/src/main/webapp/resources/dia_it.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Un'altra operazione di Confluence ha interrotto il salvataggio, riprova #{1}+confAppNotInstalled=L'app draw.io diagrams per Confluence non è installata.+plsInstallAppInConf=Installa/connetti questa app in Confluence per poter accedere ai diagrammi (oltre all'app draw.io Confluence)diff --git a/src/main/webapp/resources/dia_ja.txt b/src/main/webapp/resources/dia_ja.txtindex 0a25b7cc1..e1ad1b529 100644--- a/src/main/webapp/resources/dia_ja.txt+++ b/src/main/webapp/resources/dia_ja.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=別の Confluence 操作により保存が中断されました。再試行 #{1}+confAppNotInstalled=draw.io diagrams Confluenceアプリがインストールされていません。+plsInstallAppInConf=図にアクセスするには、このアプリをConfluenceにインストール/接続してください(draw.io Confluenceアプリに加えて)diff --git a/src/main/webapp/resources/dia_kl.txt b/src/main/webapp/resources/dia_kl.txtindex 9d7ba8b63..ad3a0c176 100644--- a/src/main/webapp/resources/dia_kl.txt+++ b/src/main/webapp/resources/dia_kl.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io peerneqarpoq, immikkoortitsisarfik maanna matusaassaaqconfAttachmentArchived=Diagrammi quppernernut arkiveerneqarsimasunut ilaavoq nittartaanneqarsinnaanngitsullu. Qupperneq (ID: {1}) utersinniarluk nittartaaqqullugu.confDiagramMacroDowngrade=Diagrammi toqqorneqarpoq kisianni quppernerit macroat nutarterneqarsinnaanngilaq diagrammip revisionaa macroimi nutaanerusoq. Diagrammi Confluence qupperneq-immikkoortitsisarfimmiit allanngortigilluaruk.DCSave500Error=Confluence suliassaq alla toqqorsinermi unitsinniutigivoq, misileqqissarneq #{1}+confAppNotInstalled=draw.io diagrams Confluence App atorneqanngilaq.+plsInstallAppInConf=Diagramminut tunngasunut pissarsiarunnaarniarlugit app-i una Confluence-imi ikiuutiguk/attaveqarfiguk (draw.io Confluence app-imut illaneqarluni)diff --git a/src/main/webapp/resources/dia_kn.txt b/src/main/webapp/resources/dia_kn.txtindex ba61dc1d7..34590f214 100644--- a/src/main/webapp/resources/dia_kn.txt+++ b/src/main/webapp/resources/dia_kn.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Confluence ನ ಮತ್ತೊಂದು ಕಾರ್ಯಾಚರಣೆ ಉಳಿಸುವಿಕೆಯನ್ನು ವ್ಯತ್ಯಯಗೊಳಿಸಿದೆ, ಮತ್ತೆ ಪ್ರಯತ್ನಿಸಿ #{1}+confAppNotInstalled=draw.io diagrams Confluence ಅಪ್ಲಿಕೇಶನ್ ಸ್ಥಾಪಿಸಲಾಗಿಲ್ಲ.+plsInstallAppInConf=ರೇಖಾಚಿತ್ರಗಳನ್ನು ಪ್ರವೇಶಿಸಲು ದಯವಿಟ್ಟು ಈ ಅಪ್ಲಿಕೇಶನ್ ಅನ್ನು Confluence ನಲ್ಲಿ ಸ್ಥಾಪಿಸಿ/ಸಂಪರ್ಕಿಸಿ (draw.io Confluence ಅಪ್ಲಿಕೇಶನ್ ಜೊತೆಗೆ)diff --git a/src/main/webapp/resources/dia_ko.txt b/src/main/webapp/resources/dia_ko.txtindex 38d6e5490..e0163b5ff 100644--- a/src/main/webapp/resources/dia_ko.txt+++ b/src/main/webapp/resources/dia_ko.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=다른 Confluence 작업이 저장을 중단했습니다. 다시 시도 #{1}+confAppNotInstalled=draw.io diagrams Confluence 앱이 설치되어 있지 않습니다.+plsInstallAppInConf=다이어그램에 액세스하려면 Confluence에서 이 앱을 설치/연결하세요 (draw.io Confluence 앱 외에)diff --git a/src/main/webapp/resources/dia_lt.txt b/src/main/webapp/resources/dia_lt.txtindex 6d7e2be46..98ab93336 100644--- a/src/main/webapp/resources/dia_lt.txt+++ b/src/main/webapp/resources/dia_lt.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Kita Confluence operacija nutraukė išsaugojimą, bandykite dar kartą #{1}+confAppNotInstalled=draw.io diagrams Confluence programa neįdiegta.+plsInstallAppInConf=Prašome įdiegti/prijungti šią programėlę Confluence, kad galėtumėte pasiekti diagramas (be draw.io Confluence programėlės)diff --git a/src/main/webapp/resources/dia_lv.txt b/src/main/webapp/resources/dia_lv.txtindex 440920977..8f7980a24 100644--- a/src/main/webapp/resources/dia_lv.txt+++ b/src/main/webapp/resources/dia_lv.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Cita Confluence darbība pārtrauca saglabāšanu, mēģiniet vēlreiz #{1}+confAppNotInstalled=draw.io diagrams Confluence lietotne nav instalēta.+plsInstallAppInConf=Lūdzu, instalējiet/pievienojiet šo lietotni Confluence, lai varētu piekļūt diagrammām (papildus draw.io Confluence lietotnei)diff --git a/src/main/webapp/resources/dia_ml.txt b/src/main/webapp/resources/dia_ml.txtindex 83f9d292d..245a66332 100644--- a/src/main/webapp/resources/dia_ml.txt+++ b/src/main/webapp/resources/dia_ml.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Confluence ലെ മറ്റൊരു പ്രവർത്തനം സേവ് ചെയ്യൽ തടസ്സപ്പെടുത്തി, വീണ്ടും ശ്രമിക്കുക #{1}+confAppNotInstalled=draw.io diagrams Confluence ആപ്പ് ഇൻസ്റ്റാൾ ചെയ്തിട്ടില്ല.+plsInstallAppInConf=ഡയഗ്രാമുകൾ ആക്സസ് ചെയ്യാൻ കഴിയുന്നതിന് Confluence-ൽ ഈ ആപ്പ് ഇൻസ്റ്റാൾ/കണക്റ്റ് ചെയ്യുക (draw.io Confluence ആപ്പിന് പുറമേ)diff --git a/src/main/webapp/resources/dia_mr.txt b/src/main/webapp/resources/dia_mr.txtindex b2f3097f5..6ce80ec47 100644--- a/src/main/webapp/resources/dia_mr.txt+++ b/src/main/webapp/resources/dia_mr.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Confluence मधील दुसऱ्या प्रक्रियेमुळे जतन करणे खंडित झाले, पुन्हा प्रयत्न करा #{1}+confAppNotInstalled=draw.io diagrams Confluence अॅप इंस्टॉल केलेले नाही.+plsInstallAppInConf=आकृत्यांमध्ये प्रवेश करण्यासाठी कृपया हे अॅप Confluence मध्ये स्थापित/कनेक्ट करा (draw.io Confluence अॅप व्यतिरिक्त)diff --git a/src/main/webapp/resources/dia_ms.txt b/src/main/webapp/resources/dia_ms.txtindex a1751b878..d673cbc80 100644--- a/src/main/webapp/resources/dia_ms.txt+++ b/src/main/webapp/resources/dia_ms.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Operasi Confluence lain telah mengganggu penyimpanan, cuba lagi #{1}+confAppNotInstalled=Aplikasi draw.io diagrams Confluence tidak dipasang.+plsInstallAppInConf=Sila pasang/sambungkan Aplikasi ini dalam Confluence untuk dapat mengakses rajah (selain aplikasi draw.io Confluence)diff --git a/src/main/webapp/resources/dia_my.txt b/src/main/webapp/resources/dia_my.txtindex 39254285e..f2e360a0a 100644--- a/src/main/webapp/resources/dia_my.txt+++ b/src/main/webapp/resources/dia_my.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Confluence မှ အခြား လုပ်ဆောင်ချက်တစ်ခုက သိမ်းဆည်းမှုကို အနှောင့်အယှက် ဖြစ်စေခဲ့သည်၊ ထပ်မံကြိုးစားပါ #{1}+confAppNotInstalled=draw.io diagrams Confluence အက်ပ်ကို ထည့်သွင်းမထားပါ။+plsInstallAppInConf=ပုံကြမ်းများကို ဝင်ရောက်နိုင်ရန် ဤအက်ပ်ကို Confluence တွင် ထည့်သွင်း/ချိတ်ဆက်ပါ (draw.io Confluence အက်ပ်အပြင်)diff --git a/src/main/webapp/resources/dia_nl.txt b/src/main/webapp/resources/dia_nl.txtindex c6a63229e..e584e4b8d 100644--- a/src/main/webapp/resources/dia_nl.txt+++ b/src/main/webapp/resources/dia_nl.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io is verwijderd, de editor zal nu sluitenconfAttachmentArchived=Diagram behoort tot een gearchiveerde pagina en kan niet worden geladen. Herstel de pagina (ID: {1}) om deze te laden.confDiagramMacroDowngrade=Het diagram wordt opgeslagen, maar de paginamacro kan niet worden bijgewerkt omdat de diagraamrevisie in de macro nieuwer is. Bewerk het diagram vanuit de Confluence-pagina-editor.DCSave500Error=Een andere Confluence-bewerking onderbrak het opslaan, probeer opnieuw #{1}+confAppNotInstalled=De draw.io diagrams Confluence-app is niet geïnstalleerd.+plsInstallAppInConf=Installeer/verbind deze app in Confluence om toegang te krijgen tot de diagrammen (naast de draw.io Confluence-app)diff --git a/src/main/webapp/resources/dia_no.txt b/src/main/webapp/resources/dia_no.txtindex 95d30fd01..23eea0838 100644--- a/src/main/webapp/resources/dia_no.txt+++ b/src/main/webapp/resources/dia_no.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=En annen Confluence-operasjon avbrøt lagringen, prøv på nytt #{1}+confAppNotInstalled=draw.io diagrams Confluence-appen er ikke installert.+plsInstallAppInConf=Vennligst installer/koble til denne appen i Confluence for å få tilgang til diagrammene (i tillegg til draw.io Confluence-appen)diff --git a/src/main/webapp/resources/dia_pl.txt b/src/main/webapp/resources/dia_pl.txtindex 3e96f49e6..9b424f8b3 100644--- a/src/main/webapp/resources/dia_pl.txt+++ b/src/main/webapp/resources/dia_pl.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Inna operacja Confluence przerwała zapisywanie, spróbuj ponownie #{1}+confAppNotInstalled=Aplikacja draw.io diagrams dla Confluence nie jest zainstalowana.+plsInstallAppInConf=Zainstaluj/połącz tę aplikację w Confluence, aby uzyskać dostęp do diagramów (oprócz aplikacji draw.io Confluence)diff --git a/src/main/webapp/resources/dia_pt-br.txt b/src/main/webapp/resources/dia_pt-br.txtindex c5c96da3a..717106c93 100644--- a/src/main/webapp/resources/dia_pt-br.txt+++ b/src/main/webapp/resources/dia_pt-br.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Outra operação do Confluence interrompeu o salvamento, tente novamente #{1}+confAppNotInstalled=O aplicativo draw.io diagrams para Confluence não está instalado.+plsInstallAppInConf=Por favor, instale/conecte este aplicativo no Confluence para poder acessar os diagramas (além do aplicativo draw.io Confluence)diff --git a/src/main/webapp/resources/dia_pt.txt b/src/main/webapp/resources/dia_pt.txtindex 6d836022b..123a55f3a 100644--- a/src/main/webapp/resources/dia_pt.txt+++ b/src/main/webapp/resources/dia_pt.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Outra operação do Confluence interrompeu a gravação, tente novamente #{1}+confAppNotInstalled=A aplicação draw.io diagrams para Confluence não está instalada.+plsInstallAppInConf=Por favor, instale/conecte esta aplicação no Confluence para poder aceder aos diagramas (além da aplicação draw.io Confluence)diff --git a/src/main/webapp/resources/dia_ro.txt b/src/main/webapp/resources/dia_ro.txtindex db5ed3bab..a30fe3a99 100644--- a/src/main/webapp/resources/dia_ro.txt+++ b/src/main/webapp/resources/dia_ro.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=O altă operațiune Confluence a întrerupt salvarea, încercați din nou #{1}+confAppNotInstalled=Aplicația draw.io diagrams pentru Confluence nu este instalată.+plsInstallAppInConf=Vă rugăm să instalați/conectați această aplicație în Confluence pentru a putea accesa diagramele (pe lângă aplicația draw.io Confluence)diff --git a/src/main/webapp/resources/dia_ru.txt b/src/main/webapp/resources/dia_ru.txtindex c25784114..55407e39b 100644--- a/src/main/webapp/resources/dia_ru.txt+++ b/src/main/webapp/resources/dia_ru.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io был удалён, редактор сейчас зconfAttachmentArchived=Диаграмма принадлежит архивной странице и не может быть загружена. Восстановите страницу (ID: {1}), чтобы загрузить диграмму.confDiagramMacroDowngrade=Диаграмма сохранена, но макрос страницы не может быть обновлён, поскольку версия диаграммы в макросе более новая. Пожалуйста, отредактируйте диаграмму в редакторе страниц Confluence.DCSave500Error=Другая операция Confluence прервала сохранение, повторите попытку #{1}+confAppNotInstalled=Приложение draw.io diagrams для Confluence не установлено.+plsInstallAppInConf=Пожалуйста, установите/подключите это приложение в Confluence, чтобы получить доступ к диаграммам (в дополнение к приложению draw.io Confluence)diff --git a/src/main/webapp/resources/dia_si.txt b/src/main/webapp/resources/dia_si.txtindex 7bea89b1a..ff74394b9 100644--- a/src/main/webapp/resources/dia_si.txt+++ b/src/main/webapp/resources/dia_si.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=වෙනත් Confluence ක්රියාවක් සුරැකීම බාධා කළා, නැවත උත්සාහ කරන්න #{1}+confAppNotInstalled=draw.io diagrams Confluence යෙදුම ස්ථාපනය කර නැත.+plsInstallAppInConf=රූප සටහන් වෙත ප්රවේශ වීමට කරුණාකර මෙම යෙදුම Confluence හි ස්ථාපනය/සම්බන්ධ කරන්න (draw.io Confluence යෙදුමට අමතරව)diff --git a/src/main/webapp/resources/dia_sk.txt b/src/main/webapp/resources/dia_sk.txtindex f48ad95c7..924a852f8 100644--- a/src/main/webapp/resources/dia_sk.txt+++ b/src/main/webapp/resources/dia_sk.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Ukladanie prerušila iná operácia Confluence, skúste to znova #{1}+confAppNotInstalled=Aplikácia draw.io diagrams pre Confluence nie je nainštalovaná.+plsInstallAppInConf=Nainštalujte/pripojte túto aplikáciu v Confluence, aby ste mali prístup k diagramom (okrem aplikácie draw.io Confluence)diff --git a/src/main/webapp/resources/dia_sl.txt b/src/main/webapp/resources/dia_sl.txtindex 6922a2a3e..ea682c385 100644--- a/src/main/webapp/resources/dia_sl.txt+++ b/src/main/webapp/resources/dia_sl.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Druga operacija Confluence je prekinila shranjevanje, poskusite znova #{1}+confAppNotInstalled=Aplikacija draw.io diagrams za Confluence ni nameščena.+plsInstallAppInConf=Prosimo, namestite/povežite to aplikacijo v Confluence za dostop do diagramov (poleg aplikacije draw.io Confluence)diff --git a/src/main/webapp/resources/dia_sr.txt b/src/main/webapp/resources/dia_sr.txtindex d6039b53c..39e2ad7df 100644--- a/src/main/webapp/resources/dia_sr.txt+++ b/src/main/webapp/resources/dia_sr.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Druga Confluence operacija je prekinula čuvanje, pokušajte ponovo #{1}+confAppNotInstalled=Апликација draw.io diagrams за Confluence није инсталирана.+plsInstallAppInConf=Молимо инсталирајте/повежите ову апликацију у Confluence да бисте могли да приступите дијаграмима (поред draw.io Confluence апликације)diff --git a/src/main/webapp/resources/dia_sv.txt b/src/main/webapp/resources/dia_sv.txtindex f78a25c23..732f4e985 100644--- a/src/main/webapp/resources/dia_sv.txt+++ b/src/main/webapp/resources/dia_sv.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=En annan Confluence-åtgärd avbröt sparandet, försök igen #{1}+confAppNotInstalled=draw.io diagrams Confluence-appen är inte installerad.+plsInstallAppInConf=Vänligen installera/anslut denna app i Confluence för att kunna komma åt diagrammen (utöver draw.io Confluence-appen)diff --git a/src/main/webapp/resources/dia_sw.txt b/src/main/webapp/resources/dia_sw.txtindex acffe1009..d3921be17 100644--- a/src/main/webapp/resources/dia_sw.txt+++ b/src/main/webapp/resources/dia_sw.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Operesheni nyingine ya Confluence ilikatiza kuhifadhi, jaribu tena #{1}+confAppNotInstalled=Programu ya draw.io diagrams Confluence haijasanikishwa.+plsInstallAppInConf=Tafadhali sakinisha/unganisha Programu hii katika Confluence ili uweze kufikia michoro (pamoja na programu ya draw.io Confluence)diff --git a/src/main/webapp/resources/dia_ta.txt b/src/main/webapp/resources/dia_ta.txtindex 4a1c0c9df..bb37a8b8d 100644--- a/src/main/webapp/resources/dia_ta.txt+++ b/src/main/webapp/resources/dia_ta.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Confluence இன் மற்றொரு செயல் சேமிப்பை இடைநிறுத்தியது, மீண்டும் முயற்சிக்கவும் #{1}+confAppNotInstalled=draw.io diagrams Confluence செயலி நிறுவப்படவில்லை.+plsInstallAppInConf=வரைபடங்களை அணுக Confluence இல் இந்த செயலியை நிறுவ/இணைக்கவும் (draw.io Confluence செயலிக்கு கூடுதலாக)diff --git a/src/main/webapp/resources/dia_te.txt b/src/main/webapp/resources/dia_te.txtindex 32c0a49ef..b30b4b198 100644--- a/src/main/webapp/resources/dia_te.txt+++ b/src/main/webapp/resources/dia_te.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Confluence లోని మరో చర్య సేవ్ చేయడాన్ని అంతరాయం చేసింది, మళ్లీ ప్రయత్నించండి #{1}+confAppNotInstalled=draw.io diagrams Confluence యాప్ ఇన్స్టాల్ చేయబడలేదు.+plsInstallAppInConf=రేఖాచిత్రాలను యాక్సెస్ చేయగలిగేలా దయచేసి ఈ యాప్ను Confluenceలో ఇన్స్టాల్/కనెక్ట్ చేయండి (draw.io Confluence యాప్తో పాటు)diff --git a/src/main/webapp/resources/dia_th.txt b/src/main/webapp/resources/dia_th.txtindex fb73d6435..406813b1e 100644--- a/src/main/webapp/resources/dia_th.txt+++ b/src/main/webapp/resources/dia_th.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=การดำเนินการอื่นใน Confluence ขัดจังหวะการบันทึก โปรดลองอีกครั้ง #{1}+confAppNotInstalled=draw.io diagrams Confluence App is not installed.+plsInstallAppInConf=กรุณาติดตั้ง/เชื่อมต่อแอปนี้ใน Confluence เพื่อให้สามารถเข้าถึงไดอะแกรมได้ (นอกเหนือจากแอป draw.io Confluence)diff --git a/src/main/webapp/resources/dia_tr.txt b/src/main/webapp/resources/dia_tr.txtindex e2a093f7a..0c735c427 100644--- a/src/main/webapp/resources/dia_tr.txt+++ b/src/main/webapp/resources/dia_tr.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Başka bir Confluence işlemi kaydetmeyi kesintiye uğrattı, yeniden deneyin #{1}+confAppNotInstalled=draw.io diagrams Confluence Uygulaması yüklü değil.+plsInstallAppInConf=Diyagramlara erişebilmek için lütfen bu Uygulamayı Confluence'da yükleyin/bağlayın (draw.io Confluence uygulamasına ek olarak)diff --git a/src/main/webapp/resources/dia_uk.txt b/src/main/webapp/resources/dia_uk.txtindex 485f5f5e6..8a7a1c2e1 100644--- a/src/main/webapp/resources/dia_uk.txt+++ b/src/main/webapp/resources/dia_uk.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Інша операція Confluence перервала збереження, спробуйте ще раз #{1}+confAppNotInstalled=Додаток draw.io diagrams для Confluence не встановлено.+plsInstallAppInConf=Будь ласка, встановіть/підключіть цей додаток у Confluence, щоб отримати доступ до діаграм (на додаток до додатка draw.io Confluence)diff --git a/src/main/webapp/resources/dia_vi.txt b/src/main/webapp/resources/dia_vi.txtindex 5abd852ae..82b9f3945 100644--- a/src/main/webapp/resources/dia_vi.txt+++ b/src/main/webapp/resources/dia_vi.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=Một thao tác Confluence khác đã làm gián đoạn việc lưu, hãy thử lại #{1}+confAppNotInstalled=Ứng dụng draw.io diagrams Confluence chưa được cài đặt.+plsInstallAppInConf=Vui lòng cài đặt/kết nối Ứng dụng này trong Confluence để có thể truy cập các sơ đồ (ngoài ứng dụng draw.io Confluence)diff --git a/src/main/webapp/resources/dia_zh-tw.txt b/src/main/webapp/resources/dia_zh-tw.txtindex 9e2a40598..a353356f3 100644--- a/src/main/webapp/resources/dia_zh-tw.txt+++ b/src/main/webapp/resources/dia_zh-tw.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=另一個 Confluence 操作中斷了儲存,請重試 #{1}+confAppNotInstalled=draw.io diagrams Confluence 應用程式未安裝。+plsInstallAppInConf=請在Confluence中安裝/連接此應用程式以存取圖表(除draw.io Confluence應用程式外)diff --git a/src/main/webapp/resources/dia_zh.txt b/src/main/webapp/resources/dia_zh.txtindex e4df8563f..43e868d64 100644--- a/src/main/webapp/resources/dia_zh.txt+++ b/src/main/webapp/resources/dia_zh.txt@@ -1332,3 +1332,5 @@ drawioUninstalled=draw.io has been uninstalled, the editor will now closeconfAttachmentArchived=Diagram belongs to an archived page and cannot be loaded. Restore the page (ID: {1}) to load it.confDiagramMacroDowngrade=The diagram is saved but the page macro cannot be updated as the diagraam revision in the macro is newer. Please edit the diagram from Confluence page editor.DCSave500Error=另一个 Confluence 操作中断了保存,请重试 #{1}+confAppNotInstalled=draw.io diagrams Confluence 应用未安装。+plsInstallAppInConf=请在Confluence中安装/连接此应用程序以访问图表(除draw.io Confluence应用程序外)diff --git a/src/main/webapp/service-worker.js b/src/main/webapp/service-worker.jsindex 617db0fd5..a7696cc4b 100644--- a/src/main/webapp/service-worker.js+++ b/src/main/webapp/service-worker.js@@ -1,2 +1,2 @@-if(!self.define){let e,i={};const s=(s,a)=>(s=new URL(s+".js",a).href,i[s]||new Promise((i=>{if("document"in self){const e=document.createElement("script");e.src=s,e.onload=i,document.head.appendChild(e)}else e=s,importScripts(s),i()})).then((()=>{let e=i[s];if(!e)throw new Error(`Module ${s} didn’t register its module`);return e})));self.define=(a,r)=>{const c=e||("document"in self?document.currentScript.src:"")||location.href;if(i[c])return;let o={};const d=e=>s(e,c),n={module:{uri:c},exports:o,require:d};i[c]=Promise.all(a.map((e=>n[e]||d(e)))).then((e=>(r(...e),o)))}}define(["./workbox-acfd85e3"],(function(e){"use strict";self.skipWaiting(),e.precacheAndRoute([{url:"js/bootstrap.js",revision:"b6f2274dfc992e6b0cb52bd8489da5e2"},{url:"js/main.js",revision:"a8d40469d3d72ab4b11059362f3dd825"},{url:"js/app.min.js",revision:"70a1b91ea24b45d858646a63914b3747"},{url:"js/extensions.min.js",revision:"0fad6cffc65885f33084d2ecfd0a2535"},{url:"js/orgchart.min.js",revision:"619d8c4dab47b81868916df31f55478b"},{url:"js/stencils.min.js",revision:"4c955b95c4308b0414578762513424d2"},{url:"js/shapes-14-6-5.min.js",revision:"6ce46f345044bdb3cde439bd81b37952"},{url:"js/math-print.js",revision:"ad9cf0f2f2b614eac58ea72499c1017f"},{url:"index.html",revision:"9de11c65ec13b24c73ace7042bc529cc"},{url:"open.html",revision:"d71816b3b00e769fc6019fcdd6921662"},{url:"shortcuts.svg",revision:"2381dd779ce6cfee954042a7f784c7e6"},{url:"styles/fonts/ArchitectsDaughter-Regular.ttf",revision:"31c2153c0530e32553b31a49b3d70736"},{url:"styles/grapheditor.css",revision:"ed4a663eb787c135a04e5f6c97bdaa47"},{url:"styles/high-contrast.css",revision:"4ecc9f6d08787a9e2d29dacf7aadd1ca"},{url:"js/dropbox/Dropbox-sdk.min.js",revision:"4b9842892aa37b156db0a8364b7a83b0"},{url:"js/onedrive/OneDrive.js",revision:"e863f5e6833892f22492211663e3efe9"},{url:"js/viewer-static.min.js",revision:"467a81491af316c2d60178b82362a789"},{url:"connect/jira/editor-1-3-3.html",revision:"41dc8af9576b47f359cff19fff7a41c2"},{url:"connect/jira/viewerPanel-1-3-12.html",revision:"4836f5e4308abe57830e441518364f23"},{url:"connect/jira/viewerPanel2.html",revision:"0dd1ee1343a46b5c03aedbc587450b84"},{url:"connect/jira/fullScreenViewer-1-3-3.html",revision:"abed474e47c0c41a5ad2366b4828f77a"},{url:"connect/jira/viewerPanel.js",revision:"85011efa68d638da560871ee2ab3a6fe"},{url:"connect/jira/spinner.gif",revision:"7d857ab9d86123e93d74d48e958fe743"},{url:"connect/jira/editor.js",revision:"3dc56c6566abaa7af151a8359e5bb556"},{url:"connect/jira/fullscreen-viewer-init.js",revision:"07043c1ee868dd425f7876da94bbc307"},{url:"connect/jira/fullscreen-viewer.js",revision:"a6be96b8ddc5a25196925713cf34d571"},{url:"plugins/connectJira.js",revision:"d220cad2edf0d6b161505fe12ae3eaa6"},{url:"plugins/cConf-comments.js",revision:"e4a4b5a0fb22393693d3b62968c50644"},{url:"plugins/cConf-1-4-8.js",revision:"bf18de843e555a2c89b3912b4afdace2"},{url:"connect/confluence/connectUtils-1-4-8.js",revision:"ec3bc85db1e4451f87e63e23a0c36611"},{url:"connect/new_common/cac.js",revision:"443fb416a407b8a183d0c8f4ecf68808"},{url:"connect/gdrive_common/gac.js",revision:"ac3a28fa16c3e6a36af854fcfc018a81"},{url:"connect/onedrive_common/ac.js",revision:"37c626698573f4419ab9f7ecd7b4bb01"},{url:"connect/confluence/viewer-init.js",revision:"c5e51e32ac74414d8d518af83ee2781f"},{url:"connect/confluence/viewer.js",revision:"c12112f0ec92dee98073eaffd4c9bea9"},{url:"connect/confluence/viewer-1-4-42.html",revision:"69c1bca25fd4889bf832e8441c972268"},{url:"connect/confluence/macroEditor-1-4-8.html",revision:"4ad77ae3f08c19eddac932b2fa8c7068"},{url:"connect/confluence/includeDiagram-1-4-8.js",revision:"489bc44e46d6481277c3f2a5d81a2db6"},{url:"connect/confluence/includeDiagram.html",revision:"01b04b3f54f1e2e63fcf1df033d24519"},{url:"connect/confluence/macro-editor.js",revision:"b9000d6c20f30e4068f83bd0b56965ca"},{url:"math4/es5/ui/safe.js",revision:"618db080aea97ff949c8dd7e30a3e720"},{url:"math4/es5/core.js",revision:"d7a033e47f3afc84885eb841e492a698"},{url:"math4/es5/input/tex/extensions/bbm.js",revision:"d3e2b2dc668173b157347157578cf760"},{url:"math4/es5/input/tex/extensions/html.js",revision:"c9b1533dc9a9890cdc4dc4cb363a783f"},{url:"math4/es5/input/tex/extensions/extpfeil.js",revision:"db8bfc41f83afe6c5b96354c2688c4fc"},{url:"math4/es5/input/tex/extensions/action.js",revision:"39e1efe2fe2e4dbf3ed2deb0b9261378"},{url:"math4/es5/input/tex/extensions/boldsymbol.js",revision:"26ec828b274f2675981203c0c21f0e17"},{url:"math4/es5/input/tex/extensions/cases.js",revision:"df3d798190035d2671b2221206da0470"},{url:"math4/es5/input/tex/extensions/colortbl.js",revision:"b1db5e1482d8cb0c6ac602c2f2286943"},{url:"math4/es5/input/tex/extensions/verb.js",revision:"0f443e787fdab40e60137c9e9e8c0dac"},{url:"math4/es5/input/tex/extensions/unicode.js",revision:"5aaa624be45ed6a558d5e34710df5a86"},{url:"math4/es5/input/tex/extensions/cancel.js",revision:"243267af11c95d5f74e60340171f6a97"},{url:"math4/es5/input/tex/extensions/enclose.js",revision:"825eae6da999c1323c1a3e8b7ea974c6"},{url:"math4/es5/input/tex/extensions/units.js",revision:"ab5c211bf9e7f638a3e197e0dca120d5"},{url:"math4/es5/input/tex/extensions/color.js",revision:"119ad3d732c3ca57b46f864d20ce1807"},{url:"math4/es5/input/tex/extensions/mathtools.js",revision:"68170aa60f6046e69d737218d91f9cc2"},{url:"math4/es5/input/tex/extensions/begingroup.js",revision:"ed1473a054e03606ea1205f9746bab7f"},{url:"math4/es5/input/tex/extensions/braket.js",revision:"5e5f4371fc2c023e824ad5cfdf833daa"},{url:"math4/es5/input/tex/extensions/dsfont.js",revision:"4649b53d03f413805d9c8e0f376d54d5"},{url:"math4/es5/input/tex/extensions/bbox.js",revision:"ee9840cae74436de8f499f57514cefd1"},{url:"math4/es5/input/tex/extensions/amscd.js",revision:"196ade5768f8d620aa2e53d8acfe0c63"},{url:"math4/es5/input/tex/extensions/textcomp.js",revision:"7415452ca7914b843e7f64e3f0ad999c"},{url:"math4/es5/input/tex/extensions/bussproofs.js",revision:"e1f3f2dccaaf3b53d3329fd50c47ccb5"},{url:"math4/es5/input/tex/extensions/bboldx.js",revision:"0e624a10f7e5a2e8c40108f3f357d52c"},{url:"math4/es5/input/tex/extensions/physics.js",revision:"a1e7b7fe6e8a7c4510de2983f0444292"},{url:"math4/es5/input/tex/extensions/centernot.js",revision:"54a97e76845a2831bea9dff6c49cb87a"},{url:"math4/es5/input/tex/extensions/gensymb.js",revision:"4f2ea1f8d6a8f66cd16ff2978eb8ffc3"},{url:"math4/es5/input/tex/extensions/upgreek.js",revision:"4d419e9fea756709082d5bc997c2ac99"},{url:"math4/es5/input/tex/extensions/empheq.js",revision:"c57b3e0ba8c1328c1299725689ec9809"},{url:"math4/es5/input/tex/extensions/mhchem.js",revision:"51df23bad3b36feff2eee5145f5019cf"},{url:"math4/es5/input/asciimath.js",revision:"ce6a48e6591a8828079ca52bedc6cfd6"},{url:"math4/es5/input/tex.js",revision:"b37f43017b1da87ba0338cd2ad2cc2d3"},{url:"math4/es5/startup.js",revision:"2edb14e5a4eee8a2deb3b6d6c1d2da65"},{url:"math4/es5/output/svg.js",revision:"4e09bed3cc6919a9f7148a6959b0df2f"},{url:"math4/es5/fonts/mathjax-bbm-font-extension/svg.js",revision:"1aa944de4855499f9a553a295bf68c61"},{url:"math4/es5/fonts/mathjax-tex-font/svg.js",revision:"945c881ed536ba14ad850d91515811e4"},{url:"math4/es5/fonts/mathjax-bboldx-font-extension/svg.js",revision:"68e28ef57e96d55244d87c4e8405cea7"},{url:"math4/es5/fonts/mathjax-dsfont-font-extension/svg.js",revision:"4abc37840d7b4061c9b34578ed9877c0"},{url:"math4/es5/fonts/mathjax-mhchem-font-extension/svg.js",revision:"251601109d53e2e75d15affd9a1d9d42"},{url:"resources/dia.txt",revision:"4f564259a8cbb5275ee2f0910df6945d"},{url:"resources/dia_am.txt",revision:"e8aae8879d9cccec0a4d391fac6dccd1"},{url:"resources/dia_ar.txt",revision:"b145d43b2acd0493b044346595fc9ef9"},{url:"resources/dia_bg.txt",revision:"fad4385ef0173d3ee0af19df4cfa1815"},{url:"resources/dia_bn.txt",revision:"8fb0394ff11ea52a573d3a98517c5a96"},{url:"resources/dia_bs.txt",revision:"ae8cdb842c790ec23802fe1006f17227"},{url:"resources/dia_ca.txt",revision:"f2b9240f7c1ed8d3f17ee39ac3eecc24"},{url:"resources/dia_cs.txt",revision:"03db55d516254721420a39b75ab97b35"},{url:"resources/dia_da.txt",revision:"67a85c0882462c7e1abd0f1df06a94e5"},{url:"resources/dia_de.txt",revision:"b095a52ed7bf166917d7aafe02d2594d"},{url:"resources/dia_el.txt",revision:"bb36e7df85b5b795840bb8d0c82ceb90"},{url:"resources/dia_eo.txt",revision:"41af662d8e6b13467e839c6ace6c9ef9"},{url:"resources/dia_es.txt",revision:"eca4f9b1474396e1dc6e989ed1ad4f10"},{url:"resources/dia_et.txt",revision:"b275eb6b850d78cef6ce7a5ac40e96b9"},{url:"resources/dia_eu.txt",revision:"de4d903fffa61b3503738ef90027864b"},{url:"resources/dia_fa.txt",revision:"49811d8ed50c1b8423e1aca7f5c95eee"},{url:"resources/dia_fi.txt",revision:"d20fa7bab32e5fc763946f2c707e95d1"},{url:"resources/dia_fil.txt",revision:"fbbbec164df5b1e9261c599581e81253"},{url:"resources/dia_fr.txt",revision:"7f2b92b4eb9b4f66221c4a095bb6f404"},{url:"resources/dia_gl.txt",revision:"9cc9deff662b0bd817d3f26cb79a4acd"},{url:"resources/dia_gu.txt",revision:"b5592fa76111734b3dc1972cba765c21"},{url:"resources/dia_he.txt",revision:"d08a575d1b11fd7e5006f1ce123d937a"},{url:"resources/dia_hi.txt",revision:"53eeaba6bda9e19978c6b21a432ee76a"},{url:"resources/dia_hr.txt",revision:"005048a6afc880109df33039f3e1b9ce"},{url:"resources/dia_hu.txt",revision:"774b3c2567aea98e2bc2c386063ed1ef"},{url:"resources/dia_id.txt",revision:"1e15e4ca3001d18087bd2d74e27799bb"},{url:"resources/dia_it.txt",revision:"ef597b3a946d4caaa3330dd017692f9a"},{url:"resources/dia_ja.txt",revision:"4e0e323d5e98e267f70be45bc13b5622"},{url:"resources/dia_kn.txt",revision:"a8de03a7f5f71ac066fe046a8a0af2f1"},{url:"resources/dia_ko.txt",revision:"56bbd3d791fbdbb321c1e915acda9d35"},{url:"resources/dia_lt.txt",revision:"ae620ef4df66f3e55154d4278ad1c160"},{url:"resources/dia_lv.txt",revision:"1b058bb21172290d50a0c74fa7a55d6e"},{url:"resources/dia_ml.txt",revision:"2760696edf1c1b25aba5651f293e8f85"},{url:"resources/dia_mr.txt",revision:"fe47df01fa65a94e3aa33ae1bf2a2322"},{url:"resources/dia_ms.txt",revision:"b195783f6b7138cd6bb585f35ea33983"},{url:"resources/dia_my.txt",revision:"c9c12b90431af8f5cf9434d7c10a9aa6"},{url:"resources/dia_nl.txt",revision:"fa8614ff66d75aba781bfb00b1d1b616"},{url:"resources/dia_no.txt",revision:"0f83c0eb396da20e8ad4a39efbcf269b"},{url:"resources/dia_pl.txt",revision:"b3dbea322bf03284970d73fd1343a86d"},{url:"resources/dia_pt-br.txt",revision:"e437f87506159c819112bc562d511a96"},{url:"resources/dia_pt.txt",revision:"ee9e34e7ebc7ef313902a4cd35238e6c"},{url:"resources/dia_ro.txt",revision:"a112a51b59ff1f9ea432f9b22cf82478"},{url:"resources/dia_ru.txt",revision:"8e0b7c66eef91fbeeb774eb11c86dc90"},{url:"resources/dia_si.txt",revision:"c78264b59b297be84b1a65306dfc0fc0"},{url:"resources/dia_sk.txt",revision:"2c3f1fa5da59fea4fe61123f3e9b3fe5"},{url:"resources/dia_sl.txt",revision:"ee40fba61c9f4324ec290637361cce77"},{url:"resources/dia_sr.txt",revision:"42326cdd88b5fc891d18d5684ae3c32b"},{url:"resources/dia_sv.txt",revision:"bd8a20d199aaef41e9388884ca47a7e3"},{url:"resources/dia_sw.txt",revision:"c12f99ca262693efd79dfa6a8ad758cd"},{url:"resources/dia_ta.txt",revision:"b473825f353d4f082dd787f3440834f2"},{url:"resources/dia_te.txt",revision:"13d1317533ccd1dbe53c0652dd6cbbe5"},{url:"resources/dia_th.txt",revision:"3e2028f41dd997caace80e4620a26dc7"},{url:"resources/dia_tr.txt",revision:"a3deb148320b997dacc232525ef4e9cd"},{url:"resources/dia_uk.txt",revision:"701dd069bc2e7605ffbc3b9faa14934d"},{url:"resources/dia_vi.txt",revision:"58e3a1e83b8ebccda8cc92178918740b"},{url:"resources/dia_zh-tw.txt",revision:"a99b21c5ab1168fdb71f63f7085902b6"},{url:"resources/dia_zh.txt",revision:"8d8f7aea8d1254e6dca29b5429275af6"},{url:"favicon.ico",revision:"b2bf17349e4b50ce4ba311f079f8bf7d"},{url:"images/manifest.json",revision:"421b4fae5b46499348d194e1f93558c3"},{url:"images/logo.png",revision:"e4e0d092abdb1e668b5ec41a7fe0713c"},{url:"images/drawlogo.svg",revision:"4bf4d14ebcf072d8bd4c5a1c89e88fc6"},{url:"images/drawlogo48.png",revision:"8b13428373aca67b895364d025f42417"},{url:"images/drawlogo-gray.svg",revision:"0aabacbc0873816e1e09e4736ae44c7d"},{url:"images/drawlogo-text-bottom.svg",revision:"f6c438823ab31f290940bd4feb8dd9c2"},{url:"images/logo-flat-small.png",revision:"4b178e59ff499d6dd1894fc498b59877"},{url:"images/apple-touch-icon.png",revision:"732c29e21332a926318a7005d21ec450"},{url:"images/icon-192-maskable.png",revision:"47e006d0ce4a35eb5beaa97f0c2bfed0"},{url:"images/icon-192.png",revision:"d022403d52435d76afec82c4e24a17ef"},{url:"images/icon-512-maskable.png",revision:"cf152feeb01fb21f3148a71a3540266e"},{url:"images/icon-512.png",revision:"a3a0df7e7a385244b74073f81ecc45de"},{url:"images/delete.png",revision:"5f2350f2fd20f1a229637aed32ed8f29"},{url:"images/droptarget.png",revision:"bbf7f563fb6784de1ce96f329519b043"},{url:"images/logo-flat.png",revision:"038070ab43aee6e54a791211859fc67b"},{url:"images/google-drive-logo.svg",revision:"5d9f2f5bbc7dcc252730a0072bb23059"},{url:"images/onedrive-logo.svg",revision:"3645b344ec0634c1290dd58d7dc87b97"},{url:"images/dropbox-logo.svg",revision:"e6be408c77cf9c82d41ac64fa854280a"},{url:"images/github-logo.svg",revision:"a1a999b69a275eac0cb918360ac05ae1"},{url:"images/gitlab-logo.svg",revision:"0faea8c818899e58533e153c44b10517"},{url:"images/trello-logo.svg",revision:"006fd0d7d70d7e95dc691674cb12e044"},{url:"images/osa_drive-harddisk.png",revision:"b954e1ae772087c5b4c6ae797e1f9649"},{url:"images/osa_database.png",revision:"c350d9d9b95f37b6cfe798b40ede5fb0"},{url:"images/google-drive-logo-white.svg",revision:"f329d8b1be7778515a85b93fc35d9f26"},{url:"images/dropbox-logo-white.svg",revision:"4ea8299ac3bc31a16f199ee3aec223bf"},{url:"images/onedrive-logo-white.svg",revision:"b3602fa0fc947009cff3f33a581cff4d"},{url:"images/github-logo-white.svg",revision:"537b1127b3ca0f95b45782d1304fb77a"},{url:"images/gitlab-logo-white.svg",revision:"5fede9ac2f394c716b8c23e3fddc3910"},{url:"images/trello-logo-white-orange.svg",revision:"e2a0a52ba3766682f138138d10a75eb5"},{url:"images/logo-confluence.png",revision:"ed1e55d44ae5eba8f999aba2c93e8331"},{url:"images/logo-jira.png",revision:"f8d460555a0d1f87cfd901e940666629"},{url:"images/spin.gif",revision:"487cbb40b9ced439aa1ad914e816d773"},{url:"images/aui-wait.gif",revision:"5a474bcbd8d2f2826f03d10ea44bf60e"},{url:"mxgraph/css/common.css",revision:"8d895dc8387694c128232b13e631be39"}],{ignoreURLParametersMatching:[/.*/]})}));+if(!self.define){let e,i={};const s=(s,r)=>(s=new URL(s+".js",r).href,i[s]||new Promise((i=>{if("document"in self){const e=document.createElement("script");e.src=s,e.onload=i,document.head.appendChild(e)}else e=s,importScripts(s),i()})).then((()=>{let e=i[s];if(!e)throw new Error(`Module ${s} didn’t register its module`);return e})));self.define=(r,a)=>{const c=e||("document"in self?document.currentScript.src:"")||location.href;if(i[c])return;let d={};const o=e=>s(e,c),n={module:{uri:c},exports:d,require:o};i[c]=Promise.all(r.map((e=>n[e]||o(e)))).then((e=>(a(...e),d)))}}define(["./workbox-acfd85e3"],(function(e){"use strict";self.skipWaiting(),e.precacheAndRoute([{url:"js/bootstrap.js",revision:"b6f2274dfc992e6b0cb52bd8489da5e2"},{url:"js/main.js",revision:"a8d40469d3d72ab4b11059362f3dd825"},{url:"js/app.min.js",revision:"d5e0a8cc775503e322853c40449f4946"},{url:"js/extensions.min.js",revision:"4d5f64ca176ebc16b0745d9a5095f05e"},{url:"js/orgchart.min.js",revision:"619d8c4dab47b81868916df31f55478b"},{url:"js/stencils.min.js",revision:"4c955b95c4308b0414578762513424d2"},{url:"js/shapes-14-6-5.min.js",revision:"6ce46f345044bdb3cde439bd81b37952"},{url:"js/math-print.js",revision:"ad9cf0f2f2b614eac58ea72499c1017f"},{url:"index.html",revision:"9de11c65ec13b24c73ace7042bc529cc"},{url:"open.html",revision:"d71816b3b00e769fc6019fcdd6921662"},{url:"shortcuts.svg",revision:"2381dd779ce6cfee954042a7f784c7e6"},{url:"styles/fonts/ArchitectsDaughter-Regular.ttf",revision:"31c2153c0530e32553b31a49b3d70736"},{url:"styles/grapheditor.css",revision:"ed4a663eb787c135a04e5f6c97bdaa47"},{url:"styles/high-contrast.css",revision:"4ecc9f6d08787a9e2d29dacf7aadd1ca"},{url:"js/dropbox/Dropbox-sdk.min.js",revision:"4b9842892aa37b156db0a8364b7a83b0"},{url:"js/onedrive/OneDrive.js",revision:"e863f5e6833892f22492211663e3efe9"},{url:"js/viewer-static.min.js",revision:"c75ec81acd6155e5adfab45cb72e6937"},{url:"connect/jira/editor-1-3-3.html",revision:"41dc8af9576b47f359cff19fff7a41c2"},{url:"connect/jira/viewerPanel-1-3-12.html",revision:"4836f5e4308abe57830e441518364f23"},{url:"connect/jira/viewerPanel2.html",revision:"0dd1ee1343a46b5c03aedbc587450b84"},{url:"connect/jira/fullScreenViewer-1-3-3.html",revision:"abed474e47c0c41a5ad2366b4828f77a"},{url:"connect/jira/viewerPanel.js",revision:"85011efa68d638da560871ee2ab3a6fe"},{url:"connect/jira/spinner.gif",revision:"7d857ab9d86123e93d74d48e958fe743"},{url:"connect/jira/editor.js",revision:"3dc56c6566abaa7af151a8359e5bb556"},{url:"connect/jira/fullscreen-viewer-init.js",revision:"07043c1ee868dd425f7876da94bbc307"},{url:"connect/jira/fullscreen-viewer.js",revision:"a6be96b8ddc5a25196925713cf34d571"},{url:"plugins/connectJira.js",revision:"d220cad2edf0d6b161505fe12ae3eaa6"},{url:"plugins/cConf-comments.js",revision:"e4a4b5a0fb22393693d3b62968c50644"},{url:"plugins/cConf-1-4-8.js",revision:"bf18de843e555a2c89b3912b4afdace2"},{url:"connect/confluence/connectUtils-1-4-8.js",revision:"ec3bc85db1e4451f87e63e23a0c36611"},{url:"connect/new_common/cac.js",revision:"b52c73de9d22b867a036ad50c6bfdca2"},{url:"connect/gdrive_common/gac.js",revision:"c66fdc50ec87002a502cb0779b73a692"},{url:"connect/onedrive_common/ac.js",revision:"1264ba8705eff0d1337701e5ae962366"},{url:"connect/confluence/viewer-init.js",revision:"c5e51e32ac74414d8d518af83ee2781f"},{url:"connect/confluence/viewer.js",revision:"c12112f0ec92dee98073eaffd4c9bea9"},{url:"connect/confluence/viewer-1-4-42.html",revision:"69c1bca25fd4889bf832e8441c972268"},{url:"connect/confluence/macroEditor-1-4-8.html",revision:"4ad77ae3f08c19eddac932b2fa8c7068"},{url:"connect/confluence/includeDiagram-1-4-8.js",revision:"489bc44e46d6481277c3f2a5d81a2db6"},{url:"connect/confluence/includeDiagram.html",revision:"01b04b3f54f1e2e63fcf1df033d24519"},{url:"connect/confluence/macro-editor.js",revision:"b9000d6c20f30e4068f83bd0b56965ca"},{url:"math4/es5/ui/safe.js",revision:"618db080aea97ff949c8dd7e30a3e720"},{url:"math4/es5/core.js",revision:"d7a033e47f3afc84885eb841e492a698"},{url:"math4/es5/input/tex/extensions/bbm.js",revision:"d3e2b2dc668173b157347157578cf760"},{url:"math4/es5/input/tex/extensions/html.js",revision:"c9b1533dc9a9890cdc4dc4cb363a783f"},{url:"math4/es5/input/tex/extensions/extpfeil.js",revision:"db8bfc41f83afe6c5b96354c2688c4fc"},{url:"math4/es5/input/tex/extensions/action.js",revision:"39e1efe2fe2e4dbf3ed2deb0b9261378"},{url:"math4/es5/input/tex/extensions/boldsymbol.js",revision:"26ec828b274f2675981203c0c21f0e17"},{url:"math4/es5/input/tex/extensions/cases.js",revision:"df3d798190035d2671b2221206da0470"},{url:"math4/es5/input/tex/extensions/colortbl.js",revision:"b1db5e1482d8cb0c6ac602c2f2286943"},{url:"math4/es5/input/tex/extensions/verb.js",revision:"0f443e787fdab40e60137c9e9e8c0dac"},{url:"math4/es5/input/tex/extensions/unicode.js",revision:"5aaa624be45ed6a558d5e34710df5a86"},{url:"math4/es5/input/tex/extensions/cancel.js",revision:"243267af11c95d5f74e60340171f6a97"},{url:"math4/es5/input/tex/extensions/enclose.js",revision:"825eae6da999c1323c1a3e8b7ea974c6"},{url:"math4/es5/input/tex/extensions/units.js",revision:"ab5c211bf9e7f638a3e197e0dca120d5"},{url:"math4/es5/input/tex/extensions/color.js",revision:"119ad3d732c3ca57b46f864d20ce1807"},{url:"math4/es5/input/tex/extensions/mathtools.js",revision:"68170aa60f6046e69d737218d91f9cc2"},{url:"math4/es5/input/tex/extensions/begingroup.js",revision:"ed1473a054e03606ea1205f9746bab7f"},{url:"math4/es5/input/tex/extensions/braket.js",revision:"5e5f4371fc2c023e824ad5cfdf833daa"},{url:"math4/es5/input/tex/extensions/dsfont.js",revision:"4649b53d03f413805d9c8e0f376d54d5"},{url:"math4/es5/input/tex/extensions/bbox.js",revision:"ee9840cae74436de8f499f57514cefd1"},{url:"math4/es5/input/tex/extensions/amscd.js",revision:"196ade5768f8d620aa2e53d8acfe0c63"},{url:"math4/es5/input/tex/extensions/textcomp.js",revision:"7415452ca7914b843e7f64e3f0ad999c"},{url:"math4/es5/input/tex/extensions/bussproofs.js",revision:"e1f3f2dccaaf3b53d3329fd50c47ccb5"},{url:"math4/es5/input/tex/extensions/bboldx.js",revision:"0e624a10f7e5a2e8c40108f3f357d52c"},{url:"math4/es5/input/tex/extensions/physics.js",revision:"a1e7b7fe6e8a7c4510de2983f0444292"},{url:"math4/es5/input/tex/extensions/centernot.js",revision:"54a97e76845a2831bea9dff6c49cb87a"},{url:"math4/es5/input/tex/extensions/gensymb.js",revision:"4f2ea1f8d6a8f66cd16ff2978eb8ffc3"},{url:"math4/es5/input/tex/extensions/upgreek.js",revision:"4d419e9fea756709082d5bc997c2ac99"},{url:"math4/es5/input/tex/extensions/empheq.js",revision:"c57b3e0ba8c1328c1299725689ec9809"},{url:"math4/es5/input/tex/extensions/mhchem.js",revision:"51df23bad3b36feff2eee5145f5019cf"},{url:"math4/es5/input/asciimath.js",revision:"ce6a48e6591a8828079ca52bedc6cfd6"},{url:"math4/es5/input/tex.js",revision:"b37f43017b1da87ba0338cd2ad2cc2d3"},{url:"math4/es5/startup.js",revision:"2edb14e5a4eee8a2deb3b6d6c1d2da65"},{url:"math4/es5/output/svg.js",revision:"4e09bed3cc6919a9f7148a6959b0df2f"},{url:"math4/es5/fonts/mathjax-bbm-font-extension/svg.js",revision:"1aa944de4855499f9a553a295bf68c61"},{url:"math4/es5/fonts/mathjax-tex-font/svg.js",revision:"945c881ed536ba14ad850d91515811e4"},{url:"math4/es5/fonts/mathjax-bboldx-font-extension/svg.js",revision:"68e28ef57e96d55244d87c4e8405cea7"},{url:"math4/es5/fonts/mathjax-dsfont-font-extension/svg.js",revision:"4abc37840d7b4061c9b34578ed9877c0"},{url:"math4/es5/fonts/mathjax-mhchem-font-extension/svg.js",revision:"251601109d53e2e75d15affd9a1d9d42"},{url:"resources/dia.txt",revision:"db9846396ff0c8b8130cdc7aa220c21b"},{url:"resources/dia_am.txt",revision:"0741e23f4fcaf641159ac906dd2c7585"},{url:"resources/dia_ar.txt",revision:"b145d43b2acd0493b044346595fc9ef9"},{url:"resources/dia_bg.txt",revision:"95fafe55c89f3cb6afb64efaf246bd35"},{url:"resources/dia_bn.txt",revision:"f00b3d11f68eda841d1715cd198f2d38"},{url:"resources/dia_bs.txt",revision:"1901fe3bfc03aa26ec38cc8ee613db1c"},{url:"resources/dia_ca.txt",revision:"a15c918ce28e22e4b4eb8621e521dd72"},{url:"resources/dia_cs.txt",revision:"60d69f9145e15ecb15bbe35ab304b078"},{url:"resources/dia_da.txt",revision:"155301c8e48d5e6953bfd94279e98f22"},{url:"resources/dia_de.txt",revision:"bf0d5c5fb6e2f302d8479cffd8772ced"},{url:"resources/dia_el.txt",revision:"0ff951898ceace498ba70da629401297"},{url:"resources/dia_eo.txt",revision:"405fc9d59805242aa5c0204dd4b15782"},{url:"resources/dia_es.txt",revision:"6e68ae8a386822c7225c53d037d4d8a6"},{url:"resources/dia_et.txt",revision:"87372b0230862e490f6fa44be50c3457"},{url:"resources/dia_eu.txt",revision:"c87a5801e8c11b1362da82c0fadadca6"},{url:"resources/dia_fa.txt",revision:"383a37c34a4ea066326df8e846bc0d22"},{url:"resources/dia_fi.txt",revision:"395d97488679c25f9c1b41d5cf3309ed"},{url:"resources/dia_fil.txt",revision:"5054a3e9332a9b5aafbed274dbaa2d6d"},{url:"resources/dia_fr.txt",revision:"ca07bb4921481d20baa7c5acb093d786"},{url:"resources/dia_gl.txt",revision:"674cdeb5b0f8be22fe653f7caa26eeec"},{url:"resources/dia_gu.txt",revision:"01370e2923d6d342efffc7ea7f864de9"},{url:"resources/dia_he.txt",revision:"6d58084cbfd722076f57f119bedb3a2b"},{url:"resources/dia_hi.txt",revision:"6db90dd0e1670da7221ad88b43ed5e05"},{url:"resources/dia_hr.txt",revision:"abe737e7a4f1bf12f23d8cbee398d008"},{url:"resources/dia_hu.txt",revision:"90c2e68e8a12e0c3f8533bb397ba0149"},{url:"resources/dia_id.txt",revision:"1169d33225a7aa752108c9be54da61ee"},{url:"resources/dia_it.txt",revision:"17accb1b497f747dd70998fb02cbfea0"},{url:"resources/dia_ja.txt",revision:"b5aee34a585d4f51bbcaf173ef671b99"},{url:"resources/dia_kn.txt",revision:"e6983025f1e439201f72e3961082a4f5"},{url:"resources/dia_ko.txt",revision:"1028f82c071a3032014054c7624192b8"},{url:"resources/dia_lt.txt",revision:"4df20bdbe5a5251f7282d4d264d8cfb6"},{url:"resources/dia_lv.txt",revision:"704da1f1b029a65f171888858c319846"},{url:"resources/dia_ml.txt",revision:"c72030cbbc9089e06f75d3a3d7e3bda5"},{url:"resources/dia_mr.txt",revision:"96d6243cf2db645918d3d297ff95a6ea"},{url:"resources/dia_ms.txt",revision:"4b5c13b6b02f0f16d7bb26e8d509b4b2"},{url:"resources/dia_my.txt",revision:"b2c2e28d97c26f43eedc6e95b6fbefca"},{url:"resources/dia_nl.txt",revision:"8dde3d940aaa5e41a20ba78f6266c643"},{url:"resources/dia_no.txt",revision:"33282cb785e2b679d66ad2a3f1440ce9"},{url:"resources/dia_pl.txt",revision:"7f024fe4e436ac92d310e5e59e7c5f5a"},{url:"resources/dia_pt-br.txt",revision:"9a001cf80d9e552ad7a2e8fae348994b"},{url:"resources/dia_pt.txt",revision:"38b7cc534f69f6dcd262e513054d3c8c"},{url:"resources/dia_ro.txt",revision:"c0b6ace400e226a7473fc1c42997986c"},{url:"resources/dia_ru.txt",revision:"5f2b359fbcae3d487d1c74a439120ed6"},{url:"resources/dia_si.txt",revision:"3263fa53b73c7a4937cce8ecd81ca946"},{url:"resources/dia_sk.txt",revision:"96f95891d4f87c010b0ea99f26657c5d"},{url:"resources/dia_sl.txt",revision:"6332585232677b617f2f414f884311b0"},{url:"resources/dia_sr.txt",revision:"8c9877fedc3187be6416af1beec06b7f"},{url:"resources/dia_sv.txt",revision:"52785b93fb825c6be868375e779be2d0"},{url:"resources/dia_sw.txt",revision:"702f7083c144ce11d440329a09f0fe58"},{url:"resources/dia_ta.txt",revision:"787131810af334c6d86a7febd3f389ab"},{url:"resources/dia_te.txt",revision:"6b2856267f2184c5a9b33da56abc5474"},{url:"resources/dia_th.txt",revision:"e07398ad49f5784ab349cde38b0a45d2"},{url:"resources/dia_tr.txt",revision:"4f700172d91e9520f66e0fcb30e3c3bd"},{url:"resources/dia_uk.txt",revision:"ed26023e621dd919e712cdb68ae35601"},{url:"resources/dia_vi.txt",revision:"42609d54feca7b81e98f9c53b9a283b8"},{url:"resources/dia_zh-tw.txt",revision:"06a7e21b769f8ba90b8027de2b4437f2"},{url:"resources/dia_zh.txt",revision:"394db8068da690a09eaf1074793ef467"},{url:"favicon.ico",revision:"b2bf17349e4b50ce4ba311f079f8bf7d"},{url:"images/manifest.json",revision:"421b4fae5b46499348d194e1f93558c3"},{url:"images/logo.png",revision:"e4e0d092abdb1e668b5ec41a7fe0713c"},{url:"images/drawlogo.svg",revision:"4bf4d14ebcf072d8bd4c5a1c89e88fc6"},{url:"images/drawlogo48.png",revision:"8b13428373aca67b895364d025f42417"},{url:"images/drawlogo-gray.svg",revision:"0aabacbc0873816e1e09e4736ae44c7d"},{url:"images/drawlogo-text-bottom.svg",revision:"f6c438823ab31f290940bd4feb8dd9c2"},{url:"images/logo-flat-small.png",revision:"4b178e59ff499d6dd1894fc498b59877"},{url:"images/apple-touch-icon.png",revision:"732c29e21332a926318a7005d21ec450"},{url:"images/icon-192-maskable.png",revision:"47e006d0ce4a35eb5beaa97f0c2bfed0"},{url:"images/icon-192.png",revision:"d022403d52435d76afec82c4e24a17ef"},{url:"images/icon-512-maskable.png",revision:"cf152feeb01fb21f3148a71a3540266e"},{url:"images/icon-512.png",revision:"a3a0df7e7a385244b74073f81ecc45de"},{url:"images/delete.png",revision:"5f2350f2fd20f1a229637aed32ed8f29"},{url:"images/droptarget.png",revision:"bbf7f563fb6784de1ce96f329519b043"},{url:"images/logo-flat.png",revision:"038070ab43aee6e54a791211859fc67b"},{url:"images/google-drive-logo.svg",revision:"5d9f2f5bbc7dcc252730a0072bb23059"},{url:"images/onedrive-logo.svg",revision:"3645b344ec0634c1290dd58d7dc87b97"},{url:"images/dropbox-logo.svg",revision:"e6be408c77cf9c82d41ac64fa854280a"},{url:"images/github-logo.svg",revision:"a1a999b69a275eac0cb918360ac05ae1"},{url:"images/gitlab-logo.svg",revision:"0faea8c818899e58533e153c44b10517"},{url:"images/trello-logo.svg",revision:"006fd0d7d70d7e95dc691674cb12e044"},{url:"images/osa_drive-harddisk.png",revision:"b954e1ae772087c5b4c6ae797e1f9649"},{url:"images/osa_database.png",revision:"c350d9d9b95f37b6cfe798b40ede5fb0"},{url:"images/google-drive-logo-white.svg",revision:"f329d8b1be7778515a85b93fc35d9f26"},{url:"images/dropbox-logo-white.svg",revision:"4ea8299ac3bc31a16f199ee3aec223bf"},{url:"images/onedrive-logo-white.svg",revision:"b3602fa0fc947009cff3f33a581cff4d"},{url:"images/github-logo-white.svg",revision:"537b1127b3ca0f95b45782d1304fb77a"},{url:"images/gitlab-logo-white.svg",revision:"5fede9ac2f394c716b8c23e3fddc3910"},{url:"images/trello-logo-white-orange.svg",revision:"e2a0a52ba3766682f138138d10a75eb5"},{url:"images/logo-confluence.png",revision:"ed1e55d44ae5eba8f999aba2c93e8331"},{url:"images/logo-jira.png",revision:"f8d460555a0d1f87cfd901e940666629"},{url:"images/spin.gif",revision:"487cbb40b9ced439aa1ad914e816d773"},{url:"images/aui-wait.gif",revision:"5a474bcbd8d2f2826f03d10ea44bf60e"},{url:"mxgraph/css/common.css",revision:"8d895dc8387694c128232b13e631be39"}],{ignoreURLParametersMatching:[/.*/]})}));//# sourceMappingURL=service-worker.js.mapdiff --git a/src/main/webapp/service-worker.js.map b/src/main/webapp/service-worker.js.mapindex c709c0791..d0e572240 100644--- a/src/main/webapp/service-worker.js.map+++ b/src/main/webapp/service-worker.js.map@@ -1 +1 @@-{"version":3,"file":"service-worker.js","sources":["../../../../../../private/var/folders/w3/8z182_j14fbd1p8pn7nc032h0000gn/T/041aaaa24e63ea6f6d0c42b0b6ec417c/service-worker.js"],"sourcesContent":["import {precacheAndRoute as workbox_precaching_precacheAndRoute} from '/Users/davidbenson/.nvm/versions/node/v22.14.0/lib/node_modules/workbox-cli/node_modules/workbox-precaching/precacheAndRoute.mjs';/**\n * Welcome to your Workbox-powered service worker!\n *\n * You'll need to register this file in your web app.\n * See https://goo.gl/nhQhGp\n *\n * The rest of the code is auto-generated. Please don't update this file\n * directly; instead, make changes to your Workbox build configuration\n * and re-run your build process.\n * See https://goo.gl/2aRDsh\n */\n\n\n\n\n\n\n\n\nself.skipWaiting();\n\n\n\n\n/**\n * The precacheAndRoute() method efficiently caches and responds to\n * requests for URLs in the manifest.\n * See https://goo.gl/S9QRab\n */\nworkbox_precaching_precacheAndRoute([\n {\n \"url\": \"js/bootstrap.js\",\n \"revision\": \"b6f2274dfc992e6b0cb52bd8489da5e2\"\n },\n {\n \"url\": \"js/main.js\",\n \"revision\": \"a8d40469d3d72ab4b11059362f3dd825\"\n },\n {\n \"url\": \"js/app.min.js\",\n \"revision\": \"70a1b91ea24b45d858646a63914b3747\"\n },\n {\n \"url\": \"js/extensions.min.js\",\n \"revision\": \"0fad6cffc65885f33084d2ecfd0a2535\"\n },\n {\n \"url\": \"js/orgchart.min.js\",\n \"revision\": \"619d8c4dab47b81868916df31f55478b\"\n },\n {\n \"url\": \"js/stencils.min.js\",\n \"revision\": \"4c955b95c4308b0414578762513424d2\"\n },\n {\n \"url\": \"js/shapes-14-6-5.min.js\",\n \"revision\": \"6ce46f345044bdb3cde439bd81b37952\"\n },\n {\n \"url\": \"js/math-print.js\",\n \"revision\": \"ad9cf0f2f2b614eac58ea72499c1017f\"\n },\n {\n \"url\": \"index.html\",\n \"revision\": \"9de11c65ec13b24c73ace7042bc529cc\"\n },\n {\n \"url\": \"open.html\",\n \"revision\": \"d71816b3b00e769fc6019fcdd6921662\"\n },\n {\n \"url\": \"shortcuts.svg\",\n \"revision\": \"2381dd779ce6cfee954042a7f784c7e6\"\n },\n {\n \"url\": \"styles/fonts/ArchitectsDaughter-Regular.ttf\",\n \"revision\": \"31c2153c0530e32553b31a49b3d70736\"\n },\n {\n \"url\": \"styles/grapheditor.css\",\n \"revision\": \"ed4a663eb787c135a04e5f6c97bdaa47\"\n },\n {\n \"url\": \"styles/high-contrast.css\",\n \"revision\": \"4ecc9f6d08787a9e2d29dacf7aadd1ca\"\n },\n {\n \"url\": \"js/dropbox/Dropbox-sdk.min.js\",\n \"revision\": \"4b9842892aa37b156db0a8364b7a83b0\"\n },\n {\n \"url\": \"js/onedrive/OneDrive.js\",\n \"revision\": \"e863f5e6833892f22492211663e3efe9\"\n },\n {\n \"url\": \"js/viewer-static.min.js\",\n \"revision\": \"467a81491af316c2d60178b82362a789\"\n },\n {\n \"url\": \"connect/jira/editor-1-3-3.html\",\n \"revision\": \"41dc8af9576b47f359cff19fff7a41c2\"\n },\n {\n \"url\": \"connect/jira/viewerPanel-1-3-12.html\",\n \"revision\": \"4836f5e4308abe57830e441518364f23\"\n },\n {\n \"url\": \"connect/jira/viewerPanel2.html\",\n \"revision\": \"0dd1ee1343a46b5c03aedbc587450b84\"\n },\n {\n \"url\": \"connect/jira/fullScreenViewer-1-3-3.html\",\n \"revision\": \"abed474e47c0c41a5ad2366b4828f77a\"\n },\n {\n \"url\": \"connect/jira/viewerPanel.js\",\n \"revision\": \"85011efa68d638da560871ee2ab3a6fe\"\n },\n {\n \"url\": \"connect/jira/spinner.gif\",\n \"revision\": \"7d857ab9d86123e93d74d48e958fe743\"\n },\n {\n \"url\": \"connect/jira/editor.js\",\n \"revision\": \"3dc56c6566abaa7af151a8359e5bb556\"\n },\n {\n \"url\": \"connect/jira/fullscreen-viewer-init.js\",\n \"revision\": \"07043c1ee868dd425f7876da94bbc307\"\n },\n {\n \"url\": \"connect/jira/fullscreen-viewer.js\",\n \"revision\": \"a6be96b8ddc5a25196925713cf34d571\"\n },\n {\n \"url\": \"plugins/connectJira.js\",\n \"revision\": \"d220cad2edf0d6b161505fe12ae3eaa6\"\n },\n {\n \"url\": \"plugins/cConf-comments.js\",\n \"revision\": \"e4a4b5a0fb22393693d3b62968c50644\"\n },\n {\n \"url\": \"plugins/cConf-1-4-8.js\",\n \"revision\": \"bf18de843e555a2c89b3912b4afdace2\"\n },\n {\n \"url\": \"connect/confluence/connectUtils-1-4-8.js\",\n \"revision\": \"ec3bc85db1e4451f87e63e23a0c36611\"\n },\n {\n \"url\": \"connect/new_common/cac.js\",\n \"revision\": \"443fb416a407b8a183d0c8f4ecf68808\"\n },\n {\n \"url\": \"connect/gdrive_common/gac.js\",\n \"revision\": \"ac3a28fa16c3e6a36af854fcfc018a81\"\n },\n {\n \"url\": \"connect/onedrive_common/ac.js\",\n \"revision\": \"37c626698573f4419ab9f7ecd7b4bb01\"\n },\n {\n \"url\": \"connect/confluence/viewer-init.js\",\n \"revision\": \"c5e51e32ac74414d8d518af83ee2781f\"\n },\n {\n \"url\": \"connect/confluence/viewer.js\",\n \"revision\": \"c12112f0ec92dee98073eaffd4c9bea9\"\n },\n {\n \"url\": \"connect/confluence/viewer-1-4-42.html\",\n \"revision\": \"69c1bca25fd4889bf832e8441c972268\"\n },\n {\n \"url\": \"connect/confluence/macroEditor-1-4-8.html\",\n \"revision\": \"4ad77ae3f08c19eddac932b2fa8c7068\"\n },\n {\n \"url\": \"connect/confluence/includeDiagram-1-4-8.js\",\n \"revision\": \"489bc44e46d6481277c3f2a5d81a2db6\"\n },\n {\n \"url\": \"connect/confluence/includeDiagram.html\",\n \"revision\": \"01b04b3f54f1e2e63fcf1df033d24519\"\n },\n {\n \"url\": \"connect/confluence/macro-editor.js\",\n \"revision\": \"b9000d6c20f30e4068f83bd0b56965ca\"\n },\n {\n \"url\": \"math4/es5/ui/safe.js\",\n \"revision\": \"618db080aea97ff949c8dd7e30a3e720\"\n },\n {\n \"url\": \"math4/es5/core.js\",\n \"revision\": \"d7a033e47f3afc84885eb841e492a698\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/bbm.js\",\n \"revision\": \"d3e2b2dc668173b157347157578cf760\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/html.js\",\n \"revision\": \"c9b1533dc9a9890cdc4dc4cb363a783f\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/extpfeil.js\",\n \"revision\": \"db8bfc41f83afe6c5b96354c2688c4fc\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/action.js\",\n \"revision\": \"39e1efe2fe2e4dbf3ed2deb0b9261378\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/boldsymbol.js\",\n \"revision\": \"26ec828b274f2675981203c0c21f0e17\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/cases.js\",\n \"revision\": \"df3d798190035d2671b2221206da0470\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/colortbl.js\",\n \"revision\": \"b1db5e1482d8cb0c6ac602c2f2286943\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/verb.js\",\n \"revision\": \"0f443e787fdab40e60137c9e9e8c0dac\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/unicode.js\",\n \"revision\": \"5aaa624be45ed6a558d5e34710df5a86\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/cancel.js\",\n \"revision\": \"243267af11c95d5f74e60340171f6a97\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/enclose.js\",\n \"revision\": \"825eae6da999c1323c1a3e8b7ea974c6\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/units.js\",\n \"revision\": \"ab5c211bf9e7f638a3e197e0dca120d5\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/color.js\",\n \"revision\": \"119ad3d732c3ca57b46f864d20ce1807\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/mathtools.js\",\n \"revision\": \"68170aa60f6046e69d737218d91f9cc2\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/begingroup.js\",\n \"revision\": \"ed1473a054e03606ea1205f9746bab7f\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/braket.js\",\n \"revision\": \"5e5f4371fc2c023e824ad5cfdf833daa\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/dsfont.js\",\n \"revision\": \"4649b53d03f413805d9c8e0f376d54d5\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/bbox.js\",\n \"revision\": \"ee9840cae74436de8f499f57514cefd1\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/amscd.js\",\n \"revision\": \"196ade5768f8d620aa2e53d8acfe0c63\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/textcomp.js\",\n \"revision\": \"7415452ca7914b843e7f64e3f0ad999c\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/bussproofs.js\",\n \"revision\": \"e1f3f2dccaaf3b53d3329fd50c47ccb5\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/bboldx.js\",\n \"revision\": \"0e624a10f7e5a2e8c40108f3f357d52c\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/physics.js\",\n \"revision\": \"a1e7b7fe6e8a7c4510de2983f0444292\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/centernot.js\",\n \"revision\": \"54a97e76845a2831bea9dff6c49cb87a\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/gensymb.js\",\n \"revision\": \"4f2ea1f8d6a8f66cd16ff2978eb8ffc3\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/upgreek.js\",\n \"revision\": \"4d419e9fea756709082d5bc997c2ac99\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/empheq.js\",\n \"revision\": \"c57b3e0ba8c1328c1299725689ec9809\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/mhchem.js\",\n \"revision\": \"51df23bad3b36feff2eee5145f5019cf\"\n },\n {\n \"url\": \"math4/es5/input/asciimath.js\",\n \"revision\": \"ce6a48e6591a8828079ca52bedc6cfd6\"\n },\n {\n \"url\": \"math4/es5/input/tex.js\",\n \"revision\": \"b37f43017b1da87ba0338cd2ad2cc2d3\"\n },\n {\n \"url\": \"math4/es5/startup.js\",\n \"revision\": \"2edb14e5a4eee8a2deb3b6d6c1d2da65\"\n },\n {\n \"url\": \"math4/es5/output/svg.js\",\n \"revision\": \"4e09bed3cc6919a9f7148a6959b0df2f\"\n },\n {\n \"url\": \"math4/es5/fonts/mathjax-bbm-font-extension/svg.js\",\n \"revision\": \"1aa944de4855499f9a553a295bf68c61\"\n },\n {\n \"url\": \"math4/es5/fonts/mathjax-tex-font/svg.js\",\n \"revision\": \"945c881ed536ba14ad850d91515811e4\"\n },\n {\n \"url\": \"math4/es5/fonts/mathjax-bboldx-font-extension/svg.js\",\n \"revision\": \"68e28ef57e96d55244d87c4e8405cea7\"\n },\n {\n \"url\": \"math4/es5/fonts/mathjax-dsfont-font-extension/svg.js\",\n \"revision\": \"4abc37840d7b4061c9b34578ed9877c0\"\n },\n {\n \"url\": \"math4/es5/fonts/mathjax-mhchem-font-extension/svg.js\",\n \"revision\": \"251601109d53e2e75d15affd9a1d9d42\"\n },\n {\n \"url\": \"resources/dia.txt\",\n \"revision\": \"4f564259a8cbb5275ee2f0910df6945d\"\n },\n {\n \"url\": \"resources/dia_am.txt\",\n \"revision\": \"e8aae8879d9cccec0a4d391fac6dccd1\"\n },\n {\n \"url\": \"resources/dia_ar.txt\",\n \"revision\": \"b145d43b2acd0493b044346595fc9ef9\"\n },\n {\n \"url\": \"resources/dia_bg.txt\",\n \"revision\": \"fad4385ef0173d3ee0af19df4cfa1815\"\n },\n {\n \"url\": \"resources/dia_bn.txt\",\n \"revision\": \"8fb0394ff11ea52a573d3a98517c5a96\"\n },\n {\n \"url\": \"resources/dia_bs.txt\",\n \"revision\": \"ae8cdb842c790ec23802fe1006f17227\"\n },\n {\n \"url\": \"resources/dia_ca.txt\",\n \"revision\": \"f2b9240f7c1ed8d3f17ee39ac3eecc24\"\n },\n {\n \"url\": \"resources/dia_cs.txt\",\n \"revision\": \"03db55d516254721420a39b75ab97b35\"\n },\n {\n \"url\": \"resources/dia_da.txt\",\n \"revision\": \"67a85c0882462c7e1abd0f1df06a94e5\"\n },\n {\n \"url\": \"resources/dia_de.txt\",\n \"revision\": \"b095a52ed7bf166917d7aafe02d2594d\"\n },\n {\n \"url\": \"resources/dia_el.txt\",\n \"revision\": \"bb36e7df85b5b795840bb8d0c82ceb90\"\n },\n {\n \"url\": \"resources/dia_eo.txt\",\n \"revision\": \"41af662d8e6b13467e839c6ace6c9ef9\"\n },\n {\n \"url\": \"resources/dia_es.txt\",\n \"revision\": \"eca4f9b1474396e1dc6e989ed1ad4f10\"\n },\n {\n \"url\": \"resources/dia_et.txt\",\n \"revision\": \"b275eb6b850d78cef6ce7a5ac40e96b9\"\n },\n {\n \"url\": \"resources/dia_eu.txt\",\n \"revision\": \"de4d903fffa61b3503738ef90027864b\"\n },\n {\n \"url\": \"resources/dia_fa.txt\",\n \"revision\": \"49811d8ed50c1b8423e1aca7f5c95eee\"\n },\n {\n \"url\": \"resources/dia_fi.txt\",\n \"revision\": \"d20fa7bab32e5fc763946f2c707e95d1\"\n },\n {\n \"url\": \"resources/dia_fil.txt\",\n \"revision\": \"fbbbec164df5b1e9261c599581e81253\"\n },\n {\n \"url\": \"resources/dia_fr.txt\",\n \"revision\": \"7f2b92b4eb9b4f66221c4a095bb6f404\"\n },\n {\n \"url\": \"resources/dia_gl.txt\",\n \"revision\": \"9cc9deff662b0bd817d3f26cb79a4acd\"\n },\n {\n \"url\": \"resources/dia_gu.txt\",\n \"revision\": \"b5592fa76111734b3dc1972cba765c21\"\n },\n {\n \"url\": \"resources/dia_he.txt\",\n \"revision\": \"d08a575d1b11fd7e5006f1ce123d937a\"\n },\n {\n \"url\": \"resources/dia_hi.txt\",\n \"revision\": \"53eeaba6bda9e19978c6b21a432ee76a\"\n },\n {\n \"url\": \"resources/dia_hr.txt\",\n \"revision\": \"005048a6afc880109df33039f3e1b9ce\"\n },\n {\n \"url\": \"resources/dia_hu.txt\",\n \"revision\": \"774b3c2567aea98e2bc2c386063ed1ef\"\n },\n {\n \"url\": \"resources/dia_id.txt\",\n \"revision\": \"1e15e4ca3001d18087bd2d74e27799bb\"\n },\n {\n \"url\": \"resources/dia_it.txt\",\n \"revision\": \"ef597b3a946d4caaa3330dd017692f9a\"\n },\n {\n \"url\": \"resources/dia_ja.txt\",\n \"revision\": \"4e0e323d5e98e267f70be45bc13b5622\"\n },\n {\n \"url\": \"resources/dia_kn.txt\",\n \"revision\": \"a8de03a7f5f71ac066fe046a8a0af2f1\"\n },\n {\n \"url\": \"resources/dia_ko.txt\",\n \"revision\": \"56bbd3d791fbdbb321c1e915acda9d35\"\n },\n {\n \"url\": \"resources/dia_lt.txt\",\n \"revision\": \"ae620ef4df66f3e55154d4278ad1c160\"\n },\n {\n \"url\": \"resources/dia_lv.txt\",\n \"revision\": \"1b058bb21172290d50a0c74fa7a55d6e\"\n },\n {\n \"url\": \"resources/dia_ml.txt\",\n \"revision\": \"2760696edf1c1b25aba5651f293e8f85\"\n },\n {\n \"url\": \"resources/dia_mr.txt\",\n \"revision\": \"fe47df01fa65a94e3aa33ae1bf2a2322\"\n },\n {\n \"url\": \"resources/dia_ms.txt\",\n \"revision\": \"b195783f6b7138cd6bb585f35ea33983\"\n },\n {\n \"url\": \"resources/dia_my.txt\",\n \"revision\": \"c9c12b90431af8f5cf9434d7c10a9aa6\"\n },\n {\n \"url\": \"resources/dia_nl.txt\",\n \"revision\": \"fa8614ff66d75aba781bfb00b1d1b616\"\n },\n {\n \"url\": \"resources/dia_no.txt\",\n \"revision\": \"0f83c0eb396da20e8ad4a39efbcf269b\"\n },\n {\n \"url\": \"resources/dia_pl.txt\",\n \"revision\": \"b3dbea322bf03284970d73fd1343a86d\"\n },\n {\n \"url\": \"resources/dia_pt-br.txt\",\n \"revision\": \"e437f87506159c819112bc562d511a96\"\n },\n {\n \"url\": \"resources/dia_pt.txt\",\n \"revision\": \"ee9e34e7ebc7ef313902a4cd35238e6c\"\n },\n {\n \"url\": \"resources/dia_ro.txt\",\n \"revision\": \"a112a51b59ff1f9ea432f9b22cf82478\"\n },\n {\n \"url\": \"resources/dia_ru.txt\",\n \"revision\": \"8e0b7c66eef91fbeeb774eb11c86dc90\"\n },\n {\n \"url\": \"resources/dia_si.txt\",\n \"revision\": \"c78264b59b297be84b1a65306dfc0fc0\"\n },\n {\n \"url\": \"resources/dia_sk.txt\",\n \"revision\": \"2c3f1fa5da59fea4fe61123f3e9b3fe5\"\n },\n {\n \"url\": \"resources/dia_sl.txt\",\n \"revision\": \"ee40fba61c9f4324ec290637361cce77\"\n },\n {\n \"url\": \"resources/dia_sr.txt\",\n \"revision\": \"42326cdd88b5fc891d18d5684ae3c32b\"\n },\n {\n \"url\": \"resources/dia_sv.txt\",\n \"revision\": \"bd8a20d199aaef41e9388884ca47a7e3\"\n },\n {\n \"url\": \"resources/dia_sw.txt\",\n \"revision\": \"c12f99ca262693efd79dfa6a8ad758cd\"\n },\n {\n \"url\": \"resources/dia_ta.txt\",\n \"revision\": \"b473825f353d4f082dd787f3440834f2\"\n },\n {\n \"url\": \"resources/dia_te.txt\",\n \"revision\": \"13d1317533ccd1dbe53c0652dd6cbbe5\"\n },\n {\n \"url\": \"resources/dia_th.txt\",\n \"revision\": \"3e2028f41dd997caace80e4620a26dc7\"\n },\n {\n \"url\": \"resources/dia_tr.txt\",\n \"revision\": \"a3deb148320b997dacc232525ef4e9cd\"\n },\n {\n \"url\": \"resources/dia_uk.txt\",\n \"revision\": \"701dd069bc2e7605ffbc3b9faa14934d\"\n },\n {\n \"url\": \"resources/dia_vi.txt\",\n \"revision\": \"58e3a1e83b8ebccda8cc92178918740b\"\n },\n {\n \"url\": \"resources/dia_zh-tw.txt\",\n \"revision\": \"a99b21c5ab1168fdb71f63f7085902b6\"\n },\n {\n \"url\": \"resources/dia_zh.txt\",\n \"revision\": \"8d8f7aea8d1254e6dca29b5429275af6\"\n },\n {\n \"url\": \"favicon.ico\",\n \"revision\": \"b2bf17349e4b50ce4ba311f079f8bf7d\"\n },\n {\n \"url\": \"images/manifest.json\",\n \"revision\": \"421b4fae5b46499348d194e1f93558c3\"\n },\n {\n \"url\": \"images/logo.png\",\n \"revision\": \"e4e0d092abdb1e668b5ec41a7fe0713c\"\n },\n {\n \"url\": \"images/drawlogo.svg\",\n \"revision\": \"4bf4d14ebcf072d8bd4c5a1c89e88fc6\"\n },\n {\n \"url\": \"images/drawlogo48.png\",\n \"revision\": \"8b13428373aca67b895364d025f42417\"\n },\n {\n \"url\": \"images/drawlogo-gray.svg\",\n \"revision\": \"0aabacbc0873816e1e09e4736ae44c7d\"\n },\n {\n \"url\": \"images/drawlogo-text-bottom.svg\",\n \"revision\": \"f6c438823ab31f290940bd4feb8dd9c2\"\n },\n {\n \"url\": \"images/logo-flat-small.png\",\n \"revision\": \"4b178e59ff499d6dd1894fc498b59877\"\n },\n {\n \"url\": \"images/apple-touch-icon.png\",\n \"revision\": \"732c29e21332a926318a7005d21ec450\"\n },\n {\n \"url\": \"images/icon-192-maskable.png\",\n \"revision\": \"47e006d0ce4a35eb5beaa97f0c2bfed0\"\n },\n {\n \"url\": \"images/icon-192.png\",\n \"revision\": \"d022403d52435d76afec82c4e24a17ef\"\n },\n {\n \"url\": \"images/icon-512-maskable.png\",\n \"revision\": \"cf152feeb01fb21f3148a71a3540266e\"\n },\n {\n \"url\": \"images/icon-512.png\",\n \"revision\": \"a3a0df7e7a385244b74073f81ecc45de\"\n },\n {\n \"url\": \"images/delete.png\",\n \"revision\": \"5f2350f2fd20f1a229637aed32ed8f29\"\n },\n {\n \"url\": \"images/droptarget.png\",\n \"revision\": \"bbf7f563fb6784de1ce96f329519b043\"\n },\n {\n \"url\": \"images/logo-flat.png\",\n \"revision\": \"038070ab43aee6e54a791211859fc67b\"\n },\n {\n \"url\": \"images/google-drive-logo.svg\",\n \"revision\": \"5d9f2f5bbc7dcc252730a0072bb23059\"\n },\n {\n \"url\": \"images/onedrive-logo.svg\",\n \"revision\": \"3645b344ec0634c1290dd58d7dc87b97\"\n },\n {\n \"url\": \"images/dropbox-logo.svg\",\n \"revision\": \"e6be408c77cf9c82d41ac64fa854280a\"\n },\n {\n \"url\": \"images/github-logo.svg\",\n \"revision\": \"a1a999b69a275eac0cb918360ac05ae1\"\n },\n {\n \"url\": \"images/gitlab-logo.svg\",\n \"revision\": \"0faea8c818899e58533e153c44b10517\"\n },\n {\n \"url\": \"images/trello-logo.svg\",\n \"revision\": \"006fd0d7d70d7e95dc691674cb12e044\"\n },\n {\n \"url\": \"images/osa_drive-harddisk.png\",\n \"revision\": \"b954e1ae772087c5b4c6ae797e1f9649\"\n },\n {\n \"url\": \"images/osa_database.png\",\n \"revision\": \"c350d9d9b95f37b6cfe798b40ede5fb0\"\n },\n {\n \"url\": \"images/google-drive-logo-white.svg\",\n \"revision\": \"f329d8b1be7778515a85b93fc35d9f26\"\n },\n {\n \"url\": \"images/dropbox-logo-white.svg\",\n \"revision\": \"4ea8299ac3bc31a16f199ee3aec223bf\"\n },\n {\n \"url\": \"images/onedrive-logo-white.svg\",\n \"revision\": \"b3602fa0fc947009cff3f33a581cff4d\"\n },\n {\n \"url\": \"images/github-logo-white.svg\",\n \"revision\": \"537b1127b3ca0f95b45782d1304fb77a\"\n },\n {\n \"url\": \"images/gitlab-logo-white.svg\",\n \"revision\": \"5fede9ac2f394c716b8c23e3fddc3910\"\n },\n {\n \"url\": \"images/trello-logo-white-orange.svg\",\n \"revision\": \"e2a0a52ba3766682f138138d10a75eb5\"\n },\n {\n \"url\": \"images/logo-confluence.png\",\n \"revision\": \"ed1e55d44ae5eba8f999aba2c93e8331\"\n },\n {\n \"url\": \"images/logo-jira.png\",\n \"revision\": \"f8d460555a0d1f87cfd901e940666629\"\n },\n {\n \"url\": \"images/spin.gif\",\n \"revision\": \"487cbb40b9ced439aa1ad914e816d773\"\n },\n {\n \"url\": \"images/aui-wait.gif\",\n \"revision\": \"5a474bcbd8d2f2826f03d10ea44bf60e\"\n },\n {\n \"url\": \"mxgraph/css/common.css\",\n \"revision\": \"8d895dc8387694c128232b13e631be39\"\n }\n], {\n \"ignoreURLParametersMatching\": [/.*/]\n});\n\n\n\n\n\n\n\n\n"],"names":["self","skipWaiting","workbox_precaching_precacheAndRoute","url","revision","ignoreURLParametersMatching"],"mappings":"0nBAmBAA,KAAKC,cAULC,EAAAA,iBAAoC,CAClC,CACEC,IAAO,kBACPC,SAAY,oCAEd,CACED,IAAO,aACPC,SAAY,oCAEd,CACED,IAAO,gBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,qBACPC,SAAY,oCAEd,CACED,IAAO,qBACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,mBACPC,SAAY,oCAEd,CACED,IAAO,aACPC,SAAY,oCAEd,CACED,IAAO,YACPC,SAAY,oCAEd,CACED,IAAO,gBACPC,SAAY,oCAEd,CACED,IAAO,8CACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,2BACPC,SAAY,oCAEd,CACED,IAAO,gCACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,iCACPC,SAAY,oCAEd,CACED,IAAO,uCACPC,SAAY,oCAEd,CACED,IAAO,iCACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,8BACPC,SAAY,oCAEd,CACED,IAAO,2BACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,yCACPC,SAAY,oCAEd,CACED,IAAO,oCACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,4BACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,4BACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,gCACPC,SAAY,oCAEd,CACED,IAAO,oCACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,wCACPC,SAAY,oCAEd,CACED,IAAO,4CACPC,SAAY,oCAEd,CACED,IAAO,6CACPC,SAAY,oCAEd,CACED,IAAO,yCACPC,SAAY,oCAEd,CACED,IAAO,qCACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,oBACPC,SAAY,oCAEd,CACED,IAAO,wCACPC,SAAY,oCAEd,CACED,IAAO,yCACPC,SAAY,oCAEd,CACED,IAAO,6CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,+CACPC,SAAY,oCAEd,CACED,IAAO,0CACPC,SAAY,oCAEd,CACED,IAAO,6CACPC,SAAY,oCAEd,CACED,IAAO,yCACPC,SAAY,oCAEd,CACED,IAAO,4CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,4CACPC,SAAY,oCAEd,CACED,IAAO,0CACPC,SAAY,oCAEd,CACED,IAAO,0CACPC,SAAY,oCAEd,CACED,IAAO,8CACPC,SAAY,oCAEd,CACED,IAAO,+CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,yCACPC,SAAY,oCAEd,CACED,IAAO,0CACPC,SAAY,oCAEd,CACED,IAAO,6CACPC,SAAY,oCAEd,CACED,IAAO,+CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,4CACPC,SAAY,oCAEd,CACED,IAAO,8CACPC,SAAY,oCAEd,CACED,IAAO,4CACPC,SAAY,oCAEd,CACED,IAAO,4CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,oDACPC,SAAY,oCAEd,CACED,IAAO,0CACPC,SAAY,oCAEd,CACED,IAAO,uDACPC,SAAY,oCAEd,CACED,IAAO,uDACPC,SAAY,oCAEd,CACED,IAAO,uDACPC,SAAY,oCAEd,CACED,IAAO,oBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,wBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,cACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,kBACPC,SAAY,oCAEd,CACED,IAAO,sBACPC,SAAY,oCAEd,CACED,IAAO,wBACPC,SAAY,oCAEd,CACED,IAAO,2BACPC,SAAY,oCAEd,CACED,IAAO,kCACPC,SAAY,oCAEd,CACED,IAAO,6BACPC,SAAY,oCAEd,CACED,IAAO,8BACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,sBACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,sBACPC,SAAY,oCAEd,CACED,IAAO,oBACPC,SAAY,oCAEd,CACED,IAAO,wBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,2BACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,gCACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,qCACPC,SAAY,oCAEd,CACED,IAAO,gCACPC,SAAY,oCAEd,CACED,IAAO,iCACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,sCACPC,SAAY,oCAEd,CACED,IAAO,6BACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,kBACPC,SAAY,oCAEd,CACED,IAAO,sBACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,qCAEb,CACDC,4BAA+B,CAAC"}\ No newline at end of file+{"version":3,"file":"service-worker.js","sources":["../../../../../../private/var/folders/w3/8z182_j14fbd1p8pn7nc032h0000gn/T/d9067dff04ffab4959d3c3affcd87347/service-worker.js"],"sourcesContent":["import {precacheAndRoute as workbox_precaching_precacheAndRoute} from '/Users/davidbenson/.nvm/versions/node/v22.14.0/lib/node_modules/workbox-cli/node_modules/workbox-precaching/precacheAndRoute.mjs';/**\n * Welcome to your Workbox-powered service worker!\n *\n * You'll need to register this file in your web app.\n * See https://goo.gl/nhQhGp\n *\n * The rest of the code is auto-generated. Please don't update this file\n * directly; instead, make changes to your Workbox build configuration\n * and re-run your build process.\n * See https://goo.gl/2aRDsh\n */\n\n\n\n\n\n\n\n\nself.skipWaiting();\n\n\n\n\n/**\n * The precacheAndRoute() method efficiently caches and responds to\n * requests for URLs in the manifest.\n * See https://goo.gl/S9QRab\n */\nworkbox_precaching_precacheAndRoute([\n {\n \"url\": \"js/bootstrap.js\",\n \"revision\": \"b6f2274dfc992e6b0cb52bd8489da5e2\"\n },\n {\n \"url\": \"js/main.js\",\n \"revision\": \"a8d40469d3d72ab4b11059362f3dd825\"\n },\n {\n \"url\": \"js/app.min.js\",\n \"revision\": \"d5e0a8cc775503e322853c40449f4946\"\n },\n {\n \"url\": \"js/extensions.min.js\",\n \"revision\": \"4d5f64ca176ebc16b0745d9a5095f05e\"\n },\n {\n \"url\": \"js/orgchart.min.js\",\n \"revision\": \"619d8c4dab47b81868916df31f55478b\"\n },\n {\n \"url\": \"js/stencils.min.js\",\n \"revision\": \"4c955b95c4308b0414578762513424d2\"\n },\n {\n \"url\": \"js/shapes-14-6-5.min.js\",\n \"revision\": \"6ce46f345044bdb3cde439bd81b37952\"\n },\n {\n \"url\": \"js/math-print.js\",\n \"revision\": \"ad9cf0f2f2b614eac58ea72499c1017f\"\n },\n {\n \"url\": \"index.html\",\n \"revision\": \"9de11c65ec13b24c73ace7042bc529cc\"\n },\n {\n \"url\": \"open.html\",\n \"revision\": \"d71816b3b00e769fc6019fcdd6921662\"\n },\n {\n \"url\": \"shortcuts.svg\",\n \"revision\": \"2381dd779ce6cfee954042a7f784c7e6\"\n },\n {\n \"url\": \"styles/fonts/ArchitectsDaughter-Regular.ttf\",\n \"revision\": \"31c2153c0530e32553b31a49b3d70736\"\n },\n {\n \"url\": \"styles/grapheditor.css\",\n \"revision\": \"ed4a663eb787c135a04e5f6c97bdaa47\"\n },\n {\n \"url\": \"styles/high-contrast.css\",\n \"revision\": \"4ecc9f6d08787a9e2d29dacf7aadd1ca\"\n },\n {\n \"url\": \"js/dropbox/Dropbox-sdk.min.js\",\n \"revision\": \"4b9842892aa37b156db0a8364b7a83b0\"\n },\n {\n \"url\": \"js/onedrive/OneDrive.js\",\n \"revision\": \"e863f5e6833892f22492211663e3efe9\"\n },\n {\n \"url\": \"js/viewer-static.min.js\",\n \"revision\": \"c75ec81acd6155e5adfab45cb72e6937\"\n },\n {\n \"url\": \"connect/jira/editor-1-3-3.html\",\n \"revision\": \"41dc8af9576b47f359cff19fff7a41c2\"\n },\n {\n \"url\": \"connect/jira/viewerPanel-1-3-12.html\",\n \"revision\": \"4836f5e4308abe57830e441518364f23\"\n },\n {\n \"url\": \"connect/jira/viewerPanel2.html\",\n \"revision\": \"0dd1ee1343a46b5c03aedbc587450b84\"\n },\n {\n \"url\": \"connect/jira/fullScreenViewer-1-3-3.html\",\n \"revision\": \"abed474e47c0c41a5ad2366b4828f77a\"\n },\n {\n \"url\": \"connect/jira/viewerPanel.js\",\n \"revision\": \"85011efa68d638da560871ee2ab3a6fe\"\n },\n {\n \"url\": \"connect/jira/spinner.gif\",\n \"revision\": \"7d857ab9d86123e93d74d48e958fe743\"\n },\n {\n \"url\": \"connect/jira/editor.js\",\n \"revision\": \"3dc56c6566abaa7af151a8359e5bb556\"\n },\n {\n \"url\": \"connect/jira/fullscreen-viewer-init.js\",\n \"revision\": \"07043c1ee868dd425f7876da94bbc307\"\n },\n {\n \"url\": \"connect/jira/fullscreen-viewer.js\",\n \"revision\": \"a6be96b8ddc5a25196925713cf34d571\"\n },\n {\n \"url\": \"plugins/connectJira.js\",\n \"revision\": \"d220cad2edf0d6b161505fe12ae3eaa6\"\n },\n {\n \"url\": \"plugins/cConf-comments.js\",\n \"revision\": \"e4a4b5a0fb22393693d3b62968c50644\"\n },\n {\n \"url\": \"plugins/cConf-1-4-8.js\",\n \"revision\": \"bf18de843e555a2c89b3912b4afdace2\"\n },\n {\n \"url\": \"connect/confluence/connectUtils-1-4-8.js\",\n \"revision\": \"ec3bc85db1e4451f87e63e23a0c36611\"\n },\n {\n \"url\": \"connect/new_common/cac.js\",\n \"revision\": \"b52c73de9d22b867a036ad50c6bfdca2\"\n },\n {\n \"url\": \"connect/gdrive_common/gac.js\",\n \"revision\": \"c66fdc50ec87002a502cb0779b73a692\"\n },\n {\n \"url\": \"connect/onedrive_common/ac.js\",\n \"revision\": \"1264ba8705eff0d1337701e5ae962366\"\n },\n {\n \"url\": \"connect/confluence/viewer-init.js\",\n \"revision\": \"c5e51e32ac74414d8d518af83ee2781f\"\n },\n {\n \"url\": \"connect/confluence/viewer.js\",\n \"revision\": \"c12112f0ec92dee98073eaffd4c9bea9\"\n },\n {\n \"url\": \"connect/confluence/viewer-1-4-42.html\",\n \"revision\": \"69c1bca25fd4889bf832e8441c972268\"\n },\n {\n \"url\": \"connect/confluence/macroEditor-1-4-8.html\",\n \"revision\": \"4ad77ae3f08c19eddac932b2fa8c7068\"\n },\n {\n \"url\": \"connect/confluence/includeDiagram-1-4-8.js\",\n \"revision\": \"489bc44e46d6481277c3f2a5d81a2db6\"\n },\n {\n \"url\": \"connect/confluence/includeDiagram.html\",\n \"revision\": \"01b04b3f54f1e2e63fcf1df033d24519\"\n },\n {\n \"url\": \"connect/confluence/macro-editor.js\",\n \"revision\": \"b9000d6c20f30e4068f83bd0b56965ca\"\n },\n {\n \"url\": \"math4/es5/ui/safe.js\",\n \"revision\": \"618db080aea97ff949c8dd7e30a3e720\"\n },\n {\n \"url\": \"math4/es5/core.js\",\n \"revision\": \"d7a033e47f3afc84885eb841e492a698\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/bbm.js\",\n \"revision\": \"d3e2b2dc668173b157347157578cf760\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/html.js\",\n \"revision\": \"c9b1533dc9a9890cdc4dc4cb363a783f\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/extpfeil.js\",\n \"revision\": \"db8bfc41f83afe6c5b96354c2688c4fc\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/action.js\",\n \"revision\": \"39e1efe2fe2e4dbf3ed2deb0b9261378\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/boldsymbol.js\",\n \"revision\": \"26ec828b274f2675981203c0c21f0e17\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/cases.js\",\n \"revision\": \"df3d798190035d2671b2221206da0470\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/colortbl.js\",\n \"revision\": \"b1db5e1482d8cb0c6ac602c2f2286943\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/verb.js\",\n \"revision\": \"0f443e787fdab40e60137c9e9e8c0dac\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/unicode.js\",\n \"revision\": \"5aaa624be45ed6a558d5e34710df5a86\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/cancel.js\",\n \"revision\": \"243267af11c95d5f74e60340171f6a97\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/enclose.js\",\n \"revision\": \"825eae6da999c1323c1a3e8b7ea974c6\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/units.js\",\n \"revision\": \"ab5c211bf9e7f638a3e197e0dca120d5\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/color.js\",\n \"revision\": \"119ad3d732c3ca57b46f864d20ce1807\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/mathtools.js\",\n \"revision\": \"68170aa60f6046e69d737218d91f9cc2\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/begingroup.js\",\n \"revision\": \"ed1473a054e03606ea1205f9746bab7f\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/braket.js\",\n \"revision\": \"5e5f4371fc2c023e824ad5cfdf833daa\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/dsfont.js\",\n \"revision\": \"4649b53d03f413805d9c8e0f376d54d5\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/bbox.js\",\n \"revision\": \"ee9840cae74436de8f499f57514cefd1\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/amscd.js\",\n \"revision\": \"196ade5768f8d620aa2e53d8acfe0c63\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/textcomp.js\",\n \"revision\": \"7415452ca7914b843e7f64e3f0ad999c\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/bussproofs.js\",\n \"revision\": \"e1f3f2dccaaf3b53d3329fd50c47ccb5\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/bboldx.js\",\n \"revision\": \"0e624a10f7e5a2e8c40108f3f357d52c\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/physics.js\",\n \"revision\": \"a1e7b7fe6e8a7c4510de2983f0444292\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/centernot.js\",\n \"revision\": \"54a97e76845a2831bea9dff6c49cb87a\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/gensymb.js\",\n \"revision\": \"4f2ea1f8d6a8f66cd16ff2978eb8ffc3\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/upgreek.js\",\n \"revision\": \"4d419e9fea756709082d5bc997c2ac99\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/empheq.js\",\n \"revision\": \"c57b3e0ba8c1328c1299725689ec9809\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/mhchem.js\",\n \"revision\": \"51df23bad3b36feff2eee5145f5019cf\"\n },\n {\n \"url\": \"math4/es5/input/asciimath.js\",\n \"revision\": \"ce6a48e6591a8828079ca52bedc6cfd6\"\n },\n {\n \"url\": \"math4/es5/input/tex.js\",\n \"revision\": \"b37f43017b1da87ba0338cd2ad2cc2d3\"\n },\n {\n \"url\": \"math4/es5/startup.js\",\n \"revision\": \"2edb14e5a4eee8a2deb3b6d6c1d2da65\"\n },\n {\n \"url\": \"math4/es5/output/svg.js\",\n \"revision\": \"4e09bed3cc6919a9f7148a6959b0df2f\"\n },\n {\n \"url\": \"math4/es5/fonts/mathjax-bbm-font-extension/svg.js\",\n \"revision\": \"1aa944de4855499f9a553a295bf68c61\"\n },\n {\n \"url\": \"math4/es5/fonts/mathjax-tex-font/svg.js\",\n \"revision\": \"945c881ed536ba14ad850d91515811e4\"\n },\n {\n \"url\": \"math4/es5/fonts/mathjax-bboldx-font-extension/svg.js\",\n \"revision\": \"68e28ef57e96d55244d87c4e8405cea7\"\n },\n {\n \"url\": \"math4/es5/fonts/mathjax-dsfont-font-extension/svg.js\",\n \"revision\": \"4abc37840d7b4061c9b34578ed9877c0\"\n },\n {\n \"url\": \"math4/es5/fonts/mathjax-mhchem-font-extension/svg.js\",\n \"revision\": \"251601109d53e2e75d15affd9a1d9d42\"\n },\n {\n \"url\": \"resources/dia.txt\",\n \"revision\": \"db9846396ff0c8b8130cdc7aa220c21b\"\n },\n {\n \"url\": \"resources/dia_am.txt\",\n \"revision\": \"0741e23f4fcaf641159ac906dd2c7585\"\n },\n {\n \"url\": \"resources/dia_ar.txt\",\n \"revision\": \"b145d43b2acd0493b044346595fc9ef9\"\n },\n {\n \"url\": \"resources/dia_bg.txt\",\n \"revision\": \"95fafe55c89f3cb6afb64efaf246bd35\"\n },\n {\n \"url\": \"resources/dia_bn.txt\",\n \"revision\": \"f00b3d11f68eda841d1715cd198f2d38\"\n },\n {\n \"url\": \"resources/dia_bs.txt\",\n \"revision\": \"1901fe3bfc03aa26ec38cc8ee613db1c\"\n },\n {\n \"url\": \"resources/dia_ca.txt\",\n \"revision\": \"a15c918ce28e22e4b4eb8621e521dd72\"\n },\n {\n \"url\": \"resources/dia_cs.txt\",\n \"revision\": \"60d69f9145e15ecb15bbe35ab304b078\"\n },\n {\n \"url\": \"resources/dia_da.txt\",\n \"revision\": \"155301c8e48d5e6953bfd94279e98f22\"\n },\n {\n \"url\": \"resources/dia_de.txt\",\n \"revision\": \"bf0d5c5fb6e2f302d8479cffd8772ced\"\n },\n {\n \"url\": \"resources/dia_el.txt\",\n \"revision\": \"0ff951898ceace498ba70da629401297\"\n },\n {\n \"url\": \"resources/dia_eo.txt\",\n \"revision\": \"405fc9d59805242aa5c0204dd4b15782\"\n },\n {\n \"url\": \"resources/dia_es.txt\",\n \"revision\": \"6e68ae8a386822c7225c53d037d4d8a6\"\n },\n {\n \"url\": \"resources/dia_et.txt\",\n \"revision\": \"87372b0230862e490f6fa44be50c3457\"\n },\n {\n \"url\": \"resources/dia_eu.txt\",\n \"revision\": \"c87a5801e8c11b1362da82c0fadadca6\"\n },\n {\n \"url\": \"resources/dia_fa.txt\",\n \"revision\": \"383a37c34a4ea066326df8e846bc0d22\"\n },\n {\n \"url\": \"resources/dia_fi.txt\",\n \"revision\": \"395d97488679c25f9c1b41d5cf3309ed\"\n },\n {\n \"url\": \"resources/dia_fil.txt\",\n \"revision\": \"5054a3e9332a9b5aafbed274dbaa2d6d\"\n },\n {\n \"url\": \"resources/dia_fr.txt\",\n \"revision\": \"ca07bb4921481d20baa7c5acb093d786\"\n },\n {\n \"url\": \"resources/dia_gl.txt\",\n \"revision\": \"674cdeb5b0f8be22fe653f7caa26eeec\"\n },\n {\n \"url\": \"resources/dia_gu.txt\",\n \"revision\": \"01370e2923d6d342efffc7ea7f864de9\"\n },\n {\n \"url\": \"resources/dia_he.txt\",\n \"revision\": \"6d58084cbfd722076f57f119bedb3a2b\"\n },\n {\n \"url\": \"resources/dia_hi.txt\",\n \"revision\": \"6db90dd0e1670da7221ad88b43ed5e05\"\n },\n {\n \"url\": \"resources/dia_hr.txt\",\n \"revision\": \"abe737e7a4f1bf12f23d8cbee398d008\"\n },\n {\n \"url\": \"resources/dia_hu.txt\",\n \"revision\": \"90c2e68e8a12e0c3f8533bb397ba0149\"\n },\n {\n \"url\": \"resources/dia_id.txt\",\n \"revision\": \"1169d33225a7aa752108c9be54da61ee\"\n },\n {\n \"url\": \"resources/dia_it.txt\",\n \"revision\": \"17accb1b497f747dd70998fb02cbfea0\"\n },\n {\n \"url\": \"resources/dia_ja.txt\",\n \"revision\": \"b5aee34a585d4f51bbcaf173ef671b99\"\n },\n {\n \"url\": \"resources/dia_kn.txt\",\n \"revision\": \"e6983025f1e439201f72e3961082a4f5\"\n },\n {\n \"url\": \"resources/dia_ko.txt\",\n \"revision\": \"1028f82c071a3032014054c7624192b8\"\n },\n {\n \"url\": \"resources/dia_lt.txt\",\n \"revision\": \"4df20bdbe5a5251f7282d4d264d8cfb6\"\n },\n {\n \"url\": \"resources/dia_lv.txt\",\n \"revision\": \"704da1f1b029a65f171888858c319846\"\n },\n {\n \"url\": \"resources/dia_ml.txt\",\n \"revision\": \"c72030cbbc9089e06f75d3a3d7e3bda5\"\n },\n {\n \"url\": \"resources/dia_mr.txt\",\n \"revision\": \"96d6243cf2db645918d3d297ff95a6ea\"\n },\n {\n \"url\": \"resources/dia_ms.txt\",\n \"revision\": \"4b5c13b6b02f0f16d7bb26e8d509b4b2\"\n },\n {\n \"url\": \"resources/dia_my.txt\",\n \"revision\": \"b2c2e28d97c26f43eedc6e95b6fbefca\"\n },\n {\n \"url\": \"resources/dia_nl.txt\",\n \"revision\": \"8dde3d940aaa5e41a20ba78f6266c643\"\n },\n {\n \"url\": \"resources/dia_no.txt\",\n \"revision\": \"33282cb785e2b679d66ad2a3f1440ce9\"\n },\n {\n \"url\": \"resources/dia_pl.txt\",\n \"revision\": \"7f024fe4e436ac92d310e5e59e7c5f5a\"\n },\n {\n \"url\": \"resources/dia_pt-br.txt\",\n \"revision\": \"9a001cf80d9e552ad7a2e8fae348994b\"\n },\n {\n \"url\": \"resources/dia_pt.txt\",\n \"revision\": \"38b7cc534f69f6dcd262e513054d3c8c\"\n },\n {\n \"url\": \"resources/dia_ro.txt\",\n \"revision\": \"c0b6ace400e226a7473fc1c42997986c\"\n },\n {\n \"url\": \"resources/dia_ru.txt\",\n \"revision\": \"5f2b359fbcae3d487d1c74a439120ed6\"\n },\n {\n \"url\": \"resources/dia_si.txt\",\n \"revision\": \"3263fa53b73c7a4937cce8ecd81ca946\"\n },\n {\n \"url\": \"resources/dia_sk.txt\",\n \"revision\": \"96f95891d4f87c010b0ea99f26657c5d\"\n },\n {\n \"url\": \"resources/dia_sl.txt\",\n \"revision\": \"6332585232677b617f2f414f884311b0\"\n },\n {\n \"url\": \"resources/dia_sr.txt\",\n \"revision\": \"8c9877fedc3187be6416af1beec06b7f\"\n },\n {\n \"url\": \"resources/dia_sv.txt\",\n \"revision\": \"52785b93fb825c6be868375e779be2d0\"\n },\n {\n \"url\": \"resources/dia_sw.txt\",\n \"revision\": \"702f7083c144ce11d440329a09f0fe58\"\n },\n {\n \"url\": \"resources/dia_ta.txt\",\n \"revision\": \"787131810af334c6d86a7febd3f389ab\"\n },\n {\n \"url\": \"resources/dia_te.txt\",\n \"revision\": \"6b2856267f2184c5a9b33da56abc5474\"\n },\n {\n \"url\": \"resources/dia_th.txt\",\n \"revision\": \"e07398ad49f5784ab349cde38b0a45d2\"\n },\n {\n \"url\": \"resources/dia_tr.txt\",\n \"revision\": \"4f700172d91e9520f66e0fcb30e3c3bd\"\n },\n {\n \"url\": \"resources/dia_uk.txt\",\n \"revision\": \"ed26023e621dd919e712cdb68ae35601\"\n },\n {\n \"url\": \"resources/dia_vi.txt\",\n \"revision\": \"42609d54feca7b81e98f9c53b9a283b8\"\n },\n {\n \"url\": \"resources/dia_zh-tw.txt\",\n \"revision\": \"06a7e21b769f8ba90b8027de2b4437f2\"\n },\n {\n \"url\": \"resources/dia_zh.txt\",\n \"revision\": \"394db8068da690a09eaf1074793ef467\"\n },\n {\n \"url\": \"favicon.ico\",\n \"revision\": \"b2bf17349e4b50ce4ba311f079f8bf7d\"\n },\n {\n \"url\": \"images/manifest.json\",\n \"revision\": \"421b4fae5b46499348d194e1f93558c3\"\n },\n {\n \"url\": \"images/logo.png\",\n \"revision\": \"e4e0d092abdb1e668b5ec41a7fe0713c\"\n },\n {\n \"url\": \"images/drawlogo.svg\",\n \"revision\": \"4bf4d14ebcf072d8bd4c5a1c89e88fc6\"\n },\n {\n \"url\": \"images/drawlogo48.png\",\n \"revision\": \"8b13428373aca67b895364d025f42417\"\n },\n {\n \"url\": \"images/drawlogo-gray.svg\",\n \"revision\": \"0aabacbc0873816e1e09e4736ae44c7d\"\n },\n {\n \"url\": \"images/drawlogo-text-bottom.svg\",\n \"revision\": \"f6c438823ab31f290940bd4feb8dd9c2\"\n },\n {\n \"url\": \"images/logo-flat-small.png\",\n \"revision\": \"4b178e59ff499d6dd1894fc498b59877\"\n },\n {\n \"url\": \"images/apple-touch-icon.png\",\n \"revision\": \"732c29e21332a926318a7005d21ec450\"\n },\n {\n \"url\": \"images/icon-192-maskable.png\",\n \"revision\": \"47e006d0ce4a35eb5beaa97f0c2bfed0\"\n },\n {\n \"url\": \"images/icon-192.png\",\n \"revision\": \"d022403d52435d76afec82c4e24a17ef\"\n },\n {\n \"url\": \"images/icon-512-maskable.png\",\n \"revision\": \"cf152feeb01fb21f3148a71a3540266e\"\n },\n {\n \"url\": \"images/icon-512.png\",\n \"revision\": \"a3a0df7e7a385244b74073f81ecc45de\"\n },\n {\n \"url\": \"images/delete.png\",\n \"revision\": \"5f2350f2fd20f1a229637aed32ed8f29\"\n },\n {\n \"url\": \"images/droptarget.png\",\n \"revision\": \"bbf7f563fb6784de1ce96f329519b043\"\n },\n {\n \"url\": \"images/logo-flat.png\",\n \"revision\": \"038070ab43aee6e54a791211859fc67b\"\n },\n {\n \"url\": \"images/google-drive-logo.svg\",\n \"revision\": \"5d9f2f5bbc7dcc252730a0072bb23059\"\n },\n {\n \"url\": \"images/onedrive-logo.svg\",\n \"revision\": \"3645b344ec0634c1290dd58d7dc87b97\"\n },\n {\n \"url\": \"images/dropbox-logo.svg\",\n \"revision\": \"e6be408c77cf9c82d41ac64fa854280a\"\n },\n {\n \"url\": \"images/github-logo.svg\",\n \"revision\": \"a1a999b69a275eac0cb918360ac05ae1\"\n },\n {\n \"url\": \"images/gitlab-logo.svg\",\n \"revision\": \"0faea8c818899e58533e153c44b10517\"\n },\n {\n \"url\": \"images/trello-logo.svg\",\n \"revision\": \"006fd0d7d70d7e95dc691674cb12e044\"\n },\n {\n \"url\": \"images/osa_drive-harddisk.png\",\n \"revision\": \"b954e1ae772087c5b4c6ae797e1f9649\"\n },\n {\n \"url\": \"images/osa_database.png\",\n \"revision\": \"c350d9d9b95f37b6cfe798b40ede5fb0\"\n },\n {\n \"url\": \"images/google-drive-logo-white.svg\",\n \"revision\": \"f329d8b1be7778515a85b93fc35d9f26\"\n },\n {\n \"url\": \"images/dropbox-logo-white.svg\",\n \"revision\": \"4ea8299ac3bc31a16f199ee3aec223bf\"\n },\n {\n \"url\": \"images/onedrive-logo-white.svg\",\n \"revision\": \"b3602fa0fc947009cff3f33a581cff4d\"\n },\n {\n \"url\": \"images/github-logo-white.svg\",\n \"revision\": \"537b1127b3ca0f95b45782d1304fb77a\"\n },\n {\n \"url\": \"images/gitlab-logo-white.svg\",\n \"revision\": \"5fede9ac2f394c716b8c23e3fddc3910\"\n },\n {\n \"url\": \"images/trello-logo-white-orange.svg\",\n \"revision\": \"e2a0a52ba3766682f138138d10a75eb5\"\n },\n {\n \"url\": \"images/logo-confluence.png\",\n \"revision\": \"ed1e55d44ae5eba8f999aba2c93e8331\"\n },\n {\n \"url\": \"images/logo-jira.png\",\n \"revision\": \"f8d460555a0d1f87cfd901e940666629\"\n },\n {\n \"url\": \"images/spin.gif\",\n \"revision\": \"487cbb40b9ced439aa1ad914e816d773\"\n },\n {\n \"url\": \"images/aui-wait.gif\",\n \"revision\": \"5a474bcbd8d2f2826f03d10ea44bf60e\"\n },\n {\n \"url\": \"mxgraph/css/common.css\",\n \"revision\": \"8d895dc8387694c128232b13e631be39\"\n }\n], {\n \"ignoreURLParametersMatching\": [/.*/]\n});\n\n\n\n\n\n\n\n\n"],"names":["self","skipWaiting","workbox_precaching_precacheAndRoute","url","revision","ignoreURLParametersMatching"],"mappings":"0nBAmBAA,KAAKC,cAULC,EAAAA,iBAAoC,CAClC,CACEC,IAAO,kBACPC,SAAY,oCAEd,CACED,IAAO,aACPC,SAAY,oCAEd,CACED,IAAO,gBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,qBACPC,SAAY,oCAEd,CACED,IAAO,qBACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,mBACPC,SAAY,oCAEd,CACED,IAAO,aACPC,SAAY,oCAEd,CACED,IAAO,YACPC,SAAY,oCAEd,CACED,IAAO,gBACPC,SAAY,oCAEd,CACED,IAAO,8CACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,2BACPC,SAAY,oCAEd,CACED,IAAO,gCACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,iCACPC,SAAY,oCAEd,CACED,IAAO,uCACPC,SAAY,oCAEd,CACED,IAAO,iCACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,8BACPC,SAAY,oCAEd,CACED,IAAO,2BACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,yCACPC,SAAY,oCAEd,CACED,IAAO,oCACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,4BACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,4BACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,gCACPC,SAAY,oCAEd,CACED,IAAO,oCACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,wCACPC,SAAY,oCAEd,CACED,IAAO,4CACPC,SAAY,oCAEd,CACED,IAAO,6CACPC,SAAY,oCAEd,CACED,IAAO,yCACPC,SAAY,oCAEd,CACED,IAAO,qCACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,oBACPC,SAAY,oCAEd,CACED,IAAO,wCACPC,SAAY,oCAEd,CACED,IAAO,yCACPC,SAAY,oCAEd,CACED,IAAO,6CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,+CACPC,SAAY,oCAEd,CACED,IAAO,0CACPC,SAAY,oCAEd,CACED,IAAO,6CACPC,SAAY,oCAEd,CACED,IAAO,yCACPC,SAAY,oCAEd,CACED,IAAO,4CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,4CACPC,SAAY,oCAEd,CACED,IAAO,0CACPC,SAAY,oCAEd,CACED,IAAO,0CACPC,SAAY,oCAEd,CACED,IAAO,8CACPC,SAAY,oCAEd,CACED,IAAO,+CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,yCACPC,SAAY,oCAEd,CACED,IAAO,0CACPC,SAAY,oCAEd,CACED,IAAO,6CACPC,SAAY,oCAEd,CACED,IAAO,+CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,4CACPC,SAAY,oCAEd,CACED,IAAO,8CACPC,SAAY,oCAEd,CACED,IAAO,4CACPC,SAAY,oCAEd,CACED,IAAO,4CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,oDACPC,SAAY,oCAEd,CACED,IAAO,0CACPC,SAAY,oCAEd,CACED,IAAO,uDACPC,SAAY,oCAEd,CACED,IAAO,uDACPC,SAAY,oCAEd,CACED,IAAO,uDACPC,SAAY,oCAEd,CACED,IAAO,oBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,wBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,cACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,kBACPC,SAAY,oCAEd,CACED,IAAO,sBACPC,SAAY,oCAEd,CACED,IAAO,wBACPC,SAAY,oCAEd,CACED,IAAO,2BACPC,SAAY,oCAEd,CACED,IAAO,kCACPC,SAAY,oCAEd,CACED,IAAO,6BACPC,SAAY,oCAEd,CACED,IAAO,8BACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,sBACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,sBACPC,SAAY,oCAEd,CACED,IAAO,oBACPC,SAAY,oCAEd,CACED,IAAO,wBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,2BACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,gCACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,qCACPC,SAAY,oCAEd,CACED,IAAO,gCACPC,SAAY,oCAEd,CACED,IAAO,iCACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,sCACPC,SAAY,oCAEd,CACED,IAAO,6BACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,kBACPC,SAAY,oCAEd,CACED,IAAO,sBACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,qCAEb,CACDC,4BAA+B,CAAC"}\ No newline at end of file