From ea012baba6fb2e903797fa6306833ca4f31ab361 Mon Sep 17 00:00:00 2001 From: David Benson Date: Thu, 15 Sep 2022 13:45:58 +0100 Subject: 20.3.1 release --- ChangeLog | 12 + VERSION | 2 +- src/main/webapp/js/app.min.js | 3705 +++++++++++----------- src/main/webapp/js/diagramly/App.js | 147 +- src/main/webapp/js/diagramly/Devel.js | 4 +- src/main/webapp/js/diagramly/Dialogs.js | 9 +- src/main/webapp/js/diagramly/Editor.js | 2 +- src/main/webapp/js/diagramly/EditorUi.js | 813 ++++- src/main/webapp/js/diagramly/Embed.js | 2 +- src/main/webapp/js/diagramly/Menus.js | 724 ++++- src/main/webapp/js/diagramly/Minimal.js | 516 +--- src/main/webapp/js/diagramly/mxFreehand.js | 6 +- src/main/webapp/js/diagramly/sidebar/Sidebar.js | 36 +- src/main/webapp/js/embed.dev.js | 2 +- src/main/webapp/js/grapheditor/Actions.js | 17 +- src/main/webapp/js/grapheditor/EditorUi.js | 13 +- src/main/webapp/js/grapheditor/Menus.js | 4 +- src/main/webapp/js/integrate.min.js | 3739 ++++++++++++----------- src/main/webapp/js/math-print.js | 2 +- src/main/webapp/js/viewer-static.min.js | 2961 +++++++++--------- src/main/webapp/js/viewer.min.js | 2961 +++++++++--------- src/main/webapp/mxgraph/mxClient.js | 2 +- src/main/webapp/resources/dia_de.txt | 2 +- src/main/webapp/resources/dia_fr.txt | 46 +- src/main/webapp/service-worker.js | 2 +- src/main/webapp/service-worker.js.map | 2 +- src/main/webapp/styles/grapheditor.css | 2 +- 27 files changed, 8271 insertions(+), 7462 deletions(-) diff --git a/ChangeLog b/ChangeLog index 936ce292..0d534deb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +15-SEP-2022: 20.3.1 + +- Multiple commits preparing for live UI switch [DS-909] +- Disables java proxy by default [DS-912] +- Removes click to stop drawing freehand [1109] +- NPE fix [DS-913] +- NPE fix [DS-914] +- [conf cloud] Diagram count restrictions on free tier [DFCC-57] +- Fixes scroll issue for CMD key in Safari 16 [3017] +- Enables autosize for multiple vertices [1116] +- Adds ui/safe to fix possible XSS in math [CSP-733] + 07-SEP-2022: 20.3.0 - Uses organic as default layout to fix possible NPE in CSV import [DS-910] diff --git a/VERSION b/VERSION index 695100c7..7639d857 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -20.3.0 \ No newline at end of file +20.3.1 \ No newline at end of file diff --git a/src/main/webapp/js/app.min.js b/src/main/webapp/js/app.min.js index 6fec1d8a..79af176c 100644 --- a/src/main/webapp/js/app.min.js +++ b/src/main/webapp/js/app.min.js @@ -145,7 +145,7 @@ if("1"==urlParams.offline||"1"==urlParams.demo||"1"==urlParams.stealth||"1"==url "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);window.urlParams=window.urlParams||{};window.DOM_PURIFY_CONFIG=window.DOM_PURIFY_CONFIG||{ADD_TAGS:["use"],FORBID_TAGS:["form"],ALLOWED_URI_REGEXP:/^((?!javascript:).)*$/i,ADD_ATTR:["target","content"]};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:"20.3.0",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.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"20.3.1",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&&2navigator.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||"[object SVGForeignObjectElement]"!== @@ -2242,16 +2242,17 @@ EditorUi.prototype.addUndoListener=function(){var a=this.actions.get("undo"),b=t this.editor.graph.cellEditor.stopEditing=function(k,n){d.apply(this,arguments);e()};e()}; EditorUi.prototype.updateActionStates=function(){for(var a=this.editor.graph,b=this.getSelectionState(),f=a.isEnabled()&&!a.isCellLocked(a.getDefaultParent()),e="cut copy bold italic underline delete duplicate editStyle editTooltip editLink backgroundColor borderColor edit toFront toBack solid dashed pasteSize dotted fillColor gradientColor shadow fontColor formattedText rounded toggleRounded strokeColor sharp snapToGrid".split(" "),g=0;g/g,"\n"));var F=document.createElement("div");F.innerHTML=d.sanitizeHtml(D);D=mxUtils.extractTextWithWhitespace(F.childNodes);d.cellLabelChanged(state.cell,D);d.setCellStyles("html",m,[r[x]])}else"0"==B&&"1"==m&&(D=mxUtils.htmlEntities(d.convertValueToString(state.cell), -!1),"0"!=mxUtils.getValue(state.style,"nl2Br","1")&&(D=D.replace(/\n/g,"
")),d.cellLabelChanged(state.cell,d.sanitizeHtml(D)),d.setCellStyles("html",m,[r[x]]))}e.fireEvent(new mxEventObject("styleChanged","keys",["html"],"values",[null!=m?m:"0"],"cells",r))}finally{d.getModel().endUpdate()}});this.addAction("wordWrap",function(){var m=d.getView().getState(d.getSelectionCell()),r="wrap";d.stopEditing();null!=m&&"wrap"==m.style[mxConstants.STYLE_WHITE_SPACE]&&(r=null);d.setCellStyles(mxConstants.STYLE_WHITE_SPACE, -r)});this.addAction("rotation",function(){var m="0",r=d.getView().getState(d.getSelectionCell());null!=r&&(m=r.style[mxConstants.STYLE_ROTATION]||m);m=new FilenameDialog(e,m,mxResources.get("apply"),function(x){null!=x&&0/g,"\n"));var F=document.createElement("div");F.innerHTML=d.sanitizeHtml(D);D=mxUtils.extractTextWithWhitespace(F.childNodes);d.cellLabelChanged(state.cell,D);d.setCellStyles("html",m,[r[x]])}else"0"== +B&&"1"==m&&(D=mxUtils.htmlEntities(d.convertValueToString(state.cell),!1),"0"!=mxUtils.getValue(state.style,"nl2Br","1")&&(D=D.replace(/\n/g,"
")),d.cellLabelChanged(state.cell,d.sanitizeHtml(D)),d.setCellStyles("html",m,[r[x]]))}e.fireEvent(new mxEventObject("styleChanged","keys",["html"],"values",[null!=m?m:"0"],"cells",r))}finally{d.getModel().endUpdate()}});this.addAction("wordWrap",function(){var m=d.getView().getState(d.getSelectionCell()),r="wrap";d.stopEditing();null!=m&&"wrap"==m.style[mxConstants.STYLE_WHITE_SPACE]&& +(r=null);d.setCellStyles(mxConstants.STYLE_WHITE_SPACE,r)});this.addAction("rotation",function(){var m="0",r=d.getView().getState(d.getSelectionCell());null!=r&&(m=r.style[mxConstants.STYLE_ROTATION]||m);m=new FilenameDialog(e,m,mxResources.get("apply"),function(x){null!=x&&0mxUtils.indexOf(this.enabledLibraries,this.currentSearchEntryLibrary.id)?k:a.apply(this,arguments)};var c=Sidebar.prototype.refresh;Sidebar.prototype.refresh=function(){var h=this.editorUi;c.apply(this,arguments);null!=h.scratchpad&& -h.loadLibrary(new StorageLibrary(h,h.scratchpad.getData(),".scratchpad"))};var d=Sidebar.prototype.insertSearchHint;Sidebar.prototype.insertSearchHint=function(h,k,l,m,n,p,q,t){if(null!=t&&1==m){var u=null;if(0<=mxUtils.indexOf(t,"text"))u="Double click anywhere in the diagram to insert text.";else for(var v="line lines arrow arrows connect connection connections connector connectors curve curves link links directed directional bidirectional".split(" "),w=0;wmxUtils.indexOf(this.enabledLibraries,this.currentSearchEntryLibrary.id)?l:a.apply(this,arguments)};var c=Sidebar.prototype.refresh;Sidebar.prototype.refresh=function(){var k=this.editorUi;c.apply(this,arguments);null!=k.scratchpad&& +k.loadLibrary(new StorageLibrary(k,k.scratchpad.getData(),".scratchpad"))};var d=Sidebar.prototype.insertSearchHint;Sidebar.prototype.insertSearchHint=function(k,l,m,n,p,r,t,v){if(null!=v&&1==n){var u=null;if(0<=mxUtils.indexOf(v,"text"))u="Double click anywhere in the diagram to insert text.";else for(var w="line lines arrow arrows connect connection connections connector connectors curve curves link links directed directional bidirectional".split(" "),q=0;qk&&(k=h.length);return h.substring(6,k)}return null};var b=Sidebar.prototype.getTagsForStencil;Sidebar.prototype.getTagsForStencil=function(h,k,l){var m=b.apply(this,arguments);null!=this.shapetags&&(h=h.toLowerCase(),k=k.toLowerCase(),null!=this.shapetags[h]&&m.push(this.shapetags[h]),k=h+"."+k,null!=this.shapetags[k]&&m.push(this.shapetags[k]));return m};Sidebar.prototype.addTagIndex= -function(h){h=h.split("\n");for(var k=0;kq?"":l.substring(q+1));this.setCurrentSearchEntryLibrary(h[k].id,h[k].lib);this.createVertexTemplateEntry(l,parseInt(h[k].w),parseInt(h[k].h),"",m.replace(/_/g," "),null,null,this.filterTags(n.join(" ")));this.setCurrentSearchEntryLibrary()}}}}}; -Sidebar.prototype.initPalettes=function(){var h=GRAPH_IMAGE_PATH,k=STENCIL_PATH,l=this.signs,m=this.rack,n=this.pids,p=this.cisco,q=this.sysml;"1"==urlParams.createindex&&(this.createdSearchIndex=[]);this.addSearchPalette(!0);if(null!=this.customEntries)for(var t=0,u=0;u ';C.appendChild(E)}),G=mxUtils.bind(this,function(){null!=D&&null!=F&&(null!=B?(D.style.display="block",F.innerText="",mxUtils.write(F,this.editorUi.getResource(x.title)),K(B,D)):null!=z?(this.editorUi.addLibraryEntries(z,D),D.style.display="block",F.innerText="",mxUtils.write(F,this.editorUi.getResource(x.title))): -(D.style.display="none",F.innerText="",mxUtils.write(F,mxResources.get("loading")+"...")))});if(null==x.data&&null!=x.url&&!x.preload&&t>=this.maxPreloadCount)this.addPalette(r.id+"."+y,this.editorUi.getResource(x.title),!1,mxUtils.bind(this,function(A,C){var E=mxUtils.bind(this,function(H){this.setCurrentSearchEntryLibrary(r.id,r.id+"."+y);this.addEntries(H);this.setCurrentSearchEntryLibrary();this.editorUi.addLibraryEntries(H,A)});A.style.display="none";C.innerText="";mxUtils.write(C,mxResources.get("loading")+ -"...");var I=x.url;this.editorUi.editor.isCorsEnabledForUrl(I)||(I=PROXY_URL+"?url="+encodeURIComponent(I));this.editorUi.editor.loadUrl(I,mxUtils.bind(this,function(H){A.style.display="block";C.innerText="";mxUtils.write(C,this.editorUi.getResource(x.title));try{var L=mxUtils.parseXml(H);if("mxlibrary"==L.documentElement.nodeName){var M=JSON.parse(mxUtils.getTextContent(L.documentElement));E(M)}else K(mxResources.get("notALibraryFile"),A)}catch(N){K(mxResources.get("error")+": "+N.message,A)}}))})); -else if(this.addPalette(r.id+"."+y,this.editorUi.getResource(x.title),!1,mxUtils.bind(this,function(A,C){D=A;F=C;G()})),null!=x.data)this.setCurrentSearchEntryLibrary(r.id,r.id+"."+y),this.addEntries(x.data),this.setCurrentSearchEntryLibrary(),z=x.data,G();else if(null!=x.url){t++;var J=x.url;this.editorUi.editor.isCorsEnabledForUrl(J)||(J=PROXY_URL+"?url="+encodeURIComponent(J));this.editorUi.editor.loadUrl(J,mxUtils.bind(this,function(A){try{var C=mxUtils.parseXml(A);"mxlibrary"==C.documentElement.nodeName? -(z=JSON.parse(mxUtils.getTextContent(C.documentElement)),this.addEntries(z)):B=mxResources.get("notALibraryFile");G()}catch(E){B=mxResources.get("error")+": "+E.message,G()}}),mxUtils.bind(this,function(A){B=null!=A&&null!=A.message?A.message:A;G()}))}else B=mxResources.get("invalidInput"),G()})(r.libs[y]);this.addGeneralPalette(null==this.customEntries);this.addMiscPalette(!1);this.addAdvancedPalette(!1);this.addBasicPalette();this.addStencilPalette("arrows",mxResources.get("arrows"),k+"/arrows.xml", -";html=1;"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_STROKEWIDTH+"=2;strokeColor=#000000;",null,null,null,null,null,"arrows");this.addArrows2Palette();this.setCurrentSearchEntryLibrary("clipart","computer");this.addImagePalette("computer","Clipart / Computer",h+"/lib/clip_art/computers/","_128x128.png","Antivirus Data_Filtering Database Database_Add Database_Minus Database_Move_Stack Database_Remove Fujitsu_Tablet Harddrive IBM_Tablet iMac iPad Laptop MacBook Mainframe Monitor Monitor_Tower Monitor_Tower_Behind Netbook Network Network_2 Printer Printer_Commercial Secure_System Server Server_Rack Server_Rack_Empty Server_Rack_Partial Server_Tower Software Stylus Touch USB_Hub Virtual_Application Virtual_Machine Virus Workstation".split(" "), +(Sidebar.prototype.addFoldingHandler=function(k,l,m){var n=!1;if(!mxClient.IS_IE||8<=document.documentMode)k.style.backgroundImage="none"==l.style.display?"url('"+this.collapsedImage+"')":"url('"+this.expandedImage+"')";k.style.backgroundRepeat="no-repeat";k.style.backgroundPosition="0% 50%";var p=document.createElement("button");p.style.marginLeft="4px";mxUtils.write(p,"Save");mxEvent.addListener(k,"click",mxUtils.bind(this,function(r){if("BUTTON"==mxEvent.getSource(r).nodeName){r=l.getElementsByTagName("svg"); +var t=(Math.ceil(r.length/6)+1)*this.thumbHeight,v=Graph.createSvgNode(0,0,456,t,"#ffffff"),u=new mxSvgCanvas2D(v);u.setFontFamily(mxConstants.DEFAULT_FONTFAMILY);u.setFontStyle(mxConstants.FONT_BOLD);u.setFontColor("rgb(80, 80, 80)");u.setFontSize(14);for(var w=k.childNodes,q=0;ql&&(l=k.length);return k.substring(6,l)}return null};var b=Sidebar.prototype.getTagsForStencil;Sidebar.prototype.getTagsForStencil=function(k,l,m){var n=b.apply(this,arguments);null!=this.shapetags&&(k=k.toLowerCase(),l=l.toLowerCase(),null!=this.shapetags[k]&&n.push(this.shapetags[k]),l=k+"."+l,null!=this.shapetags[l]&&n.push(this.shapetags[l]));return n};Sidebar.prototype.addTagIndex= +function(k){k=k.split("\n");for(var l=0;lt?"":m.substring(t+1));this.setCurrentSearchEntryLibrary(k[l].id,k[l].lib);this.createVertexTemplateEntry(m,parseInt(k[l].w),parseInt(k[l].h),"",n.replace(/_/g," "),null,null,this.filterTags(p.join(" ")));this.setCurrentSearchEntryLibrary()}}}}}; +Sidebar.prototype.initPalettes=function(){var k=GRAPH_IMAGE_PATH,l=STENCIL_PATH,m=this.signs,n=this.rack,p=this.pids,r=this.cisco,t=this.sysml;"1"==urlParams.createindex&&(this.createdSearchIndex=[]);this.addSearchPalette(!0);if(null!=this.customEntries)for(var v=0,u=0;u ';C.appendChild(E)}),H=mxUtils.bind(this,function(){null!=G&&null!=F&&(null!=D?(G.style.display="block",F.innerText="",mxUtils.write(F,this.editorUi.getResource(z.title)),L(D,G)):null!=A?(this.editorUi.addLibraryEntries(A,G),G.style.display="block",F.innerText="",mxUtils.write(F,this.editorUi.getResource(z.title))): +(G.style.display="none",F.innerText="",mxUtils.write(F,mxResources.get("loading")+"...")))});if(null==z.data&&null!=z.url&&!z.preload&&v>=this.maxPreloadCount)this.addPalette(x.id+"."+y,this.editorUi.getResource(z.title),!1,mxUtils.bind(this,function(B,C){var E=mxUtils.bind(this,function(I){this.setCurrentSearchEntryLibrary(x.id,x.id+"."+y);this.addEntries(I);this.setCurrentSearchEntryLibrary();this.editorUi.addLibraryEntries(I,B)});B.style.display="none";C.innerText="";mxUtils.write(C,mxResources.get("loading")+ +"...");var J=z.url;this.editorUi.editor.isCorsEnabledForUrl(J)||(J=PROXY_URL+"?url="+encodeURIComponent(J));this.editorUi.editor.loadUrl(J,mxUtils.bind(this,function(I){B.style.display="block";C.innerText="";mxUtils.write(C,this.editorUi.getResource(z.title));try{var M=mxUtils.parseXml(I);if("mxlibrary"==M.documentElement.nodeName){var N=JSON.parse(mxUtils.getTextContent(M.documentElement));E(N)}else L(mxResources.get("notALibraryFile"),B)}catch(O){L(mxResources.get("error")+": "+O.message,B)}}))})); +else if(this.addPalette(x.id+"."+y,this.editorUi.getResource(z.title),!1,mxUtils.bind(this,function(B,C){G=B;F=C;H()})),null!=z.data)this.setCurrentSearchEntryLibrary(x.id,x.id+"."+y),this.addEntries(z.data),this.setCurrentSearchEntryLibrary(),A=z.data,H();else if(null!=z.url){v++;var K=z.url;this.editorUi.editor.isCorsEnabledForUrl(K)||(K=PROXY_URL+"?url="+encodeURIComponent(K));this.editorUi.editor.loadUrl(K,mxUtils.bind(this,function(B){try{var C=mxUtils.parseXml(B);"mxlibrary"==C.documentElement.nodeName? +(A=JSON.parse(mxUtils.getTextContent(C.documentElement)),this.addEntries(A)):D=mxResources.get("notALibraryFile");H()}catch(E){D=mxResources.get("error")+": "+E.message,H()}}),mxUtils.bind(this,function(B){D=null!=B&&null!=B.message?B.message:B;H()}))}else D=mxResources.get("invalidInput"),H()})(x.libs[y]);this.addGeneralPalette(null==this.customEntries);this.addMiscPalette(!1);this.addAdvancedPalette(!1);this.addBasicPalette();this.addStencilPalette("arrows",mxResources.get("arrows"),l+"/arrows.xml", +";html=1;"+mxConstants.STYLE_VERTICAL_LABEL_POSITION+"=bottom;"+mxConstants.STYLE_VERTICAL_ALIGN+"=top;"+mxConstants.STYLE_STROKEWIDTH+"=2;strokeColor=#000000;",null,null,null,null,null,"arrows");this.addArrows2Palette();this.setCurrentSearchEntryLibrary("clipart","computer");this.addImagePalette("computer","Clipart / Computer",k+"/lib/clip_art/computers/","_128x128.png","Antivirus Data_Filtering Database Database_Add Database_Minus Database_Move_Stack Database_Remove Fujitsu_Tablet Harddrive IBM_Tablet iMac iPad Laptop MacBook Mainframe Monitor Monitor_Tower Monitor_Tower_Behind Netbook Network Network_2 Printer Printer_Commercial Secure_System Server Server_Rack Server_Rack_Empty Server_Rack_Partial Server_Tower Software Stylus Touch USB_Hub Virtual_Application Virtual_Machine Virus Workstation".split(" "), "Antivirus;Data Filtering;Database;Database Add;Database Minus;Database Move Stack;Database Remove;Fujitsu Tablet;Harddrive;IBMTablet;iMac;iPad;Laptop;MacBook;Mainframe;Monitor;Monitor Tower;Monitor Tower Behind;Netbook;Network;Network 2;Printer;Printer Commercial;Secure System;Server;Server Rack;Server Rack Empty;Server Rack Partial;Server Tower;Software;Stylus;Touch;USB Hub;Virtual Application;Virtual Machine;Virus;Workstation".split(";"));this.setCurrentSearchEntryLibrary("clipart","finance"); -this.addImagePalette("finance","Clipart / Finance",h+"/lib/clip_art/finance/","_128x128.png","Arrow_Down Arrow_Up Coins Credit_Card Dollar Graph Pie_Chart Piggy_Bank Safe Shopping_Cart Stock_Down Stock_Up".split(" "),"Arrow_Down;Arrow Up;Coins;Credit Card;Dollar;Graph;Pie Chart;Piggy Bank;Safe;Shopping Basket;Stock Down;Stock Up".split(";"));this.setCurrentSearchEntryLibrary("clipart","clipart");this.addImagePalette("clipart","Clipart / Various",h+"/lib/clip_art/general/","_128x128.png","Battery_0 Battery_100 Battery_50 Battery_75 Battery_allstates Bluetooth Earth_globe Empty_Folder Full_Folder Gear Keys Lock Mouse_Pointer Plug Ships_Wheel Star Tire".split(" "), -"Battery 0%;Battery 100%;Battery 50%;Battery 75%;Battery;Bluetooth;Globe;Empty Folder;Full Folder;Gear;Keys;Lock;Mousepointer;Plug;Ships Wheel;Star;Tire".split(";"));this.setCurrentSearchEntryLibrary("clipart","networking");this.addImagePalette("networking","Clipart / Networking",h+"/lib/clip_art/networking/","_128x128.png","Bridge Certificate Certificate_Off Cloud Cloud_Computer Cloud_Computer_Private Cloud_Rack Cloud_Rack_Private Cloud_Server Cloud_Server_Private Cloud_Storage Concentrator Email Firewall_02 Firewall Firewall-page1 Ip_Camera Modem power_distribution_unit Print_Server Print_Server_Wireless Repeater Router Router_Icon Switch UPS Wireless_Router Wireless_Router_N".split(" "), +this.addImagePalette("finance","Clipart / Finance",k+"/lib/clip_art/finance/","_128x128.png","Arrow_Down Arrow_Up Coins Credit_Card Dollar Graph Pie_Chart Piggy_Bank Safe Shopping_Cart Stock_Down Stock_Up".split(" "),"Arrow_Down;Arrow Up;Coins;Credit Card;Dollar;Graph;Pie Chart;Piggy Bank;Safe;Shopping Basket;Stock Down;Stock Up".split(";"));this.setCurrentSearchEntryLibrary("clipart","clipart");this.addImagePalette("clipart","Clipart / Various",k+"/lib/clip_art/general/","_128x128.png","Battery_0 Battery_100 Battery_50 Battery_75 Battery_allstates Bluetooth Earth_globe Empty_Folder Full_Folder Gear Keys Lock Mouse_Pointer Plug Ships_Wheel Star Tire".split(" "), +"Battery 0%;Battery 100%;Battery 50%;Battery 75%;Battery;Bluetooth;Globe;Empty Folder;Full Folder;Gear;Keys;Lock;Mousepointer;Plug;Ships Wheel;Star;Tire".split(";"));this.setCurrentSearchEntryLibrary("clipart","networking");this.addImagePalette("networking","Clipart / Networking",k+"/lib/clip_art/networking/","_128x128.png","Bridge Certificate Certificate_Off Cloud Cloud_Computer Cloud_Computer_Private Cloud_Rack Cloud_Rack_Private Cloud_Server Cloud_Server_Private Cloud_Storage Concentrator Email Firewall_02 Firewall Firewall-page1 Ip_Camera Modem power_distribution_unit Print_Server Print_Server_Wireless Repeater Router Router_Icon Switch UPS Wireless_Router Wireless_Router_N".split(" "), "Bridge;Certificate;Certificate Off;Cloud;Cloud Computer;Cloud Computer Private;Cloud Rack;Cloud Rack Private;Cloud Server;Cloud Server Private;Cloud Storage;Concentrator;Email;Firewall 1;Firewall 2;Firewall;Camera;Modem;Power Distribution Unit;Print Server;Print Server Wireless;Repeater;Router;Router Icon;Switch;UPS;Wireless Router;Wireless Router N".split(";"),{Wireless_Router:"wireless router switch wap wifi access point wlan",Wireless_Router_N:"wireless router switch wap wifi access point wlan", -Router:"router switch",Router_Icon:"router switch"});this.setCurrentSearchEntryLibrary("clipart","people");this.addImagePalette("people","Clipart / People",h+"/lib/clip_art/people/","_128x128.png","Suit_Man Suit_Man_Black Suit_Man_Blue Suit_Man_Green Suit_Man_Green_Black Suit_Woman Suit_Woman_Black Suit_Woman_Blue Suit_Woman_Green Suit_Woman_Green_Black Construction_Worker_Man Construction_Worker_Man_Black Construction_Worker_Woman Construction_Worker_Woman_Black Doctor_Man Doctor_Man_Black Doctor_Woman Doctor_Woman_Black Farmer_Man Farmer_Man_Black Farmer_Woman Farmer_Woman_Black Nurse_Man Nurse_Man_Black Nurse_Woman Nurse_Woman_Black Military_Officer Military_Officer_Black Military_Officer_Woman Military_Officer_Woman_Black Pilot_Man Pilot_Man_Black Pilot_Woman Pilot_Woman_Black Scientist_Man Scientist_Man_Black Scientist_Woman Scientist_Woman_Black Security_Man Security_Man_Black Security_Woman Security_Woman_Black Tech_Man Tech_Man_Black Telesales_Man Telesales_Man_Black Telesales_Woman Telesales_Woman_Black Waiter Waiter_Black Waiter_Woman Waiter_Woman_Black Worker_Black Worker_Man Worker_Woman Worker_Woman_Black".split(" ")); -this.setCurrentSearchEntryLibrary("clipart","telco");this.addImagePalette("telco","Clipart / Telecommunication",h+"/lib/clip_art/telecommunication/","_128x128.png","BlackBerry Cellphone HTC_smartphone iPhone Palm_Treo Signal_tower_off Signal_tower_on".split(" "),"BlackBerry;Cellphone;HTC smartphone;iPhone;Palm Treo;Signaltower off;Signaltower on".split(";"));this.setCurrentSearchEntryLibrary();this.addFlowchartPalette();this.addActiveDirectoryPalette();this.addAndroidPalette();this.addAtlassianPalette(); -this.addBootstrapPalette();this.addDFDPalette();this.addErPalette();this.addIos7Palette();this.addIosPalette();this.addKubernetesPalette();this.addMockupPalette();this.addSitemapPalette();this.addUml25Palette();this.addUmlPalette(!1);this.addAlliedTelesisPalette();this.addAWS3Palette();this.addAWS4bPalette();this.addAWS4Palette();this.addAWS3DPalette();this.addAzurePalette();this.addAzure2Palette();this.addMSCAEPalette();this.addC4Palette();this.addCiscoPalette(p,k);this.addCisco19Palette();this.addCiscoSafePalette(); -this.addCumulusPalette();this.addCitrixPalette();this.addGCP2Palette();this.addGCPIconsPalette();this.addIBMPalette();this.addNetworkPalette();this.addOfficePalette();this.addRackPalette(m,k);this.addVeeamPalette();this.addVeeam2Palette();this.addVVDPalette();this.addArchimate3Palette();this.addArchiMatePalette();this.addBpmn2Palette();this.addSysMLPalette(q,k);this.addLeanMappingPalette();this.addCabinetsPalette();this.addInfographicPalette();this.addEipPalette();this.addElectricalPalette();this.addFloorplanPalette(); -this.addFluidPowerPalette();this.addGMDLPalette();this.addPidPalette(n,k);this.addThreatModelingPalette();this.addWebIconsPalette();this.addWebLogosPalette();this.addSignsPalette(l,k);this.showEntries();null!=this.createdSearchIndex&&console.log("searchFileData",Graph.compress(JSON.stringify(this.createdSearchIndex)))};if("1"==urlParams.createindex){var e=Sidebar.prototype.addStencilPalette;Sidebar.prototype.addStencilPalette=function(h,k,l,m,n,p,q,t,u,v){e.apply(this,arguments);q=null!=q?q:1;mxStencilRegistry.loadStencilSet(l, -mxUtils.bind(this,function(w,r,y,x,z){if(null!=this.createdSearchIndex&&null==n||0>mxUtils.indexOf(n,r))w={style:"shape="+w+r+m,w:Math.round(x*q),h:Math.round(z*q)},r=null!=t?t[r]:null,null!=r&&(w.tags=r),null!=v&&(w.id=v,w.lib=h),this.createdSearchIndex.push(w)}),!0)}}Sidebar.prototype.extractIconsFromResponse=function(h,k){for(var l=0;l=w.getStatus()&&null!=w.getText()&&0mxUtils.indexOf(p,x))q={style:"shape="+q+x+n,w:Math.round(z*t),h:Math.round(A*t)},x=null!=v?v[x]:null,null!=x&&(q.tags=x),null!=w&&(q.id=w,q.lib=k),this.createdSearchIndex.push(q)}),!0)}}Sidebar.prototype.extractIconsFromResponse=function(k,l){for(var m=0;m=q.getStatus()&&null!=q.getText()&&0Name
'+ h+'
Attribute Name',new mxGeometry(0,0,44,39),g+c+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=top;spacingLeft=5;fontColor=#999999;fontSize=12;spacingTop=-8;");l.geometry.relative=!0;l.geometry.offset=new mxPoint(5,7);l.vertex=!0;k.insert(l);return f.createVertexTemplateFromCells([k],k.geometry.width,k.geometry.height,h)}));e.push(this.addEntry(b,function(){var k=new mxCell("",new mxGeometry(0,0,d+8,78),"shape=mxgraph.gcp2.doubleRect;strokeColor=#dddddd;shadow=1;strokeWidth=1;"); k.vertex=!0;var l=new mxCell('Name
'+h+'
Attribute Name',new mxGeometry(0,0,44,39),g+c+";part=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=top;spacingLeft=5;fontColor=#999999;fontSize=12;spacingTop=-8;");l.geometry.relative=!0;l.geometry.offset=new mxPoint(5,7);l.vertex=!0;k.insert(l);return f.createVertexTemplateFromCells([k],k.geometry.width,k.geometry.height,h)}))};Sidebar.prototype.addGCP2ExpandedMachineCard= -function(a,c,d,b,e,f,g,h,k,l,m,n,p,q){var t=this,u="sketch=0;dashed=0;connectable=0;html=1;fillColor=#757575;strokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.",v=a.replace("\n"," ");v=v.replace("- ","-");q.push(this.addEntry(p,function(){var w=new mxCell("",new mxGeometry(0,0,n,95),"strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;");w.vertex=!0;var r=new mxCell(''+v+"
"+e,new mxGeometry(0,0,n,50),"text;part=1;html=1;align=left;verticalAlign=top;spacingLeft=35;fontColor=#999999;fontSize=11;resizeWidth=1;"); -r.geometry.relative=!0;r.vertex=!0;w.insert(r);r=new mxCell("",new mxGeometry(0,0,25*d,25*b),u+c+";part=1;");r.geometry.relative=!0;r.geometry.offset=new mxPoint(4+12.5*(1-d),6+12.5*(1-b));r.vertex=!0;w.insert(r);r=new mxCell("",new mxGeometry(0,0,20,20),u+g+";part=1;");r.geometry.relative=!0;r.geometry.offset=new mxPoint(35,55);r.vertex=!0;w.insert(r);r=new mxCell(f,new mxGeometry(0,0,18,18),"sketch=0;rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;"); -r.geometry.relative=!0;r.geometry.offset=new mxPoint(24,69);r.vertex=!0;w.insert(r);r=new mxCell(h,new mxGeometry(0,0,18,18),"sketch=0;rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;");r.geometry.relative=!0;r.geometry.offset=new mxPoint(50,69);r.vertex=!0;w.insert(r);r=new mxCell("",new mxGeometry(0,0,20,18),u+k+";part=1;");r.geometry.relative=!0;r.geometry.offset=new mxPoint(75,56);r.vertex=!0;w.insert(r);r=new mxCell(l,new mxGeometry(0,0,18, -18),"sketch=0;rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;");r.geometry.relative=!0;r.geometry.offset=new mxPoint(88,69);r.vertex=!0;w.insert(r);r=new mxCell("",new mxGeometry(0,0,20,20),u+m+";part=1;");r.geometry.relative=!0;r.geometry.offset=new mxPoint(115,55);r.vertex=!0;w.insert(r);return t.createVertexTemplateFromCells([w],w.geometry.width,w.geometry.height,v)}));q.push(this.addEntry(p,function(){var w=new mxCell("",new mxGeometry(0, -0,n,95),"strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;");w.vertex=!0;var r=new mxCell(''+v+"
"+e,new mxGeometry(0,0,n,50),"text;connectable=0;part=1;html=1;align=left;verticalAlign=top;spacingLeft=35;fontColor=#999999;fontSize=11;resizeWidth=1;");r.geometry.relative=!0;r.vertex=!0;w.insert(r);r=new mxCell("",new mxGeometry(0,0,25*d,25*b),u+c+";part=1;");r.geometry.relative=!0;r.geometry.offset=new mxPoint(4+12.5*(1-d),6+12.5*(1-b)); -r.vertex=!0;w.insert(r);r=new mxCell("",new mxGeometry(0,0,20,20),u+g+";part=1;");r.geometry.relative=!0;r.geometry.offset=new mxPoint(35,55);r.vertex=!0;w.insert(r);r=new mxCell(f,new mxGeometry(0,0,18,18),"sketch=0;connectable=0;rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;");r.geometry.relative=!0;r.geometry.offset=new mxPoint(24,69);r.vertex=!0;w.insert(r);r=new mxCell(h,new mxGeometry(0,0,18,18),"sketch=0;connectable=0;rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;"); -r.geometry.relative=!0;r.geometry.offset=new mxPoint(50,69);r.vertex=!0;w.insert(r);r=new mxCell("",new mxGeometry(0,0,20,18),u+k+";part=1;");r.geometry.relative=!0;r.geometry.offset=new mxPoint(75,56);r.vertex=!0;w.insert(r);r=new mxCell("123",new mxGeometry(0,0,25,18),"sketch=0;connectable=0;rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;");r.geometry.relative=!0;r.geometry.offset=new mxPoint(81,69);r.vertex=!0;w.insert(r);r=new mxCell("",new mxGeometry(0, -0,20,20),u+m+";part=1;");r.geometry.relative=!0;r.geometry.offset=new mxPoint(115,55);r.vertex=!0;w.insert(r);return t.createVertexTemplateFromCells([w],w.geometry.width,w.geometry.height,v)}))};Sidebar.prototype.addGCP2UserDeviceCard=function(a,c,d,b,e,f,g){var h=this,k="sketch=0;dashed=0;connectable=0;html=1;fillColor=#757575;strokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.",l=a.replace("\n"," ");l=l.replace("- ","-");g.push(this.addEntry(f,function(){var m=new mxCell(a,new mxGeometry(0, +function(a,c,d,b,e,f,g,h,k,l,m,n,p,r){var t=this,v="sketch=0;dashed=0;connectable=0;html=1;fillColor=#757575;strokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.",u=a.replace("\n"," ");u=u.replace("- ","-");r.push(this.addEntry(p,function(){var w=new mxCell("",new mxGeometry(0,0,n,95),"strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;");w.vertex=!0;var q=new mxCell(''+u+"
"+e,new mxGeometry(0,0,n,50),"text;part=1;html=1;align=left;verticalAlign=top;spacingLeft=35;fontColor=#999999;fontSize=11;resizeWidth=1;"); +q.geometry.relative=!0;q.vertex=!0;w.insert(q);q=new mxCell("",new mxGeometry(0,0,25*d,25*b),v+c+";part=1;");q.geometry.relative=!0;q.geometry.offset=new mxPoint(4+12.5*(1-d),6+12.5*(1-b));q.vertex=!0;w.insert(q);q=new mxCell("",new mxGeometry(0,0,20,20),v+g+";part=1;");q.geometry.relative=!0;q.geometry.offset=new mxPoint(35,55);q.vertex=!0;w.insert(q);q=new mxCell(f,new mxGeometry(0,0,18,18),"sketch=0;rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;"); +q.geometry.relative=!0;q.geometry.offset=new mxPoint(24,69);q.vertex=!0;w.insert(q);q=new mxCell(h,new mxGeometry(0,0,18,18),"sketch=0;rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;");q.geometry.relative=!0;q.geometry.offset=new mxPoint(50,69);q.vertex=!0;w.insert(q);q=new mxCell("",new mxGeometry(0,0,20,18),v+k+";part=1;");q.geometry.relative=!0;q.geometry.offset=new mxPoint(75,56);q.vertex=!0;w.insert(q);q=new mxCell(l,new mxGeometry(0,0,18, +18),"sketch=0;rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;");q.geometry.relative=!0;q.geometry.offset=new mxPoint(88,69);q.vertex=!0;w.insert(q);q=new mxCell("",new mxGeometry(0,0,20,20),v+m+";part=1;");q.geometry.relative=!0;q.geometry.offset=new mxPoint(115,55);q.vertex=!0;w.insert(q);return t.createVertexTemplateFromCells([w],w.geometry.width,w.geometry.height,u)}));r.push(this.addEntry(p,function(){var w=new mxCell("",new mxGeometry(0, +0,n,95),"strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;");w.vertex=!0;var q=new mxCell(''+u+"
"+e,new mxGeometry(0,0,n,50),"text;connectable=0;part=1;html=1;align=left;verticalAlign=top;spacingLeft=35;fontColor=#999999;fontSize=11;resizeWidth=1;");q.geometry.relative=!0;q.vertex=!0;w.insert(q);q=new mxCell("",new mxGeometry(0,0,25*d,25*b),v+c+";part=1;");q.geometry.relative=!0;q.geometry.offset=new mxPoint(4+12.5*(1-d),6+12.5*(1-b)); +q.vertex=!0;w.insert(q);q=new mxCell("",new mxGeometry(0,0,20,20),v+g+";part=1;");q.geometry.relative=!0;q.geometry.offset=new mxPoint(35,55);q.vertex=!0;w.insert(q);q=new mxCell(f,new mxGeometry(0,0,18,18),"sketch=0;connectable=0;rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;");q.geometry.relative=!0;q.geometry.offset=new mxPoint(24,69);q.vertex=!0;w.insert(q);q=new mxCell(h,new mxGeometry(0,0,18,18),"sketch=0;connectable=0;rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;"); +q.geometry.relative=!0;q.geometry.offset=new mxPoint(50,69);q.vertex=!0;w.insert(q);q=new mxCell("",new mxGeometry(0,0,20,18),v+k+";part=1;");q.geometry.relative=!0;q.geometry.offset=new mxPoint(75,56);q.vertex=!0;w.insert(q);q=new mxCell("123",new mxGeometry(0,0,25,18),"sketch=0;connectable=0;rounded=1;arcSize=50;part=1;fillColor=#3B8CF0;strokeColor=none;html=1;fontColor=#ffffff;spacingTop=-2;");q.geometry.relative=!0;q.geometry.offset=new mxPoint(81,69);q.vertex=!0;w.insert(q);q=new mxCell("",new mxGeometry(0, +0,20,20),v+m+";part=1;");q.geometry.relative=!0;q.geometry.offset=new mxPoint(115,55);q.vertex=!0;w.insert(q);return t.createVertexTemplateFromCells([w],w.geometry.width,w.geometry.height,u)}))};Sidebar.prototype.addGCP2UserDeviceCard=function(a,c,d,b,e,f,g){var h=this,k="sketch=0;dashed=0;connectable=0;html=1;fillColor=#757575;strokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.",l=a.replace("\n"," ");l=l.replace("- ","-");g.push(this.addEntry(f,function(){var m=new mxCell(a,new mxGeometry(0, 0,70,85+e),"strokeColor=#dddddd;shadow=1;strokeWidth=1;rounded=1;absoluteArcSize=1;arcSize=2;labelPosition=center;verticalLabelPosition=middle;align=center;verticalAlign=bottom;spacingLeft=0;fontColor=#999999;fontSize=12;whiteSpace=wrap;spacingBottom=2;");m.vertex=!0;var n=new mxCell("",new mxGeometry(.5,0,50*d,50*b),k+c+";part=1;");n.geometry.relative=!0;n.geometry.offset=new mxPoint(25*-d,10+25*(1-b));n.vertex=!0;m.insert(n);return h.createVertexTemplateFromCells([m],m.geometry.width,m.geometry.height, l)}))}})();(function(){Sidebar.prototype.addGCPIconsPalette=function(){this.setCurrentSearchEntryLibrary("gcpicons","gcpiconsAI and Machine Learning");this.addGCPIconsAIandMachineLearningPalette();this.setCurrentSearchEntryLibrary("gcpicons","gcpiconsAPI Management");this.addGCPIconsAPIManagementPalette();this.setCurrentSearchEntryLibrary("gcpicons","gcpiconsCompute");this.addGCPIconsComputePalette();this.setCurrentSearchEntryLibrary("gcpicons","gcpiconsData Analytics");this.addGCPIconsDataAnalyticsPalette(); this.setCurrentSearchEntryLibrary("gcpicons","gcpiconsDatabases");this.addGCPIconsDatabasesPalette();this.setCurrentSearchEntryLibrary("gcpicons","gcpiconsDeveloper Tools");this.addGCPIconsDeveloperToolsPalette();this.setCurrentSearchEntryLibrary("gcpicons","gcpiconsExpanded Product Card Icons");this.addGCPIconsExpandedProductCardIconsPalette();this.setCurrentSearchEntryLibrary("gcpicons","gcpiconsGeneric");this.addGCPIconsGenericPalette();this.setCurrentSearchEntryLibrary("gcpicons","gcpiconsHybrid and Multi Cloud"); @@ -8244,13 +8246,13 @@ e.vertex=!0;var f=new mxCell(" - Lorem ipsum dolor sit amet
 - cons g.vertex=!0;var h=new mxCell(" - Lorem ipsum dolor sit amet
 - consectetur adipisicing elit
 - sed do eiusmod tempor
 - incididunt ut labore et dolore
 - magna aliqua.",new mxGeometry(200,40,190,120),"shape=rect;fillColor=#FCE7CD;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");h.vertex=!0;var k=new mxCell(" - Lorem ipsum dolor sit amet
 - consectetur adipisicing elit
 - sed do eiusmod tempor
 - incididunt ut labore et dolore
 - magna aliqua.", new mxGeometry(200,170,190,120),"shape=rect;fillColor=#FCE7CD;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");k.vertex=!0;var l=new mxCell(" - Lorem ipsum dolor sit amet
 - consectetur adipisicing elit
 - sed do eiusmod tempor
 - incididunt ut labore et dolore
 - magna aliqua.",new mxGeometry(200,300,190,120),"shape=rect;fillColor=#FCE7CD;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;"); l.vertex=!0;var m=new mxCell("LABEL",new mxGeometry(400,0,200,30),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#AE4132;strokeColor=none;fontSize=17;fontColor=#FFFFFF;fontStyle=1;align=center;rounded=0;");m.vertex=!0;var n=new mxCell(" - Lorem ipsum dolor sit amet
 - consectetur adipisicing elit
 - sed do eiusmod tempor
 - incididunt ut labore et dolore
 - magna aliqua.",new mxGeometry(400,40,190,120),"shape=rect;fillColor=#FAD9D5;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;"); -n.vertex=!0;var p=new mxCell(" - Lorem ipsum dolor sit amet
 - consectetur adipisicing elit
 - sed do eiusmod tempor
 - incididunt ut labore et dolore
 - magna aliqua.",new mxGeometry(400,170,190,120),"shape=rect;fillColor=#FAD9D5;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");p.vertex=!0;var q=new mxCell(" - Lorem ipsum dolor sit amet
 - consectetur adipisicing elit
 - sed do eiusmod tempor
 - incididunt ut labore et dolore
 - magna aliqua.", -new mxGeometry(400,300,190,120),"shape=rect;fillColor=#FAD9D5;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");q.vertex=!0;var t=new mxCell("LABEL",new mxGeometry(600,0,200,30),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#23445D;strokeColor=none;fontSize=17;fontColor=#FFFFFF;fontStyle=1;align=center;rounded=0;");t.vertex=!0;var u=new mxCell(" - Lorem ipsum dolor sit amet
 - consectetur adipisicing elit
 - sed do eiusmod tempor
 - incididunt ut labore et dolore
 - magna aliqua.", -new mxGeometry(600,40,190,120),"shape=rect;fillColor=#BAC8D3;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");u.vertex=!0;var v=new mxCell(" - Lorem ipsum dolor sit amet
 - consectetur adipisicing elit
 - sed do eiusmod tempor
 - incididunt ut labore et dolore
 - magna aliqua.",new mxGeometry(600,170,190,120),"shape=rect;fillColor=#BAC8D3;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;"); -v.vertex=!0;var w=new mxCell(" - Lorem ipsum dolor sit amet
 - consectetur adipisicing elit
 - sed do eiusmod tempor
 - incididunt ut labore et dolore
 - magna aliqua.",new mxGeometry(600,300,190,120),"shape=rect;fillColor=#BAC8D3;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");w.vertex=!0;var r=new mxCell("LABEL",new mxGeometry(800,0,200,30),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#12AAB5;strokeColor=none;fontSize=17;fontColor=#FFFFFF;fontStyle=1;align=center;rounded=0;"); -r.vertex=!0;var y=new mxCell(" - Lorem ipsum dolor sit amet
 - consectetur adipisicing elit
 - sed do eiusmod tempor
 - incididunt ut labore et dolore
 - magna aliqua.",new mxGeometry(800,40,190,120),"shape=rect;fillColor=#B0E3E6;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");y.vertex=!0;var x=new mxCell(" - Lorem ipsum dolor sit amet
 - consectetur adipisicing elit
 - sed do eiusmod tempor
 - incididunt ut labore et dolore
 - magna aliqua.", -new mxGeometry(800,170,190,120),"shape=rect;fillColor=#B0E3E6;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");x.vertex=!0;var z=new mxCell(" - Lorem ipsum dolor sit amet
 - consectetur adipisicing elit
 - sed do eiusmod tempor
 - incididunt ut labore et dolore
 - magna aliqua.",new mxGeometry(800,300,190,120),"shape=rect;fillColor=#B0E3E6;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;"); -z.vertex=!0;return sb.createVertexTemplateFromCells([d,g,m,t,r,b,e,f,h,k,l,n,p,q,u,v,w,y,x,z],1E3,420,"Chevron list")}),this.addEntry("roadmap vertical",function(){var d=new mxCell("",new mxGeometry(0,0,70,80),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;direction=south;fillColor=#10739E;strokeColor=none;rounded=0;");d.vertex=!0;var b=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
', +n.vertex=!0;var p=new mxCell(" - Lorem ipsum dolor sit amet
 - consectetur adipisicing elit
 - sed do eiusmod tempor
 - incididunt ut labore et dolore
 - magna aliqua.",new mxGeometry(400,170,190,120),"shape=rect;fillColor=#FAD9D5;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");p.vertex=!0;var r=new mxCell(" - Lorem ipsum dolor sit amet
 - consectetur adipisicing elit
 - sed do eiusmod tempor
 - incididunt ut labore et dolore
 - magna aliqua.", +new mxGeometry(400,300,190,120),"shape=rect;fillColor=#FAD9D5;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");r.vertex=!0;var t=new mxCell("LABEL",new mxGeometry(600,0,200,30),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#23445D;strokeColor=none;fontSize=17;fontColor=#FFFFFF;fontStyle=1;align=center;rounded=0;");t.vertex=!0;var v=new mxCell(" - Lorem ipsum dolor sit amet
 - consectetur adipisicing elit
 - sed do eiusmod tempor
 - incididunt ut labore et dolore
 - magna aliqua.", +new mxGeometry(600,40,190,120),"shape=rect;fillColor=#BAC8D3;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");v.vertex=!0;var u=new mxCell(" - Lorem ipsum dolor sit amet
 - consectetur adipisicing elit
 - sed do eiusmod tempor
 - incididunt ut labore et dolore
 - magna aliqua.",new mxGeometry(600,170,190,120),"shape=rect;fillColor=#BAC8D3;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;"); +u.vertex=!0;var w=new mxCell(" - Lorem ipsum dolor sit amet
 - consectetur adipisicing elit
 - sed do eiusmod tempor
 - incididunt ut labore et dolore
 - magna aliqua.",new mxGeometry(600,300,190,120),"shape=rect;fillColor=#BAC8D3;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");w.vertex=!0;var q=new mxCell("LABEL",new mxGeometry(800,0,200,30),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#12AAB5;strokeColor=none;fontSize=17;fontColor=#FFFFFF;fontStyle=1;align=center;rounded=0;"); +q.vertex=!0;var x=new mxCell(" - Lorem ipsum dolor sit amet
 - consectetur adipisicing elit
 - sed do eiusmod tempor
 - incididunt ut labore et dolore
 - magna aliqua.",new mxGeometry(800,40,190,120),"shape=rect;fillColor=#B0E3E6;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");x.vertex=!0;var y=new mxCell(" - Lorem ipsum dolor sit amet
 - consectetur adipisicing elit
 - sed do eiusmod tempor
 - incididunt ut labore et dolore
 - magna aliqua.", +new mxGeometry(800,170,190,120),"shape=rect;fillColor=#B0E3E6;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;");y.vertex=!0;var z=new mxCell(" - Lorem ipsum dolor sit amet
 - consectetur adipisicing elit
 - sed do eiusmod tempor
 - incididunt ut labore et dolore
 - magna aliqua.",new mxGeometry(800,300,190,120),"shape=rect;fillColor=#B0E3E6;strokeColor=none;fontSize=12;html=1;whiteSpace=wrap;align=left;verticalAlign=top;spacing=5;rounded=0;"); +z.vertex=!0;return sb.createVertexTemplateFromCells([d,g,m,t,q,b,e,f,h,k,l,n,p,r,v,u,w,x,y,z],1E3,420,"Chevron list")}),this.addEntry("roadmap vertical",function(){var d=new mxCell("",new mxGeometry(0,0,70,80),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;direction=south;fillColor=#10739E;strokeColor=none;rounded=0;");d.vertex=!0;var b=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
', new mxGeometry(100,0,200,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");b.vertex=!0;var e=new mxCell("",new mxGeometry(0,80,70,80),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;direction=south;fillColor=#F2931E;strokeColor=none;rounded=0;");e.vertex=!0;var f=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
', new mxGeometry(100,80,200,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");f.vertex=!0;var g=new mxCell("",new mxGeometry(0,160,70,80),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;direction=south;fillColor=#AE4132;strokeColor=none;rounded=0;");g.vertex=!0;var h=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
', new mxGeometry(100,160,200,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");h.vertex=!0;var k=new mxCell("",new mxGeometry(0,240,70,80),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;direction=south;fillColor=#23445D;strokeColor=none;rounded=0;");k.vertex=!0;var l=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
', @@ -8265,17 +8267,17 @@ this.addEntry("list",function(){var d=mxConstants.STYLE_VERTICAL_LABEL_POSITION+ 90,120,120),c+"partConcEllipse;startAngle=0.75;endAngle=0.25;arcWidth=0.25;fillColor=#F2931E;strokeColor=none;");b.vertex=!0;var e=new mxCell("",new mxGeometry(210,90,120,120),c+"partConcEllipse;startAngle=0.25;endAngle=0.75;arcWidth=0.25;fillColor=#AE4132;strokeColor=none;");e.vertex=!0;var f=new mxCell("",new mxGeometry(315,90,120,120),c+"partConcEllipse;startAngle=0.75;endAngle=0.25;arcWidth=0.25;fillColor=#23445D;strokeColor=none;");f.vertex=!0;var g=new mxCell("",new mxGeometry(420,90,120,120), c+"partConcEllipse;startAngle=0.25;endAngle=0.75;arcWidth=0.25;fillColor=#15AA96;strokeColor=none;");g.vertex=!0;var h=new mxCell("1",new mxGeometry(35,125,50,50),"shape=ellipse;strokeWidth=6;strokeColor=#10739E;fontSize=15;html=0;fontStyle=1;fontColor=#10739E;");h.vertex=!0;var k=new mxCell("2",new mxGeometry(140,125,50,50),"shape=ellipse;strokeWidth=6;strokeColor=#F2931E;fontSize=15;html=0;fontStyle=1;fontColor=#F2931E;");k.vertex=!0;var l=new mxCell("3",new mxGeometry(245,125,50,50),"shape=ellipse;strokeWidth=6;strokeColor=#AE4132;fontSize=15;html=0;fontStyle=1;fontColor=#AE4132;"); l.vertex=!0;var m=new mxCell("4",new mxGeometry(350,125,50,50),"shape=ellipse;strokeWidth=6;strokeColor=#23445D;fontSize=15;html=0;fontStyle=1;fontColor=#23445D;");m.vertex=!0;var n=new mxCell("5",new mxGeometry(455,125,50,50),"shape=ellipse;strokeWidth=6;strokeColor=#12AAB5;fontSize=15;html=0;fontStyle=1;fontColor=#12AAB5;");n.vertex=!0;var p=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
', -new mxGeometry(0,220,120,80),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");p.vertex=!0;var q=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
',new mxGeometry(105,0,120,80),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;"); -q.vertex=!0;var t=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
',new mxGeometry(210,220,120,80),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");t.vertex=!0;var u=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
', -new mxGeometry(315,0,120,80),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");u.vertex=!0;var v=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
',new mxGeometry(420,220,120,80),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;"); -v.vertex=!0;return sb.createVertexTemplateFromCells([d,b,e,f,g,h,k,l,m,n,p,q,t,u,v],540,300,"Roadmap (horizontal)")}),this.addEntry("roadmap diagonal",function(){var d=new mxCell("",new mxGeometry(190,0,120,120),c+"partConcEllipse;startAngle=0.75;endAngle=0.5;arcWidth=0.25;fillColor=#10739E;strokeColor=none;shadow=0;");d.vertex=!0;var b=new mxCell("",new mxGeometry(190,105,120,120),c+"partConcEllipse;startAngle=0.25;endAngle=0;arcWidth=0.25;fillColor=#F2931E;strokeColor=none;shadow=0;");b.vertex= +new mxGeometry(0,220,120,80),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");p.vertex=!0;var r=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
',new mxGeometry(105,0,120,80),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;"); +r.vertex=!0;var t=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
',new mxGeometry(210,220,120,80),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");t.vertex=!0;var v=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
', +new mxGeometry(315,0,120,80),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");v.vertex=!0;var u=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
',new mxGeometry(420,220,120,80),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;"); +u.vertex=!0;return sb.createVertexTemplateFromCells([d,b,e,f,g,h,k,l,m,n,p,r,t,v,u],540,300,"Roadmap (horizontal)")}),this.addEntry("roadmap diagonal",function(){var d=new mxCell("",new mxGeometry(190,0,120,120),c+"partConcEllipse;startAngle=0.75;endAngle=0.5;arcWidth=0.25;fillColor=#10739E;strokeColor=none;shadow=0;");d.vertex=!0;var b=new mxCell("",new mxGeometry(190,105,120,120),c+"partConcEllipse;startAngle=0.25;endAngle=0;arcWidth=0.25;fillColor=#F2931E;strokeColor=none;shadow=0;");b.vertex= !0;var e=new mxCell("",new mxGeometry(295,105,120,120),c+"partConcEllipse;startAngle=0.75;endAngle=0.5;arcWidth=0.25;fillColor=#AE4132;strokeColor=none;shadow=0;");e.vertex=!0;var f=new mxCell("",new mxGeometry(295,210,120,120),c+"partConcEllipse;startAngle=0.25;endAngle=0;arcWidth=0.25;fillColor=#23445D;strokeColor=none;shadow=0;");f.vertex=!0;var g=new mxCell("",new mxGeometry(400,210,120,120),c+"partConcEllipse;startAngle=0.75;endAngle=0.5;arcWidth=0.25;fillColor=#12AAB5;strokeColor=none;shadow=0;"); g.vertex=!0;var h=new mxCell("1",new mxGeometry(225,35,50,50),"shape=ellipse;strokeWidth=6;strokeColor=#10739E;fontSize=15;html=1;fontStyle=1;fontColor=#10739E;shadow=1;");h.vertex=!0;var k=new mxCell("2",new mxGeometry(225,140,50,50),"shape=ellipse;strokeWidth=6;strokeColor=#F2931E;fontSize=15;html=1;fontStyle=1;fontColor=#F2931E;shadow=1;");k.vertex=!0;var l=new mxCell("3",new mxGeometry(330,140,50,50),"shape=ellipse;strokeWidth=6;strokeColor=#AE4132;fontSize=15;html=1;fontStyle=1;fontColor=#AE4132;shadow=1;"); l.vertex=!0;var m=new mxCell("4",new mxGeometry(330,245,50,50),"shape=ellipse;strokeWidth=6;strokeColor=#23445D;fontSize=15;html=1;fontStyle=1;fontColor=#23445D;shadow=1;");m.vertex=!0;var n=new mxCell("5",new mxGeometry(435,245,50,50),"shape=ellipse;strokeWidth=6;strokeColor=#12AAB5;fontSize=15;html=1;fontStyle=1;fontColor=#12AAB5;shadow=1;");n.vertex=!0;var p=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
', -new mxGeometry(320,20,180,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=3;shadow=0;");p.vertex=!0;var q=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
',new mxGeometry(0,130,180,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=3;shadow=0;"); -q.vertex=!0;var t=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
',new mxGeometry(425,130,180,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=3;shadow=0;");t.vertex=!0;var u=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
', -new mxGeometry(105,235,180,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=3;shadow=0;");u.vertex=!0;var v=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
',new mxGeometry(530,235,180,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=3;shadow=0;"); -v.vertex=!0;return sb.createVertexTemplateFromCells([d,b,e,f,g,h,k,l,m,n,p,q,t,u,v],710,330,"Roadmap (diagonal)")}),this.addEntry("arrow list",function(){var d=new mxCell("1",new mxGeometry(0,0,40,40),"html=1;fillColor=#10739E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;");d.vertex=!0;var b=new mxCell("Label",new mxGeometry(45,0,95,40),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#64BBE2;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;"); +new mxGeometry(320,20,180,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=3;shadow=0;");p.vertex=!0;var r=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
',new mxGeometry(0,130,180,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=3;shadow=0;"); +r.vertex=!0;var t=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
',new mxGeometry(425,130,180,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=3;shadow=0;");t.vertex=!0;var v=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
', +new mxGeometry(105,235,180,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=3;shadow=0;");v.vertex=!0;var u=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
',new mxGeometry(530,235,180,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=3;shadow=0;"); +u.vertex=!0;return sb.createVertexTemplateFromCells([d,b,e,f,g,h,k,l,m,n,p,r,t,v,u],710,330,"Roadmap (diagonal)")}),this.addEntry("arrow list",function(){var d=new mxCell("1",new mxGeometry(0,0,40,40),"html=1;fillColor=#10739E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;");d.vertex=!0;var b=new mxCell("Label",new mxGeometry(45,0,95,40),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#64BBE2;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;"); b.vertex=!0;var e=new mxCell("2",new mxGeometry(0,45,40,40),"html=1;fillColor=#F2931E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;");e.vertex=!0;var f=new mxCell("Label",new mxGeometry(45,45,115,40),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#F8C382;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");f.vertex=!0;var g=new mxCell("3",new mxGeometry(0,90,40,40),"html=1;fillColor=#AE4132;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;"); g.vertex=!0;var h=new mxCell("Label",new mxGeometry(45,90,135,40),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#F08E81;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");h.vertex=!0;var k=new mxCell("4",new mxGeometry(0,135,40,40),"html=1;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;");k.vertex=!0;var l=new mxCell("Label",new mxGeometry(45,135,155,40), "shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#5D7F99;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");l.vertex=!0;var m=new mxCell("5",new mxGeometry(0,180,40,40),"html=1;fillColor=#12AAB5;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;");m.vertex=!0;var n=new mxCell("Label",new mxGeometry(45,180,175,40),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#61C6CE;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;"); @@ -8300,9 +8302,9 @@ d.vertex=!0;var b=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicin e.vertex=!0;var f=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(35,140,100,100),"html=1;fillColor=#444444;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");f.vertex=!0;var g=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(140,140,100,100),"html=1;fillColor=#777777;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;"); g.vertex=!0;var h=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(245,140,100,100),"html=1;fillColor=#909090;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");h.vertex=!0;var k=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(35,245,100,100),"html=1;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;"); k.vertex=!0;var l=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(140,245,100,100),"html=1;fillColor=#2F5B7C;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;");l.vertex=!0;var m=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit",new mxGeometry(245,245,100,100),"html=1;fillColor=#5D7F99;strokeColor=none;shadow=0;fontSize=12;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;rounded=0;"); -m.vertex=!0;var n=new mxCell("Label",new mxGeometry(0,35,30,100),"html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;horizontal=0;rounded=0;");n.vertex=!0;var p=new mxCell("Label",new mxGeometry(0,140,30,100),"html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;horizontal=0;rounded=0;");p.vertex=!0;var q=new mxCell("Label",new mxGeometry(0,245,30,100),"html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;horizontal=0;rounded=0;"); -q.vertex=!0;var t=new mxCell("Label",new mxGeometry(35,0,100,30),"html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;rounded=0;");t.vertex=!0;var u=new mxCell("Label",new mxGeometry(140,0,100,30),"html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;rounded=0;");u.vertex=!0;var v=new mxCell("Label",new mxGeometry(245,0,100,30),"html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;rounded=0;"); -v.vertex=!0;return sb.createVertexTemplateFromCells([d,b,e,f,g,h,k,l,m,n,p,q,t,u,v],345,345,"Matrix (3x3)")}),this.addEntry("hex loop",function(){var d=new mxCell("Lorem ipsum
dolor sit amet, consectetur adipisicing elit",new mxGeometry(0,51,112,102),"shape=hexagon;strokeWidth=4;html=1;fillColor=#F5AB50;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;rounded=0;");d.vertex=!0;var b=new mxCell("Lorem ipsum
dolor sit amet, consectetur adipisicing elit", +m.vertex=!0;var n=new mxCell("Label",new mxGeometry(0,35,30,100),"html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;horizontal=0;rounded=0;");n.vertex=!0;var p=new mxCell("Label",new mxGeometry(0,140,30,100),"html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;horizontal=0;rounded=0;");p.vertex=!0;var r=new mxCell("Label",new mxGeometry(0,245,30,100),"html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;horizontal=0;rounded=0;"); +r.vertex=!0;var t=new mxCell("Label",new mxGeometry(35,0,100,30),"html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;rounded=0;");t.vertex=!0;var v=new mxCell("Label",new mxGeometry(140,0,100,30),"html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;rounded=0;");v.vertex=!0;var u=new mxCell("Label",new mxGeometry(245,0,100,30),"html=1;fillColor=#CCCCCC;strokeColor=none;shadow=0;fontSize=14;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;rounded=0;"); +u.vertex=!0;return sb.createVertexTemplateFromCells([d,b,e,f,g,h,k,l,m,n,p,r,t,v,u],345,345,"Matrix (3x3)")}),this.addEntry("hex loop",function(){var d=new mxCell("Lorem ipsum
dolor sit amet, consectetur adipisicing elit",new mxGeometry(0,51,112,102),"shape=hexagon;strokeWidth=4;html=1;fillColor=#F5AB50;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;rounded=0;");d.vertex=!0;var b=new mxCell("Lorem ipsum
dolor sit amet, consectetur adipisicing elit", new mxGeometry(0,153,112,102),"shape=hexagon;strokeWidth=4;html=1;fillColor=#E85642;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;rounded=0;");b.vertex=!0;var e=new mxCell("Lorem ipsum
dolor sit amet, consectetur adipisicing elit",new mxGeometry(84,102,112,102),"shape=hexagon;strokeWidth=4;html=1;fillColor=#12AAB5;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;rounded=0;"); e.vertex=!0;var f=new mxCell("Lorem ipsum
dolor sit amet, consectetur adipisicing elit",new mxGeometry(84,0,112,102),"shape=hexagon;strokeWidth=4;html=1;fillColor=#1699D3;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;rounded=0;");f.vertex=!0;var g=new mxCell("Lorem ipsum
dolor sit amet, consectetur adipisicing elit",new mxGeometry(168,51,112,102),"shape=hexagon;strokeWidth=4;html=1;fillColor=#736CA8;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;rounded=0;"); g.vertex=!0;var h=new mxCell("Lorem ipsum
dolor sit amet, consectetur adipisicing elit",new mxGeometry(168,153,112,102),"shape=hexagon;strokeWidth=4;html=1;fillColor=#2F5B7C;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;rounded=0;");h.vertex=!0;var k=new mxCell("Lorem ipsum
dolor sit amet, consectetur adipisicing elit",new mxGeometry(84,204,112,102),"shape=hexagon;strokeWidth=4;html=1;fillColor=#777777;strokeColor=#ffffff;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;rounded=0;"); @@ -8325,13 +8327,13 @@ new mxGeometry(150,0,50,50),"triangle;direction=north;strokeWidth=4;html=1;fillC d.vertex=!0;var b=new mxCell("",new mxGeometry(70,10,300,20),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#B1DDF0;strokeColor=none;");b.vertex=!0;var e=new mxCell("",new mxGeometry(70,10,90,20),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#10739E;strokeColor=none;shadow=0;");e.vertex=!0;var f=new mxCell("75%",new mxGeometry(0,50,60,40),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#4A5768;strokeColor=none;fontSize=16;fontColor=#ffffff;fontStyle=1;rounded=0;"); f.vertex=!0;var g=new mxCell("",new mxGeometry(70,60,300,20),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#FCE7CD;strokeColor=none;");g.vertex=!0;var h=new mxCell("",new mxGeometry(70,60,225,20),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#F2931E;strokeColor=none;shadow=0;");h.vertex=!0;var k=new mxCell("90%",new mxGeometry(0,100,60,40),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#4A5768;strokeColor=none;fontSize=16;fontColor=#ffffff;fontStyle=1;rounded=0;"); k.vertex=!0;var l=new mxCell("",new mxGeometry(70,110,300,20),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#FAD9D5;strokeColor=none;");l.vertex=!0;var m=new mxCell("",new mxGeometry(70,110,270,20),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#AE4132;strokeColor=none;shadow=0;");m.vertex=!0;var n=new mxCell("25%",new mxGeometry(0,150,60,40),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#4A5768;strokeColor=none;fontSize=16;fontColor=#ffffff;fontStyle=1;rounded=0;"); -n.vertex=!0;var p=new mxCell("",new mxGeometry(70,160,300,20),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#BAC8D3;strokeColor=none;");p.vertex=!0;var q=new mxCell("",new mxGeometry(70,160,75,20),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#23445D;strokeColor=none;shadow=0;");q.vertex=!0;return sb.createVertexTemplateFromCells([d,b,e,f,g,h,k,l,m,n,p,q],370,190,"Percentage list")}),this.addEntry("percent percentage list",function(){var d=new mxCell("",new mxGeometry(0,0,400,40), +n.vertex=!0;var p=new mxCell("",new mxGeometry(70,160,300,20),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#BAC8D3;strokeColor=none;");p.vertex=!0;var r=new mxCell("",new mxGeometry(70,160,75,20),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#23445D;strokeColor=none;shadow=0;");r.vertex=!0;return sb.createVertexTemplateFromCells([d,b,e,f,g,h,k,l,m,n,p,r],370,190,"Percentage list")}),this.addEntry("percent percentage list",function(){var d=new mxCell("",new mxGeometry(0,0,400,40), "whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#dddddd;strokeColor=none;rounded=0;");d.vertex=!0;var b=new mxCell("65%",new mxGeometry(0,0,260,40),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#10739E;strokeColor=none;align=left;verticalAlign=middle;fontColor=#ffffff;fontSize=18;spacingLeft=10;fontStyle=1;shadow=0;");b.vertex=!0;var e=new mxCell("Label",new mxGeometry(320,0,80,40),"text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;spacingRight=10;"); e.vertex=!0;var f=new mxCell("",new mxGeometry(0,50,400,40),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#dddddd;strokeColor=none;rounded=0;");f.vertex=!0;var g=new mxCell("45%",new mxGeometry(0,50,180,40),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#F2931E;strokeColor=none;align=left;verticalAlign=middle;fontColor=#ffffff;fontSize=18;spacingLeft=10;fontStyle=1;shadow=0;");g.vertex=!0;var h=new mxCell("Label",new mxGeometry(320,50,80,40),"text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;spacingRight=10;"); h.vertex=!0;var k=new mxCell("",new mxGeometry(0,100,400,40),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#dddddd;strokeColor=none;rounded=0;");k.vertex=!0;var l=new mxCell("30%",new mxGeometry(0,100,120,40),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#AE4132;strokeColor=none;align=left;verticalAlign=middle;fontColor=#ffffff;fontSize=18;spacingLeft=10;fontStyle=1;shadow=0;");l.vertex=!0;var m=new mxCell("Label",new mxGeometry(320,100,80,40),"text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;spacingRight=10;"); -m.vertex=!0;var n=new mxCell("",new mxGeometry(0,150,400,40),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#dddddd;strokeColor=none;rounded=0;");n.vertex=!0;var p=new mxCell("60%",new mxGeometry(0,150,240,40),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#23445D;strokeColor=none;align=left;verticalAlign=middle;fontColor=#ffffff;fontSize=18;spacingLeft=10;fontStyle=1;shadow=0;");p.vertex=!0;var q=new mxCell("Label",new mxGeometry(320,150,80,40),"text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;spacingRight=10;"); -q.vertex=!0;var t=new mxCell("",new mxGeometry(0,200,400,40),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#dddddd;strokeColor=none;rounded=0;");t.vertex=!0;var u=new mxCell("85%",new mxGeometry(0,200,340,40),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#12AAB5;strokeColor=none;align=left;verticalAlign=middle;fontColor=#ffffff;fontSize=18;spacingLeft=10;fontStyle=1;shadow=0;");u.vertex=!0;var v=new mxCell("Label",new mxGeometry(320,200,80,40),"text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;spacingRight=10;"); -v.vertex=!0;return sb.createVertexTemplateFromCells([d,b,f,g,k,l,n,p,t,u,e,h,m,q,v],400,250,"Percentage list")}),this.addEntry("arc list",function(){var d=new mxCell("",new mxGeometry(0,0,260,260),c+"partConcEllipse;fillColor=#10739E;strokeColor=#ffffff;startAngle=0.75;endAngle=0.08;arcWidth=0.16;strokeWidth=3;");d.vertex=!0;var b=new mxCell("",new mxGeometry(20,20,220,220),c+"partConcEllipse;fillColor=#F2931E;strokeColor=#ffffff;startAngle=0.91;endAngle=0.17;arcWidth=0.18;strokeWidth=3;");b.vertex= +m.vertex=!0;var n=new mxCell("",new mxGeometry(0,150,400,40),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#dddddd;strokeColor=none;rounded=0;");n.vertex=!0;var p=new mxCell("60%",new mxGeometry(0,150,240,40),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#23445D;strokeColor=none;align=left;verticalAlign=middle;fontColor=#ffffff;fontSize=18;spacingLeft=10;fontStyle=1;shadow=0;");p.vertex=!0;var r=new mxCell("Label",new mxGeometry(320,150,80,40),"text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;spacingRight=10;"); +r.vertex=!0;var t=new mxCell("",new mxGeometry(0,200,400,40),"whiteSpace=wrap;html=1;fixedSize=1;size=10;fillColor=#dddddd;strokeColor=none;rounded=0;");t.vertex=!0;var v=new mxCell("85%",new mxGeometry(0,200,340,40),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#12AAB5;strokeColor=none;align=left;verticalAlign=middle;fontColor=#ffffff;fontSize=18;spacingLeft=10;fontStyle=1;shadow=0;");v.vertex=!0;var u=new mxCell("Label",new mxGeometry(320,200,80,40),"text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;shadow=0;fontSize=18;spacingRight=10;"); +u.vertex=!0;return sb.createVertexTemplateFromCells([d,b,f,g,k,l,n,p,t,v,e,h,m,r,u],400,250,"Percentage list")}),this.addEntry("arc list",function(){var d=new mxCell("",new mxGeometry(0,0,260,260),c+"partConcEllipse;fillColor=#10739E;strokeColor=#ffffff;startAngle=0.75;endAngle=0.08;arcWidth=0.16;strokeWidth=3;");d.vertex=!0;var b=new mxCell("",new mxGeometry(20,20,220,220),c+"partConcEllipse;fillColor=#F2931E;strokeColor=#ffffff;startAngle=0.91;endAngle=0.17;arcWidth=0.18;strokeWidth=3;");b.vertex= !0;var e=new mxCell("",new mxGeometry(40,40,180,180),c+"partConcEllipse;fillColor=#AE4132;strokeColor=#ffffff;startAngle=0.75;endAngle=0.11;arcWidth=0.22;strokeWidth=3;");e.vertex=!0;var f=new mxCell("",new mxGeometry(60,60,140,140),c+"partConcEllipse;fillColor=#12AAB5;strokeColor=#ffffff;startAngle=0.02;endAngle=0.25;arcWidth=0.29;strokeWidth=3;");f.vertex=!0;var g=new mxCell("",new mxGeometry(80,80,100,100),c+"partConcEllipse;fillColor=#CCCCCC;strokeColor=#ffffff;startAngle=0.75;endAngle=0.25;arcWidth=0.4;strokeWidth=3;"); g.vertex=!0;var h=new mxCell("2018",new mxGeometry(100,100,60,60),"html=1;shape=mxgraph.basic.pie;fillColor=#23445D;strokeColor=#ffffff;startAngle=0.75;endAngle=0.25;fontSize=16;fontColor=#FFFFFF;verticalAlign=top;fontStyle=1;strokeWidth=3;");h.vertex=!0;return sb.createVertexTemplateFromCells([d,b,e,f,g,h],200,200,"Arc list")}),this.addEntry("arc list",function(){var d=new mxCell("",new mxGeometry(0,0,250,250),"ellipse;fillColor=none;strokeColor=#444444;");d.vertex=!0;var b=new mxCell("",new mxGeometry(20, 20,210,210),"ellipse;fillColor=none;strokeColor=#444444;");b.vertex=!0;var e=new mxCell("",new mxGeometry(40,40,170,170),"ellipse;fillColor=none;strokeColor=#444444;");e.vertex=!0;var f=new mxCell("",new mxGeometry(60,60,130,130),"ellipse;fillColor=none;strokeColor=#444444;");f.vertex=!0;var g=new mxCell("",new mxGeometry(80,80,90,90),"ellipse;fillColor=none;strokeColor=#444444;");g.vertex=!0;var h=new mxCell("",new mxGeometry(0,0,250,250),c+"arc;fillColor=none;strokeColor=#10739E;startAngle=0.75;endAngle=0.08;strokeWidth=16;"); @@ -8365,9 +8367,9 @@ b.vertex=!0;var e=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicin f.vertex=!0;var g=new mxCell("40%",new mxGeometry(110,30,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;startAngle=0;endAngle=0.4;arcWidth=0.4;strokeColor=none;fillColor=#F2931E;fontSize=22;fontColor=#F2931E;align=center;fontStyle=1;");g.vertex=!0;var h=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",new mxGeometry(110,140,100,120),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;"); h.vertex=!0;var k=new mxCell("Label",new mxGeometry(220,0,100,30),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=none;strokeColor=none;fontSize=15;fontColor=#AE4132;align=center;fontStyle=1;");k.vertex=!0;var l=new mxCell("25%",new mxGeometry(220,30,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;startAngle=0;endAngle=0.25;arcWidth=0.4;strokeColor=none;fillColor=#AE4132;fontSize=22;fontColor=#AE4132;align=center;fontStyle=1;"); l.vertex=!0;var m=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",new mxGeometry(220,140,100,120),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;");m.vertex=!0;var n=new mxCell("Label",new mxGeometry(330,0,100,30),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=none;strokeColor=none;fontSize=15;fontColor=#23445D;align=center;fontStyle=1;"); -n.vertex=!0;var p=new mxCell("60%",new mxGeometry(330,30,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;startAngle=0;endAngle=0.6;arcWidth=0.4;strokeColor=none;fillColor=#23445D;fontSize=22;fontColor=#23445D;align=center;fontStyle=1;");p.vertex=!0;var q=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",new mxGeometry(330,140,100,120),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;"); -q.vertex=!0;var t=new mxCell("Label",new mxGeometry(440,0,100,30),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=none;strokeColor=none;fontSize=15;fontColor=#12AAB5;align=center;fontStyle=1;");t.vertex=!0;var u=new mxCell("80%",new mxGeometry(440,30,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;startAngle=0;endAngle=0.8;arcWidth=0.4;strokeColor=none;fillColor=#12AAB5;fontSize=22;fontColor=#12AAB5;align=center;fontStyle=1;"); -u.vertex=!0;var v=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",new mxGeometry(440,140,100,120),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;");v.vertex=!0;return sb.createVertexTemplateFromCells([b,g,l,p,u,d,f,k,n,t,e,h,m,q,v],540,260,"Circular Dial List (horizontal)")}), +n.vertex=!0;var p=new mxCell("60%",new mxGeometry(330,30,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;startAngle=0;endAngle=0.6;arcWidth=0.4;strokeColor=none;fillColor=#23445D;fontSize=22;fontColor=#23445D;align=center;fontStyle=1;");p.vertex=!0;var r=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",new mxGeometry(330,140,100,120),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;"); +r.vertex=!0;var t=new mxCell("Label",new mxGeometry(440,0,100,30),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=none;strokeColor=none;fontSize=15;fontColor=#12AAB5;align=center;fontStyle=1;");t.vertex=!0;var v=new mxCell("80%",new mxGeometry(440,30,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;startAngle=0;endAngle=0.8;arcWidth=0.4;strokeColor=none;fillColor=#12AAB5;fontSize=22;fontColor=#12AAB5;align=center;fontStyle=1;"); +v.vertex=!0;var u=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",new mxGeometry(440,140,100,120),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;fillColor=#EEEEEE;strokeColor=none;fontSize=10;align=left;fontStyle=0;rounded=1;whiteSpace=wrap;arcSize=8;spacing=5;");u.vertex=!0;return sb.createVertexTemplateFromCells([b,g,l,p,v,d,f,k,n,t,e,h,m,r,u],540,260,"Circular Dial List (horizontal)")}), this.addEntry("circular dial list vertical",function(){var d=new mxCell("65%",new mxGeometry(0,0,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;startAngle=0;endAngle=0.65;arcWidth=0.4;strokeColor=none;fillColor=#10739E;fontSize=22;fontColor=#10739E;align=center;fontStyle=1;");d.vertex=!0;var b=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
', new mxGeometry(110,0,210,100),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=left;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=8;");b.vertex=!0;var e=new mxCell("40%",new mxGeometry(0,110,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;startAngle=0;endAngle=0.4;arcWidth=0.4;strokeColor=none;fillColor=#F2931E;fontSize=22;fontColor=#F2931E;align=center;fontStyle=1;");e.vertex=!0;var f=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
', new mxGeometry(110,110,210,100),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=left;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;spacing=8;");f.vertex=!0;var g=new mxCell("25%",new mxGeometry(0,220,100,100),"verticalLabelPosition=middle;verticalAlign=middle;html=1;html=1;shape=mxgraph.infographic.partConcEllipse;startAngle=0;endAngle=0.25;arcWidth=0.4;strokeColor=none;fillColor=#AE4132;fontSize=22;fontColor=#AE4132;align=center;fontStyle=1;");g.vertex=!0;var h=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
', @@ -8401,12 +8403,12 @@ new mxPoint(150,-20);f.insert(h);h=new mxCell('Heading
Heading
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',new mxGeometry(0,0,230, 100),"text;strokeColor=none;fillColor=none;spacing=5;spacingTop=0;whiteSpace=wrap;overflow=hidden;rounded=0;shadow=0;fontSize=15;fontColor=#FFFFFF;align=left;html=1;");m.vertex=!0;m.geometry.relative=!0;m.geometry.offset=new mxPoint(200,0);k.insert(m);m=new mxCell("",new mxGeometry(50,272,50,37),"shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fontSize=15;fontColor=#FFFFFF;align=left;");m.vertex=!0;var n=new mxCell("",new mxGeometry(0,360,500,100),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=0;fillColor=#23445D;strokeColor=none;shadow=1;"); -n.vertex=!0;var p=new mxCell("Label",new mxGeometry(410,410,100,60),"shape=manualInput;whiteSpace=wrap;html=1;shadow=1;strokeColor=none;fillColor=#dddddd;fontSize=15;fontColor=#444444;align=right;direction=south;flipH=1;shadow=1;spacing=10;fontStyle=1;");p.vertex=!0;var q=new mxCell("",new mxGeometry(0,.5,30,40),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;shadow=0;strokeColor=none;strokeWidth=6;fillColor=#CCCCCC;size=20;");q.vertex=!0;q.geometry.relative=!0;q.geometry.offset= -new mxPoint(150,-20);n.insert(q);q=new mxCell('Heading
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',new mxGeometry(0,0,230,100),"text;strokeColor=none;fillColor=none;spacing=5;spacingTop=0;whiteSpace=wrap;overflow=hidden;rounded=0;shadow=0;fontSize=15;fontColor=#FFFFFF;align=left;html=1;");q.vertex=!0;q.geometry.relative=!0;q.geometry.offset=new mxPoint(200,0);n.insert(q); -q=new mxCell("",new mxGeometry(50,392,50,37),"shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fontSize=15;fontColor=#FFFFFF;align=left;");q.vertex=!0;var t=new mxCell("",new mxGeometry(0,480,500,100),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=0;fillColor=#12AAB5;strokeColor=none;shadow=1;");t.vertex=!0;var u=new mxCell("Label",new mxGeometry(410,530,100,60),"shape=manualInput;whiteSpace=wrap;html=1;shadow=1;strokeColor=none;fillColor=#dddddd;fontSize=15;fontColor=#444444;align=right;direction=south;flipH=1;shadow=1;spacing=10;fontStyle=1;"); -u.vertex=!0;var v=new mxCell("",new mxGeometry(0,.5,30,40),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;shadow=0;strokeColor=none;strokeWidth=6;fillColor=#CCCCCC;size=20;");v.vertex=!0;v.geometry.relative=!0;v.geometry.offset=new mxPoint(150,-20);t.insert(v);v=new mxCell('Heading
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',new mxGeometry(0,0,230, -100),"text;strokeColor=none;fillColor=none;spacing=5;spacingTop=0;whiteSpace=wrap;overflow=hidden;rounded=0;shadow=0;fontSize=15;fontColor=#FFFFFF;align=left;html=1;");v.vertex=!0;v.geometry.relative=!0;v.geometry.offset=new mxPoint(200,0);t.insert(v);v=new mxCell("",new mxGeometry(50,512,50,37),"shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fontSize=15;fontColor=#FFFFFF;align=left;");v.vertex=!0;return sb.createVertexTemplateFromCells([d,b,e,f,g,h,k,l,m,n,p,q,t, -u,v],550,590,"Ribbon List")}),this.addEntry("bar graph",function(){var d=new mxCell("Label",new mxGeometry(0,0,120,70),"html=1;shape=mxgraph.infographic.barCallout;dx=60;dy=30;fillColor=#10739E;strokeColor=none;align=center;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingTop=5;");d.vertex=!0;var b=new mxCell("12",new mxGeometry(40,75,40,40),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#10739E;strokeWidth=6;fontSize=16;align=center;fontStyle=1");b.vertex= +n.vertex=!0;var p=new mxCell("Label",new mxGeometry(410,410,100,60),"shape=manualInput;whiteSpace=wrap;html=1;shadow=1;strokeColor=none;fillColor=#dddddd;fontSize=15;fontColor=#444444;align=right;direction=south;flipH=1;shadow=1;spacing=10;fontStyle=1;");p.vertex=!0;var r=new mxCell("",new mxGeometry(0,.5,30,40),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;shadow=0;strokeColor=none;strokeWidth=6;fillColor=#CCCCCC;size=20;");r.vertex=!0;r.geometry.relative=!0;r.geometry.offset= +new mxPoint(150,-20);n.insert(r);r=new mxCell('Heading
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',new mxGeometry(0,0,230,100),"text;strokeColor=none;fillColor=none;spacing=5;spacingTop=0;whiteSpace=wrap;overflow=hidden;rounded=0;shadow=0;fontSize=15;fontColor=#FFFFFF;align=left;html=1;");r.vertex=!0;r.geometry.relative=!0;r.geometry.offset=new mxPoint(200,0);n.insert(r); +r=new mxCell("",new mxGeometry(50,392,50,37),"shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fontSize=15;fontColor=#FFFFFF;align=left;");r.vertex=!0;var t=new mxCell("",new mxGeometry(0,480,500,100),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=20;notch2=0;fillColor=#12AAB5;strokeColor=none;shadow=1;");t.vertex=!0;var v=new mxCell("Label",new mxGeometry(410,530,100,60),"shape=manualInput;whiteSpace=wrap;html=1;shadow=1;strokeColor=none;fillColor=#dddddd;fontSize=15;fontColor=#444444;align=right;direction=south;flipH=1;shadow=1;spacing=10;fontStyle=1;"); +v.vertex=!0;var u=new mxCell("",new mxGeometry(0,.5,30,40),"shape=step;perimeter=stepPerimeter;whiteSpace=wrap;html=1;fixedSize=1;shadow=0;strokeColor=none;strokeWidth=6;fillColor=#CCCCCC;size=20;");u.vertex=!0;u.geometry.relative=!0;u.geometry.offset=new mxPoint(150,-20);t.insert(u);u=new mxCell('Heading
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',new mxGeometry(0,0,230, +100),"text;strokeColor=none;fillColor=none;spacing=5;spacingTop=0;whiteSpace=wrap;overflow=hidden;rounded=0;shadow=0;fontSize=15;fontColor=#FFFFFF;align=left;html=1;");u.vertex=!0;u.geometry.relative=!0;u.geometry.offset=new mxPoint(200,0);t.insert(u);u=new mxCell("",new mxGeometry(50,512,50,37),"shadow=0;dashed=0;html=1;strokeColor=none;shape=mxgraph.mscae.intune.user_group;fontSize=15;fontColor=#FFFFFF;align=left;");u.vertex=!0;return sb.createVertexTemplateFromCells([d,b,e,f,g,h,k,l,m,n,p,r,t, +v,u],550,590,"Ribbon List")}),this.addEntry("bar graph",function(){var d=new mxCell("Label",new mxGeometry(0,0,120,70),"html=1;shape=mxgraph.infographic.barCallout;dx=60;dy=30;fillColor=#10739E;strokeColor=none;align=center;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingTop=5;");d.vertex=!0;var b=new mxCell("12",new mxGeometry(40,75,40,40),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#10739E;strokeWidth=6;fontSize=16;align=center;fontStyle=1");b.vertex= !0;var e=new mxCell("Label",new mxGeometry(120,0,160,70),"html=1;shape=mxgraph.infographic.barCallout;dx=80;dy=30;fillColor=#F2931E;strokeColor=none;align=center;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingTop=5;");e.vertex=!0;var f=new mxCell("16",new mxGeometry(180,75,40,40),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#F2931E;strokeWidth=6;fontSize=16;align=center;fontStyle=1");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(280,0,80,70), "html=1;shape=mxgraph.infographic.barCallout;dx=40;dy=30;fillColor=#AE4132;strokeColor=none;align=center;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingTop=5;");g.vertex=!0;var h=new mxCell("8",new mxGeometry(300,75,40,40),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#AE4132;strokeWidth=6;fontSize=16;align=center;fontStyle=1");h.vertex=!0;var k=new mxCell("Label",new mxGeometry(360,0,200,70),"html=1;shape=mxgraph.infographic.barCallout;dx=100;dy=30;fillColor=#23445D;strokeColor=none;align=center;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingTop=5;"); k.vertex=!0;var l=new mxCell("20",new mxGeometry(440,75,40,40),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=#23445D;strokeWidth=6;fontSize=16;align=center;fontStyle=1");l.vertex=!0;var m=new mxCell("Label",new mxGeometry(560,0,140,70),"html=1;shape=mxgraph.infographic.barCallout;dx=70;dy=30;fillColor=#12AAB5;strokeColor=none;align=center;verticalAlign=top;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingTop=5;");m.vertex=!0;var n=new mxCell("14",new mxGeometry(610,75, @@ -8420,16 +8422,16 @@ b,e,f],480,360,"Triangular Diagram")}),this.addEntry("roll",function(){var d=new g.vertex=!0;var h=new mxCell("",new mxGeometry(125,125,150,150),"ellipse;html=1;strokeWidth=4;fillColor=#F8C382;strokeColor=none;shadow=0;fontSize=10;fontColor=#FFFFFF;align=center;fontStyle=0;whiteSpace=wrap;spacing=10;");h.vertex=!0;var k=new mxCell("Label",new mxGeometry(150,150,100,100),"ellipse;html=1;strokeWidth=4;fillColor=#F5AB50;strokeColor=none;shadow=0;fontSize=20;fontColor=#FFFFFF;align=center;fontStyle=1;whiteSpace=wrap;spacing=10;");k.vertex=!0;var l=new mxCell("Label",new mxGeometry(200, 225,300,25),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#F5AB50;strokeColor=none;align=right;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingRight=25;");l.vertex=!0;var m=new mxCell("Label",new mxGeometry(200,250,340,25),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#F8C382;strokeColor=none;align=right;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingRight=25;");m.vertex=!0;var n= new mxCell("Label",new mxGeometry(200,275,380,25),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#FCE7CD;strokeColor=none;align=right;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingRight=25;");n.vertex=!0;var p=new mxCell("Label",new mxGeometry(200,300,420,25),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#BAC8D3;strokeColor=none;align=right;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingRight=25;"); -p.vertex=!0;var q=new mxCell("Label",new mxGeometry(200,325,460,25),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#5D7F99;strokeColor=none;align=right;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingRight=25;");q.vertex=!0;var t=new mxCell("Label",new mxGeometry(200,350,500,25),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#2F5B7C;strokeColor=none;align=right;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingRight=25;"); -t.vertex=!0;var u=new mxCell("Label",new mxGeometry(200,375,540,25),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#23445D;strokeColor=none;align=right;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingRight=25;");u.vertex=!0;return sb.createVertexTemplateFromCells([d,b,e,f,g,h,k,l,m,n,p,q,t,u],740,400,"Roll")}),this.addEntry("cylinder graph",function(){var d=new mxCell("",new mxGeometry(315,160,100,25),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#10739E;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#10739E;"); +p.vertex=!0;var r=new mxCell("Label",new mxGeometry(200,325,460,25),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#5D7F99;strokeColor=none;align=right;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingRight=25;");r.vertex=!0;var t=new mxCell("Label",new mxGeometry(200,350,500,25),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#2F5B7C;strokeColor=none;align=right;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingRight=25;"); +t.vertex=!0;var v=new mxCell("Label",new mxGeometry(200,375,540,25),"html=1;shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=20;fillColor=#23445D;strokeColor=none;align=right;verticalAlign=middle;fontColor=#ffffff;fontSize=14;fontStyle=1;shadow=0;spacingRight=25;");v.vertex=!0;return sb.createVertexTemplateFromCells([d,b,e,f,g,h,k,l,m,n,p,r,t,v],740,400,"Roll")}),this.addEntry("cylinder graph",function(){var d=new mxCell("",new mxGeometry(315,160,100,25),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#10739E;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#10739E;"); d.vertex=!0;var b=new mxCell("",new mxGeometry(315,180,100,25),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#F2931E;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#F2931E;");b.vertex=!0;var e=new mxCell("",new mxGeometry(315,200,100,25),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#AE4132;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#AE4132;"); e.vertex=!0;var f=new mxCell("",new mxGeometry(315,220,100,25),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#23445D;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#23445D;");f.vertex=!0;var g=new mxCell("",new mxGeometry(315,240,100,25),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.cylinder;fillColor=#12AAB5;strokeColor=none;shadow=0;align=left;labelPosition=right;spacingLeft=10;fontStyle=1;fontColor=#12AAB5;"); g.vertex=!0;var h=new mxCell("Label",new mxGeometry(175,0,130,160),"strokeWidth=1;shadow=0;dashed=0;align=center;html=1;shape=mxgraph.mockup.text.callout;linkText=;textSize=17;textColor=#666666;callDir=NW;callStyle=line;fontSize=17;fontColor=#10739E;align=left;verticalAlign=top;strokeColor=#666666;fillColor=#4D9900;flipV=0;fontStyle=1;");h.vertex=!0;var k=new mxCell("Label",new mxGeometry(175,80,130,110),"strokeWidth=1;shadow=0;dashed=0;align=center;html=1;shape=mxgraph.mockup.text.callout;linkText=;textSize=17;textColor=#666666;callDir=NW;callStyle=line;fontSize=17;fontColor=#F2931E;align=left;verticalAlign=top;strokeColor=#666666;fillColor=#4D9900;flipV=0;fontStyle=1;"); k.vertex=!0;var l=new mxCell("Label",new mxGeometry(175,160,130,50),"strokeWidth=1;shadow=0;dashed=0;align=center;html=1;shape=mxgraph.mockup.text.callout;linkText=;textSize=17;textColor=#666666;callDir=NW;callStyle=line;fontSize=17;fontColor=#AE4132;align=left;verticalAlign=top;strokeColor=#666666;fillColor=#4D9900;flipV=0;fontStyle=1;");l.vertex=!0;var m=new mxCell("Label",new mxGeometry(175,230,130,50),"strokeWidth=1;shadow=0;dashed=0;align=center;html=1;shape=mxgraph.mockup.text.callout;linkText=;textSize=17;textColor=#666666;callDir=SW;callStyle=line;fontSize=17;fontColor=#23445D;align=left;verticalAlign=bottom;strokeColor=#666666;fillColor=#4D9900;flipV=0;fontStyle=1;"); m.vertex=!0;var n=new mxCell("Label",new mxGeometry(175,250,130,120),"strokeWidth=1;shadow=0;dashed=0;align=center;html=1;shape=mxgraph.mockup.text.callout;linkText=;textSize=17;textColor=#666666;callDir=SW;callStyle=line;fontSize=17;fontColor=#12AAB5;align=left;verticalAlign=bottom;strokeColor=#666666;fillColor=#4D9900;flipV=0;fontStyle=1;");n.vertex=!0;var p=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.", -new mxGeometry(0,30,240,50),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;align=right;html=1;");p.vertex=!0;var q=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",new mxGeometry(0,110,240,50),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;align=right;html=1;");q.vertex=!0;var t=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.", -new mxGeometry(0,190,240,50),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;align=right;html=1;");t.vertex=!0;var u=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",new mxGeometry(0,290,240,50),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;align=right;html=1;");u.vertex=!0;var v=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.", -new mxGeometry(0,380,240,50),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;align=right;html=1;");v.vertex=!0;return sb.createVertexTemplateFromCells([g,f,e,b,d,h,k,l,m,n,p,q,t,u,v],415,430,"Cylinder Graph")}),this.addEntry("swirl",function(){var d=new mxCell("",new mxGeometry(0,0,300,140),"html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.uTurnArrow;dy=22;arrowHead=70;dx2=35;strokeColor=#ffffff;fillColor=#10739E;fontSize=12;fontColor=#3333FF;flipH=1;flipV=1;strokeWidth=4;"); +new mxGeometry(0,30,240,50),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;align=right;html=1;");p.vertex=!0;var r=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",new mxGeometry(0,110,240,50),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;align=right;html=1;");r.vertex=!0;var t=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.", +new mxGeometry(0,190,240,50),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;align=right;html=1;");t.vertex=!0;var v=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",new mxGeometry(0,290,240,50),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;align=right;html=1;");v.vertex=!0;var u=new mxCell("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.", +new mxGeometry(0,380,240,50),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=12;align=right;html=1;");u.vertex=!0;return sb.createVertexTemplateFromCells([g,f,e,b,d,h,k,l,m,n,p,r,t,v,u],415,430,"Cylinder Graph")}),this.addEntry("swirl",function(){var d=new mxCell("",new mxGeometry(0,0,300,140),"html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.uTurnArrow;dy=22;arrowHead=70;dx2=35;strokeColor=#ffffff;fillColor=#10739E;fontSize=12;fontColor=#3333FF;flipH=1;flipV=1;strokeWidth=4;"); d.vertex=!0;var b=new mxCell("",new mxGeometry(0,79,230,140),"html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.uTurnArrow;dy=22;arrowHead=70;dx2=35;strokeColor=#ffffff;fillColor=#F2931E;fontSize=12;fontColor=#3333FF;flipV=1;strokeWidth=4;");b.vertex=!0;var e=new mxCell("",new mxGeometry(70,158,230,140),"html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.uTurnArrow;dy=22;arrowHead=70;dx2=35;strokeColor=#ffffff;fillColor=#AE4132;fontSize=12;fontColor=#3333FF;flipH=1;flipV=1;strokeWidth=4;"); e.vertex=!0;var f=new mxCell("",new mxGeometry(0,237,230,140),"html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.uTurnArrow;dy=22;arrowHead=70;dx2=35;strokeColor=#ffffff;fillColor=#23445D;fontSize=12;fontColor=#3333FF;flipV=1;strokeWidth=4;");f.vertex=!0;var g=new mxCell("",new mxGeometry(70,316,230,140),"html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.uTurnArrow;dy=22;arrowHead=70;dx2=35;strokeColor=#ffffff;fillColor=#12AAB5;fontSize=12;fontColor=#3333FF;flipH=1;flipV=1;strokeWidth=4;"); g.vertex=!0;var h=new mxCell('LABEL
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',new mxGeometry(50,0,150,40),"rounded=0;whiteSpace=wrap;shadow=0;strokeColor=none;strokeWidth=6;fillColor=none;fontSize=7;fontColor=#FFFFFF;align=left;html=1;spacingLeft=5;");h.vertex=!0;var k=new mxCell('LABEL
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', @@ -8440,20 +8442,20 @@ d.vertex=!0;var b=new mxCell("Label",new mxGeometry(30,15,150,15),"shape=manualI 0,130,130),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.partConcEllipse;fillColor=#10739E;strokeColor=none;startAngle=0;endAngle=0.5;arcWidth=0.23;shadow=0;fontSize=7;fontColor=#FFFFFF;align=left;");f.vertex=!0;var g=new mxCell("",new mxGeometry(129,15,100,100),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.partConcEllipse;fillColor=#F2931E;strokeColor=none;startAngle=0;endAngle=0.5;arcWidth=0.3;shadow=0;fontSize=7;fontColor=#FFFFFF;align=left;"); g.vertex=!0;var h=new mxCell("",new mxGeometry(144,30,70,70),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.partConcEllipse;fillColor=#AE4132;strokeColor=none;startAngle=0;endAngle=0.5;arcWidth=0.43;shadow=0;fontSize=7;fontColor=#FFFFFF;align=left;");h.vertex=!0;var k=new mxCell("",new mxGeometry(115,85,130,130),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.partConcEllipse;fillColor=#AE4132;strokeColor=none;startAngle=0.5;endAngle=0.00001;arcWidth=0.23;shadow=0;fontSize=7;fontColor=#FFFFFF;align=left;"); k.vertex=!0;var l=new mxCell("",new mxGeometry(130,100,100,100),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.partConcEllipse;fillColor=#F2931E;strokeColor=none;startAngle=0.5;endAngle=0.00001;arcWidth=0.3;shadow=0;fontSize=7;fontColor=#FFFFFF;align=left;");l.vertex=!0;var m=new mxCell("",new mxGeometry(145,115,70,70),"verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.partConcEllipse;fillColor=#10739E;strokeColor=none;startAngle=0.5;endAngle=0.00001;arcWidth=0.43;shadow=0;fontSize=7;fontColor=#FFFFFF;align=left;"); -m.vertex=!0;var n=new mxCell("",new mxGeometry(179,170,181,15),"shape=manualInput;whiteSpace=wrap;html=1;shadow=0;fillColor=#10739E;strokeColor=none;fontSize=12;fontColor=#FFFFFF;align=center;direction=north;flipH=1;rounded=0;");n.vertex=!0;var p=new mxCell("",new mxGeometry(179,185,151,15),"shape=manualInput;whiteSpace=wrap;html=1;shadow=0;fillColor=#F2931E;strokeColor=none;fontSize=12;fontColor=#FFFFFF;align=center;direction=north;flipH=1;rounded=0;");p.vertex=!0;var q=new mxCell("",new mxGeometry(179, -200,121,15),"shape=manualInput;whiteSpace=wrap;html=1;shadow=0;fillColor=#AE4132;strokeColor=none;fontSize=12;fontColor=#FFFFFF;align=center;direction=north;flipH=1;rounded=0;");q.vertex=!0;var t=new mxCell("1",new mxGeometry(0,60,30,30),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=none;fillColor=#10739E;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;");t.vertex=!0;var u=new mxCell("2",new mxGeometry(40,60,30,30),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=none;fillColor=#F2931E;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;"); -u.vertex=!0;var v=new mxCell("3",new mxGeometry(80,60,30,30),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=none;fillColor=#AE4132;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;");v.vertex=!0;return sb.createVertexTemplateFromCells([d,b,e,f,g,h,k,l,m,n,p,q,t,u,v],360,215,"Swirl")}),this.addEntry("callout",function(){var d=new mxCell("Label",new mxGeometry(0,0,0,0),"endArrow=oval;html=1;fontSize=16;fontColor=#10739E;endFill=0;endSize=24;strokeWidth=5;labelBackgroundColor=none;verticalAlign=top;fontStyle=1;strokeColor=#10739E;"); +m.vertex=!0;var n=new mxCell("",new mxGeometry(179,170,181,15),"shape=manualInput;whiteSpace=wrap;html=1;shadow=0;fillColor=#10739E;strokeColor=none;fontSize=12;fontColor=#FFFFFF;align=center;direction=north;flipH=1;rounded=0;");n.vertex=!0;var p=new mxCell("",new mxGeometry(179,185,151,15),"shape=manualInput;whiteSpace=wrap;html=1;shadow=0;fillColor=#F2931E;strokeColor=none;fontSize=12;fontColor=#FFFFFF;align=center;direction=north;flipH=1;rounded=0;");p.vertex=!0;var r=new mxCell("",new mxGeometry(179, +200,121,15),"shape=manualInput;whiteSpace=wrap;html=1;shadow=0;fillColor=#AE4132;strokeColor=none;fontSize=12;fontColor=#FFFFFF;align=center;direction=north;flipH=1;rounded=0;");r.vertex=!0;var t=new mxCell("1",new mxGeometry(0,60,30,30),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=none;fillColor=#10739E;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;");t.vertex=!0;var v=new mxCell("2",new mxGeometry(40,60,30,30),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=none;fillColor=#F2931E;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;"); +v.vertex=!0;var u=new mxCell("3",new mxGeometry(80,60,30,30),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;strokeColor=none;fillColor=#AE4132;fontSize=17;fontColor=#FFFFFF;align=center;fontStyle=1;rounded=0;");u.vertex=!0;return sb.createVertexTemplateFromCells([d,b,e,f,g,h,k,l,m,n,p,r,t,v,u],360,215,"Swirl")}),this.addEntry("callout",function(){var d=new mxCell("Label",new mxGeometry(0,0,0,0),"endArrow=oval;html=1;fontSize=16;fontColor=#10739E;endFill=0;endSize=24;strokeWidth=5;labelBackgroundColor=none;verticalAlign=top;fontStyle=1;strokeColor=#10739E;"); d.geometry.setTerminalPoint(new mxPoint(0,100),!0);d.geometry.setTerminalPoint(new mxPoint(100,0),!1);d.geometry.x=-1;d.geometry.relative=!0;d.edge=!0;return sb.createVertexTemplateFromCells([d],100,100,"Callout")}),this.addEntry("roadmap vertical",function(){var d=new mxCell("",new mxGeometry(234,0,12,12),"ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;fillColor=none;strokeColor=#333333;fontSize=16;align=center;strokeWidth=2;");d.vertex=!0;var b=new mxCell("",new mxGeometry(234,498,12,12), "ellipse;whiteSpace=wrap;html=1;aspect=fixed;shadow=0;fillColor=none;strokeColor=#333333;fontSize=16;align=center;strokeWidth=2;");b.vertex=!0;var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=none;html=1;strokeWidth=3;strokeColor=#CCCCCC;labelBackgroundColor=none;fontSize=16");e.geometry.relative=!0;e.edge=!0;d.insertEdge(e,!0);b.insertEdge(e,!1);var f=new mxCell("",new mxGeometry(0,30,246,60),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;strokeColor=#10739E;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;shadow=0;direction=north;"); f.vertex=!0;var g=new mxCell("",new mxGeometry(234,100,246,60),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;strokeColor=#F2931E;labelPosition=center;align=center;fontColor=#F2931E;fontStyle=1;fontSize=24;shadow=0;direction=north;flipH=1;");g.vertex=!0;var h=new mxCell("",new mxGeometry(0,170,246,60),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;strokeColor=#AE4132;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;shadow=0;direction=north;"); h.vertex=!0;var k=new mxCell("",new mxGeometry(234,240,246,60),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;strokeColor=#23445D;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;shadow=0;direction=north;flipH=1;");k.vertex=!0;var l=new mxCell("",new mxGeometry(0,310,246,60),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;strokeColor=#12AAB5;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;shadow=0;direction=north;"); l.vertex=!0;var m=new mxCell("",new mxGeometry(234,380,246,60),"verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=mxgraph.infographic.circularCallout2;dy=15;strokeColor=#56517E;labelPosition=center;align=center;fontColor=#10739E;fontStyle=1;fontSize=24;shadow=0;direction=north;flipH=1;");m.vertex=!0;var n=new mxCell("Label",new mxGeometry(70,20,160,30),"fillColor=#10739E;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");n.vertex=!0;var p=new mxCell("Label", -new mxGeometry(250,85,160,30),"fillColor=#F2931E;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");p.vertex=!0;var q=new mxCell("Label",new mxGeometry(70,160,160,30),"fillColor=#AE4132;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");q.vertex=!0;var t=new mxCell("Label",new mxGeometry(250,225,160,30),"fillColor=#23445D;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");t.vertex=!0; -var u=new mxCell("Label",new mxGeometry(70,300,160,30),"fillColor=#12AAB5;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");u.vertex=!0;var v=new mxCell("Label",new mxGeometry(250,365,160,30),"fillColor=#56517E;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");v.vertex=!0;var w=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
', -new mxGeometry(70,70,160,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");w.vertex=!0;var r=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
',new mxGeometry(250,140,160,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;"); -r.vertex=!0;var y=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
',new mxGeometry(70,210,160,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");y.vertex=!0;var x=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
', -new mxGeometry(250,280,160,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");x.vertex=!0;var z=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
',new mxGeometry(70,350,160,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;"); -z.vertex=!0;var B=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
',new mxGeometry(250,420,160,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");B.vertex=!0;return sb.createVertexTemplateFromCells([e,d,b,f,g,h,k,l,m,n,p,q,t,u,v,w,r,y,x,z,B],480,510,"Roadmap (vertical)")}), +new mxGeometry(250,85,160,30),"fillColor=#F2931E;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");p.vertex=!0;var r=new mxCell("Label",new mxGeometry(70,160,160,30),"fillColor=#AE4132;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");r.vertex=!0;var t=new mxCell("Label",new mxGeometry(250,225,160,30),"fillColor=#23445D;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");t.vertex=!0; +var v=new mxCell("Label",new mxGeometry(70,300,160,30),"fillColor=#12AAB5;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");v.vertex=!0;var u=new mxCell("Label",new mxGeometry(250,365,160,30),"fillColor=#56517E;strokecolor=none;rounded=1;fontColor=#FFFFFF;strokeColor=none;fontStyle=1;fontSize=14;");u.vertex=!0;var w=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
', +new mxGeometry(70,70,160,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");w.vertex=!0;var q=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
',new mxGeometry(250,140,160,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;"); +q.vertex=!0;var x=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
',new mxGeometry(70,210,160,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");x.vertex=!0;var y=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
', +new mxGeometry(250,280,160,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");y.vertex=!0;var z=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
',new mxGeometry(70,350,160,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;"); +z.vertex=!0;var A=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
',new mxGeometry(250,420,160,70),"rounded=1;strokeColor=none;fillColor=#EEEEEE;align=center;arcSize=12;verticalAlign=top;whiteSpace=wrap;html=1;fontSize=12;");A.vertex=!0;return sb.createVertexTemplateFromCells([e,d,b,f,g,h,k,l,m,n,p,r,t,v,u,w,q,x,y,z,A],480,510,"Roadmap (vertical)")}), this.addEntry("roadmap horizontal",function(){var d=new mxCell("",new mxGeometry(0,90,840,30),"fillColor=#dddddd;rounded=0;strokeColor=none;");d.vertex=!0;var b=new mxCell("Label",new mxGeometry(40,80,120,50),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#10739E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");b.vertex=!0;var e=new mxCell("Label",new mxGeometry(200,80,120,50),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#F2931E;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;"); e.vertex=!0;var f=new mxCell("Label",new mxGeometry(360,80,120,50),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#AE4132;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");f.vertex=!0;var g=new mxCell("Label",new mxGeometry(520,80,120,50),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#23445D;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;"); g.vertex=!0;var h=new mxCell("Label",new mxGeometry(680,80,120,50),"shape=mxgraph.infographic.ribbonSimple;notch1=0;notch2=10;notch=0;html=1;fillColor=#12AAB5;strokeColor=none;shadow=0;fontSize=17;fontColor=#FFFFFF;align=left;spacingLeft=10;fontStyle=1;");h.vertex=!0;var k=new mxCell('Label

Lorem ipsum dolor sit amet, consectetur adipisicing elit
',new mxGeometry(0,0,200,70), @@ -10677,28 +10679,28 @@ DrawioFile.prototype.shadowModified=!1;DrawioFile.prototype.data=null;DrawioFile DrawioFile.prototype.getShadowPages=function(){null==this.shadowPages&&(this.shadowPages=this.ui.getPagesForXml(this.initialData));return this.shadowPages};DrawioFile.prototype.setShadowPages=function(b){this.shadowPages=b};DrawioFile.prototype.synchronizeFile=function(b,e){this.savingFile?null!=e&&e({message:mxResources.get("busy")}):null!=this.sync?this.sync.fileChanged(mxUtils.bind(this,function(f){this.sync.cleanup(b,e,f)}),e):this.updateFile(b,e)}; DrawioFile.prototype.updateFile=function(b,e,f,c){null!=f&&f()||(EditorUi.debug("DrawioFile.updateFile",[this],"invalidChecksum",this.invalidChecksum),this.ui.getCurrentFile()!=this||this.invalidChecksum?null!=e&&e():this.getLatestVersion(mxUtils.bind(this,function(l){try{null!=f&&f()||(EditorUi.debug("DrawioFile.updateFile",[this],"invalidChecksum",this.invalidChecksum,"latestFile",[l]),this.ui.getCurrentFile()!=this||this.invalidChecksum?null!=e&&e():null!=l?this.mergeFile(l,b,e,c):this.reloadFile(b, e))}catch(m){null!=e&&e(m)}}),e))}; -DrawioFile.prototype.mergeFile=function(b,e,f,c){var l=!0;try{this.stats.fileMerged++;var m=this.getShadowPages(),x=b.getShadowPages();if(null!=x&&0f?b=b.substring(0,f)+"[...]":null!=b&&b.length>e&&(b=Graph.compress(b)+"\n");return b}; -DrawioFile.prototype.checksumError=function(b,e,f,c,l,m,x,y){this.stats.checksumErrors++;this.invalidChecksum=this.inConflictState=!0;this.descriptorChanged();null!=this.sync&&this.sync.updateOnlineState();null!=b&&b();try{if(this.errorReportsEnabled){if(null!=e)for(var D=0;Dq){for(D=0;Dp.length?Graph.compress(p):null}this.getLatestVersion(mxUtils.bind(this,function(A){try{var E=null!=p?"Report":"Error",z=this.ui.getHashValueForPages(A.getShadowPages());EditorUi.logError("Checksum "+E+" in "+l+" "+n,null,this.getMode()+"."+this.getId(),"user_"+k+(null!=this.sync?"-client_"+this.sync.clientId:"-nosync")+"-bytes_"+q+"-patches_"+e.length+(null!=p?"-json_"+p:"")+"-size_"+this.getSize()+(null!=m?"-expected_"+m:"")+(null!=x?"-current_"+x:"")+(null!=y? -"-rev_"+this.ui.hashValue(y):"")+(null!=z?"-latest_"+z:"")+(null!=A?"-latestRev_"+this.ui.hashValue(A.getCurrentRevisionId()):""));EditorUi.logEvent({category:"CHECKSUM-ERROR-SYNC-FILE-"+n,action:l,label:"user_"+k+(null!=this.sync?"-client_"+this.sync.clientId:"-nosync")+"-bytes_"+q+"-patches_"+e.length+"-size_"+this.getSize()})}catch(B){}}),b)}}catch(A){}}; -DrawioFile.prototype.sendErrorReport=function(b,e,f,c){try{var l=this.compressReportData(this.getAnonymizedXmlForPages(this.getShadowPages()),25E3),m=this.compressReportData(this.getAnonymizedXmlForPages(this.ui.pages),25E3),x=this.getCurrentUser(),y=null!=x?this.ui.hashValue(x.id):"unknown",D=null!=this.sync?"-client_"+this.sync.clientId:"-nosync",d=this.getTitle(),g=d.lastIndexOf(".");x="xml";0q){for(E=0;Ep.length?Graph.compress(p):null}this.getLatestVersion(mxUtils.bind(this,function(y){try{var A=null!=p?"Report":"Error",C=this.ui.getHashValueForPages(y.getShadowPages());EditorUi.logError("Checksum "+A+" in "+l+" "+n,null,this.getMode()+"."+this.getId(),"user_"+k+(null!=this.sync?"-client_"+this.sync.clientId:"-nosync")+"-bytes_"+q+"-patches_"+e.length+(null!=p?"-json_"+p:"")+"-size_"+this.getSize()+(null!=m?"-expected_"+m:"")+(null!=v?"-current_"+v:"")+(null!=x? +"-rev_"+this.ui.hashValue(x):"")+(null!=C?"-latest_"+C:"")+(null!=y?"-latestRev_"+this.ui.hashValue(y.getCurrentRevisionId()):""));EditorUi.logEvent({category:"CHECKSUM-ERROR-SYNC-FILE-"+n,action:l,label:"user_"+k+(null!=this.sync?"-client_"+this.sync.clientId:"-nosync")+"-bytes_"+q+"-patches_"+e.length+"-size_"+this.getSize()})}catch(B){}}),b)}}catch(y){}}; +DrawioFile.prototype.sendErrorReport=function(b,e,f,c){try{var l=this.compressReportData(this.getAnonymizedXmlForPages(this.getShadowPages()),25E3),m=this.compressReportData(this.getAnonymizedXmlForPages(this.ui.pages),25E3),v=this.getCurrentUser(),x=null!=v?this.ui.hashValue(v.id):"unknown",E=null!=this.sync?"-client_"+this.sync.clientId:"-nosync",d=this.getTitle(),g=d.lastIndexOf(".");v="xml";0mxUtils.indexOf(this.ui.pages,this.ui.currentPage)&&this.ui.selectPage(this.ui.pages[0],!0)}finally{x.container.style.visibility="";x.model.endUpdate();x.cellRenderer.redraw=g;this.changeListenerEnabled=y;f||(c.history=l,c.indexOfNextAdd=m,c.fireEvent(new mxEventObject(mxEvent.CLEAR)));if(null==this.ui.currentPage||this.ui.currentPage.needsUpdate)d!=x.mathEnabled? -(this.ui.editor.updateGraphComponents(),x.refresh()):(D!=x.foldingEnabled?x.view.revalidate():x.view.validate(),x.sizeDidChange());null!=this.sync&&this.isRealtime()&&(this.sync.snapshot=this.ui.clonePages(this.ui.pages));this.ui.updateTabContainer();this.ui.editor.fireEvent(new mxEventObject("pagesPatched","patches",b))}EditorUi.debug("DrawioFile.patch",[this],"patches",b,"resolver",e,"undoable",f)}return b}; +DrawioFile.prototype.patch=function(b,e,f){if(null!=b){var c=this.ui.editor.undoManager,l=c.history.slice(),m=c.indexOfNextAdd,v=this.ui.editor.graph;v.container.style.visibility="hidden";var x=this.changeListenerEnabled;this.changeListenerEnabled=f;var E=v.foldingEnabled,d=v.mathEnabled,g=v.cellRenderer.redraw;v.cellRenderer.redraw=function(k){k.view.graph.isEditing(k.cell)&&(k.view.graph.scrollCellToVisible(k.cell),k.view.graph.cellEditor.resize());g.apply(this,arguments)};v.model.beginUpdate(); +try{this.ui.pages=this.ui.applyPatches(this.ui.pages,b,!0,e,this.isModified()),0==this.ui.pages.length&&this.ui.pages.push(this.ui.createPage()),0>mxUtils.indexOf(this.ui.pages,this.ui.currentPage)&&this.ui.selectPage(this.ui.pages[0],!0)}finally{v.container.style.visibility="";v.model.endUpdate();v.cellRenderer.redraw=g;this.changeListenerEnabled=x;f||(c.history=l,c.indexOfNextAdd=m,c.fireEvent(new mxEventObject(mxEvent.CLEAR)));if(null==this.ui.currentPage||this.ui.currentPage.needsUpdate)d!=v.mathEnabled? +(this.ui.editor.updateGraphComponents(),v.refresh()):(E!=v.foldingEnabled?v.view.revalidate():v.view.validate(),v.sizeDidChange());null!=this.sync&&this.isRealtime()&&(this.sync.snapshot=this.ui.clonePages(this.ui.pages));this.ui.updateTabContainer();this.ui.editor.fireEvent(new mxEventObject("pagesPatched","patches",b))}EditorUi.debug("DrawioFile.patch",[this],"patches",b,"resolver",e,"undoable",f)}return b}; DrawioFile.prototype.save=function(b,e,f,c,l,m){try{if(EditorUi.debug("DrawioFile.save",[this],"revision",b,"unloading",c,"overwrite",l,"manual",m,"saving",this.savingFile,"editable",this.isEditable(),"invalidChecksum",this.invalidChecksum),this.isEditable())if(!l&&this.invalidChecksum)if(null!=f)f({message:mxResources.get("checksum")});else throw Error(mxResources.get("checksum"));else this.updateFileData(),this.clearAutosave(),null!=e&&e();else if(null!=f)f({message:mxResources.get("readOnly")}); -else throw Error(mxResources.get("readOnly"));}catch(x){if(null!=f)f(x);else throw x;}};DrawioFile.prototype.createData=function(){var b=this.ui.pages;if(this.isRealtime()&&(this.ui.pages=this.ownPages,null!=this.ui.currentPage)){var e=this.ui.getPageById(this.ui.currentPage.getId(),this.ownPages);null!=e&&(e.viewState=this.ui.editor.graph.getViewState(),e.needsUpdate=!0)}e=this.ui.getFileData(null,null,null,null,null,null,null,null,this,!this.isCompressed());this.ui.pages=b;return e}; +else throw Error(mxResources.get("readOnly"));}catch(v){if(null!=f)f(v);else throw v;}};DrawioFile.prototype.createData=function(){var b=this.ui.pages;if(this.isRealtime()&&(this.ui.pages=this.ownPages,null!=this.ui.currentPage)){var e=this.ui.getPageById(this.ui.currentPage.getId(),this.ownPages);null!=e&&(e.viewState=this.ui.editor.graph.getViewState(),e.needsUpdate=!0)}e=this.ui.getFileData(null,null,null,null,null,null,null,null,this,!this.isCompressed());this.ui.pages=b;return e}; DrawioFile.prototype.updateFileData=function(){null!=this.sync&&this.sync.sendLocalChanges();this.setData(this.createData());null!=this.sync&&this.sync.fileDataUpdated()};DrawioFile.prototype.isCompressedStorage=function(){return!0};DrawioFile.prototype.isCompressed=function(){var b=null!=this.ui.fileNode?this.ui.fileNode.getAttribute("compressed"):null;return null!=b?"false"!=b:this.isCompressedStorage()&&Editor.compressXml};DrawioFile.prototype.saveAs=function(b,e,f){}; DrawioFile.prototype.saveFile=function(b,e,f,c){};DrawioFile.prototype.getPublicUrl=function(b){b(null)};DrawioFile.prototype.isRestricted=function(){return!1};DrawioFile.prototype.isModified=function(){return this.modified};DrawioFile.prototype.getShadowModified=function(){return this.shadowModified};DrawioFile.prototype.setShadowModified=function(b){this.shadowModified=b};DrawioFile.prototype.setModified=function(b){this.shadowModified=this.modified=b};DrawioFile.prototype.isAutosaveOptional=function(){return!1}; DrawioFile.prototype.isAutosave=function(){return!this.inConflictState&&this.ui.editor.autosave};DrawioFile.prototype.isRenamable=function(){return!1};DrawioFile.prototype.rename=function(b,e,f){};DrawioFile.prototype.isMovable=function(){return!1};DrawioFile.prototype.isTrashed=function(){return!1};DrawioFile.prototype.move=function(b,e,f){};DrawioFile.prototype.share=function(){this.ui.alert(mxResources.get("sharingAvailable"),null,380)};DrawioFile.prototype.getHash=function(){return""}; @@ -10735,431 +10737,431 @@ DrawioFile.prototype.handleFileSuccess=function(b){this.ui.spinner.stop();this.u !1,this.sync.fileChangedNotify()))):this.ui.editor.setStatus(""))}; DrawioFile.prototype.handleFileError=function(b,e){this.ui.spinner.stop();this.ui.getCurrentFile()==this&&(this.inConflictState?this.handleConflictError(b,e):(this.isModified()&&this.addUnsavedStatus(b),e?this.ui.handleError(b,null!=b?mxResources.get("errorSavingFile"):null):this.isModified()||(b=this.getErrorMessage(b),null!=b&&60'+mxUtils.htmlEntities(mxResources.get("error"))+(null!=b?" ("+mxUtils.htmlEntities(b)+ ")":"")+""))))}; -DrawioFile.prototype.handleConflictError=function(b,e){var f=mxUtils.bind(this,function(){this.handleFileSuccess(!0)}),c=mxUtils.bind(this,function(x){this.handleFileError(x,!0)}),l=mxUtils.bind(this,function(){this.ui.spinner.spin(document.body,mxResources.get(this.savingSpinnerKey))&&(this.ui.editor.setStatus(""),this.save(!0,f,c,null,!0,this.constructor!=GitHubFile&&this.constructor!=GitLabFile||null==b?null:b.commitMessage))}),m=mxUtils.bind(this,function(){this.ui.spinner.spin(document.body,mxResources.get("updatingDocument"))&& +DrawioFile.prototype.handleConflictError=function(b,e){var f=mxUtils.bind(this,function(){this.handleFileSuccess(!0)}),c=mxUtils.bind(this,function(v){this.handleFileError(v,!0)}),l=mxUtils.bind(this,function(){this.ui.spinner.spin(document.body,mxResources.get(this.savingSpinnerKey))&&(this.ui.editor.setStatus(""),this.save(!0,f,c,null,!0,this.constructor!=GitHubFile&&this.constructor!=GitLabFile||null==b?null:b.commitMessage))}),m=mxUtils.bind(this,function(){this.ui.spinner.spin(document.body,mxResources.get("updatingDocument"))&& this.synchronizeFile(mxUtils.bind(this,function(){this.ui.spinner.stop();this.ui.spinner.spin(document.body,mxResources.get(this.savingSpinnerKey))&&this.save(!0,f,c,null,null,this.constructor!=GitHubFile&&this.constructor!=GitLabFile||null==b?null:b.commitMessage)}),c)});"none"==DrawioFile.SYNC?this.showCopyDialog(f,c,l):this.invalidChecksum?this.showRefreshDialog(f,c,this.getErrorMessage(b)):e?this.showConflictDialog(l,m):this.addConflictStatus(mxUtils.bind(this,function(){this.ui.editor.setStatus(mxUtils.htmlEntities(mxResources.get("updatingDocument"))); this.synchronizeFile(f,c)}),this.getErrorMessage(b))};DrawioFile.prototype.getErrorMessage=function(b){var e=null!=b?null!=b.error?b.error.message:b.message:null;null==e&&null!=b&&b.code==App.ERROR_TIMEOUT&&(e=mxResources.get("timeout"));return e};DrawioFile.prototype.isOverdue=function(){return null!=this.ageStart&&Date.now()-this.ageStart.getTime()>=this.ui.warnInterval}; DrawioFile.prototype.fileChanged=function(b){b=null!=b?b:!0;this.lastChanged=new Date;this.setModified(!0);EditorUi.debug("DrawioFile.fileChanged",[this],"autosave",this.isAutosave(),"saving",this.savingFile);this.isAutosave()?(null!=this.savingStatusKey&&this.addAllSavedStatus(mxUtils.htmlEntities(mxResources.get(this.savingStatusKey))+"..."),this.ui.scheduleSanityCheck(),null==this.ageStart&&(this.ageStart=new Date),this.autosave(this.autosaveDelay,this.maxAutosaveDelay,mxUtils.bind(this,function(e){this.ui.stopSanityCheck(); null==this.autosaveThread?(this.handleFileSuccess(!0),this.ageStart=null):this.isModified()&&(this.ui.scheduleSanityCheck(),this.ageStart=this.lastChanged)}),mxUtils.bind(this,function(e){this.handleFileError(e)}))):(this.ageStart=null,this.isAutosaveOptional()&&this.ui.editor.autosave||this.inConflictState||this.addUnsavedStatus());null!=this.sync&&b&&this.sync.localFileChanged()}; DrawioFile.prototype.createSecret=function(b){var e=Editor.guid(32);null==this.sync||this.isOptimisticSync()?b(e):this.sync.createToken(e,mxUtils.bind(this,function(f){b(e,f)}),mxUtils.bind(this,function(){b(e)}))};DrawioFile.prototype.fileSaving=function(){null!=this.sync&&this.sync.fileSaving()}; -DrawioFile.prototype.fileSaved=function(b,e,f,c,l){this.lastSaved=new Date;this.ageStart=null;try{this.stats.saved++;this.invalidChecksum=this.inConflictState=!1;var m=this.ui.getPagesForXml(b);null==this.sync||this.isOptimisticSync()?(this.setShadowPages(m),null!=this.sync&&(this.sync.lastModified=this.getLastModifiedDate(),this.sync.resetUpdateStatusThread(),this.isRealtime()&&this.sync.scheduleCleanup()),null!=f&&f()):this.sync.fileSaved(m,e,f,c,l)}catch(D){this.invalidChecksum=this.inConflictState= -!0;this.descriptorChanged();null!=c&&c(D);try{if(this.errorReportsEnabled)this.sendErrorReport("Error in fileSaved",null,D);else{var x=this.getCurrentUser(),y=null!=x?x.id:"unknown";EditorUi.logError("Error in fileSaved",null,this.getMode()+"."+this.getId(),y,D)}}catch(d){}}EditorUi.debug("DrawioFile.fileSaved",[this],"savedData",[b],"inConflictState",this.inConflictState,"invalidChecksum",this.invalidChecksum)}; +DrawioFile.prototype.fileSaved=function(b,e,f,c,l){this.lastSaved=new Date;this.ageStart=null;try{this.stats.saved++;this.invalidChecksum=this.inConflictState=!1;var m=this.ui.getPagesForXml(b);null==this.sync||this.isOptimisticSync()?(this.setShadowPages(m),null!=this.sync&&(this.sync.lastModified=this.getLastModifiedDate(),this.sync.resetUpdateStatusThread(),this.isRealtime()&&this.sync.scheduleCleanup()),null!=f&&f()):this.sync.fileSaved(m,e,f,c,l)}catch(E){this.invalidChecksum=this.inConflictState= +!0;this.descriptorChanged();null!=c&&c(E);try{if(this.errorReportsEnabled)this.sendErrorReport("Error in fileSaved",null,E);else{var v=this.getCurrentUser(),x=null!=v?v.id:"unknown";EditorUi.logError("Error in fileSaved",null,this.getMode()+"."+this.getId(),x,E)}}catch(d){}}EditorUi.debug("DrawioFile.fileSaved",[this],"savedData",[b],"inConflictState",this.inConflictState,"invalidChecksum",this.invalidChecksum)}; DrawioFile.prototype.autosave=function(b,e,f,c){null==this.lastAutosave&&(this.lastAutosave=Date.now());b=Date.now()-this.lastAutosavethis.maxAutosaveRevisionDelay};DrawioFile.prototype.descriptorChanged=function(){this.fireEvent(new mxEventObject("descriptorChanged"))};DrawioFile.prototype.contentChanged=function(){this.fireEvent(new mxEventObject("contentChanged"))}; DrawioFile.prototype.close=function(b){this.updateFileData();this.stats.closed++;this.isAutosave()&&this.isModified()&&this.save(this.isAutosaveRevision(),null,null,b);this.destroy()};DrawioFile.prototype.hasSameExtension=function(b,e){if(null!=b&&null!=e){var f=b.lastIndexOf(".");b=0"===l.substring(0,12)),x=(null==b||"L"==b)&&""===l.substring(0,11);(m||x)&&e.push({title:c,type:m?"F":"L",size:l.length,lastModified:Date.now()})}}return e}; +StorageFile.listLocalStorageFiles=function(b){for(var e=[],f=0;f"===l.substring(0,12)),v=(null==b||"L"==b)&&""===l.substring(0,11);(m||v)&&e.push({title:c,type:m?"F":"L",size:l.length,lastModified:Date.now()})}}return e}; StorageFile.migrate=function(b){var e=StorageFile.listLocalStorageFiles();e.push({title:".scratchpad",type:"L"});var f=b.transaction(["files","filesInfo"],"readwrite");b=f.objectStore("files");f=f.objectStore("filesInfo");for(var c=0;cf&&(mxUtils.br(D),x=1);var B=document.createElement("a");B.style.overflow="hidden";B.style.display="inline-block";B.className="geBaseButton";B.style.boxSizing="border-box";B.style.fontSize="11px";B.style.position="relative";B.style.margin="4px";B.style.marginTop="8px";B.style.marginBottom="0px";B.style.padding="8px 10px 8px 10px";B.style.width="88px";B.style.height= -"100px";B.style.whiteSpace="nowrap";B.setAttribute("title",n);var J=document.createElement("div");J.style.textOverflow="ellipsis";J.style.overflow="hidden";J.style.position="absolute";J.style.bottom="8px";J.style.left="0px";J.style.right="0px";mxUtils.write(J,n);B.appendChild(J);if(null!=k){var M=document.createElement("img");M.setAttribute("src",k);M.setAttribute("border","0");M.setAttribute("align","absmiddle");M.style.width="60px";M.style.height="60px";M.style.paddingBottom="6px";B.appendChild(M)}else J.style.paddingTop= -"5px",J.style.whiteSpace="normal",mxClient.IS_IOS?(B.style.padding="0px 10px 20px 10px",B.style.top="6px"):mxClient.IS_FF&&(J.style.paddingTop="0px",J.style.marginTop="-2px");if(null!=A)for(k=0;kf&&(mxUtils.br(E),v=1);var B=document.createElement("a");B.style.overflow="hidden";B.style.display="inline-block";B.className="geBaseButton";B.style.boxSizing="border-box";B.style.fontSize="11px";B.style.position="relative";B.style.margin="4px";B.style.marginTop="8px";B.style.marginBottom="0px";B.style.padding="8px 10px 8px 10px";B.style.width="88px";B.style.height= +"100px";B.style.whiteSpace="nowrap";B.setAttribute("title",n);var I=document.createElement("div");I.style.textOverflow="ellipsis";I.style.overflow="hidden";I.style.position="absolute";I.style.bottom="8px";I.style.left="0px";I.style.right="0px";mxUtils.write(I,n);B.appendChild(I);if(null!=k){var M=document.createElement("img");M.setAttribute("src",k);M.setAttribute("border","0");M.setAttribute("align","absmiddle");M.style.width="60px";M.style.height="60px";M.style.paddingBottom="6px";B.appendChild(M)}else I.style.paddingTop= +"5px",I.style.whiteSpace="normal",mxClient.IS_IOS?(B.style.padding="0px 10px 20px 10px",B.style.top="6px"):mxClient.IS_FF&&(I.style.paddingTop="0px",I.style.marginTop="-2px");if(null!=y)for(k=0;k '+mxResources.get("googleDriveMissingClickHere")+"",l.appendChild(d))},5E3);this.container=l},SplashDialog=function(b){var e=document.createElement("div");e.style.textAlign="center";if(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp){var f= b.addLanguageMenu(e,!1,"28px");null!=f&&(f.style.bottom="24px")}var c=document.createElement("img");c.setAttribute("border","0");c.setAttribute("align","absmiddle");c.style.width="32px";c.style.height="32px";c.style.marginRight="8px";c.style.marginTop="-4px";var l=document.createElement("div");l.style.margin="8px 0px 0px 0px";l.style.padding="18px 0px 24px 0px";f="";b.mode==App.MODE_GOOGLE?(c.src=IMAGE_PATH+"/google-drive-logo.svg",f=mxResources.get("googleDrive")):b.mode==App.MODE_DROPBOX?(c.src= IMAGE_PATH+"/dropbox-logo.svg",f=mxResources.get("dropbox")):b.mode==App.MODE_ONEDRIVE?(c.src=IMAGE_PATH+"/onedrive-logo.svg",f=mxResources.get("oneDrive")):b.mode==App.MODE_GITHUB?(c.src=IMAGE_PATH+"/github-logo.svg",f=mxResources.get("github")):b.mode==App.MODE_GITLAB?(c.src=IMAGE_PATH+"/gitlab-logo.svg",f=mxResources.get("gitlab")):b.mode==App.MODE_BROWSER?(c.src=IMAGE_PATH+"/osa_database.png",f=mxResources.get("browser")):b.mode==App.MODE_TRELLO?(c.src=IMAGE_PATH+"/trello-logo.svg",f=mxResources.get("trello")): -(c.src=IMAGE_PATH+"/osa_drive-harddisk.png",l.style.paddingBottom="10px",l.style.paddingTop="30px",f=mxResources.get("device"));var m=document.createElement("button");m.className="geBigButton";m.style.marginBottom="8px";m.style.fontSize="18px";m.style.padding="10px";m.style.width="340px";if(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)l.style.padding="42px 0px 10px 0px",m.style.marginBottom="12px";else{l.style.border="1px solid #d3d3d3";l.style.borderWidth="1px 0px 1px 0px";var x=document.createElement("table"), -y=document.createElement("tbody"),D=document.createElement("tr"),d=document.createElement("td"),g=document.createElement("td");x.setAttribute("align","center");d.appendChild(c);c=document.createElement("div");c.style.fontSize="22px";c.style.paddingBottom="6px";c.style.color="gray";mxUtils.write(c,f);g.style.textAlign="left";g.appendChild(c);D.appendChild(d);D.appendChild(g);y.appendChild(D);x.appendChild(y);e.appendChild(x);f=document.createElement("span");f.style.cssText="position:absolute;cursor:pointer;bottom:27px;color:gray;userSelect:none;text-align:center;left:50%;"; +(c.src=IMAGE_PATH+"/osa_drive-harddisk.png",l.style.paddingBottom="10px",l.style.paddingTop="30px",f=mxResources.get("device"));var m=document.createElement("button");m.className="geBigButton";m.style.marginBottom="8px";m.style.fontSize="18px";m.style.padding="10px";m.style.width="340px";if(mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)l.style.padding="42px 0px 10px 0px",m.style.marginBottom="12px";else{l.style.border="1px solid #d3d3d3";l.style.borderWidth="1px 0px 1px 0px";var v=document.createElement("table"), +x=document.createElement("tbody"),E=document.createElement("tr"),d=document.createElement("td"),g=document.createElement("td");v.setAttribute("align","center");d.appendChild(c);c=document.createElement("div");c.style.fontSize="22px";c.style.paddingBottom="6px";c.style.color="gray";mxUtils.write(c,f);g.style.textAlign="left";g.appendChild(c);E.appendChild(d);E.appendChild(g);x.appendChild(E);v.appendChild(x);e.appendChild(v);f=document.createElement("span");f.style.cssText="position:absolute;cursor:pointer;bottom:27px;color:gray;userSelect:none;text-align:center;left:50%;"; mxUtils.setPrefixedStyle(f.style,"transform","translate(-50%,0)");mxUtils.write(f,mxResources.get("changeStorage"));mxEvent.addListener(f,"click",function(){b.hideDialog(!1);b.setMode(null);b.clearMode();b.showSplash(!0)});e.appendChild(f)}mxUtils.write(m,mxResources.get("createNewDiagram"));mxEvent.addListener(m,"click",function(){b.hideDialog();b.actions.get("new").funct()});l.appendChild(m);mxUtils.br(l);m=document.createElement("button");m.className="geBigButton";m.style.marginBottom="22px";m.style.fontSize= "18px";m.style.padding="10px";m.style.width="340px";mxUtils.write(m,mxResources.get("openExistingDiagram"));mxEvent.addListener(m,"click",function(){b.actions.get("open").funct()});l.appendChild(m);b.mode==App.MODE_GOOGLE?mxResources.get("googleDrive"):b.mode==App.MODE_DROPBOX?mxResources.get("dropbox"):b.mode==App.MODE_ONEDRIVE?mxResources.get("oneDrive"):b.mode==App.MODE_GITHUB?mxResources.get("github"):b.mode==App.MODE_GITLAB?mxResources.get("gitlab"):b.mode==App.MODE_TRELLO?mxResources.get("trello"): b.mode==App.MODE_DEVICE?mxResources.get("device"):b.mode==App.MODE_BROWSER&&mxResources.get("browser");if(!mxClient.IS_CHROMEAPP&&!EditorUi.isElectronApp)if(f=function(q){m.style.marginBottom="24px";var p=document.createElement("a");p.style.display="inline-block";p.style.color="gray";p.style.cursor="pointer";p.style.marginTop="6px";mxUtils.write(p,mxResources.get("signOut"));m.style.marginBottom="16px";l.style.paddingBottom="18px";mxEvent.addListener(p,"click",function(){b.confirm(mxResources.get("areYouSure"), -function(){q()})});l.appendChild(p)},b.mode==App.MODE_GOOGLE&&null!=b.drive){var k=b.drive.getUsersList();if(0"),x.setAttribute("disabled","disabled"),n.appendChild(x);x=document.createElement("option");mxUtils.write(x,mxResources.get("addAccount"));x.value=k.length;n.appendChild(x);mxEvent.addListener(n,"change",function(){var q=n.value,p=k.length!=q;p&&b.drive.setUser(k[q]);b.drive.authorize(p,function(){b.setMode(App.MODE_GOOGLE);b.hideDialog();b.showSplash()},function(A){b.handleError(A,null,function(){b.hideDialog(); +function(){q()})});l.appendChild(p)},b.mode==App.MODE_GOOGLE&&null!=b.drive){var k=b.drive.getUsersList();if(0"),v.setAttribute("disabled","disabled"),n.appendChild(v);v=document.createElement("option");mxUtils.write(v,mxResources.get("addAccount"));v.value=k.length;n.appendChild(v);mxEvent.addListener(n,"change",function(){var q=n.value,p=k.length!=q;p&&b.drive.setUser(k[q]);b.drive.authorize(p,function(){b.setMode(App.MODE_GOOGLE);b.hideDialog();b.showSplash()},function(y){b.handleError(y,null,function(){b.hideDialog(); b.showSplash()})},!0)});l.appendChild(n)}else f(function(){b.drive.logout()})}else b.mode!=App.MODE_ONEDRIVE||null==b.oneDrive||b.oneDrive.noLogout?b.mode==App.MODE_GITHUB&&null!=b.gitHub?f(function(){b.gitHub.logout();b.openLink("https://www.github.com/logout")}):b.mode==App.MODE_GITLAB&&null!=b.gitLab?f(function(){b.gitLab.logout();b.openLink(DRAWIO_GITLAB_URL+"/users/sign_out")}):b.mode==App.MODE_TRELLO&&null!=b.trello?b.trello.isAuthorized()&&f(function(){b.trello.logout()}):b.mode==App.MODE_DROPBOX&& -null!=b.dropbox&&f(function(){b.dropbox.logout();b.openLink("https://www.dropbox.com/logout")}):f(function(){b.oneDrive.logout()});e.appendChild(l);this.container=e},EmbedDialog=function(b,e,f,c,l,m,x,y,D){x=null!=x?x:"Check out the diagram I made using @drawio";c=document.createElement("div");var d=/^https?:\/\//.test(e)||/^mailto:\/\//.test(e);null!=m?mxUtils.write(c,m):mxUtils.write(c,mxResources.get(5E5>e.length?d?"link":"mainEmbedNotice":"preview")+":");mxUtils.br(c);m=document.createElement("div"); +null!=b.dropbox&&f(function(){b.dropbox.logout();b.openLink("https://www.dropbox.com/logout")}):f(function(){b.oneDrive.logout()});e.appendChild(l);this.container=e},EmbedDialog=function(b,e,f,c,l,m,v,x,E){v=null!=v?v:"Check out the diagram I made using @drawio";c=document.createElement("div");var d=/^https?:\/\//.test(e)||/^mailto:\/\//.test(e);null!=m?mxUtils.write(c,m):mxUtils.write(c,mxResources.get(5E5>e.length?d?"link":"mainEmbedNotice":"preview")+":");mxUtils.br(c);m=document.createElement("div"); m.style.position="absolute";m.style.top="30px";m.style.right="30px";m.style.color="gray";mxUtils.write(m,b.formatFileSize(e.length));c.appendChild(m);var g=document.createElement("textarea");g.setAttribute("autocomplete","off");g.setAttribute("autocorrect","off");g.setAttribute("autocapitalize","off");g.setAttribute("spellcheck","false");g.style.fontFamily="monospace";g.style.wordBreak="break-all";g.style.marginTop="10px";g.style.resize="none";g.style.height="150px";g.style.width="440px";g.style.border= "1px solid gray";g.value=mxResources.get("updatingDocument");c.appendChild(g);mxUtils.br(c);this.init=function(){window.setTimeout(function(){5E5>e.length?(g.value=e,g.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?g.select():document.execCommand("selectAll",!1,null)):(g.setAttribute("readonly","true"),g.value=mxResources.get("tooLargeUseDownload"))},0)};m=document.createElement("div");m.style.position="absolute";m.style.bottom="36px";m.style.right="32px";var k=null;!EmbedDialog.showPreviewOption|| -mxClient.IS_CHROMEAPP&&!d||navigator.standalone||!(d||mxClient.IS_SVG&&(null==document.documentMode||9e.length?"preview":"openInNewWindow"),function(){var q=5E5>e.length?g.value:e;if(null!=l)l(q);else if(d)try{var p=b.openLink(q);null!=p&&(null==f||0"+encodeURIComponent(mxResources.get("preview"))+''+e+""),A.close()):b.handleError({message:mxResources.get("errorUpdatingPreview")})}}),k.className="geBtn",m.appendChild(k));if(!d||7500e.length){var n=mxUtils.button("",function(){try{var q="https://www.facebook.com/sharer.php?p[url]="+encodeURIComponent(g.value);b.openLink(q)}catch(p){b.handleError({message:p.message||mxResources.get("drawingTooLarge")})}});y=document.createElement("img");y.setAttribute("src",Editor.facebookImage);y.setAttribute("width","18");y.setAttribute("height", -"18");y.setAttribute("border","0");n.appendChild(y);n.setAttribute("title",mxResources.get("facebook")+" ("+b.formatFileSize(51200)+" max)");n.style.verticalAlign="bottom";n.style.paddingTop="4px";n.style.minWidth="46px";n.className="geBtn";m.appendChild(n)}7168>e.length&&(n=mxUtils.button("",function(){try{var q="https://twitter.com/intent/tweet?text="+encodeURIComponent(x)+"&url="+encodeURIComponent(g.value);b.openLink(q)}catch(p){b.handleError({message:p.message||mxResources.get("drawingTooLarge")})}}), -y=document.createElement("img"),y.setAttribute("src",Editor.tweetImage),y.setAttribute("width","18"),y.setAttribute("height","18"),y.setAttribute("border","0"),y.style.marginBottom="5px",n.appendChild(y),n.setAttribute("title",mxResources.get("twitter")+" ("+b.formatFileSize(7168)+" max)"),n.style.verticalAlign="bottom",n.style.paddingTop="4px",n.style.minWidth="46px",n.className="geBtn",m.appendChild(n))}!b.isOffline()&&5E5>e.length&&(n=mxUtils.button("",function(){try{var q="mailto:?subject="+encodeURIComponent(D|| -b.defaultFilename)+"&body="+encodeURIComponent(g.value);b.openLink(q)}catch(p){b.handleError({message:p.message||mxResources.get("drawingTooLarge")})}}),y=document.createElement("img"),y.className="geAdaptiveAsset",y.setAttribute("src",Editor.mailImage),y.setAttribute("width","18"),y.setAttribute("height","18"),y.setAttribute("border","0"),y.style.marginBottom="5px",n.appendChild(y),n.style.verticalAlign="bottom",n.style.paddingTop="4px",n.style.minWidth="46px",n.className="geBtn",m.appendChild(n)); -y=mxUtils.button(mxResources.get("close"),function(){b.hideDialog()});m.appendChild(y);n=mxUtils.button(mxResources.get("copy"),function(){g.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?g.select():document.execCommand("selectAll",!1,null);document.execCommand("copy");b.alert(mxResources.get("copiedToClipboard"))});5E5>e.length?mxClient.IS_SF||null!=document.documentMode?y.className="geBtn gePrimaryBtn":(m.appendChild(n),n.className="geBtn gePrimaryBtn",y.className="geBtn"):(m.appendChild(k), -y.className="geBtn",k.className="geBtn gePrimaryBtn");c.appendChild(m);this.container=c};EmbedDialog.showPreviewOption=!0; -var GoogleSitesDialog=function(b,e){function f(){var G=null!=u&&null!=u.getTitle()?u.getTitle():this.defaultFilename;if(M.checked&&""!=n.value){var I="https://www.draw.io/gadget.xml?type=4&diagram="+encodeURIComponent(mxUtils.htmlEntities(n.value));null!=G&&(I+="&title="+encodeURIComponent(G));0e.length?"preview":"openInNewWindow"),function(){var q=5E5>e.length?g.value:e;if(null!=l)l(q);else if(d)try{var p=b.openLink(q);null!=p&&(null==f||0"+encodeURIComponent(mxResources.get("preview"))+''+e+""),y.close()):b.handleError({message:mxResources.get("errorUpdatingPreview")})}}),k.className="geBtn",m.appendChild(k));if(!d||7500e.length){var n=mxUtils.button("",function(){try{var q="https://www.facebook.com/sharer.php?p[url]="+encodeURIComponent(g.value);b.openLink(q)}catch(p){b.handleError({message:p.message||mxResources.get("drawingTooLarge")})}});x=document.createElement("img");x.setAttribute("src",Editor.facebookImage);x.setAttribute("width","18");x.setAttribute("height", +"18");x.setAttribute("border","0");n.appendChild(x);n.setAttribute("title",mxResources.get("facebook")+" ("+b.formatFileSize(51200)+" max)");n.style.verticalAlign="bottom";n.style.paddingTop="4px";n.style.minWidth="46px";n.className="geBtn";m.appendChild(n)}7168>e.length&&(n=mxUtils.button("",function(){try{var q="https://twitter.com/intent/tweet?text="+encodeURIComponent(v)+"&url="+encodeURIComponent(g.value);b.openLink(q)}catch(p){b.handleError({message:p.message||mxResources.get("drawingTooLarge")})}}), +x=document.createElement("img"),x.setAttribute("src",Editor.tweetImage),x.setAttribute("width","18"),x.setAttribute("height","18"),x.setAttribute("border","0"),x.style.marginBottom="5px",n.appendChild(x),n.setAttribute("title",mxResources.get("twitter")+" ("+b.formatFileSize(7168)+" max)"),n.style.verticalAlign="bottom",n.style.paddingTop="4px",n.style.minWidth="46px",n.className="geBtn",m.appendChild(n))}!b.isOffline()&&5E5>e.length&&(n=mxUtils.button("",function(){try{var q="mailto:?subject="+encodeURIComponent(E|| +b.defaultFilename)+"&body="+encodeURIComponent(g.value);b.openLink(q)}catch(p){b.handleError({message:p.message||mxResources.get("drawingTooLarge")})}}),x=document.createElement("img"),x.className="geAdaptiveAsset",x.setAttribute("src",Editor.mailImage),x.setAttribute("width","18"),x.setAttribute("height","18"),x.setAttribute("border","0"),x.style.marginBottom="5px",n.appendChild(x),n.style.verticalAlign="bottom",n.style.paddingTop="4px",n.style.minWidth="46px",n.className="geBtn",m.appendChild(n)); +x=mxUtils.button(mxResources.get("close"),function(){b.hideDialog()});m.appendChild(x);n=mxUtils.button(mxResources.get("copy"),function(){g.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?g.select():document.execCommand("selectAll",!1,null);document.execCommand("copy");b.alert(mxResources.get("copiedToClipboard"))});5E5>e.length?mxClient.IS_SF||null!=document.documentMode?x.className="geBtn gePrimaryBtn":(m.appendChild(n),n.className="geBtn gePrimaryBtn",x.className="geBtn"):(m.appendChild(k), +x.className="geBtn",k.className="geBtn gePrimaryBtn");c.appendChild(m);this.container=c};EmbedDialog.showPreviewOption=!0; +var GoogleSitesDialog=function(b,e){function f(){var u=null!=S&&null!=S.getTitle()?S.getTitle():this.defaultFilename;if(M.checked&&""!=n.value){var z="https://www.draw.io/gadget.xml?type=4&diagram="+encodeURIComponent(mxUtils.htmlEntities(n.value));null!=u&&(z+="&title="+encodeURIComponent(u));0 Bob: Authentication Request\nBob --\x3e Alice: Authentication Response\n\nAlice -> Bob: Another authentication Request\nAlice <-- Bob: Another authentication Response\n@enduml"== -q&&"svg"==J?window.setTimeout(function(){b.spinner.stop();z(q,J,"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBjb250ZW50U2NyaXB0VHlwZT0iYXBwbGljYXRpb24vZWNtYXNjcmlwdCIgY29udGVudFN0eWxlVHlwZT0idGV4dC9jc3MiIGhlaWdodD0iMjEycHgiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHN0eWxlPSJ3aWR0aDoyOTVweDtoZWlnaHQ6MjEycHg7IiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAyOTUgMjEyIiB3aWR0aD0iMjk1cHgiIHpvb21BbmRQYW49Im1hZ25pZnkiPjxkZWZzLz48Zz48bGluZSBzdHlsZT0ic3Ryb2tlOiAjQTgwMDM2OyBzdHJva2Utd2lkdGg6IDEuMDsgc3Ryb2tlLWRhc2hhcnJheTogNS4wLDUuMDsiIHgxPSIzMSIgeDI9IjMxIiB5MT0iMzQuNDg4MyIgeTI9IjE3MS43MzA1Ii8+PGxpbmUgc3R5bGU9InN0cm9rZTogI0E4MDAzNjsgc3Ryb2tlLXdpZHRoOiAxLjA7IHN0cm9rZS1kYXNoYXJyYXk6IDUuMCw1LjA7IiB4MT0iMjY0LjUiIHgyPSIyNjQuNSIgeTE9IjM0LjQ4ODMiIHkyPSIxNzEuNzMwNSIvPjxyZWN0IGZpbGw9IiNGRUZFQ0UiIGhlaWdodD0iMzAuNDg4MyIgc3R5bGU9InN0cm9rZTogI0E4MDAzNjsgc3Ryb2tlLXdpZHRoOiAxLjU7IiB3aWR0aD0iNDciIHg9IjgiIHk9IjMiLz48dGV4dCBmaWxsPSIjMDAwMDAwIiBmb250LWZhbWlseT0ic2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNCIgbGVuZ3RoQWRqdXN0PSJzcGFjaW5nQW5kR2x5cGhzIiB0ZXh0TGVuZ3RoPSIzMyIgeD0iMTUiIHk9IjIzLjUzNTIiPkFsaWNlPC90ZXh0PjxyZWN0IGZpbGw9IiNGRUZFQ0UiIGhlaWdodD0iMzAuNDg4MyIgc3R5bGU9InN0cm9rZTogI0E4MDAzNjsgc3Ryb2tlLXdpZHRoOiAxLjU7IiB3aWR0aD0iNDciIHg9IjgiIHk9IjE3MC43MzA1Ii8+PHRleHQgZmlsbD0iIzAwMDAwMCIgZm9udC1mYW1pbHk9InNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTQiIGxlbmd0aEFkanVzdD0ic3BhY2luZ0FuZEdseXBocyIgdGV4dExlbmd0aD0iMzMiIHg9IjE1IiB5PSIxOTEuMjY1NiI+QWxpY2U8L3RleHQ+PHJlY3QgZmlsbD0iI0ZFRkVDRSIgaGVpZ2h0PSIzMC40ODgzIiBzdHlsZT0ic3Ryb2tlOiAjQTgwMDM2OyBzdHJva2Utd2lkdGg6IDEuNTsiIHdpZHRoPSI0MCIgeD0iMjQ0LjUiIHk9IjMiLz48dGV4dCBmaWxsPSIjMDAwMDAwIiBmb250LWZhbWlseT0ic2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNCIgbGVuZ3RoQWRqdXN0PSJzcGFjaW5nQW5kR2x5cGhzIiB0ZXh0TGVuZ3RoPSIyNiIgeD0iMjUxLjUiIHk9IjIzLjUzNTIiPkJvYjwvdGV4dD48cmVjdCBmaWxsPSIjRkVGRUNFIiBoZWlnaHQ9IjMwLjQ4ODMiIHN0eWxlPSJzdHJva2U6ICNBODAwMzY7IHN0cm9rZS13aWR0aDogMS41OyIgd2lkdGg9IjQwIiB4PSIyNDQuNSIgeT0iMTcwLjczMDUiLz48dGV4dCBmaWxsPSIjMDAwMDAwIiBmb250LWZhbWlseT0ic2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNCIgbGVuZ3RoQWRqdXN0PSJzcGFjaW5nQW5kR2x5cGhzIiB0ZXh0TGVuZ3RoPSIyNiIgeD0iMjUxLjUiIHk9IjE5MS4yNjU2Ij5Cb2I8L3RleHQ+PHBvbHlnb24gZmlsbD0iI0E4MDAzNiIgcG9pbnRzPSIyNTIuNSw2MS43OTg4LDI2Mi41LDY1Ljc5ODgsMjUyLjUsNjkuNzk4OCwyNTYuNSw2NS43OTg4IiBzdHlsZT0ic3Ryb2tlOiAjQTgwMDM2OyBzdHJva2Utd2lkdGg6IDEuMDsiLz48bGluZSBzdHlsZT0ic3Ryb2tlOiAjQTgwMDM2OyBzdHJva2Utd2lkdGg6IDEuMDsiIHgxPSIzMS41IiB4Mj0iMjU4LjUiIHkxPSI2NS43OTg4IiB5Mj0iNjUuNzk4OCIvPjx0ZXh0IGZpbGw9IiMwMDAwMDAiIGZvbnQtZmFtaWx5PSJzYW5zLXNlcmlmIiBmb250LXNpemU9IjEzIiBsZW5ndGhBZGp1c3Q9InNwYWNpbmdBbmRHbHlwaHMiIHRleHRMZW5ndGg9IjE0NyIgeD0iMzguNSIgeT0iNjEuMDU2NiI+QXV0aGVudGljYXRpb24gUmVxdWVzdDwvdGV4dD48cG9seWdvbiBmaWxsPSIjQTgwMDM2IiBwb2ludHM9IjQyLjUsOTEuMTA5NCwzMi41LDk1LjEwOTQsNDIuNSw5OS4xMDk0LDM4LjUsOTUuMTA5NCIgc3R5bGU9InN0cm9rZTogI0E4MDAzNjsgc3Ryb2tlLXdpZHRoOiAxLjA7Ii8+PGxpbmUgc3R5bGU9InN0cm9rZTogI0E4MDAzNjsgc3Ryb2tlLXdpZHRoOiAxLjA7IHN0cm9rZS1kYXNoYXJyYXk6IDIuMCwyLjA7IiB4MT0iMzYuNSIgeDI9IjI2My41IiB5MT0iOTUuMTA5NCIgeTI9Ijk1LjEwOTQiLz48dGV4dCBmaWxsPSIjMDAwMDAwIiBmb250LWZhbWlseT0ic2Fucy1zZXJpZiIgZm9udC1zaXplPSIxMyIgbGVuZ3RoQWRqdXN0PSJzcGFjaW5nQW5kR2x5cGhzIiB0ZXh0TGVuZ3RoPSIxNTciIHg9IjQ4LjUiIHk9IjkwLjM2NzIiPkF1dGhlbnRpY2F0aW9uIFJlc3BvbnNlPC90ZXh0Pjxwb2x5Z29uIGZpbGw9IiNBODAwMzYiIHBvaW50cz0iMjUyLjUsMTIwLjQxOTksMjYyLjUsMTI0LjQxOTksMjUyLjUsMTI4LjQxOTksMjU2LjUsMTI0LjQxOTkiIHN0eWxlPSJzdHJva2U6ICNBODAwMzY7IHN0cm9rZS13aWR0aDogMS4wOyIvPjxsaW5lIHN0eWxlPSJzdHJva2U6ICNBODAwMzY7IHN0cm9rZS13aWR0aDogMS4wOyIgeDE9IjMxLjUiIHgyPSIyNTguNSIgeTE9IjEyNC40MTk5IiB5Mj0iMTI0LjQxOTkiLz48dGV4dCBmaWxsPSIjMDAwMDAwIiBmb250LWZhbWlseT0ic2Fucy1zZXJpZiIgZm9udC1zaXplPSIxMyIgbGVuZ3RoQWRqdXN0PSJzcGFjaW5nQW5kR2x5cGhzIiB0ZXh0TGVuZ3RoPSIxOTkiIHg9IjM4LjUiIHk9IjExOS42Nzc3Ij5Bbm90aGVyIGF1dGhlbnRpY2F0aW9uIFJlcXVlc3Q8L3RleHQ+PHBvbHlnb24gZmlsbD0iI0E4MDAzNiIgcG9pbnRzPSI0Mi41LDE0OS43MzA1LDMyLjUsMTUzLjczMDUsNDIuNSwxNTcuNzMwNSwzOC41LDE1My43MzA1IiBzdHlsZT0ic3Ryb2tlOiAjQTgwMDM2OyBzdHJva2Utd2lkdGg6IDEuMDsiLz48bGluZSBzdHlsZT0ic3Ryb2tlOiAjQTgwMDM2OyBzdHJva2Utd2lkdGg6IDEuMDsgc3Ryb2tlLWRhc2hhcnJheTogMi4wLDIuMDsiIHgxPSIzNi41IiB4Mj0iMjYzLjUiIHkxPSIxNTMuNzMwNSIgeTI9IjE1My43MzA1Ii8+PHRleHQgZmlsbD0iIzAwMDAwMCIgZm9udC1mYW1pbHk9InNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTMiIGxlbmd0aEFkanVzdD0ic3BhY2luZ0FuZEdseXBocyIgdGV4dExlbmd0aD0iMjA5IiB4PSI0OC41IiB5PSIxNDguOTg4MyI+QW5vdGhlciBhdXRoZW50aWNhdGlvbiBSZXNwb25zZTwvdGV4dD48IS0tTUQ1PVs3ZjNlNGQwYzkwMWVmZGJjNTdlYjQ0MjQ5YTNiODE5N10KQHN0YXJ0dW1sDQpza2lucGFyYW0gc2hhZG93aW5nIGZhbHNlDQpBbGljZSAtPiBCb2I6IEF1dGhlbnRpY2F0aW9uIFJlcXVlc3QNCkJvYiAtIC0+IEFsaWNlOiBBdXRoZW50aWNhdGlvbiBSZXNwb25zZQ0KDQpBbGljZSAtPiBCb2I6IEFub3RoZXIgYXV0aGVudGljYXRpb24gUmVxdWVzdA0KQWxpY2UgPC0gLSBCb2I6IEFub3RoZXIgYXV0aGVudGljYXRpb24gUmVzcG9uc2UNCkBlbmR1bWwNCgpQbGFudFVNTCB2ZXJzaW9uIDEuMjAyMC4wMihTdW4gTWFyIDAxIDA0OjIyOjA3IENTVCAyMDIwKQooTUlUIHNvdXJjZSBkaXN0cmlidXRpb24pCkphdmEgUnVudGltZTogT3BlbkpESyBSdW50aW1lIEVudmlyb25tZW50CkpWTTogT3BlbkpESyA2NC1CaXQgU2VydmVyIFZNCkphdmEgVmVyc2lvbjogMTIrMzMKT3BlcmF0aW5nIFN5c3RlbTogTWFjIE9TIFgKRGVmYXVsdCBFbmNvZGluZzogVVRGLTgKTGFuZ3VhZ2U6IGVuCkNvdW50cnk6IFVTCi0tPjwvZz48L3N2Zz4=", -295,212)},200):b.generatePlantUmlImage(q,J,function(U,T,V){b.spinner.stop();z(q,J,U,T,V)},function(U){b.handleError(U)})}}else if("mermaid"==p)b.spinner.spin(document.body,mxResources.get("inserting"))&&(B=b.editor.graph,b.generateMermaidImage(q,J,function(U,T,V){m=mxEvent.isAltDown(A)?m:B.getCenterInsertPoint(new mxRectangle(0,0,T,V));b.spinner.stop();var W=null;B.getModel().beginUpdate();try{W=B.insertVertex(null,null,null,m.x,m.y,T,V,"shape=image;noLabel=1;verticalAlign=top;imageAspect=1;image="+ -U+";"),B.setAttributeForCell(W,"mermaidData",JSON.stringify({data:q,config:EditorUi.defaultMermaidConfig},null,2))}finally{B.getModel().endUpdate()}null!=W&&(B.setSelectionCell(W),B.scrollCellToVisible(W))},function(U){b.handleError(U)}));else if("table"==p){p=null;for(var M=[],v=0,u={},G=0;G");2<=Q.length&&(F=L(Q[0]),K=L(Q[Q.length-1]),Q=new mxCell(2 Bob: Authentication Request\nBob --\x3e Alice: Authentication Response\n\nAlice -> Bob: Another authentication Request\nAlice <-- Bob: Another authentication Response\n@enduml": -"plantUmlSvg"==y.value||"plantUmlTxt"==y.value?"@startuml\nskinparam shadowing false\nAlice -> Bob: Authentication Request\nBob --\x3e Alice: Authentication Response\n\nAlice -> Bob: Another authentication Request\nAlice <-- Bob: Another authentication Response\n@enduml":";Example:\na->b\nb->edge label->c\nc->a\n"}var m=b.editor.graph.getFreeInsertPoint();e=document.createElement("div");e.style.textAlign="right";var x=document.createElement("textarea");x.style.boxSizing="border-box";x.style.resize= -"none";x.style.width="100%";x.style.height="354px";x.style.marginBottom="16px";var y=document.createElement("select");if("formatSql"==f||"mermaid"==f)y.style.display="none";var D=document.createElement("option");D.setAttribute("value","list");mxUtils.write(D,mxResources.get("list"));"plantUml"!=f&&y.appendChild(D);null!=f&&"fromText"!=f||D.setAttribute("selected","selected");D=document.createElement("option");D.setAttribute("value","table");mxUtils.write(D,mxResources.get("formatSql"));"formatSql"== -f&&(y.appendChild(D),D.setAttribute("selected","selected"));D=document.createElement("option");D.setAttribute("value","mermaid");mxUtils.write(D,mxResources.get("formatSql"));"mermaid"==f&&(y.appendChild(D),D.setAttribute("selected","selected"));D=document.createElement("option");D.setAttribute("value","diagram");mxUtils.write(D,mxResources.get("diagram"));var d=document.createElement("option");d.setAttribute("value","circle");mxUtils.write(d,mxResources.get("circle"));var g=document.createElement("option"); -g.setAttribute("value","horizontalFlow");mxUtils.write(g,mxResources.get("horizontalFlow"));var k=document.createElement("option");k.setAttribute("value","verticalFlow");mxUtils.write(k,mxResources.get("verticalFlow"));"plantUml"!=f&&(y.appendChild(D),y.appendChild(d),y.appendChild(g),y.appendChild(k));D=document.createElement("option");D.setAttribute("value","plantUmlSvg");mxUtils.write(D,mxResources.get("plantUml")+" ("+mxResources.get("formatSvg")+")");"plantUml"==f&&D.setAttribute("selected", -"selected");d=document.createElement("option");d.setAttribute("value","plantUmlPng");mxUtils.write(d,mxResources.get("plantUml")+" ("+mxResources.get("formatPng")+")");g=document.createElement("option");g.setAttribute("value","plantUmlTxt");mxUtils.write(g,mxResources.get("plantUml")+" ("+mxResources.get("text")+")");EditorUi.enablePlantUml&&Graph.fileSupport&&!b.isOffline()&&"plantUml"==f&&(y.appendChild(D),y.appendChild(d),y.appendChild(g));var n=l();x.value=n;e.appendChild(x);this.init=function(){x.focus()}; -Graph.fileSupport&&(x.addEventListener("dragover",function(q){q.stopPropagation();q.preventDefault()},!1),x.addEventListener("drop",function(q){q.stopPropagation();q.preventDefault();if(0=Va.getStatus()&&(Ja=Va.getText());Ta(Ja,Na)}))):Ta(Ja,Na)}function Aa(La,Ta,Va){if(null!=La&&mxUtils.isAncestorNode(document.body,qa)){La=mxUtils.parseXml(La);La=Editor.parseDiagramNode(La.documentElement);var Wa=new mxCodec(La.ownerDocument),$a=new mxGraphModel; -Wa.decode(La,$a);La=$a.root.getChildAt(0).children;b.sidebar.createTooltip(qa,La,Math.min((window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)-80,1E3),Math.min((window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight)-80,800),null!=ra?mxResources.get(ra,null,ra):null,!0,new mxPoint(Ta,Va),!0,function(){Ua=null!=b.sidebar.tooltip&&"none"!=b.sidebar.tooltip.style.display;M(qa,null,null,ka,da,oa)},!0,!1)}}function ua(La,Ta){null==ka||Ra|| -b.sidebar.currentElt==qa?b.sidebar.hideTooltip():(b.sidebar.hideTooltip(),null!=Ka?(Ta=''+Graph.compress('')+"",Aa(Ta,mxEvent.getClientX(La),mxEvent.getClientY(La))):(b.sidebar.currentElt= -qa,Ra=!0,Ca(ka,function(Va){Ra&&b.sidebar.currentElt==qa&&Aa(Va,mxEvent.getClientX(La),mxEvent.getClientY(La));Ra=!1})))}var qa=document.createElement("div");qa.className="geTemplate geAdaptiveAsset";qa.style.position="relative";qa.style.height=Fa+"px";qa.style.width=Ga+"px";var Ja=null,Na=ka;null!=ra?qa.setAttribute("title",mxResources.get(ra,null,ra)):null!=wa&&0=ba.scrollHeight&&(B(),mxEvent.consume(ua))})); -if(0(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth);f=null!=f?f:!0;l=null!=l?l:!1;x=null!=x?x:"#ebf2f9";y=null!=y?y:Editor.isDarkMode()?"#a2a2a2":"#e6eff8";D=null!=D?D:Editor.isDarkMode()?"1px dashed #00a8ff":"1px solid #ccd9ea";g=null!=g?g:EditorUi.templateFile;var I=document.createElement("div"); -I.style.userSelect="none";I.style.height="100%";var F=document.createElement("div");F.style.whiteSpace="nowrap";F.style.height="46px";f&&I.appendChild(F);var L=document.createElement("img");L.setAttribute("border","0");L.setAttribute("align","absmiddle");L.style.width="40px";L.style.height="40px";L.style.marginRight="10px";L.style.paddingBottom="4px";L.src=b.mode==App.MODE_GOOGLE?IMAGE_PATH+"/google-drive-logo.svg":b.mode==App.MODE_DROPBOX?IMAGE_PATH+"/dropbox-logo.svg":b.mode==App.MODE_ONEDRIVE? -IMAGE_PATH+"/onedrive-logo.svg":b.mode==App.MODE_GITHUB?IMAGE_PATH+"/github-logo.svg":b.mode==App.MODE_GITLAB?IMAGE_PATH+"/gitlab-logo.svg":b.mode==App.MODE_TRELLO?IMAGE_PATH+"/trello-logo.svg":b.mode==App.MODE_BROWSER?IMAGE_PATH+"/osa_database.png":IMAGE_PATH+"/osa_drive-harddisk.png";e||G||!f||F.appendChild(L);f&&mxUtils.write(F,(G?mxResources.get("name"):null==b.mode||b.mode==App.MODE_GOOGLE||b.mode==App.MODE_BROWSER?mxResources.get("diagramName"):mxResources.get("filename"))+":");L=".drawio"; -b.mode==App.MODE_GOOGLE&&null!=b.drive?L=b.drive.extension:b.mode==App.MODE_DROPBOX&&null!=b.dropbox?L=b.dropbox.extension:b.mode==App.MODE_ONEDRIVE&&null!=b.oneDrive?L=b.oneDrive.extension:b.mode==App.MODE_GITHUB&&null!=b.gitHub?L=b.gitHub.extension:b.mode==App.MODE_GITLAB&&null!=b.gitLab?L=b.gitLab.extension:b.mode==App.MODE_TRELLO&&null!=b.trello&&(L=b.trello.extension);var K=document.createElement("input");K.setAttribute("value",b.defaultFilename+L);K.style.marginLeft="10px";K.style.width=e|| -G?"144px":"244px";this.init=function(){f&&(K.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?K.select():document.execCommand("selectAll",!1,null));null!=ba.parentNode&&null!=ba.parentNode.parentNode&&mxEvent.addGestureListeners(ba.parentNode.parentNode,mxUtils.bind(this,function(ka){b.sidebar.hideTooltip()}),null,null)};f&&(F.appendChild(K),z?K.style.width=e||G?"350px":"450px":(null!=b.editor.diagramFileTypes&&(z=FilenameDialog.createFileTypes(b,K,b.editor.diagramFileTypes),z.style.marginLeft= -"6px",z.style.width=e||G?"80px":"180px",F.appendChild(z)),null!=b.editor.fileExtensions&&(G=FilenameDialog.createTypeHint(b,K,b.editor.fileExtensions),G.style.marginTop="12px",F.appendChild(G))));F=!1;var H=0,Q=new Spinner({lines:12,length:10,width:5,radius:10,rotate:0,color:"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"40%",zIndex:2E9}),U=mxUtils.button(A||mxResources.get("create"),function(){U.setAttribute("disabled","disabled");J();U.removeAttribute("disabled")});U.className="geBtn gePrimaryBtn"; -if(k||n){var T=[],V=null,W=null,t=null,C=function(ka){U.setAttribute("disabled","disabled");for(var ta=0;tae.lastIndexOf(".")&&0>R){C=null!=C?C:I.value;var O="";C==App.MODE_GOOGLE?O=b.drive.extension:C==App.MODE_GITHUB?O=b.gitHub.extension:C==App.MODE_GITLAB?O=b.gitLab.extension:C==App.MODE_TRELLO?O=b.trello.extension:C==App.MODE_DROPBOX?O=b.dropbox.extension:C==App.MODE_ONEDRIVE?O=b.oneDrive.extension:C==App.MODE_DEVICE&& -(O=".drawio");0<=R&&(N=N.substring(0,R));M.value=N+O}}B(K)})}var U=document.createElement("a");U.style.overflow="hidden";var T=document.createElement("img");T.src=F;T.setAttribute("border","0");T.setAttribute("align","absmiddle");T.style.width="60px";T.style.height="60px";T.style.paddingBottom="6px";U.style.display="inline-block";U.className="geBaseButton";U.style.position="relative";U.style.margin="4px";U.style.padding="8px 8px 10px 8px";U.style.whiteSpace="nowrap";U.appendChild(T);U.style.color= -"gray";U.style.fontSize="11px";var V=document.createElement("div");U.appendChild(V);mxUtils.write(V,L);if(null!=H&&null==b[H]){T.style.visibility="hidden";mxUtils.setOpacity(V,10);var W=new Spinner({lines:12,length:12,width:5,radius:10,rotate:0,color:"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"40%",zIndex:2E9});W.spin(U);var t=window.setTimeout(function(){null==b[H]&&(W.stop(),U.style.display="none")},3E4);b.addListener("clientLoaded",mxUtils.bind(this,function(){null!=b[H]&&(window.clearTimeout(t), -mxUtils.setOpacity(V,100),T.style.visibility="",W.stop(),Q())}))}else Q();u.appendChild(U);++G==k&&(mxUtils.br(u),G=0)}function B(F){var L=M.value;if(null==F||null!=L&&0'],{type:"text/html"})});navigator.clipboard.write([F]).then(mxUtils.bind(this,function(){b.alert(mxResources.get("copiedToClipboard"))}))["catch"](mxUtils.bind(this,function(L){b.handleError(L)}))}), -A.style.marginTop="6px",A.className="geBtn");D&&Editor.popupsAllowed&&(l.style.cursor="pointer",mxEvent.addGestureListeners(l,null,null,function(F){mxEvent.isPopupTrigger(F)||B("_blank")}))}mxUtils.br(m);var u=document.createElement("div");u.style.textAlign="center";var G=0;u.style.marginTop="6px";m.appendChild(u);var I=document.createElement("select");I.style.marginLeft="10px";b.isOfflineApp()||b.isOffline()||("function"===typeof window.DriveClient&&(n=document.createElement("option"),n.setAttribute("value", -App.MODE_GOOGLE),mxUtils.write(n,mxResources.get("googleDrive")),I.appendChild(n),z(IMAGE_PATH+"/google-drive-logo.svg",mxResources.get("googleDrive"),App.MODE_GOOGLE,"drive")),"function"===typeof window.OneDriveClient&&(n=document.createElement("option"),n.setAttribute("value",App.MODE_ONEDRIVE),mxUtils.write(n,mxResources.get("oneDrive")),I.appendChild(n),b.mode==App.MODE_ONEDRIVE&&n.setAttribute("selected","selected"),z(IMAGE_PATH+"/onedrive-logo.svg",mxResources.get("oneDrive"),App.MODE_ONEDRIVE, -"oneDrive")),"function"===typeof window.DropboxClient&&(n=document.createElement("option"),n.setAttribute("value",App.MODE_DROPBOX),mxUtils.write(n,mxResources.get("dropbox")),I.appendChild(n),b.mode==App.MODE_DROPBOX&&n.setAttribute("selected","selected"),z(IMAGE_PATH+"/dropbox-logo.svg",mxResources.get("dropbox"),App.MODE_DROPBOX,"dropbox")),null!=b.gitHub&&(n=document.createElement("option"),n.setAttribute("value",App.MODE_GITHUB),mxUtils.write(n,mxResources.get("github")),I.appendChild(n),z(IMAGE_PATH+ -"/github-logo.svg",mxResources.get("github"),App.MODE_GITHUB,"gitHub")),null!=b.gitLab&&(n=document.createElement("option"),n.setAttribute("value",App.MODE_GITLAB),mxUtils.write(n,mxResources.get("gitlab")),I.appendChild(n),z(IMAGE_PATH+"/gitlab-logo.svg",mxResources.get("gitlab"),App.MODE_GITLAB,"gitLab")),"function"===typeof window.TrelloClient&&(n=document.createElement("option"),n.setAttribute("value",App.MODE_TRELLO),mxUtils.write(n,mxResources.get("trello")),I.appendChild(n),z(IMAGE_PATH+"/trello-logo.svg", -mxResources.get("trello"),App.MODE_TRELLO,"trello")));if(!Editor.useLocalStorage||"device"==urlParams.storage||null!=b.getCurrentFile()&&"1"!=urlParams.noDevice)n=document.createElement("option"),n.setAttribute("value",App.MODE_DEVICE),mxUtils.write(n,mxResources.get("device")),I.appendChild(n),b.mode!=App.MODE_DEVICE&&y||n.setAttribute("selected","selected"),g&&z(IMAGE_PATH+"/osa_drive-harddisk.png",mxResources.get("device"),App.MODE_DEVICE);y&&isLocalStorage&&"0"!=urlParams.browser&&(y=document.createElement("option"), -y.setAttribute("value",App.MODE_BROWSER),mxUtils.write(y,mxResources.get("browser")),I.appendChild(y),b.mode==App.MODE_BROWSER&&y.setAttribute("selected","selected"),z(IMAGE_PATH+"/osa_database.png",mxResources.get("browser"),App.MODE_BROWSER));y=document.createElement("div");y.style.marginTop="26px";y.style.textAlign="center";null!=d&&(g=mxUtils.button(mxResources.get("help"),function(){b.openLink(d)}),g.className="geBtn",y.appendChild(g));g=mxUtils.button(mxResources.get(null!=c?"close":"cancel"), -function(){null!=c?c():(b.fileLoaded(null),b.hideDialog(),window.close(),window.location.href=b.getUrl())});g.className="geBtn";b.editor.cancelFirst&&null==c&&y.appendChild(g);null==c&&(n=mxUtils.button(mxResources.get("decideLater"),function(){B(null)}),n.className="geBtn",y.appendChild(n));D&&Editor.popupsAllowed&&(D=mxUtils.button(mxResources.get("openInNewWindow"),function(){B("_blank")}),D.className="geBtn",y.appendChild(D));CreateDialog.showDownloadButton&&(D=mxUtils.button(mxResources.get("download"), -function(){B("download")}),D.className="geBtn",y.appendChild(D),null!=A&&(D.style.marginTop="6px",y.style.marginTop="6px"));null!=A&&(mxUtils.br(y),y.appendChild(A));b.editor.cancelFirst&&null==c||y.appendChild(g);mxEvent.addListener(M,"keypress",function(F){13==F.keyCode?B(App.MODE_DEVICE):27==F.keyCode&&(b.fileLoaded(null),b.hideDialog(),window.close())});m.appendChild(y);this.container=m};CreateDialog.showDownloadButton="1"!=urlParams.noDevice; -var PopupDialog=function(b,e,f,c,l){l=null!=l?l:!0;var m=document.createElement("div");m.style.textAlign="left";m.style.height="100%";mxUtils.write(m,mxResources.get("fileOpenLocation"));mxUtils.br(m);mxUtils.br(m);var x=mxUtils.button(mxResources.get("openInThisWindow"),function(){l&&b.hideDialog();null!=c&&c()});x.className="geBtn";x.style.marginBottom="8px";x.style.width="280px";m.appendChild(x);mxUtils.br(m);var y=mxUtils.button(mxResources.get("openInNewWindow"),function(){l&&b.hideDialog(); -null!=f&&f();b.openLink(e,null,!0)});y.className="geBtn gePrimaryBtn";y.style.width=x.style.width;m.appendChild(y);mxUtils.br(m);mxUtils.br(m);mxUtils.write(m,mxResources.get("allowPopups"));this.container=m},ImageDialog=function(b,e,f,c,l,m,x,y){function D(){0 Bob: Authentication Request\nBob --\x3e Alice: Authentication Response\n\nAlice -> Bob: Another authentication Request\nAlice <-- Bob: Another authentication Response\n@enduml"== +q&&"svg"==I?window.setTimeout(function(){b.spinner.stop();C(q,I,"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBjb250ZW50U2NyaXB0VHlwZT0iYXBwbGljYXRpb24vZWNtYXNjcmlwdCIgY29udGVudFN0eWxlVHlwZT0idGV4dC9jc3MiIGhlaWdodD0iMjEycHgiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHN0eWxlPSJ3aWR0aDoyOTVweDtoZWlnaHQ6MjEycHg7IiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAyOTUgMjEyIiB3aWR0aD0iMjk1cHgiIHpvb21BbmRQYW49Im1hZ25pZnkiPjxkZWZzLz48Zz48bGluZSBzdHlsZT0ic3Ryb2tlOiAjQTgwMDM2OyBzdHJva2Utd2lkdGg6IDEuMDsgc3Ryb2tlLWRhc2hhcnJheTogNS4wLDUuMDsiIHgxPSIzMSIgeDI9IjMxIiB5MT0iMzQuNDg4MyIgeTI9IjE3MS43MzA1Ii8+PGxpbmUgc3R5bGU9InN0cm9rZTogI0E4MDAzNjsgc3Ryb2tlLXdpZHRoOiAxLjA7IHN0cm9rZS1kYXNoYXJyYXk6IDUuMCw1LjA7IiB4MT0iMjY0LjUiIHgyPSIyNjQuNSIgeTE9IjM0LjQ4ODMiIHkyPSIxNzEuNzMwNSIvPjxyZWN0IGZpbGw9IiNGRUZFQ0UiIGhlaWdodD0iMzAuNDg4MyIgc3R5bGU9InN0cm9rZTogI0E4MDAzNjsgc3Ryb2tlLXdpZHRoOiAxLjU7IiB3aWR0aD0iNDciIHg9IjgiIHk9IjMiLz48dGV4dCBmaWxsPSIjMDAwMDAwIiBmb250LWZhbWlseT0ic2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNCIgbGVuZ3RoQWRqdXN0PSJzcGFjaW5nQW5kR2x5cGhzIiB0ZXh0TGVuZ3RoPSIzMyIgeD0iMTUiIHk9IjIzLjUzNTIiPkFsaWNlPC90ZXh0PjxyZWN0IGZpbGw9IiNGRUZFQ0UiIGhlaWdodD0iMzAuNDg4MyIgc3R5bGU9InN0cm9rZTogI0E4MDAzNjsgc3Ryb2tlLXdpZHRoOiAxLjU7IiB3aWR0aD0iNDciIHg9IjgiIHk9IjE3MC43MzA1Ii8+PHRleHQgZmlsbD0iIzAwMDAwMCIgZm9udC1mYW1pbHk9InNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTQiIGxlbmd0aEFkanVzdD0ic3BhY2luZ0FuZEdseXBocyIgdGV4dExlbmd0aD0iMzMiIHg9IjE1IiB5PSIxOTEuMjY1NiI+QWxpY2U8L3RleHQ+PHJlY3QgZmlsbD0iI0ZFRkVDRSIgaGVpZ2h0PSIzMC40ODgzIiBzdHlsZT0ic3Ryb2tlOiAjQTgwMDM2OyBzdHJva2Utd2lkdGg6IDEuNTsiIHdpZHRoPSI0MCIgeD0iMjQ0LjUiIHk9IjMiLz48dGV4dCBmaWxsPSIjMDAwMDAwIiBmb250LWZhbWlseT0ic2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNCIgbGVuZ3RoQWRqdXN0PSJzcGFjaW5nQW5kR2x5cGhzIiB0ZXh0TGVuZ3RoPSIyNiIgeD0iMjUxLjUiIHk9IjIzLjUzNTIiPkJvYjwvdGV4dD48cmVjdCBmaWxsPSIjRkVGRUNFIiBoZWlnaHQ9IjMwLjQ4ODMiIHN0eWxlPSJzdHJva2U6ICNBODAwMzY7IHN0cm9rZS13aWR0aDogMS41OyIgd2lkdGg9IjQwIiB4PSIyNDQuNSIgeT0iMTcwLjczMDUiLz48dGV4dCBmaWxsPSIjMDAwMDAwIiBmb250LWZhbWlseT0ic2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNCIgbGVuZ3RoQWRqdXN0PSJzcGFjaW5nQW5kR2x5cGhzIiB0ZXh0TGVuZ3RoPSIyNiIgeD0iMjUxLjUiIHk9IjE5MS4yNjU2Ij5Cb2I8L3RleHQ+PHBvbHlnb24gZmlsbD0iI0E4MDAzNiIgcG9pbnRzPSIyNTIuNSw2MS43OTg4LDI2Mi41LDY1Ljc5ODgsMjUyLjUsNjkuNzk4OCwyNTYuNSw2NS43OTg4IiBzdHlsZT0ic3Ryb2tlOiAjQTgwMDM2OyBzdHJva2Utd2lkdGg6IDEuMDsiLz48bGluZSBzdHlsZT0ic3Ryb2tlOiAjQTgwMDM2OyBzdHJva2Utd2lkdGg6IDEuMDsiIHgxPSIzMS41IiB4Mj0iMjU4LjUiIHkxPSI2NS43OTg4IiB5Mj0iNjUuNzk4OCIvPjx0ZXh0IGZpbGw9IiMwMDAwMDAiIGZvbnQtZmFtaWx5PSJzYW5zLXNlcmlmIiBmb250LXNpemU9IjEzIiBsZW5ndGhBZGp1c3Q9InNwYWNpbmdBbmRHbHlwaHMiIHRleHRMZW5ndGg9IjE0NyIgeD0iMzguNSIgeT0iNjEuMDU2NiI+QXV0aGVudGljYXRpb24gUmVxdWVzdDwvdGV4dD48cG9seWdvbiBmaWxsPSIjQTgwMDM2IiBwb2ludHM9IjQyLjUsOTEuMTA5NCwzMi41LDk1LjEwOTQsNDIuNSw5OS4xMDk0LDM4LjUsOTUuMTA5NCIgc3R5bGU9InN0cm9rZTogI0E4MDAzNjsgc3Ryb2tlLXdpZHRoOiAxLjA7Ii8+PGxpbmUgc3R5bGU9InN0cm9rZTogI0E4MDAzNjsgc3Ryb2tlLXdpZHRoOiAxLjA7IHN0cm9rZS1kYXNoYXJyYXk6IDIuMCwyLjA7IiB4MT0iMzYuNSIgeDI9IjI2My41IiB5MT0iOTUuMTA5NCIgeTI9Ijk1LjEwOTQiLz48dGV4dCBmaWxsPSIjMDAwMDAwIiBmb250LWZhbWlseT0ic2Fucy1zZXJpZiIgZm9udC1zaXplPSIxMyIgbGVuZ3RoQWRqdXN0PSJzcGFjaW5nQW5kR2x5cGhzIiB0ZXh0TGVuZ3RoPSIxNTciIHg9IjQ4LjUiIHk9IjkwLjM2NzIiPkF1dGhlbnRpY2F0aW9uIFJlc3BvbnNlPC90ZXh0Pjxwb2x5Z29uIGZpbGw9IiNBODAwMzYiIHBvaW50cz0iMjUyLjUsMTIwLjQxOTksMjYyLjUsMTI0LjQxOTksMjUyLjUsMTI4LjQxOTksMjU2LjUsMTI0LjQxOTkiIHN0eWxlPSJzdHJva2U6ICNBODAwMzY7IHN0cm9rZS13aWR0aDogMS4wOyIvPjxsaW5lIHN0eWxlPSJzdHJva2U6ICNBODAwMzY7IHN0cm9rZS13aWR0aDogMS4wOyIgeDE9IjMxLjUiIHgyPSIyNTguNSIgeTE9IjEyNC40MTk5IiB5Mj0iMTI0LjQxOTkiLz48dGV4dCBmaWxsPSIjMDAwMDAwIiBmb250LWZhbWlseT0ic2Fucy1zZXJpZiIgZm9udC1zaXplPSIxMyIgbGVuZ3RoQWRqdXN0PSJzcGFjaW5nQW5kR2x5cGhzIiB0ZXh0TGVuZ3RoPSIxOTkiIHg9IjM4LjUiIHk9IjExOS42Nzc3Ij5Bbm90aGVyIGF1dGhlbnRpY2F0aW9uIFJlcXVlc3Q8L3RleHQ+PHBvbHlnb24gZmlsbD0iI0E4MDAzNiIgcG9pbnRzPSI0Mi41LDE0OS43MzA1LDMyLjUsMTUzLjczMDUsNDIuNSwxNTcuNzMwNSwzOC41LDE1My43MzA1IiBzdHlsZT0ic3Ryb2tlOiAjQTgwMDM2OyBzdHJva2Utd2lkdGg6IDEuMDsiLz48bGluZSBzdHlsZT0ic3Ryb2tlOiAjQTgwMDM2OyBzdHJva2Utd2lkdGg6IDEuMDsgc3Ryb2tlLWRhc2hhcnJheTogMi4wLDIuMDsiIHgxPSIzNi41IiB4Mj0iMjYzLjUiIHkxPSIxNTMuNzMwNSIgeTI9IjE1My43MzA1Ii8+PHRleHQgZmlsbD0iIzAwMDAwMCIgZm9udC1mYW1pbHk9InNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTMiIGxlbmd0aEFkanVzdD0ic3BhY2luZ0FuZEdseXBocyIgdGV4dExlbmd0aD0iMjA5IiB4PSI0OC41IiB5PSIxNDguOTg4MyI+QW5vdGhlciBhdXRoZW50aWNhdGlvbiBSZXNwb25zZTwvdGV4dD48IS0tTUQ1PVs3ZjNlNGQwYzkwMWVmZGJjNTdlYjQ0MjQ5YTNiODE5N10KQHN0YXJ0dW1sDQpza2lucGFyYW0gc2hhZG93aW5nIGZhbHNlDQpBbGljZSAtPiBCb2I6IEF1dGhlbnRpY2F0aW9uIFJlcXVlc3QNCkJvYiAtIC0+IEFsaWNlOiBBdXRoZW50aWNhdGlvbiBSZXNwb25zZQ0KDQpBbGljZSAtPiBCb2I6IEFub3RoZXIgYXV0aGVudGljYXRpb24gUmVxdWVzdA0KQWxpY2UgPC0gLSBCb2I6IEFub3RoZXIgYXV0aGVudGljYXRpb24gUmVzcG9uc2UNCkBlbmR1bWwNCgpQbGFudFVNTCB2ZXJzaW9uIDEuMjAyMC4wMihTdW4gTWFyIDAxIDA0OjIyOjA3IENTVCAyMDIwKQooTUlUIHNvdXJjZSBkaXN0cmlidXRpb24pCkphdmEgUnVudGltZTogT3BlbkpESyBSdW50aW1lIEVudmlyb25tZW50CkpWTTogT3BlbkpESyA2NC1CaXQgU2VydmVyIFZNCkphdmEgVmVyc2lvbjogMTIrMzMKT3BlcmF0aW5nIFN5c3RlbTogTWFjIE9TIFgKRGVmYXVsdCBFbmNvZGluZzogVVRGLTgKTGFuZ3VhZ2U6IGVuCkNvdW50cnk6IFVTCi0tPjwvZz48L3N2Zz4=", +295,212)},200):b.generatePlantUmlImage(q,I,function(U,Q,V){b.spinner.stop();C(q,I,U,Q,V)},function(U){b.handleError(U)})}}else if("mermaid"==p)b.spinner.spin(document.body,mxResources.get("inserting"))&&(B=b.editor.graph,b.generateMermaidImage(q,I,function(U,Q,V){m=mxEvent.isAltDown(y)?m:B.getCenterInsertPoint(new mxRectangle(0,0,Q,V));b.spinner.stop();var W=null;B.getModel().beginUpdate();try{W=B.insertVertex(null,null,null,m.x,m.y,Q,V,"shape=image;noLabel=1;verticalAlign=top;imageAspect=1;image="+ +U+";"),B.setAttributeForCell(W,"mermaidData",JSON.stringify({data:q,config:EditorUi.defaultMermaidConfig},null,2))}finally{B.getModel().endUpdate()}null!=W&&(B.setSelectionCell(W),B.scrollCellToVisible(W))},function(U){b.handleError(U)}));else if("table"==p){p=null;for(var M=[],G=0,S={},u=0;u");2<=N.length&&(F=J(N[0]),K=J(N[N.length-1]),N=new mxCell(2 Bob: Authentication Request\nBob --\x3e Alice: Authentication Response\n\nAlice -> Bob: Another authentication Request\nAlice <-- Bob: Another authentication Response\n@enduml": +"plantUmlSvg"==x.value||"plantUmlTxt"==x.value?"@startuml\nskinparam shadowing false\nAlice -> Bob: Authentication Request\nBob --\x3e Alice: Authentication Response\n\nAlice -> Bob: Another authentication Request\nAlice <-- Bob: Another authentication Response\n@enduml":";Example:\na->b\nb->edge label->c\nc->a\n"}var m=b.editor.graph.getFreeInsertPoint();e=document.createElement("div");e.style.textAlign="right";var v=document.createElement("textarea");v.style.boxSizing="border-box";v.style.resize= +"none";v.style.width="100%";v.style.height="354px";v.style.marginBottom="16px";var x=document.createElement("select");if("formatSql"==f||"mermaid"==f)x.style.display="none";var E=document.createElement("option");E.setAttribute("value","list");mxUtils.write(E,mxResources.get("list"));"plantUml"!=f&&x.appendChild(E);null!=f&&"fromText"!=f||E.setAttribute("selected","selected");E=document.createElement("option");E.setAttribute("value","table");mxUtils.write(E,mxResources.get("formatSql"));"formatSql"== +f&&(x.appendChild(E),E.setAttribute("selected","selected"));E=document.createElement("option");E.setAttribute("value","mermaid");mxUtils.write(E,mxResources.get("formatSql"));"mermaid"==f&&(x.appendChild(E),E.setAttribute("selected","selected"));E=document.createElement("option");E.setAttribute("value","diagram");mxUtils.write(E,mxResources.get("diagram"));var d=document.createElement("option");d.setAttribute("value","circle");mxUtils.write(d,mxResources.get("circle"));var g=document.createElement("option"); +g.setAttribute("value","horizontalFlow");mxUtils.write(g,mxResources.get("horizontalFlow"));var k=document.createElement("option");k.setAttribute("value","verticalFlow");mxUtils.write(k,mxResources.get("verticalFlow"));"plantUml"!=f&&(x.appendChild(E),x.appendChild(d),x.appendChild(g),x.appendChild(k));E=document.createElement("option");E.setAttribute("value","plantUmlSvg");mxUtils.write(E,mxResources.get("plantUml")+" ("+mxResources.get("formatSvg")+")");"plantUml"==f&&E.setAttribute("selected", +"selected");d=document.createElement("option");d.setAttribute("value","plantUmlPng");mxUtils.write(d,mxResources.get("plantUml")+" ("+mxResources.get("formatPng")+")");g=document.createElement("option");g.setAttribute("value","plantUmlTxt");mxUtils.write(g,mxResources.get("plantUml")+" ("+mxResources.get("text")+")");EditorUi.enablePlantUml&&Graph.fileSupport&&!b.isOffline()&&"plantUml"==f&&(x.appendChild(E),x.appendChild(d),x.appendChild(g));var n=l();v.value=n;e.appendChild(v);this.init=function(){v.focus()}; +Graph.fileSupport&&(v.addEventListener("dragover",function(q){q.stopPropagation();q.preventDefault()},!1),v.addEventListener("drop",function(q){q.stopPropagation();q.preventDefault();if(0=Va.getStatus()&&(Ha=Va.getText());Ta(Ha,Na)}))):Ta(Ha,Na)}function Ba(Ka,Ta,Va){if(null!=Ka&&mxUtils.isAncestorNode(document.body,sa)){Ka=mxUtils.parseXml(Ka);Ka=Editor.parseDiagramNode(Ka.documentElement);var Wa=new mxCodec(Ka.ownerDocument),$a=new mxGraphModel; +Wa.decode(Ka,$a);Ka=$a.root.getChildAt(0).children;b.sidebar.createTooltip(sa,Ka,Math.min((window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)-80,1E3),Math.min((window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight)-80,800),null!=ca?mxResources.get(ca,null,ca):null,!0,new mxPoint(Ta,Va),!0,function(){Ua=null!=b.sidebar.tooltip&&"none"!=b.sidebar.tooltip.style.display;M(sa,null,null,ka,ha,za)},!0,!1)}}function ua(Ka,Ta){null==ka||Ra|| +b.sidebar.currentElt==sa?b.sidebar.hideTooltip():(b.sidebar.hideTooltip(),null!=Ia?(Ta=''+Graph.compress('')+"",Ba(Ta,mxEvent.getClientX(Ka),mxEvent.getClientY(Ka))):(b.sidebar.currentElt= +sa,Ra=!0,Ea(ka,function(Va){Ra&&b.sidebar.currentElt==sa&&Ba(Va,mxEvent.getClientX(Ka),mxEvent.getClientY(Ka));Ra=!1})))}var sa=document.createElement("div");sa.className="geTemplate geAdaptiveAsset";sa.style.position="relative";sa.style.height=Ga+"px";sa.style.width=Fa+"px";var Ha=null,Na=ka;null!=ca?sa.setAttribute("title",mxResources.get(ca,null,ca)):null!=na&&0=ba.scrollHeight&&(B(),mxEvent.consume(ua))})); +if(0(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth);f=null!=f?f:!0;l=null!=l?l:!1;v=null!=v?v:"#ebf2f9";x=null!=x?x:Editor.isDarkMode()?"#a2a2a2":"#e6eff8";E=null!=E?E:Editor.isDarkMode()?"1px dashed #00a8ff":"1px solid #ccd9ea";g=null!=g?g:EditorUi.templateFile;var z=document.createElement("div"); +z.style.userSelect="none";z.style.height="100%";var F=document.createElement("div");F.style.whiteSpace="nowrap";F.style.height="46px";f&&z.appendChild(F);var J=document.createElement("img");J.setAttribute("border","0");J.setAttribute("align","absmiddle");J.style.width="40px";J.style.height="40px";J.style.marginRight="10px";J.style.paddingBottom="4px";J.src=b.mode==App.MODE_GOOGLE?IMAGE_PATH+"/google-drive-logo.svg":b.mode==App.MODE_DROPBOX?IMAGE_PATH+"/dropbox-logo.svg":b.mode==App.MODE_ONEDRIVE? +IMAGE_PATH+"/onedrive-logo.svg":b.mode==App.MODE_GITHUB?IMAGE_PATH+"/github-logo.svg":b.mode==App.MODE_GITLAB?IMAGE_PATH+"/gitlab-logo.svg":b.mode==App.MODE_TRELLO?IMAGE_PATH+"/trello-logo.svg":b.mode==App.MODE_BROWSER?IMAGE_PATH+"/osa_database.png":IMAGE_PATH+"/osa_drive-harddisk.png";e||u||!f||F.appendChild(J);f&&mxUtils.write(F,(u?mxResources.get("name"):null==b.mode||b.mode==App.MODE_GOOGLE||b.mode==App.MODE_BROWSER?mxResources.get("diagramName"):mxResources.get("filename"))+":");J=".drawio"; +b.mode==App.MODE_GOOGLE&&null!=b.drive?J=b.drive.extension:b.mode==App.MODE_DROPBOX&&null!=b.dropbox?J=b.dropbox.extension:b.mode==App.MODE_ONEDRIVE&&null!=b.oneDrive?J=b.oneDrive.extension:b.mode==App.MODE_GITHUB&&null!=b.gitHub?J=b.gitHub.extension:b.mode==App.MODE_GITLAB&&null!=b.gitLab?J=b.gitLab.extension:b.mode==App.MODE_TRELLO&&null!=b.trello&&(J=b.trello.extension);var K=document.createElement("input");K.setAttribute("value",b.defaultFilename+J);K.style.marginLeft="10px";K.style.width=e|| +u?"144px":"244px";this.init=function(){f&&(K.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?K.select():document.execCommand("selectAll",!1,null));null!=ba.parentNode&&null!=ba.parentNode.parentNode&&mxEvent.addGestureListeners(ba.parentNode.parentNode,mxUtils.bind(this,function(ka){b.sidebar.hideTooltip()}),null,null)};f&&(F.appendChild(K),C?K.style.width=e||u?"350px":"450px":(null!=b.editor.diagramFileTypes&&(C=FilenameDialog.createFileTypes(b,K,b.editor.diagramFileTypes),C.style.marginLeft= +"6px",C.style.width=e||u?"80px":"180px",F.appendChild(C)),null!=b.editor.fileExtensions&&(u=FilenameDialog.createTypeHint(b,K,b.editor.fileExtensions),u.style.marginTop="12px",F.appendChild(u))));F=!1;var H=0,N=new Spinner({lines:12,length:10,width:5,radius:10,rotate:0,color:"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"40%",zIndex:2E9}),U=mxUtils.button(y||mxResources.get("create"),function(){U.setAttribute("disabled","disabled");I();U.removeAttribute("disabled")});U.className="geBtn gePrimaryBtn"; +if(k||n){var Q=[],V=null,W=null,t=null,D=function(ka){U.setAttribute("disabled","disabled");for(var da=0;dae.lastIndexOf(".")&&0>T){D=null!=D?D:z.value;var O="";D==App.MODE_GOOGLE?O=b.drive.extension:D==App.MODE_GITHUB?O=b.gitHub.extension:D==App.MODE_GITLAB?O=b.gitLab.extension:D==App.MODE_TRELLO?O=b.trello.extension:D==App.MODE_DROPBOX?O=b.dropbox.extension:D==App.MODE_ONEDRIVE?O=b.oneDrive.extension:D==App.MODE_DEVICE&& +(O=".drawio");0<=T&&(L=L.substring(0,T));M.value=L+O}}B(K)})}var U=document.createElement("a");U.style.overflow="hidden";var Q=document.createElement("img");Q.src=F;Q.setAttribute("border","0");Q.setAttribute("align","absmiddle");Q.style.width="60px";Q.style.height="60px";Q.style.paddingBottom="6px";U.style.display="inline-block";U.className="geBaseButton";U.style.position="relative";U.style.margin="4px";U.style.padding="8px 8px 10px 8px";U.style.whiteSpace="nowrap";U.appendChild(Q);U.style.color= +"gray";U.style.fontSize="11px";var V=document.createElement("div");U.appendChild(V);mxUtils.write(V,J);if(null!=H&&null==b[H]){Q.style.visibility="hidden";mxUtils.setOpacity(V,10);var W=new Spinner({lines:12,length:12,width:5,radius:10,rotate:0,color:"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"40%",zIndex:2E9});W.spin(U);var t=window.setTimeout(function(){null==b[H]&&(W.stop(),U.style.display="none")},3E4);b.addListener("clientLoaded",mxUtils.bind(this,function(){null!=b[H]&&(window.clearTimeout(t), +mxUtils.setOpacity(V,100),Q.style.visibility="",W.stop(),N())}))}else N();S.appendChild(U);++u==k&&(mxUtils.br(S),u=0)}function B(F){var J=M.value;if(null==F||null!=J&&0'],{type:"text/html"})});navigator.clipboard.write([F]).then(mxUtils.bind(this,function(){b.alert(mxResources.get("copiedToClipboard"))}))["catch"](mxUtils.bind(this,function(J){b.handleError(J)}))}), +y.style.marginTop="6px",y.className="geBtn");E&&Editor.popupsAllowed&&(l.style.cursor="pointer",mxEvent.addGestureListeners(l,null,null,function(F){mxEvent.isPopupTrigger(F)||B("_blank")}))}mxUtils.br(m);var S=document.createElement("div");S.style.textAlign="center";var u=0;S.style.marginTop="6px";m.appendChild(S);var z=document.createElement("select");z.style.marginLeft="10px";b.isOfflineApp()||b.isOffline()||("function"===typeof window.DriveClient&&(n=document.createElement("option"),n.setAttribute("value", +App.MODE_GOOGLE),mxUtils.write(n,mxResources.get("googleDrive")),z.appendChild(n),C(IMAGE_PATH+"/google-drive-logo.svg",mxResources.get("googleDrive"),App.MODE_GOOGLE,"drive")),"function"===typeof window.OneDriveClient&&(n=document.createElement("option"),n.setAttribute("value",App.MODE_ONEDRIVE),mxUtils.write(n,mxResources.get("oneDrive")),z.appendChild(n),b.mode==App.MODE_ONEDRIVE&&n.setAttribute("selected","selected"),C(IMAGE_PATH+"/onedrive-logo.svg",mxResources.get("oneDrive"),App.MODE_ONEDRIVE, +"oneDrive")),"function"===typeof window.DropboxClient&&(n=document.createElement("option"),n.setAttribute("value",App.MODE_DROPBOX),mxUtils.write(n,mxResources.get("dropbox")),z.appendChild(n),b.mode==App.MODE_DROPBOX&&n.setAttribute("selected","selected"),C(IMAGE_PATH+"/dropbox-logo.svg",mxResources.get("dropbox"),App.MODE_DROPBOX,"dropbox")),null!=b.gitHub&&(n=document.createElement("option"),n.setAttribute("value",App.MODE_GITHUB),mxUtils.write(n,mxResources.get("github")),z.appendChild(n),C(IMAGE_PATH+ +"/github-logo.svg",mxResources.get("github"),App.MODE_GITHUB,"gitHub")),null!=b.gitLab&&(n=document.createElement("option"),n.setAttribute("value",App.MODE_GITLAB),mxUtils.write(n,mxResources.get("gitlab")),z.appendChild(n),C(IMAGE_PATH+"/gitlab-logo.svg",mxResources.get("gitlab"),App.MODE_GITLAB,"gitLab")),"function"===typeof window.TrelloClient&&(n=document.createElement("option"),n.setAttribute("value",App.MODE_TRELLO),mxUtils.write(n,mxResources.get("trello")),z.appendChild(n),C(IMAGE_PATH+"/trello-logo.svg", +mxResources.get("trello"),App.MODE_TRELLO,"trello")));if(!Editor.useLocalStorage||"device"==urlParams.storage||null!=b.getCurrentFile()&&"1"!=urlParams.noDevice)n=document.createElement("option"),n.setAttribute("value",App.MODE_DEVICE),mxUtils.write(n,mxResources.get("device")),z.appendChild(n),b.mode!=App.MODE_DEVICE&&x||n.setAttribute("selected","selected"),g&&C(IMAGE_PATH+"/osa_drive-harddisk.png",mxResources.get("device"),App.MODE_DEVICE);x&&isLocalStorage&&"0"!=urlParams.browser&&(x=document.createElement("option"), +x.setAttribute("value",App.MODE_BROWSER),mxUtils.write(x,mxResources.get("browser")),z.appendChild(x),b.mode==App.MODE_BROWSER&&x.setAttribute("selected","selected"),C(IMAGE_PATH+"/osa_database.png",mxResources.get("browser"),App.MODE_BROWSER));x=document.createElement("div");x.style.marginTop="26px";x.style.textAlign="center";null!=d&&(g=mxUtils.button(mxResources.get("help"),function(){b.openLink(d)}),g.className="geBtn",x.appendChild(g));g=mxUtils.button(mxResources.get(null!=c?"close":"cancel"), +function(){null!=c?c():(b.fileLoaded(null),b.hideDialog(),window.close(),window.location.href=b.getUrl())});g.className="geBtn";b.editor.cancelFirst&&null==c&&x.appendChild(g);null==c&&(n=mxUtils.button(mxResources.get("decideLater"),function(){B(null)}),n.className="geBtn",x.appendChild(n));E&&Editor.popupsAllowed&&(E=mxUtils.button(mxResources.get("openInNewWindow"),function(){B("_blank")}),E.className="geBtn",x.appendChild(E));CreateDialog.showDownloadButton&&(E=mxUtils.button(mxResources.get("download"), +function(){B("download")}),E.className="geBtn",x.appendChild(E),null!=y&&(E.style.marginTop="6px",x.style.marginTop="6px"));null!=y&&(mxUtils.br(x),x.appendChild(y));b.editor.cancelFirst&&null==c||x.appendChild(g);mxEvent.addListener(M,"keypress",function(F){13==F.keyCode?B(App.MODE_DEVICE):27==F.keyCode&&(b.fileLoaded(null),b.hideDialog(),window.close())});m.appendChild(x);this.container=m};CreateDialog.showDownloadButton="1"!=urlParams.noDevice; +var PopupDialog=function(b,e,f,c,l){l=null!=l?l:!0;var m=document.createElement("div");m.style.textAlign="left";m.style.height="100%";mxUtils.write(m,mxResources.get("fileOpenLocation"));mxUtils.br(m);mxUtils.br(m);var v=mxUtils.button(mxResources.get("openInThisWindow"),function(){l&&b.hideDialog();null!=c&&c()});v.className="geBtn";v.style.marginBottom="8px";v.style.width="280px";m.appendChild(v);mxUtils.br(m);var x=mxUtils.button(mxResources.get("openInNewWindow"),function(){l&&b.hideDialog(); +null!=f&&f();b.openLink(e,null,!0)});x.className="geBtn gePrimaryBtn";x.style.width=v.style.width;m.appendChild(x);mxUtils.br(m);mxUtils.br(m);mxUtils.write(m,mxResources.get("allowPopups"));this.container=m},ImageDialog=function(b,e,f,c,l,m,v,x){function E(){0FeedbackDialog.maxAttachmentSize?b.alert(mxResources.get("drawingTooLarge")):(b.hideDialog(),b.spinner.spin(document.body)&&mxUtils.post(null!=FeedbackDialog.feedbackUrl?FeedbackDialog.feedbackUrl:"/email","email="+encodeURIComponent(x.value)+"&version="+encodeURIComponent(EditorUi.VERSION)+"&url="+encodeURIComponent(window.location.href)+"&body="+encodeURIComponent((null!=e?e:"Feedback")+ -":\n"+k),function(n){b.spinner.stop();200<=n.getStatus()&&299>=n.getStatus()?b.alert(mxResources.get("feedbackSent")):b.alert(mxResources.get("errorSendingFeedback"))},function(){b.spinner.stop();b.alert(mxResources.get("errorSendingFeedback"))}))});y.className="geBtn gePrimaryBtn";if(!f){y.setAttribute("disabled","disabled");var D=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;mxEvent.addListener(x, -"change",function(){0FeedbackDialog.maxAttachmentSize?b.alert(mxResources.get("drawingTooLarge")):(b.hideDialog(),b.spinner.spin(document.body)&&mxUtils.post(null!=FeedbackDialog.feedbackUrl?FeedbackDialog.feedbackUrl:"/email","email="+encodeURIComponent(v.value)+"&version="+encodeURIComponent(EditorUi.VERSION)+"&url="+encodeURIComponent(window.location.href)+"&body="+encodeURIComponent((null!=e?e:"Feedback")+ +":\n"+k),function(n){b.spinner.stop();200<=n.getStatus()&&299>=n.getStatus()?b.alert(mxResources.get("feedbackSent")):b.alert(mxResources.get("errorSendingFeedback"))},function(){b.spinner.stop();b.alert(mxResources.get("errorSendingFeedback"))}))});x.className="geBtn gePrimaryBtn";if(!f){x.setAttribute("disabled","disabled");var E=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;mxEvent.addListener(v, +"change",function(){0C?V:V.substr(0,C)+t+V.substr(C+W.length);var R=V;W=mxUtils.htmlEntities(W);N=[];var O=-1;for(V=V.replace(/
/ig,"\n");-1<(O=V.indexOf("<",O+1));)N.push(O);O=V.match(/<[^>]*>/g);V=V.replace(/<[^>]*>/g,"");C=V.toLowerCase().indexOf(W,C);if(0>C)return R;R=C+W.length;t=mxUtils.htmlEntities(t);V=V.substr(0,C)+t+V.substr(R);for(var P=0,S=0;S")},Q=mxUtils.button(mxResources.get("replFind"),function(){try{if(null!=A&&null!=n&&v.value){var V=n.cell,W=g.getLabel(V);g.isCellEditable(V)&&g.model.setValue(V,H(W,A,v.value,E-A.length,g.getCurrentCellStyle(V)));M.style.backgroundColor=D(!1,!0)?"":Editor.isDarkMode()?"#ff0000":"#ffcfcf"}}catch(t){b.handleError(t)}});Q.setAttribute("title",mxResources.get("replFind"));Q.style.float="none";Q.style.width="120px";Q.style.marginTop="6px";Q.style.marginLeft="8px";Q.style.overflow="hidden";Q.style.textOverflow= -"ellipsis";Q.className="geBtn gePrimaryBtn";Q.setAttribute("disabled","disabled");J.appendChild(Q);mxUtils.br(J);var U=mxUtils.button(mxResources.get("replace"),function(){try{if(null!=A&&null!=n&&v.value){var V=n.cell,W=g.getLabel(V);g.model.setValue(V,H(W,A,v.value,E-A.length,g.getCurrentCellStyle(V)));Q.setAttribute("disabled","disabled");U.setAttribute("disabled","disabled")}}catch(t){b.handleError(t)}});U.setAttribute("title",mxResources.get("replace"));U.style.float="none";U.style.width="120px"; -U.style.marginTop="6px";U.style.marginLeft="8px";U.style.overflow="hidden";U.style.textOverflow="ellipsis";U.className="geBtn gePrimaryBtn";U.setAttribute("disabled","disabled");J.appendChild(U);var T=mxUtils.button(mxResources.get("replaceAll"),function(){K.innerText="";if(v.value){k=null;var V=b.currentPage,W=b.editor.graph.getSelectionCells();b.editor.graph.rendering=!1;g.getModel().beginUpdate();try{for(var t=0,C={};D(!1,!0,!0)&&100>t;){var N=n.cell,R=g.getLabel(N),O=C[N.id];if(O&&O.replAllMrk== -z&&O.replAllPos>=E)break;C[N.id]={replAllMrk:z,replAllPos:E};g.isCellEditable(N)&&(g.model.setValue(N,H(R,A,v.value,E-A.length,g.getCurrentCellStyle(N))),t++)}V!=b.currentPage&&b.editor.graph.model.execute(new SelectPage(b,V));mxUtils.write(K,mxResources.get("matchesRepl",[t]))}catch(P){b.handleError(P)}finally{g.getModel().endUpdate(),b.editor.graph.setSelectionCells(W),b.editor.graph.rendering=!0}z++}});T.setAttribute("title",mxResources.get("replaceAll"));T.style.float="none";T.style.width="120px"; -T.style.marginTop="6px";T.style.marginLeft="8px";T.style.overflow="hidden";T.style.textOverflow="ellipsis";T.className="geBtn gePrimaryBtn";T.setAttribute("disabled","disabled");J.appendChild(T);mxUtils.br(J);J.appendChild(F);F=mxUtils.button(mxResources.get("close"),mxUtils.bind(this,function(){this.window.setVisible(!1)}));F.setAttribute("title",mxResources.get("close"));F.style.float="none";F.style.width="120px";F.style.marginTop="6px";F.style.marginLeft="8px";F.style.overflow="hidden";F.style.textOverflow= -"ellipsis";F.className="geBtn";J.appendChild(F);mxUtils.br(J);J.appendChild(K)}else F.style.width="90px",L.style.width="90px";mxEvent.addListener(M,"keyup",function(V){if(91==V.keyCode||93==V.keyCode||17==V.keyCode)mxEvent.consume(V);else if(27==V.keyCode)d.funct();else if(k!=M.value.toLowerCase()||13==V.keyCode)try{M.style.backgroundColor=D()?"":Editor.isDarkMode()?"#ff0000":"#ffcfcf"}catch(W){M.style.backgroundColor=Editor.isDarkMode()?"#ff0000":"#ffcfcf"}});mxEvent.addListener(B,"keydown",function(V){70== +m.style.overflow="hidden";var v=document.createElement("div");v.style.cssText="position:absolute;left:0;right:0;top:0;bottom:20px;text-align:center;transform:translate(0,50%);pointer-events:none;";m.appendChild(v);mxEvent.disableContextMenu(m);c.appendChild(m);var x=new Graph(m);x.setTooltips(!1);x.setEnabled(!1);x.setPanning(!0);x.panningHandler.ignoreCell=!0;x.panningHandler.useLeftButtonForPanning=!0;x.minFitScale=null;x.maxFitScale=null;x.centerZoom=!0;var E=0,d=null,g=0,k=x.getGlobalVariable; +x.getGlobalVariable=function(X){return"page"==X&&null!=d&&null!=d[g]?d[g].getAttribute("name"):"pagenumber"==X?g+1:"pagecount"==X?null!=d?d.length:1:k.apply(this,arguments)};x.getLinkForCell=function(){return null};Editor.MathJaxRender&&x.model.addListener(mxEvent.CHANGE,mxUtils.bind(this,function(X,Z){b.editor.graph.mathEnabled&&Editor.MathJaxRender(x.container)}));var n={lines:11,length:15,width:6,radius:10,corners:1,rotate:0,direction:1,color:Editor.isDarkMode()?"#c0c0c0":"#000",speed:1.4,trail:60, +shadow:!1,hwaccel:!1,className:"spinner",zIndex:2E9,top:"50%",left:"50%"},q=new Spinner(n),p=b.getCurrentFile(),y=b.getXmlFileData(!0,!1,!0).getElementsByTagName("diagram"),A={};for(n=0;nD?V:V.substr(0,D)+t+V.substr(D+W.length);var T=V;W=mxUtils.htmlEntities(W);L=[];var O=-1;for(V=V.replace(/
/ig,"\n");-1<(O=V.indexOf("<",O+1));)L.push(O);O=V.match(/<[^>]*>/g);V=V.replace(/<[^>]*>/g,"");D=V.toLowerCase().indexOf(W,D);if(0>D)return T;T=D+W.length;t=mxUtils.htmlEntities(t);V=V.substr(0,D)+t+V.substr(T);for(var P=0,R=0;R")},N=mxUtils.button(mxResources.get("replFind"),function(){try{if(null!=y&&null!=n&&G.value){var V=n.cell,W=g.getLabel(V);g.isCellEditable(V)&&g.model.setValue(V,H(W,y,G.value,A-y.length,g.getCurrentCellStyle(V)));M.style.backgroundColor=E(!1,!0)?"":Editor.isDarkMode()?"#ff0000":"#ffcfcf"}}catch(t){b.handleError(t)}});N.setAttribute("title",mxResources.get("replFind"));N.style.float="none";N.style.width="120px";N.style.marginTop="6px";N.style.marginLeft="8px";N.style.overflow="hidden";N.style.textOverflow= +"ellipsis";N.className="geBtn gePrimaryBtn";N.setAttribute("disabled","disabled");I.appendChild(N);mxUtils.br(I);var U=mxUtils.button(mxResources.get("replace"),function(){try{if(null!=y&&null!=n&&G.value){var V=n.cell,W=g.getLabel(V);g.model.setValue(V,H(W,y,G.value,A-y.length,g.getCurrentCellStyle(V)));N.setAttribute("disabled","disabled");U.setAttribute("disabled","disabled")}}catch(t){b.handleError(t)}});U.setAttribute("title",mxResources.get("replace"));U.style.float="none";U.style.width="120px"; +U.style.marginTop="6px";U.style.marginLeft="8px";U.style.overflow="hidden";U.style.textOverflow="ellipsis";U.className="geBtn gePrimaryBtn";U.setAttribute("disabled","disabled");I.appendChild(U);var Q=mxUtils.button(mxResources.get("replaceAll"),function(){K.innerText="";if(G.value){k=null;var V=b.currentPage,W=b.editor.graph.getSelectionCells();b.editor.graph.rendering=!1;g.getModel().beginUpdate();try{for(var t=0,D={};E(!1,!0,!0)&&100>t;){var L=n.cell,T=g.getLabel(L),O=D[L.id];if(O&&O.replAllMrk== +C&&O.replAllPos>=A)break;D[L.id]={replAllMrk:C,replAllPos:A};g.isCellEditable(L)&&(g.model.setValue(L,H(T,y,G.value,A-y.length,g.getCurrentCellStyle(L))),t++)}V!=b.currentPage&&b.editor.graph.model.execute(new SelectPage(b,V));mxUtils.write(K,mxResources.get("matchesRepl",[t]))}catch(P){b.handleError(P)}finally{g.getModel().endUpdate(),b.editor.graph.setSelectionCells(W),b.editor.graph.rendering=!0}C++}});Q.setAttribute("title",mxResources.get("replaceAll"));Q.style.float="none";Q.style.width="120px"; +Q.style.marginTop="6px";Q.style.marginLeft="8px";Q.style.overflow="hidden";Q.style.textOverflow="ellipsis";Q.className="geBtn gePrimaryBtn";Q.setAttribute("disabled","disabled");I.appendChild(Q);mxUtils.br(I);I.appendChild(F);F=mxUtils.button(mxResources.get("close"),mxUtils.bind(this,function(){this.window.setVisible(!1)}));F.setAttribute("title",mxResources.get("close"));F.style.float="none";F.style.width="120px";F.style.marginTop="6px";F.style.marginLeft="8px";F.style.overflow="hidden";F.style.textOverflow= +"ellipsis";F.className="geBtn";I.appendChild(F);mxUtils.br(I);I.appendChild(K)}else F.style.width="90px",J.style.width="90px";mxEvent.addListener(M,"keyup",function(V){if(91==V.keyCode||93==V.keyCode||17==V.keyCode)mxEvent.consume(V);else if(27==V.keyCode)d.funct();else if(k!=M.value.toLowerCase()||13==V.keyCode)try{M.style.backgroundColor=E()?"":Editor.isDarkMode()?"#ff0000":"#ffcfcf"}catch(W){M.style.backgroundColor=Editor.isDarkMode()?"#ff0000":"#ffcfcf"}});mxEvent.addListener(B,"keydown",function(V){70== V.keyCode&&b.keyHandler.isControlDown(V)&&!mxEvent.isShiftDown(V)&&(d.funct(),mxEvent.consume(V))});this.window=new mxWindow(mxResources.get("find")+(m?"/"+mxResources.get("replace"):""),B,e,f,c,l,!0,!0);this.window.destroyOnClose=!1;this.window.setMaximizable(!1);this.window.setResizable(!1);this.window.setClosable(!0);this.window.addListener("show",mxUtils.bind(this,function(){this.window.fit();this.window.isVisible()?(M.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?M.select(): -document.execCommand("selectAll",!1,null),null!=b.pages&&1mxUtils.indexOf(D,p)&&n.push(p)}0':null==K.desc&&(k.style.padding="20px",k.style.color= -"rgb(179, 179, 179)",mxUtils.write(k,mxResources.get("noPreview")));null!=n&&(n.style.backgroundColor="");n=H;n.style.backgroundColor=Editor.isDarkMode()?"#000000":"#ebf2f9";null!=T&&mxEvent.consume(T)}};mxEvent.addListener(H,"click",U);mxEvent.addListener(H,"dblclick",function(T){Q.checked=!Q.checked;mxEvent.consume(T)});q.push(function(){return Q.checked?K.id:null});0==G&&0==L&&U()})(I.entries[L])})(u[G])});D=document.createElement("div");D.className="geDialogTitle";mxUtils.write(D,mxResources.get("shapes")); -D.style.position="absolute";D.style.top="0px";D.style.left="0px";D.style.lineHeight="40px";D.style.height="40px";D.style.right="0px";var g=document.createElement("div"),k=document.createElement("div");g.style.position="absolute";g.style.top="40px";g.style.left="0px";g.style.width="202px";g.style.bottom="60px";g.style.overflow="auto";k.style.position="absolute";k.style.left="202px";k.style.right="0px";k.style.top="40px";k.style.bottom="60px";k.style.overflow="auto";k.style.borderLeft="1px solid rgb(211, 211, 211)"; -k.style.textAlign="center";var n=null,q=[],p=document.createElement("div");p.style.position="relative";p.style.left="0px";p.style.right="0px";m(f);c.style.padding="30px";c.appendChild(D);c.appendChild(g);c.appendChild(k);f=document.createElement("div");f.className="geDialogFooter";f.style.position="absolute";f.style.paddingRight="16px";f.style.color="gray";f.style.left="0px";f.style.right="0px";f.style.bottom="0px";f.style.height="60px";f.style.lineHeight="52px";var A=document.createElement("input"); -A.setAttribute("type","checkbox");A.style.position="relative";A.style.top="1px";A.checked=b.sidebar.sidebarTitles;A.defaultChecked=A.checked;f.appendChild(A);m=document.createElement("span");mxUtils.write(m," "+mxResources.get("labels"));m.style.paddingRight="20px";f.appendChild(m);mxEvent.addListener(m,"click",function(u){A.checked=!A.checked;mxEvent.consume(u)});var E=document.createElement("input");E.setAttribute("type","checkbox");if(isLocalStorage||mxClient.IS_CHROMEAPP)m=document.createElement("span"), -m.style.paddingRight="20px",m.appendChild(E),mxUtils.write(m," "+mxResources.get("rememberThisSetting")),E.style.position="relative",E.style.top="1px",E.checked=!0,E.defaultChecked=!0,mxEvent.addListener(m,"click",function(u){mxEvent.getSource(u)!=E&&(E.checked=!E.checked,mxEvent.consume(u))}),f.appendChild(m);m=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});m.className="geBtn";D=mxUtils.button(mxResources.get("apply"),function(){b.hideDialog();for(var u=[],G=0;GmxUtils.indexOf(y,p)&&y.push(p);l()})}:function(){var p=document.createElement("div"),A=document.createElement("span"); -A.style.marginTop="6px";mxUtils.write(A,mxResources.get("builtinPlugins")+": ");p.appendChild(A);var E=document.createElement("select");E.style.width="150px";for(A=0;AmxUtils.indexOf(y,v)&&y.push(v)}l()}},mxResources.get("enterValue")+" ("+mxResources.get("url")+")");b.showDialog(B.container,300,80,!0,!0);B.init()});A.className="geBtn";p=new CustomDialog(b,p,mxUtils.bind(this,function(){var B=App.pluginRegistry[E.value];0>mxUtils.indexOf(y,B)&&(y.push(B),l())}),null,null,null,A);b.showDialog(p.container,360,100,!0,!0)});d.className= -"geBtn";var g=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});g.className="geBtn";var k=mxUtils.button(c?mxResources.get("close"):mxResources.get("apply"),function(){D?(mxSettings.setPlugins(y),mxSettings.save(),b.hideDialog(),b.alert(mxResources.get("restartForChangeRequired"))):b.hideDialog()});k.className="geBtn gePrimaryBtn";var n=document.createElement("div");n.style.marginTop="14px";n.style.textAlign="right";var q=mxUtils.button(mxResources.get("help"),function(){b.openLink("https://www.diagrams.net/doc/faq/plugins")}); -q.className="geBtn";b.isOffline()&&!mxClient.IS_CHROMEAPP&&(q.style.display="none");n.appendChild(q);b.editor.cancelFirst?(c||n.appendChild(g),n.appendChild(d),n.appendChild(k)):(n.appendChild(d),n.appendChild(k),c||n.appendChild(g));m.appendChild(n);this.container=m},CropImageDialog=function(b,e,f,c){function l(){var u=E.checked,G=z.checked,I=q.geometry,F=D.width,L=D.height,K=(300-F)/2,H=(300-L)/2;I.xK+F&&(I.width=K+F-I.x,I.x=Math.min(I.x,K+F));I.yH+L&&(I.height=H+L-I.y,I.y=Math.min(I.y,H+L));var Q=(I.x-K)/F*100;F=100-(I.x+I.width-K)/F*100;K=(I.y-H)/L*100;I=100-(I.y+I.height-H)/L*100;return"inset("+mxUtils.format(K)+"% "+mxUtils.format(F)+"% "+mxUtils.format(I)+"% "+mxUtils.format(Q)+"%"+(u?" round "+n+"%":G?" round 50%":"")+")"}function m(u){null!=g&&(!0!==u&&(g.model.setGeometry(q,k.clone()),n=5,J.value=n),g.model.setStyle(q,p+l()),g.selectAll(),B.style.visibility=E.checked?"visible":"hidden")}var x=document.createElement("div"), -y=document.createElement("div");y.style.height="300px";y.style.width="300px";y.style.display="inline-flex";y.style.justifyContent="center";y.style.alignItems="center";y.style.position="absolute";var D=document.createElement("img");D.onload=function(){function u(){g.model.setStyle(q,p+l())}g=new Graph(d);g.autoExtend=!1;g.autoScroll=!1;g.setGridEnabled(!1);g.setEnabled(!0);g.setPanning(!1);g.setConnectable(!1);g.getRubberband().setEnabled(!1);g.graphHandler.allowLivePreview=!1;var G=g.createVertexHandler; -g.createVertexHandler=function(){var R=G.apply(this,arguments);R.livePreview=!1;return R};if(null!=f)try{if("inset"==f.substring(0,5)){var I=q.geometry,F=D.width,L=D.height,K=(300-F)/2,H=(300-L)/2,Q=f.match(/\(([^)]+)\)/)[1].split(/[ ,]+/),U=parseFloat(Q[0]),T=parseFloat(Q[1]),V=parseFloat(Q[2]),W=parseFloat(Q[3]);isFinite(U)&&isFinite(T)&&isFinite(V)&&isFinite(W)?(I.x=W/100*F+K,I.y=U/100*L+H,I.width=(100-T)/100*F+K-I.x,I.height=(100-V)/100*L+H-I.y,"round"==Q[4]?"50%"==Q[5]?z.setAttribute("checked", -"checked"):(n=parseInt(Q[5]),J.value=n,E.setAttribute("checked","checked"),B.style.visibility="visible"):A.setAttribute("checked","checked")):f=null}else f=null}catch(R){}q.style=p+(f?f:l());q.vertex=!0;g.addCell(q,null,null,null,null);g.selectAll();g.addListener(mxEvent.CELLS_MOVED,u);g.addListener(mxEvent.CELLS_RESIZED,u);var t=g.graphHandler.mouseUp,C=g.graphHandler.mouseDown;g.graphHandler.mouseUp=function(){t.apply(this,arguments);d.style.backgroundColor="#fff9"};g.graphHandler.mouseDown=function(){C.apply(this, -arguments);d.style.backgroundColor=""};g.dblClick=function(){};var N=g.getSelectionModel().changeSelection;g.getSelectionModel().changeSelection=function(){N.call(this,[q],[q])}};D.onerror=function(){D.onload=null;D.src=Editor.errorImage};D.setAttribute("src",e);D.style.maxWidth="300px";D.style.maxHeight="300px";y.appendChild(D);x.appendChild(y);var d=document.createElement("div");d.style.width="300px";d.style.height="300px";d.style.overflow="hidden";d.style.backgroundColor="#fff9";x.appendChild(d); -var g=null,k=new mxGeometry(100,100,100,100),n=5,q=new mxCell("",k.clone(),""),p="shape=image;fillColor=none;rotatable=0;cloneable=0;deletable=0;image="+e.replace(";base64","")+";clipPath=",A=document.createElement("input");A.setAttribute("type","radio");A.setAttribute("id","croppingRect");A.setAttribute("name","croppingShape");A.setAttribute("checked","checked");A.style.margin="5px";x.appendChild(A);e=document.createElement("label");e.setAttribute("for","croppingRect");mxUtils.write(e,mxResources.get("rectangle")); -x.appendChild(e);var E=document.createElement("input");E.setAttribute("type","radio");E.setAttribute("id","croppingRounded");E.setAttribute("name","croppingShape");E.style.margin="5px";x.appendChild(E);e=document.createElement("label");e.setAttribute("for","croppingRounded");mxUtils.write(e,mxResources.get("rounded"));x.appendChild(e);var z=document.createElement("input");z.setAttribute("type","radio");z.setAttribute("id","croppingEllipse");z.setAttribute("name","croppingShape");z.style.margin="5px"; -x.appendChild(z);e=document.createElement("label");e.setAttribute("for","croppingEllipse");mxUtils.write(e,mxResources.get("ellipse"));x.appendChild(e);mxEvent.addListener(A,"change",m);mxEvent.addListener(E,"change",m);mxEvent.addListener(z,"change",m);var B=document.createElement("div");B.style.textAlign="center";B.style.visibility="hidden";var J=document.createElement("input");J.setAttribute("type","range");J.setAttribute("min","1");J.setAttribute("max","49");J.setAttribute("value",n);J.setAttribute("title", -mxResources.get("arcSize"));B.appendChild(J);x.appendChild(B);mxEvent.addListener(J,"change",function(){n=this.value;m(!0)});e=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});e.className="geBtn";y=mxUtils.button(mxResources.get("apply"),function(){c(l(),q.geometry.width,q.geometry.height);b.hideDialog()});y.className="geBtn gePrimaryBtn";var M=mxUtils.button(mxResources.get("reset"),function(){c(null,D.width,D.height);b.hideDialog()});M.className="geBtn";var v=document.createElement("div"); -v.style.marginTop="10px";v.style.textAlign="right";b.editor.cancelFirst?(v.appendChild(e),v.appendChild(M),v.appendChild(y)):(v.appendChild(M),v.appendChild(y),v.appendChild(e));x.appendChild(v);this.container=x},EditGeometryDialog=function(b,e){var f=b.editor.graph,c=1==e.length?f.getCellGeometry(e[0]):null,l=document.createElement("div"),m=document.createElement("table"),x=document.createElement("tbody"),y=document.createElement("tr"),D=document.createElement("td"),d=document.createElement("td"); -m.style.paddingLeft="6px";mxUtils.write(D,mxResources.get("relative")+":");var g=document.createElement("input");g.setAttribute("type","checkbox");null!=c&&c.relative&&(g.setAttribute("checked","checked"),g.defaultChecked=!0);this.init=function(){g.focus()};d.appendChild(g);y.appendChild(D);y.appendChild(d);x.appendChild(y);y=document.createElement("tr");D=document.createElement("td");d=document.createElement("td");mxUtils.write(D,mxResources.get("left")+":");var k=document.createElement("input"); -k.setAttribute("type","text");k.style.width="100px";k.value=null!=c?c.x:"";d.appendChild(k);y.appendChild(D);y.appendChild(d);x.appendChild(y);y=document.createElement("tr");D=document.createElement("td");d=document.createElement("td");mxUtils.write(D,mxResources.get("top")+":");var n=document.createElement("input");n.setAttribute("type","text");n.style.width="100px";n.value=null!=c?c.y:"";d.appendChild(n);y.appendChild(D);y.appendChild(d);x.appendChild(y);y=document.createElement("tr");D=document.createElement("td"); -d=document.createElement("td");mxUtils.write(D,mxResources.get("dx")+":");var q=document.createElement("input");q.setAttribute("type","text");q.style.width="100px";q.value=null!=c&&null!=c.offset?c.offset.x:"";d.appendChild(q);y.appendChild(D);y.appendChild(d);x.appendChild(y);y=document.createElement("tr");D=document.createElement("td");d=document.createElement("td");mxUtils.write(D,mxResources.get("dy")+":");var p=document.createElement("input");p.setAttribute("type","text");p.style.width="100px"; -p.value=null!=c&&null!=c.offset?c.offset.y:"";d.appendChild(p);y.appendChild(D);y.appendChild(d);x.appendChild(y);y=document.createElement("tr");D=document.createElement("td");d=document.createElement("td");mxUtils.write(D,mxResources.get("width")+":");var A=document.createElement("input");A.setAttribute("type","text");A.style.width="100px";A.value=null!=c?c.width:"";d.appendChild(A);y.appendChild(D);y.appendChild(d);x.appendChild(y);y=document.createElement("tr");D=document.createElement("td");d= -document.createElement("td");mxUtils.write(D,mxResources.get("height")+":");var E=document.createElement("input");E.setAttribute("type","text");E.style.width="100px";E.value=null!=c?c.height:"";d.appendChild(E);y.appendChild(D);y.appendChild(d);x.appendChild(y);y=document.createElement("tr");D=document.createElement("td");d=document.createElement("td");mxUtils.write(D,mxResources.get("rotation")+":");var z=document.createElement("input");z.setAttribute("type","text");z.style.width="100px";z.value= -1==e.length?mxUtils.getValue(f.getCellStyle(e[0]),mxConstants.STYLE_ROTATION,0):"";d.appendChild(z);y.appendChild(D);y.appendChild(d);x.appendChild(y);m.appendChild(x);l.appendChild(m);c=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});c.className="geBtn";var B=mxUtils.button(mxResources.get("apply"),function(){b.hideDialog();f.getModel().beginUpdate();try{for(var J=0;Jb.maxImageSize||H>b.maxImageSize){var C=Math.min(1,Math.min(b.maxImageSize/Math.max(1,K)),b.maxImageSize/Math.max(1,H));K*=C;H*=C}W>t?(t=Math.round(100*t/W),W=100):(W=Math.round(100*W/t),t=100);var N=document.createElement("div");N.setAttribute("draggable","true");N.style.display="inline-block";N.style.position="relative";N.style.padding="0 12px";N.style.cursor="move";mxUtils.setPrefixedStyle(N.style,"transition", -"transform .1s ease-in-out");if(null!=G){var R=document.createElement("img");R.setAttribute("src",J.convert(G));R.style.width=W+"px";R.style.height=t+"px";R.style.margin="10px";R.style.paddingBottom=Math.floor((100-t)/2)+"px";R.style.paddingLeft=Math.floor((100-W)/2)+"px";N.appendChild(R)}else if(null!=Q){var O=b.stringToCells(Graph.decompress(Q.xml));0E?z-1:z,0,g.splice(E,1)[0]),q.insertBefore(q.children[E],q.children[z])):(g.push(g.splice(E,1)[0]),q.appendChild(q.children[E])); -else if(0=W.status&&(y(W.responseText,F,L,K,H,Q,U,"fixed",mxEvent.isAltDown(G)?null:U.substring(0,U.lastIndexOf(".")).replace(/_/g," ")),q.scrollTop=q.scrollHeight))})):(b.spinner.stop(),b.showError(mxResources.get("error"),mxResources.get("notInOffline"))): -(y(I,F,L,K,H,Q,U,"fixed",mxEvent.isAltDown(G)?null:U.substring(0,U.lastIndexOf(".")).replace(/_/g," ")),q.scrollTop=q.scrollHeight)}};mxEvent.addListener(q,"dragover",D);mxEvent.addListener(q,"drop",d);mxEvent.addListener(p,"dragover",D);mxEvent.addListener(p,"drop",d);f.appendChild(q);c=document.createElement("div");c.style.textAlign="right";c.style.marginTop="20px";e=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog(!0)});e.setAttribute("id","btnCancel");e.className="geBtn";b.editor.cancelFirst&& -c.appendChild(e);"draw.io"!=b.getServiceName()||null==l||l.constructor!=DriveLibrary&&l.constructor!=GitHubLibrary||(k=mxUtils.button(mxResources.get("link"),function(){b.spinner.spin(document.body,mxResources.get("loading"))&&l.getPublicUrl(function(G){b.spinner.stop();if(null!=G){var I=b.getSearch("create title mode url drive splash state clibs ui".split(" "));I+=(0==I.length?"?":"&")+"splash=0&clibs=U"+encodeURIComponent(G);G=new EmbedDialog(b,window.location.protocol+"//"+window.location.host+ -"/"+I,null,null,null,null,"Check out the library I made using @drawio");b.showDialog(G.container,450,240,!0);G.init()}else l.constructor==DriveLibrary?b.showError(mxResources.get("error"),mxResources.get("diagramIsNotPublic"),mxResources.get("share"),mxUtils.bind(this,function(){b.drive.showPermissions(l.getId())}),null,mxResources.get("ok"),mxUtils.bind(this,function(){})):b.handleError({message:mxResources.get("diagramIsNotPublic")})})}),k.className="geBtn",c.appendChild(k));k=mxUtils.button(mxResources.get("export"), -function(){var G=b.createLibraryDataFromImages(g),I=n.value;/(\.xml)$/i.test(I)||(I+=".xml");b.isLocalFileSave()?b.saveLocalFile(G,I,"text/xml",null,null,!0,null,"xml"):(new mxXmlRequest(SAVE_URL,"filename="+encodeURIComponent(I)+"&format=xml&xml="+encodeURIComponent(G))).simulate(document,"_blank")});k.setAttribute("id","btnDownload");k.className="geBtn";c.appendChild(k);if(Graph.fileSupport){if(null==b.libDlgFileInputElt){var u=document.createElement("input");u.setAttribute("multiple","multiple"); -u.setAttribute("type","file");mxEvent.addListener(u,"change",function(G){M=!1;b.importFiles(u.files,0,0,b.maxImageSize,function(I,F,L,K,H,Q,U,T,V){null!=u.files&&(v(G)(I,F,L,K,H,Q,U,T,V),u.type="",u.type="file",u.value="")});q.scrollTop=q.scrollHeight});u.style.display="none";document.body.appendChild(u);b.libDlgFileInputElt=u}k=mxUtils.button(mxResources.get("import"),function(){null!=B&&(B(),B=null);b.libDlgFileInputElt.click()});k.setAttribute("id","btnAddImage");k.className="geBtn";c.appendChild(k)}k= -mxUtils.button(mxResources.get("addImages"),function(){null!=B&&(B(),B=null);b.showImageDialog(mxResources.get("addImageUrl"),"",function(G,I,F){M=!1;if(null!=G){if("data:image/"==G.substring(0,11)){var L=G.indexOf(",");0=Na.getStatus()&&(Aa=Na.getText());Ja(Aa)}))):Ja(Aa)} -function Ca(qa,Ja,Na){if(null!=qa&&mxUtils.isAncestorNode(document.body,ha)&&(qa=mxUtils.parseXml(qa),qa=Editor.extractGraphModel(qa.documentElement,!0),null!=qa)){"mxfile"==qa.nodeName&&(qa=Editor.parseDiagramNode(qa.getElementsByTagName("diagram")[0]));var Ra=new mxCodec(qa.ownerDocument),Ka=new mxGraphModel;Ra.decode(qa,Ka);qa=Ka.root.getChildAt(0).children||[];b.sidebar.createTooltip(ha,qa,Math.min((window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)-80,1E3),Math.min((window.innerHeight|| -document.documentElement.clientHeight||document.body.clientHeight)-80,800),null!=da.title?mxResources.get(da.title,null,da.title):null,!0,new mxPoint(Ja,Na),!0,null,!0);var Pa=document.createElement("div");Pa.className="geTempDlgDialogMask";T.appendChild(Pa);var Qa=b.sidebar.hideTooltip;b.sidebar.hideTooltip=function(){Pa&&(T.removeChild(Pa),Pa=null,Qa.apply(this,arguments),b.sidebar.hideTooltip=Qa)};mxEvent.addListener(Pa,"click",function(){b.sidebar.hideTooltip()})}}var Aa=null;if(Da||b.sidebar.currentElt== -ha)b.sidebar.hideTooltip();else{var ua=function(qa){Da&&b.sidebar.currentElt==ha&&Ca(qa,mxEvent.getClientX(sa),mxEvent.getClientY(sa));Da=!1;ja.src="/images/icon-search.svg"};b.sidebar.hideTooltip();b.sidebar.currentElt=ha;Da=!0;ja.src="/images/aui-wait.gif";da.isExt?D(da,ua,function(){A(mxResources.get("cantLoadPrev"));Da=!1;ja.src="/images/icon-search.svg"}):oa(da.url,ua)}}function J(da,ha,ja){if(null!=N){for(var sa=N.className.split(" "),oa=0;oa=qa.getStatus()?sa(qa.getText(),ua):oa()})):sa(b.emptyDiagramXml,ua)},sa=function(ua,qa){p||b.hideDialog(!0);e(ua,qa,Aa,ha)},oa=function(){A(mxResources.get("cannotLoad")); -Ca()},Ca=function(){R=Aa;Ma.className="geTempDlgCreateBtn";ha&&(va.className="geTempDlgOpenBtn")},Aa=R;R=null;"boolean"!==typeof ha&&(ha=Aa.isExternal&&k);1==da?d(Aa.url,Aa):ha?(va.className="geTempDlgOpenBtn geTempDlgBtnDisabled geTempDlgBtnBusy",ja()):(Ma.className="geTempDlgCreateBtn geTempDlgBtnDisabled geTempDlgBtnBusy",da=null==b.mode||b.mode==App.MODE_GOOGLE||b.mode==App.MODE_BROWSER?mxResources.get("diagramName"):mxResources.get("filename"),da=new FilenameDialog(b,b.defaultFilename+".drawio", -mxResources.get("ok"),ja,da,function(ua){var qa=null!=ua&&0qa&&(ua=ua.substring(0,qa)+"…");if(ja){var Pa=document.createElement("tr"); -Na=document.createElement("td");var Qa=document.createElement("img");Qa.src="/images/icon-search.svg";Qa.className="geTempDlgDiagramListPreviewBtn";Qa.setAttribute("title",mxResources.get("preview"));oa||Na.appendChild(Qa);Ja=document.createElement("span");Ja.className="geTempDlgDiagramTitle";Ja.innerHTML=ua;Na.appendChild(Ja);Pa.appendChild(Na);Na=document.createElement("td");Na.innerText=Ra;Pa.appendChild(Na);Na=document.createElement("td");Na.innerText=Ka;Pa.appendChild(Na);Ca.appendChild(Pa); -null==N&&(v(ha),J(Pa,"geTempDlgDiagramsListGridActive",da[Aa]));(function(La,Ta,Va){mxEvent.addListener(Pa,"click",function(){N!=Ta&&(v(ha),J(Ta,"geTempDlgDiagramsListGridActive",La))});mxEvent.addListener(Pa,"dblclick",M);mxEvent.addListener(Qa,"click",function(Wa){B(La,Ta,Va,Wa)})})(da[Aa],Pa,Qa)}else{var Oa=document.createElement("div");Oa.className="geTempDlgDiagramTile";Oa.setAttribute("title",Ja);null==N&&(v(ha),J(Oa,"geTempDlgDiagramTileActive",da[Aa]));Ra=document.createElement("div");Ra.className= -"geTempDlgDiagramTileImg geTempDlgDiagramTileImgLoading";var Sa=document.createElement("img");Sa.style.display="none";(function(La,Ta,Va){Sa.onload=function(){Ta.className="geTempDlgDiagramTileImg";La.style.display=""};Sa.onerror=function(){this.src!=Va?this.src=Va:Ta.className="geTempDlgDiagramTileImg geTempDlgDiagramTileImgError"}})(Sa,Ra,Na?Na.replace(".drawio.xml","").replace(".drawio","").replace(".xml",""):"");Sa.src=Na;Ra.appendChild(Sa);Oa.appendChild(Ra);Ra=document.createElement("div"); -Ra.className="geTempDlgDiagramTileLbl";Ra.innerHTML=null!=ua?ua:"";Oa.appendChild(Ra);Qa=document.createElement("img");Qa.src="/images/icon-search.svg";Qa.className="geTempDlgDiagramPreviewBtn";Qa.setAttribute("title",mxResources.get("preview"));oa||Oa.appendChild(Qa);(function(La,Ta,Va){mxEvent.addListener(Oa,"click",function(){N!=Ta&&(v(ha),J(Ta,"geTempDlgDiagramTileActive",La))});mxEvent.addListener(Oa,"dblclick",M);mxEvent.addListener(Qa,"click",function(Wa){B(La,Ta,Va,Wa)})})(da[Aa],Oa,Qa);ma.appendChild(Oa)}}for(var Ua in sa)da= -sa[Ua],0ja?ja:da.length;for(var sa=0;sa
'+ -mxResources.get("newDiagram")+'
'+mxResources.get("showMore")+'
'+ +document.execCommand("selectAll",!1,null),null!=b.pages&&1mxUtils.indexOf(E,p)&&n.push(p)}0':null==K.desc&&(k.style.padding="20px",k.style.color="rgb(179, 179, 179)",mxUtils.write(k,mxResources.get("noPreview")));null!=n&&(n.style.backgroundColor="");n=H;n.style.backgroundColor=Editor.isDarkMode()?"#000000":"#ebf2f9";null!=Q&&mxEvent.consume(Q)}};mxEvent.addListener(H,"click",U);mxEvent.addListener(H,"dblclick",function(Q){N.checked=!N.checked;mxEvent.consume(Q)});q.push(function(){return N.checked?K.id:null});0==u&&0==J&&U()})(z.entries[J])})(S[u])});E=document.createElement("div"); +E.className="geDialogTitle";mxUtils.write(E,mxResources.get("shapes"));E.style.position="absolute";E.style.top="0px";E.style.left="0px";E.style.lineHeight="40px";E.style.height="40px";E.style.right="0px";var g=document.createElement("div"),k=document.createElement("div");g.style.position="absolute";g.style.top="40px";g.style.left="0px";g.style.width="202px";g.style.bottom="60px";g.style.overflow="auto";k.style.position="absolute";k.style.left="202px";k.style.right="0px";k.style.top="40px";k.style.bottom= +"60px";k.style.overflow="auto";k.style.borderLeft="1px solid rgb(211, 211, 211)";k.style.textAlign="center";var n=null,q=[],p=document.createElement("div");p.style.position="relative";p.style.left="0px";p.style.right="0px";m(f);c.style.padding="30px";c.appendChild(E);c.appendChild(g);c.appendChild(k);f=document.createElement("div");f.className="geDialogFooter";f.style.position="absolute";f.style.paddingRight="16px";f.style.color="gray";f.style.left="0px";f.style.right="0px";f.style.bottom="0px";f.style.height= +"60px";f.style.lineHeight="52px";var y=document.createElement("input");y.setAttribute("type","checkbox");y.style.position="relative";y.style.top="1px";y.checked=b.sidebar.sidebarTitles;y.defaultChecked=y.checked;f.appendChild(y);m=document.createElement("span");mxUtils.write(m," "+mxResources.get("labels"));m.style.paddingRight="20px";f.appendChild(m);mxEvent.addListener(m,"click",function(S){y.checked=!y.checked;mxEvent.consume(S)});var A=document.createElement("input");A.setAttribute("type","checkbox"); +if(isLocalStorage||mxClient.IS_CHROMEAPP)m=document.createElement("span"),m.style.paddingRight="20px",m.appendChild(A),mxUtils.write(m," "+mxResources.get("rememberThisSetting")),A.style.position="relative",A.style.top="1px",A.checked=!0,A.defaultChecked=!0,mxEvent.addListener(m,"click",function(S){mxEvent.getSource(S)!=A&&(A.checked=!A.checked,mxEvent.consume(S))}),f.appendChild(m);m=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});m.className="geBtn";E=mxUtils.button(mxResources.get("apply"), +function(){b.hideDialog();for(var S=[],u=0;umxUtils.indexOf(x, +p)&&x.push(p);l()})}:function(){var p=document.createElement("div"),y=document.createElement("span");y.style.marginTop="6px";mxUtils.write(y,mxResources.get("builtinPlugins")+": ");p.appendChild(y);var A=document.createElement("select");A.style.width="150px";for(y=0;ymxUtils.indexOf(x,G)&&x.push(G)}l()}},mxResources.get("enterValue")+" ("+mxResources.get("url")+")");b.showDialog(B.container,300,80,!0,!0);B.init()});y.className="geBtn";p=new CustomDialog(b,p,mxUtils.bind(this,function(){var B=App.pluginRegistry[A.value];0>mxUtils.indexOf(x, +B)&&(x.push(B),l())}),null,null,null,y);b.showDialog(p.container,360,100,!0,!0)});d.className="geBtn";var g=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});g.className="geBtn";var k=mxUtils.button(c?mxResources.get("close"):mxResources.get("apply"),function(){E?(mxSettings.setPlugins(x),mxSettings.save(),b.hideDialog(),b.alert(mxResources.get("restartForChangeRequired"))):b.hideDialog()});k.className="geBtn gePrimaryBtn";var n=document.createElement("div");n.style.marginTop="14px"; +n.style.textAlign="right";var q=mxUtils.button(mxResources.get("help"),function(){b.openLink("https://www.diagrams.net/doc/faq/plugins")});q.className="geBtn";b.isOffline()&&!mxClient.IS_CHROMEAPP&&(q.style.display="none");n.appendChild(q);b.editor.cancelFirst?(c||n.appendChild(g),n.appendChild(d),n.appendChild(k)):(n.appendChild(d),n.appendChild(k),c||n.appendChild(g));m.appendChild(n);this.container=m},CropImageDialog=function(b,e,f,c){function l(){var S=A.checked,u=C.checked,z=q.geometry,F=E.width, +J=E.height,K=(300-F)/2,H=(300-J)/2;z.xK+F&&(z.width=K+F-z.x,z.x=Math.min(z.x,K+F));z.yH+J&&(z.height=H+J-z.y,z.y=Math.min(z.y,H+J));var N=(z.x-K)/F*100;F=100-(z.x+z.width-K)/F*100;K=(z.y-H)/J*100;z=100-(z.y+z.height-H)/J*100;return"inset("+mxUtils.format(K)+"% "+mxUtils.format(F)+"% "+mxUtils.format(z)+"% "+mxUtils.format(N)+"%"+(S?" round "+n+"%":u?" round 50%":"")+")"}function m(S){null!=g&&(!0!==S&&(g.model.setGeometry(q, +k.clone()),n=5,I.value=n),g.model.setStyle(q,p+l()),g.selectAll(),B.style.visibility=A.checked?"visible":"hidden")}var v=document.createElement("div"),x=document.createElement("div");x.style.height="300px";x.style.width="300px";x.style.display="inline-flex";x.style.justifyContent="center";x.style.alignItems="center";x.style.position="absolute";var E=document.createElement("img");E.onload=function(){function S(){g.model.setStyle(q,p+l())}g=new Graph(d);g.autoExtend=!1;g.autoScroll=!1;g.setGridEnabled(!1); +g.setEnabled(!0);g.setPanning(!1);g.setConnectable(!1);g.getRubberband().setEnabled(!1);g.graphHandler.allowLivePreview=!1;var u=g.createVertexHandler;g.createVertexHandler=function(){var T=u.apply(this,arguments);T.livePreview=!1;return T};if(null!=f)try{if("inset"==f.substring(0,5)){var z=q.geometry,F=E.width,J=E.height,K=(300-F)/2,H=(300-J)/2,N=f.match(/\(([^)]+)\)/)[1].split(/[ ,]+/),U=parseFloat(N[0]),Q=parseFloat(N[1]),V=parseFloat(N[2]),W=parseFloat(N[3]);isFinite(U)&&isFinite(Q)&&isFinite(V)&& +isFinite(W)?(z.x=W/100*F+K,z.y=U/100*J+H,z.width=(100-Q)/100*F+K-z.x,z.height=(100-V)/100*J+H-z.y,"round"==N[4]?"50%"==N[5]?C.setAttribute("checked","checked"):(n=parseInt(N[5]),I.value=n,A.setAttribute("checked","checked"),B.style.visibility="visible"):y.setAttribute("checked","checked")):f=null}else f=null}catch(T){}q.style=p+(f?f:l());q.vertex=!0;g.addCell(q,null,null,null,null);g.selectAll();g.addListener(mxEvent.CELLS_MOVED,S);g.addListener(mxEvent.CELLS_RESIZED,S);var t=g.graphHandler.mouseUp, +D=g.graphHandler.mouseDown;g.graphHandler.mouseUp=function(){t.apply(this,arguments);d.style.backgroundColor="#fff9"};g.graphHandler.mouseDown=function(){D.apply(this,arguments);d.style.backgroundColor=""};g.dblClick=function(){};var L=g.getSelectionModel().changeSelection;g.getSelectionModel().changeSelection=function(){L.call(this,[q],[q])}};E.onerror=function(){E.onload=null;E.src=Editor.errorImage};E.setAttribute("src",e);E.style.maxWidth="300px";E.style.maxHeight="300px";x.appendChild(E);v.appendChild(x); +var d=document.createElement("div");d.style.width="300px";d.style.height="300px";d.style.overflow="hidden";d.style.backgroundColor="#fff9";v.appendChild(d);var g=null,k=new mxGeometry(100,100,100,100),n=5,q=new mxCell("",k.clone(),""),p="shape=image;fillColor=none;rotatable=0;cloneable=0;deletable=0;image="+e.replace(";base64","")+";clipPath=",y=document.createElement("input");y.setAttribute("type","radio");y.setAttribute("id","croppingRect");y.setAttribute("name","croppingShape");y.setAttribute("checked", +"checked");y.style.margin="5px";v.appendChild(y);e=document.createElement("label");e.setAttribute("for","croppingRect");mxUtils.write(e,mxResources.get("rectangle"));v.appendChild(e);var A=document.createElement("input");A.setAttribute("type","radio");A.setAttribute("id","croppingRounded");A.setAttribute("name","croppingShape");A.style.margin="5px";v.appendChild(A);e=document.createElement("label");e.setAttribute("for","croppingRounded");mxUtils.write(e,mxResources.get("rounded"));v.appendChild(e); +var C=document.createElement("input");C.setAttribute("type","radio");C.setAttribute("id","croppingEllipse");C.setAttribute("name","croppingShape");C.style.margin="5px";v.appendChild(C);e=document.createElement("label");e.setAttribute("for","croppingEllipse");mxUtils.write(e,mxResources.get("ellipse"));v.appendChild(e);mxEvent.addListener(y,"change",m);mxEvent.addListener(A,"change",m);mxEvent.addListener(C,"change",m);var B=document.createElement("div");B.style.textAlign="center";B.style.visibility= +"hidden";var I=document.createElement("input");I.setAttribute("type","range");I.setAttribute("min","1");I.setAttribute("max","49");I.setAttribute("value",n);I.setAttribute("title",mxResources.get("arcSize"));B.appendChild(I);v.appendChild(B);mxEvent.addListener(I,"change",function(){n=this.value;m(!0)});e=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});e.className="geBtn";x=mxUtils.button(mxResources.get("apply"),function(){c(l(),q.geometry.width,q.geometry.height);b.hideDialog()}); +x.className="geBtn gePrimaryBtn";var M=mxUtils.button(mxResources.get("reset"),function(){c(null,E.width,E.height);b.hideDialog()});M.className="geBtn";var G=document.createElement("div");G.style.marginTop="10px";G.style.textAlign="right";b.editor.cancelFirst?(G.appendChild(e),G.appendChild(M),G.appendChild(x)):(G.appendChild(M),G.appendChild(x),G.appendChild(e));v.appendChild(G);this.container=v},EditGeometryDialog=function(b,e){var f=b.editor.graph,c=1==e.length?f.getCellGeometry(e[0]):null,l=document.createElement("div"), +m=document.createElement("table"),v=document.createElement("tbody"),x=document.createElement("tr"),E=document.createElement("td"),d=document.createElement("td");m.style.paddingLeft="6px";mxUtils.write(E,mxResources.get("relative")+":");var g=document.createElement("input");g.setAttribute("type","checkbox");null!=c&&c.relative&&(g.setAttribute("checked","checked"),g.defaultChecked=!0);this.init=function(){g.focus()};d.appendChild(g);x.appendChild(E);x.appendChild(d);v.appendChild(x);x=document.createElement("tr"); +E=document.createElement("td");d=document.createElement("td");mxUtils.write(E,mxResources.get("left")+":");var k=document.createElement("input");k.setAttribute("type","text");k.style.width="100px";k.value=null!=c?c.x:"";d.appendChild(k);x.appendChild(E);x.appendChild(d);v.appendChild(x);x=document.createElement("tr");E=document.createElement("td");d=document.createElement("td");mxUtils.write(E,mxResources.get("top")+":");var n=document.createElement("input");n.setAttribute("type","text");n.style.width= +"100px";n.value=null!=c?c.y:"";d.appendChild(n);x.appendChild(E);x.appendChild(d);v.appendChild(x);x=document.createElement("tr");E=document.createElement("td");d=document.createElement("td");mxUtils.write(E,mxResources.get("dx")+":");var q=document.createElement("input");q.setAttribute("type","text");q.style.width="100px";q.value=null!=c&&null!=c.offset?c.offset.x:"";d.appendChild(q);x.appendChild(E);x.appendChild(d);v.appendChild(x);x=document.createElement("tr");E=document.createElement("td"); +d=document.createElement("td");mxUtils.write(E,mxResources.get("dy")+":");var p=document.createElement("input");p.setAttribute("type","text");p.style.width="100px";p.value=null!=c&&null!=c.offset?c.offset.y:"";d.appendChild(p);x.appendChild(E);x.appendChild(d);v.appendChild(x);x=document.createElement("tr");E=document.createElement("td");d=document.createElement("td");mxUtils.write(E,mxResources.get("width")+":");var y=document.createElement("input");y.setAttribute("type","text");y.style.width="100px"; +y.value=null!=c?c.width:"";d.appendChild(y);x.appendChild(E);x.appendChild(d);v.appendChild(x);x=document.createElement("tr");E=document.createElement("td");d=document.createElement("td");mxUtils.write(E,mxResources.get("height")+":");var A=document.createElement("input");A.setAttribute("type","text");A.style.width="100px";A.value=null!=c?c.height:"";d.appendChild(A);x.appendChild(E);x.appendChild(d);v.appendChild(x);x=document.createElement("tr");E=document.createElement("td");d=document.createElement("td"); +mxUtils.write(E,mxResources.get("rotation")+":");var C=document.createElement("input");C.setAttribute("type","text");C.style.width="100px";C.value=1==e.length?mxUtils.getValue(f.getCellStyle(e[0]),mxConstants.STYLE_ROTATION,0):"";d.appendChild(C);x.appendChild(E);x.appendChild(d);v.appendChild(x);m.appendChild(v);l.appendChild(m);c=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});c.className="geBtn";var B=mxUtils.button(mxResources.get("apply"),function(){b.hideDialog();f.getModel().beginUpdate(); +try{for(var I=0;Ib.maxImageSize||H>b.maxImageSize){var D=Math.min(1,Math.min(b.maxImageSize/Math.max(1,K)),b.maxImageSize/Math.max(1,H));K*=D;H*=D}W>t?(t=Math.round(100*t/W),W=100):(W=Math.round(100*W/t),t=100);var L=document.createElement("div");L.setAttribute("draggable","true");L.style.display= +"inline-block";L.style.position="relative";L.style.padding="0 12px";L.style.cursor="move";mxUtils.setPrefixedStyle(L.style,"transition","transform .1s ease-in-out");if(null!=u){var T=document.createElement("img");T.setAttribute("src",I.convert(u));T.style.width=W+"px";T.style.height=t+"px";T.style.margin="10px";T.style.paddingBottom=Math.floor((100-t)/2)+"px";T.style.paddingLeft=Math.floor((100-W)/2)+"px";L.appendChild(T)}else if(null!=N){var O=b.stringToCells(Graph.decompress(N.xml));0A?C-1:C,0,g.splice(A,1)[0]),q.insertBefore(q.children[A],q.children[C])):(g.push(g.splice(A,1)[0]),q.appendChild(q.children[A]));else if(0=W.status&&(x(W.responseText,F,J,K,H,N,U,"fixed",mxEvent.isAltDown(u)?null:U.substring(0,U.lastIndexOf(".")).replace(/_/g, +" ")),q.scrollTop=q.scrollHeight))})):(b.spinner.stop(),b.showError(mxResources.get("error"),mxResources.get("notInOffline"))):(x(z,F,J,K,H,N,U,"fixed",mxEvent.isAltDown(u)?null:U.substring(0,U.lastIndexOf(".")).replace(/_/g," ")),q.scrollTop=q.scrollHeight)}};mxEvent.addListener(q,"dragover",E);mxEvent.addListener(q,"drop",d);mxEvent.addListener(p,"dragover",E);mxEvent.addListener(p,"drop",d);f.appendChild(q);c=document.createElement("div");c.style.textAlign="right";c.style.marginTop="20px";e=mxUtils.button(mxResources.get("cancel"), +function(){b.hideDialog(!0)});e.setAttribute("id","btnCancel");e.className="geBtn";b.editor.cancelFirst&&c.appendChild(e);"draw.io"!=b.getServiceName()||null==l||l.constructor!=DriveLibrary&&l.constructor!=GitHubLibrary||(k=mxUtils.button(mxResources.get("link"),function(){b.spinner.spin(document.body,mxResources.get("loading"))&&l.getPublicUrl(function(u){b.spinner.stop();if(null!=u){var z=b.getSearch("create title mode url drive splash state clibs ui".split(" "));z+=(0==z.length?"?":"&")+"splash=0&clibs=U"+ +encodeURIComponent(u);u=new EmbedDialog(b,window.location.protocol+"//"+window.location.host+"/"+z,null,null,null,null,"Check out the library I made using @drawio");b.showDialog(u.container,450,240,!0);u.init()}else l.constructor==DriveLibrary?b.showError(mxResources.get("error"),mxResources.get("diagramIsNotPublic"),mxResources.get("share"),mxUtils.bind(this,function(){b.drive.showPermissions(l.getId())}),null,mxResources.get("ok"),mxUtils.bind(this,function(){})):b.handleError({message:mxResources.get("diagramIsNotPublic")})})}), +k.className="geBtn",c.appendChild(k));k=mxUtils.button(mxResources.get("export"),function(){var u=b.createLibraryDataFromImages(g),z=n.value;/(\.xml)$/i.test(z)||(z+=".xml");b.isLocalFileSave()?b.saveLocalFile(u,z,"text/xml",null,null,!0,null,"xml"):(new mxXmlRequest(SAVE_URL,"filename="+encodeURIComponent(z)+"&format=xml&xml="+encodeURIComponent(u))).simulate(document,"_blank")});k.setAttribute("id","btnDownload");k.className="geBtn";c.appendChild(k);if(Graph.fileSupport){if(null==b.libDlgFileInputElt){var S= +document.createElement("input");S.setAttribute("multiple","multiple");S.setAttribute("type","file");mxEvent.addListener(S,"change",function(u){M=!1;b.importFiles(S.files,0,0,b.maxImageSize,function(z,F,J,K,H,N,U,Q,V){null!=S.files&&(G(u)(z,F,J,K,H,N,U,Q,V),S.type="",S.type="file",S.value="")});q.scrollTop=q.scrollHeight});S.style.display="none";document.body.appendChild(S);b.libDlgFileInputElt=S}k=mxUtils.button(mxResources.get("import"),function(){null!=B&&(B(),B=null);b.libDlgFileInputElt.click()}); +k.setAttribute("id","btnAddImage");k.className="geBtn";c.appendChild(k)}k=mxUtils.button(mxResources.get("addImages"),function(){null!=B&&(B(),B=null);b.showImageDialog(mxResources.get("addImageUrl"),"",function(u,z,F){M=!1;if(null!=u){if("data:image/"==u.substring(0,11)){var J=u.indexOf(",");0=Na.getStatus()&& +(Ba=Na.getText());Ha(Ba)}))):Ha(Ba)}function Ea(sa,Ha,Na){if(null!=sa&&mxUtils.isAncestorNode(document.body,ia)&&(sa=mxUtils.parseXml(sa),sa=Editor.extractGraphModel(sa.documentElement,!0),null!=sa)){"mxfile"==sa.nodeName&&(sa=Editor.parseDiagramNode(sa.getElementsByTagName("diagram")[0]));var Ra=new mxCodec(sa.ownerDocument),Ia=new mxGraphModel;Ra.decode(sa,Ia);sa=Ia.root.getChildAt(0).children||[];b.sidebar.createTooltip(ia,sa,Math.min((window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)- +80,1E3),Math.min((window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight)-80,800),null!=ha.title?mxResources.get(ha.title,null,ha.title):null,!0,new mxPoint(Ha,Na),!0,null,!0);var Pa=document.createElement("div");Pa.className="geTempDlgDialogMask";Q.appendChild(Pa);var Qa=b.sidebar.hideTooltip;b.sidebar.hideTooltip=function(){Pa&&(Q.removeChild(Pa),Pa=null,Qa.apply(this,arguments),b.sidebar.hideTooltip=Qa)};mxEvent.addListener(Pa,"click",function(){b.sidebar.hideTooltip()})}} +var Ba=null;if(La||b.sidebar.currentElt==ia)b.sidebar.hideTooltip();else{var ua=function(sa){La&&b.sidebar.currentElt==ia&&Ea(sa,mxEvent.getClientX(va),mxEvent.getClientY(va));La=!1;pa.src="/images/icon-search.svg"};b.sidebar.hideTooltip();b.sidebar.currentElt=ia;La=!0;pa.src="/images/aui-wait.gif";ha.isExt?E(ha,ua,function(){y(mxResources.get("cantLoadPrev"));La=!1;pa.src="/images/icon-search.svg"}):za(ha.url,ua)}}function I(ha,ia,pa){if(null!=L){for(var va=L.className.split(" "),za=0;za=sa.getStatus()?va(sa.getText(),ua):za()})):va(b.emptyDiagramXml,ua)},va=function(ua,sa){p|| +b.hideDialog(!0);e(ua,sa,Ba,ia)},za=function(){y(mxResources.get("cannotLoad"));Ea()},Ea=function(){T=Ba;Ma.className="geTempDlgCreateBtn";ia&&(xa.className="geTempDlgOpenBtn")},Ba=T;T=null;"boolean"!==typeof ia&&(ia=Ba.isExternal&&k);1==ha?d(Ba.url,Ba):ia?(xa.className="geTempDlgOpenBtn geTempDlgBtnDisabled geTempDlgBtnBusy",pa()):(Ma.className="geTempDlgCreateBtn geTempDlgBtnDisabled geTempDlgBtnBusy",ha=null==b.mode||b.mode==App.MODE_GOOGLE||b.mode==App.MODE_BROWSER?mxResources.get("diagramName"): +mxResources.get("filename"),ha=new FilenameDialog(b,b.defaultFilename+".drawio",mxResources.get("ok"),pa,ha,function(ua){var sa=null!=ua&&0sa&&(ua=ua.substring(0,sa)+"…");if(pa){var Pa=document.createElement("tr");Na=document.createElement("td");var Qa=document.createElement("img");Qa.src="/images/icon-search.svg";Qa.className="geTempDlgDiagramListPreviewBtn";Qa.setAttribute("title",mxResources.get("preview"));za||Na.appendChild(Qa);Ha=document.createElement("span");Ha.className="geTempDlgDiagramTitle";Ha.innerHTML=ua;Na.appendChild(Ha);Pa.appendChild(Na);Na=document.createElement("td");Na.innerText=Ra;Pa.appendChild(Na); +Na=document.createElement("td");Na.innerText=Ia;Pa.appendChild(Na);Ea.appendChild(Pa);null==L&&(G(ia),I(Pa,"geTempDlgDiagramsListGridActive",ha[Ba]));(function(Ka,Ta,Va){mxEvent.addListener(Pa,"click",function(){L!=Ta&&(G(ia),I(Ta,"geTempDlgDiagramsListGridActive",Ka))});mxEvent.addListener(Pa,"dblclick",M);mxEvent.addListener(Qa,"click",function(Wa){B(Ka,Ta,Va,Wa)})})(ha[Ba],Pa,Qa)}else{var Oa=document.createElement("div");Oa.className="geTempDlgDiagramTile";Oa.setAttribute("title",Ha);null==L&& +(G(ia),I(Oa,"geTempDlgDiagramTileActive",ha[Ba]));Ra=document.createElement("div");Ra.className="geTempDlgDiagramTileImg geTempDlgDiagramTileImgLoading";var Sa=document.createElement("img");Sa.style.display="none";(function(Ka,Ta,Va){Sa.onload=function(){Ta.className="geTempDlgDiagramTileImg";Ka.style.display=""};Sa.onerror=function(){this.src!=Va?this.src=Va:Ta.className="geTempDlgDiagramTileImg geTempDlgDiagramTileImgError"}})(Sa,Ra,Na?Na.replace(".drawio.xml","").replace(".drawio","").replace(".xml", +""):"");Sa.src=Na;Ra.appendChild(Sa);Oa.appendChild(Ra);Ra=document.createElement("div");Ra.className="geTempDlgDiagramTileLbl";Ra.innerHTML=null!=ua?ua:"";Oa.appendChild(Ra);Qa=document.createElement("img");Qa.src="/images/icon-search.svg";Qa.className="geTempDlgDiagramPreviewBtn";Qa.setAttribute("title",mxResources.get("preview"));za||Oa.appendChild(Qa);(function(Ka,Ta,Va){mxEvent.addListener(Oa,"click",function(){L!=Ta&&(G(ia),I(Ta,"geTempDlgDiagramTileActive",Ka))});mxEvent.addListener(Oa,"dblclick", +M);mxEvent.addListener(Qa,"click",function(Wa){B(Ka,Ta,Va,Wa)})})(ha[Ba],Oa,Qa);ja.appendChild(Oa)}}for(var Ua in va)ha=va[Ua],0pa?pa:ha.length;for(var va=0;va
'+mxResources.get("newDiagram")+'
'+mxResources.get("showMore")+'
'+ mxResources.get("myDiagrams")+'
'+mxResources.get("allDiagrams")+'

'+ -(n?''+mxResources.get("linkToDiagramHint")+'":"")+(k?'
'+mxResources.get("open")+"
":"")+'
'+mxResources.get("create")+'
'+mxResources.get("cancel")+"
",T=document.createElement("div");T.innerHTML=U;T.className= -"geTemplateDlg";this.container=T;c=null!=c?c:TEMPLATE_PATH+"/index.xml";l=null!=l?l:NEW_DIAGRAM_CATS_PATH+"/index.xml";var V=!1,W=!1,t=null,C=null,N=null,R=null,O=!1,P=!0,S=!1,X=[],aa=null,Y,Z,ba=!1,ea=T.querySelector(".geTempDlgShowAllBtn"),ma=T.querySelector(".geTempDlgDiagramsTiles"),ia=T.querySelector(".geTempDlgDiagramsListTitle"),pa=T.querySelector(".geTempDlgDiagramsListBtns"),na=T.querySelector(".geTempDlgContent"),Fa=T.querySelector(".geTempDlgDiagramsList"),Ga=T.querySelector(".geTempDlgNewDiagramCat"), -xa=T.querySelector(".geTempDlgNewDiagramCatList"),Ma=T.querySelector(".geTempDlgCreateBtn"),va=T.querySelector(".geTempDlgOpenBtn"),Ea=T.querySelector(".geTempDlgSearchBox"),Ba=T.querySelector(".geTempDlgErrMsg"),za=new Spinner({lines:12,length:10,width:5,radius:10,rotate:0,color:"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"50px",zIndex:2E9});mxEvent.addListener(T.querySelector(".geTempDlgBack"),"click",function(){E();ba=!1;T.querySelector(".geTemplatesList").style.display="none";na.style.width= -"100%";Ga.style.display="";Fa.style.minHeight="calc(100% - 280px)";Ea.style.display=y?"":"none";Ea.value="";Y=null;L(P)});mxEvent.addListener(T.querySelector(".geTempDlgRadioBtn[data-id=allDiagramsBtn]"),"click",function(){z(this,"geTempDlgAllDiagramsBtnImg","all-diagrams","myDiagramsBtn","geTempDlgMyDiagramsBtnImg","my-diagrams",!0)&&(P=!0,null==Y?L(P):H(Y))});mxEvent.addListener(T.querySelector(".geTempDlgRadioBtn[data-id=myDiagramsBtn]"),"click",function(){z(this,"geTempDlgMyDiagramsBtnImg","my-diagrams", -"allDiagramsBtn","geTempDlgAllDiagramsBtnImg","all-diagrams",!0)&&(P=!1,null==Y?L(P):H(Y))});mxEvent.addListener(T.querySelector(".geTempDlgRadioBtn[data-id=listBtn]"),"click",function(){z(this,"geTempDlgListBtnImg","list","tilesBtn","geTempDlgTilesBtnImg","tiles",!1)&&(S=!0,u(X,!1,S,aa))});mxEvent.addListener(T.querySelector(".geTempDlgRadioBtn[data-id=tilesBtn]"),"click",function(){z(this,"geTempDlgTilesBtnImg","tiles","listBtn","geTempDlgListBtnImg","list",!1)&&(S=!1,u(X,!1,S,aa))});var Da=!1; -mxEvent.addListener(ea,"click",function(){O?(Ga.style.height="280px",xa.style.height="190px",ea.innerText=mxResources.get("showMore"),G(ta)):(Ga.style.height="440px",xa.style.height="355px",ea.innerText=mxResources.get("showLess"),G(ta,!0));O=!O});var la=!1,Ha=!1,ya={},Ia={},ka={},ta=[],ra=1,wa=0;null!=g?g(function(da,ha){ka=da;wa=ha;F()},F):F();mxUtils.get(l,function(da){if(!Ha){Ha=!0;for(da=da.getXml().documentElement.firstChild;null!=da;)"undefined"!==typeof da.getAttribute&&null!=da.getAttribute("title")&& -ta.push({img:da.getAttribute("img"),libs:da.getAttribute("libs"),clibs:da.getAttribute("clibs"),title:da.getAttribute("title")}),da=da.nextSibling;G(ta)}});var ca=function(da,ha,ja){pa.style.display="";za.stop();V=!1;if(W)W=!1;else if(ha)ma.innerText=ha;else{ja=ja||{};ha=0;for(var sa in ja)ha+=ja[sa].length;0==da.length&&0==ha?ma.innerText=mxResources.get("noDiagrams"):u(da,!1,S,0==ha?null:ja)}};L(P);var fa=null;mxEvent.addListener(Ea,"keyup",Q);mxEvent.addListener(Ea,"search",Q);mxEvent.addListener(Ea, -"input",Q);mxEvent.addListener(Ma,"click",function(da){M(!1,!1)});k&&mxEvent.addListener(va,"click",function(da){M(!1,!0)});n&&mxEvent.addListener(T.querySelector(".geTempDlgLinkToDiagramBtn"),"click",function(da){M(!0)});mxEvent.addListener(T.querySelector(".geTempDlgCancelBtn"),"click",function(){null!=f&&f();p||b.hideDialog(!0)})};TemplatesDialog.tagsList={}; -var BtnDialog=function(b,e,f,c){var l=document.createElement("div");l.style.textAlign="center";var m=document.createElement("p");m.style.fontSize="16pt";m.style.padding="0px";m.style.margin="0px";m.style.color="gray";mxUtils.write(m,mxResources.get("done"));var x="Unknown",y=document.createElement("img");y.setAttribute("border","0");y.setAttribute("align","absmiddle");y.style.marginRight="10px";e==b.drive?(x=mxResources.get("googleDrive"),y.src=IMAGE_PATH+"/google-drive-logo-white.svg"):e==b.dropbox? -(x=mxResources.get("dropbox"),y.src=IMAGE_PATH+"/dropbox-logo-white.svg"):e==b.oneDrive?(x=mxResources.get("oneDrive"),y.src=IMAGE_PATH+"/onedrive-logo-white.svg"):e==b.gitHub?(x=mxResources.get("github"),y.src=IMAGE_PATH+"/github-logo-white.svg"):e==b.gitLab?(x=mxResources.get("gitlab"),y.src=IMAGE_PATH+"/gitlab-logo.svg"):e==b.trello&&(x=mxResources.get("trello"),y.src=IMAGE_PATH+"/trello-logo-white.svg");b=document.createElement("p");mxUtils.write(b,mxResources.get("authorizedIn",[x],"You are now authorized in {1}")); -f=mxUtils.button(f,c);f.insertBefore(y,f.firstChild);f.style.marginTop="6px";f.className="geBigButton";f.style.fontSize="18px";f.style.padding="14px";l.appendChild(m);l.appendChild(b);l.appendChild(f);this.container=l},FontDialog=function(b,e,f,c,l){function m(J){this.style.border="";13==J.keyCode&&B.click()}var x=document.createElement("table"),y=document.createElement("tbody");x.style.marginTop="8px";var D=document.createElement("tr");var d=document.createElement("td");d.colSpan=2;d.style.whiteSpace= -"nowrap";d.style.fontSize="10pt";d.style.fontWeight="bold";var g=document.createElement("input");g.style.cssText="margin-right:8px;margin-bottom:8px;";g.setAttribute("value","sysfonts");g.setAttribute("type","radio");g.setAttribute("name","current-fontdialog");g.setAttribute("id","fontdialog-sysfonts");d.appendChild(g);var k=document.createElement("label");k.setAttribute("for","fontdialog-sysfonts");mxUtils.write(k,mxResources.get("sysFonts",null,"System Fonts"));d.appendChild(k);D.appendChild(d); -y.appendChild(D);D=document.createElement("tr");d=document.createElement("td");d.style.whiteSpace="nowrap";d.style.fontSize="10pt";d.style.width="120px";d.style.paddingLeft="15px";mxUtils.write(d,mxResources.get("fontname",null,"Font Name")+":");D.appendChild(d);var n=document.createElement("input");"s"==c&&n.setAttribute("value",e);n.style.marginLeft="4px";n.style.width="250px";n.className="dlg_fontName_s";d=document.createElement("td");d.appendChild(n);D.appendChild(d);y.appendChild(D);D=document.createElement("tr"); +(n?''+mxResources.get("linkToDiagramHint")+'":"")+(k?'
'+mxResources.get("open")+"
":"")+'
'+mxResources.get("create")+'
'+mxResources.get("cancel")+"
",Q=document.createElement("div");Q.innerHTML=U;Q.className= +"geTemplateDlg";this.container=Q;c=null!=c?c:TEMPLATE_PATH+"/index.xml";l=null!=l?l:NEW_DIAGRAM_CATS_PATH+"/index.xml";var V=!1,W=!1,t=null,D=null,L=null,T=null,O=!1,P=!0,R=!1,X=[],Z=null,Y,aa,ba=!1,ea=Q.querySelector(".geTempDlgShowAllBtn"),ja=Q.querySelector(".geTempDlgDiagramsTiles"),fa=Q.querySelector(".geTempDlgDiagramsListTitle"),ra=Q.querySelector(".geTempDlgDiagramsListBtns"),ma=Q.querySelector(".geTempDlgContent"),Ga=Q.querySelector(".geTempDlgDiagramsList"),Fa=Q.querySelector(".geTempDlgNewDiagramCat"), +ya=Q.querySelector(".geTempDlgNewDiagramCatList"),Ma=Q.querySelector(".geTempDlgCreateBtn"),xa=Q.querySelector(".geTempDlgOpenBtn"),Ca=Q.querySelector(".geTempDlgSearchBox"),oa=Q.querySelector(".geTempDlgErrMsg"),Aa=new Spinner({lines:12,length:10,width:5,radius:10,rotate:0,color:"#000",speed:1.5,trail:60,shadow:!1,hwaccel:!1,top:"50px",zIndex:2E9});mxEvent.addListener(Q.querySelector(".geTempDlgBack"),"click",function(){A();ba=!1;Q.querySelector(".geTemplatesList").style.display="none";ma.style.width= +"100%";Fa.style.display="";Ga.style.minHeight="calc(100% - 280px)";Ca.style.display=x?"":"none";Ca.value="";Y=null;J(P)});mxEvent.addListener(Q.querySelector(".geTempDlgRadioBtn[data-id=allDiagramsBtn]"),"click",function(){C(this,"geTempDlgAllDiagramsBtnImg","all-diagrams","myDiagramsBtn","geTempDlgMyDiagramsBtnImg","my-diagrams",!0)&&(P=!0,null==Y?J(P):H(Y))});mxEvent.addListener(Q.querySelector(".geTempDlgRadioBtn[data-id=myDiagramsBtn]"),"click",function(){C(this,"geTempDlgMyDiagramsBtnImg","my-diagrams", +"allDiagramsBtn","geTempDlgAllDiagramsBtnImg","all-diagrams",!0)&&(P=!1,null==Y?J(P):H(Y))});mxEvent.addListener(Q.querySelector(".geTempDlgRadioBtn[data-id=listBtn]"),"click",function(){C(this,"geTempDlgListBtnImg","list","tilesBtn","geTempDlgTilesBtnImg","tiles",!1)&&(R=!0,S(X,!1,R,Z))});mxEvent.addListener(Q.querySelector(".geTempDlgRadioBtn[data-id=tilesBtn]"),"click",function(){C(this,"geTempDlgTilesBtnImg","tiles","listBtn","geTempDlgListBtnImg","list",!1)&&(R=!1,S(X,!1,R,Z))});var La=!1;mxEvent.addListener(ea, +"click",function(){O?(Fa.style.height="280px",ya.style.height="190px",ea.innerText=mxResources.get("showMore"),u(da)):(Fa.style.height="440px",ya.style.height="355px",ea.innerText=mxResources.get("showLess"),u(da,!0));O=!O});var ta=!1,Da=!1,wa={},Ja={},ka={},da=[],ca=1,na=0;null!=g?g(function(ha,ia){ka=ha;na=ia;F()},F):F();mxUtils.get(l,function(ha){if(!Da){Da=!0;for(ha=ha.getXml().documentElement.firstChild;null!=ha;)"undefined"!==typeof ha.getAttribute&&null!=ha.getAttribute("title")&&da.push({img:ha.getAttribute("img"), +libs:ha.getAttribute("libs"),clibs:ha.getAttribute("clibs"),title:ha.getAttribute("title")}),ha=ha.nextSibling;u(da)}});var la=function(ha,ia,pa){ra.style.display="";Aa.stop();V=!1;if(W)W=!1;else if(ia)ja.innerText=ia;else{pa=pa||{};ia=0;for(var va in pa)ia+=pa[va].length;0==ha.length&&0==ia?ja.innerText=mxResources.get("noDiagrams"):S(ha,!1,R,0==ia?null:pa)}};J(P);var qa=null;mxEvent.addListener(Ca,"keyup",N);mxEvent.addListener(Ca,"search",N);mxEvent.addListener(Ca,"input",N);mxEvent.addListener(Ma, +"click",function(ha){M(!1,!1)});k&&mxEvent.addListener(xa,"click",function(ha){M(!1,!0)});n&&mxEvent.addListener(Q.querySelector(".geTempDlgLinkToDiagramBtn"),"click",function(ha){M(!0)});mxEvent.addListener(Q.querySelector(".geTempDlgCancelBtn"),"click",function(){null!=f&&f();p||b.hideDialog(!0)})};TemplatesDialog.tagsList={}; +var BtnDialog=function(b,e,f,c){var l=document.createElement("div");l.style.textAlign="center";var m=document.createElement("p");m.style.fontSize="16pt";m.style.padding="0px";m.style.margin="0px";m.style.color="gray";mxUtils.write(m,mxResources.get("done"));var v="Unknown",x=document.createElement("img");x.setAttribute("border","0");x.setAttribute("align","absmiddle");x.style.marginRight="10px";e==b.drive?(v=mxResources.get("googleDrive"),x.src=IMAGE_PATH+"/google-drive-logo-white.svg"):e==b.dropbox? +(v=mxResources.get("dropbox"),x.src=IMAGE_PATH+"/dropbox-logo-white.svg"):e==b.oneDrive?(v=mxResources.get("oneDrive"),x.src=IMAGE_PATH+"/onedrive-logo-white.svg"):e==b.gitHub?(v=mxResources.get("github"),x.src=IMAGE_PATH+"/github-logo-white.svg"):e==b.gitLab?(v=mxResources.get("gitlab"),x.src=IMAGE_PATH+"/gitlab-logo.svg"):e==b.trello&&(v=mxResources.get("trello"),x.src=IMAGE_PATH+"/trello-logo-white.svg");b=document.createElement("p");mxUtils.write(b,mxResources.get("authorizedIn",[v],"You are now authorized in {1}")); +f=mxUtils.button(f,c);f.insertBefore(x,f.firstChild);f.style.marginTop="6px";f.className="geBigButton";f.style.fontSize="18px";f.style.padding="14px";l.appendChild(m);l.appendChild(b);l.appendChild(f);this.container=l},FontDialog=function(b,e,f,c,l){function m(I){this.style.border="";13==I.keyCode&&B.click()}var v=document.createElement("table"),x=document.createElement("tbody");v.style.marginTop="8px";var E=document.createElement("tr");var d=document.createElement("td");d.colSpan=2;d.style.whiteSpace= +"nowrap";d.style.fontSize="10pt";d.style.fontWeight="bold";var g=document.createElement("input");g.style.cssText="margin-right:8px;margin-bottom:8px;";g.setAttribute("value","sysfonts");g.setAttribute("type","radio");g.setAttribute("name","current-fontdialog");g.setAttribute("id","fontdialog-sysfonts");d.appendChild(g);var k=document.createElement("label");k.setAttribute("for","fontdialog-sysfonts");mxUtils.write(k,mxResources.get("sysFonts",null,"System Fonts"));d.appendChild(k);E.appendChild(d); +x.appendChild(E);E=document.createElement("tr");d=document.createElement("td");d.style.whiteSpace="nowrap";d.style.fontSize="10pt";d.style.width="120px";d.style.paddingLeft="15px";mxUtils.write(d,mxResources.get("fontname",null,"Font Name")+":");E.appendChild(d);var n=document.createElement("input");"s"==c&&n.setAttribute("value",e);n.style.marginLeft="4px";n.style.width="250px";n.className="dlg_fontName_s";d=document.createElement("td");d.appendChild(n);E.appendChild(d);x.appendChild(E);E=document.createElement("tr"); d=document.createElement("td");d.colSpan=2;d.style.whiteSpace="nowrap";d.style.fontSize="10pt";d.style.fontWeight="bold";var q=document.createElement("input");q.style.cssText="margin-right:8px;margin-bottom:8px;";q.setAttribute("value","googlefonts");q.setAttribute("type","radio");q.setAttribute("name","current-fontdialog");q.setAttribute("id","fontdialog-googlefonts");d.appendChild(q);k=document.createElement("label");k.setAttribute("for","fontdialog-googlefonts");mxUtils.write(k,mxResources.get("googleFonts", -null,"Google Fonts"));d.appendChild(k);mxClient.IS_CHROMEAPP||b.isOffline()&&!EditorUi.isElectronApp||(k=b.menus.createHelpLink("https://fonts.google.com/"),k.getElementsByTagName("img")[0].setAttribute("valign","middle"),d.appendChild(k));D.appendChild(d);y.appendChild(D);D=document.createElement("tr");d=document.createElement("td");d.style.whiteSpace="nowrap";d.style.fontSize="10pt";d.style.width="120px";d.style.paddingLeft="15px";mxUtils.write(d,mxResources.get("fontname",null,"Font Name")+":"); -D.appendChild(d);var p=document.createElement("input");"g"==c&&p.setAttribute("value",e);p.style.marginLeft="4px";p.style.width="250px";p.className="dlg_fontName_g";d=document.createElement("td");d.appendChild(p);D.appendChild(d);y.appendChild(D);D=document.createElement("tr");d=document.createElement("td");d.colSpan=2;d.style.whiteSpace="nowrap";d.style.fontSize="10pt";d.style.fontWeight="bold";var A=document.createElement("input");A.style.cssText="margin-right:8px;margin-bottom:8px;";A.setAttribute("value", -"webfonts");A.setAttribute("type","radio");A.setAttribute("name","current-fontdialog");A.setAttribute("id","fontdialog-webfonts");d.appendChild(A);k=document.createElement("label");k.setAttribute("for","fontdialog-webfonts");mxUtils.write(k,mxResources.get("webfonts",null,"Web Fonts"));d.appendChild(k);D.appendChild(d);Editor.enableWebFonts&&y.appendChild(D);D=document.createElement("tr");d=document.createElement("td");d.style.whiteSpace="nowrap";d.style.fontSize="10pt";d.style.width="120px";d.style.paddingLeft= -"15px";mxUtils.write(d,mxResources.get("fontname",null,"Font Name")+":");D.appendChild(d);var E=document.createElement("input");"w"==c&&(Editor.enableWebFonts?E.setAttribute("value",e):n.setAttribute("value",e));E.style.marginLeft="4px";E.style.width="250px";E.className="dlg_fontName_w";d=document.createElement("td");d.appendChild(E);D.appendChild(d);Editor.enableWebFonts&&y.appendChild(D);D=document.createElement("tr");d=document.createElement("td");d.style.whiteSpace="nowrap";d.style.fontSize="10pt"; -d.style.width="120px";d.style.paddingLeft="15px";mxUtils.write(d,mxResources.get("fontUrl",null,"Font URL")+":");D.appendChild(d);var z=document.createElement("input");z.setAttribute("value",f||"");z.style.marginLeft="4px";z.style.width="250px";z.className="dlg_fontUrl";d=document.createElement("td");d.appendChild(z);D.appendChild(d);Editor.enableWebFonts&&y.appendChild(D);this.init=function(){var J=n;"g"==c?J=p:"w"==c&&Editor.enableWebFonts&&(J=E);J.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode? -J.select():document.execCommand("selectAll",!1,null)};D=document.createElement("tr");d=document.createElement("td");d.colSpan=2;d.style.paddingTop="20px";d.style.whiteSpace="nowrap";d.setAttribute("align","right");b.isOffline()||(e=mxUtils.button(mxResources.get("help"),function(){b.openLink("https://www.diagrams.net/blog/external-fonts")}),e.className="geBtn",d.appendChild(e));e=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog();l()});e.className="geBtn";b.editor.cancelFirst&&d.appendChild(e); -var B=mxUtils.button(mxResources.get("apply"),function(){if(g.checked){var J=n.value;var M="s"}else if(q.checked){J=p.value;var v=Editor.GOOGLE_FONTS+encodeURIComponent(J).replace(/%20/g,"+");M="g"}else A.checked&&(J=E.value,v=z.value,M="w");var u=v;var G=M,I=/(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/;null==J||0==J.length?(x.querySelector(".dlg_fontName_"+G).style.border="1px solid red",u=!1):"w"!=G||I.test(u)?u=!0:(x.querySelector(".dlg_fontUrl").style.border= -"1px solid red",u=!1);u&&(l(J,v,M),b.hideDialog())});B.className="geBtn gePrimaryBtn";mxEvent.addListener(n,"keypress",m);mxEvent.addListener(p,"keypress",m);mxEvent.addListener(E,"keypress",m);mxEvent.addListener(z,"keypress",m);mxEvent.addListener(n,"focus",function(){g.setAttribute("checked","checked");g.checked=!0});mxEvent.addListener(p,"focus",function(){q.setAttribute("checked","checked");q.checked=!0});mxEvent.addListener(E,"focus",function(){A.setAttribute("checked","checked");A.checked= -!0});mxEvent.addListener(z,"focus",function(){A.setAttribute("checked","checked");A.checked=!0});d.appendChild(B);b.editor.cancelFirst||d.appendChild(e);D.appendChild(d);y.appendChild(D);x.appendChild(y);this.container=x}; +null,"Google Fonts"));d.appendChild(k);mxClient.IS_CHROMEAPP||b.isOffline()&&!EditorUi.isElectronApp||(k=b.menus.createHelpLink("https://fonts.google.com/"),k.getElementsByTagName("img")[0].setAttribute("valign","middle"),d.appendChild(k));E.appendChild(d);x.appendChild(E);E=document.createElement("tr");d=document.createElement("td");d.style.whiteSpace="nowrap";d.style.fontSize="10pt";d.style.width="120px";d.style.paddingLeft="15px";mxUtils.write(d,mxResources.get("fontname",null,"Font Name")+":"); +E.appendChild(d);var p=document.createElement("input");"g"==c&&p.setAttribute("value",e);p.style.marginLeft="4px";p.style.width="250px";p.className="dlg_fontName_g";d=document.createElement("td");d.appendChild(p);E.appendChild(d);x.appendChild(E);E=document.createElement("tr");d=document.createElement("td");d.colSpan=2;d.style.whiteSpace="nowrap";d.style.fontSize="10pt";d.style.fontWeight="bold";var y=document.createElement("input");y.style.cssText="margin-right:8px;margin-bottom:8px;";y.setAttribute("value", +"webfonts");y.setAttribute("type","radio");y.setAttribute("name","current-fontdialog");y.setAttribute("id","fontdialog-webfonts");d.appendChild(y);k=document.createElement("label");k.setAttribute("for","fontdialog-webfonts");mxUtils.write(k,mxResources.get("webfonts",null,"Web Fonts"));d.appendChild(k);E.appendChild(d);Editor.enableWebFonts&&x.appendChild(E);E=document.createElement("tr");d=document.createElement("td");d.style.whiteSpace="nowrap";d.style.fontSize="10pt";d.style.width="120px";d.style.paddingLeft= +"15px";mxUtils.write(d,mxResources.get("fontname",null,"Font Name")+":");E.appendChild(d);var A=document.createElement("input");"w"==c&&(Editor.enableWebFonts?A.setAttribute("value",e):n.setAttribute("value",e));A.style.marginLeft="4px";A.style.width="250px";A.className="dlg_fontName_w";d=document.createElement("td");d.appendChild(A);E.appendChild(d);Editor.enableWebFonts&&x.appendChild(E);E=document.createElement("tr");d=document.createElement("td");d.style.whiteSpace="nowrap";d.style.fontSize="10pt"; +d.style.width="120px";d.style.paddingLeft="15px";mxUtils.write(d,mxResources.get("fontUrl",null,"Font URL")+":");E.appendChild(d);var C=document.createElement("input");C.setAttribute("value",f||"");C.style.marginLeft="4px";C.style.width="250px";C.className="dlg_fontUrl";d=document.createElement("td");d.appendChild(C);E.appendChild(d);Editor.enableWebFonts&&x.appendChild(E);this.init=function(){var I=n;"g"==c?I=p:"w"==c&&Editor.enableWebFonts&&(I=A);I.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode? +I.select():document.execCommand("selectAll",!1,null)};E=document.createElement("tr");d=document.createElement("td");d.colSpan=2;d.style.paddingTop="20px";d.style.whiteSpace="nowrap";d.setAttribute("align","right");b.isOffline()||(e=mxUtils.button(mxResources.get("help"),function(){b.openLink("https://www.diagrams.net/blog/external-fonts")}),e.className="geBtn",d.appendChild(e));e=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog();l()});e.className="geBtn";b.editor.cancelFirst&&d.appendChild(e); +var B=mxUtils.button(mxResources.get("apply"),function(){if(g.checked){var I=n.value;var M="s"}else if(q.checked){I=p.value;var G=Editor.GOOGLE_FONTS+encodeURIComponent(I).replace(/%20/g,"+");M="g"}else y.checked&&(I=A.value,G=C.value,M="w");var S=G;var u=M,z=/(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/;null==I||0==I.length?(v.querySelector(".dlg_fontName_"+u).style.border="1px solid red",S=!1):"w"!=u||z.test(S)?S=!0:(v.querySelector(".dlg_fontUrl").style.border= +"1px solid red",S=!1);S&&(l(I,G,M),b.hideDialog())});B.className="geBtn gePrimaryBtn";mxEvent.addListener(n,"keypress",m);mxEvent.addListener(p,"keypress",m);mxEvent.addListener(A,"keypress",m);mxEvent.addListener(C,"keypress",m);mxEvent.addListener(n,"focus",function(){g.setAttribute("checked","checked");g.checked=!0});mxEvent.addListener(p,"focus",function(){q.setAttribute("checked","checked");q.checked=!0});mxEvent.addListener(A,"focus",function(){y.setAttribute("checked","checked");y.checked= +!0});mxEvent.addListener(C,"focus",function(){y.setAttribute("checked","checked");y.checked=!0});d.appendChild(B);b.editor.cancelFirst||d.appendChild(e);E.appendChild(d);x.appendChild(E);v.appendChild(x);this.container=v}; function AspectDialog(b,e,f,c,l){this.aspect={pageId:e||(b.pages?b.pages[0].getId():null),layerIds:f||[]};e=document.createElement("div");var m=document.createElement("h5");m.style.margin="0 0 10px";mxUtils.write(m,mxResources.get("pages"));e.appendChild(m);f=document.createElement("div");f.className="geAspectDlgList";e.appendChild(f);m=document.createElement("h5");m.style.margin="0 0 10px";mxUtils.write(m,mxResources.get("layers"));e.appendChild(m);m=document.createElement("div");m.className="geAspectDlgList"; -e.appendChild(m);this.pagesContainer=f;this.layersContainer=m;this.ui=b;f=document.createElement("div");f.style.marginTop="16px";f.style.textAlign="center";m=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog();null!=l&&l()});m.className="geBtn";b.editor.cancelFirst&&f.appendChild(m);var x=mxUtils.button(mxResources.get("ok"),mxUtils.bind(this,function(){b.hideDialog();c({pageId:this.selectedPage,layerIds:Object.keys(this.selectedLayers)})}));f.appendChild(x);x.className="geBtn gePrimaryBtn"; -b.editor.cancelFirst||f.appendChild(m);x.setAttribute("disabled","disabled");this.okBtn=x;e.appendChild(f);this.container=e}AspectDialog.prototype.init=function(){var b=this.ui.getFileData(!0);if(this.ui.pages)for(b=0;b
'+mxUtils.htmlEntities(e)+"
";this.pagesContainer.appendChild(c);var l=this.createViewer(c.childNodes[0],f);e=mxUtils.bind(this,function(){null!=this.selectedItem&&(this.selectedItem.className="geAspectDlgListItem");this.selectedItem=c; -this.selectedPage=b;c.className+=" geAspectDlgListItemSelected";this.layersContainer.innerText="";this.selectedLayers={};this.okBtn.setAttribute("disabled","disabled");var m=l.model;m=m.getChildCells(m.getRoot());for(var x=0;x
'+mxUtils.htmlEntities(e)+"
";this.layersContainer.appendChild(l);this.createViewer(l.childNodes[0],c,b.id);c=mxUtils.bind(this,function(){0<=l.className.indexOf("geAspectDlgListItemSelected")? (l.className="geAspectDlgListItem",delete this.selectedLayers[b.id],mxUtils.isEmptyObject(this.selectedLayers)&&this.okBtn.setAttribute("disabled","disabled")):(l.className+=" geAspectDlgListItemSelected",this.selectedLayers[b.id]=!0,this.okBtn.removeAttribute("disabled"))});mxEvent.addListener(l,"click",c);-1!=this.aspect.layerIds.indexOf(b.id)&&c()}; -var FilePropertiesDialog=function(b){var e=document.createElement("table"),f=document.createElement("tbody");e.style.width="100%";e.style.marginTop="8px";var c=b.getCurrentFile();var l=null!=c&&null!=c.getTitle()?c.getTitle():b.defaultFilename;var m=function(){};if(/(\.png)$/i.test(l)){m=1;var x=0;l=b.fileNode;null!=l&&(l.hasAttribute("scale")&&(m=parseFloat(l.getAttribute("scale"))),l.hasAttribute("border")&&(x=parseInt(l.getAttribute("border"))));l=document.createElement("tr");var y=document.createElement("td"); -y.style.whiteSpace="nowrap";y.style.fontSize="10pt";y.style.width="120px";mxUtils.write(y,mxResources.get("zoom")+":");l.appendChild(y);var D=document.createElement("input");D.setAttribute("value",100*m+"%");D.style.marginLeft="4px";D.style.width="180px";y=document.createElement("td");y.style.whiteSpace="nowrap";y.appendChild(D);l.appendChild(y);f.appendChild(l);l=document.createElement("tr");y=document.createElement("td");y.style.whiteSpace="nowrap";y.style.fontSize="10pt";y.style.width="120px"; -mxUtils.write(y,mxResources.get("borderWidth")+":");l.appendChild(y);var d=document.createElement("input");d.setAttribute("value",x);d.style.marginLeft="4px";d.style.width="180px";y=document.createElement("td");y.style.whiteSpace="nowrap";y.appendChild(d);l.appendChild(y);f.appendChild(l);this.init=function(){D.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?D.select():document.execCommand("selectAll",!1,null)};m=function(){null!=b.fileNode&&(b.fileNode.setAttribute("scale",Math.max(0, -parseInt(D.value)/100)),b.fileNode.setAttribute("border",Math.max(0,parseInt(d.value))),null!=c&&c.fileChanged());b.hideDialog()}}else if(!/(\.html)$/i.test(l)&&!/(\.svg)$/i.test(l)){var g=null!=c?c.isCompressed():Editor.compressXml;l=document.createElement("tr");y=document.createElement("td");y.style.whiteSpace="nowrap";y.style.fontSize="10pt";y.style.width="120px";mxUtils.write(y,mxResources.get("compressed")+":");l.appendChild(y);var k=document.createElement("input");k.setAttribute("type","checkbox"); -g&&(k.setAttribute("checked","checked"),k.defaultChecked=!0);y=document.createElement("td");y.style.whiteSpace="nowrap";y.appendChild(k);l.appendChild(y);f.appendChild(l);this.init=function(){k.focus()};m=function(){null!=b.fileNode&&g!=k.checked&&(b.fileNode.setAttribute("compressed",k.checked?"true":"false"),null!=c&&c.fileChanged());b.hideDialog()}}if(null!=c&&c.isRealtimeOptional()){l=document.createElement("tr");y=document.createElement("td");y.style.whiteSpace="nowrap";y.style.fontSize="10pt"; -y.style.width="120px";mxUtils.write(y,mxResources.get("realtimeCollaboration")+":");l.appendChild(y);var n=document.createElement("input");n.setAttribute("type","checkbox");var q=c.isRealtimeEnabled();if(q="disabled"!=b.drive.getCustomProperty(c.desc,"collaboration"))n.setAttribute("checked","checked"),n.defaultChecked=!0;prevApply=m;m=function(){prevApply();b.hideDialog();n.checked!=q&&b.spinner.spin(document.body,mxResources.get("updatingDocument"))&&c.setRealtimeEnabled(n.checked,mxUtils.bind(this, -function(p){b.spinner.stop()}),mxUtils.bind(this,function(p){b.spinner.stop();b.showError(mxResources.get("error"),null!=p&&null!=p.error?p.error.message:mxResources.get("unknownError"),mxResources.get("ok"))}))};this.init=null!=this.init?this.init:function(){n.focus()};y=document.createElement("td");y.style.whiteSpace="nowrap";y.appendChild(n);y.appendChild(b.menus.createHelpLink("https://github.com/jgraph/drawio/discussions/2672"));l.appendChild(y);f.appendChild(l)}this.init=null!=this.init?this.init: -function(){};m=mxUtils.button(mxResources.get("apply"),m);m.className="geBtn gePrimaryBtn";l=document.createElement("tr");y=document.createElement("td");y.colSpan=2;y.style.paddingTop="20px";y.style.whiteSpace="nowrap";y.setAttribute("align","center");x=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});x.className="geBtn";b.editor.cancelFirst&&y.appendChild(x);y.appendChild(m);b.editor.cancelFirst||y.appendChild(x);l.appendChild(y);f.appendChild(l);e.appendChild(f);this.container= -e},ConnectionPointsDialog=function(b,e){function f(){null!=l&&l.destroy()}var c=document.createElement("div");c.style.userSelect="none";var l=null;this.init=function(){function m(K,H){K=new mxCell("",new mxGeometry(K,H,6,6),"shape=mxgraph.basic.x;fillColor=#29b6f2;strokeColor=#29b6f2;points=[];rotatable=0;resizable=0;connectable=0;editable=0;");K.vertex=!0;K.cp=!0;return k.addCell(K)}function x(K){K=k.getSelectionCells();k.deleteCells(K)}function y(){var K=parseInt(G.value)||0;K=0>K?0:100H?0:100T?(H=T*U.width,T=0):1K?(Q=K*U.height,K=0):1K?0:100H?0:100Q?(H=Q*U.width,Q=0):1K?(N=K*U.height,K=0):1K?1:100K?1:100');Editor.configurationKey=".configuration";Editor.settingsKey=".drawio-config";Editor.defaultCustomLibraries=[];Editor.enableCustomLibraries=!0;Editor.enableCustomProperties=!0;Editor.defaultIncludeDiagram=!0;Editor.enableServiceWorker= "0"!=urlParams.pwa&&"serviceWorker"in navigator&&("1"==urlParams.offline||/.*\.diagrams\.net$/.test(window.location.hostname)||/.*\.draw\.io$/.test(window.location.hostname));Editor.enableWebFonts="1"!=urlParams["safe-style-src"];Editor.enableShadowOption=!mxClient.IS_SF;Editor.enableExportUrl=!0;Editor.enableRealtime=!0;Editor.compressXml=!0;Editor.oneDriveInlinePicker=null!=window.urlParams&&"0"==window.urlParams.inlinePicker?!1:!0;Editor.globalVars=null;Editor.config=null;Editor.configVersion= -null;Editor.defaultBorder=5;Editor.commonProperties=[{name:"enumerate",dispName:"Enumerate",type:"bool",defVal:!1,onChange:function(t){t.refresh()}},{name:"enumerateValue",dispName:"Enumerate Value",type:"string",defVal:"",isVisible:function(t,C){return"1"==mxUtils.getValue(t.style,"enumerate","0")}},{name:"comic",dispName:"Comic",type:"bool",defVal:!1,isVisible:function(t,C){return"1"!=mxUtils.getValue(t.style,"sketch","0")}},{name:"jiggle",dispName:"Jiggle",type:"float",min:0,defVal:1,isVisible:function(t, -C){return"1"==mxUtils.getValue(t.style,"comic","0")||"1"==mxUtils.getValue(t.style,"sketch","1"==urlParams.rough?"1":"0")}},{name:"fillWeight",dispName:"Fill Weight",type:"int",defVal:-1,isVisible:function(t,C){return"1"==mxUtils.getValue(t.style,"sketch","1"==urlParams.rough?"1":"0")&&0%position%
Email\n#\n## Node style (placeholders are replaced once).\n## Default is the current style for nodes.\n#\n# style: label;image=%image%;whiteSpace=wrap;html=1;rounded=1;fillColor=%fill%;strokeColor=%stroke%;\n#\n## Parent style for nodes with child nodes (placeholders are replaced once).\n#\n# parentstyle: swimlane;whiteSpace=wrap;html=1;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;\n#\n## Style to be used for objects not in the CSV. If this is - then such objects are ignored,\n## else they are created using this as their style, eg. whiteSpace=wrap;html=1;\n#\n# unknownStyle: -\n#\n## Optional column name that contains a reference to a named style in styles.\n## Default is the current style for nodes.\n#\n# stylename: -\n#\n## JSON for named styles of the form {"name": "style", "name": "style"} where style is a cell style with\n## placeholders that are replaced once.\n#\n# styles: -\n#\n## JSON for variables in styles of the form {"name": "value", "name": "value"} where name is a string\n## that will replace a placeholder in a style.\n#\n# vars: -\n#\n## Optional column name that contains a reference to a named label in labels.\n## Default is the current label.\n#\n# labelname: -\n#\n## JSON for named labels of the form {"name": "label", "name": "label"} where label is a cell label with\n## placeholders.\n#\n# labels: -\n#\n## Uses the given column name as the identity for cells (updates existing cells).\n## Default is no identity (empty value or -).\n#\n# identity: -\n#\n## Uses the given column name as the parent reference for cells. Default is no parent (empty or -).\n## The identity above is used for resolving the reference so it must be specified.\n#\n# parent: -\n#\n## Adds a prefix to the identity of cells to make sure they do not collide with existing cells (whose\n## IDs are numbers from 0..n, sometimes with a GUID prefix in the context of realtime collaboration).\n## Default is csvimport-.\n#\n# namespace: csvimport-\n#\n## Connections between rows ("from": source colum, "to": target column).\n## Label, style and invert are optional. Defaults are \'\', current style and false.\n## If placeholders are used in the style, they are replaced with data from the source.\n## An optional placeholders can be set to target to use data from the target instead.\n## In addition to label, an optional fromlabel and tolabel can be used to name the column\n## that contains the text for the label in the edges source or target (invert ignored).\n## In addition to those, an optional source and targetlabel can be used to specify a label\n## that contains placeholders referencing the respective columns in the source or target row.\n## The label is created in the form fromlabel + sourcelabel + label + tolabel + targetlabel.\n## Additional labels can be added by using an optional labels array with entries of the\n## form {"label": string, "x": number, "y": number, "dx": number, "dy": number} where\n## x is from -1 to 1 along the edge, y is orthogonal, and dx/dy are offsets in pixels.\n## An optional placeholders with the string value "source" or "target" can be specified\n## to replace placeholders in the additional label with data from the source or target.\n## The target column may contain a comma-separated list of values.\n## Multiple connect entries are allowed.\n#\n# connect: {"from": "manager", "to": "name", "invert": true, "label": "manages", \\\n# "style": "curved=1;endArrow=blockThin;endFill=1;fontSize=11;"}\n# connect: {"from": "refs", "to": "id", "style": "curved=1;fontSize=11;"}\n#\n## Node x-coordinate. Possible value is a column name. Default is empty. Layouts will\n## override this value.\n#\n# left: \n#\n## Node y-coordinate. Possible value is a column name. Default is empty. Layouts will\n## override this value.\n#\n# top: \n#\n## Node width. Possible value is a number (in px), auto or an @ sign followed by a column\n## name that contains the value for the width. Default is auto.\n#\n# width: auto\n#\n## Node height. Possible value is a number (in px), auto or an @ sign followed by a column\n## name that contains the value for the height. Default is auto.\n#\n# height: auto\n#\n## Collapsed state for vertices. Possible values are true or false. Default is false.\n#\n# collapsed: false\n#\n## Padding for autosize. Default is 0.\n#\n# padding: -12\n#\n## Comma-separated list of ignored columns for metadata. (These can be\n## used for connections and styles but will not be added as metadata.)\n#\n# ignore: id,image,fill,stroke,refs,manager\n#\n## Column to be renamed to link attribute (used as link).\n#\n# link: url\n#\n## Spacing between nodes. Default is 40.\n#\n# nodespacing: 40\n#\n## Spacing between levels of hierarchical layouts. Default is 100.\n#\n# levelspacing: 100\n#\n## Spacing between parallel edges. Default is 40. Use 0 to disable.\n#\n# edgespacing: 40\n#\n## Name or JSON of layout. Possible values are auto, none, verticaltree, horizontaltree,\n## verticalflow, horizontalflow, organic, circle, orgchart or a JSON string as used in\n## Layout, Apply. Default is auto.\n#\n# layout: auto\n#\n## ---- CSV below this line. First line are column names. ----\nname,position,id,location,manager,email,fill,stroke,refs,url,image\nTessa Miller,CFO,emi,Office 1,,me@example.com,#dae8fc,#6c8ebf,,https://www.draw.io,https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-3-128.png\nEdward Morrison,Brand Manager,emo,Office 2,Tessa Miller,me@example.com,#d5e8d4,#82b366,,https://www.draw.io,https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-10-3-128.png\nAlison Donovan,System Admin,rdo,Office 3,Tessa Miller,me@example.com,#d5e8d4,#82b366,"emo,tva",https://www.draw.io,https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-2-128.png\nEvan Valet,HR Director,tva,Office 4,Tessa Miller,me@example.com,#d5e8d4,#82b366,,https://www.draw.io,https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-9-2-128.png\n'; -Editor.createRoughCanvas=function(t){var C=rough.canvas({getContext:function(){return t}});C.draw=function(N){var R=N.sets||[];N=N.options||this.getDefaultOptions();for(var O=0;OY&&(Y=O.strokeWidth/2);t.setStrokeAlpha(t.state.fillAlpha);t.setStrokeColor(O.fill||"");t.setStrokeWidth(Y);t.setDashed(!1);this._drawToContext(N,R,O);t.setDashed(aa);t.setStrokeWidth(S);t.setStrokeColor(P);t.setStrokeAlpha(X)};C._drawToContext=function(N,R,O){N.begin();for(var P=0;P%position%
Email\n#\n## Node style (placeholders are replaced once).\n## Default is the current style for nodes.\n#\n# style: label;image=%image%;whiteSpace=wrap;html=1;rounded=1;fillColor=%fill%;strokeColor=%stroke%;\n#\n## Parent style for nodes with child nodes (placeholders are replaced once).\n#\n# parentstyle: swimlane;whiteSpace=wrap;html=1;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;\n#\n## Style to be used for objects not in the CSV. If this is - then such objects are ignored,\n## else they are created using this as their style, eg. whiteSpace=wrap;html=1;\n#\n# unknownStyle: -\n#\n## Optional column name that contains a reference to a named style in styles.\n## Default is the current style for nodes.\n#\n# stylename: -\n#\n## JSON for named styles of the form {"name": "style", "name": "style"} where style is a cell style with\n## placeholders that are replaced once.\n#\n# styles: -\n#\n## JSON for variables in styles of the form {"name": "value", "name": "value"} where name is a string\n## that will replace a placeholder in a style.\n#\n# vars: -\n#\n## Optional column name that contains a reference to a named label in labels.\n## Default is the current label.\n#\n# labelname: -\n#\n## JSON for named labels of the form {"name": "label", "name": "label"} where label is a cell label with\n## placeholders.\n#\n# labels: -\n#\n## Uses the given column name as the identity for cells (updates existing cells).\n## Default is no identity (empty value or -).\n#\n# identity: -\n#\n## Uses the given column name as the parent reference for cells. Default is no parent (empty or -).\n## The identity above is used for resolving the reference so it must be specified.\n#\n# parent: -\n#\n## Adds a prefix to the identity of cells to make sure they do not collide with existing cells (whose\n## IDs are numbers from 0..n, sometimes with a GUID prefix in the context of realtime collaboration).\n## Default is csvimport-.\n#\n# namespace: csvimport-\n#\n## Connections between rows ("from": source colum, "to": target column).\n## Label, style and invert are optional. Defaults are \'\', current style and false.\n## If placeholders are used in the style, they are replaced with data from the source.\n## An optional placeholders can be set to target to use data from the target instead.\n## In addition to label, an optional fromlabel and tolabel can be used to name the column\n## that contains the text for the label in the edges source or target (invert ignored).\n## In addition to those, an optional source and targetlabel can be used to specify a label\n## that contains placeholders referencing the respective columns in the source or target row.\n## The label is created in the form fromlabel + sourcelabel + label + tolabel + targetlabel.\n## Additional labels can be added by using an optional labels array with entries of the\n## form {"label": string, "x": number, "y": number, "dx": number, "dy": number} where\n## x is from -1 to 1 along the edge, y is orthogonal, and dx/dy are offsets in pixels.\n## An optional placeholders with the string value "source" or "target" can be specified\n## to replace placeholders in the additional label with data from the source or target.\n## The target column may contain a comma-separated list of values.\n## Multiple connect entries are allowed.\n#\n# connect: {"from": "manager", "to": "name", "invert": true, "label": "manages", \\\n# "style": "curved=1;endArrow=blockThin;endFill=1;fontSize=11;"}\n# connect: {"from": "refs", "to": "id", "style": "curved=1;fontSize=11;"}\n#\n## Node x-coordinate. Possible value is a column name. Default is empty. Layouts will\n## override this value.\n#\n# left: \n#\n## Node y-coordinate. Possible value is a column name. Default is empty. Layouts will\n## override this value.\n#\n# top: \n#\n## Node width. Possible value is a number (in px), auto or an @ sign followed by a column\n## name that contains the value for the width. Default is auto.\n#\n# width: auto\n#\n## Node height. Possible value is a number (in px), auto or an @ sign followed by a column\n## name that contains the value for the height. Default is auto.\n#\n# height: auto\n#\n## Collapsed state for vertices. Possible values are true or false. Default is false.\n#\n# collapsed: false\n#\n## Padding for autosize. Default is 0.\n#\n# padding: -12\n#\n## Comma-separated list of ignored columns for metadata. (These can be\n## used for connections and styles but will not be added as metadata.)\n#\n# ignore: id,image,fill,stroke,refs,manager\n#\n## Column to be renamed to link attribute (used as link).\n#\n# link: url\n#\n## Spacing between nodes. Default is 40.\n#\n# nodespacing: 40\n#\n## Spacing between levels of hierarchical layouts. Default is 100.\n#\n# levelspacing: 100\n#\n## Spacing between parallel edges. Default is 40. Use 0 to disable.\n#\n# edgespacing: 40\n#\n## Name or JSON of layout. Possible values are auto, none, verticaltree, horizontaltree,\n## verticalflow, horizontalflow, organic, circle, orgchart or a JSON string as used in\n## Layout, Apply. Default is auto.\n#\n# layout: auto\n#\n## ---- CSV below this line. First line are column names. ----\nname,position,id,location,manager,email,fill,stroke,refs,url,image\nTessa Miller,CFO,emi,Office 1,,me@example.com,#dae8fc,#6c8ebf,,https://www.draw.io,https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-3-128.png\nEdward Morrison,Brand Manager,emo,Office 2,Tessa Miller,me@example.com,#d5e8d4,#82b366,,https://www.draw.io,https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-10-3-128.png\nAlison Donovan,System Admin,rdo,Office 3,Tessa Miller,me@example.com,#d5e8d4,#82b366,"emo,tva",https://www.draw.io,https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-2-128.png\nEvan Valet,HR Director,tva,Office 4,Tessa Miller,me@example.com,#d5e8d4,#82b366,,https://www.draw.io,https://cdn3.iconfinder.com/data/icons/user-avatars-1/512/users-9-2-128.png\n'; +Editor.createRoughCanvas=function(t){var D=rough.canvas({getContext:function(){return t}});D.draw=function(L){var T=L.sets||[];L=L.options||this.getDefaultOptions();for(var O=0;OY&&(Y=O.strokeWidth/2);t.setStrokeAlpha(t.state.fillAlpha);t.setStrokeColor(O.fill||"");t.setStrokeWidth(Y);t.setDashed(!1);this._drawToContext(L,T,O);t.setDashed(Z);t.setStrokeWidth(R);t.setStrokeColor(P);t.setStrokeAlpha(X)};D._drawToContext=function(L,T,O){L.begin();for(var P=0;PO){N=t.substring(O,aa);break}}10==X&&("endobj"==C?S=null:"obj"==C.substring(C.length-3,C.length)||"xref"==C||"trailer"==C?(S=[],P[C.split(" ")[0]]=S):null!=S&&S.push(C), -C="")}null==N&&(N=Editor.extractGraphModelFromXref(P));null!=N&&(N=decodeURIComponent(N.replace(/\\\(/g,"(").replace(/\\\)/g,")")));return N};Editor.extractGraphModelFromXref=function(t){var C=t.trailer,N=null;null!=C&&(C=/.* \/Info (\d+) (\d+) R/g.exec(C.join("\n")),null!=C&&0O){L=t.substring(O,Z);break}}10==X&&("endobj"==D?R=null:"obj"==D.substring(D.length-3,D.length)||"xref"==D||"trailer"==D?(R=[],P[D.split(" ")[0]]=R):null!=R&&R.push(D),D="")}null==L&&(L= +Editor.extractGraphModelFromXref(P));null!=L&&(L=decodeURIComponent(L.replace(/\\\(/g,"(").replace(/\\\)/g,")")));return L};Editor.extractGraphModelFromXref=function(t){var D=t.trailer,L=null;null!=D&&(D=/.* \/Info (\d+) (\d+) R/g.exec(D.join("\n")),null!=D&&0 1 expected for zoomFactor"));null!=t.gridSteps&&(C=parseInt(t.gridSteps),!isNaN(C)&&0 0 expected for gridSteps")); -null!=t.pageFormat&&(C=parseInt(t.pageFormat.width),N=parseInt(t.pageFormat.height),!isNaN(C)&&0 0 expected for sidebarTitleSize"));t.fontCss&&("string"===typeof t.fontCss?Editor.configureFontCss(t.fontCss):EditorUi.debug("Configuration Error: String expected for fontCss")); -null!=t.autosaveDelay&&(C=parseInt(t.autosaveDelay),!isNaN(C)&&0 0 expected for autosaveDelay"));null!=t.maxImageBytes&&(EditorUi.prototype.maxImageBytes=t.maxImageBytes);null!=t.maxImageSize&&(EditorUi.prototype.maxImageSize=t.maxImageSize);null!=t.shareCursorPosition&&(EditorUi.prototype.shareCursorPosition=t.shareCursorPosition);null!=t.showRemoteCursors&&(EditorUi.prototype.showRemoteCursors=t.showRemoteCursors)}}; -Editor.configureFontCss=function(t){if(null!=t){Editor.prototype.fontCss=t;var C=document.getElementsByTagName("script")[0];if(null!=C&&null!=C.parentNode){var N=document.createElement("style");N.setAttribute("type","text/css");N.appendChild(document.createTextNode(t));C.parentNode.insertBefore(N,C);t=t.split("url(");for(N=1;N>2);C+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((O& -3)<<4);C+="==";break}P=t.charCodeAt(N++);if(N==R){C+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(O>>2);C+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((O&3)<<4|(P&240)>>4);C+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((P&15)<<2);C+="=";break}S=t.charCodeAt(N++);C+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(O>>2);C+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((O& -3)<<4|(P&240)>>4);C+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((P&15)<<2|(S&192)>>6);C+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(S&63)}return C};Editor.prototype.loadUrl=function(t,C,N,R,O,P,S,X){try{var aa=!S&&(R||/(\.png)($|\?)/i.test(t)||/(\.jpe?g)($|\?)/i.test(t)||/(\.gif)($|\?)/i.test(t)||/(\.pdf)($|\?)/i.test(t));O=null!=O?O:!0;var Y=mxUtils.bind(this,function(){mxUtils.get(t,mxUtils.bind(this,function(Z){if(200<=Z.getStatus()&& -299>=Z.getStatus()){if(null!=C){var ba=Z.getText();if(aa){if((9==document.documentMode||10==document.documentMode)&&"undefined"!==typeof window.mxUtilsBinaryToArray){Z=mxUtilsBinaryToArray(Z.request.responseBody).toArray();ba=Array(Z.length);for(var ea=0;eaR.indexOf("mxPageSelector")&&0l;l++)for(var m=l,x=0;8>x;x++)m=1==(m&1)?3988292384^m>>>1:m>>>1,Editor.crcTable[l]=m;Editor.updateCRC=function(t,C,N,R){for(var O=0;O>>8;return t};Editor.crc32=function(t){for(var C=-1,N=0;N>>8^Editor.crcTable[(C^t.charCodeAt(N))&255];return(C^-1)>>>0};Editor.writeGraphModelToPng=function(t,C,N,R,O){function P(Z,ba){var ea=aa;aa+=ba;return Z.substring(ea,aa)}function S(Z){Z=P(Z,4);return Z.charCodeAt(3)+ -(Z.charCodeAt(2)<<8)+(Z.charCodeAt(1)<<16)+(Z.charCodeAt(0)<<24)}function X(Z){return String.fromCharCode(Z>>24&255,Z>>16&255,Z>>8&255,Z&255)}t=t.substring(t.indexOf(",")+1);t=window.atob?atob(t):Base64.decode(t,!0);var aa=0;if(P(t,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=O&&O();else if(P(t,4),"IHDR"!=P(t,4))null!=O&&O();else{P(t,17);O=t.substring(0,aa);do{var Y=S(t);if("IDAT"==P(t,4)){O=t.substring(0,aa-8);"pHYs"==C&&"dpi"==N?(N=Math.round(R/.0254),N=X(N)+X(N)+String.fromCharCode(1)): -N=N+String.fromCharCode(0)+("zTXt"==C?String.fromCharCode(0):"")+R;R=4294967295;R=Editor.updateCRC(R,C,0,4);R=Editor.updateCRC(R,N,0,N.length);O+=X(N.length)+C+N+X(R^4294967295);O+=t.substring(aa-8,t.length);break}O+=t.substring(aa-8,aa-4+Y);P(t,Y);P(t,4)}while(Y);return"data:image/png;base64,"+(window.btoa?btoa(O):Base64.encode(O,!0))}};if(window.ColorDialog){FilenameDialog.filenameHelpLink="https://www.diagrams.net/doc/faq/save-file-formats";var y=ColorDialog.addRecentColor;ColorDialog.addRecentColor= -function(t,C){y.apply(this,arguments);mxSettings.setRecentColors(ColorDialog.recentColors);mxSettings.save()};var D=ColorDialog.resetRecentColors;ColorDialog.resetRecentColors=function(){D.apply(this,arguments);mxSettings.setRecentColors(ColorDialog.recentColors);mxSettings.save()}}window.EditDataDialog&&(EditDataDialog.getDisplayIdForCell=function(t,C){var N=null;null!=t.editor.graph.getModel().getParent(C)?N=C.getId():null!=t.currentPage&&(N=t.currentPage.getId());return N});if(null!=window.StyleFormatPanel){var d= +null!=t.defaultPageVisible&&(Graph.prototype.defaultPageVisible=t.defaultPageVisible);null!=t.defaultGridEnabled&&(Graph.prototype.defaultGridEnabled=t.defaultGridEnabled);null!=t.zoomWheel&&(Graph.zoomWheel=t.zoomWheel);null!=t.zoomFactor&&(D=parseFloat(t.zoomFactor),!isNaN(D)&&1 1 expected for zoomFactor"));null!=t.gridSteps&&(D=parseInt(t.gridSteps),!isNaN(D)&&0 0 expected for gridSteps")); +null!=t.pageFormat&&(D=parseInt(t.pageFormat.width),L=parseInt(t.pageFormat.height),!isNaN(D)&&0 0 expected for sidebarTitleSize"));t.fontCss&&("string"===typeof t.fontCss?Editor.configureFontCss(t.fontCss):EditorUi.debug("Configuration Error: String expected for fontCss")); +null!=t.autosaveDelay&&(D=parseInt(t.autosaveDelay),!isNaN(D)&&0 0 expected for autosaveDelay"));null!=t.maxImageBytes&&(EditorUi.prototype.maxImageBytes=t.maxImageBytes);null!=t.maxImageSize&&(EditorUi.prototype.maxImageSize=t.maxImageSize);null!=t.shareCursorPosition&&(EditorUi.prototype.shareCursorPosition=t.shareCursorPosition);null!=t.showRemoteCursors&&(EditorUi.prototype.showRemoteCursors=t.showRemoteCursors)}}; +Editor.configureFontCss=function(t){if(null!=t){Editor.prototype.fontCss=t;var D=document.getElementsByTagName("script")[0];if(null!=D&&null!=D.parentNode){var L=document.createElement("style");L.setAttribute("type","text/css");L.appendChild(document.createTextNode(t));D.parentNode.insertBefore(L,D);t=t.split("url(");for(L=1;L>2);D+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((O& +3)<<4);D+="==";break}P=t.charCodeAt(L++);if(L==T){D+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(O>>2);D+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((O&3)<<4|(P&240)>>4);D+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((P&15)<<2);D+="=";break}R=t.charCodeAt(L++);D+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(O>>2);D+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((O& +3)<<4|(P&240)>>4);D+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((P&15)<<2|(R&192)>>6);D+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(R&63)}return D};Editor.prototype.loadUrl=function(t,D,L,T,O,P,R,X){try{var Z=!R&&(T||/(\.png)($|\?)/i.test(t)||/(\.jpe?g)($|\?)/i.test(t)||/(\.gif)($|\?)/i.test(t)||/(\.pdf)($|\?)/i.test(t));O=null!=O?O:!0;var Y=mxUtils.bind(this,function(){mxUtils.get(t,mxUtils.bind(this,function(aa){if(200<=aa.getStatus()&& +299>=aa.getStatus()){if(null!=D){var ba=aa.getText();if(Z){if((9==document.documentMode||10==document.documentMode)&&"undefined"!==typeof window.mxUtilsBinaryToArray){aa=mxUtilsBinaryToArray(aa.request.responseBody).toArray();ba=Array(aa.length);for(var ea=0;eaT.indexOf("mxPageSelector")&&0 +l;l++)for(var m=l,v=0;8>v;v++)m=1==(m&1)?3988292384^m>>>1:m>>>1,Editor.crcTable[l]=m;Editor.updateCRC=function(t,D,L,T){for(var O=0;O>>8;return t};Editor.crc32=function(t){for(var D=-1,L=0;L>>8^Editor.crcTable[(D^t.charCodeAt(L))&255];return(D^-1)>>>0};Editor.writeGraphModelToPng=function(t,D,L,T,O){function P(aa,ba){var ea=Z;Z+=ba;return aa.substring(ea,Z)}function R(aa){aa=P(aa,4);return aa.charCodeAt(3)+(aa.charCodeAt(2)<< +8)+(aa.charCodeAt(1)<<16)+(aa.charCodeAt(0)<<24)}function X(aa){return String.fromCharCode(aa>>24&255,aa>>16&255,aa>>8&255,aa&255)}t=t.substring(t.indexOf(",")+1);t=window.atob?atob(t):Base64.decode(t,!0);var Z=0;if(P(t,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=O&&O();else if(P(t,4),"IHDR"!=P(t,4))null!=O&&O();else{P(t,17);O=t.substring(0,Z);do{var Y=R(t);if("IDAT"==P(t,4)){O=t.substring(0,Z-8);"pHYs"==D&&"dpi"==L?(L=Math.round(T/.0254),L=X(L)+X(L)+String.fromCharCode(1)): +L=L+String.fromCharCode(0)+("zTXt"==D?String.fromCharCode(0):"")+T;T=4294967295;T=Editor.updateCRC(T,D,0,4);T=Editor.updateCRC(T,L,0,L.length);O+=X(L.length)+D+L+X(T^4294967295);O+=t.substring(Z-8,t.length);break}O+=t.substring(Z-8,Z-4+Y);P(t,Y);P(t,4)}while(Y);return"data:image/png;base64,"+(window.btoa?btoa(O):Base64.encode(O,!0))}};if(window.ColorDialog){FilenameDialog.filenameHelpLink="https://www.diagrams.net/doc/faq/save-file-formats";var x=ColorDialog.addRecentColor;ColorDialog.addRecentColor= +function(t,D){x.apply(this,arguments);mxSettings.setRecentColors(ColorDialog.recentColors);mxSettings.save()};var E=ColorDialog.resetRecentColors;ColorDialog.resetRecentColors=function(){E.apply(this,arguments);mxSettings.setRecentColors(ColorDialog.recentColors);mxSettings.save()}}window.EditDataDialog&&(EditDataDialog.getDisplayIdForCell=function(t,D){var L=null;null!=t.editor.graph.getModel().getParent(D)?L=D.getId():null!=t.currentPage&&(L=t.currentPage.getId());return L});if(null!=window.StyleFormatPanel){var d= Format.prototype.init;Format.prototype.init=function(){d.apply(this,arguments);this.editorUi.editor.addListener("fileLoaded",this.update)};var g=Format.prototype.refresh;Format.prototype.refresh=function(){null!=this.editorUi.getCurrentFile()||"1"==urlParams.embed||this.editorUi.editor.chromeless?g.apply(this,arguments):this.clear()};DiagramFormatPanel.prototype.isShadowOptionVisible=function(){var t=this.editorUi.getCurrentFile();return"1"==urlParams.embed||null!=t&&t.isEditable()};DiagramFormatPanel.prototype.isMathOptionVisible= -function(t){return!1};var k=DiagramFormatPanel.prototype.addView;DiagramFormatPanel.prototype.addView=function(t){t=k.apply(this,arguments);this.editorUi.getCurrentFile();if(mxClient.IS_SVG&&this.isShadowOptionVisible()){var C=this.editorUi,N=C.editor.graph,R=this.createOption(mxResources.get("shadow"),function(){return N.shadowVisible},function(O){var P=new ChangePageSetup(C);P.ignoreColor=!0;P.ignoreImage=!0;P.shadowVisible=O;N.model.execute(P)},{install:function(O){this.listener=function(){O(N.shadowVisible)}; -C.addListener("shadowVisibleChanged",this.listener)},destroy:function(){C.removeListener(this.listener)}});Editor.enableShadowOption||(R.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),mxUtils.setOpacity(R,60));t.appendChild(R)}return t};var n=DiagramFormatPanel.prototype.addOptions;DiagramFormatPanel.prototype.addOptions=function(t){t=n.apply(this,arguments);var C=this.editorUi,N=C.editor.graph;if(N.isEnabled()){var R=C.getCurrentFile();if(null!=R&&R.isAutosaveOptional()){var O= -this.createOption(mxResources.get("autosave"),function(){return C.editor.autosave},function(S){C.editor.setAutosave(S);C.editor.autosave&&R.isModified()&&R.fileChanged()},{install:function(S){this.listener=function(){S(C.editor.autosave)};C.editor.addListener("autosaveChanged",this.listener)},destroy:function(){C.editor.removeListener(this.listener)}});t.appendChild(O)}}if(this.isMathOptionVisible()&&N.isEnabled()&&"undefined"!==typeof MathJax){O=this.createOption(mxResources.get("mathematicalTypesetting"), -function(){return N.mathEnabled},function(S){C.actions.get("mathematicalTypesetting").funct()},{install:function(S){this.listener=function(){S(N.mathEnabled)};C.addListener("mathEnabledChanged",this.listener)},destroy:function(){C.removeListener(this.listener)}});O.style.paddingTop="5px";t.appendChild(O);var P=C.menus.createHelpLink("https://www.diagrams.net/doc/faq/math-typesetting");P.style.position="relative";P.style.marginLeft="6px";P.style.top="2px";O.appendChild(P)}return t};mxCellRenderer.prototype.defaultVertexShape.prototype.customProperties= +function(t){return!1};var k=DiagramFormatPanel.prototype.addView;DiagramFormatPanel.prototype.addView=function(t){t=k.apply(this,arguments);this.editorUi.getCurrentFile();if(mxClient.IS_SVG&&this.isShadowOptionVisible()){var D=this.editorUi,L=D.editor.graph,T=this.createOption(mxResources.get("shadow"),function(){return L.shadowVisible},function(O){var P=new ChangePageSetup(D);P.ignoreColor=!0;P.ignoreImage=!0;P.shadowVisible=O;L.model.execute(P)},{install:function(O){this.listener=function(){O(L.shadowVisible)}; +D.addListener("shadowVisibleChanged",this.listener)},destroy:function(){D.removeListener(this.listener)}});Editor.enableShadowOption||(T.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),mxUtils.setOpacity(T,60));t.appendChild(T)}return t};var n=DiagramFormatPanel.prototype.addOptions;DiagramFormatPanel.prototype.addOptions=function(t){t=n.apply(this,arguments);var D=this.editorUi,L=D.editor.graph;if(L.isEnabled()){var T=D.getCurrentFile();if(null!=T&&T.isAutosaveOptional()){var O= +this.createOption(mxResources.get("autosave"),function(){return D.editor.autosave},function(R){D.editor.setAutosave(R);D.editor.autosave&&T.isModified()&&T.fileChanged()},{install:function(R){this.listener=function(){R(D.editor.autosave)};D.editor.addListener("autosaveChanged",this.listener)},destroy:function(){D.editor.removeListener(this.listener)}});t.appendChild(O)}}if(this.isMathOptionVisible()&&L.isEnabled()&&"undefined"!==typeof MathJax){O=this.createOption(mxResources.get("mathematicalTypesetting"), +function(){return L.mathEnabled},function(R){D.actions.get("mathematicalTypesetting").funct()},{install:function(R){this.listener=function(){R(L.mathEnabled)};D.addListener("mathEnabledChanged",this.listener)},destroy:function(){D.removeListener(this.listener)}});O.style.paddingTop="5px";t.appendChild(O);var P=D.menus.createHelpLink("https://www.diagrams.net/doc/faq/math-typesetting");P.style.position="relative";P.style.marginLeft="6px";P.style.top="2px";O.appendChild(P)}return t};mxCellRenderer.prototype.defaultVertexShape.prototype.customProperties= [{name:"arcSize",dispName:"Arc Size",type:"float",min:0,defVal:mxConstants.LINE_ARCSIZE},{name:"absoluteArcSize",dispName:"Abs. Arc Size",type:"bool",defVal:!1}];mxCellRenderer.defaultShapes.link.prototype.customProperties=[{name:"width",dispName:"Width",type:"float",min:0,defVal:4}];mxCellRenderer.defaultShapes.flexArrow.prototype.customProperties=[{name:"width",dispName:"Width",type:"float",min:0,defVal:10},{name:"startWidth",dispName:"Start Width",type:"float",min:0,defVal:20},{name:"endWidth", dispName:"End Width",type:"float",min:0,defVal:20}];mxCellRenderer.defaultShapes.process.prototype.customProperties=[{name:"size",dispName:"Indent",type:"float",min:0,max:.5,defVal:.1}];mxCellRenderer.defaultShapes.rhombus.prototype.customProperties=[{name:"arcSize",dispName:"Arc Size",type:"float",min:0,max:50,defVal:mxConstants.LINE_ARCSIZE},{name:"double",dispName:"Double",type:"bool",defVal:!1}];mxCellRenderer.defaultShapes.partialRectangle.prototype.customProperties=[{name:"top",dispName:"Top Line", type:"bool",defVal:!0},{name:"bottom",dispName:"Bottom Line",type:"bool",defVal:!0},{name:"left",dispName:"Left Line",type:"bool",defVal:!0},{name:"right",dispName:"Right Line",type:"bool",defVal:!0}];mxCellRenderer.defaultShapes.parallelogram.prototype.customProperties=[{name:"arcSize",dispName:"Arc Size",type:"float",min:0,defVal:mxConstants.LINE_ARCSIZE},{name:"size",dispName:"Slope Angle",type:"float",min:0,max:1,defVal:.2}];mxCellRenderer.defaultShapes.hexagon.prototype.customProperties=[{name:"arcSize", @@ -11310,137 +11312,137 @@ defVal:"none",enumList:[{val:"none",dispName:"Default"},{val:"umlActor",dispName stroke:"#3700CC",font:"#ffffff"},{fill:"#d80073",stroke:"#A50040",font:"#ffffff"},{fill:"#a20025",stroke:"#6F0000",font:"#ffffff"}],[{fill:"#e51400",stroke:"#B20000",font:"#ffffff"},{fill:"#fa6800",stroke:"#C73500",font:"#000000"},{fill:"#f0a30a",stroke:"#BD7000",font:"#000000"},{fill:"#e3c800",stroke:"#B09500",font:"#000000"},{fill:"#6d8764",stroke:"#3A5431",font:"#ffffff"},{fill:"#647687",stroke:"#314354",font:"#ffffff"},{fill:"#76608a",stroke:"#432D57",font:"#ffffff"},{fill:"#a0522d",stroke:"#6D1F00", font:"#ffffff"}],[{fill:"",stroke:""},{fill:mxConstants.NONE,stroke:""},{fill:"#fad7ac",stroke:"#b46504"},{fill:"#fad9d5",stroke:"#ae4132"},{fill:"#b0e3e6",stroke:"#0e8088"},{fill:"#b1ddf0",stroke:"#10739e"},{fill:"#d0cee2",stroke:"#56517e"},{fill:"#bac8d3",stroke:"#23445d"}],[{fill:"",stroke:""},{fill:"#f5f5f5",stroke:"#666666",gradient:"#b3b3b3"},{fill:"#dae8fc",stroke:"#6c8ebf",gradient:"#7ea6e0"},{fill:"#d5e8d4",stroke:"#82b366",gradient:"#97d077"},{fill:"#ffcd28",stroke:"#d79b00",gradient:"#ffa500"}, {fill:"#fff2cc",stroke:"#d6b656",gradient:"#ffd966"},{fill:"#f8cecc",stroke:"#b85450",gradient:"#ea6b66"},{fill:"#e6d0de",stroke:"#996185",gradient:"#d5739d"}],[{fill:"",stroke:""},{fill:"#eeeeee",stroke:"#36393d"},{fill:"#f9f7ed",stroke:"#36393d"},{fill:"#ffcc99",stroke:"#36393d"},{fill:"#cce5ff",stroke:"#36393d"},{fill:"#ffff88",stroke:"#36393d"},{fill:"#cdeb8b",stroke:"#36393d"},{fill:"#ffcccc",stroke:"#36393d"}]];StyleFormatPanel.prototype.customColorSchemes=null;StyleFormatPanel.prototype.findCommonProperties= -function(t,C,N){if(null!=C){var R=function(P){if(null!=P)if(N)for(var S=0;Sya.size&&(ra=ra.slice(0,ya.size));Ha=ra.join(",");null!=ya.countProperty&&(ba.setCellStyles(ya.countProperty,ra.length, -ba.getSelectionCells()),ka.push(ya.countProperty),ta.push(ra.length))}ba.setCellStyles(la,Ha,ba.getSelectionCells());ka.push(la);ta.push(Ha);if(null!=ya.dependentProps)for(la=0;laHa)fa=fa.slice(0,Ha);else for(var da=fa.length;daya.max&&(ja=ya.max);ja=encodeURIComponent(("int"==ra?parseInt(ja):ja)+"");R(la,ja,ya)}var ha=document.createElement("input");O(ca,ha,!0);ha.value=decodeURIComponent(Ha);ha.className="gePropEditor";"int"!=ra&&"float"!=ra||ya.allowAuto||(ha.type="number",ha.step="int"==ra?"1":"any",null!=ya.min&&(ha.min=parseFloat(ya.min)),null!=ya.max&&(ha.max=parseFloat(ya.max)));t.appendChild(ha);mxEvent.addListener(ha,"keypress",function(ja){13==ja.keyCode&&da()});ha.focus();mxEvent.addListener(ha, -"blur",function(){da()})})));ya.isDeletable&&(ka=mxUtils.button("-",mxUtils.bind(Z,function(da){R(la,"",ya,ya.index);mxEvent.consume(da)})),ka.style.height="16px",ka.style.width="25px",ka.style.float="right",ka.className="geColorBtn",ca.appendChild(ka));wa.appendChild(ca);return wa}var Z=this,ba=this.editorUi.editor.graph,ea=[];t.style.position="relative";t.style.padding="0";var ma=document.createElement("table");ma.className="geProperties";ma.style.whiteSpace="nowrap";ma.style.width="100%";var ia= -document.createElement("tr");ia.className="gePropHeader";var pa=document.createElement("th");pa.className="gePropHeaderCell";var na=document.createElement("img");na.src=Sidebar.prototype.expandedImage;na.style.verticalAlign="middle";pa.appendChild(na);mxUtils.write(pa,mxResources.get("property"));ia.style.cursor="pointer";var Fa=function(){var la=ma.querySelectorAll(".gePropNonHeaderRow");if(Z.editorUi.propertiesCollapsed){na.src=Sidebar.prototype.collapsedImage;var Ha="none";for(var ya=t.childNodes.length- -1;0<=ya;ya--)try{var Ia=t.childNodes[ya],ka=Ia.nodeName.toUpperCase();"INPUT"!=ka&&"SELECT"!=ka||t.removeChild(Ia)}catch(ta){}}else na.src=Sidebar.prototype.expandedImage,Ha="";for(ya=0;ya=this.defaultColorSchemes.length?"24px":"30px";Ga.style.margin="0px 6px 6px 0px"; -if(null!=Fa){var xa="1"==urlParams.sketch?"2px solid":"1px solid";null!=Fa.border&&(xa=Fa.border);null!=Fa.gradient?mxClient.IS_IE&&10>document.documentMode?Ga.style.filter="progid:DXImageTransform.Microsoft.Gradient(StartColorStr='"+Fa.fill+"', EndColorStr='"+Fa.gradient+"', GradientType=0)":Ga.style.backgroundImage="linear-gradient("+Fa.fill+" 0px,"+Fa.gradient+" 100%)":Fa.fill==mxConstants.NONE?Ga.style.background="url('"+Dialog.prototype.noColorImage+"')":Ga.style.backgroundColor=""==Fa.fill? -mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_FILLCOLOR,Editor.isDarkMode()?Editor.darkColor:"#ffffff"):Fa.fill||mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_FILLCOLOR,Editor.isDarkMode()?Editor.darkColor:"#ffffff");Ga.style.border=Fa.stroke==mxConstants.NONE?xa+" transparent":""==Fa.stroke?xa+" "+mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_STROKECOLOR,Editor.isDarkMode()?"#ffffff":Editor.darkColor):xa+" "+(Fa.stroke||mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_STROKECOLOR, -Editor.isDarkMode()?"#ffffff":Editor.darkColor));null!=Fa.title&&Ga.setAttribute("title",Fa.title)}else{xa=mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_FILLCOLOR,"#ffffff");var Ma=mxUtils.getValue(R.defaultVertexStyle,mxConstants.STYLE_STROKECOLOR,"#000000");Ga.style.backgroundColor=xa;Ga.style.border="1px solid "+Ma}Ga.style.borderRadius="0";O.appendChild(Ga)});O.innerText="";for(var na=0;na=this.defaultColorSchemes.length?28:8;var ea=document.createElement("div");ea.style.cssText="position:absolute;left:10px;top:8px;bottom:"+aa+"px;width:20px;margin:4px;opacity:0.5;background-repeat:no-repeat;background-position:center center;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAQBAMAAADQT4M0AAAAIVBMVEUAAAB2dnZ4eHh3d3d1dXVxcXF2dnZ2dnZ2dnZxcXF2dnYmb3w1AAAACnRSTlMAfCTkhhvb7cQSPH2JPgAAADRJREFUCNdjwACMAmBKaiGYs2oJmLPKAZ3DabU8AMRTXpUKopislqFyVzCAuUZgikkBZjoAcMYLnp53P/UAAAAASUVORK5CYII=);"; -mxEvent.addListener(ea,"click",mxUtils.bind(this,function(){Z(mxUtils.mod(this.format.currentScheme-1,this.defaultColorSchemes.length))}));var ma=document.createElement("div");ma.style.cssText="position:absolute;left:202px;top:8px;bottom:"+aa+"px;width:20px;margin:4px;opacity:0.5;background-repeat:no-repeat;background-position:center center;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAQBAMAAADQT4M0AAAAIVBMVEUAAAB2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnYBuwCcAAAACnRSTlMAfCTkhhvb7cQSPH2JPgAAADZJREFUCNdjQAOMAmBKaiGY8loF5rKswsZlrVo8AUiFrTICcbIWK8A5DF1gDoMymMPApIAwHwCS0Qx/U7qCBQAAAABJRU5ErkJggg==);"; -1=this.defaultColorSchemes.length&&t.appendChild(S);return t};StyleFormatPanel.prototype.addEditOps=function(t){var C=this.editorUi.getSelectionState(),N=this.editorUi.editor.graph,R=null;1==C.cells.length&&(R=mxUtils.button(mxResources.get("editStyle"), -mxUtils.bind(this,function(O){this.editorUi.actions.get("editStyle").funct()})),R.setAttribute("title",mxResources.get("editStyle")+" ("+this.editorUi.actions.get("editStyle").shortcut+")"),R.style.width="210px",R.style.marginBottom="2px",t.appendChild(R));N=1==C.cells.length?N.view.getState(C.cells[0]):null;null!=N&&null!=N.shape&&null!=N.shape.stencil?(C=mxUtils.button(mxResources.get("editShape"),mxUtils.bind(this,function(O){this.editorUi.actions.get("editShape").funct()})),C.setAttribute("title", -mxResources.get("editShape")),C.style.marginBottom="2px",null==R?C.style.width="210px":(R.style.width="104px",C.style.width="104px",C.style.marginLeft="2px"),t.appendChild(C)):C.image&&0mxUtils.indexOf(S.hiddenTags,xa),va=document.createElement("tr"),Ea=document.createElement("td");Ea.style.align="center";Ea.style.width="16px";var Ba=document.createElement("img");Ba.setAttribute("src",Ma?Editor.visibleImage:Editor.hiddenImage);Ba.setAttribute("title", -mxResources.get(Ma?"hideIt":"show",[xa]));mxUtils.setOpacity(Ba,Ma?75:25);Ba.style.verticalAlign="middle";Ba.style.cursor="pointer";Ba.style.width="16px";if(C||Editor.isDarkMode())Ba.style.filter="invert(100%)";Ea.appendChild(Ba);mxEvent.addListener(Ba,"click",function(Da){mxEvent.isShiftDown(Da)?O(0<=mxUtils.indexOf(S.hiddenTags,xa)):(S.toggleHiddenTag(xa),R(),S.refresh());mxEvent.consume(Da)});va.appendChild(Ea);Ea=document.createElement("td");Ea.style.overflow="hidden";Ea.style.whiteSpace="nowrap"; -Ea.style.textOverflow="ellipsis";Ea.style.verticalAlign="middle";Ea.style.cursor="pointer";Ea.setAttribute("title",xa);a=document.createElement("a");mxUtils.write(a,xa);a.style.textOverflow="ellipsis";a.style.position="relative";mxUtils.setOpacity(a,Ma?100:40);Ea.appendChild(a);mxEvent.addListener(Ea,"click",function(Da){if(mxEvent.isShiftDown(Da)){O(!0);var la=S.getCellsForTags([xa],null,null,!0);S.isEnabled()?S.setSelectionCells(la):S.highlightCells(la)}else if(Ma&&0mxUtils.indexOf(X, -ia[pa])&&X.push(ia[pa]);X.sort();S.isSelectionEmpty()?P(X):P(X,S.getCommonTagsForCells(S.getSelectionCells()))}});S.selectionModel.addListener(mxEvent.CHANGE,ea);S.model.addListener(mxEvent.CHANGE,ea);S.addListener(mxEvent.REFRESH,ea);var ma=document.createElement("div");ma.style.boxSizing="border-box";ma.style.whiteSpace="nowrap";ma.style.position="absolute";ma.style.overflow="hidden";ma.style.bottom="0px";ma.style.height="42px";ma.style.right="10px";ma.style.left="10px";S.isEnabled()&&(ma.appendChild(Z), -ma.appendChild(ba),aa.appendChild(ma));return{div:aa,refresh:ea}};Graph.prototype.getCustomFonts=function(){var t=this.extFonts;t=null!=t?t.slice():[];for(var C in Graph.customFontElements){var N=Graph.customFontElements[C];t.push({name:N.name,url:N.url})}return t};Graph.prototype.setFont=function(t,C){Graph.addFont(t,C);document.execCommand("fontname",!1,t);if(null!=C){var N=this.cellEditor.textarea.getElementsByTagName("font");C=Graph.getFontUrl(t,C);for(var R=0;R'+mxUtils.htmlEntities(t)+"
"};mxGraphView.prototype.redrawEnumerationState=function(t){var C="1"==mxUtils.getValue(t.style,"enumerate",0);C&&null==t.secondLabel?(t.secondLabel=new mxText("",new mxRectangle,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_BOTTOM), -t.secondLabel.size=12,t.secondLabel.state=t,t.secondLabel.dialect=mxConstants.DIALECT_STRICTHTML,this.graph.cellRenderer.initializeLabel(t,t.secondLabel)):C||null==t.secondLabel||(t.secondLabel.destroy(),t.secondLabel=null);C=t.secondLabel;if(null!=C){var N=t.view.scale,R=this.createEnumerationValue(t);t=this.graph.model.isVertex(t.cell)?new mxRectangle(t.x+t.width-4*N,t.y+4*N,0,0):mxRectangle.fromPoint(t.view.getPoint(t));C.bounds.equals(t)&&C.value==R&&C.scale==N||(C.bounds=t,C.value=R,C.scale= -N,C.redraw())}};var F=mxGraphView.prototype.validateBackgroundPage;mxGraphView.prototype.validateBackgroundPage=function(){F.apply(this,arguments);if(mxClient.IS_GC&&null!=this.getDrawPane()){var t=this.getDrawPane().parentNode;!this.graph.mathEnabled||mxClient.NO_FO||null!=this.webKitForceRepaintNode&&null!=this.webKitForceRepaintNode.parentNode||"svg"!=this.graph.container.firstChild.nodeName?null==this.webKitForceRepaintNode||this.graph.mathEnabled&&("svg"==this.graph.container.firstChild.nodeName|| -this.graph.container.firstChild==this.webKitForceRepaintNode)||(null!=this.webKitForceRepaintNode.parentNode&&this.webKitForceRepaintNode.parentNode.removeChild(this.webKitForceRepaintNode),this.webKitForceRepaintNode=null):(this.webKitForceRepaintNode=document.createElement("div"),this.webKitForceRepaintNode.style.cssText="position:absolute;",t.ownerSVGElement.parentNode.insertBefore(this.webKitForceRepaintNode,t.ownerSVGElement))}};var L=Graph.prototype.refresh;Graph.prototype.refresh=function(){L.apply(this, +function(t,D,L){if(null!=D){var T=function(P){if(null!=P)if(L)for(var R=0;Rwa.size&&(ca=ca.slice(0,wa.size));Da=ca.join(",");null!=wa.countProperty&&(ba.setCellStyles(wa.countProperty,ca.length, +ba.getSelectionCells()),ka.push(wa.countProperty),da.push(ca.length))}ba.setCellStyles(ta,Da,ba.getSelectionCells());ka.push(ta);da.push(Da);if(null!=wa.dependentProps)for(ta=0;taDa)qa=qa.slice(0,Da);else for(var ha=qa.length;hawa.max&&(pa=wa.max);pa=encodeURIComponent(("int"==ca?parseInt(pa):pa)+"");T(ta,pa,wa)}var ia=document.createElement("input");O(la,ia,!0);ia.value=decodeURIComponent(Da);ia.className="gePropEditor";"int"!=ca&&"float"!=ca||wa.allowAuto||(ia.type="number",ia.step="int"==ca?"1":"any",null!=wa.min&&(ia.min=parseFloat(wa.min)),null!=wa.max&&(ia.max=parseFloat(wa.max)));t.appendChild(ia);mxEvent.addListener(ia,"keypress",function(pa){13==pa.keyCode&&ha()});ia.focus();mxEvent.addListener(ia, +"blur",function(){ha()})})));wa.isDeletable&&(ka=mxUtils.button("-",mxUtils.bind(aa,function(ha){T(ta,"",wa,wa.index);mxEvent.consume(ha)})),ka.style.height="16px",ka.style.width="25px",ka.style.float="right",ka.className="geColorBtn",la.appendChild(ka));na.appendChild(la);return na}var aa=this,ba=this.editorUi.editor.graph,ea=[];t.style.position="relative";t.style.padding="0";var ja=document.createElement("table");ja.className="geProperties";ja.style.whiteSpace="nowrap";ja.style.width="100%";var fa= +document.createElement("tr");fa.className="gePropHeader";var ra=document.createElement("th");ra.className="gePropHeaderCell";var ma=document.createElement("img");ma.src=Sidebar.prototype.expandedImage;ma.style.verticalAlign="middle";ra.appendChild(ma);mxUtils.write(ra,mxResources.get("property"));fa.style.cursor="pointer";var Ga=function(){var ta=ja.querySelectorAll(".gePropNonHeaderRow");if(aa.editorUi.propertiesCollapsed){ma.src=Sidebar.prototype.collapsedImage;var Da="none";for(var wa=t.childNodes.length- +1;0<=wa;wa--)try{var Ja=t.childNodes[wa],ka=Ja.nodeName.toUpperCase();"INPUT"!=ka&&"SELECT"!=ka||t.removeChild(Ja)}catch(da){}}else ma.src=Sidebar.prototype.expandedImage,Da="";for(wa=0;wa=this.defaultColorSchemes.length?"24px":"30px";Fa.style.margin="0px 6px 6px 0px"; +if(null!=Ga){var ya="1"==urlParams.sketch?"2px solid":"1px solid";null!=Ga.border&&(ya=Ga.border);null!=Ga.gradient?mxClient.IS_IE&&10>document.documentMode?Fa.style.filter="progid:DXImageTransform.Microsoft.Gradient(StartColorStr='"+Ga.fill+"', EndColorStr='"+Ga.gradient+"', GradientType=0)":Fa.style.backgroundImage="linear-gradient("+Ga.fill+" 0px,"+Ga.gradient+" 100%)":Ga.fill==mxConstants.NONE?Fa.style.background="url('"+Dialog.prototype.noColorImage+"')":Fa.style.backgroundColor=""==Ga.fill? +mxUtils.getValue(T.defaultVertexStyle,mxConstants.STYLE_FILLCOLOR,Editor.isDarkMode()?Editor.darkColor:"#ffffff"):Ga.fill||mxUtils.getValue(T.defaultVertexStyle,mxConstants.STYLE_FILLCOLOR,Editor.isDarkMode()?Editor.darkColor:"#ffffff");Fa.style.border=Ga.stroke==mxConstants.NONE?ya+" transparent":""==Ga.stroke?ya+" "+mxUtils.getValue(T.defaultVertexStyle,mxConstants.STYLE_STROKECOLOR,Editor.isDarkMode()?"#ffffff":Editor.darkColor):ya+" "+(Ga.stroke||mxUtils.getValue(T.defaultVertexStyle,mxConstants.STYLE_STROKECOLOR, +Editor.isDarkMode()?"#ffffff":Editor.darkColor));null!=Ga.title&&Fa.setAttribute("title",Ga.title)}else{ya=mxUtils.getValue(T.defaultVertexStyle,mxConstants.STYLE_FILLCOLOR,"#ffffff");var Ma=mxUtils.getValue(T.defaultVertexStyle,mxConstants.STYLE_STROKECOLOR,"#000000");Fa.style.backgroundColor=ya;Fa.style.border="1px solid "+Ma}Fa.style.borderRadius="0";O.appendChild(Fa)});O.innerText="";for(var ma=0;ma=this.defaultColorSchemes.length?28:8;var ea=document.createElement("div");ea.style.cssText="position:absolute;left:10px;top:8px;bottom:"+Z+"px;width:20px;margin:4px;opacity:0.5;background-repeat:no-repeat;background-position:center center;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAQBAMAAADQT4M0AAAAIVBMVEUAAAB2dnZ4eHh3d3d1dXVxcXF2dnZ2dnZ2dnZxcXF2dnYmb3w1AAAACnRSTlMAfCTkhhvb7cQSPH2JPgAAADRJREFUCNdjwACMAmBKaiGYs2oJmLPKAZ3DabU8AMRTXpUKopislqFyVzCAuUZgikkBZjoAcMYLnp53P/UAAAAASUVORK5CYII=);"; +mxEvent.addListener(ea,"click",mxUtils.bind(this,function(){aa(mxUtils.mod(this.format.currentScheme-1,this.defaultColorSchemes.length))}));var ja=document.createElement("div");ja.style.cssText="position:absolute;left:202px;top:8px;bottom:"+Z+"px;width:20px;margin:4px;opacity:0.5;background-repeat:no-repeat;background-position:center center;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAQBAMAAADQT4M0AAAAIVBMVEUAAAB2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnYBuwCcAAAACnRSTlMAfCTkhhvb7cQSPH2JPgAAADZJREFUCNdjQAOMAmBKaiGY8loF5rKswsZlrVo8AUiFrTICcbIWK8A5DF1gDoMymMPApIAwHwCS0Qx/U7qCBQAAAABJRU5ErkJggg==);"; +1=this.defaultColorSchemes.length&&t.appendChild(R);return t};StyleFormatPanel.prototype.addEditOps=function(t){var D=this.editorUi.getSelectionState(),L=this.editorUi.editor.graph,T=null;1==D.cells.length&&(T=mxUtils.button(mxResources.get("editStyle"), +mxUtils.bind(this,function(O){this.editorUi.actions.get("editStyle").funct()})),T.setAttribute("title",mxResources.get("editStyle")+" ("+this.editorUi.actions.get("editStyle").shortcut+")"),T.style.width="210px",T.style.marginBottom="2px",t.appendChild(T));L=1==D.cells.length?L.view.getState(D.cells[0]):null;null!=L&&null!=L.shape&&null!=L.shape.stencil?(D=mxUtils.button(mxResources.get("editShape"),mxUtils.bind(this,function(O){this.editorUi.actions.get("editShape").funct()})),D.setAttribute("title", +mxResources.get("editShape")),D.style.marginBottom="2px",null==T?D.style.width="210px":(T.style.width="104px",D.style.width="104px",D.style.marginLeft="2px"),t.appendChild(D)):D.image&&0mxUtils.indexOf(R.hiddenTags,ya),xa=document.createElement("tr"),Ca=document.createElement("td");Ca.style.align="center";Ca.style.width="16px";var oa=document.createElement("img");oa.setAttribute("src",Ma?Editor.visibleImage:Editor.hiddenImage);oa.setAttribute("title", +mxResources.get(Ma?"hideIt":"show",[ya]));mxUtils.setOpacity(oa,Ma?75:25);oa.style.verticalAlign="middle";oa.style.cursor="pointer";oa.style.width="16px";if(D||Editor.isDarkMode())oa.style.filter="invert(100%)";Ca.appendChild(oa);mxEvent.addListener(oa,"click",function(La){mxEvent.isShiftDown(La)?O(0<=mxUtils.indexOf(R.hiddenTags,ya)):(R.toggleHiddenTag(ya),T(),R.refresh());mxEvent.consume(La)});xa.appendChild(Ca);Ca=document.createElement("td");Ca.style.overflow="hidden";Ca.style.whiteSpace="nowrap"; +Ca.style.textOverflow="ellipsis";Ca.style.verticalAlign="middle";Ca.style.cursor="pointer";Ca.setAttribute("title",ya);a=document.createElement("a");mxUtils.write(a,ya);a.style.textOverflow="ellipsis";a.style.position="relative";mxUtils.setOpacity(a,Ma?100:40);Ca.appendChild(a);mxEvent.addListener(Ca,"click",function(La){if(mxEvent.isShiftDown(La)){O(!0);var ta=R.getCellsForTags([ya],null,null,!0);R.isEnabled()?R.setSelectionCells(ta):R.highlightCells(ta)}else if(Ma&&0mxUtils.indexOf(X, +fa[ra])&&X.push(fa[ra]);X.sort();R.isSelectionEmpty()?P(X):P(X,R.getCommonTagsForCells(R.getSelectionCells()))}});R.selectionModel.addListener(mxEvent.CHANGE,ea);R.model.addListener(mxEvent.CHANGE,ea);R.addListener(mxEvent.REFRESH,ea);var ja=document.createElement("div");ja.style.boxSizing="border-box";ja.style.whiteSpace="nowrap";ja.style.position="absolute";ja.style.overflow="hidden";ja.style.bottom="0px";ja.style.height="42px";ja.style.right="10px";ja.style.left="10px";R.isEnabled()&&(ja.appendChild(aa), +ja.appendChild(ba),Z.appendChild(ja));return{div:Z,refresh:ea}};Graph.prototype.getCustomFonts=function(){var t=this.extFonts;t=null!=t?t.slice():[];for(var D in Graph.customFontElements){var L=Graph.customFontElements[D];t.push({name:L.name,url:L.url})}return t};Graph.prototype.setFont=function(t,D){Graph.addFont(t,D);document.execCommand("fontname",!1,t);if(null!=D){var L=this.cellEditor.textarea.getElementsByTagName("font");D=Graph.getFontUrl(t,D);for(var T=0;T'+mxUtils.htmlEntities(t)+""};mxGraphView.prototype.redrawEnumerationState=function(t){var D="1"==mxUtils.getValue(t.style,"enumerate",0);D&&null==t.secondLabel?(t.secondLabel=new mxText("",new mxRectangle,mxConstants.ALIGN_LEFT,mxConstants.ALIGN_BOTTOM), +t.secondLabel.size=12,t.secondLabel.state=t,t.secondLabel.dialect=mxConstants.DIALECT_STRICTHTML,this.graph.cellRenderer.initializeLabel(t,t.secondLabel)):D||null==t.secondLabel||(t.secondLabel.destroy(),t.secondLabel=null);D=t.secondLabel;if(null!=D){var L=t.view.scale,T=this.createEnumerationValue(t);t=this.graph.model.isVertex(t.cell)?new mxRectangle(t.x+t.width-4*L,t.y+4*L,0,0):mxRectangle.fromPoint(t.view.getPoint(t));D.bounds.equals(t)&&D.value==T&&D.scale==L||(D.bounds=t,D.value=T,D.scale= +L,D.redraw())}};var F=mxGraphView.prototype.validateBackgroundPage;mxGraphView.prototype.validateBackgroundPage=function(){F.apply(this,arguments);if(mxClient.IS_GC&&null!=this.getDrawPane()){var t=this.getDrawPane().parentNode;!this.graph.mathEnabled||mxClient.NO_FO||null!=this.webKitForceRepaintNode&&null!=this.webKitForceRepaintNode.parentNode||"svg"!=this.graph.container.firstChild.nodeName?null==this.webKitForceRepaintNode||this.graph.mathEnabled&&("svg"==this.graph.container.firstChild.nodeName|| +this.graph.container.firstChild==this.webKitForceRepaintNode)||(null!=this.webKitForceRepaintNode.parentNode&&this.webKitForceRepaintNode.parentNode.removeChild(this.webKitForceRepaintNode),this.webKitForceRepaintNode=null):(this.webKitForceRepaintNode=document.createElement("div"),this.webKitForceRepaintNode.style.cssText="position:absolute;",t.ownerSVGElement.parentNode.insertBefore(this.webKitForceRepaintNode,t.ownerSVGElement))}};var J=Graph.prototype.refresh;Graph.prototype.refresh=function(){J.apply(this, arguments);this.refreshBackgroundImage()};Graph.prototype.refreshBackgroundImage=function(){null!=this.backgroundImage&&null!=this.backgroundImage.originalSrc&&(this.setBackgroundImage(this.backgroundImage),this.view.validateBackgroundImage())};var K=Graph.prototype.loadStylesheet;Graph.prototype.loadStylesheet=function(){K.apply(this,arguments);this.currentStyle="default-style2"};Graph.prototype.handleCustomLink=function(t){"data:action/json,"==t.substring(0,17)&&(t=JSON.parse(t.substring(17)),null!= -t.actions&&this.executeCustomActions(t.actions))};Graph.prototype.executeCustomActions=function(t,C){if(this.executingCustomActions)this.stoppingCustomActions=!0,null!=this.pendingWaitThread&&window.clearTimeout(this.pendingWaitThread),null!=this.pendingExecuteNextAction&&this.pendingExecuteNextAction(),this.fireEvent(new mxEventObject("stopExecutingCustomActions"));else{this.executingCustomActions=!0;var N=!1,R=0,O=0,P=mxUtils.bind(this,function(){N||(N=!0,this.model.beginUpdate())}),S=mxUtils.bind(this, -function(){N&&(N=!1,this.model.endUpdate())}),X=mxUtils.bind(this,function(){0mxUtils.indexOf(Z.tags.visible,ma[ia])&&0>mxUtils.indexOf(ea,ma[ia])&&ea.push(ma[ia]);this.setHiddenTags(ea);this.refresh()}0t.excludeCells.indexOf(C[R].id)&&N.push(C[R]); -C=N}return C};Graph.prototype.getCellsById=function(t){var C=[];if(null!=t)for(var N=0;NC?this.hiddenTags.push(t):0<=C&&this.hiddenTags.splice(C,1);this.fireEvent(new mxEventObject("hiddenTagsChanged"))};Graph.prototype.isAllTagsHidden=function(t){if(null==t||0==t.length||0==this.hiddenTags.length)return!1;t=t.split(" ");if(t.length>this.hiddenTags.length)return!1;for(var C=0;CmxUtils.indexOf(this.hiddenTags,t[C]))return!1;return!0};Graph.prototype.getCellsForTags=function(t,C,N, -R){var O=[];if(null!=t){C=null!=C?C:this.model.getDescendants(this.model.getRoot());for(var P=0,S={},X=0;X=t.length)){for(var Z=Y=0;ZmxUtils.indexOf(O,X)&&(R=0'),Ya.writeln("@media print {"),Ya.writeln(".MathJax svg { shape-rendering: crispEdges; }"),Ya.writeln("}"),Ya.writeln(""));null!=t.editor.fontCss&&(Ya.writeln('"));for(var cb=Ka.getCustomFonts(),bb=0;bb'): -(Ya.writeln('"))}};if("undefined"!==typeof MathJax){var ib=Pa.renderPage;Pa.renderPage=function(Ya,cb,bb,eb,db,kb){var jb=mxClient.NO_FO,fb=ib.apply(this,arguments);mxClient.NO_FO=jb;this.graph.mathEnabled?this.mathEnabled=this.mathEnabled||!0:fb.className="geDisableMathJax";return fb}}Wa=null;$a=O.shapeForegroundColor;Za=O.shapeBackgroundColor; -Xa=O.enableFlowAnimation;O.enableFlowAnimation=!1;null!=O.themes&&"darkTheme"==O.defaultThemeName&&(Wa=O.stylesheet,O.stylesheet=O.getDefaultStylesheet(),O.shapeForegroundColor="#000000",O.shapeBackgroundColor="#ffffff",O.refresh());Pa.open(null,null,Qa,!0);O.enableFlowAnimation=Xa;null!=Wa&&(O.shapeForegroundColor=$a,O.shapeBackgroundColor=Za,O.stylesheet=Wa,O.refresh())}else{Xa=Ka.background;if(null==Xa||""==Xa||Xa==mxConstants.NONE)Xa="#ffffff";Pa.backgroundColor=Xa;Pa.autoOrigin=Za;Pa.appendGraph(Ka, -ab,Wa,$a,Qa,!0);Qa=Ka.getCustomFonts();if(null!=Pa.wnd)for(Wa=0;Wa'):(Pa.wnd.document.writeln('"))}Oa&&(Ka.useCssTransforms=Oa, -Ka.currentTranslate=Sa,Ka.currentScale=Ua,Ka.view.translate=La,Ka.view.scale=Ta);return Pa}var wa=parseInt(ka.value)/100;isNaN(wa)&&(wa=1,ka.value="100 %");wa*=.75;var ca=null,fa=O.shapeForegroundColor,da=O.shapeBackgroundColor;null!=O.themes&&"darkTheme"==O.defaultThemeName&&(ca=O.stylesheet,O.stylesheet=O.getDefaultStylesheet(),O.shapeForegroundColor="#000000",O.shapeBackgroundColor="#ffffff",O.refresh());var ha=ba.value,ja=ea.value,sa=!Y.checked,oa=null;if(EditorUi.isElectronApp)PrintDialog.electronPrint(t, -Y.checked,ha,ja,Fa.checked,Ha.value,ya.value,parseInt(na.value)/100,parseInt(ka.value)/100,Ia.get());else{sa&&(sa=ma.checked||ha==aa&&ja==aa);if(!sa&&null!=t.pages&&t.pages.length){var Ca=0;sa=t.pages.length-1;Y.checked||(Ca=parseInt(ha)-1,sa=parseInt(ja)-1);for(var Aa=Ca;Aa<=sa;Aa++){var ua=t.pages[Aa];ha=ua==t.currentPage?O:null;if(null==ha){ha=t.createTemporaryGraph(O.stylesheet);ha.shapeForegroundColor=O.shapeForegroundColor;ha.shapeBackgroundColor=O.shapeBackgroundColor;ja=!0;Ca=!1;var qa=null, -Ja=null;null==ua.viewState&&null==ua.root&&t.updatePageRoot(ua);null!=ua.viewState&&(ja=ua.viewState.pageVisible,Ca=ua.viewState.mathEnabled,qa=ua.viewState.background,Ja=ua.viewState.backgroundImage,ha.extFonts=ua.viewState.extFonts);null!=Ja&&null!=Ja.originalSrc&&(Ja=t.createImageForPageLink(Ja.originalSrc,ua));ha.background=qa;ha.backgroundImage=null!=Ja?new mxImage(Ja.src,Ja.width,Ja.height,Ja.x,Ja.y):null;ha.pageVisible=ja;ha.mathEnabled=Ca;var Na=ha.getGraphBounds;ha.getGraphBounds=function(){var Ka= -Na.apply(this,arguments),Pa=this.backgroundImage;if(null!=Pa&&null!=Pa.width&&null!=Pa.height){var Qa=this.view.translate,Oa=this.view.scale;Ka=mxRectangle.fromRectangle(Ka);Ka.add(new mxRectangle((Qa.x+Pa.x)*Oa,(Qa.y+Pa.y)*Oa,Pa.width*Oa,Pa.height*Oa))}return Ka};var Ra=ha.getGlobalVariable;ha.getGlobalVariable=function(Ka){return"page"==Ka?ua.getName():"pagenumber"==Ka?Aa+1:"pagecount"==Ka?null!=t.pages?t.pages.length:1:Ra.apply(this,arguments)};document.body.appendChild(ha.container);t.updatePageRoot(ua); -ha.model.setRoot(ua.root)}oa=ra(ha,oa,Aa!=sa);ha!=O&&ha.container.parentNode.removeChild(ha.container)}}else oa=ra(O);null==oa?t.handleError({message:mxResources.get("errorUpdatingPreview")}):(oa.mathEnabled&&(sa=oa.wnd.document,ta&&(oa.wnd.IMMEDIATE_PRINT=!0),sa.writeln('